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/2310.13409v1
http://arxiv.org/pdf/2310.13409v1
Explicit Alignment and Many-to-many Entailment Based Reasoning for Conversational Machine Reading
2023-10-20T10:27:24
2023-10-20T10:27:24
Yangyang Luo, Shiyu Tian, Caixia Yuan, Xiaojie Wang
cs.CL
cs.CL
Conversational Machine Reading (CMR) requires answering a user's initial question through multi-turn dialogue interactions based on a given document. Although there exist many effective methods, they largely neglected the alignment between the document and the user-provided information, which significantly affects the intermediate decision-making and subsequent follow-up question generation. To address this issue, we propose a pipeline framework that (1) aligns the aforementioned two sides in an explicit way, (2)makes decisions using a lightweight many-to-many entailment reasoning module, and (3) directly generates follow-up questions based on the document and previously asked questions. Our proposed method achieves state-of-the-art in micro-accuracy and ranks the first place on the public leaderboard of the CMR benchmark dataset ShARC.
[ 0.0101818722, 0.0148816947, -0.0103752334, 0.0449061804, -0.0533499271, 0.0170456953, 0.0103117405, -0.0438473523, 0.0400589481, 0.0195871815, 0.0134098101, 0.0356787704, 0.0038100553, 0.0311999898, -0.0071388721, -0.043854814, 0.0440063514, -0.0289545804, -0.0008630781, -0.0173798781, 0.0394816995, 0.0363507047, -0.0638075024, 0.0187876858, 0.0211724062, -0.073566094, -0.0714262947, 0.0090127233, 0.0393700935, -0.0212832466, -0.0105599361, 0.0116643943, 0.0158127695, 0.0335515887, 0.0000017576, -0.0640956461, -0.0526124761, 0.0110914614, -0.0294450894, -0.0663817897, -0.0190096255, -0.019099405, 0.0328207575, 0.0194907952, -0.0258692689, 0.0360125713, 0.0251606479, 0.0510085635, 0.0702053979, 0.061427407, -0.0190012269, -0.003014951, 0.0379108749, 0.0294704102, 0.052751191, -0.0590116344, -0.0410241038, 0.0698096603, 0.0338003524, 0.0042558331, 0.0182824899, 0.0419641659, 0.0204508957, -0.0202346127, -0.0247045644, 0.0060759396, -0.0086254124, -0.0363391452, -0.0052293204, 0.0880976692, 0.0178271346, 0.0028870685, 0.0044261478, -0.0139182443, -0.0010724128, 0.0096246591, -0.0252387188, -0.0217302106, -0.0619541407, -0.0187347867, -0.0032463474, 0.0279359967, 0.0164730754, 0.026769422, -0.0337327272, 0.0432899259, 0.0021168811, -0.0240766704, -0.0171909314, 0.0225489791, 0.0033181249, -0.0240441598, 0.0519896597, 0.0551775731, -0.0870469138, 0.0304487962, -0.0700987205, -0.0013625462, 0.0340925381, -0.0261100754, -0.010363536, 0.0838524178, 0.0027015794, 0.0551719181, -0.0014129274, 0.0241724979, -0.0414727516, -0.0050696498, -0.0414832756, -0.0379658416, -0.0117489258, -0.0151411658, -0.0208556466, 0.0205251779, -0.0384091996, -0.0540375486, -0.0211106129, 0.0791750625, 0.0430222005, 0.0612788126, -0.0071000205, 0.003191621, -0.0217232723, -0.025693832, -0.0355294161, 0.0297516584, -0.0401583277, 0.0085092988, 0.0190962814, -0.0107796779, -0.0057673133, 0.0009510557, 0.0189908314, -0.0263462849, -0.0273764748, 0.0756229237, -0.029943971, -0.0387002006, -0.0085354876, -0.0289617181, 0.0070454637, -0.0681039393, -0.016799964, -0.0418541543, 0.0733037964, 0.0470383428, -0.0214506183, 0.0409830175, -0.0010606997, 0.0351067111, 0.0066394033, 0.0864016786, -0.0016088226, 0.007763728, 0.0457071885, 0.0185923688, -0.0465082042, 0.0462373532, 0.0598460995, 0.0144398101, 0.0405476466, -0.0071149594, -0.0357657224, 0.0130488481, -0.0025949094, -0.0373786241, 0.0798234791, 0.0334624462, -0.0281231739, 0.0505781136, 0.0036922668, 0.0377696268, -0.0221822988, 0.0076784161, 0.0610881746, 0.0263933949, 0.0286447275, -0.0151860779, 0.0033435454, 0.0521363765, -0.0010883387, 0.0476584844, -0.0288418327, 0.0358094089, -0.0267880838, 0.0431247503, 0.044023525, 0.0116421208, 0.0086440472, -0.0219643842, 0.0321026035, 0.0499274321, -0.0276321303, 0.0292845443, 0.0316894911, -0.0096885292, -0.0708354861, 0.0296656098, 0.0039045925, -0.0265487693, -0.0281935949, -0.0011976114, 0.0631087199, 0.0629452467, 0.0634988695, -0.0006208693, -0.0765122101, 0.0035678404, -0.013250717, 0.047553353, 0.0405834988, -0.0203119945, 0.038288638, -0.0438628383, 0.0058031105, 0.0194369275, -0.0362991914, 0.0102927433, 0.0151744401, 0.0058780937, 0.0170099195, -0.0269511752, 0.0119092092, 0.0308310483, -0.0160254277, -0.003437378, -0.0216426663, 0.0369990356, 0.0307511818, 0.0133837443, 0.0306888409, 0.0000307362, 0.0188608076, 0.0020973666, 0.0032996503, 0.0339008756, -0.0877841786, -0.0512690768, 0.0142586911, -0.04320658, -0.0533551238, -0.0125084938, -0.0259677619, -0.0654083788, -0.0438636579, -0.0256681126, 0.0053364709, -0.0488282777, 0.0081976298, 0.0429365747, -0.0184986256, -0.0164607055, 0.0368151292, 0.0125350915, 0.015896529, 0.0056882715, 0.0092809377, -0.0015931798, -0.0422565304, -0.0043505635, 0.0021983441, -0.0100497054, 0.0005400403, -0.0013456648, 0.002714131, -0.0794733241, -0.0279511716, -0.0756096095, 0.0205904972, 0.0152480351, 0.0225375704, 0.0139543777, 0.0276673902, -0.00697004, -0.0213769283, -0.0389330201, 0.0077871401, 0.0338098146, -0.0045578345, 0.0527959503, 0.0071351072, -0.0039449818, -0.0202499013, 0.0071899481, -0.0388385206, 0.0197657868, 0.0350245647, 0.0162324831, -0.070136793, -0.0275544208, -0.0037277492, 0.0060596494, -0.0202711001, 0.0308990888, 0.0520183519, -0.0139115388, 0.0398214348, 0.0375885516, 0.0059282319, 0.0191625506, 0.0085111381, -0.0273374505, -0.0859074742, 0.0500570089, -0.0155082913, 0.0073452699, -0.0138396267, -0.0335974805, -0.0038747895, 0.0348511674, -0.0296488144, 0.0165311582, -0.0181879774, 0.0116603645, 0.0524552688, -0.0047196108, -0.0660765842, -0.0225239415, -0.0265975296, 0.0585101806, -0.0251929406, -0.0213129576, 0.07816118, -0.0731785893, -0.0229438748, -0.080266878, 0.0138602406, -0.0136468261, 0.0976394564, -0.006159496, 0.0050099338, -0.0133127421, -0.0590075254, -0.0629961491, 0.0198282991, 0.0524642579, -0.0065487516, 0.0456460863, -0.0361315235, 0.0187956821, -0.0210455582, -0.0164311342, -0.0623788945, 0.0044807815, -0.0040110992, -0.0354194306, -0.0129838157, -0.0145313004, -0.0802766606, 0.0123390164, 0.0238376576, 0.0323770531, -0.0207159761, -0.0192681979, -0.0422388613, 0.0626950338, 0.0653729141, 0.0234832205, 0.018535113, -0.0415401608, 0.0808346719, 0.051817894, 0.0185864009, -0.0215468556, -0.0020173811, -0.028689241, 0.0228201468, -0.043055106, 0.0342772193, -0.0181890298, 0.0436233394, -0.0831667334, -0.0131165069, 0.0883801281, 0.0329793766, -0.0351353474, -0.0176382307, -0.051143948, 0.0366444886, -0.010537752, 0.0536445752, -0.0825396329, -0.0291119143, 0.0273365043, 0.0388086252, 0.011864746, -0.0300688278, -0.013127503, -0.0709241256, 0.0070709023, -0.0145707438, -0.0505158938, -0.0266633444, -0.0238068644, -0.0011464059, 0.0307808593, 0.0401277691, 0.0418380164, -0.0040525529, -0.021461878, -0.0314393975, 0.0368342176, 0.0192069933, 0.0262675416, -0.0204051733, -0.0238088407, 0.038633734, 0.041453559, 0.0668970495, -0.0006028099, -0.0011687527, -0.0107678268, -0.0246258564, 0.0064280871, 0.0299898032, -0.0435401686, 0.0046570236, -0.0586295649, 0.0483774468, -0.0174341016, -0.0102447625, 0.0352878012, 0.007042787, -0.0422185622, -0.0094350241, -0.0211464502, 0.0310255885, 0.0107756574, 0.0634423345, -0.0050885025, 0.001727242, -0.0547631793, -0.0139464559, -0.013496751, -0.0429635271, 0.0346479937, -0.0164599363, -0.0006503733, 0.0254692249, -0.0624119453, -0.070284903, 0.0134737492, 0.0325315706, -0.0053337491, -0.015892975, 0.076741457, 0.0068899221, -0.0282984413, 0.0279605631, -0.0110094976, 0.0135205844, -0.0248456113, 0.0126349283, 0.0270494111, -0.0148427682, -0.0173368808, 0.051471822, -0.0913432166, -0.0335483626, -0.0361757688, 0.0179577488, 0.0238436908, 0.0635000765, -0.0180372074, 0.017610589, -0.0022446939, -0.0021860071, -0.0794501454, -0.037488699, 0.0035504429, 0.0344016328, -0.0283876341, 0.0400371067, -0.0143823428, -0.0228489079, -0.0435781367, 0.0663054064, -0.0414132476, -0.074998863, 0.020569725, -0.0095733479, 0.0027863695, 0.0155255701, 0.0326942578, -0.0237256438, 0.0718240291, 0.0019699489, -0.0400597863, -0.0152359316, -0.0102123925, -0.0146274362, -0.0336206034, 0.0186380707, -0.0215028524, -0.0078793932, 0.058182966, 0.0010722288, 0.0156047987, 0.0250452589, 0.0266896188, 0.0392448194, -0.0311334915, -0.0491326526, 0.0294486023, 0.0155726634, 0.0807926804, -0.0098946299, 0.1017458662, 0.0402493514, -0.0015903518, -0.0093568023, 0.0048927949, -0.0674470365, -0.0241349041, 0.0091335084, 0.0338071808, -0.0019788111, 0.0118368734, 0.0501024053, -0.0193371288, 0.0134869339, 0.0004731245, 0.0581882223, -0.0136459684, -0.0238770153, 0.0231917072, 0.0189669859, 0.0059688222, 0.0049807066, 0.0274804085, -0.0690988749, -0.009916693, 0.0078585222, -0.0108809946, -0.0833473653, -0.0802493468, -0.0070123659, 0.0535011739, -0.0350100659, -0.0117278518, -0.01566118, -0.0491043888, -0.0017602463, 0.0211044829, -0.0188894328, 0.0083168009, 0.0126167824, 0.0616775416, 0.0178106893, -0.0438808613, -0.025129471, 0.0220404938, -0.0675432459, -0.0379112065, -0.0330315866, -5.763996142e-33, -0.0572300404, -0.0363055095, 0.0440754108, -0.0179634541, 0.0099768369, -0.023393875, -0.0557041653, -0.0169594456, -0.0262373872, -0.0087818429, -0.0274373051, -0.0016166796, 0.024546789, 0.0416066535, -0.0129799377, -0.0077323448, 0.0353839025, 0.0273377541, -0.0235404987, 0.0254014041, 0.0509232767, 0.0276211593, -0.0129728513, -0.0426244624, 0.0402562134, -0.0360513516, -0.0181743186, 0.0342355557, -0.0336227752, 0.0293339267, -0.0292045157, -0.0038109685, 0.015885992, 0.0233844686, 0.0102679143, 0.0582380965, -0.1222937182, -0.0141865844, 0.0131329568, 0.0147823934, -0.0493839346, -0.0128026921, -0.0128854793, -0.0182396825, 0.0628471449, -0.0324352756, 0.029179221, -0.006192619, -0.0152011747, -0.0097623002, -0.0676183477, 0.02654019, -0.0297281742, -0.0325766988, -0.0463115163, 0.0628312081, 0.0427564345, 0.0134364422, -0.0809410736, -0.0062825372, -0.0232399106, -0.0143496953, 0.0569456704, 0.0074762949, -0.0026212931, 0.0347526856, 0.0058054738, -0.0255383048, -0.0035168221, 0.0377458967, 0.0137817319, 0.0138144884, -0.0037008389, 0.0405052677, 0.0176939163, 0.0519222207, -0.0409429744, 0.0435779318, 0.0204987302, 0.0741984621, 0.013976926, -0.0016746225, -0.0481780246, 0.0006758625, -0.0361588113, 0.0133254668, -0.0413685217, -0.0197297707, 0.0270617381, -0.006465381, -0.0081331087, -0.0003297434, 0.0421930142, -0.0134057943, 0.0018647334, 0.0143438959, -0.0223136153, -0.0041785445, -0.0451794304, 0.0799304396, -0.0308464915, -0.012046162, 0.0130593814, -0.0265602469, 0.004915921, 0.0277607478, 0.010552573, -0.0321072713, -0.0485697389, 0.0078610759, -0.033160083, 0.0325264521, -0.0715442598, 0.0236978885, 0.0379674882, -0.0043866774, -0.0322995521, 0.0516342744, -0.0248175859, 0.0210605823, -0.060375426, -0.0397665389, -0.0144852493, 0.0251845904, -0.0219227523, 0.0035282804, -0.0230272133, -0.0076997834, 0.0276435614, -0.0532894321, 0.0384047516, 0.0413111039, 2.52e-7, 0.0174258091, 0.0126844645, 0.0467693843, 0.0600525178, -0.0114880214, 0.0204116311, 0.0082852645, 0.0076370076, 0.0339812562, -0.0163705442, 0.038192112, 0.0147312675, 0.0547197498, 0.0270188246, -0.1037385091, -0.0459696464, -0.0570130348, -0.0151056377, -0.043945048, 0.0307678562, 0.0664408654, 0.0447720625, -0.0015411553, -0.0166996997, 0.0211029202, -0.0312211383, 0.0307320226, -0.0055802763, -0.0015286587, 0.022500705, 0.0307464339, -0.0264704041, -0.010316981, 0.0226408746, 0.0224775877, 0.0175434407, -0.0101384902, 0.0495775379, 0.0476616919, -0.0653314292, -0.0454473011, -0.0000020754, 0.0232777875, -0.0638203546, 0.0500891842, -0.0326534659, -0.0264983103, 0.0112297954, -0.0564704165, -0.0356143825, -0.0504891314, 0.0116619151, -0.020864265, 0.0293539502, 0.0149589051, -0.0542090237, 0.0297501814, -0.0758138746, -0.0262313262, 0.0017614699, -0.0315138623, -0.0369402207, -0.0251801461, -0.0352189392, 0.0522458367, -0.0388329439, -0.0230492894, 1.722210115e-34, 0.002329225, -0.0015093463, 0.0167168397, 0.026407199, 0.0404483899, -0.0002429397, 0.0002482463, 0.0175821353, 0.0273474958, -0.0963117927, -0.0300432891 ]
http://arxiv.org/abs/2310.13395v1
http://arxiv.org/pdf/2310.13395v1
Cache me if you Can: an Online Cost-aware Teacher-Student framework to Reduce the Calls to Large Language Models
2023-10-20T10:05:07
2023-10-20T10:05:07
Ilias Stogiannidis, Stavros Vassos, Prodromos Malakasiotis, Ion Androutsopoulos
cs.CL
cs.CL
Prompting Large Language Models (LLMs) performs impressively in zero- and few-shot settings. Hence, small and medium-sized enterprises (SMEs) that cannot afford the cost of creating large task-specific training datasets, but also the cost of pretraining their own LLMs, are increasingly turning to third-party services that allow them to prompt LLMs. However, such services currently require a payment per call, which becomes a significant operating expense (OpEx). Furthermore, customer inputs are often very similar over time, hence SMEs end-up prompting LLMs with very similar instances. We propose a framework that allows reducing the calls to LLMs by caching previous LLM responses and using them to train a local inexpensive model on the SME side. The framework includes criteria for deciding when to trust the local model or call the LLM, and a methodology to tune the criteria and measure the tradeoff between performance and cost. For experimental purposes, we instantiate our framework with two LLMs, GPT-3.5 or GPT-4, and two inexpensive students, a k-NN classifier or a Multi-Layer Perceptron, using two common business tasks, intent recognition and sentiment analysis. Experimental results indicate that significant OpEx savings can be obtained with only slightly lower performance.
[ 0.0518496931, 0.0665955022, -0.0107039707, 0.0552155003, -0.0660759807, 0.022644233, 0.0401003882, 0.0020081403, 0.0640944541, -0.1042506248, -0.0241017248, -0.0401546769, -0.0129714301, 0.0243183859, -0.0132479817, -0.0297573712, 0.0220417175, -0.0054758755, 0.0136346556, -0.017182719, 0.0051326309, 0.015814811, -0.0124317184, 0.0171278939, 0.0054344037, -0.012952636, -0.0119584417, 0.0092054028, -0.0012069363, -0.0010049652, 0.0442876928, 0.0372427478, -0.004133367, 0.0445416979, 0.0000020814, -0.077984117, -0.0442527793, -0.0164882429, -0.0570850857, 0.0430456921, 0.0826002434, 0.0310902297, -0.0084176445, 0.0516209789, -0.0437708236, 0.0166023597, 0.0430894345, 0.0187165886, 0.0374841541, 0.0705664232, -0.0088301599, -0.0341254212, -0.037619561, -0.006276953, -0.0380000062, -0.0703000799, 0.0487748682, -0.0320909321, -0.0566737503, -0.0350340344, -0.0052797496, 0.0298645571, 0.0103425318, 0.005436419, -0.0033601806, 0.0304939356, -0.0306228101, 0.0113488501, -0.035024967, 0.0237159804, 0.008887751, -0.0114618335, 0.0225796476, -0.0376151204, -0.020140795, -0.0131497923, 0.0082626473, 0.005453187, 0.0158231296, 0.0314193591, -0.0207984652, -0.0116099203, -0.0011116331, 0.0354269668, -0.0097194761, 0.007809733, -0.0205550622, -0.0372323282, 0.0096675595, 0.0743787363, 0.015892949, -0.0300596431, 0.023123173, 0.0198444966, 0.0111792265, 0.0289283451, -0.0254226401, -0.0104665747, 0.0037728266, -0.0464909077, 0.0162536763, 0.0305863433, -0.0021453586, 0.0487658903, -0.0395163819, 0.0121690938, 0.0091762487, -0.0116273407, -0.0399936512, 0.0363776721, -0.0896298066, 0.0047792913, -0.0351414382, 0.0505035222, 0.0093465559, -0.0120759998, -0.0785919204, 0.0097583439, 0.0020422556, 0.0134920618, 0.0111897709, -0.0085408175, 0.0313150696, 0.0228408463, -0.0399843082, 0.0714939162, -0.0012799782, 0.015789168, -0.046250172, -0.0763348043, 0.0086474326, 0.0171841439, 0.0419536158, 0.0238594171, 0.0275155324, 0.015202268, -0.0108110188, -0.0695816129, -0.0859362334, -0.0260167047, 0.0064340457, -0.0659675375, -0.0379128866, -0.0483077988, 0.0094705578, 0.0037054361, -0.0021104263, 0.0081563452, 0.0035813313, 0.0060092914, -0.0355868079, 0.0365904048, 0.0175291989, 0.0265802741, 0.0200724844, -0.0196363777, 0.0118354009, 0.0814533234, 0.0227868408, 0.0012239137, 0.0596974567, -0.0336460359, -0.0355380625, 0.0478587486, 0.0158068594, 0.0079376576, 0.0091934949, -0.0031630644, -0.007303596, 0.0032526786, -0.010251414, 0.0327813067, -0.0197585486, 0.0440087356, 0.0654972792, 0.0357087851, -0.0073873238, -0.0123686967, 0.0003512966, 0.0637354329, -0.0179350115, -0.0380593091, -0.0077510122, -0.0191206299, -0.0501968041, -0.0090955105, 0.0248146765, -0.0007650201, -0.0341577567, -0.0346778855, -0.0192926116, -0.0397544689, 0.0047789682, 0.0722986162, 0.074441649, -0.0562889203, -0.0459465384, 0.058815781, -0.0100068944, -0.0395310074, -0.0042587989, -0.0691765621, -0.0020871216, 0.1076807603, 0.0356763229, -0.0101906983, -0.0060271197, -0.0167435594, -0.0261769444, 0.0374586731, 0.0743409693, 0.0131001519, 0.028590966, -0.0759562552, -0.0163976215, 0.0171314385, 0.0169817191, 0.0307424273, 0.0367654674, 0.0467057452, 0.0285433754, 0.0002118472, -0.0235623028, 0.0155692846, -0.0080981823, -0.0609882884, 0.0022839943, 0.0454412624, 0.0308803171, 0.0217297152, 0.0248628706, -0.0182603858, 0.0007894682, -0.0004688525, -0.0167938955, -0.0295908172, -0.0322532281, -0.0080530616, 0.0302344412, 0.0316097066, 0.0032275321, 0.0126203382, -0.0374379158, -0.0575684533, 0.0070973975, -0.0227120388, 0.0708213076, -0.0366873108, -0.003183146, -0.0266530663, -0.0050712051, -0.0043146792, 0.0316394493, 0.0232366193, 0.0439313613, -0.0083372984, -0.0117376857, 0.0178357176, -0.0383757241, -0.0293085109, -0.0239461064, -0.0032223789, 0.0470677912, 0.0016185284, 0.0339204893, -0.0393950157, -0.0128752533, -0.0824394524, -0.0383716114, -0.0035367887, 0.026277028, 0.0072483351, -0.0110330973, -0.021723548, -0.036470823, -0.0329786763, 0.0284001026, 0.0122104315, 0.0546816438, 0.0025331995, -0.0107247513, -0.0357306264, -0.0197655521, 0.0093345437, 0.0052801566, 0.0358468667, 0.0226814896, -0.0581526197, -0.0720894411, 0.0515049063, -0.0251687374, 0.0156407095, 0.0094115669, -0.040437229, -0.0212709792, -0.0235790666, -0.0141129363, 0.0580658503, -0.032546863, -0.0254369359, 0.0397581607, -0.024874676, -0.1010131165, -0.0087600136, -0.0086993175, -0.058881782, -0.0375387333, -0.0378044508, 0.0101124514, 0.0595953874, -0.0054347301, -0.008815405, -0.0278271195, -0.0124046234, -0.0209050104, -0.0160322804, -0.0407071933, 0.0052791727, -0.0093857152, 0.0366706513, 0.0518286377, -0.0438460149, 0.0666098297, 0.0059018661, 0.0001356793, -0.0437965468, -0.0344517902, -0.0389056765, 0.0365915336, -0.0340326987, 0.0305027068, 0.0057935207, -0.0457102656, -0.0154829994, 0.005569315, 0.0550892726, -0.0571268536, 0.0391232148, -0.0159794074, 0.0437194295, -0.0300343037, -0.0384063162, -0.0296348929, -0.051358927, -0.0689011663, -0.0330686085, -0.0088840667, 0.0051387153, -0.0131870536, 0.0226862393, -0.0086296955, 0.0780519173, -0.0091854492, -0.0071435221, 0.0114040393, 0.006819427, -0.0218482558, 0.0143665643, 0.0031028329, -0.0190954208, 0.0323012769, 0.0414696895, 0.0677701607, -0.0371149816, -0.0154761262, -0.0153952492, 0.0655001923, -0.0235927142, 0.010901859, 0.0182077251, 0.0234160833, -0.0569652952, -0.0155266095, 0.0947687924, 0.0217098035, -0.0832241625, -0.0396164618, 0.0048408764, 0.0375393629, 0.012111607, 0.0435921885, -0.0670081377, -0.0413179323, 0.02055154, 0.0849649757, -0.0221688151, -0.0332492292, -0.0266454145, -0.1465261132, 0.0283989087, -0.0176460911, -0.0040680207, 0.0060829814, -0.0515308864, -0.0252454355, -0.0221968461, -0.0046421103, -0.0220843628, -0.008377918, -0.0253099203, 0.0366455764, -0.0364101306, -0.0682730749, -0.0061226944, -0.005276253, -0.0104666334, 0.0386083163, -0.0139652444, -0.0039892984, -0.0256280452, 0.0287011657, -0.0352350734, -0.0028629005, -0.0130324615, 0.0552523062, -0.0061309268, 0.0024839833, 0.0191615447, 0.0160773899, -0.0580304265, 0.0250793602, 0.0437220447, 0.0456021354, -0.0127517283, 0.0018936396, 0.0464914255, -0.0077150245, 0.0315799341, 0.0967212915, 0.0026337714, -0.0671058297, 0.0008598754, -0.0028231763, -0.0190394986, -0.013908295, -0.00785104, 0.0135883782, -0.0458495133, -0.016785495, -0.0392156243, -0.0227226969, 0.0358467065, 0.0359447151, 0.0078998888, -0.0125209633, 0.0383831747, 0.0352591425, -0.0470171757, 0.0247160979, -0.0612085313, 0.0148998136, -0.0920818746, -0.0205786042, 0.0452814512, -0.0096661001, -0.0046562888, -0.0365718752, -0.1115209758, -0.0655680969, -0.0118089961, 0.0503389537, 0.0287923254, 0.0396465622, 0.001659957, -0.0302284714, 0.0502144732, 0.0657534003, -0.0571353734, 0.0286670253, 0.0556581505, 0.0169082638, -0.0149855874, 0.0201858897, -0.0583934449, 0.016083546, 0.0470324606, 0.0145066539, -0.0445466079, -0.025625458, -0.0002909853, 0.0394695885, 0.0581699237, -0.0116695045, -0.0157420207, -0.0359519571, 0.0355664454, 0.0290746633, 0.005932448, -0.0497775711, -0.0240648985, 0.0388545804, 0.0235824436, -0.0256969817, -0.0066572409, 0.0110924449, -0.0226827711, -0.0053528161, 0.024413202, -0.0077922437, -0.020128319, 0.0374250859, -0.017841747, -0.039831847, 0.0195040628, 0.0344806351, -0.0035313996, -0.0167809278, 0.0697018877, 0.0270192288, 0.0361552797, 0.0055261753, -0.0048046825, -0.0151119288, -0.067258276, -0.0038026634, -0.0015205325, 0.0174289346, -0.0249746088, 0.0578432418, -0.0629757047, 0.0096538551, -0.0233073104, 0.0151332412, 0.0006467914, -0.0375509374, 0.0229684878, 0.005354132, -0.01660317, 0.0420933925, 0.0948424339, -0.0412862077, 0.0298623368, -0.0171812624, -0.0209069662, -0.052605249, -0.0301620066, 0.0281755086, 0.0104299113, -0.0070880116, -0.014343732, -0.0488060936, -0.030386664, -0.029036548, -0.0540824644, -0.0116310604, -0.0339686871, 0.0576737411, 0.0639688447, 0.0060649496, 0.058296185, -0.0329733491, 0.0246439371, -0.0328556634, -0.0294156093, 0.000118204, -6.879178081e-33, 0.0010009339, -0.0109133665, 0.0034334182, 0.0030179133, 0.016487686, 0.064489156, -0.0077105397, 0.014349049, 0.0166108012, -0.0382717326, -0.0090407906, 0.0026465182, 0.0386515856, 0.0153742312, 0.033195667, -0.0282612033, 0.0594288483, -0.0257376488, -0.0106964037, 0.0112113347, 0.0306078065, 0.0412313342, 0.0661958158, -0.0582003668, 0.0060423971, -0.0055057933, -0.0067958958, 0.0191481803, 0.0094560841, 0.0241134297, -0.0353063866, 0.0659516156, 0.0245729089, -0.0438070334, 0.0284915101, 0.0162145961, -0.0200085975, -0.0333773084, -0.0174378213, 0.0165230483, 0.0031248059, -0.0042166202, 0.0543290302, 0.0004033567, -0.0380410142, 0.0461471379, 0.0272985063, -0.0163736343, -0.0164673347, -0.0119113969, -0.0267863367, 0.0271131918, -0.0031749147, 0.0075289039, 0.0304322746, 0.066056855, -0.0076163746, 0.028019052, -0.07257808, 0.043323949, 0.01377213, 0.0228095334, 0.0259600803, 0.032896556, -0.0052808998, 0.0564159751, 0.0224078596, 0.0122449342, 0.0086136702, -0.026446199, 0.0579781719, -0.0140500981, 0.0373721309, 0.0584955402, 0.0392306112, -0.0308779441, -0.0241224393, -0.0068952744, 0.0963667035, -0.0122853704, 0.0380750485, -0.0214883499, -0.0361305214, -0.0591993406, 0.0138218869, -0.0414910614, -0.0318414383, -0.0064664194, 0.0352057517, 0.045142822, -0.0185692329, 0.0018065035, 0.0414191857, -0.0279684495, -0.0519907661, -0.0319176428, 0.0293403473, 0.0201103836, -0.008948613, 0.0134644937, -0.0814599246, -0.0367223918, -0.0474433787, -0.0215578787, 0.0030658662, 0.0030074078, 0.0478089713, 0.0270156544, -0.086539872, 0.0163676552, -0.0117888516, 0.0142412493, -0.0139724407, 0.0279182047, 0.0348546803, -0.0145492088, 0.0079435762, 0.0853981674, 0.023844555, 0.0002424521, -0.0319610797, -0.042388916, 0.0162162948, 0.025841862, -0.034641888, -0.0084582912, -0.0226528924, 0.000421522, 0.0244429205, -0.050080508, -0.010283283, 0.007819457, 2.934e-7, 0.013000886, 0.0650635362, -0.0489521399, -0.0087986235, 0.002837626, 0.0709300339, -0.0022465936, -0.029349139, 0.004803862, 0.0270653274, 0.0270562265, -0.00992746, 0.0748357996, 0.0476514809, -0.1234001294, -0.0006442603, -0.0501999035, 0.0287855249, -0.0530502051, 0.0395946316, 0.0362109579, 0.0677547082, 0.0618526042, -0.0232704412, -0.0087937973, -0.0336612724, 0.0515435003, -0.0578882173, 0.0060181282, -0.0068767145, 0.0524463132, 0.0274767149, 0.0048445342, 0.0189605653, -0.0283610728, 0.0110234385, -0.0255746134, 0.0690508932, 0.0262314752, -0.0239684936, 0.0374736972, -0.0103479307, -0.0174728502, -0.0409479253, 0.0524114817, -0.0368751101, -0.0087062772, -0.004789778, 0.0112008154, -0.0802009925, -0.0000254197, 0.0009601779, -0.0132745774, 0.0319579877, 0.004115955, -0.0777465254, -0.0175285004, -0.0549999997, 0.0375666991, -0.0271818824, -0.0086877365, -0.042356357, -0.0086420132, 0.0208132565, 0.0225821175, -0.0238691103, 0.0185393319, 2.648267779e-34, 0.0443126224, -0.0166950207, 0.0274646822, 0.0482672527, 0.0064283451, 0.0245230943, -0.0137449363, -0.0023967647, 0.0246848892, -0.0666586235, -0.0040435684 ]
http://arxiv.org/abs/2310.13394v1
http://arxiv.org/pdf/2310.13394v1
POSQA: Probe the World Models of LLMs with Size Comparisons
2023-10-20T10:05:01
2023-10-20T10:05:01
Chang Shu, Jiuzhou Han, Fangyu Liu, Ehsan Shareghi, Nigel Collier
cs.CL
cs.CL, cs.AI, cs.CY
Embodied language comprehension emphasizes that language understanding is not solely a matter of mental processing in the brain but also involves interactions with the physical and social environment. With the explosive growth of Large Language Models (LLMs) and their already ubiquitous presence in our daily lives, it is becoming increasingly necessary to verify their real-world understanding. Inspired by cognitive theories, we propose POSQA: a Physical Object Size Question Answering dataset with simple size comparison questions to examine the extremity and analyze the potential mechanisms of the embodied comprehension of the latest LLMs. We show that even the largest LLMs today perform poorly under the zero-shot setting. We then push their limits with advanced prompting techniques and external knowledge augmentation. Furthermore, we investigate whether their real-world comprehension primarily derives from contextual information or internal weights and analyse the impact of prompt formats and report bias of different objects. Our results show that real-world understanding that LLMs shaped from textual data can be vulnerable to deception and confusion by the surface form of prompts, which makes it less aligned with human behaviours.
[ 0.0444445536, 0.0237035677, -0.0345083214, 0.0706478208, -0.0071294806, 0.013114661, 0.0215793122, -0.0017236485, 0.0105427857, -0.0212150235, -0.0379510373, -0.0481072702, 0.0256098732, 0.0260124821, 0.0663986057, -0.0196152572, 0.0413601063, -0.0613131933, -0.0401748382, -0.0187058095, -0.0118614426, -0.0051502264, -0.0210985858, 0.0231401771, 0.0322442688, 0.0026764711, -0.0511487015, -0.009238027, -0.0035330199, -0.0429140963, -0.0302838702, 0.0411940925, 0.0587666929, 0.0547623746, 0.0000020422, -0.0458183773, 0.0494354554, -0.0145565737, -0.0535280406, 0.0072835591, 0.0101804603, -0.03432272, 0.0264455695, -0.018300686, -0.0126372669, -0.0399159379, 0.0452492461, 0.0221618805, 0.020903375, 0.0254140906, 0.0060238326, 0.0221895184, -0.0035575402, -0.0037308703, 0.0468993932, 0.0210510138, 0.0287284255, 0.000660337, 0.0392740518, 0.0193754081, -0.0515416861, 0.0319875591, 0.0460683331, 0.0254601184, -0.0327672772, 0.0459934361, -0.030299224, 0.0042566424, 0.0028530234, 0.1205408126, 0.0648599416, -0.030310804, -0.0013606346, -0.0126427496, 0.0063796048, 0.0045886571, -0.0714132935, 0.0483514406, 0.0146164568, -0.011055354, -0.0821395144, 0.0221848935, 0.0135196438, 0.0150855966, -0.0322948806, 0.0747893825, -0.0004442112, -0.0186556168, -0.0049206037, -0.0216103215, -0.035882514, -0.0559512079, -0.0071041905, 0.0496702716, -0.0267868917, 0.0206512827, -0.0033712988, 0.0040924149, 0.0255173147, -0.0331155472, 0.0622633994, 0.0387759767, -0.0073612537, 0.0547507033, 0.0116161862, 0.077030465, -0.0191613082, 0.0299672447, -0.0632784218, 0.0399196185, -0.0136946654, -0.0246850625, -0.0352548361, 0.0084788781, -0.0590575226, -0.0345337838, 0.0255862325, -0.0025020374, -0.0168750919, 0.0071822447, -0.0306627601, 0.0540659614, -0.0005408353, 0.0005611446, -0.0514691621, 0.0275729708, -0.0521504655, 0.0470422916, -0.0110017909, -0.0858368874, -0.0345685557, 0.0025658708, 0.0191602185, -0.0341963097, -0.0108942706, 0.0595786162, 0.0125356624, -0.02703874, 0.030882515, -0.0354266427, -0.0153817274, -0.040764112, -0.0055856355, -0.0554197878, 0.0548279695, -0.0191728175, -0.0308374688, -0.0065609915, 0.0200437326, 0.0253505446, -0.0202978309, 0.076069057, 0.0185360946, 0.0224160496, 0.0249927845, 0.0101641268, 0.0084431209, 0.059499912, 0.0301201809, -0.0096117379, 0.0284107029, 0.0040821922, -0.0095542371, 0.0530096479, 0.0270849597, 0.0231828336, -0.055789385, 0.0228201244, 0.0076874103, 0.0671050772, 0.0397093296, 0.0417040661, -0.0301018879, -0.0445422456, 0.068605192, 0.0422914848, -0.0723547712, -0.0366331898, 0.019664526, 0.0157171283, 0.0279672723, 0.0230631493, -0.0404855348, 0.0179374851, -0.0410001837, -0.0034033773, 0.0062463107, 0.0020984423, -0.0336724184, -0.0082426053, -0.0185127296, 0.0274615772, 0.0168501493, 0.0530107319, 0.0505996607, 0.0194478594, -0.0052996748, 0.0589696951, 0.0089035844, -0.0258790031, -0.0208364092, -0.04246163, 0.0534240678, 0.0011657646, 0.0373194776, -0.0017975515, -0.0177442282, -0.0011262933, 0.0456401482, 0.0529904701, 0.041646868, 0.0056032087, 0.0047132638, 0.0029601632, -0.0122759202, -0.0295430198, -0.0129297022, -0.0018949697, 0.0173972659, 0.0153413285, -0.0063337153, -0.0204648674, 0.0034589618, 0.0294222664, -0.0243420992, -0.0241595935, -0.0332392566, 0.0046315859, -0.0096807564, -0.0050916439, -0.0080506895, 0.0073862006, 0.0191238988, -0.02999698, -0.0059425109, 0.0088314544, -0.0495878868, -0.0340130888, 0.0319395959, -0.0136252102, -0.0156341605, 0.0135725858, -0.0138613051, -0.023978116, 0.0177350026, -0.0324989296, 0.0576429144, -0.0323024727, -0.0302895829, -0.0217876621, 0.0289102625, -0.04779955, 0.0396715179, -0.0167391766, 0.0341481268, 0.0495761037, 0.0121868094, 0.0221856236, -0.0669403151, -0.0076899352, 0.0210419744, 0.0029715318, -0.0128967883, 0.0030176772, -0.0307066552, -0.0689164251, -0.0015356573, -0.0701051205, -0.027808331, 0.0097556477, -0.0162916612, 0.0380750485, -0.0169279557, -0.0248153266, -0.0253256857, -0.0196122378, 0.0074880267, 0.0020207353, 0.0361521505, 0.0289312359, -0.0078325579, 0.012945883, -0.022706233, -0.0041179047, -0.0348534845, 0.0671820194, 0.0251999386, 0.0078541832, -0.047204446, 0.0108995968, -0.0628854036, 0.0320786461, -0.007189468, -0.0166560132, 0.0301582664, -0.0462796725, 0.0261994321, 0.0986980572, -0.0162091814, 0.0425023697, 0.0698261634, -0.026670482, -0.0744125918, -0.0088799968, 0.0143274516, -0.0076380493, 0.0001488442, -0.0507580414, -0.0050646677, 0.0644649863, 0.0334803425, 0.0023350811, -0.0258332882, 0.0485107303, -0.0331106968, -0.0566164032, -0.0647327304, 0.0212170389, -0.040038038, 0.0554182902, -0.0426615104, -0.0152758062, 0.0623995066, -0.0220523179, -0.002468921, 0.0102057848, 0.0400320441, -0.0110342233, 0.0881791264, 0.0370878503, 0.0077857869, 0.0024764724, -0.0048046624, -0.061077226, -0.0053377519, -0.0039624958, -0.0220359117, -0.0186335556, -0.066089727, 0.0187643282, -0.0273003597, -0.0086556841, -0.0171524584, -0.0367537588, -0.033537101, -0.0110227996, -0.0774099156, -0.0250588208, -0.0160795245, 0.0062327865, 0.0523436964, 0.0293790884, -0.0389954001, 0.000011451, -0.0420643985, 0.0266629215, 0.0688868016, 0.0791613013, 0.0347537622, -0.0464849323, 0.0514660887, 0.0534802265, 0.0089536747, 0.0038234438, -0.021306457, 0.0269676317, 0.049643185, 0.0221547782, 0.0156640913, 0.035886053, 0.0915369987, -0.0620037355, -0.0298187509, 0.100039497, 0.0364265442, -0.0127375517, 0.030299183, -0.0165630095, 0.0300652664, 0.0361763425, 0.0202845316, -0.0847824737, -0.0356350467, 0.0050749541, -0.0291334931, -0.0285693649, -0.0552597232, -0.0305473413, -0.16142115, 0.0225383639, -0.009966094, -0.0713750795, -0.0041490542, -0.022316955, 0.0190305207, 0.0416831411, 0.0238550715, 0.0315495282, -0.0072038015, 0.023045823, -0.0286524985, 0.0048962096, 0.0002236255, 0.0510866866, -0.0290465336, 0.0527775846, 0.016661603, 0.0222401936, -0.0246873908, -0.0610186569, 0.0068173362, 0.0006824833, 0.0087994039, -0.01624473, 0.025492182, 0.0379020087, -0.0119768968, -0.0327261388, 0.0414441079, -0.0160744376, -0.0437879898, 0.0234870836, 0.0708200186, -0.0047780061, -0.0308422949, -0.0155397253, 0.0048922296, -0.0108262608, 0.0918025672, 0.0591570251, -0.0430572405, -0.0252892543, -0.0204879455, -0.0486636125, 0.0300253201, -0.0474620536, 0.0264256075, 0.0517349616, 0.0148363058, -0.0551038533, -0.0275821202, 0.0674504265, 0.0377463922, 0.0189347155, -0.0259969793, -0.030517133, -0.0142723452, -0.0273579415, 0.0443219952, -0.0414180681, 0.0542652793, -0.0080043878, 0.0341626145, 0.0154066784, -0.0472700372, -0.0041542747, 0.0056063989, -0.0640904307, -0.0597945526, -0.0230767224, 0.0109747183, 0.0306787938, 0.0233426783, 0.0059300698, -0.0586212948, 0.0311057027, -0.0175913107, -0.0527388081, 0.0694772601, -0.0217979401, 0.0369972289, 0.0095785093, 0.0372135602, -0.0229876172, 0.0077367839, -0.015672259, 0.0313696079, -0.0141634038, -0.0300990641, 0.023552049, 0.0251807943, 0.0211593769, 0.0061984747, 0.0078983093, -0.0336167216, 0.0124142226, -0.0239499509, 0.0037977046, -0.0383230671, -0.0210123807, 0.0102542499, -0.0099252956, -0.0023927731, -0.0083658546, -0.0169851128, 0.0489293747, -0.0197328869, 0.0030709009, 0.0128815584, 0.0059388005, 0.0134405857, 0.018752601, -0.0123469103, 0.0234459862, -0.060610082, 0.0684689656, 0.0190917645, 0.064748019, 0.0290464461, -0.036379952, -0.0458443984, 0.0215551611, -0.0528713837, -0.053538125, 0.0272443257, 0.0529609323, -0.0260736197, -0.0280135982, -0.001232992, 0.0053798379, -0.0078911325, 0.0091911592, -0.0101262117, -0.0065260082, -0.0565098859, 0.0836031362, 0.0430941395, -0.0050122244, 0.0118633695, 0.0453593247, -0.0002206293, 0.0356112011, 0.0223427117, 0.0335088782, -0.006088804, -0.0017957693, 0.0099841207, 0.0216390323, -0.0160430782, 0.017220296, -0.0808125362, -0.0812254921, -0.0472578742, 0.0703447834, -0.036536701, -0.0305020828, 0.0239663459, 0.0000690725, 0.0135199521, -0.0280880034, 0.0102842646, 0.0320790187, -0.0399073325, -0.0144149205, -0.0061692395, -5.816585188e-33, -0.0164071787, -0.0361106284, 0.0039795726, -0.0423581824, -0.0339748859, 0.0192393884, -0.0560634322, 0.0035665287, -0.026962433, -0.0061337533, -0.0112085799, 0.0044371765, -0.0115436092, 0.012762174, 0.0026363267, -0.0119651277, 0.0013101123, -0.0295306593, -0.0297757704, -0.0049837925, 0.0195662454, -0.0168103669, 0.0223888271, 0.0237432811, 0.0556058139, 0.0084385294, 0.003933996, 0.0603587478, -0.0403944589, 0.0407772437, -0.0517016537, 0.0411573239, 0.0096159037, -0.0134586049, -0.0128314812, 0.0528455898, -0.070100531, -0.0591318198, 0.0420614369, 0.0186210759, -0.0714260265, -0.0020271624, 0.0285961423, -0.02615018, 0.0044728597, -0.0214947015, 0.0224504229, -0.0156675614, -0.0022293462, 0.0398381092, -0.011880381, -0.0026089516, -0.0260696728, -0.0023706167, 0.0117491949, 0.0559794828, -0.0209656134, 0.0346153192, -0.0632307678, 0.0071738339, 0.0123770824, -0.0194638278, 0.0621215142, 0.0253090076, 0.041563686, 0.0829445273, 0.0301450584, 0.005266442, -0.0716306269, -0.0296377987, 0.0384802856, 0.0362539105, 0.0221434925, 0.0552924201, 0.043361377, 0.0228525288, -0.0557620414, 0.0052594058, 0.0101007679, 0.0535753034, 0.0181533489, -0.0220443346, -0.0349664278, -0.0226219259, -0.0728809088, 0.0016875275, -0.0586655326, -0.0157611445, 0.0528866723, -0.0331856012, -0.0145178363, -0.0458290838, 0.0325588137, -0.064778313, -0.0213669557, -0.0166813489, -0.0030970525, 0.024077557, 0.0357057862, 0.0306902714, -0.0499757603, 0.0173328966, 0.019021498, 0.0120395739, 0.0096784914, 0.0230342969, -0.0161543824, 0.0081894472, -0.0203147233, -0.0190044735, -0.0360501707, -0.0173925422, -0.0057451879, -0.0251874011, 0.0563827865, 0.019253131, -0.047190018, 0.0045336392, -0.0264706537, -0.0555629283, -0.0316352509, 0.0316361897, -0.0423959196, 0.0320960805, -0.0533114895, -0.0293201767, -0.0496682599, -0.0046048248, 0.0681386366, -0.06489034, -0.0099852802, 0.0275886375, 2.73e-7, -0.0065675396, 0.0289091766, 0.0259674173, 0.0118645234, 0.0318601504, 0.02964532, -0.0214877483, 0.0482287779, 0.0038635607, -0.0657398403, -0.0215607043, 0.0708129406, 0.0334738791, -0.0162835103, -0.0870269313, 0.0517819226, -0.0343046933, -0.0043569212, -0.0629728138, -0.0102611035, 0.0373449847, 0.0371412821, 0.0024301924, 0.0006260745, -0.0161952972, -0.0247605424, 0.0435835794, -0.0499064699, 0.0454523899, -0.0262938421, 0.0109507013, -0.0415662415, 0.0073825009, 0.0358916372, 0.0186823644, -0.0022653032, -0.0001167875, 0.0289690532, 0.0015138234, -0.0041040224, -0.0361440741, -0.0484614931, -0.0048920154, -0.0681952834, 0.1115818843, -0.0675562099, -0.051127214, -0.0178315025, 0.0163281821, -0.0416932702, 0.0049513108, -0.0009800215, 0.0005656053, 0.010169276, 0.0155045725, -0.0278994627, 0.0137455044, -0.0424770638, -0.0370494351, -0.0211700778, -0.0388138592, -0.037341658, -0.0667587295, -0.0172355417, 0.0068762559, -0.0688892826, -0.0063602845, 2.205543316e-34, 0.0019328602, 0.027881531, 0.019893676, -0.0109246513, 0.0352563262, -0.0307264682, 0.0297681391, 0.0214129556, 0.0479109846, -0.0962292477, -0.0046850108 ]
http://arxiv.org/abs/2310.13385v1
http://arxiv.org/pdf/2310.13385v1
Tuna: Instruction Tuning using Feedback from Large Language Models
2023-10-20T09:55:06
2023-10-20T09:55:06
Haoran Li, Yiran Liu, Xingxing Zhang, Wei Lu, Furu Wei
cs.CL
cs.CL, cs.LG
Instruction tuning of open-source large language models (LLMs) like LLaMA, using direct outputs from more powerful LLMs such as Instruct-GPT and GPT-4, has proven to be a cost-effective way to align model behaviors with human preferences. However, the instruction-tuned model has only seen one response per instruction, lacking the knowledge of potentially better responses. In this paper, we propose finetuning an instruction-tuned LLM using our novel \textit{probabilistic ranking} and \textit{contextual ranking} approaches to increase the likelihood of generating better responses. Probabilistic ranking enables the instruction-tuned model to inherit the relative rankings of high-quality and low-quality responses from the teacher LLM. On the other hand, learning with contextual ranking allows the model to refine its own response distribution using the contextual understanding ability of stronger LLMs. Furthermore, we apply probabilistic ranking and contextual ranking sequentially to the instruction-tuned LLM. The resulting model, which we call \textbf{Tuna}, consistently improves the performance on Super Natural Instructions (119 test tasks), LMentry (25 test tasks), Vicuna QA, and can even obtain better results than several strong reinforcement learning baselines. Our code and data are available at \url{ https://github.com/microsoft/LMOps}.
[ 0.0321652554, 0.0462755673, -0.0211804546, 0.0495588258, 0.0057151914, 0.0173318256, -0.0406081043, -0.0244794544, -0.0282687191, -0.0485514142, -0.0792567506, -0.0172895044, -0.0115449671, -0.0038718304, 0.0123483017, -0.0719580501, 0.0363677777, -0.0535390228, -0.0132326614, 0.0043921527, -0.024315035, -0.0090672206, -0.0252749808, 0.0667607188, 0.0705928504, 0.0016616788, -0.0051756459, 0.0160449427, 0.0231229775, -0.0334654376, 0.0336081088, 0.0465448312, 0.0323992595, -0.0054634246, 0.0000020322, -0.0382716171, -0.0174637102, -0.0348255672, 0.0126930783, 0.0222871006, 0.0067434148, 0.0205346514, -0.0459132679, 0.0322363079, -0.037741784, 0.0270760357, 0.0261712093, -0.0036843391, 0.0604447313, 0.0793718845, 0.0358496197, -0.01718444, 0.0054365029, -0.0267293099, 0.0316338241, -0.0436307639, -0.0005529955, -0.0006781998, 0.0231759585, 0.0459350497, -0.0435996018, -0.016769208, 0.0383029915, -0.0101357959, -0.0096227909, 0.0514493734, -0.0065062912, 0.0097132195, -0.0228987038, 0.0751874447, -0.0232954025, 0.0068165837, -0.0130329095, -0.0222651232, 0.0261620879, -0.0281388424, -0.029567495, 0.0423282832, 0.0119759301, 0.0426438861, 0.0285174344, -0.0184623711, 0.0095405579, 0.0158076975, 0.0005034482, 0.0603292547, -0.0007780897, -0.0351652913, 0.0039909366, 0.0046704765, -0.0411665812, -0.0237254705, -0.015349268, 0.0519113056, -0.0688222945, 0.0177021213, -0.0389306284, 0.0205295328, 0.0103312805, -0.0181358773, 0.0731880367, 0.0588692464, -0.0232908819, 0.0202231593, -0.0062875766, 0.0776414052, -0.0049527083, 0.0240682177, -0.0540571325, 0.041614335, -0.0550847761, 0.012765782, 0.0169867408, 0.0101640429, -0.0475098081, 0.0021206813, -0.0669805408, 0.0433666743, -0.008769949, 0.0083380099, 0.0221563168, 0.0029034745, -0.0501089357, 0.0315300934, -0.0649105683, 0.0281621888, -0.0387581512, 0.0137523171, 0.0160195325, -0.0140874293, 0.0115817385, 0.0047971136, -0.0391747579, -0.0246387534, 0.0382421836, 0.0610972345, -0.0226893295, -0.0281007886, -0.0117445784, -0.0031397569, 0.0118353739, -0.0624580346, 0.0057134121, -0.0449092947, -0.0139389429, -0.0118883243, 0.008968371, 0.0174983386, 0.0216006152, 0.0229670648, 0.0072655752, 0.0527059175, 0.0603492185, -0.0063450048, 0.0021832793, 0.0118410941, -0.028749546, 0.051381737, 0.0411114618, 0.0216282345, 0.0087038083, -0.0143135889, -0.0024653904, 0.0186934695, -0.0041096173, 0.0139878001, 0.0017743626, 0.0070347344, 0.0181765035, 0.0226439256, 0.0780730546, 0.0179060455, -0.0211321712, 0.0252600294, 0.0622348227, 0.0071135601, -0.0013911697, -0.0193432216, 0.0413051993, 0.0197090954, -0.011624787, 0.0266971607, -0.0941825435, 0.0668953881, 0.0005279335, 0.0209214203, 0.033363048, 0.0156229455, -0.0144914128, -0.0771362707, 0.0230443981, -0.0041523082, -0.0258145723, 0.0403878726, 0.037784785, -0.0205001421, -0.0663555712, -0.0307180621, 0.0494839586, -0.0155394208, 0.0077506183, -0.1096913964, 0.0538671836, 0.0964392498, 0.0472262464, -0.0557742789, -0.0445713922, 0.0057596695, -0.0103152217, 0.0384567752, 0.0027850268, -0.0254645534, 0.0003069227, -0.0420268551, -0.0489752069, -0.0144177759, 0.0053144018, 0.0330658667, 0.0244374201, -0.0027528785, -0.0098185828, 0.004868702, -0.0449049063, 0.0427341275, 0.013017768, -0.0819365904, -0.0027793334, -0.0068199071, 0.0367282778, -0.0051596593, -0.0058935126, 0.0084964717, 0.0407838821, -0.0146865565, 0.0106507959, -0.0387908109, -0.0750183612, -0.0073681427, 0.0329234488, -0.0087703951, -0.0061536236, 0.0259287581, -0.0690991059, -0.0296784882, 0.0081938459, -0.0041697617, 0.0346057229, 0.0066488255, 0.0257787462, 0.0005508559, -0.0280887187, -0.061761599, 0.0692752972, -0.0207923222, 0.0204027332, 0.0491090789, 0.0277745109, -0.0258905608, -0.0540920421, -0.0101207141, -0.0005459868, -0.0095745204, 0.0373379141, 0.0159955733, 0.0678432956, -0.0448793471, -0.0536217913, -0.0575754791, 0.0442189202, -0.0197482836, 0.0297802556, 0.015360876, -0.0127954343, -0.0068177017, -0.0146836005, -0.0058842986, -0.0497534499, -0.011501207, 0.0280449912, 0.0174519382, 0.0198744796, -0.0168836806, -0.0787964165, -0.0245978683, -0.0012974397, -0.0143783223, -0.0029810686, 0.042712044, -0.0744051412, 0.0305249672, -0.0141664511, 0.0444480516, -0.0235627498, -0.0612301081, 0.0413086638, -0.0244761314, 0.0378653593, 0.1407991648, -0.0023641954, 0.0296782292, 0.0812459588, 0.0154666621, -0.0779056773, 0.0348006301, -0.0231355112, -0.0740769729, -0.038571272, -0.0225230101, -0.0202717241, 0.0584109724, -0.009594759, -0.0071148053, -0.0679717138, 0.0191079043, -0.0285767745, -0.0190556701, -0.0145005872, 0.0182679724, -0.0274009965, -0.0001943649, -0.0367837623, -0.0652351081, 0.0801084787, 0.0171613935, 0.015897477, -0.0672096983, 0.0031422647, -0.0301975552, 0.0184538476, 0.0071084411, 0.0106361266, -0.0468067974, -0.0145699838, -0.0723404661, 0.0053215344, 0.0229322053, -0.0420194194, 0.0348810777, -0.0673344284, -0.0126959085, -0.0039216736, -0.0503299311, -0.0501080267, 0.0397362113, -0.0043365639, 0.0118523166, 0.0322632194, -0.0380823798, -0.0104225175, -0.0287968647, 0.0446912795, 0.0250647981, -0.0350509025, -0.011315749, -0.0456803031, -0.0023492742, 0.0472856387, -0.0044581243, 0.0007924811, -0.0529970378, 0.0065205572, 0.029253114, 0.0675685704, -0.0331336297, -0.0111010987, 0.0173418317, 0.0232293941, -0.046796944, -0.0007139394, 0.0730502382, 0.0491242409, -0.0583343618, -0.0246267784, 0.1018662453, 0.0411372371, -0.0446162559, 0.0071547851, 0.0025019431, 0.0388357155, 0.0364869796, 0.0653415844, -0.0526308678, -0.0440080985, -0.0087196361, 0.0655056685, 0.0053641601, -0.0045955274, 0.0078796409, -0.1320603937, 0.0111164507, 0.0049114004, -0.044571124, -0.0343913026, -0.048732318, -0.0015785591, -0.0205907952, 0.030827485, 0.02800324, -0.0209890734, 0.0196919926, 0.0392557681, 0.0631273463, -0.0566808209, 0.0255993772, -0.0344380885, 0.0498127155, 0.099972643, 0.0089283595, 0.0038894659, -0.0279883388, 0.0283980928, -0.0231126472, 0.0074445913, -0.020115789, 0.0124796843, -0.0223004576, 0.0053396765, -0.0249649975, 0.0435340889, -0.0042886147, 0.0154295741, 0.0110760629, 0.0695494041, -0.0040301383, 0.0097213993, -0.024440119, -0.0246582497, 0.027826041, 0.0495950878, 0.0210551322, -0.0524135493, -0.0271592829, -0.0537247844, -0.0423993096, -0.0529099554, -0.0126416218, 0.0247596111, -0.0412238948, -0.0051946081, -0.0821041316, -0.0276690554, 0.022140542, 0.003998769, 0.0102036847, -0.0044066566, 0.0068865153, -0.0039588334, -0.008849863, 0.039623417, -0.0036598167, 0.0226245951, -0.1235469729, -0.0418054499, 0.0468563177, -0.0243921001, -0.0170509722, 0.0092889154, -0.0170803014, -0.0761320889, -0.0232858583, 0.1067262441, 0.0146163097, 0.0310977791, 0.0173822995, -0.0442782454, 0.0170450676, 0.0375562869, 0.0026388874, 0.0182808731, 0.0399677716, 0.0111775268, 0.0124170659, 0.0158523377, -0.0705825463, 0.0408305824, 0.0156751573, 0.0383876599, -0.0034677577, -0.000815759, 0.0218615402, -0.0291067716, 0.0329724811, -0.0397691801, -0.0047912006, -0.0360649526, 0.0355898216, -0.0116076311, -0.0092664417, -0.031357754, 0.0099771107, 0.0302878041, -0.0131312758, 0.0053541115, -0.0268600155, 0.0072391406, 0.0325114541, -0.0489170551, 0.0308507215, 0.0324877687, 0.0117949974, 0.0247417595, 0.0260775909, -0.0038663133, 0.0032957557, 0.02761936, 0.0623151995, 0.0121190902, 0.0654532984, 0.017692402, -0.0064593637, -0.0087615224, 0.0351394974, -0.0560947135, -0.0427881181, -0.037261337, -0.0104294196, 0.0620220974, 0.0139982654, 0.0319187567, -0.0071288864, 0.004403092, 0.0006397269, 0.0029039497, 0.004338719, -0.007016886, 0.0385797545, 0.0449247435, 0.0390906706, 0.0061988398, 0.0723330304, -0.0025795938, 0.0434485935, -0.0088259093, 0.0195917245, -0.0224084351, -0.0177221652, 0.0121812895, 0.0337086879, -0.0159879271, 0.0143687492, -0.0041670939, -0.0360860713, -0.0582983382, 0.0574491844, -0.0076221214, -0.0465010665, 0.0467495844, 0.0096259108, -0.0356153883, -0.0539080389, -0.038334012, -0.0256657563, -0.0148821576, -0.0188637264, -0.0198334493, -6.43764624e-33, -0.0520935506, -0.0105493702, 0.022862481, 0.0044878912, 0.0075302976, -0.0034276389, -0.0226210766, -0.0039562564, -0.0036352524, -0.0123994676, -0.0039756172, 0.010799937, 0.0068365093, 0.0057207714, 0.034613166, -0.0106229894, 0.031522911, -0.0089303628, -0.0468625277, 0.0405582488, 0.0073111001, -0.001767684, 0.053329099, -0.027727522, 0.0233299714, 0.0191617254, -0.0051882723, 0.0400613509, -0.05193533, 0.0812836438, 0.0028182173, 0.0301029235, 0.0060926648, -0.0450690649, -0.0124559319, 0.0111466218, -0.040563155, -0.0615145937, 0.0030803904, -0.0297096875, -0.0259867907, -0.0448788181, 0.0355800502, 0.0141613847, -0.0622694865, -0.0009173033, 0.0314618982, -0.0157015286, -0.0353531018, 0.0133004924, -0.0566352941, -0.0025149239, -0.0010755837, -0.0340705663, -0.0199495908, 0.0349052921, -0.0101645924, 0.028290797, -0.0116028814, 0.0376960672, 0.0444023423, 0.0686255693, 0.0704829991, 0.044253245, -0.0001998452, 0.0167170689, 0.0105370181, 0.0030311379, 0.0406695493, -0.0372637324, 0.0137347346, 0.0540268272, 0.0346626677, 0.0080178175, 0.0003871006, 0.0265130866, -0.068000637, 0.0347789265, 0.0495305955, 0.0214532148, 0.0324239396, 0.012775261, -0.070163399, -0.0052915546, -0.0473956466, -0.0193501376, -0.0284752343, -0.0141549325, 0.0535181761, 0.0241957344, -0.0273730587, -0.0444420613, 0.0256975275, -0.0161963012, -0.016909685, -0.0026677859, -0.0397237465, 0.0258934777, -0.0107596274, 0.0084864609, -0.0695723891, -0.0534377284, 0.0296740923, -0.0573173426, -0.0072713466, 0.0183245596, 0.0120509891, 0.0131565994, -0.057623513, 0.0132767009, -0.0386125296, 0.0132193547, 0.0102038374, 0.0128767816, 0.0108202072, -0.0163299274, 0.0007000042, 0.0938400701, 0.0078877704, -0.0199605878, -0.0321491808, -0.055058334, -0.0070802663, 0.0235100333, -0.0338166431, 0.012398392, -0.0417289324, 0.0411823243, -0.029549608, -0.0592061132, -0.034767013, 0.0220176205, 2.751e-7, 0.0049877213, 0.0565485097, -0.0291539785, 0.0457565077, 0.006056081, 0.056686651, -0.029098643, 0.0276191048, 0.0458195396, 0.0146265887, 0.0180615559, 0.0336255096, 0.010492797, -0.0079899346, -0.0629333779, -0.0092107356, -0.0413502529, 0.0083645238, -0.0652356446, -0.0337822661, 0.0224685036, 0.095509775, -0.0112970993, 0.0050004595, 0.0222773235, -0.0043285997, 0.0236367304, -0.032184042, -0.0086463066, 0.0093750777, -0.0090391263, 0.0115257297, -0.0275481679, -0.0113704996, -0.022053048, 0.002832904, -0.03219698, 0.082389757, -0.0141226761, -0.0413817354, 0.0426064804, 0.0143912015, 0.0124498075, -0.0548157543, 0.0524393618, -0.0395713449, 0.0095261587, 0.0128017152, -0.0125594903, -0.0459725522, -0.001252536, -0.042306304, -0.0241027195, -0.0003446678, -0.0066568428, -0.0017804016, -0.0170244668, -0.0536288098, -0.0073736073, 0.0097729079, -0.0086371843, -0.0685755089, -0.0590839572, 0.0151899979, -0.0141714998, -0.0496977344, -0.0137386136, 2.52598078e-34, 0.0196783226, -0.0236261468, 0.0531750135, 0.0231333096, 0.0194794107, 0.0424767546, -0.0499082431, 0.022713786, 0.0730697885, -0.060888119, -0.0416147336 ]
http://arxiv.org/abs/2310.13380v1
http://arxiv.org/pdf/2310.13380v1
APP: Adaptive Prototypical Pseudo-Labeling for Few-shot OOD Detection
2023-10-20T09:48:52
2023-10-20T09:48:52
Pei Wang, Keqing He, Yutao Mou, Xiaoshuai Song, Yanan Wu, Jingang Wang, Yunsen Xian, Xunliang Cai, Weiran Xu
cs.CL
cs.CL
Detecting out-of-domain (OOD) intents from user queries is essential for a task-oriented dialogue system. Previous OOD detection studies generally work on the assumption that plenty of labeled IND intents exist. In this paper, we focus on a more practical few-shot OOD setting where there are only a few labeled IND data and massive unlabeled mixed data that may belong to IND or OOD. The new scenario carries two key challenges: learning discriminative representations using limited IND data and leveraging unlabeled mixed data. Therefore, we propose an adaptive prototypical pseudo-labeling (APP) method for few-shot OOD detection, including a prototypical OOD detection framework (ProtoOOD) to facilitate low-resource OOD detection using limited IND data, and an adaptive pseudo-labeling method to produce high-quality pseudo OOD\&IND labels. Extensive experiments and analysis demonstrate the effectiveness of our method for few-shot OOD detection.
[ 0.048889447, -0.010032611, 0.022092225, 0.0420450903, 0.0060700495, 0.0299729109, -0.0005101821, 0.0344832428, 0.0393156111, -0.0762577951, -0.0689464808, -0.0252230633, -0.0373873636, -0.007090379, -0.0091785071, -0.0179724973, 0.0373069309, -0.0189359076, 0.0439516827, 0.0426903404, 0.0208592657, -0.005483408, -0.0424367301, 0.0486906432, 0.0099176178, -0.0738864616, 0.00490196, 0.0339627974, -0.0122892642, -0.0170024745, 0.0273314621, 0.0240450688, 0.0020340679, 0.0414338112, 0.0000017094, -0.0517409109, -0.0103788702, -0.0144459764, -0.0642676726, -0.026248483, 0.0276200548, 0.0337572806, 0.0037596233, 0.0030208617, -0.0263029616, -0.0321377851, 0.061314214, 0.0759735778, 0.0143444873, 0.0653115883, -0.0143750207, 0.0190032963, 0.0155323017, -0.0137066767, 0.0375797749, -0.0390535928, 0.0185199101, -0.0236564614, -0.0173698217, 0.0109213674, 0.0200332515, 0.001533712, -0.0305355303, 0.0124439942, -0.0284766424, 0.0152718527, -0.0145147657, -0.013047521, -0.0285772625, 0.1073544025, -0.0180411451, 0.0078816498, 0.0015185963, -0.0199422874, 0.006561466, -0.0439224206, -0.047151655, -0.0299495123, -0.0154715041, -0.0196687449, 0.002235757, 0.0366051011, -0.0218801573, 0.00194564, -0.0372425281, 0.0273247827, -0.0027136696, -0.010180736, -0.0182951838, -0.015828805, -0.0427630022, -0.0350655243, -0.0001961809, 0.0131905871, -0.0247049481, 0.0283237081, -0.0856112167, -0.0203155223, 0.0289944839, 0.0072774212, 0.01331669, 0.0189153757, -0.0605225898, 0.0724968985, 0.0180931743, 0.0453684442, -0.0136610465, 0.0584814772, -0.0563576631, -0.0132147111, -0.0861440301, 0.0111137191, -0.0599006526, 0.0539889075, -0.0179475155, -0.0235911943, 0.0082568806, 0.0503381714, -0.0141122546, -0.0359949395, -0.0055775135, -0.0076952311, -0.0308149159, 0.0090403939, 0.0105363782, 0.0488763638, -0.0079357279, 0.0358413868, 0.0033367935, -0.0593194924, -0.0352142192, 0.054339394, 0.0442858078, -0.0120832371, -0.0337294862, 0.0345920064, -0.0003595173, -0.060746938, -0.0275981352, -0.0450886488, -0.0288663544, -0.0237387959, -0.0192659087, -0.0288016479, 0.0101468554, -0.0059342226, -0.0032659511, -0.0520180352, 0.0027901493, 0.0403951183, 0.0061293687, 0.062166471, -0.0559728593, -0.0322244465, -0.0338731259, 0.0097891241, -0.0156797376, 0.0946709067, 0.0037482805, 0.0043453365, 0.0552812256, 0.0438234583, 0.0346732326, 0.0210982487, 0.0194500387, 0.0196729247, 0.0475331768, 0.0432281718, 0.0412383489, 0.0059258365, 0.0025272102, 0.0339968801, -0.0249408837, -0.0133705484, 0.044845067, 0.030632548, 0.0032289475, -0.0468856953, 0.0112951677, 0.075696446, -0.0204063132, -0.0059940633, -0.0149737056, 0.007117718, -0.0212585758, -0.0133821098, 0.0142082321, -0.0247530453, -0.0536538921, -0.035340853, -0.0107959416, 0.0090591265, -0.044289507, 0.0190601032, 0.0578048639, 0.0150143513, -0.0420191735, 0.0509857349, 0.0065584402, 0.0080773579, -0.0328921936, -0.047358416, 0.0002017979, 0.0194895659, 0.0385158174, -0.0882859379, -0.0725138113, -0.0449373312, 0.031591326, 0.0181502718, 0.0113338782, -0.0406555869, 0.0438542925, -0.0419845544, -0.0455392301, 0.0056354348, -0.0051659741, -0.0395266488, -0.025918154, -0.011013899, 0.0158800445, -0.0834298283, 0.0395186655, 0.0145834805, 0.0334370546, -0.0407984853, 0.0658288524, 0.0420584902, 0.046338968, 0.0494381301, 0.03490448, -0.007104645, 0.0211789943, -0.0177774895, 0.0052446336, -0.0209405962, -0.009007656, -0.075628601, 0.0347059779, 0.0101111168, -0.035247501, -0.01875416, -0.0253421981, -0.0241499711, -0.0171909314, -0.0599959902, 0.0124527179, -0.0445380807, -0.0162764043, 0.019300459, 0.0207464192, -0.0228240732, 0.0628920868, 0.0071912464, 0.0074011111, 0.043051213, -0.0084929615, 0.0489893556, -0.0173935723, 0.0260006208, -0.0094755432, -0.0694109127, -0.0021925489, -0.0246174894, 0.0184045825, -0.0496656448, 0.0208870508, -0.0668995753, -0.0022644245, -0.0434898883, 0.0103118261, 0.0229418036, 0.0191078261, 0.0138584403, -0.0228357278, -0.0198635701, -0.003488024, -0.0218401868, 0.0184167922, 0.0141821802, -0.0061157625, -0.0250729267, 0.0061097136, 0.037981201, -0.013444406, 0.0066521792, -0.0281839892, -0.0445303321, -0.0519989654, 0.0015016161, -0.0144523615, 0.0443123877, 0.0002947677, 0.0067703337, 0.0243937969, 0.0168251283, 0.0242504794, 0.033104267, -0.0312761553, 0.0098642232, -0.0046094158, -0.0284698289, -0.0269992687, 0.0206340123, 0.0090825465, 0.0176020432, 0.0153356614, 0.0090026492, 0.0516688563, 0.0364646129, 0.0059196367, 0.0127161993, -0.0363259539, -0.0236170944, -0.0105561707, -0.0410255343, -0.020594079, 0.0344775282, -0.0147964172, 0.0283040442, 0.0012750487, 0.0039335759, 0.0744204149, 0.0134199075, -0.023012111, -0.0785301551, -0.021467993, -0.0170169864, 0.035401728, -0.0531432182, 0.013145756, 0.1060020328, -0.0617494099, -0.0273928605, 0.0123471282, -0.0410363115, -0.0228020418, 0.0747158974, -0.0277975481, 0.0235198028, -0.00089364, -0.0430975072, -0.0291837137, -0.1149127185, -0.0161800273, -0.0048118513, -0.0585562997, -0.0032005885, 0.0002963889, 0.0220099352, -0.0215730593, 0.0508057773, -0.0059372694, 0.0058632642, -0.0111042419, 0.0762167946, 0.0437629446, -0.0202865414, -0.0434688441, 0.0052755815, 0.0544975251, 0.0455753915, 0.0498558097, -0.0533002354, 0.0452240109, 0.0066793244, 0.0642432794, 0.0044507827, -0.0212146807, 0.0323181674, 0.0660122037, 0.0170641039, -0.0368482433, 0.0956446007, 0.0357305519, -0.0565679111, -0.0148179522, -0.0062431921, 0.0152755668, 0.0414918847, -0.0116634341, -0.0825350136, -0.0972747207, -0.0016758662, 0.0258411374, -0.0368582904, -0.0129205892, -0.01569313, -0.1091515347, 0.0119770635, -0.0128032435, -0.0207591392, -0.0389788449, -0.0164387133, 0.031091379, 0.00001462, -0.0039809947, -0.0261002276, 0.0030409414, -0.0324092954, 0.0027599994, -0.005966648, -0.0631483644, 0.0163397547, -0.0279410444, 0.045284193, 0.045627512, 0.0473872609, 0.0617026426, -0.0136398021, 0.0039033312, -0.0504029281, -0.0212834384, -0.0255721472, 0.0538722984, -0.0179687664, -0.0017061507, -0.0229324065, 0.0268893652, -0.0791482851, -0.0300181042, 0.0014932594, 0.0622502565, -0.0322802775, 0.0442423709, -0.0014679799, -0.0026936308, 0.0678015873, 0.086197108, 0.0120076472, -0.0254798457, -0.0194295906, -0.0068588927, -0.0065699015, -0.0420093313, 0.0421965756, -0.0036195933, -0.0231974646, -0.044576142, -0.040930219, -0.0576785654, 0.0517119206, 0.0405451246, -0.0041932622, 0.0116921049, -0.0093570603, 0.0220642611, -0.0379288979, -0.0151137635, -0.0653567314, 0.023180265, -0.0535883456, 0.0029637588, 0.0587849542, -0.0219270047, 0.0036255501, 0.0428063385, -0.0909198001, -0.0438121781, -0.0110148424, 0.020805398, 0.0179586615, 0.0266190041, -0.0562700368, -0.0180411786, 0.0103407158, 0.0338991471, -0.0132136345, -0.0237078518, 0.0458435491, 0.0287580285, 0.003414629, 0.0344852097, -0.0671634227, 0.0064999205, 0.0288449414, 0.0048455908, -0.081059128, -0.0459966958, 0.0386728719, -0.0139701357, 0.0868780836, 0.0338947028, -0.0430355072, -0.0397065431, 0.0449840203, 0.0027805876, -0.0307032801, -0.0421520583, 0.0072658183, 0.0268989988, -0.0485593677, -0.014666616, 0.0419894941, -0.0702984184, 0.0215422343, -0.0349887237, -0.0137991682, 0.0183394477, 0.004170924, -0.0068660458, -0.0183877442, -0.0308249891, 0.0563329533, 0.0300798044, 0.0358149037, 0.0077082287, 0.098923482, -0.0067009423, -0.0236722119, 0.0088397991, 0.0275271144, -0.0336640552, 0.0248884, -0.024530109, 0.017714832, 0.0099223005, 0.0083033368, -0.0017177762, 0.0189723037, 0.028986318, -0.0375127681, 0.0408684351, -0.0450514592, -0.0290558767, 0.0298698936, 0.0266816542, -0.0080441739, 0.0058233826, 0.0870075896, 0.0109503632, 0.0119495261, 0.0067036012, 0.021509435, -0.0625757203, 0.0208103675, 0.0430208407, 0.0519278683, -0.0194244124, 0.0204326715, -0.0463022366, -0.0073252358, -0.0105190137, -0.0489613526, -0.0008263471, 0.0191819258, 0.0290340651, 0.0310283694, -0.0107220309, -0.0372679271, -0.0229473617, -0.0353145525, -0.0023924008, -0.0254230853, -0.0334644802, -5.40574881e-33, -0.0355317369, -0.0113584576, 0.0084093763, -0.0505400188, 0.0141931651, 0.0061803218, -0.0010083161, -0.0185093172, -0.0191712137, -0.0085025514, 0.0076982589, 0.0169282909, 0.0327117257, 0.028614331, -0.0446140096, -0.0493171997, 0.0424924903, -0.012221436, -0.0026083447, 0.0154492119, 0.0443920568, 0.0043441439, 0.0284165721, -0.0695205927, 0.0135558415, -0.0091830324, -0.0043638148, 0.0415836461, 0.0651772469, 0.0609321743, -0.0169314109, 0.0409247801, 0.028611768, -0.0232276805, 0.0044924216, 0.0385370702, -0.0904830173, -0.0228585117, -0.0090990793, 0.0390394181, 0.0077914796, -0.0204123706, 0.008628333, -0.0140532544, -0.0058715348, -0.0047522481, 0.0132413777, -0.0051509617, -0.0242207535, 0.0045147873, -0.0692864582, 0.023859283, 0.0166086089, -0.0712110251, 0.0152259879, 0.0702635348, 0.0350799263, -0.0188993514, -0.068498455, 0.0057766768, -0.0786998793, 0.0037849755, 0.0127204303, 0.0633018538, -0.0071554249, 0.0421329476, 0.0276395492, 0.029431358, 0.0183308478, -0.0168574769, -0.0117030274, 0.0453126468, 0.0158179812, 0.0222564433, 0.0432808176, 0.0200487189, -0.0388749391, 0.0137767587, 0.023086207, -0.0196528379, -0.0077519668, 0.0254292358, -0.0684188455, -0.0064846734, 0.0277917143, -0.0025857724, -0.0433569737, 0.0247481056, 0.0496431924, 0.0142897433, -0.0123118116, 0.0101471283, 0.056475088, -0.0272577852, 0.0285788141, -0.0024461634, 0.0400651097, 0.044691436, -0.0206251442, 0.0012162615, -0.0488862321, -0.0513262711, 0.0682090297, 0.0132879596, 0.0047171032, -0.0192311704, 0.0519253612, -0.0120808724, -0.0432327911, -0.0242084507, -0.0189323798, 0.024860112, -0.0175755229, 0.0700502023, 0.035823103, 0.0084926048, -0.0361409746, 0.0842892006, 0.009223571, -0.0561761037, 0.0003426946, -0.047435686, -0.0160499569, -0.0167648438, -0.0301018488, -0.0166355371, 0.0046384805, -0.03890929, -0.0367424935, -0.0481671356, -0.0040365937, 0.0134738749, 2.539e-7, -0.021117853, 0.0350654572, 0.0312692113, 0.0296758283, -0.0069129337, 0.0777097493, 0.013937748, 0.0277525522, 0.0032374077, -0.0609567799, 0.0568470284, -0.0172192287, 0.0225548241, 0.002634736, -0.1139833853, -0.003102544, 0.0446683951, -0.0081949616, -0.0205213092, -0.0000230876, 0.0776048973, 0.1005867049, 0.0401300825, -0.0202073697, 0.0155133512, -0.0655310154, 0.0130658438, 0.0420053229, 0.0360952429, 0.023401035, 0.0538336858, -0.0170083456, 0.0134811625, 0.052908998, -0.0190657489, 0.0165760703, 0.0279733408, 0.0276590809, -0.0357231498, -0.0551352575, -0.0300947148, -0.01197707, 0.0259240512, -0.0204058886, 0.0940756276, -0.0222605281, -0.0232455805, 0.0137864947, -0.004102062, 0.0015625677, -0.0181659721, -0.0159581602, -0.0133651784, 0.006270255, 0.035822548, -0.0183923841, 0.0036149237, -0.0654397756, 0.0081915259, -0.0071296846, -0.0202511996, -0.0065029971, -0.0177836511, 0.0268949792, 0.0412839241, -0.0705854967, -0.0072119413, 2.19566549e-34, 0.0103496825, -0.02376757, 0.004503469, 0.0506842695, 0.0086425133, -0.010737313, -0.0398392342, -0.0163769443, 0.0593837611, -0.0474086069, 0.0161419176 ]
http://arxiv.org/abs/2310.13377v1
http://arxiv.org/pdf/2310.13377v1
A Human-Robot Mutual Learning System with Affect-Grounded Language Acquisition and Differential Outcomes Training
2023-10-20T09:41:31
2023-10-20T09:41:31
Alva Markelius, Sofia Sjöberg, Zakaria Lemhauori, Laura Cohen, Martin Bergström, Robert Lowe, Lola Cañamero
cs.RO
cs.RO, cs.AI, cs.CL, cs.HC, I.2.9; I.2.6; I.2.10
This paper presents a novel human-robot interaction setup for robot and human learning of symbolic language for identifying robot homeostatic needs. The robot and human learn to use and respond to the same language symbols that convey homeostatic needs and the stimuli that satisfy the homeostatic needs, respectively. We adopted a differential outcomes training (DOT) protocol whereby the robot provides feedback specific (differential) to its internal needs (e.g. `hunger') when satisfied by the correct stimulus (e.g. cookie). We found evidence that DOT can enhance the human's learning efficiency, which in turn enables more efficient robot language acquisition. The robot used in the study has a vocabulary similar to that of a human infant in the linguistic ``babbling'' phase. The robot software architecture is built upon a model for affect-grounded language acquisition where the robot associates vocabulary with internal needs (hunger, thirst, curiosity) through interactions with the human. The paper presents the results of an initial pilot study conducted with the interactive setup, which reveal that the robot's language acquisition achieves higher convergence rate in the DOT condition compared to the non-DOT control condition. Additionally, participants reported positive affective experiences, feeling of being in control, and an empathetic connection with the robot. This mutual learning (teacher-student learning) approach offers a potential contribution of facilitating cognitive interventions with DOT (e.g. for people with dementia) through increased therapy adherence as a result of engaging humans more in training tasks by taking an active teaching-learning role. The homeostatic motivational grounding of the robot's language acquisition has potential to contribute to more ecologically valid and social (collaborative/nurturing) interactions with robots.
[ 0.0651922449, -0.0123755326, -0.0155464569, -0.0012478877, -0.0114253787, 0.0358866192, 0.0079889726, -0.0142029244, 0.0837864503, 0.0135365082, -0.0051575731, 0.0224254411, -0.0011678461, 0.0060491059, -0.0260942318, -0.0531801805, 0.0536227748, 0.0397959985, 0.0214795843, 0.0019191027, -0.0000247947, 0.0012458838, -0.0264072064, 0.04505812, -0.0295708291, 0.0255525, -0.0206665192, -0.0155343404, 0.0188541524, -0.0619770512, 0.0252491478, 0.0059682741, 0.0777502432, 0.034518294, 0.0000021825, -0.0466240682, -0.0047520637, 0.004672783, -0.0185722802, -0.121921286, 0.0418094732, -0.0098369066, 0.0032668293, -0.0037970329, -0.0301848445, 0.0278241616, 0.0373877436, 0.032299906, 0.0039396668, -0.0089304261, -0.0014323859, -0.0356369838, -0.0260514822, 0.029430259, 0.0052101617, 0.0359055586, 0.0120222233, 0.0487636067, 0.0563352443, -0.06565734, -0.0132303722, -0.0145827224, 0.0445762947, 0.033638332, 0.0223518908, 0.0616696551, 0.0762044042, -0.0694814622, -0.0047707674, 0.0314883851, 0.0401478633, 0.0380349383, 0.0085137822, 0.0151592791, 0.0530113764, 0.022373151, 0.00910463, -0.0123646548, -0.023933867, 0.0162220336, -0.0152314296, -0.0481494665, -0.037586242, 0.0213008765, 0.0429545753, 0.0735410154, -0.0155442031, -0.0212867111, 0.0385607705, -0.019293353, 0.0053885588, -0.0021021168, 0.0427318662, 0.0778948888, 0.0063259951, 0.0254317243, -0.062683247, 0.0225143135, 0.0004500303, -0.0341608226, -0.0318686143, 0.0311606564, -0.0588097163, -0.0290307924, 0.0055259769, 0.023551723, 0.0448337533, 0.0148056345, -0.0437147319, 0.0680039227, -0.0919398218, -0.0029535557, -0.0494025126, 0.0480664596, -0.0236365851, -0.0416954122, -0.0268576369, 0.0460937023, -0.0035641002, -0.0089247944, -0.0352592655, 0.0247583054, -0.0082354555, 0.0316647701, -0.0342403203, 0.0212177001, -0.053881824, 0.041728545, 0.0178422406, -0.0051821945, 0.0053438484, 0.0125419926, -0.0400808603, -0.0179987829, 0.0405657701, 0.0685804561, -0.0026863639, -0.0640666634, -0.0259507168, -0.0037488698, -0.0188776124, -0.0211054478, 0.0304895844, -0.0088011175, -0.0181574989, -0.0112708313, 0.0085676592, -0.049253799, 0.026893273, -0.0187931601, 0.0001818037, 0.0643363595, -0.0108496817, -0.0308015756, 0.0237319283, 0.0003994745, 0.0081727849, 0.052542828, 0.0408535376, 0.0258813612, -0.0208930429, -0.0228857417, -0.0338034704, -0.0305422619, -0.0138683738, -0.0029094778, -0.0035484047, -0.034239836, 0.0105535751, 0.0497754104, -0.0261672735, 0.0210863743, -0.0056891651, 0.0748260692, 0.0701267943, 0.0355714411, -0.0329626761, -0.0046567065, -0.0483712219, 0.0001627138, 0.0097486312, -0.0340392143, 0.0042699901, 0.0064951195, -0.0322157331, -0.0128491214, -0.0431279056, -0.0395824686, -0.0304287989, -0.0068599349, 0.0328208469, -0.0389547609, 0.0887532607, 0.0174566023, 0.0667206347, -0.0125794373, -0.0032159742, -0.0118645625, 0.0367188342, -0.0296689682, 0.0047106072, -0.0286599435, 0.0071071554, 0.0486632809, -0.0013066869, -0.0388747528, -0.0025973401, -0.0027336727, -0.0144087486, 0.0287988223, -0.0479256697, -0.0086786542, -0.0023542205, 0.0196680333, -0.0142810708, 0.0154090906, -0.0211755279, 0.0182095841, -0.0474248566, 0.0417691655, -0.0315986946, 0.0538049787, -0.0175398383, 0.0496227406, -0.004556146, -0.0030448737, 0.0005394871, 0.0137812188, 0.0194495376, 0.0527052246, -0.0001368036, -0.0043436238, 0.0318521187, -0.0082777776, -0.0128925126, 0.0844964236, -0.0105082998, 0.0175210647, 0.0255228188, 0.0243505035, -0.0154143274, 0.0073040859, 0.0456227139, -0.0014187461, 0.0062891385, -0.0504439436, 0.0723377019, -0.0084546357, 0.0291367341, -0.0305229221, 0.0154986829, -0.0213581473, 0.010133178, -0.0152339255, -0.0331822336, -0.049693536, 0.0027774428, -0.0018600941, -0.0089212945, -0.0241770316, 0.0310130976, -0.0218347758, -0.0062429407, 0.0217986424, 0.0285507049, -0.1033312827, -0.0057688467, -0.0755239204, -0.0353927948, 0.0186451841, -0.019759167, -0.0156241758, -0.0486425795, 0.0088455006, -0.0393361486, 0.0263108704, 0.059155371, -0.0162189193, 0.0350323208, -0.00206944, 0.03996123, -0.0315196626, -0.0107036587, 0.0214794986, -0.0092866402, -0.0531148948, 0.0548735, 0.0034358311, -0.0433201827, 0.0371727534, -0.0057010814, 0.0089865606, -0.0268641599, -0.0367737524, 0.0747413859, 0.0322435088, 0.0431725755, 0.0748629496, 0.0223251004, 0.0536161251, 0.0945408195, -0.0054256655, -0.0378651433, -0.0208648574, -0.0285864081, -0.0193855818, -0.0074366336, 0.0048696552, -0.036121022, -0.0016289378, 0.029535424, 0.0494715646, -0.0774089247, -0.0120194769, -0.0253976732, -0.0495923907, -0.0323923156, -0.0077024484, -0.0500324667, -0.0325897895, 0.002187195, -0.0604556948, 0.0912047476, 0.037234664, -0.0131995184, -0.0202751998, 0.0132855186, 0.0397772342, 0.0107033662, -0.0412113927, -0.0045501306, 0.0407375842, -0.0302432831, -0.0088179624, -0.0035154417, -0.0316983648, -0.0137349451, -0.0040371828, -0.0792471021, -0.0129619017, 0.0246030614, -0.0021138126, -0.0638820976, 0.0623150878, -0.0272451323, 0.0172854178, -0.0245050918, -0.001512623, -0.0282069426, -0.0394720212, 0.0661525801, -0.0138391573, 0.0331168659, -0.0070032175, -0.0289111137, -0.0944703668, 0.0645223856, 0.012147259, -0.0239774976, 0.0061419676, 0.0248082951, -0.0106143802, 0.0506138839, -0.0286937933, 0.0112648727, 0.0283937845, 0.0191277899, 0.0131192775, 0.0481985845, 0.0258032791, 0.0257281307, 0.0488650762, -0.0555495694, 0.0774578303, -0.0079346607, -0.0464186445, 0.0510680489, -0.034335684, -0.0366324969, 0.0039393869, -0.0067992792, -0.0413350873, 0.0105266841, -0.0129346624, 0.0632817969, -0.0219423957, -0.0046055401, -0.010730274, -0.038548857, -0.0280282106, 0.0084766475, -0.0664904788, -0.084572807, -0.023377426, -0.0041995994, 0.0326327793, -0.0043456662, 0.0021458198, -0.0095574679, -0.0029411383, 0.0485032313, 0.0069348249, -0.0249160323, 0.0271303486, -0.0216066744, 0.0308118034, 0.0673980117, 0.0359062999, -0.0125980638, 0.020519143, -0.0390417501, 0.0090356814, 0.0219295155, -0.0464109294, -0.0036389958, -0.0275346451, 0.0049088444, -0.0265934635, 0.0463423841, -0.0484559089, -0.0020030581, 0.0218635686, 0.0570302494, -0.0404854491, -0.0077214041, 0.0067996364, -0.0069454396, 0.029225463, 0.0087200031, -0.0172015019, -0.0404643975, 0.0234353002, 0.0314407162, -0.0144834919, 0.0789117888, -0.0143863047, -0.0136721656, -0.0724469796, -0.0196536332, -0.0826265812, -0.0661474466, 0.0253426563, 0.0599755384, 0.0345638096, 0.0011526087, 0.0087089017, 0.0407708921, 0.0024378279, 0.0215327572, 0.0237773024, 0.0002684899, -0.075732708, -0.0533215739, -0.0036097483, -0.0547408164, 0.0106905131, -0.0554396659, 0.0660601705, -0.0551887639, 0.0609260574, 0.0473660305, 0.0180044584, 0.0321129598, 0.0541925021, -0.0154427383, -0.0317080058, 0.0389928296, 0.0363593139, 0.0184378754, 0.0004515904, 0.0470416695, 0.0224502664, -0.0068551875, -0.0293959528, -0.013384033, -0.0165395848, 0.0055702627, 0.0209129509, -0.026121391, 0.0667907745, 0.0346988849, 0.0251911022, -0.060016118, -0.036553558, -0.0514059886, 0.00022286, -0.0295533389, 0.0007542667, -0.0200200472, -0.0170461163, -0.0196486861, -0.001578668, 0.0164186861, -0.0620178655, -0.0150533719, -0.0530962609, 0.0124271754, 0.0205770526, 0.0091054896, 0.0831471086, -0.0210366193, 0.0380487852, 0.0011640841, -0.0334629305, -0.0278015621, 0.0331992321, -0.0104924627, 0.1150770262, 0.0067271017, -0.0224495381, -0.0121176587, 0.0483510233, 0.0329581425, -0.0634853914, -0.0037858817, -0.03755394, 0.0327749513, -0.0095133269, -0.0003110508, -0.084965907, 0.0352346078, -0.0398423374, 0.0087033054, -0.0528330468, -0.0295432266, -0.0289410558, -0.0196632743, 0.0004644917, 0.0148324538, 0.0025399171, -0.0669069886, 0.0894931704, -0.0490322858, 0.0301600341, -0.0217272844, 0.0066225668, 0.0181773994, -0.0135127297, -0.0513393804, 0.0119180651, -0.0135002742, -0.035260018, -0.0426788144, 0.0194719546, -0.0042783716, 0.0069598556, 0.0868658125, -0.0308151655, -0.0417416729, -0.053144116, -0.0192945749, 0.0574358068, 0.0024735276, 0.0200046077, -0.0324513949, -5.185757246e-33, 0.0053475574, -0.0086363303, 0.0112700406, 0.0173611678, 0.0059751486, -0.0333524682, -0.0335943736, 0.032985948, -0.0213061646, 0.0076332577, 0.039803762, -0.0060734022, 0.0048118914, -0.0503859594, 0.0527492426, -0.020625677, -0.0129227191, -0.0117167076, -0.0001524769, -0.013720857, 0.0445282348, 0.050425496, 0.0233121943, -0.0601489022, 0.0634397641, 0.0253829844, 0.0183281135, -0.018138634, 0.0055042813, -0.0264873859, 0.0010825726, 0.0281334762, -0.0030686834, 0.0606854297, -0.0178063828, 0.0176092535, -0.0454668552, -0.0391333699, -0.0068330984, -0.0014818379, -0.0489785373, -0.0146606099, 0.0195626412, -0.0265243594, -0.0767722726, 0.0814086422, 0.0134450514, -0.0167170074, 0.0095165856, 0.0222350676, -0.0511934534, -0.0485360585, 0.0053326641, -0.067597121, 0.0006479635, 0.0483408272, -0.0394929573, 0.0146768512, 0.0115384404, 0.0300751384, -0.0621013828, -0.0119655114, 0.0263662003, -0.0412464626, 0.0470659807, 0.0288360938, 0.0438380018, 0.0031165467, 0.0257981084, -0.0130476803, 0.0498474799, 0.0131953154, 0.0547714792, -0.0589080192, -0.0166564174, -0.039057713, -0.0253427699, 0.0121206082, 0.0023840673, 0.0633502603, -0.0050839707, 0.0433356687, -0.0153961629, 0.0011018736, -0.0130423596, 0.0363228582, -0.0018179073, -0.0655513927, 0.0180866979, -0.0021847044, -0.0058160294, -0.0928641781, -0.0131312348, -0.0296249595, 0.0429572128, -0.0119484346, 0.0172150284, -0.0092419917, 0.0011857243, -0.0407885648, -0.0483058915, -0.0494334847, 0.0110683171, -0.0088507449, 0.0303667597, 0.0185288452, -0.0519052669, 0.0285563748, 0.0308794379, 0.0017788723, -0.0310823694, -0.0015318013, 0.0943556651, -0.0554536767, -0.0031959184, 0.0344480574, -0.02620342, 0.0654863194, 0.0176342502, -0.045572076, -0.0955089405, 0.035171736, -0.0241244677, 0.0115815345, -0.0311262123, -0.0276987944, -0.0253432784, 0.0494069792, 0.0081605911, 0.0023690616, 0.0138041908, -0.0400775224, 2.987e-7, -0.0430466905, 0.074801378, 0.0273286384, -0.0201614257, -0.0105990637, 0.0236610733, -0.0002978714, 0.0546830557, -0.0020932488, -0.0216950756, 0.0118865855, -0.0210080408, 0.0150645534, -0.0348142236, -0.0079708584, -0.0145155005, 0.0024985052, -0.0093797622, 0.0023410539, 0.0309634376, 0.0388966165, -0.0253867488, 0.0087011857, 0.0058032912, -0.0129196094, 0.0028374032, -0.0144606857, -0.0371879749, 0.0559164174, -0.0559873059, -0.0217565354, -0.0179200284, 0.0308662131, 0.0283727404, 0.0115677714, -0.0303088687, -0.0413572229, 0.040593531, -0.0767921656, -0.0196994245, 0.0163297188, 0.0979335755, -0.0419773348, 0.0054152426, 0.0106850648, -0.0834580436, -0.0183925424, 0.0497754514, 0.0199232977, -0.0348694324, 0.0111922249, -0.0199537985, -0.0142070074, 0.0016350922, -0.0539231449, 0.0554084666, 0.0125127723, -0.0368709341, 0.0274030138, 0.0239006709, -0.0727779344, -0.030330345, -0.0092258258, -0.0129944151, -0.0700136945, -0.02799863, -0.0040927548, 1.608778239e-34, -0.056600485, 0.005032633, 0.0200513992, 0.0577523448, 0.01106844, 0.0216945037, -0.0184580386, 0.0465968922, 0.0547015108, -0.0070961672, -0.0424713604 ]
http://arxiv.org/abs/2310.13362v1
http://arxiv.org/pdf/2310.13362v1
Towards General Error Diagnosis via Behavioral Testing in Machine Translation
2023-10-20T09:06:41
2023-10-20T09:06:41
Junjie Wu, Lemao Liu, Dit-Yan Yeung
cs.CL
cs.CL, cs.AI, cs.LG, cs.SE
Behavioral testing offers a crucial means of diagnosing linguistic errors and assessing capabilities of NLP models. However, applying behavioral testing to machine translation (MT) systems is challenging as it generally requires human efforts to craft references for evaluating the translation quality of such systems on newly generated test cases. Existing works in behavioral testing of MT systems circumvent this by evaluating translation quality without references, but this restricts diagnosis to specific types of errors, such as incorrect translation of single numeric or currency words. In order to diagnose general errors, this paper proposes a new Bilingual Translation Pair Generation based Behavior Testing (BTPGBT) framework for conducting behavioral testing of MT systems. The core idea of BTPGBT is to employ a novel bilingual translation pair generation (BTPG) approach that automates the construction of high-quality test cases and their pseudoreferences. Experimental results on various MT systems demonstrate that BTPGBT could provide comprehensive and accurate behavioral testing results for general error diagnosis, which further leads to several insightful findings. Our code and data are available at https: //github.com/wujunjie1998/BTPGBT.
[ 0.0226240214, 0.040243946, -0.0530638695, 0.0683286712, -0.011375702, 0.023739066, 0.0217171479, 0.0482198857, -0.0092543708, -0.0210280698, 0.0093943281, -0.0386569649, 0.0275041927, -0.0040247017, 0.054107096, 0.0100801811, 0.0688324347, 0.0094201211, -0.0392453298, 0.0133186746, -0.0011781899, 0.0226572212, -0.0028920469, 0.0172662493, -0.0107058501, 0.0103150345, 0.003904463, 0.0179703683, 0.0521781035, -0.0309084784, -0.0041748467, 0.0116211977, -0.0223427135, 0.0891611427, 0.0000020252, -0.0515551828, -0.0405576304, 0.0275396369, 0.0147362668, -0.0192916375, 0.0439143628, -0.056111943, -0.0279452708, 0.0372424088, -0.0270817801, -0.0455353893, 0.0359389521, 0.0205923393, 0.07192792, 0.0813739672, -0.0123120127, 0.0028096251, -0.0271390062, 0.000519964, 0.0275487993, -0.0184899252, 0.0004542804, 0.0334370844, 0.0028715588, 0.0005832894, 0.0297569949, 0.0019999903, 0.0070720157, -0.0008798452, -0.1158754453, -0.0319183245, -0.0271558333, -0.0380568393, 0.0098839365, 0.0319512337, -0.0241772979, -0.0192685258, 0.0110627692, 0.0167916771, -0.024428403, -0.0338515826, 0.03346885, 0.0094923396, -0.0404086299, -0.0104684206, 0.0403955169, 0.0279706493, 0.0207668077, 0.0000925648, -0.0584627315, 0.0173939038, -0.0132974079, -0.0470015742, -0.0287809577, 0.0098653203, 0.00160041, -0.0240036584, 0.0278487094, -0.0017096952, -0.0510355383, 0.002490262, -0.0320939906, -0.077171579, 0.0584337562, -0.0488975495, 0.0249378458, 0.0479693748, -0.0186078511, 0.0152460542, -0.0333333649, 0.1093787998, 0.0098392628, 0.0039801658, -0.06389606, 0.0097331638, -0.0008494768, 0.0454228483, -0.0385743864, -0.0187259763, 0.0040897103, 0.0173955448, 0.0045426805, 0.019203715, -0.0185066406, 0.0517132916, -0.0336061716, -0.0640728399, -0.0362834148, -0.0000716039, -0.0028636728, -0.0246642679, -0.0140388794, -0.0613181479, -0.0190792568, -0.0202103909, -0.0213407297, 0.0213588458, -0.0409427769, -0.0271924622, 0.0005668246, 0.0968359783, 0.0149803925, -0.0087941997, 0.0070248498, -0.0322823003, -0.0039473474, -0.0473591313, -0.0138929375, -0.0524624027, 0.0206535608, 0.0105846552, 0.0072419485, 0.0036201493, 0.0199329723, 0.0222054757, 0.0019678958, 0.0747676715, 0.0040521906, -0.0118725374, -0.0297696069, -0.0179256927, 0.0236285664, 0.0915624872, 0.0222169422, -0.0289995484, 0.0468665659, 0.0097442484, -0.0158994831, 0.0637774691, 0.0107982177, 0.0362767018, -0.0210628137, -0.0011515525, 0.0591986626, 0.0324181169, 0.0268512294, 0.0670111254, -0.0333105028, 0.0147451144, -0.0212010536, 0.0264526345, -0.029229518, 0.0304671358, 0.0698413029, -0.0088853128, -0.012241846, 0.0083679464, -0.0143193128, -0.0428602099, -0.0500335842, 0.0001621075, 0.0026201194, 0.0252449233, 0.0138423005, -0.0674616396, -0.0752333328, -0.009498179, 0.0823551863, -0.0363562889, 0.0461288393, 0.0277679898, -0.044412259, 0.0150369434, -0.0429448821, -0.0460065454, -0.0109091355, -0.042520795, -0.0124042369, 0.0460823923, 0.0720457435, -0.0176532269, -0.0020817749, 0.001408171, -0.0450126901, 0.0492945202, 0.071675092, -0.0040325583, -0.029075563, -0.0250491556, 0.0139241247, 0.0426455028, 0.022542838, -0.0073727653, -0.0062377951, 0.0515186749, 0.0243347939, -0.0312458593, -0.0865286961, 0.0391015485, -0.015826121, -0.0253242385, 0.0192256086, 0.0016619676, 0.0317211822, 0.0341346115, -0.009032988, -0.0126093961, 0.00553841, -0.0026054296, -0.0073295468, 0.035856232, 0.0135234902, -0.0609509014, 0.0208839159, -0.0135975508, -0.0554280877, -0.0111153442, -0.0512719676, -0.030010758, -0.017755216, -0.0628892407, -0.0215927921, -0.0366786122, 0.0387223214, -0.0278240703, 0.011235619, -0.0340188369, -0.0001162833, -0.0090674609, 0.0373997279, -0.0168089848, 0.000594651, 0.0428938828, -0.0514200516, -0.0528603345, 0.0631882772, -0.0009148922, 0.0239765272, 0.0075002997, 0.0703032166, -0.0276607666, -0.0168809965, -0.0467888974, 0.0223123394, -0.02250834, 0.0658833459, 0.0388855077, 0.0178189296, -0.0053960131, -0.0022485291, 0.0093018478, 0.0019601681, 0.0527004488, -0.0014778123, 0.0552184209, -0.0250754226, -0.0064418172, -0.0141055556, 0.0203304533, -0.042920433, 0.0344130248, 0.0212081112, 0.0268100817, -0.1217574775, 0.0131114479, -0.0127064027, 0.0166878309, 0.0264116935, -0.0673824474, 0.0253859498, -0.0015094196, 0.0254597869, 0.0527256951, -0.0051081865, 0.014817141, -0.0138424188, -0.0059026526, -0.0609916151, 0.0008160658, 0.003206129, -0.0143675618, 0.0131695895, -0.0825736821, 0.0137398485, 0.0342704877, -0.0233125109, -0.0095714768, -0.0428132974, 0.0235432368, -0.0260802507, -0.0127585419, 0.0057315049, 0.023222791, 0.012712107, 0.0468045175, -0.009351681, -0.0199170448, 0.0886475444, -0.0469396561, -0.0123696113, -0.1053501815, 0.0180976577, -0.0384457931, 0.0369370505, 0.0097974036, 0.0023425696, 0.01694916, -0.0231631715, 0.0306290612, 0.0222173333, 0.0126313018, -0.0460618399, 0.045392599, -0.0796139687, 0.0092586847, 0.0003455844, -0.0263808407, -0.0331236199, 0.0188377853, -0.0065286066, -0.0227016285, -0.0041645202, -0.0288458355, -0.0248672981, 0.0341397673, 0.024027383, 0.0286085568, 0.0231302697, -0.0212673172, -0.0151108894, -0.0416234657, -0.0301187206, -0.0155017292, 0.0238932855, -0.0379105061, -0.0117893852, 0.0045635924, 0.0150203342, 0.0001966381, -0.0289394166, -0.0367689766, 0.0105892047, -0.0196796693, -0.0320113637, -0.0161419585, 0.0084244609, -0.0592986085, -0.0489770286, 0.0661590844, 0.0559366271, -0.037713673, 0.0155323315, -0.0220312811, 0.0000458477, 0.020989608, 0.0619615838, -0.0942720398, 0.0104138944, 0.0283565801, 0.0376697369, -0.0166090894, 0.0173460133, -0.01195761, -0.1289651394, 0.0031331382, 0.0285684727, -0.0351825394, -0.0260683894, -0.0220717415, -0.0141888373, -0.0496204048, 0.0635259375, 0.010203382, 0.0159763508, -0.0101012327, 0.004183474, -0.0313310437, -0.0671816319, 0.0182976536, -0.0304806679, 0.008535292, 0.0831046253, 0.0271110237, -0.0136263175, -0.0414031595, -0.0009841297, -0.0395305827, -0.0152383111, -0.0299343318, 0.0097557362, 0.0323658623, -0.0332891494, 0.0277423188, -0.0136794066, -0.064833127, 0.0019298167, 0.0034660297, 0.0376969427, -0.0047446564, -0.0165540762, 0.0109768789, -0.0010260696, 0.0284915734, 0.0309471544, 0.0043036086, -0.0381176323, -0.0338890739, -0.0230096318, -0.0464853235, -0.0792701617, -0.0608489476, -0.0219777469, -0.0261621401, -0.0081886267, -0.0915946588, -0.0557130314, -0.0021811062, 0.0396076776, -0.0095577519, -0.0397205986, -0.001714931, -0.0183862988, 0.0150011238, 0.0318301879, 0.0361019522, 0.0446516834, -0.0446379893, 0.0227670539, -0.0020440724, -0.002642286, 0.0145968664, 0.0483415723, -0.0190266501, -0.0570262372, 0.0201005004, 0.053540051, 0.0171734858, 0.0139741348, -0.0757993236, 0.0103242518, -0.0385001414, 0.0334598012, 0.0222617965, -0.0194128957, 0.0468083322, 0.0004510513, -0.0138856256, 0.0181156993, 0.0018881422, 0.0044399146, -0.0540448576, 0.027480673, -0.037675675, -0.0280250441, 0.0302684195, 0.0453311577, 0.0307618789, -0.0204339828, -0.0274255015, -0.0036918905, 0.0017895082, -0.0347227901, -0.0479177758, -0.0073500024, 0.0077068103, -0.0183834434, -0.0247371718, -0.0027979061, -0.0465603322, -0.0567108244, -0.0250453018, 0.0448978171, 0.0386948921, -0.0221199151, 0.058058206, 0.0113728242, 0.0046088714, -0.00692053, 0.0165330507, -0.0026442413, 0.0685288385, -0.0323729329, 0.073632732, 0.0106144464, 0.0052917423, 0.012359187, 0.033363279, 0.0388552621, 0.0166746415, -0.0134831592, -0.0382570811, 0.0534730032, -0.0089402953, 0.1037006155, -0.0202023797, 0.0053399536, 0.0111399936, 0.0133512449, -0.0083525125, -0.0093473233, -0.0289435573, 0.0075376127, -0.0013713347, -0.0303782187, 0.0426401161, -0.0327894464, -0.0097704874, -0.0111337947, -0.0007820125, -0.0053227232, 0.012986552, 0.0010708064, -0.0683067739, -0.0433893576, -0.0487977527, -0.0410585515, -0.0860278904, 0.0191204771, 0.0751048848, 0.049369283, 0.0206986964, -0.0011267359, 0.1143079624, 0.0198283903, 0.0450532623, -0.0234144162, -0.0025353907, 0.0004848874, -0.0236513894, -0.0599520132, -5.811404563e-33, -0.0133632217, -0.0575999655, 0.0046265479, -0.0380118228, 0.0162055735, -0.0241024699, -0.0411077477, 0.0053836955, 0.0331030972, -0.006475667, -0.0037011325, 0.00043394, 0.0289891511, -0.0488499664, 0.0118837049, 0.0127927642, 0.0455979891, 0.0253765471, -0.0379512422, -0.0377381332, 0.0494071096, -0.0272491388, 0.0829951465, -0.0798320323, 0.0569488592, -0.0080609377, -0.042163793, 0.030942278, -0.0422547124, 0.0414575115, 0.0154535798, 0.0154777123, 0.0071742125, 0.021880934, -0.0344045945, -0.0407790765, -0.0451593474, -0.0207732953, 0.0129150404, 0.0591030046, -0.009832575, -0.0138486736, 0.0369532853, -0.0739947632, -0.0337002613, 0.0496067666, -0.001656158, -0.0262230616, 0.0049693463, 0.0225737132, -0.0549621992, 0.0353808589, 0.0233285446, 0.0201615915, 0.0306482818, 0.0544411615, -0.019126704, -0.0556755997, -0.0902601257, 0.002906692, -0.018635476, -0.0119917206, 0.0760844946, -0.0358706862, -0.0144780865, 0.0013039262, 0.0028285366, 0.0435860641, 0.038721025, 0.0254548099, 0.0760348514, -0.0445371233, 0.0813959315, 0.0638643801, 0.045269262, -0.0434490219, -0.0004683811, 0.0572664477, 0.0341694094, 0.00856975, 0.005897352, -0.0040431619, -0.0802019164, -0.0114468019, -0.0414447449, -0.0108564962, -0.0312812291, -0.0603147522, -0.0029093993, 0.0227964483, -0.0091951042, -0.0048714043, 0.0370616019, -0.0321779251, 0.0018947005, -0.0447241552, -0.0395914428, -0.0118260784, -0.0405498147, 0.0314392298, 0.0100085912, -0.0965417027, -0.0251202192, 0.0532301441, 0.0488969311, -0.0036607387, 0.0311601907, 0.0075806128, -0.0504130758, 0.0318742394, -0.0011271796, 0.0438219421, -0.0218924321, 0.0074476842, -0.0018513229, 0.00574065, 0.0069835652, 0.0159038231, 0.0541029908, -0.0340291113, -0.0666794628, 0.0489297919, -0.003127713, 0.0484626442, -0.01927053, 0.025410654, -0.020867724, 0.069020465, 0.0293140225, -0.0090991575, -0.0113627976, 0.0148311723, 2.779e-7, 0.0432838425, 0.092737332, -0.0256394446, 0.0631574392, -0.0023009421, 0.0211721826, -0.0358631313, 0.0123753427, -0.0056767836, 0.0433190092, -0.0087390859, -0.0093035307, 0.0743716434, 0.0898976028, -0.0472382866, -0.016912898, -0.0031581901, -0.0022096878, -0.049452275, 0.015632635, 0.0193019677, 0.0498146303, -0.0082744025, 0.0251400359, -0.0140470173, -0.0364871994, 0.0383405834, 0.0173460022, -0.0327265002, 0.0144330431, 0.013623992, 0.0242061317, 0.0222528949, 0.0240339432, -0.013732994, -0.0151755968, 0.010388976, 0.0091635436, 0.0307700373, 0.0060651647, 0.0177552756, -0.0418417901, 0.00736544, -0.0319419056, 0.0315024517, -0.0235360116, 0.0116648441, 0.0354764648, 0.0107488185, -0.0064848624, 0.0363593362, -0.0332606994, -0.0448960178, 0.0696523264, 0.0365524106, 0.0240227636, -0.0046816585, -0.0252622999, -0.009002598, 0.0043929433, -0.009265516, -0.0351063311, 0.0172751751, 0.015163064, -0.045558732, -0.0160056837, -0.0026397146, 2.838970615e-34, 0.0551297627, -0.0131633431, 0.0026043102, -0.0398397669, 0.0645834506, 0.0133855427, -0.0010072695, 0.0363168046, 0.0050542527, 0.0011635094, -0.0065326514 ]
http://arxiv.org/abs/2310.13361v1
http://arxiv.org/pdf/2310.13361v1
Bridging the Gap between Synthetic and Authentic Images for Multimodal Machine Translation
2023-10-20T09:06:30
2023-10-20T09:06:30
Wenyu Guo, Qingkai Fang, Dong Yu, Yang Feng
cs.CV
cs.CV, cs.AI, cs.CL
Multimodal machine translation (MMT) simultaneously takes the source sentence and a relevant image as input for translation. Since there is no paired image available for the input sentence in most cases, recent studies suggest utilizing powerful text-to-image generation models to provide image inputs. Nevertheless, synthetic images generated by these models often follow different distributions compared to authentic images. Consequently, using authentic images for training and synthetic images for inference can introduce a distribution shift, resulting in performance degradation during inference. To tackle this challenge, in this paper, we feed synthetic and authentic images to the MMT model, respectively. Then we minimize the gap between the synthetic and authentic images by drawing close the input image representations of the Transformer Encoder and the output distributions of the Transformer Decoder. Therefore, we mitigate the distribution disparity introduced by the synthetic images during inference, thereby freeing the authentic images from the inference process.Experimental results show that our approach achieves state-of-the-art performance on the Multi30K En-De and En-Fr datasets, while remaining independent of authentic images during inference.
[ 0.0213593505, 0.0740148872, 0.0091630556, 0.0694849491, -0.0232972149, -0.0095506776, 0.027968986, 0.011329134, -0.0567878261, -0.0296888389, -0.0340479799, -0.0141147561, 0.0172508322, 0.0025065562, 0.0527389832, -0.0658868998, -0.0244177822, -0.0118999714, -0.0790984482, -0.0164293777, 0.0000301102, 0.03556519, 0.0005387664, 0.0157496613, -0.0615451895, 0.0062675043, 0.0052034687, 0.0889830217, 0.0400163643, 0.0057704677, -0.0357676223, 0.034750551, 0.0142566832, 0.0239622165, 0.0000022154, -0.009764214, -0.0068065054, -0.0007865942, 0.0267841741, -0.006301262, 0.078031078, -0.0885485485, -0.0119614583, -0.0085513731, -0.0188103877, 0.004224054, 0.0908508971, 0.0430617779, 0.058124017, 0.0745926797, -0.0479796827, -0.0391235463, -0.0326725654, -0.026532365, -0.0216774661, -0.0141208498, -0.0317082219, 0.0002795315, -0.0605382323, 0.0141240358, -0.0338646546, 0.0527186804, 0.0579438247, -0.0065383213, 0.0010334614, 0.0326580033, -0.0054920102, -0.0635225326, -0.0268727634, 0.0559488572, -0.0758117586, -0.0049805068, -0.0312344674, -0.0185502302, -0.008394327, 0.0472967401, 0.005608276, 0.052150473, -0.0276637357, 0.0293240771, -0.0689408928, 0.0394251086, 0.0099630458, -0.0254975744, -0.0575788431, -0.0427731611, 0.0374424346, 0.0123852836, -0.0553808361, 0.0426382162, -0.0707400069, 0.0061787586, 0.049047567, -0.0268852152, 0.0287705064, -0.0042610611, -0.0635200292, -0.0673811063, -0.0166264959, -0.033859279, 0.0339500941, 0.0474846512, -0.024162028, 0.019046573, -0.0193213541, 0.0282717627, -0.0469834395, 0.0425451212, -0.0531339347, -0.0307298992, -0.0152669437, -0.0000898362, -0.0275622644, -0.0576151088, -0.0627377033, -0.0303951949, -0.0202074405, 0.0126414951, 0.0160479806, -0.039589189, 0.0441550873, 0.0171740577, -0.085955143, -0.0315962993, -0.023550665, 0.0385791063, 0.0177961402, 0.0150624029, -0.0138665773, -0.0513482839, -0.02135868, 0.0458149724, 0.0144684734, -0.0395147204, -0.017868517, 0.0789079145, -0.0551309101, -0.0273058824, -0.0058948756, -0.0017273248, -0.0158559699, -0.0501449145, 0.0602792241, -0.0464905612, 0.0711535513, 0.0001505152, 0.0151340505, -0.0175605305, -0.0046316744, -0.0043239915, 0.0041436087, 0.0720677525, 0.0170578919, -0.0040186932, 0.0424421951, -0.006946221, -0.0226283334, 0.0673321858, 0.0521427989, 0.0411900356, -0.0010157315, -0.007132112, 0.0095965238, 0.0644102469, 0.0045114979, 0.0124144461, -0.0077476082, -0.0375212654, 0.0024716444, 0.019907346, 0.0792228132, 0.0529757105, -0.0222568233, 0.0137749445, 0.1164227799, -0.0225986913, 0.0051046219, 0.0049291858, 0.0555580407, 0.0179294106, -0.0165608246, 0.0112496689, -0.0334804021, 0.0543017872, 0.0509809777, 0.0107108848, 0.0349686034, 0.0956238881, -0.0209541898, -0.0096138623, 0.0260248668, -0.0301087182, -0.0197090581, -0.0262633152, 0.0314268954, 0.0391872227, -0.0625551194, 0.0430660285, -0.0158626903, -0.0222805906, 0.0099291047, -0.0148273529, -0.0407639556, 0.0486839451, 0.0448286831, 0.0489834845, 0.0485574938, 0.022027839, -0.0236839745, 0.0812710747, -0.0148051493, 0.0466385446, 0.0491311513, -0.046041619, -0.0507150702, 0.0093055079, -0.0173968524, 0.0278214514, 0.0040177847, 0.0208572075, 0.015288502, -0.0360990725, 0.0261570588, 0.0328148343, 0.0277350694, 0.0202003717, 0.0146067804, 0.0277161673, 0.0143676251, -0.0127863698, -0.0404646844, -0.0123231756, -0.0099277431, -0.0279631875, -0.0060685147, 0.041350238, -0.0523148626, -0.0566325821, -0.0199231561, -0.0988878161, -0.000237625, 0.0271249264, -0.0287241396, -0.0370852947, -0.0196336675, -0.0298111625, -0.0048027229, -0.0492017791, 0.0205929894, 0.0396900177, 0.04660156, 0.0035328702, 0.0314297676, -0.0384260081, -0.035958685, -0.0052013649, 0.00777537, 0.0060857898, -0.0189903416, -0.0108136414, 0.0023220996, 0.0384177044, 0.0267423075, 0.0209110826, 0.0162820294, -0.0170390084, -0.024611216, -0.028991228, -0.0165298749, -0.0111618936, -0.0015025034, 0.0252633449, 0.0313578732, 0.0072096139, -0.0109690223, -0.0080429353, 0.0299683791, 0.0105481269, -0.0001255269, 0.0164017025, -0.0017151927, 0.0434530675, 0.0079659373, 0.0059614535, 0.0277688485, 0.072736524, -0.006853309, 0.0044223275, -0.0671514943, -0.0013975899, -0.0096462788, 0.0159435254, -0.0163799357, -0.0459433384, 0.0046459031, -0.0035365096, 0.079838343, 0.0354186483, 0.020860482, -0.0245798938, 0.0017233816, 0.017186394, -0.0314960442, -0.0218983348, -0.0029408338, -0.0034309896, 0.0015967813, -0.0560818389, -0.0067241201, 0.021566255, 0.0326501168, 0.0250178184, -0.0444978066, 0.0105895614, 0.0426159948, -0.0239321366, -0.0020523656, 0.0530069768, 0.0084492248, 0.0101417396, -0.0375636369, -0.0690255463, 0.0504225418, -0.056907054, -0.0200654138, -0.0172412004, 0.0350553542, 0.0342376865, 0.0215706341, 0.0180027597, 0.0490650311, 0.0028881754, 0.0277583413, -0.0319951251, 0.0150443297, 0.0348146521, -0.01029424, 0.0256177187, -0.0479090437, -0.0090110973, -0.0321256444, -0.0097242948, -0.0264494885, -0.0196504835, 0.0273488685, -0.0386384316, 0.0007873779, -0.025456598, -0.0309022013, 0.0110093262, -0.0073716906, 0.0451352969, 0.0182469375, -0.0198904406, -0.0261122435, 0.0712146536, 0.0151001867, -0.0014659684, -0.0231126435, -0.0602348782, -0.0061363252, 0.0427964441, -0.0271208119, -0.0065243295, -0.0585203506, -0.0057034935, 0.0136637101, 0.0890558958, 0.0130551308, 0.0227728486, 0.0529142246, -0.0308301169, -0.0009937542, 0.0410055704, -0.0177183542, -0.0537652783, -0.0142286727, 0.0465630181, 0.0479950234, 0.0004934574, 0.004228163, -0.1050730795, -0.0270733461, -0.0212051682, -0.0042858613, 0.002872355, 0.0422889404, -0.0321803205, -0.0911468342, 0.0549166203, 0.0352944434, -0.0266848393, -0.0516236052, 0.0076876264, -0.0351287946, -0.0154795041, 0.010994046, -0.0051701986, 0.0329747684, 0.0066187065, 0.0124024106, 0.076309599, -0.0905584469, -0.0528333634, -0.0371786281, -0.0257349778, 0.0091484776, 0.0114308121, 0.0118900398, -0.0669355989, 0.0073433397, 0.0132110463, 0.0248085056, 0.0137849022, 0.0404693671, -0.0217859522, -0.0208854936, 0.0035294774, 0.0107368072, -0.0015626863, 0.0153734135, -0.0086821122, 0.0401448682, -0.0309126806, -0.0138486531, -0.0139967641, -0.0241375398, 0.0194240529, 0.0135445055, -0.0135829011, -0.0442361943, -0.0099535445, -0.0269185249, 0.0122920163, -0.0635068491, -0.0108508589, 0.0458366908, -0.020578159, -0.0839676633, -0.0770936981, -0.0083424589, -0.0131700663, 0.0664366111, -0.0204108395, -0.0468686856, -0.0159771424, 0.0271951128, -0.0340560153, 0.0657498464, -0.0556706674, 0.0234741848, -0.0067710988, 0.0191277694, 0.003343225, -0.0511641279, 0.0094141932, 0.0509803742, -0.1011413485, -0.0319570079, -0.0593498759, 0.0710444301, 0.0150825195, 0.0410472564, 0.0165683497, 0.0082735959, 0.0220317319, 0.0355393887, -0.0100843208, -0.0078921383, 0.0037114588, -0.0385756865, -0.0183895808, -0.000764171, -0.0051092929, 0.0337081812, -0.0057400512, 0.0278135557, -0.000265439, -0.0542564727, 0.025153229, -0.0141921854, 0.0179517716, -0.0619208664, 0.0204996578, -0.0232827757, 0.0113408025, -0.0221338067, -0.032038521, -0.0602035001, -0.0133772641, 0.023585327, 0.0431033634, 0.0174186919, 0.0149191814, 0.0117742633, 0.0183329042, -0.013885404, -0.0310609899, 0.0228727423, -0.0055632424, -0.0035431839, 0.0186550934, 0.0128323212, 0.0068758773, -0.0045694099, 0.0067463168, -0.0297702644, 0.0728224292, 0.0153557677, -0.0170362834, -0.0150943398, 0.0267916564, -0.0082319696, 0.0428556502, -0.0710405856, 0.0344999805, 0.0639773533, 0.0129272901, 0.0717184842, -0.0182925723, -0.0036081199, -0.0245976429, 0.0636556819, 0.0341676027, -0.0245530922, 0.0466703586, -0.054045815, 0.0283843279, 0.0081338659, 0.0466311239, -0.0002159945, 0.0127603244, -0.0565516204, -0.0043975557, -0.0357743539, -0.0240144897, 0.018845614, -0.065060474, 0.0192700252, 0.0038177858, 0.0155165475, -0.0580648705, -0.0071272529, 0.0378282368, -0.0187552366, -0.003320117, 0.0467693657, 0.0592629798, -0.0128014702, -0.0157406703, -0.0097095929, -0.016993599, 0.016580509, 0.0094049955, -0.020042913, -6.367931344e-33, -0.0051091369, -0.0283328444, 0.0228980873, -0.0540341176, -0.031595502, -0.0060765687, -0.0276093986, -0.0156206824, -0.0153383203, 0.0102892993, 0.0154570006, 0.0104115549, 0.0220928974, 0.0512683839, -0.0211177934, 0.0387154631, 0.0586184636, -0.0124999275, -0.0366465896, 0.0058712042, 0.0297902226, 0.009608035, 0.0728369057, -0.0355259143, -0.0148626827, -0.0165635981, -0.0393348299, -0.0141149601, 0.0145384902, 0.0105819125, -0.0238765795, 0.0443109646, 0.0040064617, -0.0525628515, -0.0151372105, -0.0061075324, -0.0400491506, 0.0377999395, -0.0012767008, 0.0613907389, -0.0617708005, -0.0461817198, 0.0550540425, -0.0376468189, -0.0181557368, -0.0421427414, 0.0317785293, -0.0454012044, 0.0187086258, -0.0473565198, -0.0413091779, 0.0109077236, -0.0023386965, -0.0288348235, 0.0086347703, 0.0674046502, 0.0170376115, 0.0193264503, -0.0482712351, 0.0135741392, -0.0220040772, -0.0018919988, 0.0731299371, 0.0303249825, -0.012654637, -0.0061551766, -0.0306143854, -0.0299632624, -0.0030547688, 0.0077604828, 0.0227652788, 0.0496018045, 0.0563896857, 0.0983782709, 0.0346690379, 0.0002116942, -0.0243932921, 0.0614260398, -0.0346162468, -0.0114961714, 0.0465728194, 0.0031424263, 0.0215709023, 0.0117371706, -0.0261704642, -0.0378510095, -0.0288375076, -0.0077428478, 0.0160712469, 0.0262032393, -0.0218094531, 0.005489558, 0.0991666541, -0.0115219848, 0.0200075544, -0.0141725941, -0.0394059978, 0.0445466414, -0.0289532393, -0.0003912336, 0.0192636903, -0.0432633013, 0.0900465921, 0.0470210463, 0.0021675467, 0.0143177575, 0.0365590118, 0.0273228511, -0.0291180182, 0.0020066879, -0.050950937, 0.0062037297, 0.0007496665, 0.0276154317, 0.0199032836, -0.0185316838, -0.0523003228, -0.0019720995, -0.011586749, 0.0127819469, -0.0247442275, 0.0161926188, 0.018305216, 0.0402959473, -0.0492572412, 0.0444414429, -0.049349729, -0.0464062318, 0.031020686, -0.0855232105, -0.0495335795, 0.0181928333, 2.824e-7, 0.0526693352, 0.0028058996, 0.0104907174, -0.0113145225, 0.0168934204, 0.0283245873, -0.0185099207, 0.0374641642, -0.0084807938, -0.0426545441, 0.0208706129, 0.0314157754, 0.0713579357, 0.0185385477, -0.0307858139, -0.0241611525, -0.0455263592, 0.0171677414, -0.0394228324, 0.0125844171, 0.0721358061, 0.0969344154, -0.0477111563, -0.0430472605, 0.0338452198, -0.0283678658, 0.0961495265, 0.0240067448, -0.0109347822, -0.0329667591, 0.0286591649, -0.0121862432, -0.0143464282, 0.0269930921, -0.0007092446, -0.0347163901, 0.0404311791, 0.0463747755, -0.0103730438, 0.0019494725, -0.0033103114, 0.0051382082, -0.0501427986, -0.0416671559, 0.0340486094, -0.0514995418, -0.0227133073, 0.0110644922, -0.0541695282, 0.0111007243, 0.0142409066, -0.0492052212, -0.0392529741, 0.0250980426, 0.0792305917, 0.0192626007, -0.03083455, -0.0323707312, -0.0427574851, -0.0199185517, -0.0515798889, -0.0199875887, -0.0450252183, -0.0398505703, 0.0648395643, -0.0066588446, -0.0320363231, 2.158792161e-34, 0.0059325593, 0.0020755082, 0.0152741577, -0.0219309889, 0.0242085494, -0.0146294301, -0.0177331269, -0.0080666346, -0.0344809741, -0.0385022573, -0.0472249389 ]
http://arxiv.org/abs/2310.13348v1
http://arxiv.org/pdf/2310.13348v1
Analyzing Cognitive Plausibility of Subword Tokenization
2023-10-20T08:25:37
2023-10-20T08:25:37
Lisa Beinborn, Yuval Pinter
cs.CL
cs.CL
Subword tokenization has become the de-facto standard for tokenization, although comparative evaluations of subword vocabulary quality across languages are scarce. Existing evaluation studies focus on the effect of a tokenization algorithm on the performance in downstream tasks, or on engineering criteria such as the compression rate. We present a new evaluation paradigm that focuses on the cognitive plausibility of subword tokenization. We analyze the correlation of the tokenizer output with the response time and accuracy of human performance on a lexical decision task. We compare three tokenization algorithms across several languages and vocabulary sizes. Our results indicate that the UnigramLM algorithm yields less cognitively plausible tokenization behavior and a worse coverage of derivational morphemes, in contrast with prior work.
[ 0.0261956099, 0.0460245572, -0.0281445347, 0.0160604939, -0.0903462097, -0.0003225376, 0.0134064145, 0.0635579303, -0.0854861662, -0.0154765071, 0.0088185724, -0.0351571925, 0.0252915677, 0.0103508001, 0.0329710059, -0.0380541161, 0.0801781043, -0.0402706079, 0.0143764829, 0.0195495151, -0.0014677034, -0.0146589689, -0.0016340453, 0.0465290211, -0.0372726656, 0.0089790421, 0.0156395044, -0.0127541618, -0.0372238569, -0.0047532502, -0.0600179248, 0.0182498954, -0.0337006375, 0.0522489287, 0.0000017408, -0.0838509575, -0.0287636444, -0.0086544696, -0.0220330935, 0.0258578714, 0.1240218207, -0.0126893362, -0.0152999563, 0.0025398238, -0.0037588933, -0.0110342447, 0.0751371458, 0.0239591729, -0.0109774042, -0.0077769039, -0.0131164249, -0.0171329118, 0.0033226763, 0.0197498538, -0.0445598811, 0.0115190307, -0.0126658073, -0.0189536344, 0.0009411838, -0.0392236896, -0.0483984835, 0.0029925515, -0.0381180868, 0.0235855617, 0.0077501424, 0.0100677311, -0.0512920693, -0.0475976393, 0.0066182204, 0.0175445564, -0.0226546433, -0.0127646429, -0.0202160161, -0.0067070713, 0.013529296, 0.0215911474, -0.0190649014, 0.0354983546, -0.0040681753, 0.0100998012, 0.0480170324, 0.0234223697, 0.0090610795, 0.0036497479, -0.0506105125, 0.1093019992, 0.0364725552, -0.0447324105, -0.0075879931, -0.0295170266, -0.0417555757, -0.0824534968, 0.0338933505, -0.0470643528, -0.0489330105, 0.0263251271, -0.0289562624, -0.0638013035, 0.027499821, 0.0118511552, 0.0167284496, 0.0374640003, 0.0386182703, -0.0193159077, -0.0441214181, 0.0565070286, 0.0125889163, -0.0020238662, -0.0517356023, -0.0051101884, -0.0399114154, -0.0095734596, -0.0653084964, 0.0669475049, -0.0332452618, -0.0136191612, -0.0624790788, -0.0029525305, 0.0184374098, -0.0298980176, -0.0385056399, 0.000333954, -0.0310725123, 0.0072660181, -0.0450817533, -0.0256018881, -0.0577459261, 0.0272811279, 0.0218713731, -0.0144436006, 0.0007249721, 0.0194783658, 0.0172840487, -0.0065715197, 0.0002241873, 0.0870177373, -0.0254703406, -0.0343945511, 0.0088455668, -0.0565536283, -0.0198176112, -0.0108779063, -0.0350578241, -0.1016744897, -0.0104096644, 0.0101400949, -0.0204355866, -0.036108207, -0.020012388, -0.0036437002, -0.0476566292, 0.07147412, -0.0466141254, -0.0172580834, 0.0006229639, -0.0109686451, -0.0001830618, 0.0444433875, 0.0432600826, 0.0482478105, 0.0779803768, -0.026284596, -0.0099615473, 0.0082268789, 0.0033389488, -0.0336399078, -0.0382667631, -0.0567399301, 0.0015272051, 0.0565417819, 0.0694381595, 0.0966682434, -0.0329674408, -0.0018728474, -0.0125854257, 0.1232407689, 0.0167700071, 0.025572693, 0.0390817039, 0.0304401573, 0.0036841736, 0.0411663465, 0.0302718803, -0.0394328311, 0.0092136189, 0.0253286287, 0.0606071129, 0.0165078752, 0.0178952254, -0.0498407073, -0.0417602919, -0.0146491667, 0.060461551, -0.0572478324, 0.0261904169, 0.0314841494, -0.056270346, 0.0524774417, 0.0257883184, -0.054703407, 0.0031149567, -0.0593303852, 0.0058040414, 0.0488960743, 0.0476028621, 0.0153623717, 0.0311955865, 0.0309217107, 0.0187651739, 0.0541061424, -0.0215764903, -0.0000971383, 0.0124392034, -0.0399872102, 0.0202028304, 0.0209024139, 0.00268799, -0.0068639764, -0.0087820785, 0.0050023254, -0.006524737, -0.0793567002, -0.0225011092, 0.0353067517, 0.0019143689, -0.0049163979, -0.0086317528, 0.0158402473, 0.0239113364, 0.0144140739, -0.0312601663, 0.0472897962, 0.0074843299, -0.029875353, -0.0203640983, 0.0053689061, -0.0236997884, -0.0015340146, 0.0391598269, -0.0235753935, 0.0160683766, -0.0312041901, 0.031329561, -0.0207026638, 0.0582460836, -0.0627251267, 0.1213230416, -0.0198027082, 0.0565666258, 0.0004996313, 0.0046402612, -0.0490006469, 0.0552854314, -0.0041469908, 0.0533147901, 0.0126785561, -0.0265594367, 0.0306339599, -0.0094035305, 0.0025069863, 0.0379959606, -0.0342883766, -0.036097683, 0.0241840146, -0.0052593583, -0.0404513143, -0.0181313902, -0.0738493726, -0.0203836411, 0.0128475651, 0.041224245, -0.0139206126, 0.0020926977, -0.0130056199, 0.0291948896, 0.0190194286, 0.0073933466, -0.0184843298, 0.030832395, 0.0439256653, -0.013464611, -0.0192442313, -0.0247521475, -0.0381775573, 0.0146472361, 0.0670533702, 0.0231932048, -0.013947444, -0.0125967534, 0.0312990285, -0.0492975488, -0.0176592711, 0.0311953984, -0.0744836479, 0.0307716485, 0.0172346737, 0.070547767, -0.0091352249, 0.0136341462, -0.0214885212, 0.0341624655, -0.03302918, -0.0335785374, -0.0415198691, 0.0168083049, -0.0154800247, 0.0291606002, -0.0434269235, 0.0114960987, 0.0650382414, 0.0327271186, 0.023509495, -0.0292630829, 0.0201345291, -0.0517062098, -0.0553004108, -0.008651115, -0.0379262455, -0.0440724045, 0.0676419362, -0.0147451414, -0.0328541249, 0.0597242489, -0.0153166829, 0.0237621572, -0.0394196287, 0.0195239894, 0.0046486352, 0.0386251211, -0.0368267894, 0.0429034457, 0.0220185649, -0.0776721463, -0.0208639614, -0.0049208142, 0.0031422691, -0.0190189909, 0.0304900389, -0.0458747074, -0.0079763131, 0.0175104439, -0.0105365198, -0.0066399947, 0.0047059329, -0.0142095527, 0.0403304622, 0.1027882323, -0.009841091, -0.0068056602, 0.029267868, -0.0115698725, -0.0013595567, 0.0182611514, -0.0056196623, 0.023950316, 0.0194960292, -0.0191737004, 0.0160340555, 0.0288906954, 0.0236671045, 0.0062907375, 0.0470140912, 0.0486542732, -0.0168689936, 0.0046245838, -0.0027426707, 0.028266497, -0.0557537042, -0.041475866, 0.0038945177, 0.0373334251, 0.0038242729, -0.0107897809, 0.100206092, 0.0625820383, -0.0095278919, 0.0324646793, -0.0298475605, 0.022305809, 0.0014127081, -0.0205646064, -0.0707069486, -0.0333098583, 0.0236130506, 0.0315956175, -0.0060325838, -0.0354971439, 0.0143213524, -0.0809917971, 0.0338610262, 0.0056299106, -0.0329821631, 0.0129826711, -0.0358190425, 0.0126041071, 0.0194239281, 0.0223003309, 0.0261999443, -0.041300457, 0.0187667478, 0.0224724822, -0.0868791714, -0.009030289, 0.0070706196, -0.032511685, 0.0184636582, 0.0226388145, 0.0392167643, -0.0473793596, -0.0632968396, 0.0499286018, 0.010629667, 0.0210632924, -0.058106117, 0.0295643676, 0.0136792278, 0.0080117928, -0.0128250225, -0.0430693924, 0.0191601794, -0.0503436103, -0.0087127574, 0.0239225049, 0.0196341984, -0.0028068761, -0.0136361979, -0.0014695454, -0.0135591598, 0.0677686483, 0.0244588926, -0.0257664789, -0.0284661353, 0.0259168483, -0.0006346733, -0.0390027985, -0.0016246773, -0.0610075183, -0.0330898948, -0.029010674, -0.0994556025, -0.0042863479, 0.0260868333, 0.0485712588, -0.008738623, 0.0181994848, -0.0476259291, 0.0076936837, -0.078844972, -0.0135051068, 0.0251901112, 0.0174266417, -0.1007536799, 0.0022193445, -0.0081149042, -0.0059155561, -0.0085539082, 0.0319029987, 0.0036657064, -0.0361912698, 0.0309061836, 0.0057887677, 0.0352759659, -0.000074959, 0.0018184173, -0.0486457422, 0.0263199247, 0.0446386077, -0.0202831831, 0.040038906, 0.0352319144, -0.0063180681, 0.0064989631, 0.0118403286, -0.0062749023, 0.0029217829, -0.0049820603, 0.0329995379, 0.0232822634, 0.030139884, 0.0320230201, 0.0515907332, 0.0391150713, -0.0797663257, 0.0249880329, -0.0035589812, -0.0304149352, -0.0321298428, -0.0140679181, -0.0231878087, -0.0063716853, 0.0239026509, 0.004155024, 0.0125009902, 0.0033838593, -0.0741855875, -0.0123022934, 0.0505885929, 0.0087854452, -0.0212451257, 0.018441515, 0.0069283145, 0.0258520748, 0.0025611017, -0.0562297851, -0.0536741875, 0.0211796947, -0.0700525865, -0.0208050944, -0.0208976548, 0.037272796, -0.0751943961, 0.0325835533, 0.0034215581, -0.0065846974, 0.0134420907, 0.0452876799, 0.0095604621, -0.0244967863, 0.0112920422, -0.0405764654, 0.000601758, -0.0003928095, -0.0144668045, -0.0313235596, -0.006224961, 0.0140200285, 0.0045986925, -0.0519433506, -0.0432588905, 0.0670921057, -0.0055689677, -0.0109258872, -0.0378370658, -0.0423054211, -0.0275046546, -0.0060484502, 0.0016816698, 0.0697184131, -0.0240261368, -0.0251595154, -0.088249281, -0.036451444, -0.0013842824, 0.0509296469, 0.0260678977, 0.0155979628, 0.0522312671, 0.0804243684, 0.0367486663, -0.0253321808, -0.0196755044, 0.0074223401, 0.0297350809, -0.0261390749, -0.0132809719, -5.733732305e-33, -0.022615768, -0.0285662748, -0.0316652469, 0.0027184272, -0.0092402678, 0.0244031828, -0.0250223484, 0.0590493158, 0.0123585043, -0.0011604488, -0.0133792581, -0.0085364673, 0.02315538, -0.0294164661, 0.0411513671, 0.0330586694, 0.0136932014, -0.0184918083, -0.0521847457, -0.0468800627, 0.0516924039, -0.0080970936, 0.0403404236, -0.0033726527, 0.0375063419, 0.0321754962, 0.0089380732, -0.0268739667, 0.0329057723, 0.0758021027, -0.0047517605, 0.0506648012, 0.0132052861, 0.002360655, -0.0226651412, 0.0200828388, -0.0665075406, -0.054295823, 0.0908552706, -0.0208901204, -0.0635166392, -0.0579654947, 0.057716649, 0.0091164708, -0.0705270544, 0.0532311909, -0.0081610158, -0.0085756211, -0.0460171327, -0.0078858137, -0.0884592757, 0.0081038941, 0.0093225213, 0.022499362, 0.0548665859, -0.0101816524, 0.0060273116, -0.0279678982, -0.0037109575, 0.0338911042, 0.0045876098, 0.0479504839, 0.0816274211, -0.0041426015, -0.0235099848, 0.0447964855, 0.0526373126, -0.0027327738, 0.0328007974, 0.0357712358, 0.0475738607, 0.0380666889, 0.036423523, 0.0458695255, 0.0945528597, -0.0556648932, 0.0042829821, -0.0132064028, 0.0203684215, 0.035092365, 0.0014434073, 0.0563595332, -0.0482788756, -0.040459808, -0.0024345163, 0.0040065884, -0.037280269, -0.0688396022, 0.0318459459, -0.0240582731, -0.0065469304, -0.0269053243, 0.0071459119, 0.0037257331, -0.0008908491, -0.0471259356, -0.0022499748, 0.0183804892, -0.022192223, -0.0088428352, -0.0362456143, -0.0174195822, 0.000573932, 0.0269826911, 0.0322135948, -0.0202432964, -0.0175777599, -0.0017767814, -0.0503834598, 0.0222420823, -0.0037103333, -0.0037325614, -0.0166990981, -0.0510833897, 0.0437781326, 0.0047680684, -0.0022412203, -0.0696651563, 0.0395484865, -0.0489327721, -0.0292911362, 0.0036904477, -0.0128846895, 0.028973639, -0.0291206036, 0.0092259748, -0.049439162, 0.0228909198, 0.0152840186, 0.0057191537, -0.0382968001, 0.0396521017, 2.577e-7, 0.0607827343, 0.0919617414, 0.0555415526, -0.0283842124, 0.0097691379, -0.0158932749, 0.0020654222, -0.0223931838, 0.0023871886, 0.0036465193, -0.005536058, -0.0157000143, -0.0016332408, 0.0171215348, -0.0589249134, 0.0091375113, -0.0054210811, 0.0443031266, -0.0541886091, 0.0152169932, 0.0972389281, 0.048932828, 0.0160756242, -0.0194048993, -0.053985171, -0.0282083247, -0.0027616634, -0.018965546, -0.0051283082, 0.0037384822, 0.0063848207, 0.0420380905, 0.0309286043, 0.0278844815, -0.0192318298, -0.0188574586, 0.0713866279, -0.0121969543, -0.039782092, 0.0212425385, 0.0068959966, -0.0409884825, 0.0003253502, -0.0381793492, 0.0426774211, -0.0024595768, -0.0073964759, -0.0283160899, -0.0263168942, 0.0517268442, 0.0052115149, 0.0005371011, -0.040198639, 0.0318797529, 0.0362910107, 0.0498539172, -0.0496922955, -0.0420515239, -0.0088566039, 0.0204057842, -0.0223768465, -0.0444642901, -0.0121014873, 0.0499812551, 0.0173163246, -0.0283776596, -0.0474325195, 2.064101958e-34, 0.0334866159, 0.0276559629, 0.0310398359, 0.0076374388, 0.0090497639, -0.024569707, 0.0090780612, 0.0411157683, -0.0231705252, -0.02717066, 0.0005473982 ]
http://arxiv.org/abs/2310.13343v1
http://arxiv.org/pdf/2310.13343v1
Challenges and Contributing Factors in the Utilization of Large Language Models (LLMs)
2023-10-20T08:13:36
2023-10-20T08:13:36
Xiaoliang Chen, Liangbin Li, Le Chang, Yunhe Huang, Yuxuan Zhao, Yuxiao Zhang, Dinuo Li
cs.CL
cs.CL, cs.AI
With the development of large language models (LLMs) like the GPT series, their widespread use across various application scenarios presents a myriad of challenges. This review initially explores the issue of domain specificity, where LLMs may struggle to provide precise answers to specialized questions within niche fields. The problem of knowledge forgetting arises as these LLMs might find it hard to balance old and new information. The knowledge repetition phenomenon reveals that sometimes LLMs might deliver overly mechanized responses, lacking depth and originality. Furthermore, knowledge illusion describes situations where LLMs might provide answers that seem insightful but are actually superficial, while knowledge toxicity focuses on harmful or biased information outputs. These challenges underscore problems in the training data and algorithmic design of LLMs. To address these issues, it's suggested to diversify training data, fine-tune models, enhance transparency and interpretability, and incorporate ethics and fairness training. Future technological trends might lean towards iterative methodologies, multimodal learning, model personalization and customization, and real-time learning and feedback mechanisms. In conclusion, future LLMs should prioritize fairness, transparency, and ethics, ensuring they uphold high moral and ethical standards when serving humanity.
[ 0.0707395896, 0.0826288462, -0.0461332984, 0.0490565114, -0.06314262, 0.0071721566, 0.0101810759, -0.0081465151, -0.0022836351, -0.0701914728, -0.0133406576, -0.0372879766, 0.0103210593, -0.0011327632, 0.033173576, -0.0680175424, 0.0429467112, -0.0260193739, 0.0006555681, -0.0451643802, 0.029574519, 0.0382947847, 0.0301139224, 0.0558156371, -0.0274494551, -0.0268000979, 0.0159329344, -0.0252833385, -0.001759615, -0.0077989646, 0.0088992314, 0.0526555739, 0.0584015809, 0.0874440745, 0.0000024477, -0.0521936975, -0.0083365059, 0.0052225376, -0.0274989344, 0.0350524187, 0.0668315515, -0.0153063172, 0.0017011401, 0.0195525475, -0.0407779701, 0.0167872421, 0.0607606582, 0.0145710567, 0.0447384045, 0.0448060967, 0.0100760795, -0.0117870979, 0.0054567386, -0.0117276898, -0.032969702, -0.0173499305, 0.0345563851, 0.0182265006, -0.0074738367, -0.007451714, -0.0290011112, 0.0593371503, 0.0157546233, 0.0157208797, 0.0002374076, 0.0215501115, -0.012660603, -0.017925078, -0.0175452568, 0.0380256623, -0.0043424894, -0.0150923934, -0.0028136824, -0.0067131198, -0.0207084529, 0.0074092317, -0.049085401, 0.0456580669, -0.0085377283, 0.030606037, -0.02075978, -0.0259298012, 0.0460904278, 0.027736403, -0.0004469162, 0.0615542457, 0.0118795158, -0.0343470983, -0.0208433177, 0.0063589807, -0.0245489478, -0.0297500342, -0.0063437056, 0.032405436, 0.0055495948, 0.0528532006, -0.0054665003, -0.0208634734, 0.0503487922, -0.0625020266, 0.0358993858, 0.0208137017, -0.0005068191, 0.0093019754, 0.0204830691, 0.0421671458, -0.0035955349, 0.0140305003, -0.0563337281, -0.0068454272, -0.0503843799, -0.0397019945, -0.0074661691, 0.0234097205, -0.0144341681, 0.0116412072, -0.0206999574, 0.0277539194, -0.0277926214, -0.0080922497, -0.0008606125, 0.0135304714, -0.0278775152, -0.0340988897, -0.0429917499, 0.049752146, -0.0089266514, 0.0357882902, -0.0314350426, -0.0614879467, 0.0259045195, 0.0032147749, -0.0530000441, -0.0182524268, 0.0144215031, 0.0947085172, -0.0038714048, -0.002371216, -0.0603772998, -0.0194657166, -0.0252941828, -0.0961130038, 0.0005395638, -0.0512045883, -0.0031974812, 0.0221626777, -0.0093061095, -0.0428491123, 0.0003625713, 0.0079429438, -0.057448972, 0.0615298152, -0.0117862383, 0.0542246066, 0.0720212609, 0.0316382721, 0.0024970623, 0.110599637, 0.0210996252, 0.0075128418, 0.0379948132, -0.0378021859, -0.0119220633, 0.0455169454, 0.0024776761, 0.0322147869, -0.0289550237, 0.0038371852, -0.0083371447, 0.0335712805, 0.0332558453, 0.0522014163, -0.0045554978, 0.0014067657, 0.0895675495, 0.044577606, -0.01841956, 0.0353338271, 0.0179692637, 0.0326857865, 0.0158625022, 0.0106884362, -0.0474539436, -0.013717996, -0.0195771512, -0.0016230209, -0.0361593254, 0.0644209087, -0.0282148048, -0.0120203188, -0.0130655253, -0.0192170907, 0.0256861039, 0.0453466363, 0.0619594455, -0.035995502, -0.0320375487, 0.0403978787, 0.0455544554, -0.0188950822, 0.0113318488, -0.063836351, 0.0279719625, 0.0913234502, 0.0365969576, -0.0133812893, -0.0022039127, -0.0159412101, -0.0113840187, 0.0470802709, 0.0572346821, -0.0073805084, -0.0145196822, -0.0512496494, -0.0490899608, 0.000463981, 0.0038553143, 0.0387514532, -0.0047627483, 0.0229699258, 0.0231668409, -0.0483070873, -0.0430594943, 0.0333482623, -0.039336659, -0.0246877111, -0.0437145345, -0.013439131, 0.0182452034, 0.0209684838, -0.0102618458, -0.0043401304, 0.012270458, -0.0083463266, -0.0021258707, -0.0044252612, -0.0616892949, 0.0517095923, 0.0349753685, -0.0339919068, -0.0098294038, 0.039963007, -0.0209615659, -0.017627446, 0.0235332251, -0.0290697869, 0.062120758, -0.0694165826, 0.0074028219, -0.0576133281, -0.0008032576, -0.0505974479, 0.0416118577, -0.0066713667, -0.0057014176, 0.0158888642, -0.0286894757, 0.0454514511, -0.0297054164, -0.0485152677, 0.0225016866, 0.0107128108, 0.0491658747, 0.0344734751, 0.0045402688, -0.0248944834, 0.0124013163, -0.111361295, -0.0224845707, -0.0220437534, 0.0122242989, -0.019110484, -0.0176453721, -0.032379508, -0.0132086491, -0.0272242445, -0.0075144246, 0.0116768666, 0.0307045765, -0.0229344256, -0.0052633965, -0.0026106548, -0.0065171043, -0.0153421164, -0.0051259506, 0.0477179028, 0.0087277414, 0.003461926, -0.0719071701, 0.0184073076, -0.0433172472, 0.0426532887, -0.016160816, -0.0384211577, 0.0232442077, 0.018766975, 0.0349948183, 0.0251458827, 0.0234471597, 0.0288494509, 0.065812178, 0.004651227, -0.0631257147, -0.0128139965, -0.0158893894, -0.0511541218, -0.0270287655, -0.0213301498, -0.0239370503, 0.0485123731, 0.0239537824, -0.0136425067, -0.0461862683, 0.014323093, -0.0736752823, -0.0614423342, -0.0404743552, -0.0484040529, -0.0381315686, 0.0011310021, 0.0103901457, -0.0827957466, 0.0722689256, -0.0025117618, 0.0241166372, -0.0491407327, -0.0083033768, -0.0055316631, 0.0753482878, -0.0081787016, 0.0483021364, 0.0333194248, -0.0338936709, -0.0666479319, -0.0062577468, 0.0168361794, -0.0535651669, 0.0602244288, -0.0717270896, 0.0108269593, 0.0006796458, -0.0496586598, -0.0557728261, -0.0080605084, -0.0324370116, 0.0135774724, 0.007745781, 0.0065381709, -0.012311154, 0.0063117035, 0.0372311026, -0.0024836117, -0.0110998983, 0.0020527714, 0.0036653823, -0.0185389817, 0.0512275174, -0.0068153148, 0.0234802775, -0.0216888804, 0.000540496, 0.0386973098, 0.019796377, -0.0124181937, -0.0084044514, -0.0035755264, 0.0418629199, -0.0222227797, -0.0154492632, 0.033884678, 0.0285436343, -0.0687917918, 0.0188524202, 0.1096201241, 0.0018086573, -0.0735188648, 0.0199606065, -0.0098252194, -0.0051339869, 0.015775105, 0.0140140494, -0.0995271653, -0.0066712322, -0.0059972275, 0.0441671237, -0.0419346839, -0.0093293888, -0.0037985174, -0.1177665293, 0.0296119153, 0.0236549135, -0.0409816019, -0.0327645205, -0.0325478427, -0.0370973386, -0.0008046898, 0.0711260587, 0.0164827723, -0.0214152448, -0.0212405883, 0.0423480496, -0.0361314677, -0.0737833679, 0.0483675636, -0.0367339477, 0.073240377, 0.0771514326, 0.0111986641, -0.0403571539, -0.0188367516, 0.0054676891, 0.0043616313, 0.0219592396, 0.0026832377, 0.0104486132, -0.0072669359, -0.0069405101, -0.0363423117, 0.00245037, -0.0156288762, -0.002531576, 0.0255984887, 0.1154932529, -0.018183751, -0.0348653235, -0.0352696627, -0.0366396122, 0.0143742282, 0.0942729861, -0.0097061694, -0.0341832526, -0.0236652326, -0.0228868108, 0.008660106, 0.0030946853, -0.0380497053, 0.0464120992, -0.0049146516, -0.00873724, -0.0265480671, -0.0545384027, 0.0140648801, 0.0024730472, 0.0381749906, 0.031760484, 0.0064923577, 0.0093367202, -0.0389014855, 0.0259577334, -0.0403956771, 0.0244492851, -0.0472768992, -0.0192451626, -0.0064677773, -0.0442788228, 0.0021863268, 0.0251515154, -0.0456189327, -0.0662908256, 0.0173954405, 0.0375765264, 0.0305331778, 0.0481285304, 0.0238630436, -0.0594416223, 0.0512579121, 0.030755965, -0.0409899615, 0.0177229736, 0.0235993005, -0.0141981281, -0.0030119165, 0.0388491862, -0.0359481424, 0.0173012465, 0.0221301205, 0.0095993504, -0.0197431836, -0.0079673212, 0.0269290116, 0.0376726389, 0.0187291019, -0.0518350303, -0.0097617814, -0.0402016155, -0.0163212474, -0.0162778366, -0.0026408779, -0.0324394964, -0.0040630852, 0.0293593872, 0.0156564619, 0.0001418824, -0.0271195583, -0.0134835485, 0.0135493744, -0.063016504, 0.0219358448, -0.0020008632, 0.0198772624, 0.0455223136, 0.0249620304, -0.024995124, 0.019443756, -0.0181499161, 0.0218900368, 0.0105912043, 0.0724183172, 0.0189961009, -0.0147242425, -0.0033770737, 0.0201533865, -0.0164507199, -0.0875762627, -0.0259671248, 0.0377181061, 0.0662693456, 0.0055194926, 0.0360467844, -0.0447751917, 0.0030276873, -0.0242573638, 0.0050820103, -0.0020301754, -0.018294435, 0.0318135954, 0.0162268709, -0.0482818373, 0.0252970029, 0.1003582627, 0.0167532638, 0.0708477572, -0.0205888879, -0.0265488848, 0.0000553584, -0.0459297635, 0.0483237244, 0.0089133671, -0.0367062725, -0.0049904203, -0.0904591829, -0.0728567317, -0.0419265367, -0.0113065587, -0.0086652329, -0.0497168936, 0.0480906963, 0.0924881324, -0.0175319724, -0.0195940454, -0.0429222882, 0.0194518529, -0.0254217163, -0.0074863876, 0.0111712934, -7.264366274e-33, 0.0298023745, -0.0026255965, 0.0271611474, -0.0321873277, -0.0422327667, 0.0011863741, 0.0010374981, 0.0009885522, -0.0580961183, 0.0105576813, 0.0110495007, -0.0275678765, 0.0025707264, 0.0158891939, 0.0260285959, 0.0045326436, 0.040400546, -0.0046462789, 0.0113203758, 0.041445151, 0.035938222, 0.0243686326, 0.0875289291, -0.0658588335, 0.0379535183, -0.0003782739, -0.0128580974, 0.0185698792, -0.0345219336, 0.0547443219, -0.047661487, 0.1118408293, 0.0240673982, -0.0628495812, -0.0268724021, -0.0048211454, -0.0148355085, 0.0031823199, 0.0529533587, 0.018705789, 0.01453437, -0.0283931941, 0.0558529682, -0.0164798964, -0.0500418693, -0.008052364, 0.0401931889, -0.023771191, -0.0318616703, 0.0116451094, -0.0666533038, 0.0105774635, -0.0105518121, -0.0019853413, -0.0098688509, 0.0067577045, -0.0064356807, 0.0203155167, -0.0588744767, 0.0248968136, 0.0394714549, -0.0043811789, 0.1005430594, 0.0055424077, 0.0249689221, 0.0659047961, 0.005224267, 0.0177082717, -0.0056148977, -0.0272023901, 0.0461521298, 0.030632535, 0.0339676477, 0.0443444066, -0.0065143658, -0.0587708913, -0.0504380614, -0.0169031993, 0.0025617101, 0.0484093539, 0.0461077727, 0.004769892, -0.0588003397, -0.0582976379, -0.024990648, -0.0099543054, -0.0171161368, -0.0382089317, 0.0409377664, -0.005812123, -0.0054052225, 0.0207818896, 0.0453547798, -0.0703799054, -0.011949257, 0.0034451305, -0.0164376926, 0.0162007995, 0.0125826197, 0.0549403429, -0.0792991593, -0.0103289131, -0.0186401494, -0.0156884845, -0.0016095914, 0.0135031333, 0.0001270252, 0.0404515751, -0.0281808544, 0.0172145963, -0.0376430377, 0.0138918031, 0.0254219715, -0.0134334918, 0.0239498187, 0.0029704596, 0.0090676658, 0.020014666, 0.0466600843, -0.039847102, -0.0321999677, -0.0127224, -0.0228081513, 0.0085634608, -0.0395022407, 0.0028393432, -0.0342777595, 0.0052642147, 0.0533294119, -0.0455278344, -0.0292970072, 0.002291559, 3.152e-7, 0.0347725488, 0.0373875536, -0.0140185105, -0.0142303957, 0.0135996062, 0.0515102968, -0.0003979288, 0.0574688017, 0.0118007874, -0.0058303056, 0.0083487388, 0.0240264386, 0.0487301908, 0.0344287753, -0.0687077641, -0.0076523391, -0.0740636513, 0.0019953665, -0.0871507972, 0.0367007963, 0.0192751102, 0.0834089667, 0.0096584447, -0.0400460437, -0.0036356484, -0.0409901105, 0.0612070747, -0.048709441, -0.0025137414, 0.0260049626, 0.0373682491, 0.0333700106, 0.0104919486, 0.0204159003, -0.0060015386, -0.0075520682, -0.0039517293, 0.0565092973, -0.0368005298, -0.0300423652, 0.0011940639, -0.0370298773, -0.0024609575, -0.1061560884, 0.060098011, -0.0130878054, -0.0397784635, -0.0367898755, 0.0071888813, -0.0434439518, 0.0057811369, -0.0199973397, -0.0289859977, 0.0121349283, 0.0094945682, 0.0057741571, -0.0102515072, -0.045473408, 0.0088950191, 0.0033214635, -0.0574994534, -0.0671575963, -0.0159561522, -0.0096028019, 0.0215057787, -0.0372121111, 0.0412716977, 2.912027819e-34, 0.0200637057, -0.0064077517, 0.0122084096, 0.0248951744, 0.0112675419, 0.0365444385, -0.0145613644, 0.0131179923, -0.0018158209, -0.0456636399, -0.0260158181 ]
http://arxiv.org/abs/2310.13340v1
http://arxiv.org/pdf/2310.13340v1
Large-Scale and Multi-Perspective Opinion Summarization with Diverse Review Subsets
2023-10-20T08:08:13
2023-10-20T08:08:13
Han Jiang, Rui Wang, Zhihua Wei, Yu Li, Xinpeng Wang
cs.CL
cs.CL
Opinion summarization is expected to digest larger review sets and provide summaries from different perspectives. However, most existing solutions are deficient in epitomizing extensive reviews and offering opinion summaries from various angles due to the lack of designs for information selection. To this end, we propose SUBSUMM, a supervised summarization framework for large-scale multi-perspective opinion summarization. SUBSUMM consists of a review sampling strategy set and a two-stage training scheme. The sampling strategies take sentiment orientation and contrastive information value into consideration, with which the review subsets from different perspectives and quality levels can be selected. Subsequently, the summarizer is encouraged to learn from the sub-optimal and optimal subsets successively in order to capitalize on the massive input. Experimental results on AmaSum and Rotten Tomatoes datasets demonstrate that SUBSUMM is adept at generating pros, cons, and verdict summaries from hundreds of input reviews. Furthermore, our in-depth analysis verifies that the advanced selection of review subsets and the two-stage training scheme are vital to boosting the summarization performance.
[ 0.0447484702, 0.0279620606, 0.0366430096, 0.0046162298, -0.0220440663, 0.0074334415, -0.0289648194, -0.0075939656, -0.0609174147, -0.0493798628, -0.0263142902, -0.045536723, -0.008673626, 0.0307664778, -0.0283688214, -0.0752998143, 0.012257007, -0.0049047023, 0.0085041998, 0.0010148523, 0.0201713368, 0.0380277969, 0.0202077534, 0.0092177838, 0.0081166597, 0.0190700814, 0.0399394408, -0.0107596023, 0.0530100688, -0.0361234806, 0.0028732403, -0.0118937846, 0.0076401215, -0.0068446533, 0.000001861, 0.0089630997, -0.0133794285, -0.0466898121, 0.0640791953, 0.02783316, 0.0859067962, -0.0331978388, 0.0597355291, -0.0054281591, -0.0124435546, -0.0052288543, -0.0100970063, 0.0907714888, 0.0691466033, 0.0223196559, -0.0256746877, -0.0396477059, -0.0243160855, -0.028922515, -0.056750223, -0.0059351972, -0.0160503592, 0.017048439, 0.0027681924, 0.0242628809, -0.0015452629, -0.0113241896, -0.0173368156, -0.0210541952, 0.0185202938, 0.0048675016, 0.0114727952, 0.0334484205, 0.0117424792, 0.0798174739, 0.0187081639, 0.0103478525, -0.0072547602, -0.014355056, -0.0024281724, -0.0236341096, -0.0417620912, 0.0321478434, 0.0052502276, 0.074945569, -0.023665322, 0.0658742189, -0.0159496199, 0.0232695471, 0.012277076, -0.0161582269, -0.0068421154, -0.0181402657, 0.0075296112, 0.0595626906, 0.0090507949, -0.0171510708, 0.0051065125, -0.012977385, 0.015593335, -0.0098188035, -0.0091231437, 0.0010559967, 0.0316521749, -0.0415311679, 0.0286012515, -0.0381857269, 0.0217727944, 0.062052723, 0.0289200135, -0.0419376977, 0.0216245186, -0.0219291784, -0.0654438809, 0.00082775, -0.0622101389, 0.048180148, 0.0199438725, 0.0741093829, -0.0329836309, 0.0017262845, -0.0692362413, -0.0090504466, -0.0180992708, -0.0222500395, 0.0019069663, 0.0398724899, 0.048128739, 0.0133054508, -0.0397580378, 0.0576005615, -0.0541453362, 0.0171204619, -0.0248964224, 0.0656615719, -0.0019785031, 0.0316225886, 0.0082235364, 0.0141570335, 0.0142794214, -0.00309058, -0.0140835159, -0.0452676006, -0.0289393812, -0.0014899921, -0.0528344996, -0.0364769697, -0.0199641455, -0.0725966841, 0.0204787888, -0.0219447613, -0.0243548956, 0.0433209352, 0.0002777126, 0.0109400898, -0.0288528539, 0.0279966686, -0.0238077193, -0.057874091, -0.0168983173, -0.0002825101, 0.0173204914, 0.043852929, -0.0013129649, 0.0601666234, 0.0229764543, 0.0235363301, 0.0017490706, -0.0283153411, 0.0024062181, 0.0215279777, -0.0119829159, -0.01496673, -0.0790060312, -0.0342259221, 0.0352115221, 0.0540925413, -0.015597607, 0.0238484442, 0.0386652462, 0.007500181, -0.0672218129, 0.0578503236, 0.0085209049, 0.0332942344, 0.0263894051, 0.0350241214, 0.0158183463, 0.0541882589, 0.001833741, 0.0275160447, 0.054487925, 0.0444125421, -0.0332541876, -0.0329948552, 0.0362584367, -0.015321739, 0.0015045684, 0.0137235355, 0.0453134663, 0.028049266, -0.0287260246, 0.00754104, 0.0553844869, -0.0414425544, 0.0242197774, -0.0159218404, 0.0278755929, 0.0785342902, -0.0167097989, -0.0433360003, 0.0130749904, -0.0302556977, -0.032235235, -0.015502762, 0.0630147904, -0.0315227211, -0.0174871925, -0.0444247127, -0.0366545953, -0.0413261242, 0.002582435, 0.0189778544, -0.052819144, 0.0143279005, 0.0134763131, -0.0085998913, -0.0509170257, -0.0120787127, 0.0576749928, -0.0031573176, 0.0473672114, -0.0320726372, 0.0415356904, 0.0676769093, -0.0349797457, -0.0258935373, 0.035303764, -0.0351529159, -0.0536643714, -0.0059863413, -0.0547038428, -0.0630871132, 0.0028501812, -0.0697959885, 0.0037447007, 0.0183237623, -0.0374254882, -0.0465879217, -0.00071494, -0.0202537477, -0.0207352806, -0.0252310541, 0.0118640205, 0.0282547008, -0.0065578637, -0.0291456468, 0.0574401617, -0.02819244, -0.033935044, 0.0102532953, -0.0983410776, -0.0090195742, 0.0001769334, -0.0294304155, -0.0020917249, 0.0292757433, 0.0423979387, 0.0376130901, -0.0018017851, -0.0077907541, -0.0226108804, -0.1049973443, -0.0145543721, 0.0116512235, 0.0009006264, 0.0305657852, -0.0081834653, 0.0224902816, 0.0213323254, -0.0382447168, -0.0169716049, -0.0043914886, 0.0074185468, 0.0355177484, 0.0522451289, 0.0540037081, -0.0331825018, -0.0348559469, -0.0062473398, 0.0481279008, -0.000090345, -0.0254002847, -0.0068766251, -0.0318460241, -0.0253229141, -0.0455785394, -0.0011609014, 0.0312576815, -0.034605097, 0.0157755017, -0.0122063365, -0.0342364237, 0.0362163298, -0.0064504198, 0.0678550303, 0.02841709, -0.0096389977, 0.003501693, -0.0232004058, 0.0394500047, 0.0051718215, -0.0299742967, 0.0211647619, 0.0274970178, 0.0182560608, 0.0081876395, -0.016925022, 0.0361376405, -0.032539133, 0.0118762339, -0.0137130991, -0.0352899767, 0.0085652983, -0.0114544705, -0.0213737283, 0.0499397963, 0.0594240427, -0.0004434853, 0.0421732925, -0.0931597427, 0.0130469315, -0.0419592485, 0.0384501666, -0.0126446635, 0.0305109341, 0.0011122854, 0.0329982229, 0.0077047311, -0.0514937043, 0.0418200791, 0.0037517194, 0.0858854353, 0.0012379405, 0.0086585218, 0.0037828092, -0.0390342958, 0.0240454357, -0.0371756554, -0.0458642989, 0.0106603596, 0.0613794476, 0.0090194708, -0.013028075, 0.0111936172, 0.0157612059, 0.0302546285, -0.0062328046, -0.0186023246, 0.0181104075, 0.0289859325, 0.0618559122, -0.0197690651, 0.0356171913, -0.0431014784, 0.0250421781, 0.0465357453, -0.0138608925, -0.024634907, -0.0086828759, -0.0295143407, -0.0035550615, -0.0398375504, 0.0163573083, -0.0684723705, 0.0601339415, -0.0128201582, 0.0427970663, 0.0841566995, 0.014492508, -0.111441642, -0.0235815197, 0.0331955105, -0.0205605812, 0.0250069462, -0.0048706261, -0.0563364476, -0.0091440473, -0.0599787124, 0.0377944522, 0.0154643878, -0.0065271677, 0.0002862646, -0.0934372619, 0.0156206274, -0.0072555603, -0.0469778292, -0.0619153865, -0.0217343792, 0.0086816363, -0.0269338079, -0.0083518783, 0.0060297428, -0.038681481, 0.0091091534, -0.0122768162, -0.0379688703, 0.0305232629, 0.0454348475, -0.0237871353, -0.0022292517, 0.0161481164, 0.046109926, 0.0013577054, 0.0532706939, 0.0384902172, -0.0722335428, 0.0080501204, -0.0003239369, 0.1232962832, -0.004879145, 0.0064033824, -0.0159829743, 0.0154259633, -0.011333365, 0.0091922237, 0.04353071, 0.0171067137, 0.0096225636, -0.0228527226, -0.0308948234, 0.0411140658, -0.0043658912, 0.053236302, 0.0054900581, -0.0610577911, 0.0000310119, 0.0087563526, -0.0530907474, -0.0926388577, 0.0066047977, -0.0196458939, -0.0352170095, -0.0061528208, -0.0895723924, -0.025220545, 0.0030298047, 0.0179816987, 0.001146907, -0.0241483841, 0.0130264545, 0.0399505422, -0.0008036115, -0.0021570101, 0.0244572647, -0.0311136786, 0.0261128694, -0.0298138671, 0.0903718024, -0.0376802348, -0.0135255521, -0.0145570347, -0.014640958, -0.0213832315, -0.0574342608, 0.0698418543, 0.0059187096, 0.0700994954, 0.0252199117, 0.0164975487, 0.0603637844, 0.0073180743, 0.0169730596, -0.0130561572, 0.0293641333, 0.0669112355, -0.0197171289, 0.0232879259, -0.0679239184, 0.0368545204, -0.0385030285, 0.008985674, -0.0726161078, -0.0152412616, 0.0117543126, -0.012912631, 0.0204023123, -0.0270745326, 0.0336748064, -0.0390615202, -0.0025235082, -0.0327372625, -0.0113207763, -0.0357263908, 0.0325052775, 0.0115833404, -0.023534812, -0.0415437222, 0.0552154779, 0.0050259009, 0.0313444659, -0.0403816178, 0.0488791019, -0.0117251361, -0.0399426743, -0.0450883657, 0.0038825693, -0.0553162508, -0.0275500156, -0.0117607359, -0.0270149037, 0.004014798, 0.0191016831, 0.0174492951, 0.0110338964, -0.0626291484, 0.0184862297, -0.0319320001, 0.0351147689, -0.0610240102, 0.0088542756, 0.0153802782, -0.0615083575, 0.0556102023, -0.0148896882, -0.0265299287, 0.0049356716, 0.0101047102, -0.0038197855, 0.0179782715, -0.0257945023, 0.0157420598, 0.0239106342, 0.0152592687, 0.0683832839, -0.0845536441, -0.0074771387, 0.0416908786, -0.0365445018, -0.0500606298, -0.018478699, -0.0426562242, 0.0501405634, 0.0093800966, 0.0210454203, -0.0422919989, -0.0099459374, 0.031630978, -0.0189305637, 0.024930561, -0.0282763969, 0.0527368076, 0.0258353222, 0.0543442443, 0.0411314517, -0.0569037646, -0.0288334731, 0.0030485408, 0.0142227449, -0.014494542, -6.007886975e-33, 0.0095840814, 0.0138384709, -0.0616452582, 0.0491548888, -0.0362080783, 0.010627185, -0.0165506117, 0.0138968276, 0.0162935629, 0.0304950383, 0.0030255318, 0.0056766123, -0.0039163027, 0.0540843979, 0.0265562776, 0.0081767924, 0.0523166284, -0.0094137648, -0.0236774199, 0.0767323375, 0.0317759551, -0.0024694742, 0.0508353226, -0.0719352737, 0.0101072704, 0.0111174323, -0.0345837995, -0.0063157659, 0.0322611593, 0.0303282626, -0.0050704889, 0.0539062209, 0.0306829009, -0.0581265762, -0.0170966443, -0.0256431345, -0.0598817691, -0.0015522295, 0.026723193, -0.0448308066, -0.0338116139, -0.0246271156, 0.0212839711, -0.0006353818, 0.0055095409, -0.0125502516, 0.0345379412, -0.0609854758, -0.0058019189, -0.1202871427, -0.0090685785, 0.0227011051, -0.0456842668, -0.0184705053, 0.009191364, 0.0259473771, -0.0039397185, 0.042630475, -0.0070634377, 0.0302943457, 0.0105714602, 0.018371813, -0.0100630596, -0.0026316936, -0.0072351568, 0.0984331146, -0.0261689927, 0.0158785693, -0.0382093266, 0.0133267427, -0.0396409743, -0.0181076489, -0.0006312231, 0.0409977324, 0.0341673829, -0.0121863121, -0.0557399504, 0.0463679694, 0.0730483234, -0.0216769986, 0.0656093881, -0.0151483323, 0.015134288, -0.0055980277, 0.0165974125, -0.0488574058, -0.0102900667, 0.0066874959, -0.0453639179, 0.0468790829, -0.0497714654, -0.0169912428, -0.0117295077, -0.0515922755, -0.0098357275, 0.0100749247, -0.0524169207, 0.034779571, 0.0327827409, -0.0568973869, -0.0340952463, 0.0376882255, -0.0244719367, -0.0042740786, -0.0177454576, -0.0088217994, 0.0934551954, 0.0016220025, -0.0480067693, 0.0138999745, 0.0284331385, 0.0399484932, -0.0250830278, 0.0530208759, -0.0182785839, 0.0359479338, -0.0072686593, 0.0582589321, -0.0165780913, 0.0529610924, 0.0081491703, 0.0009803226, 0.0176680721, 0.0149493907, -0.0088531189, 0.0026344778, 0.0349825323, -0.0377648845, -0.0050653839, -0.0492585413, -0.0355634205, 0.026963897, 2.458e-7, 0.0593507364, 0.0424251929, 0.0120852338, -0.0368480682, 0.0037549108, 0.0485920645, 0.0218733177, 0.0424323343, 0.0160083938, -0.0218213294, 0.0330308676, 0.0303631071, -0.0113763576, 0.0369283557, -0.09667743, 0.015934635, -0.0224226154, -0.0400671922, -0.0151639022, -0.0015779204, 0.0751122981, 0.0843412578, -0.0079196971, -0.0098157274, -0.0066298805, -0.0003157581, 0.0446956381, -0.0058255182, -0.0481228083, -0.0022459349, 0.0525365397, -0.0445075333, -0.0430089086, -0.0184389334, -0.021229364, -0.0003345476, 0.0241975971, 0.0321201347, 0.0302255992, -0.054352127, 0.0391564332, 0.0289960746, 0.0325247832, 0.0197231434, 0.0479747467, -0.0565421954, -0.0186143629, -0.0947141126, -0.0439294837, 0.0371968709, 0.0061059734, -0.0032131814, -0.024859529, 0.0619673952, -0.0424901284, -0.0140514988, -0.0195784345, -0.0517524071, -0.0016503934, 0.0479086153, 0.0226347856, -0.0389140174, 0.0365528837, -0.0181460604, -0.0110196369, -0.0450798757, 0.0251486562, 1.867652631e-34, 0.1231554225, -0.041940622, -0.0429672897, -0.0515165813, 0.00473182, -0.0257054251, -0.0832401812, -0.0225073993, 0.0123469308, -0.0240527019, -0.0067297984 ]
http://arxiv.org/abs/2310.13332v1
http://arxiv.org/pdf/2310.13332v1
Democratizing Reasoning Ability: Tailored Learning from Large Language Model
2023-10-20T07:50:10
2023-10-20T07:50:10
Zhaoyang Wang, Shaohan Huang, Yuxuan Liu, Jiahai Wang, Minghui Song, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) exhibit impressive emergent abilities in natural language processing, but their democratization is hindered due to huge computation requirements and closed-source nature. Recent research on advancing open-source smaller LMs by distilling knowledge from black-box LLMs has obtained promising results in the instruction-following ability. However, the reasoning ability which is more challenging to foster, is relatively rarely explored. In this paper, we propose a tailored learning approach to distill such reasoning ability to smaller LMs to facilitate the democratization of the exclusive reasoning ability. In contrast to merely employing LLM as a data annotator, we exploit the potential of LLM as a reasoning teacher by building an interactive multi-round learning paradigm. This paradigm enables the student to expose its deficiencies to the black-box teacher who then can provide customized training data in return. Further, to exploit the reasoning potential of the smaller LM, we propose self-reflection learning to motivate the student to learn from self-made mistakes. The learning from self-reflection and LLM are all tailored to the student's learning status, thanks to the seamless integration with the multi-round learning paradigm. Comprehensive experiments and analysis on mathematical and commonsense reasoning tasks demonstrate the effectiveness of our method. The code will be available at https://github.com/Raibows/Learn-to-Reason.
[ 0.0332885161, 0.0308506507, -0.0154316612, 0.057320077, -0.0449993052, 0.0133630093, 0.0149408011, -0.0223828182, 0.0411768705, -0.0365630575, -0.0262447707, 0.045974154, -0.0435462482, -0.0038559115, 0.0109436968, -0.0640261471, 0.0465315133, -0.0507137887, -0.0099150706, -0.0266670883, -0.0229825433, 0.0048257755, -0.0258077588, 0.0162957385, 0.0136534711, -0.0416751057, -0.0058961781, -0.0393810049, -0.0085449843, -0.0204789788, -0.0407036431, 0.046991121, 0.0457984023, 0.0313245058, 0.0000025313, -0.0827089548, -0.0305930544, -0.0186065789, -0.0458954722, 0.0022603839, 0.0251161661, 0.0705203936, -0.0119707258, 0.0155078918, -0.0573244207, 0.0409482159, -0.006703557, 0.0225504637, 0.0817159265, 0.0530484468, 0.0309474915, -0.0454837456, 0.0135692181, 0.0184174906, 0.0679654852, -0.0168438442, -0.0042084674, 0.0631453916, 0.0258352458, 0.0081759365, -0.0351554528, 0.0187856741, 0.059016414, -0.0227025189, -0.0002201524, 0.0280005839, -0.0020725769, 0.0021838851, -0.0049640336, 0.0750879273, 0.0170856789, -0.0158041865, -0.0306921247, 0.0084492806, 0.0452711172, 0.0347753316, -0.0765867978, 0.0601057038, -0.0011059961, 0.0310317017, 0.0181765147, -0.0233576912, 0.0061727408, 0.0367009789, -0.0282027703, 0.0878565609, -0.0233349819, -0.0196236894, 0.0094529642, -0.0043329187, -0.0088263704, -0.0043258839, -0.009588208, 0.066204004, -0.0048091426, 0.0323072597, -0.0041485969, -0.0038752111, -0.0105140302, -0.0314108767, 0.022852473, 0.0400441661, 0.0003638692, 0.0548101962, -0.0508344956, -0.003445921, -0.0083442638, 0.1075363681, -0.0235990565, 0.0085985595, -0.0723584145, -0.0198379625, -0.0282819774, 0.0577533767, -0.0198383667, 0.0120288301, -0.0372393392, 0.0269350782, -0.0293864273, 0.011895787, 0.0110516204, 0.0044472213, 0.0255948864, -0.0574510358, -0.083596006, 0.0154300639, -0.0261962563, 0.0201299544, 0.0120464526, -0.0256824736, -0.002576397, -0.0213204361, -0.0004510109, 0.0014448065, 0.0490571782, 0.0533985533, -0.0078015216, -0.0018446328, -0.0766714439, -0.0251771417, 0.0391251072, -0.0585594103, -0.0103701521, -0.0940644369, -0.0365712829, -0.0089673949, 0.0017403202, -0.0406333432, 0.0327381715, 0.0102183698, 0.0096133342, 0.0817872211, -0.0438782908, -0.0014247759, 0.0375064947, 0.0218685437, -0.0315057561, 0.0549995042, 0.0358820558, -0.0311632268, 0.0067676618, -0.0358297154, 0.0244067945, -0.0036336118, 0.0109235225, -0.0114163104, -0.0171340704, 0.0064333812, -0.0122841028, 0.0406965911, -0.0211020093, 0.0139606176, -0.0333799943, 0.0529625528, 0.036619693, 0.054873053, 0.0069081597, 0.0320947431, -0.0038538526, 0.0404726751, 0.0244043618, -0.0243459735, -0.0491547137, 0.0558808073, -0.03141414, -0.0069514266, 0.0216963589, 0.0124537395, -0.0089833457, -0.0780098736, 0.0233529676, -0.0102659082, 0.0206393078, 0.0334843211, 0.0664564595, 0.028020896, -0.0018682663, 0.0312949903, 0.063775003, -0.0634054318, 0.0172226466, -0.1087138876, 0.0668852776, 0.0401880667, 0.0532682426, -0.0462990291, -0.0287764091, -0.0258785076, 0.012657946, 0.0320862792, 0.0089946119, -0.0151485028, -0.0626745149, -0.0622387864, -0.0366568118, -0.0125331497, -0.0053027347, -0.000382146, 0.0169605464, -0.0198703278, -0.0150743378, -0.0299894921, -0.0161226224, 0.0225213077, -0.0142833916, -0.0628620163, -0.0281524844, 0.0195365194, 0.0219953712, 0.0166502502, 0.03846737, 0.0252455864, 0.0295073502, -0.0232353434, -0.0357040837, 0.0140345432, -0.0476373583, -0.0514105111, 0.0480464473, -0.0417777598, -0.0114442017, -0.0036268772, -0.040111959, -0.0426927842, 0.0366462059, -0.0030691484, 0.0333098844, -0.0237791054, 0.0056491527, -0.0153732803, -0.034981396, -0.0247629918, 0.0967414007, 0.014656662, -0.0017861074, 0.0134180766, 0.0393123291, 0.0036288502, -0.0211417917, 0.0134752514, -0.019792676, -0.0220980626, 0.0360936485, -0.0023858915, 0.0222398583, -0.0735278577, -0.0172453243, -0.005109353, -0.0026354138, 0.0079627158, 0.0291406102, 0.0009235839, -0.0223095268, 0.0002352616, -0.0270802993, -0.0231239665, 0.0188196953, 0.0095404088, -0.0066436706, 0.0226361416, 0.0171403419, -0.0259794071, 0.0025876472, -0.0063085048, -0.0255129486, 0.017347578, 0.0235988367, 0.0674397647, -0.0604001619, 0.0218580775, -0.0113226976, 0.0099102994, 0.0073485733, -0.0142878946, 0.0419038422, -0.0422121547, 0.0029957795, 0.0771117583, 0.0169661678, 0.049950812, 0.0493652336, -0.0062337681, -0.0926141366, 0.0416447073, -0.0225169379, -0.0106642796, -0.0422771834, 0.014378217, -0.0373223573, 0.0431761369, -0.0213978533, -0.0059826258, -0.0464863852, 0.0501851998, -0.0062054973, -0.0098424181, -0.0566837415, -0.0014386044, -0.0064265388, 0.0070733228, 0.0047988296, -0.0445206203, 0.0782563835, 0.0144393574, 0.0118095046, -0.0423736535, 0.0036941399, -0.0477638766, 0.0818108246, -0.0334510989, -0.0009482704, -0.0061526494, -0.0177133996, -0.0386728682, -0.0016738164, 0.0668380633, -0.053680148, 0.0610789508, -0.0490362197, -0.0227949265, 0.0039543705, -0.0388449132, -0.0414023325, 0.0071362997, -0.0413945839, -0.0101965666, -0.034737315, 0.0041385638, -0.0368976928, -0.0428681262, 0.0486099795, 0.0088563319, 0.0003564448, -0.0240326449, -0.0107042594, -0.0273728557, 0.010089553, 0.0133627299, 0.0240243804, -0.0221108813, 0.068869859, 0.0492582284, 0.0956209674, -0.0303420257, 0.0139983585, 0.0082081305, 0.0176316835, -0.0236118287, -0.0034401596, 0.0293804016, 0.0395286568, -0.0984625295, -0.0185758527, 0.1179903671, 0.0292878225, -0.0211008582, 0.0009342671, -0.0795253143, 0.0329059213, 0.0540663078, 0.037776906, -0.0719484389, -0.045478981, -0.0084404629, 0.025064677, -0.0036629192, -0.032044515, 0.0023555916, -0.159489423, 0.0332496613, 0.0350888297, -0.0278663579, -0.0085547892, -0.047611855, -0.0300186984, -0.0003067014, -0.0148473661, 0.0274574626, -0.0094431024, 0.0185476914, 0.0483377986, -0.0143006714, -0.0326233022, 0.026058292, -0.0159243625, 0.0462623984, -0.0026060105, 0.0105461515, 0.0010960496, -0.0606168136, 0.0116813267, 0.0210982095, 0.0018122253, -0.0307413675, 0.0283331871, -0.0099020097, -0.0002999158, -0.0409590416, 0.0852071568, -0.0390189812, -0.0308375452, 0.0227592438, 0.1286212057, -0.002392279, 0.0141114453, -0.0175070111, -0.0147189638, -0.0159427971, 0.066491887, 0.0153220557, -0.0303277448, -0.010778063, -0.0518876798, -0.0556079112, -0.0266680215, -0.0734425634, 0.0449390858, 0.0070952782, 0.0175785851, -0.0274944659, -0.0139975622, 0.0536736324, 0.0606534407, 0.003837625, 0.0363779664, 0.001567616, 0.0325578526, -0.020596534, 0.0310741924, -0.0696177334, -0.0051215719, -0.05586778, -0.0174973123, 0.0058184844, -0.045121178, -0.0268622618, -0.0250505507, -0.045366697, -0.0603737272, -0.0122397048, 0.0537827015, 0.0277482849, 0.0449160933, 0.0138370162, -0.0330715701, 0.0454581119, 0.0174284521, -0.0097073512, -0.03310173, 0.0309794191, 0.0252886303, 0.0312813371, 0.031729769, -0.008055293, 0.0082589788, 0.0210307073, 0.0373416282, -0.0342718549, 0.0078532659, 0.0594079196, 0.0442063287, 0.03296756, -0.0089550242, -0.0116855083, -0.0577909388, 0.0230214149, -0.0100868139, -0.0400358774, -0.0331894122, 0.0249251649, 0.0193709321, -0.0525705107, 0.0171335582, -0.0264026243, 0.0101612415, 0.0326497257, -0.0082923798, 0.0602579862, 0.0279484391, 0.0214824285, 0.0112735555, -0.0235922001, 0.0054008709, -0.0205874387, 0.0035824289, 0.0418380052, 0.0032956083, 0.0964211002, 0.0048433826, -0.0242395997, -0.0088794669, -0.0169885829, -0.0447526015, -0.0720502138, 0.0027614261, 0.0682266876, 0.0116645116, 0.0370202065, -0.0033559883, -0.0392512344, 0.011966696, 0.0300562922, 0.0432484224, -0.0006568322, -0.0471587293, 0.0463595614, 0.0177523699, 0.0122642322, -0.0264016949, 0.0401325859, -0.0572818257, 0.0518422276, -0.0217083655, 0.0222618897, -0.0498312451, -0.0387961045, -0.0141813047, 0.0094831418, -0.0038046981, 0.042724371, -0.0543029532, -0.0542621017, -0.0399648957, 0.0431671552, -0.0096091256, -0.0323949344, 0.0367601141, 0.0566500537, -0.0306593794, -0.0409960859, -0.0194361731, 0.0545119904, -0.034317445, -0.0207613446, 0.0246953443, -6.68163846e-33, -0.0369854271, -0.0240348056, 0.0519840978, 0.0070899152, 0.0189310536, -0.0561948307, -0.0146661475, 0.0326675214, -0.0066824979, 0.0165208206, -0.0002139308, 0.003382429, -0.0023326566, 0.0249750782, 0.0315317139, 0.0073790923, 0.0188265126, 0.0126694357, -0.0181572121, 0.0084580267, 0.0317182057, 0.0103235347, 0.0539549179, -0.042943649, 0.0185611732, -0.0006920202, -0.0086854296, 0.0501540564, -0.0888447538, 0.0410957076, 0.0173840187, 0.0238596611, 0.0075604147, -0.0343873315, -0.0077409931, 0.0243854243, -0.06009477, -0.0467923917, 0.0290251784, -0.0013261921, -0.0623143651, -0.0532469936, 0.0296471324, 0.0097527364, -0.0088361287, -0.0154494699, 0.0256768502, -0.0394364819, -0.00449104, 0.0598675795, -0.047580149, 0.0216103382, -0.0288036577, -0.0412199423, -0.0085983369, 0.0340307727, -0.0290069208, -0.0273358636, -0.0419264957, 0.0469143689, 0.0156156756, 0.011703413, 0.084574841, 0.0095061073, 0.0082625598, 0.048790209, 0.0166507289, -0.0158607755, -0.0536436699, -0.0218056422, 0.0158501137, 0.0907945409, 0.0528950617, 0.0448701009, 0.0288721584, 0.0034332962, -0.0705953166, 0.0221388433, 0.0203459002, 0.0291093048, 0.0224997606, 0.0120650278, -0.0292556752, 0.0060558878, -0.0756908506, 0.0063236528, -0.0191297233, -0.0148273716, 0.023217978, 0.0019443998, -0.0563765913, -0.0351713672, -0.0166243706, -0.0454064235, -0.0324460939, -0.0034283581, 0.0056226342, 0.0088062054, -0.0222878754, 0.0022740737, -0.0717683882, -0.0390191041, -0.0108288117, -0.0291391574, 0.0160776768, 0.0384050831, 0.0430222526, 0.0205005147, -0.053251978, -0.0297623947, -0.0550698154, -0.0130889863, 0.0212024935, -0.0037507168, 0.0356190391, 0.0259112231, -0.018667005, 0.028564468, -0.0150718922, -0.019932678, -0.012303194, -0.0106722144, -0.0305303931, -0.0192200895, -0.0126259932, -0.0194235407, -0.0578018799, 0.0022767051, 0.0262563378, -0.0597629324, -0.0030221711, 0.0314127952, 3.198e-7, 0.0056962268, 0.0450898074, -0.0258191545, -0.0014461295, 0.0098053114, 0.0587292314, -0.0261147711, -0.0329678804, 0.018994553, -0.0366381295, -0.0115693333, 0.0651136488, 0.0465282016, 0.0289287865, -0.0569946356, -0.0209361166, -0.0159273315, 0.015481065, -0.0362364501, 0.0029738778, 0.0644834116, 0.0389333144, 0.0564184822, -0.0211769212, 0.0077054342, -0.0226166565, 0.0516932942, -0.0370456614, -0.0064699263, 0.0094731152, -0.0064228433, -0.0026764022, 0.008333154, 0.0167529583, 0.0049421154, -0.0002041889, -0.0591910295, 0.0472983979, -0.0070862067, 0.0023582918, -0.0115935393, -0.012974008, -0.0035909347, -0.0151776662, 0.0688342452, -0.0440354533, -0.0468534976, -0.0029071427, 0.0232957527, -0.0319522917, 0.006713009, -0.0017273707, -0.008096179, -0.0417912267, 0.003962622, -0.0484889038, 0.0024767162, -0.0646624789, -0.0252981763, -0.0244463347, -0.0199517645, -0.0264553726, -0.0551065579, -0.0062779854, 0.0224711522, -0.0379668176, 0.0239310618, 2.738625413e-34, 0.0094582364, -0.0079439012, 0.043307256, 0.0289241355, 0.0315432064, 0.0154929115, 0.0102764098, 0.010229893, 0.039385017, -0.0448620841, -0.0217223205 ]
http://arxiv.org/abs/2310.13321v2
http://arxiv.org/pdf/2310.13321v2
Beyond Hard Samples: Robust and Effective Grammatical Error Correction with Cycle Self-Augmenting
2023-10-20T07:31:23
2023-10-23T07:41:09
Zecheng Tang, Kaifeng Qi, Juntao Li, Min Zhang
cs.CL
cs.CL
Recent studies have revealed that grammatical error correction methods in the sequence-to-sequence paradigm are vulnerable to adversarial attack, and simply utilizing adversarial examples in the pre-training or post-training process can significantly enhance the robustness of GEC models to certain types of attack without suffering too much performance loss on clean data. In this paper, we further conduct a thorough robustness evaluation of cutting-edge GEC methods for four different types of adversarial attacks and propose a simple yet very effective Cycle Self-Augmenting (CSA) method accordingly. By leveraging the augmenting data from the GEC models themselves in the post-training process and introducing regularization data for cycle training, our proposed method can effectively improve the model robustness of well-trained GEC models with only a few more training epochs as an extra cost. More concretely, further training on the regularization data can prevent the GEC models from over-fitting on easy-to-learn samples and thus can improve the generalization capability and robustness towards unseen data (adversarial noise/samples). Meanwhile, the self-augmented data can provide more high-quality pseudo pairs to improve model performance on the original testing data. Experiments on four benchmark datasets and seven strong models indicate that our proposed training method can significantly enhance the robustness of four types of attacks without using purposely built adversarial examples in training. Evaluation results on clean data further confirm that our proposed CSA method significantly improves the performance of four baselines and yields nearly comparable results with other state-of-the-art models. Our code is available at https://github.com/ZetangForward/CSA-GEC.
[ 0.0586426929, 0.116064772, 0.0012414384, 0.036610309, -0.0071540303, 0.0264148731, -0.0269255694, -0.0249450915, 0.0314108506, -0.0415403582, 0.0118063111, -0.0331950672, 0.0352151282, 0.0068951468, 0.0670459494, -0.0487812795, 0.0698367208, 0.0021716307, -0.0323380642, 0.0027927626, 0.0095694019, -0.0114285545, -0.0227134526, 0.0217550695, -0.0264616739, -0.028129926, -0.0098440181, 0.0430928841, 0.0395549722, -0.0501775928, 0.0343624651, 0.0506647304, -0.0120747928, 0.1033024266, 0.0000019873, -0.0427214056, -0.0196896438, 0.0007016287, -0.0191191882, 0.0686375126, 0.0124303754, -0.0452851281, -0.0461045131, 0.0000815297, -0.0244514104, -0.0131243533, 0.0475827605, 0.0617882349, 0.0740870759, 0.114657715, -0.0166916456, -0.0245697349, 0.0638030693, -0.0644229278, -0.0262776464, -0.0063232151, 0.0321479328, -0.053937681, -0.0298838932, -0.0000999652, -0.0226571187, 0.0305849034, 0.0311648138, -0.0005301756, -0.0417750366, 0.0011040731, -0.0289436877, 0.0121035762, -0.0288045779, 0.0293178577, -0.0337421671, -0.0149559844, -0.0207111593, 0.0008891992, 0.0438670702, -0.0001600354, -0.0044403188, -0.0366913527, 0.0320857279, 0.0203762744, -0.0027426928, -0.043399211, 0.0413142182, -0.0134077761, -0.001976969, 0.0329435691, 0.0187671967, -0.0472264923, -0.0237713475, 0.0438786857, -0.03741071, -0.0542733371, -0.0014306153, 0.0119014597, 0.0124766277, -0.0053619421, -0.0729770139, -0.044592429, 0.0200696625, 0.0091633294, 0.0395512953, 0.0023851884, -0.024842944, -0.0131682744, -0.0338631459, 0.0309367646, -0.0157217626, 0.0528005622, 0.0002110958, 0.0223646797, -0.0181188788, -0.0014174007, -0.0216068923, 0.0241277982, -0.0123527311, 0.0203981418, -0.0809833482, 0.0094745615, 0.0004814034, 0.0409653373, 0.0086167026, 0.001991349, -0.0588851832, -0.0076491814, 0.0229824074, -0.0296165589, -0.0219901931, 0.0401469171, 0.0215699188, -0.0921236649, -0.0708984882, 0.008889962, -0.0007975395, -0.0305132959, -0.0128816999, 0.0501118936, 0.0096593611, -0.0565463603, -0.0573490672, -0.0207115579, -0.0570177659, -0.0641631112, -0.0336823501, -0.0280380212, -0.0257116891, -0.0256218035, 0.0050964714, -0.0428424142, 0.0084476369, -0.0199913066, -0.0236955769, 0.0788341537, -0.0275192186, -0.0667532235, 0.0119855795, 0.0046086693, 0.0232708473, 0.0426804982, 0.0377197042, -0.0268558618, 0.0473416261, 0.0175732151, 0.0059418362, 0.0238620862, 0.0208742656, -0.0059266011, 0.0229969211, -0.0164979119, 0.0127029261, 0.0243778992, 0.034666054, 0.0420441553, -0.0297117177, -0.0454642996, 0.1008409858, -0.0130257532, -0.002455842, 0.0513930209, 0.0036138233, -0.0505892038, 0.0277974606, 0.0634689182, -0.0603144243, -0.0095386291, -0.0441542231, 0.0153965065, 0.0233577397, 0.037955448, -0.0227732845, -0.0567014739, 0.0050246008, -0.0113903824, 0.0411618426, -0.0399057046, 0.0206733458, 0.0604860336, -0.0265881512, -0.0017602254, 0.0054401299, -0.0722406134, -0.0264330674, -0.0229203776, -0.0227138884, -0.0134020587, 0.0412344225, 0.0074701891, -0.0465697758, -0.0556849241, -0.0334941484, 0.0151359728, 0.0382195003, 0.0175048541, 0.0117197651, -0.038534604, -0.0233919993, -0.0420513749, 0.0119400462, 0.0189851429, 0.0277312454, 0.0318464115, 0.0303430706, -0.0281452332, -0.0383264646, 0.035646867, 0.0073189777, -0.0441808887, 0.0009346424, 0.0108105103, 0.0422442928, 0.0290400218, -0.0165494811, 0.0199228656, 0.0281865783, -0.0041506039, -0.0174309704, 0.0041200207, -0.0531263389, -0.0877763852, 0.0419063307, 0.0080406396, -0.0390951075, 0.0774683431, -0.0597878397, -0.0586837009, 0.0179981869, -0.0404080972, 0.0038316189, -0.0550566353, 0.0209307112, 0.019049393, 0.0703067854, 0.0092468392, 0.0211506356, -0.0129172048, -0.0190702807, -0.0078370171, 0.0276108943, 0.0021150082, -0.0696121603, -0.0668338239, 0.0047778343, 0.0145071913, 0.0248561371, -0.0063481047, -0.0244596992, -0.0328913443, 0.0157512128, -0.0657583401, -0.0032068237, -0.0367171951, 0.0384585597, 0.0211616214, -0.0119691333, -0.0070979609, -0.0345968716, 0.0034199061, 0.0367271677, -0.0150011405, -0.0007839725, 0.0193578061, -0.0123064322, -0.0123335505, -0.0181729123, 0.002551435, -0.0230210759, 0.0423197262, 0.0040747304, -0.0004848003, -0.0482360534, -0.0131248226, -0.0227098614, 0.0592132062, 0.0224273708, -0.0783982873, 0.00661967, 0.0384950489, 0.0259399433, 0.0502314009, 0.0285722073, 0.0049984292, -0.011933025, 0.012756058, 0.0212433618, -0.0070576984, -0.0023159259, -0.0080052875, -0.0368044116, 0.0290006585, 0.0043384633, 0.1008223668, -0.0051439954, -0.0258427095, 0.0001442906, 0.0119682355, 0.0049646241, -0.0281507317, 0.0021909289, 0.0055347248, -0.0353059806, -0.0414774008, -0.0324990749, -0.0338446908, 0.1040419415, -0.0245036166, -0.0086287055, -0.0209580641, -0.0432685427, 0.0189240389, 0.0098942053, 0.0308607351, 0.0214344822, 0.023592256, -0.0217746459, -0.0735856146, -0.0309911128, 0.071338594, -0.0068547619, 0.0297296792, -0.0205431171, 0.0148348613, 0.0153637473, -0.0564495996, -0.0242733471, -0.010315951, 0.0085103009, 0.0163786039, 0.0185528249, -0.0360103846, -0.0524577983, -0.0140932538, -0.0160824079, 0.0423724391, -0.0352520421, -0.0094939042, -0.0184180252, 0.0688388869, 0.0522091836, -0.0114454981, 0.0135629829, -0.0154946307, 0.0176564753, 0.0907848701, 0.0043397159, 0.0498934463, -0.0486158207, -0.0072747469, 0.0120005393, -0.0309920385, -0.018134661, 0.0119360145, 0.0386579856, -0.0609921739, -0.0167732108, 0.0682162344, -0.0180017352, -0.0194132142, 0.0162483621, 0.010502032, 0.0254584569, 0.0050221109, -0.0235965028, -0.0182925295, 0.0045443317, 0.0115207396, 0.0359058529, -0.0047451984, -0.0108506037, 0.0171428267, -0.1194767952, 0.0247232579, 0.0353654101, -0.0540238209, -0.0664888322, -0.0228917859, 0.0215650573, -0.0203091837, 0.0504064895, 0.0218156539, 0.0090244766, -0.0214086007, 0.0398347154, -0.0256523509, -0.0746014714, -0.0336072482, -0.0492856167, 0.0445539318, 0.0829576552, 0.0267043058, 0.0060202111, -0.0238521378, 0.047814317, -0.0132499803, -0.0196500346, 0.0322662517, 0.079668358, -0.0201978292, -0.0271352157, 0.0238249935, 0.0711961612, 0.0009712882, -0.0010240162, -0.0000634693, 0.0331162587, 0.0188485514, -0.004704887, -0.0052876631, 0.0057330318, 0.0418586954, 0.0203907304, 0.0177041851, -0.0321973376, -0.0347430333, -0.1051586792, 0.0378892086, -0.0719637871, -0.0238726903, 0.0372628272, 0.0333729275, -0.0251743216, -0.0700465292, -0.0868217275, -0.0483461395, 0.0252945106, -0.0253286529, 0.0180414543, -0.0317194015, -0.0221051946, -0.0342637487, -0.0231813546, -0.0142369661, 0.026741311, -0.0380293056, -0.005442895, -0.009835477, 0.0266688205, -0.0155214425, 0.0277216882, -0.0819618627, -0.0858367309, 0.0155608542, 0.0773964822, -0.0000133747, 0.0696011037, -0.0144761279, -0.0586968698, 0.0504302643, 0.0558699556, -0.0056338124, 0.0153860636, 0.0575370751, -0.029041294, -0.0111093, 0.0251475796, 0.0137659302, -0.0036408622, 0.0552062951, 0.0697737262, -0.0447932258, -0.0139950672, 0.0437735468, 0.0076117911, 0.0700517595, -0.019469453, 0.0164363794, 0.0083530284, 0.0506872833, -0.0329550281, 0.0145495776, -0.0236693211, 0.0235832296, 0.028704185, -0.0217869189, -0.0052875471, -0.0235278849, -0.031544134, 0.0147240162, -0.0771262944, -0.0042212177, -0.0198509134, 0.01881532, 0.011372908, 0.006245275, 0.0093969069, 0.022616135, 0.0351607352, 0.0156174358, -0.0077386261, 0.0272440296, 0.0341470726, 0.0353469364, 0.0310173351, 0.026958745, -0.0758601576, 0.0577089451, -0.0624808893, -0.0093631186, 0.0709457323, 0.0170144029, 0.061781995, -0.0175829604, -0.0307535846, -0.0121374689, 0.0009086007, -0.0321639813, -0.0184125174, 0.0007668692, 0.002295007, -0.012160806, 0.0260913856, 0.0527233295, 0.0224973541, 0.0576332435, 0.0131387301, -0.0307069067, -0.0540235154, -0.0394182168, 0.0274886973, -0.0418829992, -0.0158361997, -0.0301362257, 0.0147803323, -0.117657505, 0.0151283313, 0.0292247366, 0.0198881794, 0.0134815974, 0.0352453068, 0.007836245, -0.0359061584, 0.0074990066, -0.0351876505, 0.0146704055, 0.0583338328, -0.0352911875, -0.019441966, -6.100262831e-33, -0.0231961887, -0.001135478, -0.0297114328, -0.0555476882, 0.0203502774, -0.019493632, -0.0232933145, -0.0149440458, 0.013529581, 0.0178187359, 0.0028053352, 0.0445571914, -0.0052893288, 0.057058502, -0.0116245057, 0.0013736337, 0.0916752145, 0.0050631673, -0.0391677767, -0.0234769396, 0.0524252951, 0.048425287, 0.1007151008, -0.0805221722, 0.0448726639, 0.0060860026, -0.0535631701, -0.0313614532, -0.0267862417, 0.0562203415, 0.029417675, 0.0270405151, -0.0002837749, -0.0120195365, -0.0092335101, -0.0357179008, -0.0677665249, -0.0323651358, -0.0335969962, 0.0128903072, -0.0519315973, -0.0272819381, 0.0113378279, -0.028777834, -0.0094028311, -0.02193854, -0.0136298016, -0.0072546126, -0.0102450587, 0.0037336368, -0.0085844146, 0.023621913, -0.009887605, 0.0078497482, -0.0225208364, 0.0175352357, 0.0168975256, -0.0203796122, -0.0892749056, -0.0033501452, 0.0225628186, 0.0659631938, 0.0060186568, -0.0125200907, -0.0076040542, 0.0031859463, 0.0087596355, -0.0084413085, -0.0152031444, 0.0412423238, -0.0020894681, -0.0070907134, 0.0599842556, 0.0631048456, 0.0593677089, -0.0380271897, -0.038900882, 0.0263287574, -0.0207006335, 0.0493570231, -0.0073336032, 0.0247426741, -0.012629631, 0.0040273429, -0.0017337691, -0.0699899569, -0.0171514098, -0.0365183577, 0.0387158729, 0.0225563683, -0.024107242, 0.0306479391, -0.0173709486, -0.0289037731, -0.0302063804, 0.0223219581, -0.0175186265, -0.0177536868, -0.0059615914, 0.0310453326, 0.00224297, -0.015542536, 0.0491021127, 0.0047390643, 0.0300351381, -0.0332273133, 0.0748579279, 0.0429138243, -0.0649072304, 0.0034173182, 0.0076666926, 0.0418170467, 0.0201236997, -0.0181618277, 0.0357963182, -0.0244867541, 0.0017408304, 0.00753946, 0.0109428959, -0.0089357616, -0.0187788568, 0.0102031454, -0.0120721487, 0.0225209333, 0.0156121012, -0.0141786011, 0.0083691515, 0.0050143972, 0.0208170861, -0.0661923438, 0.0135385348, -0.0009177151, 2.693e-7, 0.0209289491, 0.0133500071, 0.0306352172, 0.0283783302, 0.0063245739, 0.0104962075, -0.0205399115, 0.0460955948, -0.0015092257, 0.0324555077, 0.0103586661, 0.0053673075, 0.0449382327, 0.0128209954, -0.0266367495, -0.009802565, -0.0975812972, 0.0524440221, -0.0216125678, 0.0202686526, 0.0154914344, 0.1067764685, 0.0252256151, 0.0034426793, -0.0003859676, -0.0542561747, 0.0430901721, 0.020581888, -0.022476377, 0.0113936365, 0.0611656867, 0.0308091603, -0.0011975695, 0.0287454072, -0.0562311374, 0.0175076146, 0.0174561404, -0.0057402882, -0.0212320052, -0.0175463445, -0.026653016, 0.0206364524, -0.0059897904, -0.0357496701, 0.0515517816, -0.0308834147, -0.0036187454, 0.0009049452, -0.0460102893, 0.0013202596, 0.0472720489, -0.0563099086, -0.0332555287, 0.0064961771, 0.0474198237, 0.049281925, 0.0057286122, -0.038843479, 0.0075250841, 0.015642127, 0.0066608149, -0.0093539152, -0.0200240891, 0.0143694049, 0.0364882275, -0.0287358724, -0.0455434471, 2.481829258e-34, 0.0411975831, -0.0447213799, 0.0190464836, -0.0126291541, 0.028914528, -0.0163253769, 0.0418201089, 0.0054172026, -0.0092419693, -0.039159596, -0.0557634905 ]
http://arxiv.org/abs/2310.13316v1
http://arxiv.org/pdf/2310.13316v1
Coarse-to-Fine Dual Encoders are Better Frame Identification Learners
2023-10-20T07:11:23
2023-10-20T07:11:23
Kaikai An, Ce Zheng, Bofei Gao, Haozhe Zhao, Baobao Chang
cs.CL
cs.CL, cs.AI
Frame identification aims to find semantic frames associated with target words in a sentence. Recent researches measure the similarity or matching score between targets and candidate frames by modeling frame definitions. However, they either lack sufficient representation learning of the definitions or face challenges in efficiently selecting the most suitable frame from over 1000 candidate frames. Moreover, commonly used lexicon filtering ($lf$) to obtain candidate frames for the target may ignore out-of-vocabulary targets and cause inadequate frame modeling. In this paper, we propose CoFFTEA, a $\underline{Co}$arse-to-$\underline{F}$ine $\underline{F}$rame and $\underline{T}$arget $\underline{E}$ncoders $\underline{A}$rchitecture. With contrastive learning and dual encoders, CoFFTEA efficiently and effectively models the alignment between frames and targets. By employing a coarse-to-fine curriculum learning procedure, CoFFTEA gradually learns to differentiate frames with varying degrees of similarity. Experimental results demonstrate that CoFFTEA outperforms previous models by 0.93 overall scores and 1.53 R@1 without $lf$. Further analysis suggests that CoFFTEA can better model the relationships between frame and frame, as well as target and target. The code for our approach is available at https://github.com/pkunlp-icler/COFFTEA.
[ 0.0000457096, 0.0033292801, -0.0016206453, 0.0844754279, -0.0240082815, 0.0045675728, -0.014682712, -0.00744749, -0.0220324267, -0.0402447991, -0.0290250648, -0.0374118574, -0.0042617279, 0.0405483991, -0.0214111824, -0.0851330608, 0.0473433882, 0.0118660545, -0.0291485656, 0.0066450187, 0.0107021015, 0.0216405224, -0.034022186, 0.0245761871, 0.0226995312, -0.0021223454, 0.0063918293, -0.0033358501, 0.0736253858, -0.0270042494, 0.071686171, 0.0311195087, 0.0476139411, 0.0116537213, 0.0000020756, -0.0334260948, -0.0025056684, -0.0268715508, -0.0286922809, -0.0094788158, 0.0179232899, -0.0156659111, 0.0120561542, -0.0083457623, -0.0145479823, -0.0375713222, 0.0372438617, -0.0213811081, 0.0289854854, 0.0413053632, -0.0375094786, -0.0662070736, -0.0202277135, -0.0282355025, -0.0525404029, -0.0146742668, 0.0036730589, -0.0131546035, 0.0151995709, -0.0035717741, -0.0601591431, 0.0024346472, -0.0037482304, 0.0393398218, -0.0166220199, 0.0235737879, -0.0222137291, -0.0249951184, -0.0171984695, 0.0789648369, 0.0028658598, 0.0024014625, -0.0346635804, 0.0013750429, -0.0131068956, 0.019184893, -0.0218765847, -0.0124892294, -0.0142823597, 0.0453814082, 0.0633515194, 0.0372757614, -0.0386931263, -0.0083023859, -0.0059738434, -0.027427474, 0.0440020189, 0.0151217962, 0.0155517524, 0.0201962572, -0.0157512613, -0.0085023167, 0.0333796293, -0.0060603051, -0.0117606791, -0.0311847236, -0.0585874692, -0.0312931165, -0.0465986691, 0.0063387766, -0.008732724, 0.0494783372, -0.0482847802, 0.0399492234, -0.0759683102, 0.0226422567, -0.0280351005, 0.0426841676, -0.0402950943, -0.0210519861, -0.051319439, 0.0137145519, -0.0483022556, 0.0393820703, -0.061202392, -0.0471635386, -0.0483624972, -0.010157235, -0.0225861352, 0.0205975436, -0.0239674672, 0.0006753849, -0.0151877506, 0.0057681846, -0.0131759681, 0.0622719564, -0.056436941, 0.0106850406, -0.013978404, -0.0521847457, -0.028272314, 0.0352951437, 0.0308848973, -0.0552102253, 0.0191843212, 0.0285700429, -0.0390068367, -0.0415577926, -0.0381011292, -0.029321095, -0.0417815782, -0.0246666186, -0.055411607, -0.0788264424, 0.0184573252, 0.0382821374, 0.0353586636, -0.0569602847, 0.0082029272, -0.0168317668, -0.0080262963, 0.0731473714, -0.0119579546, -0.0271360651, 0.0011113799, 0.0196236875, 0.0417417139, 0.0540480725, -0.0132281957, 0.0141647104, 0.0372321904, 0.0043757916, -0.0342705958, 0.0488512553, -0.0303949099, -0.0119985165, -0.0289198104, -0.0341582559, 0.0639471263, 0.0064472682, 0.0309776627, 0.0343690813, -0.0225504581, -0.0163118821, 0.0465607457, -0.0091919322, 0.0357977152, 0.0068278774, 0.062370915, 0.0114698708, -0.0362210944, 0.062417265, 0.0335796028, 0.0300276205, 0.0161758736, -0.0101831481, 0.0164364781, -0.0103079425, -0.0508852527, 0.0054676933, 0.0083261514, -0.0157356467, -0.0240751524, -0.0234171562, 0.0733102337, 0.0028575042, -0.0636985749, 0.0382600054, 0.0341394134, -0.0316617414, 0.0388433523, 0.0049981284, -0.0229274817, 0.0527833514, 0.0118136667, -0.0155563913, -0.0751199722, -0.0146024721, -0.021582799, 0.0455779061, 0.0419275574, -0.0278480612, 0.0033624754, -0.0639497191, -0.0183731969, -0.015099531, -0.0120410556, 0.0261613391, -0.0395118818, 0.0487082414, 0.0083216978, 0.0798468068, -0.0039894003, 0.0514321961, 0.0282384232, 0.0047507607, -0.0125589725, 0.0386241488, 0.0358284041, 0.0039972481, 0.018955281, -0.034459047, 0.0234121066, -0.068001315, 0.0397497229, 0.0534417592, -0.0818503872, -0.0854301155, 0.0152880903, -0.0779176131, 0.0245734584, 0.0661490113, -0.0188382342, -0.0371629335, -0.0019985752, -0.0135409851, -0.0024422337, -0.0124043748, 0.0123199578, -0.0116333738, 0.0218125638, -0.0080681453, 0.0528829396, 0.0149017321, 0.0264349598, 0.0075303391, -0.0183303375, 0.045097813, -0.0550658256, -0.0308995899, -0.0123301409, -0.0112446677, -0.0381716751, 0.0429876931, -0.0276534893, -0.0353295505, -0.0304719824, -0.0308777578, 0.0417894311, -0.013853278, 0.0017613865, 0.0420201346, -0.0010532772, -0.009014694, -0.0223658849, 0.0127500407, 0.0501039214, -0.0009084168, -0.0042193201, 0.0424002111, 0.0147981402, -0.0663156062, -0.0203615464, -0.0002120247, -0.0125165945, 0.0431597121, -0.0257124063, -0.055710692, -0.0543681718, 0.031494379, 0.0397994593, -0.0021474469, -0.0064675366, -0.0026630193, -0.015234693, 0.0090574576, -0.0538325273, 0.0376954563, 0.0204279665, 0.0738356635, 0.0391507261, -0.0106129479, 0.0070079016, 0.0201375, -0.0280893017, -0.0357363857, -0.0387423486, 0.0115678171, -0.0196145065, 0.0710934848, -0.0034999268, 0.0234255139, -0.0480661392, -0.0103435125, -0.006555046, 0.0218718629, -0.0125354491, -0.0097399838, -0.0031131383, 0.0206684191, -0.0154790645, 0.0142313559, 0.068583481, -0.0069252122, -0.0382851884, -0.0332039818, -0.0051893508, -0.0285687689, 0.0086275507, -0.0090870894, 0.026264051, -0.0315650105, -0.0420821123, -0.0615727603, -0.0216095746, 0.0555404425, -0.0175893102, 0.0758568794, -0.0152337151, 0.0150339324, -0.031134855, -0.0488107838, -0.0533444658, -0.0264808089, -0.0256400965, 0.0417309441, -0.0261771083, 0.0185887851, -0.078694433, 0.0250362437, -0.0207443275, 0.0386911593, -0.0000071098, 0.0064803632, -0.0351110287, 0.0907198042, 0.0396586098, 0.0243762378, -0.0319223441, -0.0234893989, 0.0588346682, 0.0442009196, -0.0405126251, 0.0107877525, -0.0457784347, 0.0091434075, 0.039173685, -0.0431775711, 0.0094990795, -0.0075909426, 0.0565254167, -0.0365738161, -0.0380705483, 0.119947888, 0.0251134764, -0.0495128296, -0.0024017345, 0.0185711514, 0.0190436859, 0.0401293188, -0.0212009866, -0.0502206162, -0.0786638707, -0.0004818316, 0.0070038545, 0.028489355, -0.0156189492, 0.01817175, -0.1029762402, 0.0324120447, 0.029755231, 0.0076684044, -0.0440625437, -0.0397261679, 0.0189981498, -0.0094958534, 0.0013767661, -0.004887443, -0.0079755215, -0.0205561537, 0.0092802141, 0.0271390453, -0.0338261575, 0.0081832912, -0.0627304539, 0.0090108896, 0.0012049372, 0.0303298403, -0.0363206007, -0.0231388025, -0.0263433624, -0.1248539239, -0.0094557032, -0.0124350581, 0.0609712526, -0.0272170212, -0.0421837643, 0.0136112757, 0.0580091923, -0.0267217383, -0.0442183912, -0.0187204704, 0.0372692347, -0.0026089486, -0.0102904122, 0.0155096473, -0.0034129198, 0.0095953727, 0.0632906035, 0.0162233356, -0.0218559504, 0.0258212201, -0.0057862843, 0.0109387254, -0.0284380894, -0.0109511083, -0.006951829, -0.0040347758, 0.0198838115, -0.0513011217, -0.0182428006, 0.0376416296, 0.055535879, -0.0029698678, 0.021062484, -0.0083575249, -0.0019699461, -0.1033776402, 0.0161051266, -0.0042470088, 0.0105558299, -0.0548115596, -0.0135265514, 0.065301761, 0.007372899, -0.0395104699, 0.0572674237, -0.00739996, -0.0383393094, -0.0211561117, 0.0096817361, 0.0105579942, 0.0612537675, 0.0013475643, 0.0201803893, 0.0411549769, 0.030663427, -0.0109217614, 0.0193765778, 0.0052780928, -0.0629975721, -0.0642734542, -0.0026825967, -0.0314373337, 0.0051518343, 0.029271381, 0.0465341099, 0.0329917781, -0.0040632342, 0.0817122087, -0.0146241114, 0.0774481371, -0.0558101237, 0.0127667589, -0.0447841175, 0.0092603602, 0.030320853, -0.0068834699, -0.0040999213, -0.0352061465, 0.0418613404, 0.0040270998, -0.0033137565, 0.0238371771, -0.0113930777, -0.0210316181, -0.0081183966, 0.0312197339, -0.0157141052, 0.0479264893, -0.0181348044, 0.023082234, -0.0281161964, 0.0181741342, 0.019469576, 0.0714984909, -0.0525836609, 0.0973470137, 0.0263697617, 0.018515965, 0.009185737, 0.0518854074, 0.0280054733, 0.0565444902, -0.0706615821, 0.0251854472, 0.058164455, -0.0793009326, 0.0011322821, -0.0106107537, -0.0157026481, -0.0359075144, 0.0270555932, -0.0453828871, -0.0151586216, 0.0461745411, 0.0224095546, 0.0063691605, 0.0075810198, 0.0598101467, -0.0576522313, 0.0486722998, 0.0470252745, -0.0092287632, -0.0321556479, 0.0129614295, -0.0020408295, -0.0067970306, -0.0141130565, 0.0192489717, -0.0120485974, -0.0344655551, 0.0598192587, -0.0401446931, 0.0245404691, 0.032065928, 0.0447624214, 0.0009377098, 0.0045325416, -0.0190750975, -0.0058238665, -0.0011408494, -0.0133283008, 0.0047578197, -0.0348993838, -6.182197359e-33, -0.0767720267, 0.0296080522, -0.0512269624, 0.0468568504, 0.0028307282, 0.0105753168, -0.0240828469, -0.0020857316, -0.0152687682, 0.0134493774, 0.0578176305, -0.0301398262, 0.0160113294, 0.0353589952, 0.0021379427, -0.0508781746, 0.037208546, 0.0234939251, -0.0153474081, -0.0096425861, 0.0599983372, 0.017373303, 0.0785086527, -0.050123468, -0.0350873247, -0.0080445278, 0.0181812569, -0.0087872231, 0.0575529747, 0.0624336787, -0.0142881833, 0.0445129573, 0.0152020557, -0.0136260344, 0.0005551274, 0.0215783231, -0.0901103318, -0.0259072781, 0.0031172903, 0.0386490114, 0.0044057402, -0.0441508107, 0.0143247759, -0.0004733265, -0.0669069067, -0.0270706285, 0.0389621519, -0.0256385244, 0.0419310667, 0.0171036515, -0.0771083534, 0.0000522708, -0.0364416838, -0.0417790934, 0.0468004271, 0.0253911931, 0.0232581031, 0.0059594139, -0.0526747517, -0.0035360816, -0.0425658226, 0.0726219714, 0.0448314473, 0.027120458, -0.0250132047, 0.072755307, -0.0067171687, -0.0537644811, 0.0170303509, -0.0057765152, 0.0213500094, 0.0274052639, 0.0642005801, 0.0812222883, 0.066412203, -0.0030780565, -0.0989783481, 0.0568804182, -0.0429676734, 0.0912645236, 0.0244799759, 0.0152965905, -0.0068879188, -0.0105776405, -0.06050561, -0.0483344086, -0.0244195331, 0.0035398158, 0.0368645452, 0.0072028786, 0.014840316, 0.0296295527, 0.0709363595, -0.0257460214, 0.0368888676, -0.0036699825, -0.027110111, 0.0264641158, -0.0111491401, 0.0312778652, -0.0118184248, -0.0640241206, 0.0276324879, -0.0181955006, 0.0243404154, -0.0169780198, 0.0546836257, 0.0037186295, -0.0403534397, 0.0170194898, -0.0180017333, -0.0063685668, -0.029794652, -0.0150074558, 0.0213823449, 0.027114626, -0.0425630696, 0.0541812703, 0.0177375618, -0.0231755283, -0.0268696267, -0.0111248232, 0.0301687419, 0.0543533936, -0.0298958179, 0.0130674103, 0.0004473763, -0.0305331834, 0.020739207, -0.0369438082, 0.0042645968, -0.0114586856, 2.789e-7, 0.0160710756, -0.0009158897, 0.0396482348, -0.0374036618, -0.0060591167, 0.0199824627, -0.0303154234, 0.0537103191, -0.0118564414, -0.0459576882, 0.0211395063, 0.0212144442, 0.0321548656, 0.0017063937, -0.0720291659, 0.0704869628, -0.0160634071, -0.0157488789, -0.0339398868, 0.0436784662, 0.0437664948, 0.0685457066, 0.008889623, 0.0105521828, 0.0034875832, -0.0710155219, 0.0445614569, -0.0043193973, 0.0092549408, 0.0224453751, -0.0410554968, 0.0297580883, -0.0348875411, 0.0346364863, -0.0079265293, 0.0699893609, 0.0350287668, 0.0226382073, -0.0356073193, -0.0054993769, -0.0232461076, 0.0277027786, -0.0043770489, -0.0212956257, 0.0477753989, -0.0671086013, -0.0071880324, -0.0351303555, -0.0677727163, 0.0415909477, 0.0011401146, -0.0206399113, 0.0142975273, 0.0023956061, 0.050812792, 0.0273319967, -0.0438135602, -0.0587710142, 0.0211318526, 0.0396197289, -0.0347042121, -0.0142934835, -0.0038553227, -0.0394130982, 0.0382112078, -0.0228311773, 0.0147473719, 2.272144255e-34, -0.0210560989, 0.040589381, -0.0083824713, 0.015177669, 0.0023841544, -0.0308024175, -0.0755768716, 0.0022539669, 0.0299889911, -0.0479098745, 0.0083723376 ]
http://arxiv.org/abs/2310.13315v1
http://arxiv.org/pdf/2310.13315v1
Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Models
2023-10-20T07:09:56
2023-10-20T07:09:56
Miaoxi Zhu, Qihuang Zhong, Li Shen, Liang Ding, Juhua Liu, Bo Du, Dacheng Tao
cs.CL
cs.CL
Quantization is a promising approach for reducing memory overhead and accelerating inference, especially in large pre-trained language model (PLM) scenarios. While having no access to original training data due to security and privacy concerns has emerged the demand for zero-shot quantization. Most of the cutting-edge zero-shot quantization methods primarily 1) apply to computer vision tasks, and 2) neglect of overfitting problem in the generative adversarial learning process, leading to sub-optimal performance. Motivated by this, we propose a novel zero-shot sharpness-aware quantization (ZSAQ) framework for the zero-shot quantization of various PLMs. The key algorithm in solving ZSAQ is the SAM-SGA optimization, which aims to improve the quantization accuracy and model generalization via optimizing a minimax problem. We theoretically prove the convergence rate for the minimax optimization problem and this result can be applied to other nonconvex-PL minimax optimization frameworks. Extensive experiments on 11 tasks demonstrate that our method brings consistent and significant performance gains on both discriminative and generative PLMs, i.e., up to +6.98 average score. Furthermore, we empirically validate that our method can effectively improve the model generalization.
[ -0.0179936904, 0.0905234516, 0.0177568402, 0.0759129077, 0.0164057501, -0.0154845463, 0.0207426455, 0.0221931748, -0.0269238744, -0.0461059101, -0.024941219, -0.0356548838, -0.0436443686, 0.0003869483, 0.0525989532, -0.0258873496, 0.0454864725, -0.0187284388, 0.029031191, -0.0223278515, 0.0030269928, -0.0022343246, 0.0189448819, -0.0030013944, -0.0198901705, -0.0304768179, 0.0043726256, 0.0194073021, 0.0414992534, -0.0021519628, -0.0022584207, 0.0588031262, 0.0312688388, 0.0542127155, 0.000002227, -0.0331208669, -0.0161719359, -0.0153854927, -0.0293735322, 0.0391363055, 0.0009793473, -0.0396623984, -0.0130230319, -0.0122787962, -0.0391171314, -0.0466152765, 0.0510761328, -0.0049511064, 0.0590346493, 0.070040375, -0.0246186908, -0.0441133976, 0.0266577471, -0.0546410009, -0.0298603605, -0.0661203861, 0.0153395152, -0.0072098048, -0.06182082, -0.0041376199, -0.0069421413, 0.0469724052, 0.0103915045, 0.0137390355, 0.0142675433, 0.030374527, -0.0739641115, 0.0008682295, 0.016435273, 0.0733064488, -0.0943545029, -0.0302056167, 0.0100090327, -0.011474357, -0.0282846969, -0.0814225972, -0.0236019418, 0.0188934412, 0.0262929499, 0.0394759104, -0.0634952039, -0.0375328138, 0.0414087959, 0.029670598, -0.0209714454, 0.0150769455, 0.0211086702, 0.0177225154, -0.019208245, -0.0316980891, -0.1249037385, -0.0428079478, -0.002697933, 0.0228346363, 0.0025639015, -0.0136079369, -0.062792331, -0.0433029681, -0.0016171109, 0.0091219032, 0.0848482251, 0.0222667698, -0.0090368688, 0.0518117212, -0.0326135121, 0.058074709, 0.003144887, 0.0728100836, -0.0343981199, 0.007703837, -0.0084871901, 0.0063252011, -0.0240375493, 0.0155086871, 0.0146789197, -0.0036923508, -0.0401621312, -0.0158452895, -0.0124095734, 0.0165720526, -0.002175682, 0.0083727632, -0.0332177766, -0.044884529, 0.0569837689, 0.0088717984, -0.0386892743, 0.0280601047, -0.0275590066, -0.0471658818, -0.0376086608, 0.0358799361, 0.0443945192, -0.0151145346, -0.0100123035, 0.0456026234, -0.022884775, -0.0587162375, -0.0432720073, -0.0007394902, -0.0105365021, -0.0843217745, -0.0243857894, -0.0456853099, -0.0004251767, -0.0393853001, 0.0231620073, -0.0586463585, -0.0112479869, -0.0286487453, -0.0067066499, 0.0863374397, -0.0373906791, -0.0102747176, -0.005177666, 0.0199725349, 0.0327763967, 0.0890211388, 0.0104877483, 0.0487998873, -0.0016901629, 0.02214773, 0.014100112, 0.0658045113, 0.0684949085, 0.0081549874, -0.0309996195, -0.02430005, -0.0049170242, -0.0019348096, 0.0601821877, 0.0546014942, -0.0664240941, -0.0634680763, 0.0497460067, 0.0514102727, 0.0335977897, -0.0056707598, -0.0022669393, 0.0174526908, 0.0194452852, -0.0180632528, -0.0291847065, -0.0020408169, -0.0265205894, -0.0046885703, 0.0077971923, 0.0138823008, -0.0673846751, -0.0224542078, -0.0179945529, -0.037633609, -0.0329733416, 0.0182837546, 0.0397441499, 0.0379432999, -0.0154262073, 0.0433229171, 0.0152258072, -0.0336387008, 0.0131168347, -0.0663895831, 0.0165538136, 0.028786825, 0.0321768299, -0.0335271843, 0.0163046475, 0.000221396, 0.0147419078, 0.0020402647, -0.0528149307, -0.0056594322, 0.0702962726, -0.0403254665, -0.0303178765, -0.0098745916, 0.0282194633, 0.0200595092, 0.0177515037, 0.0025385288, 0.0330673121, -0.0438208096, 0.020912692, 0.033769004, 0.0031804335, -0.0608806834, 0.0291516706, 0.0256638862, 0.0161585379, 0.0098914187, -0.0222286936, -0.0097247316, 0.0143953552, -0.049539078, 0.0439716801, -0.071058616, 0.0118361833, -0.0449838527, 0.0448195599, -0.0288027134, 0.0279130582, 0.0490784422, -0.062470492, -0.0236279983, 0.0371906236, 0.0299381446, 0.0055947048, -0.0556264594, 0.0062632416, -0.0105161918, 0.0545345843, -0.0303557962, 0.0262366384, -0.0097160144, -0.0109487344, 0.013310669, -0.0053361417, 0.0094306795, -0.0736273751, -0.0317663848, 0.009488876, -0.0121152913, 0.0479306765, -0.0013336763, -0.0138638243, 0.0012135934, 0.0189492516, -0.0750985071, -0.0176045746, -0.0464099497, 0.0171583593, 0.022504786, -0.0016229855, -0.0098813502, -0.0263979826, 0.0038585481, 0.0302243102, -0.0319863781, 0.0023194859, 0.0206733048, 0.0055025844, 0.0245794188, -0.0417600088, -0.0270201117, 0.0357322991, 0.0543967113, -0.0561755151, -0.0183622353, -0.0257327948, 0.0600678697, -0.0174731817, 0.0596984737, -0.0293991193, -0.0378510468, 0.0012206043, -0.026066646, -0.0103801312, 0.0970298424, -0.0092559801, -0.0310066529, 0.0557701625, 0.0211890936, -0.0219926387, -0.0117573282, 0.0071607647, -0.0365468301, 0.0054726922, 0.0192560684, 0.0062317997, 0.0738928318, -0.0129340366, -0.0123729501, -0.0361828692, 0.0641088635, -0.0147655187, -0.0257687885, -0.0490046442, 0.0194724333, -0.0158293154, 0.0443864353, -0.0418758951, -0.0490382649, 0.0385738984, -0.0477818772, 0.0016157762, 0.0379771069, -0.0066150175, -0.0042950893, 0.0368308127, 0.0518757664, 0.0371851698, 0.0025846732, -0.0092695113, -0.0681586713, -0.050583221, 0.0312438719, -0.007428546, 0.0183311794, -0.0007803498, 0.0329333097, -0.0425952114, -0.0120866029, -0.013838225, -0.0401069373, -0.0369758382, 0.0351054482, -0.0322792046, 0.0001866444, 0.0256424677, 0.0336301364, -0.0390007384, 0.0556484051, -0.0192545112, 0.010055027, -0.0106173977, 0.0524641946, 0.0597646013, -0.053429734, -0.0374953113, -0.0059983721, -0.0101358453, 0.0483195595, 0.0072371815, 0.0650620311, -0.0385533087, -0.0076389681, 0.0394086912, 0.0246729199, -0.007937666, 0.0020867325, 0.0409255587, -0.0092715081, 0.0148566468, 0.0705228299, 0.0099165812, -0.0176881403, -0.0045753042, 0.0272734426, 0.0252451971, 0.0076851132, 0.003156225, -0.1124239266, -0.0387081616, -0.013699417, 0.0191058405, 0.0247113928, -0.0097350851, -0.0361626334, -0.0759342387, -0.0024305223, 0.0376985073, -0.0225601979, 0.0000207359, 0.0300250519, 0.0064808773, -0.0655717105, 0.0393643491, 0.0065848725, 0.0076603754, -0.0023173206, 0.0053621382, 0.0172620993, -0.0573665351, 0.0096219117, -0.0399764329, 0.0199097451, 0.0689069703, 0.0255866479, 0.0286900457, -0.0003878641, 0.028872028, -0.0062313979, -0.0281953681, 0.0045469566, 0.039735876, -0.0373637192, -0.0174461491, 0.0586940981, 0.0280089825, 0.0191811714, -0.016754305, -0.0046702693, -0.017136069, 0.018141726, -0.0126349172, 0.0176369324, -0.031177707, -0.0219465066, 0.0364874639, 0.0375662483, 0.001612746, -0.026450811, -0.0155302603, 0.0258774273, -0.0546546243, -0.0500841141, -0.0040691677, 0.0059381141, -0.067093052, -0.0372220613, -0.0113524394, 0.0242410544, 0.0153160319, -0.0451954938, -0.0343411565, -0.0097284056, -0.0037340326, -0.0577039607, 0.0052211685, -0.0602466464, 0.0091193859, -0.0219067745, -0.0000963221, 0.0183385909, -0.0305013508, -0.0116982767, -0.0063655023, -0.1111678481, -0.0677587166, -0.0038616997, 0.0445353426, 0.0133725982, 0.0495623648, -0.0328917913, -0.099776648, 0.0914255008, 0.0673477203, 0.0375119112, 0.0190308951, 0.0609463975, -0.039057713, -0.0039057832, 0.0648313165, -0.013938657, 0.0504745878, 0.0665458366, 0.0086834719, -0.0513941944, -0.0167752616, -0.029204322, 0.0113272192, 0.0936243087, -0.0138265816, 0.0200654119, -0.0377954282, 0.0014711091, -0.0137909455, 0.009519225, -0.0451119877, -0.0163264424, 0.0333903134, -0.032652203, -0.010328562, 0.012701706, -0.0223775338, -0.0016118903, -0.0101422844, 0.0010429426, 0.0211304724, 0.0058628316, 0.0177449416, -0.0026876985, -0.0171440896, 0.0555067845, -0.0039487625, 0.0158728212, -0.0304097179, 0.0042850161, -0.0064750868, 0.0364104174, -0.041125346, 0.0398759618, -0.020451637, -0.0409902371, -0.0662700236, 0.0355024301, 0.0863424614, 0.005400145, 0.0391631052, 0.0106070973, -0.0281043798, -0.0323486254, 0.0170634706, 0.0164387077, -0.0218975339, 0.0228067469, 0.0060168481, 0.0101223076, 0.0289760362, 0.1010714397, 0.0314325541, 0.0272838306, -0.0075990981, 0.0104008727, -0.0491042249, -0.0277453959, -0.0212231036, 0.0130929444, -0.0074090292, 0.0188347306, -0.0077001536, -0.063409403, -0.020025067, -0.0103813298, -0.0219368134, 0.0427825339, 0.0291801523, 0.0301277936, -0.0145561155, -0.0341782682, -0.0418060832, -0.0308491476, 0.0317842141, -0.0149233583, 0.0131249717, -7.023636052e-33, -0.0272021778, 0.0065770415, -0.0134679778, -0.0373608693, -0.0096989265, 0.0364329517, -0.0145674851, 0.0078603392, -0.0534307025, -0.0341680497, -0.0345675088, 0.0216506869, 0.0103883361, 0.032498613, -0.0477245823, -0.0114881862, 0.0702036843, -0.0185842738, -0.0250527393, -0.0023623181, -0.0165114719, 0.0394370332, 0.057997603, 0.0254502948, -0.0197679885, -0.0044146581, -0.0513394475, 0.0153300175, 0.0513551757, 0.0210696775, -0.023883421, 0.0134173231, 0.0054196543, 0.0103469361, -0.0235338993, -0.0304152183, -0.0608111657, -0.0012570549, -0.0032790396, 0.0233064555, -0.0401150063, -0.0335008092, 0.027136093, -0.0319356509, -0.0085051609, -0.0257082283, 0.0013954079, -0.012681067, -0.0350151286, -0.0682361871, -0.0366108045, 0.0375319682, -0.0000623346, -0.0087714316, 0.103145659, 0.0005158873, 0.0135635277, 0.0221218225, -0.0591678135, 0.0117852595, 0.0266259219, 0.0751816407, 0.0779067874, 0.0688249245, 0.0061621382, 0.0234983061, 0.0458019376, -0.0309890397, 0.0027952862, 0.013504928, 0.0486421324, 0.0228238758, 0.0298865642, 0.0609967522, 0.0756667107, -0.0104486039, -0.0695472583, -0.0160911549, -0.0436097123, 0.0337602384, 0.0137394853, 0.072827667, 0.0155296149, -0.0387400724, -0.045450855, -0.078007035, -0.0495005958, -0.0089481054, -0.0141502982, 0.0400605612, -0.0553348325, -0.0118251685, 0.0342633948, -0.0541131459, -0.0046571447, 0.0161147285, 0.0036935427, 0.0057814182, -0.0001201355, 0.0494817086, -0.0497225039, -0.0094884476, 0.0345657915, 0.0279511157, 0.0111504551, -0.0071233739, 0.0608436838, 0.0147943441, -0.0246767662, -0.0133530842, -0.0340838656, 0.0045360466, 0.0211023167, 0.057481233, 0.0280055013, 0.0124513609, 0.0085830651, 0.0737036243, 0.0134059563, 0.0154224066, 0.0223172288, 0.0262136981, 0.0168224853, 0.0360097289, -0.0200769566, 0.0185749494, -0.0060849939, 0.0304024853, 0.0652353689, -0.0642672181, -0.0210886747, -0.019632902, 2.833e-7, 0.0406401157, 0.008332435, -0.0120838862, 0.0062573492, 0.0027389254, 0.0278170127, -0.0094741127, 0.0270830933, -0.0269610621, -0.0189149342, 0.0089723701, 0.0519867465, 0.0382827148, 0.0116742542, -0.0680520236, 0.0363692902, -0.0361922979, 0.0235215053, -0.0395265035, -0.0298350081, 0.0324662291, 0.1163939536, -0.0173043273, -0.0103824176, 0.0486083142, -0.045096349, 0.0484001674, -0.0033823606, 0.0224475041, 0.040077921, 0.0531492829, 0.0471527986, 0.0037400417, -0.0258018319, 0.0014422116, -0.0227174032, 0.0160559081, 0.0687908381, -0.0174102783, -0.03003815, -0.0277687032, 0.0094124628, -0.0149967754, -0.036741782, 0.1022924557, -0.0688190535, -0.0375980735, -0.0567475781, -0.0269816816, 0.0029623264, 0.0396304801, -0.038390927, 0.0020887153, 0.0374024175, 0.0266249944, 0.0032485402, -0.0324462056, -0.0837984607, -0.0332082994, -0.0039999769, -0.0031902723, -0.0233145617, -0.000976143, -0.0288901199, 0.0201166552, -0.0216023307, 0.025215229, 2.08939598e-34, 0.0194626581, -0.0070613399, 0.0187845528, -0.0212592874, -0.0210442562, -0.0088687325, -0.0097854231, -0.0056910291, -0.0157910865, -0.0382869951, -0.0234187916 ]
http://arxiv.org/abs/2310.13312v1
http://arxiv.org/pdf/2310.13312v1
Exploring the Impact of Corpus Diversity on Financial Pretrained Language Models
2023-10-20T07:04:08
2023-10-20T07:04:08
Jaeyoung Choe, Keonwoong Noh, Nayeon Kim, Seyun Ahn, Woohwan Jung
cs.CL
cs.CL
Over the past few years, various domain-specific pretrained language models (PLMs) have been proposed and have outperformed general-domain PLMs in specialized areas such as biomedical, scientific, and clinical domains. In addition, financial PLMs have been studied because of the high economic impact of financial data analysis. However, we found that financial PLMs were not pretrained on sufficiently diverse financial data. This lack of diverse training data leads to a subpar generalization performance, resulting in general-purpose PLMs, including BERT, often outperforming financial PLMs on many downstream tasks. To address this issue, we collected a broad range of financial corpus and trained the Financial Language Model (FiLM) on these diverse datasets. Our experimental results confirm that FiLM outperforms not only existing financial PLMs but also general domain PLMs. Furthermore, we provide empirical evidence that this improvement can be achieved even for unseen corpus groups.
[ 0.0057365112, 0.0860298052, 0.0024558033, 0.0005883047, 0.0321511626, 0.0253160205, 0.0520223081, 0.054045096, -0.0141404532, -0.0369291678, -0.0827453136, -0.0640103146, -0.0153325852, 0.0171292759, 0.0570149608, -0.0377367251, 0.0336893201, 0.0050640865, 0.0478793457, -0.0418300889, 0.0181670506, -0.0038376292, 0.0038468556, 0.018602049, -0.0007464814, 0.0087128226, 0.0221051052, -0.0257762317, 0.0147035383, 0.0061996314, 0.0294263773, 0.0274120402, 0.0441921726, 0.0480818115, 0.0000017194, -0.0750985593, -0.0338586159, 0.0109436763, -0.0224308204, 0.0344004072, 0.023523625, -0.0237881057, 0.0471695587, 0.0252391733, -0.0516478494, -0.012652386, 0.0467314832, 0.0528344102, 0.0440010689, 0.0759945884, -0.0260913465, -0.0567026772, -0.0037522847, -0.0955348164, -0.0329021476, -0.0601459555, 0.0297899377, 0.0021512834, 0.0069632037, -0.0225062147, -0.0330933593, 0.0133904004, -0.004482612, 0.0401123241, 0.006873779, 0.0312381927, -0.0669174418, -0.0172375198, -0.0313885808, 0.0710527822, -0.0201076437, 0.0400351733, 0.0294493325, -0.0353008285, -0.0030807001, 0.0169573016, -0.0049113017, 0.0519060567, 0.0207979847, 0.0007412193, -0.0059828898, 0.0144959362, 0.0280574393, 0.0095115993, -0.0559102483, 0.0042247241, 0.0032485684, -0.023218412, 0.0441909991, 0.0334259383, -0.0378614925, -0.0140320575, 0.0256068092, -0.0203320924, 0.0263277777, 0.0178064182, -0.0565712191, -0.0607794747, 0.0196854863, -0.0634006187, 0.043791946, 0.0192670431, -0.0559646189, 0.0343481563, -0.0278034005, -0.0029167426, -0.0176584478, 0.0033834178, -0.011553186, 0.0208468325, -0.0544130392, 0.0041294373, -0.0591263473, 0.0643756911, -0.0160872843, -0.0352959633, -0.0662344843, -0.0066737398, 0.0027121655, -0.0219561141, 0.0077440632, -0.0123786088, -0.0270011723, -0.0241220742, -0.0050219796, 0.0004591178, -0.0257537346, 0.0458963029, -0.0239768997, -0.042076312, 0.0032398482, 0.0286884103, -0.0346216746, -0.0544538796, 0.032388676, 0.0324474722, 0.0320200324, -0.0638231412, -0.0422133431, -0.0014634067, -0.0199033674, -0.0253593419, -0.0036076789, -0.0065166126, 0.0265993923, -0.0033909515, 0.0138092246, 0.0051629432, -0.001923537, -0.0558024496, -0.0330667645, 0.0795356482, 0.0092675453, -0.0278688166, 0.0085660741, -0.0586332045, 0.0157861114, 0.0715098083, 0.0158224944, -0.0266871881, 0.0286804177, -0.005877662, -0.0190387145, 0.0809723958, 0.0025642514, -0.052639883, 0.0015285888, 0.0232604332, -0.027612865, 0.021859156, 0.0612900369, 0.0137031563, -0.0464345589, -0.0057698754, 0.0492899194, 0.0406671092, 0.0895285159, 0.0048019043, -0.0032193987, 0.018167682, 0.0555976778, -0.0038906971, 0.0223033894, -0.0465012714, -0.000532427, 0.0384302996, -0.0257539749, 0.0057759895, -0.0449618548, -0.0094916709, -0.0160948131, -0.0369305238, -0.0280486383, 0.001263077, 0.0611732006, -0.0201599542, -0.0380451828, 0.0970081761, 0.0369003192, -0.0322112143, 0.0027651442, -0.0065963068, 0.0183229372, 0.0620161407, 0.0236255545, -0.0484995879, -0.0099066095, -0.0204221122, -0.0139624383, 0.0635109395, 0.0385386646, 0.0177673958, 0.0261784829, -0.0626154616, -0.0231970027, 0.0251983479, 0.0327668004, 0.0526105575, -0.0021082589, -0.0125413556, -0.0028462706, -0.0650494993, 0.0040004561, 0.0295201279, -0.011358235, -0.0076806503, 0.0247167982, -0.0290224347, 0.0135277128, 0.0274158213, -0.0625675172, 0.0144440653, -0.0072911778, -0.0261147693, -0.0177990906, 0.0042284927, -0.0495763943, 0.0019844412, -0.0067055128, -0.0243462007, -0.0021583824, 0.0216854233, -0.0503037199, -0.0044652764, -0.0283647142, -0.0078667691, 0.045558095, -0.077999711, 0.0002720328, -0.0027527639, 0.0244665742, -0.0178550556, 0.0461042076, -0.0049506519, 0.0137372417, -0.0434862748, 0.0191575587, 0.015964441, -0.0644097179, 0.0218996406, -0.0163225364, -0.034576524, 0.0380028337, 0.0249939486, -0.0123212235, -0.0008077623, -0.0028950318, -0.0697426498, -0.0398728885, -0.0233657882, 0.0200436842, -0.0149136987, 0.00110079, -0.025414126, -0.0343257785, -0.0159212351, -0.0067031798, -0.0127163632, -0.0012033568, 0.0583337657, -0.0157927778, 0.0281275157, -0.0500117652, -0.005719352, 0.0029679404, 0.0435245596, 0.0213020965, -0.0439253263, -0.0113883531, -0.0148079032, 0.0065467334, 0.0227394942, -0.0009082545, 0.0251618456, 0.0037113091, -0.0092193326, 0.0211236104, -0.01281978, 0.0077060019, 0.0407929718, -0.0346803516, 0.0164099485, -0.0422335938, 0.0263931267, -0.006234637, 0.0091876918, -0.0257281717, 0.0322086848, 0.0384831801, 0.0827597231, -0.0369955376, -0.0243982356, -0.0707739368, -0.0142583726, -0.0004405056, 0.0152626019, -0.0402188227, -0.0043770755, -0.0156043498, 0.0242193863, 0.0100606894, -0.0286123659, 0.062307734, -0.0113233253, -0.010051243, -0.039186053, -0.0054204566, -0.0558923036, 0.0016408645, -0.0301437024, -0.0166459382, 0.0324198008, -0.0524751283, -0.0180231202, 0.000844651, 0.0373163335, -0.0158155374, 0.0656581521, -0.0354129262, 0.0593113601, 0.0041467329, -0.0101780081, -0.0250569545, -0.0949638933, 0.0015593572, 0.0115489094, 0.0523039401, -0.0241414197, -0.0735165998, 0.0157087278, -0.037472561, 0.0348895453, 0.0127201015, -0.0048267264, 0.013923754, 0.0285229366, 0.0495968983, 0.0182339344, 0.0304545965, -0.0681485161, 0.0048645376, -0.0296044257, 0.0135921417, -0.021726504, -0.0173922684, 0.0080165667, -0.0049657603, -0.0612220988, -0.0050246255, -0.0003842028, -0.0080800205, -0.0166945159, 0.0043052756, 0.1133497655, 0.0055907932, 0.0023740586, 0.0067015602, 0.0274423677, 0.0022529443, -0.0326431617, 0.0275306627, -0.1150713786, -0.0276617873, -0.0294778738, 0.0180945564, 0.0568591133, -0.0389956683, -0.011186488, -0.1092063189, 0.0087165721, -0.0142484363, 0.0048080725, 0.0022262696, -0.0203649849, -0.0433007739, -0.0594753511, 0.0386085659, 0.0047045266, -0.0242423639, 0.013957954, 0.0469574332, -0.0643335953, -0.051165875, -0.0050318642, -0.0228701774, -0.048020009, 0.0625646785, -0.0185887069, -0.0402131863, -0.0103384228, -0.0175022818, -0.0009133001, -0.0126071423, 0.0068256641, 0.0463122651, -0.0099540036, -0.0491246879, 0.0356041044, 0.009256673, -0.0424973555, 0.0250099227, -0.0230057836, -0.0367341936, -0.0326980576, -0.0210768227, -0.0101192519, 0.0129019534, -0.0290397275, 0.0655118972, 0.0150400829, -0.0554997995, -0.0030745426, -0.0126327807, 0.0112070767, -0.056446705, 0.0370751657, 0.0083659049, -0.0241133906, -0.0436979383, -0.0818243399, -0.0552992225, 0.0239392724, 0.0413764343, -0.0078777159, -0.0117613645, 0.0538953096, -0.0032067387, -0.0307461899, 0.0714775845, -0.0211242586, 0.0090838391, -0.0695401654, -0.0416953079, 0.0015884219, 0.0014638336, -0.0643642545, 0.0185148437, -0.0404246971, -0.047428593, 0.0367198102, 0.0232609715, 0.0188198388, -0.0212817397, -0.0064904322, -0.0081868069, 0.0692510456, 0.0511379614, -0.0530556291, -0.0128900837, 0.0747400969, -0.0436851382, -0.0187253766, 0.0135324709, -0.0451233946, 0.043326281, 0.0158946998, 0.0449104458, -0.0309080668, 0.008712301, -0.0268224347, 0.005734928, 0.0737771541, -0.0162300412, -0.0148779154, -0.0440057702, -0.0037324715, 0.0130233271, 0.0249961354, -0.0436148532, -0.0470620207, 0.0635683239, -0.0095460294, -0.0318442285, 0.0421616584, -0.0533307642, 0.0047372682, -0.0234136172, 0.036388725, 0.0029752532, 0.0154865114, 0.0360466465, -0.0313410126, 0.0283258613, 0.0290436447, 0.0181238893, -0.01568323, 0.0114746382, 0.0131161259, 0.0071717715, 0.061115481, 0.0011465228, -0.0159519278, -0.0242603291, 0.0011631753, -0.0022411179, 0.0399501733, 0.0308070462, -0.0592796616, 0.0242129155, -0.0318888649, 0.0188549105, -0.015196736, 0.017393535, 0.0014081004, -0.0099847084, 0.0536811836, -0.0050531421, -0.057650432, -0.0298026633, 0.1327798814, 0.0241820849, 0.0337041095, -0.0456152931, 0.0146600548, -0.0462067164, -0.0419853181, 0.0717224926, -0.0045919493, -0.0378333293, 0.0218863245, -0.0692346022, -0.0308677759, 0.0292211957, -0.0192399174, 0.0018132027, 0.0091897184, 0.0556198917, 0.0727216154, -0.0101490524, 0.0322720818, 0.0099379988, -0.0016066583, 0.0222270098, -0.0145242056, -0.0636805296, -5.866184804e-33, -0.0093700197, 0.0257824659, 0.0067516272, -0.0497151203, 0.0379749388, 0.0384743027, -0.0062965835, -0.0034912734, -0.0025933629, 0.0018565885, -0.0034784316, 0.0465735868, 0.0281325672, 0.0423897542, -0.0029214562, 0.0067787943, 0.0397317111, -0.0238459874, -0.0082548717, -0.0297044907, -0.0005957096, 0.1067819744, 0.0765228868, -0.0134877143, 0.0382539704, 0.0039293459, -0.0146342926, -0.0149789713, 0.0690429881, 0.0487172641, -0.0184626207, 0.0331144072, 0.0094747711, -0.0550089553, -0.0531876869, 0.0011363764, -0.0509276278, -0.0323176347, 0.0224320069, 0.04122274, 0.0227453075, 0.0197233912, 0.0379966013, -0.0197546985, -0.0234024134, -0.0117350528, 0.0206210259, 0.0006615491, -0.0031782212, -0.057193093, -0.0565963946, 0.0499971248, 0.0195638984, 0.0330787897, 0.0470024012, 0.0370985568, -0.0370985977, 0.0467040762, -0.0025611932, 0.0170567352, 0.0297604464, 0.0036077781, 0.0069694053, -0.0008744748, -0.0190984961, 0.0353315324, -0.0006649034, 0.0094701247, 0.0121893166, 0.0059500937, 0.0384576283, 0.0388996489, 0.0365421996, 0.0300378315, 0.026264254, -0.0279784575, -0.0425519496, 0.0308490675, -0.0122878794, -0.0162133183, -0.005797673, 0.0323121808, 0.0031991852, -0.0352718234, 0.00278558, 0.0341179185, -0.0013981669, 0.0228972957, 0.0029345257, 0.0203355365, 0.008344586, 0.0512749739, 0.0179381203, -0.0405283049, -0.0764237195, -0.0126142055, 0.0261669233, -0.0229964554, 0.0110685201, 0.0199841559, -0.058016561, -0.0656271577, 0.0315555222, 0.0056166989, -0.0169117022, -0.0472830683, 0.0446164086, 0.0045129661, -0.044274684, -0.0004211094, 0.0190197062, -0.0073209414, 0.0324753188, 0.0673719198, 0.0248809289, 0.0496429689, 0.0075630089, 0.0251390263, -0.0087017631, -0.0251256805, -0.0077300807, -0.0135120032, -0.0024457909, 0.0891173854, 0.0161945168, -0.0018149895, -0.0017249538, 0.0418452211, 0.0659666061, -0.0316945724, -0.0291735251, 0.0088341329, 2.385e-7, 0.1035155579, 0.060265813, 0.0425059199, -0.0148547404, -0.0039164601, 0.0250403974, -0.0421384498, 0.0276692435, -0.0259335823, 0.0359199606, 0.0239389818, -0.006110467, 0.0816083476, -0.0332695059, -0.0548365824, -0.0592190027, -0.0721058622, 0.0435513481, -0.0589185469, 0.0319367759, 0.0002454172, 0.0949868709, -0.0018322328, -0.0511057302, -0.0055857487, -0.0865355954, 0.0767206624, -0.0545095503, -0.0294608772, 0.0275672302, 0.0095562711, 0.0193318222, -0.0177020971, 0.0249318853, -0.0263039246, 0.0357173979, 0.0106686978, 0.0186852086, 0.0079341736, 0.0043097953, 0.0166800376, 0.0191317201, -0.0413751602, -0.0107358303, 0.012961139, -0.0770611614, -0.0252478532, -0.0169586837, -0.0423373096, 0.0161989219, 0.0629464388, -0.0055967588, -0.0124139981, 0.0236935485, 0.0530059226, -0.0169079639, -0.0130759478, -0.0437108353, -0.0053746533, 0.0411396511, -0.0554411747, 0.0303607751, -0.0202291403, -0.0121327713, 0.0379883982, -0.0624560714, 0.012449597, 2.050359236e-34, 0.0736369118, -0.0161507726, -0.0228614379, 0.0467768498, 0.0453417189, -0.0119484235, 0.0010685505, 0.0482038371, -0.0251871515, -0.0779736042, 0.0156118087 ]
http://arxiv.org/abs/2310.13307v1
http://arxiv.org/pdf/2310.13307v1
Test-Time Self-Adaptive Small Language Models for Question Answering
2023-10-20T06:49:32
2023-10-20T06:49:32
Soyeong Jeong, Jinheon Baek, Sukmin Cho, Sung Ju Hwang, Jong C. Park
cs.CL
cs.CL, cs.LG
Recent instruction-finetuned large language models (LMs) have achieved notable performances in various tasks, such as question-answering (QA). However, despite their ability to memorize a vast amount of general knowledge across diverse tasks, they might be suboptimal on specific tasks due to their limited capacity to transfer and adapt knowledge to target tasks. Moreover, further finetuning LMs with labeled datasets is often infeasible due to their absence, but it is also questionable if we can transfer smaller LMs having limited knowledge only with unlabeled test data. In this work, we show and investigate the capabilities of smaller self-adaptive LMs, only with unlabeled test data. In particular, we first stochastically generate multiple answers, and then ensemble them while filtering out low-quality samples to mitigate noise from inaccurate labels. Our proposed self-adaption strategy demonstrates significant performance improvements on benchmark QA datasets with higher robustness across diverse prompts, enabling LMs to stay stable. Code is available at: https://github.com/starsuzi/T-SAS.
[ 0.0295255575, 0.0108666057, -0.0126774833, 0.0410610214, 0.000333835, 0.0237409156, 0.0474042967, -0.0308850873, 0.0327565633, -0.0514577441, -0.0541113131, -0.0132772801, -0.0287878402, 0.013435821, 0.0346325375, -0.0057919165, 0.061092522, -0.0864964724, -0.0117290309, -0.0494919792, -0.0008828644, -0.0050896285, -0.0058190059, -0.0135653885, 0.0435723029, -0.0242351107, 0.0013520175, -0.0091506653, -0.0094788494, 0.0016175816, 0.0474466123, 0.0632047057, 0.0221257508, 0.014721171, 0.0000019775, -0.0454385132, -0.0018204087, -0.0138145918, -0.0481171906, 0.0344650745, -0.0075506298, 0.0450893603, -0.0082988068, 0.03491785, -0.0343520194, -0.042362351, 0.0412621312, 0.0057830843, 0.0893638432, 0.0638711974, 0.033630576, -0.0150109483, 0.0050752559, -0.0294561498, 0.0388606749, -0.0558401719, 0.0493305884, -0.0058700414, 0.0095908251, 0.0208323244, -0.0232525561, 0.0421034135, 0.0014777608, 0.0176717341, -0.0255647376, 0.0394519791, -0.0177096147, 0.0380218588, -0.0280157886, 0.0797928274, 0.0207315069, -0.016062418, -0.0200576726, 0.0046582124, 0.0079914778, 0.0049838191, -0.0448521599, 0.0166783761, 0.0102191698, 0.0068252888, 0.0104162041, 0.0108086951, 0.0052076909, 0.0310852546, -0.0398499109, 0.067932792, 0.0007361699, -0.0506755635, 0.0064696674, -0.0062246956, -0.0275626406, -0.0405714363, -0.0183981787, 0.0723848641, -0.0128950728, 0.0305355322, -0.0428646691, -0.0315338112, 0.0210832804, 0.0179146212, 0.0464622118, 0.0022581127, -0.000213018, 0.0877362117, -0.0559662431, 0.0643897504, 0.0109536564, 0.0204021018, -0.0695087463, -0.0244409721, -0.0506684743, -0.0280183069, -0.0596857555, 0.0627288967, -0.0217827708, -0.0035585323, -0.0043172287, 0.0373754241, -0.0128236748, -0.0001882389, 0.0008927218, 0.0114179859, -0.0434885286, -0.0131329149, -0.0320468359, 0.0471346788, -0.0519805476, -0.0001215311, 0.0232270062, -0.0706460625, -0.0462268069, 0.0026894193, 0.0140102468, -0.0352960825, 0.0293326452, 0.041039519, -0.0041177021, -0.0447809659, -0.0218784735, -0.0058084405, -0.0525417514, -0.0488795228, -0.0031594441, -0.0625622347, 0.0429091267, 0.0013742954, 0.0099089304, -0.0528783798, 0.0020911193, 0.0439705737, -0.0414304733, 0.0526872389, -0.0173650607, 0.040191751, 0.0216081478, -0.008068841, 0.0337605625, 0.0695302635, 0.0317514017, 0.0005840057, 0.0418583117, -0.0380464196, 0.021688072, 0.0321397781, 0.0422591716, 0.0211761575, -0.0214430634, 0.0574255995, 0.0279139746, 0.0227089208, 0.0189875793, 0.0620481558, 0.0188854598, -0.0318786167, 0.0577142276, 0.0502874963, -0.0011520721, 0.0184389558, 0.0103944363, 0.0150060775, 0.0124675659, -0.0125319799, -0.0459140427, 0.0609613135, -0.0521568358, 0.0277890917, 0.0296345893, 0.0253948215, -0.0776374862, -0.0216608904, -0.0053318203, 0.0016918269, -0.0300661344, 0.0628344864, 0.0555255488, 0.0357922167, -0.0162785985, 0.028497234, 0.0310261212, -0.0279778671, 0.0030701843, -0.0647821873, 0.0919331908, 0.0610208735, 0.0376988202, -0.0290843304, -0.0373037979, -0.0274537895, 0.0657997057, 0.006824641, 0.0551573336, -0.0159536656, -0.0029404834, -0.0368823446, 0.003320423, -0.018959552, -0.0202710517, 0.0129917879, 0.024546871, 0.0183877833, -0.0098437527, -0.0313405991, -0.0147399493, 0.0165280644, -0.0262190811, -0.0651083887, 0.0374233797, -0.0052154353, 0.0180774312, -0.0136815067, -0.0218740311, 0.0110996328, 0.0407353118, -0.0323339216, -0.0088438131, -0.0416802354, -0.049414929, -0.0696618557, 0.0164311826, 0.0202114433, -0.0197404306, 0.0234887898, -0.0414420068, -0.0683948472, 0.0068350392, -0.0496599264, -0.0587714463, -0.0429494828, -0.0207185261, 0.0278095119, 0.0347449854, -0.058908321, 0.0375880636, 0.0135377795, 0.0256945323, -0.0270037036, 0.0362710208, -0.0145309353, -0.0676742122, -0.0558100119, -0.0076929731, -0.0212615617, 0.028257098, -0.0068938429, 0.0039392104, -0.0412594117, -0.0317949839, -0.0557482913, 0.0273086317, -0.0230633337, 0.021120457, 0.0106329089, 0.0233160015, -0.021183135, -0.0382968001, -0.045506116, 0.0023190679, 0.035516277, 0.0240802374, 0.0146757048, 0.0009888794, 0.0114069348, -0.0356221944, -0.0262095183, -0.0066134622, 0.0266487487, -0.0354197919, 0.0315589197, -0.0695654452, -0.0203564186, -0.0304959323, 0.0372423753, 0.0163472742, -0.050579343, -0.022521846, -0.0384277254, 0.0268376488, 0.0777414441, 0.025238689, -0.0029019071, 0.0419784896, -0.023791682, -0.0418301001, 0.0527570397, -0.0170049183, -0.0488695167, -0.0067362813, -0.0234814696, -0.0085539455, 0.0715891123, 0.0108169252, -0.0268048216, -0.0415140986, 0.0321343243, -0.0124694072, -0.0114918267, -0.0419089422, 0.0313921794, -0.014045828, -0.0124724898, -0.0113108456, -0.0200608224, 0.0781854317, -0.0174500365, -0.0225207545, -0.0581325069, -0.0168078858, -0.036049936, 0.0485663526, 0.0015898708, 0.0092084268, 0.0108802449, 0.0180957466, -0.0452206992, -0.0411877707, -0.0066321199, -0.0387497805, 0.0284370184, -0.0505217947, 0.0371806026, -0.0107182255, -0.0483162887, -0.0319274142, -0.0510469005, -0.0384627506, 0.0045452891, -0.0235682465, 0.0171617661, -0.0157931689, 0.0349184312, 0.0465807319, 0.026820438, -0.0450295322, -0.0006036576, -0.0253941603, 0.049084723, 0.0831768513, 0.05070851, 0.0090779308, -0.013330901, 0.064602837, 0.0384862721, 0.0721692592, 0.0145780537, -0.0267396122, 0.000178325, 0.0179282464, -0.0242265109, 0.0159021355, 0.0381088555, 0.0647321939, -0.044783283, -0.050055366, 0.1202815995, 0.0013543619, 0.0158731975, -0.0132674351, 0.0148794223, 0.0121902097, 0.0156659298, 0.0423056707, -0.0326267295, -0.0498402305, -0.0187253952, 0.0439203903, 0.0136858663, -0.0342257656, 0.0056508109, -0.1040679812, 0.0206898451, 0.0052921921, -0.0779100135, -0.023205664, -0.020433519, 0.0072384477, -0.0060857823, 0.0378680639, 0.0251667425, -0.0347060747, 0.007056911, 0.0427306816, -0.0216256753, -0.0390173309, 0.050859794, -0.028604649, 0.0983530954, 0.0587994866, -0.0186359566, -0.0162355117, -0.0091587715, 0.0070516691, -0.0779703707, 0.0043802639, -0.0061500669, 0.0323554948, -0.013583988, -0.0260119047, 0.0106622549, 0.0526949018, -0.0660415366, 0.0229480807, 0.0403446034, 0.068290934, -0.0053869118, -0.03738866, -0.0140679525, -0.0152407764, 0.0039841495, 0.096544072, 0.018966496, -0.0691971555, -0.0286757816, -0.0051349751, -0.0211681612, -0.0474102385, -0.0249587577, 0.0393086113, 0.0153776202, 0.0181666669, -0.0604054146, -0.0574681871, 0.0519136228, 0.0494782999, -0.0175620075, 0.0341085456, -0.0114554781, 0.0314327218, -0.0258477498, 0.006162412, -0.0925863162, 0.0058168592, -0.0492560975, -0.0196203087, 0.0492311977, -0.0098495865, -0.0038258007, -0.0160004143, -0.0990635231, -0.0403021649, 0.0135479942, 0.0622744039, 0.0149976956, 0.0020924762, -0.0159926526, -0.0751566887, 0.0656606779, 0.0268349424, -0.0404544249, 0.0317037068, -0.0053557395, -0.0085337851, -0.0088859107, 0.0455230996, -0.0590453111, 0.0307479203, 0.0232343078, 0.0332082845, -0.0159131326, -0.0438793041, 0.0209940076, 0.0127388313, 0.009255887, 0.0345365033, -0.0018429045, 0.0004115375, 0.034949407, 0.0197864231, -0.017590588, -0.0131518347, 0.0071660979, 0.0160822105, -0.0499482527, 0.0043496094, -0.0188894216, 0.0036938041, 0.0209606886, -0.0502615571, -0.0155542204, 0.0273939483, 0.0136151239, 0.0297054239, 0.002415657, -0.0375191681, -0.0016079111, 0.0154914632, 0.0423836336, 0.0167249274, 0.0259619057, 0.0283227153, -0.0212139357, -0.0223142765, 0.0088401632, -0.0629799962, -0.0582503751, -0.0272551589, 0.0232929848, 0.0147153232, 0.0147750461, -0.0025207649, 0.0085012801, -0.0116302585, -0.0469326675, -0.0365670398, 0.0155915348, 0.0143267568, 0.0704757124, 0.0354179367, 0.0076212045, 0.0298596136, 0.0899877325, 0.0234630443, 0.0538342632, 0.0306261517, 0.0354129709, -0.0391260572, -0.0048509887, -0.0541100167, 0.012708989, -0.0076558269, 0.0156414174, 0.0049051568, -0.0644421279, -0.0012259841, 0.0218274612, 0.001452888, -0.0398251973, 0.0412539877, 0.040794082, 0.0079366118, -0.0042697936, -0.0232835971, 0.0471592881, -0.0282627456, -0.019509634, 0.0123949088, -6.588554001e-33, -0.0374675207, -0.0025025934, 0.0343853198, -0.0157437138, 0.0429569073, -0.0142468121, -0.0333788581, -0.0097557111, -0.047602918, -0.0206252653, -0.0344803296, -0.0033905099, 0.0116869844, 0.0603084117, -0.0056043006, -0.0300153717, 0.0218996033, -0.0320703052, -0.0286523253, 0.0508783758, 0.0226180684, 0.0212101024, 0.0277869292, -0.0079489378, -0.0031220836, -0.0297119673, 0.0067743403, 0.0240882467, -0.0225065369, 0.0786212981, -0.0211529396, 0.0501823239, 0.0220002271, -0.0254880395, -0.0100921728, 0.0438299216, -0.1013607532, -0.0516417325, -0.013835988, -0.0188735966, -0.0313952491, -0.0192645602, 0.0317101292, -0.0060263197, 0.0027600401, -0.0056424271, 0.0131673049, -0.0147405984, -0.0333032496, 0.0071751913, 0.012072267, 0.0091492571, -0.0103366701, -0.0536334664, -0.0124374516, 0.0261808913, -0.0059917229, 0.0093368879, -0.0122870002, 0.0031361438, 0.0264413301, 0.0530997738, 0.0578954928, 0.0197048597, -0.0177042838, 0.0223531108, 0.0266902838, 0.0012541071, 0.046359729, -0.038208656, 0.0048236549, -0.005637757, 0.0535426587, 0.033850763, -0.0218025297, 0.006817434, -0.0642849728, 0.0389317721, 0.0374035239, 0.0238803178, 0.0528134331, -0.0069396426, -0.0433769412, -0.0243775584, -0.05578411, 0.0480826981, -0.0296392571, 0.0017677782, 0.0639157519, 0.0013337486, -0.0350913852, 0.0019542729, 0.047214672, -0.0486463904, -0.0196793247, 0.0019035554, -0.0046494328, 0.002707799, 0.0073116706, 0.0401913747, -0.0658178031, -0.0078190137, 0.01027859, -0.0108038159, -0.0331081338, 0.0386937484, 0.0043919822, 0.0193788968, -0.0945161283, -0.0213444866, -0.0263593625, 0.0364802852, -0.0235605016, -0.0309982263, 0.0093658334, 0.0334487222, 0.007872723, 0.0603372902, 0.0019280604, -0.064764455, -0.017427709, -0.0203682091, -0.0070857555, 0.0039594336, -0.0272845067, 0.0063518831, -0.0247134585, -0.003046663, -0.0294680223, -0.0335045345, 0.0256253239, 0.0468312278, 2.599e-7, 0.0151489126, 0.0344295055, -0.0016294831, 0.012256912, 0.0507200733, 0.0438224897, -0.0174958631, 0.0343042463, 0.0462285317, -0.00639334, -0.0168462079, 0.0573328622, 0.0293694977, 0.0133184446, -0.0723717064, 0.0197544154, -0.051939778, 0.0507144742, -0.0432247743, -0.0166497417, 0.0203604084, 0.1004003957, 0.0132239992, -0.024536252, -0.0190562271, -0.0678365007, 0.046924185, -0.0047341166, 0.0008412137, 0.028489653, 0.0152279846, 0.0401344858, -0.0226789471, 0.0506683663, 0.0111817718, 0.0221049655, -0.0233723205, 0.0512841828, 0.0204695556, -0.0361022316, -0.0103272712, -0.0223310627, 0.0274157897, -0.0498055443, 0.1081697345, -0.0933602154, -0.0147264879, -0.0090045929, 0.0021837957, -0.0321199484, -0.0108896978, -0.0160976555, -0.0106785959, 0.0045917747, 0.018720964, 0.0051243287, -0.016583316, -0.0801200792, 0.0253998488, 0.031783089, -0.048031792, -0.037793424, -0.0609222427, -0.0012242777, 0.0007968397, -0.0861421898, 0.0165652148, 2.133966731e-34, 0.0007017273, -0.019995112, -0.0021171283, 0.0224281102, 0.0061488072, -0.0224021785, -0.0150737446, 0.0025598595, 0.0334954336, -0.1045475528, -0.0376722552 ]
http://arxiv.org/abs/2310.13297v1
http://arxiv.org/pdf/2310.13297v1
Decoding the Silent Majority: Inducing Belief Augmented Social Graph with Large Language Model for Response Forecasting
2023-10-20T06:17:02
2023-10-20T06:17:02
Chenkai Sun, Jinning Li, Yi R. Fung, Hou Pong Chan, Tarek Abdelzaher, ChengXiang Zhai, Heng Ji
cs.CL
cs.CL, cs.AI, cs.LG
Automatic response forecasting for news media plays a crucial role in enabling content producers to efficiently predict the impact of news releases and prevent unexpected negative outcomes such as social conflict and moral injury. To effectively forecast responses, it is essential to develop measures that leverage the social dynamics and contextual information surrounding individuals, especially in cases where explicit profiles or historical actions of the users are limited (referred to as lurkers). As shown in a previous study, 97% of all tweets are produced by only the most active 25% of users. However, existing approaches have limited exploration of how to best process and utilize these important features. To address this gap, we propose a novel framework, named SocialSense, that leverages a large language model to induce a belief-centered graph on top of an existent social network, along with graph-based propagation to capture social dynamics. We hypothesize that the induced graph that bridges the gap between distant users who share similar beliefs allows the model to effectively capture the response patterns. Our method surpasses existing state-of-the-art in experimental evaluations for both zero-shot and supervised settings, demonstrating its effectiveness in response forecasting. Moreover, the analysis reveals the framework's capability to effectively handle unseen user and lurker scenarios, further highlighting its robustness and practical applicability.
[ 0.0660967976, 0.0808764771, -0.002364333, 0.0094651124, -0.0127143329, -0.0144755384, -0.0143573722, -0.0113945147, 0.0549565032, -0.0272019431, 0.0451931767, -0.0502457619, -0.0568393059, 0.0609448142, -0.0113337953, -0.0173111949, 0.0217957143, 0.0332023725, 0.0380937979, -0.0331188329, 0.0150318537, 0.0396933295, 0.0447924137, 0.020530235, 0.0047509954, 0.0177353006, -0.0038709503, 0.0278829858, 0.0403103977, -0.0414561667, 0.022057334, 0.0530592389, 0.0639561936, 0.0643342882, 0.0000018469, -0.0562911704, -0.0080527989, -0.0366025753, 0.0072430982, -0.0384408608, 0.039689023, -0.0182719883, 0.0317284055, 0.0257338621, -0.0980109051, 0.0282827783, 0.0279515106, -0.0127950637, 0.0360500589, 0.0413233601, -0.0397035442, -0.0545152724, 0.0143078826, -0.0089975772, 0.0282958206, -0.0347192287, 0.0360845961, -0.0300655365, -0.0331196524, -0.0178513508, -0.0133636883, 0.0106669199, -0.0105375089, -0.01163866, 0.0359845273, 0.0214891452, -0.0005969461, -0.04884151, -0.0101073962, 0.0552636236, 0.0410835668, -0.0465227067, 0.0431355201, 0.008331567, -0.0137058841, 0.0681933686, -0.0592363589, -0.0316208415, -0.0043683546, 0.0561450012, 0.0076967641, 0.0226256475, 0.018087348, 0.0179621875, -0.0103471959, 0.0678933263, 0.003175071, 0.0087544201, -0.0210502464, 0.0486612953, -0.0111572305, -0.0496060625, 0.0225994121, 0.0124286665, -0.0228718892, 0.0061440682, -0.0205093306, 0.0174290538, -0.0103742406, -0.082184568, -0.035930384, -0.0037531001, 0.0784821361, 0.0632083863, -0.0035909154, -0.0641175583, -0.0177561007, -0.031555701, 0.0400079191, -0.0033227366, -0.0674137846, 0.0242946725, 0.0075394637, -0.0009035868, 0.0145481527, -0.0337493569, -0.0446077995, 0.019935241, -0.0331794843, -0.0114128292, -0.0418523513, 0.0298326258, -0.0134680457, -0.0220371336, -0.0172981452, 0.0387412682, -0.0224474408, 0.0269998405, -0.0105851544, -0.0281062461, 0.0327277668, -0.0159075223, 0.0507092848, 0.0173902698, 0.000809148, 0.0295919236, 0.008037108, -0.0362509191, -0.0381849185, -0.029003812, 0.0062268111, -0.0432959758, -0.0014202156, -0.0762193128, 0.0440025255, 0.0578768067, 0.0025639413, -0.0302441679, 0.0140463887, 0.0017853013, -0.056746874, 0.0256788526, 0.0057594962, 0.0381808877, -0.0273030307, 0.032539472, 0.0520282313, 0.0777363181, -0.0060419315, 0.0516479127, 0.0596824288, 0.0236083493, -0.0079663517, 0.0311309118, 0.0432442687, 0.0160657037, -0.0018702672, 0.0028127879, -0.0608827472, -0.0483651906, -0.0046557575, 0.0195454918, 0.0000933947, -0.0001310927, 0.0566496179, 0.0760118663, -0.0633647069, 0.0361460857, 0.009209943, 0.0294416435, -0.026835788, -0.0217739008, 0.0038801564, 0.0304862335, -0.0465338789, -0.0217984132, 0.0292822588, 0.0319431536, -0.0519082732, 0.020523252, 0.012325217, -0.0273417942, 0.0610748529, 0.0320275761, 0.005103664, -0.0238098688, -0.0440583006, 0.0387150422, 0.0394978561, -0.03549679, 0.0371691138, -0.0282871705, 0.0092186192, 0.0590876192, 0.0222436152, -0.0114482678, -0.0030587015, 0.0005107449, 0.0368891731, 0.0026722711, 0.0292807929, 0.0074474066, -0.0141945863, -0.0244107284, -0.0247524288, 0.0458103195, 0.0122072473, 0.0375842825, 0.0331125408, 0.0263516139, -0.0070654266, -0.0113816755, 0.0066372603, -0.0310906973, -0.0081578437, 0.0168215781, -0.0115145836, -0.0081572933, 0.0492044054, 0.0721259788, -0.0022041628, -0.0267877616, 0.0158739425, -0.002056269, -0.0489386804, 0.0062463889, -0.0071430062, -0.0070050084, 0.0203672145, -0.0342123657, -0.0620085672, 0.0348472036, -0.0039064046, -0.0150794657, 0.0708647519, -0.0066014789, 0.0565761104, -0.0189931225, -0.0651780218, -0.045448672, 0.0133291213, 0.0037092827, 0.0369837172, -0.0102387285, -0.0093183229, -0.016217446, -0.0616454333, -0.0152241131, 0.0048294421, -0.033661399, -0.0280027445, 0.001560258, 0.003883502, 0.0708333775, -0.0511622839, -0.0525141209, -0.022951955, -0.0589924231, -0.0151151167, -0.030794654, -0.0129969912, 0.0282262154, 0.0309236553, 0.0074178013, -0.0067466903, -0.0483823568, 0.0455555879, 0.0358652174, 0.0344524272, -0.0093198381, -0.0187788233, 0.0012703161, -0.0390150286, -0.0190678332, -0.0383294784, 0.0522108451, 0.0667491853, -0.0452104211, 0.0135337999, -0.0048131924, -0.0734690726, -0.0014861451, -0.0158406068, -0.0338877887, -0.0094327619, -0.029752396, 0.0236842614, 0.0034226109, 0.0340764113, 0.0023437287, -0.0014927783, 0.0115282312, -0.0372237712, -0.0417639911, -0.102283217, -0.0184402019, -0.0634184256, -0.0414441377, -0.0139695657, 0.0205041748, 0.0301069301, -0.0129097542, -0.0765207335, 0.0176125485, -0.0010539303, -0.0119012976, -0.0100484779, -0.0338210575, 0.0090660332, 0.037759807, -0.0180436205, -0.0118198562, 0.070150204, 0.0344929583, 0.038559366, 0.0359857008, -0.026069304, -0.0270692948, 0.0125244409, 0.0468735658, 0.0138052003, -0.0391096137, 0.0068641626, -0.0004494292, -0.055119969, 0.0222843848, -0.025638029, 0.0070913429, 0.0354732685, 0.0255384557, 0.0354769044, 0.0050682407, -0.0061538462, -0.0909301862, -0.0535374098, -0.0190316718, -0.0046160854, -0.0424440019, 0.0214728955, 0.0017808583, 0.010215559, -0.0494013131, -0.004165377, -0.0353769697, 0.0109784957, 0.0297246762, 0.0340382196, -0.0426240414, 0.0348724797, -0.0471976623, 0.015853269, 0.0475934111, 0.0565621108, -0.0314211361, -0.0384626165, -0.0321937539, 0.0092605827, 0.0538255908, 0.0108776689, 0.0085662901, 0.0824050754, 0.0252856854, 0.0383412093, 0.1069094017, 0.0239496324, -0.0493333749, -0.0120342635, 0.0168369804, 0.0582799688, 0.0383910909, 0.0072937785, -0.0785131529, -0.01856515, -0.0257565659, 0.0170480497, 0.0085051572, -0.0895241797, 0.0115814609, -0.0760509819, 0.033030916, 0.017378075, 0.0408065096, -0.0026006536, -0.089069277, 0.024951214, -0.0196415149, -0.0622422807, -0.0356427543, 0.0166874137, 0.0143031366, -0.0099610128, -0.0555771478, -0.0192826036, 0.0285518076, -0.0301082283, 0.038796939, 0.0229214579, 0.0449077822, -0.0088910321, 0.0145191718, -0.006884844, 0.0117471498, 0.0030145997, -0.0050915899, 0.0622354485, -0.0032542809, 0.0379973799, -0.0469706319, 0.0468472727, -0.0416110791, -0.0392217152, -0.01003116, 0.0491822511, 0.0175205544, -0.0662802011, -0.0114851054, 0.0280461572, 0.0348234065, 0.0474483594, 0.0581177771, -0.0228135847, -0.0310731549, -0.0194108393, 0.0276428983, -0.0456294753, -0.0732936487, -0.0474695563, -0.0175046138, -0.030721521, -0.0240285695, -0.0073182988, -0.03532416, 0.0121834073, -0.0116256028, -0.0181873981, 0.0602527186, -0.0379434675, -0.0404845439, -0.0029629436, -0.0108434688, 0.0350346267, 0.0076358174, 0.0123318629, 0.0173663069, 0.0222176891, -0.0103721255, -0.012553744, -0.0728172883, -0.0978273973, 0.0285686329, 0.0359260812, 0.031629391, 0.0329584554, -0.0128486091, -0.0116978902, 0.0782960728, 0.0586110316, -0.0218384117, 0.0141822416, 0.0331410021, 0.0386501476, 0.0097756591, 0.0259032678, -0.0107458299, 0.0202305876, 0.0143969879, -0.0287756119, -0.08635097, -0.0262248702, -0.0329934284, -0.0161054078, 0.0531774387, 0.0117483409, -0.0491509549, -0.0324009247, -0.0691427588, -0.0287163891, -0.0028356549, -0.0118548619, -0.0236706864, 0.0353121124, -0.0032810878, -0.0452473834, -0.017437445, -0.0462911427, 0.0407622531, -0.0681457594, 0.0331443287, 0.0303869098, -0.0008621617, 0.0466923714, -0.0095166815, 0.0034390967, -0.0048810523, 0.0255485233, 0.0135691445, 0.0069433777, 0.0040359446, -0.0148561774, -0.0123727396, -0.002847031, -0.0155142201, -0.1013918966, -0.0409168527, -0.0304550361, 0.0164357666, -0.0028096379, -0.0017559432, 0.0430698059, -0.0018405173, -0.0028007526, 0.0155045101, 0.047237128, -0.0392490551, -0.0580628067, -0.0110900346, 0.0066070762, -0.0237884708, 0.051621832, 0.0510878526, -0.0027337389, 0.0038831367, 0.0303036403, -0.0740063116, 0.0030762597, -0.0070747128, 0.0192911066, 0.0530229695, 0.0131804701, 0.0378859863, -0.0676308796, -0.0705231577, 0.0295655131, -0.0349031128, 0.0033719249, 0.0123680308, -0.0047003916, 0.0337922014, 0.0117840348, 0.050133016, -0.0620065108, 0.0097710481, -0.0201189518, -0.0396739915, -0.000402771, -6.663059772e-33, 0.0334612504, -0.0399712138, -0.0495275334, 0.0301552601, -0.0295220912, 0.0181736648, -0.0641498864, -0.0123162279, -0.0048398632, 0.0105997343, 0.0055390815, 0.0401210636, -0.0036977797, 0.015409857, 0.0143606449, -0.012360597, 0.0258599762, 0.0010568722, 0.0112909088, 0.0377551541, 0.0427226573, 0.0149947489, -0.0073599005, -0.0724219531, 0.0278322548, -0.0235770214, 0.0192512069, 0.009778521, 0.0724839419, 0.0020123627, 0.0040801414, 0.0548096262, 0.0257971808, -0.0178265255, 0.0084029175, 0.0732996687, -0.0507740378, -0.0579426736, -0.0289950352, -0.040894758, -0.0086619286, 0.039830666, 0.0033129388, -0.0065395883, -0.0216463879, 0.0004391376, 0.0370438173, 0.0241805408, 0.0232810359, -0.0348279849, -0.0238638967, 0.0147943124, -0.0367718078, 0.0257327184, -0.0238059051, 0.0477495268, 0.0228996295, 0.0282399245, -0.0903283954, 0.0365283675, -0.028712742, -0.0373077244, 0.0065972451, -0.0083072344, 0.0099039664, 0.0824164227, 0.0311691388, 0.0360569134, -0.0276368801, 0.0048159687, -0.0244364124, 0.0122677637, 0.0059133503, 0.100314416, 0.0124151343, -0.0443390608, -0.0782993659, 0.0172304753, 0.0619400851, -0.0223490782, 0.0766585171, 0.0168294683, -0.0278790109, -0.0459040478, 0.0071921516, -0.0241870508, -0.0187539235, -0.020423213, -0.0423504673, 0.0320275277, -0.048623383, 0.0245418344, 0.0589180738, -0.0452085808, -0.0413141549, 0.0740826353, -0.0000925562, 0.022361936, 0.0192759745, 0.0256586187, -0.0651871189, 0.0086089363, -0.0025246828, 0.0023156276, -0.0116452249, -0.0179236345, -0.022366073, 0.0390987284, -0.0440565646, -0.0189866722, -0.0116263097, 0.0206886604, -0.0274677966, -0.0510655418, 0.0441943891, 0.0588534288, -0.0128544681, 0.0172307808, 0.0500585288, 0.0273173749, 0.0477174632, 0.0164508, -0.0067554996, 0.0048332028, -0.0272498652, -0.0196510553, -0.009365364, 0.0026244482, 0.0023792416, -0.042238161, -0.0294779148, -0.0298418365, 2.648e-7, 0.0213701371, 0.0534872152, -0.0261542667, 0.0018535014, 0.02536924, 0.0456757061, 0.031934306, 0.0501709133, 0.0366625749, -0.053965684, 0.0195351206, 0.0524916016, 0.016189849, 0.0763270706, -0.061120335, 0.0150870429, -0.0512683094, -0.0188870896, -0.0375975221, 0.0036323408, 0.0153678758, 0.0331334136, 0.0751731768, -0.0000994191, 0.0051233172, -0.028991824, 0.051722046, -0.0152720883, -0.0525884852, -0.0083715999, 0.0248041786, -0.0394017175, -0.0045920522, 0.0146594131, -0.0518629663, -0.0019532444, -0.0344846882, -0.0158786289, -0.006475585, -0.004820216, 0.0064593321, -0.0156181436, 0.0108361319, -0.0239182003, 0.0470286049, -0.0811730176, -0.0592624694, -0.0298931189, -0.0421632789, -0.0268980134, 0.0130117061, 0.0072199972, -0.0234844685, 0.0040248879, 0.0059580328, 0.0145406285, -0.0112336418, -0.0686617941, 0.0074961293, -0.0135271838, -0.0523521677, -0.0657891706, 0.0198876206, 0.0015140418, 0.0216952469, -0.0126344208, 0.0801056176, 2.422974185e-34, 0.0540644675, 0.0331433341, -0.019564461, -0.0270581804, 0.0418260843, -0.0096527804, -0.0294909757, -0.0150858257, 0.0895110816, -0.0565971844, -0.0104871141 ]
http://arxiv.org/abs/2310.13291v1
http://arxiv.org/pdf/2310.13291v1
Assessing Privacy Risks in Language Models: A Case Study on Summarization Tasks
2023-10-20T05:44:39
2023-10-20T05:44:39
Ruixiang Tang, Gord Lueck, Rodolfo Quispe, Huseyin A Inan, Janardhan Kulkarni, Xia Hu
cs.CL
cs.CL, cs.AI, cs.LG
Large language models have revolutionized the field of NLP by achieving state-of-the-art performance on various tasks. However, there is a concern that these models may disclose information in the training data. In this study, we focus on the summarization task and investigate the membership inference (MI) attack: given a sample and black-box access to a model's API, it is possible to determine if the sample was part of the training data. We exploit text similarity and the model's resistance to document modifications as potential MI signals and evaluate their effectiveness on widely used datasets. Our results demonstrate that summarization models are at risk of exposing data membership, even in cases where the reference summary is not available. Furthermore, we discuss several safeguards for training summarization models to protect against MI attacks and discuss the inherent trade-off between privacy and utility.
[ 0.049985718, 0.0838874355, 0.0005116975, 0.047391884, -0.0367269404, 0.002535444, 0.0258524902, -0.0249402411, 0.017742468, -0.0397539511, -0.014027942, -0.0028264094, 0.0059258286, -0.0047073257, 0.0140472399, -0.0106633045, 0.0311890934, -0.027882833, -0.0095814848, -0.0156419035, -0.0039871093, -0.0060423338, 0.0370034948, 0.0419676788, 0.017189296, 0.0010186896, 0.008076244, -0.0231623966, 0.0193890911, -0.0083970297, -0.0236732438, 0.070741877, 0.0057052746, 0.0604702048, 0.0000016092, -0.0295359828, -0.0857252777, 0.0515791662, -0.0371058621, 0.0066249166, 0.0460227095, -0.0153320413, 0.0443778448, 0.0194823761, -0.0051217373, 0.0238505788, 0.0188321788, 0.0609521046, 0.080671005, 0.0783386901, -0.0093569728, 0.0141403424, -0.0023667382, -0.041351065, -0.0291377641, -0.0372676328, 0.013032753, -0.0357966051, -0.0304385182, 0.0109323021, 0.0231953859, 0.0444769002, 0.0001287397, 0.0370072164, -0.0165388864, 0.022095535, -0.0516952164, -0.0192211233, 0.0154156825, 0.0241835173, 0.0320454948, -0.0185598712, 0.0283807516, 0.0413191877, 0.0458220318, 0.0493989773, -0.0275382027, 0.0679532513, -0.0114610782, 0.0276462398, 0.0068033743, 0.0127558373, 0.0354670845, -0.0009808893, 0.0141956666, 0.045687709, 0.0050666193, 0.0084266141, -0.045967076, -0.026244998, -0.0221593026, -0.0722194389, 0.0230012611, 0.0041517401, 0.054013148, 0.0211258437, -0.0897947252, -0.0690243691, 0.0320432223, -0.0532996543, 0.0006987221, -0.023135202, 0.0388204418, 0.0533960983, 0.0121849133, 0.0035868478, 0.0368770212, 0.0394007005, -0.0092039509, 0.0074028121, -0.0068577477, -0.0282071196, 0.0040517421, 0.0750244334, -0.0374607556, -0.0111101884, -0.0197787713, 0.0312292837, -0.0234331414, 0.0311934557, -0.0523829982, 0.0001786976, -0.0149802575, 0.0008639047, 0.0078701461, -0.0537740886, 0.0109403515, -0.0149535462, 0.0074357148, -0.0496613234, -0.0306477826, -0.0393287912, 0.0095774326, 0.0084935315, -0.0424810089, 0.0734342337, 0.0176826492, -0.0665062815, -0.0152907986, -0.1055331156, 0.009776541, -0.0287200511, -0.0079444051, -0.0582027659, -0.0005209843, -0.0119244447, -0.0066742003, -0.0413962267, 0.0003141169, 0.042217128, -0.0483496189, 0.0457201861, -0.0217556041, -0.0132437404, -0.0112420833, 0.0404269397, 0.0015925081, 0.057683818, 0.0066388855, 0.0258851629, 0.0840797126, 0.025348125, 0.036166504, 0.0080834571, 0.0456962027, -0.0067893462, 0.010086921, -0.0060867397, 0.0006294888, -0.091030933, -0.049501434, 0.0530208722, -0.0093282061, -0.0504924729, 0.0998144969, 0.1045643762, -0.0425860956, -0.0001118563, -0.0532183535, 0.023391068, 0.014039373, 0.0496598817, -0.056683559, -0.0267876219, -0.1044273153, -0.0137098236, 0.0420216657, -0.0034869325, 0.002850909, -0.0192825422, -0.0027973761, -0.0405015759, 0.0302520338, 0.0212631226, -0.0028215284, 0.0271169394, 0.049057439, 0.0589919984, 0.0286214445, -0.0729339495, 0.0027236498, -0.0340903439, 0.0194747727, 0.0115804002, 0.0800473839, -0.0405562483, 0.0321205072, -0.0525650159, -0.0289165564, -0.0067284456, 0.0387914293, -0.0056692241, 0.0463119783, -0.0065425579, -0.0350189954, -0.0091485577, 0.0605827533, -0.0067831976, 0.0370404832, -0.0412574895, 0.0433825701, -0.051277712, -0.0460987017, 0.0215229709, -0.0158720724, -0.0448940732, 0.0064401939, -0.0115212044, 0.0191467106, 0.0444738828, -0.0132918004, 0.0279875044, 0.0203370098, 0.0065357173, -0.0050001941, 0.0144910514, 0.0289885569, 0.0013587817, -0.0043513277, -0.0425902344, 0.0092006875, 0.0687810928, -0.018654963, -0.0252290051, 0.0102589363, -0.045075018, 0.0288563296, -0.0052690143, 0.0106731411, -0.0122517943, 0.0360659584, -0.0247028358, 0.0449378081, -0.0307423901, 0.0191021618, -0.0028249249, -0.049424585, 0.00005593, -0.0480739027, -0.0496522337, -0.0032643224, -0.0234943945, 0.0087972842, 0.0423302948, -0.0444764867, -0.0035768945, 0.0006108899, -0.0392281674, 0.0075393538, 0.000989154, 0.0322064683, 0.0186792575, 0.032046508, -0.012700689, -0.032034412, -0.0136959953, -0.0746994689, -0.0200858209, 0.0540428646, 0.0220957529, 0.0119302785, 0.0140788937, -0.021447178, -0.028873859, 0.0014523203, 0.0796274021, -0.019244438, -0.01772267, -0.0059402818, 0.0125109358, -0.0164850801, 0.0389358364, -0.0010906172, 0.0253905244, -0.0309262536, 0.0185528435, -0.0252031535, 0.0316291042, 0.0215846132, 0.0254942235, 0.0443859883, 0.0191869009, -0.0182489473, -0.0313711725, -0.0197501332, 0.0154571123, -0.0146492906, -0.037808992, 0.0490010791, 0.0197688714, 0.0193135086, -0.0480588339, -0.001563187, 0.0582315512, -0.0139937457, -0.0369076841, -0.0124418791, -0.0150501234, 0.0074055009, 0.0309041161, -0.0224088766, -0.0552978814, 0.0481140316, -0.0511744544, 0.0591157712, -0.0409935676, -0.0413258933, -0.0017248217, 0.0616789944, 0.0407835469, 0.0412798598, 0.0561638884, -0.0229173768, -0.0091702091, -0.0018045931, 0.0727076754, -0.0463332534, 0.0600200668, -0.0134111652, -0.0074392362, -0.0074716541, -0.0077094119, -0.0391900018, -0.062686801, -0.0136527326, 0.0127271833, 0.0016192815, 0.0011161492, -0.0312108565, -0.0017309008, 0.0455741063, 0.0289771371, -0.0210150406, 0.0022531203, -0.0286135729, 0.0432480797, 0.0399890207, -0.0564231984, 0.031480182, -0.0602382161, -0.0278267916, 0.07747145, 0.0558222793, 0.043469727, 0.0361394472, -0.0620098338, 0.0002431997, -0.0579793751, -0.0192326996, 0.0042869542, 0.02223498, -0.0526749529, 0.0071822694, 0.0782573074, 0.0115481438, -0.0572323725, -0.0079514356, 0.0462806933, 0.0028406763, -0.0078134565, -0.0306083821, -0.0812840611, 0.000015435, 0.0412725322, 0.0505192615, -0.0380375199, -0.0596985444, -0.0348625556, -0.0909576267, -0.0142057026, -0.003987391, -0.0355706103, -0.0415442698, -0.0571972281, 0.0233322289, -0.0090847611, 0.0006635218, -0.0365942121, -0.0100498442, 0.0037611441, 0.0051627387, -0.0570881739, -0.022952402, -0.0471186787, -0.0430265702, 0.0164173208, 0.0570881851, -0.0060899369, -0.0198931731, 0.0360294282, 0.0405101143, 0.011558787, -0.0403410234, 0.0264826026, 0.1121163741, -0.026730014, 0.0255940203, 0.0055887634, 0.0539547689, 0.026346948, -0.003909267, 0.0007973257, 0.0003778856, -0.0053933887, -0.014371655, -0.0275138449, 0.0013579784, -0.0160244238, 0.0669837072, 0.0183299296, 0.0128090428, 0.0072545209, -0.0459111184, 0.0533535406, 0.0128743285, 0.0197472908, 0.004092291, -0.0169545133, -0.0607948564, -0.0538204797, -0.0068783625, -0.024851229, -0.0052598342, 0.0286852568, 0.026059676, 0.0356269479, -0.005618942, -0.0168848783, 0.0084595466, -0.0721845701, -0.0021606751, -0.009603315, -0.0032609208, 0.0219487548, 0.0103097484, -0.0326622277, 0.0124790622, -0.079060562, -0.0779648945, -0.006967654, 0.038993828, 0.0252250377, 0.0684005246, -0.0227284171, -0.0712698102, 0.0674921796, 0.0536153466, -0.0038072385, 0.0048332876, 0.0343990698, -0.023309119, 0.0008938061, 0.0377865881, -0.054564897, -0.0126859201, 0.0307142101, -0.0385652967, -0.0268958583, -0.0331766903, -0.0207516253, 0.0421093442, 0.0140592754, 0.0359596722, 0.0424188823, -0.0420062505, 0.0136110289, -0.0273918994, -0.0197190028, -0.0276495367, 0.0062788818, -0.0052392753, 0.0140445679, 0.0251188409, 0.0009020416, 0.019970376, 0.0599327832, -0.0544485822, 0.0042382288, 0.0285322983, -0.0236044675, -0.0128135923, -0.0141675351, -0.0410696268, 0.0298908371, -0.0190646406, 0.0211514551, -0.0031318702, -0.0017854538, 0.0084655061, -0.0177532285, -0.0061705858, 0.0430514365, -0.0891618654, -0.024152169, -0.0338676497, 0.0295386966, -0.0177585222, -0.0416425243, 0.0070669097, -0.0235658661, -0.0046796938, -0.0250763837, 0.0015158246, 0.0157115422, -0.0228716135, 0.0005657591, 0.0080788983, -0.0103291133, 0.0507471859, 0.1173393354, 0.010340591, 0.0325472988, -0.0109985555, -0.0604085922, -0.0438930877, -0.0334089659, 0.0109030232, 0.0522063449, -0.0234121103, -0.0027952136, -0.0531312972, -0.07334584, 0.0195683949, -0.008469726, 0.0398899578, 0.0038976062, -0.0037545597, 0.0139810815, 0.0185358748, -0.0246788468, -0.077585943, -0.0146104386, 0.0042679808, 0.0149224307, 0.0063978429, -5.065089812e-33, -0.01861622, -0.0093101114, -0.078373298, 0.0508053452, 0.0347593538, 0.0265938397, -0.0145392036, -0.0050282949, -0.0143163912, -0.0395899415, -0.0444621593, 0.0314260013, 0.0009340085, 0.0541931204, -0.0297129303, -0.0170419142, 0.0448671058, -0.0077772392, -0.0481427535, 0.0233323574, 0.0646963045, 0.0103184376, 0.0379856788, -0.0546194129, 0.0581720136, -0.0125273438, -0.0329504348, 0.0012987099, -0.0259496178, 0.0358544439, -0.0014606992, -0.0163917467, 0.0170475282, -0.0069440827, -0.0152025027, 0.0016139494, -0.0461680852, -0.0240696855, -0.0125697888, -0.0319192261, 0.0218382012, -0.0392239876, 0.0580433235, -0.0240378547, 0.0255567133, -0.0334016643, 0.0210193712, -0.0450260229, -0.0363924429, -0.0510976426, 0.0176818427, 0.0290098675, -0.0180121809, 0.0094927941, 0.0710002705, 0.0288857277, 0.0208804701, -0.0416496135, -0.0152632147, 0.0205563661, 0.0807656571, 0.017474724, 0.0397919528, 0.0016082335, 0.0398654565, 0.0585491173, 0.0323654898, 0.0115992529, 0.0102668926, 0.0017217438, -0.013914614, 0.0136641515, 0.009734395, 0.0276906434, 0.0275149103, 0.011404939, -0.0165368672, 0.0291067306, -0.0243767016, -0.0204019826, 0.083420828, -0.0225425828, -0.0522250943, -0.0176640078, -0.0511481389, -0.0317298621, -0.02083968, 0.0208673421, -0.0218161903, 0.0313834585, -0.0642465651, -0.016195232, -0.0018237571, -0.0571529567, -0.0178796276, 0.0367277041, 0.0426229015, -0.0334973559, -0.0126225883, -0.0279036239, -0.0311527662, 0.0274869688, 0.0027090181, -0.0514301807, 0.0101517849, 0.0116377473, 0.0787656531, -0.0100233741, -0.0520869344, -0.0132332761, -0.0029449486, 0.0594187826, 0.0124244764, 0.0385233574, 0.0479557104, -0.0240164082, 0.0104168635, 0.0197159145, 0.0175407603, 0.044497896, -0.0325387828, 0.0631232411, -0.0302020349, -0.0386014022, 0.0140000386, -0.0313200802, 0.0181363784, 0.0303711835, 0.0862735957, -0.0070822076, 0.0092613995, -0.0302415136, 2.388e-7, 0.0317716449, -0.0115962438, 0.0166059751, -0.0064280084, 0.0051415274, 0.0742842183, -0.0019562636, 0.0706564113, 0.0113557316, 0.0231244192, -0.0124883726, -0.0017864917, 0.03486339, 0.0437030308, -0.0658078045, -0.0151145319, -0.0409367643, 0.0043199146, -0.0352051929, -0.0282025933, 0.0058552669, 0.089910686, 0.0353703611, -0.0053366097, -0.0346540026, -0.0618457235, 0.009752064, -0.0513231568, -0.0436277576, 0.0031694204, 0.0805664659, 0.062421795, 0.0191883668, -0.0029560265, -0.0408912152, 0.0181305502, -0.0160293039, 0.0535907857, 0.0369745083, -0.0113369776, -0.0010316335, -0.0534664243, 0.0040369788, 0.0023138949, 0.0635375679, -0.0303128436, -0.0399877466, -0.0564767979, -0.0103889983, -0.056873098, -0.0077234861, 0.0140907578, -0.0160636883, 0.0403137095, -0.022587914, 0.0007955555, 0.0294021834, -0.0666975826, -0.0366629735, -0.0486790463, -0.0088493628, -0.0315667279, 0.02381186, -0.0023131797, -0.0302102212, -0.0601937249, 0.0208427925, 2.599175737e-34, 0.0128893042, -0.0092498139, -0.0491536669, 0.0298857111, 0.0324850529, -0.0435359403, 0.0304828845, -0.0056729182, -0.0142472973, -0.0667089522, -0.0210238658 ]
http://arxiv.org/abs/2310.13290v1
http://arxiv.org/pdf/2310.13290v1
Interpreting Indirect Answers to Yes-No Questions in Multiple Languages
2023-10-20T05:43:33
2023-10-20T05:43:33
Zijie Wang, Md Mosharaf Hossain, Shivam Mathur, Terry Cruz Melo, Kadir Bulut Ozler, Keun Hee Park, Jacob Quintero, MohammadHossein Rezaei, Shreya Nupur Shakya, Md Nayem Uddin, Eduardo Blanco
cs.CL
cs.CL
Yes-no questions expect a yes or no for an answer, but people often skip polar keywords. Instead, they answer with long explanations that must be interpreted. In this paper, we focus on this challenging problem and release new benchmarks in eight languages. We present a distant supervision approach to collect training data. We also demonstrate that direct answers (i.e., with polar keywords) are useful to train models to interpret indirect answers (i.e., without polar keywords). Experimental results demonstrate that monolingual fine-tuning is beneficial if training data can be obtained via distant supervision for the language of interest (5 languages). Additionally, we show that cross-lingual fine-tuning is always beneficial (8 languages).
[ 0.083473824, 0.0135226734, -0.0345581956, 0.0580865517, -0.0471703336, 0.0236884467, 0.0154965287, 0.017093366, 0.0057429103, -0.0426634848, -0.0453613438, -0.0535467304, -0.0407349877, 0.0212794784, 0.0012007626, -0.0253381878, 0.0685995743, -0.0206909422, 0.0132546257, -0.0376441739, -0.0007308791, 0.0058896337, -0.0188850686, 0.0004436625, -0.0116687492, 0.0111382985, -0.0575718209, -0.0198616646, -0.0152124222, 0.0019639302, 0.037575189, 0.059304595, -0.0043484531, 0.0124691818, 0.0000015841, -0.0428870358, -0.0209535677, -0.0320383199, -0.0031787048, -0.018179642, 0.0259393342, -0.0382425413, 0.040251784, -0.0008131902, -0.073511824, -0.0139034921, 0.0942550823, 0.0481451601, 0.055905018, 0.0416985191, 0.0188259203, -0.007959879, -0.0175467394, -0.0216383189, 0.0387255177, 0.0166012608, 0.0145518063, 0.0050054742, -0.0507707633, 0.0052302238, -0.0550835282, 0.0542410947, 0.0221050549, 0.0394398011, -0.0171428993, 0.0118750017, -0.014003804, -0.0629479066, 0.0110795554, 0.0762862489, -0.0140216975, -0.0202432778, -0.0185123961, -0.0092411237, -0.0251937248, 0.0274139214, -0.0074618533, 0.0170057211, 0.0097319251, -0.0102851251, 0.0179119837, 0.0168132726, -0.0354451872, 0.0050262213, -0.0302397665, 0.0672090277, -0.0039031627, -0.0501007922, 0.0235630646, 0.0005259815, -0.0273128953, -0.0168931428, 0.0265912693, 0.0086856717, -0.0176053047, 0.0166310035, 0.0171315838, 0.0196696594, 0.0798119083, -0.0579322502, 0.0056587011, 0.0341497175, -0.0543528348, 0.0416094735, -0.0136101702, 0.021463709, -0.0246498175, 0.0348837301, -0.0088448869, -0.036115054, -0.0438171588, -0.0129701691, -0.0038346334, 0.0216925424, -0.030457655, 0.030191794, -0.0339616649, -0.0114812236, 0.0099544758, 0.0245392714, -0.0219937582, 0.0174351092, -0.047436852, 0.0056112101, -0.0452972166, 0.1012844592, -0.0905204862, 0.0256645214, -0.0559446961, -0.0481762029, 0.0210027639, 0.0151654631, 0.0155352112, -0.0283493735, 0.0282574836, 0.0778330937, -0.0150015922, -0.0131722959, 0.0114299702, -0.0321342945, -0.0254371595, -0.0872923583, -0.0063740145, -0.0309740193, 0.0540561937, 0.0362615287, -0.0249638446, -0.0136053478, 0.036242716, 0.0048600156, -0.0076560508, 0.071744293, 0.0366320647, -0.0018075607, -0.0209297556, -0.0032438899, 0.0009266537, 0.0629392564, -0.0149764437, 0.0263401419, 0.0795421004, -0.0525327176, 0.0228194073, 0.0015326479, 0.0385957733, 0.0267133005, -0.0146340067, 0.0720190331, 0.0197719, -0.004400875, -0.0108968904, 0.0510198511, -0.0061714463, -0.0562994145, 0.0687808096, 0.0168662686, -0.0496891104, -0.021396827, 0.0007575664, 0.029035354, -0.0237555746, 0.0236034021, -0.0648883879, 0.034866672, -0.0264715385, 0.0151461642, -0.0178204272, 0.0008115463, -0.02911398, -0.045013383, 0.0212324709, -0.0088275606, 0.0330369063, 0.0456653014, 0.0757998303, -0.0128012467, -0.0236950461, 0.0317435302, 0.0357703753, -0.0624794476, 0.002470514, -0.0348179713, 0.0742657036, -0.044324819, -0.0337026529, -0.0086661018, -0.0424381644, -0.0263864938, 0.0252873972, 0.0464494564, 0.0802235007, -0.0252615046, 0.0752205551, -0.0295525547, -0.0112240529, 0.0347089767, -0.0047443206, 0.0251629427, 0.0011073211, 0.0179800019, 0.0262436103, -0.038490843, -0.0178140644, 0.0236931555, 0.0131865721, -0.0370568484, 0.0128992004, 0.0442660265, 0.0429491773, 0.0164775271, -0.0035306178, 0.0044985311, 0.0549487993, -0.0294618923, -0.0181742646, -0.0383924693, -0.0360715799, -0.0031761907, 0.021450704, -0.0180379953, -0.0372007899, 0.0240669493, -0.0251078829, -0.040175695, 0.0259478241, -0.0168816783, 0.006971763, -0.0456989594, -0.0032385786, -0.0316875316, 0.0142638627, -0.0477468595, 0.0542858578, 0.0057923524, 0.0716373548, -0.0127892066, -0.0564019121, 0.039783854, -0.0212275963, -0.022913551, 0.0356868692, -0.0205111615, -0.011134618, 0.0474151708, 0.0303527899, -0.0671002641, -0.0366237611, -0.0588798411, -0.0018928109, -0.0174298808, 0.0496536382, 0.0230054241, 0.0277403388, 0.0063954643, -0.0641166493, -0.0625528544, -0.0081113726, -0.0064725131, 0.0542099513, 0.0326417722, 0.0385355912, -0.0107450802, -0.0352219194, -0.0261707753, -0.0202586502, 0.0011571667, -0.0095005482, -0.0337210782, -0.0123292021, -0.0193030629, -0.0492964424, 0.0529573187, -0.0031910138, -0.0562669449, 0.0134105291, -0.0361488312, 0.023665553, 0.0690466538, -0.0060963584, -0.0496535264, 0.0485037901, -0.014553518, -0.0651651099, 0.0191115048, -0.0483020134, -0.0516299941, 0.0021772748, -0.0606105663, -0.0318545252, 0.0356700793, 0.038336277, -0.0235465355, -0.074369207, -0.0111564416, -0.0289806705, -0.0304272603, -0.0432029255, 0.0386635326, 0.0209714118, 0.0697692335, 0.0209041499, -0.0329393409, 0.1049200296, 0.0106923189, -0.0663111955, -0.0549463853, -0.0182544142, -0.0345145315, 0.0709944442, -0.0186594464, 0.0019866647, 0.0157920178, -0.0146396086, -0.0637376234, -0.0679572895, 0.0406465605, -0.0272728112, 0.0098144924, -0.0104970327, -0.0328170694, -0.0292313416, -0.0344947167, -0.0344586298, -0.0760279, -0.0113720642, -0.0108978553, -0.0144972466, -0.0179023128, -0.0025681376, 0.0301221292, 0.0289849378, -0.0134107387, -0.051871825, -0.0077148238, -0.0252583288, 0.0108093284, 0.0461133644, 0.007931632, 0.0034763929, -0.0341652669, -0.003549153, 0.0331757776, 0.025605401, -0.0202980638, 0.0267028473, -0.014727707, 0.0225369409, -0.0222955961, -0.0178469773, 0.0256309118, 0.0372451991, -0.0340220742, 0.0103733977, 0.0825729594, 0.0431280695, -0.0431518517, 0.0132159954, -0.032940194, 0.0249354318, 0.0312263723, 0.047607787, -0.0828870833, -0.0387826189, -0.0412797146, 0.0170910284, 0.002419513, -0.0156885907, -0.0052362275, -0.1025886387, -0.0261342674, -0.0130221648, -0.0541039929, -0.0908508077, -0.0351876058, -0.007551441, -0.0001702816, 0.0021142333, -0.0055442881, 0.0124235582, 0.0165463258, 0.0038248301, 0.0004252061, -0.0159782767, 0.0285813604, -0.0260913614, 0.0195874814, 0.029973682, 0.0286591686, -0.0123654306, -0.0223260168, 0.017440645, -0.0305172503, -0.0070586642, -0.0408606939, 0.0348960012, 0.0169950742, -0.0124721127, 0.004020825, 0.0150627717, -0.03579285, 0.0553069189, 0.0807890892, 0.0680955127, -0.009224196, -0.0110042961, 0.0394315049, 0.0300006885, 0.0650086403, 0.0472376049, 0.0239621662, -0.0191399492, -0.0419202968, 0.0160815082, -0.005834606, -0.0086447801, -0.0333404876, -0.0365874581, -0.0303998776, 0.0127512803, -0.0428858995, -0.1028603613, 0.0444442183, 0.0338709094, 0.0108696129, 0.0116716688, 0.0003346081, -0.0035681955, -0.0348429978, 0.0231651459, 0.0198763814, 0.0226959288, -0.0142186387, -0.0315324068, 0.0217755921, -0.0102205612, 0.01792253, -0.0404667817, -0.0222966969, -0.0511534959, 0.01018003, 0.0520636402, 0.0210803263, 0.0275189318, -0.0057988702, -0.0464127623, -0.0530222505, 0.0511379987, -0.048009038, -0.0079435818, 0.075097926, 0.0491537414, -0.0006631191, 0.0707596838, -0.0136916284, 0.0029404061, 0.0205525812, 0.0369998328, -0.0616773553, -0.0055326875, 0.0245782305, 0.0140862055, 0.0445495248, 0.0126092881, -0.0110429423, -0.0134575292, 0.0485761985, -0.0119996006, -0.030783413, -0.0127028897, -0.0116472337, 0.0000782117, -0.0539698489, -0.0079321787, -0.00604686, -0.0417594872, 0.0048315539, -0.0252404157, 0.0334650204, 0.069563508, 0.0186020583, -0.0122373225, 0.0209909715, -0.0396018177, 0.0330613106, 0.0465121083, 0.0740503594, 0.0086024422, 0.0887961984, 0.0094251959, -0.0018295851, -0.0071947509, -0.0226333179, -0.0362224504, -0.0389560089, 0.0396523699, 0.0230533779, 0.0102043264, 0.0142599614, 0.0185403526, -0.0144204218, -0.0098120784, -0.0039066789, 0.0522354059, 0.0057600774, -0.0149980327, 0.0597613491, 0.0125799607, -0.0211414676, 0.0310025681, 0.0584511347, 0.0002593368, 0.0066228849, 0.0155508816, 0.0132477051, -0.0398419388, 0.0315787047, 0.0557854064, -0.0115751326, -0.0121253971, 0.0471054204, -0.0483166724, -0.0662245974, -0.0298590194, 0.0017097102, -0.0215856321, -0.0083634248, 0.0103250975, 0.0421441905, 0.0206778254, -0.0412409119, -0.0703528523, 0.0768825039, -0.0213114023, 0.0080632744, -0.0598977879, -6.169895076e-33, -0.0248040464, -0.0158265978, -0.0230837073, -0.000315753, 0.0255968869, -0.0013994464, -0.0042197737, 0.0121600023, -0.0324337967, 0.0052369004, -0.0092922729, 0.0067429473, 0.0161593184, 0.0041619902, 0.0251394063, -0.0471547134, 0.0396161973, 0.000330712, -0.0130948955, 0.0292655658, 0.0438874364, 0.0090250131, 0.0538000353, -0.1185933277, 0.0829191655, -0.0277716741, -0.0071986867, 0.0523202382, -0.0353205018, 0.05351815, -0.0270883329, 0.0450805053, -0.0007758872, -0.0173230078, 0.0118831927, 0.0259432271, -0.0656578466, -0.0587496981, 0.0252851006, 0.0479821526, -0.0810712352, 0.0127995266, -0.0110991104, -0.0455500893, 0.0259246621, 0.0497592203, 0.0108743552, -0.0064985384, -0.0184715576, -0.02843027, -0.027048938, 0.0043057958, 0.0015360069, -0.0132961962, 0.0041930904, 0.1129152849, -0.0086683286, -0.0250087753, -0.0132603645, 0.0099274293, 0.0043033585, 0.0347307101, 0.0383470543, -0.004334481, -0.0094359117, 0.0235900786, 0.0534644946, -0.0111669628, 0.0323516801, -0.0229049847, 0.0205748696, 0.0037472891, 0.0704958215, 0.0556154028, 0.020889502, 0.0170644224, -0.0309610553, -0.0115161669, 0.0611559004, 0.0359139666, 0.0273984149, -0.029263638, -0.0494017154, -0.0220910218, -0.0546428971, -0.0031297335, -0.0547722876, -0.0324703678, 0.0585524924, -0.0082691768, -0.0431539267, 0.0023459522, 0.0416191034, -0.0564471558, 0.0074233739, 0.0224059075, 0.0123485047, -0.0149267185, 0.0238326062, 0.0127762174, -0.0405456349, -0.0040902221, -0.0038555558, -0.0407575779, -0.0043497588, -0.0116624739, 0.0640350655, -0.0105956858, -0.0774000734, -0.0088139484, 0.025551483, 0.0172607619, -0.011077893, 0.0411105677, 0.0073347585, 0.0113270609, -0.0345542952, 0.0664128959, 0.0296137277, 0.0004878178, -0.0376724862, -0.0090372683, -0.0024076712, 0.0505853184, -0.0459984392, -0.0073317126, -0.0442790091, 0.0009889656, -0.0081864344, -0.0216167793, -0.013961887, 0.0472815484, 2.298e-7, 0.0296232793, 0.0291631706, 0.0116570517, 0.0060555227, -0.0045213909, 0.0671099946, -0.0066794716, 0.0078554368, 0.0455875583, 0.0190853346, -0.0139216613, -0.0213286113, 0.0261722356, 0.0106768515, -0.0604364797, -0.0084679909, -0.0163168665, -0.0077672019, -0.0440800749, 0.0339064226, 0.0625455752, 0.0754174814, -0.0010371344, 0.01965959, -0.0461599827, -0.0176120494, 0.0383115001, -0.0114432909, -0.0242465902, -0.0022258149, -0.0003219112, -0.0475788377, 0.0107771521, 0.0943897814, 0.0093853706, -0.014606392, -0.0288763959, 0.0494227968, 0.0028428549, -0.0567750223, -0.0108459312, 0.0098848492, -0.0093429312, -0.0433697999, 0.092357263, -0.0772540942, -0.0373930819, -0.004588366, -0.0010707591, 0.0079196077, 0.0441637039, -0.0158217736, -0.0402261168, 0.0154310018, 0.0373614505, -0.0076852199, -0.0273498017, -0.0193449035, -0.0082770949, -0.0139440792, 0.0308438055, -0.0610230267, 0.0112448791, 0.0456057936, 0.0008239246, -0.0138949072, -0.0103342272, 1.837502349e-34, 0.0237137489, -0.0055206623, 0.0344026908, 0.0061963336, 0.0428521633, -0.0332081616, -0.0571053587, 0.0185377859, 0.0759357512, -0.0562350079, -0.0195165277 ]
http://arxiv.org/abs/2310.13289v2
http://arxiv.org/pdf/2310.13289v2
SALMONN: Towards Generic Hearing Abilities for Large Language Models
2023-10-20T05:41:57
2024-04-08T06:12:52
Changli Tang, Wenyi Yu, Guangzhi Sun, Xianzhao Chen, Tian Tan, Wei Li, Lu Lu, Zejun Ma, Chao Zhang
cs.SD
cs.SD, cs.CL, eess.AS
Hearing is arguably an essential ability of artificial intelligence (AI) agents in the physical world, which refers to the perception and understanding of general auditory information consisting of at least three types of sounds: speech, audio events, and music. In this paper, we propose SALMONN, a speech audio language music open neural network, built by integrating a pre-trained text-based large language model (LLM) with speech and audio encoders into a single multimodal model. SALMONN enables the LLM to directly process and understand general audio inputs and achieve competitive performances on a number of speech and audio tasks used in training, such as automatic speech recognition and translation, auditory-information-based question answering, emotion recognition, speaker verification, and music and audio captioning etc. SALMONN also has a diverse set of emergent abilities unseen in the training, which includes but is not limited to speech translation to untrained languages, speech-based slot filling, spoken-query-based question answering, audio-based storytelling, and speech audio co-reasoning etc. The presence of cross-modal emergent abilities is studied, and a novel few-shot activation tuning approach is proposed to activate such abilities. To our knowledge, SALMONN is the first model of its type and can be regarded as a step towards AI with generic hearing abilities. The source code, model checkpoints and data are available at https://github.com/bytedance/SALMONN.
[ -0.018432809, 0.035323184, -0.0114768501, 0.0555393286, -0.0099429628, -0.0276827067, 0.0307005513, -0.044155214, -0.0415886454, 0.0094122337, -0.0909576863, 0.0229268018, -0.0117186764, 0.0493528843, 0.0296370331, -0.0058316947, 0.029746104, -0.0445561111, 0.0195555482, -0.0315760039, -0.0290304925, 0.0116376616, -0.0590418987, 0.0260421298, 0.0420792885, -0.001259461, -0.038216047, 0.0172790606, -0.014228493, 0.0123740556, -0.0453885384, 0.0061897188, 0.0322488919, 0.0204397645, 0.0000017466, -0.0448494069, 0.0555578396, -0.0152658364, -0.0123121627, -0.0109459283, -0.0369863249, 0.0048112022, -0.0316944234, 0.0156546663, 0.0043606348, -0.0218695067, 0.0188868493, 0.0198320895, 0.0453578234, 0.0725399926, -0.0009885652, -0.0840865076, 0.0674978197, -0.0189605244, 0.0510702506, -0.0372885279, -0.0022399216, -0.021686865, 0.0279532317, 0.0019342006, -0.0089569082, 0.0575104319, 0.0276757441, 0.0151037583, 0.0014395247, 0.0377210192, -0.0318320468, -0.0193395969, -0.0231974348, 0.0893072188, 0.0203819256, -0.0328679755, -0.0033289238, 0.0046792519, -0.0053174533, -0.0424216203, -0.0470943414, 0.0275459513, 0.0479972847, 0.0186053142, -0.0218843371, 0.0023933526, 0.0472692177, 0.0042818342, 0.0224937648, 0.0228638668, 0.0148903541, -0.039939139, 0.0340918824, -0.0555825569, -0.0044162632, -0.040520817, 0.0293884408, 0.0437475741, -0.0138349924, -0.0157538913, -0.0284717716, 0.0075710518, -0.0188785456, -0.0366263017, 0.0242475476, 0.029898582, -0.0566625595, 0.0759655312, -0.0425571911, 0.0381384343, -0.032453388, -0.0018288197, 0.0058255913, -0.027352782, -0.0323388912, -0.0322504118, -0.0354344696, -0.0122710671, 0.010012174, -0.0552209467, -0.0005192394, 0.0020761078, -0.0354466699, 0.009376293, 0.0072937612, -0.0072882022, -0.0128665613, -0.0245603565, 0.012733114, 0.0326582529, -0.0268439259, 0.0658175722, -0.0168281794, -0.0194714181, -0.0063731382, 0.0282057952, 0.0411076322, -0.0102437967, 0.049060788, 0.0527011454, 0.0193887912, -0.0071741324, -0.0267632119, -0.0041419691, -0.0190572999, -0.0538038202, -0.0127571495, -0.0578681305, 0.0530602485, -0.0410173386, -0.0145608736, -0.0172965284, -0.0189761315, 0.0148446457, -0.0164118037, 0.0516166762, 0.0245886985, 0.0540633723, 0.0329133309, -0.0102182571, 0.0453727841, 0.0410672091, 0.0866240487, -0.0147070615, 0.038001202, -0.0263310038, -0.007016975, 0.0676042363, 0.0082646515, -0.0676876083, -0.0094967624, -0.023479877, -0.0309825707, 0.0719463155, 0.0257713608, 0.022428073, -0.0116225407, -0.0362031572, 0.0617530048, 0.0137892794, 0.056158103, 0.0195789654, 0.0298074707, -0.0185439959, 0.0151008647, 0.0017433496, -0.0001317102, 0.0684957877, -0.0059090815, 0.0296721905, 0.0420745127, -0.0012349049, -0.0414875224, 0.020769788, 0.008459324, -0.0013948662, -0.0277166106, 0.0305524301, 0.0420209058, 0.0188898426, -0.0316967554, 0.0182498936, -0.0023276957, -0.0402502976, 0.0090653654, -0.0340676084, 0.0282470044, 0.0132397367, 0.0203172695, -0.063601166, 0.031445235, -0.0139718717, -0.0095249545, 0.0506790243, 0.0407641903, -0.0201729443, 0.0420052782, -0.0325937346, 0.0032749579, -0.0003831721, -0.0127060683, 0.0430403389, -0.0511607677, 0.0383467078, -0.0180000253, -0.0134576755, 0.0470482558, 0.004552844, -0.0214425903, -0.0574915111, 0.0058323974, 0.0364424214, 0.0360776782, 0.0583988726, -0.0407411754, 0.0056294301, 0.0229227655, -0.0351408347, 0.0236003306, 0.0361079276, -0.080346711, 0.0126600582, 0.033416003, -0.025433274, 0.0173469577, 0.0379739217, 0.0208969321, -0.0439795852, 0.067846112, 0.0055481591, 0.0075790025, -0.0471630096, -0.0081800688, -0.0122341681, 0.0141017726, 0.0379577167, 0.003435699, 0.0414783433, -0.0130498596, -0.0237813089, 0.01823733, 0.0262991823, -0.0582495555, -0.0724147856, 0.0699299425, 0.0063160877, 0.0162701011, -0.0229486227, -0.0341841318, -0.0287205689, -0.0201503616, -0.1013110802, 0.02226617, -0.0249030702, -0.0022057772, -0.0062155314, 0.0043444065, -0.0095133502, -0.0099043874, -0.0400613286, 0.0314616002, 0.0188766904, 0.006006714, -0.052448824, 0.0100214211, -0.0237681903, -0.0010023898, -0.026177451, -0.0047041001, 0.018275639, -0.0079271486, 0.0021656596, -0.0196517352, -0.0145052411, -0.0157961622, 0.0376694053, -0.0082052443, -0.0157977883, -0.0171098597, -0.0433960557, 0.028682299, 0.0581246093, -0.0324388184, -0.0340277329, 0.0691152588, 0.0005892565, -0.0222300589, 0.0456756614, 0.0341559164, 0.0054841042, -0.0516704693, 0.0585471727, -0.0216004625, 0.035273198, 0.0473975688, 0.0036097907, -0.006148539, -0.002965627, -0.0043621096, -0.0434417613, -0.0569224358, -0.0545410812, -0.0475823246, 0.0580026433, -0.0159642193, 0.0074898801, 0.0436118655, -0.0351163745, -0.0391228199, -0.0285271499, -0.0403449051, -0.0349300355, 0.0526686311, -0.0133080035, 0.0313315913, 0.0100611961, -0.0416145585, -0.052357275, 0.0057771252, 0.0268309433, -0.045473516, -0.0007909172, 0.0153308315, -0.0149739673, 0.0107871927, -0.0262879077, -0.0129241198, -0.0118226474, -0.0225888174, 0.0503638126, -0.0628834441, 0.0114925392, -0.0334176458, 0.005633533, 0.0373850502, 0.0596929826, 0.000810019, 0.0097554969, -0.0332149602, 0.0562263317, 0.000663405, 0.01729092, -0.0280922167, -0.0341111943, 0.0575787313, -0.018268764, 0.0193234291, 0.0123219909, -0.0422212221, 0.0343098566, 0.0288253687, 0.0096483473, -0.0125052761, 0.0433099158, 0.030645147, -0.0637540817, 0.0089263171, 0.1039782986, 0.0183984078, -0.0322947204, -0.0111291325, 0.0270151403, 0.0018736258, 0.0114276977, 0.0321709961, -0.0529211499, -0.0243888982, 0.047799591, 0.0281399917, 0.0392130092, 0.0157676674, -0.0122690303, -0.0772851184, 0.0441176854, 0.0101614082, -0.0684274361, -0.0866136178, -0.0032107832, -0.0032507493, -0.0065394002, 0.0271283165, 0.0277509708, 0.0020658786, -0.0216758251, -0.0037802474, 0.0048528109, -0.0553969964, 0.0322220437, -0.0763222724, 0.0675506964, 0.0615039021, 0.0422094278, -0.0636932403, -0.030021552, 0.0197072122, -0.0217798818, 0.0051223435, 0.0368788876, 0.0403671414, 0.0079047941, -0.012292074, 0.0356112532, 0.0456683375, -0.0303048976, -0.0354202799, 0.0010072562, 0.0613861643, 0.007202697, -0.0048498902, 0.00616749, 0.0499631055, 0.0027376439, 0.077391617, 0.0308840759, -0.0616422817, -0.0056452728, -0.0053359871, -0.0114589734, -0.0625914633, -0.0376981981, 0.0083130961, 0.0349793956, -0.0594552159, -0.0227098931, 0.0106089339, -0.0270392653, 0.0336627699, 0.0397687592, -0.024094725, 0.0128656803, -0.0140978778, -0.0338266231, 0.0294914041, 0.004665459, 0.0586144403, -0.032264296, -0.0129695134, 0.058401566, -0.074834533, -0.0238941684, 0.0262767244, -0.0637994111, -0.0441825278, -0.0152394874, -0.0317405052, 0.0202077907, 0.0371364951, -0.0285873711, -0.0783240497, 0.0281941034, 0.0003257697, -0.0263391975, 0.0593101531, 0.0418200344, -0.029852502, -0.0101147136, 0.0137388986, -0.0672309548, 0.0271321665, 0.0247812681, 0.0146756601, 0.0317427218, -0.0182928815, 0.0002054057, -0.0267912019, 0.0349085256, 0.0232353173, 0.0335827954, -0.1047282964, 0.0115524977, 0.00292921, 0.0255458821, -0.0214033872, -0.0061156545, 0.023534026, 0.0365321003, -0.029222792, -0.0099495864, 0.0497443862, -0.0214255843, -0.0495582074, 0.0577127635, 0.0597628281, -0.0246519893, -0.0189948622, 0.0018189464, 0.0009106221, 0.0502741821, -0.0138947535, 0.0194980875, 0.0096481657, 0.0436213724, -0.0103963679, -0.021734301, -0.0015701309, 0.0135213071, -0.0760718063, -0.036133118, 0.0172597449, 0.0468308888, 0.0663143471, -0.0095806606, -0.0083330404, 0.014166561, -0.004667283, -0.0195575375, 0.0218351781, -0.0204292461, -0.0152048571, 0.0070571904, 0.0288811568, 0.0011658324, 0.0053578443, 0.0133418189, -0.0292504802, 0.0389827341, -0.0538193658, 0.0540810339, -0.0158955846, -0.0112144556, -0.0457857326, 0.0579021536, -0.0308668986, 0.0416530073, 0.0052965651, -0.060287375, -0.0046555693, 0.0540542044, 0.0235974118, -0.0065916907, 0.0116301877, 0.0454686843, 0.0059126853, -0.0014803057, 0.0158284754, -0.0509495661, -0.0241595469, -0.0362791754, 0.0105734216, -5.083948782e-33, -0.0374847054, 0.0416641347, -0.0196746476, 0.008973835, -0.0298861936, -0.0122599946, -0.0751052946, -0.0044046631, -0.0331409015, -0.0103463829, 0.0121672433, 0.0137593849, 0.0039332234, -0.0034771236, 0.006008693, -0.0223568548, 0.0551351421, -0.0417485535, 0.0089856694, 0.0218446404, 0.0486136265, 0.0261788722, 0.0073840623, -0.0460981727, -0.0329951197, -0.0008595781, -0.0329416916, 0.0075675379, -0.0250751171, 0.0740841627, -0.0153298071, 0.0237090513, -0.0034961358, -0.0179006774, -0.0164013579, 0.0463236459, -0.1031576693, -0.0058559338, -0.0148300333, 0.0667284802, -0.0256975126, -0.0267050378, 0.0686993301, -0.0058943853, -0.0237694774, -0.0220570061, 0.0358861089, -0.0035607023, 0.0142369587, -0.0528316163, -0.0359639041, -0.0078467689, -0.0476909876, -0.0389135256, 0.0353302881, 0.0463268273, -0.0087879719, 0.0270962901, -0.0565984175, 0.0586873367, -0.0381142721, 0.0003788907, 0.0325147547, 0.0342679285, -0.0002728202, 0.0501761846, 0.0644067451, -0.0619990826, -0.0244063959, 0.0042867716, 0.0440083966, 0.0317323022, 0.0200579241, 0.0173558574, 0.0280785058, -0.0077571361, -0.0341912992, -0.0335731879, 0.0289198011, -0.011745845, 0.0332465768, 0.0479449145, -0.0319988802, 0.0091667389, -0.0623940863, -0.0634663478, -0.0674265698, -0.0064301202, 0.0525725484, -0.0234385561, 0.0468033664, -0.0161890537, 0.0370234922, -0.0609456785, 0.0291540548, 0.0326816365, -0.0164986998, 0.0252855942, -0.0274396986, 0.0297236796, -0.0526459999, -0.0110217528, 0.0625046566, -0.0056946031, 0.0557359383, 0.0037486332, -0.0045474246, 0.0762992129, -0.0525969379, -0.0123115657, -0.00923423, -0.0216363408, 0.0658526495, 0.0552632697, 0.0036704252, 0.007373258, -0.0219458286, 0.0448228121, -0.0203248784, 0.005018882, -0.0552517846, -0.0590614974, -0.0271339826, 0.0327004753, -0.0402624235, -0.0087155569, 0.0016938455, -0.0228234176, -0.0005212566, -0.0406289361, -0.0159093421, 0.0529952496, 2.748e-7, -0.0191849079, -0.0140989469, -0.0108641284, 0.0051849117, 0.0628926903, 0.0161265563, -0.0581664331, 0.0268430896, 0.0121246465, -0.0124801556, 0.0362162367, 0.024181297, 0.0789504424, 0.0151741998, -0.1410641521, 0.0223198049, -0.0732455254, 0.0338250101, -0.0592268333, -0.017603403, 0.0434962399, 0.1079839468, 0.0229213294, -0.0320743583, 0.0158857144, -0.0591144525, 0.0181358904, -0.001042306, 0.010061712, -0.0497780479, -0.005957874, 0.0045485292, -0.0346066877, 0.0028482019, -0.0356268622, 0.0752277151, 0.02697712, 0.035364978, 0.0380821787, -0.0509814806, -0.0121632349, 0.0564220361, -0.0306163412, -0.0279181115, 0.101029329, -0.0066714752, -0.0795923322, -0.0340786055, -0.0140984934, -0.0155369174, 0.0014548547, -0.0025373534, 0.007656645, -0.0457401127, 0.0116605256, -0.0292620752, -0.0105084712, -0.0741656721, 0.0083387513, 0.0352911241, -0.0819527954, -0.034340173, 0.0098879626, -0.0506207086, 0.0427372679, -0.0429892279, -0.0159718264, 1.673485186e-34, 0.0279682018, -0.0331629068, 0.0201460999, -0.0203432888, 0.0082939155, 0.0004136171, 0.0078357467, -0.0240247287, 0.01517253, -0.0728520304, -0.0366547145 ]
http://arxiv.org/abs/2310.13276v2
http://arxiv.org/pdf/2310.13276v2
InvGC: Robust Cross-Modal Retrieval by Inverse Graph Convolution
2023-10-20T04:45:44
2023-10-25T00:46:42
Xiangru Jian, Yimu Wang
cs.CV
cs.CV, cs.CL, cs.LG, cs.MM
Over recent decades, significant advancements in cross-modal retrieval are mainly driven by breakthroughs in visual and linguistic modeling. However, a recent study shows that multi-modal data representations tend to cluster within a limited convex cone (as representation degeneration problem), which hinders retrieval performance due to the inseparability of these representations. In our study, we first empirically validate the presence of the representation degeneration problem across multiple cross-modal benchmarks and methods. Next, to address it, we introduce a novel method, called InvGC, a post-processing technique inspired by graph convolution and average pooling. Specifically, InvGC defines the graph topology within the datasets and then applies graph convolution in a subtractive manner. This method effectively separates representations by increasing the distances between data points. To improve the efficiency and effectiveness of InvGC, we propose an advanced graph topology, LocalAdj, which only aims to increase the distances between each data point and its nearest neighbors. To understand why InvGC works, we present a detailed theoretical analysis, proving that the lower bound of recall will be improved after deploying InvGC. Extensive empirical results show that InvGC and InvGC w/LocalAdj significantly mitigate the representation degeneration problem, thereby enhancing retrieval performance. Our code is available at https://github.com/yimuwangcs/Better_Cross_Modal_Retrieval
[ -0.0104642026, 0.0067927432, 0.0146720679, 0.0356966332, -0.0280827805, -0.0075136772, -0.0151292738, 0.0209422242, 0.044391349, -0.0280852262, -0.0535981432, -0.0310142189, -0.0137423333, 0.0045526009, 0.0176831167, -0.0327823237, 0.0494146645, 0.0297745839, -0.0173121523, -0.0270400587, 0.0120475432, -0.0186401214, 0.0447209254, 0.030816108, -0.0112991864, -0.0032840415, -0.0119989906, 0.0333406851, 0.0095450561, -0.0420477204, 0.0076430095, 0.0078408755, 0.0466955788, -0.0074360706, 0.0000020672, 0.0231696907, -0.0282348413, -0.0031517097, 0.0452380292, -0.0199513715, 0.0372843705, -0.0240272768, 0.0426863022, -0.0270543993, -0.0045236768, -0.0486633107, 0.0337275565, 0.0564128682, 0.0524923727, 0.0508487709, -0.0304356981, -0.0242122523, 0.0320233442, -0.0139583619, 0.0345371813, -0.0466560572, -0.004852253, 0.0299011245, 0.0205462258, 0.0109735783, -0.0362349078, 0.0485118553, -0.0132589377, 0.0262166318, 0.0199893136, 0.0080382135, 0.0125237256, 0.0154570919, -0.0126054119, 0.0801705942, 0.0075834007, -0.0280616842, -0.0063842628, 0.0186772756, 0.0011630594, 0.0397662818, -0.0720891654, -0.0385217778, -0.0280791111, -0.0016974538, -0.1185685694, 0.007764895, 0.0243705995, -0.017595714, 0.0213639457, -0.0126807243, 0.0199545119, 0.0102691026, -0.0226986296, 0.0126160514, -0.0265108682, 0.0429402329, 0.0300148837, -0.014569236, -0.0039791903, -0.0429625399, -0.0053430516, -0.0301635973, 0.018172862, 0.0183080621, 0.0507767573, 0.0153464349, -0.0824356005, 0.0576024726, -0.0294254906, 0.0369138084, -0.0666578636, 0.0923225358, -0.0454964489, -0.0299286917, -0.0565972291, 0.001011494, -0.0154218003, 0.0129654035, -0.0158293508, -0.0214242674, -0.027330311, 0.0128774345, -0.0341545939, -0.0535293818, 0.0136233605, 0.0501863062, -0.0268553328, -0.034444496, 0.0247142594, 0.0568232611, 0.0028069625, 0.02010726, -0.0208147652, -0.0198566169, 0.0083095152, -0.0140375691, 0.0427887477, 0.00078073, 0.0220005661, 0.0510406233, -0.0472505055, -0.0266458951, -0.0145642608, -0.0178222414, -0.0418951847, -0.0555828586, 0.0554878116, -0.0384558477, 0.0193385053, 0.0184415523, -0.0030143182, -0.0316668674, -0.0113576092, -0.0127954194, -0.0277987905, 0.0579643548, 0.0313758291, 0.0003367103, 0.0451108627, -0.0030332685, 0.0070884661, 0.0283562616, -0.0037026901, 0.0181256365, 0.0227185898, 0.0352700837, -0.0091100223, -0.0218734238, 0.0468486734, 0.0016530021, -0.032804288, -0.0088376505, -0.0223473627, -0.0163261574, 0.0089287348, 0.0677168742, -0.0654806197, -0.0906027406, 0.0193767101, 0.0319672152, 0.0038121205, 0.0059088934, -0.0287417732, 0.0114816641, -0.0462040938, -0.0100538861, -0.0309074651, 0.0577513985, -0.0342117958, -0.0197993387, 0.0229864586, -0.0071660317, -0.0269874483, -0.0026943206, 0.0325332135, -0.0061158165, 0.0733550638, 0.0129354494, 0.0371299796, -0.0297168996, -0.0065361783, 0.0043565361, 0.0407029986, -0.0503614619, -0.0242955629, -0.0127053605, -0.0219257157, -0.0012053867, -0.0099521987, -0.0304689743, 0.0044506192, 0.0215428602, 0.019147845, -0.0502141379, 0.0023532272, -0.0038493024, 0.0117343962, -0.0353642181, -0.060659606, -0.0077452641, -0.0193843897, 0.0425204448, -0.0186556857, -0.0089867916, 0.0366628766, -0.0745193139, 0.0665132999, -0.0060906843, 0.0734071732, 0.037507128, 0.0183238499, 0.0232140701, -0.0087672779, 0.0101382732, 0.0015296608, 0.0187670756, 0.0462269671, -0.0266816225, -0.0088503892, 0.0037611972, -0.0345686413, -0.0320665613, 0.0502988175, -0.0689619929, 0.01330161, 0.0307106543, 0.0088726087, -0.0409875922, 0.064115487, -0.0419228114, 0.0547161549, -0.0198470578, -0.008468424, 0.0100235464, -0.0052983258, -0.0149260648, 0.0516012162, -0.0180346034, -0.0126970336, 0.0059804404, 0.0337267779, 0.0383773968, -0.0485240929, -0.0169024244, 0.0443375446, -0.0234948564, 0.0273372326, 0.0391725823, -0.0287925694, -0.0452675186, 0.0210009199, -0.1194842905, -0.0212982334, -0.02525842, -0.0318448953, -0.0236000866, 0.0091857137, 0.0034045328, -0.0866108909, -0.0310054347, 0.0529965982, 0.0027175918, 0.0459537432, -0.0111795804, 0.0079132104, 0.010817836, 0.0026436693, -0.0419511423, 0.0035149718, 0.0497596636, -0.0294506662, -0.0458614342, -0.0062388838, 0.043398723, -0.0394996405, 0.0417815968, -0.0316995308, 0.0088595059, 0.0002996821, -0.0377249122, 0.0106246555, 0.0459849723, -0.0051020714, -0.0157298427, 0.0219285302, -0.0167733021, -0.035849236, 0.0055083144, -0.0211646818, -0.0251654126, 0.0093399426, 0.0204997007, -0.0656493455, -0.0271849893, 0.017351767, 0.0162315872, -0.0269436538, -0.0379171707, 0.0152833052, -0.0037221052, -0.0624089055, 0.026002463, -0.0032030453, -0.0026903583, -0.0637438297, -0.0192446467, 0.0573517159, 0.0063733459, -0.0043848059, 0.0203097016, 0.0010628649, -0.0056991489, 0.102462247, 0.0055202213, 0.0355265923, 0.0198852941, -0.0354835577, -0.0689147264, 0.0004585719, 0.0450854897, -0.0406338423, 0.0467271172, 0.0269926731, 0.0414561257, -0.0127366874, -0.0559970364, 0.008571188, -0.0553606935, 0.0199267976, 0.0083214566, -0.0334898345, -0.0055002291, -0.0204658937, 0.0106098913, 0.0038933069, 0.0152061973, -0.0273609292, 0.0008949667, 0.0044677523, 0.0708839744, -0.0182832014, 0.0187728889, -0.0602387674, -0.0116432495, -0.0511050224, 0.0679273084, 0.036390014, -0.0361045077, -0.0373662598, 0.0379585065, 0.0213812217, 0.0882802084, -0.0465118065, -0.0002664307, 0.0680750832, -0.0241065975, 0.0017492075, -0.0127353845, -0.0185573623, -0.1126812845, -0.0533949025, 0.0511088893, 0.0198305678, 0.0410930775, -0.0087557519, -0.0374129526, -0.0415483899, -0.0079630744, 0.0380187519, 0.0470069312, 0.0027527516, 0.0354115628, -0.0539637282, 0.0381084457, 0.0156812649, -0.0085801436, -0.0724203661, -0.0613419563, 0.0090722619, 0.0029447025, 0.004725738, -0.0051020267, -0.0318700224, -0.0427349731, 0.0355119221, 0.0371213481, -0.0097720772, -0.0009733246, -0.019423699, -0.0206177756, -0.0050736968, 0.0237834007, 0.0246173721, -0.0745361447, 0.0197818633, -0.0111339847, 0.0064236056, -0.0171903353, 0.0642332584, 0.000369708, -0.0171253271, -0.0036930437, 0.0127029391, -0.0045603658, -0.0284095462, -0.060937345, 0.0495086946, 0.0122797899, 0.065261133, -0.035152141, -0.0133645609, 0.0015467659, 0.0197991505, -0.0202689413, 0.0188227873, -0.0307285935, -0.0187021289, 0.076350905, 0.0133443438, -0.036719773, 0.0083986232, -0.0111746285, -0.0182829555, -0.0318087935, 0.0005951956, -0.033411976, 0.0489760488, -0.0391160771, -0.0342235826, -0.0374619216, 0.0119242352, -0.0961255804, 0.0465073846, -0.0409628339, 0.0242150351, -0.0000993996, 0.010657127, 0.0356701612, -0.0280318651, -0.0290910713, 0.0008032854, -0.0949166268, -0.0786283463, -0.0121620232, -0.0038794046, 0.0015843101, 0.0653614029, 0.0411160775, -0.0265123136, 0.0714813098, 0.0262726396, -0.0316664875, 0.0191462431, 0.0370054394, -0.0208989959, -0.0312050581, 0.0250427201, -0.0891189575, 0.0013012586, 0.0504990481, 0.0259427894, -0.0331937633, -0.0112010753, 0.042921938, 0.037101239, 0.0812274441, 0.0146994535, 0.0133230016, -0.0401352458, -0.0190686714, 0.0036102463, -0.0101647442, -0.0180457793, 0.0005555181, 0.0246741399, -0.0505321659, 0.0035799001, 0.0453755818, 0.0564720742, 0.0404695123, -0.0411961712, 0.0120749194, 0.0209004786, -0.0048074969, 0.0020565917, 0.0311804693, -0.0183771886, 0.0193709023, 0.0395740271, 0.0124182291, -0.0183518697, 0.0362799913, 0.0042137275, -0.0336441249, -0.1227603629, 0.0336376987, -0.083369568, 0.023828974, -0.0072093229, 0.0300201159, 0.0565131344, 0.0215483494, 0.025472831, 0.0167324357, -0.0262405518, -0.0531532429, 0.0224028043, 0.0007142656, -0.0160666518, 0.0296691786, 0.0059204162, 0.0102863731, 0.0406249426, 0.0514055863, -0.0356824435, 0.0119895134, -0.0316447578, -0.0318267867, -0.0369526707, -0.0056679184, 0.0571174249, 0.0334084816, -0.0037208707, -0.0425877199, 0.0011631696, -0.0515404604, 0.0285700895, -0.0122659197, -0.0052602226, 0.0313463844, 0.0269186217, 0.0642278641, 0.0333823487, -0.0144381952, -0.0348970853, -0.0047795698, 0.0190721639, 0.0122376783, -0.0150269447, -6.260948133e-33, 0.0032969785, 0.0112648867, -0.0282533467, -0.0374098346, -0.0356609076, 0.0208352171, -0.0400705971, 0.0377604291, -0.0161223374, 0.013277417, -0.0124442885, 0.024573382, 0.0203334913, 0.0053475569, -0.0213186387, -0.0313007571, 0.0634532794, -0.0146183791, 0.0066233268, 0.0385778137, 0.0638898388, 0.046908997, 0.0101125129, -0.1350229234, -0.005959671, 0.0131654292, 0.0020976025, -0.011705419, 0.0606274642, 0.0607119016, -0.0031274864, 0.0393464193, 0.0112850349, 0.0240172707, -0.0125906561, 0.0193772409, -0.0479246266, 0.0177930426, -0.0516485572, -0.0025476366, -0.0321854092, -0.0050651664, 0.0503119975, -0.0235898569, -0.0081034936, -0.0494274236, 0.0351645984, 0.0088220416, -0.0482428968, 0.0208761692, 0.0182161238, 0.02467677, -0.0189864468, -0.0313978344, 0.0397084281, 0.0196339972, 0.0518458374, 0.0193679091, -0.02362247, 0.055271931, -0.1298426241, 0.0017376324, 0.0175189376, 0.0535534434, 0.0035008024, 0.077016525, 0.0673321262, -0.0119219301, 0.0142648704, -0.0400608927, 0.0344363712, 0.0441667885, -0.0002412514, 0.0857892111, 0.0232658554, -0.055977013, -0.0735412017, 0.0113873668, -0.0178150646, 0.0235831961, -0.0257532597, 0.0863872916, -0.0307247024, -0.0030787098, -0.005774491, -0.0666411668, -0.0240721293, -0.0099562742, 0.0066015152, 0.0284631941, -0.0534970872, 0.0347106159, 0.0562564768, -0.0326388367, -0.0038873747, 0.0868240893, 0.0015372158, 0.0474439338, 0.0020315363, -0.0067178449, 0.0111014582, -0.0243271831, 0.0070782281, -0.0198641121, -0.0019148741, -0.0472140051, 0.0281844493, 0.0233037025, -0.053153038, -0.0238724742, -0.0059196991, -0.0621317551, -0.0241293982, 0.0186642688, 0.0541195497, 0.002255962, 0.0058845417, 0.0392372161, 0.0266058613, 0.065516822, -0.0250981431, -0.0939873606, 0.0351287611, 0.0155372461, 0.0228607152, 0.0225843713, -0.0423140228, -0.0286557041, 0.0651388764, -0.0565891229, -0.0017212214, 0.011683071, 2.879e-7, 0.0218909066, 0.023703808, 0.0392136388, -0.0532732233, -0.0217535347, 0.0369306095, -0.0153591782, 0.0352238268, 0.0369646885, -0.0603740886, 0.0104505867, 0.0398958996, 0.000166204, 0.0395675488, -0.0227976367, 0.0498450324, -0.0314876661, 0.0107259657, 0.0173110645, 0.0319804922, 0.0278033856, 0.0572545156, -0.0094534382, -0.0096135242, 0.0151453875, -0.0649017692, 0.0998844206, -0.0160279162, -0.0078982776, -0.0096606668, 0.0025967802, 0.0182061046, 0.0002666998, -0.018999083, -0.0001338351, 0.0075592385, 0.0765956268, -0.0190256387, -0.0246205479, -0.0720525011, -0.0287566334, 0.0468147248, -0.0048447894, 0.0244501419, 0.0551512688, -0.0207807366, -0.0112241656, -0.0571686141, -0.0432233699, 0.020681737, 0.0272036158, 0.0068683703, -0.0394567028, 0.008246324, -0.0012457884, -0.0079679936, 0.0024239104, -0.0933133438, -0.0057347645, 0.0107398899, -0.0510768816, 0.0035324127, 0.0022447959, 0.0218219925, 0.056204576, -0.0094227195, -0.0233631227, 2.129833444e-34, 0.0071317558, -0.0035270976, 0.014033258, -0.0527746119, -0.0304875188, -0.0499835312, -0.0163918342, -0.0038839907, -0.0105438558, -0.0440771282, -0.0326144472 ]
http://arxiv.org/abs/2310.13267v1
http://arxiv.org/pdf/2310.13267v1
On the Language Encoder of Contrastive Cross-modal Models
2023-10-20T04:21:09
2023-10-20T04:21:09
Mengjie Zhao, Junya Ono, Zhi Zhong, Chieh-Hsin Lai, Yuhta Takida, Naoki Murata, Wei-Hsiang Liao, Takashi Shibuya, Hiromi Wakaki, Yuki Mitsufuji
cs.CL
cs.CL, cs.CV, cs.LG, cs.SD, eess.AS
Contrastive cross-modal models such as CLIP and CLAP aid various vision-language (VL) and audio-language (AL) tasks. However, there has been limited investigation of and improvement in their language encoder, which is the central component of encoding natural language descriptions of image/audio into vector representations. We extensively evaluate how unsupervised and supervised sentence embedding training affect language encoder quality and cross-modal task performance. In VL pretraining, we found that sentence embedding training language encoder quality and aids in cross-modal tasks, improving contrastive VL models such as CyCLIP. In contrast, AL pretraining benefits less from sentence embedding training, which may result from the limited amount of pretraining data. We analyze the representation spaces to understand the strengths of sentence embedding training, and find that it improves text-space uniformity, at the cost of decreased cross-modal alignment.
[ -0.011762117, 0.0130052827, -0.0039969054, 0.0352885611, -0.0320140086, -0.0069072214, 0.0218852311, -0.0249849912, -0.0613784045, -0.0500598997, -0.0862122402, -0.0152423568, 0.0460816547, 0.0087373974, 0.0353323668, -0.1079348996, 0.0174222495, -0.0470924191, -0.0118917068, -0.0049991067, 0.0230407305, -0.0126964925, -0.0245807245, 0.0277523678, 0.0002805058, -0.0106596425, -0.0023688262, -0.0034912389, 0.0173072908, 0.0047727972, -0.0440488346, 0.0314730555, 0.0596365482, -0.0430574566, 0.0000016424, 0.0102403956, 0.0373113342, 0.004288746, 0.0337538794, -0.0044783344, 0.0565318093, -0.0794862658, -0.0088667218, 0.0367824323, 0.0078313444, -0.0538000949, 0.0729605258, 0.0634464175, 0.0399888754, 0.0567253307, -0.0296038035, -0.0348530412, 0.0179293305, -0.0204433929, -0.003250743, 0.0478983074, -0.0057214065, 0.0262038801, 0.0086513115, 0.0517381988, -0.0725590885, 0.0507459007, 0.0194711536, 0.0071314275, -0.0086254757, 0.0416860282, -0.041472178, -0.0083172731, -0.0253374241, 0.0631589517, 0.0166161191, -0.0082321092, -0.05716848, 0.0309072025, 0.0102544324, 0.0064879395, -0.0399265401, 0.0465739965, 0.0203192625, 0.0228068065, -0.0230100658, 0.026322769, 0.0108722765, -0.0628583953, 0.0511720218, -0.0208288617, 0.0379859284, -0.0314889662, 0.0002433017, -0.0077491938, 0.0211922433, -0.0300081763, 0.0140769798, -0.0141258519, 0.0016252568, -0.034861289, -0.0643273741, -0.0222870689, -0.013752372, -0.0214804765, 0.0564016514, 0.038070254, -0.0817552954, 0.0527883209, -0.0192777999, 0.0729316026, -0.0128136054, 0.0755891204, -0.0402910598, -0.0094834073, -0.0237760581, -0.0368345305, -0.0309963338, -0.0173973925, -0.0442814305, -0.0572361238, -0.0443266407, 0.0033566845, -0.0073497086, -0.0021943145, 0.0287056863, 0.0057008355, -0.0389331393, -0.0008855282, -0.0078727724, 0.0138668651, 0.0130262831, 0.0602058545, -0.0340848826, -0.0443246402, -0.0129616177, 0.0427294336, 0.0257481653, -0.021616919, -0.011057619, 0.0992041454, -0.0288871415, -0.0437616669, -0.0010087983, 0.0246782117, -0.0515668727, -0.030573627, 0.0056770085, -0.0651832372, 0.0268158801, 0.0146070998, -0.0092922775, 0.0084145507, -0.0149314655, 0.0095225545, -0.0190642606, 0.0970101506, 0.0047583156, 0.0106344512, -0.0129121132, -0.0121926591, 0.0242961515, 0.0542185716, 0.0365268551, -0.0269279033, 0.0118235275, -0.0249570943, 0.0238179341, 0.0434131175, -0.0292058326, -0.0236767847, -0.081491068, -0.0232715961, 0.0308868252, 0.0251141787, 0.0644969046, 0.0614625029, -0.0411121845, -0.0367691442, 0.0797235295, 0.040290527, 0.0207209196, -0.0022816346, 0.0510097928, 0.0073614027, -0.0046410887, 0.0326380022, -0.0274778754, 0.0430504605, 0.016721312, 0.0254459661, 0.0150113851, 0.0210774615, -0.0401252173, -0.0142672546, -0.0199952107, -0.0331316106, 0.0083009163, -0.014483016, 0.0377956815, 0.0085151242, -0.0354024544, 0.0300212651, 0.0116606411, -0.0317756757, -0.0082096104, 0.0131518831, -0.0282206535, 0.0286821779, -0.0019801164, 0.0048653102, 0.006812124, -0.0027558585, -0.0129791992, 0.0526788458, 0.011680495, -0.002321346, 0.0337634198, -0.0276925638, -0.0456028841, -0.0498429164, -0.0119096078, 0.0023373412, -0.0304497965, 0.0377428122, 0.0026308487, -0.0674997717, 0.003530463, 0.014213806, 0.0440678485, -0.0018984022, -0.0159461629, 0.0341147371, -0.0020246974, 0.0015215764, -0.062507093, 0.0243264977, 0.0157968905, -0.0656709373, 0.0319266729, 0.0834163427, -0.0636238307, -0.0797230303, 0.040226128, -0.110205017, 0.0159081053, 0.0509893559, 0.0237466972, -0.0293903612, -0.0056979246, -0.0508826226, 0.0579024889, -0.0483633988, 0.0147501212, -0.0064352825, 0.0239150766, 0.032669127, 0.0381791033, 0.0203966666, -0.0228049699, 0.0281113572, 0.0248108711, 0.0281651076, -0.0074618696, -0.0316543467, 0.0373528898, -0.0007170778, 0.0058350731, 0.0168415252, -0.0231460929, -0.0121397739, -0.0075361836, -0.0951034352, -0.0097836396, -0.0220700223, 0.0090247532, -0.0041764798, -0.0138799213, -0.0005691911, -0.0255506616, -0.0454753786, -0.0043585002, 0.0074704885, 0.0110446196, -0.0005935236, 0.0063481415, -0.0154046146, -0.0120402947, -0.007517789, 0.0296969078, 0.0334702395, -0.0199185275, -0.015111817, -0.0388919376, 0.0634550378, 0.0112531148, 0.0057690642, -0.0096362317, -0.0387985557, 0.0051316721, 0.0455920771, 0.0699628219, 0.0274408963, 0.0108586447, 0.023955863, 0.0655509904, -0.0081946068, -0.0146876108, -0.0061725555, 0.0152653847, -0.0053243642, -0.0675131008, 0.0232696086, -0.0415970869, 0.059673246, 0.0151907438, 0.0477568023, -0.0587100573, -0.0166789833, -0.0012931749, -0.0280773658, -0.0452779494, -0.0297707375, -0.0487211011, 0.0343963541, -0.0316059217, -0.0527082048, 0.0431566089, -0.057883393, -0.0467636995, -0.026899267, -0.0246236529, -0.0177357718, 0.0468948111, 0.0076939948, 0.0281319339, 0.0170508735, -0.035618484, -0.0601336509, -0.0139695192, 0.0351685286, -0.0002818931, -0.0063604396, 0.0104143657, -0.019856425, -0.0438392796, -0.0527705997, -0.0166960452, -0.0378929004, -0.0372402482, 0.0184210259, -0.007055094, 0.0125989253, -0.0298059378, 0.0467319079, 0.0449617654, 0.0218768492, -0.0423171297, 0.0249972325, -0.02986807, 0.0733177885, 0.0421825089, 0.0001074988, -0.0495280474, -0.0393118784, -0.0126149971, 0.0082365386, 0.0226580892, 0.0244411565, -0.0463427939, 0.0281163547, 0.0300954264, 0.0256255921, -0.0446988232, 0.0372327529, 0.0603498407, -0.0277322363, -0.0085783312, 0.0691787899, 0.0055502979, -0.0440468453, -0.0215959363, 0.0322388895, 0.003505256, 0.0057580452, 0.0046982896, -0.0446673036, -0.0456157885, -0.0045703938, -0.0292756129, 0.0538293719, 0.0702350661, -0.0071496279, -0.1097720563, 0.0325670727, 0.0110656926, -0.0401371382, -0.0907930136, -0.0282072909, -0.0009310486, 0.0000479103, 0.0396245159, -0.0331650265, -0.0342729017, -0.004114551, 0.0166462213, 0.0017961862, -0.0628405735, -0.0200281665, -0.0440935679, 0.0382514149, 0.0385663807, 0.0274212938, -0.038393598, -0.0844874084, 0.0141426949, -0.0242677424, 0.0164718628, 0.0293380544, 0.0805116221, -0.0243890621, -0.0393238179, 0.0174459592, 0.0292326845, 0.0031736889, -0.0311347153, -0.0294177365, 0.0395782404, 0.0133873392, 0.0201400183, -0.0162049867, 0.0558220483, -0.0132317189, 0.0609181337, 0.0372482799, -0.0280666556, -0.0102534285, -0.0006201754, 0.0241575837, -0.0534619838, -0.0496082865, 0.0047040847, 0.0337483995, 0.0228826813, -0.0238724612, -0.0499023534, 0.0259162318, 0.0158890858, 0.0164974909, 0.000318188, -0.0284090694, 0.0028283247, -0.0564888343, 0.0505298525, -0.0074038766, 0.0532001071, 0.0009679682, -0.0018245709, 0.0232518353, -0.0097763371, -0.0197337456, -0.017873425, -0.0421237908, -0.0552961305, -0.0430465341, 0.0359413847, 0.0056834421, 0.0769248456, 0.0138748009, 0.0033813561, 0.0725919455, 0.0175045803, -0.0253461543, 0.0374443121, 0.0324812904, -0.0431999825, 0.0033732236, 0.0184108317, -0.0385584608, -0.0123131201, 0.0098371664, 0.007934384, 0.0117480066, -0.0505631194, 0.0203681216, -0.0563296713, 0.0620977059, -0.0076521891, 0.0682651997, -0.0226175413, 0.0041473331, -0.0226602945, 0.0022890002, -0.0495943613, 0.0138598364, 0.0081521478, 0.02998982, -0.0040593455, 0.049083557, -0.0275468323, -0.0218365565, -0.0062129465, 0.0453114733, 0.0253457986, -0.0346919112, -0.0199176222, 0.0429049768, -0.0003641409, -0.0054695117, -0.0147762932, 0.0208568741, 0.0061240951, 0.0333627723, -0.0026690019, -0.0103546726, -0.0293228198, 0.0490940772, -0.0084960489, 0.0199190695, -0.0221019462, 0.0192880686, 0.0468666218, -0.0518593639, 0.0126759149, -0.0163784754, -0.0102459323, -0.006782054, 0.0366168767, -0.0177524127, -0.0021512024, 0.0616599433, -0.00504563, -0.0367092006, -0.0258260854, 0.0714273676, -0.0257784948, 0.0084444229, -0.0067700343, 0.0071112383, -0.0328884758, -0.0090268441, 0.0315397084, -0.0063979956, -0.0206346232, 0.0074041006, -0.0107625192, -0.0875326768, 0.0135020344, 0.0194850098, 0.0126151973, 0.0028294772, 0.043442782, 0.0143381115, 0.0077180327, 0.0150724621, 0.0267806798, -0.0454822294, 0.0120265866, 0.0124375988, -0.0152109489, -5.030531748e-33, -0.0381751321, 0.0252968948, 0.0072866394, -0.015558783, -0.0461530127, 0.0301705431, -0.0305360761, 0.03125773, 0.0222644527, 0.0198663846, 0.0425764099, -0.0157874916, 0.0198067185, 0.0286006145, 0.0164868385, 0.0126868989, 0.052467145, -0.030854689, -0.0248212963, -0.0267433841, 0.014655211, 0.0142536638, 0.0488344952, -0.0711818188, -0.0075659808, 0.0277234297, 0.0081692012, 0.0052142562, 0.0653350204, 0.0868850127, -0.0261403844, 0.0275933947, -0.0065427809, -0.0367446393, -0.0155868037, 0.0520487912, -0.0496349595, 0.0199600849, 0.0308843069, 0.051706139, -0.0951853842, -0.0299725998, 0.0153776212, -0.026627982, -0.0081494907, -0.0312747844, 0.061727684, -0.0334792398, -0.0021171726, 0.0028977662, -0.0669116974, -0.0004925336, -0.0221513454, -0.0408413559, 0.0766120106, 0.063551113, 0.0261457972, 0.0079280064, -0.0076334793, 0.0369617902, -0.0083840592, 0.0373989865, 0.0653375015, 0.0262184832, -0.0064155119, 0.0702375025, -0.0000561012, -0.0957402512, 0.0165708493, -0.0270323064, 0.021168882, 0.0193717517, 0.0133201582, 0.08450225, 0.0336767547, -0.0054870741, -0.0095887082, 0.0053928276, -0.0562969074, 0.017346384, 0.0237884782, 0.0427233279, -0.0051500183, -0.009052692, -0.0300338287, -0.0636181906, -0.0311776586, -0.0493185036, 0.0395604819, 0.002616365, 0.0172716752, 0.0082798162, 0.0680835545, -0.026360238, 0.0084581496, 0.0005234735, -0.0371637642, 0.0456144847, -0.0017149426, 0.0179720446, -0.0384900123, -0.0119949067, 0.0672226101, 0.0110631427, 0.0220954213, -0.0030057647, 0.0556374453, 0.0128080836, -0.0641553551, 0.0075966185, -0.0075102025, -0.0447931997, -0.001375266, 0.0453196429, 0.0499347709, 0.0281241387, -0.0686093941, 0.0180989113, -0.0416943505, -0.0011634411, -0.0326157212, -0.0444470756, -0.0253612064, 0.0310472101, -0.0076941331, 0.0171094872, -0.0379760787, -0.0027442107, 0.009186862, -0.0289384164, -0.027489543, 0.0195230991, 2.374e-7, 0.0093436139, -0.0070396713, 0.0433233269, 0.0150885256, 0.0470762439, 0.0432498492, -0.0340744294, 0.0460802577, 0.0123244356, -0.0364142098, -0.0062057623, 0.0195505284, 0.0630624294, -0.0117362933, -0.0474699736, 0.0491983704, -0.0495559126, 0.003568498, -0.0263965055, 0.0158108901, 0.0735019967, 0.1053886265, -0.0478689373, -0.0009877223, 0.0114883389, -0.0396681651, 0.0781222805, -0.0440818965, -0.0216515493, -0.053661339, -0.0560576543, 0.0450416282, -0.0328304768, 0.0299172234, -0.0082377829, 0.0367856026, 0.0445550084, 0.0151773971, 0.0186089762, -0.0296781827, -0.0262812823, 0.0892258286, -0.066001147, -0.0166030936, 0.0726039484, -0.0732811689, -0.0377429873, -0.0642571971, -0.0333088487, 0.0197735932, 0.0309271682, -0.0103436122, -0.0333393142, -0.0058215554, 0.0405911095, -0.0029916051, -0.0476528481, -0.049367927, -0.0369977318, 0.042827405, -0.0228568055, -0.0014822362, -0.0309352372, -0.017981926, 0.0668147951, -0.0426205695, -0.0152750118, 1.731657003e-34, 0.0029009713, -0.0070485538, 0.0297908131, -0.026049247, -0.0344751254, -0.0225787815, 0.0470329858, -0.0181446392, -0.0084305126, -0.0282860305, -0.0359771252 ]
http://arxiv.org/abs/2310.13265v1
http://arxiv.org/pdf/2310.13265v1
MoqaGPT : Zero-Shot Multi-modal Open-domain Question Answering with Large Language Model
2023-10-20T04:09:36
2023-10-20T04:09:36
Le Zhang, Yihong Wu, Fengran Mo, Jian-Yun Nie, Aishwarya Agrawal
cs.CL
cs.CL
Multi-modal open-domain question answering typically requires evidence retrieval from databases across diverse modalities, such as images, tables, passages, etc. Even Large Language Models (LLMs) like GPT-4 fall short in this task. To enable LLMs to tackle the task in a zero-shot manner, we introduce MoqaGPT, a straightforward and flexible framework. Using a divide-and-conquer strategy that bypasses intricate multi-modality ranking, our framework can accommodate new modalities and seamlessly transition to new models for the task. Built upon LLMs, MoqaGPT retrieves and extracts answers from each modality separately, then fuses this multi-modal information using LLMs to produce a final answer. Our methodology boosts performance on the MMCoQA dataset, improving F1 by +37.91 points and EM by +34.07 points over the supervised baseline. On the MultiModalQA dataset, MoqaGPT surpasses the zero-shot baseline, improving F1 by 9.5 points and EM by 10.1 points, and significantly closes the gap with supervised methods. Our codebase is available at https://github.com/lezhang7/MOQAGPT.
[ -0.0055014067, 0.0696528479, 0.0184351727, 0.0414832495, -0.0296773463, 0.0014189645, 0.0156888105, -0.0005794583, -0.0219052564, -0.0786907449, -0.0502008051, -0.0147187635, -0.0395395346, 0.0255279113, 0.0215466879, 0.0079012588, 0.0429355279, -0.0330535285, -0.0091473153, -0.0120491786, 0.0114799114, 0.0312179029, -0.015899919, 0.0233974215, 0.0092757409, -0.0438216254, -0.0289695375, -0.0146505302, 0.0134108141, -0.0009716584, 0.0221175458, 0.0447000526, 0.0698342547, 0.0243762732, 0.0000017963, -0.0188266635, -0.0337187499, 0.0099739814, 0.0088144355, -0.0278967656, 0.0046603545, 0.0038315083, 0.0428653471, 0.0076560332, -0.0568546653, -0.0289437436, 0.0207325425, 0.0659597814, 0.0616544969, 0.0641789436, 0.0119468747, -0.0343702137, 0.0186537057, -0.0007255459, 0.0409733504, -0.0327706337, 0.0195228923, 0.0192165878, 0.0480247177, 0.0389662161, -0.0114293536, 0.0430134423, 0.0152111175, 0.0204744227, -0.0537633486, 0.049290631, -0.0116048735, 0.0320714973, 0.0133735212, 0.1220853254, 0.0401476659, 0.0011467549, -0.0052850363, 0.0173816551, 0.0024370488, 0.025342904, -0.0796135366, 0.0502792411, -0.013632806, -0.0156546049, -0.0442637652, -0.0135284001, 0.0112238582, 0.0293898769, -0.0046486207, 0.0407888629, 0.0145380301, -0.0177638642, 0.0037657595, -0.0130617218, -0.0467568301, -0.0376536548, -0.0391687788, 0.0772248432, -0.0150646605, 0.0079188645, 0.0013164107, -0.0067973789, 0.0359194055, -0.0175753757, 0.0101858256, 0.0241136272, -0.0451438092, 0.0710143819, -0.0377701856, -0.0052186074, -0.0485901274, 0.0072786235, -0.0543891117, -0.0585337244, -0.0635659024, -0.0220025405, -0.0196365099, 0.0243186262, -0.0558933616, -0.0323671736, 0.0197008513, 0.0147736315, -0.0048225787, -0.0293294657, 0.0183555596, 0.0366454422, -0.0164953023, -0.0177303012, -0.0178545192, 0.0778314248, -0.0390048362, 0.0560285524, -0.0108279381, -0.0465066098, -0.0295095369, 0.0187420938, 0.0129959453, -0.030350754, 0.0262053274, 0.0861761048, -0.0361407734, -0.0337906815, -0.0058114883, -0.0353648663, -0.0259206537, -0.0643341169, 0.0133236255, -0.0673672482, 0.0105680088, 0.0074284077, -0.0089608198, 0.0076915892, 0.0036405385, 0.044585377, -0.0152809657, 0.0581433438, 0.0178203527, -0.0181187019, 0.0434254706, 0.0329573937, 0.0115374476, 0.0892499834, -0.0011977463, 0.0069894637, 0.036836639, 0.0299595874, 0.0197091773, 0.0149593186, 0.0224134475, 0.0368085094, 0.0215719771, 0.0355697908, 0.0134296585, 0.0133340517, 0.0253200885, 0.0041695628, -0.03798173, -0.0346466377, 0.0231521949, -0.0024557619, 0.0315182321, 0.0033964678, 0.0188226271, 0.0068746442, 0.0089383125, -0.0154018039, -0.0213243682, 0.04584736, -0.0352079459, 0.0134238983, 0.0320939161, 0.0522257872, -0.0438509993, 0.0093035772, 0.0182438809, -0.0074757347, -0.0236381479, 0.0395027846, 0.0441682301, 0.0031842438, -0.0352804624, 0.0470035933, 0.025796093, -0.0114033138, -0.0282060876, -0.0326000378, 0.0509137511, -0.0167814717, 0.0207983069, -0.0668390021, -0.0269918144, -0.0266514011, 0.0386774912, 0.0138051119, -0.0521893613, -0.018819904, 0.0369686261, -0.0407071039, -0.0364233255, -0.0377712436, 0.0089072688, 0.0103096571, 0.013727067, 0.01680067, 0.0073004686, -0.0437752567, 0.0726922452, 0.0061835805, 0.0250207298, -0.0177686568, 0.0078711221, -0.0131342486, 0.0136340838, 0.0074594854, -0.0246430747, 0.0170157552, 0.0361217409, -0.0224937033, -0.0321240909, -0.0172636677, -0.0375810266, -0.0359839015, 0.0636735409, -0.0296715144, -0.0168499723, -0.0004620847, -0.0645841584, -0.0352966152, 0.0018652886, 0.0019782931, 0.0107991491, -0.0571748503, -0.0595688894, 0.0564472824, 0.0129249617, -0.0541800484, 0.0759348869, -0.0058793705, 0.0053201634, 0.043833971, -0.0121595059, 0.0220939964, -0.0099990843, 0.0074622435, 0.0094758151, -0.0137722166, 0.0385077745, 0.0110943867, 0.0238700286, -0.058626458, -0.0294971894, -0.1452975422, 0.0217533521, -0.0051587811, 0.0002157275, 0.0384212695, 0.0266076066, -0.0185222663, -0.0268081538, -0.0550683923, 0.0123678856, 0.0293537062, 0.0209521651, 0.0289471447, 0.0221352894, 0.0192204993, -0.0100470949, -0.0195255876, -0.0067253085, 0.0618654937, -0.0493543409, 0.0161279477, -0.0154816359, -0.0234028082, -0.0594106875, 0.0449208282, -0.0156149939, -0.016254805, 0.0131203402, -0.0522681214, 0.0292234737, 0.0390522368, -0.0106655061, -0.0210615769, 0.0376507416, -0.0262344349, -0.0593569353, 0.0206222199, 0.0032385162, -0.0380075611, 0.0045039188, 0.0098560061, -0.0084941173, 0.0197451729, -0.0013827725, -0.021794552, -0.00868423, 0.0133536141, 0.0384049602, -0.0092995241, -0.0623585396, 0.0597876273, -0.0067973961, 0.0177342147, -0.009853173, -0.0143285096, 0.0436745621, -0.010208454, -0.0035894562, -0.0357262343, 0.0068709874, -0.0661213621, 0.0427947938, -0.0119430041, 0.0179818291, 0.016948577, -0.0021764031, -0.0591290034, -0.0240712743, 0.0093737189, -0.0401654355, 0.0624348596, -0.0324269272, 0.0371051952, -0.0553696156, -0.0266457722, -0.0080308942, -0.0677351654, -0.0297156814, 0.0165235046, -0.0808033422, -0.0031730768, -0.0374713875, -0.0125317238, 0.0488875024, 0.0181049481, -0.033712998, 0.0044720615, -0.021927204, 0.0907084867, 0.0870324522, 0.0577583686, -0.0236189738, -0.0154857812, 0.0091298698, 0.0788891092, 0.0013555295, 0.0227314252, -0.0083837863, 0.0008784118, 0.0288321115, 0.0230178013, -0.0016467051, 0.01832233, 0.0516798943, -0.0279711001, 0.0165618062, 0.0955616385, 0.0183553156, -0.0276383683, -0.041012913, -0.0104152253, 0.0313456953, -0.0050629298, 0.0284462906, -0.1409153193, -0.0799222365, -0.028211467, -0.0049365126, 0.0179254021, -0.0099692475, -0.0043198266, -0.0982260481, 0.0259134937, -0.0368128866, -0.0388141274, -0.0331651047, -0.0337228328, 0.0209299885, -0.0181003213, -0.0121787265, 0.0100498656, -0.0300041214, 0.0173001438, -0.0054297945, 0.0817833617, -0.0190452226, 0.0640508309, -0.0287635364, 0.0203641113, 0.0227105673, 0.0033911844, -0.0271004681, -0.0386079364, 0.0030895805, -0.034969531, -0.0127029186, 0.0014920302, 0.0155663239, -0.0285930503, 0.0010357079, -0.0282160062, 0.0328017361, -0.0181240179, -0.0205705594, 0.0259960201, 0.071308881, -0.0116640246, 0.0023203092, -0.0438071564, 0.0127014797, -0.0089161573, 0.0677323416, -0.0021645164, -0.0057722409, -0.0272401795, -0.0249354243, -0.0300843399, -0.0084239282, -0.0424629077, 0.0169260167, 0.0195765384, 0.036008779, -0.0579522736, -0.0160333309, 0.0506566279, 0.0470825434, -0.0353733525, 0.0096547445, -0.0569546334, 0.0320074186, -0.0511708669, 0.0530226007, -0.0477459095, 0.0182540938, -0.0576920174, 0.029915886, 0.0483688787, -0.0511883199, -0.0332274996, 0.0139802247, -0.082763195, -0.0348350592, -0.0397583693, 0.0341157615, 0.0108914627, -0.0068790503, 0.0091101276, -0.0458522476, 0.0306947194, 0.0264112111, -0.0313902982, -0.0086480482, 0.034536209, -0.0228317771, 0.0020756091, 0.0356185846, -0.0553534813, 0.0036608747, -0.0094562322, 0.0550904721, -0.014392646, -0.0184266884, 0.0380466916, -0.0079919258, 0.0409805961, 0.0195787828, -0.0248063989, -0.020783456, -0.0112404125, -0.0265183635, -0.0358201712, -0.0305383075, 0.0539471135, 0.0040525552, -0.066043511, 0.0062150024, 0.0110799288, -0.0132312402, 0.0378398262, -0.0297560524, 0.0189938881, 0.0753410012, -0.0357885063, -0.0147569897, -0.0256827939, -0.0239273235, 0.0011112065, 0.0024416512, 0.0453766771, -0.0167471208, 0.0904627964, 0.0027013107, -0.0521665551, -0.0390719287, 0.049395971, -0.0688103437, -0.0128323697, -0.0194348954, 0.0660518035, 0.0582485013, 0.0149378171, 0.0091371201, 0.0083886515, -0.0404459201, -0.0214381907, -0.0035619629, 0.0007040854, 0.0365653448, 0.0749797747, 0.0488449708, -0.012077366, 0.0269317236, 0.0939074978, -0.0029030577, 0.0314212069, 0.0179170612, 0.0105459476, -0.0153647242, -0.0207545087, 0.0193285421, 0.0349687189, -0.0151666068, 0.0169225782, -0.0205066167, -0.0330827683, -0.01177759, 0.0075195204, -0.0690681413, 0.0080535905, 0.0270848386, 0.036918655, 0.0406689756, -0.044305034, -0.0597412586, 0.0368924737, 0.0111982441, -0.0336655863, 0.014502652, -6.243254739e-33, -0.0161835067, -0.0110077383, 0.0354124419, -0.0542009063, -0.0060075317, 0.0275608059, -0.0032219957, 0.0026029316, -0.0567371361, 0.0057480708, 0.0095359739, 0.0021339222, 0.0024648895, 0.0341784507, -0.0028026483, -0.0217621513, -0.0164905675, -0.0162903648, -0.0227152295, 0.016747931, 0.0453924909, 0.0092504378, 0.0476524383, -0.0116052218, 0.0185505114, -0.0082581798, -0.0220046397, 0.0284236446, -0.0174404364, 0.0752192885, -0.0243542958, 0.0248247087, 0.0382315479, -0.0407919064, 0.0038627665, 0.0340147913, -0.0860620812, -0.0161165204, 0.0231907312, -0.0452189408, -0.0555054024, -0.0223598536, -0.0029423037, -0.0082656788, 0.0496475399, -0.0491926074, 0.0168443322, -0.0058741532, 0.0031903817, -0.0006870466, -0.0229891203, 0.0398466922, -0.0009002566, -0.0294904076, -0.0109644076, 0.0684601143, 0.0347185992, 0.0297881868, -0.0154096121, 0.0128235836, -0.0085292002, 0.0287129544, 0.0325695649, 0.0200011861, -0.0164768435, 0.0335324258, -0.0027370169, -0.0601145178, -0.0547023341, -0.0266952273, -0.0307920016, 0.055815272, 0.027220374, 0.0907661021, 0.0077941241, 0.0610075295, -0.0785426572, 0.0392449498, -0.0202234834, 0.0540431626, -0.0173550099, 0.0034392714, 0.011533482, 0.0165653545, -0.0262313448, 0.0308400076, -0.036217548, -0.0017931003, 0.0232210997, 0.0007038523, -0.0185177997, 0.0078339046, 0.0758282989, -0.0422061943, -0.0027055691, 0.0651245862, -0.0193086397, 0.0264856536, 0.0147983683, 0.0545793921, -0.031723015, 0.031023249, 0.0681145787, -0.0343466625, -0.0304941703, 0.0202163011, 0.0083726682, 0.0076642311, -0.0564919114, -0.0135597019, -0.0288455058, -0.0094434815, -0.0380964093, 0.032839153, -0.0028853843, 0.0245820507, -0.0143408533, 0.0387958996, 0.0081070103, 0.0135765653, -0.0287262741, -0.0479840897, 0.0131458547, 0.0023898012, -0.0200794321, 0.0505799241, -0.0436752923, -0.0296126939, -0.0169055704, -0.0413625836, -0.0047113961, 0.0626644492, 2.532e-7, 0.0682510585, -0.0163742453, -0.0049639805, 0.0200366192, 0.0076271566, 0.0500065386, -0.017641928, 0.0390106738, 0.0302463211, -0.0391486064, -0.0212319922, 0.0453585088, 0.0324602015, 0.0344886668, -0.0432676263, 0.007135259, -0.0218100343, -0.0470844582, -0.0478438474, -0.0276242178, 0.0630713776, 0.1044756249, -0.0298640262, -0.0088475225, -0.0000236046, -0.0491173677, 0.0760326385, 0.0084019853, -0.0259122867, -0.0234972071, 0.0229119603, -0.0205175243, 0.0282106008, -0.0175534077, 0.0241749417, 0.0044109975, 0.0266125128, 0.0771130919, 0.0022610752, -0.0590288267, -0.0229475033, -0.0338166133, 0.0066860202, -0.0295600928, 0.1235444769, -0.0350351743, -0.0289858822, -0.050876677, -0.0450960547, -0.0020293074, 0.0218384508, -0.0086854249, -0.0449030474, 0.0322924852, 0.0098945526, -0.0295555536, -0.0225674435, -0.0760909468, -0.0044307299, 0.0034776537, -0.0588354245, -0.0105966646, 0.0163544919, -0.0471493974, 0.0279096086, -0.0798099563, -0.0178583879, 2.119104763e-34, 0.0233373716, -0.0147761302, 0.0154718785, 0.0320674218, 0.0119736912, -0.0094351387, -0.0417544618, -0.0445900299, 0.016000079, -0.1055306569, -0.0195619203 ]
http://arxiv.org/abs/2310.13262v1
http://arxiv.org/pdf/2310.13262v1
A Quality-based Syntactic Template Retriever for Syntactically-controlled Paraphrase Generation
2023-10-20T03:55:39
2023-10-20T03:55:39
Xue Zhang, Songming Zhang, Yunlong Liang, Yufeng Chen, Jian Liu, Wenjuan Han, Jinan Xu
cs.CL
cs.CL
Existing syntactically-controlled paraphrase generation (SPG) models perform promisingly with human-annotated or well-chosen syntactic templates. However, the difficulty of obtaining such templates actually hinders the practical application of SPG models. For one thing, the prohibitive cost makes it unfeasible to manually design decent templates for every source sentence. For another, the templates automatically retrieved by current heuristic methods are usually unreliable for SPG models to generate qualified paraphrases. To escape this dilemma, we propose a novel Quality-based Syntactic Template Retriever (QSTR) to retrieve templates based on the quality of the to-be-generated paraphrases. Furthermore, for situations requiring multiple paraphrases for each source sentence, we design a Diverse Templates Search (DTS) algorithm, which can enhance the diversity between paraphrases without sacrificing quality. Experiments demonstrate that QSTR can significantly surpass existing retrieval methods in generating high-quality paraphrases and even perform comparably with human-annotated templates in terms of reference-free metrics. Additionally, human evaluation and the performance on downstream tasks using our generated paraphrases for data augmentation showcase the potential of our QSTR and DTS algorithm in practical scenarios.
[ 0.1001774445, 0.0157035775, 0.0014448843, 0.0098442687, -0.0439489968, -0.010313483, -0.0160287432, 0.0213940293, -0.0233221967, -0.0462069027, -0.0091792177, 0.0291975886, -0.0187156256, -0.0508347824, 0.0184588227, -0.092633076, 0.0400888883, 0.0076839612, -0.0141617386, 0.018771138, 0.0005952702, 0.0392292365, 0.0183705315, 0.061397098, -0.0038077631, -0.0068335482, 0.0403774157, 0.049507618, 0.025335772, 0.0132448738, 0.0547581539, -0.0208866931, -0.0113218175, 0.0051970072, 0.0000015615, -0.0233679414, -0.0380710699, -0.0054270411, -0.0065856939, 0.0312318653, 0.1020496786, -0.0235241819, 0.0138530452, 0.0399671905, -0.0393083468, -0.0116860177, 0.0126169873, 0.0069709979, 0.1085372493, 0.0499440394, -0.0007189934, -0.0429104604, -0.0313999876, 0.0177295338, -0.0144379316, -0.0149905356, -0.0102127045, -0.0066339225, 0.021572914, 0.0108782686, 0.0155316098, 0.0592090115, 0.0059318766, 0.0471002534, 0.0312864035, -0.0143172722, -0.039270889, 0.0031259481, -0.0147829326, 0.0348709002, -0.0310702603, -0.0372044034, 0.0212847982, -0.0103293061, 0.018087443, 0.0483166799, -0.0621439405, 0.0217428189, -0.0115882456, 0.0072518196, 0.026596427, 0.0199570674, -0.0176653247, 0.035689164, -0.0019153978, -0.0010520458, 0.0378496461, -0.0226380434, -0.0497268513, 0.0053350241, -0.0468804054, 0.0121810371, 0.0101453569, -0.0292956401, -0.0328519046, 0.0277607981, -0.0656337515, -0.1102759764, 0.0456741862, -0.0212356672, 0.0274732932, 0.0064422647, 0.0235335585, 0.0211388227, -0.0421759002, 0.0294295922, -0.0562140904, 0.0377854779, -0.0730758458, -0.0268549453, -0.082390435, -0.0011177021, -0.0850946233, 0.0644432604, -0.0219780151, -0.0338865854, -0.0369716622, 0.0054982556, 0.0364801958, -0.0065499377, 0.0037232172, 0.0608144589, -0.051797349, 0.00893836, -0.0138990199, -0.0068116435, -0.0346533991, -0.0041666604, 0.0266750082, -0.0539728068, -0.0231597032, 0.0488236398, 0.0613112375, -0.0696659312, 0.0282373521, 0.0444283672, -0.0028808692, -0.0398298018, -0.023209611, -0.0416870043, -0.0220893305, -0.0249973051, -0.0041474258, -0.0490721576, 0.0291648228, 0.0265251901, -0.0107107209, -0.0273332037, 0.0209186766, 0.0520932153, -0.0564811453, 0.02360324, -0.0112866452, -0.0391810946, -0.0145241534, -0.0187500138, -0.0250991117, 0.01838772, 0.0374330468, 0.0369731858, 0.0634720549, 0.0419174284, 0.0121030901, -0.0152363107, -0.0038450807, 0.0165111143, -0.0271757711, 0.0389796607, 0.0059630247, 0.0172745381, 0.0074300589, 0.0756358206, -0.0489605218, 0.0008633743, 0.0477647483, 0.0228092149, 0.0143614421, 0.0545034148, 0.0688698217, 0.0677153319, 0.0057654125, 0.0282705389, -0.0190960169, -0.0117280968, 0.0088247536, 0.0468416139, 0.0051239682, 0.0432274714, 0.0159467831, -0.0505637415, -0.0208721235, -0.0133759137, -0.0269243158, -0.0155797414, -0.0132726422, 0.0229669511, -0.0638638586, 0.091749616, -0.0458863154, -0.082250528, -0.0234054402, -0.0117045278, 0.0052053221, 0.0853577107, 0.1035982743, -0.0013759905, -0.01833288, -0.0081225401, -0.033110112, 0.0330475159, 0.012493927, 0.0232063401, 0.0321529508, -0.0773915574, -0.0096132271, -0.0471106134, 0.0229234509, -0.0091212355, 0.0278481115, -0.0322101377, 0.0555066131, -0.0207921341, -0.0683228821, 0.0477771126, 0.0532961152, -0.0202656277, 0.0294554122, -0.0132452585, 0.0109529179, 0.0318792351, -0.0132647939, 0.0355282538, -0.0101667391, -0.0657664165, -0.0119767822, 0.0428952277, -0.0426694378, -0.0520397648, -0.0290068816, -0.0509932227, 0.0040263236, 0.0244769622, -0.0168779697, -0.0434685536, -0.0010911133, -0.0877466351, 0.0426742956, -0.0613969751, -0.000746486, -0.0062264497, 0.0166377854, -0.0343270525, 0.0651534274, 0.0425060764, 0.0073571047, 0.035025306, -0.0344540812, 0.0482769497, -0.0396279246, 0.0037205936, -0.0361448377, -0.0076303426, 0.025045678, 0.0492588542, 0.0283007436, -0.0609745681, -0.0322965719, -0.0718570352, 0.0312236007, -0.0151680326, -0.0099418545, 0.0441151597, 0.010062458, -0.0058537237, -0.0212567523, 0.0082378294, -0.0410444438, 0.0219959226, 0.0197003447, 0.046563141, 0.0459727794, -0.0124043971, -0.0677593574, 0.0119774146, -0.0037425146, 0.0459722318, 0.0206053555, -0.0074832053, -0.0164934937, 0.030568786, -0.0197403934, -0.0300633777, 0.0476723537, -0.0593991764, -0.0011070375, -0.0167807508, 0.0199987385, 0.0645627603, 0.0243747663, -0.0337619707, 0.0172887407, 0.017331481, -0.0739351436, 0.0127271852, -0.0058292476, -0.0039461395, 0.0225224439, -0.0067867874, 0.0701377168, 0.0112035358, 0.053496331, -0.0042737871, -0.0755319148, 0.0298846383, 0.0105535416, 0.004356158, -0.0133806905, 0.018453462, -0.0386681817, -0.0080073569, -0.0324073136, -0.0188137963, 0.05848049, -0.0117453877, -0.0054628416, -0.0632223785, 0.004885958, -0.0251071155, -0.0143665988, -0.0352941528, 0.0297438595, -0.0008003039, -0.0213996135, -0.0387858562, -0.0219096392, 0.0624353252, -0.0386740714, 0.0206159875, -0.0468587056, -0.0022077837, 0.016398523, -0.0368138701, -0.039745938, -0.0520491675, -0.0135958511, -0.0021469845, 0.0141208032, 0.0075815227, 0.0152890198, -0.0423908606, 0.0196784735, 0.0398373306, -0.0298122149, -0.0156583861, -0.0391746387, 0.0454300009, 0.0598626025, 0.0054645366, 0.0068950737, -0.0132587962, 0.0055213361, 0.0100809289, 0.0536740571, 0.0132483765, -0.0183168706, -0.0348348692, -0.001005921, -0.036726445, -0.0414305441, 0.0018396357, 0.023835551, -0.0297996085, -0.0315613858, 0.084168449, 0.0326315239, -0.0059083761, -0.0238402132, -0.0137470197, 0.0386023447, 0.0068085073, 0.0269959606, -0.0708642229, -0.0485142693, -0.0198861416, 0.0332558826, -0.0063869432, -0.0042785988, -0.0134549495, -0.0479999557, 0.0488017499, 0.0078505585, 0.0312908851, -0.0141641134, 0.0172863156, -0.0212023221, -0.0110417921, 0.022665523, 0.0215725098, -0.052775234, 0.0450867005, -0.0126064355, -0.0309113599, -0.0376736298, -0.0278148949, -0.069064863, -0.0197186656, 0.0611266568, 0.0346813239, 0.0306906309, -0.0181065742, -0.0113104247, -0.0776970536, 0.0257275309, 0.0094235335, 0.0325444043, -0.0199928228, 0.0001922153, -0.0144972047, 0.0040566204, -0.0334658623, 0.0076002935, 0.0356280096, 0.0188021529, 0.0076759649, 0.0379938222, -0.039855618, 0.0110812457, -0.0210936703, 0.0928787217, 0.054679919, -0.0306807086, -0.027094081, 0.0005196274, 0.0137295108, -0.1176696494, -0.0114514604, 0.0160156153, -0.0391355343, 0.0336194858, -0.0935048535, -0.0174803864, 0.0093377372, 0.0386079289, -0.0217482224, 0.0474883467, -0.0432206467, 0.006976747, 0.0050370106, 0.0105516687, -0.0510719232, -0.0047041359, -0.0279835667, -0.0058523454, 0.0232639741, -0.0229724888, -0.0023342678, 0.0425495952, -0.0338415354, -0.0249116775, 0.0095151607, 0.0684382915, 0.0177527703, 0.0204410944, -0.0112986127, 0.0279787779, 0.0367171839, 0.041479025, -0.0478784069, 0.0150650507, 0.0380848534, 0.0029066054, -0.0182793662, 0.0309303906, -0.0465066023, -0.0346485078, 0.0090760915, 0.0726613104, 0.0100035435, -0.0349129587, 0.0695993528, 0.0299223959, 0.0214455016, -0.0300640427, 0.018728368, 0.0351227485, 0.0125537477, -0.0037518055, -0.0276794434, -0.0403042808, 0.0319594108, 0.0116505967, 0.0010289629, -0.0227208305, 0.0224921871, -0.053496588, 0.0719556212, -0.0376611911, -0.0332022756, -0.0566210933, -0.0127338972, -0.0219401494, -0.0156849138, -0.0236770809, -0.0079155453, -0.0531109273, 0.0021934111, -0.009785885, 0.0394701362, 0.0098448992, -0.0651906282, -0.0456244759, 0.057295505, -0.0513695553, -0.0163146537, -0.022585012, 0.0024569186, 0.0612093732, -0.0018881537, 0.0603112131, -0.0277174227, -0.0259425137, 0.0164296012, 0.05629161, 0.0048032063, 0.0084399916, -0.0151445931, -0.0022891848, -0.0125775244, -0.0367793292, 0.034102492, 0.0154692708, 0.0299632736, -0.0110972188, -0.0373824909, -0.0426619947, -0.0294743255, -0.0097701782, 0.0105382791, 0.0115884887, -0.012895002, -0.0360024497, -0.0227969326, 0.05251747, 0.018009264, 0.0081090871, -0.0344227664, 0.0643712878, 0.0502982512, -0.0205618329, -0.0387398377, -0.0587697029, 0.0110809356, 0.0193925742, -0.0036440557, -0.0476913787, -5.66576963e-33, -0.0190228168, 0.0210609492, -0.0291136056, -0.0356172286, -0.0102774194, -0.026025869, -0.0027817502, -0.0250393227, 0.0142466584, 0.0002041168, -0.02160234, 0.018897837, 0.0165307336, 0.03812626, 0.0316715278, -0.0029223557, 0.0599325709, -0.0039386018, -0.0337281674, -0.0029451346, 0.0343911052, 0.0194102302, 0.0276490878, -0.029266065, -0.0308434702, -0.0259645134, -0.0050537637, -0.0163073651, 0.0349589624, 0.0700358227, 0.0339224152, 0.0669964328, 0.0182669759, -0.0130908834, -0.0127437413, -0.0176441707, -0.0526058376, -0.0020186012, 0.0581199192, -0.02710885, -0.0657881126, -0.0975834951, 0.0277299918, -0.0460808426, 0.0002875676, 0.0459375083, 0.0379369743, -0.0557441376, -0.0037074995, -0.0389081538, -0.0036598593, -0.0052031442, 0.0023219713, 0.0042653289, -0.0165693592, 0.0730930269, -0.0118225422, 0.0390255116, -0.0044570337, 0.014162546, -0.0210250355, 0.045695316, -0.0022418106, 0.0065589845, 0.015649071, 0.0100731123, -0.0525749288, -0.0287917629, 0.0138688851, -0.0254886989, -0.021928167, 0.050424993, 0.0345785022, 0.0896857902, 0.0089598857, 0.0307995696, 0.0084333895, 0.036077559, 0.0303236693, 0.0242145658, 0.024551779, 0.0025474362, -0.0180472862, 0.0129106725, -0.0316999368, 0.0073512797, -0.0086532282, -0.0280486103, 0.0500314422, 0.0319680125, -0.0635439754, -0.0144261066, 0.0447699018, -0.0044698073, 0.0162457433, 0.0206748042, -0.0467240512, 0.0115372231, 0.0036839701, 0.0022085465, -0.0024294942, -0.0341601074, 0.0210735239, -0.0001984776, 0.0145456512, -0.0125112655, 0.0251987129, 0.0124671338, -0.0495259538, 0.0265205689, -0.0313943736, 0.0110924989, -0.0892481729, -0.1097219959, -0.002994102, 0.0376016349, -0.0020477066, 0.0304322224, 0.0157383028, -0.0142447725, -0.0338422991, -0.0076405164, 0.0093275933, 0.0283461045, -0.0050746603, 0.0221052598, -0.0222595949, 0.0054746028, -0.0016812104, -0.0183122121, -0.0097402819, -0.0037914177, 2.374e-7, 0.0163125787, 0.0467786342, 0.0473516397, -0.0055527105, -0.0307369642, 0.0342435017, 0.0322020352, 0.0382495224, -0.0364122912, -0.0092973402, 0.0301543996, 0.0119348187, 0.0276730843, -0.0349265039, -0.1170397997, 0.0460647009, -0.0948320031, 0.0191180017, -0.057449799, -0.0368518159, 0.0899038464, 0.0728229806, -0.0039257347, 0.0157746132, -0.0341868587, -0.0265271645, 0.0785233453, -0.0252777841, -0.0523867905, -0.0061593144, 0.0505167544, 0.0161603149, -0.0043803295, -0.0120757204, 0.0111163491, 0.0286666136, 0.0524034351, 0.0434183329, 0.0372316167, -0.0142307393, -0.0120838601, -0.0558294952, 0.0189202875, -0.0488424413, 0.0361692794, -0.0645857453, 0.0324865878, -0.0168006942, -0.0628149435, 0.0569457337, -0.0028936784, -0.0265460629, -0.0504405387, 0.0137580885, 0.0140713118, 0.0155669916, -0.0160580538, -0.0597270764, -0.0245294292, 0.0237220991, -0.010145857, 0.011966167, -0.0347901769, -0.0008906784, 0.0278078876, -0.0761403292, -0.013816895, 1.82890735e-34, 0.0506579243, 0.0023547064, 0.0453795157, 0.0228776224, 0.045254074, -0.0017263753, -0.0092469854, 0.0219741203, 0.0193237625, -0.023518417, -0.0108208647 ]
http://arxiv.org/abs/2310.13257v2
http://arxiv.org/pdf/2310.13257v2
Visual Grounding Helps Learn Word Meanings in Low-Data Regimes
2023-10-20T03:33:36
2024-03-25T18:48:40
Chengxu Zhuang, Evelina Fedorenko, Jacob Andreas
cs.CL
cs.CL, cs.AI
Modern neural language models (LMs) are powerful tools for modeling human sentence production and comprehension, and their internal representations are remarkably well-aligned with representations of language in the human brain. But to achieve these results, LMs must be trained in distinctly un-human-like ways - requiring orders of magnitude more language data than children receive during development, and without perceptual or social context. Do models trained more naturalistically -- with grounded supervision -- exhibit more humanlike language learning? We investigate this question in the context of word learning, a key sub-task in language acquisition. We train a diverse set of LM architectures, with and without auxiliary visual supervision, on datasets of varying scales. We then evaluate these models' learning of syntactic categories, lexical relations, semantic features, word similarity, and alignment with human neural representations. We find that visual supervision can indeed improve the efficiency of word learning. However, these improvements are limited: they are present almost exclusively in the low-data regime, and sometimes canceled out by the inclusion of rich distributional signals from text. The information conveyed by text and images is not redundant -- models mainly driven by visual information yield qualitatively different from those mainly driven by word co-occurrences. However, our results suggest that current multimodal modeling approaches fail to effectively leverage visual information to build human-like word representations from human-scale data.
[ 0.0280857924, 0.0789885372, -0.0211380497, 0.0377545282, -0.0299986135, 0.0047784536, -0.0014000315, -0.0202043559, -0.0359439068, -0.0366021506, -0.0838518441, -0.0522544608, 0.0396567211, 0.0219846796, 0.0552712046, -0.0537785552, 0.0231366735, -0.0257702935, -0.0448258482, 0.0047228034, 0.020780554, -0.0076631815, -0.0111977765, 0.0004669483, -0.0776691735, 0.0047933436, -0.0094466349, -0.0063052485, -0.0370211005, -0.0249622371, -0.0049284389, 0.0668227971, 0.0828651264, 0.012918924, 0.0000016847, 0.0032876269, 0.0389363542, -0.0607661605, 0.011524803, -0.0109483059, 0.0497355536, -0.0696195886, 0.0032509372, -0.0326950848, -0.0453209095, -0.0285028853, 0.0742312223, 0.0532931872, 0.0429595448, 0.0084933359, -0.0223110151, -0.0164559595, 0.0213511512, -0.0305673592, 0.0205145217, 0.0034723072, -0.0024993902, 0.0522334203, -0.0170572326, 0.0086076874, -0.0725955963, 0.0083218487, 0.0118326806, 0.0181592293, 0.0331468061, 0.0929218531, 0.0240995828, -0.0752552003, -0.0213071778, 0.0690197572, -0.0157901831, -0.0420780368, -0.0315801762, 0.0148191089, 0.0052965088, 0.0363050997, -0.0438572913, 0.0803448558, 0.0107197305, 0.0701954067, -0.0133091267, -0.0410167016, 0.0017487137, 0.0264376663, 0.0256143715, 0.011310962, 0.0018315021, -0.007717608, 0.0205185283, 0.0597425848, -0.0440169796, -0.0174749531, -0.0366877876, -0.0096290428, 0.0228615627, 0.0282374173, -0.0584847517, -0.0069799707, 0.0076027396, -0.0499315672, 0.0520835519, 0.0294233374, -0.0628678352, 0.0337859541, -0.0500118211, 0.0209677573, -0.0060654497, 0.0544992797, -0.0193113815, 0.0204364602, -0.012936593, -0.0340728499, -0.0010127992, 0.0132409763, -0.0557995439, -0.0382315218, -0.007263578, 0.0149888191, 0.0033552696, -0.0237816982, 0.0102798482, 0.0449857675, -0.0394463055, 0.0161941331, -0.0482914485, 0.0007572684, -0.0177499186, 0.0717548355, -0.0203252584, -0.0549768768, -0.0122435307, 0.0267573837, 0.0258137211, -0.0036488262, 0.0179678611, 0.0674519166, -0.0336379856, -0.0788736567, -0.0629354566, 0.0008398863, -0.0211778395, -0.0292716045, 0.0526143946, -0.0343835503, 0.0231754463, -0.0098674512, 0.0002001539, -0.0567134246, 0.0187873561, 0.047031153, -0.0263428148, 0.0781449527, -0.0075986804, 0.0217006877, 0.0026729295, 0.0037013451, 0.019890096, 0.0371053033, 0.0203780383, 0.0061335703, -0.0165923908, -0.0236853156, -0.0073593352, 0.0076943524, 0.0089877415, 0.0065456992, -0.0741267353, -0.0507193245, -0.0037957402, 0.0361168422, 0.1063238159, 0.0716971159, -0.0385744907, -0.012892819, 0.1066806689, 0.0866180137, -0.0378416739, -0.0008369284, 0.0360701606, 0.0092400992, -0.0186045915, 0.0233041309, -0.0642047673, 0.0425836183, 0.0003309971, 0.0029194551, -0.0284892134, 0.0072986651, -0.0363197811, 0.000455028, -0.0079402169, -0.023978075, 0.0382558405, -0.0075348197, 0.034470249, 0.0527667738, -0.046488937, 0.0120406076, 0.0689646453, -0.0233543999, 0.0053085759, 0.002065171, 0.0238264855, 0.0185929798, 0.0015561755, 0.0157193355, 0.0125014447, 0.0215483811, 0.0473543741, 0.1060051695, -0.0166934226, 0.0148320263, 0.016405331, -0.0373743437, -0.027114084, -0.0191632081, 0.015776962, 0.0072017503, 0.0101805739, -0.0344007313, -0.0232284591, -0.0529868789, -0.0395036452, 0.0863681883, -0.0108414022, -0.032114353, -0.0409445353, 0.0239989571, 0.0092574712, -0.0396820121, -0.0188730173, 0.023601573, 0.0300955549, -0.0287177619, -0.0026810132, 0.013384237, -0.0825682878, -0.0371523723, 0.0002611016, -0.0451799631, -0.0017671559, 0.0287163779, 0.0195975117, -0.020529788, 0.0263801385, -0.0381196626, 0.0417608134, -0.0568818972, 0.0033137633, 0.0091599161, 0.0624813586, -0.0161149967, 0.0579171516, -0.0343531258, -0.012558803, -0.0303683802, 0.0100512011, -0.0025198876, -0.011734291, -0.0119873714, -0.0222559646, -0.0108203953, 0.018531397, -0.0069825309, 0.0347657725, -0.0537197702, 0.0136197805, -0.0911819786, -0.0078209788, 0.027788369, -0.0204056483, 0.0087849256, -0.0264124554, 0.0129648298, -0.039394591, -0.0175478328, 0.0540416911, -0.0029668272, 0.0448303744, 0.0606399104, -0.0237915739, -0.0176342614, -0.0496226437, -0.0123196868, -0.0105472337, 0.0666986033, 0.0022654422, -0.0153720891, -0.0197526496, 0.0213583056, -0.0396650322, 0.0398164615, -0.0042635915, -0.0321509168, 0.05163664, -0.0054091979, 0.0640231371, 0.0723578408, 0.003484484, 0.0585272536, 0.0587292016, 0.0271221753, -0.0281694774, -0.0419721827, -0.0039683045, -0.0283998698, 0.0156912636, 0.001181418, -0.0328942388, 0.0786181167, 0.0389023609, 0.0176580567, -0.0708350167, 0.030357914, 0.011914704, -0.0204086751, -0.0554236099, -0.0127980374, -0.0296824723, 0.0211040284, -0.0742742717, -0.0828632265, 0.0321073495, -0.0230996646, -0.0063875709, 0.0048572938, -0.0186446477, 0.0140647031, 0.0613746829, 0.0413168669, 0.03694655, -0.0318651274, -0.0028323354, -0.0778194368, 0.0257263631, 0.0249441788, 0.0091447756, 0.0383641683, -0.0568503626, -0.0043151914, 0.001692331, 0.000675251, -0.0500877872, -0.0189141668, -0.0414211564, -0.0055681835, -0.0378512181, 0.039631214, -0.0027349256, -0.0000032065, 0.0464439094, 0.0165012479, 0.0136608165, -0.0114246206, -0.0252202488, 0.0323763937, 0.0366826281, -0.0179832075, -0.0273847803, -0.070140481, 0.0106564378, 0.0373565182, 0.0279681478, 0.0120591316, -0.0434874631, 0.0717102438, 0.016795354, 0.0479178801, -0.0081688715, 0.0312012266, 0.0344072133, -0.0023434951, -0.0281463191, 0.0562819503, 0.0049889269, -0.0329205953, 0.0297132712, 0.0123350015, 0.0375441313, 0.0264426302, -0.015032744, -0.0371724218, -0.03588425, -0.0039412566, -0.0323004089, 0.0244480688, -0.0227713622, -0.0233168211, -0.0812554881, -0.0105734803, 0.0133931777, -0.0592939779, -0.0200965349, -0.045597896, 0.0044897986, 0.039393995, 0.0298753921, -0.010538931, -0.0127188908, -0.0048086545, 0.0168673936, 0.0464756042, -0.0635257363, 0.011203032, -0.0658378378, 0.0370798595, 0.0299311951, -0.0021770641, -0.0341198444, -0.0505159646, 0.0639322847, 0.0149912201, 0.0227520373, -0.0068880152, 0.0375281572, -0.0325855836, -0.0260359533, -0.0081788786, 0.055772569, -0.0217382386, -0.0331747793, -0.0486245938, 0.0667328909, 0.000825369, -0.0267538577, 0.0013201181, 0.0286108833, -0.0160311144, 0.0563233234, 0.0511533767, -0.0715351328, 0.0041356324, 0.0372446179, 0.0205977764, -0.0026514912, -0.0432102345, 0.0313519575, -0.0125179682, -0.0127246324, -0.0902619362, -0.0281266198, 0.0314542055, 0.0488696024, 0.0212428086, -0.012579307, 0.0211174227, -0.0484285355, -0.02451526, 0.0729825273, -0.0367091373, -0.0062660645, -0.0569122098, -0.0422541611, 0.0101261511, -0.0478527136, -0.0067663128, -0.0072080493, -0.0585541949, -0.0609980524, -0.0068188179, 0.0151042826, 0.015982924, 0.0366574228, 0.0520283952, -0.0166628286, 0.0396489128, 0.0472184867, 0.0003247017, 0.0490072258, -0.0353735574, -0.0168815907, 0.0016225615, 0.0050149779, -0.0121204527, 0.0313818939, 0.0310825054, 0.0351289026, 0.0152103975, 0.0203364603, 0.0390756577, -0.0269741211, 0.0729626268, -0.0352572575, 0.0011173867, -0.0730035529, -0.0468938574, 0.0111279851, 0.0144892475, -0.0320830829, -0.0249567125, 0.0459719449, 0.0448518023, -0.0072016795, -0.0351681374, -0.0019472037, 0.0918376073, 0.0017582157, -0.0548967123, 0.0033918619, -0.010268487, -0.0451655835, 0.0394627154, 0.0010515943, 0.0129250893, -0.073617503, 0.0263815429, 0.0080572926, 0.0605164766, 0.0137607455, -0.027145613, -0.0219553635, 0.0214380249, -0.022396924, 0.0022243212, -0.0422452465, 0.0173803121, 0.0531569906, -0.0515981689, -0.0109666949, -0.0431220978, 0.016884828, 0.0057757306, 0.0230451096, -0.0339327231, -0.0463598035, 0.0706488118, 0.0237293094, 0.0066569797, 0.0042617735, 0.0628674999, 0.0525178611, 0.0467616618, -0.0436395518, 0.0159013346, -0.0363604724, 0.0053467271, 0.0638840124, 0.0067496193, -0.02088397, 0.0556942858, -0.033957392, -0.0704140961, -0.032673452, 0.0321574248, 0.0015565134, -0.0172116403, 0.0554630011, 0.0208780952, -0.0059491345, 0.0281408466, -0.005186188, 0.0150789255, 0.0307967477, 0.0034358529, -0.0211162027, -5.854348311e-33, -0.0384180248, -0.0331428945, 0.0202849228, 0.0052930843, -0.017356962, 0.0237398297, -0.0252068061, 0.0269476511, -0.0107847834, 0.0273959171, 0.0293000136, -0.0022586484, -0.0051860339, 0.0272323582, 0.0215705056, 0.00003963, 0.0076000579, -0.0475904047, 0.0165260658, -0.0249207001, 0.0125703588, 0.0182732847, 0.0597533807, -0.0290687457, 0.0050972085, 0.0105740596, 0.0074216202, 0.0384331271, 0.0282330923, 0.0432850309, -0.0635074452, 0.0208872594, 0.0324202292, 0.0220585708, -0.0297290105, 0.0367082432, -0.0743813664, -0.011342288, 0.0398222283, 0.0176426731, -0.0768722817, 0.0217334311, 0.0658758804, -0.0470091626, -0.0172445159, 0.0205983836, 0.0209386088, -0.0196277779, -0.0407560468, 0.0300922059, -0.0644301698, -0.0277964044, 0.0317713618, -0.0285939761, 0.0015634007, 0.0037336445, -0.0118725514, 0.0094026579, -0.018264506, 0.0197675154, -0.0435434058, 0.0145671628, 0.0584018864, 0.0405501239, 0.0259181503, 0.0939740166, 0.0326740481, -0.0039043773, -0.0429244265, -0.0287849475, 0.0865810886, 0.0369804278, 0.0155052254, 0.0166123919, 0.0231017079, -0.0031370209, -0.0381292701, 0.0124092335, -0.0280128177, 0.054224778, 0.020798916, -0.0034762321, -0.0070044082, -0.0145847276, -0.0412439518, -0.0354777873, -0.050006941, -0.0091548385, 0.0371358544, 0.0239671674, 0.0095997751, -0.0300315581, 0.0157252308, -0.0319886133, 0.0028905997, -0.0032354151, 0.001021124, 0.0163035784, -0.0011204439, -0.014770858, -0.0450750962, -0.0689668953, 0.04983541, 0.0159415603, 0.021719519, 0.0291601308, 0.052225519, -0.0042870827, -0.0181563366, -0.0163180195, -0.0527999662, -0.0537142456, 0.0174384918, -0.018439997, 0.0513216034, 0.0146339256, -0.0584930629, 0.0108473143, 0.0055717444, -0.0291580111, -0.0174672808, -0.0405683257, -0.0354156829, 0.0559535213, -0.0247137547, -0.0059747389, -0.0459449291, -0.0360290073, 0.055573944, -0.0592515618, -0.0137231508, 0.0156416669, 2.517e-7, -0.0022193827, 0.0357880592, 0.0034959263, -0.0066957353, 0.0243520252, 0.0175019819, -0.0235098153, 0.0307105593, -0.0370345637, -0.0889866352, -0.0209817477, 0.0497005023, 0.0230444148, -0.0245980788, -0.0194020011, 0.0230750218, -0.0401897766, 0.0108327977, -0.0295631569, -0.0059522185, 0.0342015475, 0.0530189276, -0.0160860009, -0.0580050983, 0.0054111406, -0.0362060107, 0.0976793021, -0.0351536274, 0.0041377838, -0.0551790334, 0.008607829, 0.0293448698, -0.0074742092, 0.0296239182, 0.0015972483, -0.0040591061, 0.0318199173, 0.0176260602, -0.0211007427, 0.0061884536, -0.0114973895, 0.0159002766, -0.033808738, -0.016876502, 0.0495333783, -0.0518912114, -0.0119316988, 0.0143011259, 0.0046611745, 0.0029389428, 0.0135716442, -0.0170725994, -0.0653908402, -0.0122811971, 0.0427150279, 0.0135839246, -0.0272710696, -0.040020749, -0.016381247, 0.0472458862, -0.0470938981, -0.0024990826, -0.049255278, -0.0221972242, 0.0507313944, -0.012492964, -0.0392572768, 1.78649944e-34, -0.0033775894, -0.0302116908, 0.0407643914, 0.0052695158, 0.016693458, -0.0326195545, -0.000228632, 0.0021993625, 0.0214291103, -0.0536345653, 0.0042153024 ]
http://arxiv.org/abs/2310.13247v1
http://arxiv.org/pdf/2310.13247v1
Anomaly Detection of Command Shell Sessions based on DistilBERT: Unsupervised and Supervised Approaches
2023-10-20T03:04:32
2023-10-20T03:04:32
Zefang Liu, John Buford
cs.CL
cs.CL, cs.CR
Anomaly detection in command shell sessions is a critical aspect of computer security. Recent advances in deep learning and natural language processing, particularly transformer-based models, have shown great promise for addressing complex security challenges. In this paper, we implement a comprehensive approach to detect anomalies in Unix shell sessions using a pretrained DistilBERT model, leveraging both unsupervised and supervised learning techniques to identify anomalous activity while minimizing data labeling. The unsupervised method captures the underlying structure and syntax of Unix shell commands, enabling the detection of session deviations from normal behavior. Experiments on a large-scale enterprise dataset collected from production systems demonstrate the effectiveness of our approach in detecting anomalous behavior in Unix shell sessions. This work highlights the potential of leveraging recent advances in transformers to address important computer security challenges.
[ 0.0405387469, 0.0270439554, 0.0072232448, 0.0524522513, -0.0353109539, -0.0172915198, 0.0456915982, -0.0157029331, 0.0191985182, -0.0182749536, 0.0217131637, -0.0306337234, -0.0223596729, 0.0612802021, 0.0338161997, -0.0104696676, 0.0852154046, -0.0221328493, -0.0429973789, 0.0055478849, -0.0128372116, -0.0121421283, -0.0312720127, 0.0374038443, -0.001089293, -0.0158979129, -0.0368853323, 0.0273876898, 0.0313948505, -0.0018941724, 0.0204746071, 0.0242793225, -0.0049687088, 0.0719028115, 0.0000018824, -0.0490870923, -0.0099934489, -0.0043971767, -0.0478892773, -0.0015689676, -0.0131206419, 0.0000531912, -0.0120143015, 0.0145275602, -0.0413524695, -0.0027800989, 0.0153697031, 0.0847679526, 0.0570237152, 0.0651484951, -0.0235799421, -0.0275603402, -0.0161864199, -0.0048003024, -0.0175727606, 0.0224277563, 0.0293387584, -0.0400731973, -0.0211527999, -0.0058248788, -0.0263354145, -0.0933643803, 0.0008499717, -0.0395001993, -0.0098009389, 0.0645256862, -0.0146238077, -0.0232794434, -0.0070259627, 0.0483138338, -0.0730558038, 0.0269251484, 0.0288110897, 0.0085338643, -0.0034732358, -0.0137862815, 0.0200772714, 0.0420824215, -0.0250346512, -0.0398960039, 0.0263656545, 0.0609253161, 0.007428715, 0.0054214043, -0.0468655042, 0.0549387597, 0.0381377786, -0.0269178227, -0.0242571607, -0.0341662355, -0.0170588065, -0.0449159145, 0.0111395493, 0.0326076709, -0.0396272913, -0.0226647742, -0.0338371433, -0.029806599, 0.0249772295, 0.0227509309, -0.0220923238, 0.0198186152, -0.0494343974, 0.0112670716, -0.0025626391, 0.0800661892, -0.0072295698, 0.041383028, 0.0317188203, 0.0359662101, -0.0855428129, -0.0004872606, -0.0158930477, 0.0509554185, 0.0040972685, -0.0119670108, -0.0454234853, 0.0682888255, 0.0180367511, 0.0262952615, 0.0253938418, 0.0091640577, -0.0440916419, 0.0376329683, 0.0269365814, -0.0205927007, -0.0366762839, -0.0275484808, -0.003984544, -0.0553646795, -0.0280944593, 0.0212810505, -0.0266636647, -0.0449041165, -0.0191622954, 0.0641438663, 0.0249071084, 0.0067918776, -0.082088612, -0.0857511386, -0.0122312559, 0.0291955005, -0.0135090854, -0.0566171557, -0.0342646763, -0.0399154834, 0.0257645883, -0.009891686, -0.0140994526, -0.0421718694, -0.0258474872, 0.0453194901, -0.0055608773, -0.0311444569, 0.0039065811, 0.0315612406, 0.0271257628, -0.0495122857, -0.0471418276, 0.0588218682, 0.0155444779, -0.0641220883, 0.0960780829, -0.0177071467, -0.026643144, -0.0199484844, -0.0132290591, 0.0353022777, -0.0128791872, -0.0497829653, 0.0501448214, 0.0479119606, 0.0219462495, -0.0537181124, 0.0353081115, 0.0483123176, -0.0254764929, 0.0175761618, 0.0268302169, 0.0195410941, -0.0704195872, 0.0205908921, -0.022437498, -0.0011336476, -0.0335100293, -0.0408104584, -0.0520604588, 0.0303956028, -0.0260172449, -0.0215664022, 0.0248794444, -0.0486932434, 0.0057493011, -0.0587562546, 0.028058853, 0.0347751379, 0.0119298119, 0.0265888274, 0.0153258862, 0.0155257536, 0.0112689324, -0.0572828278, 0.0014048411, 0.0647424608, 0.0218892675, -0.0247718561, -0.018243093, -0.0683769211, 0.0100520076, 0.0076707718, -0.0312189534, 0.0201800689, 0.0435018763, -0.0339315571, 0.0012953699, -0.026604522, 0.0145021519, 0.0280081648, -0.0572011806, -0.0013855158, 0.0151400389, -0.0564728007, 0.0043582167, 0.0533454344, 0.0213785544, -0.0956996307, 0.0353557616, 0.0458061323, 0.004568208, -0.0099799559, 0.0207970459, 0.0153071536, 0.017918678, 0.0055579976, -0.0345332138, 0.0018567158, -0.0222643036, 0.0204455014, 0.0042820787, -0.0337576531, 0.0056135496, 0.0394770354, -0.0547384396, -0.046949558, 0.0510922186, -0.0828970298, -0.013044131, -0.0036497149, -0.0241961982, 0.0250344891, 0.066769734, -0.0168840159, 0.0424215049, -0.0070070759, -0.0026686946, -0.009487127, -0.0040548136, 0.033467371, 0.0081550851, -0.0431360789, -0.0256068781, -0.0825181976, 0.0225086734, 0.050845392, -0.0146959452, 0.0049542584, 0.0157372318, 0.033798907, -0.0111984117, -0.0357357301, 0.0447314382, 0.0440924801, 0.0425118878, -0.0359826311, -0.034618251, 0.0115768528, -0.0776957422, 0.0238855649, -0.0002891904, 0.0680603832, 0.016028747, -0.0649691522, -0.0131393764, -0.015041857, -0.0394404233, 0.0411449634, -0.0198897198, 0.0058458778, -0.0292553026, 0.0508918092, 0.0171521436, 0.001590378, -0.0097752986, -0.0273339245, 0.0051421486, 0.000608991, 0.0299496464, 0.0772176534, 0.0458188467, 0.0354496688, 0.0190859791, -0.0020030795, -0.0072188238, -0.0313173272, -0.0341258794, -0.0195365269, -0.0192760359, -0.0013673484, 0.0496929735, 0.0717698708, 0.0371415392, -0.0361578017, -0.0222743433, -0.024708584, 0.0174862556, -0.0210965984, -0.0304223951, -0.0560341105, -0.0160011891, 0.0255706981, 0.0043977005, -0.0482899249, 0.0698452815, -0.0366593301, -0.0125814956, -0.0307278819, -0.0808633044, 0.0086282417, 0.0391155109, 0.0468684733, -0.004368837, -0.0061299587, -0.1178036407, -0.005751343, -0.0148816006, 0.0144953504, -0.0078498945, 0.007151613, -0.010375605, -0.0096571976, 0.0090859449, 0.0035203109, -0.1020709872, -0.0870259851, 0.0152018024, -0.03896714, 0.0126177967, -0.0346584991, -0.0503624976, -0.022118764, 0.0094010737, 0.0205769278, 0.0197991896, -0.0301687233, -0.0188837424, 0.0155960619, 0.0130090797, -0.0361018516, -0.0299984347, 0.0030720332, 0.0324288979, 0.0308742691, -0.0004109632, -0.01917715, -0.0386711098, -0.0031849234, -0.0347397365, -0.0281507038, 0.0298503581, 0.0530404672, -0.0133797573, 0.0043520504, -0.0403703116, 0.0875757784, 0.0229939483, 0.0064947535, 0.0252562147, 0.0032312816, -0.0039714552, -0.0043629012, 0.0033307448, -0.0498479307, 0.0162869915, -0.0030256708, 0.0435674153, -0.006562049, -0.0520740971, 0.021579437, -0.0667072609, -0.0062095416, -0.0083716754, -0.0184053332, -0.0607082807, -0.0194271356, -0.02758931, -0.0168896765, 0.0245593246, -0.0353536792, 0.0095018167, -0.0076006334, 0.0512866788, -0.0690237135, -0.0544727109, 0.0466071665, -0.0410223827, -0.0102251917, 0.0682327002, -0.022786336, -0.023645319, -0.0237493962, -0.0043851444, 0.0078949202, 0.0452631898, 0.033275675, 0.0313786939, 0.0349316411, -0.0133274551, -0.0239163209, 0.0501522906, -0.0684610754, -0.0275484398, 0.033805754, 0.0500916094, -0.0934495106, 0.0047110897, 0.0042766766, -0.0081473142, 0.0536569208, 0.0280736126, -0.0066081975, -0.0346902572, 0.0053796712, 0.0056295609, 0.0068674744, -0.011952796, -0.0191465765, 0.0217213463, 0.0328239948, -0.0309480242, -0.0371435173, -0.0303619225, -0.0141216181, -0.010321497, 0.0245769043, -0.0361378081, 0.0147297112, 0.0053381845, -0.0424092747, -0.0190548077, -0.020523306, 0.0547145829, -0.0371740796, 0.0490326881, -0.0080584083, 0.0073156124, -0.0609071217, -0.0046648607, -0.0679539889, -0.0305424575, 0.0522467792, 0.0167468488, 0.0131892916, -0.002648813, -0.0580443814, -0.0261168387, 0.0657269657, 0.0463334732, -0.0093415882, -0.0307313018, 0.0472753644, -0.0495763756, -0.0006769449, -0.0294585936, 0.0097145392, 0.0488542765, 0.0181212388, -0.0450384505, -0.0797107667, -0.0524001606, 0.0287919287, -0.0009449453, 0.06612131, 0.0149610629, 0.0378681794, 0.0105998768, 0.0441228971, 0.0046618651, 0.0044044005, 0.0465847477, 0.0169922318, 0.057536535, 0.0100494483, 0.0519073345, 0.0341144428, -0.0132923918, -0.002211649, -0.0128982887, 0.0056099077, 0.0674810708, 0.0259379484, 0.0026628822, 0.0231336802, 0.0279413294, 0.0171445664, 0.0574279688, 0.0924544409, 0.0029535806, 0.0611839853, 0.0043281219, 0.0414043628, -0.0364332646, 0.0300792661, -0.0693571121, 0.0152632399, 0.0193208065, -0.0215595551, 0.0014705861, -0.0185710005, -0.0344785675, -0.0249164756, 0.0313972048, -0.032175947, 0.0385162868, 0.0022863611, 0.0529275164, -0.0108304042, -0.0095687117, -0.0388672538, 0.0162725337, 0.0630208477, -0.0257221423, 0.0320366472, 0.0543707088, -0.0283883717, -0.0394455828, 0.0244656634, 0.0103564598, 0.0453181155, -0.0281519275, -0.0492900349, -0.0040682014, 0.0031604022, -0.0218954571, 0.0005205308, 0.043008361, 0.0194929, 0.0327847078, 0.0712253302, -0.0242031049, 0.005761866, -0.0657639429, -0.0032364894, 0.0001583366, -0.0395967178, -0.0352617018, -4.86844577e-33, 0.0221711285, -0.0058752662, -0.0185535941, 0.0646172166, 0.036477387, -0.0107676284, -0.0038819807, 0.0088529196, -0.0006970328, 0.0118416678, 0.0271285083, 0.0068073324, 0.0261545721, 0.0030790993, -0.0049310294, -0.0293447413, 0.03273803, 0.0286161862, 0.0017896212, 0.0433641858, 0.0749091655, 0.0459648557, 0.0296331402, -0.1153080687, 0.0049649454, -0.0211276375, 0.0058574439, 0.0028625885, 0.0176931825, 0.0126661053, -0.0075991135, 0.0277977809, 0.0117177768, -0.0488731153, -0.0288745258, 0.0322397538, 0.0002700899, -0.0113047333, -0.0420464911, -0.0019542291, 0.0239879396, -0.0181337222, 0.0085092988, -0.0066246935, 0.0127256913, 0.0140471989, 0.0390562303, 0.0117511321, 0.0195984934, -0.0247745961, -0.0414538458, -0.0191297997, -0.036657352, -0.0260965191, -0.0214350615, -0.0012901425, 0.0589478053, 0.0175539348, -0.0673573464, 0.0577515066, 0.0290674362, 0.0087137474, 0.0209164228, 0.0140646752, -0.0433450267, -0.0160541739, 0.0202518292, -0.0119590191, -0.0121911736, 0.0518780872, -0.0057428437, 0.0882943571, 0.0224680994, 0.0237760395, 0.0482471101, -0.0480029173, -0.03991675, 0.04331512, 0.0223921966, 0.014205819, 0.0026975984, -0.0020209861, -0.0452329926, 0.0120592881, 0.0358189531, 0.0421571247, 0.000841635, -0.0046248832, 0.0016454887, -0.0162796676, -0.0461441204, -0.0150769195, 0.0274794977, -0.0735226274, 0.0079422295, -0.0035096586, -0.0013159299, -0.0220260844, -0.0146204159, -0.0239649694, 0.038465742, -0.0268666614, 0.0565888546, -0.0193587188, 0.0297222063, -0.0227733999, 0.0222372487, 0.0328461975, -0.0642265975, 0.0125972517, -0.0027396132, 0.0375180505, -0.0269627571, 0.078485541, 0.0108866971, 0.0011501063, -0.0231128018, 0.0238968097, -0.0043521114, -0.0123820454, -0.0298401266, 0.0196966473, -0.0190965533, 0.0051940968, -0.0333805606, -0.0112987868, -0.0192870237, 0.0019523362, 0.0463042483, -0.0333405919, 0.0199511107, -0.0215939414, 2.842e-7, 0.0079920171, 0.0089656785, 0.0741166323, -0.0376864746, 0.0150419092, 0.0497286841, 0.0146518862, 0.0653364658, -0.0548677221, -0.0925614536, 0.0383755453, -0.0369798802, 0.0342508107, -0.0011072496, -0.0090571065, -0.0339170806, -0.0786896348, -0.0503504314, -0.0765990764, 0.001150314, 0.0699121952, 0.1109145805, 0.0388696119, -0.0591370687, 0.0300145093, -0.085388355, -0.0206788909, 0.0487042144, 0.0062448098, 0.0022118401, 0.0521729514, 0.0606663115, 0.0590243675, 0.0698422268, -0.0462485403, -0.0156118469, -0.0561685227, -0.0019839904, 0.0043318621, -0.0037819992, -0.0587268099, -0.0259140693, -0.0031864988, -0.0406345688, 0.0348174088, -0.0365061089, 0.0047351336, 0.0167387277, -0.0250008944, 0.0027477893, 0.02780517, -0.0112765729, 0.0176240392, 0.0141597241, 0.0401884392, -0.0026160055, 0.0342745818, -0.0538461544, -0.0136151677, 0.0014115651, -0.065064542, 0.0000961447, 0.032469783, 0.0015632138, 0.0549757369, 0.0669908747, 0.0021515705, 2.567482619e-34, 0.0032676945, 0.0149447657, -0.0112257767, -0.0428056158, -0.014212097, 0.0329648182, -0.0811863169, 0.0173098594, -0.0036383192, -0.0111182621, -0.0060156682 ]
http://arxiv.org/abs/2310.13243v1
http://arxiv.org/pdf/2310.13243v1
Open-source Large Language Models are Strong Zero-shot Query Likelihood Models for Document Ranking
2023-10-20T02:54:42
2023-10-20T02:54:42
Shengyao Zhuang, Bing Liu, Bevan Koopman, Guido Zuccon
cs.IR
cs.IR, cs.CL
In the field of information retrieval, Query Likelihood Models (QLMs) rank documents based on the probability of generating the query given the content of a document. Recently, advanced large language models (LLMs) have emerged as effective QLMs, showcasing promising ranking capabilities. This paper focuses on investigating the genuine zero-shot ranking effectiveness of recent LLMs, which are solely pre-trained on unstructured text data without supervised instruction fine-tuning. Our findings reveal the robust zero-shot ranking ability of such LLMs, highlighting that additional instruction fine-tuning may hinder effectiveness unless a question generation task is present in the fine-tuning dataset. Furthermore, we introduce a novel state-of-the-art ranking system that integrates LLM-based QLMs with a hybrid zero-shot retriever, demonstrating exceptional effectiveness in both zero-shot and few-shot scenarios. We make our codebase publicly available at https://github.com/ielab/llm-qlm.
[ 0.0182989314, 0.0249786153, 0.0185371172, 0.0241410229, 0.0042380095, 0.0198411103, 0.0220504813, -0.0028718086, 0.0246868748, -0.0743701011, -0.0419181362, -0.0253135841, -0.046409484, -0.0011609353, 0.0133483401, 0.0268677305, 0.033313714, -0.0191534255, -0.0119833443, 0.0038771557, -0.0309471283, 0.022570869, 0.0236791894, -0.0010273886, 0.0841895938, 0.0049109273, -0.038600307, 0.0332533941, -0.0015189063, -0.0386817567, -0.0116854543, 0.0367444418, 0.0319919251, 0.0491944924, 0.0000017986, -0.062582396, -0.0341808386, 0.0043648807, -0.0218292326, 0.0018233035, 0.0067455061, 0.0021006202, 0.0364469774, 0.0193244629, -0.0372132473, -0.0007659132, 0.0035732277, 0.0246296488, 0.0287657715, 0.0670697615, 0.0049398518, -0.0224835724, 0.027912885, -0.0312020872, 0.0888444707, -0.0578772165, 0.0268267244, -0.0216196291, 0.0174721833, 0.0816592872, 0.0135233887, -0.003605813, -0.0084467717, -0.0171105396, 0.0316887498, 0.0353039689, -0.0884807929, -0.0030879402, 0.030584272, 0.0971847773, -0.0317037329, -0.0316187553, 0.0251751598, -0.0039938181, -0.0111148497, 0.012798328, -0.0741485432, 0.0362139642, 0.0180171467, 0.0009645128, 0.0203884356, 0.0028627645, 0.0196334589, 0.0257853698, -0.030171236, 0.0768943205, 0.0218256731, -0.039002683, -0.000336727, -0.0180729963, -0.0105172843, -0.0390414447, -0.0239754543, 0.0288382173, -0.0211232901, 0.0121868318, -0.0191167686, -0.0065642106, 0.0432330854, -0.0486475639, 0.0137055358, 0.0061389222, 0.0218221005, 0.0988773704, -0.0401144736, 0.0164697953, 0.0174075328, 0.0040956382, -0.0435940064, -0.0042677028, -0.0248193163, -0.0264422558, -0.0138077531, 0.035430491, -0.0427371114, -0.0287757311, -0.022849828, 0.0326758921, 0.0361170396, -0.0060976292, 0.0016717515, 0.0309835467, -0.0622237176, -0.0095954966, -0.026533151, 0.0253832452, 0.0085239653, 0.001979782, -0.0110009806, -0.0220378041, -0.0103090741, 0.0123649491, 0.0251693539, -0.0540768914, 0.0132905617, -0.0247653686, -0.0133635122, -0.0385897197, -0.0194060318, -0.0425870717, 0.0297787674, -0.0494141616, -0.0118487673, -0.0575072318, -0.0032102931, 0.0240966957, 0.0160883516, 0.0236537699, 0.0202349331, 0.0496106409, -0.0443053171, 0.047133252, 0.0354169868, -0.00171922, 0.0043498911, 0.0058225663, 0.0488321744, 0.0442452803, -0.0360262133, 0.0314251631, 0.0462402813, 0.0158799868, 0.0115702786, -0.0003845814, 0.0174643472, 0.0303082597, -0.0012179583, 0.0422574766, -0.0034728558, 0.0303727239, 0.0054926779, 0.0048897709, -0.0363234207, -0.0183824971, 0.0373482183, 0.0320026539, 0.0466353931, -0.024548972, 0.0246881694, 0.0318396688, -0.0259170588, -0.0184665918, -0.0138311582, 0.0301326886, -0.0361984335, 0.0003015751, 0.0633208528, -0.0009837218, -0.0453658216, -0.0055277972, -0.0039696922, 0.0179148596, -0.0596367009, 0.013930575, 0.0613699257, 0.0052152765, -0.039809715, -0.0054476326, 0.0041472879, -0.0344773196, 0.001566674, -0.0434117615, 0.0468669683, 0.0449925326, 0.0760958418, -0.0539541431, -0.0315042473, -0.0082895029, 0.0141875222, -0.0061466848, -0.0030799792, -0.0239380021, 0.0215669814, -0.0474605411, -0.0295748729, -0.0076119984, 0.0165574178, -0.0018084657, -0.0217688289, 0.0345071293, 0.0507838316, -0.0572398379, -0.0271064248, 0.0126821538, -0.0409391485, -0.068282567, 0.0651692748, -0.0222317129, -0.0035621063, 0.0063159554, -0.0110364761, 0.0245033577, 0.0629983619, -0.006033794, -0.0189286117, -0.0407644846, 0.0063122199, -0.0277624521, 0.013283846, -0.0132173868, 0.0473302752, 0.0213243105, -0.040438097, -0.0374547318, -0.0126370238, 0.0512060858, 0.017107049, -0.0569800697, 0.0107386447, 0.0065694461, -0.0160948373, -0.0725815967, 0.0670176074, 0.0305609982, 0.0796174109, 0.0381888263, 0.0222122408, -0.0012018201, -0.0494595356, -0.0582102984, 0.0167140886, -0.0077336901, 0.0281838663, 0.0157246739, 0.0155306868, -0.046422217, 0.0130912093, -0.1163650453, 0.0505120829, -0.0198652279, -0.0040785414, -0.001478003, 0.0217131078, -0.010357907, -0.014796922, -0.0491522439, -0.0308282599, 0.0248989947, 0.0174830016, 0.0090341046, 0.0064359009, 0.0329221264, -0.0188914631, -0.0365928337, 0.0096763261, 0.0393101163, 0.0101902261, 0.045256488, -0.004318404, 0.0714835301, -0.0493932031, -0.0150410095, -0.0154475812, 0.0140516972, -0.015592997, -0.0810208693, -0.0030450644, 0.0753451288, 0.0139698032, -0.017284425, 0.0253549721, 0.0034349668, -0.0815055072, -0.0092213722, -0.0353298523, -0.007988777, 0.015300707, -0.0145949563, -0.0040965304, 0.0202189926, -0.0189505443, -0.0282663275, -0.0114338333, 0.0553483702, -0.0053703766, -0.0020757127, -0.0821298286, 0.0515739731, 0.0331534073, 0.0554189719, -0.0040177037, -0.0278693996, 0.0288719181, 0.0009654063, 0.0071730111, -0.0248629004, 0.0152443387, -0.0574645512, 0.0217804983, 0.0186118614, 0.0103879077, -0.0097497338, 0.0160204526, -0.0220040623, 0.0382406265, 0.018742267, -0.040171016, 0.0134159382, 0.0145815853, 0.0384038873, -0.0287926327, -0.050889384, -0.0256122574, -0.058598876, 0.0199277531, 0.0046018516, -0.02039106, -0.011546473, -0.0405851193, 0.0100751556, 0.0318553671, 0.0374947898, -0.0681899264, -0.0278463699, 0.0010308332, 0.0693146735, 0.0797736049, -0.0618865266, -0.0071276464, -0.024423968, 0.0279930457, 0.0357318856, 0.0690416247, 0.0181914177, 0.0227755457, -0.0283091962, 0.0376367196, -0.0258697886, -0.0239564516, 0.0197165981, -0.0117636025, -0.0024434268, -0.0413777493, 0.1256184727, 0.0603897013, -0.0536307693, -0.0381206796, -0.0425044857, 0.0313851908, 0.03707489, 0.0577079616, -0.1035927385, -0.0046747536, 0.0014880882, 0.0506844893, -0.0036707721, -0.0446651764, 0.0027694684, -0.1418772936, 0.0713198334, -0.016660966, 0.0090693748, 0.0061983149, -0.0644440427, 0.0046807677, -0.0347032472, -0.0442478992, 0.0513760261, -0.0353772752, 0.0224773623, -0.0000785059, 0.0411544517, -0.0361142643, 0.0124493251, -0.0273976177, 0.0046133036, 0.0299767945, 0.0252062678, -0.006618686, -0.0030404653, -0.0030387882, -0.0452155583, -0.0300747547, -0.0189217366, 0.0170722976, -0.0462297387, 0.0216496941, -0.0283627808, 0.0155329779, -0.006252497, 0.0311307274, -0.0055153477, 0.0385386497, -0.0456994846, 0.005344192, -0.0258048847, -0.0378396288, -0.0220292024, 0.0751166642, 0.0037210421, -0.0125659872, -0.0348383933, -0.0422012173, 0.0237585958, -0.0121852113, -0.0249045677, 0.0076855808, -0.0129389754, -0.0091828983, -0.0582907721, -0.0345498584, 0.0211834516, 0.0506535582, -0.0096538598, 0.033460211, -0.0310182385, -0.038410753, -0.0331920274, 0.0033403928, -0.0206962787, -0.005460002, -0.0649843663, 0.0152419386, 0.0944375247, -0.0479792841, -0.0251954067, -0.0659876391, -0.0512906052, -0.0425128415, -0.0504826382, 0.0479350798, 0.016756108, 0.0121571105, -0.0471417867, -0.0617820807, 0.0511721112, 0.0819936022, -0.0018049153, 0.0049678069, -0.0068533947, -0.0010420943, -0.0057695666, 0.0325392559, -0.06312114, 0.0268433411, -0.0204104036, 0.0417617857, -0.0234409478, -0.0443712547, 0.0188264865, 0.0383833013, 0.0580342747, 0.020923188, 0.0294108037, -0.0260450412, 0.0327065326, -0.0314850509, -0.0424327627, -0.0318168625, 0.0294550192, 0.0615833886, 0.006572118, -0.0158140063, 0.0318350233, -0.0351671167, 0.0835782811, -0.0871041864, -0.024660619, 0.0183133371, -0.0214343108, 0.0213673841, -0.014973483, -0.0238837395, 0.0226063784, 0.0328583084, 0.0801859647, -0.0171463564, 0.0389237702, 0.0102920057, 0.0096303495, -0.0257467832, 0.0221554004, -0.071084708, -0.0514598638, -0.0195397418, 0.0023174011, 0.0535025969, -0.007427474, 0.0366248488, 0.009540475, -0.0127764577, -0.0275946669, -0.0048902687, 0.0299927238, -0.010729135, -0.0062987003, 0.0570213497, 0.0080157267, 0.0642698035, 0.0916827098, 0.0368810929, 0.0017630791, 0.0222257599, -0.042250894, -0.0038187653, 0.0149293626, 0.0487036519, 0.0576094911, -0.0054895571, 0.0111267623, -0.0287703462, -0.0338970348, 0.0238540694, -0.0254571252, -0.0099470504, -0.0394336842, 0.0387520231, 0.0692228824, -0.0093632163, 0.0001518018, -0.0818774924, 0.0018668586, -0.0331498906, -0.0378044844, 0.0010059172, -6.5167695e-33, 0.000847178, -0.0300627276, 0.0020113823, -0.0209486634, 0.0153129296, -0.0015909555, 0.0090257842, -0.0231517889, -0.0123197269, -0.0199413039, -0.0227303933, 0.0074239108, -0.0006537238, 0.0390089937, 0.0181205217, -0.0155048016, 0.0039735464, -0.0116329491, -0.0246819109, 0.0248078797, 0.043102961, 0.0457829498, -0.0119552724, -0.0059184697, 0.0147695327, -0.0446112119, 0.0096623302, 0.0028511598, 0.0025577731, 0.0674700886, 0.0082317563, 0.0217423681, 0.0489065014, -0.0474337265, 0.0144576933, 0.0125633264, -0.0412995294, -0.0166876707, -0.0140268095, -0.0458654463, -0.0092273923, 0.0046423324, 0.0131490612, 0.0084890286, -0.0044277674, -0.0217626747, 0.0441102348, 0.0159056727, -0.0579068437, -0.0798960626, -0.0214900952, 0.0219230652, -0.011461447, -0.0262157489, 0.0128481919, 0.0742457956, -0.0287323501, 0.0918301269, -0.0376778319, 0.0358454175, -0.0209664833, 0.0525895506, 0.0306848641, 0.0193583984, -0.0096026594, 0.0381746814, 0.0160902031, 0.0089867245, -0.0124445856, -0.000012803, 0.0122592179, 0.0236167479, -0.0088198297, 0.0340055376, 0.0419481769, 0.048717808, -0.0815044418, 0.0532364883, -0.0054728184, -0.0036983548, 0.0384128727, 0.0159962904, -0.0353222787, -0.0275208298, -0.0333029591, 0.001966018, -0.0614321083, -0.0004668696, 0.0396854952, 0.0219644774, -0.0464273132, -0.0067639267, 0.0706627667, -0.0195247345, -0.0303892307, 0.0394645631, -0.0076282723, 0.012923087, -0.0305979978, 0.0350543112, -0.0824104995, -0.0030516274, 0.0247078184, -0.0236648843, -0.0371010639, 0.0167008862, 0.023046555, -0.0093293479, -0.0423358418, -0.0290304627, 0.0034076425, -0.0107619045, -0.0226115175, 0.0624885224, -0.0108072627, 0.0201304648, 0.0082321735, 0.08440274, 0.0312225111, 0.0053961365, -0.0156442355, -0.0477643758, -0.0035971566, -0.0391624793, -0.0108421799, 0.0165855717, -0.0215324126, 0.0272281729, 0.0061561791, -0.0641237497, -0.0163862072, 0.0228879899, 2.697e-7, 0.0327753872, 0.0362002477, -0.0457577817, 0.0259007569, 0.0226432402, 0.0339723639, 0.0136609264, 0.0650095865, 0.0534413978, 0.0068987482, 0.0144976275, -0.0055914144, 0.0020207171, -0.0349407457, -0.100709863, -0.0055129388, -0.0501574576, -0.0318144523, -0.0682652146, -0.0620302223, 0.0293809026, 0.095451124, -0.0310700256, 0.0073877969, 0.0150810666, -0.0403016731, 0.0571292005, 0.0306357127, -0.0495128222, 0.0149951773, 0.0225451402, 0.032979399, -0.0097384416, -0.0103970608, -0.0181069132, 0.0260219984, 0.0332908332, 0.0524518043, -0.0251105279, -0.0224783011, 0.0161590315, -0.008324516, 0.0221702792, -0.0588291213, 0.1194388792, -0.0347885527, -0.0126230717, 0.0249321777, -0.0640539378, -0.0064646327, 0.0323597006, -0.0424150564, -0.0343756005, 0.0041638217, 0.0020985063, -0.0148113873, 0.0006457833, -0.0432608984, 0.0041932608, -0.03207298, -0.0238614269, -0.0466761477, -0.0073222462, -0.0139561109, -0.0204431564, -0.0372357145, 0.0232540667, 2.711930441e-34, 0.0436225682, 0.0290860459, 0.0032262015, -0.0170640312, 0.0004773802, -0.0009408987, -0.0449479036, 0.0186771136, 0.0273458809, -0.1165046915, -0.0230657905 ]
http://arxiv.org/abs/2310.13231v1
http://arxiv.org/pdf/2310.13231v1
Multi-level Contrastive Learning for Script-based Character Understanding
2023-10-20T02:40:52
2023-10-20T02:40:52
Dawei Li, Hengyuan Zhang, Yanran Li, Shiping Yang
cs.CL
cs.CL, cs.AI, cs.LG
In this work, we tackle the scenario of understanding characters in scripts, which aims to learn the characters' personalities and identities from their utterances. We begin by analyzing several challenges in this scenario, and then propose a multi-level contrastive learning framework to capture characters' global information in a fine-grained manner. To validate the proposed framework, we conduct extensive experiments on three character understanding sub-tasks by comparing with strong pre-trained language models, including SpanBERT, Longformer, BigBird and ChatGPT-3.5. Experimental results demonstrate that our method improves the performances by a considerable margin. Through further in-depth analysis, we show the effectiveness of our method in addressing the challenges and provide more hints on the scenario of character understanding. We will open-source our work on github at https://github.com/David-Li0406/Script-based-Character-Understanding.
[ -0.0000158164, 0.0627254769, -0.005412925, 0.066342026, -0.0346143879, 0.0352783725, 0.0265610851, -0.000560667, 0.0225229654, 0.0065637277, -0.0035081923, -0.0820701271, 0.0376733206, 0.0489242375, 0.0394045599, -0.1026475355, 0.024215484, -0.0498151146, 0.0168918911, 0.0009008867, 0.0142095024, 0.0481341034, -0.0083193434, 0.0308383461, 0.0100397002, -0.0420173071, -0.0125460988, 0.0148191629, 0.0890337974, -0.0217572171, 0.0406353436, 0.0176155828, 0.0389822274, 0.0032364049, 0.0000020042, -0.0319748968, -0.029148059, -0.0180200823, -0.0115589416, -0.0109812468, 0.0701100603, 0.0001901219, -0.0147067299, 0.0194428526, -0.0019395837, -0.0326650366, 0.0268418957, 0.0490505137, 0.0402801521, 0.0472373143, -0.0208805148, -0.0949443951, -0.0240581278, -0.0087281223, 0.0266996045, -0.0386991426, 0.0001186256, 0.008121226, 0.0114485305, -0.006749311, -0.0431893654, 0.00947023, -0.0093738381, -0.0087026376, -0.0409772098, 0.0381784216, -0.0048784069, 0.0204739571, 0.0181887262, 0.1106583476, -0.003376028, 0.0165407248, -0.0352469683, -0.014875371, 0.0077854036, -0.0080227964, -0.004209578, -0.0033963285, -0.0269169882, -0.0010392793, 0.0300477091, 0.0414739884, 0.0043626125, -0.0180518143, -0.0521717183, -0.0346227586, 0.0081783766, 0.0052386359, -0.0208859593, -0.0190366153, -0.0071506687, -0.0325068459, 0.0113339406, 0.0390127711, 0.0185505971, 0.0017926121, -0.0025983022, -0.0134771252, -0.0150846075, -0.0007230001, 0.043302685, 0.0432187878, -0.0670186654, 0.0406096987, 0.0057335556, 0.0527532771, -0.0144734774, -0.0184309427, 0.0309798922, 0.0055750431, -0.0378867052, 0.0168877728, -0.0351632982, 0.0201713759, -0.0094632171, 0.0291774347, 0.0212136526, 0.014926224, 0.0236957278, 0.0160059221, -0.0028930001, -0.0059075383, -0.0557358228, -0.0295009706, -0.0059623444, 0.074687466, -0.043131426, -0.0163086709, -0.0305939857, -0.0314190313, -0.0182323065, 0.0102793043, 0.0267568752, -0.0142406002, 0.0407546498, 0.1031475067, -0.0127164945, -0.0624332428, -0.0528553836, 0.0037053651, -0.0384482816, -0.0571525358, -0.0652578399, -0.0448448732, 0.0455446765, -0.02188606, 0.0188401565, -0.0249267444, 0.0032119371, -0.014569656, -0.0023009041, 0.0973285213, -0.0011628625, -0.0498291515, -0.0149405971, 0.0063238768, -0.0170912351, 0.0086179646, 0.0327209644, -0.0127053978, -0.0431468599, -0.0288632493, -0.0033518844, 0.0306591801, -0.0447045937, -0.0317724012, -0.0138895353, 0.0044051819, 0.0399871543, 0.0155685619, 0.043142274, 0.0621822998, -0.0307684429, -0.0482985154, 0.0557954051, 0.0247080456, 0.0333017185, 0.0208108369, 0.0589754693, 0.053658478, 0.005948233, 0.0485783741, -0.0108949356, 0.0258782655, 0.0294940788, 0.0166781321, -0.0615450852, 0.0342500359, -0.0352979787, 0.0045658699, 0.0111897234, -0.0095542083, -0.0156925973, -0.0193003379, 0.0563942529, -0.0031308688, -0.0861961097, -0.0383927338, 0.0498547405, -0.0661057979, 0.032764893, -0.0392961651, 0.0149250068, 0.0844454244, 0.037211135, -0.0351171456, -0.0399455279, -0.0311787426, -0.0381010473, 0.0051385025, -0.028360907, -0.0337073579, 0.0870957971, -0.0510636829, 0.0372225568, -0.0082058134, -0.0394804403, 0.0893455222, -0.052668117, -0.0169021375, -0.0406313501, -0.0344937555, 0.0070913988, 0.0426949374, -0.0640877783, -0.0132400487, -0.0258559249, 0.0320568755, -0.0055318032, -0.0058823065, -0.0751354098, -0.0678782016, -0.0160140544, -0.0549398996, 0.0379870534, 0.021431949, -0.0371212102, -0.0883334056, 0.020443486, -0.0545200333, -0.0309174415, 0.0474820584, -0.0205653831, -0.0331927836, 0.0096932091, -0.0377395302, 0.0438376591, -0.0025153365, -0.0084430203, -0.0015334832, 0.043909207, -0.0339386575, 0.0851569176, 0.0099059083, -0.0373409539, 0.0050250133, 0.0376700014, 0.0177466497, -0.0389905162, 0.0006250846, -0.0038539148, 0.0147302747, 0.0048757386, -0.0035941564, 0.0091142906, -0.0121445581, -0.0650154427, -0.0387219079, -0.0034440402, -0.002033208, -0.0101757124, 0.016006289, 0.0386971608, -0.0220023226, -0.0221115686, -0.0350323766, -0.008715366, -0.0253451616, -0.0558652952, 0.0459364653, 0.0351636894, -0.0295694787, -0.0364827104, -0.0052086269, -0.034471374, 0.0544857979, -0.0136198997, 0.0092274286, -0.0125458427, 0.0302442424, 0.0254960041, 0.0384185575, -0.0334081315, -0.0189512707, 0.0222341977, -0.0194080956, 0.0058499039, 0.0584044419, 0.0359107554, 0.0137366084, -0.003011439, -0.0461059846, -0.0351287946, 0.037150953, 0.0447785556, 0.0050544464, -0.0431227237, -0.0200002231, -0.0492646284, 0.1184487417, 0.0301971138, 0.0334098861, -0.0836933628, -0.0146040451, 0.0474326797, -0.0042733154, 0.0240030084, 0.0218097139, -0.0422234237, -0.0003183692, -0.0257810857, 0.0246681944, 0.0879412815, -0.0589202493, -0.0450191572, -0.0182002373, -0.0253076032, -0.0124093378, 0.0586500764, -0.0061993692, 0.0340314172, 0.0014140173, -0.0847445205, -0.064146176, -0.0293370821, 0.0085801836, -0.0216307919, 0.034716323, 0.0191958379, 0.001429032, -0.0272090249, -0.0279335938, -0.0374652892, -0.0316054076, -0.0476996712, 0.0030962869, 0.0289625283, -0.0519727729, -0.0105127916, 0.0308947731, 0.0055456688, 0.0467466973, 0.017039692, -0.0335578546, -0.0354858339, 0.0073749474, -0.0271129087, -0.0015241179, -0.0097698877, -0.0313316323, 0.0903156325, 0.0112114633, -0.0394362994, -0.002284447, -0.0350683667, 0.0235942248, 0.0221275762, -0.0088222623, 0.0105564725, -0.0178720877, 0.0531196035, -0.0749443918, -0.0232049339, 0.1037706956, -0.0216481816, -0.0465958826, -0.0108826552, 0.0024837458, 0.0100060012, -0.0022839366, 0.0124246953, -0.0440194793, -0.0534748547, 0.0141259609, 0.0394700989, 0.025791904, -0.0521043688, -0.0160400476, -0.0661903247, 0.0431869999, 0.0014805555, -0.0561171435, -0.0496895574, 0.027676329, 0.0118266959, -0.0339831449, 0.0294351727, 0.0254554246, -0.0312277675, -0.0145416688, 0.0048009851, -0.0409306549, -0.0113975145, 0.0446987376, -0.0402354859, 0.0256304443, 0.0178361274, 0.0318469815, -0.0175549481, 0.0040985742, -0.0501931384, -0.0528413467, 0.0077052172, 0.0093088085, 0.0909684747, -0.0431391522, -0.0655489117, -0.044154156, 0.0133344457, -0.0225243196, -0.022211872, -0.0428806208, 0.0146548916, -0.0241818726, -0.0011081424, 0.0128330942, 0.0602632873, 0.0121126771, 0.0367424414, 0.0182946511, -0.0618910193, -0.01141972, -0.0310997088, 0.0137321083, -0.0777314901, -0.0186329186, 0.0088774981, 0.0373451486, 0.0293393992, -0.012040508, -0.0265922006, 0.0226453375, 0.0416454412, -0.0212458167, -0.0223691501, -0.0226932466, 0.0379216671, -0.0347814411, -0.0126240738, -0.0179911535, 0.0030792372, -0.0080016395, -0.0550031103, 0.0487467684, -0.0641440377, -0.0150006795, -0.0017391637, -0.051921092, -0.0457082167, 0.0372057781, 0.0197506249, 0.0147680985, 0.0514102317, -0.0281168725, -0.045229461, 0.0299532823, -0.0136225205, 0.0046661901, 0.0112277037, 0.0352270044, 0.0084940363, -0.0337998085, -0.0068153213, -0.011454571, 0.0018650864, -0.0087412521, -0.0107293846, -0.0728898197, -0.0308213346, 0.0190511402, 0.0008670135, -0.0091108112, -0.0081653344, -0.0013032844, -0.0515072495, -0.0118301427, -0.0046338746, -0.0107587473, -0.0293215103, -0.026788801, 0.0435801111, -0.0171271712, 0.0031768167, -0.0180005468, -0.0257428512, -0.0164678246, 0.0163215436, 0.0482271761, 0.0705815032, 0.0191809852, 0.0238608159, 0.0237781387, -0.0243814271, 0.0204621628, -0.0275080744, 0.0712269843, 0.0142181776, 0.0593409128, 0.0024501141, 0.0077087362, 0.0096107852, 0.0164137129, -0.0206638873, -0.0390930623, -0.0356862806, -0.0129444329, 0.0267371517, 0.0096795773, -0.0051607145, -0.0172102042, 0.0406888165, 0.0023491045, 0.0368805639, -0.0009287419, -0.0001850717, -0.0080534006, 0.0289404858, 0.0032497223, 0.0086660776, 0.0625147074, -0.0197075568, 0.0459464006, 0.0002452628, 0.0416598395, -0.055079516, 0.0179258771, 0.0347414427, 0.0283181667, 0.0066322051, 0.030085817, -0.0610005967, -0.0796309188, 0.0549129322, 0.000811719, 0.0250770394, 0.0155619103, 0.0058817891, -0.0002290738, 0.0291585289, 0.0179919731, -0.0284978654, 0.0372182317, 0.0003533203, 0.006244869, 0.0038279747, -6.047752029e-33, -0.0622302368, 0.0194043666, -0.0319661237, 0.03443693, -0.0133137228, 0.017329311, -0.0374981612, -0.0119276848, -0.0466358475, 0.0212102886, 0.0113287829, 0.0273910873, 0.0037976359, 0.0009996155, -0.0388246179, -0.0496887304, 0.0474604182, 0.0142807094, -0.0259309411, 0.0254062284, 0.0717954785, 0.0722081512, 0.0841314942, -0.0756123364, -0.0143418079, -0.065871805, -0.0188056435, 0.0122296112, 0.0544393398, 0.0435022153, -0.0268855654, 0.0197066944, 0.0195472334, 0.0019539457, -0.0044477852, 0.0475310944, -0.0865271091, 0.0107777854, -0.0094412314, 0.0432833992, -0.038822107, -0.0292755105, -0.0127417361, -0.0337198302, 0.0404555239, -0.0722995475, 0.0312490296, -0.0009172924, 0.0609275289, 0.0133411381, -0.0659265593, 0.0352555215, -0.0634585842, -0.0350280926, 0.0205189157, 0.0369660519, 0.0372157842, 0.0090388693, -0.0386275053, -0.0283314362, -0.0269585904, -0.0110158371, -0.017134985, 0.0539958701, -0.0419578254, 0.0763427913, 0.0252154451, 0.0056538833, 0.020175539, -0.0235370398, 0.0250455365, 0.0009534825, 0.0093360096, 0.0622542277, -0.0068910969, 0.0254695266, -0.0734213889, 0.0204859506, 0.0454632118, 0.0300166793, 0.0011163987, 0.0112056965, -0.0291382484, 0.0091783069, -0.0176681504, -0.064932324, 0.0025967434, -0.0152823813, -0.0208436772, -0.0347647555, -0.0334012248, -0.0297864173, 0.0819233805, -0.036361184, 0.0468764231, 0.030802846, -0.0321659744, 0.0355491154, 0.0154210553, 0.0446095243, -0.0076916097, -0.0449243821, 0.0163759626, 0.0191546269, 0.0626021102, 0.0071214335, 0.0449906029, 0.0194573887, -0.0662690774, -0.0061201481, -0.0062266388, 0.0260014627, -0.0228377637, 0.0529213995, 0.0224394184, -0.0039953026, -0.0139160808, 0.0331235602, 0.0142626176, 0.0078848582, -0.0170722008, 0.0264401808, -0.0184380766, 0.0031649899, -0.0561285727, -0.008781231, 0.0071602324, -0.0002251328, 0.0333922654, -0.0444358885, 0.0108607272, 0.0204949528, 2.643e-7, 0.0487444326, -0.0041768407, 0.064407289, 0.0135793081, 0.0234197192, 0.0571181253, -0.0010021119, 0.040693257, 0.0074053421, -0.0307970699, 0.0160183851, 0.0269327052, 0.0404713824, 0.0239954665, -0.0578747317, 0.003915702, -0.0218263566, -0.0001765426, -0.0151134655, 0.0484496802, 0.0792164356, 0.0791864768, 0.0060418895, -0.0012706777, 0.0503667705, -0.0440887064, 0.0574263297, 0.012200498, 0.0016614186, 0.0073687108, -0.0242966767, 0.0117907496, -0.0357305184, 0.0342828445, 0.0381563231, 0.0299220234, -0.0022275855, 0.0405524336, -0.0356719196, 0.0108454758, 0.0029898749, 0.0015608361, -0.0161252283, -0.0190937165, 0.0643712133, -0.0325646847, -0.0548896119, -0.0267332587, -0.0278678201, -0.017494265, -0.0090052281, 0.0184909552, -0.0365259759, 0.0409477875, 0.0054054321, -0.0332472883, -0.0282508321, -0.1034830511, 0.0075224619, 0.0697439089, -0.0190458056, -0.0309940819, 0.0562047288, -0.048517812, 0.0580407828, -0.0247150995, 0.0336023606, 1.968744801e-34, 0.0017849229, 0.018431209, -0.0026012419, 0.0338466614, 0.0364924744, -0.0103387395, -0.0279717688, -0.0104053561, 0.0514988899, -0.0699913949, -0.0059880102 ]
http://arxiv.org/abs/2310.13228v1
http://arxiv.org/pdf/2310.13228v1
The Less the Merrier? Investigating Language Representation in Multilingual Models
2023-10-20T02:26:34
2023-10-20T02:26:34
Hellina Hailu Nigatu, Atnafu Lambebo Tonja, Jugal Kalita
cs.CL
cs.CL
Multilingual Language Models offer a way to incorporate multiple languages in one model and utilize cross-language transfer learning to improve performance for different Natural Language Processing (NLP) tasks. Despite progress in multilingual models, not all languages are supported as well, particularly in low-resource settings. In this work, we investigate the linguistic representation of different languages in multilingual models. We start by asking the question which languages are supported in popular multilingual models and which languages are left behind. Then, for included languages, we look at models' learned representations based on language family and dialect and try to understand how models' learned representations for~(1) seen and~(2) unseen languages vary across different language groups. In addition, we test and analyze performance on downstream tasks such as text generation and Named Entity Recognition. We observe from our experiments that community-centered models -- models that focus on languages of a given family or geographical location and are built by communities who speak them -- perform better at distinguishing between languages in the same family for low-resource languages. Our paper contributes to the literature in understanding multilingual models and their shortcomings and offers insights on potential ways to improve them.
[ 0.0035714633, 0.0680519715, -0.0229420271, 0.073639065, -0.0522688478, 0.0364630632, 0.0600064173, -0.0147560025, 0.01014606, -0.068726927, -0.0547075942, -0.0753007606, 0.0090680122, -0.0034398341, 0.0346618444, -0.0653630868, 0.0366540477, -0.0394028872, -0.0303485412, -0.0032273205, -0.0014417887, 0.0350862443, 0.0479437225, 0.0302482024, 0.0146775469, 0.0184523296, 0.02423862, -0.012083468, 0.0311936103, -0.0060995067, -0.00935027, 0.0343796648, 0.0080916407, 0.053684514, 0.0000017548, -0.0368455015, -0.03028314, -0.0169258919, 0.0387054421, -0.0115319397, 0.0786615759, -0.0666283891, 0.0056474935, 0.0306253787, -0.0028408216, -0.027055366, 0.0599106438, 0.0115794493, -0.0114196306, 0.0446131192, -0.0110298321, -0.0037962398, 0.0009268168, -0.0261434447, -0.0212209318, -0.0011353692, 0.0224515684, 0.0005156078, -0.0089018364, 0.0120328506, -0.0092491014, 0.0356609821, -0.0069521111, 0.0111179808, -0.0177342873, 0.0507161394, -0.0182030909, -0.0265163817, 0.0123926289, 0.0255110878, -0.0439066663, -0.0409327559, 0.0187551752, 0.0109010441, -0.0165133215, 0.0007482334, -0.0371867791, 0.0423339419, 0.0051272553, 0.029149577, 0.0597599186, 0.0131671354, 0.0461806059, 0.0043166294, -0.0036341627, 0.0414616391, 0.0523033738, 0.0244782548, -0.0132091949, 0.0570500381, -0.005871274, -0.0318012014, 0.0077764695, 0.0066146464, -0.0113011058, 0.0368360691, -0.0442899726, -0.0005596175, 0.0141340457, -0.0223269369, 0.0294314753, 0.0321101546, -0.0346003398, 0.0393702872, -0.0737745017, -0.0025602842, -0.0022811426, 0.0086898962, -0.0103738131, -0.0551238209, -0.0496689938, -0.017199602, -0.0135962926, 0.0137586342, -0.0333507955, 0.0119994665, -0.0045487895, 0.0215970092, -0.0290983934, -0.0249982923, -0.0019330349, -0.0149433315, -0.0420664325, -0.0089551266, 0.0132999774, 0.0510998778, -0.0331186354, 0.0068864739, 0.0132960053, -0.0884421617, 0.0182181168, 0.0250606705, 0.0207711235, -0.0484247729, -0.0077046035, 0.0445794128, -0.0057114689, -0.028742604, -0.0827347785, 0.0108159138, -0.0439216383, -0.0634068176, 0.0246361177, -0.0993361399, 0.0448007323, 0.0456479564, 0.0469511338, -0.0772492215, -0.014266476, -0.0130593479, -0.0345753022, 0.0210753698, -0.0009721891, 0.0073478208, 0.0635504872, -0.0138119245, -0.0086221416, 0.0763812512, 0.0103591802, -0.0273080096, 0.0500279777, -0.0279363059, -0.0353454947, 0.0242831148, 0.016548045, 0.0321970172, -0.0378282182, -0.0364387445, -0.0178008601, 0.0049070371, 0.0540260449, 0.0510928147, -0.0124915931, -0.0036088414, 0.0281602032, 0.0490002856, 0.0017408595, 0.0131074935, 0.0363624357, -0.0111313509, -0.0410444364, 0.0124463476, 0.0073124371, 0.0278084166, -0.0129804509, -0.0268162452, -0.0012037113, 0.0596099272, -0.03730895, 0.0251074266, 0.001616477, -0.0245901328, 0.0226896759, -0.0130337738, 0.0542657413, 0.0080058156, 0.0011041558, 0.05362707, 0.0967429876, -0.019718254, 0.0470612384, -0.030109819, 0.028840391, 0.0311864335, -0.0169290714, 0.0167042408, 0.0326622836, -0.0063331844, -0.0004010072, 0.051355768, 0.0742635056, -0.0213012751, 0.0142476577, -0.033509884, 0.0022283569, -0.0027387696, 0.0369242243, 0.0782927424, -0.007134744, 0.036005877, 0.0364599489, -0.0224936437, -0.0594210327, 0.0126627767, -0.0947436765, 0.0180723295, -0.0041385409, 0.012219917, -0.0147334058, 0.012795384, 0.0002782275, -0.0030328194, -0.0112402076, -0.0524950847, 0.0121181216, 0.0481771827, -0.0429680124, -0.0572322197, 0.0109343454, -0.0222363081, 0.0337987281, 0.0333738811, 0.0109506035, -0.0443422683, 0.0337200165, -0.0215530712, 0.0455114059, -0.0222134553, 0.0166525766, -0.0162420869, -0.0036410678, -0.0168880448, 0.0634964556, 0.0039095357, 0.036652796, 0.008508102, -0.0258290749, 0.0238997266, -0.0363814533, -0.0140049942, 0.032680802, -0.0194103178, -0.016713636, 0.0469505675, -0.001154407, -0.018471742, 0.0056001507, -0.0926483721, -0.0117381029, -0.0435455441, 0.0293943249, 0.018849656, -0.00099238, 0.0087534375, -0.0172901861, -0.0639981106, 0.0160168707, 0.0452093109, 0.0528611615, 0.0217083339, -0.0271171201, 0.0236370005, -0.0368822925, -0.0160271898, 0.0238461234, 0.0796449557, -0.0248623956, -0.0809402838, -0.047193978, 0.0346542709, -0.0485814139, -0.0155412741, -0.0015972201, 0.0088548111, -0.0022591255, -0.0036338116, 0.0431022458, 0.008195838, -0.0384799168, 0.0157189704, 0.036861755, -0.0018176512, -0.0520584024, -0.0169141944, -0.0076948726, 0.0422453396, -0.0269329585, -0.0622452982, -0.0382528007, 0.0767127872, -0.0005343194, -0.0361455083, -0.0486468524, 0.0046659699, -0.0524373762, -0.0228303112, -0.0156862605, 0.0313873515, 0.0178689305, 0.0424436256, -0.0390957631, -0.0437184721, 0.0353018269, -0.024843134, -0.0015583386, -0.0143722687, -0.0115072187, -0.0388059244, 0.0486034304, 0.038015198, 0.0709899366, -0.0213798005, -0.0393970981, -0.0332938284, 0.047914803, 0.0239332616, 0.0060442183, 0.0336026326, -0.0321283676, -0.0198217053, -0.0192232057, -0.031108968, -0.0297366641, 0.026544001, -0.0338523276, 0.0393258557, 0.0428866856, -0.0121775111, -0.0177619029, 0.022236418, 0.0395960212, 0.0370111391, -0.00869611, 0.0016204905, -0.0195279382, 0.048193194, 0.0540639944, 0.0144602302, 0.0298343301, -0.0405352898, -0.0081573902, 0.0066964752, 0.0311895702, 0.0043172119, 0.0028427278, 0.0102211395, 0.0447885431, -0.0328025743, -0.0816848949, 0.0062425877, 0.0747984499, -0.0086203059, -0.0268759094, 0.0694597065, 0.0032116834, -0.0278639924, 0.0114432173, -0.0446930118, 0.0498513281, 0.0417263806, 0.0251411945, -0.0597941875, -0.0029840569, 0.000473094, -0.0014446138, 0.0199165381, -0.029142322, -0.0145436153, -0.1249751821, -0.0020823015, 0.018273266, -0.0864120275, -0.0305416975, -0.0442414582, -0.0099704098, -0.0163910463, 0.0117906174, -0.0413142107, -0.0084751956, -0.0215795413, 0.0566005856, -0.0081444839, -0.0694412664, 0.0116132721, -0.0416665524, 0.0389012583, 0.006373852, 0.0394660756, -0.0252101161, -0.0111760348, 0.0106320847, -0.0108881136, -0.0153553514, -0.0029883245, 0.0338127911, 0.0367830768, -0.0096607348, 0.0251876824, 0.0016210548, -0.0360628702, -0.0121346731, 0.0010078485, 0.0768071264, 0.0297744367, -0.0502573289, 0.022357909, -0.0311101917, 0.0209800079, 0.072969012, 0.0146241132, -0.0201923475, -0.031725239, -0.0074347756, -0.0170042291, -0.0347999819, -0.0004284675, 0.0373211987, -0.0154433921, -0.0508942083, -0.0816798136, -0.0497309528, 0.0197820682, 0.0388267599, 0.0242457204, -0.0058253808, 0.0197926853, -0.0412510857, -0.0010692826, 0.0155921467, -0.0452145301, -0.0057692584, -0.0382168256, -0.025521718, 0.0129789105, -0.0634342358, -0.0095598707, -0.0444276445, -0.0848689005, -0.0687814578, -0.0177768655, 0.0330463126, 0.0180246606, 0.0344993211, 0.0087838992, -0.0655564368, -0.0042923125, -0.0111737726, -0.0159703307, -0.000021584, 0.0231088083, -0.0166041348, -0.0311371554, 0.0546302497, -0.0339876153, 0.0288205948, 0.0102991955, 0.0319256335, -0.0410472117, -0.021030942, -0.0043149213, -0.0098412139, 0.0058629042, -0.0460708663, -0.0295656044, -0.0850377008, -0.0399548821, -0.0285959076, 0.0019877444, -0.0298557729, -0.0296246782, 0.0487984903, 0.0074090585, 0.0045933714, -0.0029669486, 0.0086056618, 0.0424262621, -0.0181853641, 0.0067475694, 0.0424373038, 0.0463104807, 0.0050160643, 0.0414763391, -0.0160424896, 0.0231543481, -0.0395883881, 0.0461751856, -0.0447341204, 0.0260000117, -0.0204781257, -0.0192530565, 0.0176067241, -0.0340884551, -0.02779717, -0.0119920317, -0.0099711893, 0.028191451, 0.0699929297, -0.0391940959, 0.1089815497, -0.0151377982, -0.0128896441, -0.0557158291, 0.0496647879, 0.0192495473, -0.0594341606, 0.0196974073, -0.0101569379, -0.0273813698, 0.0032343026, 0.0974619016, 0.0449975803, 0.0284924693, -0.0116128828, 0.0106069436, -0.0067580123, -0.0127195884, 0.0326917917, 0.0094257742, -0.0192199908, 0.0337101407, -0.0512463264, -0.0530146509, 0.0087739844, -0.0521748997, 0.0175570343, 0.0009459456, -0.0026339898, 0.0674360096, -0.017823277, 0.0142711345, -0.08559113, 0.0229907501, -0.0118655702, 0.0174331907, 0.0098975543, -6.223404313e-33, -0.0244519822, -0.0433964841, 0.0070178267, -0.0470254533, 0.0321093351, 0.0022754346, -0.058633212, 0.0250739921, -0.0284834877, 0.0011308413, 0.0070033632, -0.0235549621, 0.0126795024, 0.0521168374, 0.0221804418, 0.0044071609, 0.0386086814, 0.0277847219, -0.0004371271, 0.0327146389, 0.0793161765, 0.0411092974, 0.0885453448, -0.0316936038, 0.0298232976, -0.0102137951, 0.0163945332, -0.0286208168, 0.0371396244, 0.0585250407, -0.0472145081, 0.0373613313, 0.0458977968, -0.0217454564, -0.0189574882, -0.0042392882, -0.0584500693, -0.0283776261, 0.0235978216, 0.0091576912, -0.031181667, -0.0561484583, 0.0123059573, -0.0131019354, 0.0211378392, 0.0042403834, 0.0303682182, -0.0258941445, -0.0314285904, -0.0010511241, -0.1287798882, 0.0504752807, 0.019860344, 0.0290848017, 0.0230674632, 0.0958236903, 0.0039422186, 0.0141937425, -0.0499080122, 0.0059289336, -0.0132114617, 0.0233111586, 0.080911465, 0.0326300859, -0.0509591438, 0.0466008745, 0.010783731, 0.011403637, 0.028448971, 0.0005337445, 0.0410576165, 0.040605329, 0.0053627966, 0.0906981453, -0.0278260019, -0.0383529775, -0.0540368222, -0.0084966384, 0.0118844379, -0.0312314909, 0.0430185348, -0.0166830588, -0.005786818, -0.0290108379, -0.0390382968, -0.0724276602, -0.0214687698, -0.0318020023, 0.03682613, 0.0069169323, -0.0237587802, 0.0015433697, 0.060422428, -0.032435514, -0.0829076022, 0.0216711722, -0.0228930805, -0.0081534442, 0.0023011847, 0.0641219914, -0.0760850534, -0.0839287117, -0.0235576425, -0.0038531334, -0.0220185742, 0.0057741557, 0.0623087324, 0.0075576655, -0.0500619821, 0.0244450457, -0.0673507005, 0.0216164812, 0.0001062239, 0.0626102015, 0.0330849327, -0.0276718885, -0.0137995379, 0.0179985762, 0.0504468195, -0.035767328, -0.004746187, -0.002105417, -0.019432608, 0.035112448, -0.026154343, -0.0149338553, -0.0538103133, 0.025007721, 0.0480424687, 0.0016065155, -0.0127562229, -0.0374227166, 2.58e-7, 0.0367113538, 0.0154046696, -0.0158484038, -0.0279173367, 0.0365949199, 0.0107380236, -0.0106064966, 0.0582118072, 0.0038624613, 0.0058120838, -0.0464525558, 0.0167036336, 0.083306618, 0.0433756523, -0.0283979047, -0.0016731621, -0.0473304354, 0.0341375768, -0.0157461036, -0.0005991614, 0.0107585816, 0.0656029359, -0.0165997483, -0.0182731934, -0.0269638151, -0.02693264, 0.1163965315, -0.0543762036, -0.0111466013, 0.0118850647, -0.0039789611, 0.0380323343, 0.0132240802, -0.020752212, -0.0376061574, 0.0147670479, 0.0406548902, 0.0566090532, 0.0174480099, -0.0064230263, 0.0369179696, -0.0059472355, -0.0084274113, -0.0914384648, 0.0611792319, -0.011520707, 0.0075666672, -0.0303636901, 0.0236396808, 0.0252155885, 0.0409542955, -0.0413826779, -0.0358518325, 0.0064981696, 0.0275089126, -0.0216236636, -0.0536890179, -0.0173388682, -0.0180770978, 0.0315892026, -0.0232873671, -0.0427744761, -0.0219929107, -0.0096461596, 0.0315297283, -0.0441569798, 0.0282452833, 2.028115071e-34, -0.0097301267, 0.028457582, -0.0070711588, -0.0076378798, 0.0148773994, -0.0361497812, -0.0408364572, 0.0057118121, -0.0055867727, 0.0031126258, 0.0033067099 ]
http://arxiv.org/abs/2310.13227v1
http://arxiv.org/pdf/2310.13227v1
ToolChain*: Efficient Action Space Navigation in Large Language Models with A* Search
2023-10-20T02:24:35
2023-10-20T02:24:35
Yuchen Zhuang, Xiang Chen, Tong Yu, Saayan Mitra, Victor Bursztyn, Ryan A. Rossi, Somdeb Sarkhel, Chao Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have demonstrated powerful decision-making and planning capabilities in solving complicated real-world problems. LLM-based autonomous agents can interact with diverse tools (e.g., functional APIs) and generate solution plans that execute a series of API function calls in a step-by-step manner. The multitude of candidate API function calls significantly expands the action space, amplifying the critical need for efficient action space navigation. However, existing methods either struggle with unidirectional exploration in expansive action spaces, trapped into a locally optimal solution, or suffer from exhaustively traversing all potential actions, causing inefficient navigation. To address these issues, we propose ToolChain*, an efficient tree search-based planning algorithm for LLM-based agents. It formulates the entire action space as a decision tree, where each node represents a possible API function call involved in a solution plan. By incorporating the A* search algorithm with task-specific cost function design, it efficiently prunes high-cost branches that may involve incorrect actions, identifying the most low-cost valid path as the solution. Extensive experiments on multiple tool-use and reasoning tasks demonstrate that ToolChain* efficiently balances exploration and exploitation within an expansive action space. It outperforms state-of-the-art baselines on planning and reasoning tasks by 3.1% and 3.5% on average while requiring 7.35x and 2.31x less time, respectively.
[ 0.0375376083, 0.0068876459, -0.0238904003, 0.0127770072, -0.0515694506, -0.0184208453, -0.0577189326, -0.0169239752, 0.0311023612, -0.0163087491, -0.0055721705, 0.0040542413, -0.0405451432, 0.0559899956, -0.0219221748, -0.0221044812, 0.0154370461, -0.0480316356, 0.0378828794, -0.0011013062, -0.0304468721, -0.0162890591, -0.0183949769, 0.0562761724, 0.0034051917, 0.0061052027, -0.0562954135, 0.0020295638, 0.0146248192, -0.0205147173, 0.0018940257, -0.0056124534, 0.0169185568, 0.0653788075, 0.000002339, -0.0597730987, -0.0093275262, -0.0362295993, -0.0453257896, -0.0341431275, -0.0160172675, 0.0434155762, 0.000984441, 0.0407665633, -0.0547303781, -0.0114204502, 0.0287295729, 0.0061690439, 0.0294501279, 0.0664433688, -0.0022547885, -0.0012191237, -0.0329239629, -0.0010576089, -0.042367056, -0.0492180362, 0.004421819, 0.0156877674, 0.0646726489, 0.0033413197, -0.0111031532, 0.0136707313, 0.0313846432, -0.0320393294, -0.0110701956, 0.0336959884, -0.0281696264, -0.0506430529, 0.0094021047, 0.0248026326, -0.0503408425, -0.0361748673, 0.0263771508, -0.0340745971, -0.0221435949, 0.016900368, -0.0404524654, 0.0378072076, -0.0200058501, -0.0144542633, 0.0378552601, -0.0604510121, 0.0438862331, 0.0298021659, -0.0185946655, 0.0891222805, -0.0141330725, -0.0168710295, 0.0402945653, -0.0297336429, -0.0216187555, -0.0625731423, 0.0359297991, 0.0853696764, -0.0944850892, 0.0422735363, 0.0147081185, 0.0211462248, -0.0071904268, -0.0352007896, 0.0331317298, 0.0393562019, 0.00075446, 0.0295674466, 0.0019869867, 0.0526624732, -0.0131212696, 0.0010724963, -0.0412934609, 0.0073647932, -0.0203052014, -0.0007254545, -0.0541691221, 0.0322488323, -0.0775653571, -0.050301034, 0.0011342763, 0.0562397949, -0.0064277225, 0.0325139388, 0.0044439049, -0.007925177, 0.0124819065, -0.0160317011, -0.0508882403, -0.0026343965, -0.0170998164, -0.0015560345, -0.0090143327, 0.0210581664, -0.0037908703, 0.0180832911, -0.0044302894, -0.0159204043, 0.0169467479, 0.1192054152, 0.0103211971, -0.0100706629, -0.0421932079, -0.0297517888, 0.0248327181, -0.043910332, 0.0056534326, -0.0870179459, 0.0118251611, 0.0196665395, -0.0508254282, -0.0216958448, 0.0113298958, 0.0168041456, 0.0041014915, 0.0199410133, 0.0527043268, 0.0626688078, 0.0164694041, 0.0112542463, -0.0044204439, 0.0759888217, 0.0290919095, 0.0786379352, 0.0012360278, 0.0485194698, 0.0118291369, 0.054369662, -0.0416715294, -0.0062269592, 0.0476743989, 0.0144518288, -0.0109570622, 0.0731922239, -0.0330597535, -0.0111123426, -0.0360142626, -0.0028977685, 0.0230387561, 0.0544865429, -0.0007487583, -0.0338833183, 0.044226896, 0.0030148192, -0.0176933166, -0.0875270143, -0.0472888388, 0.0186577216, -0.0496097207, -0.0125351669, -0.0601605549, 0.0026721561, 0.0099246558, -0.0315066129, -0.0187711194, 0.0246836971, -0.0188452769, 0.0308034215, 0.0247715581, -0.001772723, -0.0709178224, 0.0246678907, -0.0178311467, -0.0152510013, -0.0425351299, -0.0599903017, 0.0212901141, 0.0499772057, 0.0766070783, -0.0476991907, -0.0799376667, 0.0221083164, -0.0141101992, 0.0297648367, 0.0097224526, -0.038099397, 0.0111702364, -0.0311564412, -0.0433545187, -0.0031703594, -0.0123305861, 0.0391243361, 0.0430704691, -0.0092101367, -0.0295089111, -0.0236374214, -0.0138415955, 0.0214771051, -0.0171854086, -0.0103886416, 0.0016034815, 0.0142342588, 0.0595859289, -0.0064583928, 0.0004155529, 0.012653497, 0.0199689604, -0.0146019701, -0.0396265015, 0.0139269587, -0.0179424491, 0.0295482762, 0.0461089797, 0.0012081165, -0.019391153, 0.0400088429, -0.0199174378, -0.0368774757, 0.0267172251, -0.0352435894, 0.0139648393, 0.0234397557, 0.0431189016, -0.0025891075, -0.0397854485, -0.0171052404, 0.0626438335, -0.0055114995, -0.0225056652, 0.0165849868, 0.0347708873, 0.0255292896, 0.0012718454, 0.013665732, 0.0561964773, 0.0059859855, -0.0061560781, 0.0421299413, 0.0292970277, -0.0046978118, -0.0414852202, -0.0947302878, 0.040030513, -0.0157566722, 0.0110428175, 0.0067550172, 0.0322803482, -0.0000396017, 0.0203895606, 0.0104770632, 0.0403160937, 0.0135798231, 0.0199504998, -0.0031777699, 0.0224286672, -0.0527557507, -0.0347909108, -0.0037877783, -0.005554432, -0.0166646801, -0.0328094102, -0.0392804742, -0.0279840827, 0.0503755771, -0.0205053072, 0.0545012653, -0.0340028107, -0.0349340849, 0.0145429345, -0.0432569943, -0.0283973552, 0.0694667622, -0.0351106972, 0.0461584404, 0.0861730501, -0.0091283135, -0.076776579, 0.0584537946, -0.0121806925, -0.0090327179, -0.0588391982, -0.0117984097, 0.0386691727, 0.0656639487, -0.0272549819, 0.0277756806, -0.0220193937, -0.023279259, 0.0214744452, -0.0330758654, 0.0143722501, -0.0301173609, -0.0202906393, 0.0688375682, -0.0381397717, -0.0375307798, 0.0439304225, 0.0032140829, -0.0368457586, -0.0169149581, -0.0273899417, -0.030512182, 0.1278008968, 0.0414406136, 0.0187824536, -0.0385509469, -0.0141813718, -0.0240411926, -0.0002924419, 0.0326296128, -0.0170247462, 0.0900503099, -0.0748736784, 0.0296420641, -0.000718191, -0.0455587544, -0.0235262569, 0.0134855974, -0.0319410786, 0.0225612409, -0.0364568457, -0.065062888, -0.0218314566, 0.0010119826, 0.0434283838, 0.0967399105, 0.0206244588, -0.0080897119, -0.0259104352, -0.0513677113, 0.0291341115, 0.0070562712, 0.0608147644, 0.0261514578, 0.0323503315, 0.030856926, 0.0274031255, -0.0309730489, -0.0206118394, -0.003958765, 0.0259105098, -0.030659575, -0.0224601999, 0.0303773209, 0.0240040906, -0.0568508878, -0.0266345087, 0.0716697946, 0.0418448858, -0.0012680219, 0.0173013732, -0.072651796, 0.0212546904, 0.0311860461, 0.0703940243, -0.0187631492, -0.0208522435, 0.0256737992, 0.0004175587, -0.0290124808, -0.0370841064, 0.0049200687, -0.1271973252, 0.0428440459, -0.0136397779, -0.0144308452, 0.001716033, -0.044218082, 0.0163685866, 0.004763423, -0.0381104574, 0.0359055474, 0.018069217, -0.0249174237, -0.0340128168, -0.0173465516, 0.004888528, 0.0203940086, 0.0036623355, 0.0040249513, 0.0517575629, 0.0490409806, 0.0132414494, 0.0405449271, 0.0419770181, 0.0330008082, 0.0112817008, -0.0527561568, -0.0380806476, 0.0331400596, 0.0149054024, 0.0418778136, 0.0186047126, -0.0485866256, -0.056123469, -0.002374121, 0.0849775225, -0.0631890371, 0.020156581, -0.0220932737, -0.0040045567, 0.0099896807, 0.0434888415, -0.0275494792, -0.0063885893, -0.0884842575, -0.0377004854, -0.0680729672, -0.0581041351, -0.0372097716, 0.0106197903, 0.0102969734, 0.0002419615, -0.0200123973, -0.0227435846, 0.0552821383, 0.0491629057, 0.0004574452, -0.0111764055, -0.0234627444, 0.0192631837, -0.0265945233, -0.0107026007, -0.0260984413, 0.0487296768, 0.0051564253, 0.000827775, 0.0196746476, -0.0428825952, -0.0229751542, 0.0592331849, -0.020356942, -0.0647219121, -0.0145181622, 0.0549220853, 0.028318828, 0.0177912544, -0.0374325961, -0.0176664628, -0.0048900549, 0.0313659832, 0.0024932029, 0.0152575225, 0.0276840031, 0.0338680744, 0.0162014533, 0.0472364612, -0.0773683786, -0.0158417542, 0.0301322397, 0.071304962, -0.0303755961, -0.0144640096, 0.0071976981, 0.0008044575, -0.0177602228, 0.0051019383, -0.0006219323, -0.0246894062, 0.0159629341, -0.0002128017, -0.0242376588, -0.0554063581, 0.0169531312, -0.0152884442, -0.0050064619, 0.0502013713, 0.0272550844, 0.0259954762, -0.0144933844, 0.0139372032, 0.0409624949, 0.0309918821, -0.0117128408, 0.069070898, 0.0139413057, -0.008237646, -0.0117751015, 0.0219590999, 0.0211101267, 0.0058563873, 0.0565136038, 0.0205033608, -0.0158128627, -0.0450902618, -0.0226335302, -0.071140416, -0.1300039887, 0.0312130153, 0.0409400314, 0.0650245473, -0.0276184324, 0.0384755619, -0.1046007201, 0.015613107, -0.0010464155, -0.0309876986, 0.0204786807, -0.0447484627, 0.0407737717, 0.0398612805, 0.0089992415, -0.0119752251, 0.0514240451, -0.0207683258, 0.0944126472, -0.0005991463, -0.0530042127, -0.0403601304, -0.0763813332, 0.0242873877, -0.007708679, -0.0081184329, -0.0075697824, -0.0649414957, -0.0398137942, -0.042076461, 0.0296000317, -0.0150898891, -0.0417172834, 0.0309077892, 0.0328766294, 0.0376118571, -0.0249766372, -0.0371847823, -0.0269113556, -0.0453471914, -0.0342762917, -0.0419745408, -5.805685783e-33, 0.0030076639, -0.0462788157, 0.0763104782, -0.0442012921, -0.0137306228, -0.0126815876, -0.0762114227, 0.0294583589, -0.0153422765, 0.0078685908, -0.0134446649, 0.0101131136, 0.0134576084, 0.0096243666, 0.0353785641, 0.0308613274, -0.0006695884, 0.0279676784, -0.0422856547, -0.0152434483, 0.0146952821, -0.0183732919, -0.013253266, -0.026788421, -0.0705098212, 0.0252021104, -0.003552034, 0.0747250393, -0.0120166633, 0.0501234867, 0.0285475273, 0.002678507, 0.0125614777, -0.0216198061, -0.0128107062, -0.0083007812, -0.0282480028, -0.0477523021, 0.0554436184, 0.0155678019, -0.0190276131, -0.0146809099, 0.0276032463, 0.0364465415, -0.0260766055, 0.0224143118, -0.022498522, -0.017113572, -0.0316495895, 0.0067167436, -0.0448357984, 0.0087785106, 0.0207301974, -0.0474528968, 0.0227178875, 0.0385593511, -0.0033481934, -0.0410656631, 0.0156748202, 0.0067467322, -0.0098019689, 0.0010251791, 0.0404083803, 0.0488349162, 0.0446907952, 0.0392145999, -0.0001319003, -0.0031047713, -0.0052495226, 0.0219856016, -0.0164718181, 0.0771626309, -0.0258816089, -0.0163670108, -0.0400572941, 0.0323101468, -0.0400478877, -0.0036809456, 0.0107194409, 0.0606285892, 0.0490988754, 0.0563423, -0.0165475868, -0.0126284491, -0.0264615621, 0.0002449431, -0.0246659182, -0.0115990369, 0.0170331467, 0.032680098, 0.0370374247, -0.0252559576, 0.0163377151, -0.0033500213, 0.0137494914, 0.0568805337, -0.0380127542, 0.0512023829, -0.0024819018, 0.029883543, -0.0381187387, -0.0220412333, -0.0470103361, -0.0315441415, -0.0079757962, 0.0210092682, -0.0504300483, 0.0466191396, -0.0248607062, -0.0077747446, -0.0800542533, -0.0056520384, -0.0007160961, 0.0097057689, 0.0350385904, -0.023972638, 0.0007132071, 0.0395141803, -0.0050552036, -0.0539846085, -0.0060719815, 0.0109012686, -0.0173889715, -0.0078633763, -0.0335694775, 0.0006347335, -0.04197542, 0.0462920144, 0.0027844277, -0.0573147535, 0.009084384, 0.0255351905, 3.024e-7, -0.0120050665, 0.0246925391, -0.0114248786, 0.0692933425, 0.0334841125, 0.0391964614, 0.017617397, -0.0132845994, -0.0164884925, -0.0298851375, 0.0237851273, 0.0436923578, 0.0234964974, 0.0026365852, -0.0842532441, -0.0010160428, 0.0183549412, -0.0576965027, -0.0645138323, 0.0024511206, -0.0112821413, 0.0818259344, 0.0240244642, -0.0157453883, -0.0172779039, -0.0616235025, 0.0069317683, -0.0351026207, 0.0194147415, -0.000625772, -0.0395732932, 0.0233333837, 0.0066648312, 0.0003120333, 0.0098460391, 0.031574931, -0.0300125983, 0.0962324366, -0.0083537446, -0.0248952229, -0.0186650101, -0.0395265892, -0.0055269636, -0.0235451758, 0.0390590727, -0.0259901658, -0.0047225873, 0.0027982073, 0.0698151737, 0.0166672822, -0.0540197641, -0.0092208562, 0.0184185561, 0.0176338945, -0.0044820616, -0.0258042142, 0.0040660067, -0.0686568171, -0.0058136983, 0.0418310016, -0.0354426429, -0.0047146594, -0.0413438827, 0.0205346551, -0.0084953615, -0.0307233538, -0.0399280116, 3.07294473e-34, 0.0043602558, -0.0267720092, -0.0018937018, 0.0310324095, 0.0579372682, 0.0389156938, 0.0087397052, 0.03989885, 0.0418710522, -0.0374179371, -0.0468354486 ]
http://arxiv.org/abs/2310.13226v1
http://arxiv.org/pdf/2310.13226v1
Enhancing Zero-Shot Crypto Sentiment with Fine-tuned Language Model and Prompt Engineering
2023-10-20T02:15:51
2023-10-20T02:15:51
Rahman S M Wahidur, Ishmam Tashdeed, Manjit Kaur, Heung-No-Lee
cs.CL
cs.CL
Blockchain technology has revolutionized the financial landscape, with cryptocurrencies gaining widespread adoption for their decentralized and transparent nature. As the sentiment expressed on social media platforms can significantly influence cryptocurrency discussions and market movements, sentiment analysis has emerged as a crucial tool for understanding public opinion and predicting market trends. Motivated by the aim to enhance sentiment analysis accuracy in the cryptocurrency domain, this paper investigates fine-tuning techniques on large language models. This paper also investigates the efficacy of supervised fine-tuning and instruction-based fine-tuning on large language models for unseen tasks. Experimental results demonstrate a significant average zero-shot performance gain of 40% after fine-tuning, highlighting the potential of this technique in optimizing pre-trained language model efficiency. Additionally, the impact of instruction tuning on models of varying scales is examined, revealing that larger models benefit from instruction tuning, achieving the highest average accuracy score of 75.16%. In contrast, smaller-scale models may experience reduced generalization due to the complete utilization of model capacity. To gain deeper insight about how instruction works with these language models, this paper presents an experimental investigation into the response of an instruction-based model under different instruction tuning setups. The investigation demonstrates that the model achieves an average accuracy score of 72.38% for short and simple instructions. This performance significantly outperforms its accuracy under long and complex instructions by over 12%, thereby effectively highlighting the profound significance of instruction characteristics in maximizing model performance.
[ 0.0445557758, 0.0864593759, -0.0130036175, 0.0188570656, -0.0144186802, 0.0215161908, 0.0570604764, -0.0032528329, -0.0192362182, -0.0343737677, -0.0087218666, -0.0131232338, -0.037164256, 0.0509012081, 0.0179493371, -0.0565555356, 0.0427853391, 0.0217200313, 0.0348612517, -0.0236493014, 0.0452069156, -0.0236060545, 0.0072793574, -0.0089773042, 0.0129956836, -0.0161859486, -0.0075892708, 0.0239103585, -0.010494045, -0.0065232469, 0.0176592674, 0.0616326481, -0.0194299202, 0.0341209583, 0.0000022098, -0.0212305915, -0.0325465351, 0.0152334124, -0.0240372773, -0.0161464196, 0.0449532904, -0.0661478266, 0.0276145358, 0.0152236922, -0.0504207648, -0.0034161147, 0.080135338, 0.0666020587, 0.020708181, 0.0853195861, -0.0170166418, -0.0415145829, 0.0019553062, -0.0260615982, 0.00079865, -0.0355279669, 0.0259831604, 0.0158788357, -0.0265966076, 0.0587876737, -0.0232597273, 0.0008553438, -0.0036767216, 0.0057326807, 0.0034258328, -0.0232940447, -0.0238273833, -0.0156064723, -0.0506805331, 0.0293647796, -0.0268330202, 0.0164728779, 0.0089339698, -0.0467919111, -0.0370291658, 0.0006055892, -0.0405052677, 0.0183236022, 0.005384889, -0.0090918355, -0.0008263389, 0.0162626673, 0.0331361331, 0.0407165103, -0.0105484398, 0.0328388065, -0.0238024034, -0.0248890221, -0.0077605275, 0.0184953529, -0.0332490765, -0.0016966512, -0.0300296787, -0.0058020651, -0.0158148147, 0.0048969775, -0.004779214, -0.029364178, 0.0184224267, -0.0783404261, 0.0560075827, 0.0455843359, -0.032477919, 0.0504786223, -0.0322560519, 0.0166855138, 0.0492108464, 0.0255745612, 0.0136681041, 0.0172253512, -0.0756454393, 0.0212116279, -0.0502952784, 0.0292128436, -0.0238714777, 0.0143574355, -0.0819042996, -0.0080191446, -0.0051313671, -0.0032188171, -0.0230675936, -0.0161461029, 0.0143319145, -0.0146194771, 0.0271523818, 0.0466407984, -0.0906246156, 0.0467851087, -0.0053842743, -0.0130442977, 0.0046649151, 0.01275816, -0.0023851166, -0.0125590339, 0.0208381321, 0.0687532574, 0.0780685917, -0.0453202873, -0.0627041161, -0.0645589828, 0.0125591327, -0.0302337371, -0.0306086205, -0.0375984423, -0.0230472498, -0.0014012598, -0.0072321794, 0.0518985465, -0.0266691279, -0.0369122177, -0.0709508136, 0.0875844061, -0.0271135326, -0.0551868156, -0.0256584231, -0.0212268624, 0.0328048691, 0.0627819747, -0.032870885, 0.0706947297, 0.0433070064, -0.037615601, 0.0011556137, 0.0038728674, 0.0264351331, -0.0452868715, -0.0262068845, 0.0133176511, 0.0057196137, -0.0174090657, 0.0193380006, 0.003273228, -0.0322086252, 0.0039206194, 0.0722986683, -0.0080612097, 0.001584205, 0.0133486409, -0.0002670436, 0.0102060586, -0.0006839636, -0.019661149, -0.0693781599, 0.017882809, -0.0266376622, 0.0089234347, -0.0042478512, -0.0149431471, -0.0544077978, -0.0309014376, -0.008625227, -0.0449045151, 0.0379443578, 0.0091251116, 0.0382380486, -0.0195831079, -0.0729512051, -0.0003584166, 0.0695221722, -0.0150333587, -0.0340956151, -0.056872651, 0.051386442, 0.0641669258, -0.0008353239, 0.0177973993, 0.043094378, -0.0288979243, 0.0245831758, 0.0631083325, 0.027533669, 0.0027520356, -0.0302571058, -0.0488296188, -0.0214477032, 0.0043336726, 0.0375856496, 0.0186504442, -0.0147308344, 0.0076771011, -0.0232106913, 0.027250981, -0.0310329646, -0.0046989303, 0.0161189847, -0.0551144853, -0.0015586555, 0.0543942004, -0.0153508037, 0.0350041129, -0.0068086646, 0.0068362434, -0.0048958305, 0.0074899839, -0.0389341451, -0.0259831976, -0.0168063715, 0.0133743109, 0.0237343963, -0.0094733546, 0.0293267462, -0.0271434262, -0.0457234532, -0.0163932554, 0.0931585431, 0.0140453484, 0.0213566851, -0.0144421551, -0.068631418, -0.058971554, 0.0217925161, -0.015570051, 0.0044488055, -0.0036264157, -0.0092581175, -0.0238770414, -0.0078898016, 0.0196789391, 0.028722195, 0.0030275167, -0.0344291665, -0.0184600037, 0.0470841117, 0.0623918176, 0.004387896, 0.000669859, -0.0510886982, -0.094990693, -0.0469502918, -0.0356428325, 0.0527346097, 0.0110550812, 0.0231214333, -0.0066802939, -0.0109192561, -0.0186423808, 0.0057074972, -0.0426213294, 0.0189253762, 0.0333400555, 0.0158059523, -0.0264214315, -0.0462066941, -0.0251535717, -0.0051069977, 0.0068976972, 0.0557713434, 0.0215392914, 0.0336797573, -0.0155415973, -0.0296395402, -0.0079754833, -0.0259368662, -0.0442846455, 0.0074019739, 0.0313382782, -0.0063579823, 0.044086244, 0.0099172127, 0.0289551672, -0.0085774474, 0.0293013863, -0.025822185, 0.0019738234, -0.0299260896, -0.0253173001, -0.0416865796, 0.0208622757, -0.0332705528, 0.1014927626, -0.0034494323, -0.0044677411, -0.0755897909, 0.0285463873, -0.0136960018, 0.0115523851, -0.0177147593, 0.0077737314, 0.0207442213, 0.0150113851, -0.0046232245, -0.0753826201, 0.0287937801, 0.0267804358, 0.0155672226, -0.0171797574, -0.0281912759, -0.0499489009, 0.0231178664, -0.0061002593, 0.0286980458, 0.0070408867, 0.0296118315, -0.0118815871, -0.0708590895, 0.0221136082, -0.0149825616, -0.0191167295, -0.0017136789, 0.0260916259, -0.0124892723, -0.0081777172, 0.0233939271, -0.0519108064, -0.0564812198, 0.0367722735, 0.0704285651, -0.0562612154, 0.0124421632, 0.043507535, -0.0158129204, -0.039409712, -0.0234728456, -0.0366880447, -0.014239626, -0.0347120278, 0.0589770675, -0.0479668379, 0.051804617, -0.0224811826, 0.0342145301, 0.0036816492, 0.0067740669, -0.0098095667, -0.0587648787, -0.0016210544, 0.0032089653, -0.0125740087, -0.0049206126, 0.0369990915, 0.0548966862, -0.0436015092, 0.0120218704, 0.1240780279, 0.0236048568, -0.0053662225, 0.0039416342, 0.008421923, -0.0013584287, -0.0133638028, 0.02046616, -0.1209268123, -0.024566764, -0.0288210083, 0.0389988348, -0.0439361334, -0.0414153561, -0.002398032, -0.11299216, 0.0515113622, 0.0110129481, -0.0221651029, -0.0355819911, -0.0709903091, -0.0271369144, -0.0309117939, 0.0277819037, -0.0259803273, -0.0290921666, 0.0154751325, 0.0257452875, -0.0428198688, -0.0214744434, 0.0288175046, -0.0419213511, 0.0258313585, 0.0645733103, 0.0038574513, -0.0191663653, -0.0007736646, 0.0033910612, 0.0185730606, -0.0038427061, -0.0065797861, 0.0667191669, 0.0130870026, -0.0401615985, -0.0065038209, 0.0349678881, -0.0190932583, 0.0463022701, -0.0343163572, -0.0153670916, 0.0226940606, -0.0679009855, -0.0292814542, 0.0080184378, 0.0379928872, 0.0339309648, 0.059746936, -0.0504138619, -0.0656623095, -0.0436983705, -0.0023248296, -0.0920201167, -0.0098728128, -0.0347554274, 0.0525688343, 0.019405758, -0.0440132022, -0.0321286134, -0.0169077609, 0.0094984807, -0.0161192138, 0.0158176906, 0.0799321905, -0.0135769183, -0.0121463714, 0.0520657599, -0.0297565293, 0.0380747095, -0.0830869153, 0.01157426, 0.0121005215, -0.0392828397, -0.0121783707, 0.0152426464, -0.092026338, -0.0311667211, 0.0353883803, 0.0745887831, 0.0153897358, -0.0068955529, -0.0445796773, -0.0348522477, 0.0258458741, 0.062585257, -0.0328266397, -0.0299586114, 0.0967384353, 0.034648072, -0.0443079472, 0.0287711509, 0.0001202062, 0.0589688644, 0.0473444425, -0.0372563787, -0.0561237708, -0.003790305, -0.0029132923, 0.0166880582, 0.0470841266, 0.0026573902, -0.0092629092, 0.0205891896, -0.0171996225, 0.0011346715, 0.006521753, -0.0250444319, -0.0635153204, 0.0235492662, -0.0192782991, -0.0318565071, -0.0074366946, -0.0206662621, -0.0149007328, -0.0353900269, 0.0676999539, -0.0398004055, 0.0668850467, 0.0256158262, -0.0063840058, -0.0072026099, 0.0317999683, 0.036047399, 0.028276423, -0.0113941012, 0.0244772173, 0.0062148571, 0.0401478559, -0.04088182, -0.0013207417, -0.01677786, -0.0446787775, 0.0056501999, 0.0346792974, 0.0280988161, -0.0219954923, 0.0051699081, -0.0097054066, -0.0003188199, 0.0000776003, 0.0500464328, -0.0176190976, -0.0327959135, 0.008376318, 0.0037248041, -0.0411796197, -0.0337693803, 0.0566258878, -0.0223388672, 0.0584726743, 0.0039620646, 0.0174001399, -0.0270979349, 0.0142698511, 0.0182635132, -0.0172208585, -0.0302494355, 0.0625472292, -0.0606020987, -0.043222446, 0.0141395703, -0.0334766284, 0.0116007933, 0.0294119585, 0.0410574451, 0.0293262098, -0.0299793947, 0.056668058, -0.0119662927, -0.0065590912, 0.0023646629, -0.0290835556, -0.0353288278, -6.829098349e-33, -0.0115192179, -0.0162050966, 0.0306580719, -0.0054051643, 0.0297810957, 0.0078928135, -0.0535712652, 0.0343426168, -0.0263420045, 0.0326884463, 0.0085697053, -0.0153431986, 0.013947661, 0.0615169741, 0.0221578963, 0.0149678029, 0.0619635694, 0.009387264, 0.0116645144, 0.0118715009, 0.005963821, 0.0127165979, 0.0462544523, -0.0719685405, 0.065740481, 0.0119915605, -0.0457507595, -0.0329755805, 0.0298175775, 0.0601920448, 0.0062388536, 0.0229127798, 0.0026485219, -0.045479726, -0.026678307, 0.0140074715, -0.0045358441, -0.0220779423, -0.0136007704, 0.0361082107, 0.0157506876, -0.0459051393, 0.0214433391, 0.0169493984, -0.0064493339, 0.0054986351, 0.0105079534, 0.0078758309, -0.0034158314, -0.0515216589, -0.0936200917, 0.0322259068, -0.016086163, 0.0192687623, 0.0129594225, 0.0402584448, 0.019420024, 0.0468103811, -0.0408001915, 0.0471989065, 0.0550460145, -0.0030260708, -0.0265206974, 0.0172825605, -0.0133795384, 0.0460735597, 0.0000512444, 0.0425980911, 0.0098824007, 0.062341392, 0.0436669514, 0.0514552742, 0.0666752979, 0.0450636037, 0.081439428, -0.057233531, -0.0521996692, -0.0367996357, 0.0156046478, 0.0194909666, 0.0550623834, 0.0045060064, -0.0373804681, -0.0257084481, -0.0089540817, -0.0388475545, -0.0280297399, -0.0389488637, -0.0175555609, 0.0234022345, -0.0335073993, -0.0096552521, 0.0208806489, -0.0944777951, -0.0774202421, 0.0038882508, -0.001418552, 0.0524421521, 0.0009067983, -0.0146714235, -0.0606451556, -0.0668898597, -0.0143985413, -0.0296456963, 0.0030184793, 0.0130928643, 0.0329088159, 0.016691247, -0.0553386807, -0.012276127, -0.0088641718, 0.0364848822, 0.0097152283, 0.0490045995, -0.0235674437, 0.030638596, -0.0192322768, 0.0480272397, -0.0426451899, 0.0143705904, 0.0332083143, 0.0169652551, -0.0254852884, 0.0547392666, 0.0127713336, -0.0266599394, -0.0111554256, 0.0130435806, -0.0057053976, -0.0259389151, -0.0279689413, 0.0247689355, 2.98e-7, 0.018126715, 0.0992924049, -0.0049548112, 0.0051746466, 0.0092811938, 0.073849, -0.0072317487, 0.0024212096, -0.0241681486, -0.0257101171, -0.010937511, 0.0520272627, 0.0554568432, -0.0029815189, -0.0734711736, -0.0102656418, -0.0188640095, 0.0409538485, -0.039234098, 0.0704329982, 0.0066379909, 0.1015793607, -0.0008919303, -0.0118792867, 0.007643763, -0.0143045848, 0.0335892215, -0.0192547459, -0.0208513178, 0.0208427738, -0.0269340426, 0.0508208983, 0.0259477478, 0.0166796558, 0.0097789811, -0.004350936, -0.0449893214, 0.0404389538, 0.0038916308, 0.0227614921, 0.0123469653, -0.0102716973, 0.0132642044, -0.0329316705, 0.0450236648, -0.0797447488, -0.0343529508, -0.0841260478, -0.0311252568, 0.0357448347, 0.0736130625, -0.0211910196, -0.0071284976, 0.0044219629, 0.0179931093, -0.033206556, -0.0065167532, -0.0286500286, -0.0169236958, 0.0079436954, -0.0135444868, 0.0069675716, -0.0191258993, 0.014915945, 0.0463466831, -0.0147966109, 0.0450955592, 2.722193746e-34, 0.1103571579, -0.0468664505, 0.0054902001, 0.031471014, 0.0180030223, 0.0157237109, -0.0299931169, 0.0260430221, 0.0485581383, -0.0561782494, 0.0254791342 ]
http://arxiv.org/abs/2310.13213v1
http://arxiv.org/pdf/2310.13213v1
MultiCoNER v2: a Large Multilingual dataset for Fine-grained and Noisy Named Entity Recognition
2023-10-20T01:14:46
2023-10-20T01:14:46
Besnik Fetahu, Zhiyu Chen, Sudipta Kar, Oleg Rokhlenko, Shervin Malmasi
cs.CL
cs.CL, cs.AI
We present MULTICONER V2, a dataset for fine-grained Named Entity Recognition covering 33 entity classes across 12 languages, in both monolingual and multilingual settings. This dataset aims to tackle the following practical challenges in NER: (i) effective handling of fine-grained classes that include complex entities like movie titles, and (ii) performance degradation due to noise generated from typing mistakes or OCR errors. The dataset is compiled from open resources like Wikipedia and Wikidata, and is publicly available. Evaluation based on the XLM-RoBERTa baseline highlights the unique challenges posed by MULTICONER V2: (i) the fine-grained taxonomy is challenging, where the scores are low with macro-F1=0.63 (across all languages), and (ii) the corruption strategy significantly impairs performance, with entity corruption resulting in 9% lower performance relative to non-entity corruptions across all languages. This highlights the greater impact of entity noise in contrast to context noise.
[ 0.0255359318, 0.0908753574, 0.023953421, 0.06336274, 0.0148269767, 0.0541600287, 0.0009570869, 0.0303846002, -0.0110452725, -0.0191552304, -0.0382418446, -0.0127952285, 0.035733439, -0.0218829345, 0.0483196974, -0.0224404037, 0.0302309487, -0.0327543728, 0.015460032, 0.0083658276, -0.0046975738, 0.0251271874, 0.0076732342, 0.005217039, -0.0075783301, 0.0313087292, -0.0076809428, 0.0285915546, 0.0635123551, -0.0628553778, 0.0478223749, 0.0448029339, -0.0179721825, 0.070161432, 0.0000017644, -0.0656378269, -0.0060478239, 0.0187928602, -0.0047651255, -0.0098868236, 0.009445101, -0.049265217, -0.0252544191, -0.0277384091, 0.0326829143, -0.0291519519, 0.0256376155, 0.0784879997, -0.0034118341, 0.0680399761, -0.0166332945, -0.0360842496, 0.0155261876, -0.0215846431, 0.0106973909, -0.0364145972, 0.0340380482, -0.0210529119, -0.0301541835, 0.0138605684, 0.0110994205, -0.0066584484, -0.0277738739, 0.0077681281, -0.050908424, 0.026670441, -0.031609036, -0.0134662148, 0.0145403063, 0.0677734092, -0.0093484074, 0.0279368423, 0.0277055483, -0.0062257312, 0.0066685984, -0.0388118364, 0.0039873887, 0.0043665268, -0.0650769398, -0.0047473824, 0.0347561389, -0.0058975103, 0.0456571244, 0.003200012, -0.0054930197, -0.003047911, 0.0267958939, -0.0480269715, 0.0422794148, 0.0160685927, -0.0019056813, -0.0399405621, 0.0227715354, 0.0066653569, 0.0100621451, 0.0007264704, -0.0555750206, -0.0080671962, 0.0248547941, -0.0387727655, -0.0245739799, 0.0098441048, -0.0112912031, 0.0462222584, -0.0197409522, -0.0014541097, 0.0072763907, 0.005746352, 0.0574227683, -0.0439513065, -0.0256889239, 0.0390794352, -0.0232677497, 0.0323545486, -0.0186138451, 0.0137574971, -0.0458809845, -0.0303238612, -0.0105527062, 0.059749905, 0.0010037916, -0.0257084146, 0.0140497023, -0.0007161094, -0.0214941949, 0.0343500525, -0.0270289071, -0.0023651801, -0.0154237393, -0.0365574211, -0.0041936398, -0.0369145684, 0.0301905219, -0.0485152416, 0.0610990301, 0.0345130935, 0.0214282107, -0.0928298607, -0.060752552, -0.0163332354, -0.025318088, -0.0657476485, -0.0399886072, -0.0425365344, 0.0583984517, 0.0146751702, 0.0242386516, -0.0621004552, 0.0259842239, -0.0223774202, -0.0670741722, 0.111427255, -0.0733821541, -0.0317410529, 0.0270683132, 0.0081263008, 0.0370990857, 0.0483938046, 0.0385699086, -0.021484999, 0.0559591316, -0.0041639837, -0.0235010888, 0.060930118, -0.0091423774, -0.0078632804, 0.0387060829, 0.0008340979, -0.012689773, 0.0238801166, 0.0324630737, 0.0421358533, -0.0011246832, -0.0235541798, 0.0351882726, 0.0125808436, 0.0054535377, -0.0081582535, -0.0147128934, -0.0234407354, 0.0146816233, -0.0119703123, -0.0520241708, 0.0123313041, -0.0136850439, 0.0295131169, 0.0334202424, 0.0788701624, -0.0064806845, -0.0049503762, 0.0073473561, -0.0083111301, -0.0224047024, -0.0076444107, 0.0811019614, 0.0160619151, -0.0568117276, 0.043763835, 0.0472323224, -0.0339772142, 0.0439781062, 0.002078725, 0.0052166292, 0.081182614, 0.0513767786, -0.0481801666, -0.0690097734, -0.0270986222, -0.0410825796, 0.0473845452, 0.0154542373, -0.0442485139, 0.0737810582, -0.0522863269, -0.0312012769, 0.007779601, 0.0115174716, 0.0348351598, 0.0189130381, 0.0651829243, 0.0174886491, -0.0400145054, -0.0583422408, 0.0428486355, -0.0051666838, -0.0224825256, -0.0223604944, 0.0309991464, -0.0078334138, 0.0680174604, -0.0313154794, -0.0515347682, 0.0117198536, -0.016025655, 0.0390767939, -0.044612743, 0.022149859, -0.0312798806, 0.0179430414, -0.0221494809, -0.0533636548, 0.0118396636, -0.0276530739, -0.0503539182, -0.0640442893, 0.0524114445, -0.006294352, -0.0204461329, 0.0253922846, 0.0200387463, 0.0424291156, 0.0108133173, 0.0481635556, -0.0254610777, 0.045771677, 0.0422754213, -0.0275305696, 0.0130240498, -0.0342922248, -0.0815599486, 0.0180605426, -0.0071416623, -0.0152154788, 0.0199625418, 0.005169, -0.0477577634, -0.0229323283, -0.037480779, -0.011624408, -0.0248386618, 0.0536046289, -0.013085383, 0.0448716804, -0.0295852572, -0.020250136, 0.0118929381, -0.0024251887, -0.0379007421, 0.0003986757, 0.027290307, 0.0025905545, -0.0058908015, 0.0029873452, 0.007288659, -0.0183654223, 0.0202118345, 0.025990881, -0.0576205067, -0.0751187354, 0.0359133072, -0.0198471602, -0.0109461294, -0.0105934227, 0.023088526, 0.0067300252, 0.0354561023, -0.0114465924, 0.0183560196, -0.0291900113, 0.028049361, -0.0109709576, -0.0181336012, -0.0217620637, 0.0229802448, 0.0093665738, 0.0238116551, -0.0525231995, -0.0481577478, 0.0201475602, 0.0549852327, -0.0678667501, 0.0353457183, -0.0340488553, -0.0039509833, -0.0049545453, -0.0070357262, -0.0031247432, 0.0349431634, -0.00653427, 0.0307175666, -0.0154956235, 0.0200001765, 0.0578768961, -0.0658496097, -0.0153969321, 0.0307444725, 0.0009176722, -0.0127236759, 0.0321377479, -0.0007112967, 0.0121090058, 0.0613352694, -0.09350916, -0.0003368225, 0.044296436, 0.0252607651, -0.0242623985, 0.0378241315, 0.0164221395, 0.0136627583, -0.0263319332, -0.0382123627, -0.0098172082, 0.0151107954, -0.0366001464, 0.0075981058, 0.0084007112, -0.0420125201, -0.012061201, 0.055390466, -0.0170789808, 0.02898716, -0.0004748004, -0.0169464592, -0.0067102988, 0.0699853897, 0.052644521, 0.0069572404, 0.0221043844, -0.0364867337, -0.0290050749, 0.0112098567, -0.0355495848, -0.0219071005, 0.0097674625, -0.008278247, 0.0348225497, -0.0431807861, 0.0125486525, -0.0429591611, 0.0507954843, -0.0517652929, -0.0013774316, 0.0979662389, -0.0150917964, -0.0409670807, -0.0224369913, -0.0102502443, 0.0318421386, 0.0223969836, -0.0018939186, -0.0839013383, -0.0399818905, 0.0193838105, 0.0340606794, 0.0089321434, -0.0933451802, 0.0109891361, -0.0882439464, 0.0151289515, -0.0069892174, -0.0863497257, -0.0239301752, -0.0555032156, 0.0072897919, -0.0519914851, 0.0414194614, -0.0393949598, 0.0108060604, -0.0098034916, -0.002228555, -0.0012388637, -0.0831453651, 0.0089417975, -0.0556761958, 0.064132601, -0.0046948483, 0.0277957637, -0.0504567884, 0.0111947665, 0.0253767259, -0.0531744324, -0.0174634866, -0.008733565, 0.0779426321, -0.0475400388, -0.0417330526, -0.0225189738, -0.0048089698, -0.0179970935, -0.0162736047, 0.0079310788, 0.0382139795, 0.0085814483, 0.0138152894, 0.0177521855, -0.0571833029, 0.0418894701, 0.0542324744, 0.0082208738, -0.0283501949, -0.013275845, -0.0032932821, -0.0122617241, -0.0447239503, 0.0148823587, 0.0377097651, -0.0401661359, -0.0562738478, -0.020709144, -0.1120163724, 0.0609353185, 0.0167440362, 0.0229905825, 0.0104590189, 0.0342249759, 0.0103614768, -0.0708775148, 0.0224131998, -0.0119600464, -0.0011862769, -0.0397959203, -0.0084649157, -0.0138338786, 0.0413401127, -0.0316952877, 0.010228199, -0.0530432276, -0.0750926808, 0.0115054827, 0.0491669625, 0.0077608251, 0.0534889586, 0.0099507244, -0.0339784585, 0.0428761393, 0.0700000748, -0.0151657527, -0.0287969634, 0.0065160166, 0.004178769, -0.0408210829, 0.0351477675, -0.0464596041, -0.0106162261, 0.0196052603, 0.0534856543, -0.0273159873, -0.0455612689, -0.0153065799, 0.0194108896, 0.0321526974, -0.0630906299, -0.0107603604, -0.0770636275, 0.0253549851, 0.0149358092, 0.0147001594, 0.0009086093, -0.0307549443, 0.0316036232, -0.0196711402, -0.0103534954, 0.0595130101, 0.0048995353, 0.014975464, -0.0835305825, 0.0212830175, 0.0344169661, 0.0463349484, 0.0366495959, -0.0379450992, 0.0196092222, 0.0549359508, 0.0437883921, 0.0504857227, -0.0509309769, 0.0023015554, 0.0187968686, 0.0047571943, 0.0086128721, 0.0319337025, 0.0100097023, 0.0413461328, -0.0189682562, 0.0373943485, 0.0609978624, 0.004058178, 0.0853991285, -0.0121644614, -0.0143356193, 0.0059263906, 0.0012528989, -0.0088879634, -0.0083211558, 0.0299794897, 0.0271718763, -0.0139094554, 0.0218015146, 0.0688221306, -0.0112346141, 0.03253996, 0.0479276069, -0.0092637269, -0.0215021614, -0.010746561, 0.0089830533, -0.0166184474, -0.0372381583, -0.026473254, -0.0383470319, -0.0444453284, 0.0159647167, -0.0252530463, -0.0314231776, 0.0169169083, -0.0250277817, -0.0017888105, 0.0221175775, -0.0170724522, -0.0215533543, -0.014227205, -0.018559387, -0.037014883, 0.0077898386, -6.033635077e-33, -0.0238457806, -0.0328320637, -0.0053315395, -0.0080698766, -0.0116690239, 0.0232001003, -0.0115495045, -0.0136768464, -0.0037933979, 0.0061924537, -0.0127429292, 0.0085777799, 0.0315410756, 0.0033620547, 0.0165096298, -0.0315705352, 0.0481030755, 0.0529482514, -0.0473083667, 0.004636406, 0.0344046131, 0.0653804466, 0.1266547889, -0.0760851428, 0.0768856406, -0.0120110959, -0.0111812595, -0.0267859716, 0.075104557, 0.0533777997, -0.011708837, 0.0327966474, 0.0170591716, -0.0496775806, 0.0223251712, -0.025311891, -0.1684329361, 0.0180094801, -0.040401943, 0.0716937929, 0.0107964454, -0.02531543, 0.0218182895, -0.0030255655, 0.0194216166, 0.013590497, 0.0348833799, -0.0048943586, 0.0095655108, -0.0111158853, -0.0564141497, 0.0458580032, 0.0008304651, 0.0420183651, 0.041271437, -0.0212427583, 0.0408088155, -0.0068975156, -0.0977066606, -0.001420801, 0.0086503988, -0.0074458388, 0.021951234, 0.024976274, -0.0390940942, 0.0348265022, 0.0559391119, 0.0341031589, -0.0044877017, -0.0077528409, 0.0124701457, 0.0145205092, -0.0163206141, 0.0789657682, 0.0557379909, -0.0383718573, -0.053012576, 0.063940905, -0.0292538926, 0.0180967972, -0.0179129932, -0.0554166362, -0.0345571078, 0.0023050457, -0.0128542678, -0.0432105102, -0.0422396585, 0.0185253136, 0.0009182786, -0.0052164425, -0.0186116528, 0.0517015569, 0.0095768515, -0.0152962813, -0.0658663809, -0.004413764, 0.0375701524, 0.0105573414, -0.0215644594, 0.0040143807, -0.0283172932, -0.0414706767, 0.0118243163, -0.0038819115, 0.0504974686, -0.00842865, 0.0775512978, 0.0092576705, -0.0667197257, 0.0050004092, 0.0016437484, 0.0254202187, -0.0267068502, 0.02877336, 0.0136953602, -0.023137385, 0.0041927039, -0.0089291176, 0.1021654606, 0.0112975528, 0.0155557944, 0.0284287501, 0.0366518609, 0.0236609932, -0.0086746775, -0.0059989402, 0.0016282583, -0.0218903888, 0.0171209089, -0.0296216216, 0.0003085277, -0.0190008376, 2.486e-7, 0.0251772571, 0.0236413404, 0.0081211496, 0.009154235, -0.0419918448, 0.0223291311, 0.0087183956, 0.0564891659, -0.0573570095, 0.0028338062, 0.0088762138, -0.0415598936, 0.0259745121, 0.0388335474, -0.098819986, -0.0379536599, -0.0052423943, 0.0120698158, -0.0668424442, 0.0488502346, 0.011493383, 0.0488394834, -0.0223983955, -0.0501367971, -0.0182770938, -0.0518275984, 0.0415453203, -0.0222404115, 0.0108251357, 0.0268711746, 0.0198373292, 0.0557353124, -0.0228998456, 0.0434790254, -0.0138108535, -0.0034015994, 0.0101603484, 0.0372555926, -0.0222388078, -0.0006903323, -0.0044149663, -0.0411315784, -0.003977478, -0.0512154736, 0.0560613461, 0.0125798974, -0.0283592679, 0.0009754677, -0.0367514379, -0.0075164051, 0.0169391204, -0.0118249329, -0.0110546984, 0.0036233161, 0.0339160487, -0.0113406079, -0.009165301, -0.0553362928, 0.0433357246, 0.0266605094, 0.0440279841, -0.0204167627, 0.0034029426, -0.0678663179, 0.0118988547, -0.0567806736, -0.0011897149, 2.087942683e-34, 0.0076602516, -0.0100125587, -0.0240394175, 0.0129551403, 0.0138283717, -0.0327668153, -0.0471245982, -0.0106916074, -0.0501258038, -0.0177385602, -0.0076456508 ]
http://arxiv.org/abs/2310.13206v2
http://arxiv.org/pdf/2310.13206v2
Primacy Effect of ChatGPT
2023-10-20T00:37:28
2024-05-14T17:17:17
Yiwei Wang, Yujun Cai, Muhao Chen, Yuxuan Liang, Bryan Hooi
cs.CL
cs.CL, cs.AI
Instruction-tuned large language models (LLMs), such as ChatGPT, have led to promising zero-shot performance in discriminative natural language understanding (NLU) tasks. This involves querying the LLM using a prompt containing the question, and the candidate labels to choose from. The question-answering capabilities of ChatGPT arise from its pre-training on large amounts of human-written text, as well as its subsequent fine-tuning on human preferences, which motivates us to ask: Does ChatGPT also inherits humans' cognitive biases? In this paper, we study the primacy effect of ChatGPT: the tendency of selecting the labels at earlier positions as the answer. We have two main findings: i) ChatGPT's decision is sensitive to the order of labels in the prompt; ii) ChatGPT has a clearly higher chance to select the labels at earlier positions as the answer. We hope that our experiments and analyses provide additional insights into building more reliable ChatGPT-based solutions. We release the source code at https://github.com/wangywUST/PrimacyEffectGPT.
[ 0.047757227, 0.0024649655, 0.0059181126, 0.0216132887, -0.0296574961, 0.034597896, 0.0082823467, -0.0280095767, 0.0546790585, -0.0612316355, -0.0461481996, -0.0317880437, -0.034466207, -0.022203235, 0.0105585782, -0.0339975432, 0.068921417, -0.0562297106, 0.055552993, -0.0166879296, -0.0080546346, -0.0008611885, -0.0273634382, 0.0258550402, 0.0111232931, -0.0191344786, 0.0166362189, -0.0025247782, -0.0046274625, -0.0230400655, 0.0267082024, 0.0697144419, 0.0141164996, 0.0456282236, 0.0000019966, -0.0373996571, 0.0080637429, -0.0218634624, -0.0468764491, 0.0183496345, 0.0148080261, 0.0545827188, 0.0077473586, 0.0103537161, -0.0327708423, -0.0115144448, 0.0353481248, 0.0604183935, 0.0404459834, 0.0657797158, 0.0096529853, -0.0157407615, -0.0009232546, -0.017414365, 0.0581592545, -0.0911532491, 0.0163660813, 0.0181964785, 0.0105206808, 0.0473580956, -0.0214313604, 0.0226618648, 0.0157943293, 0.0355361551, -0.0016067083, 0.0740508512, -0.0297128353, -0.027057711, -0.0157790575, 0.0765545592, 0.0024801549, -0.0246297717, -0.018288875, 0.0033518346, 0.0391160734, -0.0301929433, -0.0691783056, 0.0371612422, -0.0240097716, 0.0140378829, 0.0249920599, -0.0058449171, -0.009527294, 0.0268276911, -0.012929054, 0.0989943296, 0.0022308647, -0.0386808813, 0.0381141379, 0.0229911301, -0.0595892072, -0.0634487718, 0.0002761961, 0.02122044, -0.0548162647, 0.0041273055, -0.0419853814, 0.0365941599, 0.0095972177, -0.0165448394, 0.0003775631, 0.0629075244, -0.0373147689, 0.0618988238, -0.0059994208, 0.073991783, 0.0047247135, 0.0364841297, -0.0649478883, -0.022464307, -0.0621036924, -0.0331262946, -0.0340480059, 0.0381447934, -0.0082009016, -0.0126687065, -0.0477089621, 0.0306479558, 0.0271542836, -0.0274802409, 0.0162214153, 0.0282396059, -0.0325140841, 0.0173178054, -0.0258979425, 0.0647205934, -0.0575136915, 0.0232095588, 0.0004652833, -0.071363233, -0.0244004969, 0.0200485699, -0.016370859, -0.0583660528, 0.0118385069, 0.0632183626, -0.0477581024, -0.0599938631, -0.0122817699, 0.0058771279, -0.0202289317, -0.043407049, 0.0069254083, -0.0415116735, 0.0057842536, 0.0381747708, 0.001656963, -0.0149269449, 0.0122543564, 0.052462101, -0.0527874418, 0.0598628931, 0.0312585793, 0.0153034991, 0.0343225636, 0.0094973361, -0.0317455679, 0.0767153576, 0.0064363629, 0.0354116447, 0.0482715182, -0.0159653816, 0.0146239987, 0.0287713334, -0.0046754126, -0.0125540951, 0.0207064245, 0.0432209559, 0.0143289026, 0.0315210968, 0.0491187759, 0.0315232836, -0.0495298244, -0.039872054, 0.0803568587, 0.0639946759, -0.0253287908, -0.0362332091, -0.0012717104, 0.0411772244, -0.0099488422, 0.0412859544, -0.0706378892, 0.0437889025, -0.0328341201, 0.0007461392, 0.020130625, 0.0141914701, -0.036768876, -0.0065837693, -0.012402188, 0.0396811888, -0.0260746703, 0.04547479, 0.0288185608, -0.0156966355, -0.0420265011, 0.056150768, 0.0185237415, -0.0091702295, -0.0262226816, -0.0598516725, 0.0131372558, 0.014177341, 0.0196540244, -0.0243406147, -0.0299545657, -0.012575482, 0.0312760137, 0.0296065453, 0.0607018434, -0.0163971148, 0.0109551642, -0.036888957, 0.0030449613, 0.0096807219, 0.001459234, 0.0191576183, 0.0275043957, -0.0036276651, -0.0012599063, -0.0133892428, -0.0087545589, 0.0309646148, 0.0393277854, -0.0607644655, 0.0104956124, -0.00486336, 0.0154730668, -0.018267775, -0.0244158264, 0.017552847, 0.013576326, 0.0121262129, -0.0143064829, -0.0178208482, -0.0623860545, -0.0526568815, 0.0261780173, -0.0317666531, -0.0496691056, -0.0031552971, -0.0563679934, -0.032813888, -0.036899507, -0.0307037886, -0.0177929867, -0.032707423, -0.0041736201, 0.0136842616, -0.013563497, -0.0868825316, 0.0736535341, 0.0094961319, 0.0078266039, 0.020582309, 0.0055510523, 0.0148017984, -0.0575654656, -0.0025212511, 0.0208607446, -0.0049189767, -0.0097261807, 0.0414416604, 0.0075528203, -0.0745172203, -0.0379858017, -0.1133227944, 0.0335347354, -0.0118466066, 0.0197546314, 0.0118670939, 0.0028782398, -0.0357171483, -0.0293345042, -0.0336719565, -0.0154705718, 0.0054893428, 0.0529786609, 0.018208731, -0.021127196, 0.011876625, -0.0482981578, -0.0006717395, -0.0137151396, 0.0113894548, 0.0231003705, 0.0014573529, -0.024584841, 0.0123482672, -0.0050649336, 0.0309714004, -0.0084144324, -0.0269900691, 0.0321604796, -0.0078613162, -0.0007236853, 0.1188216507, 0.0180583913, 0.0034734609, 0.0252380669, -0.0032404694, -0.0373439044, 0.0203788225, -0.0295900311, -0.0504504852, -0.0159420557, -0.0157587528, -0.0199104026, 0.1103228703, 0.0169057641, -0.0144831417, -0.0449153967, 0.0229877196, -0.0203387532, -0.0035592162, -0.0602548569, 0.0112979347, -0.0173596498, 0.0285868701, -0.0323125795, -0.0193303972, 0.0779744536, -0.0168868452, -0.0302907545, -0.0636655688, -0.0005616693, -0.0520311855, 0.0372759886, 0.0383435078, -0.0074588, 0.0217560399, -0.0324861705, -0.0804308951, -0.0162231382, 0.0310671236, -0.0187296122, 0.0145651503, -0.0542664714, 0.0281003192, -0.0298336912, -0.0575143844, -0.054737404, -0.0481740236, -0.0445164666, 0.0199142247, -0.0084105814, 0.0183211956, -0.0564624928, 0.00839247, 0.0434668586, 0.0195537992, -0.0363878608, -0.0023953265, -0.0165404491, 0.0526878089, 0.0641659647, 0.0049720583, 0.0063581537, -0.0067339768, 0.0123560615, 0.0642310157, 0.0310401898, 0.0150380563, 0.0169967283, 0.0063890358, 0.0242136084, -0.0390877463, -0.0270155165, 0.0366016775, 0.0523890369, -0.0158457682, -0.0068665938, 0.1259641051, 0.0324472487, -0.0447360091, -0.0066381185, 0.0185933411, 0.0491188616, 0.0507554263, 0.0218622163, -0.0791604295, -0.0659067854, 0.0051872423, 0.0140835019, -0.0174889211, -0.0225154981, -0.020272525, -0.1087202579, 0.0173404384, -0.0191294849, -0.0673289225, 0.0126263816, -0.0319375582, 0.007281539, -0.0286594667, 0.0094347298, 0.0212338269, -0.0264217164, 0.0337931886, 0.0293725766, 0.0032387378, -0.0132751092, 0.0549124666, -0.0124002285, 0.0322942361, 0.0400704108, 0.0198838934, 0.0101603791, -0.0018911774, 0.0368158594, -0.024043154, 0.0058067846, -0.0130743105, 0.0259477757, -0.03097382, -0.0016180531, -0.0337738991, 0.0437584929, -0.0138204684, 0.004463796, 0.0255229864, 0.0480918102, -0.0137562854, -0.0091637112, -0.0141832288, 0.0039322022, 0.0063954252, 0.1034837216, 0.0282820128, -0.0387408026, -0.0562149882, -0.0354993269, -0.0097569991, -0.0315999202, -0.0803364515, 0.0310988873, 0.0000616608, -0.0223224387, -0.0449614339, -0.0479861908, 0.0358646549, 0.0161088165, -0.0195911098, 0.0013381371, -0.0235998146, 0.0261784233, -0.0026498912, 0.0519345291, -0.0501607507, 0.0069062123, -0.089708589, -0.0050222618, 0.0470816568, -0.0236897822, -0.0351205058, 0.0189598892, -0.0710015222, -0.0502576306, 0.0022863687, 0.0211237613, 0.0274853278, 0.0390124992, -0.0051643439, -0.0681221262, -0.0024540215, 0.0589132272, -0.0380374305, 0.0195463393, 0.0032381879, -0.0036780313, -0.0151544465, 0.0161102824, -0.0370323434, 0.0423926674, 0.0232773069, 0.0322241634, -0.0045816125, -0.0263907649, 0.0466097631, 0.0204526912, 0.0790753216, -0.0104227047, 0.0455059893, -0.0228879154, 0.0158362072, 0.0126015423, -0.0192824584, 0.0026113575, -0.0198728424, 0.0132397739, -0.0528832786, -0.0117881251, -0.0342298634, -0.0285736099, 0.0376913622, -0.0234447289, -0.0155572509, 0.0476043671, 0.0092836972, 0.0281257201, -0.0184726976, -0.0499278009, 0.0233033653, 0.0268128403, 0.0770552829, 0.0124612497, 0.0954042003, 0.0220300667, -0.0193443857, -0.0093136737, -0.0121380752, -0.1058718488, -0.0567268431, -0.0162053369, 0.0223835725, 0.0748003721, -0.038594909, 0.0128502371, -0.0172104985, -0.017776547, -0.034432143, -0.0130506931, 0.0068242704, 0.0052487417, 0.0327277109, 0.0258729905, -0.0008371099, 0.0204745308, 0.0921502039, 0.0608190112, 0.0321831889, 0.0151553648, -0.0141719319, -0.0171302985, -0.0389733501, -0.0187327098, 0.0018513334, 0.0064742435, 0.0443281792, -0.0574886203, -0.0451522991, -0.0254965834, 0.003382996, 0.0072285109, -0.0283761565, 0.0473823287, 0.0530283228, -0.0170741063, -0.0723223761, -0.0333978273, 0.039648205, -0.0243252162, -0.0140165053, -0.0446013138, -6.749236732e-33, -0.0435161255, -0.0227886103, 0.0220361874, 0.0107589019, 0.0060146996, -0.0180829298, -0.0134160239, 0.0123383049, -0.0316426083, -0.0035302718, -0.0357228518, 0.0084060188, 0.0241417624, 0.0239975844, -0.0102350805, -0.0438898541, 0.0153744137, -0.0155609455, -0.0360797793, 0.0060830363, 0.0142485686, 0.013346673, 0.0428796001, -0.0438017137, 0.0215809345, -0.0164449178, 0.0406279862, 0.0224489663, -0.0227359142, 0.0609635115, -0.0208281446, 0.0589460693, 0.0289101675, -0.0609731227, 0.0028670395, 0.0416240841, -0.0696695596, -0.0559289791, 0.0332663767, 0.018973846, -0.0011725152, -0.0219575148, 0.0020014644, -0.0205103941, 0.0043183188, -0.0164845269, 0.0244914945, -0.0017698166, -0.0553670488, 0.0204798654, -0.0435840264, 0.0177481268, -0.0367333777, -0.0198576041, 0.0155747812, 0.0568498559, 0.007136147, 0.0093078809, -0.0309786834, 0.012016722, 0.0281584598, 0.0310831685, 0.0389347523, 0.0438973606, 0.0128950169, 0.0435355045, 0.0511958301, 0.0099394899, -0.0090760253, -0.0265401714, -0.0206826124, 0.0088862209, 0.0254945103, 0.0143747404, 0.0374106206, 0.0187708624, -0.0751097798, 0.0038650907, 0.0366219282, 0.0074549201, 0.0299609415, 0.0307295099, -0.0399133787, -0.0508118756, -0.0497613028, 0.0078522693, -0.0437438674, -0.000089666, 0.0592749156, -0.0095657986, -0.0039188531, -0.0451469496, 0.0561233088, -0.02412601, -0.0256111622, 0.0024445094, -0.0275784656, 0.0190713666, -0.0072558392, 0.0524819717, -0.0634387657, 0.0019854703, 0.0266469754, -0.0046143867, 0.000446605, 0.014256889, 0.0203074962, -0.0211562924, -0.0360738486, -0.0178780556, -0.0355212092, 0.0082967635, -0.0026122411, -0.0007772107, 0.0300917886, 0.023648398, -0.0071322462, 0.0739190355, 0.0111183813, -0.0210924596, -0.0305443965, -0.0302134603, -0.014832492, 0.0010638249, -0.0316634625, 0.0234762654, -0.0053661568, 0.0067847683, -0.0391691439, -0.0524315946, -0.0235351417, 0.0483083613, 2.703e-7, 0.0329282247, 0.0625880212, 0.0132114664, 0.0117319608, 0.0415988415, 0.0600058436, 0.0043412703, 0.0054565878, 0.0606700629, -0.0307082888, -0.0032569724, 0.0395431966, 0.0322942361, 0.0223145932, -0.0918600932, -0.0214555021, -0.0453991294, 0.0215412192, -0.0403642431, 0.0068628713, 0.0630790442, 0.0856944174, -0.0071175275, -0.0021771316, -0.0078135086, -0.0097952196, 0.0546852425, -0.0105364304, 0.0183083694, 0.0279021338, 0.0183490347, 0.0032081145, -0.0002939599, 0.0631619543, 0.03089213, -0.0135525651, 0.033253409, 0.0584282465, -0.0111356471, -0.0365873091, -0.0229553599, -0.0086663365, 0.0135764647, -0.0612468608, 0.1249315366, -0.0904335976, -0.0354759432, -0.033177115, -0.0167066548, -0.0250656344, 0.0166927576, -0.0010646177, -0.0128321592, 0.002452814, 0.0080254292, 0.0059734662, -0.0221370142, -0.0742858499, -0.0096246991, 0.0112740053, -0.0462047271, -0.0442497544, -0.0347576514, 0.0328775086, 0.0204893518, -0.0391676873, -0.022831602, 2.315228419e-34, 0.027842924, -0.0130964592, 0.0242769644, 0.0206008423, 0.0444448292, 0.0015288853, -0.0164325144, -0.0130908657, 0.0378464833, -0.1001094356, -0.011883527 ]
http://arxiv.org/abs/2310.18330v1
http://arxiv.org/pdf/2310.18330v1
Towards Detecting Contextual Real-Time Toxicity for In-Game Chat
2023-10-20T00:29:57
2023-10-20T00:29:57
Zachary Yang, Nicolas Grenan-Godbout, Reihaneh Rabbany
cs.CL
cs.CL, cs.AI, cs.LG
Real-time toxicity detection in online environments poses a significant challenge, due to the increasing prevalence of social media and gaming platforms. We introduce ToxBuster, a simple and scalable model that reliably detects toxic content in real-time for a line of chat by including chat history and metadata. ToxBuster consistently outperforms conventional toxicity models across popular multiplayer games, including Rainbow Six Siege, For Honor, and DOTA 2. We conduct an ablation study to assess the importance of each model component and explore ToxBuster's transferability across the datasets. Furthermore, we showcase ToxBuster's efficacy in post-game moderation, successfully flagging 82.1% of chat-reported players at a precision level of 90.0%. Additionally, we show how an additional 6% of unreported toxic players can be proactively moderated.
[ 0.0331288204, 0.0001755152, -0.0472609997, -0.018722795, -0.0151750222, 0.0140628926, 0.0237569362, 0.0455918722, 0.0349431857, -0.0344325788, 0.0036101178, -0.0042392849, -0.0179537199, 0.0797927156, 0.0069201286, -0.0033979209, -0.0145751564, 0.0106273163, 0.0260039046, 0.049671419, 0.0571153499, -0.0228987113, -0.0081815813, 0.0737736002, -0.0134511786, -0.0267427061, 0.0245584287, 0.0102449311, 0.0325317755, -0.0330841057, 0.0125866197, -0.0220248774, -0.0323442258, -0.0199228749, 0.0000018479, -0.0145813702, -0.021472251, -0.0229066331, 0.0177438557, -0.0274321679, 0.0528558381, -0.0009298613, -0.0025255296, 0.0617804006, -0.0154465726, 0.0275174361, 0.0665250421, -0.0059432196, 0.090444617, 0.0192439165, -0.0489084795, 0.0632953718, 0.0075996378, 0.0125825582, 0.0121749602, -0.0007503736, 0.0184654705, 0.0125336647, -0.0225602165, 0.0003116031, -0.0128896842, 0.0112911155, -0.0546460636, -0.0024315245, -0.0269501098, -0.0033486364, 0.0143906977, -0.0202007033, 0.0214146301, 0.0567815416, -0.0759715959, -0.0148512982, 0.0284991413, 0.0179495607, -0.0021562518, -0.0213119965, -0.0360629186, 0.0023683365, -0.0269877445, -0.012853574, -0.0294248424, 0.0376679488, 0.051013872, 0.0013838289, 0.0649209619, -0.0243702177, -0.0163689349, -0.0275372472, -0.0653294474, -0.0147513952, -0.0039151497, 0.0053001344, 0.02592903, -0.0064917719, -0.1068515107, 0.0053868056, -0.0424642898, -0.0299892426, 0.0116954492, -0.0714050829, 0.014470391, 0.0341940634, -0.0513485186, 0.0442916304, 0.0158382002, -0.0076355436, 0.0372983813, -0.0234289318, -0.0063270004, 0.001339566, 0.0074889585, 0.0125495652, -0.0107580069, -0.0111857392, 0.0511522703, 0.0124017559, -0.0538728647, 0.0333227441, -0.0495546274, 0.0193379559, 0.0196612366, -0.0068642995, 0.0029251692, 0.0830595642, 0.0207402091, -0.0224203225, -0.023212513, 0.0127440654, -0.0184970237, -0.0464238897, 0.0083717024, 0.0070568216, -0.0210739579, -0.0075377249, 0.0233456157, 0.0795675293, 0.0519380197, -0.0000527719, -0.0075676674, -0.0297323316, -0.0251176823, -0.0054723336, -0.042470254, -0.056114085, 0.0146813439, -0.0330899619, 0.0078808852, -0.0113196559, -0.005312792, 0.0074230474, -0.0144518735, 0.074419193, -0.0325848758, 0.0271953996, -0.0073042735, 0.0139227193, -0.0245065819, 0.0598097518, -0.0091077965, 0.0091043971, 0.0296046417, -0.0009560364, -0.0169126112, 0.0289710183, -0.0037382029, -0.0067435941, -0.0476742573, -0.04174513, -0.0431381874, -0.0199254137, -0.0331916474, 0.0307273082, -0.0296217483, -0.0319158211, 0.0922697783, 0.0075590527, -0.0435423292, -0.0075126905, 0.0490615442, 0.0089958832, -0.0576818064, -0.0528039783, -0.0343929604, 0.0125328787, 0.0142675852, -0.0419281945, -0.0040431707, 0.0574844219, -0.0168442894, -0.0560306162, -0.0019877409, -0.0105864229, 0.0441621989, -0.0054246155, 0.0193931218, 0.0021683499, -0.0298920516, 0.0361558609, 0.0570258908, 0.0042455946, -0.0211935062, -0.0451947302, 0.0684976876, 0.0849209428, 0.0381060019, -0.0243066791, -0.0449947454, -0.0663838834, 0.0215212405, -0.0114051104, -0.027971644, 0.0198603906, 0.0139831454, 0.0012926055, -0.0185378231, 0.0373043753, 0.0027638453, -0.0107818395, 0.0042068786, 0.0299725104, -0.0457670651, -0.0017368626, -0.0153323468, 0.016309591, 0.0323541351, -0.042322468, -0.0108287856, 0.0159155782, 0.039590057, -0.0118191028, 0.0238552354, -0.0401059315, 0.0353937149, 0.0132301087, -0.0228504073, 0.0093078054, 0.0229463652, 0.0425200649, 0.0734522939, -0.030845711, 0.020331597, 0.0572301, -0.0231270008, 0.0423361324, 0.0198523831, -0.0297060702, -0.0127935726, 0.0129787801, -0.0308560506, -0.0378891192, 0.0840255544, 0.014248142, 0.0101142135, -0.0135815302, -0.0376722515, -0.0227114782, -0.0698775277, -0.0262948275, 0.0090394709, 0.0052376785, -0.0158398747, -0.0633091629, 0.0020243393, 0.0236312784, 0.0289769322, -0.0223246962, 0.0170209128, -0.0455808379, -0.0005696244, -0.0337069668, -0.0163171366, 0.0303582363, 0.0408552103, -0.0081613502, 0.0170428883, -0.0253179744, -0.0253909994, 0.082239233, 0.0251759831, 0.0028376402, -0.0436834395, -0.0121941753, -0.0298767388, -0.0113935219, -0.0223003533, 0.0374940261, -0.0353522226, -0.0762561113, 0.0529434979, 0.0042845588, -0.0341715328, 0.0044877571, -0.0295287408, -0.0637889802, 0.0346096829, -0.0080519607, 0.0022239657, 0.0760085583, 0.0534217432, 0.0683554709, 0.065147467, -0.0038382022, -0.0031405226, 0.0058368687, -0.0146817304, -0.0437790677, -0.0223445036, -0.0407692939, 0.0319592804, 0.0521469042, 0.0153369196, -0.0078321518, -0.033721976, 0.0212812554, -0.0142757446, -0.000949475, -0.020292094, -0.081731312, 0.0051528248, -0.0568895936, -0.0027914469, -0.0579530299, 0.0161081143, 0.0078056501, 0.0322614349, 0.034295544, -0.0421089754, 0.0255669039, 0.0055558649, -0.0114148883, 0.0029230188, 0.0084505491, -0.0051303138, 0.0800625309, -0.0787863731, 0.1016764194, -0.0619185492, -0.0394958928, -0.0211404804, -0.0006737521, 0.0353510641, -0.021431582, -0.0168161318, -0.0367839858, -0.0244742725, -0.0385498703, -0.0016976419, 0.0022945711, -0.060086228, 0.0317537598, 0.0171242133, -0.0566765815, 0.0169298407, -0.049774576, 0.0120550413, -0.0448012501, 0.0499640815, -0.0573831461, 0.024312662, -0.0084045613, 0.0643609241, 0.1118187979, -0.0348959714, -0.0505126715, -0.0079501225, 0.0232757106, 0.0053901519, 0.0033145307, -0.0099583222, 0.0164340138, 0.0042072753, -0.0221934542, 0.0094682425, 0.0406994708, 0.0115339318, 0.0117757106, 0.0330333151, 0.0059668105, -0.0263888314, 0.0037884568, -0.0196516328, -0.0804182738, -0.011000352, 0.0086468104, 0.0450449139, -0.0820362717, -0.0866090208, 0.0261236858, -0.0438369997, 0.0086503588, 0.0087424899, -0.0565909706, -0.0265501235, -0.0197215099, 0.0142518701, -0.0594481044, 0.0656132028, -0.0599656031, 0.011188983, 0.0121274944, 0.0124809574, -0.0585070774, 0.0116814626, 0.0217518341, -0.0667405277, 0.0777142197, -0.0144126369, 0.0696775168, -0.0126293181, 0.0298560131, 0.0002255221, 0.0522833653, -0.0304790568, -0.0050010034, 0.0965095833, -0.0075954017, 0.000302219, -0.0430112518, 0.0147029664, -0.014191296, -0.0066840155, 0.0052417596, 0.0330145955, 0.0182075873, -0.0250307787, -0.0276012421, 0.0127370143, 0.0696936697, 0.0252157561, 0.0246379431, -0.0537440144, 0.0120735075, -0.0142055107, -0.0035011326, 0.0001855762, -0.0807262585, -0.0608554371, 0.0027326324, -0.0443050377, -0.0509168059, 0.022541659, -0.0503347442, 0.0340204239, -0.0144779934, 0.0097968355, -0.0445233211, 0.0197667107, 0.0274315439, 0.0211576112, 0.0245145485, 0.03278514, -0.0008576168, 0.0599648356, -0.0203637071, -0.019607719, -0.0093089025, 0.1000453681, -0.0300738197, -0.0110387215, 0.0600584932, 0.0805405378, 0.0131962653, -0.0213090926, -0.0222048648, 0.0203145258, 0.0246892311, 0.0212780889, -0.0262176432, -0.0375842564, 0.0482896678, 0.0154866148, 0.0440995656, 0.0033826455, -0.0440459289, 0.0640102699, 0.0463421941, -0.038451694, -0.0694526881, 0.0406848304, 0.0088070966, 0.0161967259, 0.0664326772, -0.0072582704, -0.0485783592, 0.0367712677, -0.0336101018, -0.0523543544, 0.0041834628, 0.0331910439, 0.0246845875, 0.0270980261, -0.024114944, -0.034451779, 0.0109735383, -0.0112579754, -0.0118724639, -0.0282279588, -0.0000310941, 0.0229323339, -0.0382290296, 0.0500270799, 0.0157453977, 0.036149893, 0.0404448658, 0.0191463474, 0.0171951856, -0.0050293496, -0.0491907224, 0.0026163326, -0.0062216558, 0.0319549516, 0.0160879213, -0.0018877143, 0.0115879038, 0.0114915594, 0.0164441131, 0.0036096207, 0.0305667855, 0.046308659, 0.0039068242, 0.0095302602, -0.002772653, 0.0208194833, -0.0382660143, -0.0341897346, -0.0670783669, 0.013396373, -0.0114616808, 0.0111440122, -0.0054592495, 0.0051876851, 0.00240545, 0.0047428217, -0.073879838, -0.0237923618, 0.0416433066, 0.0123112397, 0.0570851229, -0.0370828509, -0.0103666354, -0.0341129899, -0.0087959459, -0.0204836875, 0.0142028518, 0.0239075515, 0.0115471203, -0.0572874546, 0.0471126363, 0.0415884256, 0.0107131144, -0.0498550832, 0.0255985986, -0.0277884509, -0.0389111228, 0.0048324042, -5.806190511e-33, 0.0244004019, -0.0645439774, -0.0154687501, 0.0477422997, -0.0255159531, -0.0012158436, -0.0165265445, -0.0057855258, 0.0083312895, -0.0056173056, -0.0057772263, 0.0140951686, 0.0033471689, -0.0177278202, 0.0002717788, -0.0433457978, 0.0146144833, 0.0016414942, -0.0151106045, 0.0528886877, 0.0501597524, -0.0171147399, -0.0297660418, -0.0914455503, 0.0081290705, 0.0001275597, -0.0175742116, 0.0214205123, 0.0088726897, 0.0608358942, -0.0004053238, 0.0465443507, 0.0237052236, 0.0183549114, -0.0023393671, 0.0238863714, -0.057571426, -0.0186766647, -0.0099901976, -0.0367763713, 0.0001315221, -0.0125555238, 0.0491199046, 0.0411216505, 0.0259655099, -0.0871307924, 0.0506744646, 0.0023733175, 0.0190329142, -0.0676752403, -0.0175142847, -0.0064117643, -0.0850757137, -0.0093063731, 0.0089381151, 0.1141996086, 0.0219876394, 0.0141038811, -0.0696468949, 0.0201403238, -0.0631960258, -0.0408815853, -0.0144284545, 0.0341118202, 0.0316103883, 0.0202658102, -0.0137180015, 0.0866850168, -0.0401010141, 0.0091164969, 0.0350229554, 0.0272211023, 0.0339667909, 0.0375709236, 0.026944777, -0.0746840537, -0.0579508506, 0.0136116436, 0.0753816739, 0.0159864742, 0.0124312015, -0.0300296824, -0.0831901655, 0.0059073591, 0.0252292901, -0.0387469828, -0.0012925845, -0.0808132142, 0.0127658509, 0.0069214054, -0.0438872986, -0.0737874433, 0.0037059831, -0.0318650119, 0.0105207553, 0.0112610999, 0.0094152419, 0.0212636851, -0.0159004591, -0.0177795887, 0.017384138, 0.0274728183, 0.022732323, -0.0211075451, 0.0186406691, -0.0292148888, 0.0545789525, 0.0660944954, -0.0248313602, 0.0096506821, 0.0023551185, 0.0889375731, -0.0225144215, 0.0319090821, -0.023187397, 0.0085320575, 0.0109182457, -0.0363585688, 0.0303978845, -0.0016813318, 0.0062190783, -0.036660891, -0.05062804, -0.0056226458, -0.0300719105, -0.0253622513, -0.0386695713, 0.0268072225, 0.0352063105, -0.0613430291, -0.0218051672, -0.0882351622, 2.764e-7, -0.0116851488, 0.0428580754, -0.0002801086, 0.0016187789, -0.0152167045, 0.0295600165, 0.0418658555, 0.0453432351, 0.0385279134, -0.0447557382, 0.0352975614, 0.0261942204, 0.0254411325, 0.0513729528, -0.000942898, -0.0399431139, -0.0420181565, -0.0302218962, -0.0490471907, 0.0241050068, 0.0516139939, 0.0319111124, 0.0760717988, -0.0658525378, 0.0459071845, 0.0003525401, -0.0271607097, -0.072690472, -0.0136356419, -0.0057222941, 0.0728510469, -0.0120738512, -0.0201601032, -0.0030281227, -0.0234028008, -0.0159045979, -0.018011976, 0.0124564897, -0.0024725017, 0.023075074, -0.0195304826, -0.0479847975, 0.0454161316, -0.0320396423, 0.0694414824, 0.0128788585, -0.0154139977, -0.0645689219, -0.0119222328, -0.0618237853, 0.0191073213, -0.0203649458, -0.0322912373, -0.0119288685, 0.0147719122, 0.017774364, 0.0079408605, -0.0347456485, -0.0178534649, 0.0173318144, -0.0141464835, -0.0454283915, 0.048012156, -0.0085021341, 0.0171800051, 0.0313290916, 0.0375837646, 2.21679592e-34, -0.0109710079, 0.0002755084, 0.0162691195, -0.0788152367, 0.0290409196, 0.0153029598, 0.0169448294, -0.0239301696, 0.0546521582, -0.015450363, 0.0363159366 ]
http://arxiv.org/abs/2310.13196v1
http://arxiv.org/pdf/2310.13196v1
NameGuess: Column Name Expansion for Tabular Data
2023-10-19T23:11:37
2023-10-19T23:11:37
Jiani Zhang, Zhengyuan Shen, Balasubramaniam Srinivasan, Shen Wang, Huzefa Rangwala, George Karypis
cs.CL
cs.CL, cs.DB, cs.LG
Recent advances in large language models have revolutionized many sectors, including the database industry. One common challenge when dealing with large volumes of tabular data is the pervasive use of abbreviated column names, which can negatively impact performance on various data search, access, and understanding tasks. To address this issue, we introduce a new task, called NameGuess, to expand column names (used in database schema) as a natural language generation problem. We create a training dataset of 384K abbreviated-expanded column pairs using a new data fabrication method and a human-annotated evaluation benchmark that includes 9.2K examples from real-world tables. To tackle the complexities associated with polysemy and ambiguity in NameGuess, we enhance auto-regressive language models by conditioning on table content and column header names -- yielding a fine-tuned model (with 2.7B parameters) that matches human performance. Furthermore, we conduct a comprehensive analysis (on multiple LLMs) to validate the effectiveness of table content in NameGuess and identify promising future opportunities. Code has been made available at https://github.com/amazon-science/nameguess.
[ 0.0432338752, 0.0855462253, -0.0146656474, 0.0000928701, -0.006519373, 0.0248148255, 0.006918007, 0.0472456403, -0.0082769301, -0.0121377856, 0.0051315376, -0.0260366555, -0.0255894773, 0.0279334392, 0.0759344324, -0.0068173958, 0.0609961338, 0.0121381385, -0.0612464361, 0.0436122939, -0.0057875039, -0.009629352, 0.017648384, 0.0154391592, 0.0009322909, 0.0619649068, -0.0239611343, -0.0028878555, -0.0532799847, 0.0089092739, -0.01749596, 0.0855956003, -0.0012516857, 0.0226361528, 0.0000019465, -0.0343311839, -0.064176105, -0.0036676044, -0.0159530789, -0.0163557958, 0.0646919534, -0.0598198473, 0.0320406966, -0.007114667, -0.034343224, -0.0422862954, 0.0203014165, 0.010561497, 0.0350829065, 0.0488038659, 0.0012022902, -0.0319074988, -0.0265756734, -0.0004327983, 0.0728593543, -0.0267535076, -0.0221268646, -0.0171729866, 0.0111904731, -0.0076382514, 0.020419972, 0.0273603313, -0.0079593742, -0.0047882646, 0.0250972956, 0.0276838522, -0.0376061127, 0.0088061392, 0.0083436519, 0.0837317556, 0.0083815968, -0.0155339148, 0.0279459432, -0.0019731212, 0.0090459352, -0.0221145749, -0.0280615762, -0.0138479136, 0.002559565, -0.0325606838, 0.0185914468, -0.0042411746, 0.0207750034, -0.0003524611, -0.0293390919, 0.0159267802, 0.0046959291, -0.0324759036, 0.0113703217, -0.0447976515, 0.0189276487, -0.0120561365, 0.0247610565, 0.0288333651, -0.0673665628, 0.0348268151, -0.0288018677, -0.0372766107, 0.0203509983, -0.0518321507, 0.0459971912, 0.0588743724, 0.0342441611, -0.0077913082, -0.050148312, 0.0373908989, 0.0112171704, -0.0078778025, -0.018313162, -0.028606087, -0.0575004742, -0.0043048738, -0.0563860126, 0.0115402639, -0.0801301897, -0.0099756522, -0.0405185856, -0.0199614801, 0.0108961118, 0.0163669791, 0.0541876666, 0.0449192338, -0.0327797905, -0.0127616534, -0.0445200987, -0.0187252965, -0.0332109705, -0.0136355618, 0.0174083579, -0.0767181739, -0.0208200235, -0.0036809491, 0.006801757, -0.0105156992, 0.0328892656, 0.0870416313, -0.0085850311, -0.0192238111, -0.0496076643, -0.0766750202, -0.015024079, -0.0213677734, -0.0117020272, -0.0430744365, 0.065819256, 0.0025484744, -0.0145908678, -0.071198076, -0.0003556585, 0.0378934331, -0.017758755, 0.0778467953, -0.0830824077, 0.0245771911, -0.0071173091, -0.0235435944, 0.0307006966, 0.0457682051, 0.0401273295, 0.0124961631, -0.0025370747, -0.014743791, 0.0298386831, 0.0316013061, 0.0399331972, -0.0069612958, -0.0178698096, 0.0253327955, -0.0189375896, 0.0766709968, -0.0020689806, 0.0347449332, 0.0074058208, 0.0115456134, 0.0204426739, 0.0191192627, 0.0275984295, 0.0638632551, 0.0731918141, 0.0207919329, -0.0028770319, -0.041978579, 0.0203258619, -0.0132939685, -0.0059421952, 0.0309821423, 0.0330809504, 0.007684689, -0.0139470194, -0.062230885, 0.0210507102, -0.0217604097, 0.0106227454, -0.0167254116, 0.0065221246, 0.056204237, -0.0529356375, 0.0248878617, 0.0111627514, -0.0875298753, 0.0006099645, -0.0154836606, 0.021765383, 0.101165168, 0.0485464558, -0.0390312113, -0.0323054008, 0.0020871283, 0.0242462866, 0.0174256098, 0.0154905627, -0.0308884587, 0.0196543224, -0.0345379412, 0.0043423311, 0.0804913864, 0.0231662076, -0.0035296571, 0.0163444374, -0.0140111074, 0.0523110554, -0.048342865, -0.0723581463, 0.0331484191, -0.0404049754, -0.0226534363, 0.027220495, -0.0134570412, -0.0251130201, 0.0524124429, -0.001192801, 0.0315082707, 0.0485418923, -0.0092175463, 0.0035691075, -0.0004346276, 0.0129998866, 0.0247049797, -0.004243487, 0.0242909808, -0.0353325531, -0.0634168237, -0.0200946089, -0.0289923083, 0.0005167462, -0.0185463354, -0.0355330221, -0.0163950063, 0.0391042493, 0.0268500447, 0.0111738369, -0.0430202708, 0.0562706627, -0.0283047259, 0.0718771815, 0.0380113944, -0.0761638582, 0.0210079737, -0.0418372639, 0.0380767882, -0.0042842962, -0.0153612318, 0.0103841927, 0.0042888308, 0.0119971065, -0.0686088577, -0.0000550732, -0.0590411201, 0.0456149653, -0.0017552065, 0.0337116234, 0.0001809522, 0.0211615264, -0.0371387489, -0.0231880415, -0.0416795909, -0.0259217713, 0.0354866348, -0.0247893985, 0.0582099669, -0.0094435047, -0.0320080966, -0.0342439823, -0.0237804446, -0.0475327447, 0.0237166714, -0.0043755979, -0.0259938929, -0.0015761759, -0.0066268635, 0.010381422, -0.0104352515, 0.0052696373, 0.0065298523, -0.0249621868, -0.0151588079, 0.0303357616, 0.004757761, 0.0039633852, 0.0092617385, -0.003989703, -0.0362018123, -0.0186661314, 0.0010317401, -0.0226620696, 0.0239802692, -0.0009560519, -0.0813652501, 0.058968354, 0.0323609821, -0.0230138768, -0.0032886199, -0.0551208928, 0.0055462425, 0.0213268418, -0.0248476602, -0.0092347162, 0.0511834398, 0.0126378387, 0.0370539501, -0.0154746817, -0.0078975363, 0.0394307449, -0.0452814512, 0.0127541078, -0.0241978429, 0.0054189037, -0.0299766157, 0.0710240304, 0.0075136358, -0.0097197788, 0.0022336321, -0.0503339581, -0.0241892915, 0.0113009308, 0.0091358181, -0.0465998016, 0.091172643, -0.060107749, 0.0100579932, 0.0063824919, 0.00458539, -0.0150555121, -0.0355866998, -0.0193731189, 0.0039761821, 0.070666261, -0.011779923, -0.028673593, 0.0003581378, 0.005720506, 0.0256517641, 0.0121518523, -0.0180046447, -0.0371387824, 0.0184847936, 0.0238875821, 0.0508055538, -0.0341917686, -0.0260608885, 0.0060816356, 0.0036105644, -0.0344262533, -0.0106015606, 0.0026686559, 0.0344595648, -0.0081410408, -0.0397977531, -0.0198505484, 0.0569896102, -0.0269291699, -0.0470473617, -0.0145524591, 0.0932261571, 0.0291031338, 0.0231619067, -0.0111758085, 0.0280401483, 0.0579182245, 0.0434527174, 0.0411021709, -0.1179972738, -0.0291640889, 0.0047901031, 0.0110189095, 0.0040154238, -0.0764077902, -0.0259391665, -0.1305280179, 0.0150272083, -0.0291433353, -0.050599169, -0.0379976705, -0.0204910226, -0.0466686897, -0.0330760255, 0.0286376588, 0.0580705963, -0.0361262523, 0.0407717451, 0.0393603072, -0.0449722409, -0.0750317723, -0.0494472459, -0.0917636752, 0.0718594864, 0.0410135984, 0.0237649828, 0.0068771173, -0.017646065, -0.0318868496, 0.0387377478, 0.01427738, -0.0312103517, 0.07845027, 0.0088283829, -0.0036841177, -0.0293927621, -0.0185664333, -0.0445144512, 0.021269897, 0.0259197559, 0.0268296059, -0.0185565259, 0.0224399362, 0.0169552322, -0.0057001868, 0.0092583513, 0.0512895584, 0.0374820195, 0.0178667847, -0.0456753299, 0.0070591816, -0.0412995704, -0.0584249273, -0.0269008093, 0.0217368752, -0.0607728027, -0.0217562206, -0.0433014221, -0.0436118655, 0.0710408986, 0.0536454581, 0.0168570615, 0.067940414, -0.0440294184, -0.001342766, -0.0769756138, -0.0159384422, -0.0155994855, -0.005409216, -0.025300825, -0.0496384799, 0.013777934, -0.0026933576, -0.0097134467, 0.0701323524, -0.048241362, -0.0356422551, -0.0241610333, 0.0202534329, 0.0279040877, 0.0100790272, 0.0259470567, -0.0458895341, -0.0490915924, 0.06524802, -0.0515117571, -0.0602996573, -0.0066501433, -0.0312269479, 0.0071377764, 0.0412041806, 0.0213875882, -0.0249729678, -0.0397838987, 0.0457955413, -0.0036641464, 0.0432671867, 0.071717687, 0.0243453179, -0.0131419031, -0.0159273464, -0.0435699522, -0.0298373662, 0.0239296854, -0.0678125769, -0.0539632812, -0.0083440756, 0.0260565132, 0.0036820008, 0.0102893328, -0.0082166167, 0.0301726256, -0.0171570331, 0.0264340527, -0.0382632427, -0.01707769, -0.0070206183, 0.0069024619, 0.0329641588, -0.0378076956, 0.0111783696, 0.0078903316, 0.0298994798, 0.0329416022, -0.0087659452, -0.013518041, 0.028426202, -0.0072035375, -0.0384133458, 0.0302661564, 0.0072364337, -0.0238654781, -0.0313621126, 0.035113167, -0.0033624349, -0.006685101, 0.022985002, -0.0107906042, -0.0193725508, 0.0152078578, 0.0464380682, 0.0106001003, -0.0048495573, 0.0088480432, -0.001090723, -0.0464925393, -0.056715332, 0.0946449637, 0.0589468107, 0.0023428719, -0.0186035875, -0.0350248031, -0.0524940789, 0.009365214, 0.0091837384, -0.0051921578, -0.0343908072, 0.0048307092, -0.0487511232, -0.0462816954, 0.0308365673, 0.0397792459, -0.0071171084, 0.0115163149, 0.0498367399, 0.0506970473, 0.0455502868, -0.002950588, -0.0287153963, 0.001106937, -0.0307969227, -0.083733052, -0.0265857577, -6.031808285e-33, -0.0640275851, -0.0256561581, 0.0450704545, -0.0164078567, -0.0136453286, -0.0189320054, -0.0521059968, 0.0459752791, 0.0403759405, -0.0083004292, -0.0414600447, 0.0270688068, 0.0368517749, 0.004122172, 0.0378238894, -0.0740688518, 0.0090750111, 0.0036832262, 0.0021963131, 0.0023338869, -0.007310987, 0.072815381, 0.0366385989, -0.044061102, 0.0427752361, 0.0080663646, -0.0022420993, -0.0126486253, 0.0420453325, 0.0371606313, -0.023267068, 0.0206648298, 0.0386782289, -0.0340954512, -0.0426129252, -0.0183313098, -0.1130153686, -0.016218219, 0.0061370153, 0.0157038309, -0.0284505561, -0.0165061634, 0.0688618422, -0.0179222319, -0.0575433224, 0.0509833395, 0.0232466906, -0.0497701392, -0.0247719605, -0.0269368738, -0.0402750224, 0.022882821, 0.0254089627, 0.0115292035, 0.0561806373, 0.0207613651, -0.0037600975, 0.002444518, -0.0200720895, 0.0336573049, 0.059146516, 0.0610268041, 0.0578072108, 0.0032704431, 0.014423823, -0.007849833, 0.065965496, 0.018262025, -0.0443647951, 0.0219169725, -0.0094773546, 0.0613523908, 0.0398787931, 0.0544111915, 0.0408257768, -0.0479152948, -0.0336842425, 0.0586421303, 0.0111489976, -0.0382462963, -0.0210721716, -0.034570571, -0.03684007, -0.0115238726, -0.045453947, 0.0328937657, -0.0305293445, -0.0116869872, 0.0348712802, 0.0123921409, 0.0156421177, -0.0114261415, -0.0126667786, -0.0024556671, -0.0526021235, 0.0052133724, -0.0283423625, -0.0281939209, 0.0055621262, -0.0152243311, -0.0118403779, -0.0671979934, 0.0187714864, -0.0155571848, 0.0259362385, 0.0045799557, 0.0217371564, 0.0121474508, -0.0723672658, 0.0000452804, -0.0190073177, 0.0663708076, 0.0068781041, 0.0078928694, -0.0029230441, 0.0093589211, -0.0038601756, 0.042756021, 0.0424662977, -0.0026384217, -0.0053794486, 0.0016345317, 0.0200810917, 0.0268763192, 0.0142491339, 0.0208195224, -0.0324982926, -0.0439671278, 0.02904086, -0.0214279704, 0.0029385514, 0.0213465784, 2.553e-7, 0.0495982692, 0.046759069, 0.0481992327, 0.0138493208, -0.0360879749, -0.0283621121, 0.0059519554, 0.0207788162, -0.0377945118, -0.0441103987, 0.0537440665, -0.0431602336, 0.070770815, -0.0135171814, -0.0445971489, -0.0286450014, -0.0240542199, -0.0013103104, -0.0868797153, -0.0065083448, 0.0377729274, 0.0900191441, -0.0467732251, 0.0034257642, 0.0092439363, 0.0049874401, 0.0172239281, -0.0493329801, 0.0271663684, 0.0413355902, 0.0834320113, 0.0011020764, -0.0250761788, 0.0409710035, -0.0210479517, 0.0068264171, -0.0172995571, 0.0314472578, 0.0180579629, 0.0323483124, 0.0056905602, -0.1176484674, 0.0130081065, -0.022977775, 0.0592304766, -0.03004089, -0.0039883615, 0.0679360703, -0.0066683432, 0.0300847013, 0.0158409718, -0.0064414688, -0.0247610975, -0.0024093618, 0.0537177883, 0.0201269425, 0.0051344428, -0.0461395308, 0.0026183811, 0.0421574563, -0.0335621461, 0.026982747, -0.014150966, -0.0190733708, -0.0267198924, -0.0256527439, -0.0014817582, 2.49073799e-34, 0.0266316719, 0.0339584611, 0.0320939161, 0.0138472775, 0.0901759639, -0.035951376, -0.0009195574, 0.0252117794, -0.0020353538, -0.0435976423, -0.0249342993 ]
http://arxiv.org/abs/2310.13191v3
http://arxiv.org/pdf/2310.13191v3
Towards Robust Pruning: An Adaptive Knowledge-Retention Pruning Strategy for Language Models
2023-10-19T23:02:29
2024-01-11T04:07:39
Jianwei Li, Qi Lei, Wei Cheng, Dongkuan Xu
cs.CL
cs.CL, cs.AI
The pruning objective has recently extended beyond accuracy and sparsity to robustness in language models. Despite this, existing methods struggle to enhance robustness against adversarial attacks when continually increasing model sparsity and require a retraining process. As humans step into the era of large language models, these issues become increasingly prominent. This paper proposes that the robustness of language models is proportional to the extent of pre-trained knowledge they encompass. Accordingly, we introduce a post-training pruning strategy designed to faithfully replicate the embedding space and feature space of dense language models, aiming to conserve more pre-trained knowledge during the pruning process. In this setup, each layer's reconstruction error not only originates from itself but also includes cumulative error from preceding layers, followed by an adaptive rectification. Compared to other state-of-art baselines, our approach demonstrates a superior balance between accuracy, sparsity, robustness, and pruning cost with BERT on datasets SST2, IMDB, and AGNews, marking a significant stride towards robust pruning in language models.
[ 0.0050166799, 0.0905804485, -0.0087557668, 0.0473008677, -0.0025562271, -0.0021365567, -0.0072293663, 0.0387183763, -0.0221284274, -0.0145997154, -0.0243180245, -0.0310402177, -0.0037913304, -0.0041500349, 0.0176209956, -0.0400237814, 0.0179481432, 0.0059004873, 0.0271205157, -0.0295701008, 0.0245316774, 0.0018703255, 0.0210123584, 0.0301425587, -0.0074029532, -0.0117540071, 0.0049600154, 0.0100818276, 0.0003513484, 0.0071706185, 0.0567831062, 0.0710677877, 0.0296169724, 0.0772575811, 0.000001991, -0.00358615, -0.0049539814, 0.0056803902, -0.0493846983, 0.0720307976, 0.0170882847, -0.0238368791, -0.0109949475, -0.0064370134, -0.0236374624, -0.0404894873, 0.0187806431, 0.0441794246, 0.067867212, 0.0701239035, 0.0021749223, -0.0159824174, 0.0086161997, -0.0584136546, -0.063905485, -0.0417819172, 0.0327423438, -0.0648850575, -0.0456455275, -0.0147492699, -0.0029351495, 0.0336873382, 0.0255651306, 0.0101006515, -0.0313051306, 0.0455615446, -0.0428440347, -0.0064151809, 0.0123385144, 0.0547455698, -0.052632343, -0.0239744503, -0.0113075078, -0.0051425318, 0.007515884, -0.0037577949, -0.0440998562, -0.0210286267, 0.0278583989, 0.0132855643, -0.0717790574, -0.0615901388, 0.0584779307, 0.0137611153, -0.0039682016, -0.0034767508, 0.0423513316, -0.0405349545, -0.001600173, 0.0004872901, -0.044129122, -0.0228576884, 0.0015433787, 0.0221168231, 0.0264101364, 0.0174896121, -0.0673797876, -0.013786952, 0.0114470776, -0.0309159346, 0.0391448215, 0.0009985323, -0.02896435, 0.0291061066, -0.036029432, 0.0441728197, 0.0272545721, 0.0356000736, 0.001391576, 0.0023728495, -0.0344326124, -0.0268989336, -0.0385706462, 0.0355670713, -0.0000070529, 0.0183945019, -0.0309024379, -0.0141295483, -0.0384913199, 0.021645939, -0.0107474877, 0.0274236761, -0.0295722205, -0.0224729236, 0.0245954059, 0.0271285195, -0.0073746527, 0.0237637125, -0.0239537247, -0.0654633716, -0.0488650538, 0.024168985, -0.0122347409, -0.0367101356, 0.0051620463, 0.0352950878, 0.015869515, -0.0613047481, -0.0503903851, 0.0041440143, -0.0378236957, -0.049079638, 0.0169001948, -0.0430722497, 0.0277217366, -0.0634110197, -0.0190491043, -0.1104608476, -0.0174847301, 0.0006479206, -0.0615115315, 0.0623050258, -0.0155078815, -0.0041579567, 0.0298264697, 0.029796144, 0.0286081601, 0.0481312759, 0.0261212476, 0.0126327034, 0.0332152545, -0.0164469779, -0.0140163908, 0.0493044667, 0.0731454417, 0.0311731286, -0.0643291697, -0.0193928275, -0.0401608646, -0.0052486728, 0.0274397116, 0.0471776277, -0.0449503586, -0.0604162067, 0.0740284026, 0.0238875765, -0.0013362683, 0.0617779754, 0.0352840237, -0.0103023676, 0.0169670004, 0.0184278209, -0.0712473094, 0.0022227496, -0.0363209173, -0.0176360365, -0.0304833408, 0.0205027014, -0.0433494076, -0.000368063, -0.0209828988, -0.0202593412, 0.0167739578, 0.0008705751, 0.0426121689, 0.0274624657, -0.0131388279, 0.076258488, 0.0319174416, -0.0434368849, 0.0240707621, -0.0495756641, -0.0051076785, 0.0233147368, 0.0367610641, -0.0291560739, -0.0196125135, 0.0122556221, 0.0296653137, -0.0061737048, 0.0473647229, -0.0213669594, 0.0621651299, -0.0369019769, -0.0263402909, -0.01340215, 0.042793218, 0.014780703, 0.0508774519, 0.0178741906, 0.0159653835, -0.049070321, -0.0187252834, 0.0411023386, -0.0399266146, -0.033299055, -0.0147568323, 0.0095329145, 0.0055828393, 0.0127485776, -0.0396754034, 0.0034053007, 0.0631886423, -0.0118577937, -0.0110032167, -0.0021583908, -0.0285147522, -0.0412250422, 0.0566593036, 0.0194110628, -0.0103433039, 0.0624971651, -0.049057927, -0.0088027399, 0.0418341458, -0.0248336922, 0.0513423346, -0.0590086393, 0.0038760614, -0.0363275819, 0.0343691446, -0.0116983252, 0.0476702116, -0.0399848856, 0.0005387488, 0.0061202687, -0.0486278683, 0.0172089674, -0.0450223312, -0.0569169261, 0.0226559509, -0.0232895799, 0.0352394767, 0.0232789032, 0.0030855245, -0.0112163695, -0.0088208821, -0.0700844154, -0.0118993353, -0.0432176776, 0.0142577644, 0.0151658934, 0.0085794749, -0.0226934161, -0.0407149829, 0.0305788256, 0.00038837, -0.0132295191, 0.02493852, 0.0089231776, -0.01877575, 0.0006228759, -0.0126916859, -0.0260480605, 0.0245830435, 0.0615822859, -0.0497068465, 0.0005833254, -0.02276849, 0.0115637416, -0.0376698524, 0.0595066994, -0.0043350114, -0.0597525835, -0.007087701, 0.0004456064, -0.0216576904, 0.0649321899, 0.0010268993, 0.0934100673, 0.0633134618, 0.025818415, -0.0294217151, 0.0196044352, -0.0286352411, -0.0179521553, -0.0291946884, -0.0218392722, -0.0142351743, 0.0658149868, 0.0039172885, -0.0071288995, -0.058218766, -0.0083301207, 0.003116162, -0.0302159935, -0.0252525918, -0.0166520216, -0.0407425202, -0.0109246206, -0.038037084, -0.0518667214, 0.0693534613, -0.0307339132, 0.013531859, 0.0118618086, -0.0225520581, 0.0343176275, 0.0442897491, 0.0218837541, 0.0063599837, -0.0052257432, 0.0025294391, -0.0907999203, -0.0440585576, 0.0259986203, -0.01467002, 0.0137158604, -0.0507214852, -0.0008661484, 0.0049847048, -0.042842824, -0.0507551134, -0.031596344, -0.0243709534, 0.034643244, -0.0296101049, -0.0346546322, -0.0322439149, -0.034128461, 0.0287152175, 0.0636568144, 0.0188696776, 0.0277448148, 0.0227395799, 0.0623750351, 0.0518393144, 0.0108156539, 0.0056302403, -0.0435058102, 0.0370675661, 0.073770605, 0.0225716699, 0.0314708725, -0.0566965677, 0.002625542, 0.0114464927, -0.0016888394, -0.0171639454, 0.0068877712, 0.0458583981, -0.04689328, -0.0075391708, 0.0849076807, -0.0088700317, -0.0107584689, 0.0107783386, 0.0261154491, 0.0790859982, 0.0095850658, 0.0133688003, -0.0409142822, -0.0168675892, 0.0116652148, 0.0240541045, 0.0605664887, -0.04067434, -0.0131616583, -0.1071624681, 0.0180924553, -0.0028031203, -0.027242193, -0.0184844546, -0.0275308136, 0.0156560428, -0.0151887322, 0.0341370739, -0.0006866829, 0.0097279828, 0.0012526402, 0.0278522354, -0.0203987751, -0.0697684959, 0.0165482424, -0.0377857201, 0.0427476168, 0.0593925305, 0.0414775461, -0.014738664, -0.012049742, 0.0442488939, -0.0172033887, -0.0293338262, 0.0244483817, 0.0692850351, 0.004033681, 0.0051912442, 0.0406061187, 0.0283604749, -0.0048434697, -0.0234610196, 0.0073405872, 0.0563733876, 0.0022492949, -0.0518932939, -0.0163473841, -0.0225305967, -0.0217403751, 0.0782648697, 0.0519323274, -0.014599815, -0.0290719233, -0.0152676962, 0.0147423716, -0.0601363517, -0.0151859019, 0.0673565939, -0.0165879913, -0.0311624203, -0.0472305082, -0.0358783416, 0.0238809288, 0.0200628731, -0.0087558255, -0.0204365719, -0.0200404637, 0.0087086242, -0.0626565665, 0.0216663424, -0.0223040543, 0.0044476506, -0.0225375481, 0.0091785863, -0.0048481449, -0.0024861221, -0.022842152, -0.0263983533, -0.0995235369, -0.0697494671, 0.0253255479, 0.0582544506, 0.0247987136, 0.0792144835, -0.0241386294, -0.0647105873, 0.0974851176, 0.0370264649, -0.0132874781, 0.0224362444, 0.056831181, -0.0642040446, -0.0016314111, 0.0874620453, -0.0466861241, 0.0082395393, 0.0687555298, 0.023631027, 0.0090293568, -0.0191952158, -0.0079538506, 0.0164810643, 0.0317038409, -0.0371220671, -0.0109312152, -0.0199016742, 0.012734862, 0.0077034673, 0.0055176616, -0.0345970541, 0.0251501277, 0.0137075251, 0.0298613962, -0.0138246696, 0.0259946249, 0.0201149452, 0.0528564788, -0.0519561991, -0.0002737641, 0.0179674067, 0.0103152152, 0.0555870235, 0.0375604145, -0.0080034472, 0.0427502766, -0.0298568588, 0.0096947253, -0.0362753384, -0.0117907887, 0.0319430009, 0.0127001256, -0.0342092961, 0.0247107632, -0.0537569411, -0.0660236552, -0.044719208, 0.0371248275, 0.0318757966, -0.0278136171, 0.0208008904, -0.0235200729, -0.0281597041, -0.0342899263, -0.0042514326, 0.0113978395, -0.0205336381, 0.038083028, 0.0148986783, -0.0132300034, 0.0259907115, 0.091846399, 0.0395800769, 0.0804441199, -0.0098511521, -0.0158665422, -0.0507099889, -0.0520602837, 0.0284307543, 0.0002229076, -0.0319568887, 0.0214094482, -0.029658448, -0.1055165157, 0.0154081229, -0.0165600665, 0.0058238539, 0.0243829116, 0.0316103622, 0.0514703616, -0.0034247651, 0.0481723025, 0.01371546, 0.006840155, 0.0016486405, -0.0625955388, 0.0080674952, -6.362540967e-33, 0.0118203685, 0.0189105347, -0.006728217, -0.0654490143, -0.0248925369, 0.0163004957, -0.0473573655, -0.0204173215, -0.0368037224, 0.0502160452, -0.0160597619, 0.0187582951, -0.0136461593, 0.0387526564, -0.0398532115, -0.0314860828, 0.0647454709, -0.0242139921, -0.0336358286, 0.0262593906, 0.0212985855, 0.0524999052, 0.0954339951, -0.011795342, -0.0045965691, 0.0290890262, -0.021700399, 0.0292400178, -0.0004707335, 0.0424098745, -0.0251065698, 0.0266039204, 0.001061935, 0.0107164122, -0.013000126, -0.0064734383, -0.0832576081, -0.030148901, -0.0137649504, 0.0045045628, -0.0215124376, 0.0100036813, 0.0479502976, -0.0217101984, -0.001627458, -0.0130128274, 0.0217298754, -0.0237689149, -0.0562174469, -0.0050959745, -0.0235680658, 0.0151896309, -0.021335341, -0.0402004868, 0.0164755639, -0.0049288282, 0.016991226, 0.0347385816, -0.0699642971, -0.0184776895, -0.0032507875, 0.0425535403, 0.0324029736, -0.0101369191, -0.0053659296, 0.0837344229, -0.0017515747, 0.0084965909, -0.0203176979, -0.0052045039, 0.0770033374, 0.0266375095, 0.0557040125, 0.0541699156, 0.0395750143, -0.0544044822, -0.075509809, -0.000102393, 0.0082255611, 0.0580074862, 0.0090909582, 0.0296582766, 0.0159849133, -0.0194415804, -0.0250166971, -0.0619302318, -0.0254986268, -0.0228715986, 0.0033906512, 0.0203092787, -0.0382593907, -0.0033444683, -0.0063537396, -0.0407281965, -0.0052429624, 0.0475424491, -0.0289165713, -0.0235589575, 0.0259183701, 0.0635702312, -0.0205717422, 0.0146880634, 0.0036152736, 0.0008793441, 0.0086438386, -0.0007327811, 0.0795423463, 0.0523307398, -0.03411486, 0.0055583492, -0.0464549102, 0.0199139826, 0.0390849821, 0.0676648319, 0.0216116235, 0.0259790402, 0.0160187576, -0.0039376616, 0.0509685464, -0.0135296099, -0.0276336875, 0.0368715301, 0.0311004408, 0.0175827146, -0.005771698, -0.0433869772, 0.0011088402, -0.0000367266, 0.0218848214, -0.0837498158, 0.0077144853, -0.0287215877, 2.636e-7, 0.0163713228, 0.0037761789, 0.0161314346, -0.0427948572, 0.0200484619, 0.0225961376, -0.0387787856, 0.0354387015, -0.0422614217, -0.0116823213, -0.0008802866, 0.0200692229, 0.0841895714, 0.0216894355, -0.0890153274, -0.0116798757, -0.1194587126, -0.0230137035, -0.017437093, -0.0309101474, -0.0056111119, 0.1111163497, 0.0575154461, -0.037102174, -0.0117481621, -0.059332516, 0.040349599, -0.0199901219, 0.0386820957, -0.0095008649, 0.047386039, 0.032739751, 0.0043198969, -0.0070120147, -0.0626567528, 0.0087355403, 0.014007641, 0.0700434893, -0.0153805949, -0.0025187582, -0.0183665343, -0.0062158275, -0.0081484886, -0.04944098, 0.0392335951, -0.0289596505, 0.0030448507, -0.004495515, -0.0331044383, -0.023284886, 0.0160131976, -0.0370763727, -0.0082193287, 0.0319952369, 0.0084713548, 0.0093679456, -0.0083015496, -0.1022933051, -0.0196016468, 0.005178507, -0.0548809357, -0.0219738316, -0.0218904018, -0.0364979431, 0.0404311083, -0.0616226383, 0.0350480005, 2.184248731e-34, 0.0237486698, -0.0045296126, -0.0177720208, 0.0233940501, 0.0315915979, -0.0233407412, 0.0576170422, -0.0135520548, -0.0020061848, -0.0346574672, -0.0173810273 ]
http://arxiv.org/abs/2310.13189v2
http://arxiv.org/pdf/2310.13189v2
Fast and Accurate Factual Inconsistency Detection Over Long Documents
2023-10-19T22:55:39
2023-10-23T03:51:33
Barrett Martin Lattimer, Patrick Chen, Xinyuan Zhang, Yi Yang
cs.CL
cs.CL, cs.AI
Generative AI models exhibit remarkable potential; however, hallucinations across various tasks present a significant challenge, particularly for longer inputs that current approaches struggle to address effectively. We introduce SCALE (Source Chunking Approach for Large-scale inconsistency Evaluation), a task-agnostic model for detecting factual inconsistencies using a novel chunking strategy. Specifically, SCALE is a Natural Language Inference (NLI) based model that uses large text chunks to condition over long texts. This approach achieves state-of-the-art performance in factual inconsistency detection for diverse tasks and long inputs. Additionally, we leverage the chunking mechanism and employ a novel algorithm to explain SCALE's decisions through relevant source sentence retrieval. Our evaluations reveal that SCALE outperforms existing methods on both standard benchmarks and a new long-form dialogue dataset ScreenEval we constructed. Moreover, SCALE surpasses competitive systems in efficiency and model explanation evaluations. We have released our code and data publicly to GitHub.
[ 0.0239173602, 0.058621686, 0.0022529962, 0.0409851409, -0.0534913428, 0.0210578367, 0.0108412327, -0.006002753, 0.0085617481, -0.0217688903, 0.0222162586, -0.0505607463, 0.0398741215, 0.0432036333, 0.0140945883, -0.0477657355, 0.0815826431, -0.0048740082, 0.0147526078, 0.0143199973, 0.0114559447, 0.0105149839, -0.0256165285, 0.0033385823, -0.0392777324, -0.0436287113, -0.0392999835, 0.0077889101, 0.0269891974, -0.0071296887, -0.0164905358, 0.03736981, -0.0019916687, 0.097740747, 0.0000019726, -0.0357122011, -0.0214921851, 0.0091189258, -0.0605118312, 0.0248022471, 0.0095832236, 0.0128982784, -0.0232658628, 0.0103879068, 0.0084381253, 0.0053777476, 0.0219328236, 0.0961092338, 0.0647401884, 0.1030952036, -0.0033596982, -0.0118518556, -0.0006838, -0.0066911303, 0.0146042733, -0.0142625049, 0.0359542556, 0.0343068205, -0.0083542475, 0.0062788809, -0.0021102116, -0.0139362281, 0.038756229, -0.0287150089, -0.010093946, 0.012056876, -0.0507958643, -0.0126840435, 0.0183399916, 0.0665725246, 0.0019277254, -0.0295572951, 0.0147607019, -0.0114172036, 0.007925489, 0.0002149274, 0.0065043112, 0.028505845, -0.0565546788, 0.0185996667, 0.0277062971, -0.0211737249, 0.0262279976, 0.009038086, -0.027756609, 0.0262464378, -0.004656482, -0.0654210076, -0.0284602977, 0.0073564649, -0.0168630201, -0.0713830143, 0.0025597734, -0.0033228968, -0.0755794719, -0.0080548087, -0.0632538348, -0.0166917928, 0.0353061743, -0.0574839413, -0.0162689723, -0.0201989282, -0.0792358667, 0.0785354525, 0.009088425, 0.0777213126, 0.0022459095, -0.004205131, -0.0041003479, -0.0254946072, -0.0450821333, 0.0121128829, -0.0368431993, -0.0115831057, -0.0498828664, -0.0202197228, -0.0113021377, -0.0175720286, -0.0450912081, 0.0523115098, 0.0216346867, -0.0056427578, -0.0091789598, -0.028848609, -0.0561083481, 0.0310493261, -0.0438318588, -0.0042677596, 0.0398185961, -0.0860524401, -0.0514657125, 0.0198070444, -0.0236135032, 0.0170972776, -0.0138906585, -0.0104914447, 0.0011631391, 0.0117243603, -0.0523719713, -0.0226786267, -0.056122303, -0.0958349854, -0.0359887704, -0.0630787537, 0.0243546925, -0.055546049, -0.0240826495, -0.0239274614, -0.0020868974, 0.0347815603, -0.0379388034, 0.0685075, -0.038835153, -0.0123035321, 0.0381719582, -0.0013082783, -0.0027143606, 0.0427198522, 0.0060775825, -0.0106354356, 0.069443047, 0.0453142747, 0.0400127284, -0.0373741537, 0.0068373918, -0.0140141863, 0.0277300682, 0.0119265672, -0.0035301165, 0.0406555496, 0.0120216245, 0.0572417863, -0.0164576098, -0.0564324372, 0.0439180136, -0.0092721088, 0.0032945594, -0.0063977567, 0.0403282456, 0.0392594971, 0.0047091083, 0.0410061963, -0.0454999954, -0.0053229318, 0.0286534373, 0.0127153564, 0.0706063062, 0.0384676754, -0.0123157045, -0.0601296537, -0.0365230665, 0.0178174656, -0.0351034291, -0.0046093455, 0.0100761009, 0.0211778507, -0.0480928533, 0.0220036283, 0.032614015, -0.0351362526, -0.0207343809, -0.0227556173, 0.0197425038, 0.0945527479, 0.0700938925, -0.0287225004, -0.0001082627, -0.0418303534, 0.0303790048, 0.0521584228, 0.0509257615, -0.0204667021, 0.0083283419, -0.0514025688, 0.0079650907, -0.0047765695, 0.0636491105, -0.0050738244, 0.0159609262, 0.0130012138, 0.0236396752, -0.0509710051, -0.028578965, 0.0210984778, -0.0046643359, -0.0124601563, -0.0051822178, -0.0090890704, 0.0139684109, 0.0044212355, -0.0486257114, -0.0076259505, -0.0125416135, 0.0071940538, -0.0385789536, 0.0021045031, -0.0393585414, -0.0438579321, 0.029524941, 0.0058208178, -0.0253427345, -0.0214443654, -0.05633967, -0.0334407911, -0.0115782097, -0.0520888194, -0.0417399034, -0.0346636213, 0.0606081076, 0.0187666789, 0.0416396856, -0.0069415397, 0.0765201747, -0.0244202875, -0.0155925527, 0.0189443547, 0.0314666219, 0.029923493, -0.0503344536, 0.0195907224, 0.0553837754, 0.0173966959, -0.0110822981, -0.001293545, -0.0529519878, -0.0307004508, -0.0188603792, -0.0541387536, 0.0121543147, -0.0403155386, 0.0289788339, 0.0233562477, -0.031545911, -0.0189535711, -0.0087215547, 0.0205959827, -0.0054188715, 0.0282573402, -0.0067836153, 0.0554976314, -0.0077278819, -0.0016224125, -0.0417493246, 0.0206027012, -0.0305162836, 0.0602364875, 0.0103013366, -0.0278553069, -0.1038030609, 0.0019422052, -0.0465268642, 0.0425258093, -0.0205662958, -0.0118839638, 0.0187762324, 0.0101798931, 0.0939202234, 0.054377269, 0.0448649339, 0.0316199213, 0.0312416013, -0.0469095968, -0.0030422441, 0.0308513101, 0.0194477253, 0.046083685, -0.006564118, -0.0256571602, 0.0381791182, 0.0389545895, 0.0081898021, 0.0049899779, -0.0272514634, 0.0135577433, -0.0255968384, -0.0268641822, 0.042961292, -0.0175964292, -0.0063183811, 0.032509096, -0.0441269577, -0.0252228323, 0.0675284788, -0.0607321262, 0.0423106663, -0.0564010367, -0.0131399855, -0.0064265355, 0.0502527803, 0.0127120903, -0.0001740051, 0.0304881856, 0.0161497034, -0.0260575023, 0.0197452437, 0.0414413214, -0.0260923859, 0.0426069312, -0.0633307695, 0.0036584835, 0.0072752247, -0.0363786407, -0.0424253121, -0.0415614732, 0.0168604497, -0.0218470283, 0.0058200741, -0.0486154929, -0.0578060597, -0.0464290306, 0.0224423949, 0.056108512, -0.0035821381, -0.0053317202, 0.001538211, 0.0211030059, 0.0486281738, 0.0343893953, 0.0834035352, -0.0258454084, 0.0185738914, 0.0614400879, 0.0001627574, 0.0248615015, -0.0159031563, -0.0411293581, -0.0512051284, -0.0470470376, -0.0166662969, 0.0001350054, 0.0532940105, -0.0707671419, -0.0113150831, 0.0990888029, 0.0332833305, 0.000635105, -0.0072427704, -0.0366817266, 0.0310699921, -0.0052985628, 0.0244076699, -0.0887487754, -0.0292691793, 0.0178900436, 0.0104017025, -0.0194114596, -0.0472657047, -0.0061053862, -0.1027178764, 0.0677108839, 0.0050919033, 0.0261995327, -0.0384625606, -0.0231774151, 0.0223933738, 0.011717597, 0.0104802689, 0.0357917994, -0.0005297281, 0.0066501284, -0.0034612801, -0.012897661, -0.0479935631, 0.0245036017, -0.0307445768, 0.0680432022, 0.0349958427, 0.0420267582, 0.0393111147, -0.0304948483, 0.0165793281, -0.0002148568, -0.0293421336, 0.0236434117, 0.1010601744, 0.0138750933, 0.0038439764, -0.0325192027, 0.0047952635, 0.0097081298, -0.0331487358, -0.0102481302, 0.034964405, -0.0260510854, -0.0180555433, -0.0124435453, 0.0245622266, 0.0329472683, 0.0859100893, 0.0173760168, 0.0296893679, -0.0902402624, -0.0250355378, 0.014185342, -0.0269953813, 0.0194747839, 0.0242879633, 0.0419027247, -0.0175590795, -0.0990697667, -0.0553751253, -0.0270040035, 0.0141256033, -0.04211751, -0.0171333533, 0.002594535, -0.0200837422, -0.0105131688, -0.0101979841, -0.0204336327, 0.0084856488, -0.0097287111, 0.0160413422, -0.0004380829, 0.0046789604, 0.0039833407, 0.0368838795, -0.1133020446, -0.0318837985, 0.0275824945, -0.0100717731, 0.0099259419, 0.0865114704, -0.040828947, 0.0213887841, 0.0150167989, 0.0463068672, -0.0267622862, 0.0440881141, 0.023414338, -0.0155753596, 0.0007758901, 0.0325461179, -0.0195869766, 0.0022125547, -0.0379849859, 0.012051017, -0.0276836678, -0.0006910224, 0.0132020796, 0.0027628778, 0.016811097, 0.0204481594, 0.0274508968, -0.0412945971, 0.0194973983, -0.0244600009, -0.0405665934, -0.0004865928, 0.0411219113, -0.0231637396, -0.0383523665, -0.004689903, 0.0218243655, -0.0355196558, 0.0160681549, -0.0107465358, -0.0384742394, 0.01160808, -0.0004901427, -0.0026931905, -0.0346227363, -0.0151486928, -0.006285388, -0.0232865717, 0.0625493303, 0.0062879575, 0.0642854795, 0.0482345037, -0.0431187898, 0.002946405, -0.0128288707, -0.071243003, -0.0236326288, -0.0188160799, 0.0381179526, 0.0413178466, -0.0026410816, 0.0572197586, -0.0099964021, 0.0020605079, -0.0239683185, 0.0137918135, 0.0433427915, -0.0282188952, -0.0346804149, 0.0395664424, -0.0240640678, 0.0165723413, 0.0517169721, -0.0093700457, 0.0453479216, 0.0080681825, -0.0407017246, -0.0145023866, -0.079925783, -0.1127026156, -0.0074140918, -0.0009833948, -0.0223459173, -0.0471552163, -0.0312193818, 0.0115918871, 0.0453020968, 0.036452949, 0.0327212401, -0.001882425, 0.0860904679, -0.0013275163, -0.0245242715, -0.0176351778, 0.0003137479, 0.0070166788, -0.016767174, -0.0101351552, -5.961414908e-33, -0.0142512489, -0.0403628834, 0.0078388443, -0.051853437, -0.0438372865, 0.0073821135, -0.0305641424, -0.0405420586, -0.0008197112, 0.0763090178, 0.0189470109, 0.0661929175, 0.0149964783, 0.0153558888, -0.0254010614, -0.0471495166, 0.0871083587, 0.0306196641, -0.013641322, 0.0147753432, 0.0696438625, -0.006126408, 0.0232598931, -0.0625069663, 0.0410767198, -0.0174430478, -0.0207136907, 0.0149999298, -0.0142375622, 0.0394094773, 0.0115891015, 0.0287399907, 0.0137905702, -0.0419991314, -0.0183959771, -0.0227174088, -0.069702737, -0.0164990388, -0.0214406662, 0.0194477774, -0.0347898975, 0.0025970526, 0.0255878288, 0.0053207562, 0.043985121, -0.0463393442, 0.0195778944, -0.0387488902, 0.0355792791, 0.034203805, -0.0611322969, 0.0432180651, 0.002967299, -0.0005600264, -0.0558264069, 0.0400059856, 0.02447428, -0.0204853378, -0.0747705325, -0.0313183255, 0.0267292783, 0.0147909019, 0.0193538032, -0.041627083, -0.0182825774, 0.0760203898, 0.0042932048, 0.0130907707, -0.0971389934, -0.0233648028, -0.0406702943, 0.0138711212, 0.0323789567, 0.0599779338, 0.0672305152, 0.0130012315, -0.0588231944, -0.014355069, -0.0145676648, 0.0566016138, 0.008694035, -0.0111420276, -0.0570437275, -0.0079513099, -0.0073010488, 0.0062567121, -0.0183198843, -0.0040758951, 0.0406883843, 0.0151190441, 0.0161561612, 0.0105482889, 0.0176583435, -0.0169182569, 0.0118674506, 0.0130659686, -0.0549848564, -0.0165490098, 0.0186883193, -0.0050451001, -0.014767861, 0.0204122346, 0.054591354, 0.0471051298, 0.0066973181, 0.0141898375, 0.0379804522, -0.0225473121, -0.0618592761, 0.0292590428, -0.0096224146, 0.0387765691, -0.0403057933, -0.0008873526, 0.0430909619, 0.0000263321, -0.0474654399, 0.0306307729, -0.0015631256, 0.0218840092, -0.0012476733, 0.010800791, -0.0218904223, 0.0142404223, -0.0233513564, 0.0179041531, -0.0292615741, -0.024466455, -0.0004882657, -0.0629829317, 0.0181746855, 0.0363460667, 2.638e-7, -0.0182492193, 0.0563354753, 0.0650850907, -0.0123281144, 0.0268374234, 0.0095534045, 0.015544707, 0.0117298923, -0.0443070196, -0.0420081764, -0.0308751278, 0.0647070929, 0.0699668825, 0.0502708703, -0.0472747162, -0.0183517244, -0.0798776671, -0.050725732, -0.0834223852, -0.0430390015, 0.0584557243, 0.0640552491, 0.0478951894, -0.0081863897, 0.0395814069, -0.0335933454, 0.028962696, 0.0366985947, -0.0043340181, 0.0213798191, 0.0524350107, -0.0020656527, 0.013899886, 0.0220458899, -0.023757318, -0.010415676, -0.0149696516, 0.0345022455, 0.0140613774, 0.0411368944, -0.0477854945, -0.0174314659, -0.0037440006, -0.0383341722, 0.0637184158, 0.0031757636, 0.0029791268, -0.0558698438, -0.0348214135, -0.0034173399, 0.0465614982, 0.0212135874, -0.003746433, 0.0326587893, -0.0044408212, 0.0073692319, -0.0036857652, -0.0524980612, -0.0132804336, 0.005016542, -0.0448551029, 0.0104945581, -0.0101106986, -0.0299330056, 0.0464920029, -0.0502701886, 0.027696941, 2.426346843e-34, 0.0388763435, 0.0038464784, -0.0001568213, -0.02236831, 0.0807960555, 0.0008752882, -0.0093039554, -0.0279303044, -0.0065316847, -0.0392622687, -0.0012049604 ]
http://arxiv.org/abs/2310.13183v2
http://arxiv.org/pdf/2310.13183v2
Breaking through Deterministic Barriers: Randomized Pruning Mask Generation and Selection
2023-10-19T22:32:51
2024-01-11T04:17:28
Jianwei Li, Weizhi Gao, Qi Lei, Dongkuan Xu
cs.CV
cs.CV, cs.CL
It is widely acknowledged that large and sparse models have higher accuracy than small and dense models under the same model size constraints. This motivates us to train a large model and then remove its redundant neurons or weights by pruning. Most existing works pruned the networks in a deterministic way, the performance of which solely depends on a single pruning criterion and thus lacks variety. Instead, in this paper, we propose a model pruning strategy that first generates several pruning masks in a designed random way. Subsequently, along with an effective mask-selection rule, the optimal mask is chosen from the pool of mask candidates. To further enhance efficiency, we introduce an early mask evaluation strategy, mitigating the overhead associated with training multiple masks. Our extensive experiments demonstrate that this approach achieves state-of-the-art performance across eight datasets from GLUE, particularly excelling at high levels of sparsity.
[ -0.0075308057, 0.0740611404, -0.001113277, 0.0192378275, -0.0373423882, -0.0284138639, 0.0775675178, 0.0088168234, 0.0028284348, 0.047667481, -0.0129046105, -0.0198589284, -0.0089319907, 0.0308551099, 0.0215607993, -0.07212466, 0.0049731554, -0.0059029702, -0.0079290606, -0.0026491724, -0.0007755353, 0.0013200013, 0.0220330786, 0.0565545037, -0.0318728015, -0.0099650007, -0.0084365495, 0.0252475943, 0.0118463831, -0.0185368638, 0.0446005315, 0.0505126491, -0.0168952364, 0.0251983944, 0.0000024673, -0.0229595881, -0.0056436071, 0.024067333, -0.0350015201, 0.0484717079, -0.0198888332, 0.0225762501, 0.0046174405, -0.0121773733, -0.0401982144, -0.0230682828, 0.0435995348, 0.0424983352, 0.022534335, 0.067468062, -0.0109852357, -0.0234759878, -0.0349459685, -0.0640189499, -0.0381597243, -0.030013876, 0.0154468007, -0.0531950444, -0.0769223571, -0.0981591642, -0.0152083505, 0.0057026758, 0.0593742989, 0.0524847656, 0.0545016006, 0.0535095148, -0.0223697498, -0.0445908532, 0.0228039734, 0.0133829191, -0.1276257485, -0.0330781639, 0.0180695318, -0.0364977345, -0.0195720661, -0.0012624592, -0.035487812, 0.003021993, 0.0365278535, 0.0375184529, -0.0801408738, 0.0639947876, 0.0710150972, 0.0052918298, -0.0502873473, -0.0099962289, -0.0081592435, 0.0280897412, -0.0022974212, -0.0131261488, -0.0310752317, -0.0680800825, -0.0126203066, 0.0057517248, -0.0028612008, -0.0242956113, -0.054073479, -0.0302505847, 0.0047660396, 0.0216977894, 0.0108177848, -0.012456744, 0.030157363, 0.048837807, -0.0393106528, -0.028234316, 0.0373928994, 0.0427067392, 0.0039286432, -0.015741365, 0.0149125466, 0.0154437982, 0.0041536214, 0.0834651291, -0.0069571887, -0.0336720832, -0.0497346669, -0.0679176003, -0.0445852615, -0.0016314874, 0.0036069879, 0.0230965726, -0.0399355181, -0.0046509956, 0.0279122572, -0.0458468646, -0.0167037137, 0.0203233864, -0.0070169284, -0.0324414372, -0.0523779541, 0.0457220152, -0.0150757059, -0.0355507173, 0.0436424986, 0.0561107099, -0.035303887, -0.0352028534, -0.0706766769, -0.0273784753, 0.0221668016, -0.016187299, 0.0291790143, -0.0565198921, 0.011978169, -0.0523116812, 0.0400102548, -0.1005550548, 0.00148145, -0.0028220802, -0.0313702598, 0.0192438625, -0.0011732162, -0.0111068431, -0.013067985, 0.0257655457, 0.016430622, 0.0455602035, 0.0270147976, 0.081562914, 0.0091518564, -0.0159662701, -0.0300319213, 0.0270311963, 0.050093364, -0.0243644975, -0.0144533329, -0.055953823, -0.000976069, -0.0494114384, 0.035154745, 0.033056736, -0.066997394, -0.0733859465, 0.0228687357, -0.0125704631, 0.0351168513, 0.0363184847, 0.0289972201, 0.0028691597, 0.0039599705, 0.0065126219, -0.0177300517, 0.0273176357, -0.0180938374, -0.0170235243, -0.0604547709, 0.058178477, -0.0736808777, -0.0428663269, 0.0139833288, -0.04336036, 0.0212794282, 0.0372035615, 0.0673240349, 0.0168545563, 0.0025901718, 0.0106087057, 0.0089405747, 0.0072660763, -0.0201496035, -0.0751330853, -0.0157068409, -0.0576258078, -0.0005364566, -0.0066912216, -0.0276235305, 0.0404669195, 0.0165765714, -0.0124786934, -0.0063811066, 0.0027111403, 0.0967462659, -0.0539974086, 0.0001897189, -0.0045724944, 0.0086169317, 0.0248827636, 0.0570963919, 0.0097794579, 0.0167637113, 0.0260913875, 0.0104415501, 0.0509206727, -0.0610671975, -0.0081299748, 0.0397950597, 0.0161299463, 0.0232003964, -0.0153087284, -0.0166394189, -0.0490699075, 0.0544225499, -0.05539364, 0.0099672731, -0.0206136815, -0.0399034768, -0.0143155875, 0.0266721435, -0.0416591503, 0.0002004107, 0.1176511198, -0.0398902968, -0.0330676362, 0.0004300534, -0.0093462262, -0.0021891608, -0.0447322316, -0.0440410115, -0.005479414, 0.0497139022, 0.0026820779, 0.0330744497, -0.0142758666, -0.0176653136, 0.0240633152, -0.0307066422, 0.048444096, -0.0414881296, -0.0235683713, -0.0447236672, -0.0561287403, -0.0056329179, -0.0083399573, -0.0066453451, -0.0071397102, -0.0010902156, 0.0254609119, 0.0249950495, -0.0390039384, -0.0155706042, -0.0305847879, 0.0114555424, 0.0189306643, -0.0514152274, 0.0332351364, 0.0137142055, -0.0020660853, -0.0109055294, 0.0040502409, -0.0084279338, -0.0299747847, 0.0004467282, -0.0489583462, 0.0621720776, 0.0425953642, 0.0021072854, -0.0702303275, 0.0078527918, 0.0647464171, -0.0221867189, 0.0111215031, -0.0174108353, -0.0220183898, -0.0320049785, -0.0249284152, -0.062454395, 0.0890532359, -0.0240276996, 0.0005424593, 0.0467821136, 0.0411244109, -0.0274069048, 0.0146868834, -0.0152742816, 0.0568152927, -0.0156477503, -0.0346693471, 0.0115022603, 0.0303149037, 0.0023366134, -0.0054450086, -0.0679992586, 0.0347707346, 0.0296012945, -0.0737189576, -0.0227418002, 0.0316170454, -0.0009325374, 0.0219821539, -0.0224528518, -0.0376045071, -0.0087516988, 0.003886065, -0.0168035347, 0.034869723, -0.0533895008, 0.0093935048, 0.0265492089, 0.0437010042, 0.019897297, -0.0162209105, -0.0001065411, -0.0670644715, -0.0200933684, 0.0133244218, 0.0051341332, -0.0219085272, -0.0434946492, 0.0182166267, 0.0088402601, -0.0337109379, -0.0261535607, -0.0416673794, -0.0018049926, 0.0208966155, -0.0043687215, -0.0194178056, -0.0116532668, -0.0001251232, 0.0000389186, 0.0464373119, 0.0054108589, 0.0308638364, 0.0095378757, 0.035689611, 0.0684514046, 0.0276611205, 0.0545984954, -0.003726189, 0.0434604548, 0.0428467318, 0.0406187177, 0.0293103959, -0.1010227427, -0.0179358888, -0.0140396263, 0.0208588857, 0.0020343624, -0.0054600565, 0.046153944, -0.0324553177, 0.0346204862, 0.0477295704, 0.0007684582, -0.0140629187, -0.0013734479, 0.011836133, 0.0851409137, 0.0036508439, 0.0237021223, -0.0050084461, -0.0127835907, 0.0229229443, 0.0254224278, 0.0095236972, -0.0030088653, 0.0285174381, -0.1038946584, 0.075349696, 0.0126629183, -0.0229767449, 0.0322559588, -0.004201279, 0.0343402363, -0.0544541404, -0.0076868501, -0.0267821737, 0.0163930655, -0.016213024, 0.0207041185, -0.0300852433, -0.0472042449, 0.0166548938, -0.0294190962, 0.0189742837, 0.0070672403, -0.0341163985, -0.0394695289, -0.0686644018, 0.0635663345, 0.009710812, -0.0068107224, -0.0436647534, 0.0911185071, 0.041176945, -0.0138226449, -0.0210509524, 0.0357021838, 0.0395032503, -0.0136980098, 0.0069857137, 0.0296643805, 0.0033485743, -0.0108578727, -0.0110202469, -0.0155021837, -0.0027260752, 0.0308441184, 0.0369015299, -0.0183579847, -0.04715937, 0.0052799028, -0.0254709609, -0.0980508476, -0.0196087994, 0.0577315651, -0.0098490464, -0.0748857111, -0.016920317, 0.0191844068, 0.0244807415, 0.0200033821, -0.0098775178, -0.0167304836, -0.0294323545, 0.0276704151, -0.0275900029, 0.0136504639, -0.0144353919, 0.0288543981, -0.0054914299, 0.0046984977, 0.0106976833, -0.0326157436, -0.0425638705, 0.0133001292, -0.0760423839, -0.0386661105, -0.0075319689, 0.0758848712, 0.0198783632, 0.0617855489, 0.0001519431, -0.0501223207, 0.0325501263, 0.0302191135, 0.0127698369, 0.043321263, 0.0792554617, -0.1032595783, -0.021673115, 0.044360362, 0.0053976225, 0.0714795887, 0.0512974523, 0.0066551641, -0.0332474262, 0.0583916083, -0.0165799223, 0.0296023618, 0.0273839179, -0.0079386448, 0.0378650576, -0.0306415744, 0.0409670211, 0.0468170829, 0.0129835317, -0.035404589, 0.0256079379, 0.0177071597, 0.0641409457, -0.0084990533, 0.01977681, 0.0496230908, 0.027876325, -0.0517345965, -0.0008650787, -0.0213267915, -0.0006633323, 0.0294581354, 0.013790994, -0.0164866392, 0.0391424894, 0.0259508491, -0.0069413097, 0.0003165254, -0.0503098927, 0.0481328554, 0.0346516967, -0.0688661486, 0.0119789727, -0.0391930901, -0.0793146119, -0.0355004817, -0.0273526162, 0.0335154943, -0.0215438418, 0.0272787996, -0.0092425495, -0.0097061014, -0.027140202, 0.019445179, 0.0332216136, 0.0088992603, 0.0052620131, -0.0353522412, -0.0064469608, -0.0272508617, 0.0672806799, 0.0236376747, 0.0123829292, -0.0072270725, 0.0071072881, -0.0712471306, -0.0242351536, 0.0348989218, 0.0647453666, -0.0078441678, -0.0201179199, -0.0221516844, -0.0541362315, 0.0228877999, -0.0188050009, 0.0491423905, 0.0249902457, 0.0336697288, 0.0115461685, 0.0186836328, 0.023034893, 0.0304264408, -0.054520376, -0.0108698355, -0.0123271402, 0.0132527016, -7.113584879e-33, 0.024736857, 0.0119545637, -0.0105857467, 0.0490433723, -0.0156722721, 0.0091036456, -0.0180102028, -0.037209101, -0.0044768509, 0.0095179975, -0.0508913547, 0.0033925483, 0.0052012745, 0.0320463292, -0.0276141576, -0.0044727977, 0.0834450573, -0.0199782643, 0.0160712451, 0.0440563187, -0.0132227279, 0.0287492089, -0.0101125212, -0.0546075366, -0.100105688, 0.033587791, -0.0469289757, -0.0227432828, -0.0240810644, 0.0200370979, 0.0075821988, 0.0182938911, 0.013693057, -0.0154779823, -0.0105581898, -0.0059376108, -0.0700165182, -0.0456382781, -0.0203049276, -0.0047794925, -0.0528454185, -0.0109140463, 0.0437961146, 0.0017383416, -0.0073426729, -0.0275551435, 0.0380179994, -0.0407559015, -0.044791244, -0.0215978641, 0.0055443882, 0.041265063, 0.0144079421, -0.0299606342, 0.0495717414, 0.0134612508, -0.0375153646, 0.015801236, -0.0602494776, -0.0344824642, 0.0191353559, 0.0259058699, 0.0183215979, 0.059460476, -0.0027827665, 0.0519012436, 0.0182445049, 0.0074611478, -0.0034904934, 0.0553366616, 0.0375391804, 0.0705084875, 0.0781525597, 0.0321415775, 0.0578256808, -0.0525991805, -0.1346361041, 0.0240029935, -0.0133941956, 0.0285684541, 0.0099264234, 0.0275477618, 0.0542872138, 0.0168406665, -0.0024708423, -0.0109962774, -0.0171824507, -0.001471823, 0.0227248576, 0.0616313331, -0.0683589652, 0.0442185849, 0.0094672507, -0.0218009055, 0.0289884862, 0.0215988178, 0.0098216599, 0.0195819158, 0.0440976769, -0.0260112286, -0.0377801359, 0.0026608102, 0.0051343068, -0.0084292637, 0.0447777212, -0.0182520729, 0.0459957048, 0.0290296059, -0.0136664417, -0.0182341449, -0.0303101633, 0.0606819615, 0.0331225321, 0.0797500387, 0.0085894763, 0.005114858, -0.000606314, -0.0146907642, -0.0006121136, -0.0167568382, -0.0265179891, 0.0445872098, 0.0290961955, 0.0004658675, -0.025289163, -0.0038009933, -0.032547649, -0.0128758093, 0.0635658205, -0.0531521887, -0.0172473975, 0.0204654876, 3.01e-7, -0.0292195734, -0.0389136635, -0.0355782472, 0.0078294417, 0.0068483604, 0.0014245413, -0.0348304808, -0.017682001, -0.0546054877, -0.0128646363, -0.0134632541, 0.0240081791, 0.0600768812, 0.0026206193, -0.0741602033, 0.0209521819, 0.0091427378, -0.0109425932, -0.0175908655, -0.0036502113, -0.0317575932, 0.0788034797, 0.0506965034, -0.057473667, 0.0380134694, 0.0000046212, -0.009859723, -0.0170449745, 0.0364090465, -0.0321275108, 0.0293658637, 0.0138527798, -0.0333068855, 0.0342689604, 0.0077359718, 0.0235855952, -0.0126186656, 0.0709732398, -0.0091805197, 0.0047704154, 0.0068492861, 0.0553859994, 0.0160513185, -0.0314229466, 0.0654371232, -0.0251332279, -0.0008492854, 0.0039816732, -0.0031876815, 0.0024192682, 0.0225375202, -0.0274959076, 0.0023470402, 0.026558347, 0.0193416551, -0.0285737161, 0.0019816814, -0.0574397333, -0.0103303958, -0.0272853393, -0.0824132413, -0.0373463258, -0.0330651179, -0.0217930228, 0.015288122, -0.0632266402, -0.0496711992, 2.686793688e-34, 0.0072700987, 0.0009611339, -0.0266429503, 0.0226280298, 0.0166022163, -0.002499389, -0.0389963612, 0.0070802681, -0.0248734597, -0.0383342095, -0.0412374549 ]
http://arxiv.org/abs/2310.13146v1
http://arxiv.org/pdf/2310.13146v1
CLIFT: Analysing Natural Distribution Shift on Question Answering Models in Clinical Domain
2023-10-19T20:43:11
2023-10-19T20:43:11
Ankit Pal
cs.CL
cs.CL, cs.AI, cs.CY, cs.DC, cs.LG
This paper introduces a new testbed CLIFT (Clinical Shift) for the clinical domain Question-answering task. The testbed includes 7.5k high-quality question answering samples to provide a diverse and reliable benchmark. We performed a comprehensive experimental study and evaluated several QA deep-learning models under the proposed testbed. Despite impressive results on the original test set, the performance degrades when applied to new test sets, which shows the distribution shift. Our findings emphasize the need for and the potential for increasing the robustness of clinical domain models under distributional shifts. The testbed offers one way to track progress in that direction. It also highlights the necessity of adopting evaluation metrics that consider robustness to natural distribution shifts. We plan to expand the corpus by adding more samples and model results. The full paper and the updated benchmark are available at github.com/openlifescience-ai/clift
[ 0.0251786355, 0.0543486029, -0.0036119216, 0.0015605908, -0.0105093177, -0.0123481629, -0.0432479307, 0.0265117027, -0.0314353853, -0.0056988872, -0.0210300032, -0.056430392, -0.0568739586, 0.0267249234, 0.0183674861, -0.0401829593, 0.0341799818, 0.0310579818, 0.0095801791, 0.0187072847, -0.029718142, -0.0182014816, -0.0350786634, 0.0365984328, 0.0502500385, -0.0502866283, 0.0211335421, 0.0230284631, 0.0553602912, -0.0481069759, 0.0210837834, 0.0532391109, -0.0148560395, -0.0043755961, 0.0000019198, -0.0457112417, -0.0033612614, 0.0184360091, -0.0598182082, 0.0064781867, -0.0074717747, -0.0166206285, 0.0030467412, 0.0274290275, -0.0602516495, -0.0238893498, 0.0178367402, 0.0134310909, 0.053965684, 0.0547638424, 0.0004078644, 0.0067288629, 0.024051832, -0.0372245498, -0.0169866141, -0.0759233534, 0.0223675128, 0.0143486783, 0.0268929694, -0.0117766578, -0.0228687059, 0.0244028158, 0.0415702909, 0.0228802077, 0.0088832583, 0.039005246, -0.0630071014, 0.0155227408, -0.0003730176, 0.1175769791, -0.0345242582, -0.0167761352, -0.0143039785, -0.0092391903, 0.0271079149, 0.0137191238, -0.0523284674, 0.0116743576, -0.0072100516, -0.0207678955, -0.0050874529, 0.0253427941, 0.0383279249, -0.0065152943, -0.0272301938, -0.0167164002, 0.0283324961, -0.0469730869, 0.013517892, -0.0115945283, -0.0799042061, -0.0429870263, 0.0402072184, 0.0454185195, -0.0266218632, 0.0089512523, 0.0040453188, -0.0302354787, 0.0608232394, -0.0326982103, 0.0210132748, 0.0275641512, -0.048666887, 0.0169490706, 0.0004826661, 0.0402111895, -0.0308850855, 0.0207789708, -0.0523011126, 0.0009960994, -0.0332224257, -0.0244828686, 0.004503672, 0.0124096787, -0.0197168868, 0.008546656, -0.050471846, 0.0190089773, 0.0055919131, -0.0300961882, 0.018266039, 0.0755857378, -0.0085006272, 0.0444833227, -0.0294847488, 0.0473329797, -0.0804707706, 0.0097074416, 0.0107961809, -0.0676710904, -0.0241213329, 0.005971753, -0.0015781173, -0.0211752001, 0.0143005373, 0.0443995893, -0.0006608169, -0.0177308563, 0.0159411971, -0.0023515108, -0.0256274901, -0.024036115, -0.0014425353, -0.0512228869, 0.0159443486, 0.0173970424, 0.0044109072, -0.0381526276, -0.0034702912, 0.0338994712, -0.0042350977, 0.0496382229, -0.0076605417, 0.0012233582, 0.0117209777, 0.022188196, 0.0080538355, 0.0557856895, 0.0260430146, -0.0583085604, 0.0362010971, -0.0421224535, 0.0267458167, -0.0012500078, 0.0236548334, -0.0212946851, 0.0165318381, 0.0513863601, -0.0307603832, 0.0867247283, 0.0020143138, 0.0298412405, -0.0097366646, -0.0749923885, 0.0113121141, 0.0828709602, 0.0067838272, 0.0095776776, 0.0061966525, -0.0515961535, 0.0074981223, -0.0061811986, -0.0348195359, -0.010252174, 0.0099942917, -0.0030668613, -0.0577597506, -0.016330909, -0.0431775227, -0.0082436353, -0.0083814384, -0.0061547901, -0.0255234968, 0.0091710761, 0.0020632795, 0.0001643507, -0.0052627251, 0.0648300722, 0.0162320603, -0.0321055613, 0.0014391562, -0.063695319, 0.0072979867, 0.0069742519, 0.0381183699, -0.0662900731, -0.056083791, -0.0020894927, 0.0219616648, 0.0179375317, 0.0178029034, -0.0161248315, 0.0203220323, -0.0097982874, -0.0016830255, -0.0109611936, 0.0030141808, -0.0304696411, 0.010780775, 0.0456027649, -0.0207630433, -0.1086092293, 0.0041078287, 0.0424592011, -0.0503711104, -0.003429966, 0.0359268151, -0.0088812327, 0.0013136156, 0.0086408351, -0.0242280364, 0.020540705, 0.0268687699, -0.0344847851, -0.011328049, -0.0060068737, -0.0285434742, -0.023211984, 0.0068618148, -0.0364704579, 0.0036906132, 0.0538138263, -0.0384899192, -0.0257201549, -0.0016198456, -0.0188591052, 0.0157700628, 0.0221848059, -0.0119575439, 0.0104520787, 0.0280294605, -0.0790261254, 0.0357157513, -0.016526442, 0.0127028236, -0.0130511038, 0.014846731, -0.0084552448, -0.0133670326, 0.0389058515, 0.0013193559, -0.0378410034, 0.0149489641, -0.0126331756, -0.0090329088, -0.0491567999, -0.0215048026, -0.0497529358, 0.0315525346, -0.0288936291, 0.0414881557, 0.0584214553, 0.0312488265, -0.0164306257, -0.0163578149, -0.0828750059, -0.0058127367, 0.0303595141, 0.0388922803, 0.0516136363, 0.010545169, 0.0355601572, -0.0501824841, -0.0164907277, -0.0289256051, 0.0346493088, -0.0282171182, 0.0092632137, -0.0287707504, 0.0061359792, -0.0351239927, -0.003907721, -0.0150834331, -0.0333874896, 0.0044576139, 0.0156004447, 0.0078326473, 0.0755585656, 0.025861796, 0.0042742854, 0.0090432139, 0.050722722, -0.0347390249, 0.04062346, -0.019883085, -0.0588293746, -0.0059889737, -0.0143512022, 0.0094952108, 0.0610905886, 0.0218306929, -0.0040363437, -0.0444528572, 0.0027594173, -0.025486486, 0.0017873528, -0.0084149288, 0.0484718792, -0.0367447734, 0.0320778638, -0.0143952006, 0.0002876459, 0.0652968213, 0.0274733752, 0.0204827115, -0.0779768825, -0.0201828349, -0.0480256043, 0.0032280486, -0.0074519333, -0.0126154711, 0.0254090019, -0.0302877575, -0.0503129177, -0.0078218412, -0.0244116988, -0.0516574867, 0.0806490704, -0.0287602451, 0.0090338234, -0.0352793187, -0.070041962, -0.059130393, -0.0809697136, -0.0031882043, 0.0263097696, -0.0127632944, -0.0198180731, -0.0246508326, 0.0057277088, -0.0185532477, 0.0547258705, -0.0268142708, -0.0062381011, -0.0295899287, 0.0794373006, 0.0624709651, 0.0891423896, 0.0375877135, 0.0023637239, 0.0235087927, 0.0617903285, 0.013995897, 0.033470612, -0.0042487127, 0.0063203964, -0.0074455366, -0.057089217, -0.0085339276, 0.0204011388, 0.0776878819, -0.02882131, -0.0321726725, 0.0869771913, 0.0296497717, -0.0521277525, 0.0477979816, -0.0261973403, 0.0354403667, 0.0111274682, 0.0260971803, -0.0911500379, -0.0508227237, -0.0271263067, 0.0445030741, 0.0060733622, -0.0456968807, 0.0270765685, -0.0759257004, 0.0177511778, -0.0574785508, -0.0728887618, -0.00358732, -0.0409386717, 0.0325434655, -0.0036020749, 0.0091007287, -0.0167662986, -0.0073614158, -0.0037476039, 0.0357003137, -0.0282072816, -0.0676465034, 0.0560285226, -0.0467703454, 0.0285027139, 0.0731499568, 0.0099965185, -0.0324055925, -0.0199228972, -0.0060150209, -0.0780454502, 0.001967357, 0.0296198521, 0.0747210979, 0.0156471878, -0.0202770531, -0.0226361807, 0.0263734832, -0.0886278376, 0.0124707865, 0.0324509367, 0.0753453225, 0.0022608594, -0.0494515412, -0.0742240995, 0.0238768384, 0.0101008322, 0.0303581953, 0.0140831824, -0.0154777979, -0.0340390243, 0.0142704649, 0.0211456716, -0.0170455389, -0.0342900567, 0.0375492945, 0.0257093124, 0.0097645437, -0.0775615871, -0.0246498678, -0.0132875517, 0.0010982701, -0.0205163918, -0.0024054418, -0.0139738368, 0.0155067937, -0.0686080009, 0.0669752583, 0.011552983, 0.0025344072, -0.0487211086, -0.0177372582, 0.0606399812, 0.0206075404, -0.0409171693, -0.0163935777, -0.0669184104, 0.0058263331, -0.0072880466, 0.0400321744, 0.0130121857, -0.0187968649, -0.0347692259, -0.020002028, 0.029231634, 0.0299178008, -0.0359946638, 0.0047444967, 0.0182636399, -0.0652661845, -0.0313860141, 0.0257198252, -0.02651521, 0.0183720961, 0.0109898988, 0.0514596328, -0.0206256621, -0.0586911365, 0.0031489886, -0.0086549241, 0.0134603726, 0.0189693682, -0.0524185449, 0.008928542, 0.0260802638, 0.0087448703, 0.0232334156, 0.0053034578, -0.0126650408, 0.0407582112, -0.0264011417, -0.0170121901, 0.0332199708, -0.0512620248, -0.0104788058, -0.052965723, 0.0218987931, 0.0915574506, 0.0208196454, 0.0131079471, -0.0023568356, -0.0145390481, -0.0124602821, 0.0103506017, 0.0793973058, 0.0085476832, 0.0494824536, 0.0051228064, 0.0103472993, 0.0087193903, 0.0435150191, -0.0770728886, -0.0120172426, -0.0231262911, 0.0302435961, 0.0330166072, 0.0197737068, 0.0023290224, 0.0233225245, 0.007638521, -0.013594998, -0.0018031265, -0.0229519047, 0.0344107784, 0.07695961, 0.0353457071, 0.0088491663, 0.0057126754, 0.0635895878, 0.0175735876, 0.0500176065, 0.0019359423, 0.0064866655, -0.0287829824, -0.0026423808, -0.0030780737, -0.009146858, -0.0185949523, 0.0466729291, -0.0497655906, -0.0511221401, 0.0501634851, -0.0096260197, -0.0130852265, -0.0146317044, 0.0395137332, 0.051462736, 0.0182472467, -0.0447546579, -0.0241178218, 0.044728063, -0.051639434, -0.0015669729, -0.0227642749, -6.285832614e-33, 0.0024463241, -0.0178280231, 0.0127001116, -0.0258777142, 0.0008140836, 0.0288571622, -0.0290636849, 0.0066219722, -0.0650141314, 0.0179129671, -0.045463942, 0.0457853526, 0.0099085895, 0.0323049463, -0.0087522836, -0.0893807039, -0.0119223157, -0.0129205147, -0.0304487199, 0.0329474583, -0.0403284207, 0.0565313511, 0.0613055453, -0.0337787308, -0.0171696264, -0.0004809519, 0.0611911565, 0.0164934937, -0.0159683209, 0.0601774119, -0.0336966589, 0.0652346238, 0.0582736842, -0.0173455738, 0.0387963057, 0.0053359736, -0.0641944557, -0.0345635973, -0.0090025505, 0.011605096, -0.0653855279, -0.0125774508, 0.0456808805, 0.0036201891, 0.017785456, -0.0315066688, 0.0174764041, -0.0338231511, -0.0020326045, -0.0231493302, -0.0310743041, 0.0446926616, -0.0053594937, -0.0250675678, -0.0872776136, 0.0365756191, -0.0303046908, 0.0481362641, -0.0184377767, -0.0584779046, 0.0308449529, 0.0364061482, 0.0205568988, 0.0038056595, -0.0446265228, 0.036165677, 0.0035666423, 0.006971329, -0.0250747316, -0.0022809943, -0.0187661424, 0.0127794566, 0.0684994385, 0.0897919461, 0.0476238132, 0.0286722668, -0.1089675203, 0.033900775, -0.016986819, 0.0231703818, -0.006758396, -0.0241033658, -0.0233856123, 0.021456942, -0.0308927726, 0.0206948724, -0.0200307909, -0.0011338838, 0.044441212, -0.0329033136, -0.0084060747, 0.022546161, 0.0099558644, -0.0322407447, 0.0370039083, 0.0138634332, 0.0140930349, 0.0184839647, -0.0000709312, 0.0449581705, -0.0190731082, 0.0375107452, 0.0036695837, -0.0081505366, 0.0517704487, 0.018387109, 0.0087444913, -0.0345332883, -0.0343716033, -0.0198971238, 0.006142939, 0.0159360878, -0.0316255987, 0.0818388984, 0.0030030829, 0.0411505178, 0.0059561334, 0.0487663262, 0.0193092618, 0.0189800169, -0.0281329267, 0.0129641127, 0.0278862175, 0.0163312275, -0.0267772842, -0.0011129443, -0.0261192173, 0.0844304785, -0.0280679017, -0.099767603, 0.0016463596, -0.0019010627, 2.6e-7, 0.1206634268, 0.0161435604, 0.0312307794, 0.0170644559, 0.0217509698, -0.0051712417, 0.003292464, 0.0312783644, 0.0347442739, -0.0233800244, 0.0121598681, 0.0099021494, 0.0189524125, 0.0453063808, -0.0721113682, -0.0326390825, -0.0972222388, 0.006044596, -0.0176604986, -0.0443029851, 0.036997091, 0.1085820571, -0.0466164388, -0.0420304313, 0.0064221071, -0.0364167802, 0.0290079676, 0.0082556978, 0.0141142337, 0.0306561161, -0.0041008936, 0.0116749797, 0.0207799114, 0.0512053818, -0.0045945784, -0.0130002862, 0.0246589966, 0.074444972, -0.0405381881, -0.0553368367, -0.025354214, -0.02081169, 0.0398032591, -0.045105461, 0.083249636, -0.0463891998, -0.0468696319, -0.0244509913, -0.0561605506, -0.0169290286, 0.0828073621, -0.0317085646, -0.0101640457, 0.0214466564, 0.0182675272, 0.020984767, -0.0160235856, -0.0581574403, -0.0162009038, 0.0563298613, -0.0308016315, -0.017681865, -0.0024106666, -0.0736289546, -0.0184593871, -0.0419527367, 0.0222127568, 2.097456381e-34, 0.0117826425, 0.0226276051, 0.0449098609, 0.0394385569, -0.0053229677, 0.0004485657, 0.0132805575, -0.0362813361, 0.0390183851, -0.0589037538, -0.0053825392 ]
http://arxiv.org/abs/2310.13132v2
http://arxiv.org/pdf/2310.13132v2
Better to Ask in English: Cross-Lingual Evaluation of Large Language Models for Healthcare Queries
2023-10-19T20:02:40
2023-10-23T17:47:47
Yiqiao Jin, Mohit Chandra, Gaurav Verma, Yibo Hu, Munmun De Choudhury, Srijan Kumar
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are transforming the ways the general public accesses and consumes information. Their influence is particularly pronounced in pivotal sectors like healthcare, where lay individuals are increasingly appropriating LLMs as conversational agents for everyday queries. While LLMs demonstrate impressive language understanding and generation proficiencies, concerns regarding their safety remain paramount in these high-stake domains. Moreover, the development of LLMs is disproportionately focused on English. It remains unclear how these LLMs perform in the context of non-English languages, a gap that is critical for ensuring equity in the real-world use of these systems.This paper provides a framework to investigate the effectiveness of LLMs as multi-lingual dialogue systems for healthcare queries. Our empirically-derived framework XlingEval focuses on three fundamental criteria for evaluating LLM responses to naturalistic human-authored health-related questions: correctness, consistency, and verifiability. Through extensive experiments on four major global languages, including English, Spanish, Chinese, and Hindi, spanning three expert-annotated large health Q&A datasets, and through an amalgamation of algorithmic and human-evaluation strategies, we found a pronounced disparity in LLM responses across these languages, indicating a need for enhanced cross-lingual capabilities. We further propose XlingHealth, a cross-lingual benchmark for examining the multilingual capabilities of LLMs in the healthcare context. Our findings underscore the pressing need to bolster the cross-lingual capacities of these models, and to provide an equitable information ecosystem accessible to all.
[ 0.0846327096, 0.055301182, -0.0097580897, 0.0031820228, -0.0076573994, 0.0173029918, 0.010338312, 0.0163367409, 0.0601831712, -0.0054095672, -0.02785643, -0.0659162477, -0.0083729224, -0.0001916703, 0.0288398769, -0.0348057337, -0.0111135924, 0.0105966618, 0.0198610295, -0.021310091, 0.0270630382, 0.0163956583, -0.0334440656, 0.0662244782, 0.0278256796, 0.0271614566, 0.0186198112, -0.0026574286, 0.0225227792, -0.0761977062, 0.0094225165, 0.0449371375, -0.0319950581, 0.0017406495, 0.000002044, -0.0590551905, 0.0183344707, 0.0278400332, -0.0339819156, -0.0503744632, 0.0371685885, -0.0352412462, -0.0106730759, 0.0155537426, -0.0387587845, -0.0141649144, 0.0402462557, 0.0009580323, 0.0342815407, 0.0371776447, -0.0168367978, 0.0027065198, -0.0092389788, -0.0202941727, 0.0129286144, -0.0441477485, 0.009904176, 0.0076249, 0.0576034337, -0.0098684663, 0.0179843828, 0.0429944731, 0.0092781391, -0.0130121214, -0.0188072268, 0.0136586223, -0.0348407328, -0.0492976345, 0.0168738887, 0.0791937485, 0.0433671176, 0.0038994956, 0.0047570928, 0.0143557508, 0.0007495747, 0.0308709592, -0.0393031351, 0.0272936802, -0.0291102827, -0.0120390449, 0.0116653964, -0.0010226154, 0.0382589102, 0.028497912, 0.0075745457, 0.0461216494, 0.0108660469, -0.018667791, 0.0200358853, -0.0044303825, 0.0406969227, -0.0319518894, 0.0377576165, 0.0380234048, -0.0719317421, 0.0167198051, 0.0373003855, -0.0083513847, 0.1057092696, -0.0772889629, -0.0119466297, 0.0248871148, -0.0114688529, 0.0264859293, 0.0586111359, 0.0012139546, -0.0380131826, 0.0416136384, -0.0621089414, -0.0132396156, -0.0281198677, -0.0034885295, 0.0052018319, -0.0020881749, -0.0278449822, 0.0587666854, -0.0791428536, -0.0110263089, 0.0021860253, 0.0203523487, -0.004969025, 0.0061463728, -0.020051768, -0.0226106346, -0.0544951893, 0.0338207483, -0.0330315419, 0.018639544, 0.0092817675, -0.0754855722, 0.0413282104, 0.0233586561, -0.0147254663, -0.0049464959, 0.0137760099, 0.0358301438, -0.0067925025, 0.009849851, -0.0102670947, -0.0449831523, -0.0172917377, -0.0379670002, -0.007516305, -0.0742573664, 0.0496299416, 0.0295299198, -0.0001429959, -0.0359751359, 0.0392989367, 0.0503868423, -0.0559490323, 0.039857652, -0.015529261, 0.0369169861, 0.0624953248, 0.0479905456, 0.0292286016, 0.0404515341, 0.0126028229, -0.0519181639, 0.0442492217, -0.0021747109, 0.0024156359, 0.0237055812, 0.0057219169, 0.0138047729, 0.0177929867, 0.0624386333, 0.0090635065, 0.0375873707, -0.0538692661, 0.0790391266, -0.0252083428, 0.0254691932, 0.0356770828, 0.0873348266, -0.0328847654, -0.0099810446, 0.0117578879, -0.0215455592, -0.0135634923, -0.0137788337, 0.0091869449, 0.0009474698, 0.0043679541, -0.0163860358, 0.0162960663, 0.0095724752, -0.0443689935, -0.0443772152, -0.025980778, 0.0043890541, 0.0014578813, 0.0236068536, 0.0006950879, -0.02279149, 0.0013721997, 0.0740295276, 0.0275221653, -0.0828640908, 0.0006030283, -0.0602089614, 0.0093750143, 0.0659770742, 0.030144861, 0.0093037561, -0.0242470875, -0.0156626962, 0.0258522835, 0.0361923836, 0.0333308764, -0.0295147914, -0.0050299861, -0.034724161, -0.013593669, 0.0523310713, -0.0093782321, -0.0383462347, -0.00128253, 0.0717243701, -0.0158665851, -0.0326376148, -0.0688249394, 0.0064107152, -0.0707731545, 0.0039812978, -0.0125853373, 0.017425444, 0.023463957, 0.0610411987, 0.0061043976, 0.0499768592, 0.0133322654, -0.0424368307, -0.000412135, 0.0238798596, -0.0072225505, 0.0137495622, 0.0170871466, -0.0373304524, 0.0034104618, -0.0232675951, -0.0161949992, -0.0283785164, -0.0474358462, -0.0313633382, -0.0077089621, -0.035808403, 0.0055354205, 0.0200218987, -0.0102112843, -0.0506801084, -0.0060115061, -0.0393040664, 0.027970273, 0.0178899709, -0.025642544, -0.003156435, -0.0554546975, -0.0298599787, 0.0789497495, 0.0066100494, 0.0373847224, 0.0342479981, 0.0536240451, -0.0587825961, -0.0142287444, -0.1309905201, -0.0325535275, -0.0171562955, 0.0217327513, 0.0322216488, 0.0386572629, 0.0057488047, -0.0190371741, -0.0747351646, -0.0244306885, 0.0525328815, 0.0259936471, 0.0186109766, 0.0222399477, 0.0212286301, -0.0201035906, -0.0035757085, -0.0109596634, 0.0100167235, 0.0271541756, -0.0145906713, 0.0091131032, -0.0463420898, -0.0597226247, -0.0518218987, 0.0095315995, -0.0555226915, 0.0110506695, 0.0161060821, -0.003376886, 0.0159664825, 0.0143451421, -0.0331530124, 0.0213792324, 0.0059253611, -0.0221866332, -0.002352945, -0.0043710931, -0.0231890399, -0.0131800519, -0.0814211071, 0.025172485, 0.0540109053, 0.0038269842, 0.0147226276, -0.021623835, 0.0195350591, -0.0616445169, -0.0134948911, -0.0836361796, 0.0234336443, -0.0205821972, 0.0962866247, 0.0168995094, -0.0022596428, 0.0588691533, -0.0018421263, 0.0214745384, -0.0785793364, -0.0091325734, -0.0372035131, -0.0043501379, -0.0656090304, 0.0578508452, 0.0100824926, -0.0210789144, -0.0232570786, -0.0085203703, 0.0059304279, -0.0711078346, 0.0385814905, -0.0270063374, 0.0138065498, 0.0014974179, -0.0727694258, -0.0434128605, -0.0207641348, -0.0484523252, 0.0016001154, 0.0322458558, 0.0048695896, -0.0162863899, 0.0338376351, 0.0304118562, 0.0422261283, 0.023556266, -0.0129187079, 0.0160133746, 0.0157585144, 0.0120252194, 0.0396632478, 0.0319739059, -0.0100458022, 0.0679491758, 0.0616248138, 0.0320242457, -0.0235061608, 0.0831768736, 0.007457891, 0.0354046673, -0.0040051714, -0.0228032023, 0.0187870711, 0.0462682173, -0.0337589718, -0.0021387369, 0.0742639005, 0.0152735831, -0.0533461571, -0.0022612612, -0.0771564543, -0.0205256324, 0.0175270662, 0.0385658592, -0.0859588161, 0.000762998, -0.0111728897, 0.035801705, -0.0369241983, 0.0009798636, 0.020512376, -0.069711104, 0.0401948206, -0.0016934349, -0.0311262533, -0.0048645427, -0.0047631739, -0.01512028, 0.0209837109, 0.0397626385, 0.0175359771, 0.0041752225, -0.0187449213, -0.0111935511, -0.0406115092, -0.068140991, 0.0269114319, -0.0177264661, 0.0063215746, 0.0637353957, 0.0596345067, -0.006555282, -0.053904999, 0.020949183, -0.0052821576, -0.0183772482, -0.0162650328, 0.0236863233, 0.0265972447, -0.003856048, -0.0727324188, 0.0250321478, -0.0422843359, -0.002126599, 0.0173548684, 0.0590626448, -0.0082675368, 0.0036654926, -0.0302707627, 0.0444338992, 0.026182808, 0.0393495634, 0.0169705972, -0.0280455295, 0.006843918, -0.0129581317, 0.0113885468, 0.001953441, -0.0623327643, 0.0656083003, -0.0079996316, -0.0393847227, -0.0526108779, -0.0451422371, 0.0133128567, -0.0167201981, 0.0199906193, 0.0032737623, 0.049219165, -0.0091219051, -0.0004784836, 0.0137835406, -0.0066462546, 0.0304955989, -0.0689157248, -0.017407978, 0.0343782194, -0.0055445009, -0.0039427662, -0.006481078, 0.0043888888, -0.0278837308, -0.0259295069, 0.0411940068, 0.016271783, -0.0155855361, -0.0122646671, -0.0392038338, -0.0035630129, 0.0249925721, -0.041434437, -0.0320621841, -0.0166070946, 0.0307898838, -0.0098815737, 0.0371094607, -0.0262646601, -0.0179277752, -0.0019661086, 0.0515366942, -0.0203018729, -0.0530208945, 0.0357120708, 0.0603475235, -0.0195428021, -0.0173752122, -0.0017707838, -0.0240374058, 0.0063284356, -0.0294736326, -0.0266747605, -0.0217115432, -0.0278749559, 0.0089844465, -0.0308408774, 0.0141584082, 0.0366239771, -0.0726026669, -0.0047203186, -0.038342353, 0.0538270622, -0.0004651389, 0.0471787862, 0.0203400608, -0.0177786816, 0.0030028599, 0.0326943547, 0.0101881847, 0.0449407101, -0.0073570199, 0.0734022334, -0.0307763536, -0.0176732931, 0.0324717127, 0.0210946929, -0.0213273782, -0.1169902533, 0.0087510422, 0.0039920518, 0.0404340886, 0.0136871645, 0.0304639079, 0.0183474272, -0.0119528063, -0.0158807728, -0.0023707745, 0.0085458625, -0.0162697807, 0.0817129984, -0.0046065692, -0.0105776871, -0.0302272458, 0.0819903538, -0.0206205957, -0.0044934228, 0.0057099159, -0.0344044007, -0.0252878536, -0.0474844687, 0.0205446221, 0.0013119358, -0.0820557624, 0.0023754416, -0.0830251947, -0.0556619689, -0.0129259862, -0.0247131065, -0.0207741112, -0.0077648619, 0.028566923, 0.0607038364, 0.0207751747, -0.0279101077, -0.0556932166, 0.0496715754, -0.0743019804, 0.0028331641, 0.0474230722, -6.279559148e-33, 0.0190857444, -0.0367414653, 0.0210348442, -0.0572584905, 0.0072662341, 0.0081938384, -0.0435742065, 0.0246389117, -0.0324652269, 0.0354775675, -0.0261344537, 0.0096538691, 0.0141499462, 0.029617263, 0.0260618217, -0.0556251928, 0.0093616471, 0.0089807836, -0.0226569716, 0.0487254262, -0.0145031577, 0.011840404, 0.0380077139, -0.0587213226, 0.0864257887, -0.0426000394, 0.0255693626, 0.0422641151, -0.013359597, 0.0607933924, -0.0158703178, 0.0619035512, 0.0525907949, -0.0225147121, 0.020859696, 0.0257225782, -0.0491472892, -0.0088738268, 0.0170921646, -0.0021001957, -0.0549531989, -0.0470507666, 0.0250673685, -0.0171605796, -0.0591131821, 0.015888406, -0.0018567458, -0.0248441659, 0.0337774865, -0.0226051211, -0.0187223125, 0.014529149, -0.0050824024, 0.0138521064, -0.0278587528, 0.0867501572, -0.0509362295, 0.0153283868, -0.0437956937, 0.013910789, 0.0046491819, 0.0173158236, 0.0621469282, -0.022509912, -0.0320909917, 0.0208686236, 0.0083861789, 0.0103529189, -0.0202299487, 0.0006759121, -0.0437828116, 0.021935463, 0.0172823705, 0.0891224369, -0.0362066738, -0.0268596504, -0.0961783081, 0.0546552874, -0.0592593364, 0.068010956, 0.0169236101, -0.0316017941, -0.0398364104, -0.026066957, -0.0476350822, 0.0001613645, -0.0486438386, -0.0287234765, 0.032972753, -0.0147836152, 0.0007817821, -0.0138841374, 0.006492787, -0.0191882029, -0.0196513385, -0.0009833601, 0.0196742397, -0.0340067148, 0.0014063832, 0.0426612422, -0.0721399859, 0.0428667851, -0.0542247556, 0.0060966155, 0.0090288194, 0.0270539615, -0.0181355588, -0.0560264476, -0.0378375612, -0.0152325984, 0.0068271337, 0.0434243754, -0.0170895644, 0.0389906801, 0.0264628232, 0.0145854298, 0.0117315818, 0.0838708952, 0.0225363355, -0.0047342903, -0.0601994656, -0.0558643378, -0.0101964893, 0.0282374769, -0.0584577732, 0.0216321051, -0.0484217443, 0.0437883846, 0.0218270477, -0.0278238393, -0.0073197088, -0.0318674445, 2.756e-7, 0.0631953403, 0.0273247622, -0.0191229098, -0.0091031091, 0.0219034683, 0.0222921018, -0.0032369851, -0.0011517227, -0.0090431497, -0.0240103845, 0.0043344744, -0.0118908174, 0.0554303341, 0.0516518541, -0.0632458106, -0.0121992445, -0.0891348273, 0.0070583099, -0.0261340067, -0.0193313956, 0.0125320125, 0.0260672718, -0.0771644562, -0.0308335535, -0.0303106401, -0.0101922462, 0.0512764119, -0.0485555753, -0.0302116089, 0.0451440737, 0.024407493, 0.0083715348, 0.0497498773, 0.0351942889, -0.0297316182, -0.0154227447, 0.0251463652, 0.0819154903, -0.0171537064, 0.0138362693, 0.0212367307, -0.0168852862, 0.030623937, -0.0990092158, 0.0448533632, -0.0174750742, -0.0474104993, 0.0022516688, 0.0195209365, -0.0427661389, 0.0847000629, -0.0480909906, -0.058594726, 0.0260064341, 0.0490083694, 0.0326696225, 0.0116924411, 0.0034008191, -0.0189346876, 0.0002158596, -0.0061579123, -0.0755815879, 0.0164521281, -0.0003167741, -0.0788034648, -0.0355985314, 0.0327690989, 2.095674084e-34, 0.0146912877, 0.0320300683, 0.0208034329, 0.028682882, 0.0563318953, 0.0297211576, 0.0070671267, 0.0052838153, 0.0189813375, -0.0353984721, -0.0083848266 ]
http://arxiv.org/abs/2310.13127v1
http://arxiv.org/pdf/2310.13127v1
Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Models
2023-10-19T19:52:55
2023-10-19T19:52:55
Zhihan Zhang, Shuohang Wang, Wenhao Yu, Yichong Xu, Dan Iter, Qingkai Zeng, Yang Liu, Chenguang Zhu, Meng Jiang
cs.CL
cs.CL
Large language models (LLMs) can perform a wide range of tasks by following natural language instructions, without the necessity of task-specific fine-tuning. Unfortunately, the performance of LLMs is greatly influenced by the quality of these instructions, and manually writing effective instructions for each task is a laborious and subjective process. In this paper, we introduce Auto-Instruct, a novel method to automatically improve the quality of instructions provided to LLMs. Our method leverages the inherent generative ability of LLMs to produce diverse candidate instructions for a given task, and then ranks them using a scoring model trained on a variety of 575 existing NLP tasks. In experiments on 118 out-of-domain tasks, Auto-Instruct surpasses both human-written instructions and existing baselines of LLM-generated instructions. Furthermore, our method exhibits notable generalizability even with other LLMs that are not incorporated into its training process.
[ 0.0427855216, 0.0302544702, -0.0117295738, 0.0032582597, -0.0284169447, 0.0282890927, -0.0053263353, -0.0118493624, 0.0277816709, -0.0873273686, -0.0366029777, 0.0020789821, 0.009812708, 0.0161939729, 0.0442707092, -0.0501007698, 0.0079469671, -0.0366857126, -0.0243079811, 0.0089340769, -0.0136605008, 0.0390252769, -0.0062173912, 0.04685634, 0.0175500289, -0.0110554518, 0.001695817, 0.0041305809, 0.0224666744, -0.0373978838, 0.0297895838, 0.0747947171, 0.0056113466, -0.0194301773, 0.0000021123, -0.0255371239, -0.0223423112, -0.0209383648, -0.0205070544, 0.0089318063, 0.0169746578, -0.004896584, -0.0124941561, 0.0423348323, -0.0544681512, -0.0049922359, 0.0092821456, 0.0409637876, 0.0934155881, 0.0970122442, 0.0067123114, 0.0023893202, 0.0196227431, -0.0354510881, 0.0169770177, -0.0366662666, -0.0056691165, 0.0391620658, 0.0065440075, 0.0717673376, 0.002313057, 0.0205441862, 0.0340611078, -0.0272001754, 0.0431744531, 0.0322676301, -0.0176878069, -0.0020126433, -0.0315790288, 0.1115580574, -0.0450568944, -0.0078454316, -0.0012677429, -0.0020814466, 0.0062373546, -0.0180368759, -0.0474869832, 0.0212275628, 0.0265846029, -0.0017232402, 0.0039396207, -0.0033706583, 0.0242991485, 0.0091220001, 0.0462689362, 0.0659833848, 0.0279743969, -0.0409916341, -0.0012609942, 0.002402219, -0.020371139, -0.0783152282, 0.0070574675, 0.0375545956, -0.0450591072, 0.0116347056, -0.0344941281, 0.0085224686, 0.0112198014, -0.0298707485, 0.1030496433, 0.0265287831, -0.0222217515, 0.0532599762, -0.0439330749, 0.0526874401, 0.0318792053, 0.0266390685, -0.0392517559, 0.0294383485, -0.074407272, -0.0180724952, -0.0144023569, 0.0138241351, -0.0308683272, -0.0243156608, -0.0472598821, -0.0070217587, -0.0330068022, -0.0036261971, 0.0657476559, 0.0327885114, -0.0176758394, -0.0393262096, -0.0355356224, -0.0312581137, -0.0329068825, 0.0035903787, -0.0140095558, -0.0340073705, -0.0065471334, 0.0158573035, -0.0086371126, -0.0023405664, 0.0321948938, 0.0697383657, -0.0098772356, -0.0153202992, -0.0273106676, 0.0015757902, 0.0035879938, -0.0502309911, -0.0195074137, -0.0618576705, -0.0021161283, 0.0121944677, 0.0026638065, -0.0216536131, 0.0345896259, 0.0316289999, 0.0051888619, 0.0719629526, 0.0116721382, 0.0134093529, 0.0357226394, -0.0092097195, -0.0023938389, 0.0441719182, 0.0147615029, 0.0252630692, 0.0078009227, 0.0100379651, 0.0359221362, 0.0432486199, -0.014021663, 0.0046098945, -0.0205324739, 0.0086444402, 0.0016221158, 0.0366981328, 0.0370579921, 0.0283188019, -0.0013506787, 0.0186663345, 0.0517621785, 0.0195441172, -0.0065802298, -0.0106272977, 0.0866541117, 0.0117345871, -0.0084038759, 0.0124826021, -0.0662533417, 0.043537125, -0.005752888, -0.0254102703, 0.024489183, 0.0436032005, -0.0087837093, -0.0762334839, -0.0101785017, -0.0247011706, 0.0231459364, 0.0139267026, 0.018506214, 0.0514179468, -0.0590319373, 0.0341984481, 0.0260047838, -0.0216695257, -0.0040809754, -0.0481818728, -0.0080169756, 0.1006622538, 0.0544324182, -0.0171117447, -0.0284161642, -0.0117142871, 0.0190830119, 0.0468926281, 0.0332442969, -0.0300862808, -0.0073319632, -0.0739284009, -0.0418974943, -0.0256906692, 0.0331425108, 0.0294993166, 0.0366268605, -0.0446348265, 0.0367767438, -0.0314286575, -0.0887494013, 0.0444652252, -0.0346071608, -0.0904536843, 0.0161933731, -0.0183088481, -0.0125932321, -0.0078797452, 0.0040747919, 0.0263362508, 0.0218709335, -0.0470197387, -0.0415811576, -0.0336969793, -0.0393293686, -0.0252414942, 0.0205757394, -0.031343095, -0.0184351634, 0.0481688716, -0.0598324053, -0.0302197766, -0.0039287023, -0.0284476057, 0.0143460948, -0.0120686619, 0.0411770903, 0.0398601741, -0.0263340045, -0.0606601015, 0.064395383, -0.0170106329, 0.0326373279, 0.0495467819, 0.0101023261, -0.0212603938, -0.0218507778, 0.0253071301, -0.0216580741, -0.0140167726, 0.0102735069, 0.0388916098, 0.0600589812, -0.0404154994, -0.0249022152, -0.0909909755, 0.0243900549, -0.0319424644, -0.0029431421, 0.0386063941, 0.022474274, -0.0005492364, -0.0300308652, -0.0406765305, -0.0256076343, 0.0103197591, -0.0027808978, 0.0350360125, -0.0105053438, -0.0064653503, -0.0469743647, -0.005981944, 0.0013705132, 0.0083176522, 0.0135722468, 0.0549635813, -0.0796313956, 0.0683215037, -0.0126386127, 0.0122863716, 0.0101426514, -0.0690296367, 0.0102792205, -0.0207180213, 0.0474450104, 0.10459584, 0.0182597227, 0.0432618223, 0.0589880086, 0.0174071286, -0.0903175101, 0.0094470875, -0.0174414758, -0.0158239976, -0.0173975024, -0.0626459867, -0.0041795205, 0.0791853145, 0.0092830742, 0.0060456325, -0.0588610247, 0.0189760588, -0.034439031, -0.0167869758, -0.0303060878, 0.0014832156, -0.0158983637, 0.0098175397, -0.0343358442, -0.064632155, 0.046377968, -0.0302008968, 0.0057184547, -0.0513137393, -0.020084573, -0.0543561503, 0.0461662151, 0.0245308261, 0.0184686445, -0.0006350517, -0.0230313335, -0.0485637635, 0.0204965193, 0.01924254, -0.0256114788, 0.0135461716, -0.0515662208, -0.0053995149, 0.0190097354, -0.0355167091, -0.0542221889, -0.0091267293, -0.0116323847, 0.0155226644, 0.0305113941, -0.0012335656, -0.0098415688, -0.0164333768, 0.0276522096, 0.0440123938, -0.0422734953, -0.0185294542, -0.0349064283, -0.0039960868, 0.0572403781, -0.0165439211, -0.0174533892, -0.0117573235, -0.0049370015, 0.0109160682, 0.0255291965, 0.0194868203, -0.0176384114, 0.0057105953, 0.042065952, -0.0477565452, -0.0322709568, 0.0361666121, 0.0461861081, -0.0626646206, -0.0167340487, 0.1524827927, 0.0554975383, -0.0143306041, 0.0111692045, 0.0045302249, 0.0079329591, 0.03336576, 0.028566042, -0.0623202249, -0.042591814, 0.0074943788, 0.030194629, -0.0082290387, -0.0036575596, -0.0153674753, -0.1599341035, 0.0331237502, 0.0178961474, 0.011818896, -0.0176415592, -0.0480925851, -0.0093248347, -0.0157897715, 0.0080460235, 0.0068556978, -0.0331610739, 0.0099286661, 0.0312465243, -0.0237568971, -0.0766013637, 0.0394650474, -0.0270032361, 0.0673800856, 0.0997135043, 0.0196281318, 0.0194214601, -0.0061131013, 0.0247271154, 0.0186857972, 0.0088954782, -0.0208598897, 0.0543350317, -0.0160582308, -0.0038636227, 0.0060269311, 0.0217176098, -0.0509970039, 0.0214258563, -0.0179664604, 0.0428076312, -0.0177375823, -0.0110424776, -0.0061101224, -0.0004504071, 0.0216195732, 0.0807401985, 0.0136383018, -0.036963433, -0.0246295948, -0.0755249783, 0.0111125838, -0.0933054984, -0.0480989926, 0.0209551845, -0.0243067369, -0.0133457808, -0.1023716182, -0.047659561, 0.0646161512, 0.024010295, 0.0373210311, -0.0062038377, 0.0128178522, -0.014931405, -0.0236039497, 0.0235847738, -0.0121717677, 0.0037990927, -0.0792943537, -0.0725300461, 0.0656076223, -0.0093613695, -0.0292464495, 0.0046589086, -0.0224746633, -0.056257356, -0.0087855319, 0.0956894606, 0.017997073, 0.0329181477, -0.0204188395, -0.0788382739, 0.0036746198, 0.0144754685, -0.0458172113, -0.0311597269, 0.0106242467, -0.0034766162, -0.0015874379, 0.0387235396, -0.0602481291, 0.0663214028, -0.002920398, 0.0475123785, -0.0177994482, -0.0335431658, 0.0454688631, -0.0025296065, 0.0159237087, -0.0452156812, 0.0111003499, -0.0320398733, 0.0131393354, -0.0258785766, -0.045462992, -0.051240202, 0.0727235004, 0.0331336111, 0.0221197903, 0.0033209573, 0.0149368793, -0.0261312723, 0.0220768452, -0.0427837148, 0.0045066234, 0.0227346886, -0.0011489275, 0.0179122239, -0.0140843578, -0.0209031682, 0.0297114886, 0.008676419, 0.0347180218, -0.0186325852, 0.0359604396, -0.003276557, 0.0078015067, -0.0262887552, 0.0529392846, -0.0401868485, -0.0418395884, -0.0445561744, 0.0279797446, 0.0830700919, -0.0170946065, 0.0606648326, -0.0209979955, -0.0137035521, -0.0065990593, 0.0162229519, 0.0152444858, -0.0067603095, -0.0014552197, 0.0538224652, -0.0030878116, 0.00802314, 0.0789095834, 0.0265913066, 0.0376632586, 0.015170658, 0.0000428032, -0.0528210998, -0.0087590134, 0.0163679607, 0.0026002419, -0.0018481177, 0.0517590083, -0.0131372828, -0.0622415505, -0.0159937441, 0.0199315436, -0.0089773005, -0.0381053351, 0.059241835, 0.0452479497, -0.028838275, -0.0156140439, -0.071190387, -0.0308980234, -0.0161438491, -0.0438466407, -0.0397283398, -6.487343203e-33, -0.0443518907, -0.0633885935, 0.0040368838, -0.0332895555, 0.0342937969, -0.0084382193, -0.01641698, -0.0121863578, 0.0397936329, 0.0320056714, -0.001058085, -0.0040358035, 0.0147967404, 0.0335262902, 0.0471701548, -0.0047807111, 0.0588383935, -0.0116927102, -0.0384233892, 0.0281813331, 0.0080829868, 0.0263551679, 0.0216694344, -0.0427452363, 0.0355569459, 0.0112627763, -0.024966592, 0.0114241047, 0.0063550994, 0.0635227934, -0.00655154, 0.0152738057, 0.0273116715, -0.0659430325, -0.0131233577, 0.0231212582, -0.0431060307, -0.0130477995, 0.0205463003, -0.0228210967, -0.0434066989, -0.0349801369, 0.0215807725, -0.0278887618, -0.0364871062, 0.0032144184, 0.0445357226, -0.0286679789, -0.0017928027, -0.0058344766, -0.0731596127, 0.0233122353, -0.016578747, -0.0878865048, -0.0061088204, 0.032305751, -0.0159285124, -0.0153772263, -0.0122558642, 0.0334048718, 0.0058647618, 0.0722104758, 0.0669736639, 0.0126853688, -0.0197249297, 0.0343522877, -0.0186791737, 0.0033986447, 0.0068768244, -0.0223441347, -0.0028350633, 0.0543641187, 0.0388890803, -0.002410097, 0.0191862769, 0.0293779969, -0.0297465175, 0.061099451, 0.0171862375, 0.0085112359, 0.0067583313, -0.0028136719, -0.0431972705, -0.0127710802, -0.0241371207, -0.0176637135, -0.0140805794, -0.0313910656, 0.0456917882, 0.0402575135, -0.042835772, -0.0265683029, 0.0017358941, -0.0139033105, -0.022822218, 0.008821249, -0.0049728011, 0.0204049163, 0.0203534309, 0.0256106723, -0.0488515683, -0.0136056216, 0.0298584756, 0.0072029205, 0.022923138, 0.0202195253, 0.0134052671, 0.0018525987, -0.0729726031, 0.0093062939, -0.0253118128, 0.0249540843, -0.024340339, 0.0406497344, -0.007224347, 0.0058632428, -0.0217532869, 0.0601498224, 0.0002288654, -0.0224693865, -0.0303438213, -0.0094401659, 0.0183770917, 0.0111303097, -0.0402240194, 0.0207468756, -0.0335352495, -0.0101025524, 0.0101956865, -0.0160701219, -0.0266938377, -0.0059371581, 2.731e-7, 0.0412804782, 0.0698383972, -0.0122080036, 0.0591926873, -0.0032873843, 0.0423058681, -0.0214092731, 0.0240611006, 0.0264459383, -0.0321125947, -0.0152818235, 0.026403252, 0.0538144596, -0.0129948063, -0.0884405375, -0.0174391158, -0.0340334475, 0.0047253659, -0.0444529988, -0.0311667006, 0.0294726808, 0.0763672441, -0.0393823311, 0.0082224132, -0.0215032771, -0.0317052715, 0.0546809174, -0.0176793486, -0.0164626166, 0.0263159852, 0.0212693792, 0.0406708829, -0.0279869568, -0.0044476534, -0.0403641984, -0.0019082284, 0.0315055698, 0.1065004468, -0.0219805147, -0.0385660119, -0.0079797162, 0.000617922, 0.0169440154, -0.034647245, 0.0588466786, -0.05389468, -0.0073583093, -0.0229951218, -0.0185459051, 0.0144094797, 0.0232985541, -0.0386292376, -0.0345679484, 0.0251821894, 0.0314113237, -0.0210010838, -0.0362071097, -0.070340924, -0.032319434, 0.0267107412, -0.0077362377, -0.0352450609, -0.0235692766, 0.002632542, -0.0125915948, -0.0507577509, 0.0038322215, 2.700278583e-34, 0.0376415364, 0.003315279, 0.0435115546, 0.036910478, 0.0303694215, 0.011817595, -0.0547800064, 0.0208112616, 0.0226670951, -0.0692374408, -0.0147339422 ]
http://arxiv.org/abs/2310.13106v1
http://arxiv.org/pdf/2310.13106v1
Unsupervised Candidate Answer Extraction through Differentiable Masker-Reconstructor Model
2023-10-19T19:07:08
2023-10-19T19:07:08
Zhuoer Wang, Yicheng Wang, Ziwei Zhu, James Caverlee
cs.CL
cs.CL
Question generation is a widely used data augmentation approach with extensive applications, and extracting qualified candidate answers from context passages is a critical step for most question generation systems. However, existing methods for candidate answer extraction are reliant on linguistic rules or annotated data that face the partial annotation issue and challenges in generalization. To overcome these limitations, we propose a novel unsupervised candidate answer extraction approach that leverages the inherent structure of context passages through a Differentiable Masker-Reconstructor (DMR) Model with the enforcement of self-consistency for picking up salient information tokens. We curated two datasets with exhaustively-annotated answers and benchmark a comprehensive set of supervised and unsupervised candidate answer extraction methods. We demonstrate the effectiveness of the DMR model by showing its performance is superior among unsupervised methods and comparable to supervised methods.
[ 0.0317313671, 0.0601413585, -0.0095339613, 0.0632850081, -0.0386051238, 0.0207135025, 0.0201191716, -0.0201444589, 0.0035968309, -0.0371150114, 0.0651669055, -0.0241941083, -0.0356950648, 0.0329272971, 0.0027653144, -0.0232752766, 0.0012453927, -0.0128359869, -0.0038312916, 0.0094668502, 0.0209021736, 0.0180462189, -0.0182122383, -0.0101485969, -0.0029594267, -0.0213496517, -0.0222245883, -0.0267460141, 0.0291317683, -0.0351614654, 0.0549071617, 0.0271191187, 0.0236300454, 0.0267258007, 0.0000019147, -0.0548587628, -0.0484485961, 0.0013594242, -0.0506421886, -0.0383403711, -0.0087372661, -0.0021172587, 0.0377268344, 0.0119607905, -0.075140208, -0.0065447097, 0.0188096575, 0.0248684455, 0.0860086679, 0.0448029414, 0.0029111984, -0.0262763407, 0.0103271026, -0.0077632442, 0.0420658849, -0.0030320599, 0.0284821298, 0.0087234564, 0.0032810557, 0.0204748958, -0.0113991471, 0.0361851379, 0.0353546068, -0.0228659306, 0.042898953, 0.0213315524, -0.0023343076, 0.0035042663, -0.0078060962, 0.1063864902, 0.0075313044, 0.006081915, 0.0328506716, -0.0217072573, 0.0118984161, 0.022765439, -0.0320660323, 0.0235915538, -0.0364520252, -0.0177007262, 0.0220604055, 0.0216794834, -0.0198011156, -0.0116835106, -0.0488186143, 0.0685496032, 0.0009342837, -0.0168885794, -0.0435374528, 0.0089551574, -0.0166325811, -0.0695725754, 0.0224568471, 0.0728309304, 0.007956095, 0.0082216738, -0.0384929143, -0.0547972955, 0.0017895935, 0.009996471, -0.0228260495, -0.0061502843, -0.0237004347, 0.0310346913, -0.0243142825, 0.0253434554, -0.0336601883, 0.0180578921, -0.0570936762, -0.0298245829, -0.0223159157, -0.0251988992, -0.020424189, 0.0746976063, -0.0834598914, -0.0033402371, -0.0229562707, 0.0389074832, 0.000352604, 0.0159344431, -0.0128575331, 0.0202150103, -0.0536138304, 0.0104511287, -0.0164846536, -0.0221049413, -0.055682499, 0.0001981922, 0.064667955, -0.0618894324, 0.0073869182, 0.0273425039, 0.0746835843, -0.032755211, -0.0023270929, 0.0294420328, -0.0143627338, -0.0044336859, -0.0010302346, -0.0563388914, -0.0156525895, -0.0326060615, -0.0003358908, -0.065198116, 0.0731194839, 0.0204565432, -0.0638502538, -0.0054059192, 0.0282821786, 0.0408656523, 0.0297571421, 0.0474248827, 0.0050691958, -0.0316071957, 0.0814668387, 0.0144868065, 0.0022451705, 0.0245647635, 0.031848412, 0.0158347655, 0.0606996082, 0.0005314848, 0.0401957259, -0.0015104568, 0.0244260021, -0.0194560792, 0.0227656476, 0.0605904348, 0.0008874796, 0.0020301871, 0.0033342405, 0.0401570871, -0.0164270531, -0.0507179759, 0.0225805137, 0.0103796246, 0.0162245966, -0.0042876564, 0.0359589681, 0.0412439108, 0.003690005, 0.0629420951, -0.0089759454, 0.0428759344, 0.005265214, 0.0290131606, 0.0120504098, 0.0240344461, -0.0092012286, -0.0327681191, 0.0269888025, 0.0174345449, 0.013356369, 0.0531406216, 0.0118620126, 0.0296040867, -0.0175009109, 0.0088170003, -0.0144473026, -0.0441208556, 0.0256614704, -0.0079873642, 0.0579871424, -0.0159309879, 0.0213214755, -0.0495501868, -0.036627613, -0.0317248031, -0.0167236477, 0.0348262489, 0.0233980026, -0.0295350775, 0.0191937853, -0.0463878028, -0.0239750929, -0.0390071198, -0.0158791095, 0.0115807876, 0.0123451194, 0.005495239, 0.0472858846, -0.0255536102, 0.0150783323, 0.0681028068, -0.0038963414, -0.0635340437, 0.023948811, -0.0073797056, 0.0194949117, 0.0194731355, -0.0026893818, -0.0066241664, 0.0344236009, -0.066557996, -0.0120280674, -0.0136594092, -0.0902494416, -0.0742803589, 0.0206799563, -0.0460282676, -0.01996601, 0.0497825481, -0.0485241078, -0.0451188162, -0.0340169705, -0.0274428669, -0.0096153673, -0.0578399263, -0.0412534587, 0.0485202782, 0.0281166825, -0.0707514063, 0.0780299678, 0.0212099608, -0.0000609053, 0.0310859419, 0.0247204229, 0.0165889673, -0.042335663, -0.0125050088, -0.0108897761, -0.0525128804, -0.0091918316, 0.0508743413, -0.0005544216, -0.0560576133, -0.0311535951, -0.0512248352, 0.0317688771, -0.0316151679, 0.0201276019, 0.04923103, 0.0554690436, -0.0128782932, -0.0316840932, -0.0968060493, -0.0585955307, 0.0122939479, 0.0093456134, 0.0725598931, 0.0201790147, 0.026660407, -0.0451467074, 0.005335561, -0.0015647014, 0.0156511273, 0.0510764681, -0.0057055652, -0.044639077, 0.0062842537, -0.0223449636, 0.0360521264, 0.0217798147, 0.0133254975, -0.0018629808, -0.0261457097, 0.0293587316, 0.0608894303, 0.0308056641, 0.0150648039, -0.0263819676, 0.0042113648, -0.0788582414, 0.0337824635, -0.0606678724, 0.0458867252, 0.0295036286, -0.02572296, 0.0370082445, 0.0478997454, 0.0458293185, -0.0259480271, -0.0046661757, 0.05437015, -0.0134613812, 0.0044326629, -0.0774548724, 0.0169805139, -0.0297903698, 0.0532266013, -0.0045558466, -0.0247137286, 0.0773851424, -0.0267697703, -0.0207613707, -0.0415138975, -0.0055539981, -0.0757911131, 0.0274502542, 0.0326209143, -0.0023292126, 0.017837394, -0.0112072118, -0.0560825355, 0.0242603086, 0.0183695443, -0.050570894, 0.0190322064, -0.0446656421, 0.0038264983, -0.0279731918, -0.0318564288, -0.0841472819, -0.074409239, 0.0252218433, -0.0148133626, 0.0279575679, -0.0083539663, 0.0225491878, 0.0054307613, 0.0148317674, 0.0600774065, -0.0329618789, -0.0089649195, -0.0470453426, 0.1185432076, 0.0925171301, 0.0534864664, 0.040133357, -0.0295809377, 0.0356674604, 0.0564144515, 0.0220346451, 0.0449886546, 0.008440651, -0.0072201993, 0.0173611119, -0.047380846, 0.0419497229, 0.0064621153, 0.0853371769, -0.0540755279, -0.0423631556, 0.0607344843, 0.0254456215, 0.0160321556, -0.0158291832, 0.0160708651, 0.0171663594, 0.0053196508, 0.0312604606, -0.095177114, -0.0106204506, -0.0431489535, 0.0268465094, -0.0259259734, -0.0403766111, 0.0088308044, -0.1053156331, 0.0312016346, -0.0240208674, -0.0849003717, 0.0083236871, -0.0082056094, -0.0064795334, 0.0147090713, -0.0239620227, 0.0178286787, 0.0074706967, 0.0010462365, 0.0126659684, -0.0283063743, -0.0050215041, -0.0066501279, -0.018865237, -0.0187392011, 0.0509850942, -0.0097264647, 0.014708912, -0.0124237724, 0.0178940259, -0.1125904545, -0.031971246, 0.0259087514, 0.0321562141, -0.0295113064, -0.0129720764, -0.0384024344, 0.0854495466, -0.0275455173, 0.0043528378, 0.0558930449, 0.0492954031, 0.0038947701, 0.0249084756, -0.0405589454, 0.0267740134, 0.0203643739, 0.0632230267, 0.0391668938, -0.0418689921, -0.0243783053, -0.0320064686, 0.0394886918, -0.0980267227, 0.012337897, 0.015796043, 0.0145132691, 0.0797241107, -0.0999871567, -0.0569062158, 0.0178515464, 0.0103910416, -0.0165305696, 0.0064644949, -0.0170996338, -0.0323093161, -0.0412166864, 0.0069991518, -0.0111069018, -0.0165072568, 0.0002041684, -0.043976862, -0.0314788744, -0.0536014289, -0.0387798138, 0.0069447407, -0.0837224498, -0.0212079138, 0.0303000472, 0.0317099988, 0.0174757149, 0.0475618429, -0.0062904013, -0.0075225211, 0.0431082882, 0.011213664, -0.0262410883, -0.0167891774, -0.0371528715, 0.0101133818, 0.0001777962, -0.0100427, -0.0448966585, 0.0232966468, 0.0165657718, 0.027997354, -0.0049881181, -0.0213050656, 0.0420631394, 0.0112008378, 0.0032046123, 0.0407819301, 0.009483167, -0.032998547, 0.0192613658, -0.0160550773, -0.0404988229, -0.0366141163, 0.0316874534, -0.0010201081, -0.0463960804, 0.0169408731, -0.0019727971, -0.0100462046, 0.0751386061, -0.0435085595, 0.0065517137, 0.025720587, 0.006426583, -0.0084368894, 0.0034758134, -0.0249461439, 0.0044881208, 0.0126306033, 0.09234377, 0.0313673615, 0.0814938992, 0.0009673599, -0.0444937795, 0.0235221349, 0.0031367594, -0.0874458477, 0.0174958315, -0.0510622375, 0.0252769515, -0.0056698518, -0.0256413203, -0.0207935032, 0.017836282, 0.001607449, -0.0145004932, 0.0356322266, 0.0178515818, -0.0011082146, 0.0237783566, 0.0248340163, -0.0216855183, 0.0240041725, 0.0328900851, 0.0011084724, 0.0066953111, 0.0314579122, 0.0382019244, -0.0803140923, 0.0257864986, 0.0007181506, 0.0749916807, 0.0160064381, -0.005504088, -0.028443573, 0.0039396794, 0.0160841495, 0.0244241562, 0.015766643, 0.0278761256, 0.0110546658, 0.0302815735, -0.0149309738, -0.0655063465, -0.0876504108, 0.0701627359, -0.0311482437, -0.0242615882, -0.0115530426, -6.583094564e-33, -0.0216099862, -0.0518774576, 0.0144366156, 0.0016555939, -0.021095613, -0.0030270207, -0.0070638023, -0.0337515436, 0.0039436258, -0.0235583019, 0.0056278105, -0.0141345793, 0.0037565366, 0.0711724758, -0.0219779219, -0.0360051356, 0.0112780938, 0.0157576744, -0.0357426219, 0.0408440344, 0.0463909879, 0.0320594274, 0.00917478, -0.0469985679, 0.0244243909, -0.0732890964, 0.0123914378, 0.0288448688, 0.0059258142, 0.0643476173, -0.0260782875, 0.0021210522, 0.0310104731, -0.0429273248, -0.0037148604, 0.0461393259, -0.0791949183, -0.0135046495, -0.0568208732, -0.0122287646, -0.0792505369, -0.0263687242, 0.0325776488, -0.0402851067, 0.0552677773, -0.0204957575, 0.03737491, -0.0067527522, 0.004183677, -0.0158682987, -0.0491658114, 0.0238043442, -0.0097685792, -0.010128065, 0.0033464087, 0.0866053924, 0.038778659, 0.0163095053, -0.0640166029, -0.0130450195, 0.0364213958, 0.0276391767, 0.0333650485, 0.0182130989, -0.0135743748, 0.0567657277, 0.0490610935, -0.0258811116, 0.0056245481, -0.0258375313, -0.0442082435, 0.0392045528, 0.0436516702, 0.0512312651, 0.0510825627, 0.051263798, -0.068862766, 0.0635240078, -0.0275951196, -0.0185825787, -0.0003828986, -0.0236694347, -0.0214654412, 0.0143918935, -0.0136995539, 0.0057292832, -0.0243824329, -0.0003339929, 0.0464294702, 0.0180647392, -0.0838930085, 0.0299579613, 0.0404341556, -0.035235621, 0.0154036907, -0.0313767083, -0.0097138351, 0.0033855599, 0.0165441427, 0.0089572985, -0.0342719853, 0.0259621553, 0.0130510395, -0.0063889865, -0.0001504055, 0.0231955554, -0.0019345549, -0.0219908692, -0.0561107509, -0.0038995421, -0.0382740125, 0.0288052186, -0.0592131428, 0.0287830234, 0.0018178261, 0.0140508432, -0.0252087582, 0.0512464941, 0.0111914957, 0.0188094676, -0.0325732268, -0.0250814538, -0.0027846687, 0.0185102709, -0.0086655617, -0.0034208121, 0.014483762, 0.0375953093, 0.0089649204, -0.0357119776, 0.0289782509, 0.0079346448, 2.499e-7, 0.0387157388, -0.0018209958, 0.0638331175, 0.0021076254, 0.0099671315, 0.0246079937, 0.0348265581, 0.0304597784, 0.022279378, -0.029788468, -0.0249376763, -0.0196502116, 0.0290800296, 0.0185531583, -0.0651047081, -0.0022199827, -0.0395676345, -0.0425524861, -0.0262118503, -0.011306419, 0.0772655308, 0.0617582686, -0.0137206009, 0.0051100394, -0.0226743165, 0.0097896336, 0.0325738043, 0.0083383033, -0.0209763926, 0.0480981544, 0.0310180485, -0.0051495493, 0.0041401293, 0.0166546814, -0.0139455236, 0.0237920675, 0.0226191524, 0.0493763462, 0.0508075655, -0.0437239446, -0.0280849226, 0.0252478663, 0.0293615162, -0.0716653392, 0.0555824898, -0.0742785931, -0.007285431, -0.043005757, -0.0814465284, -0.0083164731, 0.0074005555, 0.0081683742, -0.0206790343, 0.0372297242, 0.0054408573, -0.0105403801, -0.0177354775, -0.038148351, -0.0127328178, -0.0076693366, -0.0303199161, -0.0108899632, -0.0357747823, -0.0138797015, -0.0251907296, -0.0645107329, -0.0184491277, 2.317332829e-34, -0.0205520857, -0.0006438321, -0.028607836, 0.0200321693, 0.0237804987, -0.0165322777, -0.0080838883, 0.0167042278, 0.0009833234, -0.0674412027, -0.0061753648 ]
http://arxiv.org/abs/2310.13099v1
http://arxiv.org/pdf/2310.13099v1
No offence, Bert -- I insult only humans! Multiple addressees sentence-level attack on toxicity detection neural network
2023-10-19T18:56:50
2023-10-19T18:56:50
Sergey Berezin, Reza Farahbakhsh, Noel Crespi
cs.CL
cs.CL, cs.AI, cs.LG
We introduce a simple yet efficient sentence-level attack on black-box toxicity detector models. By adding several positive words or sentences to the end of a hateful message, we are able to change the prediction of a neural network and pass the toxicity detection system check. This approach is shown to be working on seven languages from three different language families. We also describe the defence mechanism against the aforementioned attack and discuss its limitations.
[ 0.0460414663, 0.0466509759, -0.0237133075, 0.0322825834, 0.0074695428, 0.0300281029, 0.0246311445, 0.0053058863, 0.0282545388, -0.0326126255, -0.0228660833, 0.0362610631, -0.011342016, 0.0030200891, 0.048394151, -0.0158519391, 0.0435527787, 0.0403300971, 0.0086801304, -0.0227314625, 0.0270775128, -0.0011226167, 0.0182255879, 0.032722801, -0.0424773581, 0.0003902238, 0.008967448, 0.0416908078, 0.04116638, -0.0315827653, 0.0186715331, -0.0077962154, -0.0058960472, 0.069671914, 0.0000016427, -0.0131219802, 0.0067614461, 0.0235745832, -0.0132825952, -0.0031731087, 0.0505211279, -0.0037488269, -0.0448740236, 0.0345370695, -0.0195025448, 0.0314031728, 0.0639151707, 0.0412800722, 0.1120549142, 0.0861211121, -0.0144096958, -0.0180023052, 0.0430779532, 0.0045761433, 0.014664107, 0.0130801732, 0.0622974597, -0.0585063323, -0.0292834416, -0.0250926334, -0.00492138, 0.0266133081, 0.0163845234, 0.0027526729, -0.0190527812, -0.0058214846, -0.014937425, -0.0258492585, -0.0040603182, 0.0470054746, -0.0555146262, 0.0148034021, -0.0313818492, 0.0395505317, 0.0153720425, -0.0596570671, 0.0168565344, -0.0055783861, 0.007863218, -0.0038373119, -0.0213304125, 0.0008607242, 0.0221048091, 0.0308531374, 0.0073391059, 0.0623125136, 0.0307374131, -0.0631567091, 0.0304781348, -0.0081616389, -0.0087129194, -0.0054086572, 0.0262613781, -0.010618466, 0.0195923243, 0.0195308868, -0.0446401313, -0.0792168975, 0.0216715932, -0.1561709791, 0.0391203202, 0.0025668999, -0.0856635273, -0.0120918201, -0.0007176863, -0.0061020465, -0.0199000593, 0.0218658149, -0.0017717392, 0.0278727226, 0.0137226805, -0.016477352, -0.0380040295, 0.0188162904, 0.0129047027, 0.0471086912, -0.0521873273, 0.0408422276, -0.0668376908, -0.0044713113, -0.0097535476, 0.0300273784, -0.000492654, 0.0320269875, 0.0196467377, -0.0185784604, -0.039737653, -0.0310344547, -0.0546961389, -0.0623220988, 0.0064074583, 0.0149950003, -0.0592732653, -0.0471932702, 0.0353064723, 0.1099373996, 0.0319430754, -0.020982828, -0.025679851, -0.0275430176, -0.0580685288, -0.028235469, 0.0165007859, -0.0131254215, -0.0199606065, -0.0324507169, -0.0453533828, -0.0781836584, 0.0188545082, -0.0027048616, -0.0683551803, 0.0544684269, -0.019642774, -0.0490558557, 0.0422917753, 0.0152259581, 0.0044132387, 0.0418146737, 0.0263126958, 0.0112460237, 0.0326953828, 0.0295445025, -0.0358884856, 0.0368846431, 0.0469914265, 0.0235210098, -0.0484094955, -0.0117013315, -0.0412863791, -0.011271229, -0.0302981194, 0.0761212707, -0.0093194311, -0.0712093636, 0.0768148005, 0.0201431792, -0.0724542588, 0.0581840314, 0.0403866693, 0.0113011915, -0.027062729, 0.0022375982, -0.052967675, -0.0142096253, -0.0691991672, -0.0514725596, 0.020452993, 0.0274046678, -0.006499507, -0.0405135676, 0.0084049162, 0.0012107893, 0.0597796999, -0.0505895093, 0.0316539593, 0.0226917081, -0.0314931311, 0.031027291, 0.0357282273, -0.0458398834, -0.0017540029, -0.0108970255, -0.0129457004, 0.0689179674, 0.0418101326, -0.0173828937, -0.0204745959, -0.0510060228, -0.0535617284, 0.0495872237, -0.0149765015, 0.0195952803, 0.0167681724, -0.0080206348, 0.0184439979, 0.0287398566, 0.0083116572, 0.0181592014, -0.0171482377, 0.0320779383, -0.0314495191, 0.0149900159, -0.0457936227, 0.0215603299, 0.0379406884, -0.0517954752, 0.0009899335, 0.0363614485, 0.0329593457, 0.0282749906, -0.0566783585, -0.0142953387, 0.0350595266, -0.0264083594, -0.0357282981, 0.0017779933, -0.0109995594, -0.0295766219, 0.0073089697, -0.0359122939, 0.0010667297, 0.1080273613, -0.004715343, 0.016453648, 0.0480835922, -0.0751342773, 0.0127844466, -0.0112018576, -0.0081859417, -0.0334382132, 0.0437371358, -0.0104227802, 0.0110470736, -0.0245803576, -0.0168995466, -0.0133456374, -0.0161211696, 0.0087491879, -0.0275386684, -0.1144365147, -0.0305417031, -0.0192557946, 0.0080306511, 0.0003816435, 0.0146587212, 0.0058276723, 0.0114421286, -0.0685045421, -0.0209966712, 0.0035505889, 0.0044652144, 0.0118578793, -0.0102940202, 0.013184539, 0.0036495407, -0.0029650703, -0.0335399881, 0.0004373879, 0.0292110089, 0.0104356203, -0.0264792014, -0.0387338549, -0.0060587856, -0.0331731848, -0.0575326681, 0.0622598641, -0.0000217627, -0.0783376023, -0.0023848058, -0.0320763886, -0.0302919261, 0.0435126796, 0.0210409444, -0.1042801812, 0.0369419605, 0.0259681046, -0.0181626584, 0.0986918136, 0.05063501, 0.0819333494, 0.0141594717, 0.0299059823, -0.0003583846, 0.0409837514, 0.0026269138, 0.0193794165, -0.0263226517, -0.0486270785, -0.0199598651, 0.0629360527, 0.0181643013, -0.0310629047, -0.0249943901, 0.0645051822, -0.027268583, -0.0391004197, -0.0240050908, -0.0901419893, -0.0170171093, -0.0463532545, 0.013054437, -0.0456643179, 0.079717502, -0.0268514585, -0.0154806711, -0.009956819, -0.0118196122, 0.0637551844, 0.0353372544, -0.007434913, 0.0329936519, 0.0337739699, 0.0082781352, 0.0084006591, -0.051444754, 0.0234154444, 0.0101456176, -0.0152779371, -0.0213518348, -0.0191934742, 0.0286192652, -0.0799019262, -0.0526896566, -0.0336458907, -0.0327397324, -0.0079736905, 0.0169542991, -0.014312244, -0.0530657992, -0.0015728786, 0.0056664138, -0.0490986519, -0.0363550037, -0.0035726712, -0.0013619012, 0.001282437, -0.007422545, -0.0455092937, 0.0468518585, -0.0092626, 0.0099729905, 0.0604095608, -0.0448459722, 0.0121397739, -0.0150281386, 0.003401116, -0.0126754502, 0.0101444907, 0.0194364935, -0.0192059726, -0.0016471202, -0.0122562088, -0.0301615782, 0.0511210635, -0.0041562035, -0.0060634678, 0.0361849144, -0.0053051235, 0.0257376693, -0.0104486849, 0.0344849117, -0.0785819218, -0.0048421556, -0.0010233186, 0.0281068683, -0.0693073794, -0.0136380354, -0.0099926917, -0.0802504346, -0.0090250196, 0.017158363, -0.0273467787, -0.0213236157, 0.030724721, -0.0269077737, -0.0016734083, 0.0506131202, 0.0005348884, 0.0382245742, -0.0390882529, 0.0010408165, -0.0122852186, -0.0040546353, 0.006618679, -0.0127755525, 0.0541087575, 0.0604879223, 0.0431407988, -0.0757000446, -0.0049860957, 0.0314122625, -0.008343447, -0.0262632091, 0.0010043341, 0.0658606887, -0.0263253581, -0.0306665916, -0.0172676556, 0.022820672, 0.013236763, 0.0416394807, 0.0088612344, 0.0316527821, 0.0081210369, -0.0202622563, -0.0534396432, 0.0505581051, 0.03299357, 0.0572492294, 0.0128483614, -0.1018401459, -0.0102300858, -0.0490187705, -0.0284309816, -0.0497083105, -0.0345855914, -0.0087696696, -0.0618752241, -0.0816205963, -0.0779929236, -0.0212077815, -0.0318776891, 0.0409791656, 0.0251371339, -0.0472464226, 0.0179072767, 0.0335003994, -0.0057116486, 0.0083819758, 0.0499668978, 0.0308583658, -0.0451502539, 0.0067663603, -0.0120063843, -0.0041311411, -0.0352124311, 0.0141455429, -0.0235400945, -0.0767709836, 0.0602437034, 0.094425559, 0.0173695385, 0.0212503597, -0.0225900039, -0.0673875958, 0.0640923604, 0.0484986603, 0.0317506418, 0.0165076498, 0.0960099101, -0.0109204864, 0.0223415382, 0.0252316352, -0.0194688793, 0.0574338883, 0.0665872842, -0.0108977882, -0.0444699302, 0.0132680433, -0.0139887976, 0.0211144593, 0.044593282, -0.0046894518, -0.0226259623, 0.0132053327, 0.0350908116, -0.0037320748, -0.0143856537, -0.0065363371, 0.0122651141, -0.0334951207, 0.0001383705, -0.0289250016, -0.0263136718, -0.0296036266, 0.0064796465, 0.0040936675, 0.0135102142, 0.029520357, 0.0296115689, 0.0388807096, 0.0280006267, -0.0415717326, 0.032729093, 0.0217717402, -0.012328269, -0.0290681422, 0.0067251669, 0.0202520899, 0.0125479726, 0.0049250419, 0.0564511716, -0.0145313665, 0.0245724525, -0.0225063469, 0.0038486375, 0.0045937551, 0.0376654267, 0.0220925827, -0.0087459609, 0.004259666, -0.0260480884, -0.0268774759, -0.0317703746, -0.0294531621, 0.003432628, -0.0010826737, -0.0181503221, 0.0016915628, 0.0194506347, -0.0037741452, 0.0658527315, 0.0157394297, -0.0440255068, -0.0077605816, -0.0061092703, 0.0575637445, 0.0090593444, -0.0133805098, 0.0052051796, -0.0321524441, -0.0605981648, 0.018713858, -0.0000765535, 0.0551500544, -0.0031347813, 0.0173881017, 0.0100773545, 0.0306622852, 0.0173738617, 0.0155701144, 0.0393350162, -0.0149378041, -0.047778219, 0.0039674989, -5.417241471e-33, 0.0018585352, -0.0187736209, -0.0578298196, -0.0029960328, -0.0025457658, -0.0097140158, 0.0241665654, 0.0084713344, -0.0134772519, 0.0335932672, 0.0106130503, -0.0027960208, 0.0060404632, 0.0067872987, -0.0168117229, -0.0188034791, 0.0400110111, 0.0195624903, 0.0028358048, 0.009127818, 0.0763758793, 0.0446109399, 0.0325609185, -0.0436074436, 0.0352986194, -0.0106064966, -0.0422926322, 0.0225767605, -0.0173110962, 0.0444550179, 0.0188493729, 0.0610293411, 0.0038417124, 0.0382309631, 0.0110573284, 0.0515407212, -0.0287013184, -0.0182422157, 0.0084267035, -0.0073285056, -0.014980779, -0.021671854, 0.0752413049, 0.004588332, -0.063074857, 0.0182270184, 0.0147402789, -0.0094291465, 0.0196715239, -0.0423112661, -0.0539337583, -0.0039140065, -0.0225803293, -0.0218412802, -0.0429802462, 0.0125980396, 0.0055011609, -0.0301415622, -0.0337578803, -0.0037852598, -0.0046660621, -0.0270836446, -0.0209835712, -0.0100224707, 0.0046839495, 0.0483139418, 0.0407162048, 0.0392184183, 0.0101421606, -0.0224342011, 0.0223553292, -0.0074641914, 0.0892345682, 0.0163224973, -0.0018843914, -0.049895525, -0.0634627789, 0.0002861042, 0.0792285725, 0.0105896462, 0.022328278, -0.0318328105, -0.0567227975, -0.0208399929, 0.0125252269, -0.0692911968, -0.014927173, -0.0381233841, 0.0067301914, -0.0351670757, -0.012621236, -0.0101367524, 0.006819502, -0.0484480448, 0.0532376878, 0.0113361841, 0.0051469221, -0.0224766657, 0.0042409943, 0.0154362218, -0.0022175175, 0.0047980095, -0.0094631696, -0.0315746367, 0.0297054294, 0.0051519638, 0.1010503843, 0.0196444914, -0.0573794171, -0.0052933204, -0.0066514895, 0.0462814122, 0.0289305542, 0.0681390092, -0.0003711704, 0.015359357, 0.0031342958, -0.0121207647, 0.0463764332, 0.0356971882, -0.0318611749, 0.0330175497, -0.0289627146, 0.0005907702, -0.0430950373, -0.0081213685, 0.0052242079, 0.0574489869, 0.0085901758, -0.1257162243, 0.0036118785, -0.0609725043, 2.583e-7, 0.0102756312, 0.0421141163, 0.0285731461, -0.0080679022, 0.0507630818, 0.040785946, 0.0109306108, 0.0729828328, -0.0362411216, 0.0453803912, -0.0111401025, -0.0274853017, 0.0199831352, 0.0268540569, -0.0531451777, 0.006339794, -0.1212210208, 0.0114323124, -0.0517563559, 0.011214924, 0.0511210002, 0.0756909177, 0.0548881516, -0.0270247273, 0.0019231752, -0.048062034, -0.0081804413, -0.012819143, 0.0203512516, -0.0235228781, 0.0338908173, 0.0067364145, 0.0038591838, 0.026441332, -0.0140798818, -0.0125719635, -0.0302977189, 0.0384686701, -0.0370640196, -0.0268777218, 0.0267830286, -0.0150012113, -0.0237382911, 0.0050516804, 0.0297664888, 0.0145177273, -0.0153953275, -0.0048116394, 0.0043789069, -0.034635812, 0.047427319, -0.0540604405, -0.0385786109, -0.0077364855, 0.0209843628, -0.0341310501, 0.0443041809, -0.0795681849, 0.0002735803, 0.0014561227, 0.0040978333, -0.0828736797, -0.0039356006, 0.012994335, 0.0380909555, -0.018941747, 0.0113771288, 1.887123248e-34, 0.0303922929, -0.0285874754, -0.0093063489, -0.0058191032, 0.0385111198, 0.0204760507, 0.0038846768, -0.0081663495, 0.0222242679, -0.0309757907, -0.0330863707 ]
http://arxiv.org/abs/2310.13092v1
http://arxiv.org/pdf/2310.13092v1
Do Language Models Learn about Legal Entity Types during Pretraining?
2023-10-19T18:47:21
2023-10-19T18:47:21
Claire Barale, Michael Rovatsos, Nehal Bhuta
cs.CL
cs.CL
Language Models (LMs) have proven their ability to acquire diverse linguistic knowledge during the pretraining phase, potentially serving as a valuable source of incidental supervision for downstream tasks. However, there has been limited research conducted on the retrieval of domain-specific knowledge, and specifically legal knowledge. We propose to explore the task of Entity Typing, serving as a proxy for evaluating legal knowledge as an essential aspect of text comprehension, and a foundational task to numerous downstream legal NLP applications. Through systematic evaluation and analysis and two types of prompting (cloze sentences and QA-based templates) and to clarify the nature of these acquired cues, we compare diverse types and lengths of entities both general and domain-specific entities, semantics or syntax signals, and different LM pretraining corpus (generic and legal-oriented) and architectures (encoder BERT-based and decoder-only with Llama2). We show that (1) Llama2 performs well on certain entities and exhibits potential for substantial improvement with optimized prompt templates, (2) law-oriented LMs show inconsistent performance, possibly due to variations in their training corpus, (3) LMs demonstrate the ability to type entities even in the case of multi-token entities, (4) all models struggle with entities belonging to sub-domains of the law (5) Llama2 appears to frequently overlook syntactic cues, a shortcoming less present in BERT-based architectures.
[ 0.0657328665, 0.0212743338, -0.022600133, 0.012060577, -0.0155904703, 0.0404669344, 0.0161302201, 0.041583959, 0.0285927933, -0.1056097075, -0.0376289748, -0.0443868116, -0.0344003439, -0.0187865682, 0.028269561, -0.0496618487, 0.032508947, 0.0044680135, 0.0681321099, -0.0098767215, 0.0175699126, 0.0102351569, 0.0182829909, 0.0134942466, -0.0308260191, 0.0054268744, -0.0093179327, -0.0012952447, -0.0170244817, -0.0128968339, 0.0015070643, 0.0692614019, 0.0256117489, 0.001850544, 0.0000018958, -0.085007675, 0.0098463176, -0.0335386917, -0.0414522067, 0.043387603, 0.006622341, -0.0386572555, -0.0263926256, 0.0080217291, -0.0186503585, -0.0094372639, 0.0008951457, 0.023696389, 0.008604086, 0.0863519534, -0.0187707879, -0.0173311606, 0.0620074272, -0.0417530388, 0.0003585274, -0.0243875682, 0.0316057876, -0.0419966355, 0.02826114, 0.0199670382, 0.0141649907, 0.0090998355, 0.0408441089, 0.0071734013, 0.0029651029, 0.0303129926, -0.0150074167, 0.0027304583, -0.0296537392, 0.0221756045, 0.0653354079, -0.0088970726, -0.0028710929, 0.0162197556, 0.054674346, 0.0013735938, 0.0042386656, 0.0674721971, -0.0180943385, 0.0000636625, 0.0376515463, -0.0120085822, 0.0054654959, 0.0244824868, -0.0231170878, 0.0384468623, 0.0262846518, -0.0532316267, 0.0241462961, 0.0277784802, 0.0119919963, -0.0994175449, 0.0441041552, 0.0423509106, -0.0028339266, 0.0439185463, -0.0465621799, -0.0198375005, 0.0605345294, -0.0526366197, -0.0033555699, 0.0290866811, -0.0545886345, 0.062312454, -0.0729743913, 0.0288125779, -0.000871476, 0.0545899943, 0.0072712866, -0.0270460453, -0.0167406332, -0.0311838537, -0.0605335496, 0.077703841, -0.0540291332, 0.0126861259, 0.0053126765, 0.0231149644, 0.0192426685, 0.0244516265, -0.0173335019, -0.0280618966, -0.0064634341, -0.0386562087, -0.0893547758, -0.0458732173, -0.0682246387, 0.0427532271, 0.0105142565, -0.0381950326, 0.0011151914, -0.0190115068, -0.0215106569, -0.0256856941, 0.0241661724, 0.0985025093, -0.0155838989, -0.0738628805, -0.0607179105, -0.0329078026, -0.0150936758, -0.0582074486, -0.0076399865, -0.0507718883, 0.0020435867, 0.0151829217, -0.0064441958, -0.0668114424, 0.0143224979, 0.0286119357, -0.0196496751, 0.0776836276, -0.0183951203, -0.0090773972, -0.012289485, 0.0114845261, 0.020261379, 0.050388623, 0.0201339275, -0.0066679572, 0.0221667364, -0.0041570677, 0.0135090118, 0.0655244365, 0.0089924792, -0.0032977676, -0.0133033488, 0.0142112691, -0.006418102, 0.0247568004, 0.0690246597, 0.0392640494, -0.0120434584, -0.0031601693, 0.0166238435, 0.0753782541, 0.013778151, 0.0298998822, 0.0281649139, -0.0583572425, 0.0445551425, 0.0353945717, -0.0761287361, 0.0170352049, -0.0213454664, 0.011745533, -0.0726460069, 0.0386886969, -0.0429809503, -0.0434433483, -0.01939236, -0.0035699971, -0.0245803799, -0.0304996036, 0.0292204712, 0.0509697981, -0.0446130484, 0.0924492106, 0.0224470403, -0.0488992669, -0.0119121019, -0.0163572542, 0.0167557821, 0.0711169615, 0.0450204015, -0.0216237083, -0.0412777439, -0.0132542821, -0.0359958373, 0.0700920969, 0.0338360853, -0.0115142455, -0.0176644959, -0.0406474993, -0.0179009009, -0.0034032455, 0.0511014424, 0.0151379304, 0.0064064153, 0.0170774944, 0.0254864022, -0.085861288, 0.0267978646, 0.0604896918, -0.0194031298, -0.0469061956, -0.0276832283, 0.0276750289, -0.003988496, 0.0404478833, 0.0173535012, -0.0232714154, 0.0284887254, -0.0192059707, 0.0108891297, 0.0152482176, 0.0048434101, -0.0168602094, 0.030088976, 0.026582282, -0.031665545, -0.0282448176, 0.0061857491, -0.0150422854, -0.0523703061, -0.021878805, 0.0705254897, -0.0538682975, -0.0013537123, -0.0023760966, -0.0321185403, -0.0198589303, 0.0710238963, -0.0126822339, -0.0296557974, 0.0129993772, 0.002979944, 0.0112929316, -0.0101817418, -0.021882778, -0.019731611, -0.0233724695, -0.0114275049, -0.0120042926, 0.0093563823, -0.0598975159, -0.0327970833, -0.0786422193, 0.0093652494, -0.0317232423, 0.033152733, -0.0106243994, -0.0253972746, -0.0397737622, -0.0192238428, -0.0086382395, -0.0287454762, -0.0279877037, 0.0171367601, 0.0315944739, -0.0382782221, -0.0318408869, -0.0258689877, -0.0094460128, -0.0371766947, 0.0244709961, 0.0185171086, -0.0478029624, -0.0295814909, 0.0715194494, -0.0009034374, -0.025700571, -0.011781496, -0.0184928086, 0.0074304068, 0.0387042277, 0.0370628051, 0.0556607172, 0.0124891382, 0.0385059267, 0.0105889617, 0.0061156382, -0.0658913851, 0.0183735527, 0.0287242625, 0.0044059567, -0.0528058223, 0.0101078982, 0.0200882964, 0.0694461241, -0.0451689884, 0.0012907276, -0.03299715, -0.0119543821, 0.0030212644, -0.0044200751, -0.0101764183, -0.0211527459, -0.0237441286, 0.0482714586, 0.0030138108, -0.0448192321, 0.0575236194, -0.0073406403, 0.0157605521, -0.0223426688, 0.0311310496, -0.0312578641, 0.0591182858, 0.0037411381, -0.0032898318, -0.0005299178, -0.0986336246, -0.0012403578, 0.0231717657, 0.0266320501, -0.0194711257, 0.0855621919, -0.0050277873, 0.0262019169, -0.0025881403, -0.0502977259, -0.0616271868, 0.0066972603, -0.0266298279, 0.0460420996, -0.0079293828, 0.0255264938, -0.0056768549, -0.0290929563, -0.0335743316, -0.01026267, 0.0150268329, -0.0052479985, -0.0439630859, 0.0440209433, -0.0158204008, 0.023919493, 0.0075721247, -0.030009849, 0.0076365224, -0.0084559247, 0.0001599478, -0.0430337861, 0.0309203528, 0.0067432895, 0.021693984, -0.0887552798, -0.0430277176, 0.0320027508, 0.0396475866, -0.042675145, 0.0074786502, 0.0997568145, 0.040355444, -0.0087167723, -0.0025592423, 0.0010116319, 0.0122773368, 0.0616746023, 0.0260488391, -0.1065197513, -0.00554532, 0.0242955424, -0.0158781707, -0.0301261563, -0.013117441, -0.0001401847, -0.0945625529, 0.0563097671, -0.0073445491, -0.0259462409, -0.0146782575, -0.0138992742, 0.0070419037, 0.0124339974, 0.0382285081, 0.0136968084, -0.0353867933, -0.0084005194, 0.0316139162, -0.0209863074, 0.0083517767, -0.0024312302, -0.0708891377, 0.0728432089, 0.0534524918, 0.0060486244, -0.0489941761, -0.0231275149, 0.0022687155, -0.0317588672, 0.0042486042, 0.0001117417, 0.0335260592, -0.0274781473, 0.0083408607, -0.0413928144, 0.0330335088, 0.002764212, -0.0226116944, 0.0296699964, 0.0359934308, -0.016116092, -0.0085072201, -0.0249437373, -0.0399908163, -0.022638876, 0.0721348152, 0.0406616442, -0.0146187302, -0.0134763364, -0.0482655279, -0.0158586316, -0.0273500513, 0.0112650348, 0.0025466452, -0.0244450402, 0.0032652072, -0.0546303838, -0.0731720999, 0.0308258943, 0.040331848, 0.0327413231, 0.0164597537, 0.0341002867, -0.0317203924, -0.0417817384, 0.0391393937, -0.0170771256, -0.0029648554, -0.0458669104, -0.0276589375, 0.0024734219, -0.0003817865, -0.0183671732, -0.0325046852, -0.0131442128, -0.0177346244, 0.0092475694, 0.0170941688, 0.0209765211, 0.0042742612, -0.0397199504, -0.035486564, 0.058732532, 0.0495788902, -0.0479083955, 0.0059571252, 0.0509927124, -0.0103166671, -0.0084331166, 0.0028873642, -0.0148372995, 0.0209189504, 0.0187735222, 0.0166520178, 0.0003250789, -0.0214975905, 0.040968053, 0.0514269508, 0.0091632763, 0.0081826486, 0.0040102578, -0.0481741764, 0.0226303972, -0.0070047085, 0.0120134559, -0.0146356588, -0.045441322, 0.0056548519, 0.0107319215, -0.0352338031, 0.0650269911, -0.0349674374, 0.0526830666, -0.0396601297, 0.0269536376, 0.0232385583, 0.0231238808, 0.0125615513, -0.0425029509, 0.010322094, 0.0333247148, -0.0113974959, 0.0425307378, -0.0223078169, 0.0386892222, 0.0015505301, -0.0068565756, -0.0214494467, 0.0171448998, -0.0081431288, -0.0048248894, -0.0104251467, 0.0980875641, 0.0426219851, -0.0219186433, 0.0059401905, -0.0374782793, 0.0129135512, 0.0268312357, 0.0003225615, 0.0125506418, -0.0481695496, 0.0805546045, 0.0075615044, -0.0231999941, -0.020481674, 0.0488823764, -0.0056178551, 0.0742836669, -0.0064096893, 0.0225106888, -0.0251435619, -0.0174779892, 0.028283041, -0.011441499, -0.0566547289, -0.0206762142, -0.1000567004, -0.0412682444, 0.0108056525, -0.0194538217, -0.0178645905, -0.0048065451, 0.0226065759, 0.0694345087, 0.0315376148, -0.0572139509, -0.0086814631, 0.0245200545, 0.0051204637, -0.0059109516, -0.0032846536, -5.89316791e-33, -0.0720203593, -0.0499331839, 0.0362409949, -0.0074668666, -0.0013541648, 0.0012743184, -0.004756839, -0.0061351713, 0.0010163598, 0.0190096553, -0.0399505012, 0.0327933095, 0.012396507, -0.0243631601, 0.0318792462, -0.0392537788, 0.0213006325, -0.0209309142, -0.0138238389, -0.0220305435, -0.0360765085, 0.0335902497, 0.0366413854, -0.0298952181, 0.046648223, 0.0378209278, -0.0174888261, -0.0322038755, -0.0608523712, 0.0765740871, -0.0151379537, 0.034545619, 0.0157236233, -0.0335986726, -0.0024687457, 0.0589449927, -0.1188255996, -0.0186791215, 0.0374787226, 0.0079189185, 0.0011736448, -0.0734032989, 0.0488050617, 0.0004233089, -0.0229088496, 0.0340132155, 0.0245903209, -0.0236979984, -0.0082708076, -0.0450428911, -0.0803821981, 0.0188729186, 0.0088676037, 0.0123962155, 0.0483989939, -0.0205675885, 0.0113868453, 0.0179582182, -0.0598390065, 0.0037765945, 0.0230999626, -0.0090530002, 0.0187835936, -0.0506367087, -0.0400652178, 0.0469352789, -0.0216994528, 0.0118543301, -0.0518318303, -0.0025291832, 0.0698503032, 0.0734588951, -0.0123664327, 0.0252435841, 0.0275816564, -0.0279212967, -0.0570281707, 0.008560718, 0.037974678, 0.029816784, -0.0191664901, -0.0385254174, -0.0398457609, -0.0051056738, -0.0298878811, -0.0355178937, -0.0128893312, -0.0136881117, 0.0227124281, 0.0138349356, 0.0477304682, -0.0516801029, -0.0491110682, -0.01292089, -0.0240314957, 0.0060930545, -0.0118273115, 0.0269688461, -0.0058379718, 0.0425200611, -0.0847141817, -0.0484127104, 0.0378834903, -0.0198487006, 0.000856729, 0.0137655865, 0.0474003442, -0.0134877032, -0.0811177865, -0.0022202241, -0.0041065095, 0.0305717755, 0.0254407506, 0.0053507602, 0.0354198329, 0.0346428119, 0.010494438, 0.0073788231, 0.0271384381, -0.0384054221, -0.0411406197, 0.0397267379, 0.0053799134, 0.0302548446, -0.0101405093, -0.0020526443, 0.0153281437, 0.0429885462, 0.0241319239, -0.0165164433, 0.0115982518, 0.0355123617, 2.588e-7, 0.0782982036, 0.0781711563, 0.0094426628, 0.0128427651, -0.0106195584, 0.0342354812, 0.0116046127, 0.0687050372, 0.017826125, -0.0423737355, 0.0011195149, -0.0098367818, 0.0320922881, 0.0319561884, -0.0952143967, -0.0203371644, -0.0093969367, 0.0089102546, -0.0708291382, 0.0268956907, 0.0474814065, 0.0704523847, 0.0095362691, -0.0251958258, -0.0156048434, -0.0148558803, 0.0581725501, -0.0212077498, -0.0048471163, -0.0060689193, 0.0697574764, 0.0048314705, -0.0055714333, 0.0806409642, -0.0009865172, 0.0581222624, -0.0310121141, 0.0371771678, 0.008373281, 0.0108220177, -0.0070803398, -0.0433667824, -0.0085387453, -0.0347373672, 0.0522712655, 0.0036268593, -0.0128866388, 0.0179569144, -0.034894716, -0.0194833893, -0.02115882, 0.0059242379, -0.0036759821, -0.0071504219, 0.0360440016, -0.0299007557, 0.0139369564, -0.092488125, 0.0096086375, 0.0332996957, 0.0165727884, -0.0018069209, -0.0414821655, -0.0128643876, 0.052286543, -0.1287562549, 0.0201781485, 2.213456781e-34, 0.0025511566, -0.009506532, 0.0168782249, 0.0991287455, 0.0169314239, 0.0152628291, -0.0072327205, 0.0123539502, -0.0288091302, -0.0669884533, 0.0441807956 ]
http://arxiv.org/abs/2310.13080v1
http://arxiv.org/pdf/2310.13080v1
From Multilingual Complexity to Emotional Clarity: Leveraging Commonsense to Unveil Emotions in Code-Mixed Dialogues
2023-10-19T18:17:00
2023-10-19T18:17:00
Shivani Kumar, Ramaneswaran S, Md Shad Akhtar, Tanmoy Chakraborty
cs.CL
cs.CL, cs.AI
Understanding emotions during conversation is a fundamental aspect of human communication, driving NLP research for Emotion Recognition in Conversation (ERC). While considerable research has focused on discerning emotions of individual speakers in monolingual dialogues, understanding the emotional dynamics in code-mixed conversations has received relatively less attention. This motivates our undertaking of ERC for code-mixed conversations in this study. Recognizing that emotional intelligence encompasses a comprehension of worldly knowledge, we propose an innovative approach that integrates commonsense information with dialogue context to facilitate a deeper understanding of emotions. To achieve this, we devise an efficient pipeline that extracts relevant commonsense from existing knowledge graphs based on the code-mixed input. Subsequently, we develop an advanced fusion technique that seamlessly combines the acquired commonsense information with the dialogue representation obtained from a dedicated dialogue understanding module. Our comprehensive experimentation showcases the substantial performance improvement obtained through the systematic incorporation of commonsense in ERC. Both quantitative assessments and qualitative analyses further corroborate the validity of our hypothesis, reaffirming the pivotal role of commonsense integration in enhancing ERC.
[ 0.0427896269, 0.0724264383, -0.0376719087, 0.054412026, 0.0029665772, 0.0223517865, -0.0362105668, -0.0151139898, 0.0887643248, -0.0471540615, -0.0209488012, 0.0571269505, 0.0136436867, 0.0404189937, -0.0093453089, -0.0309083574, 0.0100873513, 0.0161476247, 0.0286060888, 0.0098342467, 0.0353053585, 0.0625820234, -0.0182885602, 0.0628089905, -0.0349083729, -0.0312572196, -0.0026065079, 0.0300950371, 0.0261301529, -0.0071465969, 0.0254329052, 0.0348078758, -0.0145549225, -0.0026204258, 0.0000020333, -0.0080868239, -0.0007850878, -0.0404968411, -0.0009767293, -0.0141790109, 0.0642612502, -0.0002530361, 0.000221726, -0.0077587892, -0.0484944694, 0.0116626779, 0.0579518005, 0.0346318409, 0.068268083, 0.0458837599, -0.027389003, 0.0048743035, -0.0054635489, 0.0282463841, -0.0117042745, -0.0357863009, 0.0080320025, 0.0359724723, 0.0310732089, -0.0536643527, -0.0104736127, 0.0233071763, -0.0114354249, -0.0387244113, -0.0139467446, 0.028348323, -0.0463132225, -0.0116587719, -0.0401915051, 0.0706929415, -0.0122286659, 0.026683623, 0.0023642669, 0.0000545414, 0.0223766398, -0.0232195128, -0.0358530022, -0.0138293561, -0.0206834339, 0.0219833888, -0.0064759948, -0.0005765813, -0.0212006569, 0.0246162526, -0.012015162, 0.0466094762, -0.043727003, -0.0016239075, 0.0366903022, 0.0110850604, 0.0244162194, -0.0351179615, -0.0032488669, 0.0323780328, -0.005547897, 0.0378798842, -0.0047396822, -0.012330668, -0.0107087018, -0.060474392, -0.0362692773, 0.0353215672, -0.020302387, 0.0320674032, -0.0020005375, 0.026259644, 0.0305278972, 0.004882161, -0.0044258763, -0.018591335, -0.0909330323, -0.0222965945, -0.0079811197, 0.0425454862, -0.0373685062, -0.0150739262, -0.0432519428, 0.0076525551, -0.051221434, 0.0345574692, -0.0142801795, 0.0025641813, 0.0059602577, 0.0162312072, 0.0182336643, 0.0458057374, -0.0325596444, 0.0111266514, 0.0255473591, -0.0834325477, -0.0092122862, 0.0241189953, 0.00020325, -0.0030804565, 0.0039315731, 0.0397531278, -0.0050226459, 0.0086007239, -0.0171648879, -0.0469414368, -0.0258325376, -0.0078764213, -0.0106508834, -0.0441671051, 0.0341960564, 0.0097739669, 0.0280494541, -0.0306202713, 0.0264008734, -0.0276583303, -0.0438304506, 0.063870661, -0.0620805919, -0.0163013134, -0.002812865, 0.0156866275, -0.0029788676, 0.0574772507, -0.0037907269, -0.0347205289, 0.0582054108, -0.0115749398, 0.0275621191, 0.0050995257, -0.0221696533, -0.0270844158, 0.0245668329, -0.0296737645, -0.0230549444, -0.0048439526, 0.0785163268, -0.0156785864, -0.0381821319, 0.0144272614, -0.0083979573, 0.0650346577, -0.0354646035, 0.0510021374, -0.0282109194, 0.0558505356, 0.0270859357, 0.018078329, -0.0177673586, 0.0516422242, -0.03156434, -0.0245159063, -0.0179722253, 0.005461982, -0.0087470328, -0.025540866, -0.0174997877, 0.001713756, 0.0428268127, -0.0010359643, -0.0177434664, -0.0185127016, -0.0098300353, 0.0371505804, 0.048086226, -0.0958671123, -0.0101796715, -0.0074311406, -0.0481274277, 0.0885035545, 0.0213090349, -0.0359525084, -0.0464587547, -0.0010823067, -0.0535159037, 0.0351894684, 0.021463735, -0.0157631058, 0.0543302372, -0.0571815036, -0.0033030568, -0.0355242305, -0.0268391855, 0.0199358612, -0.027009286, 0.0046247528, 0.0004642134, 0.0074060233, 0.0000518409, -0.0166369863, -0.0310587119, 0.0154864136, 0.0003181362, -0.0035439231, 0.0294817891, 0.0180872921, -0.0077133738, -0.0021890756, -0.0076800683, -0.0157243721, -0.0233968291, 0.0928189084, -0.0170521811, -0.0861490667, 0.0467874408, -0.0419423729, -0.0642940998, -0.0049215741, -0.0163010936, -0.0255372282, 0.0581719317, -0.0276480131, 0.0631986633, -0.0216573682, -0.0151749551, -0.0133248344, 0.0125581054, 0.008268158, 0.0287314951, -0.0011702521, -0.0034732632, -0.006953666, -0.0571576431, 0.027800899, 0.012757807, -0.0098404214, 0.0410285555, 0.003911857, 0.0005812678, -0.0033950442, 0.0294228401, -0.0684222057, -0.0500237718, -0.136359632, -0.0104250833, 0.0101102833, -0.0092807207, -0.0135893384, 0.0057265433, -0.0122716939, 0.0091715446, -0.0527730174, 0.0106446072, -0.0028448252, -0.0019898752, 0.0205919817, 0.0161309987, 0.0141489338, -0.040780209, 0.026134979, -0.0394068658, 0.0536719263, -0.0115802502, 0.0012783862, -0.014041123, -0.0081721498, -0.053233061, 0.0077278437, -0.021424327, -0.0814766884, 0.0124983788, 0.0110589238, 0.0380187891, 0.0424877815, -0.0036097686, 0.0593551323, -0.0168609992, -0.0591268465, -0.0438838601, 0.0557799265, 0.0394422188, 0.0218903366, -0.0301178861, 0.0140104964, 0.0039533875, 0.0476532616, -0.0021112161, 0.0142367277, -0.0551753007, -0.0219557229, 0.0208333489, -0.0504724532, -0.0229130201, -0.0398750603, -0.0062298849, 0.013466076, -0.0128104538, -0.0307620838, 0.0783876106, 0.0060901763, -0.0447548777, -0.075529933, -0.0159029458, -0.0438255891, 0.0618237518, -0.1035163403, 0.0082762465, -0.0526740626, -0.0416186564, -0.013807049, -0.0310395937, -0.0274049323, -0.0375714749, 0.0430524535, -0.0509740748, -0.0192238297, 0.0237685759, -0.0466363169, -0.0168070178, 0.0148049835, -0.0667086244, 0.0035738139, 0.0798953995, -0.0289503597, 0.0192616321, -0.030832842, 0.0455934964, -0.0291173477, 0.0123559395, -0.0418345146, 0.0267507918, 0.0064699897, 0.0104209585, 0.0112965107, 0.0296956133, 0.0261479933, 0.0534272045, 0.0523649938, 0.0543243103, -0.0107411463, 0.0016962725, 0.0270519312, 0.022255687, 0.022132162, -0.0418553762, -0.0315067731, 0.051679682, -0.0222262871, 0.0075964704, 0.0926237181, 0.0269803461, -0.0398469791, 0.0010276581, -0.055959329, 0.0245964807, 0.0321727023, 0.0271675549, -0.0574526712, -0.0328411907, -0.015128376, 0.0126840351, 0.0014464298, -0.0665603504, 0.0063175811, -0.0943474248, 0.0154428408, 0.0265507475, -0.0104847774, -0.0631607249, 0.0101489844, 0.0174020529, 0.0265415907, -0.0469320267, -0.0637563318, 0.022615226, 0.0098328637, 0.0212148447, -0.0260948762, 0.0014259402, 0.0424802825, 0.0012585714, 0.0441099964, 0.0268418826, 0.1103191748, 0.0058405781, -0.0330278091, 0.0231050923, -0.0177805237, 0.0170889366, -0.0259915441, 0.0158226825, -0.0247632693, -0.0285061263, -0.0087130005, 0.0228124429, -0.0592516325, -0.029767219, 0.0194839574, 0.0717334747, -0.0392033607, -0.0046655061, -0.0296107214, 0.0348507501, 0.0262653716, 0.0510261618, 0.0524359383, -0.0230555385, -0.0070071439, -0.0552063435, 0.0471186303, -0.0354955196, -0.0383628346, 0.0188472718, 0.0550355725, 0.0087952465, -0.0431346633, -0.0823020637, 0.0245942529, 0.0288034584, -0.0178334899, -0.0380002111, 0.0316865854, 0.0304726623, -0.0522401072, 0.0257708952, -0.0034630958, 0.0158163831, 0.0141917868, -0.018559197, -0.0098385857, -0.0114193326, -0.0174196381, 0.0492077023, -0.0060072481, -0.0563000664, -0.0249594431, 0.0145357633, 0.0118896691, 0.0241407193, -0.0020499988, -0.0322297588, 0.0096086161, 0.0225371122, -0.0463100299, -0.0175329912, 0.0587411486, 0.0758479536, -0.0018427063, 0.035470929, -0.0296085514, -0.0207569953, -0.0199422538, 0.0225081798, -0.0329881087, -0.0935810283, -0.0147666428, 0.0046696807, 0.0053818338, 0.0085142609, 0.0162471682, -0.0314827748, -0.0195166934, -0.0136273047, -0.028474275, -0.0529923178, -0.0306237545, -0.0139501896, -0.025521433, -0.0249689668, 0.0179308653, -0.0131234964, 0.0109699164, 0.0397516489, 0.0298343915, 0.0730773434, 0.0060712239, -0.020331569, 0.0036501931, -0.0145284506, 0.0054946644, -0.0068486272, 0.015421343, -0.0082990639, 0.064696081, 0.0169187095, -0.0714879707, 0.0578868873, 0.0069822916, -0.0400764048, 0.0100130895, 0.0564362034, 0.0036722212, 0.0264339671, 0.0020452645, 0.0519185737, -0.0346166156, 0.0322061777, 0.011271514, 0.0478237309, -0.0198876522, -0.0632673055, 0.0044641807, 0.0250135977, -0.0439764298, -0.024577992, 0.0382509828, -0.1176165044, 0.0344249345, -0.0180482287, -0.0334712453, -0.0519141965, -0.0144810583, 0.0870462134, 0.0256754868, 0.0340106227, 0.0512434579, -0.0980794355, -0.0498604663, 0.0394888334, -0.0383229926, 0.0235000867, -0.0208766554, 0.0240906384, 0.0879034176, -0.0004878335, -0.002150472, -0.0186525621, 0.0321720839, -0.095790796, -0.0092771407, -0.0302790347, -5.697144309e-33, -0.0107887359, -0.0540742837, -0.0528680757, 0.016505383, -0.019204326, 0.0331447273, -0.051726874, 0.0129899504, -0.0355299413, 0.049065806, -0.0149977151, 0.0504831485, -0.0155948373, -0.0231186859, 0.0254927278, 0.0136835612, 0.013308241, 0.0401847363, 0.0099934358, 0.0383965075, 0.0508198738, 0.0136197135, 0.0656660199, -0.1004060805, 0.0385436974, 0.0386393443, -0.002864419, 0.0057900916, 0.0687965974, 0.0390714668, -0.0065066745, 0.0968979001, 0.0055010016, 0.0160022713, 0.0075271963, 0.0109236194, -0.0068571265, -0.047300566, 0.0307252482, 0.010200087, -0.009341049, -0.0344600938, 0.0260260906, 0.0187117849, 0.01158679, -0.0474340431, 0.030895561, 0.0056041554, 0.0196861755, -0.0711201876, -0.0280897897, 0.0386346281, -0.0893347338, -0.0132940225, 0.0038143129, 0.0339533575, 0.0108339749, -0.0259547923, -0.0340013169, 0.0034322119, -0.0369739458, -0.0090880543, 0.0181885678, -0.0281723142, 0.0152952457, 0.073837325, -0.0191023853, 0.0332404673, -0.0195837859, 0.0530338623, 0.0554351173, 0.0225851275, 0.0294952877, 0.0523663983, -0.0500777215, -0.0122918598, 0.0063696406, 0.0352303796, 0.0316369347, 0.0411336012, -0.015707735, 0.0457169972, -0.0494765565, -0.0002455525, 0.0021918935, -0.0308792293, 0.0008152629, -0.0199267771, 0.0135762775, -0.0546812601, 0.001292674, 0.0179892741, -0.0060351286, -0.0341975689, 0.0105922809, 0.0638057664, -0.0390231609, 0.0374795459, 0.0036778194, 0.0250122845, -0.003373794, 0.0020265391, 0.0589169338, 0.0265752748, 0.0923859701, 0.0183865521, 0.0180620253, 0.0072956053, -0.0440501273, -0.0238720141, -0.0246892218, 0.0433997624, -0.0442934819, 0.0051914733, -0.0215919539, 0.0243810434, -0.0059429873, -0.0103317378, 0.0023395354, 0.043826133, -0.0192332864, 0.0162381288, -0.010457525, 0.017655611, -0.0693913847, -0.017503839, -0.0013306333, -0.0656166747, 0.0015174018, -0.0208745599, -0.0307891741, 0.0025291562, 2.791e-7, -0.021740187, 0.0343987197, 0.0272305459, -0.0359670185, -0.0041599367, 0.0516599976, -0.0097401859, 0.0162230339, 0.0454000346, -0.0570630468, -0.0063164979, 0.0332015157, 0.0785696581, 0.0401779525, -0.0887514874, -0.0470999405, -0.0051637804, 0.0000669217, -0.0326236524, 0.0421776883, 0.1080938503, 0.0345729105, 0.0364448689, 0.0189015325, 0.0023744679, 0.0006625769, -0.0103380475, -0.0135194333, 0.0156707149, 0.0088462187, -0.0024649359, -0.0274910945, 0.0068708346, 0.0241193976, -0.0015123768, 0.0154155642, 0.0349157713, 0.0456472002, -0.0282722265, -0.0529023297, 0.0091919471, -0.011354804, -0.0142512228, -0.046426028, 0.020894967, -0.033012718, -0.0173560232, -0.0459849276, -0.0183778126, -0.0393610448, 0.0348925069, 0.0043366775, -0.0429245047, 0.0525706708, 0.0004436625, -0.0481034592, 0.0065367245, -0.0701441169, 0.0096513685, 0.0115145277, -0.0285698194, -0.017692443, -0.0140545191, -0.0022154879, 0.0513410419, -0.0445270129, 0.0372752361, 2.218098836e-34, -0.0142063377, -0.0023390555, 0.0246100444, 0.0259235241, 0.0909889191, -0.000575169, -0.0449553244, 0.0207251944, 0.0484558791, -0.0241938662, 0.0188712589 ]
http://arxiv.org/abs/2310.13068v1
http://arxiv.org/pdf/2310.13068v1
GARI: Graph Attention for Relative Isomorphism of Arabic Word Embeddings
2023-10-19T18:08:22
2023-10-19T18:08:22
Muhammad Asif Ali, Maha Alshmrani, Jianbin Qin, Yan Hu, Di Wang
cs.CL
cs.CL
Bilingual Lexical Induction (BLI) is a core challenge in NLP, it relies on the relative isomorphism of individual embedding spaces. Existing attempts aimed at controlling the relative isomorphism of different embedding spaces fail to incorporate the impact of semantically related words in the model training objective. To address this, we propose GARI that combines the distributional training objectives with multiple isomorphism losses guided by the graph attention network. GARI considers the impact of semantical variations of words in order to define the relative isomorphism of the embedding spaces. Experimental evaluation using the Arabic language data set shows that GARI outperforms the existing research by improving the average P@1 by a relative score of up to 40.95% and 76.80% for in-domain and domain mismatch settings respectively. We release the codes for GARI at https://github.com/asif6827/GARI.
[ -0.0138486326, 0.0682252124, -0.0010715083, 0.0536223091, -0.0418217592, 0.0214752033, -0.0185439736, -0.0349634103, 0.0230070371, 0.0021323613, -0.0385656394, -0.0528180636, 0.027565686, -0.0132160876, 0.084892951, -0.0100220181, 0.0347043052, 0.0208953787, -0.0310361218, -0.0085236393, 0.0336685143, 0.0162605681, 0.0362289734, 0.0140589923, -0.0153212175, 0.0026154784, 0.0198357217, -0.0064733881, 0.0200278889, -0.0142849991, -0.0129717225, 0.0445331372, 0.0014108598, 0.0268251728, 0.0000017335, -0.0315397494, -0.0026958447, -0.0014307545, 0.0294981357, -0.026256755, 0.0205455162, -0.0317123346, 0.0164706465, 0.0007695811, -0.0254184008, -0.0419781767, 0.0800471976, 0.0638591945, -0.0141959693, 0.0404497273, -0.0128499735, -0.0538777523, -0.0122984154, -0.0398177356, 0.0001970877, -0.0335763469, -0.0051914915, 0.0124064302, -0.0164665077, -0.0005488798, -0.0719787255, 0.047758583, 0.027402617, 0.0127982749, 0.0192584582, 0.0358762778, -0.0381451473, 0.0088809533, 0.0441074036, 0.0865299553, -0.065874517, -0.0712360889, -0.0199935697, 0.0190072041, 0.0230033025, 0.0295918789, -0.0037511834, 0.0004361216, -0.0462617166, 0.0530369096, 0.0564452447, -0.0154871065, 0.0568063557, -0.0264745485, -0.0532963611, 0.0768369436, 0.0419536419, -0.0494351313, 0.0567788333, 0.0436263867, -0.0239291955, -0.0030549236, -0.0013355418, -0.0388402715, 0.0032051576, -0.0003466476, -0.0509977676, -0.0063895551, 0.0216242969, -0.0729506612, 0.0572578087, 0.0407166183, -0.0194607563, 0.0341452584, -0.061421629, 0.0407458283, -0.009741541, 0.0513408408, -0.0609400347, -0.0061568483, -0.030905718, 0.022256799, -0.0199343469, 0.0049883146, -0.0085329721, -0.0263472665, -0.0163833946, 0.0383942388, -0.039608188, 0.0025502448, 0.0179252476, -0.0071655419, -0.0154396128, 0.0074358657, 0.0128097069, 0.0063121715, -0.0264314841, 0.0110108843, -0.0652790517, -0.041119229, -0.0384350531, 0.051751554, 0.0112085268, 0.0088846264, -0.024316512, 0.0620608293, 0.0151915429, -0.0613128282, -0.0338848568, 0.0567504726, -0.0060871872, -0.0216687657, 0.0101454165, -0.0738329738, 0.0630022138, -0.0117230974, -0.0234559812, -0.0530102849, 0.0106397942, 0.0046535926, -0.0336459801, 0.0720448494, 0.0536259599, -0.0048759715, 0.0201132502, -0.0422781408, 0.0274508018, 0.0646083802, -0.0085704774, -0.0567561686, 0.0186535325, -0.0129749198, -0.0339065678, 0.025658194, 0.0489524603, 0.0161814559, -0.0119213834, -0.0227542538, 0.02490451, 0.0536414236, 0.0635401458, 0.0292735659, -0.025416553, -0.0567781106, 0.0321292244, 0.0339280702, -0.0053853975, 0.0147502515, 0.0389121473, 0.0191780608, -0.0323806964, 0.0283960812, -0.0598946959, 0.0146417404, 0.0288960263, 0.0346799307, 0.0409912989, 0.0673203096, -0.0560751371, 0.0026941851, -0.0013257663, -0.0200797245, 0.0640046522, -0.0158655606, 0.0514180511, 0.062549375, -0.0486117676, 0.0524866879, 0.0477073528, -0.0038322294, 0.0278484467, 0.0171355903, -0.0646732375, 0.001224854, -0.014067499, 0.0096964529, -0.0406308025, -0.004281383, -0.0061162659, 0.0257146098, 0.0178157426, 0.0063097477, -0.0129126767, -0.0510382466, -0.0201153643, -0.0060119121, -0.0028972123, 0.0436064079, 0.0138069326, 0.0223041438, -0.001440999, -0.0791377425, -0.035868682, 0.0219362099, -0.0517826937, -0.0192815773, -0.0199592598, 0.0347378477, 0.011704376, -0.0067483387, -0.0026053174, 0.0134188328, 0.0089341942, -0.0373925827, -0.0258632582, 0.0145144481, -0.0322734416, -0.0569646098, 0.0481990539, -0.0749100447, 0.0021294444, 0.0050253468, -0.0601316281, -0.0185673833, 0.0887176618, -0.0259699598, 0.0593120269, -0.0289808903, 0.033838585, -0.0053977026, 0.042693194, -0.0264694318, 0.0730004534, -0.0358034037, 0.0323104747, -0.0173824299, 0.0206794962, 0.0370369777, -0.0045562396, 0.0043823193, 0.0286762435, 0.0029850246, 0.020651225, 0.0049336446, -0.0097958725, -0.0371742509, -0.004235819, -0.0594666936, 0.0036482187, -0.0233202837, 0.0646010563, 0.0003848832, 0.0261172466, -0.0053798845, -0.0098889237, -0.0354065709, -0.0044726604, -0.0105246371, 0.0267920475, 0.0388499722, -0.0594337098, 0.0084776012, -0.0196440704, -0.0368274227, 0.0180341415, 0.0614096485, -0.0083239749, -0.0143611459, -0.0201389659, 0.0154151972, -0.0217949674, 0.0253766198, 0.0081478218, -0.0379905291, -0.007019022, 0.0387882739, 0.0386385769, 0.0562433302, -0.0177923981, -0.028622359, 0.0408825688, 0.0086839963, -0.0554742031, -0.0166310165, -0.0394879319, -0.0003782864, -0.0351529419, -0.0289875809, -0.0199106, 0.0439744554, -0.0098404167, -0.0434460156, -0.0594358891, -0.0366285704, -0.0202173498, 0.0003603394, 0.025964275, 0.0142024299, -0.0248223282, -0.0182605088, -0.0657489449, -0.0246500261, 0.0659639314, 0.0015905548, 0.0176459365, -0.0497823134, 0.0166481566, -0.04503344, -0.0109491143, 0.0230037607, 0.0155222174, -0.0321940184, -0.053040728, -0.0458460934, -0.006123214, 0.0359890349, -0.0008782101, 0.0396506377, 0.0055977604, -0.005849638, 0.0200076066, -0.0254397932, -0.0266400203, -0.012836202, 0.0044126464, 0.0086627118, -0.0013487134, 0.0050491043, -0.0270944368, -0.0042939335, 0.0136467824, 0.0018905846, -0.0000834622, 0.0159282945, -0.0224748105, 0.0088682044, 0.0244717542, -0.0182234608, 0.0085938089, -0.0278252531, -0.0464531593, 0.0263926499, 0.0071786391, 0.0153731145, -0.0299381334, -0.002102589, 0.0250079799, -0.0149972793, -0.0524967797, -0.0767333508, 0.01087284, 0.0197053999, -0.0139162401, 0.0402282476, 0.0019416386, -0.0707311034, 0.0306270272, -0.0087398347, 0.036958091, 0.0395550132, -0.0069602178, -0.0697486326, -0.0045306915, 0.0028639468, 0.0079501886, 0.0532499962, -0.000745339, 0.0033691868, -0.1142204329, -0.0439964049, 0.0282232463, -0.0485829376, -0.0751125664, -0.0586084835, 0.0447556712, 0.0054123658, 0.0145254703, -0.0470561869, 0.0075334916, -0.0008834379, 0.0311118551, 0.0194269866, -0.0929332972, -0.0359507725, -0.05047841, -0.0001099302, -0.0024072961, 0.0181696266, -0.0161133409, -0.0256795045, 0.0315228626, -0.0410179831, -0.1082529277, 0.019382257, 0.0535894409, 0.0147226611, 0.0063661207, 0.014407794, 0.0042720959, -0.0446217731, 0.0131462319, -0.0452220663, 0.0890149251, 0.0183696114, -0.0230706483, 0.0305717643, 0.0146175968, 0.0187941417, 0.0320373252, 0.0549802147, -0.0232154448, -0.0214737877, 0.0051808897, 0.0086532366, -0.0346698798, -0.0339025185, 0.0435706377, -0.0196538288, -0.0317519233, -0.0571699217, -0.0570557714, -0.0300698802, 0.0152854174, 0.0280575864, 0.0087815272, -0.0039149141, -0.0671344474, -0.0079902913, 0.0166372359, -0.0042274515, 0.0097363275, -0.0244110823, 0.0022377712, -0.0097996723, -0.0216022749, -0.0053716302, -0.0130592147, -0.076267615, -0.048996564, 0.0124281747, -0.0051873694, 0.0052463291, 0.0504226796, -0.0476618409, -0.0038816941, 0.0312891528, -0.0168292709, 0.0451405756, -0.0042069857, 0.0379333347, -0.0461856313, 0.023865534, 0.0660723895, -0.0015133092, 0.0053339279, 0.05306058, 0.0115266815, 0.0274406541, -0.0388761312, -0.0084510157, -0.0273166858, 0.0130985342, -0.0259239003, -0.0064326948, -0.0694968477, -0.001989152, 0.0092669828, 0.012502227, -0.005418112, -0.0195199251, 0.0334372744, 0.0200862382, -0.00197212, -0.0266963169, 0.0188358556, 0.0114395618, 0.0083653014, 0.0001272941, 0.0324777029, 0.0240201429, 0.0000421374, 0.0507976264, -0.0273796339, -0.0238703806, 0.0009099601, 0.0452267118, -0.0634097084, 0.0116300844, 0.0286985822, -0.0066782963, -0.0154382251, 0.0216005147, 0.0095333857, 0.004550572, -0.0025927874, 0.0169841237, 0.0778633952, -0.0734713823, 0.0779271349, 0.0074898098, -0.0147569207, -0.0247116517, 0.0272632856, -0.0368016399, -0.0284238383, 0.0335501768, -0.0279871002, -0.0129467528, 0.0133618703, 0.0561713725, 0.0059690713, -0.0068851537, -0.0310271066, -0.0223346408, -0.0107615404, 0.0021396524, -0.0029738117, 0.0150678009, -0.0359735303, 0.0361642502, -0.0612419248, -0.1120953858, -0.0115564531, 0.004114585, -0.0173409749, 0.0475390702, 0.0544046797, 0.0664657578, 0.010178132, 0.0035784415, -0.0467684641, 0.0447675437, 0.0278794542, -0.0446946025, -0.0265235566, -5.966714551e-33, 0.015132417, -0.0372675769, -0.0318360552, -0.0226087421, -0.0422923788, -0.0054450701, -0.036356993, -0.017677946, -0.0505082458, 0.0220863968, -0.0076897088, 0.0362865739, 0.008340016, 0.0312150158, 0.0261299685, -0.0490691476, -0.0200700071, 0.0523881614, -0.0076127257, 0.0219544545, 0.0220878851, 0.0128869135, 0.1201768368, -0.069501467, 0.0029146962, 0.0089061176, 0.0427287668, 0.0006151787, 0.0325598903, 0.0777363777, -0.0197220985, 0.0752940923, 0.0397917219, -0.0092999609, -0.0111359274, -0.0038920979, -0.0918163583, -0.0741701871, 0.0265403148, 0.0231810398, -0.0255213156, -0.0318455398, 0.0302887466, -0.0111052375, 0.0095431767, -0.0576385185, 0.0266287588, 0.0353531316, -0.0601379164, 0.0807081386, -0.1016429365, 0.0513910949, 0.059282925, 0.0339802466, 0.0383394994, 0.0373682342, 0.006990829, -0.0249786805, -0.0327981748, -0.0026088122, -0.0539093502, 0.0296524391, 0.044362165, 0.0301570315, -0.0212637931, 0.0234104991, 0.0070857196, -0.0240568817, 0.0599535443, -0.0543827228, 0.0226590559, -0.0198037121, -0.0040114108, 0.0453266874, -0.0097614825, -0.0111705847, -0.0491145402, -0.0148658957, -0.0367736891, 0.0136382394, 0.0239712112, -0.0211658701, -0.0397448614, -0.0342782363, -0.0087686144, -0.0405093767, -0.0193510819, -0.0225590356, 0.0060007893, -0.0236591492, 0.0062682009, 0.0400187969, 0.0114731658, -0.0148961134, -0.0078416653, 0.0687985718, 0.0320006683, -0.0054905168, 0.0083178086, 0.0506887659, -0.0451562069, -0.0421051718, -0.042394422, 0.0142066646, 0.025740983, 0.048492115, 0.0649720058, -0.0018141224, -0.0524742939, -0.0086737946, -0.0552825518, -0.054894153, -0.0278835874, 0.0549433418, 0.050252188, 0.0243599061, 0.015522602, 0.0453690737, 0.1070806012, 0.0337500945, -0.0192855187, 0.0057561789, -0.0080989236, 0.0642425194, -0.0281746052, 0.0274997354, -0.0627866313, 0.049123358, -0.0001802325, -0.0640816092, -0.0323214978, -0.027792301, 2.718e-7, 0.0775697976, -0.0080439216, 0.0071228947, 0.0024826515, -0.0237067584, 0.0121968333, 0.0013476481, 0.0625099838, 0.0099577708, 0.0360865295, 0.0116458805, 0.0172180459, 0.0327061415, -0.0177560598, -0.0963361412, -0.009429683, -0.0220919531, 0.0322774388, -0.0146881137, 0.0029008265, 0.0313784704, 0.1353339106, 0.0221343972, 0.0196504258, -0.0532965921, -0.0460001938, 0.055813048, 0.0097624976, -0.0244922992, -0.019060865, -0.0013441332, -0.0210255645, -0.004862356, 0.006697658, -0.0463591963, 0.0354506075, 0.0406767838, 0.0104286103, -0.0032418452, -0.0158687457, -0.023010347, -0.0248174053, -0.0067581665, -0.0751228929, 0.0318057574, -0.0167674925, -0.0470782295, 0.0115603786, -0.0247886367, 0.0489543676, 0.0463031083, 0.0045400234, -0.0487479866, 0.0167276673, 0.0567004234, 0.0235510264, -0.0259909388, -0.0314673185, -0.0042574629, 0.0307823904, -0.0035410598, -0.0064863851, 0.0041323104, -0.0115403878, 0.0417494737, 0.0390618443, 0.0070977653, 2.525168955e-34, 0.0107692676, 0.0047330027, 0.0397695266, 0.0044409637, 0.0256523751, -0.0625487641, -0.0090371408, 0.0076855849, 0.0270767808, -0.0487408116, 0.0023039354 ]
http://arxiv.org/abs/2310.12973v2
http://arxiv.org/pdf/2310.12973v2
Frozen Transformers in Language Models Are Effective Visual Encoder Layers
2023-10-19T17:59:05
2024-05-06T15:45:30
Ziqi Pang, Ziyang Xie, Yunze Man, Yu-Xiong Wang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
This paper reveals that large language models (LLMs), despite being trained solely on textual data, are surprisingly strong encoders for purely visual tasks in the absence of language. Even more intriguingly, this can be achieved by a simple yet previously overlooked strategy -- employing a frozen transformer block from pre-trained LLMs as a constituent encoder layer to directly process visual tokens. Our work pushes the boundaries of leveraging LLMs for computer vision tasks, significantly departing from conventional practices that typically necessitate a multi-modal vision-language setup with associated language prompts, inputs, or outputs. We demonstrate that our approach consistently enhances performance across a diverse range of tasks, encompassing pure 2D and 3D visual recognition tasks (e.g., image and point cloud classification), temporal modeling tasks (e.g., action recognition), non-semantic tasks (e.g., motion forecasting), and multi-modal tasks (e.g., 2D/3D visual question answering and image-text retrieval). Such improvements are a general phenomenon, applicable to various types of LLMs (e.g., LLaMA and OPT) and different LLM transformer blocks. We additionally propose the information filtering hypothesis to explain the effectiveness of pre-trained LLMs in visual encoding -- the pre-trained LLM transformer blocks discern informative visual tokens and further amplify their effect. This hypothesis is empirically supported by the observation that the feature activation, after training with LLM transformer blocks, exhibits a stronger focus on relevant regions. We hope that our work inspires new perspectives on utilizing LLMs and deepening our understanding of their underlying mechanisms. Code is available at https://github.com/ziqipang/LM4VisualEncoding.
[ 0.0280770436, 0.0579608232, 0.0037534027, 0.086034596, 0.0079268981, 0.0166078582, 0.0189186092, 0.0198233929, 0.007351914, -0.0532794856, -0.0468679927, -0.0313060023, 0.0178967584, 0.0515212938, 0.0224165861, -0.072745584, -0.009420841, -0.0495083407, -0.0292356089, 0.0075963493, 0.0139452461, 0.0136782592, 0.0240495559, 0.03833507, -0.0179276466, 0.0121520115, -0.0088815494, 0.0216921251, 0.0113970637, -0.0184560008, -0.0331144221, 0.0198829919, 0.0640725046, -0.0191537123, 0.0000020575, 0.0015081633, 0.0321783088, -0.0355896801, 0.0065674032, -0.0009149028, 0.0103248302, -0.0694402307, 0.020573359, -0.0102269044, -0.0312004853, -0.0374944955, 0.0681616664, 0.033328481, 0.0415781401, 0.0540269352, -0.0328088813, -0.0165885761, 0.0215029698, -0.0049845665, 0.0062082373, -0.0247404184, 0.0226342566, -0.0150575209, -0.0327984802, 0.0296878517, -0.0594732836, 0.043263562, 0.0303267576, -0.0052397358, 0.0164571833, 0.068255648, 0.002799897, -0.0467995964, -0.0223590788, 0.0652174726, -0.0653307289, -0.0175213944, -0.0164066181, 0.0009691492, -0.002536986, 0.0165102761, -0.038363751, 0.0282771382, 0.0129172979, 0.0317868032, -0.036930643, 0.0137182912, 0.0177773144, 0.0117831379, -0.0158105325, 0.0306009222, 0.0038474668, 0.0146478014, -0.0333205834, 0.0359898619, -0.0256228093, -0.058332365, -0.0068929731, 0.0444464833, 0.0230452642, -0.0208553132, -0.0579112917, 0.0023701326, -0.045729205, -0.0223004203, 0.0304322746, 0.0253902599, -0.0551797301, 0.0536148138, -0.0513104573, 0.0861824527, -0.0127204284, 0.0794086307, -0.0448029377, -0.0364419781, 0.0019097493, -0.0060018296, -0.0433627963, 0.0001221892, -0.0165765155, -0.0444408059, -0.0020508817, 0.0310334656, -0.0059644384, 0.0030750569, -0.0082235904, 0.03113278, -0.0055110953, -0.0454173833, -0.048108913, 0.0382249691, 0.0227193367, 0.049490273, -0.0370797478, -0.0643490553, -0.0210287217, 0.0524108224, 0.0209399723, -0.0146939391, 0.0296714753, 0.0712666214, -0.0374781862, -0.0456606932, -0.0102132093, 0.0210708585, -0.0055173915, -0.0414308496, 0.0735592768, -0.0544437282, 0.0248267241, -0.0004559018, 0.0263193212, -0.0417089052, 0.0143247573, 0.0070923087, -0.0295797046, 0.0881526917, 0.0057044211, -0.0185264349, 0.0149457939, 0.0164457504, 0.0309874769, 0.0429264009, 0.0557967015, 0.0685823932, 0.0135363489, -0.0194724556, 0.0665603727, 0.0590939857, -0.0136045059, 0.0331801772, -0.0717211813, 0.0107292375, 0.0101022255, -0.0070184879, 0.0463562198, 0.0423464291, -0.0402893573, -0.0334227681, 0.0724965334, 0.0494355969, -0.0308968145, 0.0260719731, 0.0274395198, -0.0340633616, -0.0071465876, -0.0217037015, -0.049977608, 0.0795424208, 0.0201446209, -0.0309669264, -0.0398459323, 0.0277684256, -0.0637159273, -0.0401318632, -0.0135218659, -0.024653811, 0.0054551675, 0.0428108051, 0.0430593155, 0.0104483543, -0.0521965027, 0.0702350736, -0.0329547189, -0.0247072354, 0.0386518613, -0.0438728929, 0.0177062843, 0.0683069006, 0.0048795301, 0.0133513184, 0.0095411297, -0.0008016897, 0.0304301083, 0.0191382356, -0.0270955283, 0.0089833029, 0.0444758683, -0.0726580173, -0.0445404723, -0.0134320594, -0.0096460441, -0.0076646977, 0.0148768835, 0.0175204389, 0.0214904975, -0.0233305953, 0.0468040556, 0.038092047, 0.0296789128, -0.0077923201, -0.0028748133, 0.0160007458, 0.0009516181, -0.0551432222, 0.0032525754, -0.0184813496, 0.0338439308, -0.0700948685, -0.0100261075, 0.0389610976, -0.04323164, -0.0356615707, 0.0011322254, -0.0129028074, 0.0168250166, 0.0308859684, -0.0515132286, -0.0247212257, 0.0127420267, -0.0086181359, 0.0037474467, -0.0207495261, -0.0095193358, 0.021865543, 0.0465614796, -0.0339091085, 0.0219108034, -0.0573520549, -0.0275871716, -0.0088043837, -0.0081612393, 0.0138894711, -0.0053259442, -0.0085711218, 0.0417660698, 0.0111280773, 0.0043169199, -0.0128589859, 0.0060152439, -0.0142119098, -0.0333511196, -0.0664366707, -0.0208874587, -0.0399089679, -0.0286156144, 0.0094725871, 0.0051224707, 0.0036686254, -0.0404510461, -0.031811744, 0.023955334, 0.0096541457, 0.0014691317, 0.0157362893, 0.0109735336, -0.0201236103, -0.0090402411, -0.0170004647, 0.0369502008, 0.0811399892, -0.0110177463, -0.0420509279, -0.0261552688, 0.0148254493, -0.0213389359, 0.0259355605, -0.0341545679, -0.0407570228, 0.004776272, -0.0537571982, 0.0098655866, 0.0755799264, -0.0021333161, 0.0223525278, 0.0287452694, -0.0094569847, -0.0225667227, 0.0028282984, -0.0399888977, 0.0050748009, -0.0518841892, -0.0113954535, -0.0322996825, 0.022238858, -0.0076997476, 0.0277162045, -0.0638050064, 0.0035289493, 0.0065173944, -0.0214550402, -0.0727736428, -0.0045968131, 0.0056716832, 0.0413040183, -0.0544268861, -0.0731905848, 0.0161182415, -0.0669727027, -0.0277818199, 0.0497291498, -0.0049779578, -0.0494866781, 0.0850465745, 0.0507766418, 0.0077701197, -0.029238075, -0.0201105084, -0.0296866726, -0.0167394169, -0.0303727388, -0.0096475957, 0.0626150444, -0.0386933237, 0.0091501148, -0.0187589489, -0.023210451, -0.0348910913, -0.0072073722, -0.0450413972, 0.0123004336, -0.0311762579, -0.0287364963, -0.0138661452, 0.0372505076, 0.0156434048, 0.0546841547, -0.0068535875, -0.0034106658, -0.0272727162, 0.0329995491, 0.0490069166, 0.0661375448, -0.0396176018, -0.0355983451, -0.0028262888, 0.0676654503, 0.0173364636, -0.0212149229, -0.0498863161, 0.0370578691, 0.0725733787, 0.0719789714, -0.0012764725, 0.0294931624, 0.0549156033, -0.0633069575, -0.0310326405, 0.0688370466, 0.0067644068, -0.0329047777, -0.0435249098, 0.0490738377, 0.0299379248, 0.0367830098, 0.0017743495, -0.0625599101, -0.049047403, -0.0135956127, -0.0259462576, 0.0275486466, 0.0120528555, -0.0161212776, -0.0550176464, 0.0619751848, -0.0011320692, -0.0132492101, -0.0518778935, -0.0251838733, -0.0107874963, -0.0105779367, -0.0245378818, -0.0324592181, -0.0054084682, -0.0121470457, 0.0065571456, -0.0262548737, -0.0151388263, 0.0080697313, -0.0086802999, -0.0339926444, 0.0619092323, 0.006980849, -0.0347737595, -0.0961109623, 0.0390387699, -0.0064177471, -0.0059987972, -0.0183535963, 0.0466373712, -0.0177855212, -0.0315459259, 0.0402913317, 0.0113590909, -0.0234869532, -0.0475995392, -0.0361626707, 0.0526548587, -0.0381320938, -0.0090497639, -0.004729473, -0.0094660763, -0.0129289264, 0.0376326442, 0.0160751697, -0.0172998104, -0.0265806448, -0.0342835486, -0.0081819948, -0.0520169884, -0.0560613945, 0.0050613619, 0.0378810503, -0.0042201816, -0.036716111, 0.0037521948, 0.0392718203, 0.0347336605, -0.018470576, -0.0211352259, 0.0121170813, 0.0003551668, -0.05505744, 0.05553158, -0.0515370853, 0.027055217, -0.0286391973, 0.0007124278, 0.032187216, -0.0452307202, -0.0236974861, 0.020896323, -0.0932104662, -0.0219106451, -0.0302001499, 0.0695503056, 0.0069855978, 0.0590391904, 0.0164212044, -0.0305398423, 0.080200702, 0.0330835767, 0.0170143899, 0.0317613706, 0.0089474767, -0.0345262922, -0.0017832273, 0.0100825578, -0.0453427173, 0.0241978727, 0.0225248206, -0.0310353432, -0.0325239971, -0.0495668799, -0.0028361354, -0.0347648375, 0.068277061, 0.005137458, 0.0332351401, -0.0321972631, 0.0176893007, 0.0386128463, 0.0141661083, -0.0906607732, -0.0130042415, 0.0420912243, 0.0287572294, 0.0201861672, 0.0572384968, 0.0193799417, 0.0103526469, -0.0019125374, 0.0114058489, 0.0125445519, -0.0116496449, 0.0260940697, 0.0376671217, -0.0039622886, 0.0314272866, -0.0070376419, 0.0201474242, -0.0113829039, 0.0407257192, 0.0184045509, -0.0075443638, -0.0649837554, 0.0366198793, -0.0750304684, -0.0534347408, -0.0393382013, 0.009300923, 0.0503330231, -0.023170229, 0.0067040473, -0.0283578858, -0.0074364082, -0.0161862411, 0.0469455309, 0.0213632416, -0.0594512038, 0.0973641127, 0.017220417, -0.0205529723, -0.0297178347, 0.0362498499, 0.0272912178, 0.0352973416, 0.0004154624, -0.0080496017, -0.0227695629, -0.023157144, 0.0180427749, -0.0324625522, 0.0057808296, 0.0198993068, 0.0151758837, -0.0518002734, 0.0139503581, -0.004907683, -0.0214140154, -0.010586272, 0.0347776562, 0.0444872379, 0.0384380072, -0.0222226437, -0.0325356051, -0.0156563409, 0.0253008679, -0.0205455311, -0.0066124815, -6.258267272e-33, -0.0134162344, -0.0215655863, 0.0472882763, 0.0104975691, -0.0118572311, 0.0182014201, -0.0235566851, -0.0092823608, -0.030830808, -0.0051512658, 0.0098044798, 0.0107513629, 0.0165510587, 0.0461904146, -0.0252527744, -0.0364457294, 0.0489378162, -0.0053329426, -0.0105941594, 0.0126186647, 0.0206968691, 0.002958582, 0.0595470369, -0.0281841494, -0.03845286, -0.0188105498, -0.0485203713, 0.0220667608, 0.0168177076, 0.0485238805, -0.0300456062, 0.0062447577, 0.022735877, -0.0416308045, -0.0201501288, 0.0320073478, -0.0623304769, 0.016514739, -0.0220895763, 0.0607020855, -0.0785722509, -0.005975625, 0.0672958046, -0.0023677091, -0.0050622877, -0.0238495246, 0.0393085256, -0.0030826267, -0.0086929873, -0.0201076195, -0.0088257939, 0.0038554657, -0.0133022098, -0.0309611652, 0.0635706708, 0.0174008664, 0.0346665345, 0.0477026254, -0.0762623698, 0.0222992916, -0.0352485701, 0.0514604375, 0.0518095791, 0.0760246664, 0.008603096, 0.070250079, -0.0040148259, -0.0371604525, -0.051963862, 0.0040422603, 0.0609627962, 0.0473383591, 0.037326429, 0.0178413521, 0.0198275317, -0.0145342546, -0.0546984114, 0.011414079, -0.061223384, 0.0583828203, -0.0010619062, 0.0138626657, 0.0207377039, -0.021938473, -0.0448730066, 0.0116372388, -0.0390499756, 0.0251491349, 0.0533875786, 0.0641656965, 0.0147404158, 0.0183100551, 0.0820943788, -0.0372673273, -0.0116593279, 0.0316513143, -0.0419575982, 0.0575377457, 0.0217120275, 0.020280987, -0.0330311656, -0.0411308259, 0.0372722521, -0.0291382689, -0.0043281899, 0.0107688233, 0.0533217676, 0.053607475, -0.0590194836, -0.0174954347, -0.0539636984, 0.0112122791, 0.0276825055, 0.0425388925, 0.0114017781, 0.009190619, -0.0458310917, 0.0256635603, -0.0431305356, -0.010044178, -0.0287104081, -0.0203390904, -0.0073331543, 0.0387223735, -0.0274975356, 0.0039796759, -0.0619875379, -0.0413105302, 0.0307248365, -0.0734483898, -0.0150576802, 0.0262719821, 2.682e-7, 0.0201384332, 0.0303243212, -0.0163463019, -0.0085420469, 0.0266179778, 0.0515870377, -0.0364731885, 0.0274353027, 0.0189911611, -0.0399665572, 0.0027502447, 0.0607117862, 0.0447045155, 0.0129088676, -0.0623195767, 0.0290030576, -0.0128225861, -0.0080100559, -0.0319408029, -0.0063263485, 0.0439106524, 0.1204987019, -0.0050251526, 0.0016941144, 0.0301505085, -0.0513978936, 0.1137759015, -0.0378292613, 0.0141758313, -0.0021132731, 0.0075959829, 0.0387251042, -0.0127452463, 0.0101888431, -0.0279902685, -0.0054753739, 0.033697065, 0.0687281266, -0.0121317431, -0.0513046905, -0.0141504239, 0.0419335365, -0.0197020527, -0.0626328811, 0.1003494114, -0.0551503934, -0.0011416769, -0.031809032, -0.0115021858, 0.0190642532, 0.0421192087, 0.0108523248, -0.0120586352, 0.0257272907, 0.048675172, -0.038576927, -0.0266547557, -0.0894190595, -0.0375727341, -0.0423446447, -0.0691159219, 0.0036494655, -0.0709620863, -0.0266348738, 0.0252239369, 0.0211574733, -0.0434240475, 2.221058694e-34, 0.0138293775, -0.0085116196, 0.002240587, 0.0261088219, 0.000396986, -0.0209260974, 0.0258411616, 0.019223744, -0.0185715593, -0.0733825639, -0.012298923 ]
http://arxiv.org/abs/2310.12971v1
http://arxiv.org/pdf/2310.12971v1
CLAIR: Evaluating Image Captions with Large Language Models
2023-10-19T17:59:01
2023-10-19T17:59:01
David Chan, Suzanne Petryk, Joseph E. Gonzalez, Trevor Darrell, John Canny
cs.CV
cs.CV, cs.AI, cs.CL
The evaluation of machine-generated image captions poses an interesting yet persistent challenge. Effective evaluation measures must consider numerous dimensions of similarity, including semantic relevance, visual structure, object interactions, caption diversity, and specificity. Existing highly-engineered measures attempt to capture specific aspects, but fall short in providing a holistic score that aligns closely with human judgments. Here, we propose CLAIR, a novel method that leverages the zero-shot language modeling capabilities of large language models (LLMs) to evaluate candidate captions. In our evaluations, CLAIR demonstrates a stronger correlation with human judgments of caption quality compared to existing measures. Notably, on Flickr8K-Expert, CLAIR achieves relative correlation improvements over SPICE of 39.6% and over image-augmented methods such as RefCLIP-S of 18.3%. Moreover, CLAIR provides noisily interpretable results by allowing the language model to identify the underlying reasoning behind its assigned score. Code is available at https://davidmchan.github.io/clair/
[ 0.0393998101, 0.085225381, 0.0055945497, 0.0479881912, -0.0256352313, 0.0186460279, 0.0125087379, 0.0307614878, 0.0044572433, -0.0658682287, -0.0457357652, -0.0187257752, 0.0003096096, 0.0356991962, 0.009020187, -0.0613426492, -0.0062521929, -0.0393184051, 0.0059027001, 0.0039578932, 0.0322347581, -0.0066176853, 0.0085158283, 0.060368292, -0.0003702696, -0.0098179644, 0.0399096347, 0.0300807878, 0.0073439241, -0.0324956328, -0.0330508687, 0.0778075308, 0.0171604231, 0.0473520868, 0.0000015792, -0.0096541904, 0.0297277421, -0.00263358, 0.0408406518, 0.0198214892, 0.0971169174, -0.017894933, -0.0058022756, -0.0254609585, -0.0256345589, 0.005272069, 0.0874258429, 0.0127419243, 0.086003527, 0.032192789, -0.02320797, -0.0292045735, -0.033994671, -0.0316564925, 0.0214713644, -0.0224189702, -0.0075825169, 0.0660418123, -0.0112020317, 0.0019204023, -0.0160610974, 0.0510485843, -0.0183068141, -0.0477859937, 0.0124020884, 0.0442528538, -0.0698308721, -0.0615197457, -0.00076296, 0.0769710094, 0.0052777161, 0.0038840587, -0.040537253, 0.0077186427, -0.0150167271, 0.0089020217, -0.0783656687, 0.0126928193, 0.0491454862, 0.0191487912, -0.0315003172, 0.041616004, 0.0087448061, 0.0156162065, 0.0297952611, 0.0084464662, 0.042316746, 0.0217815787, -0.0372052416, 0.0349012204, -0.032477811, -0.0565706566, 0.0053675664, -0.0047013094, 0.0223166738, -0.0026187794, -0.0215624385, -0.019537, 0.0463943221, -0.0437774286, 0.0226270948, -0.0048444103, -0.0456427932, 0.0937464833, -0.0366255902, 0.0613694638, 0.0009852769, 0.0181519911, -0.0488269329, -0.0145141631, -0.0350885689, 0.0013490723, 0.022893643, 0.0127012171, -0.0302483663, -0.0601275526, -0.0467066467, -0.0012661428, -0.032262817, 0.0028734221, -0.0033644228, 0.0238029547, 0.0013432796, 0.010522617, -0.0481159277, 0.0367336981, 0.0013590632, -0.008996686, -0.0262056142, -0.0248926021, 0.0040644417, 0.0568847694, 0.0197542123, -0.0117985308, 0.005466864, 0.0705204159, -0.0052064909, -0.0349291824, 0.0187863521, -0.0345263109, -0.0500029847, -0.039808169, -0.0125463391, -0.0680248886, 0.0125774024, 0.0074409964, 0.0037754367, -0.0658752918, 0.0090760021, 0.0382136591, -0.0210633241, 0.0787441432, -0.0183434617, 0.0061811716, -0.0038623053, 0.0206871126, -0.020591069, 0.0655518398, -0.0046182945, 0.0528668612, 0.0607301556, -0.005474952, 0.0566569194, 0.0415776111, -0.0192730855, 0.0283753853, -0.0690750852, -0.0049468656, 0.0001171416, 0.0069108894, 0.0623522922, 0.0574937202, -0.0159361977, 0.0117129423, 0.1005656645, 0.0577322394, 0.005669042, 0.023150146, 0.0442859754, 0.0066772946, -0.0083857384, -0.0081003383, -0.0358112343, 0.0703746155, 0.0014361946, 0.01298152, 0.06319803, 0.0361099504, -0.0152503727, -0.0211756006, -0.0148744136, -0.0079277996, -0.006771212, -0.0315763466, 0.018657472, -0.0085733775, -0.0294424761, 0.0305474587, 0.00392628, -0.0295779333, 0.0036717907, -0.0359464772, 0.0016244976, 0.0957990661, 0.0448722877, 0.0297261681, -0.0215081107, -0.0061376481, 0.0180371143, 0.0696590096, -0.0099705411, 0.0214422923, -0.0038127296, -0.0360887386, -0.0300187059, -0.0173014812, 0.0145994863, 0.0042614038, -0.0154853361, 0.0157943778, 0.0428547785, -0.0312528051, -0.0721669793, 0.0190803763, 0.0650507063, -0.0157336108, -0.0162224993, 0.0088937785, 0.0099641327, 0.0100260433, -0.0339520611, 0.0242766403, -0.0086800428, -0.0206213053, -0.0215880685, 0.0406187661, -0.0331678912, -0.0396781117, 0.0403103232, -0.0861359611, -0.0071596117, 0.0033540588, -0.0269871745, -0.0198607258, 0.0256608333, -0.0398053266, -0.0065180981, -0.082109198, 0.0206561014, -0.009253622, 0.0296797156, -0.0075242859, 0.0460185446, 0.0046136961, -0.0009248151, 0.0529674143, -0.0179502554, 0.0154497297, -0.0248669013, -0.0636036322, 0.0056153564, 0.0154398484, 0.0394037813, 0.0449769534, 0.064428404, -0.0476470888, -0.0169668961, -0.0881374106, -0.0405444615, -0.0105609437, -0.0238863099, 0.0026834586, -0.0209136382, 0.0223058201, -0.0124990009, -0.0295550022, -0.0255460609, 0.0057562855, 0.0374607965, 0.0372546129, -0.0054194652, -0.0333748683, -0.0334347375, -0.007417615, 0.034277115, 0.1091892198, 0.0375761464, 0.0151829412, -0.0201986134, -0.001041549, -0.0452374034, -0.0373420082, 0.0219064355, -0.0390004069, 0.0067937179, -0.0020189413, -0.0210018605, 0.0302020572, 0.0093558142, -0.0147713656, 0.0189985931, 0.0039196429, -0.029575713, -0.0426209196, 0.0065587042, -0.0662992895, 0.04255924, -0.0373658836, -0.0088164033, 0.0156017747, -0.0430399813, 0.0434908345, -0.0668640956, 0.046616178, -0.0366326869, -0.0367800556, -0.052581206, 0.0171455108, 0.0004235396, 0.0400388539, -0.0340501033, -0.0571549758, 0.046484571, -0.0699980184, -0.0296739824, 0.0011122442, 0.0013740261, -0.0373661295, 0.0837526843, 0.0102940425, 0.0377482548, -0.0225039441, 0.0052236486, 0.0113752624, -0.004408374, 0.0231098179, -0.0335223787, 0.0414994657, -0.0336576961, -0.0113911508, 0.0144030675, -0.0135755399, -0.0190124828, -0.030108152, -0.0446894355, -0.0063611888, -0.0199945699, -0.0079491679, 0.0003574369, 0.0616929866, 0.0161549281, 0.0048545008, -0.0019552803, 0.0036303943, 0.0075487006, 0.0438020788, 0.0627313852, -0.0162363816, -0.0392843187, -0.0198251549, 0.0173484497, 0.0088794176, -0.0001556837, 0.0265965443, -0.0465955473, 0.0270820521, 0.0198744163, 0.0234194249, 0.0027753985, 0.0105402535, 0.0547792464, -0.02085297, 0.0017329911, 0.0957791954, 0.0107169859, -0.0758299455, -0.0233341679, 0.0015280154, 0.0368224196, 0.035027843, -0.0148040066, -0.0605223849, -0.056432683, -0.0273900181, -0.0165924821, 0.0205954202, 0.015330866, -0.0350174122, -0.0974664092, 0.0389741994, 0.022095181, -0.0444336496, -0.0398043506, -0.0222310405, -0.0027886478, -0.0326858275, -0.004788389, -0.019237591, 0.0041029011, 0.0159952119, -0.0107937651, 0.0211106054, -0.0550649464, 0.0190786049, -0.0576004088, 0.0335500389, 0.0708584264, 0.0384787694, -0.0144443559, -0.0481925905, -0.0212123394, -0.0089410162, -0.0005852187, 0.0071760025, 0.0650153235, -0.0185387749, -0.0317165367, 0.0019526094, -0.0108100297, -0.0123217059, -0.0127385128, -0.0132764764, 0.0284233931, 0.0148568004, -0.0028870462, -0.0549791381, 0.0342601873, -0.0030239187, 0.0757674575, 0.071460478, -0.0234315917, -0.0031257432, -0.0153035568, -0.0278682094, -0.0621558316, -0.0516130105, -0.0027847223, -0.0041651856, -0.045453582, -0.0812493563, -0.0240036808, 0.031400457, -0.0066199587, 0.008700816, 0.0168238785, -0.0491265729, 0.0264632721, -0.0424459502, 0.0498165525, -0.0493783876, -0.0005818013, -0.0385001972, 0.005130528, 0.0603651665, -0.0129233627, -0.0348489024, 0.0427127145, -0.0665030628, -0.0185380857, -0.0437360108, 0.0750764161, 0.0176105164, 0.001401665, -0.0023312178, -0.0447779372, 0.0118753426, 0.0561365038, 0.0071572573, -0.0027178505, 0.0036708238, -0.0043791835, -0.0156460032, 0.0326894373, -0.0389105715, 0.022908492, 0.0008965571, 0.0417628363, 0.0068286955, -0.0716816708, -0.0000457177, 0.0214142017, 0.0177602582, -0.0704115331, 0.0087251477, 0.0127103198, -0.0281801522, 0.0012467745, -0.0146815814, -0.0487346947, 0.0184555892, 0.0137524605, 0.036136888, -0.0138528012, -0.0030243916, -0.0373166054, 0.0161647759, -0.0019150771, 0.0004252553, 0.01399743, -0.027158238, -0.0126995156, -0.0014521381, -0.018157199, -0.0026743631, -0.0197432432, 0.0017380896, -0.0320380442, 0.0310566835, 0.0095441295, -0.0107798716, -0.0031351072, 0.0750369355, 0.0000020788, -0.0271748696, -0.0686664358, 0.0386841372, 0.0930998847, -0.0254870299, 0.0597586781, -0.012035897, -0.0166062806, -0.0048024799, 0.0283692069, 0.0004944954, -0.0379452445, 0.0133967232, 0.0233372096, 0.0041967188, 0.0237952173, 0.0586208329, -0.0135964388, -0.003417443, 0.0147048878, -0.0470649637, -0.0243094731, -0.0046199202, -0.0151205109, -0.0045966278, -0.0190544445, 0.0215458591, -0.0520329885, -0.0749472827, 0.0053480496, -0.0102517977, 0.0112754917, 0.0488858968, 0.0412692167, 0.040599741, 0.0078079537, 0.04710586, -0.0263786707, -0.0511304364, -0.0153443106, 0.0268142335, -0.0336649865, -5.555265446e-33, -0.0273223519, -0.0497543029, -0.0168381818, -0.0359757431, -0.0206712205, 0.0154527649, -0.0580703728, 0.0158826634, 0.0123894298, 0.0121994782, 0.0259625651, -0.0292209703, 0.012170583, 0.0229877308, 0.015688723, -0.0010653315, 0.0430037305, 0.0274245366, -0.0316577703, 0.0044074673, -0.0080821645, -0.0214050282, 0.0167273283, -0.0443125963, 0.0247910153, -0.0074204011, -0.0322647132, -0.0088534057, 0.0671570823, 0.0979619995, -0.0301494263, 0.0463824868, 0.0085607944, -0.0418253392, -0.0158174541, -0.0254765302, -0.0174441077, -0.0030838824, 0.0430805422, -0.0047123018, -0.0131336451, -0.0241690334, 0.0362889506, -0.0415753052, -0.0313480124, -0.0107239904, 0.0625564903, -0.0333648436, 0.0196742471, -0.019450143, -0.0367851406, 0.0264283698, -0.04044687, -0.0423950516, 0.0605807379, -0.0002487092, 0.0092161652, 0.0643872023, -0.0459282845, 0.0538388602, -0.0153873721, 0.0297553018, 0.1055893973, 0.0248428192, 0.0131402127, 0.0735975802, 0.0040819766, -0.0172880869, -0.0129084717, -0.0204112548, 0.0175213646, 0.0587911718, 0.0693077296, 0.065606989, 0.03982931, 0.0237894636, -0.0091843633, 0.0446293093, -0.0619554482, 0.0374018773, 0.0247505307, 0.0341106802, -0.0043172166, 0.040870823, -0.0554408468, -0.0380042195, -0.0830747262, -0.0458141714, 0.0147702135, -0.0017097191, -0.0490929335, 0.026364699, 0.0747162327, -0.0448658429, 0.0063556796, -0.0031165241, -0.0381309763, 0.038619902, 0.0015485141, 0.000449172, 0.0153267896, -0.0145899458, 0.0360075086, 0.0202236902, 0.0262813028, 0.0007413913, 0.0597338565, 0.0082056066, -0.0313357636, -0.0021907273, -0.0269939899, -0.0385691002, -0.0509237349, -0.0107384557, 0.0066883862, 0.0110262046, -0.080349654, 0.0060211783, 0.0017884924, 0.041390352, -0.004565448, -0.0322999507, 0.0210392512, 0.0085853133, -0.0508454293, 0.0292758532, -0.0143975336, -0.0386082456, 0.0010252562, -0.0444180332, -0.049127683, 0.0024918616, 2.261e-7, 0.0329883359, 0.0409725457, -0.0099080568, 0.0272312742, 0.0082772272, 0.0414832458, -0.0402700827, -0.0020761595, 0.0067588007, -0.0194159634, 0.0291568842, 0.0252098609, 0.0335113332, -0.0226357337, -0.0544990338, 0.0341705158, -0.0586937182, -0.0206354186, -0.0306865238, -0.02017227, 0.0654457733, 0.087566413, -0.0110838721, -0.0315289311, 0.0199833736, -0.0816957355, 0.0804890245, -0.0482279137, -0.008011057, 0.0003204774, 0.0293405652, 0.0283171684, -0.018447727, 0.002812078, -0.0049557816, -0.0296965633, 0.104545638, 0.0488918461, -0.0353785194, -0.0248179361, -0.0274846554, 0.0179009754, 0.0086762812, -0.0512433462, 0.0682053491, -0.0301758219, -0.0220649764, -0.03786809, -0.0425182953, -0.0041656666, 0.0814618394, -0.0562836044, -0.0545422398, 0.0421913676, 0.041163519, 0.0080904569, -0.0511312708, -0.0481215678, -0.0387044363, -0.0169928931, -0.0062631746, -0.021201795, -0.0675676987, -0.0201409422, 0.0223197807, -0.0288265739, 0.0035698353, 1.697739285e-34, 0.0715867206, -0.006477511, 0.0089582736, 0.0103315804, 0.0424745418, 0.0048931134, -0.0346542746, 0.0019683484, -0.0046725124, -0.0641731769, 0.0175828096 ]
http://arxiv.org/abs/2310.12963v4
http://arxiv.org/pdf/2310.12963v4
AutoMix: Automatically Mixing Language Models
2023-10-19T17:57:39
2024-06-28T17:57:05
Pranjal Aggarwal, Aman Madaan, Ankit Anand, Srividya Pranavi Potharaju, Swaroop Mishra, Pei Zhou, Aditya Gupta, Dheeraj Rajagopal, Karthik Kappaganthu, Yiming Yang, Shyam Upadhyay, Manaal Faruqui, Mausam
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are now available from cloud API providers in various sizes and configurations. While this diversity offers a broad spectrum of choices, effectively leveraging the options to optimize computational cost and performance remains challenging. In this work, we present Automix, an approach that strategically routes queries to larger LMs, based on the approximate correctness of outputs from a smaller LM. Central to Automix are two key technical contributions. First, it has a few-shot self-verification mechanism, which estimates the reliability of its own outputs without requiring extensive training. Second, given that self-verification can be noisy, it employs a POMDP based router that can effectively select an appropriately sized model, based on answer confidence. Experiments across five language models and five challenging datasets show that Automix consistently surpasses strong baselines, reducing computational cost by over 50% for comparable performance.
[ -0.0028797414, 0.1283310205, 0.003025295, 0.044952713, -0.0361181945, -0.0050493069, 0.0053740218, -0.0249177217, 0.0327004977, -0.0647094026, 0.0078447545, -0.0276330542, 0.0064258482, 0.0594073869, 0.0309302993, -0.022314908, 0.0258819982, -0.0446257219, -0.0219549146, -0.0363923311, -0.0276532453, 0.0151397437, -0.0117204152, 0.0119573418, 0.0218312312, -0.008640172, -0.0042064167, 0.0040341797, -0.0302223042, -0.013190872, 0.0008195827, 0.0482373051, -0.0252862126, 0.0617251545, 0.0000020155, -0.0617639609, -0.0333022512, 0.0288017523, -0.0557499379, -0.0378823131, -0.0007092073, 0.0123598678, -0.0141015295, 0.058489453, -0.0388801619, -0.019679673, 0.0402979404, -0.0142096234, 0.0660052449, 0.0819199011, 0.0038407105, -0.0045632045, -0.0105174342, 0.0053610546, -0.0331735015, -0.023143081, 0.0213510599, -0.0275785532, 0.0191911273, 0.0159639977, 0.0026855161, -0.0058637336, -0.0081317369, 0.0168304387, -0.0361047499, 0.0170000438, -0.0346446745, -0.00262241, -0.0293003283, 0.0187579934, 0.0078798356, -0.0261589903, 0.0015262115, -0.0185994133, -0.0691798925, 0.0257407855, -0.0223458484, 0.0059458674, 0.0236183535, 0.014627981, 0.0014152232, -0.0073792026, 0.0519068241, 0.0233485177, -0.0749274716, 0.1228769496, 0.0350552946, -0.0031822152, -0.0080483183, -0.0013536472, 0.05205746, -0.0816641524, -0.0091661634, 0.0580461882, -0.0188420415, 0.0228398163, -0.0355184413, 0.000732269, 0.0363380909, -0.0522466749, 0.0326729231, 0.0310490839, -0.0188512579, 0.0495227128, 0.0102610812, 0.0256618597, -0.002970557, -0.0012199291, -0.0260287467, -0.0308346637, -0.0000860495, 0.031295687, -0.0063306689, 0.0255508274, -0.0014132415, -0.0196999181, -0.0544933788, 0.0275842212, -0.024643885, 0.0596477129, -0.0003590726, -0.0180943515, -0.0074756951, -0.0209656376, -0.0203617569, 0.0186747871, -0.0029991441, -0.0087066088, -0.0071334853, -0.1039208695, 0.0058777719, 0.0069388356, -0.0032836506, 0.0096159689, 0.0373338871, 0.0998508707, 0.0416184813, -0.0091880513, -0.0108084586, -0.0402072072, 0.0335326381, -0.0552796759, -0.0426480472, -0.091500707, 0.0160470288, 0.020650994, 0.0074125179, -0.0401667617, -0.0064342977, 0.0087748794, -0.0278295521, 0.0402776636, -0.0087327696, 0.0569640808, 0.0231430382, -0.0081164557, -0.0048869937, 0.1042535082, 0.0162599087, -0.0439855009, 0.0707821772, 0.0012214017, 0.032895077, 0.0519943275, 0.0104816398, 0.025675334, -0.016742589, 0.0329405367, 0.0255355611, 0.0186690204, -0.0236994922, 0.0452488139, 0.0221792571, -0.0273355003, 0.0296190325, 0.0113525186, 0.0177934337, -0.0259122346, 0.0243192855, 0.0001160128, 0.0198558047, -0.0277337655, -0.0558790676, -0.0068295272, -0.0514470972, 0.019619137, 0.0880552679, 0.0545986332, -0.0210750699, -0.0295299795, -0.0407515913, -0.0168699808, -0.0551619157, 0.0354111344, 0.0714047551, -0.0104720853, -0.0184914935, 0.0545693375, 0.0107806893, -0.0130066033, -0.0234188233, -0.0370503552, -0.0064631701, 0.0145081431, 0.071228914, -0.0349724665, -0.0249424167, 0.0017726758, -0.0039956281, 0.0478485189, 0.0522223413, 0.0042351596, 0.0229091439, -0.0350852311, -0.0345050618, 0.0547714122, 0.0368558243, -0.0250153858, 0.0729027838, 0.0179147944, 0.0089524016, -0.0629674047, -0.0410044491, 0.0388422124, -0.0461005792, -0.0301084872, 0.0430597179, 0.0000409784, 0.0361998491, 0.011630089, -0.0047520534, 0.0181331523, 0.0140326722, 0.0048197308, -0.0141374962, -0.0137019809, -0.0160739925, 0.0323705412, 0.0540863387, 0.0403534621, -0.002327289, 0.0120906364, -0.0635608062, -0.0394543782, 0.0325449258, -0.0097841611, -0.0027721173, -0.0134355836, 0.0311447214, -0.0075094854, 0.0191988163, 0.000550637, -0.004166231, -0.0003817391, 0.0505461656, -0.0258301068, 0.0058623967, 0.0319642946, -0.0165043287, -0.0304746795, 0.006895205, -0.0261985939, 0.0568339415, -0.0064202794, 0.00122567, -0.0405707285, -0.0154080484, -0.0680724308, 0.004418843, -0.0199337676, 0.0204361975, 0.005764157, 0.0222103596, -0.01501837, -0.0155728785, -0.0236589424, -0.0008876226, 0.0307647791, 0.061266128, -0.0025811398, -0.0122413142, -0.0137609895, -0.0267249718, -0.0355787575, -0.0347379111, 0.0823185965, -0.0291453935, -0.0056669153, -0.0311767608, -0.03316769, -0.0513553917, 0.034249071, 0.0051780427, -0.0166796669, -0.0037828207, -0.0634400919, 0.0009945617, 0.0146478359, -0.0149934161, -0.0633768961, 0.0655406713, -0.0146270404, -0.0587804578, -0.0209986717, -0.0327874683, -0.0364450552, -0.006789946, -0.0295412578, 0.0106573738, 0.0186243188, -0.0344237462, -0.0300384741, -0.0187687911, 0.0076407297, -0.0199356284, 0.0379562676, -0.0090401601, 0.015861176, 0.0121074561, 0.0663525313, 0.0289200805, -0.0691232309, 0.0792395025, -0.0484080911, 0.0224219374, -0.0422155634, -0.03311662, -0.0205635875, 0.0292488839, 0.0117853787, 0.0426525585, -0.0398567729, -0.0075418698, -0.0047343555, -0.0018256517, 0.0233701915, -0.0620122887, 0.0387873054, -0.0390221216, 0.0197845567, 0.0249963738, -0.0454984233, -0.0460651331, -0.0049335421, -0.0895948783, 0.0179035198, -0.0395347252, -0.0341394097, -0.0132138664, 0.0044921027, -0.0219139811, 0.049683772, -0.0256040841, -0.0058710282, 0.0088044144, -0.024150867, 0.0216752458, 0.0459630974, 0.0447108559, 0.0038418034, 0.0228830688, 0.0244325753, 0.0993396789, -0.0332426801, -0.042971082, -0.0057154894, 0.0450953431, -0.0539299324, -0.0046372702, 0.0502575636, -0.0093548978, -0.0588215701, -0.0337129757, 0.0991775319, -0.0049658809, -0.0418775007, -0.0107013574, -0.017287761, 0.0027985612, 0.0334376246, 0.0863394514, -0.0809833705, -0.0259007197, 0.0297924615, 0.0660384148, -0.0136409886, -0.0115075, -0.0333489142, -0.1394119263, 0.0480899438, 0.0031672481, -0.0080779726, -0.0107339732, -0.0955119804, 0.0151884891, -0.0161645096, -0.0095745455, 0.0293132775, 0.0097913584, -0.0378570519, -0.0146779241, -0.0624339879, -0.0868432596, 0.0208143909, -0.0597979054, 0.0573399849, 0.0395374186, -0.0190055668, -0.0179575402, -0.0228916351, 0.055089552, 0.0137793738, -0.0236179009, -0.0191411469, 0.0429399908, -0.0053891186, -0.0090693692, 0.0319776684, 0.0052015646, -0.0400364101, 0.0053471765, -0.0094527574, 0.1043861881, -0.0338538438, -0.0081910705, -0.0220769122, 0.0037678361, 0.0082432088, 0.0603937022, -0.007583451, -0.0100682238, -0.0394735076, -0.0428233035, -0.0213808063, 0.0083798738, 0.0039490699, 0.0423607789, -0.0063907476, -0.048220735, -0.0154073611, 0.013728749, 0.0258704219, 0.0381874256, 0.0313191563, 0.0338065475, 0.0275931861, -0.0062479214, -0.0510385595, -0.0022104862, -0.0575785711, 0.0355162621, -0.0792680457, -0.0004730439, 0.0497582555, -0.0006852208, -0.0141627509, 0.0012808593, -0.0611969754, -0.0983539596, 0.0393625423, 0.0824088752, 0.0293525942, 0.0417651832, -0.0255787354, -0.0665408, 0.0404857472, 0.0555811487, -0.0381194912, -0.0040657092, 0.0294705722, -0.0196310151, -0.0122255273, 0.0310511142, -0.0965541154, -0.0169993658, -0.0266490616, 0.0100060767, -0.0230938438, -0.043998614, 0.0180859994, 0.0562220924, 0.0259867869, 0.0042015789, 0.0411950126, -0.0354183763, 0.0328061543, -0.0147259766, -0.0310032442, -0.0009218629, 0.0308275316, -0.0083958507, -0.0291843656, 0.013601209, -0.0092382198, -0.0121509945, -0.0170493331, -0.0066517424, -0.0147219785, 0.0091380253, -0.0112337712, 0.0547095463, -0.0316426083, -0.0029704063, 0.0039384123, 0.0056297961, 0.0412328206, -0.0343143679, -0.011062107, 0.0266768187, 0.0136733185, -0.042096287, -0.0031351524, -0.0448930487, -0.1177144274, -0.020824803, -0.0207915399, 0.0484827682, -0.0034581434, 0.0472441204, -0.0575608239, -0.0032057976, -0.0404343829, -0.0137804281, 0.0301575698, -0.0229829978, 0.0214925967, 0.0137594538, -0.0105691012, 0.0330471434, 0.0734961256, -0.007152678, 0.032498531, 0.0099064279, -0.0109290089, -0.0472866297, -0.00171421, -0.0138470009, 0.0464688614, -0.0569471978, -0.0140131861, -0.0181133077, -0.0529892519, -0.0013418007, 0.0149495434, -0.004016601, -0.0123535749, 0.0016423768, 0.0925914943, 0.0535101183, 0.0470080152, -0.061023023, 0.0109719289, -0.0269269701, -0.0146901077, 0.050966423, -6.738132718e-33, 0.0190028455, -0.0415905938, 0.0200190358, -0.0513743274, 0.0313952491, -0.0018749852, -0.0133685544, 0.0118916724, -0.0128817745, 0.0032439663, -0.0181251839, 0.0209673159, 0.039773073, 0.0372186303, 0.0510824546, 0.0229481291, 0.0270987209, -0.0139367376, -0.0145650338, -0.0029774993, 0.0185637213, -0.0116266245, 0.0058187246, -0.0671656057, 0.0084802294, -0.0189198591, -0.006069269, 0.0389226526, -0.0345797017, 0.0593454093, 0.0010181388, 0.0423385203, -0.0002518202, -0.0137829212, -0.0265798904, -0.0555789508, -0.040165931, -0.0319214761, -0.0325473994, 0.0240921974, -0.0271770358, 0.0212431569, 0.0294281077, 0.0003469568, -0.0293609966, -0.0053258082, 0.0084835002, -0.0285028592, -0.0133918682, -0.0268035419, 0.0263484046, 0.0443941988, 0.0222420692, 0.0017491445, 0.0464172252, 0.0261840653, -0.001397122, 0.0364475362, -0.0348276421, 0.0401627235, 0.0155530758, 0.0679958984, 0.0691081062, 0.0109291002, -0.0202746727, 0.0361717865, -0.015945496, -0.0195552651, 0.0057132784, 0.0096591534, 0.0332809314, 0.0286211781, 0.048933208, 0.0153507823, 0.015395483, -0.0172302425, -0.0168935079, 0.0448888727, 0.0232150797, -0.0149396723, 0.0290555712, -0.019037962, -0.0434060246, -0.0329991654, -0.0388372727, -0.0500232168, -0.0698995069, -0.0059039341, 0.0117860362, 0.0146148251, -0.0166910589, -0.016656315, 0.0314417705, -0.0537226237, -0.0687161833, 0.0143453404, -0.0218037013, -0.0279244632, -0.0023181303, 0.0552865118, -0.0093354061, -0.0320586823, -0.0431715325, -0.0243011825, -0.0055961623, 0.0197172854, -0.020712493, 0.0244802162, -0.0870789215, 0.0112076048, -0.0222580638, 0.0322375707, 0.0032893911, 0.0007722222, 0.0383863412, 0.0070656668, 0.0369992703, 0.0660669357, 0.0109397518, 0.0024660083, 0.0064784992, 0.0502954982, -0.0047104466, 0.0138604548, -0.019990867, 0.0013757006, -0.0351712853, 0.0153015694, 0.022795096, 0.0003143769, -0.0198282171, 0.0243126228, 2.782e-7, 0.0409049019, 0.0571959764, 0.0073851189, 0.0464025587, -0.0106539791, 0.044654455, -0.0231645778, -0.0228728149, -0.0025245568, -0.0046813088, -0.036642421, 0.0055532036, 0.0764075965, 0.0641362965, -0.0501944311, 0.0162410494, -0.0562858209, 0.0394469462, -0.0734860227, -0.0308863297, 0.0158846639, 0.1041626483, 0.0104158092, -0.0058840197, -0.015814269, -0.0248707272, -0.0066692126, 0.0099232048, 0.0049356404, 0.054842025, 0.0372531153, 0.033488892, 0.0419199653, 0.0008111677, -0.0563049987, 0.0123270815, -0.0450101718, 0.0488997586, 0.004827043, -0.0109372782, 0.0202959049, -0.0346875452, 0.0086522875, -0.0663580969, 0.0484064035, -0.0034659335, -0.0312636793, -0.0374484323, -0.0141488649, -0.0619863421, 0.0687825009, -0.0228195246, -0.0532771461, 0.0392635316, 0.024256587, -0.029809108, 0.0049117832, -0.0750835091, -0.0402029417, -0.0091551607, -0.0182176568, -0.006591762, -0.0035712603, -0.002238553, 0.0175632183, -0.0185506996, 0.0063748062, 2.798234226e-34, 0.0487250201, 0.0308967512, -0.0138320094, 0.0458825938, 0.0363546051, -0.0229002517, 0.0093888007, 0.0244261697, -0.0101240417, -0.0496853329, -0.0208589304 ]
http://arxiv.org/abs/2310.12962v1
http://arxiv.org/pdf/2310.12962v1
An Emulator for Fine-Tuning Large Language Models using Small Language Models
2023-10-19T17:57:16
2023-10-19T17:57:16
Eric Mitchell, Rafael Rafailov, Archit Sharma, Chelsea Finn, Christopher D. Manning
cs.CL
cs.CL, cs.AI, cs.LG
Widely used language models (LMs) are typically built by scaling up a two-stage training pipeline: a pre-training stage that uses a very large, diverse dataset of text and a fine-tuning (sometimes, 'alignment') stage that uses targeted examples or other specifications of desired behaviors. While it has been hypothesized that knowledge and skills come from pre-training, and fine-tuning mostly filters this knowledge and skillset, this intuition has not been extensively tested. To aid in doing so, we introduce a novel technique for decoupling the knowledge and skills gained in these two stages, enabling a direct answer to the question, "What would happen if we combined the knowledge learned by a large model during pre-training with the knowledge learned by a small model during fine-tuning (or vice versa)?" Using an RL-based framework derived from recent developments in learning from human preferences, we introduce emulated fine-tuning (EFT), a principled and practical method for sampling from a distribution that approximates (or 'emulates') the result of pre-training and fine-tuning at different scales. Our experiments with EFT show that scaling up fine-tuning tends to improve helpfulness, while scaling up pre-training tends to improve factuality. Beyond decoupling scale, we show that EFT enables test-time adjustment of competing behavioral traits like helpfulness and harmlessness without additional training. Finally, a special case of emulated fine-tuning, which we call LM up-scaling, avoids resource-intensive fine-tuning of large pre-trained models by ensembling them with small fine-tuned models, essentially emulating the result of fine-tuning the large pre-trained model. Up-scaling consistently improves helpfulness and factuality of instruction-following models in the Llama, Llama-2, and Falcon families, without additional hyperparameters or training.
[ 0.05628445, 0.0485756658, -0.0525426343, 0.0246266611, -0.0348921381, 0.0361052006, -0.0327484794, -0.0013903723, -0.0364746489, -0.0481684096, -0.0464708209, -0.0000685337, -0.0126665914, -0.0095434627, 0.0352818556, -0.0632334799, 0.0323002487, -0.0231878497, 0.0245773867, -0.0076968134, 0.0313912444, 0.0155361788, 0.0190094039, 0.033524245, 0.0265394039, 0.0210701358, 0.012889849, -0.011651081, 0.0146724414, 0.0159631371, 0.037835978, 0.062831521, 0.0396701954, -0.0045780027, 0.0000022345, -0.048193071, 0.0058687157, -0.0158565063, 0.0041484335, -0.0016038584, 0.071207203, -0.0123324897, -0.0000596115, 0.0266141538, -0.0283731781, -0.0210110527, 0.0338420458, 0.0286077578, 0.010444059, 0.0775495991, 0.0169246215, -0.0269864611, -0.0000717451, -0.0163979158, -0.0052234568, -0.0171652082, 0.0343178362, -0.0004941032, 0.0031249165, 0.0131844515, -0.0319651328, 0.0117099853, -0.0125102242, 0.0083480664, 0.0124355638, 0.0314669423, -0.0284581296, -0.0262999386, 0.0080531389, 0.0472615473, -0.0608919151, -0.0494651198, 0.0023330068, -0.0433615334, 0.0245925002, 0.0189562999, -0.0057603298, -0.0103543764, 0.007843174, 0.0256450493, 0.0168913677, -0.0514712445, 0.0312219281, 0.0188058876, 0.0192326158, 0.0396981761, -0.0038389422, -0.0495358594, 0.0075420896, 0.0085795233, -0.0035737264, -0.0391827524, -0.0134089096, -0.021547256, -0.0264967009, 0.0164018199, -0.0665128753, -0.0059326598, 0.028318407, -0.0072584776, 0.0552891605, 0.0087728482, 0.005609883, 0.0200425666, -0.0077267974, 0.0279091671, 0.0088249762, 0.042064473, -0.0455580801, 0.0111923609, -0.0520313382, 0.0073129064, -0.0368380882, -0.0043711015, -0.0146331321, 0.0094980719, -0.0440138243, 0.0108241318, -0.0088189328, -0.0093251821, -0.0063244808, 0.0010159313, -0.0552993342, -0.0060771243, -0.0289889462, 0.0296916608, -0.0575966947, 0.0272986423, -0.0053102751, -0.0427766852, 0.0095874406, -0.0103877299, 0.0113793835, -0.0383028425, 0.0306305457, 0.0265119933, -0.0003956659, -0.0414058529, -0.0277985204, 0.0072485749, -0.0187674854, -0.0600609072, -0.0026447354, -0.071317479, 0.0015094515, -0.0160753001, 0.0112872375, -0.0486253835, -0.014314496, -0.0015708182, -0.0931374505, 0.0593931042, -0.0173146818, 0.0255440082, -0.0166439991, -0.0308278631, -0.0009029304, 0.0774081424, 0.0377144963, -0.0195684694, 0.0268585645, -0.0225629844, -0.0117740259, 0.0322415158, 0.0215612445, 0.0269199703, -0.0254111141, -0.0254841056, 0.0083745979, 0.0142407548, 0.0470011532, 0.0191945769, -0.0321770683, 0.0003251174, 0.0985082537, 0.0302728061, 0.0357868969, 0.0372438096, 0.0172196794, 0.0339278132, 0.0014499313, 0.0342783965, -0.0761907548, 0.0146995308, -0.0410472304, 0.0213371087, -0.0151835289, 0.0582427941, -0.0202495735, -0.0365913175, -0.0061278674, -0.0067203138, 0.0386949405, 0.0010874192, 0.0470224209, 0.0215965807, -0.016512474, 0.0148220807, 0.0844158679, -0.0150254155, 0.00886421, -0.0700136945, 0.0313321985, 0.0600249432, 0.036641337, -0.0307184234, 0.0009198262, -0.0167389344, 0.0150671145, 0.0295166597, 0.087555632, -0.0095680906, -0.0094281463, -0.0538882501, -0.0150522301, 0.001110552, 0.0261951424, -0.0039735073, 0.0243534334, -0.0094610332, -0.0144211184, -0.0189545229, -0.0507347956, 0.0315570123, -0.0174829904, -0.0267976392, -0.0042138016, 0.0229902845, 0.0088743018, -0.0266870353, -0.0340712741, -0.0107157072, -0.0058355839, 0.0089494502, 0.0074293516, 0.0006785548, -0.0221197363, 0.0067323702, 0.0053363526, 0.0142276967, -0.0122063449, 0.0467218161, -0.0475269519, -0.0005107553, -0.0160068106, -0.0141765922, 0.0515970439, -0.0239691846, 0.0367139764, -0.0542019233, 0.0049376674, -0.0611641295, 0.0315112211, -0.0047702892, 0.004231981, -0.0380486548, -0.012850781, -0.0396452136, -0.0320118144, -0.0406404212, -0.0173576847, 0.0131372586, 0.0620130748, 0.0489526391, 0.042758625, -0.0491172932, -0.0517741963, -0.0387461782, -0.0060837185, -0.0328752548, 0.0023464705, 0.0331279375, -0.0051330668, -0.0281797573, 0.0044529503, -0.021362165, 0.0055657178, 0.0103538791, 0.0156006385, 0.0373890884, -0.0014008594, -0.0432475656, -0.0442419983, -0.0114175696, -0.0008315772, -0.0048033288, -0.0077779223, 0.0310919061, -0.0639038235, 0.0135274883, -0.0187346824, 0.0328880101, 0.0026266808, -0.0944278091, -0.0244571082, 0.0034627633, 0.0237900671, 0.1140576452, 0.0185402185, -0.0016299937, 0.0768441185, 0.0339993648, -0.0471888371, 0.0126254773, -0.043269366, -0.0637987703, -0.0594935529, -0.0049443329, -0.0207442492, 0.069589451, -0.0058366014, -0.0014991385, -0.07797914, 0.0392294936, 0.0005936331, -0.0564385355, 0.0092912382, 0.0092192814, -0.0436604731, 0.0192150921, -0.0270976275, -0.0803253874, 0.0833741799, 0.0094313892, 0.0072456924, -0.0490645953, -0.0183177348, 0.0201313086, 0.0184725765, 0.0177778173, 0.0271718316, 0.050688237, 0.0268436745, -0.0639494285, -0.0390385613, 0.0513859168, -0.0161109064, 0.0526071712, -0.0567569323, -0.0116515597, 0.0173357613, -0.061799407, -0.0392431468, -0.057303492, -0.033788316, -0.002421974, 0.0259318091, -0.0260324925, -0.0437267758, -0.0199231245, 0.0181419738, 0.0131290499, -0.0322300605, -0.01145114, 0.0010288132, -0.007630677, 0.0728057325, 0.0052108984, 0.0244642589, -0.0338707715, -0.0084175887, 0.0188782215, 0.0298961103, 0.0105529288, -0.0021076233, 0.0101461057, 0.0146243563, -0.0309326723, -0.0173608717, 0.0580350682, 0.0695343912, -0.0314795859, -0.0552028008, 0.11927443, 0.0063626277, -0.0327796414, 0.038338542, 0.0085767871, 0.053559158, 0.0283550192, 0.0441596694, -0.051243715, -0.0261743702, 0.0100313583, 0.0418960415, -0.0191002134, -0.0196864158, 0.022143675, -0.1200627387, 0.0346914269, 0.0456444211, -0.0551939048, -0.0385595597, -0.0200290866, 0.0167123526, -0.0250411946, 0.0259448681, 0.0155386729, -0.0243506264, -0.0071775187, 0.0107051153, 0.0180755388, -0.0809226558, 0.0410437919, -0.0675428733, 0.0657316372, 0.0484469831, 0.0313344561, 0.0018141728, -0.0378869325, 0.003251143, 0.015091965, 0.0285472535, 0.00067035, 0.0474279523, -0.0071219834, -0.0158238765, -0.0123015456, 0.044154603, 0.0059322529, -0.0013466598, 0.0011529152, 0.0467608944, 0.0189279187, -0.039268408, 0.014217318, -0.0209185053, 0.0292004254, 0.0667748079, 0.0278309472, -0.0775945559, -0.0016338534, 0.0043439302, -0.0524570234, -0.0132879186, -0.0564802624, 0.0215565674, -0.0168960057, -0.015483248, -0.0605546758, -0.0469477177, 0.0082049575, 0.0114497961, 0.0115218796, -0.014572762, 0.0469723567, 0.018354008, -0.0165225938, 0.032585647, -0.0613017604, 0.0127416933, -0.0422058031, -0.0493796319, 0.0365464352, -0.0414648242, -0.0091585424, -0.030337248, -0.0667209625, -0.0871168226, 0.0332031883, 0.0807106942, 0.0190763567, 0.0943847448, -0.0101907533, -0.0874132439, 0.0318340138, 0.046889428, -0.0438285694, 0.052667927, 0.018013075, -0.0670330077, 0.0033871275, 0.0511868522, -0.0409691334, 0.0452335216, 0.0333416909, 0.0076458897, -0.0219413936, -0.0501564108, 0.028740827, 0.0099914763, 0.0578264967, -0.0148282927, -0.0096702464, -0.0322733521, 0.0056179515, 0.0132325767, -0.0309249442, -0.0169811621, -0.0342264175, 0.0121430689, 0.0302130897, -0.0154963043, -0.0367993414, -0.0148196472, 0.0322643071, -0.0583800375, 0.010384623, 0.00584256, 0.0227293689, 0.0433956571, 0.029279843, -0.0254593771, 0.0252372082, 0.0054654712, 0.0644629896, -0.0046936274, 0.0414798371, 0.020743819, 0.01334632, -0.0451201387, 0.0222957861, -0.038876839, -0.0607676171, -0.0278695673, 0.0289078522, 0.0498062484, -0.0510190092, 0.0501879789, -0.0370072089, -0.0170326103, -0.0242647137, 0.0231657419, -0.0087397443, -0.0128299696, 0.0139212934, 0.0213912223, -0.0353160724, -0.0099273967, 0.0450712852, -0.0287705678, 0.0699938983, -0.0186681747, -0.0078323316, -0.0290415864, -0.0274313651, 0.0107870148, 0.0210445598, -0.0259002168, 0.0196119081, -0.0794687048, -0.0608800314, -0.0390287675, 0.0356555581, 0.0256258901, -0.0451464504, 0.0412702449, 0.0446151122, -0.0383257642, 0.0048848265, -0.0401030555, -0.01883219, 0.0032957378, 0.0107990066, -0.022691207, -6.585495511e-33, -0.0183085781, 0.0345124379, -0.0069952426, 0.0000433231, 0.0155807277, -0.0228526015, 0.0106654773, 0.019843284, -0.0434881262, 0.0264834147, -0.0155503592, -0.0273159537, 0.0036504273, -0.0139250308, 0.0304711126, 0.0132750981, 0.0580143146, -0.0229674317, -0.0550625995, 0.0145367673, 0.0187416747, 0.0108193755, 0.0586677082, -0.0552479625, -0.0097122742, 0.003848356, -0.0133619662, 0.0298993737, -0.0442758352, 0.0850390643, 0.0250412449, 0.0479831398, 0.0072667296, -0.0237061568, -0.0256565772, 0.0060515599, -0.0739495754, -0.0216400456, 0.0661396235, -0.0039620702, -0.009988334, -0.0075601609, 0.06821803, -0.0123001309, -0.0409010425, -0.0015670839, 0.0303615462, -0.0326769613, -0.0032475311, 0.005689241, -0.0754959062, 0.001254492, 0.0138362814, -0.0512456931, -0.0015667272, -0.0162184685, -0.0158982929, 0.0185418669, -0.0303626452, 0.0073546725, 0.048920203, 0.0223490503, 0.0478087962, 0.0361738019, 0.0069929953, 0.0655133054, -0.000302213, 0.0350046307, 0.0515574552, -0.0113651296, 0.0965852588, 0.0180633664, 0.0036425956, 0.0636905879, 0.0387025587, -0.0539403968, -0.0322916843, -0.0111445673, 0.0311888475, 0.0389388241, 0.0324446596, 0.0430962071, -0.0518941097, -0.0425805822, -0.064087674, -0.0065212189, -0.0241802894, -0.0255430359, 0.02890292, 0.0339862965, -0.0430069976, -0.0211874377, 0.0097723557, -0.0368210897, -0.0063238936, 0.0063177203, -0.0402971208, -0.0077465121, -0.0232227091, -0.029520914, -0.0806444511, -0.0407816581, -0.0193696935, -0.008445655, 0.0093857208, 0.0354105644, 0.0702253357, 0.0233476609, -0.0562987588, 0.0219788346, -0.0192227606, 0.0256513003, 0.041616369, 0.0157177988, 0.0395750888, 0.0256467517, -0.0112441946, 0.0306445044, 0.0235145465, -0.0662514418, -0.0566659942, 0.0157187562, 0.0245761778, 0.0175654758, -0.0267553385, -0.0173258074, -0.0409534313, 0.0008739415, 0.0497984365, -0.0353555642, -0.0157687403, -0.0172400735, 2.881e-7, 0.0069771707, 0.0549011789, 0.0052535865, 0.0214395225, 0.0047358647, 0.0693372339, -0.0082441922, 0.0417322926, 0.0506840758, -0.0037932235, 0.0171825271, 0.0520571955, 0.0365310796, -0.0011430464, -0.0671593845, -0.0038300061, -0.0502221584, 0.0223757923, -0.0128839966, -0.0494185463, 0.0003821484, 0.0881903619, 0.0681538284, -0.0078404695, 0.0182083715, -0.0377114676, 0.0571353287, -0.0631641448, 0.0061628832, 0.023668414, -0.0336406343, 0.0325324647, -0.0123707913, 0.0433950797, -0.0027943838, 0.0219065957, -0.0616090372, 0.0977195948, -0.0341883339, 0.0429804176, -0.0110955685, 0.0077217198, -0.0174650401, -0.0750730857, 0.0414548181, -0.1033325568, -0.0094072204, -0.0302139055, 0.0076004071, -0.0218651462, 0.0011925655, -0.0241793282, -0.0262588225, 0.0447541587, 0.0195826273, 0.0333283059, -0.0272013526, -0.0528402738, -0.0284129828, 0.0718179047, -0.0123109492, -0.0957356989, -0.0121110352, -0.0107491314, 0.0005962712, -0.0579207689, 0.0264089145, 2.54930516e-34, 0.0287939832, 0.0235690624, 0.0408935472, -0.0110356612, 0.0410677455, 0.0107336016, 0.0333010256, 0.0293174312, 0.0404221378, -0.0520793796, 0.0001917954 ]
http://arxiv.org/abs/2310.12960v1
http://arxiv.org/pdf/2310.12960v1
SEGO: Sequential Subgoal Optimization for Mathematical Problem-Solving
2023-10-19T17:56:40
2023-10-19T17:56:40
Xueliang Zhao, Xinting Huang, Wei Bi, Lingpeng Kong
cs.CL
cs.CL
Large Language Models (LLMs) have driven substantial progress in artificial intelligence in recent years, exhibiting impressive capabilities across a wide range of tasks, including mathematical problem-solving. Inspired by the success of subgoal-based methods, we propose a novel framework called \textbf{SE}quential sub\textbf{G}oal \textbf{O}ptimization (SEGO) to enhance LLMs' ability to solve mathematical problems. By establishing a connection between the subgoal breakdown process and the probability of solving problems, SEGO aims to identify better subgoals with theoretical guarantees. Addressing the challenge of identifying suitable subgoals in a large solution space, our framework generates problem-specific subgoals and adjusts them according to carefully designed criteria. Incorporating these optimized subgoals into the policy model training leads to significant improvements in problem-solving performance. We validate SEGO's efficacy through experiments on two benchmarks, GSM8K and MATH, where our approach outperforms existing methods, highlighting the potential of SEGO in AI-driven mathematical problem-solving. Data and code associated with this paper will be available at https://github.com/zhaoxlpku/SEGO
[ 0.0104798349, 0.119334653, 0.0000395784, 0.040266227, -0.0703805089, 0.0196101312, 0.0139054386, 0.0232097208, -0.0171310008, -0.0185288712, -0.0057522156, -0.0442972891, -0.0241002999, 0.0292316657, 0.0212026108, -0.0686352476, 0.0082635647, -0.0686902404, 0.0300828665, -0.0109450379, -0.0264489669, -0.0202272199, -0.0446073301, 0.0238397289, -0.0395568907, -0.0472694561, 0.0123122763, -0.0410950147, 0.0263674669, -0.0326422043, 0.0014973093, -0.0010440593, 0.0191281419, 0.0322549902, 0.0000024417, -0.0464856885, -0.0209067054, 0.0111935968, -0.0141746588, 0.0111765666, -0.0076955175, -0.0413889736, -0.00231466, 0.0184961744, -0.0658813491, 0.0345817842, -0.0000596667, 0.0317429565, 0.058600653, 0.0801138654, 0.000580818, -0.0465484448, 0.0409212299, -0.0196650606, 0.0377011485, -0.0910817012, 0.0132949064, 0.0274118017, 0.0367014445, -0.0206541531, -0.0402034298, 0.021589065, 0.0355148539, -0.0105726868, -0.0121151526, 0.0180163048, -0.0208000317, -0.0062491698, -0.029301133, 0.0438722186, -0.0520754978, 0.0020257737, -0.0116794631, -0.0294647794, -0.0233262666, 0.0004091414, -0.063085407, 0.0076693725, -0.0181557126, 0.0074597253, -0.0018031922, 0.0152814332, 0.0327260047, 0.0204074178, -0.0567129143, 0.1119108349, -0.0119631635, -0.0379937477, 0.0202633385, -0.0381732024, -0.1035135612, -0.0412140787, 0.0451874062, 0.0599771626, -0.0249572508, 0.0171669591, -0.0084383059, -0.0291590933, -0.0571107119, 0.0101256436, 0.0665248558, 0.0741455033, 0.0870442167, 0.0291818026, 0.025836736, 0.0684889853, -0.0625470057, -0.0393737368, -0.0385218002, 0.0320431031, -0.0481956974, -0.0082208505, -0.0423369408, 0.0519396402, 0.0115276417, -0.0194918867, -0.0352513939, 0.0218966268, -0.0316413566, 0.0170129295, -0.0027180084, 0.0050460482, -0.016275866, -0.0693321005, -0.0377102159, -0.0291099232, -0.0624971762, 0.0058513489, -0.0179927368, 0.0033905741, -0.0187595226, 0.0295093227, -0.0167950243, -0.0317163505, 0.0105929431, 0.0868957639, 0.0107173938, -0.0223032162, 0.0023761319, -0.0331446938, 0.0166638233, -0.1227842197, -0.0208313037, -0.0724334419, 0.01276768, -0.0081762355, -0.0324246436, -0.0458276905, 0.0115881898, -0.0214781519, 0.0196507145, 0.0541864485, 0.0526603572, 0.0121416431, 0.0316955298, -0.0021302542, -0.0005777985, 0.0818915367, 0.074710086, 0.0067679128, 0.0061160326, -0.0062136892, -0.0088008596, 0.0560057499, 0.0223019775, 0.013476952, 0.0047770492, -0.0175945722, 0.0249550436, 0.0530621745, -0.0075687598, 0.0328242891, -0.0387566835, -0.0081158839, 0.0185005385, 0.0876633301, -0.0095785344, 0.0362269692, 0.0228874087, -0.0008566881, 0.0201893989, 0.0101035507, -0.0509184003, 0.0030540638, -0.0088691832, -0.0055334349, -0.0043038004, 0.0168673806, -0.0203172993, -0.0754693672, -0.0274585169, -0.0083655398, -0.0427505672, 0.0127738016, 0.0698370188, -0.0138726933, -0.0416630693, 0.0229967162, -0.0253856052, 0.0162818711, -0.0045949155, -0.0574344397, 0.0305592548, 0.0019479166, 0.0593700446, -0.0758959875, -0.0353310332, 0.0012928677, 0.0327333026, 0.0201472957, 0.0259286221, -0.0106094657, -0.0084904488, -0.0328993611, -0.0192968063, -0.0032062184, 0.0237374976, -0.0032626078, 0.0613008365, -0.0164337065, 0.0157446451, -0.001990106, 0.0068354793, 0.0310326442, -0.0530413613, -0.0655804276, 0.0163145158, -0.0035357068, 0.0200679041, -0.0226595905, 0.004798898, 0.0284597818, 0.0094919987, -0.0389990024, -0.0099583166, -0.0116879866, -0.0339690782, 0.0000321865, 0.0660915524, -0.015731981, -0.0107454564, 0.0167348366, -0.0634776801, 0.0062699388, 0.0668550506, -0.0284937266, 0.0255409516, -0.0100604082, 0.0116377464, 0.0057160417, -0.0404128209, -0.0143311452, 0.0600595549, -0.0135735935, -0.0150709534, 0.0317725353, 0.0063575362, 0.0209956504, -0.0593509153, 0.0595367663, -0.0112112332, -0.0182287544, 0.0344289169, 0.0059148762, 0.0177442692, -0.0186661091, -0.0368790068, -0.0078562554, 0.0241308622, 0.008305626, 0.0619352125, -0.0090052346, -0.0446629561, -0.0215316378, 0.0062230355, 0.0305346083, 0.0251517463, -0.0048076813, -0.0530196354, 0.0251203123, 0.0293613654, -0.0153639279, -0.0359766223, -0.0159804374, -0.0358836912, 0.0235369336, -0.013854024, 0.0644448772, -0.0274069048, 0.0480699576, -0.0316289216, 0.0142256152, -0.0171439089, -0.0109449644, -0.0017398024, -0.0206497591, 0.0244328026, 0.0818750933, -0.0080033382, 0.0294398107, 0.0005534718, -0.0208755638, -0.0466852449, 0.0152172586, -0.0403032266, -0.0179639049, -0.0104779731, -0.0235377811, 0.0234208889, 0.0957583413, -0.0367054045, -0.0299221501, -0.044311367, 0.0671332553, -0.0059559443, -0.0198060181, -0.0195251703, 0.0070383064, -0.0289712138, 0.0307956729, -0.0168404952, -0.0569238067, 0.0567877665, 0.0309928749, 0.0025572549, -0.0848988742, -0.0075207413, -0.0799426585, 0.0083753588, 0.0149672916, -0.0005097734, -0.0335065722, -0.0050831954, -0.0352293923, 0.0061713625, 0.0260892641, 0.0138399638, 0.0446461588, -0.0330325142, 0.0260634851, 0.0113282204, -0.0800900981, -0.0426873527, 0.0244666077, -0.0282472689, 0.0349897705, 0.0020115296, -0.0486991853, -0.0343864299, 0.0027480421, 0.0293615554, 0.024314303, -0.044604294, -0.0271231961, -0.0106583601, -0.0086833714, 0.0248999242, 0.018780563, 0.0263885166, -0.0395240709, 0.0146184433, 0.0130292363, 0.0952916145, -0.0099717248, 0.0026919728, 0.0354513265, -0.0032066586, -0.0578793138, -0.0310199335, 0.0299013592, -0.0147130778, -0.067691572, -0.0183744319, 0.0830805376, 0.0575573035, -0.0190319009, 0.0124240015, -0.0468521081, 0.0360686108, 0.0169147048, 0.0473831147, -0.0411847979, -0.0102385301, 0.0129677141, 0.0336750858, 0.0010133147, -0.0185812507, -0.016012961, -0.112635836, 0.0371928774, 0.0195956826, -0.0416883118, 0.0119049354, -0.0090782847, -0.0088231731, -0.0330611765, -0.0458866246, 0.0152596058, -0.0401521623, 0.003026267, 0.009889584, -0.0234989915, -0.0359057374, -0.0130067486, -0.0178937372, -0.0494830683, 0.0413569883, 0.0185539071, -0.0179053023, -0.026883401, 0.0438339897, 0.0315147117, -0.0331277363, -0.026571786, -0.0202635862, -0.0136278644, 0.0178590119, 0.0029883054, 0.0693679154, -0.0394041985, -0.0455350578, 0.038414713, 0.1126747131, -0.0068665612, -0.0144074094, -0.0233347677, 0.0163042881, -0.0056870668, 0.0412883349, -0.0005606672, -0.0258589033, -0.0568526909, -0.0388514064, -0.010246898, -0.0664700866, 0.0134962657, -0.0223096423, 0.0395877026, -0.0050029829, -0.0251353662, -0.0023593421, 0.0130676422, 0.0600658692, 0.0096037975, -0.0506607853, 0.0304724313, -0.003800659, -0.0086457226, 0.0014531685, -0.0265033692, 0.0315909311, -0.0728551447, 0.0318518803, 0.0011543025, -0.0146766994, -0.048412133, -0.0113169681, -0.1006055102, -0.0615651086, -0.000887257, 0.0799248442, 0.0220846999, -0.0046016206, 0.0067774844, -0.0678104907, 0.0494343787, 0.0400792472, -0.0103488453, 0.0132067837, 0.0393394753, -0.0202337299, 0.0110868234, 0.0143098859, 0.0185083598, 0.0093223872, 0.0060075321, 0.0412594602, -0.0194061734, 0.026934877, 0.0084105264, 0.0152565883, -0.0299170502, 0.0062252874, -0.0111184539, -0.032071203, 0.0124920262, -0.0035876932, 0.0268064402, -0.0368858352, 0.011884043, 0.0382415541, -0.0282183066, 0.0433779918, 0.0257605333, 0.0199882481, 0.0148195457, 0.0383330323, 0.0512464456, 0.020443948, 0.0071355803, 0.0651015416, -0.0108864363, 0.037960615, 0.0131266033, -0.0064308411, 0.0468521938, -0.0029700084, 0.0449077412, 0.0412641354, 0.0124382628, -0.0536989942, -0.0288877804, -0.0274210591, -0.0870122239, -0.0129374517, 0.0125495233, 0.0681849048, 0.0134121822, -0.0402491428, -0.0530151725, -0.0211675148, -0.0164449215, -0.0010965557, -0.0096849287, 0.005562711, 0.0220234431, 0.0392129906, 0.0151417572, -0.0074093407, 0.0543219037, 0.0278676525, 0.0574797429, 0.0053947079, 0.035068009, -0.0407252237, -0.0343224071, -0.0067725275, 0.043690864, -0.0258665308, 0.0107697053, -0.0824722573, -0.0763697103, -0.0054518464, 0.0072542834, -0.0245180093, 0.0023516996, 0.0486116558, 0.0368184, -0.0557508878, -0.0091705844, 0.0039566145, 0.0048802178, -0.0468684286, -0.0408166163, -0.0089613618, -6.070705026e-33, -0.006345266, -0.0710005984, 0.0523411185, 0.04501798, -0.0109381555, -0.0315210782, -0.0089223059, 0.022692075, 0.0106346216, -0.0032911315, -0.0212410763, -0.000782471, 0.0018076021, -0.0218053348, 0.0127522573, 0.0202415641, 0.0117007513, -0.0387185737, -0.0618824475, -0.0157319568, -0.0337395817, 0.0189093072, 0.0320816487, -0.0431273915, -0.021970205, -0.0021556027, -0.0174517073, 0.0622288436, -0.0092615057, 0.1009354666, -0.0213660505, 0.0045299418, 0.0130581446, -0.0197543781, -0.0165532511, -0.0058396845, -0.0100453068, -0.0496643521, 0.0022423507, 0.0094504468, -0.0476212762, -0.042232234, 0.0079599656, 0.0335238129, -0.0703740492, -0.0304946862, 0.0104941251, -0.0231138561, -0.0185246188, 0.0314837806, -0.0511900298, 0.0438734367, -0.0082260408, -0.0143032009, 0.0614508875, 0.0143261077, -0.0182665233, -0.007091132, 0.0391534679, 0.0279982388, 0.0319587365, 0.0124051571, 0.0533528812, -0.0033479696, -0.0082543576, 0.001383216, 0.0121738659, -0.0350738466, -0.0104222735, -0.0515415333, 0.0575406961, 0.025551863, 0.0275509115, 0.0150673948, 0.0504686981, 0.026733635, -0.0788204372, -0.0033830113, 0.0008542654, 0.0522875153, -0.0029227845, 0.031095868, -0.0257250834, -0.001639285, -0.0576376058, -0.0017803666, -0.032311704, -0.034431044, 0.0213907659, 0.0219991989, -0.0056909234, 0.0072093033, 0.0401077308, -0.033621382, -0.0099850241, 0.0404852815, 0.0073579373, 0.0342071503, 0.0051688706, 0.0389427766, -0.1021495312, -0.0490892902, -0.0315913372, 0.0080301967, 0.0234648455, 0.0088740448, 0.0141930925, 0.0415697843, -0.0280329827, -0.0010178138, -0.029584894, 0.0046793865, 0.0599063486, 0.0710167661, 0.0326451175, 0.00820156, 0.0067242994, 0.0497658961, 0.0196292847, -0.0247022472, 0.0028402086, 0.0363287851, -0.0156022869, 0.048581738, -0.0060518919, 0.0004485535, -0.0262031499, 0.0063883699, -0.016264854, -0.0545789674, -0.0393364057, 0.0100578992, 3.015e-7, 0.0477203652, 0.0890376419, 0.0064066341, 0.062249478, 0.0276357755, 0.0391003639, -0.0361206643, -0.0283618104, -0.0036822071, 0.0062435525, 0.0339994915, 0.0504440591, 0.0339153223, 0.0241153389, -0.0540231131, 0.0399119295, -0.0077954247, 0.0137309963, -0.076310873, -0.0003500453, 0.0275642779, 0.064770624, 0.0334891528, -0.0125657236, -0.0127937477, -0.0368512683, 0.074318625, -0.0020735511, -0.0181658175, 0.0424098745, -0.009546509, 0.0508506745, 0.0114005608, 0.0114972433, 0.0032729732, 0.0527517721, -0.01003771, 0.0820733756, 0.0233259387, -0.0182695258, 0.0057796929, 0.0159807056, -0.0072161006, -0.047416456, 0.0688733086, -0.0482132584, -0.0399632826, -0.0137546705, 0.0372302197, -0.0652796999, 0.0299567003, -0.0722365081, 0.0138084777, 0.0234202612, 0.0028440699, 0.0136930076, 0.0003918436, -0.0277771782, 0.0056431009, 0.0273490939, -0.050839249, -0.027600443, -0.0307854563, 0.0427571461, 0.045905564, 0.0122647742, -0.030933395, 3.133632152e-34, 0.0426943302, -0.0144596417, 0.0126375249, 0.0462056175, 0.0177610163, -0.0032331387, -0.0580581427, 0.032579679, 0.0311321113, -0.0579530187, -0.0146494908 ]
http://arxiv.org/abs/2310.12942v5
http://arxiv.org/pdf/2310.12942v5
On the Representational Capacity of Recurrent Neural Language Models
2023-10-19T17:39:47
2024-05-30T14:49:25
Franz Nowak, Anej Svete, Li Du, Ryan Cotterell
cs.CL
cs.CL, cs.LG
This work investigates the computational expressivity of language models (LMs) based on recurrent neural networks (RNNs). Siegelmann and Sontag (1992) famously showed that RNNs with rational weights and hidden states and unbounded computation time are Turing complete. However, LMs define weightings over strings in addition to just (unweighted) language membership and the analysis of the computational power of RNN LMs (RLMs) should reflect this. We extend the Turing completeness result to the probabilistic case, showing how a rationally weighted RLM with unbounded computation time can simulate any deterministic probabilistic Turing machine (PTM) with rationally weighted transitions. Since, in practice, RLMs work in real-time, processing a symbol at every time step, we treat the above result as an upper bound on the expressivity of RLMs. We also provide a lower bound by showing that under the restriction to real-time computation, such models can simulate deterministic real-time rational PTMs.
[ -0.0078893118, 0.0374280363, -0.0232391842, 0.0191150587, -0.0366863385, 0.0058442256, -0.0243273452, -0.0043545058, -0.0347576886, -0.0002632134, 0.0201758444, -0.0519010313, 0.0297973193, 0.0269028377, 0.0483465679, -0.0263693109, -0.0179515481, -0.0591570064, 0.0403956994, -0.0181951951, -0.0514259823, -0.0348432176, -0.0132047851, 0.0286248941, 0.0591639429, -0.0208182037, -0.0117745306, -0.0573488623, -0.0471055955, -0.0081524253, -0.0619257465, 0.0142709604, -0.0115753235, 0.0152120255, 0.0000018411, -0.0311717317, 0.0357189737, -0.0092792558, -0.0179725941, 0.0240366831, 0.0194728822, 0.0267197341, 0.0023014047, 0.0412971787, -0.024022961, 0.0263708811, 0.0519118644, 0.0284691993, -0.0085037388, 0.0487899892, -0.0020563153, -0.0163495634, 0.0533259362, -0.0520377345, 0.0043672798, -0.0147663392, 0.0393123701, 0.0065450561, 0.0180396456, -0.0191526394, -0.01631511, 0.0146918651, 0.0225066002, 0.0169932693, -0.0387693942, 0.011687994, 0.0620761663, 0.029061852, 0.009733336, 0.0310492162, -0.0701993629, -0.0142551633, 0.0223153234, 0.0144213159, -0.0039580264, -0.052287586, -0.0067923851, 0.0745482221, 0.0172636081, 0.0656912625, 0.0309095383, 0.0281050988, 0.0715169385, -0.0127816992, -0.0015773393, 0.076034449, 0.0338519886, -0.0075982399, -0.0584372096, -0.0066782073, 0.0026732071, -0.0665570274, -0.0097295195, 0.0557028279, 0.0362426043, 0.0526894853, -0.0354866646, 0.0119156986, -0.0097082797, -0.0882491842, 0.0367708057, 0.0329811424, 0.0758522227, 0.0299899187, -0.0122791436, 0.0643687919, -0.0360006727, -0.0478273816, -0.0042084269, 0.0160424076, -0.0517656952, -0.0265722945, -0.0503735691, 0.0709459782, -0.0067797215, -0.010594938, -0.0570672192, 0.0471303016, -0.0099422596, -0.0151816383, -0.0002483158, -0.023216527, -0.0486243144, 0.0157045797, -0.0866694376, 0.0032455563, 0.0349347703, 0.0074559241, -0.0174267888, -0.0651461333, -0.0011726649, 0.0021214697, -0.0098158643, -0.0182075948, -0.0505815297, 0.0491970554, 0.0054577291, -0.005006237, -0.0296817068, -0.0068066157, -0.0002996524, -0.0369130448, -0.009989921, -0.0533035509, -0.0027040017, -0.0117602926, -0.0192774832, -0.0576843917, 0.013942454, 0.0182164721, -0.0030349137, 0.0706892684, 0.0484617911, 0.0149222771, -0.0058030523, -0.0077168224, 0.0110720927, 0.0392004289, 0.0679629669, 0.0261748377, 0.0045677009, -0.0185887981, 0.0477704816, 0.0475512892, -0.0233815871, -0.0182972103, -0.0993106738, -0.0349262096, 0.0458972789, 0.0230341442, -0.0041626133, 0.0809256434, 0.0042330394, -0.034414459, 0.0394249111, 0.0235142745, 0.0224251784, 0.0734041482, 0.0541380011, -0.0134994071, 0.0308848936, 0.0337707475, -0.0459501334, 0.0149399182, -0.0362926722, 0.0363915563, 0.0328654461, 0.0019683733, -0.0373683013, -0.0464278795, -0.0271292794, -0.0401857272, 0.0508959815, -0.0450509116, 0.0765307546, 0.0074397479, -0.0617180727, 0.0119031956, -0.0319294818, -0.0034015609, 0.0280572418, -0.0431395322, 0.0281389281, 0.0486280359, 0.0569017865, -0.0447425656, 0.0587866008, -0.0057739513, -0.0141003653, 0.032585986, 0.0411246046, 0.0219236836, 0.0090076104, -0.0196448527, 0.0182119943, 0.0231677927, 0.001834847, 0.0442659296, -0.0249174219, 0.0602887273, -0.0228635576, -0.0283236392, -0.0481864922, 0.0127522182, -0.0133977076, -0.0475757122, -0.0024092472, -0.0172425751, 0.0617709644, -0.011362494, -0.0008671395, 0.0542357266, 0.0060845604, -0.0380133167, -0.0594445579, 0.0075071207, -0.037205711, 0.008605551, 0.0505925566, -0.0187473316, 0.046153374, 0.0235718042, -0.0118419435, -0.0356174074, 0.1146981791, -0.0348776393, 0.0253038928, -0.0027552822, 0.0191370156, 0.0009300331, 0.0209044069, 0.0017405465, 0.0525860935, -0.0240410455, 0.0589569286, 0.0143254744, 0.0070918696, -0.0142411711, -0.0630550086, -0.0516431518, 0.0058055418, -0.0201589353, 0.0118550118, -0.023341557, -0.0465172045, 0.0656682402, -0.0337200649, -0.0061237435, -0.0328983441, 0.0063948007, 0.0276528746, -0.0246040151, 0.0021940467, 0.0420033894, -0.008784581, -0.0507362559, 0.0057509146, 0.0022290733, 0.0108826542, 0.0792406648, -0.010715019, -0.0050485698, -0.035182815, -0.0391874127, 0.0011281421, 0.0360751525, 0.0060269316, -0.0170604922, -0.0203040019, 0.0077157915, 0.0025363823, 0.059212923, -0.023576986, -0.0432885662, 0.0005605126, -0.0167702064, 0.0476152897, 0.0415439419, 0.0159459226, -0.0065142466, 0.0278155934, 0.0072210906, 0.0022015146, 0.0277200397, -0.0309721678, 0.0065350449, -0.0224981867, -0.0258696154, 0.017328145, 0.1471305043, -0.0163440779, -0.0219102055, -0.0432968065, 0.0257853866, -0.0174521934, 0.0104032271, 0.0038975959, -0.0285059679, -0.0228112247, 0.0337075852, -0.0237232409, -0.0606979243, 0.0517961606, -0.0551067479, 0.0086670136, -0.0119035849, -0.0367763937, -0.0264424719, 0.0606703684, 0.0417923667, -0.0249656346, 0.00019382, -0.0067605567, -0.0068984781, -0.0352792367, -0.0162599199, -0.0271140318, 0.0351682007, -0.0378260724, 0.0295486171, -0.0229960121, 0.0082335649, 0.0037439489, 0.0260825194, -0.0429215133, 0.022636259, -0.0108597754, -0.0543664061, 0.0028269733, 0.0811809674, 0.0028427544, 0.0246857964, -0.0162590407, 0.0156374089, 0.0001401939, -0.0326319672, 0.0113883261, 0.0060429801, -0.0024515479, -0.0033250155, 0.0372979492, -0.0310179256, 0.0127955191, 0.0122940801, -0.0544932932, -0.0083189318, 0.0140045499, -0.0233075526, -0.0330461077, 0.0620147996, -0.023635922, -0.0283804517, -0.0138684968, 0.1083546802, 0.0008793032, -0.00697958, 0.0143116815, 0.0230386481, -0.035304416, 0.0348656587, 0.0147763975, -0.0597487614, 0.0010634528, 0.007000532, -0.0079708165, -0.0122830002, -0.0588601455, -0.0233620293, -0.0872591287, -0.0190028511, 0.0007405074, -0.0246854164, -0.0456299186, 0.0248046871, -0.0495982952, -0.0219476204, -0.0407690033, 0.0138955554, -0.012603051, 0.0272252858, 0.0093988962, -0.060187161, 0.0334821343, 0.0144659486, -0.0016678806, 0.0074828877, 0.0277127977, 0.0279923212, -0.0556353219, -0.0884548426, -0.0118202502, -0.0174055137, -0.0290167257, 0.0272942521, -0.0549919941, 0.0324280709, -0.033222314, 0.0176269263, -0.0050067278, -0.0269289743, -0.0026660382, -0.0090991221, 0.0808410868, -0.012196403, -0.0595632382, -0.018826399, -0.0176419616, 0.0341072381, 0.0699744225, 0.0331481583, -0.0463519916, -0.0635949001, -0.0195008516, 0.0123550296, -0.0363351442, -0.0306446981, -0.0647624508, 0.0421559028, 0.0053554876, -0.0679870024, 0.0085818013, -0.0319180004, 0.0249371454, 0.0035808519, 0.0057089753, 0.060409043, -0.0223815199, -0.0271088369, -0.0102159586, -0.0725653544, 0.0140048414, -0.0425858386, 0.0171220135, 0.0415451378, -0.0248390958, -0.0261678565, -0.0332946144, -0.0678682104, -0.0369956233, 0.0092662927, -0.0023585991, 0.0300970934, -0.0799706802, -0.0416143984, -0.0548962839, 0.0176396705, -0.0549933054, 0.0049537667, 0.0317128971, 0.0261550099, 0.0437089652, 0.0277411658, 0.0521824509, -0.0210582428, 0.0218063034, -0.0172354542, 0.0047178864, -0.006812599, -0.0660893321, -0.0435292944, 0.0042469576, 0.0117656337, 0.0798565298, 0.0011905094, -0.0030824328, -0.0098790294, -0.0059089735, 0.0205343794, -0.0690667257, 0.0096586943, 0.0273473896, 0.0321661159, -0.0154159339, -0.0515906401, 0.0179514792, -0.0031734311, 0.0634862557, -0.001901108, 0.0026012328, 0.0229201671, 0.0167028606, 0.0017615464, 0.0102289943, 0.0181481931, -0.0496109389, 0.0042770198, 0.0191311054, -0.0012934295, -0.0041093323, 0.055722829, -0.012647951, -0.0340462252, -0.0354266949, -0.0590784587, 0.033317972, 0.0236597843, 0.0521953776, 0.0200370494, -0.0278389789, -0.0573135428, 0.0298763402, -0.0632491112, 0.006558043, 0.0227396134, -0.0144934822, 0.0618969388, 0.0434541628, -0.0452218689, 0.0435263291, 0.0763638318, 0.0294953175, 0.0370700434, -0.0004636837, 0.0077209622, 0.0072441646, -0.0466737971, -0.0432314835, 0.012950426, -0.0015477295, -0.0105907889, -0.0470297076, -0.0770521015, 0.0680842623, 0.0293530431, 0.0348069072, -0.03511969, 0.0054778159, 0.0003012961, 0.0174317956, 0.0524277724, -0.0323546715, 0.0375087261, 0.0343000516, -0.0253896303, -0.0381560177, -6.122543959e-33, -0.0180193726, -0.0222642962, 0.0033330354, -0.0268713925, 0.0144527797, -0.0018013394, -0.0530192144, 0.0112594506, -0.0122492043, -0.0115263313, -0.0081909606, 0.026048772, -0.001962191, 0.055916544, 0.0038062627, -0.0181871485, 0.0300912894, -0.0210309252, 0.0158684086, -0.0021191144, -0.0008655117, -0.0176522192, -0.0035031207, 0.040202301, 0.0305609573, -0.038085103, -0.0064329901, 0.03416574, 0.0097404839, 0.062920928, -0.0510644615, 0.0277328137, 0.0230204035, -0.0647617131, -0.0290310103, 0.0322809964, -0.0303920824, -0.040753115, 0.0146111157, -0.0171821639, -0.0277971514, -0.0261398647, 0.0935124978, 0.0077074384, -0.015700046, 0.0232639369, 0.0111723952, -0.0273092445, -0.0423452705, -0.0415892601, -0.0047442317, 0.017160885, 0.0144116012, 0.0262120999, 0.0182407144, -0.0285463333, -0.035830792, 0.0168030877, -0.0740387738, -0.013885594, 0.0081674419, 0.0502427183, 0.0111837508, 0.0169829316, 0.0458250679, 0.0054940423, 0.0397341698, 0.0065780454, -0.0445114188, 0.0467637964, 0.0177043006, 0.0099291727, 0.0829166695, -0.0105677135, 0.055442363, -0.0241834596, -0.031293828, -0.0234400779, 0.0553437471, 0.0293098167, 0.0396682695, -0.0120646516, -0.0484570973, -0.0431408137, -0.046639543, -0.0465921685, -0.0264292341, 0.0007725813, -0.0063762772, -0.0013380368, 0.0495558344, -0.0325185582, 0.0030554074, -0.0371624269, -0.0052993358, 0.0075172926, 0.0485049002, 0.0070901141, 0.0184820183, 0.0315467268, -0.0216550305, 0.0046460731, -0.038689971, 0.0075981109, -0.0144131267, 0.0336874686, -0.0279803537, 0.0441282429, -0.0577663928, -0.0325107574, -0.0139315901, 0.0189945381, 0.0223846957, 0.0991725698, 0.0541718677, -0.0290436428, -0.0051001455, 0.005036735, -0.0532251298, -0.0304431226, 0.0262721311, 0.0152808744, 0.0170220397, 0.0462600812, -0.0447059907, -0.0467427596, -0.0233398173, 0.0744191334, 0.0312106628, -0.0172436908, -0.0070458106, 0.0444182456, 2.772e-7, 0.0147811258, -0.0199403111, 0.0698526129, 0.0068335687, 0.0652489662, 0.017915858, -0.0180493239, 0.0341919884, -0.012288251, 0.0017430902, 0.001045351, 0.0289950464, 0.0261660814, -0.0277518816, -0.0941015631, -0.0274521094, -0.0486320034, 0.0502454042, 0.0029020461, -0.010497326, -0.0034541758, 0.0886626765, 0.0484290048, 0.0276841931, -0.025688285, -0.0607152805, 0.0091219926, -0.0112503115, 0.0091502992, -0.0233203452, 0.0234938618, 0.0630410463, -0.0312391035, -0.0344786495, 0.0167200677, 0.0578074604, -0.0175763313, 0.0678627789, 0.0364470035, -0.014283793, -0.007598327, -0.0717388466, -0.0254438892, 0.0332157388, 0.0481836051, -0.0371705033, -0.051356066, -0.0146637838, 0.0446455777, 0.0022424608, 0.0241145641, 0.03630336, -0.0195301212, -0.0244185571, -0.0127018197, -0.008350214, 0.025296608, -0.0477568842, 0.001607422, -0.0324086919, -0.0599636436, -0.0069431313, -0.0521742366, 0.0176968686, 0.0419322811, -0.0499683172, 0.0111917136, 2.285200278e-34, 0.0637123361, -0.0431535654, -0.0026747906, 0.0199091379, 0.0214368273, 0.0026014838, -0.0258701034, 0.0066927299, 0.0592865311, -0.0798285306, -0.0562127978 ]
http://arxiv.org/abs/2310.12936v2
http://arxiv.org/pdf/2310.12936v2
A Predictive Factor Analysis of Social Biases and Task-Performance in Pretrained Masked Language Models
2023-10-19T17:33:33
2023-10-22T14:19:01
Yi Zhou, Jose Camacho-Collados, Danushka Bollegala
cs.CL
cs.CL
Various types of social biases have been reported with pretrained Masked Language Models (MLMs) in prior work. However, multiple underlying factors are associated with an MLM such as its model size, size of the training data, training objectives, the domain from which pretraining data is sampled, tokenization, and languages present in the pretrained corpora, to name a few. It remains unclear as to which of those factors influence social biases that are learned by MLMs. To study the relationship between model factors and the social biases learned by an MLM, as well as the downstream task performance of the model, we conduct a comprehensive study over 39 pretrained MLMs covering different model sizes, training objectives, tokenization methods, training data domains and languages. Our results shed light on important factors often neglected in prior literature, such as tokenization or model objectives.
[ 0.0466401465, 0.0191279743, -0.0483476259, 0.0313895196, -0.0106601669, 0.0381541438, 0.0778881982, -0.0057138242, 0.015332914, -0.0678604543, -0.076082252, -0.0246278755, 0.0003963122, 0.0365255699, 0.0486359894, -0.0714822784, 0.0366768837, 0.0015343638, 0.0195896886, -0.0429553278, 0.0053075575, 0.0109921545, 0.0426723957, 0.0316147283, -0.0208194535, 0.0118673742, 0.0475776941, -0.0287079401, -0.0051037916, -0.0248659551, 0.0470357649, 0.0633528978, 0.0038277726, 0.0347914957, 0.0000017925, -0.0834535211, -6.808e-7, -0.0217825994, -0.0162757114, 0.014604602, 0.0621325299, -0.0279391948, 0.0117582828, 0.0447842926, -0.0738144517, -0.0392295308, 0.0189000554, 0.0420279615, 0.0162051599, 0.0356279798, -0.0242534727, -0.0319745354, -0.0563384369, 0.0040036705, -0.0645708665, -0.0271323994, 0.0469565615, -0.0197133496, -0.0749102831, -0.0216463543, 0.0032581436, 0.0054677147, -0.0175383296, 0.042576462, 0.0283391234, 0.020632701, -0.0257545821, -0.0368794911, -0.0248424783, 0.0249175187, -0.0195706915, -0.0498024747, -0.0093458025, -0.0088533955, 0.0193032343, 0.0374325141, 0.0081648715, 0.0081870044, 0.0279443432, 0.0251117256, 0.0108106723, 0.0292851198, 0.0114256265, -0.0113069098, -0.0179048683, 0.0677810162, -0.0038260559, -0.0345492996, 0.0030698797, 0.0035643552, -0.0068748817, -0.0757160038, 0.0179767683, 0.0105679817, 0.0063477536, 0.0346889868, -0.0680053681, -0.0836840123, 0.0098699061, -0.0576136522, -0.0064833849, 0.0159411766, -0.0125558041, -0.0078523327, -0.0458363481, 0.0201134663, 0.0250562243, 0.0360451527, -0.0209527705, -0.0208290648, -0.0071171001, -0.040009819, -0.0471771806, 0.0287588518, -0.0202080142, 0.016271336, -0.03703513, -0.0052798684, -0.0218755323, -0.0181920901, -0.0037592622, -0.0145091936, -0.0219510682, 0.0027775809, -0.0209804941, -0.0252173096, -0.0422989912, 0.0364369564, -0.04198502, -0.061107941, 0.0421893112, -0.0141503932, 0.0181937236, -0.0520686246, 0.0277138464, 0.035811685, -0.0232651662, -0.0479009785, -0.030925354, 0.0069688098, 0.0001326074, -0.0404820554, -0.0054198317, -0.0108389081, -0.0054021222, 0.0400341749, 0.0168853458, -0.0186718628, -0.0304862596, 0.0087773036, -0.0463101231, 0.0510995165, 0.0063723698, 0.0347652622, 0.0613164641, 0.0090474328, -0.0032030095, 0.0609354079, -0.0089727677, -0.0116250776, 0.0324008539, -0.0600671545, 0.0322086997, 0.0493237339, 0.0256582871, -0.0211242866, 0.0068999431, -0.0073815985, 0.018642677, -0.0504919142, 0.0826998055, 0.0327866934, -0.0178087484, -0.0270159859, 0.0615586415, 0.0460648723, 0.0070337346, 0.0311179478, 0.0008216599, 0.0243229698, 0.0168501697, 0.0310239587, -0.0579090863, -0.0276687145, -0.030170938, -0.0195917003, -0.0374493264, 0.0384053141, -0.0189006142, -0.0067391116, -0.0299570765, 0.0126197934, 0.054307878, 0.0012650681, 0.0386775509, 0.0166227985, -0.0437088832, 0.02658429, 0.0277543496, -0.015985189, -0.0003191599, -0.0353019498, -0.0072361296, 0.0095567526, -0.0187675357, -0.0216407496, 0.0139004197, -0.0026868009, 0.00478289, 0.0254507866, 0.0736937225, -0.0040991902, -0.0189972259, -0.0351002999, 0.0130377049, -0.0021311876, 0.0131729627, 0.0262262225, 0.0206371211, 0.0256377999, 0.0018047795, -0.0227875691, -0.0361143835, 0.0519912429, -0.0201175883, -0.0422431827, -0.0407407805, 0.0099894181, 0.0505945273, 0.0057363119, -0.0217426103, 0.0193416234, -0.0046043773, 0.0109424051, 0.0107999127, 0.0303804688, -0.0562219098, -0.0170344971, 0.0146066332, -0.0208451785, -0.0099718776, 0.0944201872, 0.0137369111, -0.0131094977, 0.0354688391, -0.016407216, 0.0814764202, -0.0201706681, 0.0298772678, -0.0494892858, 0.0353942029, -0.0282829124, 0.0301996879, 0.0065294784, -0.0119589251, 0.00126203, -0.0416491739, 0.007265334, -0.0218172371, -0.0146650514, -0.0236659423, -0.017553268, -0.0162826069, 0.0030422881, -0.0317180157, -0.0302319974, -0.0148154506, -0.0972104967, -0.0492694639, -0.0320340581, -0.0121505093, 0.0104973456, -0.0392164141, -0.0535149835, -0.024321951, -0.0494349115, -0.0348954611, -0.0019037048, 0.0324629918, -0.0189204104, -0.0083315456, -0.0066328822, -0.0341109708, -0.0102599636, -0.0091720475, 0.0365873314, 0.0162804723, -0.073860243, -0.0399926119, 0.0542694852, -0.0301911682, 0.0484114327, -0.0269908141, -0.0200313143, 0.0208094195, 0.0642346889, 0.0573767424, 0.0631046295, 0.0033915685, 0.0164380949, 0.0686897263, 0.0072389445, -0.0407069623, -0.0259854179, -0.0160050429, -0.0169274844, -0.0383835509, -0.0650727078, 0.0201707613, 0.070099771, 0.045107536, -0.0148410536, -0.0401293933, 0.0247747656, -0.0381909609, -0.0772621855, -0.013458034, -0.0573077612, -0.0238285698, 0.0393617004, -0.0205998439, -0.0685683861, 0.0550813712, -0.0161253903, -0.0223122984, -0.0256798584, -0.0139976777, -0.0100179212, 0.0225222632, 0.0196185373, 0.0177722424, 0.0244147163, -0.0497191399, -0.0452122241, 0.0045937733, 0.0186739881, -0.027040977, -0.04227392, -0.0073257848, -0.0098026581, 0.0210117958, -0.0166896582, -0.0305424575, -0.0712064952, -0.0348971523, -0.0100795534, 0.0439001247, 0.0136177978, 0.0173152424, 0.0136554809, -0.0103729106, 0.0205650814, 0.0074448083, 0.010807462, 0.0096863462, -0.0498819686, 0.0551400147, 0.006383379, 0.0425870866, -0.0382321514, 0.0182543397, -0.0085791079, 0.0705037639, -0.041338861, -0.0068005929, -0.001873838, 0.0588554703, 0.0084614223, -0.0396321528, 0.0097064972, 0.0594809763, -0.0050575733, 0.0293661095, 0.1078473404, 0.0133722676, 0.0006502663, 0.0187702738, -0.017529184, 0.0531162769, 0.0244665276, 0.0081186639, -0.0570060983, 0.013072066, 0.020050969, 0.0192153268, -0.0344367251, -0.0232996996, -0.0131047415, -0.126895085, 0.0238711517, -0.0035298753, -0.0652517229, -0.000021437, -0.045263648, -0.0050216038, -0.0062016123, 0.0367364585, -0.0234509129, -0.0075703007, -0.0191850066, 0.0459547266, -0.0603247173, -0.0385469161, 0.0203235503, -0.0463156775, 0.081513077, 0.0308036413, 0.0025227421, -0.0262611844, -0.0221436489, 0.0475890115, 0.0390299186, 0.0257485937, -0.055802986, 0.0662058815, -0.0650309771, -0.024237508, 0.0050170659, 0.0107242959, 0.0025954484, 0.0072959415, -0.0044227568, 0.0240177419, 0.0189303327, -0.0610781088, 0.0203025211, -0.0023591153, -0.0054378412, 0.0916568339, 0.0298572015, -0.0262066424, 0.015367358, -0.0018246419, 0.0297293309, 0.0295854826, -0.0392606556, 0.020239396, -0.0472679138, -0.0199838169, -0.0291276276, -0.0619976707, 0.0600576438, 0.0446176045, 0.0309786238, 0.0041806027, 0.0265878476, -0.0167262219, -0.0272126645, 0.0443583243, -0.0189885795, 0.0396555439, -0.0305718705, -0.0566885211, 0.0091694016, -0.0398807861, -0.0069298842, -0.0317105129, -0.018646067, -0.0462588258, 0.0604498349, 0.0582867637, 0.0283204187, 0.0335984454, 0.0248349831, -0.1095682755, 0.0637161359, -0.0293818526, -0.051883921, 0.0694834739, 0.0553594902, -0.0258773584, 0.0109554483, 0.0119693233, -0.0027288215, 0.0238935128, 0.0643413216, -0.0307054259, -0.0288907457, 0.0042728102, 0.0004504425, 0.0129247801, 0.0910757706, -0.0360374264, 0.0281395148, -0.0544765703, -0.0260829199, -0.0532941893, -0.0173168778, -0.0190460365, -0.04064532, 0.0132562304, 0.0583213642, -0.0330864191, -0.0220724251, -0.0792542621, 0.0254581068, -0.037098527, 0.0290356502, -0.0152584752, 0.0464982055, 0.0226681884, 0.0459001325, -0.0083284006, -0.0093786698, 0.011314163, 0.0177404936, 0.0576201491, 0.0423509255, 0.0086848652, -0.0006570601, -0.0166931245, 0.0370930061, -0.037498042, -0.0103014419, -0.0214883666, -0.0052544158, 0.0000570179, -0.0616212152, 0.059621539, -0.0154137062, 0.0140206665, 0.0052834623, -0.0184203759, -0.0046290066, -0.0359319113, 0.0564552806, -0.0216697678, -0.0635981932, 0.0253109783, 0.1003792509, 0.0632609576, 0.0208424274, -0.0123870764, -0.0290336572, -0.0279261377, 0.0159675032, 0.0679573044, 0.043371249, -0.0234633572, -0.0312821157, -0.0756440908, -0.0784045532, -0.0189627111, -0.0267717503, 0.0090543665, -0.0201874301, 0.0242292639, 0.0588694848, -0.0350508466, -0.034922272, -0.0337070785, 0.0059259203, 0.0543835498, 0.0106910635, -0.012804837, -6.040072378e-33, -0.0244308189, -0.0311301779, 0.0031867314, 0.0177974757, 0.0249475129, -0.0002131108, -0.0251817629, 0.0493281856, -0.019943973, -0.006669289, -0.0054365117, -0.0012461009, 0.0332537293, -0.0207948592, -0.0097438395, -0.0023490584, 0.0592137873, -0.0282712057, -0.0146749401, -0.0656972453, -0.0033622941, 0.0286206119, 0.0443967953, -0.0757084265, 0.0601576231, 0.0007219622, -0.0086530754, -0.017178582, 0.0203569811, 0.01570745, -0.0253451373, 0.0271002613, 0.0245708935, -0.0192108192, -0.0469253026, 0.0719205439, -0.0380298793, -0.0355475284, 0.04801891, 0.0398472659, 0.026080709, -0.00441253, 0.0371577255, -0.0164834838, -0.0713248998, 0.0475404672, 0.0384269506, -0.0098711224, 0.0008254374, 0.0166079234, -0.0542311668, 0.0122877732, 0.0178621784, 0.0139492657, 0.0373950563, 0.042065952, 0.0009664002, -0.0097059868, -0.0537851378, 0.0185305513, 0.0072074933, -0.0259332936, 0.0673614666, 0.0563401245, 0.0552211888, 0.0582151003, 0.1039390415, 0.0691861883, -0.0148431528, -0.0003870877, 0.1031988114, -0.0129402215, 0.0586554296, 0.021015048, 0.0108047538, -0.023125669, -0.0013800905, -0.0140364897, -0.0312854014, -0.0484161377, 0.0245697983, 0.0237137042, -0.0532041118, -0.0676162913, -0.032198824, -0.0044635548, -0.0029782017, 0.0011568569, 0.0343950614, 0.0057505486, -0.0284749474, 0.0259781368, 0.0440608747, -0.0339923501, -0.0254203379, -0.0467549525, -0.0006768091, 0.0214089043, -0.0039454596, 0.0048076012, -0.0799095929, -0.0097979344, 0.0130761378, 0.0295705758, 0.0252643526, -0.0236395653, 0.0176578332, 0.0114241615, -0.0706038177, 0.0089988392, -0.0128706181, -0.0021149544, 0.0616344735, -0.0036007788, 0.0400001891, 0.0065713385, -0.002450892, -0.0185771193, 0.0367921963, -0.0542749949, -0.0556747206, 0.0264459439, -0.0226704869, 0.0242960732, -0.0259557664, -0.0169251636, -0.0206059404, 0.0120351743, 0.0940824002, -0.0001168559, -0.0064604431, -0.0408055075, 2.433e-7, 0.0149894841, 0.056105569, -0.0338676274, 0.0067465873, 0.0024098994, 0.0452949442, 0.0218370091, 0.0445060804, 0.0560015552, 0.0154200718, -0.0088679222, 0.0057045775, 0.024929028, 0.0238977037, -0.0356559455, -0.0317878425, -0.0450626761, 0.0141551821, -0.0283573866, 0.0158720855, -0.0234421641, 0.065373145, 0.0316197909, 0.0062762401, -0.036115922, -0.0501285866, 0.0287968796, -0.0619475693, 0.0025550178, 0.0062814211, 0.0284186713, 0.0388857722, 0.0137421666, 0.0697316825, -0.0140815983, 0.0392978601, 0.0378134549, 0.0313363001, -0.0232190005, -0.0031288841, 0.0113791553, 0.0084391348, -0.0677423999, -0.0780382007, 0.0477574542, -0.0228906907, -0.0243383124, -0.0217766911, -0.0027996139, -0.0021320747, 0.0279086065, -0.0274022557, -0.0112681771, 0.0303580835, 0.0584720038, -0.0130527262, -0.0178321861, -0.0460800119, -0.0197565611, -0.0329707712, -0.0316225477, -0.0399935395, 0.0080886399, 0.0184406918, 0.0188420489, -0.0136647122, 0.0257460084, 2.197699647e-34, 0.0111213895, -0.0136886388, 0.0304512233, 0.0086857043, 0.0585721768, -0.0004550281, -0.0293274429, 0.0390986428, 0.0301599242, -0.0622788891, 0.0190605335 ]
http://arxiv.org/abs/2310.12902v1
http://arxiv.org/pdf/2310.12902v1
Experimental Narratives: A Comparison of Human Crowdsourced Storytelling and AI Storytelling
2023-10-19T16:54:38
2023-10-19T16:54:38
Nina Begus
cs.CL
cs.CL, cs.AI
The paper proposes a framework that combines behavioral and computational experiments employing fictional prompts as a novel tool for investigating cultural artifacts and social biases in storytelling both by humans and generative AI. The study analyzes 250 stories authored by crowdworkers in June 2019 and 80 stories generated by GPT-3.5 and GPT-4 in March 2023 by merging methods from narratology and inferential statistics. Both crowdworkers and large language models responded to identical prompts about creating and falling in love with an artificial human. The proposed experimental paradigm allows a direct comparison between human and LLM-generated storytelling. Responses to the Pygmalionesque prompts confirm the pervasive presence of the Pygmalion myth in the collective imaginary of both humans and large language models. All solicited narratives present a scientific or technological pursuit. The analysis reveals that narratives from GPT-3.5 and particularly GPT-4 are more more progressive in terms of gender roles and sexuality than those written by humans. While AI narratives can occasionally provide innovative plot twists, they offer less imaginative scenarios and rhetoric than human-authored texts. The proposed framework argues that fiction can be used as a window into human and AI-based collective imaginary and social dimensions.
[ 0.0574816056, 0.0632743314, -0.0403921828, -0.0009928081, -0.0503051169, 0.0235004649, 0.0050258352, -0.0075813755, 0.0156483278, -0.0311514139, 0.0212907735, -0.0360248387, 0.0400018208, 0.0719401836, -0.0002080173, 0.0101366732, -0.0420387909, 0.0289576035, 0.0644761398, -0.0001507567, -0.0274216365, 0.0725651979, 0.0097856084, 0.038781587, 0.0234091617, -0.0215911716, 0.0039001086, 0.0250950009, 0.0036606544, -0.0527035818, 0.0018039881, 0.0164916441, 0.0243302956, 0.002630892, 0.000001995, -0.0511465706, 0.0672025755, -0.0034985566, 0.0182923079, -0.0015414733, 0.0434414111, 0.0360059738, -0.0070405975, -0.0152664678, -0.0294667594, 0.0272769351, 0.049575422, 0.0575440452, -0.034636233, 0.0456005745, -0.0035460936, -0.015437372, -0.0257383417, 0.0035560366, 0.0165157747, 0.0476210788, 0.0037143577, -0.0431170538, 0.0456083603, -0.048529543, -0.0050837221, 0.0024128144, 0.0027439401, 0.0237521902, -0.0171986204, 0.0553003512, -0.0097137727, -0.0760278702, -0.0008485255, 0.034074761, 0.0699128956, -0.0419209115, -0.0042822077, -0.01332899, 0.0126997177, 0.0147662256, -0.0226467066, 0.0833286345, -0.0344581567, 0.0079590846, 0.0125251263, -0.038590692, 0.008990407, 0.0242404975, 0.0603352487, 0.0257695243, 0.0043081576, 0.051704172, -0.0356531255, 0.0075570154, 0.0176480282, -0.0918405652, 0.0240701493, 0.018787453, 0.0124263922, -0.0133785214, -0.0353603959, 0.0366586298, 0.0046255621, -0.0593527332, 0.0368374921, 0.0378159918, 0.0113992868, 0.0143618574, 0.0253543146, 0.0115287481, 0.0072857304, 0.0110958619, -0.0095635774, 0.0361329578, -0.0210196786, 0.0017863557, -0.0097226175, -0.0333385505, 0.0055820802, 0.0164729115, 0.0245646089, -0.0105917277, -0.0157007352, -0.006418495, -0.0722582415, 0.0179495029, -0.0279772915, 0.0076553524, -0.044245176, 0.0112627167, -0.0912791491, 0.0171912313, -0.0040170825, -0.0690246001, -0.000206902, -0.0082274172, 0.0446404181, -0.0135211488, 0.0511037931, 0.0001067658, 0.0180035476, -0.0122517254, -0.0450602435, -0.0139973992, 0.0344077423, -0.0410471633, -0.0053380737, -0.0369723588, 0.0496385731, 0.0205523167, 0.0136855608, -0.0453895144, 0.0073036244, 0.0237609744, -0.0136859734, 0.0248817075, 0.0061216578, 0.0066523175, 0.0552584752, 0.0172745623, -0.0147785936, 0.0170408115, 0.1160956398, 0.0518501997, 0.027158957, 0.0037625208, 0.0771763548, -0.0246134251, -0.0292891748, 0.022924006, -0.0041602133, 0.0099755628, -0.0125979241, 0.0379799455, 0.0206841137, 0.0739478394, -0.0097466791, 0.0247285161, 0.0532598495, 0.1211442426, -0.0276082885, 0.0275420602, 0.0752962083, 0.0058235596, 0.0174485128, 0.036616575, -0.0398978107, 0.0120993778, 0.0065461663, -0.0251933113, -0.0330487117, 0.0216661375, 0.0050797071, -0.0110970857, 0.0008440671, 0.0172965862, 0.0424117707, -0.0123030869, -0.0108267842, 0.0050388603, -0.0166607685, -0.0897679627, 0.0241808128, -0.0389198102, 0.025715569, -0.0414726175, 0.1038089469, 0.0535236821, 0.0151167149, -0.0065692686, 0.0269893762, -0.0410013646, -0.0331298374, 0.0274720881, -0.0072373757, 0.0048988522, -0.0291410498, 0.0039874907, 0.0298607014, -0.024985699, -0.004048897, 0.0415557921, -0.0266251117, 0.0371570326, -0.0111736115, 0.039182473, -0.0794704184, 0.0466128252, -0.0781233236, 0.0033498465, -0.0492990389, -0.0200509652, -0.0002404666, 0.0040491545, -0.0590493418, 0.0031447324, 0.0263321046, -0.0000144824, -0.0678142235, 0.0562733933, -0.0286577661, 0.0223145448, -0.0000948257, -0.1062083095, -0.026543906, -0.0117444657, 0.0377173908, 0.0178593993, 0.0271959063, -0.0395994857, 0.0269744378, -0.0060930378, -0.0354646854, -0.0113135874, -0.0082794325, 0.0137758795, 0.0002558605, -0.0017635063, 0.0097449403, -0.0429897159, -0.0345274173, 0.0245247167, 0.0030427717, 0.0067068064, 0.0825797617, 0.0179997105, 0.0173942558, 0.0360152908, -0.0204956923, -0.0439985618, -0.0377325378, -0.085587658, -0.0125747407, 0.0136348475, -0.0235306192, 0.0075913616, -0.0281451717, -0.0599305257, 0.0237227455, -0.0450083204, -0.0417869389, -0.0042959452, 0.0075088036, 0.0072445753, 0.0266299974, 0.019754, 0.0026390664, 0.0372170731, -0.0266012419, 0.0369346105, 0.1018548533, 0.0050457669, -0.0479882918, -0.008038017, -0.0708098263, -0.0327615552, -0.0312629603, -0.0219475273, 0.0246091597, 0.0071008406, 0.059576381, 0.0329265073, 0.033120878, 0.0189824775, 0.0677144378, 0.0225677863, 0.0135409553, -0.0213365387, 0.0451977849, 0.0292610861, 0.0054241098, -0.0826593786, -0.0068524769, 0.0135382973, 0.0172052607, 0.0228622723, -0.0403351188, 0.0831488222, -0.0127654802, -0.036279723, 0.0449179076, -0.0637017637, -0.0028363371, 0.0801517963, -0.0144527983, -0.039814461, 0.0666644871, -0.0123207364, -0.0063024755, 0.0078544104, -0.0192035642, 0.0040720766, 0.0733540505, 0.0175274294, 0.0433725677, 0.0506340787, 0.0302419793, -0.0659453645, 0.0137690045, 0.0140268235, -0.026365323, 0.0113549111, -0.0345522612, -0.0072929771, 0.0071959919, 0.0012895503, -0.0274303816, -0.0488028079, -0.0463990644, -0.0277355518, 0.0182083063, -0.0399077907, 0.0034768188, -0.0366787016, 0.0285348985, 0.0138816917, 0.0287686344, -0.0156487264, 0.0174802188, -0.0142234312, 0.0479818173, 0.0200871732, -0.0094229374, -0.0117066763, -0.0180253666, 0.0343804844, -0.0256612096, 0.0112750195, 0.0143574309, 0.0165852327, 0.0095551619, 0.0046493015, -0.029743325, -0.0041190065, 0.0418372266, -0.0346188173, 0.0415173322, 0.0802941695, 0.0082786223, -0.017487457, 0.0275783204, -0.0150378821, -0.0110002058, 0.0327532142, 0.0262294151, -0.0762963817, 0.0509121194, 0.0313592479, 0.035830263, -0.032629244, -0.05806816, -0.0359809622, -0.0832049549, 0.0539371148, -0.0045394008, 0.026121337, -0.0083521726, -0.0421627015, -0.0208370872, 0.0319772251, -0.0283483639, 0.0006029047, 0.0091662658, 0.0324994177, -0.0634671673, 0.0107375337, 0.022139309, 0.0103710433, -0.0551421642, 0.0692419708, 0.0514108911, 0.1081676036, -0.0510368347, -0.0159435924, -0.0591495931, 0.0643360913, -0.0081914226, -0.0099420957, -0.00021435, -0.0040134639, -0.0010249538, -0.0368344784, 0.0543993637, -0.010707397, -0.0460656509, 0.0325729027, 0.0242976826, 0.0206913427, -0.1120788604, -0.009909654, 0.0008947192, -0.0033125833, 0.0744111165, 0.0136144487, -0.0482740775, -0.0197907984, -0.060195528, 0.0166850686, 0.0249881316, -0.0667217448, -0.0420232266, 0.0183519591, -0.0081194062, -0.0901922435, -0.0921587497, 0.0086529953, 0.0306583848, 0.0332046151, -0.0489471667, 0.0137973251, -0.0155051826, -0.0472098291, 0.0351637825, -0.0059423428, 0.010910471, -0.0029388655, -0.0111599052, -0.0234843642, -0.0597770363, 0.0048960387, 0.0475669913, -0.0341560766, -0.0512346663, 0.0324593112, 0.0027771548, 0.0228767693, 0.0298378207, 0.0113581456, -0.0179847106, 0.0194497518, 0.0200437959, -0.0537851155, 0.0686576366, -0.0555349141, 0.0856446028, -0.0188727472, -0.0034061719, -0.0022443538, -0.0060203369, -0.0169861913, -0.0136148725, 0.0044929343, -0.0157489553, 0.0173693784, 0.0278524086, -0.0210718848, -0.0930956602, 0.012039816, -0.065267235, -0.0631288886, -0.0104205394, -0.0208084676, -0.0321499519, -0.0259435326, 0.0006757608, -0.01735669, -0.0213339273, -0.0141409459, -0.0357097685, 0.0079217162, -0.0442783348, 0.0078252982, 0.0541814528, 0.0525510125, 0.0164729264, -0.0024962083, 0.0003452227, 0.0259567406, -0.0518038645, 0.0756425709, -0.0013740404, 0.0038029628, 0.0164267216, -0.0253694635, 0.0320436209, 0.0300911479, -0.0312195085, -0.0775729567, 0.0074589686, -0.0045799245, 0.0050384481, -0.0385235883, 0.0233529694, -0.0008955122, 0.0071240971, -0.0150689464, -0.0043176212, -0.0015204713, 0.007917054, -0.0425491557, 0.0132719865, -0.0453549623, 0.0430416204, 0.0361783132, -0.0412674882, 0.0619216077, 0.0156245567, -0.0160681158, -0.0130834654, -0.0386696793, -0.0432111397, -0.0106822178, 0.0180108231, 0.0129239382, -0.0580847338, -0.0373027064, 0.0205676798, -0.0147808027, 0.0185209997, -0.0661314428, -0.0309346579, 0.0061784727, -0.0305873752, -0.0139248762, -0.0375635922, 0.0200228915, -0.0255447198, -0.0058759204, -0.0211094934, -6.208515208e-33, -0.018032128, -0.0512420721, 0.0012094963, 0.028328184, -0.0634816214, -0.0378411599, -0.0491741784, 0.0087782117, 0.0154657522, 0.0555904359, 0.0059760064, 0.0009635552, -0.004427046, -0.0465136096, 0.0127796279, 0.0104734814, 0.0144649344, -0.0117188273, -0.0508864969, 0.0064717247, 0.0044023478, 0.0254984237, -0.0007110912, -0.0717210472, 0.0695589855, -0.062525779, -0.020682523, -0.0574991331, 0.0037472525, -0.0353323333, -0.0200362783, 0.0140373083, 0.0380313024, 0.0204101112, 0.0037210151, 0.0262578502, 0.0039433087, -0.0106761847, -0.0054026856, -0.0192608032, 0.0092307953, -0.0180274919, 0.0002315674, -0.0078851627, -0.0064617777, -0.0034471785, 0.0589202866, -0.0198869817, 0.0712611675, 0.0272701085, -0.0649546161, -0.0239122175, -0.0109055582, 0.0006302866, -0.0212457143, 0.0345250517, 0.0025840774, 0.0345793068, -0.0460352376, 0.0236294102, -0.0542325191, -0.0054000332, 0.0002821087, -0.0092230178, 0.0257394947, 0.0538842715, 0.0774697959, 0.042185165, -0.0910558328, 0.0217734519, -0.0069742696, -0.0106350742, 0.0430927426, 0.0821110457, -0.0199611355, -0.022220999, -0.0042043873, 0.0184997767, 0.0030507713, -0.0323520936, 0.0009020033, 0.012447929, -0.0259586275, -0.0463288538, -0.0135171181, -0.0787366852, 0.0005335493, -0.0085844267, -0.031880565, -0.0369393565, -0.012021645, 0.0039493279, -0.0247370638, -0.0458578058, -0.0000816394, -0.0176391415, -0.0568000041, 0.0043812012, 0.0382031947, 0.0026792996, -0.0112288902, 0.0565589145, 0.0107985642, 0.0518222451, 0.071992591, 0.0225217808, -0.0419786088, 0.0309740771, -0.0342750475, -0.0158256162, -0.0272742305, -0.0146264024, 0.0490981899, -0.0540776066, -0.0005167406, 0.0032457791, 0.0063630231, -0.0449526645, 0.0355172604, 0.032533519, -0.0372401625, -0.0147476466, -0.0574535429, -0.0054941885, -0.0458854511, 0.0210745484, -0.0254575573, 0.0240558553, 0.073135145, -0.0117863808, -0.0292514116, -0.0655993596, 2.858e-7, -0.0204547439, 0.023292806, 0.0442079119, 0.021732254, 0.0000334255, 0.0531768091, -0.0127053065, 0.0271718856, 0.0285381395, -0.0249388013, -0.0071610101, 0.0327090733, 0.024748046, 0.0497083589, -0.0685283095, 0.0615847558, -0.054103408, -0.0121239051, -0.0356072672, 0.0130062466, 0.0215203073, -0.0205779113, 0.0646300241, -0.0214080848, -0.0045503578, -0.0374871716, 0.0040706359, -0.0531693585, 0.0076827086, 0.0144325355, -0.0539825782, 0.0285122246, -0.0056019579, -0.0102381418, -0.0253366381, -0.00993359, 0.023660671, 0.0101135289, -0.0272444617, 0.0400046073, 0.0374939069, 0.0087119043, -0.0141521627, -0.0557797924, 0.0466510542, 0.0544729531, -0.020556245, -0.0033710508, 0.0210579578, -0.0252414253, 0.0140249198, -0.0365256481, 0.0032729367, 0.0245545339, 0.0139201023, 0.0170234852, 0.0177415591, -0.0279051512, 0.016351372, -0.009326037, -0.0346388407, -0.0576729253, -0.003583492, 0.039391838, -0.0284585692, -0.0482791215, 0.0196803268, 2.249774735e-34, 0.0215315949, -0.0040871454, -0.0422892161, 0.0106558865, 0.0798931718, 0.0473755933, 0.0213883687, -0.030353684, 0.0556646548, -0.006095144, -0.04092535 ]
http://arxiv.org/abs/2311.10733v1
http://arxiv.org/pdf/2311.10733v1
Proceedings of the 3rd International Workshop on Mining and Learning in the Legal Domain (MLLD-23)
2023-10-19T16:49:11
2023-10-19T16:49:11
Masoud Makrehchi, Dell Zhang, Alina Petrova, John Armour
cs.CY
cs.CY, cs.CL, cs.IR
This is the Proceedings of the 3rd International Workshop on Mining and Learning in the Legal Domain (MLLD-23) which took place in conjunction with the 32nd ACM International Conference on Information and Knowledge Management (CIKM-2023) at the University of Birmingham, Birmingham, UK on Sunday 22nd October 2023.
[ 0.0209711492, 0.0046777539, -0.0320981778, 0.0243203156, -0.0748330876, -0.0086495206, 0.0205780771, 0.0415109619, 0.0012757489, -0.0110780541, 0.0220617689, 0.0752839893, -0.0762101337, 0.0185496286, -0.032327164, -0.0249717385, 0.041514013, -0.0168502238, -0.0011288304, 0.0271115862, -0.0303836837, -0.0314530656, 0.0121653015, 0.0009592954, -0.0154989762, 0.0153273903, -0.0328951813, -0.0087005207, 0.0254342016, -0.0174073447, -0.0073012966, 0.0187257174, -0.0083975568, 0.0318015032, 0.0000020351, -0.0689529181, -0.0626542196, 0.0258623995, 0.0316605866, 0.0269687399, -0.030545149, -0.0052490486, -0.0257329307, 0.0272422768, -0.0677444115, 0.0545830168, -0.007139666, -0.0169785693, 0.0138050718, 0.0052662562, -0.0040947385, 0.017985953, -0.0251193978, -0.0610388033, -0.0571992658, -0.0644807145, 0.0031901256, 0.0687837154, 0.0199095644, -0.0068432442, 0.0277888104, 0.0557837598, -0.0248422548, -0.0373405218, 0.0267393198, -0.0209955536, -0.0159524512, 0.0083503509, 0.0135572422, 0.0070603085, 0.0688687712, 0.0067020478, -0.0166470706, -0.0053766123, 0.0363563783, 0.0270212758, -0.0061789523, 0.1019169092, -0.0450313389, 0.0342982076, -0.0450440794, 0.0451172888, 0.0035201286, 0.0318782516, -0.0106707988, 0.0261355154, -0.0496081933, -0.0310657136, -0.0180691704, 0.0422934182, 0.0311603509, 0.0412236974, 0.0259159673, 0.0171244666, 0.0113501521, -0.0029614442, 0.0395416394, 0.0326846018, 0.0712085962, -0.0261900891, -0.0105855353, 0.0233599395, -0.0004869651, 0.0764444172, -0.0227083322, -0.0644684806, 0.0057102144, 0.0102470852, 0.0235433243, 0.0146850869, -0.0293238182, 0.0083875386, -0.0335117467, 0.0080027934, -0.0556736924, 0.030846661, 0.0160920452, 0.027976241, -0.0219650585, 0.0490799658, -0.0174085833, 0.0120778885, 0.0217607729, -0.0372935198, -0.0564723127, -0.0577880107, -0.0245407205, 0.0795625374, 0.0012611335, 0.0471527167, 0.020516187, -0.0106087541, 0.0063459179, 0.0383488946, -0.0045023686, 0.0667170733, 0.0084388051, -0.0295580719, -0.1256722957, -0.0763459653, 0.0490769371, 0.0080253575, -0.0402200632, -0.008700788, 0.0088819601, -0.0390643515, -0.0267570969, -0.0380274169, -0.0131431315, -0.0220752414, 0.008088314, -0.0006940392, -0.0322746895, -0.0111787105, -0.022540506, 0.091899924, 0.0434378684, 0.0240927953, 0.021521654, 0.0447218008, -0.0112367189, 0.0025745216, -0.0143562192, -0.0088361586, -0.0192770846, -0.0276858211, 0.0239274092, 0.0197392106, 0.0251804013, -0.0172294844, -0.0370805264, -0.0176350176, -0.0297837425, 0.0174016636, 0.0364859141, -0.0024693306, 0.0253261477, 0.0190162957, -0.0260584485, -0.030461153, 0.0092911934, -0.0610624105, 0.0145806652, -0.0165732726, 0.0028378109, -0.0153872706, -0.0030987766, 0.0256390013, 0.0139569342, -0.0714396909, -0.0157557037, 0.0109396353, 0.0225614179, -0.0017999006, 0.0146394474, -0.0105598448, -0.0009630531, -0.0187147725, 0.0033647954, 0.0032436426, -0.0433827862, -0.0559907593, 0.036449533, -0.0087031852, -0.0055152364, -0.0590626709, -0.0030226877, -0.017268585, -0.0880525261, 0.0725712478, -0.0074691749, -0.024991747, -0.0236543957, 0.0139778489, -0.0708231702, -0.0153282378, -0.0065767402, 0.0265866816, -0.0314558968, 0.0237833727, 0.0053151078, -0.0146080172, -0.0167547259, -0.016283771, 0.0037389293, -0.0220568329, -0.0205220245, 0.0416242927, -0.0027725215, 0.0511704274, 0.0266685206, -0.0066935886, 0.0766038448, 0.0076151616, -0.026471734, 0.0103133833, 0.0713635683, 0.0835478902, 0.0508490391, -0.0799659565, 0.0780118927, -0.079229176, -0.0184535962, -0.0132712033, 0.0100791343, 0.0553952344, 0.10999538, -0.0363898277, -0.0107125659, -0.0211707242, 0.0166066717, -0.056416586, 0.0212146994, 0.0025371849, -0.0563029982, 0.0020301389, -0.065311946, 0.0696293488, -0.0310753658, 0.0277446024, -0.00554435, -0.0602679588, -0.0170102548, 0.0026558319, -0.0126461908, -0.0100479973, -0.0067177396, 0.0219835211, -0.0237363018, -0.023332119, 0.04955272, -0.0013838245, -0.0256311428, -0.0360733233, -0.0133742848, 0.034865424, -0.0597511604, 0.0368562862, -0.0581967123, 0.0032528685, 0.0060108793, 0.0237653572, 0.0285520609, -0.0129553135, -0.0202141851, 0.0190224592, 0.0329905599, 0.0055975071, -0.0627368167, 0.0647196323, -0.0101220189, -0.051170487, -0.0329444855, 0.0271011647, 0.0011416363, 0.022659447, -0.0248505231, -0.0398595706, 0.015262044, 0.0432434976, 0.0663792267, -0.0078103105, -0.0140288714, -0.0339919627, 0.0441541821, 0.0372890681, 0.0321149901, 0.0465539321, 0.0298874062, -0.0122404667, -0.0269698445, 0.0069962414, 0.0093642147, 0.0057040541, -0.0010182492, -0.0171118136, -0.0086192954, -0.0673319027, 0.0078241089, 0.0570256524, 0.0335221402, -0.066926904, 0.0323667675, 0.0028013564, 0.0434418432, -0.0745670795, -0.0692055002, -0.0394163616, 0.0527396798, -0.0396895036, 0.0332569331, 0.0475140437, -0.0060474537, 0.0043566418, -0.0467180833, 0.0770922974, -0.0410244837, -0.0284945723, -0.0115630571, 0.0086225551, -0.0109435022, -0.0261891261, -0.0403571911, 0.0268739145, 0.0610347502, 0.0594153963, -0.0164452195, 0.0103297671, 0.0013623295, 0.0693206117, 0.015100548, -0.0395581834, 0.0465020239, -0.0118392874, -0.0220938995, 0.0432416834, -0.0411866121, 0.0103945881, 0.0498701259, 0.0303411316, -0.0103734387, 0.0257540867, -0.0105563374, -0.023320023, 0.0270114467, 0.0319340453, 0.0167069379, -0.0081250509, 0.0456784479, 0.0016721217, -0.0644278079, 0.0131442547, -0.0168080423, -0.0172611047, 0.0237198249, -0.0653621033, 0.0136767719, 0.0104230046, -0.0425837636, 0.0013306236, 0.0057521435, -0.0965386927, 0.1052726805, 0.0000437667, 0.0314138867, -0.0702242032, -0.0011802324, -0.0064177653, -0.0276974607, 0.0898910761, 0.012420157, -0.029118387, -0.0261669792, 0.0069095963, -0.0195192359, -0.0117664468, -0.0393320471, -0.0240810886, -0.0304989927, -0.0099611292, 0.0928182453, -0.0456226952, -0.0001228194, -0.0482152998, -0.0545901321, -0.0012639248, 0.0850130096, -0.0010820499, 0.0011644152, 0.0036503596, -0.0405990928, 0.0164814591, 0.0125272134, 0.0033794793, -0.0021520187, 0.0161272772, 0.002797026, 0.020346364, 0.0551420897, 0.0047721346, -0.0686158463, 0.0191563722, 0.0989050567, -0.0489254482, 0.0017415237, -0.029442586, -0.0505683385, 0.0371994488, 0.0123719769, -0.0261979997, 0.0231519081, 0.0017644473, -0.0272195376, 0.0045899418, -0.0038139501, -0.0156315826, 0.0081500225, 0.0406367108, 0.0520099066, -0.0181327015, -0.0559506752, 0.0090305135, 0.0847805366, -0.0006275397, -0.0313416235, 0.0173153654, -0.0001291707, -0.0569339395, 0.018474102, -0.0107927034, 0.0025855138, -0.0491641015, -0.0271021593, -0.0046116384, -0.031190984, -0.0025943473, -0.0580848679, -0.0570383146, 0.0030261278, -0.0032379455, 0.0246954784, 0.0351762921, -0.0028884502, -0.0152775897, -0.0006423407, 0.0627448186, 0.0177593529, -0.0227821693, -0.0455125906, 0.0132347075, 0.0153039834, -0.0528604016, -0.0405903682, 0.036225792, -0.0003077639, 0.0448678769, -0.0180797484, -0.0050397548, -0.0392388664, 0.0235360228, 0.021632053, 0.0201200359, 0.0406017825, -0.0289349183, 0.0138172517, 0.0394698568, 0.0721258819, -0.00155851, -0.0372478366, -0.0400948189, 0.0060353004, -0.0247698873, -0.0218420904, 0.084358871, 0.0181165114, -0.0148070641, -0.0655828938, 0.0475702621, -0.0002147338, -0.0005659899, 0.0224772468, -0.0075774631, 0.0040780162, -0.0083700297, -0.0096640596, 0.0928092822, 0.006234624, 0.0508815609, 0.0186285917, 0.0118374089, -0.0049610608, 0.0235853754, -0.0046070907, -0.0358957425, 0.0079250401, 0.0272538457, 0.03294833, 0.0117268329, -0.0014419681, -0.0697153434, 0.0344091468, 0.0372073874, 0.0105046974, -0.0220395364, -0.0301155876, -0.0015246272, 0.0086922683, -0.002758502, 0.0513586663, -0.0108798733, -0.0040052631, -0.014823419, -0.0991724432, -0.01178707, 0.0104226964, -0.0580579713, 0.0293491147, 0.0067936722, -0.0305947401, -0.0072189462, -0.088393338, -0.0038017759, -0.034020111, 0.0323109105, 0.0009947115, -0.0143648861, -0.0068565779, 0.030194385, 0.0597493872, -0.0295497943, 0.005699445, -0.0493622981, -0.0028239323, 0.0378726721, -0.0396437943, -5.952028953e-33, -0.018541595, -0.0682788566, 0.0328760147, 0.0342149809, -0.0204144809, -0.0752681196, -0.0081582414, -0.0126630142, 0.0126466816, -0.0221074764, -0.0147907166, 0.0063456548, 0.0330565721, 0.0202151071, 0.0154370796, 0.0099824704, 0.0099601662, 0.0240345988, -0.0198146198, -0.006767753, -0.0035514289, 0.0468020886, 0.0483246334, -0.0530031472, 0.0679475442, 0.0888784826, -0.0339295641, 0.0009768358, -0.0612445921, 0.0392023586, -0.0213191789, 0.0016208801, 0.0234315284, -0.034270253, 0.0140289525, -0.0212704036, -0.0590913519, 0.0533048511, -0.0192395039, 0.0331344232, 0.0598595999, -0.0216940623, 0.0453587472, -0.0425599106, -0.026219964, -0.0176516362, 0.0233802572, -0.0214087199, -0.0417828262, -0.052359663, -0.0599671677, -0.0107147479, -0.0288290828, 0.0571709052, 0.0365170091, -0.0139987962, 0.0139015466, -0.0234795492, -0.1016103849, 0.0531932972, -0.0042185988, -0.0345368646, 0.0405706987, 0.0003026113, -0.0051599001, 0.0354143381, -0.038370546, 0.0360519364, 0.0367818065, 0.0034806405, 0.0109689077, 0.1138802692, -0.0284866206, 0.0066205347, -0.011381533, 0.0040344778, -0.0680329502, -0.0020882981, 0.0715792924, -0.0167717822, 0.0138581842, -0.0122002074, 0.0089847613, -0.0433157012, -0.0226376634, -0.0056669232, 0.0098249828, 0.001659296, 0.0009550283, 0.0092860069, 0.0001063269, -0.0027941102, -0.0324629731, -0.0589303821, 0.0066955728, 0.0298357643, 0.0420712493, 0.0218696743, -0.0186884757, -0.0352103487, -0.0366461463, -0.0562432148, -0.0514870249, -0.0394943506, 0.0109361066, -0.0272373985, -0.0308121294, 0.0075827395, 0.0005648275, 0.051329501, 0.0007617676, 0.002754661, 0.0618475638, -0.0451259501, -0.0202289689, -0.0122633399, 0.0029866919, -0.0249536727, 0.0258777142, -0.0001584348, 0.0173129849, 0.0187948328, -0.0350593589, 0.0037245706, 0.0221047364, -0.0119918864, 0.0075185746, -0.0225030482, 0.0427716225, 0.0174307041, 0.0269630197, -0.0232984051, 2.702e-7, 0.0030253881, 0.0269377939, 0.0039624809, -0.0418207906, -0.0060589323, 0.0022310906, -0.0369242765, 0.0315521657, 0.0083820941, 0.0337271765, 0.0389336012, -0.0165929999, 0.014737335, 0.0120111369, -0.0311950892, -0.0459462665, 0.0491695181, -0.0776525363, -0.0348368436, 0.0334628224, -0.023895245, -0.0312480573, 0.0254703667, -0.0148499031, 0.0192315541, -0.0485227667, 0.0148326969, -0.0401935801, -0.0036744808, -0.0083793905, 0.0634479746, -0.0248766206, -0.0173009653, -0.0045426288, 0.0142688723, 0.0220869761, -0.0426112004, 0.0323464125, 0.0468156114, 0.0586293787, -0.0566789769, -0.0761836991, 0.051136855, 0.0563817136, 0.0329513624, 0.0784707591, -0.0222848877, 0.0183917824, -0.0165329482, -0.061170727, -0.0018783481, 0.0265022777, 0.0190687701, -0.0582900606, -0.0341516957, 0.0263521802, 0.0114014614, -0.0226423796, 0.0325316451, 0.0613641888, -0.0091120461, -0.0154595291, 0.0010668858, 0.0067151506, 0.0489480272, -0.0336210988, 0.0023092271, 2.654084869e-34, -0.0383308269, -0.0227573365, -0.005883303, 0.0210168473, -0.011535571, 0.0339808129, 0.0042936667, -0.0101156952, 0.0496811718, -0.0336878859, 0.0548207946 ]
http://arxiv.org/abs/2310.12892v1
http://arxiv.org/pdf/2310.12892v1
A Systematic Study of Performance Disparities in Multilingual Task-Oriented Dialogue Systems
2023-10-19T16:41:44
2023-10-19T16:41:44
Songbo Hu, Han Zhou, Moy Yuan, Milan Gritta, Guchun Zhang, Ignacio Iacobacci, Anna Korhonen, Ivan Vulić
cs.CL
cs.CL
Achieving robust language technologies that can perform well across the world's many languages is a central goal of multilingual NLP. In this work, we take stock of and empirically analyse task performance disparities that exist between multilingual task-oriented dialogue (ToD) systems. We first define new quantitative measures of absolute and relative equivalence in system performance, capturing disparities across languages and within individual languages. Through a series of controlled experiments, we demonstrate that performance disparities depend on a number of factors: the nature of the ToD task at hand, the underlying pretrained language model, the target language, and the amount of ToD annotated data. We empirically prove the existence of the adaptation and intrinsic biases in current ToD systems: e.g., ToD systems trained for Arabic or Turkish using annotated ToD data fully parallel to English ToD data still exhibit diminished ToD task performance. Beyond providing a series of insights into the performance disparities of ToD systems in different languages, our analyses offer practical tips on how to approach ToD data collection and system development for new languages.
[ 0.0227355715, -0.0024424172, -0.0264813993, 0.050839439, -0.0218834747, 0.0234027375, 0.0479245335, -0.0291024074, -0.0092828795, -0.0498514399, -0.0848356262, -0.035595309, 0.009288162, 0.0069849929, 0.0246109311, -0.0639105886, 0.0447271653, -0.0396348797, -0.0004036994, -0.007593526, 0.0199976377, 0.0009482953, -0.0398317687, 0.0505119748, -0.0029100131, -0.0100013213, -0.0069285366, -0.0235548653, -0.0094081331, -0.0109015321, 0.0129436655, 0.0546952784, -0.0141613409, 0.0470725708, 0.0000017509, -0.0671517923, 0.024115026, -0.0168100465, -0.0156477541, -0.0233315006, 0.0208503529, -0.0249358844, -0.0298561547, 0.0179627221, -0.0372887589, -0.0272024851, 0.0507569835, 0.0625072718, 0.0241730567, 0.0715968832, -0.0125630135, 0.0357025862, -0.0045092404, -0.0044385707, -0.0245694984, -0.0495873168, -0.0399229452, 0.0287437756, -0.0130158551, 0.0015908998, 0.0027234764, 0.0182037577, 0.021190118, -0.0201642737, -0.0547748096, -0.0116070444, -0.021524705, -0.030930724, -0.0266551524, 0.0712570772, 0.0181354377, -0.0013854039, -0.0367266275, 0.0145085379, 0.0039666328, -0.0303447228, -0.0597399697, 0.0045360117, -0.0082128197, -0.0038475657, 0.0053613423, 0.0466937385, -0.0136299515, -0.0067326464, -0.0269580018, 0.0705519095, 0.005192203, -0.0394734852, 0.0194412023, 0.0336336344, 0.0107081831, -0.0595786385, 0.0142296366, 0.0011251066, -0.0832411572, 0.0064819464, -0.0085233757, -0.0790165514, 0.0226719324, -0.0637715235, 0.0686223134, 0.0445255525, -0.0480867103, 0.0257764123, -0.0048445603, 0.067915909, -0.001920366, -0.0060777301, -0.0208583586, -0.0556636043, -0.0556899421, 0.0251651257, -0.0098096551, 0.0117499698, -0.0387332514, 0.0189367812, -0.0387392491, 0.0537913106, -0.0202809889, -0.0025917548, 0.0293899253, -0.0111838179, -0.0450305864, 0.0060809706, -0.054235287, 0.0399082229, -0.0361070111, 0.0231165513, 0.0085482197, -0.058857169, 0.007699762, 0.0311653074, -0.006900744, -0.0474635661, -0.0110705495, 0.0725986734, -0.0134365708, -0.0150319068, -0.0011838264, 0.0115504907, -0.0103747509, -0.0790189132, -0.0036461155, -0.0335291922, 0.052573923, 0.0282742046, -0.0022247224, -0.0140867354, -0.0037160546, 0.0202303063, -0.0069722892, 0.0562191606, 0.0008453567, 0.0072920648, 0.0243780818, -0.0274543799, -0.0448208377, 0.0871311799, 0.0327235907, -0.0355999619, 0.0726001933, 0.0032360549, -0.0328970887, 0.032705687, -0.0086268429, 0.0157578886, 0.0688988864, 0.0279887356, 0.0162880551, 0.0010602335, 0.0242121145, 0.0459828787, -0.0164251216, 0.0295781083, 0.0652954802, 0.0422479287, -0.0128499977, 0.0004334702, 0.017119674, 0.0097146416, -0.0016134817, 0.0177657846, -0.0353835002, 0.0192290973, 0.0021198131, 0.0017874131, 0.035520684, 0.0450662039, -0.0511613116, -0.0496181957, -0.0186993927, -0.0086688101, 0.0350480787, 0.0149808023, 0.0767861158, 0.0069746212, -0.0306044817, 0.0226472747, 0.0197093803, -0.0597933792, -0.0106226886, -0.034016408, -0.0353549197, 0.015154128, -0.0118434634, -0.0298523232, -0.0655685365, -0.0016766192, 0.0435777307, 0.0661079735, 0.0788060129, -0.0133460686, 0.0399224907, -0.0205395091, -0.0203851555, -0.0152878668, -0.0030149929, 0.0263518468, -0.0051519205, 0.0266165305, -0.0043312362, -0.0507820435, -0.051545836, 0.0193534028, -0.0242253318, 0.0127942599, 0.0249901116, 0.0206861999, 0.0059926715, 0.0375104435, -0.0162437819, -0.0154898381, 0.0151488287, -0.0324918479, 0.0205748379, 0.0494805314, -0.0349338613, -0.029318789, 0.037577603, 0.0030880563, -0.0096119503, 0.0480669662, -0.0078099174, -0.0685959533, 0.0521725304, -0.0145358471, -0.0020672956, -0.0217744578, 0.0230371822, -0.0088551911, 0.0155600253, -0.0266495794, 0.0024600595, 0.033991918, 0.0231851898, 0.0334879681, -0.0097057056, 0.0611249097, -0.0399774164, -0.0033126445, 0.057586737, 0.0029443863, -0.0095701907, 0.0561287813, 0.0128235808, -0.0171698369, 0.0003591328, -0.1370583028, 0.0074621504, -0.0484017543, 0.0503249466, 0.0079552922, 0.0274849255, -0.0078268182, -0.032447353, -0.0559761189, -0.0184270162, 0.0691276938, 0.0401215665, 0.0403094217, 0.0136994505, 0.0106267631, -0.0422290191, -0.0019195523, 0.0273505654, 0.0057219365, -0.0019081964, -0.0465014763, -0.0469448045, 0.0179635268, -0.0406543538, 0.0446943715, -0.0079636993, 0.002384092, 0.0516110659, 0.0492772907, 0.0701396242, 0.0450938381, -0.0233524237, 0.0195931681, 0.01664038, -0.0300902333, -0.0614715181, 0.0318779424, 0.0148869511, -0.0354891717, -0.0507948883, -0.0341838524, 0.0138716325, 0.0422688201, -0.0265164468, -0.0256160516, -0.0469447076, -0.0068867118, -0.0539906695, -0.0345987454, -0.0160973649, 0.0308963303, -0.0138014173, 0.0543691181, -0.0172850098, -0.0176495109, 0.0458947606, -0.0039795353, -0.0212042481, -0.0705786422, 0.0022115677, -0.0232333075, 0.0605161227, -0.0292552859, 0.0232775919, 0.0408871695, -0.0429100171, -0.0669044405, 0.0381254479, 0.0205553044, -0.0136101358, 0.0403780714, -0.0437924936, -0.0028427395, -0.057038486, -0.0752732158, -0.0289285146, 0.0186333843, 0.0101241563, 0.035174001, 0.0239891689, -0.0386016592, 0.0065416521, -0.0001117515, 0.0252182446, 0.0244513303, -0.0006766772, -0.0130542638, -0.0115646441, -0.0039860732, 0.025322685, 0.0277927984, 0.0344609842, -0.0181457549, 0.0470347106, 0.0173532665, 0.0862230882, -0.0444274954, -0.0031816952, -0.0241701063, 0.0625273436, -0.0342111327, -0.0400614738, -0.0157611053, 0.084930025, -0.0241444092, 0.0105317999, 0.0953343436, 0.0076766857, -0.0216330681, -0.0030084189, -0.02701395, 0.0118695153, 0.0275501851, 0.0254511889, -0.1044369191, -0.0130066425, 0.0126920734, -0.0005328048, -0.0078118956, -0.0285438858, -0.005276619, -0.1114029065, -0.0177516006, -0.0614463612, -0.034195371, 0.0027415503, -0.0472969413, 0.0007980498, -0.0121717956, 0.0783869773, -0.027147904, 0.0248907022, -0.0066199196, 0.0312762111, -0.0270288624, -0.0365519561, 0.0156006897, -0.0435173362, 0.0301400796, 0.0558554754, 0.0450683385, 0.0009821161, 0.0176285598, 0.0391260684, 0.0141927954, -0.0146473553, -0.0014977704, -0.0013497587, 0.0215330571, -0.0264458675, -0.021639036, -0.021951545, -0.0322836749, 0.0259441305, 0.0329944342, 0.037190441, -0.0138812708, 0.0373420306, 0.0171380099, -0.0110131791, 0.0359016769, 0.0724626631, -0.0068389997, -0.0687026083, -0.0446310639, -0.0140295746, -0.0419679657, -0.0668495148, 0.0146197053, -0.0083490107, -0.0338766463, 0.0018582293, -0.0813563317, -0.0776008219, 0.0236550774, 0.0186878312, 0.0230348706, 0.0229613259, -0.0108822584, 0.0096188448, 0.0066158283, 0.0290690139, 0.000197055, 0.024813937, -0.0579466708, -0.0151286628, -0.0084012365, -0.0004899484, 0.0176957883, 0.0094994819, -0.0758387074, -0.0569203235, -0.0411805846, 0.047001265, 0.014844235, -0.0024017047, 0.0120239276, -0.0346774422, -0.0324762166, -0.0494050495, -0.0394127071, -0.0010900771, 0.0611873791, 0.0051881154, 0.0000355246, 0.0586452596, -0.0359319411, 0.0075381994, 0.0030684986, 0.0339276567, 0.0070302938, -0.051455982, -0.0035019771, -0.000409416, 0.0590249076, -0.0164539777, -0.0561024249, -0.0282820351, 0.0253247451, -0.0382108428, -0.0210698564, -0.0362486765, 0.0063596987, -0.0271225665, 0.0215419941, 0.00876801, 0.0663304031, -0.0283409916, 0.0164304152, -0.050400693, 0.0042026993, 0.0128962277, -0.0155684585, -0.0034777825, 0.0306224395, -0.0243032854, -0.0144537836, 0.0408519767, 0.0446633473, -0.0219064895, 0.071023874, 0.006892371, -0.0127362749, 0.0556424297, 0.055535052, -0.0395056382, -0.0299743675, 0.0498305298, 0.0131180687, 0.0747822449, -0.001781409, 0.0976005271, -0.0095461085, 0.0214449633, -0.0299159028, 0.0334394537, 0.0062477477, 0.0121148694, 0.0009939462, -0.0214124657, -0.0123561621, 0.0225435123, 0.0916977078, -0.0267925132, -0.0061921189, -0.0068230261, 0.0142701222, -0.0132563487, -0.0334321856, 0.002585842, 0.0164038464, -0.0348787382, 0.0070056221, -0.0224408787, -0.0604247116, -0.0081211189, -0.0153508019, 0.0030493026, -0.0149510773, 0.0192286596, 0.0698873475, -0.0085621495, -0.0075662034, -0.0507551469, -0.0547175109, -0.0167432651, -0.0144732557, -0.0088204956, -5.364476836e-33, -0.0195723008, 0.0200128462, 0.0147897992, 0.0117125697, 0.0109917857, -0.0214141849, -0.0173782464, 0.0358077921, -0.0695114881, 0.006225876, -0.0446053669, 0.001566331, 0.0270839073, 0.0255525596, 0.0027025105, -0.0104077784, 0.0305134114, -0.0122630522, -0.0232024472, 0.0058627757, 0.0485266633, -0.0064404383, 0.0890192538, -0.0508866757, 0.1029301882, 0.0110161807, 0.0258309878, 0.009466812, 0.0535549745, 0.0604727343, -0.0062082959, 0.1009072065, 0.0374065265, -0.066044569, -0.0417314619, 0.0167586561, -0.0493166707, -0.0161038749, 0.0421153419, 0.0633309633, -0.0205593389, 0.0076715206, -0.0449520499, -0.0126668131, -0.050703615, 0.0270705204, 0.0068546697, -0.0085583003, 0.0130941682, 0.0103558386, -0.0992001295, 0.0205540042, -0.0100979125, -0.0315276049, 0.0273978487, 0.0903786868, 0.0020133872, -0.0841044113, -0.0258515887, 0.0035132761, -0.0395302512, 0.0204717368, 0.0642294735, 0.0264693443, -0.0030844009, 0.0360133536, 0.0380731225, 0.0713416785, 0.0392840616, -0.0226242673, 0.007967622, -0.0065854108, 0.0418279544, 0.0399432816, -0.0278521385, 0.0398631021, -0.0930915028, 0.0196644384, 0.0388604701, 0.0235781837, -0.0058282735, 0.0036571701, -0.0340204723, -0.0367473923, -0.0235989392, 0.039406687, -0.0176085327, -0.0444465801, 0.0426557884, -0.0041210847, 0.028200794, 0.0173852611, 0.0650847331, -0.0240017362, -0.0267488211, 0.0028305817, -0.0081871143, -0.000293784, -0.0083123883, 0.0173811913, -0.0595032014, -0.0229751263, -0.015987616, 0.0379807353, 0.0174905565, 0.0087923184, 0.0431910418, -0.0105523262, -0.0659713373, 0.0039750147, -0.0412065201, 0.0558361895, -0.0125843566, 0.0654839948, 0.0270903874, -0.0372824073, -0.0326399393, 0.0850334987, 0.0286905356, -0.0548997559, -0.0603258647, -0.0276114587, 0.0004690119, -0.0225904547, -0.02602534, -0.0064406814, -0.0319597274, -0.000473983, -0.0208033081, -0.0067240209, -0.0399910659, -0.0444043837, 2.391e-7, 0.0248597879, 0.035057079, 0.0056009488, 0.0453432575, -0.0068249786, 0.0287691317, -0.0204235613, 0.0170840453, 0.0053812005, 0.0139683541, -0.0598536879, 0.0001815246, 0.0564882345, 0.0225175004, -0.0792580172, -0.0764063671, -0.0108725214, 0.0184390135, -0.0348457433, 0.0307104755, 0.0338030271, 0.0522722639, -0.0207118243, 0.0099038444, -0.0364853553, -0.0383073613, 0.0493498221, -0.0497685149, -0.0106700482, 0.0303926133, 0.0595815107, -0.0221040845, 0.0185276289, 0.0277127866, -0.0265319403, 0.0305265896, 0.0273382366, 0.0348097049, 0.0045662578, -0.0351637714, 0.0039033121, -0.0239921063, -0.0161647238, -0.0557692535, 0.080385536, -0.00791384, -0.0337033197, -0.0158591084, 0.0311729647, -0.0061628441, 0.0209590662, -0.0389643423, -0.0184983853, 0.0280686505, 0.0364506729, -0.0107558323, -0.0023426025, -0.0389504619, -0.0199319236, 0.0306561813, 0.003468778, -0.0653219298, -0.0198379084, -0.020978678, -0.0037185524, -0.0077790744, -0.0068329331, 1.733544452e-34, 0.0277490225, 0.0139411148, 0.0587323792, 0.0337761939, 0.0271407012, -0.0192985237, -0.0237618703, -0.0214418061, 0.0329551585, -0.0185925085, -0.0174280014 ]
http://arxiv.org/abs/2310.12874v2
http://arxiv.org/pdf/2310.12874v2
StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understanding
2023-10-19T16:29:23
2023-10-23T11:58:24
Cheng Jiayang, Lin Qiu, Tsz Ho Chan, Tianqing Fang, Weiqi Wang, Chunkit Chan, Dongyu Ru, Qipeng Guo, Hongming Zhang, Yangqiu Song, Yue Zhang, Zheng Zhang
cs.CL
cs.CL
Analogy-making between narratives is crucial for human reasoning. In this paper, we evaluate the ability to identify and generate analogies by constructing a first-of-its-kind large-scale story-level analogy corpus, \textsc{StoryAnalogy}, which contains 24K story pairs from diverse domains with human annotations on two similarities from the extended Structure-Mapping Theory. We design a set of tests on \textsc{StoryAnalogy}, presenting the first evaluation of story-level analogy identification and generation. Interestingly, we find that the analogy identification tasks are incredibly difficult not only for sentence embedding models but also for the recent large language models (LLMs) such as ChatGPT and LLaMa. ChatGPT, for example, only achieved around 30% accuracy in multiple-choice questions (compared to over 85% accuracy for humans). Furthermore, we observe that the data in \textsc{StoryAnalogy} can improve the quality of analogy generation in LLMs, where a fine-tuned FlanT5-xxl model achieves comparable performance to zero-shot ChatGPT.
[ 0.0113785379, 0.0463068374, -0.025778614, 0.0514532961, -0.0283805393, 0.043894697, 0.0180422962, -0.0270129927, 0.0183849055, -0.0504555888, -0.0093257083, -0.0351944491, -0.0118377926, 0.0281099882, 0.0197705757, -0.0477401316, -0.0123159606, 0.0188323911, 0.0005365994, 0.0189541355, -0.0064865388, 0.0429456048, -0.0051811738, 0.0524140596, 0.0317721032, -0.0318268239, 0.0307444781, -0.0206198879, 0.0700281113, -0.0519692674, 0.0041022818, -0.0051084915, 0.0572743937, 0.0046230438, 0.0000019756, -0.0481346175, 0.0394072533, -0.008752849, 0.0080197984, 0.0257785115, 0.0698379725, 0.0235720146, 0.0375721306, 0.0083324974, -0.0049844803, -0.0310822669, 0.0278151296, 0.0420207083, 0.0259200092, 0.0546434037, -0.0240800045, -0.1001921967, 0.0053925328, -0.0140873231, 0.0046510459, -0.0262191854, -0.0040102592, 0.03794422, 0.0508680567, 0.0048465934, -0.0145239374, 0.0082152234, 0.0296437647, 0.0278291982, 0.0029634, 0.0759411305, 0.0022118185, 0.0502251089, 0.0168285333, 0.0916805938, -0.0090556312, -0.0649240091, 0.0061156051, 0.0042308304, -0.0043265852, 0.0278744102, -0.0740031973, 0.0333405733, -0.0026389849, 0.0574753881, 0.0635034218, 0.0159944911, 0.0178744383, 0.0160395261, 0.0011621112, 0.0042132856, 0.024953438, 0.0101795495, -0.012601966, 0.0033286766, -0.0273322649, -0.0605312437, 0.0012559355, 0.0242361911, -0.0110219102, -0.0068364721, -0.0607425198, 0.0116206007, -0.0033164003, -0.0950524136, 0.0604156405, 0.0575970896, -0.0012258535, 0.0513589084, -0.0841395631, 0.0514115654, -0.032925427, 0.0279994793, -0.0654395074, -0.0135929734, -0.0631064773, 0.0160398614, -0.0239579454, 0.0168206859, -0.0141926249, -0.038466569, 0.0040907105, 0.0169124082, 0.015418929, -0.0381081924, -0.0641298816, 0.0210360494, 0.0014751646, -0.0100928936, -0.0333901644, 0.0087010646, -0.091214776, 0.0277486648, 0.0067683887, -0.0269052088, -0.0215943754, 0.003445534, 0.0168771911, -0.0552653782, 0.0122696636, 0.0357102714, -0.0280754976, -0.0097264787, -0.038409695, -0.0284875836, 0.0540282726, -0.0578073896, 0.0035422284, -0.0504321046, 0.0443151407, 0.0041794362, 0.0196104683, -0.0230205674, 0.0054210727, 0.0497699268, -0.0738122091, 0.0485513806, 0.0384842418, -0.0111188702, -0.0220130198, 0.0114257215, -0.0054502171, 0.0179495737, 0.0310856774, -0.0010790748, 0.0177056286, 0.0292305741, -0.0099685257, -0.0052653812, -0.0342577174, -0.0067432625, -0.0218805056, 0.0004616302, -0.0063314517, 0.085190855, 0.0500806123, 0.0356286839, -0.0425723381, -0.0374857858, 0.0576290376, 0.0737653971, 0.0326470956, 0.0325309969, 0.0664413422, -0.0029951935, -0.0014173952, 0.0105105955, -0.0196436271, 0.026313154, 0.0134936711, -0.0044531841, -0.0012050805, 0.0411289856, -0.0521541648, 0.0357048251, -0.0274594277, 0.0075390236, -0.0407102369, -0.020280974, -0.0283489246, 0.0127203306, -0.0022656703, 0.000991286, 0.0403492339, -0.0416697264, 0.0150702149, -0.0005942942, 0.0365042947, 0.0432789028, 0.0658656582, 0.0163279269, -0.0338993408, -0.0197625309, -0.0055307276, 0.0487160124, 0.0489903167, -0.0265356358, -0.0031704102, -0.0594174415, 0.002902779, -0.044527635, -0.0040784278, 0.0066462033, -0.0175502934, 0.012975676, -0.0011281369, -0.0744641125, -0.0075059584, 0.0378014743, -0.0767731369, -0.0096927593, -0.0013697864, 0.004476483, -0.0165868308, 0.012741792, -0.003281778, 0.0059670121, -0.0008983074, -0.0848083124, -0.0318097919, 0.0865556821, -0.0630406365, -0.0697138757, 0.0209201798, -0.0880576372, 0.0172933601, 0.0174848605, -0.0171943419, -0.0112959286, 0.0349985845, -0.0079120519, 0.079209052, -0.0025911801, 0.010587899, -0.0112463804, 0.0241427012, -0.0129610151, 0.0800237581, 0.0128757339, 0.0051201168, -0.0175816901, 0.0203800499, 0.0096526528, 0.0220896006, -0.0232742112, -0.004454792, 0.0429851785, -0.0326562934, -0.0030141969, -0.032993637, -0.024815537, -0.0035717511, -0.0504012816, 0.0469878763, 0.0192960128, 0.0054908688, 0.0588027164, -0.0004832407, -0.0119017074, 0.0105536636, -0.0642481297, -0.0100278538, -0.0269825812, 0.021030983, 0.0315875709, 0.0005521874, -0.0190483686, -0.0322852433, 0.0313088559, -0.0360117704, 0.0882877856, 0.0260469224, 0.0240425188, -0.0441267788, 0.0377428569, 0.0034048602, -0.00829593, -0.0078898957, -0.004020466, -0.0065412009, 0.0210442729, 0.0567894876, 0.0432401076, 0.0034715834, 0.0046978001, 0.0680691674, -0.0017138906, -0.043474067, -0.0054284651, 0.0016973972, 0.0130789578, -0.0149928275, -0.0429402106, -0.0219153874, 0.079675667, -0.0015987527, 0.0075502386, -0.0186525118, 0.0362347215, 0.0082023833, 0.01396944, 0.0099129016, -0.0135720363, -0.0146454461, -0.0098670693, -0.0221367721, 0.0318787806, 0.0753463507, -0.0333131216, 0.0058495081, -0.0369454138, -0.0070764706, -0.0540278703, 0.0643048137, 0.0036221768, 0.0203877594, 0.0121538546, 0.0115290172, -0.0334492885, -0.0113840234, 0.0087492345, 0.0083894553, 0.0441294685, -0.027578406, 0.0039570369, -0.0007924045, -0.0378436856, -0.0417386256, -0.0320980661, -0.0524128303, -0.0043089576, -0.0109102922, -0.0087004295, -0.0740130618, 0.0026676627, -0.0024569836, 0.018774813, -0.0069980938, -0.0227939207, -0.012123405, 0.0860931277, 0.0827595145, 0.0087857042, 0.0192217082, -0.0077754548, 0.0748586208, 0.0431542173, 0.0162210725, 0.0350933708, -0.0175457243, 0.0031655375, 0.0011565267, -0.0486599468, -0.0082695847, -0.0222309232, 0.0414591245, -0.0403680615, -0.0470782183, 0.0869650021, 0.0426928252, -0.048905693, 0.0347054414, 0.0018286577, 0.0368630439, 0.0219316613, 0.001832089, -0.0872037858, -0.0526540391, 0.0159894917, -0.0328579843, 0.0100143505, -0.0714744702, 0.0010874416, -0.1012988016, 0.0239574667, 0.0046781157, -0.0280112028, -0.0490748771, 0.0041540391, 0.0271201991, -0.0105844801, -0.0175679345, -0.0068897191, -0.0321911648, 0.0187644884, -0.0157797541, 0.0173694771, -0.0169396661, 0.04943702, -0.0633297339, 0.0708109066, 0.0187760927, 0.0444242209, 0.0208949316, 0.0104574291, -0.0111553278, -0.0056980085, -0.0338602364, 0.0183001719, 0.0251627173, -0.0162366964, 0.0138537651, -0.02260812, 0.0833075941, -0.0209334232, -0.0431395471, 0.0114831412, 0.0788056031, 0.0075445031, -0.0501275808, -0.027399024, 0.0343341865, -0.0496293977, 0.0975016281, 0.068618618, -0.0422511399, -0.0287216268, -0.0091892583, 0.0045995321, -0.0796121061, -0.0344507806, -0.00848844, 0.0011834744, 0.0471166857, -0.0574348532, -0.0609227829, -0.0254072584, -0.0063085859, 0.0130733624, -0.0265419539, -0.0135703553, -0.0169700272, -0.0224850103, 0.0251112897, -0.0604619756, 0.0315323249, 0.0265240278, 0.0178940501, 0.041013021, -0.0464381874, -0.0322893932, 0.0366872326, -0.0816656202, -0.0269614886, -0.0313996002, -0.0280614719, 0.0061273086, 0.0233939383, 0.0162150394, -0.0380170606, 0.0512998886, -0.0007305598, -0.0159010421, 0.0375328735, -0.0403778441, 0.0172063038, 0.0246305671, 0.0327400751, -0.0106460359, 0.0132673122, 0.0055488748, 0.0727190524, 0.016270712, -0.00776996, 0.0295583308, -0.0224452112, -0.0215621684, 0.0091503384, -0.0244390052, -0.0657973439, -0.0018227617, -0.0063039507, -0.0021676905, -0.039397113, -0.0002982896, 0.0309258644, 0.000722508, -0.0263078939, -0.070498094, -0.0238956083, 0.0564418845, -0.002329695, -0.0048289006, 0.0223376881, 0.0172254872, -0.0085549289, 0.0067512454, -0.0528932884, -0.0102601973, -0.0112446481, 0.0605413541, -0.0524897426, 0.0446803495, 0.0261288583, -0.0168877691, 0.0013755839, 0.0263553374, -0.0506062135, -0.0123527711, -0.0252006035, 0.0115504237, 0.0531018637, -0.0359384269, 0.0415858738, -0.0334441103, 0.009526425, 0.0040005082, 0.0082636476, -0.0416697711, -0.0184056778, -0.0013174227, 0.0108083542, -0.0011156372, 0.0126560982, 0.0578779317, -0.0450930335, 0.095413141, 0.0197242107, -0.0210926495, -0.0084394235, -0.0223694313, 0.0171856731, 0.0366252474, 0.023407938, -0.0126515534, -0.0569467917, -0.0312979855, -0.0030464334, 0.0004850382, -0.0224745478, 0.0064275386, 0.0028190389, 0.0106497128, -0.0079902541, -0.0099212062, -0.0310608614, 0.0222094711, -0.0426174439, -0.0327883884, -0.0330273733, -6.186116163e-33, -0.0204846282, 0.0228973124, -0.0022110688, -0.014441953, -0.0603128523, -0.0167140719, -0.0420240313, -0.0183895659, -0.0481354184, 0.0335463397, 0.0164660849, -0.0353773013, -0.0143265817, 0.0094890706, -0.0043654614, -0.0050679292, 0.0229591895, 0.0135243451, -0.040245764, 0.0275995713, 0.0332244933, -0.0006764148, 0.0445937999, -0.0216414258, -0.0444732197, -0.0312120747, 0.0248969719, -0.0052266796, 0.0448242463, 0.0614019446, -0.0482909307, 0.0277230591, 0.0438777171, 0.005650539, 0.0005801762, -0.0088138804, -0.0594914593, -0.0224590302, 0.0411710329, -0.0293847769, 0.0235133898, -0.0455503799, 0.0263008084, 0.001522709, 0.0189749543, -0.0631357729, 0.0510928258, -0.018707063, 0.0455109328, 0.0101269223, -0.0747261643, 0.0025493102, -0.0077432389, -0.0513690189, -0.0310838502, 0.0780094713, 0.015404474, 0.069532387, -0.0401584022, 0.0240014382, -0.0109734833, 0.0050588427, 0.0209093783, -0.0086358599, -0.0169279594, 0.1014378294, 0.002609717, -0.0577060878, -0.0346223228, 0.0207203534, -0.0062189712, 0.0171307195, 0.0151056154, 0.0558226891, 0.046895206, 0.0143528488, -0.0490643494, 0.0314817019, 0.0630129948, 0.0243611019, 0.0502831563, 0.0108867241, -0.0142670833, -0.0022548237, -0.0622287802, -0.043515522, -0.0444365032, -0.0336573608, 0.0341282077, -0.0329638273, 0.0330872685, 0.0185392369, 0.0292031001, -0.0331022255, 0.0100358399, -0.0088368971, -0.0396597832, 0.0245746896, -0.0209161118, 0.0256921742, -0.0479111969, -0.0288086329, 0.0152696772, 0.0028574495, 0.0443468392, -0.0076980838, 0.0335126147, -0.000016925, -0.0522768945, -0.0118310638, -0.0444023907, -0.0627819374, -0.0281134266, -0.0377977304, -0.0159619581, 0.0285042189, 0.0027605582, 0.0452593565, 0.0075622546, -0.0072702672, -0.0347364582, -0.0371831581, -0.0186958425, 0.0146042872, -0.0100494549, 0.0276544709, -0.0338877514, -0.0074307891, 0.016638888, -0.0839760527, -0.0075160312, 0.0104179485, 2.625e-7, 0.0096611995, 0.014684353, 0.0159150735, -0.0203883909, -0.0064158891, 0.0470962673, 0.0271475129, 0.0535773523, 0.0049183164, 0.0108691035, 0.0001238825, 0.0354630873, 0.0351511799, 0.0405315533, -0.0775367692, 0.038537465, -0.1024206653, -0.0382926352, -0.0487740785, -0.0781680569, 0.0709738582, 0.0622114949, 0.0536900051, -0.0198950823, 0.0374770314, -0.0610553212, 0.0629555881, -0.0424487665, -0.0338588357, 0.0441363603, -0.0477385335, 0.016502725, -0.0054592029, -0.0302228257, 0.019683091, 0.044324778, 0.0277123675, 0.0100766886, 0.0139624905, -0.0293478891, -0.0108701764, -0.0390099362, -0.0142471222, -0.0872983783, 0.0679889694, -0.0863178894, -0.0263766907, -0.0260190293, -0.0073842974, 0.022335656, 0.0158438887, -0.0072335061, -0.0443399474, 0.0291752778, 0.0350257084, 0.0032202932, -0.0080482708, -0.0640125275, -0.0109052965, 0.0387238041, -0.0549896918, 0.0066546025, -0.0258787647, -0.0316426083, 0.019384088, -0.0441865884, 0.0167911015, 2.178285393e-34, -0.000097044, 0.0147157339, -0.0006803921, 0.0377012044, 0.048627615, 0.0076734149, 0.0348616615, 0.0008005057, 0.0229018666, -0.0914245322, -0.0038850394 ]
http://arxiv.org/abs/2310.12864v1
http://arxiv.org/pdf/2310.12864v1
The Locality and Symmetry of Positional Encodings
2023-10-19T16:15:15
2023-10-19T16:15:15
Lihu Chen, Gaël Varoquaux, Fabian M. Suchanek
cs.CL
cs.CL
Positional Encodings (PEs) are used to inject word-order information into transformer-based language models. While they can significantly enhance the quality of sentence representations, their specific contribution to language models is not fully understood, especially given recent findings that various positional encodings are insensitive to word order. In this work, we conduct a systematic study of positional encodings in \textbf{Bidirectional Masked Language Models} (BERT-style) , which complements existing work in three aspects: (1) We uncover the core function of PEs by identifying two common properties, Locality and Symmetry; (2) We show that the two properties are closely correlated with the performances of downstream tasks; (3) We quantify the weakness of current PEs by introducing two new probing tasks, on which current PEs perform poorly. We believe that these results are the basis for developing better PEs for transformer-based language models. The code is available at \faGithub~ \url{https://github.com/tigerchen52/locality\_symmetry}
[ 0.0476463065, 0.0680131391, -0.0459485427, 0.0660362169, -0.0412563011, 0.005293827, 0.0195635762, -0.009347897, -0.0327035375, -0.0730373561, -0.0371656045, -0.0483123772, 0.0398421772, -0.0103673218, 0.0624310933, -0.0626301318, 0.0424180217, -0.0193131138, -0.0374626443, 0.0018778518, -0.0115108164, -0.0218341276, 0.017473923, 0.0490188375, 0.0242307857, -0.0066991793, -0.0189301558, 0.0092419079, 0.0277674664, -0.0134724434, 0.0062458413, 0.0381383821, 0.0078263944, 0.0350652449, 0.0000016745, -0.0059002498, -0.0256288927, 0.005171719, 0.0179507732, 0.0455558226, -0.0097867819, -0.0747565329, -0.0242148247, 0.0154327862, -0.0109341899, -0.0194764789, 0.0706248954, 0.0142408898, 0.0285140257, 0.0722345859, -0.0239524394, -0.0573669262, 0.0072916406, -0.0365569331, 0.0075654918, 0.003596097, 0.0150382752, -0.0661061183, -0.0083169881, 0.0643590614, -0.0519112945, 0.0056525483, -0.0079292804, 0.02666164, -0.0295947567, 0.0361973532, -0.0228784196, -0.0077796914, -0.0034559483, 0.0096074641, -0.0447165184, -0.0358919427, -0.002981836, 0.0281256456, 0.0165752769, 0.039895203, -0.0301278606, 0.0423243269, 0.0415712036, 0.0085531501, 0.0252278727, 0.0309366062, 0.0053629591, -0.0378320366, -0.0647727922, 0.0743637085, 0.0276524108, -0.0781363696, -0.0856860951, -0.0102510508, -0.0562619455, -0.0219036788, 0.0158271529, -0.0114536034, 0.0445744619, 0.0152712241, -0.0034816328, -0.0537417643, 0.0124309622, -0.0238070022, 0.0380403623, 0.0423295833, -0.0339179561, 0.0023172086, -0.0328707062, 0.1016840637, -0.0070907343, 0.0490588993, -0.0436895043, 0.0095863026, 0.0064685177, -0.0441390872, -0.0382435955, 0.0186881125, -0.0477693491, -0.0418665819, -0.0042638634, 0.0296051167, -0.0135586429, 0.0038280853, 0.0209246892, 0.0191959236, 0.0011481511, 0.0245606229, 0.0337979756, 0.0196893383, 0.0085528279, -0.0123877292, -0.0411113985, -0.0225165524, -0.0417687893, 0.0328811929, 0.0197398122, -0.0245532971, -0.0225480702, 0.034981586, 0.0361258388, -0.0602397807, 0.0513418615, 0.0661983863, -0.0554105118, -0.0087165507, 0.0324093923, -0.0326173045, 0.0100355716, 0.062111605, 0.0042483117, -0.0393780172, 0.0270429142, 0.0254939273, -0.0396800824, 0.0639817044, 0.0392903611, 0.0167577807, -0.026970543, 0.0008018273, -0.0038579926, 0.0090921875, 0.0438274555, 0.0241501182, 0.0457109436, -0.0447598025, 0.0023065466, 0.0345121585, 0.0000396377, -0.0220074113, -0.0067178775, -0.0187645834, 0.0370610841, -0.0033250472, 0.0345693268, 0.0579027534, -0.0198427103, -0.0329354443, 0.0679401606, 0.0653767586, 0.0166142061, 0.0098199276, 0.0160505995, 0.0149029195, -0.0334012732, 0.022282593, -0.0313610472, -0.0131697906, 0.0179674868, 0.0198163353, -0.0090884855, 0.0416208431, 0.0061080474, -0.0100245755, -0.0737791359, -0.0172601137, 0.007599588, -0.0236306693, 0.0202748906, 0.0271810461, -0.0571869202, 0.1033579782, -0.0099672424, -0.0348518454, -0.0359936468, -0.0160381533, -0.0315139145, 0.0141886799, -0.0006730137, -0.0240854956, -0.0196499527, 0.0529712141, -0.0295134746, 0.0443547368, 0.0167714041, 0.0208629742, 0.0047677155, -0.0191775113, -0.0177389476, -0.0313915126, 0.0222617332, 0.0427201912, 0.0292815827, -0.0319773704, 0.0216591377, -0.0413778611, 0.0333138146, 0.0240655076, 0.0050523984, -0.0030560135, -0.0155373532, 0.0077597485, -0.0054530087, -0.023273671, -0.0190729126, 0.0727379918, 0.0568266995, -0.0457351208, 0.0261080805, 0.0401210003, -0.0470550992, -0.0475846641, 0.0245302394, 0.0048151324, 0.0258374792, 0.0863162652, -0.0039021783, -0.0089840582, 0.0192490052, -0.0430563092, 0.0500796214, -0.0105278902, 0.0525614321, 0.0097621242, 0.0324008726, -0.050942909, 0.0913038403, -0.0175467264, 0.049899172, 0.0083465613, 0.0011808255, 0.0090736542, -0.0233078189, -0.0466800854, 0.0026213771, -0.005053367, -0.0180809796, 0.009584778, -0.0293937903, 0.0251078699, -0.0764573142, -0.0829988569, 0.0017253187, -0.0187642202, 0.0213207975, 0.0406927019, 0.020207895, 0.0044544218, -0.002243828, -0.0373486578, -0.0455375873, -0.0021258416, 0.0304458234, 0.0644063577, -0.003517685, -0.0511044301, -0.0179906618, -0.0193380807, -0.0392534509, 0.0670632794, -0.0470179394, -0.0140523054, -0.0958550349, 0.0490979627, 0.0087600322, 0.0188669041, -0.0159539096, -0.0603881776, -0.0023649354, 0.0034535923, 0.0351227447, 0.0311576948, 0.0159285348, 0.0390184484, 0.0341811888, 0.0185392816, -0.023400208, -0.0187926982, -0.0401450768, 0.0398890562, -0.0185492132, -0.0202235244, -0.0086995456, 0.092911914, 0.0191786718, -0.0246604905, -0.0458241478, 0.0021353215, -0.0281969979, 0.0063319737, -0.0170027856, -0.0444203466, -0.0432002917, 0.0113273375, -0.0580493808, -0.0315699689, 0.0227124151, -0.0590463877, -0.0141677996, -0.0423028842, 0.0012989942, -0.0733363107, 0.0608653948, 0.0406669751, 0.0434633046, -0.0316546746, -0.0494259633, -0.0634044558, 0.0055153915, -0.0098769031, -0.0286710784, -0.0221201684, -0.0205625352, -0.0182007961, -0.0178519282, -0.0800531879, -0.0393853672, -0.0786048248, 0.042617619, 0.0141383028, 0.0541686565, -0.0509802699, -0.0155487768, 0.0435302183, 0.0205394384, 0.0435462333, -0.0134837562, 0.0253568217, -0.0326895937, 0.0601639859, 0.0380587764, 0.0197992846, 0.0312049035, -0.0053551197, -0.0121931601, 0.0213382095, 0.0179660339, 0.0329690352, -0.0142818503, 0.00818587, 0.0674695224, -0.0439741462, -0.0676376745, -0.0296417642, 0.0325497277, -0.0021931529, -0.0419923291, 0.132778883, 0.0574718304, 0.0080310293, 0.0473214798, -0.0164211839, 0.0470941626, 0.0077187577, 0.0119760027, -0.0648164153, 0.0292881764, 0.0148329167, -0.0247227773, 0.0005353177, 0.0216929633, 0.0067815832, -0.1286057085, 0.0201440603, 0.0047096391, -0.013209641, -0.0561897457, -0.0218975134, -0.0091167931, 0.0091278991, 0.0288326647, 0.0217931718, -0.0144548435, 0.0020761194, 0.0485629849, -0.0312858187, -0.0082080206, -0.021689197, -0.0419887602, -0.0008271743, 0.0394792557, 0.0314163901, -0.021358693, -0.0759527981, -0.0309705175, -0.0130949784, 0.0084528569, 0.0298549831, 0.0203546006, -0.0177703034, -0.0519520231, 0.0000309815, 0.0009885327, -0.0423948914, -0.034353476, -0.0651284605, 0.0312559418, 0.0018246241, -0.0114538278, -0.008564949, 0.0089529715, -0.0331791602, 0.0578282662, 0.0270292405, -0.0174165927, -0.0235537626, -0.0113869272, 0.0679221153, -0.0055542109, -0.0424087346, 0.0293704905, 0.05137318, -0.0335813425, -0.079322204, -0.0280618537, 0.0034650872, 0.0277172569, 0.0061181164, -0.0188999642, -0.0307948403, -0.0264194664, -0.0542446822, 0.0003779668, 0.0153423166, 0.0167538803, -0.0339061581, -0.021566486, 0.0465675294, 0.0037711214, -0.044498302, -0.0370910577, -0.04949072, -0.0446331613, 0.0559232309, 0.0535890758, 0.0198859051, 0.014948816, -0.0054655164, -0.0139209982, 0.0420931876, 0.0416893028, -0.0062256968, 0.0376497135, 0.0538960919, -0.0380954444, 0.0106753204, 0.0240227394, -0.010316113, -0.0185825862, -0.0027002122, 0.0456019118, -0.0082418602, -0.0408151671, 0.0347904451, -0.0089592505, 0.0703756958, -0.0011376395, 0.0151081281, 0.0110459989, 0.0254571326, -0.060945034, -0.0265275687, -0.0333249457, -0.0192287397, 0.0563041493, 0.0377854705, -0.0274260882, 0.021796694, 0.0191476531, -0.0186701138, -0.0053694169, 0.020601768, -0.0088455584, -0.0110584814, -0.0198989399, 0.0580023155, -0.0069862041, 0.0313064605, -0.0029209212, 0.0358775817, -0.0118992673, 0.013598755, -0.0028073646, -0.0223159585, -0.0560627468, 0.0981324911, -0.0861424729, 0.0258806963, -0.0215340592, -0.0186749399, 0.0300126802, -0.0510805622, 0.074495472, -0.021723466, -0.0119370511, 0.0234092399, -0.0009914552, 0.0197355058, -0.0344913788, -0.0201158244, 0.0266078431, -0.0178864766, -0.0075963107, 0.0819350407, 0.0319697224, 0.022068521, 0.0105180135, -0.0426011346, -0.0037617839, 0.0000130142, 0.071579583, -0.0059360117, -0.023188144, -0.0077575576, -0.073217243, -0.0581620447, 0.0302132517, 0.0066205291, 0.0193441194, -0.0400288217, 0.0125289224, 0.0486297682, 0.0024326779, -0.0158070736, -0.0632799342, 0.0053655161, 0.0502971523, -0.0200599376, -0.0382041782, -5.532723873e-33, -0.0292371195, -0.0074233646, -0.0486838073, -0.0205419939, 0.0159388073, 0.013680093, -0.0046143462, 0.0054938458, 0.0039719255, 0.0082670981, -0.0120887896, 0.0046223812, 0.0093345372, 0.0191750266, -0.0210387371, -0.0177440885, 0.014892037, 0.0221922416, -0.016617544, -0.0558624566, 0.0369417258, 0.032862667, 0.0607167073, -0.0087055108, 0.0242949277, -0.0304844268, 0.0081810672, 0.0034234205, -0.0126279416, 0.0490008593, -0.0137841357, -0.0001430023, 0.0158614907, -0.0339439027, -0.0109282238, 0.0327889621, -0.0407345742, -0.0234982297, 0.0235480778, 0.0256640147, -0.0038818605, -0.0336984321, 0.0539352223, -0.0296064802, -0.0383038484, -0.0001674899, 0.0078661973, 0.018288387, -0.0405027568, 0.0116473641, -0.0509492233, -0.0081587322, -0.0082542524, -0.0384832434, 0.0255889334, -0.004062342, 0.0263223015, 0.0096045639, -0.0404028147, 0.0084254108, -0.0094315177, 0.0592010207, 0.0196999367, 0.0053620096, -0.0001786368, 0.0625889525, 0.0502539873, 0.0194941889, 0.0054152939, -0.0074032214, 0.0244331993, 0.0302015021, 0.0506834462, -0.0245825071, 0.0094528953, 0.0237243511, -0.025457304, 0.0190002266, -0.0488002114, -0.007563245, 0.0199451279, 0.0173629411, -0.0514033027, -0.0317116156, -0.0091907261, -0.034630388, -0.009012809, 0.0024015303, 0.0250530317, -0.0104638971, -0.0356470086, 0.0475573242, 0.0131770717, -0.0563853085, -0.0169340186, 0.0221623462, -0.0191475265, 0.0531020649, 0.0001608337, 0.042508848, -0.0049510268, -0.0334587134, 0.0131412251, 0.033182282, 0.0103819249, 0.019049624, 0.0363346078, 0.0326976664, -0.0650763437, -0.0173762944, -0.0362893417, -0.0342500955, -0.0641726106, 0.0282011852, 0.0284095313, 0.012405985, -0.0037078839, 0.0175571907, 0.0671645552, 0.0336357877, -0.0325982347, 0.0490170829, -0.0240459237, -0.0000135994, 0.0031660211, -0.0195431951, -0.0394335166, 0.0733835325, 0.0536052212, -0.0455445312, -0.0188472159, -0.0331472345, 2.492e-7, 0.092644684, 0.047555998, 0.075461708, 0.0295413323, 0.0268995464, 0.0076891072, -0.0021261191, 0.0525859296, 0.00086917, 0.041128803, 0.0067920922, -0.0068233698, -0.0051709213, -0.0214845091, -0.0825618356, 0.0162618179, -0.0761049837, -0.0034482025, -0.0270601548, 0.057295762, 0.0230142977, 0.1080760136, -0.0189153887, 0.0274974424, -0.0328134559, -0.0163398832, 0.0698246434, -0.0381925628, -0.0079601901, -0.0070868963, 0.0009059362, -0.0364032909, 0.0178671014, -0.0289322641, 0.0000843279, 0.049032256, 0.0254947133, 0.0170384627, -0.0116788168, -0.0249308776, -0.024252506, -0.012971024, -0.0254028793, -0.0870444477, 0.0619995035, -0.0442879312, -0.041962225, -0.0086791497, -0.057599064, 0.0493825413, -0.0085717868, 0.0087655699, -0.0434920378, 0.0160752181, 0.03685477, -0.0180440992, -0.0174428914, -0.0733415857, -0.0824061781, -0.0146016246, -0.0257178172, -0.0175118931, -0.0159944333, -0.0158745162, 0.0568275191, -0.0591054186, -0.04049192, 2.807365429e-34, -0.0054200478, -0.0013004423, -0.0067876228, 0.0401854478, 0.0228030793, -0.0413479991, 0.0208473746, 0.0223313011, 0.0151244961, -0.0737526044, -0.0334607214 ]
http://arxiv.org/abs/2310.12860v2
http://arxiv.org/pdf/2310.12860v2
Probing LLMs for hate speech detection: strengths and vulnerabilities
2023-10-19T16:11:02
2023-10-28T05:07:31
Sarthak Roy, Ashish Harshavardhan, Animesh Mukherjee, Punyajoy Saha
cs.CL
cs.CL, cs.CY
Recently efforts have been made by social media platforms as well as researchers to detect hateful or toxic language using large language models. However, none of these works aim to use explanation, additional context and victim community information in the detection process. We utilise different prompt variation, input information and evaluate large language models in zero shot setting (without adding any in-context examples). We select three large language models (GPT-3.5, text-davinci and Flan-T5) and three datasets - HateXplain, implicit hate and ToxicSpans. We find that on average including the target information in the pipeline improves the model performance substantially (~20-30%) over the baseline across the datasets. There is also a considerable effect of adding the rationales/explanations into the pipeline (~10-20%) over the baseline across the datasets. In addition, we further provide a typology of the error cases where these large language models fail to (i) classify and (ii) explain the reason for the decisions they take. Such vulnerable points automatically constitute 'jailbreak' prompts for these models and industry scale safeguard techniques need to be developed to make the models robust against such prompts.
[ 0.0521908365, 0.02846523, -0.0281552263, 0.0485864244, -0.03100756, 0.0477528907, 0.0400057249, 0.0336035602, 0.0158641115, -0.0700158849, -0.0067458833, -0.0324120447, -0.0234516785, 0.0185103007, -0.0024919447, -0.0313207842, 0.0223787501, 0.0143144419, 0.0256498586, -0.0193848852, 0.0552416854, 0.0165036358, 0.0224484894, 0.0299795587, -0.0400130823, 0.0183581654, 0.0160038341, 0.0282570571, 0.0176090896, -0.0103870919, 0.0280703828, 0.0212421138, 0.0371378772, 0.0625881478, 0.0000019863, -0.0586230345, 0.0228866115, -0.0179088395, -0.0356469341, -0.0370201059, 0.0740245953, -0.0247992333, 0.0010760596, 0.0484745391, -0.0105701312, 0.0478691459, 0.0686702877, 0.0450644009, 0.0500836, 0.0651647672, -0.0087072179, -0.0537524745, 0.0022612913, 0.011252027, 0.0172025245, 0.0154085848, 0.0360678397, -0.0607218742, -0.0410507955, 0.0023787697, -0.0011627311, 0.0077523729, 0.0228729583, 0.015483262, 0.0028888201, -0.0235625766, -0.0060464465, -0.0570812114, -0.0022923476, 0.0520021729, -0.0451524928, -0.0123755084, 0.0123893684, -0.0160644986, -0.0133865187, -0.0261394568, -0.0365975834, 0.0141015192, -0.0139737371, 0.0194113683, 0.0093582617, 0.011536737, 0.0836855173, 0.0658044517, 0.0214613806, 0.0607673861, -0.0160902198, -0.0190386698, 0.0054612248, -0.0218895897, -0.018723717, 0.0018045934, -0.0090680886, 0.0172348078, -0.0180115774, 0.0181371439, -0.0370518714, -0.0015088748, 0.0208356604, -0.0763545409, 0.0432162806, 0.0480134077, -0.0312843658, -0.000942189, 0.0030816323, 0.0208239611, -0.0105499672, 0.0056524337, 0.0035706006, 0.0000480277, -0.0231798124, -0.0065849144, 0.0316351913, -0.0008462371, -0.024398502, 0.0534904115, -0.0285365395, 0.0201134402, -0.042584274, -0.0185250584, -0.0040416042, -0.0059873625, 0.0071140011, 0.0082499692, -0.025047427, 0.0055683563, -0.0400430225, 0.0119144712, -0.0163122676, -0.0929429829, 0.0013373275, 0.0368100591, -0.0246455129, -0.0280590188, 0.0234783553, 0.0983471125, 0.0499316715, -0.0405905247, -0.0574419312, -0.0448398702, -0.0390142091, -0.0732715875, 0.0138532305, -0.0506205671, 0.0189913269, -0.0019100723, -0.0290036108, -0.0659835115, 0.0096759079, 0.011190108, -0.0687227175, 0.0879025012, 0.0034410805, 0.0000995255, 0.0351973698, 0.0457183719, -0.0049708327, 0.0791852698, 0.0155638559, 0.0272935685, 0.0511565208, -0.0201817229, 0.0155225042, 0.0470853783, 0.0391757153, 0.0411691256, -0.056462571, 0.0266350918, -0.05716772, -0.0317846723, 0.0174334887, 0.0417474695, 0.004859311, -0.0656472817, 0.056109868, 0.088885963, -0.0252804477, -0.0076784361, 0.0613370016, 0.0109750479, -0.0408408158, -0.0313027538, -0.0719304681, -0.0296091102, -0.0541496463, -0.0513579361, 0.009726705, 0.0260832757, -0.0291518699, -0.0317554846, -0.0509056188, -0.0252441168, 0.0374959707, -0.0036201188, 0.0229477901, -0.0229259394, -0.0133208744, 0.045704104, 0.0589748137, -0.030721264, -0.0043108105, -0.0735707954, 0.0437361598, 0.0890476778, 0.0084789945, -0.0023166745, 0.018050326, -0.074740842, -0.0155675532, 0.0296413042, -0.0106928973, 0.0091924602, 0.0123933256, -0.0484727472, -0.0212972108, 0.0286751166, 0.0179568529, 0.0037340838, 0.0402797423, -0.0107489303, 0.0065074763, 0.0319283903, -0.0323272385, 0.0227494333, 0.0055404394, -0.0371725671, -0.0134208193, 0.0027584664, 0.0649809614, 0.0248331018, -0.0065337052, -0.0519883446, 0.0123489378, 0.0067072269, -0.0243768338, -0.0142341517, -0.0565642528, -0.0006852429, 0.0279382244, -0.0152804349, -0.002910017, 0.0445674509, -0.0028882402, 0.0224598944, 0.0314120688, -0.0127054853, -0.0050212508, -0.0171759371, -0.020827923, -0.0581362732, 0.028123511, -0.0217126049, 0.0417859778, -0.0338887833, -0.0170485582, 0.0133624924, -0.0281013381, 0.017332105, 0.0074244724, -0.0382029675, -0.0125869829, -0.0106981201, 0.0070843943, -0.021815056, 0.0135474941, -0.0160937831, -0.0158597492, -0.0662321374, -0.0058976775, -0.043214567, -0.0361874141, 0.0114869205, 0.0024552185, -0.0346151404, 0.0250332095, -0.0089129228, -0.0193231348, 0.0643692985, 0.0445045233, 0.003205233, -0.0406774729, -0.0407657251, -0.0326172598, -0.0192776248, 0.0005873531, 0.0223226454, 0.0077685402, -0.0702001825, 0.03317542, 0.0220360234, -0.0400600173, -0.0062776217, -0.0250202212, -0.0502102673, 0.0214172713, 0.0174498111, -0.0151082426, 0.0342015959, 0.0387915522, 0.1188824847, 0.0282797869, -0.0025204686, -0.0381151326, -0.0050000059, -0.0251943488, -0.0176734701, -0.050895229, -0.0534536727, -0.0343123004, 0.0769381747, 0.0366678908, -0.0080711935, -0.0660851002, 0.0331283286, -0.0403674841, -0.0355730541, -0.0265398156, -0.0825930983, -0.0408287644, 0.0010016173, -0.0295352861, -0.098784171, 0.054138802, -0.0112948073, 0.0191957504, 0.0098897358, -0.0619957782, -0.0158885252, 0.0465859286, 0.0117962938, 0.0188896488, -0.0316402577, -0.0071825958, 0.0250293873, -0.0505031906, 0.0237978082, -0.0153292287, 0.0118946061, -0.0275809057, 0.0169008486, 0.0056369635, -0.0165941101, -0.0562103465, -0.0672243685, -0.0545887463, -0.0439486317, 0.0132339559, -0.0150845796, 0.0077654896, 0.0217616968, 0.0218994357, -0.0204658415, 0.000852267, 0.013786599, 0.0153308921, -0.0417785831, 0.0004315298, -0.0071217818, 0.0362717025, -0.0075834445, 0.0184536353, 0.0418621711, 0.0096319718, 0.0023205841, -0.0028715641, 0.0316459835, 0.026579354, 0.0302415974, -0.0150804836, 0.0162286609, 0.0404863581, -0.0193531383, 0.0282762479, 0.1021264642, 0.0111192903, -0.0217520427, -0.005526064, 0.0094916746, 0.026080694, 0.023108514, -0.0461470075, -0.0998981893, -0.0175150856, 0.005972873, 0.0501535125, -0.0852705687, -0.0314486958, -0.0142800184, -0.0639825314, 0.0418375656, -0.0026990429, -0.0209774394, -0.0049008415, -0.019461507, 0.0124831358, -0.0021808567, 0.0598739833, -0.0258314051, 0.0146417161, -0.026854191, 0.009183662, -0.0893098041, -0.030190926, 0.0248748306, -0.0159513019, 0.0596293435, 0.0316646956, 0.0241547506, -0.0368339047, -0.0173963793, 0.0630574226, 0.0069751167, -0.0078710867, -0.0631252453, 0.0495910309, 0.0039479183, -0.0134458179, -0.0346719027, 0.0645039678, -0.0161369685, 0.0025668391, 0.013816948, 0.0449806973, -0.0018391199, -0.0070485515, -0.0358296782, 0.0192199331, -0.0086408462, 0.1101961955, 0.0315504, -0.0506982617, 0.0142667415, -0.062989153, -0.0591610335, 0.0095353974, -0.0984711945, -0.021992119, -0.022001775, -0.0129292691, 0.0042081601, -0.0269923545, 0.0302713737, 0.0261631217, 0.0227396917, -0.0090989657, -0.0499431491, -0.0032546269, -0.0288449228, 0.0330998078, 0.0023279297, 0.045961272, -0.0227763075, 0.0387363248, -0.0100791482, -0.0238067135, -0.0049596247, 0.0257984009, -0.0605538487, -0.0594625995, 0.0691827163, 0.0417894758, 0.0299401414, 0.0386402681, -0.0036694328, -0.0839203447, 0.0575277805, 0.0423290059, -0.0037233562, 0.0212700181, 0.0508047268, 0.0192821007, 0.0144663965, 0.0205277596, -0.0105507178, 0.0327655114, 0.0561589114, -0.0525232702, -0.0606399775, -0.0117002772, -0.0147730773, 0.0038642634, 0.0525290817, -0.0169526227, -0.0486396663, -0.01368625, -0.0158417299, -0.0093782917, -0.0228811055, -0.0171031617, 0.0043489821, 0.0088586491, -0.019629132, -0.0497090556, -0.0631741583, -0.0603101403, 0.0257479604, -0.0359997787, 0.0552103482, 0.0361333638, 0.0230554882, 0.0433561988, 0.0224560779, -0.0291561484, 0.0512479655, -0.0058452985, -0.0305722915, 0.0298038572, 0.0479711182, 0.0059244731, 0.0172362421, 0.0326536745, -0.017377859, 0.005444102, -0.021688981, -0.0312394332, -0.0019733065, -0.0224749576, -0.023233436, 0.0372855775, 0.0143914949, -0.0151023176, -0.0343111157, 0.0144325858, -0.0104380641, -0.0599846728, 0.0369802676, 0.0370185338, -0.0435429364, 0.0162862614, 0.0331787802, 0.0197701212, 0.0514097288, 0.0339283049, -0.0211607013, -0.0111840591, 0.0082836933, 0.0553460978, 0.0278900787, 0.0165623873, 0.0148924012, -0.0704391524, -0.0512011535, -0.0016899431, -0.0611352436, 0.0195634309, -0.0160983261, 0.0162726901, 0.0543212071, -0.007411764, 0.0288234074, -0.0010556666, -0.0034694823, 0.0032976794, -0.0578914247, 0.0117694261, -6.169347736e-33, -0.0010940076, -0.0517132469, -0.032619305, 0.0040686447, -0.0122381262, -0.0249896366, 0.0332967751, 0.0195280127, -0.0020529791, 0.0007432263, 0.0100039141, 0.0231782347, 0.0089914482, -0.0076655503, -0.0156826358, -0.0596074834, 0.0185663272, -0.0311211962, 0.0009918503, 0.0025064168, 0.0487508066, -0.0018566906, 0.0089129852, -0.0605941266, 0.0846913531, -0.0156739131, -0.0220540911, 0.0313628986, 0.0010963462, 0.0650695786, -0.0166054834, 0.0933540538, 0.0350337774, -0.0106073394, 0.0114743765, 0.0574727654, -0.0291073564, -0.0087890774, 0.044417087, -0.0123159289, 0.0271806344, -0.0356783643, 0.0435516983, 0.0106273107, -0.0604710542, -0.0199583862, 0.0086418539, -0.05027337, 0.0281816609, -0.0324419439, -0.0202746354, 0.0318279639, -0.0320288241, 0.0081638247, -0.0028930281, 0.0242742971, 0.0250443537, 0.0394196697, -0.0540717766, 0.0185715929, 0.0052634943, -0.0282238033, 0.0377475619, 0.0131569477, -0.0005674308, 0.0756706297, 0.0010102671, 0.0069489619, -0.0385864079, 0.0128877275, 0.014196679, 0.0460513048, 0.0581540838, 0.0583055094, -0.0089055793, -0.0618781559, -0.0636371821, -0.0120293405, 0.0508789495, -0.0102431662, 0.0359413065, -0.0168529376, -0.0670614839, -0.0548279248, -0.0331423953, -0.0543445572, -0.0246485155, -0.0436649658, 0.0321300849, -0.0173241217, 0.0027747548, -0.0423311144, 0.0234321486, -0.0272455439, -0.0001979388, 0.0367707685, -0.0157036185, -0.0027068488, 0.0357850194, 0.0318342969, -0.0293811411, 0.0144687844, -0.0033562542, -0.0332102664, 0.0272524916, -0.0043357639, 0.0424181856, 0.0461298376, -0.064412266, 0.0109051876, -0.0179737881, 0.0625105426, -0.0381684117, 0.0403621681, 0.011233707, 0.0280051623, -0.003437716, 0.0064238254, 0.0235543177, -0.0299347136, -0.0043810667, 0.0090904888, -0.0508250371, 0.016928779, -0.0137010803, -0.004328209, 0.026324166, 0.0052567185, 0.0582668632, -0.0700381249, 0.0188078117, -0.0427056812, 2.649e-7, 0.0048491363, 0.0351350047, -0.0122418189, 0.0039357217, 0.0225004498, 0.0493861213, 0.0314814337, 0.0102699138, 0.0018955718, -0.0295705386, -0.0182722043, 0.0570831224, 0.0290359855, 0.0449763387, -0.0113633247, 0.0134195536, -0.0582010038, -0.0158674102, -0.0638269782, 0.0278536323, 0.0184217133, 0.0881458223, 0.0722666234, -0.0346335992, -0.0262794159, -0.0121331243, 0.0007563281, -0.09309569, -0.0207490418, -0.0217980165, 0.0895312577, 0.0127293039, 0.0304759797, -0.0012287361, 0.0106455432, 0.012380966, -0.0360985659, 0.0598529316, 0.0260887463, -0.029749807, -0.0061656167, -0.0378549211, -0.0126741221, -0.0527865887, 0.0634831563, 0.0114021972, -0.0232794434, -0.0387901999, 0.0095038302, -0.0618028864, 0.0288260859, -0.0267729592, 0.0020202138, -0.017064821, 0.0201467965, -0.0423393473, 0.0218366012, -0.0988484249, -0.0025952598, -0.0040042107, -0.0277700517, -0.0535405241, -0.0162234716, 0.0159594025, 0.0581915006, 0.0154797724, 0.0310993232, 2.40594444e-34, 0.0285384376, -0.0289695561, -0.0022128178, -0.0238756314, 0.0338071138, 0.0566420555, -0.0267209411, 0.0057661906, 0.0633344725, -0.0396388918, 0.0164741315 ]
http://arxiv.org/abs/2310.12851v1
http://arxiv.org/pdf/2310.12851v1
EmoDiarize: Speaker Diarization and Emotion Identification from Speech Signals using Convolutional Neural Networks
2023-10-19T16:02:53
2023-10-19T16:02:53
Hanan Hamza, Fiza Gafoor, Fathima Sithara, Gayathri Anil, V. S. Anoop
cs.SD
cs.SD, cs.CL, eess.AS
In the era of advanced artificial intelligence and human-computer interaction, identifying emotions in spoken language is paramount. This research explores the integration of deep learning techniques in speech emotion recognition, offering a comprehensive solution to the challenges associated with speaker diarization and emotion identification. It introduces a framework that combines a pre-existing speaker diarization pipeline and an emotion identification model built on a Convolutional Neural Network (CNN) to achieve higher precision. The proposed model was trained on data from five speech emotion datasets, namely, RAVDESS, CREMA-D, SAVEE, TESS, and Movie Clips, out of which the latter is a speech emotion dataset created specifically for this research. The features extracted from each sample include Mel Frequency Cepstral Coefficients (MFCC), Zero Crossing Rate (ZCR), Root Mean Square (RMS), and various data augmentation algorithms like pitch, noise, stretch, and shift. This feature extraction approach aims to enhance prediction accuracy while reducing computational complexity. The proposed model yields an unweighted accuracy of 63%, demonstrating remarkable efficiency in accurately identifying emotional states within speech signals.
[ -0.0269817393, 0.0470345318, 0.0026757808, 0.0215975959, 0.0255708806, 0.0271017682, 0.0362868607, -0.0532292798, -0.0114910463, 0.011773522, -0.02762172, -0.0053782072, -0.0499480553, 0.0038316639, -0.0377903655, -0.083300069, 0.0061289831, 0.0615210906, 0.0810724646, -0.0105526708, 0.0200728811, 0.0251941159, -0.0358318612, 0.0129690729, -0.0686327517, -0.0223910473, -0.018084608, 0.051444564, 0.0527773611, 0.0008892993, 0.035075523, 0.0533253066, 0.0324907117, 0.0580985509, 0.000002186, 0.0103826541, -0.0178000983, -0.0386070609, -0.0605472736, -0.0201246608, 0.0498350076, 0.0041322908, -0.0364245474, 0.0074190698, -0.0028283859, -0.0332252309, 0.029819794, 0.0521688685, 0.0878266841, 0.0503142215, 0.0002310112, -0.0041063172, 0.002850889, 0.0125213796, -0.0302067623, -0.0116394525, 0.0084355203, -0.0346219093, -0.0216844156, -0.0868214816, -0.0255244132, 0.0246674288, 0.013402327, 0.0095290979, 0.0501785912, -0.041379109, -0.0348103717, -0.0447137244, -0.0151416119, 0.0789417475, -0.0336263962, 0.0066481605, 0.0106606344, 0.0124269044, -0.0113006616, -0.0361343399, -0.0057643601, -0.0084789004, 0.0203817636, -0.0108350441, -0.072376281, 0.03399124, 0.0312213022, 0.0187344719, -0.0199222025, -0.0023836805, -0.036244072, -0.0191990715, 0.0596590824, -0.0635974705, -0.0056289234, 0.0015193914, 0.0240937322, -0.0123770833, -0.0194754694, -0.0179678369, -0.0162248351, -0.0678813979, -0.0529637448, -0.024503611, -0.0718517303, 0.0126670739, -0.0409291424, 0.0136937797, 0.0154049881, 0.0347266048, 0.0226769708, -0.0327204168, -0.0254697986, -0.0219340362, -0.0527219437, 0.0293527655, 0.0152699919, 0.0174546055, 0.0566638932, -0.0315255374, -0.1080246791, -0.0147472946, -0.0788263902, 0.0101943808, -0.0365565494, 0.0322118998, -0.0051761703, 0.0069184513, 0.0163781475, 0.0587345846, -0.0345970131, 0.0343353748, -0.0035027994, -0.062706463, 0.0236586351, 0.0257101674, 0.0244160499, 0.0114065399, 0.0690030307, -0.0266048312, 0.0340778865, -0.0382410251, -0.0178938564, -0.0281881653, -0.0206577554, -0.0321608819, 0.0280278251, -0.0505501516, 0.036381539, -0.032415837, 0.010062784, -0.0457392931, -0.0094643589, -0.0507160425, 0.0108870473, 0.0428722613, -0.0019870095, 0.0039993087, 0.0508850515, 0.0100438436, 0.033579845, -0.0096367802, 0.0437567122, 0.0215751976, 0.0208928846, -0.0669827238, 0.0457017832, 0.0306803733, -0.0214591324, -0.0343378522, -0.0195807945, -0.0614807084, -0.0424620956, 0.0490884222, 0.0448734015, -0.0303641427, -0.0131750805, -0.0270997491, 0.0005776781, 0.052271191, 0.008342769, 0.0461649597, 0.0102203563, 0.014317208, 0.0512834936, -0.0374265499, -0.0207382198, 0.0101828026, 0.0241469555, -0.0608858466, 0.0380327404, -0.0084733702, -0.0326721221, -0.0283567831, 0.031831719, -0.0491819754, 0.0071947416, 0.0414947383, -0.008931879, -0.042202957, 0.0065515474, 0.0133321024, 0.0069787689, -0.0726774633, 0.0023852724, 0.0025761977, -0.0218480602, 0.0344100408, -0.0278062262, -0.0453332514, 0.0006776424, -0.0688787997, -0.0174932405, -0.0209026206, 0.0109542524, -0.0116717638, 0.0280490499, -0.0795425475, 0.0080131004, 0.0396470837, -0.0105011035, 0.0174507909, -0.0356872603, 0.0160855837, 0.0054715653, -0.0097591495, 0.0239316896, -0.0000904526, -0.0027771592, -0.0602937229, -0.0056699212, 0.0570182502, 0.0339494646, 0.0685867891, -0.0091179488, -0.0550025515, 0.0429941826, 0.0065546273, 0.0232248697, 0.0117426664, -0.0338248909, -0.0143887755, 0.0472148061, -0.0481237695, 0.0056975032, 0.08866705, -0.0274436101, -0.0625685304, 0.0926979259, 0.0218794756, 0.0143181849, -0.0160871968, 0.0389206111, -0.0107004438, 0.0485428609, 0.028062148, 0.0066381185, 0.0120180957, -0.0073766559, 0.0050215577, 0.0171832405, 0.0219906308, -0.0377866067, -0.0490633324, -0.0248145927, -0.0217998084, 0.014701996, -0.013837426, -0.0433852449, -0.0465412699, -0.0340920612, -0.0838459507, 0.0242255032, -0.0216333978, -0.0292969048, -0.0290386863, 0.0147159835, -0.0397769324, 0.0026633479, -0.0073748063, 0.0009884739, -0.0045788321, -0.0359597281, -0.0303239059, -0.0155660771, -0.0515446588, -0.0394249745, -0.0025207901, -0.0333392248, -0.0115458854, -0.0271105114, -0.024793474, 0.0468513034, -0.0317551009, -0.0297192615, 0.0525168255, 0.0070760422, -0.034924902, -0.0356849208, 0.020365864, -0.013715216, 0.0190280136, 0.0006423026, 0.0798291713, -0.0345125608, 0.0275304299, -0.0204069689, 0.0584569238, -0.0037384306, 0.0405597314, -0.0239964146, -0.0164184533, -0.0260581896, -0.0033968699, -0.0105713122, 0.0222908445, 0.0012914183, -0.0303719677, 0.0474987552, -0.0368739776, 0.0349302143, -0.0276396777, 0.0035013983, -0.0116153294, 0.0365259498, -0.0417504087, -0.01538774, -0.0118369292, -0.057330478, -0.0506719537, -0.0814985335, -0.0196089484, -0.0072921701, -0.0277140252, 0.0250960402, 0.0069142156, -0.0134092225, 0.005774471, -0.0656240806, -0.0347606465, -0.0616161563, 0.0179812945, -0.0094078602, -0.0401332304, 0.0163486879, -0.0074885581, -0.0546484403, -0.0087000998, -0.0404348709, 0.0160233825, 0.0073576733, -0.0401403494, -0.0081512071, -0.0440915786, 0.0335141495, -0.0374967866, 0.0220734458, 0.0211738385, 0.003081758, 0.0609147474, 0.0336059667, 0.0574871562, 0.0308350138, -0.0098338062, 0.0190668199, -0.0139301009, 0.0292627029, 0.048692368, -0.0571641028, 0.0207261015, -0.0028402396, 0.0111235213, -0.0070364894, -0.0131012425, -0.0182387568, -0.0231583323, 0.0655888319, 0.1297366917, 0.0348400958, -0.0971138179, -0.0016448516, -0.0272684097, -0.0148159713, 0.004945097, 0.0038623076, -0.0213451404, -0.0293403808, 0.0325482041, 0.0231431331, -0.0014762499, -0.0141386064, -0.0183802973, -0.0312573798, 0.0562924929, -0.0023930955, 0.0047866167, -0.0384786688, -0.0134770581, 0.0039284788, -0.0074610324, 0.0349590741, -0.0451637954, 0.0175816379, -0.0182288475, 0.0494009331, -0.0545422547, -0.0214829128, 0.0338567905, -0.0363481939, 0.065910019, 0.0076723271, 0.0579514541, -0.0425000824, -0.0145236794, -0.0140246758, -0.0105664162, -0.0267218202, -0.0163090993, 0.0529911369, -0.0228018668, -0.0112471813, 0.0020275079, 0.0467530079, -0.0209912974, 0.0143388435, 0.0016160281, 0.0482581258, -0.0085952776, -0.0179656446, -0.0250116754, 0.0465891734, 0.048170533, 0.0455318168, 0.0144847156, -0.0361742564, -0.0160581581, -0.0007707205, 0.053862609, 0.0234238133, -0.0250130463, 0.0174373798, 0.0202114526, -0.0632691532, 0.0183660444, -0.0469975732, -0.0154229719, 0.0048698764, -0.012016437, -0.036269024, 0.0113447877, -0.0087185409, -0.0384484679, 0.0513327532, 0.0257869754, 0.0539216809, -0.0260811802, 0.0027680011, 0.0512045212, -0.0241259541, 0.0035154554, -0.0042945663, -0.0423397943, -0.00052727, 0.0302589387, -0.019309191, 0.0122354431, 0.044626046, 0.0078583034, -0.0694919229, 0.0478506461, -0.0116290227, -0.0127361435, -0.0026583888, 0.0798542723, 0.0032864537, -0.0469832644, 0.0152891483, -0.031832017, 0.074077405, 0.0083634285, -0.0561800078, -0.0640164092, -0.0741366223, -0.0393369831, 0.0068124458, 0.0187967941, 0.0287637003, -0.0261462666, -0.0189118255, -0.0036018186, 0.0438368395, 0.0285178609, -0.0086372597, -0.023884045, 0.0002983724, 0.0385892801, -0.0272880569, -0.0232803654, 0.0050524008, -0.0717833489, 0.0144564658, 0.0835349262, -0.0028997951, 0.0009747833, -0.0239861533, 0.0271999668, 0.018816201, 0.0440799594, 0.0119385999, 0.0090555539, 0.0088942079, -0.0014914962, -0.0076306476, 0.0002748166, -0.0310103633, 0.0558179431, -0.0069798133, -0.0168825705, -0.0104812784, 0.0068462598, 0.0408963412, -0.0365486704, 0.0479869917, -0.0214224923, 0.0322655886, -0.0042858184, -0.0196570717, -0.0396158695, 0.0120691489, 0.0365679376, -0.002706127, -0.0192638896, 0.0240578949, 0.0057326611, -0.0381543487, 0.0501635298, -0.0228634775, 0.0054905876, -0.0775245056, 0.0116431275, 0.0499737822, -0.0256990939, -0.0093170172, 0.007287581, 0.0103526907, -0.03803901, 0.0838739574, -0.0522656925, 0.0004589073, -0.0114438254, 0.0096854782, 0.009336425, -0.0624628849, 0.0386993438, 0.0150347445, -0.028076997, -0.0481185988, -0.0490046293, -0.0019732721, -6.257971194e-33, 0.0232969914, 0.0369163044, -0.0547688305, -0.0049793217, -0.0390564539, 0.0028624805, 0.0116145555, 0.0310184918, -0.0174617302, 0.0213140547, -0.0220331922, 0.0400771052, 0.0234855302, 0.023948336, -0.0284345467, -0.0517158508, 0.054396607, -0.0036803589, 0.0309063364, 0.0439002998, 0.0354040675, 0.0510992892, 0.0410370268, -0.1338819116, -0.046320837, -0.0002948081, -0.0192490816, -0.0173008665, 0.0487746298, 0.0211711507, 0.0085782027, 0.0476570278, -0.0078013111, -0.0196014233, 0.012501142, 0.0391910858, -0.0475807935, 0.0299729668, -0.0830693468, 0.047102116, -0.0167599283, -0.0536809228, 0.0404018722, 0.0478470065, -0.0139496094, -0.0326960497, 0.0578975715, -0.0083327526, 0.0285920557, -0.0293622836, 0.0181903634, 0.0148994364, -0.0557527579, -0.0454718545, 0.0461203717, 0.0442759618, -0.019042749, 0.0189198833, -0.0854452699, 0.0143401679, 0.0106567228, -0.0147509631, 0.0096050613, 0.0453439355, -0.0282974299, 0.0641421303, 0.0848363489, -0.0623392724, 0.0255786888, 0.0075661317, 0.0569199473, 0.0707462206, 0.0358439535, 0.0320630595, 0.028252326, -0.0457607731, -0.0343602262, 0.0447300337, 0.085508056, -0.0098269144, -0.0026722164, -0.0110924337, -0.0239304528, 0.0061187474, -0.0107790297, -0.0219093021, 0.0045559928, -0.0174842793, 0.0230941698, -0.0330636986, -0.0020019864, -0.0172568969, 0.0233138707, -0.0188689586, 0.0319921598, 0.0209681541, -0.0194473658, 0.0600923337, 0.0199129637, 0.0045624152, 0.0208415221, -0.016726071, 0.0861176029, 0.0209050663, 0.0680021793, -0.0231883582, -0.0110768648, 0.0644530579, -0.0033915769, -0.0007019896, 0.0225547217, 0.040111471, 0.0056752502, 0.0555578806, -0.0355508178, 0.0082965028, 0.0207350142, -0.0492479689, 0.0218060371, 0.0723873824, 0.0189877935, -0.0215946697, 0.0090633985, 0.0326772556, -0.0617023446, -0.0111904936, -0.0105859917, -0.0130392741, 0.022591915, -0.0415343828, 0.0179150216, -0.0243779235, 3.001e-7, -0.055000063, -0.0039437423, 0.0488460213, -0.0563848168, 0.0319708958, 0.0412119925, 0.0098519949, 0.0105253775, 0.0361698642, -0.0224556774, 0.0723477304, -0.0067015719, 0.0764416233, 0.0148015143, -0.0926592425, -0.0339442492, -0.0130110141, 0.0425906591, -0.0078754202, 0.0323213935, 0.0503132939, 0.0969453976, 0.0455212705, -0.0430086106, 0.047267545, 0.009351152, -0.0257911813, -0.0390557945, 0.0368065648, 0.0152501548, 0.0006315249, -0.0277137179, -0.0178265311, 0.0437343195, 0.0098642809, 0.0531879999, 0.0361559205, 0.0339227617, 0.0274691228, -0.0532304272, 0.0013089887, 0.0458844416, -0.0253499988, 0.0319668464, 0.0408382006, 0.0029385632, -0.0287844203, -0.0231436491, -0.0360099301, 0.0269760936, 0.0503991805, -0.0138644595, -0.0140454536, 0.0089334734, -0.0113799535, -0.0547354445, -0.0251094121, -0.0829210803, 0.0094443681, 0.0485278144, -0.0586055741, -0.0005874599, 0.0016377614, -0.0220933519, 0.0602890514, -0.0053302096, 0.0065681376, 1.991606559e-34, -0.0117834806, 0.0268966388, -0.0141190272, 0.0042262543, -0.0196043439, 0.0023936627, -0.0281871855, -0.013216679, 0.0353794582, -0.0567740425, 0.0021952649 ]
http://arxiv.org/abs/2310.12836v1
http://arxiv.org/pdf/2310.12836v1
Knowledge-Augmented Language Model Verification
2023-10-19T15:40:00
2023-10-19T15:40:00
Jinheon Baek, Soyeong Jeong, Minki Kang, Jong C. Park, Sung Ju Hwang
cs.CL
cs.CL, cs.LG
Recent Language Models (LMs) have shown impressive capabilities in generating texts with the knowledge internalized in parameters. Yet, LMs often generate the factually incorrect responses to the given queries, since their knowledge may be inaccurate, incomplete, and outdated. To address this problem, previous works propose to augment LMs with the knowledge retrieved from an external knowledge source. However, such approaches often show suboptimal text generation performance due to two reasons: 1) the model may fail to retrieve the knowledge relevant to the given query, or 2) the model may not faithfully reflect the retrieved knowledge in the generated text. To overcome these, we propose to verify the output and the knowledge of the knowledge-augmented LMs with a separate verifier, which is a small LM that is trained to detect those two types of errors through instruction-finetuning. Then, when the verifier recognizes an error, we can rectify it by either retrieving new knowledge or generating new text. Further, we use an ensemble of the outputs from different instructions with a single verifier to enhance the reliability of the verification processes. We validate the effectiveness of the proposed verification steps on multiple question answering benchmarks, whose results show that the proposed verifier effectively identifies retrieval and generation errors, allowing LMs to provide more factually correct outputs. Our code is available at https://github.com/JinheonBaek/KALMV.
[ 0.0427492186, 0.0207627267, 0.0206826851, 0.0440012142, -0.0217678025, -0.0041404101, -0.0151899746, 0.009910333, 0.0174260382, -0.0862636119, 0.01121445, -0.0291078296, -0.0047279578, -0.0078286007, 0.0584005676, 0.0062956889, 0.0727331117, -0.0148748625, 0.0030661635, -0.0234320145, 0.0192763489, 0.0250891615, 0.0024487292, 0.0099535044, 0.0038678341, -0.0150775136, -0.0022045127, 0.0013558996, 0.0148429396, 0.0051557152, 0.0568268597, 0.0538411476, -0.0314584635, 0.0291250814, 0.0000020712, -0.0371270664, -0.018210141, 0.00961293, -0.0532994047, 0.0276652854, -0.0183836594, 0.0051254341, -0.0050620981, 0.0468316972, -0.0431136936, -0.0162806585, 0.0147768045, 0.0364122279, 0.0948019102, 0.0869615152, 0.0259655789, 0.0255418271, 0.0318753459, -0.0014557653, 0.0159466919, -0.0205857195, 0.0445655026, 0.0237786975, 0.0137819285, 0.0185757689, 0.0187776536, 0.063023448, 0.0208363757, -0.0082456386, -0.0094326604, 0.0252337158, -0.0214293338, 0.0212913472, -0.0226856135, 0.0445622094, -0.0000634587, -0.0639829412, -0.0179896522, 0.003586496, -0.0239147209, 0.0166481938, -0.0009218823, 0.0298955701, 0.0018216979, -0.0124633936, 0.0050598481, -0.0163696576, 0.0341129936, 0.0433869809, -0.0263347272, 0.0845276639, 0.0210706461, -0.0557763092, -0.0099168066, 0.0042704279, -0.0208484735, -0.089876011, -0.014082171, 0.0552870296, -0.0054769581, 0.0383674726, -0.049361743, -0.0298050866, 0.0546275154, -0.0401867405, 0.0215827506, 0.0191020053, -0.0135376379, 0.0365226269, -0.056063164, 0.0869144723, 0.0198437609, 0.0182759855, -0.0266464818, -0.0058139744, -0.0229140874, -0.0271574892, -0.0199527778, 0.0389478058, -0.0106900102, 0.0146932667, -0.0209408216, 0.0388624072, -0.0213339571, 0.0647118166, -0.0157346632, 0.0019269527, 0.0043760762, -0.0272890683, -0.0749037042, 0.0401783362, -0.0261450429, 0.0113698132, 0.0217288807, -0.0912551805, -0.009686619, 0.0212189145, -0.0075249188, -0.0028603689, 0.0195958596, 0.0111237606, -0.0102721015, -0.0000856994, -0.0257938411, -0.055123318, -0.0330457538, -0.0683068931, -0.0144549794, -0.0890770331, 0.0323918499, -0.0072231581, -0.0230125599, -0.025386693, 0.0227876958, 0.0495339856, -0.0121383332, 0.0656571165, -0.046453815, 0.0136267608, 0.0172172654, 0.0107176891, 0.0202965476, 0.040297661, 0.0413858481, -0.0107837506, 0.0334335454, 0.0129404748, 0.0205464866, 0.0130412467, 0.0459722504, 0.0017513231, -0.0039857472, 0.0390089378, -0.0077729677, -0.0124515155, -0.0389321223, 0.0956992209, -0.0244904701, 0.0003824189, 0.0372645967, -0.0196179561, -0.0041590072, -0.0317616463, 0.0403880514, -0.0203957185, 0.0363048427, 0.0170063861, -0.0437091067, 0.0076479013, -0.0602102764, 0.0345692337, 0.0289351586, 0.0254318863, -0.0218683779, -0.0717008039, -0.0238642599, -0.0145041775, -0.0013129404, 0.0160899106, 0.0477237776, 0.0276808832, -0.044057332, 0.0244534705, 0.0128305694, -0.045414269, 0.0233658869, -0.0644299313, 0.0657868534, 0.0632734969, 0.083374612, 0.0055705295, -0.0531964041, -0.0009001113, -0.005406423, 0.0329334475, 0.0671804473, -0.0080742324, -0.0298878588, -0.0390648358, -0.0117408587, -0.0174102671, 0.0095730992, -0.0241763387, 0.091809839, 0.019238133, 0.042446252, -0.0396459885, -0.0235578697, 0.0312770158, -0.0265534017, -0.0290399697, 0.0043074773, 0.0023119247, 0.0001586158, 0.0017496424, -0.0176024772, 0.0399737656, 0.0273188371, 0.0121136168, -0.0418895148, -0.0097506894, -0.0263531506, -0.0638173148, 0.055736009, -0.014242107, -0.0014312639, 0.0107842963, -0.0318709537, -0.0521655791, -0.0185846966, -0.0330036283, -0.0141101647, -0.085451588, 0.0092022903, 0.0182708874, -0.0078323241, -0.0234595798, 0.0670416281, -0.0028026372, 0.0308220442, -0.0222148839, 0.0022678382, 0.006897734, -0.0409526601, -0.0530469567, -0.012040413, -0.0123817744, 0.0618300289, 0.036574278, 0.0009365904, -0.0522967055, -0.0270047113, -0.0858019367, 0.0213648379, -0.0141999135, 0.0173341911, 0.0232717525, -0.0016880123, 0.0021888223, -0.0007591913, -0.0495098792, -0.0160515048, 0.0815862343, 0.0185185969, 0.0254265666, 0.0162979327, 0.0086637372, -0.0322696194, 0.0066143735, -0.0229772665, 0.0311225392, 0.0003048647, 0.0238378868, -0.0712051913, 0.0105402656, -0.0796638057, 0.0443046987, 0.0084408522, -0.0216874089, 0.0100885453, -0.0225253738, 0.0020529949, 0.0061229942, 0.0333667956, -0.0331362337, 0.0471904948, -0.0149993263, -0.0631734654, 0.0351763554, -0.0172553323, -0.0213356297, 0.0133244097, -0.0182698891, 0.0054931617, 0.0250478722, -0.0032310362, -0.0390950218, -0.0392264761, 0.0390456952, -0.0017359097, -0.0207173843, -0.0217370093, -0.0081584342, 0.0112131191, 0.0252282489, -0.0540111363, -0.0325463638, 0.091317907, -0.0606633462, 0.015044258, -0.026416624, 0.0017178908, 0.0108366748, 0.0125193167, 0.0034941018, 0.0230311379, 0.0252034515, 0.0305664893, -0.0315599814, -0.0225351695, 0.0082091484, -0.0766522884, 0.0628145337, -0.0578734055, 0.0249402653, 0.027109433, -0.0272646863, -0.0860405937, -0.0372299999, -0.0068778982, 0.0114244204, -0.0092721656, -0.0017133765, -0.0215811469, 0.0048542512, 0.0484829172, 0.008598079, -0.0320897251, -0.010866629, -0.019721657, 0.037833821, 0.0626451671, 0.0296585374, 0.0338864997, -0.0489703342, 0.0138486736, 0.0480522886, 0.0294925664, -0.0050274297, -0.0319528133, -0.0346958116, 0.0056208959, -0.0372736342, 0.0079571847, 0.0149124982, 0.0457952954, -0.0673301592, -0.0320718624, 0.1209704578, 0.0230566822, 0.015951667, -0.0252861399, 0.010925645, -0.0117204804, 0.005551334, 0.0725164786, -0.0861107111, -0.0177247003, 0.0046903579, 0.0566960722, -0.0084232595, 0.0013527641, -0.0204905961, -0.1316917837, 0.02297749, 0.0134640252, -0.0395511426, -0.0553918891, -0.0283777677, 0.0001520271, 0.0361475162, 0.0129125481, 0.0489181951, 0.0076868641, 0.0053337142, 0.0240141675, -0.0204264745, -0.0749143958, 0.0271909982, -0.0486426577, 0.0422539115, 0.091166161, -0.0104592219, 0.0173654947, -0.0356638432, -0.0240379721, -0.043071758, 0.0037296624, 0.0076340288, 0.0267877169, -0.0210653711, -0.0101316804, 0.0037551853, -0.0009121736, -0.0297086202, 0.0123593621, 0.0076088221, 0.0649378672, -0.0131968083, -0.0301096756, 0.0024032386, 0.012748302, -0.0002290045, 0.0732939765, 0.0037730064, 0.0283520576, -0.0415335782, -0.0290292986, -0.0172156766, -0.0557940081, -0.0023562843, 0.0617457181, 0.0106805516, 0.0226652697, -0.0762117803, -0.0609906986, 0.0349435583, 0.0367018022, -0.0166735612, -0.0104615334, 0.0078485934, -0.0250978377, -0.0397046953, -0.0136928074, -0.0857780427, 0.0319646075, -0.0250695366, 0.0046063252, 0.0052048797, -0.0165616255, 0.0008443286, 0.0121935187, -0.0718749911, -0.0779626518, -0.0443316847, 0.0777909756, 0.0186351538, 0.046426557, -0.0528622344, -0.0173402205, 0.0442192331, 0.0607996993, -0.0280903317, 0.0425311439, 0.0006039566, -0.042167943, -0.0197311155, 0.0080300225, -0.0625549033, -0.0009184039, -0.00949472, 0.0473990329, -0.0355548672, -0.0615320168, 0.0443390645, 0.057144355, 0.0022973644, -0.0137451561, -0.0124150114, -0.0088735269, 0.0221804157, -0.0056338371, -0.0550213754, -0.0086464509, 0.0117497928, -0.0090074744, -0.0391367301, 0.0199443884, -0.0015123492, 0.0037417074, 0.0384826511, -0.0407546349, -0.0305368192, 0.0200873334, 0.0218583196, 0.0218931045, -0.0222777929, -0.0306286532, 0.0072099315, 0.0014300885, 0.0475184508, -0.0263450295, 0.0150736216, 0.0327892415, -0.009030791, -0.0132440496, -0.0059931283, -0.0567554645, -0.0328794234, -0.0635329634, 0.0098006288, 0.0742836893, 0.0124501474, 0.0431015119, -0.0299039017, -0.0187796634, -0.0582527705, -0.0150217218, 0.0337892026, -0.0304121021, 0.0380325913, 0.0236076005, -0.0018883708, -0.002438511, 0.0724305511, -0.0092815645, 0.0696211904, 0.0151628843, -0.0053117545, -0.054993134, -0.0316749401, -0.0333075188, -0.0074854479, -0.0244280268, 0.0013679947, 0.0024398277, -0.0859804079, 0.0338239223, 0.049335476, 0.021825498, 0.0130535997, 0.0218653791, 0.0611048192, 0.034007553, -0.0148068219, -0.0555324852, 0.0181397926, -0.0381512977, 0.0055151833, 0.0108434549, -6.486228687e-33, -0.062984176, -0.0436155684, 0.0300798789, -0.0367722921, -0.0040716622, 0.0127782477, -0.0508418716, -0.033348687, -0.0152072841, 0.0277110115, -0.0016305601, 0.0122709321, 0.0028838795, 0.011677186, -0.0070876619, -0.0139692165, 0.0402905867, -0.0070234835, -0.0436205454, 0.0038246056, 0.0377986245, 0.0079909284, 0.026940519, -0.0329356268, 0.0451615155, -0.0406044684, -0.0462741964, 0.0338767804, -0.0579477884, 0.0861022845, -0.0144166416, 0.0371796601, 0.0190794021, -0.0330615267, -0.0209104475, -0.0040606689, -0.0852677822, -0.0246426743, 0.0165422745, -0.0081607234, -0.0583526455, -0.0074408241, 0.0545397662, -0.0278893057, 0.0125100836, 0.0096432818, 0.0162333492, -0.0335464887, 0.0026051714, -0.0380489938, -0.0167888384, 0.0362668931, 0.0261430573, -0.0405923128, -0.028028354, 0.0463396423, 0.0202345084, -0.0193661675, -0.049903404, 0.0100724781, 0.0246235244, 0.055724591, 0.0782881305, 0.0070939399, -0.0402400792, 0.0446880236, -0.0310284328, -0.0082387803, -0.0431782305, 0.0152484067, 0.0307796821, 0.0268719327, 0.0609942265, 0.0467477925, -0.0009628489, -0.0048791203, -0.0468320139, 0.0557524264, 0.0023756546, 0.0271050874, 0.023228582, -0.0355146602, -0.039710708, -0.0131332995, -0.0704587325, 0.027862832, -0.0577898584, -0.0156125063, 0.033870168, 0.0441366434, -0.0303336568, -0.012211048, -0.0032946435, -0.0655176565, 0.0034130949, 0.0257436093, -0.0265046488, -0.0147526646, -0.0271031372, 0.0466279723, -0.0338153765, -0.0001238057, 0.0318902731, -0.0070217061, -0.0353388079, 0.0520971268, 0.0150578544, 0.0190424453, -0.0604625866, 0.0290012769, -0.0286173541, 0.0536579303, -0.0014978668, -0.030692935, 0.0223833937, 0.0218365658, 0.0072566974, 0.0334208012, 0.0093595777, -0.0056821834, 0.0027333221, -0.0099451663, 0.0167278964, 0.0266941264, -0.0199295916, 0.0379853174, -0.0414415561, 0.0068462794, -0.0397939309, 0.0062548411, 0.0286402442, 0.0281966105, 2.753e-7, 0.0321532041, 0.0456050187, 0.0568744801, 0.0530574992, -0.0016774155, 0.0298333671, -0.015877448, -0.0221021995, 0.0154696628, -0.0409506708, -0.0059185196, 0.0568669513, 0.0579746142, 0.0545989498, -0.0369436927, -0.0077442825, -0.0468988456, -0.0152986608, -0.0248773899, -0.012281456, 0.0570193529, 0.0534670204, 0.0173104368, 0.0018590965, -0.0323094167, -0.0753611326, 0.0674140304, 0.0241623521, -0.0366274267, 0.0394882001, 0.0852475688, 0.0314106569, 0.0185772739, 0.0558571815, -0.026425343, 0.0033486476, -0.0321136266, 0.0590095334, -0.0004328148, -0.0182164889, -0.0215015747, -0.0125007275, 0.0199453868, -0.0660548136, 0.0787153468, -0.0060108779, 0.0394822918, -0.0413881131, -0.0169814583, -0.0221065059, 0.0081734173, -0.0298927221, -0.0388576612, 0.0093916496, 0.0174112134, 0.0203104243, -0.0087614888, -0.0688124523, -0.0364009105, 0.0037779477, -0.035858728, -0.0606685951, -0.0156158227, -0.0005934793, 0.0044379318, -0.0783777907, 0.0087430179, 2.645784547e-34, 0.0239905398, 0.0014933046, -0.010829865, 0.0175945461, 0.0501873195, 0.0092115151, -0.0378950834, 0.0013525885, -0.007738187, -0.0776012912, -0.0428764783 ]
http://arxiv.org/abs/2310.12823v2
http://arxiv.org/pdf/2310.12823v2
AgentTuning: Enabling Generalized Agent Abilities for LLMs
2023-10-19T15:19:53
2023-10-22T16:19:16
Aohan Zeng, Mingdao Liu, Rui Lu, Bowen Wang, Xiao Liu, Yuxiao Dong, Jie Tang
cs.CL
cs.CL, cs.AI, cs.LG
Open large language models (LLMs) with great performance in various tasks have significantly advanced the development of LLMs. However, they are far inferior to commercial models such as ChatGPT and GPT-4 when acting as agents to tackle complex tasks in the real world. These agent tasks employ LLMs as the central controller responsible for planning, memorization, and tool utilization, necessitating both fine-grained prompting methods and robust LLMs to achieve satisfactory performance. Though many prompting methods have been proposed to complete particular agent tasks, there is lack of research focusing on improving the agent capabilities of LLMs themselves without compromising their general abilities. In this work, we present AgentTuning, a simple and general method to enhance the agent abilities of LLMs while maintaining their general LLM capabilities. We construct AgentInstruct, a lightweight instruction-tuning dataset containing high-quality interaction trajectories. We employ a hybrid instruction-tuning strategy by combining AgentInstruct with open-source instructions from general domains. AgentTuning is used to instruction-tune the Llama 2 series, resulting in AgentLM. Our evaluations show that AgentTuning enables LLMs' agent capabilities without compromising general abilities. The AgentLM-70B is comparable to GPT-3.5-turbo on unseen agent tasks, demonstrating generalized agent capabilities. We open source the AgentInstruct and AgentLM-7B, 13B, and 70B models at https://github.com/THUDM/AgentTuning, serving open and powerful alternatives to commercial LLMs for agent tasks.
[ 0.0191892292, 0.0155165978, -0.0200893562, 0.0381579921, -0.028082341, 0.0170302838, -0.0171110854, -0.0142753003, 0.0212620646, -0.0031291281, -0.0514823347, -0.0078944666, -0.0265031774, 0.0059905346, 0.0030186616, -0.052332297, 0.0579742491, -0.0588170812, -0.0224692542, -0.0098806685, -0.0211148877, -0.0226144642, -0.0226552226, 0.0613901429, 0.0178907178, -0.0118779792, -0.0450597145, 0.0057968274, 0.0145180654, -0.0136271799, -0.0090283891, 0.021667257, 0.0477290004, 0.0246590581, 0.0000022538, -0.0628594458, 0.0155235184, -0.0306885447, -0.035154555, 0.0120057417, 0.0248621684, 0.0187948458, -0.0402514301, 0.0229013506, -0.0483334363, 0.0071499408, 0.0371290594, 0.0164286159, 0.0643842593, 0.0846869275, 0.0227680802, 0.018391734, -0.0001260749, -0.0013267114, 0.0098288255, -0.0540246926, 0.004094074, -0.0251309853, 0.0539891385, 0.0127935242, -0.0030185336, 0.0040510022, 0.0377419367, -0.0160437636, -0.0170096233, 0.0462047271, -0.013805313, -0.0293240342, -0.0230802242, 0.0538644008, 0.0250210669, 0.0112531241, 0.0197509974, 0.0042091683, 0.013871341, 0.0101600392, -0.0401136428, 0.0229373518, -0.0012006259, -0.0054560741, 0.0069141947, -0.0265839081, 0.0086990772, 0.0100417947, -0.0242670141, 0.0820310712, -0.0016262619, -0.0126374187, -0.0126514556, -0.0317550562, 0.008663483, -0.0700380802, -0.0043755006, 0.0771115199, -0.0884132981, 0.0227427837, -0.0413485467, 0.0389667116, 0.007459153, -0.031663999, 0.0540182628, 0.0652749464, -0.0272580702, 0.0370582379, -0.009431567, 0.0731819943, -0.0097434446, 0.0476072095, -0.0210997164, 0.0238666181, -0.072575219, 0.01236114, -0.0446935892, 0.0205194596, -0.06023404, -0.0168088786, -0.0187984407, 0.0874782577, 0.0021812427, 0.0230982415, 0.001480227, -0.0128438435, -0.0282298159, -0.0055262521, -0.0698648989, -0.0206710864, -0.0580820851, -0.0014344907, 0.034566123, -0.068318978, -0.0239110645, 0.0016626891, -0.005183585, -0.0152784474, 0.0041075386, 0.114256382, -0.0068973601, -0.0267756488, -0.0444277227, -0.015555854, 0.0544847175, -0.0768999979, -0.0003537338, -0.0431345589, 0.0297191963, -0.0120788626, -0.0268538073, -0.0309085026, 0.0091314139, 0.0021447637, 0.0023252869, 0.0486227944, 0.0100671891, 0.0230065323, 0.0110569047, 0.0146765355, -0.0465689674, 0.0579252951, 0.0248393789, 0.0435729101, 0.0131805046, 0.0181558058, 0.0399686359, 0.0603795759, -0.0373392403, 0.0141810402, 0.0557776168, 0.0185448788, 0.016696468, 0.0517149754, 0.0229376797, 0.0362414457, -0.0310438294, -0.0105277356, 0.0694075301, 0.0483021736, -0.0166036766, 0.0074532824, 0.0432517007, 0.0308358371, 0.0037900477, -0.0076269256, -0.0813798904, 0.0623715557, -0.0062117749, 0.004161105, -0.0253359992, 0.0402683131, -0.0386805721, -0.0251844265, 0.0170379598, -0.0015106195, 0.0126947155, 0.0020428665, 0.0269442536, -0.015736673, -0.0780216902, 0.0061171153, 0.0182746239, -0.0458965786, -0.0313784033, -0.0892121419, 0.0253426339, 0.0886949673, 0.0437623784, -0.0268860068, -0.0559560768, 0.0009997141, 0.034068007, 0.047856193, 0.0188198593, -0.0239465348, -0.0095712412, -0.0459244549, -0.0281764735, -0.0112670781, -0.0035911398, 0.0677509978, 0.0314669535, -0.0121351518, -0.0191051215, 0.0106223915, -0.0135312276, 0.0313640386, -0.0148424655, -0.0504361056, -0.0232561342, 0.0053012827, 0.0316888019, 0.0155894151, -0.025780797, -0.0106518222, 0.0410362557, -0.0000703509, 0.0060126474, 0.0072961836, -0.0392676555, -0.0035589102, 0.0392165855, 0.0395745002, -0.0109853791, 0.0250442438, -0.0271616504, -0.0481437258, 0.0246100668, -0.0058984761, 0.0568792298, -0.0263542999, 0.0304147154, -0.0086045889, -0.0171800032, -0.0105931042, 0.0421406031, 0.0006495323, -0.0425184667, 0.0782874078, 0.0574901327, -0.0172632225, -0.0511058867, -0.0090686949, 0.0454786718, 0.0212913584, 0.0294389091, -0.0014622051, 0.0298509952, -0.0353743583, -0.0426240154, -0.0676491484, 0.0218709409, -0.0348041095, 0.0202143528, 0.0063735526, 0.0070843678, -0.0276593287, 0.0006005669, -0.0004264293, 0.0411966629, -0.0052897092, 0.0229902603, 0.0092786131, 0.0224941168, -0.078912206, -0.0522778891, 0.023090763, 0.0132229812, -0.0369735137, -0.0134426337, -0.0143563868, -0.0648614839, 0.0485454723, -0.025822375, 0.0453126766, -0.0383513905, -0.0557275973, 0.0458177365, -0.0271863751, 0.014373159, 0.077712819, -0.0409940518, 0.0420158952, 0.0664078146, -0.036756061, -0.074311994, 0.0470743589, -0.0209459607, -0.0426075235, -0.0510025211, 0.0248037316, 0.0078055155, 0.0653765202, -0.0271114483, 0.020730149, -0.0321693532, -0.0140313059, 0.0148272095, -0.0404180065, 0.0140306158, 0.0152440742, -0.0632824898, 0.014711652, -0.0285218135, -0.0609810315, 0.0618248992, -0.0356717519, -0.0416238196, -0.0022797491, -0.0392901339, -0.0375094227, 0.080742687, -0.013043914, -0.0093486086, -0.0022043837, -0.0314578749, -0.0285440292, -0.0067336261, 0.0014660422, -0.0078675896, 0.029655261, -0.0838685781, 0.0102375662, -0.0074901907, -0.0218683034, -0.0294060726, 0.0288929753, -0.0304458011, 0.0256183464, -0.0058374167, -0.0629999116, -0.0305731017, -0.0039640176, 0.0341517776, 0.0391898155, -0.0165416896, -0.0069807312, -0.0651383922, -0.056678772, 0.0204913039, 0.0450183861, -0.0300599989, -0.0362782851, 0.0432736427, 0.0405565649, 0.0384079739, -0.0726361275, -0.0303778909, 0.0026575772, 0.0290382802, -0.0392666049, 0.002533959, 0.0469169579, 0.0588131174, -0.073717773, 0.0040089758, 0.1028097793, 0.0179790054, -0.0419764668, 0.005872983, -0.0272127707, 0.0498575009, 0.0294588897, 0.0422555618, -0.0542153008, -0.0393361151, 0.0177846793, 0.0253044404, -0.0071064746, -0.0343134515, -0.0009425519, -0.0976825356, 0.0450677052, 0.0014110097, -0.0122504057, 0.011267622, -0.0227524228, 0.0208655931, -0.004545067, 0.0276438855, 0.0295276754, 0.0126149571, -0.0208709128, 0.0038470756, -0.0018775018, -0.030411344, 0.034413822, -0.0376533084, 0.0920534655, 0.086279504, 0.0079959417, 0.0159527902, -0.0293740705, 0.0420163199, 0.0255534519, 0.0393702909, -0.0277600307, -0.0080698682, -0.0190367382, -0.0069916584, -0.0080033271, 0.0275785327, -0.0337033607, -0.0089652333, 0.024834251, 0.0838044211, -0.0424070209, 0.0063029346, -0.0176489018, -0.0313569419, 0.0136267869, 0.0471590944, -0.0021772971, -0.017300833, -0.0501345582, -0.0433896706, -0.0703749582, -0.0361978076, -0.0217717215, 0.0044582579, -0.0239965227, -0.0370679013, -0.0403294042, -0.0698603243, 0.0753871873, 0.0223010033, 0.0198353063, -0.0129320119, 0.0088165244, 0.0163884964, -0.0022098254, -0.0016819133, -0.0405791178, 0.0395839401, -0.0548587441, -0.0397377275, 0.0391437821, -0.0332956053, 0.0248763338, 0.0046740044, -0.042405095, -0.0936939418, -0.0045355302, 0.0592156835, 0.0276865363, 0.0516205058, -0.009316681, -0.043819271, 0.0225637592, 0.0147188418, -0.0449951328, 0.0494131297, 0.0113676032, 0.0277230516, 0.0007064868, 0.0466599613, -0.0591761731, 0.0037302242, -0.0005784723, 0.0334206261, -0.0441339016, -0.019526856, 0.0048582088, 0.0007710561, -0.0087614805, 0.0108327176, -0.0074114106, -0.0237700976, 0.0228467882, -0.0153936492, 0.0197357424, -0.0649873689, 0.011014862, -0.0082078315, -0.0112289255, 0.0585941449, -0.0144537194, -0.0103709651, 0.0081513049, 0.0011172054, 0.0332477726, -0.0217057001, 0.0137110138, 0.0420126691, 0.0374467894, -0.0078048743, 0.0189459566, -0.0032001708, 0.0364669599, 0.0209368356, 0.0723225176, 0.0053984234, -0.0023516517, -0.0147848641, 0.029330954, -0.074630186, -0.0773804784, 0.019472139, 0.0637554601, 0.0599928536, 0.0387584753, 0.0307743307, -0.0523576513, 0.0319004878, -0.0168628022, 0.0143591929, 0.0140852919, -0.031999182, 0.0250940956, 0.0373090506, 0.0018517841, -0.0211939402, 0.0550751016, -0.0197097976, 0.0768354088, -0.018061582, 0.0149805173, -0.0402620025, -0.0485097989, 0.0282286722, -0.0014937693, -0.0056902608, -0.0341189802, -0.0417827703, -0.0120392414, -0.0358682275, 0.0525465682, -0.0308357421, -0.0727792904, 0.0504297875, 0.0162510816, 0.0035353219, -0.0289978851, -0.0189609937, -0.0549036749, -0.0248184446, -0.0178997479, -0.0011720054, -6.201574648e-33, -0.0463737585, -0.0084208772, 0.0844927356, 0.0215243101, -0.0378107987, -0.032575313, -0.0472323596, 0.0096139759, -0.0191731043, -0.023042744, -0.0249564014, 0.0082582338, 0.0238541253, -0.0243294556, 0.0239714459, -0.0109534189, 0.0310030039, -0.012185419, -0.0329636671, 0.0205465611, 0.0074216104, 0.0192334931, 0.0271041766, -0.0458246842, 0.0104857134, -0.0186451823, 0.0012404131, 0.0356439091, -0.0092715416, 0.0448815525, -0.0028374589, 0.0167682711, -0.0033422583, -0.0204304717, -0.0257157646, 0.0156682674, -0.0331451185, -0.0394505113, 0.0307278093, 0.0060930639, -0.0342891775, -0.0628727078, -0.006197508, 0.0163202956, -0.041573368, 0.0091243684, 0.0004438263, 0.0019657353, -0.0153938644, 0.0493942611, -0.0595026724, 0.0200806111, 0.0207167286, -0.0525208078, 0.012919981, -0.0074010687, -0.0077517577, -0.0466068909, -0.023140382, 0.0253650434, 0.0122283679, 0.0109025957, 0.063870199, 0.0440534353, 0.0241371766, 0.0519122593, 0.0389521755, 0.0203230083, -0.0291867461, 0.0129173687, -0.0133227939, 0.0880816579, -0.0216818061, 0.0334850103, -0.038868621, -0.0023156076, 0.0037745379, 0.0382383019, 0.0786808282, 0.0439355224, 0.0275851265, 0.0348983444, -0.0394390039, -0.0091004902, -0.0083664022, 0.0378370248, -0.0129208853, -0.0649135262, 0.0528159849, 0.0325211063, 0.0102804173, -0.05472425, 0.0388185941, 0.0020325575, 0.0170463193, -0.0175891556, -0.0414225869, 0.0454713106, -0.0056097903, -0.012626606, -0.0477925129, -0.0598259531, 0.0121057667, -0.0197728928, 0.0320931561, 0.0310111139, -0.0383191295, 0.0623150393, -0.0329356529, -0.0005055325, -0.0645975694, 0.0273909643, 0.0165748075, -0.0208969545, 0.0085924789, -0.0420905873, -0.0075377245, 0.0548337698, -0.0347204134, -0.0625366494, -0.0248849448, -0.0025569932, 0.0010866412, -0.0075094481, -0.0386658162, 0.0061352425, -0.0524680614, 0.0369380414, -0.0033940393, -0.0402402729, -0.0035950541, 0.0031217644, 3.065e-7, -0.0387479328, 0.037638478, 0.0201333705, 0.0639515743, 0.0021849035, 0.0453658253, -0.0429164506, 0.0398660041, 0.0034170232, -0.0304044206, 0.0126833497, 0.064620249, 0.0111051369, 0.0016197741, -0.0860956758, -0.0155137489, 0.00502139, -0.0155799957, -0.0713543296, -0.0368929431, 0.0450308062, 0.0619829185, 0.0048464895, 0.0031080972, 0.0205169488, -0.0474933796, 0.0215305164, -0.0496010445, -0.0208703354, 0.0110533191, -0.0279734526, 0.0233755764, -0.0292096082, -0.0072463173, 0.0192410871, 0.0131514492, -0.0411036201, 0.1026489437, -0.0045474949, -0.0370354541, 0.043062605, -0.0259493105, 0.0009657349, 0.0073212772, 0.044483155, -0.0131873749, 0.0050585796, 0.0237833504, 0.0185117461, -0.0225168858, -0.0413357057, -0.0121295955, 0.007570189, 0.0101987943, -0.0148955174, -0.0204198249, -0.0191924497, -0.0513210632, 0.0159137622, -0.0286570005, -0.0431972817, -0.0994784534, -0.0539888851, 0.0196140036, -0.0184039846, -0.0185792372, -0.01997496, 2.722373514e-34, 0.0150148654, 0.0023500072, 0.0272629745, 0.0756784156, 0.0381527543, 0.0185824391, -0.006984259, 0.0402609371, 0.0494248904, -0.0661817491, -0.0482156463 ]
http://arxiv.org/abs/2310.12821v4
http://arxiv.org/pdf/2310.12821v4
GestureGPT: Toward Zero-shot Interactive Gesture Understanding and Grounding with Large Language Model Agents
2023-10-19T15:17:34
2024-06-21T10:12:41
Xin Zeng, Xiaoyu Wang, Tengxiang Zhang, Chun Yu, Shengdong Zhao, Yiqiang Chen
cs.CL
cs.CL, cs.HC
Current gesture interfaces typically demand users to learn and perform gestures from a predefined set, which leads to a less natural experience. Interfaces supporting user-defined gestures eliminate the learning process, but users still need to demonstrate and associate the gesture to a specific system function themselves. We introduce GestureGPT, a free-form hand gesture understanding framework that does not require users to learn, demonstrate, or associate gestures. Our framework leverages the large language model's (LLM) astute common sense and strong inference ability to understand a spontaneously performed gesture from its natural language descriptions, and automatically maps it to a function provided by the interface. More specifically, our triple-agent framework involves a Gesture Description Agent that automatically segments and formulates natural language descriptions of hand poses and movements based on hand landmark coordinates. The description is deciphered by a Gesture Inference Agent through self-reasoning and querying about the interaction context (e.g., interaction history, gaze data), which a Context Management Agent organizes and provides. Following iterative exchanges, the Gesture Inference Agent discerns user intent, grounding it to an interactive function. We validated our conceptual framework under two real-world scenarios: smart home controlling and online video streaming. The average zero-shot Top-5 grounding accuracies are 83.59% for smart home tasks and 73.44% for video streaming. We also provided an extensive discussion of our framework including model selection rationale, generated description quality, generalizability etc.
[ -0.0257192012, 0.0157996342, 0.0174314361, 0.043467883, -0.0095720282, 0.0529839844, 0.0506507345, 0.005592519, 0.0453613214, -0.1003981158, -0.0215437412, -0.0167625584, 0.0004583318, 0.0127859591, -0.004555088, -0.0204233397, 0.031973049, -0.0338945165, -0.017880423, 0.0311686117, 0.0382699035, 0.0110325953, -0.0354248546, 0.0439832881, -0.0648158342, -0.011412764, -0.0349916592, -0.010676356, 0.0086908424, -0.0209272504, -0.0322940722, 0.029596407, 0.0661564544, 0.0430383496, 0.000002038, -0.0434273519, 0.0315545425, -0.0187394433, -0.0067029223, 0.0056124316, 0.0221339744, -0.0059153736, 0.0115336543, 0.0123389736, -0.0394901484, -0.0208249353, 0.0374397598, 0.0895339474, 0.0423076786, -0.0049157902, -0.0057103736, -0.0232298784, -0.0146282045, 0.0060758381, 0.0514536351, -0.016151743, 0.0197458211, 0.0031276543, 0.0257333089, -0.0072638909, -0.0221760105, -0.0065929904, 0.0062935976, -0.028947996, -0.0113065159, 0.060590148, -0.0368335992, -0.0254663527, -0.0138923191, 0.0331902802, -0.0009615315, 0.0068212552, 0.0468349941, 0.0021567552, 0.0090261716, 0.0024222257, -0.0342294425, 0.0148250721, -0.0313832164, -0.0123084486, -0.0047159865, 0.026737513, 0.0230624173, 0.0191858578, -0.0136090973, 0.0640884638, -0.0018729236, 0.0417043716, -0.038119521, -0.0172963012, 0.0248990767, -0.0490416624, 0.0306719933, 0.0553439744, -0.0341334268, -0.0122622931, -0.0301124565, 0.0085021695, -0.0412367098, -0.0117503684, 0.0198234003, 0.0721112713, 0.0016091859, 0.0580355525, 0.0056173629, 0.0274475012, -0.0426010862, -0.0327272415, -0.0408340618, 0.0168674532, -0.023375459, -0.0275576711, -0.0293215774, -0.0016979583, -0.0620345324, -0.0486312583, 0.0061816256, 0.044402834, -0.0121458462, -0.0085143549, -0.0174941197, 0.0383157097, 0.0066823494, -0.0045182402, -0.0058347788, 0.0412894823, -0.0672444701, 0.0358864665, 0.0088095581, -0.0655288175, -0.0170738362, 0.0308369547, 0.0201925952, 0.0009077205, -0.0170258768, 0.035895858, -0.018982254, -0.0086666932, -0.0072899824, -0.0067116972, 0.0068031517, -0.0482910685, -0.0173907075, -0.0595949739, 0.0137583073, 0.0077295103, -0.0166360717, -0.031009106, -0.0047587063, 0.0115180379, 0.0026785147, 0.0606696047, -0.0520317703, 0.0135174599, 0.0613312423, 0.0249405093, -0.0400961228, 0.0124905491, 0.031611003, 0.0255064797, -0.0114037655, -0.0032235833, 0.0530688874, 0.032745257, -0.0483000465, -0.0318704396, 0.0159333888, 0.0038564743, 0.0183333103, 0.0358476788, 0.0137323979, 0.0011515649, -0.0358477309, 0.0041311532, 0.0516530685, 0.1413662881, -0.0426324531, 0.0063258684, 0.001441122, 0.0038594939, -0.0047310819, -0.0547237881, -0.082267344, 0.0549960323, -0.0055554723, -0.0420449004, -0.0611432567, -0.0156280436, -0.0498284996, -0.0321792401, -0.0120698707, -0.0435991473, 0.0566858985, 0.0035623207, 0.0481610149, -0.0209997799, 0.0040513701, 0.0025642042, 0.0170313418, -0.0546094365, 0.006004151, -0.0535029545, 0.0741187632, 0.09433534, -0.016135823, -0.0187773854, -0.0363701247, -0.021289736, 0.0767176375, -0.0099575501, -0.0324293375, 0.0013594809, 0.028498793, -0.0196354799, -0.05515543, 0.0038426551, 0.0376961045, 0.0528106466, -0.0669051856, -0.0191198755, 0.0366818234, -0.0225028023, 0.0104433345, 0.0198715478, -0.0167499874, -0.0265939329, 0.0077603059, 0.0100650666, 0.0012296839, 0.033389084, 0.0007392063, -0.0198296867, 0.0160123408, -0.0288065337, 0.0120943775, 0.0091082044, -0.0516188145, 0.0076388149, 0.0164657254, -0.018568119, -0.0112571865, 0.0042551165, -0.0101938574, -0.0452897362, 0.0278512407, 0.0312880129, 0.0276130084, -0.0401603617, -0.0219277628, 0.0158833452, -0.0349438339, 0.0308537446, 0.0441474766, 0.0361472815, -0.019384725, 0.0182469636, 0.0085878316, 0.0105437227, -0.0445652045, -0.0023253392, -0.0038323931, -0.0248538628, 0.0191353038, 0.0201610141, 0.0411551706, -0.0313452817, 0.0542497635, -0.1025388837, 0.0000921556, -0.0494529195, 0.008677071, 0.016292097, 0.0408510268, -0.0178472064, -0.0519212, -0.0059138145, 0.0094832378, -0.0084051015, -0.0062730131, 0.0271336883, 0.0084596779, -0.0494896621, -0.0071928664, 0.033966098, -0.0227292348, 0.0208023395, 0.0397569463, 0.0156879257, -0.0341820791, -0.0046012904, -0.002701404, 0.0437644981, -0.0522649623, -0.0157638509, 0.0391743146, -0.020662412, -0.0787303746, 0.0764248893, -0.0285841879, 0.0321851075, 0.0351831764, -0.0384062976, -0.0229141377, 0.0036169381, 0.0206221621, 0.0283674635, -0.0785090104, 0.0588723868, -0.0048243403, 0.0643675551, 0.000408005, 0.0341384523, -0.0470525399, -0.0413879342, -0.0151146753, -0.023960121, -0.0318542942, -0.0019458508, -0.047164727, 0.0311294105, -0.0053253546, -0.0432178043, 0.0328424089, -0.0609938018, -0.0468323566, 0.0536770672, -0.0336373225, -0.0211873464, 0.0818534717, -0.0025584018, 0.0047606626, -0.0052831839, -0.059893474, 0.0047954833, 0.0004645716, 0.0174105335, 0.0131942304, -0.0138004199, -0.0836968496, -0.0033511233, -0.0303487703, -0.0021481721, -0.0003255443, 0.0003897924, -0.0432761721, 0.002538207, -0.0650932714, -0.0115012452, 0.0111031597, 0.0353407785, 0.0184821989, 0.0678913072, 0.001999432, -0.0236133467, -0.0344230346, -0.0554617867, 0.033420939, 0.0265034512, -0.1064570919, 0.0355794057, 0.0137699218, 0.0648103282, 0.0268404149, 0.0166520141, -0.0651560873, 0.0519481041, 0.017393453, -0.0220408496, -0.0413508378, 0.0617419668, 0.0442017466, -0.0419336073, 0.0242925156, 0.12349087, 0.0032451928, -0.0441358313, 0.0102866087, 0.0177204944, -0.0234183017, 0.0284563564, -0.0096161021, -0.0963124856, -0.0690188259, -0.027606355, 0.0146665564, 0.0496515408, -0.0643379465, 0.0129869943, -0.0727760866, 0.0114120562, -0.0021109707, -0.0237855259, -0.03384009, -0.035339389, 0.0535942279, -0.0157284271, -0.0265185684, 0.0127536766, -0.0160444379, -0.0079849456, 0.0010642555, -0.0232784934, -0.0540809706, 0.065255627, -0.0485170819, 0.0210741069, 0.0317356661, 0.0022555327, 0.0215736646, -0.0109233884, -0.0154480813, -0.0081459759, 0.0205951054, -0.0242596082, -0.0157179479, -0.023653945, 0.0165624488, 0.0015786958, 0.1088050231, -0.0841660202, -0.0452264324, 0.0238017533, 0.0729324669, -0.0497448333, 0.0069558425, -0.0058510141, -0.0751338005, 0.0422528051, 0.0692280605, 0.002822933, -0.0225686133, -0.0331107862, -0.0355941765, -0.0529970862, 0.084181428, -0.0198733136, 0.0109544117, 0.0097304797, -0.0817138478, 0.0015225206, -0.0326806642, 0.0867466778, 0.0649864897, 0.0049042567, 0.0336502753, 0.0226938762, 0.0274529848, -0.0139536476, 0.0415610895, 0.0116421105, 0.047769621, 0.0155834341, 0.0305251982, 0.0309763756, -0.0289840475, 0.0087747099, -0.0146086421, -0.0061473926, -0.0336688533, -0.0106020477, 0.0583199933, 0.0256588552, 0.0491658822, -0.0377740823, -0.0099065397, -0.022481665, 0.0420987494, -0.0511090308, 0.0057951068, 0.0123018865, -0.000903069, -0.0107412357, 0.0327936709, -0.0523184761, -0.0024840061, -0.0247820523, 0.0046297098, -0.1218142733, -0.0109683378, 0.0077687381, 0.0091657424, 0.0594121329, -0.006625026, 0.0403627343, -0.0170639884, -0.0131803295, -0.0342168733, -0.010904613, -0.0681574419, 0.0189335234, -0.013711934, -0.0170068555, 0.0502442196, 0.0065416796, -0.0052181608, 0.0057110158, -0.0294783581, 0.041912172, 0.0083726617, 0.0221688915, 0.0250547267, -0.0093605071, -0.0064897682, 0.0178983398, 0.0078709582, 0.0180122163, -0.015286359, 0.0571220927, 0.0285534486, -0.0140976459, -0.0317019373, 0.0513357855, -0.0169361047, -0.0439574085, 0.0230373368, 0.0594919175, 0.0206960719, -0.0152339172, 0.0193250123, -0.0378283001, 0.0218113791, -0.0195806492, 0.0794749409, 0.0078437068, -0.0662007332, 0.023001451, 0.0154374326, -0.0189052299, -0.0432546996, 0.0300821699, -0.0181652401, 0.0262082908, 0.021697687, -0.0500389114, -0.0377875827, -0.0246305186, 0.038738247, -0.0076572024, -0.0269252304, -0.0048426264, -0.0428428948, -0.0215051845, -0.0469880626, 0.0025640987, 0.0073639266, -0.0229067598, 0.0647435337, 0.0420532897, -0.0219424181, -0.0220145509, -0.0034146293, -0.0359509923, -0.0595991947, 0.0067200586, -0.0875331685, -5.592479026e-33, -0.0075959433, -0.0623456351, 0.0276432205, -0.0169646125, -0.0089359172, -0.0179933794, -0.0137649868, 0.017859444, 0.0239575412, -0.0133528113, -0.0161054917, 0.0147758806, 0.0043223561, -0.0054487921, 0.0183569752, -0.0418572389, 0.0204381738, -0.02744947, -0.0409930833, 0.0098960064, 0.0314860269, 0.004471058, 0.0594708212, -0.0635522902, -0.0017232776, -0.0247850101, -0.018502105, 0.0062153162, 0.0017349895, 0.01097578, -0.0262184888, 0.0141399093, 0.0325787552, 0.0051504341, 0.0238116644, 0.0552153662, -0.039506387, -0.0428752452, -0.0069570234, 0.0615418255, -0.0026664697, 0.0130777536, -0.0140806884, 0.0244601108, -0.0724518523, 0.0191576649, 0.0411417708, -0.0164182354, 0.0215343647, -0.000454414, -0.0044513252, 0.0193643067, -0.0058046011, -0.0654825494, -0.006095686, -0.0042853639, -0.0117439404, -0.032337755, -0.0542373322, -0.0018341541, -0.0063215112, 0.0075574405, 0.0995887816, -0.0049032387, 0.0486323014, 0.0403247476, -0.0159706026, -0.0215919595, -0.0331784487, 0.0123839164, 0.0087779313, 0.0726782829, -0.0502179526, 0.0692459717, 0.051245667, -0.0295067113, -0.0163126756, 0.0501793176, 0.0368611217, 0.1121990308, -0.0266053062, 0.0346567072, -0.0161144193, -0.0054611834, -0.016154347, 0.0157652814, -0.0027999706, -0.0261183977, 0.0554196164, 0.0164083317, 0.0011169957, -0.0159693565, 0.0462421738, -0.0026919565, -0.0172541756, 0.0139705483, 0.0001732594, 0.0211849399, 0.0283874944, 0.0058260551, -0.0087175192, -0.0497318171, -0.0083479853, 0.0011617846, 0.0418438613, 0.0190149453, -0.0274927244, 0.0591732711, 0.0114455558, -0.0124336239, -0.0090560447, -0.0186729431, -0.0006703589, 0.0253865011, 0.0423892178, -0.030336868, -0.0174403545, 0.0656262934, -0.0548322536, -0.0308052674, -0.0037510924, -0.0034971591, -0.003031756, -0.0196448788, -0.0477584153, -0.0214816239, -0.0434953645, -0.0148012638, 0.0678035542, -0.0396199413, -0.0044314689, 0.0382872298, 2.872e-7, -0.0183375329, 0.0108890925, -0.0287169069, 0.0286536552, 0.0051326328, 0.0723424032, -0.0002329658, 0.0762807354, -0.0125933755, -0.0063990783, 0.0171259083, 0.0159421004, 0.0240663644, -0.0033981595, -0.0647192225, 0.0272938237, 0.0159728508, 0.0242054183, -0.0540522225, 0.0512670875, 0.0478736237, 0.0426651426, 0.0070587886, 0.0222021267, 0.0762985274, -0.081514731, 0.0223652422, -0.0538385063, 0.0469858088, -0.0301900003, 0.0303649344, 0.0054441295, 0.0003117346, -0.0090852994, 0.019354593, -0.0043330481, -0.0432746261, 0.0564249158, -0.0628212616, 0.0049162232, -0.0277452786, -0.0418603234, 0.0073015317, -0.0537398979, 0.0684381351, -0.05678159, -0.0070852637, 0.0186044052, -0.0193010606, -0.0243205, -0.0451942906, 0.0329733565, 0.0223249998, -0.013242132, 0.0042887572, -0.0506302565, -0.0333906449, -0.0632653832, 0.0094280494, -0.0321422704, -0.0431630276, -0.0267209914, -0.0300642531, -0.0281799007, 0.0366296396, -0.0174558889, -0.0231362171, 2.097295669e-34, -0.0260933321, 0.0111199655, 0.0044279834, 0.0491385423, 0.0325270295, 0.0399598926, 0.027276393, 0.0729485527, 0.071071431, -0.0248284843, -0.0162290111 ]
http://arxiv.org/abs/2310.12818v1
http://arxiv.org/pdf/2310.12818v1
Boosting Inference Efficiency: Unleashing the Power of Parameter-Shared Pre-trained Language Models
2023-10-19T15:13:58
2023-10-19T15:13:58
Weize Chen, Xiaoyue Xu, Xu Han, Yankai Lin, Ruobing Xie, Zhiyuan Liu, Maosong Sun, Jie Zhou
cs.CL
cs.CL, cs.AI, cs.LG
Parameter-shared pre-trained language models (PLMs) have emerged as a successful approach in resource-constrained environments, enabling substantial reductions in model storage and memory costs without significant performance compromise. However, it is important to note that parameter sharing does not alleviate computational burdens associated with inference, thus impeding its practicality in situations characterized by limited stringent latency requirements or computational resources. Building upon neural ordinary differential equations (ODEs), we introduce a straightforward technique to enhance the inference efficiency of parameter-shared PLMs. Additionally, we propose a simple pre-training technique that leads to fully or partially shared models capable of achieving even greater inference acceleration. The experimental results demonstrate the effectiveness of our methods on both autoregressive and autoencoding PLMs, providing novel insights into more efficient utilization of parameter-shared models in resource-constrained settings.
[ 0.0001226126, 0.1288681328, -0.0093207974, 0.0629267022, 0.011186461, 0.0197572429, 0.067737937, -0.0316123553, -0.0302274171, -0.0013977769, -0.0500864908, -0.0438937768, -0.0151734315, 0.0139336977, 0.010535703, -0.0243400242, 0.0407681465, -0.0351383537, -0.0238117669, -0.0424632989, 0.0071813995, -0.0012958829, -0.0003923216, 0.0217186119, 0.0032023366, 0.0068024779, -0.013697925, -0.0092779649, -0.0009581461, 0.02002896, 0.0178512782, 0.0590944402, 0.0399579369, 0.0605566092, 0.0000019917, -0.0074136104, 0.0142389946, -0.0318777189, -0.0634069666, 0.0744506791, 0.035131488, 0.0029040021, 0.0378622934, -0.0019159709, -0.0289504994, -0.0629931018, 0.0631251037, -0.0662186816, 0.0491339639, 0.0626911595, 0.008154057, 0.00526937, 0.013970268, -0.0699022859, -0.0238651279, -0.038506832, 0.0033092338, -0.0109711625, 0.0173316859, -0.0241561979, -0.0201239455, 0.0761454105, 0.0645901039, 0.023957219, -0.0194907188, 0.0602588058, 0.0141060594, -0.0192070566, 0.0049461517, 0.0509827882, -0.0587627813, -0.0488827899, -0.0149500789, -0.0433641374, -0.0403437801, 0.0325665846, -0.0202214103, 0.0065163844, 0.0290794801, 0.0454313271, 0.0334188119, 0.0183418281, 0.0414611027, 0.0299406108, -0.0403332822, 0.0440592878, 0.0185097903, 0.0251443963, -0.0305817388, 0.0171591844, -0.0215351339, -0.033852119, 0.0390166789, 0.0289631188, 0.0468119942, -0.0039273622, -0.0668248832, -0.0774270296, -0.00883001, -0.0491612293, 0.0912699699, 0.0396587774, 0.0094441753, 0.0245460756, -0.0467380024, 0.0335043781, -0.0410615243, -0.005851591, -0.0241427142, -0.0010078928, 0.008917029, -0.0179863442, -0.0636102483, 0.0020936336, 0.0064428914, -0.0257666092, 0.0003607242, 0.03379675, -0.0088027949, -0.0477259345, 0.016390685, 0.0156964976, -0.0107970517, -0.0276610292, 0.0185755864, 0.0276543964, -0.0394465625, 0.0407603532, -0.0054561449, -0.0677930862, -0.0312346462, -0.0033125929, 0.0329170227, -0.0323444121, 0.0131003652, 0.0286021009, 0.0330350697, -0.0108141564, -0.0408062898, -0.0111815827, 0.007191197, -0.0381942727, 0.0090674227, -0.0791381672, 0.0496536382, 0.0139300805, 0.0064381268, -0.0672140494, -0.0015403816, -0.0120986309, -0.0351117253, 0.0545606166, -0.0357450657, 0.0135170342, 0.0268255975, 0.0036316325, 0.0336414091, 0.0837411061, 0.023006266, 0.0146719059, 0.0147404848, -0.006898649, 0.0124523761, 0.0406479761, 0.0774908513, 0.008433274, -0.0023444938, -0.028527502, 0.0090183262, 0.0124206021, 0.0851712301, 0.0151340151, -0.033714097, -0.0504265837, 0.0707423314, 0.0414248779, 0.0124498, 0.0166593641, 0.0613862798, -0.0148883164, 0.0241944306, 0.0069242911, -0.0225274805, 0.0259525105, 0.0332267992, -0.0019586997, 0.0501131453, 0.0397273265, -0.0621053576, -0.0465702936, 0.0154807894, -0.0373720862, 0.0186558794, 0.033632189, 0.0308536291, -0.0198615417, -0.0227854159, 0.0746498555, 0.0341426507, -0.0530467331, 0.024231635, -0.023845192, 0.0169759747, 0.0256933756, 0.0034037952, -0.0126773082, -0.0378513411, 0.0052265902, 0.0454645604, -0.0068859593, 0.0300458428, 0.0337803401, 0.0554624647, -0.0452399254, -0.0210415628, -0.0298792291, 0.0131557602, 0.0649258271, 0.0259755999, 0.0363809317, 0.0531913415, 0.0254764706, -0.0409290716, 0.0027426912, -0.0535756089, -0.0304252189, 0.0158105455, 0.0034669568, 0.014239897, -0.0184022393, -0.0387084372, 0.0391107164, -0.0138371969, -0.0573655739, 0.0037877276, 0.0211657509, -0.084157832, -0.0254647676, 0.004647804, 0.0210505929, 0.0305670779, 0.0354804732, -0.0165992901, -0.0330449715, 0.0539408699, -0.010550864, 0.0507080257, -0.0440547839, -0.0144291408, 0.0100134928, 0.040156465, 0.0171468891, 0.0128404573, -0.0311552063, 0.0011225854, -0.0017133995, 0.0542001203, 0.0212651268, -0.0185584221, -0.0403810702, -0.0361700282, 0.0161097758, 0.0002718134, 0.0198359992, -0.0269916169, 0.0454857759, 0.0108118849, -0.0682212859, -0.0248353034, -0.0629840642, -0.0004741784, 0.0112270825, 0.0350478366, -0.0152565669, -0.0146170184, 0.0085232956, 0.0091603408, -0.0042742034, 0.0273230951, -0.007608335, 0.0190714356, 0.0024266483, -0.0558953732, -0.0480744801, 0.0073388717, 0.0608777292, -0.0231364612, -0.0211063381, -0.0057821907, 0.0128285959, -0.0279546473, 0.0462950431, -0.0040829992, -0.0545991771, -0.0025147884, -0.0533684529, 0.0374111012, 0.0495785289, -0.0210485104, -0.0141156167, 0.0395008661, -0.0230208095, -0.0555749238, 0.0128327999, -0.0308800042, -0.0144370161, 0.0119258082, 0.0015119173, -0.0288534183, 0.091228433, -0.0157767609, -0.0554594137, -0.0482247174, 0.0121899508, -0.0030732842, -0.0231035575, -0.030664688, -0.0083459606, 0.0099469228, 0.0317567289, -0.0219315104, -0.0810584575, 0.0935961008, -0.0486350171, -0.0221998747, 0.0150933694, -0.0223785788, -0.0323886536, 0.0300082564, 0.0415356681, -0.0109296916, -0.0275435243, -0.0031299989, -0.0025922169, 0.0714833587, 0.0304245055, 0.0065758587, 0.0277519505, -0.0367787704, 0.008581561, 0.0101976329, -0.0293580759, -0.0197008513, -0.0490837805, -0.0439560115, 0.010253882, -0.0041609583, -0.0178569369, 0.0313098393, 0.0178738926, -0.0247400962, 0.0733417794, -0.0192465037, 0.0397906005, -0.0087704314, -0.0259030182, 0.041166462, -0.0250941254, -0.008161081, -0.0461569875, 0.022177849, 0.0078285495, 0.0512467809, 0.014463664, -0.0573241152, 0.015154629, 0.0020807264, 0.0210840367, -0.0255867597, 0.007389978, -0.011594221, -0.041578237, -0.03883617, 0.1091827229, -0.0059117838, -0.0569630079, -0.019329017, -0.0057077729, 0.0371743664, -0.0026015525, 0.0165215693, -0.0635355785, -0.0177590828, -0.0168683995, -0.0135119017, 0.0248016678, -0.0167555977, -0.0076486142, -0.0857793838, -0.011294893, 0.0184351411, 0.0218834691, -0.0053077722, -0.0449138656, -0.0333709307, -0.011701744, -0.0185000151, -0.0032152496, 0.0135788517, 0.0080719078, 0.0139468405, -0.0280805398, -0.0140032526, -0.0038419978, -0.0672306195, -0.0006724318, 0.0366432592, -0.0154338861, 0.0058933161, -0.0372392423, 0.0287289992, -0.0400367714, 0.0000333771, -0.0158578679, 0.0020250482, -0.0128201703, -0.0258717407, 0.050038673, 0.0501977764, -0.0300201736, 0.0148843657, -0.0351486355, 0.0741065666, -0.0151943751, -0.0223308373, -0.0169580914, 0.0030739389, 0.0070919353, 0.0665658936, 0.0795090199, -0.0329046845, -0.0290188603, 0.0150148449, -0.0276999157, -0.0291062314, -0.01070402, -0.0173424017, 0.0156668331, -0.0463768691, -0.020323474, -0.0283259898, 0.0259382837, 0.0237387847, -0.0157925729, 0.0251182076, 0.01244119, -0.0351290666, -0.0436764807, 0.0350802466, -0.0082345987, -0.0072142598, -0.035878364, -0.01171871, 0.0308998767, 0.0169507936, -0.0105094286, 0.021225255, -0.1327395439, -0.0950977281, 0.0383264497, 0.0458589159, 0.015781926, 0.0475850813, -0.0084645087, -0.0618469454, 0.0476634093, -0.0081514204, 0.0074755326, 0.0215231199, 0.0433879234, -0.0090328511, 0.0295979083, 0.0360636786, -0.0222599301, 0.0331251062, 0.020198809, -0.0231961589, -0.0397140384, -0.0353295952, -0.0303685181, -0.0289549511, 0.0711615235, 0.015472129, 0.0120753953, -0.0382554457, 0.0278825425, -0.02823277, -0.0005398529, -0.0686846152, 0.003807391, 0.0121879159, 0.012832785, -0.0422832854, 0.0083809132, 0.0649131462, 0.0070738466, -0.0162998904, -0.0137426369, 0.0175312143, 0.0022317818, 0.0354790725, 0.0007724771, -0.010023226, 0.0381170139, 0.000995822, 0.0035704691, -0.0488173924, 0.0282081384, 0.0129282419, 0.0239340905, -0.0352534503, -0.0029739053, -0.0677452907, -0.1069066525, -0.0152363339, -0.0004788463, 0.060744822, -0.041504059, 0.0188376456, -0.0426635444, -0.0038443448, -0.0282588694, 0.0371358767, -0.0166825987, 0.0044150464, 0.0446612835, 0.0061432743, -0.0027129867, -0.0074323555, 0.0884223282, 0.039978236, 0.0460881367, 0.0072068069, 0.014352533, 0.0184081439, -0.0221539009, -0.0108575802, -0.0056529539, -0.0235761013, 0.0231035538, 0.0215921495, -0.0603191741, 0.002997533, 0.0104016457, -0.0290976223, 0.0110998871, 0.0448853076, 0.0433010012, -0.0116288848, 0.0048744036, -0.0061063841, 0.0236096047, 0.0102339117, -0.037535347, -0.0030442094, -6.805312955e-33, -0.0143952798, 0.0298154708, 0.0197789911, -0.0228228569, 0.0045110038, 0.0174636822, -0.0303787496, 0.0044290992, -0.0497793704, -0.0023820461, -0.0018947801, 0.0573220439, 0.0172815751, 0.0275786109, 0.0236850977, -0.0317846723, 0.0255413949, -0.0257111546, 0.0057383794, 0.0183679555, 0.0261720177, 0.0744824186, 0.0536767803, 0.0106392065, -0.02632365, -0.005533726, 0.0334130488, 0.0108735617, 0.0077112904, 0.0089925248, -0.0346059948, 0.0306743123, 0.0011585663, 0.0044055087, -0.0518216901, -0.0088575603, -0.0844539702, -0.0552477874, 0.0068619666, -0.0055781482, -0.0223227777, -0.0213054921, 0.0450649373, 0.0230943225, 0.0145465005, -0.0202847086, 0.0007342255, 0.0063806102, 0.0057835705, -0.0352841206, -0.0411650799, 0.0147268437, 0.0152739454, 0.0122235883, 0.0806294978, 0.0326415859, -0.019182289, 0.0324732736, -0.0519920327, -0.0155050186, 0.0026447903, 0.0566999912, 0.0484716855, 0.0078098257, 0.0357891917, 0.0361336246, 0.0081056235, -0.0208360069, -0.0764576197, 0.0415023006, 0.08781524, 0.0193158705, 0.0472513884, -0.0180158857, 0.0389360227, -0.0078811534, -0.0526637621, -0.0151075358, 0.0179218892, 0.0152004985, 0.0117816683, 0.0129387239, -0.0260578059, -0.0644142404, -0.0509461425, -0.0364297368, -0.0424512438, -0.021531608, 0.0042612888, 0.0150822336, -0.0238617621, -0.0084481835, 0.073498033, -0.0470620021, -0.0138470978, 0.0097554056, 0.0318318233, -0.0155232018, 0.0197040047, 0.0387275368, -0.0687177479, -0.0193428788, -0.0352125578, 0.0029757393, 0.0217399746, -0.0066237529, 0.0030832705, 0.0241296329, -0.0457573161, -0.0335657373, -0.0447900593, 0.0047467933, 0.0644779131, 0.0132520683, 0.0634157658, 0.0177683402, 0.0117330933, 0.0571676567, -0.0001362758, -0.0161602087, -0.0238474123, -0.0398960225, 0.0291380044, 0.0509548746, -0.0266244672, -0.0298905447, -0.0615719557, -0.0239071473, 0.0354080424, -0.0821743309, -0.0200339593, 0.0360491611, 2.612e-7, 0.0591788441, -0.009194877, 0.0395839997, -0.0063084452, 0.0275107119, -0.0126209799, -0.0372039303, 0.0043356665, -0.0027286159, 0.0092115672, 0.032720644, 0.0464992151, 0.0868464857, 0.0215610173, -0.0460308567, -0.0259056538, -0.0988595709, 0.0140403667, -0.0355620943, -0.0689199343, -0.0239180941, 0.1024946645, 0.0237211771, 0.0113359606, 0.0300294142, -0.0390832573, 0.069651641, -0.0324317738, 0.0152972033, 0.0268857423, 0.0203207172, 0.0117646409, -0.0248626992, -0.0200588685, -0.0195415635, 0.0131110195, -0.0209575035, 0.0383188054, 0.0207514465, -0.0255275834, 0.0034919931, -0.0403359085, -0.029285349, -0.0608077049, 0.0769004077, -0.066988118, 0.0223380737, -0.040290419, 0.0178819466, -0.0267665815, 0.0762431398, -0.0298602227, 0.0098049231, 0.0282612406, 0.0186669361, -0.0238267872, -0.0056849462, -0.1047841236, -0.050297603, 0.0174562372, -0.0692347065, 0.0096610375, -0.0570755787, -0.0240880996, 0.0730255023, -0.0293078478, 0.0178240556, 2.233459011e-34, 0.0346595943, -0.019987477, -0.000976138, 0.0471591726, 0.0051203864, -0.0428636074, -0.0034382152, 0.0136847822, 0.0003725734, -0.0844664723, -0.0608343221 ]
http://arxiv.org/abs/2310.12815v3
http://arxiv.org/pdf/2310.12815v3
Formalizing and Benchmarking Prompt Injection Attacks and Defenses
2023-10-19T15:12:09
2024-06-01T21:21:07
Yupei Liu, Yuqi Jia, Runpeng Geng, Jinyuan Jia, Neil Zhenqiang Gong
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
A prompt injection attack aims to inject malicious instruction/data into the input of an LLM-Integrated Application such that it produces results as an attacker desires. Existing works are limited to case studies. As a result, the literature lacks a systematic understanding of prompt injection attacks and their defenses. We aim to bridge the gap in this work. In particular, we propose a framework to formalize prompt injection attacks. Existing attacks are special cases in our framework. Moreover, based on our framework, we design a new attack by combining existing ones. Using our framework, we conduct a systematic evaluation on 5 prompt injection attacks and 10 defenses with 10 LLMs and 7 tasks. Our work provides a common benchmark for quantitatively evaluating future prompt injection attacks and defenses. To facilitate research on this topic, we make our platform public at https://github.com/liu00222/Open-Prompt-Injection.
[ -0.0179787334, 0.0159559958, 0.0201522652, 0.0442530662, -0.0185345709, -0.04535193, 0.0116050057, -0.0243028868, 0.0169389714, -0.018092161, 0.0123692071, 0.0363384411, 0.0231588837, 0.0125566553, 0.0863275826, 0.0278356262, 0.0700271055, -0.0300457329, -0.0559884086, 0.0146408845, -0.0243010428, -0.0533307642, -0.0221294276, -0.0156008303, 0.0045651649, -0.0051437877, -0.0454334654, 0.1100256592, 0.0181548446, -0.0160930213, -0.0135235488, -0.0454623252, -0.0057798191, 0.018148724, 0.0000020237, -0.0307838973, 0.0035370619, 0.0585214011, -0.0804257393, 0.0590055548, -0.0593949556, 0.0154060135, -0.0352866054, 0.0489963405, 0.0493291952, 0.0314402208, 0.0209261384, 0.0245289672, 0.0832990706, 0.0766179562, 0.017481884, 0.0504001155, 0.0597591363, 0.0098504592, 0.0289413184, 0.0186111294, -0.0036613941, -0.0763958469, 0.0201083925, 0.0507426113, 0.0071228235, -0.0619242713, 0.0101575423, -0.0275509655, -0.0409982912, 0.0211051665, 0.031683594, 0.0104811238, -0.0697324723, 0.0017603784, -0.0390804447, 0.0176048558, 0.0202747937, 0.0031199961, 0.0010420262, -0.0128980577, 0.0329235718, 0.0154223489, 0.0074697412, -0.0179895665, 0.0116669182, 0.0047049485, 0.0215316806, -0.0445438586, -0.0106132329, 0.059336476, 0.0666912571, -0.0460970886, 0.0113189099, -0.0778051838, 0.0470417328, -0.0409490541, -0.072016038, 0.0522595681, -0.0115870973, 0.0155497603, -0.0510381982, 0.0069690505, 0.0415111594, 0.0152383577, 0.0277974065, 0.0488938466, -0.0371462889, 0.0035544944, -0.0195191577, 0.0305257048, -0.0209043827, 0.0372620933, 0.077428259, 0.0394246317, 0.022572441, 0.0327738337, 0.0286324974, 0.0403287448, -0.0213898011, 0.0527489074, -0.0043777283, 0.074339591, -0.0299090911, 0.0885703936, -0.0321757831, -0.018020954, 0.0106680878, 0.0571671762, 0.0172981098, -0.0772652701, -0.0044651306, -0.065149121, -0.0246847998, -0.0907015428, -0.0373356976, 0.0105672283, -0.0710136145, -0.0192169379, 0.0135217598, 0.1007614285, 0.041439157, -0.0080920178, -0.0579983331, -0.1076027602, 0.0085190507, -0.0113843828, -0.0081427805, -0.0596928559, -0.0313978828, -0.0515200645, -0.0173428822, -0.0240314025, -0.0143599566, 0.0084962593, -0.0125688091, 0.0461687893, -0.0085933721, -0.0361005738, 0.021207653, 0.0666885674, -0.0215740558, -0.0083361315, -0.021284828, 0.0443397462, 0.0283718072, -0.0301507171, 0.0611287728, -0.0088887336, -0.0066664, 0.0284837, 0.0272110123, 0.0352117755, 0.0544099994, -0.0064607537, -0.0345852114, 0.036074657, 0.0384707823, -0.0124231987, 0.0437948629, 0.0563426688, -0.0380176641, -0.0659385994, 0.0313482545, 0.018860044, 0.0034163087, 0.0094224541, -0.0674183294, -0.0042741229, -0.074802205, -0.0009287439, -0.0131375864, 0.0389359631, 0.002842329, -0.0028260159, 0.0127192428, -0.0334383771, -0.0713981241, -0.0008642399, -0.0092351679, 0.0142820058, 0.012984015, 0.0251396764, 0.007827336, -0.0215640981, -0.0404446013, -0.078712061, -0.0009272023, -0.0015446702, 0.0285728537, -0.0364288948, -0.0352567732, 0.0153516307, -0.013794791, 0.0094907722, -0.0030308058, 0.0453559794, 0.0137873078, 0.0105563337, -0.0098666912, -0.0344453678, 0.0117286835, 0.0451392755, -0.0150744626, -0.0108801769, -0.0026793347, 0.031444367, 0.0305471607, 0.0346295089, 0.0045391931, -0.1306527853, 0.0209302753, 0.0530873537, -0.0179271027, 0.0305280518, 0.00137042, 0.013480043, 0.0747240484, 0.0569539927, -0.0033488732, -0.0266843885, -0.0044215475, 0.0350629203, 0.0142152049, 0.0035247661, -0.0068094726, -0.0145024452, -0.0354677513, -0.0265470352, 0.0257312655, -0.0150209842, -0.0077350778, 0.017151719, 0.0111579532, 0.0164124761, 0.0062631587, -0.0440382287, -0.0148654785, 0.028673267, 0.0099507822, 0.0435170569, 0.0494714528, -0.0308251474, -0.0309287235, -0.0701262206, -0.0016793357, -0.039300736, -0.0190451443, -0.0489903279, -0.0027521888, 0.0066460907, -0.0154081918, -0.0197462309, 0.0456294529, 0.0037798812, 0.0439776294, 0.0178154111, 0.042688515, -0.0185184684, -0.0300379898, 0.0083131082, -0.0328061134, -0.0132186059, -0.0201761164, 0.0361725017, -0.011570422, -0.0305215977, 0.0245396998, 0.0084041245, -0.0189442467, 0.0583841726, -0.0487061515, -0.015980171, -0.0413281284, 0.0319827572, -0.0040909131, -0.0152570438, -0.0255469196, -0.0035200212, 0.0295726731, 0.0157877859, -0.0139498031, 0.0525366776, -0.0028708579, 0.0348696932, 0.0446054302, -0.0026447664, -0.0360083878, -0.0178281274, 0.0510607734, -0.0137954587, -0.0367088541, -0.0008181869, 0.0692284852, 0.0457216315, 0.0299177002, -0.0117281172, 0.0147736836, 0.0156023623, 0.0482712463, -0.002836426, -0.0116217751, -0.033623632, -0.0537236035, 0.018793406, 0.0014734433, -0.0935289189, 0.0512963049, -0.1002363116, 0.0051243934, 0.0340661556, -0.0503928736, -0.0145505965, -0.0039856886, -0.0336794518, -0.0445377119, 0.0288433209, -0.0491986908, -0.0239885338, -0.0167542621, 0.034465082, -0.0212696176, 0.0478509627, -0.0338575654, -0.0931209996, -0.0498964563, -0.0059213899, -0.0485253558, -0.0436342247, 0.0215894878, -0.0273710452, -0.0167852491, -0.0100035304, 0.046915438, -0.065893583, 0.0067489292, -0.0100962473, 0.0022929178, -0.0250669252, -0.0316944048, -0.0430637412, -0.0178781915, -0.0567476414, -0.0332063474, 0.0473804772, 0.0602705441, 0.0511652566, 0.0321120881, -0.005758448, -0.0297463406, -0.0161007829, -0.0112723839, -0.0481829271, 0.0310450327, 0.0699008182, 0.0306099821, -0.0169537086, -0.012485397, 0.023963429, 0.0219832715, -0.0070396508, 0.0062244725, -0.0096515836, -0.0103888419, 0.0274908859, 0.0393173359, -0.0870324969, -0.0010150806, 0.029309893, 0.0719260648, -0.0254714433, 0.0163617358, -0.0246961806, -0.0820095092, 0.0132728117, -0.0042527034, 0.0437730476, -0.0053836955, -0.0350037627, 0.0248966068, 0.0768512115, 0.0381750204, -0.0125499107, 0.0157319903, -0.0018367297, 0.0129212756, -0.0144725088, 0.0175682213, 0.0030470653, -0.0319636837, 0.045014184, 0.0056226216, -0.0209464114, -0.0011904686, 0.0150883161, 0.0732167065, -0.0385136567, -0.0135107338, 0.0074096406, 0.0092002284, 0.0296562631, -0.0114696138, 0.0220733266, 0.0260005761, -0.032951843, -0.0078953169, 0.0666835159, 0.0240823869, -0.0341635495, 0.0281570256, -0.01553897, -0.0499228202, 0.0408764184, 0.0232964754, 0.0089881336, 0.0083970912, -0.0029413463, -0.0648647919, -0.0143953674, -0.011475184, -0.0419100598, 0.0101744905, -0.0016107449, -0.030281743, -0.0055142879, 0.0223798025, -0.0374809839, 0.0218307637, 0.070139572, -0.0348616019, -0.0363366343, 0.0004470472, -0.0341687426, -0.0111762052, -0.0186903253, 0.0473004505, -0.0500559658, 0.0724112988, -0.0142066767, -0.004827234, -0.0145140709, 0.0003162946, -0.0485936105, -0.0639560521, -0.0055321716, 0.0796554089, 0.0155736106, -0.0066972831, -0.0295925271, 0.0186819062, 0.0747467428, 0.0093440581, -0.017889902, 0.0088447426, 0.0536508411, 0.0048533245, 0.0241395831, -0.0629505962, -0.0182772055, -0.0417575613, 0.0869860798, -0.058914084, -0.0144492639, -0.0560825169, -0.0211729761, 0.0533421002, 0.0618474185, -0.0036917028, 0.0262309872, 0.0516068265, 0.0577447191, -0.0246799868, -0.0094880471, 0.0110946782, -0.0058311662, -0.0578755923, -0.0053711631, 0.0469707586, -0.0212151464, 0.0246325266, 0.0353705138, 0.004493203, 0.0438694768, 0.0252068825, 0.0295888148, 0.0153152077, 0.0238362346, -0.0020792019, 0.0472131185, 0.0304152947, 0.037483383, -0.0143866949, 0.0158010721, -0.0104622226, 0.0313005596, -0.009323338, 0.0203443822, -0.0524461605, -0.0252251066, 0.0834429488, 0.0371641107, -0.0244120378, 0.0459255539, -0.0385135338, 0.0270932987, 0.0232632961, -0.0310668834, -0.01050294, -0.0407878421, -0.0017263641, 0.0194641203, -0.0182391871, 0.0158631038, -0.0117968963, 0.0066980831, -0.0427824371, 0.0175995808, 0.0151188262, -0.0265241936, -0.0589617044, 0.0025150306, 0.0407691263, 0.0004156149, -0.0241747033, -0.0908861756, -0.0425795019, -0.0399655141, -0.0008675071, -0.0108714048, 0.0298291333, 0.025419319, -0.0076822327, -0.0069536637, 0.0514333844, 0.0449626707, -0.0604226403, 0.0555448271, 0.0004913619, -0.0916320831, 0.0512544811, -4.97162993e-33, -0.0004717986, -0.0367072262, -0.0346715637, 0.0388193876, 0.020149976, 0.013387193, -0.0158811025, 0.0002351425, 0.0223220233, -0.0446698107, -0.001790577, -0.010759281, 0.0296946988, -0.0008774516, -0.0387891755, -0.0235589426, -0.0501128323, -0.0060407608, -0.0309256557, 0.004135997, 0.043301858, -0.009644133, -0.0060849763, -0.0072492454, 0.0648554042, -0.0289074443, 0.0159122664, -0.0159832034, -0.023198314, 0.0494438447, 0.0288586747, -0.0009253161, -0.0042873197, -0.0152362604, 0.0088974508, 0.0971939117, -0.0248160064, -0.0489806868, -0.0262258239, -0.0259219892, -0.0191551093, -0.0814182013, -0.0152721703, -0.031709753, 0.0193937514, 0.0019262437, -0.0027020872, 0.0225856155, 0.0005808054, -0.0605885237, -0.0103410091, -0.0130808689, -0.0200279374, 0.0063894582, -0.009172109, -0.0330705345, 0.0403840579, -0.0152603807, 0.0047424231, 0.0176737215, -0.0207944363, 0.0076761264, 0.0055254214, 0.0131859398, -0.0125479465, -0.0121700419, -0.0086673023, -0.0194125772, -0.0024368658, 0.0359544307, -0.0156691168, 0.0130758509, 0.0260264203, 0.0103784315, 0.0301054716, -0.0178865194, -0.0038289286, 0.0335308202, 0.0670461282, 0.0043957476, -0.0086381976, -0.0336366072, -0.0704705566, 0.0065818611, -0.0016590485, 0.0197981428, -0.0218530763, -0.0030548989, 0.0143401753, -0.0054290025, 0.0126153734, -0.0375214107, 0.0024050246, -0.0285526216, 0.0588518158, -0.0500473939, 0.0332699753, -0.0569299087, -0.0256605782, -0.0347524546, 0.0615701266, -0.0078482889, 0.0060231588, -0.062160138, 0.0496349707, -0.0262359325, -0.0080687869, 0.0359657966, -0.0766118467, -0.008786777, -0.0408665799, 0.0234910771, -0.0045606876, 0.0459127501, 0.0210422687, -0.0189162083, 0.0023043405, -0.0157719273, -0.0049488777, -0.0296141244, -0.0349265598, 0.0247867815, -0.0050586034, 0.0260568056, -0.0092277704, 0.0365409963, 0.0280581824, 0.0508054718, 0.0017928585, -0.0083372174, 0.0048476285, -0.0128969224, 2.889e-7, -0.0119463075, -0.0151457461, 0.0611993112, 0.0833389387, 0.0100953039, 0.0433452688, -0.0258725751, 0.075057134, -0.0202514566, -0.0631029233, -0.0406625159, -0.0414139926, 0.038126085, -0.028115835, -0.0635944381, -0.0188773479, -0.0045837951, 0.0085094981, -0.0383214653, -0.0135770962, 0.050928019, 0.0113677224, -0.0164935812, -0.0416369289, 0.0075740991, -0.0220896844, -0.0156281199, -0.006158134, -0.006325365, -0.0089579411, 0.0497387312, -0.0005233712, 0.039284762, 0.0572660118, -0.0605397746, -0.0177024957, -0.0573645271, 0.0515015051, 0.0544729531, -0.0441403501, -0.0412452109, -0.0509914644, 0.0010819223, 0.015491074, 0.0427288041, 0.0687200874, -0.0097231492, -0.007581736, -0.0414582305, -0.0475679003, 0.0144479983, -0.0234266259, 0.0127814235, -0.0002287577, 0.0146051245, -0.0113663971, 0.0254560392, -0.0432844907, -0.0576210842, -0.0165388379, -0.0151637336, -0.0621628091, 0.0282937512, 0.0374536477, 0.0332505442, -0.0086569246, -0.0324008651, 3.002245633e-34, -0.0569102354, -0.0426273867, 0.0372975878, 0.0005906216, -0.0135908742, 0.0053131036, -0.0379745662, 0.0045877849, 0.0428054519, 0.009260131, -0.030126676 ]
http://arxiv.org/abs/2310.12808v1
http://arxiv.org/pdf/2310.12808v1
Model Merging by Uncertainty-Based Gradient Matching
2023-10-19T15:02:45
2023-10-19T15:02:45
Nico Daheim, Thomas Möllenhoff, Edoardo Maria Ponti, Iryna Gurevych, Mohammad Emtiyaz Khan
cs.LG
cs.LG, cs.AI, cs.CL
Models trained on different datasets can be merged by a weighted-averaging of their parameters, but why does it work and when can it fail? Here, we connect the inaccuracy of weighted-averaging to mismatches in the gradients and propose a new uncertainty-based scheme to improve the performance by reducing the mismatch. The connection also reveals implicit assumptions in other schemes such as averaging, task arithmetic, and Fisher-weighted averaging. Our new method gives consistent improvements for large language models and vision transformers, both in terms of performance and robustness to hyperparameters.
[ -0.0159106161, 0.1201402321, 0.0283382908, 0.0483132601, 0.0017254262, 0.0360601768, -0.0059797894, -0.0289937314, -0.0593369268, -0.024301568, -0.0382042192, -0.0658179149, 0.0941434503, -0.0138190528, 0.0452077091, -0.0683242008, 0.0220422428, -0.0150422351, -0.0471667573, -0.0179931801, -0.005666337, 0.006197344, 0.0156866759, 0.0286070742, 0.0129040517, 0.0295485407, 0.0245223809, 0.0208315905, 0.069582589, 0.0484534912, 0.0284705758, 0.0154323326, 0.0013114916, 0.0721170753, 0.0000016135, -0.0173520334, 0.017842805, 0.021782998, -0.0169731434, -0.0144288521, 0.02544735, 0.0092183752, -0.0363977067, 0.0189654138, -0.0128377872, -0.019627342, 0.0560317338, 0.0526047349, 0.0439472198, 0.0219367333, -0.0162607525, -0.0623660535, 0.0638828129, -0.033147838, -0.0146625768, -0.044280719, 0.0483500287, -0.0053240578, -0.0213129204, -0.0350277238, 0.0075065973, 0.0160097182, -0.0057850941, 0.0092997327, -0.0075256312, 0.0294773187, 0.0011997133, -0.0268565901, -0.0136508048, 0.0472597182, -0.0839155093, 0.0146043142, 0.0057579926, -0.0036701886, -0.0191124454, -0.010893181, -0.016135579, -0.0107454285, 0.0082393112, 0.0388334841, -0.0303625371, -0.0271353386, 0.043664135, 0.0084589934, -0.0568234362, 0.0146394596, 0.0268779993, 0.0131434416, -0.0353218764, -0.003546891, -0.0326835029, -0.0630639195, -0.0434814207, 0.0369376168, -0.0457973219, -0.0204112995, -0.1222796887, -0.0483388789, -0.0107568651, 0.0109874839, 0.0526002795, 0.0463340506, -0.0276430324, 0.0536855496, -0.0409036912, 0.0969001651, -0.0565306917, 0.0246882085, -0.0854613259, -0.0210027099, -0.0251028519, 0.0258125849, 0.0259334464, 0.0033594063, -0.0034767187, -0.0250837598, -0.0434335731, 0.019540282, -0.0269583762, 0.0153507851, 0.0088829547, -0.0192671213, -0.0291948766, -0.0225690398, -0.0069397404, 0.0171352383, 0.0513898022, 0.0485811196, 0.0160890352, -0.0321445502, 0.003122889, -0.0004159042, 0.0029620901, -0.0165356491, -0.004682173, 0.0750041455, -0.0537534542, 0.0072803269, 0.0000241331, 0.0241839457, 0.0248948149, -0.0653546154, -0.0190003496, -0.0369173139, 0.057598386, -0.0304301903, 0.0188114326, -0.0495209508, 0.0002611372, -0.0029319897, -0.0330554619, 0.1078622043, 0.001301937, 0.0004826331, 0.0313240364, -0.0254658312, -0.0522191301, 0.0429132544, 0.0112560159, 0.0011746943, -0.0339658819, 0.0215883739, 0.0084909191, 0.0161079355, -0.0034997135, 0.0098587964, -0.0128678847, -0.0355538651, 0.0398507901, -0.0183206927, 0.0499218442, 0.0872647464, -0.0377138257, -0.0235785358, 0.0682732835, 0.0214821696, 0.0055469335, -0.0089658899, -0.0032750703, -0.0323842764, 0.0255467016, 0.0269281976, -0.0731186271, -0.0002625026, -0.041758582, 0.0293183587, 0.0249513946, 0.1037460566, -0.0583140552, -0.0329516605, -0.0454552099, -0.0285360198, -0.011064373, 0.0096025849, 0.0550352857, -0.0412749983, -0.0499333926, -0.0135821616, 0.006710642, -0.039252799, 0.0030956313, -0.0773121417, -0.0180607364, 0.0021323378, -0.0034553932, -0.0080217607, -0.0297487229, -0.0114868423, 0.0088892141, -0.0157399178, 0.0204609446, 0.0078994101, 0.0329144225, -0.0692718178, -0.0869867429, 0.0605969429, -0.0011266484, 0.0302148927, -0.0056910096, -0.0230284519, 0.0413988382, -0.0076685604, -0.0175165907, 0.0478444882, -0.0001487611, 0.0151685271, -0.0071443897, -0.0293042529, 0.0380308181, -0.0218697693, -0.003057749, 0.0135185532, -0.0048204898, -0.0072509819, -0.0562282912, 0.024301555, -0.0006721155, 0.0025850132, 0.0419647582, -0.0103270337, -0.0223047379, 0.0573157221, -0.0656552985, -0.0726957247, -0.0239361469, -0.0035356183, 0.0176684055, -0.0142452698, 0.0826603547, -0.0063498244, 0.0205006823, -0.0243818052, 0.0606226027, -0.0285851043, -0.0107838986, -0.0030386692, -0.0149799939, -0.0036508802, -0.0380397774, -0.052368857, 0.0014595061, -0.0126964217, 0.0419030488, 0.0062627969, -0.0434116349, 0.0096583236, -0.022749465, -0.0274985228, 0.0224209893, -0.0150069334, 0.0277203172, 0.006193765, 0.0167999379, 0.0194190517, 0.0156344548, 0.0134734735, 0.0156954341, -0.0087737739, 0.0025091143, 0.0246849842, 0.0073515638, -0.0064186924, -0.049089998, -0.0273549743, -0.0070827524, 0.0486920886, -0.0327414498, -0.0200560596, -0.0754003748, 0.0427045561, -0.0244578142, 0.0404460616, -0.0437548049, -0.0370910689, -0.0136889229, -0.0236229934, 0.0491736829, 0.0738603622, 0.0114040412, -0.0326951295, 0.06160767, 0.0161131881, -0.0008550427, -0.0047808005, 0.0058070635, -0.0423070081, -0.0077378396, -0.0275898352, -0.0341201127, 0.0415392444, -0.0348703191, -0.0294603184, -0.0507222153, 0.0067225085, -0.0209473167, 0.0212252997, -0.0256879944, -0.0159448665, -0.0075671216, 0.013321979, -0.0478370525, -0.03643113, 0.0631627515, -0.0421260074, 0.0059956065, -0.0083748484, -0.0150100254, 0.006947835, -0.0189971793, 0.0199304465, 0.0030638173, 0.0095502501, 0.02181492, -0.085881874, -0.0352354012, 0.0716308951, -0.0227021389, 0.04546009, -0.0349700674, 0.05644596, -0.0355751701, -0.0364617184, -0.0528131351, -0.0155125018, -0.0275470242, -0.0039569992, 0.0267006401, -0.0618587695, -0.0685510114, 0.0221002661, -0.0088760601, 0.053247638, -0.0140372356, -0.0206302684, -0.0247155391, 0.0350097045, 0.020235572, 0.0177481771, 0.0427994058, -0.02840041, 0.0083738388, 0.0143314591, 0.096484229, 0.0379884169, -0.0861401632, -0.0165710561, 0.0428037569, 0.0293884575, -0.0191636756, 0.0067796074, 0.0254706517, 0.0064511676, 0.0401249491, 0.0761681497, -0.0086404895, -0.032456547, -0.0572066829, 0.0134984516, 0.0535989888, 0.0253281295, -0.0008756145, -0.0151396114, -0.027178796, 0.0443051532, 0.0021065995, 0.0273694079, 0.0174983554, -0.021473445, -0.0816342607, -0.0025000668, 0.0425235145, -0.0083026607, -0.0365509689, -0.0065696971, 0.0426896624, -0.044230815, 0.0595251881, -0.0092238719, -0.027900286, -0.016086407, 0.0103673041, 0.0043947301, -0.0764544383, -0.0319628455, -0.0455509163, 0.0507448055, 0.0582265593, 0.0101824328, 0.0221658386, -0.0230673812, 0.0674622133, -0.0205912087, -0.0469651893, 0.0379874744, 0.0281344503, 0.0240500625, -0.0217245538, 0.0191168077, 0.0338753238, -0.0247699954, -0.0116396053, -0.0686769038, 0.008997431, -0.0021323089, 0.0202895477, -0.0012176527, -0.037366543, 0.0053160456, 0.0476425253, -0.0327828303, -0.0130631942, 0.0163984969, 0.034485206, -0.0008217494, 0.0424441174, -0.0078414725, 0.0452127866, -0.0379436202, -0.0354617015, -0.0423084721, 0.0046171113, -0.0199481621, 0.0385560542, -0.0152800754, -0.0333740078, 0.0331788734, -0.0046328194, -0.0598740876, 0.0519160144, 0.0119519131, 0.048671551, -0.0583025105, 0.0142712845, 0.0353563689, -0.0055013113, -0.0325128324, 0.0009048707, -0.131610319, -0.098455213, 0.0046731955, 0.01371329, 0.0191635583, 0.027053006, -0.0148468306, -0.0499445163, 0.0230949763, 0.0203538202, 0.0382898115, 0.040337611, 0.0336538553, -0.0585068241, -0.0096066417, 0.0244409591, -0.0900885984, 0.0168742035, -0.0040371665, -0.0299654622, -0.0474759489, -0.0125426585, -0.0010711934, 0.0014985964, 0.0427684188, -0.0439345501, 0.0018945262, -0.0152797308, 0.0231526941, 0.0187017005, -0.0020580874, -0.0337948166, -0.0151358619, 0.0358005054, 0.0227061491, 0.0120536098, 0.0588630699, 0.0678192154, 0.0128790988, -0.0358700417, -0.0528436415, -0.043441698, -0.0015191195, 0.0284837261, 0.0122945011, 0.0194296036, 0.047490526, 0.0075360942, 0.0071851336, 0.0003800754, -0.0004755639, 0.0320376866, 0.0333775468, -0.020270681, 0.0462827384, -0.1083687842, -0.1272579283, -0.0381196812, -0.0054621566, 0.0735171288, 0.0085049169, 0.0636992157, -0.0002207574, -0.0207978394, -0.0375178643, 0.0064465422, -0.0059329201, 0.0396695584, 0.0965812355, 0.0146728177, 0.0289575495, 0.0022881925, 0.0491691642, -0.0139399022, 0.0194329824, -0.0291362368, 0.0251759086, -0.0041705803, -0.0284670573, 0.0054161269, -0.017869629, -0.0255176146, -0.0450716987, 0.0402123593, -0.0770303831, 0.0243334975, 0.023087088, -0.0079366695, 0.0276321415, 0.0139368279, 0.0160226598, -0.0093992976, 0.009715463, 0.0074852263, -0.0543095171, 0.0099696461, -0.0025792539, 0.0321244597, -5.652356137e-33, -0.0191075187, 0.0118693942, -0.0267548226, -0.0456856377, -0.0026698415, 0.0173827875, 0.0429538079, -0.0052607958, -0.0350163206, -0.0031962637, -0.0128466729, 0.0471465737, 0.0315135643, 0.0378881395, -0.0417806916, -0.0219478104, 0.0580901951, 0.0183231644, 0.0078286836, -0.0238972604, -0.00859953, 0.0019421728, 0.0060464856, -0.0421480499, -0.0144131659, 0.0119590946, -0.0363753699, 0.0280313883, 0.023943238, 0.051869791, -0.026935922, 0.010872676, -0.0129088741, 0.0250019245, -0.0600412712, -0.0333822481, -0.0473507717, 0.0128502874, -0.0083067399, 0.0428241938, -0.0270978659, 0.0004014172, 0.06507577, -0.0044858977, -0.0185046457, -0.052463457, 0.039641086, -0.0223251134, 0.0094351592, -0.0208939277, -0.0342739224, 0.0033317548, 0.0312805735, -0.0442696176, 0.0686606914, -0.0128640449, 0.0215534642, 0.0003154163, -0.0404157527, -0.014260605, -0.0124222767, 0.0503349863, 0.0741899163, 0.0786846727, -0.0147121539, 0.0402411073, 0.0020923824, -0.0325533152, -0.0121412035, -0.0286702905, 0.018752899, 0.0267326869, 0.0464232601, 0.0474515408, 0.0240077656, 0.0021614269, -0.0332345665, 0.0710067898, -0.0058266204, 0.0180064812, -0.0136150178, 0.0775568336, 0.021400528, -0.0023750502, -0.0503830537, -0.0094187586, -0.0460968576, 0.0529796146, 0.0040978678, 0.0103691723, -0.0023477762, -0.0036732249, 0.0193664134, -0.0421457663, -0.021573469, 0.0233853683, -0.0085675297, 0.0159839541, 0.0007647707, 0.0429971814, -0.0020394886, -0.0577898696, 0.0324426703, 0.0657058582, 0.0024765444, 0.0176781416, -0.0077300007, 0.0277894661, -0.053264007, -0.0044542882, -0.0179419424, 0.0040835491, 0.0133705633, 0.04629758, 0.0829809085, -0.0015879498, 0.0201085079, 0.0201862752, -0.0258930288, 0.014944654, -0.040116407, 0.0550512932, 0.0022462404, 0.0299401656, 0.0135851502, 0.0009014592, -0.0170198791, -0.0071706567, 0.0476813242, -0.0261963252, -0.0459427796, 0.0187389329, 2.369e-7, -0.0003803988, -0.0412674434, 0.0062003853, 0.0113272788, -0.0219316967, 0.0480532907, -0.0314650349, 0.0052673449, -0.006804158, -0.0069397776, -0.000747583, 0.0259429999, 0.0497633219, 0.00296956, -0.0172995683, -0.0359988101, -0.0192078762, 0.0075940713, -0.0085144136, -0.0247237552, 0.0390582904, 0.0901645795, 0.0150751304, -0.0116323037, 0.0254018418, 0.0222363193, 0.0652574599, -0.0236459579, 0.0181911029, 0.0368558839, 0.0266176388, -0.0040871752, -0.0283154268, 0.0585606471, 0.0046559842, 0.0057567856, 0.0263929274, 0.0211457629, -0.0502736866, -0.0042945519, -0.0654817894, 0.0323588066, -0.0106776915, -0.0308204703, 0.0491736531, -0.0523854084, -0.0040942174, -0.0915361196, -0.0188587625, -0.0015442106, 0.0507552661, 0.0225150529, -0.0043146587, 0.0502781756, 0.0153858373, 0.0141445082, -0.0227497928, -0.0761323273, 0.0109342895, 0.0355629735, -0.0714670494, -0.0308802482, -0.0204178654, -0.0087753301, 0.0709202066, -0.0465872288, -0.0231885854, 1.821280297e-34, 0.0091550667, -0.0022093933, 0.01802825, 0.0072095119, -0.0251179859, -0.002590853, -0.0167558677, 0.015609446, -0.0201598406, -0.0453473516, 0.0079653347 ]
http://arxiv.org/abs/2310.12803v2
http://arxiv.org/pdf/2310.12803v2
Data Augmentations for Improved (Large) Language Model Generalization
2023-10-19T14:59:25
2024-01-09T17:46:22
Amir Feder, Yoav Wald, Claudia Shi, Suchi Saria, David Blei
cs.LG
cs.LG, cs.CL
The reliance of text classifiers on spurious correlations can lead to poor generalization at deployment, raising concerns about their use in safety-critical domains such as healthcare. In this work, we propose to use counterfactual data augmentation, guided by knowledge of the causal structure of the data, to simulate interventions on spurious features and to learn more robust text classifiers. We show that this strategy is appropriate in prediction problems where the label is spuriously correlated with an attribute. Under the assumptions of such problems, we discuss the favorable sample complexity of counterfactual data augmentation, compared to importance re-weighting. Pragmatically, we match examples using auxiliary data, based on diff-in-diff methodology, and use a large language model (LLM) to represent a conditional probability of text. Through extensive experimentation on learning caregiver-invariant predictors of clinical diagnoses from medical narratives and on semi-synthetic data, we demonstrate that our method for simulating interventions improves out-of-distribution (OOD) accuracy compared to baseline invariant learning algorithms.
[ 0.03602314, 0.1041429788, -0.01091717, -0.0117014069, -0.0304339882, 0.0323176607, -0.0148194889, 0.0309799742, 0.0259192437, -0.0461902022, 0.0389517583, -0.0453138612, -0.0105333617, 0.0350092351, 0.0101924501, -0.0163367577, 0.0260644201, -0.0001354393, 0.0176829528, -0.0270624701, -0.0212280322, -0.0037063134, 0.0066728382, 0.006120441, -0.010814541, 0.0237175655, 0.0238596722, 0.0046307156, 0.0309071671, -0.0180354044, 0.0187735185, 0.0322285704, 0.0172535218, 0.0146570001, 0.0000021416, -0.0338478982, -0.0242605209, 0.0276317392, -0.0123295877, -0.0308519583, 0.0248129573, -0.0649467781, 0.0133130802, 0.0179066658, -0.0036026561, -0.0248158444, 0.0416635759, 0.0490524955, -0.008070752, 0.090204455, -0.0263656881, 0.0110922502, 0.0105281444, -0.0136777917, 0.0360187888, -0.0239586942, 0.0590858534, 0.006604651, 0.0010391769, -0.0355110653, -0.0304500926, 0.0334870927, 0.0055525503, 0.0394183621, 0.0367915556, 0.0518495068, -0.0111892987, 0.0265252199, 0.0126547776, 0.0495898426, -0.0229081288, -0.0296957865, 0.0244223718, -0.0411499627, 0.0332910866, 0.0707745403, -0.012963308, -0.0397179723, -0.0071822354, 0.0212200191, 0.0352137387, 0.0081241699, 0.0487087816, 0.0144281955, -0.0231372677, 0.0381197147, -0.0047751316, -0.0317229852, 0.0067585595, 0.0112842843, -0.0460553765, -0.0341199413, -0.0042674034, 0.0073199729, -0.0353501849, 0.0101549802, -0.0337875448, -0.0726804957, 0.0409017392, -0.0956416056, 0.0142918909, 0.0079449229, -0.0346970335, 0.035924986, -0.0042077336, 0.0211678669, -0.0028320502, 0.0545899309, -0.0513481162, 0.0191902071, -0.0450560302, 0.0021605201, -0.0079135746, 0.0237195231, 0.0130351121, 0.0253344141, -0.0476261377, 0.0030475396, -0.0330134332, 0.0031687971, 0.0055874726, 0.042496644, -0.0518294163, -0.0053336308, 0.0164612234, -0.0175097287, 0.0158269797, 0.0529683121, -0.048462566, -0.0267115831, 0.0044244896, 0.0227153301, 0.0161178336, -0.0173448194, 0.0218806919, 0.0536329523, 0.0112677319, -0.0474702045, 0.0036710852, -0.0246094149, -0.0518593118, -0.0284704156, -0.0254073832, -0.0746940747, -0.0348060615, 0.0165053476, 0.0201056208, -0.0998341814, 0.00748885, -0.0295346454, -0.0785331801, 0.0354643203, -0.0231823772, -0.0178566352, 0.0004956042, -0.0105032055, 0.0034449061, 0.0547649525, 0.0527894609, -0.0256861616, 0.0146860871, -0.006385297, 0.0512384214, 0.0276687928, 0.0242530592, 0.0253397152, -0.0416656211, -0.0123636639, 0.0668853968, 0.0091465469, -0.003458777, -0.0146635836, 0.0059992466, -0.0240129773, 0.0483490564, -0.0245625209, 0.0112080369, -0.013854349, 0.0087461341, 0.007976694, -0.0460799895, 0.0082535911, -0.0156677198, -0.0070336866, -0.0515629426, -0.0035442431, -0.0416534357, -0.0102143427, -0.0340858027, -0.0422731973, -0.0175950918, -0.0188207347, 0.0248549879, 0.0206046533, 0.0656185821, -0.0011772409, 0.0078273285, -0.0066965455, 0.0723885894, 0.0120007545, -0.0067973407, -0.0424863137, -0.046964217, 0.1010420248, 0.0462711342, -0.089283444, -0.0036165949, -0.0264767613, 0.040255487, -0.0321321525, 0.002756333, -0.001927295, 0.0175661929, -0.0053493604, -0.0261592381, 0.0321424678, 0.0518353768, 0.0005001684, -0.0051835901, 0.0100635337, -0.0022995882, -0.0338276252, -0.0686835423, 0.0561504774, -0.0642662123, -0.0255828761, 0.0422920138, 0.0055116527, 0.0282344334, -0.0067120222, -0.0374116115, -0.0154221868, -0.0004096458, -0.0249134339, -0.0610855259, 0.0169372074, -0.0117201852, -0.0294480585, 0.0045743799, -0.0082237571, 0.0024218932, -0.0124240341, -0.051701434, -0.0047291187, 0.0113648577, -0.0495752804, 0.0368110165, -0.0072056456, 0.0188616775, 0.0053187851, 0.0033520747, -0.0265144259, 0.0395485014, -0.0354727618, -0.0121935038, -0.0495694987, -0.0188670456, 0.0046089096, 0.0087774452, 0.0055546071, -0.0029766455, 0.0029023725, 0.0133621953, 0.0095917154, -0.0174321625, 0.01069366, -0.0374743231, -0.0918929353, -0.015987752, -0.045032084, -0.02124184, -0.0023024932, 0.0150127877, -0.009976238, -0.0169776361, -0.0384951383, -0.0337724537, 0.0118096014, 0.0267891791, 0.007281648, 0.035851948, -0.0316402949, -0.0109801507, 0.0009103881, -0.0286402032, 0.0709184483, 0.0154359322, -0.0428438783, -0.0490471236, -0.0207997505, -0.0086999862, 0.0057072588, -0.0308983307, -0.0140039688, -0.055189617, 0.0089568254, -0.0172115359, 0.025172988, 0.000991076, 0.0033476776, 0.0659071058, 0.0375929102, -0.0337477028, 0.0050310674, -0.0420642309, -0.0304988958, -0.0333648771, -0.0614733659, -0.0271946285, 0.044855807, 0.0032540471, -0.0477462523, -0.0554504991, -0.0309642851, -0.0139905475, -0.0194887947, -0.0246101208, -0.0343605056, -0.0344509408, 0.018345153, -0.0044939565, -0.067229934, 0.0978518724, 0.0091906814, 0.048570849, -0.0720283017, -0.0531445108, -0.0307635795, 0.016723169, 0.0120344926, 0.0199940037, 0.0408839397, 0.0189788695, 0.0014794996, 0.0082962587, 0.0149499448, -0.0276698861, 0.0375390612, -0.0629426017, 0.0507902503, 0.0538687743, -0.068433091, -0.0489648245, -0.097401239, 0.0014209322, -0.0164891277, -0.0286558941, -0.0108042285, -0.0372352041, -0.013391491, -0.0200383887, 0.1026879847, 0.0075244112, -0.0041433801, 0.0102022029, -0.0285420623, 0.0250066705, -0.0298847929, -0.0377112515, -0.0378512144, -0.0063664042, 0.0259794574, 0.0137191936, -0.0189956184, 0.0038218577, 0.0215597041, -0.0139818108, -0.0003704683, -0.0116774263, 0.0418742374, -0.0171948448, -0.0298595242, -0.0153321819, 0.0732606053, 0.0343015492, -0.0387661606, 0.0502654128, 0.0181292575, 0.041612722, 0.0141398143, 0.0111845518, -0.0533658117, -0.0246697925, 0.00852679, 0.0158983916, -0.0474576056, -0.0490900949, 0.0257867984, -0.0460731089, 0.0214051437, 0.0106742028, -0.0311718564, -0.0334461741, -0.0406039953, 0.0187314395, -0.0434967317, -0.0371932015, -0.0198341198, -0.0110358661, -0.0104228407, 0.0074461605, -0.0500143059, -0.0977641642, -0.0102929417, 0.0011693892, 0.0256223511, 0.0714397058, 0.0009626352, -0.0319859535, 0.013536498, 0.040471375, 0.0245291404, 0.0218398366, 0.017788168, 0.1184545681, 0.0043629939, 0.0043056561, -0.001272693, 0.0535652228, 0.0010452033, -0.0239124056, 0.0015875685, 0.0688430816, -0.0327612311, -0.0258166455, -0.0026653493, -0.0072960211, 0.0563720018, 0.0425223894, -0.0222359952, -0.0613933131, 0.0107305637, -0.0102030048, -0.00421105, 0.040002998, 0.0195559729, 0.0161455572, -0.0004002194, -0.0773994625, -0.0600727983, -0.033207465, 0.0208572336, 0.007054117, 0.0193050019, 0.037495289, -0.0127913188, -0.0224683136, -0.0551046245, 0.0449951813, -0.0105905533, 0.0480285697, 0.0225585718, -0.0438043103, 0.0349781178, -0.0336830169, -0.0345501378, -0.0000541655, -0.0420564711, -0.0633246377, 0.0486788638, 0.0392520651, 0.0230605286, 0.0795368105, 0.0029206728, -0.0468723066, 0.058168035, 0.0863726735, -0.042920623, 0.0023433645, 0.0219866186, -0.0791594237, 0.0118981935, 0.010362084, -0.0239477661, 0.014063959, 0.036049217, 0.0058875526, -0.0382882543, -0.0035195441, 0.0202196036, -0.0020729862, 0.053566616, -0.0339423679, -0.0174212698, -0.0351729468, 0.045393873, -0.0133506022, -0.0057867453, -0.0135561926, 0.0282618459, 0.031168988, 0.0171855651, -0.021849066, 0.0204699039, -0.0626319572, 0.0010216596, -0.0250816997, 0.0355300307, -0.0096716778, 0.0238398593, 0.0765300989, -0.0103556681, 0.0118674049, 0.0132338749, 0.064325124, 0.0274270773, 0.0098422179, 0.0216401108, 0.0310929362, 0.0408763215, -0.0517485477, -0.0220229216, -0.0766418874, 0.003852275, -0.0643860921, 0.053341914, 0.0109533481, -0.0325315148, 0.0009385738, -0.055166699, -0.0107349018, -0.0134992851, 0.0027079312, 0.0084481603, -0.0122268461, 0.023625914, 0.0124610215, -0.0238472261, 0.0452782176, 0.0932912603, 0.0455222949, 0.07219024, -0.0403984338, -0.0142741445, -0.0301573873, -0.0378470905, 0.0530288555, 0.0372526757, -0.0586752146, 0.0240248311, -0.0972079635, -0.0602594204, 0.0331177376, -0.0562013313, 0.0120486021, -0.0158795062, 0.024080148, 0.0212247763, -0.0008849644, 0.0165610351, -0.0261572842, 0.0005170751, 0.0296434313, -0.0385741703, 0.0072752135, -6.471031014e-33, 0.0261381716, -0.0456039123, -0.0161247645, -0.0311741997, 0.0299499817, 0.0165400449, 0.0146213351, -0.008932977, 0.0379371941, 0.043927405, -0.0050055287, 0.020849552, 0.0084088873, 0.0325886346, -0.0039428612, -0.0156455431, 0.0299200919, 0.026302116, -0.0148331998, 0.0233941656, 0.0107109686, 0.0404856429, 0.0463472903, -0.1336186975, 0.0565125719, -0.0012159921, -0.0099112354, 0.0002872512, -0.0150101008, 0.0190799274, -0.0010431935, 0.0546225794, 0.0273218621, -0.004959784, 0.0115688508, -0.0244854819, -0.0338015072, -0.0023615274, 0.0135520203, -0.0036218853, 0.006319527, -0.0272334907, 0.0261766426, -0.0004143286, -0.0254713465, -0.0180041827, 0.0483411364, -0.0686778277, -0.0077320514, -0.0124684172, -0.0639136434, 0.0630893931, -0.0158891976, 0.0283170268, -0.0050751902, 0.0372660458, -0.0008491281, 0.0605906248, -0.0084804613, -0.0119314604, 0.0391683988, 0.0113763958, 0.0069259098, 0.0064778286, -0.0182155725, 0.0786707178, -0.0045219087, 0.0193321537, -0.0385438763, 0.0012157884, -0.0148077933, 0.0041186702, 0.0472889133, 0.1110228002, 0.0810344219, -0.045221474, -0.1055031344, 0.0304131322, -0.0570527911, -0.0327391922, 0.0443802848, -0.0135299768, -0.0717213973, -0.0351734944, -0.0367416404, 0.0255930051, -0.0134301502, -0.0177867375, -0.0020198973, 0.0368364304, -0.0194817018, 0.0285641886, -0.0058562527, -0.0453033894, -0.0261616781, 0.0208589546, -0.0012087026, 0.000494166, -0.0186112616, -0.0018445469, -0.0039485805, -0.0305297934, 0.0346933305, 0.024570955, 0.057927262, -0.0042256536, 0.1052646264, 0.0057584336, -0.065364562, 0.0084667262, 0.0233750343, 0.0075717238, 0.0028099543, 0.029462561, 0.0424758382, 0.0317163952, -0.0047069499, 0.047035154, 0.0321314, -0.0024130687, -0.0241628308, -0.0195223596, -0.0344923548, -0.011931398, -0.0336783081, -0.0002209872, 0.018610524, -0.0145977885, 0.0354536809, -0.083052665, -0.0171087384, -0.0119257718, 2.954e-7, 0.0691044107, 0.0577615686, -0.0063411291, -0.0555466227, 0.016995497, 0.0308317486, -0.0271948073, 0.0384534001, 0.0290086493, -0.0104245236, 0.0701556653, 0.0211882889, 0.0391338654, 0.0133564528, -0.0647770986, 0.0125880903, -0.0688370094, -0.0144291576, -0.0402270146, -0.0383529849, 0.0455222167, 0.0937378481, 0.0054749032, -0.0292360056, 0.0192014128, -0.0083102873, 0.0398227051, -0.0539410077, 0.0136558153, 0.020922251, -0.0015921445, 0.006314435, 0.0070759649, 0.0767322257, -0.0454255603, 0.0121595673, -0.0157596655, 0.053036619, -0.052481547, 0.0504324026, -0.0203580335, -0.0123589728, 0.0111471321, -0.0423316956, 0.0614728443, -0.0347057022, -0.019949913, -0.0079146558, -0.0386205539, -0.0063013812, 0.0489439406, -0.0111662587, -0.0090650804, 0.0450260676, 0.0164801702, 0.0341890194, -0.0034632257, -0.0494125038, -0.0458464585, 0.0499020666, -0.0348433219, -0.047167398, 0.0322560854, 0.0390902758, 0.0357405432, -0.0622749142, 0.0592402816, 2.903094291e-34, 0.0681168959, 0.036050234, -0.018550247, -0.0300071929, 0.0170750581, -0.004649499, 0.0170203652, 0.0314725265, 0.0378673673, -0.0496219061, 0.0232990049 ]
http://arxiv.org/abs/2310.12798v4
http://arxiv.org/pdf/2310.12798v4
MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adapter
2023-10-19T14:52:58
2024-01-18T09:03:24
Zhiyuan Liu, Sihang Li, Yanchen Luo, Hao Fei, Yixin Cao, Kenji Kawaguchi, Xiang Wang, Tat-Seng Chua
cs.CL
cs.CL, cs.MM
Language Models (LMs) have demonstrated impressive molecule understanding ability on various 1D text-related tasks. However, they inherently lack 2D graph perception - a critical ability of human professionals in comprehending molecules' topological structures. To bridge this gap, we propose MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adapter. MolCA enables an LM (e.g., Galactica) to understand both text- and graph-based molecular contents via the cross-modal projector. Specifically, the cross-modal projector is implemented as a Q-Former to connect a graph encoder's representation space and an LM's text space. Further, MolCA employs a uni-modal adapter (i.e., LoRA) for the LM's efficient adaptation to downstream tasks. Unlike previous studies that couple an LM with a graph encoder via cross-modal contrastive learning, MolCA retains the LM's ability of open-ended text generation and augments it with 2D graph information. To showcase its effectiveness, we extensively benchmark MolCA on tasks of molecule captioning, IUPAC name prediction, and molecule-text retrieval, on which MolCA significantly outperforms the baselines. Our codes and checkpoints can be found at https://github.com/acharkq/MolCA.
[ 0.0444574319, 0.0702070072, 0.013396333, 0.017637426, -0.0202695634, -0.0076308199, 0.0190707352, 0.0276204627, 0.0476007424, 0.0198603608, -0.0498914048, -0.0584046803, 0.0106158983, 0.0740908831, 0.0456420109, -0.0217052586, -0.0080852071, -0.0290276222, -0.041069407, -0.0428511277, -0.0019508101, 0.0075259805, 0.0367851295, 0.0015575782, 0.0234728605, -0.0209797416, -0.027006736, 0.0174912717, 0.0083322907, -0.0619548634, -0.0002721422, 0.0500021204, 0.0432930179, 0.016498806, 0.0000019467, 0.005502094, -0.0246217884, 0.0086171962, 0.0176910106, 0.0135152936, 0.0821102336, -0.0720465928, 0.0185156502, -0.012605736, -0.0270464532, -0.0295364633, 0.0853702947, 0.0136139868, -0.0170824025, 0.030312106, -0.0127255768, -0.0406257808, 0.0417662673, -0.0311144199, 0.0602266528, -0.0083505865, 0.0358392335, 0.0526519492, 0.0260570981, 0.011308331, -0.064795427, 0.0448474512, -0.0122319888, -0.0458830968, 0.0256703626, 0.0278070141, 0.0292726103, -0.0410118438, -0.0188440923, 0.1270457953, 0.008669531, -0.0363510735, -0.0328313299, -0.0005230788, -0.0402633622, 0.0346916243, -0.0462627485, -0.0183488205, -0.0021005194, 0.0227422733, -0.0088849803, -0.013977156, 0.0425650962, -0.0331896096, 0.0020646364, 0.0088600153, 0.0183268357, -0.0155590689, -0.0005519023, 0.0099952845, -0.0178997852, -0.0179381818, 0.0273253657, 0.0238081757, 0.0267796125, 0.0090545397, 0.0079604462, -0.0321684889, 0.0291154236, -0.0147768389, 0.0611695498, 0.0024797441, 0.0089632943, 0.0204578172, -0.0306953341, 0.0348052382, -0.0383985564, 0.0814339146, -0.0372386947, -0.0335466936, -0.032056313, 0.0164122377, -0.0288775843, 0.0213319398, -0.0525170229, -0.0300000217, -0.0429557338, 0.0231321827, 0.0263543595, -0.0246224459, 0.0340187401, 0.032371413, -0.0308188088, -0.0052813585, -0.0116561344, 0.0817652196, 0.0411910713, 0.0053592278, -0.027173074, -0.0535994023, -0.0319044255, 0.0164688267, 0.0266154073, -0.0275365338, 0.0271624457, 0.1430642009, -0.0142169371, -0.0689331889, 0.0306828003, -0.0238330662, -0.0254910868, -0.0298639443, 0.0568525456, -0.0543097779, 0.0455301106, 0.0402217023, -0.0018853082, -0.0254945997, 0.0424453244, -0.0175733808, -0.0359350927, 0.1095374525, -0.027396122, -0.0531851538, 0.0246960316, -0.0017461246, -0.0275317617, -0.0179150887, 0.0369472131, 0.0139577007, -0.0502745807, 0.0301579498, -0.0056333295, 0.0030308526, 0.0365568474, -0.0426966436, -0.0090915384, -0.0211925916, -0.0021613438, 0.0344410278, 0.0151585527, 0.0552184954, -0.0132227316, -0.0027812214, 0.0386247709, 0.0247393344, 0.07216537, 0.0320757329, -0.0038371729, 0.0437310189, -0.0335713886, -0.0247949306, -0.0201597624, 0.0833637193, 0.031386219, 0.0184895881, 0.0414046273, 0.008265445, -0.0139363557, -0.0352128409, 0.0117701329, -0.0017552013, 0.0637438446, -0.0511384197, 0.0538093299, -0.0046911566, -0.1085033193, -0.0026846707, 0.0524880812, -0.04097794, 0.0046854159, -0.0150271468, 0.013729224, 0.0765882954, 0.0473987721, -0.0358649343, -0.0393175967, 0.0249561332, -0.0388006791, 0.0466135666, -0.0011678888, -0.0098379273, 0.0221154243, -0.0329632163, -0.045976758, -0.0411313958, -0.0176543016, 0.0260594729, -0.0308921188, -0.0051973145, -0.0129842497, -0.0840823054, -0.0146718547, 0.0168278757, 0.0185145754, -0.0052928785, -0.0232133046, -0.0071722334, 0.004088623, -0.0073464806, 0.0013857855, 0.0312892161, 0.0532208383, -0.0387852639, 0.0054606576, -0.0370411314, -0.0236273576, -0.0741511583, 0.045801919, -0.0544038713, 0.0304530021, 0.0165664889, -0.0201318897, -0.0412740223, 0.0749969259, -0.0468529724, 0.0312575139, -0.0172792543, -0.0294648502, -0.0171249006, 0.0684632957, 0.017909864, 0.0395500585, 0.0002704332, -0.0054422985, 0.0176062174, 0.0295348726, -0.0067174551, -0.0207432844, 0.0140593164, 0.0148881841, 0.055672396, 0.0407656282, 0.0182797816, 0.0091723893, 0.0014088778, -0.0066772024, -0.0566371679, -0.0302565079, -0.0199496113, 0.0033870372, 0.0128862727, -0.0018852057, 0.0115350233, -0.0288091134, -0.0502060726, 0.0169134531, 0.0000209664, -0.0034205879, 0.0342662781, 0.0024155371, -0.0297225732, -0.034485016, -0.0465102941, -0.0364487544, 0.0680267066, 0.0052386872, -0.0816978887, 0.0063618575, 0.0040104371, 0.0056334077, -0.0006771301, -0.0156339295, 0.0035344379, 0.0220026448, -0.0033903238, 0.0418629311, 0.051861465, -0.0081113251, 0.0316789597, 0.0872051269, -0.0024457786, 0.0016234104, -0.0151910977, -0.031934645, -0.0090603773, -0.0049855909, -0.0381859131, -0.0160345621, 0.0719664171, -0.0121933166, 0.0140086142, -0.0600802265, -0.0281693749, 0.0098596625, -0.025856832, -0.005672249, 0.0223737992, -0.012624112, -0.0053110532, -0.0163103528, -0.0282069854, 0.0738450885, -0.0362546891, -0.012938193, 0.003167606, 0.0052038082, -0.0124880718, 0.0273922589, 0.0316277556, 0.0386129096, 0.0139765125, -0.0331447721, -0.0163521506, 0.0203439482, -0.0135427108, -0.0352218412, -0.0101939179, -0.0305875335, 0.0083715981, -0.0017521095, -0.035238985, 0.0202796869, 0.0220028087, -0.0229170956, 0.0510632098, 0.0095359096, -0.0410280302, -0.0187984891, 0.0169272274, 0.0251577012, 0.0046533067, -0.0386335663, 0.008132414, -0.0483528152, 0.0458943769, 0.0348945782, -0.0101042725, 0.0062637161, -0.0458624363, -0.0076128254, 0.0329760239, -0.0086264201, -0.0109072924, 0.0064918045, 0.0259041581, 0.0081181042, 0.072829999, -0.0280931462, -0.0003952748, 0.044745367, -0.0200858526, -0.026533952, 0.0476999991, 0.0004386737, -0.0610138215, -0.0122527126, -0.0097698439, 0.0308744702, -0.0067438129, 0.0239281356, -0.1048948094, -0.0416054241, -0.065404214, 0.0314702243, 0.0288736746, -0.0067684809, -0.0102110868, -0.0493913665, 0.0236102883, 0.0281475876, -0.0275657419, -0.048880931, -0.0749618039, -0.0384759456, -0.0247598272, 0.0092584128, 0.0140421391, -0.0065844245, -0.0022434453, 0.0476350188, 0.0524119623, -0.0070326519, -0.0053160735, 0.0144527303, -0.0220226776, 0.0185978562, 0.0202290881, 0.0351284631, -0.0302745644, -0.0060341922, -0.0102456072, 0.0049088788, -0.0028357601, 0.0678865835, 0.0185933113, -0.0210776478, -0.0332163647, 0.0229958277, -0.0469239503, -0.0260273218, -0.0762768313, 0.0794993788, 0.0053170025, -0.0244612191, 0.0000145977, 0.0179996919, -0.0300701205, 0.0216801204, 0.0366470143, -0.0125451591, -0.0981159508, -0.0398762375, 0.0591899529, -0.03198101, -0.0063951793, -0.0065076398, 0.0041352003, 0.0177322384, -0.0150996745, -0.0238129776, 0.0002216963, -0.0034148514, -0.0249178074, 0.012560891, 0.0092866216, -0.0382032357, -0.0931248441, -0.0137475468, -0.0175760798, -0.0001693213, -0.0263401866, -0.0641822889, 0.0413068868, -0.0314792879, -0.0049726153, 0.0417333841, -0.0667604059, -0.0797473043, -0.0516579971, 0.0213270299, 0.0133313322, 0.0395451263, 0.0119327074, -0.01101596, 0.0991171747, 0.0206977986, 0.0088254483, 0.0087842923, 0.0241892245, -0.0153532345, -0.0228715967, 0.0273709763, -0.0473745801, -0.0034552848, 0.0076503642, 0.0382855535, -0.0029079902, -0.0472334437, 0.0284803975, 0.0070093237, 0.0550805815, 0.0098789474, 0.0065196548, -0.0376439467, -0.0119142802, -0.0054272027, 0.0033767773, -0.0301321801, -0.0202588551, 0.0439615101, -0.0068982551, -0.0007431697, 0.0034597276, -0.0179057196, 0.0060106819, -0.0038337153, 0.025886083, 0.0367240719, -0.0298637655, 0.0706056207, 0.0095689083, 0.0124187246, 0.0095878933, -0.0233368557, 0.0273722708, -0.0078695407, -0.0018178637, 0.0010180733, 0.0072489735, -0.0562787987, 0.0484279878, -0.0280709583, 0.0155682201, -0.056024421, 0.0637534708, 0.0343280137, 0.0232263915, 0.0753709227, -0.0142246569, 0.0004823728, -0.0293327235, 0.0385276675, -0.013127923, -0.0527225174, 0.0981396809, 0.0057942318, 0.0000484099, -0.013484383, 0.0652506575, 0.0375578366, 0.0130008338, -0.0158917345, -0.0262369961, -0.0302594546, 0.0013604965, -0.0148230176, -0.0209365766, -0.0231419522, 0.0051798802, -0.0156011153, -0.0522243008, 0.0747618824, 0.0221909937, -0.0171750542, -0.0098175444, 0.0398340225, 0.0340234227, 0.0332444794, -0.0660328269, -0.0285036601, 0.0433518402, 0.0208320301, -0.0204535872, -0.0082503017, -6.435780878e-33, -0.0298128463, -0.0445123576, 0.0024062342, 0.0296637658, -0.0012303328, 0.0102141108, -0.0961572453, -0.0032297338, -0.002905827, 0.0522533804, 0.011813188, 0.0011167267, 0.0093734488, -0.008408146, -0.0212673806, 0.0016051712, 0.0230950508, 0.00115552, -0.0107240295, 0.0459288284, 0.0376079418, 0.0557473265, 0.0638244674, -0.0308425687, 0.0152105121, 0.025163278, 0.0308883283, -0.0131354528, -0.0011225997, 0.0321832187, -0.0610032305, 0.0528369024, -0.0078976033, 0.0063231783, -0.0343303308, 0.0333638005, -0.0622216947, 0.0157328919, -0.0107568512, 0.0102536138, -0.0502591841, -0.03883918, 0.0488215238, -0.0030580855, -0.0540919639, -0.0365376696, 0.0336945318, -0.0034825935, -0.0332608409, 0.0466345437, -0.0416902155, 0.0176598169, 0.0260337312, -0.0013716345, 0.0301924497, 0.0161306188, 0.0344043337, 0.0211726762, -0.0234163254, 0.0600599349, -0.0560019203, 0.021956414, 0.0591571853, 0.0314626358, 0.0233927276, 0.0537467785, 0.0319810323, -0.0349679403, 0.0140168192, 0.0263662543, -0.0039594956, 0.0240378194, 0.0148309683, 0.027432533, -0.0069963285, 0.0124209775, -0.1061361656, 0.0084285568, -0.0787548423, 0.012552307, -0.0108483173, 0.063155964, 0.0304394867, -0.0370993055, -0.0089031775, -0.0401953422, -0.0126245683, -0.0315664895, -0.0318573937, -0.0254154447, -0.0405080281, 0.0033824088, 0.0136586288, -0.041356694, -0.0337788388, 0.0569883958, -0.0260760132, 0.0516572222, -0.0107483836, 0.0247187838, -0.0515588112, -0.0372349583, 0.0475182869, -0.0290589686, 0.0119887711, -0.0160110295, 0.0166659839, 0.0313142501, -0.0322481059, -0.0231473073, -0.0718054101, -0.0258919578, 0.0239612367, 0.013162774, 0.0344070047, 0.0039333748, -0.0222357865, 0.0432064049, 0.0045347107, 0.0308986418, -0.0089320177, -0.0150327347, -0.0014454672, 0.0546736196, -0.0986464918, -0.0074201967, -0.0788072944, 0.0257444512, 0.043842189, -0.0887516439, -0.0462334864, 0.0054415939, 2.808e-7, 0.0862963423, 0.0602735393, 0.0653227642, -0.0309726968, 0.0122646969, 0.0192191564, -0.0249528158, 0.0668321848, -0.0416590869, -0.0501701683, 0.0121433586, 0.01777808, -0.0246850345, -0.0043026404, -0.0150629031, 0.0677314028, -0.0669646189, -0.0117096826, -0.0457819998, 0.0464411154, 0.0131645184, 0.0788189694, -0.0265775919, -0.019797476, 0.0161124561, -0.0542275906, 0.0959253758, 0.0079990989, -0.0046169073, -0.0117955944, -0.0473318882, -0.0330325924, -0.0392845161, 0.0122466255, -0.0061714514, -0.0040045884, 0.0227260012, 0.026009554, -0.0357285812, -0.0383062027, 0.0573247783, 0.0286170859, -0.0082097212, -0.0040457686, 0.0304811709, -0.0316580012, -0.0643167943, -0.0071734986, -0.0018523367, 0.0134463701, 0.0143754371, -0.0170529801, -0.0091290306, 0.021270331, 0.0063980371, -0.0053338869, 0.0150612546, -0.0155012719, -0.0063828393, 0.0101199942, -0.012780535, 0.008428013, -0.0723694116, -0.0230314843, 0.0208287872, 0.0070652394, 0.0010963379, 2.341870126e-34, 0.0291098207, -0.0333300866, -0.0255576577, -0.0382997729, 0.05287081, -0.0401572697, -0.0175372958, 0.011890091, -0.0147367101, -0.11988765, -0.0403739437 ]
http://arxiv.org/abs/2310.12794v2
http://arxiv.org/pdf/2310.12794v2
Are Structural Concepts Universal in Transformer Language Models? Towards Interpretable Cross-Lingual Generalization
2023-10-19T14:50:51
2023-12-22T15:00:26
Ningyu Xu, Qi Zhang, Jingting Ye, Menghan Zhang, Xuanjing Huang
cs.CL
cs.CL
Large language models (LLMs) have exhibited considerable cross-lingual generalization abilities, whereby they implicitly transfer knowledge across languages. However, the transfer is not equally successful for all languages, especially for low-resource ones, which poses an ongoing challenge. It is unclear whether we have reached the limits of implicit cross-lingual generalization and if explicit knowledge transfer is viable. In this paper, we investigate the potential for explicitly aligning conceptual correspondence between languages to enhance cross-lingual generalization. Using the syntactic aspect of language as a testbed, our analyses of 43 languages reveal a high degree of alignability among the spaces of structural concepts within each language for both encoder-only and decoder-only LLMs. We then propose a meta-learning-based method to learn to align conceptual spaces of different languages, which facilitates zero-shot and few-shot generalization in concept classification and also offers insights into the cross-lingual in-context learning phenomenon. Experiments on syntactic analysis tasks show that our approach achieves competitive results with state-of-the-art methods and narrows the performance gap between languages, particularly benefiting those with limited resources.
[ 0.0210501105, 0.0245313514, -0.033834409, 0.0658087432, -0.0197255164, 0.0329116955, -0.0204693526, -0.0254310742, -0.0810332671, -0.0304736178, -0.0772114322, -0.0459519252, 0.0245256964, 0.0203837398, 0.0155514283, -0.0611118749, 0.029116882, -0.0224653836, -0.0238442626, -0.0088195922, -0.0064198584, 0.0008738606, 0.0275121201, 0.0188644342, 0.0284550469, -0.009997542, 0.0004224478, -0.0226678029, 0.0331865922, 0.0015179986, -0.0216412488, 0.0203306209, 0.0258538276, 0.0659599379, 0.0000019861, -0.0547537804, -0.0174926985, -0.0143240299, 0.0022909362, -0.0083147017, 0.0021450405, -0.1319741905, -0.0022651169, -0.0198654067, -0.0141329672, -0.0742659867, 0.0970596001, 0.0180848688, 0.0175185762, 0.0307165999, -0.0267754793, -0.0543317012, 0.0236844048, -0.0327327289, 0.0197257604, -0.026614774, 0.0216094013, 0.0276144389, -0.0460240319, -0.0054591931, -0.0607984886, 0.0452252589, 0.0060786321, 0.0148045206, 0.0057286066, 0.023079766, -0.0292053521, -0.024061773, 0.0041516968, 0.0577752776, -0.0286147129, -0.0274752453, -0.036964044, -0.0050918348, -0.0136139765, 0.0336050503, -0.0700710863, 0.0424559377, 0.0023653975, 0.0280105695, 0.0279120635, 0.0143531365, 0.0306183249, -0.0213889387, -0.0613064691, 0.0314681865, 0.0221331846, -0.0136043103, -0.0007422033, 0.0353386514, -0.0264974292, -0.0169149619, -0.0367335193, 0.003918888, 0.021659201, 0.0241025779, -0.0242012963, -0.0229601841, -0.0076591037, -0.0359162465, 0.0588793121, 0.0406556129, -0.0083036479, 0.0504670404, -0.0380264446, 0.0729458034, -0.0376281179, 0.024801882, -0.0499413349, -0.0552937575, -0.0672778189, -0.0265520476, -0.0358935818, 0.0251390096, 0.0110961385, -0.0053375638, -0.0480842777, 0.0266285855, -0.0074954596, 0.0067660208, 0.0207851566, -0.0551977679, -0.0292081218, -0.0153593989, 0.0037766295, 0.0485970452, 0.0078917947, -0.0149471974, -0.043818146, -0.0522778369, 0.0106413225, 0.0156541821, -0.0178113915, -0.0558436476, -0.0033830155, 0.0546699129, -0.0154044339, -0.0151849687, -0.0150793986, 0.0278253332, -0.0270786434, -0.0480460003, 0.0034668199, -0.0603194162, 0.0461085178, 0.0302682687, 0.0143544273, -0.0137299551, -0.0101919984, -0.022990033, -0.012256505, 0.0771727934, 0.0115946475, 0.0049052732, 0.0052564004, -0.0274001677, -0.0129598472, 0.0804521516, 0.0136057511, -0.0106990924, 0.0125573296, -0.0386720635, -0.0364423878, 0.0446178056, 0.009162521, 0.0003900842, -0.0523440726, -0.0119763706, 0.0642099679, 0.010483481, 0.0191982836, 0.0205146503, -0.0099983504, 0.0194368903, 0.0364297368, 0.0196753107, -0.0003064887, 0.0432821624, 0.0753936991, -0.0093683675, -0.0293787494, -0.0045062872, -0.0263996907, 0.0372826755, -0.0162267648, 0.0111450376, -0.036179509, 0.0339113474, -0.0463689715, -0.0215359293, -0.0109095834, -0.0280810725, -0.0153213562, 0.0065997699, 0.0946349278, 0.0333706513, 0.013436324, 0.0695977286, 0.0458664298, -0.0368909538, 0.0257356819, -0.007689096, -0.0007513858, 0.0367118716, -0.016591927, -0.0012008734, -0.0175181851, -0.0105397077, 0.013985591, 0.0550792031, 0.0299602859, -0.0243856274, 0.0179815479, -0.0587569177, -0.0240921564, -0.0273912083, 0.0046557062, 0.030062316, -0.0415081382, 0.009884919, 0.0053940299, -0.0744703636, 0.0289771613, 0.0215476695, -0.061095465, -0.0000107548, -0.0107728131, 0.0355829746, 0.0211543664, 0.0021857696, -0.001421854, -0.0075269365, 0.0140185058, -0.0808402449, -0.0048361346, 0.0620157756, -0.0463488996, -0.038561713, 0.0204850174, -0.0421410315, -0.0113557922, 0.0140192797, -0.0286891274, -0.0377676897, 0.0275592022, 0.001616637, 0.085502401, -0.0343030281, 0.0507520847, -0.0408266932, 0.0302783381, -0.0102008581, 0.0623889342, 0.00348678, 0.0305806361, 0.0052898363, -0.0453248583, 0.0553348325, 0.0174496099, -0.0419514924, 0.0510349087, -0.0160913058, -0.0077613629, 0.056145601, -0.017432224, -0.0039646002, -0.005960044, -0.0700989366, -0.0138003826, -0.0086240629, 0.0193540566, 0.0556830652, 0.0338035263, 0.0288583599, -0.0064788475, -0.0214571413, 0.0162274465, -0.0113522792, 0.0282722041, 0.0402570516, 0.0175861139, -0.0430776589, -0.0006139282, -0.0212566312, 0.0067786435, 0.0981323421, -0.032137394, -0.0289846398, -0.0383028053, 0.0273908209, -0.0141240954, 0.00495417, -0.0285832491, -0.0403425656, -0.0169447083, -0.0188243054, 0.0023974951, 0.007238559, -0.0265306681, -0.000939212, 0.0813566372, 0.0128815603, -0.0676637143, -0.0322161615, 0.0116016679, -0.0282887965, -0.0575993769, -0.0279975981, -0.0033373663, 0.1199163795, -0.0129367467, 0.0026327139, -0.0915632397, -0.0032075057, -0.0330265686, -0.0128347557, -0.0416023508, 0.0199002083, 0.0108439298, 0.0343573093, -0.0374531448, -0.0262487866, 0.0605956241, -0.0061096614, -0.0218161885, -0.0028338993, -0.0093940021, -0.0622018017, 0.0875464603, 0.0068883835, 0.0301564168, 0.0510266945, -0.0427686721, -0.0801849067, -0.0176925063, 0.0449599586, 0.0167267416, 0.0620547831, -0.0416403487, 0.0302300956, -0.0276593063, -0.0414133184, -0.0337493531, 0.0212375969, -0.0210573822, 0.0230631866, 0.0036295489, 0.0025372033, -0.051010862, 0.0122651039, 0.024789758, -0.0036585343, 0.0167882927, -0.0020535435, -0.0112919379, 0.0312527344, 0.0224770196, -0.0335109606, -0.0332934149, -0.0295324344, 0.0172397289, 0.0136282295, -0.0162120275, 0.0017382238, -0.0145202195, -0.0030657235, 0.0578973256, -0.0185315814, -0.0458706394, -0.0337347575, 0.0091366619, -0.0140642496, -0.0206499416, 0.1037401706, 0.0342172645, -0.0337596275, 0.0118820919, -0.0448307917, 0.0089341663, 0.0404215306, 0.0088784164, -0.0681054443, -0.0303031486, -0.011780574, -0.0492650233, 0.0265785791, -0.0126288729, -0.0029015043, -0.1306513995, -0.022297347, 0.009436965, -0.090711154, -0.0662573799, -0.0106818685, 0.0021514024, -0.0485019311, 0.0171442144, -0.0101429857, -0.0144576253, -0.0023206794, 0.0062913159, 0.0015051843, -0.0583628193, 0.0173038747, -0.0233376138, 0.0106935306, 0.0338914581, 0.0351271518, -0.0304504912, -0.0309673492, 0.0591340736, -0.0308954287, -0.0071792719, 0.0062664761, 0.0324225985, 0.0075069261, -0.0271265525, 0.0321135074, 0.0102126412, -0.055442363, -0.0306869447, -0.0131030772, 0.0961066559, 0.0269823205, -0.0222330019, 0.0225449502, -0.0318971016, -0.0049217576, 0.0680436194, 0.0128241172, -0.0347928368, -0.0214806106, -0.0229443815, -0.0146474792, 0.009867589, -0.0149245001, 0.0341656916, 0.0027842433, -0.0220645443, -0.0318566486, -0.0269286949, 0.0265523493, -0.0110298321, 0.0287245829, 0.0251337886, -0.004444425, -0.0199395362, -0.0509520434, 0.0079886764, -0.0292948075, 0.0150781106, -0.0223781466, -0.0208417717, 0.0478710905, -0.0470494144, -0.0097088218, -0.0313772745, -0.0297069363, -0.0660489649, -0.0044239424, 0.041398298, 0.0149063896, 0.0544159971, 0.027809089, -0.0208981037, 0.0605731681, 0.014258015, -0.0233009849, 0.0056789224, 0.0524541326, 0.0138689047, 0.000812969, 0.0602669418, -0.0604144596, 0.0191401746, 0.022651555, 0.0267396085, -0.036412321, 0.0146835372, 0.056571655, 0.0007717989, 0.0399075523, -0.0328216441, -0.0162873305, -0.0261234846, 0.0090868575, -0.0218790285, -0.0253384616, -0.0427000374, -0.0294317901, 0.0696916282, 0.0029718003, 0.0238938034, 0.0225806721, -0.012462805, -0.0026864286, 0.0137526644, 0.0255810376, 0.0201731939, 0.0441889875, 0.0336954035, 0.0388117172, -0.00193744, 0.0018152131, 0.010963751, 0.0126470122, -0.043753475, 0.0213108491, 0.0075210403, 0.0285713002, -0.0220031589, 0.0119532654, -0.0231634881, -0.0242252145, 0.0073843882, -0.0185982157, 0.069969818, -0.0094323307, 0.0601287782, -0.027848145, -0.017175395, -0.002399365, 0.0581952482, -0.0199460015, -0.0310020912, 0.0468847342, 0.0084995748, -0.0144326389, -0.0111721782, 0.0896579251, -0.0272183213, 0.0244708583, -0.0043649692, 0.0103637166, -0.0285594929, 0.0010070187, 0.0311612953, -0.0140252076, -0.0289085787, 0.0207094159, -0.0536453202, -0.0688785613, 0.0066522579, -0.013905922, -0.0160805304, 0.0050206468, 0.0244850796, 0.0587671287, 0.0057283686, 0.0008395807, -0.0316908285, -0.0073820236, 0.0128999008, 0.0110214287, -0.0175451096, -5.858459602e-33, -0.0306174494, 0.0197476298, -0.0006710052, 0.0151415886, -0.0070628906, -0.0020360406, -0.0323790796, 0.0019608638, -0.0327880792, 0.0074556898, 0.0277271923, -0.0122157102, 0.0107551226, 0.0339960977, 0.0510429889, -0.0043446324, 0.0438291356, 0.0153800938, -0.0025625785, 0.0003470832, 0.058604151, 0.0464911163, 0.0965986773, -0.0286410172, 0.0164994448, 0.0186073128, 0.0137682818, 0.0316000953, 0.0514602065, 0.0517797768, -0.0038878969, 0.0391113758, 0.0352032371, -0.0239170361, -0.0183630325, -0.0072166892, -0.0788807273, -0.0309408754, 0.0419512279, 0.0501226746, 0.0058907354, -0.0558269508, 0.0198384393, -0.04706157, 0.016908152, -0.033090584, 0.0416095443, -0.0342523456, -0.0161737334, -0.0117161218, -0.1050491631, 0.0033265646, -0.0152614713, 0.0084690629, 0.0581420437, 0.0495062247, 0.0145798214, 0.0304478686, -0.0501919016, 0.039737232, -0.0354973786, 0.032836847, 0.1016133204, 0.0280337613, 0.0298187993, 0.0394503996, 0.0254465248, -0.0338578895, 0.0283655878, 0.008752672, 0.0330741592, 0.014575609, -0.0126691703, 0.0974343047, 0.0704959482, 0.0132512832, -0.0682432726, -0.0091410335, -0.0057790857, 0.0512781478, 0.0089799277, 0.0285463966, -0.0119588226, -0.0291394368, -0.0503931828, -0.0435522571, -0.0357139632, -0.0412504375, 0.0137958257, -0.0226026084, -0.0053058169, -0.0057588583, 0.0678771138, -0.069423832, -0.0231459253, 0.0348242633, -0.014522762, 0.0396894626, 0.0085778898, 0.0254181195, -0.0783841237, -0.0749452859, -0.008194902, 0.0151883131, 0.0280428622, 0.0386935361, 0.0795878693, 0.0078518894, -0.0443908237, 0.0012695305, -0.0515806191, -0.0435943156, -0.0399559252, 0.0265830196, 0.0137480749, 0.0377485976, -0.0396322832, 0.021514358, 0.0208075214, -0.0221734382, 0.0066709882, -0.0065283626, -0.00339861, 0.0261536855, -0.0073571932, -0.0162291341, -0.0346313491, -0.0124764694, 0.1041058451, -0.0179703087, -0.0073758201, 0.0165554062, 2.72e-7, 0.0625168905, -0.0026527257, 0.0036179556, -0.0008789577, 0.0159857925, 0.0285158195, -0.0369168594, 0.031584207, -0.0017710689, -0.0210067797, 0.0108724628, 0.0161877144, 0.03168891, 0.0274743401, -0.0772115663, 0.0391757861, -0.0172210075, -0.0174468756, -0.0039368449, 0.0272045154, 0.0032460613, 0.1096849814, -0.0076008579, 0.0031545744, -0.0240878761, -0.0315353014, 0.1047137231, -0.0681930706, 0.0019569241, 0.0375083275, -0.0642824471, 0.0222749468, -0.0260746423, 0.0203705728, -0.0171721913, 0.03589065, 0.0379498899, 0.0308208726, -0.0098799393, 0.0121169388, -0.0050597428, -0.0040007667, -0.0248295572, -0.0676014349, 0.0576182008, -0.1051960438, -0.052213762, 0.0049550175, -0.01179347, 0.0384978615, 0.0216756687, -0.0059827846, -0.0061513907, 0.0175462402, 0.0511931032, -0.0017780692, -0.0495531596, -0.0323696211, -0.0270796772, 0.0360858142, -0.0095536457, -0.0221651476, 0.0115484102, -0.0536713228, 0.0355167538, -0.0351627208, 0.029140003, 2.180299345e-34, 0.0091994228, -0.0031992034, 0.026136959, -0.0094070984, -0.0165516064, -0.0682525486, -0.0334448181, 0.0509214923, 0.0077688075, -0.050391037, 0.0167233273 ]
http://arxiv.org/abs/2310.12778v1
http://arxiv.org/pdf/2310.12778v1
Label-Aware Automatic Verbalizer for Few-Shot Text Classification
2023-10-19T14:30:07
2023-10-19T14:30:07
Thanakorn Thaminkaew, Piyawat Lertvittayakumjorn, Peerapon Vateekul
cs.CL
cs.CL, cs.LG
Prompt-based learning has shown its effectiveness in few-shot text classification. One important factor in its success is a verbalizer, which translates output from a language model into a predicted class. Notably, the simplest and widely acknowledged verbalizer employs manual labels to represent the classes. However, manual selection does not guarantee the optimality of the selected words when conditioned on the chosen language model. Therefore, we propose Label-Aware Automatic Verbalizer (LAAV), effectively augmenting the manual labels to achieve better few-shot classification results. Specifically, we use the manual labels along with the conjunction "and" to induce the model to generate more effective words for the verbalizer. The experimental results on five datasets across five languages demonstrate that LAAV significantly outperforms existing verbalizers. Furthermore, our analysis reveals that LAAV suggests more relevant words compared to similar approaches, especially in mid-to-low resource languages.
[ 0.023377372, 0.0237506796, 0.0066418331, 0.0107881082, -0.01534996, 0.0273689404, 0.067725338, 0.016776748, 0.003273424, -0.1044060886, -0.0262684636, 0.0107789868, -0.0138731105, -0.0244588535, 0.0253600385, -0.0513137467, 0.0538424402, -0.0176012125, 0.0402727164, 0.0103134243, 0.0100696795, 0.0257245507, -0.0016808495, 0.0321350731, 0.0177682806, 0.0196464956, -0.0021197721, 0.0002274362, -0.0218590163, -0.0210443437, 0.0135068996, 0.086271055, -0.0095612761, 0.0110607957, 0.0000018256, -0.0695588887, 0.0091568353, -0.0048902729, -0.0183817632, -0.015625909, 0.0729316026, -0.0198521223, 0.0088890335, 0.0189555287, 0.0000603206, -0.064555116, 0.0322804749, 0.0338623561, 0.0199474469, 0.0371167473, -0.0112034194, -0.0413353369, -0.0030898829, -0.005282905, 0.0231801551, -0.0403017737, 0.0263309628, -0.0563011654, -0.0018817448, 0.0541239716, -0.0219494961, 0.0308481771, -0.0307061523, -0.0068431208, 0.0550548248, 0.016634617, -0.028915586, -0.0515612625, 0.006440795, 0.0392971486, 0.0077919974, -0.032767877, -0.0003572944, -0.0168861765, 0.0059364894, -0.0183343962, -0.0160766784, 0.013516481, -0.0239880718, 0.0018188469, 0.0159204658, 0.0411694124, 0.0005470222, 0.0273753088, 0.0092181172, 0.0213376302, 0.0148077141, -0.0051142522, 0.0137707759, 0.0242494959, -0.0281278901, -0.0723341629, -0.0300917756, 0.0312732533, -0.0359336659, 0.0040758052, -0.0542199872, -0.0513264723, 0.0491684675, -0.0112417154, 0.0364747755, 0.0154811293, -0.0265946686, 0.0384889618, -0.0456211418, 0.0225201473, 0.0732641816, 0.0477049612, -0.0339482129, -0.0068198657, -0.0726501644, -0.0179936402, -0.0552650243, 0.0378505588, 0.0211644135, 0.0051522371, -0.0555447973, 0.0100547709, 0.0077275666, -0.0000860604, -0.0345285907, -0.0130383642, -0.0049176682, 0.0156768989, -0.0220340919, 0.0063902945, -0.0464820862, 0.0267096646, -0.0016952967, -0.0314255431, 0.0057499567, 0.0175745767, 0.0264012758, -0.0137824211, -0.0005249201, 0.0257127155, -0.0578632839, -0.0916772708, -0.0239240527, -0.0060697976, -0.0337244496, -0.0212482661, -0.0631892607, -0.0453314334, 0.0126057994, 0.0146882702, -0.0087168394, -0.0132778985, 0.0195429418, 0.0333501175, -0.0148573527, 0.0979930684, -0.0141684655, -0.0314148255, 0.0741592348, -0.0123265693, 0.0198579673, 0.0422558151, -0.004114667, 0.0209045131, 0.0509569347, 0.0062951655, 0.0514831245, 0.0278577972, 0.0056620799, -0.0066000056, -0.0465974882, -0.014410561, 0.0441536382, -0.0098411851, 0.0146953268, 0.0337688439, -0.0132396892, 0.0378204882, 0.0277300086, 0.0334285982, 0.0247850157, -0.0037192707, 0.0657816976, 0.027637152, -0.0068211108, -0.0092978124, 0.0028542897, 0.002961122, -0.0629707351, -0.0081275906, 0.0350255556, -0.0040275636, -0.043499209, -0.0689303875, -0.0153813343, -0.0210230015, 0.0124018844, 0.0040871133, 0.0637738928, 0.0444635525, -0.0134193124, 0.0389934815, 0.065582417, -0.0277924649, -0.0015480691, -0.0451897047, 0.0353159122, 0.027532123, 0.0103803072, -0.0318277478, 0.0182803851, -0.0535919406, 0.0349132456, 0.0358047858, 0.0863844082, -0.0261905547, -0.0002225052, -0.0353178941, -0.0124676311, -0.0021305417, 0.0305124093, 0.0031911652, -0.0237722173, 0.0451584384, 0.0182879958, 0.0423875935, -0.0441070609, 0.0384896994, 0.0072786119, -0.062942192, 0.0754691437, 0.0296211392, -0.0168830603, 0.0039871451, 0.0052635362, -0.0074225869, -0.0128347324, -0.0150863463, -0.0033987009, -0.0254840106, -0.0071948408, -0.073752366, -0.0090748863, 0.08166866, 0.018799508, -0.0514104404, -0.0494183674, -0.0538953505, -0.0208342485, -0.010045493, -0.0286009666, -0.0530823544, 0.0393601842, -0.0120938094, 0.0139635121, -0.0739909708, 0.0506293178, 0.056008283, 0.0428891815, 0.0061847372, 0.0212114062, 0.0458997935, -0.0124988584, -0.0458339565, 0.0071432479, -0.0068476843, 0.010470558, 0.053856533, 0.009104969, -0.0170842521, -0.0094283121, -0.0832307711, -0.0052975439, -0.0172179248, -0.0117354123, -0.0140824718, -0.0113061368, 0.0011539488, -0.0274332706, -0.0346339121, 0.0098401643, -0.0116612613, 0.0149101932, 0.0633399934, 0.0165920686, -0.0327507593, -0.0043697087, 0.016515851, -0.0033383681, 0.0449436717, 0.0478622541, -0.0747885406, -0.0539545491, 0.0203153566, -0.0091609899, -0.0057389964, 0.0164005831, -0.0348295979, -0.0137171084, -0.0329185277, -0.0338062868, 0.0396314561, 0.0292045698, 0.0175680127, 0.0380994081, 0.0332902037, -0.0224178508, 0.0114553235, -0.0219816938, -0.0318051316, -0.0054767723, -0.0272277948, 0.0018305414, 0.0573870018, 0.0294457041, 0.0091322949, -0.0632877648, 0.00972775, -0.0215210598, 0.0014067218, -0.0893039405, 0.0304447692, -0.0066123428, 0.0340624712, 0.0173242968, -0.0379588753, 0.0681908801, -0.0121249193, -0.0035968404, -0.042831108, -0.0398695059, -0.0413840599, 0.0214445535, 0.006026973, 0.0074923155, 0.0463515781, -0.0364365652, -0.0410928987, -0.0464552045, 0.0293935295, -0.0013336203, 0.0086396765, -0.0263312533, 0.0052093957, -0.0152784446, -0.0594354793, -0.0263382159, -0.0883472636, -0.0470020771, 0.0309560262, -0.0211301353, 0.0214770548, -0.0316622928, 0.0091507575, 0.0393315405, 0.0585117005, -0.0331689194, -0.0199503954, -0.0188617371, 0.0532090962, 0.0297434237, -0.0226380527, -0.0467342921, -0.003670926, 0.0727679133, 0.0137054333, -0.0130402213, 0.0316426679, -0.0060639163, -0.0072909864, 0.0251606572, -0.0294327736, -0.0492436625, 0.0185034703, 0.0346495658, -0.0392189398, -0.011391365, 0.1060011238, 0.0306548905, -0.0577991568, -0.0285763964, -0.0024229614, 0.0139384698, 0.0373450294, 0.0584239587, -0.0598545745, -0.0692618042, -0.0046629449, 0.0302026607, -0.0211019088, 0.0136856623, -0.0236789864, -0.1070590913, 0.0199081693, 0.0019364, -0.0506694242, 0.0257538725, -0.0387688875, 0.0087961406, -0.0125027923, -0.021719208, -0.0223563034, -0.0069993446, -0.0050996938, 0.0154509172, -0.0390964411, -0.0292741265, 0.0332673788, -0.0040952959, 0.0226342399, 0.0501957573, 0.014317207, -0.0328080952, -0.0004798769, 0.0396806002, -0.046312768, 0.0031741112, -0.0178547595, 0.0567289405, -0.0093504395, -0.0086663524, 0.0066244928, 0.006791078, 0.0261249337, -0.0296846312, 0.0151672382, 0.035884846, 0.0043751691, 0.0042584087, -0.0059193778, -0.0012788122, 0.0100271823, 0.0635924935, 0.0238360111, -0.0792283341, -0.0428574272, -0.0400247835, -0.0278074741, -0.067985177, -0.0277951751, 0.0056781694, -0.039865315, -0.0879202932, -0.0649584681, -0.0622376017, 0.0525724553, 0.0222822148, -0.0082811872, 0.0268524196, -0.0464184135, 0.0150299361, 0.0011996747, -0.007629164, 0.0093066292, 0.0184755903, -0.0700488612, -0.0302938353, 0.0653322339, -0.0699985251, -0.0164909456, -0.0194314159, -0.0480889492, -0.0321575664, -0.0299279653, 0.0337646976, 0.0076937708, 0.0412826166, -0.022170512, -0.1013126746, 0.0734138414, 0.1292913556, -0.0173277836, 0.0244655944, 0.0314376354, 0.0623474531, -0.0464373678, 0.030316351, -0.0314622074, 0.0279571861, 0.0115874475, -0.0257764254, -0.0610823035, -0.0059733829, 0.0087429797, 0.0127002122, 0.0783421472, -0.0578661263, -0.0353113487, -0.0150550324, 0.004438852, 0.0042000692, -0.0481459275, -0.0225017611, 0.0124093909, 0.0014715253, -0.0628990009, -0.0211899951, -0.0444347747, -0.0412303694, 0.0477736853, -0.0320119746, -0.02200922, 0.0140090287, 0.0432992987, 0.0126862423, 0.0220109709, -0.0296360701, 0.0174570177, 0.0290694684, 0.025767874, -0.0529784188, 0.0706807002, 0.0087229358, 0.009533098, -0.0320212729, -0.0049705859, -0.0326441042, 0.0041809231, -0.0324031338, 0.0159009825, 0.0253217872, -0.0002484935, -0.0030632226, -0.0033811713, -0.0361703858, -0.0217482224, 0.0531199314, 0.0099820634, -0.0585940927, 0.0300971549, 0.0022665898, -0.0336899534, -0.0045832605, 0.0654264912, 0.0243598986, -0.0097644292, 0.012708379, 0.0124043608, -0.0570634864, 0.0465883613, 0.0701316148, 0.0287552346, 0.0033258237, 0.0217667483, -0.0476424731, -0.0120232431, 0.0447017476, -0.0528490245, -0.0296540521, -0.0073425085, 0.0297618452, 0.0385742895, 0.0001054515, -0.0036917038, -0.0730638131, 0.0079797804, 0.0385103002, 0.0062061064, -0.0117167393, -5.707450455e-33, -0.0396305546, -0.0252868515, 0.001227965, 0.0141157154, 0.0607137904, -0.0047274437, -0.0195256732, 0.0027733061, 0.0211449731, 0.0433272794, -0.0040185298, -0.0216806643, 0.0155204702, 0.0427988805, 0.0481857844, -0.0344286747, 0.0345522836, 0.0012083797, -0.0270197242, 0.0248898305, 0.0361383446, 0.040237952, 0.0255296938, -0.0289679896, 0.0287133232, 0.0127754891, -0.0375735871, -0.0059155617, 0.0418144502, 0.0534225665, -0.0074169314, 0.0649866685, 0.0210449826, -0.016464984, 0.0069344849, 0.0675099716, -0.0816447139, -0.0417284667, -0.0274279583, 0.0261070523, -0.0021439104, -0.0541563034, -0.0233038217, -0.0355682597, 0.0011725799, -0.005590592, 0.0591115505, -0.0345660411, -0.0618424155, -0.0460144915, -0.0319302045, 0.0253587384, 0.0018722197, -0.0195074063, 0.0384385176, 0.0780971497, -0.0004929418, 0.0582876578, -0.0664671138, 0.018432755, 0.0123105552, 0.0127716595, 0.0120643293, 0.0389414653, -0.0492734089, 0.0579216331, 0.0432866961, -0.0017682392, -0.0069680647, 0.0177754536, 0.0005199327, 0.0081196036, 0.0376671255, 0.0654527619, 0.0446373112, -0.029251039, -0.0562801436, 0.0114851035, 0.0365466513, -0.0070519974, 0.0238855463, -0.0143716801, -0.0657050163, -0.0526014157, -0.0246021021, -0.0517373644, -0.0631457567, 0.0116517749, 0.0188013017, 0.0419310331, -0.0157616027, 0.0064762183, 0.0462845564, -0.0091395481, -0.0479880497, 0.0026094157, -0.031467706, 0.045469366, -0.0133795012, -0.0263284519, -0.0377747826, -0.0420037247, 0.0102660088, 0.003255123, 0.0154890101, 0.0307765715, 0.0769604966, 0.005422357, -0.0829791427, 0.0065871882, 0.0122011555, -0.0021494168, 0.0151981991, 0.0160422511, -0.0046064197, 0.0503256693, -0.0169783905, 0.0964165926, 0.0192210451, -0.0442147106, 0.0184855163, -0.0152846249, -0.027397437, 0.0124852927, -0.0093000494, 0.0048096171, 0.0264655873, 0.0296816099, 0.0273292437, -0.021502208, 0.0239263251, 0.002232498, 2.59e-7, 0.0450519286, 0.0527033396, -0.0449671894, 0.0020261838, -0.01018517, 0.0730975196, 0.0120562306, 0.0098235467, -0.0180846248, 0.0133558298, -0.0011541921, -0.0078219175, 0.0425642096, 0.0200944021, -0.0840778798, 0.0110143637, -0.0319440439, 0.0151537666, -0.0458294414, 0.0112554571, 0.0915556848, 0.092706047, 0.036245387, -0.0075597344, -0.0216490943, -0.0412124395, 0.0460987613, 0.0075610937, -0.0093689384, 0.033238668, 0.0454809554, 0.0015921557, -0.0030783932, 0.0436033346, -0.0568196587, -0.0031317272, -0.0053073904, 0.0502644107, -0.0076731429, -0.000108697, 0.0035496091, 0.0096590184, 0.0010450635, -0.0227573924, 0.0909570456, -0.0704857036, 0.0110043064, 0.0265811328, -0.0025480709, -0.0067987493, 0.0434627868, -0.0224728398, -0.0411059, 0.026544366, 0.0378836058, 0.0012085534, -0.0338838734, -0.1085678712, -0.0147301191, 0.0041771247, -0.0088671027, -0.0000476848, -0.0102581466, -0.003227181, 0.0292571858, -0.086084947, 0.0348443836, 2.169482961e-34, 0.0201956164, -0.0055760015, -0.0227742065, 0.0189212989, 0.0068636835, -0.0080304705, -0.0120067159, 0.0401407965, 0.05855795, -0.0565186553, -0.0021226138 ]
http://arxiv.org/abs/2310.12774v1
http://arxiv.org/pdf/2310.12774v1
Survival of the Most Influential Prompts: Efficient Black-Box Prompt Search via Clustering and Pruning
2023-10-19T14:25:06
2023-10-19T14:25:06
Han Zhou, Xingchen Wan, Ivan Vulić, Anna Korhonen
cs.CL
cs.CL, cs.AI, cs.LG
Prompt-based learning has been an effective paradigm for large pretrained language models (LLM), enabling few-shot or even zero-shot learning. Black-box prompt search has received growing interest recently for its distinctive properties of gradient-free optimization, proven particularly useful and powerful for model-as-a-service usage. However, the discrete nature and the complexity of combinatorial optimization hinder the efficiency of modern black-box approaches. Despite extensive research on search algorithms, the crucial aspect of search space design and optimization has been largely overlooked. In this paper, we first conduct a sensitivity analysis by prompting LLM, revealing that only a small number of tokens exert a disproportionate amount of influence on LLM predictions. Leveraging this insight, we propose the Clustering and Pruning for Efficient Black-box Prompt Search (ClaPS), a simple black-box search method that first clusters and prunes the search space to focus exclusively on influential prompt tokens. By employing even simple search methods within the pruned search space, ClaPS achieves state-of-the-art performance across various tasks and LLMs, surpassing the performance of complex approaches while significantly reducing search costs. Our findings underscore the critical role of search space design and optimization in enhancing both the usefulness and the efficiency of black-box prompt-based learning.
[ 0.0442414731, 0.0245378073, -0.0035924476, 0.0132241687, -0.0306129456, -0.0040667318, 0.0615453087, 0.0194041785, 0.0157746822, -0.0208185483, -0.0732379481, -0.034513142, -0.0084637264, 0.0277751181, 0.0232396983, -0.0104799634, 0.0510187373, -0.024714632, 0.0077804071, -0.0180190019, -0.014006936, 0.0186883975, -0.0132327927, 0.055809103, -0.0139075285, -0.0120573612, -0.0266328678, 0.0297978185, -0.0263957642, -0.0203658864, 0.0072319433, 0.0845636129, 0.0126780579, 0.0721297264, 0.000002235, -0.0473548211, -0.0493747368, -0.0227663796, -0.0979916006, 0.0229705963, 0.0243418943, 0.0361821055, 0.0077605122, 0.0404513925, -0.0163913742, -0.0314217992, 0.0589507818, 0.0041956385, 0.0320471786, 0.0947906747, -0.002326821, 0.0193170458, -0.0212620944, -0.0465999059, 0.0098078605, -0.0502301641, 0.0103665367, -0.0832599401, -0.0042363997, 0.0137741165, -0.0250633061, 0.0574505962, 0.0120942453, -0.0173383094, -0.0016769124, 0.0393226966, -0.0263871811, -0.0337390341, -0.0534886122, 0.0830809176, -0.0357049629, -0.019754041, 0.0057253786, -0.0403084904, -0.0113470955, -0.0098007508, -0.021648027, 0.0100874221, 0.0131811313, -0.007609325, -0.0326131806, 0.0162479766, 0.0311584137, -0.0003088739, -0.0183506571, 0.0726794899, 0.0176885836, -0.0379480757, 0.015497948, 0.000450004, -0.0121660354, -0.0675996616, 0.0137328822, 0.0150600048, -0.0745589882, 0.0165335406, -0.0124399532, -0.0323481336, 0.0077114664, 0.027398115, 0.076158464, 0.04159154, -0.0425373763, 0.0657694563, -0.0127277402, 0.0215232577, -0.0058941068, 0.0241492484, -0.0376058184, 0.0177328605, 0.0012247168, -0.0348096006, -0.0913813114, 0.0270267874, -0.0424068905, -0.0359128304, -0.0082813427, 0.0192471296, 0.0180464871, -0.0082353093, 0.0110751512, 0.0022817201, 0.0194192287, -0.0169216432, 0.0086075151, -0.008806522, -0.034474954, 0.011194082, 0.0004998084, -0.0547510087, -0.0222065896, 0.0164618269, 0.0029440129, -0.028828973, 0.0152300829, 0.0359599255, -0.0103470441, -0.0572744794, -0.0247771051, -0.0239308197, -0.007844382, -0.0151762376, -0.0222947318, -0.0338041373, 0.0320480131, -0.0127075706, 0.0094344066, -0.0195488483, -0.0190390889, 0.0161002316, -0.0020491439, 0.0581596047, -0.0033172988, 0.0227953121, 0.0404977426, -0.0193861183, -0.0100570368, 0.0725019574, -0.0120385, 0.0510157347, 0.06002919, -0.006851458, 0.0154678738, 0.0544443317, 0.0454033241, 0.01957421, 0.0059139864, 0.029928511, 0.0438150801, 0.0390445031, -0.0042607845, 0.0216510333, -0.0267322566, -0.0115194404, 0.0364680178, 0.0654287562, -0.0263805725, -0.020016484, 0.0563328154, 0.0124177048, -0.013530585, -0.0373856165, -0.0380838625, -0.0153946467, -0.056170132, -0.0355901681, 0.0430545732, 0.0265451521, -0.0488420911, -0.0294021536, 0.0251630768, 0.0067387023, -0.028150348, 0.0480645746, 0.0257670172, -0.0062082778, -0.0824871734, 0.0706813782, 0.0161446966, -0.035810668, -0.009093211, -0.0763793066, 0.0329699777, 0.0408164673, 0.0565372929, -0.0330366716, -0.0130695496, 0.0024397552, 0.0551153459, 0.0219665971, 0.017522838, -0.0020042213, 0.0291702412, -0.0593195297, -0.0415882878, 0.0253965575, 0.0205666814, 0.0450976938, 0.0051848316, 0.0039085806, 0.0140723716, 0.002909824, -0.0174285825, 0.0414084308, 0.0035269242, -0.0480340533, 0.0259145126, 0.0382513478, 0.0433296785, 0.0022262766, 0.0069772638, 0.000398558, 0.0124418922, -0.0188189466, 0.0016863891, -0.0460624248, -0.0684867576, -0.0504341274, -0.0047902325, 0.0341944583, 0.0135659436, 0.0368721336, -0.0493561327, -0.033978913, -0.0226636846, -0.0254385415, 0.0663549155, -0.0213171635, 0.0340407379, -0.0231893212, 0.0285708271, -0.0449381657, 0.0195801519, 0.0158448759, 0.0026280144, 0.0234488025, 0.0338423289, 0.0199620575, -0.0521318279, -0.0408877879, -0.0102892807, -0.0216346383, 0.0038177422, 0.0319367275, 0.0174192209, -0.0304227527, 0.0063539604, -0.1255919188, 0.0095148422, -0.048747398, -0.0183344968, 0.0141764721, 0.0447269566, -0.0366805419, -0.0493588671, 0.0008440089, -0.0228719525, -0.004746242, 0.0294201896, 0.0037621893, 0.0320865288, -0.0319736525, -0.0420703143, -0.0338737853, 0.006305574, 0.0535018593, -0.0152910864, -0.0017953622, -0.0194252208, 0.0392302908, -0.0078806747, 0.0221944619, -0.0038143406, -0.0206421316, 0.0016828295, -0.0263465401, 0.0269140098, 0.0664087161, 0.0337120257, 0.003860177, 0.0235902481, -0.00159159, -0.0772772953, 0.0121036954, -0.049898278, -0.0609704144, -0.0155042009, -0.0105862096, 0.0834697932, 0.0711519793, 0.0074794325, -0.0037935413, -0.0868279487, 0.0111163957, 0.0055627292, -0.0230002329, -0.1052289605, -0.0031134258, -0.0306966957, 0.0619146377, -0.011035529, -0.0598199368, 0.0613609999, -0.040294122, -0.0058160503, -0.0079977335, -0.0062312265, -0.0295594241, 0.023900833, -0.0049212808, 0.0069307894, 0.0245768093, -0.0398496427, -0.0474598669, 0.0149430847, 0.0040851338, -0.0239820462, 0.0073270053, 0.0166738965, 0.0074910829, 0.0117498534, -0.0489457138, -0.0246701669, -0.0938946605, -0.0222929213, -0.0071796849, 0.0155423926, 0.0134478072, -0.0198691506, 0.0137084089, -0.0088859629, 0.0860982463, -0.0242362339, 0.002208184, -0.0250571463, 0.0128660705, 0.0315858349, -0.0306593757, 0.0197769608, -0.0348301493, 0.0206365138, 0.0060212831, 0.0564541332, -0.0207562, 0.0138188601, -0.0070201936, 0.0710780621, -0.0314504132, -0.031139018, 0.0269830376, 0.0362356491, -0.034204185, -0.014475856, 0.134148702, 0.0251191277, -0.0829573274, -0.0114963958, -0.003788745, 0.0350157917, -0.0007164536, 0.0507182851, -0.0335915312, -0.0435476415, 0.0160985719, 0.0476419441, -0.0223415606, -0.0302318875, -0.0247072615, -0.1308003813, 0.0280974954, -0.013363312, -0.02624874, 0.0149679147, -0.0276286919, 0.0006015945, -0.0225757323, 0.0160734151, 0.0262857005, -0.0081744399, -0.0120525565, 0.0173119754, -0.0168887731, -0.0285643004, 0.0329769962, -0.0244271886, 0.0286029652, 0.0961849168, -0.0177558139, 0.0240587611, 0.0029674249, 0.0477848351, -0.0055865198, -0.0059651462, -0.0367984623, 0.0267484039, -0.0379287563, -0.0043498548, 0.0265686028, 0.0128012039, -0.0243153293, 0.0125433244, 0.0303072464, 0.0601642095, -0.013478254, 0.0020726842, -0.007909392, -0.0134827476, 0.0396094136, 0.098293595, 0.0299758073, -0.0603809059, -0.0186680704, -0.0220681578, 0.0192479622, -0.0222091693, -0.0163768623, -0.0129243275, -0.0121892877, 0.0181934163, -0.0369486287, 0.024143301, 0.0270352829, 0.0556150116, -0.0099845091, 0.014851992, -0.0223083701, -0.0011364308, -0.0113003226, 0.0282515641, -0.0528556667, 0.015516324, -0.1190268323, -0.0086138602, 0.0280346815, -0.0318869762, -0.0319248959, -0.0205914304, -0.0714787394, -0.0473075882, -0.0018248514, 0.0465976261, 0.0180878583, 0.0480318815, -0.0238596201, -0.0677850619, 0.1091929302, 0.0576005355, -0.0252723116, 0.0088208951, 0.0251891315, -0.0082607856, -0.0184031781, 0.0364969373, -0.0607918613, 0.0108795715, 0.0560992882, 0.0166418403, -0.0186014846, -0.0056222277, -0.0005456048, 0.0264421906, 0.0881014541, -0.0460717864, -0.0231152605, -0.046030093, 0.0443780757, 0.0114930812, 0.0037393705, -0.0499371029, 0.0185275599, 0.0005976378, -0.0313845463, 0.0003399904, 0.0036316409, -0.0143915974, 0.03947936, -0.0404878184, 0.0118382182, 0.0164878387, -0.0107880579, 0.0859633908, -0.0117257461, 0.0121510271, 0.0512866639, 0.0084694335, 0.0174876209, -0.034569338, 0.04491961, 0.0402824841, 0.0085018408, -0.0292207021, 0.0706634596, -0.043095462, -0.0776021332, -0.0364534296, 0.0234636776, 0.0313138887, -0.0246419776, -0.0258957911, -0.0129760457, -0.0042473469, -0.0217447951, -0.0105746351, 0.0301436447, -0.0276565477, 0.0191429853, 0.035991542, -0.0142816184, 0.0288433395, 0.0699874833, -0.006873636, 0.0474871174, -0.0040296977, -0.0119524263, -0.0405382216, -0.0095416754, 0.025723353, 0.0282567032, -0.0245414432, 0.020580085, -0.0466737822, -0.034369085, -0.0012679182, -0.0072037131, -0.0505417809, 0.0046457178, 0.0712952316, 0.0756088644, -0.0046271966, 0.0383527726, -0.0334434435, -0.0321997851, -0.0215117261, -0.0418388806, 0.0096975258, -7.05123519e-33, -0.0295311268, -0.024082236, 0.0032834501, -0.0359134302, -0.0121012926, 0.0277976021, -0.0170885436, -0.0093643945, -0.0013953593, -0.0148649644, -0.0560359769, -0.0024475676, 0.0293660667, 0.0365127549, 0.0002479799, -0.0028830187, 0.0560111217, -0.0201281738, -0.0642098412, 0.0301340111, 0.0201330315, 0.0549728945, -0.0081474157, 0.0310566071, -0.0171978623, 0.0000788541, -0.0108705116, 0.0514060408, -0.001165348, 0.0592846163, 0.0005236352, 0.0305923801, -0.0088770138, -0.0438068025, -0.0169232637, 0.0506995507, -0.0449861623, -0.0275055487, 0.0067383721, -0.0016392973, -0.0302277729, -0.0090421662, -0.0107867951, -0.0178805143, -0.0066314293, 0.023286337, 0.0104939044, -0.0058432198, -0.0409510396, -0.0187696181, -0.0086630303, 0.0040714047, -0.0094983447, -0.0354272649, 0.0105367713, 0.0382056013, 0.0075866934, 0.0364983827, -0.0258619078, 0.028389385, 0.0150274858, 0.0501645431, 0.0449405536, 0.0713742375, 0.0229755286, 0.0477100909, 0.0483690389, -0.009263101, -0.0064824517, -0.0078082071, 0.0339488722, -0.0085834851, 0.0138456561, 0.0174121205, 0.0191156026, -0.0158760324, -0.0489461236, -0.0094241295, 0.0305619463, -0.0176213998, 0.0531901829, -0.0087097222, -0.0174053814, -0.0440589078, -0.0469398201, -0.0422528721, -0.0347403772, -0.0040276828, 0.0431862138, 0.0477707013, -0.0289793219, -0.0514056161, 0.0678825378, -0.0012937264, 0.0277774353, 0.0139148673, 0.0045970418, 0.0022714951, 0.0217746403, 0.0318095237, -0.064594835, -0.0323450193, 0.0116093336, -0.0386343896, 0.0007598625, -0.0012667247, -0.0014555838, 0.0410797894, -0.0754911825, 0.0076065925, -0.0054318639, 0.0368110947, 0.0025208187, 0.0058037983, 0.0372967348, -0.0037997921, 0.0088822395, 0.0687176064, 0.0171408579, -0.0257009882, 0.009187161, -0.0119269649, -0.0240010172, 0.0105690146, -0.0476659797, 0.0076283268, -0.010508013, 0.017308889, 0.0546012744, -0.0295128934, -0.015406305, 0.0009624595, 2.886e-7, 0.023091523, 0.0350321829, -0.0204438493, 0.0151214441, 0.0090503115, 0.0444324128, 0.0100287516, -0.0162857585, -0.0020063412, -0.0024656111, 0.0330266729, 0.0080751013, 0.0617995039, -0.0231420416, -0.1260925978, -0.0072540254, -0.0983762071, 0.054637894, -0.0607906245, -0.0226047449, 0.0132334745, 0.1120138243, 0.0130418101, -0.0298504774, -0.0368131325, -0.0217667166, 0.03364053, -0.0487453826, 0.0167803168, 0.0428164415, 0.0177283343, -0.0048074899, -0.0122745968, 0.0097118933, -0.016712172, 0.0390124135, -0.005667353, 0.0650273561, 0.0402714014, -0.0505836792, 0.0223491192, 0.0222839694, -0.0207552202, -0.0554778017, 0.0908385962, -0.0410981998, 0.0050376938, -0.0470573492, 0.0039334544, -0.0424161181, 0.0301517695, -0.0527583584, -0.0090826051, 0.03627453, 0.0124703581, -0.0205327794, 0.0084191076, -0.1078919396, 0.0048407526, -0.0322608799, -0.0254826304, -0.0399719439, -0.0523989983, -0.0047499021, -0.0045054979, -0.0461492501, 0.0193046536, 2.964128851e-34, 0.0455238596, -0.0393429808, 0.0321351625, 0.0382201895, 0.0052124984, -0.001063053, -0.0087381098, 0.0083062723, 0.0219070353, -0.0788853541, -0.0166000221 ]
http://arxiv.org/abs/2310.12766v1
http://arxiv.org/pdf/2310.12766v1
Transformer-based Entity Legal Form Classification
2023-10-19T14:11:43
2023-10-19T14:11:43
Alexander Arimond, Mauro Molteni, Dominik Jany, Zornitsa Manolova, Damian Borth, Andreas G. F. Hoepner
cs.CL
cs.CL, cs.LG
We propose the application of Transformer-based language models for classifying entity legal forms from raw legal entity names. Specifically, we employ various BERT variants and compare their performance against multiple traditional baselines. Our evaluation encompasses a substantial subset of freely available Legal Entity Identifier (LEI) data, comprising over 1.1 million legal entities from 30 different legal jurisdictions. The ground truth labels for classification per jurisdiction are taken from the Entity Legal Form (ELF) code standard (ISO 20275). Our findings demonstrate that pre-trained BERT variants outperform traditional text classification approaches in terms of F1 score, while also performing comparably well in the Macro F1 Score. Moreover, the validity of our proposal is supported by the outcome of third-party expert reviews conducted in ten selected jurisdictions. This study highlights the significant potential of Transformer-based models in advancing data standardization and data integration. The presented approaches can greatly benefit financial institutions, corporations, governments and other organizations in assessing business relationships, understanding risk exposure, and promoting effective governance.
[ 0.0403048061, 0.0683367103, -0.0027545444, -0.0004945243, -0.0016415144, 0.0316933356, 0.05076975, 0.0560253561, 0.0126718134, -0.0820581913, -0.0283139665, -0.0306809414, -0.0019337706, 0.0122859254, 0.008691648, -0.0314320736, 0.0403607786, 0.0294442903, 0.0379340351, -0.008806794, -0.0009471157, 0.0121271163, 0.0185236558, 0.0237304475, -0.015476888, 0.0400425047, 0.0061604385, -0.0047384473, 0.0005596738, 0.0271738023, 0.0220526122, 0.0817460939, 0.0094027063, 0.0602262206, 0.0000018049, -0.073082976, -0.0775432214, 0.012412467, -0.0129601518, 0.0308918934, -0.0268561952, -0.0512764677, -0.039920181, 0.0222408511, -0.0208245181, -0.0281332545, 0.0357448012, 0.0316473618, 0.0630167574, 0.0826644078, -0.0227144584, -0.0685795844, 0.0570116974, -0.0310125127, -0.0441852957, -0.0086371005, 0.0426135026, -0.0077880584, -0.0407933854, -0.0263548605, 0.0072176345, 0.0044250116, 0.0229242295, -0.0032423872, -0.020205088, 0.0333888903, -0.0488187745, 0.0092223147, -0.0143339485, 0.0346357301, 0.0388747826, -0.0204540119, 0.0190883931, 0.0056713312, 0.0487687811, 0.0219713543, 0.0097127436, 0.0729276463, -0.0044269962, 0.0200084746, -0.01131522, 0.0184581522, 0.0165065825, 0.0151110152, -0.0748359635, 0.0311022848, 0.0205636472, -0.0462051146, 0.0072775143, 0.0029030235, -0.0262958128, -0.0504795015, 0.0329116136, 0.0025580409, 0.027456753, 0.0155519024, -0.0585415773, -0.0512179323, 0.0324432999, -0.0585483797, -0.0002023674, 0.0051718815, -0.0309833419, 0.0308888257, -0.0781310052, 0.0406842083, -0.0059586694, 0.0423102044, 0.0120279873, -0.0170500539, -0.0422018059, 0.001880032, -0.0534051657, 0.0644073039, -0.0706272721, 0.0106739681, -0.0584089942, 0.0265384577, -0.0156690124, 0.035529051, 0.0261596143, -0.0199650042, 0.0417626537, -0.0334806032, -0.0511830151, -0.0183147155, -0.0058012912, 0.0105337733, -0.0088379662, -0.0116514321, 0.0625075176, -0.0160282589, -0.0019598955, -0.0353674926, 0.0291458853, 0.0359001122, 0.0222513955, -0.0438530259, -0.0357952267, 0.0090770246, -0.0158895925, -0.0239309575, -0.008830077, -0.0226302203, 0.0020611284, -0.0117379846, -0.0203874838, -0.0577150993, 0.0033693411, -0.0132828411, -0.0111537362, 0.0631051287, -0.0431316793, -0.0016310568, 0.0128666693, -0.0171532296, 0.0493509807, 0.008019723, 0.0268647037, -0.0179308206, 0.0436101891, -0.0446626283, 0.0207643099, 0.0710516274, 0.0088651245, -0.0100021176, 0.0122170122, 0.025775373, -0.0046074446, -0.0211339872, 0.017086884, 0.0520323254, 0.0168530848, -0.0454224348, 0.0514877811, 0.0136032673, 0.0443322696, 0.0399158485, -0.005494134, 0.0182987135, 0.0054084552, -0.0374736153, -0.0324226581, -0.0342216864, -0.0296696555, 0.0024714603, -0.0479790755, 0.0157060865, -0.0445380695, -0.0355153643, -0.0123595884, -0.0200402271, 0.0175247211, 0.0023759312, 0.048046872, 0.0154958675, -0.0629584193, 0.1334834844, 0.0001223082, -0.0520591624, -0.02829477, -0.0381936878, 0.0008654589, 0.0474443175, 0.0271162596, -0.0222700275, -0.0157751422, -0.050617639, -0.0352595784, 0.0476368628, 0.0312326197, -0.0025210078, -0.0068071517, -0.0223033242, -0.0179243311, 0.0755864158, 0.0219090506, 0.0256124604, -0.0087980255, 0.0028123595, 0.0218325052, -0.0694375858, -0.003969295, 0.044693619, 0.0060204077, -0.0384688228, 0.0299475081, 0.0469124727, -0.0063596764, 0.0274971463, -0.0213955473, -0.0142985275, 0.0285315663, 0.00815346, -0.030248018, -0.0023970108, 0.0212448891, 0.026270207, 0.0272887684, 0.0204895325, 0.0092566302, 0.0013151134, -0.0152327912, -0.020401407, -0.0692647845, -0.0131347608, 0.0295244493, -0.0565710962, 0.0205710437, -0.0367856137, 0.0011458666, -0.0365926586, 0.0548202917, -0.0293249749, 0.015375548, -0.0278364439, -0.0041366485, 0.0480658449, -0.0103335837, -0.0318838581, -0.0081920354, -0.0665863603, 0.0155524956, 0.0365577266, 0.0097845402, 0.0027738765, -0.0514010824, -0.091816403, -0.0059109125, -0.0244724173, 0.0236724056, -0.0028968044, -0.001235599, -0.0297819618, 0.0206134804, -0.0169089381, -0.0700971708, -0.0134912059, -0.0015416653, 0.039626848, -0.0222054496, -0.0549324676, 0.0104592256, -0.0275979843, -0.0259422287, 0.0336860903, 0.023140274, -0.040836215, -0.0636987388, 0.0098165106, -0.0209170245, 0.0006135332, 0.0092287529, -0.0020623805, -0.0132225063, 0.0295392629, 0.0173695087, 0.0216352176, 0.0280761532, 0.0297123082, -0.0363339037, 0.0148848342, -0.0589955412, -0.0140144117, 0.0027288564, 0.0374416076, -0.0362667963, -0.0115338741, 0.0512130558, 0.0502107479, -0.0425313935, -0.0030681586, -0.063064158, -0.0143168084, 0.0211873539, 0.0065962132, 0.0008810362, 0.0049320841, -0.0159180388, 0.0320876539, 0.0220100805, -0.0353144482, 0.0328483097, -0.0276907366, 0.0131156743, -0.0169688966, 0.0049292892, -0.0302120224, 0.0418903679, -0.0247676484, -0.0044624968, 0.0052343505, -0.0832281411, 0.0042205956, 0.0357651636, 0.0476951301, -0.0375388898, 0.0835583508, 0.0116912723, 0.0271084365, -0.0103856642, -0.0252994429, -0.0441848077, -0.0248130094, 0.0215916131, 0.0837935805, 0.0153711699, 0.0064925463, -0.0557458922, 0.066043213, -0.0369949713, 0.0042223898, 0.0128162727, -0.0106450962, 0.0031214883, 0.0365373194, -0.0114864968, -0.0307273623, 0.0487940982, -0.0208867434, -0.0177534074, -0.0305579957, 0.0015857781, 0.0047566472, 0.0157673564, -0.0352758616, 0.0106472028, -0.0979260132, -0.0128310416, 0.0070626549, -0.001262825, -0.0261028353, 0.0258005001, 0.1123247147, 0.027598517, 0.022368446, -0.0104918946, 0.0604868867, 0.0096767284, 0.026782576, 0.0380964428, -0.1015248001, 0.0226985905, -0.0204249471, -0.0097309053, -0.0027476565, -0.0438043326, 0.0418879203, -0.0868496671, 0.0510171466, -0.0167674646, -0.0257951729, -0.0461192429, -0.0095828744, -0.0095966915, -0.0352536067, 0.0118112275, -0.0205809046, -0.0305815544, -0.0355063491, 0.0567705072, -0.0452895947, 0.0088712042, -0.0280218534, -0.0709140152, 0.0086117676, 0.0839273334, -0.0013458993, -0.0583814345, -0.0342120305, -0.0376653187, -0.0510065705, -0.0583281852, 0.0087338835, 0.0524222851, -0.0099531356, -0.006450532, -0.0105814701, -0.0005713101, 0.0083656032, -0.0084288623, -0.0066839359, 0.0297504682, -0.0230210554, -0.0253346991, 0.0211149137, -0.0302901398, -0.015241907, 0.0656822622, -0.0101866303, -0.0538309515, -0.0101824347, -0.040155489, 0.0299709644, -0.0268125553, 0.0124661392, 0.0142132333, -0.0385079794, -0.0687469691, -0.0708626509, -0.0443206951, 0.0222262088, 0.0385312699, 0.0126443338, -0.0392604768, 0.0591369048, -0.0227367133, -0.0432718471, 0.0122630196, -0.0185505375, 0.0246709753, -0.0796229467, -0.0136870155, 0.0135716684, 0.0311426576, -0.0502121337, -0.0318921842, -0.0221328754, -0.0243115108, 0.018924864, 0.0174689069, 0.0179233961, -0.0284174215, -0.0237216521, 0.0023346697, 0.0577351898, 0.0473474674, -0.0268118475, -0.0505062975, 0.0701534674, -0.0250664074, -0.0320671462, -0.0065645953, -0.0337758884, 0.0160023589, 0.0469295196, 0.0137257511, -0.0317682363, -0.015187704, 0.0257055741, 0.0283281729, 0.0339815281, -0.0088096093, -0.0032163754, -0.0172305591, -0.0003652941, 0.0029935599, 0.0224989038, -0.0260771234, -0.0241656993, 0.0383735374, 0.0001650035, -0.0363201536, 0.1174187288, -0.0440247022, 0.0079540983, -0.0689920783, 0.0668609589, -0.0103274034, 0.0564256497, 0.0057992977, -0.0425142422, 0.0077700065, 0.0008109859, 0.0807753727, 0.0341493152, -0.0187510233, 0.0318756625, 0.0106912274, 0.0334880576, -0.0030917914, 0.0260605775, 0.0034788304, 0.0055747172, -0.0255927444, 0.0419772044, 0.0337477103, 0.0013392655, 0.0025819479, -0.0488733947, 0.0065451311, 0.0006308261, 0.0005741693, 0.0331051312, -0.0458857492, 0.025061043, 0.0028984244, -0.043352399, 0.0044909217, 0.0350986496, 0.0078126956, 0.0289251693, -0.0339276381, 0.0051240753, -0.0462618247, -0.0340252295, 0.0434364155, -0.0364362672, -0.0450291187, -0.0468208492, -0.0706283227, -0.0280349888, 0.0326092988, -0.0119392853, 0.0092799366, 0.0148489634, 0.0074349344, 0.0450311564, 0.0031747976, -0.0116643244, -0.0189272612, -0.0202086028, 0.0143569978, -0.0338833593, -0.0365404822, -5.155819609e-33, -0.0159219112, -0.0097679356, 0.011558379, -0.0199500434, 0.0084638, 0.0039983341, 0.0127547383, -0.0111435391, 0.0026496078, 0.0141408136, -0.0253282785, -0.0009567694, 0.0344227813, 0.0360675193, -0.0008388471, -0.0332555622, 0.0224856101, 0.0060588927, -0.0200870801, -0.0056321099, -0.0271923952, 0.0403197147, 0.081610769, -0.0824854001, 0.0408315435, 0.0201324075, -0.0396129563, -0.0026907478, 0.0214311406, 0.0723647773, 0.0192568712, -0.0038532778, 0.0071741557, -0.0797986239, 0.0112701338, 0.0408836827, -0.0902187079, 0.0374405868, -0.0106660714, 0.0260428786, 0.0690596849, -0.0161143802, 0.0560558885, -0.0272741765, -0.0483017936, 0.009163945, 0.0117783416, -0.0252790414, -0.0217342153, -0.091248557, -0.0691586435, 0.0446074083, 0.0100914417, 0.0522977971, 0.0619462878, 0.010964022, 0.0314246081, 0.0192555021, -0.0706651211, 0.0010326202, 0.0348516591, -0.0353542119, 0.0333398283, -0.0199918039, -0.0065063229, 0.0046353093, -0.001986227, 0.0174016934, -0.0345950536, -0.0102050072, 0.070559673, 0.0751389936, 0.0242458712, 0.0236724708, 0.001682449, -0.0407176465, -0.044905521, 0.0707153752, 0.0206656717, -0.0237794518, 0.0012179711, -0.0389315039, -0.0422687568, -0.0243684333, -0.0109718656, -0.041809015, 0.0046842927, -0.0000478438, 0.0114947278, -0.0196611602, 0.0025710373, 0.0207909942, 0.0305438731, -0.0522520766, -0.0731260031, 0.0007644777, 0.0094316099, 0.0531998128, 0.0023854699, 0.0173261836, -0.0362509191, -0.0539404564, 0.0426413566, -0.0044964193, -0.0160603672, -0.0067595695, 0.0455552824, -0.0205182787, -0.0866985992, 0.0196510684, 0.0281143561, 0.0253227521, 0.0183835384, 0.0382800959, -0.0122871809, 0.0305707641, 0.0379658528, -0.0125626288, 0.0218616333, -0.0325010866, -0.000340167, 0.0292118713, 0.0360434726, 0.0502655283, 0.0008634996, -0.0041913064, -0.0141335288, 0.0382196456, 0.018779926, 0.0020738004, 0.0057267072, 0.0260952003, 2.394e-7, 0.0947133973, 0.0705027208, 0.0037954426, -0.0240551028, -0.0187657177, 0.0316514857, 0.0565396361, 0.0396226682, -0.0117004355, 0.0032389637, 0.030275831, -0.071482271, 0.0520622432, 0.0299940035, -0.08238516, -0.0626448169, -0.0565761589, 0.0146241896, -0.0702675655, 0.0459271707, 0.0316865295, 0.0832067803, 0.0253841225, -0.0371241421, -0.0062313643, -0.0029891867, 0.0443432778, -0.0565747432, 0.0311846919, 0.0254607182, 0.0583707057, -0.0308366548, 0.0235682204, 0.0337191783, -0.0174467564, 0.0442813262, -0.0137787722, 0.0631329939, 0.0039613368, 0.0385474153, -0.0052929004, -0.0679553598, -0.0060399259, -0.0467288829, 0.0387955308, -0.0327512883, -0.0143068517, 0.0480430275, -0.0767142698, -0.0084654931, -0.0028733762, 0.0170066226, -0.0198384132, 0.0321357101, 0.0631015003, -0.0285771824, 0.021231696, -0.0518251881, 0.0389040783, 0.0137037421, -0.00463313, 0.0446072407, -0.017122766, -0.0192305204, 0.0554279462, -0.0477515124, 0.0389719978, 2.488301595e-34, -0.0052583101, -0.0096311029, -0.0039174319, 0.0530032776, 0.0449847393, 0.014919403, 0.028904397, 0.0169407986, -0.0374674462, -0.0615136772, 0.032055743 ]
http://arxiv.org/abs/2310.12751v1
http://arxiv.org/pdf/2310.12751v1
Character-level Chinese Backpack Language Models
2023-10-19T13:54:57
2023-10-19T13:54:57
Hao Sun, John Hewitt
cs.CL
cs.CL
The Backpack is a Transformer alternative shown to improve interpretability in English language modeling by decomposing predictions into a weighted sum of token sense components. However, Backpacks' reliance on token-defined meaning raises questions as to their potential for languages other than English, a language for which subword tokenization provides a reasonable approximation for lexical items. In this work, we train, evaluate, interpret, and control Backpack language models in character-tokenized Chinese, in which words are often composed of many characters. We find that our (134M parameter) Chinese Backpack language model performs comparably to a (104M parameter) Transformer, and learns rich character-level meanings that log-additively compose to form word meanings. In SimLex-style lexical semantic evaluations, simple averages of Backpack character senses outperform input embeddings from a Transformer. We find that complex multi-character meanings are often formed by using the same per-character sense weights consistently across context. Exploring interpretability-through control, we show that we can localize a source of gender bias in our Backpacks to specific character senses and intervene to reduce the bias.
[ 0.0305825192, 0.0632610098, -0.0031217984, 0.0413462371, 0.0218756422, 0.0131184617, 0.0266441591, -0.0066043264, -0.0269013047, -0.0341811068, -0.0314072743, -0.0728382692, 0.0287980009, 0.0360801332, 0.0318887867, -0.0350900404, 0.0361923799, -0.0068103964, -0.0286634546, -0.0023796132, 0.0180019476, 0.0083881607, 0.0452258475, 0.0809576884, 0.0056070834, -0.0271944012, -0.0018481028, 0.0323835723, -0.0063447189, -0.0029698985, 0.0098670358, 0.0273055024, 0.0126899108, 0.0192436557, 0.0000020175, -0.0467623658, -0.0488711856, 0.0080266623, -0.0383211374, 0.0241733398, 0.085625872, -0.0667019114, -0.0157059841, 0.0005111324, -0.0030353419, -0.0508117042, 0.0531234704, 0.0692385361, 0.0291784815, -0.0016057504, -0.0132035147, -0.0466072373, -0.0149715394, -0.0422760881, 0.0118746106, -0.0157716312, 0.0101142311, 0.0116202878, -0.0293895695, -0.0166189354, -0.0814083219, 0.0126944631, 0.0223805066, -0.0009372067, 0.0033812525, 0.0278588403, -0.0287986472, -0.0297866054, 0.0153088337, 0.0527021401, -0.0507330783, -0.0327508487, -0.0367179178, -0.015547201, -0.0200704727, -0.0175638646, -0.0263147093, 0.0009760146, 0.0333726518, 0.0152677707, 0.0415794663, 0.0048806388, 0.0475863144, 0.0371153541, -0.0717607439, 0.0752069131, 0.0077167805, -0.0183583237, -0.0380113795, -0.0196731724, -0.0400862843, -0.0170476697, 0.01131065, -0.005817777, 0.007301203, 0.0416538864, 0.0190553851, -0.0183617137, 0.0019258523, -0.0254574511, 0.0082714194, 0.0690948442, -0.0306799486, 0.0222904589, -0.0572100095, 0.0662785396, -0.0197821688, 0.0504365265, -0.0703603253, -0.0619242787, -0.0327247865, -0.0322829708, -0.0723209754, 0.0250176862, -0.061813999, -0.0078218346, -0.0563020445, 0.013537446, -0.005046872, -0.0502399467, 0.0463628955, 0.0003904359, -0.0595389418, -0.0319574326, 0.0250567291, 0.0525162369, -0.0121269552, 0.0274357907, -0.039261125, -0.0428710096, -0.0130144842, 0.0150271999, -0.0013239147, -0.0358446613, -0.0201760828, 0.063648805, -0.0109651964, -0.0376520455, -0.0302359983, -0.0090518352, -0.0363116972, -0.0199049991, -0.02691257, -0.0542264581, 0.0171466172, 0.0102347154, 0.0627747625, -0.0661391616, 0.00134225, -0.025379369, -0.0018313287, 0.0870970786, 0.0628416464, -0.0158806425, -0.0158426836, 0.0129479226, -0.0340557136, 0.0671204776, 0.0622930489, 0.0498354137, 0.037192829, -0.012311955, -0.0422364138, 0.0256751683, 0.0062148278, -0.0131413424, -0.0535194315, -0.0133712944, -0.0012698538, 0.0493549779, 0.0255966894, 0.0500486381, -0.0180628505, 0.0127060534, 0.0601183176, 0.0575009361, 0.0641533136, 0.007507809, 0.0493712351, -0.0027459518, -0.0445165932, -0.0190897714, -0.0470565036, 0.0091238599, -0.0117966868, -0.0116807856, -0.0205284059, 0.0157546382, -0.015633231, -0.0524365827, -0.0161282346, -0.0282270256, 0.0545275658, -0.0109196492, 0.0362324007, 0.0141531955, -0.0158066358, 0.0679672956, 0.0393411368, -0.0560113154, 0.0400409438, -0.0447131097, 0.0190735832, 0.0739761367, 0.0155246155, 0.0146645764, 0.0153993005, -0.0048785899, -0.0132134715, 0.0235908907, 0.0095444666, 0.0016513341, 0.0458641537, -0.071405001, -0.0004776925, 0.043099612, 0.0201342739, 0.0377708115, -0.0017308265, 0.0219473541, 0.0097235339, -0.0778492764, -0.022066813, 0.038045641, -0.0341498889, -0.0376611054, 0.0269742142, 0.0195069145, 0.0044630924, 0.002867941, -0.0105122095, 0.0243734028, -0.0020370157, -0.0617610067, -0.0478633195, 0.0486877784, -0.0344665907, -0.0262747481, 0.0227405746, -0.0209111776, -0.0175257884, 0.0306888744, -0.0247596651, -0.0378419906, 0.0360439904, -0.0222637914, 0.0627118871, -0.0835264027, 0.0107885422, -0.0236174203, 0.0548579358, -0.0262233634, 0.0417672507, -0.0367066078, -0.0058760149, -0.0246061403, 0.0199995022, 0.0221477114, -0.0198547691, -0.0664921552, 0.0181673076, 0.0161414165, 0.0144904871, 0.0328018777, -0.0050999904, 0.010084074, -0.056275703, -0.0672078207, -0.0106460005, -0.0272886846, -0.0221764687, 0.018382512, 0.0439968444, -0.0025171658, -0.0027449513, -0.0149399936, -0.0177056957, -0.0356780551, 0.0193235148, 0.0321150608, -0.0222782996, 0.0042607035, -0.0181244835, -0.0372264646, -0.0333201736, 0.0717628524, -0.0141153214, -0.0258027725, -0.0261977725, -0.0563647673, 0.003479464, -0.0216856841, -0.0229215156, -0.0716240034, -0.0143936072, -0.005887066, 0.0414923057, 0.0676263198, 0.037596032, 0.0560451001, 0.0466605537, 0.0201880448, -0.0637777671, -0.0173537657, 0.0269936733, 0.0095213018, -0.0242000446, -0.0565736294, -0.0400026627, 0.088268131, 0.0147215044, -0.0191041511, -0.1003900394, -0.0092302859, -0.0575575456, -0.0487529337, -0.0204573087, 0.0127239022, -0.0416235812, 0.0101960599, -0.0491343848, -0.0233163238, 0.0613200516, -0.0232965034, -0.0395772867, -0.0251257457, -0.012743881, -0.071206145, 0.0750838295, -0.0025229042, 0.0320640169, 0.0089766234, -0.0249452796, -0.0514254421, -0.0053682509, -0.0197271593, -0.0478284024, 0.0395624563, 0.0137431128, 0.0046525584, -0.0111647146, 0.0095258579, -0.0258205365, -0.0373402312, -0.0271805692, 0.0303213354, 0.0721168742, -0.0224310532, 0.0010824824, 0.0443124436, 0.0087161902, 0.0211794861, -0.0092181824, 0.0064648683, -0.0219340753, -0.0236731544, 0.0327382013, 0.0032262688, 0.0404379331, -0.0368146189, 0.0277049989, 0.0433388725, -0.0082601961, -0.0157066397, -0.0237908978, 0.0347812437, 0.0398703776, -0.0114190774, 0.0034885919, -0.0240240078, 0.0734674707, -0.0592461042, -0.0030407473, 0.1166159138, 0.0239607263, -0.0415959209, 0.0437838398, -0.0072544059, 0.0310130697, 0.0134446127, 0.0060214703, -0.0640373677, -0.0412465781, 0.0137266936, 0.0103571806, 0.0232766382, -0.0128631834, -0.0044578356, -0.1002903357, -0.0093297604, 0.0055241757, -0.0631558299, -0.0151376138, -0.009300964, -0.0290458929, -0.0620314889, 0.0628524572, 0.0117245782, -0.0102851512, -0.0089028822, 0.0106974877, -0.0124220392, 0.0186016653, 0.053033445, -0.0383680724, 0.0355797857, 0.0251520667, 0.0527417809, -0.0260671284, -0.0043340502, 0.0027289449, -0.0141776232, 0.0113508441, 0.0046523646, -0.0107944496, -0.0216066353, -0.0276067741, 0.0004198167, 0.0158795081, -0.030819919, -0.0158394221, -0.0422431119, 0.0274380241, 0.0230783485, -0.0097442381, -0.040687643, -0.0201322474, -0.0091295587, 0.085532546, 0.0154252844, -0.0752990246, -0.0345961824, -0.0378715396, -0.0164420586, -0.0344408043, -0.0303116199, 0.0078281648, 0.0200584922, -0.0057760091, -0.0579787754, -0.0490623713, -0.0104196118, 0.0195531026, -0.0252033975, -0.010107642, -0.0446719788, 0.0149331167, -0.0514601357, 0.0163238943, -0.0050663762, 0.038408041, -0.033475358, 0.0200285371, 0.0288631562, -0.0528935567, -0.022807857, 0.0190150328, -0.0541638695, -0.058686465, 0.0450673848, 0.0292374268, 0.0184826422, 0.0287951231, -0.0091176834, -0.0347809084, 0.0535171144, 0.0169753563, -0.0234858338, 0.0356272087, 0.0544459037, -0.0127395904, 0.0112460209, 0.048294384, -0.0537064448, 0.0482401066, -0.0157606099, 0.0449669547, -0.0337327681, -0.0138371335, 0.0298983268, -0.0014129842, -0.0094724959, -0.0300041661, 0.0058808578, -0.0238109883, 0.0229605325, -0.0323859937, -0.0166309923, -0.0365147404, -0.0346784927, 0.0722842515, -0.0013815257, -0.0136268483, 0.0238776654, 0.0176928379, 0.0316695347, 0.0413908884, 0.0269196797, 0.0020903654, 0.0167668182, -0.0218248665, 0.0355260521, -0.0065654307, -0.0206011608, -0.0453210622, 0.0123133324, -0.0160559732, 0.0118080005, -0.0059054778, 0.0354703702, -0.0498629734, 0.0298177171, -0.0657557473, -0.007541352, -0.0022609271, 0.0132559827, -0.0006550251, -0.0225356594, 0.0396496654, -0.0266172271, 0.0083373021, -0.0282966476, 0.0280497298, -0.0021590553, -0.0117310379, 0.0175211858, 0.0243220776, -0.0022221806, -0.0412981659, 0.0528349169, 0.0227237176, 0.0487251729, -0.0054280395, 0.0104851648, -0.0178496689, 0.0183209758, 0.0216273125, 0.0244919285, -0.0471665934, 0.0320061184, -0.0803482458, -0.0581321307, 0.0308152288, 0.0217981525, 0.0068150247, 0.0026428071, -0.0124377217, 0.0373567455, 0.0072909775, -0.000059159, -0.0501328819, -0.0180486124, 0.0207826551, 0.0100181065, 0.0070587043, -6.516712194e-33, -0.0282976981, -0.0120095909, -0.0346577391, -0.0313319489, -0.0043666321, 0.0278408118, -0.0379399844, -0.000775867, -0.027576752, 0.0114562875, 0.0004413909, 0.0339481533, 0.0107412366, 0.0307230651, 0.0159196481, 0.0172311403, 0.0587613396, 0.0455489196, 0.0234535094, -0.0350914709, 0.0701275393, 0.0572001189, 0.0629785061, -0.033332482, 0.0499493554, -0.0006582531, 0.0049586366, 0.0092374664, 0.0020676428, 0.07082095, -0.0197909307, 0.0534722768, 0.0124552082, -0.0276645012, -0.0280772299, 0.0134393936, -0.1132306308, -0.0295585189, 0.0236159898, 0.0426208042, 0.0028450717, -0.0108100567, 0.0467337668, -0.0290445723, -0.0012652136, -0.0477100462, 0.0213382989, -0.0053244834, -0.0189155675, 0.0059945267, -0.0504121184, 0.0137007274, 0.0121649997, -0.0037907625, 0.0248480458, 0.0173471197, 0.0061163479, 0.0359946862, -0.0297836754, -0.0086356718, -0.0428715646, 0.0180058591, 0.0170119237, 0.0232139546, 0.0082872985, 0.031401746, 0.066850923, -0.0198831018, -0.045071654, -0.0553576127, 0.079552196, -0.0218101591, 0.0397265144, 0.0766952559, 0.0781042799, -0.0021988831, -0.0567683913, 0.0002098332, 0.0356299728, 0.0686320141, 0.0429483317, 0.060440544, -0.0532252342, -0.0075757015, -0.0336955041, -0.0381722338, -0.0372761525, -0.0443173274, 0.0144230435, 0.0103236707, -0.0878679976, 0.0224331897, 0.0544818416, -0.0818149447, -0.0150714898, 0.0365828164, 0.0431544669, -0.0230158009, 0.0143391835, 0.0486318059, -0.0272600725, -0.0257949978, 0.010987334, -0.0003653375, -0.0075466041, 0.0053941845, 0.0371059924, 0.0395968333, -0.0440479591, -0.0049084458, -0.011352093, -0.0340193994, -0.036617592, 0.0358129852, 0.0361421816, 0.0209112093, -0.0304582939, -0.0118094618, 0.0279106908, 0.0311272405, -0.0389096402, -0.0152017176, -0.0029963481, 0.0388938934, -0.045509994, -0.0079137105, -0.0242855251, 0.0215924755, 0.0861958861, -0.052268818, 0.0008297832, 0.0226057135, 2.751e-7, 0.0773456022, 0.0152448425, 0.0597795658, -0.0023197061, 0.0061702654, 0.0074814195, -0.0032864138, 0.0527755097, 0.0026021409, -0.0010963765, -0.0010408661, 0.0384936109, 0.0240119081, 0.0144760935, -0.0671180263, 0.0376048461, -0.0387420021, 0.0469084382, 0.0163546931, 0.0255654976, 0.0417147726, 0.1426069587, 0.0009104996, 0.0063925125, -0.0001882237, -0.0270090867, 0.0612874255, -0.0162679963, 0.0188136511, 0.0095894057, 0.0361987129, 0.0154460873, 0.0219196957, -0.0203230642, 0.0067227981, 0.0413788967, 0.0675550103, 0.0366054587, -0.0461807884, -0.0131255575, -0.0264244676, -0.0331970751, -0.0435169078, -0.0632460266, 0.0538265705, -0.0348788425, -0.0140317762, -0.0460197777, -0.0076965024, 0.0480799042, 0.0284156892, 0.0039379853, -0.0247647874, 0.055431094, 0.0374424197, -0.0037497499, -0.0249741804, -0.0760558695, -0.0776213408, -0.0300760865, -0.020095706, -0.0057680211, -0.0147392815, 0.0004528576, 0.0127886394, -0.0602902249, -0.0279028472, 2.21919076e-34, 0.0258942265, 0.0146246208, 0.0123784393, 0.0208000224, 0.0220570453, -0.0215347018, 0.0385968089, 0.018790327, 0.0255029686, -0.044078365, -0.0414535515 ]
http://arxiv.org/abs/2310.12727v1
http://arxiv.org/pdf/2310.12727v1
Representing and Computing Uncertainty in Phonological Reconstruction
2023-10-19T13:27:42
2023-10-19T13:27:42
Johann-Mattis List, Nathan W. Hill, Robert Forkel, Frederic Blum
cs.CL
cs.CL
Despite the inherently fuzzy nature of reconstructions in historical linguistics, most scholars do not represent their uncertainty when proposing proto-forms. With the increasing success of recently proposed approaches to automating certain aspects of the traditional comparative method, the formal representation of proto-forms has also improved. This formalization makes it possible to address both the representation and the computation of uncertainty. Building on recent advances in supervised phonological reconstruction, during which an algorithm learns how to reconstruct words in a given proto-language relying on previously annotated data, and inspired by improved methods for automated word prediction from cognate sets, we present a new framework that allows for the representation of uncertainty in linguistic reconstruction and also includes a workflow for the computation of fuzzy reconstructions from linguistic data.
[ -0.0239513647, 0.103294, -0.0534094013, -0.0080553005, -0.0469642021, -0.0230215564, -0.0565343462, -0.0024284013, -0.0921891406, -0.0534871966, 0.0180606283, -0.0857002437, 0.0721749365, -0.0184316933, 0.0380348563, -0.0424919128, 0.0293931272, -0.0158445742, 0.0535349473, -0.0012886586, -0.0168150216, -0.0233357139, -0.0101021808, 0.0196955204, -0.0168297812, 0.044023633, -0.0176540054, 0.0043513076, -0.0405329987, -0.0031062004, -0.0209586285, 0.0299152117, -0.0139267659, 0.0428694896, 0.0000017213, -0.0592322722, 0.0008537592, -0.0190557782, -0.0112865316, 0.0181008652, 0.0202755127, 0.0531541556, -0.0597588308, -0.0275141802, -0.0099225789, 0.0406295061, 0.0847747847, -0.0743961185, -0.0347021744, -0.0019399121, -0.0037577448, -0.0446845219, -0.000991295, 0.0106416624, 0.0000270895, 0.0224950816, 0.0161794331, -0.0294274054, 0.023295451, -0.0105718728, -0.0221095011, 0.0237761792, -0.0694140941, 0.0379697867, -0.0398926288, -0.0389579013, 0.0092538232, -0.057478264, -0.0139436601, -0.0210713539, -0.0174394362, -0.0456752107, -0.027056925, 0.021083612, -0.0200618599, -0.0102326889, 0.0122736702, -0.0078207729, -0.0191371478, 0.0276675317, 0.060039442, -0.0301322956, -0.0005576186, 0.0059509715, -0.0346548036, 0.116030775, 0.0362066813, -0.0033707947, -0.0062591713, 0.0325156786, -0.0171817932, 0.0039092256, 0.0079342481, 0.0394180752, -0.0282147843, 0.013856573, 0.0116431825, -0.002367994, 0.0354177728, -0.0117358668, 0.0117146717, 0.0004764753, 0.0028160058, -0.0119342683, -0.0018515, -0.0240744185, 0.0393754691, -0.0614475682, -0.0355470777, 0.0093995873, -0.0219346248, 0.002522721, -0.0653646439, -0.0040886067, 0.0251120869, 0.0512283184, -0.030666979, -0.0213907007, -0.0218280926, 0.0130873593, -0.0237472318, -0.0293611586, -0.0523843914, -0.0142555851, -0.0382337347, -0.0270389989, -0.0131093003, 0.0525120646, -0.0512286685, -0.0668037459, 0.0097560789, -0.0215946082, 0.0087933606, 0.0149884652, 0.0016567711, 0.0197003577, -0.005717386, -0.0200573262, -0.0185406618, -0.0458746366, -0.064050369, -0.003589022, -0.0458305478, -0.0578541234, -0.0048166411, -0.0107290735, -0.0211802553, -0.0389902219, 0.000219236, -0.0106924856, -0.0342712365, 0.0574977845, -0.0460879877, 0.0226236265, -0.0131910192, -0.0160857402, -0.0433937721, -0.0076067918, 0.0563773699, -0.034369491, 0.0515733026, 0.0156741589, -0.0173000414, 0.0397912115, 0.0232896823, -0.0335053802, -0.0436343737, -0.0238098204, -0.0051457034, 0.0367562957, -0.008518585, 0.0715613216, 0.0121813472, -0.033016976, 0.0472376421, 0.0620819665, 0.0483624637, 0.0202241633, 0.0082011269, 0.0004339246, 0.0528956652, 0.0107655041, 0.0195842497, -0.0643559098, -0.0304862317, 0.0269807428, -0.0396424346, 0.032295417, 0.0252812337, 0.0131691843, -0.0228223056, -0.0551432855, 0.0013209035, 0.0042653084, 0.0670537874, -0.0160637461, -0.0258277822, -0.041918695, 0.0282241758, -0.0214588176, 0.0120158661, -0.0141695468, 0.0428199582, 0.0023723189, 0.0163690224, -0.0894716382, 0.0082386378, 0.0298515502, -0.0698700249, -0.0091276178, 0.0133109009, -0.0332307033, 0.0137696145, -0.0192258265, -0.0043906029, 0.0568772145, 0.0373937078, 0.0155703668, -0.0179462228, 0.0423124321, -0.000145025, -0.0343235619, 0.0006967912, 0.0089994017, 0.0226690006, -0.0187904444, 0.0037656915, 0.0181934815, 0.0438970886, 0.0438828394, 0.0053284834, 0.0750125572, 0.0283885375, 0.0039997543, -0.00967992, 0.0015137219, -0.0117401937, 0.0070197857, 0.0782884881, 0.0149972113, 0.0079153636, -0.0867303088, 0.0368588306, -0.0258894246, 0.0431240946, -0.0804409087, 0.051400464, -0.007726809, 0.0519796126, -0.0246611666, 0.0030606184, -0.0619083196, 0.068616204, 0.0580672808, 0.0412224159, 0.0310230479, -0.0344979502, 0.0216173083, -0.0268872939, -0.0206158217, -0.0293571353, -0.0181718413, -0.0149825085, 0.0316965394, -0.0449982658, 0.000848995, -0.0405914634, -0.0117674675, -0.021493867, -0.0119867921, 0.0194173418, -0.0309915394, 0.0138913766, 0.0021254313, 0.0116871111, 0.0226635411, 0.0478055142, -0.011527448, 0.0278578047, 0.0123398863, -0.0407248959, -0.011108825, -0.027750738, 0.0034126211, 0.0039239954, 0.0271557923, 0.0042750784, -0.0338333808, -0.0655565634, -0.0202442147, -0.0641286522, 0.0096454667, -0.0000214116, -0.0191777367, 0.0093041137, -0.0187774096, 0.0160087775, -0.0480913855, -0.0072077848, -0.0200594105, 0.0438197069, -0.0667672604, -0.006014931, -0.0565399081, -0.0389826819, -0.027307868, 0.0025557168, -0.0493096374, -0.0235050209, 0.0346926525, 0.0172668919, -0.0229181852, -0.0256650187, 0.0212464929, -0.0445347503, 0.0174348634, 0.0151532916, -0.0658111125, -0.0338250287, 0.106994763, -0.0028884644, -0.0172665324, 0.0554635487, -0.0476005897, 0.0176477041, -0.0275886599, -0.0235020742, -0.0172531977, 0.02910625, -0.0049739373, -0.016534498, 0.0448693968, -0.0313390791, -0.0735343397, 0.0149940588, 0.0960979015, -0.0709212571, -0.0115153342, -0.0561358705, 0.0137350308, 0.0127674332, -0.0100057367, 0.0241800658, -0.0023225381, -0.0235587358, 0.0187675636, 0.0255345311, 0.0097337738, 0.0151730329, 0.0131626707, -0.0294904727, -0.0059457473, 0.0225433614, 0.020583868, -0.0186834987, 0.0321648493, -0.0354690403, 0.0468176305, 0.0252440609, 0.0324504673, -0.0121503808, -0.0138064111, 0.0322086178, 0.0086333361, -0.0020054951, 0.0013561317, 0.0694937184, -0.0097654322, -0.0363933481, 0.0179996565, 0.0185641758, 0.0227852222, 0.0296205562, 0.0697770938, 0.0341884494, -0.0024363885, 0.027835425, -0.0307150166, 0.0006780577, 0.0100843906, -0.0228945538, -0.0555491596, -0.0027348076, 0.034858115, 0.0276707038, -0.0132770576, -0.0259089693, 0.0324984156, -0.0846908689, 0.0170887765, 0.010850803, -0.0326762348, -0.0432932712, -0.0479048826, 0.0226268023, 0.0020868082, -0.0771169588, 0.0583408996, 0.0026462374, 0.0339156203, 0.0007039193, -0.0181755554, -0.0298782941, -0.0413792618, -0.0718016028, 0.044961635, -0.0215886701, 0.0546178035, -0.0290148351, 0.0183227025, -0.0429121926, -0.0316296816, -0.0136368014, -0.0041854572, 0.0300978161, 0.1113303974, -0.009057302, 0.0013437269, 0.0120003764, -0.0148032317, -0.0677673593, 0.0230446216, 0.0602505617, -0.0009400911, -0.023928808, 0.0286696013, 0.0192187652, 0.0577948578, 0.033169087, 0.0140564479, 0.0066681998, 0.0016401843, -0.0152088134, 0.0747787282, 0.0442546904, -0.0617184751, 0.001722359, 0.0105609577, -0.0487619638, -0.0924834162, -0.0116520533, 0.00292643, 0.0514197946, 0.0565987751, -0.0099072633, 0.0727042705, -0.0014479121, -0.0829871669, -0.005541902, 0.0463154092, 0.0438729599, -0.0512594767, 0.0018110108, 0.0462099835, -0.0136251897, 0.0030570508, 0.0610966124, 0.0269048978, -0.0624997802, 0.0515971482, 0.0203616638, 0.031414777, -0.0232822224, -0.0287610944, -0.0468358658, 0.0584910139, 0.031475801, -0.0305692125, -0.0023433077, 0.0416327007, 0.0205678493, -0.0141440043, 0.0432466939, -0.021657249, -0.0391668454, -0.0431971215, 0.0418211073, -0.0157248657, -0.0889005587, 0.0335460603, -0.0016228602, 0.0706009194, -0.0805432349, 0.0059976997, -0.007136825, -0.0520069003, -0.0104903113, -0.0052224011, 0.0046469928, 0.0244622771, 0.0122233955, -0.0347974636, 0.0032152713, -0.0552777052, -0.0120568601, 0.0461188518, 0.0242706817, -0.0028257561, 0.0259180553, 0.0442544855, -0.0061900015, 0.0195997525, 0.0283587929, 0.074494347, -0.0416722558, 0.0744476542, -0.0148554724, -0.063207224, 0.0078527676, 0.0256607085, -0.0442190766, -0.039987877, -0.0204363056, -0.0485381223, -0.0161217973, 0.012302991, 0.0296271294, -0.0068212198, 0.0606741607, -0.0508774593, -0.0235532392, -0.0196140911, 0.0066326424, -0.0035909123, 0.0298821274, -0.0005711152, -0.0024258192, -0.0145230545, 0.0334480889, 0.044308424, -0.0553884506, 0.0183850378, -0.040035639, -0.0749331266, 0.0110211372, -0.0517292991, -0.0466555245, 0.0164459571, -0.035466902, 0.0017504396, -0.0860594958, -0.0438595377, 0.0058169491, 0.0148568824, -0.0011407068, -0.0116180247, 0.0149430465, 0.0392125435, 0.0099308137, 0.078174606, -0.0256404039, 0.0463810265, 0.0452267975, -0.006152709, -0.0331966355, -5.353772123e-33, -0.0081154248, -0.0001996162, -0.025962919, 0.0128919175, 0.0195858311, -0.033537697, 0.015577117, 0.07201989, -0.0087765278, 0.012393292, 0.0109478729, -0.0391662344, 0.0127046872, -0.0208041929, 0.0276529044, 0.0363751128, -0.0092512071, -0.0200433526, 0.0026830491, -0.079496637, 0.0448740199, 0.0008838574, 0.0689863116, -0.0315265022, 0.0365144983, 0.0553632341, -0.0225558467, 0.0653186664, -0.008430752, -0.0096026026, 0.0141064851, 0.0539851189, -0.0098831598, 0.0638762489, -0.0049833665, -0.02908138, -0.0526006334, -0.0511135943, 0.0213890933, 0.0550745949, 0.0396516882, 0.0326506831, -0.0222435631, -0.0021019108, -0.0712988451, 0.0386062972, 0.0146716181, -0.0223618373, -0.0504360721, -0.0317938328, -0.0305720028, 0.0271288343, -0.010452223, -0.0390898921, 0.044534605, 0.0340864956, 0.0017391271, -0.0181379337, -0.0219561234, 0.0340955555, -0.0400183536, 0.0420889854, -0.0027200496, -0.011736704, -0.0479704849, 0.0168273319, 0.0359674022, -0.0489124432, -0.0036547226, 0.0173970815, 0.0294533279, 0.015398615, -0.0041761273, 0.0499851368, 0.0459816344, -0.019128751, 0.0223359335, 0.0088993693, 0.060297247, 0.0156140374, -0.0036550499, 0.0174896289, -0.0013524307, -0.0275188871, -0.0467012376, -0.0929691344, -0.0114544509, 0.0554960594, -0.0486243293, -0.0418885946, -0.019609293, 0.0396257937, -0.0025881829, -0.0173421986, -0.0242429022, -0.0534606352, -0.0163385347, 0.0354661122, -0.0061752307, 0.0329966359, 0.0475005247, -0.0205546133, 0.0375167653, 0.0448307358, -0.0074196742, 0.0082764225, -0.0343814418, 0.0357138403, -0.0253072605, 0.0177983772, -0.0165278148, -0.0263850056, -0.005179971, -0.0628621131, 0.0429072566, 0.0251209103, 0.0441474207, -0.0249938294, 0.0547437333, 0.0084043602, 0.0156507045, 0.0253501236, 0.0196673237, -0.0306019094, 0.0009781095, -0.0107660498, 0.0254587121, 0.0219492558, 0.0473407544, 0.0126380576, -0.010462434, -0.002416533, 2.717e-7, 0.0620201677, 0.0379736423, 0.0483349711, 0.0419415459, 0.0293762404, 0.0276136827, -0.0374214239, -0.0600740127, 0.0093692653, 0.016086312, 0.0551070236, -0.0451141186, 0.0335792936, 0.0748992413, -0.014208613, -0.0530443676, -0.0498174839, -0.0331150144, -0.0180170685, 0.0112337889, 0.0426442698, 0.0816848651, 0.0158169828, -0.0593407787, -0.0317304283, 0.0213142727, 0.0283117518, -0.021073848, -0.0055503389, 0.0278577674, 0.0448664986, -0.0606641322, 0.0174462013, 0.0128314253, -0.0442022868, 0.0405482128, 0.0474372171, -0.0277200025, 0.0330812111, 0.0409456976, 0.027316289, -0.0406563878, -0.0023363775, -0.0307619944, 0.0124984654, -0.0091046225, -0.01394263, -0.0098488741, -0.0694562197, 0.0395077951, 0.0318506584, -0.0185019672, -0.0266205128, 0.0248080026, 0.0149738686, 0.0615817346, -0.0398250259, -0.0198537484, -0.0069301412, 0.0217861403, -0.0356347933, -0.0139665259, 0.072866194, 0.0053890692, 0.027790593, -0.0565083809, 0.0237649567, 2.013132799e-34, 0.0305986814, -0.011743932, 0.0215965975, 0.019229006, 0.0050077247, -0.016791828, 0.0237236582, 0.0581693761, 0.0170710161, 0.0330824666, -0.009909071 ]
http://arxiv.org/abs/2310.13032v4
http://arxiv.org/pdf/2310.13032v4
Quality-Diversity through AI Feedback
2023-10-19T12:13:58
2023-12-07T19:56:21
Herbie Bradley, Andrew Dai, Hannah Teufel, Jenny Zhang, Koen Oostermeijer, Marco Bellagente, Jeff Clune, Kenneth Stanley, Grégory Schott, Joel Lehman
cs.CL
cs.CL, cs.AI, cs.LG, cs.NE
In many text-generation problems, users may prefer not only a single response, but a diverse range of high-quality outputs from which to choose. Quality-diversity (QD) search algorithms aim at such outcomes, by continually improving and diversifying a population of candidates. However, the applicability of QD to qualitative domains, like creative writing, has been limited by the difficulty of algorithmically specifying measures of quality and diversity. Interestingly, recent developments in language models (LMs) have enabled guiding search through AI feedback, wherein LMs are prompted in natural language to evaluate qualitative aspects of text. Leveraging this development, we introduce Quality-Diversity through AI Feedback (QDAIF), wherein an evolutionary algorithm applies LMs to both generate variation and evaluate the quality and diversity of candidate text. When assessed on creative writing domains, QDAIF covers more of a specified search space with high-quality samples than do non-QD controls. Further, human evaluation of QDAIF-generated creative texts validates reasonable agreement between AI and human evaluation. Our results thus highlight the potential of AI feedback to guide open-ended search for creative and original solutions, providing a recipe that seemingly generalizes to many domains and modalities. In this way, QDAIF is a step towards AI systems that can independently search, diversify, evaluate, and improve, which are among the core skills underlying human society's capacity for innovation.
[ 0.0744615868, 0.0276372768, -0.0277074818, -0.0105969114, -0.0465512015, -0.0285418518, -0.0088052275, 0.0040010652, -0.0212853868, -0.0104462579, 0.0012106759, -0.0664278418, 0.0004680543, 0.0698470995, -0.006709402, -0.0185506027, -0.0041551273, -0.0031251903, 0.0373537205, 0.0009628299, -0.008301558, 0.0333394967, 0.0089298515, 0.0656142458, 0.0081095388, 0.0068076188, 0.0044687139, 0.0023246869, 0.0414447747, -0.0082665384, -0.0135666113, 0.0624208041, -0.0120754624, 0.0264007021, 0.0000018277, -0.0534743853, 0.0080489609, -0.0257163364, 0.0318074375, -0.0308090393, 0.0401009358, 0.0701147988, -0.0287877135, 0.0050947885, -0.0423523448, 0.0562616698, 0.0332156643, 0.0048222509, 0.0510589294, 0.0557863526, 0.0057828831, -0.0149941249, 0.0181803051, -0.026311554, 0.002415559, 0.032885246, -0.0144610563, -0.0454477891, 0.072669968, 0.0207411908, -0.0078856591, 0.0179972462, 0.0129695805, -0.047595989, 0.0547762699, 0.0314658508, 0.0117504122, -0.0276215468, 0.0070566777, 0.0307090189, -0.0189105682, -0.0174985901, 0.0026887367, -0.0335416757, 0.0231574867, -0.0016409297, -0.0178237241, 0.0247846283, -0.0263521969, -0.0004629548, -0.000161545, 0.0024351955, -0.0134112509, 0.0231387205, 0.0299715698, 0.0306508616, 0.0296678487, -0.0293506011, -0.0000146621, -0.0065304693, -0.0178185441, -0.0552416369, 0.0248815995, 0.0150000909, -0.0484429486, 0.0079295551, -0.0284311846, -0.0564067401, 0.0068428037, -0.0248704311, 0.0732341856, 0.0003384468, 0.0120345671, 0.017967904, 0.0416893587, 0.0225702599, -0.0054477816, -0.0151048377, -0.0691572428, 0.0085240444, -0.0470213778, -0.0330104642, -0.0272905976, 0.0189907607, -0.0084249899, -0.0268070139, -0.032924559, 0.0222249366, -0.0163572207, -0.0335191078, 0.0161529258, 0.0624947622, -0.0234359186, -0.0027600599, -0.0546601564, -0.0008808651, -0.0287093446, 0.0048659518, 0.0247738641, 0.0132102584, 0.0204465855, 0.0252093039, 0.0195828415, -0.0312967673, 0.0217000563, 0.0188602954, 0.0165737271, -0.032481119, -0.03255824, 0.0108587705, -0.0233450308, -0.010987984, -0.0033647905, -0.0600759201, 0.0112766344, -0.0150691234, -0.0168649219, -0.0535513721, -0.0093239872, 0.0223182235, -0.0218981411, -0.0063402192, -0.0231711678, 0.0252224058, 0.0630187988, -0.0173962731, 0.0059674112, 0.0197715014, 0.0680040866, 0.020764811, 0.0384085774, 0.0247322731, 0.0634259135, 0.003640685, -0.033117339, 0.0116300825, 0.0089720339, 0.0034636662, -0.0600665621, 0.0743602812, -0.0160104297, 0.0798974037, -0.0088176169, 0.0152960466, 0.0850294605, 0.0561208539, 0.0740859658, 0.056562975, 0.0613601767, 0.0148135861, -0.0283890683, 0.0118475789, 0.0330451243, 0.068370454, 0.0221487228, 0.0003649631, 0.0510786176, 0.0322044753, -0.0050415173, -0.0767784119, -0.0157106593, 0.0213319454, 0.0233329665, -0.0334459804, -0.0065285154, 0.0220359825, -0.0316868275, -0.0457364954, -0.0054826946, -0.0737050399, 0.024552647, -0.0337056071, 0.100138545, 0.1263679415, 0.0855951533, 0.0076744747, 0.0212541185, -0.0108423568, -0.0353239216, 0.0443152301, 0.0178783927, -0.0039616763, -0.0203294083, -0.0313459225, -0.0187720768, -0.0324119553, -0.0007090635, 0.0141868116, -0.0241432451, 0.0245319977, -0.0041580033, 0.0048145223, -0.0892278403, 0.040109694, -0.0144727975, -0.0057496005, 0.0406029932, 0.0063182134, -0.0084892968, 0.0412048884, -0.053002838, 0.0463455692, -0.0081888372, -0.0520152003, -0.082264632, 0.0340523124, -0.0207818635, 0.0157427248, 0.0102453018, -0.0959501565, 0.0425536782, 0.0000243367, 0.016427286, -0.027264392, 0.0525482967, -0.0588942543, -0.0398398563, -0.0399586856, 0.0086279698, -0.0284644701, -0.0179480202, -0.0511559136, 0.062223319, 0.0095676454, -0.0069172769, -0.014942416, 0.0151810097, 0.0378707014, -0.0289664008, -0.0190086327, -0.0014141435, 0.0287320111, 0.0415716991, 0.0471206978, 0.0335024223, -0.0322654694, -0.0551771112, -0.060710188, 0.0091852928, -0.0167520717, -0.0063868999, 0.0142910276, 0.0138011873, -0.0160932932, 0.0318843573, -0.0491575673, -0.0509497263, 0.0146095566, 0.0004116747, 0.0318976678, 0.0148105435, 0.0146445679, -0.0259851348, -0.0057418793, -0.0036192809, 0.0343837477, 0.0474234819, 0.0574946404, -0.0436601788, 0.004384086, -0.0619254708, -0.0379304998, 0.0160954334, -0.011300006, 0.0140697407, -0.0031900981, 0.0498737916, 0.0329918489, 0.0549920946, -0.0009550349, 0.0594130941, 0.022823235, -0.0229286589, 0.0225027893, -0.0178071205, 0.0613473766, 0.032436002, -0.0356530845, 0.0592729747, 0.0200060457, 0.0320298076, -0.0200331379, -0.0745179132, 0.0803525001, -0.0173407868, -0.0309972987, -0.0165399015, -0.0630424619, -0.0215432961, 0.052701667, -0.0223398358, -0.0272003803, 0.07815817, 0.0262217745, 0.0264075994, -0.0684202835, 0.0052045733, -0.0497635975, 0.0288464595, -0.0552723408, 0.0223022085, 0.0137868337, 0.0586781278, -0.0498317741, 0.0253045857, 0.0377428494, -0.0362923183, 0.038024012, -0.0389236212, -0.009625054, 0.0165084321, -0.0275292434, -0.0263396204, -0.0048680492, 0.0266916379, -0.0073403274, 0.0876105279, 0.0160562284, 0.0163168907, 0.0065334425, 0.0246760994, 0.043679174, -0.0244715028, 0.0009528939, 0.0102301352, 0.0381368399, 0.0572803207, -0.0104857832, 0.0206876118, -0.030389471, 0.0020403978, -0.0225936677, -0.0316234678, -0.0110361427, -0.0006848409, -0.0044210698, -0.0025135675, -0.016379321, -0.0278902464, 0.0169588588, 0.0310411155, -0.0156704355, -0.0540921688, 0.0538453087, 0.045778852, -0.0358808078, 0.0201018024, -0.0425137095, 0.0070086499, 0.0059583061, 0.0621692464, -0.0133753149, 0.0189279709, -0.0327514, 0.029063981, -0.0307692196, 0.00165619, -0.0384461954, -0.0879113153, 0.050301116, 0.0069696698, -0.0162302572, -0.0124519859, 0.012966278, -0.0368178673, 0.0179041456, -0.0415619612, 0.0139106307, 0.0130295381, 0.0397172533, -0.0002215494, 0.0094833244, -0.0424916111, -0.0348773114, -0.0581371672, 0.0147316894, 0.1073940024, 0.0472351126, 0.0042135203, -0.0643973872, -0.0335104093, -0.0259165242, 0.0259066634, 0.0041426993, -0.006117654, 0.0121382978, 0.0224873908, -0.0385705493, 0.0190252401, -0.0110099474, -0.0251899492, 0.0351660214, 0.0188335925, -0.0175250005, -0.014113239, -0.0730085075, 0.0249724854, 0.0189166367, 0.0482647419, 0.0545893461, -0.1050510183, -0.0172024667, -0.0513882115, -0.0042932727, -0.1442783028, -0.043850746, -0.0120765986, 0.0193168577, -0.008937859, -0.1221147105, -0.0068101566, -0.0339020491, 0.0365312919, 0.0280410033, -0.0053296159, -0.0490898006, -0.023683155, 0.0076730917, -0.015194729, 0.0391498357, 0.0113414275, -0.0323674493, -0.0068604178, -0.0370655507, -0.0896710232, -0.0087174224, 0.0115818307, -0.0803916082, -0.0511276685, -0.009129256, 0.033036273, 0.0187885333, -0.0099735223, -0.0134044103, -0.0909977257, 0.0565893762, 0.0329981148, 0.0403039306, 0.0277563166, -0.0281635486, 0.0273389407, -0.0006929737, 0.0134864198, -0.0328967609, 0.0104416311, 0.028879907, 0.0677638128, 0.0479347035, -0.0182150155, 0.0112312045, -0.0166270044, -0.0470791645, -0.0625150874, -0.0048630587, -0.0571264662, -0.0357639156, 0.0036811144, -0.043497704, -0.0347073041, 0.0053602178, -0.0057432028, -0.0224740803, -0.0183037166, 0.016195124, -0.0273352098, 0.06515681, -0.0690227523, 0.011171056, 0.0044417731, 0.0115539841, -0.0149959568, -0.0147141684, 0.0066332552, 0.049241703, -0.0570967719, 0.0382543318, 0.0093845874, 0.0364005305, 0.0234185364, -0.0328040011, 0.0416118465, 0.0545276143, -0.0703006089, -0.0238928199, -0.0267050732, 0.0057168887, 0.049623616, 0.0328681543, 0.0225583278, -0.006637862, 0.0195293017, -0.0140998354, 0.0145429773, 0.0033798032, -0.0357306674, -0.0329528265, 0.0195563007, 0.0016922764, -0.0505481251, 0.0667037293, -0.0634053946, -0.0096911667, -0.0325407907, -0.0000919527, -0.0270495228, 0.0009250402, -0.0132581675, 0.026588127, 0.0075653824, 0.0241648443, -0.0681339651, 0.0025944584, 0.0705038235, 0.0265192986, 0.0586110353, -0.0194146652, 0.0430479459, 0.0627052411, -0.0376530588, 0.0109421629, -0.0501848459, -0.0517096929, -0.0427774005, 0.0022356214, -0.0426055826, -5.496677706e-33, -0.0053716516, -0.0493476056, -0.0074571809, -0.0376374312, -0.0090333968, -0.0285365079, -0.0216279477, 0.0079280548, 0.0267056935, 0.0081583839, -0.0152643286, 0.0048294165, -0.0261815079, -0.0069627552, 0.0418477915, 0.0140508236, 0.0306180697, 0.0017474799, -0.0646514669, -0.0025030102, 0.0053644571, 0.0019414057, -0.0055945832, -0.0011241289, 0.005110316, -0.0176531393, -0.027820278, -0.000410386, -0.0038573311, 0.0725726858, 0.004356734, 0.0572648309, 0.0352428034, -0.0458523929, -0.0019925931, -0.0208580326, 0.0445485078, -0.0363816693, -0.0007513606, -0.0554655269, -0.0242738631, -0.0655065328, 0.0409611054, 0.0170802455, -0.0451620258, 0.0328574032, 0.0539196171, -0.0179728381, -0.0000736654, -0.0708965138, -0.0391953997, 0.0142651424, -0.0202577524, -0.0389051884, -0.0589331985, 0.0346283652, -0.0053963857, 0.0048160451, -0.0211225841, 0.0837235078, 0.0084445588, 0.0060818521, 0.0416334793, -0.0223499369, -0.0263090041, 0.0294113569, -0.0277934521, 0.0257157944, -0.0297847651, -0.0320812091, 0.0065444899, 0.0267918482, 0.061405737, 0.0776441172, 0.00594847, -0.0157160237, 0.0115029151, 0.055692073, -0.0448445231, -0.049404189, 0.0548583567, 0.0276163649, -0.0338684246, -0.0295045599, -0.0034593402, -0.0406756774, -0.0349398032, -0.013420362, 0.0172643214, 0.0165022761, -0.038398277, -0.029370131, -0.0088172946, -0.021618735, 0.0284600649, 0.0012934061, -0.0803792849, 0.026236508, -0.0006619437, 0.0006801882, -0.0305838976, 0.0053115622, 0.054739207, 0.0491410084, 0.0108385738, 0.009442403, 0.0004686503, 0.020762844, -0.0456529893, 0.0042063748, -0.0084202047, 0.0491696298, 0.0130623449, -0.0182746612, -0.0164252426, 0.0100421272, -0.0050882814, 0.0364536047, 0.0469720848, 0.0091862744, -0.0481444225, -0.039376393, -0.0093728788, 0.0075549823, -0.0289774556, 0.0149145266, 0.0043041348, -0.0167931225, 0.0158897452, -0.0311916806, -0.0507454388, 0.0016780727, 2.576e-7, 0.0189915318, 0.0504534207, 0.0084363855, 0.0057691112, 0.0350798368, 0.0261957888, -0.0061969529, 0.0229578745, -0.0234751683, 0.0397075415, 0.0284084082, 0.0156591721, 0.02203051, 0.0137247732, -0.0503567867, 0.0568940155, -0.0959290192, 0.034567114, -0.0745438784, -0.0219505057, 0.0832611024, 0.0057775248, 0.0221978426, -0.0169593394, -0.0174933411, -0.0212707035, 0.0621144995, 0.0101553621, 0.0172849782, 0.0238252878, 0.0454716273, -0.0203728564, -0.0176607706, -0.028825907, -0.0212236904, 0.0310445316, 0.02482903, 0.0102133648, 0.0073572635, -0.0413862728, 0.0547704436, 0.0451272875, 0.0103048142, -0.0583045036, 0.0370226949, 0.0236886386, -0.0070606694, -0.0719834268, -0.0034032203, -0.0021992717, 0.0386624821, -0.074216783, -0.0093425, -0.004350882, 0.0007681752, 0.0209526736, 0.0236652642, -0.0323369317, -0.0285021402, -0.0300044883, -0.0250998195, -0.0055110455, -0.0640782565, 0.0213866346, 0.0040581552, -0.0671779737, 0.0211582109, 2.18215006e-34, 0.0561384745, -0.0270679779, 0.0011783581, 0.0024211318, 0.042038355, 0.0378955528, -0.0008227134, 0.0029504946, 0.0041638436, -0.0193867683, -0.0469439849 ]
http://arxiv.org/abs/2310.12664v1
http://arxiv.org/pdf/2310.12664v1
Is ChatGPT a Financial Expert? Evaluating Language Models on Financial Natural Language Processing
2023-10-19T11:43:15
2023-10-19T11:43:15
Yue Guo, Zian Xu, Yi Yang
cs.CL
cs.CL
The emergence of Large Language Models (LLMs), such as ChatGPT, has revolutionized general natural language preprocessing (NLP) tasks. However, their expertise in the financial domain lacks a comprehensive evaluation. To assess the ability of LLMs to solve financial NLP tasks, we present FinLMEval, a framework for Financial Language Model Evaluation, comprising nine datasets designed to evaluate the performance of language models. This study compares the performance of encoder-only language models and the decoder-only language models. Our findings reveal that while some decoder-only LLMs demonstrate notable performance across most financial tasks via zero-shot prompting, they generally lag behind the fine-tuned expert models, especially when dealing with proprietary datasets. We hope this study provides foundation evaluations for continuing efforts to build more advanced LLMs in the financial domain.
[ 0.0249957256, 0.0787271559, -0.0036120433, 0.0194182601, -0.013714375, 0.0258939378, 0.0266616363, 0.0318279117, -0.0159013011, -0.0243155528, -0.0361048616, -0.0169498213, 0.0007357162, 0.0499189124, 0.0312787071, -0.0296562985, 0.0198632441, -0.0132092005, 0.0532617979, 0.0089022983, 0.0182068236, 0.0053917021, 0.0098194415, 0.0522642024, 0.0202474725, -0.0043273675, 0.0090811467, -0.0213824231, -0.0396884456, 0.0144673754, -0.0090547213, 0.0375779942, 0.0048823259, 0.0349057838, 0.0000018786, -0.0504104607, -0.029098941, 0.0019341543, -0.0435192399, 0.0117182592, 0.0530633815, -0.0725441873, 0.0333587267, 0.0200819559, -0.0539873987, -0.0187918823, 0.0561936572, 0.0549076498, 0.0805844814, 0.0906261206, -0.0221064948, -0.0715316087, 0.0232182778, -0.0595717803, -0.0048011206, -0.0637019053, 0.0050082868, 0.0612465851, -0.0343885422, 0.0185304135, -0.0373356082, 0.0531082228, 0.0115240635, 0.0047778538, 0.0227366406, -0.002885432, -0.0509050749, -0.0251841005, -0.0653828159, 0.0205760952, -0.0160473511, 0.0550522543, 0.0019225874, -0.0213605892, 0.001948357, 0.0098078586, -0.0401178487, 0.0503645837, 0.0062135444, -0.0030487473, 0.0186307859, 0.022282552, -0.0030251234, -0.0213827901, -0.0129720476, 0.0242215116, -0.0014017341, -0.0140412282, 0.0197416134, 0.0288941525, -0.0118317641, -0.0450319164, 0.0437707081, -0.029055465, 0.0347882994, 0.0046034614, -0.0186770801, 0.0050917068, -0.0247910954, -0.0561193302, 0.0201767385, 0.0608135462, -0.0078964746, 0.0284926575, -0.0457029939, 0.0494293571, 0.008817289, -0.0256621577, -0.019492548, 0.023313351, -0.0768741295, -0.019133037, -0.0698565543, 0.0584104322, -0.0523723587, -0.0615558997, -0.0551172644, -0.01693248, 0.0229377151, -0.0006082611, 0.0369588807, -0.0181031339, -0.0002565194, -0.0292247031, -0.0399733558, 0.0251785349, -0.02474574, 0.0251001604, 0.0022356571, -0.047929395, 0.0196571555, 0.0284330118, -0.0280009117, -0.0316253938, 0.002783735, 0.0856614336, 0.0176944733, -0.0246129874, -0.0422223099, -0.0491461605, -0.0018373927, -0.0057696882, -0.0229201633, -0.0207723621, 0.0367378108, -0.002379291, -0.0011601971, -0.0034656376, -0.0026636329, -0.0100863706, -0.0202551689, 0.0877233073, 0.0119075524, -0.0159621015, 0.0015692213, -0.0475337803, -0.0097726006, 0.07305976, 0.0096471617, 0.0130429063, 0.0336682275, -0.0104058897, 0.0079846857, 0.069642365, -0.03473242, -0.0637565702, -0.0033522863, 0.0208920427, -0.0138103394, -0.0177460294, 0.0728108585, 0.0340308547, -0.0449276678, -0.004766745, 0.0502290092, 0.0488576293, 0.0833949, 0.0238176808, 0.0199254118, 0.0577400289, 0.0408574603, -0.0105442619, 0.0231969263, -0.0114677045, -0.0518366508, 0.0372908078, -0.0278844573, 0.0141044538, -0.0100536114, -0.0336323865, -0.0100212563, -0.0186468139, 0.0111835413, -0.0135672018, 0.0208187588, -0.0023964911, -0.0535427071, 0.0426160432, 0.0037763212, -0.0191762578, -0.0075407429, -0.0203202292, -0.0029882032, 0.1060878113, 0.0598163418, 0.0378357098, 0.0108983787, -0.029311521, -0.0456116982, 0.0569973961, 0.0391209945, 0.0033690422, -0.0064994381, -0.0655050203, -0.0106965769, 0.0162243713, 0.0367275141, 0.035701029, 0.0027148589, -0.0066752131, 0.0108510796, -0.0072415383, -0.0096600633, 0.0144961225, -0.0006169088, -0.0424415581, -0.0018787845, -0.0416295491, -0.0083859013, 0.0228145812, -0.0071853455, 0.0231068004, -0.020561168, -0.0220680647, -0.0299376175, 0.0182452239, -0.0453065708, -0.0622827187, -0.00298746, -0.0348873027, -0.0041795089, -0.0025752534, -0.0463461429, -0.0199309345, -0.0388969667, -0.0211484693, 0.035562437, -0.0476214625, 0.0095944609, 0.0173241217, 0.0132426219, -0.001229248, 0.0604541898, -0.016040951, 0.0224736109, -0.0114534087, 0.0225418601, -0.0138027957, -0.050892625, 0.0404073372, 0.0086283907, -0.0338785835, 0.0292691551, 0.039197538, 0.0411225893, 0.0095614754, -0.0230853688, -0.0664706975, -0.0354001671, -0.0169000681, 0.0394915566, 0.0123941069, -0.006813121, -0.0213057939, -0.0077293399, -0.0199162941, -0.0134315109, 0.0000476727, -0.0034574247, 0.0524467491, -0.0233418774, -0.0299655534, -0.0538471043, -0.0178639796, 0.0248163324, 0.0281203184, 0.0336304866, -0.0684205443, -0.0228666961, -0.0051818299, 0.0255541075, -0.0119947996, -0.0021424303, 0.0076219658, -0.0025366812, -0.0089466684, 0.0121915815, 0.0074534975, -0.0048783277, 0.0821156353, -0.0676430389, -0.0284090918, -0.040314123, -0.0038438675, -0.0056854193, -0.0307670236, -0.0347107798, -0.0034322974, 0.0413555726, 0.0884368047, -0.0200523119, 0.011829895, -0.0952671468, 0.0306996964, -0.0063883308, 0.0025461153, -0.0384320915, -0.0089088362, -0.0041376287, 0.0673089847, -0.0035046835, -0.012146024, 0.0498078354, -0.0243151523, -0.0460132435, -0.0193044282, -0.0182623677, -0.0660435036, 0.0313417241, -0.0259802844, 0.0005108787, 0.0090328036, -0.0797729641, -0.0072127567, 0.0026128134, 0.0453390032, -0.0151285399, 0.0138837164, -0.0326642208, 0.0312776789, 0.0035617752, 0.0188526139, -0.0095321536, -0.0713648796, -0.0252343901, 0.0244742651, 0.0737115219, -0.0232169013, -0.0560361855, 0.0507926084, -0.0486425273, -0.0084171975, 0.0087866392, -0.0236018207, -0.0053375922, 0.0289831813, 0.06239767, 0.0056444295, -0.0007200951, -0.0377809554, 0.0576932766, -0.016964348, -0.0079146689, 0.0070981062, 0.0027228531, 0.0188738666, 0.0065868655, -0.0577099957, -0.0018574849, 0.0233927555, -0.0183457267, -0.0503995381, -0.003574559, 0.1155502722, 0.0216175634, 0.0209538583, -0.0017227292, 0.0085624559, 0.0168197732, -0.030262135, 0.0133097079, -0.1139091924, -0.053215228, -0.0016465548, 0.0013991534, 0.0359428525, -0.0303420182, -0.0177809335, -0.128027454, 0.0407027788, -0.0165784005, -0.0135351727, -0.0201148577, -0.010917794, -0.0648422986, -0.0634864345, 0.034045402, 0.0387511142, -0.028166661, 0.0284280665, 0.0204761103, -0.0790376589, -0.0361976512, 0.0022748858, 0.0024075436, -0.0103766937, 0.0450845957, -0.0187911578, -0.0069170748, -0.0103083076, -0.0435764827, 0.0156850982, 0.0077752154, -0.0056768786, 0.0462765135, -0.0312465113, -0.0169701651, 0.011058853, 0.0110090794, -0.0380984396, 0.0499817468, 0.005301056, -0.0197394677, -0.0271128528, -0.0032490429, 0.0139120761, 0.0345123298, -0.0244028401, 0.0951383635, 0.0258555543, -0.0388917029, -0.0256044529, -0.0492275916, -0.0024736875, -0.045245111, -0.044998236, 0.0098896259, 0.0326447412, -0.0331156626, -0.1010492817, -0.0801367089, 0.0449809805, 0.0113834469, -0.0095292954, -0.0070975032, 0.0511292145, -0.0177540313, -0.0139664337, 0.042103529, -0.0544073023, -0.0057979142, -0.0548922829, 0.0221985504, 0.0094479565, 0.0046085618, -0.0560580716, 0.0456001125, -0.0624192804, -0.0255591422, 0.0051404885, 0.0213988647, 0.0308886711, -0.0242883768, -0.0375140496, 0.021459857, 0.0068333307, 0.0469106995, -0.0832463875, -0.0203225259, 0.0659402534, 0.0224427748, -0.0052432227, 0.0265705828, -0.0240235422, 0.022308344, -0.0562719516, 0.072433129, -0.0236475058, -0.0177602563, 0.0256062746, 0.0162513815, 0.0207041111, 0.0025682042, -0.0010185468, -0.0171307679, -0.031943962, -0.0286861379, 0.0221265387, -0.0694580525, -0.0234267823, 0.0691203251, 0.0172334928, -0.0059735444, 0.0126278289, -0.0463419147, -0.0152738784, -0.0075932583, 0.0293287169, 0.00954461, -0.0151168425, 0.0050174827, -0.0423365794, 0.0208809227, 0.0131183881, 0.0236213412, -0.0218713656, -0.001899928, 0.0196463615, 0.003453406, 0.0422317162, -0.0275548659, -0.0013476179, 0.0002563743, -0.0397267416, 0.0047396389, 0.0519128256, 0.0359550007, -0.0452261381, 0.0196871907, -0.0492005609, 0.0213092994, -0.0001304743, 0.0068476293, 0.0283337459, -0.0401341282, 0.0351226144, -0.0011117628, -0.052143842, -0.0611527786, 0.112072967, 0.0146707157, 0.018745074, -0.0452657938, -0.000265142, -0.0447182879, -0.0447182842, 0.0372542553, -0.0100195715, -0.0174650662, 0.0171142984, -0.080265373, -0.0354247279, -0.02635796, -0.0039840909, 0.002224931, 0.0055850777, 0.0476347618, 0.0491718985, -0.0128175383, 0.0197447576, 0.0057879454, 0.0058396184, -0.0184873398, -0.0129119214, -0.0879086405, -6.143905998e-33, -0.0374317989, 0.009634071, 0.0464246087, -0.007378262, 0.02654103, 0.0133333011, -0.0091455309, 0.0022270752, 0.0192428213, 0.0064099408, 0.0074874405, 0.0202512816, 0.0208110772, 0.0164524186, 0.0179769639, -0.0010155286, 0.0480552912, -0.0351103283, -0.0158588123, -0.0443038084, -0.0018990913, 0.0599346757, 0.071515657, -0.0374333449, 0.0459676534, 0.0132786082, -0.0282239951, -0.0015768391, 0.0880439803, 0.04250893, -0.0137605984, 0.0313365273, 0.00617187, -0.1112226322, -0.0390818119, -0.00244008, -0.048089698, -0.0355908237, 0.0443030111, 0.0519150905, 0.0048712585, -0.0085330857, 0.0367519222, -0.0302884001, -0.0398913957, 0.0217881333, 0.0007747024, -0.0201643668, 0.0142943338, -0.0218531881, -0.0609919392, 0.0555105656, -0.0077876532, 0.013660837, 0.0851902962, 0.0766620636, -0.0154979974, 0.0001092207, 0.0123904683, 0.0083226645, 0.0255698878, 0.0125133106, 0.04122556, -0.029280046, -0.0145894103, 0.035082899, 0.0006222178, -0.0096823862, -0.0105389468, 0.0290147047, 0.0231592897, 0.0670368448, 0.0418126024, 0.0254182126, 0.0313036181, -0.0366720222, 0.0101902904, 0.0313291028, 0.0074051027, 0.0253625643, -0.0054422268, 0.0363988355, -0.0402584933, -0.0509712473, -0.0151581801, -0.0001111568, -0.0142202815, -0.0145959826, 0.0382635854, 0.0086768847, 0.0138883153, 0.0156328734, 0.0478663184, -0.0424749851, -0.0302910488, -0.0001584108, 0.0032910814, 0.0306369737, -0.0101577574, 0.0173735321, -0.0304552037, -0.0265970211, 0.0305437837, 0.0063584065, -0.0139202802, -0.0387205668, 0.0043667229, -0.0034630084, -0.0430165306, -0.008647861, 0.0034958667, 0.0264024623, -0.0119036268, 0.0496114679, 0.0266830921, 0.0297378544, -0.0354434997, 0.0033350301, -0.003929324, 0.0036591394, -0.0216642339, -0.003484275, -0.0001788284, 0.0558003671, 0.0157380197, 0.0250808764, -0.0126271006, 0.028733829, 0.0582554229, 0.0129097477, -0.0265810508, 0.0502405018, 2.549e-7, 0.0646700487, 0.0934180096, 0.037020985, 0.0034219436, 0.0046803099, 0.0285302643, -0.0199523903, -0.0158517361, 0.0155640701, -0.0098261358, 0.0206439216, 0.0076573994, 0.080135189, -0.0208824407, -0.0688214004, -0.0635314658, -0.0670356154, 0.0190663692, -0.0538281128, 0.0240827035, 0.0527064428, 0.0742203593, -0.0253792852, -0.0136671551, -0.0207637828, -0.0864391103, 0.0549061373, -0.0451907516, -0.0489434898, 0.0148550607, 0.0332463421, 0.0305137094, 0.0020983289, 0.022729449, 0.0033189484, 0.0205629654, 0.0507326163, 0.0614809915, 0.0110373162, 0.0107963877, 0.0051607657, 0.0024582262, -0.0432188883, -0.0188322905, 0.0408800617, -0.0827944204, -0.0354299434, -0.0324984975, -0.0685058832, 0.0264280383, 0.041111026, 0.0091270236, -0.0205823015, 0.0299736969, 0.0570562743, 0.0041207881, -0.0125714922, -0.0262685213, -0.0204572678, 0.024301542, -0.0271315034, 0.0416623205, -0.0451914258, 0.0118664587, 0.026248794, -0.0635466278, 0.0010797556, 2.257821591e-34, 0.0624640174, -0.008401867, 0.0017126043, 0.0498974696, 0.0788015649, 0.0109112104, -0.0029835035, 0.0617802665, -0.0391780362, -0.0950984433, 0.0029383164 ]
http://arxiv.org/abs/2310.13031v1
http://arxiv.org/pdf/2310.13031v1
A Use Case: Reformulating Query Rewriting as a Statistical Machine Translation Problem
2023-10-19T11:37:14
2023-10-19T11:37:14
Abdullah Can Algan, Emre Yürekli, Aykut Çayır
cs.CL
cs.CL, cs.AI, cs.LG
One of the most important challenges for modern search engines is to retrieve relevant web content based on user queries. In order to achieve this challenge, search engines have a module to rewrite user queries. That is why modern web search engines utilize some statistical and neural models used in the natural language processing domain. Statistical machine translation is a well-known NLP method among them. The paper proposes a query rewriting pipeline based on a monolingual machine translation model that learns to rewrite Arabic user search queries. This paper also describes preprocessing steps to create a mapping between user queries and web page titles.
[ 0.0737867057, 0.0147176869, -0.0170515329, -0.0017693156, -0.0578193516, 0.0168483444, 0.0162572749, 0.0024017971, -0.0103862807, -0.0504004881, -0.0079039074, -0.0318658873, -0.0211682003, 0.0307661928, 0.0399875008, -0.0729574114, 0.0109664602, 0.0001857544, -0.0311012845, 0.0177350044, 0.0200630613, 0.0129628778, 0.0309368465, 0.0306948796, 0.0138556603, 0.0148304636, -0.0240378417, 0.0424311943, -0.0364207923, 0.0304396283, 0.0242184922, 0.0467644371, -0.0161189679, 0.0467152596, 0.0000014431, -0.0571749806, -0.057517007, -0.0073911296, 0.0116557376, 0.0060888757, 0.0482423082, -0.0218036342, -0.0220932104, 0.0545131937, -0.0097178817, 0.0421622433, 0.0378949195, 0.0316901617, 0.0702859983, 0.0704313964, 0.0151229119, -0.0815105811, -0.0063815112, 0.0022410897, 0.0295375846, -0.0375088491, 0.0051915739, -0.0310347676, -0.0001783683, 0.0051702224, -0.003279103, 0.0612670332, -0.0279508103, -0.0380725861, -0.0124119166, -0.0456162877, -0.0510994531, -0.0061236923, 0.0270847287, 0.0313585438, -0.0613061935, -0.0189519059, 0.0052698916, 0.040614374, -0.0047166799, 0.0582401492, -0.020604128, -0.0088692242, -0.0090955887, -0.0206501018, 0.0223754477, -0.0360668264, 0.0092920391, -0.0005703737, -0.084516488, 0.0369299948, 0.0290694535, -0.0130834794, -0.0091972491, -0.0146512603, 0.0627493262, -0.0292828977, 0.0850695074, 0.0179382302, -0.007024026, 0.0337288305, -0.0621572398, -0.0404550917, 0.02732867, -0.121493347, -0.0036143519, 0.0378106162, 0.0319789276, 0.0460412689, -0.0579341948, 0.0281752627, 0.0240868218, 0.0221266337, -0.090983972, -0.0216789786, -0.057971999, -0.01317963, -0.0564300083, 0.016866073, -0.0242381375, 0.0197311547, -0.0688753054, 0.0541734993, 0.0451949723, -0.002573516, 0.0011214904, -0.0144607592, -0.0327624753, -0.0440494828, -0.0339275971, 0.0287516657, 0.0317819118, -0.0235414319, -0.0182615053, -0.0554375462, -0.0033787698, 0.0259066671, 0.0286201611, -0.0009002757, -0.0189768896, 0.0316579752, -0.0149897449, -0.0111168809, -0.0759060159, -0.0503684208, 0.0225030202, 0.0649691075, -0.0074687372, -0.0464789867, 0.0666184425, -0.0124515211, -0.0121495184, 0.0149995098, -0.0041015409, 0.0498802923, 0.0028474589, 0.0593997799, 0.0419894308, 0.0242965594, 0.0684139282, -0.0048482395, 0.047269661, 0.0289028455, 0.0075826282, 0.0371484347, 0.0375071429, 0.0084435325, 0.049570471, 0.0179134663, 0.008665367, 0.0130975656, -0.007777303, 0.0340860039, 0.0225438345, 0.048785381, -0.0213984735, 0.0459838621, -0.0066110496, -0.0191451423, 0.0429955088, 0.036518503, 0.0237262249, 0.013931185, 0.0596919097, 0.0173515715, 0.0071007456, -0.0005016011, -0.0220710915, -0.0019859991, 0.0124607226, 0.0064275009, 0.0185636226, 0.0527198128, -0.0155652948, -0.0318337642, 0.0337886438, -0.0134231336, -0.0191822648, 0.0021537112, 0.0474164225, 0.0169731136, -0.0429374985, -0.0464209169, -0.0472235121, -0.0088437693, 0.0633482188, -0.0750641376, -0.0771025047, 0.0849413797, 0.0558727831, -0.0145113636, -0.0338618979, -0.0526040047, -0.0222865716, -0.008480696, 0.0582673289, -0.023464635, -0.0137507971, -0.0195319802, -0.0553677157, 0.0483293347, 0.0267950371, 0.0094486391, 0.0106961858, 0.0116662541, 0.0619109459, -0.042032212, -0.0459207967, 0.0422240831, -0.0177113041, -0.0113103446, 0.0456920154, 0.0177370645, 0.008652484, 0.0195848513, -0.0054557994, 0.0324252807, -0.0195534304, -0.0107597187, -0.0582249053, -0.0211712718, 0.0232907403, -0.0058674216, 0.0072158705, -0.0719493553, 0.0302470196, 0.0231853966, -0.0370276086, -0.056321457, 0.0155185508, -0.047100503, 0.0194475539, -0.0341295339, 0.0800551623, -0.0126421144, -0.0037767366, -0.1091667935, 0.0013852853, 0.0174726546, -0.013139951, -0.0190799534, -0.0651181564, 0.0191583429, -0.0317933895, -0.0134563074, 0.030258825, -0.0097297542, 0.0430259705, 0.0391095728, -0.0114622647, -0.0387150943, 0.0073829731, -0.0435766764, -0.0174661949, -0.0143783242, 0.0351110958, 0.039873004, 0.0659481212, -0.0150515884, -0.0318287797, -0.020003628, -0.0744123384, -0.0092662945, 0.0288659278, 0.0337258689, 0.0059083267, -0.0228224862, -0.0203392264, -0.0451255739, -0.0077834767, 0.0308131576, 0.0183726661, -0.0354114659, -0.0076792086, 0.0071833357, -0.0189754292, -0.0179110821, 0.0191583224, -0.0238493178, -0.0453197286, -0.0427313522, 0.0149101969, 0.0420851186, 0.0354465097, -0.0470664836, 0.0174112283, -0.0006157976, -0.0248593837, 0.0030522067, -0.0491826497, -0.0460237488, -0.0049975668, -0.0900155306, 0.1019309685, -0.0462734737, 0.0202973858, -0.0116019892, -0.0053237262, 0.0041818488, -0.0227177422, -0.0112440474, -0.0484563336, 0.038378153, 0.0390523858, 0.077315338, 0.0079486407, -0.0383036919, 0.0631661341, 0.0394874364, 0.0350580737, -0.0667732581, -0.0118279941, -0.0317167826, 0.0039209034, -0.0390271395, 0.0686369017, -0.0506108403, -0.0362479016, -0.0318659544, -0.0030385412, 0.0414226167, -0.0452803895, -0.0134271262, -0.0309187304, 0.0007494837, -0.0116389534, -0.0173558071, -0.0040897662, -0.025933573, 0.0117974728, -0.0326391868, 0.0276188906, -0.0213912539, -0.0587477311, 0.0489743017, 0.0488228127, 0.046663098, -0.0172125828, -0.0421160236, 0.0096791135, -0.001527609, 0.031707719, -0.0133222137, -0.0408102721, 0.021494098, 0.0136337141, 0.0152118504, 0.0069417385, -0.0499017425, 0.0119658522, -0.012558423, 0.0398000404, -0.0903245136, -0.0292644836, -0.0196083207, -0.0642328411, -0.0420644134, 0.0266038273, 0.0664604455, 0.0576389171, -0.0329589844, -0.0412458219, -0.0165542252, -0.0217728559, 0.0193684436, 0.0633405447, -0.0362601317, 0.0251748804, 0.0242951177, 0.0494790375, 0.0131407976, 0.0231869929, 0.0071982238, -0.0494729951, 0.0048136748, -0.0306672007, -0.0411882736, -0.0398407653, -0.0682817027, -0.0131613044, -0.0242744815, -0.0160122346, 0.0171248075, -0.0218495112, 0.0323404223, 0.0366195999, 0.0234284159, -0.0586451963, -0.0434304848, -0.0688936263, -0.0185754318, 0.0778542757, 0.0342746973, 0.0061410656, 0.0314795226, -0.0170405321, -0.0128957378, 0.001627289, -0.0123790242, 0.0324302353, -0.0056504323, 0.0112205083, -0.0126215694, -0.0414008722, -0.0327073112, 0.0742992312, 0.0103036407, 0.0445060953, -0.0432167239, 0.0426337346, -0.0190109294, -0.0319379605, -0.0344534628, 0.0257531535, -0.01745506, -0.0017262327, -0.0611460172, -0.049884215, -0.0142246699, -0.0496035703, -0.020576369, -0.0145926801, -0.0508591682, -0.0036686342, -0.0734429136, -0.0358688161, 0.0128701758, 0.0359752364, 0.057794299, 0.034317065, 0.0514945872, -0.0270874556, -0.0570259877, -0.0559967943, -0.0268799029, 0.043570105, -0.0341528282, 0.015706785, 0.0513423309, -0.0508824028, 0.0012344258, -0.017154213, -0.0071995263, -0.0520392917, -0.0152912736, 0.0183931999, 0.019079335, 0.0047065932, -0.0362229086, -0.0459957644, -0.0041459054, 0.0025240637, -0.0037543077, -0.0467163175, 0.0142429229, 0.0281416513, -0.0314123705, 0.0481074899, -0.0107209366, -0.0391559713, -0.031196136, 0.0061733685, -0.0075811171, -0.0501372665, 0.0955837294, 0.0182559732, 0.0083307782, -0.005876991, -0.0223364644, -0.019067008, 0.0464629419, -0.0268793385, -0.0102615282, 0.0063665211, 0.0195908137, 0.0651973188, 0.0268508177, 0.0117760701, 0.0034716141, -0.0321234353, -0.046529837, -0.0200612936, -0.0129164206, -0.0251885504, 0.0024173178, 0.0087434892, 0.0329398103, 0.015675202, 0.0030998583, 0.0313951485, 0.0125813438, -0.0385469086, -0.0222293474, 0.023935914, 0.0150415981, -0.0181227196, 0.052715715, -0.0506174713, -0.0350899324, -0.0107626608, -0.004837113, 0.0376819372, -0.0190318339, -0.011410973, 0.0243055485, -0.0214697067, 0.0010400887, 0.0311198719, 0.0183915887, 0.021597201, 0.0084221736, -0.0192926954, 0.009422835, -0.000541552, 0.0682232305, 0.0017813052, -0.0108835548, -0.0019782132, -0.0595002025, -0.0143358121, -0.002517838, 0.0316725858, 0.0111286575, -0.0496532694, -0.0504777469, 0.0084147789, -0.0473502688, -0.0028252506, -0.0095891831, 0.0465496406, -0.0089436024, 0.0528860316, 0.1387064755, 0.0172821879, -0.0048321281, -0.0553574003, 0.0098493891, -0.0205527972, -0.0490369536, -0.0249128416, -5.736563042e-33, 0.0165725853, -0.0028311554, 0.0337531306, 0.0036400948, -0.0026576314, -0.0292283855, -0.0197621286, -0.0113259517, -0.04194187, -0.0185990166, -0.0335213505, 0.0314334594, 0.0366833843, 0.0073577752, 0.0154779116, -0.0100492314, 0.0316644385, 0.0048211482, -0.0058634984, 0.0212078672, 0.0206032116, 0.05582086, 0.0546693578, -0.0413532257, 0.0104502905, -0.0153984372, -0.0224802308, 0.0419676565, 0.0289368145, 0.0251131561, 0.0059063188, -0.0123847816, 0.040453434, -0.0313007608, 0.0208630376, -0.0310707055, -0.0533025898, 0.0025693015, 0.0170246772, 0.0532793663, 0.0259189457, -0.0095863706, 0.0301479492, -0.0421255231, -0.0041979905, 0.072256498, 0.0307335425, -0.0049790824, -0.0181989651, -0.0440097079, -0.0697829649, 0.0239198226, -0.005768043, 0.0044900216, 0.0234411061, 0.0677255988, -0.0019473552, 0.014043537, 0.0237750597, 0.0292462111, -0.0245145075, 0.0646199286, 0.0882438049, 0.0658830106, -0.0295670982, -0.0127458479, 0.0188990142, 0.0135227628, 0.0437105633, 0.0219937526, 0.0066881599, -0.0420264862, 0.0438490659, 0.0230240077, -0.0180404987, -0.0063247802, 0.008354716, 0.0792630762, -0.0012242186, 0.0058547808, 0.0154207489, 0.0293785781, -0.036178235, -0.0234472547, -0.0354654416, 0.0041105552, -0.0449462421, 0.0123111969, 0.0121921347, 0.0311113335, -0.0407663174, 0.0346952341, -0.0118580116, -0.0170949791, 0.0078947954, -0.0163686275, 0.0170818157, -0.0165252667, -0.0062945173, 0.0324360467, 0.0255945623, 0.0093626203, -0.0144864991, 0.0103854295, -0.0356210135, -0.0396990627, -0.0077985292, 0.0338446908, -0.0436731614, 0.0116495062, -0.0147551168, -0.0192245394, 0.0000179738, 0.0250657815, 0.0010469994, 0.0273790862, 0.0082563339, -0.0180459358, 0.078698568, -0.0084284693, -0.0322801769, -0.0408653319, -0.0013315534, 0.0251254532, -0.0279946383, 0.0215433333, -0.04645532, 0.0215190444, 0.0315582007, -0.0810801238, -0.0155194933, -0.0114349565, 2.398e-7, 0.0685328469, 0.0556707568, -0.0126454039, 0.0489028804, -0.034982942, 0.0105289109, 0.030100774, 0.0316989236, 0.0199206527, 0.0743866563, 0.0521317534, -0.0376482159, 0.011605856, -0.0214791913, -0.1073696837, -0.0287912693, -0.0058322861, -0.0052444115, -0.0472619459, 0.0023250401, 0.0456262752, 0.1088107303, -0.0173054729, 0.0006758314, -0.0412446447, -0.0636693239, -0.0177943278, -0.0061391685, -0.0268011205, 0.0414699316, 0.068269901, 0.0222011711, 0.0082781455, -0.0043016919, -0.0381619334, 0.0008248761, 0.0747084171, 0.045078557, 0.0053852019, 0.0218522158, 0.0012984375, -0.0494497307, 0.0054834229, -0.0763762742, 0.0355760306, 0.0286949966, 0.0126471352, 0.0304951649, -0.0119514577, 0.015952494, 0.0648666173, -0.0755668879, -0.022963509, 0.0161129031, 0.0453395471, 0.0442932248, 0.009447501, -0.020237809, -0.0023140148, -0.0337947942, 0.0026304591, 0.0113761351, -0.0213901792, 0.0384044684, -0.014306291, 0.0153039508, 0.0107291788, 2.088996266e-34, 0.0496479049, 0.0195766091, -0.0463916734, -0.0105791753, 0.031071445, -0.007512975, -0.0430003554, 0.0275444873, 0.004639389, -0.0631965697, -0.0528640598 ]
http://arxiv.org/abs/2310.12648v2
http://arxiv.org/pdf/2310.12648v2
Towards Real-World Streaming Speech Translation for Code-Switched Speech
2023-10-19T11:15:02
2023-10-23T11:47:53
Belen Alastruey, Matthias Sperber, Christian Gollan, Dominic Telaar, Tim Ng, Aashish Agarwal
cs.CL
cs.CL
Code-switching (CS), i.e. mixing different languages in a single sentence, is a common phenomenon in communication and can be challenging in many Natural Language Processing (NLP) settings. Previous studies on CS speech have shown promising results for end-to-end speech translation (ST), but have been limited to offline scenarios and to translation to one of the languages present in the source (\textit{monolingual transcription}). In this paper, we focus on two essential yet unexplored areas for real-world CS speech translation: streaming settings, and translation to a third language (i.e., a language not included in the source). To this end, we extend the Fisher and Miami test and validation datasets to include new targets in Spanish and German. Using this data, we train a model for both offline and streaming ST and we establish baseline results for the two settings mentioned earlier.
[ -0.027447734, 0.0299358461, -0.0109479018, 0.0153249213, -0.0448620766, 0.0215737801, 0.017456416, 0.0011342438, -0.0321573503, -0.0130170863, -0.0437779091, -0.0237711668, 0.0543991476, 0.0562615469, 0.0642315, -0.0085911462, 0.0529347099, -0.0408932157, -0.0424512066, 0.0181614775, 0.011004407, 0.0144618815, -0.0272692814, 0.0201211888, -0.0020908425, -0.0157324355, 0.010956171, 0.0530451722, 0.0256898552, -0.0135154594, -0.0100358734, 0.0018415964, 0.0270172749, 0.0391640104, 0.0000017706, -0.009484387, -0.0494058467, 0.0081162285, -0.0338103995, -0.0094252387, 0.0320106372, -0.0365573876, -0.0209658407, 0.0710706189, -0.0395242237, -0.0319180451, 0.0559976846, -0.0408938043, 0.0285762511, 0.0969879031, -0.0284543447, -0.0328609087, 0.0010947601, -0.0348573998, -0.0423424765, -0.0347744972, -0.0013965189, -0.015829308, -0.0185404979, -0.0198366102, -0.0261229537, 0.0725354552, -0.0039675981, 0.0001990824, -0.0256537627, -0.022749763, -0.0785999447, -0.0077333148, -0.0063692322, 0.0583104938, -0.0655741543, -0.0129021546, 0.0334545858, -0.0217228495, -0.0189915113, -0.0838258192, -0.0151288603, 0.0087542702, -0.0130856754, -0.0174347479, -0.0065616965, 0.0338258743, 0.0104684932, -0.0469046645, -0.0644895434, 0.0003610511, 0.0297880117, -0.0153116658, -0.0079345535, -0.0113099143, 0.031584505, -0.0231691524, 0.0321363732, -0.0254368987, -0.0190125052, 0.0135793434, -0.0256114416, -0.0336479582, -0.0316081271, -0.0344837122, 0.057440985, 0.0663819388, -0.0432929322, 0.0105965743, 0.0092119211, 0.0500408858, -0.0137001583, 0.0158384088, -0.0220263898, 0.012563847, -0.0362046883, 0.0269957706, -0.0656944215, -0.0230073743, -0.0331518538, -0.0187893528, -0.0054608434, 0.0066905278, 0.0150132282, 0.0069493568, 0.0151491137, -0.0534071736, -0.0345681794, 0.0249292329, 0.063057214, 0.0631698444, -0.0043316595, -0.0000778723, 0.0252494421, -0.1088732257, -0.0055603236, 0.0203450844, 0.0038895491, -0.000765936, -0.0104261991, 0.050273288, -0.0041260202, -0.0095886132, 0.008847299, 0.0159782842, -0.0446339846, -0.0618863069, 0.0067352029, -0.0552950427, 0.0571592525, 0.0212417115, 0.046733588, -0.0525419936, -0.0160912927, -0.0343251154, 0.0186486859, 0.0656228215, -0.0184075292, 0.0187314227, 0.0047235601, -0.0331861153, -0.0490349457, 0.1074299365, 0.0741470456, -0.0554854013, 0.0564111136, -0.0342031866, -0.00450736, 0.0874166936, -0.0084120324, 0.0259476658, -0.0299492385, -0.0106954984, 0.0456948727, 0.0344980843, 0.0252632182, 0.0167827234, -0.0394449942, 0.0243999455, 0.0158528872, 0.0131493872, 0.047887072, 0.0207148474, 0.0408791117, 0.0379739441, 0.007386873, 0.0035403261, 0.0129611911, 0.0030068527, 0.0208661053, 0.0067293672, 0.0550216064, 0.0372237638, -0.0311785825, -0.003360355, -0.0087875817, -0.0240545869, 0.0200530924, -0.0359180644, 0.0089354813, 0.0044276104, -0.0355879143, 0.0135456799, -0.0027220137, -0.0594935454, 0.0294408947, -0.0244592112, -0.0538788997, 0.0762685835, 0.03164123, 0.0262067169, -0.0025629716, -0.0440827645, 0.0082350709, 0.0341980308, 0.0215975121, 0.0090253958, 0.0791995004, -0.052483853, 0.0266789645, 0.0185946766, 0.0150581766, 0.0522700362, -0.0096636647, 0.0373369381, -0.017094275, 0.0074647926, -0.0383917615, -0.0132141504, -0.0250366461, 0.0290059391, 0.0347772278, -0.0120662972, 0.0163377132, -0.0153197972, -0.0405993834, 0.0203321334, -0.0123658851, -0.0230637025, 0.0025164909, 0.0675426573, -0.0059662713, -0.0556422956, 0.0073820809, -0.0731297359, 0.0000873866, 0.0583788678, 0.0109447902, -0.0601592511, 0.0073565897, -0.0190683659, 0.0414690487, -0.0065564057, 0.0538438261, 0.0084036803, 0.0201638825, 0.0158358533, -0.0261994712, 0.0181972608, 0.019693451, -0.0155306794, -0.0277298298, 0.0235532988, -0.0579993501, 0.0189389028, 0.0638037398, -0.032833077, 0.003558011, -0.0174415056, 0.0072481111, -0.022350274, -0.0148338601, -0.0441089086, 0.0331075862, -0.0374817625, 0.0422252528, 0.0380105786, 0.0184651949, -0.0173670128, 0.0025334843, -0.0314747244, 0.0076046572, 0.0036197517, 0.0161013696, -0.0191370994, -0.0269684084, 0.0066203894, -0.0491789281, 0.0123423757, 0.0093065333, 0.0333366692, -0.0332967229, -0.045286689, -0.0915998891, 0.0192280989, 0.0063279346, 0.0021220522, 0.0153505709, -0.0446917042, 0.0213338546, 0.0122138541, 0.0541267917, 0.0202718992, -0.0095526827, -0.0471168533, 0.0242436044, -0.046907261, -0.0535696037, -0.0128972875, 0.0483812205, -0.0369425304, -0.0301686749, -0.0238774419, 0.0370535702, 0.0300121382, 0.0137685882, 0.0379387289, -0.071306102, -0.0730873644, -0.0379171968, -0.0190058667, 0.0225761663, 0.0005278028, -0.0238699205, 0.0528370999, -0.0037941365, -0.0363333598, -0.0002406261, -0.0520019941, -0.0561991334, -0.0599326454, -0.0010033452, -0.0151473982, -0.0040522353, -0.0384626016, -0.0095766969, 0.0122700436, -0.03067361, -0.021028107, -0.0002799958, 0.0003003803, -0.0410394259, 0.021836875, -0.0553451627, 0.0059760893, -0.0105729848, -0.0367694534, 0.0060813851, -0.0043439353, -0.0402092673, -0.0235716086, 0.0631272495, -0.0528990068, -0.0036729635, 0.0233548079, -0.0062593985, 0.094849728, -0.0219343174, -0.0069428743, -0.0031411143, 0.0386261791, -0.0100341598, -0.0106309243, -0.0085704001, -0.0254264586, 0.0188833699, -0.0112221735, 0.0568204634, 0.0616143532, -0.0456918143, -0.0204024483, 0.0533539988, 0.0285529699, -0.0605453327, 0.0053503797, 0.0446698405, -0.0223360024, -0.0244041607, 0.0898282677, 0.0200974736, -0.0544776805, -0.0221917238, -0.0136313103, 0.0503448546, 0.0290243346, 0.0313082859, -0.0846655741, -0.02467422, 0.0183584988, 0.0481659956, 0.0209831949, 0.0256414656, -0.0621507205, -0.0723545179, 0.0325509571, 0.0525366329, -0.0617158823, -0.0565710142, -0.004498479, -0.015356143, -0.0372520797, 0.0104570333, -0.0082268957, -0.0070083374, -0.025811322, 0.0154525926, -0.0319960676, -0.0027652418, -0.0084557505, -0.022374412, 0.075645268, 0.0851943716, 0.0247611292, 0.0047170152, -0.0259170178, 0.0470075719, -0.0221955087, 0.0026383873, -0.0064020692, 0.0141761433, -0.014690279, -0.0127413953, 0.0456312858, 0.0052295718, -0.0256974027, 0.007415195, 0.0289447755, 0.0330698304, 0.0068808785, -0.0022851853, 0.0479844175, 0.0411310755, 0.0366150104, 0.026853025, 0.029445447, -0.0648042858, 0.0120616937, -0.0188230667, 0.0142365992, -0.0354740061, -0.0118515352, 0.0055920216, -0.0022467861, -0.052782245, -0.0638854206, 0.0109006939, 0.0159599613, 0.0647116601, 0.0083808983, 0.0154210432, 0.0404480137, 0.0069536264, -0.003514284, -0.0071793604, -0.0319396108, 0.0429552086, -0.0516844764, -0.0108601106, 0.048303131, -0.0349662304, 0.0126550216, 0.0187049285, -0.1233886853, -0.0812815502, 0.0051193251, -0.0162755139, 0.028444713, 0.0619873554, -0.0550095774, -0.006632688, -0.0650345087, -0.0235199202, -0.0513571166, 0.0254213288, 0.0946111158, 0.0176778231, -0.0019582203, 0.025909109, -0.0146251516, -0.036888916, -0.0304009188, 0.0066576689, -0.0366575979, -0.0122580063, -0.0066270176, -0.0226822887, 0.0126431677, -0.0092129158, -0.0690639317, -0.0141921928, 0.0450864509, 0.012195617, 0.0342910811, -0.0360998847, -0.015923718, 0.0460848436, 0.0091731632, -0.0345316082, 0.026249744, -0.0561912656, -0.0455542132, 0.0113470107, 0.0154030984, 0.0396786742, 0.0257156417, 0.0032553663, 0.0089078201, -0.0125579247, 0.0591789447, -0.0053938124, 0.0014015981, -0.0484030098, 0.027144473, 0.0063740979, -0.0036738974, 0.0395584702, 0.0423712544, -0.0407480299, -0.0296486393, 0.0274334345, -0.0134255579, 0.0407316908, 0.0220026169, 0.1300000399, 0.0214486122, 0.0331749059, -0.023498483, 0.0405746847, -0.0287887324, -0.0313482061, -0.0215008408, -0.0141840279, -0.011523894, 0.0198585987, 0.0544391461, 0.0127736162, -0.0052189166, -0.0110741593, 0.0334452465, -0.0124473162, 0.0137134055, 0.0084785027, -0.0128062535, -0.0056435233, -0.0508698262, -0.021148365, -0.0589198396, 0.0463755839, 0.0109289158, 0.0379705615, -0.0114741968, -0.0034551944, 0.0729810521, -0.0264036711, 0.023350101, -0.0209228825, -0.0344188102, 0.0958710313, -0.0320140943, -0.0147179905, -5.683605185e-33, 0.0034241497, 0.0114364615, -0.0148289641, -0.0189506225, -0.0304704998, -0.0307826567, -0.0444282964, -0.0082436604, -0.0090986127, -0.0430673733, -0.0317285247, 0.0568605997, 0.0392841399, -0.0079586934, 0.0136108119, -0.0159435626, 0.0451220796, -0.000875535, -0.0375656746, 0.0270652734, 0.0108030383, 0.0128360214, 0.0384480543, -0.0427161604, 0.0017288271, 0.0017276981, -0.0414075106, -0.0265857391, -0.0067591495, 0.0189721398, 0.0380520076, 0.0197397768, 0.0106417891, -0.0179993659, -0.0363111757, 0.0101346355, -0.0500360392, 0.0279452261, 0.036125876, 0.070677124, -0.0095660351, -0.0255405903, 0.0179088283, -0.0334105268, 0.0101757934, -0.0177652482, -0.0069538006, -0.0374609716, -0.0250983592, 0.000879129, -0.0716619194, 0.0357175618, -0.0281537883, -0.0207228567, 0.0344621018, 0.1003050432, -0.0255908798, -0.0449809358, -0.060191147, 0.0655713081, -0.0106905838, 0.0293995924, 0.0282103624, -0.011771244, -0.011607904, 0.013220964, 0.0572885014, -0.0191852972, 0.0658937544, -0.0331466682, 0.0698488429, -0.0141492644, 0.0415126309, 0.0364938788, 0.0474972203, -0.0413096398, -0.0145079382, -0.0424214117, 0.0178928059, -0.0422174931, 0.0017984919, 0.0374508835, -0.0172414146, -0.0023485583, -0.0440626182, -0.0857519656, -0.0092216544, -0.0195654891, 0.0446036234, 0.0116120847, 0.0139823593, -0.0175161995, 0.1020812318, -0.0045644566, 0.0053817304, 0.002346403, 0.000322864, 0.0503246747, -0.026550537, 0.0828397647, -0.0307493154, -0.0297170207, 0.0531580783, 0.0340870358, 0.0550759956, -0.0245663784, 0.0328829922, 0.0573474132, -0.0649601445, -0.0119116958, -0.0032850993, 0.0285130292, -0.0251512136, 0.0166678969, 0.0261363722, -0.0100438856, 0.0056162295, 0.0163724683, -0.0333577469, -0.0239685234, -0.0429680981, -0.0328148119, -0.0032452948, 0.0683290809, -0.0631135255, -0.0007351829, -0.0336808823, 0.0314517394, 0.041765146, -0.0366857499, -0.0398249775, -0.0049177869, 2.56e-7, 0.0175623018, 0.0240812562, -0.0129062999, 0.0243534092, 0.0237735063, -0.0261404049, -0.0544123575, 0.0178481638, 0.0272971522, 0.041308064, -0.025896702, -0.0127664711, 0.129226312, 0.0234415345, -0.0718787313, -0.0630708039, 0.0106043937, 0.0517522879, -0.0349795371, -0.0227124002, 0.0524787083, 0.1003194451, -0.0409575701, 0.0340541899, 0.0153939398, 0.0226221606, 0.0223905705, -0.0031470675, 0.0202832837, -0.037010964, -0.0440173, 0.010794661, -0.0388939641, 0.0190628394, -0.0311315265, -0.009276446, 0.0409828871, 0.0592535213, -0.0034387463, -0.0259383414, 0.0047018714, 0.0056575523, -0.0723394006, -0.0285339784, 0.0545482226, -0.0090058614, 0.0374816805, -0.0080533316, -0.0107860863, 0.0340592153, 0.0070946622, -0.0333263576, -0.0325173624, 0.042800542, 0.0370822623, 0.0147818504, -0.0234564431, -0.0179033577, -0.0107059078, -0.0158283096, -0.0034506596, -0.0485846251, -0.0377086923, 0.0130850673, 0.0465450324, -0.0217955988, -0.0051107868, 2.132746466e-34, 0.0378764458, -0.0205185823, 0.0318571962, -0.0018402935, 0.0203084592, -0.0378109477, 0.0267678667, 0.0344585404, -0.0130955912, -0.0131101217, -0.0423482843 ]
http://arxiv.org/abs/2310.12640v1
http://arxiv.org/pdf/2310.12640v1
Non-Autoregressive Sentence Ordering
2023-10-19T10:57:51
2023-10-19T10:57:51
Yi Bin, Wenhao Shi, Bin Ji, Jipeng Zhang, Yujuan Ding, Yang Yang
cs.CL
cs.CL
Existing sentence ordering approaches generally employ encoder-decoder frameworks with the pointer net to recover the coherence by recurrently predicting each sentence step-by-step. Such an autoregressive manner only leverages unilateral dependencies during decoding and cannot fully explore the semantic dependency between sentences for ordering. To overcome these limitations, in this paper, we propose a novel Non-Autoregressive Ordering Network, dubbed \textit{NAON}, which explores bilateral dependencies between sentences and predicts the sentence for each position in parallel. We claim that the non-autoregressive manner is not just applicable but also particularly suitable to the sentence ordering task because of two peculiar characteristics of the task: 1) each generation target is in deterministic length, and 2) the sentences and positions should match exclusively. Furthermore, to address the repetition issue of the naive non-autoregressive Transformer, we introduce an exclusive loss to constrain the exclusiveness between positions and sentences. To verify the effectiveness of the proposed model, we conduct extensive experiments on several common-used datasets and the experimental results show that our method outperforms all the autoregressive approaches and yields competitive performance compared with the state-of-the-arts. The codes are available at: \url{https://github.com/steven640pixel/nonautoregressive-sentence-ordering}.
[ 0.0166150015, 0.107157819, -0.0017378404, 0.0585517883, -0.011144896, 0.0237394348, -0.0120195812, -0.0505890064, -0.0346421748, 0.0064960606, 0.0287043508, -0.0096476655, 0.0394851454, 0.0358065031, -0.0051331678, -0.0687741265, 0.0122844838, -0.0133071002, 0.0004701717, -0.0028896721, -0.0089274021, -0.0058304924, -0.0481113642, 0.0299652796, -0.0110676605, -0.023737425, -0.0254644491, 0.0357486829, 0.0527044944, -0.0355703309, 0.0345797352, 0.0344869159, 0.0153041873, -0.0131174633, 0.0000021921, 0.0250998475, -0.0041609025, -0.0283755716, 0.0470312126, -0.0149377258, -0.038682662, -0.0533716716, -0.0312643684, -0.0097518386, -0.0349456295, 0.0044065504, 0.0212213695, 0.0490820333, 0.10584867, 0.0734267756, -0.0118430527, -0.0585277118, 0.0111447433, -0.0637096986, 0.0087715052, 0.0025887405, -0.0113545265, 0.0002110705, -0.0303658694, 0.0600308888, -0.0498639718, 0.0561430641, 0.0740506724, 0.0192718767, 0.0079344213, 0.0423805006, -0.0115889478, -0.01790905, -0.0228885617, 0.0766663849, -0.0064729387, 0.012829138, 0.0269989222, -0.0163372997, 0.015154995, -0.0190545376, -0.0215031076, 0.0546568595, 0.0366389044, 0.0330726244, -0.0033509459, 0.0665119514, -0.0206199586, -0.014729999, -0.0215963516, 0.0555971488, 0.0043978039, -0.0449004583, -0.038144391, 0.0159850512, 0.00615098, 0.0169106424, 0.0201055612, -0.016809687, -0.0115632387, -0.0110708494, -0.0030633509, -0.0119748842, -0.0249846261, -0.0382575579, 0.0351402089, 0.0092634633, -0.0170415025, -0.0077083297, -0.0419391729, 0.0665383115, -0.0048396871, -0.0335678235, -0.0332856812, 0.0174321849, -0.0073385062, -0.0296227653, -0.0196436048, 0.0419589467, -0.0422403626, -0.0547392555, -0.0702626333, 0.0157764722, 0.0149635701, 0.0029790865, 0.0215600487, 0.0684249252, -0.025546141, -0.0087753497, 0.0079294527, 0.0231252033, -0.0144839063, -0.0290240366, 0.0003377651, -0.0182612129, -0.0289438367, 0.0470253006, 0.0113633107, -0.0099610379, -0.0254766662, 0.0448380746, -0.0236105844, 0.0111587038, 0.0005585247, -0.0043873559, -0.032857433, -0.0279566403, 0.0187887605, -0.0511892028, -0.0054859389, 0.0176172219, 0.0157517791, -0.0296400543, 0.0236958601, 0.0305448808, -0.0501035601, 0.0458176583, 0.053722851, -0.0284610353, -0.0026499012, 0.0119524626, 0.0582410581, 0.0191024598, 0.058578819, 0.0664353669, -0.0256205928, 0.0228812359, 0.0046643601, 0.0078154253, -0.0136847794, -0.0267163608, -0.0256908163, -0.0255952962, -0.03601408, 0.0286037549, 0.0556150079, 0.035187725, -0.0203116983, -0.0184461679, 0.0399546064, -0.005012359, 0.0286603887, -0.0094663082, 0.0496233515, 0.0133614922, -0.0334421806, 0.0548375994, -0.0207096506, 0.0536134839, 0.0269333441, 0.0197559763, 0.0044779526, 0.0025250332, -0.0263183508, -0.0699513778, 0.0530234911, -0.0414266363, -0.0011495709, -0.0345941, 0.0003969817, 0.0581788197, -0.0859045163, 0.0297932494, -0.0179690626, -0.0424678326, -0.0523242466, 0.0129657555, -0.0366905369, 0.0767633617, 0.0059511727, 0.0078938184, -0.0500927381, 0.0236927625, -0.0145103289, 0.0868078023, -0.0420254804, 0.0060950718, 0.0330730788, -0.0440328158, -0.003918455, -0.0093474733, 0.0000232815, 0.0441407114, -0.0075788684, 0.0337104239, 0.0690394044, 0.0650109202, 0.0073570954, 0.0107307928, 0.0018190409, -0.0145922936, 0.0324837007, 0.0199455842, 0.0142371505, 0.0117397401, -0.0008675872, 0.0518880859, 0.0572735034, -0.0713481829, -0.0337455869, 0.0231061224, -0.1227729023, -0.1047871858, -0.0319257192, -0.0496855378, -0.0185831636, 0.0629337281, -0.0655329302, -0.0583002828, 0.0518267639, -0.0109079536, 0.0308885332, -0.0338312276, -0.005161298, 0.082512103, 0.017437594, -0.0234188326, 0.0554715954, -0.0424348116, 0.0219081361, 0.0038403645, 0.0285218973, -0.0074690292, -0.0375921614, -0.0056201383, 0.0046900162, 0.0142183742, -0.0052570049, 0.0290104765, 0.0012372547, -0.0139261074, -0.0556945689, -0.0484416448, -0.0105681457, -0.0243130401, -0.0214061197, 0.0217617787, 0.0327718928, 0.0199515298, -0.0594228506, -0.043339096, 0.0145074185, 0.0402108692, 0.0147479745, 0.0541875362, -0.0274151973, -0.038783811, 0.002875302, -0.0232063867, -0.0009498267, 0.0419242866, -0.0350826569, -0.0238746442, -0.0495191813, 0.0160248838, -0.0292003341, -0.0083366968, -0.0041645477, -0.0391497985, 0.0221554469, 0.0026650173, 0.0325094722, 0.0533448122, 0.0468470678, 0.0370132327, -0.001107996, -0.0051367208, 0.0010684822, 0.0067975302, -0.0296329912, 0.0513272248, 0.0129226735, -0.021668192, -0.0353683755, 0.0652204007, 0.0455744863, 0.028890742, -0.0404979847, -0.0104291905, -0.0228780862, -0.0215178523, -0.0420348383, -0.0298553798, -0.0260159206, -0.0128645608, -0.0294108856, 0.0112124747, 0.0213432293, -0.0350977033, -0.0124857528, -0.0208700076, -0.0108989226, -0.051135473, 0.0637699738, 0.0697165951, 0.0180832669, 0.0045388113, -0.0508000627, -0.0697948113, 0.008350878, 0.012153957, -0.0077883485, 0.0305279773, -0.0049748393, 0.0022559655, -0.0154074784, -0.0731221884, -0.0593226254, -0.0381198898, 0.0121697895, -0.0102929166, 0.0166022088, -0.0142806759, -0.0188493971, -0.0187144727, 0.0019794139, 0.0461615697, -0.0423961617, -0.0016926718, -0.0254233778, 0.1236876175, 0.0485132337, 0.0124771399, -0.0085657472, -0.0347565599, -0.001700834, 0.053416986, -0.0162082706, -0.0055520921, -0.0623667911, 0.0191308465, -0.0154646197, -0.0040661073, -0.0082520312, -0.0002195744, -0.0200381521, -0.0379584543, -0.0076357694, 0.1032987684, 0.0183149893, -0.0057627154, 0.005907618, 0.0269819871, 0.0877641514, 0.0194588173, 0.0027291453, -0.0729273558, -0.0316009112, -0.0104607623, 0.0018155755, 0.0464926846, -0.012123256, -0.0094256634, -0.0729347095, 0.0154428352, 0.0137224561, -0.0075124763, -0.0233419631, -0.0185099673, -0.0509859063, -0.0146790762, -0.0085442523, 0.038326364, -0.0045026424, 0.0117259976, 0.0236220472, -0.0347266644, 0.0071312189, -0.0399432071, -0.0028403027, 0.0206006374, 0.0681223944, 0.0313663147, 0.0004325278, 0.0056539089, 0.0128178606, -0.0344066732, 0.0390378311, 0.0239065159, 0.0388763472, -0.0244587306, -0.0084390566, -0.0231650658, 0.0205144081, -0.0798005983, 0.0019822009, 0.0060362373, 0.0089569017, -0.0264661573, -0.0271334294, -0.022152612, 0.0168487728, -0.0214890409, 0.0490928777, 0.026946323, -0.0139988819, -0.0580497719, -0.0513894334, 0.0395641439, -0.0610250011, -0.0299442932, -0.012415193, 0.1065799519, -0.025042953, -0.094498612, -0.0670874789, -0.0513835624, 0.0107523464, -0.0212949142, 0.0095742606, 0.023575848, -0.0331710465, -0.0511358976, -0.0178064611, 0.0196475405, -0.027708482, -0.0474653356, 0.0072320802, 0.0639604181, 0.0201819185, -0.0469387136, 0.008629323, -0.0614967458, -0.0466687717, 0.0193274524, 0.0598276742, 0.0068321452, 0.0411825329, 0.023238929, 0.0209429041, 0.0508207753, 0.0327278115, -0.0336337425, 0.0247413386, 0.0357996188, -0.0068094525, -0.0134006934, 0.0193413552, -0.0314915851, 0.0563994497, -0.0562138893, 0.0464796387, -0.0018272224, -0.0560756661, 0.0197108835, -0.0298594795, 0.0440852977, -0.010464075, 0.0161616188, -0.0356024839, 0.0606132783, -0.0302896574, -0.0236505549, -0.0457903221, 0.0371372588, 0.0381351337, 0.0227392707, -0.0264794212, -0.0050185905, 0.028656844, -0.0120948646, 0.0019855867, -0.0016441832, 0.0311839134, -0.0134166498, -0.0137709454, 0.0101041226, -0.0245191008, 0.0363749415, 0.012288806, 0.0442306399, -0.0280456096, 0.0264420323, 0.0232195444, 0.0083821611, -0.0323314853, 0.0828382224, -0.0679391399, 0.0502378717, -0.0248697568, -0.0182642136, 0.0617852062, -0.0173522215, 0.0939513594, -0.0054359324, 0.0419421904, 0.007865251, 0.0444158353, 0.0160286743, -0.0221972, -0.0562530234, 0.014217956, -0.0041288328, 0.0419827513, 0.0930559188, 0.0029582484, -0.0126139894, 0.040961042, 0.0199038107, -0.0344587602, -0.0246931165, -0.0098567083, -0.0334323458, -0.0289024413, 0.0140330745, 0.0250179302, -0.0342985466, 0.0058380496, -0.0153117515, 0.0334293693, -0.0101701766, 0.0370968729, -0.0050435206, 0.0054829903, -0.0130058499, -0.035394121, -0.0170697402, -0.0199340526, -0.0563972257, -0.0508402772, -6.683633861e-33, -0.0459781848, -0.0348815806, -0.0295182299, -0.0288357902, -0.0060147196, 0.0133571746, -0.0300694462, -0.0096291769, 0.027173968, 0.0048511843, 0.0022587278, 0.0272276942, 0.0089943381, 0.047330901, 0.0419015214, 0.0089924894, 0.0512918532, -0.0083514536, 0.0064945845, 0.0151306456, 0.0358538218, 0.0654660761, 0.0122573702, -0.0378029831, -0.0172959622, -0.0540731736, -0.0094294045, 0.0054685134, 0.0047379448, 0.0210415293, 0.0086487141, 0.0061184582, 0.0412020348, -0.0435351729, -0.0039481502, 0.0448607206, -0.0835994929, -0.0517577939, -0.0467759743, -0.0176632777, -0.0536866002, -0.0131839877, 0.0162822381, -0.025574604, 0.0218898933, -0.0074794092, 0.0350067914, 0.0165498964, -0.0135352379, -0.0082507469, -0.0353599675, -0.0025123269, -0.043623209, -0.0385116972, 0.0267043468, 0.0711847991, 0.0012118893, -0.0127474554, -0.0590242632, 0.039416004, -0.0234652124, 0.0839376375, -0.0022435116, 0.0265097301, -0.0347826965, 0.055847086, 0.0131967189, -0.0350728594, -0.0299428497, -0.0076468922, -0.0530806296, 0.0334570557, 0.0108909979, -0.0351573899, 0.0316754803, 0.0019505679, -0.0652962029, 0.0331204087, -0.0014382751, 0.0483918451, 0.0170743875, 0.0110293282, -0.0203701388, -0.0269842129, 0.0167212952, -0.0149252247, -0.0119539332, -0.0369621515, 0.0385678895, 0.0278657842, -0.0207512714, -0.0133429803, 0.0180283636, -0.0202748049, -0.027767282, 0.0540128537, -0.0566136204, 0.0097646043, 0.0093716457, 0.0507790372, -0.0545060039, 0.0151471505, 0.0230341628, 0.0339133628, 0.019785963, 0.0026422364, 0.0530384891, 0.0034692239, -0.0449889712, -0.0238801334, 0.0070652571, 0.018108286, -0.0625891164, 0.0190756936, -0.0205068421, 0.0064741112, -0.0351570174, 0.0596793331, -0.0264918376, 0.0216580518, -0.0258107781, -0.0130150793, 0.0223135073, 0.019902898, -0.0138554731, -0.0036008311, -0.0153834783, 0.0692868009, 0.0405635238, -0.0786619633, -0.021304924, 0.0237252619, 2.901e-7, 0.0000436662, 0.033026427, 0.0604944453, 0.0058989259, 0.0522336625, 0.0025313257, -0.0384681784, 0.0332847945, -0.0317410976, 0.0085499519, 0.0292870738, 0.0204275865, 0.0392070115, -0.0212492216, -0.116184853, 0.0371337049, -0.093726851, -0.0261591207, -0.0259784926, -0.0250537191, 0.0561877117, 0.0646397322, -0.0670201331, 0.0225255154, 0.0007256173, 0.0438146889, 0.0530329458, 0.0432013236, -0.0082662208, -0.0464882329, 0.0010533109, -0.0231676064, -0.0301513858, -0.0103619499, 0.0002918901, -0.0045658443, 0.0325440913, 0.0291971285, -0.0092081977, -0.0760118216, 0.0281096306, 0.0478963181, -0.0072447103, -0.0039167912, 0.0422776416, -0.073355943, -0.0340374447, 0.0338983759, -0.047742568, 0.0668315589, 0.0189805198, 0.0144479293, -0.0497759469, -0.0281320084, 0.0266879983, -0.014878205, -0.0195350889, -0.0554636233, -0.0427351706, 0.0120466491, -0.0210369993, 0.0167943668, -0.047860343, -0.0033915939, 0.0371750779, -0.0206980947, -0.0328291804, 2.496558065e-34, 0.0263703372, 0.0003092861, 0.0282815304, 0.0184786338, 0.0252855346, -0.0300747976, -0.0406881012, 0.0349893011, -0.0181847084, -0.0424019434, -0.0503170453 ]
http://arxiv.org/abs/2310.12620v1
http://arxiv.org/pdf/2310.12620v1
Predict the Future from the Past? On the Temporal Data Distribution Shift in Financial Sentiment Classifications
2023-10-19T09:59:52
2023-10-19T09:59:52
Yue Guo, Chenxi Hu, Yi Yang
cs.CL
cs.CL
Temporal data distribution shift is prevalent in the financial text. How can a financial sentiment analysis system be trained in a volatile market environment that can accurately infer sentiment and be robust to temporal data distribution shifts? In this paper, we conduct an empirical study on the financial sentiment analysis system under temporal data distribution shifts using a real-world financial social media dataset that spans three years. We find that the fine-tuned models suffer from general performance degradation in the presence of temporal distribution shifts. Furthermore, motivated by the unique temporal nature of the financial text, we propose a novel method that combines out-of-distribution detection with time series modeling for temporal financial sentiment analysis. Experimental results show that the proposed method enhances the model's capability to adapt to evolving temporal shifts in a volatile financial market.
[ 0.0119319176, 0.0763745755, -0.0279186741, -0.0273156147, -0.0170905758, 0.0014894672, -0.0432030074, 0.0205235481, -0.0311843678, -0.0475467406, 0.0269509461, -0.0494871661, -0.025060717, 0.0256228074, -0.0221731029, -0.0108801145, 0.0373662896, 0.0042694598, 0.032596603, -0.0027868524, 0.0191358402, -0.020105131, 0.0101483138, -0.0129923727, -0.0149339819, -0.0209740419, -0.0126805324, 0.0093277628, 0.0292991586, -0.0268458482, 0.0412723757, 0.0061782752, 0.0211081058, 0.000768002, 0.0000018304, 0.0230500475, -0.0249642394, -0.0382478125, 0.0208092015, 0.0097266408, 0.0616399571, -0.0438120291, 0.0166733302, 0.0059654159, -0.0861135423, 0.0126913926, 0.0387912542, 0.035272833, 0.0325324908, 0.0750525743, -0.0251576621, 0.0095355147, 0.0074887089, -0.0581414849, -0.0249598846, -0.0493218042, 0.0176304132, 0.0002826529, -0.0131864091, -0.0186915137, -0.0128420973, 0.0100748595, -0.0296307132, 0.0292284135, 0.0539734587, -0.0015017211, -0.0203897748, 0.0686543286, -0.0669435188, 0.0157850888, -0.0066230013, -0.0265495852, 0.0085135438, -0.0177813508, -0.0174684934, 0.0384027958, 0.0079971561, -0.0147985481, -0.0032506455, 0.0391731299, -0.0045052948, 0.0422842391, 0.0226752181, 0.0300452169, -0.0394512787, 0.0342158154, -0.0702143908, -0.0518349893, -0.0218378641, 0.00564923, 0.0051853685, -0.0034157825, 0.0228013657, 0.0046451497, 0.0499105528, -0.0160883106, 0.0059766034, -0.0399843268, -0.0035395306, -0.1029407531, 0.0228997022, -0.0065893941, -0.0245343409, 0.0474853218, 0.0251004677, -0.0072106803, 0.0223733429, -0.0486646518, 0.0031238978, 0.0632582009, -0.0992726311, 0.0198902804, 0.0121548772, 0.0383142494, -0.0186212249, -0.0013528346, -0.0534394048, 0.0225833375, -0.0052337991, -0.0331377052, -0.0256166086, -0.0012871876, -0.0149641018, 0.0077401088, -0.0092941299, 0.0254531316, -0.0086009931, 0.0527252741, -0.0641166419, 0.0224549752, 0.0103657348, 0.0204739068, -0.0090988697, 0.0127078155, -0.0049374085, 0.0440133922, 0.0317373909, -0.0254356805, -0.0870666504, -0.0131559866, -0.007654666, -0.0039524459, -0.0080952328, 0.0142394742, -0.0405278727, -0.0081002126, -0.038642142, 0.0751153156, 0.0012395108, -0.021502519, -0.0385846943, 0.0564542562, 0.0143843237, -0.0136506232, 0.0137055339, -0.0626188442, 0.0157673527, 0.0485218205, 0.0065660966, -0.0039236755, 0.0383912548, -0.0025339534, 0.0038712372, 0.0251201428, 0.0113364337, -0.0426070169, -0.0347013995, 0.022352403, -0.046917852, -0.0324580558, 0.0295277014, -0.032151971, 0.0166610014, -0.0119581399, 0.0483066775, -0.0350259058, 0.0197066385, -0.0231479909, -0.0408543609, -0.0194127355, -0.0161102954, -0.0192208383, 0.0204828847, -0.0295494143, -0.0217263587, 0.0106981369, -0.0917245597, 0.0007095671, -0.0465785004, -0.0398546793, -0.0037050531, -0.028438285, 0.0343395732, -0.0322182551, 0.031824559, -0.0363562293, -0.0203276649, 0.0595470853, 0.0519802719, 0.0175652895, -0.0109403757, -0.0200760402, 0.0397639498, 0.0776126683, 0.0138372444, -0.0242733117, 0.0624445602, -0.0447033308, 0.0380031206, 0.0302296765, 0.0050813234, 0.0193401333, -0.057535924, -0.0335818082, -0.0070360173, 0.060316775, 0.0364270881, 0.0091641517, -0.0318382531, 0.0495298803, 0.0033703519, -0.0646021962, 0.0152552789, 0.0013049738, 0.0441765897, -0.0110237561, 0.0078973817, -0.0090465201, 0.0323482007, 0.0014020534, -0.0325227268, -0.021763226, 0.0305207595, -0.0110782348, -0.0609429218, 0.0123335151, -0.0433933549, -0.0105754957, -0.0017121905, 0.0138839195, 0.0190985799, 0.0190949999, -0.0608031191, 0.0160233136, 0.0617209822, -0.0247448068, 0.044572413, -0.0729064792, -0.0318926834, -0.0082017612, 0.0304866172, -0.0003079689, 0.0610037781, -0.0496461131, -0.0375829637, -0.0537482426, 0.0072671417, 0.0164688788, 0.0193240717, 0.0379247032, -0.0078405645, -0.0143417474, 0.0424084663, 0.0238676481, -0.0036856534, 0.0184214842, -0.0339425839, -0.0342840664, -0.0437239856, -0.0224110708, 0.0106989266, -0.0017452397, -0.0234928187, -0.0103668571, -0.0178585686, -0.0051267906, 0.0197361279, -0.0136253489, 0.0116175609, 0.0726112798, -0.0168629903, 0.0089859078, -0.0294774976, 0.0047176629, -0.0205577258, 0.0500468165, 0.0089146905, -0.0710897446, -0.0205706824, -0.0070460485, -0.0407632813, 0.006454723, -0.0090648541, 0.01600991, -0.0621211044, 0.0091252644, 0.0328491926, 0.0579928346, 0.0603016652, 0.0375388563, -0.0253178142, 0.0064231553, -0.0041630082, 0.0246533267, -0.0230062399, 0.026215164, -0.0176656563, 0.0280567016, 0.021031417, 0.038230978, -0.0092981607, -0.0015977687, -0.0567157269, -0.0018734179, -0.0335843861, 0.0320002027, 0.0215078928, 0.0129906544, -0.0385428146, 0.010582787, -0.0198759809, -0.0417981222, 0.0169088319, 0.049663756, 0.0250623152, -0.0146664195, -0.0678846389, -0.0652249604, -0.0078147259, -0.0219708849, -0.0340818204, 0.0266312566, 0.010921848, 0.0038256089, -0.0551513284, 0.0262265373, -0.0078485543, 0.0276294723, -0.0115534617, 0.0604417659, 0.0199898947, -0.0042049312, 0.0076589035, -0.1226497665, -0.0153405732, -0.0055595576, -0.0254876558, -0.0208110921, -0.0264507085, 0.0522937849, -0.0944337025, 0.0029894826, -0.0253316294, -0.0341896638, 0.0189635456, 0.0418426469, 0.0426358543, -0.0395512134, 0.0133876726, -0.023551587, -0.0276998654, -0.0226958022, 0.0084531736, -0.0146202557, -0.0341283157, -0.0134767406, -0.0345875472, -0.0013668917, 0.011657224, -0.0037981947, -0.0046593882, -0.0155582717, 0.0104389898, 0.0637199804, -0.0044426974, 0.0002126108, 0.0222343579, 0.0346227661, 0.0156823508, -0.0184361972, -0.0153291691, -0.077892378, -0.003259043, -0.0333899744, 0.0125430301, 0.0045214035, -0.035270717, 0.020561086, -0.0992972478, 0.0593854301, 0.0202505831, 0.006979852, -0.0140991425, -0.0216919109, 0.0218598731, -0.0326983444, 0.0133214584, -0.0157625265, -0.0120574655, 0.0406579189, 0.0555774122, -0.0790719092, -0.0308411419, 0.0156993307, 0.0224940144, -0.023347687, 0.0296317022, 0.0411953218, -0.0099334773, -0.0310809892, -0.0099558756, -0.0442828201, 0.0302874781, -0.0019096654, 0.0727201551, -0.0150802359, -0.0195066575, 0.0292856339, 0.006352515, -0.0332772695, 0.0651994869, 0.0004779796, 0.0302227531, -0.0290794354, -0.0842529461, -0.0335750878, 0.0270177461, 0.0430895425, 0.0146333082, -0.0234703012, -0.0560238473, -0.0395191647, 0.0021808003, -0.0030954736, -0.0417397618, 0.0493280329, -0.007756378, 0.0107135614, -0.057563521, -0.1064068079, -0.0140176676, -0.0819211155, 0.0202759523, -0.0063884957, 0.0307273306, 0.0272717439, -0.002552209, -0.0564965606, -0.0174868442, 0.0200595818, 0.0324675329, 0.016980093, -0.0006505242, 0.0476990752, 0.0096166758, -0.0484903269, 0.0012047091, -0.0825290754, -0.0601679161, 0.0367879644, 0.0014609417, 0.0189724229, -0.0031503511, 0.0188231617, 0.0509416796, 0.1139665768, 0.0962489024, -0.032321509, 0.006598386, 0.0600007884, 0.0255864225, -0.0136214839, 0.014214647, -0.0101303067, 0.0427966118, -0.0165701099, -0.0642231032, -0.0711331964, 0.0052335407, -0.0469477139, -0.0594309494, 0.0504936576, 0.0467331223, -0.089848347, 0.011111686, -0.0302469544, 0.0341844745, 0.0184519477, -0.0106291492, -0.0379254855, 0.0335573293, -0.010489095, -0.0689196736, 0.0578597263, 0.0275650024, -0.00203013, -0.0227200054, 0.0304899421, 0.0433508232, 0.0451222882, 0.0085303783, 0.0069183204, 0.0102475453, -0.0286000725, 0.0265035685, -0.0394785777, 0.0316579267, 0.0182000641, 0.0123309242, 0.0339835137, -0.0200945437, -0.0376268476, -0.0737124905, 0.0306681972, -0.0047376184, 0.0171776563, 0.0202079359, -0.0316036344, 0.0206817202, -0.0119974315, 0.0225771833, 0.0090466887, 0.0340974629, -0.0193277281, -0.0097281672, 0.0158987995, -0.0115804896, -0.0666408017, 0.0028651296, 0.0492713042, -0.0115281185, 0.0559746586, -0.0108969491, -0.0078818696, -0.0217551887, 0.0142567931, 0.0324156433, -0.0360334404, 0.0320517868, 0.0332804769, -0.0394081697, -0.0395326205, 0.1067138314, -0.0429980084, 0.046765577, -0.0117486101, 0.0379869789, 0.0505287088, 0.0208466686, 0.0606793314, -0.016362438, 0.0048882714, -0.0003048097, -0.0022036275, -0.099198617, -5.9648558e-33, 0.0194812659, 0.0083300406, -0.0227843653, 0.0241646506, -0.0103779007, 0.0279039573, -0.0208499432, 0.007729087, 0.0141525436, 0.0060556512, 0.0014275433, 0.0752768219, 0.0018251176, 0.0004164485, 0.0479149334, -0.0218007192, 0.0354005694, -0.0587443374, 0.0213317052, 0.0017830613, 0.0291225035, 0.0653945208, 0.0539700277, -0.0666718856, -0.0185343623, -0.0204243865, -0.0370046087, 0.0020962444, 0.0834884122, 0.018754974, 0.0121366559, 0.0827582777, 0.0414308645, -0.0229276754, -0.0100646634, -0.0062255035, 0.0252607726, -0.0379809253, -0.0206448864, 0.0183540098, 0.0608432218, 0.0380017869, 0.0100752823, 0.0196738057, -0.0273215435, -0.003825496, 0.024656035, -0.0134340236, 0.0066654757, -0.0805339664, -0.044065427, 0.0639764518, 0.0059388936, 0.0182614513, -0.0190966018, 0.0694738403, 0.0242238492, 0.0245337076, -0.0208027326, 0.0322969705, -0.0069798576, -0.0017358254, -0.0215466339, -0.0066154688, -0.0217796732, 0.0406506769, -0.0452418514, 0.0663088858, -0.0083674518, 0.0400843546, 0.0288338065, -0.0064356318, -0.0168177839, 0.0479848161, 0.0483563282, -0.0930786431, -0.0263514668, 0.0070067472, 0.050632529, -0.0069076712, 0.0370266587, 0.0144423908, -0.0403102413, -0.0178451426, 0.072522141, -0.0022688496, 0.0322296508, 0.0030987831, 0.0045909057, 0.0465722233, 0.0282471813, 0.0117062191, 0.0021650523, -0.064328149, -0.0696368665, 0.0182095077, -0.0503224581, 0.0091449386, 0.0203207713, -0.0337883756, -0.018311169, -0.0684321225, 0.0031911465, 0.0452293679, -0.0093656173, -0.0501741953, 0.0508160591, 0.0501501188, -0.0343285538, -0.0114529291, 0.0433077104, 0.042160321, 0.0116244517, 0.0649703071, -0.0119963754, 0.0001705939, -0.0069782082, 0.0262079649, -0.0169330463, 0.0571766607, 0.0157434382, 0.0375387184, -0.0095370207, 0.048462458, -0.0172468834, -0.0393630192, 0.0362783372, 0.052442532, -0.0209458414, -0.0647765547, -0.0111895809, 0.0052482705, 2.611e-7, 0.0459626727, 0.0753238648, 0.0057207895, 0.0067738923, 0.0396753773, 0.0285381079, -0.0323038995, 0.004810458, -0.0455047823, -0.0138335153, 0.0669487938, 0.0051919371, 0.0066283401, 0.0076815444, -0.0712170601, -0.0394222438, -0.0477155149, 0.0537618659, -0.0449349172, 0.0167411063, 0.0335844345, 0.0595093481, 0.0113799013, -0.0366028212, -0.005361631, -0.0782943964, 0.048339732, -0.0214936677, -0.0058802492, 0.0088178804, -0.008277134, 0.0005272524, -0.022801524, 0.0102102058, -0.0060013379, 0.0341556445, -0.0261038113, -0.0008303823, -0.0286377501, 0.0077081057, 0.0297986977, 0.0431852452, -0.0135973906, -0.0047616404, 0.0151993595, -0.078140147, -0.0168693569, -0.0961596519, -0.0623559207, 0.0344919004, 0.0390897095, 0.0404360332, -0.0137839355, 0.0382471159, -0.0028528774, -0.0011259622, -0.0106933229, -0.0723518431, -0.0005140869, 0.0596691146, -0.0495585054, 0.0226428602, -0.0106846448, 0.0229587425, 0.0246219337, -0.0317733996, 0.0623932593, 1.75174223e-34, 0.0964817628, -0.0273837745, -0.0624607578, 0.0087840976, 0.0246318802, 0.0277626049, -0.0118282251, 0.012834589, 0.0189030562, -0.019101128, 0.0101263123 ]
http://arxiv.org/abs/2310.12611v1
http://arxiv.org/pdf/2310.12611v1
Identifying and Adapting Transformer-Components Responsible for Gender Bias in an English Language Model
2023-10-19T09:39:21
2023-10-19T09:39:21
Abhijith Chintam, Rahel Beloch, Willem Zuidema, Michael Hanna, Oskar van der Wal
cs.CL
cs.CL, cs.AI
Language models (LMs) exhibit and amplify many types of undesirable biases learned from the training data, including gender bias. However, we lack tools for effectively and efficiently changing this behavior without hurting general language modeling performance. In this paper, we study three methods for identifying causal relations between LM components and particular output: causal mediation analysis, automated circuit discovery and our novel, efficient method called DiffMask+ based on differential masking. We apply the methods to GPT-2 small and the problem of gender bias, and use the discovered sets of components to perform parameter-efficient fine-tuning for bias mitigation. Our results show significant overlap in the identified components (despite huge differences in the computational requirements of the methods) as well as success in mitigating gender bias, with less damage to general language modeling compared to full model fine-tuning. However, our work also underscores the difficulty of defining and measuring bias, and the sensitivity of causal discovery procedures to dataset choice. We hope our work can contribute to more attention for dataset development, and lead to more effective mitigation strategies for other types of bias.
[ 0.0062809787, 0.0770187005, -0.0529242754, 0.0538984649, -0.0048592025, 0.0277589317, 0.0424260385, -0.0206556767, 0.004821606, -0.0479529649, -0.0032485656, -0.0254352093, 0.0356606729, 0.0104272803, 0.0521910526, -0.022620311, 0.0418095104, -0.0052230041, -0.0212139152, -0.0488219485, 0.0014734624, 0.0170852244, 0.0203713514, 0.0562922321, 0.0305004343, -0.0153518822, 0.0432511382, -0.0052333409, 0.0065015256, 0.0333722569, 0.0405583382, 0.0769272223, -0.0297738388, 0.0456291735, 0.000002152, -0.0501658283, -0.0103418892, 0.0254031513, -0.0044379309, 0.0075867409, 0.0040113949, -0.0010733021, -0.0293136127, 0.032839343, -0.005510062, -0.0364029482, 0.0780403912, 0.0346381702, 0.0295898709, 0.0456910506, -0.0315837264, -0.016549997, -0.0279188193, -0.0294990037, 0.0131535921, 0.0361897424, 0.0627085194, -0.0603941083, -0.0477729104, -0.0574974865, -0.0620920248, -0.0234891176, -0.0183136351, 0.0150501803, -0.0111518344, 0.026769897, -0.0272832196, -0.0352322944, 0.0149307447, 0.0386719741, 0.0083390102, -0.0476880968, 0.0234528612, -0.015201834, 0.0071880263, 0.0401631854, -0.0237340648, -0.0181058627, 0.000362663, 0.0117852697, 0.0433406793, -0.0593784899, 0.0287102479, 0.0283343382, -0.0492046364, 0.1081560105, 0.0397225395, -0.0365576036, -0.0190162119, 0.0235373285, 0.0041650939, -0.0357280858, 0.0061827661, -0.0469794013, 0.0022398978, -0.0046133003, 0.0110245543, -0.0447924994, -0.0168654975, -0.0543172807, -0.0047183512, 0.0681252182, 0.0206860099, -0.0218190942, -0.0374572016, 0.0606701225, -0.0347127691, 0.0507279113, -0.0221155249, -0.0033573443, -0.0103352135, -0.0400031321, -0.0189920533, -0.0240579844, -0.0146047696, 0.0367404036, -0.0238515325, 0.0097357128, -0.0530583709, -0.0465880111, 0.0342718661, -0.0084368484, -0.0447147861, 0.0186975244, 0.0212067068, 0.0573235527, -0.0305176117, 0.0220919345, -0.0496036783, -0.0907288864, -0.0375394225, -0.0028500301, 0.0239254329, -0.0602975972, -0.0149027612, 0.0414878614, 0.0156466141, -0.0376106799, -0.0321369246, 0.0143474713, -0.0299458243, -0.0369959697, 0.0286143534, -0.0597806983, -0.0150490655, 0.0530887619, 0.0355101787, -0.0435502343, -0.003980516, 0.0046021068, -0.0436923504, 0.0475750528, 0.0348051339, 0.0021990705, 0.046759963, -0.006887929, -0.0144560756, 0.0995791107, 0.0367428511, -0.0259377621, 0.0127778603, -0.0294326637, -0.0066333073, 0.0587976426, 0.0518166311, 0.030352192, -0.0548280925, -0.0322705917, 0.0232586935, -0.0189504065, 0.0717997476, -0.02113102, 0.0100800395, 0.0078090555, 0.0691042989, 0.0169028118, 0.0394839756, 0.068313159, 0.0042200661, -0.0088201286, -0.0270553734, 0.026634682, -0.0590627678, 0.0039453986, -0.0217989367, -0.0146002444, -0.0215246156, 0.0572612621, -0.0104403952, -0.0235877577, -0.0053721457, 0.0453731976, 0.0073154308, -0.0018310818, 0.0398242921, 0.0142546352, -0.0254171118, 0.0866742805, 0.0446192883, -0.0407337286, -0.0080403909, -0.0554248989, 0.0047451966, -0.0010021545, 0.007815524, -0.0339118503, 0.0140656941, -0.0176352728, -0.0299799237, 0.0370516069, 0.0195551012, 0.0174913798, 0.0096822903, -0.0247079413, -0.0228117369, 0.0227106251, 0.038723018, 0.0250204504, 0.0208471399, 0.006008551, 0.0138231339, -0.0261349939, -0.0313963927, 0.0162077621, 0.012517632, -0.036584001, 0.048906479, 0.0039879321, 0.0415693894, -0.0038285553, -0.0425258689, -0.0000831407, -0.0206082165, -0.0106519507, -0.0193931554, 0.0437364019, 0.0042740721, 0.006729383, 0.0082825758, -0.086696595, -0.0215915646, 0.0813686326, -0.0107043628, -0.0324780531, 0.065661937, -0.0428788625, 0.0090360316, -0.0025026088, 0.0119304582, -0.0107416864, 0.0337917209, -0.0204122793, 0.0287318993, -0.0061955173, -0.0102284076, 0.0159921162, -0.0120685427, 0.0082723834, -0.0248463955, -0.0336972624, 0.0323605388, -0.0041912408, -0.0100437123, 0.050834693, -0.0490763821, -0.0179274715, -0.0510772616, -0.0262277629, -0.024898706, -0.0047577824, 0.020797085, 0.0102472175, 0.007118423, -0.0263601504, 0.0061128591, -0.0083014257, -0.0430692658, -0.0042357636, 0.0465438031, 0.0121356174, -0.0304552373, -0.0257542487, -0.0441051945, -0.0362938978, -0.0632922053, 0.0571609847, 0.0267799813, -0.0376201868, -0.0367253534, 0.013150041, 0.0181356389, 0.0079639982, -0.0111201229, -0.0577738397, -0.0047787991, 0.0170712247, 0.0824043974, 0.0723676458, 0.0036297673, -0.0028804576, 0.0655899718, -0.0239475854, -0.0316246226, -0.0128720049, -0.0076607796, 0.0112547865, -0.0028853205, -0.0740464404, -0.0273869224, 0.0802959576, 0.0134352688, -0.0409351997, -0.0651583448, 0.020409191, -0.0461233892, 0.0034314662, -0.0088955397, -0.0421355404, -0.0383276716, 0.0175620969, -0.0360275693, -0.0555407181, 0.0107830176, -0.017455833, 0.0020799451, -0.057252951, 0.0210268684, -0.0431236997, 0.015331558, -0.0004034222, 0.0141654061, 0.0484665297, -0.0203389991, -0.0784547776, -0.0060168128, 0.0604897216, -0.0187811852, 0.019641133, -0.0173596609, 0.0309620891, -0.000536798, -0.0377005748, -0.0241023116, -0.0251459237, 0.014972792, -0.0174219105, 0.0631356165, -0.0244993269, -0.0331760645, 0.0220336244, -0.0092395628, 0.0655056313, -0.0433170721, 0.0072565172, -0.0224855393, -0.0281148087, 0.0349939354, -0.0080451323, 0.0436814502, -0.0535925701, 0.0170614757, -0.0283196382, -0.0115596876, 0.0070775594, -0.0120596988, 0.0409712009, 0.0478111133, -0.0250717923, -0.0017206456, -0.013842715, 0.0088874456, -0.0347641334, -0.012894202, 0.0999889299, -0.0008937253, -0.0938560963, 0.0240979381, -0.0115429033, 0.0322329476, 0.0468449704, 0.0218100417, -0.0830071568, 0.0283180438, 0.0413031466, -0.008152578, -0.0333895907, -0.0053020804, -0.0081559708, -0.1187658682, 0.0275390372, 0.0234985147, -0.0421230085, -0.0202177111, -0.0281732306, -0.0003378118, -0.0568810105, 0.0179396011, -0.0049171979, -0.0092228185, 0.0071040085, 0.0094482908, -0.0306825489, -0.0479180068, -0.0075716772, -0.0308131259, 0.0376439914, 0.0303653777, 0.0116703687, -0.0417735465, 0.0010278744, 0.0501993299, -0.0081535205, -0.0138566494, -0.0307317358, 0.0473014265, 0.0061343415, -0.0288110878, -0.0386493467, 0.0495572016, 0.0220457204, -0.0037744103, -0.0382348932, 0.0464433618, 0.0198655967, -0.0209896043, 0.0054612258, -0.0185127519, -0.0081574349, 0.0583343506, 0.0239095446, -0.031232886, -0.0275361519, -0.0419424772, 0.0129938647, 0.0330251716, -0.0770612657, -0.0375438035, 0.0416710936, -0.0559307337, -0.0186253767, -0.0026193035, 0.0237893779, -0.0027822023, 0.0287297592, -0.0310956966, -0.0148248011, -0.009426171, -0.0640958101, 0.0515156239, -0.000963724, 0.0218973607, -0.0208149664, -0.0366687328, -0.0344598405, -0.0474141501, -0.0352120921, 0.0229283106, -0.0921618938, -0.0800994337, 0.0500926673, 0.0460126139, 0.0275353119, 0.0522908866, 0.0142935785, -0.0701121315, 0.0279840548, 0.0308828335, -0.0106248651, 0.0446809232, 0.0511621758, -0.0358067229, -0.0011228814, 0.0296533424, -0.0132253673, 0.0271672662, 0.043942038, 0.0309698973, 0.0078801066, 0.012471945, 0.0325026475, 0.001381926, 0.0732241943, -0.0411353372, 0.0202062204, -0.0826207027, 0.0222344063, -0.0362627506, -0.0209152009, -0.0058424291, -0.0202056747, 0.0449221991, 0.0329895802, -0.0276322737, -0.0254484657, -0.0340209976, -0.0044308128, -0.0444237962, 0.0433271527, -0.013009565, 0.0392701216, 0.0115568368, 0.0253720339, 0.01344111, -0.0005425757, 0.0282678921, 0.0305312295, 0.023966657, 0.0213043373, 0.0261480734, 0.026935963, -0.0362127051, -0.0065709841, -0.0478311405, -0.0027797732, -0.0336688012, 0.0007203649, 0.0319406539, -0.0435992144, 0.0747667775, -0.0079609603, -0.0172676854, -0.0036823917, 0.0020359985, 0.012615934, 0.033318799, 0.0338065587, 0.0079537285, 0.0004304224, -0.0356957018, 0.050411623, 0.0526350066, 0.0571385622, -0.04220891, -0.0188791193, -0.000964682, -0.0463524684, 0.0129494816, -0.0139024546, -0.0377080925, -0.0130426353, -0.1007079929, -0.0603942908, -0.0483582281, -0.0488771684, 0.0377775729, -0.0271250159, -0.0091776783, 0.0244811028, -0.0184302907, -0.0641528815, -0.0208829939, -0.0362408385, 0.0032726859, -0.0060326364, -0.0068981135, -6.898531861e-33, -0.0504905283, -0.0339385457, -0.0248432104, 0.0337578841, 0.0037937276, 0.0208087806, -0.0428723544, 0.0141261388, -0.0056700953, 0.0250665154, -0.0034993056, 0.0444227569, 0.0195554439, -0.0189240426, -0.0031244315, 0.0190590769, 0.0663344264, 0.028261276, -0.0297420081, -0.0233880449, -0.0105655575, 0.0487030409, 0.0521794483, -0.0484352037, 0.0638669729, -0.0037624028, -0.0312758535, -0.013233318, -0.0592485368, 0.0380298533, -0.0120858178, 0.0633053705, 0.0046147807, -0.0647961795, 0.007573125, 0.0286945421, -0.0569590703, -0.0269689243, 0.0438290723, 0.0305739436, 0.0731600821, -0.0413902737, 0.0260680225, 0.017003227, -0.0505948104, -0.0476772375, 0.0511675514, 0.0104555674, 0.0596051626, 0.0475384258, -0.075553827, 0.0237523001, -0.0348747335, 0.0256942566, 0.0250256229, 0.015187121, 0.0001274851, 0.0276352242, -0.0492983982, 0.036156565, 0.0594425537, 0.042650111, 0.0463638902, 0.0370851532, 0.0451178104, 0.0173267759, 0.0663777515, 0.0545162298, 0.0019240573, -0.0728930905, 0.0501380861, -0.0051827328, 0.0596884079, 0.0345477015, 0.0698685497, -0.003908434, -0.05916816, -0.0208333079, -0.0190918501, 0.0530743785, 0.0381970406, -0.0004316744, -0.0484176204, -0.0468842238, -0.0408234037, -0.0488726534, -0.0335216448, 0.0021656405, 0.0187203083, -0.0113843698, -0.0592284612, -0.0129037965, 0.015022031, -0.0845963731, 0.0071780235, 0.0037429263, -0.0308976751, -0.0119986534, 0.0170596428, -0.0024339082, -0.0390790924, -0.0132593913, 0.030284727, 0.0411477536, 0.033313565, 0.0142724393, -0.0295326915, 0.0249758288, -0.0704085529, -0.0019980278, -0.0469706319, -0.0128753651, 0.0037437244, 0.0509988368, 0.0020127322, 0.0223983619, -0.0034230459, -0.0118335923, 0.0726630241, 0.0238028876, -0.0154691124, 0.0145905688, 0.0056847571, 0.0488336571, -0.0105697773, -0.0088960472, 0.0202141758, 0.0278379545, 0.089871861, -0.0512539111, -0.0287313461, -0.0343178846, 2.843e-7, 0.0298757032, 0.0673007816, 0.0319911726, 0.0453290492, 0.0219887253, 0.0037215129, 0.0192136616, 0.0317805484, 0.0599080473, 0.0453289747, 0.0022067486, 0.0185346231, 0.0277492832, -0.000360032, -0.0499025844, 0.0305287894, -0.0768300071, 0.0094243223, -0.0214380678, 0.0012300754, -0.0124200331, 0.0639229566, 0.013487312, 0.0088483756, -0.0236145779, 0.0194360707, 0.0390625596, -0.0338460803, 0.0494118407, 0.0323974043, -0.0147370659, -0.0273250677, -0.0010896337, 0.0547215827, -0.0038139632, 0.0472145006, -0.0119281299, 0.0072514028, -0.0169590693, 0.0389029011, -0.007090129, 0.0017776509, -0.016891297, -0.0973974317, 0.0616069511, -0.0281382706, -0.0554990098, -0.0410174318, -0.0246250816, -0.0183030721, 0.0611850396, -0.0362359062, -0.0033899345, 0.0124820154, 0.0066544563, 0.0005297092, 0.0071435729, -0.0346101858, -0.0436019935, -0.0069859871, -0.0301952325, -0.0658089668, -0.0062637939, 0.0195089653, 0.0135210836, -0.0105282487, 0.0212989952, 2.946719137e-34, -0.0065201018, 0.0097155645, 0.0161218755, 0.0212834217, 0.052882202, -0.0259937756, -0.0073172906, 0.0190619659, 0.0238007251, -0.0594650172, -0.0249355119 ]
http://arxiv.org/abs/2310.12585v1
http://arxiv.org/pdf/2310.12585v1
Time-Aware Representation Learning for Time-Sensitive Question Answering
2023-10-19T08:48:45
2023-10-19T08:48:45
Jungbin Son, Alice Oh
cs.CL
cs.CL, cs.AI, cs.LG
Time is one of the crucial factors in real-world question answering (QA) problems. However, language models have difficulty understanding the relationships between time specifiers, such as 'after' and 'before', and numbers, since existing QA datasets do not include sufficient time expressions. To address this issue, we propose a Time-Context aware Question Answering (TCQA) framework. We suggest a Time-Context dependent Span Extraction (TCSE) task, and build a time-context dependent data generation framework for model training. Moreover, we present a metric to evaluate the time awareness of the QA model using TCSE. The TCSE task consists of a question and four sentence candidates classified as correct or incorrect based on time and context. The model is trained to extract the answer span from the sentence that is both correct in time and context. The model trained with TCQA outperforms baseline models up to 8.5 of the F1-score in the TimeQA dataset. Our dataset and code are available at https://github.com/sonjbin/TCQA
[ 0.0335227996, 0.0489750393, -0.0049816226, 0.0247725025, -0.04369241, 0.0077645541, 0.0353688449, -0.0099379942, -0.031825453, -0.0506133623, 0.0024418482, -0.0352798104, -0.037966188, 0.0114343865, 0.0005913588, -0.0134830931, 0.0867870301, 0.0172799323, 0.0088259438, 0.0260706469, -0.0022005567, 0.0094803385, -0.0133589478, 0.0109876208, -0.0090831043, -0.051169645, 0.0070315651, -0.0567149892, 0.0547363572, -0.010815979, 0.0447421409, 0.0493833311, 0.0319092274, 0.0324919559, 0.0000018721, -0.0136384349, -0.0290617086, -0.0238435995, -0.0463124514, 0.019013973, 0.0083689196, 0.0242756493, 0.0315100588, 0.0196116529, -0.0963623375, 0.0003338822, -0.0015843911, 0.0236808769, 0.0534579828, 0.06395486, -0.0010188143, 0.0256254245, 0.0173309054, -0.000849922, 0.0398346893, -0.0767562911, -0.0079492219, 0.0368810073, 0.0284205936, 0.0108971568, 0.0045108073, 0.0244921297, 0.0329793431, 0.0140136452, 0.0379359759, 0.0433622822, -0.0603221618, 0.0425390191, -0.054221265, 0.1035094708, 0.0399234667, -0.0325965732, -0.0222996939, 0.0024792892, -0.0336709283, -0.0485616103, -0.0262021273, -0.041563563, 0.033445999, 0.0178155042, 0.0024099622, 0.0484473258, 0.0102748265, 0.0193286538, 0.013544308, 0.0692457333, 0.0041587483, -0.0207154732, -0.0449454114, -0.006359315, -0.0137215806, -0.0218659919, 0.0221899897, 0.071322456, 0.0096169496, 0.0071354327, -0.0190642774, -0.017549511, 0.001086449, -0.0327799544, -0.042629499, 0.0297815762, 0.0082140211, 0.0453546233, -0.0050159688, 0.0517343841, -0.0261335652, -0.0244519096, -0.0560930036, -0.0451648906, -0.0236775056, -0.0378660299, -0.0077492706, -0.0043798792, -0.0452909581, 0.0066119763, -0.0496182591, 0.0273760241, -0.0105471266, -0.0133424941, -0.0015494276, 0.0460895151, -0.0158419777, 0.02197049, -0.0339369439, 0.0356047787, -0.0610006377, 0.0410057269, -0.0195180643, -0.0732279271, -0.0304673221, -0.0110432729, 0.0474220105, -0.0549888387, 0.0021560842, 0.0186150782, -0.0685258284, -0.0151175465, -0.0455030799, -0.0264149066, -0.0053791176, -0.0042636893, -0.0269204192, -0.0654791668, 0.0406554267, -0.0058213393, -0.0348602906, 0.0328653716, -0.0023259579, 0.0144777764, 0.0388440453, 0.0516679101, 0.0203873925, 0.0070861597, 0.051901903, 0.012982632, 0.0754727423, 0.0453359559, 0.0265200194, -0.0424291454, 0.0433330163, -0.0039341105, -0.0134194074, 0.0196991507, 0.0378012359, -0.0148286261, -0.0283805784, 0.0524677448, 0.0112057133, 0.0175875295, 0.0367120691, 0.0074781328, -0.0234769825, -0.0368064828, 0.0182784721, 0.0163464472, -0.0025263936, 0.0064659603, 0.0661914349, -0.0202969033, 0.0290288851, -0.0284173973, -0.012668564, 0.0171356369, -0.0294592995, 0.0129396534, -0.0477455743, -0.0111198286, -0.0504732653, -0.0234655887, 0.0074435612, 0.003743072, 0.0043895189, 0.0339422785, 0.0293997787, 0.0122567518, -0.0197056998, 0.0841907188, -0.0029631231, -0.0129853142, 0.0018346888, 0.0026722976, 0.0306842662, 0.0564893447, -0.0001431695, -0.0509121642, -0.0349667259, -0.0218231175, 0.0454503931, -0.0085185366, 0.0471640751, -0.0458114445, 0.0212395173, -0.0159824621, 0.0221202932, -0.0129789338, 0.0010186852, -0.0248821843, 0.0466767326, 0.0659216568, 0.0149825299, -0.0360616148, 0.0058990205, 0.0297428723, -0.0018487067, -0.057553567, -0.001223866, 0.0047909999, 0.0133044692, 0.0480716936, 0.0036287503, 0.0141169839, 0.0419525057, -0.0328686386, -0.0202782992, 0.017936781, -0.1059939414, -0.0959110633, 0.0418941751, -0.0076294318, -0.0486643836, 0.0497062467, -0.0468643792, -0.0280289836, 0.021688804, -0.0134525094, 0.0352448374, -0.0531549528, -0.011736935, 0.0039673545, 0.0168635622, -0.0672267452, 0.085136041, -0.0199394058, 0.0268286038, 0.0074019087, 0.0488670766, -0.0011469191, -0.0116578089, 0.0243099108, -0.0161006022, 0.0083309663, 0.0003959959, 0.0141293686, 0.0205339417, -0.0725963786, 0.0315010473, -0.0931671113, -0.0005985391, -0.0056861085, 0.040605139, 0.0320847929, 0.004580115, 0.0103993956, -0.0426669978, -0.0495814607, -0.0041285162, -0.015432612, 0.0020403874, 0.063534461, 0.0056765769, 0.0055291373, -0.0494031869, -0.0273280721, -0.066697903, 0.0661933199, -0.0090332991, -0.0258488432, 0.0244916268, 0.0028213232, -0.0182157625, 0.0398151688, 0.0177009404, 0.0014310793, 0.007426057, -0.0134776831, 0.0396624953, 0.0424571708, 0.0216139648, 0.0183540042, 0.0436491556, -0.0044888775, -0.0458107106, 0.0561580621, -0.0270823203, -0.0009024793, -0.0011427265, -0.0400559194, 0.0055768192, 0.0715086833, 0.0144163882, 0.020455787, -0.034844134, 0.0186048523, -0.0282025579, -0.0187447816, -0.0389053673, 0.0384605564, -0.0382255577, 0.0287011061, -0.0394963212, -0.0090256901, 0.0570634194, 0.0255007036, -0.0193633977, -0.0369079597, -0.0158380046, -0.0659138858, 0.0710197017, -0.0211901795, -0.0093758879, -0.0172752291, -0.0330347531, -0.0543851294, -0.0134094888, 0.014358948, -0.0360090397, 0.0271828156, -0.0395821519, 0.0184944868, -0.010239834, -0.0189604573, -0.0599823296, -0.0965647697, -0.0391273648, -0.0058414922, -0.0964916945, 0.015522236, -0.0190819539, -0.014646858, -0.0224418174, 0.0354404822, -0.0383270085, -0.0064462479, -0.0134350024, 0.1207959279, 0.0954632908, 0.0521707982, 0.0465404317, 0.0169818662, 0.0241643079, 0.0246355291, 0.0711757764, -0.0063610175, -0.0498045273, 0.0352296717, -0.004560383, -0.0161269959, 0.0255843382, 0.0157757867, 0.0409459025, -0.0301125981, -0.0377194956, 0.124768801, 0.0711356103, -0.0216747727, 0.0199838672, -0.026944939, -0.0205390565, 0.02281221, 0.0183643848, -0.0526373237, -0.0496518947, -0.0322406366, -0.0074338396, -0.026747182, -0.0327024423, -0.0130693242, -0.0771495402, -0.0089995982, 0.0021927617, -0.0684943125, -0.0010275164, -0.003396169, -0.0020659058, -0.0124915866, 0.0541442111, 0.0081789047, -0.0131052891, 0.0130040934, 0.0479831696, -0.0153488563, -0.0344958641, 0.0818908364, 0.0434063748, 0.0548849478, 0.054311201, 0.0420656539, -0.030367231, -0.0240140725, -0.0099909473, -0.05180775, -0.0286959372, -0.0139518864, 0.0043622563, -0.0154174073, -0.0199663639, -0.0169972386, 0.0459036268, -0.025351882, -0.0139327943, 0.031193573, 0.1075763181, -0.0031455958, -0.0093409866, -0.0096334144, -0.0197465848, 0.0218227673, 0.0720704272, 0.0268668644, -0.0413232967, -0.0398648195, 0.0461083651, -0.0241690464, -0.0646945164, -0.0369121432, -0.0115306983, 0.0318374187, 0.0205199532, -0.0774809942, -0.0572058298, 0.0007381539, 0.0102439616, -0.0408262946, -0.0135097988, -0.020639414, 0.041341871, -0.0986980274, 0.030878989, 0.0075595728, 0.0204857644, -0.0199480597, 0.008078183, 0.0050092041, -0.0007885506, -0.0275058132, 0.0325346179, -0.0813290253, -0.0111593166, 0.0132685201, 0.0032598637, 0.0094097666, 0.0116301542, -0.0207148567, -0.0114511177, 0.0337391198, 0.0136213638, -0.0514817163, 0.0084576542, 0.0093457978, 0.0263620056, 0.008457941, 0.0381974988, -0.0605899021, 0.0228710715, -0.0002721568, 0.0271113906, -0.0706843212, 0.0030342939, 0.0191173237, -0.0311610121, 0.0005873131, 0.0583317019, -0.0077784671, -0.0019179441, 0.0006342678, -0.0481450707, -0.0063707205, -0.0167380162, 0.0082495995, -0.0025998072, -0.0310960189, -0.0330158994, -0.0115151666, 0.0229101684, 0.0042671761, -0.0550641827, 0.0066804602, 0.0399817638, 0.0417381488, -0.0236049648, -0.0168143995, -0.0360203981, -0.0173011832, -0.0222354475, 0.0280785244, 0.0145948669, 0.0318003818, -0.0116580399, -0.0117136417, -0.0594168492, -0.0141461082, -0.0998152718, 0.0461667031, -0.0146487951, -0.025452124, 0.0183943082, -0.03251414, 0.0614385344, 0.0156617686, -0.0059245378, -0.004760561, 0.0051548285, 0.0181385074, 0.0143025927, 0.0690861791, 0.0083371596, -0.0026092762, 0.0094171185, 0.0770248547, -0.0007571619, 0.0369749367, 0.018111987, -0.0289576519, -0.0134164542, 0.0146345934, -0.0706657544, -0.0004414634, -0.0212519169, 0.0101129776, -0.0588338971, -0.0409065597, 0.0238098577, 0.0018493269, -0.0284714755, 0.0288893636, 0.0342265181, 0.0532081239, 0.0278143976, -0.0721316114, -0.0437833928, 0.062161006, 0.034734685, -0.0314270817, -0.0726205334, -6.536902779e-33, -0.0124712698, -0.0262649842, 0.0179956183, -0.0298401192, -0.0243951883, 0.067644909, -0.0471526533, -0.0040084207, -0.0517958663, -0.016586069, -0.0182540528, 0.0546251386, 0.0125301648, 0.0243812874, 0.0152556077, -0.0216348413, -0.0014663492, -0.0344612524, 0.0210324377, 0.038164597, 0.0481931046, 0.0311987605, 0.0647010207, -0.0045647933, -0.006121702, -0.0189155769, 0.0011610126, 0.0390109681, 0.0252532829, 0.0744225383, -0.0296597183, 0.0403817222, 0.0375054777, -0.0294618197, -0.0092757158, 0.0456006974, -0.1463845968, -0.0845443457, 0.0019106941, 0.0178666878, -0.05987335, -0.0458935499, -0.0102407979, -0.0154894385, 0.0114462515, -0.035253305, 0.0306986589, -0.0023703559, 0.0051255305, -0.0436170138, -0.034069892, 0.0306055676, -0.0327116176, -0.0008082965, 0.0005294502, 0.0756334066, 0.0010678782, -0.005044776, -0.0268389564, -0.0095748389, -0.0015023826, 0.0134780509, 0.0384061746, 0.0182799622, -0.0143730864, 0.0240195654, 0.0129790585, -0.0382318459, -0.0114723714, 0.0146095864, 0.0047789081, -0.0228410605, 0.049474515, 0.0305339601, 0.0174033958, -0.0215219408, -0.0864119232, 0.0210157968, 0.0640081912, 0.0153960418, 0.0157234073, -0.0408482887, -0.0221752953, 0.0214704257, -0.0019469543, 0.0437774248, -0.0352843851, 0.0227027554, 0.0354746617, 0.0083322329, 0.0057762098, 0.0424207076, 0.027344821, -0.0317843035, 0.0272652395, 0.0401989147, -0.0309831202, -0.0001707342, 0.0347456373, 0.0367217883, -0.0425434224, 0.0310899876, 0.0116002597, -0.0108934334, 0.008746841, -0.0214838758, 0.0050496855, 0.0142378993, -0.0324522741, -0.0234308969, -0.0223726053, 0.0142625887, -0.0162922349, 0.0098604057, 0.0242392328, 0.0187706947, -0.0276551861, 0.021033328, 0.0141724534, 0.0028135404, -0.001190596, -0.0039827721, 0.00457882, 0.0499089994, -0.0303279515, -0.0100459037, -0.008677124, 0.0666288659, 0.015466555, -0.0188498963, -0.0091959676, 0.0198374074, 2.432e-7, 0.060850054, 0.0081641739, 0.0075826687, 0.0208839681, 0.022227874, 0.0009197732, 0.0361021571, 0.0354730822, -0.0406202003, 0.0299760066, 0.0505510271, 0.0109952521, 0.0402380154, 0.0307221878, -0.0051688896, -0.0071742185, -0.080541186, -0.0173109714, -0.0321578346, -0.0298196152, 0.0316757075, 0.0791304633, 0.0134125492, -0.0013331096, -0.0455209874, -0.0217731167, 0.0385703258, -0.0039584069, -0.0078560784, 0.0083152065, 0.0064818282, 0.0089384615, 0.0217494164, 0.0067630233, -0.0206716377, 0.0388365127, 0.000225684, 0.0375622101, -0.0394284129, -0.0717410073, -0.0478873923, -0.0378302895, 0.00080493, -0.028244881, 0.0991143957, -0.034567643, -0.0254889745, -0.0540733971, -0.0236794185, 0.0364307538, 0.0260305889, 0.0183178391, -0.0146637456, 0.0100692483, 0.0343598053, -0.0246196855, -0.0237324387, -0.088569887, -0.0140666598, 0.0645817593, -0.0186791811, -0.0128293, -0.0355161354, -0.0147604076, -0.012107743, -0.0431017168, 0.0137954131, 2.081670318e-34, -0.0193022471, -0.0011836202, -0.0164957158, 0.0613393746, 0.0066464837, -0.0165331587, -0.0020133569, -0.0557014197, 0.0490055755, -0.0612531044, -0.0008638526 ]
http://arxiv.org/abs/2310.12580v2
http://arxiv.org/pdf/2310.12580v2
Pretraining Language Models with Text-Attributed Heterogeneous Graphs
2023-10-19T08:41:21
2023-10-23T01:46:04
Tao Zou, Le Yu, Yifei Huang, Leilei Sun, Bowen Du
cs.CL
cs.CL, cs.AI
In many real-world scenarios (e.g., academic networks, social platforms), different types of entities are not only associated with texts but also connected by various relationships, which can be abstracted as Text-Attributed Heterogeneous Graphs (TAHGs). Current pretraining tasks for Language Models (LMs) primarily focus on separately learning the textual information of each entity and overlook the crucial aspect of capturing topological connections among entities in TAHGs. In this paper, we present a new pretraining framework for LMs that explicitly considers the topological and heterogeneous information in TAHGs. Firstly, we define a context graph as neighborhoods of a target node within specific orders and propose a topology-aware pretraining task to predict nodes involved in the context graph by jointly optimizing an LM and an auxiliary heterogeneous graph neural network. Secondly, based on the observation that some nodes are text-rich while others have little text, we devise a text augmentation strategy to enrich textless nodes with their neighbors' texts for handling the imbalance issue. We conduct link prediction and node classification tasks on three datasets from various domains. Experimental results demonstrate the superiority of our approach over existing methods and the rationality of each design. Our code is available at https://github.com/Hope-Rita/THLM.
[ 0.0168324765, -0.0042550676, -0.0134620406, 0.0523535833, 0.0028527873, -0.0138447387, 0.0087880036, -0.0146474829, 0.0832479075, -0.0529490784, -0.0448331796, -0.0165100861, -0.0109113641, 0.032580886, 0.0432055481, -0.0027896482, 0.0179346651, 0.0178766716, 0.0244984142, -0.043881461, -0.007265598, 0.0729905069, 0.0278386269, 0.0016477974, -0.007409838, -0.0018287242, 0.0029375567, 0.0289422646, 0.0221125633, -0.0298221707, 0.0132327992, 0.0302301869, 0.0059435139, 0.0139803309, 0.0000019966, -0.038522847, -0.02965343, 0.0006284632, -0.0158354975, -0.0235479157, 0.0295407176, -0.0039210264, 0.0291065648, -0.0023623989, -0.04010351, -0.0170620587, 0.0481466204, 0.0374590233, 0.0062187784, 0.0928474739, -0.0377041474, -0.0117694912, 0.0302920751, -0.0166769121, 0.0178926811, -0.0206935406, 0.0268023554, 0.0036846828, -0.0253967904, 0.0162937753, -0.038156841, 0.0111726774, 0.0262570661, 0.0088558588, 0.0911999419, 0.0485748313, 0.0212946367, 0.0187936351, -0.0027093242, 0.1566345543, -0.0398469903, -0.0387008414, 0.0247387215, -0.0322081037, -0.0187281128, 0.0334356651, -0.0210545119, -0.02589898, 0.0092539601, 0.0306275561, -0.0147504704, 0.0097857127, 0.0798947439, 0.0250513647, -0.0157751199, 0.0642133132, -0.0144021809, -0.0052510696, 0.0190362949, 0.041733738, -0.0240009949, -0.042225562, 0.0369618125, 0.0373175293, 0.0187439471, 0.0217461437, -0.0272094924, -0.0105534429, 0.0170308668, -0.0186475478, -0.0206061229, -0.0128088351, 0.0032231756, 0.0363703705, -0.0349858738, -0.0747934729, -0.0144823752, 0.0103864837, -0.0349448919, -0.0142282946, -0.0342443436, 0.0113402558, -0.029823387, 0.0281529315, -0.0212947782, -0.024059318, -0.0361914672, 0.0170238651, -0.0357913673, -0.0083794855, 0.028178433, 0.0373752937, -0.0187414847, -0.0325370915, 0.0016864269, 0.0148099996, -0.0077197426, 0.0479758084, -0.0344717056, -0.006017237, 0.0082854535, 0.02026009, 0.0435937755, -0.0627912432, 0.0154049732, 0.0677700937, 0.0373225585, -0.0322822966, -0.036596261, -0.0378235839, 0.0182125941, -0.0653845668, 0.049698554, -0.070642136, 0.0328434668, 0.0287465528, -0.0154002393, -0.017835889, 0.0017193832, -0.0148824779, -0.0647928417, 0.0350832045, -0.0436069742, -0.0094025824, 0.028301008, -0.0218923036, 0.0326968133, 0.046801962, 0.028830247, 0.033389952, 0.0373379849, 0.0185252018, -0.0463649109, 0.0418664142, 0.0650151893, 0.0275261551, 0.0180394575, 0.0118860006, -0.0034884631, -0.0016467787, 0.0253111236, 0.0413793586, -0.0299575217, -0.0361872353, 0.0321251191, 0.0437214114, 0.0132718049, 0.0235943906, 0.051404655, 0.0098919142, -0.0177340601, -0.0118206115, -0.0366334505, 0.0123656671, -0.0494477153, 0.0076245139, 0.008462281, 0.0339719839, -0.0367413051, -0.0017360066, 0.0106462063, -0.0279855933, 0.0554928333, 0.0026956499, 0.0875504985, 0.0057156901, -0.0481609181, 0.0387308709, 0.0486566611, -0.0155128995, 0.0237213634, 0.0307081919, -0.0098801181, 0.0470202453, 0.0073600151, -0.0413941741, -0.0046223965, -0.0294110849, 0.0169990752, -0.0250376109, 0.0453297198, -0.0177222602, 0.0116358073, -0.055084262, -0.0440859906, 0.0058265487, 0.0116498517, 0.0223288722, -0.0065893093, 0.0242606644, 0.0201717392, -0.0687331334, -0.0372846909, 0.0144248428, -0.0183508471, 0.0381683484, 0.0143845398, 0.0150571549, -0.0212432854, 0.0637631267, -0.0140190553, -0.0369048417, 0.0197061859, -0.0016597374, -0.0618095659, -0.0356630497, -0.0593439527, -0.0427058451, 0.047036048, -0.0347353853, -0.0093660494, -0.0045442064, -0.0280188676, -0.0386067294, 0.0573849194, -0.0183281861, 0.0418809094, -0.0044877641, -0.0231789201, -0.0054802871, 0.0090712402, -0.0103505878, 0.0522483438, 0.0050431928, 0.0316833444, -0.0146283889, 0.0206882767, 0.0012005576, -0.0321585722, -0.0234099794, -0.0202308185, 0.020722514, 0.0122310482, 0.0313336663, -0.0040854593, -0.037691012, 0.0008330377, -0.1100620106, -0.026181858, -0.0061822291, 0.001473356, -0.0008241208, 0.0180148501, 0.0192385502, -0.0332295746, -0.0197220705, 0.035296306, -0.0070766779, -0.0012391229, 0.0466417186, -0.0163560528, 0.0070949891, -0.0294352248, -0.0620576404, -0.0342159271, 0.1094559878, 0.0375396125, -0.0522192121, 0.0168137904, 0.0225110371, -0.0493472517, 0.0216745194, -0.0171454325, 0.0081860619, -0.0501378812, 0.0157508962, 0.0361135267, 0.0143835098, -0.0148162143, -0.0188683048, 0.0283921231, 0.0270701218, -0.0485980734, -0.013390433, -0.0475713722, 0.0547673181, -0.0267310925, -0.01508391, -0.0241839513, 0.0141357882, -0.0078701405, -0.0486211404, -0.0414898358, -0.0051339143, -0.0192098711, 0.0270338263, -0.0181503557, -0.0111004617, 0.0357477479, -0.0119403126, -0.0283178445, -0.0419305041, 0.061054904, 0.0075763366, 0.0244546104, 0.018748302, -0.0406879261, -0.0550187379, 0.0433291122, 0.0272099916, 0.0149372825, 0.0386197418, -0.010655486, -0.0601029471, 0.0373506807, -0.0042569847, -0.01797143, 0.0282684881, 0.0234928858, 0.0379441604, 0.0095177237, -0.0169016048, 0.0059633576, -0.0214682389, -0.0065534646, 0.027357446, 0.0227407049, -0.0177395437, 0.0432936214, -0.021483263, -0.0400060564, 0.0275983624, -0.032827653, 0.0029274763, -0.003733488, 0.0784444436, 0.0464529134, -0.0322082601, 0.004674511, -0.0310105067, -0.0424013585, 0.0000183138, -0.0267986823, -0.0595155135, -0.0138628362, -0.0066856337, -0.0004291109, -0.0114105325, -0.0327279046, -0.0201216806, 0.0484157167, -0.0074016647, 0.017687127, 0.0749723837, 0.021289276, -0.0671948716, 0.0067437813, 0.0225417279, 0.0339889675, 0.0280428492, -0.0016988516, -0.1202158183, -0.0050648148, -0.0422476232, -0.0043256492, 0.0278928038, -0.0530133806, -0.0002224155, -0.079867892, -0.0433562472, 0.020102039, -0.0596355759, -0.0190960728, -0.043893449, -0.0105793634, -0.0347537808, 0.0081476588, -0.0416302644, -0.0115820765, 0.0103982491, 0.034690626, -0.0365772247, -0.0508810356, 0.0091470238, -0.04124327, 0.0742076263, -0.0271986816, 0.0210611578, -0.0202281512, 0.0209293216, 0.039972052, 0.014498069, -0.0123380981, -0.0211065933, 0.0692251921, -0.0164094828, 0.0169827286, -0.0022660214, 0.0204344355, -0.0513383634, -0.0025052582, -0.0313854963, 0.0933511332, 0.0114866402, -0.0376693644, -0.0151407458, -0.0255984496, 0.0275844336, 0.0320659205, -0.0029817324, -0.0122664059, -0.046522785, -0.0366377123, 0.0260354914, -0.0478647873, -0.0115062017, -0.0068796873, -0.0633140504, -0.0201526433, -0.0290318634, -0.0488594994, 0.0100787273, -0.0014880822, 0.0058648982, 0.0088012349, 0.0319696181, -0.0374900959, -0.0819949061, 0.038520813, -0.0347274393, 0.0453113727, 0.0217625499, -0.0280336533, 0.0403716303, -0.0640321299, -0.0125632212, -0.0035940269, -0.0531399101, -0.0911241099, -0.0206256658, 0.0141108818, 0.009843274, 0.0795291886, -0.0354794189, -0.0605506226, 0.0748976767, 0.0525143407, -0.0653951317, 0.0126711447, 0.0549394041, -0.0019359037, -0.0033310782, 0.0377517901, -0.0638946295, 0.0445017107, 0.0447555706, 0.0069113374, -0.0613310039, -0.0386215262, -0.0379422307, 0.0131576108, 0.036916405, 0.0095735062, 0.029851811, -0.0904732049, -0.009125337, 0.0122392187, -0.0199989732, -0.0159051977, -0.0073237321, 0.0197508149, 0.0165061764, -0.0012325795, -0.0475251414, 0.0060096439, 0.0641752109, -0.0532638095, -0.0143147996, -0.0070634591, -0.0037935616, 0.0406712517, 0.0256422944, 0.0097014746, 0.0041581318, 0.0083480859, 0.00715842, -0.0231133327, -0.0095594814, 0.0265932996, -0.0124142161, -0.0514198653, -0.0043640276, -0.0270314701, 0.057804469, -0.0434261598, -0.0251782965, 0.0840529948, 0.0032048919, 0.0361774527, -0.0050343615, -0.0022986303, -0.0099900058, 0.0524534173, -0.0060742828, -0.0369956642, 0.0349660888, -0.0039907666, -0.0223735366, 0.0618449375, 0.0593242496, 0.0364381857, 0.0258042701, 0.02971326, -0.0268221684, -0.0187389348, -0.0054582139, 0.0048304829, 0.0774122626, -0.0300760511, 0.0218956303, -0.0509238802, -0.0995331928, 0.0505747609, -0.0183304921, -0.0015095383, 0.0313082635, 0.0459655076, -0.0030802435, -0.0199234802, 0.0337895267, -0.0408602543, 0.0127709638, 0.0111169172, 0.0021786042, -0.0075199222, -6.745220949e-33, 0.0214832891, -0.0670605972, 0.0068371911, -0.0286341347, -0.0451627336, 0.052094344, -0.0383401774, -0.0011475116, -0.042248223, 0.0289240833, 0.0036211552, 0.0340240188, -0.0041220519, 0.0502030738, -0.0453567989, -0.0263603162, 0.0267002452, 0.0067099831, 0.0426859707, 0.0341063626, 0.0087771891, 0.0299062561, 0.0698839128, -0.0912447572, 0.0423158854, -0.0544263236, 0.0121966191, 0.0088015357, 0.0409505256, 0.0269263498, -0.0231430009, 0.0814637542, 0.0317768157, 0.0067681917, 0.0172255915, 0.0091516031, -0.0814902931, -0.0519078486, -0.0153696034, -0.0150877275, -0.0206161924, -0.017462695, 0.0384884663, 0.0249998868, 0.0195219852, -0.0341634899, 0.0861165002, 0.0296459869, -0.0488256291, -0.0319492705, -0.0221851449, 0.0642981529, -0.0207893979, 0.0220544077, -0.0127091566, 0.0197781809, 0.0262572579, 0.0218734406, -0.0851555616, 0.0099891061, -0.0385284908, -0.0346485376, 0.0145949759, 0.0060000909, 0.000028178, 0.0495240651, 0.0107244505, 0.0359607488, -0.0432612114, 0.0243262462, 0.0460627452, 0.0019261873, 0.0073738671, -0.0065021245, -0.0170684364, -0.0321292765, -0.1052712649, -0.0031131962, 0.0295815058, -0.0380938873, -0.0103857806, 0.0169438366, -0.0003862801, -0.0495238379, -0.0092060743, -0.0663770959, -0.014357538, -0.0333029032, -0.0667446628, -0.0015728145, -0.0273363534, 0.064442873, -0.0135694994, -0.0689276233, -0.0553242378, 0.0730908066, -0.0125914812, 0.0396250859, 0.0137800034, 0.0293119196, -0.0745743141, -0.0298652574, 0.0081566628, 0.0044783959, 0.0088351686, 0.0034016576, 0.0475254208, 0.0261633042, -0.0304119904, -0.0215458684, -0.0114868367, -0.0240163486, -0.0119575113, 0.0135445921, 0.0273706727, 0.0600483231, 0.0003174831, 0.1010155529, 0.0802577734, 0.0300221965, 0.0129638556, 0.0149801131, -0.0117835812, 0.0075316587, -0.0193922631, -0.0233100448, -0.0009492817, 0.0367755182, 0.0467419215, -0.0784900263, -0.0158436187, 0.0020897766, 2.753e-7, 0.064354144, 0.0356218331, 0.0225724019, -0.0201123729, -0.0046012187, 0.0136466539, 0.0284746028, 0.0498915017, -0.0204853304, -0.0130356923, 0.0185352638, 0.0303088352, -0.0247227419, 0.0119953267, -0.0758976489, 0.0082287788, -0.090371564, -0.0042516785, -0.0427036695, 0.0273994915, -0.0050538429, 0.0543188378, 0.0498746037, 0.0018716553, -0.0383305214, 0.0147147579, 0.0403623842, -0.0243937802, -0.0058814315, 0.0319660418, 0.0058460589, -0.0159220193, -0.0349843502, 0.0281989258, -0.0280980114, 0.0676910803, 0.0233955253, 0.0263585132, -0.0270629767, -0.0118130082, 0.0172564257, -0.0445054881, -0.0030762353, -0.011448022, 0.0735574141, -0.0534625575, -0.0305285305, 0.0134459045, -0.0400943458, 0.0016357143, 0.0284520201, -0.0148540419, -0.023184685, 0.0421975814, 0.0156326275, -0.0171629228, -0.020458132, -0.0984515026, -0.0027436025, 0.0347524025, -0.0037426637, -0.0468448102, 0.0280735027, 0.0238758419, 0.0504038259, -0.0351336896, 0.0516984463, 2.605206574e-34, 0.0460404754, -0.0148637025, -0.0257838257, -0.0030722301, 0.0061260234, -0.0521704815, -0.0050648381, -0.0047291978, 0.0387848876, -0.0764610693, -0.002309774 ]
http://arxiv.org/abs/2310.12575v1
http://arxiv.org/pdf/2310.12575v1
Multilingual estimation of political-party positioning: From label aggregation to long-input Transformers
2023-10-19T08:34:48
2023-10-19T08:34:48
Dmitry Nikolaev, Tanise Ceron, Sebastian Padó
cs.CL
cs.CL
Scaling analysis is a technique in computational political science that assigns a political actor (e.g. politician or party) a score on a predefined scale based on a (typically long) body of text (e.g. a parliamentary speech or an election manifesto). For example, political scientists have often used the left--right scale to systematically analyse political landscapes of different countries. NLP methods for automatic scaling analysis can find broad application provided they (i) are able to deal with long texts and (ii) work robustly across domains and languages. In this work, we implement and compare two approaches to automatic scaling analysis of political-party manifestos: label aggregation, a pipeline strategy relying on annotations of individual statements from the manifestos, and long-input-Transformer-based models, which compute scaling values directly from raw text. We carry out the analysis of the Comparative Manifestos Project dataset across 41 countries and 27 languages and find that the task can be efficiently solved by state-of-the-art models, with label aggregation producing the best results.
[ -0.03573763, 0.0475078113, -0.0135624995, 0.0320740156, -0.0087823542, 0.0063641537, 0.0067868945, -0.0418646783, 0.0148091288, -0.0314938687, 0.0519433841, -0.0437859967, 0.0058257384, 0.0411023386, -0.0220054295, -0.0861493871, 0.0307874475, 0.0289540198, -0.0033455028, -0.0112048369, 0.0141314343, -0.0093023218, 0.0027384216, 0.0491653979, -0.0338602252, 0.0114537217, -0.0341178402, -0.0101410355, 0.0753754154, 0.0102903759, -0.0366912, 0.0058882325, -0.0296368655, 0.0180713963, 0.0000016119, -0.0365560018, -0.0573316514, -0.0274691153, 0.093157582, -0.0330961868, 0.0615151264, -0.0265732985, -0.0490396284, 0.0278360881, 0.005635065, -0.0148730613, 0.0754551664, 0.0303014014, 0.0580908805, 0.0417763628, 0.0014636869, -0.0749092698, -0.0309685692, -0.0110514816, -0.0477925651, -0.0272415336, 0.0484256931, -0.0366702937, -0.065359734, 0.0423758663, -0.026908122, 0.0285306182, -0.0023476123, -0.0346559137, -0.028714709, 0.000915593, 0.0059129833, -0.0433423109, 0.0049193483, 0.0226764325, 0.0143647222, -0.006804924, 0.0324623436, -0.0419151112, -0.0032731011, 0.0483034998, -0.027810201, 0.0139666637, -0.003460828, 0.0180297066, 0.0292602573, 0.0169029683, -0.0137137128, 0.0029609567, -0.0809649304, 0.0950922817, -0.0229043011, -0.0262536537, -0.0035038956, -0.0324024372, -0.0023987622, -0.0205247682, 0.0170541815, -0.0060536033, 0.02700416, 0.0277967565, 0.0263879262, -0.0183559321, 0.0129091758, -0.0378591456, -0.0126568414, -0.000496579, 0.0005555278, 0.0740526915, 0.0505697951, 0.0401331782, -0.0237572938, -0.0021221715, -0.0335121788, -0.0233902223, -0.0107264156, -0.0086161746, -0.0096243694, -0.024489725, -0.03016413, 0.0272096526, -0.0361839607, -0.0206426773, -0.0288536977, 0.0094638504, 0.0239639059, 0.006207644, 0.0113704754, 0.0021785009, -0.0317314379, 0.1267850995, -0.0555676967, -0.0050751604, -0.0256126113, 0.0223925151, 0.038131237, 0.0496854819, -0.0086189369, -0.0168926176, 0.0042345468, 0.063075684, 0.0181274693, 0.0250322279, 0.054230541, 0.0024924621, -0.0688427091, -0.0362120606, 0.0337751806, -0.0633916631, 0.064681612, 0.0014800687, 0.0270508099, -0.0707720891, 0.0098082284, 0.0260782707, -0.020717347, 0.0634623468, 0.040484719, 0.0351870656, 0.0364639238, -0.0084684212, 0.0005399358, 0.0737713948, 0.0507377833, 0.0164551977, 0.0474240705, -0.0404360294, 0.0079275193, 0.0552017614, -0.0010174753, 0.0280191377, 0.0063734446, -0.0271632001, -0.0064804303, -0.0246008597, 0.0127253914, 0.024707824, 0.043063391, -0.013423319, 0.0408970118, 0.0655110776, 0.0232448149, -0.0094359769, -0.0035194086, 0.0123947002, -0.0277354158, 0.0192739107, -0.0131611926, 0.0159140024, 0.0407741964, -0.0127025498, 0.0497236326, 0.0539032966, 0.0173290838, -0.0218811762, -0.0283440556, 0.0186106954, 0.0267862193, -0.0247714166, 0.0557487421, -0.0211834237, -0.0085126394, 0.0218910202, 0.0070724008, -0.0589816272, 0.0184620023, 0.0094065908, -0.0426359475, -0.022652965, -0.0288063362, -0.0566658638, 0.0176257882, -0.0305631831, 0.0301222298, 0.0448170565, 0.0537696294, -0.0509884171, -0.053997457, -0.0038539856, -0.0211608019, 0.0431141853, -0.0051666251, 0.0390182137, 0.0027629074, 0.0120135462, -0.0025275738, -0.0368051119, -0.0050372579, 0.0192568954, -0.0073304898, -0.00237014, 0.0286477897, 0.0423562489, 0.0193045381, 0.0570724048, 0.0064932159, -0.0003817582, 0.0544473529, -0.0175375398, -0.0324707218, 0.0042431019, 0.027944183, 0.0498670749, 0.037062861, -0.0416312963, 0.0230379291, 0.0034072457, -0.0320436098, -0.0233783703, 0.0554269813, 0.0016298617, -0.0365674458, -0.0172089525, 0.0251118354, -0.0401108339, -0.0329788886, -0.0891174302, 0.078763783, 0.0124382386, 0.0334683172, -0.0229340922, -0.0451023951, 0.0241802186, 0.0136489356, -0.0143345175, 0.0144741843, 0.018264614, 0.0341055505, 0.0554988608, -0.057260748, 0.0097251283, -0.0591913946, -0.0131728733, 0.0159616694, -0.0108957542, 0.0587881953, 0.0281275343, 0.0002471653, 0.0189588331, 0.0330398753, -0.02164804, -0.0432727113, -0.0242611244, -0.004269545, 0.0647742823, 0.0131819909, -0.0384741165, -0.0027771706, 0.0093832798, -0.0526343584, 0.0276023485, 0.0128279356, -0.0782838091, -0.0136638312, -0.0017801143, -0.043474175, 0.0100889998, -0.0591774099, -0.0383180566, 0.0048862337, 0.0318289585, 0.0658793002, 0.0197768286, 0.0529156588, 0.0320833363, 0.0288770087, 0.0218817685, -0.0586472154, -0.0211733636, -0.066019848, 0.0170565005, -0.0089847175, -0.0253449995, 0.041706048, 0.0914432779, -0.0222149529, -0.0050055915, 0.0021573361, 0.0035652583, -0.0432376452, -0.0026113482, -0.0151482346, 0.0094964867, -0.035649769, 0.0391707681, 0.0430829674, -0.0166092124, 0.0134720448, -0.0240700413, 0.0529126115, -0.0085359327, -0.0254179779, -0.0428195223, 0.0846065283, 0.0202316865, 0.0221441668, -0.0003583461, 0.0026863681, 0.0001145122, -0.0179745406, 0.0464139096, -0.0428106524, 0.0691821873, -0.021165086, 0.0167289283, -0.0330983065, -0.0288671106, -0.011499743, -0.0410156138, 0.0002666638, -0.0110386256, -0.005252732, -0.0626908243, -0.0461302847, 0.0556174442, 0.0510253645, -0.0118477531, 0.0283423085, 0.0364793278, 0.0143294046, 0.0196373519, -0.0210361648, -0.0280025713, 0.0138729317, -0.0156997498, -0.0432552397, 0.0371240936, -0.0008069869, 0.0382617973, -0.0236678068, -0.0708354041, 0.001521796, -0.0508589298, -0.0114846444, -0.0287559275, 0.0175325535, -0.0292263161, 0.0191201158, 0.0619358495, 0.0248227268, -0.0225158986, 0.0164650735, 0.0107908482, 0.015347207, 0.0421436206, 0.0070474544, -0.100988254, 0.0471420363, 0.0239546057, -0.0124302888, -0.0311447978, -0.0303540435, -0.0155062685, -0.077984184, -0.0070587313, 0.0221200828, -0.0162077025, -0.0168824475, -0.0857656747, 0.0299077798, -0.052634459, -0.083513096, -0.0124298241, -0.0063979304, 0.00805772, -0.0025962533, -0.0882332548, -0.0371630453, -0.0246568602, -0.0384092219, 0.0281618237, -0.0007345276, 0.0597296394, -0.0110965576, -0.0059715603, 0.1054911911, -0.0225751884, -0.0250500944, 0.0369793065, 0.0192206018, 0.0048023541, -0.0196526609, -0.007061983, 0.0147821233, 0.0342088565, -0.0247005913, 0.0292918347, 0.0502143018, 0.0011074705, -0.0171678197, 0.0158232842, 0.0248315018, 0.0557467118, 0.0579663478, 0.0320842564, -0.0098689515, -0.0088331662, -0.0503076315, 0.0051849191, -0.0193585996, -0.0776475221, 0.0197918918, -0.0542238057, -0.0219002813, -0.0197737012, -0.0417798236, 0.0238039996, 0.0306452271, 0.0109108407, 0.0198529437, 0.041891221, -0.0001794021, -0.0244274642, -0.0058733965, -0.0181769822, 0.0417339951, 0.0034476661, -0.0217327829, 0.011917212, 0.0412000716, -0.0569267347, -0.0190723129, -0.0416053124, -0.0614000894, 0.0128316479, -0.0507305935, 0.0223656427, 0.0009076092, -0.0089281667, -0.0318197981, 0.0434744097, 0.0950385332, -0.0043205307, -0.0167976096, -0.0041407375, 0.0176945701, 0.0027424293, 0.0121618556, -0.0034307628, 0.0503119566, -0.0166726056, -0.0133242235, -0.0784023628, -0.0329070464, -0.0007008252, 0.0084293438, 0.0384884253, -0.0381640755, -0.0670326054, -0.0459035151, -0.0206417013, -0.0260181613, -0.0432490557, 0.0118412664, 0.001643284, 0.0140762692, -0.0271910541, -0.0068796673, 0.0122486008, -0.0267207529, 0.0196101442, -0.0248697829, 0.0775453672, 0.0142156947, 0.0090551814, 0.0208561383, -0.0044017965, 0.0104466621, 0.0245115235, 0.0146794636, 0.0730486214, 0.0195836034, -0.0249378942, 0.0277964175, 0.0308801644, 0.0380754732, 0.0173669979, -0.0297908559, -0.0232095327, -0.0351298042, 0.0192892347, 0.030763736, 0.0165526941, 0.0612429529, 0.0213649049, -0.0194781795, -0.0046296944, -0.0119491629, 0.0195041709, -0.0494786166, 0.0091705956, 0.0098144421, -0.0352545232, -0.0017862455, 0.0284151342, -0.0059082536, -0.014199215, 0.0628695786, -0.0034581714, -0.0167343821, -0.0275928415, -0.0607468672, -0.0364734903, -0.0343812369, -0.0466711856, -0.074827224, -0.0248085056, -0.012350902, 0.0147449533, -0.0270798132, 0.0454907194, -0.0185354408, 0.023600718, -0.0100363279, 0.0702189878, -0.0599085763, 0.0276201908, -0.0551530868, -0.01190277, 0.0482156016, -5.482226105e-33, -0.0458441079, -0.0389703624, 0.0156923123, -0.0000083262, -0.0121556865, 0.0144266468, 0.0061379946, 0.0264931638, 0.0006551713, 0.0361317284, -0.0042498955, -0.0148928855, 0.0369746722, -0.0023384981, 0.015352726, -0.0126393372, -0.003447308, 0.0118432408, -0.041255381, 0.0125009064, 0.0698796734, -0.0209907535, 0.0801524222, -0.1021477208, 0.0431110263, 0.0214243755, -0.0262416061, -0.0091372412, 0.0463730879, 0.0288017187, 0.0138848526, -0.0122994613, 0.0272143967, -0.0932326242, -0.0021059627, 0.0817350894, -0.0441678241, -0.0070356689, -0.0130135063, 0.0164207928, 0.0319564901, 0.0038148689, 0.0303410944, -0.0028946225, -0.0332220793, -0.0398279168, 0.0733526275, -0.0070032128, 0.0236172453, -0.0074707558, -0.0369780995, 0.0298284758, -0.0192300975, 0.0480863005, -0.0279456917, 0.0410421304, 0.041321665, 0.0284512304, -0.0694053993, 0.0316009037, -0.0149281928, 0.037029136, 0.0308496654, -0.0137970923, 0.0012456356, 0.0675532073, -0.0094370889, 0.0281901285, -0.064608708, -0.0242325142, 0.0229988564, -0.0270574503, 0.0466450602, 0.0643441454, 0.0329320692, -0.0216103774, -0.0883009657, 0.0447113067, 0.0615482591, -0.008260035, -0.0196313672, -0.0331734084, 0.0145185599, -0.0241610911, -0.0495013408, -0.0503619388, -0.0168981012, -0.0268801004, -0.0116064576, 0.004140595, -0.0438762158, 0.0644494742, 0.0382087156, -0.0644581616, -0.033843454, -0.0015123995, -0.0089543378, 0.0315787494, -0.0377059169, 0.0060860403, -0.0205628537, -0.0689384863, -0.0198930725, 0.043227993, 0.0510486625, -0.0095984982, 0.0005547262, -0.0267314091, -0.0866535529, -0.0162331872, -0.0135120396, -0.0380738787, -0.02556118, 0.070690982, 0.0273212343, -0.0105639296, -0.0030864177, 0.0032490389, 0.0366565511, 0.0151167614, 0.0197143555, 0.0163701512, -0.0273811165, 0.0123449229, -0.0364009328, -0.0250150412, -0.0254404955, 0.0303402748, 0.0601836592, -0.0277350564, -0.0200218707, -0.0368142575, 2.322e-7, 0.0786935389, 0.0423147678, 0.0418897867, -0.0028342514, -0.018850157, 0.0294593479, 0.0284698438, 0.0385829508, -0.0619659573, -0.0554684997, -0.0253285728, -0.0138831446, -0.0004197732, 0.0417072326, -0.0890375599, -0.0286698546, -0.0513846166, -0.0003441603, -0.0687113553, 0.0446036719, -0.0439840518, 0.0476912521, 0.044280313, 0.0079327626, -0.030994812, -0.0075549036, 0.0376195796, -0.0183832459, -0.035713736, 0.0446075946, 0.0002953765, -0.0579896681, 0.0253205691, 0.018865725, 0.0186598022, 0.0241253674, 0.0113405539, 0.0657069758, 0.0016294047, 0.0186581016, -0.0383330174, -0.0356710106, -0.0073132943, -0.0496066585, 0.0524162054, -0.0570774935, -0.0186593588, -0.0452564806, -0.0653096735, 0.0007885654, 0.0504473001, 0.0222821496, 0.0130376518, 0.0484784096, 0.0052709091, -0.0164093487, 0.0315059088, -0.0392321311, -0.0306902174, -0.0260307286, -0.0047021531, -0.024798952, 0.0357283168, 0.0047195093, 0.0412966087, -0.0480496362, -0.0250815004, 2.022244717e-34, 0.0251314137, -0.0150234476, -0.0280342475, -0.0388086215, 0.0298311301, -0.0256033503, 0.0095100002, 0.0093543986, -0.0408398397, -0.0697562397, -0.0023813483 ]
http://arxiv.org/abs/2310.12558v2
http://arxiv.org/pdf/2310.12558v2
Large Language Models Help Humans Verify Truthfulness -- Except When They Are Convincingly Wrong
2023-10-19T08:09:58
2024-04-01T21:55:06
Chenglei Si, Navita Goyal, Sherry Tongshuang Wu, Chen Zhao, Shi Feng, Hal Daumé III, Jordan Boyd-Graber
cs.CL
cs.CL, cs.HC
Large Language Models (LLMs) are increasingly used for accessing information on the web. Their truthfulness and factuality are thus of great interest. To help users make the right decisions about the information they get, LLMs should not only provide information but also help users fact-check it. Our experiments with 80 crowdworkers compare language models with search engines (information retrieval systems) at facilitating fact-checking. We prompt LLMs to validate a given claim and provide corresponding explanations. Users reading LLM explanations are significantly more efficient than those using search engines while achieving similar accuracy. However, they over-rely on the LLMs when the explanation is wrong. To reduce over-reliance on LLMs, we ask LLMs to provide contrastive information - explain both why the claim is true and false, and then we present both sides of the explanation to users. This contrastive explanation mitigates users' over-reliance on LLMs, but cannot significantly outperform search engines. Further, showing both search engine results and LLM explanations offers no complementary benefits compared to search engines alone. Taken together, our study highlights that natural language explanations by LLMs may not be a reliable replacement for reading the retrieved passages, especially in high-stakes settings where over-relying on wrong AI explanations could lead to critical consequences.
[ 0.0689580739, 0.0519930013, -0.0138000762, 0.0422230661, -0.0436426848, -0.0047581387, 0.0165515449, 0.0068996083, 0.0084294081, -0.0454195216, 0.0209517684, -0.02432446, 0.0211567096, 0.0101068439, 0.024660334, -0.059159752, 0.0132423667, -0.0182357468, 0.0916319415, -0.0069503514, 0.0318630747, 0.0194837581, -0.0010167856, 0.048691947, 0.0033668571, 0.0042549963, -0.0046713245, -0.0012411335, 0.0053757066, -0.0436591133, -0.0199459027, 0.0463582017, 0.0203133691, 0.0276504476, 0.000001871, -0.0314874239, 0.0244860407, 0.0181441773, -0.0951307788, 0.0491830446, 0.0100045623, 0.0345948488, 0.0264433343, 0.015086622, -0.0047125537, 0.01301968, 0.0351707339, 0.0567915998, 0.0606890768, 0.0558090918, 0.021827247, -0.0079305647, -0.0114838984, 0.0033358363, 0.0193749145, -0.0538436547, 0.01338147, 0.0084581263, -0.0027232298, 0.0373084061, 0.0283750501, 0.016939614, -0.0031829372, -0.0317724198, -0.0222913679, 0.0528381132, -0.0465141535, -0.0262085143, 0.0228414536, 0.0400627069, 0.0307198614, -0.037989445, 0.0177780073, -0.0088336607, 0.0058216997, 0.0651009232, -0.0401201844, 0.0754847378, -0.0426988788, -0.0070502376, 0.0063490695, 0.0076775337, 0.0468409397, 0.0597449504, 0.0261590406, 0.0609115772, -0.0343412496, -0.0245513525, 0.00020485, 0.0122901713, 0.0299373679, -0.0658366233, -0.0110818865, 0.0097837066, -0.0211470351, 0.0315218009, 0.0148337195, 0.002228339, 0.0567070358, -0.0738189071, 0.0032237771, 0.0094329594, -0.0447573215, 0.0726154447, -0.0231832694, 0.0082845325, -0.0128760682, 0.0145998253, 0.0145592727, -0.0321322531, 0.001332673, 0.0036265426, 0.0014676636, -0.006946105, -0.00902637, 0.027237922, 0.0035447984, -0.0131960427, -0.033869613, 0.0384553969, -0.0236325879, 0.0205330998, 0.0018167966, -0.0548770055, -0.0961626098, 0.0259176642, -0.0468429215, 0.0458567962, 0.0112513062, -0.086364463, 0.0000308728, 0.0225945115, 0.0041553392, 0.0183949955, 0.0204881057, 0.0153788216, 0.0358712636, -0.0021672531, -0.0783044323, -0.0289071593, 0.0117120212, -0.0393957905, -0.0514003001, -0.0697660297, 0.0181345828, 0.0208518095, -0.0078432029, -0.0118616344, 0.0129981991, 0.0360034183, -0.0411439836, 0.0734484568, -0.0396992788, 0.0197631884, 0.0351898931, 0.0174174532, -0.0374867469, 0.0385758877, 0.0188645031, 0.0418449603, 0.0422556847, 0.0144357486, 0.0401579291, -0.0362397693, -0.0049035009, 0.0130511541, 0.0286439899, 0.0160860941, -0.0411989242, 0.0187211875, 0.0015002316, 0.0845630392, -0.0244586151, -0.0055565909, 0.1118018329, 0.0313185491, -0.0181455109, -0.0073190713, 0.0102249244, 0.0026293963, 0.0401729755, -0.0039948034, -0.049922131, 0.0541015267, -0.053991586, -0.0052760136, 0.0388466455, 0.031730067, -0.0010764458, -0.0559999198, -0.0428374782, 0.0015914526, 0.0217436571, 0.0323973782, 0.0239521079, -0.029835688, -0.0178718045, -0.0032566267, 0.045205649, -0.0297600944, 0.0017963785, -0.0687353984, 0.0349574238, 0.0771060139, 0.0290767625, 0.001376542, 0.0230755024, -0.0227852259, 0.0208032504, 0.0642089099, 0.0719401687, 0.0036721795, -0.0382402651, -0.0134754628, -0.0352198854, -0.0107566798, 0.0087397862, -0.0036334228, 0.0304553695, -0.016350003, 0.0212671421, -0.0403483175, -0.0717036128, 0.0268971417, 0.0054471698, -0.0020765737, -0.0367445089, 0.01210267, 0.0004070891, 0.015201279, -0.0004808637, 0.0129517121, 0.0135848494, 0.0094041023, -0.0598064847, 0.0001401415, 0.0003383174, 0.0404192097, 0.0130226826, -0.0694274232, -0.0285245702, 0.0334799066, -0.0078127803, 0.0027246857, -0.0241875965, -0.0584714189, 0.0248394273, -0.0014030231, -0.0090608755, -0.0127409231, -0.019862337, -0.0230943263, 0.076058127, -0.0113753378, 0.021297507, -0.0068373829, -0.0309079736, -0.0100506824, -0.0323176906, -0.00977806, -0.0037312342, 0.0269449875, 0.0359373987, 0.0501284599, -0.06102084, -0.0484532192, 0.0249040425, -0.0691539943, -0.0262299012, -0.0152645782, 0.0412589349, 0.0189842824, -0.0509118922, -0.0030053833, 0.0114304665, -0.0344161689, -0.0099889664, -0.0118408808, 0.0294162612, 0.0523821861, 0.0129951956, -0.0016711523, -0.0468405336, 0.0133284815, -0.0189252794, 0.0222822241, 0.0689065084, -0.0125916032, -0.0700600073, 0.009336655, -0.0463026837, 0.0099720443, -0.0276427343, -0.0061444449, 0.0203243643, 0.0190043915, -0.0247835014, 0.0440526046, 0.0337488092, 0.0230434462, 0.0625875965, 0.0574644804, -0.0612620488, -0.029442586, 0.0032080901, -0.0112035852, -0.0278678313, -0.0829841942, 0.0357747599, 0.0134035647, 0.0301190112, 0.0288396608, -0.0283303913, 0.0314400978, -0.022924019, -0.0187581964, -0.0177693311, -0.06595622, -0.0163316783, 0.0869996399, -0.0119618848, -0.0461441502, 0.0872181281, -0.032506492, 0.023452092, -0.0072981576, -0.0110248309, -0.0023944934, 0.0239903741, -0.0360523574, 0.0308657587, 0.0295045935, 0.0168911833, -0.0100114318, -0.0375629701, 0.0719842464, -0.0530835949, 0.0352797955, -0.0519147217, 0.0020800158, 0.0210871752, -0.0331355482, -0.0492905304, -0.0924971104, -0.0623238869, -0.0198925287, 0.0073048896, -0.0361151956, -0.0532865934, -0.045367267, 0.0943671688, -0.0014035131, 0.019656755, -0.0352918766, 0.0214306824, -0.0039121811, 0.0100628631, 0.0350428782, 0.0738273188, -0.0413652696, 0.0005106918, 0.0663063079, 0.0079977065, -0.0094816582, -0.0290414207, -0.0778221488, -0.0106990682, -0.0293611772, -0.0023775115, 0.0162011404, 0.0083948215, -0.0654843226, 0.0266633797, 0.0755816549, 0.0128872767, -0.0258066375, -0.01832496, -0.0361198746, -0.0247785076, 0.0327445604, -0.003390617, -0.0748581961, -0.0199900288, 0.0148975877, 0.0305524208, -0.0190120414, -0.0240127761, -0.0025003979, -0.1137212664, 0.0301999506, -0.0041586137, 0.0447517186, -0.0266188681, -0.081966944, 0.0025739644, -0.0113147106, -0.0214381069, 0.03358832, 0.0193920154, -0.0108635454, 0.0264580715, 0.0200160146, -0.0157975163, 0.05851328, -0.0613314994, 0.0398857817, 0.0297505744, 0.0266472138, -0.0471662208, -0.0664459616, 0.007369665, 0.0247829109, 0.0136109572, 0.007294625, 0.0646077618, -0.0029629115, 0.0114039518, -0.0569858402, -0.0179804917, 0.0152708162, 0.0021544374, 0.0054707797, 0.0631040558, 0.0122309318, -0.0369292423, -0.0088806152, -0.0104188537, 0.0034720129, 0.0862441212, 0.0175782666, -0.0023066553, -0.0178881381, -0.0487125367, -0.0255645756, -0.0142098414, -0.0813836157, 0.0222800225, 0.0270774141, -0.006033936, -0.0601997152, -0.0324266367, 0.0012530652, 0.0005860308, -0.0096256826, -0.0228181481, 0.02910861, 0.0134856822, -0.0096597681, 0.0425549448, -0.0374485441, 0.0384020917, -0.0226956736, -0.0213598441, 0.0041633612, -0.0360169411, 0.0062934044, 0.0093675898, -0.0295215994, -0.0458970107, -0.0030484996, 0.0153542515, 0.0269966088, 0.0241517201, -0.0129762264, -0.0569719113, -0.0140981404, 0.0448664166, -0.0515278317, -0.0083873831, 0.024921881, 0.0005876943, 0.0234869607, 0.004154366, -0.0412538201, -0.0182421077, -0.0122177424, 0.0042469064, -0.0514063314, -0.0490886644, 0.0592180155, 0.0591639727, 0.0519599393, 0.0019025399, 0.0197140612, -0.0110297436, -0.0101360735, -0.0059691775, -0.0302636102, 0.0409809165, 0.0109814974, -0.0222638473, -0.0280046407, 0.0169779398, 0.0323364846, -0.0202284344, -0.016614655, -0.0356307253, 0.0254148617, 0.0072542247, 0.0217542835, -0.0094619524, -0.0073534427, -0.0309274308, 0.009277001, -0.0028161588, 0.0625315458, 0.0137744844, 0.0242753569, 0.0109926155, -0.0323053934, 0.0159397982, -0.0285050701, -0.0701498464, -0.0846377015, 0.0275454503, -0.0091274688, -0.0041900924, 0.0083163911, 0.027429793, -0.0315913782, -0.016541142, -0.0038522962, -0.0252008047, 0.0205975957, -0.0200620294, 0.0290794168, 0.0154981166, -0.0407775566, 0.0204539653, 0.0683595166, -0.0159510616, 0.0346157886, -0.0163933281, -0.0644896626, -0.0066686501, -0.0331305265, -0.0375586301, 0.0270855576, -0.0306000076, -0.0194097552, -0.0879841819, -0.0344960652, -0.0226398129, 0.0388862044, 0.0498324782, -0.0308604129, -0.0094513046, 0.0731455237, 0.0173630714, -0.0231371894, -0.0606443845, 0.0629827157, -0.0163601972, 0.036581371, -0.0364545919, -6.616242036e-33, 0.0079811243, -0.095142886, -0.012925894, -0.030260738, 0.0405817516, 0.0174218807, -0.028169116, 0.0277701858, -0.0640974194, 0.0533633828, 0.0113710528, 0.0337925032, 0.0101422658, -0.041661229, 0.0132605853, -0.0286873039, 0.0405261107, 0.0253473856, -0.0474549085, 0.0150116235, 0.0482635759, -0.044177141, 0.0192213971, -0.093901597, 0.086247772, -0.0002359774, -0.0206260495, 0.0302342772, -0.0552082956, 0.0279059652, 0.0182936508, 0.045722492, 0.0307593103, -0.0320969336, 0.0054544201, 0.0336967707, -0.0388938077, 0.0066371337, 0.0796608552, -0.0185538847, -0.0366749279, 0.0112717962, 0.0528995134, -0.0038026501, -0.022987904, 0.0288403016, 0.0231171213, -0.0209045596, 0.0165755525, -0.0020015249, -0.037978448, 0.0204522759, -0.0001185759, -0.0100293756, -0.0234512463, 0.0545075499, -0.0099270055, 0.0542765483, -0.0744003505, 0.0260037184, 0.015112116, -0.0071994192, 0.0551570356, -0.0164330304, -0.0282929204, 0.0652543977, -0.0046710102, 0.0325295888, -0.0982452407, -0.0245064516, -0.0146726174, 0.0244874563, 0.0949891284, 0.0787706748, 0.0286452249, -0.028489789, -0.0615221113, 0.0325775519, 0.0059260554, 0.023738347, 0.0421418734, -0.0002080017, -0.0603253841, -0.002079295, -0.0491032712, -0.0064801746, -0.0591910742, 0.0010209857, -0.0064616911, 0.0172188245, -0.0301598702, -0.0205750391, -0.0277753156, -0.0338126719, 0.0373478495, 0.0335446447, -0.0037806768, -0.0220233314, 0.0049228705, -0.047409106, -0.0549375378, 0.0516494066, -0.0419061668, 0.045492243, 0.0196013935, 0.0017938422, 0.0265006479, -0.0105189392, -0.0389916077, 0.0284023099, -0.0557016432, -0.0018822915, 0.0055068876, -0.0904184878, 0.0499944873, 0.0008293223, -0.0109639456, 0.005814862, 0.0128937662, 0.0117044486, -0.051349882, 0.000349132, -0.0440884233, 0.0010307884, -0.0157828908, 0.002858035, -0.0451080799, 0.0402578488, 0.0209115669, -0.0408692919, -0.0173862781, 0.0000938544, 2.602e-7, 0.0227400269, 0.0553518198, 0.0087583233, 0.0395156965, -0.0005943078, 0.06791199, 0.0033567459, -0.0052503133, -0.0064110118, -0.0805834681, -0.0054208976, 0.0342083834, 0.0301356912, 0.0505889058, -0.0165230613, -0.0216711555, -0.075899139, -0.0271496903, -0.0374307223, -0.0031759741, 0.0572628342, 0.0171249416, 0.0261291377, 0.0062361993, 0.0007921587, -0.0451363586, 0.0544458441, 0.0020673336, -0.0163078588, -0.0211439915, 0.0608681254, 0.0100258878, 0.0138190435, -0.0020321268, -0.0062927995, -0.0321942195, -0.0188719612, 0.0457182638, 0.0081526879, 0.006209529, -0.0427907519, -0.0594497882, 0.0176316537, -0.0596274696, 0.0487422459, 0.0141845848, -0.0068981103, -0.0558396541, -0.0064055184, -0.0083601624, -0.0062406901, -0.016548859, -0.0440195166, -0.0016636647, -0.0318571031, 0.0074068261, 0.0021247042, -0.0278988164, -0.0317966528, 0.0156466626, -0.0258789789, -0.0460364558, 0.0022863236, 0.0129157966, 0.0192170218, -0.0119974473, 0.0175328944, 1.803984688e-34, 0.023538962, 0.0127733434, 0.0063445871, 0.0004388912, 0.0679645836, 0.0777648836, -0.0520115644, -0.0215342324, 0.0397011675, -0.0222860221, -0.0171145983 ]
http://arxiv.org/abs/2310.12557v2
http://arxiv.org/pdf/2310.12557v2
DepWiGNN: A Depth-wise Graph Neural Network for Multi-hop Spatial Reasoning in Text
2023-10-19T08:07:22
2024-03-08T14:16:55
Shuaiyi Li, Yang Deng, Wai Lam
cs.CL
cs.CL, cs.AI
Spatial reasoning in text plays a crucial role in various real-world applications. Existing approaches for spatial reasoning typically infer spatial relations from pure text, which overlooks the gap between natural language and symbolic structures. Graph neural networks (GNNs) have showcased exceptional proficiency in inducing and aggregating symbolic structures. However, classical GNNs face challenges in handling multi-hop spatial reasoning due to the over-smoothing issue, i.e., the performance decreases substantially as the number of graph layers increases. To cope with these challenges, we propose a novel Depth-Wise Graph Neural Network (DepWiGNN). Specifically, we design a novel node memory scheme and aggregate the information over the depth dimension instead of the breadth dimension of the graph, which empowers the ability to collect long dependencies without stacking multiple layers. Experimental results on two challenging multi-hop spatial reasoning datasets show that DepWiGNN outperforms existing spatial reasoning methods. The comparisons with the other three GNNs further demonstrate its superiority in capturing long dependency in the graph.
[ 0.0255243517, 0.0427480191, -0.0076142899, 0.0547800548, -0.0538261011, 0.0142372781, 0.0278544333, -0.0382044688, 0.0800746977, -0.0190334599, 0.0312664136, -0.0109387236, 0.0308263861, 0.0348630026, 0.0116681727, -0.0561518855, 0.0207390971, -0.0063963775, -0.0099559762, -0.0216425993, -0.0060706185, 0.051808387, -0.016837975, 0.0085174581, -0.0591282398, -0.0001113196, -0.0346045829, -0.0005171325, 0.0154723283, -0.0688500181, -0.0061382013, -0.0122846495, 0.0513074622, 0.0247971918, 0.0000019686, 0.0238050576, -0.0170404781, 0.0075392341, 0.0097441832, -0.0124991275, -0.033418864, -0.0301487483, 0.0263341684, -0.0243255179, -0.0357151255, -0.0320635475, 0.0400480852, 0.0249534324, 0.0212157592, 0.0350564718, -0.0307927579, -0.0720456392, 0.0226909742, -0.0074703279, 0.0141860042, -0.0020882855, 0.0168727301, -0.001272421, 0.0193324853, 0.0266643874, -0.0350062996, -0.0043167146, 0.0497868732, 0.0182298943, 0.0093307467, 0.0537832752, 0.0237436201, 0.0595976263, 0.0044104033, 0.0887845457, -0.0229064487, -0.0106075462, 0.0216787588, -0.0066435379, -0.0056602503, 0.0470901057, -0.0473332517, -0.0349927805, -0.0169547927, 0.0127456831, -0.0500557125, 0.0083401045, 0.0305959284, -0.005591732, -0.0453147888, 0.0957729146, -0.0127785001, -0.0039451122, -0.0252287891, -0.0227274429, -0.0075310525, -0.0371573493, 0.0346691869, 0.0564432368, 0.0006523645, 0.0312440526, 0.0408944748, 0.0488859601, -0.0027856147, -0.068456836, 0.0015250552, 0.0062049683, 0.0022864603, 0.0566353202, -0.0453613028, 0.0421478525, -0.0340382904, 0.064212352, -0.0017643783, -0.0277608577, -0.0228089094, -0.0067358012, -0.0724161044, 0.0525020175, 0.0021609815, -0.0411455221, -0.0227046944, -0.0108927125, -0.0365314782, 0.0290409625, -0.022527812, 0.0898668393, 0.0183317661, -0.0263093971, 0.0099644084, 0.0309173875, -0.0282593518, 0.0178111289, -0.0153800398, 0.0402325168, -0.0034861527, -0.0110984584, 0.0788561776, -0.0216624029, 0.0073861172, 0.0713316202, 0.0556133576, 0.0035956709, -0.0395720042, -0.045900207, -0.021770196, -0.0662079304, 0.0425044186, -0.0851107091, 0.0241698753, -0.0002338494, -0.0547646768, -0.0345505215, 0.0074791303, 0.0328901112, -0.0521415211, 0.0482039899, -0.0019094695, -0.0224758349, 0.0316981673, -0.0061889878, 0.0225455388, 0.0299154613, 0.0599852093, 0.0901953653, -0.0001273706, 0.0310161188, -0.0320012383, -0.0176887941, 0.0408237651, -0.0023571542, -0.0272127669, -0.0172232743, -0.0596200451, 0.0188918691, -0.0232359748, 0.0451383963, -0.0393283293, -0.0338453203, 0.0218500737, 0.0849994272, 0.0056615621, -0.0203280915, 0.0465098731, 0.0309241619, -0.0576235726, 0.0097070634, -0.046223931, 0.0586896986, -0.0075392672, 0.0021929687, -0.0069433721, -0.0090780351, 0.0004070931, -0.029713314, -0.0243760459, 0.0001209664, 0.0825815871, 0.0150342099, 0.0581626445, 0.0072892606, -0.0355325229, 0.0348846018, 0.0420081541, -0.0026179876, -0.0192016754, 0.0463034511, -0.0032936714, 0.0245007928, 0.01868519, -0.0023071165, -0.0389913693, 0.0217117853, 0.0130799776, -0.0027016189, 0.03926659, -0.0027844531, 0.0024839253, -0.042418655, -0.0540656373, -0.0123577323, 0.0109938886, 0.0387000293, 0.0493768156, 0.0056054201, 0.0391371772, -0.0584313534, 0.0063648159, -0.0018195037, 0.042213425, 0.0111083658, -0.0247138441, 0.0275610108, -0.0211974196, -0.0093647214, 0.0271360613, -0.0004988567, 0.0200183988, -0.0316548124, -0.040880952, -0.0011138163, -0.0957568362, -0.0525826924, 0.0154164508, -0.0330266766, -0.0272358116, 0.0147230495, -0.0542236753, -0.0292518493, 0.0635423437, -0.0702621341, 0.0274431333, -0.0096547958, -0.0625662059, 0.0343554169, 0.0079223448, -0.0111175589, 0.0561156571, -0.0173734352, 0.0277334824, -0.0355953015, 0.0359262787, 0.0340807736, 0.0036210632, 0.0328628421, -0.0077910991, -0.0026433526, -0.0029278807, -0.0194586795, -0.0082648126, -0.0347040668, 0.0081166169, -0.0679723471, 0.0137164313, 0.0017527732, -0.0007022581, -0.0281238127, -0.016397981, 0.0156226885, -0.0428130627, -0.0650442913, 0.0128566092, -0.0160798151, 0.0096975649, 0.0407406129, -0.0353836976, 0.0060068895, 0.014936896, -0.050223954, -0.0602668449, 0.0577330142, 0.0311095733, -0.0510063283, 0.0214354824, -0.0025995546, -0.0473023579, 0.0179892965, -0.008103407, -0.0162321869, 0.0168417767, -0.0479534008, -0.0046258117, 0.0322014429, -0.012899532, -0.0143613275, 0.0067633167, -0.0511327982, -0.0483103916, 0.0157777648, -0.0545867719, 0.0746901333, 0.0140960487, 0.0083454186, -0.0552065969, 0.0216334015, 0.0006846178, -0.0215561446, -0.0185746029, -0.0098081529, -0.016521994, 0.0356854312, -0.0205021277, -0.0251162648, 0.03705246, -0.0080585033, -0.0405205525, -0.009809386, 0.0447503254, -0.0195012428, 0.0095308423, -0.0044299751, 0.0230063666, -0.0523240454, 0.1191522479, 0.0354547128, 0.0292149149, -0.025571581, -0.0498264842, 0.0012462775, -0.0197486877, -0.0025777165, 0.0101116654, 0.0225557443, -0.0372488499, 0.0404270887, -0.0135678239, -0.0209914166, -0.0114006726, 0.0115096383, -0.0381285995, 0.0163422637, -0.0225599222, -0.0465964787, 0.0381261259, -0.0009090934, -0.0086889872, 0.0383236744, -0.0306009203, -0.0075487699, -0.0120753935, 0.0470019206, 0.0202560294, 0.0540627651, -0.0189712755, -0.0160324033, -0.0308382139, 0.0523480996, -0.044419542, -0.0301826596, -0.0386616625, 0.0632977411, 0.0042706914, 0.0145844445, 0.0069946167, -0.0104813799, 0.04468707, -0.1058025956, -0.0404253602, 0.0190499853, 0.0515700392, -0.0315852799, -0.0082029002, 0.0070287096, 0.0230436288, 0.0221329927, 0.0099619152, -0.054419551, -0.0451164097, -0.0043861927, -0.0503904223, 0.0428781137, -0.0329434797, -0.0049181469, -0.0718158782, 0.0319035649, 0.0030200537, -0.0634387359, -0.034355782, -0.0373931117, -0.0209013671, 0.0598076582, -0.0405412465, -0.0472637601, 0.026312368, -0.0325578153, 0.0200056825, -0.0524888821, 0.0402730256, 0.0340537019, -0.0248150453, -0.0271224882, -0.0324214138, 0.0736051127, 0.0179085303, -0.0530122817, 0.0286582913, 0.0373270959, 0.0084021967, -0.0041321535, 0.052362781, 0.0229522176, 0.015527756, -0.0168903805, 0.0198386721, -0.0747015551, -0.0313589573, -0.0364193767, 0.0702510253, -0.00164623, 0.018994417, -0.0254493244, 0.0424736813, -0.0181711093, -0.019278869, 0.0201097392, 0.0326135755, -0.0986218303, -0.0502785333, -0.0233983248, -0.0873101279, -0.0019237412, 0.0402107723, 0.0236344505, 0.0266693793, -0.0462728068, -0.0124090295, 0.0054230136, 0.043806117, -0.0326554962, 0.0012207259, 0.0606718287, -0.0357619636, -0.075071916, 0.0305245612, -0.0204759482, 0.057598833, 0.0699552149, 0.0316494592, 0.0003389394, -0.0174465328, -0.0069190855, 0.0351263769, -0.0808655471, -0.0532329455, 0.001566237, 0.0049782055, 0.008647399, 0.0502080917, -0.0312567838, 0.019457614, 0.0407022387, 0.0205285586, -0.0241453499, -0.0049745701, 0.0287523493, 0.0049717496, 0.0012681567, 0.0182667617, -0.0137396781, 0.0238187928, 0.0278779529, -0.0020107743, -0.0275452174, 0.042131424, -0.0061291675, -0.0183115024, 0.0293562505, 0.0504489727, 0.0002018211, -0.0473256856, 0.0341683924, -0.0467541106, -0.0064433897, -0.0126721226, 0.0181971248, -0.0107675623, 0.0134623712, -0.0280331429, -0.046462208, 0.0789780319, -0.0216546338, 0.0200920776, -0.0259912293, 0.0357410088, -0.032790821, 0.0387102142, 0.0175903104, -0.0356802046, 0.005945053, -0.0306261685, 0.0327234343, -0.0333400294, 0.0175850727, 0.040909335, -0.032383509, -0.0849089697, 0.000862035, -0.0723824427, -0.0354891345, 0.0020603661, -0.0263000056, 0.0848928839, -0.0114549231, -0.0349304974, -0.0057828384, 0.0162058268, 0.0419834889, 0.0194863696, -0.0002487366, -0.0637373552, 0.0136110978, 0.0154303741, -0.0056133657, 0.0223662071, 0.0109855849, 0.0183765069, 0.0222513452, 0.0135622453, -0.0119868359, -0.0026732129, -0.0253387149, 0.0026077717, 0.072765857, -0.0003136967, -0.0071636392, -0.0555509403, -0.0760189444, 0.0108889686, 0.0220696628, 0.0286376327, 0.0331543274, 0.0273756422, 0.0015795806, 0.0239280853, -0.0279218741, -0.0271838065, 0.0371967517, -0.0193197802, -0.0171563905, -0.0053854235, -6.00109225e-33, 0.029353492, -0.0883740112, 0.0382212289, -0.014903889, -0.0443314351, 0.0293798111, -0.0609693676, -0.04755513, -0.0220613219, 0.0427771024, -0.029211726, 0.0313184634, -0.0014367632, 0.0443370454, 0.0133817187, -0.0095042018, -0.0073215691, 0.0296574831, 0.0411757939, 0.0247816648, 0.0837050602, 0.007238409, 0.0214115921, -0.0410663262, 0.0085532106, 0.0056323214, 0.028383268, 0.0104069784, -0.0381430537, 0.0230316129, -0.0142541565, -0.0025707777, 0.0440931953, 0.0226890203, -0.023779802, 0.0281363036, -0.1029869244, -0.0521577559, -0.0388001986, 0.0081108129, -0.0723149851, 0.0055703977, 0.0381727405, 0.0128980866, 0.0581703149, -0.0402357355, 0.0459496044, 0.0248869862, -0.0698384419, 0.0121768238, -0.0235449784, 0.0465903729, -0.0035180512, 0.0002773733, 0.0038799134, -0.016112851, 0.0449224748, 0.0068981512, -0.0326075181, 0.0028672896, -0.0456743501, -0.0035097385, -0.0053521972, 0.0097110244, 0.0128006814, 0.0677137524, 0.019866148, -0.0169372838, -0.0479747169, 0.0236381665, 0.0260880962, 0.0566548035, 0.0379002281, 0.0049719941, 0.0551541001, -0.0110307541, -0.0939299613, -0.01134203, -0.0517895781, 0.0282303356, -0.0060766093, -0.0025621506, -0.0228276514, -0.0518564135, -0.0016813872, 0.00595072, -0.0206810609, -0.0068939407, -0.0249212198, 0.001438424, 0.0057326932, 0.0509328581, -0.0109082879, -0.0488250069, -0.012051872, 0.0590944365, 0.0201960877, 0.0190443154, -0.0032438438, 0.046591185, -0.0168598313, 0.008449126, -0.0379984416, 0.0116426144, 0.0109931184, 0.0304068495, 0.0755390078, 0.0211112872, -0.0322536528, -0.0250722673, -0.0569869876, -0.0323394462, -0.0266495589, 0.0057955789, 0.0595356598, 0.0293473676, -0.009730638, 0.0666638613, -0.004903187, 0.0444578081, -0.0079330439, 0.027629884, -0.0387426056, 0.0447101258, -0.0066840695, -0.0342403054, -0.0400963351, -0.0185307134, 0.0361905806, -0.0822666213, -0.0057015507, 0.0419422276, 2.753e-7, 0.0075850375, 0.0499644838, 0.0682916865, -0.0219852775, -0.0039859512, 0.0064609777, 0.0102289617, 0.0158444159, -0.0340600908, 0.0183700379, 0.0322408192, 0.0597158931, 0.0069357934, 0.057471633, -0.091608122, 0.0462433733, -0.0324216634, -0.0424712561, -0.0415087007, 0.0108542405, 0.0486498512, 0.0120265996, 0.0455797687, -0.0160274934, 0.0091656176, -0.0346819647, 0.0153736938, 0.0326814689, 0.0352363884, -0.0019122822, 0.0201347377, -0.0421891659, -0.0287961699, 0.0030280335, -0.0154030463, 0.0094419261, -0.0031510219, 0.0391366445, -0.0262995828, -0.0306542274, -0.0056631463, -0.0618305691, -0.020746043, -0.0416402146, 0.0628547892, -0.090745151, -0.0280064046, 0.0223451238, 0.0073078615, 0.0107516972, 0.0073874607, 0.0590229444, -0.0069434429, 0.0011950266, 0.0196090117, -0.036569342, 0.027160272, -0.133959353, -0.0193992872, 0.0236458443, 0.007226686, 0.019527385, -0.0073676184, -0.001291348, 0.0516295321, 0.0032802769, -0.052277267, 2.214398324e-34, -0.0013173629, -0.0028054866, -0.049844943, -0.0443365984, 0.0372368284, -0.0431174673, -0.0089096138, 0.0334159099, 0.0327172987, -0.050402917, -0.0109290471 ]
http://arxiv.org/abs/2310.12541v3
http://arxiv.org/pdf/2310.12541v3
Large Language Model for Multi-objective Evolutionary Optimization
2023-10-19T07:46:54
2024-03-26T12:04:44
Fei Liu, Xi Lin, Zhenkun Wang, Shunyu Yao, Xialiang Tong, Mingxuan Yuan, Qingfu Zhang
cs.NE
cs.NE, cs.AI, cs.CL, cs.ET
Multiobjective evolutionary algorithms (MOEAs) are major methods for solving multiobjective optimization problems (MOPs). Many MOEAs have been proposed in the past decades, of which the search operators need a carefully handcrafted design with domain knowledge. Recently, some attempts have been made to replace the manually designed operators in MOEAs with learning-based operators (e.g., neural network models). However, much effort is still required for designing and training such models, and the learned operators might not generalize well on new problems. To tackle the above challenges, this work investigates a novel approach that leverages the powerful large language model (LLM) to design MOEA operators. With proper prompt engineering, we successfully let a general LLM serve as a black-box search operator for decomposition-based MOEA (MOEA/D) in a zero-shot manner. In addition, by learning from the LLM behavior, we further design an explicit white-box operator with randomness and propose a new version of decomposition-based MOEA, termed MOEA/D-LO. Experimental studies on different test benchmarks show that our proposed method can achieve competitive performance with widely used MOEAs. It is also promising to see the operator only learned from a few instances can have robust generalization performance on unseen problems with quite different patterns and settings. The results reveal the potential benefits of using pre-trained LLMs in the design of MOEAs.To foster reproducibility and accessibility, the source code is https://github.com/FeiLiu36/LLM4MOEA.
[ 0.0158260353, 0.1036117151, -0.0033804046, 0.0318436176, 0.0026455384, -0.0244020894, 0.0014776362, 0.0047716517, -0.0495618023, -0.0244206544, -0.0530939065, 0.001146687, -0.0413660519, 0.0005342858, -0.0078337183, 0.0173841473, 0.0192903634, -0.037615262, -0.0537469201, -0.0102234753, -0.0113665387, 0.0051063551, 0.0420949273, 0.0387501381, 0.027142426, 0.0133164795, -0.0336048864, -0.0245361589, -0.0455702916, 0.0261460952, 0.0058796196, 0.0288739819, 0.015484741, 0.0583319403, 0.0000025538, -0.0632781014, -0.0648083165, -0.0078249816, -0.0095616654, 0.0096120778, 0.0730762184, 0.0106866406, 0.0095301084, -0.0026974187, -0.0234495476, -0.0147392256, 0.0363357626, 0.0015075739, 0.0547929965, 0.0668667331, -0.0011013907, -0.0172485802, 0.0269322526, -0.0202978831, -0.0046570613, -0.0445560254, 0.0193378497, 0.000351644, 0.0246980488, 0.0030345642, -0.0183552168, -0.0151281003, -0.0042197602, 0.0078880657, -0.0347780548, -0.0212376621, -0.0102031231, -0.0179045387, -0.0235945303, 0.0515380986, -0.0968635678, 0.0288421251, 0.0099890642, 0.0016776827, 0.0131193977, -0.01248617, -0.0244810898, 0.031486202, 0.0214172136, 0.0078515308, -0.0370827578, 0.0019448982, -0.00950188, 0.019135749, -0.0209489819, 0.0635602772, 0.0060652988, 0.0187366996, -0.0135344658, -0.071604535, -0.0689218566, 0.0096864989, 0.0146346027, 0.0511907637, -0.031560421, 0.0119647831, -0.0333213806, -0.0392732546, 0.0072838273, -0.0492764376, 0.1007758752, 0.0167034864, -0.0080614202, 0.0137094306, -0.0123345759, 0.0341445245, -0.0468481332, -0.0632228479, -0.0642659739, -0.0447116494, -0.0292183887, -0.0095132962, 0.0206778999, 0.0789830685, -0.0087495446, 0.0078999372, -0.0439623669, 0.0338489264, -0.0150964651, -0.0126791988, 0.0128311906, -0.0104576861, 0.0506119244, -0.0150098372, -0.0182755291, -0.027640393, 0.0245148037, 0.015580168, -0.0495884866, 0.0120300399, 0.0038440074, 0.0597987138, -0.0163566656, 0.0010461552, 0.0219021868, 0.1220638752, -0.0026881143, -0.0311494786, -0.0107104899, -0.0310649853, -0.0170889962, -0.0011100874, 0.005593413, -0.0487239286, 0.0259397794, -0.0499629974, -0.0125539294, -0.035146948, 0.0082231788, -0.0199276898, -0.0085355518, -0.015703816, 0.0173624456, 0.0654851496, 0.0293543953, 0.0023942529, 0.0390301049, 0.1023707911, -0.0310540497, -0.0058822045, -0.0112118665, -0.005544675, -0.0229491051, 0.0553533845, -0.0288257916, 0.0019694611, 0.0333630964, -0.0054339767, 0.022945242, 0.0180165917, 0.0471707173, 0.0084162774, -0.0420203097, -0.0095657203, 0.0093247751, -0.0179879814, 0.0657852963, 0.0868928656, 0.0105955778, 0.0072085443, -0.040713679, -0.0595910512, 0.0444800705, 0.0263890009, -0.0514685996, -0.013821478, -0.0088373404, 0.0632817447, -0.0179834608, -0.0254710391, -0.0097548431, -0.0298721083, -0.0489841402, -0.017455183, 0.0291993413, -0.0132246139, -0.0564976558, 0.0045779613, 0.0283196215, 0.0124393543, 0.0057216352, -0.0863876864, 0.0024717543, 0.0148804747, 0.0525336713, -0.0200232603, -0.0282114223, 0.0028810133, -0.0222490691, 0.0107701393, 0.0557540432, 0.0052178996, -0.0011121113, -0.0579258278, -0.0274342671, -0.0101573262, 0.0336628146, 0.0111763915, 0.0243302751, -0.0009458616, 0.038345024, 0.0115514705, -0.0057136677, 0.0382792056, -0.0221000761, 0.0164761208, 0.019593887, -0.0150206788, 0.0390760154, -0.0258176867, 0.007124546, -0.0129337888, 0.0138944024, -0.0194867607, -0.0769180581, -0.0388025306, -0.0135050537, 0.0140997339, 0.049605038, -0.0071333968, 0.0113044959, -0.005045231, -0.0298355743, -0.0221492462, 0.0252801478, -0.0207950771, 0.0588397086, -0.0193822552, 0.0151146725, -0.077253446, 0.0261459276, -0.0350484513, 0.0309198853, -0.0092825629, -0.0221390966, 0.0058801291, -0.053837724, 0.0599708445, -0.0089918999, -0.0625197589, 0.0085424324, -0.0177127756, 0.0565334894, 0.0078392588, 0.0658016428, 0.0119483545, -0.0677684322, -0.04602433, 0.0513736308, 0.0426627286, 0.0201269239, 0.031199621, -0.0034822582, 0.0117972475, 0.0675280541, 0.0215001609, 0.06855575, -0.0390991792, -0.0345096588, 0.0206523817, -0.0129592819, -0.0063240714, -0.0027929624, -0.0176449567, -0.0106159579, 0.0794131607, -0.0395665951, 0.0528730117, -0.0485581122, 0.0875029266, -0.0522335172, 0.0313521996, -0.0175028946, -0.0034613416, -0.0410443991, -0.0327000245, 0.0230681524, 0.0638903305, 0.0106687201, -0.0055749007, 0.0525420085, -0.02342139, -0.0323204584, 0.003840239, -0.0484148152, -0.0408772714, -0.0140956379, -0.008733619, 0.0322677158, 0.0447654985, -0.0227465928, -0.0367159694, -0.0126463678, 0.0158070829, 0.009254491, -0.0117920917, -0.0370428078, 0.0049136011, 0.0206629783, 0.0183235407, -0.0039463434, 0.0134695554, 0.0599193275, 0.0489378572, 0.0097706784, -0.0196579527, -0.0019801562, -0.1213170961, 0.0058240104, -0.0406362899, 0.0378249995, -0.0045534335, 0.0447618552, -0.0694634616, 0.0200013984, -0.0085147452, -0.010602029, 0.0005183061, 0.0108142411, -0.0129269389, 0.0079620061, -0.0441417731, 0.0082996106, 0.0053396993, 0.0227301437, 0.0307294317, 0.0078946436, -0.0108366404, -0.0825526118, 0.0233108569, -0.0044568302, 0.0371122621, -0.0214263294, 0.0065566427, -0.0372275896, -0.0136697926, 0.0572420731, 0.0042593959, 0.0266462881, -0.0004978142, 0.0496718846, -0.0068118786, 0.0013926029, -0.0269660614, -0.0412607789, 0.0189368315, 0.0277355146, 0.0077905739, -0.0507107116, -0.0067065926, -0.0228035543, -0.0522524677, 0.0470322631, 0.0681799501, 0.0086750509, -0.0138251642, 0.0261175055, -0.0586072542, 0.0424892604, 0.0202555507, 0.0619974732, 0.0042437669, -0.036842294, -0.0242946073, -0.0023805227, -0.015279389, -0.0254768264, -0.0097414134, -0.1174546331, -0.0014127966, -0.0095732491, -0.026100643, 0.0419218168, -0.0186758246, 0.0069364011, -0.043037653, 0.0001318425, 0.0206023306, 0.0073610791, -0.052595567, -0.0202733781, 0.0517574176, -0.0337920114, 0.0367522202, -0.0080302591, -0.013365522, 0.0465531871, 0.0104459086, -0.0017121518, 0.0303887278, 0.0875485092, 0.0160513632, -0.0072587794, 0.0147996834, -0.0255334228, -0.0154033545, 0.0002655757, -0.0285434444, 0.0418603607, -0.039659705, 0.0075439732, 0.0145521006, 0.0673233271, 0.0086450865, -0.0467371978, -0.0444509126, -0.0703390539, -0.0147821074, 0.0233348217, -0.0349915214, -0.1059916988, -0.0113669569, -0.0127316499, -0.0450428911, -0.0281403009, -0.0073501728, 0.0029901245, 0.0056721619, -0.0225182138, -0.0267670974, 0.063026756, 0.0013568425, 0.0185943339, 0.044201605, -0.0084121702, 0.0042689783, -0.0410857014, -0.0109599167, -0.0019496103, -0.0168873221, -0.0383383892, -0.0533477738, 0.0639315397, 0.0951850563, -0.053928595, -0.0471702218, 0.0117717283, -0.0535821654, -0.0353716575, 0.0077937413, 0.0557128862, 0.0084938984, -0.0176770333, -0.0044184793, -0.0671997145, 0.0552540459, 0.0679974779, 0.0406351201, 0.0173794739, -0.027271878, -0.010109609, 0.0059396294, -0.0012082496, -0.0012982468, 0.0369999073, -0.0014153278, 0.022185687, 0.0072640367, 0.0035393508, 0.0035525146, 0.0469632633, -0.008321817, -0.0026641735, 0.000085548, -0.0232430231, 0.0137961525, 0.0075126677, -0.0327761136, -0.0186527427, 0.0210147537, -0.0140218129, -0.0196766276, 0.0420563109, 0.0078564743, 0.0686496645, 0.0389581285, -0.0042172028, 0.0195541792, 0.0070336098, -0.0063461987, 0.0243905038, 0.0183745287, 0.0697401091, 0.062863268, -0.0068502533, -0.0137283038, -0.0212587025, 0.0134475995, 0.0070567871, -0.0063717733, -0.0399872847, 0.0203920864, 0.0027576666, -0.0092227682, -0.0743618459, 0.01178749, 0.0358738489, 0.009459788, -0.0203855876, -0.0261335243, 0.0065006902, -0.0124783516, -0.0077050678, -0.0562584065, -0.0064137313, 0.0098954383, -0.0138216093, -0.0233745649, -0.0157435723, 0.0561915971, 0.0228115376, 0.044798784, -0.058985576, 0.0196457282, -0.0315323845, -0.0010277089, 0.0828766748, 0.0111731756, -0.0210328512, 0.0005579492, -0.0368580408, 0.0119299628, -0.0191459153, -0.0211958177, 0.0362541564, 0.0247138087, 0.0450454578, 0.0598954819, -0.0564641766, 0.0121136792, -0.0179286785, -0.0497757979, -0.0507853143, -0.0335220508, 0.0142399017, -6.308281617e-33, 0.0128038637, -0.025630245, 0.0172717236, -0.0289394613, -0.0025681641, 0.011178324, 0.0313298032, 0.0311041661, -0.0225697383, -0.0869181231, 0.015868457, -0.03688794, -0.0370857269, -0.006239953, 0.0250725262, 0.0312693119, -0.0243563559, -0.0312714688, -0.0442224555, -0.0537600107, 0.0134940231, -0.0087617645, -0.030095011, 0.0417697802, -0.0608291477, 0.0314748809, -0.0406305417, 0.0165457446, -0.0061967303, 0.0637787282, -0.0019678932, 0.0528131612, -0.0065544085, 0.0076224753, -0.0134313535, -0.0258255992, 0.0292680319, -0.0370354317, -0.0141056264, 0.0018435629, -0.0020237523, -0.0425105244, 0.0398173369, 0.0406821705, -0.051691141, 0.038693022, 0.0133553771, 0.0135794347, 0.010717852, 0.0071149678, 0.0038717357, -0.001973253, -0.0153738093, -0.0379047319, 0.0221027359, -0.0274636187, -0.0096071027, 0.0549921617, 0.0361338444, 0.0781422406, -0.0604356937, 0.0049273507, 0.0546733402, 0.0336572118, 0.0238968413, 0.0198635664, -0.0152006522, 0.0135320537, 0.0385384522, -0.0543795973, 0.0521351472, 0.0587360747, 0.0159456898, 0.0071416521, -0.0194548257, -0.0010801622, -0.0746918395, 0.0322375074, -0.0468165018, -0.0148660298, 0.0820790827, 0.0521071665, 0.0474830456, 0.0004873092, -0.0425293408, -0.0293705575, -0.0541282818, 0.0159284603, 0.005514795, -0.0084387828, -0.0291114785, -0.0353322029, 0.0154157486, -0.0514162034, 0.0336463861, 0.0146802003, -0.1029480919, 0.0265193321, 0.0119383289, 0.0570723638, -0.0346161164, -0.104519926, 0.0065735802, -0.029991081, 0.0061178259, 0.0199014135, -0.0032867303, 0.024078859, -0.0567281693, -0.0144375768, -0.0207880195, -0.0146722309, 0.0055477605, 0.0216253083, 0.017362345, -0.0098994644, 0.014765596, -0.0082037859, 0.0880462453, -0.0126997437, -0.0378358848, 0.0271131657, 0.0244383477, -0.0111136632, 0.0018339161, 0.0308449287, 0.0019424687, -0.0385059603, -0.0054820618, -0.0078786863, -0.032575421, 0.0138457874, 3.181e-7, 0.0670400411, 0.0683326796, -0.059601441, 0.0167789627, 0.0195430778, 0.0260365084, -0.0115400068, 0.0043308064, -0.048058372, 0.0570377111, -0.0034359773, 0.022491945, 0.0016511003, -0.0266730953, -0.0348789282, 0.0464012623, 0.0103411209, 0.0356917605, -0.1074607521, -0.0204430316, 0.0209250562, 0.075457409, 0.0155915963, -0.0129095204, -0.0505340137, -0.0208660923, 0.0578750744, 0.0057727294, 0.0117129693, 0.0509239025, -0.0683152452, 0.0264479574, -0.0269272234, -0.0157278012, 0.0349518619, 0.076454632, 0.0277910102, 0.0826406181, 0.0270949695, -0.0332350098, 0.1053192094, 0.0537804104, -0.0394498929, -0.0555375963, 0.062591508, -0.0130832475, -0.0471812673, -0.0632000789, 0.0224256814, 0.0272917431, -0.0214597154, -0.0926551074, 0.0265909694, 0.0208217409, -0.0489641093, -0.0027595391, -0.0105775325, 0.0003579848, 0.0054405769, 0.0066537904, -0.0296176095, -0.0621334165, -0.0343536586, 0.0015134744, 0.067190811, -0.0339044966, 0.0050643301, 2.956449337e-34, -0.0034403154, -0.0092447903, -0.0147586707, 0.0500256792, 0.0033910456, 0.0178650413, -0.0704003498, 0.0347987078, -0.0205613561, -0.01013909, -0.0069220169 ]
http://arxiv.org/abs/2310.13028v1
http://arxiv.org/pdf/2310.13028v1
Reliable Academic Conference Question Answering: A Study Based on Large Language Model
2023-10-19T07:39:07
2023-10-19T07:39:07
Zhiwei Huang, Long Jin, Junjie Wang, Mingchen Tu, Yin Hua, Zhiqiang Liu, Jiawei Meng, Huajun Chen, Wen Zhang
cs.CL
cs.CL, cs.AI
The rapid growth of computer science has led to a proliferation of research presented at academic conferences, fostering global scholarly communication. Researchers consistently seek accurate, current information about these events at all stages. This data surge necessitates an intelligent question-answering system to efficiently address researchers' queries and ensure awareness of the latest advancements. The information of conferences is usually published on their official website, organized in a semi-structured way with a lot of text. To address this need, we have developed the ConferenceQA dataset for 7 diverse academic conferences with human annotations. Firstly, we employ a combination of manual and automated methods to organize academic conference data in a semi-structured JSON format. Subsequently, we annotate nearly 100 question-answer pairs for each conference. Each pair is classified into four different dimensions. To ensure the reliability of the data, we manually annotate the source of each answer. In light of recent advancements, Large Language Models (LLMs) have demonstrated impressive performance in various NLP tasks. They have demonstrated impressive capabilities in information-seeking question answering after instruction fine-tuning, and as such, we present our conference QA study based on LLM. Due to hallucination and outdated knowledge of LLMs, we adopt retrieval based methods to enhance LLMs' question-answering abilities. We have proposed a structure-aware retrieval method, specifically designed to leverage inherent structural information during the retrieval process. Empirical validation on the ConferenceQA dataset has demonstrated the effectiveness of this method. The dataset and code are readily accessible on https://github.com/zjukg/ConferenceQA.
[ 0.0734837279, 0.0609426647, -0.010215777, 0.0928200707, -0.0139669189, -0.0073834294, -0.0217664633, -0.0080577163, 0.0240960531, -0.0539308749, -0.0319449306, -0.0231506415, -0.0469798297, 0.0268900823, 0.0118350415, -0.0226014256, 0.0225572754, -0.0081767431, 0.0368655138, 0.0022180595, 0.0203129835, 0.0126979267, -0.0111100134, 0.0314377062, 0.0398094356, -0.0363500454, 0.0028381811, -0.0267201252, -0.0125953322, -0.0246600807, 0.0435815938, 0.0303662848, 0.0211611874, 0.0217566881, 0.0000017053, -0.0543620437, -0.0269551389, 0.0022932563, -0.0082182428, 0.0222306997, 0.0007878418, 0.0079128435, 0.0117338132, 0.0370134972, -0.0516167544, -0.0211393125, 0.0056602955, 0.037171863, 0.0542416722, 0.0513889529, -0.0039824601, -0.0478195474, 0.0407478213, 0.0109411338, -0.0089620939, -0.0358873084, 0.0609321371, 0.0432967208, 0.0166036952, 0.0780814514, 0.0485590249, 0.0246113557, -0.0220404677, -0.0260570534, 0.0260471329, -0.0111298664, -0.0812837183, -0.0077623208, 0.007025918, 0.0790379345, 0.074333325, -0.0120929703, 0.0322514586, 0.0106995627, -0.0215984881, 0.0421041362, -0.0726222768, 0.0230700206, 0.0009504532, -0.0175880492, -0.0017406726, 0.0174838528, -0.0022661756, 0.0278910883, 0.0015055652, 0.0620793216, 0.0137519166, -0.0438426249, -0.0483340546, 0.0146738514, -0.0228517018, -0.0555838346, 0.013542477, 0.0793294087, 0.0050861822, 0.0193838868, 0.048236303, -0.0294359755, 0.0367566347, -0.0743569806, -0.0342979506, -0.0059321211, -0.0028669657, 0.05914912, 0.0057223192, 0.0185693037, -0.0359332152, 0.0075890468, -0.0492527112, -0.0442029908, -0.0287708584, -0.0253700502, -0.0286551174, 0.0562019087, -0.0484518521, -0.0058471863, -0.0015437005, 0.0117898639, 0.0048612687, -0.0113205146, -0.0448303893, 0.0230580214, -0.0176006872, 0.0158124212, -0.0583913028, 0.0621993057, -0.0530351289, 0.006051369, -0.0208945908, -0.0289761648, 0.0047681974, 0.0389752239, 0.0243684109, -0.0108180558, 0.0211634021, 0.0418742821, 0.0057694735, -0.0156051805, -0.0004749204, -0.0408654064, 0.0012611663, -0.0413524099, 0.0135960812, -0.0423205383, 0.0465475395, 0.0313637964, -0.0565334484, -0.0230856054, 0.0143845445, 0.0586997643, -0.0334149152, 0.034720704, -0.0300426055, 0.0238835197, 0.0889716446, 0.0091236439, 0.0039371587, 0.0196481794, -0.0006099233, 0.0307602063, 0.0720451474, 0.0140250633, 0.024957601, 0.0096058045, 0.0346414782, 0.0083228545, 0.0113252727, 0.0865616053, -0.0075847115, -0.0001684814, -0.0143537186, 0.0692114085, -0.0265680179, -0.0083243437, 0.0028446577, 0.0439266264, -0.0236948784, 0.005749091, -0.013235026, 0.0196812544, 0.0378021076, -0.0179206636, 0.0248135217, 0.0225575138, -0.0216127615, 0.0061175348, 0.0824695528, 0.000443969, -0.006979858, -0.0518670306, -0.0377524234, 0.0253304113, -0.0176212881, 0.0476348884, 0.0330862217, -0.0055399868, -0.0267675519, 0.0335304551, 0.0282132719, -0.0239533111, -0.0069462354, -0.0240721442, 0.0608833805, 0.0201689471, 0.0343117975, -0.0263783913, -0.0253158882, -0.0080002313, 0.0302958563, 0.0427318439, 0.045254048, -0.0309473556, -0.0245671552, -0.0132848164, 0.0190541595, 0.0018191712, -0.0181426313, -0.0330083743, 0.0266925823, 0.0010450786, 0.0179795213, -0.0226995684, -0.0357707851, 0.029085055, -0.0174646322, -0.0132763544, -0.0170090832, -0.0314556845, 0.0271988176, 0.0276205726, -0.0094570946, 0.037187539, 0.064649187, -0.0526290238, -0.0206848737, -0.0343211479, -0.0116662057, -0.0278798118, 0.0582297035, -0.012494456, -0.0279712379, 0.03457845, -0.0192926135, -0.0348512307, 0.0248736739, -0.0242824983, 0.0185133182, -0.0369703434, -0.0403561555, 0.0102375075, 0.0095806997, -0.0602845848, 0.0609334931, 0.0303711351, 0.0446496867, 0.0488102399, -0.0135512231, 0.0417180546, -0.0386815965, -0.037028376, 0.0308317058, 0.0013899879, 0.017826397, 0.0872127116, -0.0376432873, -0.0477645881, -0.013664403, -0.0872792155, 0.0309744682, -0.0188418869, 0.015801359, 0.033507064, 0.0089141242, 0.0065394756, -0.0228253026, -0.0417970233, -0.0314803831, 0.0052596722, 0.0092625245, 0.0657233447, 0.0322433747, -0.0032438021, -0.0642443448, -0.0194287226, -0.0387068801, 0.0473622419, 0.0370465964, -0.0269639734, -0.0443860665, -0.0095792329, -0.0449548736, 0.0200699512, 0.0025108871, -0.0123791872, -0.0086186416, -0.0338713378, 0.007722165, 0.0663550794, 0.0266055577, -0.0080314623, 0.0139151467, 0.0026881131, -0.0524911135, 0.0180215929, -0.0227256324, -0.0097294729, -0.0197065286, -0.0161138102, 0.0352810435, 0.0312858298, 0.0106072119, 0.0010206505, -0.0247800853, 0.0003425223, -0.0135550648, 0.0370132476, -0.0341113545, -0.0273220073, -0.0021925999, 0.0607555769, 0.0172882546, 0.0084905876, 0.0390853211, -0.0331465155, -0.0053937398, -0.0652988553, -0.0175173618, -0.0924616009, 0.0550394356, -0.0107375719, 0.0218675546, -0.0233118217, -0.0044118748, -0.0285262056, -0.0219406225, -0.0035975529, -0.070398815, 0.0002297633, 0.0107290549, 0.0361745544, -0.0311698616, -0.0267989691, -0.0103593934, -0.0350411534, -0.0499471352, 0.011799993, 0.0038069454, -0.0003963729, -0.0465869382, -0.001530273, 0.0332782753, -0.0045190272, -0.0297087077, -0.0175288543, -0.0042484454, 0.0656541362, 0.0755689517, 0.0537291169, 0.0167676844, 0.0026148101, -0.0143148797, 0.0623308197, -0.0088008838, 0.0499151237, -0.034265887, -0.0585209467, 0.0349226594, -0.0571563765, 0.0095916037, -0.0076690866, 0.0524311662, -0.0571348928, -0.0028939489, 0.1032574475, 0.040262416, -0.045644585, -0.0408786945, -0.0560996458, 0.0294465441, 0.0253940821, 0.0707069561, -0.0881490037, -0.0176612586, -0.0218118187, 0.0431348197, -0.0120406803, -0.0133423954, 0.0205774717, -0.0781477243, 0.0271856859, -0.0284315292, -0.0008935484, -0.0445837975, -0.0522595234, 0.0126971295, -0.0105403261, 0.0113086179, 0.0395090133, -0.0255518164, -0.0047695455, 0.0356242172, -0.065680258, -0.0246619303, 0.0595304519, -0.0190054942, 0.0474066399, 0.0544706248, 0.0368084013, -0.0184416622, -0.0168233458, 0.0044695656, -0.0462275408, -0.0224720892, 0.0126737729, 0.0274226181, -0.014551484, -0.0084706089, -0.020314103, 0.0277653672, -0.0472465679, -0.0133148348, 0.0535778813, 0.0711206719, -0.0026946901, 0.0270093363, -0.0835201144, 0.0154412007, -0.0476238467, 0.1016269624, 0.0209146142, 0.0039643073, -0.0434654094, -0.0358337052, 0.0258499049, -0.011275393, -0.0253919736, 0.0052805636, 0.0379752144, 0.0368976519, -0.0777282938, -0.0459668525, 0.0489600375, -0.0105333338, -0.0303905196, 0.0459493399, 0.0039020015, 0.0153956544, -0.0676786751, 0.0358889103, -0.0475018956, 0.0032090808, -0.0366021954, -0.0121353706, 0.0522409491, -0.0081724934, -0.0512937158, 0.0225595124, -0.0526627339, -0.0447983146, -0.0457362495, 0.0022555727, 0.0139487684, 0.0350680314, -0.0179008469, -0.040651992, -0.0073676538, 0.0029676766, -0.0405074283, -0.0274995659, 0.014760714, 0.0103858151, -0.0265630726, 0.0038509022, -0.0649505258, 0.0201349873, -0.0414817072, 0.0714360252, -0.0418695919, -0.0589982271, 0.0419517383, 0.0703685805, 0.0126428828, 0.0386915319, -0.0131240217, 0.0049071177, 0.0186941326, -0.0208827965, -0.0233231634, -0.0104116751, -0.002881597, -0.0093328133, -0.0426641926, -0.0027925111, 0.0032378645, -0.0408826731, 0.0477973931, -0.0282163192, 0.0575604327, 0.008279616, -0.0128406277, 0.0098177269, -0.0277378857, -0.0352037698, -0.0114333574, -0.0061138016, 0.0595078394, -0.0196832456, 0.0111278994, 0.0395076945, -0.037846528, -0.0082896836, -0.0006158978, -0.0972067937, -0.0692533776, -0.0254667588, -0.0063995002, 0.0217705928, 0.0059348238, 0.0305339303, -0.0086538941, -0.0196854398, -0.0198203083, -0.0040190686, -0.0052626296, -0.017371932, 0.068472676, 0.0261967108, -0.0287080221, 0.0127847437, 0.0742360204, 0.0158892106, -0.0167653393, 0.0044487431, -0.018067006, -0.0245792512, -0.0004320013, -0.0081046075, 0.0241234321, -0.0117105898, -0.0038019123, -0.0230888613, -0.0361735523, 0.0390306637, -0.0376778506, -0.0246152263, -0.0388899669, 0.0034251283, 0.0748404711, 0.0588505566, -0.0253987256, -0.066431053, 0.0412593521, 0.0041708378, -0.0287010595, -0.0336364023, -6.374956392e-33, -0.0064685745, -0.0217382926, 0.0246927664, 0.0096238106, -0.0084198834, 0.0218847692, -0.0604802705, -0.0218156613, -0.0746359006, -0.0144274822, -0.0136401094, -0.0010823024, -0.0085125621, 0.0397042669, 0.0151409116, -0.0318206362, 0.0077316673, -0.0196659938, 0.0023935891, 0.0251363404, 0.0209318064, 0.0103416899, 0.0161115024, -0.0686481223, 0.0337827243, -0.0540638268, 0.0194276981, 0.0353748649, 0.0405531526, 0.0717385709, -0.03520035, 0.0165655557, 0.0251489524, -0.054930117, 0.035072621, 0.0238865372, -0.0749320239, -0.0256220158, -0.0122284517, -0.0094569419, -0.0508311577, -0.0119681414, 0.0406264476, -0.0188120659, 0.0306533519, 0.0030107095, 0.0527630337, -0.0254572779, -0.0171299372, -0.0472555347, -0.0316810943, 0.0230768155, -0.0426665433, 0.0189479236, -0.0038955037, 0.0460396782, -0.0015602035, 0.0714104399, -0.0302107427, 0.0190776885, -0.0048456318, 0.0214616396, 0.0069139749, -0.0098026097, 0.0137025155, 0.043661397, 0.0051142122, 0.0218495056, -0.0296274647, -0.0342600569, -0.0297399554, 0.0119895255, 0.0385585204, 0.050895907, 0.0086204326, 0.0214248337, -0.089107208, 0.0256223418, 0.0240165293, 0.0480755381, 0.0345253199, -0.0037834989, -0.0255686697, 0.0099006202, -0.0315005034, 0.0333268791, -0.0319798589, -0.0215040836, 0.0269261226, -0.0198938418, -0.0318363979, 0.0320512131, 0.042054709, -0.0738888383, -0.0427215695, 0.0584606342, -0.0282313637, 0.030108247, 0.0065050242, 0.0574633665, -0.0863566473, 0.0154759502, -0.0164368376, -0.0287633389, 0.002090927, 0.0262290724, -0.0139820455, -0.0264147185, -0.0360496305, -0.0104718423, -0.0093107717, -0.0083201341, -0.0625869557, -0.0160898827, -0.0087334672, 0.0778298602, -0.0015560342, 0.0606593303, 0.016604688, 0.0488999896, -0.0248178337, -0.003374191, 0.0300919563, 0.0206016656, -0.0140961641, 0.0046372223, -0.0128324442, 0.0442775004, -0.0295706932, -0.0600425974, 0.0089695873, 0.0032104691, 2.538e-7, 0.0882304758, 0.0622895695, -0.0068614557, 0.053633865, 0.0073324395, -0.0034817704, 0.0055834907, 0.0138365328, 0.0378951766, 0.0023133834, -0.0195977408, 0.025399873, 0.0105129201, 0.0413437374, -0.1032813117, -0.001447512, -0.1090783328, -0.0434412658, -0.0597502962, 0.0026234898, 0.0525400154, 0.0848195702, -0.0244993269, 0.0218067225, -0.0620897897, -0.0599502288, 0.0554890297, 0.0023103624, -0.0162326153, 0.0542850383, 0.0125325974, 0.0372394994, 0.027453104, -0.008750503, -0.0113149043, 0.0239519216, 0.019816814, 0.017154647, 0.0090943864, -0.0380988643, 0.0063493494, -0.026951611, 0.0437117219, -0.0461786352, 0.0745249093, -0.057436619, -0.0245169457, -0.006079786, -0.0806333348, 0.0200888999, -0.0037897518, 0.0051152534, -0.014901082, 0.0308676101, -0.0009617815, -0.0200271364, -0.0006569406, -0.0559398979, 0.0179340318, 0.0070480471, -0.0266283546, -0.0171569418, -0.020511983, -0.0559752397, -0.0190793034, -0.0226165745, 0.0237001479, 2.205441149e-34, 0.055011455, -0.0074412837, -0.0396447144, 0.0856187344, 0.051615648, -0.0211738851, -0.0161505751, 0.0085472148, 0.0047793742, -0.072773248, 0.0236700475 ]
http://arxiv.org/abs/2310.12537v2
http://arxiv.org/pdf/2310.12537v2
Product Attribute Value Extraction using Large Language Models
2023-10-19T07:39:00
2024-01-26T09:07:59
Alexander Brinkmann, Roee Shraga, Christian Bizer
cs.CL
cs.CL
E-commerce platforms rely on structured product descriptions, in the form of attribute/value pairs to enable features such as faceted product search and product comparison. However, vendors on these platforms often provide unstructured product descriptions consisting of a title and a textual description. To process such offers, e-commerce platforms must extract attribute/value pairs from the unstructured descriptions. State-of-the-art attribute/value extraction methods based on pre-trained language models (PLMs), such as BERT, face two drawbacks (i) the methods require significant amounts of task-specific training data and (ii) the fine-tuned models have problems to generalize to attribute values that were not part of the training data. We explore the potential of using large language models (LLMs) as a more training data-efficient and more robust alternative to existing attribute/value extraction methods. We propose different prompt templates for instructing LLMs about the target schema of the extraction, covering both zero-shot and few-shot scenarios. In the zero-shot scenario, textual and JSON-based approaches for representing information about the target attributes are compared. In the scenario with training data, we investigate (i) the provision of example attribute values, (ii) the selection of in-context demonstrations, (iii) shuffled ensembling to prevent position bias, and (iv) fine-tuning the LLM. The prompt templates are evaluated in combination with hosted LLMs, such as GPT-3.5 and GPT-4, and open-source LLMs based on Llama2 which can be run locally. The best average F1-score of 86% was reached by GPT-4 using an ensemble of shuffled prompts that combine attribute names, attribute descriptions, example values, and demonstrations. Given the same amount of training data, this prompt/model combination outperforms the best PLM baseline by an average of 6% F1.
[ 0.0317744426, 0.0274919011, -0.0043150312, 0.0387573689, -0.0276591145, -0.0006541959, 0.0211387817, -0.010613787, -0.0404314548, -0.1066018939, -0.0405338369, -0.0229933783, -0.0119755669, 0.0535004511, -0.0178820211, -0.0507376678, 0.0050379825, -0.0167262945, 0.0256827921, 0.0176464468, 0.0087055545, 0.007486253, -0.008066765, 0.0049981652, 0.02823033, -0.0348931439, -0.0284365956, -0.0167753398, 0.0286673158, -0.0531699471, 0.0157364774, 0.0285174511, 0.0029020959, -0.0208202284, 0.000002147, -0.0647067651, -0.0184432846, 0.0143833896, -0.0779907778, 0.0311284568, 0.0682184175, 0.0682715029, 0.0226821862, 0.0151809379, -0.0310794897, -0.0635468289, 0.0400068201, 0.0800018683, 0.0295949876, 0.0495613329, -0.0306564327, -0.0506088957, 0.0035392127, -0.0082143452, 0.0337601602, -0.0223716032, 0.0432553589, -0.0640531629, 0.0413661376, 0.0589289777, 0.02792692, 0.0130532645, -0.0149478819, 0.0349942446, -0.0086211795, 0.0640647486, -0.0644298568, 0.0111003201, -0.0379209481, 0.0852638632, -0.0123791024, 0.0395458676, -0.0071973982, -0.0307573117, 0.0105842957, -0.0236165896, -0.0247434974, 0.0358099826, -0.0075966665, -0.0099301841, -0.0388246812, 0.0187747404, -0.0008532338, 0.019678941, -0.022876462, 0.0699838474, 0.0089400299, -0.0487256832, -0.0036298449, -0.011069919, -0.0542348027, -0.0526678413, -0.0123952739, 0.0067522484, 0.031866841, 0.0268121846, -0.0113267936, -0.0373114347, 0.0100874985, -0.0321264863, 0.0532065257, -0.0215476621, -0.0674582049, 0.0605427884, -0.0482708104, 0.0599311069, 0.0351311043, -0.0002968279, -0.0549362563, 0.0323291123, -0.0447671562, -0.0334719457, -0.0262563396, 0.056538038, -0.0346768126, -0.0160470083, -0.0026597474, -0.0172643512, -0.0074877292, 0.029065745, -0.0224068929, -0.0131795509, 0.0071301772, -0.0132578136, -0.0381813645, 0.0019957013, -0.0079119718, 0.005486357, 0.0005277396, -0.0526848696, 0.015510764, 0.008746204, 0.0416769087, -0.0568819493, 0.0445121825, 0.0407061018, 0.0296670794, -0.0600495897, -0.0240593981, -0.0259788278, -0.002948062, -0.0193449073, 0.0058416054, -0.0514370427, 0.0470502228, 0.0091449609, -0.0135204447, -0.0223308709, 0.0160324555, 0.0139021296, -0.0116581377, 0.0939082876, -0.0019786051, -0.0030554866, 0.0109503688, -0.027868066, 0.0261397939, 0.0138873914, -0.0035701552, 0.0937060118, 0.0360524505, -0.0042470968, 0.0178249776, 0.0405400805, -0.0384733193, -0.0390134156, -0.0420030095, 0.0418540053, 0.0442853272, 0.0077006309, 0.0213469807, 0.0301003009, -0.0334301367, 0.0282652024, 0.111164391, 0.0550457314, -0.0064402008, -0.0227221772, 0.0113152526, 0.0507088639, 0.035268981, -0.0691985562, 0.0062319585, -0.0130298994, -0.0267818179, 0.0260284282, -0.0077889855, 0.0187583938, -0.0141736278, -0.0338642485, -0.0185657144, -0.0486984588, 0.0212987661, 0.0563457347, 0.034767203, -0.0314738601, -0.0482209176, 0.0386786647, 0.0210202206, -0.0328930244, -0.008018964, -0.0162917208, 0.0160969775, 0.115637213, 0.0370702296, -0.0251155999, -0.0431128591, -0.0107748555, -0.0016273096, 0.0231964048, 0.0131802242, -0.0413416103, -0.0083860802, -0.0373538695, -0.0380249023, -0.0672461316, -0.0053972118, 0.0139625072, -0.0093298536, 0.0063463408, 0.0225584563, -0.0163373463, -0.0163225289, 0.0197838172, 0.027783148, -0.0670450702, 0.033625301, 0.0126705617, -0.0072142682, 0.0242173336, -0.0102591058, 0.0029777929, 0.0186787527, -0.0344497785, -0.0109523889, 0.0059371153, 0.0050211269, -0.016562108, 0.0326775201, 0.0226053353, -0.0025746976, -0.0348629244, -0.0224074163, -0.0256578531, -0.0658101887, -0.0166082345, 0.0188906174, -0.0142063722, 0.0276155546, -0.0231309999, 0.0150148505, -0.0468500406, 0.0665287897, 0.0498795398, -0.0076921238, -0.0246992391, -0.0150037045, -0.0141608985, -0.0471445918, -0.0183883682, 0.0516588986, 0.0243263431, 0.0184113979, -0.0073072868, 0.0142486896, -0.0007905041, 0.0090734763, -0.0846994296, 0.0154029643, 0.0226567294, 0.0489674509, -0.0183782633, 0.0204402003, -0.0292801727, 0.0046872701, -0.0465763509, -0.0369336866, -0.0663191676, 0.0060977731, 0.0492486432, 0.0377549864, -0.0146993175, 0.0104929591, 0.0189734548, 0.0059042904, 0.0582993627, 0.02531147, 0.0068218564, -0.0640932545, -0.0015600414, -0.0069750389, 0.0143501926, 0.0351297557, 0.0119170025, -0.0553284734, -0.0153402109, 0.0269057415, 0.0639088973, 0.0114928344, -0.0109160906, 0.034371309, -0.0102490662, -0.0655030608, -0.0028454321, -0.0202253666, 0.0153934788, 0.0063180677, -0.0035849439, 0.0491871387, 0.0578164794, -0.0346496776, 0.0193378627, -0.0283231437, -0.0062123113, -0.0090238415, 0.0015241456, -0.0503948219, 0.0052205417, -0.0234965514, 0.046760682, -0.0109443273, -0.0296000745, 0.0723719075, -0.048550643, -0.0012636917, -0.0549057461, 0.0065428205, -0.0511785485, 0.0540753007, -0.0122281751, 0.0266561583, 0.0144424904, -0.0537232459, 0.0175415073, 0.0224520359, 0.0268078987, -0.0440197513, 0.0343311429, -0.025996957, 0.0223165993, -0.0464002006, -0.0539107583, -0.0215539243, -0.0719784647, 0.0035189246, 0.0101787727, -0.0109064961, 0.0030402669, -0.0558190569, 0.0315897651, 0.0144555504, 0.0504184291, -0.0031298036, -0.0034316878, 0.007510771, 0.0081045702, 0.0691891536, -0.0388476215, -0.0379172154, -0.0351981446, 0.011064237, 0.0159680694, 0.0111532062, -0.0112109948, -0.0150197018, -0.0036682012, 0.0250748675, -0.068018578, 0.0120809833, 0.033206623, -0.0258571953, -0.0373745188, 0.0288847238, 0.1080950424, 0.0158738643, -0.0420694612, -0.0001598702, 0.0445881635, -0.0416684598, -0.0062262774, 0.0375161916, -0.0994436443, -0.0133048212, -0.0059950324, 0.0338739976, 0.019146936, 0.0086979456, -0.0108033381, -0.1784225702, 0.0271748137, -0.0131408647, -0.0008194268, -0.0497306623, -0.0167684723, -0.0102239326, -0.0233811364, 0.0706151724, 0.0062358412, -0.0622237474, 0.0080148391, 0.019191578, 0.0074583506, -0.0767996162, 0.0603506379, -0.0209072884, -0.0119896904, 0.0802373961, -0.0158033334, -0.0467768274, -0.0277919378, -0.0077924225, 0.0041223937, -0.0273958631, 0.0123858778, 0.0221029483, -0.0414288603, -0.0105591696, 0.0385981016, 0.0120644569, 0.0186677985, -0.0114045069, 0.0205104202, 0.0463208482, 0.0179737806, -0.0052919844, 0.0068135187, -0.0847586766, -0.0204271805, 0.0699399039, -0.0002389767, -0.0858081281, -0.0309968349, -0.0192649383, -0.032671839, 0.0097404402, -0.0165275205, 0.0440280624, -0.025344139, -0.0175481159, -0.0713972375, -0.04226055, 0.0466431975, 0.0167058278, 0.0445675626, 0.0062477291, 0.0017164648, 0.0422456264, -0.0685323775, 0.0403357334, -0.0128851365, 0.0481069051, -0.0451898053, 0.024703268, 0.0471906997, -0.083964318, -0.030714659, -0.0399048813, -0.0046744267, -0.0467438586, -0.0246453267, 0.0286219157, 0.0128219072, 0.0533355363, -0.0123598138, -0.0632626861, 0.0062596416, 0.0727643669, -0.029002253, -0.0403947122, 0.0269110221, 0.0605734326, -0.0019056331, 0.004196492, -0.0391805805, 0.0425802171, 0.0096558519, 0.0324187838, 0.0550847948, -0.0409361906, 0.0469175614, 0.0573291294, 0.0367150567, 0.0096774232, 0.0125976484, -0.0286742225, 0.0407561809, -0.0026750981, -0.041011069, -0.0283441618, 0.0028061089, 0.0001914626, -0.004399444, 0.0010219452, 0.021664083, 0.0085414667, 0.0330897458, -0.0583191551, 0.0341535583, -0.0394349135, 0.0084420443, 0.0195632912, -0.0309628397, -0.0170693733, -0.0147919459, 0.009474542, 0.0258909911, -0.0319972411, 0.0355490893, 0.0234358422, -0.0251150448, -0.0429483093, 0.0640305504, 0.0423733741, -0.008504427, -0.0636458695, 0.0146051589, -0.0043052225, -0.0276619531, 0.0231161602, -0.0384322815, -0.0129347332, -0.0323027931, 0.006078958, 0.0005090105, -0.014707963, 0.0414169915, 0.0391188189, -0.0372639224, -0.0468410589, 0.0726259798, 0.027734654, 0.0571568199, -0.004829003, -0.0196014587, -0.0554094762, 0.0034357661, 0.0332737081, -0.0149018662, -0.055896502, -0.015348603, -0.0460849032, -0.0235648248, -0.0047466853, -0.0156043852, 0.0340745673, 0.0098977564, 0.0490753427, 0.0778875723, 0.0186147373, 0.0066498891, -0.0180575214, 0.0023873623, 0.0090693366, 0.0098231938, -0.0262567122, -6.094978984e-33, 0.0081469165, -0.0198564753, -0.0090164393, 0.026055567, 0.003517221, 0.0063680671, 0.0008558657, -0.0205729268, 0.0127815111, 0.0146771912, 0.0217995476, -0.0487964302, 0.02545394, 0.0343380719, 0.0391020142, -0.0282244384, 0.0257316064, 0.0162919275, -0.0333738588, 0.028143011, -0.0036988945, 0.0381472185, 0.083875306, -0.0426960588, 0.0239320565, -0.0182840824, -0.0073991604, 0.011249084, 0.0408765636, 0.060770236, -0.015286454, 0.0338261686, 0.0108325621, -0.0549655147, 0.0061209071, 0.0059517403, -0.0702169836, 0.014679281, 0.0191179775, 0.0179241952, 0.012545865, -0.0093962159, 0.0095907776, -0.0224409513, -0.0132694766, 0.0547405444, 0.0519391038, -0.0513288267, -0.0213469584, -0.0619634502, -0.0494780429, 0.0199222546, 0.0160786491, -0.0084278565, 0.1018181518, 0.0260244645, 0.0092663877, 0.0189849753, -0.009551785, 0.0360677987, 0.0297536682, -0.0081823524, 0.0531374626, 0.0325134993, 0.0216661114, 0.0627279282, 0.0034893025, 0.0100317113, 0.0168890655, 0.0451869182, -0.0145483324, 0.086629428, -0.0075024301, 0.0177701637, 0.0473726802, 0.0290824734, -0.0062432336, 0.0365336984, 0.035015922, -0.0079820389, 0.0075869593, 0.0036933848, -0.0521755591, -0.0229920987, -0.0011076878, 0.026070293, -0.0645012856, -0.0259999055, 0.0416685864, 0.0121243205, -0.0624332279, 0.0553188883, 0.0067441603, 0.0024542182, -0.0725086778, -0.0186129659, -0.0036049015, 0.0358378775, -0.0195221864, -0.0421001762, -0.0291865189, -0.0546177737, 0.0030534267, -0.023026567, -0.0001011541, 0.0123120341, 0.0362620763, 0.0097553739, -0.0485556982, 0.0153493825, 0.0018028741, -0.0255383868, -0.0293559525, 0.0181635134, 0.0559681952, 0.018411044, -0.0265361369, 0.0602495931, 0.0269196723, -0.0298274346, -0.0603584908, -0.0339611657, 0.0337711796, 0.0019707661, 0.0096191317, 0.021811692, -0.0033007627, -0.0354140289, 0.0085054617, -0.0355698541, 0.0017840451, 0.0203562528, 2.927e-7, 0.0175396018, 0.0691068918, -0.0183679871, 0.0115071796, 0.002308365, 0.0563000478, 0.0058719264, 0.025981186, -0.0042623975, -0.0178862084, 0.0204438213, -0.0042754319, 0.040186882, 0.0221092328, -0.0919235349, -0.0032145686, -0.0397296399, -0.0111029055, -0.1002318189, 0.0013918573, 0.0727441311, 0.0691081509, -0.0040207603, 0.0049026026, 0.0112227714, -0.0061392984, 0.054073669, -0.0300358143, 0.0127459615, 0.0154187903, -0.0039169546, 0.0188998897, -0.0437074751, -0.0053355438, -0.0101854969, 0.0251450539, 0.0437056571, 0.0630616248, 0.0152723426, -0.0014996487, -0.0128920348, -0.0557567999, -0.006881794, -0.04737949, 0.0707663819, -0.0565958992, -0.0368293487, -0.0258071031, -0.0607634187, -0.0196432434, -0.0280949026, -0.0341242589, 0.0095475288, 0.0227424167, 0.0004606823, -0.0484950058, -0.0303347968, -0.0584381409, -0.0211606752, 0.006339008, -0.019566346, -0.029565718, -0.0114210267, 0.0355770662, 0.0060306913, -0.065071471, 0.013912796, 2.864709809e-34, 0.0267361645, -0.0091591896, -0.0088010281, 0.0657792464, 0.0074280608, 0.013969061, 0.0328982249, -0.0181416459, -0.0166194476, -0.0772590786, -0.0146064311 ]
http://arxiv.org/abs/2310.12531v3
http://arxiv.org/pdf/2310.12531v3
ICU: Conquering Language Barriers in Vision-and-Language Modeling by Dividing the Tasks into Image Captioning and Language Understanding
2023-10-19T07:11:48
2024-02-05T10:28:43
Guojun Wu
cs.CL
cs.CL
Most multilingual vision-and-language (V&L) research aims to accomplish multilingual and multimodal capabilities within one model. However, the scarcity of multilingual captions for images has hindered the development. To overcome this obstacle, we propose ICU, Image Caption Understanding, which divides a V&L task into two stages: a V&L model performs image captioning in English, and a multilingual language model (mLM), in turn, takes the caption as the alt text and performs cross-lingual language understanding. The burden of multilingual processing is lifted off V&L model and placed on mLM. Since the multilingual text data is relatively of higher abundance and quality, ICU can facilitate the conquering of language barriers for V&L models. In experiments on two tasks across 9 languages in the IGLUE benchmark, we show that ICU can achieve new state-of-the-art results for five languages, and comparable results for the rest.
[ 0.032451123, 0.0572159104, 0.0111893835, 0.0980444923, -0.0235421285, 0.0336267427, 0.0314827748, -0.0222374965, 0.0235088021, -0.0668401942, -0.0561701283, -0.0660012886, 0.0145537499, 0.0328508914, 0.0205190219, -0.0963263512, 0.0219809506, -0.0643600225, -0.0287884306, -0.0171259996, 0.0261918139, 0.0251537897, 0.0207495708, 0.02103002, 0.0019442018, -0.0141617097, 0.0240668412, 0.0253188629, -0.0112327291, -0.0261504743, -0.0512518883, 0.0524203293, 0.0375089124, 0.0379133746, 0.0000018734, -0.0104205217, 0.0272328742, -0.000049643, 0.0262436736, -0.0444109291, 0.0616612583, -0.104330264, -0.0081884218, -0.0257536769, -0.0274433214, -0.0011520946, 0.0671473593, 0.0347883105, 0.0466119274, 0.0017987587, -0.0287015773, -0.0444653071, -0.0355387628, -0.0485164523, -0.020020619, -0.0200743936, -0.0052697309, 0.051101476, -0.0068850932, -0.0051685655, -0.0529275015, 0.0945806578, 0.0134283584, -0.0197065547, -0.0332831033, 0.0413631499, -0.0018731891, -0.0687173381, -0.0344375968, 0.0746247768, -0.0236871131, -0.0028736752, -0.0556115136, 0.0203641113, -0.0012337577, -0.0296489894, -0.0530002229, 0.0426296368, -0.0014701198, 0.011965828, -0.0085235843, 0.0082431184, 0.0284127109, 0.0000992498, -0.0012704964, -0.0127742877, 0.0151089374, 0.0394211896, -0.0100110676, 0.0202868618, -0.0372328237, -0.0449021384, 0.0190251023, 0.0001659957, -0.0100427745, 0.0116179185, -0.0446632989, -0.044500757, 0.0019905276, -0.0535929278, 0.0174210072, 0.0060308166, -0.0616920218, 0.0936247483, -0.0259949341, 0.064370349, -0.0123466561, 0.0307397377, -0.052569624, -0.0519734025, -0.0106634172, -0.0071021793, -0.0112611083, -0.0156901702, -0.0684726313, -0.0361554176, -0.0135698952, 0.0052760127, -0.0063912822, 0.0093283746, -0.0237788633, -0.0255974308, -0.028396707, -0.0115432581, -0.0089119282, 0.0341661796, 0.0020546622, -0.0076902946, -0.0582706444, -0.0562084317, 0.0080669457, 0.0597994998, 0.0030944115, -0.024343133, 0.0002757874, 0.0788739845, -0.059901759, -0.0183756743, -0.0007539754, -0.0051460457, -0.0290270094, -0.0613695234, 0.0084401323, -0.0707084388, 0.047389742, 0.0055129528, 0.026519917, -0.0369218849, 0.0106119178, -0.010291189, -0.0279220045, 0.1292966306, -0.0220346991, -0.0106344009, 0.0168500319, 0.0128331063, 0.0026674606, 0.0926243886, -0.0029868323, -0.0021279664, 0.0440308638, 0.0145045416, 0.0147259291, 0.0670888498, -0.005733931, 0.0149527518, -0.0370365679, -0.0111500202, 0.0104947956, -0.0033343988, 0.0531677566, 0.0474228114, -0.0010473932, 0.00034048, 0.0603750572, 0.0418911017, -0.0213649236, 0.0334157422, 0.037104696, 0.0046315705, -0.0097681656, 0.0094202207, -0.053112343, 0.0669984296, 0.0203448087, 0.0057318774, -0.0211686231, 0.046780929, -0.0460045524, -0.0298638884, 0.001315073, -0.0217896625, 0.0212736856, 0.0077643045, 0.0523037203, 0.0155483969, -0.0170684606, 0.0307746083, 0.0046542203, -0.0192378126, 0.0120670749, -0.0207149405, -0.0248449259, 0.0589868017, 0.0228555202, 0.0180089474, -0.0322135054, -0.008748767, 0.037708886, 0.0828489587, 0.0257662423, 0.0122060077, 0.0357019641, -0.043078538, -0.0265518837, -0.0033417048, -0.015641354, 0.0423676409, -0.0364305638, 0.0079669077, 0.0183018781, -0.0063309059, -0.0669705346, 0.0301524904, 0.0144708091, 0.0135503439, -0.0393862464, 0.0230093468, -0.0259475783, 0.0086398507, -0.0006065752, -0.0100042149, -0.0207707137, -0.0492348447, -0.0054084091, 0.0853227451, -0.0354224704, -0.0468985885, 0.0340331718, -0.069482781, -0.0167289618, -0.0103706773, -0.0131843714, -0.0401272997, 0.0154832592, -0.0233075935, -0.0138492454, -0.061353188, -0.0032147942, -0.0093578091, 0.0388751999, -0.0048734271, 0.0340769999, -0.0101743313, -0.0014100538, 0.0319315679, -0.0233825874, 0.0172804762, -0.018557772, -0.0593693517, 0.0423322171, 0.008772511, 0.0219085868, 0.0207020063, 0.0460583866, -0.015783282, 0.0032427153, -0.083596237, -0.0443388037, -0.0418892428, 0.0116304401, -0.0023488402, -0.0014104799, 0.0038618855, -0.0746801421, -0.0274057742, -0.0070701437, 0.022672927, 0.017267745, 0.0385358557, 0.0327795595, 0.0090928534, -0.020528296, 0.0120211234, 0.03732384, 0.0694420263, 0.0276312102, -0.068938151, -0.0473039933, -0.014828044, -0.0288984608, 0.0253340788, -0.01020189, -0.0142758675, -0.0076878015, 0.0052534975, 0.0297731776, 0.0221300144, -0.0286039282, 0.0103886547, 0.0275726542, -0.0220217556, -0.026381569, 0.0178275909, 0.0318026468, -0.0477144606, -0.0155228414, -0.0350788012, -0.0234098136, 0.078881681, -0.0449466221, 0.0159172881, -0.0616602041, 0.0105135459, -0.0400178283, -0.0483542308, -0.0736371279, 0.0407058932, 0.02516222, 0.0249149427, -0.0474410541, -0.0440166779, 0.0422546454, -0.0681810752, -0.0491150431, -0.0254981872, 0.0031385096, -0.0343501978, 0.0898386687, 0.0113516757, 0.0442263708, -0.0439121909, -0.0160823204, -0.0042102057, -0.0005044129, -0.0012647455, -0.0024215537, 0.0791882798, -0.0796396807, 0.0026563907, -0.0506310947, -0.0237058662, -0.0063193659, -0.0159199294, -0.0473660193, -0.0134991882, -0.0139704421, 0.006553622, -0.0164095163, 0.0538019165, 0.0554883033, 0.0279469006, 0.0126534496, 0.0053403843, -0.0051240604, 0.0054227845, 0.043634776, 0.0390187725, -0.0398696065, -0.0273474697, 0.0465695336, 0.0109577542, 0.0202538911, -0.0216950048, -0.0295809172, 0.0255341697, 0.0449403636, 0.0559969954, -0.0465512313, -0.0177122802, 0.0503660105, -0.0463941619, 0.0015395752, 0.0563872382, 0.0075937263, -0.0797914043, -0.0456620269, -0.0117945876, 0.0340476297, 0.0483436994, 0.0142009007, -0.0780967176, -0.0489846095, -0.02068769, -0.0358465873, 0.0424995422, 0.0250293668, -0.0476106741, -0.0628327876, 0.0279422272, 0.0136762802, -0.0595611185, -0.0748681128, 0.0160493497, -0.0241217278, 0.0120411962, 0.0012919619, -0.0377568156, 0.017277766, -0.0110427169, 0.0095174061, 0.0355030075, -0.0469494499, 0.0019520975, -0.0421765894, -0.0060398141, 0.0461942106, 0.0324228629, -0.0042435676, -0.0161241964, 0.0146454656, 0.0098738233, 0.0021800587, -0.0186957773, 0.0443867072, 0.0088435337, -0.0537480973, 0.0257819444, 0.0052645057, -0.0324597657, -0.0063879765, -0.0200960208, 0.0193715673, 0.0006257117, 0.0040490101, -0.0048431857, 0.0011697244, -0.0004878399, 0.0516462959, 0.0291087236, -0.0461211093, -0.0140014291, -0.0386805944, -0.0214172062, -0.0828912184, 0.0007454613, 0.027396163, 0.001723647, -0.0234086551, -0.0428380258, -0.0528425612, 0.0126043754, 0.0121719735, 0.026897179, 0.0140381102, -0.0166271403, 0.0090512512, -0.0287797172, 0.0450204834, -0.0516320691, 0.0134178642, -0.0271448065, 0.0060130944, 0.0454766527, -0.043499656, -0.0136072114, 0.0454416126, -0.0535924211, -0.0158168711, -0.0403539464, 0.0489266068, 0.0125516644, 0.0571212918, 0.0044117682, -0.0439606756, -0.0236404333, 0.0166197233, 0.0576420128, 0.0130915521, 0.0248023719, 0.0027868494, -0.0172594395, 0.0609351993, -0.0292614494, 0.0231840108, 0.0125797438, 0.019934563, -0.0225278772, -0.0442428067, -0.0081341108, 0.0103767645, -0.0058535556, -0.0476224683, 0.0193579532, -0.0356734619, 0.0126926387, -0.0057253903, -0.0174101423, -0.0638663918, 0.0077676298, 0.0251954123, -0.0008571156, 0.0042034024, -0.0072761583, 0.0197365843, -0.0230388418, 0.0042937598, 0.0299813468, 0.0351206921, -0.0199283846, 0.0017747064, 0.0341009423, -0.0073276442, 0.025628712, -0.006658467, 0.0268290229, -0.0285359994, 0.0520937182, 0.0181125402, -0.0381783955, -0.0128698712, 0.0501444563, 0.0372355357, -0.0072621461, -0.0143293189, 0.0369712412, 0.0859767571, 0.0055225613, 0.0589007512, -0.0136814108, -0.0067621614, 0.0007431817, 0.0521868169, 0.0124443034, -0.0614706837, 0.0682211071, -0.0134550538, -0.0059983758, 0.0036445807, 0.0764864534, -0.0007639042, 0.0008906585, 0.0079261092, -0.0001928583, -0.0377840661, -0.0145262433, -0.0031410388, -0.027548207, -0.0329149812, 0.0524793193, -0.0240845215, -0.0635452047, 0.0035237973, 0.0026238982, -0.0104265166, 0.0332749188, 0.0341752283, 0.0680097938, 0.0411246717, 0.0216126051, -0.0258647371, -0.0223545562, -0.0044693304, 0.0300822072, -0.0001206602, -5.548870023e-33, -0.0486590788, -0.0112692351, 0.0135331377, -0.009609431, 0.0172765534, 0.0137972916, -0.0515624173, 0.0249404572, -0.0207923129, 0.0133442087, 0.0357435457, -0.0215608887, 0.0218795128, 0.0486925952, 0.0225010924, -0.0099227624, 0.0297817942, 0.0105410954, 0.0155784218, -0.0024127339, 0.0126919998, 0.0185973532, 0.0725765824, -0.0302892607, 0.0329344235, 0.0002558416, -0.0030039051, 0.0252982918, 0.0441579185, 0.0553023741, -0.0484168455, 0.0364519879, 0.031816531, -0.0144815268, -0.0418836474, 0.012135148, -0.0646535829, 0.000184596, 0.0389456935, 0.0715573803, -0.0521979555, -0.0075651063, 0.033563219, -0.0330438763, 0.0046541197, -0.0096957833, 0.0414632596, -0.0305539295, 0.0194639638, 0.0198227186, -0.0573473535, 0.0190983955, -0.0006182245, -0.0126327593, 0.104968138, 0.0557835586, 0.0142616965, 0.036881566, -0.0443416759, 0.0033363861, -0.0311758574, 0.0198258124, 0.1300538033, 0.043085292, -0.022944985, 0.0368920602, 0.0024842781, -0.0104626175, -0.0024708407, 0.0140491743, 0.0453868136, 0.0176323, 0.0492009223, 0.0709058195, -0.001114322, 0.0284987167, -0.0156985484, 0.0080820732, -0.0573588833, 0.0212974083, 0.0136763994, 0.0176958889, 0.0097168293, 0.0121570872, -0.0579513535, -0.036944896, -0.0499511696, -0.0074035125, 0.0384731367, -0.007525743, -0.0132790357, 0.0455273651, 0.0875363722, -0.0181641243, -0.0348890759, -0.017749887, 0.0119903777, 0.0493973419, -0.0085220635, 0.0331723206, -0.0371313915, -0.0498294458, 0.0193955433, 0.0221264586, 0.0109761031, 0.0069044968, 0.058749903, 0.0021163314, -0.0329321474, -0.0071675507, -0.0526553988, 0.0019262115, -0.0222794916, 0.0561070219, 0.0268186778, -0.0057021603, -0.0755738243, 0.0172792953, -0.003009028, -0.0363331921, -0.0189326946, -0.038277097, -0.0255045425, 0.041537147, -0.0375868827, 0.0207771678, -0.0425034165, -0.0376507975, 0.0122690797, -0.0474511944, -0.0177113973, 0.05071133, 2.379e-7, 0.0468396284, 0.0196051858, 0.0218334347, 0.0041126111, 0.0320932381, 0.0451687351, -0.0568034314, 0.0012829868, -0.0282272305, -0.0136019066, -0.0056110658, 0.0293490216, 0.0598219186, -0.0144622792, -0.0345477201, 0.0296866726, -0.0171590224, 0.0283521395, -0.0296612456, -0.0177788381, 0.0282650236, 0.094965823, -0.055071298, -0.0125377346, 0.0054204301, -0.1061202586, 0.0840261206, -0.0440875441, -0.0010659375, -0.0035042828, 0.0122798234, 0.0655596033, -0.0385460407, 0.0432827137, -0.0117279533, -0.022740189, 0.0815241039, 0.0198357143, -0.0421403833, 0.0094968202, -0.0090462156, 0.0339221172, -0.04498671, -0.0576804392, 0.0467647761, -0.0287443828, -0.0046507479, -0.0305438191, 0.0191358346, 0.0015893421, 0.0318481065, -0.0441055261, -0.0411634594, 0.051678136, 0.0637241229, -0.0324981213, -0.0502539873, -0.0442139804, -0.0445027053, -0.0077344188, -0.0170577038, 0.0236221701, -0.0823473409, -0.0116190612, 0.0192922298, -0.0138441883, -0.0131192002, 1.54360121e-34, 0.0279579703, -0.0128369732, 0.001881131, 0.0367752016, 0.0136093888, -0.0358821936, -0.0392329656, 0.0182842053, -0.0299238712, -0.0358397663, 0.0022645881 ]
http://arxiv.org/abs/2310.12522v1
http://arxiv.org/pdf/2310.12522v1
Named Entity Recognition for Monitoring Plant Health Threats in Tweets: a ChouBERT Approach
2023-10-19T06:54:55
2023-10-19T06:54:55
Shufan Jiang, Rafael Angarita, Stéphane Cormier, Francis Rousseaux
cs.CL
cs.CL, cs.LG
An important application scenario of precision agriculture is detecting and measuring crop health threats using sensors and data analysis techniques. However, the textual data are still under-explored among the existing solutions due to the lack of labelled data and fine-grained semantic resources. Recent research suggests that the increasing connectivity of farmers and the emergence of online farming communities make social media like Twitter a participatory platform for detecting unfamiliar plant health events if we can extract essential information from unstructured textual data. ChouBERT is a French pre-trained language model that can identify Tweets concerning observations of plant health issues with generalizability on unseen natural hazards. This paper tackles the lack of labelled data by further studying ChouBERT's know-how on token-level annotation tasks over small labeled sets.
[ 0.0257148556, 0.0523436815, 0.0377788767, 0.0032308176, -0.0059714168, 0.0327963866, -0.0230874065, 0.0175948683, 0.0435062721, -0.0485858768, 0.0626686737, 0.0279190019, -0.0781777725, 0.037990097, 0.0040934482, -0.0166152269, 0.053621646, 0.0311715733, 0.0204990841, 0.0219337363, 0.0388917774, 0.0319304317, 0.0114321075, 0.0299069602, -0.0610997267, 0.0326202773, 0.0084996494, 0.0052346876, 0.0678540319, -0.0684451088, -0.0063781389, 0.0116839875, -0.0185994152, 0.0495084785, 0.0000016374, -0.0126615493, -0.0842066854, -0.0159540921, -0.0128311506, -0.0115494318, 0.0118499901, -0.026636444, 0.0150717832, 0.0061941002, -0.030555319, -0.0045671002, 0.065141961, 0.042058561, 0.0328438468, 0.0763296336, -0.0157514773, -0.0082702376, 0.0297217369, 0.0057128649, 0.0114773242, -0.0009460627, 0.0588267483, -0.0429873131, 0.0145766456, 0.064166829, -0.0020635005, 0.0513963588, -0.0015837392, 0.0114550432, 0.0006311876, 0.0502699055, -0.0766204521, -0.0118293269, -0.0063605504, 0.0512073003, -0.0149142621, -0.0072693676, 0.0322387069, -0.0256678294, -0.0364962593, -0.008033921, -0.0259677768, -0.0253365431, 0.01027105, 0.0254123397, 0.0518716276, 0.0382661894, 0.0033773258, 0.0114918612, -0.0098268799, 0.0510806888, -0.0267735999, -0.0361050665, 0.0064776773, 0.0133060748, -0.0067664906, -0.0525958091, 0.0255539268, 0.0363555662, -0.0113905063, 0.0134749357, -0.0073028668, -0.0425326489, 0.0160566363, -0.0725936815, -0.069072485, -0.0031527302, -0.0257125553, 0.032859765, 0.0313618295, -0.0435104445, 0.0173582491, 0.0556423329, 0.0481458455, -0.0191166513, -0.07276427, -0.0064464658, -0.0508883111, 0.0213980023, -0.0025529803, 0.0242301412, 0.0010682633, -0.016738344, 0.00138199, -0.0134038571, -0.0084797554, -0.0115875425, 0.0038151955, 0.0054870229, -0.0179063901, 0.0534583963, -0.0257744975, 0.0137240468, -0.0348949805, -0.0828650221, -0.0030656187, -0.0215298086, 0.0635827109, 0.0043138154, 0.0009933618, 0.0691587403, 0.0504118577, -0.0714654848, -0.0287036151, -0.0292213503, -0.0072940509, 0.0205741972, -0.0532660522, -0.0277201869, 0.0263066031, 0.0209950916, 0.036369171, -0.0246263351, 0.0184666198, 0.0128647871, -0.0812489539, 0.0647332445, -0.0634259507, 0.0027349633, 0.0235393792, 0.0137594957, 0.0356477089, 0.0564984344, 0.0105648721, 0.0702692494, 0.0221830737, 0.0126623968, 0.0328011364, 0.0218758434, 0.0173635501, -0.0120489039, 0.0098053506, -0.0002818264, -0.0191942528, -0.0358705334, -0.0613686554, 0.0424039215, 0.0177704953, 0.0329912789, 0.0517883934, 0.0602207705, -0.0328596272, -0.0387651697, 0.0395595618, 0.0604022592, -0.020207921, -0.0539463758, -0.0203331057, -0.0116946893, -0.0790193453, -0.0112511599, -0.004427908, -0.0154419402, -0.0173731837, -0.0234210342, -0.0334227048, 0.0109923966, -0.0095902123, -0.0269628055, 0.0526486337, -0.0225124452, 0.0138253272, 0.0051626679, 0.0469914228, -0.0384240039, 0.0275538489, 0.0124222813, 0.0181826502, 0.0260733292, 0.0003561419, -0.0718765855, 0.0067392355, 0.0005142447, 0.0338685103, 0.0246920493, 0.000835617, -0.0413146093, -0.0115479827, 0.0363021791, -0.0051147332, 0.0242599398, -0.0017324171, -0.0377693921, -0.0162864514, 0.0595687591, -0.0238297898, -0.0280020759, -0.0476232134, 0.0514431782, 0.0242709108, -0.0408632234, -0.0355737843, 0.0181874633, -0.025575649, 0.0719783902, 0.0178816132, 0.0039784336, 0.0356049836, -0.0328757428, -0.0409669913, 0.0313228592, 0.0323675014, 0.0273190644, 0.0113486145, -0.027693972, -0.0497411601, -0.0047402699, -0.0593360178, -0.0272045601, 0.0120843751, 0.0144298347, 0.018875638, -0.0295640603, 0.0025619268, -0.0005787413, -0.0061517661, -0.0304943901, 0.0333880708, -0.0267644431, -0.0015021281, -0.051294148, -0.0784005374, 0.0190511793, -0.0056657479, -0.0241212398, 0.0082512833, -0.0205787532, -0.0121763721, 0.0272381492, 0.0141402064, -0.0511717275, 0.0198719725, -0.0725733191, -0.0157208797, -0.0395916402, 0.0400048532, 0.030819647, 0.0426457562, -0.023401048, -0.0022673602, 0.0109852795, 0.0614350811, -0.0177450441, 0.0212986097, 0.0395029224, 0.0060143508, 0.0180415418, 0.0133645274, 0.0191781595, -0.066507861, 0.0436241217, 0.070329912, -0.1007013693, -0.0089735128, -0.0070191598, -0.0135308029, 0.0076514953, 0.0380315408, -0.006930518, -0.0322443508, 0.0047745723, -0.0104419347, -0.0043579163, -0.0110341618, 0.0781598687, -0.0197743494, 0.0156315845, -0.0106082661, 0.0158055052, -0.0552754365, -0.0035253237, -0.0101080136, -0.0232106298, 0.03808029, 0.0806770176, -0.0494191498, -0.0115024699, -0.0257396083, 0.0406302698, -0.0330675319, 0.0224148184, -0.0390296988, 0.0323285684, 0.0400245376, 0.0058902293, -0.0174356978, -0.024435183, 0.036536105, -0.0116837295, 0.038492661, -0.039887879, -0.0460532084, -0.0161899086, 0.0630420074, 0.0420691855, 0.0194627084, 0.0583576523, -0.0292048063, 0.0356128365, 0.0402408056, -0.0481774434, 0.0168208182, -0.0357725024, 0.0042230799, 0.0616874546, -0.0304117538, -0.0243522748, 0.0079130242, -0.0479289964, -0.095453538, 0.052937828, 0.0073702293, 0.0218805522, -0.0224079303, 0.051312685, -0.0154742682, -0.0107923159, 0.0323602036, -0.0240091085, -0.0030733801, 0.0180146024, -0.0179851018, -0.0525761582, -0.0100663174, 0.0029074603, 0.0123736365, 0.0246345829, 0.0015244238, -0.025579378, -0.0001104215, -0.0076263151, -0.0205553044, -0.0623490624, 0.0185459126, -0.0207115393, 0.0650287941, -0.0064408281, 0.0065459255, 0.1095594019, 0.018269496, 0.0445272177, 0.0296983682, 0.0108566936, -0.0159765705, 0.0215499792, -0.0000219286, -0.050147891, -0.0176243689, -0.026719233, -0.0178334992, -0.0113097336, -0.072331883, -0.0042006848, -0.0656760335, 0.0009182321, -0.0368649699, -0.0502894372, -0.0040399269, -0.0383417308, -0.0175965186, -0.0854596123, -0.0362756848, -0.0563343354, -0.0142019112, 0.0463194065, 0.0341494344, -0.0592665747, -0.0229107589, -0.0044197338, -0.0405277684, 0.0334785692, 0.0464988016, 0.0112069789, -0.0118455254, -0.0057328315, 0.0465085916, 0.0119411666, 0.0061023994, -0.02575339, 0.0468578562, -0.0455855355, -0.0341141932, 0.0333225317, -0.0044534109, -0.0418228395, -0.0393630974, 0.0027390432, 0.0655077547, 0.010539636, 0.0025375467, -0.005459948, -0.0099892402, 0.0634269938, 0.0340727456, 0.0389327556, -0.0354186222, -0.0543274246, -0.0197015312, -0.0159773398, -0.0295135155, -0.0231525488, 0.0008639125, -0.0408315286, -0.0974427462, -0.0362570323, -0.026493039, 0.096373111, 0.0057229893, -0.0190908741, -0.0176076982, 0.0771722123, -0.0240115244, -0.0720823482, 0.042578157, -0.0256855767, 0.002143912, -0.0323007703, -0.0260724351, 0.0805756822, 0.038438268, -0.027644299, -0.0035118421, -0.0979016647, -0.0613420345, -0.009435528, -0.0105098924, 0.0167309418, 0.0072368183, -0.0155507661, -0.0570064038, 0.0177084319, 0.0610127822, -0.0683808252, -0.0261309166, 0.013370268, 0.0085859196, 0.0167272575, 0.0440138504, -0.0012518582, 0.0535075441, 0.0656145439, 0.0485787503, -0.0654185787, 0.0534452088, 0.0130484123, 0.0206548944, 0.1035974845, 0.0308004133, -0.0458332412, -0.0534956418, -0.0241615176, 0.0142166205, -0.0226080958, 0.0002565959, 0.0160728153, -0.0227161329, 0.0392306298, -0.0496210158, 0.0299872309, -0.016065903, 0.0265081711, -0.0482603908, -0.0081601469, 0.0120116454, 0.0357962921, 0.002018369, -0.0089666145, 0.0259646941, -0.012763015, 0.0287061352, -0.0248286631, -0.0012495563, -0.0322267897, -0.002137416, 0.0167398155, 0.014551579, 0.0143062202, -0.0231530163, -0.0131975124, -0.051433228, 0.0642658547, 0.002376084, -0.0308870561, 0.014382151, -0.0234356243, -0.0306192059, -0.0050894823, 0.0131027848, -0.0076021501, -0.0477136858, 0.0372394621, -0.0364637151, -0.0610364638, -0.0108183995, 0.0430703536, 0.0069610872, 0.0308024026, 0.054242488, -0.0191411506, 0.0103662778, 0.0226180647, 0.0138935503, -0.0075230403, 0.0140030822, 0.049379997, -0.0247454848, -0.0277854763, 0.0565230548, -0.0130068138, -0.0173647832, 0.0561444499, -0.0036615906, -0.0074323094, 0.0200790521, 0.0470946357, -0.0218333136, -0.0090962546, -0.0388425589, -0.05767956, 0.0061187814, -6.346232453e-33, -0.0352491364, -0.0497678667, -0.0124185057, 0.0237283148, 0.025515113, 0.0560362488, 0.0137280943, 0.0035250685, 0.0226880908, 0.0218124464, 0.0239363629, 0.0072349007, 0.0122577781, 0.033766102, 0.0190213658, -0.0368378833, 0.0213268269, 0.0281334482, -0.0250659641, 0.0210797768, 0.0386958495, 0.0432503335, 0.0674674138, -0.1210296974, 0.0095906639, -0.0077163028, 0.0002104135, -0.0125803342, 0.0526745543, 0.0312034953, -0.0322281793, 0.0627145842, 0.0465536304, -0.0416739956, -0.0213121735, 0.0606988594, -0.1017177701, -0.06831301, -0.0444672294, -0.0069793793, -0.0265694018, -0.0131087834, -0.0019657721, 0.0004718593, 0.0042018495, 0.0349483378, 0.0266713314, -0.0153123224, 0.0162631348, -0.0558399595, -0.0239192862, 0.0320923664, -0.026263997, 0.0342078656, 0.0228523593, -0.0052200747, 0.0567740873, 0.0327956416, -0.0154737886, 0.0090817865, 0.0265621077, -0.0257092416, 0.0090724966, -0.0134768141, -0.0370558426, 0.0378433689, 0.0021743902, -0.0346678458, -0.0119852284, 0.0154123148, -0.0286328383, -0.0105922874, 0.0232183542, 0.0235617068, 0.0327612199, -0.0571844541, -0.0920234397, 0.0409455635, -0.0542469509, -0.0007907808, -0.0079089673, -0.0066214651, 0.0090810349, -0.0129679404, -0.009274859, -0.016959561, -0.0399854332, 0.0335719436, -0.0108598787, 0.0121250832, -0.0165272225, 0.0925455987, -0.0223263949, -0.0115023963, -0.0353646614, -0.0221304633, 0.012599308, 0.0265860092, -0.0238969885, 0.0378772318, -0.0769477636, -0.0529324636, 0.0059493049, 0.050213851, -0.0009100683, -0.0041297767, 0.0620298795, 0.0158281028, -0.0608742908, -0.0066573005, 0.011394389, 0.0198172331, -0.030852614, -0.0105428873, 0.0268362127, -0.0044889706, 0.0310756452, 0.0587094016, 0.0580927171, -0.0135013796, 0.030052511, 0.0149592562, -0.0054686116, -0.0241986811, 0.0103710685, 0.0043427381, 0.0031854284, -0.0223685745, -0.0251066796, -0.0314735435, 0.0128289647, -0.0381157473, 2.57e-7, 0.0976220891, 0.0391657613, 0.0200620759, -0.045651976, -0.00600809, -0.0087718051, 0.027216522, 0.0538970605, -0.0674089417, -0.0133376997, 0.0346171297, -0.0347976945, -0.015307175, 0.0231841188, -0.0472747833, -0.0121728694, -0.0808728859, -0.0055255271, -0.0943161398, 0.0439600535, 0.0479658954, 0.0327045098, 0.0031497658, 0.0304502808, -0.0365378149, -0.0131400395, 0.050602261, -0.0436306745, 0.04092554, 0.032718841, 0.0100572426, 0.047040876, 0.0012857941, 0.0374705046, -0.0165065061, 0.0034126085, 0.0212165024, 0.0089288792, -0.0193199106, -0.0001653811, -0.00069651, -0.0628081486, 0.0276158955, -0.023146132, 0.0627553836, -0.068161808, -0.0700026229, 0.0279405881, 0.0442633443, 0.0185865145, 0.0234293696, -0.0208207257, -0.0153713115, 0.007787426, 0.0058296137, -0.0124858506, -0.0148890307, -0.0931750089, 0.0447948016, -0.0101657845, 0.014257296, -0.0466170125, 0.0179354679, -0.0313510671, -0.0095789097, -0.0262503047, 0.0113708479, 1.962522257e-34, -0.0046669403, 0.0267198347, -0.0506098978, 0.0064265775, -0.024692215, 0.0304844212, 0.0164889004, -0.0156970322, -0.0207471903, -0.0243357047, -0.004912456 ]
http://arxiv.org/abs/2310.13025v1
http://arxiv.org/pdf/2310.13025v1
Powerset multi-class cross entropy loss for neural speaker diarization
2023-10-19T06:51:43
2023-10-19T06:51:43
Alexis Plaquet, Hervé Bredin
cs.SD
cs.SD, cs.AI, cs.CL, cs.NE, eess.AS
Since its introduction in 2019, the whole end-to-end neural diarization (EEND) line of work has been addressing speaker diarization as a frame-wise multi-label classification problem with permutation-invariant training. Despite EEND showing great promise, a few recent works took a step back and studied the possible combination of (local) supervised EEND diarization with (global) unsupervised clustering. Yet, these hybrid contributions did not question the original multi-label formulation. We propose to switch from multi-label (where any two speakers can be active at the same time) to powerset multi-class classification (where dedicated classes are assigned to pairs of overlapping speakers). Through extensive experiments on 9 different benchmarks, we show that this formulation leads to significantly better performance (mostly on overlapping speech) and robustness to domain mismatch, while eliminating the detection threshold hyperparameter, critical for the multi-label formulation.
[ -0.05375918, 0.0297726877, 0.0173402131, 0.0359529331, 0.0092278151, 0.0115757091, 0.0488990173, -0.0110938642, 0.0111291846, 0.0170130599, -0.0255119819, -0.0381626114, 0.0135417581, -0.0577967465, 0.0244975258, -0.0829127952, 0.0456188805, 0.0199096985, -0.0206417963, -0.0095287049, 0.0086942762, -0.0181965139, -0.0445115343, 0.0160498749, -0.055642385, 0.0117904944, 0.0019879411, 0.0135853477, 0.0606928542, 0.0095647294, 0.0293944012, 0.0604633018, 0.0041675125, 0.0468740724, 0.0000019818, -0.0338894576, -0.0095448205, -0.0255593732, 0.0118939662, 0.0328200608, -0.0121882502, 0.0116643803, 0.020237634, 0.0109087825, -0.0099657858, -0.0619034208, 0.0282651279, 0.0506417714, 0.0418981463, 0.0037541536, -0.0004120283, -0.068977274, 0.0237337891, -0.0311737973, -0.003920693, -0.0632931963, 0.005185463, -0.0496925823, -0.0846584141, -0.0771340951, 0.0271493718, 0.0306764841, 0.0131086353, -0.0017849843, 0.0058064051, 0.0247087851, 0.0086278785, -0.0082268156, 0.0120567437, 0.0614668764, 0.0218516197, 0.0400139764, 0.0384072512, 0.0217683576, 0.0019867618, -0.0485786423, 0.018026771, -0.0088832136, 0.0140371639, -0.0407797396, -0.0797859207, 0.0619918667, 0.0476813614, -0.027654428, 0.0073886476, 0.0119129578, -0.0184652433, -0.0229535513, -0.0210824944, -0.0160035156, -0.0351003073, 0.0246254541, 0.0303985979, -0.0160280559, 0.010263578, -0.0133284694, -0.0003938813, -0.0242244788, -0.0443808846, -0.0082738996, -0.0280196704, -0.0094236461, 0.0073794499, 0.0091523258, 0.017207941, -0.0115274061, -0.0174992196, 0.053796798, -0.0129585396, -0.0038544959, -0.061970558, 0.0096886819, -0.050801076, 0.0101947552, 0.1161097139, 0.0217519552, -0.0560765415, -0.0265616439, -0.0619309284, -0.029338982, -0.008830064, -0.005055537, 0.0040987474, -0.0334063768, 0.02071709, 0.0736728683, -0.0227057189, 0.0300219152, -0.0182671957, 0.009019468, -0.002475189, 0.0624879189, -0.017291531, 0.0227789022, -0.007842442, 0.0489851981, -0.0108764153, -0.0334896706, -0.0517563149, -0.0211025514, -0.0475220308, -0.0313646086, 0.0019273784, -0.0619283505, 0.0732652918, -0.011786758, 0.0084011452, -0.0490861163, -0.0223650374, -0.0444632545, 0.0494717211, 0.0548150353, 0.0246526618, 0.0174260754, 0.0939702988, 0.0324023925, 0.0158403292, 0.061498791, 0.0458091684, -0.0419091657, 0.0187151898, -0.0407488011, -0.0320763513, 0.0565675534, -0.0144347828, -0.0062470273, -0.0282940771, -0.0639546663, 0.0517733991, 0.0388815291, 0.0285497773, -0.0262486134, -0.0742598921, -0.030754758, -0.0082654469, -0.0001454498, 0.0115591194, -0.0137329269, 0.0149599388, -0.0272044409, -0.0098510636, 0.0237253178, 0.0178014375, -0.0348968096, -0.0045706159, -0.0669084862, 0.093872346, -0.0274767615, -0.039182134, -0.036470592, 0.0600161664, -0.0558220968, 0.0001285706, 0.0039147274, 0.0191670377, -0.0066899932, 0.0515016057, 0.1467555016, 0.0202310979, -0.0556981266, 0.0250045676, -0.0009514328, -0.0697011575, 0.0041069095, -0.0404680893, -0.0525339097, 0.0578673035, -0.0207808949, 0.0288962945, -0.0114713274, 0.0306086671, -0.0117736543, 0.0499854051, -0.0477841273, -0.0325067043, 0.0243803859, -0.0036386556, 0.0314869843, -0.027009448, 0.0043063196, 0.0321705006, -0.0165680703, 0.0309620816, -0.0105959885, -0.0119809834, -0.0035088416, 0.0307647735, 0.028890945, 0.0260829832, 0.0355027094, -0.0217407737, -0.0148939788, -0.0087792892, -0.0445369892, -0.0113789216, -0.0496609919, -0.0383795798, -0.0137013039, 0.0514880456, -0.0057443338, -0.0309840217, 0.030589737, -0.0304754823, -0.0515376925, 0.0513498373, 0.0019666774, 0.0042692809, -0.0259366613, -0.0011926111, -0.0307059065, 0.0313147157, -0.0415803045, 0.034566544, 0.0353659205, 0.0244229883, -0.0410206914, -0.0078614755, 0.0416380055, -0.0383764543, -0.0168064926, 0.0235293992, 0.0121160299, 0.0413859561, -0.0168994237, -0.0227700695, 0.0000872743, -0.0415707789, -0.0423598327, -0.0137168821, -0.0230868272, 0.0052147405, -0.0034260058, 0.0212524328, 0.0185501222, -0.0282197036, 0.0093766283, -0.0204540137, -0.0406925976, -0.0131801208, -0.0042602434, 0.0013937496, -0.0469466038, 0.0489955246, -0.0179556645, -0.0123402579, 0.0329044983, -0.031299267, -0.0382330008, -0.0275209527, 0.0062598763, 0.0193748381, -0.0013494521, -0.0075909658, 0.0311739761, -0.0329254195, 0.0051768227, -0.0091597596, 0.0405761823, 0.0382804647, -0.035439685, 0.0095054675, 0.0212546531, -0.0037002321, 0.0093038045, -0.0063454346, 0.0315392129, -0.0408046953, 0.0114508504, -0.0064405827, 0.0421993695, 0.0044067889, 0.0385983847, -0.007366308, -0.0644848645, -0.0031132915, -0.0292823203, -0.0271667838, -0.0272845645, -0.008480655, -0.0038227378, -0.0219684951, 0.0124197183, 0.0268402752, -0.0664455146, -0.008660092, -0.0329842381, -0.0662697479, -0.0257811509, -0.0111709889, 0.0264182817, 0.0463714413, -0.0039702272, -0.0208098926, -0.0532774925, -0.0460002907, 0.0106023503, -0.0021276814, 0.0220419858, 0.0333430767, -0.0020234927, -0.0372628458, -0.0337875187, 0.0073338868, 0.0064854017, 0.0039553284, -0.0030073489, -0.0170164499, -0.0202199817, -0.0654514953, 0.0272087604, 0.048136875, 0.0064528184, 0.0122973705, 0.0128900167, 0.0110280458, 0.1088288799, -0.050660722, 0.0284578074, -0.0328646526, -0.0244422052, -0.0109174121, 0.0218582284, 0.0182239152, 0.0338892862, -0.0207730569, -0.007877999, 0.0237707682, 0.0080330595, -0.0486257337, -0.024465384, 0.0189287961, 0.0143682444, 0.0186568517, 0.1125368923, 0.026253162, -0.1116952747, -0.0297383573, 0.003792868, 0.0060099582, -0.01856024, -0.0137842102, -0.0028303256, -0.0312192831, 0.0179660823, 0.0199724752, 0.0419099443, 0.0096554523, 0.0181621872, -0.0489315875, 0.0021433102, 0.0315336026, -0.0382957309, -0.0237332247, -0.035361141, -0.0326891728, 0.0081650568, 0.0413362123, -0.0355620906, 0.0462414287, -0.0589400753, 0.0775148422, -0.067924507, -0.0047812299, 0.0107894614, -0.0214060191, 0.0228676405, 0.0234937873, 0.0148414848, -0.0118169198, -0.0558293276, 0.0268709771, -0.0594938025, -0.0413489826, 0.010159486, 0.042864792, 0.0093744798, -0.0052528363, 0.0451027043, -0.0231233016, 0.0013077775, -0.0174882915, 0.0374981388, 0.0199977588, 0.0148947379, 0.0038240219, 0.0113812108, 0.038918186, 0.0121310949, 0.0197467934, 0.0220276415, 0.0002209874, -0.0084733674, 0.0298022162, 0.0707010478, 0.0002970824, -0.0257616397, 0.0236950088, 0.0044432194, -0.1074003205, 0.0339589305, 0.0059677125, -0.0270106234, 0.0257841032, -0.0212161038, -0.0093863541, -0.0292334892, 0.0282409936, -0.0255360566, 0.0228072107, -0.023220636, 0.0479097404, -0.0673606992, -0.0342420228, 0.0654974878, 0.0083018495, -0.0256684721, 0.0391477011, -0.0114466315, -0.049996525, 0.0110916141, -0.0729402378, 0.0061933566, 0.0577895641, -0.029991081, -0.0679925382, 0.080351159, 0.0432492755, -0.0005939998, 0.0384716392, 0.0696579963, -0.0074286447, -0.0356771946, 0.0473365001, -0.0235954318, 0.0634942949, 0.0001589094, -0.0439131148, -0.0755424723, -0.0550601631, -0.0538397655, 0.00319911, 0.0724859461, 0.0171715301, -0.006094222, 0.0137571469, 0.0093965046, 0.0177922882, -0.0002618083, 0.0221646391, -0.0390932001, 0.0407931469, -0.0018443277, 0.002905139, 0.0621892586, 0.024461979, -0.0583701693, 0.0268635135, 0.0131477006, 0.0259254351, 0.0433718152, -0.0178771857, 0.0296695437, -0.0070742816, 0.0080031026, 0.052584175, -0.0079869572, -0.0131554939, -0.0068139196, -0.0066699111, 0.0291002467, -0.0270472486, 0.0439031534, -0.040214289, 0.0107636061, 0.0006668425, -0.0104806563, -0.0247424636, 0.0348840207, 0.0252139904, 0.0255783778, -0.0157250818, -0.0013491595, -0.0092337467, -0.030415073, -0.0321398824, 0.0402547829, -0.0020709068, 0.0086561237, 0.0388947129, 0.0778892115, -0.0108558713, 0.0369345024, -0.0219003111, 0.0221402086, -0.0288396422, -0.0321216732, 0.0261442252, 0.0213159006, -0.0094792172, -0.0416976176, 0.0172503162, -0.0353465527, 0.018378824, -0.0583505109, 0.0145994127, 0.0733355731, 0.0132054854, 0.0150937727, -0.0164510049, -0.0000033243, 0.0287371688, -0.035418015, 0.041006133, -0.024672905, 0.0158380475, -5.887163338e-33, -0.054267019, 0.0191243235, -0.0457513519, 0.0141854929, -0.0048814402, -0.0204979088, -0.0017416019, 0.0450322926, 0.000358118, -0.0226339493, 0.0117994314, 0.0249490682, 0.0241123978, 0.0264903568, -0.0050097252, -0.0371370539, 0.061263632, -0.0302961413, 0.0061868266, 0.0538605601, 0.0447939709, -0.0182611328, 0.0143217929, -0.0840514824, -0.0584728532, -0.0077118338, -0.021485975, 0.0242902711, -0.0326875038, 0.0038661652, -0.0391091518, 0.0699979812, 0.0185433384, -0.0116027342, 0.0081590349, 0.0331513733, -0.0582653433, -0.0177367702, -0.1152672395, 0.052060876, -0.0030179564, -0.0433519408, 0.0511034429, 0.0318761505, -0.0088463696, -0.034905456, 0.0665395334, 0.0163895376, -0.0193227213, -0.0261782445, 0.0652436763, 0.0335901156, -0.0127439918, -0.0094291894, 0.0145262349, 0.0094279414, -0.0082035167, 0.0108276801, -0.1041209698, 0.0238412023, -0.0212654434, 0.0244696662, 0.0131696351, 0.0608591698, -0.0244083796, 0.0235980749, 0.1065263152, -0.0134888086, 0.0702209771, -0.0353609286, 0.0164394211, 0.0173367243, 0.0102377953, 0.0296360943, -0.0066225617, -0.057792116, -0.0516580641, 0.0226475708, -0.0073315324, -0.0392015949, -0.0090646595, 0.011440902, -0.0174025167, -0.0389620699, -0.0079937307, -0.0595655367, -0.0120071797, 0.0003285476, -0.002078926, 0.008836451, -0.0161820799, -0.0343340673, -0.0093329754, -0.0200566221, -0.0457788892, 0.0113456324, 0.0143028488, 0.065574944, 0.0132359238, -0.0379486494, 0.0365857407, -0.0867506862, 0.0600089133, 0.0424870327, 0.0273213033, -0.0520229377, 0.0385358445, 0.0203379896, -0.0213519465, -0.0071270061, 0.0323071778, 0.0136713507, -0.0058259433, 0.0084564313, 0.0022336738, -0.0188024007, 0.0092587229, 0.0099976482, 0.0491502285, -0.0168498773, 0.0387722701, 0.0332292542, 0.0184784885, 0.0479891151, -0.0081042275, -0.0039616581, 0.0162183587, -0.0561887473, 0.0815250725, -0.0339955389, -0.0086857844, -0.0837144703, 2.861e-7, -0.0113279931, -0.0108402791, 0.0168362577, -0.0910840482, 0.0517944023, 0.0632772297, 0.0006060883, 0.0438447744, -0.0309291687, 0.0088047562, 0.0178763624, 0.0052464795, 0.0438662879, 0.0223121587, -0.0721931532, -0.0370659977, -0.0097306082, 0.0813726857, -0.0319588967, 0.0404999144, 0.0114433626, 0.0588101633, 0.0192474704, -0.0307688285, 0.0031817609, -0.0624951087, 0.0151863089, -0.0223480016, 0.0280835852, 0.0176273789, 0.0135645093, -0.0292052981, 0.0311324019, 0.0864372849, 0.015784923, 0.0188374277, 0.0383344702, 0.0080968514, -0.0036172415, -0.0604332685, -0.0478872284, 0.0631567463, -0.00145432, 0.0136079267, 0.0513555035, -0.0376291759, -0.0551796518, 0.0382248424, -0.0552776493, 0.0016156075, 0.0451124273, 0.0398109928, -0.0263138097, 0.0196298957, -0.0273460113, -0.03728313, -0.0168662574, -0.0665989667, 0.0054679299, 0.0280714072, -0.0730549395, -0.0145373195, 0.0366487615, -0.0245409403, 0.0289322883, 0.0154126538, 0.0344684236, 2.087641922e-34, -0.0095889699, 0.0185046047, 0.0109595712, -0.064868331, -0.0135024106, -0.056193918, -0.0609061532, -0.0368073657, 0.0060075866, -0.0237025451, 0.0243392624 ]
http://arxiv.org/abs/2310.12520v1
http://arxiv.org/pdf/2310.12520v1
Lost in Translation: When GPT-4V(ision) Can't See Eye to Eye with Text. A Vision-Language-Consistency Analysis of VLLMs and Beyond
2023-10-19T06:45:11
2023-10-19T06:45:11
Xiang Zhang, Senyu Li, Zijun Wu, Ning Shi
cs.CL
cs.CL, cs.CV
Recent advancements in multimodal techniques open exciting possibilities for models excelling in diverse tasks involving text, audio, and image processing. Models like GPT-4V, blending computer vision and language modeling, excel in complex text and image tasks. Numerous prior research endeavors have diligently examined the performance of these Vision Large Language Models (VLLMs) across tasks like object detection, image captioning and others. However, these analyses often focus on evaluating the performance of each modality in isolation, lacking insights into their cross-modal interactions. Specifically, questions concerning whether these vision-language models execute vision and language tasks consistently or independently have remained unanswered. In this study, we draw inspiration from recent investigations into multilingualism and conduct a comprehensive analysis of model's cross-modal interactions. We introduce a systematic framework that quantifies the capability disparities between different modalities in the multi-modal setting and provide a set of datasets designed for these evaluations. Our findings reveal that models like GPT-4V tend to perform consistently modalities when the tasks are relatively simple. However, the trustworthiness of results derived from the vision modality diminishes as the tasks become more challenging. Expanding on our findings, we introduce "Vision Description Prompting," a method that effectively improves performance in challenging vision-related tasks.
[ 0.0207428001, 0.0657436028, -0.0100623518, 0.0766613632, -0.0389496684, 0.0171231423, 0.0235942341, -0.0024741304, -0.009574851, -0.0840475187, -0.0618610084, -0.0728913322, 0.044150345, 0.0387307703, 0.0239598248, -0.0556529872, 0.0163789187, -0.0554151461, -0.033596646, 0.0032199027, 0.0288968682, 0.0143141951, 0.0032340665, 0.0407150127, -0.0010033383, -0.0081453649, 0.0031986407, 0.0284801461, 0.018027002, -0.0200305041, -0.0416766889, 0.0429426059, 0.026876526, 0.0490646362, 0.0000017487, -0.0272413548, 0.0469788797, 0.0102146007, 0.0478193983, 0.0017037604, 0.0563939884, -0.091808036, -0.0174729563, -0.0110268863, -0.0224161241, -0.0362181775, 0.0872045234, 0.0433845334, 0.0239447877, 0.0275294073, -0.0315138735, -0.0085529527, 0.0207727924, -0.0224952977, 0.0131022725, -0.0160059966, 0.0055563273, 0.0091301845, -0.0092300437, 0.0324167833, -0.0314486139, 0.0560263805, 0.0213012677, -0.0182566624, -0.0251043178, 0.047258351, -0.0022106513, -0.0577096529, -0.0432867035, 0.0561060943, 0.0128224296, 0.0018276279, -0.0243366286, 0.006131852, -0.0168188345, 0.0042314623, -0.0310708582, 0.048944287, -0.0113561647, 0.00311738, -0.0493483096, -0.0001113007, 0.0186957624, 0.0127347885, -0.0023828365, -0.0127221663, 0.0315409116, 0.014820274, -0.0041332049, 0.026606407, -0.0383465253, -0.0583687834, 0.0041755019, -0.0002831435, 0.012600068, -0.0059051546, -0.0489404649, -0.0136600146, 0.0052451515, -0.0258530583, 0.0530506, 0.0264606103, -0.0778278038, 0.0524748974, -0.0200403165, 0.0697868913, -0.038046822, 0.0338918827, -0.0263200011, -0.0167443175, -0.0342676975, -0.0100520933, -0.0005838158, -0.0318031833, -0.0448077731, -0.0610923581, -0.0311899111, 0.0222956799, 0.0095126163, 0.0033255133, -0.0121404687, -0.0105382716, -0.0402547903, -0.0113339443, -0.0189800002, 0.0590943694, 0.0350904949, 0.008761364, -0.0265497696, -0.07733877, 0.008885595, 0.0519987121, -0.0089330692, -0.0306137186, -0.0263424776, 0.0890743509, -0.0358008258, -0.0427314639, 0.0115672741, 0.0003457197, -0.0540333614, -0.0784874558, 0.0175635237, -0.0512956381, 0.0112461848, 0.0146401478, 0.0153856585, 0.0109258834, 0.0048640664, 0.0079147145, 0.0075230831, 0.1208167598, 0.0052210451, -0.0007936049, 0.0052483361, 0.0118199922, 0.0290570389, 0.0676278397, 0.0309245121, 0.0091766147, 0.028422296, -0.0045629032, 0.0172315612, 0.0673608705, -0.0448078401, 0.0157989338, -0.0586860999, -0.0284185447, 0.0140035562, 0.0020597288, 0.039536003, 0.0763272718, -0.0073784795, 0.0017983357, 0.12900424, 0.0414183438, -0.0051048142, -0.0126133105, 0.0289603006, 0.0051348438, -0.0037181342, 0.0247472581, -0.0595501848, 0.0462113358, -0.0007275341, 0.0125160357, -0.0147009166, 0.0396244749, -0.0194845349, -0.0315312259, -0.0347315259, -0.0208253358, 0.025794914, 0.0147435227, 0.0674438924, -0.009206689, -0.0250565112, -0.016058201, -0.0174289104, -0.0395469703, -0.0132298637, -0.0596290529, 0.0069389655, 0.052569095, 0.0288941991, 0.0183697138, -0.0001672767, 0.0049660318, 0.0401280709, 0.0955626145, 0.0404063091, 0.0310688596, 0.0304656308, -0.0455333292, -0.0354885794, 0.0062663993, 0.0038442782, 0.0273359902, -0.0132906036, 0.0113954945, 0.0270985924, -0.0325493924, -0.0202267803, 0.031787768, 0.0487371571, 0.01811851, -0.0335989818, 0.0054764999, -0.0109354565, 0.0003068692, -0.0345359258, 0.0042913919, 0.0085970666, -0.0218442008, 0.024988139, 0.0596537478, -0.0379362069, -0.0038526207, 0.0359647274, -0.0372800641, 0.0165360197, 0.0330973342, 0.006997569, -0.0383537002, 0.0083215246, -0.0537538603, -0.0053576194, -0.0687710866, 0.0045511173, -0.0096456371, 0.0344589949, -0.002253901, 0.0308808386, -0.0003550625, -0.0065701758, 0.0220124237, -0.0042223022, 0.0104012284, -0.0088684848, -0.053740181, 0.058589384, 0.0302078482, 0.0329036899, 0.0182263423, -0.0041503785, -0.012293675, -0.0208706576, -0.1123630553, -0.0341544151, -0.0315186158, -0.0020115625, 0.012791004, -0.0095256511, 0.0034978001, -0.0311829038, -0.0314310826, 0.0288966708, 0.0360762998, 0.0323197953, 0.0326786786, 0.0045774356, -0.0064183748, -0.0038300499, -0.006404114, 0.0081329541, 0.0446923338, 0.0180472955, -0.0442034714, -0.0737332404, 0.025325615, -0.0266933572, 0.0312470272, -0.0251948889, -0.033219099, 0.0281275716, -0.0009147602, 0.0409538969, 0.0602798797, -0.0015246419, 0.0248721261, 0.04369618, -0.0190945305, -0.0121103348, -0.008288986, 0.0301818829, -0.0586570092, -0.0200018156, -0.0216768105, -0.0336010344, 0.0562429093, -0.0071993689, 0.0221356135, -0.0440501608, 0.0021856765, -0.0417522639, -0.0515277386, -0.0304253977, 0.0052790763, -0.0231880844, 0.0566092506, -0.0261188056, -0.0942201242, 0.0257232264, -0.0716772154, -0.0424311012, 0.0074802251, 0.0010523801, -0.0173076745, 0.1011574864, 0.0264713746, 0.0165920127, 0.0019318623, -0.0201758444, -0.0441063941, -0.019851869, 0.0101215513, -0.0096340999, 0.0856150165, -0.0670982376, 0.0078248121, -0.0476891026, -0.014222946, 0.0010565273, -0.0036655958, -0.0356475972, -0.0073151379, -0.0286244564, -0.0277477782, -0.0181687195, 0.0511867329, 0.0572977662, 0.0416927822, -0.0183066912, -0.0123429345, -0.0208368395, 0.009988023, 0.0414885171, 0.0370480791, -0.019566793, -0.0644815341, 0.0014091028, 0.0381419472, 0.0197856296, 0.0047751549, -0.0721863955, 0.0081429025, 0.0406579673, 0.0590659454, -0.0477512442, 0.02004431, 0.0756751224, -0.0603831746, 0.0071923928, 0.0679133311, -0.0124833565, -0.0638440475, -0.0359111987, 0.0189477894, 0.0277353935, 0.031992387, -0.0103305504, -0.0874217227, -0.0477574877, -0.0086660972, -0.0142606134, 0.020879766, 0.0334253423, -0.0440836027, -0.0780403465, 0.0620168522, 0.0111504616, -0.0371371992, -0.0396723039, 0.018533621, 0.0007812745, -0.002718139, 0.0236429796, -0.0224582106, -0.0172329973, -0.0255127437, 0.008185192, 0.0283893812, -0.0575316846, 0.0001438622, -0.0357588902, -0.0208475757, 0.0817025229, 0.0101976022, -0.0300581157, -0.0684088245, 0.0398038477, -0.016351711, 0.0167818386, 0.0126620969, 0.0417257696, -0.024774095, -0.041815944, 0.001291633, 0.0018507695, -0.0079086311, -0.0261781141, -0.016269017, 0.0077168527, -0.0202267319, -0.0075134798, -0.0113602821, 0.0112099266, -0.0152526731, 0.0421387553, 0.0235540643, -0.0429141931, -0.0422370546, -0.0012545636, 0.0042361901, -0.0306164213, -0.0263120532, 0.006514133, 0.0143614933, -0.0249619856, -0.0469931513, -0.0430912524, 0.0113045918, 0.035678681, 0.0116811302, -0.0002782008, -0.0128995553, 0.0236962326, -0.0342927277, 0.0664454326, -0.0124423876, 0.043344412, -0.0490740761, 0.014980915, 0.0205340721, -0.0685349181, -0.0009631033, 0.0328558385, -0.0845913887, -0.0446971841, -0.0463601761, 0.010884203, 0.0248391908, 0.0404844508, 0.0007086247, -0.054160364, 0.0040151081, 0.0202152524, 0.0099565992, 0.0520660281, 0.0259578228, -0.0148943979, -0.0276474133, 0.030578021, -0.0184422005, 0.0195189938, 0.0220614504, 0.0030095964, 0.0119050927, -0.0373510458, 0.0034630429, -0.0008974817, 0.056851387, -0.0423920415, 0.0219945144, -0.0319135934, -0.0087134773, -0.0051341192, -0.0112478044, -0.0832787529, 0.0139825316, 0.0234622117, 0.0360571444, -0.0060928273, 0.0115016392, 0.0035036448, -0.0015155302, -0.0302985758, 0.0225496348, 0.0027108293, -0.0280076824, 0.0077917911, 0.0278713796, -0.016673822, 0.0233603995, -0.034375675, 0.017687412, 0.0012893643, 0.0749543607, 0.0144094983, -0.0399458557, 0.0091481656, 0.0582284965, -0.0280515384, -0.0135059636, -0.0226472579, 0.0394624844, 0.058161281, -0.0140701225, 0.0716855675, -0.0363292769, 0.0009601249, -0.0398760773, 0.0514685921, 0.0223898813, -0.0139641287, 0.0557109565, 0.0120714651, -0.0105799772, -0.0087784417, 0.0575296991, -0.0039814725, 0.0126442201, -0.0065073636, -0.0157637019, -0.024175195, -0.0337296128, 0.0364533104, -0.003264626, -0.0261374544, 0.0071696471, -0.0310483426, -0.0642599687, 0.006878213, 0.0049857381, -0.0030164488, -0.0106312027, 0.0320734493, 0.0831578448, 0.0127329351, -0.0044721114, -0.0151391337, -0.0643239319, 0.0053044893, 0.0389749371, 0.0128008006, -5.467909318e-33, -0.0338562913, -0.0256294254, 0.0056802831, -0.0249766, -0.0234835204, 0.0383290946, -0.0370621309, 0.028464362, 0.0057808729, 0.0155868977, 0.0283113401, -0.0019984357, 0.0256119594, 0.0387714654, 0.013696136, 0.0082622552, 0.031484846, -0.0055413991, -0.0203969665, -0.0172551498, 0.0240923706, -0.0173200034, 0.0810504407, -0.0461720303, 0.0415788107, 0.0196929052, -0.0314945541, 0.0021021748, -0.0036066128, 0.0940291137, -0.051813405, 0.05409633, 0.0386638306, -0.010478735, -0.0289412774, 0.055378288, -0.02555269, 0.0198868774, 0.0414555557, 0.0605107062, -0.079677552, 0.0097420709, 0.0391787291, -0.0546177551, -0.0298778582, -0.02834641, 0.0467857867, -0.0371777564, -0.0019090474, 0.0212917291, -0.0813324898, 0.0234048218, 0.0296999589, -0.023430001, 0.0528550968, 0.0380578339, 0.004028975, 0.0301664583, -0.0294340812, 0.0190383755, -0.0110394927, 0.0331547149, 0.0999624878, 0.0610781349, -0.0100753531, 0.0617597029, 0.0286437459, -0.0444773063, -0.0247044712, -0.0326782353, 0.0430233739, 0.0255967528, 0.0575735383, 0.0841097534, -0.0070549995, 0.0246448591, -0.0179915745, -0.0115389144, -0.0453039296, 0.0374470167, 0.0375348777, 0.0041747657, -0.0280379858, 0.0032167989, -0.0349215493, -0.0179919135, -0.0533468686, -0.0101115704, 0.0569860712, 0.0239907485, 0.004077578, 0.0451150648, 0.08210475, -0.0194943715, -0.0195424873, -0.0111911688, -0.0432469361, 0.0623202957, -0.0032834026, 0.0120005505, -0.0295951869, -0.0160725284, 0.0429054573, 0.0260989964, 0.001183659, -0.0009941176, 0.01564564, 0.0171256978, -0.0693076774, -0.0030272941, -0.0508162789, -0.0039198082, -0.0066958205, 0.041268453, 0.0598031431, -0.0320891626, -0.0680549443, 0.0274718981, -0.0326298028, -0.0339853428, -0.0520124137, -0.0279316884, -0.0252629649, 0.0331874751, -0.0293622334, 0.0210188404, -0.0195583217, -0.0354540721, 0.0408494398, -0.0193601623, -0.0287530869, 0.034510117, 2.423e-7, 0.0317826942, 0.0120299421, 0.0122734234, 0.0004378805, 0.0255885571, 0.058154583, -0.0506779216, 0.0288907867, -0.0210559554, -0.0285906307, -0.0156328902, 0.0308925901, 0.0727126226, -0.003628772, -0.010624663, 0.0234479532, -0.0292296819, 0.0144565329, -0.0483692959, 0.0072342148, 0.058544971, 0.0734166279, -0.0485532656, -0.0180771276, 0.0196516439, -0.092328392, 0.085216023, -0.0460172296, -0.0051013846, -0.0421287157, 0.0094907191, 0.0461402759, -0.0286215525, 0.0519343838, 0.0081699183, -0.038466949, 0.0568906851, 0.0368838385, -0.0228959415, 0.0079009281, -0.0182034355, 0.0310440976, -0.0321857296, -0.0696279183, 0.0712248608, -0.0435865447, -0.0198979024, -0.0362705626, 0.0109839281, -0.0360827148, 0.0205845553, -0.0279797874, -0.0348055772, 0.0303065889, 0.0346202664, -0.0142970458, -0.0556933507, -0.0459383912, -0.0204382278, -0.013616656, -0.0334671959, -0.049653586, -0.0770372897, -0.0061545502, 0.0418691412, -0.0426665731, -0.0431928299, 2.063253858e-34, 0.0149066104, -0.0232067835, 0.0119225727, -0.0064628208, 0.0048543247, -0.0010353674, -0.0074214018, 0.0059771244, -0.0286688339, -0.0506160296, -0.0124863563 ]
http://arxiv.org/abs/2310.12516v2
http://arxiv.org/pdf/2310.12516v2
ReEval: Automatic Hallucination Evaluation for Retrieval-Augmented Large Language Models via Transferable Adversarial Attacks
2023-10-19T06:37:32
2024-05-31T23:46:24
Xiaodong Yu, Hao Cheng, Xiaodong Liu, Dan Roth, Jianfeng Gao
cs.CL
cs.CL, cs.AI, cs.LG
Despite remarkable advancements in mitigating hallucinations in large language models (LLMs) by retrieval augmentation, it remains challenging to measure the reliability of LLMs using static question-answering (QA) data. Specifically, given the potential of data contamination (e.g., leading to memorization), good static benchmark performance does not ensure that model can reliably use the provided evidence for responding, which is essential to avoid hallucination when the required knowledge is new or private. Inspired by adversarial machine learning, we investigate the feasibility of automatically perturbing existing static one for dynamic evaluation. Specifically, this paper presents ReEval, an LLM-based framework using prompt chaining to perturb the original evidence for generating new test cases for evaluating the LLMs' reliability in using new evidence for answering. We implement ReEval using ChatGPT and evaluate the resulting variants of two popular open-domain QA datasets on a collection of LLMs under various prompting settings. Our generated data is human-readable and useful to trigger hallucination in LLM. Accurate models on static data are observed to produce unsupported answers from the perturbed evidence, with pronounced accuracy drops across LLMs including GPT-4. We find that our adversarial examples are transferable across all considered LLMs. The examples generated by a small model can be used to evaluate a much larger model, making our approach cost-effective.
[ 0.0147050377, 0.0773183033, -0.0188628398, 0.040114671, -0.0476219766, -0.0010587546, -0.0342941992, 0.0097894529, 0.0473073125, -0.0363002382, -0.0269961506, -0.0416724831, -0.0181428939, -0.0043269964, 0.0393839367, -0.0223469734, 0.0603249893, -0.0423821434, -0.0327841714, -0.0257776342, -0.0146748293, -0.0146722002, 0.004136018, 0.0177779943, 0.0194061548, -0.0328515805, -0.0190259181, -0.0201746393, 0.0191795416, -0.0024486557, 0.0249143858, 0.0686265603, 0.0049791862, 0.0957974195, 0.0000020982, -0.0441903509, -0.0385064892, 0.0021404065, -0.0343232118, 0.0225029998, 0.005693926, 0.0226175711, 0.0069096461, 0.0134072341, -0.0430041812, -0.0112285754, 0.0105041666, 0.0446247421, 0.092338644, 0.079746291, 0.0096655786, -0.0165898241, 0.0664153099, -0.0205726698, 0.0488655046, -0.0522253029, 0.0404167101, 0.02733819, -0.0036929713, 0.0234461259, -0.0088779004, 0.0458994992, 0.0493189543, 0.018217938, -0.0312805735, 0.0114876311, -0.0802982673, 0.0142001985, -0.0048540826, 0.0837735012, 0.0036930172, -0.0520803854, -0.011763854, 0.0228231587, 0.0360316969, 0.0205914341, -0.0608966276, -0.0111223776, -0.0146047231, -0.013622147, -0.0008043284, -0.0273030102, 0.0631051064, 0.0216803197, -0.0158686079, 0.0579003021, 0.0352589488, -0.0371502265, 0.0140078329, -0.0111999689, -0.010732159, -0.0298441816, 0.0072707869, 0.0228280723, -0.0340682454, 0.013562304, -0.0433064848, -0.0233500339, 0.0589433573, -0.0176353808, 0.0031940448, -0.0016666075, -0.0567930676, 0.0486370139, -0.0303804483, 0.0451362245, -0.0345371179, 0.0888439417, -0.0200758036, -0.0112829125, -0.047086481, -0.0406743437, -0.0182645228, 0.0200085193, 0.0073758154, 0.0147241242, -0.0166448317, 0.0095452257, -0.0408573225, 0.0193160977, -0.048260279, 0.0283855628, -0.0160841011, -0.0128646391, -0.0105391266, -0.0107422099, -0.0319572948, -0.008149473, 0.0407560393, -0.1100218669, -0.0448988937, 0.0001572165, -0.0203776676, -0.0143982358, 0.013705276, 0.07015118, 0.0007214471, -0.028509846, 0.0037256056, -0.0427733697, -0.0173913818, -0.0629655942, 0.0216646269, -0.0456224792, 0.0112359002, -0.0320089646, -0.0179717857, -0.0467489213, -0.0019810386, 0.0411015674, -0.0230355971, 0.0738043562, 0.0367569812, -0.0302397683, 0.0246854778, 0.0402468368, -0.0426622927, 0.0450466909, -0.0151699753, 0.0584404133, 0.0527189896, -0.0195010137, 0.0580066703, 0.0234907232, 0.0524477772, 0.0279003959, -0.0074733803, 0.0340854265, 0.04215746, 0.0095160902, -0.0326483287, 0.0681268051, -0.0272151381, -0.0651843771, 0.0734978691, 0.0112979468, -0.0236824304, 0.0253342614, -0.0043798056, -0.0087867137, 0.0184840802, 0.0352949128, -0.0850980133, 0.009645368, -0.0768197179, -0.0197207648, 0.0469353013, -0.0075857295, -0.0201265533, -0.0389433689, 0.0260617696, 0.0076484983, 0.0109333023, 0.0484635495, 0.012101233, 0.039487876, -0.0478701144, 0.0317614973, 0.0111422287, -0.0348075293, -0.0125348028, -0.0841796026, 0.0265188832, 0.0165296383, 0.0809939951, -0.0534713864, 0.010893506, -0.0231700279, 0.0330307819, 0.0091758315, 0.0455827117, 0.0108753443, 0.0222098883, -0.0318122543, -0.0025338519, -0.035011597, 0.0253814124, 0.037765488, 0.0201505888, -0.004964435, 0.007718876, -0.0359237976, -0.0272333324, 0.0362662338, -0.0098633701, -0.0654439181, -0.0031768822, -0.0094181728, 0.0191812161, -0.0096205687, -0.0032044628, 0.0369018354, 0.0467488915, -0.0031823069, -0.0395740159, -0.0197788477, -0.0257738624, -0.0166770443, 0.0189886075, -0.0020113923, -0.022467453, 0.0388630666, -0.0445789769, -0.0206260551, 0.0073299161, -0.0419008955, 0.0094704637, -0.0455869213, 0.0060135592, -0.0170014985, 0.0584385507, -0.0364377424, 0.0679168627, -0.0203567147, -0.0026741477, 0.0178796835, 0.0229244474, -0.0176138878, -0.0459497571, -0.0374865048, 0.005400999, -0.0165208671, 0.0234762952, 0.0195006412, -0.0344903432, -0.0588785782, -0.0119373137, -0.0513465255, 0.0191726759, -0.0372862592, 0.0154531766, 0.0177296326, -0.0129775088, -0.0081555871, -0.0168587938, -0.036392536, 0.0010575709, 0.0193374623, 0.0504967123, -0.0069755209, 0.0093375947, -0.00596222, -0.0224986468, -0.010567016, 0.0005952527, 0.0427881479, -0.0232008714, 0.0055947774, -0.0536413491, 0.0076156612, -0.0235689152, 0.0345799439, -0.0230103843, -0.0151227321, 0.0293219034, -0.0151759181, 0.0055371402, 0.0977573916, 0.0225811023, 0.0116241351, 0.0496152118, 0.0091786589, -0.0518955179, -0.0054049883, 0.0071908957, -0.0555574931, -0.0016163406, -0.023358129, 0.0029169242, 0.0019797543, 0.027077619, -0.0068512131, -0.0397912785, 0.048545707, -0.006984957, -0.0582594983, -0.0393352732, -0.0110302214, -0.0345359035, 0.0170134492, -0.0257768407, -0.0774741098, 0.0876720473, -0.0291426238, -0.0000565888, -0.0125681423, -0.0078652399, 0.0005168078, 0.0543150641, 0.0161387008, -0.0020733553, -0.0040748459, -0.0077225715, -0.0609021746, -0.0375184193, -0.0028789034, -0.0731165707, 0.0112263318, -0.0197263546, -0.0076976563, 0.0225560535, -0.0177373737, -0.0878978297, -0.0366723202, 0.0010373219, 0.0018045501, -0.0479854494, 0.0176954735, -0.0417114459, -0.0400156602, 0.0165239815, 0.0152197005, -0.0312538072, -0.0046566967, -0.0199598242, 0.0276322886, 0.0729125813, 0.0103343548, 0.0132410508, -0.0254498348, 0.0254660007, 0.0988593474, 0.0425628237, 0.0264800806, -0.0152341165, -0.02981993, 4.737e-7, -0.0153213181, 0.0103198588, 0.0013977913, 0.0219214316, -0.0708201006, -0.0218063053, 0.0652316734, 0.0142837157, -0.0402896963, -0.0061383215, -0.0291035473, 0.0419980884, -0.0090213297, 0.0243976433, -0.0935234278, -0.0217001047, 0.0118082846, 0.0453918912, -0.0304360688, -0.0310623255, 0.0040477985, -0.1338781863, 0.0037048876, -0.0074287467, -0.0207238272, -0.0094034122, -0.0397606418, 0.005012108, 0.0009661764, 0.0598493852, 0.0008459713, 0.0265699457, -0.0098962607, -0.0021595031, -0.0044705519, -0.0197458901, 0.0575949773, -0.0119399531, 0.0460467078, 0.0853990018, 0.0207721796, -0.0137787918, -0.0814837292, 0.036200203, -0.0244703032, -0.01165142, 0.024578061, 0.0728198439, 0.0140824215, 0.0050744019, 0.0002193141, 0.0510236137, 0.0023916964, -0.0139865624, 0.0387237892, 0.0599882156, -0.0269689355, -0.0161471926, -0.0257839672, 0.0113078831, 0.0233124271, 0.0769881308, 0.0133889345, -0.0240792725, -0.026552435, -0.0434938706, 0.0289896019, -0.0216093305, -0.0584290139, 0.0488167703, 0.0409911238, 0.0220519807, -0.065436013, -0.0386150293, -0.0072448915, 0.0221439674, -0.0036532383, 0.0358825475, -0.0689501464, 0.0159667656, -0.0180707555, 0.0447061174, -0.0627791137, 0.0159043204, -0.0377652235, -0.0001099143, 0.0139777986, -0.0229624938, -0.019974865, 0.0221151356, -0.0676193684, -0.0673506856, 0.0293715093, 0.0707950369, 0.0218412019, 0.0525100864, -0.0334815606, -0.0413951203, 0.0695559457, 0.0292905364, -0.0067950161, 0.0023622394, 0.0516482629, -0.0167918373, -0.0058793244, 0.0339170434, -0.0382486209, -0.0092568137, 0.0292769093, 0.0092741763, 0.0004331267, 0.0139634516, 0.0400328226, 0.0239609666, 0.0441989377, 0.0115966061, -0.0249461345, 0.0215591453, 0.0070143314, -0.0058369613, -0.0030178884, -0.0070215994, 0.0203239843, 0.0492152721, -0.0425079875, 0.0242019482, -0.0349199213, -0.0046129259, 0.0061477106, -0.0452685282, -0.0070405528, 0.0261624064, 0.0224587582, 0.0222942922, -0.0017918739, -0.0273323525, 0.0218684226, 0.008016468, 0.0842660144, -0.0026548763, 0.0525720939, 0.0151481172, -0.0287461672, -0.0030974767, 0.0335583501, -0.0958352908, -0.0783279911, -0.0151869971, 0.0526030958, 0.0003156412, 0.0135732852, 0.0115581751, -0.0225795396, -0.0070444779, -0.0226172302, -0.0192280803, 0.0305510368, -0.0345827863, 0.0210249536, 0.0185819548, -0.0005078832, 0.0441662706, 0.0636477396, -0.0143963173, 0.0542681664, -0.0029942072, -0.0165547673, -0.0312375203, -0.0497315675, -0.0119340476, -0.0237106998, -0.0121117365, -0.0071577593, -0.0198213719, -0.0808825046, -0.0484524481, 0.0259725973, -0.0107576763, -0.0089556947, -0.0011086062, 0.0603927821, -0.0102223791, -0.0012060159, -0.0483035743, 0.0559318699, 0.0264799278, -0.03996953, 0.0153079024, -6.480008853e-33, 0.009510369, -0.023943767, 0.0035025282, -0.035872899, -0.0017356311, 0.0089372164, -0.0144922985, -0.0077173919, -0.0276007168, -0.0116372034, -0.0231313091, 0.0161855686, 0.0066185719, 0.0285002831, -0.0143668558, -0.0749885365, 0.0217612665, 0.0043421686, -0.0413888134, 0.0465484187, 0.0443133712, 0.0204743184, 0.037100181, -0.0553344823, 0.0696213543, -0.0370048359, -0.0188757647, 0.0229840707, -0.0598095991, 0.0281095132, -0.0136815766, 0.0307306107, -0.0044604964, -0.0435082354, 0.006338214, 0.0344937518, -0.0508006476, -0.0179708414, 0.0033720685, 0.0081063965, -0.0565236211, -0.0300408565, 0.0282474626, -0.0269835442, 0.0296709035, -0.0093245255, -0.0108341975, -0.0178865474, -0.0338684842, 0.0277950335, -0.0125722205, 0.0084601659, 0.0012581232, -0.0266133565, -0.0129083004, 0.0812984556, 0.0162150729, 0.0001409859, -0.0689105466, -0.0000991597, 0.0139933908, -0.0101752514, 0.0508600846, -0.0005709397, 0.0227093641, 0.0614961125, 0.0341334939, 0.016647622, -0.0209365897, -0.0436449535, 0.0074648978, 0.0290036388, 0.0724978521, 0.0514163487, 0.0750960559, 0.0087752771, -0.0452530235, 0.0125683965, 0.0024092894, 0.0424814671, 0.0489564165, 0.0109228045, -0.0430648476, -0.0021283037, -0.0409918502, 0.0031165751, -0.0361378416, -0.0348685943, 0.0422102138, 0.0087124631, -0.0519713685, -0.0365206338, 0.0226791333, -0.0542569645, 0.0100620454, 0.050099045, -0.0040800381, -0.0313364677, -0.0157059524, 0.041519396, 0.0235209502, 0.0219323039, 0.0342300497, -0.0222585425, 0.0365554169, 0.0206381939, 0.0349491425, 0.0096560968, -0.0446450859, 0.001487236, -0.0336695947, 0.0425943062, 0.0121712508, -0.0118828407, 0.0422496088, 0.0341859162, -0.0108465785, 0.0021697131, 0.0319001377, 0.0388233475, -0.0397581272, 0.0057958253, -0.009561142, -0.0188538115, -0.0237225648, -0.0200393721, -0.01348319, 0.003872972, 0.0162713546, -0.0866734311, 0.0144966925, 0.0095184697, 2.859e-7, 0.0079743769, 0.0207577311, 0.0162993092, 0.0151510397, 0.0289644729, 0.0270601399, -0.0057837996, 0.0282360949, 0.0501340628, -0.0622699112, -0.0217920505, 0.0241857991, 0.0906003267, 0.0541533679, -0.0851455331, -0.0407267399, -0.0729910955, -0.0014000313, -0.0378438607, -0.0218692813, 0.0345537998, 0.0940141082, 0.0131715024, -0.0248906314, 0.0085942149, -0.0685359761, 0.0536672436, -0.0213392861, 0.0016933221, 0.0137148239, 0.0715699568, 0.0254577491, 0.0395803452, 0.0382585973, -0.0137568312, -0.0324904509, 0.002325577, -0.0075740973, 0.0203257129, -0.0842558146, -0.0516596548, -0.0219807215, 0.0324165188, -0.0640283525, 0.1035662666, -0.0275986157, -0.0214827508, -0.005867702, -0.0272768456, -0.0511365235, 0.0651606321, -0.0099086585, -0.0169924274, 0.0180002954, -0.0039547393, 0.0261890013, 0.0147871384, -0.0465778783, -0.023905037, -0.0148599073, -0.0492356382, -0.0222730078, -0.0136258639, -0.0293780789, -0.0339300111, -0.065362446, 0.0180801656, 2.676616478e-34, 0.0316121913, -0.0061032381, 0.050069008, 0.0097431969, 0.0329441689, -0.0007494924, 0.0655688345, 0.0053658397, 0.0223526377, -0.0835364237, -0.0239771102 ]
http://arxiv.org/abs/2310.13024v1
http://arxiv.org/pdf/2310.13024v1
Towards Anytime Fine-tuning: Continually Pre-trained Language Models with Hypernetwork Prompt
2023-10-19T06:34:40
2023-10-19T06:34:40
Gangwei Jiang, Caigao Jiang, Siqiao Xue, James Y. Zhang, Jun Zhou, Defu Lian, Ying Wei
cs.CL
cs.CL, cs.AI, cs.LG
Continual pre-training has been urgent for adapting a pre-trained model to a multitude of domains and tasks in the fast-evolving world. In practice, a continually pre-trained model is expected to demonstrate not only greater capacity when fine-tuned on pre-trained domains but also a non-decreasing performance on unseen ones. In this work, we first investigate such anytime fine-tuning effectiveness of existing continual pre-training approaches, concluding with unanimously decreased performance on unseen domains. To this end, we propose a prompt-guided continual pre-training method, where we train a hypernetwork to generate domain-specific prompts by both agreement and disagreement losses. The agreement loss maximally preserves the generalization of a pre-trained model to new domains, and the disagreement one guards the exclusiveness of the generated hidden states for each domain. Remarkably, prompts by the hypernetwork alleviate the domain identity when fine-tuning and promote knowledge transfer across domains. Our method achieved improvements of 3.57% and 3.4% on two real-world datasets (including domain shift and temporal shift), respectively, demonstrating its efficacy.
[ 0.0189201236, 0.0631815344, -0.0176294651, -0.006198843, -0.0291137248, 0.0169757139, 0.0486058667, -0.0461481139, -0.0391709246, -0.0310300421, -0.0746706724, -0.0417584144, -0.0101990681, 0.0391890369, 0.0213884674, -0.0166719183, 0.0821418315, -0.0080122082, -0.0122602731, -0.0068568778, -0.0030496828, -0.0086671738, -0.0369381681, 0.0403315835, -0.0219236892, -0.0225110836, -0.0309545957, -0.0021214769, 0.0304600261, -0.0351426899, 0.0394056104, 0.0724393278, 0.0241432339, 0.00034329, 0.0000021522, -0.0433794148, -0.0034187413, -0.040388193, -0.0436297394, 0.0087617533, 0.001851437, 0.0036466131, -0.0319487602, 0.017469449, -0.0640028045, -0.0315547995, 0.055044055, 0.0269254483, 0.0516161099, 0.0649935752, -0.0021548672, 0.0157272872, 0.0241180509, -0.0604278557, -0.0398003869, -0.0756694153, 0.0225671846, -0.0131749939, -0.0491390079, -0.0254548397, -0.0123642879, 0.0339599513, 0.0336756818, 0.0026860358, -0.0011767286, 0.0381089672, -0.0247871056, -0.0098769711, -0.0299156979, 0.0763829648, -0.037332315, -0.0141401887, 0.0160579383, -0.018796837, -0.0027956287, 0.0008864158, -0.0044288235, 0.006000021, 0.0344834104, 0.0010197861, -0.0122778844, 0.0235661436, 0.0248155911, 0.0373713337, -0.0556156188, 0.0347874425, 0.0147114526, -0.0229826607, -0.00665823, 0.0077664643, -0.0534729436, -0.0651308224, 0.0286061484, 0.0352718718, -0.0096792281, 0.003410069, -0.0846117958, -0.0094238687, -0.001621813, 0.0079299873, 0.0543990098, 0.0212955512, -0.0519137643, 0.0378793105, -0.0246871058, 0.0328692012, -0.0117143886, -0.0101277139, -0.0029699502, 0.0104805119, -0.0588916764, -0.0066060824, -0.0736388117, 0.019587703, -0.0220638402, -0.0349822156, -0.0245159827, 0.0391321555, -0.0005072866, -0.0050686137, -0.0107222116, -0.0071461527, -0.0627910271, -0.0363252647, -0.0106881009, 0.0429604575, -0.0449826866, 0.0718806311, 0.044339288, -0.0552915633, -0.0308009963, 0.0336849391, -0.0014984863, -0.0057839183, 0.0047921492, 0.0897332877, -0.022290973, -0.0348903388, -0.0361139327, -0.0211740304, -0.0175434761, -0.048127301, 0.0164345447, -0.0209057182, 0.0165996142, -0.033725962, -0.0095394831, -0.0391370021, -0.0303078722, -0.0348533541, 0.0147870565, 0.0477319658, -0.0256741624, 0.0049925535, 0.0366431512, -0.0082020052, 0.0008193262, 0.0679710284, 0.0172946695, -0.0170728713, 0.0126134316, 0.011707224, 0.0103391241, 0.041518081, 0.0575059243, 0.019081153, -0.0115364613, 0.0008506011, 0.0458382592, 0.0240061767, 0.0128250001, 0.0115441373, -0.0492933765, 0.0087438924, 0.0706018582, 0.0225377493, 0.0107615869, 0.0214868616, 0.0690200701, -0.0161110256, 0.0020872524, 0.0045837578, -0.0886226371, 0.0170910917, -0.024276793, 0.0138786398, -0.0093488237, 0.0193923954, -0.0585728139, -0.0568170212, 0.0493064597, -0.0154314516, -0.0063184747, -0.0031775991, 0.0544776097, 0.0560196564, -0.0478497967, 0.0641067252, 0.0406564325, -0.0314243771, 0.0205856953, -0.0360203423, 0.0091561079, 0.0419091322, -0.0057951142, -0.0338817202, -0.0487993583, -0.0293139406, 0.0612763017, 0.0417716652, 0.0569981374, -0.0160270669, 0.0327563435, -0.0754406676, -0.0204932, 0.0395350643, 0.0267269406, 0.0582971387, -0.0018127096, 0.0473835766, 0.0280645192, 0.0230607018, -0.015485825, 0.0173701718, -0.0343079418, 0.0099596865, -0.0038387403, 0.0110264206, 0.014574334, 0.0121558364, -0.0460705161, 0.0028286774, -0.0026032818, -0.0163927376, -0.0118169989, -0.0223632082, -0.0958439857, -0.0300401431, 0.0129049029, 0.0132180024, 0.0060321842, 0.031280566, -0.037524946, -0.0324681923, -0.0080094216, 0.0451326184, 0.0341054685, -0.0258932132, 0.0318612233, -0.0081744865, 0.0265196171, -0.0526559986, 0.009749379, 0.0146166943, -0.0222234428, -0.0047546173, 0.0222886521, -0.0098658269, -0.0489149727, -0.0267754309, -0.0010900117, -0.0179293845, 0.017172195, 0.0033347115, 0.0226531196, -0.0287551004, -0.0201136563, -0.0794677213, -0.0016070736, -0.0546365902, 0.0301505495, 0.0308750719, 0.0010792187, -0.0334512144, -0.0338569768, -0.0146775991, 0.0374899581, -0.0230986718, 0.0158856139, 0.0170697682, 0.0192612372, -0.0071282391, -0.0460460894, -0.0179085508, 0.0180031378, 0.0242016129, -0.0122249937, -0.0150169767, -0.0468510799, 0.0427436903, -0.0496731624, 0.0260206535, -0.0079377173, -0.0402503759, -0.0068578231, -0.0242112298, 0.0188523196, 0.0695524141, 0.0067210286, -0.016439002, 0.0614151843, -0.004387253, -0.0566635467, 0.0000872222, -0.0510143973, -0.0224747192, -0.0493269712, 0.0648011044, 0.0280135814, 0.0907851905, 0.0101519916, -0.0228424352, -0.053627979, 0.0114966379, -0.0376246348, -0.0315149315, -0.0140080918, -0.0114280088, -0.0158912651, 0.0425470024, -0.0109932637, -0.0544400513, 0.0683741197, -0.0102332104, 0.0127536012, -0.0364696681, -0.0254691858, 0.0211241264, -0.0009915259, -0.0185662564, 0.0087274201, 0.0785978734, -0.0458618551, -0.0636108518, -0.0323302746, 0.0278445128, 0.008265472, 0.0577793084, -0.0334522575, 0.0142042655, -0.0117066866, -0.0409373194, -0.0525649562, -0.0487829968, -0.0192900784, 0.0149495415, -0.0047590821, -0.0011808312, -0.0088884905, -0.0115331821, -0.0335157514, 0.0957714394, -0.0442149974, -0.0158793665, -0.0322692245, 0.032896515, 0.0246924311, 0.032042142, 0.0317064151, -0.0144369081, 0.0031181243, 0.0239571426, 0.0244244952, -0.0109229917, -0.0321644209, 0.0303622168, -0.0084582111, -0.0093731917, -0.0021240825, 0.0164334811, 0.0597686879, -0.0473853052, 0.0007750579, 0.1107248813, 0.0155778769, -0.0566869192, 0.0049561514, 0.0163560882, 0.0311962422, 0.0208997242, 0.0188796688, -0.0785552859, -0.0237288363, 0.0176246986, 0.0222562943, 0.0146305161, -0.0273963045, -0.0111748651, -0.0879087821, -0.0107747726, 0.0207326505, -0.0053838496, 0.0286542512, 0.0297077037, 0.0008502831, 0.0058275266, 0.0129124112, -0.0120822731, 0.0250794943, -0.0273609683, 0.0318522528, 0.0057420828, -0.0710220113, 0.0360405296, -0.0282344427, 0.0972157642, 0.0793185756, 0.0005819401, -0.0023267753, -0.0257840306, 0.0932087228, 0.0086207381, 0.0198301207, -0.0168196764, 0.0357502513, -0.0186218489, -0.0304373112, 0.0308054853, 0.022756841, -0.0108894352, -0.0157223921, 0.0273011122, 0.0490537845, -0.0166150201, -0.0056673926, 0.0032891086, -0.012847797, 0.0506300703, 0.0324570276, 0.0218390115, -0.0532713123, 0.0161415897, 0.0144405914, -0.0110226311, -0.0508357212, -0.0222107079, -0.0106647583, -0.0158344489, -0.0214653667, -0.0717930496, -0.0280747954, 0.0007246065, 0.0663857087, 0.0437710248, -0.0555881262, 0.0483897105, 0.0206461307, -0.0270876773, 0.0448932014, -0.0332587622, -0.0091944775, -0.0985081047, -0.009105688, 0.1095994338, -0.0141730374, -0.0206448659, -0.005604675, -0.0383845791, -0.0670924187, 0.000964552, 0.0416388102, 0.0208256282, 0.0756802633, -0.0254758559, -0.061176952, 0.0491286404, 0.0186041035, -0.0569432005, 0.0172812734, 0.0753322318, -0.0043654586, -0.013192798, 0.0423186868, -0.0342459194, 0.0639508441, 0.0581065007, 0.0090837749, 0.0142820543, -0.0438437387, -0.0109469611, -0.0378867835, 0.0766236931, 0.0053606071, 0.0348740183, -0.0526300259, 0.0282921828, 0.0355882458, 0.0106620034, -0.0584844351, 0.0225651711, 0.0125839375, -0.0237998962, 0.006134545, 0.0347080454, 0.0284064971, 0.0188773274, -0.0313456804, -0.0134506514, -0.0242826305, 0.0516512394, 0.0438087881, 0.0213729627, -0.0235468466, 0.0073091267, 0.0144087998, 0.0068583516, -0.0412133224, 0.0458888412, 0.0412787199, 0.0196531639, -0.0445878357, 0.0576175861, -0.0568773411, -0.0541891493, -0.0149847567, 0.0145636862, 0.0603279099, 0.0053203711, 0.0316401161, -0.0119934771, 0.005640992, -0.0299434662, 0.0459040068, 0.0202089138, -0.0056307283, 0.0426711999, 0.0111231739, -0.0154131819, 0.0351585783, 0.0558853149, -0.0198461562, 0.0543370917, 0.0076707932, 0.0340592936, -0.0357103869, 0.0081255669, -0.0162654836, 0.0262770411, -0.0356790461, 0.0185577217, -0.012206451, -0.0733067393, 0.0219980348, 0.0221930146, -0.0153874997, 0.0167775825, 0.0391354449, 0.0383541733, -0.0366393216, -0.0112719825, 0.0046822829, -0.0063440693, 0.0400309265, 0.0091770524, -0.0072817681, -6.749848724e-33, -0.0289942622, 0.0193643216, 0.0234134905, -0.023624694, -0.0592918433, -0.0171479993, -0.0427722335, 0.0112336148, -0.0284231268, 0.0265531354, -0.0214154944, 0.0127158267, 0.030141335, 0.0266745165, 0.0055530309, -0.0345141627, 0.074877128, -0.0083250562, -0.02584159, 0.0398702733, 0.0228457563, 0.0260269102, 0.0602774955, -0.0666216686, -0.0178617537, 0.0083411997, -0.0165467374, 0.0280189235, -0.00160499, 0.0280902088, 0.005843875, 0.0194718502, -0.0004371633, -0.0558830909, -0.0618472733, 0.0248112809, -0.0978173465, -0.0554650016, -0.025644552, 0.0034982048, -0.006197121, -0.040692836, 0.018362429, 0.0040932773, -0.0088694505, -0.0040533156, 0.0227630902, -0.018930573, -0.0419977903, -0.0584268607, -0.0602018312, 0.0032289417, -0.0126268156, -0.0476342663, 0.0074343341, 0.0207093321, 0.0014682907, -0.0608079582, -0.0746733621, 0.0367284007, 0.0267700255, 0.0254442953, 0.0417448021, 0.0068586054, 0.0116281155, 0.0436670557, 0.0273083989, 0.0231807418, 0.049461294, 0.0123005453, 0.0731414184, -0.0070701069, -0.0137809059, 0.0004646074, 0.0047946107, -0.0764773712, -0.041446086, -0.039140448, -0.0194246769, -0.0099706613, 0.023945909, -0.0011594999, 0.0107676182, -0.0166141633, -0.045208659, 0.0021666577, -0.0249249712, -0.0234631989, 0.0484607965, 0.035728056, -0.01006334, 0.0130113689, 0.0484820493, -0.046642106, -0.0253686272, 0.0423529297, 0.001295776, 0.0313969739, -0.0010078879, -0.0057248273, -0.0625801012, -0.0194672979, -0.0115848156, 0.0247157458, 0.0138984099, 0.0077086315, 0.018177595, 0.0507065989, -0.069393307, -0.0238242354, -0.005368345, 0.0194475893, 0.0542586371, 0.0406774357, 0.0238738079, 0.0160186868, -0.022786092, 0.0851009861, -0.0134501457, -0.0813672319, -0.0248298198, 0.0821091011, 0.0289102178, 0.0730652288, -0.043893192, -0.0157088488, -0.0435789563, 0.0175420213, 0.0313423909, -0.0503788292, -0.026471328, 0.0028350155, 2.874e-7, -0.0218374096, 0.0201591011, 0.0243957005, -0.0334164649, 0.0278077163, 0.0287191663, -0.0206388719, 0.0152128059, 0.0005981248, 0.0108397063, 0.016835263, 0.0436542109, 0.0178153459, -0.0080994824, -0.0752496496, -0.0228423513, -0.011563478, 0.032995075, -0.0430358574, -0.0127535872, 0.0403713994, 0.0696256161, 0.0153247509, 0.0156208333, 0.0190985426, -0.0119017493, 0.0473582186, 0.0187804699, 0.0248513818, 0.0366332084, -0.0371501036, 0.0106159495, -0.0367431045, 0.0403236188, -0.0141103789, 0.0345861316, -0.0376036018, 0.058598876, -0.0070679234, -0.0261262357, -0.0062874407, 0.010917752, -0.0174841546, 0.0071066278, 0.0697195977, -0.1360588521, -0.0058602886, -0.0155643607, 0.0135099562, -0.0236176345, 0.0055313366, -0.0044035786, -0.0163185038, 0.0149977114, 0.0229553171, 0.0495903306, -0.0313897692, -0.1251665652, 0.0438987166, 0.0286765527, -0.0394869298, -0.052813638, -0.0325693265, -0.0310039278, 0.0476574861, -0.0346008651, 0.0202353969, 2.348973372e-34, 0.0209465176, -0.0199850872, 0.0307412706, 0.0353202708, -0.0300963577, -0.0095486576, 0.0063091675, -0.0090516992, 0.0279688239, -0.0651536509, -0.0201081894 ]
http://arxiv.org/abs/2310.13023v3
http://arxiv.org/pdf/2310.13023v3
GraphGPT: Graph Instruction Tuning for Large Language Models
2023-10-19T06:17:46
2024-05-07T10:10:14
Jiabin Tang, Yuhao Yang, Wei Wei, Lei Shi, Lixin Su, Suqi Cheng, Dawei Yin, Chao Huang
cs.CL
cs.CL, cs.AI
Graph Neural Networks (GNNs) have evolved to understand graph structures through recursive exchanges and aggregations among nodes. To enhance robustness, self-supervised learning (SSL) has become a vital tool for data augmentation. Traditional methods often depend on fine-tuning with task-specific labels, limiting their effectiveness when labeled data is scarce. Our research tackles this by advancing graph model generalization in zero-shot learning environments. Inspired by the success of large language models (LLMs), we aim to create a graph-oriented LLM capable of exceptional generalization across various datasets and tasks without relying on downstream graph data. We introduce the GraphGPT framework, which integrates LLMs with graph structural knowledge through graph instruction tuning. This framework includes a text-graph grounding component to link textual and graph structures and a dual-stage instruction tuning approach with a lightweight graph-text alignment projector. These innovations allow LLMs to comprehend complex graph structures and enhance adaptability across diverse datasets and tasks. Our framework demonstrates superior generalization in both supervised and zero-shot graph learning tasks, surpassing existing benchmarks. The open-sourced model implementation of our GraphGPT is available at https://github.com/HKUDS/GraphGPT.
[ 0.0062053064, 0.0427909307, 0.0212464035, 0.0531477369, -0.025796162, 0.0020620187, -0.0140534677, -0.0102092735, 0.0525053144, -0.0292314459, -0.0329592898, -0.005572326, -0.0110675637, 0.0149612129, 0.0468559638, 0.0014300998, 0.0344314501, 0.0104772653, -0.0127922865, -0.0082021309, 0.0109211244, 0.0548986271, 0.0226107761, -0.0122099156, -0.0112500992, -0.0330176651, -0.0199005231, 0.0584150553, -0.0098256506, -0.0481684655, -0.0101126581, 0.0326863341, 0.0356868096, 0.0692813322, 0.0000019941, -0.0097936587, -0.0184458923, 0.0104303202, -0.0424600504, 0.01843578, 0.0391354449, -0.0313943624, 0.0120970979, -0.0144868819, -0.0327036567, -0.0490953699, 0.0704743713, 0.0092803603, 0.0648322776, 0.1039891988, -0.0136786895, -0.0255140923, 0.0176044255, -0.0439529307, 0.0174196493, -0.0458660647, 0.0232786499, 0.0184855983, -0.0014746621, 0.0099739553, -0.0682398602, 0.0116656153, 0.0153391659, -0.0166414455, 0.068582207, 0.0287759621, -0.0199353918, 0.0017958635, -0.0075739948, 0.1230024695, -0.0114560239, -0.0379613526, -0.003839962, -0.0422263779, 0.0018327767, -0.0140781803, -0.0471866205, -0.0331040807, 0.0309556536, 0.0266987607, -0.0320546739, -0.0552406572, 0.0770992041, -0.0140997795, 0.0067626294, 0.0978175774, -0.0005443461, 0.0141235609, 0.0058200471, 0.0075022844, -0.019897718, -0.0370545164, -0.030507654, 0.0566697083, -0.0123086171, 0.0157245491, -0.0311236344, -0.0176058747, -0.0115214977, -0.0117972186, 0.0760547295, 0.0180540793, 0.0101863258, 0.0378039442, -0.0127552487, 0.039999105, -0.0356567837, 0.077837199, -0.0404947363, 0.0021129115, -0.0465882868, 0.0139812827, -0.0492576919, 0.0177979134, 0.0019285131, -0.0376474448, -0.0433172286, 0.0561405346, -0.0009500496, 0.0062853247, 0.0427608192, 0.0139102964, -0.0268595237, -0.0338503979, 0.0421643555, 0.0602239482, 0.0085681239, -0.0137643274, -0.0158763286, -0.0140736531, -0.0346006267, 0.0123947933, 0.06457939, -0.0355592631, 0.0222428907, 0.0776589885, 0.0224767961, -0.0400924869, -0.0307540838, 0.0145067433, -0.0332585797, -0.0639934838, 0.0137755303, -0.071118556, 0.0283099432, 0.0203193538, -0.0075905262, -0.0543724522, 0.0250115544, -0.0077681099, -0.0385246277, 0.0582312606, -0.0372313559, 0.0003477955, -0.0062048114, -0.0254818704, 0.005564441, 0.0507001132, 0.0366353095, 0.0162111949, 0.0252156258, -0.0205524135, -0.0190300588, 0.0360084325, 0.0467450395, 0.0186146367, -0.0093524363, 0.0024977138, -0.0185140613, 0.0016477876, 0.0193245076, 0.031172961, -0.0275373254, -0.0305496119, 0.0528942458, 0.0370573737, 0.0007429232, -0.0107967891, 0.039522171, 0.0448271297, -0.0161714386, 0.009881814, -0.0679235086, 0.0289226528, 0.0010107269, 0.0248360187, -0.0107006226, -0.0155153526, -0.0348042287, -0.016485136, -0.0102450466, -0.0121657932, 0.0758855343, 0.0029032708, 0.0565636158, 0.0239989478, -0.0413384587, 0.0042715245, 0.0462461561, -0.0288241953, 0.0030565029, 0.0025828392, -0.018803807, 0.054399956, 0.033106491, -0.0098972041, -0.0784102529, 0.0106258206, 0.0246629268, 0.0174432825, 0.0155689884, -0.0168021787, 0.0226947684, -0.0571491644, -0.0415968746, -0.0617888942, -0.0057396544, 0.0179137141, 0.0183124151, -0.0324272066, 0.0148465922, -0.0833799765, -0.0436931364, 0.0145364888, -0.0006774667, -0.0334331207, 0.0172935948, 0.0008524744, -0.02253302, 0.0198086333, -0.0049361642, 0.0072201542, 0.014435159, 0.0243533235, -0.0218617115, -0.0355440602, -0.0477772467, -0.0335077569, 0.0574218035, -0.0098228296, -0.0375209376, -0.0094046434, -0.0794440806, -0.0499349125, 0.0666476712, -0.0529676788, 0.01946087, 0.000208264, 0.0075500044, -0.0179692023, 0.0195006393, 0.0090839826, 0.0287547298, 0.0231314693, -0.0134220859, -0.0182202403, 0.0323981717, -0.0026364103, -0.0491970144, -0.0108878864, -0.0102331582, -0.0000848766, 0.0272564534, 0.0272723697, 0.0220224205, -0.0457848646, 0.0352487974, -0.0908050463, 0.0266706813, -0.0147871561, 0.0313668363, 0.04116809, 0.0141387777, 0.0015564971, -0.0545262471, -0.0451978184, 0.0437124521, 0.0058099916, 0.0080028912, 0.047776103, -0.0196898524, -0.0095503824, -0.0340442024, -0.0588882528, -0.0476043262, 0.0582802556, 0.0178850479, -0.0347429551, -0.0062887119, 0.0222774409, -0.0421845764, 0.0247930344, 0.0000220756, -0.0084651783, -0.0063815387, -0.010970111, 0.0134358304, 0.0817067176, -0.0560974665, 0.0124103706, 0.0431266166, -0.0053799255, -0.021231506, -0.006797669, -0.0519261397, -0.016370913, -0.0394030623, 0.0171235539, -0.0516426079, 0.0692811087, -0.0236544572, -0.0209168084, -0.0506638959, -0.008492643, -0.0199416373, 0.0215801969, -0.0143877072, -0.0074536875, 0.009805535, -0.030725725, -0.0661427379, -0.0336934105, 0.072099492, -0.0288097635, -0.0341365784, 0.0331113376, -0.0286526904, -0.0721235797, 0.0564821698, 0.0882698148, 0.0148507599, -0.0062938156, -0.0227606408, -0.0531208739, -0.0108141256, 0.0388991013, -0.0101188114, 0.0230182763, 0.0102700349, 0.0245387759, -0.0019879271, -0.0302062351, -0.0020207129, 0.0106285382, -0.0120162116, 0.0182545073, -0.0108419992, -0.0539118722, 0.0033019152, -0.0368699878, -0.0124333994, 0.0534828417, -0.0380587168, 0.0154761821, -0.0469709188, 0.0268962495, 0.0449589826, -0.0354933031, -0.0080650011, -0.0309586357, -0.0135712605, 0.0479475372, 0.0313247815, -0.0292434711, -0.0356545188, 0.022888476, 0.0052387821, -0.0134303831, 0.0010318439, -0.0093743308, 0.0569637269, -0.0563109256, -0.001063314, 0.0762241408, 0.0071615791, -0.0518530533, -0.0078454567, -0.0007428927, 0.020872809, 0.0413138345, 0.0210078731, -0.0968635082, -0.0229324326, -0.0227921288, 0.0319825113, 0.04818983, -0.0336665772, -0.0295981672, -0.1106488183, -0.0008945445, 0.0550839007, -0.0161169041, -0.0084298924, -0.0623082109, -0.0076215025, -0.0420331508, 0.0171842966, -0.013197761, -0.0236165319, 0.0011841508, 0.0038595612, -0.0107347444, -0.0275025014, 0.0114936884, -0.0206911843, 0.0179635566, 0.0015936003, 0.018978674, 0.028527936, 0.0204081181, 0.0644153282, 0.024087958, -0.036974147, 0.0052485634, 0.0637585297, -0.0227498244, -0.000578585, -0.0034889788, 0.0386075862, -0.0299957804, 0.000183977, -0.0388956852, 0.0841822475, 0.0313052572, -0.0220350567, 0.0225558318, -0.0302382652, -0.0222053193, -0.0007817422, 0.0536070243, 0.0027856019, -0.0530618578, -0.0411831588, 0.0067082038, -0.0675122514, -0.0457278714, 0.0382919163, -0.0357164368, 0.0030591898, -0.0099156192, -0.0296447109, 0.029502077, -0.0133646987, -0.004152786, -0.0176629443, 0.0378312059, -0.0504011624, -0.1006779, 0.0169839785, -0.0683617964, 0.0104566626, -0.0196312051, -0.0106282635, 0.013475623, 0.0053650448, 0.017977871, 0.0109141851, -0.1097039059, -0.1098809466, -0.0287925452, 0.0148157431, 0.0065459632, 0.0868153125, -0.0270083025, -0.0291380528, 0.0416848771, 0.0474624112, -0.0102518741, -0.006600671, 0.030071063, -0.0397927649, -0.0129553843, 0.0410200022, -0.0444591567, 0.0444094501, 0.0551333092, 0.0293978564, -0.0029204495, -0.0191914309, 0.019366568, 0.0586965568, 0.0380328186, 0.0258682966, 0.0516218171, -0.0497413091, -0.020556489, -0.0237074215, -0.0200779419, -0.0189819708, -0.0362403877, 0.0221879352, -0.0206169598, -0.0059046643, -0.0286549199, -0.0029200774, 0.0487418585, -0.0485906713, -0.0085959835, -0.0083812587, -0.0400962569, 0.0555086359, 0.0151739651, 0.0091553489, 0.0542817935, 0.0294390246, 0.0170752592, -0.0151510518, 0.0114949923, 0.0195339322, 0.0066478001, -0.0558564626, 0.0107383151, -0.0533689894, -0.0036673718, -0.0561575443, 0.013566195, 0.0584547371, 0.0092701744, 0.0698866397, -0.0070470357, -0.0201759599, -0.0299463402, 0.0569253378, -0.028290268, -0.0458263531, 0.0126607232, 0.0323640294, -0.0123145459, 0.0393939875, 0.0402755551, 0.0800988972, 0.0302433521, 0.0387790948, -0.0135503886, -0.0254287366, -0.0227612536, -0.0184049718, 0.0125743821, -0.0126014072, 0.003271105, -0.0238397811, -0.1103638858, 0.0010401485, -0.0002650741, -0.0082175266, 0.0113707408, 0.0086088274, 0.0053460915, 0.0092732543, -0.001843767, -0.0229876488, 0.0541755818, 0.0144235315, -0.0178587958, 0.0192279089, -6.478786338e-33, -0.0174900088, -0.0618034527, 0.0149128372, 0.0165990107, -0.0334931165, 0.0258391369, -0.054089997, 0.0107443677, -0.0248982385, 0.0253991429, -0.0084054191, 0.0295113884, -0.0008084903, 0.0422045588, -0.0230635591, -0.0136819053, 0.0330476314, -0.0068837157, -0.0068834228, 0.0359278843, 0.0125215892, 0.0280090813, 0.0729911476, -0.0465558916, 0.012100691, -0.0269520953, 0.0205423404, 0.0267449208, 0.0414337963, 0.0302953981, 0.0021378195, 0.051016815, 0.0287434589, 0.00758463, -0.0145294638, 0.004658455, -0.0970323682, -0.0391397923, 0.0013134761, 0.0238490999, -0.0662047043, -0.0225741267, 0.0522767901, -0.0159783103, -0.0006925375, -0.046024628, 0.0301615912, 0.0302799046, -0.0234078728, 0.0465723872, -0.0552574918, 0.0325153656, -0.0038764493, -0.0015264559, 0.0302778035, -0.0125814117, 0.0260521788, 0.0257187989, -0.0710915104, 0.01546878, -0.0585311018, 0.0265765619, 0.0463775806, 0.0398674421, 0.0097294049, 0.0242648143, 0.0167149361, 0.001804776, -0.0375733376, 0.0150828473, 0.0273658056, 0.0433989018, 0.011709258, 0.010943329, -0.0010010898, 0.0084654503, -0.0896556675, -0.0372559652, -0.0019608187, 0.0219862107, -0.0245491378, 0.0412893109, 0.0035977119, -0.0390856415, -0.0176632479, -0.0643920377, -0.0400371961, -0.0301131252, -0.0125744995, -0.0126490267, -0.0433965363, 0.0449815877, -0.0041334964, -0.0655756891, -0.0183673222, 0.0748757049, -0.036249496, 0.0434239656, -0.0014701305, 0.0516800024, -0.060162317, -0.0251418184, 0.0084485868, 0.0018953989, 0.0192359295, 0.0147515954, 0.0771608055, 0.0315030739, -0.0336906016, -0.012039667, -0.055171147, -0.0250119101, -0.029415898, 0.0171050318, 0.0457987562, 0.0532813109, -0.0121843815, 0.0860642567, 0.0650647506, 0.0464939922, -0.0003068147, 0.0100236731, -0.005271377, 0.017892113, -0.0056868871, 0.0002765179, -0.0229604822, 0.0252727196, 0.0351886749, -0.0770201758, -0.0222374368, -0.0228642989, 2.713e-7, 0.0660287812, 0.0545810945, 0.0651572719, 0.031783659, 0.0188360773, 0.0277146213, -0.0246710591, 0.0440726168, -0.007472727, -0.0376154706, 0.0394895263, 0.066277191, -0.0119465133, 0.0065295743, -0.0453063026, 0.0523174889, -0.097933881, 0.0138191581, -0.024673922, 0.0150465453, -0.0221010558, 0.0772889331, 0.0534344986, 0.0028618325, -0.0102710295, -0.0434281677, 0.0549104176, 0.0192660578, -0.0108183371, 0.0244528204, -0.0252543036, 0.0145771028, -0.0420254692, -0.00737437, -0.0124182394, 0.0393218771, 0.0131764645, 0.0436409712, -0.0528435297, 0.0162335914, 0.004339539, -0.0077753812, -0.0016057907, -0.004227859, 0.0759563446, -0.0853254646, -0.0529875569, -0.0274753571, -0.0303184539, 0.0009273876, 0.037198104, 0.0001425302, -0.011658405, 0.021419879, 0.0456316136, -0.0171707422, -0.025236303, -0.0522309728, -0.0237003751, 0.0102800876, 0.0115206931, -0.0221847966, -0.0117568681, 0.0129005229, 0.0187684018, -0.0069311336, 0.0201736167, 2.533484659e-34, 0.0341077261, -0.0075547616, -0.0036076694, -0.0388851278, 0.0138314683, -0.0321979411, -0.0536288098, 0.0182772353, 0.0204343442, -0.0793081224, -0.0229186509 ]
http://arxiv.org/abs/2310.12505v1
http://arxiv.org/pdf/2310.12505v1
Attack Prompt Generation for Red Teaming and Defending Large Language Models
2023-10-19T06:15:05
2023-10-19T06:15:05
Boyi Deng, Wenjie Wang, Fuli Feng, Yang Deng, Qifan Wang, Xiangnan He
cs.CL
cs.CL, cs.CR, cs.LG
Large language models (LLMs) are susceptible to red teaming attacks, which can induce LLMs to generate harmful content. Previous research constructs attack prompts via manual or automatic methods, which have their own limitations on construction cost and quality. To address these issues, we propose an integrated approach that combines manual and automatic methods to economically generate high-quality attack prompts. Specifically, considering the impressive capabilities of newly emerged LLMs, we propose an attack framework to instruct LLMs to mimic human-generated prompts through in-context learning. Furthermore, we propose a defense framework that fine-tunes victim LLMs through iterative interactions with the attack framework to enhance their safety against red teaming attacks. Extensive experiments on different LLMs validate the effectiveness of our proposed attack and defense frameworks. Additionally, we release a series of attack prompts datasets named SAP with varying sizes, facilitating the safety evaluation and enhancement of more LLMs. Our code and dataset is available on https://github.com/Aatrox103/SAP .
[ 0.0247124992, 0.0445987098, -0.007498384, 0.0338080749, -0.050922025, -0.0305479821, 0.0476000085, -0.011612867, -0.0337973125, -0.0385101698, -0.014935473, -0.0051356871, -0.0106898556, 0.0437582433, 0.0454319045, -0.0130326683, 0.0450781807, -0.0426830165, -0.0140669001, -0.0178212132, 0.014193451, -0.0039966209, -0.0060816603, 0.0436839499, -0.0095255589, -0.0113756498, -0.0380478464, 0.0144877369, 0.0363585055, -0.041860871, 0.019340042, 0.0380319133, 0.0028539612, 0.0432347842, 0.0000019253, -0.0607614405, -0.0589461289, 0.003860615, -0.04532234, 0.0523868799, 0.0092842141, -0.0227138419, -0.0451188162, 0.0347656533, -0.0282169767, 0.0155316303, 0.0362062939, 0.0655162409, 0.1105808616, 0.1037849411, 0.0215046108, 0.0079241013, 0.0038935551, -0.029745426, -0.0292651262, -0.0245765913, 0.0244481917, -0.0340650789, 0.0046609952, 0.0364044197, 0.0169797447, -0.0353375226, 0.015401558, -0.0223883353, -0.068502143, 0.0087670684, -0.0233037267, 0.0060490319, -0.0136676459, 0.0312558934, -0.050676398, -0.0129858227, -0.0113616148, -0.0021636833, 0.0154092591, 0.0122770006, -0.000679426, 0.0391154625, -0.0116230482, -0.0045553651, 0.0105630085, 0.0054522762, 0.0303505063, -0.0034566633, 0.0003717896, 0.0213761274, 0.0058956803, -0.0446722209, -0.0208843872, -0.0603684224, -0.0013795417, -0.0541293472, -0.0117918095, 0.0133347837, -0.0307826474, 0.020450497, -0.0905164182, -0.0624907054, 0.0617058165, -0.0253573079, 0.0432933904, 0.02709122, -0.0161921009, 0.0061987452, -0.0278950147, 0.0262111351, -0.0080422824, 0.0106252301, 0.0209009033, 0.0085425451, -0.0292011909, 0.0032434964, -0.0192585345, 0.0180812422, 0.0135422414, 0.012045416, -0.0473570675, 0.0637706667, -0.0579838678, 0.0523713678, -0.0170315336, -0.0321462341, -0.0199640524, 0.0072608637, 0.0201728623, -0.0585589707, -0.0150822755, -0.0258879513, -0.0170956701, -0.1015982702, -0.0212050676, 0.0106213363, -0.0626173839, -0.0279309675, -0.0120773138, 0.1032504514, 0.0230659563, -0.0053675519, -0.0286026411, -0.0963988826, 0.0029072275, 0.0176091269, -0.0107930778, -0.0708902329, -0.033919435, -0.0128119551, -0.0271178093, -0.0566762201, 0.0090183951, 0.0141344555, -0.0135484105, 0.0684708953, -0.0168472826, -0.011238819, 0.0013522663, 0.0183060784, -0.0175089743, 0.0710334852, -0.0077134641, 0.0436746739, 0.0360981002, -0.0152681991, 0.0437809452, 0.0703312904, 0.004100767, 0.050622467, -0.0247519948, 0.0006118873, 0.0655200183, -0.0232343003, 0.0094772018, 0.0280803684, -0.0098886676, -0.052659329, 0.0721722841, 0.0146256564, -0.0184149649, 0.0602054372, 0.0510288179, 0.0283519831, -0.0137199769, -0.0001474032, -0.0314543024, 0.0004568603, -0.0806907639, -0.0212455466, 0.0004720964, 0.0339848027, -0.0026302547, 0.0141470656, -0.0030520128, -0.0197694656, -0.0161268525, 0.0098229116, 0.0170604605, 0.0492488295, -0.0250331778, 0.029341707, 0.0326162204, -0.0130230803, -0.0241627954, -0.074264884, -0.0064826426, 0.0282472298, 0.0556771979, -0.042347528, -0.0238897633, -0.0336199328, -0.0096685952, 0.0450761057, 0.0351288579, 0.0068693804, -0.0256161708, -0.0372712128, -0.0296243541, -0.0352861024, 0.005012929, 0.0171017889, 0.02273353, -0.0386437438, 0.0054691932, 0.0448432863, -0.042264685, 0.0260838568, 0.0202237703, -0.0184868649, 0.0061617391, 0.0219964944, 0.0662542805, 0.0040180958, -0.0278134458, 0.0328160003, 0.0437409505, 0.0156621952, 0.0014546141, -0.0080382107, 0.0085828025, 0.0083768321, 0.0205018315, 0.0013982799, -0.0007575201, 0.0420146137, -0.0351726748, 0.0018477953, 0.0460458137, -0.0604015552, 0.0053242617, -0.0123245362, 0.0119635286, 0.0029042282, 0.0470048487, -0.0332779624, 0.0306524765, -0.0042864219, -0.0094680609, -0.0014099295, 0.021764908, 0.0211343654, -0.0583501719, -0.017184712, -0.0174162313, -0.0551442765, 0.0224377979, 0.0245546363, 0.0136375651, -0.0115629602, -0.0146879265, -0.0237763803, 0.0043513863, -0.0137505131, 0.0144170476, 0.0491139591, -0.001527595, -0.0395565331, -0.0204665978, -0.0068112072, -0.002680457, -0.0089203967, 0.0284480881, 0.00627155, -0.0336129032, -0.058410529, -0.0183205958, -0.005132047, -0.009968224, 0.0576439202, -0.0044508893, -0.0364917181, -0.0441161655, 0.0392147638, -0.0093216486, 0.019118337, -0.0021676854, -0.0589790531, 0.0376742743, -0.0212153383, 0.0189360995, 0.0342504941, 0.0467853099, 0.039611835, 0.0747469291, 0.0081866849, -0.0695018247, -0.0153540233, -0.0175416321, -0.0317086168, -0.0322823152, -0.0480287187, 0.047390148, 0.0781918466, 0.0415683948, -0.0083713327, -0.0179537479, 0.0006309961, 0.0216870271, -0.0096788192, -0.0078509785, -0.0651706532, -0.0253330655, 0.0230681021, -0.0072866846, -0.0598694235, 0.0896415487, -0.0440713242, 0.0315532759, -0.0452919863, -0.0215698201, 0.0112574901, 0.0226578433, -0.010118477, 0.0228652172, 0.0313898176, -0.0087445816, -0.0364767686, -0.0243562777, 0.0479501747, -0.0062955581, 0.0174353048, -0.036882896, -0.0050604679, -0.0007108824, 0.0027581768, -0.0786374956, -0.0623964183, -0.0456967168, -0.010509355, -0.0166743733, -0.0150466012, -0.0329178385, -0.0230047554, 0.0586073138, 0.0007484236, -0.0036219382, -0.0132664209, -0.0105957631, -0.0038714046, 0.0283742491, -0.0576761775, 0.0001666344, -0.0461431779, 0.0339608938, 0.081089817, 0.0386541411, 0.0107456008, -0.0296800137, -0.0130535392, 0.0440903418, -0.0246224832, 0.0039608004, 0.0256892368, 0.015076655, -0.04674742, -0.010321334, 0.0678635761, 0.0350456908, -0.015679149, 0.0205217935, -0.0303490534, 0.0289031863, 0.0162307639, 0.0211984348, -0.0792831331, -0.0153323421, 0.0136533296, 0.0449107327, -0.0445959792, -0.0148619991, -0.0252686925, -0.138569966, 0.010356361, 0.0076199239, -0.0503392741, 0.009482678, -0.0400111042, -0.004326541, 0.0506523028, 0.0174154844, -0.0009098504, 0.0207670908, 0.0037005995, 0.029263638, -0.0353834257, -0.0451702252, 0.0119201755, -0.0498720482, 0.0751584247, 0.0794100985, -0.0076860324, -0.024703173, 0.0090482328, 0.0670905188, -0.0171133187, 0.0023652255, 0.014985037, 0.0134776272, 0.0222992655, -0.0307862274, 0.0122394199, 0.0432260185, 0.0096657258, -0.0311674345, 0.0646805167, 0.0442632437, -0.0380744711, 0.0191385131, -0.0282384921, 0.0088023013, 0.0592220947, 0.0572017357, 0.0469984673, -0.0536730513, 0.0091893561, -0.0770154819, -0.0001634335, -0.0622592643, -0.0498439483, 0.0289600864, -0.0313462391, -0.0453545228, -0.0538169183, -0.023025725, 0.0009400273, 0.0235140417, 0.0383299105, -0.0365434922, -0.0528996326, 0.0162706878, -0.0259387121, -0.0165325999, -0.0443177223, 0.0571055375, -0.0659503639, 0.0142123876, -0.0227520671, -0.0560871139, -0.0162319541, 0.014790507, -0.0396480896, -0.0911464542, 0.0207605548, 0.0768927261, 0.0268673077, 0.00231404, -0.0467540473, -0.0867854506, 0.0808533803, 0.0518135652, -0.037547268, -0.0145458281, 0.0700495467, -0.0236752555, 0.0173748527, 0.0141407689, -0.0394426174, 0.0122612389, 0.0636171699, -0.0101268534, -0.0485107414, -0.0273230951, 0.0358827487, 0.0509167835, 0.039914906, -0.043418359, 0.0054547829, 0.0212565437, 0.0221638493, -0.0205784626, -0.0416642278, 0.033299055, 0.0521199703, 0.0010671741, -0.0307207685, 0.0510392711, 0.0160979852, -0.0262819156, 0.0181016922, 0.0014703383, 0.0308004487, 0.0652279109, 0.0533829741, 0.0834363252, -0.0025664123, -0.0083727865, 0.0141839348, 0.0265913978, 0.0113799023, 0.0299523976, 0.0572624542, 0.0021627888, -0.009388933, -0.0013132876, 0.0385192595, -0.042531766, -0.0476108827, 0.0402577184, 0.0317761898, 0.0393373147, 0.0423855595, 0.0248086508, -0.0320065282, -0.0083145276, -0.0222850796, 0.0002699538, -0.0042889705, -0.0645965189, 0.0337749645, 0.015778916, 0.0017566334, 0.0349677913, 0.0750875399, -0.0313117169, 0.0588288046, 0.0107931951, -0.0316271819, -0.0460880101, -0.0002075759, 0.0046976358, 0.0275482908, -0.0556755289, -0.0391320176, -0.0752629787, -0.0615710132, 0.0018751448, 0.0361535661, 0.0362946801, 0.0318858661, 0.0015866037, 0.0432885848, -0.0179030076, 0.0729972497, -0.078354761, 0.0524261817, -0.0138858324, -0.0640666187, 0.026715748, -5.335331923e-33, 0.0304106437, -0.0387111418, -0.0198553782, -0.0060151955, 0.0273693819, 0.035889145, -0.0349655189, -0.0002723497, -0.0040462548, -0.0078961793, 0.0071855229, -0.0397396274, 0.0066811056, 0.0197932161, -0.0382592715, -0.0126271462, 0.0027448672, -0.0032021983, -0.0330599248, 0.0240884405, 0.0742029995, -0.0152344648, 0.002805968, -0.0771321282, 0.0302733481, -0.0196806137, -0.0399553031, 0.0228243414, -0.0386255197, 0.0694381893, 0.006367051, 0.0350645892, -0.0039535654, -0.0289470907, -0.0112388898, 0.0541217774, 0.0203321278, -0.0159849394, -0.0150006553, -0.0262565799, -0.0192596726, -0.049327489, 0.0044083036, -0.0067233378, 0.0005095129, 0.009706418, 0.0113587622, -0.0156740788, -0.0210043378, -0.022682989, -0.0322976299, 0.0114116501, -0.0275144596, -0.0312314443, -0.0136145465, 0.0312750638, 0.0470781103, -0.0093584508, -0.0300119761, 0.0590043664, -0.018052116, -0.0011789384, 0.0544194989, 0.0192973521, -0.0146499444, 0.0506312139, -0.0224715732, 0.0131364306, 0.0142253228, 0.0156128993, -0.0138763944, 0.0439000539, 0.0657846853, 0.071976468, -0.0088488227, -0.0178262051, -0.0565564409, 0.036917083, 0.0713807046, 0.0179562103, 0.0422808416, -0.0105421366, -0.0523428023, 0.0115663186, -0.0025578428, -0.0280574113, -0.0205186922, -0.034238454, 0.0121870041, 0.0049183657, -0.0613695309, -0.0025176881, 0.0137052555, -0.0106407646, 0.0125659527, 0.0414339155, -0.0284028221, -0.0174639169, -0.0181687213, -0.0066674752, 0.0123837916, -0.003767272, 0.0124704912, -0.0853947103, 0.0264595207, -0.0048143836, 0.0475357324, 0.0349890888, -0.0645911694, -0.0003024896, -0.0509281009, 0.0770037174, 0.0060672793, -0.0005817326, 0.0262850691, -0.0080705844, 0.001892617, -0.0068344595, 0.0451767407, -0.0603297725, -0.0176946707, 0.0403428376, -0.0412654169, 0.0136304013, -0.0170807261, 0.0169383846, 0.0029095591, 0.0349872485, 0.0334138609, -0.0510303155, -0.0108607532, -0.040952757, 2.649e-7, -0.0099871857, 0.0106015205, 0.0556427687, 0.0329125784, 0.0181353614, 0.0863833576, -0.0158430152, 0.0746973157, 0.0020196959, -0.0243771896, -0.038538862, 0.0096981544, 0.0387909412, 0.0497785322, -0.0593638942, 0.0095800133, -0.0783564225, 0.0103246756, -0.0842619687, -0.0088369772, 0.0687303841, 0.0750099197, 0.0325589627, -0.0375706181, -0.004127678, -0.0419156067, 0.0137598366, -0.0128377546, -0.020335393, 0.0117000043, 0.0311636813, -0.0049424963, -0.0113825966, 0.0504472293, -0.0462500453, -0.0301759187, -0.0403820984, 0.036521662, 0.0577587113, -0.0046371091, -0.010555746, -0.0586886257, -0.0074189259, -0.0354934111, 0.0640842393, 0.0017927602, -0.0041017584, -0.0035605261, -0.025644701, -0.0437995829, -0.0031111741, -0.0579320975, -0.0157027282, 0.0189285874, 0.0048910542, 0.0026824109, 0.0202636905, -0.0549352206, -0.0365714133, -0.0176105294, -0.034011405, -0.0231512431, 0.014977308, 0.041641172, 0.0337597094, 0.0043853014, 0.0180982817, 2.58740587e-34, -0.0128499074, -0.0444476008, 0.0031261975, -0.0095589263, 0.0228747446, 0.0026552305, -0.0188515335, 0.0355052948, 0.0296955723, -0.0026840256, -0.0443852656 ]
http://arxiv.org/abs/2310.12490v1
http://arxiv.org/pdf/2310.12490v1
Co$^2$PT: Mitigating Bias in Pre-trained Language Models through Counterfactual Contrastive Prompt Tuning
2023-10-19T05:49:58
2023-10-19T05:49:58
Xiangjue Dong, Ziwei Zhu, Zhuoer Wang, Maria Teleki, James Caverlee
cs.CL
cs.CL
Pre-trained Language Models are widely used in many important real-world applications. However, recent studies show that these models can encode social biases from large pre-training corpora and even amplify biases in downstream applications. To address this challenge, we propose Co$^2$PT, an efficient and effective debias-while-prompt tuning method for mitigating biases via counterfactual contrastive prompt tuning on downstream tasks. Our experiments conducted on three extrinsic bias benchmarks demonstrate the effectiveness of Co$^2$PT on bias mitigation during the prompt tuning process and its adaptability to existing upstream debiased language models. These findings indicate the strength of Co$^2$PT and provide promising avenues for further enhancement in bias mitigation on downstream tasks.
[ 0.0363757536, 0.0316209123, -0.0218012277, 0.0407040268, 0.0002528704, 0.0195615795, 0.0472434536, -0.0177804176, 0.0168513414, -0.038204629, -0.0726387128, -0.0328619145, 0.0181742478, 0.0146562699, 0.0277215447, -0.069101572, 0.0787471831, -0.0092581129, 0.0555670857, -0.0473781265, 0.0182488002, 0.0126990248, -0.0114353038, 0.0071909507, 0.0039771195, -0.0146211442, 0.0328505188, 0.0342805795, -0.0063418988, -0.0133588724, 0.0608116426, 0.1000076607, -0.0210881606, 0.0247604251, 0.0000019441, -0.0595030896, 0.0072312295, -0.0439950749, -0.0424366072, 0.0018987701, 0.0672033951, -0.0032145116, 0.0047283899, 0.0348853283, -0.0398495756, -0.0258391015, 0.0383380912, 0.012357031, 0.0282623004, 0.0597761124, -0.0087043252, -0.0088992575, -0.0315639675, -0.0453783125, -0.0189530328, -0.0188828949, 0.0266693123, -0.0643880069, -0.0447903275, 0.0266851764, -0.0169876907, -0.0012386281, 0.0042174649, 0.0310524926, 0.0091613475, 0.0146466009, 0.0047617322, -0.0325711779, -0.0489880219, 0.0623747073, -0.0236440636, -0.047677923, -0.0162750166, -0.052475892, 0.022631811, 0.0032387809, 0.0022463435, -0.0061593479, 0.0090173585, 0.0083292155, 0.0120764971, 0.0212224666, 0.0052886377, 0.012399368, 0.0082625318, 0.0389723554, 0.0315824412, -0.0274365935, 0.0336628221, 0.0537632294, 0.0189029612, -0.0628056601, 0.0241824109, -0.0382049978, -0.0574489683, 0.006091089, -0.0606384389, -0.0087487753, 0.0047794315, -0.0234460812, 0.0130425692, 0.0331641808, -0.0586894341, 0.0325561501, -0.0076068048, 0.0170592554, -0.0096867066, 0.0248493813, -0.0274125729, 0.0010282672, 0.0187320504, 0.0119784409, -0.0381113701, -0.0255796295, -0.0405185521, 0.0202772245, -0.0156064909, 0.0074725221, -0.0192996003, -0.025221765, 0.0167354196, 0.0112570496, -0.0606735982, -0.0276457295, -0.0146710444, 0.0412341617, -0.0490802489, 0.0320910551, -0.0058957324, -0.0972646251, -0.0346156806, -0.0028600837, 0.019482825, -0.0666125715, -0.0053281598, 0.0326567367, -0.007879152, -0.0274893846, -0.0163192563, -0.0091301594, -0.0249797478, -0.0446101055, -0.0197606795, -0.0191426799, 0.0332207829, 0.0133225722, -0.0001205222, -0.057807792, -0.0280849822, 0.006721993, -0.0619592108, 0.0609286353, -0.0291771218, -0.0027285835, 0.0192415137, -0.0013151951, -0.0049324175, 0.0816443861, -0.0075188195, -0.0085106576, 0.0522951409, 0.0080065979, 0.0082046026, 0.0433074161, 0.0503957048, -0.0047868947, -0.033538647, 0.0098860217, 0.052431155, -0.0003266621, 0.0916908681, 0.0429611355, -0.0271892846, -0.0227403324, 0.0868178084, -0.0037664892, -0.0142408563, -0.0073313196, 0.0290206932, 0.0181847792, -0.0242390204, 0.0306716785, -0.0763455182, 0.0068313293, -0.0355903283, -0.0136797968, 0.0401087739, 0.0452117063, -0.0384010039, -0.0073700272, 0.0267158095, -0.0004629482, -0.0066715237, 0.0106417518, -0.0078892093, 0.0261811409, -0.0342908576, 0.0386015885, 0.0485665575, -0.0396309942, 0.0299178753, -0.0254123118, -0.0079572089, 0.05912707, 0.0113653634, -0.018797921, -0.0171381533, -0.0244012121, 0.0082709044, 0.0688596293, 0.1042051613, -0.0089875394, 0.021771349, -0.0498666577, -0.0471779443, 0.0083625773, 0.0226626638, 0.0111865625, 0.0196605641, 0.0299742296, 0.0178179182, 0.0183816887, -0.0215613022, 0.0307566598, -0.0191553235, -0.0460504293, -0.0062505091, 0.0235548578, 0.0097257169, 0.0131790675, -0.0210419558, -0.0085060569, -0.0114957131, 0.0168265235, 0.0457089283, 0.0272073261, -0.1091743186, -0.0719927028, 0.0154111898, -0.0099948319, -0.0307137687, 0.0385674052, -0.0237491634, -0.0370856971, 0.0214416571, 0.0095919538, 0.0528667755, -0.0255909171, 0.0084130773, -0.0311956014, 0.0447745733, -0.0331164226, 0.0284605343, -0.000847169, -0.01256066, 0.0316729136, 0.0073085618, -0.0088804355, -0.0376049019, -0.0196319185, -0.0216041543, 0.0225619134, -0.0174946375, 0.043076057, -0.01015261, -0.0316562131, -0.0106425993, -0.0633025318, -0.0028938593, -0.044329837, -0.0136036025, 0.0437983833, 0.0162241384, -0.0286068507, -0.0382157341, -0.027523376, -0.0240593143, -0.0041528796, 0.0517358333, 0.0092163552, 0.0003037716, 0.0072718933, -0.0487028807, -0.0145294005, -0.0236621164, 0.0321164764, 0.0084973723, -0.0221011918, -0.0561289378, 0.0365569405, 0.0136408033, 0.0493718609, -0.0080407709, -0.0077391271, 0.0029757002, 0.0223645102, 0.0582226738, 0.0771496072, 0.004777167, -0.0168784522, 0.0384150743, -0.0078695817, -0.0562977456, -0.0109671075, -0.0207131039, -0.0212876741, -0.0208794605, -0.0376432166, -0.0158286449, 0.0773783848, 0.028873153, -0.0164941158, -0.0690609962, 0.012309948, -0.0134590073, -0.0463499092, -0.009868674, -0.053786587, -0.034126237, 0.0424753912, -0.0581289232, -0.0664652213, 0.0688351169, -0.0127660306, -0.0135495299, -0.0414926112, 0.041734729, 0.0003399638, 0.0174320862, -0.0011726973, 0.0163554624, 0.0324526839, -0.0076212627, -0.0797688365, -0.0116499383, 0.0301688854, -0.0167834926, -0.0042316783, -0.0202479474, -0.0082923686, -0.011018361, -0.0475932024, -0.0345645659, -0.0956354141, -0.0170003865, 0.0062042051, 0.0433702022, 0.0102958698, 0.0174213555, -0.0142976521, -0.0095418785, 0.0804296359, -0.0218349062, 0.0105519006, -0.025892226, 0.01587178, 0.0450378321, 0.0020793201, 0.0449278876, -0.029038135, 0.0178879015, -0.0033399959, 0.0637534037, -0.0192990452, -0.019980792, 0.0138246119, 0.051200822, -0.0367799029, -0.0177839659, 0.03545646, 0.0527578071, -0.0113267647, -0.0143095506, 0.1115470976, 0.0006702165, -0.1228574663, 0.007316228, 0.0317849293, 0.0369576812, 0.0379158556, -0.0007023189, -0.0913234651, -0.0369749255, 0.02037213, -0.0015438866, 0.0066519645, -0.0300260503, -0.0337387286, -0.1572290957, 0.0040753526, -0.0068985061, 0.0257286374, -0.0022616489, -0.0360729806, 0.0346142352, -0.0227730758, 0.0410972349, 0.0099419383, -0.0106503936, 0.0109960856, 0.024057379, 0.0149030965, -0.0781402737, 0.0047807205, -0.0477718413, 0.0742019862, 0.0645830184, -0.0066745211, -0.0013463597, -0.0079954239, 0.0551964752, -0.0517978929, 0.0023555055, -0.0324335061, 0.0654681697, -0.0567895137, -0.0024321266, 0.0018647868, 0.031312041, 0.0000658845, 0.0072913873, -0.0235410538, 0.0305425022, 0.0135443695, -0.0119654648, 0.0056265919, 0.0080461223, 0.0540352054, 0.0825668275, 0.0401881859, -0.0603773557, -0.0029986252, -0.0168888196, 0.0148265157, 0.006395468, -0.0222036559, -0.0307592098, 0.0228855349, -0.0218771994, -0.0319951028, -0.0420220979, -0.0102213686, 0.0219704751, 0.00777729, -0.0165303629, -0.0216825642, -0.007028026, -0.0032786157, 0.0566036627, -0.0373698957, 0.0365549885, -0.0486562625, -0.0200973824, -0.0066506821, -0.0370268337, -0.0330408886, 0.016161317, -0.0371391214, -0.0787853673, 0.055948168, 0.0582389459, 0.0228603352, 0.0885884836, -0.0313878581, -0.0886170641, 0.0589172393, 0.0245674383, -0.060092479, 0.0350828916, 0.0376027897, -0.0007372886, 0.0022493214, 0.0347538851, -0.0244436711, 0.0202959217, 0.0786257759, 0.0084455954, 0.0173506513, -0.0796365663, -0.0079708025, -0.0098486179, 0.1388500929, -0.039152652, 0.0411363132, -0.0694526508, 0.0131165041, -0.0192438699, -0.0164173301, -0.0195655432, -0.0004540225, 0.0112546459, -0.0102902632, -0.0321888365, -0.0082205208, -0.0519980937, 0.0019954848, -0.0493118763, 0.0221949834, 0.0127118872, 0.0431458019, 0.0197167415, 0.013626894, -0.0069133923, 0.0649590641, 0.006031388, 0.037084233, -0.0101235704, 0.0326989368, 0.0467419997, -0.0103794448, -0.0138315875, 0.0423848927, -0.0539629571, -0.0038051174, -0.0190021507, 0.0134570692, 0.0293430537, -0.0377832875, 0.0419027805, 0.0145985689, 0.0107630435, 0.0051002218, -0.0063140532, 0.0242410321, -0.0264038388, 0.0200074632, -0.0114392899, -0.0271806922, 0.0479733646, 0.0830306709, -0.0415111594, 0.0497848988, -0.0170474388, 0.0097814165, -0.003222516, -0.0190074388, 0.0112837469, -0.0138857849, -0.0488022231, 0.009570851, -0.057303831, -0.0601969771, -0.0070522954, 0.0135715799, 0.0162163079, -0.0031545539, 0.0531459898, 0.0474801511, -0.0494612195, -0.030141091, -0.0003800582, 0.0003944112, 0.0042832564, -0.0175975021, -0.0264696423, -6.671599738e-33, -0.0429137535, 0.0305426139, -0.0212388895, -0.0382496528, -0.0072051645, -0.0034061552, -0.0314689465, 0.0114459107, -0.0254847296, 0.0109493658, -0.0496397279, 0.0217292272, 0.0366003998, -0.0201622676, -0.0068901908, -0.0007811034, 0.0796430558, -0.0280094054, -0.0459310077, 0.0294110961, -0.0088224234, 0.0282735769, 0.0601345338, -0.0277451482, 0.0451820567, 0.0081236204, -0.005072617, 0.0215370208, 0.0127050234, 0.0149916569, -0.0264130272, 0.0274928492, 0.0163301881, -0.0283247624, -0.0392624252, 0.0559081547, -0.0459601171, -0.0445816256, 0.0271374136, 0.0263686422, -0.0122637665, -0.0119424481, 0.0157861747, -0.0143561726, -0.0883533508, 0.0174498167, 0.0250527821, 0.0105074709, 0.0148158725, 0.0415175892, -0.0428057127, 0.020550983, 0.0018169122, -0.0017589444, 0.0077283578, 0.032184314, 0.0113860648, 0.0232423861, -0.0281323493, 0.0201664288, 0.0192912221, 0.019909123, 0.0219383594, 0.0282048993, 0.010682229, 0.0536653176, 0.0765323788, 0.0563089699, 0.0284787584, -0.0422505178, 0.0541689433, -0.0369890705, 0.0241465103, 0.0801940411, 0.0328129902, -0.0329435878, -0.0402313508, 0.0102350889, 0.0307320952, 0.0030119724, 0.0329236649, -0.0202960707, -0.0193156358, -0.0545979701, -0.0652078912, -0.0760260001, -0.0186680742, -0.0001527376, 0.0217927303, 0.0239203218, -0.0022084226, 0.0179152582, 0.0459854007, -0.0263369791, -0.0114478506, 0.0402046815, -0.0108817099, -0.0119053638, 0.0018211369, 0.0452868268, -0.1008644328, -0.0058913846, 0.0149887353, 0.0442976244, -0.0004225313, 0.0042686346, 0.01019892, 0.0193581115, -0.067816928, 0.0235331934, -0.0220299251, 0.0245605614, 0.0233584233, 0.010286577, 0.0535079129, -0.0043278728, -0.0028014511, 0.0282847919, 0.0254738834, -0.0269697718, -0.0366997048, -0.0112156579, 0.0098682316, 0.0582582802, -0.0256326385, -0.0049144975, -0.0000384395, -0.0104213059, 0.011218139, -0.0409376323, -0.0235488731, -0.0187205803, 2.551e-7, -0.0130246636, 0.0504566841, 0.0045315111, 0.0135744223, 0.0192948598, 0.0182580501, 0.0228447802, 0.0423369594, 0.0125870612, -0.018402908, 0.0057477001, 0.0505677499, 0.0200730711, 0.0042184107, -0.0639794618, 0.0122549236, -0.0794939473, 0.0639844686, -0.0213673413, -0.0250356495, -0.0214133784, 0.0571343191, 0.0013656768, -0.0019487549, -0.0048965579, -0.0116020748, 0.0442811027, -0.0387404151, 0.0300673041, 0.0207829382, 0.0212378744, -0.0163155198, 0.0024270038, 0.0428998172, -0.0053754617, 0.0596102215, -0.0389483944, 0.0403734036, -0.0055675502, -0.0214000288, -0.0118594263, 0.004842984, -0.0397079214, -0.0753231123, 0.0761627033, -0.0277156178, 0.0139966886, -0.0645376295, -0.0225216374, -0.0294750165, 0.034437608, -0.0253731348, -0.0376193747, 0.0065043108, 0.0422002822, 0.0348534845, -0.0300873425, -0.0884037316, -0.0387961529, 0.0251295473, -0.0154515859, -0.0585103221, 0.003053657, 0.0089721782, 0.0139096593, -0.031926319, 0.0425615609, 2.344896564e-34, 0.0451175272, -0.013307686, 0.0432200693, -0.036621172, 0.0227411147, -0.0222082157, -0.0233223438, 0.0023610848, 0.0642027408, -0.0730283335, -0.0233143996 ]
http://arxiv.org/abs/2310.12489v3
http://arxiv.org/pdf/2310.12489v3
MedAI Dialog Corpus (MEDIC): Zero-Shot Classification of Doctor and AI Responses in Health Consultations
2023-10-19T05:48:28
2024-01-12T06:24:21
Olumide E. Ojo, Olaronke O. Adebanji, Alexander Gelbukh, Hiram Calvo, Anna Feldman
cs.CL
cs.CL
Zero-shot classification enables text to be classified into classes not seen during training. In this study, we examine the efficacy of zero-shot learning models in classifying healthcare consultation responses from Doctors and AI systems. The models evaluated include BART, BERT, XLM, XLM-R and DistilBERT. The models were tested on three different datasets based on a binary and multi-label analysis to identify the origins of text in health consultations without any prior corpus training. According to our findings, the zero-shot language models show a good understanding of language generally, but has limitations when trying to classify doctor and AI responses to healthcare consultations. This research provides a foundation for future research in the field of medical text classification by informing the development of more accurate methods of classifying text written by Doctors and AI systems in health consultations.
[ 0.042321872, 0.0104910377, 0.0020490128, -0.0123650832, -0.0304177664, 0.0375724919, 0.0438461266, 0.0324859172, 0.035213355, -0.0948496088, -0.0225809067, -0.0437175073, 0.0207287408, 0.0092935544, -0.0154095488, -0.0380495526, 0.0374338441, 0.0517184995, 0.0609417558, 0.036085479, -0.0059102667, 0.0068151383, -0.0689319521, 0.0704944879, 0.0016781352, 0.0008672954, 0.0109167602, -0.0257208999, 0.0105190324, -0.0768870711, 0.0299886335, 0.0337145291, -0.0363635421, 0.0300737154, 0.0000016162, -0.0434292704, 0.0217636898, 0.0337759331, -0.0688035488, -0.0592712089, 0.0365993343, -0.0459062904, 0.0040039071, 0.0503264852, -0.0098138629, -0.041697897, 0.042197302, 0.0558908172, 0.0347809717, 0.0968998, -0.0288598742, 0.0034083773, 0.0299577918, 0.0122558838, 0.0221829936, -0.0253282767, 0.0319671221, -0.0290255863, 0.0368753411, -0.012316213, 0.0265253633, 0.0062265005, -0.0444553904, 0.0240063984, 0.0117247002, 0.0427130163, -0.0550559163, -0.015662903, 0.0077478932, 0.0633850321, 0.021831464, -0.0210153852, 0.0117581682, -0.0002623553, -0.0019982345, -0.0168076884, -0.0240066722, -0.004255591, -0.0202205125, 0.0130838724, 0.0022575711, 0.0275783613, 0.0153055331, 0.0139436005, -0.0198391378, 0.0130971614, -0.0094463937, -0.0318294652, 0.0121940691, 0.0017415773, 0.0407016911, -0.0535215065, -0.0075374036, 0.0517206565, -0.0156954173, 0.0052086245, -0.0174926613, -0.0380583331, 0.0796565562, -0.0416580401, 0.0156205837, 0.0127058113, -0.0069645727, 0.0240112673, -0.003102937, -0.0051449966, 0.0278080683, 0.0438074321, -0.0022004687, 0.0347216874, -0.0953255072, -0.0139357857, -0.0235025603, 0.0491714515, 0.015394181, -0.0172696281, -0.0675897896, -0.0188354738, -0.0018187622, -0.007050992, 0.0044749123, 0.0163374096, -0.010243942, 0.0222314876, -0.0163961314, 0.0406434499, -0.0015461647, 0.047398787, -0.0345344022, -0.0584594011, 0.020412581, 0.0394612923, 0.0061462778, 0.0068611945, 0.0007981184, 0.0286109969, -0.0239714328, -0.057875596, -0.01624652, -0.0250517819, -0.0413398184, -0.0137378601, 0.0013946675, -0.0147556383, -0.0188134983, 0.0083642239, 0.0073785316, -0.0095273256, 0.0207995567, -0.0040795542, -0.0542921089, 0.0589018539, -0.0376669839, 0.0008044014, 0.0602992885, 0.0223845467, 0.0095020821, 0.0198593102, 0.0180818234, -0.056504257, 0.0080494955, -0.0044564246, 0.0484875664, -0.0019133973, 0.0182972234, -0.028565919, 0.0125209391, 0.0091793258, -0.0372331068, 0.0295421295, -0.0496374369, 0.0263466816, -0.0124029284, 0.0006352135, -0.0019206223, 0.0751203597, 0.0255756304, -0.013564405, -0.0008823485, -0.0058132894, -0.0038468179, -0.0176299419, 0.0204987079, -0.0326428898, 0.0112035628, -0.0161159933, -0.0135901328, -0.0637621656, -0.0519266352, -0.039001137, -0.0518666394, -0.0416587777, -0.0400437489, -0.0345281065, 0.0545863248, -0.00807878, -0.0457570478, 0.0455446839, 0.0294993799, -0.0456813723, -0.0488691479, -0.0762204453, 0.020404147, 0.0402838886, 0.0328658782, -0.0708869249, -0.0370035656, -0.0450744964, 0.0126724029, 0.0291779675, 0.0159408022, -0.0144549021, 0.013904009, -0.0368902013, 0.0027632704, 0.0229015741, 0.0531505495, -0.0265031438, -0.034003213, 0.0404568054, -0.0121417381, 0.0082296738, -0.0194297321, 0.0410950035, -0.009009935, -0.0499916263, 0.038094528, 0.0018719232, 0.0475381389, 0.0336680152, -0.0421950072, 0.0302445386, 0.0154050076, -0.0226709079, -0.0226373188, 0.0128311059, -0.0089956019, -0.0411045775, -0.0043309005, -0.0115962168, 0.0277543347, -0.0255251694, -0.0292603504, -0.0294012371, -0.0421277694, -0.0348177254, 0.016146455, -0.0153942686, 0.0352055617, 0.0256019235, -0.0099669583, -0.0414225608, 0.0003510611, 0.0088045821, 0.0127930623, 0.0112183914, -0.0184672885, 0.0558985285, -0.0296566226, -0.0094452212, 0.0250022635, -0.0282167774, 0.0059948638, -0.0177876148, 0.0231317692, -0.002692271, -0.0322525203, -0.1455791593, -0.0246524401, 0.0025463256, 0.0050059296, 0.0150681911, -0.013506203, 0.0085075051, -0.0230789464, -0.0377308391, 0.014052867, 0.0337493978, 0.0003918137, 0.0433591194, 0.0257069916, 0.0105071263, -0.0174127948, 0.0096886717, -0.0573116615, 0.0290423352, 0.0358656719, -0.0281001125, 0.0097327773, -0.0497597978, -0.0289504435, -0.0129966671, 0.0001328541, -0.0454743691, 0.0071159503, 0.0021070391, -0.0435315631, 0.0198175032, 0.0127480589, 0.022865817, -0.0036428683, 0.042296093, -0.025614908, 0.0086040702, -0.0099344011, -0.0083645107, 0.0207131933, -0.042251803, 0.0105337389, 0.0998255163, 0.016243862, 0.0057737334, -0.0385799296, -0.0058267862, 0.0027011905, 0.024413513, -0.0293929111, 0.014983641, -0.0458430015, 0.04316606, 0.0102477595, -0.0421039052, 0.0563156866, -0.008649555, 0.0220721085, -0.0913760439, -0.0370689183, -0.0550068356, -0.0158166606, -0.028901238, 0.0133036571, 0.0538187362, -0.0303037465, 0.0197232403, -0.0147720743, -0.0035024418, -0.0433745235, 0.0327510498, -0.0020700812, 0.0373120159, -0.0196989067, -0.0405781716, -0.039773047, -0.0307949763, -0.0195395164, 0.0240040999, -0.0080159996, 0.0316280983, -0.0846289396, 0.0271079894, -0.0184542835, 0.0877514482, 0.0042331824, 0.0019196901, 0.0081814611, 0.0558487587, 0.0158117935, -0.0061421352, -0.0586128719, 0.0211111568, 0.0419714041, 0.0271679275, 0.0196303856, 0.0616243519, 0.0050999159, -0.0487601385, 0.0025403693, -0.0342808068, -0.0259186607, 0.0355149955, 0.001551863, -0.0058447956, -0.0088430503, 0.0962788016, 0.0476803482, -0.0755316317, 0.0027212796, -0.0339999646, -0.0248934627, -0.0031369324, -0.0179673601, -0.0853742734, -0.0394893028, -0.0182774104, 0.023784196, -0.0391422994, -0.007678526, 0.0330219902, -0.0569486059, 0.0006346536, 0.0128907785, -0.0252813194, 0.0051349774, -0.033969827, -0.002869711, -0.0034417917, -0.0447988957, -0.0476845726, -0.0142998677, -0.0267109033, 0.0231174268, -0.0567219667, -0.0662923828, 0.0177139305, 0.0213301685, 0.0479019284, 0.063277632, 0.0522396974, -0.025369307, -0.010660938, 0.0178574696, -0.025003748, 0.0058580665, -0.0119607942, 0.0993635729, -0.0069601126, 0.0193186887, -0.016485868, 0.0199527405, -0.0331385173, -0.0210434794, 0.0161986221, 0.052435562, -0.0431106016, -0.0252368823, -0.0610006824, 0.0411045253, 0.0424635746, 0.0485918745, -0.0033324447, -0.0052277655, -0.0641012341, 0.0149883358, 0.0347279161, 0.0013736167, 0.0141732944, 0.0219748635, -0.0296234209, -0.0485923514, -0.0682406798, -0.0281784311, 0.0208636168, -0.0014708476, 0.0192986745, 0.0055367732, 0.0135468403, 0.0270871837, -0.026797073, 0.0037610566, 0.0257138535, 0.0265968852, -0.0810920447, -0.0366180167, 0.078055732, 0.0154728536, -0.0103859594, -0.042157203, 0.0002581878, -0.0216861572, -0.0336618312, 0.0638915822, 0.0254562739, -0.0372947492, 0.012886174, -0.034094654, 0.0525054969, 0.0748028457, -0.025099257, -0.0287864152, 0.0347189158, 0.0278321039, -0.020988496, 0.0116959913, 0.0125474865, 0.0349295214, -0.0121652903, -0.0152458372, -0.0706758723, -0.0078013949, -0.0109556466, 0.0070668501, 0.0388977937, -0.0093643321, -0.031513568, -0.0243980344, 0.0240078438, 0.0007856039, 0.0207263697, -0.0109745925, -0.0159045849, 0.0147636589, -0.0289045479, -0.0109300092, -0.0008457897, -0.1104096696, 0.0158470459, -0.0098033603, 0.0364476517, 0.0510605872, 0.0217476618, -0.0130318059, -0.0202298369, -0.0182589348, 0.0179068502, 0.0145420758, 0.0041744993, 0.0096586784, 0.0997839868, -0.0125471158, 0.059753105, 0.0000839093, 0.0321488529, -0.0243135411, -0.0062641259, -0.0060764351, 0.0345850587, 0.0356931649, -0.0025664698, 0.0170848407, -0.0058594272, -0.0083522191, -0.0221938267, 0.059482459, -0.032344684, 0.013016534, 0.0469406396, 0.0225412063, -0.0106198248, -0.0023964425, 0.1043287814, 0.0250259507, 0.0366650596, 0.0145141361, -0.0210101288, -0.0668573603, -0.0028576637, 0.0561287627, 0.0362657644, -0.023404751, 0.0365090035, -0.0728856996, -0.0104695903, 0.0275070388, -0.0626910701, 0.0098526124, -0.0367878526, 0.0478532612, 0.0211596638, 0.0254606716, -0.001291123, -0.0530547574, 0.0357888564, -0.0173688456, 0.0123661449, -0.0190077648, -5.038283766e-33, 0.0013834629, -0.0521882996, 0.0024500031, -0.0047227065, 0.0249486137, 0.023633711, -0.0142922206, 0.0192918107, -0.0275180377, 0.0197738763, 0.0035963163, -0.0082073081, 0.0003139576, 0.0455625467, 0.0047879573, -0.0360686183, 0.0308574978, -0.0204172246, -0.0237889737, 0.0205021836, -0.0037957374, 0.0189438388, 0.007121129, -0.0855845585, 0.0225488171, -0.0103335502, 0.0144678727, 0.0078942273, 0.0196052957, 0.0761046186, -0.025471, 0.0522989631, 0.0652530864, 0.0249160491, 0.0322620235, 0.058093816, -0.0516432598, -0.0206661429, -0.0117435027, -0.0103744408, -0.003787009, -0.0363340713, 0.0163923316, 0.0038158242, -0.0301538873, -0.0258307811, 0.0540228374, -0.0331062526, -0.032235615, -0.0327983312, -0.0642322227, 0.0424532741, -0.0260601677, -0.0418892391, 0.0015769079, 0.0710503981, -0.0223075189, 0.0507393777, -0.0421130322, -0.0057069217, 0.0272020698, -0.0101814792, -0.0121344868, -0.0184998307, -0.0419701152, 0.0488540083, 0.0413567871, -0.0002436922, -0.0699882582, -0.0152450716, -0.0396090634, 0.0115516204, 0.0381268486, 0.0480568558, 0.0486492328, -0.0361099988, -0.074640967, 0.0244514924, -0.0141855171, 0.027354978, 0.0169879217, -0.0342634432, -0.0610948354, -0.000035808, 0.0083256494, -0.0486123934, -0.0290904101, -0.0136918211, 0.0425162278, 0.0038236617, 0.0362804718, 0.0166720916, 0.0222197399, -0.0186003651, 0.0252850968, 0.0157138482, 0.0152708152, 0.0328771919, -0.030657405, -0.0218865573, -0.0889385417, -0.036786817, 0.0301638935, 0.0302144568, 0.0752540231, 0.0256355386, 0.0483955145, -0.0418661311, -0.0613334216, -0.0273825675, 0.0421318486, 0.0089166099, 0.0113029787, 0.0978647098, -0.0020671405, 0.0264508985, 0.010514061, 0.0797316954, -0.0315768458, -0.0039096624, -0.0102728875, -0.0712153465, -0.0279758051, -0.0242751576, -0.0661667213, -0.0024689436, -0.0204105545, 0.0491321497, 0.0276172608, -0.035754323, 0.0113561619, -0.0251409467, 2.326e-7, 0.0739926398, 0.0562705658, -0.0038947135, -0.0566369519, 0.0521055982, 0.0406968109, -0.00459855, 0.0115784379, 0.0030499001, 0.0122288754, 0.0287045222, -0.0426318906, 0.0408687219, 0.0220737811, -0.0766678602, -0.0420532115, -0.105261758, -0.0116850333, -0.0331038497, -0.0014409847, 0.0937932059, 0.0810055435, -0.0420159586, -0.0273827799, -0.0151544651, 0.0021526378, 0.0427020527, -0.0018468491, 0.0287462026, 0.0474485345, 0.0356642306, -0.0172021203, 0.0138919074, 0.0429721177, -0.0337927304, 0.0109831365, -0.0094526941, 0.0951849073, -0.0917110369, 0.0001443442, 0.0283473954, 0.0286690425, 0.0205840468, -0.0300125554, 0.0607133545, -0.0752951726, -0.0534532256, -0.0029473035, -0.0228185691, -0.0201921817, 0.1009659916, -0.0159724541, -0.0102028558, 0.0554411821, 0.0313203633, -0.0209345594, -0.0142812394, -0.0594213977, -0.016511444, 0.0255289357, -0.0213179849, 0.0048892181, 0.0543773025, -0.036758557, 0.0170943402, -0.0725007206, 0.0371459685, 1.799015011e-34, 0.0146670239, -0.0207393207, -0.0003514983, 0.0471097343, 0.0033022533, -0.0139174322, 0.0101919407, 0.0135097094, 0.0497216433, -0.0395687558, 0.0178114399 ]