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.15425v1
http://arxiv.org/pdf/2310.15425v1
The Mason-Alberta Phonetic Segmenter: A forced alignment system based on deep neural networks and interpolation
2023-10-24T00:43:54
2023-10-24T00:43:54
Matthew C. Kelley, Scott James Perry, Benjamin V. Tucker
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
Forced alignment systems automatically determine boundaries between segments in speech data, given an orthographic transcription. These tools are commonplace in phonetics to facilitate the use of speech data that would be infeasible to manually transcribe and segment. In the present paper, we describe a new neural network-based forced alignment system, the Mason-Alberta Phonetic Segmenter (MAPS). The MAPS aligner serves as a testbed for two possible improvements we pursue for forced alignment systems. The first is treating the acoustic model in a forced aligner as a tagging task, rather than a classification task, motivated by the common understanding that segments in speech are not truly discrete and commonly overlap. The second is an interpolation technique to allow boundaries more precise than the common 10 ms limit in modern forced alignment systems. We compare configurations of our system to a state-of-the-art system, the Montreal Forced Aligner. The tagging approach did not generally yield improved results over the Montreal Forced Aligner. However, a system with the interpolation technique had a 27.92% increase relative to the Montreal Forced Aligner in the amount of boundaries within 10 ms of the target on the test set. We also reflect on the task and training process for acoustic modeling in forced alignment, highlighting how the output targets for these models do not match phoneticians' conception of similarity between phones and that reconciliation of this tension may require rethinking the task and output targets or how speech itself should be segmented.
[ -0.042958349, 0.0645635873, 0.0258383229, -0.021790985, -0.0627551749, -0.0257618874, 0.0495912619, -0.0482051857, -0.0223795641, 0.053410653, -0.0190674458, -0.0325012542, 0.0745544881, -0.0400768854, 0.0158702619, -0.0545669682, -0.0041922582, -0.033217717, 0.0441884547, 0.001896149, 0.0498042256, 0.0167573374, -0.0645582825, 0.0327641182, -0.0756329671, -0.020864239, -0.0145775843, 0.0177535657, 0.0252536908, 0.0035381843, 0.0038301565, 0.0016048587, -0.0196903348, 0.0595192723, 0.0000015718, -0.0353617445, -0.0004184156, 0.0172117129, -0.053872034, 0.0000999088, -0.0429491512, 0.0062841438, -0.0357731096, 0.0285036471, -0.0067973393, -0.0208301023, 0.0872364044, -0.0161417294, 0.0203066524, 0.0340777375, -0.0259929504, -0.0716473833, 0.030766312, -0.0054011624, -0.0508941114, -0.0263593197, 0.0169404373, 0.0019014741, -0.0016678704, -0.0973006561, -0.007551719, 0.0631272197, -0.0134682506, -0.0212998521, 0.0052711321, 0.0016457073, -0.0470715053, -0.0476745665, -0.0080164755, 0.0507856756, -0.0389083624, -0.0105624935, 0.0199124813, 0.0213939678, -0.0110147307, -0.0284232944, -0.0067003905, -0.0080528352, -0.0058589703, -0.0079497881, -0.0074756304, 0.0265551619, 0.0329103582, -0.0488446876, -0.0735545382, 0.0148200225, 0.0343693495, -0.0523964837, -0.0186946932, -0.0030170099, 0.0169752724, 0.0145243509, 0.0731663778, 0.0272560082, -0.0104035009, 0.0057776645, -0.0240902547, -0.0485330783, -0.0106654018, 0.0003895315, -0.0192962587, 0.0340909325, -0.0421603918, 0.0051969648, -0.0145922014, 0.0391450562, -0.0320740268, 0.0344443358, -0.0177384149, -0.017281007, -0.0128517812, -0.0026141028, -0.0284251478, -0.039357055, 0.0236903932, 0.0186307225, -0.0600965545, -0.0087575493, -0.0325785391, 0.0418877192, 0.0358105674, 0.0189031884, -0.034310393, -0.0128305582, 0.0248780586, 0.0525974557, -0.0336279124, 0.0423100516, -0.011065837, -0.0530220345, 0.018017441, 0.0447095446, 0.0375836566, 0.0093798293, 0.0140381409, 0.0253246296, -0.03852598, 0.0230455492, -0.0341813676, 0.0028845528, -0.0605754778, -0.0417162441, -0.0315193348, -0.071023196, 0.058934249, -0.0363364816, -0.0110481996, -0.0392309912, -0.0476849638, -0.0442551635, 0.0188606884, 0.0721705332, -0.0042982339, 0.0629927665, 0.0657441318, -0.0339686014, 0.0410335176, 0.0155105693, 0.0711502433, -0.047900632, 0.0116015989, -0.0525634326, -0.0270447452, 0.0689106658, -0.0037800919, -0.0329499356, -0.0554736182, -0.060416989, 0.0227726996, 0.0845073685, 0.0542435944, 0.0476579256, 0.0077433153, -0.0211346615, 0.0437635854, 0.0773245469, 0.0795982406, 0.0458218902, 0.0167802852, -0.005934523, -0.0111695174, 0.0282654595, -0.0253211558, -0.0339954942, 0.031593807, 0.0584005862, 0.030442981, 0.0494175106, -0.0238123834, -0.0076423753, -0.0073009138, -0.0250094607, -0.0001351086, 0.0075545935, 0.0404615961, -0.0238030031, -0.017731335, 0.0234208703, -0.0391225442, -0.0212275404, 0.0004039191, -0.0130577665, 0.0063962275, 0.0591449365, 0.0020345724, -0.0463401638, -0.0450030603, -0.0093019633, -0.0363376103, 0.0419440418, 0.0206401274, -0.0005393387, 0.0020712239, -0.0885641798, -0.0022615676, 0.0994384587, -0.0017752232, 0.017476663, 0.0017511679, 0.0256806109, -0.003734567, -0.0074597439, 0.0284249205, 0.0161452442, -0.0139249219, -0.0042657498, -0.0550602973, 0.0528449677, 0.0233971998, 0.0443489142, -0.0070295297, -0.002052045, 0.0420900509, -0.017542718, 0.0785914063, 0.0178509932, -0.0246217307, 0.012710439, 0.0802113861, -0.0538564548, -0.0319891758, 0.0146983135, 0.0281990282, -0.079356119, 0.0076254224, -0.0085978555, 0.0363473929, -0.0357062705, 0.0545427613, 0.0132310502, -0.0188003443, -0.0197879858, -0.0217398107, 0.0332798995, 0.0027460349, 0.0320171602, -0.0292578861, -0.035579145, -0.0368196592, 0.0096197054, 0.028428413, -0.0338288061, 0.0063415263, -0.0433011875, -0.0433332473, -0.0077301199, -0.0245031137, -0.061311949, 0.0041619898, -0.0175106172, 0.0266756471, 0.0011687827, 0.0007896964, -0.0065691816, -0.0109801851, -0.0433587208, -0.0321283266, 0.0080826394, -0.0305162948, -0.0051623075, -0.0101374434, -0.069041431, -0.0531137213, -0.0021270788, -0.033700753, -0.0103951143, -0.0227558427, -0.0446138419, -0.0525323562, -0.0444377549, -0.0097929919, 0.0039003184, 0.0328711383, -0.0316043869, 0.0016225316, -0.0116848927, 0.0542983077, 0.0079798046, -0.0225892253, -0.0453231744, -0.002356441, -0.0171133149, -0.0370952375, -0.0044091106, -0.00486991, 0.0572992302, -0.0318741016, -0.0057320548, -0.0433236882, 0.0659549162, 0.0152605427, 0.0416869596, -0.0319093801, -0.0199456699, 0.0218201783, -0.0150723942, 0.0184201989, -0.0279507022, -0.0419138968, -0.0214425195, -0.0521148182, -0.0431679823, 0.0302150417, -0.0793049335, -0.0552748851, -0.0347117893, -0.0547334924, -0.0029743752, 0.0087792175, -0.0091302767, -0.0115169017, 0.0203870423, -0.053902518, -0.0320681483, 0.0329884179, -0.0168929771, -0.0367788449, 0.0493755713, -0.0258514639, 0.0029108913, -0.008399616, -0.000837658, -0.02710885, -0.0036859128, -0.0338403322, 0.0467064641, 0.0339877754, -0.0433921181, 0.0210881401, 0.06219621, 0.0015177361, 0.0536244586, 0.0145677328, 0.0431669056, -0.0155395567, 0.0749226958, 0.014630246, 0.0390836149, -0.0252768658, 0.01973233, 0.0327964239, -0.0290280078, 0.0542250201, 0.0577868894, -0.0698895305, -0.0523655489, 0.0110181887, -0.0386274792, 0.0178537909, -0.0090019898, 0.019121442, -0.0198776629, 0.0242956653, 0.0905155241, 0.0133442068, 0.0219151601, -0.0126401987, 0.0196468197, 0.0576955341, -0.0096864579, -0.0073840455, -0.0210587829, -0.0072672614, 0.0520747602, 0.0199698713, 0.040596284, 0.0365801342, 0.016385654, -0.0561185218, -0.0024929938, 0.026272567, -0.0338310264, -0.000016362, -0.003234247, -0.0168070979, -0.0284783132, -0.0054780953, 0.0250793714, 0.0067279604, -0.0557888858, 0.0568680353, -0.0770729482, 0.017632477, -0.0306452792, -0.0933861881, 0.0502577089, 0.0466150269, 0.0259503275, -0.015802443, -0.0328487456, 0.0645799413, 0.0095121991, -0.0007944755, 0.044880718, -0.006114291, 0.0097709587, -0.0205082595, -0.0041945181, 0.0200501774, 0.0212006774, 0.0459707938, 0.005622624, 0.071122624, 0.0046508666, 0.0566479303, 0.0036867035, 0.0547209866, -0.0305729322, 0.0357244648, 0.0250922162, -0.0231775604, -0.0190263875, 0.0146878744, 0.0701559931, -0.0542493239, 0.0214599986, 0.0668983981, -0.0299410317, -0.0539893471, -0.0365404077, 0.0050452566, -0.0055151721, 0.0527554452, 0.0732519999, -0.0508714654, 0.0249170437, 0.0160205215, -0.0145558482, 0.0129968859, -0.0071670744, 0.0370690748, -0.0527503304, 0.0072263074, 0.0346556194, -0.0287422389, 0.0359844752, 0.0230081733, -0.0296648312, -0.068393074, 0.0604200661, -0.041940745, 0.0271773487, 0.0803183392, -0.0644716844, -0.0139520457, 0.0272417869, -0.0032459856, -0.0002276889, 0.0032047187, 0.0178489406, -0.0298412498, -0.0049710218, -0.0015144496, -0.029336568, 0.0079392344, -0.0625508428, 0.0074016065, -0.0673199296, -0.0556012429, 0.0080802543, -0.0102251917, 0.0772143304, 0.0013781423, 0.0271077957, -0.0538744852, 0.0206326228, 0.052913174, 0.0552708693, 0.0090329079, -0.0518854707, 0.0420609415, 0.0591960587, -0.0019086045, -0.0151533345, 0.012853994, -0.0135107171, -0.0121908011, 0.0357789546, -0.0046441369, 0.0320831798, -0.0191872045, 0.0074398862, -0.010107873, 0.0896339118, -0.0301056877, 0.0481050536, -0.0012399432, 0.0017803074, 0.0027058518, 0.0252308585, -0.0159230195, 0.0301820114, 0.0145819522, 0.0078128939, -0.0108903237, -0.0062798713, 0.0671512634, -0.0092153931, 0.0021308726, 0.028313268, 0.0156523064, -0.0116302008, -0.0133174388, -0.0494415015, 0.0258105434, -0.0013435655, 0.0156597998, -0.0358560607, -0.0081365304, -0.0152808977, -0.0119970692, 0.0174425021, -0.0340736508, 0.0012485279, -0.0164769776, -0.0391394235, -0.0097525017, -0.0165820085, -0.0645036623, -0.0804988518, 0.0009823329, -0.0339106172, 0.0405331291, 0.023707334, 0.025601374, -0.0022757212, 0.008391615, -0.0100713316, -0.0544455275, 0.021579409, 0.0522052795, -0.0542324297, -0.0038861078, -0.0334116369, 0.0138911167, -5.45921213e-33, -0.0057044723, -0.0069277487, 0.0276812688, -0.0196318775, -0.0761296675, -0.0044583185, 0.0077293771, 0.001744946, -0.0022930801, -0.0039025787, 0.0091696298, -0.0275555123, 0.027565537, -0.010856811, -0.0015441761, -0.0365673751, 0.0849488825, -0.0148440469, 0.0245021619, -0.065899469, 0.0206123292, 0.0446023643, 0.0100678205, -0.0144134732, -0.0329981372, 0.0140674505, -0.0053441478, -0.0073087974, 0.0094026458, 0.028160153, 0.0226608012, -0.0004419711, -0.0137216542, -0.0171044134, 0.0183773451, 0.0618081056, -0.1374498159, 0.0162081122, 0.0058567775, 0.0860078633, 0.0327623934, -0.0018736504, 0.0812294558, -0.0067051132, 0.0024704051, -0.0191794075, 0.0489845462, -0.0421135053, 0.0299976077, -0.0228189137, -0.0217001624, 0.0318992585, -0.0147612859, -0.0390755162, 0.0773876458, 0.0535168722, 0.0103830472, -0.0274096597, -0.0831013247, 0.0286969692, 0.0253089368, 0.0279542375, 0.0722042248, 0.0517936721, -0.0257280935, 0.0136314714, 0.0804138929, -0.0751723871, 0.0234378818, -0.0046887025, 0.0245974921, 0.0072618756, 0.0386885442, -0.0431828909, 0.0259477533, -0.0120471884, -0.0316862948, 0.0078129461, 0.024716001, -0.0332815498, -0.0289234091, 0.0663006604, -0.0647961125, 0.0168590099, 0.018649932, -0.0542080253, -0.0117014768, -0.0050157919, 0.0231771767, -0.0215525087, 0.0188041963, 0.0523581877, 0.0672538802, -0.0042384616, 0.0479663946, -0.0445996523, 0.0035222508, 0.0072695673, -0.0361924618, -0.0026665055, -0.0462755151, -0.0440868475, 0.0354561694, 0.0321644917, 0.0444277152, 0.0108897081, 0.0199072603, 0.0084479759, -0.0532970242, 0.000442903, -0.0007784151, -0.0108565213, -0.0362632945, 0.0246371552, 0.0681956857, -0.0001015619, 0.0284133907, 0.0118477149, 0.0336459689, 0.0154208578, 0.0025152543, 0.0185421892, -0.0306607839, 0.0061204843, -0.0518410094, 0.0019292423, 0.0352164656, -0.0304193608, -0.0275652334, -0.0366232023, -0.0070787272, 0.0172688402, 2.383e-7, -0.0118233617, -0.0181103908, 0.1134749427, -0.0361182466, 0.0115712192, -0.0262871552, -0.0173390955, -0.0144113544, -0.0247840844, -0.027907189, 0.0572590195, -0.0351347141, 0.0771363601, 0.0282066632, -0.0934360251, -0.018550666, -0.044564683, 0.014620115, -0.0455773212, 0.0344179496, 0.0048065442, 0.0511302166, -0.0098872222, -0.0444086343, 0.0272815507, -0.0006991646, -0.0589978024, 0.0151434764, 0.0123093929, -0.0208145101, 0.0553302206, -0.0080527589, -0.0364596583, 0.0519209094, -0.0149330851, 0.0346546061, 0.008748292, 0.01888901, -0.0392696038, 0.0017508566, -0.0046331435, 0.0262711626, -0.0256388932, -0.0259688348, 0.0249923412, 0.0324056596, 0.0208960101, 0.0093031265, -0.0551679134, 0.0122371567, 0.0117573692, 0.0219840035, 0.0383288376, 0.0136956722, 0.0258536413, -0.0237010457, -0.0268280488, -0.0107947113, -0.0302466974, 0.0158622451, -0.0391682461, -0.0090805274, -0.0038238619, -0.0115094725, 0.0204460453, -0.0228762887, -0.0285911914, 1.758504307e-34, -0.0321613327, -0.0295350458, 0.049701903, 0.0326891802, -0.0051708613, -0.0368754566, 0.0116023514, 0.0433495753, 0.0033031842, 0.0008577608, -0.0395141728 ]
http://arxiv.org/abs/2310.15421v3
http://arxiv.org/pdf/2310.15421v3
FANToM: A Benchmark for Stress-testing Machine Theory of Mind in Interactions
2023-10-24T00:24:11
2023-10-31T17:58:30
Hyunwoo Kim, Melanie Sclar, Xuhui Zhou, Ronan Le Bras, Gunhee Kim, Yejin Choi, Maarten Sap
cs.CL
cs.CL, cs.AI
Theory of mind (ToM) evaluations currently focus on testing models using passive narratives that inherently lack interactivity. We introduce FANToM, a new benchmark designed to stress-test ToM within information-asymmetric conversational contexts via question answering. Our benchmark draws upon important theoretical requisites from psychology and necessary empirical considerations when evaluating large language models (LLMs). In particular, we formulate multiple types of questions that demand the same underlying reasoning to identify illusory or false sense of ToM capabilities in LLMs. We show that FANToM is challenging for state-of-the-art LLMs, which perform significantly worse than humans even with chain-of-thought reasoning or fine-tuning.
[ 0.0415454768, 0.0330569409, -0.0531840883, 0.0647742823, -0.0485458635, 0.0052600633, -0.0093223546, -0.0145982131, -0.0066698608, -0.0338083692, -0.067695573, -0.0482036658, 0.0207015462, 0.022430012, 0.0267799068, -0.0244648457, 0.0347593278, -0.0261853486, 0.0087027149, -0.0023491066, -0.0256480686, 0.0204046629, -0.0220615976, 0.0051338407, 0.0073896125, -0.0015071501, -0.0384521298, 0.0285974052, 0.0381944254, -0.0469469614, -0.0021868823, 0.031806767, 0.0024739252, 0.0564132221, 0.000002008, -0.0592824109, 0.0199169684, -0.0121170133, -0.0126919337, 0.0099584842, -0.0054534632, 0.0100956978, 0.037526805, 0.0069387965, -0.0432248786, 0.0115884617, -0.0055544185, 0.0408054665, 0.0303366408, 0.0793489739, -0.0094736228, 0.0465331823, 0.0068169404, -0.0305713452, 0.033210393, -0.0441043749, 0.0119601004, -0.053910207, 0.0126762092, -0.0394789539, -0.0066055837, 0.0128163202, 0.0151989534, 0.0259846058, -0.0164358933, 0.0341673009, -0.0143467197, -0.0214607418, -0.0234709457, 0.1053685769, 0.0769030005, 0.0209691916, -0.0162045509, -0.0158747118, 0.0048872437, -0.0025140843, -0.0141234305, 0.023317147, -0.0245471783, -0.0233442634, -0.0021312337, 0.0248631686, -0.0119403359, 0.015737744, -0.0061360011, 0.0153931472, -0.0155799435, -0.0191990416, 0.0230973084, 0.0016661921, -0.0261287149, -0.0723769516, -0.0362488925, 0.0327223577, -0.048412174, -0.0058775931, -0.0127561009, 0.0240629856, 0.0251962766, -0.0419723913, 0.0616599545, 0.0377355255, -0.006839083, 0.0330258682, 0.0381770581, 0.0581920557, 0.0072294995, 0.0085803699, -0.027162984, 0.0178459678, -0.0294553917, -0.0149282515, -0.0053595314, 0.0314668268, -0.0004215879, -0.0219859909, 0.0346340984, 0.0005704063, -0.0093569607, -0.0186934229, -0.0246562343, 0.0186063219, 0.0090318508, 0.0398680903, -0.0528559424, 0.0276385732, -0.0699719191, 0.0085222637, 0.0193959568, -0.0772781596, -0.0343710855, -0.0004624437, -0.0267280303, -0.0102257766, 0.0194904897, 0.0115106851, 0.0009692495, -0.0281192716, -0.0108458772, -0.011473556, -0.0150904413, -0.0979048833, 0.0192057155, -0.0043085478, 0.0489820316, 0.0094307782, -0.0267597996, 0.0028286343, 0.0359759852, 0.0220596865, -0.0402678251, 0.0680351928, -0.0013339671, -0.0070763929, -0.0235564318, 0.0448458642, 0.0051650284, 0.0320023745, 0.0327732377, 0.0047616889, 0.040086206, 0.026788963, 0.0080107404, 0.025043115, 0.0178859793, -0.0191568788, 0.016964877, 0.0417827405, -0.0252697859, 0.0625052154, 0.0336598083, 0.0857391283, -0.0166869108, -0.0388211086, 0.0506310202, 0.0609004758, -0.0849748477, -0.0204352066, 0.0544457547, 0.0406245999, 0.033974275, 0.0498844795, -0.0508483388, 0.0088156844, -0.0396827087, -0.0427225158, 0.0315534286, 0.0168524329, -0.0500661246, -0.0116933063, -0.0261856299, 0.0026725365, 0.0302429795, 0.0081029935, -0.0068426607, -0.024982648, -0.0188256372, 0.0223414339, 0.0146106072, -0.0225549899, -0.0278417785, -0.0558635741, 0.0018983639, 0.0131990295, 0.0507748351, -0.0013128113, -0.0537372194, -0.0043627699, 0.0015987939, 0.0775505528, 0.0918505266, -0.000762117, 0.0272747744, -0.0118773226, 0.0297559481, -0.0481012315, 0.0195891224, 0.0233705528, -0.0359333865, -0.0098519521, 0.0070895078, -0.0524601527, 0.0277487449, 0.0099455817, -0.0380505547, -0.048916135, -0.0531951413, 0.0124599244, 0.0279776081, 0.0016285562, -0.0200430453, 0.0003663457, 0.0399616398, -0.0113186007, -0.0102805225, 0.0397594087, -0.0380877666, -0.0228924267, 0.0323735364, -0.0217566751, -0.0452919528, 0.0836806893, 0.0129204551, -0.0327260643, -0.0160023626, -0.0435375907, 0.0100909248, -0.0198544078, 0.0183635969, -0.0064618071, 0.0161857326, -0.0093878927, 0.0674818978, -0.0285506174, 0.0400249921, 0.0095974589, -0.0580699854, 0.0422662571, -0.0091346726, -0.0086605446, 0.0146365725, 0.0208804905, -0.0152985035, 0.0005070887, -0.0233672336, -0.0635055229, -0.0246799234, -0.1082671508, 0.0051534907, 0.007420402, 0.0129529499, 0.0153601337, -0.012522405, -0.0179904103, 0.0355552137, -0.0607030243, 0.0477353632, 0.0230304487, 0.0181170106, 0.0284253638, -0.0042151646, -0.0002272446, -0.0313795246, 0.0399560258, -0.0502697118, 0.0118882013, 0.0001112941, 0.0335151926, -0.0151076848, 0.0019355884, -0.0888947397, 0.0298007708, -0.0420464389, -0.0319492333, 0.036229834, 0.0289240237, 0.0045153382, 0.0898791477, 0.0085771894, 0.0131660653, 0.0220833514, -0.0157581139, -0.0275462549, 0.0424646959, 0.0443757772, -0.0265026689, -0.0331951827, -0.0888455585, -0.0000544128, 0.0549146719, -0.0043648332, 0.0214438252, -0.0556912795, 0.0476390049, 0.005802515, -0.0282524712, -0.0014686373, -0.0010224757, -0.024178911, 0.0640698299, -0.0273792706, -0.0169246867, 0.088660039, -0.0559495687, -0.0001575474, -0.0327649191, 0.0135646295, -0.03870444, 0.1019729003, 0.0123789348, 0.0154410955, 0.070486486, 0.0115988441, -0.0818276852, -0.0472023077, -0.0201998986, -0.0247293264, -0.0423557088, -0.0300268605, -0.0043442086, -0.0051215808, -0.0351335965, -0.0532114059, -0.0226394981, -0.0528744273, 0.0101008574, 0.0231747199, -0.0123444591, -0.0115587721, -0.0201661512, 0.0561852008, -0.0140484869, -0.0266572125, -0.0197751168, -0.0190423392, 0.0322723165, 0.0744631216, 0.0238020644, 0.0523796007, -0.0230303053, 0.0443248525, 0.0678591207, 0.0256566647, 0.0563125089, 0.0163256638, -0.0125090014, 0.0092302831, 0.0325844176, -0.0270332545, -0.0032760452, 0.0614591837, -0.0018420717, -0.0209405292, 0.1059390306, 0.032998912, -0.0416048691, 0.0223001093, -0.0326365642, 0.0577324033, 0.0172229446, -0.0015898016, -0.0641289651, -0.0145975053, 0.0280717481, 0.0217729583, -0.0447195843, -0.0762748122, -0.0212828498, -0.1081285626, 0.0064882184, -0.0412214845, -0.0100370627, -0.0122443065, -0.0303661749, 0.0460738204, 0.0310367383, 0.0396761075, 0.0208137389, 0.0072222948, 0.0063519096, -0.0237911846, 0.0021836739, 0.0048049251, 0.0713049173, -0.0192445163, 0.0755437613, 0.0112946779, 0.0649205372, 0.0157436859, -0.0440068617, 0.0435329862, -0.0019086431, 0.0124944989, -0.0362508185, 0.0534958616, -0.013849848, 0.0171821378, -0.0157628972, 0.0265638307, -0.0349624343, 0.0181378834, -0.0047000633, 0.0444366969, -0.0157432556, -0.0389486775, 0.0154153407, 0.0295497756, 0.0013589144, 0.098320365, 0.0508489609, -0.0454530232, -0.0174695849, 0.0026205534, -0.0080782082, 0.0074676485, -0.0651322454, -0.0028280232, 0.0529837273, -0.0069360752, -0.0489069857, -0.093180947, -0.0095176985, 0.0220131408, -0.0143531375, -0.0290807392, -0.009915255, 0.0162725039, -0.0291529354, 0.0216816571, -0.0410367921, 0.0279654786, -0.0095004709, 0.0242185071, 0.0364246555, -0.0382044166, -0.0066499584, 0.0164301861, -0.0434317701, -0.0429859832, -0.0060397009, 0.0125330584, 0.0248356536, 0.0238163061, 0.0042563016, -0.0143222054, -0.0020632406, -0.0536427908, -0.073879078, 0.0855567306, 0.0208920259, 0.0423732214, -0.0092639718, 0.0563646369, -0.016872745, -0.0115770223, 0.0077391118, 0.0285553336, 0.009451922, -0.0261193942, 0.0192293078, 0.0217971671, 0.0265176781, 0.0358429588, -0.0200433806, 0.0026935092, -0.0154762454, -0.0072303833, -0.0004883612, -0.0487518869, -0.0316070057, 0.0168546438, 0.0472849347, -0.0273648482, -0.0894856155, -0.0306933057, 0.0493505187, 0.0034343796, -0.0303373057, -0.0080724526, -0.005428405, 0.0039317315, -0.002949843, -0.0287409164, 0.0118233059, -0.0196117349, 0.0667082146, -0.0012921358, 0.0967516154, 0.0519343428, -0.0285594687, 0.0096866181, 0.0078728972, -0.0767276809, -0.0617636144, 0.0431928113, -0.0181328021, 0.005977408, 0.004175168, 0.0010614019, -0.0270401258, 0.0292847827, -0.0011177212, -0.013383978, -0.0135894977, -0.0294309426, 0.0207197592, 0.0126207042, -0.0224222969, 0.0548830889, 0.0577274747, -0.0133984117, 0.044901263, 0.0120679904, 0.0061286176, -0.0479922108, 0.0191805847, -0.0204934198, 0.0625508502, 0.0184181854, 0.0315555632, -0.0791031942, -0.0680382326, 0.0351536795, -0.007451497, -0.0115201855, -0.049491521, 0.0177666359, 0.0642253831, 0.006225659, -0.0230734758, 0.0137172714, 0.006428401, -0.0332462974, 0.00535896, -0.0317180902, -6.822472969e-33, -0.0232819617, 0.0087130051, -0.0116770919, 0.0429371782, -0.0590436272, 0.0158443451, -0.0511076972, 0.0355361439, -0.0349120945, -0.0152366431, -0.0105580622, 0.0074548475, -0.0109918155, 0.0212487411, -0.0533155017, -0.0360908322, 0.0115392655, -0.0364941396, -0.0506273657, -0.0024722223, -0.0195910744, -0.0062915115, -0.0010066376, -0.0821072608, 0.0571491048, -0.0087326104, 0.0125795081, 0.0447714813, -0.0243765879, 0.0007860655, -0.0218571089, 0.041268371, 0.0406582244, -0.0158884022, 0.0349963009, -0.0077922619, -0.0338663012, -0.0591066293, 0.0693424717, -0.016382413, -0.0245532338, -0.0402144119, -0.016733624, -0.0231672954, -0.0210705716, -0.0166201498, -0.0002154301, 0.0171371233, 0.0305314139, 0.0256233066, -0.0633922294, -0.0128720133, -0.0132969758, -0.0404241011, -0.0407865755, 0.0592073761, -0.0020191709, -0.0334941521, -0.0352958739, -0.0236507226, 0.0231105462, -0.0046096994, 0.0290563367, -0.0345697775, 0.023045022, 0.0807025656, 0.0862418786, 0.0383549184, -0.0627435967, -0.0016004012, 0.0171526521, 0.0320810787, 0.065780133, 0.0391954221, -0.0202547405, -0.0238547698, -0.0382114798, 0.0084302435, 0.0511906631, 0.0235590357, 0.0570290163, 0.0018040235, -0.0398821048, -0.0258356072, -0.0765160099, -0.0429732762, -0.0344011858, 0.0017747213, 0.0161336865, 0.0112782158, -0.0044987509, -0.0627478287, 0.0344683342, -0.0280644353, 0.0444029234, 0.0103502851, -0.0125156371, 0.0359130576, 0.0118839061, 0.0278423782, -0.0411926545, 0.0212633125, 0.0196263101, 0.0357213356, 0.0536727905, 0.0190463811, -0.0077339951, -0.0149535034, -0.0225319397, -0.0132757025, -0.0286435317, 0.0318169855, -0.0465005189, -0.0274999365, 0.0301348493, 0.0260258149, -0.0385308266, -0.0406304821, 0.0061269179, -0.0298494007, -0.0595150962, 0.0275636371, -0.0178833064, -0.002605065, -0.0423829332, -0.0077104396, -0.0062378431, -0.0041433922, 0.0330305025, -0.0336876437, -0.0078892047, -0.030415779, 2.732e-7, -0.0037807364, 0.0484060086, -0.0062676216, 0.0086799422, 0.0114970384, 0.0532470122, -0.0172055028, 0.0126734003, 0.0498693027, -0.0841256231, -0.0211751256, 0.053749647, 0.0814309269, 0.0537224896, -0.0537785701, -0.0155736487, -0.0102986898, -0.0059531303, -0.0287958179, 0.0302187093, 0.0497121811, 0.0355958194, 0.002157473, -0.0056291847, 0.0169927459, -0.0262010358, 0.0238976534, -0.0767710134, 0.0042260299, -0.0028683522, 0.0122845033, -0.009441141, 0.0048256344, 0.0212798044, 0.0328356363, 0.0249085035, -0.0221862029, 0.0296039861, -0.009757543, -0.1088170037, 0.0025861927, -0.0140750464, -0.0118673332, -0.0693536028, 0.074942939, -0.03584655, -0.0562018007, 0.0098273801, 0.0316042043, 0.0095318491, 0.0090657715, 0.0295967981, -0.0373195484, 0.0185292102, 0.015640581, 0.0061091809, 0.0074585793, -0.0628171414, -0.0024459744, -0.0449135341, -0.0207911339, -0.0832030326, -0.0347606465, -0.0078079221, -0.0131665533, -0.0393755361, 0.012761605, 2.593748948e-34, 0.0376849435, -0.0189875774, 0.0346224494, 0.0274146087, 0.0785620734, -0.0035356535, 0.0120745106, -0.0025121667, 0.0333631262, -0.111655727, -0.0013739883 ]
http://arxiv.org/abs/2310.15420v1
http://arxiv.org/pdf/2310.15420v1
Let the Pretrained Language Models "Imagine" for Short Texts Topic Modeling
2023-10-24T00:23:30
2023-10-24T00:23:30
Pritom Saha Akash, Jie Huang, Kevin Chen-Chuan Chang
cs.CL
cs.CL
Topic models are one of the compelling methods for discovering latent semantics in a document collection. However, it assumes that a document has sufficient co-occurrence information to be effective. However, in short texts, co-occurrence information is minimal, which results in feature sparsity in document representation. Therefore, existing topic models (probabilistic or neural) mostly fail to mine patterns from them to generate coherent topics. In this paper, we take a new approach to short-text topic modeling to address the data-sparsity issue by extending short text into longer sequences using existing pre-trained language models (PLMs). Besides, we provide a simple solution extending a neural topic model to reduce the effect of noisy out-of-topics text generation from PLMs. We observe that our model can substantially improve the performance of short-text topic modeling. Extensive experiments on multiple real-world datasets under extreme data sparsity scenarios show that our models can generate high-quality topics outperforming state-of-the-art models.
[ 0.0228116959, 0.0154849421, 0.0037253806, 0.0349320211, -0.0311729796, -0.0166844744, 0.000557087, -0.001770479, -0.0779930577, -0.0605940819, 0.0004213708, -0.0283425767, 0.0089602098, 0.0676255077, 0.0130401468, -0.0414457619, 0.0022391498, -0.0217977315, 0.0332005844, 0.0213922709, 0.0401128009, 0.014079703, 0.033976756, 0.0194785334, -0.0274724271, -0.0097670564, -0.0446765497, -0.0190758016, -0.0385245048, -0.0271372292, 0.0247526243, 0.0391084142, 0.0312155578, -0.026363479, 0.0000017142, -0.0056143356, -0.0098647745, -0.029085394, 0.0483644642, 0.0249463245, 0.0572997741, -0.0336630046, 0.0430103429, 0.0175824966, -0.0258555561, 0.0077570858, -0.0158436224, 0.100765653, 0.0352240689, 0.0980398729, -0.031914603, 0.0253735073, 0.0196665693, -0.0454495847, 0.0503867492, -0.0227591377, 0.0031332609, -0.0420583338, 0.0199840702, 0.0614651106, 0.0053648781, -0.00144001, 0.0046001459, -0.0001403549, 0.0208247174, 0.0334974751, 0.0041960608, -0.0267449375, 0.010948929, 0.0696511716, -0.0400031731, -0.0326086208, 0.049260214, -0.034640085, -0.0284903422, -0.0190547649, -0.0424191467, 0.0388612375, 0.0140831377, 0.03670175, 0.0591166094, 0.0084636677, 0.026224779, 0.0187612083, -0.028449636, 0.0027053584, 0.0253097769, -0.0253747869, -0.0544644445, -0.0171063337, -0.0115967337, -0.0376871601, 0.0171911512, 0.0509313904, 0.0270731505, 0.0077648838, -0.0584191605, -0.0560030341, 0.0321643315, -0.0488294363, -0.0247070938, 0.0063517559, -0.0383584537, 0.0497825556, -0.0081020966, -0.0330686606, 0.0147661129, -0.0134609146, -0.0403128453, 0.0030125612, 0.0090482123, 0.0097054066, -0.0345785394, 0.0586873814, -0.0077024568, -0.0472184084, 0.0050017065, 0.0275873952, 0.044322826, -0.0296034422, -0.0260661524, 0.0186522938, -0.0308638941, -0.0208646823, 0.0083087888, 0.0190625042, -0.0284635928, 0.0505696051, 0.0063146772, 0.0037844258, -0.0062970622, 0.0598517358, 0.0482569337, 0.0000042664, 0.000391608, -0.0081205182, -0.003328721, -0.0775486678, -0.0656996742, -0.0326320231, -0.0098121352, -0.0279734619, 0.0054313904, -0.0912636667, 0.010582882, 0.0162349492, -0.010180763, -0.033219818, 0.0149817122, 0.0420335047, -0.0593638904, 0.0372665524, -0.0440093502, 0.0268571787, 0.0519950874, 0.0381742045, 0.0566937737, 0.0512736402, 0.0262792278, 0.0647092015, 0.0548602454, 0.0069033909, -0.0084046843, 0.0094024455, 0.0372581519, 0.0032764836, 0.0259466153, -0.0053032115, -0.0322580151, 0.0075789192, 0.0392451063, 0.0566182844, -0.01769685, -0.0119974799, 0.043526344, 0.0671072751, 0.0398132056, 0.0322373845, 0.0373975486, 0.0319773667, -0.0162013117, 0.0116254902, 0.0142388362, -0.0169773847, -0.0205190312, 0.0065205884, 0.0678536817, 0.0083749397, -0.0611473098, -0.0243828632, -0.0027017156, -0.0507155322, 0.0110815065, -0.0409489907, 0.0772157237, 0.0244209841, -0.0241408609, 0.0510562137, 0.0323308818, -0.0510937423, 0.0335701182, -0.0095679546, 0.0673274472, 0.0351166949, 0.0405718349, -0.02944584, -0.0221069753, -0.0207295753, 0.0399180911, 0.0298207421, 0.0058071385, 0.0102588972, 0.0067498754, -0.0272084493, -0.0067201736, -0.040902555, 0.033046253, -0.0137194199, -0.0162582789, 0.016324617, 0.0702591836, -0.0113616167, -0.0086310469, 0.0520014986, -0.0441771373, 0.0041990872, 0.0301778466, -0.0179258455, 0.0170495603, 0.0142807327, 0.0138593465, 0.0338050574, 0.0527350977, -0.0450933389, -0.0053022006, -0.0339263938, -0.0468648151, -0.0370512903, 0.0324516632, -0.0314303711, 0.0614612065, -0.0096413083, -0.0194232743, -0.0383137949, 0.027998589, -0.0313954651, -0.0061500254, -0.050083708, -0.0040690801, 0.0065777078, 0.0090563241, -0.0182694569, 0.0375025533, 0.0027105876, 0.0412167199, 0.0070015988, 0.0122015653, 0.0383162089, -0.0550579689, -0.0196806677, 0.0088311508, -0.0073640603, 0.0068194899, 0.0639166012, 0.0255747139, 0.0201345291, -0.0290272646, -0.0860502571, 0.0147486711, -0.0262295641, -0.0278879721, 0.0259118155, 0.0129833156, 0.000517307, -0.0215319321, -0.0492392145, 0.0041707112, 0.0268149525, 0.0107113216, 0.035925027, 0.0139588993, 0.0348744541, -0.067844145, -0.0034552664, 0.0034116455, 0.0487542152, 0.0098280767, -0.0225880817, -0.0439537354, 0.065903537, -0.0166878961, -0.0270695388, -0.0114584779, 0.0045408122, -0.0153454095, -0.0582038797, 0.0839093998, -0.0165568013, 0.0447658375, 0.043083895, 0.0379590429, -0.0165299792, -0.0238133464, -0.029935509, -0.0522202961, 0.0716878548, 0.002297075, -0.0250519179, 0.0306021329, 0.0565222129, -0.0099012647, -0.0062789232, -0.0332667157, -0.0041206889, 0.0013183877, 0.018707078, -0.0371322259, -0.0069135912, 0.0209834725, 0.0050374945, -0.0320374295, -0.0487711504, 0.0352057628, -0.0432759076, 0.034537904, -0.0450190939, -0.0301133152, -0.0765408278, 0.0324320495, 0.0218953267, -0.0063655311, -0.0232375022, 0.0040439595, -0.0205418468, 0.0226552412, -0.025283698, -0.0104446523, 0.0593057461, -0.0115118939, 0.0236396138, -0.0137684746, -0.0098786019, -0.0255748723, -0.1065911576, 0.0416289046, 0.0155595578, 0.0195792001, 0.0036610914, -0.0154660139, 0.020407958, 0.0137294866, 0.061974436, -0.0262428708, 0.0021167547, -0.0156949777, 0.0522186644, 0.0805352926, -0.0536496229, -0.0163961872, -0.0459967777, 0.0037151303, 0.0243332293, 0.0093711857, -0.0177043825, -0.052591119, -0.0177841857, -0.0074378657, -0.0331111923, -0.0281952731, 0.020822037, 0.0060524987, -0.0476391986, -0.0144696627, 0.1146170869, 0.0129630296, -0.0539240502, 0.0025781568, 0.0049515762, 0.01750312, -0.0103170434, 0.001371288, -0.0526309907, -0.0078761009, -0.0182928927, 0.0113761937, 0.0256320387, -0.021982111, -0.0214004554, -0.0433385521, -0.0134153748, 0.016830733, -0.006180644, -0.0247222297, -0.0787960663, -0.0168220848, 0.0121552078, -0.0205982029, -0.0076318346, -0.0494831912, 0.0095441015, 0.006503847, -0.0328446627, -0.0619098544, -0.0292259697, -0.039614208, 0.0250183567, 0.0144314785, 0.019460991, -0.0020511688, 0.0358301736, 0.0067163999, -0.0155450264, -0.0130516803, -0.0048480104, 0.0309144612, -0.0362195708, 0.0150379343, 0.0157422572, 0.0283730999, -0.0606575385, -0.0305401888, 0.0139485626, 0.045509249, -0.0566080511, -0.0227555018, -0.0347301252, 0.0121550169, 0.0178440325, 0.0863684416, 0.0499388464, -0.0377365984, -0.023197988, -0.0136966389, 0.005985267, 0.0184056386, -0.006834886, -0.0368415602, 0.0032638153, -0.0435866639, -0.0785048082, -0.0878594518, 0.0414552279, 0.0038646325, -0.0086693745, 0.0333848074, -0.0077713043, -0.0399085432, -0.0331048779, 0.0401619822, -0.0150895892, -0.0292180069, -0.0726224035, -0.0073045418, 0.0525982454, -0.0528573878, 0.0091457162, -0.0158955734, -0.104194656, -0.0487278998, -0.014493214, 0.0164882056, 0.005594105, 0.0147366086, -0.0154188033, -0.0784798041, 0.0566653237, 0.0460026488, -0.086929746, 0.0164508522, -0.0117878355, -0.0179002844, -0.0024494668, 0.0083896285, -0.0472905524, 0.0560626574, -0.0005732441, 0.0418767668, -0.0371481255, -0.0705607086, -0.0019480537, -0.0184546597, 0.0635176077, -0.0072981673, -0.0010815931, -0.0826878622, -0.0273227785, -0.02011301, 0.0250350554, -0.0357333757, 0.0279523842, 0.0112220077, 0.0011500268, -0.0366714597, 0.0206904113, -0.0459934622, 0.0564950183, -0.0087296981, 0.0164734516, -0.0274863113, 0.0131863886, -0.0162377022, 0.00189523, -0.0121885389, 0.010815816, -0.0605519488, -0.0265757591, -0.0361943059, 0.0260423385, 0.0202384125, 0.0023414542, -0.0101071373, 0.0130212512, -0.0622857288, -0.0090160519, -0.0414083265, 0.0312673189, 0.0462226123, -0.0286678877, 0.0337760299, -0.0361304097, 0.0019091967, -0.0577999502, 0.0691396147, 0.0023869537, -0.008793762, -0.0014081624, 0.0249156691, -0.047720015, 0.0140982624, 0.1056687683, 0.0549639314, 0.0031058604, 0.0536413267, -0.0091200825, -0.019789543, 0.0148168579, 0.0631322265, 0.0537175797, -0.0422140323, 0.0252300501, -0.0124153327, -0.0006148773, 0.0287459921, -0.0330407992, -0.0212773196, 0.0100004766, 0.0551754646, 0.0884498954, -0.0320650749, 0.0582698025, -0.0621701367, 0.0268370919, 0.0086433645, -0.0509551242, -0.0233891383, -6.305122476e-33, -0.014388117, -0.0303850174, 0.0204340238, 0.0469904616, 0.0101438612, 0.0136639718, -0.0556179248, 0.0086959805, 0.0163107663, 0.0102180243, -0.0093293535, 0.0226864275, -0.0161884222, 0.0488308743, -0.015697252, 0.0032089166, 0.0724832267, -0.0119680287, 0.0001417741, 0.0588407442, 0.0297210682, 0.0533597581, 0.012453462, -0.0543814935, -0.0079003731, -0.0470731892, 0.0234055351, -0.0077171526, 0.0917336941, 0.0462248139, -0.0283183083, 0.0295546968, 0.0666788295, -0.0207490735, -0.0337445401, 0.0368317105, -0.0554559715, -0.0340217724, -0.0125792408, -0.0689288676, -0.0244412553, -0.0450503528, 0.0233157836, -0.0109997056, 0.0432703793, 0.0113051506, 0.0806333274, -0.0185611118, -0.0265917499, -0.040331319, -0.0512613207, 0.049131263, 0.0124018071, -0.0189622641, 0.0143748699, 0.0013489545, -0.0163427107, 0.0499094017, -0.0266014058, 0.0378060639, 0.0160069, 0.0619048513, -0.0112028942, -0.0185631085, -0.0206028707, 0.0411416888, -0.04532988, 0.0379267819, -0.0104592973, 0.0289826151, 0.039471522, 0.0416147299, 0.0337260999, 0.0098179057, 0.0521685109, 0.0046823341, -0.0656725168, 0.0420032702, -0.008643169, -0.000223994, 0.0304138381, -0.0184708405, -0.0106144538, -0.0213003121, -0.0209275875, 0.0272275265, -0.0152050154, -0.0568993837, 0.0145162819, 0.0768971667, 0.0032268709, 0.0005336317, 0.0445658825, -0.0053246538, -0.0176354237, 0.0486698933, -0.0317155384, -0.014564855, -0.0088519612, 0.0203859434, -0.0937822312, -0.0496894494, 0.034979403, -0.0331101455, -0.0255952738, -0.0062399418, 0.0360155702, -0.0008893805, -0.0363558121, -0.0095065208, 0.0003034467, -0.0266278423, -0.0137880594, 0.0261126738, 0.0021517435, 0.0194093939, -0.0014816059, 0.086844705, 0.0032379727, -0.00444989, 0.002250053, -0.0921531543, 0.0161931962, 0.0357343704, -0.0165592059, 0.0094643757, -0.0402371176, 0.0245201718, 0.0447517373, -0.0485436916, 0.0043749562, -0.0101824617, 2.392e-7, 0.0346091315, 0.018879937, 0.009858449, -0.0238051172, 0.0027742945, 0.0157222822, -0.0234212838, 0.048053734, -0.0274357442, -0.0098170824, 0.0194585416, 0.0277157724, 0.0033412655, 0.006574403, -0.0641232282, 0.034729708, -0.0654631779, -0.0115644867, -0.0637187734, -0.0351532623, 0.0358534418, 0.0920765549, 0.0280680899, 0.0036059816, -0.0024636029, -0.0470363945, 0.0950504616, -0.0337661915, -0.0577859357, 0.0440210961, 0.0743675604, 0.0322339609, -0.0203344673, -0.0733259022, -0.0277137961, 0.0367477648, 0.028242413, 0.0555485524, 0.014810171, -0.0219005961, 0.0378121808, -0.018487459, -0.0203340892, 0.0063307076, 0.0589660928, -0.0651632696, -0.0188290793, -0.0232577249, 0.006845322, 0.0153943896, -0.0012842716, -0.0296404902, -0.0084760468, 0.0092744743, 0.0072969492, -0.0212733299, 0.0163483117, -0.0593093485, 0.0134415291, 0.0145660974, -0.0450324863, 0.0096057365, -0.0746383891, 0.0042972672, 0.0509956479, -0.0393798351, 0.0393975712, 2.320213938e-34, 0.0380615704, -0.037694823, -0.0587630644, -0.012977154, -0.0052500428, -0.0167370122, -0.0207195356, 0.0035029978, 0.0083368793, -0.0535389259, -0.0040228642 ]
http://arxiv.org/abs/2310.15415v1
http://arxiv.org/pdf/2310.15415v1
Mind the Gap Between Conversations for Improved Long-Term Dialogue Generation
2023-10-24T00:12:38
2023-10-24T00:12:38
Qiang Zhang, Jason Naradowsky, Yusuke Miyao
cs.CL
cs.CL, cs.AI, cs.HC
Knowing how to end and resume conversations over time is a natural part of communication, allowing for discussions to span weeks, months, or years. The duration of gaps between conversations dictates which topics are relevant and which questions to ask, and dialogue systems which do not explicitly model time may generate responses that are unnatural. In this work we explore the idea of making dialogue models aware of time, and present GapChat, a multi-session dialogue dataset in which the time between each session varies. While the dataset is constructed in real-time, progress on events in speakers' lives is simulated in order to create realistic dialogues occurring across a long timespan. We expose time information to the model and compare different representations of time and event progress. In human evaluation we show that time-aware models perform better in metrics that judge the relevance of the chosen topics and the information gained from the conversation.
[ 0.033705093, 0.0787393153, -0.0318038911, -0.0111344364, -0.0483591855, -0.0005518944, 0.0302239601, -0.0176648144, 0.0013927305, -0.007502669, 0.0030681007, -0.0602190495, 0.0285116974, 0.0568037368, -0.0185929835, -0.0925398469, 0.0398059711, 0.0023805236, 0.0287807193, 0.0205119029, 0.0141649498, -0.0120149031, -0.0290376488, 0.0585201979, -0.006844393, -0.0264199544, -0.0614813827, -0.0279016234, 0.0369943492, -0.0244386904, 0.0035393361, 0.0467654988, 0.0084814392, 0.0168889891, 0.0000018834, -0.0098172054, 0.0178525113, -0.0550817624, -0.035832487, 0.0058781886, 0.0260215551, 0.0288261343, 0.0226181448, 0.0417889357, -0.0748800114, 0.0086637214, 0.0122514348, 0.0236740019, 0.0561210476, 0.0575491898, -0.027127333, 0.0351746902, 0.0051934412, -0.0438184142, 0.0498839691, -0.0825971812, -0.0295015816, 0.0296686124, 0.0374475531, -0.0185728613, 0.012057961, 0.0095102312, 0.0252248272, -0.0416504033, 0.0525688902, 0.0432546176, -0.033638157, -0.0025870756, -0.0207267813, 0.085458748, 0.0320362076, 0.0003188544, 0.0126903933, -0.0061832662, 0.0090044159, -0.0503705777, -0.0646850988, -0.0164526179, 0.0131612485, -0.0081185689, -0.0161367208, 0.0713167787, -0.0017803762, 0.0153593067, 0.0359446816, 0.0119147906, -0.0015774422, -0.0156804938, -0.0630037263, -0.0114436802, 0.012012613, -0.1033911854, 0.0237577297, 0.038139686, -0.0473911092, 0.0207687989, -0.0555728748, 0.0851884186, -0.0038590697, -0.0135271093, -0.0216162018, 0.0442043953, 0.0098540923, 0.0410133116, 0.047270909, 0.0341679342, 0.0177458543, -0.0606630854, -0.0267746951, 0.0121022202, -0.0439481139, -0.0216186922, -0.0331352279, -0.0189005584, -0.0487018265, -0.0487083644, -0.0355449431, 0.0618793517, -0.0041621849, -0.0050196252, 0.0026920298, 0.0367743261, -0.0327548385, 0.0165565722, -0.0552217662, 0.0244530179, -0.07046552, 0.0088730631, 0.0496113002, -0.071004644, -0.010958299, 0.0286472719, 0.0144549226, -0.016738601, -0.0443685241, 0.0441027842, -0.0504451357, 0.0071566855, -0.0206333492, -0.0515039377, -0.0283917338, -0.0510673039, -0.007090562, -0.0099891974, 0.0489660054, -0.0026743622, -0.0343841612, 0.0124478778, 0.0028275258, 0.0001850772, 0.020281896, 0.0486899167, 0.0178122707, 0.0538415872, 0.0710180774, 0.0410164669, 0.0127155613, 0.0253727268, 0.0550276972, -0.0089512933, 0.021985285, 0.0046467623, 0.0026740341, 0.0124751553, 0.0159847327, -0.0123236468, -0.0071628368, 0.0281940084, -0.0114101246, 0.0570861772, -0.0008940679, 0.0257731713, -0.0420468226, -0.0229922105, 0.0813350827, 0.0250559542, -0.0199359562, 0.0178461708, 0.0261500608, 0.0074921674, -0.0048314338, 0.0117249349, -0.0163825601, 0.0454692282, 0.0246075522, -0.0065878453, 0.0402872711, 0.0017921226, -0.0403116457, -0.0522324517, 0.0259668622, 0.014386883, 0.0512898713, -0.001333556, -0.0087020528, -0.0068742847, -0.0333813056, 0.0794777423, -0.0265682358, -0.0226798374, -0.0193931591, -0.0208331589, 0.0137687288, 0.0959377512, 0.0655007958, -0.0057896846, -0.0652533919, -0.0223665088, 0.0390718468, 0.0202645343, 0.064677462, -0.033373788, 0.0353894532, -0.0427276567, -0.0053612282, 0.0187230855, -0.0101196961, 0.0159944519, 0.0263331626, 0.0544614382, 0.0102690002, 0.0060244491, 0.0148728425, -0.0012576818, -0.045984786, 0.011969218, 0.0094152791, -0.009380606, 0.0118886074, 0.0166237857, 0.0042732675, -0.0022629618, 0.0135850161, -0.0298772641, -0.0155485021, 0.0930981487, -0.1017420068, -0.037265826, 0.0306554418, -0.0106574791, 0.0053958772, 0.0034088443, -0.0007094385, -0.0426266603, 0.0400364101, -0.0411776751, 0.0505521633, -0.021410482, 0.0304688979, -0.0020427883, 0.0185694583, -0.0257938206, 0.0402860753, -0.0189594589, -0.0045078653, 0.0354366712, 0.043069046, 0.0231870245, -0.076750949, 0.030066615, 0.0603246354, -0.0012942104, -0.0100957891, 0.0244570412, 0.0085537368, -0.0800243989, -0.0319183059, -0.1643617302, 0.0067697675, 0.0041971724, -0.0080145011, 0.0141614312, 0.0079300813, -0.0007603334, -0.0310143009, -0.0762740225, -0.0029493109, 0.0292892922, -0.0170514807, 0.0422857851, 0.0136873228, -0.0113978283, -0.0470382087, 0.0046387045, 0.0081533901, 0.045189511, 0.0022522577, -0.0212791879, -0.0065508708, 0.0015385376, -0.0616494119, 0.0196123216, -0.0224413369, -0.0361470692, 0.0381656438, 0.0256332811, 0.0683717802, 0.0555736534, 0.0858944282, 0.0413543582, -0.0072996584, -0.0404819734, -0.0277384222, 0.031098675, -0.0252304003, 0.0362666771, -0.0351734757, -0.0172460172, -0.0200425461, 0.007753036, 0.0109014297, 0.0503013805, -0.0445803776, 0.0383016616, -0.0037175131, -0.0401122123, -0.0132115399, 0.018675996, -0.0273612794, 0.0230325852, -0.0326216295, -0.0412906297, 0.0627280697, 0.0264238287, -0.0174789857, 0.0017803634, -0.0074516577, -0.0352082364, 0.095140405, -0.0243185367, -0.0143379671, -0.0073494874, -0.0273282826, -0.045150131, 0.0084706461, 0.0334217586, -0.0543046296, 0.0064889677, -0.0409399569, -0.0116151739, 0.0170861166, -0.0240691435, -0.076949887, -0.0612893961, -0.0329737924, -0.0085073384, -0.0310031939, -0.0226178765, -0.0579447225, 0.0235970262, -0.0236433074, 0.0144295292, -0.0432498679, -0.0019502417, -0.0065530161, 0.0634157062, 0.0556824915, 0.0060510305, -0.0160843544, -0.0319651738, 0.0611793287, 0.0156171983, 0.027492173, 0.0113425096, -0.0155671593, 0.0026617812, -0.0166262463, 0.0120724337, -0.0002775995, 0.0209012982, 0.0496648066, -0.0103428848, -0.0256676171, 0.1187688336, 0.045318082, -0.0253257509, 0.0051266029, -0.0429546908, 0.0582979769, 0.0101065161, -0.0004872066, -0.0645829737, -0.0212575123, 0.0112980912, 0.0028774112, -0.0474860705, -0.03683706, -0.0113335429, -0.076919511, -0.0026668033, 0.0266822837, -0.045915924, 0.0223481413, 0.02073735, -0.0140130157, -0.012191914, 0.0307448152, 0.0049980357, 0.0288954899, -0.0023200589, 0.013485034, -0.0596867874, -0.0270075146, 0.0600390621, 0.0417738594, 0.103807427, 0.0468024351, 0.0891706422, 0.0595005937, -0.0384399444, 0.0089855455, 0.0232418347, -0.0091522112, 0.0066619078, 0.0521333739, 0.0076867612, -0.0235601254, -0.0305077713, 0.0536512472, 0.0038977484, -0.0172074754, 0.032431528, 0.033844091, -0.0541101247, 0.0103705674, -0.0096924789, 0.035876371, 0.0635715201, 0.045242615, 0.0202943943, -0.0531869531, -0.0407456122, 0.0272450112, 0.0245277546, -0.0574219227, 0.0087349387, 0.000406157, 0.0250789765, 0.0000478799, -0.0698753223, -0.0565818287, -0.0230456982, 0.0021974549, -0.0355225801, -0.013813192, -0.0051531922, 0.0359082595, -0.049018573, 0.0152760185, -0.0006256646, 0.0151271373, -0.0391453579, -0.0351191014, 0.0034918555, -0.0307605471, -0.006646032, 0.0552154481, -0.1082728952, -0.0412094295, -0.020819407, 0.0008286433, 0.0308029875, 0.0462463275, 0.0081743104, -0.0195366181, -0.0027062688, -0.0072158417, -0.014780486, 0.0023011989, 0.0073665567, 0.0875091553, -0.0163095836, 0.0366203561, -0.0014086324, 0.0148430122, -0.0560401492, 0.0203934386, -0.0605333783, -0.0597946569, -0.0136031434, -0.0333600976, -0.0088546062, 0.025314318, -0.0168894175, 0.0072744344, 0.0021997145, -0.0470589325, -0.000090612, -0.0595148653, -0.0177860241, 0.0075359098, -0.003754203, 0.0028118356, -0.0319770798, -0.0389631614, 0.0061657825, -0.0404973328, -0.0398068167, -0.0048398445, -0.0073285825, -0.0061236932, -0.0096409554, -0.0098634306, -0.0086088981, -0.0202129763, -0.0068922811, 0.0092279483, 0.0804440379, 0.0008201144, 0.0050887889, 0.0429331958, 0.00601106, -0.0778370276, -0.0365507565, 0.000278676, 0.0254872777, 0.0296580344, 0.0143486168, 0.0481964312, -0.0048818639, 0.0177150834, -0.0273036771, 0.0720389709, 0.0027525993, -0.0407857224, -0.0049935346, 0.0235613771, -0.0345777646, 0.0180220455, 0.0658996403, 0.0027215998, 0.0130737545, 0.0032487214, -0.022039827, -0.0341184288, -0.0249526575, -0.0133516248, 0.0052922079, 0.0145765357, 0.0067256377, -0.0468985289, -0.0156193562, 0.0241214409, 0.0310214832, 0.0143865235, -0.0060314457, 0.038940303, 0.0420111865, -0.0239560567, -0.0261474643, -0.0555592142, 0.0400498062, -0.0022909476, -0.0110148806, -0.0803233311, -5.942485041e-33, -0.029966766, -0.0630356744, 0.0373176932, -0.0061093816, -0.0954591334, -0.0015659983, -0.0584167913, 0.0168098323, 0.0134417135, 0.0067007565, -0.0078219706, 0.0456245616, 0.0163597502, 0.0252126772, 0.0204054397, -0.0336873345, 0.0482713655, -0.0136905247, -0.0075923577, 0.0769249871, 0.0414952077, 0.0070229098, -0.0146253705, -0.0479457155, -0.0004204848, -0.0003001166, -0.0031380642, 0.0080078254, 0.0526634343, 0.049639862, -0.0332168899, 0.0116049163, 0.0188279245, -0.0424566492, -0.0317803547, 0.0400530808, -0.0561432466, -0.0133939935, 0.0008255377, 0.0106494455, -0.0284647159, -0.0155791277, -0.0109056709, 0.0093389368, 0.0048661586, -0.0221413262, 0.0103077991, -0.0305101164, -0.033861991, -0.0072733751, -0.0327157676, 0.0319031663, -0.0480003357, -0.0790513381, -0.0189266652, 0.0712040737, 0.0304925255, -0.0492744781, 0.0017082432, 0.0366031416, -0.0010798184, 0.0034300371, 0.0193887409, 0.0262414534, 0.0247296318, 0.0663329065, 0.0285656992, 0.0398274586, -0.0163511131, 0.0059407777, -0.0008760712, 0.0263431277, 0.0051792907, 0.0172520317, 0.0074603814, -0.0485754162, -0.0289453324, 0.0159228947, 0.0268061608, 0.0039212289, 0.0202510245, 0.013124425, 0.0047852127, 0.007481392, -0.0122543136, 0.0152041661, -0.0123338979, -0.013674208, 0.0246765893, 0.0572328977, 0.0090772528, -0.0241947901, 0.0353848673, -0.0182218216, 0.0306786876, 0.0358081385, -0.0605029017, 0.0110873515, 0.0113178231, 0.001665367, -0.0288818814, -0.021499861, 0.0370054245, 0.0322415046, 0.0377640091, -0.0056677135, -0.0203792155, 0.011324985, -0.0256725401, -0.0258741584, -0.028521657, 0.0633497238, -0.0205948595, -0.0090785129, 0.0066500935, -0.0224350784, -0.0487807989, 0.0529400632, -0.0297519919, 0.0053811646, -0.0371937528, -0.0481752716, 0.0299676564, 0.0150066586, -0.051611416, 0.0013690994, -0.0223351829, -0.0063246256, 0.020768499, -0.0080217933, -0.0067628738, -0.0385625623, 2.525e-7, -0.0610945411, 0.0146355387, 0.0357177444, 0.0419046097, 0.0588376634, 0.0130367074, 0.01672321, 0.0395431332, -0.0065480159, -0.0211984999, 0.046151191, 0.0142715406, 0.0909868032, 0.0094953803, -0.038966313, -0.0590554699, -0.1056240574, -0.037699692, -0.0266160592, -0.0306328014, 0.0742026567, 0.0286962725, 0.0424240679, 0.0195172839, 0.0002868619, -0.0163511448, 0.0736781508, -0.0354358628, -0.0500426888, 0.01523137, 0.06756372, -0.0046489052, -0.0242465232, -0.0048928498, -0.0139017506, 0.0062637702, -0.0000776829, 0.0343584567, -0.0030572847, -0.0694480762, -0.0367038473, 0.017431844, -0.0167384762, -0.0083026746, 0.0515251048, -0.0410514921, -0.0173935946, -0.0200854428, 0.0154691981, 0.003891696, 0.0325284004, 0.0067269839, -0.0342476442, 0.0141696529, -0.0006818419, 0.0069811526, 0.0462255217, -0.0783341527, -0.0210961197, 0.0317959003, -0.0866595954, -0.0539906658, -0.0675447807, -0.0217143875, -0.0217979252, -0.0136071136, -0.0059524286, 1.652011521e-34, 0.027208047, 0.010564886, -0.0154386479, 0.0440737009, 0.0212215651, -0.0231630858, 0.0361797698, -0.025809221, 0.0457825661, -0.0304738823, -0.022259159 ]
http://arxiv.org/abs/2310.15405v1
http://arxiv.org/pdf/2310.15405v1
GPT-4 as an Effective Zero-Shot Evaluator for Scientific Figure Captions
2023-10-23T23:24:57
2023-10-23T23:24:57
Ting-Yao Hsu, Chieh-Yang Huang, Ryan Rossi, Sungchul Kim, C. Lee Giles, Ting-Hao K. Huang
cs.CL
cs.CL
There is growing interest in systems that generate captions for scientific figures. However, assessing these systems output poses a significant challenge. Human evaluation requires academic expertise and is costly, while automatic evaluation depends on often low-quality author-written captions. This paper investigates using large language models (LLMs) as a cost-effective, reference-free method for evaluating figure captions. We first constructed SCICAP-EVAL, a human evaluation dataset that contains human judgments for 3,600 scientific figure captions, both original and machine-made, for 600 arXiv figures. We then prompted LLMs like GPT-4 and GPT-3 to score (1-6) each caption based on its potential to aid reader understanding, given relevant context such as figure-mentioning paragraphs. Results show that GPT-4, used as a zero-shot evaluator, outperformed all other models and even surpassed assessments made by Computer Science and Informatics undergraduates, achieving a Kendall correlation score of 0.401 with Ph.D. students rankings
[ 0.0402114354, 0.0641418248, -0.0031814228, 0.0244983062, -0.0278277788, 0.0140869962, 0.0423955247, 0.006606183, 0.0180067923, -0.0577687696, -0.0502691232, -0.0029517096, 0.0370981246, 0.0227673762, 0.0381022245, -0.07330589, 0.0146622453, -0.0291368682, 0.0238132067, -0.0027660707, 0.0177209154, -0.0187696647, -0.003982774, 0.0409485996, 0.0165906753, -0.0368365608, 0.0349326208, -0.0105718262, 0.0409470834, -0.0509096645, -0.0413598493, 0.0965823755, 0.0100302221, 0.0460767001, 0.0000015383, -0.0358452462, 0.0041543478, 0.0426327623, 0.03802808, 0.0794330537, 0.0826881751, -0.0168938115, -0.0093944017, -0.0486610569, -0.0194722619, -0.0161329191, 0.0824268982, 0.0307005886, 0.079550378, -0.0007673916, -0.014116317, -0.0569258071, -0.0129179182, -0.0090747569, 0.0013692093, -0.0341643989, 0.0040232441, 0.0620506778, -0.0022543392, 0.0608837567, 0.0075124269, 0.060023319, -0.028937893, -0.0283062477, 0.0115089752, 0.060747575, -0.0780373812, -0.0153778158, -0.0025557685, 0.0873015672, 0.0504845344, 0.0109996777, -0.0192561578, -0.0061176512, -0.0059364517, 0.0521454215, -0.0791348889, -0.0003103987, 0.0218132082, -0.0232058931, -0.0276197828, 0.0186075699, -0.0179259609, 0.0115375677, 0.0092776362, 0.0149321035, 0.0172822755, -0.0162215997, -0.0039559929, 0.0066837878, -0.0801626593, -0.0405286737, 0.022823235, -0.0042083384, 0.0498066321, 0.0037864554, -0.0132326046, -0.0414154977, 0.0412858836, -0.0339285508, -0.0153339272, -0.0133172506, -0.0174068268, 0.063362591, -0.0211890489, 0.0797747895, 0.012077135, 0.0235480797, 0.0016975788, 0.035805244, -0.0640546307, -0.0082195802, -0.006962182, 0.0104351342, -0.0205239896, -0.0250137616, -0.0670129284, -0.0358761661, -0.016731862, 0.019338876, -0.0006287384, 0.0205289517, -0.014489782, 0.0212855432, -0.0471996181, 0.0483217314, 0.0127915032, -0.0102840886, -0.0366696268, -0.0165291969, 0.0042922758, 0.0465209559, 0.0346432738, -0.0158131216, -0.001035904, 0.0648681894, 0.027205348, -0.0330851153, 0.0499676466, -0.0409407578, -0.0472160876, -0.045228947, 0.0028919275, -0.0354288928, 0.003249811, 0.019813627, 0.0309034325, -0.0487825722, 0.0097085023, 0.0279104821, -0.0146368258, 0.0855246559, -0.0021664659, -0.0016306093, 0.0027693072, -0.0032773246, -0.024249047, 0.0151548749, 0.0300574712, 0.0255387258, 0.016408613, -0.0539821312, 0.0536548309, 0.0205548797, -0.0094749434, 0.0072709071, -0.0038226894, 0.0036204786, -0.0076669911, 0.0471454374, 0.0268456228, 0.0522720963, -0.0107274102, 0.032454513, 0.066320546, 0.0645747632, -0.0083596269, 0.0254952647, 0.0145624997, -0.0071902354, 0.0257183295, -0.0009579704, -0.023151705, 0.0643526763, 0.0222663581, 0.0277678818, 0.0122156097, 0.0052140532, 0.0056580775, -0.0273318458, -0.0122684455, 0.0175911095, -0.0172295161, -0.0358692333, 0.0436501689, -0.0219982937, -0.0677983239, -0.0037404213, -0.0282123089, -0.0547250807, -0.0010784874, -0.0326576941, 0.0021713208, 0.0733434036, 0.0791190863, 0.0006327481, -0.0067391866, -0.004808221, 0.0224265419, 0.0607187226, 0.0189664327, 0.000165367, -0.0410145409, -0.026978489, -0.0235798117, -0.017786976, 0.011301701, 0.0328743607, -0.0176254828, 0.0216374621, 0.0329505205, -0.0276226085, -0.0953030288, 0.0279947314, 0.026454024, -0.0432952233, -0.0483031832, 0.0072292788, 0.0123960888, 0.0167532377, -0.0377561487, 0.0406568162, 0.0052189189, -0.0043529966, 0.012339904, 0.0378759503, 0.0061529451, -0.0358262509, 0.0390402898, -0.1116012409, -0.0297356769, -0.0086603845, -0.0098278932, -0.0317128785, 0.0227877405, -0.057974942, -0.0192937944, -0.0406267382, 0.0133459987, -0.0295390077, 0.0064324155, -0.0274869874, 0.0454645865, 0.0166859794, 0.0380093306, 0.0629095882, -0.0575040132, 0.0316709653, -0.0342928879, -0.0695594326, -0.0163778272, 0.052691441, 0.0230389182, 0.0152492905, 0.0455353595, -0.0300250985, -0.0110698147, -0.068418853, -0.035889782, 0.0203899089, 0.0006762805, 0.0005289622, -0.0619653575, 0.0152734993, 0.0226110201, -0.0085695125, -0.0500351638, -0.0196167249, 0.0011873971, 0.0678517595, 0.0032850583, -0.0258433167, -0.0461711921, -0.0149846766, -0.0312872641, 0.0660113692, 0.0967720896, 0.0058848867, -0.0415680856, 0.0589803383, -0.0207085125, -0.0412355401, 0.0177480206, -0.0327579677, 0.0312485956, 0.0075521693, -0.0132411812, 0.0414147004, -0.0087900944, -0.0116901929, 0.0427610725, -0.016969705, -0.0238715094, -0.0282586701, 0.0010529972, -0.0560670458, 0.0585195497, -0.0413176194, 0.0103350822, 0.0156568401, -0.0320255831, 0.0220279619, -0.0537631474, 0.0477873646, -0.0382903777, -0.0330011733, -0.0459881388, 0.0150979599, 0.0043405122, 0.0432415232, 0.013424173, -0.0277387016, 0.0610400513, -0.0711098313, -0.0315343812, -0.0262145139, 0.052753713, -0.0373323336, 0.0373690352, 0.0197789669, 0.0143698351, 0.0293770861, -0.0093041752, -0.0106717367, 0.027711736, 0.0288131889, -0.0499832444, 0.0239197165, -0.0547425933, -0.0051821158, -0.0281867497, 0.0006353735, 0.0132087953, -0.0070855087, -0.0397855602, -0.0225482713, -0.0014763197, -0.0467921309, -0.031774532, 0.0711388662, 0.0524257608, 0.0007034403, -0.0286998395, -0.0079769939, -0.003631413, 0.0278094709, 0.0575216822, 0.0121414755, -0.0266980454, -0.0298469756, 0.0051562604, 0.0032982226, -0.0128535042, 0.0258077029, -0.0345328711, -0.0156868231, 0.0081241019, 0.0139401006, 0.0109171914, -0.0045441343, 0.055489663, -0.0318013728, 0.0227032695, 0.092326127, 0.0160446465, -0.0447261222, -0.0460592583, 0.0109946039, 0.0021450387, -0.0046512797, -0.0120581007, -0.0669821128, -0.026710989, -0.0305410624, 0.0152745657, -0.0138484091, -0.0022370496, -0.0084838346, -0.0901561975, 0.0709662959, 0.0308970083, -0.0787662044, -0.0481383912, -0.0291062444, -0.0011020883, -0.0207736231, -0.0299781449, 0.0094591202, 0.0031243421, 0.0330748409, 0.0029404005, -0.0166001711, -0.054842148, 0.0259525832, -0.0314251296, 0.0085710771, 0.0356577858, 0.0596158803, -0.0337049253, -0.0534322448, -0.0333132148, -0.0079558427, 0.0074646603, 0.0087985992, 0.0690957308, -0.0001781768, -0.0232855864, -0.0293418895, 0.0200746916, -0.0271496531, -0.000547077, 0.0106892399, 0.0512761101, 0.0218890179, -0.009186035, -0.0655833632, 0.0268385597, -0.0269676056, 0.0608113594, 0.0521383509, -0.0227933228, -0.0331816897, -0.0153406458, 0.040707089, -0.0660862103, -0.055768773, -0.0104777543, -0.0218530428, -0.0344595015, -0.0693227425, -0.0125319753, 0.0523484424, -0.0003266778, 0.0420417376, 0.0040057013, -0.0210430864, 0.045070935, -0.0364514291, 0.0409403965, -0.0255481191, 0.0085280193, -0.0222392008, -0.0115193054, 0.0616706349, 0.0197275393, -0.0491397269, 0.0674749091, 0.002250972, -0.0319183916, -0.0339412838, 0.0529755764, 0.0256577116, -0.0441738479, 0.0127942003, -0.0426051766, 0.0223403722, 0.0788900778, 0.0400963463, 0.015284542, -0.0183550641, 0.0147128785, -0.0309264623, -0.0262476411, -0.0099772243, 0.0002767889, -0.0121263387, 0.0119004268, -0.012327482, -0.0645439625, 0.0040214569, 0.062094219, 0.0238121655, -0.0694375038, 0.0172133893, 0.0205779728, -0.0231359936, -0.0230348967, -0.0040491028, -0.0294397306, 0.0133276964, 0.0238706023, 0.020312354, -0.0191287752, 0.0166500993, -0.0470026545, 0.0274207722, -0.0112294136, 0.0341624208, 0.0517839715, 0.0051840278, 0.0028406084, -0.0211281925, -0.0189687982, -0.060419932, -0.02916901, 0.032888189, 0.0011679915, 0.0256012138, 0.0200985894, -0.0041214554, 0.0236157142, 0.0715250224, -0.0506017916, 0.0010535693, -0.0464127883, 0.0375020765, 0.052539248, 0.0285839327, 0.0654111728, -0.0393143184, -0.0164574534, -0.0153185222, 0.0407227725, 0.0132762361, 0.0088244928, 0.0375409164, 0.0213054288, 0.0164244324, -0.029173689, 0.0647806525, 0.0372089818, 0.003061543, -0.0131067736, -0.0710059032, -0.0304631479, -0.0074699237, -0.0901683792, -0.0390709825, 0.0169286747, 0.0080189584, -0.0898485184, -0.0610038787, 0.0140738506, 0.0210884642, 0.0026177331, -0.005268232, 0.0220226552, 0.0187945813, -0.015598896, -0.0344128795, -0.0241094138, 0.0270677824, -0.0316816866, -0.0146780657, -0.0486060642, -4.767205952e-33, -0.021977853, -0.0593887158, -0.0091216993, 0.0042545549, -0.0183154307, 0.0066349399, -0.0680100471, 0.0153978784, 0.0283140168, 0.0161964409, 0.0134561453, -0.0536917076, 0.0014290563, -0.0162256621, 0.0163475797, 0.0130985826, 0.0368418433, -0.0020999485, -0.041421093, 0.0369679183, 0.0033872428, -0.0250352602, 0.0334707536, -0.0660713091, 0.04782084, -0.0012964435, -0.0126254559, -0.0546334758, 0.0477496274, 0.0570392534, -0.0325079784, 0.0151959006, 0.0142450398, -0.0427546501, -0.0068586865, 0.0031452696, -0.0353577621, 0.015770819, 0.0555003956, 0.0122371875, 0.0061972989, -0.0279370081, 0.0321431607, -0.0376009047, -0.0394805446, -0.0156711992, 0.0803738311, -0.0200003367, 0.0023198603, -0.0095223188, -0.0332796834, 0.0207948908, -0.0416551344, 0.0103582069, 0.0446211249, 0.0409330726, -0.0058647566, 0.085162729, -0.0278465506, 0.0677906126, 0.039995987, -0.0050592548, 0.0629177392, 0.0039038027, 0.0472122356, 0.0393151492, 0.0112687871, 0.0059373919, -0.0263007712, -0.0191252399, 0.0326074921, 0.0395678841, 0.0905384868, 0.0733800456, 0.0541080646, 0.0004902902, -0.0268243495, 0.050942637, -0.0920391083, 0.0354503915, 0.0218451545, -0.0015973662, -0.0345640108, 0.0132717947, -0.043141894, -0.0313545056, -0.0388199873, -0.0403947122, 0.0156081533, -0.0388379768, -0.0538044311, 0.0278767124, 0.0359597467, -0.0318460315, -0.0427287668, -0.0263107885, -0.0082135778, 0.0887598172, -0.0249026436, -0.0284648854, -0.0226472765, 0.0042913533, 0.030852221, 0.0622934923, 0.0639903918, -0.0210115388, 0.0341922715, 0.0028989192, -0.0161054619, -0.0149109839, -0.0129549606, -0.0629873723, -0.035862539, -0.0101613645, 0.0087628542, 0.0283161364, -0.0399417505, -0.022096334, -0.0150568411, 0.0399950147, -0.0178992078, -0.0250447765, 0.0033610209, 0.0103464518, -0.0371163003, -0.0163098741, 0.0177031048, -0.0163688734, -0.0008346889, -0.0608747452, -0.0105545605, -0.0031393706, 2.272e-7, 0.051600609, 0.059094429, 0.0153438579, -0.0025507931, 0.0286720656, 0.0360846594, -0.0422148332, -0.0170495734, 0.0218212456, -0.025017662, 0.0340443328, -0.0104006771, 0.0216628276, 0.0065513728, -0.0622667968, -0.0284618586, -0.0319693461, -0.0248857792, -0.034169618, 0.0034590396, 0.0720011517, 0.013681707, -0.0288656726, -0.0142101916, -0.0013101202, -0.064646028, 0.077005811, -0.0318052508, 0.0146292197, 0.0088882651, 0.0165200364, 0.0380878858, -0.0195311215, 0.054003451, 0.0065411897, -0.0265430324, 0.0957022086, 0.0327801853, -0.0209798701, 0.0075471886, -0.0071467585, 0.0311157517, 0.0105632069, -0.0401195958, 0.0457056053, -0.0432156771, -0.0293872878, -0.0121412296, -0.0488670729, -0.0219537262, 0.0519555435, -0.0294358265, -0.0355655439, 0.0475778989, -0.0046373666, -0.0104242954, -0.0236852486, -0.0277356002, -0.0128283789, 0.007733555, -0.0269082934, -0.0613014996, -0.0409029759, -0.0397085808, 0.0051084375, -0.0252990834, -0.0028230005, 1.791866421e-34, 0.0702663437, -0.0377640463, 0.0203682892, 0.0146219777, 0.0295732636, 0.0060021533, -0.0016302388, -0.0023161995, 0.0090840394, -0.0712527633, 0.0071184915 ]
http://arxiv.org/abs/2310.15398v2
http://arxiv.org/pdf/2310.15398v2
"One-Size-Fits-All"? Examining Expectations around What Constitute "Fair" or "Good" NLG System Behaviors
2023-10-23T23:00:34
2024-04-03T07:20:15
Li Lucy, Su Lin Blodgett, Milad Shokouhi, Hanna Wallach, Alexandra Olteanu
cs.CL
cs.CL, cs.HC
Fairness-related assumptions about what constitute appropriate NLG system behaviors range from invariance, where systems are expected to behave identically for social groups, to adaptation, where behaviors should instead vary across them. To illuminate tensions around invariance and adaptation, we conduct five case studies, in which we perturb different types of identity-related language features (names, roles, locations, dialect, and style) in NLG system inputs. Through these cases studies, we examine people's expectations of system behaviors, and surface potential caveats of these contrasting yet commonly held assumptions. We find that motivations for adaptation include social norms, cultural differences, feature-specific information, and accommodation; in contrast, motivations for invariance include perspectives that favor prescriptivism, view adaptation as unnecessary or too difficult for NLG systems to do appropriately, and are wary of false assumptions. Our findings highlight open challenges around what constitute "fair" or "good" NLG system behaviors.
[ 0.0844215751, 0.0695926398, -0.0258145779, 0.0114833117, -0.0118094506, 0.0185536705, 0.0440151133, -0.0179454237, -0.0222441368, -0.0595805347, 0.0091086803, -0.01524489, 0.0395704843, -0.0111257313, 0.0215418208, -0.0399030112, 0.0104581248, 0.0156756584, 0.0230626911, -0.0371283032, 0.0461064763, 0.0593270548, 0.0113673769, 0.0686221048, -0.0170717519, 0.0323333368, 0.0539406203, 0.0113053909, -0.0066140085, -0.0126941679, 0.0198998768, 0.0454827212, -0.0362174772, 0.0210762285, 0.0000016804, -0.0920629352, 0.0235416293, -0.0003567653, -0.0164795648, 0.0306298099, 0.010213878, -0.0129785826, -0.0217825603, -0.0050333599, -0.0285141151, -0.0192582812, 0.071272999, -0.0079017458, 0.0000775214, 0.0160713252, -0.0050294991, -0.0176471192, -0.0739734545, 0.001261207, -0.0259312987, 0.000928123, 0.0166411065, -0.05775382, 0.0018589792, -0.0478026271, -0.0079577537, 0.0483333394, -0.0254490077, 0.0038184277, 0.000034236, -0.0097714961, -0.0199043266, -0.0291044656, 0.0385996886, 0.0510270298, 0.0526015908, -0.0177579261, 0.0059850174, -0.0069653131, 0.027256785, 0.0234678611, -0.007087104, 0.0146843204, -0.0139719499, -0.0104493191, -0.0465497114, -0.0044205119, -0.0082133012, 0.0121540828, -0.0100324107, 0.0895216614, -0.0027577546, -0.0200830474, -0.0627737045, 0.0271945614, -0.0200843606, -0.0647083297, 0.0140713211, 0.0136513859, -0.0124253146, 0.0303676818, -0.0129469559, 0.0117056174, 0.0387396552, -0.0067715016, 0.0330716632, 0.0228762496, 0.0021169886, -0.0152517892, 0.0349655598, 0.0179685429, 0.0176336039, -0.0045896159, -0.0115139661, -0.0120854545, -0.0274823848, -0.0169115607, -0.0114649916, 0.0051964587, 0.0002846429, 0.0723324195, -0.0039023578, -0.0088349143, -0.0310916584, 0.0270546544, -0.0044992184, 0.0166802648, -0.0177089833, -0.0072023394, -0.0298820939, 0.019781908, -0.0375974104, 0.0102294153, -0.0330344178, -0.0401446149, 0.0474054106, -0.0356598981, 0.0046507502, -0.0225264989, -0.010348076, 0.0379168205, 0.032665085, -0.0084164161, -0.0295149647, -0.0040063681, -0.036806643, 0.0148619553, -0.044839751, -0.0410653651, -0.0181402713, 0.0729325786, -0.013268535, -0.0847486183, -0.0188507456, 0.0139833745, -0.0542867258, 0.0373176746, 0.0381214283, 0.0212888792, 0.0395828672, 0.0056315581, 0.0208996627, 0.0412517935, 0.0438855104, -0.0423786007, 0.0745776892, -0.0412693955, 0.0314438641, 0.0362412706, -0.0326781869, -0.0007531176, 0.0239735376, 0.0079481341, -0.0182204731, -0.0193043482, 0.0512419231, 0.0612391867, 0.0373847261, -0.051479388, 0.0618430041, 0.1167179421, 0.0009485919, 0.0230719652, 0.0031116509, 0.0253740996, -0.0247782227, -0.0138242738, -0.0345863365, -0.0430214629, -0.0200744029, -0.0047690528, -0.0729581341, 0.0805310309, -0.0152070168, -0.0242092889, -0.0314993598, 0.0234967489, 0.0580605529, -0.0011446377, -0.0097244456, 0.044777371, 0.045339454, 0.0308572892, 0.025471, -0.0699521303, 0.0204492807, -0.033912912, 0.0000571972, 0.0637911484, 0.0417205095, 0.0195431728, 0.054381188, -0.0067482148, 0.0112953437, 0.0408011042, 0.0737944916, 0.0071609425, -0.017413782, -0.0165621806, 0.0023927591, 0.093825765, -0.0069519659, 0.0332707576, -0.0054172748, 0.041218359, -0.0151564162, 0.030980397, -0.0591556802, 0.0151404254, -0.0361508764, -0.0546485893, -0.02525164, 0.0036380512, -0.0185204726, 0.0118075395, -0.023509685, 0.0018050462, -0.0507471636, 0.0159100834, 0.0141882412, 0.0936553031, -0.0520070791, 0.0260191206, 0.0167724174, -0.0217959415, 0.0119762467, -0.0053705927, 0.0284613986, 0.0100971777, 0.0494037122, -0.0173740089, 0.0245676041, -0.0054906844, -0.0006755361, -0.0372253284, 0.0060596671, -0.0939335749, -0.0501139536, 0.0121001089, -0.0270814653, -0.0429499447, -0.0212038159, 0.018447319, -0.0181901213, -0.0562757142, 0.0718308315, -0.0189466365, 0.0117947944, 0.023598535, 0.0056594843, -0.0153834159, 0.0196185932, -0.0622058176, -0.0394591205, 0.002957467, 0.0232119076, 0.017571222, 0.0458637699, -0.0360587426, -0.022220118, -0.0117410589, -0.0663461909, 0.0122553259, 0.0218569525, 0.0363435671, 0.0061087441, -0.0418214984, -0.0149854254, -0.0313544087, -0.0276828632, 0.0397748202, -0.0196213871, -0.0067529408, -0.0759535953, -0.0520615652, -0.0399318337, 0.0040664147, 0.0079642367, -0.0219900589, 0.0286913123, 0.0700437576, 0.0395137705, 0.023897225, 0.0220125131, 0.0082404399, -0.0091678882, 0.0077258125, -0.0329680555, -0.0360350423, 0.0168290976, -0.0026929041, 0.0109087555, -0.0547246374, 0.0020060844, 0.041179169, 0.0193665158, -0.0202861056, -0.0390950143, 0.0637173578, -0.0756339431, -0.0631946921, -0.0155925155, -0.0655078366, -0.0320207253, 0.0132672861, -0.0085581709, 0.0038399405, 0.0435375758, -0.0114919739, -0.0326697119, -0.0100612063, -0.0188048836, -0.0196426865, 0.0443017483, -0.0119082285, 0.0460333377, 0.0924206302, -0.06076717, -0.0493209437, -0.019451458, 0.0492540598, -0.0389272682, 0.0557682067, -0.0295619722, -0.0087482678, 0.008864739, -0.05857585, -0.0292582009, -0.0335224979, -0.0345907286, -0.0029079881, 0.0392262861, -0.0420610234, 0.0336749814, 0.0155295385, 0.0502162017, -0.005003734, -0.0076176445, -0.0014058584, 0.0113450522, -0.0297964737, 0.0006346407, 0.061185468, 0.0144699132, 0.0545468777, -0.021829769, 0.0023908687, 0.004728463, 0.006680829, 0.0606734119, 0.0090139937, 0.0619740002, -0.0486521721, -0.0497562699, 0.0128227323, 0.0709288567, -0.0111848805, 0.0263899732, 0.0592894666, 0.0012865493, -0.0167614706, 0.0292210877, -0.0406732112, 0.0620075539, 0.0153443785, 0.0237446278, -0.0774795189, 0.0212258268, -0.0079198163, 0.0486321412, -0.0477719903, -0.0312325973, -0.0234788638, -0.0506626666, -0.0078351591, 0.0376548357, -0.0439486392, -0.0212178845, 0.0227381736, 0.0283562541, -0.0193246752, 0.0525241196, 0.0116364416, -0.0422089696, 0.0132006416, 0.0500254259, -0.1008851007, -0.0150896255, -0.0166666675, -0.051258605, 0.0268381275, 0.0442473181, -0.0071778097, 0.0114430394, -0.0759019703, -0.0087331822, -0.0340033099, 0.0223457292, -0.0238448232, -0.0015740914, -0.0123562813, 0.0013169772, -0.0615442209, -0.0212466493, -0.0237100236, 0.0008972932, -0.0070546465, 0.0149118649, 0.0089742169, -0.0433021784, -0.0262765791, -0.024577776, 0.0148953628, 0.0811893567, 0.0404813401, -0.0765501857, 0.0048886389, -0.0592874289, -0.0094681364, -0.0034252184, -0.0999010354, 0.0258088466, 0.0048866123, -0.0295989718, -0.0502857752, -0.0782192796, -0.0128660258, 0.0282953512, 0.0392171331, -0.0485256314, 0.023828648, -0.0004539918, -0.0278627686, 0.0193769503, -0.0565153733, 0.0108744213, 0.0126759419, -0.0220795572, 0.01337888, 0.0069107153, 0.0046325028, -0.0060350429, 0.053992752, -0.0658706799, 0.0825225562, -0.0192934386, 0.0304233376, 0.0389252193, -0.0050240867, -0.0737722218, 0.0132432887, 0.0518726148, 0.0428740159, 0.0464642197, 0.0469981842, -0.0034355458, -0.0077995164, 0.005219379, -0.0026067835, 0.0211869404, 0.0336021073, 0.0062540085, -0.0344935842, -0.0463139117, -0.0074787615, 0.0534548722, -0.0219097771, -0.0508917086, -0.0125407502, 0.0104129184, -0.0429582186, 0.010235508, 0.0053402795, -0.0040204497, -0.0644785985, -0.0072240648, 0.0335491262, -0.0274500512, 0.0375803113, -0.0432721674, 0.0303839184, -0.0270217303, 0.0253365338, -0.0121146794, 0.0716067851, 0.0139800841, 0.0297977868, -0.0085965972, 0.0214455333, 0.0041444451, 0.0279710516, -0.0103032114, 0.0385755077, 0.0137126809, -0.0135282222, -0.0424211137, 0.0466943718, -0.0224534217, -0.0222024117, 0.0027212002, -0.0215915274, 0.018351851, -0.0478734896, 0.0548376963, 0.0203244202, 0.0312764905, 0.0101683689, 0.0091954153, 0.0184761044, 0.0205868967, -0.0008237794, 0.0039347913, -0.0397961177, -0.0129107526, 0.0183888096, -0.0175620243, 0.0367126204, -0.0568326488, 0.0045241318, -0.01287481, -0.014808421, 0.0209060442, -0.0089004189, -0.0288980212, -0.0461016372, -0.1255709678, -0.0482853241, -0.0456512384, -0.0239557978, 0.0374561884, -0.0156225571, 0.018385563, 0.0148389479, 0.0001974746, -0.0534230061, 0.0095069651, -0.0051794806, -0.0300711803, -0.0204761121, 0.0215603523, -5.536464516e-33, -0.0055939578, -0.0226959176, -0.0088006789, 0.0128158387, -0.0053716018, -0.0626418665, 0.0021593471, 0.0447941944, -0.0182425156, -0.0102030495, -0.0486601554, -0.0272432193, 0.0156255569, 0.0006357398, 0.0268949233, -0.0157779083, 0.0421277806, 0.0234688502, -0.0423780158, -0.0188048426, 0.0370147862, -0.0122520179, 0.0803418905, -0.1040131748, 0.0503203943, 0.0011507929, -0.0171647612, -0.0177897401, 0.0081028426, 0.0224283133, 0.0063732746, 0.0717579499, 0.0198169909, -0.0201073792, -0.0113851, 0.0659927353, -0.0501229912, -0.0184399951, 0.0326438062, 0.0545386076, 0.053160239, -0.0423488505, 0.0436069071, -0.0215344355, -0.0818452984, 0.0576133691, 0.0284675937, 0.004143469, 0.0552481152, 0.0414159223, -0.0381225459, -0.0112050865, 0.0024026427, 0.0497932099, -0.0077723465, 0.0170785431, 0.0211977139, -0.0236101355, -0.0299805123, -0.0057169609, -0.0365267061, -0.0194626227, 0.0855582878, 0.0290241074, 0.00367216, 0.0292647406, 0.031726446, 0.0695993602, -0.0406068861, -0.0383354314, 0.0589324571, -0.0312621109, 0.012075413, 0.0662524775, -0.0064546331, -0.0679812208, 0.019988399, -0.001117164, -0.0021552881, -0.0422284193, -0.0013351535, 0.027141951, -0.1012374759, -0.0581399426, -0.0071402062, -0.0543132387, 0.0020998879, -0.0571165085, 0.021217389, -0.0574605875, -0.0170765817, 0.0369729996, 0.017153604, -0.019057136, -0.0693935975, -0.0160265733, -0.0136064021, -0.0204536244, 0.0183457974, -0.0382133387, -0.0397085734, 0.0145791043, -0.0137215527, 0.0464276522, 0.0238430258, 0.0160400718, 0.0222042128, 0.0149359526, -0.0701755658, -0.0015770937, 0.0367667861, 0.0717190057, 0.0085990718, -0.0539451167, 0.0140386336, 0.0044818227, 0.0049583558, -0.0285431836, 0.0787390694, -0.0534630157, -0.0558404475, 0.0181573946, -0.0283013061, 0.0028724656, -0.0345067158, -0.0246364307, -0.0009440331, 0.0474281497, 0.0846217498, 0.0179310832, -0.0207936987, -0.0658787265, 2.364e-7, 0.0227065329, 0.0522468947, -0.0028409616, -0.0346038043, 0.0280420873, 0.0307621602, 0.0354927033, 0.0404716097, 0.0387523323, -0.0033529892, -0.0045392332, -0.0067575872, -0.0110501805, 0.0356606953, -0.0454396605, -0.0391367339, -0.0403264314, 0.0645250753, -0.0331188366, 0.0471760705, 0.0366636142, 0.0072342395, 0.026412569, 0.0014616757, -0.0539400913, -0.0576826297, -0.0194980353, -0.0464536548, 0.0466216914, 0.011610046, 0.052748125, -0.0284057185, 0.0684116408, 0.001846681, 0.0254167728, 0.0004589572, 0.0004265583, 0.0258018021, -0.0263686609, 0.0116273826, -0.0419667773, -0.0045679733, 0.0056225979, -0.0678900704, 0.0176490359, 0.0091771586, -0.0264915191, -0.0297360029, -0.0054977001, -0.0360545553, -0.0084713902, 0.0203561373, -0.0287586655, 0.0149245532, 0.0370221995, 0.014532689, -0.0078861918, -0.0512855798, -0.0273339003, 0.0404514298, 0.0380029157, -0.0408664681, 0.0135219255, 0.040819943, -0.0316203721, -0.0111141466, 0.0299106464, 1.716736605e-34, -0.0367112234, 0.0151619092, 0.0431111269, -0.007202758, 0.0257688705, 0.0259830579, 0.0043404228, 0.0054005054, 0.03567525, -0.0025225123, -0.0267941616 ]
http://arxiv.org/abs/2310.15393v2
http://arxiv.org/pdf/2310.15393v2
DoGE: Domain Reweighting with Generalization Estimation
2023-10-23T22:51:58
2024-02-05T16:33:05
Simin Fan, Matteo Pagliardini, Martin Jaggi
cs.LG
cs.LG, cs.AI, cs.CL
The coverage and composition of the pretraining data significantly impacts the generalization ability of Large Language Models (LLMs). Despite its importance, recent LLMs still rely on heuristics and trial and error to increase or reduce the influence of data-domains. We propose DOmain reweighting with Generalization Estimation (DoGE), which optimizes the probability of sampling from each domain (domain weights) in a principled way. Our approach is a two-stage process consisting of (i) training a proxy model to obtain domain weights using a bi-level optimization algorithm; (ii) training a larger base model by sampling training domains according to the learned domain weights. In our experiments, we extensively show how DoGE improves the generalization of the base model to any target data mixture. On the SlimPajama dataset, our base model gets better perplexity and few-shot reasoning accuracies across $6$ tasks compared to baseline methods. Moreover, aiming to generalize to out-of-domain target tasks, which is unseen in the pretraining corpus (OOD domain), DoGE can effectively identify inter-domain dependencies, and consistently achieves better test perplexity on the target domain.
[ 0.0287971944, 0.0572905056, -0.006573061, 0.0152377672, -0.0090200342, 0.040619269, 0.004691524, 0.0027599575, -0.0200433917, -0.0430699848, -0.0572627001, -0.0359683596, -0.0241697002, -0.0052740993, 0.0332097784, -0.0558232404, 0.0120725706, -0.0161294118, -0.0332092047, -0.0073881485, -0.0100671509, 0.0306129213, -0.0267360713, 0.0292817075, 0.0107224071, -0.0074931411, -0.0115786595, 0.0163102373, 0.0025550155, -0.0307508446, 0.004536239, 0.0497641824, 0.0559623055, 0.0120754568, 0.0000021042, -0.0535963401, -0.0221168455, -0.0014978403, -0.0200335961, -0.0154839568, 0.0242547244, -0.0369271263, 0.0381032452, 0.0229323525, -0.0268914625, -0.0804462954, 0.0338426381, 0.0564747937, 0.0410739221, 0.0949900821, -0.0104368078, -0.0648357347, -0.0079254247, -0.0518355966, -0.0081177484, -0.0870484263, 0.0199582353, 0.0527465232, 0.00197113, -0.0243219957, -0.0224169735, -0.0004643835, 0.0369210131, 0.0233421568, -0.037062265, 0.0072571347, 0.0025730862, -0.019816231, 0.0289291684, 0.0891010612, -0.0141294654, -0.0189260505, 0.0012444486, 0.004864892, 0.0117545119, 0.026193168, -0.0321766697, 0.0038010094, 0.0130929509, 0.0172615685, -0.0002527331, -0.0067209741, 0.0528789759, -0.0045678206, -0.0735817254, 0.0679190457, 0.0153206773, -0.0034450786, 0.0337966308, 0.0396404676, -0.0877525657, -0.0329501145, 0.0056342632, 0.0285644699, -0.0530808941, 0.0187651031, -0.0486971699, -0.0554610007, -0.0056042708, 0.0319571607, 0.0514445677, 0.02415202, -0.0271813609, 0.0565561503, 0.0095074531, 0.0316379741, -0.0406141728, 0.0188863035, -0.0543825179, -0.0186864231, -0.0709861219, -0.0122784264, -0.0364406146, 0.0497276075, -0.0055715721, -0.0139525468, -0.0264616124, 0.0068842634, -0.0048491391, -0.0457495861, 0.045177862, -0.004694365, -0.040876355, -0.0397384949, 0.0099758524, 0.0375881344, -0.0611162372, 0.0803180411, 0.0176731516, -0.0295862369, -0.0242083967, -0.000546522, 0.0036459491, -0.0481084511, 0.0152053293, 0.0698372573, -0.002258972, -0.0379209407, -0.0479467623, -0.0062785069, -0.005545306, -0.0858721435, -0.0060477727, -0.0362662785, 0.0310271084, 0.0025334712, 0.0152753983, -0.0402058214, -0.0119219376, 0.0093134372, -0.0071901381, 0.0741869658, 0.0062563471, 0.024041554, 0.0175738465, 0.0040871049, -0.020054739, 0.0988826007, -0.0029016708, -0.0296790674, 0.0108135054, 0.0140147153, 0.0091185011, 0.0355704799, 0.0259232353, 0.0124684134, 0.0239306167, -0.0021412086, -0.0023898922, 0.0050590253, 0.0539160371, 0.0007036704, -0.0558867343, -0.0041866107, 0.0239647608, 0.0149087524, 0.0217636023, -0.0252312124, 0.0583333299, 0.0044587781, 0.0006897964, 0.0438878462, -0.0615625679, -0.0250236616, 0.0019361521, -0.0026993505, 0.0092305494, 0.0182074588, -0.0579381846, -0.0106736002, 0.0126307374, -0.0277948324, 0.0096499184, 0.0356596336, 0.1100240499, 0.0715236515, -0.0134937111, 0.06296435, 0.060166046, -0.0308279917, 0.0121942991, -0.0237107575, 0.006981696, -0.004494458, 0.0020355307, -0.0439701527, -0.0064643049, -0.0002272464, 0.0840737298, 0.0040257629, 0.015978422, -0.0100607574, 0.0541602112, -0.0419536941, -0.0232053027, -0.0298803356, 0.0321951769, 0.0266732946, 0.0495436005, -0.0140022701, 0.0377487093, -0.093976289, 0.0270613171, 0.0371808968, -0.05162628, -0.0225670356, 0.0259023272, 0.0169425756, 0.0462981686, -0.0005548019, -0.0283345804, -0.0007705758, -0.010614546, -0.0498504043, -0.0216374937, -0.0140795754, -0.0086160814, -0.0468925387, 0.0417743623, -0.0424203984, -0.0073721292, 0.0514477715, -0.053934671, -0.034607362, 0.0304515641, 0.0119333286, 0.0387945212, -0.0386716835, 0.0267752744, -0.0178733356, 0.0151003441, -0.0593288913, 0.0481620096, 0.0214569755, -0.0082632974, -0.0213901699, 0.0110019958, 0.0426111184, -0.02585526, -0.0339735858, -0.0257426891, -0.0336774476, 0.0136421118, 0.0024267968, -0.0074773929, -0.0324729159, 0.0006409989, -0.0870354772, -0.0014886347, -0.0273611955, 0.0109057417, -0.000694849, 0.0436043441, -0.0003390961, -0.0370333232, -0.0045887632, -0.0234875884, -0.0150860688, 0.0246838499, 0.0001940593, 0.0003619702, 0.0140651669, -0.0111986184, -0.0188918579, -0.0152720325, 0.0653649718, -0.0259472392, 0.0237083863, -0.0752510205, 0.0771965832, -0.026104752, 0.0266818572, -0.0189963486, -0.0040891427, -0.0083425771, -0.0127321146, 0.0017023813, 0.0727984011, -0.0420814529, -0.01909885, 0.0483150259, 0.0302653555, -0.0370401666, 0.0164146535, -0.0297145825, -0.0215575397, -0.0351756811, 0.0119933877, 0.0109221358, 0.0713835955, -0.0171903484, -0.0150513966, -0.0421409421, -0.0022066105, -0.0254190098, -0.020660786, -0.0261158645, 0.0158909913, 0.0020668046, 0.0428317264, -0.0219794214, -0.0268435087, 0.0753642619, -0.0102700498, -0.0043392684, -0.0739955232, -0.0072008232, -0.0472143702, 0.0522681363, -0.0110382168, -0.0000700124, 0.0424901173, -0.0450645983, -0.0781737193, 0.0000525283, 0.0061330502, -0.0050315126, 0.0757468864, -0.0530296713, 0.0325961933, -0.0026925213, -0.0742816254, -0.0236338153, -0.0095121823, -0.0558702722, -0.0162339546, -0.0349588729, -0.0084246481, -0.0590358004, 0.0030165352, 0.0197302736, 0.0342223532, -0.0152155021, 0.0108348224, -0.0166171417, 0.0311367307, 0.0452786945, 0.0069379713, -0.010638915, -0.0270848237, 0.0015475119, 0.0146620534, 0.011705745, -0.0106484331, -0.0338570811, 0.014471963, 0.0244335141, -0.0022605532, -0.0192825347, -0.0057183057, 0.0453026034, -0.0161596052, -0.0067834812, 0.1122241691, 0.0174860414, -0.0520836301, 0.0098291347, 0.0029476234, 0.0065439879, 0.0417837165, 0.0545378029, -0.089248009, -0.0777911022, 0.0165017676, -0.018367948, 0.034580417, -0.0130317872, 0.0121096773, -0.159733206, 0.0041645011, -0.0123309344, -0.0163608659, -0.0110032223, -0.0390640087, 0.0003640683, -0.0101189055, 0.0346108712, -0.0082502272, 0.0118738087, -0.0034146286, 0.031134706, 0.0097742761, -0.0502056815, 0.0191599522, -0.0570886582, 0.0100988345, 0.0662030876, 0.0007505013, 0.0069169323, 0.007983801, 0.0455449559, 0.0014156962, -0.0035620362, 0.0054713967, 0.0586662926, 0.0151397903, -0.0337663554, 0.0192553177, 0.0397039428, -0.0574709214, -0.0120879207, 0.0203520078, 0.0613657385, 0.0003083194, -0.003269837, -0.0121384198, -0.0241196323, -0.0063360929, 0.0427093729, 0.0216141529, -0.0586628169, -0.000694197, -0.0063542444, -0.026288975, -0.0472187027, -0.0056231469, 0.0080571668, -0.002829347, -0.026236508, -0.0521284491, 0.0198868122, 0.0461924076, 0.0737781972, 0.0192057062, 0.0044516264, 0.0027267996, 0.0147970226, -0.045916453, 0.0348256752, -0.0558318198, 0.0300654788, -0.0414557643, -0.0062030428, 0.0455362797, -0.0237117354, -0.0414021164, -0.0019682019, -0.0595797449, -0.0639091507, -0.0291383658, 0.0215941612, 0.02586901, 0.0457622483, -0.0419795029, -0.0523415767, 0.0350468084, -0.0119540589, -0.034754727, 0.025882788, 0.0301507544, -0.0542915463, 0.0201514792, 0.0509270765, -0.0725038126, 0.0264955256, 0.0560875013, 0.0184085593, 0.0110852551, 0.0335482769, 0.00442447, -0.0083912816, 0.0580784343, 0.0046942648, 0.0097585665, -0.0155567694, 0.0198761877, -0.0071186158, -0.0211835057, -0.0565855652, 0.0288891103, 0.0557549968, 0.0085389707, 0.0154755926, -0.0114436317, -0.0241337344, 0.047037892, -0.0119952811, -0.0092348363, -0.0073286248, 0.0252382122, 0.0489901975, 0.0047404869, 0.0230891332, 0.0050783688, 0.0202752519, 0.0007509217, -0.013511057, 0.0193724036, 0.0235579684, 0.0167416353, -0.0630359203, 0.0002630406, -0.0525753461, -0.0032254527, -0.0078954985, -0.0030242831, 0.0750617981, -0.0264538098, 0.0294248704, 0.0210082512, -0.0132990284, -0.0170161054, 0.0329783149, -0.014565533, -0.0138408551, 0.0302822758, 0.0106119001, -0.019873362, 0.0217206348, 0.1183789521, 0.0307242014, 0.0502824932, 0.0080121364, 0.01355159, -0.0199061222, -0.0357933193, 0.0154849682, 0.0570518263, -0.0441679321, 0.017555872, -0.0237701051, -0.1040070057, -0.0096361414, -0.0426510051, -0.0431535766, 0.0114160609, 0.0283071268, 0.063995108, -0.0051090838, -0.0239298642, -0.0159916487, -0.0399560481, -0.0138500249, -0.0376386084, 0.0152515136, -6.379355679e-33, 0.0095887287, 0.0189450905, 0.0120994737, -0.008438345, -0.0165712126, -0.0024551835, -0.0257591773, 0.0239551757, -0.0327210166, 0.0236649066, -0.0226337053, 0.0292386618, 0.0174445286, 0.0329332724, 0.0067534884, -0.0135802347, 0.0287288092, 0.0073641646, -0.0121313147, 0.0046201195, -0.0015339804, 0.0486767553, 0.0648151413, -0.061004661, -0.0224447791, 0.0252755415, -0.0167317782, 0.0302348491, 0.0139742512, 0.0405787267, 0.0011502664, 0.0198177397, 0.0286665056, -0.0543811247, -0.0231583379, 0.0030418364, -0.0780041367, -0.0133040566, 0.0353885219, 0.0183416922, 0.0093921311, -0.0309503097, 0.013244994, 0.0012121381, 0.019167481, -0.0367564522, 0.014704816, -0.0294028111, -0.0236318037, 0.0035271135, -0.0388236567, 0.0108617702, 0.0040688179, -0.0279854033, 0.0004397132, 0.0263441484, -0.0117749432, 0.0239473227, -0.0157221667, 0.0141648296, -0.0009528709, 0.0182777569, 0.0255564302, 0.0328043103, 0.0064885225, 0.044538036, 0.0071493019, -0.0144504309, -0.0108281719, -0.0170330778, 0.0323338024, 0.0457521789, -0.013175874, 0.0641838908, 0.0594670512, -0.0113995057, -0.1109918505, 0.0056578559, -0.0098026693, 0.0265442338, 0.0275556482, 0.01885348, -0.0080562914, -0.0278911721, -0.0440453552, 0.0121374726, -0.0340298302, -0.0436286107, 0.0277592652, 0.0189422201, -0.0169949103, 0.0110342419, 0.0306402575, -0.0773887932, -0.0305452216, 0.0088473745, -0.0067053242, 0.0122788642, -0.0065800427, 0.0081709316, -0.0172568839, -0.0528364629, 0.0232507493, 0.0254969224, 0.0284237806, -0.0121144252, 0.0682655498, -0.0118499566, -0.0529258847, -0.0251007564, -0.0306378379, -0.0167405009, 0.0240165554, 0.1062756777, 0.0243139639, 0.0392000526, -0.0104840882, 0.0440638587, 0.0209941864, -0.0497857146, -0.0313365497, 0.0061392924, 0.0242029298, 0.0250206273, -0.0335949324, -0.0345585681, -0.0110115781, -0.0443422124, 0.0503123142, -0.0560900122, -0.0358803533, -0.0039318283, 2.841e-7, 0.0545723028, 0.0077768001, -0.0125223249, 0.0076396172, 0.0010076145, 0.0340927057, -0.0171379261, 0.0263792686, 0.0140942521, -0.0182000026, 0.0003769578, 0.0438945331, 0.0574487709, 0.0053203818, -0.1424241215, 0.0118403193, 0.0242968481, -0.0163632948, -0.0241124071, -0.0179420989, -0.0177798532, 0.1451448053, 0.0374783687, -0.0362861119, 0.008468356, -0.0604058355, 0.0717319623, -0.0015634821, 0.002087154, 0.0262683239, -0.0266608857, 0.0447638668, 0.0251767803, 0.0348537639, -0.0123595893, 0.0478615165, 0.0245852023, 0.0484954529, 0.0067256168, 0.0158472732, -0.0165384673, -0.0103360983, 0.0127455313, -0.0200990308, 0.0853269175, -0.084888339, -0.0535867102, -0.020735357, -0.0074070334, -0.0369824693, -0.0101796901, -0.00545651, 0.0289618596, 0.0355850086, 0.0393139236, -0.0080768997, -0.0251138136, -0.0941819176, -0.0309084598, 0.0009647071, -0.0632489994, -0.0231770296, -0.0095060049, -0.044567056, 0.0518207066, -0.0784748048, 0.0393159501, 2.648608489e-34, 0.0395413898, -0.0013186266, 0.0167441163, 0.0468020812, 0.0363386013, -0.0411031283, -0.0270635709, -0.0106261009, 0.0070778816, -0.0791741088, 0.0256341398 ]
http://arxiv.org/abs/2310.15389v1
http://arxiv.org/pdf/2310.15389v1
Irreducible Curriculum for Language Model Pretraining
2023-10-23T22:41:33
2023-10-23T22:41:33
Simin Fan, Martin Jaggi
cs.CL
cs.CL, cs.AI, cs.LG
Automatic data selection and curriculum design for training large language models is challenging, with only a few existing methods showing improvements over standard training. Furthermore, current schemes focus on domain-level selection, overlooking the more fine-grained contributions of each individual training point. It is difficult to apply traditional datapoint selection methods on large language models: most online batch selection methods perform two-times forward or backward passes, which introduces considerable extra costs with large-scale models. To mitigate these obstacles, we propose irreducible curriculum as a curriculum learning algorithm for language model pretraining, which prioritizes samples with higher learnability. Specifically, to avoid prohibitive extra computation overhead, we simulate the sample loss along the main model's training trajectory using a small-scale proxy model. Our experiments on the RedPajama-1B dataset demonstrate a consistent improvement on validation perplexity across all 7 domains compared to random uniform baseline and the anti-curriculum strategy. Our method also reduces the sharpness of the network and illustrates a better 5-shot accuracy on MMLU benchmarks.
[ 0.0061375662, 0.0753547922, -0.0224014726, 0.0300930478, -0.0366773456, 0.0448977649, 0.0500071235, -0.0276108515, -0.0330202915, -0.0493491925, -0.0376124047, -0.0336026996, -0.0165711325, -0.0233285315, 0.0366114378, -0.0528013892, 0.0292227082, -0.0407582782, -0.0108693829, -0.0261278767, -0.0207066126, 0.0398198552, -0.0309174228, 0.0270857271, 0.0045509264, -0.0305689275, 0.0059452588, 0.0091548655, -0.0126037495, -0.0474829301, 0.0519427992, 0.0679493472, 0.0225028265, 0.0276625287, 0.0000024038, -0.0575613379, -0.0248296801, -0.0084186643, -0.0447028391, 0.0252879728, 0.0575954057, 0.0474311002, -0.0031745746, 0.0390130915, -0.0077455454, -0.0043426044, 0.0644413903, 0.0013167819, 0.0503609888, 0.0583885461, -0.0032589021, -0.0547677279, -0.008100275, -0.0316834971, -0.053660199, -0.0305454042, 0.042239476, 0.046954941, -0.0190431811, 0.0061750752, -0.0453007296, 0.0010406577, 0.0099781081, -0.017414134, -0.0040466911, 0.0269075166, -0.0383050591, -0.0349275172, 0.0193841718, 0.0726093426, -0.0388067812, -0.052214276, -0.0025795414, -0.0285785738, -0.0269324612, -0.031814266, -0.0276131276, -0.0009778354, 0.0229398813, 0.0481927022, 0.0337031856, -0.0149594191, 0.030900253, 0.0250538159, -0.020311052, -0.0104572959, 0.044070974, -0.0157283265, 0.0515796468, 0.0292481314, -0.0391908213, -0.015121283, -0.0088190259, 0.017198123, -0.044929605, 0.0263957698, -0.0336698331, -0.0360729136, 0.0110444026, 0.0040523503, 0.0616006702, 0.0149305081, -0.0201991666, 0.0652924627, 0.0058999304, 0.0464371555, 0.00871218, 0.0724885613, -0.0310917664, 0.0121300779, -0.0250041876, -0.003078443, -0.0397892594, -0.0116917016, 0.014025881, 0.0219630525, -0.0375245214, -0.0140440483, -0.0225531235, -0.0259641558, 0.0541807674, -0.0341334902, -0.0769745708, 0.0022426513, 0.0226930771, 0.0614862032, -0.0358868688, 0.0281534437, -0.0094379066, -0.0523350015, -0.0131183984, 0.0012892198, -0.0129821394, -0.0233005472, 0.0328718089, 0.0571197383, -0.0020536731, -0.0417210013, -0.0678638071, 0.0198040698, -0.0109782983, -0.0841444358, 0.0307884831, -0.0751419365, 0.0093041444, -0.0180506688, 0.0158897694, -0.0447008237, -0.0157808326, -0.0093563013, 0.0167896226, 0.0400723256, -0.0315441079, -0.0004179622, 0.0270436816, -0.0139914053, 0.0266376622, 0.0989271626, 0.0094577279, -0.0114728799, 0.0383919366, -0.0216750242, -0.0206693169, 0.0552141815, 0.0417079702, 0.0159316529, -0.0522399843, -0.0061903507, 0.037732888, 0.0141078737, 0.0582676493, 0.0072111799, -0.0379883461, -0.0069162319, 0.0289012752, 0.039380122, 0.0303059183, 0.0044016223, 0.0297791827, 0.0338285118, 0.0397741087, -0.0096388226, -0.020783538, -0.0171369705, 0.0427212901, -0.0185436849, 0.0027296836, 0.0275938772, -0.0556533486, -0.034979552, 0.0316333473, -0.0073588365, -0.0183781739, 0.0043025478, 0.0785080269, 0.0274216998, -0.026545791, 0.0124631375, 0.1005695462, -0.0251906123, 0.0369752273, -0.0206678919, -0.000687405, 0.0196120366, 0.0322028287, -0.040683113, -0.051799424, -0.0186844971, 0.0556585006, 0.0213761516, 0.0488210768, -0.0363205113, 0.0292164609, -0.0718304217, -0.0274910778, 0.0004350125, 0.038928017, 0.0334066339, 0.0115748802, -0.0095448941, -0.0024023177, -0.0279347692, -0.0522869863, 0.0614722259, -0.0681411028, -0.0476484261, -0.0151754869, 0.0211894438, 0.0380568542, -0.0119605726, -0.0153605957, -0.0415826403, 0.0150500583, -0.0051233121, 0.0478092805, -0.016163554, -0.0659427494, -0.053834483, 0.0618086495, -0.0053366041, -0.0241839383, 0.0892802775, -0.0605480336, -0.0322070383, 0.0048328964, 0.0089267241, 0.0276277475, -0.044214543, 0.0486061797, -0.037263833, 0.0136971492, -0.0615552962, 0.0188459735, 0.0213576015, 0.0130706867, -0.0016609263, 0.0074235834, 0.0202297214, -0.0401856713, -0.0288111158, 0.002571149, -0.0148005094, 0.0477945656, -0.0199171193, 0.0179181211, -0.0515390523, -0.0176599678, -0.0659435093, -0.0240668654, -0.0483287126, 0.0067823231, 0.0042843916, -0.0019911602, -0.0091930702, -0.0259056296, -0.0010315038, 0.014706756, -0.0359032229, 0.017482806, 0.0139962006, -0.0012576181, -0.0091417041, -0.037543647, -0.0523293652, 0.0044778329, 0.0891539007, 0.0098432703, 0.0488030799, -0.0587297343, 0.0370234735, -0.0163464136, 0.0113404384, -0.0196519941, -0.0489136055, -0.0152168255, -0.0246614404, -0.0173981953, 0.0562326685, -0.002490466, 0.0211643968, 0.0475999601, 0.0135127716, -0.0522347279, 0.0032711967, -0.0217885934, -0.0401911624, -0.0307409465, 0.0224092323, -0.012998974, 0.0462004654, -0.0292231347, -0.0149169704, -0.0399928391, -0.0149859646, -0.0288815368, -0.0048158588, -0.0443265848, 0.0269955173, -0.0223210156, 0.0184691213, -0.0147195309, -0.0372997522, 0.0548199527, -0.0295050479, 0.0040369136, -0.0754738674, 0.0074256966, -0.0121421609, 0.0043628165, 0.0037566104, -0.0062126601, 0.0194803812, -0.0286613554, -0.0731942058, -0.0023918913, 0.0274017081, -0.019848749, 0.018756913, -0.0658924431, 0.0071629095, 0.0074667861, -0.0183483288, -0.028637005, 0.000422761, -0.0077570169, 0.0152138695, 0.0038985747, 0.0285516549, 0.0051656631, -0.0246272534, -0.0305452049, 0.0717709884, -0.0100371111, 0.0190716218, -0.0013714895, 0.0158025213, 0.0379831344, 0.0054522147, 0.0003667781, -0.0496525392, 0.0191377364, 0.0189931896, 0.0716895014, -0.0180234611, -0.0328508504, 0.027391063, 0.037284933, -0.0216221735, -0.0090532331, 0.0262256302, 0.023524493, -0.0565202869, -0.0316924043, 0.0950699374, 0.0034789201, -0.0709978119, -0.0103236251, 0.0107684555, 0.0490590408, 0.0326509289, 0.0401296355, -0.0500102602, -0.02235852, -0.0009667801, 0.0367022119, 0.0330068916, -0.0079055522, -0.0254209954, -0.1004893705, 0.0249194056, 0.0154396156, -0.0410811529, 0.0271878205, -0.0725816339, -0.0119349761, -0.0377069563, 0.0564232394, 0.0154192355, -0.0165411644, -0.0168191697, 0.0529562719, 0.003632623, -0.0786642358, 0.0461730324, -0.0415439866, 0.0521081723, 0.0285770129, 0.0304565895, -0.0206945799, -0.0034357142, 0.0659171045, -0.0442603603, -0.0222681314, 0.0008863243, 0.0681418478, 0.0095065832, -0.0381607972, 0.0347148404, 0.0290833283, -0.0100191543, 0.008472994, 0.0109147727, 0.0833145678, 0.0136809135, -0.0054870932, 0.0237322841, -0.0244940091, 0.0313720033, 0.0430642925, 0.0324980319, -0.0818002969, -0.0229908023, -0.0007819578, -0.0176664796, -0.0367792323, -0.0387714058, 0.0231215786, -0.0118376976, -0.0603625812, -0.0395855717, -0.0202587619, 0.0449770875, 0.0741633996, 0.0124857081, -0.0085365484, 0.0273138359, 0.0226727128, -0.0387411639, 0.0485046208, -0.0670758709, 0.004065644, -0.0917663053, -0.0208927095, 0.0172145087, -0.0390915126, -0.0458173826, -0.0155303655, -0.0936367139, -0.064971976, 0.0312364176, 0.0456479751, 0.0145048071, 0.0668213889, -0.0082908804, -0.0509192683, 0.0650561675, -0.01222743, -0.0175641365, 0.0161031131, 0.0714600682, -0.0708613992, -0.0273591038, 0.0204466842, -0.0428983383, 0.0596361794, 0.0530677848, 0.0246430729, 0.0316225775, 0.0533042178, 0.0028692326, 0.0157746952, 0.0735300258, -0.0217152257, -0.0233616736, -0.0810740218, 0.024950901, 0.0173335765, -0.003362593, -0.0246844217, -0.0030682418, 0.024014201, 0.0013472461, -0.0241865255, -0.0579249412, 0.0069150757, 0.0250690635, -0.0109572047, 0.0073459172, -0.0352704115, 0.0632843897, 0.0458747298, 0.0130005088, -0.0144938268, 0.0113717243, 0.0066653746, 0.027387701, -0.0501796231, 0.0411521457, 0.0059945686, 0.0348387212, -0.0219534487, 0.0126724867, -0.0234244373, 0.0039706039, -0.0347743668, -0.0045864498, 0.0778437853, -0.0640873611, 0.0411553681, -0.0339914337, -0.0104527418, -0.0348666608, 0.0288918391, -0.0111119151, -0.0470199287, 0.0419339165, 0.0143538062, -0.0074406639, 0.0210827868, 0.0652511418, 0.0352698974, 0.0478201695, 0.0224826299, 0.0357591398, -0.0484651811, -0.0424493551, 0.0090936162, 0.0268250629, -0.0088242888, 0.0147696091, -0.0232473183, -0.0750623122, -0.0072181863, -0.0106663927, -0.0217368361, -0.0023268552, 0.0424756669, 0.0525883175, -0.0509280153, 0.0303587876, -0.0355215035, -0.0082746288, 0.0152803659, -0.0132999485, -0.0105002131, -6.829145368e-33, -0.0045917933, 0.0129666533, 0.0170724764, 0.0178684443, -0.0194092058, 0.0155055337, -0.0357043594, -0.0070554423, -0.0252905414, 0.0340228565, -0.0147632686, 0.0146775022, 0.0182314683, 0.0436340906, -0.0190190878, -0.0117177973, 0.0527035743, -0.0203208681, -0.005320996, 0.0389156193, -7.16e-8, 0.0242315792, 0.0711063668, -0.047547821, -0.0319599956, 0.0164391212, 0.0022630612, 0.0152652552, 0.0030215364, 0.0560141131, -0.0041542691, 0.0580995604, 0.0132135144, -0.0574817769, -0.0176546294, -0.0457593687, -0.0728045404, -0.0400318056, -0.0229222625, 0.0395868123, 0.0078992965, -0.0448382236, 0.0144376038, -0.0024919335, 0.0002483764, -0.0352526642, 0.0256360639, -0.0172922295, -0.0502105094, 0.0233955476, -0.0592006557, 0.0243530497, -0.0198580455, -0.0070425249, 0.0263035297, 0.0196425766, 0.0025946146, 0.0216473192, -0.0137286829, 0.0285947118, 0.0400297754, 0.0616234317, 0.0415397957, 0.0320780426, 0.005464213, 0.0761729032, 0.0001896161, 0.0016929727, 0.0508204699, -0.0134922452, 0.0806455314, 0.029701801, 0.0110730566, 0.0512898006, 0.0412337035, -0.0361384414, -0.0999374017, -0.004927258, -0.0266285688, 0.0274474286, -0.000060751, -0.0071134628, -0.0265640337, -0.0426746421, -0.0333353616, -0.0295502543, -0.020335285, -0.0024449767, 0.0291031841, -0.0020047261, -0.0389967412, 0.0118601285, 0.0170388315, -0.040291056, -0.0447305106, 0.058441706, -0.0242550857, 0.0128110591, -0.0128437104, 0.0352855362, -0.0668124408, -0.0521006323, 0.000464395, -0.010425726, 0.0278333817, 0.0075783306, 0.0580039173, 0.0237835795, -0.0591666885, -0.0183940884, -0.0347717442, -0.0082377233, 0.0457189754, 0.0616131425, 0.038298849, 0.0169399809, 0.0091831349, 0.0554104559, 0.057275705, -0.0728656799, -0.0119063435, -0.0151329152, 0.0212199017, 0.0442045443, -0.037417952, -0.0268838853, -0.0375996567, -0.009008023, 0.0369521305, -0.0744536966, -0.0130768148, -0.0129634431, 2.962e-7, 0.0343257636, 0.0716016814, -0.0025307026, -0.0112301586, 0.0061625871, 0.0140956417, -0.0454586782, -0.0014799177, 0.0140577927, 0.0276849177, 0.0159038845, 0.0313413776, 0.0774869397, 0.0291445367, -0.0843712091, 0.016050173, -0.0297872815, 0.0315706655, -0.054050725, -0.033659976, 0.0106657622, 0.0977314934, 0.0374920741, -0.0222994033, -0.0138369873, 0.0168599337, 0.0388298519, -0.0050725434, 0.0298196077, 0.0396857895, -0.0306669194, 0.0278256759, -0.0124092568, 0.011789565, -0.0469940752, 0.0252198279, -0.008788066, 0.0663178936, -0.0095874732, -0.0054344493, 0.0137558784, 0.0073684966, -0.0248826519, -0.0478031263, 0.0437570326, -0.0565852225, -0.0001017827, -0.0205301996, -0.026291037, -0.0219363719, 0.0251132809, -0.0266398191, -0.0101212421, 0.0136452438, 0.0216476414, -0.0273847673, -0.014239559, -0.0654692054, -0.0017203831, 0.0018952168, -0.0228924584, -0.036973618, -0.0138333989, -0.0270571038, 0.0387843251, -0.0529018976, 0.0560694411, 2.767211966e-34, 0.0493009984, -0.0237502754, 0.0315248184, -0.0078331735, -0.0057364427, -0.0281458534, 0.0528011099, 0.0069237463, 0.0058152727, -0.0556802936, -0.0040739132 ]
http://arxiv.org/abs/2310.15383v1
http://arxiv.org/pdf/2310.15383v1
GD-COMET: A Geo-Diverse Commonsense Inference Model
2023-10-23T22:03:56
2023-10-23T22:03:56
Mehar Bhatia, Vered Shwartz
cs.CL
cs.CL
With the increasing integration of AI into everyday life, it's becoming crucial to design AI systems that serve users from diverse backgrounds by making them culturally aware. In this paper, we present GD-COMET, a geo-diverse version of the COMET commonsense inference model. GD-COMET goes beyond Western commonsense knowledge and is capable of generating inferences pertaining to a broad range of cultures. We demonstrate the effectiveness of GD-COMET through a comprehensive human evaluation across 5 diverse cultures, as well as extrinsic evaluation on a geo-diverse task. The evaluation shows that GD-COMET captures and generates culturally nuanced commonsense knowledge, demonstrating its potential to benefit NLP applications across the board and contribute to making NLP more inclusive.
[ 0.0642722473, 0.0742784515, -0.0288869739, -0.0039265514, -0.0283946004, -0.0017694877, 0.0213953853, -0.0177124031, 0.0746580437, -0.0272858869, 0.014867899, 0.0084820129, 0.0172267482, -0.0122132357, 0.0052312547, -0.0785451457, 0.0252295062, -0.000301777, -0.0060799015, -0.0137076983, -0.0110478727, 0.0480825379, -0.0275491197, 0.0665594637, -0.014393758, -0.0143530304, 0.0417332724, -0.0268617179, 0.0471840389, -0.0079081561, -0.0284956545, 0.0370971859, -0.0123252543, -0.0031243614, 0.0000019416, -0.0343257487, 0.036974214, -0.0254445858, 0.0385124236, -0.0228494238, 0.0464011244, 0.0056791352, -0.0000203768, -0.0236368366, -0.0571388565, 0.0348472185, 0.0470845364, 0.0075280252, 0.002235336, 0.01431619, -0.0066304309, -0.0109603209, -0.0514647402, 0.0011408065, -0.0036025441, -0.0532570444, 0.010939802, 0.0245649312, 0.037239939, -0.0383184515, -0.0077751083, 0.0333307795, 0.0295189172, 0.0068976772, -0.0506168716, 0.0322501436, -0.0626880899, 0.0046829809, -0.0038583125, 0.0614733174, 0.0752505586, -0.0085564377, 0.0033087288, 0.0287777316, 0.0112464298, 0.0190958455, -0.0517858453, 0.0411095098, -0.0156894047, 0.0222683344, 0.0414516926, 0.0292301439, 0.00287106, 0.0727126077, 0.0153073454, 0.0710981265, -0.014626761, -0.0018703771, -0.0243400447, 0.0281913131, 0.0100278035, -0.0420669504, 0.0371255241, 0.0177676007, -0.0036914453, 0.0072069564, -0.0100202784, 0.0086218547, 0.0158055257, -0.03918745, 0.0181414932, 0.0331931524, -0.0396705084, 0.0452395417, -0.0055247387, 0.0019441965, 0.0148847457, 0.0008271632, -0.0104460549, -0.0529598556, -0.051484555, 0.0116893798, 0.0290708765, 0.0015991251, -0.048598025, 0.0201574806, -0.04744187, -0.0126176346, -0.0363085903, 0.0136161456, -0.0061686891, 0.01371988, -0.0510636009, -0.0382019244, -0.052175764, 0.0399547964, -0.0961819962, 0.0354852974, -0.0044528088, -0.056276679, 0.0014686087, 0.0052271043, 0.0013590783, -0.0114304069, -0.0172025189, 0.0187473372, 0.0061628455, 0.0109986635, -0.0728406608, 0.0116846804, 0.0145444274, -0.0298666097, -0.0087813875, -0.0836460292, 0.0339284427, 0.013799686, 0.0168268438, -0.0532585941, 0.0065724747, 0.0317382924, -0.022429781, 0.0270843357, 0.0020705699, 0.0275029261, 0.0367674865, 0.0214190613, -0.0091099581, 0.0932165161, -0.0147537077, 0.028739376, 0.0671811923, 0.024337383, 0.0018039893, -0.0193556845, -0.0053003412, 0.0068433862, 0.0027941177, 0.0140362903, -0.0404013842, 0.0023463995, 0.0375681296, 0.0204498898, -0.0139501309, 0.023113627, 0.0223881174, 0.1098752767, -0.051611539, 0.0586175732, 0.0564272143, 0.0207864232, -0.0238639936, 0.0011186656, -0.0682354793, 0.0187519435, -0.0351343453, -0.0235320013, -0.0238351058, 0.0933082774, -0.0245109592, -0.0187508091, -0.0091323312, -0.0031487015, 0.0573710836, 0.008914453, 0.0198588166, -0.0052423179, 0.0626855344, 0.0504409112, 0.0509019084, -0.0591182113, 0.0111788064, -0.0144832768, 0.0140349185, 0.0317955837, 0.0040040556, -0.0099456282, -0.0165201444, 0.0114813587, 0.0170534328, 0.0427958481, 0.0434263349, 0.0011298904, 0.0181127526, -0.0389795713, -0.0193931945, 0.0456060246, 0.0098729739, 0.0068626218, 0.0679859295, 0.0517734028, 0.0092817619, -0.0416484922, 0.0103725698, 0.0067402311, -0.0070041995, -0.0022427654, 0.0062674074, 0.010199707, 0.0081242025, 0.0306047406, 0.012124138, -0.011762877, -0.0131763378, -0.0435633808, -0.0289341528, 0.0799055696, -0.0462552533, -0.0530750044, 0.0262049921, -0.0785531178, -0.053732872, 0.0165180899, -0.0067696832, -0.0212766845, 0.0351164564, 0.0128639685, 0.0046888157, -0.0544289462, -0.0541449003, 0.0027574112, -0.0049150852, -0.0017037961, 0.0937374085, -0.0565908551, -0.0156562123, 0.0001721732, -0.0228291713, 0.0179845411, -0.0200896841, -0.0197248273, -0.0157669522, -0.0202368814, -0.0082015507, 0.0200203601, 0.0482116602, -0.0152989626, 0.0079428935, -0.1131102219, -0.0232974272, -0.0106167411, -0.0181839429, -0.0149417762, 0.0220672321, -0.0341549143, -0.0354838111, -0.0346924625, -0.031842757, 0.0126509881, 0.0393615775, 0.0242089517, -0.0357923172, 0.0351977162, 0.0265223272, -0.0008675951, -0.0273979027, 0.0368537121, -0.0092147095, 0.0250202846, -0.0138380006, -0.0569551997, -0.0726918578, 0.0077738436, -0.0020444223, -0.0512126051, 0.0081245396, 0.0030517033, 0.0032350302, 0.0462293848, -0.0119013283, -0.0155960359, 0.0364368036, -0.0314773805, -0.0377611145, 0.0124577163, 0.0031106062, 0.0421301015, 0.0102625247, -0.0622416437, -0.0247505214, 0.0369839929, 0.0237255897, 0.003049718, -0.0524701513, 0.0217795316, -0.0458976366, -0.0447222851, -0.0362623706, 0.0328693092, 0.000634991, 0.0729209408, -0.0200612973, -0.0182206444, 0.0855473951, 0.0170299653, 0.0199677479, -0.0533407182, -0.0000501041, -0.0381027572, 0.0680419877, -0.0727841109, 0.0345610604, -0.0207569469, -0.018180633, -0.0105735306, -0.0155767929, 0.0185504332, -0.0208817571, 0.0324811526, -0.0541883893, -0.0053223511, -0.027021287, -0.0470955484, -0.0321935043, -0.0024085208, -0.0098204408, 0.0258896276, 0.0156314597, -0.027478449, -0.0030485366, 0.0194218177, 0.0302146561, 0.0156330988, -0.018321041, 0.0077199587, 0.011635961, 0.0221741162, 0.0455176085, 0.0587191358, -0.0013931283, 0.0550270006, -0.0421349145, 0.0315271094, 0.0522210002, -0.0228087157, 0.0400239117, 0.0487551279, 0.0357764065, -0.0213686675, -0.0010795821, 0.0034564114, 0.0778876394, -0.0301771313, -0.0004812301, 0.0530868657, 0.0333148874, -0.0519385934, 0.0031125259, -0.0543329418, -0.0008959429, 0.0094769811, 0.0467310213, -0.1258516014, -0.027462082, -0.0191971213, -0.04157326, -0.0210624821, -0.0702939853, 0.0244959928, -0.0991459042, 0.0270859227, 0.000760888, -0.0681261048, -0.0596511886, -0.0243046749, 0.0035034867, -0.0050941212, -0.021892339, -0.0282357708, 0.0062659979, 0.0093338871, 0.0046526119, -0.0391651653, -0.087096639, 0.021909086, -0.0478273332, 0.0238151271, 0.0371973924, 0.0624660775, 0.0096565401, -0.0715257823, -0.0730169192, -0.0517602675, 0.0183393508, -0.0353717655, -0.04019963, 0.0036671034, -0.0114248721, -0.015155416, 0.0279953033, -0.0483321659, -0.0227090325, 0.0345127732, 0.0799691305, -0.0074437801, 0.0146406945, -0.0441755429, 0.0217951257, 0.0610812902, 0.0803924575, 0.0295620263, -0.0048267618, -0.0089367041, -0.0373949483, -0.0459470302, -0.0390506797, -0.0510098673, 0.0360408053, 0.0017854237, -0.0652703792, -0.0584556647, -0.0495340265, 0.0270034652, 0.0225526877, 0.0075727967, -0.0237401314, 0.0166381262, 0.0359196626, -0.0183227137, 0.0576782525, -0.044636894, -0.0001973448, 0.0274912063, -0.0142170675, 0.0018161725, 0.0110118017, -0.0164918285, 0.0693978444, -0.0239693671, -0.0180139635, 0.026173871, 0.0493602119, 0.0126202684, -0.0050384835, -0.0470736548, -0.0162320212, 0.0101303495, 0.0401321091, -0.0174780879, -0.0210882109, 0.0122498237, 0.0328520648, 0.0250871815, 0.066878587, 0.0029220188, 0.0337869637, 0.0006447593, 0.053206645, -0.0480937697, -0.003170266, -0.0114160581, -0.0206973702, -0.0199754536, -0.0372953825, -0.0096151587, -0.0252212286, -0.0379213355, 0.0021466608, -0.0410797633, -0.0014215354, 0.0078014052, 0.010245909, -0.0066118101, 0.0006338973, 0.0550854206, -0.0156526305, 0.0063162106, -0.0525981486, 0.0158701111, 0.0716155618, 0.0690156519, -0.0442960486, -0.0055981404, -0.0356370062, -0.0031071019, -0.0408281051, 0.0466310345, -0.0189982671, 0.0713587701, 0.0244498029, -0.0454350077, 0.0158655159, 0.0112877646, -0.0370849743, 0.0011795216, 0.0344039723, 0.0726691261, 0.0838147625, -0.01191107, 0.0007158791, 0.004392751, 0.0019471348, 0.043561548, 0.0321852453, 0.0391753241, -0.0382842608, 0.0233592447, -0.0056585027, -0.0067913826, -0.0009369727, 0.0412899218, -0.1100549623, 0.0185833555, 0.0149380621, -0.0596060529, -0.0231979582, -0.0595651306, -0.0069747586, 0.0229689199, 0.0007322755, 0.0543714762, -0.0944963098, -0.042736195, -0.0146197286, 0.0070783421, 0.0148589285, 0.0122956168, 0.0049247001, 0.0943023041, 0.0055283308, -0.0809842497, -0.0307281651, 0.0242079943, -0.12641792, -0.0053934189, -0.0459921472, -6.424073689e-33, -0.0325817131, -0.0279346798, 0.0098264953, -0.0430845656, -0.0013009263, -0.0260360632, -0.0382728912, -0.0061129001, -0.0502008162, 0.0218309928, -0.0395701528, 0.0098132761, 0.0270389803, 0.0116964886, 0.0208383482, 0.0164956022, 0.0087300939, 0.0588581488, -0.0189284701, 0.0136935525, 0.0647590756, -0.0056446032, 0.0694648623, -0.0667334571, 0.0224807281, 0.0173381716, -0.0095505444, 0.0204996727, 0.015614612, 0.0446200445, -0.043221008, 0.0491246358, 0.0308433659, 0.0259390622, 0.0200996436, 0.0084281564, -0.0738751963, -0.0686295927, 0.0307954699, 0.0010750266, -0.0021568919, -0.0313082039, 0.0029861385, 0.0010645149, -0.0114124091, 0.036263153, 0.0442056768, -0.0282618888, 0.0080235666, -0.028294161, -0.0283426624, 0.0418557525, 0.0009752613, 0.0143361939, -0.0542797111, 0.024931943, -0.0235087778, -0.0256054029, -0.0440677181, 0.0284295194, 0.0341899544, 0.0063690762, 0.0696055517, -0.0414637886, 0.0058888351, 0.030923238, -0.0364488736, -0.0068364763, -0.0697066113, -0.018895356, 0.0271033756, 0.010465214, -0.0055880509, 0.1146642044, -0.0211528298, -0.005483076, -0.0195712429, 0.0615549721, 0.0539952517, 0.041566588, 0.015140377, -0.0192321707, -0.0522978827, -0.0013777717, 0.0049282247, -0.0599646978, 0.004246044, -0.030486647, 0.0120116519, -0.0186223965, -0.040975865, 0.0847829729, 0.0102006402, -0.024271002, 0.0095748156, 0.0316743143, 0.0290632118, -0.0360796489, 0.0290439874, -0.0074206782, -0.0631333143, 0.0010169956, -0.0095031103, 0.0117136063, 0.0025211612, 0.0327093787, 0.0247679334, 0.0179441813, -0.0260580163, -0.0236820001, -0.008352139, 0.025029432, -0.0434476919, -0.0087546157, 0.0462663844, 0.020181654, -0.0228600018, 0.0018916916, 0.0443985574, 0.0485910177, -0.0047269217, -0.0225330945, -0.0115783392, 0.0318822041, -0.0420534387, -0.0022543205, -0.0630244464, -0.0188128855, -0.0003320448, -0.0203481577, -0.00856758, 0.0189332701, 2.495e-7, 0.0013953062, 0.0073834429, -0.0122386236, 0.0074807452, -0.0247232579, 0.0188965593, 0.0276756715, 0.0145261036, -0.0105197048, 0.0194014125, 0.0128947785, 0.0528194793, 0.0447520129, 0.0771016255, -0.0979042202, 0.0225014724, -0.0347706228, 0.0078217108, -0.0545560978, -0.0041302061, 0.012611608, 0.048388496, 0.0347581394, -0.0151493363, 0.0044682436, -0.0379396044, 0.0102384938, -0.0214476231, -0.0134995142, -0.0165086742, 0.0282764155, -0.0314472318, 0.0195843764, 0.0265733711, 0.0096183531, 0.0045197294, 0.0202875249, 0.0542643592, -0.0080920942, -0.0009252993, -0.0270143133, -0.0452627391, -0.0017780452, -0.0881405771, 0.0601063035, -0.0177922342, -0.0200575721, -0.0306563526, 0.0213691592, 0.0063627665, 0.025208978, -0.0023342865, -0.0404373743, -0.0070673814, 0.0228211526, -0.0211614743, -0.0202913787, -0.0628295243, -0.0058858208, -0.0018892321, 0.0166083854, -0.0294903126, -0.0078044026, -0.0441143066, -0.0235603042, -0.0473928601, 0.0073892721, 1.98324861e-34, -0.0198728442, 0.053836789, -0.0378059112, -0.0001333204, 0.08006078, 0.0105916467, 0.0232426189, 0.0074605239, 0.0203546844, -0.0010485863, -0.0053456146 ]
http://arxiv.org/abs/2310.18355v1
http://arxiv.org/pdf/2310.18355v1
Health Disparities through Generative AI Models: A Comparison Study Using A Domain Specific large language model
2023-10-23T21:24:05
2023-10-23T21:24:05
Yohn Jairo Parra Bautista, Vinicious Lima, Carlos Theran, Richard Alo
cs.CL
cs.CL, cs.AI, cs.LG
Health disparities are differences in health outcomes and access to healthcare between different groups, including racial and ethnic minorities, low-income people, and rural residents. An artificial intelligence (AI) program called large language models (LLMs) can understand and generate human language, improving health communication and reducing health disparities. There are many challenges in using LLMs in human-doctor interaction, including the need for diverse and representative data, privacy concerns, and collaboration between healthcare providers and technology experts. We introduce the comparative investigation of domain-specific large language models such as SciBERT with a multi-purpose LLMs BERT. We used cosine similarity to analyze text queries about health disparities in exam rooms when factors such as race are used alone. Using text queries, SciBERT fails when it doesn't differentiate between queries text: "race" alone and "perpetuates health disparities." We believe clinicians can use generative AI to create a draft response when communicating asynchronously with patients. However, careful attention must be paid to ensure they are developed and implemented ethically and equitably.
[ 0.0496903732, 0.1069227457, -0.0245439541, -0.017752504, -0.0290678293, 0.0232135188, 0.0534429103, 0.0050897151, 0.0424571373, -0.0505477786, 0.0437734053, -0.0487429835, 0.0038632553, 0.031036213, 0.0043031555, -0.067767024, 0.0009214361, 0.0506040603, 0.0233189575, -0.011890552, -0.0103147402, 0.0236957856, -0.0210304875, 0.0885538831, -0.0107292384, -0.0075561325, 0.0209758449, -0.001017503, 0.0039036416, -0.0547499582, 0.0113258846, 0.0570682473, -0.0225171782, 0.0083826222, 0.0000019935, -0.0598679483, 0.0115838554, 0.0481375046, -0.0244234931, -0.0597521253, 0.0417894535, -0.0510003977, 0.0000054226, 0.0327008255, -0.0418171063, 0.0039178752, 0.0515580475, -0.0001278873, 0.0248782001, 0.0266201496, -0.0204865411, -0.0020290746, -0.0139507009, -0.0045272182, 0.0072209188, -0.0090870187, 0.0405955203, -0.0221306812, 0.0491481014, -0.04429131, 0.005550086, 0.0395742618, -0.0064004329, 0.0080692023, 0.0258195288, 0.0436075963, -0.0398687311, -0.0191735886, 0.0066578593, 0.0615260154, 0.0172886681, 0.0139881549, 0.0450470857, 0.0182348378, 0.0119856996, 0.0157818608, -0.0306652598, 0.0079499017, -0.0286228042, 0.0104027493, -0.0148645956, 0.0080602067, 0.017665891, 0.0118287662, -0.011646973, 0.0257552695, 0.0309299044, -0.0425832272, -0.0369485915, -0.0105436156, 0.0362714827, -0.0581008159, 0.0417813323, 0.0384663381, -0.0772705451, 0.0330855437, -0.0192813389, -0.0691949949, 0.0887611359, -0.0520851165, 0.0201381594, 0.0381920151, 0.0022673409, -0.0007543057, 0.0576139987, 0.0109227281, -0.0093138898, 0.0248669907, -0.0261536743, 0.0062270984, -0.034482237, -0.017728664, -0.0149836345, 0.0216698162, -0.0327042975, 0.0372988731, -0.0636281967, -0.00434815, -0.0409251079, 0.0135856168, 0.0007078862, 0.0430538319, -0.0446294583, 0.0095053073, -0.0218475573, -0.0254437849, -0.0102251666, 0.0229820572, -0.0157200117, -0.0715747848, 0.0319645293, -0.0041967859, -0.0098421257, 0.0024592462, -0.0174494833, 0.0576627553, 0.0104051931, -0.0102124801, -0.0211447924, -0.0346385613, -0.0178159755, -0.0159169417, 0.002302239, -0.0666998252, 0.0502377674, 0.0203747544, -0.0002910184, -0.0744137615, 0.0158722028, 0.0338994339, -0.0666427836, 0.0562935956, -0.0292647053, 0.0444266722, 0.0771581382, 0.0477199107, 0.0383094028, 0.0387773514, 0.0175752044, -0.0256475341, 0.0155164497, -0.0313669443, -0.0150004253, -0.0077568372, 0.0245594475, -0.0193500929, -0.0140402084, 0.0178787429, -0.0051417337, 0.057551492, -0.0490673073, 0.0874331146, 0.0063733156, -0.0232177004, 0.0184833035, 0.1365435869, 0.0156122269, 0.0303570479, 0.0438773595, 0.0193127077, -0.0402757898, -0.0220767893, -0.026141718, -0.035393551, 0.0039326814, -0.0265845452, 0.0438555591, 0.0195297804, -0.0313011631, -0.0417788066, -0.0368491039, -0.0278504472, 0.0115138553, -0.0114819556, 0.0247614197, -0.0185484122, -0.0063523091, 0.0405279435, 0.0504399985, -0.0292005204, -0.014058846, -0.0936489254, 0.0031164784, 0.1224390045, 0.0347399674, -0.0416447558, -0.0112730954, -0.0194985271, -0.0266935788, 0.0331867337, 0.0277256146, -0.0035985743, -0.0078623751, -0.0297466852, -0.0154972244, 0.0599132776, 0.0271058399, -0.0001408372, 0.0113240005, 0.0582072847, 0.0018216646, -0.0224612281, -0.0138660111, 0.0338825732, -0.0554206222, 0.0016611434, 0.0060532219, -0.0142635824, 0.0446307771, 0.0526467487, -0.0192250088, 0.0397012457, -0.035606768, -0.023451522, -0.0334199332, 0.0043779747, -0.0545263104, 0.0162630379, 0.0008060572, -0.0654229, 0.0250261799, 0.0245069228, 0.0088030128, -0.0032871123, 0.0050645163, -0.0443001464, 0.0175247751, -0.0162286591, 0.0291465931, 0.0282348897, 0.0002918841, -0.0335277654, 0.0172967408, -0.0355410501, -0.0089869387, 0.0106086796, -0.007368098, 0.0081561552, -0.0503433384, 0.0116361156, 0.0289912783, -0.0038205364, 0.0205003768, 0.0026555285, 0.020322321, 0.0096335178, 0.0052253278, -0.1054124534, -0.0125889573, -0.0012796847, -0.0438417792, -0.0043842876, 0.0354241244, -0.0113882534, -0.0110696219, -0.0298052784, -0.0302932709, 0.0589403473, 0.0290823877, 0.0035828198, -0.0004056727, -0.0070190993, -0.0346529856, -0.0346198827, -0.0494429059, 0.0490948185, 0.0552900471, -0.0129207317, -0.0042125345, -0.0211740043, -0.0345785283, 0.0142165935, 0.0120994728, -0.0362247601, 0.0193593726, 0.0007530382, 0.0237999633, 0.0069034747, 0.0344315544, 0.0381517708, 0.0270211976, -0.0083511136, -0.032895837, 0.0084015867, -0.0186550319, 0.0261507295, 0.0229961071, -0.1014557034, 0.0346917287, 0.0707266852, 0.0525299795, -0.0279566441, -0.0441840589, 0.0236634556, -0.043863371, -0.0297304764, -0.0452677421, -0.0224820264, -0.0207778942, 0.0251912139, 0.0004354711, -0.0411726348, 0.066141203, 0.0210738443, 0.0621085539, -0.0959561169, -0.0027806032, -0.0533843078, 0.0008714073, -0.0144329136, 0.0406956896, 0.0078873057, -0.0270422399, 0.0243305471, 0.014285, -0.0161077678, -0.0628700405, 0.053902097, -0.038471546, 0.008482459, 0.0013136081, -0.0490931943, -0.0622429326, -0.0307926238, -0.0106905606, 0.0226945877, 0.0512383357, -0.0025397083, -0.0484865829, 0.0208636764, -0.0044346652, 0.0654647201, 0.0305315647, -0.0244364217, 0.009041355, -0.025767697, 0.0192845818, -0.0025349029, -0.0117848879, 0.0046985685, 0.0482523255, 0.027517857, 0.0218421482, 0.0186456107, 0.0215301588, 0.0090351952, 0.0101026529, -0.0257489309, -0.0174569245, 0.0337801836, 0.0102070458, -0.0123318415, 0.0063698338, 0.0991240889, 0.0305203181, -0.0454282761, 0.0326236151, -0.0530531481, -0.0488101467, -0.0289806277, 0.0008923816, -0.1087045074, 0.0078198947, -0.0072500156, 0.0553305931, -0.0631077513, -0.0306338854, 0.0232797172, -0.0622850135, 0.027904002, -0.0118333548, 0.009977621, -0.0577037819, -0.0030240675, 0.0110275606, 0.0327095501, -0.0128563093, -0.0498210676, 0.0114275888, 0.0036542402, -0.0074600899, -0.0730635896, -0.083216913, 0.0078199292, 0.0072794184, 0.0188299716, 0.0983974412, 0.0667884201, -0.0127158519, -0.0353747196, -0.0090682972, 0.0023628534, 0.0020029652, -0.0195908714, 0.0564733334, 0.0369765237, 0.0047468967, -0.0677050427, 0.059838295, -0.0102380393, -0.0270935632, 0.0264772587, 0.0413300432, -0.0472153649, -0.0353812128, -0.0704046115, 0.0398413502, 0.042460233, 0.0621223673, 0.0251812413, -0.0054532201, -0.0211763252, -0.0218554419, 0.0509689786, 0.0031575647, -0.0120780971, 0.0214932822, -0.0026955886, -0.0284523051, -0.033120472, -0.0326902382, 0.0037033823, -0.0276736598, 0.0203650612, -0.0248347856, 0.0550941043, -0.0163072515, -0.0382491052, 0.008788703, 0.0137412725, 0.0266903527, -0.0099742552, -0.0767976716, 0.0148640564, -0.0103123765, -0.0171192735, -0.002856439, -0.0083095133, -0.0239503402, 0.0372021608, 0.0163796041, 0.0241346844, -0.0138323465, -0.0049115377, -0.0256726034, 0.0135382637, 0.0757898986, -0.0262217037, -0.0201820806, -0.0329001136, 0.0088383667, -0.0015644287, 0.0050570993, 0.0089880386, 0.0471967496, 0.0055829901, 0.0262075439, -0.0436243117, -0.0241805967, -0.0110980552, 0.0282885879, -0.003521838, -0.0043360563, -0.0170546249, -0.0436500013, -0.0066865045, -0.044775594, -0.0039699376, -0.0297453199, -0.0329701416, -0.0139072658, 0.0126278978, -0.0230156463, -0.0036945203, -0.0747318566, -0.0107615795, -0.0692377985, 0.0911244825, 0.0017964802, 0.0282738917, 0.030989388, -0.0484446287, 0.0141649004, 0.043254897, -0.0246255919, 0.0279446375, 0.0068827253, 0.0728783682, 0.0075412309, 0.0121785058, 0.0130623635, 0.0096980697, -0.0182935242, -0.0819223896, -0.0092036529, 0.0604723841, 0.0170326009, 0.033870887, -0.024101248, -0.0057291402, -0.0066262092, 0.00080884, 0.015923677, 0.0225001499, 0.0139123136, 0.0570069738, -0.0147844488, -0.005255308, -0.0439118892, 0.0871073306, -0.0023872729, 0.0490215234, -0.0116189281, -0.0547707081, -0.0213099141, -0.0418147668, 0.048383601, 0.0003358439, -0.0388082713, 0.0045445743, -0.078317605, -0.0406339653, 0.0142403161, -0.0223816056, 0.0151579361, -0.0029022878, 0.0431814864, 0.0453150421, -0.0044058589, -0.04650563, -0.0072963382, 0.0725195557, -0.0670890585, -0.0445262492, 0.0233989172, -5.933388551e-33, -0.0209058523, -0.0642651469, 0.0101636397, -0.0604915693, -0.0068281949, 0.0070554311, -0.0284991469, -0.0174092632, -0.0093747685, 0.0234252829, 0.0129605867, 0.0201463718, 0.0046478403, 0.0507215634, 0.0137752881, -0.038565699, 0.0388853177, 0.0184074733, 0.0001317422, 0.03858665, -0.0561680943, 0.0356707349, -0.0149151776, -0.0841817856, 0.0319923274, -0.0279549789, 0.032737352, 0.0050416435, 0.0014826896, 0.0353174806, -0.0381785743, 0.0681559294, 0.0414740406, -0.0173311047, -0.0004561214, 0.0748519525, -0.0334521569, -0.0371453427, 0.0127404556, -0.0544996224, -0.0354163125, -0.0513210632, 0.0321248248, 0.0182979573, -0.0694103464, -0.0035821828, 0.0558674484, -0.0460599326, 0.0282165222, -0.0422348157, -0.0353648029, 0.0306092929, -0.0465518534, 0.0250284318, -0.0497074686, 0.0141627453, -0.0317257829, 0.0352079198, -0.0075229467, -0.0078982739, 0.0742807686, -0.0352708511, 0.0418798067, -0.012957315, 0.0196758248, 0.0183435138, 0.0292070024, -0.0212808345, -0.0650460571, -0.0330724306, -0.035785418, -0.0126061896, 0.0258938484, 0.0452068187, -0.0088759884, -0.0409097932, -0.0593958162, 0.0464591682, -0.0763180852, 0.0102697834, 0.0475558303, -0.0230830926, -0.0846722871, -0.0251829065, -0.0267530028, -0.0114240106, -0.0177132022, -0.0326827206, 0.0406767763, -0.0108075282, 0.0314901732, 0.0564841442, -0.0115826018, -0.0164897852, -0.0000429773, 0.0040215789, 0.0529745035, -0.0569951683, -0.0385186188, -0.0115822395, -0.0717662126, 0.0257939305, 0.0210660007, 0.0392915159, 0.0401458442, 0.0270926729, -0.0182402618, -0.0540724099, -0.055517491, -0.0062695467, 0.0316618308, 0.0351193808, 0.0026798323, 0.0088071469, 0.0365926698, 0.0200713668, 0.0104186134, 0.0640756488, 0.0098150726, -0.0113533325, -0.0627198294, -0.0342338756, -0.0238117315, 0.0029090708, -0.0719291121, 0.0172121655, -0.0321761072, 0.0459756926, 0.0338482894, -0.035904482, 0.0048382529, -0.0518576428, 2.653e-7, 0.0539469272, 0.0279382393, -0.0048547857, -0.0089834919, 0.0192020983, -0.0006273711, 0.0524118915, 0.0191031992, 0.0101670232, 0.017970752, 0.0195363965, 0.0334639773, 0.020821156, 0.0546795391, -0.0256610829, 0.0288671702, -0.0930258632, -0.0320958644, -0.0586027391, 0.0163589418, 0.0699826553, 0.0328055471, -0.0185155608, -0.0307924282, -0.0098610725, 0.0129049681, 0.0064647165, -0.0408622995, -0.0005851139, 0.0355728641, 0.0323162489, -0.0046751513, 0.0393008068, 0.0494848564, -0.0229011178, -0.0041708057, 0.0061068526, 0.0633547679, -0.0476680733, 0.0405074134, 0.0115034208, -0.0220095031, 0.0046367678, -0.054712452, 0.0541076623, -0.0118529312, -0.0422975123, -0.0169357937, -0.0022537278, -0.0401949435, 0.0332409218, -0.0346248336, -0.031294968, 0.0194131173, 0.0198380947, 0.004672165, 0.0415661484, -0.0377714187, -0.0057236576, -0.0045743696, -0.0463219211, -0.0439517796, 0.0279936008, -0.003231542, -0.0151804453, -0.0140424361, 0.06023084, 2.442927972e-34, 0.028931709, 0.0419853143, 0.0003466537, -0.0017398358, 0.0288573317, 0.0203603655, 0.0007698023, -0.0020309049, 0.0241904892, -0.0366633348, -0.0166164264 ]
http://arxiv.org/abs/2310.15373v1
http://arxiv.org/pdf/2310.15373v1
Semantic Data Management in Data Lakes
2023-10-23T21:16:50
2023-10-23T21:16:50
Sayed Hoseini, Johannes Theissen-Lipp, Christoph Quix
cs.DB
cs.DB, cs.AI, cs.CL, cs.HC
In recent years, data lakes emerged as away to manage large amounts of heterogeneous data for modern data analytics. One way to prevent data lakes from turning into inoperable data swamps is semantic data management. Some approaches propose the linkage of metadata to knowledge graphs based on the Linked Data principles to provide more meaning and semantics to the data in the lake. Such a semantic layer may be utilized not only for data management but also to tackle the problem of data integration from heterogeneous sources, in order to make data access more expressive and interoperable. In this survey, we review recent approaches with a specific focus on the application within data lake systems and scalability to Big Data. We classify the approaches into (i) basic semantic data management, (ii) semantic modeling approaches for enriching metadata in data lakes, and (iii) methods for ontologybased data access. In each category, we cover the main techniques and their background, and compare latest research. Finally, we point out challenges for future work in this research area, which needs a closer integration of Big Data and Semantic Web technologies.
[ -0.0094072698, 0.007101465, -0.0196050163, 0.00275639, -0.0127944238, 0.0013106167, 0.0014184488, -0.0167780034, 0.0673531368, -0.0330491923, -0.0259716623, 0.0376471914, -0.0076812464, -0.002998871, -0.0472763889, -0.0561690517, 0.0510492586, -0.0192218777, -0.0549561866, -0.0141901542, -0.0102566518, 0.0111634033, 0.0455013514, -0.0311672799, -0.0268902872, 0.0113405278, -0.0220314357, 0.0124738021, 0.0205573626, -0.0357873365, -0.0304455031, 0.0253106598, 0.0064689787, 0.0553594194, 0.0000020745, -0.0394384935, -0.0371877998, 0.0443317145, -0.0095190033, -0.0101827802, 0.0322077796, -0.0060060713, 0.0350327156, -0.0200249813, 0.0184173547, 0.0051189461, 0.0671221912, 0.0136520751, 0.078267023, -0.0687630475, -0.0200571865, -0.0379630476, 0.0130068073, 0.0462471992, 0.0587301888, -0.0065431697, 0.0439671315, 0.0859972909, 0.0725294054, -0.0100031979, -0.0114953863, 0.0281003658, -0.0360319614, 0.0428048894, 0.0156863965, 0.0181743018, 0.0093779564, 0.0212102085, -0.0215482488, 0.0203400254, 0.0731086954, 0.0064675556, 0.0246970523, 0.0126670823, -0.0477070175, 0.050287772, -0.0307159815, -0.0226399787, 0.0102216108, -0.0051806988, -0.0173121132, -0.0063951025, 0.0445224196, 0.0303755421, -0.0720268637, 0.0712252855, 0.0141465031, 0.0145160062, -0.0619129613, -0.0462326817, 0.0255980715, -0.0063893213, -0.0032651117, 0.0459261946, -0.0170431715, 0.017465651, -0.026486259, 0.0011339843, 0.0241582282, -0.0249595828, -0.0284168012, -0.0083547654, 0.0131153818, 0.0776108652, 0.070062466, -0.0501042418, -0.0470583215, -0.0156106614, 0.0058359317, -0.1009434313, -0.1060314775, -0.0121275811, 0.0307242256, 0.019097222, -0.0115457792, -0.0004210886, -0.0016866259, 0.0760900006, -0.0349955522, 0.0467136838, -0.0128709665, -0.0438487455, 0.0111310175, 0.0060764304, -0.0782373622, -0.000359432, 0.0225633942, -0.000877951, -0.0169870034, -0.0475929976, 0.0373003818, -0.0212990083, 0.0404807664, -0.0085031809, -0.0027797199, 0.0505758598, 0.0885188505, 0.0463494062, -0.0915109962, -0.0884697512, 0.0541629046, 0.0036206413, -0.0340091884, -0.0432322882, 0.0663104951, -0.0121820346, -0.0017431264, -0.0043558162, -0.0196188521, 0.0074996394, -0.0692418516, 0.0522900522, -0.1093446538, 0.0173725635, 0.0494553968, 0.015023604, -0.0056002224, 0.0511483513, -0.0012981414, 0.0001874754, -0.0088883024, -0.0032269657, -0.0024326432, -0.0461500473, 0.0235148892, -0.02654876, -0.0025586828, 0.0688111931, -0.0009292423, -0.0168961547, -0.0640399009, 0.0234120153, -0.0251504071, 0.0022498681, 0.0400687903, 0.0227628276, -0.0087471325, 0.0009777555, -0.02275455, 0.0411196314, -0.0095320102, -0.0303185973, -0.0249807183, 0.0530551895, 0.0279106796, -0.0528361797, -0.0115512749, 0.003665007, -0.0303167216, -0.0294318851, 0.0050571123, 0.0117522581, -0.0510044321, -0.0149728237, 0.0189391822, -0.017003376, 0.0722048506, 0.0458278768, 0.0121330693, 0.0189506449, -0.003765974, 0.0068322206, 0.0213571209, 0.0771680698, 0.0246947687, -0.0587827303, -0.0557161756, -0.0067302715, 0.0269432198, -0.0040760087, 0.0305726621, -0.0081268884, -0.0380777121, -0.0406175852, -0.0455048867, 0.0713093355, 0.0072566839, -0.0322037153, -0.0201085657, 0.0244385004, -0.0171043146, -0.0785669982, 0.0173968654, -0.0057437797, 0.0602635853, 0.0532775968, -0.0038614669, 0.007010065, 0.0387055799, 0.0005657776, 0.0162148271, 0.0027382402, 0.015606801, 0.0338897593, -0.0792298838, 0.0101945121, 0.0510808006, 0.0646485612, -0.0185486134, -0.031723775, 0.0396255404, -0.0167686753, -0.0420947298, -0.0403416418, -0.0255527124, 0.0294594541, 0.0315423124, 0.002017752, -0.0040944037, 0.0030954811, 0.0085389074, -0.0305936355, 0.0339652151, 0.0044476739, 0.000148273, -0.0026563546, -0.0302231237, 0.0298885349, -0.0617524497, 0.0155564789, 0.013139179, -0.0075182952, 0.0291362647, 0.0143775307, -0.0394338742, -0.0522672497, 0.085553579, -0.000944016, 0.0568880513, 0.0421348959, 0.0306854248, 0.0160062555, 0.0472453311, -0.004846273, -0.00004292, -0.0155612724, 0.0134820323, 0.0033557378, 0.0216406658, 0.0383041389, 0.0311354958, -0.0083624925, 0.0222412553, -0.0262478199, -0.0057356646, 0.0268502273, 0.0000326793, -0.0575009324, 0.009443298, -0.01265366, -0.1403002441, -0.0183372702, 0.0221540108, 0.0988167822, -0.0305927508, -0.0259054415, 0.0197101999, -0.0227204766, -0.0626516193, -0.016063476, -0.0017160592, -0.0348850712, -0.0276825037, -0.0081570055, -0.0003346794, 0.0356426463, 0.0150676612, 0.0268138386, 0.0118372785, -0.0791010112, -0.0243036542, -0.0267318487, 0.004033871, 0.0200773925, -0.0172871258, 0.0293609593, -0.0460902154, 0.0010926676, 0.0539135896, 0.0400217697, -0.0343566984, -0.0265477598, -0.0025817526, 0.0292874649, 0.0616622157, 0.0033983879, -0.009429316, -0.0517796762, 0.0507292934, -0.0035335752, 0.0248805992, -0.0609354377, -0.0183851011, -0.0123739587, -0.0125757102, 0.0276335906, -0.0469417758, -0.0301863141, 0.0103123533, 0.0144239087, 0.0161927976, 0.010758847, -0.0476328954, 0.086297214, -0.0390629731, 0.0062177884, -0.0177165605, 0.0177380349, -0.021174401, -0.029113071, 0.0239055734, -0.025468953, 0.0346634649, -0.0365990549, -0.0184225924, 0.0141771222, -0.0207921863, -0.0017624049, 0.0151006551, 0.0362455063, 0.0530827455, 0.0560389869, -0.0337740704, -0.0895942971, 0.0194368791, -0.0204548109, 0.0127784861, -0.0371839739, 0.0033373218, 0.0058123511, -0.0494765937, -0.0546416827, 0.0272000339, 0.0224852171, 0.0479495525, 0.0316950902, -0.019346891, 0.0076078698, -0.0154672191, -0.0015977524, 0.0140849231, -0.1123877913, -0.0221061595, -0.0001348155, -0.0238600764, 0.0130459219, -0.058974728, -0.0092217363, -0.0045680981, 0.05210701, -0.0078156507, -0.0358205549, -0.0442944132, -0.0577444695, 0.0339485966, -0.0207164083, -0.0660865232, -0.0293754414, 0.018813869, -0.0068605649, -0.0208443291, 0.0062922318, -0.0010196889, -0.0224486627, -0.0346301496, 0.0342182666, -0.0280291345, 0.0392977558, -0.0143173756, -0.0202795286, 0.009232292, 0.0313805304, -0.0613344498, -0.0691424459, -0.0115859853, 0.003416138, -0.0040181675, -0.0497048981, 0.0004832536, 0.0218625646, 0.0024223339, -0.0285574719, 0.1402514279, -0.0509792492, 0.0278754365, -0.0426896214, -0.0396761112, 0.0064992472, 0.0600272641, -0.0291788839, 0.0390525721, 0.0107070282, 0.0183501933, -0.0263950117, 0.0297577474, 0.0232547242, 0.0823876783, -0.059069559, -0.0101365717, -0.0087634111, -0.0195750054, 0.0194560625, -0.0296801813, 0.0181626137, 0.0179112703, 0.0349670686, -0.0388419814, -0.066491574, 0.0101803923, -0.0818808377, 0.0385980383, 0.0231700372, -0.03137023, 0.0306526814, -0.0234905519, -0.0312829167, 0.0348226689, 0.0116986018, -0.0333658382, 0.03083908, -0.007154448, 0.011432033, -0.0192410871, 0.0193269439, -0.0086137848, 0.0711166859, 0.0731663257, -0.0545133129, -0.0796099529, -0.0159881618, 0.0851226673, 0.004341241, 0.0060192724, -0.0174478032, 0.0391349606, -0.0196676571, -0.0288737174, -0.0148866121, -0.0009340629, 0.0142403422, 0.0359864682, -0.0269296691, 0.0730513856, -0.0420237929, -0.0138260955, 0.0272275358, -0.0067936578, -0.0269623902, -0.0082955547, 0.0155199869, -0.0483326502, 0.0083443113, -0.0147431558, 0.0211350191, 0.0541437306, -0.0099187745, -0.0482594259, -0.0105645051, -0.0100100273, -0.0457953997, 0.0042821378, 0.0022372419, 0.0032722433, -0.0043429774, 0.0113951312, 0.0244109593, -0.0171532277, 0.0083317691, 0.0520566516, 0.0114506185, -0.0219156891, 0.0161078908, -0.0651632324, -0.0459278487, 0.0680210367, 0.0033643267, 0.0174597315, 0.0647591576, -0.0060584461, -0.0486688018, -0.0148309581, -0.0008074316, 0.0083688824, 0.0234989394, -0.0228549019, 0.0121061662, 0.0234923065, 0.0104571274, -0.0177726038, -0.0100103281, -0.0471435413, 0.0188179817, -0.0713929683, -0.0711327791, -0.0363910012, -0.0094488841, 0.0550726727, 0.0658175051, -0.0260163881, -0.0192686319, -0.053583838, -0.0380002409, -0.0024274976, 0.0470695347, -0.0261071064, -0.0003868786, 0.0043724682, -0.0510679223, 0.03664314, -0.0174576212, -0.0129734538, -0.0060735485, -0.0718133599, -0.021921074, 0.0285409391, -5.157791134e-33, -0.0046142288, -0.0096298745, 0.0260316208, 0.050044924, -0.0098396186, -0.0381321833, 0.0400650799, -0.0491309799, -0.0031877966, 0.0063455324, 0.0179545805, 0.0397397131, 0.0162278619, 0.0157591142, -0.0320566669, -0.0463294052, 0.0426367894, 0.0111546516, 0.0190587342, -0.0102172475, 0.0459663197, -0.0036876895, -0.001286621, -0.0066775512, 0.0155341215, -0.0253040716, -0.0201341677, 0.0433513857, 0.0061627137, 0.028225502, -0.014332247, 0.0658403561, 0.0126325674, -0.0323267616, -0.0319482237, -0.0270287078, -0.0840502307, 0.0007198214, -0.0093118064, 0.0265910868, 0.0091864225, 0.0055374862, 0.0042978837, -0.0205314402, 0.0581432916, -0.0091177141, 0.0063309739, -0.0065565915, -0.0429440811, -0.0481161736, 0.025083283, 0.038829945, -0.01852143, 0.0248079617, 0.050089132, -0.0605317876, 0.0366796404, 0.0134974364, -0.0550389402, 0.0610001497, -0.0411786996, -0.0334837101, 0.0024835486, 0.0075576226, 0.057349842, -0.020457387, 0.0445154533, -0.0048550167, 0.0580188334, 0.0522127412, -0.0457428582, 0.0546312332, -0.0355931967, -0.0223641526, -0.0337872356, -0.0084729772, -0.0697070211, 0.0510024428, -0.0503750257, -0.0238488708, -0.0561783016, 0.0017825679, -0.031163048, -0.0080733392, -0.0221479591, 0.036276415, -0.0128380973, 0.0661870018, 0.0096131619, -0.0268142875, -0.034689948, 0.087201111, 0.0271953885, -0.0333843008, -0.0414895453, 0.0211253557, 0.0513322242, -0.0155229196, 0.0170465466, 0.0085443342, 0.0089301057, -0.0203424934, 0.002884431, -0.0144482981, -0.0052276892, 0.0131474743, 0.0325930156, 0.0197123606, -0.0494766273, 0.0209229123, -0.0029212821, -0.0361882448, -0.0618848167, -0.0787761435, 0.0230452344, 0.0300758891, 0.0562061369, 0.0259656608, 0.0640044957, 0.0247618388, -0.0146674309, -0.0016646448, -0.0549218357, -0.0157902632, 0.0473348498, 0.006759014, -0.016897615, -0.0738337338, 0.0494112484, 0.0031419157, 0.0032381935, 0.013811809, 2.772e-7, 0.0273021385, -0.0158533175, -0.0349476337, 0.0379345678, 0.0508793183, -0.0206205584, 0.0002642328, 0.0053520622, -0.029621413, -0.0246081073, 0.0623123273, 0.0213486273, -0.0173248928, 0.0395489521, -0.0266525242, -0.0197331458, 0.0342722051, -0.0713540614, -0.0712246224, -0.0077577773, 0.0420075618, 0.0138345733, 0.002085306, -0.0015367636, 0.0012531844, 0.0367128067, 0.0049357503, -0.0183014534, 0.0332979448, 0.0358489752, 0.0635713637, 0.0083125494, 0.0236871485, 0.0357752778, -0.0054587247, 0.0219812877, -0.0233878791, 0.0034417424, -0.0116989901, 0.034706708, -0.0371782966, -0.07481841, -0.0038948122, 0.0260221045, 0.0572274104, -0.0011504008, -0.0396593362, 0.0231188275, -0.0231735222, -0.0061713131, 0.0114645278, 0.0344547182, -0.0345655568, -0.0016423638, -0.0085941507, 0.0281455182, 0.0181912333, -0.0124719692, 0.0310894791, -0.0267636348, -0.0183205307, -0.0289061125, 0.0023891826, -0.0070244647, 0.0360641181, -0.0308187865, -0.0109104356, 2.22872581e-34, -0.0086829988, 0.0101265432, -0.0028838546, -0.0258483849, -0.0263171569, 0.0041840626, 0.0179063175, -0.0199111961, 0.0236793738, -0.0377490185, 0.0220533479 ]
http://arxiv.org/abs/2310.15372v2
http://arxiv.org/pdf/2310.15372v2
EpiK-Eval: Evaluation for Language Models as Epistemic Models
2023-10-23T21:15:54
2024-02-22T20:59:54
Gabriele Prato, Jerry Huang, Prasannna Parthasarathi, Shagun Sodhani, Sarath Chandar
cs.CL
cs.CL, cs.AI
In the age of artificial intelligence, the role of large language models (LLMs) is becoming increasingly central. Despite their growing prevalence, their capacity to consolidate knowledge from different training documents - a crucial ability in numerous applications - remains unexplored. This paper presents the first study examining the capability of LLMs to effectively combine such information within their parameter space. We introduce EpiK-Eval, a novel question-answering benchmark tailored to evaluate LLMs' proficiency in formulating a coherent and consistent knowledge representation from segmented narratives. Evaluations across various LLMs reveal significant weaknesses in this domain. We contend that these shortcomings stem from the intrinsic nature of prevailing training objectives. Consequently, we advocate for refining the approach towards knowledge consolidation, as it harbors the potential to dramatically improve their overall effectiveness and performance. The findings from this study offer insights for developing more robust and reliable LLMs. Our code and benchmark are available at https://github.com/chandar-lab/EpiK-Eval
[ 0.0338939801, 0.0366277508, -0.0130424853, 0.044218421, -0.0476322137, 0.0100796605, -0.0144823967, -0.0183140952, -0.0274167825, -0.0560017452, 0.016753098, -0.0305750892, -0.0064998479, 0.0247578118, -0.0045957295, -0.0468766876, 0.0198833719, -0.0467700846, 0.0262201764, -0.0164753664, 0.0086232405, 0.0496794917, -0.0077866097, 0.0284729227, 0.0097941393, -0.0056049186, -0.0178627204, -0.0300731845, -0.0005423418, 0.0101375682, 0.008476764, 0.0024598753, 0.0172942188, 0.0467072055, 0.000002139, -0.069819726, 0.0043402012, -0.0034325479, -0.0506218709, 0.0350729786, 0.0197281633, -0.0295334905, 0.0136437071, -0.0158150867, -0.0234195087, -0.0018378979, 0.0018979959, 0.0626082793, 0.0796645135, 0.0623597838, 0.016865395, -0.0535390377, 0.0371896029, 0.0082513262, -0.007993645, -0.033016447, 0.0278784595, 0.045994658, 0.0053839954, -0.0172339715, -0.0043107001, 0.0400074869, 0.0491843112, 0.0001917342, -0.0117920311, 0.0222131163, -0.0514740348, -0.0038232526, -0.0156936552, 0.0535520427, 0.0462431088, -0.0274741706, -0.0201443303, 0.0181014761, 0.0011216967, -0.0027835274, -0.0651968867, 0.0585200302, -0.0113449078, 0.020179674, 0.0185065027, -0.006590941, 0.0403598323, 0.0123153115, -0.0239912309, 0.0842474252, 0.021897899, -0.0291898344, 0.0050008507, -0.0214614756, -0.0177703034, -0.0746692047, -0.0164508261, 0.0724127293, -0.0112969885, 0.0288732108, -0.0154915806, 0.0251552667, 0.0305108484, -0.0306132454, 0.0106887016, 0.0303835645, 0.0347641222, 0.066261977, -0.0242807288, 0.0676287785, 0.0183828473, 0.0307179186, -0.0692569688, -0.0427780524, -0.0899025798, -0.0317722745, -0.0164543539, 0.0624815933, -0.0197753236, -0.0224417336, -0.0083937924, 0.024434289, 0.0013204588, -0.0082722902, 0.0060923561, 0.0159316566, 0.0205858033, -0.0053191083, -0.0824107975, 0.0194911417, -0.0562691055, 0.0097757364, -0.0011059653, -0.0445455462, 0.000327856, 0.0212398693, -0.0479786918, -0.0056426213, 0.0009772775, 0.0253546219, 0.0155059639, 0.0162661653, -0.0367647298, -0.0232617464, -0.0313127562, -0.0858455002, -0.0074293418, -0.0841766074, 0.0520539284, 0.0037124846, -0.0108089829, -0.0241409801, 0.0081526404, 0.0029949644, -0.0218257122, 0.0586339831, -0.0009876863, 0.0324604474, 0.0474369712, 0.0407960676, 0.0258298498, 0.0671494529, 0.0575085096, -0.0007837284, 0.045608148, 0.0072929752, -0.0070573534, 0.0150717776, 0.0158321448, 0.0066293203, -0.0054920013, 0.055163078, 0.0113790417, 0.0168571658, 0.0149964457, 0.073949948, -0.0109115187, -0.0466394052, 0.0413533822, 0.042285908, -0.0009160631, 0.0103859166, 0.0723660961, -0.0047325767, 0.0410609953, 0.0220139995, -0.0322109386, -0.002184744, -0.0199526772, 0.0358541198, 0.0138602676, 0.0374623835, -0.0305312425, -0.0453790054, -0.0358865261, 0.0077033769, -0.0313766114, 0.0305811446, 0.0360449404, 0.0029651318, -0.0251580961, 0.082856372, 0.0351914503, -0.0417917222, 0.0034097882, -0.0464651138, 0.0498284437, 0.0492239557, 0.0372461863, -0.0158858187, -0.049274683, 0.0034169955, 0.0041451375, 0.0219379645, 0.0577893443, -0.0526735336, 0.0265432652, -0.0132128252, 0.0007783421, -0.0661767796, 0.0079292171, 0.0232851356, 0.0238392502, -0.019489456, 0.0204323474, -0.0878039598, -0.0275695194, 0.0396210887, -0.0390051752, -0.0166350082, -0.0468299985, -0.0089284955, -0.0002212176, 0.0269205756, -0.0010880613, 0.020037422, 0.0470888577, -0.0169540551, -0.0322141908, 0.0197396278, -0.0440416895, -0.0461443961, 0.0620001033, -0.0566826053, -0.0274550933, 0.0203378741, -0.0248878282, -0.0540333055, 0.011187382, -0.051225882, 0.0483063199, -0.0432123877, 0.0234841593, 0.006496748, -0.0306541473, -0.0406208783, 0.069710888, -0.0121684177, -0.0035960269, 0.0420927256, -0.0011928024, 0.0353396162, -0.0419092104, 0.0010483683, 0.031935256, 0.0039526047, 0.0069470326, 0.0272058416, -0.0172726307, -0.0612865314, -0.0423826277, -0.1101503819, 0.0086343894, -0.0203393809, 0.009891469, 0.026154222, -0.0295056514, 0.0036452461, 0.0158096049, -0.0435749814, -0.032338731, 0.0270929188, -0.0092338091, 0.010017992, 0.0220172592, -0.0261516832, -0.025324339, 0.0036072358, -0.0410847887, 0.0485845394, 0.0005976758, 0.0198610704, -0.0407020114, -0.0265072174, -0.0578489304, -0.0056449352, -0.0184597187, -0.0072734402, 0.0177706424, -0.0089401705, 0.0252624862, 0.018641578, -0.0020512277, 0.0112515269, 0.0467268899, -0.0391270779, -0.0451238118, 0.0108882086, -0.0069472613, 0.0097037237, -0.0616938956, -0.0575820804, 0.0018180861, 0.0581620373, 0.0244421959, -0.0031322595, -0.0624718219, 0.0389722176, -0.0218669493, -0.0462664142, -0.04325426, -0.0117655965, -0.0070538549, 0.0385840833, -0.0253057349, -0.0355919525, 0.0837018117, -0.054274302, -0.0006526968, -0.0296949074, -0.0312217921, -0.0662427694, 0.066046685, -0.0266223215, 0.0218137484, 0.0034591262, 0.0208950583, -0.0363227539, -0.0184125695, -0.0215989016, -0.0166406874, 0.0424495004, -0.0697064251, 0.0167746302, 0.0102266697, -0.0140192397, -0.0382276997, -0.0279464014, -0.0290418174, 0.0547233187, 0.0096533988, 0.012506023, -0.0319013335, -0.0030854817, 0.033627145, -0.0301749837, -0.0038730027, -0.0118697062, -0.009605512, 0.0460643731, 0.0756710917, 0.0120573705, 0.0397340357, -0.0303444304, 0.0640420467, 0.0523886904, 0.0562579855, 0.0393052995, -0.0174384974, -0.0072603836, 0.0052452628, -0.0664871857, 0.0081681078, -0.0072017615, 0.0363801159, -0.0758115426, -0.0091639161, 0.145495519, 0.0477939472, 0.0102567002, -0.0028190948, -0.035689842, 0.0238760132, 0.0206022244, 0.0181637146, -0.0619108006, -0.0111938454, -0.0077288058, 0.0227966048, 0.0050563887, -0.0193257388, -0.0095088976, -0.1194201112, -0.0074544065, -0.0099950247, -0.061861068, -0.0096016685, -0.0459472872, -0.0155024948, 0.0073279031, 0.0291698352, 0.0251688734, -0.0253363252, -0.0016003589, -0.0095775463, -0.0274259187, 0.0005307917, 0.0701555237, -0.0309548508, 0.0612164475, 0.0374334753, 0.0469855852, -0.0160889402, -0.0161529984, -0.0095248129, -0.0434867255, -0.0246284362, 0.0174863171, 0.0293589532, -0.0195668377, 0.0189093258, -0.0074122902, 0.0138167851, -0.029100081, -0.0217606667, 0.0302734692, 0.07826709, -0.0101662455, -0.0300984569, -0.0260950029, 0.017744923, -0.0433636159, 0.1274239421, 0.0343900658, -0.0091681639, -0.0487733372, -0.0220941082, -0.0251613725, -0.0380005799, -0.0321138799, 0.0591483936, 0.0181082897, 0.0500902794, -0.0664927065, -0.0855167881, 0.0278603882, 0.0167748388, 0.0111341411, 0.0044373521, -0.0160345193, -0.0159077346, -0.0181904864, 0.0287371147, -0.0605456382, 0.0050375117, -0.0368882045, 0.0082194349, 0.021512039, -0.0276721492, 0.0005497235, 0.0157130882, -0.059390679, -0.0637194514, 0.0021913429, 0.0389670096, 0.0234157033, 0.02568461, -0.0168170482, -0.0347592868, 0.0542386696, -0.0302038528, -0.0437348224, 0.0415131673, 0.0123788435, 0.0129754758, 0.0004528449, 0.0412006713, -0.0557221472, 0.0088992184, -0.0270855986, 0.043473091, -0.0446935408, -0.0549792349, 0.0348654352, 0.0164317191, -0.0302676763, -0.0056436472, -0.0201270264, -0.0016387383, 0.00953539, -0.0404799059, -0.0261049252, -0.0146711608, 0.020674305, 0.0260167532, -0.0176001359, 0.035644304, 0.0303518306, -0.0080576688, 0.0234431252, -0.0302424859, -0.0383409113, 0.0234961119, -0.0194150303, -0.0002398234, -0.0052743438, -0.0200794935, 0.0051690913, -0.0417574681, 0.0553017594, -0.007301738, 0.058256153, 0.0220492873, -0.0211107321, -0.0058497838, 0.0135988668, -0.0897096172, -0.049624946, 0.016322976, 0.0207694229, 0.0451537296, -0.0086592278, 0.0606614277, -0.0149748931, -0.0174169857, -0.0212620236, -0.0262256879, 0.0283219293, 0.0133047104, 0.0449530855, 0.0407367945, -0.0208663195, 0.0414460227, 0.0537002161, 0.004333613, 0.0691556707, 0.0097952569, -0.0043986505, -0.0329409093, -0.0614076816, -0.0124537544, 0.0266201925, -0.0315236934, -0.0209803265, -0.0643623099, -0.0487806387, 0.0121647958, 0.0324593857, -0.0180308092, -0.0218512658, 0.0321550034, 0.0655537993, 0.0208853595, -0.0221317615, -0.0390948951, 0.0043815635, -0.0295536462, 0.0197754446, 0.0077895052, -6.501207424e-33, -0.0301614851, -0.0132874288, 0.0455634519, -0.0277692322, -0.0372105949, 0.0315230414, -0.0212361868, -0.0203018412, -0.047232829, 0.0170001574, 0.0112515809, 0.0202651098, -0.0027231134, 0.0158988107, -0.0278433282, -0.0174255129, 0.0071323034, 0.02089292, -0.0364514813, 0.0027274145, 0.0302026011, -0.0086777983, 0.0222208444, -0.0451719798, 0.0623140372, -0.0069699916, 0.0069060866, 0.0359409563, -0.0351751968, 0.0928663239, -0.037795715, 0.0342189968, 0.0232009031, -0.0567388274, -0.0002920296, 0.0032302402, -0.0677362159, -0.0159583017, 0.076335229, -0.0193493776, -0.0588185452, -0.0462275557, 0.0415300876, 0.0071187234, 0.025737511, -0.0244301092, 0.033967521, -0.0132550485, 0.0072392435, 0.0098854201, -0.0644877553, 0.0163817462, -0.0306352228, -0.0068145255, -0.0005319678, 0.0178133808, 0.0215930715, 0.0206266716, -0.0437744334, -0.0025299923, 0.0247049239, 0.0119631421, 0.0697577745, -0.0000044819, -0.00264931, 0.0630044416, -0.0045818151, -0.0190664157, -0.0561259277, -0.0021925003, 0.0050117625, 0.0407823212, 0.0501063503, 0.0356778465, -0.0426857322, 0.0399762802, -0.0733978748, 0.0332469307, 0.0198259298, 0.0539590456, 0.0157124028, -0.003344862, -0.0346310064, -0.0095694112, -0.0877647772, 0.00121072, -0.0233571343, -0.0133020077, 0.0325866938, -0.0112267574, -0.019704055, -0.0127174687, 0.0118103819, -0.0652880371, 0.0189129338, 0.0240367074, -0.0265567601, 0.0214266554, 0.0056571546, 0.0664296672, -0.0538278073, 0.0484830588, 0.0155979665, 0.0105145844, 0.006744334, 0.0065174834, 0.0122907367, 0.0001436927, -0.0051078615, 0.0180381574, -0.0361423232, -0.0167476535, -0.035343688, -0.0116622066, 0.0183937643, 0.0648379996, -0.0145301381, 0.0119312247, 0.0262669828, -0.004097525, -0.0211177841, -0.0323674195, 0.0227172896, 0.0092715481, -0.0321580693, 0.0141357221, -0.019074209, 0.0071048085, 0.0160448924, -0.0106942598, 0.0004397221, 0.0454232208, 2.674e-7, 0.0557069257, 0.0273487698, 0.0552334674, 0.0281690042, 0.0024439897, 0.0147292456, -0.0055403048, -0.0057481057, 0.0060787657, -0.0645307228, -0.021985637, 0.0941511765, 0.0469979718, 0.0548292845, -0.0640666783, 0.0054764766, -0.0509880967, -0.0526399389, -0.0658467636, 0.0354426093, 0.0600408465, 0.0565021746, 0.0284871385, -0.0224609543, -0.0261815116, -0.0430399813, 0.0627475455, -0.0314114019, -0.0461752303, 0.0581399538, 0.0139588434, 0.0265140999, 0.0082175871, 0.01035849, 0.0292964038, 0.0238474179, -0.0008649217, 0.0727931634, 0.0104688741, -0.0502277203, -0.0165306199, -0.0563735925, 0.0133043993, -0.0903379098, 0.1079669148, -0.0383021235, -0.021742288, -0.0217564553, 0.0063026748, -0.0002012948, 0.0129679097, -0.0202143099, -0.0095691029, 0.0202044901, -0.0176969711, -0.015397381, 0.0124447504, -0.0511822812, -0.0179756712, 0.0232016351, -0.0291336328, -0.0535535365, -0.0125590023, -0.0121340984, -0.0071511399, -0.1024559364, 0.0163880587, 2.546512901e-34, 0.0311141089, 0.0052470542, 0.0019254696, 0.0352687798, 0.0474151634, -0.015166468, -0.0307206288, -0.0208088327, 0.0021272691, -0.0886511132, 0.0074275164 ]
http://arxiv.org/abs/2310.15355v1
http://arxiv.org/pdf/2310.15355v1
Why LLMs Hallucinate, and How to Get (Evidential) Closure: Perceptual, Intensional, and Extensional Learning for Faithful Natural Language Generation
2023-10-23T20:35:52
2023-10-23T20:35:52
Adam Bouyamourn
cs.CL
cs.CL, cs.AI, I.2.7
We show that LLMs hallucinate because their output is not constrained to be synonymous with claims for which they have evidence: a condition that we call evidential closure. Information about the truth or falsity of sentences is not statistically identified in the standard neural probabilistic language model setup, and so cannot be conditioned on to generate new strings. We then show how to constrain LLMs to produce output that does satisfy evidential closure. A multimodal LLM must learn about the external world (perceptual learning); it must learn a mapping from strings to states of the world (extensional learning); and, to achieve fluency when generalizing beyond a body of evidence, it must learn mappings from strings to their synonyms (intensional learning). The output of a unimodal LLM must be synonymous with strings in a validated evidence set. Finally, we present a heuristic procedure, Learn-Babble-Prune, that yields faithful output from an LLM by rejecting output that is not synonymous with claims for which the LLM has evidence.
[ 0.0328976661, 0.0678878725, -0.0254759621, 0.0223432519, -0.0717187002, -0.0091039399, -0.062399365, 0.0025091774, -0.0168365128, -0.0306551922, -0.0133068841, -0.012836691, 0.0235576816, 0.007441448, 0.0604322851, -0.026373582, 0.0597825274, -0.0199048314, -0.0084833503, -0.0269864574, -0.0121782077, -0.0245864335, -0.0001858967, 0.010554322, -0.0427064225, 0.0436121933, -0.0058915336, -0.0258280486, -0.014371017, 0.01496532, -0.0239739828, 0.0141554708, 0.0182813015, 0.0272804219, 0.0000016507, -0.0675110072, -0.0042212778, -0.0376508348, 0.0059802723, -0.0283512976, 0.0055268789, -0.0165825915, 0.0170919374, -0.0167574678, -0.019227542, 0.0262036547, 0.0387034602, 0.0044274046, 0.0384314619, 0.0815364048, 0.0219294522, -0.0008677316, 0.0254318547, -0.0281285979, 0.0542145558, 0.0166572183, 0.0112751452, 0.0120896939, 0.0133168679, -0.0218697619, -0.0450065471, 0.0303606, 0.0197699592, 0.0092535568, -0.0321048498, 0.0497137196, 0.0059220032, -0.0394057408, 0.0173153579, 0.0272864439, -0.0213051792, -0.0581989065, 0.0064538284, -0.0079104137, 0.0128264213, 0.0000965017, -0.0238557365, 0.1017821878, -0.0334417149, 0.0488074347, 0.0274645947, -0.0140132476, 0.0287609398, 0.0044447882, -0.0096541736, 0.066365853, 0.0097888988, -0.027273247, -0.0009243396, 0.0268755648, -0.0117611727, -0.0452109687, -0.0119989412, 0.0257766992, 0.0015763458, 0.0491907932, -0.0587813333, 0.0434891768, 0.0226433761, -0.0122360094, 0.0011753531, 0.032347519, -0.0243984126, 0.0175375491, -0.0730639547, -0.0061776438, -0.0128466645, 0.0545079485, -0.0134914704, 0.0054528764, -0.0334341712, -0.0176796149, -0.0003824795, 0.0618573576, 0.0144338356, -0.0113646016, -0.0278998818, 0.0115314014, -0.0127582205, 0.0314661711, -0.0332120955, 0.0037190127, -0.0304494034, -0.0119966408, -0.0724291652, -0.0121542411, -0.0172748417, 0.0630170256, 0.0236383621, -0.0508215539, -0.0206467435, 0.064034082, -0.0140181333, 0.0315210409, 0.0087617952, 0.0668166429, -0.0096357809, -0.0275557432, -0.1056761146, -0.0638201386, -0.0319762118, -0.0634725466, 0.0273611229, -0.0449951887, 0.010926703, -0.0205355883, -0.0223601125, -0.0656468719, 0.005874129, 0.0098135211, -0.0168193839, 0.0437382869, -0.0220205765, 0.0071957624, 0.0053085745, 0.0106287757, -0.0025070549, 0.0143117681, 0.0107561881, 0.0539204888, -0.0001169156, 0.019157555, 0.0258122757, -0.0047795633, 0.050011415, -0.0038839525, -0.0625676587, -0.0602149889, -0.0107876863, 0.0234510582, 0.0697563812, 0.0661757067, -0.0618864782, -0.0410697609, 0.0792851523, -0.0239096154, 0.0020266147, 0.0032765979, 0.0861753523, -0.0549807511, 0.0037917113, 0.1031709388, -0.0565365963, 0.0296708141, -0.0369183347, 0.0181727465, 0.0454902537, -0.0081360498, -0.0232122689, -0.0539530814, 0.0188015681, -0.0162323974, -0.0264208149, -0.0313704275, 0.0117277354, 0.0566191599, -0.0257270765, 0.0351978876, 0.020205617, -0.0226849671, 0.0605532788, -0.0582585186, 0.0636359975, 0.0129437279, 0.0280909315, 0.0026809273, 0.007186769, -0.0028778536, -0.0059827757, 0.0848925859, 0.0081355581, 0.0088248635, 0.011918637, -0.0123143755, -0.015036054, -0.0406932198, 0.0303962491, 0.0066813729, -0.0184704959, -0.029977506, -0.0011256391, -0.0200695619, -0.0067932312, 0.0702036694, -0.0257658716, -0.0323083885, -0.0034233152, -0.025903834, 0.0455276668, -0.0224386938, -0.0102693085, 0.0581164099, 0.0178540163, -0.0221842304, -0.0276172981, 0.0415922701, -0.0275608972, -0.0235212911, 0.047193367, -0.0553471446, 0.0310539491, -0.0304335449, -0.0175373014, -0.0446295552, 0.0317092016, -0.0756081194, 0.0323580466, -0.0648285896, 0.0257022083, 0.017601816, 0.0110534662, -0.0284372903, 0.083751224, -0.04911476, -0.0044662249, 0.0400815345, 0.0316778049, 0.0098543279, -0.0332010016, -0.0007143796, -0.0094261067, 0.0295025371, 0.02097244, 0.024600273, -0.0150881056, -0.0498271845, -0.0531454161, -0.0227716826, 0.0027335437, 0.01303994, 0.0016889538, 0.032015726, -0.0374861956, 0.004685591, -0.020223679, -0.0277057942, 0.0369642079, 0.0617129616, -0.0000184513, 0.0415908359, -0.0070149642, -0.0125111062, -0.0333410837, 0.0268593598, 0.0085167643, 0.0206887927, -0.0065273596, -0.0217749998, -0.0980041847, 0.0180838034, -0.0779634714, 0.0120432219, 0.0044523492, 0.009977337, 0.0400281586, 0.0056991219, -0.0117387325, 0.0440829769, 0.0230910368, -0.0275611617, 0.0661234632, 0.0141843995, -0.0505484156, -0.0165073872, -0.061655242, -0.0110290833, -0.0029014796, -0.0582024865, 0.0065253251, 0.0443790592, 0.0653657615, 0.0021234073, -0.0327506848, 0.0614017732, 0.0415791795, -0.0593910515, 0.0515958183, -0.0402419232, -0.0455370694, 0.0261852294, -0.0292964876, -0.0977215245, 0.0476339087, -0.0449684225, 0.049145136, -0.0203712955, 0.0001390364, 0.0234143808, 0.0417861901, 0.0450795367, 0.0247817114, 0.0155518353, -0.0043811225, -0.0497042872, -0.0210062396, 0.0186207667, 0.0084556248, 0.028043244, -0.0314031541, 0.0166396722, 0.0163006112, 0.0160461944, -0.0864021629, -0.0127893668, 0.0117356209, -0.0250472166, -0.033367373, 0.0266482569, -0.0190275479, -0.0091433357, 0.0639281943, 0.0263342913, 0.0222153962, -0.0189524274, -0.0551873371, 0.024943985, 0.0287062898, 0.0263485443, 0.0341843292, -0.0300122481, -0.0528114997, 0.0659345761, -0.0521379821, 0.0695558861, -0.0417194888, 0.0141888484, -0.0089407526, -0.0022280535, -0.0444268547, 0.0266521182, 0.0109228166, -0.0219230913, -0.0141024459, 0.0635183007, 0.0115176206, 0.0009934887, 0.0337935686, -0.012749848, 0.0462949984, 0.0117467493, -0.0025995832, -0.0514577441, -0.0009779823, 0.0058873687, -0.0077957548, -0.0356073193, -0.04122141, -0.0279878061, -0.0828298181, 0.0206695441, 0.030236857, -0.0165364537, 0.0003807259, -0.0079091843, 0.0018042673, 0.0348997712, 0.0039486466, 0.0393836685, 0.004557197, 0.0246239956, 0.0241991933, 0.0240007583, -0.0433588289, -0.039118778, -0.0271841977, 0.0505481362, 0.0448450483, -0.0171627942, -0.0025516078, -0.0676498562, 0.0534195118, 0.0201399606, 0.0130023127, -0.0283067413, 0.0177902784, 0.0220199563, 0.0032190692, 0.0104438402, 0.0332424119, -0.0076646744, -0.0212085489, -0.0076391604, 0.0591311008, -0.043723654, -0.0577095598, -0.0106609426, 0.048547525, -0.0218813568, 0.0626976788, 0.0579713769, 0.005235685, 0.0014181896, -0.0235107187, 0.0149135198, -0.0082275616, -0.0209149439, 0.0601866543, 0.01924292, -0.0085861664, -0.1021974459, -0.016532585, -0.0239675678, 0.0646414161, 0.0052875038, 0.0105397655, -0.0137997791, -0.0635780096, 0.00936177, 0.0088179074, -0.0494503044, -0.0553389043, -0.0158582386, -0.0069528567, 0.0247426052, -0.0501839072, 0.0067087896, 0.0362368599, -0.0508357771, -0.0827212706, -0.0319613777, 0.0670808032, 0.0381209068, 0.0271554533, 0.0345846973, -0.0548363477, 0.0153916832, 0.0242726374, 0.0209000353, 0.0672882572, -0.0001556264, -0.0021786692, -0.0069957413, 0.0339448489, 0.0170684271, 0.0162466466, 0.0462562554, 0.042283427, 0.012085015, -0.0024400037, 0.074340418, 0.0246825852, -0.0122540174, -0.057099212, 0.0124273552, -0.0456442311, -0.046967648, 0.0208833758, -0.0074912226, -0.0329980552, 0.0330776609, 0.0206560716, 0.0371480323, 0.0085759778, -0.0723529905, -0.0358921848, 0.0732005537, 0.0243754536, -0.0783096552, 0.0309973378, 0.0083135385, -0.0177157428, -0.0110795405, -0.0181830991, 0.0340592228, -0.0477484018, 0.0287410747, -0.0138305407, 0.0346443579, 0.0428223535, 0.0125280423, -0.0557499975, -0.0155315958, -0.018734606, -0.0294959918, -0.0290524252, 0.0548182689, 0.0531931445, 0.0310704987, 0.0157108922, -0.0548619144, 0.01709654, -0.008368724, 0.0427916721, 0.0360344164, -0.0300648268, 0.0352070667, 0.001783439, -0.0436449088, -0.0017728374, 0.071943596, -0.0225803908, 0.0516167432, -0.034379147, 0.0283507332, -0.0451025851, -0.0849572495, -0.0011449479, 0.0242823325, -0.0126888063, 0.0088757854, -0.0160048418, -0.0667773709, 0.0085419621, 0.0526626445, 0.0236689448, -0.0203714818, 0.0176512226, 0.0510305576, 0.0029175412, 0.0049159089, -0.0115879504, 0.0046967715, 0.0732907653, 0.0059239622, 0.0060606017, -5.828382375e-33, -0.0476482287, -0.036846865, 0.0419692919, -0.0231067631, 0.0077001057, -0.0047091041, -0.0259933043, 0.0218988974, -0.0033284286, -0.0053399196, 0.0268368106, -0.0197856259, 0.0012789161, 0.001168725, -0.0029458096, -0.0148162935, 0.0238864068, 0.0012087035, -0.0403013192, -0.0061244853, 0.0480889827, -0.0118213966, 0.0519108586, -0.059648782, 0.0390218385, 0.0248801149, -0.0610647202, 0.0265404265, -0.0467168652, 0.0182104893, -0.0394174047, 0.0119465841, 0.0357864685, 0.0037791173, -0.0418377072, -0.0149505651, -0.020748252, -0.0384336114, 0.0734356195, -0.0426333025, -0.0940191075, -0.0177274067, 0.0964440629, -0.0332003981, -0.0328082033, 0.0462162308, 0.011875486, -0.0366129428, -0.0311060324, 0.0216818545, -0.0590482801, 0.0084948456, 0.0636783093, -0.0063434704, -0.0656952113, -0.0134319775, -0.0243504476, 0.0128231542, -0.0499712601, 0.025714267, -0.0122523718, 0.0317841992, 0.0442059003, -0.0124754664, -0.0028595808, 0.0848812312, 0.0422361754, -0.0065182, 0.0173296202, -0.0019541876, 0.0275729094, 0.0319658853, 0.0346201621, 0.0655616075, 0.006157761, -0.0057781739, -0.0590053089, -0.0054882234, 0.0566502549, 0.0078447396, 0.0189969111, -0.0301098805, 0.0222825818, -0.0164677519, -0.0588275269, -0.044363942, -0.016906891, -0.023534786, 0.0248746425, 0.0562112778, 0.0070827804, -0.0339760222, 0.0170120336, -0.0059087994, 0.0124905547, -0.0129939271, -0.0550348908, -0.0081774807, 0.021918945, -0.0145234484, -0.0388220288, -0.0500432402, -0.0225768462, -0.0245037396, 0.0086147133, 0.0181330927, 0.0207154602, 0.037321113, -0.020553425, 0.0275330935, -0.0489055775, 0.0294401366, 0.0149064884, -0.0483749062, 0.0588304512, -0.0134161254, -0.0348256007, -0.0061616749, 0.0029761465, -0.0303979777, 0.0050687506, 0.0213211253, -0.0003171511, 0.0818124712, -0.0295639001, -0.0172571242, -0.0173012801, -0.0232438687, 0.0240401886, -0.0813864991, 0.013567212, 0.0298694633, 2.641e-7, -0.0024700013, -0.0092179924, 0.0216259882, 0.0024769085, 0.0425978862, -0.0088799354, -0.0359509252, 0.0258954689, -0.0095941536, -0.0811283588, -0.026823217, -0.0072299847, 0.0196041595, 0.0164221209, -0.0372435264, 0.0072976188, -0.0262429956, 0.0029724652, -0.0283222366, -0.0060775611, 0.0430701897, 0.0605582371, 0.0053138612, -0.0350432023, 0.0228368286, -0.0931508169, 0.09234339, 0.0165979229, -0.0089023132, 0.0093370713, 0.075845249, 0.0004740342, 0.0031937102, 0.0236266572, 0.0293598156, -0.0038610969, -0.0169417486, 0.0409805737, 0.0442953706, -0.0376083963, -0.012036995, -0.0261235815, 0.0170933157, -0.0449086614, 0.0344615653, -0.0397580974, -0.016434323, -0.0046880511, 0.0042638499, -0.0060051475, -0.0074216574, -0.0096289003, -0.0465972908, 0.0067273527, 0.0185709447, 0.0676432401, -0.0327842049, -0.0432859994, -0.0211342033, -0.0487858541, -0.0748917088, -0.0431162789, -0.0099672209, -0.0103993881, 0.0487398095, -0.0760737881, -0.0220270567, 2.421685962e-34, 0.0305859875, -0.0456680208, 0.0482967682, -0.0140379909, 0.0144946622, 0.0046771364, 0.0074248514, 0.0205844957, 0.0287488978, -0.0321377032, -0.0384445228 ]
http://arxiv.org/abs/2310.18354v1
http://arxiv.org/pdf/2310.18354v1
A Review of Reinforcement Learning for Natural Language Processing, and Applications in Healthcare
2023-10-23T20:26:15
2023-10-23T20:26:15
Ying Liu, Haozhu Wang, Huixue Zhou, Mingchen Li, Yu Hou, Sicheng Zhou, Fang Wang, Rama Hoetzlein, Rui Zhang
cs.CL
cs.CL
Reinforcement learning (RL) has emerged as a powerful approach for tackling complex medical decision-making problems such as treatment planning, personalized medicine, and optimizing the scheduling of surgeries and appointments. It has gained significant attention in the field of Natural Language Processing (NLP) due to its ability to learn optimal strategies for tasks such as dialogue systems, machine translation, and question-answering. This paper presents a review of the RL techniques in NLP, highlighting key advancements, challenges, and applications in healthcare. The review begins by visualizing a roadmap of machine learning and its applications in healthcare. And then it explores the integration of RL with NLP tasks. We examined dialogue systems where RL enables the learning of conversational strategies, RL-based machine translation models, question-answering systems, text summarization, and information extraction. Additionally, ethical considerations and biases in RL-NLP systems are addressed.
[ 0.1051472127, 0.0611706674, -0.0113174925, -0.026160799, -0.0627739727, 0.0259931963, -0.0292675719, 0.0002529883, -0.0046125771, -0.0075202575, 0.015968442, -0.0231883228, 0.0108756116, 0.0272031706, -0.0309777036, -0.0870268419, 0.0461831577, 0.0170594286, 0.0655219927, 0.028136367, -0.0211340263, 0.0151269212, -0.0431381986, 0.0526966192, 0.0240652934, 0.0148800798, 0.0098601226, -0.0451988876, 0.047528591, -0.0552936271, -0.0044181836, 0.0006793389, 0.0088949623, 0.0095169265, 0.0000018675, -0.0693416446, -0.0446938202, 0.0083374484, -0.0286113955, -0.0910280198, 0.0578740723, -0.0717819408, -0.0065193796, 0.0425533466, -0.0440055616, -0.0122426022, 0.0520692244, 0.0697759613, 0.0537948348, 0.070222348, -0.0030571101, 0.0028569035, 0.0049433438, -0.0092273364, 0.0133497594, -0.0428750664, 0.0202651583, -0.0121296197, 0.0379663259, -0.0502915829, 0.0125770429, 0.0368333757, -0.0054411581, 0.0199548099, -0.0279332548, 0.0464333855, 0.0016523883, -0.0159626137, -0.0413883105, 0.0527896434, -0.0002436052, 0.0160527173, 0.0407089591, -0.0101648699, 0.0009384459, 0.001104195, -0.0123880589, 0.0311168376, -0.0222643465, 0.0068262029, -0.0025316642, 0.0083858687, 1.024e-7, 0.0162802618, -0.0091057019, -0.0048515177, -0.0188231841, -0.0431972668, 0.0197509173, 0.0114507396, 0.0261146855, -0.0412476957, -0.0007166881, 0.0517445728, -0.0899367854, 0.0364188477, -0.012819468, 0.013828082, 0.0743053183, -0.043542631, -0.0004306088, -0.0020741979, 0.0635531321, 0.0207203142, 0.0343665667, 0.0217370205, -0.0124725429, 0.0329497345, -0.0464543328, 0.0218784846, -0.0434449725, -0.0012496611, -0.0304955337, 0.03741825, -0.0391235761, -0.0002787839, -0.0729025528, 0.0068865605, -0.0023652385, 0.0291892271, -0.0151169188, 0.0464568026, -0.0313401446, 0.0221419372, -0.0850325599, -0.0127526326, -0.0177425314, -0.0208186451, -0.0018838679, -0.0294520501, 0.0133309914, -0.0284154937, 0.0096769109, -0.001015239, -0.0042337268, 0.112171635, -0.0159339514, -0.0146519989, 0.0169894379, -0.0215024985, -0.0296659153, -0.0453382581, 0.0137591576, -0.0571135208, 0.0219639875, -0.0309595559, -0.0174499843, -0.0140960813, 0.0317890011, 0.0348926969, -0.0531648956, 0.0611964986, -0.0045203683, 0.0038796284, 0.0247752443, 0.0031560434, 0.0121381488, 0.0288116019, 0.0408584066, -0.0343428291, 0.0066605713, -0.0252879802, 0.0072622364, -0.030348409, 0.0344773978, -0.0425314866, 0.0147131048, 0.0201651827, -0.0047338004, 0.0695399791, -0.0576355122, 0.0829860494, -0.0223068465, 0.012862483, 0.0225815177, 0.0829726234, -0.0149990525, -0.0034872943, 0.0078555467, 0.0062549738, -0.0140281487, 0.0080953026, -0.015517748, 0.0068782326, 0.0230857097, 0.0129046543, 0.0027733101, -0.0057872147, 0.0012544006, -0.0769271702, -0.0108654946, -0.0179370791, 0.0424202867, 0.0260046255, 0.0076014651, 0.0134937111, -0.04581552, -0.0262287911, 0.0383953489, 0.0249721296, -0.0343405642, -0.0716984197, -0.0105003761, 0.070775792, 0.0530607589, -0.0599351376, -0.0264387149, -0.0687106326, -0.0148557751, 0.0404516347, 0.0449763201, -0.0203945227, 0.0045791757, -0.013526612, -0.0048997761, 0.0304894149, -0.0105825309, 0.0062802164, 0.0111844316, 0.0265541114, -0.0379640236, 0.053655941, -0.0399502739, 0.0483861342, -0.0168322232, -0.0422143936, 0.0460483804, 0.0063092574, 0.055311285, 0.0152227767, -0.0124179181, 0.022659244, 0.0128560569, 0.0162344072, -0.0377291664, 0.0193121172, -0.0425657332, -0.0686873496, -0.0069679781, -0.0211733934, -0.0099231349, -0.039568428, -0.036955338, -0.018277796, -0.0257729646, -0.0806483552, 0.0207923874, 0.0033018158, -0.007458366, 0.0275313072, -0.0192465708, -0.0889835656, 0.0404796414, -0.0320528336, 0.0229374804, 0.0241625365, -0.0485996306, -0.0139176091, -0.0650293231, 0.0226715636, 0.0181600992, 0.0054507307, 0.0280035287, 0.037060339, 0.0699366629, -0.0134665295, -0.0197160617, -0.0520811751, -0.0077008749, 0.0128030581, -0.0073478222, -0.0018262581, 0.0329272449, -0.0088197859, -0.056607224, -0.0197432637, -0.0275487322, 0.0848082826, -0.0092309369, 0.0484450869, 0.0631259158, 0.0086642802, -0.0292271562, -0.0174667742, -0.0221319143, 0.0116466386, 0.0181078166, -0.0050897631, -0.0149348835, -0.0531022996, -0.0269439556, 0.016725719, 0.0066875042, -0.0214414783, 0.0300090685, -0.0001071952, -0.0075833262, 0.0471759588, 0.0173102543, 0.023463726, 0.0144070275, 0.0176251456, -0.0381861925, 0.0531440303, -0.0795482397, -0.0413302779, -0.0074217087, -0.0415725149, 0.0333383121, 0.0657505244, 0.030977698, 0.0168257896, -0.0217973385, 0.0356856845, 0.0010110381, -0.0350368433, -0.0330330208, 0.0185850468, -0.0397154093, 0.0745996311, -0.0007931142, -0.0321962982, 0.127992779, 0.0557949767, 0.0448168851, -0.1392804682, -0.0269262716, -0.035499271, -0.0310391374, -0.0000871481, 0.0366370678, 0.0177296773, -0.0323783979, 0.0105009293, -0.0324283764, 0.0070869443, -0.0499145836, 0.0587017015, -0.014995357, 0.0095480764, 0.0141539369, -0.0615359098, -0.0725226626, 0.0031692388, -0.0156650655, -0.0280933417, 0.0115655428, 0.0234977957, -0.0649515763, -0.0208645519, 0.008195091, 0.0464501418, 0.0311187822, -0.0276049394, -0.0206247736, 0.0114028212, 0.0338602364, 0.0142785544, 0.0178558454, 0.019526992, 0.0492804945, 0.0384428389, 0.031670332, 0.0014724977, 0.0194204468, 0.0144536039, -0.0144739766, -0.073829703, 0.0342397392, 0.0630823597, -0.01609868, -0.0460447483, -0.0016517325, 0.0854062885, 0.0596716776, -0.0352055468, -0.0013885167, -0.0232743621, -0.0141506987, -0.0245720036, 0.0533329546, -0.060027983, -0.0109708756, -0.0240368415, 0.0428402387, -0.0354954228, -0.031661246, 0.0128670568, -0.0750691965, 0.0259217527, -0.0204154011, -0.0703908429, -0.0321047045, -0.0309949089, -0.0037190632, -0.0187662244, 0.0049993461, -0.0198830198, -0.0432470217, -0.028074706, 0.0065449057, -0.0484789461, -0.040168643, -0.0005274564, -0.0058599608, 0.0224131625, 0.1015564725, 0.0681362227, -0.0007957728, 0.0048029344, -0.0196217876, 0.0269248541, 0.0146911442, -0.0263599418, 0.0713018924, 0.0064969035, 0.0034499357, -0.0733502656, 0.0224348027, 0.0186725128, -0.0362616554, 0.008259248, 0.0635439679, -0.0387499779, -0.0072677243, -0.0485838763, 0.0610399731, 0.0492521897, 0.0216081198, -0.0256116819, -0.0191180091, -0.0771702901, -0.0101592271, 0.0209638812, -0.0344468579, -0.0025410075, -0.0238049664, -0.0287808347, 0.0019524674, -0.0963404477, -0.0368853807, 0.0099598002, -0.0226703398, 0.0119688967, -0.0013654386, 0.0550642423, 0.0473607257, -0.04556733, -0.0251230262, 0.0190900657, 0.0016166713, -0.0301029719, -0.0313411132, 0.0169966221, -0.0348333977, -0.035079848, -0.0230847821, 0.0187854134, -0.0144893341, -0.037601795, 0.1005146056, 0.010857014, 0.0641167089, -0.0088432906, 0.0151017364, 0.0253450088, 0.0214122739, -0.0489140451, -0.0419349633, 0.0124892378, 0.0677527711, -0.0175479166, 0.002112363, -0.015258274, 0.0206600819, -0.0318389907, 0.0245803446, -0.0404151268, -0.0248036273, 0.0256060548, -0.002713704, 0.0034243367, -0.0025862183, -0.0228275396, -0.0126605928, 0.0182922035, 0.0057642469, -0.0235489476, -0.016221853, -0.0112546925, -0.011591848, 0.0247827563, 0.0250388831, -0.0159997195, -0.060559012, -0.0316723101, 0.0136011802, 0.045777481, 0.0659651086, 0.0124544734, -0.007566133, 0.015399497, 0.0100807454, 0.0334545821, 0.0203525349, 0.0634996369, 0.0293437522, 0.0761277378, 0.0257115345, 0.0079532154, 0.0079971487, 0.0259222016, -0.0600407384, -0.059372656, 0.0045138928, 0.0177637395, 0.0108072041, 0.0195098631, 0.0012851463, -0.023552319, -0.004591764, 0.0064158128, 0.0222121496, -0.0304738451, 0.0215471331, 0.0313904583, 0.0213102307, 0.0019195095, -0.0223190971, 0.0493990481, 0.0015171163, 0.0081408564, -0.0158173237, -0.0474764854, -0.0621940494, -0.0289459825, -0.0149955796, 0.0187845547, -0.0261836499, 0.0131603181, -0.0415206775, -0.0057536829, 0.0001323985, 0.0206680391, -0.0054905056, -0.0397315137, 0.0822048634, 0.0045456826, 0.0335385241, -0.0208516419, -0.0661924332, 0.0334130861, -0.0271301493, -0.0109721478, -0.0006253728, -5.110420548e-33, 0.0071675507, -0.0324948281, 0.0421162695, -0.0152671393, -0.0157474075, 0.0112293828, -0.0249984656, -0.0170783177, 0.0050482368, 0.0098240394, -0.0194753818, -0.0240631644, -0.0023693421, 0.0246101357, -0.000925123, -0.0573788732, 0.013425447, -0.0029506478, -0.0245096684, 0.0098638302, -0.0324742533, 0.0318558551, 0.0432746336, -0.0650234148, 0.0154686989, 0.035063453, 0.0297116842, 0.0397986062, -0.0354986377, 0.051970616, -0.0139200836, 0.0125629697, 0.0313775577, -0.0460652523, 0.0021627857, 0.0528675094, -0.1113519892, -0.0358635448, 0.0199401043, -0.0033847939, -0.0873963162, -0.009496172, 0.047221899, -0.0016872793, 0.0004147284, -0.0034778158, 0.026444139, -0.0259413589, 0.0013304114, 0.0089409668, -0.0425823107, 0.0237118211, -0.0176626518, -0.0235138983, -0.0000469431, 0.0411783755, -0.0560017824, 0.0194543321, -0.0057113832, 0.0161909834, 0.0315159746, -0.005926548, 0.0037168772, -0.0062238555, -0.006519685, 0.035183955, 0.0051860115, -0.0320864134, -0.0475346483, 0.0214839038, -0.0598407388, 0.0352726392, 0.033168003, 0.0383391418, -0.0079238014, 0.02817077, -0.0599426366, 0.0252526905, -0.0209314357, 0.0776300654, 0.0395466201, -0.0301509742, -0.0576444492, -0.0047636521, -0.0439924635, 0.0160659663, -0.001412655, -0.0279597398, 0.0302930474, 0.0301198289, -0.0180076733, 0.0177613553, -0.0164158456, -0.0192047544, 0.0356136672, -0.0050882143, 0.0359641463, -0.0217344444, -0.0434365198, -0.0458221175, -0.0725263581, 0.0220151767, 0.0104923025, -0.023810979, 0.0326876119, 0.0041893008, -0.0005647216, -0.0327929519, -0.0403927937, 0.0357779711, 0.031674847, 0.0822288319, -0.022991037, 0.0608814918, 0.0350975618, 0.0129075618, -0.0019264984, 0.0518291518, -0.0080776308, -0.0306832064, -0.0408355668, -0.0322375074, -0.006650399, 0.0067123575, -0.07261464, 0.0183736347, -0.0277205054, 0.0780774802, -0.0204336289, -0.0531565323, 0.009565088, -0.0024530531, 2.6e-7, 0.0474738441, 0.0692713261, 0.0564944781, 0.0016370398, 0.0326722674, 0.024958238, 0.0171079896, 0.0168510415, 0.0140588293, 0.0091423001, 0.0542037785, 0.0057841479, 0.0053865612, 0.0120181646, -0.0877524763, -0.0423444211, -0.0996478945, -0.0248372145, -0.0282026846, -0.0406311937, 0.0370036252, 0.0528506711, -0.0242812689, -0.0327590257, -0.0096527683, 0.0295424648, 0.0096920785, -0.0299877599, -0.0057633035, 0.0277287625, 0.0199899841, -0.0007889161, 0.0127264205, 0.0124688148, -0.0092297494, 0.0046146265, 0.0041516926, 0.0679737255, -0.0295873769, -0.0232181307, 0.005709385, 0.0201285053, 0.0264483355, -0.0083743604, 0.0419942029, -0.0686546788, -0.0315709002, -0.0117485197, 0.0124111455, -0.0379669704, 0.0647220686, -0.0243571289, -0.0507834703, 0.0312092584, 0.0195622426, 0.043046385, 0.0207527969, -0.0771072805, -0.0069577894, 0.0458912253, 0.0177470222, -0.0030465301, 0.0267885607, 0.0189466495, -0.0175302103, -0.0765986666, -0.0195798501, 1.999275052e-34, 0.0205865521, 0.0037259669, -0.0121656982, 0.0137639623, 0.0212414488, 0.0284249578, -0.0102604078, 0.018053839, 0.0668137595, -0.0300079063, -0.0065267105 ]
http://arxiv.org/abs/2310.15337v1
http://arxiv.org/pdf/2310.15337v1
Moral Foundations of Large Language Models
2023-10-23T20:05:37
2023-10-23T20:05:37
Marwa Abdulhai, Gregory Serapio-Garcia, Clément Crepy, Daria Valter, John Canny, Natasha Jaques
cs.AI
cs.AI, cs.CL, cs.CY
Moral foundations theory (MFT) is a psychological assessment tool that decomposes human moral reasoning into five factors, including care/harm, liberty/oppression, and sanctity/degradation (Graham et al., 2009). People vary in the weight they place on these dimensions when making moral decisions, in part due to their cultural upbringing and political ideology. As large language models (LLMs) are trained on datasets collected from the internet, they may reflect the biases that are present in such corpora. This paper uses MFT as a lens to analyze whether popular LLMs have acquired a bias towards a particular set of moral values. We analyze known LLMs and find they exhibit particular moral foundations, and show how these relate to human moral foundations and political affiliations. We also measure the consistency of these biases, or whether they vary strongly depending on the context of how the model is prompted. Finally, we show that we can adversarially select prompts that encourage the moral to exhibit a particular set of moral foundations, and that this can affect the model's behavior on downstream tasks. These findings help illustrate the potential risks and unintended consequences of LLMs assuming a particular moral stance.
[ 0.0310132373, 0.1130306646, -0.0201553833, 0.0256213527, -0.0709666833, 0.0208273642, 0.0262348428, -0.0122956345, 0.0227184072, -0.0325090699, -0.0092570586, -0.0454333015, -0.0035361839, -0.051664494, -0.0101510426, -0.0285271257, 0.0263464283, 0.0417924635, 0.0842037201, -0.0313640498, 0.0120301889, 0.0539416485, 0.0513211973, -0.0004855819, 0.0157938581, 0.0061534662, 0.0306311883, -0.027988987, 0.0375882983, -0.0273900535, 0.0116046118, 0.0458447747, 0.0128697166, -0.0168109573, 0.0000018473, -0.0586735383, 0.0315797888, -0.0119833965, 0.0395639837, 0.0352506936, 0.1046442613, -0.004041499, -0.0013901131, 0.0040544323, -0.0415515192, 0.0303460043, 0.0120684188, 0.0631780848, 0.0102374861, 0.02934861, 0.0038709007, -0.0128758419, -0.0048584929, 0.0132911419, -0.0105080269, 0.0042492356, 0.0551491864, 0.0423090979, -0.0502347238, 0.0233273339, -0.0243525654, -0.0177519508, 0.0136340018, 0.0137135182, -0.0525386445, -0.0309215654, -0.0189110078, -0.0246479008, 0.0047745565, 0.0483443178, 0.0202841461, -0.0212635808, 0.0511636473, -0.0036651115, 0.0041701705, 0.028008502, -0.006500592, 0.0627564043, -0.0219878983, 0.0136695104, 0.0593203641, -0.0141578354, 0.0206920728, 0.0944845378, 0.0326507464, 0.0334479883, -0.0158128813, -0.0178265497, 0.023289701, -0.0054582288, -0.0487125628, -0.0170265492, 0.024975393, -0.0167229287, 0.0176733956, 0.0364483707, -0.0290647969, 0.0482059158, 0.0568388179, -0.064618215, 0.0181009118, 0.0384602882, -0.0132060992, 0.0257608183, 0.0324768573, 0.0075020688, -0.0131677501, 0.0477242544, -0.0241487268, 0.0345483646, -0.0032746524, 0.0182719287, 0.0519319028, 0.0059546321, 0.0162522607, 0.0611816682, -0.0520810224, -0.0235450845, -0.0642881244, -0.0199611504, -0.0474278405, -0.0141086653, 0.0145826619, -0.007453721, -0.0453496389, 0.0236892756, -0.0689682662, 0.0352272205, -0.0403739251, -0.028360242, 0.0538312122, -0.0041536083, -0.0277223624, -0.003826438, 0.030264264, 0.0687767714, 0.0161765832, -0.0045732455, -0.0262505878, 0.0018035969, -0.0281822085, -0.0379613526, -0.0188947637, -0.0272587836, 0.0189940799, 0.0081749149, -0.0077532302, -0.0777908787, 0.0458857268, 0.043556273, -0.0536601581, 0.039136041, 0.0473787822, 0.0115790879, 0.0073644789, 0.035945043, -0.009882099, 0.0506231226, 0.0079050595, 0.031065112, 0.03625606, -0.0076686344, -0.0249710139, -0.0093700932, -0.0238426197, 0.031682346, -0.0454022288, 0.0252856351, -0.0133842435, -0.0128111411, 0.0087680798, 0.0591033511, 0.0003214236, -0.0114467377, 0.0626162812, 0.1108312234, 0.0005355139, 0.0206967257, 0.0048135906, 0.0085978853, 0.0101672262, 0.013967623, -0.07400617, -0.025013607, 0.0041387714, -0.0519701056, -0.0656832904, 0.082160227, -0.0023562599, -0.0171152651, -0.0219719224, 0.0106589776, 0.0533887073, 0.0173911024, 0.0129607115, -0.0232678652, 0.0046744188, -0.0573072024, 0.0702396557, -0.0451103263, 0.0090753622, -0.0327312872, 0.0629441664, 0.0646500513, 0.0269246567, 0.0142269395, 0.0098404633, -0.0351756811, 0.0120988498, 0.0206204131, 0.031163564, -0.0313521251, -0.029651504, -0.0323426612, -0.0427016057, 0.0176793411, -0.0089970278, 0.0287811123, 0.0027563556, -0.0097439699, 0.0175897367, 0.0041132849, -0.0322826132, 0.0454649478, 0.0124337655, 0.0191091187, -0.0540069006, 0.0290631298, 0.0288526136, -0.0033651746, -0.0006331553, -0.0427862927, -0.0072339443, 0.0041755247, -0.0054388484, 0.0046324413, -0.0488515049, 0.0503335595, 0.0084908511, -0.0609579496, 0.0074722744, 0.0258857347, -0.0210283659, 0.0567331314, -0.0161220469, -0.0037858458, 0.0091852378, -0.0449202843, -0.0170109309, -0.0811147168, -0.0162931383, -0.0249429885, 0.0571599454, -0.0309837088, 0.0180186685, -0.0072221737, -0.0192435104, 0.0301356502, 0.0052824193, -0.0240492783, -0.0102251843, -0.0325479656, 0.0496302396, 0.0451141186, 0.032647118, -0.0366426073, -0.0369582474, -0.0395769067, -0.0297252499, 0.005960959, 0.0022029097, -0.0038833322, -0.0260327104, -0.00859283, 0.0384029709, -0.0390378349, -0.023917865, -0.0011311159, 0.0348168984, 0.0026647432, -0.0397478715, -0.0251135491, -0.008459446, 0.0032445516, -0.0485888198, -0.0031270827, 0.0251250938, -0.0186161567, -0.0067953253, 0.0277022012, -0.0795205608, -0.0272317212, -0.0029098284, -0.0705274418, -0.0105824033, 0.0448927358, -0.0268800184, 0.0628223792, 0.0632283166, 0.0258176476, 0.0447769277, 0.0642652959, -0.0402520373, -0.0535797887, -0.0189325996, 0.0166702885, -0.0117760552, -0.0729671717, -0.0347736068, 0.0622159131, 0.0266043823, 0.0091166412, -0.0319206826, 0.0537354685, -0.0815683752, -0.0654905513, -0.0150749339, -0.0569122843, -0.0098445099, 0.0347667225, -0.0320715494, -0.0610472597, 0.03775445, 0.0490158126, 0.0445393398, 0.0095832022, 0.0121126445, 0.0015766831, 0.0182460845, 0.0010396733, 0.0499107614, 0.0251993872, -0.0155356098, -0.0323045999, -0.0122757917, 0.0456274413, -0.0584589653, 0.0336291976, -0.0216059145, 0.0108363368, 0.0224914867, -0.0610978417, -0.0498678945, -0.0774510205, -0.0223686825, -0.0282947514, 0.0091131199, 0.0055790246, 0.0573305562, -0.0111338831, 0.0310063399, -0.055295568, 0.0002772408, 0.0335995816, 0.0109458743, -0.0491365977, 0.0196886919, -0.0418794826, 0.0558015443, 0.008415468, 0.0304544531, 0.0165742263, -0.00147525, 0.0227395445, 0.0203908496, 0.0458481945, 0.0179587528, 0.0125881424, 0.0233571995, 0.0294047538, 0.0436956882, 0.0111464653, 0.0310781505, 0.0797201619, 0.0126797901, -0.028349055, 0.0043155695, 0.0145389866, -0.0474269725, 0.0286026169, -0.0268964022, -0.0979436785, 0.0147166057, -0.0146532711, 0.0190582946, -0.0933415368, -0.050161507, 0.0266382992, -0.0778966993, 0.0061274972, 0.0299511384, 0.0079031261, -0.0039837924, -0.0404363088, 0.0082363579, -0.0319741704, 0.042427022, 0.0138953133, 0.0065996703, -0.0369366966, -0.0202471316, 0.0177817941, -0.0208215564, 0.0532981232, -0.0287733562, 0.0511265993, 0.0383064933, 0.056783732, -0.0346763544, -0.0363291278, 0.0286235716, 0.0037625066, -0.0321906358, 0.0101052327, -0.0102373743, -0.0184511673, -0.0071562002, -0.0632064044, 0.0309332516, 0.0275012217, -0.0272596143, -0.0074234377, 0.0590241849, 0.0166583303, -0.0558507815, 0.0109248823, 0.0193628222, 0.012273496, 0.0635208115, 0.0022232693, -0.0470686518, 0.0421529897, -0.0542050116, -0.0492247269, 0.0160918348, -0.0855220482, -0.0131565733, -0.0261971913, -0.0080959834, -0.0462626219, -0.0454912707, -0.0401576906, -0.0305594075, 0.0705627799, -0.0568048432, 0.0368730649, 0.0074824025, -0.0176587608, 0.0208004508, -0.0252961144, -0.0212447308, 0.0160047468, 0.0099557266, 0.0153465075, -0.0254878961, -0.0059297192, -0.0299050175, 0.0177208744, -0.0382819735, 0.081030786, 0.009295065, 0.005067843, 0.0130749913, -0.0231968556, 0.012722509, 0.023913661, 0.0377779119, -0.0730047002, 0.0402781777, 0.0391535722, 0.0085609239, -0.0095627867, -0.0088260649, -0.0178720411, 0.0460093729, 0.0463308431, -0.0157150105, -0.0301680267, -0.0023302389, 0.0398651809, 0.036646761, 0.0215231292, -0.0078832526, -0.0125395786, -0.0331899188, -0.0694265738, -0.0142851183, -0.0556667671, 0.0130320927, 0.0071108933, 0.0539878868, -0.0270441677, -0.0213225111, 0.0199947078, -0.0625316575, 0.018181609, -0.0164078418, 0.016817173, -0.016601691, 0.0695452392, -0.0198223013, 0.000044466, -0.0336865075, 0.0410592034, -0.0099762175, 0.0243745763, -0.020253554, 0.0743433684, 0.0023285882, 0.0096290531, 0.0050169402, -0.0051829997, -0.0648586601, -0.0209555887, -0.0347508043, -0.0206869207, -0.0093381023, -0.0050428971, 0.008604194, 0.0038061759, -0.0144108273, -0.0380758606, 0.0107929353, -0.0037918158, -0.0403910838, 0.025039522, 0.0062329667, -0.0301761087, 0.0077834423, 0.0014877865, -0.0529812686, 0.0322767422, 0.0491284877, -0.0349707082, -0.008576652, -0.040801771, 0.037371248, -0.0341840871, -0.0288142245, -0.0141871683, -0.0780158564, -0.0265811365, -0.0228116121, 0.001250823, 0.0165687297, -0.0448184945, -0.0214650333, 0.077656284, -0.0425609834, 0.0518425182, -0.0351508223, 0.0262791999, -0.0460335203, 0.0113192005, -0.0520922579, -5.189596337e-33, -0.0107720736, -0.0139452741, -0.0444669686, -0.0257696547, -0.0061548208, -0.0194129571, 0.020252401, 0.0472049676, -0.0655581877, 0.052742444, -0.0125955287, 0.020316422, -0.0014164631, -0.019250568, 0.0117897121, -0.0739098862, -0.0046620304, -0.005931674, -0.023209298, 0.0012715129, -0.0086937584, -0.0114737926, 0.0317217074, -0.0838908851, 0.0571955256, 0.019951392, -0.0131957196, -0.0382911414, -0.010317795, 0.0144646522, -0.0090642786, 0.0546852797, 0.0175971556, -0.0104934061, 0.0065552671, 0.1020110846, 0.0003694217, -0.006456757, 0.0690478235, -0.0182066839, 0.0008132069, -0.0364721678, -0.0211714804, -0.0162582789, -0.0656683519, 0.0063816821, 0.0385727659, -0.0245582368, 0.0333367772, -0.0217808336, -0.0282133427, -0.0174323712, -0.0279980376, -0.0078261886, -0.0703292713, 0.0544896126, -0.0112608308, 0.0647463277, 0.0425025709, 0.0479658507, -0.0074265227, -0.0135768745, 0.0177782476, -0.0321178697, 0.0274297558, 0.1100452244, -0.0046844338, 0.0358114652, -0.0451841131, -0.0252672024, 0.0379263386, -0.0118337199, 0.0539693683, 0.0949466303, -0.0069757397, -0.0527840629, -0.0380122475, -0.0441854484, 0.0740105659, -0.0011190232, 0.0242968667, -0.0289460346, -0.0127162756, -0.0161321107, -0.0684750155, -0.1093274802, -0.011814029, -0.0167074222, 0.0194093157, -0.0205892175, -0.0505125299, -0.0185331199, -0.0025906675, -0.034470778, 0.0084578488, 0.042634964, -0.0085028196, -0.0299834535, 0.0020420176, 0.0271409955, -0.0325893648, -0.0035923168, -0.0172816645, -0.0246887095, 0.0549112856, -0.0091193002, 0.0480746962, -0.0084598949, -0.0172584914, -0.0310698282, -0.0069383099, 0.0009691177, 0.0225186739, -0.0089736711, 0.0465128869, 0.0487475321, 0.0205086935, -0.0119045526, 0.0508184843, -0.0136177884, -0.0457753129, -0.0487155132, -0.0262506101, 0.0545122735, -0.0431135446, -0.021501245, -0.0432285331, 0.0478033014, 0.0386901796, -0.0522938818, -0.0360254087, 0.0138111785, 2.384e-7, 0.0051067006, 0.0507643893, -0.0196697395, 0.0247833226, -0.0479404479, 0.0343520939, 0.0476624109, 0.0348158292, 0.0169618912, -0.0799430311, -0.0189853106, 0.0094406186, 0.0620268099, -0.0048331162, -0.0151921092, 0.0161472615, -0.0234245583, -0.0061153937, -0.0276427809, 0.0391560346, 0.0008232727, 0.0498757362, 0.0205007195, 0.0105210058, -0.0086498056, 0.0297196619, 0.0369123034, -0.0895829648, -0.036893338, -0.0191513654, -0.0355425104, -0.0260284357, 0.0066058859, 0.0154502476, 0.0302789696, -0.0222847648, 0.0243234225, 0.0907607973, 0.0011440086, -0.0123104528, -0.0397938788, -0.0279248841, -0.0140602225, -0.0081616761, 0.0721280128, -0.0140150022, 0.0041632256, -0.0485223532, 0.0042173518, -0.0256524999, 0.0215240382, -0.008897122, -0.0432027467, -0.0070982692, 0.0188210271, 0.0249688718, 0.030275207, -0.0274770651, -0.011119063, -0.0195590258, 0.0175085571, -0.0999322161, 0.0391162075, 0.0255341474, 0.0213772673, -0.0395987555, 0.0044579352, 1.908867368e-34, 0.0251766611, -0.0331793427, 0.0214386005, -0.0138964476, 0.0452204086, 0.0411444493, 0.0127064828, 0.0022084969, 0.0107063707, -0.0445956066, 0.0068696211 ]
http://arxiv.org/abs/2310.15326v1
http://arxiv.org/pdf/2310.15326v1
Specialist or Generalist? Instruction Tuning for Specific NLP Tasks
2023-10-23T19:46:48
2023-10-23T19:46:48
Chufan Shi, Yixuan Su, Cheng Yang, Yujiu Yang, Deng Cai
cs.CL
cs.CL
The potential of large language models (LLMs) to simultaneously perform a wide range of natural language processing (NLP) tasks has been the subject of extensive research. Although instruction tuning has proven to be a data-efficient method for transforming LLMs into such generalist models, their performance still lags behind specialist models trained exclusively for specific tasks. In this paper, we investigate whether incorporating broad-coverage generalist instruction tuning can contribute to building a specialist model. We hypothesize that its efficacy depends on task specificity and skill requirements. Our experiments assess four target tasks with distinct coverage levels, revealing that integrating generalist instruction tuning consistently enhances model performance when the task coverage is broad. The effect is particularly pronounced when the amount of task-specific training data is limited. Further investigation into three target tasks focusing on different capabilities demonstrates that generalist instruction tuning improves understanding and reasoning abilities. However, for tasks requiring factual knowledge, generalist data containing hallucinatory information may negatively affect the model's performance. Overall, our work provides a systematic guide for developing specialist models with general instruction tuning. Our code and other related resources can be found at https://github.com/DavidFanzz/Generalist_or_Specialist.
[ 0.0824061036, 0.0567820072, -0.0157783087, 0.0087323589, -0.0526280068, 0.0326334387, 0.0190641508, -0.0145775033, -0.0165258255, -0.0745533109, -0.0264000408, -0.0229420774, -0.0210358631, -0.0087928949, 0.0246143695, -0.0545775332, 0.0496716015, -0.0332241841, 0.0010002254, 0.0066415989, -0.02609233, 0.0244328268, -0.029637821, 0.0219834484, -0.008525704, 0.0085098576, 0.0171744693, -0.0056458465, 0.0014773956, 0.0035350774, 0.0293355305, 0.0528090633, 0.0613191091, 0.0169693679, 0.0000019322, -0.0392667688, 0.0214179698, -0.0049906308, -0.0285947472, 0.0004603295, 0.0487138554, -0.0269935876, 0.0395802334, 0.0312580541, -0.0209067054, -0.0184956715, 0.0205533169, 0.0710675567, 0.0413207635, 0.113200523, 0.0074080662, -0.0627057701, 0.0283381753, -0.0064373598, 0.0385171808, -0.0487263761, 0.0234045666, 0.0536660254, 0.0292925313, 0.0169372093, -0.0148094743, 0.0244034249, 0.0135624586, 0.0412948765, 0.0447262749, 0.0206783228, -0.0540650822, -0.0292300917, -0.0208373461, 0.0246832874, -0.0478974432, -0.0031412663, -0.0268416032, 0.0043265489, -0.0068475781, 0.0130138248, -0.0331596024, 0.029347416, -0.0134427035, 0.0073247859, 0.0441254601, -0.0164979622, 0.0232643709, 0.0271485727, -0.0425610468, 0.076066345, 0.0016339439, -0.044881016, 0.0482418723, 0.035669446, -0.0476270318, -0.0234264694, 0.0189804994, 0.0239272155, -0.0480460599, 0.030309543, -0.0217019916, 0.0038029789, 0.0269454457, -0.0438681096, 0.056322474, 0.0610891879, -0.0201075226, 0.0546676219, -0.0461959951, 0.0275144055, -0.0017299968, 0.0716976374, -0.0069865547, -0.0248476453, -0.1208253577, -0.0229276977, -0.0342643969, 0.0057349368, -0.037323121, -0.0145867541, -0.022595048, 0.0059202975, 0.0113116251, -0.0145810684, 0.0350696295, 0.0012678825, -0.0599078871, -0.009912163, -0.0445179082, 0.0114106471, -0.0564397611, 0.037443731, -0.0122525534, -0.0471707843, -0.0016033124, 0.0065114759, 0.0102403378, -0.0329179242, 0.0358863175, 0.0387363881, 0.0004283154, -0.0286843665, -0.0564082228, 0.0038625766, -0.0043410878, -0.1071030423, 0.0105691021, -0.0372694768, 0.0288412776, 0.0057208859, 0.0182362087, -0.031916298, 0.0035021733, 0.0008208122, -0.0516883023, 0.0766165331, 0.0279400889, 0.029915832, 0.0241309609, 0.0108818924, -0.0202401485, 0.096451208, -0.0053328052, 0.0052080536, 0.0187950432, -0.0242993459, 0.0298422594, 0.0069863889, -0.0389860943, -0.0065446533, -0.0054215165, 0.0187800024, -0.0109436093, 0.0205432698, 0.0318865851, 0.0232814811, -0.0253381785, 0.019933207, 0.0421474837, 0.0134079223, 0.0466288626, 0.0275412388, 0.0624238439, 0.0275681429, 0.0123064471, 0.0105949463, -0.0841221809, -0.005770396, -0.019712843, 0.0106309224, -0.0071730725, 0.0085217375, -0.0244951788, -0.0349052176, -0.0350583568, 0.0160591584, 0.0214315038, 0.0302781854, 0.0423911102, 0.0095984414, -0.0349011309, 0.042192407, 0.0495225303, -0.0021606931, 0.018307725, -0.0564787649, -0.0379466563, 0.0830828473, 0.022844715, -0.0325254612, -0.025069721, -0.0152040068, 0.0130126039, 0.0487837233, 0.0416923836, 0.0084246565, 0.0241053104, -0.0564521626, -0.0278835967, -0.061393816, 0.0531831123, 0.0101687396, 0.0614556, -0.0170501862, 0.0170786697, -0.0476381816, -0.0635645017, 0.047140047, -0.0464776307, -0.0435470827, -0.0304634459, -0.0043068328, 0.0005787382, -0.0082350885, -0.0220545493, -0.0076340316, -0.0153067615, -0.0255106222, -0.0250924136, -0.0230546687, -0.0305330586, -0.0022613222, 0.0117177861, -0.0270723291, -0.0115175769, 0.04334075, -0.0447484404, -0.0175137464, 0.0018006354, -0.0294848457, 0.0350784771, -0.0158499908, 0.0053503206, -0.0204518382, -0.0003012463, -0.036001306, 0.0667195246, 0.0143054929, -0.0107480418, 0.0075610299, -0.010118423, -0.0279461108, -0.023921879, -0.0038366907, -0.0090529742, 0.0063419114, 0.0179113839, -0.000428605, 0.0043284437, -0.0687243566, -0.0501602776, -0.0915290415, 0.0211201757, -0.055766467, 0.0008748367, 0.0505701825, -0.0099933213, -0.0364884846, 0.0043274113, -0.0194108039, -0.026146831, 0.0084597822, 0.0354588218, -0.0035249158, 0.0165469777, -0.0184876099, -0.0250397138, -0.0064965114, -0.0072076097, 0.0056998362, 0.0091922199, -0.0024218969, -0.0670868829, 0.0555302426, 0.0048844619, 0.0228334218, 0.00061181, -0.0202784054, -0.0072776047, -0.0035276467, 0.0098491693, 0.0860956013, -0.0102137914, 0.0184025317, 0.050121747, 0.0011879292, -0.0384745337, 0.0433524102, -0.010704251, -0.0456066243, -0.0689163283, -0.0415771417, -0.0166087449, 0.0690014139, 0.0080983052, 0.0002973839, -0.0593842529, -0.0216865446, -0.0326323211, -0.0414981768, 0.0031600024, 0.0047227908, 0.015236509, 0.0284227692, -0.033257626, -0.0574372672, 0.0542955361, 0.0017736185, -0.0182070341, -0.0919577852, -0.0261789169, -0.0617287755, 0.0473108217, 0.0155724129, 0.0115336739, -0.0215930026, -0.0327578895, -0.0516199805, 0.0032303073, -0.0049393568, -0.0069708307, 0.0363746211, -0.0513831861, -0.0074132918, 0.0130431559, -0.0133769717, -0.0433294177, -0.0176057965, -0.0192234106, 0.0237380546, 0.0208449904, -0.0157141909, -0.0756759122, -0.0204019789, 0.0091559784, 0.0365145542, 0.0039273677, -0.0236820765, -0.0177768692, -0.0523106307, 0.0472498052, 0.0116069987, -0.0012209198, -0.0366089754, -0.0112869861, 0.0160065889, 0.0297850743, -0.0007220889, -0.017212145, 0.035365101, 0.0164138824, -0.0715103522, -0.0011763352, 0.0308407079, 0.0886995271, -0.0889928117, -0.0092843845, 0.1193216443, 0.0348164774, -0.0101272371, 0.0160210747, 0.0121094687, -0.0046057403, 0.0443585142, 0.0329081714, -0.051981207, -0.0279721711, -0.0202687997, 0.0136207277, -0.0159068145, -0.0193194617, -0.0121208727, -0.0981691256, 0.0074678166, 0.0144446781, -0.0104832249, -0.0259835087, -0.0490821935, 0.01459892, -0.0477388538, 0.0433964692, -0.01924989, -0.0386352055, -0.0102054356, 0.0414948799, 0.0041834698, -0.0742535964, 0.0461671501, -0.0306312293, 0.0428080745, 0.0481647253, -0.0257898774, -0.0013841973, 0.005991078, 0.0225806739, 0.0292474981, 0.0539252609, -0.0053817863, 0.0531739071, -0.0179810002, 0.0237914082, 0.0095769139, 0.0239240769, -0.0171508025, 0.0123923467, 0.008648132, 0.059879344, 0.003871426, -0.0358982272, -0.0019837946, -0.0071325693, 0.0169655364, 0.086177595, 0.0109261675, -0.0309461579, -0.0420558415, -0.0219046697, -0.0267951656, -0.0696118101, -0.0546755977, 0.0552150868, 0.0008578344, -0.0148594435, -0.0143693052, -0.0339643359, 0.0660311282, 0.0215172078, 0.0161632057, -0.0022784255, -0.0055201026, 0.0114289364, -0.008280484, 0.0665415302, -0.047452122, 0.0023722039, -0.0504601747, -0.0714070275, 0.0226543117, -0.0136339692, -0.0170936286, -0.0237188935, -0.0943602249, -0.0813154802, 0.0246106014, 0.0287202802, 0.0292682517, 0.0712167621, -0.0016979938, -0.0687371343, 0.0113398107, 0.0003185684, -0.0663078651, 0.0065064179, 0.0331217572, -0.0153230159, 0.0068391915, 0.0232728049, -0.0074711223, 0.029732205, 0.0635028929, 0.0385183208, -0.0055381758, 0.0311767459, 0.0233391542, 0.0160224251, 0.0210868996, -0.0029221354, 0.0225830115, -0.0250056759, -0.0040453845, 0.0119172465, 0.0060328813, -0.0154027371, -0.0202022064, 0.0479839817, -0.0090062572, 0.0050492445, 0.0044543035, -0.0242800675, 0.0276284739, -0.0492294319, 0.0188652761, -0.005985518, -0.0187043585, 0.0282940399, 0.0079835868, -0.0508073978, 0.0176861268, 0.0147018302, 0.0397579744, 0.0165758375, 0.0494150072, -0.0143963024, 0.0205155183, -0.057364542, -0.0197463445, -0.071746096, -0.0697161183, -0.0006075541, 0.0266171098, 0.053114906, -0.0653596073, 0.0092638917, -0.0421535522, -0.0015196149, -0.0069652679, -0.0042553763, 0.0256910659, 0.0008689911, -0.0025651574, 0.020685114, -0.0114732999, -0.0300360844, 0.0702461079, 0.0300053246, 0.0959304646, -0.015991373, -0.0147340288, -0.0395509973, -0.0309934262, -0.0063646035, -0.0030755198, -0.0290500019, 0.0584277138, -0.0347948596, -0.0528128706, -0.0210096743, -0.0472214147, 0.0278944746, -0.0195812378, 0.0278646592, 0.068156749, -0.0391636156, -0.029302571, -0.0204315335, -0.0208837353, 0.0859330744, -0.0004799882, -0.027709255, -6.640929621e-33, 0.0035490177, 0.0218538009, 0.0364205353, -0.0558027104, 0.0224644747, -0.0078257071, 0.0070661036, 0.0117514394, -0.0363056101, -0.0141407223, -0.0099212267, 0.010378493, 0.0220037755, 0.0275485795, 0.0287025236, -0.0002038095, 0.0680746585, 0.0244227126, -0.0246455725, 0.0033654841, 0.0172114633, 0.0187221225, 0.0897167325, -0.0565358251, 0.0142867947, 0.0220332388, 0.0142555181, 0.0141861346, -0.0195059665, 0.0445441082, 0.002727292, 0.0437186882, 0.0544264503, -0.0629171431, -0.0262892842, -0.0034892105, -0.0516913235, -0.0273389798, 0.0580585636, 0.0159129314, -0.0260093249, -0.0295775831, 0.0502889305, -0.0074648014, 0.0022234009, -0.0600829646, 0.0285973083, -0.0401458479, 0.0011752414, 0.0223881099, -0.0789417773, 0.0204944219, 0.0065211891, 0.0058326982, 0.0005434731, 0.0223871581, -0.017932009, 0.0031549851, -0.0322693139, 0.0011954099, 0.0320791677, 0.0392392017, 0.0342696086, 0.0025341564, -0.0214577839, 0.0382461734, 0.0121989045, 0.032097701, -0.0437126271, -0.0278738402, 0.0212299749, 0.074771665, 0.0147262001, -0.0066609886, 0.0707786456, 0.001964649, -0.075575985, -0.0246964935, 0.0146075012, 0.0702626482, 0.0346938074, 0.0277190004, -0.0509685799, -0.0040888744, -0.0449075177, 0.0412768237, -0.0229377057, -0.037012469, 0.0377745442, 0.0490361862, -0.0123452712, 0.0233524852, 0.0290554948, -0.0515885688, 0.0242324565, 0.0078345602, 0.001358205, 0.0107681733, -0.0185177643, 0.0026570505, -0.0644916445, -0.0627772361, 0.0230872855, -0.0024232499, 0.0227463581, -0.0133107509, 0.0441605747, 0.0139955916, -0.0671545714, 0.004923204, -0.0390990973, 0.0318894088, 0.0330279507, 0.0446651354, 0.0499428026, 0.0360718891, -0.0183596928, 0.0277916957, -0.0004790468, -0.0321120024, -0.0277682636, -0.0036623364, 0.0070571578, 0.0236663166, -0.0027718733, -0.0073830904, -0.0279338118, -0.078125909, -0.011337338, -0.0378844216, -0.0234479681, 0.0019912715, 2.719e-7, 0.0284993406, 0.055261068, -0.0344630517, 0.0352791362, 0.0042312657, -0.0060166856, -0.0055264258, -0.0004302333, 0.0213957466, -0.0494877249, -0.028203629, 0.066455476, 0.0542277321, 0.0244949143, -0.0615013801, -0.0421268307, 0.0035641848, 0.0261523575, -0.0691165552, 0.0104267988, 0.0451627411, 0.0875051469, 0.0156212822, -0.0008925836, -0.0034057528, -0.0670071617, 0.0487603247, -0.0103422329, -0.0021299089, 0.0584649481, 0.0197588131, 0.0784781724, 0.0328188948, 0.0681881383, -0.0190833993, 0.0189234298, -0.0179804061, 0.0954483002, -0.0186491106, -0.0039155921, -0.0130051086, -0.0036510867, -0.0185692757, -0.0470255204, 0.0655788183, -0.0738133565, -0.0233004317, 0.0100093111, -0.0040749805, 0.0098795025, 0.0268355049, -0.0152005618, 0.0087482175, 0.0114163039, 0.0235135052, -0.0049859681, -0.0355338454, -0.0836398602, -0.0129210539, 0.0421040393, -0.0475156195, -0.0283970945, -0.0166069344, -0.0126148667, 0.0398232006, -0.0695753172, 0.0044131801, 2.636105086e-34, 0.0414610654, 0.0218507648, 0.0307000596, 0.0078176279, 0.0375652015, 0.0015014311, -0.0437786393, 0.0096437884, -0.0032437781, -0.0823303834, -0.0043098591 ]
http://arxiv.org/abs/2310.15325v1
http://arxiv.org/pdf/2310.15325v1
LXMERT Model Compression for Visual Question Answering
2023-10-23T19:46:41
2023-10-23T19:46:41
Maryam Hashemi, Ghazaleh Mahmoudi, Sara Kodeiri, Hadi Sheikhi, Sauleh Eetemadi
cs.CV
cs.CV, cs.CL, cs.LG
Large-scale pretrained models such as LXMERT are becoming popular for learning cross-modal representations on text-image pairs for vision-language tasks. According to the lottery ticket hypothesis, NLP and computer vision models contain smaller subnetworks capable of being trained in isolation to full performance. In this paper, we combine these observations to evaluate whether such trainable subnetworks exist in LXMERT when fine-tuned on the VQA task. In addition, we perform a model size cost-benefit analysis by investigating how much pruning can be done without significant loss in accuracy. Our experiment results demonstrate that LXMERT can be effectively pruned by 40%-60% in size with 3% loss in accuracy.
[ -0.0166786648, 0.0622664765, -0.021822568, 0.060577549, -0.0249995291, -0.0147843054, 0.0204090811, 0.04883397, 0.0052978368, -0.0391593613, -0.072821252, -0.0440867245, -0.0158864222, 0.0319196023, 0.0342302248, -0.0425812565, 0.0388699919, -0.0155918943, -0.026096506, -0.0388869718, 0.0526022166, -0.0330303423, 0.0334403589, 0.0319472365, 0.023397252, -0.025204137, -0.0140579864, 0.005008453, -0.0054688738, 0.004919251, -0.0041303765, 0.0320937186, 0.0429733843, 0.0204088669, 0.0000017037, 0.0093957027, -0.0169375204, 0.0068529127, -0.0263522677, 0.0401087701, -0.0248919819, 0.0109906113, 0.0167313498, 0.0395007208, -0.0263886061, -0.0508879237, 0.0645950809, 0.0513882712, 0.0650222823, 0.0507517494, -0.0063018515, 0.026411958, 0.014720791, -0.0252044722, 0.0216468703, -0.0402655043, -0.0159122478, 0.0222439002, -0.0066107768, -0.0096174069, -0.0473653078, 0.0410563797, 0.0558520146, 0.0275188684, -0.0339720584, 0.0381126031, -0.0046249554, -0.0037407279, -0.0120727904, 0.0630423799, -0.0126428921, -0.0062570362, -0.0334221423, -0.0273534376, -0.0056427503, -0.0153156482, -0.0570612177, 0.0352252647, 0.014820233, 0.0024023689, -0.0304757524, 0.0028782359, -0.0007890636, 0.0071843364, -0.0077453693, -0.024785839, 0.0349546, 0.0193763785, -0.0280399136, 0.0169570819, -0.0540618412, -0.0751518086, -0.0574946813, 0.0307738949, 0.0074740006, -0.01401689, -0.0510964096, -0.0182102211, -0.0211568158, -0.0124575095, 0.0606158413, 0.0439115204, -0.0296974089, 0.0474981107, -0.0186068919, 0.0573003888, -0.0207972024, 0.028007634, -0.0471638069, -0.02373592, 0.008309097, -0.0290089417, -0.0714582205, 0.0058951313, -0.0603152923, -0.0295595378, -0.0384878479, -0.0133420955, -0.0064406409, -0.0439419411, 0.0142244417, 0.0348960608, -0.0278748218, -0.0094530368, -0.0523217544, 0.0687254518, -0.010935788, 0.031748306, -0.0233360864, -0.0567978323, -0.0231375434, 0.031262774, 0.0129649648, -0.027866913, 0.0146151055, 0.0698695481, -0.0450177006, -0.0650081486, -0.0360854417, -0.0382980295, 0.0038713573, -0.0302301794, 0.0466713831, -0.0717468634, 0.0284491051, -0.0362830125, 0.006850536, 0.0049863975, -0.0150447693, 0.028309295, -0.0283916779, 0.0770240426, -0.0137176458, -0.0006561328, 0.0030631332, 0.0069776666, 0.0472761281, 0.0906110927, 0.0146387424, 0.0469665639, 0.0485279709, -0.0293531045, 0.0316886753, 0.0347678177, 0.0561175719, -0.00381861, -0.0272606909, 0.0211247746, 0.0160803553, -0.0011636432, 0.0278215017, 0.0209152978, -0.0867524222, -0.0644742101, 0.0678837672, 0.0523368977, 0.0401802287, 0.0365390293, 0.0238334723, -0.008894451, 0.0124419061, -0.0119730541, -0.0523208007, 0.060195148, -0.0315697007, -0.004650922, 0.0174978655, 0.004347248, -0.0681403652, -0.0440542921, 0.0053401534, 0.0060715433, 0.0124154789, 0.0393818319, 0.0278641526, 0.0011723856, -0.0244836938, 0.0502244942, 0.0107422294, -0.0185005851, -0.0332219005, -0.0563041903, 0.0157119315, 0.0198422875, 0.0136968978, 0.0046278643, 0.0262749884, 0.0331700034, 0.0102331983, -0.0275156796, 0.0377574936, -0.0072452831, 0.0487393141, -0.0286246743, -0.029131081, -0.0327461213, -0.0116965789, -0.0327650942, 0.0435591377, 0.0073625133, -0.0178204551, -0.0455810502, 0.0474152155, 0.0139797824, -0.0159394406, -0.0129457368, 0.000377977, 0.0321991332, 0.0020544312, -0.0399058722, -0.0396403931, 0.0054852702, 0.021164922, -0.0350930355, -0.0259850342, -0.0370374322, -0.0218713339, -0.0298712887, 0.0446961969, -0.0582623892, 0.052920036, 0.0714359581, -0.0372057408, -0.0227504168, 0.0230190698, -0.0678279921, 0.0198372919, -0.0560090132, -0.0439357273, 0.0350863598, 0.0379450321, -0.0119612943, 0.0179816131, -0.0034914545, -0.0073499018, 0.0010581808, -0.0191024877, 0.0421180464, -0.0220104307, -0.0198353138, 0.0122125437, -0.0152127668, 0.0252883565, -0.005696116, 0.0204319358, 0.0033723754, -0.0147200618, -0.0824739859, 0.006533341, -0.0343144834, -0.0056066718, 0.0296767, 0.0254920758, 0.0176975094, -0.01647125, -0.0372984558, 0.0366247483, 0.0484886244, 0.039124053, 0.0360436887, -0.0144411512, -0.0020825467, -0.028152572, -0.0706586912, 0.0397720598, 0.0816879198, -0.0376293398, 0.015948562, -0.0018450026, 0.0441060252, -0.0366424769, 0.0546326786, -0.0119176712, -0.0392303988, -0.0264398474, 0.0070205051, 0.0045187124, 0.0786668584, -0.0108619519, 0.0403282717, 0.0303844418, 0.0014882727, -0.0255165435, 0.0142992837, -0.0072783544, -0.0633052066, -0.0331279859, -0.0101240724, -0.0522272922, 0.0381206833, -0.0456223711, -0.0179618709, -0.071234487, 0.0039632581, 0.0199089739, -0.0393552706, -0.0516968779, 0.0185726676, 0.0353345014, 0.0667783171, -0.0185196083, -0.0802864134, 0.0083851079, -0.0281668063, 0.0131796356, 0.0074913576, -0.0209354013, -0.040441595, 0.0886287838, 0.0457242355, 0.0317186639, 0.0132917874, 0.007934968, -0.0639717057, -0.064676851, 0.0047446061, -0.0207544398, 0.0620778985, -0.0189438649, 0.0323382653, -0.0798449069, -0.0306216348, -0.0064134435, -0.0479658097, -0.037265107, 0.0256825145, -0.0074339192, -0.0045650764, 0.0038737464, 0.0224816427, 0.0112966867, 0.0166894905, -0.009193507, -0.0013739703, 0.0075811204, 0.08234974, 0.0460069999, 0.0766669959, 0.0408121571, -0.0199422874, -0.005065572, 0.0588385426, 0.037501771, 0.0199317075, -0.0501479581, 0.0206805132, 0.0402679369, 0.0201024637, -0.0404948331, 0.0096940016, 0.0881815478, -0.0449829549, 0.0098131616, 0.0267433859, 0.001160773, -0.0147183258, -0.0122529892, 0.0193157401, 0.0275428034, 0.0337468646, 0.0350996852, -0.0866084024, -0.0458933525, -0.0176996086, -0.0079837916, -0.0028918509, 0.0347637385, -0.0476869605, -0.0711277127, 0.0435227863, -0.0197004639, -0.0193853304, -0.0122610256, 0.0193270072, -0.0286958478, -0.047145851, -0.0068573439, -0.0143485498, -0.0374482907, 0.0022782492, -0.0199511573, 0.00263597, 0.0135650467, 0.0311225429, -0.0247579254, 0.014389189, 0.0056868987, 0.000554493, -0.0277815536, -0.0754734725, 0.0309989564, -0.0639369711, -0.0027178077, 0.0160113033, 0.0848872811, -0.0175749753, -0.0428750031, 0.0074349456, 0.017613627, 0.0192534495, -0.039421238, -0.0209959559, 0.0394652523, 0.0171990003, -0.0126275849, -0.0183769073, 0.013079185, -0.0674670413, 0.0380396321, 0.0321363956, -0.0064878855, -0.0539069548, 0.0102660339, -0.0099978717, -0.0340254158, -0.0603143238, 0.0024228618, 0.0456647091, -0.0040366813, -0.0346255191, 0.0015623495, 0.0427877828, 0.0709249154, -0.0763837993, -0.0341282971, -0.0244978555, 0.0663318932, -0.0499722511, 0.0685505867, -0.0435764641, 0.0506535359, -0.0209720526, 0.0398876481, 0.0129506346, -0.0678339154, -0.023438219, -0.0242214147, -0.1212071478, -0.0195224918, -0.0633036196, 0.0437645391, 0.0173265208, 0.0462020375, 0.0320881307, -0.0548359677, 0.02136405, 0.0083203502, 0.0272799246, 0.0479703583, 0.0274061356, -0.0388119556, -0.0070592863, 0.0490186848, -0.0151917012, 0.0052436176, 0.045538377, 0.0090442812, -0.0164813902, -0.0099392096, 0.0251003206, 0.0498097278, 0.0028461777, 0.0164527874, 0.0349492766, -0.0110837417, 0.021106882, 0.0291687045, 0.0230658147, -0.0753971264, 0.0004904927, 0.0006084073, 0.0134813832, -0.0107838502, -0.0091798808, 0.0316568464, 0.0020706623, -0.0011893515, 0.0017800528, 0.049043823, -0.0221564248, -0.0121292183, 0.0082227951, -0.0097763529, -0.0290875658, -0.0074904757, 0.0300367959, -0.0124957627, 0.0372442715, 0.0071459594, -0.0116330106, -0.0687724501, 0.0410814136, -0.0434417166, -0.1022072136, -0.0464033149, 0.0812900513, 0.0564500801, 0.0060041626, -0.0484793484, -0.0050318399, -0.0281051397, -0.0013356396, 0.0048219711, 0.0281201191, 0.0167511702, 0.0920612291, 0.033246614, -0.0104322517, -0.0433055535, 0.0853017345, 0.038032677, 0.0381870084, -0.0174708255, 0.0040267366, -0.0223675277, -0.04922916, 0.0298936199, -0.0056569809, 0.0090762209, 0.015206337, -0.0190950204, -0.0595576949, -0.0122104464, 0.0597590767, -0.008828735, 0.0035673054, 0.0283922534, 0.0442065187, 0.068239592, -0.0006774362, 0.0080426503, -0.0162932966, 0.0096330196, 0.0218091663, 0.0431562886, -5.904422166e-33, -0.0231929403, 0.0189724397, 0.0551140383, 0.0040228902, -0.0407362916, 0.0440083258, -0.0012478854, -0.0089565115, -0.0465388782, -0.0254674032, -0.0090487013, 0.0009897016, 0.0081077609, 0.0350776352, -0.0434765592, -0.026992375, 0.0326636992, -0.0418699458, -0.0113861104, 0.0073197372, -0.0392117426, -0.0174463745, 0.0212411229, 0.0033127933, -0.0539640523, 0.0028296346, -0.0080409851, 0.0265361201, -0.0176235549, 0.0633299574, -0.0626219511, 0.0059331427, 0.0189299714, -0.0428490452, -0.0071902303, 0.0162312221, -0.054587733, -0.0087536965, 0.0119773671, 0.0053336569, -0.0834098011, 0.0200935416, 0.034509562, -0.0097920531, 0.0241085887, -0.0451133512, 0.011685296, -0.0185745601, -0.011837204, 0.0047440031, -0.0090681314, 0.0098579079, 0.0041601979, -0.0274652783, 0.0375014767, 0.0476597324, 0.0032810613, 0.0355863981, -0.0000798298, -0.0005613213, 0.0228901003, 0.0570890754, 0.0530227832, 0.0214736592, 0.0116537986, 0.0306239817, 0.0476215445, -0.0289290268, -0.0129579715, -0.0089001311, 0.015389774, 0.0410077311, 0.0675995722, 0.095139116, 0.061992608, -0.0022818518, -0.0684617385, -0.0125485519, -0.0432121791, 0.0268389005, -0.0228494667, 0.0151517987, 0.0401067436, 0.0044622333, -0.044276312, -0.0225216132, -0.0240108836, 0.0028436154, 0.0313689262, 0.0571840927, -0.0293446183, 0.0106270928, 0.0542560481, -0.0709031895, 0.0178103503, 0.0123383729, -0.0046191481, 0.0426345095, 0.0287285522, 0.034330532, -0.0335022956, 0.017148491, 0.0131947165, -0.0232958198, -0.0161916278, -0.0109485313, 0.0261694733, 0.0329258963, -0.0640905797, -0.0120804459, -0.035731025, -0.0029057437, 0.0032872946, 0.0482399538, 0.0229377672, 0.0135651659, -0.0274679996, -0.0160592739, -0.0236781519, -0.0180229917, -0.0250896718, -0.043318212, 0.0318889618, 0.040618185, -0.0155752972, 0.0043007517, -0.0632844418, -0.0083651505, -0.0103349565, -0.0625320524, -0.0359078161, 0.0577377714, 2.466e-7, 0.0314643756, -0.03835655, -0.003480606, 0.0025095141, 0.0168566238, 0.0582743809, -0.0142059894, 0.0298611131, -0.0164545979, -0.0287716445, 0.0113168834, 0.0509874411, 0.0203855466, 0.0069462801, 0.0157305561, 0.0437855124, -0.0323364735, -0.0287196934, -0.0176847279, -0.0271743611, 0.0532946698, 0.1149955764, -0.0178852845, -0.0175139327, 0.0474666469, -0.0311523937, 0.0698264763, -0.0148875322, -0.0050274646, -0.0211107433, -0.0248837527, 0.0224784017, -0.0233453494, 0.0318511054, 0.0135811977, 0.0020128181, 0.0278030951, 0.0632731095, -0.0026531594, -0.0327672586, -0.0251444746, 0.0051665884, -0.032478746, -0.0153940478, 0.0876553878, -0.0195804033, -0.0111109205, -0.0586290844, -0.027103493, -0.009229945, 0.0677114725, -0.0187791213, 0.0193937477, 0.0241995305, 0.0118520912, -0.033225283, -0.0084602116, -0.091917567, 0.0141456388, -0.0147099076, -0.0408694334, -0.0311665814, -0.065601401, -0.0124325622, 0.0641287044, -0.0014283119, -0.0720973536, 1.858050311e-34, 0.0290475022, -0.0335733779, 0.0077481964, 0.0066802069, 0.0019277374, -0.0177725591, 0.0055759801, -0.0425103605, -0.0083409334, -0.0652560368, -0.0171790961 ]
http://arxiv.org/abs/2310.15319v1
http://arxiv.org/pdf/2310.15319v1
Hallucination Detection for Grounded Instruction Generation
2023-10-23T19:36:28
2023-10-23T19:36:28
Lingjun Zhao, Khanh Nguyen, Hal Daumé III
cs.CL
cs.CL, cs.AI, cs.LG
We investigate the problem of generating instructions to guide humans to navigate in simulated residential environments. A major issue with current models is hallucination: they generate references to actions or objects that are inconsistent with what a human follower would perform or encounter along the described path. We develop a model that detects these hallucinated references by adopting a model pre-trained on a large corpus of image-text pairs, and fine-tuning it with a contrastive loss that separates correct instructions from instructions containing synthesized hallucinations. Our final model outperforms several baselines, including using word probability estimated by the instruction-generation model, and supervised models based on LSTM and Transformer.
[ 0.0151763679, -0.0041932957, -0.0051115523, 0.0150517914, -0.0022375146, 0.0164533202, -0.0024472489, 0.0082108732, 0.0137967477, -0.0522366352, -0.0238126647, -0.0273760576, -0.0067006857, -0.0476276726, 0.0193168111, -0.0583329275, 0.0231292434, -0.0296557639, -0.0890418291, 0.0192056783, -0.0277547669, 0.02507383, -0.0266111735, 0.0485134423, -0.0386914909, -0.0160803422, -0.0043572877, 0.0161271058, 0.0432258174, -0.0641782805, 0.0291528981, 0.044370763, 0.0535743199, 0.0417486429, 0.0000018818, -0.0177764744, 0.010091708, -0.034245383, 0.0173105299, -0.0562777631, 0.0528295822, -0.0080823675, 0.0053637871, 0.0188517738, -0.0233414993, 0.0039939089, 0.0499370284, 0.12837632, 0.0514353476, 0.0500980616, 0.0102003682, -0.0497114807, -0.0029448757, 0.0197240785, 0.0800156891, 0.0464098789, 0.0029965267, 0.0201380886, 0.0037813445, -0.0045633111, -0.0170181021, -0.0058397651, 0.0417171866, 0.024694439, 0.0262769293, 0.0516086631, -0.0385314636, 0.011738766, -0.0138556277, 0.0845574141, -0.0776425302, -0.0350277685, 0.044098869, 0.0050450927, -0.0080405185, 0.017039692, -0.0098177996, 0.02773384, -0.0045922049, 0.0295612048, -0.0240598582, 0.0040007816, 0.0232978482, 0.0182138085, 0.0278224628, 0.0387132801, 0.0108550228, -0.0115678571, 0.0158706903, 0.0198797267, 0.0004285875, -0.0510800369, 0.0538561754, 0.0266434047, -0.0396548323, -0.0011242044, -0.054059796, 0.0460233949, 0.0198402405, -0.076005429, 0.0487303659, -0.0053147459, -0.0579184592, 0.0402132906, -0.0345191658, 0.03123926, -0.0437606573, 0.0720316023, -0.0169807859, 0.0700279623, -0.0352572724, 0.0221109428, -0.0608672276, 0.0073812967, -0.0652533621, -0.037801493, -0.0175286941, 0.0042091799, -0.0358489417, 0.0188345667, -0.0196185708, 0.0655704811, -0.0332945436, -0.0172135476, 0.0059182593, -0.03902217, -0.0196923353, -0.0007934877, -0.0102262199, -0.037339557, -0.0110989921, 0.0501249619, 0.0085297264, 0.0102860443, -0.0114026619, 0.0250315461, 0.0158499591, -0.0050735781, -0.0709374472, -0.0666518733, -0.0139674209, -0.0549715273, 0.0684206113, -0.0560618415, -0.016395703, -0.0396538191, -0.0142594473, -0.0330404378, 0.0376165323, 0.0225833151, -0.0283040833, 0.0571663827, 0.0105843944, -0.022664316, 0.0630487055, 0.0462909639, -0.0081661632, 0.0402752385, 0.0144242086, 0.0713110492, -0.0218999833, 0.0114126215, 0.085729152, 0.003668726, -0.0041025407, 0.0259233192, -0.0036621676, -0.0310847592, -0.0082576592, 0.0314250179, 0.0068665142, 0.0553753152, -0.0346638896, 0.0038510852, 0.023907857, 0.018731121, -0.0387520939, -0.0231754482, 0.0625852793, 0.0216324963, -0.0480875708, 0.0398808122, -0.0564877391, 0.041550763, 0.0059179682, -0.0161072314, 0.0070658154, -0.0307723768, -0.0258520953, -0.0158078447, 0.004397986, -0.0234006532, 0.0329775847, -0.0503156669, 0.0085460544, 0.0295777246, -0.1141335219, 0.0690360069, 0.000546091, -0.0124294376, 0.0212013926, -0.0081942305, 0.0039846944, 0.1130114868, 0.025750367, 0.0310062245, 0.0494476072, -0.0475616716, 0.0817339197, 0.0555044077, -0.0160826668, 0.0119805494, 0.0190481264, -0.0699471533, -0.0396553949, -0.010760434, 0.0544119775, 0.012095998, 0.0036041162, 0.0021555717, 0.0460212901, -0.0070768702, -0.0523473695, 0.0391338989, 0.0151506746, -0.0269189961, -0.05137657, -0.0113693299, -0.0327840149, -0.0225779675, -0.0173572917, -0.0069846907, 0.0032442117, -0.0211401582, -0.0189838316, 0.0071178721, -0.0804725215, -0.0108313598, 0.0077742217, -0.0647723824, -0.0104892002, -0.0086908787, -0.0244757757, -0.0046106372, -0.0076657631, -0.0565781668, 0.0289114341, -0.0225054659, 0.0224891361, 0.0724801645, 0.0219431818, -0.0126957307, 0.0722990111, -0.049642019, 0.0232276283, 0.040460296, 0.0240924209, -0.0066907774, -0.0237894598, -0.0026154211, -0.0416238233, -0.0147496955, 0.0185794365, 0.0024426631, 0.0193471331, -0.0726174638, 0.0293373242, -0.0586695634, -0.0315246843, -0.0345686786, -0.0302057397, 0.0302589051, -0.05265636, -0.0006060525, -0.026907023, -0.0073810699, 0.0088099176, -0.0139649566, 0.0088266162, 0.0213555712, -0.0031737317, -0.036765635, -0.0210267883, 0.0265775528, -0.0092268689, 0.0095254211, 0.0208539385, -0.0050821444, -0.0839788988, 0.0326839909, 0.012210438, 0.0455254652, 0.0176819302, -0.025731517, 0.0118972892, 0.0336228348, 0.0849542543, 0.0308522768, 0.009732875, 0.0284894239, 0.0485344529, -0.0495865345, -0.0346081778, -0.0115614804, -0.020260524, 0.000825932, -0.0019978269, -0.0565442964, 0.0111704338, 0.0097276634, 0.0311311893, 0.0472287573, -0.0658988878, -0.0223060716, -0.0406325571, -0.0430418998, 0.0114552304, 0.0091441274, -0.043039754, 0.0400680676, -0.0276149362, -0.0408989377, 0.0247590654, -0.025884809, -0.0002154144, 0.0192038976, 0.0419651084, 0.0358141698, -0.0070980154, 0.0275612511, 0.0309073832, 0.003382104, -0.0164326709, -0.0352320038, -0.0036904979, -0.0096001755, -0.0174487289, 0.043765597, -0.0833155364, -0.0197078716, 0.0243661534, -0.0167474058, -0.0577665232, -0.0105206873, 0.0061084293, -0.0428514443, -0.0629891604, 0.0060227886, -0.0493616983, -0.0050844667, -0.0250775889, 0.0499814004, 0.0107694818, -0.0356875993, -0.0073633147, -0.0153244045, 0.0959078074, -0.0037401386, -0.009649788, -0.0498938449, -0.0049899742, 0.0559318624, 0.0161388386, 0.0248915795, -0.0397362001, 0.0268152729, -0.0077272155, 0.0094311219, -0.0193940829, 0.0775505975, 0.0648346469, -0.0407240987, -0.0541956164, 0.0882039368, 0.0253997315, -0.0361222811, 0.0105767297, -0.0187619533, 0.0150636733, -0.034151312, -0.0276039764, -0.045048181, -0.0227111168, -0.0305113513, 0.0073103048, 0.0036476732, -0.0145365139, 0.0177865345, -0.0682281032, 0.0526876338, 0.0375818945, -0.0186792221, -0.0559248142, 0.0231476761, -0.0151418522, 0.0329708196, -0.0045657102, -0.0403194353, -0.0012004164, -0.010143063, -0.0010428521, -0.0363886245, 0.0008407371, 0.0233895127, -0.0419269502, 0.0580930375, 0.0819396004, 0.0233423859, 0.0257610958, -0.0947661251, 0.01075052, 0.0011192928, 0.0345034711, -0.0031756507, 0.0388786606, -0.0137607893, 0.0183395986, 0.031389039, 0.0510073118, -0.0776483864, -0.0457703508, 0.0096198888, 0.0463063717, -0.0725512058, -0.0318480022, -0.0334256776, 0.075418286, 0.0499720462, 0.0633608103, -0.0078358231, 0.0027198251, -0.0335730277, -0.0233499855, 0.0366227143, -0.0393915698, -0.0503430143, 0.0029800313, -0.0286394488, -0.0084455805, -0.0962102711, -0.06147594, 0.0120737031, 0.0358792096, -0.0126785953, -0.0312146731, -0.0312561542, -0.0040277317, -0.0209337864, 0.0364453979, -0.0447163545, 0.028202733, -0.0441304669, -0.0105588306, 0.0056688716, -0.0006460602, 0.0063397009, 0.0567795373, -0.0664347187, -0.0394833051, 0.0522893146, 0.0812473074, 0.0223789718, 0.0480118655, 0.0106389998, 0.0399125069, 0.0219928399, 0.0238329824, 0.0234444011, 0.0049353531, 0.0084399935, -0.0093852859, -0.0068238755, -0.0057119997, -0.0310970154, 0.0291881133, 0.002762951, 0.0212987419, -0.0515147448, -0.0012733924, 0.0122586098, -0.0597682372, 0.0588589609, -0.0555109866, 0.0435429588, 0.0005887694, -0.0050352341, -0.0052832724, -0.0132040335, -0.0174296815, 0.0021023701, 0.0431500524, -0.0033868977, -0.003302804, -0.0155906323, -0.024735041, 0.0060767052, -0.0263156872, -0.0605334193, 0.0149314292, 0.0312554389, 0.0222598389, -0.0072687618, -0.0184383281, 0.0278139152, 0.002609255, 0.0670258328, 0.0538061969, 0.0840293691, 0.0097495411, -0.0013877075, -0.0237224177, 0.0162925385, 0.0144195994, -0.0431154929, -0.0723432526, 0.0449176133, 0.0447773114, -0.010726627, 0.0220098048, -0.0493326485, 0.02873764, 0.0041395044, 0.0232379902, 0.0500442088, -0.0571637154, 0.0054343496, 0.0052885073, -0.0080813626, -0.0193507727, 0.0599236414, -0.0127796615, 0.0722989142, 0.0027104178, -0.0336463414, -0.0392119139, -0.0174489953, -0.056508027, 0.0076938472, 0.0199891012, 0.0063640946, -0.0221166722, -0.0235599354, 0.0003112853, 0.0138230631, 0.0330844559, -0.003087508, 0.0952483639, -0.0146149425, -0.0321716852, -0.0331913307, -0.0074151838, -0.0250195861, 0.0293023922, -0.0099479593, -0.0691884086, -5.878596555e-33, -0.0211801436, -0.0742517337, 0.052248355, -0.0265307389, -0.0106070535, -0.044019524, -0.024102129, -0.0053499774, 0.0107105188, 0.0148614133, 0.0459456444, 0.0320674367, 0.0249813497, 0.0397206359, 0.0091599794, -0.0296044871, 0.0582083687, 0.0044860956, -0.0543825254, 0.0288602281, 0.0375103652, 0.0011530205, 0.0469080992, -0.0870610774, -0.0088093346, -0.0430402644, -0.0613840409, 0.0020280092, 0.0258489251, 0.0096591385, -0.0412777029, 0.0104195289, -0.0089960853, -0.0501408651, -0.0206553321, 0.0219466928, -0.0029079607, -0.0292606857, -0.0214822739, 0.0374256, -0.0508445576, -0.053323973, 0.00604602, -0.0183488186, 0.008012658, 0.0098440014, 0.048051089, -0.0080675315, 0.0182804726, 0.0631876066, -0.0790836588, -0.0136063825, 0.0046965242, -0.0552311987, -0.006392017, 0.0443604924, -0.0062044854, -0.0437732451, -0.0840805322, 0.0249365866, -0.0002234845, -0.001468098, 0.049949117, 0.0011946413, -0.0019627102, 0.0645592734, 0.0257799644, -0.0134612862, -0.0396861024, -0.0212049596, -0.0057131746, 0.0890038982, 0.0193658061, -0.0110827843, 0.0644904599, 0.0337251015, -0.0077398107, 0.0370856151, -0.0612983964, 0.045735877, 0.0311390627, 0.0085796556, -0.0215840098, -0.0125478171, 0.036116913, 0.0160429273, 0.0047805463, -0.0609432608, 0.036110241, 0.0488267951, -0.0153861502, 0.0017440479, 0.0441606157, 0.0001563474, 0.0043339133, -0.0083957398, -0.0075927945, 0.0041693123, -0.0170215853, -0.017020924, -0.0241987146, -0.054647129, 0.0797133148, -0.0135487597, 0.0114683378, 0.040342968, 0.0112890564, 0.013097615, -0.0529031195, -0.0000458103, -0.0191532448, 0.0004159231, 0.0189222004, -0.0069856774, 0.0459706485, -0.0264928434, -0.0428303853, 0.0389928259, -0.0242465083, -0.0199004039, 0.0377791598, -0.0016374335, -0.0296976697, 0.0080226976, -0.0243578944, 0.000148048, -0.0492393449, -0.0182715263, 0.0234499928, -0.090782918, -0.0078579253, 0.0014366783, 2.673e-7, -0.0355781876, 0.0171004813, 0.0215512961, 0.0079998551, -0.0318456553, 0.0045175371, 0.0378744565, 0.0236631911, 0.0096193524, -0.0519776791, 0.0231487304, 0.0192091968, 0.0287119318, 0.0069788289, -0.0439768992, -0.0161469392, -0.0258378778, 0.0340147614, -0.0484473519, -0.0541478507, 0.0515678935, 0.0318741873, 0.0033486856, -0.0010681073, 0.0444654413, -0.0171187893, 0.0445085242, -0.0195373651, 0.0508709028, -0.028071275, 0.0338022597, 0.027929103, -0.0288778674, 0.0164338145, -0.0469851121, -0.0500136688, 0.0179439448, 0.0126226237, -0.0258025713, -0.0436427221, 0.0032104207, -0.024514392, 0.0177902207, -0.0133332154, 0.0209801346, -0.0434321836, 0.0109549416, 0.0408999175, -0.0463199802, -0.0360754542, 0.0280907638, 0.0033196891, -0.0443029404, -0.0253767632, 0.0316503532, 0.0359707549, -0.0105917705, -0.0651711598, 0.0177506413, 0.0117894076, -0.0115074674, 0.0022344985, 0.0012399044, 0.0040323548, -0.040550001, -0.026221497, -0.0563179739, 2.012760865e-34, 0.0116888052, 0.0060241325, 0.0129827065, -0.0048460029, 0.035338264, 0.0284063108, 0.0317775868, 0.0104728965, 0.0068771322, -0.016998589, -0.0176429078 ]
http://arxiv.org/abs/2310.15317v1
http://arxiv.org/pdf/2310.15317v1
Exploring the Potential of Large Language Models in Generating Code-Tracing Questions for Introductory Programming Courses
2023-10-23T19:35:01
2023-10-23T19:35:01
Aysa Xuemo Fan, Ranran Haoran Zhang, Luc Paquette, Rui Zhang
cs.CL
cs.CL, cs.CY
In this paper, we explore the application of large language models (LLMs) for generating code-tracing questions in introductory programming courses. We designed targeted prompts for GPT4, guiding it to generate code-tracing questions based on code snippets and descriptions. We established a set of human evaluation metrics to assess the quality of questions produced by the model compared to those created by human experts. Our analysis provides insights into the capabilities and potential of LLMs in generating diverse code-tracing questions. Additionally, we present a unique dataset of human and LLM-generated tracing questions, serving as a valuable resource for both the education and NLP research communities. This work contributes to the ongoing dialogue on the potential uses of LLMs in educational settings.
[ 0.0274141375, 0.0206193998, -0.0440361425, 0.0346886925, -0.0279022735, 0.0030000547, -0.0117413076, -0.0071648899, 0.0055091162, -0.0392028466, 0.0464730635, -0.000383751, -0.009104182, -0.0002514797, 0.0456349477, -0.0619728565, 0.0024598755, -0.0424435809, -0.0406363644, 0.0407145768, 0.0166528486, 0.0206336305, -0.022610452, 0.0501549058, -0.0115748923, -0.0445755683, -0.0382329188, -0.0031059317, -0.0280546229, -0.0529209971, -0.0169415288, 0.0198238362, 0.0199697204, 0.0197749417, 0.0000021713, -0.0644590333, 0.0063414159, 0.0311682671, -0.0526975356, 0.0825536177, -0.0045998008, 0.068563275, 0.0086835651, 0.0289548747, -0.0360221192, 0.0052651619, 0.0503521189, -0.0564756505, 0.0850782022, 0.0306629501, 0.0313189216, -0.0071433135, -0.0033668764, 0.022530796, 0.0586744584, -0.0266182907, -0.0097535457, 0.0634764731, 0.0570374653, 0.0476534665, 0.0037384231, -0.0027666904, 0.0448873155, -0.0277264025, 0.0050347401, 0.000237657, -0.0049739378, 0.011125735, 0.010212807, 0.0477003939, 0.0134496046, -0.0341943316, 0.0072663743, -0.0095513929, -0.0013685535, 0.0177760981, -0.0737624541, 0.0511160567, -0.0077254223, -0.032551311, 0.0015647009, -0.0370070599, 0.0144774243, 0.0031714048, 0.0038843064, 0.0215212908, -0.0025012242, -0.0129772797, -0.0392822698, 0.0359049737, 0.0303672701, -0.0259393156, 0.0044315923, 0.0758007169, 0.0130683016, 0.0234991182, 0.0212386288, 0.0298509076, 0.047410138, -0.0169253349, 0.0312427171, 0.0297734551, 0.0001668806, 0.0227044411, -0.0367847905, 0.0534984134, -0.0133648543, -0.0491283759, -0.0146788703, 0.0270143971, -0.069243975, -0.012909459, -0.052856598, 0.0300676711, 0.0263070147, 0.0657716319, 0.0093609998, 0.034500625, -0.0041526617, 0.0510029532, -0.0345074572, -0.0322977453, 0.0075768717, -0.00204129, -0.0059779044, -0.0277139749, -0.0544376187, -0.0407164991, -0.0086923568, -0.0646266118, -0.0097667798, 0.0317970961, -0.0208750926, -0.0085543375, 0.0152579444, 0.0664514527, 0.0269335378, 0.0366056263, -0.0281858686, -0.0693578944, 0.0533981174, 0.0006121979, 0.0070947632, -0.1083051637, -0.0575496368, 0.0397519171, 0.0040200623, -0.0203179978, -0.0117353592, 0.0362233892, 0.0280533899, 0.0349418893, -0.0613446683, 0.0087576928, 0.0421143286, 0.0075556962, 0.0096260039, 0.0298655201, 0.0261447672, 0.0038205939, 0.0130305439, -0.0721823499, 0.0825185478, 0.0150057469, -0.0185039304, 0.0152210062, -0.0286960099, 0.0360620879, 0.0444379598, 0.0191985667, -0.004159322, 0.0345805548, -0.0131204398, 0.0378541388, -0.0216764584, 0.0586102717, -0.0195996482, 0.0630730018, 0.1103355214, 0.0274055898, 0.0172274355, 0.0137792723, -0.0118592391, 0.0391830243, -0.0203454327, -0.0003676068, -0.0235215891, 0.0406395011, 0.0044415379, -0.0452289097, -0.005851862, 0.0277582649, 0.0068898858, 0.0146125089, 0.0122823054, -0.0033999169, -0.0168358441, 0.0520381555, -0.0039810869, -0.0540993921, -0.0044254861, -0.053059645, 0.0339247696, 0.0514292419, 0.0647937432, -0.0381588154, -0.0192640126, -0.0329046249, 0.001290815, -0.0340753011, 0.0680082366, -0.0118351132, -0.0240223743, -0.039697472, 0.0040111402, -0.0426209606, 0.00474812, 0.0148201063, 0.0429841131, -0.0435685031, 0.0406362824, -0.0344043709, -0.0686274916, 0.0352458283, -0.0151832318, -0.04828538, -0.0174930561, 0.0006947559, -0.0528059825, 0.0287896302, -0.0022087959, 0.0342736319, 0.0179045871, -0.0052455491, 0.0064976849, -0.0618079752, -0.0248433184, 0.00530334, 0.0338513777, -0.0599972792, -0.0468202457, 0.0107265245, -0.017062597, -0.0170693286, 0.0384407751, -0.0585326776, 0.0117341075, 0.0025893745, -0.014508375, -0.025085466, -0.0502974615, -0.0208864752, 0.0325463675, 0.066754669, 0.0743786022, 0.027955927, 0.0437819995, 0.0270195995, -0.0243278481, -0.0081598228, 0.0194292776, -0.0239638127, 0.0327425785, 0.0295774117, 0.0232505985, -0.0460809693, 0.0043071616, -0.0515978225, -0.0037291357, 0.0080462461, 0.0252516344, 0.0308855306, -0.00448826, -0.0103540737, -0.0158220828, -0.0614827983, -0.0562022887, -0.0366850905, -0.0149948187, 0.0272112768, 0.0021534332, -0.0424466319, -0.0245992932, -0.0028950125, -0.0465089083, 0.0223620255, 0.035540387, -0.0263380725, -0.0774818286, 0.0653213635, 0.0246724635, -0.0234627239, 0.0114627909, -0.0267531294, 0.0227791518, -0.0470955335, 0.0475015715, 0.0446858406, -0.0483939387, 0.0223654173, 0.0328905135, -0.0277828798, -0.0470309667, 0.0005483835, 0.0415439084, -0.0317406692, 0.0036262898, -0.0702143833, 0.0064449674, 0.0461405255, -0.0035465437, -0.0100877583, 0.0054725367, 0.0368380323, -0.0439475216, 0.0563122071, -0.0350729786, -0.0566056482, -0.0245191269, 0.048673369, 0.0303025581, -0.0871089399, 0.0747213662, -0.0416192934, -0.0269861929, -0.0275255553, -0.0232684109, -0.0458001569, 0.0814438984, -0.0053970679, 0.0135995736, -0.0015603714, -0.0215194076, -0.0060432269, 0.0292321108, 0.0313998349, -0.0352028683, 0.0393018238, -0.0719271749, -0.0302557833, -0.0084037408, 0.012320444, -0.0171990991, -0.0236733444, -0.0170214064, -0.0252508521, 0.0214811023, -0.0041726832, 0.0567998886, -0.0156617742, 0.0416749977, 0.013567267, 0.0013828984, -0.030999735, 0.0018572377, 0.0081612105, -0.0263201874, -0.061743889, -0.0083336439, -0.0430587158, 0.0507352911, 0.0251865108, 0.0598307699, 0.0664490089, -0.0183546077, -0.0020902259, 0.0336559527, -0.0258735549, -0.0287611168, 0.077682212, 0.0639696047, -0.0973556936, -0.0413704179, 0.0603690371, 0.0535424612, -0.0559648797, -0.0100719035, -0.0201622695, 0.0099928211, 0.0616880246, 0.0499601625, -0.0721191913, 0.0052037998, -0.0026817939, 0.0299434643, -0.0530576557, -0.0173996855, -0.0178978853, -0.1033960506, 0.0041539981, 0.008648091, 0.0031277703, -0.005972655, -0.0534721501, -0.029669404, 0.0220107622, -0.031966228, 0.012932511, -0.0089817084, 0.0315654129, 0.0388003699, -0.0807966068, -0.0117634907, 0.0457960516, 0.0163357891, 0.0448679663, 0.0711008161, -0.0184887256, -0.0215171371, 0.0156400185, 0.0305611007, -0.0138949566, 0.000989569, -0.0124968961, 0.0350028239, 0.020583041, -0.0156587418, -0.019180676, 0.016166199, -0.0549248718, 0.0021135146, 0.0628330186, 0.064854838, -0.0266860537, 0.0003355704, -0.0193280783, -0.0284033995, -0.0094247349, 0.0420839787, 0.0706826523, -0.0427284501, 0.0300212018, -0.0858388916, -0.0002880058, -0.0293135289, -0.0761545524, -0.0273982007, 0.0128258718, 0.0433910228, -0.0121753123, -0.0353416689, 0.1050414145, 0.0340729915, 0.010045425, -0.005909401, 0.0019993386, -0.0100480132, -0.0274004769, 0.045341868, -0.0315277725, 0.032100115, -0.0468677618, -0.0291587487, 0.0016674646, 0.0074911606, 0.0068616392, 0.0578251742, -0.0825543329, -0.0326104984, -0.0315763503, 0.0492702387, 0.0288945306, -0.0283032078, -0.0253734179, -0.0316587947, -0.1174106598, -0.0093839653, -0.0058918898, -0.0317188688, -0.0258740019, 0.0223201588, 0.0159661677, -0.0320293754, -0.0367680937, -0.0256610978, -0.0072679939, -0.0055702464, -0.0594131649, -0.0276198164, 0.0708779171, 0.0347824581, 0.0054067769, -0.0042658765, -0.0106411399, 0.0275882296, -0.0029349294, -0.0258812513, -0.0365503095, -0.0227450412, 0.024151314, 0.016755959, -0.0316286236, 0.0394397229, -0.010089173, -0.0527355447, 0.037481416, -0.0464129038, 0.0727548748, -0.0295346845, 0.0194462705, 0.042418275, -0.0014336058, -0.0333432779, -0.0249724574, 0.0033254379, 0.0411479846, 0.0140391476, 0.0581960641, 0.013040009, 0.0500191897, 0.0618809313, -0.0111412574, -0.0109497523, -0.1035364568, 0.0155505184, 0.0056466372, 0.0149733135, 0.0169477519, -0.0148408189, -0.0039045252, 0.0135801043, 0.0216874629, 0.0253162365, -0.0049564461, -0.0400524586, 0.0260553956, 0.055568967, -0.0038496563, -0.0579817928, 0.0747822821, 0.0091124056, 0.0134120705, 0.0038865397, -0.025777556, -0.02424266, 0.0202730149, 0.03742861, -0.0117636276, 0.0113138203, 0.0027475376, -0.0772832856, -0.0749326348, -0.0846207812, 0.0302017163, 0.0294874255, -0.0173486862, 0.0473422073, 0.0642523617, -0.0226741172, 0.0069811167, -0.019445736, 0.0459814966, -0.0099687688, -0.0469654649, -0.0124380793, -5.949600822e-33, -0.0353621393, -0.0728106126, 0.0274283048, -0.0033711742, 0.0183782391, -0.0124845523, -0.0350793041, 0.0358588584, -0.0213869195, -0.0161657743, 0.0295336917, 0.0186216235, -0.017861275, -0.0268328302, 0.0173209049, 0.0157940406, 0.0312165488, 0.0599030741, -0.0283480994, 0.0264176186, -0.0472814627, -0.0153224999, 0.0266620219, -0.0309077892, 0.0522299744, -0.0706567615, 0.0131120859, 0.0016338821, 0.0164520964, 0.0325931422, -0.002458849, 0.0074724322, 0.004868655, -0.053806521, -0.0185804348, -0.0013071917, 0.0139864264, -0.042139452, 0.0350796245, -0.0279929712, 0.0118342191, -0.0557044484, 0.0126409512, -0.0042230603, 0.0135616772, 0.027074391, 0.0430543609, 0.0260340665, 0.0346648134, 0.0235904232, -0.0403102376, 0.0299024694, -0.085170351, -0.0101120053, 0.0033151999, 0.0411839932, -0.0103781763, -0.0015189619, 0.0205001235, 0.008230906, 0.0332844444, 0.0406494774, 0.020996701, -0.0204532128, -0.0066939802, -0.0114017185, 0.0167101342, 0.037151508, -0.0380929112, 0.0133119794, -0.0037247108, 0.0137180118, 0.0718908906, 0.0213967692, 0.0108232489, 0.0351860523, -0.0308108181, 0.0221076086, 0.0290491004, 0.0022713838, -0.016540397, -0.025951812, -0.0581687503, -0.0309726577, -0.0429227874, -0.0081312237, -0.0190935507, -0.0383852534, 0.0318004973, -0.052270133, -0.0258495919, -0.002009932, -0.0138086351, -0.0037580861, 0.0097463802, -0.0124411648, -0.0298205391, 0.0557370596, -0.0164874736, 0.0246508401, -0.026454607, 0.0325702541, -0.015113486, -0.023197379, 0.0884983987, 0.0233418755, -0.0115586556, 0.0282668155, -0.0599142015, -0.0104205152, -0.0498670116, -0.0116582764, -0.0246317647, -0.0171466321, 0.0117526865, 0.033505071, 0.0011855522, 0.0267747343, 0.0099214511, -0.0497739427, -0.0320409089, -0.0262548942, -0.023027461, -0.0085410001, -0.0235901866, -0.049509678, -0.0343466811, 0.0511840954, 0.067258209, -0.0320846774, -0.0511227176, 0.0113387136, 2.805e-7, 0.0297554955, 0.0456349961, 0.0086201886, 0.0475962497, -0.0161150526, 0.012841722, -0.0209371354, -0.0378160737, 0.0402939469, -0.0256026071, -0.0275717694, -0.0057709841, 0.0198253691, 0.0237525143, -0.0759054944, 0.014348249, 0.013195252, 0.0156753082, -0.0688355044, 0.0364656113, 0.0919506252, 0.0101771699, 0.0197667275, 0.020894045, -0.0062250765, -0.0441553146, -0.0054847305, -0.0200785492, -0.0058150957, 0.0427446365, -0.0260466915, 0.0213874187, -0.0088214036, 0.0117701581, 0.0026145184, -0.0604155697, 0.0145496111, 0.0287430882, 0.0139483847, 0.0376219377, 0.0158809684, -0.0478447862, 0.0143420398, -0.1025854796, 0.0131185716, 0.0302243195, -0.0037118499, 0.0323778577, -0.0148918452, -0.0248207115, -0.0450915881, -0.0102757961, 0.0208860859, 0.0085751871, -0.0341447517, -0.0200758968, -0.0071888082, 0.0111891162, -0.0364918858, -0.007729745, -0.0047954014, -0.0613329858, -0.0447171591, -0.0248660333, -0.0035301307, 0.0109868478, 0.020697644, 2.563967615e-34, 0.0191472489, -0.0186246317, 0.0607662462, 0.0285790451, 0.0603610575, 0.0157221071, -0.0089791184, 0.0234539136, 0.0098429695, -0.0197705124, -0.0236061774 ]
http://arxiv.org/abs/2310.15316v1
http://arxiv.org/pdf/2310.15316v1
Probing Representations for Document-level Event Extraction
2023-10-23T19:33:04
2023-10-23T19:33:04
Barry Wang, Xinya Du, Claire Cardie
cs.CL
cs.CL
The probing classifiers framework has been employed for interpreting deep neural network models for a variety of natural language processing (NLP) applications. Studies, however, have largely focused on sentencelevel NLP tasks. This work is the first to apply the probing paradigm to representations learned for document-level information extraction (IE). We designed eight embedding probes to analyze surface, semantic, and event-understanding capabilities relevant to document-level event extraction. We apply them to the representations acquired by learning models from three different LLM-based document-level IE approaches on a standard dataset. We found that trained encoders from these models yield embeddings that can modestly improve argument detections and labeling but only slightly enhance event-level tasks, albeit trade-offs in information helpful for coherence and event-type prediction. We further found that encoder models struggle with document length and cross-sentence discourse.
[ 0.0040511563, 0.0103903767, 0.0206436925, 0.0711635426, -0.039812848, 0.0360307135, 0.0002527828, -0.0182802025, 0.0378622562, -0.0664879531, 0.0113173099, 0.0058430023, -0.0333340578, 0.0535480306, -0.0066526323, -0.0251613781, 0.0327582918, 0.0193258133, 0.0326949172, 0.035571184, 0.0150632225, 0.004464421, -0.0030235399, 0.032755699, -0.0172781721, -0.0381619111, -0.026459476, -0.0166093223, 0.0115989428, -0.0183104407, 0.0233419463, -0.0064537372, 0.0626276135, 0.0463935584, 0.0000017049, -0.0249505322, -0.0295196529, -0.0143093141, -0.0570343137, 0.0252786893, 0.0264657363, -0.06424696, -0.0143297343, -0.0291793197, -0.010592401, -0.046202857, -0.0111832973, 0.0867699385, -0.0080740238, 0.0963062793, -0.0195500217, -0.034113463, 0.0620403774, -0.0021115241, -0.0036388591, -0.0249041487, 0.0199384522, -0.0353661813, -0.0051641273, 0.0290226582, -0.0042143459, -0.0129876817, 0.0406703949, 0.0003720028, -0.000188353, 0.0449976251, -0.0043046819, 0.0031163208, -0.0240264777, 0.0298666786, -0.0108129075, -0.0067667165, 0.0074104848, -0.0152593041, 0.0040085111, 0.0163078047, -0.0528866947, 0.0060203974, -0.0010915297, 0.0395802855, 0.0748900548, 0.0149200913, 0.0188677218, 0.0229331423, -0.0005967771, 0.0424094498, -0.0098090488, -0.0285528805, 0.0128085203, 0.0135875363, 0.0045822612, -0.025463013, 0.0357580893, 0.0352817252, 0.0307347793, 0.024953546, -0.0357089788, 0.0230800584, 0.0147997728, -0.0879406855, -0.0016070626, 0.0139177628, -0.0199186597, 0.0777378306, -0.0448561572, 0.0206137095, -0.0243084412, 0.0207154173, -0.0040474576, -0.021755537, -0.0359017886, -0.010836523, -0.0098567558, 0.0380319804, -0.0496320277, -0.0387208723, 0.0196006428, 0.0363471843, 0.0497344658, 0.0241670907, -0.029291505, 0.0138450107, -0.0407657102, 0.0023949519, -0.0172634255, 0.0009357938, -0.0450725444, 0.0183875393, 0.0111051993, -0.0331449173, -0.0504470617, 0.0315855853, 0.0343799442, -0.0183386635, 0.006618984, 0.0256275311, -0.0317503586, -0.045380272, -0.0613168739, -0.0397631265, 0.0098608062, -0.0253578983, 0.0186397396, -0.0328874215, 0.0384904258, -0.0187918153, -0.0203162376, -0.0545071661, -0.0110134054, -0.0145207951, -0.0280163754, 0.0363348722, 0.0156400241, -0.0530510582, 0.0319204405, 0.0119107915, -0.0087400079, 0.0660442114, 0.0566875227, 0.0480986834, 0.0718361214, -0.0057106675, -0.0179791842, -0.0051784264, 0.0045288098, -0.0359913632, 0.0430140346, -0.0212515518, -0.014298507, 0.0028489185, 0.0568377115, -0.0342759229, -0.0499364696, -0.0415449664, 0.0373317115, 0.0671804473, -0.006588948, -0.005449343, 0.040809758, -0.0025111495, -0.0038559947, 0.0384022631, -0.0048451177, -0.0353859179, 0.032655362, 0.0147917969, -0.0168945044, -0.0220301263, -0.0319416821, -0.0329813845, -0.0090967976, -0.0376128107, 0.005127898, -0.0079051135, 0.0505454019, -0.0099628735, -0.0452063791, 0.0342086069, 0.0176754966, -0.0286049917, -0.001430849, 0.0054735076, 0.0163693558, 0.0087876236, 0.0166833848, -0.0452456027, -0.0249963868, -0.012649362, 0.0475195944, 0.0437710695, 0.0563490242, -0.0324467942, 0.0531122722, -0.0490096323, -0.0050822133, -0.0728413537, 0.0319897756, 0.0079706721, -0.0179219842, -0.0251622219, 0.0050648893, -0.0423571803, -0.0224181321, 0.0485953502, -0.0260126293, -0.077273719, -0.0139757497, 0.0026374601, -0.0051411423, 0.0194252525, 0.0133687118, -0.019558847, 0.0625669286, -0.0710309818, -0.0023039572, 0.0037244677, -0.0015158369, -0.053871233, 0.0017885588, -0.0238977857, -0.0320746228, 0.0242438652, -0.054747548, -0.0151309492, 0.0014326153, -0.0242710654, 0.0105873113, -0.0352676809, -0.0223476179, 0.0044635609, 0.0280227978, -0.0275747068, 0.0876625404, 0.005245571, -0.0210045539, -0.0164282471, 0.0203910824, 0.028992584, -0.0296031721, -0.0253513176, 0.0351323448, 0.0185126197, -0.042209018, 0.004590678, -0.0236319266, -0.0414875373, 0.0060284683, -0.0778135061, 0.0359473713, -0.0394409895, 0.0736176372, 0.0240600388, -0.0361039676, 0.0074297721, -0.0009787681, -0.0218904074, -0.0807131007, -0.0348591246, 0.00461936, 0.0686671957, -0.0037559483, 0.0002969693, -0.0533701293, -0.0016204768, -0.0613812953, 0.0892084464, -0.0097464984, -0.0316769779, -0.0360692069, -0.0035102528, 0.0232479237, 0.0168732312, -0.0215941686, 0.0017433261, 0.0188958123, 0.0049898871, 0.002415454, 0.1370044798, -0.0075986413, 0.1139580533, -0.0177937709, -0.0011154131, -0.0752743781, 0.0075713932, -0.0340649672, 0.0765406862, -0.0427471027, 0.0053095752, 0.0339798741, 0.1020402387, -0.0117774801, 0.0270818155, -0.0101286182, 0.0048470101, 0.0112063009, -0.0148659013, 0.0063482155, -0.0313315541, -0.0017731931, 0.0300034825, -0.0388909318, -0.0020051445, 0.078145355, -0.0173619613, -0.0085312296, -0.0563666262, -0.042100478, -0.0397897027, 0.0680763796, -0.0104757948, -0.007335206, -0.0120510431, -0.0627908185, 0.0284209941, 0.0053437287, 0.0125735281, -0.0138305584, 0.0090892101, -0.0068998351, 0.0024008017, -0.0109658223, -0.0257360525, -0.0359295495, -0.0591077618, -0.0024043566, 0.0236642845, -0.0433561169, 0.0439061634, -0.037042968, 0.0143606625, -0.008040092, 0.0379389599, -0.0355773494, 0.0016524922, -0.0454619378, 0.0719811916, 0.0318137668, 0.0025521028, 0.0217828378, -0.0065921498, 0.0393931046, 0.0833474472, -0.0182362329, 0.0223497301, -0.0399713963, 0.01864779, -0.0146515798, -0.059745416, -0.0141463252, -0.0515377, 0.0386228375, -0.1048876494, -0.0133223562, 0.0779449716, 0.0295382813, -0.0100832861, 0.0067301444, 0.0062816124, 0.0075217444, -0.0171526261, -0.007395911, -0.0514271371, -0.0382068455, -0.0072325775, -0.0227088742, -0.0007287536, -0.0100856759, 0.02781762, -0.0479355119, 0.0209695268, -0.0194472726, 0.0237613712, -0.0588530116, -0.0722893775, 0.0213024747, -0.0039721797, 0.0137553671, -0.0042635198, 0.0068799746, -0.0226622913, 0.007020704, -0.036347419, -0.0811405554, -0.0007630071, -0.0313483179, -0.0076927296, 0.023903843, 0.0451494679, 0.0054074321, 0.0188905224, 0.0323741212, -0.0228436738, 0.00177848, 0.0023970569, 0.0564215779, -0.0511415713, 0.0214712527, 0.0167549942, 0.066620104, -0.0275466982, -0.0369995274, -0.0251629036, 0.0813354775, -0.0303870831, -0.0181168243, 0.0026820011, -0.0297492407, -0.0054936442, 0.0830668807, 0.0345417857, 0.0096384101, -0.0548426397, -0.0126342727, 0.0324523076, -0.0326617733, 0.0070066894, 0.014258652, -0.0065472955, -0.0143299988, -0.031717509, -0.1036019176, 0.0177427605, -0.0189956911, -0.0353817791, -0.0049104481, 0.0138962287, -0.0212370548, -0.0346577428, 0.0721506476, -0.0058224448, -0.0113557158, 0.0325391665, 0.0212685857, 0.0211179703, 0.0356360562, -0.028995689, 0.025937546, -0.0372753069, -0.0470447727, -0.0234467946, -0.0453017354, 0.0043380316, 0.0573552251, -0.0126815671, -0.0386407152, 0.031984359, -0.0306291338, -0.0001605633, -0.0150555726, 0.0383709073, -0.007846226, -0.0050337045, 0.0180656705, -0.0128156263, 0.037450701, -0.0292371511, 0.0273867641, -0.0564467497, -0.0180361997, -0.0049968623, -0.0360238962, 0.0701282024, 0.0491821319, -0.0426942557, -0.0523143671, 0.0219413601, -0.028804455, 0.0187823065, -0.0240440164, -0.0024122139, -0.0020009375, -0.0073449234, -0.0337623395, 0.0379402116, -0.0017355087, 0.0459922105, -0.0538805239, 0.032237716, 0.0182845965, 0.0049199401, -0.044144664, 0.0051054894, -0.0646092445, 0.0304105375, -0.0160153564, 0.032461673, -0.0220816098, 0.0068150316, 0.0230057612, 0.0361617021, 0.0028865607, -0.0133795878, -0.0922725126, 0.0167531818, -0.0172671601, 0.0114080897, 0.055612009, -0.0557078794, 0.0364822, -0.0084671853, -0.0191696882, 0.032318037, 0.0154253673, 0.0257665757, 0.0361852385, 0.0514828116, 0.0446088016, -0.0410643928, 0.0093538491, 0.0345229432, 0.0136645082, 0.078109026, 0.0036082505, -0.0332102999, -0.0519330874, -0.0092276419, 0.0479514971, 0.0487742871, -0.0183967501, -0.0339254923, -0.0360099077, 0.0191470794, 0.041267436, 0.018279653, -0.0013246381, -0.0195066426, 0.0051402743, 0.0684011057, 0.0113523761, -0.0117876669, -0.0034454509, 0.0341924131, 0.0056568957, -0.0413530357, -0.0375701524, -6.006575197e-33, -0.0324536599, -0.0101261176, -0.0028854939, 0.0746571198, -0.0137864863, 0.0497082658, -0.028002806, -0.0293405484, -0.02862381, 0.0389820524, 0.0034462477, 0.0117796427, 0.016793238, -0.0057568057, -0.0280117765, -0.0453379042, 0.048283048, -0.0119087966, -0.013650855, -0.0028831332, 0.0630935282, 0.0463424884, 0.0827506632, -0.0837002546, 0.0582222678, 0.0105883172, 0.0257355589, -0.010017151, 0.0505070128, 0.0595281497, -0.0136292744, 0.0229895674, 0.0402729847, -0.0649020374, 0.0045837848, 0.060192205, -0.1058944836, -0.0366519727, -0.0051610055, 0.0082352431, -0.0199781694, -0.0676556006, 0.0373626798, 0.0212787855, 0.0359008275, -0.0344141573, 0.032415729, 0.0111458488, -0.0176430121, -0.0435044579, -0.078645505, 0.0544862971, -0.0059558596, 0.0069746692, 0.0507147163, 0.0064157541, 0.0282847472, 0.0789384618, -0.0491161533, -0.0551515855, -0.037696626, 0.0288885776, -0.014178087, -0.0392177887, -0.0431012213, 0.0768840611, -0.0162741859, -0.0126415249, -0.0305719581, 0.022227861, 0.0325170234, 0.0464421324, 0.0093237758, 0.045435559, 0.0379055813, 0.0199788604, -0.1114244163, 0.028935425, 0.0733834282, 0.0094907591, 0.0057993149, 0.0072482801, -0.0424489044, 0.0096713258, -0.0281659588, -0.0105367284, 0.0062356126, -0.0172758941, -0.0065454766, 0.0003065427, 0.0014822334, 0.05751957, 0.0193477757, -0.0263842866, 0.0126776164, 0.0293855369, -0.0074910726, 0.0160907023, 0.0196402166, 0.0046992223, -0.0419952869, -0.0281367041, -0.0166825354, -0.0229869634, 0.0543063805, 0.0003884682, 0.0489333048, -0.0313851796, -0.0085927565, 0.0069607012, -0.0214969926, -0.018461002, -0.023972109, 0.0717705563, 0.0205325317, 0.0127208102, -0.0132821351, 0.0524840578, 0.0061579547, 0.0591165498, -0.0045980602, -0.0532379635, -0.0167837795, 0.0325056016, -0.0067467866, -0.0243504215, -0.0218562353, 0.0434543975, -0.002085872, -0.0523040332, 0.021309182, 0.0305974353, 2.433e-7, 0.0479022563, 0.0449959971, 0.061928127, 0.0230648424, 0.0186012723, 0.0334662087, 0.0229112264, 0.0367801972, 0.0052353321, -0.062385235, -0.0161475893, 0.0281335004, 0.0437096022, 0.031542629, -0.0746484399, -0.0486882702, -0.0486770384, -0.0132679781, -0.0547229052, -0.0116871335, 0.0624405593, 0.0804124698, -0.0011348519, -0.0033906186, -0.0053057163, -0.0117654745, 0.0549634546, -0.0156795382, -0.0390472077, 0.0253440458, 0.0282061212, -0.0116290562, -0.0278625656, 0.0551805571, -0.0121411625, 0.0748779774, -0.0175259896, 0.0641230717, -0.0113925189, -0.0228586551, -0.0174273066, -0.0433391817, -0.0086770812, -0.0318249948, 0.0820022002, -0.0575470738, -0.045018021, -0.0377408601, -0.0380451865, 0.0084984293, -0.0001100204, 0.0065420074, -0.0203162692, 0.0186169464, -0.0023599048, -0.040163219, 0.0019827015, -0.0583679602, 0.0111262426, 0.0272571445, -0.0223218519, -0.0184504408, 0.0023829564, -0.046427574, 0.0372601599, -0.0635776371, -0.0264789034, 2.131312226e-34, 0.0178306606, 0.0365374759, -0.0018170928, 0.0464513935, 0.0354642905, 0.0030034792, -0.0071654068, -0.0298106615, 0.0163862426, -0.0621377379, 0.0073078247 ]
http://arxiv.org/abs/2310.15302v1
http://arxiv.org/pdf/2310.15302v1
Toward a Critical Toponymy Framework for Named Entity Recognition: A Case Study of Airbnb in New York City
2023-10-23T19:09:07
2023-10-23T19:09:07
Mikael Brunila, Jack LaViolette, Sky CH-Wang, Priyanka Verma, Clara Féré, Grant McKenzie
cs.CL
cs.CL, cs.AI, cs.CY
Critical toponymy examines the dynamics of power, capital, and resistance through place names and the sites to which they refer. Studies here have traditionally focused on the semantic content of toponyms and the top-down institutional processes that produce them. However, they have generally ignored the ways in which toponyms are used by ordinary people in everyday discourse, as well as the other strategies of geospatial description that accompany and contextualize toponymic reference. Here, we develop computational methods to measure how cultural and economic capital shape the ways in which people refer to places, through a novel annotated dataset of 47,440 New York City Airbnb listings from the 2010s. Building on this dataset, we introduce a new named entity recognition (NER) model able to identify important discourse categories integral to the characterization of place. Our findings point toward new directions for critical toponymy and to a range of previously understudied linguistic signals relevant to research on neighborhood status, housing and tourism markets, and gentrification.
[ 0.0127531439, 0.0831913576, -0.0305501428, 0.0184148885, 0.016392542, 0.0187101681, 0.0175567549, -0.0009738732, 0.0204136074, -0.0405656099, -0.0085362876, 0.0107869674, 0.0439103581, 0.0048234221, 0.0221930891, 0.0042830002, 0.0181602389, 0.035555765, 0.0200554915, 0.006393618, -0.009008701, 0.0525035076, 0.0053820601, 0.0480461679, 0.0057644001, 0.0389743112, 0.0482927337, 0.0208020806, 0.0244035535, -0.0387930125, 0.038279213, 0.0314214751, -0.0280059017, 0.0660277233, 0.0000017442, -0.0162801631, -0.0301893838, -0.0375073925, 0.0147270476, -0.0309189372, 0.0146136452, -0.0154280663, 0.00008685, -0.0587735102, -0.0158211514, -0.0549685881, 0.0384644903, 0.0049943612, -0.0201620124, -0.009424394, 0.0065517421, -0.0568681695, -0.016650388, -0.0027231791, -0.0433868356, 0.0269146878, 0.0454815812, -0.0178837571, -0.0242562462, 0.0036194371, -0.0156275295, -0.0167507045, -0.0313708484, 0.0151425581, 0.0043622595, 0.0575923547, -0.0246634725, 0.0376604535, 0.0159546472, 0.0472444445, 0.0334599726, -0.0056838123, 0.0792285278, 0.0524529032, -0.0489596352, 0.0067101968, -0.0385105908, -0.0128006879, -0.016835453, 0.0223889034, -0.0198231116, -0.0222201031, 0.0395086408, 0.0688925013, 0.0289057679, 0.0411708914, -0.005176241, 0.0025935336, -0.057820674, -0.0114675518, 0.0104140937, -0.0642318875, 0.0240780152, 0.001191161, -0.0148625225, 0.0226729773, 0.0299061928, 0.0541511923, 0.0009897758, -0.0425730273, 0.0206042547, -0.0030125172, 0.003522417, 0.0166692156, 0.0125980955, -0.0017561376, -0.0094296811, 0.0271335207, 0.0017830483, 0.0147601375, -0.0458571352, 0.013964626, 0.0028284204, 0.0048866589, -0.0622529238, 0.0190910883, 0.0007675589, -0.0106037473, -0.0222715959, 0.0149222901, -0.0779097527, 0.0391012542, 0.0079314038, -0.0192714836, -0.0259757377, -0.0259343963, -0.0382582396, 0.0206858609, -0.0367207639, 0.0295630284, 0.0511773638, -0.0069241598, 0.016482817, -0.0117362486, -0.0207718443, 0.0249454621, 0.0579913594, 0.0111748576, -0.0418660045, -0.0130625684, 0.0039367941, -0.0114035336, 0.0212205797, -0.0456675887, -0.02714964, 0.031715624, -0.0204240065, -0.0877260938, -0.0191587321, 0.0001461971, -0.0871224031, 0.0336124972, -0.0379768237, -0.0005989136, 0.1193049252, 0.0043119574, 0.03041525, 0.0070868977, 0.0515735075, 0.0244012475, 0.0706679076, 0.0142842373, -0.0148295239, 0.0073213242, 0.017642241, 0.0168117844, -0.0298422985, 0.0197493602, -0.0108441999, -0.0321244039, 0.0036211435, 0.0285340045, 0.0211677514, -0.0329887047, 0.0397300087, 0.0718782991, -0.0672004595, -0.0082734032, 0.0141736893, 0.0404736958, -0.0776688457, -0.0249560028, -0.0197170284, -0.0377512909, 0.0031264469, -0.0188287906, 0.02633637, 0.0268326569, -0.0010760748, -0.0130487029, -0.0205825809, 0.0404842868, 0.010150305, -0.0047564674, 0.0114595704, -0.0365242697, -0.0096979067, 0.0707577243, 0.045868706, 0.0368804671, 0.0237163045, -0.0175351314, 0.0231022481, 0.0529503673, -0.0091611473, 0.0371373333, 0.088441439, -0.0224020928, 0.0289408676, 0.0346962549, 0.0163992513, 0.0015316341, -0.0181113947, -0.0222302154, 0.0128061241, 0.0479807295, 0.0428388193, 0.0279724523, 0.0206440184, 0.0181739591, 0.0189409107, -0.038882006, -0.0303043276, -0.0305855703, 0.0298172943, -0.0222864579, -0.0541888364, 0.007542544, -0.0471273661, 0.0114896251, -0.0206816718, -0.0377092436, 0.0185377765, -0.0174659714, -0.0077389204, 0.00003422, 0.0361572504, 0.0557424389, 0.0141482409, -0.0247664731, -0.034078978, -0.0057178461, 0.0076740799, -0.0301461462, 0.021692602, -0.0080690272, 0.0450380072, -0.006364658, -0.0059062182, -0.0102054095, 0.0359164029, -0.0416692235, 0.0814934224, -0.0437438264, 0.0284947604, 0.0241191648, -0.0184362568, 0.0155120306, 0.0278534032, 0.0010620633, -0.0107997293, -0.0272053611, 0.0213594437, -0.0149692697, -0.0036775125, -0.0004576138, 0.0227679927, -0.0873817503, -0.0016507757, -0.0076873912, -0.0020827006, 0.0055132704, -0.0165291615, -0.0370182544, -0.0077156723, 0.020778425, -0.0583632775, -0.0636586919, -0.0073019918, 0.0275183376, -0.0426762588, -0.0430129878, -0.0136237508, -0.0242389962, -0.0477742404, 0.0609726384, -0.0136715602, -0.0182631034, 0.0409271009, -0.028432725, -0.023364611, -0.0398320705, 0.0439049117, 0.0042897831, -0.0010365323, 0.0606451929, 0.0408266112, -0.005890029, 0.0096865054, 0.0166730564, -0.008948382, -0.0415422134, -0.0163575448, -0.0102863461, -0.0296082776, 0.0189496055, 0.0086206608, -0.0805030018, 0.0007270296, 0.0515546501, -0.0002628493, 0.0029626237, 0.0118654519, 0.0864759088, -0.0662991256, 0.0102095371, -0.010708659, 0.0260912869, -0.027388528, 0.0956128016, -0.0465229228, 0.0069128913, 0.0093716728, -0.0403597578, 0.0238367897, 0.0724423379, 0.0104051949, 0.007613509, 0.042288553, 0.0128831267, 0.0444697663, 0.0242439546, -0.0965789407, 0.0225656498, -0.0352545083, -0.0322444625, -0.0244699493, 0.0415717587, -0.0213721432, 0.0086636832, 0.0652285665, -0.0471548252, 0.0050672125, 0.0060109003, -0.0620400384, 0.0266778264, 0.0066710818, -0.0313120112, 0.0648751482, 0.0783414021, -0.0201585051, -0.0208514277, 0.0369010977, -0.0155404462, -0.033846084, 0.0464891568, 0.0312904902, 0.0756960884, 0.01512885, 0.0796615779, -0.1242657974, -0.023379501, -0.0091929911, 0.0751988217, 0.041913446, 0.0082457382, 0.0033914172, -0.067159541, -0.0118891113, -0.0187136028, -0.0246504042, -0.0076466743, -0.0248947497, 0.0458540134, 0.0250811893, 0.0138482703, 0.0200967472, -0.0071810936, -0.003970562, 0.0408088975, 0.0184197817, -0.0764680654, 0.0361143425, 0.0143686747, -0.0088213617, -0.0382820554, -0.0621476881, -0.0103873257, -0.0603439435, 0.0016217957, -0.0260949191, -0.0450682193, 0.0313686505, -0.0106839631, 0.0412389338, -0.0013662856, -0.0233459249, -0.060591951, -0.0283072684, 0.00632504, 0.0453828499, -0.0311768148, -0.0201415345, 0.0034245015, -0.0418351665, 0.0533909313, -0.0169167388, 0.0654120967, 0.0007701946, 0.0061344625, -0.0510305017, -0.0124758873, 0.0002638929, -0.0538293123, -0.0286564119, -0.0135676032, -0.0143760704, 0.0202639829, 0.0018806277, -0.0521051325, -0.0050633554, 0.0103962962, -0.0065882052, 0.0132365376, 0.0067684622, -0.024579294, 0.060844291, 0.0311112944, 0.0167441014, 0.0465324931, 0.0214252286, 0.009663118, -0.0656369179, -0.000446176, -0.0035363911, -0.0655119196, 0.0117042996, -0.0168566145, -0.0512447804, -0.0263886023, -0.0570347421, -0.0110001294, 0.0446308665, 0.0237952508, 0.0038697806, 0.0292504709, -0.0424627364, -0.0553572476, 0.0109778102, -0.0317265801, -0.0056378539, 0.0167352315, -0.0054709199, 0.0425887592, 0.0076538846, -0.0551826544, 0.0207517967, -0.0099972943, -0.0392112508, 0.0652975217, -0.0108767292, 0.0216055866, -0.0146062328, -0.014630395, -0.0036325532, 0.0563308559, 0.0171816219, -0.0100859506, -0.0188384186, 0.0146671347, 0.0188030154, -0.0049942355, 0.0238736309, -0.0005266882, 0.0813724771, 0.0336925238, 0.028340416, -0.105439581, 0.0948636904, -0.0126457009, -0.0536112897, 0.0785588101, -0.0180677623, -0.007584332, -0.0255130827, -0.0628881603, 0.0108554848, 0.0209392868, 0.029027883, -0.0344713144, 0.0303513128, 0.0476821922, -0.0725066811, 0.0303780697, 0.0115686478, 0.045314908, -0.0318310037, -0.0605603606, -0.0083229151, 0.015531294, 0.0021558304, -0.0112133678, 0.0207334645, 0.0728724599, 0.0176499113, 0.0340134874, -0.003650968, -0.0228364859, 0.0130857723, -0.0168066602, -0.0434317514, 0.0160595514, 0.0216966104, -0.0256599449, 0.00166511, 0.0265992042, 0.0212145317, -0.0256388374, 0.0130355638, 0.0377033688, -0.0150046358, 0.0097599998, -0.0021889044, 0.004182959, -0.0993476436, -0.0049204072, 0.0109125506, -0.0309960414, 0.018704379, 0.0099406512, 0.0213660151, 0.0034831304, 0.0302708447, -0.0527501255, 0.0227247346, -0.0200950634, -0.0317090861, -0.0076089953, 0.0154705308, 0.0097753089, -0.0947448611, -0.0501868241, 0.026093293, -0.0203084871, 0.0389620215, -0.015320491, -0.0033138411, 0.0474959835, 0.0222284086, -0.0195506327, -0.0418346934, -0.0263862181, -0.0459037535, -0.0489782207, 0.0029796918, -6.33871737e-33, -0.0233072955, -0.1358639896, 0.0370736718, -0.0087709157, -0.0306272451, 0.0248611867, 0.0001699708, 0.0308051482, 0.0114620402, -0.0245747026, -0.0037061479, 0.0104616145, 0.0122887772, 0.0246565398, 0.0226325337, -0.0188344829, -0.0050627324, 0.0349002369, -0.0156310033, 0.0037801084, 0.0328175575, 0.0211550817, 0.0332241207, -0.0761875436, 0.0297479909, -0.0008539737, -0.025138475, 0.0100219278, 0.074301511, 0.0172145478, -0.0323529653, 0.0511215068, 0.0236599427, -0.054585807, 0.0028099827, -0.0095562385, -0.0789570585, 0.0211192369, 0.0411420017, 0.0117069939, 0.0661858693, -0.0275664739, 0.0344659686, 0.0258626547, -0.0099345809, 0.0360583514, 0.0354053788, 0.0063293325, -0.0452046841, 0.0223675594, -0.0718519315, 0.0067349649, -0.0248890482, 0.0597749315, 0.0268114153, -0.0517017804, 0.038523268, 0.0095287506, -0.0773400441, -0.0005792303, 0.0133515093, -0.0002969814, 0.0471108928, 0.0124012157, -0.0005435416, 0.0372065045, 0.0316092111, 0.0067047775, -0.011047747, -0.0010872845, 0.0788297132, 0.0341658853, -0.0806622133, 0.0417178534, -0.0254490431, -0.0472042821, 0.0079670446, -0.0248213634, 0.0103676431, -0.0747758821, 0.0237560347, -0.0108028995, -0.0475793555, -0.0332907513, -0.0351054072, -0.0839977562, -0.0215825848, -0.0167564359, -0.0030404986, 0.0053435308, -0.0437604114, 0.0980598405, -0.004320262, -0.04200444, -0.0867288932, -0.0303589962, -0.0029151628, -0.0071851485, -0.0114913583, 0.0527258031, -0.0315687843, -0.0117437597, -0.0427349433, 0.039239753, 0.0256770495, 0.0143905664, -0.0223355778, 0.0055622053, -0.0297189485, -0.016709486, 0.0434698127, -0.0119600417, -0.0346073918, -0.0345884524, 0.0243856367, 0.0016293136, 0.0184558816, 0.0042359754, 0.0725329146, 0.0517775007, 0.0576566607, 0.0089356955, -0.0549515076, 0.0587219782, -0.023387678, -0.0114654573, 0.019893663, -0.0161515716, 0.0423496999, -0.0416154414, -0.0109718014, -0.073219493, 2.349e-7, 0.0034659489, 0.0720954016, -0.0207375586, -0.0147909038, -0.0157033857, 0.0087371171, 0.0689078197, 0.0296361241, -0.0411002077, -0.0250417199, -0.0105549647, 0.0046186298, 0.0251092538, 0.0367180482, -0.0968798697, 0.0258917436, -0.0846395716, 0.0266536828, -0.100804925, 0.0127282506, -0.0275710374, 0.0494814068, 0.033583574, -0.0189011544, -0.0345596857, -0.0232510902, -0.0344280638, -0.0739923418, 0.0094217164, 0.0414395221, 0.0091460757, 0.0088702058, 0.0041611814, -0.0675823763, -0.0107801398, 0.0179290678, 0.0474343374, 0.0051182923, 0.0219694693, 0.0031864899, -0.0067545264, -0.0813045725, 0.0195467938, -0.0620555766, 0.0358314291, -0.0002418201, -0.0169641953, -0.0185000747, -0.0036259, -0.0113345673, 0.0287566204, -0.0122978417, -0.0412981287, -0.0007461078, 0.0012537281, 0.0004304364, 0.0134325605, -0.0886751413, 0.0568246134, 0.0291930214, 0.0076169483, 0.0324865356, 0.0165265314, -0.0500521846, -0.0223480035, 0.0081990594, -0.0072043692, 1.753181751e-34, -0.0278175343, 0.0137422923, -0.0425241925, 0.0076015075, 0.0515474491, -0.002406016, 0.0117662223, -0.022731794, -0.0240518451, -0.0121500893, 0.0195781589 ]
http://arxiv.org/abs/2310.15298v2
http://arxiv.org/pdf/2310.15298v2
TaskDiff: A Similarity Metric for Task-Oriented Conversations
2023-10-23T19:03:35
2023-10-25T06:10:07
Ankita Bhaumik, Praveen Venkateswaran, Yara Rizk, Vatche Isahagian
cs.CL
cs.CL, cs.AI
The popularity of conversational digital assistants has resulted in the availability of large amounts of conversational data which can be utilized for improved user experience and personalized response generation. Building these assistants using popular large language models like ChatGPT also require additional emphasis on prompt engineering and evaluation methods. Textual similarity metrics are a key ingredient for such analysis and evaluations. While many similarity metrics have been proposed in the literature, they have not proven effective for task-oriented conversations as they do not take advantage of unique conversational features. To address this gap, we present TaskDiff, a novel conversational similarity metric that utilizes different dialogue components (utterances, intents, and slots) and their distributions to compute similarity. Extensive experimental evaluation of TaskDiff on a benchmark dataset demonstrates its superior performance and improved robustness over other related approaches.
[ 0.0567492545, 0.0211998709, -0.0386907011, 0.006745717, -0.0666243657, 0.001533609, 0.0189354848, -0.0093789948, 0.0041703293, -0.032318823, -0.0460604988, -0.0269243028, 0.004386222, 0.0382671468, -0.0112408632, -0.044526659, 0.0153419673, 0.0101233134, 0.0227680635, 0.0310876314, 0.0369600877, 0.0161881, -0.0291132294, 0.089117676, 0.0013829324, -0.0441242047, -0.0274371896, 0.0145074083, 0.0341893658, -0.0128095457, 0.0371720046, 0.0311723482, -0.0012627236, 0.0431173407, 0.0000018826, -0.0617175139, -0.0089292126, -0.0369702131, -0.0184575059, -0.037544433, 0.0439036489, 0.063265793, 0.0059278994, 0.0480839759, -0.0340334624, -0.0039557978, 0.0507740118, 0.0501151457, 0.0455583259, 0.0637478083, -0.0280070584, 0.032977473, -0.0019610617, -0.002455275, 0.0302556977, -0.0319240168, -0.0331363082, 0.0379472077, 0.0117576206, 0.0321774706, 0.0370615423, 0.0058665993, -0.0023947116, -0.0199322235, 0.0000176478, 0.0200016145, -0.0136523163, -0.0018146599, -0.0248144977, 0.0847282112, -0.0101462658, -0.0335236862, 0.0118710548, -0.0115028657, 0.0034288531, -0.0102148494, -0.0618824512, -0.0184990522, -0.0220492948, 0.0081376778, 0.0011392197, 0.0692719147, -0.021630479, -0.008984074, 0.0213755704, 0.0115517788, 0.0276729874, -0.0377840884, -0.0241593197, -0.0232504494, 0.0134116979, -0.0706660599, 0.0161752235, 0.0000569429, -0.0870603397, -0.0070665921, -0.0515484437, -0.042269662, 0.0365348831, -0.0262121856, 0.0345036276, 0.050122302, -0.0250403248, 0.039735131, 0.0226834323, 0.0735675171, 0.0259357132, -0.0121562714, -0.0634444132, -0.0300940685, -0.0965297222, 0.001318088, -0.031282533, 0.00967653, -0.0168363228, -0.0496218838, -0.0142388949, 0.0612309091, -0.0157680102, 0.0118404357, 0.035769619, 0.0172371697, -0.0340989754, 0.0099730436, -0.0187568367, -0.0219737776, -0.0638902485, 0.0317934081, 0.014822823, -0.0407887921, -0.0001131828, 0.0413543768, 0.0236497335, -0.0068466878, -0.0416254066, 0.0154058915, -0.0223517846, -0.0426542088, 0.0178045556, -0.0269217882, -0.0330076106, -0.0514033884, -0.0609177127, -0.0558258295, 0.0548905395, -0.0173069313, -0.0186892673, 0.0089951148, 0.0036274069, 0.0350007042, 0.0198874976, 0.062962763, -0.0013822174, 0.0473170206, 0.0375198796, 0.0248795152, -0.0490202755, 0.0199893173, -0.0094514247, 0.0210175142, 0.072117053, 0.0270273201, -0.0074080555, 0.0104228323, -0.0283776876, 0.0036030153, 0.0358405039, 0.0343910418, 0.0167391058, 0.0145364162, 0.0055097477, 0.0379259437, -0.0279850345, -0.0089816544, 0.088346839, 0.0763557926, 0.011813581, 0.0111320885, 0.0249916539, 0.0780167505, -0.0279772207, 0.0171094928, -0.0181851387, 0.006545742, -0.0013147161, -0.0108867381, 0.0669879615, 0.0138964774, -0.0495614856, -0.0151273524, 0.0252876859, -0.0211583879, 0.0185823869, -0.0274295416, -0.0285761487, -0.0027875451, -0.0377394743, 0.0243331678, -0.000340936, -0.0615063272, -0.0582074597, -0.0294782761, 0.0335134454, 0.0643841699, 0.0576844178, -0.0447052643, -0.0656610131, -0.0124277622, 0.0112218242, 0.0100679798, 0.0345353484, -0.0202742573, 0.0328885689, -0.0466720238, -0.0058050957, -0.0119830882, -0.0038747662, -0.0039998125, -0.0059712832, 0.0214643646, 0.0401092358, -0.032739751, -0.0036080128, 0.0035694616, 0.0015308926, 0.002012453, 0.0442069806, 0.0281569511, 0.0336459205, 0.0539242327, 0.0086417319, 0.0131713962, 0.0047565382, -0.0336478092, -0.0163926557, 0.0434350371, -0.0529096462, -0.0293741189, 0.0383086614, -0.0393283889, 0.0223415866, 0.0497840159, -0.0040885168, -0.0466613472, -0.005481692, -0.0416262783, 0.0231160074, -0.0432802886, 0.0447643027, 0.0055465056, 0.0104797455, -0.0044588652, 0.0282572433, 0.0225887708, 0.0278027635, 0.0145484954, 0.0276833288, 0.0343164653, -0.0413895063, -0.0012917953, -0.0074218703, -0.0126883192, 0.0067200386, 0.0450242311, 0.0136427442, -0.0573336594, -0.0428377315, -0.1488154978, 0.0247418173, -0.0339073129, 0.0224232078, 0.0452884734, 0.0576867945, -0.0188617334, -0.0391540304, -0.0737048611, 0.0046923696, 0.035187304, 0.0049113641, 0.0408023819, 0.0017282276, -0.0178933442, -0.0604845546, 0.0281970594, 0.0137869539, 0.0271074716, -0.0120190978, 0.0041042971, -0.0396262221, 0.0297625884, -0.0187116042, 0.0052905078, -0.0215886068, -0.020381812, 0.0197116416, 0.0075109699, 0.0769394785, 0.0026355495, 0.0512425043, -0.0131148361, 0.0138068572, -0.0360450819, -0.0682036877, 0.008582375, -0.0260862354, -0.0011023756, -0.0067001246, -0.0456166938, 0.061496567, 0.0048883455, 0.01330062, 0.0105972122, -0.0529726073, -0.0055384859, 0.0064556012, 0.0025865526, -0.0124228643, -0.0159112792, -0.0218129996, 0.0072111906, -0.0167596117, -0.0551171079, 0.053158287, -0.0495020486, 0.0120068444, -0.0790737197, -0.0475313328, -0.0337558985, 0.0950499177, -0.0431416705, 0.0212144237, 0.0282513555, -0.021723913, -0.0192844607, 0.049083747, 0.0298642386, -0.0163351279, 0.0407085568, -0.0275057945, 0.0007142108, 0.0186316501, -0.0331903994, -0.053822998, -0.043675106, 0.000587398, -0.0022536807, 0.0227197669, -0.0199100766, -0.0581295751, 0.0067607621, -0.0323526338, 0.0390644521, -0.0068502035, -0.0118029211, -0.0266875848, 0.0485669114, 0.0568404533, 0.0214250106, -0.0468578599, 0.0131924665, 0.0779589415, 0.0295557454, 0.0162780322, -0.0228767935, -0.001408867, -0.0444872566, 0.0078131985, -0.042077262, -0.0201321039, 0.0343650728, 0.0746026635, 0.0117570907, -0.0248696711, 0.1462937444, 0.0497951843, -0.0581231005, 0.0043736892, -0.0361112207, 0.05216676, 0.0048969402, -0.0019355797, -0.052054774, -0.0529539399, 0.0104356576, 0.0220928136, -0.0264375564, -0.0344156139, -0.0095333327, -0.0784888044, 0.0033506684, -0.032276459, -0.0308059882, -0.030866446, -0.0323932208, 0.0369896814, 0.0101384036, -0.0098715844, -0.0327144861, 0.0027030034, -0.0155826127, -0.0053166775, -0.0163570847, -0.0132422075, 0.0368330553, -0.0381158106, 0.0645337477, 0.030131571, 0.067974411, 0.0642439052, -0.0062814308, -0.0293462705, -0.0052933577, -0.0122173503, 0.0259888843, 0.0462138057, -0.0105742477, 0.0127358371, -0.041111391, 0.0375145078, -0.0297625121, -0.0174844842, 0.0477840081, 0.0120087303, -0.0517352596, 0.0122139938, -0.0360767357, 0.0169407912, 0.0813734755, 0.1000317484, 0.0415764526, -0.0286418013, -0.0227555782, 0.0174280554, 0.0328219645, -0.0095565962, 0.0296238698, -0.0365906097, 0.0052870102, 0.0076823379, -0.086050652, -0.0586806424, -0.0166575462, -0.0171964578, -0.0162836462, -0.0039978186, 0.0097404551, -0.0124790864, -0.0416000113, -0.0037716434, -0.0064612203, 0.0532994531, -0.0445347838, -0.0253215134, 0.0071188789, -0.0210741721, -0.0223128349, 0.0063015129, -0.1273034215, -0.024333369, -0.0581245199, 0.0170436148, 0.0094741993, 0.011232459, -0.0213903505, -0.0042669773, -0.0277538523, 0.0074620466, -0.0392266698, -0.0196640342, 0.026640268, 0.027888637, 0.0020426649, 0.0467890464, -0.0416108705, 0.016883608, -0.025969293, 0.0473318584, 0.0028964488, -0.110744819, 0.009869419, 0.0158063509, 0.0328921229, 0.0418682396, -0.005510685, -0.028122263, 0.0281856786, -0.0089978948, -0.0193242021, -0.0454829894, -0.0004290735, -0.0125396252, -0.0011145484, 0.0098301051, 0.025532281, -0.0664546937, 0.0310477745, -0.0634493381, -0.0071593639, 0.0005312954, 0.0253023207, -0.0084935604, -0.0292909201, -0.0290099625, -0.0226312857, 0.038696114, 0.0089880498, -0.0109149413, 0.0802348256, 0.013853739, -0.0274234004, 0.0087220026, 0.0834616274, -0.0581959449, -0.0544021651, 0.0075800875, 0.0291917603, 0.0065525677, -0.0132818259, 0.0452108905, -0.0300815497, 0.0313784704, -0.0263287947, 0.0378943421, -0.0042810165, 0.0085763428, 0.0142479492, 0.0021026311, -0.0063419007, 0.0232567284, 0.0767105967, -0.0568657406, 0.0167469922, 0.0104857152, -0.0427485108, -0.0436828434, -0.0302639082, 0.0244789924, 0.0698802993, -0.0052655414, -0.0064430879, -0.0245692581, -0.0154581433, 0.0246608313, -0.0200983658, -0.0073086312, 0.0183509402, 0.066170685, 0.0576200001, -0.0376019478, -0.00040648, -0.0387137718, -0.0342237875, -0.0308802947, -0.0131064132, -0.0701369047, -5.446136959e-33, 0.0142600667, -0.0171589535, 0.0025501465, -0.0024890203, -0.0364540927, -0.0007449556, -0.0247882791, -0.0133158751, 0.0033207827, -0.0004429652, -0.0006848231, 0.0227329973, 0.0139435958, 0.0203603227, -0.0222580414, -0.0202304088, 0.0527626984, 0.0027616106, -0.0145498347, 0.0833510607, 0.0152319521, -0.0050002323, 0.0033177668, -0.0656593889, 0.0376481786, -0.0199593194, 0.0204470586, 0.00268383, 0.066131942, 0.0475106053, -0.0168130323, 0.0602175593, 0.0312399399, -0.0269064754, -0.0145744095, 0.0710200071, -0.0140484944, -0.0740410909, 0.0258721225, -0.0533781387, 0.0086731613, -0.0137191648, -0.0364254229, 0.0072068968, -0.0117333326, 0.00807063, 0.0254447348, -0.0053791851, 0.0190472733, 0.0088619562, -0.0627774373, 0.0142351678, -0.0521264412, -0.0687840357, -0.0164149124, 0.0964113623, 0.015011861, -0.0152998883, -0.0355723761, 0.06096204, -0.0462921597, 0.0042236596, 0.0167006273, -0.0100357868, 0.0097119175, 0.067107223, 0.033685796, 0.0039118659, -0.0204142649, -0.0035574574, -0.0376748443, 0.057739336, 0.0052624028, 0.0192006715, -0.0060708649, 0.0104189934, -0.0191903394, 0.0707474053, 0.0409224816, 0.0157617964, 0.0273446832, 0.0242268983, -0.0766142905, 0.0056188279, -0.0019639938, 0.0119513059, -0.0286170468, -0.0136709753, 0.059010338, 0.0000568665, 0.0037560703, -0.031532757, 0.003898195, -0.0339785293, 0.0349288508, 0.0166925788, -0.0427941717, 0.0021382994, -0.0096680177, -0.0118292449, -0.0284977239, -0.0158206671, 0.0593470372, 0.0313617997, 0.0293362457, -0.0014017863, -0.0041430518, -0.0156799816, -0.045962736, 0.0077599054, -0.0020749688, 0.0194497108, -0.073543936, 0.0319001414, 0.0136305159, 0.0076331673, -0.0307855848, 0.0758053437, 0.01572196, -0.0202032812, -0.04116676, -0.0497326516, 0.0119371312, -0.0266955793, -0.0122025991, 0.010295514, -0.0439618602, -0.0292070433, -0.01565836, -0.006060496, -0.0087043438, -0.0329338089, 2.493e-7, -0.0197091755, 0.0246054735, 0.0173926037, 0.0181635525, 0.0060127061, 0.0620372593, 0.018225193, 0.0596128739, -0.0025331124, 0.005219758, 0.0410452373, 0.0010308574, 0.0589358173, 0.011198123, -0.0749565437, -0.008782695, -0.0956004858, -0.0527696013, -0.0614746958, 0.0028564951, 0.1127619073, 0.0501289368, 0.0216141995, 0.0048136646, 0.0102841025, -0.0260161664, 0.0082719503, -0.0488802455, -0.0013784837, 0.0392106585, 0.0569844581, -0.0395709984, -0.0054893075, 0.0167067014, -0.0188399274, 0.0218718331, 0.044188939, 0.0385229699, 0.0125543335, -0.0508144014, -0.0399491563, 0.007655988, 0.0201366395, -0.0662740618, 0.0607914254, -0.0106543209, -0.0130749233, -0.0480671115, -0.0110465465, 0.0057998756, 0.0470187329, -0.0211679898, -0.0475074835, 0.0191324931, 0.0271472726, -0.0026952052, 0.0006024032, -0.0655582398, -0.0090505993, 0.0053978045, -0.0392893702, -0.0497428626, -0.0651145652, -0.0006469196, 0.011307315, -0.0359320976, 0.0513050966, 1.995401431e-34, 0.0053773173, 0.0341445878, 0.0113544716, 0.0100135645, 0.0124434233, -0.0019580249, -0.0002643888, 0.0093450835, 0.0306800064, -0.063846536, 0.0012525242 ]
http://arxiv.org/abs/2310.15296v2
http://arxiv.org/pdf/2310.15296v2
DeTiME: Diffusion-Enhanced Topic Modeling using Encoder-decoder based LLM
2023-10-23T19:03:04
2023-12-23T07:05:20
Weijie Xu, Wenxiang Hu, Fanyou Wu, Srinivasan Sengamedu
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
In the burgeoning field of natural language processing (NLP), Neural Topic Models (NTMs) , Large Language Models (LLMs) and Diffusion model have emerged as areas of significant research interest. Despite this, NTMs primarily utilize contextual embeddings from LLMs, which are not optimal for clustering or capable for topic based text generation. NTMs have never been combined with diffusion model for text generation. Our study addresses these gaps by introducing a novel framework named Diffusion-Enhanced Topic Modeling using Encoder-Decoder-based LLMs (DeTiME). DeTiME leverages Encoder-Decoder-based LLMs to produce highly clusterable embeddings that could generate topics that exhibit both superior clusterability and enhanced semantic coherence compared to existing methods. Additionally, by exploiting the power of diffusion model, our framework also provides the capability to do topic based text generation. This dual functionality allows users to efficiently produce highly clustered topics and topic based text generation simultaneously. DeTiME's potential extends to generating clustered embeddings as well. Notably, our proposed framework(both encoder-decoder based LLM and diffusion model) proves to be efficient to train and exhibits high adaptability to other LLMs and diffusion model, demonstrating its potential for a wide array of applications.
[ -0.0157200266, 0.0033890416, 0.0011582419, 0.033840362, 0.0015293187, -0.0161499716, 0.0124302134, 0.0025125076, -0.0224287137, -0.0248214081, 0.0068006823, -0.0176320039, -0.0088489056, 0.0321725234, 0.026580235, -0.0287925806, 0.0115096681, -0.0094641047, -0.0333120003, -0.0017742126, 0.0131021217, 0.0179336444, 0.0305853039, 0.0125919711, -0.0156282838, -0.011377248, -0.0412056036, -0.0007846428, 0.024578752, -0.0451013893, 0.006772046, 0.0352422409, 0.0876308605, -0.0102875149, 0.0000019176, -0.0039607012, -0.0147182466, -0.0212506484, 0.0400904343, -0.0019655137, 0.0673122257, -0.0631930679, 0.0265834294, 0.01918591, -0.0127262613, 0.0093152067, 0.0088410294, 0.0589585304, 0.0782241598, 0.0763870925, -0.0211895257, -0.0503483489, 0.0578188114, -0.0412520617, 0.0229080394, 0.0025143374, -0.0073269634, 0.062988691, -0.0063098222, 0.0552465133, -0.0505721904, 0.0040699011, 0.0227703452, -0.0108378362, 0.0776350647, 0.0628737137, 0.0335630588, -0.0175477695, -0.0107191512, 0.0651708841, 0.0045967, -0.0048212199, 0.0524356179, -0.0007544631, -0.0332549624, 0.0012297941, -0.0466828011, 0.0450860858, 0.0115190893, 0.0565283671, 0.0695355311, 0.0066674934, 0.0407473184, -0.007634609, 0.0213204511, 0.0206843521, 0.0404894873, -0.0038827716, -0.0720522329, 0.0184986535, -0.0045915279, -0.0410408601, 0.0301928055, 0.0475942567, -0.0050144494, 0.0012241298, -0.056163054, -0.0390564315, 0.0086354828, -0.0104608182, -0.0209761281, 0.0233620871, 0.0301811639, 0.0194773916, -0.0248380322, -0.0002766826, -0.0278492309, -0.0633525774, -0.0512882657, -0.0074436879, -0.0286618862, -0.0059359218, -0.024737617, 0.043815054, -0.0473817363, -0.0311544742, -0.0389725789, 0.0580319799, -0.0022798199, -0.0123582436, 0.0134649975, 0.0175246485, -0.0296767484, -0.0130129242, 0.0025646831, 0.0304285586, -0.0573812313, 0.0066089714, 0.0467180051, 0.060182184, -0.0144152138, 0.0455843136, 0.0327879153, -0.0017731052, -0.0299247019, 0.0087349769, -0.0329529084, -0.0088368934, -0.0561680533, -0.0326323733, -0.0192931239, 0.0040104073, 0.0168566126, -0.1048744842, 0.0296195857, 0.0061708819, -0.0163008366, -0.0375082493, 0.0170729533, 0.0320807397, -0.0207915101, 0.0169724282, -0.0470532998, -0.0035538166, 0.0780835301, 0.0280794315, 0.0274356157, 0.0653573349, 0.0084676472, 0.0567015782, 0.0187055394, 0.0116588548, -0.0211452805, -0.0283414666, 0.0193327256, 0.0188194625, -0.0076386281, -0.020910345, -0.0076178769, 0.0314411223, 0.0823378935, 0.0623530447, -0.0539736152, 0.0083174296, 0.044468198, 0.0611175261, -0.0007429868, 0.0172303375, 0.0436135158, 0.025981186, -0.0665375069, 0.0117618106, 0.0391759574, 0.0259326454, 0.0015537711, -0.003906138, 0.0785947815, 0.0347333141, -0.0511506498, -0.0315984115, 0.0142183881, -0.0371525064, 0.0390364788, -0.0594261922, 0.0356795155, 0.0281530712, -0.0209156517, 0.070446685, 0.0159640051, -0.0354123302, 0.060052976, -0.0111182472, 0.0489673391, 0.0680195391, 0.063867256, -0.0035188461, -0.0098289102, -0.0181449614, 0.0118061285, 0.0366381109, -0.0038722104, -0.0148427729, -0.0308759697, -0.0762960911, 0.0082335966, -0.0545192808, 0.0325220563, -0.0137982303, -0.0097288061, 0.0198355746, 0.0501864366, -0.0251020808, 0.0296629071, 0.0310028624, -0.0387995876, 0.0124907568, 0.01957413, -0.036273241, 0.0083665727, 0.0145285744, 0.0122558493, 0.009818092, 0.0277675781, -0.0566585772, -0.0397196785, -0.0265236162, -0.05565634, -0.1037129089, -0.004833376, -0.0512277707, 0.0139331315, -0.0193458237, -0.0464335792, -0.0395864733, 0.0274307337, -0.0430162773, 0.0039969012, -0.0573071614, 0.001527136, 0.0257367995, 0.0331531279, -0.0067842389, 0.0773661211, -0.0403979309, 0.000469176, 0.0184134096, 0.0349525586, -0.0149281966, -0.0331766047, 0.0032318828, -0.0170898717, 0.0143888164, 0.023822125, 0.0245077629, 0.0070659551, -0.0120710209, -0.0485084578, -0.0885067806, 0.0233676303, -0.0465881974, -0.0198507067, 0.0587035827, 0.00911103, 0.0386289693, 0.017215332, -0.0541782007, 0.0106097162, 0.0241157617, 0.0168785639, 0.054010734, -0.0446689948, -0.0097292485, -0.0344676822, -0.0150956847, 0.0120552164, 0.0594230592, -0.0232633147, 0.0040026531, -0.0779750496, 0.0476024188, -0.0131392777, -0.0575978234, -0.0296154544, 0.0204800889, 0.011306108, -0.0041172612, 0.1008036733, -0.0003945594, 0.0434230715, 0.0910867229, 0.0344844572, -0.0280933864, -0.0096908659, -0.0197623521, -0.0436093546, 0.0689365864, -0.0089357411, -0.0478575714, 0.026224209, 0.0650810823, 0.0239135586, -0.0202214047, -0.0353297703, -0.007063963, -0.0204407349, -0.0089950627, -0.052584935, -0.0278363023, 0.0088012982, -0.0119733429, -0.0439523347, -0.0542696044, 0.0484200902, -0.0278340075, 0.0191807058, -0.0373932309, -0.0489094518, -0.0532160923, 0.0011541365, 0.0113684852, 0.0168606974, -0.0265567191, -0.0162535626, -0.0176467765, 0.0364914499, -0.0255170409, -0.0033922491, 0.063275151, -0.0262442417, 0.0019257515, -0.0017529582, 0.0083693173, -0.0216568951, -0.0488975681, 0.0450002477, 0.0251990054, 0.0144401584, 0.0049532615, 0.005331004, 0.015983073, 0.0240874719, 0.0083644735, -0.0058497591, -0.012999923, -0.0309567899, 0.0888167396, 0.0698275268, -0.0408017449, -0.0223619994, -0.0426772945, 0.0200765487, 0.0704741105, 0.0075254464, -0.0160296652, -0.0450139381, 0.0183983929, -0.020127872, -0.0223264676, -0.0128925666, 0.0102161607, 0.0730257034, -0.0217422526, -0.0359848477, 0.1079066768, 0.026418997, -0.0509118736, 0.0018415035, -0.0066305152, 0.0706056282, -0.0059538046, -0.0104167266, -0.0375312194, -0.0196262691, -0.0140438387, 0.0190161057, 0.0439562574, -0.0288029034, 0.0038845346, -0.0418876745, 0.0272637922, 0.0375729129, -0.0094427187, -0.0321496502, -0.0850788429, -0.0460427478, 0.0170817748, 0.0159572344, 0.0029388992, 0.0084228078, 0.0065447506, 0.0091144796, -0.0209490471, -0.0665720478, -0.0370897092, -0.044565849, 0.0360218659, 0.0189141743, 0.0200007334, 0.0182301328, 0.0062991544, -0.0177462418, -0.0293133203, -0.012983324, -0.0028746242, 0.0199394599, -0.021977149, 0.0201854836, -0.003936782, 0.041424267, -0.0678248405, -0.0429502688, 0.0097950045, 0.0837948248, -0.0402015969, -0.0283073671, -0.0232453421, -0.0061716316, 0.0147780878, 0.0628493205, 0.0496039875, -0.0349875353, -0.0203831773, -0.0237871259, 0.0485537797, 0.0423106365, -0.0085787373, -0.0300894845, -0.00735095, -0.0392995998, -0.1049633175, -0.0483030789, -0.0067381319, 0.0110961003, -0.0163825471, 0.0132195214, 0.0408320539, -0.0891665071, -0.0662303939, 0.027043378, -0.035197068, -0.0342337564, -0.0254097618, -0.0189896747, 0.0498480164, -0.0325463451, 0.0092663728, -0.0064749052, -0.095451504, -0.070946008, -0.0512904115, -0.0137360506, 0.0006941032, 0.0312248338, -0.0210603494, -0.0448750332, 0.0725479499, 0.0119813383, -0.0098058637, 0.0441367067, -0.0416010097, 0.0080255037, -0.0019913928, 0.006020071, -0.0381059684, 0.0405645929, -0.0629941374, 0.0436371081, -0.0608161241, -0.0069107465, -0.0225800276, -0.0335554145, 0.0306841377, -0.0117491027, 0.0151560288, -0.0696188435, -0.0378181636, -0.039001938, -0.002575268, -0.0348282903, 0.0090232184, 0.0356315784, 0.0012721686, -0.0287760515, 0.0201556757, 0.0104712751, 0.0192057211, 0.0174144879, 0.0061919019, -0.0110384366, 0.0158329681, 0.0069500781, 0.007852518, -0.0247830562, -0.0196488015, -0.0524272658, 0.0156288128, -0.047670573, 0.0571230911, -0.0068962397, -0.0037954994, -0.0192194879, 0.0431898125, -0.0537178963, 0.0117445355, -0.0345780924, 0.008708003, 0.0564463735, 0.0203779079, 0.0568223521, -0.004019611, -0.0056395293, -0.027046496, 0.0701768845, -0.0020960437, -0.0376317687, 0.0268858094, 0.0261459276, -0.0312835462, 0.0192985088, 0.0755893365, -0.0165399816, -0.0165581889, 0.0135856876, -0.0143445628, -0.0288215578, -0.0127999932, 0.0074905325, 0.0156715829, -0.0039003617, 0.016581174, -0.0040322645, -0.0254895445, 0.0214818865, -0.0160152782, -0.0051470776, 0.0001543965, 0.0507929996, 0.0652035624, -0.0226172358, 0.0298707895, -0.0555901639, 0.0374088697, -0.020457074, -0.0440416783, -0.0369282365, -6.455398409e-33, -0.0273254365, -0.0594322309, 0.0338511243, -0.0479165539, -0.0504448526, 0.0099009359, -0.0773041546, 0.001085491, 0.0425414406, 0.0107296323, 0.0128368977, 0.0249081422, -0.0259733163, 0.060170617, -0.0228338148, 0.0016855983, 0.0702660605, -0.0056605036, -0.0094721867, 0.0448411554, 0.0479839332, 0.0226449687, -0.0085816756, 0.0159322117, -0.027422376, -0.0248929076, 0.0379915163, -0.0012448833, 0.0695277378, 0.0095928991, -0.0506752059, 0.0451021343, 0.0549762398, -0.0257183351, -0.0220093522, 0.0260471664, -0.0432399251, -0.0401357785, -0.0494984761, -0.0590683781, -0.024002796, -0.0668577626, 0.0530344397, 0.005862603, 0.0250418875, 0.0285179745, 0.0418880582, 0.0012108932, -0.0390311629, -0.0176773053, -0.0456293635, 0.0347622223, -0.0101603568, 0.015085564, -0.0121971499, -0.036070846, 0.0095563326, 0.0385334268, -0.0660931841, 0.0276731644, -0.0309643224, 0.0527658872, 0.0309904236, -0.0121105844, -0.0142936427, 0.0642517135, -0.0104434434, 0.0356629863, -0.0381696559, 0.0560757779, -0.0096227843, 0.0510110408, 0.0160689801, 0.0224807635, 0.0172777567, 0.0017206096, -0.0495899171, 0.0564719066, -0.0397362038, -0.016156517, 0.0573662668, 0.0357508473, 0.0012919091, -0.0456701554, -0.0238516629, 0.008346376, 0.007780639, -0.0430660397, 0.0081042247, 0.042578876, -0.0147759207, -0.0211979188, 0.0312162451, 0.0092429314, 0.0180246923, 0.0180664212, -0.0108401002, 0.0219029039, 0.0189638529, 0.0193429012, -0.0611489043, -0.0458111279, 0.029221708, -0.0133578777, -0.0146279046, 0.0107713742, -0.011641277, -0.0287335794, -0.024230592, 0.0147498082, -0.0248356089, -0.0021610463, -0.0330883078, 0.009683311, 0.0077195321, 0.0101192081, -0.0154464981, 0.0712687075, 0.0124599924, 0.0308819786, 0.004917576, -0.0533435978, -0.0027646627, 0.0518406071, -0.0194094516, 0.0438928418, -0.0400719047, 0.0511323996, 0.0789336786, -0.0629946738, -0.0215832554, -0.0136223687, 2.591e-7, 0.0318233781, 0.0479840897, 0.0042430386, -0.0097602913, 0.0291952137, 0.0280067716, -0.0157349855, 0.0379703082, -0.0070154821, -0.0567673296, 0.0205007829, 0.0697556064, 0.0048675509, 0.029395353, -0.0672788322, 0.0464928746, -0.0481236205, 0.022176329, -0.0260463152, -0.0320570469, 0.0164979193, 0.0641613603, -0.0004208013, 0.0139477132, 0.0135100177, 0.0157053154, 0.1073110178, -0.0077614137, -0.0545482635, 0.034815114, 0.0190688707, -0.0116994558, -0.0060926224, -0.0418710858, -0.0306443609, 0.0225051213, 0.0021083683, 0.0514944866, 0.0180307254, -0.0343832523, 0.0509562902, -0.0085410038, -0.0160130709, -0.0177623928, 0.037840914, -0.0428302139, -0.0216569602, -0.0187033154, -0.0485311486, 0.0170676243, 0.0276874583, -0.0209328625, -0.0368702337, 0.0099066496, -0.0060549174, 0.0091557903, -0.0022725451, -0.05328051, 0.0010549058, -0.0002124825, -0.0825552344, -0.0416581333, -0.0283540171, -0.0080494722, 0.032714773, -0.0101242149, 0.0231564716, 2.541683502e-34, 0.0448936336, -0.0193587895, -0.0255472511, 0.0164201744, 0.0174059346, -0.027282577, -0.0736429244, -0.0119349146, 0.000077559, -0.058643207, -0.012634892 ]
http://arxiv.org/abs/2310.15294v1
http://arxiv.org/pdf/2310.15294v1
Adaptive End-to-End Metric Learning for Zero-Shot Cross-Domain Slot Filling
2023-10-23T19:01:16
2023-10-23T19:01:16
Yuanjun Shi, Linzhi Wu, Minglai Shao
cs.CL
cs.CL
Recently slot filling has witnessed great development thanks to deep learning and the availability of large-scale annotated data. However, it poses a critical challenge to handle a novel domain whose samples are never seen during training. The recognition performance might be greatly degraded due to severe domain shifts. Most prior works deal with this problem in a two-pass pipeline manner based on metric learning. In practice, these dominant pipeline models may be limited in computational efficiency and generalization capacity because of non-parallel inference and context-free discrete label embeddings. To this end, we re-examine the typical metric-based methods, and propose a new adaptive end-to-end metric learning scheme for the challenging zero-shot slot filling. Considering simplicity, efficiency and generalizability, we present a cascade-style joint learning framework coupled with context-aware soft label representations and slot-level contrastive representation learning to mitigate the data and label shift problems effectively. Extensive experiments on public benchmarks demonstrate the superiority of the proposed approach over a series of competitive baselines.
[ -0.0110877883, 0.0316877589, 0.010171202, -0.0031227996, 0.0174488593, 0.035273727, 0.0327938572, 0.0055173682, -0.0115775168, -0.0613813028, -0.0190769602, -0.0324319042, -0.0189114381, 0.0080452198, 0.01984776, -0.0254405327, -0.0143421805, 0.0111583984, -0.01422003, 0.0212764554, -0.0572700761, 0.0030985544, -0.0481056124, 0.0340352133, 0.0014316887, -0.0292337667, -0.0111439545, 0.0293084905, 0.0280277282, -0.0300091337, 0.0175340008, 0.0264753141, 0.0233712737, 0.0417298414, 0.000002346, -0.0249427613, -0.0217441469, -0.0028301072, -0.0285350829, -0.0366675444, -0.0342732146, -0.0392241292, -0.0016344324, -0.021942215, 0.0012193599, -0.0970741585, 0.0704026893, 0.0174224805, 0.00582034, 0.0337980352, -0.019317586, -0.0379226878, -0.019888116, -0.0541197583, 0.0162918344, -0.0799703449, 0.0462101176, 0.0019524985, -0.039296262, -0.0226387382, -0.0406549871, 0.0262126233, 0.0164991822, -0.0133716445, 0.072089538, 0.0413465202, -0.0101322997, 0.004637416, 0.0005365928, 0.0881789625, -0.0493741184, 0.0081686247, 0.010787122, -0.0651587993, 0.0112391831, -0.0296044666, -0.0189392027, -0.034985356, 0.0101057123, -0.001867, -0.0833500028, 0.0191116501, 0.0325075537, -0.0428709276, -0.0014148435, -0.0311531927, -0.0130016804, -0.0012726415, -0.0265227966, 0.0239948314, -0.0187277161, -0.0662854016, -0.0093832798, 0.0012557812, -0.0112105627, 0.0013819761, -0.0199698508, -0.0111669991, 0.0016787405, 0.0044677719, 0.0584916286, 0.0202674996, -0.0534934066, 0.0654557273, -0.0529470034, 0.0336668603, -0.0292619374, 0.0293636732, -0.0285125412, 0.0171359982, -0.0416805744, -0.0185996573, -0.0246348791, 0.0095845619, 0.0355648287, -0.007110097, -0.0284453053, -0.001000443, -0.0256085247, 0.0069032772, 0.0469918624, 0.0177915506, -0.0329825804, -0.0132490639, -0.0256569646, 0.0730333924, -0.0099256998, 0.0325802602, -0.0208130479, 0.03152325, -0.0187503304, 0.0278383326, -0.0031048916, -0.0320749879, -0.0010642994, 0.0680225194, -0.005540336, -0.0149793504, -0.0521036759, 0.0262091327, -0.0165573806, -0.0640173405, 0.0358634479, -0.0287192762, 0.0226902179, -0.0010672582, 0.0464588553, -0.0313267894, 0.0029569732, -0.0146756712, -0.0010177405, 0.0820521712, 0.0214579962, -0.0356883444, 0.0012567423, -0.0136039928, -0.0378638245, 0.0831663385, 0.0207357891, 0.0152734676, -0.0242312234, 0.0240067728, -0.0098384237, -0.0003292862, 0.0168472584, 0.0079238592, 0.0192975011, -0.0093005644, 0.0755427927, 0.0528988391, 0.0609012023, -0.0636291206, -0.031883195, -0.0523271523, -0.0187380947, -0.0283537004, 0.0813438669, -0.048086267, 0.0819834545, -0.0150435986, -0.0564590469, -0.0208622348, -0.006263576, 0.0559577607, 0.0851196721, -0.0096817017, 0.0167375803, 0.0022503377, -0.0365238562, -0.0139107658, 0.0316468142, -0.0253029317, -0.0120904325, -0.0183824338, 0.0920587927, 0.0029435821, -0.0207200516, 0.0479370244, 0.034315899, 0.0470443331, -0.0189324021, -0.0110732652, -0.0344883427, 0.0057467036, -0.0190918949, -0.0606961846, -0.0516861826, -0.0244481303, 0.0408605933, -0.0146746356, 0.0263889618, 0.0058031683, 0.0488547795, -0.0336313322, -0.0634018332, -0.0154066896, 0.0118751861, 0.0456984118, -0.013524428, 0.0208607707, 0.0390595086, -0.0338017456, 0.0754205734, 0.0078346124, -0.0135660795, -0.0287683271, 0.0792451724, 0.056979049, 0.0076314691, 0.0035055149, -0.0002424695, -0.0408180095, -0.0033333343, -0.0312608443, -0.0388170332, -0.0405302085, -0.0515482798, 0.0060334527, 0.0564114824, -0.0223387424, -0.0052711619, -0.0392198861, -0.0399445295, -0.0096310731, 0.0254265256, 0.0466454104, -0.0073107569, -0.0228142776, 0.0029452785, 0.01630597, 0.0059221168, -0.0216814093, 0.062399175, 0.0411778279, -0.0018835636, -0.0000730046, -0.0072470591, 0.0336348601, -0.024465967, 0.0043872953, -0.0193797369, -0.033549957, 0.0130372876, -0.0197097454, -0.0061962851, -0.0291613489, -0.0095484182, -0.0284645576, 0.0198519304, 0.0237016939, -0.0018928281, -0.0121722445, 0.0020584159, 0.0235689972, -0.0312333722, -0.0261507556, -0.0263924245, -0.0599036999, -0.0263928063, 0.0130595798, 0.0363886356, -0.0056565846, 0.0517658666, 0.0205771625, -0.0376573578, 0.025440665, -0.0430944785, -0.0315471962, -0.0169405788, 0.0094801662, 0.024816921, 0.0030441927, 0.0129432799, 0.0157297794, -0.0040031374, 0.0247719213, -0.0584326088, 0.0634020641, -0.0487691946, -0.020826688, 0.0087845484, -0.0240625702, -0.0175005868, 0.0151842125, 0.0025672987, 0.0026954471, -0.0258959811, 0.0614084378, -0.0210565329, 0.0150997257, -0.0438767038, 0.0047004339, -0.0696153045, 0.0085407626, -0.0069725215, -0.0287499893, -0.0516812354, 0.0199980438, 0.0002430048, -0.0239304341, -0.053182628, 0.0187239721, 0.0226795096, -0.0109340772, -0.0057414528, 0.003823664, 0.0084952749, -0.033168301, -0.0147187514, -0.0131362127, 0.0097503783, 0.0875811949, -0.0500824414, -0.0351775549, 0.0054233717, -0.0061421292, 0.0073459428, -0.0133611523, 0.0251319129, 0.0237714089, -0.0535385236, -0.0510045066, -0.0197627693, -0.0295576304, -0.0057029636, 0.0100870775, -0.0802945867, -0.0270138066, -0.0703815669, 0.0072764261, 0.0004776262, 0.0497893654, -0.0046422142, -0.0010449174, -0.008692353, 0.0587686673, 0.0098746363, 0.0088424729, -0.0718282238, -0.0061104945, 0.0008203236, 0.0357862189, -0.0130530754, 0.0455408953, -0.0366793461, 0.0492423438, 0.0227323193, 0.0224629864, -0.0005175063, 0.0019878866, 0.0327578075, -0.0143245393, 0.0163262822, 0.0484923646, 0.0009239644, -0.0678464621, -0.0314362906, 0.0334373266, -0.0105813928, 0.0139413625, 0.0085788062, -0.1272792816, -0.0577206239, 0.0350584574, 0.0264422204, -0.0045083617, -0.01800129, -0.0044527086, -0.0981672332, 0.0359907635, 0.0102144908, -0.0658731982, -0.0011104089, -0.0226471182, 0.0363136493, 0.0280886404, -0.025755072, -0.028197173, 0.0047136764, -0.0430611596, 0.0452272594, 0.0587148964, -0.0262855086, -0.0171559248, -0.0255969837, 0.028914392, -0.0156671777, 0.0435728841, 0.0376275517, 0.0149123715, -0.0062755314, -0.0334763229, -0.0104060173, -0.0186214894, 0.0622342862, -0.0344584733, -0.0435362756, 0.0667411759, 0.026421085, -0.0353389308, -0.0191171933, -0.0295672882, 0.0658812746, 0.0292659737, 0.0530675054, -0.0203556642, -0.0518812202, 0.0379358009, 0.0148785729, 0.0207338929, -0.0303906072, 0.0102378828, 0.0061152754, 0.0268829819, -0.0344566144, 0.0038781101, -0.0008327993, -0.0178816244, -0.0929128751, 0.0114029413, 0.0377961956, 0.0334055386, 0.071057491, 0.0155441025, -0.0272243898, -0.0222057719, -0.0005709172, -0.063741453, -0.0159215946, -0.0505608097, 0.0400422402, -0.0365034156, -0.0067164009, 0.0369348936, -0.0168317035, -0.0532171242, 0.0096128499, -0.0784973279, -0.0182200186, -0.017572118, 0.0115308259, 0.0040943236, -0.0067716641, -0.0273787566, -0.0063331458, 0.0710306764, 0.1039633378, -0.0243601147, 0.0174939819, 0.0450419709, -0.0516230613, -0.0111025702, 0.009424611, -0.051922407, 0.0123737035, 0.0458188765, -0.0200079959, -0.0041390229, 0.0213669967, 0.0002864899, -0.0557422005, 0.0615073517, 0.0061756228, -0.0036798157, -0.0255129132, 0.0429330133, 0.0031853314, -0.0084610796, -0.0362875983, -0.0389120765, 0.0170959588, 0.0065260869, 0.0025882693, -0.0205328148, 0.0498345569, 0.0565741062, -0.0280726124, -0.0257170033, 0.0638655052, 0.0357629135, -0.0162257105, 0.0212246962, 0.0234554578, -0.0131113138, 0.0513316281, 0.024841236, -0.0165122375, 0.0072212825, 0.0440856554, 0.0392572619, -0.0307940822, 0.0302235559, 0.011793172, -0.0015977785, -0.0386126041, -0.0168572478, 0.0457117334, -0.0066515543, -0.0198742803, 0.0293723214, -0.0264522135, -0.0232211761, 0.0240706895, -0.0017592966, 0.0161838457, -0.0075019379, 0.0203547869, 0.0151770683, 0.0268011838, 0.0672625676, -0.0028619701, 0.0266694687, -0.0074388296, 0.0390119813, -0.0222070329, 0.0130791664, 0.0355731435, 0.043195609, -0.0005027817, -0.0041880747, -0.0354284048, -0.045952294, -0.0207617525, -0.0531739742, -0.0314049572, 0.065192312, -0.0272444841, 0.0027385082, 0.0181523077, -0.0335569531, -0.022296153, -0.0395011492, 0.0254375804, 0.0083719809, -0.0098691275, -6.229679249e-33, -0.0191293582, 0.0058023748, -0.0150122307, -0.034610685, -0.0298674107, 0.0406244472, 0.027663948, -0.013428377, 0.0094564259, 0.0041034608, 0.0032629964, -0.016226951, 0.0228069369, -0.0056625521, 0.0191262793, 0.0017178354, 0.0482341237, -0.0306764711, -0.0039169583, 0.0190854277, 0.0192567464, 0.0434192047, 0.0203186199, -0.0858863965, -0.0185647905, 0.063055031, -0.015139333, 0.0251592323, 0.068972744, 0.0296077523, -0.0138076786, 0.0072514061, -0.010953784, -0.0730454102, 0.0042329114, 0.026942946, -0.1180863678, -0.0082234675, -0.0461229645, 0.0515473671, 0.0524454303, -0.0422123075, 0.0072255288, 0.0502206832, 0.0369525142, -0.0775604993, 0.0068921745, -0.0257561728, -0.0070343763, -0.0427400284, -0.0286294576, 0.0341993831, -0.0354519896, -0.0439624228, 0.0255078766, 0.0285994131, 0.0406214632, 0.0426786765, -0.0881255865, 0.0174479838, -0.0634769872, 0.0130855506, 0.0100071998, 0.049649559, 0.0330994017, 0.062686719, 0.0529201552, 0.0102287456, 0.0416508354, -0.0310174767, 0.027139714, -0.0037695642, -0.035590101, 0.0181500129, 0.1140224189, -0.0029420876, -0.0684755147, 0.0081620431, -0.0650673732, 0.0187125448, -0.0083771665, 0.0447930656, -0.0305968393, -0.0197112802, 0.0049429634, -0.0706303492, -0.0285704751, -0.0207729004, 0.0135905491, 0.0345383584, -0.0493161641, 0.0532321557, 0.0488219857, -0.0382412784, -0.0237490702, -0.0267553423, 0.0228285193, 0.0533200093, 0.0141385673, -0.0281255227, -0.0298113469, -0.0663928241, 0.0507638082, 0.059940692, 0.0475493558, -0.0108585749, 0.0478238873, 0.032792531, -0.0433035418, -0.0188219547, -0.0462795347, -0.0016587563, 0.0278891306, 0.0545121171, -0.0067369845, 0.0083619412, -0.0064618243, 0.0905428976, 0.0184678417, -0.0271503273, 0.0260612648, 0.0126110259, 0.004869794, 0.0237826016, -0.0182585828, -0.0153829698, -0.0003111755, -0.0092899203, 0.0649384037, -0.0610271357, -0.005150585, -0.0143829165, 3.078e-7, 0.0033388902, -0.0107911872, -0.0014552571, -0.0399727896, 0.0010953142, 0.0644172877, -0.010205674, 0.0444876626, 0.0382580534, 0.0122530023, 0.0321215764, 0.0141495978, 0.0047670119, 0.0255781468, -0.1362514645, 0.0926363319, 0.0200117324, 0.0443855934, -0.0542465188, 0.026454905, 0.0003915628, 0.0957548544, 0.0362903625, -0.0182878971, 0.0533867851, -0.0429430343, 0.0293123778, 0.024915522, 0.0628804043, -0.0205974579, 0.0112654138, 0.0383818224, -0.0083980411, 0.0628654584, -0.0053899572, 0.0221789498, 0.0389822349, -0.0291908216, 0.0001145105, -0.0377460159, -0.0046539311, 0.0383326858, 0.0240600687, -0.0343553796, 0.0644897595, -0.1228520647, -0.0411457904, -0.0460004993, -0.0744990557, -0.0133162076, 0.0182374287, 0.0373629145, 0.0209938213, 0.0229614861, 0.0291774571, -0.0146405557, 0.0063488735, -0.0616007, -0.01336521, -0.0210607853, -0.0187073182, 0.0182469357, 0.0084889699, -0.0565775484, 0.0090584494, -0.0179621652, -0.002819834, 2.611215371e-34, 0.0109183965, -0.0114621092, 0.0323470943, 0.0193455163, -0.0036308831, -0.0019744716, -0.0351016819, -0.0211267881, 0.0261305813, -0.0172427408, 0.0033965246 ]
http://arxiv.org/abs/2310.15285v1
http://arxiv.org/pdf/2310.15285v1
On the Dimensionality of Sentence Embeddings
2023-10-23T18:51:00
2023-10-23T18:51:00
Hongwei Wang, Hongming Zhang, Dong Yu
cs.CL
cs.CL
Learning sentence embeddings is a fundamental problem in natural language processing. While existing research primarily focuses on enhancing the quality of sentence embeddings, the exploration of sentence embedding dimensions is limited. Here we present a comprehensive and empirical analysis of the dimensionality of sentence embeddings. First, we demonstrate that the optimal dimension of sentence embeddings is usually smaller than the default value. Subsequently, to compress the dimension of sentence embeddings with minimum performance degradation, we identify two components contributing to the overall performance loss: the encoder's performance loss and the pooler's performance loss. Therefore, we propose a two-step training method for sentence representation learning models, wherein the encoder and the pooler are optimized separately to mitigate the overall performance loss in low-dimension scenarios. Experimental results on seven STS tasks and seven sentence classification tasks demonstrate that our method significantly improves the performance of low-dimensional sentence embeddings.
[ 0.0082539637, 0.0150325596, -0.0053751562, 0.0568031967, -0.0279426165, 0.025926223, 0.0116515141, -0.0320570581, -0.0076831118, -0.0695999786, 0.0027685489, -0.0340394862, 0.0157319661, 0.0082345782, 0.0164593346, -0.043372944, 0.029435819, 0.03926998, -0.0007069648, 0.0213474911, 0.018581938, 0.0042766114, 0.004407844, 0.0284619704, -0.0258381367, -0.0180249289, 0.0091147721, -0.0250275154, 0.0206046328, -0.0446085893, 0.051517535, 0.0278185364, 0.0801928267, 0.0034470265, 0.0000016666, 0.0112596108, 0.0326162279, -0.0416110344, -0.0052426145, 0.0310916714, 0.0188184716, -0.0723660812, 0.0265878774, 0.0127300266, -0.0154075511, -0.0103701428, 0.0203828868, 0.0684034675, 0.0377478227, 0.0789578855, -0.0075444966, -0.0369165055, -0.0004050027, -0.0297214035, -0.0256682206, -0.0050849551, 0.0131633701, -0.0359847732, -0.0160578582, 0.0373840816, -0.0332973115, 0.0076882718, 0.0169413164, 0.0381139182, 0.0644531697, 0.0424546786, -0.0121854814, 0.0276135392, 0.0102727897, 0.0658061653, 0.010377733, 0.0198284946, -0.0354768634, -0.004723384, 0.0080892509, -0.0133624356, -0.0419910401, -0.0078298589, 0.0491056181, 0.0550347157, -0.0386533141, 0.0527017787, 0.0148132537, 0.0039287605, -0.0170851182, 0.0167166349, -0.0000585674, -0.0708234012, -0.0241205022, 0.015431284, 0.0011745967, 0.0428126715, -0.0116839921, -0.0288069677, 0.0056366012, -0.0170294046, 0.0050470284, -0.0337825231, 0.020200517, -0.0861864015, 0.0315728039, 0.0055709006, 0.0087661734, 0.031690985, -0.0337284952, 0.0634998009, 0.0106913634, 0.0297485907, -0.0512276478, 0.0009837239, -0.043253243, -0.008226051, -0.0444647968, 0.057658799, -0.0229941849, -0.0768900886, -0.0570397973, 0.0162623078, 0.000638, 0.0061840112, -0.010922634, 0.0427586138, 0.0046491297, 0.0144443829, -0.0088478392, 0.0428462327, -0.0458448753, 0.0458803326, -0.0042887996, 0.003637203, -0.0567173958, 0.0098861065, 0.0520982631, -0.0252292193, 0.0000779326, 0.0416526459, 0.0168460049, -0.0691566914, -0.0076643848, 0.0104061477, -0.0377759151, -0.0456984937, -0.0203556195, -0.0372039899, 0.0488339551, -0.0136590106, 0.0076527828, -0.0341661982, 0.0020271048, 0.0278436672, -0.024082562, 0.0476700589, 0.0336705185, -0.0487288274, -0.035635341, 0.0206068568, 0.0474820994, 0.0664896443, 0.0337692983, 0.0301863812, 0.0127423368, -0.0136890197, -0.0068355263, -0.0193345007, -0.0133619336, 0.0025048344, -0.0040718196, -0.0014182334, 0.0173969083, 0.0621254668, 0.0244841166, -0.0062390151, -0.0421723016, -0.0147424061, 0.0262555629, 0.0652865395, 0.0310496595, 0.0197751801, 0.0357328318, 0.0187515132, -0.0335761569, 0.0093284724, -0.0386105403, 0.0160889383, 0.0233700331, -0.0041122651, 0.0349291787, 0.0052439985, -0.0546795428, -0.0058949948, -0.0085238637, -0.0443362519, 0.0172190201, -0.03011721, 0.027480267, 0.0013024092, -0.0432332791, 0.0548863225, 0.0237054918, -0.058219824, -0.0225134138, 0.0583649427, -0.0142880026, 0.0695775598, 0.0251696259, -0.0149302157, 0.0105867609, -0.0353454016, 0.0271819253, 0.03426921, 0.0200147107, -0.0081654135, 0.0485301204, -0.06029246, -0.0364022888, -0.0533312075, 0.0377385281, 0.0099974554, -0.0141283143, 0.0142607968, 0.0376630984, -0.031908825, 0.0089049973, 0.02780612, 0.0336093828, -0.0517572314, 0.0426194705, 0.037049558, 0.0269459896, 0.0067330166, -0.0013080717, 0.0174498279, 0.0158597138, -0.0754779875, -0.0601092316, -0.0128945243, -0.0770748854, -0.1059832349, -0.0124075208, -0.0629327595, 0.0020649645, 0.0446683802, -0.0732072592, -0.0038520026, 0.0202221517, -0.054785002, -0.0304695126, -0.0447346009, -0.0285187308, 0.0044764476, 0.0461377576, -0.0110935774, 0.0699508116, -0.026991047, 0.0373148806, -0.0393559225, 0.0067860316, 0.0509530418, -0.0426141284, -0.0213236026, -0.0428549126, -0.0035357077, 0.0382826813, 0.0216522999, -0.0267838482, -0.0092845978, -0.0160349626, -0.0475552753, 0.0085025216, -0.0077745887, 0.0235707853, -0.0154551081, 0.0040078629, 0.0223606322, -0.0310551524, -0.0325067639, -0.0216554627, -0.0356166661, 0.0456053838, 0.0622600503, -0.023051152, -0.0243045576, -0.0152872093, 0.0093642408, -0.0179726761, 0.0728342682, -0.0691879243, 0.0006094014, -0.0423507392, 0.0188940577, -0.0017586732, -0.02644144, 0.0172420982, -0.0391716957, -0.0083038984, 0.0021922959, 0.0202984251, 0.0422298871, 0.0228429418, 0.0662471503, 0.0452981815, 0.0493868031, -0.018875638, 0.0113883242, -0.0448306166, 0.0781482384, -0.027829431, 0.005820238, 0.0112557625, 0.0715576187, 0.0070469771, 0.0087734303, -0.0414842814, 0.0216323324, 0.0086863451, 0.027422512, -0.0511683077, -0.0163275916, -0.0223589633, -0.0305182822, -0.0244935323, -0.0041085659, 0.0383330919, -0.0252089947, -0.0028407548, -0.0684962049, -0.0321296938, -0.0194530264, 0.0169373266, 0.0100827385, 0.0184199959, -0.0005467266, -0.0040245322, -0.0147802373, 0.0160165541, 0.0300120357, 0.0193645786, -0.0043702316, 0.0457460321, -0.0056806831, -0.0423581302, -0.050107576, -0.0207967535, -0.0742574707, -0.0222731382, 0.0249379687, -0.0330207497, 0.0324325673, -0.0421566516, -0.0265383422, 0.0020001507, 0.0143671092, -0.0077250539, 0.0060906424, -0.0373366177, 0.0567672662, 0.0309695415, 0.013945017, -0.0206980724, 0.0022824223, 0.0568233877, 0.0494837388, -0.0069864066, 0.030058831, -0.042162355, 0.0081676664, -0.0124395881, -0.0202583335, 0.0080022048, 0.0362382419, 0.0303938147, -0.027824929, -0.0296789631, 0.110134095, 0.040791411, -0.0130167147, 0.0162037797, 0.0614687614, 0.0128749944, 0.0355685726, -0.0322623029, -0.0754895508, -0.0292439014, -0.0246424749, -0.0321513452, 0.0250941757, -0.0064358371, -0.0138130374, -0.081897378, -0.0005203817, 0.0172842965, -0.0019901919, -0.0572736003, -0.073741734, -0.029207876, 0.0195595678, 0.038721431, -0.0411302783, -0.009372361, -0.0240744818, 0.0161027107, -0.0517310724, -0.063139841, 0.0145422425, -0.0393491574, 0.0065782205, 0.0083578834, 0.0588287823, 0.0002417392, -0.0227122027, 0.0076350677, -0.0401298329, -0.0075617135, 0.0181241408, 0.0672028661, -0.0326112099, 0.0021512702, -0.0041596075, -0.0044868658, -0.0592610613, -0.0185971428, -0.0048815305, 0.1071239933, -0.0087129334, -0.0210503098, -0.0150481891, -0.0052952501, -0.0184258744, 0.0801801309, 0.0624977164, -0.028507961, -0.0415572673, -0.0063319127, 0.005282789, -0.0474218652, -0.0045307861, 0.0156104909, 0.057015758, 0.0273783412, -0.05165473, -0.08905074, 0.0077798059, 0.0037669933, -0.0282120649, 0.0297938399, -0.0230890214, -0.0113285892, -0.0072677312, 0.0045803515, -0.0293113403, 0.0299002901, 0.0369822495, 0.0305343121, 0.0079912441, 0.042013932, -0.0351949818, -0.0814531818, -0.0558343865, -0.0433737822, -0.0643747896, 0.0025561412, -0.0061392044, -0.0017754111, -0.0054186587, -0.0061687427, 0.0775057375, 0.0026934987, -0.0431317538, 0.0059481217, 0.0506560244, 0.0203723237, 0.0091313068, 0.0602932796, -0.0336371101, 0.0252760742, -0.0116185481, 0.0263244249, -0.0019623062, -0.0236901864, -0.0059322268, -0.0361695476, 0.0597823486, 0.0198911484, -0.0195240006, -0.021107886, 0.0112517606, -0.0544739626, -0.001366535, -0.0146251787, -0.0072248881, 0.0276765786, 0.0125386063, -0.0244195722, 0.0316130221, 0.0001360014, 0.0007446888, -0.0353773311, 0.0155802537, 0.0495770201, -0.0313575715, -0.0024149108, 0.0506978668, -0.062094029, -0.0201495886, -0.0368689224, -0.0230655819, -0.0042387657, -0.0070329905, 0.0027226151, 0.0096844872, -0.0713533387, 0.0212347154, -0.0689153373, 0.0465505235, 0.0083988449, 0.006030499, 0.0559076667, -0.0420363545, -0.0083045913, 0.0062446301, -0.0114607811, -0.0065782769, 0.0438303091, -0.0206840206, -0.027762549, 0.0360884219, 0.0080179544, -0.0520773195, -0.0193734653, 0.0754182786, 0.0229239408, 0.041886732, 0.0052804979, 0.01011944, -0.0525238439, -0.0128010642, -0.0062733404, 0.0763515085, -0.0077508059, 0.0457618944, -0.0288342535, -0.0350222513, 0.0289346129, -0.0373794995, 0.001603194, -0.0155198704, 0.0385619737, -0.0000079562, -0.0022796236, 0.0158652365, 0.0033976722, -0.0154253012, -0.0224777386, -0.0417134166, -0.0261786785, -5.465196498e-33, 0.0189312566, 0.0293721743, -0.0213697553, -0.0184787437, -0.0222090036, 0.0064288345, -0.0210655909, 0.0115355449, -0.0288495403, 0.0437701046, 0.0237803385, -0.0097726872, -0.0077425861, 0.0416565239, 0.0136813102, 0.0078579141, 0.0612579696, -0.0245867856, -0.0374147408, -0.0002188662, 0.0393317081, 0.03154286, 0.034811195, -0.0040424159, -0.0212843027, -0.0102263745, 0.0112448707, 0.0300550014, 0.0663895831, 0.0360420272, -0.0356438458, 0.0763598979, 0.044963479, -0.0285608955, -0.0163226742, 0.0751169026, -0.0538428761, -0.0643560961, -0.0412408337, 0.0053490447, -0.022643581, -0.0546027906, 0.0038186528, -0.0020081403, 0.0260612573, -0.0338055044, 0.037786752, -0.0124748619, -0.0422770679, 0.0035097825, -0.0795905665, 0.0018500579, -0.0141994096, -0.0018082919, 0.0431321934, 0.0392559282, 0.0241730586, 0.0171432626, -0.0188672207, -0.0186329465, -0.0590420291, 0.0475282334, -0.0397102609, -0.0257121176, -0.0363580771, 0.0803196281, -0.0038230012, -0.0233951453, -0.0487564467, -0.0018212334, 0.0075068949, 0.0155298719, 0.0558269769, 0.0608814843, 0.0246311761, -0.0217996761, -0.1083557308, 0.0076056998, 0.0208610948, 0.0258578118, 0.0600930601, 0.0070384978, -0.0465333946, -0.0358115099, -0.0068912455, 0.0135128284, -0.0154310204, -0.0210157968, 0.0503066592, 0.0408368185, 0.0292224437, -0.0140097262, 0.0232457723, -0.0658759922, -0.0143918497, 0.0526986606, -0.0139387613, -0.0158941839, 0.0475753695, -0.0013522884, -0.0545407869, -0.0308130812, 0.0042688386, 0.0210673362, 0.0088559696, -0.0139109595, 0.1145086139, -0.0303359758, -0.0609989539, -0.0062886504, -0.0167281013, -0.0475296937, -0.0307336226, 0.0625574365, -0.0025630896, 0.0287348069, -0.0160229579, 0.0495438203, -0.0219165999, -0.0008198924, -0.0039734268, -0.0150173958, 0.0152885653, 0.0461246595, -0.0042351177, -0.0108597502, -0.0588923506, 0.0304403417, 0.0318602249, -0.0528970063, -0.0129376249, -0.019032063, 2.26e-7, 0.0106605012, 0.0208615121, 0.0205668285, -0.0423656367, 0.0354915075, 0.0446006805, -0.0201917905, 0.07043349, -0.053654056, 0.0156642441, 0.0277235284, 0.0315621756, 0.0391688645, -0.006943028, -0.1192982271, 0.0565860085, -0.066408217, 0.0039926581, -0.0278638788, 0.0032894062, 0.0783057734, 0.0962276459, -0.0062840707, 0.0139984982, -0.007488199, -0.0259157494, 0.0627906099, -0.0140364468, 0.0199662186, -0.0136784064, -0.047259964, 0.0598057508, 0.011758483, -0.0159560125, -0.033462517, 0.0602242872, 0.0017637035, 0.04400618, -0.0153775718, -0.0263184328, -0.0070853797, 0.0260396749, -0.0182823073, 0.0041698324, 0.0554493517, -0.0862186253, -0.0374741592, -0.0406564809, -0.0001879904, 0.0161020663, 0.0776877701, 0.0291527677, -0.0373755842, -0.0252427533, 0.0461683124, -0.019713765, 0.0115576219, -0.0976439565, 0.0063488418, 0.0366294235, -0.043146804, -0.0082069095, -0.0310768541, 0.0187481064, 0.1080249697, -0.0314606987, 0.0116310362, 1.777013981e-34, 0.019955514, -0.0067268279, 0.0343348831, 0.0320193321, 0.0007908053, -0.0428953692, 0.0137871224, -0.0418096557, 0.0534778461, -0.0655784234, 0.0134766791 ]
http://arxiv.org/abs/2310.15276v1
http://arxiv.org/pdf/2310.15276v1
Efficient Algorithms for Recognizing Weighted Tree-Adjoining Languages
2023-10-23T18:26:00
2023-10-23T18:26:00
Alexandra Butoi, Tim Vieira, Ryan Cotterell, David Chiang
cs.CL
cs.CL, cs.FL
The class of tree-adjoining languages can be characterized by various two-level formalisms, consisting of a context-free grammar (CFG) or pushdown automaton (PDA) controlling another CFG or PDA. These four formalisms are equivalent to tree-adjoining grammars (TAG), linear indexed grammars (LIG), pushdown-adjoining automata (PAA), and embedded pushdown automata (EPDA). We define semiring-weighted versions of the above two-level formalisms, and we design new algorithms for computing their stringsums (the weight of all derivations of a string) and allsums (the weight of all derivations). From these, we also immediately obtain stringsum and allsum algorithms for TAG, LIG, PAA, and EPDA. For LIG, our algorithm is more time-efficient by a factor of $\mathcal{O}(n|\mathcal{N}|)$ (where $n$ is the string length and $|\mathcal{N}|$ is the size of the nonterminal set) and more space-efficient by a factor of $\mathcal{O}(|\Gamma|)$ (where $|\Gamma|$ is the size of the stack alphabet) than the algorithm of Vijay-Shanker and Weir (1989). For EPDA, our algorithm is both more space-efficient and time-efficient than the algorithm of Alonso et al. (2001) by factors of $\mathcal{O}(|\Gamma|^2)$ and $\mathcal{O}(|\Gamma|^3)$, respectively. Finally, we give the first PAA stringsum and allsum algorithms.
[ 0.0086360034, 0.0474930294, -0.0213579349, 0.0910760835, -0.0339170024, 0.0152346976, -0.0593903698, 0.0249298103, -0.0361420214, 0.0037702878, -0.0107577424, -0.0249295942, 0.0116375778, 0.0051856893, -0.0050985767, -0.0342249051, 0.0332111344, -0.0447661579, -0.0077349353, 0.0381741077, -0.0128895277, -0.0068062032, 0.0042768787, -0.0549947806, 0.0060354443, -0.0457818322, -0.0295718424, -0.0204107389, 0.0292103607, 0.0003096386, -0.0507179685, -0.0001287126, -0.0638796389, 0.0631385073, 0.0000018872, -0.0070377174, -0.0367169715, 0.0082329791, -0.0504564308, 0.0459342971, 0.0145667512, 0.0253630541, -0.0044510062, 0.0330995806, 0.008867817, -0.0178406164, 0.0590657443, -0.0567275919, 0.0262537207, 0.0314816087, -0.0096636955, -0.056890294, 0.0098905796, 0.0310764108, 0.00474319, -0.0216320548, 0.0103134932, -0.0140996696, -0.0032023443, -0.0267505124, -0.0014725704, -0.0795386508, -0.0277840942, -0.0541507788, -0.0638755485, -0.0043798219, -0.011344579, 0.0225926172, 0.0007507422, -0.008608616, -0.0051088282, -0.0353537127, 0.0134872859, -0.0114388764, 0.0016858586, -0.0465524495, -0.0176308136, 0.06234283, -0.0071304482, 0.0213417951, 0.0718092918, 0.0149534848, 0.0068284534, -0.051483877, -0.04406799, 0.0805516541, 0.0478225313, -0.0410391167, -0.0412263796, -0.0364727043, 0.0027510102, -0.0784796476, 0.0120194443, 0.0246186294, 0.0171726216, 0.0325361304, -0.0139709609, -0.0276881512, 0.0199579503, -0.0268323533, 0.0190332811, 0.0599311367, 0.031728249, 0.0017290462, -0.031766735, 0.0603644736, 0.0227291845, -0.0310054906, -0.0247879829, 0.0344918892, -0.0009568122, -0.0253291484, -0.0845837891, 0.0594364032, 0.0071740663, 0.01225043, -0.0342879407, 0.024132546, 0.0060045794, 0.0004949655, -0.0407728441, -0.0712917075, 0.0451967753, 0.0728655756, 0.0461560488, 0.0048906058, -0.0073187524, -0.0474834591, -0.0413502045, 0.0013436198, -0.0219379179, 0.081852369, 0.0149762062, -0.0026743985, 0.0136007313, 0.0182582419, 0.0267658252, -0.0170578901, 0.000381492, -0.0189496465, -0.0019292579, -0.0148174725, 0.0314160511, -0.0162823275, -0.0308361258, -0.0160613488, -0.0085349241, 0.0116493497, -0.0214492027, 0.0135960719, 0.0140065551, -0.0322312415, -0.0274477247, 0.0010964101, -0.0462171957, 0.0106775491, 0.0045092171, 0.0106213968, 0.006922543, 0.0454740226, 0.0157288313, -0.0198587608, -0.0116174677, 0.0352546461, -0.0284647774, -0.0075589861, -0.0326918624, -0.0161307957, 0.0150546227, -0.0609247722, 0.004707756, 0.0805057511, -0.0191563461, -0.0030939775, -0.0660109147, 0.0119530028, 0.0285875984, -0.0053839777, 0.0530683994, -0.0042463066, 0.0277286451, 0.0754243955, 0.0302011929, -0.051667463, -0.0887153298, -0.0038306704, -0.0098092118, -0.01067138, 0.0189818107, -0.0051413612, -0.0484173633, -0.014181939, 0.0321732461, -0.0470971391, 0.0046487176, 0.0063988795, 0.0018304954, -0.0081434222, 0.0041133403, -0.0326592922, -0.0232204832, -0.0403295532, 0.0264427066, -0.0248931069, -0.0187104903, -0.0694849864, -0.0073447041, 0.0734055415, 0.0215014759, 0.028528031, -0.0474339016, -0.0187096652, 0.0068143634, 0.0170086101, 0.0076699983, 0.0445087776, 0.0298485216, 0.0746555254, -0.0571278594, 0.0028801374, -0.0183735527, 0.0181721747, -0.0334250107, 0.0146312546, 0.0400968194, -0.0185878538, 0.0531448685, -0.0031941107, 0.0696612224, 0.0353550874, -0.03567506, 0.0624899529, 0.0245390944, 0.0052143489, -0.0211208295, -0.0017436427, -0.0122302147, -0.0265424196, 0.0604337491, 0.0596446991, -0.0220698304, -0.0459778011, -0.0348801278, -0.0277325939, 0.0795085356, -0.0508209206, 0.0480884351, -0.0202392805, 0.0428774916, -0.0109434621, -0.0209992249, 0.0062721404, 0.0981067419, -0.0244421083, 0.0462910421, 0.0212735757, -0.0069911354, 0.0616239756, 0.018099457, -0.0239356533, -0.0069817551, -0.0432743467, -0.0232760049, 0.0180089958, 0.020907307, -0.0065014744, -0.0246255025, -0.0226666443, 0.0221696664, -0.0226402469, 0.1246265024, -0.00637687, 0.059415821, -0.0040592463, -0.0259734076, -0.0418738499, 0.0282747447, -0.0030251571, 0.0244164523, 0.0158655439, 0.0042958609, -0.055553101, -0.0292260852, -0.0225770287, -0.0394177735, 0.0144016966, -0.0182274617, -0.0611158833, -0.0266681984, -0.0370848961, -0.0458055027, 0.0297810528, 0.0170610603, -0.015293316, 0.0005884534, -0.0358089879, -0.0184339099, 0.0074041937, -0.0091915336, -0.0301205572, 0.0132116359, 0.0491247699, 0.0479270816, -0.0284124818, 0.0327134207, -0.0102878483, 0.0209459085, 0.006848109, 0.0503572822, 0.1262402833, -0.0382521115, -0.0441551059, 0.0022301236, -0.041988492, 0.03579247, 0.0327965394, 0.0127317421, -0.0757792592, -0.0141234584, 0.0155337295, 0.0040009478, -0.0351383239, -0.0007652171, -0.070496656, 0.0039494317, -0.0237223301, -0.0208108034, -0.0601279475, 0.0668144748, 0.0464242361, 0.0415048674, 0.0157737397, -0.0688026249, 0.0558870733, 0.0261759572, 0.0377180874, 0.0169326495, -0.0651197955, -0.023304671, 0.0500972271, -0.0258276723, -0.0360241346, -0.0145587306, 0.0270382613, 0.0157640409, -0.0027333733, -0.0094946986, -0.0327839479, 0.039597109, 0.0380832404, -0.028813608, 0.0422525927, 0.0487826616, 0.0410372615, 0.0172598846, 0.0057875253, -0.0541772731, -0.0269838069, -0.0200284179, 0.0158155691, -0.0012945278, 0.0189445224, 0.0192314796, 0.0032084021, -0.0140610384, 0.0081378287, 0.0362347923, -0.0442691073, -0.0539997742, 0.0437374152, -0.0510254093, 0.0032087595, -0.002361655, 0.043644473, 0.0576334186, -0.0356089883, 0.056090828, -0.0701873228, 0.0103974734, 0.0280708093, 0.0335085914, -0.1172140315, -0.0122877024, 0.0134962024, -0.0572400652, -0.0402908996, -0.0242291056, 0.0249418095, -0.0797284618, 0.0231575016, 0.0026840116, -0.019777121, 0.018805407, -0.0370302834, 0.0080718147, 0.0448496081, -0.0833180845, 0.0296662152, -0.0268434398, 0.002015806, 0.0341039374, -0.0501237735, 0.0054471344, -0.0020121853, 0.0238633063, -0.0561598577, 0.0195712838, 0.0607225932, -0.0110915164, -0.0636508837, 0.0477572642, -0.006918177, -0.0023260186, -0.0494569167, -0.0681379065, 0.0309370235, -0.0058189696, 0.0148353539, 0.0215597488, 0.0158800613, 0.0123575935, 0.0108491266, 0.0726808384, 0.0492290407, -0.0298972204, 0.0126358438, -0.0432479382, 0.0192029066, -0.0106716659, 0.0174167678, 0.0178490616, 0.0061409315, -0.0588285401, 0.0116058607, 0.0612676144, -0.0229122322, -0.0137600591, -0.0033270747, -0.0494947359, -0.0517628118, 0.0593624748, 0.0108764358, 0.0341676995, -0.0431566052, 0.027265925, -0.0172448717, -0.0624138266, -0.0215646476, -0.0626697093, -0.0838170052, 0.0315457582, -0.0282084364, -0.0111037446, -0.0011684671, 0.0727629587, -0.0649618953, -0.0250059217, -0.002108241, -0.0217511561, -0.0022027334, 0.0507361181, 0.0243403874, -0.06595283, -0.0182185695, 0.0099587264, -0.0636071935, 0.0329400301, -0.0059438851, 0.0145910066, 0.0102194902, -0.0742001981, 0.0167893078, 0.0047767586, 0.0249674171, 0.0290278196, 0.0157401022, -0.0248783398, -0.0058435174, 0.0313174427, 0.0460223258, 0.1149285808, -0.0179380346, 0.0231447779, -0.0185705349, 0.036826022, 0.0075257965, -0.0502438135, -0.0174212661, -0.0436921231, 0.0163848661, -0.0266406275, -0.004211497, -0.0045630108, -0.0412673466, 0.0047922265, 0.0186442714, 0.0097901998, 0.0478057265, 0.0102965031, 0.0424553156, -0.0077633616, 0.0062896758, 0.0234943833, -0.0362356566, 0.0478067696, 0.0245158393, -0.0213706437, -0.0386183113, 0.024876941, 0.0395274982, -0.0052694725, 0.0293329936, -0.0067342394, 0.0246926416, 0.0223936401, -0.0051881913, 0.0544785224, 0.0121180899, 0.0096806139, -0.0183412824, 0.0367966406, -0.0223496705, -0.012465205, 0.0373478569, -0.0887062401, -0.0331518799, 0.0264998209, -0.0085197436, 0.0359555073, 0.0818889737, 0.0169722475, 0.0358741246, 0.0233168267, -0.0308884624, -0.0285626724, -0.0203702543, -0.0104634231, 0.0349087082, -0.022233583, 0.0023761804, -0.0559956171, -0.0466732979, -0.004674939, 0.0132987946, 0.0507623851, 0.0063366988, 0.0393423848, -0.0047327545, 0.0327121019, 0.0042702327, -0.0155966552, -0.0527247265, -0.0390706062, -0.0156707093, 0.0228009261, -4.683641528e-33, -0.0464902185, 0.0037481543, -0.0471385941, 0.0303771738, 0.0160771534, 0.0414975062, -0.0338785127, 0.0534679666, 0.0370254777, -0.0236021169, 0.0034093319, 0.018714508, 0.0086810878, -0.0397783034, -0.0344363116, 0.0237356275, -0.0120610688, 0.0021721697, -0.0362151712, -0.0003458692, 0.0338265449, -0.0597648993, 0.0351073146, -0.0115585923, 0.0161869563, -0.0305787995, -0.0034634599, 0.0293668527, -0.0565665141, 0.0241797045, -0.0110533163, -0.0268593263, 0.0084341299, 0.026135426, -0.0260641351, -0.0031844852, -0.0172905494, -0.0735230222, 0.0583070405, -0.035851635, -0.0258737635, -0.0234388094, 0.0131045831, 0.020998219, -0.0285121985, 0.0356652997, -0.0568064526, -0.0133892642, -0.0195668153, 0.0153597677, -0.0167008787, 0.0193293635, 0.0097982325, 0.0436265878, 0.0172866005, -0.0462439358, -0.0146380123, 0.026281476, 0.0395758525, 0.0186161175, 0.0459553637, 0.0327451006, 0.0189380944, -0.0157646649, -0.0008877863, -0.0021587494, 0.0449759737, -0.0151260123, 0.0074505196, 0.0395135395, -0.0411088094, -0.0001058952, 0.0214598104, -0.0202606916, 0.1256304383, 0.0234291442, -0.0669419169, -0.0034114306, 0.03177635, 0.0441752523, -0.0336057357, -0.0192811415, -0.0134849166, -0.0599586777, -0.0271055531, 0.0023890375, -0.0274362694, -0.0014788214, 0.0094605833, -0.008734745, -0.0381209739, 0.0248747747, 0.0174689516, 0.0037611714, -0.025781462, 0.0304889083, -0.0046876245, 0.013375503, -0.0111211631, 0.0381508693, 0.0415008105, -0.0413603038, -0.0435728654, -0.0472725928, 0.0634476542, -0.0014142884, 0.0176173225, 0.0570975319, -0.0162074398, 0.0047326302, -0.0026364871, 0.0104555944, -0.0561857149, 0.0883636922, 0.0285959262, 0.0056326161, 0.0423730798, -0.007306898, 0.0249925219, -0.0252321716, 0.0250342079, -0.0222825631, -0.0131774703, 0.0252382904, -0.0137492828, -0.0280152373, 0.0056582401, 0.012007243, 0.06073495, -0.0079359887, 0.002667123, 0.0039165826, 2.783e-7, 0.0236865915, 0.0001344208, 0.1018833965, 0.0137326149, 0.0531557947, -0.0185471717, 0.0092428811, 0.021369582, -0.0584092289, 0.0256556049, -0.0479743816, -0.0336334892, -0.0301458891, -0.0281464159, -0.032201644, 0.0417506061, -0.0669010058, -0.0260779765, 0.0098510459, -0.0152426036, 0.011769413, 0.0146665331, -0.0464090817, -0.0119190877, -0.0200645626, -0.0364329852, -0.0044841659, 0.0355982482, 0.0524361879, -0.028224932, 0.029417349, -0.0153102195, 0.0037650922, 0.0087783728, 0.0002247261, 0.0576178804, 0.0099609951, 0.0278120302, -0.0352071449, 0.1347319484, 0.044350557, -0.0339761972, -0.0065824585, 0.0660444573, 0.0368858613, 0.0614048541, -0.0684027448, 0.0101756239, -0.0287388954, 0.0006199615, -0.0765493289, 0.0576654188, -0.0288423151, 0.026889611, 0.0019547301, -0.0298984516, 0.0018226585, -0.0239799283, -0.0532195307, -0.0326773338, -0.0106080053, 0.0136630842, -0.0322692692, 0.069579564, 0.0027916364, -0.0479448996, -0.018097125, 3.067078049e-34, 0.0185593385, -0.0327627547, -0.0018656977, 0.0409775563, -0.0024478023, -0.0163436458, -0.02765131, 0.02536886, 0.0116729895, -0.0507784672, -0.0043797386 ]
http://arxiv.org/abs/2310.15269v1
http://arxiv.org/pdf/2310.15269v1
GradSim: Gradient-Based Language Grouping for Effective Multilingual Training
2023-10-23T18:13:37
2023-10-23T18:13:37
Mingyang Wang, Heike Adel, Lukas Lange, Jannik Strötgen, Hinrich Schütze
cs.LG
cs.LG, cs.CL
Most languages of the world pose low-resource challenges to natural language processing models. With multilingual training, knowledge can be shared among languages. However, not all languages positively influence each other and it is an open research question how to select the most suitable set of languages for multilingual training and avoid negative interference among languages whose characteristics or data distributions are not compatible. In this paper, we propose GradSim, a language grouping method based on gradient similarity. Our experiments on three diverse multilingual benchmark datasets show that it leads to the largest performance gains compared to other similarity measures and it is better correlated with cross-lingual model performance. As a result, we set the new state of the art on AfriSenti, a benchmark dataset for sentiment analysis on low-resource African languages. In our extensive analysis, we further reveal that besides linguistic features, the topics of the datasets play an important role for language grouping and that lower layers of transformer models encode language-specific features while higher layers capture task-specific information.
[ 0.0100563942, 0.0667187646, 0.0032320262, 0.0831353366, -0.0244373642, 0.0230364297, 0.0445090905, -0.0219756551, -0.0067319879, -0.0323549695, -0.0674504489, -0.0796329826, 0.0249375217, -0.0371653363, 0.0243438389, -0.0502450317, 0.0432028659, 0.02124363, -0.0313767195, -0.0018336801, 0.0007646801, 0.0395991169, 0.002405908, 0.0287562888, -0.0000759286, 0.0014839469, 0.0215577148, -0.0221801829, 0.0404798314, 0.0163788237, 0.0038456877, 0.0302989688, -0.0160128493, 0.0346359126, 0.0000021082, -0.0295840204, -0.0499296896, -0.0007972497, 0.0325140432, -0.0323598497, 0.0557861328, -0.0539827049, -0.0183051992, 0.0439950116, -0.03888046, -0.045089189, 0.0553360432, 0.0382510424, 0.0488897376, 0.0873797834, -0.0238410514, -0.0299483966, 0.0246913396, -0.0269412454, -0.0260215737, -0.0318677761, -0.0172261372, -0.0092964368, -0.0351487026, -0.0000776522, -0.0238092542, 0.0027175513, 0.0169516467, 0.0242069513, -0.0294149425, -0.002811763, -0.0459712483, -0.0355278999, -0.0201979503, 0.0208752118, -0.0861615762, -0.0059703733, -0.02570468, -0.0116988374, -0.0221139211, -0.0061153625, -0.0245810039, 0.0204776675, 0.0033428345, 0.0516386367, 0.0417674594, 0.0568365976, 0.0241526049, 0.0119605046, -0.0138776274, 0.0287872758, -0.0191077385, -0.0211530682, -0.0025218448, 0.0568413846, -0.0037957504, 0.019462388, -0.037548285, -0.023652235, 0.0022805638, -0.0012609103, 0.0077157705, -0.0476434901, 0.0201410819, -0.0636138543, 0.0517283604, 0.0368875302, -0.0497324951, 0.0549522415, -0.028316455, 0.0425680429, -0.0166483298, -0.0026006892, -0.0210859608, -0.0611944012, -0.0565146506, -0.0153485499, 0.0246403012, 0.0047851019, -0.0607144386, 0.0276447982, -0.0568986759, -0.023225965, -0.0393417552, -0.0406482443, 0.0150892278, -0.0208141357, 0.028398646, -0.0091354847, 0.0125134001, 0.0361477882, -0.0261580814, 0.0381000526, -0.0325229131, -0.055850286, 0.0237748288, 0.0226586349, -0.0167846642, 0.0054751444, 0.0194375329, 0.043533612, -0.0039177821, -0.0319929905, -0.0811857879, 0.0028163828, 0.0009047902, -0.0516487546, 0.0107524181, -0.0798803866, 0.0768357515, 0.0201644525, 0.0209848434, -0.0200817157, -0.0351750068, -0.0169948768, 0.0012995459, 0.0551573224, 0.0174807571, -0.0136786234, 0.0585720502, 0.015576601, 0.0003218982, 0.0718181953, -0.0009878726, 0.0108030662, 0.0589433424, 0.002356841, -0.0286736526, 0.0333353207, -0.0240591541, 0.0026570531, 0.018301677, -0.0283998903, -0.0232350193, -0.0466140583, 0.0400899611, 0.0094148321, -0.0182386972, -0.0175489951, 0.0138248727, 0.0586504154, 0.0019747487, 0.0559367388, -0.0049063559, 0.0175535958, -0.0199343879, -0.0210211724, 0.008879533, 0.0124859242, 0.0285393801, -0.0109906467, 0.0427099839, 0.107025966, -0.0290743951, -0.0204468966, 0.0146724284, -0.0546294302, 0.0471442156, 0.0031403294, 0.0384011567, 0.0132700661, -0.024457423, 0.0286185239, 0.0823731422, -0.0769644454, -0.0214345139, -0.0323023722, -0.0018864839, 0.0137003725, -0.0353607237, 0.0106330067, -0.0228450224, -0.0025608733, 0.0145602664, 0.0438513458, 0.0388441384, 0.0009269482, 0.0436919332, -0.0739462525, -0.0094966823, 0.0003270812, -0.005111692, 0.0433676541, -0.0013914088, 0.0475193933, 0.0136870435, -0.0053864801, -0.0391856395, 0.0105422214, -0.0380178206, 0.0235590097, 0.0313546173, 0.0185328722, 0.0350513682, 0.0147931771, -0.002154286, -0.0112839453, -0.0085982811, -0.0769262314, -0.0216732491, 0.0306529962, -0.0361914262, -0.059861999, 0.0052620992, -0.0477643535, -0.0162293389, 0.0537149124, -0.0291285738, -0.0229019336, 0.0487881638, 0.0095263785, 0.0775195733, -0.0391296558, 0.0293492526, -0.0342396274, 0.0207146946, 0.0179441962, 0.0625757724, -0.0097465403, 0.026474582, -0.0410986803, -0.0184383281, 0.0557954498, 0.0113770496, -0.0106473519, 0.0299691148, 0.0073318696, 0.0270934515, 0.0325321071, 0.01115725, -0.010084657, -0.0292169489, -0.1135004461, 0.0075303074, -0.0187523291, 0.0205933526, -0.0131256748, 0.0482537039, -0.0080882097, -0.0089100683, -0.0227017235, -0.007433726, 0.007081857, 0.012630078, 0.0065914174, -0.0236274768, 0.0270240866, -0.0437167957, 0.0030675519, 0.0354476161, 0.0735093355, -0.0316092521, -0.010290849, -0.0170720946, 0.0109577244, -0.0445950404, 0.0018103993, -0.0173731539, -0.0319748856, -0.0142237134, 0.0264575258, 0.038819544, -0.0124164745, -0.0002797141, 0.0081947222, 0.028026633, 0.0451801047, -0.0190606825, -0.0126748262, -0.0481126569, 0.0014064215, 0.0027108483, -0.0259848144, 0.0168316998, 0.0804422945, 0.0276167933, -0.0223476328, -0.0432797559, -0.0189915095, -0.0531131513, -0.0046731243, -0.0126782246, 0.0189920217, 0.0096549755, -0.0042270585, -0.0371013209, -0.047815457, 0.0649051666, 0.0027059708, -0.0060815807, -0.0869006291, -0.0305981413, -0.0561629273, 0.0353945717, -0.026806511, 0.0228600334, -0.0371916629, 0.0254315659, -0.0206476953, 0.0190837737, 0.0438884199, -0.0146610206, 0.0474672541, 0.0095756222, -0.0093966834, 0.0013938202, -0.0567320362, -0.0029928668, -0.0243487284, 0.0011839225, -0.0030960958, 0.0589021705, -0.0108538438, -0.0549029335, 0.018436322, 0.0180094689, 0.0289066359, -0.0002912337, 0.000879251, 0.0397983715, 0.0278667789, -0.0065140948, -0.0187342819, 0.0090838661, -0.049145218, 0.0090012057, 0.0283459835, 0.0007016947, -0.0162207596, -0.02742422, -0.0194904394, 0.0211867522, 0.0002629207, -0.0477371179, -0.0456455089, 0.0339882374, -0.0130971922, 0.0314322263, 0.1012299508, 0.0185880549, -0.0827903748, 0.009539553, -0.0430471078, 0.0289013386, 0.0124418009, -0.0176835358, -0.0374262631, -0.0223852973, -0.0366888605, -0.0005624816, 0.0185138639, 0.0146883903, -0.0151803708, -0.0984818637, 0.0016484058, -0.0055533494, -0.0524958335, -0.0402456596, -0.0777476355, -0.0117796892, -0.0262889378, 0.0115009481, -0.0662989467, 0.0176764131, -0.0376164429, 0.0298848394, -0.0363837779, -0.0768202543, 0.0000935529, -0.0256573204, -0.0223263428, 0.02214198, 0.0205187742, 0.0020518212, -0.009801181, -0.0057852608, -0.0115139587, -0.0113307703, -0.0091121346, 0.0377590917, 0.0147026246, -0.0270224437, 0.0145593816, -0.0107324217, -0.0634577796, 0.0139832608, -0.0109551298, 0.0567399263, 0.0063791205, -0.0213882066, -0.0156234056, -0.0264653675, 0.0070180828, 0.0435129851, 0.0024357627, -0.0401225649, 0.0147301592, 0.0179901421, 0.0269386228, -0.0100169834, -0.0324977525, 0.0161772072, -0.0261460301, -0.0288886875, -0.0630810782, -0.0775261968, 0.0014427757, -0.0136019038, -0.0335794576, 0.0153137771, 0.034152519, -0.0115934554, -0.0662337616, 0.0449874178, 0.0335528105, -0.0102031901, -0.0208231155, -0.0536294468, 0.0620314293, -0.0042834566, -0.0285049491, -0.0332295299, -0.0814231113, -0.0543016717, -0.0175959896, 0.0120880138, 0.0058035296, 0.0331043154, 0.0508173108, -0.0258322265, 0.0306137372, 0.0255767442, -0.0042733029, 0.0058026598, 0.021791568, -0.0175722968, -0.0114572197, 0.0278338492, -0.018190952, 0.0797093585, -0.004133272, -0.029158283, -0.0504718237, -0.0056139003, -0.02498018, -0.0630882308, 0.0510808825, -0.0343568251, -0.0698705986, -0.0790232271, -0.0083905095, 0.0347495042, 0.0154021429, -0.0225305427, 0.0035332325, 0.0314729325, -0.0277894735, -0.0160283949, 0.0334821455, 0.0159079395, -0.0387657285, -0.035464, 0.0697510242, 0.0372468829, 0.0106792413, -0.0238336213, 0.051573962, -0.0011529184, -0.0094762482, -0.0122671807, -0.0065741157, -0.0373627432, 0.009594935, 0.0166306142, 0.0231340639, 0.015850829, 0.0547671542, 0.0139243389, -0.0181176718, -0.0229750611, -0.0155066727, 0.0745641291, -0.0545269959, 0.0835413262, 0.0117441323, -0.0109415473, 0.0130821262, 0.014283671, -0.029147476, -0.0154758673, 0.0031841022, 0.0043937168, -0.0297881663, 0.0397266559, 0.0890231207, -0.0295292884, -0.004528821, 0.0230050609, 0.0101769976, -0.0319165774, 0.0091750845, 0.0744083747, -0.0032997215, -0.0006365587, 0.0255653802, -0.017129248, -0.0680625513, 0.0238253251, -0.0382022634, -0.0147040682, 0.0437144078, 0.0511248372, 0.0705695674, -0.0046988176, 0.0459897071, -0.053607583, -0.0498672798, -0.0279036313, -0.019046478, 0.0062106168, -6.35642105e-33, 0.0241434984, 0.0153507954, -0.0396567211, 0.0121404771, 0.0203940999, 0.0282426625, -0.0301883519, 0.0215108804, -0.0296497699, 0.0373495556, 0.0134872375, -0.005798202, 0.0135970702, 0.0558639206, 0.0075510866, 0.03552109, 0.0293378979, 0.0360346176, -0.0050092405, 0.0362425335, 0.0463648438, 0.0475072376, 0.0923357382, -0.0905270502, 0.037991371, -0.0306341387, 0.0041655367, -0.0175981615, 0.0706153587, 0.0984548777, -0.025923444, 0.0768113136, 0.047651846, -0.0602615364, -0.0090644583, -0.0172306895, -0.0276704077, -0.0395512618, -0.0022457747, 0.0166561957, -0.0168443676, -0.0013002414, 0.0156673826, 0.0054194112, -0.0058430615, -0.0271374322, 0.0449263491, -0.0227650777, -0.0083583593, -0.0413116552, -0.0797192305, 0.0408141129, 0.0281413253, -0.0200731158, 0.0399530977, 0.0666802675, -0.0239321459, 0.0336431265, -0.0579006486, 0.0271315072, -0.0371085405, 0.0537622981, 0.0359822549, 0.0099441223, -0.0280629098, 0.076145716, 0.0231274478, -0.0127564324, 0.0192814153, 0.0050989748, 0.0393883064, -0.0184172783, 0.0405151099, 0.0789908022, 0.0500032678, -0.0484862961, -0.073759228, 0.0494910777, 0.0348444134, -0.0032881689, 0.0545973741, 0.0168559421, -0.0255035553, -0.0421740711, 0.0079238415, -0.0109369513, -0.0182223096, -0.0153362127, 0.0074569839, 0.0140437689, -0.0278262626, 0.0225731097, 0.0195994079, -0.0328083821, -0.0137481848, 0.0368003212, -0.0118035004, 0.0317079276, 0.0225901939, 0.0005817332, -0.0592604652, -0.025268482, -0.0280814599, 0.0070278537, 0.0198179688, -0.0039463048, 0.0687349364, 0.0115048448, -0.0728867799, 0.025210185, 0.0044920715, 0.0163797606, -0.0306737293, 0.1023844704, -0.017168561, -0.0088326205, -0.018488653, 0.0795586556, 0.0372345522, 0.0163967088, -0.0042205513, 0.0128664011, -0.0248914901, 0.024611773, -0.0289775841, -0.0275312215, -0.0341190323, 0.0042944192, 0.0255954843, -0.0594505779, -0.0239208601, -0.0140909692, 2.811e-7, 0.020819556, 0.0299979504, -0.0145324096, -0.0291703809, -0.013881702, 0.0456091985, 0.0114941951, 0.0070328666, -0.0024554664, 0.0362305678, -0.021736769, 0.0361265615, 0.0484206863, 0.0609301068, -0.0731724799, 0.0410860144, -0.0597536527, -0.0023218752, -0.0277513321, -0.0033100371, -0.0100044962, 0.1538253725, -0.0127734514, -0.0319342688, -0.0610883497, 0.0018950106, 0.0726124421, -0.0519228987, -0.0338529348, 0.0174308773, 0.0112574138, 0.0436472706, -0.0313103646, -0.0295765735, -0.047544349, 0.0387324728, 0.0260253847, -0.0005099425, -0.0194917824, -0.0326659083, 0.0465717353, 0.0356265754, -0.0514184535, -0.0451773033, 0.0274801459, -0.0357899517, -0.0271267444, -0.0740332454, 0.0198137835, 0.0558687337, 0.0496738516, -0.0309523176, -0.0344776884, 0.0160215441, 0.0298300888, -0.0769133419, -0.0258290637, -0.0368518494, -0.0218412969, 0.0475093722, -0.0144885909, 0.0074380026, 0.0175688975, 0.009473864, 0.0311344974, -0.0016169822, 0.040088553, 2.379256127e-34, 0.0144470101, -0.0057397494, 0.0053596902, 0.030991951, -0.0049966634, -0.0283477772, -0.0627797768, -0.0096772155, -0.0233270172, 0.0103926621, 0.0205458179 ]
http://arxiv.org/abs/2310.15264v1
http://arxiv.org/pdf/2310.15264v1
Towards Possibilities & Impossibilities of AI-generated Text Detection: A Survey
2023-10-23T18:11:32
2023-10-23T18:11:32
Soumya Suvra Ghosal, Souradip Chakraborty, Jonas Geiping, Furong Huang, Dinesh Manocha, Amrit Singh Bedi
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have revolutionized the domain of natural language processing (NLP) with remarkable capabilities of generating human-like text responses. However, despite these advancements, several works in the existing literature have raised serious concerns about the potential misuse of LLMs such as spreading misinformation, generating fake news, plagiarism in academia, and contaminating the web. To address these concerns, a consensus among the research community is to develop algorithmic solutions to detect AI-generated text. The basic idea is that whenever we can tell if the given text is either written by a human or an AI, we can utilize this information to address the above-mentioned concerns. To that end, a plethora of detection frameworks have been proposed, highlighting the possibilities of AI-generated text detection. But in parallel to the development of detection frameworks, researchers have also concentrated on designing strategies to elude detection, i.e., focusing on the impossibilities of AI-generated text detection. This is a crucial step in order to make sure the detection frameworks are robust enough and it is not too easy to fool a detector. Despite the huge interest and the flurry of research in this domain, the community currently lacks a comprehensive analysis of recent developments. In this survey, we aim to provide a concise categorization and overview of current work encompassing both the prospects and the limitations of AI-generated text detection. To enrich the collective knowledge, we engage in an exhaustive discussion on critical and challenging open questions related to ongoing research on AI-generated text detection.
[ 0.0920515358, 0.0345004089, -0.0403112061, 0.0651375577, -0.065540038, 0.0016200243, 0.0179372579, 0.0329975337, 0.0596164688, -0.056154564, -0.0142083028, -0.001814773, -0.0122757237, 0.0435052402, 0.0188563634, 0.0307578444, 0.0232060663, -0.0006342034, 0.0297772083, 0.0180336889, 0.0172863081, 0.0208216943, 0.0201658625, 0.0197404437, -0.0285406411, -0.010660708, 0.0172247086, 0.0005466815, -0.0009091236, -0.0084149903, -0.0060811769, 0.0341339819, -0.0093059223, 0.1084236577, 0.0000018809, -0.0274194255, -0.030906627, -0.0112002483, -0.0453489833, 0.0051447358, 0.075331755, -0.0304839127, -0.0228419118, 0.0093008038, -0.0426152945, 0.0233166683, -0.0042616418, 0.0337903388, 0.0415191352, 0.1048246399, -0.0320520625, -0.0025027127, 0.0787504315, 0.0162956491, -0.0108347917, -0.0252504405, 0.0556695014, -0.0248550698, -0.0004793461, 0.0229087509, 0.0243426543, 0.0311397947, 0.0021592546, -0.030011218, 0.0017145523, -0.00326004, -0.0153262904, -0.030874446, -0.0484903418, 0.003430156, -0.047471758, -0.0840493813, 0.054292012, -0.0247252379, 0.0216125213, 0.018804118, 0.0295018796, 0.0590658523, -0.0485903621, 0.0039432547, 0.0389310941, -0.0036536232, 0.0218722541, 0.0672607794, 0.0277806465, 0.0378818363, 0.0110858185, -0.062501289, -0.029291613, 0.0011517061, -0.0013112329, -0.053612113, 0.0681117326, 0.0405080244, 0.0215735361, 0.0034182558, -0.0912553146, -0.0781481192, 0.0386658534, -0.0507585704, 0.0297280345, -0.0161978528, -0.0025776038, 0.0368064046, -0.044402156, 0.065678969, -0.0618949197, -0.0013452296, -0.0046574012, -0.0023502221, 0.0067117312, -0.052212216, -0.0197898261, 0.0176609494, -0.0090813991, -0.0366800986, -0.0201211367, 0.0127547197, -0.0033433114, 0.0232980587, -0.0587453395, -0.0300159212, -0.0040792348, -0.013331986, 0.0051180832, -0.0347628556, 0.0288162902, 0.038596075, -0.0259364676, -0.0598231927, -0.0043754424, 0.0752053782, 0.0051536965, 0.0033579995, 0.0151960002, 0.0609934404, 0.0037074925, -0.0619214922, -0.0386066772, -0.0712190121, -0.0318087451, -0.0390529521, 0.0238879789, -0.0609500892, -0.0364503898, -0.0155579904, -0.0086035859, -0.0436279327, 0.0031859314, 0.0377575606, -0.0062849675, 0.0346308798, -0.0231664851, 0.005999913, 0.0571290143, -0.0028960602, -0.0055946647, 0.0380100086, 0.0297364742, 0.0808706805, 0.0717974454, 0.0421329066, 0.048744265, 0.0492467843, 0.013850051, 0.0018025239, 0.016429659, -0.0200033858, -0.0322377086, -0.0036316256, -0.0106850639, 0.0659755543, 0.0171932895, -0.0427977741, 0.0661254823, 0.0588629395, -0.0233523808, 0.0246223938, 0.0711584985, 0.0390265062, 0.0290853251, 0.0369090214, 0.0055308295, -0.0412280485, -0.0556822196, -0.050990805, -0.0204523094, 0.0253043473, 0.015925182, -0.0338516384, -0.0090288119, -0.0330924578, 0.009950663, -0.0317008309, 0.0533752851, 0.0136045413, -0.0142455967, -0.0691729859, -0.0156369004, -0.027333308, 0.0353369676, -0.0889860913, 0.0478046201, 0.0404188931, 0.0697660595, -0.0247170385, 0.0723261982, -0.0164334122, -0.0092812395, 0.0586150251, 0.0244157109, -0.0085205743, -0.0482951254, 0.0025680189, 0.0081472397, 0.0013000764, 0.0171601567, 0.0011585616, 0.0495902225, 0.0234330799, 0.0216317177, -0.001477791, -0.0489404686, 0.0514277592, -0.0280554164, -0.0004214571, -0.0060227043, 0.0112197362, 0.0187915992, 0.0198798552, -0.0316537619, 0.0157732479, 0.0522632115, -0.0542863682, -0.0435715169, -0.0515604615, 0.0264747124, 0.0074274447, 0.0040330305, -0.0114635192, -0.0219772868, 0.041286055, 0.0128336186, -0.0013675634, -0.0106863389, -0.058331579, 0.0000122831, -0.0631582066, 0.0219217278, -0.0206111353, 0.0249288827, -0.0236590765, 0.0720069632, -0.0198030174, -0.021816887, 0.0216692854, -0.0026693761, 0.0410090983, -0.0176009964, -0.0168135557, -0.0161481742, -0.0102783125, 0.0290670674, 0.0272716992, -0.0086640529, 0.0031368602, -0.0439708382, -0.0377293676, -0.0120668598, -0.0154522611, -0.0057590581, 0.0316197611, -0.0401710793, -0.0156538635, 0.0119920038, -0.00374054, -0.02858763, 0.0686967745, 0.0044577979, 0.04134918, -0.0200662911, 0.0168991908, -0.0205209479, 0.023582967, -0.0443603173, 0.0330861509, 0.0601463057, -0.0781979486, -0.0608645454, 0.0404515862, 0.0091729816, 0.0257332232, -0.0175919812, -0.0198118798, -0.0327365957, -0.0260207467, 0.004916823, 0.1126325503, 0.0306054261, 0.0189272687, 0.0270788316, 0.0533694811, 0.007388853, -0.0156219611, -0.0152877131, 0.0443084762, -0.0240816157, -0.0489298552, 0.05566407, 0.0230765324, 0.0223287046, -0.0138484295, -0.0124484198, 0.0450265221, -0.0261730421, -0.0536187924, 0.0296848565, -0.062886402, -0.0192080345, 0.0435273163, -0.0292468518, -0.0698454753, 0.04010313, -0.044044368, 0.0476523452, -0.0511805154, -0.0312315151, -0.032949619, 0.0052706925, 0.0126634398, 0.0473074429, -0.0007574955, 0.0246661585, -0.0081217829, 0.0041226316, 0.0089938277, -0.0239403881, 0.0103605278, -0.0151422303, 0.017910393, 0.0108035896, -0.0025708773, -0.0579456799, -0.0710104927, -0.0192415938, -0.0088698678, 0.034297049, -0.0480394252, -0.010974776, -0.0025463684, 0.0232060477, 0.0524926223, -0.0128874443, 0.0092616566, -0.0392218865, 0.0739269182, 0.0439891033, -0.0578134209, 0.0490120463, -0.0318719186, -0.0055514891, 0.0537190996, -0.0035155988, 0.0292600282, 0.0113552157, -0.0285495818, -0.0001298378, 0.00890237, 0.0028441455, -5.275e-7, 0.0065127616, -0.0449023433, -0.002430445, 0.0760132968, 0.0314470343, -0.0432332493, -0.014520932, -0.0129537322, -0.0147202499, -0.0052652084, -0.0195399616, -0.0506802239, -0.0086928997, 0.0111674909, -0.0139131518, -0.0779422969, 0.0010213451, -0.0097834058, -0.0804570243, 0.0212365482, -0.0130641703, 0.0226788279, -0.0349653214, -0.0259631947, -0.016904505, 0.0298565123, -0.051426325, -0.0499305539, 0.0051137265, -0.013870351, -0.0003146722, -0.0285662375, -0.0349143296, -0.0156404283, -0.0365255028, 0.0266671926, 0.0735487938, 0.0742609948, -0.0162636321, -0.0139060346, -0.0048986073, -0.0100081777, -0.006731763, -0.007408957, 0.0407625474, -0.0276961979, -0.0019846014, -0.0094851935, 0.0417276248, 0.0022114923, 0.0147489943, 0.0457236618, 0.058798328, -0.0025904917, -0.0635367185, -0.0474415794, -0.0151284551, 0.0249876734, 0.0747075751, 0.003097005, -0.0504941642, -0.0535474196, -0.0043811495, 0.0433889367, -0.0402740054, -0.0573619269, -0.0039474987, 0.0086566107, -0.0148754874, -0.0683623999, -0.0213195626, -0.0371321179, -0.022957975, 0.0252880249, 0.0239457786, 0.0151687013, -0.0098513579, -0.0190084726, -0.056795422, -0.0572074503, 0.0482516363, -0.0395252481, 0.0013708058, -0.0011121288, -0.0554584451, -0.0023939132, 0.0374039114, -0.0906206518, -0.0394849814, 0.0108506167, -0.0084996726, 0.0227302127, 0.0102133807, -0.0444750115, -0.0487288199, 0.0884591714, 0.0288908891, -0.0304096602, 0.0336911939, 0.003272495, -0.0113723362, -0.0081876554, 0.019173177, -0.0240714736, 0.0281343572, 0.035165675, -0.0419349894, -0.0400630161, -0.0117300479, 0.0326522738, 0.0216923188, 0.0041949423, -0.0186284389, 0.0181809571, -0.0186598375, -0.029715389, -0.0199118257, -0.0271451268, -0.027905615, 0.0095598223, 0.0341817588, 0.015849581, -0.0015786218, 0.0309686009, -0.0259543322, 0.0403260589, -0.0112976106, 0.014880144, 0.0047036279, 0.0697235614, 0.0070337411, -0.0178543366, 0.0181025341, 0.0626545399, -0.0285518914, 0.0173513368, 0.0242584776, 0.0400436744, 0.0268298183, -0.0618546493, 0.0012887061, 0.031147277, -0.0817562863, 0.000104664, -0.0284414962, 0.0262091495, 0.0293425564, -0.0003054138, 0.0138524156, -0.0477030575, -0.027253516, -0.0262447074, -0.0069879214, 0.0331991613, -0.0184506327, -0.034575507, -0.004607691, -0.0328387544, 0.0194219947, 0.0618280619, 0.0386062004, 0.0583893843, 0.013348069, -0.0474602096, -0.0366480127, -0.0343019217, 0.0117208976, -0.0161325037, -0.0141543644, 0.0414440222, -0.0635866225, -0.0567833446, 0.0425331704, -0.0010520532, 0.0381635353, -0.0321434475, -0.0425674878, 0.0741811544, -0.0055586221, 0.0337329879, -0.0660796985, 0.0270876493, -0.0134900324, -0.0224793963, -0.0248099677, -5.323828241e-33, 0.01143259, -0.0971875861, -0.0281675514, 0.0184617657, 0.0258058999, 0.0492511019, 0.0001575433, -0.0438646264, -0.0174640492, 0.003565223, -0.0099336132, 0.0350130275, -0.0114257392, 0.0085108029, -0.0457574092, 0.0119553208, 0.0424837805, -0.034340512, -0.0398032404, 0.0113661969, 0.0339411423, -0.0290616658, -0.0243317187, -0.0626050979, 0.008197397, -0.0392999314, -0.0387317427, 0.0280441474, -0.0496768467, 0.0650416464, -0.0403042287, 0.0360155478, 0.0441695265, 0.0230207592, 0.0012325415, 0.0684524104, -0.0078489035, 0.0145249134, -0.0175498724, -0.0128415963, -0.004712923, -0.0497328937, 0.0364954099, -0.0286310017, -0.0194123797, 0.0574313216, 0.0504589826, -0.0254164468, 0.0285431761, -0.0174607616, -0.0529565662, 0.0192434471, 0.0235884525, -0.0032167013, 0.0367546566, 0.0382116176, 0.0344989598, 0.0409120098, -0.0743427947, 0.0244142599, 0.0058273561, -0.0101088425, 0.0092920968, -0.0117240632, -0.017516911, 0.0287311058, 0.0413396135, 0.0269188136, -0.0334524177, -0.0405488051, -0.0145336641, -0.0189682413, 0.0874600634, 0.0785413831, 0.0010833869, -0.0272431914, -0.0398910604, 0.0000051092, 0.0151732145, -0.0140962303, 0.0533058122, -0.0346509255, -0.072972104, 0.0072598173, -0.0078358408, -0.0751793087, -0.0347505398, 0.0142194843, 0.0239144899, 0.0514305569, -0.0429147519, 0.0050262874, -0.0006816727, -0.0633450523, 0.0194026213, 0.0218212325, -0.0199531168, 0.0201130584, 0.0250114519, 0.0404174142, -0.054835815, -0.0125741065, 0.028365057, 0.0082851965, 0.014948721, -0.0166879296, 0.0315121748, 0.0209234245, -0.0301530212, 0.0117489984, 0.0067509855, 0.036489401, 0.0309377667, -0.0021829263, 0.0228940304, -0.0182854664, 0.0020221202, 0.0017092603, 0.0416182093, 0.0311437063, -0.0348772258, 0.0198906604, -0.0446929857, 0.0075272699, -0.0261139367, -0.0079086917, -0.0302115828, 0.0487320796, 0.0188439358, -0.0685556382, 0.0376458243, -0.0463406369, 2.453e-7, 0.0027927791, 0.0258303136, 0.0352295414, -0.005983599, 0.0437746271, 0.0499017574, 0.0119212316, 0.0172849149, -0.0335597545, 0.0089104213, -0.0297064465, 0.0237354785, 0.0313696787, -0.0044947444, -0.048681099, 0.0663637295, -0.0550442412, 0.0201768745, -0.0673506185, 0.0025265401, 0.0585296564, 0.0544015877, 0.0166782998, -0.0475042276, -0.0264971834, -0.0888490081, 0.0332536288, 0.0117382305, 0.0094113341, 0.0226985924, 0.0548062101, 0.0176240411, 0.008178643, 0.0403941981, -0.0209917743, 0.0328373723, 0.0195073653, 0.0472206175, 0.0205164682, 0.043261826, -0.007428193, -0.0407728218, -0.0110948924, -0.0430263504, 0.071164459, 0.0064320383, -0.0154688247, -0.0528814346, 0.0039056886, -0.0420125835, -0.0008690124, -0.0354996026, -0.0252284892, 0.006429465, -0.0027998509, 0.0140146837, 0.0154797193, -0.0480278134, -0.0016405543, -0.0481586345, -0.0415589176, 0.0036991134, -0.0758669674, 0.0002126286, 0.0331643485, -0.0605768003, 0.042468708, 2.406834785e-34, 0.0112365028, -0.0287185907, -0.0196047872, 0.0255624857, 0.0423902422, 0.0342520885, -0.0413238183, 0.0095092906, 0.004406807, -0.0459248312, 0.0161255337 ]
http://arxiv.org/abs/2310.15262v1
http://arxiv.org/pdf/2310.15262v1
Data Augmentation Techniques for Machine Translation of Code-Switched Texts: A Comparative Study
2023-10-23T18:09:41
2023-10-23T18:09:41
Injy Hamed, Nizar Habash, Ngoc Thang Vu
cs.CL
cs.CL
Code-switching (CSW) text generation has been receiving increasing attention as a solution to address data scarcity. In light of this growing interest, we need more comprehensive studies comparing different augmentation approaches. In this work, we compare three popular approaches: lexical replacements, linguistic theories, and back-translation (BT), in the context of Egyptian Arabic-English CSW. We assess the effectiveness of the approaches on machine translation and the quality of augmentations through human evaluation. We show that BT and CSW predictive-based lexical replacement, being trained on CSW parallel data, perform best on both tasks. Linguistic theories and random lexical replacement prove to be effective in the lack of CSW parallel data, where both approaches achieve similar results.
[ 0.0319504328, 0.0650136694, -0.0155159961, 0.0173771493, -0.0634752139, 0.02775985, 0.0286549442, 0.0166393295, -0.0296067409, -0.0382313542, -0.0099567184, -0.0418885574, 0.0564776808, 0.0166908503, 0.0726722702, 0.0004297514, 0.0223568231, -0.0439273342, -0.0435893126, 0.022904234, 0.0151999462, 0.0327736475, 0.0126486542, 0.0025118433, 0.0159816556, 0.0057895915, -0.0130596189, 0.0261883195, 0.0330498889, -0.0109484363, -0.0031384311, 0.0295352098, -0.0202273056, 0.0740410909, 0.0000020329, -0.0303562563, -0.0784500018, -0.0048050485, 0.010488281, 0.0175331905, 0.0620349608, -0.0949726775, -0.0349119343, 0.0212595668, -0.0094458014, 0.0034410986, 0.0754963979, -0.0079659922, 0.0342205428, 0.0712824911, -0.0147529952, -0.030889282, 0.0203180034, -0.0254450757, -0.0019517103, -0.0120183593, 0.0236061178, 0.0037400764, -0.0131999692, 0.0393786766, -0.0278479531, 0.0727019757, 0.0015383742, -0.0109182866, 0.0190364104, -0.0106864562, -0.036660172, 0.0013158724, -0.0107879592, 0.0224774331, -0.0287666526, -0.0450565703, -0.017640207, -0.0276497491, -0.0199610107, -0.031674657, -0.0085890768, 0.0361759067, -0.0117448652, 0.014780404, 0.0191199202, 0.0046326844, 0.0375752859, 0.0134659549, -0.0684631765, -0.0172441769, 0.0284126643, -0.0515648425, -0.0034378378, 0.0298565403, 0.0220137201, -0.0261120033, 0.0254763458, -0.0080908779, -0.0103190178, 0.0168193541, -0.0429248698, -0.0852718577, 0.0155777549, -0.0647060871, 0.0338094942, 0.0726490617, -0.0398700275, 0.0032913275, -0.0487237461, 0.0260565821, 0.0170705654, 0.0057735615, -0.05340188, 0.0430126153, -0.0361531824, 0.0011114303, -0.06835448, -0.0134877888, -0.048806116, -0.0020742349, -0.0572581999, 0.0051316731, 0.0330758914, -0.0198692176, 0.00679537, -0.0312565193, -0.0637335703, 0.0150631685, 0.0433240868, -0.0180543158, 0.0166751314, -0.0020686982, -0.013859611, -0.0874806866, 0.0116049247, 0.0263811778, 0.006234752, -0.0112815024, -0.0305896085, 0.0543295518, -0.0542232953, -0.0240248218, -0.0324462727, 0.0192855634, -0.0174022019, 0.0017266308, -0.0572605692, -0.067402631, 0.0107424296, 0.0040161349, 0.0060994881, -0.0281241089, 0.0191840753, 0.0000816728, -0.0012436153, 0.0651777834, -0.0531993546, 0.0008195894, 0.0281654913, -0.0318737067, 0.0019216234, 0.0755941346, 0.064561151, 0.0099752638, 0.0238494538, 0.0052304789, 0.0198279805, 0.0475467369, -0.0176103339, 0.0351036005, -0.0486690812, -0.0401973613, 0.0376535356, 0.0747023672, 0.0009838372, 0.0520522334, -0.0463501029, 0.0099974964, 0.0350866988, -0.0179731939, 0.0042116758, 0.056357488, 0.0449676216, 0.011188603, 0.0137096709, 0.0048741871, 0.0178716909, 0.0139654828, 0.0218354017, 0.011612908, 0.0386546291, 0.0117751602, 0.0072174738, -0.0530725457, -0.0012005136, -0.0126268538, 0.0915827453, -0.0537459739, 0.0491774231, 0.0343874097, -0.046431262, -0.0521354266, -0.0146746868, -0.0440229736, -0.0096373446, -0.0487674437, -0.0951322019, 0.1054656059, 0.0498034693, 0.0329572558, -0.0336995497, -0.0080811754, -0.0116687361, 0.0581631549, 0.02444694, 0.0318017229, 0.0171491783, -0.0626457036, -0.0010760908, -0.0021334945, -0.0170432981, 0.0277212076, 0.0304156598, 0.0505532734, 0.0389638096, 0.0189467352, -0.0928037241, 0.0410746485, -0.063897498, 0.020619655, 0.0208427515, 0.0081898626, -0.0278347787, 0.0044354354, -0.0190919209, 0.0301007051, -0.0141565409, -0.0221562069, -0.0428405888, 0.0374752842, -0.0082098451, -0.019441681, 0.0263363943, -0.029992139, 0.0265186261, 0.0218047239, -0.0036165933, -0.0460249968, 0.0368047394, -0.073428683, 0.0629378855, -0.0217711125, 0.0802384093, 0.0039918534, 0.0062827915, -0.0222472213, 0.0214168187, -0.0026378985, -0.0103676766, 0.0090176547, 0.0086344089, 0.0561462715, -0.0083675152, 0.0044731186, 0.0081572309, 0.0101354597, 0.0159309264, 0.0202113241, -0.0057338723, -0.0336769298, -0.0432141162, -0.0445013568, -0.0028320875, -0.0106578348, 0.0254756846, 0.0263357703, 0.0334240906, 0.0001239423, -0.0151558872, -0.0267975535, -0.0201846268, -0.006015447, 0.0180939157, 0.029017048, 0.001720153, -0.0178664066, -0.0342863053, 0.0049043908, 0.0353695527, 0.011832118, 0.054455284, -0.0372855701, -0.055639077, -0.0110150874, -0.0127900857, -0.0089708976, 0.0253594313, -0.0533633083, 0.0363061987, -0.0226920079, 0.0164226275, -0.0168775469, 0.0110606533, -0.0221027769, 0.0136260986, 0.0053262631, -0.0338353962, -0.0373376384, 0.0128514636, -0.0747707263, -0.023177648, -0.0791446567, 0.0034112681, 0.0229627211, 0.0083130924, -0.0129709449, -0.0650251359, -0.0351048186, -0.0184230078, -0.022812305, 0.0194836818, -0.0189640522, -0.0076459278, 0.0848502964, -0.0298731625, -0.0358026512, 0.0433084294, -0.0201401282, 0.0105251167, -0.070849143, 0.0135272965, -0.0343442112, -0.0167647228, -0.0200434253, 0.0187698957, -0.0124518005, -0.0272925422, -0.0269007869, 0.0192869678, -0.0110480497, -0.0316168144, -0.0176063571, -0.0598077253, 0.0208895765, 0.0090114623, -0.0177833419, -0.0226148702, -0.0194734391, 0.0038227658, -0.0283011198, 0.0987442508, -0.0402445309, -0.0022189468, 0.015542578, -0.0096586458, 0.0651265308, -0.0226067323, -0.0068330336, 0.0012267565, -0.0246024095, -0.0178706292, -0.0181617849, -0.0250591002, -0.026274737, -0.0116360011, 0.0111712357, -0.0470603146, -0.020174522, -0.0803804174, -0.0003898344, 0.0300861709, -0.0117716677, -0.0456732698, -0.0569222532, -0.0155438958, -0.054269135, -0.0123075601, 0.0560007542, 0.0197607856, -0.0547893383, -0.0088548325, -0.0091548273, 0.0072867251, -0.0058936416, -0.0075742491, -0.1029758379, 0.0103748553, -0.0041311914, 0.0760121346, -0.0115926936, 0.0221752226, 0.0046046199, -0.0729787052, -0.0023123338, 0.0361824371, -0.0990193188, -0.0551717542, 0.0200454108, 0.0039644297, -0.0137843918, -0.0371731892, -0.0042754784, 0.0060719978, 0.0338748805, 0.0467743725, 0.0283456929, -0.0225719307, -0.0801147521, -0.0162354186, 0.0300729945, 0.0993841887, 0.023832038, -0.0189008974, -0.0332808457, -0.0112647805, -0.015890602, -0.0163664334, -0.0108889444, 0.0456972159, -0.013169962, -0.0065194792, 0.0306897834, 0.0078048483, 0.0125603806, -0.0029083989, 0.0123152379, -0.0034702932, -0.0079232287, 0.0412347019, 0.0235752314, 0.013257117, 0.0397580899, 0.0011531921, 0.0028142959, -0.0438795462, -0.0035953736, -0.0350658968, 0.0126625048, -0.1002760753, 0.0086029992, 0.0067178668, -0.0250831787, -0.0563701764, -0.1015688553, -0.0360514633, 0.0146022923, 0.0369783416, 0.0430450812, 0.0640936643, -0.0117416363, -0.0053217034, -0.0284604188, -0.0517091043, 0.0008377222, 0.0158863384, -0.0284878742, -0.0623079017, -0.005367117, -0.0848142207, 0.0621192679, 0.0079205623, -0.0977640897, -0.0553204641, 0.0290825069, -0.0016774138, 0.0204920713, 0.0495387986, -0.0177524965, -0.0354093164, -0.0111353323, 0.0083705513, -0.0323821306, 0.0392713994, 0.0424550697, 0.0393512584, -0.0166256242, 0.0405081548, 0.007414734, -0.0161206909, 0.0127918515, 0.0175969023, -0.0314453021, -0.0478649102, 0.0242575556, -0.0074274321, -0.0033731041, -0.0655338317, -0.0359544307, -0.004124783, 0.0385892317, -0.0226671528, 0.0038201157, -0.0286723487, 0.00366942, 0.0576151907, 0.0244715437, -0.002409237, -0.0078871986, -0.0368516073, -0.0450930707, -0.0030860247, 0.0337143466, -0.0113585079, 0.0463864021, 0.0364100114, 0.059081912, 0.0050776508, -0.0082922392, -0.0009652352, 0.0224660207, -0.0325543955, 0.0183905344, 0.0257144608, -0.0019629966, 0.0035264767, 0.0603485554, -0.0605192967, -0.0293451771, -0.0095950365, 0.0190786496, -0.0002901648, 0.007237751, 0.1040627137, -0.0125051243, -0.0123275649, 0.0145766782, 0.0288516805, -0.0080718128, -0.0012516398, -0.0602254607, -0.0186029579, -0.0108228503, 0.0476524495, 0.0529417507, -0.0089145536, -0.0058574057, -0.020217441, -0.0230931602, -0.0121959848, 0.0175918303, 0.0527192689, -0.0114315655, -0.0130569655, -0.0302515328, -0.0138979023, -0.0671906471, 0.0140775787, 0.040561568, 0.0162556879, -0.0136744846, -0.0008349222, 0.071912013, 0.0020375222, 0.0462780893, -0.0763041899, 0.0385275893, 0.0673246831, -0.0547456853, -0.0300191399, -5.572110648e-33, 0.0261037052, -0.0001286759, 0.0094501497, -0.0220568459, -0.0298038591, -0.0064873639, -0.0324755721, 0.0025783053, 0.0484712236, -0.0149213625, -0.0114550469, -0.0036747388, 0.0207257196, 0.0070868288, 0.0572240166, 0.0329473279, 0.0519790724, -0.0031224489, -0.0204802938, 0.0272024758, 0.0395126007, 0.0447329544, 0.0679001808, -0.045139458, 0.0798057467, -0.0383245945, -0.0230564047, -0.0341404676, 0.0073767314, 0.0285103898, 0.0184572749, 0.009736537, 0.0105333021, -0.0391999148, -0.0214938819, -0.0081650047, -0.03053765, 0.0333338827, 0.0209936276, 0.0655370057, -0.0262024403, -0.0389779769, 0.0325578228, -0.0552996546, -0.0165293664, 0.0555247962, -0.0070145358, -0.0605362356, -0.0182570294, 0.0179366749, -0.1284647435, 0.0439071953, -0.0169715639, -0.0017301083, 0.0409591645, 0.0766445771, -0.0392982736, -0.0069429963, -0.0509957001, 0.0287831407, 0.0592797995, 0.0142573165, 0.0437864885, 0.0413793474, -0.0426422618, -0.0007228339, 0.0377551578, -0.0029783661, 0.051343672, 0.0536645316, 0.0414135829, -0.0284751672, 0.0407198071, 0.06184268, 0.0543673597, -0.0506067835, -0.0203746762, 0.0293039158, -0.0255328137, -0.0194697697, 0.0312762372, 0.0344920866, -0.0542870983, -0.0194191504, -0.0064096721, -0.0465138182, -0.0077550951, -0.0465474613, 0.0032882397, 0.0245479476, -0.0617697835, 0.0516452119, 0.0088291653, -0.0102771474, 0.0203939285, -0.0012227556, -0.0425284877, 0.0381257124, -0.0100049842, 0.035446424, -0.0362248421, -0.022392882, 0.0566671155, 0.0437157191, 0.0328788199, -0.0172025096, 0.0439896435, 0.0290266406, -0.0519834273, 0.0186399072, -0.0366661102, 0.0007744952, 0.0000743805, 0.0019361244, -0.00596342, -0.006786508, 0.0129032647, -0.0015443866, 0.0231079645, -0.0169750378, -0.0351669602, -0.0388411544, 0.0069004609, -0.0096707456, -0.0516421683, 0.018190071, -0.013606647, 0.0214655418, 0.0323174261, -0.0615099892, -0.0230794623, 0.0290339161, 2.88e-7, 0.0705866069, 0.0304332022, 0.0284458566, -0.0345088802, -0.0040022931, -0.0203743335, -0.026083922, 0.0054623964, 0.0552327484, 0.0519982986, 0.0321814753, 0.0166311823, 0.0811256915, 0.0039046186, -0.0390603058, -0.0454789959, 0.0036532423, 0.0543387309, -0.051095143, -0.0086699845, 0.0620328672, 0.098099649, -0.0271944292, 0.0028310977, -0.0067946496, 0.01433641, 0.0176077243, -0.0088315858, 0.0054030591, -0.021485636, -0.0020994882, 0.0353057049, -0.0300865844, 0.0077853575, -0.0468921736, -0.0173329506, 0.0556445718, 0.0288530942, 0.0192461181, 0.0345177464, 0.0147042042, -0.0045205723, -0.0166377053, -0.0420525968, 0.0531815328, 0.0109816408, 0.0205542427, 0.0050500594, -0.0137037449, 0.0714340135, 0.0156549253, -0.0557793118, -0.0396605022, 0.0270475652, 0.0540241338, 0.0372493267, -0.0328221843, -0.0148773566, 0.0098585142, -0.040874403, 0.008136129, -0.0482787192, -0.0376542583, 0.0301749781, -0.0197082572, 0.0014891833, 0.0111088669, 2.231946021e-34, 0.0464325398, -0.0241853688, 0.0066788611, -0.0229998548, 0.0403397232, -0.0209975019, 0.0237450898, 0.0613396503, -0.0015656169, -0.0328169391, -0.0260735713 ]
http://arxiv.org/abs/2310.15259v1
http://arxiv.org/pdf/2310.15259v1
Reference Free Domain Adaptation for Translation of Noisy Questions with Question Specific Rewards
2023-10-23T18:08:01
2023-10-23T18:08:01
Baban Gain, Ramakrishna Appicharla, Soumya Chennabasavaraj, Nikesh Garera, Asif Ekbal, Muthusamy Chelliah
cs.CL
cs.CL, cs.AI, cs.LG
Community Question-Answering (CQA) portals serve as a valuable tool for helping users within an organization. However, making them accessible to non-English-speaking users continues to be a challenge. Translating questions can broaden the community's reach, benefiting individuals with similar inquiries in various languages. Translating questions using Neural Machine Translation (NMT) poses more challenges, especially in noisy environments, where the grammatical correctness of the questions is not monitored. These questions may be phrased as statements by non-native speakers, with incorrect subject-verb order and sometimes even missing question marks. Creating a synthetic parallel corpus from such data is also difficult due to its noisy nature. To address this issue, we propose a training methodology that fine-tunes the NMT system only using source-side data. Our approach balances adequacy and fluency by utilizing a loss function that combines BERTScore and Masked Language Model (MLM) Score. Our method surpasses the conventional Maximum Likelihood Estimation (MLE) based fine-tuning approach, which relies on synthetic target data, by achieving a 1.9 BLEU score improvement. Our model exhibits robustness while we add noise to our baseline, and still achieve 1.1 BLEU improvement and large improvements on TER and BLEURT metrics. Our proposed methodology is model-agnostic and is only necessary during the training phase. We make the codes and datasets publicly available at \url{https://www.iitp.ac.in/~ai-nlp-ml/resources.html#DomainAdapt} for facilitating further research.
[ 0.0455252677, 0.0446577333, -0.0134201366, 0.0486758538, -0.0189843662, 0.0285928808, 0.0271875914, -0.0125254923, -0.0036526716, -0.0193849728, -0.038946934, -0.0266566109, -0.0265315417, 0.0009745774, 0.026178509, -0.0273434445, 0.0204144493, -0.0022751444, -0.0312103685, -0.0108603109, -0.0023919817, 0.0175660308, 0.0008372547, 0.0173827037, 0.0174608137, 0.0115139242, 0.0201827977, 0.0440086164, 0.0344805941, -0.0072358875, 0.0447223373, 0.0300751589, -0.0041075866, 0.0681235045, 0.0000020191, -0.083496809, -0.0274687614, 0.0115981624, -0.0217576399, -0.0326486938, 0.0128074363, -0.0196723901, 0.0189342462, 0.0532299988, -0.0507656932, -0.0181616247, 0.0474875271, 0.0094740754, 0.0697523728, 0.0904735029, -0.0097112302, -0.0165983401, -0.0234410111, -0.0394232422, -0.0150994696, -0.0658536255, 0.0029192474, -0.0011246827, -0.0274625123, 0.0101663396, 0.0085826283, 0.0464545153, 0.0263300184, -0.0448601879, 0.0013379231, -0.0161357895, -0.0126497084, -0.0218239594, -0.0100918617, 0.0928415656, -0.0191932861, -0.0134464651, -0.0051083202, 0.009770452, 0.0358791165, 0.0155345509, -0.0488169529, -0.0005119764, 0.0200564377, -0.0298116896, 0.0062074568, 0.0125752594, 0.0158308465, -0.0163413715, -0.0347009376, 0.0174790006, 0.0226189625, -0.0247301776, 0.0063887513, 0.0239027068, -0.0351553932, -0.0072443062, 0.0779034793, 0.0226431917, -0.0191619731, 0.0243212823, -0.0235297885, -0.075539276, -0.0034140756, -0.0655414611, 0.010144515, 0.029318057, -0.0223642513, 0.0611559153, -0.0351823233, 0.026064761, -0.0271774586, 0.0282967631, -0.064243108, -0.0468160287, -0.0192692, 0.0171209164, -0.0375852287, 0.0299404114, -0.0657122806, 0.0312970243, -0.0142832166, 0.0276239868, 0.0184789151, 0.0108368574, 0.0486789569, -0.0060685994, -0.0581645817, -0.0147514176, -0.0171899386, 0.0572725944, -0.0416680612, -0.0050396957, 0.0103914188, -0.0499970168, -0.0236563887, 0.0276395176, 0.0193554293, -0.0460497551, 0.0096396012, 0.0615701862, -0.0000519866, -0.022227535, -0.0123696849, 0.0070522614, -0.0175429769, -0.0220954809, 0.0203420781, -0.0510946326, 0.0568194464, -0.0012227163, 0.0225405768, -0.031932205, 0.0054887459, 0.0198221877, 0.0058501363, 0.0606431924, -0.0211395286, -0.0111015309, 0.0837435424, -0.0024784615, 0.0093151173, 0.0568884462, 0.0350627452, -0.0088918917, 0.0268810708, -0.0152043458, -0.0176303722, 0.0425987728, 0.0278685652, 0.0072312201, 0.0207766891, 0.0681627914, 0.0036285885, 0.0335712433, 0.0231806617, 0.034593489, -0.0015590223, 0.0000603619, 0.0407176167, 0.0125265019, -0.0169052389, 0.0139164915, 0.0120620886, 0.0050934302, -0.0144302603, -0.0179239921, -0.0203974079, 0.0174438618, -0.0230429806, -0.0191375092, 0.0230048653, 0.0247582626, -0.0388492532, -0.0479672812, 0.0015588448, -0.0161515716, 0.0116683245, 0.0146486508, 0.0381151885, 0.0360474922, -0.024863461, 0.0414470807, 0.0034887448, -0.0239218418, 0.0450334176, -0.0228365585, -0.010620431, -0.014337441, 0.0380724296, -0.0325014032, -0.0483213514, -0.0612379909, -0.0063437615, 0.0965235531, 0.04421461, -0.0108898217, 0.013400685, -0.0511898659, -0.0125799775, 0.0132939722, 0.0010495839, 0.0249247607, -0.0006686738, 0.0110566448, 0.0324441828, -0.0508757383, -0.0589062348, 0.0201420169, -0.0299648922, -0.0419318676, 0.0552847609, 0.0072226212, 0.0099377604, 0.0385085344, -0.0030083458, -0.021535119, 0.0128740119, -0.0471635088, -0.0442810468, 0.0032210534, -0.0428342856, -0.0672684684, 0.0442313738, -0.0578380972, -0.0288279932, 0.0809751451, -0.0579888411, -0.045032654, -0.0072923782, -0.0385711156, -0.024682492, -0.0389178507, 0.0105225202, 0.0000978981, -0.0146885421, -0.0649893731, 0.0396972708, -0.0006778616, 0.0224677939, 0.0050704181, -0.0230269898, 0.0435574688, -0.0168996695, -0.0013712905, 0.0080953892, -0.0228317641, 0.0334635489, 0.0461963788, 0.0432237685, -0.0510665849, -0.0044115321, -0.0567898005, 0.0250134468, -0.0421353169, 0.0534935519, 0.0727408156, 0.0697919205, -0.0087335417, -0.0325697288, -0.0670485646, -0.0045174761, -0.0120993983, -0.0057684481, 0.049870871, 0.0082592806, 0.043527469, -0.0151644722, -0.0073435833, -0.0054983101, 0.011275026, 0.0229867958, -0.0283328947, -0.0804094523, 0.0471007377, -0.0188066252, 0.0182559378, 0.0133379623, -0.0487483107, -0.0256751347, -0.0218917001, 0.0509409942, 0.0357819945, 0.001532599, -0.0301144402, -0.0104675842, 0.0396441594, -0.0628862008, 0.0257836934, -0.0482956767, -0.0489669666, -0.0439201333, -0.0436195359, 0.0559959747, 0.018312186, -0.0005173869, -0.0195602793, -0.0749948919, 0.0193337258, -0.0471341312, -0.0205528121, -0.0563827008, 0.0563816242, 0.0057552387, 0.0379082896, -0.0048377817, 0.0092953593, 0.0699636266, 0.0063071107, -0.0065007419, -0.1074384004, 0.0097336508, -0.0551631115, -0.0151579464, -0.0242976043, 0.040480867, -0.0014991005, -0.0661422238, -0.0419799015, 0.0085632754, 0.0043667685, -0.0133540314, 0.0006986223, -0.0478313193, -0.011339834, -0.0087960325, -0.0469965376, -0.0316536129, -0.0116140265, 0.0156639684, -0.0133517077, 0.0095206089, -0.0111707821, -0.0242561605, -0.0109029729, 0.01918591, 0.0778327957, -0.0219821427, -0.0088836662, -0.0229206905, 0.0849562585, 0.0521347411, 0.0642316192, 0.0424241722, -0.0445446633, 0.0059463647, 0.0156972315, 0.0316002965, -0.0071530915, 0.0217373148, -0.0318099447, 0.050395038, -0.0201033056, 0.0036942894, -0.0057384525, 0.0834594071, -0.0131167928, -0.0542277358, 0.1166757196, 0.0300404504, -0.0377969779, -0.0295570008, -0.0576478206, 0.0331778489, 0.0303772558, 0.0506910123, -0.0743484125, -0.0130394753, -0.0176412817, 0.0715234056, 0.0340069868, 0.0070065442, 0.0047780438, -0.1229946613, 0.005574734, 0.0006392144, -0.0315675214, -0.0324111693, -0.0304407701, 0.0016917079, -0.0199740455, 0.0364567898, -0.0150731849, 0.0387916453, -0.0108495438, 0.0388692319, 0.0195225365, -0.0586014614, -0.0234729201, -0.0548141375, 0.0459297337, 0.069652386, 0.0203690939, -0.0254034903, -0.0020723129, 0.0344256908, -0.0483237728, -0.0147071583, -0.0211362951, 0.029373765, 0.0194729958, -0.0274629295, 0.0123177692, 0.0313514471, -0.0491869748, 0.0683650672, 0.0518883839, 0.0530117378, 0.0071910196, 0.0118822297, 0.0228874087, -0.0314150378, 0.0072010383, 0.0497383587, 0.0236147437, -0.0605829842, 0.0370634571, -0.0189068485, -0.0306084566, -0.0567830391, -0.0049026129, 0.0252366979, -0.012140899, -0.0227249544, -0.1059138477, -0.0801659673, 0.0317741111, 0.0336000286, 0.0212736819, -0.0232597347, 0.0263549797, -0.0126191974, -0.0213218313, 0.0419986248, -0.0663236901, -0.0014784571, -0.0593560264, 0.0272440258, 0.0082633989, -0.0371513367, -0.0097231986, -0.0031351051, -0.0838229656, -0.0537919849, -0.0180236734, 0.0817972496, 0.0148964133, 0.0286851395, -0.0715116784, -0.0535926335, -0.0013242821, 0.0170470439, -0.0208061356, -0.0138585977, 0.018665662, 0.0016214038, -0.0195436329, 0.0428392403, -0.0306759514, -0.002915598, 0.0239458084, 0.0557842664, -0.0098240459, -0.0321755446, 0.0586118512, 0.0322532542, 0.0254613664, 0.0119203357, -0.0252558645, -0.0433621146, 0.0334603339, -0.0084112985, -0.0132857915, -0.0209279209, -0.010144229, 0.0582376868, -0.0174234752, 0.0007573667, -0.0032773779, -0.0420890227, 0.003739994, -0.0604965538, -0.0076077296, -0.0003272418, 0.0312677063, 0.0032183232, 0.003226734, -0.0224075373, 0.0270477366, 0.0359753035, 0.0568388551, -0.0138816545, 0.0545459092, 0.0222915486, -0.0016836185, 0.0510523245, 0.025729185, -0.014085548, -0.0173873492, -0.0228487216, 0.012169471, 0.0537081137, 0.02527586, 0.091278635, 0.0139386235, -0.0122195426, -0.0085757738, 0.019011097, 0.0335720517, -0.0073907729, 0.0418204367, -0.0148432748, 0.0096006952, 0.0013899201, 0.0513084568, -0.0265996698, 0.0152515741, 0.0110471332, 0.0280652065, -0.0646977797, 0.0145115294, 0.0062290267, 0.0082071358, -0.0268791411, 0.0131833404, -0.0061851121, -0.0583567061, -0.0040353481, 0.0057174917, 0.0068007186, -0.0094325477, 0.0248169936, 0.0479584895, -0.0432985127, -0.0206934866, -0.0423335508, 0.0393909961, -0.0185857136, -0.0266265348, -0.0268501453, -6.663696743e-33, -0.0235360358, 0.0041042059, -0.0032956144, -0.0331611335, 0.0127740605, -0.0407810137, -0.0347200818, -0.0212791581, -0.045725219, -0.0166167822, -0.0117332591, 0.0313164927, 0.0176460687, 0.0314657427, -0.0232731048, -0.0555561259, 0.0401057899, 0.0027487716, -0.0286159366, 0.0376866274, 0.0038109252, 0.0344283096, 0.0786358193, -0.0752407536, 0.0621614605, -0.020582756, -0.0071123717, 0.0654310435, 0.029476719, 0.0174162239, 0.0020400505, 0.0366648957, 0.0263606105, -0.0314052068, 0.0016382156, -0.0028770971, -0.0985974148, -0.0205875821, 0.0088098748, 0.0424819626, -0.0288947131, -0.0440278128, 0.0458605886, -0.0300158579, 0.0288197212, 0.0039058789, 0.0279765166, -0.0339200422, 0.0258994941, -0.0361428112, -0.0304867048, 0.0129805477, -0.0103956694, -0.0189565308, -0.0378635488, 0.1089012623, -0.0198061801, -0.0094893975, -0.0787406117, -0.0186191257, -0.0057749492, 0.0419846736, 0.0593281165, 0.0119779473, -0.0349027701, -0.021563638, 0.0110890875, 0.0187508017, 0.0524630211, -0.0013039733, 0.0218136162, -0.0440105125, 0.0845150799, 0.0442297161, 0.0305609964, 0.0012211401, -0.0859132111, 0.0642621294, -0.0118888756, -0.0096639208, -0.0080664046, -0.004445279, -0.0255838372, -0.0029620079, -0.0403745435, 0.0240111593, -0.0439680219, -0.008142041, 0.0351190455, -0.0278767124, -0.0571177006, -0.0174264405, 0.0242158249, -0.0145598343, 0.0297323931, -0.0188089125, 0.0362907238, -0.0027225425, -0.0011697913, 0.0656169578, -0.0159278102, 0.0033507731, -0.0051818117, 0.0224365294, -0.0014625633, 0.016471602, 0.0283846352, 0.0038262238, -0.0532862581, -0.0014077871, -0.0387469232, 0.036407534, -0.019647425, 0.0599511564, -0.0061554429, 0.0035989329, 0.0046235989, 0.0231746379, 0.0520570688, -0.0133752199, -0.0246926881, 0.0340972915, 0.0174528304, 0.0168185867, -0.0515379235, -0.0197831877, -0.0146423159, 0.0575375482, 0.0146681154, -0.0830163583, -0.0202228129, -0.0399845988, 2.831e-7, 0.0648717657, 0.0683727339, -0.0064424672, 0.0187828559, -0.0155010382, 0.0259326659, -0.001502495, 0.0573232546, 0.0554104634, 0.018783249, -0.0025398002, -0.0156933907, 0.0670087859, 0.0026800367, -0.1197373942, -0.0766462758, 0.0008756657, 0.0375022739, -0.0216217507, 0.0404076613, 0.0436863825, 0.0744873509, 0.0094199143, 0.0040127276, -0.0261502173, -0.0544287413, 0.0433046855, 0.005175862, -0.0391539484, 0.0106453793, 0.0287985243, 0.0313401744, -0.0116304923, -0.0061616316, -0.0282101743, 0.0406203531, 0.0282958392, 0.0552551076, 0.0118884761, -0.019930426, -0.0021444608, -0.0141545208, 0.0170543585, -0.046365533, 0.0403796919, -0.0620419569, -0.0258573759, 0.0240470357, -0.0148101831, -0.0215622634, 0.0233586151, -0.0473720506, -0.0484864861, -0.0038726905, 0.0557922088, -0.004824392, -0.0089226607, -0.0416129865, -0.0217978507, -0.0270888414, -0.0173174143, -0.0480120666, -0.0090456214, 0.0122091146, -0.0425429717, -0.0407472998, 0.0375432968, 2.54890292e-34, 0.0443060435, 0.0014791398, -0.0011295794, 0.0010404775, 0.0306143202, -0.0231158007, -0.0008625219, -0.0153980786, 0.0292074624, -0.0804631859, -0.0150266299 ]
http://arxiv.org/abs/2310.15258v1
http://arxiv.org/pdf/2310.15258v1
Breaking the Language Barrier: Improving Cross-Lingual Reasoning with Structured Self-Attention
2023-10-23T18:06:38
2023-10-23T18:06:38
Negar Foroutan, Mohammadreza Banaei, Karl Aberer, Antoine Bosselut
cs.CL
cs.CL
In this work, we study whether multilingual language models (MultiLMs) can transfer logical reasoning abilities to other languages when they are fine-tuned for reasoning in a different language. We evaluate the cross-lingual reasoning abilities of MultiLMs in two schemes: (1) where the language of the context and the question remain the same in the new languages that are tested (i.e., the reasoning is still monolingual, but the model must transfer the learned reasoning ability across languages), and (2) where the language of the context and the question is different (which we term code-switched reasoning). On two logical reasoning datasets, RuleTaker and LeapOfThought, we demonstrate that although MultiLMs can transfer reasoning ability across languages in a monolingual setting, they struggle to transfer reasoning abilities in a code-switched setting. Following this observation, we propose a novel attention mechanism that uses a dedicated set of parameters to encourage cross-lingual attention in code-switched sequences, which improves the reasoning performance by up to 14% and 4% on the RuleTaker and LeapOfThought datasets, respectively.
[ -0.0232120641, 0.0177132878, -0.0266136266, 0.0573902763, -0.065377757, 0.0135859344, 0.0545937046, -0.0319485813, 0.0422834307, -0.038508568, -0.0289159883, 0.0029646156, -0.0281034727, 0.0183980949, 0.0433557145, -0.0163511131, 0.0761616677, -0.0727568343, 0.022957541, -0.0221789386, -0.0139907459, -0.0140213007, 0.0307675023, 0.0000968794, 0.0028653536, -0.0369428471, -0.0108538093, -0.009673899, 0.0175528023, -0.0174357649, -0.0090873474, 0.0404465944, 0.01075524, 0.0123407738, 0.0000020499, -0.0439887531, 0.0027370923, -0.0388955623, 0.0032256567, -0.0192813631, -0.0364056751, -0.0190831535, 0.0028997408, -0.0049637719, -0.0374022759, 0.0028339401, 0.0272083301, 0.0150554664, 0.051749438, 0.0689030811, 0.0012143576, -0.0300382022, 0.0025637201, -0.0482164249, 0.0360850953, -0.0473414585, 0.0091569424, 0.0507776216, 0.00925186, 0.0042454405, -0.0297877435, 0.0506871976, 0.0641303435, 0.0105658062, -0.0320685841, 0.0270631034, -0.0460398905, 0.0048847562, -0.0012530874, 0.0605491176, -0.076120764, -0.0501700938, -0.027534185, -0.0043230834, 0.0173697844, -0.0353992246, -0.0426429212, 0.0384612903, -0.0001678518, 0.0052357707, 0.0752374157, -0.0057913326, 0.0287353694, -0.0255577117, -0.0738132223, 0.1399776042, -0.0090286825, -0.0351625569, 0.0126457745, -0.0144891981, 0.033531446, -0.0541445389, 0.0035086682, 0.0297516566, 0.0103723342, 0.0259274282, -0.025349509, -0.011555383, 0.0038381629, -0.0406178162, 0.0103258695, 0.042969577, -0.0329098888, 0.0893112794, -0.0663066879, 0.0352988504, -0.0242730752, 0.0711483285, -0.020881597, -0.0244874395, -0.0259048138, -0.0012944385, -0.0494857393, 0.0037873492, -0.0127175953, 0.0003553659, -0.0057786675, 0.026120102, -0.0145396236, -0.0007859576, -0.0027433843, -0.0515142754, 0.0014546731, -0.0525522158, -0.0063509666, 0.0250240956, -0.0619892105, -0.017681852, 0.0201461408, -0.0489692837, -0.0366663001, 0.0075024851, -0.0228801761, -0.0402704626, 0.0069580129, 0.0758509412, -0.0079258271, 0.0031543248, -0.0493578389, -0.0137853334, 0.001689148, -0.0720493346, 0.0346397199, -0.0719915628, 0.02853713, 0.0014190495, -0.0082913078, -0.0515688099, 0.0148866456, 0.0178269222, -0.0100152744, 0.0632156357, 0.0267161373, 0.0090819737, -0.0200441144, -0.0223994851, -0.0449372493, 0.0909843221, 0.0147061264, -0.0311531425, 0.0319158584, -0.0473355725, -0.0167226009, 0.0131942285, 0.0390111282, -0.014691731, -0.0213402957, 0.0258548111, 0.0112115918, -0.0007542379, 0.0175928306, 0.0093370127, -0.0153768901, -0.0252518635, 0.0148347057, 0.0358145535, 0.045956742, 0.0273064431, 0.0360545218, -0.0480989926, -0.0319873989, 0.027643051, -0.078291811, 0.0905637294, 0.0083869742, 0.0163043849, 0.0023064106, 0.0381487533, -0.0411098674, -0.0578821935, 0.0076904902, 0.0010711643, 0.0426468663, 0.0468358435, 0.0569835827, 0.0135010378, -0.0064588753, 0.0452810302, 0.037806496, -0.0565656908, 0.0010915926, -0.0299478602, 0.0236391574, 0.0338909142, -0.0195121076, -0.0207660757, -0.0234470125, -0.0146504436, 0.0446969904, 0.0117768757, 0.0486892723, 0.0290721543, 0.0046599195, -0.0351638198, -0.0036367909, -0.0544966273, -0.0194872692, 0.0498137325, -0.0182865467, 0.0324614756, -0.0094373487, -0.0188867059, 0.0106901936, 0.0143907182, -0.053046409, 0.0113120284, -0.0061967461, 0.0204725545, 0.0035872404, -0.0004451826, 0.0338680483, 0.0374945514, 0.0184661578, -0.0521043427, -0.0312162545, 0.0218046177, -0.0584553257, -0.0535831191, 0.0294013638, -0.047990296, -0.0384227559, 0.004242375, -0.0055192341, -0.0340229049, 0.0485846289, -0.0182882883, 0.0091778841, -0.0310783386, 0.0211514235, 0.0349496379, 0.0289333854, -0.0096501121, 0.0766910091, -0.0057578934, 0.0292146485, 0.007988384, -0.0002641357, 0.0395281054, -0.0387645438, 0.0239594504, 0.0406543091, -0.026524622, -0.0169702508, -0.0060054921, 0.0203531254, -0.0495352782, 0.0006979653, -0.0282779038, 0.0015212867, -0.0452667177, 0.0145841707, 0.0007378587, 0.0129613383, 0.0036267124, -0.0336468406, -0.0731532052, -0.0101167466, 0.0007433127, 0.0309265424, 0.0229215026, -0.0407133475, 0.0298423935, -0.0053845281, -0.0384165309, -0.029883733, 0.0322973281, -0.0119625283, 0.004276643, -0.0648771152, -0.015792001, -0.052547805, 0.0099779051, -0.0382019803, -0.0164844729, 0.0013774122, -0.0042831874, 0.0365604572, 0.123822853, -0.0329770409, -0.049498003, 0.0822621956, -0.022346722, -0.0484018363, 0.0745069906, 0.0255511776, 0.0275710821, -0.014450416, -0.0060389219, -0.006696098, 0.0665093809, -0.0259769633, -0.0118380841, -0.0841092095, 0.0130811809, 0.0103992932, -0.0320743173, -0.0077816844, 0.0207399949, 0.0088564996, 0.085236229, -0.0294831786, -0.0109431976, 0.1016615108, 0.0207767133, -0.0298243184, -0.0641074777, 0.0319834538, -0.0495455265, 0.0449283272, -0.0045081051, 0.0363115259, 0.0087449737, -0.0129070664, -0.0489798412, -0.0057721017, 0.0221705381, -0.0015186891, 0.0768996626, -0.0201192312, -0.0055118715, -0.0175837763, -0.0538245961, -0.0228048209, 0.0303330906, -0.030723175, -0.0065029347, -0.0125203487, 0.0098358644, -0.0333667435, 0.0060782661, 0.0365092121, 0.0334564224, -0.0032921603, 0.0148922326, -0.0009924618, -0.0127818212, 0.0041678539, 0.0058090058, 0.004215674, -0.0204886682, 0.0337796733, 0.0293143038, 0.0150726922, -0.0277792308, 0.0278777163, 0.0260604043, 0.0349711627, -0.0129294414, -0.0263298806, -0.00143234, 0.0643228665, -0.0831816345, -0.0049466519, 0.0733825713, 0.0209067669, 0.0025681534, -0.0051210602, -0.0920036584, 0.0219722223, 0.046248544, 0.0466432609, -0.0624290891, -0.0442097411, 0.0143283913, -0.032474041, 0.0442661829, -0.0229942892, -0.0025079029, -0.0976004899, 0.0107107051, 0.020170575, -0.0666694865, -0.0505386032, -0.0220211241, -0.0140467072, 0.0158115234, -0.0078829033, 0.0095256623, 0.0181959737, -0.0215510577, -0.0194732994, 0.0044727921, 0.0055366368, 0.0581047498, -0.0223052464, 0.0136221359, 0.0404590927, 0.0258959159, -0.0013894228, -0.086066775, 0.0183514059, -0.0056527047, -0.0075891726, -0.0124353832, 0.0187238436, -0.005090273, -0.0264366064, 0.0116525833, 0.0344744064, -0.0297264494, -0.023246659, 0.0386140123, 0.1078697369, 0.0249738321, -0.0580903031, -0.0122171668, 0.0195489023, -0.0268862303, 0.0526463315, 0.0283470619, -0.0302257929, -0.0468526818, -0.0556086823, -0.0135326218, -0.0601727478, -0.0307210162, 0.0374117382, 0.0246143676, -0.0539781675, -0.0403798968, -0.0759570152, 0.0433395877, 0.0275577996, 0.0069753705, 0.0060572792, 0.0187751669, -0.0027002196, -0.0057683969, 0.0169777144, -0.0478903316, 0.0070792385, -0.0380264819, 0.0146169625, -0.0065836068, -0.0289440695, 0.0037664811, 0.0091407765, -0.0510747284, -0.0598567724, -0.0224689376, 0.0632617548, 0.0123387286, 0.0513426289, -0.0213628411, -0.0126187429, -0.0339143798, -0.0585292913, -0.0189990271, -0.0048525366, 0.0775790513, -0.014974012, 0.0230617486, 0.070948042, -0.0177376587, 0.0227648448, 0.0148863886, 0.046262417, -0.0468644239, -0.0003780296, 0.0181439873, 0.0001969059, 0.0235372111, 0.0328675807, -0.003876488, 0.0023123953, 0.0554397777, -0.0258848183, -0.020922659, -0.0024477958, -0.0114919133, -0.0013560549, -0.0542451553, 0.0246936884, 0.0003867438, 0.0036943511, -0.0476706736, 0.0024040414, 0.065681681, 0.035772562, 0.058675766, 0.0089797024, -0.0247062761, -0.012506892, 0.0023799012, -0.0078961682, 0.0509519503, -0.034272898, 0.0594747812, 0.0198175851, -0.0069861156, 0.0023211709, -0.0263746511, -0.069813095, -0.051728297, 0.085510157, -0.050731454, 0.0620214902, -0.0062643895, 0.0161449835, 0.0166539364, -0.0224901978, -0.0094397655, 0.0412645489, 0.0427597053, -0.0400641151, 0.0150576271, 0.0168545153, 0.0038906278, -0.0322385579, 0.0482862964, -0.0288231671, 0.012765442, 0.0168391075, 0.0113186818, -0.0331495292, -0.0192463957, -0.0135149704, 0.0008659184, -0.0154229952, 0.0331177637, -0.0501143038, -0.0885992274, 0.0096835531, 0.0441502258, 0.011966398, 0.0072701066, -0.0052836565, 0.0778356269, 0.006298048, -0.0341640897, -0.0334669016, 0.0419580489, 0.0323943086, -0.0288705174, -0.0145704607, -5.726562157e-33, 0.002657698, -0.0044611502, 0.0275874957, -0.0096641276, 0.0241617523, -0.0482738018, -0.0622109249, 0.002934671, -0.0574409328, 0.002301777, -0.0233981609, 0.0178888403, 0.000282465, 0.0117018232, 0.0394459665, -0.0337417163, -0.006508511, 0.0202231426, -0.0258252118, 0.0048637739, 0.0161755718, 0.0156116914, 0.0692158192, -0.0046644891, 0.0276600812, 0.014999751, 0.0357843488, 0.0077341958, -0.0715708807, 0.0443669483, 0.0274830349, 0.0022961106, 0.0317413807, -0.0277515743, -0.0251798984, 0.0215677898, -0.0893379077, -0.0542442948, 0.0435166471, -0.0033592533, -0.0354991145, -0.0537712052, 0.0243897755, -0.0028814874, 0.0435505994, -0.0642433539, 0.0129026854, -0.0223830342, -0.0102500515, 0.0159689281, -0.0512149036, 0.0172827654, -0.0311198831, -0.0115078315, 0.0409969687, 0.0774566159, -0.0024467083, 0.0158758648, -0.0451790281, 0.0384369716, -0.011174242, 0.0069119949, 0.0825112462, -0.0130760232, -0.0083999662, 0.0082585802, 0.0464748107, 0.0083740447, -0.0075552207, -0.0056501734, 0.0325922631, 0.0393009037, 0.0617674999, 0.0203106441, 0.0079737809, 0.0029926302, -0.097365357, -0.0453492925, -0.0085232425, 0.04590296, 0.0157105289, 0.0034664955, -0.0347026885, -0.0031132142, -0.0262439586, -0.0096229827, -0.0470765084, -0.0461077206, 0.0344496779, -0.0339965634, 0.0094045075, -0.0086272731, 0.0537313186, -0.0158333462, -0.0194969848, 0.0401873253, 0.0287011545, -0.0160176195, 0.0063115247, 0.0724973679, -0.0517377667, 0.0225863755, -0.0186327491, 0.0068758274, 0.0249231756, 0.0142701846, 0.0744544342, 0.0048752162, -0.0649807304, -0.0407845154, -0.0532272235, 0.015907608, 0.0121526737, 0.0494989343, 0.0525971539, 0.0285329148, -0.0046626562, 0.0385257788, 0.0102989553, -0.0586499795, -0.0790590271, 0.0117551414, -0.0090301838, 0.0510704592, -0.0115799904, -0.0026056629, -0.0770353228, 0.0397914015, 0.0139234224, -0.0316705108, -0.0202339981, 0.0774012506, 2.635e-7, 0.0252109561, 0.0226014871, -0.0278590973, 0.0465991572, 0.0127308462, 0.0314908586, -0.0730325952, 0.0009246403, 0.0428212322, -0.0208183732, -0.0443249382, 0.0635419637, 0.0310941506, 0.0209231339, -0.0760575756, -0.0119664269, 0.0136754541, 0.0007296734, -0.0079002799, -0.0166949239, 0.0503294356, 0.0864081085, 0.0009255875, 0.0303425528, 0.0275138952, -0.0189619213, 0.0348576382, -0.0107218334, -0.0140297003, -0.0200022142, -0.0167408809, -0.0079690386, -0.0113758836, 0.0451818779, -0.0063358145, 0.0078548416, -0.0012176033, 0.0631820858, -0.0090635819, -0.0135914739, -0.0346419849, -0.0127203828, -0.021841649, -0.0775054917, 0.0976901948, -0.0359975398, -0.022627309, 0.0126189319, 0.0013837136, 0.0234331246, 0.0415660404, -0.0020372148, -0.0449596047, 0.0031410905, 0.0307430755, -0.0147247659, 0.0337431468, -0.063239567, -0.0394012481, 0.0083558764, -0.0080619939, 0.0119086523, -0.0504382849, -0.0031432975, 0.0258366261, -0.0216503851, 0.0021093541, 2.156456325e-34, 0.0153923463, -0.0158933122, 0.0061648088, 0.0073331809, 0.0230150204, -0.0570310839, -0.0141131505, 0.0018118022, 0.0250525009, -0.0286796819, -0.0251910333 ]
http://arxiv.org/abs/2310.15239v1
http://arxiv.org/pdf/2310.15239v1
CRoW: Benchmarking Commonsense Reasoning in Real-World Tasks
2023-10-23T18:00:23
2023-10-23T18:00:23
Mete Ismayilzada, Debjit Paul, Syrielle Montariol, Mor Geva, Antoine Bosselut
cs.CL
cs.CL, cs.AI
Recent efforts in natural language processing (NLP) commonsense reasoning research have yielded a considerable number of new datasets and benchmarks. However, most of these datasets formulate commonsense reasoning challenges in artificial scenarios that are not reflective of the tasks which real-world NLP systems are designed to solve. In this work, we present CRoW, a manually-curated, multi-task benchmark that evaluates the ability of models to apply commonsense reasoning in the context of six real-world NLP tasks. CRoW is constructed using a multi-stage data collection pipeline that rewrites examples from existing datasets using commonsense-violating perturbations. We use CRoW to study how NLP systems perform across different dimensions of commonsense knowledge, such as physical, temporal, and social reasoning. We find a significant performance gap when NLP systems are evaluated on CRoW compared to humans, showcasing that commonsense reasoning is far from being solved in real-world task settings. We make our dataset and leaderboard available to the research community at https://github.com/mismayil/crow.
[ 0.0303609576, 0.0891610757, -0.004474422, 0.0355190374, -0.0553116351, 0.0154256811, 0.0001520886, 0.0076670903, 0.0403700918, -0.0240104776, 0.0309180841, 0.0266539734, 0.0124197332, 0.0046277889, 0.0088417083, -0.0145016545, 0.044464983, -0.0009454377, -0.0432236381, 0.0192593578, -0.0065373015, 0.021005448, -0.0217220373, 0.0302526113, -0.0189721845, -0.0047364724, 0.0379028618, -0.0186150838, 0.0465026647, -0.0259957127, -0.0154093243, 0.0275429934, 0.0404461175, 0.0433749221, 0.0000017938, -0.0217701625, 0.0408811048, 0.0134809213, -0.0155829862, -0.0213076267, 0.0333929323, -0.0346113481, 0.0145312371, -0.0174209457, -0.0572003424, 0.0379949063, 0.02160725, 0.0284790769, 0.0475036986, 0.0570120476, -0.0085128937, -0.0369507894, -0.0270930491, 0.0024813777, 0.0215666797, -0.0592943989, 0.0097143017, 0.0426855981, 0.017997928, -0.034686055, -0.0087939892, 0.0157756228, 0.0287641883, 0.0055525471, -0.0367906615, 0.0444237366, -0.0671216026, 0.0250658691, -0.0227713026, 0.1139445379, 0.0202710964, -0.0415699743, 0.0068018017, 0.0030137061, -0.0035213637, 0.016288748, -0.019341005, -0.0254790168, 0.0051927492, 0.0336011499, 0.0167400688, 0.0119847693, 0.0302625466, 0.0659429953, -0.0021358475, 0.0922756493, -0.0252588298, -0.0124581717, -0.0070829825, 0.0104311518, 0.0064235772, -0.0251675583, 0.0272679534, 0.0389083028, -0.0340173133, 0.0095356684, 0.0060701119, -0.0060116821, 0.0116831912, -0.0461083911, 0.0216971226, 0.0368454754, 0.0027637095, 0.0776665583, -0.011651298, 0.0225237478, -0.0067469813, 0.0290715024, -0.0071337027, -0.0087837242, -0.0938874036, 0.0091269901, 0.0126602417, 0.0008392913, -0.0653676614, -0.0105553819, -0.0240887124, -0.0375664346, -0.0199954528, 0.0295262951, 0.0333860926, 0.0541301854, -0.0528036729, -0.020616008, -0.0485259108, 0.0041839131, -0.0763663203, 0.0490739495, 0.0215776097, -0.0327226557, -0.023101639, -0.0303280614, 0.0233808123, -0.0486911274, 0.0087237908, 0.0338456929, -0.0017200642, 0.0063574645, -0.0621315688, -0.0150067993, 0.0137148928, -0.0467844047, -0.0227984805, -0.0412616357, 0.0588798746, 0.0079689603, -0.0286833812, -0.0112295616, 0.0042537171, 0.007995802, -0.0149336746, 0.110007301, 0.0217591226, -0.0099301795, -0.0060244752, 0.0258344114, 0.0187965613, 0.080890432, 0.0001519864, -0.0328941718, 0.0505391955, 0.011687303, 0.0014441592, -0.0111490693, 0.0178799126, -0.0111558391, -0.0127945496, 0.0254097842, -0.039870698, 0.0513154157, 0.0349708982, -0.0011236233, -0.0210397616, -0.0557613969, 0.0357455909, 0.0795856789, -0.0443044975, 0.0089731133, 0.0230930876, 0.0082508959, -0.0049212226, -0.0089615714, -0.0731048957, 0.016594829, -0.0355963521, -0.02850632, -0.0377284773, 0.0201613829, -0.0106760915, -0.0010327263, -0.0268725064, 0.0049226815, 0.0447443128, -0.0234768987, 0.0396602228, 0.0051243268, -0.012420224, 0.051544439, 0.0267123319, -0.0414577052, -0.0022364256, 0.0162477698, -0.0298529863, 0.0433409885, 0.058098793, -0.0370813422, -0.0499664284, 0.007653703, 0.020587543, 0.0349328518, 0.0445264801, -0.0259455722, 0.0369500779, -0.0327186137, -0.0055242148, 0.0228163581, -0.0036375886, -0.0160902496, 0.0494687781, 0.0272442047, -0.0026566642, -0.0612929724, -0.0121278334, 0.0391357616, -0.0223602317, -0.0252140351, -0.0224144515, -0.0184106398, 0.0371802896, -0.0167174265, 0.0056852521, 0.0001886433, 0.0189164318, -0.0249492619, -0.0184693653, 0.0667599589, -0.018384438, -0.0841588303, 0.0526700951, -0.0339388251, -0.0767122433, 0.0788640976, -0.0486207679, -0.0169420112, 0.0148847448, -0.0083603598, 0.0220740661, -0.043378938, -0.0528463796, -0.014345672, 0.0035310367, 0.0036148804, 0.1016254351, -0.0394835398, -0.0030169557, -0.0222260561, 0.0008182253, 0.0081706867, -0.027422281, -0.0090747578, -0.0067657474, -0.0286742952, -0.014608684, -0.0173612256, 0.0036575149, -0.0669633001, 0.0215317551, -0.0705149844, -0.0116854385, 0.0019688548, -0.0056050261, -0.0120135294, -0.0330776572, 0.0004160678, -0.0180054642, -0.0103877494, -0.0023318166, 0.0119253751, 0.032266032, 0.0602365062, -0.0041089123, 0.0098888446, -0.011385709, -0.0118454983, -0.0527777597, 0.0295839645, 0.0020767127, 0.0676287636, 0.0014009771, -0.0098192012, -0.0552353002, 0.0265406948, 0.0026199254, -0.0377425328, 0.0169005543, -0.0103596784, 0.010130289, 0.0712966323, -0.0138292331, 0.0226581041, 0.0251142364, -0.0298772082, -0.0250500422, 0.0292643942, -0.0330121927, 0.0365174711, -0.0258168913, 0.0042972993, -0.0334913172, 0.0167761296, -0.0001767197, 0.0020718069, -0.0430503562, 0.038866248, -0.0215836633, -0.0216460153, -0.0498667248, 0.0429755226, 0.0010321394, 0.0597978309, -0.046754092, -0.0143024996, 0.0761241689, 0.0018947877, 0.0142095359, -0.0499730445, 0.0234501548, -0.0160492174, 0.0799708292, -0.0305729806, -0.0035199674, -0.0104694478, 0.0058911354, -0.0066492776, -0.044848565, 0.0377067029, -0.0217072237, 0.0183027275, -0.0537189059, 0.0403173193, -0.0113641955, -0.0710184947, -0.0103461985, -0.0540829301, -0.0194965675, -0.0094800163, -0.0087183928, -0.0385572612, -0.0369233191, -0.0125208627, 0.0002164338, 0.0401620679, 0.0155581217, -0.0279712863, -0.0042500501, 0.0341585502, 0.0238886569, 0.0619451702, 0.0343044251, 0.0526365675, -0.0120460773, 0.0417767093, 0.0845339522, -0.0265212245, -0.0177677441, 0.0643670708, -0.0028872988, -0.0110659115, 0.0364169516, 0.0161456652, 0.0734413937, -0.0597008318, -0.0357502475, 0.0620925948, 0.0493226945, 0.0313862972, 0.0364053696, 0.0008930077, -0.0134678269, 0.0167813525, 0.0091752717, -0.0531235412, -0.0666171536, 0.0266629346, -0.0044563855, -0.0155337909, -0.0946303159, 0.0102399737, -0.1087053567, 0.0241125338, -0.0101701962, -0.0630044863, -0.0373603404, -0.084295541, 0.0028421942, -0.0537151322, -0.0256034546, -0.0217660628, 0.0303745139, -0.0113793015, -0.0019638326, -0.0082770558, -0.0999840572, 0.0680024922, -0.0406556949, 0.061657045, 0.0304832868, 0.0761175156, 0.0111177079, -0.0895918533, -0.0328625515, -0.0455693528, 0.0133255385, -0.0347312689, 0.0172147714, 0.0121079814, -0.0237691328, -0.0154544599, 0.0635496527, -0.1017729789, -0.0435166433, -0.0132493563, 0.09634047, -0.007245414, -0.0015472568, -0.0438031964, 0.0084693283, 0.0300568305, 0.0934698731, 0.0087238615, 0.047167033, -0.0425504893, -0.0208538231, -0.0472373366, -0.0597335771, -0.0348512381, -0.020207148, 0.0595801249, 0.0032627741, -0.0544882938, -0.0284382496, 0.0155618247, 0.052502092, -0.0139452694, 0.0101513853, 0.028893128, 0.0251526292, -0.0661233738, 0.0665717721, -0.0293213557, 0.0060981908, 0.0172646418, -0.0028503682, 0.0187177788, 0.0169402827, -0.0390988104, 0.0533715338, -0.0650218278, -0.0502476878, -0.0196876004, 0.0275666825, 0.0222559199, 0.0209632535, -0.0473546088, 0.0161592364, 0.0237716697, 0.0558165684, -0.0584904552, -0.0056648953, 0.0379787646, -0.0105768917, 0.023668563, 0.0696294457, 0.0125101516, -0.0139892781, 0.0158324055, 0.0583396479, -0.0489785969, 0.0375992693, -0.0153204901, -0.0009766463, 0.0196663998, 0.0078473268, -0.0201475732, -0.008568977, -0.0252660103, -0.025270313, -0.0482973866, -0.00258769, 0.0143751549, 0.0384212397, 0.0018342659, -0.0388777964, 0.0504779294, -0.0160085652, 0.0168757699, -0.0382612348, -0.0064013749, 0.0675229207, 0.0150043666, 0.0098749902, -0.0256499704, -0.0071085878, -0.0184529833, -0.0459222458, 0.0370012037, -0.011447371, 0.0490612909, 0.0609637462, -0.0135381687, -0.0277098101, -0.0182003472, -0.0850341618, 0.0335259475, 0.0248768646, 0.0343532749, 0.0299190488, -0.0481992252, 0.0020110505, -0.0167715121, -0.0154123371, 0.0142142382, 0.0287364013, 0.031937439, -0.0064190906, 0.0205209926, 0.0199437831, -0.0205802862, 0.0084790336, 0.0654889494, -0.0551652983, 0.0390563495, 0.0404095575, -0.0348390676, -0.0220464803, -0.0462411009, 0.0003516752, 0.0172396358, 0.0240110513, 0.0238063745, -0.0855582505, -0.0587853156, 0.0160999205, 0.0203948412, 0.0150519218, 0.0140590901, -0.0004595414, 0.0761624724, 0.0281118322, -0.042355381, -0.0080224276, -0.0006891097, -0.0789496154, -0.0028696486, -0.0446090177, -6.103188343e-33, -0.0136161419, -0.0328193679, 0.0148526281, -0.0204962492, 0.0070911106, 0.014137879, -0.0530258827, -0.0434680656, -0.0294714589, 0.0298523847, -0.0379492715, 0.0516759679, 0.0057992088, 0.0115977637, 0.0182803404, -0.0314684957, 0.0074230004, -0.0012502272, -0.0323881246, -0.0199903138, 0.0761635602, -0.0124543225, 0.0177892223, -0.0233795214, 0.0130399521, 0.0248025134, -0.0019504507, 0.0454932563, -0.0492919534, 0.0394988917, -0.0169795956, 0.0576033741, 0.0229117498, -0.0405371562, 0.0118977064, 0.0135588851, -0.0840989947, -0.0684441924, 0.0142887365, -0.0045081167, -0.0285083391, 0.0250865296, 0.0100272652, 0.0274705123, -0.0084281657, -0.0071463967, 0.0123669757, -0.0424070433, 0.0111501897, -0.0126072951, -0.0287901275, 0.0333306268, -0.0379933156, -0.0154403001, -0.0080020269, -0.0204286892, -0.0087959515, 0.0022756734, -0.061998859, 0.0018507356, 0.0009485435, -0.0110862097, 0.0489222966, -0.0513828285, 0.0216366742, 0.0527570769, -0.0377575941, 0.0030237976, -0.0757739544, 0.0361888856, 0.028580239, 0.0626891851, 0.052874364, 0.0732495859, 0.0444391072, -0.0100434767, -0.0515339747, 0.0443693772, 0.0106377611, 0.0503075868, 0.0091197146, 0.0221097246, -0.0492596999, 0.0053630238, -0.0397873335, -0.0115948422, -0.0247926023, 0.020631317, 0.0050027668, -0.0077875322, -0.0368520245, 0.0683812425, -0.0023426262, -0.0123052476, -0.0026830132, 0.0553105623, 0.0180720836, -0.050930474, 0.0326751247, -0.0036229382, -0.044709634, -0.0080772936, 0.0350571759, 0.0260387566, 0.0293152351, -0.013340814, 0.0441775322, 0.0027324778, 0.0017993761, -0.0246599205, -0.0302805882, 0.0182611905, -0.019541759, -0.0018481708, 0.0530028865, 0.0168262273, 0.0041317642, 0.0102557605, 0.0109737674, 0.0009821395, -0.0130376853, 0.0499218181, -0.0007683061, 0.0150275687, -0.0014267595, -0.006109349, -0.0558170415, -0.0690323636, 0.0226326175, -0.0283414684, -0.0003232272, 0.0499165207, 2.427e-7, -0.0084775174, 0.0489706844, 0.0264938269, 0.0203237534, 0.0069537829, 0.0435270108, -0.0307595395, 0.0158217363, -0.0381021313, -0.031677749, -0.0125080701, 0.075459078, 0.0458691455, 0.0532896332, -0.0228197686, 0.005371158, -0.051724758, -0.0210279003, -0.064167358, -0.0148845045, 0.0451515056, 0.0528474413, 0.0508905277, -0.0266705249, 0.027373014, -0.0712758824, 0.0122917164, -0.032450892, 0.0149633763, -0.0266142283, -0.0073890821, -0.0026099812, 0.0184217002, 0.0659438968, -0.0308947284, -0.0080236364, -0.0066521848, 0.0539770052, -0.0259667914, -0.0374678448, -0.0392571092, -0.0562118851, -0.0051898491, -0.0449975766, 0.0946992785, -0.0408704877, -0.0356638841, -0.0134682357, 0.0095310193, 0.0149694271, 0.0144140152, 0.0141750015, -0.0055679544, -0.0179870129, 0.0181934182, -0.0113251125, -0.0158953238, -0.0838970467, -0.0078500165, 0.0202618074, -0.0009059349, -0.0218250435, -0.0386102535, -0.0192405283, 0.0460629351, -0.0676926672, -0.0279179327, 2.109145892e-34, -0.0171095878, 0.0248413235, -0.000358046, -0.0272011422, 0.0468358956, 0.0013432896, -0.0317803696, -0.0175329708, 0.0056222039, -0.030021932, 0.0317831486 ]
http://arxiv.org/abs/2310.15166v1
http://arxiv.org/pdf/2310.15166v1
Large Language Models are Visual Reasoning Coordinators
2023-10-23T17:59:31
2023-10-23T17:59:31
Liangyu Chen, Bo Li, Sheng Shen, Jingkang Yang, Chunyuan Li, Kurt Keutzer, Trevor Darrell, Ziwei Liu
cs.CV
cs.CV, cs.CL
Visual reasoning requires multimodal perception and commonsense cognition of the world. Recently, multiple vision-language models (VLMs) have been proposed with excellent commonsense reasoning ability in various domains. However, how to harness the collective power of these complementary VLMs is rarely explored. Existing methods like ensemble still struggle to aggregate these models with the desired higher-order communications. In this work, we propose Cola, a novel paradigm that coordinates multiple VLMs for visual reasoning. Our key insight is that a large language model (LLM) can efficiently coordinate multiple VLMs by facilitating natural language communication that leverages their distinct and complementary capabilities. Extensive experiments demonstrate that our instruction tuning variant, Cola-FT, achieves state-of-the-art performance on visual question answering (VQA), outside knowledge VQA, visual entailment, and visual spatial reasoning tasks. Moreover, we show that our in-context learning variant, Cola-Zero, exhibits competitive performance in zero and few-shot settings, without finetuning. Through systematic ablation studies and visualizations, we validate that a coordinator LLM indeed comprehends the instruction prompts as well as the separate functionalities of VLMs; it then coordinates them to enable impressive visual reasoning capabilities.
[ 0.0453956947, 0.0334929153, -0.0095313713, 0.047833398, -0.0274139494, 0.0090975026, 0.0278734379, -0.0084215887, 0.0245200247, -0.0699105486, -0.0253963228, 0.0040836749, 0.0071083433, 0.0156681351, 0.034279827, -0.049163375, 0.027042022, -0.0573414378, -0.0106646959, 0.007879572, 0.022839224, 0.0245490391, -0.0012101871, 0.041683279, 0.0016382294, -0.0352442823, -0.0049987035, 0.007756196, 0.015035768, -0.000348637, -0.0123078823, 0.0251546577, 0.0672743469, -0.0242301505, 0.0000019954, -0.0124832327, 0.0296924692, -0.0082110893, 0.0229398329, 0.0001091673, -0.0347986706, -0.0274093095, 0.0404376797, 0.0061799712, -0.0375290141, 0.0122529678, 0.0691503212, 0.0088483337, 0.0723188594, 0.0210468881, -0.0067634583, -0.0114078661, -0.0047336812, -0.012965994, 0.0089120865, -0.0432010368, 0.0049719741, 0.0364265069, 0.0243625008, 0.0032433937, -0.0768767819, 0.0479237102, 0.027345201, -0.007204941, -0.0047424543, 0.0493867435, -0.040658161, -0.0235172585, -0.0416067429, 0.0694149584, -0.0030347395, -0.0155571187, -0.0198565982, 0.029105911, 0.0210610889, 0.0145575767, -0.0610232726, 0.0549638458, -0.0205095746, -0.0020798617, -0.0334803946, -0.0105999364, 0.0002515232, 0.0204355419, -0.01414763, 0.0280709043, -0.0054306015, 0.0254567824, -0.0192985684, 0.0142594604, -0.0657938719, -0.0501039252, -0.037905816, 0.0534879155, -0.0289247129, 0.0101422239, -0.0195560716, -0.0095635308, -0.0173406303, -0.0163230598, 0.0929635614, 0.022978805, -0.0356184281, 0.0956701711, -0.0409585424, 0.0650739372, -0.0173689499, 0.0603615902, -0.0238117818, -0.0289096721, -0.0535462983, -0.02383787, -0.0347346142, 0.0097724637, -0.0699278265, -0.0634666905, -0.0041765911, 0.0249597002, -0.025510557, 0.0056462176, -0.0010687234, 0.0313332267, 0.0027329547, -0.0332230963, -0.0439814441, 0.0664032698, -0.0303094108, 0.0209593326, -0.0092454543, -0.0346763916, -0.0204532631, 0.0416918173, -0.0006184079, -0.0143033992, -0.0001914605, 0.0392206758, -0.0487353578, -0.0034188484, -0.0058640274, -0.0204106644, -0.0129133435, -0.0575551204, 0.0134676928, -0.0707885846, 0.0235392991, 0.0180000067, -0.0006326058, -0.0201842058, 0.004854158, 0.0115005057, -0.0289436989, 0.0894815847, 0.0120724877, 0.0173805319, 0.0070489324, 0.0226322226, 0.0047177789, 0.0777001157, 0.0152750909, 0.006418658, 0.0318451822, 0.0145876696, 0.0159495212, 0.028509004, 0.0041175149, 0.0031538121, -0.0512494855, 0.0167960227, 0.007320221, 0.0219862685, 0.031181246, 0.0317195803, -0.0403603911, -0.0363698676, 0.0597296804, 0.0486785956, 0.0013364407, -0.0472019874, 0.0260492079, 0.002244208, -0.0047985143, -0.0156493541, -0.0574154034, 0.0752518624, -0.0453224108, -0.0124257738, 0.0113795474, 0.0195961222, -0.0431563891, -0.0285599139, -0.0171276033, 0.0002975585, 0.0039962376, 0.052697856, 0.0367351137, 0.0102299694, -0.038069468, -0.0118420627, 0.0214724336, -0.0309068821, -0.0093092518, -0.0184001457, 0.0493381284, 0.0683599636, 0.0444452949, 0.0230144113, -0.0128070014, 0.0101923123, 0.0662991032, 0.0348686874, 0.00486557, -0.0013283296, 0.0164612066, -0.0495241769, -0.0357326344, -0.0355488434, -0.0148878815, 0.0082379077, 0.0342170373, -0.0284783859, -0.0224782862, -0.0212882739, 0.0188428108, 0.0083818622, 0.030580692, 0.0206454061, -0.0631520599, 0.0238261204, -0.019850919, -0.0404898822, -0.0053165643, -0.0055318424, 0.0059814393, -0.0464007892, -0.00248531, 0.0154380528, -0.0413101465, -0.0565418825, 0.0162793156, -0.0424147733, -0.0223203078, -0.0020108055, -0.0422678813, -0.0016165314, 0.0232738182, -0.0086003533, 0.0035868245, -0.0411330163, -0.0353707224, 0.0246629268, 0.0003073905, -0.0192451067, 0.0729179904, -0.0372204036, -0.0311673135, 0.0022762527, 0.0048674103, 0.0105454978, -0.0121947415, 0.0157603621, 0.0127125951, 0.0145123163, 0.022010969, -0.0211865194, 0.0144950226, -0.0416946001, -0.0230024122, -0.1024350449, -0.015858246, -0.0180686843, -0.0492096357, -0.009205576, -0.0134628993, 0.0152653949, -0.0376008786, -0.0285634194, 0.0418376178, 0.0178795569, 0.0269576479, 0.0301494971, 0.0041963435, -0.0101202289, 0.0029916188, -0.0048818802, 0.0080282986, 0.090925701, 0.0254761241, -0.0087317247, -0.0492636897, -0.0182205159, -0.0641549602, 0.0501092002, -0.0190430153, -0.01594216, 0.0212345626, -0.0375092439, 0.0125855682, 0.1144148186, -0.026344385, 0.0314695127, 0.0265803784, -0.0033385118, -0.0387923121, 0.0165002458, 0.0106820464, -0.0466713794, -0.0101758093, 0.0178850833, -0.0508175939, 0.0102189705, -0.0215350334, -0.0109017743, -0.0749375373, 0.051254645, 0.0348620266, -0.0507329106, -0.0989310965, -0.0183723569, 0.0418489613, 0.050172396, -0.0547324046, -0.0637864321, 0.0591290258, -0.0000085386, -0.010204996, 0.0022905448, 0.002197369, -0.0404737592, 0.0908271745, 0.0177156925, 0.0212759785, -0.0275508538, -0.0037263383, -0.0595203675, -0.0308523197, 0.030615449, -0.0043541174, 0.0546735972, -0.0915952697, 0.0238140244, -0.0186138228, -0.0552694425, -0.0190978274, -0.0145650879, -0.0408342034, 0.0296259075, -0.0584530495, -0.0274633635, -0.0446063988, 0.0384483151, 0.0457295999, -0.0028911899, -0.0060819308, 0.0002294282, -0.0250055175, 0.0201218501, 0.053674344, 0.0520106331, -0.0374023244, -0.0546245165, 0.0022076727, 0.070172444, 0.0127002485, -0.0224481858, -0.0323027521, 0.0441226698, 0.0205391496, 0.0438386947, -0.0090161664, 0.0233474933, 0.0702357367, -0.0523073599, -0.0185591076, 0.0727661327, 0.0334677026, -0.0124702426, -0.0281094927, -0.0051639327, 0.0421073399, 0.0438260399, 0.036805369, -0.0698515326, -0.0605453886, -0.0178942643, -0.0184933804, 0.0296335779, -0.0226421021, -0.0296809934, -0.0911679715, 0.053857211, 0.0062926658, -0.0123060327, -0.0332797393, -0.0024565826, -0.0033538335, 0.0239987802, -0.0394550487, 0.002048461, 0.0135605233, 0.0068484335, -0.0120012825, 0.0413248092, -0.0100480188, 0.0479019172, -0.0629376993, -0.0172788277, 0.0526517704, -0.0075692683, 0.0325849354, -0.0828358978, 0.0021603901, -0.0146477558, 0.0361320674, -0.0210003667, 0.0277296789, -0.0162914451, -0.0464958064, 0.0142009947, 0.0418273918, -0.0303185303, -0.019633295, -0.0151141798, 0.0650998801, -0.0101793287, -0.0100379158, -0.0238842163, 0.0332567655, -0.0125755779, 0.056061253, 0.0227752943, -0.0308119617, -0.0386364236, -0.0267950688, -0.0558739416, -0.0454826653, -0.0080465227, 0.0105476491, 0.0628948808, 0.0144933816, -0.0555557124, 0.0212763157, 0.0836444795, 0.0658451468, -0.0080802198, 0.0009830765, -0.0288804155, 0.0345580615, -0.0395761132, 0.0761458576, -0.038077075, 0.0220524967, -0.0356976502, 0.0028485544, 0.0017988896, -0.0279103983, -0.0341528393, 0.0355450846, -0.0511699282, -0.0479804203, -0.0625006258, 0.0691309348, 0.0170984156, 0.0304223839, 0.0176354907, -0.0495045595, 0.0152891185, 0.0646838322, 0.034287408, 0.056434311, -0.0121455062, -0.0302202422, 0.0170040447, 0.0353658535, -0.0232502781, 0.0083498098, 0.0152388308, 0.0269733239, -0.0149770398, 0.0104914382, 0.0051502199, -0.0164552853, -0.0027324243, -0.0043354812, 0.0171034783, -0.0140730441, -0.0005608628, 0.0055320403, -0.0263126288, -0.0638624579, 0.0281278342, 0.0231546499, -0.0333139598, 0.0270822681, 0.0297780316, 0.0474745966, 0.0196275767, -0.0277036857, 0.0022281175, 0.0399313197, -0.0109776603, 0.0149914604, 0.0162355676, -0.0021919741, 0.0185610373, -0.0476287119, 0.0394286215, 0.0035814869, 0.088998422, 0.0504261144, -0.0221645813, -0.037225388, 0.0311986879, -0.0581492484, -0.0657833219, 0.0305339862, 0.0698219389, 0.0521271303, 0.0333359353, -0.0101903547, -0.02267728, -0.0275791902, -0.0111113666, 0.037492618, 0.0169746485, -0.0574658029, 0.074038811, 0.0437552854, 0.0094795432, -0.0153032383, 0.0450334884, -0.0127151255, 0.0081398273, -0.0048739072, -0.0083329156, -0.0265794955, -0.0263530686, 0.0260593835, 0.0197590049, 0.0347231589, 0.0768817067, -0.0408078656, -0.0336545147, 0.004614152, 0.0474799089, -0.0112336297, 0.0104319323, 0.0302907191, 0.0461268798, 0.0304359347, -0.0565635562, -0.0109356986, -0.0062020379, -0.0330007859, 0.0064805765, -0.0040305778, -6.16649202e-33, -0.037476439, -0.0424766652, 0.0551891066, -0.0257274248, 0.0261082705, 0.0024201316, -0.0211868454, 0.0019431186, -0.0369816385, -0.0070683421, 0.0124622639, 0.0221419763, -0.0153696705, 0.047251083, -0.0070049497, -0.007938249, 0.0116362553, 0.0098652476, -0.0416537337, 0.0081018927, 0.0499439538, -0.0137428325, 0.0203856267, -0.0087164603, -0.0433421209, 0.0174152236, -0.019694766, 0.0476239249, -0.0434355102, 0.0735177398, -0.0027976641, -0.0043105902, 0.0108614434, 0.0386229381, -0.0224834047, 0.041545704, -0.0753300264, -0.019513743, 0.0597076416, 0.0033123479, -0.1005972847, 0.0056374683, 0.0137481485, -0.0104644829, 0.0148201957, -0.0593725704, 0.0345493853, -0.0281513985, -0.0086500049, 0.0249759741, 0.0033370806, -0.014776309, -0.0166239683, -0.0550502427, -0.0078018052, 0.0214285236, 0.0099120429, 0.0515181608, -0.0353569537, 0.0212133098, -0.0129021145, 0.0105734328, 0.0959740356, 0.05446136, 0.0185493398, 0.0467686541, -0.0224154964, -0.0216809791, -0.0742230341, -0.0226788837, -0.0021667874, 0.0761471465, 0.0498858057, 0.0378546678, -0.016391702, 0.0382110365, -0.0451052412, -0.0048250128, -0.0605016612, 0.0529098697, 0.0227965154, 0.0076871184, -0.0063909343, -0.0224851239, -0.0586257242, -0.0064611598, -0.0472500585, 0.0245127771, 0.0733607858, 0.0194852762, -0.0054565095, 0.0266070385, 0.0533974022, -0.0572353303, 0.0028346614, 0.0523968488, -0.0118469661, 0.0547701828, 0.0051724454, 0.0265458878, -0.0376289412, 0.020653218, 0.0445901565, -0.0004238702, -0.0219180826, 0.0200688522, 0.0581115931, -0.0029301196, -0.0341444872, -0.0079296725, -0.0460694395, 0.011859403, -0.0239851624, 0.0053518293, 0.0257356782, 0.0291349273, -0.0492421985, 0.0130790016, -0.0314018466, -0.0546732806, -0.0055667004, -0.0316625871, -0.0309146289, 0.018088093, -0.0081802169, 0.0159727819, -0.067885831, -0.0414289311, 0.0014563485, -0.0481545255, -0.0120696789, 0.0732380971, 2.593e-7, 0.0161136463, 0.0170704592, -0.0141094718, 0.0281980336, 0.024647411, 0.0350932218, -0.0294058006, 0.0111033218, 0.0240420811, -0.0564833283, -0.0328171663, 0.1072488949, 0.0192051399, -0.0221203323, -0.0050811148, 0.0510901958, -0.0046675499, -0.0214554295, -0.0686508417, -0.0185384359, 0.0445498191, 0.0446477421, 0.0057628099, -0.0115925279, 0.0480339713, -0.0831473693, 0.0876728445, -0.0214092545, 0.0117272967, -0.0257587954, -0.0175856147, 0.0103160832, -0.0071632043, 0.0483898707, 0.0267052557, -0.0092621222, 0.0103670824, 0.0413284227, -0.0237945486, -0.0184311271, -0.0516902022, 0.0083649205, -0.0370440781, -0.0551541783, 0.0973418355, -0.0659970269, -0.0050555589, 0.0011104265, 0.0044910279, -0.0141076557, 0.0200014785, -0.0026669987, -0.0336171947, 0.0114415633, 0.0259512067, -0.0323962308, -0.0014025179, -0.0756966546, -0.0053668232, -0.0015789618, -0.0178263821, -0.0419500694, -0.047776442, -0.0031574471, 0.028235605, -0.0309136212, -0.0717843026, 2.147398131e-34, 0.0317972116, -0.0157217756, 0.0181234684, 0.0016907142, 0.0340140499, -0.0364971459, -0.0474780388, -0.009642804, 0.0346654989, -0.0810679644, -0.0099239107 ]
http://arxiv.org/abs/2310.15164v2
http://arxiv.org/pdf/2310.15164v2
LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers
2023-10-23T17:58:40
2024-02-14T18:56:03
Theo X. Olausson, Alex Gu, Benjamin Lipkin, Cedegao E. Zhang, Armando Solar-Lezama, Joshua B. Tenenbaum, Roger Levy
cs.CL
cs.CL, cs.AI
Logical reasoning, i.e., deductively inferring the truth value of a conclusion from a set of premises, is an important task for artificial intelligence with wide potential impacts on science, mathematics, and society. While many prompting-based strategies have been proposed to enable Large Language Models (LLMs) to do such reasoning more effectively, they still appear unsatisfactory, often failing in subtle and unpredictable ways. In this work, we investigate the validity of instead reformulating such tasks as modular neurosymbolic programming, which we call LINC: Logical Inference via Neurosymbolic Computation. In LINC, the LLM acts as a semantic parser, translating premises and conclusions from natural language to expressions in first-order logic. These expressions are then offloaded to an external theorem prover, which symbolically performs deductive inference. Leveraging this approach, we observe significant performance gains on FOLIO and a balanced subset of ProofWriter for three different models in nearly all experimental conditions we evaluate. On ProofWriter, augmenting the comparatively small open-source StarCoder+ (15.5B parameters) with LINC even outperforms GPT-3.5 and GPT-4 with Chain-of-Thought (CoT) prompting by an absolute 38% and 10%, respectively. When used with GPT-4, LINC scores 26% higher than CoT on ProofWriter while performing comparatively on FOLIO. Further analysis reveals that although both methods on average succeed roughly equally often on this dataset, they exhibit distinct and complementary failure modes. We thus provide promising evidence for how logical reasoning over natural language can be tackled through jointly leveraging LLMs alongside symbolic provers. All corresponding code is publicly available at https://github.com/benlipkin/linc
[ 0.028178066, 0.0917686671, 0.0092068575, 0.0406771936, -0.0531014539, 0.0285906438, 0.0175564121, -0.0095689157, 0.0068530729, -0.0075077862, -0.008612209, 0.0251347069, 0.0209569186, 0.0513430238, 0.038816385, -0.0083764261, 0.0465871356, -0.049138993, 0.0281826146, -0.0370828807, -0.0399509221, 0.0032091588, -0.015457876, -0.0001875145, -0.0321332701, -0.0204950757, -0.0001422492, -0.0125424201, -0.0043441658, -0.0350551307, -0.0337116383, 0.0345367752, 0.0418537259, 0.0530693792, 0.0000022023, -0.0480156057, 0.0321821347, 0.0346429422, -0.0375035852, -0.0059451279, 0.0011209948, -0.0281255208, 0.0235925503, 0.0123354122, -0.0386479534, -0.0071725301, 0.0367453098, 0.0447242856, 0.0380106084, 0.0559944734, -0.0021873713, -0.0533861034, 0.0580271892, -0.0057017156, 0.0310427025, 0.0207653958, 0.0059512379, -0.003386688, 0.0230676048, -0.033534009, -0.0128632234, 0.049753055, 0.0952786207, -0.0065514152, -0.0455223769, 0.0776744336, -0.0571288131, 0.0137560209, -0.0241582189, 0.0242970921, -0.0001137049, -0.0298311785, -0.0191806499, 0.0334054828, -0.0111919632, -0.0044956938, -0.0382924303, 0.0796024203, -0.0168895498, -0.0035142829, 0.0545315035, -0.0399665944, 0.0468364283, 0.0025049178, -0.0148598934, 0.1188533977, 0.0206796918, -0.0462612621, 0.0369317867, 0.0235346053, -0.0438958704, -0.0662050247, 0.0275552962, 0.0383864865, -0.0047872863, 0.004512372, -0.0210091285, -0.002021376, -0.0095173744, -0.0106984088, 0.0269805547, 0.074108474, 0.0203235783, 0.0260331053, -0.0679988563, 0.0142313838, -0.03926038, 0.0630537719, 0.0251123626, 0.0032657338, -0.0411405936, -0.0228890367, 0.0071770665, 0.0591926612, 0.0048121531, -0.0054385527, -0.010838842, 0.0270309243, -0.0122334044, 0.0274589416, -0.0292621516, -0.0020810205, 0.0078891609, -0.0145536223, -0.0587160289, -0.0064797592, -0.0474403054, 0.0202431884, 0.0347650684, -0.0528779216, -0.0530486293, 0.0175036304, -0.0297347605, -0.0128638688, 0.0593283214, 0.0598733239, 0.0019319796, -0.009569589, -0.060742449, -0.0367499441, 0.0072710831, -0.0668370277, 0.0173320528, -0.1012552604, 0.0379431807, 0.0355529115, -0.0429781415, -0.0451359898, -0.0036092754, 0.0228570066, 0.0273386147, 0.066962637, -0.0259222202, -0.0169908218, 0.0287881047, -0.0005610555, -0.0593871176, 0.0115544591, 0.0469814613, 0.0272348411, -0.0132269235, 0.0406685658, 0.003300085, -0.015486246, 0.0137247676, -0.0272795837, -0.0509489514, 0.0123975575, -0.0061533586, 0.0404768996, 0.0326311775, 0.0662938729, -0.04087051, -0.0359067209, 0.0437551215, 0.0615839548, -0.0122744916, 0.0105213718, 0.0512057059, -0.047904592, 0.0201329533, -0.0199981201, -0.1045427769, 0.083396256, -0.0499944985, -0.0039751837, 0.0182641447, 0.0381773151, -0.0271874536, -0.0649545193, 0.0168199185, -0.0143289678, -0.0074545285, 0.0236664899, 0.0421396531, -0.0243737455, 0.0038798873, 0.035123229, 0.0232223067, -0.0368853211, -0.0122329276, -0.0472044572, 0.0389697775, -0.0039911023, 0.0410591438, -0.0234159697, -0.0097881751, -0.0300448816, -0.050846383, 0.0984358862, 0.0088643115, -0.0027937442, 0.0220861267, -0.0242153853, 0.0034974064, -0.0550841279, 0.0010673803, 0.0187403411, 0.0240620505, 0.0280166138, -0.0034573872, 0.0116855567, -0.0097371461, 0.0570772327, -0.0277816914, -0.0096231243, 0.0222282317, -0.0146916583, 0.0488021336, -0.0296235401, 0.0037866121, 0.0296498295, 0.014018585, -0.0397211686, -0.0441467278, -0.0199688375, -0.0350108854, -0.1141947284, 0.0431507975, -0.0363778621, -0.0353631638, 0.051449161, -0.0497752689, -0.0202138163, 0.054575339, -0.0537032373, -0.0189535543, -0.0415820219, -0.0145247709, 0.0218781177, -0.0041962229, 0.0223547406, 0.062044777, 0.0026902542, -0.0329095572, 0.0130581083, 0.0014874532, 0.0080396151, -0.0583192594, -0.0207846817, 0.0158554763, -0.0139215095, -0.0159996208, -0.0035441602, 0.0107895061, -0.0068904017, -0.025633445, -0.0715687722, 0.0138667049, -0.003218086, 0.0136420876, -0.011531854, -0.0352202244, 0.0102292942, 0.0037614943, -0.0254362673, -0.0081910528, 0.0088723106, 0.0267005153, 0.0434801206, -0.0128332842, -0.0173724126, 0.0085960887, -0.0272377692, -0.058348, 0.0373217426, 0.0175199546, 0.011765114, -0.0290563796, -0.0001727294, -0.0627005994, 0.0287305787, 0.0100260703, 0.0164699871, 0.0736836344, 0.0008102084, 0.0094753876, 0.1323058456, -0.00764615, -0.0266668182, 0.0564594008, 0.0015792745, -0.0156342797, 0.0321312249, -0.0170702636, 0.0534452759, -0.0109965699, -0.0238763541, -0.0171593186, 0.0286762845, 0.0086713592, -0.0055527491, -0.0459889099, 0.0479540043, 0.0105548715, -0.0277799945, 0.0060334071, -0.0055763554, -0.0005573476, 0.0535884909, -0.0091734622, -0.0534155108, 0.1093809679, -0.0078296755, -0.0132134827, -0.0255897436, -0.015379373, -0.0650116131, 0.0666123033, -0.0032643874, -0.0110267624, -0.0040562213, 0.0029940836, -0.0293252785, -0.0342314579, -0.0005137267, -0.0002663594, 0.0300591234, -0.0530964211, 0.0130080283, 0.015035334, -0.0666456819, -0.0263272859, 0.0043479502, -0.047658205, 0.0036103858, -0.0359387361, -0.022372907, -0.014861499, -0.0071424358, 0.047297705, 0.0393167771, -0.0374503694, -0.0273632985, -0.0346303992, -0.0190169103, 0.0015305204, -0.0097344797, 0.0716376081, -0.0242675096, -0.0066728997, 0.0430989079, -0.0393754244, 0.0278296992, -0.0487627424, 0.0682407841, -0.0139254062, 0.0056690462, -0.0094923461, 0.0258410163, 0.0179791655, -0.0634158924, -0.0040323604, 0.1118301079, -0.0051800194, -0.026672814, -0.0006214607, -0.0434397683, -0.0003578118, 0.0034796104, 0.0471175425, -0.0687560588, -0.0501522534, 0.0201669894, 0.01198796, -0.0051375492, -0.0355866514, -0.0331144221, -0.094372645, 0.0310034845, -0.0091529973, -0.0144460285, -0.0022926291, -0.0544651113, -0.0002598411, -0.0047873873, -0.0520670041, 0.027085878, 0.0303261075, 0.0336696655, -0.0332435332, 0.0013530105, 0.0103652366, 0.066910252, -0.0422813855, 0.0304063912, 0.0096777529, 0.0007293421, -0.023771083, -0.0561956242, 0.0215461142, 0.021892136, -0.0250669662, -0.0417699404, 0.0115747759, 0.00434143, 0.0110004749, -0.030276075, 0.0432855636, -0.0383728817, -0.0359746478, 0.0237293765, 0.076227352, -0.010687572, -0.0625060573, -0.0297191683, 0.0403593928, -0.0422385372, 0.0687863752, 0.0156425368, -0.003776507, -0.0581955202, -0.046492558, -0.0579882748, -0.0158553217, -0.0170205478, -0.0087545617, 0.0774581656, -0.030407358, -0.0190689284, -0.0302606672, 0.0345587507, 0.0180967022, -0.0053154076, -0.0107146911, 0.0281575229, -0.0214947667, -0.0330829434, 0.0396510363, -0.0414914042, 0.0076279268, -0.0510803498, 0.0274421033, -0.006819115, -0.0136987176, -0.023922272, 0.0398386382, -0.0429498814, -0.0626995862, -0.0466590226, 0.0470591486, 0.0262964256, 0.0278190672, 0.002429771, -0.0160385072, 0.0056633665, 0.0837047473, 0.0044145528, 0.022126222, 0.0254090261, 0.0070958706, 0.022609869, 0.0050421818, 0.006786475, 0.0200458635, 0.0350149013, 0.0631180927, 0.0092660459, 0.0033491468, 0.0279434472, 0.0644548684, 0.0258646235, 0.0099361222, -0.0119409338, -0.0005578563, -0.0243821982, -0.031666901, 0.02107233, -0.0341792516, 0.0176703725, 0.0047161551, 0.0363652445, -0.0065871081, -0.0406532809, 0.0245138891, -0.0014946647, 0.0191082917, -0.0282247104, -0.0082299486, 0.0336120948, 0.0089709405, -0.029443454, -0.0252993312, -0.0011895805, -0.0239847191, 0.0492778346, -0.0341199897, 0.0501278788, 0.0609897226, 0.0155914128, -0.0382373743, 0.0105430931, -0.0831308439, -0.0357391015, 0.0399971232, -0.0216753781, 0.0064510382, 0.0554230995, -0.0142788365, -0.0792240947, 0.0061875535, 0.013520699, 0.0197258797, 0.0182184745, -0.0248189233, 0.0540280305, 0.0227165055, -0.003165175, -0.0740634501, 0.0273059867, -0.0141225457, 0.0230209641, 0.0253409855, 0.0313005894, -0.0281073172, -0.049587056, -0.0270829909, -0.013509566, -0.0139581105, 0.0032128072, -0.0524124578, -0.0584918745, 0.0483063646, 0.0422075689, 0.0096252831, -0.0104007935, 0.0186246447, 0.0443754978, 0.019890178, -0.0803126246, 0.045030959, 0.0307858139, 0.0197785627, -0.0504881702, -0.048703175, -6.425696605e-33, -0.0173717197, -0.0275041368, 0.0629978999, 0.0340603553, -0.0131867081, -0.023850292, -0.0703792423, -0.0107468935, -0.0116224512, 0.0200149696, -0.0198659208, 0.062133681, 0.0022179577, 0.0184918549, 0.0234587248, -0.0133864684, -0.0121538006, 0.0022328857, -0.0611920357, 0.0039179646, 0.0222948212, -0.015636703, 0.0404452607, -0.0335419104, -0.0014025114, 0.0086665517, 0.0227653738, 0.0313618034, -0.0966123864, -0.0173973609, -0.0354506262, 0.0260091443, 0.0175598208, -0.0130240219, 0.0106608719, 0.0301755611, -0.0308895595, -0.0546795949, 0.0346433185, -0.035758324, -0.0589363761, -0.0482887253, 0.0509970449, 0.0139806978, -0.0186463073, -0.0443538651, 0.0040523037, -0.0190988015, 0.0029956235, -0.0190074462, -0.0300387349, 0.0072354227, 0.0104637407, -0.0131847849, -0.0101943845, 0.0116769355, -0.0393008143, 0.0033014596, -0.0507362112, 0.027168544, -0.0038706118, 0.0055860719, 0.0537044331, -0.0182187948, 0.0199418757, 0.0268474501, 0.0205683466, -0.0059326552, -0.0622818507, 0.0207116194, 0.0335042104, 0.0481918715, 0.0746179149, -0.0084489938, 0.0543632917, 0.0347057879, -0.0537282862, -0.0078475522, 0.0435290895, 0.0412283503, 0.0489313193, -0.0206420515, -0.0043975324, -0.0422130637, -0.027060084, -0.0178330429, -0.029942153, -0.0160016529, 0.0082938801, -0.0206112638, 0.0145880627, -0.0336998329, 0.0017762829, -0.0209890939, 0.0252826754, 0.0172980316, 0.016891541, 0.0053623822, 0.014247762, 0.0321374424, -0.0286930967, 0.014097278, 0.0031860273, 0.0106245996, 0.0432595275, 0.0193736255, 0.0248543639, 0.0559492074, 0.0022213946, -0.0099258851, -0.0464122295, 0.01329601, 0.0326561779, -0.0015730319, 0.0119339358, 0.0490762182, -0.0115376962, -0.008513716, -0.0208382457, -0.0019291746, -0.0540848523, 0.0520460755, 0.018096514, 0.0301406514, -0.0122310985, -0.0013272556, -0.0639007092, 0.0051454501, -0.0111240773, -0.0886343718, -0.0023518377, 0.0308942553, 3.027e-7, 0.0055417167, 0.030113183, 0.0290167276, 0.0684145018, 0.0303396564, 0.0298327841, -0.0108053088, -0.0231384598, 0.0425894447, -0.0747346133, -0.0317528434, 0.0843321681, 0.032169044, 0.0461258888, -0.0352778845, 0.0169508699, -0.0518854596, -0.0340926982, -0.0456515066, 0.0307908747, 0.0613634549, 0.0512411147, 0.0512622446, -0.0427763015, 0.0204466805, -0.0173107889, 0.0557330661, 0.0256256163, 0.0155270454, -0.0386258215, 0.0002185188, -0.0091411537, 0.0222348236, 0.0465833731, 0.021561034, 0.0007592863, -0.0566708632, 0.0534380451, 0.0092002898, 0.0048536356, -0.0148028769, -0.03887707, -0.0251169465, -0.0485865921, 0.0656809956, -0.0730517805, -0.0589197427, 0.0064635216, 0.0044905329, -0.0343134403, 0.0227261018, -0.0162317809, 0.0020345082, -0.0172644276, 0.0037078073, 0.0068462412, 0.0109082498, -0.0514592305, -0.0177711006, 0.0195588544, -0.0494582541, -0.0072169872, -0.0481012352, 0.0107073691, 0.0441200621, -0.0711235106, -0.0366366953, 3.090686659e-34, 0.0264693461, -0.0102492766, 0.0109722922, 0.00206769, 0.0600690618, 0.0073267855, -0.0412598103, -0.0102492105, 0.0278979782, -0.0905448124, -0.0601660311 ]
http://arxiv.org/abs/2310.15154v1
http://arxiv.org/pdf/2310.15154v1
Linear Representations of Sentiment in Large Language Models
2023-10-23T17:55:31
2023-10-23T17:55:31
Curt Tigges, Oskar John Hollinsworth, Atticus Geiger, Neel Nanda
cs.LG
cs.LG, cs.AI, cs.CL
Sentiment is a pervasive feature in natural language text, yet it is an open question how sentiment is represented within Large Language Models (LLMs). In this study, we reveal that across a range of models, sentiment is represented linearly: a single direction in activation space mostly captures the feature across a range of tasks with one extreme for positive and the other for negative. Through causal interventions, we isolate this direction and show it is causally relevant in both toy tasks and real world datasets such as Stanford Sentiment Treebank. Through this case study we model a thorough investigation of what a single direction means on a broad data distribution. We further uncover the mechanisms that involve this direction, highlighting the roles of a small subset of attention heads and neurons. Finally, we discover a phenomenon which we term the summarization motif: sentiment is not solely represented on emotionally charged words, but is additionally summarized at intermediate positions without inherent sentiment, such as punctuation and names. We show that in Stanford Sentiment Treebank zero-shot classification, 76% of above-chance classification accuracy is lost when ablating the sentiment direction, nearly half of which (36%) is due to ablating the summarized sentiment direction exclusively at comma positions.
[ 0.0208008923, 0.0139308162, -0.0170056485, 0.0318137407, 0.001805786, 0.0419126451, -0.0399483107, -0.0060305009, 0.00404491, -0.0463255867, -0.0309526864, -0.0237234123, 0.0009580395, 0.0182708949, 0.0158799849, -0.0555709153, 0.0160352141, 0.0639911667, 0.0517496243, 0.0056286585, 0.0400091223, 0.0080523053, 0.0358242318, 0.0303025376, 0.0004203405, -0.0390308462, 0.0060779671, 0.0181602463, 0.0175494738, -0.0147495233, 0.012662719, 0.0338065177, 0.0039014886, 0.0134257125, 0.0000017837, -0.0068085548, 0.0167297442, -0.0291377362, 0.0130667128, 0.0023115706, 0.0653807148, -0.0386954211, 0.0027616427, -0.0177734513, -0.0077836141, -0.01071095, 0.0446306542, 0.083221212, 0.0550519042, 0.0842516273, -0.0078159142, -0.0354461744, -0.0031511444, -0.0250695124, 0.0172139499, 0.0249049589, 0.0026418334, -0.0332003795, -0.0487069935, 0.0001248728, -0.0333656333, 0.0011690473, -0.0027320704, 0.0175325722, 0.0274454877, 0.0342282578, -0.0260615293, 0.0034709508, -0.0018933574, 0.0687139481, -0.0009799864, -0.0324076749, -0.0084702605, -0.0046614697, 0.0083193341, -0.0627579987, -0.0396140665, 0.0341114588, 0.0178806782, 0.0729084015, 0.0216252934, 0.0146120023, 0.0215342399, 0.026093062, -0.0180367976, 0.0239567254, -0.0490744561, -0.0577903539, 0.0133277299, 0.0533208773, -0.0291915666, -0.0077542146, 0.0069655511, -0.0233161133, 0.0384676047, 0.0023854524, -0.0062332684, -0.0030176812, 0.020002909, -0.1040811911, 0.0298398528, 0.0277017485, -0.0027344252, 0.0574914999, -0.0130707175, 0.0254672132, -0.0137588158, 0.0088811098, -0.014230717, 0.0117617808, -0.0320885479, -0.0127558894, 0.0491695739, 0.0395305566, -0.0130014326, -0.0109343566, -0.0680953935, -0.0048162714, -0.0377367623, -0.0522175729, 0.0120715881, 0.0425350331, 0.0397254862, -0.0077456706, -0.0376157165, 0.0594718009, -0.0465370379, 0.0236522146, -0.0209954418, -0.0101083023, -0.0300546773, 0.0650187358, -0.0019942282, -0.0153336292, -0.0013204548, 0.0292971916, 0.0232809298, -0.0378810279, -0.0220239032, -0.0398500711, -0.0509885028, -0.0432852544, 0.0280527826, -0.0343408957, 0.0017423512, 0.00594057, -0.0046585947, 0.0027466218, 0.0066824369, 0.0013267563, -0.0579078458, 0.0560821407, -0.0014938525, -0.0248184446, -0.0275740307, -0.0215551071, 0.0059882863, 0.0260392595, 0.0074822647, 0.0653560311, 0.0122774364, 0.0163291898, 0.0064772335, -0.0122485282, 0.0271467883, -0.0343152769, -0.0449581742, -0.0304302908, -0.0649007112, -0.0010291272, 0.0510605574, 0.0189971682, -0.0258763302, -0.0397928581, 0.0592690036, 0.0493412055, -0.0469863191, 0.0362918153, -0.0338591225, 0.0030345004, 0.001350392, -0.0027683654, -0.0640841722, 0.0451345071, -0.0421251804, 0.0102353776, 0.0332917608, -0.0130443592, -0.0261749215, -0.0577985793, -0.0184315816, -0.0199525952, 0.0255594905, -0.0057953908, 0.028491497, -0.0132145463, -0.0421518199, 0.0270113759, 0.0350012034, -0.0821698979, -0.0291958787, -0.020084627, 0.0310399663, 0.0560749099, -0.0052501806, -0.0112375673, -0.028872598, -0.0067799329, -0.0013992746, 0.0500170738, 0.0261552576, 0.02231423, 0.0099699954, -0.0275848303, 0.0046133138, -0.0098156855, 0.0375258103, 0.0203020424, -0.0399839394, -0.0227186363, 0.0087895505, 0.0035498284, -0.030199768, 0.0107538113, 0.0180124622, -0.0409862101, 0.016969841, 0.0162834674, 0.0528462641, 0.0270774905, -0.0185003579, 0.0210928749, 0.0308456626, -0.0467648469, -0.0584366582, 0.0387329496, -0.0291306432, -0.0238826629, 0.0151654473, -0.028056046, -0.0321866609, 0.0504644997, -0.0350938141, -0.0273258667, 0.0517374165, -0.0304291043, 0.0176969618, -0.0066696974, 0.00288216, -0.0092164781, 0.0340229608, -0.020425532, 0.0629561394, -0.0178481359, -0.006755264, -0.0229416322, -0.0277877524, 0.011994103, 0.0210081208, -0.0374411494, -0.0054028556, 0.0520598814, -0.0070638089, 0.0295673367, -0.0389158651, -0.0472549908, -0.0296319611, -0.1077649668, -0.0068464833, 0.0056414986, 0.020414168, 0.0249527507, -0.0167213641, 0.0141411191, 0.0077119074, -0.0350102223, 0.007017815, -0.0218227394, 0.0365311354, 0.0490842611, -0.0293175243, 0.0319627039, -0.0809698626, -0.0204905886, -0.0365229733, 0.039019756, -0.0246846974, -0.0278423224, -0.0202840008, 0.0460390933, -0.0190692302, -0.0055828425, 0.0065588299, -0.0708670393, 0.0213225521, -0.0308101345, 0.0301602315, 0.0734734833, -0.0062654284, 0.0442593172, 0.0335130133, 0.0269110315, -0.038631469, 0.0048539559, -0.0411576144, 0.0621826388, -0.0011620353, -0.0066015227, -0.0290236399, 0.1169393957, 0.0103514036, -0.0104589257, -0.0522060208, -0.0091681844, 0.0029578919, -0.0090366974, -0.0331293046, -0.0070112944, -0.0272078607, 0.0123402784, -0.0424683504, -0.0437965654, 0.0436605997, 0.0233948324, -0.0070512784, -0.0252760276, -0.0020287775, -0.0541760027, 0.0835248679, 0.0241898037, -0.013025065, 0.0000711154, -0.004755843, -0.0242574215, -0.0431931317, -0.0276527535, -0.0139404666, 0.0378785729, -0.002359418, -0.0042569325, 0.0060259821, -0.0331654586, 0.0189138111, -0.0751899406, -0.0513435714, -0.0013124933, 0.0119480416, -0.0185197908, -0.0163402893, -0.0323713273, 0.0250671767, -0.0142080933, -0.0330474228, -0.0126616228, 0.0150117176, 0.0193129461, 0.0121426303, 0.0059852758, 0.0496307164, -0.0179236699, -0.0068749054, 0.0560175106, 0.0055030743, 0.0377294123, -0.0164469387, -0.0051347823, 0.0135983676, -0.0099664247, -0.0487662181, -0.0441067293, 0.0272884089, -0.0510028861, 0.0088748205, 0.1199191436, 0.0353943817, -0.093002744, -0.005472898, 0.0079465229, 0.0123607768, 0.0453362651, -0.0054719225, -0.0396646895, -0.0385651812, -0.0284793247, 0.0017122383, 0.010734641, -0.0061965538, 0.0103506213, -0.1185244173, -0.0029462329, 0.0001866893, -0.0317119434, -0.0367281362, -0.026433317, -0.0195867028, 0.0043116002, -0.0045579541, -0.0201735366, 0.0069996929, 0.0049256664, 0.0296873227, -0.0364884026, 0.0104429666, 0.0094067948, -0.0328674316, 0.0352918096, 0.0599724203, 0.0878276378, -0.0042476244, -0.010309089, 0.0382627212, 0.0040703318, 0.0206466671, -0.0227144714, 0.0827447549, 0.0036306083, -0.0170516204, -0.0256322511, -0.0030815639, -0.0658436939, 0.0117709003, -0.0397095047, 0.0525383726, 0.0003554119, -0.0427905805, -0.0526331291, 0.0492036343, -0.0143554276, 0.0656125769, 0.0383647755, -0.0430972278, -0.0535336211, -0.0220940039, 0.002395072, -0.0373672955, -0.0565854572, -0.0228981338, 0.0088406578, -0.0322477072, -0.0728529617, -0.0763491094, -0.00407294, -0.0356024951, -0.028281549, -0.0223718956, -0.0234531853, -0.024220787, -0.031249797, 0.0464856289, 0.020028457, 0.0069604889, 0.0057875076, -0.02942314, 0.0460649319, -0.0100413533, -0.026072938, -0.0300783943, -0.0391290598, -0.0497560799, 0.0031945368, 0.052343376, 0.0149192633, 0.0178207643, 0.0170546044, -0.059633702, 0.0099535622, 0.0683803409, -0.0186741594, 0.0271452889, 0.034537863, 0.0538416319, 0.0068469117, 0.0376751088, -0.0117606474, 0.0584426634, 0.0202491544, -0.0097515658, -0.0339816846, -0.0015150867, 0.0052349567, -0.0047592791, 0.1101547405, 0.0288285036, -0.032571964, -0.0084023857, -0.0116925603, -0.0204465128, -0.0335000791, -0.0216157939, -0.0276489537, 0.0032244176, -0.0102366991, -0.0639148578, 0.0077444655, -0.0164321344, 0.0262144767, -0.0369266719, 0.0119274538, 0.0164397415, -0.0193781815, -0.0374902524, 0.0435910486, -0.0295910258, 0.01644665, -0.011476459, -0.017363267, 0.0207887385, 0.0145174731, -0.0163188912, 0.0401422791, -0.0238091536, 0.019447865, -0.0753721595, 0.0022311485, 0.0199931432, 0.0088203857, 0.0276525822, -0.0199396629, 0.0792564377, -0.0092764832, -0.0002128168, -0.0047895024, -0.004659628, -0.0194087829, -0.0103928149, 0.0158173684, 0.0225361437, -0.030979773, -0.0455544777, 0.067942284, -0.0576110408, 0.034849979, 0.0257504154, 0.0088343974, -0.0133158052, -0.0208224207, 0.0530861653, 0.0069037336, 0.0168318953, 0.0411718562, -0.0847221538, -0.0451822914, 0.0607279427, -0.0233100634, 0.0438514464, -0.0426260866, 0.0291019045, 0.025068786, 0.0075203958, 0.0354861915, -0.0350064412, 0.0084761502, -0.0525502674, 0.0042875009, -0.0490203239, -6.218344545e-33, 0.0033891443, 0.0072746305, -0.0447497293, 0.0336033702, -0.0191866439, 0.0209117215, -0.0377517641, 0.0542931221, 0.0056537879, 0.0685916692, -0.0212001763, 0.0655359626, -0.0091202082, 0.0265715383, 0.0468099415, -0.0144755263, 0.0383513719, -0.0325958058, 0.0019863201, 0.028767122, 0.0636306033, 0.0112560615, 0.0651720166, -0.0864148811, 0.0592446253, -0.0078960247, -0.0255323574, 0.0134260049, 0.0136614861, 0.048210144, -0.0151799554, 0.0704079345, 0.0463522039, -0.0190159045, -0.0157018416, 0.0322534218, 0.0047612353, -0.0325495265, 0.0148719391, -0.0011179646, -0.0272577256, -0.0535159297, 0.0665345043, 0.0165473595, -0.0208867453, -0.0197720136, 0.0333953798, 0.0028410044, -0.0173019357, -0.0887273178, -0.0481185876, 0.0160253774, -0.0068599856, -0.0163188204, 0.0188342594, 0.0276848748, 0.0065079993, 0.0935288519, -0.0337629728, 0.0221784264, -0.0189700648, 0.035340365, -0.023660684, 0.0012289103, 0.0149775455, 0.1109965518, 0.0521708466, 0.0499871224, -0.0625914037, 0.0280236714, 0.0100689717, -0.0111833885, 0.0639795586, 0.0488351882, 0.0743981525, 0.0039336639, -0.0214454103, -0.0054246481, 0.0457201563, 0.0021096729, 0.0404163487, 0.0056606741, -0.0136723751, -0.0173478164, -0.0041891173, -0.0338000096, -0.058678139, -0.011871337, -0.0131824771, -0.0174894389, 0.0021911289, -0.0231359433, -0.0007133764, -0.0380288176, -0.0016956213, 0.0590857342, -0.0127868718, 0.0378926918, 0.0463663191, -0.0277825072, -0.0462500192, 0.0020629324, -0.0319227912, -0.0029730848, 0.0203057416, 0.0282313768, 0.0726975799, 0.0060761534, -0.0662459284, -0.0233403742, -0.0122830961, -0.0009422586, -0.0148159508, 0.0720579326, -0.0078901984, 0.022358926, 0.0054133991, 0.0427667573, 0.0240020677, 0.0411827676, -0.0078326454, 0.0049965116, -0.0102898628, 0.0216689724, -0.0436262898, -0.0429137908, -0.0221666321, 0.0070181275, 0.0000897516, -0.0925561562, -0.0199896954, -0.0064469841, 2.591e-7, 0.0531140156, 0.080739148, 0.0058661113, 0.0207508374, 0.0453257523, 0.0608495809, 0.0004110448, 0.0310038123, 0.0351429544, -0.0282122567, -0.0041353512, 0.0085481834, 0.0287808701, -0.0050908001, -0.1262925565, 0.0217633713, -0.0399885662, 0.0390344113, 0.0334163979, 0.0173218213, 0.0927632451, 0.1124531478, 0.0252570435, -0.0143357702, 0.0058310195, 0.0202307869, 0.0675824061, -0.0570661686, 0.01106981, -0.0280927755, -0.044098638, -0.0407612883, -0.0369326435, -0.0291035324, 0.0003990528, 0.0062290845, -0.003530879, 0.0664013177, -0.0100405719, -0.063794367, 0.0101024434, 0.0078697596, 0.0117673129, 0.0136633292, 0.046528168, -0.0670633912, -0.0464562364, -0.0692364797, -0.0075631505, 0.0145012429, 0.0489294752, -0.0041684527, -0.0229555257, 0.004081205, -0.0201182105, -0.0350944772, -0.0201541129, -0.1126959547, -0.0673555881, 0.0053569521, -0.0269919429, -0.0297629014, -0.0068068723, 0.0564525276, 0.0347241759, -0.0426414907, -0.0109619731, 2.092123953e-34, 0.0671374723, -0.0307340678, 0.0019147871, 0.0326847881, 0.0094788317, -0.0154179167, -0.0328146741, -0.0213176701, 0.0723219514, -0.0549653061, -0.0065067811 ]
http://arxiv.org/abs/2310.15213v2
http://arxiv.org/pdf/2310.15213v2
Function Vectors in Large Language Models
2023-10-23T17:55:24
2024-02-25T18:32:18
Eric Todd, Millicent L. Li, Arnab Sen Sharma, Aaron Mueller, Byron C. Wallace, David Bau
cs.CL
cs.CL, cs.LG
We report the presence of a simple neural mechanism that represents an input-output function as a vector within autoregressive transformer language models (LMs). Using causal mediation analysis on a diverse range of in-context-learning (ICL) tasks, we find that a small number attention heads transport a compact representation of the demonstrated task, which we call a function vector (FV). FVs are robust to changes in context, i.e., they trigger execution of the task on inputs such as zero-shot and natural text settings that do not resemble the ICL contexts from which they are collected. We test FVs across a range of tasks, models, and layers and find strong causal effects across settings in middle layers. We investigate the internal structure of FVs and find while that they often contain information that encodes the output space of the function, this information alone is not sufficient to reconstruct an FV. Finally, we test semantic vector composition in FVs, and find that to some extent they can be summed to create vectors that trigger new complex tasks. Our findings show that compact, causal internal vector representations of function abstractions can be explicitly extracted from LLMs. Our code and data are available at https://functions.baulab.info.
[ -0.0192178898, 0.0421230383, -0.040007662, 0.0250588469, -0.0211115573, 0.0280407425, 0.0162351821, -0.0076271375, -0.0448470712, -0.036882367, -0.0334976166, -0.0190544855, 0.022192454, 0.0309527982, 0.0696622208, 0.0019253277, 0.0425944552, -0.0419031791, -0.0380127318, 0.0036202187, -0.0272972845, -0.0113036679, 0.0070688301, 0.0819984376, -0.0027590038, -0.0209664088, 0.0279978514, -0.0156084048, -0.0061869407, 0.017390918, 0.0019024262, 0.0218751803, 0.0318826959, 0.0430317968, 0.0000021946, -0.0294919964, -0.0027825877, -0.0214257054, -0.0236309655, -0.0128878346, 0.0131802326, -0.0235779397, -0.0119329942, 0.0047738696, -0.0304604862, -0.0272172857, 0.0604822114, 0.0010415792, 0.0068099722, 0.0856329873, -0.0033480327, -0.0596848354, 0.0216360241, -0.0466037728, 0.0224679746, 0.0044604582, 0.0120902602, -0.0222714562, -0.0390207544, -0.0051428708, -0.0644236356, 0.0536589548, 0.0456282794, 0.0054858103, 0.0320597775, 0.0501101278, 0.0320923626, -0.0248563215, 0.0203047674, 0.0448449552, -0.031151481, -0.0767697692, 0.0025559776, -0.0025582775, 0.0043957951, 0.0268009081, -0.0754951164, 0.0290791783, 0.0347452201, 0.0253437553, 0.0715241581, 0.0000883376, 0.0428814963, -0.0117435055, -0.0250357054, 0.0123899579, 0.0104717026, -0.0137281446, -0.0359425284, 0.0059839068, -0.0125207771, -0.0348307155, -0.0002831907, 0.032726571, -0.0019601986, 0.0418551639, -0.0168804843, -0.0554135814, -0.0044133011, -0.0311735515, 0.0498251431, 0.0550264381, -0.0114499135, 0.0250949804, -0.0732880682, 0.0900348574, -0.0711509958, 0.032231126, 0.0006023551, 0.0195614696, -0.024060702, -0.0493424796, -0.0105718058, 0.0104555478, -0.030260602, -0.0277847033, -0.0023034993, 0.0439533442, -0.0274502523, -0.0135650327, -0.0140107917, 0.0010306041, -0.0322982259, 0.0192896742, 0.0001506808, 0.0608320311, 0.0044282689, 0.0069802739, -0.005246684, -0.0387212969, -0.0294665992, 0.0105742151, 0.0133075034, -0.0408389159, -0.0287924148, 0.0588286184, -0.0129264314, -0.0235953797, -0.0002674804, -0.0375470333, -0.0059581613, -0.0366797596, 0.0489599183, -0.0654266402, -0.0091120545, 0.0234011691, 0.010665793, -0.031293951, 0.0162937194, 0.0250022057, -0.0641209409, 0.0427022092, 0.0446831957, 0.0077079153, 0.005526809, -0.0103353057, 0.0346000642, 0.0387062766, 0.0258480366, -0.0085741896, -0.0117168743, -0.0025400869, 0.0078227399, 0.0422022454, 0.0511572808, 0.0159668159, -0.0231066141, -0.0435435176, 0.0102677271, 0.0153241605, 0.0628333762, 0.0054265657, -0.0221219901, -0.0225806478, 0.068401143, 0.0326345488, 0.0466546901, 0.0288734827, 0.0564546287, -0.0416097119, -0.0016979061, 0.0235675815, -0.0820075572, 0.0531563535, -0.0285628252, -0.002634583, -0.0052958541, -0.0107308431, -0.0225002002, -0.033248283, 0.0177198183, 0.0153426835, -0.0193851665, 0.0003421656, 0.0608389266, 0.0589375012, -0.0407049954, 0.0332964137, 0.0023127701, -0.0357730649, 0.013816393, -0.0403084606, 0.0298554394, 0.00503504, 0.0479522124, -0.0238415208, -0.0041008363, -0.0144980839, 0.0191449542, 0.0361758322, 0.0079631396, 0.0118410671, -0.0196548533, -0.0336065814, -0.0003575212, -0.0213299412, 0.034883488, -0.0013312979, -0.0229126122, -0.0360197946, 0.0053971931, 0.0142993545, -0.0280121583, 0.0325083509, -0.0489107259, -0.0435128063, -0.0119657135, 0.0089346636, -0.0023074674, -0.0160815977, -0.0117155155, 0.0537408479, 0.011797525, -0.0647632256, -0.0069396771, 0.062201485, -0.0840192214, -0.0195756089, 0.0067306403, -0.0043809717, 0.0083738789, 0.03737076, 0.0004240485, -0.0429114364, 0.0715353042, -0.0645578057, 0.0546237864, -0.0120896958, 0.0150438491, 0.0131923333, 0.0188082624, -0.0340066403, 0.0453746952, 0.007648732, 0.0062407749, 0.0207822826, 0.0426411889, -0.0188923888, 0.0091420608, 0.0050546047, -0.0124718966, -0.0114185214, 0.0029710175, 0.0221476685, -0.0290084276, -0.0151879294, -0.0089851739, -0.0426238328, 0.0044458592, -0.0363981389, -0.0095239729, 0.0377642326, 0.0108248154, 0.0386091545, -0.0070624412, -0.0160652325, 0.0207959414, -0.0154029392, 0.0274992418, 0.0256477352, -0.0303010382, -0.0103205936, -0.0460385941, -0.0229036286, -0.0533243753, 0.091719076, -0.0085555529, -0.0111140497, -0.0371114872, 0.0337979607, 0.0181435123, 0.0074854628, -0.0460535958, -0.0261683576, 0.0176318027, -0.0259958692, 0.0700682402, 0.0730417967, -0.0207196828, 0.0274848714, 0.0443653762, -0.0008645551, -0.0752256215, 0.0038804179, -0.0448734537, -0.0193676427, -0.0441295765, 0.0161324292, 0.0013885645, 0.0997761562, 0.0072591896, -0.008144686, -0.0626550019, 0.0122241639, -0.0079641333, -0.0183012802, -0.0169961732, -0.0348516144, -0.0666126758, 0.0293495059, -0.0436987691, -0.0627561361, 0.0304802377, -0.0019770637, -0.0426428765, -0.0036778715, 0.0101756295, -0.0264672432, 0.0690299198, 0.0456174426, -0.0064485958, 0.0264584702, -0.0394448973, -0.0675661266, 0.0432878137, -0.00327554, -0.0210840907, 0.0571025163, -0.0330495834, -0.0018916624, 0.0077274516, -0.0152974809, -0.0403638519, -0.0176069718, -0.0065703434, 0.0266772993, -0.0126600275, 0.0156603418, -0.0145192547, -0.0237039905, 0.056161318, 0.0673597232, -0.0295501035, -0.0101153534, -0.0340207927, -0.0077224271, 0.0285849795, 0.009884269, 0.0463266224, -0.0325075984, -0.0115863197, 0.002466718, -0.0048008701, 0.0198302828, -0.0468557999, 0.0205032695, 0.0291390829, -0.0046328693, -0.030353982, -0.0036264677, 0.0526228771, -0.0858335495, -0.0452192686, 0.0743482262, 0.0124380272, -0.0731496587, 0.0128593249, -0.0200824477, 0.0018645945, 0.0462472253, 0.0148335639, -0.0817389637, -0.0179012809, 0.0279126428, -0.0289917998, -0.0006497702, -0.0115543352, 0.0333468318, -0.1153027415, 0.0312093776, 0.008482676, -0.0296397246, -0.0244257692, -0.021350801, 0.0191197228, -0.0004733276, -0.0122740492, 0.0005583027, -0.0336647555, 0.0041501014, 0.0054694428, -0.0066918693, -0.0255831107, -0.0102428924, -0.0238090232, 0.0380939543, 0.0888029784, 0.0153892711, 0.0116724567, -0.0384983197, 0.0437198505, -0.0111652724, 0.0159925576, -0.0046004206, 0.0323093645, 0.0234106127, -0.0287081599, 0.0141693112, 0.0311400872, -0.0377560779, -0.0322650708, -0.0451490656, 0.0869869962, -0.0301664621, -0.011256434, -0.000685917, -0.0010707587, -0.0247888528, 0.053436067, 0.0742076412, -0.0307461247, -0.0349065475, -0.0275737476, 0.0138618918, -0.0299302712, -0.0899762437, -0.0146849276, 0.0493660271, -0.0490628257, -0.0508694574, -0.0235825405, 0.0307354089, 0.0022530067, -0.0018596399, -0.0298245139, -0.0142262392, -0.034687113, -0.0425733402, 0.0165774431, -0.031497281, 0.0376491472, -0.0310793463, 0.0091698375, 0.0072294385, -0.0448339731, -0.0270966254, 0.041716475, -0.0814689249, -0.0593780987, 0.0260806531, 0.0654274002, 0.0195962489, 0.0242106933, -0.0282879304, -0.0472046584, 0.0680045709, 0.0053762966, -0.0431127883, 0.0343460813, 0.0252545625, -0.0236451048, 0.004674003, 0.0607585125, -0.0325644724, -0.0143057378, 0.0331265219, 0.0522936061, -0.0033066433, 0.0499514788, 0.0316008478, -0.036700312, 0.078247495, -0.0007012584, -0.0090725031, -0.0251114443, -0.016943885, 0.0077693015, -0.0105421832, -0.0425825454, 0.0074441629, 0.0330212973, 0.0383354053, 0.0165128931, -0.0091956817, 0.0400096029, 0.0272290781, -0.0038050544, 0.0244893692, -0.0020213013, 0.0250443723, 0.0117225591, 0.0645015016, 0.0069713322, 0.0288280305, -0.0021527964, 0.0120578799, -0.0088762455, 0.0391014442, 0.0239855889, 0.0196393989, -0.0464206524, -0.0137692988, -0.1058309898, -0.0220268406, 0.0213437956, -0.0363429636, 0.0785198584, -0.0495359302, 0.089883849, -0.029012233, -0.0041578286, -0.0109931156, 0.0176146496, 0.0007747768, 0.0067210095, 0.0320756286, 0.0203398075, -0.0100201517, -0.0360545628, 0.0714004561, -0.0119121298, 0.0364185199, 0.0056318911, 0.0449331813, 0.0019469351, -0.022948971, 0.0215588436, 0.0189093892, -0.0171008576, 0.0119849779, -0.054401733, -0.0570777282, -0.0034574049, -0.0324806646, 0.0023817923, -0.0641820505, 0.0210451744, 0.0308642965, 0.004333342, 0.0031219865, -0.0385694429, 0.0107487598, -0.0026073076, -0.0289967693, -0.0488278642, -6.674347456e-33, -0.0154128317, -0.0388432518, 0.0079500163, 0.0268206857, -0.0209132545, 0.0481009334, -0.0567299314, 0.0023582049, 0.0007326883, 0.0219166726, -0.0075400416, 0.0231281538, -0.0081428252, 0.0147899017, 0.0400262773, -0.0277818888, 0.0384253711, -0.0231723785, -0.023621738, 0.0147708599, 0.049914401, 0.0338914357, 0.076764062, -0.0440165922, 0.0211908463, 0.018349614, -0.0008283855, 0.0357562937, -0.0168555491, 0.0561095923, -0.0212278534, 0.0335314982, 0.0335863344, -0.1060020551, -0.0347953402, 0.0388554409, -0.0879566222, -0.0386856273, 0.0551492497, 0.0043740124, -0.0626440942, -0.0684753805, 0.0911392644, -0.0066640978, 0.0014881069, -0.0374359414, 0.0244006794, -0.0096225934, -0.0319758728, -0.0473830067, -0.1077347398, -0.0075904084, 0.0080586849, -0.0192700401, 0.0440657251, 0.0504145287, -0.0246357359, 0.022506671, -0.0455315001, 0.006431289, -0.0568013377, 0.0530507974, 0.0354853533, 0.0570631176, 0.0344043635, 0.0355440006, 0.0089152176, 0.0186084099, -0.0790675133, -0.0129641006, 0.0604326054, 0.0260610413, 0.0432864316, 0.0075702816, 0.0499246977, 0.0047865245, -0.0181920119, -0.0397762805, 0.0172514189, 0.0466968156, 0.0309576187, 0.0102310767, 0.0255113374, -0.018732639, -0.0584954657, -0.0331691727, -0.0487157218, -0.0091492925, 0.0068522645, 0.0262561459, 0.0419727713, 0.0101105403, 0.0341610983, -0.0430247262, 0.0236689597, 0.0278458241, -0.0118535636, 0.0371663459, 0.0190108605, -0.0056721801, -0.0551409759, 0.0091321403, 0.0038171704, 0.007441672, 0.0444777869, 0.0202205256, 0.0490905046, 0.0237849932, -0.0418896377, -0.033515729, -0.0715062544, -0.0020046332, 0.0138014965, 0.0354509018, 0.0441360772, 0.0228385124, -0.0204087608, 0.0072712186, -0.000557602, 0.013138622, -0.0071094222, 0.0089775538, -0.0520161204, 0.0384832881, -0.0681810305, -0.0476241596, -0.0679140836, 0.0801641867, 0.0818515122, -0.0595872663, -0.0292501785, 0.0026617178, 2.976e-7, 0.0579494089, 0.0440853313, 0.0063847462, 0.0356690846, 0.0459824391, 0.0040470297, 0.0019786733, 0.0339999683, 0.0380697884, 0.0107573345, 0.0004589405, 0.0113999341, 0.0816660002, -0.000198058, -0.0598223768, -0.0352234021, -0.0710850582, 0.0112077445, 0.0025221687, -0.0097203776, -0.0155066801, 0.0965581015, 0.0352017842, 0.0041202824, 0.0185721759, -0.0001444502, 0.0620294362, -0.0437816978, 0.0193743352, -0.025365537, -0.0415905192, 0.0170723535, -0.0227742083, -0.0215492807, 0.0016579177, 0.0261405259, -0.0142367342, 0.0429866426, 0.006142247, -0.0318127982, -0.0205379222, -0.0235395506, 0.0012804337, -0.0610367134, 0.0242363699, -0.1005762815, -0.027165195, 0.0014524249, -0.0106096072, 0.0365018398, 0.0152282873, 0.0284596924, -0.0300889947, 0.0052225795, 0.0099285534, 0.0271712001, -0.0029515384, -0.0833588094, -0.0608560443, 0.037839178, -0.031421598, -0.0215946287, -0.0615342222, -0.031323839, 0.0100973835, -0.0273007322, -0.0214181524, 3.077529847e-34, -0.0016137656, 0.00123285, 0.0309982337, 0.0059259408, 0.018722795, -0.0452205576, -0.0173303913, 0.0367899984, 0.043767672, -0.0861780643, -0.0257952157 ]
http://arxiv.org/abs/2310.15151v1
http://arxiv.org/pdf/2310.15151v1
Verb Conjugation in Transformers Is Determined by Linear Encodings of Subject Number
2023-10-23T17:53:47
2023-10-23T17:53:47
Sophie Hao, Tal Linzen
cs.CL
cs.CL, cs.AI, cs.LG
Deep architectures such as Transformers are sometimes criticized for having uninterpretable "black-box" representations. We use causal intervention analysis to show that, in fact, some linguistic features are represented in a linear, interpretable format. Specifically, we show that BERT's ability to conjugate verbs relies on a linear encoding of subject number that can be manipulated with predictable effects on conjugation accuracy. This encoding is found in the subject position at the first layer and the verb position at the last layer, but distributed across positions at middle layers, particularly when there are multiple cues to subject number.
[ 0.0004097461, 0.0353829525, -0.0325541198, 0.0191711485, -0.020815216, 0.0076700579, -0.0027987116, -0.0050838017, -0.0552162193, -0.0654600561, -0.0271937586, -0.0189612731, -0.0196743011, 0.0113267377, 0.0329111256, -0.0063810246, 0.0801223367, 0.0231479332, 0.0233008489, -0.0101515595, -0.0273518767, -0.0308028292, -0.0410026349, 0.0460662879, -0.0347584486, 0.0026045816, 0.0008671043, -0.0152711319, -0.0119352918, 0.0362748541, 0.001646739, 0.0289003886, 0.0167865064, 0.0206372198, 0.0000017066, -0.0363812335, -0.0178792924, -0.0133299567, -0.047506012, 0.0296827313, -0.0509252325, -0.0153368358, -0.0453421474, 0.004050693, -0.0302839912, 0.0083816079, 0.0547171868, 0.0520755276, 0.0351208821, 0.0903081149, -0.0257783961, -0.0189942569, 0.0393664129, -0.0173802972, -0.0255364515, 0.0139096109, 0.0150247421, -0.0662714466, -0.0574086457, -0.0105322814, -0.0713687018, 0.0013184773, 0.045819588, -0.0067953123, -0.030535778, -0.0003337299, -0.0470941439, -0.0318751857, 0.0218820702, 0.0453306474, -0.0136980647, 0.0124537107, 0.0111160642, 0.0074718408, 0.0214497633, 0.0287540331, 0.0013760267, 0.0174150951, 0.0505483933, 0.0246526729, -0.0016585231, -0.0426788516, 0.0209818222, -0.0016866763, -0.0360865332, 0.0784133226, 0.037490733, -0.0236751251, -0.0299004391, 0.0464815199, 0.0136531452, -0.021880053, 0.0050012656, -0.0107606333, -0.0388789102, 0.0238450374, 0.0051729507, -0.0534714572, -0.0116081396, -0.0344541632, 0.0261354838, 0.0279771201, -0.037151251, -0.0123262852, -0.0478793047, 0.0508683138, -0.0545891412, 0.1178956404, -0.0502884388, 0.0047332086, 0.0019267249, -0.0421452112, -0.0646641701, 0.0104940534, -0.0350393802, -0.0207296666, -0.0555535667, 0.0499637909, -0.0005473859, -0.04873522, -0.0374486148, -0.0056741894, -0.0426612198, 0.010100713, -0.0136052407, 0.0640973076, -0.0188941881, 0.0559892021, -0.0181659441, -0.074199982, -0.0163758639, -0.0091614546, 0.0076341704, -0.0573809184, -0.0161791667, 0.0521041937, -0.0146958325, -0.0575157814, -0.0021968368, -0.0123400614, -0.0320758037, 0.0065384698, 0.0733172596, -0.0215893034, -0.0179142691, 0.0101526193, 0.0105582764, -0.0426566303, -0.002092585, -0.0132020367, -0.0147041781, 0.0365430973, 0.0298489928, -0.0366039947, -0.007702291, -0.0219659489, 0.0098149385, 0.0408629403, 0.060090974, 0.0072840624, 0.014209413, -0.0269508921, 0.0297246501, 0.0217469279, 0.036565356, 0.006175865, -0.0368832871, -0.0654480904, -0.0067205243, 0.0132545298, 0.0185682699, 0.0183242857, -0.0194158722, -0.0008031897, 0.062828429, 0.0323878676, 0.0087061618, -0.0077470178, 0.0277917814, -0.0392441489, 0.0085067283, 0.0412573144, -0.0539688207, 0.0346891023, 0.0011340274, -0.0445809253, -0.069470942, 0.0190286338, -0.0221937578, -0.0175382663, -0.005794392, 0.0147224842, 0.0042341487, -0.0454676785, 0.0520355776, 0.0503779911, -0.0000807795, 0.0816131458, 0.000753745, -0.074292466, 0.039256528, -0.0532454588, -0.0068586143, 0.0028217339, 0.031886477, -0.0213826932, -0.0331998654, 0.0040854579, -0.0235858075, 0.0169050824, 0.0343117304, 0.0145120956, 0.0241314154, -0.0213661939, -0.0186251365, -0.0118701085, 0.0451832339, -0.0114222802, -0.0523008853, -0.0562936328, -0.0122646568, -0.0129428171, 0.0430109203, 0.041810032, 0.0133016603, -0.022830233, 0.0145288724, 0.0401770994, 0.04984558, -0.0001739614, -0.0014132641, 0.0425704569, 0.0337516591, -0.0257998165, -0.0617242381, 0.0610318556, -0.0245999135, -0.0371697657, 0.0111532621, -0.041237995, -0.0249413755, 0.0757550374, -0.009628552, -0.0548388958, 0.0479193479, -0.1120410189, 0.0971756279, -0.0103720743, 0.0222094469, 0.0196971092, 0.0201480985, -0.0297027137, 0.0331342481, 0.0099113565, -0.0000234326, 0.0081466632, -0.0059498996, 0.030500859, 0.0120009109, -0.0114307702, -0.0032591783, -0.0073336428, -0.0208187923, 0.0433378629, -0.0693969205, -0.0380563401, -0.0063277981, -0.0341983624, -0.0365996324, -0.0261586662, 0.0369471237, 0.0145767219, 0.0177968554, 0.0323906541, -0.0056220251, -0.0202496145, 0.018611243, -0.0049775653, 0.0454232246, 0.0387490503, -0.0234518237, -0.0595696494, -0.0312369261, -0.0291857943, -0.0477646925, 0.0465298966, 0.0043624281, 0.0271159988, -0.0120599465, -0.0797544941, 0.0115768071, 0.0328556225, 0.0000199276, -0.0890943706, 0.0214005355, 0.0036336042, 0.0653082579, 0.0468565822, -0.0041198744, 0.0819432586, 0.0117084133, 0.0087850718, -0.0486771911, -0.0063087177, -0.0600293167, -0.0312056299, -0.067711547, -0.0150557635, 0.0022813224, 0.1066023186, -0.0080022244, -0.0130370902, -0.0641538128, -0.03566074, -0.0029817042, -0.026152594, -0.0039398079, -0.023547899, -0.066390194, 0.0180855449, -0.0275632516, -0.0354189985, 0.0664700046, 0.029777132, -0.0163489748, -0.0324454159, 0.0386786051, -0.0075408462, 0.0507859848, 0.046057336, 0.0041059684, -0.0027000692, -0.0473279655, -0.0630696863, 0.0142266434, 0.022955576, 0.0055668089, 0.0695959106, -0.073392421, 0.0097250473, 0.0136432787, -0.0457970686, -0.045908317, -0.0414180495, -0.0096233999, 0.0274322331, 0.0715079457, -0.0457292944, -0.0424842611, -0.0760412887, 0.0293717701, 0.0363055356, 0.02782383, 0.0167848002, -0.0449967869, 0.0010504484, -0.0042642127, -0.0086296676, 0.0308951326, -0.0332653858, -0.0347889327, 0.0292594768, -0.0286811385, 0.0355971493, -0.0505718626, 0.0259875972, 0.0430398621, -0.0239532404, -0.0211986136, -0.0390175283, 0.0467552915, -0.022206476, 0.0078152083, 0.0441799201, 0.0338504016, -0.0339805633, 0.048076462, -0.0139208781, -0.0085578309, 0.0250796862, -0.0039224066, -0.0785449892, -0.0236174408, 0.0115131456, -0.0316995308, 0.0056595462, 0.0014460305, 0.0085245753, -0.1005795076, 0.0122490898, -0.0204789694, 0.0083699469, -0.0169578996, -0.026275197, 0.021866262, -0.0223270115, 0.0397035889, 0.011013275, 0.0159942023, -0.0098849339, 0.0261598863, 0.0057962886, -0.0308441687, -0.0265166834, -0.0411551446, 0.0545954704, 0.052785337, 0.0281097125, -0.0485201292, -0.0613197312, 0.0389816798, 0.0012933126, -0.0041672108, 0.0326619484, 0.062186338, 0.030130554, -0.0422710441, -0.0249413438, 0.0222586747, -0.0239239503, -0.0339962654, -0.0663781092, 0.0576334894, -0.0359163769, 0.0131775951, 0.0044274307, -0.024377374, -0.027579451, 0.0277356729, 0.0243500397, -0.0337414667, -0.0093563953, -0.0216749627, -0.0258314684, -0.0097070085, -0.0342449248, -0.0234338958, -0.0228469893, -0.0675246865, -0.0876718089, -0.0241439119, 0.0189847462, -0.0297170393, 0.0038213157, -0.0569123924, 0.0437175967, -0.0197281409, -0.0062904088, 0.0535205305, 0.0199255534, 0.0671994835, -0.0627772808, -0.0252414327, 0.0633105412, 0.0079480521, -0.0118991174, -0.0155550083, -0.0119847022, -0.0383625627, 0.069890663, 0.0239030253, 0.0136752287, -0.0047755376, 0.0006161382, -0.0351543725, -0.0317239575, 0.0020737736, -0.0102541931, 0.0295143649, 0.0615983605, -0.0178127978, -0.0038374176, 0.0578516573, -0.0355573893, 0.0434775651, -0.0162188448, 0.0269258097, -0.0498535037, 0.0066054659, 0.0525201969, 0.0047639781, 0.1054450125, 0.0040147686, 0.0308636874, -0.0100730285, 0.0317014419, -0.0314992554, 0.0026327111, -0.0301878918, 0.0274138413, 0.0192603301, 0.0308116432, -0.0181245413, 0.0218897946, -0.0140392277, 0.0100492416, 0.0022464609, 0.0301204268, 0.0202863738, 0.0001409264, -0.0031265903, 0.0481164679, 0.0244303998, 0.0669617727, 0.0129956678, 0.0185639989, 0.0063759657, 0.0102711581, 0.0404190794, 0.0323448405, -0.0682395548, -0.0143039273, -0.0697634742, -0.0024975282, 0.034173917, -0.0131025724, 0.0358986557, 0.0048686238, 0.0658085793, -0.0455089733, -0.0059477841, 0.012052916, -0.0050425865, -0.01409264, 0.0263540205, 0.0463200621, 0.00404895, 0.00818404, -0.0109547917, 0.0676534548, -0.0518432334, 0.0677329525, -0.0757808164, 0.0275744293, -0.0079177963, -0.0352892205, 0.0651375875, -0.0020066667, -0.0178865045, 0.0311030317, -0.0377972238, -0.0519214123, 0.0192681067, -0.0192929953, 0.0516385324, -0.0663769469, 0.044068221, 0.039437715, -0.0171469487, -0.0458481982, -0.0256141964, 0.0076327561, 0.0024029191, 0.0068795895, -0.0221689828, -6.077348405e-33, -0.0294422023, 0.0023437296, 0.0142511912, 0.0195477884, -0.006527381, 0.0115335323, -0.0218343083, 0.019450862, -0.0022282554, 0.0872173011, 0.0046319836, 0.0318042301, 0.0131935263, 0.0390736721, 0.0280850213, -0.045927871, 0.0286567733, -0.0161113162, -0.0284353457, -0.0332525671, 0.0519911572, 0.02398514, 0.089307785, -0.064418368, 0.0090445578, 0.0420202613, -0.0469948463, 0.0391128547, -0.0694841519, 0.0243142601, 0.0108614378, 0.0225622766, 0.0183358304, -0.0677999258, -0.0064508184, 0.0506515466, -0.0327792913, -0.0350441448, 0.0414570868, 0.0480181165, -0.0790309235, -0.0364671871, 0.0478289463, -0.0196173564, -0.0193792656, 0.0275869295, 0.0160260908, -0.0053579272, -0.0017516616, -0.0155081432, -0.0606110543, -0.021602463, -0.0276864897, -0.0483605228, -0.0169310663, 0.0550066233, -0.0276988279, -0.0243503042, -0.0292095523, 0.0173422694, -0.031096207, 0.0259840917, 0.019695513, 0.0267944615, -0.0283873715, 0.0405267999, 0.0545384958, -0.0211054534, -0.0225112028, -0.0333617479, 0.0336432718, 0.0575694032, 0.041550599, 0.0181620959, 0.0432960987, -0.0030516649, -0.0288280006, -0.0392644033, 0.0548579767, 0.0099268081, -0.0162350722, -0.0034346362, 0.0005329537, -0.0298588667, -0.0269992463, 0.0067048613, -0.0332193337, -0.0006165012, -0.0061758603, -0.005209473, 0.0107213035, 0.0125588393, 0.0291897915, -0.0155390287, 0.018691333, 0.015424924, -0.0279347133, 0.0416081399, -0.0038258433, -0.0085715866, -0.0372679569, -0.0382455513, 0.0188113041, 0.0129426029, 0.0161633547, 0.0497483201, 0.0643750429, 0.0135469697, -0.0189070962, -0.0050481842, -0.0373214893, -0.0417913087, -0.002357343, 0.0333666801, 0.0192232523, 0.0269292556, -0.0160475485, 0.0209262241, 0.0068261437, 0.0585431047, -0.0299726687, 0.0134861441, -0.0165878236, 0.0140369339, -0.0150110023, -0.0338024758, -0.0284844283, 0.0742510632, 0.0229461286, -0.0789549574, -0.0134056685, -0.0254870132, 2.693e-7, 0.0931032449, 0.0420453176, 0.0395740718, 0.0247173291, 0.025381837, 0.0080468589, 0.0048182649, 0.0433037356, 0.0241524614, 0.0213877894, 0.0215914212, -0.0146259898, 0.0001202793, 0.0036888248, -0.0177207422, -0.0290058888, -0.0538400896, -0.0081737852, 0.0195240583, 0.0419569425, 0.044654008, 0.1011801064, 0.0454594046, -0.0206755642, 0.0054661315, 0.0218662806, 0.052652806, -0.0183780901, 0.0058789738, 0.0233743787, 0.0014241998, -0.0283284169, 0.0013917194, 0.0369730294, -0.046975743, 0.0368888266, -0.0098937964, 0.0544268861, -0.0331226215, -0.0440064557, -0.0264851134, -0.0375965759, -0.0110478662, 0.0586141683, 0.0054884823, -0.065885514, -0.0338998437, 0.043762546, -0.0182083771, 0.0432264656, 0.0238054879, 0.0181507599, -0.0129634794, 0.0064215921, 0.0297296718, 0.0015994227, -0.0191548318, -0.0936893895, -0.0433836244, -0.0199679043, -0.0587238967, -0.054404296, -0.0048174202, -0.0475693531, 0.0261988305, -0.0076332465, -0.0175090618, 2.080746453e-34, 0.0292997304, -0.0005099226, 0.0618379675, 0.0242343228, 0.0058270721, -0.0355628245, 0.0470648669, 0.056446325, 0.0250656959, -0.0478575118, -0.011786202 ]
http://arxiv.org/abs/2310.15147v2
http://arxiv.org/pdf/2310.15147v2
S3Eval: A Synthetic, Scalable, Systematic Evaluation Suite for Large Language Models
2023-10-23T17:52:06
2024-04-06T15:20:18
Fangyu Lei, Qian Liu, Yiming Huang, Shizhu He, Jun Zhao, Kang Liu
cs.CL
cs.CL
The rapid development of Large Language Models (LLMs) has led to great strides in model capabilities like long-context understanding and reasoning. However, as LLMs are able to process longer contexts, it becomes more challenging to evaluate whether they have acquired certain capabilities, since the length of text (e.g., 200K tokens) they can process far exceeds what humans can reliably assess in a reasonable duration. In this paper, we propose using complex synthetic tasks as a proxy evaluation method, and present S3Eval, a Synthetic, Scalable, Systematic evaluation suite for LLMs evaluation. The synthetic nature of S3Eval provides users full control over the dataset, allowing them to systematically probe LLM capabilities by scaling text length and varying task difficulty across diverse scenarios. The strong correlation between S3Eval and real-world benchmarks demonstrates the soundness of using S3Eval for evaluation of LLMs. S3Eval provides a flexible and infinite long-context data generation method. We have generated a comprehensive dataset called S3Eval-Standard, and experimental results have shown that it poses significant challenges for all existing LLMs.
[ 0.0219265856, 0.0300490819, -0.0063940203, 0.0663462952, -0.0524862409, 0.0170924831, 0.0476659611, -0.0264377277, -0.0156060969, -0.0355893187, -0.0375031717, -0.0593031049, -0.0130500477, 0.0574613512, 0.0298014991, -0.0284575839, 0.0406933576, -0.0624881834, -0.0066910954, 0.0117791994, -0.0086260401, 0.0042536864, 0.0013752318, 0.0371453874, 0.0026838495, -0.0251430944, -0.0114375874, -0.0122484351, -0.0051121563, -0.0310982279, -0.0023613381, 0.072807543, 0.0262380354, 0.0397259854, 0.0000019586, -0.0709586367, 0.0073637776, -0.0045050853, -0.0584310666, 0.0210710652, 0.0590418838, 0.0195595231, -0.0027774004, 0.0240392126, -0.0490407124, 0.0019606287, 0.0149252769, 0.0279566459, 0.0538352616, 0.0683305189, 0.000526806, -0.0210043117, 0.0055852481, -0.0375570431, 0.0246695392, -0.0531123206, 0.0194634646, -0.0014438955, 0.0525413714, 0.0174068641, 0.0088261645, 0.0362412892, 0.0767697692, -0.0306709073, -0.0087732719, 0.0332424641, -0.0632500127, -0.0083778501, -0.0009662908, 0.0660479963, -0.0053193374, -0.019043982, -0.0136608826, 0.0097566275, -0.0092354883, -0.0292657558, -0.0401756279, 0.0121479938, 0.0034326888, 0.002745857, 0.031766545, 0.0060494589, 0.0437088497, 0.0144355921, -0.0437674113, 0.0694234669, 0.0129431738, -0.0323547907, -0.0114826206, -0.0008582417, -0.0309052244, -0.0580822006, -0.0036229761, 0.017531829, -0.0799442679, 0.0179912243, -0.0399140231, -0.0437756926, 0.0400499143, -0.0365853086, 0.0292469822, 0.0176899694, -0.0324234255, 0.0767335668, -0.0428272225, 0.0638443008, -0.0175571945, 0.0286247004, -0.036086116, -0.0308550838, -0.0454684608, 0.0074297478, -0.0150269587, -0.0079597766, -0.0632470027, -0.0204373617, -0.0269582756, 0.0141822714, -0.0177584235, 0.0119689209, 0.0337719209, 0.0022116019, -0.0067364001, -0.0211561844, -0.0254735406, -0.0082743755, -0.0504381992, 0.016249584, 0.0110509759, -0.0506401621, -0.0037958657, 0.0284766071, -0.0074480898, -0.0412903875, 0.0093604904, 0.0727293938, 0.0061108307, -0.0170433205, -0.0227693953, -0.0161431115, -0.0167775955, -0.091064848, -0.0104495706, -0.0871155635, 0.034469679, 0.0180419516, -0.0193939991, -0.0032634807, -0.0097932108, 0.0141274305, 0.0091708032, 0.072180748, 0.00504618, 0.0090511693, -0.0075502368, 0.0137360571, -0.0123365866, 0.0872078463, 0.005284213, 0.032831423, 0.0332693495, 0.0048467182, 0.0043607, 0.0495554805, 0.0125331767, 0.009951314, -0.0287882648, 0.0538901687, 0.0126623036, 0.0408521406, 0.0121940682, 0.0679831132, -0.0007500899, -0.0334366187, 0.0321538337, 0.0524283499, 0.0498437509, 0.0034087566, 0.0843094215, -0.0173859131, -0.000515442, -0.0125582526, -0.0735651925, 0.0018978791, -0.0063876016, 0.0214542057, 0.0107618794, 0.0254190303, -0.0174485296, -0.0365229212, -0.0181412864, 0.0076312209, -0.0058637946, 0.0149666285, 0.0549471378, 0.0111236591, -0.0237680562, 0.045387052, 0.0062246853, -0.0580751449, 0.0147257969, -0.0527336001, 0.0309603401, 0.0952538699, 0.0413771272, -0.0234746076, -0.0094188275, -0.0030760486, 0.0354828686, 0.0570058003, 0.0276025254, -0.0132091613, 0.0199651327, -0.037178997, -0.0258507375, -0.0094415667, 0.0115742059, 0.004044286, 0.0413762853, -0.003287164, 0.0289987549, -0.0810662135, -0.0062695248, 0.0362977013, -0.0589942969, -0.0227687173, -0.0155446324, 0.0018314602, 0.0249203332, 0.0174959395, -0.0039739939, 0.0265153721, 0.0266127735, -0.0493688211, -0.0065611666, 0.0078736246, -0.0656801686, -0.0259811692, 0.0420001149, -0.0150920404, -0.0323878564, 0.0369441696, -0.0357666202, -0.0535256304, 0.0163227711, -0.0177215151, 0.0132775921, -0.0374054164, 0.0154650193, -0.0268892571, 0.0197739787, -0.0282683391, 0.072622858, -0.004303169, 0.0286050215, 0.0303266477, 0.0401169993, 0.0004371406, -0.0296562985, -0.0440717079, 0.0082240328, -0.0211300105, -0.006098167, -0.0060931668, 0.0333292708, -0.0711127073, -0.0216952097, -0.1167870015, 0.0257260483, -0.0457518175, 0.0421119332, 0.0274067149, -0.0095900251, -0.0117898146, 0.0153367175, -0.0307805035, -0.0234634504, 0.0165054668, 0.0195758026, 0.0128509793, 0.0124255372, -0.0427010842, -0.0357287638, -0.0196794178, -0.0268881004, 0.0731811747, 0.0083842399, 0.0211774949, -0.0363554098, 0.0301298518, 0.0105005912, 0.0170734599, -0.0120373685, -0.0222752672, 0.0236226562, -0.0278749615, 0.0617937744, 0.0413989015, -0.0000242911, 0.0184810981, 0.0218434557, -0.0100999074, -0.0304108113, 0.0089480206, 0.0053401943, -0.0176993217, -0.0606768131, -0.0130753471, -0.012730157, 0.0622436181, -0.0195495822, 0.0007893838, -0.0318083055, 0.0101363249, -0.0287444144, -0.0327323787, -0.0395485498, -0.0027268734, -0.0220324043, 0.0440058783, -0.0572104342, -0.0395383127, 0.067547448, -0.0597137809, -0.0143584106, -0.0347683504, -0.0183004458, -0.0549857132, 0.0994590372, -0.0146544697, -0.0090174368, -0.0409455858, -0.0107866703, -0.0265950039, -0.0025585971, -0.0291259382, -0.0169743653, 0.0608513877, -0.0512510762, 0.021507632, -0.0132308844, -0.0357788429, -0.0370512046, -0.0218896978, -0.0381387174, 0.0456199758, 0.0222364627, -0.0120647205, -0.023761088, 0.0072805677, 0.0198735315, 0.0593601875, -0.0182732642, 0.0013347175, -0.0149569185, 0.0216922555, 0.0369293801, 0.0178772807, 0.0229847692, -0.0345957838, 0.0534675866, 0.0448592119, 0.0592149869, 0.0053898264, -0.0537079684, 0.0095132962, -0.0051049953, -0.0320193358, 0.0124252364, 0.0090801697, 0.0512503162, -0.0851521045, -0.0210815128, 0.1322173625, 0.0142642176, -0.0388285592, 0.0184025932, -0.0286888052, 0.021057833, 0.0465823635, 0.0064375577, -0.0997360125, -0.0412598886, 0.0074798227, -0.007714489, -0.0092135184, -0.04356388, 0.0066103316, -0.1204668507, 0.0308836214, -0.0117181521, -0.0622005835, -0.004197055, -0.0408957079, -0.0035168102, -0.0011754106, 0.0436323583, 0.0252744742, -0.007047045, -0.0173803251, 0.0026832614, 0.00425898, -0.0835554674, 0.0998114049, -0.0431617498, 0.0684108213, 0.0204088874, 0.0020750402, 0.0024134375, -0.0173918176, 0.0659333467, -0.029309582, 0.0113254255, 0.0044854339, 0.0212179665, 0.0022613259, -0.0207413621, -0.007168489, 0.0276932139, -0.049853839, -0.0172558874, 0.0186675005, 0.0991163552, -0.0011921701, -0.0101776971, -0.0235468466, -0.0285717808, 0.0262919851, 0.077412203, 0.0623161793, -0.0435043797, -0.0455578603, 0.0012858608, -0.0588511787, -0.081018731, -0.0208596252, 0.0299675595, 0.0278648734, 0.0010431346, -0.0430460647, -0.037119057, 0.0539876856, 0.029844977, -0.0227185376, 0.0224380195, -0.0169498511, -0.0055132383, -0.0648585334, 0.0635175928, -0.0415464081, 0.0591440946, -0.0536570773, 0.022298919, 0.0086502405, -0.0030600631, -0.0241134558, 0.0295595936, -0.0893138945, -0.058442574, 0.0030271225, 0.0352077633, 0.027440846, 0.0149562471, -0.039051313, -0.0537211969, 0.0501147099, 0.0039127115, -0.0494023412, 0.001163122, 0.0085970275, 0.0176699646, 0.0117250104, 0.0512104817, -0.0359084532, 0.013876521, 0.0019509252, 0.0356021449, 0.0122329937, 0.0004574239, -0.0106641036, 0.0056345076, 0.014524986, -0.0014570305, -0.0099778324, -0.0178471953, 0.0183902979, -0.0518555939, -0.0111786267, -0.0355922915, 0.0103471866, 0.0178551357, -0.017797675, 0.0253026783, -0.0036258947, -0.0196050294, 0.0084669832, -0.0217104852, 0.0490617007, 0.0012351339, 0.0188084152, 0.037143264, 0.0016949549, -0.0198094621, -0.0212665163, -0.0352449715, 0.0291844793, -0.02223593, 0.0386676714, 0.0184675884, -0.0008843771, -0.0226601027, 0.0439379811, -0.0671817809, -0.0184541196, -0.0002405968, 0.0293207522, 0.0580050275, -0.0073833489, 0.0399769507, -0.0061835437, 0.0005978336, -0.0357650444, 0.0293510482, -0.0129760755, -0.0399693921, 0.0137168309, 0.0546914525, -0.0175468568, 0.0083297715, 0.0759136453, 0.0210096482, 0.0215842985, 0.0312002599, 0.0140234632, -0.0372789949, -0.0409807563, -0.0321321376, 0.0051535745, -0.0316677354, 0.0074568843, -0.0427860208, -0.0981456712, -0.00680592, 0.052316267, -0.0179206692, 0.0110190203, 0.0299882572, 0.0818637237, -0.004676261, -0.0058347061, -0.0134064453, 0.0060319505, -0.0065310369, -0.0390370637, -0.0253000744, -6.538391983e-33, -0.0019905302, -0.0465374626, 0.0483639389, -0.0635474995, -0.0285349898, 0.0230042636, -0.0533379838, 0.0058820639, 0.0017742885, 0.0165302549, -0.0181091968, 0.0103445239, 0.0140025895, 0.051814381, 0.0071794083, -0.0275344942, 0.026250476, 0.0101836957, -0.0060025719, 0.0331241675, 0.0411686227, 0.005762808, 0.0429084823, -0.0517700016, 0.0225703418, 0.0009625481, 0.0005764486, 0.0475834943, -0.0273105241, 0.0863448232, -0.0176471695, 0.0323482342, 0.0544903316, -0.0718173236, -0.0230022259, 0.0272015613, -0.0608067773, -0.0048548118, 0.0437227711, -0.0109074125, -0.0611054376, -0.0222729966, 0.0433220863, -0.0003033915, -0.0025098256, -0.00288869, 0.0233340748, -0.0149600739, 0.005745139, -0.0093083838, -0.050769791, 0.0316174217, -0.0085434048, -0.0117091183, 0.0006900451, 0.019051373, -0.0114021739, 0.003527313, -0.0264828447, -0.0160932373, -0.0273252204, 0.0365772173, 0.0952544957, 0.0253184438, 0.0070495061, 0.0515469462, 0.0082003437, 0.011844283, -0.0326782838, -0.0314605646, 0.0391519144, 0.0641018674, 0.0547994301, 0.0600678362, 0.0211877264, 0.000983267, -0.0565165691, 0.0058783907, 0.0140225021, 0.0437096134, 0.0359627716, -0.0009450393, -0.0158847887, -0.0111886486, -0.0585454069, 0.0134624494, -0.0537305437, -0.0139513677, 0.0623365268, -0.009576492, -0.0100658424, -0.0142025156, 0.042299971, -0.0338357016, -0.0107951229, 0.0367301516, 0.0072386768, 0.0281008594, 0.0097267777, 0.0426041596, -0.034057565, -0.0222779755, 0.0126050422, 0.042626828, 0.0169885326, -0.0222472418, 0.023923222, 0.0098082284, -0.0544151999, -0.0003712034, -0.0659032166, 0.0315223187, -0.0295213219, 0.0431290083, 0.0461042002, 0.0062976629, -0.0173277333, 0.0383966863, -0.0040311404, -0.0073798141, -0.0132438224, 0.0066032452, -0.0009043095, 0.0161139667, -0.0220348965, -0.0072573354, -0.0603556968, 0.0123381326, 0.0500924326, -0.0389697738, 0.0108965589, 0.026627196, 2.589e-7, 0.0375961289, 0.0393646099, 0.0227405317, 0.0220277645, 0.0294934642, 0.0193293169, -0.0074649332, 0.0144414091, -0.0135762161, -0.026023522, -0.021669168, 0.048788242, 0.0645096302, 0.0290545039, -0.0930293873, 0.0061806249, -0.0783788785, 0.0014750478, -0.0680988878, 0.0110180974, 0.047847148, 0.0924364477, 0.0017578836, -0.0160505828, -0.0052199536, -0.0766600594, 0.0213250574, -0.0380176343, -0.0102474168, 0.0099608563, 0.0114247296, 0.0271821339, 0.0328416489, 0.0146952849, 0.0091983806, 0.0263809115, -0.0208181161, 0.0747283176, 0.0181696527, -0.0284743123, -0.0090927025, -0.0508247726, -0.0018263273, -0.0694143102, 0.0783065781, -0.0423600748, -0.0268139206, -0.0387246013, 0.0210471675, -0.012982483, 0.0054235035, -0.00220973, -0.0082125822, 0.0317796618, 0.0315065458, -0.0372589231, -0.0223689321, -0.0914289355, -0.0492832437, 0.0085996184, -0.0684935525, -0.0243881214, -0.0611627139, -0.0039750063, 0.0235892199, -0.0641207099, 0.0176515058, 2.525918103e-34, 0.0498776548, 0.0043209218, 0.0215557963, -0.0000783875, 0.044162523, -0.0137826838, -0.0252751019, 0.0074682469, -0.0045569865, -0.0806239694, -0.0050314791 ]
http://arxiv.org/abs/2310.15141v2
http://arxiv.org/pdf/2310.15141v2
SpecTr: Fast Speculative Decoding via Optimal Transport
2023-10-23T17:47:34
2024-01-18T04:42:34
Ziteng Sun, Ananda Theertha Suresh, Jae Hun Ro, Ahmad Beirami, Himanshu Jain, Felix Yu
cs.LG
cs.LG, cs.CL, cs.DS, cs.IT, math.IT
Autoregressive sampling from large language models has led to state-of-the-art results in several natural language tasks. However, autoregressive sampling generates tokens one at a time making it slow, and even prohibitive in certain tasks. One way to speed up sampling is $\textit{speculative decoding}$: use a small model to sample a $\textit{draft}$ (block or sequence of tokens), and then score all tokens in the draft by the large language model in parallel. A subset of the tokens in the draft are accepted (and the rest rejected) based on a statistical method to guarantee that the final output follows the distribution of the large model. In this work, we provide a principled understanding of speculative decoding through the lens of optimal transport (OT) with $\textit{membership cost}$. This framework can be viewed as an extension of the well-known $\textit{maximal-coupling}$ problem. This new formulation enables us to generalize the speculative decoding method to allow for a set of $k$ candidates at the token-level, which leads to an improved optimal membership cost. We show that the optimal draft selection algorithm (transport plan) can be computed via linear programming, whose best-known runtime is exponential in $k$. We then propose a valid draft selection algorithm whose acceptance probability is $(1-1/e)$-optimal multiplicatively. Moreover, it can be computed in time almost linear with size of domain of a single token. Using this $new draft selection$ algorithm, we develop a new autoregressive sampling algorithm called $\textit{SpecTr}$, which provides speedup in decoding while ensuring that there is no quality degradation in the decoded output. We experimentally demonstrate that for state-of-the-art large language models, the proposed approach achieves a wall clock speedup of 2.13X, a further 1.37X speedup over speculative decoding on standard benchmarks.
[ 0.0394643545, 0.0939023495, -0.0295628104, -0.0086426931, -0.0762322918, 0.0062558819, -0.0334811844, 0.0408531912, -0.0644728839, -0.0150601333, 0.0341018811, -0.0920560881, 0.006588629, 0.0452424996, -0.0053010555, -0.035000883, 0.019572001, -0.0883072615, 0.0133001544, -0.0187788606, -0.0162852257, 0.0067245443, -0.0099189188, 0.0193242952, 0.0026782465, -0.0010038934, -0.0297739245, -0.0176979676, -0.0379911363, -0.0324325897, -0.0425089113, 0.0599622428, 0.0117667671, 0.0184562057, 0.0000024704, -0.0072893063, -0.0667068511, -0.0095064109, -0.035440769, -0.0089876503, 0.0413859636, -0.0267713889, -0.0226852559, 0.017437581, -0.0100344326, -0.0277175661, 0.0694081709, 0.0064099692, 0.0046153422, 0.0465371683, 0.0024213167, 0.015867155, 0.0255501997, 0.0106445849, -0.0473954603, -0.0680929348, 0.0241990238, -0.0111153023, -0.006369153, 0.0196104459, -0.0466808192, 0.0244689826, -0.00767698, -0.0186728127, 0.047713086, 0.0253187679, -0.0531003624, -0.0259068739, -0.024354754, 0.050283879, 0.0124940211, -0.0506150573, 0.0021335823, 0.013276617, -0.054319758, -0.0149855074, -0.0382603556, 0.0118758855, -0.024973277, 0.0431970097, 0.0415379368, 0.0247231685, 0.0379224047, 0.0075081252, -0.056500826, 0.0757268593, 0.0279958583, -0.0184513535, -0.0092442911, 0.0369713306, -0.0360321105, -0.0516105257, 0.0409892872, -0.0427344479, -0.0711569041, -0.0150341475, -0.0372455195, -0.0843959674, -0.054969687, 0.0363553725, 0.0270347018, 0.0293614361, 0.0667454973, 0.0316148885, 0.0122745549, -0.0259402692, -0.0181289241, -0.0133595765, -0.0402460136, -0.0153445695, -0.012408237, 0.0005927071, -0.0847331882, 0.0761320665, -0.0716283619, -0.0353756025, -0.0176231842, 0.0156191923, 0.0150943194, -0.0327239744, 0.0276187193, -0.0232122336, -0.0604080968, 0.0068143983, 0.0231061131, -0.01738769, -0.0196243431, 0.0053755152, -0.0068764659, -0.0157140456, -0.0379771888, 0.0091601247, 0.0188378729, -0.0446639694, -0.0575749166, 0.08735843, -0.014341834, -0.0076212804, 0.0032989592, -0.0171446763, -0.0058608651, -0.0354114622, -0.0137205105, -0.0596154816, 0.0368318222, 0.0029748993, 0.0242555887, -0.00283425, -0.0388172939, -0.0044677267, -0.0238165855, 0.0575934574, -0.0142029198, 0.0003022188, 0.0047376901, -0.0185736138, -0.0219426807, 0.095870927, 0.0121790916, 0.0379369892, 0.0351559184, -0.0163068306, -0.0060280319, 0.0713985711, 0.023456756, 0.0211507902, -0.0044440785, -0.0276275314, 0.0455172285, -0.0015515161, 0.0520834401, 0.0619707182, -0.0822600126, -0.0003419297, 0.0299316123, 0.0600285977, 0.0426778011, 0.0050672824, 0.0226735529, 0.0542609915, -0.0214854609, 0.020793654, 0.0137330964, 0.0034211422, -0.0061936709, -0.0235274993, 0.0547284447, 0.0351810604, -0.0067226742, 0.0172696542, 0.0186734051, -0.0163775589, 0.0207373146, -0.016529562, 0.0936803892, 0.0073617883, -0.073650606, 0.0564345606, 0.021839356, -0.0074057807, 0.0169477835, -0.013645892, -0.0121797863, 0.0264787823, 0.0584869832, 0.0186373927, 0.0460389927, -0.0168464929, -0.0282678548, 0.0233147442, 0.0224178731, -0.0138708102, 0.0277898014, -0.0451068394, -0.0185171217, 0.083189033, 0.0050575659, 0.0304621104, 0.0132045923, 0.0247501768, -0.021817768, -0.0191620328, -0.00036548, 0.0282750968, 0.0323777534, -0.0238728411, 0.0411955602, 0.0175152794, 0.0809752047, 0.0215748269, -0.0015399319, 0.0210995283, 0.0240264982, -0.0462985076, -0.0282134023, 0.0199407823, -0.0295233615, -0.0416387394, -0.0077208299, -0.0400356017, -0.044642102, 0.0436441973, -0.0056573157, -0.0498276502, 0.0508534536, -0.0393882841, 0.0412236229, -0.0391909331, 0.0510394461, 0.0121969245, 0.0144897355, -0.0099150352, 0.0418649018, 0.0056849048, 0.0075732321, 0.0114346566, -0.0337112695, 0.013819336, -0.0736338496, -0.0224162675, 0.0379033387, -0.0324351713, 0.0118615432, 0.0375089757, -0.0196893048, -0.0012810166, -0.0157285538, -0.0751718357, 0.0125287613, -0.0193920229, 0.0270537511, -0.0223768689, 0.0227134656, 0.0123169441, 0.0134358639, -0.0078502344, -0.0156311709, -0.0236816816, 0.0037314391, -0.0000305625, -0.0020708505, -0.0269080456, 0.0154305855, -0.03987737, 0.0134865567, 0.016005028, -0.0193017367, -0.034025304, -0.0757616907, 0.0056147547, 0.0385164768, -0.0090555632, 0.0164525937, -0.0347529575, -0.0186506175, -0.0442660935, -0.0216636993, -0.0082540438, 0.0021123064, -0.0143673318, -0.0153795555, 0.0012796792, -0.0291452352, 0.0002942524, -0.0371781774, 0.0393151008, -0.0303771142, -0.0332899354, 0.0467133, 0.0697623938, 0.031772878, -0.0062350258, -0.0716538206, -0.0139306253, -0.044677835, -0.0470442064, -0.0170182846, -0.0190066397, -0.0243354533, 0.0598473102, -0.0280630756, -0.0112803532, 0.0697146505, -0.0423425734, 0.0057612001, -0.0607986972, 0.0110700615, -0.033511091, 0.0182872396, -0.0020880592, 0.0132518206, -0.0116354013, -0.053061448, 0.0192634184, 0.0153140714, 0.0239706915, -0.0142411198, 0.0404248908, -0.0317466408, 0.0563670732, 0.0016617507, -0.0605998375, -0.0040354757, -0.0590367168, -0.0118411453, -0.0233569965, 0.0574720614, 0.0027453024, -0.0228134897, 0.0285074245, -0.0548796766, 0.0339900218, -0.0138347223, 0.0257467814, -0.0171493292, 0.0331565663, 0.0395873226, -0.0453325249, 0.0293216072, -0.031751737, 0.0466826223, 0.0638572127, 0.0683743656, 0.0479094274, -0.014611993, 0.0282967538, 0.0597168766, -0.0116592925, -0.0386171751, 0.02580286, 0.0712155476, -0.0163180679, -0.0344888531, 0.0778975859, 0.0022116988, -0.0250826068, 0.0085859522, 0.0566193126, 0.0605611391, -0.0524947271, 0.0121208914, -0.0610320047, -0.0226786956, 0.0544286966, 0.023044873, -0.0170258004, -0.0478761308, -0.0057097711, -0.1116259322, 0.0392109156, 0.032239031, -0.0328989327, 0.0200453866, -0.043507643, -0.0247664824, -0.0174713153, 0.0294655487, 0.0239124261, 0.0225241203, -0.007855163, 0.0286248494, -0.0007317234, 0.0181712136, -0.007655785, -0.0108189778, 0.0896832868, 0.0387921035, 0.0314402804, -0.0092542032, 0.0104622608, 0.0324352682, -0.0227862485, -0.0348672122, -0.0173343122, 0.0176532492, 0.0117306877, 0.0075126449, 0.0161051545, 0.0183485523, -0.0529449619, -0.0196301136, 0.0025568374, 0.0605501831, -0.0064008571, -0.0351980552, -0.0151169766, -0.0099875983, 0.0432710201, 0.0778492689, -0.0095276656, -0.0411236174, -0.0154115064, -0.0512784719, -0.0076974337, -0.118110396, 0.0126826391, -0.0066147223, 0.0239201263, -0.0090641864, -0.0863420367, 0.0239989832, 0.0540881492, 0.0892851651, -0.0057041259, 0.1027777046, 0.0138452081, -0.0173138492, -0.028482154, -0.0194312967, -0.0606844872, -0.0047778208, -0.0511546172, 0.0092922095, -0.0037376299, -0.0300952811, -0.0349090956, 0.0068511348, -0.0886137187, -0.0709236562, 0.0190284941, 0.0182898436, 0.033633437, 0.0073708533, -0.0464840196, -0.0436844192, 0.0395693481, 0.014191485, -0.065286532, 0.0039538988, -0.0099618649, -0.0268615615, -0.0086593321, 0.033597786, -0.0240188316, 0.0106375702, -0.0084740315, 0.0452188142, 0.0035093718, 0.0019049289, 0.0325012729, 0.0372695141, 0.0205801744, -0.0124303699, -0.0035007519, 0.0100653749, 0.0381956547, 0.0027291442, -0.0036851652, -0.0360214561, 0.0358048677, 0.0268495921, -0.0361498296, -0.0215015523, -0.0342016853, 0.0262285359, 0.0236439407, 0.0353284255, -0.0140895396, 0.0004667843, 0.0139280008, 0.0919291601, 0.0022406005, 0.0022233012, 0.0009792115, 0.0267905388, 0.0471109226, -0.0197858214, -0.0191250332, 0.0371456258, 0.0291913021, -0.025677735, -0.0332391933, -0.058346726, -0.0478786901, -0.0141115673, 0.03618294, 0.0123304147, -0.0316273719, 0.02657355, -0.0055295671, -0.0040970058, -0.0310092848, 0.0103818672, 0.0171565898, 0.0012081689, 0.0230282564, 0.0236306135, -0.0205111261, 0.0167583991, 0.050143946, -0.0085271886, 0.0389740616, 0.0014134303, 0.0036793961, -0.0440542102, 0.008474295, -0.0453992225, 0.0456591919, -0.0250712689, 0.0201503728, -0.0330558494, -0.0557540394, 0.0361076258, -0.0120890038, 0.0186631195, -0.0055915667, 0.0489555299, 0.0356099755, 0.0085521322, 0.0051114233, -0.03836767, -0.0161772892, 0.0418788642, -0.0311221387, 0.0041517257, -7.378944647e-33, 0.0026180386, -0.0240267385, -0.0264702681, -0.0145066362, -0.0019663158, -0.0081740171, -0.0159081258, -0.0438498929, 0.0313976146, 0.0083777914, -0.0392357223, -0.0028933738, 0.0338185839, 0.0533647016, 0.0057743904, 0.0308506563, 0.0664735883, -0.0316471606, -0.0300709438, 0.0039703506, 0.042713698, 0.0356552564, -0.0146184368, 0.0173801798, 0.0048079318, -0.0241026785, -0.0128428666, 0.0248627439, 0.0511369668, 0.0627743453, -0.0164224431, 0.0175489336, 0.0207851361, -0.055600252, -0.0358805358, 0.0287774149, -0.0996734798, -0.0187324546, 0.0297536757, 0.0104762595, -0.0069600013, -0.0355904587, -0.0153158111, -0.0066196774, -0.0372577868, 0.0059155533, -0.0177785475, -0.0050863065, -0.0461674593, -0.0152489906, -0.0238153636, 0.0236776285, -0.0065131094, 0.0478284955, 0.1111015156, 0.0182461068, -0.0165288951, -0.0086608352, -0.0266263168, 0.0321886465, -0.0434334911, 0.0471606702, 0.0175992735, -0.0214727782, 0.0074505676, 0.0553198643, 0.0201503709, -0.052440282, 0.0034176933, -0.0259863082, 0.0109790657, -0.0138114113, -0.0387622863, 0.0373330303, 0.0831471905, -0.0417443365, -0.0475237854, -0.0078478837, 0.0165008437, 0.0070046554, 0.0483053587, 0.024775682, -0.0551641732, -0.052026011, -0.0899496824, -0.0392462015, -0.011796304, -0.0178358685, 0.032245066, 0.0286361445, -0.051045265, -0.0401010066, 0.0615713336, -0.0349793285, -0.0549118966, -0.0027105338, -0.0080299424, 0.0061711622, -0.0208946522, 0.0291953497, -0.0202358011, -0.0150111802, 0.0153454812, -0.0217196252, 0.0029516083, 0.0079110786, 0.0218793303, -0.0083745252, -0.0545643754, 0.0079215113, -0.0419120304, 0.0285402834, 0.0252204854, 0.0306562725, 0.0696389526, 0.0145547641, 0.0188329313, 0.0176922735, 0.0004857159, 0.0099176057, -0.0225437339, 0.0301661752, 0.0035796908, 0.0230439156, -0.0136302272, 0.0042587523, -0.0231227223, 0.0058431281, 0.0680288598, -0.0585271753, -0.0285820067, 0.0479865447, 3.128e-7, 0.0356664918, 0.0487111807, 0.0685489774, -0.0083335834, 0.011378984, 0.0217519365, -0.0245836321, 0.023872491, 0.0261474028, 0.0126335332, -0.0024249351, 0.0326153077, 0.0451874174, -0.0058845803, -0.1485616267, -0.0115183238, 0.0167338364, 0.0083659366, -0.0409329534, -0.0469268486, -0.0032868416, 0.0942587256, -0.0146356532, -0.0229692012, -0.0025201291, -0.0169763844, 0.0179084893, -0.0229060091, -0.02447588, 0.0360911898, -0.0229009409, -0.0265148319, -0.0104150362, 0.0269641727, -0.0277419426, -0.0077976943, 0.0377850309, 0.0495240614, -0.0112143783, -0.0290037431, 0.0122537259, -0.0096536474, -0.0024754172, 0.0070207748, 0.0400101542, -0.0355842002, -0.0359318331, -0.0155502809, -0.0346251763, -0.0178195611, -0.0294744316, 0.0200613607, 0.0301218182, 0.055848226, 0.0377587229, 0.0521453805, 0.0103868973, -0.0482057407, 0.0236665327, -0.0375305898, -0.0566982627, -0.0342515744, -0.0163136013, 0.0218595341, 0.0481849276, -0.0842072219, -0.0029136522, 3.165475421e-34, 0.0797953159, 0.0107067069, 0.0239496883, 0.0491768271, 0.0076499418, -0.0340375043, 0.0321021453, 0.0393044651, 0.0080770999, -0.0880172849, -0.0285595432 ]
http://arxiv.org/abs/2310.15140v2
http://arxiv.org/pdf/2310.15140v2
AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models
2023-10-23T17:46:07
2023-12-14T06:22:51
Sicheng Zhu, Ruiyi Zhang, Bang An, Gang Wu, Joe Barrow, Zichao Wang, Furong Huang, Ani Nenkova, Tong Sun
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Safety alignment of Large Language Models (LLMs) can be compromised with manual jailbreak attacks and (automatic) adversarial attacks. Recent studies suggest that defending against these attacks is possible: adversarial attacks generate unlimited but unreadable gibberish prompts, detectable by perplexity-based filters; manual jailbreak attacks craft readable prompts, but their limited number due to the necessity of human creativity allows for easy blocking. In this paper, we show that these solutions may be too optimistic. We introduce AutoDAN, an interpretable, gradient-based adversarial attack that merges the strengths of both attack types. Guided by the dual goals of jailbreak and readability, AutoDAN optimizes and generates tokens one by one from left to right, resulting in readable prompts that bypass perplexity filters while maintaining high attack success rates. Notably, these prompts, generated from scratch using gradients, are interpretable and diverse, with emerging strategies commonly seen in manual jailbreak attacks. They also generalize to unforeseen harmful behaviors and transfer to black-box LLMs better than their unreadable counterparts when using limited training data or a single proxy model. Furthermore, we show the versatility of AutoDAN by automatically leaking system prompts using a customized objective. Our work offers a new way to red-team LLMs and understand jailbreak mechanisms via interpretability.
[ 0.0216620266, 0.0830183402, -0.0216933228, 0.0619570166, -0.0001742706, 0.0015695335, 0.0318022259, -0.0096675502, 0.0192239881, -0.0184861645, -0.0433994941, -0.0147915119, 0.0230512805, 0.0230874959, 0.0531219766, -0.0174265113, 0.0528074205, -0.0417486243, -0.0329135209, -0.0043523232, 0.0205107015, 0.0031788356, 0.0220302008, 0.0539723299, 0.0105516706, -0.0419180505, -0.0204839092, 0.0260828026, 0.0111975325, -0.0160135981, 0.0006601656, 0.045961529, -0.0118674738, 0.0884448066, 0.0000020332, -0.0140746739, -0.0498636067, 0.009093334, -0.0530799627, 0.0474875197, -0.0168341491, -0.0595090836, -0.0364811569, -0.0039400305, -0.0335498564, 0.0088466825, 0.0325162932, 0.0449943505, 0.0925575644, 0.0840444937, 0.0063294116, -0.0123855779, 0.0433899574, -0.0408996269, -0.0029560926, -0.0871342793, 0.003359661, -0.0362309888, -0.0345572345, 0.019222891, -0.02759373, 0.0196822379, 0.0340956673, -0.009804735, -0.0447911583, -0.0100958571, -0.0011287743, -0.0347863622, 0.0052046292, 0.0848372951, -0.0649089962, -0.0103623094, 0.0112877218, -0.0009162208, 0.0236779749, -0.0095336139, -0.0118183279, 0.0145911854, 0.0193401091, 0.0114150522, -0.0045374595, -0.0188741852, 0.0740446225, -0.0149266953, -0.0263388641, 0.0481113829, 0.0049949531, -0.0052746497, -0.0108052408, -0.0442011617, -0.0029289483, -0.0504321791, 0.001112568, -0.0096247792, -0.0255672205, 0.0251495726, -0.1063000932, -0.0386211537, 0.0216343217, -0.0045385989, 0.051749412, 0.016496893, -0.0193280559, 0.0413851812, -0.0115163457, 0.0343752168, -0.0561246723, 0.0465673879, -0.0087319724, 0.0085011246, 0.0166703947, -0.0359742306, -0.0007516796, -0.0060399091, -0.0319427326, -0.006297552, -0.0305438228, 0.0143891927, -0.0206879079, 0.0304065067, -0.0358674005, 0.0036494986, -0.0208204705, -0.0159686264, 0.0389913991, -0.0353641175, -0.0014071373, -0.0339810662, 0.0043215035, -0.0587041713, -0.0457231775, 0.0144349616, -0.0617264695, -0.0271555819, -0.0311680082, 0.1281983256, 0.0250419788, -0.0062082116, -0.0393851809, -0.0720954016, -0.0400479101, -0.0346333385, -0.0023422008, -0.0431086831, -0.0072282315, -0.0207036845, -0.0096688317, -0.0904656202, 0.0191571414, 0.0120073352, -0.0189559832, 0.0778413564, 0.0166344196, -0.0248913672, -0.0114054251, 0.0400665104, 0.0048193405, 0.0737335384, -0.0008347889, 0.0695095435, 0.058875978, -0.00753017, 0.0173070282, 0.0494761951, 0.0369478762, 0.0245646015, -0.0230657291, -0.0231895279, 0.0338656381, 0.0075255861, 0.0140719889, 0.0465666912, -0.00913285, -0.0582783669, 0.0684084743, 0.0319199413, -0.0271118302, 0.0382519625, -0.0047787279, -0.0222455394, 0.0034623793, 0.0106133251, -0.0831402019, -0.0097218761, -0.0461210757, -0.0263109859, 0.0099292668, 0.0354947224, -0.005295339, -0.0315115042, 0.0186216012, -0.0154898129, -0.0028698565, 0.0110377623, 0.0274019782, 0.0204376094, -0.0261784177, 0.0495407619, 0.0085061425, -0.0094929682, -0.0207116343, -0.0763762146, 0.0113557642, 0.0468256734, 0.0560640693, -0.0167501047, 0.0270151366, -0.0178632103, 0.0165231787, 0.0129845971, -0.008186548, 0.0195600055, 0.0390114002, -0.0295237396, -0.009549614, -0.0306680743, 0.0405039452, 0.0356667079, -0.0017933332, -0.0069238311, 0.0047708647, -0.0104983579, -0.0501763858, 0.033772625, -0.0037723037, -0.0558115467, 0.0254290067, 0.0376394205, 0.0011062924, 0.0065068542, -0.0291411206, 0.024490973, 0.0420415998, -0.029399896, 0.0290949959, -0.0188412778, -0.0470300652, -0.0263857767, 0.0161812771, -0.0160706118, -0.0496234968, 0.0847085789, -0.0589848123, -0.0051129819, 0.0558334738, -0.0222145617, 0.0207546987, 0.0145087875, 0.0144932624, 0.0091966251, 0.05707445, -0.0276481975, 0.0269743986, -0.0314189643, -0.0217738431, -0.0111547895, 0.0135308784, 0.0293243229, -0.0181105491, -0.0554830432, 0.011469976, -0.0346142836, 0.0088531552, -0.0039017587, 0.0006260256, 0.0011426148, -0.0111328578, -0.014400214, -0.0120100612, -0.0296678655, 0.012640045, 0.046663288, 0.0125692012, -0.0062429486, -0.0235133264, 0.0057963561, 0.0062593534, -0.0153948199, -0.0040718177, 0.0063125417, -0.0158986952, -0.0383399948, -0.033241082, -0.023891218, -0.0099508194, 0.0658147633, -0.0254253987, -0.0136655876, -0.0307980124, -0.0168757308, 0.027389301, 0.0351919606, -0.035957057, -0.0515463501, 0.0384357162, 0.0267934408, -0.0174032766, 0.1140716448, -0.0003889709, 0.0949907154, 0.052754458, 0.0195483081, -0.0251828805, -0.0135502368, 0.0478857867, -0.0272421762, -0.0438551269, -0.0539989397, 0.0156446006, 0.0795272291, 0.0341848582, -0.0003859914, -0.0347150043, 0.0471665524, -0.0165831521, -0.0397820026, -0.0359486602, -0.0194638167, -0.0440056436, 0.0201198459, -0.0229550339, -0.0717933476, 0.0644921288, -0.0431166776, 0.0112883514, 0.0150138084, -0.043419648, -0.0022005348, 0.0682464615, -0.0258062594, 0.0248026773, 0.0237709377, -0.035749644, -0.0517363138, -0.029601194, 0.033947248, -0.0133982301, 0.0571173243, -0.0467614308, -0.0178332888, -0.0021854343, -0.0284390673, -0.0632780343, -0.0618531667, -0.0188935436, -0.0212863851, 0.0553941131, -0.053365346, -0.0286775995, -0.0223269425, 0.0268576816, 0.0030371337, -0.0332500823, 0.0243839286, -0.0370379575, 0.0136779165, 0.0609274544, -0.0512578897, 0.0288323425, -0.0358716846, 0.0503533632, 0.0856319293, 0.0096208686, 0.0345869772, -0.0101786125, -0.0051058452, 0.0172313303, 0.023931371, -0.0168345738, 0.0094049219, 0.0529051237, -0.0525030978, -0.014618706, 0.0398911089, 0.0063825529, -0.0154057574, 0.0367833599, 0.0213916656, 0.0337679237, -0.0079274746, 0.0031529195, -0.0630583614, -0.0422172546, 0.028230343, 0.0642983094, -0.0053175786, -0.0026196179, -0.039181143, -0.0705035701, -0.0068999729, 0.0369566381, -0.0389305502, -0.0165914278, -0.009992362, -0.0352582298, 0.007544945, 0.0449022651, -0.0105905822, 0.0194722749, -0.0082219196, -0.0030704238, -0.0143592404, -0.0312392563, 0.0077797328, -0.0072813327, 0.0639113709, 0.1036000848, 0.0003927331, -0.0167271495, -0.0014015506, 0.0723376498, -0.0104329158, -0.0015141435, 0.0182219446, 0.0254236013, 0.006609688, -0.0298293568, -0.0013787749, 0.062430907, -0.0191754997, -0.0205773897, 0.0260548685, 0.0375049151, 0.0051939194, -0.0175091401, -0.0181540009, -0.0243911538, 0.032776054, 0.0577338859, 0.0373292789, -0.0567912757, -0.041830536, -0.0772649571, -0.0174562801, -0.0712937713, -0.0598787814, 0.0287820026, 0.0353852659, -0.0447743051, -0.0316919126, -0.0197516978, -0.0354996212, 0.0432737917, 0.0214940198, 0.0024061743, -0.0322867222, 0.004401091, -0.0176744387, 0.014107313, 0.0009435476, 0.0480647944, -0.0652582645, 0.0099089276, -0.0119534861, -0.0127643282, -0.0301990453, 0.023019487, -0.0682764202, -0.0903866217, 0.0368380994, 0.0515050106, 0.0220105648, 0.0277242195, -0.039057184, -0.0694184527, 0.0501539707, 0.0756758973, -0.0197271984, 0.0137359854, 0.0703188553, -0.0249305572, 0.0099627804, 0.0638945773, -0.0486580916, -0.0213515088, 0.0629627183, -0.0056974418, -0.0321150571, 0.0215386581, 0.0210560802, 0.0150764976, 0.0377201699, -0.0134714274, -0.0075192861, 0.0095096147, 0.0242752992, -0.0110408813, -0.0297763832, -0.0267030224, 0.0150901536, 0.0445612073, -0.048447039, 0.0153443422, 0.0014024117, 0.0275194887, -0.0036739758, 0.0050411746, 0.0278578904, -0.0054931697, 0.0702682957, 0.0564334393, 0.0207320824, -0.0237452034, 0.0789829791, -0.020744551, 0.0336707421, -0.0000981417, 0.0384750292, 0.0188238081, -0.0177637096, -0.0351287387, 0.0596777163, -0.0813523158, -0.0618511476, 0.0065074745, 0.0430761501, 0.0166294239, -0.0007881014, 0.0114285983, -0.0094339643, -0.0051362775, -0.0289894864, -0.0019892305, 0.0096309213, -0.0303521045, 0.0355925113, -0.0019565907, -0.0028179151, 0.015822975, 0.0860316232, 0.019012874, 0.0293205716, 0.0454742648, -0.0054224948, -0.0369701385, -0.017593924, 0.050524801, 0.0127305472, -0.0523902886, -0.0197866745, -0.0457885228, -0.0957329273, -0.0456342809, 0.0285143144, -0.0023024471, 0.0102375532, -0.0384063534, 0.0446246639, 0.0004192396, 0.0253242794, -0.0432522297, 0.0549916737, -0.0018869598, -0.0662974715, 0.0091342134, -6.167671187e-33, 0.0241688006, -0.0345140174, -0.0540215895, -0.0636052042, 0.0170370974, 0.0052106255, -0.0333720706, 0.0097700208, -0.0292226374, -0.0041817739, -0.0088895634, 0.007968436, -0.0043481179, 0.0222568493, -0.0317220502, -0.0474103354, 0.0219596736, 0.0100758905, -0.0274633188, 0.0409778655, 0.0533573329, 0.0309077688, 0.0194754805, -0.056043867, 0.0618027039, -0.029482916, -0.0298943408, 0.0227856468, -0.0291122068, 0.0600240603, -0.0077642496, 0.0118192984, -0.0126212267, -0.0215975437, -0.0103362417, 0.0401082002, -0.0169291236, -0.0014152782, 0.0107846521, 0.033183217, -0.0418683477, -0.0485514998, 0.0307663772, -0.0166943874, 0.0037582777, -0.0207730271, 0.0001852194, -0.0027535663, -0.0156309903, 0.011173781, -0.0272535514, 0.0176712368, -0.0310855098, -0.0399670005, 0.0007519628, 0.0086773084, 0.0293112714, 0.0083827572, -0.0391007401, -0.0021320705, 0.0011713566, 0.0167194717, 0.0787778795, 0.0195132978, 0.0052723028, 0.0735448599, 0.0210327748, -0.0359858982, -0.0193946045, -0.0159317404, 0.009602854, 0.0335034803, 0.0451346934, 0.0792101696, 0.070368886, -0.0318609439, -0.0839686841, -0.0087708868, -0.0260098893, 0.0325230658, 0.0235033706, 0.0131111853, -0.0517119393, 0.0051032729, -0.0133777466, -0.0767997205, -0.0234879535, -0.0352601893, 0.0293475036, -0.0083884215, -0.045973707, -0.0391024463, -0.0011244983, -0.0633143485, -0.0292401519, 0.0364311077, 0.0064975885, -0.0325505137, 0.0023546293, 0.0434702113, 0.0044537601, 0.0098067503, 0.0127160735, -0.0394286141, 0.0580721721, 0.0186758954, 0.0476297997, 0.0203959998, -0.0473945551, -0.0060416576, -0.0367454886, 0.0298591834, 0.0176069383, 0.0098815467, 0.0510354824, -0.0111341076, -0.0220146906, 0.01445264, 0.0172723457, 0.0125426734, -0.01749973, 0.0280146506, -0.037463069, 0.0238099955, -0.0162965674, -0.0228091087, -0.0032103858, 0.0296765454, 0.0574195422, -0.0869476572, 0.0082780067, -0.0067465696, 2.725e-7, 0.0055240355, -0.0034541932, 0.0208531227, 0.0006858025, 0.0299017485, 0.0734077692, -0.0220498703, 0.0688283965, -0.0367164724, -0.0327596851, -0.0315383337, 0.0100597916, 0.0730319917, 0.0273774248, -0.0419564843, 0.0464396067, -0.0640777573, 0.0275766775, -0.0582649484, 0.0008959445, 0.035745196, 0.1217701063, 0.0125370929, -0.0143013, 0.0375985391, -0.0465053841, 0.0001188971, -0.0137786148, 0.0301570967, -0.021580264, 0.0278010201, 0.0049431892, 0.0082754875, -0.002793649, -0.0162268505, -0.00471015, -0.0264889468, 0.040419884, -0.0025242171, -0.0320127271, -0.0439352952, -0.0246092174, -0.0105248205, -0.0737983212, 0.0666460469, 0.0003502764, -0.0287830122, -0.046017319, 0.0347689353, -0.0328096375, 0.0384106897, -0.0249159168, -0.0137223992, 0.0067283702, 0.0192072, -0.0047537754, 0.0249178205, -0.0787581354, -0.0240777805, -0.0254339911, -0.0192945562, -0.0161121432, -0.0406705514, 0.0387263484, 0.0434076265, -0.0302150715, -0.0009396379, 2.588856412e-34, -0.0003928759, -0.0562072843, 0.0200367272, 0.0070171156, 0.0251972545, 0.0058513097, 0.0126937376, 0.0054897587, 0.0208790693, -0.0446173325, -0.0442006513 ]
http://arxiv.org/abs/2310.15135v1
http://arxiv.org/pdf/2310.15135v1
Quantifying the Dialect Gap and its Correlates Across Languages
2023-10-23T17:42:01
2023-10-23T17:42:01
Anjali Kantharuban, Ivan Vulić, Anna Korhonen
cs.CL
cs.CL, cs.LG
Historically, researchers and consumers have noticed a decrease in quality when applying NLP tools to minority variants of languages (i.e. Puerto Rican Spanish or Swiss German), but studies exploring this have been limited to a select few languages. Additionally, past studies have mainly been conducted in a monolingual context, so cross-linguistic trends have not been identified and tied to external factors. In this work, we conduct a comprehensive evaluation of the most influential, state-of-the-art large language models (LLMs) across two high-use applications, machine translation and automatic speech recognition, to assess their functionality on the regional dialects of several high- and low-resource languages. Additionally, we analyze how the regional dialect gap is correlated with economic, social, and linguistic factors. The impact of training data, including related factors like dataset size and its construction procedure, is shown to be significant but not consistent across models or languages, meaning a one-size-fits-all approach cannot be taken in solving the dialect gap. This work will lay the foundation for furthering the field of dialectal NLP by laying out evident disparities and identifying possible pathways for addressing them through mindful data collection.
[ 0.0139404573, 0.110812895, -0.026895551, 0.0263771806, -0.0327969193, 0.0051691858, 0.0305770747, -0.0280343387, -0.0264806375, -0.036348179, -0.0327633694, -0.0352431089, 0.0671490058, -0.0112561313, 0.0260228794, -0.0471703783, 0.0139533654, -0.0274831243, -0.0401904359, -0.0347243734, 0.0074706129, 0.012383623, 0.0354714394, 0.053958077, 0.0076383674, 0.0186942834, 0.0254599582, 0.014203121, -0.0088359378, -0.0063390872, -0.0074577485, 0.0203849301, -0.0079865148, 0.0720274672, 0.000001994, -0.0786292851, -0.001646537, -0.0022310668, -0.0287062023, 0.0621252693, 0.0617397949, -0.0403588191, -0.0312523656, 0.0247764215, -0.0285937265, -0.0256078914, 0.0690604299, -0.0169599578, 0.0327313058, 0.0082703931, -0.0165811181, -0.0613406263, -0.0086480174, -0.0308475234, -0.0875128806, -0.0057551228, 0.0099340137, -0.0078831669, -0.0112340804, -0.0377308987, -0.0333341025, 0.0560325906, 0.0051091793, -0.0066026417, -0.0479596816, -0.0052498914, -0.0613312088, -0.029369697, -0.0121448226, 0.0358652882, -0.0180775803, -0.0422882959, 0.0064055738, 0.0262884349, -0.0239828713, 0.0151543301, -0.0349514522, 0.0244656969, 0.0114261778, 0.0235292986, 0.0419953018, 0.0276138056, 0.025484575, -0.003678302, -0.0417709984, 0.0485611223, 0.0356935076, -0.0277098008, 0.0076878727, 0.0372425355, -0.0301447734, -0.0285257325, 0.024289446, -0.0181213021, -0.0161943175, 0.016391119, 0.0284751318, -0.00240347, 0.0170962997, -0.0232762415, 0.0158467032, 0.0224363785, -0.031519901, 0.0220466275, 0.0098324977, 0.0185789876, -0.0126306294, 0.0088742031, -0.038092006, -0.0344715342, -0.0328030139, 0.0142665859, -0.0324199609, -0.0301109888, -0.0509652719, 0.0346841924, -0.0018641076, -0.0181083828, 0.0073222923, 0.0054959166, 0.0453371145, -0.0214602947, -0.037515495, -0.0118939308, 0.0015757576, 0.0734628066, -0.0139997685, -0.0138260378, -0.0400568098, -0.0800825655, 0.0410033129, 0.0035024693, -0.0290956907, -0.0318100601, -0.0035346805, 0.0205286015, 0.0126038948, -0.0228206739, -0.0860849768, 0.0122875189, -0.0673065856, -0.0821859092, -0.0366708785, -0.0824047029, 0.034338586, 0.0190948844, 0.0232316051, -0.0315653794, -0.0205966979, -0.0303233806, -0.0146888867, 0.0186013784, -0.0104391417, 0.0389059037, 0.0693171546, -0.0328813978, 0.0257245768, 0.0987085551, 0.017103266, -0.0402477905, 0.0611559339, -0.029175695, -0.0697364584, 0.0586529337, 0.0070552053, 0.040401727, -0.0591835193, -0.0113308765, -0.019010989, 0.0062623774, 0.0490776971, 0.0656578764, 0.0105791008, -0.0120323729, 0.0930879936, 0.0610213727, 0.0135119455, 0.0090435315, 0.0394803137, 0.0745887756, -0.0144217825, -0.0182325095, 0.0245768726, -0.0599247515, -0.0057144514, 0.0044364552, -0.0018733999, 0.0887887627, -0.0246265884, -0.0363425612, -0.0258895978, 0.0091819223, 0.0085513769, 0.0252975486, 0.0806923509, -0.021980904, -0.0015566275, 0.043102365, 0.0474740602, -0.013388739, 0.0210028533, -0.0347720794, -0.0147403367, 0.0394860581, 0.0172444135, 0.0271773152, 0.0302228816, -0.0041930457, 0.0175183546, 0.0531759635, 0.0481098071, -0.0029296703, 0.0365124419, -0.0453889109, 0.0331816524, 0.0436611362, 0.0320334584, 0.0429889522, 0.0264253821, 0.0343581624, 0.0022118082, -0.0499343462, -0.0257733874, -0.0047851056, -0.0360600911, 0.0056624897, 0.0182201881, 0.0009824091, 0.0242400691, 0.0534836277, -0.0415218398, -0.0168894194, 0.0024545572, -0.0131623717, 0.0319174752, 0.069637835, -0.0026421577, -0.0347638093, 0.0107454807, 0.0050695851, 0.0000438636, -0.0224713106, 0.0137746269, -0.0481176451, 0.0518612415, -0.043819651, 0.0761622936, -0.0478764176, 0.0473225303, -0.0366972759, 0.0079683131, -0.056264665, 0.0187435932, -0.0198360961, -0.0026098632, 0.0223901514, -0.01728734, 0.0118810078, -0.0418142602, -0.0256947055, 0.0467228182, -0.0049285912, 0.0285478067, 0.0047204164, 0.0058517703, 0.0275847074, -0.0237450786, -0.0925973728, 0.0054930495, -0.0431309976, 0.0086090462, 0.0120760389, 0.0198940225, -0.0251115561, 0.010797509, 0.0206985306, -0.0157713443, 0.0210034046, 0.0269887764, -0.0085125053, 0.0026588596, 0.0048511373, -0.0399396271, -0.0112410765, 0.0317392163, 0.0484429821, -0.0204933677, -0.0450398624, -0.0268423837, 0.0232771672, -0.0109541798, 0.031303484, -0.0140003292, -0.0481761284, -0.0157382116, -0.0104454793, 0.0564408191, 0.0360724628, -0.026317548, 0.0054198173, 0.0205426589, -0.0539277643, -0.0587508902, -0.0173600763, -0.0148117775, -0.0244726371, -0.0717933103, -0.0797237456, -0.0069901077, 0.1237512305, 0.0129204607, -0.0138242785, -0.0312734209, -0.0111999782, -0.0601965301, 0.0013939932, 0.011755242, 0.0518768728, -0.0178975705, 0.0548568964, -0.0413960889, -0.056168437, 0.0235500298, -0.0618676133, -0.0069018709, -0.0251006186, -0.0452566557, -0.0595130697, 0.0427732989, -0.0063696522, 0.0207506698, -0.0122734625, -0.0441580676, 0.0013791852, -0.0053658686, 0.0156620536, 0.0025818567, 0.0811190754, -0.0668061823, 0.0275765713, -0.0081466986, -0.0427017845, 0.0214596167, -0.0293052774, -0.0620914958, -0.0193282012, 0.0693798512, -0.0375570171, 0.0191626493, 0.0405221656, -0.0161266997, 0.0406341851, -0.0044745104, 0.0147682047, 0.0046746638, -0.0035373012, 0.0144906733, 0.0339680091, 0.0294427071, -0.027546281, 0.0394005775, -0.0396538861, 0.0212384649, 0.0287608318, -0.0181060713, -0.0141726555, 0.03711766, -0.0197063666, -0.0387960002, -0.002656186, 0.0645975992, -0.0187692437, 0.017507812, 0.0758146942, 0.0216295626, -0.0100708986, 0.0101287998, -0.0310065262, 0.0778290257, 0.0213586371, 0.0142541565, -0.06182345, -0.0066743861, 0.0306348503, 0.0363565125, -0.0049691801, 0.0015899867, -0.0177351404, -0.1212006137, 0.0119364168, 0.0087034358, -0.0135252755, 0.0031878336, -0.0006760643, -0.0397806019, -0.0591795892, 0.0232900828, -0.0142055862, -0.0270139314, -0.0110287089, 0.0582525246, -0.0632230863, -0.0939795151, 0.012369018, -0.0353298783, 0.0241210386, -0.0046806638, 0.013327728, -0.039614398, -0.0194734558, 0.0188880581, -0.0089080753, 0.0079292143, -0.0180322994, 0.0050534066, 0.0308021344, -0.0272217747, -0.022168085, -0.0120383669, -0.0232620388, 0.0377626009, 0.0293345712, 0.0179867893, -0.008004888, 0.0218864195, 0.0327227786, -0.0145898852, -0.0218558311, 0.0317226797, 0.022617301, -0.0511720888, -0.0170680657, 0.0028511558, -0.012714698, -0.008284932, -0.0086469706, 0.0367175676, -0.0089762872, -0.0499836989, -0.0249436274, -0.0519757867, 0.0258111972, 0.0197266843, 0.0397459716, 0.006415938, 0.0454587303, -0.0140496911, -0.0315442532, 0.0490272678, -0.0264024958, 0.0161109511, -0.054252658, -0.0212596636, 0.0375727899, -0.0356137939, -0.0064079431, -0.0273457505, -0.0997787192, -0.0817735419, 0.0299332365, 0.0069120671, 0.0295976624, 0.0348575711, -0.0204097852, -0.0559103601, -0.0113351448, 0.000928906, 0.0186290145, 0.0032139788, 0.0330189578, -0.0043350928, -0.0098192738, 0.0246902052, 0.0110056615, 0.0060647395, -0.0242172647, 0.0404578112, -0.0835185796, -0.0325788073, -0.0122715859, -0.0114680901, 0.0273777451, -0.0482676663, -0.0102775237, -0.0552376546, -0.0183464717, 0.0056520794, 0.0333142281, -0.0282990616, -0.0288826078, 0.0596902817, 0.0280545615, -0.0351427905, 0.0254080053, -0.0225140117, 0.0224229023, -0.0111675141, 0.0514832437, 0.0005798128, 0.0243741386, 0.0356466509, 0.02150557, -0.0014447342, 0.075762406, 0.0037232088, 0.0499503389, 0.0040893359, 0.0559668019, -0.0273010191, -0.0110869249, 0.0376822539, 0.0173055995, 0.0117253726, -0.0293451808, -0.0075651482, 0.020260334, 0.0897507742, -0.0236222036, 0.0879724175, 0.0212518442, -0.001247097, -0.0251621474, 0.0285085496, 0.0250067785, -0.0308708865, -0.0031525926, -0.0151279587, -0.0449782759, 0.0509744771, 0.0656187907, 0.0605164655, 0.0105791213, 0.007039459, 0.0020373417, -0.0003937698, -0.0446266159, 0.0310210641, -0.0279386956, -0.0518294908, -0.0262396093, -0.1011285111, -0.0580325723, -0.0197735988, -0.0256128218, 0.0128608998, -0.0212983191, -0.0178239457, 0.0640223771, -0.0195269138, 0.0016851887, -0.071721144, -0.0043887915, -0.023413863, -0.0092699789, 0.0015994036, -6.093170927e-33, -0.0086027775, -0.0293945335, -0.002498108, -0.063987419, 0.0035030839, 0.0104296915, -0.0206669383, 0.0012462944, -0.0283864774, -0.018090155, -0.0142154917, -0.0182047151, 0.0277179778, -0.0001997959, 0.0357532799, 0.0155861974, 0.0370351374, 0.0179791469, 0.0283668377, -0.0165760778, 0.0061268485, 0.0126002505, 0.0702743232, -0.0510210097, 0.0231877491, -0.0129190041, 0.0079620248, 0.0029519021, 0.0198363811, 0.0417045839, -0.0127505576, 0.0639301017, 0.0174747705, -0.0421105064, -0.019138366, -0.0311727412, -0.0454036854, 0.0046073264, 0.0415788703, 0.0599827729, 0.0409785621, -0.0098499246, 0.0149941538, 0.000830592, -0.0433124416, 0.0263861213, -0.0014420907, -0.0070513566, -0.0107670063, -0.00918118, -0.0350241549, 0.0686545745, -0.0021643674, -0.003199731, 0.0506937616, 0.0411457457, -0.0348705538, -0.0012020923, -0.0465473644, 0.0073715975, 0.0601833463, 0.0339344628, 0.0824347958, 0.0130364951, -0.0001491783, 0.0024545565, 0.0521821305, 0.0020435883, 0.0399608798, 0.0079577351, 0.071291469, -0.0085950969, -0.006131588, 0.0546709299, 0.0357802287, -0.0499865562, -0.0038200291, -0.031533096, 0.0326068401, -0.0094778175, -0.0044316077, -0.0057910406, -0.0543656647, -0.0393443033, -0.0562994108, -0.0813382789, 0.0153876869, -0.0069853426, 0.0458416305, -0.0004732988, 0.0053051896, 0.0531487055, 0.0791910812, -0.0286047757, -0.0534171499, -0.0244053379, -0.0069415057, 0.0027784156, -0.0309638139, 0.0620588996, -0.0891558006, -0.0124899587, -0.0266108494, 0.0627337024, -0.0117165847, -0.0213519465, 0.0225615762, 0.007558248, -0.0436751246, 0.0354952998, -0.0172194466, 0.0332558677, -0.0458493419, 0.0829662606, 0.0455126055, -0.0142519874, 0.0034002799, 0.0521237031, 0.0309491977, 0.0007617369, -0.0149869053, 0.0075022085, -0.0004265085, 0.0319169983, -0.0085220104, 0.0242948197, -0.0037905001, 0.00041552, 0.0181426406, -0.0079152742, -0.0002445917, -0.0214977376, 2.647e-7, 0.0181432497, 0.0602174029, -0.0021512986, -0.0119476244, 0.0264445543, -0.0021080901, 0.003533293, -0.0272113141, -0.0092017995, 0.0111622829, -0.0243551694, 0.0096101975, 0.1126700342, 0.0431369692, -0.0835434198, -0.0336328857, -0.0658790991, 0.0156779829, -0.0669320598, -0.0048231157, 0.0090765134, 0.1124649793, -0.0062726107, -0.0153166661, -0.0094540054, -0.0343865044, 0.0527338721, -0.0292233992, -0.0449302532, 0.0334513597, 0.0149025498, 0.0127857765, -0.0173086338, -0.0152039109, -0.0163936745, 0.0392785259, -0.007221323, 0.0765641332, -0.0052630063, -0.0081163486, 0.0291990191, -0.0459092557, -0.0636886209, -0.0685530081, 0.058263395, -0.0135784699, -0.0161906388, -0.0080976579, -0.0065972744, -0.0072008022, 0.0159524102, -0.056007687, -0.0040316028, 0.0040338193, 0.0392014794, -0.0671904013, -0.0175741538, -0.0226873998, -0.0345969349, 0.0344324708, -0.0136474157, -0.0479506776, 0.0141420225, 0.0336324126, -0.0203747582, -0.0217474345, 0.0140851364, 2.5791494e-34, 0.0451722071, 0.0085054208, 0.0322905369, -0.0104487268, 0.0422318503, -0.0007305866, -0.0328314379, 0.0212574694, -0.0482075103, -0.0128357206, 0.0124886148 ]
http://arxiv.org/abs/2310.15129v1
http://arxiv.org/pdf/2310.15129v1
Location-Aware Visual Question Generation with Lightweight Models
2023-10-23T17:33:31
2023-10-23T17:33:31
Nicholas Collin Suwono, Justin Chih-Yao Chen, Tun Min Hung, Ting-Hao Kenneth Huang, I-Bin Liao, Yung-Hui Li, Lun-Wei Ku, Shao-Hua Sun
cs.CL
cs.CL, cs.LG
This work introduces a novel task, location-aware visual question generation (LocaVQG), which aims to generate engaging questions from data relevant to a particular geographical location. Specifically, we represent such location-aware information with surrounding images and a GPS coordinate. To tackle this task, we present a dataset generation pipeline that leverages GPT-4 to produce diverse and sophisticated questions. Then, we aim to learn a lightweight model that can address the LocaVQG task and fit on an edge device, such as a mobile phone. To this end, we propose a method which can reliably generate engaging questions from location-aware information. Our proposed method outperforms baselines regarding human evaluation (e.g., engagement, grounding, coherence) and automatic evaluation metrics (e.g., BERTScore, ROUGE-2). Moreover, we conduct extensive ablation studies to justify our proposed techniques for both generating the dataset and solving the task.
[ 0.0105138626, 0.0533301793, -0.0067650508, 0.0060460013, -0.0078406921, 0.0112598259, 0.0309897996, -0.0215590186, 0.0111653367, -0.0191902202, 0.0026320165, -0.010770537, -0.0113720549, 0.0421079993, 0.0431013703, -0.0699790418, -0.0232363064, -0.0138014471, -0.0277969651, 0.0124614937, 0.0098000057, 0.0099781025, 0.0001667725, 0.0392317846, -0.0370786786, -0.0045238268, -0.0449125469, 0.0488585234, 0.0431492627, -0.0789785758, 0.0114055071, 0.0259550698, 0.0339156166, -0.0048437817, 0.0000018692, 0.0163109265, 0.0065604122, -0.0106571075, 0.0200421587, -0.0497625172, 0.0002643741, 0.0215738975, 0.0359494723, 0.0397407524, -0.0647142529, -0.0080442112, 0.0272615738, 0.0197445825, 0.0790465027, 0.0461150147, -0.0305825975, 0.0112102786, -0.0092643723, -0.0136671728, 0.0735822544, -0.0115144197, -0.0450559556, 0.0299694445, 0.0076149693, 0.0136037832, -0.0019102584, 0.0124526219, 0.0590303019, 0.0233884025, 0.0174938887, 0.0425251797, -0.0723414347, 0.0014191427, -0.0152376695, 0.0978152528, 0.0002786549, 0.0056582927, 0.0170290675, 0.0149603868, 0.0327764601, -0.0240537971, -0.0860695317, -0.0182497744, -0.0115745412, 0.0190690625, -0.0488877371, 0.0211865883, -0.0037663416, -0.0063415375, 0.0185906775, 0.0018871524, 0.0197196081, -0.0095218532, -0.0753625929, 0.0546338335, -0.0687575936, -0.0670160875, 0.005395724, 0.0175688062, -0.0207428187, 0.0087549277, -0.0255232919, 0.0391748287, -0.0143024186, 0.009209509, 0.0392352082, 0.008645975, -0.0506213419, 0.0289940424, -0.0053319125, 0.045713447, -0.0037238207, -0.0228455551, -0.0378895365, 0.0094612082, -0.0285195522, -0.0153947044, -0.0490251184, 0.0207611751, -0.0677616745, -0.0287663769, -0.019184595, 0.0259689353, 0.0079356963, 0.0103837866, -0.020717876, 0.0636746511, -0.031330131, 0.0110883182, 0.003521448, 0.0378379934, -0.0598138049, -0.0032784848, 0.039996732, -0.0385587476, -0.0066032461, 0.0328182057, 0.0587544963, 0.0042539272, -0.0201573279, 0.0027586638, -0.0143670691, -0.0292801, -0.0497726761, -0.0469856523, -0.0058793137, -0.0406421423, 0.0156193674, -0.0584274828, -0.0038579507, -0.0134414034, -0.0323128961, -0.0173242167, 0.0115256105, 0.043711599, 0.0326857306, 0.048307132, 0.0094318241, 0.0137353968, 0.0533378161, 0.0045905565, 0.0091480445, 0.0507004, 0.0398588069, 0.0895688832, 0.0388931185, -0.0085992636, 0.0297888014, 0.0220998619, 0.0340297483, 0.0086271306, 0.0020160764, 0.0283982158, -0.0393251665, 0.0453777276, -0.0271975491, 0.0490995757, -0.034331128, 0.0328569263, 0.1000684202, 0.029026296, -0.0327206627, -0.0094082868, 0.0338408314, 0.0309208166, -0.0513258241, 0.0213134643, -0.0409645736, 0.0566692278, -0.0207571387, 0.0145335682, 0.0197119415, 0.0403637029, -0.0556877442, -0.0589046553, 0.017978156, 0.0094839511, 0.028159406, 0.043552205, 0.0045808456, 0.0058153053, -0.0469773337, 0.0164474398, -0.0279786102, -0.0576079749, 0.0088752154, -0.0082642175, 0.0630269349, 0.0134602943, 0.0439583026, 0.0453330539, -0.0649590418, -0.0068053515, 0.0405298397, 0.0273607336, 0.0239857696, -0.018308904, 0.0307091717, -0.0720901713, -0.0472143665, -0.0297054239, 0.0102521684, -0.0087022828, 0.0602351576, 0.0177979395, 0.0410631709, -0.073568657, 0.000025847, 0.0010826917, 0.0298508499, -0.0576263145, 0.0188978389, 0.0322605669, -0.0474914759, 0.0110166473, 0.0157031231, 0.0075513767, 0.0357666649, -0.0177002978, 0.0427394584, 0.0440742001, -0.0281659104, -0.0401355252, 0.011799111, -0.0514639243, -0.0193658173, 0.0317845568, -0.0389574729, -0.0212872047, 0.0184371639, -0.0273160096, -0.0109682754, -0.0293281488, -0.0151050938, 0.05886022, 0.0303824898, -0.0353663489, 0.0521299392, 0.0080340961, -0.0052719396, 0.0153203318, 0.030395193, 0.0411071517, -0.0549901947, 0.0054691806, -0.0358678363, -0.0218018163, 0.0149520952, 0.0052321823, 0.0426052883, -0.0755955204, -0.0293929074, -0.1059245765, 0.0265328344, -0.0215600524, -0.0001088604, 0.043286223, 0.0370388702, -0.0278515629, -0.0548380204, -0.1059470773, -0.0077167307, 0.0279108677, 0.0056462297, 0.0460716933, -0.0264458768, 0.0362590738, -0.0061919792, 0.0157318674, 0.0297750849, 0.0418839082, 0.0244639087, 0.0573827736, -0.0137443114, -0.067898199, -0.052362103, 0.0097103044, 0.0336813778, -0.0023853406, 0.0496225655, -0.0201356169, 0.0363230444, 0.0375661179, -0.0170689821, 0.0152991507, -0.0238332245, -0.0327387005, -0.0239619259, 0.0139201591, -0.0344637744, -0.002180493, -0.0064587439, -0.0452059172, -0.0168955345, 0.0071122912, -0.01386787, 0.0078100781, -0.0379217304, 0.0540229417, -0.0077723507, -0.0085962117, -0.0652015433, 0.0601036549, -0.0013617486, 0.0561334714, -0.0431596749, -0.0802420378, 0.0400229543, -0.0098345838, -0.0078713996, -0.0158736091, 0.0162949171, -0.0175317992, 0.0953360349, 0.0034440898, 0.0110789007, -0.004119026, -0.033874426, -0.0555934832, -0.0251750331, -0.0079144835, -0.0339900255, 0.0096181249, -0.0538256541, -0.0396736264, 0.0088699954, -0.0728083849, -0.052456703, -0.0231966786, 0.0071624801, -0.030747097, -0.0233731102, -0.0291663781, 0.0076651927, 0.0169965215, -0.0231738128, 0.0387269482, -0.0442666821, -0.0167038646, -0.0084962705, 0.1250010133, 0.1160661802, 0.0706002787, -0.0198687371, 0.000046565, 0.004095593, 0.0538353026, 0.0245514922, 0.0081912437, -0.0234258175, 0.0813729838, 0.0254138578, 0.0393475369, 0.00675896, 0.035980165, 0.0895501524, -0.0369786434, -0.0703342631, 0.0835829377, 0.0530727096, -0.0133184083, -0.0146210622, -0.0129183074, 0.0651380569, 0.017368393, 0.0486183986, -0.055732809, -0.0251920186, -0.0210298263, 0.0281477161, 0.0184808597, 0.0060364059, -0.0109772105, -0.0952446088, 0.0887695104, 0.006487736, -0.0064895703, -0.0068648937, 0.0176855009, -0.0201009884, 0.0133751323, -0.0194413811, -0.0118688624, 0.0070473421, 0.0285796281, 0.018811008, -0.0089889448, -0.0253298879, -0.0056348452, -0.0284495261, -0.0141975377, 0.0623819456, 0.0285201445, 0.025783129, -0.0767054632, -0.0247654263, 0.0037529655, -0.0059317639, -0.0013395327, 0.0282318629, 0.0118608233, -0.0336654037, -0.017709842, 0.0769214034, -0.0128245633, -0.0035455539, 0.0442950092, 0.0372090414, -0.0208943579, 0.0160612408, -0.0102530448, 0.0195955299, 0.0432438664, 0.023239959, 0.0517704822, -0.0347248875, -0.0194093361, -0.0165183842, 0.0053535486, -0.0881994441, -0.0028128831, -0.0064293533, 0.0628121346, -0.0109597677, -0.114035666, -0.0429907627, 0.0716501698, 0.0543192662, -0.0306520909, -0.0392374136, -0.0253115371, 0.0180520024, -0.0665729046, 0.0667558163, 0.0057062325, -0.021825105, -0.0270813107, -0.0037887157, -0.009600536, -0.0859796926, -0.0100550978, 0.0471213125, -0.1093715802, -0.0196051244, -0.0362729803, 0.0548702776, 0.0166793223, 0.0286777746, -0.0295654982, 0.0029559929, 0.0075736153, 0.0266228318, 0.0027729038, -0.021983156, -0.0448638238, 0.0035165474, -0.0042967512, 0.0034119436, -0.0206037052, 0.0224365722, 0.002755393, 0.0463316627, -0.0408596396, -0.0076903161, 0.0420205966, 0.0085895406, 0.0448232666, -0.033747483, -0.0126061123, -0.012851283, -0.010820617, 0.0070810528, -0.0202219207, -0.0726867318, -0.0041346448, 0.0012959514, 0.0258191843, -0.0051765661, -0.0263836645, -0.0117329489, 0.0174626764, -0.0687562451, -0.0521626584, 0.0048119696, -0.0004503069, -0.0209890269, 0.0006655151, 0.0051944419, 0.0115920389, -0.0302349385, 0.0378216952, -0.0018107992, 0.0699188262, 0.0002898468, -0.002372371, -0.014625879, 0.0629869923, -0.0376168899, -0.0402826369, -0.0488485023, 0.0527690053, 0.0365637653, 0.013068649, -0.0018284031, 0.0104664788, -0.0114039257, 0.0065887612, 0.0353715718, 0.0206822325, -0.0571016148, 0.0444338433, 0.0230651833, -0.0135257998, -0.0116217509, 0.0562348589, -0.0002191099, 0.007612552, 0.0289561097, -0.0180748068, -0.0573020242, 0.0116585661, 0.0458139889, -0.0000037601, 0.0114693735, 0.0667708442, -0.0172669049, -0.053181611, -0.014591259, 0.0371933766, -0.0076562348, -0.0047637019, 0.0546522066, 0.0362613946, -0.0331749246, -0.0220710766, -0.0444537401, 0.0098210545, -0.0796633884, -0.0307744052, -0.010632202, -6.351954906e-33, -0.0280993599, -0.0706100464, 0.0538223013, -0.0445528179, -0.0494058765, 0.020856848, -0.0357020237, 0.01405071, -0.0060497941, -0.0155690126, -0.0025260772, -0.0057111774, 0.0055892421, 0.0803169757, -0.0340616368, -0.0416124202, 0.0309865214, 0.0104085635, -0.0228518303, 0.0449072197, 0.0121293701, 0.0065273135, 0.011240093, -0.0274995845, -0.0377757512, -0.0244077668, -0.0526425913, 0.0205141399, 0.0039022192, 0.0458677188, -0.0338846967, 0.0074040582, 0.0177884735, 0.0041405964, -0.0005323314, 0.0262844544, -0.0486891866, -0.0286071394, -0.0202615242, -0.0091815479, -0.0807080939, -0.0053764391, 0.0071317418, -0.0224063694, 0.017842425, -0.008702429, 0.0362394601, 0.0031080972, -0.0358313955, 0.004334046, -0.0160110611, 0.0083692735, -0.0225890912, -0.075947687, -0.0275129043, 0.0823055133, 0.0200427547, 0.0115687326, -0.0161719415, 0.0516722724, 0.0079714013, 0.0280520171, 0.0385455117, 0.0141853895, 0.006450986, 0.0303162392, -0.0018787858, -0.0289768465, -0.0453417115, 0.0016935359, -0.026696492, 0.0870178565, 0.0450701378, 0.0227665547, 0.0235092528, 0.0147795249, -0.0223452002, 0.0687347203, -0.0478211828, -0.0089679724, -0.019686386, -0.0323367491, -0.002103819, 0.009143536, -0.0286248419, -0.0243107434, -0.0527232215, -0.0379050709, 0.0779601187, 0.0292241033, -0.0293308124, 0.0474950932, 0.0331501327, -0.0030810912, 0.0331199877, -0.013414558, -0.025220409, 0.0452964455, -0.0012876975, 0.014746814, 0.0150541347, 0.0222515948, 0.0177942868, 0.0282872859, -0.0235166308, 0.0421184637, 0.0092399707, 0.0201078057, -0.032380078, 0.0066645853, -0.0472915396, 0.0539521277, -0.0520727076, -0.0074434434, 0.0054548616, 0.0048666843, -0.0478014983, 0.0218232479, -0.0108391633, 0.0223739352, -0.0082532763, -0.049273897, -0.0073537473, 0.0587789603, -0.0216825977, 0.026152337, -0.0434463024, -0.0205205828, 0.0027431899, -0.0515051819, -0.0308468416, 0.0146436635, 2.623e-7, -0.0204579495, 0.0126666995, 0.0006010153, 0.0303368177, -0.0202166568, 0.0180965606, 0.0075716903, -0.0015348918, 0.0232151505, -0.000184066, 0.0279122908, 0.0327994451, 0.0504725985, 0.017088186, -0.0786403641, 0.0470693186, -0.0418104455, 0.0111647965, -0.0408727527, 0.0190228093, 0.0619602129, 0.0356201045, -0.0079625463, -0.0224565119, 0.0697113946, -0.0046534361, 0.0607205369, -0.0141222402, -0.0375233889, -0.0220214725, 0.0184097681, 0.0153897917, -0.0061428826, -0.0287954658, -0.0377079397, -0.0303558931, 0.0512880459, 0.0134067796, 0.0239950269, -0.0452005528, -0.0180599187, 0.0187894683, 0.0123011954, -0.0653493479, 0.0568070523, -0.0369503014, -0.0335648023, 0.0087354584, -0.0244577415, -0.0239569098, 0.0124464137, -0.014736264, -0.0660770088, -0.02853949, 0.0591220222, -0.0108887311, 0.0138939563, -0.0256564133, -0.0323265493, 0.0007911979, -0.0220193863, -0.0227088109, -0.070204176, 0.0062619201, -0.0326384977, 0.0017770138, -0.0508785062, 1.920716902e-34, 0.0163602252, 0.0015618906, 0.0104135182, -0.0013594087, 0.0211945698, -0.0139331156, -0.003582052, -0.0454632156, 0.0256803688, -0.0383398533, -0.0033160199 ]
http://arxiv.org/abs/2310.15127v2
http://arxiv.org/pdf/2310.15127v2
Open-Ended Instructable Embodied Agents with Memory-Augmented Large Language Models
2023-10-23T17:31:55
2023-11-20T18:51:29
Gabriel Sarch, Yue Wu, Michael J. Tarr, Katerina Fragkiadaki
cs.AI
cs.AI, cs.CL, cs.LG, cs.RO
Pre-trained and frozen large language models (LLMs) can effectively map simple scene rearrangement instructions to programs over a robot's visuomotor functions through appropriate few-shot example prompting. To parse open-domain natural language and adapt to a user's idiosyncratic procedures, not known during prompt engineering time, fixed prompts fall short. In this paper, we introduce HELPER, an embodied agent equipped with an external memory of language-program pairs that parses free-form human-robot dialogue into action programs through retrieval-augmented LLM prompting: relevant memories are retrieved based on the current dialogue, instruction, correction, or VLM description, and used as in-context prompt examples for LLM querying. The memory is expanded during deployment to include pairs of user's language and action plans, to assist future inferences and personalize them to the user's language and routines. HELPER sets a new state-of-the-art in the TEACh benchmark in both Execution from Dialog History (EDH) and Trajectory from Dialogue (TfD), with a 1.7x improvement over the previous state-of-the-art for TfD. Our models, code, and video results can be found in our project's website: https://helper-agent-llm.github.io.
[ 0.0275298357, 0.0277505796, -0.0020052502, 0.0469619818, -0.0103770103, 0.0089032305, -0.0156218195, -0.0246285424, 0.0338323861, -0.0542279482, -0.0309992339, -0.0059485151, -0.0233688615, 0.042215012, -0.0165239107, -0.072192125, 0.0371948779, -0.0652182102, -0.0044633541, 0.0153262364, -0.0019762653, -0.0129752737, -0.0370302647, 0.0451320522, 0.0043875491, -0.008547293, -0.0775959715, 0.0158788078, 0.033761315, -0.0375276953, -0.0382880457, -0.0013753453, 0.0655779466, 0.0104266591, 0.0000020153, -0.0546515919, -0.0149558429, -0.0482673272, -0.0268860888, -0.0187887345, -0.0016868069, 0.0064908131, -0.0189966075, 0.005738589, -0.017880816, -0.0196077488, 0.0452426523, 0.0164229181, 0.0872229859, 0.081501089, 0.0072934721, -0.0071655614, 0.0061561684, 0.0191696417, 0.0353906639, -0.0053456859, 0.0054545947, -0.0044124848, 0.0413151234, 0.0209528953, -0.046132654, 0.015351247, 0.038024202, -0.0507878736, -0.0485609174, 0.0374343619, -0.0042560333, -0.0323832631, -0.0420829281, 0.0736419111, 0.0211756341, 0.0098115792, 0.0208111368, 0.000879063, 0.0417104475, 0.0119332857, -0.0372157358, 0.0700142011, -0.0119564096, -0.0300879776, -0.0302023701, -0.0126971584, -0.0077482569, 0.0018716878, -0.0209491812, 0.0450262316, -0.0018757497, 0.001685162, -0.0088418312, -0.0470175184, 0.0049443129, -0.0562685691, 0.0271225981, 0.0672244951, -0.0544816256, 0.0332017094, -0.0531087629, 0.0023131191, -0.0436142609, -0.0052222889, 0.0485576764, 0.0528353006, -0.0244239531, 0.0329469293, -0.0243614092, 0.1279735863, -0.0115621286, 0.0323852636, -0.0384586602, 0.0211063791, -0.0309278313, 0.016479237, -0.0586893968, 0.0068461392, -0.0716839284, -0.0394566096, 0.0200168341, 0.0528498031, -0.0165258478, 0.0244639795, -0.0227714535, 0.0208867099, -0.0316486731, -0.009041545, -0.0607720427, -0.0232955106, -0.0103713749, 0.0077265925, 0.0323928408, -0.0185706578, -0.0272718202, 0.0323644727, -0.0032911694, -0.0037862223, -0.0097400742, 0.0942331925, -0.0368268229, -0.0092996927, 0.0120109962, 0.0139034959, 0.0071096499, -0.035538666, 0.0346633494, -0.0662956312, 0.0073675145, -0.0247534774, 0.0025107237, -0.0183972716, 0.0220105164, 0.0054989848, -0.000728423, 0.0729364455, 0.0241060648, 0.0380679742, 0.0147128776, 0.0145524004, -0.0096037341, 0.0394617915, 0.0526775382, 0.0292369984, -0.0073188618, 0.0140073523, 0.0214330461, 0.0432314165, -0.0476748236, -0.007554702, -0.029103145, 0.0175970774, 0.0328674167, 0.0688916966, 0.007949926, 0.033229135, -0.0269992836, -0.0050875894, 0.0029353928, 0.0374069661, -0.060434036, -0.0625464916, 0.0548806228, 0.0086163888, -0.005415692, -0.0431438051, -0.0579503886, 0.0558869876, 0.0198391918, -0.0126396678, -0.0314628743, 0.0092712576, -0.0281145722, -0.0360610336, 0.0408834778, 0.0056545208, 0.0430478118, -0.0039267433, 0.0108207706, 0.0473868623, -0.0747011304, 0.0381838493, -0.023207821, -0.0469447821, -0.0238947235, -0.0337487645, 0.0037721021, 0.0909137651, -0.0168963745, -0.0117214676, -0.0541207418, -0.0075401417, 0.0211355779, 0.0287487619, -0.0102078607, -0.0145131703, 0.0248292685, -0.010403988, 0.0025440354, -0.0254629236, -0.0108301705, 0.0470461696, 0.0302726757, 0.0159169734, 0.0019060626, 0.0458632298, -0.0013866867, 0.0313744918, -0.0332824737, 0.0002677769, -0.0112140644, -0.0058743455, 0.0206857696, 0.022628691, -0.019982079, -0.0188685674, 0.0660858154, -0.0228235554, -0.0077633867, 0.0278217457, -0.0559694692, -0.0500395671, 0.0253951494, 0.0011077091, -0.0208851472, 0.0013500699, -0.0331139527, -0.0389659181, -0.0056340378, -0.0117472745, 0.0119639579, 0.0044896752, 0.0310319588, 0.0332237035, -0.0710348263, -0.034206111, 0.0189716853, -0.0295464769, -0.0151025234, 0.0596665293, 0.0549830534, -0.0176129602, -0.0606107377, -0.0125374356, 0.0557329208, 0.0115509899, -0.0051384051, 0.010232931, 0.027420748, -0.0584565774, -0.0263722166, -0.0900159031, -0.0071171299, -0.015659621, -0.0411393754, 0.0019297996, -0.0147794178, -0.0227358229, -0.0246197321, 0.0186044909, 0.0450259224, 0.0151960272, -0.0045097228, 0.0199339911, 0.0313883722, -0.032801792, -0.0298529901, 0.0351387523, -0.0057656509, -0.0017979332, 0.0161481481, 0.0009997895, -0.0593254156, 0.0522613712, -0.0278228372, 0.0395791419, -0.0377429612, -0.039574232, 0.0495838039, -0.0430280305, 0.0335525461, 0.1201995686, -0.0122388778, 0.0242610089, 0.0633622035, -0.0409745276, -0.0696115047, 0.0341535397, 0.0023131976, -0.0553185269, -0.0334247611, 0.0311407577, 0.0019219343, 0.0018289534, 0.0046010599, 0.0524281338, -0.0529046953, 0.0044136769, -0.0043078018, -0.0489383005, -0.0207001138, -0.0029293767, -0.0619323589, 0.0179932117, -0.0340203084, -0.040363159, 0.0538279787, -0.0249777865, -0.020924598, 0.0212171003, -0.0040298053, -0.0028206569, 0.0949574485, 0.0240855981, 0.0186786503, -0.007134439, -0.013968776, -0.0139519162, -0.0065563042, -0.0165821817, -0.0088021504, 0.0393448099, -0.0865064934, -0.0097016152, 0.0049531446, -0.0341138355, -0.0436883382, 0.0033913429, -0.0207360592, -0.0104759345, -0.0532097779, -0.0576433837, -0.0321027152, -0.0140788518, 0.0443952605, 0.0672937855, -0.0085104862, 0.0050493088, -0.0398434475, -0.0486838296, 0.0566364452, 0.0607460588, -0.0734289736, -0.0365368649, 0.0644247159, 0.0370504558, 0.0454384759, -0.065084964, -0.0544115268, 0.0054319794, 0.0025741672, 0.0107286815, 0.0272804946, 0.0555094145, 0.0760576949, -0.0395893082, -0.0290766116, 0.0946495011, 0.0182623211, 0.0145606063, -0.0027440358, 0.0068635647, 0.0319157168, 0.0406961553, 0.01623125, -0.0462910421, -0.0325098298, 0.0089657018, -0.0033040652, 0.0407146849, -0.0274760984, -0.0085901581, -0.1458461732, 0.0565872714, 0.0129855983, -0.0521152355, -0.0365084447, -0.0015226936, 0.0054783621, 0.0134816999, -0.0218035746, 0.0257213395, 0.0071195546, 0.0027574005, -0.0044483552, 0.0124978079, 0.0199915878, 0.0108127892, -0.0254594963, 0.0477235354, 0.0539510734, 0.020000292, -0.0077003133, -0.0282475017, 0.0111614205, 0.0322014093, 0.0257250443, 0.002967458, 0.0011766757, -0.0280841161, -0.0131003456, 0.0161703713, 0.0493784696, -0.0218749475, -0.0524669699, 0.013980167, 0.0621890053, -0.056410145, 0.0281829946, -0.0284386445, -0.0153717818, 0.0049646809, 0.0650835559, -0.0218904708, -0.0320523791, -0.0247146729, -0.0448715985, -0.0340388454, 0.0092288097, -0.0360132419, -0.005418011, -0.0269039962, -0.0044910414, -0.0602338798, -0.0268223789, 0.0642140657, 0.0664765164, 0.0126587022, -0.0331319757, -0.0089355279, 0.0366907194, -0.0424080715, 0.0456095412, -0.0148518421, 0.0039945999, -0.0605235286, -0.0246641319, 0.0325940289, -0.0096072527, -0.0033929262, 0.0110231731, -0.0065873647, -0.0507641174, -0.0030380471, 0.0749992654, 0.014171754, 0.0602403022, 0.0359894335, 0.014421422, 0.025887087, 0.031864509, -0.0000354753, 0.0203526001, 0.0074736825, 0.0757676437, 0.0081399707, 0.0251243524, -0.0732496381, 0.0004602464, -0.0113390936, 0.027064817, -0.0182138234, -0.0618706867, 0.0246936996, 0.019934427, 0.0624702424, -0.0170003753, -0.0065079811, -0.0293124449, 0.029049648, -0.0294799022, -0.0200474709, -0.0716305301, 0.027203232, 0.0242460351, 0.0094853714, 0.0534951389, -0.0049184277, 0.0251430441, 0.0160684139, -0.0125053739, -0.0025397965, 0.051933825, 0.0231626611, 0.031228466, 0.0426071733, -0.0031615174, 0.0344566479, -0.0130345002, 0.0659056008, 0.0241386723, 0.1034768373, 0.0202203225, -0.0040787752, -0.0167856868, 0.0350219011, -0.0649098009, -0.1166776642, 0.0160168055, 0.020806836, 0.0336976722, -0.0119600268, 0.0266933814, -0.0512338541, 0.0199431721, -0.0222516358, 0.0365867652, 0.0405772552, -0.0690208599, 0.0443844162, 0.0279972479, 0.0041618394, 0.0153951636, 0.0279686134, -0.0188944191, 0.0651509389, 0.0155877313, 0.0097812461, -0.0479160659, -0.0384757705, 0.0023457331, 0.0059931385, 0.0195866488, -0.0201927181, -0.0103598731, -0.0356090851, -0.031669464, 0.0521420576, -0.0295680799, -0.0213693995, 0.0614066049, 0.0054351892, -0.0002646213, -0.0323973112, -0.0191418398, -0.0117465155, -0.0149838002, -0.0479709096, -0.044811856, -5.244469516e-33, -0.071486406, -0.0208533201, 0.0531001166, -0.0226018298, -0.0115325926, -0.0332067385, -0.0456913412, 0.0173248108, 0.0001742571, 0.0017875789, 0.0144964717, -0.0118427295, 0.0057958704, 0.014654465, 0.008775034, -0.0184602533, 0.0211449265, -0.0050902767, -0.0467150174, 0.013014474, 0.0579830892, 0.0216843504, -0.0100072734, -0.0442396626, 0.0087874867, -0.0063588987, -0.0133490739, 0.0683206096, -0.0015341481, 0.0437297374, 0.0161614902, -0.0146303698, -0.0196965393, -0.0193904638, -0.0218602177, 0.022643568, -0.0461719707, -0.0274400171, 0.0192919225, 0.0135777332, -0.051001586, -0.028323872, 0.0165434852, -0.0088850083, -0.0279778019, 0.0128390593, -0.0085553853, 0.004748059, 0.0377415866, 0.0534792393, -0.0262355339, -0.0202320069, -0.0077792755, -0.0740147457, 0.0270522162, 0.0345843658, 0.00723266, -0.0021822471, -0.0355178863, -0.0024236499, -0.0116747022, -0.0103324847, 0.0721416771, 0.0319178104, 0.0165748037, 0.0773353428, 0.0190890376, -0.0031765641, -0.0075846198, 0.0052911625, -0.0019615842, 0.0739370733, -0.0142037803, 0.030971922, 0.0017103035, 0.0276593231, -0.0182132851, 0.0296397414, -0.0231474359, 0.0556069426, -0.011053713, 0.0451308489, -0.0314147733, 0.0004170426, -0.0410687812, 0.0491188616, 0.0028044039, -0.0207853075, 0.0649392158, 0.0137819834, 0.0276328288, -0.104059726, 0.0673211142, -0.0131283868, 0.0258248392, 0.0099409092, -0.0506296381, 0.0183330849, -0.0194497649, 0.0349285975, -0.0412341133, -0.0401660837, 0.0724362209, -0.032838054, 0.009124672, 0.0348097607, -0.0319074877, 0.0698801801, -0.0412726179, -0.000849884, -0.025646355, -0.0009433428, -0.0161078069, -0.0054722461, 0.0329754353, -0.0016213938, -0.0531390943, 0.069824554, -0.0243323985, -0.0608670004, -0.0296786875, -0.0265786592, -0.0139839118, -0.026811257, -0.0417944677, 0.0033558402, -0.0135093378, 0.0166417509, 0.0006231875, -0.0490110368, 0.0155277345, 0.0371712148, 2.805e-7, -0.0157916117, 0.0114043783, 0.0004551272, 0.0275641866, 0.023426963, 0.0549595132, -0.0466117822, 0.0357075259, 0.0027839325, -0.0403591283, -0.0027696525, 0.0568518788, 0.0149915107, -0.0341888331, -0.0832188204, -0.014891346, -0.0101635186, -0.0615638979, -0.0858206302, -0.0039280462, 0.0622352362, 0.0858371407, -0.0147632351, 0.0313829854, 0.0023268671, -0.0293687601, 0.0246942416, -0.071706064, -0.0032723208, -0.034783639, -0.0112339016, 0.0098696854, -0.0323166177, 0.0053252596, 0.0091422088, -0.000075255, 0.0018294515, 0.0895031318, -0.0204804447, -0.0506616123, -0.0130762625, 0.0164140519, -0.0247701202, -0.0152927125, 0.0290746707, -0.048987411, 0.0129052456, 0.0022686515, -0.0314832963, -0.0162228793, -0.0196238589, -0.0017541222, 0.0174895693, 0.0007726828, -0.0007162679, -0.0125336489, -0.0105562806, -0.0495379008, -0.0177785512, -0.0199297667, -0.052152697, -0.0284991264, -0.0361306854, 0.0065402887, -0.0185298845, -0.0120973615, -0.0082292799, 2.290289342e-34, -0.0017941397, 0.0167503338, 0.0105287628, 0.034818422, 0.0611488372, 0.0114747938, 0.0006573922, 0.0289822556, 0.0344473347, -0.0765501857, -0.0543230698 ]
http://arxiv.org/abs/2310.15123v2
http://arxiv.org/pdf/2310.15123v2
Branch-Solve-Merge Improves Large Language Model Evaluation and Generation
2023-10-23T17:29:48
2024-06-07T16:08:49
Swarnadeep Saha, Omer Levy, Asli Celikyilmaz, Mohit Bansal, Jason Weston, Xian Li
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) are frequently used for multi-faceted language generation and evaluation tasks that involve satisfying intricate user constraints or taking into account multiple aspects and criteria. However, their performance can fall short, due to the model's lack of coherence and inability to plan and decompose the problem. We propose Branch-Solve-Merge (BSM), a Large Language Model program (Schlag et al., 2023) for tackling such challenging natural language tasks. It consists of branch, solve, and merge modules that are parameterized with specific prompts to the base LLM. These three modules plan a decomposition of the task into multiple parallel sub-tasks, independently solve them, and fuse the solutions to the sub-tasks. We apply our method to the tasks of LLM response evaluation and constrained text generation and evaluate its effectiveness with multiple LLMs, including Vicuna, LLaMA-2-chat, and GPT-4. BSM improves the evaluation correctness and consistency for each LLM by enhancing human-LLM agreement by up to 26%, reducing length and pairwise position biases by up to 50%, and allowing LLaMA2-chat to match or outperform GPT-4 on most domains. On a constraint story generation task, BSM improves the coherence of stories while also improving constraint satisfaction by 12%.
[ 0.0432092808, 0.0269729625, -0.0146189602, -0.0022612833, -0.0522169434, -0.0207141396, 0.0077505349, -0.0327523798, 0.0138415499, -0.0595030338, -0.0124364831, -0.0379439779, 0.0104910843, 0.0687684193, -0.0001537348, -0.0550281107, 0.0275438614, -0.033522591, 0.0190491341, 0.0013227299, 0.0155385938, 0.040479973, -0.0052458872, 0.0491688438, -0.0149642825, -0.0222753845, -0.0119945491, -0.0025372051, 0.0159225278, -0.026196925, 0.013281052, 0.0421752669, 0.0046581118, 0.0071583292, 0.0000022443, -0.0567881018, -0.0203033257, -0.0218128059, -0.0030878957, 0.0204924513, 0.0544400997, -0.0044427142, -0.0131357983, 0.0352507941, -0.0335706398, -0.0019110421, 0.0205480903, 0.0484397709, 0.0888522714, 0.0590265431, -0.0139636556, -0.0257394314, -0.0173498951, -0.0139319766, -0.0153522454, -0.0338453017, 0.008106837, 0.0160775445, 0.0702100173, -0.0214314181, 0.0253738966, 0.0071012536, 0.0337556675, -0.0214183684, -0.0042746672, 0.0393803716, -0.0476956144, -0.043456696, -0.0355535373, 0.0565560311, 0.0038568508, -0.0132309524, 0.0107782139, -0.0131935272, 0.0055731158, -0.0098260911, -0.052358374, 0.053327892, -0.0151954237, 0.0067377761, 0.0093409857, -0.0067648324, 0.0116574159, 0.0253001433, -0.000135134, 0.0444368683, 0.04065134, -0.0102158589, -0.0366699845, 0.0141820004, -0.0421180353, -0.1065860391, 0.0336367339, 0.056238234, -0.0879420713, 0.00858285, -0.0848056674, 0.0007821182, 0.0228736326, -0.0420429856, 0.0253163036, 0.0278416406, 0.0280845612, 0.0182717759, 0.0158282183, 0.0965426937, 0.0057659582, -0.0419894792, -0.0588676147, 0.0089565916, -0.0402636044, -0.0158203281, -0.0369083881, 0.0393518768, -0.0623552538, -0.0455981046, -0.0513721928, 0.0292822924, 0.0115795126, 0.0033562283, 0.0069030751, 0.0152772702, -0.0272510573, -0.0180748776, -0.021060789, 0.0258884188, -0.0263797473, 0.0085432203, 0.0278289188, -0.0016346708, -0.0016490001, 0.0415316448, -0.0056104329, -0.026797099, -0.0013339134, 0.045542568, -0.0375519246, 0.0222731791, -0.0245010611, -0.0699006096, -0.0474091172, -0.1004289314, -0.0503631607, -0.0791236535, 0.0376615711, -0.004498567, -0.0192078222, -0.0160198584, 0.0257288627, 0.036790546, -0.0106415255, 0.019231908, -0.0055058775, 0.0104966192, 0.0487686619, 0.0341383517, 0.0081206402, 0.0563804619, 0.0607673116, 0.064542003, -0.0005143908, 0.015328316, 0.0216308609, 0.0422097743, -0.0108372429, -0.0178819187, 0.0263999104, -0.0184087642, -0.0107110888, 0.0419450216, 0.0135578606, 0.0863479301, -0.023563806, 0.039185185, 0.0707079843, 0.0286912192, 0.0283258483, 0.0136225279, 0.0543256402, 0.0216894504, -0.0044309814, 0.0443522297, -0.0338448733, 0.0265734531, -0.0106735602, 0.0300800037, 0.0328851044, 0.0620531701, -0.0213542767, -0.0374368206, -0.0287462808, 0.0004091882, -0.0199552663, -0.0172928907, 0.0119521767, 0.0004894448, -0.068971768, 0.0536160767, 0.0141324047, -0.0689141005, 0.032793086, -0.0030754127, 0.0335547104, 0.0956478491, 0.0605540164, 0.0173825808, -0.043489594, 0.0010607074, -0.0012060308, 0.0573069826, 0.0299652815, 0.0028953033, -0.0050054379, -0.0609041825, -0.0080688382, -0.0341274031, 0.0042298716, 0.0210259706, 0.0324399024, -0.0066160844, 0.0272364914, 0.0281925946, -0.027434798, 0.0105279731, -0.0585315265, 0.003022064, -0.0096044745, -0.0145909097, 0.0263396986, 0.0211366359, -0.0155801708, 0.0315942429, 0.0154384701, -0.0384686776, -0.0367190391, 0.0323127098, -0.0546674728, -0.036272686, 0.0356629193, -0.0319285132, -0.0141621875, -0.0082464218, 0.0014916983, -0.0576574765, 0.0277257506, -0.0470334142, -0.0036272132, -0.0392008163, 0.0350176618, 0.0364855602, -0.0149455732, -0.0388498977, 0.0713197738, 0.0225538127, -0.018023653, 0.0180581808, -0.0141068706, -0.0131395282, -0.0282746796, -0.0068723261, 0.0194661748, 0.0020824303, 0.0054433541, 0.0184360016, 0.0408211648, -0.0431892611, -0.0646490604, -0.1062538326, 0.0498156287, -0.0003668622, 0.0124795977, 0.0268610474, 0.0004805131, -0.0175758079, 0.0354762003, -0.052251, -0.0171100032, 0.0612432174, 0.005590871, 0.0145517606, 0.0206936151, -0.0153914671, -0.0498754457, 0.0294134207, -0.0070133074, 0.040002536, 0.0606371164, -0.016693268, -0.063556239, 0.0506132543, -0.057049349, 0.0168378763, 0.015050821, -0.0381206349, 0.0165902358, 0.0129370475, 0.1081550419, -0.0152114248, 0.0094190873, 0.0358372107, 0.0758337229, -0.043435812, -0.029210683, 0.0195786208, -0.000407389, -0.0120037785, 0.0247638132, -0.059183415, 0.0354165845, 0.0709241033, 0.0322319865, -0.0008767574, -0.0695428327, 0.0288704652, -0.0190689377, -0.01882785, 0.0113868564, -0.0654564947, -0.0285890847, 0.0454785898, -0.0372210704, -0.0428662114, 0.0682392493, -0.0584615581, 0.0045584147, -0.0482397638, -0.0085994387, -0.0609554052, 0.0568394624, -0.0075368346, 0.0412329175, 0.0225221794, -0.0088969143, -0.0509448759, 0.0003013971, 0.0100421254, -0.0281586349, 0.0418395065, -0.0877772495, 0.0072274683, -0.0138551481, -0.0377816111, -0.0434564054, -0.0422712453, -0.0149506452, 0.0131896753, 0.065502435, -0.0103484867, -0.0213878751, 0.0273848139, 0.0267487634, 0.0158400126, -0.0238330625, -0.0030019269, -0.0295432396, 0.0204041339, 0.0809498578, 0.0451121889, 0.0047427695, -0.0453541875, 0.0206841566, 0.0365102179, 0.016487712, 0.0305485111, -0.0092859073, 0.0148834065, 0.0215118416, -0.0254310556, -0.0169134662, 0.0133869238, 0.0394555181, -0.0367786475, -0.0121187577, 0.1081066951, 0.0436635837, -0.0236939602, -0.0051600682, -0.0365252942, 0.0601088777, 0.0103852684, 0.0466533527, -0.0875334367, -0.0212021023, 0.0119744139, 0.0006873151, 0.0052002985, -0.018212961, -0.0554481409, -0.1237219349, 0.0371066406, 0.0384942107, -0.0215251315, -0.0152280489, 0.0218149871, -0.0290860478, 0.0391484685, 0.0189251732, 0.0131870946, -0.0251388364, 0.0094822431, -0.0034891588, -0.0033480565, -0.0104287723, 0.0029393304, -0.0457007065, 0.0474256091, 0.0557110421, 0.013943987, 0.0435472727, 0.0063121798, 0.0432041399, 0.0156255197, 0.0032280672, -0.0150285261, -0.007964191, 0.0183387864, 0.0048897644, -0.0397541076, 0.0301373955, -0.0084130429, -0.0476862751, 0.0358216502, 0.0621499494, -0.0106925992, -0.0159196444, -0.007919834, 0.0612990335, 0.0002885397, 0.078398481, 0.0293288976, -0.0389012545, -0.051480934, -0.0077437288, -0.0155606885, -0.0584821403, 0.0019423105, 0.0153551186, -0.0392162092, 0.0213371478, -0.0992438197, -0.0439440683, 0.0290660169, 0.0295658913, 0.0274751447, -0.0027437017, 0.018144507, -0.0188710392, -0.007573735, 0.0130035337, -0.0156568419, 0.0137395607, -0.0506345406, 0.0294082705, -0.0109757315, -0.063847594, 0.0167615134, 0.0731069744, -0.0873860195, -0.0835866854, -0.0420777835, 0.0258972868, 0.0262802672, 0.018549867, 0.0108447252, -0.051261846, -0.0262829233, 0.0158430338, -0.0597312227, 0.0440475605, -0.0337384455, 0.0382926948, -0.0056317919, 0.013020644, -0.0277393349, 0.0004021461, -0.0397568345, 0.0749759376, 0.0015400848, -0.0315911323, 0.0224863589, 0.0265314989, -0.0327836238, -0.0320866853, -0.028237585, -0.0344698913, 0.0024065131, -0.0485516898, -0.0349591449, -0.0475310758, -0.0087239146, 0.0108277779, -0.0219598748, 0.0208618231, -0.0011413401, -0.0347481295, 0.0141002629, -0.0212433748, -0.0106505165, -0.0092856893, -0.0215957332, 0.0315321721, -0.0219814647, -0.0201723166, 0.0147211775, -0.0338859484, 0.0157581586, -0.0186517369, 0.0598188564, -0.0069110906, -0.0066315369, 0.0006834502, 0.0259019937, -0.0248895176, -0.0362024158, -0.0050012846, 0.0010851577, 0.0646010339, 0.0268519204, 0.0918237343, -0.0312869065, 0.0123084961, -0.0271946751, 0.0522333644, 0.0130872047, -0.0163128041, 0.020868754, 0.0236230139, -0.0125422627, -0.025745092, 0.0775996819, 0.0231017675, 0.0118535627, -0.0020437092, -0.0139631042, -0.0324114598, -0.054868903, 0.0070409845, -0.0032160387, -0.01807799, -0.0328123346, -0.063738279, -0.0234631673, 0.0099893268, 0.0149353882, 0.0021382149, -0.0045032063, 0.033513166, 0.0454563163, -0.0248268899, -0.012472773, -0.029309392, 0.0069802324, -0.0143746007, -0.0197329018, 0.0089300498, -6.822237135e-33, -0.0602431707, -0.0750563815, 0.0610589758, -0.0183725599, -0.0526778996, 0.0043071923, -0.0639589876, 0.0135222115, 0.0447632186, -0.0097475499, 0.0226012785, -0.019493077, 0.0007736608, 0.0145429121, -0.0038393785, 0.0138024352, 0.0405920148, 0.0270657707, -0.0509671234, 0.0148169547, 0.0295907613, 0.0009042639, -0.0020678022, -0.0127974618, 0.0016438989, -0.0135951135, -0.044100333, 0.0108476458, -0.017896004, 0.0584366359, -0.0298727117, 0.0159485992, 0.0223497003, -0.0287669897, -0.0321931764, 0.0304945875, -0.0038063666, -0.0269715227, 0.0659617707, -0.0309125558, -0.0119224386, -0.0640768558, 0.0457959771, -0.0121086007, -0.0146761816, -0.004435203, 0.0219160412, -0.0054385634, 0.0050636358, -0.0238066372, -0.0946783721, 0.0177000538, -0.0037641795, -0.0477795415, -0.0100096604, 0.0800833628, -0.0066241012, -0.0105568049, 0.0082811806, 0.0397718661, 0.0439615659, 0.0316725709, 0.0830837637, 0.0006305913, -0.0512899086, 0.0653746352, -0.0300384685, -0.0239874106, -0.0611531809, 0.0042326828, -0.0285899471, 0.0565008298, 0.0477513, 0.0644384548, -0.0207847003, 0.0133156599, -0.048734352, 0.0664481968, -0.0056246938, 0.039315097, 0.0295274295, 0.0218202174, -0.0055383695, -0.0279849041, -0.0240082983, 0.0195141546, -0.0524377339, -0.0349439085, 0.0383512862, 0.0110779908, -0.0247216839, -0.0219908264, 0.0242556855, -0.0040221382, -0.0103155058, 0.0182731152, -0.0474859774, 0.0319398828, -0.0186536275, 0.0311375502, -0.0336128585, -0.000905354, 0.0449660942, 0.0229137298, 0.0243889671, 0.0377551988, -0.0084719611, 0.0211185776, -0.0365261212, 0.0367972553, -0.0519706942, 0.0412153155, -0.0077581191, -0.0086684544, 0.0325446092, -0.0254168883, -0.0277415179, 0.012926979, 0.0020042113, -0.0322848745, -0.0359818712, 0.0019515553, 0.013105168, 0.0296159945, -0.0113995764, 0.0470563062, -0.0059276926, 0.0087893782, 0.01404492, -0.0245393608, -0.028718587, 0.002587832, 2.932e-7, -0.00437879, 0.0447355881, 0.0220212378, 0.026950527, 0.0018611329, 0.0209303871, -0.0148979593, 0.0219761711, 0.0078405067, 0.0109330304, -0.0120121697, 0.0254909843, 0.059570685, 0.045440264, -0.0635387599, 0.0116447229, -0.0511065423, -0.0219227429, -0.0894503221, -0.0244867299, 0.1031492203, 0.0374112166, 0.0021073995, -0.0069006635, -0.0148174521, -0.0335607231, 0.0689065754, -0.0299951937, -0.0698408782, 0.03761461, -0.0268901065, -0.0121889208, -0.0271635558, -0.0178935286, -0.0239382368, -0.0126290852, 0.0232453067, 0.0895433575, 0.0307872016, -0.0085907402, 0.038175974, 0.0079340423, -0.0134108951, -0.070100151, 0.0446480736, -0.0411342718, -0.0221760198, -0.0328328386, 0.0137995183, -0.0373414196, -0.0136613827, -0.026194796, 0.0007865798, 0.0328126326, 0.0054605212, 0.0097847031, -0.0264568571, -0.0305107813, -0.045294974, 0.0226855688, -0.059584558, -0.0071327942, -0.0522490293, 0.0131079732, -0.0153923389, -0.0792918056, 0.0045816991, 2.951860547e-34, 0.0200999286, -0.0132998703, 0.0287451055, 0.0343251117, 0.0398185365, 0.0144517291, -0.0381572992, 0.0331869237, 0.0106640523, -0.0673271194, -0.0280701928 ]
http://arxiv.org/abs/2310.15117v1
http://arxiv.org/pdf/2310.15117v1
Causal Inference Using LLM-Guided Discovery
2023-10-23T17:23:56
2023-10-23T17:23:56
Aniket Vashishtha, Abbavaram Gowtham Reddy, Abhinav Kumar, Saketh Bachu, Vineeth N Balasubramanian, Amit Sharma
cs.AI
cs.AI, cs.CL
At the core of causal inference lies the challenge of determining reliable causal graphs solely based on observational data. Since the well-known backdoor criterion depends on the graph, any errors in the graph can propagate downstream to effect inference. In this work, we initially show that complete graph information is not necessary for causal effect inference; the topological order over graph variables (causal order) alone suffices. Further, given a node pair, causal order is easier to elicit from domain experts compared to graph edges since determining the existence of an edge can depend extensively on other variables. Interestingly, we find that the same principle holds for Large Language Models (LLMs) such as GPT-3.5-turbo and GPT-4, motivating an automated method to obtain causal order (and hence causal effect) with LLMs acting as virtual domain experts. To this end, we employ different prompting strategies and contextual cues to propose a robust technique of obtaining causal order from LLMs. Acknowledging LLMs' limitations, we also study possible techniques to integrate LLMs with established causal discovery algorithms, including constraint-based and score-based methods, to enhance their performance. Extensive experiments demonstrate that our approach significantly improves causal ordering accuracy as compared to discovery algorithms, highlighting the potential of LLMs to enhance causal inference across diverse fields.
[ -0.0022537252, 0.083898671, -0.0299009141, 0.0347699076, -0.0197219886, -0.0142729171, -0.0140285389, 0.0083623473, 0.0488016531, -0.0127177164, 0.054406248, 0.0232430771, 0.0044034175, 0.0220941454, 0.0434017181, 0.0137720685, 0.0421327651, -0.0309596639, -0.0032256392, -0.0255601257, -0.0297213253, -0.0041880943, 0.0023472349, 0.0351027846, -0.0091649154, 0.0186747368, 0.0046184226, 0.0303802341, 0.0144368466, -0.0371904746, -0.0280660428, 0.0502984412, 0.0170052815, 0.0441524498, 0.000002189, -0.0198440813, -0.0494704396, 0.0158644971, 0.0140887341, 0.0063517909, -0.0453200601, -0.0073093097, 0.0176501442, -0.0017388641, -0.023486102, -0.0232430939, 0.0509911925, -0.0082321437, -0.0053527467, 0.0811676532, -0.0156459231, -0.0291091539, 0.01017782, -0.0173609219, 0.0219280571, -0.0200567748, 0.0410568938, 0.0094989315, 0.0158361662, -0.0227144267, -0.0342993028, 0.0154105602, 0.0127662709, 0.0057085147, 0.0024990733, 0.0060203979, 0.0403018184, -0.0011084978, 0.024123352, 0.0966206715, 0.0804584101, -0.0411841907, 0.0453571156, -0.0193962604, 0.0228956193, 0.1073869094, -0.0504970141, -0.0020002513, -0.010068615, 0.0028619859, 0.0551716425, 0.0059316605, 0.0866626054, 0.0094348239, -0.0351617225, 0.1568469256, 0.0088962149, -0.0340879187, -0.0292805322, 0.0153379627, -0.0148561522, 0.0063402574, -0.0149823595, -0.040665593, -0.0406768136, 0.01942176, 0.0411487892, 0.0245935693, -0.0211015046, 0.0086662043, 0.0321310498, 0.0201128125, 0.0145819765, 0.0062961061, -0.0057769944, 0.0539001487, -0.052544266, 0.0387714952, -0.0013458111, 0.0395494327, -0.0312102437, -0.0302354228, 0.0117067304, 0.0146120498, -0.0105713615, 0.0225015022, -0.0528800972, 0.041005753, -0.0368700363, -0.0260299109, 0.0129919555, -0.0318989493, -0.0051990799, 0.0046291528, -0.0074542365, -0.0064889495, -0.0231549256, 0.052662041, -0.0550941601, -0.0156317335, -0.0108534852, 0.0091122687, -0.0021243677, -0.0419141091, -0.0085376343, 0.1081489846, 0.0667404383, -0.0231295582, 0.0037201738, -0.0589652285, -0.0215703156, -0.0383306742, 0.0415976122, -0.0624063611, -0.0128199738, 0.0469580926, 0.0019603039, -0.0510419272, 0.001349385, -0.0542436279, -0.0754729584, 0.0247310884, -0.0244065598, 0.047018487, -0.0415844806, -0.0101087512, 0.006571732, 0.0381332561, 0.0261141919, -0.0032157109, 0.0141833108, -0.015297275, 0.0035095087, 0.0392855778, 0.0318542086, 0.0284873676, -0.0107564256, -0.0535924062, 0.0064673335, -0.0050118482, -0.0242750216, -0.0006637804, -0.0275102016, 0.0060464572, 0.0474047549, -0.00843977, 0.0008837245, -0.03275574, 0.0319557078, -0.030676093, -0.0384420194, 0.0502594858, -0.0750531256, 0.0098347571, -0.0292957611, -0.0113593051, 0.0393502153, -0.028675938, 0.0199336261, -0.0442317352, -0.0097442782, 0.0159859844, 0.0045330604, 0.0022508092, 0.0631363019, 0.0035260094, -0.0339011848, 0.0166644268, 0.0363976806, -0.0437285528, -0.0269791801, -0.0288923495, -0.0116378106, 0.0560256243, 0.0744483247, -0.0685091317, -0.0199148487, 0.0355079658, 0.0103917187, 0.0031013982, -0.0073280395, -0.0126887001, -0.0124313561, -0.0020733511, -0.0180887282, 0.0056093135, 0.0287401341, 0.053927049, 0.0480387844, -0.0308695547, -0.0103008421, -0.0412096269, -0.0202862434, 0.0061487439, 0.0072781662, -0.0011576846, 0.0123538682, 0.0079243314, 0.0348334052, 0.0350403152, -0.0476675592, 0.0265428685, 0.0125167612, -0.0216032937, -0.0402034447, 0.0431971848, 0.0069315899, -0.0185289029, 0.0063560801, -0.0645816177, -0.0200647227, 0.0406383574, -0.0379218571, -0.0503398702, 0.0961573422, -0.0081290277, 0.0283271596, 0.0116939452, -0.0048081502, 0.0047272267, -0.0433903448, -0.0176953208, 0.0583533868, 0.005875296, 0.0293235965, 0.0303642023, 0.0164686628, 0.0066364557, -0.0250730682, 0.01013711, 0.0009370384, -0.0196869485, -0.0152661409, 0.0606302395, -0.0362323858, 0.0025981669, -0.0142391045, -0.0644007623, -0.0125870751, -0.0161284003, 0.0179597959, -0.0058735539, 0.0122704804, -0.0136396745, -0.0206678417, -0.0012794426, 0.0080120303, 0.012202356, 0.0415168628, 0.0237350632, -0.0154548055, -0.0324310772, -0.0472787246, -0.027321212, -0.0973444059, 0.0411699526, 0.0412562303, -0.0787932053, -0.0166751686, 0.0200011823, -0.023766093, 0.014181301, -0.0482579134, -0.0261980183, 0.0230943225, -0.0266665816, 0.0372497365, 0.0442196652, -0.0553725176, 0.0263975319, 0.0673793778, -0.0289177783, -0.0456192978, -0.0209977888, -0.073436588, -0.0024611158, -0.018539425, -0.0509051234, -0.0340577513, 0.0722608492, 0.025568489, -0.033993721, -0.052035071, 0.0115824491, -0.0269292463, 0.0025970251, -0.0104219764, -0.0296055414, -0.0165452156, 0.0413645953, -0.0139198788, -0.0886746719, 0.0506709665, -0.005936549, 0.0243809037, 0.0144833932, 0.002000412, -0.042153012, 0.0470932499, 0.0612338781, 0.0132817775, 0.0047871973, -0.0325563364, -0.0402285717, 0.0071436954, 0.0689731911, 0.014971015, -0.002766679, -0.073257491, 0.0712847486, 0.0147465812, -0.0540801995, -0.025569072, -0.0242252797, 0.0084146755, 0.0001132682, 0.0319176838, -0.0289188102, 0.0174850076, 0.0050790166, 0.0174046084, 0.0257781073, -0.0401747711, 0.0091330511, -0.0388879925, -0.0328673385, 0.0091482829, -0.080161877, 0.0173890442, -0.047701899, -0.0134267146, -0.0025749779, -0.0057310052, -0.0146746691, -0.0131186582, 0.0076307524, -0.0175449345, -0.0003484345, -0.0091816457, 0.0209898017, 0.0084693637, -0.0272167381, 0.0194787011, 0.0684506819, 0.0204988848, -0.0454338193, 0.0199698582, 0.0360477269, -0.014012944, 0.0317941122, -0.0073222807, -0.1161707416, -0.0180942938, 0.0061034169, -0.0012154419, -0.0334792733, -0.0374818742, 0.0162825584, -0.0796673521, 0.0448631458, 0.0100006172, -0.0217802823, 0.0069213202, -0.0823047981, -0.0113604451, -0.01630776, -0.05584158, -0.0299161114, 0.00562802, 0.0188464373, 0.0002553291, 0.0040922198, -0.0519655868, -0.0232944619, 0.0213953108, 0.0418928564, 0.0380952209, 0.0039099627, -0.0376786143, 0.0177959576, 0.0208902471, 0.0702259988, 0.0080453083, -0.0314556956, 0.0416726731, 0.0248607099, 0.0031882885, -0.0189100485, 0.0179325454, -0.0221544597, -0.0192877818, -0.0197018255, 0.0900786147, -0.0107377069, -0.0369340144, 0.019481739, -0.0052418867, -0.0090542827, 0.0393957086, 0.0051418291, 0.0179440267, -0.0326486826, -0.0358083956, -0.0114007629, -0.0137001565, -0.0896821022, -0.0443625003, 0.0224128198, -0.0275674704, -0.0294803772, -0.0040094969, 0.0112672038, 0.005915002, 0.0109714782, 0.0276175942, 0.0148614552, -0.0285895783, -0.0638444722, 0.044413697, -0.0287941135, 0.0482728146, -0.0370430872, -0.0197470188, 0.0277722701, -0.0034261155, -0.023930328, 0.0548548028, -0.0298419986, -0.1055700183, -0.0245134737, 0.0508911237, 0.022335846, 0.0437706709, -0.008078956, -0.0278460588, 0.0089815902, 0.0328945667, -0.0208016261, -0.002385539, 0.0474420562, -0.0547725782, -0.0036267298, 0.0180081911, -0.0505129322, 0.0335558653, 0.0183970798, 0.0408868454, -0.0286810119, 0.006522662, 0.0251615662, 0.0473109297, 0.0865739211, -0.0153676393, -0.0216410831, -0.0661617219, 0.0073919236, -0.0503158532, -0.0305258278, -0.0237084851, 0.0577921309, 0.0088634491, 0.0412227437, -0.0027058227, -0.059540078, -0.0404237323, -0.0000981414, -0.0438223705, 0.0317830741, 0.0058468785, 0.0271946136, 0.0716729984, -0.0144315576, 0.0244024321, 0.0493579172, 0.0329902433, 0.0521719195, -0.0091668973, 0.028517168, 0.0250719581, 0.0096103922, -0.0336920954, -0.0099650137, -0.0923012421, 0.0039427173, 0.0092980638, 0.0107621299, 0.0815891251, 0.0281397533, 0.0720587298, -0.0460320264, 0.0122529948, 0.0023038522, 0.0486454181, 0.0372074656, -0.0050345263, 0.0145938853, 0.0179937873, -0.0226534829, 0.0357434861, 0.0690861568, 0.077915974, 0.0605035163, -0.0262715165, -0.0210867822, 0.0236071348, -0.095005326, -0.0168349873, 0.0379908755, -0.0488210283, 0.009781668, -0.0935566649, -0.0636426061, -0.0519489497, -0.0077653429, 0.0099361278, -0.0138852326, -0.0156784188, 0.0080639794, 0.021313794, -0.0281521026, -0.0322858989, -0.0140054356, -0.0426400825, -0.0363419876, 0.0013851507, -6.843369585e-33, -0.0242923088, -0.0666849613, 0.0176488794, 0.0223683771, 0.0221010316, 0.0146811316, -0.064293161, 0.0196253806, 0.0107567292, 0.0225621164, 0.024670139, 0.0263656359, 0.0138798198, -0.0341942869, 0.0058568665, 0.0260159355, 0.0001457036, 0.0340083912, -0.0199044719, 0.0377740748, 0.0284515638, 0.0106343897, 0.0508383848, -0.0878471509, 0.0551077649, 0.0091481693, 0.013287886, 0.019516388, -0.0764763579, 0.0172899645, 0.0261123348, 0.0053681876, 0.0262351688, -0.0670680702, 0.012561298, -0.0387905911, -0.0173791405, -0.0313950703, 0.0829832181, -0.0209406968, -0.0215982478, -0.0543368533, -0.01284956, 0.0206710827, -0.0178413838, -0.0170339681, 0.0300173312, 0.0160909556, -0.0159911849, -0.0139427986, -0.0675850883, 0.0347097106, -0.0270338524, 0.0381692275, 0.0298404098, 0.0016314904, 0.0139874853, -0.0027778214, 0.0263639353, 0.0760917068, 0.0312173273, 0.0111864032, 0.0327204503, 0.0280652009, 0.008706538, 0.0338347703, -0.0210396405, 0.0223193783, -0.0033016475, -0.0041253455, 0.0054714633, 0.0583763272, 0.0283684041, 0.0310882609, 0.00015201, 0.0297259577, -0.1065386608, 0.0014521262, 0.0200105831, -0.0417523831, 0.0326117203, -0.0044783428, -0.0601123273, -0.0564979427, -0.030683862, -0.0192447156, -0.0352130607, -0.0225782823, 0.0280914083, -0.016995104, -0.0223722737, -0.0337946825, 0.0249002147, -0.0607055835, -0.029107675, 0.042407833, -0.055855684, 0.0045216838, -0.030682724, 0.0235518422, -0.0538804904, -0.0227507465, 0.0002195986, 0.0137853185, 0.0701824799, 0.0252636801, 0.0073190387, -0.011021045, -0.0200716555, -0.0112290112, -0.0443098024, -0.0318948962, -0.0096789887, -0.050184533, 0.0381590687, 0.0303710885, 0.0062610484, 0.0502993278, 0.066867955, 0.0554609783, -0.0125514753, -0.0172266494, -0.0397770442, 0.0198728368, -0.0455327071, -0.0289819743, 0.0055810898, 0.0480190255, 0.0249345545, -0.0267876051, -0.0363882482, -0.0133768413, 2.992e-7, 0.0579623356, 0.0509358831, 0.0213717092, 0.0783699676, 0.009585226, -0.0062715486, 0.0009649499, -0.0020077499, 0.0250781327, 0.0079580229, 0.0535512976, 0.0153744919, 0.0409138389, 0.0021851182, -0.057534568, 0.0269142315, -0.023949597, -0.0305647515, -0.0276345573, 0.0025069499, 0.0189033318, 0.0206231624, 0.0266458318, 0.0347284786, -0.0324652977, -0.0099750683, 0.0392821841, -0.0213544667, -0.0141800744, 0.003628812, -0.0246126316, -0.0397728495, -0.0273439605, 0.0431831777, -0.0083238203, 0.0066423151, -0.0339950584, 0.0218928531, -0.0060233548, 0.0153306546, -0.0254753828, -0.0621631257, 0.0243229475, 0.0025268898, 0.0589281991, -0.0308201071, -0.0460999645, 0.0629171133, 0.0004692005, -0.0282242652, -0.0126336999, 0.001958922, 0.0178352389, 0.0282500554, -0.0088776089, 0.0030696855, 0.0203634612, -0.0487013347, -0.0345291719, 0.0289756134, 0.0047790613, -0.1024385318, 0.0100457361, 0.0137110846, -0.0149561083, -0.0091673406, 0.0090470398, 3.444559821e-34, 0.0364503227, 0.0278046429, 0.0276499428, -0.0302986838, 0.0788283646, -0.0344359688, -0.043014098, 0.0316051058, 0.0389510319, -0.1046272591, -0.0301416907 ]
http://arxiv.org/abs/2310.15114v1
http://arxiv.org/pdf/2310.15114v1
How To Build Competitive Multi-gender Speech Translation Models For Controlling Speaker Gender Translation
2023-10-23T17:21:32
2023-10-23T17:21:32
Marco Gaido, Dennis Fucci, Matteo Negri, Luisa Bentivogli
cs.CL
cs.CL
When translating from notional gender languages (e.g., English) into grammatical gender languages (e.g., Italian), the generated translation requires explicit gender assignments for various words, including those referring to the speaker. When the source sentence does not convey the speaker's gender, speech translation (ST) models either rely on the possibly-misleading vocal traits of the speaker or default to the masculine gender, the most frequent in existing training corpora. To avoid such biased and not inclusive behaviors, the gender assignment of speaker-related expressions should be guided by externally-provided metadata about the speaker's gender. While previous work has shown that the most effective solution is represented by separate, dedicated gender-specific models, the goal of this paper is to achieve the same results by integrating the speaker's gender metadata into a single "multi-gender" neural ST model, easier to maintain. Our experiments demonstrate that a single multi-gender model outperforms gender-specialized ones when trained from scratch (with gender accuracy gains up to 12.9 for feminine forms), while fine-tuning from existing ST models does not lead to competitive results.
[ 0.0159817841, 0.066609621, -0.0054454445, 0.0134251406, 0.004283946, -0.0180331413, 0.061425887, -0.0488815457, -0.0775797591, -0.0145304315, -0.0587325133, -0.0753265098, 0.0515588112, -0.0194869637, 0.0472763442, -0.0212243348, 0.0191811193, -0.0008700496, -0.0037171685, -0.0316979475, -0.0007177346, 0.0221691467, 0.025947988, 0.0318527147, 0.0057897205, -0.0119277863, 0.0176174957, 0.0665394291, -0.0027873227, 0.0442853384, 0.0492589921, 0.0308833104, 0.0075787953, 0.0380713306, 0.0000018814, -0.0424561612, 0.0089650089, 0.0404873565, -0.0159323774, -0.0013811744, 0.006590114, -0.0050562057, -0.0373223238, 0.0296146553, 0.0071562985, -0.022011755, 0.0541484393, 0.0095030209, 0.046326533, 0.049200289, -0.0221750233, -0.0116129154, -0.0441869944, -0.0832345933, -0.0207751375, -0.017045388, -0.0116470354, -0.0552369878, -0.0717807636, 0.0184251219, -0.0110779926, 0.056287881, -0.0361320712, -0.0207956247, -0.0173198171, -0.0045253169, -0.0027426819, -0.0514034741, 0.0071324534, 0.0612405427, -0.0095531633, 0.0419050828, 0.0199258178, 0.0322032124, -0.0078512812, -0.0183667969, -0.0270266198, 0.0027000194, 0.0223777182, -0.0357644968, -0.0002050041, 0.0039448165, 0.0359794758, 0.0186595302, -0.0485902689, 0.0803828761, 0.0096382797, -0.0377768576, 0.0378006771, -0.0273569617, -0.0080215298, -0.0062327655, 0.0561480336, -0.0218358058, 0.0189594366, 0.0054819626, -0.0290013589, -0.0706762224, -0.0121363141, -0.0823137164, 0.0117450431, 0.0527165607, 0.0105936332, 0.0253321026, -0.0427633338, 0.0479069985, -0.0390271209, 0.0206351914, -0.0553948991, -0.0833387524, -0.0181788709, 0.01395291, -0.053524036, -0.0032674379, -0.041930072, 0.0271500722, -0.0162320714, -0.0024038889, -0.0294743571, 0.0099939844, 0.0178421158, -0.0167886242, -0.0339505672, -0.0145118628, 0.0313842371, 0.0516311266, -0.0468191952, 0.0256887432, -0.0088020843, -0.0713751093, -0.0245452151, 0.0265483949, -0.0043290583, -0.022226043, -0.0055514718, 0.0136992102, -0.002698394, 0.0058908779, -0.0305511132, -0.0095982514, -0.0581894107, -0.0758816451, 0.0251064766, -0.0558738671, 0.0411912501, 0.0131207919, 0.0271170866, -0.0383985043, -0.006127506, 0.0023391647, 0.0015161597, 0.0446704179, 0.069437623, 0.0159688964, 0.0859652609, 0.0043434096, -0.0399625786, 0.066175662, 0.0816551968, -0.0088794036, 0.0002953272, -0.0039396016, -0.0391282625, 0.0965713114, 0.0692435801, 0.0482478105, -0.0368931964, 0.0060150535, 0.0154676875, 0.0838414133, 0.0931528062, 0.0045912331, 0.0202772152, -0.018334182, 0.0607991517, 0.0582814068, 0.05519123, 0.055665195, 0.0569085479, -0.0193074383, -0.0121682249, -0.0133710606, -0.040808782, 0.0077414494, 0.0134400949, -0.0408956558, -0.013762977, 0.0269776601, -0.0399692282, -0.0316515565, 0.0196473468, -0.0129574714, 0.0024417124, 0.0026489631, 0.0052705067, 0.0392887704, 0.0014194505, 0.0733759552, -0.0034362113, -0.0569970794, 0.0317193493, -0.0436547548, -0.0465747379, 0.0215000659, -0.0032195332, -0.0161093902, -0.0403235145, -0.0581887476, -0.0207922067, 0.0409932509, 0.0742960051, 0.0393851399, 0.067172274, -0.068814829, 0.0133753335, 0.0362546854, 0.0174468029, 0.0604790039, 0.0006716107, 0.0511951298, 0.0406211801, -0.0031304066, -0.0649858862, 0.0170140415, -0.0011324427, -0.0223194864, 0.083818756, -0.0017546071, 0.0244228803, 0.0311729368, -0.0256292, -0.0021615536, -0.004095118, -0.0350211747, -0.0042684097, 0.0251581762, -0.0275514554, -0.0094286082, 0.0020635526, -0.0357846208, -0.0434990488, 0.0286628734, -0.0189746004, -0.0600556992, 0.0444296338, -0.0294167921, -0.0396397561, -0.0334262587, 0.0161622278, 0.0370279923, 0.0282680206, 0.0043996954, -0.027661901, -0.0120757837, -0.0574024357, 0.029475702, -0.0069307922, -0.0042425673, -0.1004350632, -0.0576560497, 0.0630358607, 0.0097210221, 0.0234113038, 0.0226703268, -0.0245829113, 0.0042603337, -0.0356055163, -0.0211717673, -0.0034167706, -0.0123040657, 0.00714347, -0.010565591, 0.0460363403, -0.0008990836, -0.0100737028, -0.023756614, -0.0407552794, -0.0192809217, -0.019800676, 0.0114698056, 0.014042926, 0.0244209282, -0.0259942338, -0.0061719143, -0.0204612631, 0.0522231646, -0.014075228, -0.0298880208, -0.0352914222, -0.0084233861, -0.0061572199, 0.0034610352, -0.0057361377, -0.0471737236, -0.0155694848, 0.0029170767, 0.0496679246, 0.0839451402, 0.000747534, -0.0222306792, 0.0256662462, -0.0087472983, -0.0844507888, 0.0254879389, 0.029607743, 0.0241174307, -0.007356815, -0.0412284434, 0.0103144739, 0.0115684159, 0.0072948723, -0.0066195754, -0.0457790606, 0.0042112241, -0.009144051, -0.0509849936, 0.002042504, -0.0073608169, 0.0052155228, 0.0133546852, -0.0319901109, 0.0179828405, 0.0291982796, -0.0629900172, -0.0453005098, -0.0217046309, -0.0247008204, -0.0579330772, 0.0173172187, -0.0728204921, 0.0334603414, -0.0039894711, 0.0015734525, -0.0582017563, -0.0540459193, 0.041805923, -0.0231888536, 0.0248389188, -0.0354553424, 0.0097909989, 0.0078790365, -0.0200972389, -0.0105137471, 0.0163341109, 0.0115567576, -0.0004114169, -0.0062797456, -0.0326649472, -0.0140122306, 0.0329475552, -0.0077799256, 0.0661978647, -0.0248497631, 0.0279531907, -0.0097092977, 0.010952374, 0.0025618093, 0.038049724, -0.0255461987, -0.0332320854, -0.0028232827, -0.0029457991, 0.0009209343, 0.0079532154, -0.0314767994, -0.0090211788, 0.0383009501, -0.0077847284, -0.0508828983, -0.0570856109, 0.0202763733, -0.0582607724, 0.0071678665, 0.1129592955, 0.0063496619, -0.0490740985, -0.038594123, 0.0026484749, 0.0425999239, -0.0002595961, 0.0376236886, -0.0413697399, 0.007913461, 0.0407752581, 0.0249853004, 0.0172396936, -0.0055084424, -0.0759133399, -0.0905948281, 0.0160233453, 0.0677549541, -0.0480911918, -0.0440463424, 0.0129340235, -0.0205482189, -0.046751108, 0.0281510148, -0.0194478594, 0.0362870619, -0.0281790141, 0.0043841037, -0.0116246957, -0.0331040844, 0.0232860073, -0.0676659271, 0.0957578272, 0.0317474529, 0.052207768, -0.0348186381, 0.0054904041, 0.0281700753, 0.0169559941, -0.0072610509, -0.0146210501, -0.0077418173, -0.0125397407, -0.0162216797, -0.0108159762, 0.0411883593, 0.0643856674, 0.0346470289, -0.0013362414, 0.0052152341, 0.0089144176, 0.019361984, -0.0262012351, -0.0040507913, 0.0279444028, 0.0629558861, 0.0227257255, -0.0739364475, -0.0138732996, -0.003679913, 0.0054557612, -0.0289455913, -0.0273234658, -0.0063576596, 0.0351983048, -0.0573698394, -0.0554114766, -0.0417522714, 0.0047544632, 0.0190873407, 0.0071788444, -0.057057485, 0.0143753188, 0.0116530107, -0.0286585148, 0.0377647802, -0.0253796205, 0.0304335319, -0.020253662, -0.0141523937, 0.0245225467, -0.0395703502, 0.0007449423, 0.0457784235, -0.0319548249, -0.062288072, 0.0205798429, 0.0597772859, 0.0242986232, 0.0716689453, -0.0565330833, -0.0627150908, 0.027249435, 0.0120617319, -0.0500234663, -0.0045940634, 0.0868693441, 0.0319662541, -0.012868749, 0.0467176102, -0.0220547114, 0.0395132452, -0.034663979, 0.0218100622, -0.0097821327, -0.0651167259, 0.0095354486, 0.0413910225, -0.0230729692, -0.0348000489, 0.0140418606, -0.032393679, 0.0277748108, -0.0066873129, -0.0059405798, -0.0231466889, -0.0196366441, 0.0592909046, 0.0142022688, 0.02933711, -0.0422445387, -0.0014035535, -0.0364032201, 0.0024699618, -0.0336143747, -0.0053606383, 0.039974764, -0.0261121057, 0.058887545, 0.0023267462, 0.0198769588, -0.0036730275, 0.0268126149, -0.005412518, -0.0104540009, -0.0018186236, 0.022758536, -0.0053196475, 0.0176471006, -0.0459847786, -0.0045700776, -0.0358865149, 0.0123826396, 0.0244795755, 0.0346187018, 0.1070394665, 0.014535618, -0.0044222102, 0.0035293919, 0.0122637888, -0.0161308646, 0.0409202911, -0.00084624, -0.0048295949, 0.0429650471, -0.0219850559, 0.0201986991, 0.0493424572, 0.04168218, -0.045415733, 0.0018625042, -0.0343987346, -0.0222304817, -0.0435277522, -0.065778859, -0.0414294451, -0.0387472175, -0.041187454, -0.0368689559, 0.0325337164, -0.0152599774, 0.0177177712, 0.0072727087, 0.0087771919, 0.04262444, -0.0478746705, -0.0204205196, -0.0326468088, -0.0180806424, 0.0534212999, -0.0372349545, -0.0342223719, -5.798453922e-33, -0.0609395206, 0.0150843412, 0.022629505, 0.0124423103, -0.0402326733, -0.0263584647, -0.0184126142, -0.0230378844, -0.0069183903, -0.0097506773, 0.0078239944, 0.0308510922, 0.0252892766, -0.002155483, -0.0138936089, 0.0135086523, 0.0938024074, 0.0332239009, -0.0207132697, -0.0280100163, 0.0048500816, 0.032754045, 0.0514171906, -0.0732125267, 0.0646613017, -0.0150835756, -0.0627450868, 0.0035499847, -0.0294602048, 0.0155284368, 0.0315673649, 0.0166203957, -0.0301540513, -0.0417971537, 0.0097493473, 0.0583992898, -0.1096142232, -0.0116481129, 0.0039359247, 0.0638443157, 0.029059859, -0.0345410481, 0.0610998161, -0.0015138392, -0.0014080922, -0.0337790549, 0.0219545383, -0.0044176322, 0.0345554873, -0.0105649736, -0.0371595174, 0.0194507707, -0.0166937634, -0.019312283, 0.0630676672, 0.0776713416, -0.042415522, -0.0255816169, -0.1102841869, 0.0375034325, -0.0396512114, -0.000691442, 0.0245753806, 0.0476236902, -0.0056563565, -0.0331679173, 0.0818273947, -0.0095570805, 0.0205126088, -0.047175806, 0.0531363636, -0.0068743536, 0.0474837348, 0.029151218, 0.0097193299, 0.0028717224, -0.0709815919, -0.0211839769, 0.0164088141, -0.003987852, -0.0114489403, -0.0173238013, -0.0433981344, -0.0159629043, -0.0682345331, -0.0897679031, -0.0120226415, -0.0016897948, 0.0070721037, -0.0074763768, -0.0653683767, 0.0039590672, 0.0540353842, -0.0475008152, -0.0009150806, -0.0279349815, -0.0049128267, -0.0139869684, 0.0071948604, 0.0568841733, -0.0074454853, -0.0287920218, 0.0242518131, 0.0257315338, 0.0228766426, -0.0000771812, 0.0217336416, 0.0678108111, -0.0532092974, -0.0143259512, -0.0426005982, 0.0248452984, -0.0362621397, 0.0308085103, 0.009967559, 0.0353094079, -0.0051304568, 0.0186104216, 0.0534532145, 0.0685451403, -0.0095791854, 0.0045275618, 0.0444712229, 0.0512378924, -0.0450991951, 0.0038622366, 0.022962898, -0.0063669505, 0.0587927923, -0.0300040524, -0.0092161028, -0.0219994113, 2.604e-7, -0.0141196065, 0.0450327024, 0.0307878572, 0.0106282244, 0.0201300643, 0.0338484943, -0.0230847411, 0.0350237563, 0.0425948724, 0.0230034888, -0.0072265035, 0.032309752, 0.0440339334, 0.0460555889, -0.0708796233, -0.0282939039, -0.0577341169, 0.050720498, 0.0040776716, -0.0053967973, -0.013124641, 0.0774710104, 0.0211302452, -0.0052623553, -0.025731435, -0.0076287282, 0.078805387, 0.0077569671, -0.0228993706, 0.0106660854, 0.0105063953, 0.0118840216, -0.0371426679, 0.0050468384, 0.0064554936, 0.0375606753, 0.0315856636, 0.0654296353, -0.0145229558, -0.0143910591, -0.0255456083, -0.0071551595, -0.0382889472, -0.0064146277, 0.0322423987, -0.0163792167, -0.0247629993, -0.0189621337, -0.016344117, 0.0638033599, 0.0722300932, -0.0412130058, -0.0094416523, 0.0158189777, 0.0385329612, -0.0035993515, -0.0229329243, -0.0361180492, -0.0485138632, -0.0206910968, -0.0246505532, -0.0225684103, -0.0220409092, 0.0220928825, 0.0200980473, -0.023028139, 0.0190883782, 1.62846226e-34, 0.0124320816, 0.0034530067, -0.014933208, -0.0016789148, -0.0143401623, -0.0258612223, -0.0058063054, 0.0128962779, 0.0430170484, 0.0203631315, -0.0449536853 ]
http://arxiv.org/abs/2310.15113v2
http://arxiv.org/pdf/2310.15113v2
Counting the Bugs in ChatGPT's Wugs: A Multilingual Investigation into the Morphological Capabilities of a Large Language Model
2023-10-23T17:21:03
2023-10-26T11:45:28
Leonie Weissweiler, Valentin Hofmann, Anjali Kantharuban, Anna Cai, Ritam Dutt, Amey Hengle, Anubha Kabra, Atharva Kulkarni, Abhishek Vijayakumar, Haofei Yu, Hinrich Schütze, Kemal Oflazer, David R. Mortensen
cs.CL
cs.CL
Large language models (LLMs) have recently reached an impressive level of linguistic capability, prompting comparisons with human language skills. However, there have been relatively few systematic inquiries into the linguistic capabilities of the latest generation of LLMs, and those studies that do exist (i) ignore the remarkable ability of humans to generalize, (ii) focus only on English, and (iii) investigate syntax or semantics and overlook other capabilities that lie at the heart of human language, like morphology. Here, we close these gaps by conducting the first rigorous analysis of the morphological capabilities of ChatGPT in four typologically varied languages (specifically, English, German, Tamil, and Turkish). We apply a version of Berko's (1958) wug test to ChatGPT, using novel, uncontaminated datasets for the four examined languages. We find that ChatGPT massively underperforms purpose-built systems, particularly in English. Overall, our results -- through the lens of morphology -- cast a new light on the linguistic capabilities of ChatGPT, suggesting that claims of human-like language skills are premature and misleading.
[ 0.023565203, 0.0668405443, -0.046938695, 0.0220787898, -0.0639248565, 0.022602886, 0.0202712342, 0.0378688164, -0.016772788, -0.0167184193, -0.0466379337, -0.1022811532, 0.0337219052, -0.0135438694, 0.0878989622, -0.0207574051, 0.0547607467, -0.0502934605, -0.0274578258, 0.0055186683, 0.0165326148, -0.0056751641, -0.0021397714, 0.0327999443, -0.041181881, 0.0039183516, -0.0045968923, -0.037527319, -0.0247086007, -0.0092285974, -0.0230578762, 0.0219262987, -0.0387583673, 0.0389334969, 0.0000016204, -0.0609957799, 0.0560036115, 0.0013964813, -0.0095930966, 0.0602082312, 0.0843342915, 0.0047441861, -0.0410826169, -0.0125182178, -0.0137061141, 0.0144356592, 0.0597730987, 0.0070364662, -0.0140068121, 0.0535566919, -0.014272863, -0.0395058654, 0.0628003925, -0.025385417, -0.0243619531, 0.0198746417, 0.0195976365, -0.0093376422, 0.0555742607, -0.0296216123, -0.0160275009, 0.0403466709, -0.0004234527, 0.0119695999, -0.0847409666, 0.0420914553, -0.0346645936, -0.0503042601, 0.0497434475, 0.0118216127, -0.0079800989, -0.0466516018, 0.0226452444, 0.0266198758, 0.0210981015, 0.0120515525, -0.0541891865, 0.0427477136, -0.019979503, 0.0354374237, 0.0900632814, -0.0121202786, 0.0085454946, 0.0135359075, -0.002959227, 0.0681045577, 0.0498556681, -0.0092564542, -0.0131498054, 0.0204033107, -0.045880422, -0.062107861, -0.0172700249, -0.0079379017, -0.0419816338, 0.0082278224, 0.0111539299, -0.005387119, 0.0490908474, -0.0432673134, 0.0359346494, 0.0000639224, -0.0218741484, 0.0239843447, -0.0053841891, 0.0529155843, -0.0031520596, 0.0043713651, -0.0423890539, -0.0050565549, -0.0398793779, -0.029906176, -0.0142262559, -0.0285156667, -0.0281893499, 0.0212381985, -0.0353765786, 0.0033454055, 0.0204784237, -0.0352110676, 0.0037607278, -0.0246545821, -0.0602224506, 0.0040359776, -0.0018852366, 0.0047023944, -0.0099380733, -0.0141309239, -0.0179856587, -0.0841526613, 0.0072726654, 0.0308262426, -0.0274300314, -0.0278729424, -0.0096520595, 0.0812525824, 0.0019236498, -0.0257162787, 0.0277119651, 0.0169805884, -0.0844126195, -0.0554259419, 0.0021237996, -0.0488250405, 0.0011506815, 0.0245692059, -0.0298934784, -0.0076001319, -0.0106413728, 0.0054220906, -0.0297368243, 0.0307225678, 0.0095096827, 0.0228530932, -0.0055035288, -0.0252779331, 0.0123488912, 0.0305198692, 0.0239463598, -0.0109753236, 0.0391015485, -0.0098113893, -0.0011197051, 0.0654067472, -0.0453542583, 0.0086071016, -0.0451033004, -0.0175817739, 0.030124981, 0.0180318691, 0.0322027504, 0.089985162, -0.0018213602, -0.0404738262, 0.0355897099, 0.0863413736, 0.0106309019, 0.0572135672, 0.0360903442, 0.0164963547, 0.0509442575, 0.041759029, -0.0113631161, -0.0449454486, -0.0483449735, 0.0437076166, -0.0621072985, 0.0630227327, 0.0146794021, -0.010334135, -0.0418722034, -0.011277576, 0.017839184, -0.0504132994, 0.0700044334, -0.0068656784, -0.0127537241, 0.0064679803, 0.0778932422, -0.0331709459, 0.0162607115, -0.0708081424, 0.0460976139, -0.014933046, 0.0177198593, 0.0016403258, -0.0015111191, 0.0407034196, -0.0064644939, 0.0648707673, 0.0329930224, 0.0063602109, -0.0088304533, -0.0095525756, 0.053657081, -0.0028228401, 0.0390890464, 0.0232028607, -0.0511263311, 0.0332453251, -0.0225221422, -0.0147869783, -0.0348977856, 0.017276071, -0.0201025456, 0.0414710045, -0.0455586724, -0.0394159406, 0.015952101, 0.0023754144, -0.0531743765, 0.0553969927, 0.0115819685, -0.0540772006, 0.014734, 0.0225143582, -0.0404346474, -0.0270973071, 0.046448864, -0.0079560922, -0.0141697219, -0.0071578543, 0.0338405073, -0.0256902091, 0.0323913656, -0.0636510476, 0.0654579103, -0.0465064496, 0.0530618168, -0.0034462481, 0.0246397331, -0.0571385026, 0.0519859046, 0.0317993835, 0.0335496776, -0.020800516, -0.017351931, 0.0146354018, -0.0422564074, -0.0219666306, 0.0451513268, 0.0022652335, -0.0067469892, 0.0085152006, 0.0161527283, -0.0391186625, -0.0711961463, -0.1280025095, -0.0142522398, -0.0190078262, 0.0446138009, 0.0181489456, -0.0181436613, -0.0268960223, 0.0320925079, -0.0197521765, -0.0090784747, 0.0426890105, 0.0192986224, 0.0490649045, -0.0292777643, -0.0181784704, -0.0239818953, -0.0333020017, -0.0156362802, 0.0327112041, 0.0326168984, -0.0416956358, -0.0336731449, 0.0072854129, -0.0297395196, -0.0104277469, -0.0046085538, -0.0761559382, 0.0223319214, -0.0042276229, 0.074583374, 0.0273701567, 0.0149028283, 0.0160216745, 0.0073827896, -0.0285953097, -0.0068661133, -0.0395688862, -0.013799726, -0.0252387617, -0.0649793223, -0.0258048382, -0.004118151, 0.1041933894, -0.0091350907, -0.0232004151, -0.0159783214, 0.0515298918, -0.0790730864, 0.0120826159, -0.0132064084, 0.0259686112, -0.0526738986, 0.0474508516, -0.0249239206, -0.0354000553, 0.0315410197, -0.063452594, -0.0320156887, -0.028004745, -0.0215972979, -0.0327325799, 0.0521843396, 0.0324302986, -0.0105662942, 0.0397286564, -0.0262395404, -0.0459065363, 0.0562447757, 0.0039089983, -0.0125199072, 0.0080480454, -0.0685399547, -0.0036837405, -0.0054554329, -0.0567772537, 0.0038321498, -0.0298571922, -0.0363937318, 0.0341730155, 0.0497173071, -0.0416808017, -0.0141176051, 0.0482180193, -0.0041613337, 0.0011759964, -0.0274481364, 0.0177386757, -0.0013856776, 0.0381236374, 0.0383732244, 0.0449305885, 0.0072734873, -0.005376067, -0.0045963614, 0.037856698, -0.0290630721, 0.0321088992, 0.0195375644, 0.0224284474, 0.022103399, -0.0344544202, -0.0910997093, -0.016417101, 0.0607825294, -0.0223276261, -0.0056115878, 0.081955336, 0.0368823558, 0.0387947597, 0.0508870371, -0.0128468089, 0.0429221056, 0.0292040352, 0.0151716545, -0.0423305221, -0.0104299719, 0.020309262, -0.0331482068, 0.0037892053, -0.0278511234, 0.0053373296, -0.0990950465, 0.0330644213, 0.0140608614, -0.0568157695, 0.0532177351, -0.0050509172, 0.0095723458, -0.0181445032, 0.0346342735, 0.043136064, -0.0475376248, 0.0299857724, 0.0332291536, -0.0661055818, -0.0423052125, 0.012402555, -0.0379670337, 0.0152100353, 0.0119221713, 0.0302428622, -0.0507305935, -0.0524515696, 0.0557475276, -0.0027689708, 0.0226886123, -0.0001997337, 0.0158562511, 0.0367808156, -0.0381832011, -0.0797670633, -0.0068390039, -0.0155281685, 0.0017129951, -0.0235287063, 0.0686576962, 0.0169447046, -0.0400751643, 0.0255870484, -0.0296148472, -0.0503695756, 0.0405891463, 0.0217627808, -0.0745014176, -0.044912912, -0.0248336196, -0.0405614749, 0.0189404842, -0.0909988508, 0.016489625, -0.0006372216, -0.0396556444, -0.0890486762, -0.0491883159, 0.0324532241, -0.0031182813, -0.0038735056, -0.0084737828, 0.0020077324, -0.0258894246, -0.0084563587, 0.0284735542, 0.0110799232, 0.0184738412, -0.0893496722, -0.0020495653, 0.0709117278, 0.0002102683, -0.0378818214, -0.0069363816, -0.0343110003, -0.0780794472, 0.0311368816, -0.0168185905, 0.0245958902, -0.0434286483, -0.013469615, -0.0350320451, -0.0145343514, 0.0214229897, -0.0278440323, 0.0603005812, 0.0052628643, -0.0032373762, 0.0177259557, 0.0462296307, 0.0077121668, 0.0169334561, -0.0071032289, 0.0336967595, -0.0222381055, -0.010058051, 0.0309100915, 0.051752165, 0.0419703797, -0.035603486, 0.0125981951, -0.0262145866, -0.0531799048, -0.0032786592, 0.0154071422, -0.0374499112, -0.0171703752, 0.0414279662, 0.0257545635, -0.0363791436, -0.0174685474, -0.0241734795, 0.0412590019, -0.0101864254, 0.0185358636, 0.0093456386, -0.0103108231, 0.0099732904, 0.0323946252, 0.0127217006, -0.0056644641, -0.0575166084, 0.0392737091, -0.0409106128, 0.0333836116, -0.0202116128, -0.0056288484, 0.0116039868, 0.0353524163, -0.0057032378, -0.0303721521, 0.0229259171, 0.0631167144, 0.0553588606, -0.0227260608, 0.046583645, -0.0705311522, 0.0088440152, -0.0561263748, 0.0284980964, -0.0170826353, -0.0010156452, 0.0070469994, 0.0066336235, -0.0573447458, -0.0184543412, 0.0671931207, 0.0283686761, -0.0042031077, 0.0196562354, -0.0053821299, -0.014897895, -0.0431800745, -0.0098453471, -0.0286418721, -0.00790672, 0.0316047929, -0.0839064047, -0.0923356414, -0.0436686128, 0.033229012, 0.0348593704, -0.018587118, -0.0122755878, 0.0297725517, -0.0086041465, 0.0094346944, -0.0350285135, -0.005019886, 0.0140076, -0.0014221104, -0.0089131333, -5.457494806e-33, -0.0024911806, 0.0124012614, -0.0255535394, -0.0116039282, -0.0037558151, -0.0378111005, -0.0106601398, 0.073811166, -0.0011506886, 0.0276286751, -0.0313528851, -0.0071269488, 0.0069829258, 0.0015459827, 0.0392566398, 0.0324973278, 0.0035714435, -0.0225876048, 0.0145872748, -0.026620863, 0.0060553695, -0.007982933, 0.0871374756, 0.000744807, 0.0196931791, -0.0250760373, 0.023935318, 0.0072706835, -0.0339497142, 0.0497384965, -0.0247895829, 0.0428635851, 0.0341620632, 0.0001671939, -0.0205661561, -0.0091098556, -0.038866207, -0.017465692, 0.0563856922, 0.0116887949, -0.0005105376, -0.015877312, 0.0018082218, -0.0278772414, -0.0584744364, 0.0253371894, 0.0075516836, -0.0064227916, 0.0031205532, 0.0321112424, -0.0391009599, 0.0409426801, -0.0007321926, 0.030360816, 0.0085072117, -0.0334198177, -0.0091899335, -0.0341136083, 0.0048620892, 0.0006022088, 0.013225955, 0.0517314114, 0.064188242, -0.0281466953, -0.0134693338, 0.0426858477, 0.0703539923, 0.0023959577, 0.0286614671, 0.0076397113, 0.0590755381, 0.0240519308, 0.0381303094, 0.0185824372, 0.0516532585, -0.0229813289, -0.0298297051, -0.0388411433, 0.0361434259, 0.0526757874, -0.0178492442, 0.0196528584, -0.0629569665, -0.0362312905, 0.0146021955, -0.0123313805, 0.0042917747, -0.0135638472, 0.0298110899, -0.0487480015, 0.0359846242, 0.004765172, 0.0142403077, -0.028526172, -0.0268625189, -0.038962841, -0.0281879753, 0.0411093533, -0.00531661, 0.0297432542, -0.0301845912, -0.0101639116, -0.0286716726, 0.0547733568, 0.0327553302, 0.0017158597, 0.0054920083, -0.0005412138, -0.0630903989, 0.0033151177, -0.0051669106, 0.0101715624, 0.0043749274, -0.0190599672, 0.0696188137, -0.0112062674, 0.0046559181, -0.0291069038, 0.0264261179, -0.0194300618, -0.0459877402, 0.0086552771, -0.020599898, -0.0140932389, 0.0045188814, 0.0119729741, -0.0181195438, 0.0511366725, 0.065762043, 0.0043314304, -0.0057009193, 0.0187067352, 2.461e-7, 0.0348260626, 0.0804965794, 0.0053842864, 0.01802429, 0.0333600715, 0.000208762, -0.0634369329, -0.0173205417, -0.0034931384, 0.0084537622, -0.0220418666, 0.0032657818, 0.0625994503, 0.0106205298, -0.0747884959, 0.0135368127, -0.0886465609, 0.0023654231, -0.0642869547, -0.0073644803, 0.0178520381, 0.0993387774, -0.0111090858, -0.0109966462, -0.0132388007, -0.0728310272, 0.0575319007, -0.041592706, -0.029335238, 0.0172792971, 0.0549767241, -0.0351669118, 0.0301902313, 0.0325634331, 0.0023098574, 0.0334918164, 0.0256889239, 0.0339008942, -0.0096947933, 0.0491469689, 0.0403799899, -0.0241454337, -0.0237180684, -0.0618128031, 0.0494343266, -0.0298349373, -0.0393784232, -0.006563067, 0.0185656361, 0.0255900305, 0.0071602878, 0.0036079562, -0.0176672824, 0.0253599957, 0.0518546961, -0.0441755615, -0.0100178262, -0.0348017626, -0.0051211277, 0.0490997508, -0.0401438624, -0.0750918537, -0.0160130374, 0.0362886898, 0.0241581388, -0.0148470402, -0.0202411339, 2.121873144e-34, 0.0433105901, 0.0086211571, 0.0540624149, 0.0030681021, 0.0528836027, 0.006628749, 0.0614936799, 0.0701912493, -0.0035768903, -0.0640161633, -0.023701245 ]
http://arxiv.org/abs/2310.15109v1
http://arxiv.org/pdf/2310.15109v1
GRENADE: Graph-Centric Language Model for Self-Supervised Representation Learning on Text-Attributed Graphs
2023-10-23T17:18:35
2023-10-23T17:18:35
Yichuan Li, Kaize Ding, Kyumin Lee
cs.CL
cs.CL
Self-supervised representation learning on text-attributed graphs, which aims to create expressive and generalizable representations for various downstream tasks, has received increasing research attention lately. However, existing methods either struggle to capture the full extent of structural context information or rely on task-specific training labels, which largely hampers their effectiveness and generalizability in practice. To solve the problem of self-supervised representation learning on text-attributed graphs, we develop a novel Graph-Centric Language model -- GRENADE. Specifically, GRENADE exploits the synergistic effect of both pre-trained language model and graph neural network by optimizing with two specialized self-supervised learning algorithms: graph-centric contrastive learning and graph-centric knowledge alignment. The proposed graph-centric self-supervised learning algorithms effectively help GRENADE to capture informative textual semantics as well as structural context information on text-attributed graphs. Through extensive experiments, GRENADE shows its superiority over state-of-the-art methods. Implementation is available at \url{https://github.com/bigheiniu/GRENADE}.
[ 0.0152383484, 0.0272682365, 0.0232425798, 0.0346074402, -0.0346003063, -0.0013033884, -0.0127421804, -0.0312438291, 0.067523852, -0.0458528586, -0.0396834314, 0.0196710452, -0.0247974675, 0.0323003754, 0.0348334797, 0.0102136517, 0.020144973, 0.0339355171, 0.0231143981, -0.0170172155, 0.0234419219, 0.042979192, 0.0307048876, -0.0031242827, -0.0197710358, -0.0263993405, -0.0046913889, 0.0422145799, -0.0160935353, -0.0390120819, -0.0107100895, 0.0130227134, 0.0219101738, 0.0075959289, 0.0000017758, -0.0128137292, -0.0291147996, -0.0135199074, -0.0207019914, -0.0018525929, 0.0707619265, -0.0094881486, 0.0152852247, -0.0180337168, -0.0484724827, -0.0451548398, 0.0613948219, 0.0556053407, 0.0581217632, 0.0682491586, -0.0319941305, -0.055219695, -0.0078839995, -0.0270123929, 0.0181319322, -0.0444119312, 0.0250017587, 0.0361132361, -0.0176725835, 0.0313169546, -0.0575802103, 0.0237295777, -0.0044116504, -0.0078256177, 0.0520423278, 0.0330987945, 0.0020700316, 0.0496293902, -0.004933103, 0.1320751458, -0.0187244453, -0.0516768955, 0.0092007145, -0.0237217024, 0.0045465766, -0.0005266234, -0.0216137022, -0.0281842016, 0.0137460697, 0.033962179, 0.023493195, 0.0090892855, 0.0604071431, -0.0180642176, 0.001854254, 0.0465097129, -0.0215847846, 0.0099311704, -0.0026027353, -0.0083797975, -0.0003317519, -0.0254891869, 0.0002061985, 0.0348480158, 0.0072985427, 0.0186839085, -0.0387624092, -0.0245865248, -0.0095975576, -0.0200691111, 0.0251288153, 0.0105490768, -0.0016182053, 0.0544972494, -0.0369648188, 0.047740452, -0.0319923386, 0.0729378313, -0.0418948904, -0.0067181089, -0.0627121255, -0.0123277288, -0.0633131862, 0.0298772771, 0.0255841967, -0.059107542, -0.0290187635, 0.0556414649, -0.021480836, 0.0052977609, 0.039908234, 0.0363144949, -0.0234015658, -0.0251867715, 0.021680586, 0.0433642976, 0.0235849526, -0.0074265632, -0.0136564933, 0.0198093802, -0.0100827059, 0.0045355372, 0.0581969023, -0.0335631445, 0.0188901834, 0.0774639398, 0.034648858, -0.0207175463, 0.0085808225, 0.0160917751, -0.024614064, -0.051242616, 0.0174476188, -0.0649083555, 0.0432266518, 0.0287274532, -0.0068681766, -0.0662201494, 0.0223252475, -0.0181929395, -0.0422960818, 0.0770095214, -0.0277986303, 0.0010225311, -0.0161997955, -0.0281773005, -0.0166160334, 0.0278147217, 0.020675296, 0.0226021241, 0.0094686467, -0.001698512, -0.0230869129, -0.0110400496, 0.0495672338, 0.0084593771, 0.0044286037, 0.0142207127, 0.0047602491, 0.0177075602, 0.017110439, 0.0462211184, -0.0087511763, -0.0350299068, 0.0642486364, 0.0261825528, 0.0045651784, 0.0067374082, 0.0366600119, 0.0472443737, -0.0019028884, 0.009069195, -0.0536806211, 0.0254258458, 0.014875493, 0.0294678025, -0.0132364221, -0.0096830055, -0.0574345849, -0.0198055785, 0.0207707491, -0.043814905, 0.0853984877, -0.0016875102, 0.0633829609, 0.0381133519, -0.0600748435, -0.0009953131, 0.0309645776, -0.0176049471, 0.0138293905, 0.0081430692, -0.0189791191, 0.0481921509, 0.0266718268, -0.0397120267, -0.0456807204, 0.0022321423, 0.0078356564, -0.0183059089, 0.0148700178, -0.01051002, -0.0044651031, -0.0337668136, -0.0512922555, -0.075656563, -0.0115035195, 0.018156033, -0.0374126062, -0.0140815992, 0.0132939909, -0.0970320255, -0.0541012436, 0.0299053099, 0.0222196132, -0.0239862464, 0.0043276902, 0.023401035, -0.0284083262, 0.0299342703, -0.000901265, 0.0241388939, 0.0194178615, 0.0075545264, -0.0271476768, 0.0067941323, -0.0600343831, -0.0867884904, 0.0483246744, -0.0328500457, -0.0569969118, 0.0142906466, -0.0567856692, -0.0579467155, 0.0709505305, -0.0586394481, 0.0184042491, 0.0024068654, 0.0128329694, 0.0060521043, -0.0047229514, 0.0091955466, 0.0683286414, 0.0275539942, -0.0043033538, -0.035552647, 0.0555242822, 0.0197966527, -0.0247449912, -0.0013463118, -0.0194981452, 0.008801451, 0.0196633134, 0.0459774807, 0.0006526913, -0.0283411499, 0.0292414278, -0.0706507191, 0.0004681148, -0.0024701958, 0.0101478435, 0.0325390436, 0.0019228883, 0.0259196162, -0.0425511189, -0.0765241683, 0.0143534755, -0.0086520743, -0.0085723568, 0.0350034647, -0.0346108228, 0.0274804495, -0.0323179029, -0.0316970572, -0.0316341408, 0.0832364857, 0.0320973396, -0.0313736051, 0.0031216587, 0.0120108481, -0.0417574681, 0.0410757884, -0.0027668099, -0.0179049596, -0.0175982397, -0.0152836377, 0.0350100547, 0.0527476817, -0.0323544368, 0.0083484082, 0.0391395129, 0.0103172502, -0.0257427096, -0.0286444742, -0.0605515763, 0.0326141678, -0.0170714352, 0.0025591278, -0.0211378206, 0.065827623, 0.0192318857, -0.016250914, -0.0535605736, -0.026639333, 0.0064145448, 0.0246879943, -0.007929814, -0.0233715679, 0.0111364797, -0.0463583134, -0.0711088255, -0.0115192086, 0.0746086314, -0.0069273845, 0.0121723739, 0.0241992883, -0.022462545, -0.0562309958, 0.0696767345, 0.0573052056, 0.0479938909, 0.0141973533, -0.0297529437, -0.0481738113, 0.0004222214, 0.0442661233, -0.0325974487, -0.0165059157, 0.0262521897, 0.0421308763, 0.0224776156, -0.0273041334, -0.0105913663, -0.0204203054, -0.0083119506, 0.0438139737, -0.0018698282, 0.0104231881, -0.0006055025, 0.0074235694, -0.0241069589, 0.0498319976, -0.0178790689, 0.001964702, -0.0443742685, 0.0465746596, 0.0343082696, -0.0645509139, 0.0002090923, 0.0082378099, 0.0027513616, 0.0481257476, 0.0464700125, -0.0458988547, -0.0394158922, 0.024038136, -0.0039166245, -0.0330587886, -0.0065545184, -0.0306207258, 0.0524712466, -0.0147682736, -0.0072870827, 0.0594435707, 0.0180254895, -0.0483913906, 0.0062770345, 0.0253901519, -0.0165350661, 0.0371656343, 0.0018528614, -0.0877640173, -0.0261206068, -0.0384952761, -0.0089261252, 0.0458969697, -0.0392478555, -0.0019468542, -0.0890847072, -0.0177716147, 0.0374973975, -0.0160077196, -0.0445887707, -0.0306288339, 0.0062080864, -0.0438752398, -0.0271648727, -0.0199595988, -0.0171604604, -0.0049472833, 0.0105535826, -0.0241814312, -0.00396463, 0.0180297941, -0.0437602699, 0.0178603604, 0.0063338215, 0.0420377515, 0.0175282955, 0.0287756994, 0.0247465279, -0.0169625524, -0.0198228639, 0.0001937506, 0.0598122738, -0.0377616361, -0.001941254, -0.0035799507, 0.0146034062, -0.0517857336, -0.0134921558, -0.0665696263, 0.0683857054, -0.0012900458, -0.0033744646, -0.0031980297, -0.0258375518, 0.0364990756, 0.0259211864, 0.031163644, -0.0139678447, -0.0704736412, -0.0309149288, 0.0330593735, -0.0493025072, -0.038397748, 0.0294470619, -0.0447818004, 0.0033919276, -0.0476277731, -0.0308254268, 0.0084158909, 0.0056873495, -0.0078382827, 0.0138753168, 0.0280598644, -0.0673901439, -0.1034414768, 0.0068944134, -0.0475959927, 0.007483311, 0.0165582132, -0.0376403295, 0.0464413464, -0.0319249183, -0.0028085993, 0.0289415363, -0.0404182523, -0.0684898794, -0.0087323757, 0.0253353789, 0.0028220543, 0.071303755, -0.0525538549, 0.0018138883, 0.0414855741, 0.0300018154, -0.0410779752, -0.0264781378, 0.0220202543, -0.0147519615, -0.0075969375, 0.0285027195, -0.0620225556, 0.0484498739, 0.0642070696, 0.0443458445, -0.0337138623, -0.0514974296, 0.0403766818, 0.0359475315, 0.0441747271, 0.017080104, 0.0624389686, -0.0547740608, -0.0474127121, -0.0246058255, -0.0469895415, -0.0341528878, -0.0109780505, 0.0035629398, -0.0161164347, 0.010439896, -0.0293342825, 0.0000736558, 0.0357737578, -0.0409229957, -0.0423952416, -0.0262135491, -0.0116192671, 0.0073136003, 0.0181534048, -0.0021795454, 0.0214661974, 0.0341628939, -0.0095480625, -0.0044803279, 0.008852616, 0.0399877653, 0.0001383755, -0.0710850358, 0.0318502374, -0.0423687063, 0.0242005587, -0.0452189445, -0.0403423607, 0.0559063554, -0.0118557056, 0.0350970179, -0.0187199172, -0.0165034402, -0.0128377434, 0.0943127573, -0.0051169442, -0.0362415947, 0.0358151682, 0.012058273, -0.0023824149, 0.0200195704, 0.0430118516, 0.0648578554, 0.0345106833, 0.0160724837, -0.0470666513, -0.0327821821, -0.0136268213, -0.0179356486, 0.0388494618, -0.0140583646, 0.0078377388, -0.0303977244, -0.1068821549, 0.0277555771, 0.0010636646, -0.0140983388, 0.0230062325, 0.0395136513, 0.0059686727, 0.0281051937, -0.0035546676, -0.0457136966, 0.0522369221, -0.0049918569, -0.0048805415, 0.0104505531, -5.931595187e-33, -0.0192173291, -0.0671612546, 0.0089276163, 0.0106353965, -0.0464592502, 0.0322972499, -0.069387801, -0.0063591357, -0.0263962857, 0.0334806591, 0.0083663762, 0.0113388048, -0.0057148682, 0.0210481677, -0.0357516147, -0.029183872, 0.0013909783, 0.0033971202, 0.0051996633, 0.0449998192, 0.0345584005, 0.027074866, 0.0686207786, -0.1156437844, 0.0044029863, -0.0391162485, 0.007338916, 0.0123253064, 0.0741890892, 0.0402631238, 0.0031645361, 0.0555824414, 0.0169955082, -0.0142237507, -0.0035523497, 0.003905063, -0.0983964428, -0.0525378659, -0.0053250999, 0.0026992606, -0.0572066046, -0.0254936162, 0.0463690795, -0.0102681154, 0.0230145436, -0.0254940707, 0.0601982251, 0.0206744764, -0.0300210286, 0.0004038458, -0.0525138229, 0.0202965196, -0.0246536471, 0.0000660908, 0.027178131, -0.0082353037, 0.0316738486, 0.0148963351, -0.0646464527, 0.0242355485, -0.0953069478, -0.0210593157, 0.0183548816, 0.0433698632, 0.0392734334, 0.0396067537, 0.0061554145, 0.0169886183, -0.0408959463, 0.0232022945, -0.0044725044, 0.0599157177, 0.0145345954, 0.0097266939, -0.0288218725, 0.0086031733, -0.0889265016, -0.0031300285, 0.0029601527, 0.0064986511, -0.0016905445, 0.0337572619, -0.0209666099, -0.0393680483, -0.0155221717, -0.0391479954, -0.0263990462, -0.0230738539, -0.0157056693, -0.0266285948, -0.0409270637, 0.0687523857, -0.0118996128, -0.0812366232, -0.0131174764, 0.0871253312, -0.026767483, 0.0400745235, -0.0268949736, 0.0240988322, -0.0574586689, -0.046197664, 0.0131272795, 0.0048486013, 0.0258088391, 0.0240101218, 0.0643291697, 0.0264659561, -0.0260859765, 0.002341839, -0.048309803, -0.0471217781, -0.0264883079, -0.0249186791, 0.0567114651, 0.0556797013, -0.0149525395, 0.0557214394, 0.0804483965, 0.001242644, 0.0098622683, 0.0080081457, 0.0051033809, 0.0377726555, -0.0354578421, -0.012433934, -0.0325142816, 0.0244757887, 0.0107327625, -0.0623770319, -0.0306658261, -0.003760064, 2.456e-7, 0.0761687234, 0.0052531944, 0.0597118735, 0.0347698033, 0.0073226858, 0.0422676392, -0.0127281239, 0.0503565744, -0.0013420655, -0.0095997676, 0.0596861057, 0.0856206939, -0.0237284433, -0.006938186, -0.0384995751, 0.0929136649, -0.0624222457, 0.0147334337, -0.0084054517, 0.0531768203, 0.030759234, 0.0498186685, 0.049888365, -0.0011116653, -0.0229390897, -0.0414441712, 0.0792033896, 0.0177855603, 0.0028047215, 0.0256993249, -0.0216208789, 0.011680047, -0.0666324273, 0.0121851247, -0.0037225988, 0.0267975852, 0.0577282496, 0.0259747617, -0.0472905673, -0.0143641625, 0.0039633648, -0.0309015028, 0.0258385595, -0.0066719363, 0.0677943304, -0.0828848705, -0.0443324149, -0.0139330775, -0.0545983985, 0.0007413164, 0.0062924949, 0.0253040437, -0.0193102174, 0.0114837363, 0.0325233154, -0.0032616509, -0.0292451605, -0.0608976148, -0.0273990855, 0.0313918665, 0.0162165854, 0.0041295062, 0.0321402363, 0.0524449721, 0.0434746705, -0.0484267846, 0.0285005271, 1.984312984e-34, 0.0049391706, -0.0041392683, -0.0366572104, -0.0060506854, 0.001471985, -0.0390347838, -0.0165977329, 0.0206624698, 0.044944644, -0.064753145, -0.0192796718 ]
http://arxiv.org/abs/2310.15100v1
http://arxiv.org/pdf/2310.15100v1
LLM-in-the-loop: Leveraging Large Language Model for Thematic Analysis
2023-10-23T17:05:59
2023-10-23T17:05:59
Shih-Chieh Dai, Aiping Xiong, Lun-Wei Ku
cs.CL
cs.CL
Thematic analysis (TA) has been widely used for analyzing qualitative data in many disciplines and fields. To ensure reliable analysis, the same piece of data is typically assigned to at least two human coders. Moreover, to produce meaningful and useful analysis, human coders develop and deepen their data interpretation and coding over multiple iterations, making TA labor-intensive and time-consuming. Recently the emerging field of large language models (LLMs) research has shown that LLMs have the potential replicate human-like behavior in various tasks: in particular, LLMs outperform crowd workers on text-annotation tasks, suggesting an opportunity to leverage LLMs on TA. We propose a human-LLM collaboration framework (i.e., LLM-in-the-loop) to conduct TA with in-context learning (ICL). This framework provides the prompt to frame discussions with a LLM (e.g., GPT-3.5) to generate the final codebook for TA. We demonstrate the utility of this framework using survey datasets on the aspects of the music listening experience and the usage of a password manager. Results of the two case studies show that the proposed framework yields similar coding quality to that of human coders but reduces TA's labor and time demands.
[ 0.0590128154, 0.0656982586, -0.0239447877, 0.032105267, -0.0101208296, 0.0299268328, -0.0018705991, -0.0309553854, -0.0286189243, 0.0053084255, -0.0479714498, 0.0230586305, -0.0086693782, 0.0097877001, 0.0152188223, -0.0113879293, -0.0118779587, -0.0394167416, 0.0359555297, 0.0176102687, 0.0171740893, 0.0279523935, 0.0017469492, 0.0605175346, 0.0062020323, -0.0051785, -0.0298529267, 0.0068273139, 0.0101842238, -0.0541630983, 0.0060673621, 0.0633270293, 0.0453006476, 0.0470761359, 0.0000021234, -0.0331068113, 0.013481251, 0.0134081366, 0.0173804127, -0.0080095232, 0.0445680544, 0.0275918134, -0.0105043678, 0.0284763724, -0.0473079197, 0.0026197017, 0.053322006, -0.0105696758, 0.0639391914, 0.0153500363, -0.0104288403, -0.0382459685, -0.0308170822, -0.0194050744, -0.0041911709, -0.0218333155, 0.002745105, 0.0058421055, 0.0386547297, 0.0418073572, 0.0208035503, 0.0370540246, 0.0190986246, -0.0092089335, 0.0568586327, 0.0163700972, -0.0630680099, -0.042174127, 0.0098502906, 0.0620235987, 0.0655295327, -0.0068473932, 0.0066878237, 0.0109635005, 0.0140583441, 0.0212110337, -0.0492300391, 0.0295791626, 0.0060047614, 0.0185425635, -0.0308559593, 0.0174533091, 0.0287509989, -0.0018824763, 0.0108550852, 0.0333232917, -0.0270123444, -0.032586664, 0.0147078345, 0.0302823, 0.0132627394, -0.0348949581, -0.0054894923, 0.0083214706, -0.0524586104, 0.0031192945, 0.0155949732, -0.0209123846, 0.0238119569, -0.043265529, 0.0350591503, 0.0071206, -0.0050820457, 0.035204988, 0.0299666133, -0.0313581713, 0.0068325549, -0.0122509804, -0.0184844378, -0.0171581563, -0.0730684847, -0.0133079542, 0.0100951428, 0.0055219396, 0.0012035799, 0.0058470373, -0.018715797, 0.0315458961, -0.0180425029, 0.0238055997, -0.0449189246, -0.0144611336, 0.0008442544, 0.0053577474, 0.0096848933, 0.0129547054, -0.0322974101, 0.0687553734, 0.0028452335, -0.0155050373, 0.0655012205, 0.0146833919, -0.002553365, -0.0029015266, 0.0179362372, 0.0059577581, 0.009839341, 0.0115695847, -0.0743955523, -0.0368855186, 0.0135545917, -0.0256270543, -0.0252951849, -0.0907544717, 0.0328103192, 0.0289520249, -0.0108940266, -0.0387909673, -0.0030128753, 0.0257758424, -0.0165135767, 0.0739787295, -0.0362764336, 0.0419620238, 0.0542668849, 0.0398151614, 0.0271155555, 0.0691982657, 0.0500590801, 0.0357857011, 0.0179807227, -0.0453683473, 0.0036103989, 0.064113155, -0.018724069, 0.0082648136, -0.0238779616, 0.0017087257, -0.0051121255, 0.022727685, 0.0199055113, 0.0634420961, -0.0207362082, 0.0627280623, 0.0823217779, 0.1110742763, 0.022979755, 0.0398110598, 0.0088882353, 0.0206433386, -0.0030625167, -0.0513813756, 0.011898133, 0.0129576586, 0.0163706075, -0.0151141398, 0.0585295409, -0.0266525429, -0.0154620772, -0.0219515283, -0.0154313548, 0.0076058744, 0.015085537, 0.0385778025, 0.018187141, -0.0250677131, -0.0021784957, -0.0190044343, 0.0029662941, -0.0740958229, 0.0192584042, -0.0466583818, 0.0637537539, 0.093616426, 0.0303100515, -0.0000031951, 0.049051173, -0.0449107401, 0.0289389752, 0.0302426554, 0.0084806327, -0.0472145043, -0.0619027652, -0.0287069343, -0.0422819965, -0.0023376078, -0.0209221393, 0.0156318564, 0.0112400092, -0.004708359, -0.0039557433, -0.0051762322, -0.0584749356, -0.0000277153, -0.0281866584, -0.0287239179, -0.0003070686, 0.0138342902, 0.0291257203, 0.075200282, -0.0244776942, 0.0243672971, 0.0220932495, -0.0423711203, 0.0029153554, 0.0148823652, -0.0043138661, 0.0452537127, 0.0216437466, -0.0554270931, -0.0178547408, 0.0298900865, -0.0036941192, -0.0093694944, 0.0241972562, -0.0204483233, 0.0438001305, -0.0281244367, -0.0326804146, -0.0236508735, -0.0175465364, -0.0047482685, 0.0280796587, -0.001577315, -0.0020274993, -0.0088667702, -0.0104507934, 0.0093924096, -0.0280591231, -0.0313654765, 0.0239726938, 0.0221810527, 0.055804003, 0.0447781272, 0.0063961935, -0.0519186743, -0.0307445731, -0.136553511, -0.0065829889, -0.0168365911, 0.0154103944, 0.0345554203, -0.0019088812, -0.0201490745, -0.0143103134, -0.0316293575, -0.0470789112, -0.0205981005, 0.0501988605, -0.0002585653, 0.0242677089, 0.0059125144, 0.0014666279, -0.007439306, -0.0206974894, 0.0057810866, 0.066784583, -0.0347044729, -0.0531294085, -0.0132806441, 0.0038300764, -0.0460866801, 0.0141584696, -0.0037464858, 0.0405616574, -0.0029092189, 0.0751582682, 0.025978392, -0.0089941379, 0.0487551987, 0.0449727178, -0.0075005, -0.0271042045, -0.0090336362, 0.0180145297, -0.0415907986, -0.0312322769, -0.0574601777, 0.0316823125, 0.0596453063, 0.0052951197, 0.0236159861, -0.0522037223, 0.008283738, -0.0557869934, -0.0135658346, -0.0907643959, -0.0464304723, -0.0553870536, 0.0909204707, 0.0135394912, -0.022874251, 0.0368321948, 0.0173857901, 0.0079972511, -0.03783058, -0.0513516627, -0.0537474677, 0.0527116656, -0.0707549006, 0.0005657864, -0.0150906788, -0.0277650822, -0.0007958414, 0.0066462504, 0.0062165144, -0.0630191639, 0.0191472955, -0.0680195615, -0.0190730542, -0.0153313503, -0.0353481732, -0.0051697129, -0.0319885164, -0.0893295631, -0.0093462765, 0.0056299889, -0.001597916, 0.0107630035, -0.0176371541, 0.0272522345, 0.0322020762, 0.0369254015, -0.0231953692, -0.0050801453, 0.0036212686, 0.0145833166, -0.0129750073, -0.0143051166, -0.0303722266, 0.0068120873, 0.0414990708, 0.0301027652, -0.0093657887, -0.0231383909, 0.0017011398, 0.0361179449, 0.007889661, -0.0091482429, 0.0637292787, 0.0458249003, -0.050971847, 0.022832334, 0.1108699515, 0.0221133027, -0.1104175299, -0.0047131819, -0.0314787924, 0.0342093371, 0.0185172204, 0.0002618421, -0.0837026983, -0.0229397584, 0.0226164181, 0.0795614347, -0.0030608252, -0.0440756902, 0.0125220213, -0.102407597, 0.0559932441, -0.0013077654, -0.0236883368, 0.0107472725, -0.0712979212, 0.0050595826, -0.0233429372, -0.0186639763, 0.0069532068, -0.007025437, 0.0216476899, 0.0462094396, -0.0577212013, -0.0602558181, 0.0395443626, -0.0436579436, 0.0667506531, 0.0965353921, 0.0352204144, -0.0292077158, -0.0575411096, 0.015597024, 0.0090194875, 0.015376145, 0.0182017982, 0.0050442307, 0.0027368669, -0.0009466948, -0.0064789378, 0.0920764282, -0.0862342045, -0.0221693274, 0.058478348, 0.0855209231, 0.0258260407, 0.0201320257, -0.0168086421, 0.0031899151, 0.0217514466, 0.0684677139, 0.0567622483, -0.0824949965, 0.0181321185, -0.0236812141, -0.0100250626, -0.0059651234, -0.0820296928, -0.0082400767, 0.0165438242, -0.0129964631, -0.0170758478, -0.049910482, 0.0754994303, -0.0057407613, 0.0188086145, 0.0165629052, 0.010199463, -0.0284662116, -0.0674549788, 0.042167373, -0.0389043577, 0.0527766533, -0.0473276787, -0.0307338554, -0.0103805708, -0.0094996691, 0.0056157527, 0.0106409453, -0.106124118, -0.0498369969, 0.0231071003, 0.0124380356, 0.0220718216, 0.0444803275, 0.017031448, -0.0764328167, -0.0004240706, 0.0524460413, -0.085749954, 0.0195127148, -0.0052374704, 0.0585088432, -0.0021214839, -0.0165669918, -0.0378709994, -0.0182360802, -0.007603664, 0.0191585235, -0.0499484688, -0.0210745241, 0.0268472992, 0.0024472696, 0.0463802703, -0.0441581458, -0.020707991, -0.0263836998, -0.0348123275, 0.0000389342, -0.0448992476, -0.0429998115, -0.0354862921, 0.0059760301, -0.0282960329, -0.0140972817, 0.017509602, -0.0110204658, 0.003816369, -0.0419976339, 0.0776522234, 0.0306003895, 0.0208930988, 0.0385915153, -0.0072089955, -0.0197151471, -0.0012451367, 0.0040998831, 0.0248210486, 0.0336417183, 0.0307354704, 0.004313848, 0.005403195, 0.0540086478, 0.043532379, -0.0212076213, -0.0600796081, 0.0087004062, -0.0051345299, 0.0091879489, 0.0142288124, 0.006453204, -0.0373832919, 0.0020291586, -0.0251987223, 0.0242036283, -0.0556035489, -0.0187728424, 0.0117720868, 0.0162269622, -0.0320096426, -0.0160004441, 0.0826197788, 0.0000231009, 0.0000989951, -0.0334834158, -0.0308896601, -0.038127128, 0.0137063274, 0.0260085445, 0.0154471295, -0.0403398126, -0.00177063, -0.0776614025, -0.0612687357, -0.006267936, -0.0198508222, 0.0120433616, -0.0314804316, 0.0276693758, 0.0385390073, -0.0414105728, 0.0097449608, -0.0458415784, -0.0095132096, -0.0049412968, -0.0322072245, -0.0013512465, -6.693161243e-33, -0.0064718286, -0.0744694993, 0.0370314345, 0.0049066735, -0.0191139746, -0.0024984258, -0.0392678268, 0.0318429992, 0.0248453207, 0.0030590231, -0.0056450358, -0.0051223054, 0.000609836, 0.0083342213, 0.092701517, 0.0108499266, 0.0693453923, -0.0095282923, -0.0051177866, 0.0305435434, -0.0029081416, 0.0098205414, 0.0027209823, -0.1010209024, 0.0608042032, -0.0326423533, -0.012721166, 0.0108451312, 0.0458730571, 0.0108456025, -0.0288905688, 0.0175620336, 0.0175871011, -0.0378928147, -0.0041790223, 0.0451434627, -0.0680904984, -0.0125067728, 0.0022678068, 0.0111550288, -0.0034578892, -0.0453245938, 0.0379337594, -0.0132026281, -0.0465643629, 0.0007146552, 0.0394050702, -0.0263383053, -0.0092661111, -0.0616011247, -0.0286226496, 0.0221131481, -0.0497061014, -0.0207254607, 0.0248160344, 0.0167753994, -0.0432977267, 0.0266059358, -0.0671258643, 0.0561056212, -0.007560743, -0.0306736417, 0.0566358343, 0.0130530437, -0.0051228767, 0.0485291146, -0.0046226196, -0.0101448316, -0.0463929921, 0.0080207307, 0.0031121941, 0.0409153402, 0.0224869642, 0.0746744946, 0.0029741547, -0.0020434398, -0.0185528584, 0.0356952921, -0.0264519174, -0.0019636278, 0.0227753855, 0.0425708443, -0.051401291, -0.0452386737, -0.0275864806, -0.0131170489, -0.0221053958, -0.0273101516, 0.0186247583, -0.0219767205, -0.0417156368, 0.0127926795, 0.0186502058, -0.0476510748, -0.0089401184, -0.0038432325, -0.0187713262, 0.0312886201, 0.0061202957, -0.007907073, -0.09256161, 0.0309974272, -0.0048437603, 0.0498272963, 0.0678280592, 0.0000790877, 0.0240179393, 0.0372230299, -0.0686733723, -0.0114144096, -0.0018261371, 0.0180347525, 0.0209010448, -0.0321968421, 0.0495651849, -0.0010527164, -0.0032132023, 0.0607193559, 0.0093883835, 0.0217077937, -0.0138030779, -0.0141895302, -0.0382991061, -0.0274718385, 0.0013522564, -0.0152344033, -0.0191817693, 0.0076712114, 0.0777323395, -0.0010319784, -0.0339987017, -0.0195383746, 2.962e-7, 0.02168555, 0.0474545509, -0.0247088522, -0.0360415056, 0.0293514486, 0.0434081443, -0.015408827, 0.0130564161, 0.0310226325, -0.0001052496, 0.0423092581, 0.0242700297, 0.070805721, 0.0714125633, -0.0987371504, 0.013321802, -0.0839923844, 0.0304338466, -0.0808814168, 0.0247288905, 0.0238965098, 0.0345399715, 0.012976489, -0.0160169341, -0.0074148634, -0.0448058173, 0.043747481, -0.0488124639, -0.0069108992, -0.0128554869, -0.0269647948, 0.0193334818, -0.0066267718, -0.0114666708, -0.0146105858, -0.0130000794, 0.0204023086, 0.0440993197, 0.0294974577, -0.003285513, 0.0024215952, 0.0012132933, 0.0056349691, -0.0538521037, 0.0487707108, -0.0512279682, -0.0768841058, -0.0218417998, -0.0011176077, -0.04669578, 0.0145223569, -0.0235471837, 0.0125608556, -0.0153493909, 0.0101823928, -0.0122407191, -0.0268648621, -0.0323631093, 0.0184730273, -0.015989745, -0.0380782411, -0.070115231, -0.0181532856, 0.0311751273, -0.0327446051, -0.039354559, 0.0713894665, 2.241954943e-34, 0.0290030465, 0.0053078616, -0.0086241281, 0.0430967957, 0.0451757275, 0.0189280491, -0.0298130661, 0.0127739543, 0.042705752, -0.0368538573, -0.0030666913 ]
http://arxiv.org/abs/2310.15080v3
http://arxiv.org/pdf/2310.15080v3
Federated Learning of Large Language Models with Parameter-Efficient Prompt Tuning and Adaptive Optimization
2023-10-23T16:37:59
2024-02-11T11:59:52
Tianshi Che, Ji Liu, Yang Zhou, Jiaxiang Ren, Jiwen Zhou, Victor S. Sheng, Huaiyu Dai, Dejing Dou
cs.LG
cs.LG, cs.CL, cs.DC
Federated learning (FL) is a promising paradigm to enable collaborative model training with decentralized data. However, the training process of Large Language Models (LLMs) generally incurs the update of significant parameters, which limits the applicability of FL techniques to tackle the LLMs in real scenarios. Prompt tuning can significantly reduce the number of parameters to update, but it either incurs performance degradation or low training efficiency. The straightforward utilization of prompt tuning in the FL often raises non-trivial communication costs and dramatically degrades performance. In addition, the decentralized data is generally non-Independent and Identically Distributed (non-IID), which brings client drift problems and thus poor performance. This paper proposes a Parameter-efficient prompt Tuning approach with Adaptive Optimization, i.e., FedPepTAO, to enable efficient and effective FL of LLMs. First, an efficient partial prompt tuning approach is proposed to improve performance and efficiency simultaneously. Second, a novel adaptive optimization method is developed to address the client drift problems on both the device and server sides to enhance performance further. Extensive experiments based on 10 datasets demonstrate the superb performance (up to 60.8\% in terms of accuracy) and efficiency (up to 97.59\% in terms of training time) of FedPepTAO compared with 9 baseline approaches. Our code is available at https://github.com/llm-eff/FedPepTAO.
[ 0.0160903409, 0.0638887882, -0.0067706006, 0.0124120042, -0.0334452726, 0.0047151283, 0.0781210139, -0.0076301298, 0.0102390451, -0.039942354, -0.0737186074, -0.0548095703, 0.0431731381, -0.0062154406, -0.0258408394, -0.0287435595, 0.033412002, -0.018296849, -0.0228818264, -0.0606728159, -0.0185799561, 0.0047926665, -0.0044584465, 0.0164224897, 0.0169642512, -0.0502711795, -0.021302212, 0.0147045469, -0.0105583528, -0.0066295471, 0.0479146652, 0.0689347461, 0.017965721, 0.0750095844, 0.0000021204, -0.0227850154, -0.0499760397, 0.003535463, -0.0128253633, 0.0728080645, 0.0391053595, 0.0186832957, -0.0279127993, 0.0568226539, -0.0231163315, -0.0137797389, 0.043087814, -0.0190598853, 0.0448226519, 0.0780329108, -0.0009442251, -0.0116761168, -0.0255427863, -0.0248659849, -0.1313192844, -0.0181910861, 0.0177237857, -0.0302288197, -0.0179249328, -0.0012986902, -0.0213783756, 0.0169983152, 0.011566747, 0.0303877443, -0.0050712246, -0.0074257157, -0.0400999263, -0.0327516422, -0.0667528212, 0.0640874133, 0.0046854848, -0.0062717451, 0.021104753, -0.0373931862, -0.0409121923, 0.0399571806, -0.0077485382, -0.0165749192, -0.0111626061, 0.0240080059, -0.0265126899, -0.0417647585, 0.0259919725, 0.0080604479, -0.0014543078, 0.1009912193, -0.0055586863, 0.004267639, -0.0346439183, -0.0308458097, -0.0244645774, -0.0354448147, 0.0394931883, 0.0455610007, -0.0438727327, 0.0011960765, -0.0354027003, -0.0740080848, 0.0078507243, -0.0229562558, 0.0586337484, -0.0072510783, 0.0214558057, 0.031210335, -0.0138926301, -0.0080900863, -0.0019049654, 0.00254539, -0.0245473012, 0.0437134542, -0.0711402297, 0.0090975305, -0.0306238867, 0.0263211615, -0.0221299846, -0.0134091536, 0.0103043746, 0.033472769, 0.0186576284, 0.0034762935, 0.0301717594, -0.0193035696, -0.0265346933, -0.014142869, 0.0159470644, 0.0620282218, -0.0337040052, 0.0167476404, -0.0027797467, -0.0669601709, 0.0095727723, -0.00837027, 0.0018258875, 0.0241656378, -0.0068558007, 0.0141617088, 0.0077995146, -0.0021317375, -0.0145636313, -0.0249638725, 0.0399830192, -0.041118104, -0.0158559848, -0.0457725003, 0.0199400298, 0.0090187173, 0.0173311457, -0.0473005399, -0.0148401223, -0.0119498847, -0.0217884891, 0.0609459989, -0.0736983716, 0.0236399285, 0.0413949937, -0.0134405652, -0.0422393568, 0.1339142919, 0.0362152122, 0.0001701571, 0.0672537163, -0.0060369927, -0.0587505102, 0.0488612205, 0.0443868861, 0.0544670448, -0.0035990328, -0.0178514179, 0.0211528968, 0.0503306948, -0.0231273714, 0.024804173, 0.0075995931, 0.0042847241, 0.0657328442, 0.0479733273, 0.0491149016, 0.0013682361, -0.0266611073, 0.0485676564, 0.0067485766, 0.0133004412, -0.0487559885, -0.027084237, 0.0003893932, -0.0129380152, 0.0176684707, 0.076182805, -0.0410412624, -0.0298936162, -0.0172500536, -0.0331839807, -0.0590928718, 0.0259220246, 0.0186338499, -0.0147838686, -0.031917844, 0.058532998, 0.0476733446, -0.0332711078, -0.0183021277, -0.0040868721, 0.0115771843, 0.0420876257, 0.0427305102, -0.0198374353, -0.0397277251, -0.022774253, 0.0464166515, 0.0019968671, 0.0315097198, -0.0138215395, 0.0270790122, -0.0486240983, -0.0627761856, 0.083786346, -0.0133005036, 0.0168301817, -0.0293124914, 0.0086363517, -0.0260325149, 0.0228171721, -0.0310841575, 0.0172500815, 0.0019632292, -0.0006125472, 0.0230797008, 0.0365242399, 0.0354310609, -0.0041944082, -0.0055033835, -0.0249830075, 0.0123875877, -0.0090639694, -0.0214832854, -0.0081507061, -0.0174202528, -0.0153142978, 0.0295992754, 0.0559267625, 0.0237306971, 0.0305247549, -0.0616027825, -0.0401318148, -0.009940681, 0.0045234929, 0.0406299084, -0.0018718978, 0.0318188816, -0.025836762, 0.046508234, -0.0047185924, 0.0240782965, -0.0186849702, -0.0043244432, 0.0009638893, 0.0232909694, 0.0376706049, -0.0313283131, 0.046921581, 0.0341111124, 0.0221022684, 0.0145455925, 0.0029419896, 0.0127981976, -0.0036780369, 0.0093106134, -0.0297247749, 0.0234399531, -0.0690893009, 0.0330404863, 0.0235135034, 0.0268380549, -0.0305843577, -0.0639444739, 0.0000201649, 0.0550581999, -0.0438714437, 0.0298543479, -0.0245259069, 0.0098979324, -0.0584307425, 0.0041965898, -0.014900825, 0.0134109044, 0.0270242188, 0.0107883224, -0.0319409333, -0.0997194573, -0.0161519125, -0.0617812239, 0.032961119, 0.015775485, -0.0061169141, -0.0076298011, 0.027358193, 0.0110239116, 0.0329262018, 0.0012647841, -0.0210039709, 0.0388158299, 0.0309499744, -0.065681912, -0.001269882, -0.0275153406, -0.0373869874, -0.028086029, 0.0136505999, 0.0332532674, 0.0593513884, -0.0274599679, -0.0211480465, -0.0422921367, 0.0249576382, -0.0184865817, -0.0201871395, -0.083392784, 0.031502258, -0.019712083, 0.0259746853, 0.0273459498, -0.0751098096, 0.0577618033, -0.0299936906, 0.0184192155, -0.0679331422, -0.0361941978, -0.0434229076, 0.019586537, -0.0107991835, 0.0280807167, 0.0079917377, -0.0553441308, -0.0200694259, 0.0212315712, 0.0411076248, -0.0171567276, -0.0291915182, -0.0071050772, 0.0121750133, -0.0321056992, -0.0621833801, 0.0162706003, -0.0704392046, -0.0451460965, 0.0049055419, -0.0166785698, -0.0180030856, 0.0031863181, 0.0356046595, -0.0271274485, 0.0452993475, -0.0344105847, 0.022791123, -0.0332657807, 0.0067219827, 0.0254273117, -0.0163751673, -0.018615583, -0.0249471217, 0.0206547063, 0.0372864418, 0.0957448334, -0.0317604616, -0.0039319997, -0.0150341773, 0.0348559134, -0.0501638465, -0.0294989906, 0.00965825, 0.0463835374, -0.0215322841, 0.0130377552, 0.0988970324, 0.0109576425, -0.0911474228, -0.0063095866, -0.038890224, 0.0771566406, -0.0001600515, 0.0101930723, -0.0440234132, -0.0344400071, 0.0337285586, 0.068320252, 0.0282509252, -0.0167910662, -0.0507242717, -0.0863583386, 0.0064686108, 0.0193950813, -0.0286763888, -0.0173003003, -0.0658022389, 0.0072405301, 0.0184601229, 0.0500055701, 0.030359054, 0.012710535, -0.0018157297, 0.0431559347, -0.0471561253, -0.061099112, -0.0233331397, -0.041649878, 0.0752276778, 0.0217346121, -0.0030774074, 0.0208556, -0.0510042831, 0.0062800325, 0.0258410517, -0.0308067035, -0.0517136902, -0.0196010396, -0.0294621754, -0.0029350042, 0.0198698323, 0.0295857266, 0.0088582123, 0.0169373658, 0.0295169149, 0.075270921, 0.0002358539, 0.0268977657, 0.0183260702, 0.0004191735, 0.0612558499, 0.0195511915, 0.0138880368, -0.0373889431, -0.0217945911, 0.025897311, -0.0173401721, 0.0146993529, 0.0361974612, 0.0276153926, -0.0317101404, -0.0021456075, -0.0536602214, 0.0196395703, 0.0166282635, 0.02813573, 0.0297244787, 0.0714061484, 0.0271707345, 0.0163656734, -0.0190646145, 0.0192090441, -0.0269694179, 0.0245070476, -0.0874936059, -0.0294007491, 0.0263762251, -0.004129854, -0.0002349225, 0.031551525, -0.0850351155, -0.0853191987, 0.0195615254, -0.006387658, 0.0136341937, 0.0566146597, -0.0257100631, -0.0967663303, 0.040944837, 0.0177243371, -0.0376650691, 0.0236148257, 0.033059746, -0.0206994638, 0.0007016111, 0.0522891805, -0.0580806807, 0.0024708516, 0.0291184876, 0.0128235715, 0.0134983342, -0.0729813799, -0.0220983066, 0.0476207621, 0.0623407587, -0.0319804363, -0.0263771694, -0.0206326507, 0.0684798434, 0.0275112763, 0.0200125687, -0.0250729378, 0.03476597, -0.0249871276, -0.0381278507, 0.0060266121, -0.0100492593, 0.0478960052, -0.0200007185, -0.0053055575, 0.0221088715, -0.0067995382, -0.0283653662, 0.0667659119, 0.0100710252, 0.0127181886, 0.026695678, 0.0351561159, 0.0303574745, -0.0445473492, 0.0513453819, 0.0054210396, 0.0238981862, -0.0571174994, 0.0342835672, -0.0519132689, -0.1107729003, -0.0017970502, 0.0470771901, 0.0466337316, 0.0506194532, 0.0103232926, -0.0332706794, -0.0038244652, -0.0385502316, 0.0236956589, -0.0401225947, -0.0289667696, 0.0523836017, -0.0041866903, -0.0170996245, 0.095928818, 0.08387281, -0.0002935196, 0.0295386352, -0.0369736701, 0.022156734, -0.055461891, 0.0189122297, 0.0245322026, 0.0231191274, -0.0701918527, 0.0016255028, 0.0068919561, -0.0359325781, 0.011449256, -0.0094975587, -0.0058517917, -0.0309808291, 0.0353278667, 0.0302048586, -0.0147957504, 0.017745357, -0.0680002719, 0.0126399724, 0.0006478942, 0.0096945567, 0.0202863328, -6.612958733e-33, -0.02111689, 0.0183344409, -0.0055296947, 0.0243627951, -0.0296337754, -0.0035171197, 0.0103281923, -0.0137208328, 0.0225318111, -0.0154413451, -0.0615734123, 0.0175221637, 0.0435900986, 0.0158398356, -0.0151381595, -0.0212538838, 0.048879467, -0.0582865328, -0.0581525378, 0.0197049025, 0.0621326268, 0.0674815252, 0.0260029193, 0.0031941789, -0.0047089071, -0.025656987, 0.0091211013, 0.0321950018, -0.0214233045, 0.0072921668, -0.0025674989, 0.0244703256, -0.0109325564, -0.0349626914, -0.0368085317, 0.0059895408, -0.0448720492, 0.018300999, -0.0241220277, 0.0599179082, -0.0347566046, 0.0054023485, 0.0320615098, -0.0000393528, -0.0363153368, 0.002778461, 0.0167966336, 0.0023584077, -0.082275413, 0.0056766281, 0.0104227122, 0.0158292204, 0.0306881294, -0.0027848936, 0.0200986583, 0.0363358594, -0.0143592646, -0.0234590378, -0.0624945648, 0.005052533, 0.0209167507, 0.0343839005, 0.0338077322, 0.0480487235, 0.0091505414, 0.0223527569, 0.0621077567, -0.009413694, -0.0012086402, 0.0112025505, 0.0226680934, 0.0141588347, -0.0012233972, 0.0150256436, -0.0281900801, -0.0498550497, -0.0355973579, -0.0147073474, 0.0853637978, -0.0274490844, 0.0053865691, 0.0102362679, -0.0208364632, -0.0319116898, -0.0335389711, -0.0167139601, -0.0015990373, -0.0245449953, 0.0130158942, 0.0075931158, -0.0250667334, -0.0568836108, 0.0459371544, -0.0322422013, -0.0195815675, -0.0079595828, 0.0552864447, 0.0177550521, 0.0116273975, 0.0352219529, -0.0727516338, -0.0244658515, -0.0462165438, -0.0135583617, 0.0143519789, -0.0143310698, 0.0403319933, 0.0489330031, -0.0454751626, 0.010817905, -0.0096360892, 0.0132576395, -0.0065140664, 0.0303431079, 0.0668940991, -0.0418057442, 0.0125261461, 0.0457634889, 0.0044025742, -0.0197889023, 0.0003727968, -0.0319471657, 0.0013726394, 0.0215797201, -0.0186760835, 0.0101544829, -0.0518693775, 0.0227676593, 0.0369220152, -0.0166952647, -0.0102257039, -0.0413502976, 2.879e-7, -0.0096919676, 0.0376287773, -0.0234419424, -0.0425424762, 0.0366500691, 0.0131224245, -0.056509871, 0.0383408852, 0.0092946384, 0.0226951204, 0.0102368714, -0.0082185306, 0.0586735494, -0.0140712522, -0.0877748802, -0.0209652372, -0.0921606198, 0.0947773531, -0.0348463804, -0.0411869101, -0.0526058413, 0.0606479533, 0.0251702331, -0.0256868564, 0.0093835928, 0.0163068697, 0.0273697712, -0.0230057649, -0.0446702279, 0.0049151517, 0.0378523208, 0.0366048813, -0.0188535731, -0.0193717871, -0.0195479896, 0.0426596217, -0.0381538756, 0.0492172763, 0.0320628174, 0.037936192, 0.0100212554, -0.0159804933, -0.0367389843, 0.0049960357, 0.0716642141, -0.0070348955, -0.0190023687, -0.0212677512, 0.0502051041, -0.0496996455, 0.0445151068, -0.0181031823, -0.0190758817, 0.0229744054, 0.0107795186, -0.025708938, -0.0288146827, -0.0748320669, 0.012456622, -0.0265011285, -0.0354735069, -0.0605507828, -0.0442616716, 0.0226817429, 0.0182361715, -0.0405817851, 0.0137418425, 2.54422482e-34, 0.0345162079, -0.0453608111, 0.0009507012, 0.0399747938, -0.0188753493, -0.0677340403, 0.044783581, 0.0270581637, 0.0225294083, -0.0391425602, 0.0102546588 ]
http://arxiv.org/abs/2310.15079v1
http://arxiv.org/pdf/2310.15079v1
Affective and Dynamic Beam Search for Story Generation
2023-10-23T16:37:14
2023-10-23T16:37:14
Tenghao Huang, Ehsan Qasemi, Bangzheng Li, He Wang, Faeze Brahman, Muhao Chen, Snigdha Chaturvedi
cs.CL
cs.CL, cs.AI, cs.LG
Storytelling's captivating potential makes it a fascinating research area, with implications for entertainment, education, therapy, and cognitive studies. In this paper, we propose Affective Story Generator (AffGen) for generating interesting narratives. AffGen introduces "intriguing twists" in narratives by employing two novel techniques-Dynamic Beam Sizing and Affective Reranking. Dynamic Beam Sizing encourages less predictable, more captivating word choices using a contextual multi-arm bandit model. Affective Reranking prioritizes sentence candidates based on affect intensity. Our empirical evaluations, both automatic and human, demonstrate AffGen's superior performance over existing baselines in generating affectively charged and interesting narratives. Our ablation study and analysis provide insights into the strengths and weaknesses of AffGen.
[ 0.045730181, 0.0052280617, -0.0290615838, -0.0013162763, -0.0272595268, -0.010525303, -0.0145343933, -0.004117392, 0.0031812768, 0.0071918452, 0.0050952295, 0.001012024, -0.0166104734, 0.0964543074, -0.0177839473, -0.0849578008, -0.0049701044, 0.0151456119, 0.0624339059, 0.0169472564, -0.0235363338, 0.0157963187, -0.0114507945, 0.0184977334, 0.0234546699, 0.0433098152, -0.0030200731, 0.013183767, 0.0569163486, -0.0893346146, -0.0138662038, -0.0119377561, 0.0242164247, -0.0055765305, 0.0000018974, -0.056659244, -0.0231809914, -0.0355459005, 0.0229799543, -0.015255197, 0.0821860731, 0.0512011722, 0.0118244812, 0.0010618565, -0.0274913628, 0.0092515275, 0.0448972061, 0.0548758283, 0.0152549697, 0.0663346797, -0.0054903934, -0.0166667495, 0.005144875, -0.0235079341, 0.0785244107, -0.0171741471, -0.0061758542, -0.0256193038, 0.0493627004, -0.0303497855, -0.0410410278, -0.0151073113, 0.0151483295, 0.0143721094, 0.0484421551, 0.0703738555, -0.0298633035, 0.012767951, -0.0076594418, 0.0420530625, -0.0220944043, 0.0168744251, 0.024548972, -0.0436583757, 0.0253035463, -0.0180295706, -0.0467310958, 0.0427773446, -0.0068500973, 0.013338929, 0.0186557397, 0.0671024844, 0.0116666285, -0.005644415, 0.0675199851, 0.0114392564, 0.0203893073, -0.0143232755, -0.0214403886, -0.0101779271, -0.0222529843, -0.0629412308, 0.0476309396, 0.0054746671, -0.009571841, 0.0238268804, -0.0273687579, 0.0215694401, -0.0134804761, -0.0286140107, 0.0109632509, 0.0098823924, 0.0105308434, 0.0049928287, 0.0102711525, 0.0313756168, 0.0433728769, -0.0526906326, -0.0594755001, 0.0624698661, -0.0168332197, 0.0197091717, -0.0136526981, 0.0385247171, -0.057657823, -0.0612564906, -0.0663959309, -0.0104445592, 0.0206178688, -0.0201693177, -0.0479248427, 0.0556019619, -0.0332595073, 0.0196722616, -0.0295904186, 0.0040061679, -0.0526222289, -0.0179250222, 0.0373637863, 0.0261670258, -0.0201340411, 0.0161613449, 0.0113472687, -0.0575998463, 0.0294601806, 0.0317846201, -0.0094104093, -0.0544081889, -0.0352825671, -0.0344109423, -0.0225956421, -0.0044635641, -0.0069225733, -0.0406572074, 0.0301679596, -0.0134863593, 0.0087561645, -0.0012293966, 0.0346480608, 0.0136860302, -0.0172091257, -0.0049382481, 0.0203225389, -0.02422552, 0.0171717256, 0.0102025149, 0.0015224998, -0.0156917125, 0.0738873333, 0.1228606254, 0.0544515513, 0.0422667786, 0.0694517195, -0.032593634, -0.0323051251, -0.0087268855, 0.0549895465, -0.032839559, -0.0130809685, 0.0974255577, 0.0170483794, -0.00076681, -0.0628622472, 0.0255364142, 0.0635563582, 0.0167869832, 0.0234463271, 0.0248297565, 0.0551385991, -0.004114463, -0.0450395793, 0.0635259971, 0.0058346638, 0.0546245649, -0.0192530956, -0.007325836, 0.0071704378, 0.0416413248, 0.0072691054, -0.0250935778, 0.0211878289, 0.019805586, 0.0178803094, -0.0046642432, -0.0237163696, 0.0162530821, -0.0650553852, -0.0281504951, 0.0398895219, -0.0738816112, 0.0263026766, -0.0116775418, 0.0053888154, 0.0796721876, 0.0853673816, -0.0268242378, -0.0173501968, -0.0080537619, -0.0137746548, 0.0280558765, 0.0130438218, -0.0099032633, 0.0263033658, -0.0456601121, 0.019480437, -0.0476395302, -0.0069024116, 0.0241648071, -0.0222073104, 0.0220160019, -0.0203636605, -0.0173688233, -0.0434910245, 0.0362043977, -0.0674993545, -0.0443961211, 0.0278749075, -0.0220404174, -0.043871142, -0.0205454938, -0.0235042293, 0.0069080233, 0.0258208029, 0.0059688496, -0.0282519832, 0.0511000343, -0.0500797816, -0.0412113518, -0.032229647, -0.0805775151, 0.0419654213, -0.0560046844, 0.0128162894, -0.0152501231, 0.0570589602, -0.0530953035, -0.0098492829, -0.0185935237, 0.0220989641, 0.0096708396, 0.0201973487, -0.0466561578, 0.0788105056, -0.0029626875, 0.0321322381, -0.036876224, -0.027803855, -0.0106673455, -0.0607560091, 0.007022108, 0.0130713508, 0.0239528436, -0.0262229983, 0.0343992151, -0.0121523142, -0.0270513948, -0.0726018623, -0.0577681735, -0.0010889292, 0.0488996804, -0.0328054838, 0.0114481319, 0.0124808373, -0.0349174701, 0.0167389642, -0.0381701775, -0.0460568517, 0.0121922046, -0.0235499348, 0.0143737271, 0.0391223691, -0.0038166444, -0.0424875543, 0.0033724119, -0.0162798874, 0.0455805212, 0.058585085, 0.0236444958, -0.0442781672, 0.0144085372, -0.0303172525, -0.0250250585, -0.0273821838, -0.0157209374, -0.0015591116, 0.0302908197, 0.0477630533, 0.0777835175, 0.033708889, 0.0627180412, 0.0581436716, -0.0411129445, -0.0099316826, 0.0124993343, -0.0123643456, 0.0486250594, -0.0087697348, -0.0797071233, 0.0239226539, 0.0469876155, 0.050496202, 0.0262480006, -0.0300189015, 0.0133517655, 0.0257727057, -0.0501713827, -0.0026549459, -0.0372253098, -0.0332918949, 0.0386537723, -0.0030041079, -0.0145166786, 0.1083451957, 0.0209480915, 0.0165607668, -0.0522859953, 0.0219883341, -0.0353429131, 0.0326688364, -0.016255537, 0.0389464684, 0.0171277858, 0.0041103619, -0.0481121913, -0.03646354, 0.0377169028, -0.0246995687, -0.0159084164, -0.0203212239, -0.0604361892, 0.0410245024, -0.0334739685, -0.0318553671, -0.0703417137, 0.020359315, -0.0236288421, 0.0585963391, -0.0157386661, -0.0717618912, -0.0255711712, 0.0577914454, -0.0109032197, -0.0062947064, -0.04364077, 0.0128601072, 0.0718289688, 0.0628242344, -0.0308866128, 0.0564009994, -0.0380144194, 0.0092353029, 0.0065294858, 0.0228668377, -0.004412102, 0.0364931002, 0.0313043185, -0.0072725709, -0.0439584479, -0.0301765483, 0.0056570517, 0.0119623588, -0.0233404972, -0.0186779946, 0.0659683123, 0.049593363, 0.0046636509, 0.0492689312, -0.0005029662, 0.0329522081, 0.0007502834, 0.0503255911, -0.0426614434, -0.0020484629, 0.0096976319, 0.041134648, -0.0466657802, -0.060392715, -0.0394555442, -0.0866781399, 0.0509204455, 0.0195252299, 0.0424190275, -0.0009200937, 0.0085751032, -0.0201293491, 0.0089202821, -0.0580802634, 0.0284232367, -0.0223665107, 0.051080592, -0.032184232, 0.0036077891, 0.0027968802, 0.0256201029, -0.0301023237, 0.0301947258, 0.055003088, 0.0775472298, 0.0139977979, -0.0116791362, -0.0977553353, 0.0351774991, 0.0147118252, 0.0059401407, 0.0439428911, -0.0176447071, 0.0102634653, -0.0556451418, 0.0514553376, 0.0380966961, -0.0622736551, 0.0079993298, 0.0399335362, -0.0210286845, -0.0363135263, -0.0102691362, 0.031265717, 0.0320424512, 0.0645956248, 0.0140031343, -0.0512646176, -0.0016883153, -0.0205755588, 0.0332058258, -0.0755807832, -0.0333921164, -0.0305626076, -0.0107466783, 0.0364120156, -0.1065308526, -0.0334810875, -0.009498002, 0.0625257865, -0.0185358115, -0.0013876359, -0.0661798418, 0.0098861232, -0.0188428257, -0.0099784471, 0.0131221227, -0.0031504554, 0.0238050446, 0.0025249252, 0.006194626, -0.096144259, -0.0243202876, 0.061734885, -0.0362636149, -0.0247198995, 0.0266408976, 0.011461514, 0.0190177821, -0.0104407156, 0.0338812955, -0.043733336, 0.0162925068, 0.0078060585, -0.0103491079, 0.0548230037, -0.0250091832, 0.051820837, 0.0024418917, -0.025461195, -0.0154073136, -0.0113021396, 0.0184759796, 0.0521099642, 0.0123959742, 0.0037084364, -0.0120305046, 0.0234141219, -0.0241101533, -0.0970332623, -0.0435881168, -0.0568583794, -0.0296831205, -0.0140937697, -0.0026120371, -0.0279609356, 0.0090236226, 0.0003750294, 0.0239306353, -0.0391380452, -0.0028353869, -0.061592292, -0.0257734638, -0.0893756151, -0.0006983039, 0.0407376401, -0.057692606, 0.0135559905, 0.0295646582, 0.0128539605, 0.0384606048, -0.0239856448, 0.0790035203, -0.021258371, 0.0137334066, 0.0147056263, -0.0350567177, 0.0004307071, 0.0331451632, -0.062283691, 0.0414921008, -0.0383506641, 0.0275274459, 0.0271853283, -0.0062300535, 0.0197496936, -0.0146921566, 0.033762753, 0.01122972, -0.0388052203, -0.033896476, -0.0603541471, -0.0486456305, 0.031604819, -0.0046831435, 0.0301985461, 0.0676499158, -0.0541569106, 0.0443895422, 0.0163387116, -0.0117200455, -0.0272041988, -0.0043650493, 0.052148398, 0.064727217, 0.0195387173, -0.0124253361, -0.0723808184, 0.0248642396, 0.0737353191, -0.007439191, 0.0216280837, -0.0615165941, 0.0388723537, 0.0250518937, -0.0115849152, 0.0110325189, -0.0520602986, 0.0032530834, -0.0327011272, -0.0227019452, -0.0355629995, -5.626951133e-33, -0.0099452361, -0.0157414339, -0.0010590557, 0.0263372082, -0.0719204843, -0.0110143824, -0.0295115579, 0.0159204192, 0.035200987, 0.0292145107, -0.0044371509, 0.0058551403, 0.0002449626, 0.0007976887, -0.0206180885, 0.0070715118, 0.0109717939, 0.0262069888, -0.0673397556, 0.0293786786, 0.0253410526, 0.0371128954, 0.0134438481, -0.0482367873, -0.0062560411, -0.0026450483, -0.0390290208, -0.0251060687, 0.0497785732, 0.0286506489, -0.0104621872, 0.0321737714, -0.0042483024, -0.0431136861, -0.0134306233, -0.0499259718, 0.0150711238, -0.0353315361, 0.0045334836, -0.0538162515, -0.0080340561, -0.0419953316, 0.012289335, -0.0106937615, -0.0473825224, -0.0028658595, 0.0292381588, -0.0074564484, -0.0098747136, -0.0374757573, -0.0338001288, 0.0051077604, -0.0109439613, -0.0435248539, -0.0354997888, 0.0103725009, 0.0307672303, 0.0136397658, -0.0053417855, 0.0700410083, 0.0237972476, 0.0336264744, -0.0264713708, -0.0185543709, -0.0186783522, 0.0760476589, 0.0506821051, -0.0078643914, -0.0007042904, 0.0693345964, -0.0165935252, 0.0239691772, 0.0600502789, 0.0596772656, 0.0235667191, 0.0021366181, -0.0181797966, 0.0682485923, 0.0366279148, -0.0097661167, 0.0626052022, 0.0293177869, -0.0039098342, -0.0266663618, -0.0200114679, -0.0292514283, -0.0133446855, -0.0440913439, 0.0051290807, 0.0237013977, 0.0026636771, -0.0063575413, -0.0143117122, -0.0118029714, 0.0394284427, 0.0212366134, -0.0591441579, 0.0468235463, -0.0050282502, -0.0044522476, 0.0121655473, 0.0261551496, 0.0750381052, 0.0329183899, 0.0376973487, -0.0143653061, -0.0399535894, 0.0337854326, -0.0222612787, 0.0171442609, 0.0017389078, 0.0274803713, 0.0008852612, -0.0383928195, -0.0216921419, -0.0119130407, -0.0223146453, -0.0476921573, 0.0374202952, 0.027032055, -0.039720837, -0.0589411594, -0.025137404, 0.0524616502, -0.0187320597, 0.0443036519, -0.0020091701, -0.0377287865, -0.0230786446, -0.0404949971, -0.0338399112, 0.0028148114, 2.731e-7, -0.0444499217, 0.0411911123, 0.0042362497, 0.0047679492, 0.0054430026, 0.0351939388, 0.0060691987, 0.018254159, 0.0276628546, -0.0371733196, 0.0202985201, 0.0093720919, 0.0110084293, 0.0246875938, -0.0579782538, 0.051303152, -0.0594693087, 0.026199054, -0.0221588016, -0.0523617305, 0.0734545663, -0.0038248745, 0.0314483866, -0.009667106, 0.0266456287, -0.0187718198, 0.0293678697, 0.004357575, -0.0353453234, 0.026322322, -0.0435714275, -0.0104229227, -0.0444304682, -0.0529391617, -0.0291737523, 0.004048977, 0.0250221826, 0.0039925366, -0.0219817199, -0.0563399978, 0.0251062457, 0.0268845297, -0.0283899177, -0.0129762385, 0.0234697405, -0.0250925142, -0.0067290468, 0.0068857502, -0.0019752723, 0.0077955872, 0.018029036, -0.0580842644, -0.0277357865, 0.0296567604, 0.0123159662, 0.0521247499, -0.011324835, -0.0464211814, -0.027218258, 0.0224195924, -0.028266523, -0.008071458, -0.0426244661, 0.0211950932, -0.0345818549, -0.0815547034, 0.0033996599, 2.615166134e-34, 0.0227753092, 0.0219214484, -0.0283426866, -0.0255957562, 0.0513795242, 0.040058326, -0.0389935076, -0.0106425444, 0.0557712391, -0.0492365398, -0.0419477038 ]
http://arxiv.org/abs/2310.15077v1
http://arxiv.org/pdf/2310.15077v1
'Don't Get Too Technical with Me': A Discourse Structure-Based Framework for Science Journalism
2023-10-23T16:35:05
2023-10-23T16:35:05
Ronald Cardenas, Bingsheng Yao, Dakuo Wang, Yufang Hou
cs.CL
cs.CL
Science journalism refers to the task of reporting technical findings of a scientific paper as a less technical news article to the general public audience. We aim to design an automated system to support this real-world task (i.e., automatic science journalism) by 1) introducing a newly-constructed and real-world dataset (SciTechNews), with tuples of a publicly-available scientific paper, its corresponding news article, and an expert-written short summary snippet; 2) proposing a novel technical framework that integrates a paper's discourse structure with its metadata to guide generation; and, 3) demonstrating with extensive automatic and human experiments that our framework outperforms other baseline methods (e.g. Alpaca and ChatGPT) in elaborating a content plan meaningful for the target audience, simplifying the information selected, and producing a coherent final report in a layman's style.
[ 0.0371975675, -0.0078920396, 0.0025427372, -0.0438816287, -0.0164044518, -0.0187229197, 0.0056186868, -0.0102229146, -0.0288916733, -0.0445465557, 0.0055900067, 0.0712573081, 0.0005213189, 0.0694534183, -0.0022721596, -0.0780384839, 0.0025458999, 0.0039329021, 0.0504753813, -0.019456815, 0.0243240055, 0.0163268335, -0.0098482333, 0.0056500072, 0.0215340909, -0.0185811389, 0.0055088634, 0.009863737, 0.0249755587, -0.0538980551, 0.0192847662, 0.0565062612, 0.0196129549, 0.02608083, 0.0000016994, -0.0475663468, 0.0007735486, 0.0466697402, 0.0211235713, 0.0503144525, 0.0254130643, -0.0301359091, 0.0069015129, -0.0095529603, -0.019526558, -0.0017608105, 0.0314211138, 0.0066785677, 0.0429118164, 0.0375629961, -0.0042571393, -0.0344399139, 0.0180129651, 0.0211457759, -0.0073864362, 0.0067476793, 0.0024774801, 0.0749330297, 0.058421161, 0.072729364, 0.0644472092, 0.0604796819, 0.0015792636, -0.0628436878, 0.017333148, 0.0465068705, 0.0103214141, -0.0100406352, -0.0076002888, 0.0465457328, 0.093079403, -0.0582637265, 0.0711488798, 0.0010464486, -0.0197733156, 0.0318868682, -0.0896995813, 0.0239156187, -0.011723862, -0.0351134613, 0.0114111397, -0.0155677451, -0.0178313702, 0.0401266925, 0.0446246229, 0.0502862483, 0.0084414575, -0.0182060599, -0.0489707664, -0.0060510268, 0.0533604324, -0.0903466195, 0.0143940346, 0.0511542074, -0.0078148479, -0.0017800779, 0.0007794927, -0.0523757748, 0.0460004471, -0.0551243313, 0.0128474813, 0.0006219684, 0.0173811428, 0.010452277, 0.0075100926, -0.0366848782, -0.0282566864, 0.0057684858, 0.018456243, 0.0151553983, -0.0611477569, -0.0469597727, -0.0128986249, 0.0373441577, -0.0331235193, -0.0229439922, -0.0050384211, 0.0060347975, 0.0238282848, -0.0015572219, 0.0118974, 0.024884481, -0.0841367617, -0.0292448811, 0.0017610264, 0.0306282882, -0.0346152261, -0.0023331544, 0.0289289858, 0.0251961257, -0.0167428441, 0.0439790301, 0.0053183283, 0.0432768874, -0.0381952003, 0.019240424, -0.0154997492, 0.0224310774, 0.0117360558, -0.0727909505, 0.0235074367, -0.0457661189, 0.0121295732, -0.0459698774, 0.0368949398, 0.0349790975, -0.0175735671, -0.0736871511, -0.0215665605, 0.0269799381, -0.0107617239, 0.011235619, -0.0798329338, -0.0145623544, 0.076913543, 0.0256178789, 0.0212696586, 0.0342418179, 0.021364579, 0.0030293907, 0.0255487915, 0.0009331318, 0.0362944193, -0.0484801531, 0.0202229954, -0.0062563797, -0.0045250971, 0.0242278371, -0.0386251472, 0.0440947525, 0.0104982639, 0.0266229268, -0.0265437141, 0.0493576452, 0.0129192006, 0.0279487967, -0.0027490323, 0.0173316319, 0.0448921025, 0.0311817769, 0.0197665617, 0.0405602753, 0.0354462452, 0.064500615, -0.0220024753, 0.0288634636, 0.0261212196, 0.0226531792, -0.0129797654, -0.0242992491, -0.0038283917, 0.0158876218, 0.0317772068, -0.0449965894, 0.0020174156, 0.0269528851, -0.0061270553, 0.033605054, 0.0563468225, 0.0126207042, 0.0186072495, 0.0042063105, 0.0554451942, -0.0245724618, 0.0428773426, -0.0117439087, -0.0232706927, 0.0025628463, 0.0560459271, 0.0648683608, 0.0212648734, -0.0361810513, -0.0745245516, -0.0241423976, -0.0276586413, -0.0637343004, 0.0116041387, 0.0011265472, 0.0140014924, -0.0206719525, 0.0214256942, 0.0319186561, -0.0776942074, 0.0285097845, -0.0702520907, 0.0039294222, -0.0112776374, -0.0442923084, 0.026562931, 0.0158711262, -0.0086134514, 0.0450235121, 0.0394589864, 0.0024496634, -0.0112846531, 0.0255527068, 0.0383789465, 0.0257930122, -0.0035340982, -0.1019402519, 0.0016388732, -0.0140050156, -0.0085834572, -0.0340723619, 0.0238999315, -0.0562063381, -0.0396578796, -0.004525993, -0.0328369401, 0.01511834, -0.0177816246, -0.0067518633, 0.0150164962, 0.0363646224, 0.0226177499, 0.0473118089, -0.0659792125, -0.0126977013, -0.0324117355, 0.0226915702, 0.0098310979, 0.0174054019, -0.0258778166, 0.0598768182, -0.0335426927, -0.0023177864, -0.0040415279, -0.0441202261, -0.0104911579, -0.0011268934, 0.0080961091, 0.0627848282, -0.0287302304, 0.0025374158, 0.0050528604, 0.003416732, -0.0231255908, 0.0015602388, -0.009799459, 0.0680361018, 0.0368358865, 0.0137465196, -0.0235965196, -0.0005103814, -0.0580624491, 0.0264270678, 0.0906990021, -0.0383879133, -0.0981868878, 0.0187314413, -0.033043813, -0.0501403883, -0.0035186547, -0.0123908101, 0.019592125, 0.02662104, -0.0177051406, 0.0595660508, 0.0328264274, 0.025589617, 0.038980525, 0.0232126638, -0.0327422656, -0.0074571013, -0.0469686426, 0.0564028658, -0.0014551114, -0.0416679867, 0.0656621158, 0.0019660867, -0.0051773712, 0.0511888228, -0.0136584993, 0.0597163327, -0.0241632406, 0.027345676, 0.0700541064, -0.0365370885, 0.0292550437, 0.065853253, 0.0342171304, 0.0268732496, 0.0553832352, -0.008741946, 0.0011359547, -0.0731269792, 0.0056026927, -0.030890651, 0.0097268419, -0.0380620994, 0.0418705679, 0.0620928332, 0.0017607035, -0.0156204822, -0.0331203192, 0.0231990553, 0.0124023985, -0.0335822329, -0.0637699366, 0.0177529324, 0.0162664056, -0.0168968756, 0.0415480025, -0.009890914, -0.010893845, 0.0450820923, 0.036147166, -0.052932702, -0.060782209, 0.0198385548, 0.105902344, 0.0188481249, -0.0360686406, -0.0109649748, -0.0200884938, 0.056057509, 0.04817928, -0.0125017604, 0.0029727132, 0.0159710199, -0.0154500464, 0.0653586388, -0.0619283617, 0.0553183183, 0.0112137198, -0.0750544071, -0.0171408989, -0.0573452525, -0.0417077877, -0.0084024211, 0.0481102839, -0.0357005112, -0.0076406877, 0.0720074475, 0.0385369323, 0.0100978957, -0.0167188998, 0.0192620903, 0.0076198955, 0.0072663026, 0.0420050062, -0.06379769, 0.0381158367, -0.0190152191, 0.006904684, -0.0387910083, -0.0297938026, -0.027257124, -0.0051222923, 0.0320489518, 0.0118171526, 0.0082347868, 0.0048293024, -0.1014928445, 0.0021780974, 0.0015299828, -0.0441509373, 0.0262321997, -0.0160932224, -0.0107130958, 0.0328711011, -0.0677123666, -0.0658020154, -0.0174715817, 0.0067389011, 0.0105018187, 0.0240848232, 0.0428790227, -0.0324930176, 0.0146032134, -0.0076372926, 0.0197214037, -0.0073361853, -0.0215599723, 0.0185197722, -0.0110304253, 0.0196901932, -0.0543302111, 0.0781934038, 0.0190211777, 0.0078430511, 0.0211742893, 0.0310456734, -0.0155174974, -0.025355, -0.0644977093, 0.0261038393, 0.0005978683, 0.0779895857, 0.0496757329, -0.0018305413, -0.0371502377, -0.0425548144, 0.0166652706, -0.0150782717, -0.0465335175, -0.0373341925, -0.0283747856, -0.0147457505, -0.0639717132, -0.0565584712, -0.0013026677, 0.0103251673, 0.0280418787, -0.0195105467, 0.0267609935, -0.008145608, -0.0570184812, -0.0217073802, 0.0116221122, -0.0409830995, -0.0219465494, -0.0289148707, 0.0854253471, 0.0181801878, -0.0456139147, -0.0014698576, 0.0313759148, -0.0758059397, -0.0283085182, 0.0150252394, 0.0298181903, 0.0179789066, -0.0090967836, -0.0448631458, 0.0609148256, 0.0739967152, -0.0443221889, 0.0013402386, -0.0049878722, -0.0349305756, -0.0243023708, -0.0323326811, -0.0030344923, 0.0233008265, -0.0544380769, 0.024393091, -0.0580408275, 0.0056230295, 0.0407612883, 0.0364476182, -0.0077836122, -0.0376348421, 0.0009192748, -0.0115649113, -0.0221124813, -0.0561394766, -0.0119337719, -0.0186638497, 0.0568837821, -0.0337446406, -0.0008936921, 0.0274203476, 0.0629638359, -0.0717074573, 0.0417966805, -0.032444004, 0.0442899168, -0.006909878, 0.0085285157, 0.0071820896, -0.0344361551, -0.0462427326, -0.0098268036, -0.0561766438, 0.0261473805, -0.0103429742, -0.011135078, 0.0559669472, 0.0064920662, -0.0214704033, 0.0059940475, -0.0951502398, -0.0262599979, -0.0683688372, 0.0642443374, -0.0167381559, 0.025923362, 0.0506716631, -0.0641530082, -0.0396485478, -0.0078843376, 0.0711239204, 0.0151620666, 0.0107775163, 0.0413300358, 0.0222596787, -0.0315670259, -0.0584177077, 0.067178309, -0.0122046946, -0.0069083548, 0.0172529891, -0.041019965, -0.0251197815, -0.0460837819, -0.0134331565, 0.0091220764, 0.0051912819, -0.0366185755, -0.0425348952, 0.0163643826, 0.0315032043, 0.0307955444, 0.0086230701, -0.0547079258, 0.0204521939, 0.0416818894, 0.0169410724, -0.045740135, -0.0324181765, 0.0090959156, -0.0311600491, -0.0726480037, 0.0058303252, -5.999230928e-33, -0.0104666995, -0.0323624648, 0.0005657863, 0.0510684773, 0.00309161, 0.033406999, -0.0897628963, -0.0285862926, 0.0085840682, 0.0494554788, -0.0114484932, -0.0070822225, -0.0090637747, -0.041063536, 0.018195508, 0.0341453068, 0.0305842776, -0.0056517222, -0.0350490026, 0.0683165267, 0.0279535018, -0.0069793058, 0.0214821938, -0.050650429, 0.0472688675, -0.0106741386, -0.0130129242, -0.0211811662, 0.0471847765, 0.0397836939, -0.0078935931, -0.0344508179, 0.0226260554, -0.0423993617, -0.0184491388, 0.0308393445, -0.0687974989, 0.003805784, 0.0305124652, -0.0542791598, -0.0433121547, -0.0069417208, 0.0128706247, -0.0423045792, -0.0220711958, -0.0231930632, 0.0535737239, -0.0073922402, -0.030489983, -0.0624007061, -0.0421656556, 0.0132019669, -0.0257248301, 0.004933577, 0.0102507779, 0.0333581306, -0.0041081323, 0.0426684134, 0.0004666205, 0.0523967743, 0.0139594544, 0.0263623949, 0.017109219, -0.0644426718, 0.0224074237, 0.0184534416, 0.0124602811, 0.0231680702, -0.0332187638, 0.0206080452, -0.0239844415, -0.0027614255, 0.026152445, 0.027074486, 0.0115106162, -0.0074573481, -0.07908535, 0.0388717353, -0.0097519895, 0.0393111445, 0.0130123831, -0.0138174882, -0.0043789498, -0.014334945, 0.0109669771, -0.0264149625, 0.01766623, -0.0694835037, -0.0385012701, -0.0322078206, -0.0627815053, 0.0384062305, -0.0162103213, -0.0006272295, -0.0350554176, 0.007280828, -0.0086094914, 0.0465440638, -0.0089256633, 0.0104950638, -0.0677430853, -0.0127890771, 0.0011933267, 0.0514101498, 0.0184029713, -0.0103833489, 0.0284421891, 0.0163649172, -0.0055478346, 0.0013419067, 0.0041338904, -0.0180858877, -0.0065378742, -0.0291515477, -0.0062229382, 0.0586184785, 0.0240253787, 0.0030592445, 0.0131983096, 0.0312290005, -0.011701921, -0.0093593374, 0.0098152906, 0.0728397295, 0.0043664337, 0.0055840667, -0.0296974555, 0.0088297864, 0.0132269152, -0.0122698992, -0.0048890426, 0.0029570092, 2.521e-7, 0.0368366428, 0.064370364, 0.0335602798, 0.0216068458, 0.0171589274, -0.0289736018, -0.0110942982, 0.0235076174, -0.0103747873, -0.0543981791, 0.0221438147, -0.0059427936, -0.0125688994, 0.0275812484, -0.0997742787, -0.0387660116, -0.0909739211, -0.0585822649, -0.0488236658, -0.020827068, 0.029579632, -0.0655073524, -0.0362524614, 0.020768119, -0.0150593547, 0.0042646313, 0.0600126684, 0.0218148958, 0.0206629038, 0.1034946516, 0.0222211443, -0.0161120053, -0.0049200291, -0.0121597843, -0.0278935432, -0.042491585, -0.0335301496, 0.0448641218, 0.0384333022, -0.0049922615, 0.041557882, 0.0046675615, 0.048989106, -0.0261291433, -0.0064178426, -0.0828960836, -0.0502213053, -0.0441884622, -0.0617977679, 0.0092493454, 0.0198089201, -0.0211518761, -0.0231005941, 0.0358179845, -0.0592967384, -0.006396567, 0.0254532099, -0.0546076447, -0.0196092427, 0.0287875701, -0.0391456932, -0.0174891427, 0.0141457375, -0.0450827591, -0.0058491034, -0.0462392792, 0.0317388289, 2.128040586e-34, 0.0736491829, -0.0047489996, -0.0333259813, 0.0268305, 0.0258160084, 0.0255618822, 0.012990444, -0.0138891889, 0.0264641624, -0.0271429811, -0.0144239059 ]
http://arxiv.org/abs/2310.15075v1
http://arxiv.org/pdf/2310.15075v1
TableQAKit: A Comprehensive and Practical Toolkit for Table-based Question Answering
2023-10-23T16:33:23
2023-10-23T16:33:23
Fangyu Lei, Tongxu Luo, Pengqi Yang, Weihao Liu, Hanwen Liu, Jiahe Lei, Yiming Huang, Yifan Wei, Shizhu He, Jun Zhao, Kang Liu
cs.CL
cs.CL
Table-based question answering (TableQA) is an important task in natural language processing, which requires comprehending tables and employing various reasoning ways to answer the questions. This paper introduces TableQAKit, the first comprehensive toolkit designed specifically for TableQA. The toolkit designs a unified platform that includes plentiful TableQA datasets and integrates popular methods of this task as well as large language models (LLMs). Users can add their datasets and methods according to the friendly interface. Also, pleasantly surprised using the modules in this toolkit achieves new SOTA on some datasets. Finally, \tableqakit{} also provides an LLM-based TableQA Benchmark for evaluating the role of LLMs in TableQA. TableQAKit is open-source with an interactive interface that includes visual operations, and comprehensive data for ease of use.
[ 0.0389958695, 0.0338160582, -0.0065224902, 0.0158900004, -0.0544590726, 0.0278501473, -0.0062127328, -0.0029993341, -0.0062621622, -0.0198058244, -0.0314347558, 0.0158086419, -0.018824771, 0.0275058951, 0.0369412228, 0.0228010081, 0.0467827171, 0.0084941126, -0.042339284, 0.000533166, 0.0127715459, 0.0048943749, -0.0361670963, 0.0147823775, -0.0024163851, -0.0196390972, -0.0247208532, -0.0294263028, -0.0261291619, 0.0121171633, 0.0015760541, 0.0828423575, 0.0122910626, 0.0135228233, 0.0000020579, -0.0252130628, -0.0528851785, -0.0231058225, -0.0324090272, 0.0033478248, 0.0257894006, -0.0019720709, 0.0269444883, -0.0010641442, -0.0710469782, 0.0209874082, 0.0135753751, 0.0623139553, 0.0646735057, 0.028739376, 0.0188681241, -0.0436465703, -0.0260723066, 0.0255078264, 0.016810203, -0.0541396104, 0.0135096312, 0.0487193055, 0.0303527247, -0.0396894664, 0.0151303252, 0.0416700095, 0.0207856167, -0.0028386849, 0.0029317511, 0.029692689, -0.0483825877, 0.0084969969, -0.0014212319, 0.0977605954, 0.0614715368, -0.0415932797, 0.0170814674, 0.0209249146, 0.0182765033, 0.010821986, -0.0691974387, -0.001949258, 0.0002824366, -0.0268205311, 0.0194585621, -0.0129180001, -0.010511972, 0.0138346776, -0.0295969434, 0.0843831524, -0.0114809768, -0.0336948484, -0.0053145816, -0.0314430594, -0.0317130461, -0.0405740179, 0.0221398529, 0.0700593218, -0.0244509857, 0.0310598351, 0.0343945101, -0.0294123851, 0.0394598208, -0.0687135234, -0.0050929347, 0.0337607265, -0.0123591265, 0.035893213, -0.035106156, 0.0175989196, 0.0093342364, 0.0170093663, -0.0436937362, -0.0216097198, -0.041442696, -0.0174729135, -0.0469075963, 0.0336341001, -0.0528154001, -0.0152580114, 0.0091871517, -0.0009817269, 0.0007726903, 0.0027477492, 0.0491571389, 0.0422663763, 0.0015197574, 0.0270626489, -0.0482627191, 0.0109610707, -0.0788384154, 0.0283188745, -0.0426173545, -0.0729514658, -0.0220044721, -0.0174449775, 0.0327462368, -0.0194049589, 0.0617838018, 0.0693648756, -0.0183003638, -0.0086583784, -0.0273411386, -0.0135222645, -0.0412641317, -0.06893453, -0.0323009342, -0.0633065104, 0.0509018637, 0.0423561931, -0.0146880737, -0.0378887877, 0.0301135425, 0.0653731078, -0.0167413857, 0.0526078753, 0.001903654, 0.0375924483, 0.0428226516, -0.0036193633, -0.007290428, 0.0874791592, 0.0312048569, 0.0003548645, 0.0062200339, -0.0273107179, -0.0343780294, 0.0399551839, 0.0323784873, -0.027001312, -0.0125271091, 0.0737386793, 0.0011211331, 0.021185061, -0.0246723741, 0.0142612085, -0.004859996, 0.0277966671, 0.0183642711, 0.0642210022, 0.0038162884, 0.0549688302, -0.0199055746, -0.0084068561, 0.0465460345, 0.0107069463, -0.0220227353, 0.0629209802, 0.0013832774, 0.021743618, 0.0276668463, 0.0021486606, 0.0000842217, -0.066808477, -0.0049073016, 0.0228967182, 0.0060488684, 0.0107815107, 0.0478278324, 0.0219078269, -0.0655769855, 0.0235651415, 0.001215276, -0.0704316571, -0.0321870558, -0.0005961724, 0.0661806017, 0.0415468402, 0.0395366587, -0.0664797649, -0.0063164937, 0.0045546135, 0.0179416351, -0.0048900801, 0.0046350998, -0.0305183288, -0.0089779757, 0.002804097, -0.0039878581, 0.0350977927, 0.0102848606, -0.0323186889, 0.0368713476, 0.0103565184, -0.025654003, -0.0456425324, -0.0146961641, 0.0292264596, 0.0391567051, -0.0069637182, -0.0309299696, -0.0097756349, 0.0178949423, 0.0306490287, 0.0076450664, 0.048945006, 0.0478030741, -0.0262736659, 0.0049250047, -0.0096465377, 0.0030337924, -0.0129923131, 0.0375695489, 0.0073427539, -0.0524377301, -0.0074622063, -0.0257989597, -0.0384174958, 0.0182652734, -0.0410452411, -0.043094784, -0.0569820777, -0.0081448369, 0.008841997, 0.0247285645, -0.0173759516, 0.0913600475, 0.0091713769, 0.0326489061, 0.0011256858, -0.0703034475, 0.0178571604, -0.0190126281, 0.0568779521, -0.0376771577, -0.0432050861, 0.0042689159, 0.0054373997, 0.0289932657, -0.0704228282, -0.0069534131, -0.1088558137, 0.0387270376, -0.0389922224, 0.0434950888, 0.0342934169, 0.0022596191, -0.0289983153, -0.0224656947, -0.028810814, -0.0069678924, 0.0249292497, -0.0049948567, 0.0606808066, -0.0246579275, -0.0090170465, -0.0557512417, -0.0150945019, -0.015482042, 0.0366770439, -0.032654725, -0.0534694754, 0.0154567035, -0.0356686115, -0.0221386496, 0.0097436355, 0.0367658399, -0.0361178294, -0.0170121919, -0.0070885401, 0.0274188537, 0.0314459726, -0.0114698056, -0.0011989112, 0.0272692088, -0.010966666, -0.0324576981, 0.0182451364, 0.0017494267, 0.025442224, 0.0267757494, -0.0734993219, 0.0301251225, 0.0258210115, 0.0004155832, -0.0047286325, -0.0044973455, 0.0365705974, 0.0093354657, -0.0054850574, -0.0777609721, 0.049672097, 0.0008985734, 0.0325389877, 0.006347938, -0.0029466841, 0.0202290453, -0.0391231775, -0.0011229607, -0.0504469201, -0.0046595167, -0.0652510673, 0.0780716613, -0.0160129368, 0.009216696, -0.0301825032, -0.0144192353, -0.0384358093, -0.0305845477, 0.0103540514, -0.0513108894, 0.0948534906, -0.0540402979, 0.0395645909, -0.0240398478, 0.0160644874, -0.0101597765, -0.0228402894, -0.06989564, 0.0153850811, 0.0228813756, 0.0082799392, -0.0038942499, -0.014154274, 0.0290537439, 0.0251007881, -0.0207298249, 0.0054585319, -0.0265434999, 0.0627897605, 0.0629646555, 0.0423145108, -0.0017611795, 0.0363952182, 0.0506334119, 0.0604471415, -0.016436018, 0.0062259878, -0.0050534164, 0.0151888533, 0.0138993319, -0.0442068093, 0.0187167171, 0.0246046409, -0.0171941575, -0.0574504323, -0.0076882686, 0.0936205462, 0.0445478894, 0.037881691, 0.0051412261, -0.0249704793, 0.0182839017, 0.0183546543, 0.0616114773, -0.1057580411, -0.0460301638, -0.0123227658, -0.0160583667, 0.0044341399, -0.0199914556, -0.0187102482, -0.076035589, 0.0153891286, -0.0368837267, -0.0682498366, -0.0921965763, -0.0430660844, -0.0097909374, -0.0216061007, 0.0150269903, 0.0623247176, -0.0318039022, 0.0325596742, 0.0182049125, -0.0467656441, 0.0032380936, 0.0078462427, -0.0474981628, 0.0342184491, 0.0574651174, 0.0403522328, -0.0211816467, -0.004274982, 0.002451044, -0.0389736928, -0.0081206989, -0.0196274873, 0.0223935563, 0.0312834531, -0.0031678609, -0.034407936, 0.0019744141, -0.0401192345, 0.0021650719, 0.0530922599, 0.0540560298, -0.0268322974, -0.0171606708, 0.0064261775, 0.0249059517, -0.0214936379, 0.0972721055, 0.0463222079, 0.0243575387, -0.0702160597, -0.0145619744, -0.0652222037, -0.0590113252, -0.018435644, 0.0474507362, 0.0037700664, 0.0153908217, -0.0684064701, 0.0085016256, 0.0650022626, 0.0239485167, -0.0153250704, 0.070961684, -0.0555082709, 0.0167634487, -0.0511343479, -0.0182723831, -0.0379478298, 0.0249832179, -0.0150436955, -0.0090857586, 0.0232485533, -0.0203074887, -0.0360052548, 0.0266653076, -0.0580502599, -0.0212929156, -0.0288055278, 0.0213311147, 0.0163236093, -0.0220317487, 0.0088509582, -0.0109809116, -0.0124024646, -0.0223147701, -0.0761174038, -0.0294758715, -0.0143047944, -0.0195825025, 0.0071246391, 0.0439097136, -0.0308888331, -0.019132575, -0.0299596824, 0.071762152, -0.0133110434, 0.0320949517, 0.0501727276, -0.0153112113, -0.0238961652, 0.056285467, -0.0611490384, -0.0012331095, 0.0331223533, -0.0489048362, -0.0475052707, 0.0111518474, 0.0221185051, -0.017601043, -0.032909099, -0.0320693403, -0.0241658483, -0.0106271151, 0.0325191207, -0.0108005973, 0.0292400513, 0.0417177528, -0.0441196263, -0.0230578799, -0.0468971319, -0.0161732007, -0.0319806375, 0.0060108136, 0.038885802, -0.0055722171, 0.028866617, 0.0015665446, -0.0515307188, -0.026575977, 0.0410040282, -0.0385795608, -0.0604515448, 0.0133984415, 0.0098239705, 0.0332516246, -0.0048887008, 0.0108849611, 0.0030765045, -0.0202433653, 0.017547369, 0.0030277837, 0.0219707433, 0.0202944651, 0.0502915047, -0.0054815616, -0.0071193879, -0.0253266711, 0.0748610944, 0.0248403158, 0.0116230398, 0.0212040097, -0.0064769224, -0.0447039977, -0.0251883287, -0.0206505079, -0.0044021662, -0.0347911268, -0.0120100314, -0.0070130108, -0.0364319123, 0.0196070764, 0.0276540183, -0.0432062, -0.0040755342, 0.032820724, 0.052258756, 0.0734300017, -0.0384496339, -0.048788216, 0.074968636, -0.0182883646, -0.0292408504, -0.0297647361, -6.696612054e-33, -0.0318946578, -0.0375848114, 0.0186658837, -0.0647073463, 0.0245683771, -0.026407918, -0.0397715867, -0.0401171036, -0.0184766259, -0.000024875, -0.0239642914, 0.0508843437, 0.0133399777, -0.0132017434, 0.0055838251, -0.0994353518, -0.0141485864, 0.0108084781, 0.0051966165, -0.0081120403, -0.0027937884, 0.0381475724, 0.0313300453, -0.0059019979, 0.0334301293, -0.0036927182, -0.0046094712, -0.0076954952, -0.0157694891, 0.0528324395, -0.0318494812, 0.0258499477, 0.0243688598, -0.0497703515, -0.0014953812, 0.0481609926, -0.1426496208, -0.0258935429, 0.0309528261, 0.0159057081, -0.0170018636, -0.0407585017, 0.0260606185, 0.0017883598, -0.0228087418, 0.0025715267, 0.0281961467, -0.0356268212, 0.0027369109, -0.0002578862, -0.0104727736, 0.0180894695, -0.0378455222, 0.0076244809, 0.0247243959, 0.0583757386, -0.0014442146, -0.0354097486, -0.0347347222, 0.0127874771, -0.0006549043, 0.0164717473, 0.0568070933, -0.0380313434, 0.0242254026, -0.0036075639, -0.0001254344, -0.0372627228, -0.0326788053, -0.0086355638, -0.0533270948, 0.05667473, 0.0879744589, -0.0026617341, 0.0175873358, 0.0141074127, -0.0777637139, 0.0547625534, 0.0052378392, 0.0457741767, -0.0210309289, -0.0278373118, -0.0143527249, -0.0136778625, -0.026406005, 0.0264765676, -0.034504056, -0.01047849, 0.0159234684, -0.0415414684, 0.0098407976, -0.0132260369, 0.0068749008, -0.0048645716, -0.0183430221, 0.0559983216, 0.0269958675, -0.0100611057, 0.0375987105, 0.0381297357, -0.012568105, 0.0238662157, 0.0171415396, -0.0415030755, 0.0301708598, 0.0337798186, 0.0183615666, 0.0031730135, -0.051962886, -0.0227416381, -0.0238225479, 0.0362985171, -0.0183562897, 0.0177951008, -0.0017186723, 0.030307591, 0.0099283699, 0.0339893624, 0.0130112153, 0.0211491361, -0.0278857611, -0.008532878, -0.0045123384, 0.0080321711, 0.0013729362, 0.044034116, -0.0562580489, 0.0386743546, -0.0130836833, -0.0323591344, 0.0154480068, 0.0224217903, 2.596e-7, 0.1039551795, 0.0208737832, 0.0516023412, 0.0554002002, -0.01019153, -0.0233303905, -0.0045559211, 0.0097144367, -0.0199451186, -0.0275542308, 0.0312535316, 0.0127929114, 0.0525763519, 0.0235148687, -0.0290900134, -0.0440272354, -0.0869951099, 0.0049154935, -0.064344041, 0.0245630704, 0.0344864614, 0.0813858807, -0.057310123, 0.0048261783, -0.0506540202, -0.0127764847, 0.0113057038, -0.0482985638, 0.0557679087, 0.0303798765, 0.0512480959, -0.0464964174, 0.0367470086, 0.0380480438, -0.0247201361, 0.0106110508, 0.0255225021, 0.0404846109, 0.0078279451, 0.0102437409, -0.0290460289, -0.0786366835, 0.0481822416, -0.0768451616, 0.13975209, -0.0261265989, 0.0078963116, 0.0336357988, 0.0154978894, 0.0107154865, 0.0035742561, 0.0146767981, -0.000267086, 0.0354713574, 0.0426253602, -0.0150131127, 0.002789764, -0.0399971046, -0.028109448, 0.015443895, -0.0142987175, -0.0070027243, -0.0114466846, -0.0317282751, -0.0266662575, -0.0363674536, -0.0442116298, 2.348406747e-34, 0.0258187503, 0.0125968009, 0.0193728115, 0.0897115245, 0.0670444742, -0.0475530364, 0.0248160642, -0.0214041285, 0.025405949, -0.1075534075, -0.0052061025 ]
http://arxiv.org/abs/2310.15066v1
http://arxiv.org/pdf/2310.15066v1
Localizing Active Objects from Egocentric Vision with Symbolic World Knowledge
2023-10-23T16:14:05
2023-10-23T16:14:05
Te-Lin Wu, Yu Zhou, Nanyun Peng
cs.CV
cs.CV, cs.CL
The ability to actively ground task instructions from an egocentric view is crucial for AI agents to accomplish tasks or assist humans virtually. One important step towards this goal is to localize and track key active objects that undergo major state change as a consequence of human actions/interactions to the environment without being told exactly what/where to ground (e.g., localizing and tracking the `sponge` in video from the instruction "Dip the `sponge` into the bucket."). While existing works approach this problem from a pure vision perspective, we investigate to which extent the textual modality (i.e., task instructions) and their interaction with visual modality can be beneficial. Specifically, we propose to improve phrase grounding models' ability on localizing the active objects by: (1) learning the role of `objects undergoing change` and extracting them accurately from the instructions, (2) leveraging pre- and post-conditions of the objects during actions, and (3) recognizing the objects more robustly with descriptional knowledge. We leverage large language models (LLMs) to extract the aforementioned action-object knowledge, and design a per-object aggregation masking technique to effectively perform joint inference on object phrases and symbolic knowledge. We evaluate our framework on Ego4D and Epic-Kitchens datasets. Extensive experiments demonstrate the effectiveness of our proposed framework, which leads to>54% improvements in all standard metrics on the TREK-150-OPE-Det localization + tracking task, >7% improvements in all standard metrics on the TREK-150-OPE tracking task, and >3% improvements in average precision (AP) on the Ego4D SCOD task.
[ 0.0299254321, 0.0522302315, 0.0185736492, 0.0246940963, -0.0227765981, -0.0067044878, 0.00424182, 0.0084173372, 0.0001626817, -0.1072112173, -0.0188609194, -0.0343052745, 0.0074773636, 0.018071996, 0.0170932636, -0.035772793, 0.0409585573, -0.0384721495, -0.0535286851, 0.0111549627, 0.0009671511, 0.0033298044, -0.0278182421, 0.0366641358, -0.0445936546, 0.0092941727, -0.0291300379, -0.0176117755, 0.060297668, -0.0325547084, -0.0089723738, 0.0554990545, 0.061121922, -0.0240259822, 0.0000022319, -0.0356056541, 0.0162668452, -0.0137042161, -0.0105964374, -0.0208223611, -0.0173875839, -0.0588035099, 0.0328782201, -0.0100913318, -0.0291799568, 0.0035669853, 0.0437497348, 0.0709268674, 0.0308508351, 0.0381103866, -0.02872077, 0.0232309327, -0.0007553056, -0.0075664138, 0.0182519127, -0.0334606916, 0.0441593081, 0.0099132592, -0.033335682, 0.0330856889, -0.0364982225, 0.0038336013, 0.0064964429, 0.0084024249, 0.0101475446, 0.062162064, -0.0189761166, 0.0075116879, -0.0174485762, 0.0694146454, 0.0140038794, -0.0149797304, 0.0178954434, 0.0173950065, -0.0021099525, -0.0161922369, -0.0287208091, 0.0414176807, -0.0054281438, 0.0084759565, -0.0368170924, 0.0404242352, -0.0208931621, 0.0244699996, -0.0186115652, 0.0145774446, -0.0015551371, 0.0260153804, -0.0129519701, 0.012720841, -0.0380179659, -0.0736550018, 0.016882034, 0.0315490738, 0.0158364363, -0.0022035383, -0.0731239766, 0.0476020053, -0.0455224738, -0.0404722728, 0.0627115071, 0.0510937236, -0.0399907716, 0.087315321, -0.0262995251, 0.0701740086, -0.0268988889, 0.0415109172, -0.0289962236, 0.0101716034, -0.0604210533, 0.0249372963, -0.0196690019, 0.025716044, -0.0547344871, -0.0357448123, 0.0312316399, -0.0044119614, -0.0131156398, -0.0138585996, -0.0198266469, 0.0409460962, -0.0281067882, -0.0238785986, 0.0086281952, -0.0154865123, -0.0124467062, 0.0339067318, -0.054702308, -0.03738584, -0.0080529908, 0.0217709895, 0.0202121362, -0.0068810671, 0.0056241485, 0.0743479729, 0.0045338757, -0.0709187835, -0.00736605, -0.006934661, -0.031146057, -0.0395893194, 0.0353766792, -0.0644229949, 0.0273059495, -0.037975166, 0.017535314, -0.0500985458, 0.0443532281, 0.0143962139, -0.0049444181, 0.0744468719, 0.0016972611, 0.0136960391, -0.0144293085, 0.0225079153, 0.0151750846, 0.0518497303, 0.0278221387, 0.0425858088, 0.0237393007, 0.037194334, 0.030302085, 0.0300487913, -0.0275706071, 0.0663842857, -0.0473991036, 0.0084472643, -0.0184790343, -0.0065784021, 0.0114554549, 0.0203984361, -0.006365804, -0.0152398469, 0.0723103285, 0.0445824265, -0.1102771014, -0.0436969213, 0.0426337011, 0.0143434536, -0.011805106, -0.0274720602, -0.0671537519, 0.0486936755, -0.0109860813, -0.0460439026, -0.0583672188, 0.0079124263, -0.040207997, -0.0462329499, -0.001441699, 0.0000451253, -0.001560382, 0.0319142267, 0.0518396646, -0.0051411893, -0.0239550099, 0.0539883673, 0.0067353938, -0.03552806, 0.0035468892, -0.0048280316, 0.0031900709, 0.0285613351, -0.00822281, -0.0331944413, -0.0474633873, 0.0033218996, 0.0748951063, 0.0180367101, -0.0335053131, -0.0116759762, 0.04179978, -0.0267238487, -0.0518504903, 0.0041720006, 0.0061147925, 0.0220021661, 0.0480327979, -0.0020421995, 0.0197614599, -0.0043927385, 0.0040505752, 0.0673352629, 0.0404274501, -0.0105846785, -0.0210030079, 0.0130801741, -0.0166767314, 0.0048145526, -0.0097874533, -0.0164992772, 0.0413834341, -0.0411201492, -0.0243288074, 0.0480885617, -0.0069500632, 0.0009675599, 0.0456211008, -0.0351729691, -0.0228393953, 0.0186605547, -0.0210309979, -0.0389394127, 0.0109317806, -0.0307570081, -0.0075377598, 0.0254505724, 0.0062088999, 0.0303674638, -0.0127086909, -0.0244962312, 0.0463691019, -0.0534938388, -0.0148864789, -0.0036022956, 0.0170172416, 0.0336614512, -0.0060046054, -0.0058280397, -0.0333070382, -0.0020160642, -0.0026997915, 0.033484593, 0.010952224, -0.0205036476, 0.0035161837, -0.1260404587, -0.0129598519, -0.0233490635, -0.0202236958, 0.0419304371, -0.0256554, -0.0104140695, -0.020807961, 0.0069766776, 0.0018195681, -0.0284702312, -0.0007221671, 0.0080989962, 0.0072964258, -0.0366789661, -0.0505454317, 0.0333929583, -0.0169714, 0.0008430739, 0.0151928635, -0.0695778579, -0.055830691, 0.0070166364, -0.0052414108, 0.0754681155, -0.0408550315, -0.0177441966, 0.0170628093, -0.0231106933, 0.0218910538, 0.0880455151, -0.0418155193, 0.049152907, 0.0501176417, -0.0431322344, -0.0519151613, -0.007352774, 0.0037929963, -0.0083301133, -0.0384836718, -0.0262738746, 0.0171347968, 0.0708044544, -0.0004348907, 0.0085405745, -0.0635486245, -0.0108592315, -0.049862884, -0.0586251095, -0.0512553602, 0.0271963552, -0.0180944055, 0.0296474937, -0.0428421199, -0.0402375162, 0.0121028153, -0.0252412315, 0.000486078, 0.0373257324, -0.008067593, -0.011960228, 0.0942660496, 0.0410778821, 0.040999487, -0.000581921, -0.006720298, -0.0474591404, 0.007361399, -0.0459135585, 0.0104558514, 0.0278978124, -0.1022239625, 0.027935788, 0.003636145, -0.0258227047, -0.0207057092, 0.0023088281, -0.0187429488, -0.0027750838, -0.0653716922, -0.0365385376, -0.0298297592, 0.0229694266, 0.0020727746, 0.0394551121, 0.0084207086, -0.0073818313, -0.037591327, -0.0093436036, 0.0803828239, -0.0148228286, -0.0654443726, -0.0264715422, -0.0030594487, 0.0969210342, 0.0390721075, -0.0106455106, -0.0390104912, 0.0364186056, 0.0344389156, 0.0220919382, -0.0204522945, 0.0294601787, 0.073558569, -0.0167319924, -0.0578961596, 0.1024855077, 0.0445816815, -0.0297463201, -0.0089916121, 0.0440633968, -0.0626833364, 0.0406529158, -0.0085731586, -0.0216632374, -0.0400294028, 0.0091410391, -0.0399445929, 0.0233050585, -0.0445341021, -0.0088437796, -0.0854028836, 0.0430436842, 0.0150200408, -0.0550284237, -0.0662199557, 0.0029737742, 0.0560023636, -0.0242209025, -0.0430600978, -0.0405680612, 0.0166220684, -0.0310269035, 0.0169831701, 0.0041457606, -0.0237213634, 0.0077434923, -0.0538134053, -0.0019118577, 0.0099211428, 0.030530449, 0.0053465553, -0.0259288605, -0.0153882829, 0.0434249006, 0.000676066, 0.0137088466, 0.03239391, -0.0588300154, -0.0140819829, 0.0087242872, 0.0595957749, -0.0523419641, -0.0512983166, -0.0124017196, 0.0337182917, -0.0288208444, 0.0442835502, -0.0442514494, -0.0126686851, 0.0262121391, 0.0579807796, -0.0322238989, -0.0328780003, 0.0220522434, -0.0069419378, -0.0134359915, 0.0039359438, -0.0390893333, -0.0088367732, -0.0489308871, -0.0101039764, -0.0913282037, -0.0163107198, 0.113410078, 0.0729581565, 0.0265030917, -0.0245138817, 0.0217295215, 0.0095371008, -0.063028343, 0.0525070615, -0.0647470281, 0.0397987328, -0.0041711032, -0.0040316735, 0.0617852472, 0.0201440286, -0.0242360253, 0.0463908762, -0.0583515577, -0.0627024546, -0.0017618922, 0.0588681661, 0.0169742908, 0.0392257646, -0.0239946414, -0.0072485977, -0.0269121323, -0.0209519137, -0.0061208773, 0.0414864421, -0.0006816668, -0.0239622556, -0.0042600133, 0.030740805, -0.0453782789, 0.0369795114, 0.0467467457, 0.0126845967, -0.081002295, -0.0517469756, 0.0369122997, -0.0514285192, 0.058109019, -0.0088984231, 0.0027467816, -0.015085076, -0.0191611499, -0.019702591, -0.0359695777, -0.0698089749, 0.0506923795, 0.0268157087, 0.0244122911, 0.0129184434, 0.0469519608, 0.0104516223, 0.0101385266, -0.0183659364, -0.0601242036, -0.0127768898, 0.0026188346, -0.0028601005, 0.0479411706, -0.0057489355, -0.0008363628, -0.0071161413, 0.0309627876, 0.0267459545, 0.0586286224, 0.0287478175, -0.0248058457, -0.0878928825, 0.035074003, -0.0472290181, -0.008450469, -0.0220797323, 0.0738106221, 0.0687241033, -0.0666951314, 0.0168525018, -0.0446522459, 0.0045066103, 0.0107921679, 0.0258015934, 0.0116025629, -0.0181636531, 0.0336173959, 0.0482896715, 0.0048784143, 0.0258759912, 0.0707557425, 0.0187623762, 0.0633007661, 0.0178542398, -0.0057620234, -0.0328681208, 0.0023701307, 0.0682541132, 0.0460619032, 0.0059147589, 0.0541803464, -0.0219160151, -0.0522441939, -0.0169824678, 0.0170797613, -0.0204685405, -0.0018711115, 0.0487323962, -0.006254836, -0.0021371562, -0.0368842632, -0.0366923921, -0.049254436, -0.0082134493, -0.0066248514, -0.0433744341, -6.0247634e-33, -0.059630651, -0.0448227376, -0.001474029, 0.0272283852, -0.0143933808, 0.0464451425, -0.014443187, 0.0064375652, 0.0219986867, 0.0359836556, 0.0110551249, 0.027746303, 0.0191940833, 0.0065119197, -0.007325904, -0.0021395003, 0.0267568156, 0.0110600684, -0.0244037472, -0.0242409427, 0.0561768338, 0.0092610884, 0.0826093778, -0.083100982, 0.0164464898, 0.0363607816, -0.0246897656, 0.0336927772, 0.0091170957, 0.0120942974, -0.0398233645, -0.0010127621, 0.0071903951, 0.0019508469, -0.0206564441, 0.025597766, -0.0572303832, -0.0022296598, -0.0062733036, 0.0560243018, -0.0494123697, 0.0041424236, 0.004503015, 0.0017238962, -0.0187198799, 0.0105944648, 0.0276597161, -0.0111012477, 0.0051117055, 0.0199952982, -0.0527383536, 0.0114077451, -0.0024974474, -0.0732465833, 0.0190005582, -0.0412881561, 0.0500713624, -0.0358836986, -0.0451680794, 0.0004745762, -0.0491669104, 0.0164097156, 0.0278232675, 0.0355307199, 0.0237492584, 0.1006956547, 0.011466831, -0.0071320739, -0.0223114491, -0.006841497, 0.007464461, 0.0680643022, 0.0422149822, 0.0163043346, 0.0124876546, 0.0518353134, -0.0268899761, 0.0328782164, -0.0436004698, 0.0493637323, 0.0166051649, 0.0158423372, -0.0618086271, 0.0130732264, -0.0191098992, -0.0019206617, 0.0008439595, 0.0176597741, 0.0503252968, 0.0382138528, -0.0647549927, -0.0026324315, 0.0279838741, -0.0203261357, 0.0085899988, -0.0131985722, 0.0238147732, 0.0586778633, 0.0055635357, 0.0163778421, -0.0470005572, -0.018282881, 0.0451235212, -0.0062530693, 0.0139265843, -0.0004852171, -0.0062891589, 0.0354755856, -0.030314764, -0.0263034087, -0.0364781655, -0.0214307941, 0.0290591419, 0.0093282051, 0.0487195402, 0.0229471866, -0.0292082261, 0.0624720119, 0.0035319801, -0.043636594, 0.0101595828, -0.0264434498, -0.0037766157, 0.0075905938, 0.0012443373, -0.0198772289, -0.051304061, -0.0226614159, 0.0423837602, -0.0395639129, -0.01578236, 0.0121891443, 2.978e-7, 0.0066094114, 0.0102861123, 0.0345875807, -0.0209842995, -0.0204736423, 0.047724247, -0.0016092749, 0.0471907035, -0.027207965, -0.0478689633, 0.0271383282, 0.0649673194, -0.002925626, -0.0006435368, -0.0652792081, 0.0180401299, 0.0240386613, -0.0382954702, -0.0578396469, 0.0096142478, 0.0185584947, 0.0736446977, 0.0185992587, 0.0076416493, 0.008464912, -0.0888818949, 0.061002668, -0.0347718783, 0.020821156, 0.0111741973, 0.0301621258, 0.0347695313, -0.0306022242, 0.012870688, 0.0065522883, 0.014293775, 0.0529671982, 0.0436913595, -0.0582956076, 0.0235066283, -0.0559349693, 0.0170968622, -0.0090857595, -0.0139325317, 0.0721226409, -0.077038981, 0.0070027108, -0.0282560959, 0.022259403, -0.0014536667, -0.0144580035, 0.0300050993, -0.0231462847, 0.0029274041, 0.0146291023, -0.0053336252, -0.030550763, -0.1064143926, -0.0239635576, -0.0062083751, -0.0144671369, 0.0259129312, 0.0156233152, -0.0109146442, -0.0146080544, -0.038678091, -0.0538271479, 2.57429819e-34, -0.0251150932, 0.0243628006, -0.0149900271, 0.0438989438, 0.0454299487, -0.0176924206, -0.072724849, 0.0068073128, -0.0047618579, -0.0338529348, -0.0113554103 ]
http://arxiv.org/abs/2310.15061v1
http://arxiv.org/pdf/2310.15061v1
The BLA Benchmark: Investigating Basic Language Abilities of Pre-Trained Multimodal Models
2023-10-23T16:05:13
2023-10-23T16:05:13
Xinyi Chen, Raquel Fernández, Sandro Pezzelle
cs.CL
cs.CL, cs.AI, cs.CV
Despite the impressive performance achieved by pre-trained language-and-vision models in downstream tasks, it remains an open question whether this reflects a proper understanding of image-text interaction. In this work, we explore to what extent they handle basic linguistic constructions -- active-passive voice, coordination, and relative clauses -- that even preschool children can typically master. We present BLA, a novel, automatically constructed benchmark to evaluate multimodal models on these Basic Language Abilities. We show that different types of Transformer-based systems, such as CLIP, ViLBERT, and BLIP2, generally struggle with BLA in a zero-shot setting, in line with previous findings. Our experiments, in particular, show that most of the tested models only marginally benefit when fine-tuned or prompted with construction-specific samples. Yet, the generative BLIP2 shows promising trends, especially in an in-context learning setting. This opens the door to using BLA not only as an evaluation benchmark but also to improve models' basic language abilities.
[ 0.00327855, 0.0683240294, -0.0089771682, 0.0324213915, -0.0232975297, -0.0099150529, 0.0352655835, -0.0086659491, -0.0640878752, -0.0847982988, -0.0635949299, -0.0414398052, 0.0265984163, 0.0356325805, 0.0112330522, -0.08747188, -0.0013864397, -0.022308629, -0.0237524267, 0.0095939748, 0.0185768865, 0.0052140323, -0.0439934283, 0.0615896322, -0.0726108178, -0.0022167757, -0.0092639457, 0.0325510576, 0.0048162453, -0.0119456649, 0.0015197154, 0.0631980598, -0.0009343742, 0.0349557474, 0.0000018943, -0.0287328381, 0.0240127668, -0.019015491, 0.0287811086, -0.0188277289, 0.0639012232, -0.0459193103, -0.0159203205, -0.0134562766, -0.0394558683, -0.0201959684, 0.0809976757, 0.0298303366, 0.0479793884, 0.0416092649, -0.0409237742, -0.0091097783, 0.0008619434, -0.0199709516, 0.0294653699, -0.0143248662, -0.0072477292, 0.0039199456, 0.0357875414, -0.0002438323, -0.0598317981, 0.049364578, 0.0329930484, -0.0298517644, -0.023216432, 0.0325193778, -0.021233229, -0.0610002093, -0.0359994918, 0.0888434649, -0.043048352, -0.0238609463, -0.0269329697, -0.0149193751, 0.0098942909, 0.0206718892, -0.0332094356, 0.0484805591, 0.0036074927, 0.0037195936, -0.0896107033, 0.0014690183, -0.0060651843, -0.031261839, 0.0088780476, 0.006090764, 0.0211490169, 0.0331471488, -0.018823117, 0.0454321802, -0.0062230802, -0.0502308458, 0.007013049, -0.002204207, -0.0186281968, -0.0036731174, -0.0613561794, -0.0294771604, -0.021519985, -0.0030890945, 0.0522310585, 0.0184423998, -0.0877530575, 0.0514739826, -0.0184155256, 0.0622879229, -0.0105589991, 0.0719045028, -0.0086643901, 0.0012183656, -0.0354170911, -0.01912334, -0.0212074611, -0.0166268684, -0.0617725439, -0.0567872636, -0.0314522535, -0.0073416056, 0.0018361855, -0.0206285119, 0.0082058441, 0.0269593857, -0.032899987, -0.0149734588, -0.0136630721, 0.0323968418, 0.0125096301, 0.0507184044, -0.0109547479, -0.0627354458, -0.0093863523, 0.0333282948, 0.0347465463, -0.0155353909, -0.0273939427, 0.0611079223, -0.0602486655, -0.0661853626, 0.0157800466, 0.0197875965, -0.0511855893, -0.0628221557, 0.0498218425, -0.0406947248, 0.0242808796, -0.00004664, 0.0117400512, -0.0272230562, 0.0063685142, 0.0184706207, 0.0052094343, 0.0838619024, 0.0274928063, -0.0098729189, -0.0010738202, 0.0185947325, 0.0051173251, 0.0673742369, 0.0371771231, -0.000231578, 0.005564265, 0.0085206237, 0.0251913406, 0.0730172098, -0.021076683, -0.0176042542, -0.0345427506, -0.0377138704, -0.009074769, 0.015613188, 0.0236277562, 0.0453667529, -0.029524399, -0.0202588793, 0.1113244146, 0.0506052896, -0.0308758728, -0.0276192892, 0.0560763292, 0.0041601872, 0.0229624007, -0.002865656, -0.037955597, 0.0476638302, 0.0091667362, -0.0130251879, -0.0335985832, 0.0629833564, -0.0293169059, -0.025859803, -0.0199593659, -0.022224294, 0.0142810736, -0.0113505647, 0.0534216054, 0.0841321275, -0.0528697744, 0.0425029844, -0.0120390262, -0.0613769852, -0.0134674935, -0.0282912739, -0.0215161555, -0.0198374428, 0.0215341076, 0.0175771434, -0.007664436, 0.0061242981, 0.0191378444, 0.0963444039, -0.0170887168, 0.0231763069, 0.0624267235, -0.0375356749, -0.0306968428, -0.0283704903, 0.034583386, -0.0032842231, 0.0047407737, -0.0086742826, -0.0081667816, -0.0194100197, 0.0313985422, 0.0653372034, 0.0225144513, 0.0100594237, -0.0408779904, 0.0174423587, -0.0060557742, -0.020226175, -0.0132008595, -0.0131678665, 0.0204896107, -0.017331738, 0.0069036498, 0.0739582554, -0.0333894119, -0.0543632582, 0.0130342143, -0.0538517348, -0.0090240166, 0.029548252, -0.0073641911, -0.0170112159, 0.014049463, -0.0215375703, 0.0180210005, -0.0351452157, 0.0301085562, -0.0037832025, 0.0218230914, -0.0183540098, 0.0184131972, -0.020288486, -0.0084778219, 0.0071106455, 0.0010847688, -0.0048132348, -0.006772765, -0.0391264334, 0.013121997, -0.0106064454, 0.0157784279, 0.0094901165, 0.0159893911, -0.0505188443, -0.0195648521, -0.073070094, -0.0423798859, -0.025865918, -0.0297932029, 0.016582327, -0.0141165284, 0.0050039729, -0.0322975293, -0.0018273453, 0.0292898398, 0.0055494863, -0.0048483694, 0.0257648434, 0.0066278791, 0.0186347961, -0.0335430615, 0.0138809914, 0.0200348161, 0.0703741685, 0.021778455, -0.0048157792, -0.0069605862, -0.0060516121, -0.006350243, 0.0135184946, -0.0269134883, -0.0398894772, 0.059769921, -0.0177936684, 0.0617973618, 0.0757185742, 0.0000246192, 0.0356988497, 0.0114861913, -0.0170107186, -0.0405644886, -0.0061143809, -0.0168066006, -0.0390017219, -0.0478003696, 0.0111101801, -0.0046923133, 0.0928628668, -0.007106198, 0.0411418937, -0.079865776, 0.0406007171, -0.0036073115, -0.0609181523, -0.035668686, 0.0160897933, -0.0218886938, 0.0217766389, -0.0525584593, -0.0558865853, 0.009482665, -0.0578110144, -0.0694508553, 0.0172889829, 0.0407262705, 0.0105775492, 0.0761410892, 0.0584914349, 0.0196553599, -0.0058798864, -0.0046274774, -0.0850339755, 0.0144706666, 0.0080715148, 0.0048796153, 0.0405056253, -0.0378863923, 0.0010490654, -0.0094528524, -0.035899017, -0.0286355577, -0.0115837064, -0.0263333432, -0.0076911547, -0.0159701519, -0.0458354875, -0.0316035338, 0.0156067442, 0.03305424, 0.0557000227, 0.0065405653, -0.0262566321, -0.0210639797, 0.0298531111, 0.036334157, 0.0064974949, -0.0285965968, -0.0638653114, -0.0158427693, 0.0626781806, 0.0006074937, -0.0209120773, -0.061394114, 0.0347597413, 0.0247399025, 0.0590292849, 0.0043652789, 0.0240582284, 0.0727155358, -0.033085119, -0.0077980021, 0.0218071695, 0.0132014668, -0.0138061177, -0.0095580863, 0.0022352452, 0.0279046278, 0.0101091564, -0.0138028981, -0.0783904791, -0.0599530414, -0.0044263271, -0.024001142, 0.0455487818, 0.0072505651, -0.0216220319, -0.1057752073, 0.0462790988, -0.014609199, -0.0313500352, 0.0099855214, 0.0465436354, 0.0286562908, 0.0017878732, -0.0009766348, -0.0066088494, -0.0065783886, -0.0023525285, -0.0059635574, 0.0140877105, -0.0624155551, 0.0110218609, 0.0015465997, -0.0123336231, 0.0221023522, 0.0078013805, -0.006713348, -0.033065062, 0.034699142, 0.0247974358, 0.0006188567, 0.0139674433, 0.0678092837, -0.0197401438, -0.0415367708, 0.017414799, 0.0254703909, 0.0127557069, -0.0462460741, -0.0450131148, 0.0006520368, -0.0044995481, -0.034244366, -0.0162789002, 0.0257336963, 0.0095419725, 0.0281586889, 0.0239004008, -0.0641319677, -0.0274130534, 0.0017113801, -0.0022043248, -0.0619427636, -0.0696955249, 0.0082551669, 0.0243611187, -0.0069650891, -0.0875917077, -0.01516678, 0.0415742844, 0.0608944558, -0.0153780505, -0.0481963009, 0.0005175819, 0.0293238424, -0.0316776894, 0.0754936263, 0.0095290607, 0.028660154, -0.0691681355, -0.0105187893, 0.0322015099, -0.0452657565, -0.0283793397, 0.011779869, -0.1105309278, -0.0414794758, 0.005371572, 0.0803933218, 0.0216864031, 0.0297126938, 0.0025120515, -0.0356843211, 0.0384346545, 0.0587205961, -0.0053989878, 0.0396154597, 0.0212280825, -0.049353905, -0.0130106276, 0.0153881526, -0.0287171807, 0.0361753739, 0.0146866944, 0.0168370232, -0.032928858, -0.0417307876, 0.0123940883, -0.0410159566, 0.0720739141, -0.0277598668, 0.024166232, -0.0306738298, 0.0003137148, -0.0202425662, 0.0242503081, -0.1061496511, -0.0003572738, 0.0181497149, 0.0528915823, 0.0181732755, 0.0103204232, -0.0073990212, 0.048491925, -0.0223787948, 0.0213007983, 0.0094173383, -0.0058523128, 0.0098188287, 0.049014695, 0.0273293611, 0.0314109586, -0.0252286606, 0.0499493964, -0.0013897992, 0.0648740456, 0.0194888078, -0.0204866305, -0.0135831116, 0.0396882184, -0.0339238197, 0.0018788356, -0.0430219918, 0.0159578472, 0.0626498163, -0.0163453668, 0.0561797917, -0.0330795422, -0.0127765602, -0.006553127, 0.0666297004, 0.0192669798, -0.0425813384, 0.0441603586, -0.0068440833, 0.0061664353, -0.0085733663, 0.0525529534, -0.0082549807, 0.0161403362, -0.0066994005, 0.0394276865, -0.0493898652, -0.0520608798, 0.0404173471, -0.0157866683, 0.0081290314, 0.0414225757, -0.0286752246, -0.0551848039, 0.0061207516, 0.0233143307, -0.0082362425, -0.008765948, 0.0554689467, 0.0243579, 0.0095002446, 0.0042954911, -0.0150358658, -0.0444592014, 0.0336333402, 0.0168980155, 0.0126272598, -5.84812517e-33, -0.051418446, -0.0300144348, 0.0185129214, 0.0054581151, 0.0038791443, 0.025968492, -0.0422933884, 0.0462835655, 0.0031594636, 0.024629565, 0.0127088185, -0.0042770319, 0.0182121359, 0.0398209542, -0.0261442903, 0.0043365434, 0.0338781066, -0.0251373425, -0.0210149121, -0.0344087407, 0.02772847, 0.0051511386, 0.0636828318, -0.0345275961, -0.0289671086, 0.0216112416, -0.076938957, 0.0033470534, 0.0047505768, 0.0743084401, -0.0008697673, -0.0011921377, -0.0035020614, -0.0022747952, -0.0333170556, 0.0321538523, -0.0516510755, 0.0148362964, -0.0020299142, 0.0544909239, -0.1055800691, 0.0385965593, 0.0442251526, -0.0299501009, -0.0068450952, -0.0323842838, 0.0512597375, -0.0139357969, 0.0128414398, -0.0039620879, -0.0817342252, -0.0017694533, -0.0198648535, -0.0408838056, 0.0424812287, 0.0645953119, 0.0079610869, 0.0060266093, -0.054135412, 0.022406416, -0.0265533198, 0.0272430945, 0.0768659115, 0.0540545583, 0.0026679642, 0.0712056607, 0.0124308448, -0.0220994987, -0.0229564197, -0.0014568319, 0.0815814137, 0.0572562031, 0.031814944, 0.085367389, 0.0273112766, 0.0283778477, -0.0324910879, 0.019012725, -0.0092533892, 0.0457098186, 0.0005501137, 0.0061304253, 0.0125799375, 0.0177480243, -0.0431298167, -0.0047816858, -0.0309923142, -0.0080802236, 0.0490258746, 0.0289237984, 0.0171821043, -0.0031522596, 0.0737954602, -0.0152270477, -0.017606562, 0.0049939724, -0.0471580587, 0.0751448497, -0.0126558421, 0.0113966595, -0.0359685309, -0.015421587, 0.0726982132, 0.0555164777, 0.0310110766, 0.0257756636, 0.045132108, 0.0302147791, -0.0508578569, -0.0081425393, -0.0145230843, 0.0275280569, -0.0071358662, 0.0454005152, 0.0483975038, -0.0106484778, -0.0895693377, 0.026036825, -0.0300321504, -0.0254587922, -0.0396655053, -0.0177546293, 0.0029054137, 0.0225846283, -0.0300196633, 0.0032864173, -0.0404160619, -0.0122551294, 0.0534721427, -0.0563676581, -0.0228511691, 0.0381324664, 2.54e-7, 0.064926438, 0.0267035775, -0.0019511562, 0.0181652103, 0.0092459684, 0.0443861224, -0.0489241667, 0.0201179143, 0.0010898019, 0.0008628782, -0.0138904341, 0.0306260958, 0.0712146685, -0.0073446599, -0.0394336805, 0.0076207626, -0.0501326658, 0.0033964931, -0.0338801518, -0.0040668463, 0.0455647968, 0.0445639268, -0.035351906, -0.0227661226, 0.01850852, -0.0434329398, 0.0873366743, -0.0265642907, 0.0127047505, -0.0141249876, -0.0080825565, -0.0029430697, -0.0156679396, 0.0145069417, -0.0274640117, -0.0081453109, 0.0560223758, 0.0362543985, -0.0284549035, -0.0411546156, -0.0035869014, 0.0545391142, -0.0325203016, -0.0379897542, 0.0510031469, -0.0990027264, -0.0004329795, -0.0045860447, -0.035363771, 0.0118329488, 0.0167186651, -0.0185459573, -0.0586797819, 0.0213832613, 0.0472714417, -0.003050915, -0.0460375622, -0.0755601004, -0.0681013241, 0.000867645, -0.0359581523, -0.029875299, -0.0632148013, -0.0225022044, 0.0176372193, 0.0041561471, -0.0455893613, 1.905363729e-34, 0.0063614543, -0.0008966256, 0.0422650315, -0.0028842378, 0.0011016885, 0.0053237076, 0.0166640505, 0.0078088846, -0.0150162196, -0.0394682847, 0.0003607196 ]
http://arxiv.org/abs/2310.15055v1
http://arxiv.org/pdf/2310.15055v1
Towards Conceptualization of "Fair Explanation": Disparate Impacts of anti-Asian Hate Speech Explanations on Content Moderators
2023-10-23T15:57:41
2023-10-23T15:57:41
Tin Nguyen, Jiannan Xu, Aayushi Roy, Hal Daumé III, Marine Carpuat
cs.CL
cs.CL, cs.AI, cs.HC
Recent research at the intersection of AI explainability and fairness has focused on how explanations can improve human-plus-AI task performance as assessed by fairness measures. We propose to characterize what constitutes an explanation that is itself "fair" -- an explanation that does not adversely impact specific populations. We formulate a novel evaluation method of "fair explanations" using not just accuracy and label time, but also psychological impact of explanations on different user groups across many metrics (mental discomfort, stereotype activation, and perceived workload). We apply this method in the context of content moderation of potential hate speech, and its differential impact on Asian vs. non-Asian proxy moderators, across explanation approaches (saliency map and counterfactual explanation). We find that saliency maps generally perform better and show less evidence of disparate impact (group) and individual unfairness than counterfactual explanations. Content warning: This paper contains examples of hate speech and racially discriminatory language. The authors do not support such content. Please consider your risk of discomfort carefully before continuing reading!
[ 0.0791688487, 0.0437135659, -0.049055066, 0.0018140671, 0.0268460661, 0.0299365129, 0.0977409557, 0.0004991379, -0.0159688871, -0.0226790346, 0.0200385153, -0.0015951084, 0.0141970655, -0.0152165601, 0.0010723755, -0.0763830021, -0.0166934822, 0.0402812064, 0.0653890222, -0.0023130167, 0.0485721566, 0.0058351029, 0.0177209228, 0.0645332187, -0.03513401, 0.0012348988, 0.0341086537, -0.0126684867, 0.0363583341, 0.014443703, -0.0132488767, 0.0196609311, -0.0024485048, 0.0122095076, 0.0000019801, -0.0361820944, 0.0006077352, 0.0015767268, -0.0187441614, 0.020866463, 0.0215928983, -0.029055642, 0.0126036983, 0.0429851487, 0.0284721255, 0.0551490188, 0.0344340466, 0.0309355576, 0.0482548028, -0.0028766815, -0.0164642427, -0.0074425801, -0.0694928691, 0.0062937136, 0.003824675, 0.0081240721, 0.0143863596, -0.046649307, -0.0694966689, -0.0704482719, -0.0315366723, -0.0265009739, 0.0381265581, -0.0040248875, 0.0265495833, -0.0429771952, 0.0074760253, -0.0276444033, 0.0192274116, 0.0472620577, 0.0262387972, 0.0193410013, 0.0144820549, -0.0069948626, 0.024304999, 0.0354181491, -0.0366966911, 0.0040239496, -0.0380874351, 0.0033997616, 0.0208815038, 0.012429365, 0.0567028299, 0.0671278089, 0.0476150736, 0.0478328206, -0.0208291281, -0.0248699561, -0.0468832068, -0.0202405266, 0.0195338819, -0.0215153079, 0.0340167955, 0.0370591506, -0.047798954, 0.0171122551, 0.0274225567, -0.0361392796, 0.0055508944, -0.0622189119, 0.0230412129, 0.0645218045, -0.033253178, 0.0147440946, 0.0503966287, 0.0857812911, -0.0182661209, 0.0507332124, 0.0095838914, -0.01411313, -0.0012015484, 0.0191417038, 0.0243913084, -0.0490183011, -0.0250499006, 0.0584549829, -0.0281561054, -0.0192965679, -0.0816588029, -0.0203524902, 0.0073172804, -0.0019753492, -0.0122706639, 0.0038801765, -0.0619552508, -0.0000667043, -0.106323719, 0.006153943, 0.008385173, -0.0419998802, -0.0118249413, 0.0396609679, -0.0358209647, -0.0110406475, 0.0026654026, 0.0312196594, 0.0486201234, 0.0203263406, -0.0445741527, -0.0223729592, -0.015867969, -0.0581920929, -0.0070978589, -0.0046118246, 0.0126760835, -0.0045779017, -0.0258626007, -0.0406256467, -0.012251473, -0.0065997625, -0.0235796906, 0.0741384029, 0.0159837641, 0.0244604908, 0.0289263669, 0.0675256103, -0.0590117052, 0.0412585661, -0.0031615421, 0.0372697189, 0.0419465825, -0.0479542501, 0.0121902125, -0.0217143837, 0.0098000458, 0.0233690739, -0.0283936411, 0.0143312607, -0.0877314806, -0.0093868906, 0.0227399357, 0.0306887124, -0.0100788837, -0.0031325964, 0.0145666692, 0.0622350238, -0.0369343832, 0.0501401909, 0.0502998792, -0.0049194461, -0.0486828163, 0.0315201618, -0.095842734, 0.0181981791, -0.0069818241, -0.0510100387, 0.0493063889, 0.0471298099, -0.0467997901, -0.0660474449, -0.0268478002, -0.0013741176, 0.0763381571, 0.0005522142, 0.0075839753, -0.0040833247, 0.0105136083, -0.0000049291, 0.0422326773, 0.0157620031, 0.0247450303, -0.0703167021, 0.0142938057, 0.0683820844, -0.0141431419, -0.0249558799, 0.0280372445, -0.0432279147, 0.0140319187, 0.0466707684, 0.0767413303, 0.0027319076, -0.0142105855, -0.0200895146, -0.030245604, -0.0007655043, 0.0349915996, 0.0430931896, 0.0379438959, 0.0127650723, -0.000033174, 0.003626382, -0.0436895527, 0.0194156859, 0.04306053, -0.0265842229, -0.0356055237, 0.0183272455, 0.0558033586, 0.028392639, -0.0071609351, -0.0157805569, -0.0284717493, 0.008185436, -0.0300140213, 0.0508215576, -0.0523205958, 0.0632654652, 0.0196033232, -0.0444788523, -0.0016657856, 0.0304729603, 0.0107802153, 0.0264462754, 0.0512154289, 0.0426757559, -0.0400944799, -0.0134883467, -0.0072856313, -0.0614866503, 0.0209564939, -0.0246884059, 0.0467799157, -0.0279770903, 0.0301255099, 0.0520435236, -0.0674466789, 0.0317292288, 0.0353882834, -0.0044648284, -0.0212237742, -0.0395928062, -0.0106851999, -0.0031227495, -0.032645233, -0.019283969, 0.0519598462, -0.0718416274, -0.0317388736, -0.0414959639, -0.0100333085, 0.0219310708, -0.0029107982, -0.0134306643, 0.0013206064, 0.0040354007, -0.0475077815, 0.0040924735, 0.0390193574, 0.0029372957, -0.0293295383, -0.046930287, -0.038772095, -0.0258291345, -0.0338761099, 0.0032844907, 0.0578973517, -0.0248495266, -0.0233131368, -0.053910356, -0.0564012714, -0.0251598302, -0.0175549462, -0.0560173206, 0.0340130143, 0.0549267121, -0.0260310099, 0.0200143717, 0.0506803878, 0.1017288044, 0.0424282178, 0.0343394466, -0.000729481, -0.0149735175, 0.0069220741, 0.0128142638, -0.0168991014, -0.058165241, -0.0100124851, 0.0840025842, 0.0386236757, -0.0009871472, -0.0741031542, -0.000482293, -0.0964476317, -0.0708116367, -0.021312369, -0.1006212011, -0.0072086486, 0.04487231, -0.0541281328, -0.0511661842, 0.0663298815, 0.0034050543, 0.0235776566, 0.0073269713, -0.0105319023, -0.0237630736, 0.032915961, -0.0544235259, 0.0373547152, -0.0019389188, -0.0222060718, 0.0108992914, -0.0691019669, 0.0776913241, -0.0271060504, -0.0281041712, -0.0274490602, -0.0288890377, -0.0031958537, -0.0282884669, -0.0517686009, -0.0500019304, -0.0282731466, -0.0071084583, 0.0368195474, -0.0080631059, -0.0249919165, 0.045074746, 0.0448272675, -0.0368024036, 0.0101668555, -0.0059474288, 0.0532844104, -0.1054362655, -0.0267638471, 0.0731020719, 0.0569177903, -0.0360159539, 0.0215312093, 0.016981557, 0.0002062552, -0.0063683004, 0.0430728942, 0.0151362959, 0.0046699564, -0.0075861076, 0.0021421115, 0.0076061445, 0.0695063993, -0.0139860893, 0.0384146273, 0.0753307194, 0.0251420606, -0.0381691754, -0.0097523276, -0.0341839083, -0.027837567, 0.0155930109, -0.0153941717, -0.0598138869, -0.0028136317, 0.0229768734, 0.0428808145, -0.069501467, -0.030912295, 0.0277754609, -0.0054808855, 0.0342280418, -0.0060115536, -0.02435592, -0.0766101852, -0.0489571691, 0.0084881168, -0.0041029099, 0.023760207, -0.0284792203, 0.0812143162, 0.0063025812, 0.0256399866, -0.0370103382, 0.0066709556, 0.0041223653, -0.0392746888, 0.0126808304, 0.0066793286, 0.0333522484, -0.0066196583, -0.0086957486, 0.0235314947, 0.0046862466, 0.002151289, -0.0292986967, 0.056895785, 0.0133762453, -0.0217970312, -0.0450330116, 0.0490570255, 0.0008886794, 0.0175268184, 0.0038473685, 0.0608321689, 0.0575182438, -0.0004452434, -0.0354583189, 0.0000141087, 0.0108593265, 0.0681006983, 0.0601332635, -0.0424952395, 0.0320245624, -0.0912458226, 0.001725252, -0.0275827255, -0.0679674596, 0.018248817, 0.0288358666, -0.0224680994, 0.0072769905, -0.0546140373, -0.0267502293, 0.0000395805, 0.044804275, -0.0317753553, -0.0262017623, -0.0299067255, -0.0071602268, 0.0216502808, 0.0122625185, 0.0385697484, 0.0337913744, -0.0134900073, -0.0797444135, -0.0232825186, -0.0065366733, 0.0076217838, 0.0336676128, -0.0122493356, 0.0594783016, 0.0215807669, 0.0203070454, 0.0215655491, -0.0107869646, -0.0312374234, -0.003014503, 0.0016845881, -0.0112098986, -0.0155781405, 0.0523384809, -0.0093843509, 0.0322332755, 0.0109330211, -0.0150295654, 0.0289270878, 0.034321323, -0.0223686229, 0.002178299, 0.0059878197, 0.0065232562, -0.0061866976, 0.0144162411, -0.0234805699, -0.0816687495, -0.0119597288, -0.0379575193, 0.0087715043, -0.0459471121, 0.0179184657, -0.0224832334, -0.0065481588, -0.0228504706, -0.0236345343, 0.0170156825, -0.0385377444, -0.0379700102, -0.048695121, 0.0523315072, -0.0235476959, 0.0342155136, -0.0310362447, 0.0282586645, -0.0105106467, 0.011923505, -0.0013964985, -0.0032681446, 0.021760907, 0.0640720949, 0.0324732475, 0.033563707, 0.0290828329, -0.0560693927, -0.0101476703, -0.0417223424, 0.0455984883, -0.0146719366, 0.0106475065, -0.0335281454, 0.0009726083, 0.0471734889, -0.0194390062, -0.0007993544, 0.0267948247, 0.0227494687, -0.0061785681, 0.0228853058, 0.020356074, -0.0068429923, 0.0018665814, 0.0013220276, -0.0280947369, 0.0217209794, -0.0110932663, -0.065217942, 0.0173013657, -0.0159019232, -0.0138753839, 0.0611704588, 0.0088066133, -0.0073035234, -0.0974501669, -0.0306007136, -0.0557692274, -0.0338189043, 0.0184888709, -0.0327691734, -0.0305939447, 0.0713885203, -0.0143582514, -0.0077192527, -0.0056378213, 0.0219075438, -0.0424877591, -0.0066144047, 0.017950071, -6.16967467e-33, 0.0031899989, -0.063675724, -0.0286810212, -0.0195703432, -0.0038816852, -0.0184695087, -0.0092064831, 0.0075609065, -0.0432763062, 0.0359280221, 0.0012830828, 0.0204254463, 0.0082340632, -0.0308258198, -0.01315575, -0.0569564998, 0.0364644378, 0.003674417, -0.0400984921, 0.0284511633, -0.0177210886, -0.0122974329, -0.0027102304, -0.0691675842, 0.0746961087, 0.0324073322, 0.003513023, 0.0156619828, -0.0113880215, 0.0667425841, -0.0063575567, 0.0868514106, 0.0525525734, -0.016245747, 0.0298767351, 0.0232127663, -0.0641692206, -0.005457426, 0.0797129571, 0.0018699691, -0.0095516527, -0.0197237022, 0.0109489011, 0.0231263135, -0.0196220167, -0.038372878, 0.0459723398, -0.0120007424, 0.0182694066, 0.0067647616, -0.0295959227, 0.0094084656, -0.0595942885, -0.007402468, 0.0010422643, 0.0329460762, 0.0208582189, 0.0325434469, -0.0270370729, -0.0152511643, 0.0035305452, -0.039109353, 0.0226352401, 0.0126208551, 0.0033317844, 0.0375723466, 0.029352136, 0.0671595484, -0.0893702731, -0.0632765666, -0.0006235838, -0.0053719259, 0.052491378, 0.0573558956, 0.0538674556, -0.0943156779, -0.0395709351, 0.00214314, 0.0012226847, 0.0130916201, 0.0357440412, -0.0028518096, -0.0916613117, -0.0307451952, -0.0305403452, -0.057126902, -0.0557023063, -0.0152199613, 0.038440451, -0.0008107891, -0.0581075661, -0.0293491818, 0.0207278766, -0.0377861261, 0.0565387495, 0.0399227105, 0.0322461538, -0.0414310247, 0.0437942296, -0.0199001823, -0.0363001749, 0.0049687088, -0.0246506929, 0.0089100199, 0.0565968081, -0.0136564234, 0.0236232113, 0.0301902946, 0.003804245, 0.0148698818, -0.0300601069, 0.0155111207, -0.0195515137, -0.0049909875, 0.0098335212, 0.0595803037, -0.016374262, -0.0486542098, 0.0673264489, 0.001718143, -0.0147692114, 0.0040964219, -0.0424530432, 0.0068471595, -0.0378622748, -0.0368722193, 0.0192171615, -0.0060747606, 0.0291113053, -0.0679593459, -0.0045917598, -0.0698636696, 2.616e-7, -0.0085327309, 0.0093511725, 0.011032464, -0.0131945834, 0.0425897352, 0.0257565379, 0.0430167355, -0.0104110921, 0.0014986027, 0.0001718212, 0.0047153342, 0.0778385997, 0.0287989601, 0.0116943121, 0.0459134504, -0.027261693, -0.0243312232, 0.0170868859, -0.0290184896, 0.0542023517, 0.0028514033, 0.0047556683, 0.0443078354, -0.0004242518, -0.0091235423, 0.0077046487, -0.0124790287, -0.049317684, 0.0372538753, -0.0309295636, 0.0798791721, 0.0253030974, 0.0239639282, -0.0082112616, 0.0260368753, 0.0129624503, -0.0018234409, 0.0202369634, 0.0202459656, 0.0177732706, -0.0236927234, -0.0014534545, 0.0349034816, -0.0717163831, 0.0399821699, 0.0168121979, -0.0532074235, -0.0329758786, -0.018865196, -0.0376895256, 0.0221410785, 0.0174200665, -0.0256117918, -0.0187883601, -0.005537265, 0.0045365901, 0.0232962333, -0.0519163758, -0.0339685269, -0.0445792452, -0.0065281116, -0.0176422168, -0.0241804514, -0.0374962874, 0.0142688612, 0.0282410439, 0.0506368801, 2.094585144e-34, 0.015772555, 0.0095946733, 0.0085961465, -0.0362400934, 0.0324976519, 0.030262975, -0.0452160388, -0.046585314, 0.0556802191, 0.0047028298, -0.0376175046 ]
http://arxiv.org/abs/2310.15040v1
http://arxiv.org/pdf/2310.15040v1
SLOG: A Structural Generalization Benchmark for Semantic Parsing
2023-10-23T15:39:09
2023-10-23T15:39:09
Bingzhi Li, Lucia Donatelli, Alexander Koller, Tal Linzen, Yuekun Yao, Najoung Kim
cs.CL
cs.CL
The goal of compositional generalization benchmarks is to evaluate how well models generalize to new complex linguistic expressions. Existing benchmarks often focus on lexical generalization, the interpretation of novel lexical items in syntactic structures familiar from training; structural generalization tasks, where a model needs to interpret syntactic structures that are themselves unfamiliar from training, are often underrepresented, resulting in overly optimistic perceptions of how well models can generalize. We introduce SLOG, a semantic parsing dataset that extends COGS (Kim and Linzen, 2020) with 17 structural generalization cases. In our experiments, the generalization accuracy of Transformer models, including pretrained ones, only reaches 40.6%, while a structure-aware parser only achieves 70.8%. These results are far from the near-perfect accuracy existing models achieve on COGS, demonstrating the role of SLOG in foregrounding the large discrepancy between models' lexical and structural generalization capacities.
[ 0.0376557112, 0.0442064553, 0.0187598448, 0.0174219087, 0.0201922748, 0.0441418625, -0.0298049934, -0.0335515887, -0.057625968, -0.0273851939, -0.0309482832, 0.0114070065, -0.0425527953, 0.019117061, 0.0190734807, -0.0408164263, 0.0542053021, 0.0092753507, -0.0117606353, 0.0250573773, -0.0000055528, 0.0150026316, 0.0258114692, 0.0364158936, -0.042125836, -0.0224379674, -0.0116918404, 0.0058000199, -0.0172727983, -0.0310244672, 0.0243095085, 0.0117623955, 0.0002255608, 0.0175960511, 0.0000018803, -0.056375172, -0.0442943946, 0.0106079616, -0.0094620995, -0.0218475722, 0.0355825014, -0.101238355, 0.0174413081, -0.024296822, -0.0468145311, -0.0618401505, 0.035685882, 0.0429418087, 0.052533105, 0.0994417071, -0.0192618296, -0.072748214, 0.0115134111, -0.0324604809, -0.0014418248, -0.0263185203, -0.0066123963, 0.0277524665, -0.0441531241, -0.0214320868, -0.0432792902, 0.0159034207, 0.0233551972, 0.0064193509, 0.0160297994, 0.01827324, -0.0504135713, -0.0263544526, 0.0113673164, 0.0508138202, -0.0036144038, -0.0310119037, -0.0007768833, -0.001169908, 0.015108862, -0.0076946756, -0.058010608, 0.0305574276, -0.0188907236, 0.0299363192, 0.0478524491, -0.0159661416, 0.0294259749, 0.0057115112, -0.0260838978, 0.09089946, 0.0065557002, -0.0230997577, 0.0395293497, 0.0505758598, -0.0355562866, -0.0156564526, 0.0039872988, -0.0046701338, -0.0528509766, 0.0073752506, -0.0335480087, -0.0466248468, -0.0118943006, -0.0196624137, 0.029608462, 0.0349897705, -0.005629661, 0.0470112786, -0.0397076048, 0.0691647828, -0.0400070623, 0.0601228923, -0.0679169372, -0.020633895, -0.0725391954, -0.0045199487, -0.05808869, 0.0700874627, -0.0340002403, -0.0194378905, -0.0392150916, 0.0045583234, -0.0073764701, 0.0244143121, 0.0407113805, 0.0235500988, -0.0789411888, 0.0123084616, 0.0225996356, 0.0200070199, -0.0345269553, 0.0095734568, 0.0141992243, -0.038371332, -0.0249733962, 0.0051532337, 0.0213822331, -0.0403144248, -0.0059459144, 0.0372850262, -0.0224941876, -0.0055892579, -0.0185715836, -0.0188832711, -0.0172797274, -0.0228521544, 0.0298616365, -0.0464703701, 0.0306005422, 0.0147383278, 0.023790786, -0.0084108124, -0.0174950026, 0.0002882244, 0.0019212239, 0.0323157571, 0.0112175774, -0.0206092577, -0.0314808153, 0.0020307514, -0.0289512146, 0.0506730787, -0.0075995359, -0.0226347819, 0.0186074954, -0.0096615078, -0.0393812433, 0.027020853, -0.0200549774, -0.0283879805, 0.0186148174, -0.0010287263, -0.0107770683, 0.0012180313, 0.0305055473, 0.0310253445, -0.0394372791, -0.0262781214, -0.0089502214, 0.0216906238, 0.0053355815, 0.0284828208, 0.0821672305, -0.0044609192, -0.0064497809, 0.0133449584, -0.0748800114, -0.0633657947, -0.0065815398, 0.0334876478, -0.074430868, 0.014892363, -0.0179482736, -0.0125972955, -0.0061158803, -0.020083461, 0.0270240866, -0.0575937703, 0.0610470399, 0.0886031911, -0.0064249928, 0.0724125057, 0.0356150828, -0.0640684962, 0.0090459445, 0.0122182835, 0.0190095399, 0.0044476911, 0.0250244532, -0.0301059745, -0.0356330127, -0.0068816887, 0.0223176051, 0.0047803223, 0.0336013511, -0.0248050056, 0.0572050251, -0.0276765004, -0.007684906, -0.0345084034, 0.0428033471, -0.0059510795, 0.0173382685, -0.0561351776, 0.0283477679, -0.0582856089, 0.0043509444, 0.0519387461, -0.0071660588, 0.0006850121, -0.0212558452, -0.0244840942, 0.012783125, 0.0131400349, -0.0001342001, 0.0092959646, 0.0220952723, -0.048772078, -0.0288179088, 0.0420138761, -0.0653508678, -0.0472311638, 0.033132609, -0.0581112877, -0.0165978577, 0.0422465317, -0.0741049051, -0.0268236622, 0.0176277328, 0.0022965674, 0.0622444898, -0.0006796691, 0.0265727751, 0.0233465396, -0.0095326845, -0.039988704, 0.0487519056, -0.0115268324, 0.0112956725, -0.0193430632, -0.0198716428, 0.0064551695, -0.0312301144, -0.0522432737, 0.0136677409, -0.0432939939, -0.0448787659, 0.0081780981, 0.0223175045, -0.0808222219, 0.0017073209, -0.0703482181, -0.0084194122, -0.0303550344, 0.040715266, 0.0760017186, 0.0075172586, 0.0254736841, -0.0300463345, -0.0094254268, -0.0102550332, 0.0042113243, 0.0079756901, 0.0343062356, 0.0050210361, -0.0263615865, -0.0431795418, -0.0280794837, -0.0343171805, 0.0678279623, 0.0105814394, -0.0114785992, -0.0106694382, 0.0077585592, -0.0015412249, 0.0214935448, -0.0098821018, -0.0127423443, 0.0057756943, -0.0444823429, -0.0124552315, 0.0386434756, -0.053461697, 0.0007920566, -0.006774548, -0.0120674744, -0.064438507, 0.006012796, -0.0248197541, 0.0000899008, -0.0807706341, 0.0031759986, 0.0199966319, 0.1292195171, -0.0027827285, 0.0286606904, -0.0229205899, -0.013092787, -0.0649256408, -0.0235210396, 0.0042748251, -0.0100678904, -0.003556062, -0.0017316864, -0.0437463485, -0.0078364331, 0.0341426022, -0.0064004669, -0.0534916557, -0.0385521539, 0.006467009, -0.0466150679, 0.0762565061, 0.040476948, 0.0010483388, 0.0250513405, -0.0587098636, -0.0327245556, 0.0009022183, 0.0309401546, 0.0127621749, 0.0723575428, -0.0362818502, 0.0111539317, -0.0016426821, -0.0466807373, -0.0204211473, -0.0222251285, -0.0485933684, -0.0046250885, 0.021082256, 0.0016897338, -0.011938341, -0.0387884565, -0.0418171957, 0.048787158, 0.0184777342, -0.0241991505, -0.0258015953, 0.0238416791, 0.0205614194, 0.0246569291, -0.0031919968, -0.0119659575, 0.0160037819, 0.0744527429, 0.0034096409, -0.0215142313, -0.0723353624, 0.0230129957, 0.0034062902, -0.0262965821, -0.052526515, -0.0211195536, 0.0593735017, -0.0527428612, -0.0327737741, 0.095686473, 0.0447776504, 0.0077151111, 0.0345021077, -0.0015982798, 0.0412165001, 0.0480177626, 0.0039542913, -0.0871833265, -0.0505896322, 0.0323914662, -0.0293385442, 0.0207688175, -0.0445682779, 0.0244000163, -0.0938262716, 0.0021333257, 0.0055009867, -0.009549994, 0.0282172486, 0.0101892473, -0.0112691326, -0.0811606869, -0.0009891866, 0.0019987361, -0.0433290042, 0.0248108897, 0.0267534219, -0.0464914106, -0.002151934, 0.0021845764, -0.0423680209, -0.0137349693, 0.0439766683, -0.0349309109, -0.0160210244, -0.0046037892, 0.083247222, 0.0305394139, 0.0277568623, -0.0124649657, 0.0200977456, 0.0118561117, -0.0083055878, 0.0256733485, 0.0330591798, -0.0613171943, -0.0149150938, -0.0125625618, 0.0461004712, 0.0186796114, -0.0210696515, 0.0114693092, -0.0068545369, -0.0423995443, 0.0507193841, 0.0288579985, -0.0029365085, -0.0523847453, -0.0707263947, 0.0174291227, -0.044481758, 0.0221424326, 0.0530316792, 0.0381270014, 0.0067285709, -0.0808954909, -0.0455273464, 0.0243764501, -0.0147642074, -0.0281802677, -0.0431783237, 0.0105065918, -0.0358741693, -0.0194465797, 0.0605893694, -0.0276660714, -0.00624855, -0.0500579625, 0.0206279904, 0.011504828, 0.0093870033, -0.0715256557, -0.0270237233, -0.085382469, -0.044936195, 0.0529572032, 0.0486849472, 0.0198531691, 0.0446498729, -0.0354148783, -0.010673617, -0.0212470908, -0.0018124337, -0.0563188978, 0.0409859531, 0.0663933009, -0.0136661958, 0.0272675529, 0.0339197181, -0.0265993588, 0.0263410639, 0.0125661492, 0.0449672602, 0.0067819268, 0.0403753407, 0.0652361885, 0.0406522825, 0.0339659676, 0.0304146875, 0.0754235387, 0.001566988, 0.0179565735, -0.0099231284, -0.0155678866, -0.069039911, -0.0043019117, 0.066333808, 0.0148644224, 0.0088661006, 0.0366822705, -0.0191517677, 0.0703860149, -0.0704176202, -0.0093082581, 0.0586440302, -0.0295388084, 0.0087564532, 0.0125914225, -0.0104778325, 0.0184035171, -0.0072898176, 0.0104088839, -0.0208771694, -0.0094384532, 0.0154171223, 0.0355511121, -0.045096565, -0.0112250242, -0.0468406416, 0.0035360414, -0.0147890467, -0.0416343957, 0.0417772867, -0.0352639556, 0.080859594, 0.0122131919, -0.0028763278, 0.0030993745, 0.0460287444, -0.0075659384, -0.0311033502, 0.0569288544, 0.0024514152, -0.0063560391, -0.0463083163, 0.0822002366, -0.0043860222, 0.0571309812, -0.0016957633, 0.0147541407, -0.0494473055, -0.0287773833, 0.0056623011, 0.0073254881, -0.0155218737, -0.0083464477, -0.0142850978, -0.0380205847, 0.0114727626, -0.00390011, 0.0142390793, -0.0077580269, 0.0430587977, 0.0670072213, 0.0124121001, -0.043040935, 0.0222452916, -0.0703736842, 0.0404125378, -0.0034334646, -0.0425838605, -6.078169047e-33, -0.0056733685, 0.035825979, 0.00787869, -0.004897105, -0.0144886319, 0.0050471467, -0.0288878102, 0.0287717283, -0.0216834527, 0.0467903651, -0.0137316659, 0.0261755381, 0.0167403314, 0.053549476, 0.0456321836, -0.0320059583, 0.0567739643, -0.0016323768, -0.0026921663, -0.0231259782, 0.0159137361, 0.0517230779, 0.1108928323, -0.0411291309, 0.0078015248, 0.0334635638, -0.0274937451, 0.0175966062, 0.0125279976, 0.0518177077, 0.0273382366, -0.0000241046, 0.0421501733, -0.0254521836, -0.0390965305, -0.0101020252, -0.1086542532, -0.0132874362, 0.0366944633, 0.0287238285, -0.0638494268, -0.0172060765, 0.028037671, -0.0206278078, 0.027194269, -0.0294343885, 0.0157696847, -0.0198189486, 0.0091298623, -0.0227135308, -0.043039877, 0.0270761717, -0.0188741796, 0.0487810187, -0.0086581996, 0.0402057692, -0.0190808438, 0.0462085307, -0.0237072837, -0.0044653742, -0.0157807712, 0.0247331001, 0.0407178625, 0.0088197654, -0.0151185496, 0.0435801782, 0.0050505185, -0.0374929458, -0.0324700437, 0.0333580375, -0.0092056347, 0.0669098794, -0.0004484387, 0.0268671233, 0.0508664176, 0.029017549, -0.0515446551, -0.013696894, -0.0036493267, 0.084205389, -0.0233141948, 0.0296435654, -0.0200934689, -0.010629829, -0.0473135151, -0.0067037735, -0.0108179003, -0.0162051897, 0.033219222, 0.020654114, -0.0042125527, 0.0291477107, 0.0115396976, -0.0493440256, 0.0278497711, 0.0136061944, -0.0038701764, 0.014820707, -0.0041084811, 0.0026735803, -0.0514994636, -0.066347681, 0.0164503865, 0.0012546063, 0.0393592976, -0.0148028741, 0.0851829499, 0.0096325418, -0.0331189185, 0.0154000493, -0.0349259153, -0.0055943779, -0.0321110226, 0.0456729233, 0.0509526618, 0.0156699345, -0.0468154177, 0.0736514851, 0.0125220129, 0.0410475284, -0.0354379341, 0.0209000707, 0.0408159345, 0.035736803, -0.0016986192, -0.0200987235, -0.0122566521, -0.0351348817, 0.0841122419, -0.026184734, -0.0141775394, 0.0272357073, 2.547e-7, 0.0903540403, 0.0151297851, 0.0442127846, 0.007105113, 0.0176168494, 0.0155938314, -0.0004898805, 0.0271797068, -0.0221870858, -0.0318841413, -0.0265652556, -0.012227051, 0.0241364948, 0.0210093446, -0.0868836343, 0.0095479414, -0.0900313631, -0.0152024794, -0.008119517, 0.0053892317, 0.0130569786, 0.1086249575, -0.0156612862, 0.0029945036, -0.0025519328, -0.0692597777, 0.0516625196, -0.02300849, 0.0008328096, 0.0385545082, -0.0132134045, 0.0243554916, 0.0318047553, -0.0022106636, -0.0109807784, 0.0390414931, 0.0404139794, 0.052137278, 0.0072810343, 0.0554809719, 0.0218271688, -0.0376198813, -0.005576869, -0.0323948823, 0.0537316352, -0.0970584676, -0.0000055242, 0.0026910133, -0.0553863831, 0.0380751826, -0.0234191418, -0.0038558829, 0.02843263, 0.0139755532, 0.0616341569, -0.0061108205, -0.0459145829, -0.0366222039, -0.0600472763, 0.0160998013, -0.00649396, -0.006223687, -0.0068452884, -0.0214604046, -0.0033254232, -0.026338039, -0.0340076946, 2.305637349e-34, 0.0328731127, 0.0054686191, 0.0380603373, 0.0183558762, 0.0458606407, -0.0340978391, -0.0485385433, 0.0036969974, -0.0265823416, -0.0748010203, 0.0220093094 ]
http://arxiv.org/abs/2310.15021v2
http://arxiv.org/pdf/2310.15021v2
Efficient Data Learning for Open Information Extraction with Pre-trained Language Models
2023-10-23T15:19:24
2024-06-26T08:23:10
Zhiyuan Fan, Shizhu He
cs.CL
cs.CL, cs.AI
Open Information Extraction (OpenIE) is a fundamental yet challenging task in Natural Language Processing, which involves extracting all triples (subject, predicate, object) from a given sentence. While labeling-based methods have their merits, generation-based techniques offer unique advantages, such as the ability to generate tokens not present in the original sentence. However, these generation-based methods often require a significant amount of training data to learn the task form of OpenIE and substantial training time to overcome slow model convergence due to the order penalty. In this paper, we introduce a novel framework, OK-IE, that ingeniously transforms the task form of OpenIE into the pre-training task form of the T5 model, thereby reducing the need for extensive training data. Furthermore, we introduce an innovative concept of Anchor to control the sequence of model outputs, effectively eliminating the impact of order penalty on model convergence and significantly reducing training time. Experimental results indicate that, compared to previous SOTA methods, OK-IE requires only 1/100 of the training data (900 instances) and 1/120 of the training time (3 minutes) to achieve comparable results.
[ 0.0615310594, 0.0814287886, 0.0456023365, 0.0413432494, -0.0527616926, 0.0160693843, -0.0089968387, 0.0055742925, 0.0107739735, -0.0793570355, -0.0332784466, 0.0055284109, -0.0526681393, 0.0654165968, -0.0290562958, -0.0121337883, 0.0356681049, -0.0232540164, 0.0261441395, 0.0123311151, -0.0252566095, 0.0215715487, -0.0050370889, -0.0166783966, -0.0032513153, 0.0166862458, -0.0149100777, -0.0206819177, 0.00194614, -0.018297758, 0.0156530607, 0.0540877059, 0.0002130292, 0.0218934771, 0.000001992, -0.0624250658, -0.0652690083, 0.014280146, -0.0526942387, -0.0041044625, 0.0264428239, -0.008946809, 0.0056779836, 0.0087736826, -0.0357503444, -0.0530310832, 0.0549454316, 0.0831204429, 0.048470702, 0.0960354954, -0.0199939273, -0.0502677932, 0.0269580372, 0.0035044891, -0.007028061, -0.0099138543, 0.0460766405, -0.0177835543, -0.0337280445, 0.0275678299, 0.0368745327, 0.0111668743, 0.0200886466, 0.0240964293, 0.0160386208, 0.0607375205, -0.0403432809, -0.0304597877, -0.0558844022, 0.1132248119, -0.0122849923, -0.0094016194, 0.0203651432, 0.0028485614, -0.0238615759, -0.0032815346, -0.0349488892, 0.0395934768, 0.0039487276, 0.0479429103, 0.0484980047, 0.004074485, -0.0073513943, 0.0113604805, -0.0395917259, 0.0854583085, 0.0181314535, -0.0431081764, 0.0491859727, 0.0169915091, 0.0008341941, -0.0261574257, 0.0028350058, 0.0060384786, 0.0146309324, 0.0192249138, -0.0472474471, -0.0586501285, -0.0206903405, -0.0420127697, 0.0325105451, 0.0016922532, -0.0512850918, 0.053354159, -0.0455503054, -0.0156831238, -0.0277291033, 0.0289681442, -0.0381949916, -0.0112917824, -0.0321849622, -0.0013094456, -0.0487270243, 0.0847783312, -0.0758410096, -0.0438691042, 0.0005268561, 0.02717961, 0.0138519285, -0.0360835381, 0.010915935, -0.0056645027, -0.0187459663, 0.0003762616, 0.0008140102, -0.0058842241, -0.0080788676, 0.0071523213, -0.0132593075, -0.0491828881, -0.0365407765, 0.0142502077, 0.0559458211, -0.0019897183, 0.0099752331, 0.0194202606, -0.00565144, -0.027539758, -0.0589026436, -0.046877455, 0.0189299732, -0.0509473532, 0.0139224073, -0.063103281, 0.0290970486, 0.0067347018, -0.0474512354, -0.0261994563, 0.0407306477, 0.0175651759, -0.0619331859, 0.0333089679, -0.0676558092, -0.0282703619, -0.0237814579, -0.0115236258, 0.0625315756, 0.0502444021, 0.0031467127, 0.0343255699, 0.0411029384, 0.0314500071, -0.0085280873, 0.0467426032, 0.0508823767, -0.0239138268, 0.035210494, 0.0266724825, 0.0419161767, 0.0133396843, 0.0277343187, 0.0671334639, -0.0143835107, 0.0309828427, 0.0367515832, 0.0131438626, 0.0248018708, -0.0097723901, 0.029964136, 0.0260506887, 0.0014855746, 0.0022857578, -0.0094919773, -0.0131209698, -0.0282864347, 0.0272424705, -0.0146595966, 0.0238480438, -0.0020895782, -0.0287996791, -0.0174316186, -0.0194211546, -0.0374661461, -0.0030450055, 0.0502878726, 0.0395732671, -0.0572803356, 0.0755906329, 0.0604725815, -0.0627723113, -0.0359323323, -0.0426766463, 0.0389262959, -0.0233600084, 0.0131984213, -0.0668107048, -0.0125269936, -0.0153376264, 0.0120727634, 0.0278792251, 0.0400328487, -0.0094946949, 0.0011315509, -0.0213537905, -0.0269290302, 0.0066666077, 0.0006742199, 0.0042579849, 0.0343491919, -0.0057582892, 0.0444764234, 0.0339588076, -0.0165931042, 0.0673428923, 0.0119043598, -0.0566472895, 0.0374096297, 0.0213927515, 0.0545895323, 0.0191531442, -0.0304213241, -0.0114680938, 0.054081548, -0.0194357876, -0.023856245, -0.0100799119, -0.0483792908, -0.0334802307, 0.0278770253, 0.0173815507, 0.001522043, 0.0181682557, -0.0636356175, -0.0232747532, -0.0048514376, 0.0263275243, 0.0424239412, -0.0519350469, -0.0054246443, 0.0595536269, 0.0114689991, -0.0486170389, 0.0965384617, -0.0051531214, -0.0089527192, -0.0013923978, -0.0373837799, -0.0036100443, -0.0021000523, -0.0056807436, 0.0185365938, -0.0103281522, -0.0048350855, -0.004526611, 0.0413265936, -0.0655247271, -0.0508759022, -0.1104551628, 0.0308842007, -0.0304891281, 0.0453302898, 0.0229974091, 0.0411482155, -0.0348641537, -0.0094410684, -0.0288835708, -0.0027343256, -0.0074852994, -0.0121073127, 0.0232999362, 0.058096204, -0.0241633151, -0.0058084549, 0.0066081365, -0.0157169476, 0.0618674941, 0.0070769493, -0.0169491395, -0.0148097444, 0.0325765349, -0.0289413277, 0.0611558147, 0.0275047012, 0.0088415109, -0.0168801975, -0.0440576226, 0.037946701, 0.0438441001, 0.0046009207, 0.0520733893, 0.014659211, -0.013074425, -0.0081409551, 0.0237968769, -0.0552630424, 0.0027240426, 0.0156936646, 0.0154744042, 0.0418453999, 0.0154594025, 0.0243275445, -0.0060184374, 0.0191365704, 0.0205549672, -0.0049155331, -0.034500964, -0.0389074571, 0.0249077212, -0.0286623593, 0.0206947103, -0.0374216735, -0.0035532068, 0.0354826525, -0.0219427533, 0.0019092116, -0.0501949675, 0.0089903325, -0.0645685866, 0.0650159642, 0.007062641, 0.0268369298, 0.0528632849, -0.0283737369, -0.0061290255, 0.0110795721, -0.0060319169, -0.0135547193, 0.0250150841, -0.0532678477, -0.0099610109, -0.0047574104, -0.0236153174, -0.0442194305, -0.0689884871, -0.0066305916, -0.0060030469, -0.0189691987, 0.0180768967, 0.0008542874, -0.015514303, -0.014118162, 0.0623498, -0.0158954225, 0.0171578303, -0.0333229601, 0.0597070344, 0.0498369746, -0.017976325, -0.040195819, -0.0180016346, 0.0152284009, 0.0557667241, 0.0191142093, 0.0004845452, -0.0173972994, 0.0027108428, 0.0255242698, -0.0575273149, -0.0133905029, 0.0018113959, -0.0002317565, -0.0301256832, -0.0042028623, 0.121335417, 0.056234993, 0.026768608, -0.0209730007, 0.0100728096, 0.0624764413, -0.005263438, 0.0078388052, -0.0900000781, -0.0427459665, -0.0125694238, 0.0175526217, -0.0133402133, -0.0323502161, -0.023513237, -0.1177213639, 0.0509002991, -0.0096211415, -0.0551934242, -0.0116041675, -0.0160453729, -0.0012843363, -0.0325331427, -0.0272258222, 0.0420378447, -0.0338493921, 0.0322466977, 0.0094537521, 0.0231440142, -0.0250531621, 0.0033264123, -0.0417015031, 0.0179671794, 0.0186310075, -0.0111411912, 0.0001457876, -0.0019213971, 0.034332335, 0.0112150405, -0.0330511332, -0.0490303971, 0.0636741892, -0.0366312042, -0.0056341956, -0.0326678641, 0.0472345874, -0.0084303524, 0.0148102101, -0.023433309, 0.0578806587, 0.0368933454, 0.0221038125, 0.0194598492, -0.0272109658, 0.0169953406, 0.0700181946, 0.0075533376, -0.0456134118, -0.0236616917, 0.0193445366, 0.0030110758, -0.0374650434, -0.0163311344, 0.0054739164, -0.0397946574, -0.0866158605, -0.079369463, -0.0079274392, 0.0171960853, 0.0550622679, 0.0143650696, -0.0170040634, 0.0104475599, -0.0002270416, -0.0415165164, 0.0220082495, -0.0295618549, -0.0515287481, -0.0675056055, -0.0121997511, 0.0451742075, -0.0306795165, -0.0413527079, 0.0281580687, -0.0616615601, -0.0388632007, 0.0309154671, 0.0343609303, 0.0122026717, 0.0169605874, 0.0078123072, 0.0225698333, 0.0300335493, 0.0637192875, -0.0531917512, -0.0149785765, 0.0443418734, -0.050406076, 0.0301028769, 0.0230709389, -0.03995407, 0.0291469786, 0.0213545822, -0.0015346609, -0.0254919734, -0.0192036126, 0.0547905266, 0.0697528571, 0.0955176726, 0.0173061416, -0.0070573715, -0.0643653795, 0.0091929138, -0.039952077, -0.0395972095, -0.0725145414, 0.0531216636, -0.0007697725, 0.0118928235, -0.0169603433, 0.0075916196, 0.0046393508, 0.0337214991, -0.0302821621, -0.0256236531, 0.0189752169, 0.0450757518, 0.016075382, -0.0275074318, -0.0533629097, 0.0224031359, -0.0002043207, 0.0022418275, -0.0494198352, 0.0457199365, 0.0065610423, -0.0001831241, -0.0127733648, 0.0278995242, -0.0366999917, 0.0344363898, -0.0548877716, 0.031971477, 0.0194771215, -0.0207182411, 0.0390600264, -0.0397008583, -0.0257851891, 0.0044512246, 0.0710685477, -0.0088466592, -0.026557127, 0.0101263048, -0.0110589555, -0.0270791519, -0.007344075, 0.0549505204, 0.0023800521, 0.0338994041, 0.0043338272, -0.0108739194, -0.0656650662, 0.012037294, 0.0182771757, 0.0010189409, -0.0058672153, 0.0255913287, -0.0254737344, -0.0035062735, 0.0082240021, 0.0139806205, -0.01464477, 0.0272107925, 0.0667700469, 0.0651676804, 0.0036750594, -0.060138315, -0.052203346, -0.0156833716, 0.0375727378, -0.0572814383, 0.0273372829, -6.526786916e-33, -0.0440957099, 0.0173704941, -0.0057317386, 0.0682210773, -0.0434711501, 0.0142293973, 0.0083524436, 0.0077980678, 0.0069338419, -0.0186157096, -0.0015676938, -0.0205267854, 0.0316713229, 0.0337296203, -0.0481545404, -0.0107076438, 0.0072402442, -0.0345871523, -0.0175766274, 0.0010777805, 0.0590389147, 0.0412536934, 0.059662994, -0.0836932287, 0.0040907827, -0.0118783796, -0.0089508304, 0.0143277813, 0.0350571908, 0.0151028521, -0.0066729076, 0.0302584898, 0.0056271912, -0.0490434393, 0.0179301687, 0.0275861081, -0.1310979575, -0.0247626361, 0.0208559725, 0.0076519884, -0.0436317995, -0.0252488535, 0.010448602, -0.0255690664, 0.0294296816, -0.0031943689, 0.0031695552, -0.0162751283, 0.006514451, -0.0053746253, -0.0865175799, 0.0357903838, 0.0284663457, -0.0134098725, 0.0159557015, 0.0220960788, 0.0116832107, -0.0336663462, -0.0113704391, -0.0064453762, 0.0287563987, 0.0234038848, 0.0240898542, 0.0251080319, 0.0062702065, 0.0496441014, -0.0001033088, -0.0633244067, -0.060590826, 0.0063433358, 0.0096787745, 0.0900950804, -0.0200115368, -0.0019772043, 0.0272430573, -0.0086515965, -0.1144024953, 0.0010815294, -0.0077296854, -0.0007813064, -0.0233290624, -0.0201786309, -0.0320714712, 0.025951881, 0.000976266, -0.006910875, -0.0214853846, 0.0006765719, 0.0401291847, 0.0196165778, -0.0683713481, -0.0211897604, 0.0353287086, -0.0081401765, 0.0420392528, 0.0271616168, -0.010363834, 0.0157180857, -0.0577599332, 0.002925222, -0.1096899658, -0.043177288, 0.0023605227, 0.0158654694, 0.0035479981, -0.0038336117, 0.0367357843, 0.009477715, -0.0723144189, 0.0183704644, -0.0303188562, 0.0420964696, 0.0022614435, 0.0162615273, 0.0398954675, -0.008181354, 0.0032920542, 0.0563102029, 0.0435826704, 0.0109106246, -0.0571412407, -0.0699228272, 0.0390609466, -0.0014406221, 0.001809407, 0.0255719665, 0.0148666445, -0.009136376, -0.0261226483, -0.0288638268, 0.0074679763, 0.0611981042, 2.741e-7, 0.0377056673, 0.0180287119, 0.0327636637, 0.0529742502, -0.0284090899, 0.0249729399, 0.040704269, 0.0371020511, -0.0029927522, -0.000195516, 0.0131896678, -0.0107014319, 0.0042206063, 0.0108750761, -0.0972197503, -0.0273532644, -0.0480465442, -0.0323781818, -0.0562535897, -0.040788766, 0.0804549679, 0.1006025523, 0.0160098877, -0.0059102257, -0.0527393557, -0.0414884277, 0.0559974685, 0.0108461427, -0.0211798269, 0.0168008283, 0.0558606051, 0.0262681246, -0.0222723447, 0.0171938352, -0.0136636263, 0.0383844934, 0.0204010196, 0.0392206758, 0.0206595231, -0.0158088934, 0.0288014747, -0.0343038961, 0.0026870109, -0.0272196438, 0.0976687968, -0.0196795557, 0.0055887569, -0.0076389331, -0.0294770766, -0.0061515537, -0.0370312557, -0.0409494154, 0.0002343598, 0.0438173264, 0.0299233738, -0.0483969264, -0.047308173, -0.0740627572, -0.0249400828, -0.02356443, 0.0096409349, -0.0182558019, 0.0270452369, -0.0219787918, 0.0279495995, -0.0582478642, -0.0046404656, 2.824751037e-34, -0.0065379688, -0.0085995272, -0.0191295631, 0.0417597182, 0.0263786986, 0.001016059, 0.0111007756, -0.0170691833, -0.0392540395, -0.0751884654, -0.0027759133 ]
http://arxiv.org/abs/2310.15019v2
http://arxiv.org/pdf/2310.15019v2
Meta learning with language models: Challenges and opportunities in the classification of imbalanced text
2023-10-23T15:14:55
2023-10-24T15:15:38
Apostol Vassilev, Honglan Jin, Munawar Hasan
cs.LG
cs.LG, cs.AI, cs.CL
Detecting out of policy speech (OOPS) content is important but difficult. While machine learning is a powerful tool to tackle this challenging task, it is hard to break the performance ceiling due to factors like quantity and quality limitations on training data and inconsistencies in OOPS definition and data labeling. To realize the full potential of available limited resources, we propose a meta learning technique (MLT) that combines individual models built with different text representations. We analytically show that the resulting technique is numerically stable and produces reasonable combining weights. We combine the MLT with a threshold-moving (TM) technique to further improve the performance of the combined predictor on highly-imbalanced in-distribution and out-of-distribution datasets. We also provide computational results to show the statistically significant advantages of the proposed MLT approach. All authors contributed equally to this work.
[ 0.0433510952, -0.0137922904, -0.0081827911, -0.0221769139, -0.0235285722, 0.0314414985, -0.0074223941, -0.0063542309, -0.0647882074, -0.0866402015, -0.0171779599, 0.0365061797, 0.0225169957, 0.0259196125, -0.046143245, -0.0499728397, 0.0255365036, -0.0056150169, 0.0166413411, -0.02060467, 0.0198390037, 0.0116893658, 0.0244888421, 0.027790688, 0.0502734073, -0.0020417618, 0.0466158092, 0.0084753055, 0.058920078, -0.012889808, 0.0409338027, 0.0338684954, -0.0042140917, 0.0722904354, 0.0000021469, -0.030402191, 0.0029725567, 0.0155528067, 0.0012954113, -0.0448676422, 0.0436437577, -0.0221933816, -0.0230743587, 0.0713814273, -0.015801724, 0.003130981, 0.0559692942, 0.0244340748, 0.052649416, 0.0524500571, -0.0253346898, 0.0145199392, 0.0121775623, -0.0080649015, 0.0024651799, 0.0159270857, 0.0506110266, -0.0358404145, -0.0304307509, -0.0426685922, 0.0035611526, 0.0297848172, -0.0027267009, 0.0311426409, -0.0127868336, 0.0139815453, -0.027038889, 0.0081301555, -0.046416685, 0.055204764, -0.0768934339, -0.0232603122, 0.0089063868, -0.0278895348, 0.0328851677, 0.0619426481, -0.006924883, 0.0291274916, -0.0062601701, 0.0268746372, -0.0225775559, 0.0255628936, 0.0298575461, 0.0074766926, -0.0451858714, 0.0290486086, -0.0173267014, -0.0545925014, 0.0133700483, -0.03214873, -0.0159702674, -0.0177945718, 0.0097550089, 0.0076911999, 0.0072931182, 0.0056565837, -0.0514337942, -0.0554836243, 0.0442588367, -0.0877400264, 0.0468233563, -0.0088545419, -0.047528021, 0.0335191227, 0.0195119716, -0.0250018761, 0.0576478094, 0.0396118723, -0.0165003967, 0.0222495869, -0.0521552265, -0.0113007883, -0.0056758402, 0.0549618341, -0.0041738842, 0.0327875987, -0.0768093541, -0.0138726011, -0.0355071761, -0.0427501053, 0.0211260021, -0.0110863345, -0.0089061037, -0.0132360961, 0.0230522603, 0.0161401555, 0.0207022633, 0.0468088873, -0.0283832103, -0.0291709211, 0.0131215528, 0.0468519144, -0.0536690615, -0.0124879582, 0.0223878752, 0.0534867942, 0.0372633673, -0.0454495624, -0.0402401015, 0.0044713817, -0.0366185643, -0.0297904294, -0.0177474432, -0.0561908558, -0.0343178585, -0.0162384678, 0.0052827131, 0.0054197749, 0.0085371155, 0.0184249189, -0.0116157383, 0.0422704406, -0.0364354067, 0.0015983994, 0.0271866415, -0.0143540101, -0.0253922306, 0.0776610002, 0.055474896, -0.0125397863, 0.0197449438, 0.0039856811, 0.0198293272, 0.0286787879, 0.0008158057, 0.0012669677, -0.0210319478, -0.0454561971, 0.0254255962, -0.0473916568, 0.040244054, 0.0233379025, 0.0085775517, -0.0158095174, 0.0686349124, 0.0264715701, -0.0266087875, -0.0109712137, -0.0070169135, 0.0318209529, -0.0286030713, -0.020918848, -0.0110352067, -0.0245432928, -0.0381997302, -0.0335600935, 0.0234305095, 0.067752555, -0.012054977, -0.0414320156, -0.0107060326, -0.0099326791, -0.0376342721, -0.0052454337, 0.0519221202, -0.0010443905, 0.0053133979, -0.0084484182, 0.0492274985, -0.005605964, -0.0023737333, -0.0568496659, -0.0592996329, 0.0387465879, 0.0181267355, -0.0757408142, 0.0356697254, -0.0674936846, 0.0037026866, 0.0429237932, -0.021161709, 0.0206193458, -0.0113818049, -0.0575926378, 0.0036325871, 0.0474921651, 0.0252401121, 0.0194666758, -0.0589040257, 0.0156416688, 0.0192979742, -0.0495308042, -0.0574400835, 0.0448821709, -0.0011190991, -0.0008398504, 0.0493547767, 0.0064263442, 0.0070211836, -0.0192668028, -0.0339052752, -0.0152249187, -0.0013040595, -0.0253911149, -0.044748649, 0.0266112145, -0.001123498, -0.0410731025, 0.0454244018, -0.0475896895, -0.0079672337, -0.0060045854, -0.0303433314, -0.0278812181, -0.0036541966, -0.0458471254, 0.0492486693, -0.0554353297, 0.0115747815, -0.0287782215, 0.0259001777, -0.0576744266, 0.0761936009, -0.0297366604, -0.0207370687, 0.0173080359, -0.1202656627, 0.0183748566, -0.0202772375, -0.0172781833, 0.0170150436, -0.0198592786, 0.0459403656, -0.0103364885, -0.0037414522, 0.0149811124, -0.0249396674, -0.0601413585, -0.0237439051, -0.0546211414, -0.0041877842, 0.0170153361, -0.0032078631, -0.0147625031, -0.0104728062, 0.0061610453, -0.0357077792, 0.0338374004, 0.0007795168, 0.010447084, -0.0059371097, 0.0009623397, -0.0118012466, -0.0103575531, -0.0136287007, 0.0737735853, 0.0157071576, -0.0427914746, -0.0208928902, -0.0009110132, 0.0071231709, 0.0064283721, -0.0148558002, -0.0136394221, -0.0491507016, 0.0170255974, -0.0027874829, 0.0171001125, 0.0509101301, 0.0169718992, 0.0883709863, 0.0369668044, -0.0139335366, -0.021462556, 0.0098387459, 0.0157301016, -0.0241688155, -0.0191424098, 0.0186358541, 0.020743968, 0.0334296077, 0.0144427773, -0.0323651433, -0.0071359095, 0.0106101818, -0.0197191592, -0.0366484001, 0.0210249405, -0.0314154774, -0.0041597611, -0.022430364, -0.0724194944, 0.0525488704, 0.0430960543, 0.0344436094, -0.0527900234, -0.0437888727, -0.0252557807, -0.036466796, -0.0360374153, 0.044155281, 0.0197948236, -0.0093879821, -0.0245431215, -0.0790941417, 0.03724356, -0.0263159331, 0.0100887353, -0.0265733022, 0.031692937, 0.0170052126, -0.047408361, -0.0266298223, -0.0492725819, -0.0055231294, -0.0017604278, -0.0647277236, -0.0201011095, -0.0783353671, -0.0006303779, -0.0198001936, 0.0410673842, -0.0211998373, -0.0216246303, 0.0156634711, 0.0063617807, 0.0294036698, -0.0338577367, -0.0092086308, -0.0242510438, 0.0401506014, 0.0150956837, 0.0095377006, 0.0423635021, -0.004057283, -0.0131699592, 0.0251157004, -0.0396452472, 0.0122327004, 0.0256315004, -0.0310569629, -0.0376887023, 0.0105925566, 0.1025252864, 0.0572921187, -0.0567095019, -0.0139483735, -0.0324544311, 0.0315872505, 0.0252932515, 0.0052184472, -0.0066446639, -0.0414064936, 0.0206151549, 0.0567264967, -0.0642969236, 0.0036391667, 0.0060664751, -0.0826101899, 0.0298746824, 0.0150813106, -0.0174560715, -0.0631629601, -0.0298230834, -0.0030496889, -0.0285963565, 0.0126233278, -0.0017949443, -0.0411459915, -0.0007561911, 0.0258667767, -0.0622334741, -0.0760591626, 0.0232910328, -0.0082503036, 0.058976952, 0.0666102022, 0.0388993733, -0.0562817864, 0.013276686, 0.1114991084, 0.0019084832, -0.0157912169, -0.0132517014, 0.091441825, -0.0485607125, 0.0079459846, -0.0201780591, 0.0428801775, -0.0321016982, -0.0120164212, 0.0245584846, 0.0673958957, -0.0038108155, -0.0108057912, -0.0531622693, 0.024497252, 0.0483554751, 0.0641671643, 0.0067050066, -0.069086723, 0.0026318463, -0.0466148555, -0.0251127295, 0.0298297852, 0.0286475569, 0.0757612064, 0.0308986884, -0.0564178713, -0.0488173924, -0.0121080372, -0.0154978251, -0.0017644184, 0.039481204, 0.0442006923, -0.0355609693, 0.0222625434, -0.045477327, -0.0297558662, -0.0226661712, 0.0277085677, -0.0605342202, 0.0007009073, 0.0160923433, -0.0471734405, -0.0484820195, -0.0200263131, -0.0251019355, -0.0558861382, 0.0088033918, 0.0327938944, 0.0189743098, -0.0337524489, 0.0136874039, -0.0474567227, 0.1447542459, 0.1096820459, -0.0049569667, -0.0110993013, 0.0758852512, -0.0348425917, -0.0156120704, 0.0062545747, -0.0132118659, 0.0340126157, 0.0138225416, -0.0413489677, -0.0526326373, 0.0269115511, 0.0195194166, -0.0247903746, 0.0419325642, -0.0146315088, -0.070194602, -0.0402514786, 0.0048964159, 0.0320473015, -0.0185543112, -0.0152055686, 0.0274951737, 0.0396508761, -0.0061422437, -0.0276340321, 0.0083291531, -0.0372193865, -0.0236796327, 0.042377796, 0.0587013587, -0.0342355035, 0.0605839975, -0.0013155558, -0.0045077568, 0.0141261723, 0.0192815717, 0.0237922929, 0.0048928559, 0.0148262121, 0.0135508664, 0.0362496153, 0.0139464894, -0.0140058398, 0.0228700265, -0.0529257581, 0.0208870955, -0.0327591226, -0.006669262, 0.0351022482, 0.0411879122, 0.0047394214, -0.0035112405, 0.000211509, -0.0501888879, 0.0260102898, -0.0010157356, 0.0267206356, -0.0007860566, -0.0049822186, -0.047396142, 0.0093635805, 0.0692739561, 0.0052791624, 0.04052867, 0.0013176992, -0.0321080387, -0.035858959, 0.0077480236, -0.0187940635, 0.0239346437, 0.0061830594, 0.022024693, -0.0864420459, -0.0348518789, 0.0564987324, 0.0060953624, 0.0496542677, 0.0171284955, 0.0140156718, 0.0368745886, -0.0275442675, 0.03224409, -0.0245729722, -0.0416752324, -0.0047035022, -0.0242963862, -0.0186675917, -6.026118158e-33, -0.0202810839, -0.0344341658, -0.023338303, 0.0056083235, 0.0257846024, -0.0234672986, 0.0167423319, -0.0090567432, -0.010756148, 0.0115660196, 0.0135963717, 0.0102489088, 0.0103359073, 0.0279077347, -0.0302487984, -0.0131883118, 0.0319537036, -0.0132634034, -0.0287230797, -0.0102841016, 0.0602371022, 0.0473694727, 0.0300493836, -0.0320444815, -0.0034764074, 0.048155766, -0.041279953, -0.0021653466, -0.0283746924, 0.0366618372, 0.0143935969, 0.1068654358, 0.0322299227, 0.0375047699, -0.000958727, 0.0373345464, -0.0211042892, -0.024739027, 0.0041363174, -0.0159473978, 0.0761933252, -0.0284956433, 0.0321398377, 0.0185959451, -0.0073407022, -0.0645664483, 0.0937400833, -0.0526615381, -0.0237330627, -0.0283717476, -0.0382571742, 0.0560901165, -0.0248663686, 0.0150227332, 0.0239642989, 0.0306401923, -0.0071032583, 0.0245203786, -0.0011358063, 0.0308940485, -0.011236365, 0.0448618457, -0.0173261203, 0.0505191535, -0.0079814186, 0.0861882642, -0.0099944277, 0.0062017031, 0.0592377856, -0.0041457242, 0.0439952649, -0.0171430763, 0.0217686202, 0.075056918, 0.0927209035, -0.0255774725, -0.0756856427, 0.0411201045, -0.0117877061, 0.0025723195, 0.0366353057, -0.0342138149, -0.0481373779, -0.0338602737, -0.0579418652, -0.0956477746, -0.0147354146, 0.0118310163, 0.0269922409, 0.0211714599, -0.0306443088, 0.000194472, 0.0071371733, -0.0314924158, -0.0183110517, 0.0067464141, -0.0225890316, 0.021532895, 0.002950734, 0.0009951367, -0.0424319208, -0.017103795, 0.0338771231, 0.0399347432, 0.0100572268, -0.0377537236, 0.0788273513, 0.0053638578, -0.0861351639, 0.0224815551, 0.0402738266, 0.0390958451, -0.0104098115, 0.059551429, -0.0071595958, 0.0043003, 0.0011386549, -0.028623119, -0.0181172024, -0.0483603589, -0.023164466, 0.0013473273, -0.0523906015, 0.0222526882, -0.020461034, 0.0369546041, 0.0200851299, -0.0073423106, 0.0844988227, -0.06268356, 0.0014198354, -0.0367246643, 2.838e-7, 0.0436149985, 0.0495730154, 0.0010359782, -0.0324290991, -0.0052908217, 0.0431470945, -0.0052104318, 0.0325488262, 0.0426166393, -0.0286103841, 0.0196800027, 0.0321653783, 0.0282362159, 0.0081969853, -0.0591173843, 0.0329181552, -0.0642996505, 0.0049049729, -0.0311732907, 0.0003600614, 0.0167654306, 0.0817661658, 0.0279546417, -0.0566042662, 0.0216187853, -0.0017390131, 0.0498365611, -0.0448718034, 0.0367135853, -0.0142265242, -0.0070829503, 0.0019418995, -0.0112349046, 0.0478642732, -0.0165985897, 0.049162861, -0.0073237484, 0.037171647, -0.027980864, -0.0007353669, 0.0069688777, 0.0470652282, -0.0138691915, 0.0140818823, 0.0372578129, -0.0214192476, -0.0230851881, -0.0744358599, -0.0582595989, -0.0243889708, 0.0762582943, -0.0430525206, -0.0290733837, 0.02396884, 0.0074614845, 0.0081759598, 0.020309547, -0.0681656078, -0.0137877529, 0.0045130653, -0.0368985236, -0.0426175594, 0.00174198, 0.0133717703, 0.028163882, -0.0796028078, 0.0578883998, 2.677907915e-34, 0.0614546835, -0.0296531226, -0.00813914, -0.0476083606, -0.0294608176, 0.0186455883, -0.0120963827, -0.0019304412, -0.0000982682, -0.0485859029, 0.015280325 ]
http://arxiv.org/abs/2310.15010v1
http://arxiv.org/pdf/2310.15010v1
Statistical Depth for Ranking and Characterizing Transformer-Based Text Embeddings
2023-10-23T15:02:44
2023-10-23T15:02:44
Parker Seegmiller, Sarah Masud Preum
cs.CL
cs.CL
The popularity of transformer-based text embeddings calls for better statistical tools for measuring distributions of such embeddings. One such tool would be a method for ranking texts within a corpus by centrality, i.e. assigning each text a number signifying how representative that text is of the corpus as a whole. However, an intrinsic center-outward ordering of high-dimensional text representations is not trivial. A statistical depth is a function for ranking k-dimensional objects by measuring centrality with respect to some observed k-dimensional distribution. We adopt a statistical depth to measure distributions of transformer-based text embeddings, transformer-based text embedding (TTE) depth, and introduce the practical use of this depth for both modeling and distributional inference in NLP pipelines. We first define TTE depth and an associated rank sum test for determining whether two corpora differ significantly in embedding space. We then use TTE depth for the task of in-context learning prompt selection, showing that this approach reliably improves performance over statistical baseline approaches across six text classification tasks. Finally, we use TTE depth and the associated rank sum test to characterize the distributions of synthesized and human-generated corpora, showing that five recent synthetic data augmentation processes cause a measurable distributional shift away from associated human-generated text.
[ 0.0297103114, 0.0323091224, -0.0209621713, 0.0485089272, -0.0086653344, 0.0195395034, 0.0116817541, -0.0083779376, 0.0264388062, -0.0210192744, -0.0179785565, -0.031332761, 0.0126980459, 0.019144861, 0.0471115336, -0.0349405557, 0.0033879371, 0.0325528085, -0.0441725701, 0.0103730727, -0.0023843604, -0.0001874027, 0.0240137037, 0.0370332412, -0.0018631597, 0.0257262867, 0.0192383155, -0.0067055295, 0.0435142592, -0.0077422545, -0.0041516949, 0.0689537153, 0.0396801755, 0.0471164435, 0.0000017214, 0.0052315192, -0.0080169858, 0.0002806329, -0.0233857315, -0.0109921731, 0.0220145676, -0.0644374937, -0.014538575, 0.0171486735, -0.0007941465, -0.0329025388, 0.0471810102, 0.0347925238, 0.0022932941, 0.0558132231, -0.0120817786, -0.0431138873, 0.0590287112, -0.042202767, -0.0253354479, 0.0168964323, 0.0127565535, -0.0392978415, 0.0062600197, 0.0895284936, -0.0404731669, 0.0228001215, 0.0380826928, -0.025559688, 0.0276937373, 0.0420558155, 0.0058853654, 0.0163295213, 0.0285692327, 0.0821506456, -0.0209692027, -0.0316647179, 0.0173825789, -0.0036161758, 0.0307268128, 0.0445744507, -0.0289136935, 0.0222096182, 0.0121506052, 0.0009676795, 0.0001594693, 0.0655251071, 0.0215572212, -0.0081422646, -0.0469435267, 0.0327513926, 0.0220947787, -0.0668130144, 0.0031615861, 0.0344335847, -0.003414253, -0.0213571358, 0.0237810314, -0.0495738909, -0.0112472195, 0.0130145047, 0.0014220035, -0.0469289385, 0.0102964099, -0.046631854, -0.0083261458, 0.0242605992, -0.0318303145, 0.0116706928, -0.0321913213, 0.0607948452, -0.0052068532, 0.0531596802, -0.0246939175, 0.0005147103, 0.0024971331, -0.0171088167, -0.0226744432, -0.0149657996, -0.054427214, -0.025933167, -0.0608574003, 0.0376408473, -0.018679766, 0.0034630371, 0.0175210722, 0.0326472893, -0.0146805132, 0.0241301432, -0.0013385757, 0.0128109548, -0.0439346582, 0.0089288885, -0.0203483887, 0.0019819227, -0.0132076116, 0.0260183234, 0.0250889268, -0.0389147215, -0.0277312025, 0.0384206064, -0.0041438784, -0.0592668317, 0.0318291038, 0.0344982222, -0.0486128405, 0.0030268056, -0.0027620129, -0.0700198188, 0.0302196536, 0.015090134, 0.0117678465, -0.0174666476, -0.0248914547, 0.0391618647, -0.0214187857, 0.0556682944, 0.0388924554, -0.0191516355, 0.0376113914, -0.0002482537, -0.0024622597, 0.043665912, 0.0164513029, 0.0308683235, 0.0567822307, -0.0416841283, 0.0042020706, 0.0218322314, -0.0151737519, -0.0056228554, 0.0016173632, -0.0284545794, -0.0349721685, 0.0479935817, 0.0339715108, 0.0002687328, -0.0376212746, -0.0377474502, 0.0469671078, 0.1031671688, 0.038453389, -0.0321723633, 0.0711511225, 0.0258786287, -0.0293302108, 0.0575018823, -0.028696226, 0.0326987691, 0.0046166573, -0.0096261976, 0.0554325618, 0.0252463501, -0.0220819768, -0.0164897386, 0.0146564366, -0.00619826, 0.0235706456, -0.0431661345, 0.0261278637, 0.0386262052, -0.0127494689, 0.0200384911, 0.0108131506, -0.0544362254, 0.019210007, 0.0207113512, -0.0158104971, 0.0348188207, 0.0478265807, -0.0376949795, 0.0630897284, -0.0033332487, 0.0081821475, 0.0645010322, -0.0050683022, -0.0275469515, -0.0009476101, -0.0210785046, -0.0265377592, 0.0006897124, 0.0264760237, 0.0398230553, 0.0019204149, -0.0048661483, 0.0189075433, -0.04797801, -0.0045733987, 0.0358535312, -0.0613420531, -0.0046731522, 0.0269072615, 0.023534989, -0.0059978897, 0.0208551213, -0.0237048175, 0.010933754, 0.0263587348, -0.0462318622, -0.0536281131, -0.0036519766, -0.0403071903, -0.0482992195, -0.0338533446, -0.0565936975, 0.0002320119, 0.0533270985, -0.0470073707, -0.0174292512, 0.035382323, -0.0285398383, 0.0233185347, -0.0526280478, -0.0034605719, -0.0050994912, 0.0363821685, -0.0482051298, 0.0747251362, -0.0010579465, 0.0644698068, 0.0261528753, 0.0197567753, 0.0090555344, -0.0276786052, -0.0327393748, 0.0108237453, 0.000759971, 0.0124298576, 0.0245168861, -0.0406490676, -0.021571923, -0.0291479379, -0.0847055689, -0.0009705278, -0.040194124, 0.0037101875, 0.0166420601, 0.0041353228, 0.0133852372, -0.0091901524, -0.0215411391, -0.0376185328, 0.0084505016, 0.0288762469, 0.0624248795, -0.0152496537, 0.0227766484, -0.0133641725, -0.0314867422, -0.0172584392, 0.0976850986, 0.0015838953, 0.0053375424, -0.0608722754, 0.0076642926, 0.0017441598, -0.0120988116, -0.0152390897, -0.031925045, 0.001511102, 0.0173967462, 0.0428957567, 0.0561743751, 0.043408867, 0.0538587756, 0.0152858738, 0.0323397741, -0.0428048633, -0.0321292505, -0.0406411886, 0.032669805, -0.0365854427, -0.0011519302, 0.0303406995, 0.0795717016, 0.017499961, -0.0232739989, -0.0581179969, -0.0005960687, -0.0395257547, -0.0011975291, -0.0203223638, 0.0057928828, -0.0420184657, 0.013889675, -0.0295627769, -0.0295425579, 0.0683159009, -0.0419281088, 0.0189100876, -0.051837191, -0.0149560319, -0.0441808552, 0.0069979522, 0.0213659927, 0.0094257295, -0.0506835133, -0.0560009964, -0.0358641632, 0.0591336302, 0.0117356889, -0.0107921502, 0.05823908, 0.0013943994, -0.0048502395, -0.0204968732, -0.0456873849, -0.0296254326, -0.0737098157, 0.020475734, 0.0190243032, 0.0517579094, -0.0453595668, -0.0201015789, -0.0270668548, 0.0350085907, 0.0780404508, -0.0046725636, -0.0201544538, -0.0342976451, 0.0556137748, 0.0057364185, 0.0303209722, 0.0123680318, 0.0128594413, 0.0124013405, 0.035982918, -0.0282712635, 0.0061740843, -0.012349504, -0.0188418254, 0.0183126666, -0.0420756973, -0.0235268604, -0.0125738094, 0.0087882346, 0.0081501305, -0.0277828369, 0.0950596705, 0.0488116369, -0.0477458835, 0.0255064145, 0.0366191864, 0.0340719782, 0.0245274063, 0.0279330835, -0.0753706396, 0.0079619866, -0.0324099101, -0.0015654309, -0.0157189798, -0.0399359688, -0.0025718897, -0.1428247392, 0.0171902291, -0.0354844145, -0.0402242392, -0.0365453139, -0.0719153211, 0.0308460984, 0.014044458, -0.0005703541, -0.0334648937, 0.0063942382, -0.0209695827, 0.0214319862, -0.0331304967, -0.0871701315, 0.0053733131, -0.0351571776, 0.000466673, 0.0064119431, 0.0507713817, -0.0405157991, -0.0189270247, -0.032417085, -0.0657158047, 0.0010002326, 0.0290229432, 0.0895014256, -0.0228602886, -0.0053249956, -0.0148824984, 0.0026666776, 0.0083145313, -0.0027008804, -0.0441495776, 0.0730399191, 0.0084956344, -0.0217732266, -0.0114987744, 0.0176008716, 0.0052961293, 0.0646172687, 0.0221277867, -0.047131706, 0.0068933642, -0.0559506938, 0.0428154506, -0.014241646, -0.0363012068, 0.0147853447, 0.025697764, -0.0313903466, -0.1131001115, -0.0073236455, 0.0116469394, 0.0432416648, -0.0103110792, -0.0001712194, -0.0235498603, -0.0648416281, -0.0114860199, -0.0074017742, -0.00103924, 0.0280165076, -0.0267026313, 0.0170637239, 0.0284214914, -0.0169849563, -0.0524980538, -0.0314622559, -0.0378735997, -0.07305336, -0.0166728608, -0.0026309832, 0.0118021481, -0.0048347474, -0.0290113539, -0.0667125061, 0.1118507162, 0.0371440835, -0.0384727903, 0.0037770183, 0.027502751, -0.032006111, -0.0224698856, 0.0345348381, -0.0380890556, 0.0211881995, 0.0132786958, 0.0036231189, 0.0039454475, -0.0333218053, -0.0115747824, -0.0317348018, 0.0423835255, -0.0037783007, 0.0144454008, -0.0639901534, 0.0193606447, -0.069731459, -0.0234798882, 0.00612074, -0.0053077321, 0.0525522754, -0.0010430843, -0.0137891769, 0.060221307, -0.0088351639, 0.0496521406, -0.0457720943, -0.0035633524, 0.0592855997, -0.002020906, -0.0070004016, 0.050081972, -0.0174962431, -0.0134879742, -0.0086657135, 0.0521856993, -0.0212452784, 0.0189372487, 0.0056059812, -0.0166452602, -0.0427882522, 0.0662901103, -0.1154164672, 0.0041248701, 0.0020778314, 0.0115593644, 0.020692585, -0.0634931475, 0.0343675241, -0.0131191453, -0.0185834076, -0.0012392508, 0.003232541, 0.0016119123, -0.0273324065, -0.0057012425, 0.0120088365, -0.0213508774, 0.0257162824, 0.0810715556, 0.0204312392, 0.0008112834, -0.0232263599, -0.0233202223, -0.0097811064, -0.0010291321, 0.0252177045, 0.0564117394, -0.0091450224, -0.0066688526, -0.068849802, -0.0664140359, 0.0325061679, -0.0203773398, -0.0145708919, -0.0027448107, 0.0177836604, 0.0638423413, 0.013245495, 0.0461526252, -0.0478697158, -0.0009702796, -0.0050573265, -0.050792139, -0.0301680695, -5.984949039e-33, 0.0016032498, -0.0199722182, -0.0464859195, -0.0400567576, -0.0082444297, 0.0456111096, -0.0226406883, -0.0143039161, -0.0007078051, 0.0318342, -0.0435574539, 0.0055466471, -0.0003790847, 0.0329318084, -0.0161137488, 0.0020395636, 0.0151946461, 0.0002857584, -0.0365758017, 0.0188200474, 0.0735935122, 0.022981856, 0.0642481595, -0.023854401, 0.0410156138, 0.0232735816, 0.0500073209, -0.0124859419, 0.0325193889, 0.0506588519, -0.0093766423, 0.0653026849, 0.0326974615, -0.0930253342, -0.0062750475, 0.0723201632, -0.0387538336, -0.0300133061, -0.0303626843, -0.0182088148, -0.0417762138, 0.0175958965, 0.0267464425, -0.039685756, -0.0039181402, -0.0558800623, 0.0536526367, 0.0053514079, -0.009302251, -0.0532272607, -0.0530257151, 0.0180775877, -0.015765816, 0.0134729603, 0.0235759225, 0.0059910519, 0.053578563, 0.0548959076, -0.0348056592, 0.0201083478, -0.0638218373, 0.0103781763, 0.0342037082, -0.0060622916, -0.0005885003, 0.0797633603, -0.02407456, 0.0397335067, -0.0172205847, -0.0247483086, 0.0022405037, 0.0054388442, 0.0367916711, 0.1020829231, 0.0364066325, -0.0183012299, -0.0542777441, 0.0648211166, 0.0033340368, -0.035746906, 0.0116354199, 0.0000899597, -0.0579762347, -0.0500593558, -0.0307235662, -0.04024259, 0.0108038075, -0.0246210061, 0.0121450229, -0.0059382133, -0.0305064414, -0.009720359, 0.0311709642, -0.0660084188, -0.0177272949, 0.0473520122, -0.0113036493, 0.0251822006, 0.0232829247, -0.0079649892, -0.00843562, 0.0014988768, 0.0472932421, 0.0035684754, 0.0228969604, -0.0007234449, 0.0640232638, -0.0075468752, -0.0653042272, 0.016027268, -0.0119334925, -0.0221912246, -0.0326051451, 0.0765890479, 0.0098854164, 0.0072627873, -0.0032593571, 0.0338578075, 0.0403119512, 0.0398302637, -0.0208443217, 0.0153028015, -0.0129617741, -0.0047931531, -0.0305159763, -0.0048311441, -0.0131946951, 0.0362892449, 0.0659718588, -0.0770612657, -0.0110412333, -0.0254364926, 2.512e-7, 0.0439470671, 0.0399242081, 0.0590993203, -0.0273933355, 0.0430681072, 0.0143806422, 0.0284971111, 0.0814074129, -0.0030279739, -0.036893867, -0.0024164356, -0.0150996791, 0.0252460744, 0.0035630399, -0.1193988845, -0.0141618587, -0.0933502614, 0.0151505144, -0.0353463888, -0.0214150213, 0.045480974, 0.1026003659, 0.0033785747, 0.0123632252, 0.0082503129, -0.0336274765, 0.0464839116, -0.0060709519, 0.0274304561, 0.0019666918, 0.0344532952, -0.0360873602, 0.0352726914, 0.0254727639, -0.0431077369, 0.0361947566, 0.0503328927, 0.0354987159, 0.0211729016, -0.008153813, -0.0138135906, -0.0108149126, 0.0027835851, -0.0753688291, 0.0471865833, -0.0770815313, -0.0129494006, -0.00494802, -0.0426431075, -0.0109425206, 0.0314299501, -0.0154118845, -0.0188438594, 0.0276291985, 0.0373955891, 0.0337864757, 0.0119780954, -0.0894037336, -0.019104274, -0.0103941122, -0.0492920987, -0.0294754766, -0.0295579303, -0.0526028648, 0.0438018627, -0.0134674273, 0.0151848141, 2.696323228e-34, 0.0151418643, 0.0413491502, 0.0229559597, -0.0471893437, 0.0247859005, -0.0228840578, 0.0732925907, -0.0041807941, 0.0322172008, -0.0970080867, 0.0019870703 ]
http://arxiv.org/abs/2310.15007v1
http://arxiv.org/pdf/2310.15007v1
Did the Neurons Read your Book? Document-level Membership Inference for Large Language Models
2023-10-23T15:00:46
2023-10-23T15:00:46
Matthieu Meeus, Shubham Jain, Marek Rei, Yves-Alexandre de Montjoye
cs.CL
cs.CL, cs.CR, cs.LG
With large language models (LLMs) poised to become embedded in our daily lives, questions are starting to be raised about the dataset(s) they learned from. These questions range from potential bias or misinformation LLMs could retain from their training data to questions of copyright and fair use of human-generated text. However, while these questions emerge, developers of the recent state-of-the-art LLMs become increasingly reluctant to disclose details on their training corpus. We here introduce the task of document-level membership inference for real-world LLMs, i.e. inferring whether the LLM has seen a given document during training or not. First, we propose a procedure for the development and evaluation of document-level membership inference for LLMs by leveraging commonly used data sources for training and the model release date. We then propose a practical, black-box method to predict document-level membership and instantiate it on OpenLLaMA-7B with both books and academic papers. We show our methodology to perform very well, reaching an impressive AUC of 0.856 for books and 0.678 for papers. We then show our approach to outperform the sentence-level membership inference attacks used in the privacy literature for the document-level membership task. We finally evaluate whether smaller models might be less sensitive to document-level inference and show OpenLLaMA-3B to be approximately as sensitive as OpenLLaMA-7B to our approach. Taken together, our results show that accurate document-level membership can be inferred for LLMs, increasing the transparency of technology poised to change our lives.
[ 0.0487132184, 0.1076454744, -0.019305015, 0.0691303089, -0.0494066291, 0.0096906489, 0.0588347614, -0.0119793257, 0.0486537926, -0.0467283428, -0.0348982289, 0.0056640795, -0.0033904316, -0.0060123424, 0.0341600776, 0.0437986776, 0.057062, -0.0311049763, -0.0021016595, -0.0269372258, -0.0241683498, 0.0028880939, 0.0338384211, 0.0144111468, 0.0215457231, -0.020546753, -0.0085933851, -0.0086391456, 0.0092998706, 0.0065249479, 0.0194804929, 0.0569559149, 0.0351098031, 0.1052046493, 0.0000018307, -0.0419059135, -0.0458466411, 0.0253138617, -0.0141429752, 0.0356460586, 0.0546718165, 0.0002945226, 0.0235282015, 0.0142753944, -0.0131759299, 0.0329893939, -0.0065182834, 0.0458002239, 0.0019962357, 0.103142418, -0.0115279965, 0.0165426396, 0.0396681689, -0.0170479231, 0.0294290856, -0.0305725951, 0.0236064997, -0.0543166101, -0.0130346399, 0.0100410981, 0.0194210727, 0.0581985563, 0.0257677808, 0.0043185349, 0.0086501362, 0.0426211581, -0.0171595346, 0.0058067068, 0.0016715566, 0.0074838316, 0.0301450305, -0.017948376, 0.0295514632, 0.0148214018, 0.015120971, 0.0326800123, -0.0304207243, 0.0361867175, -0.0020307121, 0.0153997112, 0.0250176694, -0.0161646102, 0.0617807657, 0.0066076117, 0.0174674094, 0.0679255426, 0.0252940375, -0.0252511092, 0.0057414682, -0.0090411399, 0.0161389951, -0.0473975204, 0.0327077843, -0.0172532853, 0.0638670772, 0.03337254, -0.0801233575, -0.0393092111, 0.0283194333, -0.0541773587, 0.047782138, -0.0281655211, -0.0358579941, 0.0715694651, -0.0176402833, 0.0062404308, -0.022806637, 0.0463951342, -0.0001277838, 0.0163296554, 0.0208545979, -0.0184013862, 0.0192057304, 0.0411540233, -0.0071889879, -0.0298178643, -0.0431612432, 0.0103923157, 0.0175072253, 0.0263979975, -0.0442015417, -0.0084748678, -0.0155019481, -0.0218240079, -0.0082599251, -0.0547939241, 0.0116585633, 0.027813822, -0.0174046643, -0.0617818572, -0.014715068, 0.0029010074, -0.0146874273, -0.0174531713, 0.0111786835, 0.0524361618, 0.0195898358, -0.0793837234, -0.0401519053, -0.0769948736, -0.0040176581, -0.0761454627, 0.0248631667, -0.0601752847, -0.0016195942, 0.0014243459, -0.0000206167, -0.0533696935, -0.0046429904, 0.0278041735, -0.0250815712, 0.0565843992, -0.0036814825, -0.0174669214, 0.0067318301, 0.0212899521, 0.0105395187, 0.0430592634, 0.0047833719, 0.0271430332, 0.0721603334, 0.0205625426, 0.0262078736, 0.0473648757, 0.0252953898, -0.0203767698, 0.0057895323, -0.0156385321, 0.0077221915, -0.0266692918, -0.0200553574, 0.0368392132, -0.0095973052, -0.0536491424, 0.0982230529, 0.088573195, -0.024926845, -0.0042970595, -0.0505811572, -0.0017622391, 0.0297080483, 0.022230858, -0.0505407304, -0.0190766063, -0.0599086322, -0.0382993296, 0.0126545876, 0.0012026016, 0.0081172222, -0.0128074856, 0.0142044323, -0.0379793383, -0.0136165665, 0.0063790279, 0.033896897, 0.0030366993, 0.0188204013, 0.0486891158, 0.0347177163, -0.0632582977, 0.0075407857, -0.039475888, 0.0552977547, 0.0140942205, 0.0710391253, -0.0440859236, 0.0454864651, -0.0258080773, 0.0084750531, 0.0447453111, 0.018521985, 0.0061168303, 0.033888489, -0.0421041809, -0.010380974, -0.0278333891, 0.0460436456, 0.0314759985, 0.0423518792, -0.0204421859, 0.0283724442, -0.0632590652, -0.0377778485, 0.0394917652, -0.0526763648, -0.0409989804, 0.0135336025, 0.003827624, 0.027164761, 0.0142746493, -0.0072538126, -0.0049867108, 0.0260889363, -0.0174877793, -0.0021974184, -0.0151984068, 0.0117851868, -0.0096016126, 0.0097805047, -0.0193780903, -0.0146933682, 0.0818497017, -0.0174257979, -0.0088587906, -0.0009812029, -0.0182667226, 0.0521646552, -0.0393857732, -0.0114093637, -0.0221636444, 0.0298316851, -0.0219988544, 0.0555357151, -0.0189209376, 0.0059033735, 0.015571693, -0.0579692423, 0.0286074057, -0.0385453254, -0.0643818304, -0.0071700704, -0.0184278395, -0.0023793033, 0.0179116204, -0.0256484393, -0.0294152945, -0.015608795, -0.0489518046, 0.0051058317, -0.0062105162, 0.0412938818, 0.0018966801, -0.0287504084, -0.023769144, -0.0253067594, -0.0209683329, 0.0100475615, -0.0279445294, 0.0229969379, 0.0272676479, -0.0261602923, -0.0154126137, -0.0309359524, -0.0280270278, -0.0358501934, 0.0630957931, 0.000174529, -0.0047887345, -0.0182582159, 0.0489634946, -0.0045062737, 0.0231513977, -0.0317348465, 0.0064526172, -0.0076763052, -0.0105056502, -0.0431396216, 0.0886113718, 0.0037673921, 0.0116067007, 0.0550429001, 0.0153240124, -0.0309446361, -0.0154758729, -0.0033829091, -0.0179194435, -0.0649142936, -0.0231764261, 0.0367108807, 0.0357525684, 0.0060039265, -0.0336105525, 0.007273417, 0.0262697097, -0.0280982088, -0.0509161204, -0.0066659888, -0.0015048977, -0.0178063158, 0.0362642035, 0.0066807857, -0.0716407225, 0.0415337123, -0.061284367, 0.0273907334, -0.0187022444, -0.0202456936, -0.0060029537, 0.0660229549, 0.0547887422, 0.0342178382, 0.0522854403, -0.031347543, -0.0342840403, 0.0087348036, 0.0577981472, -0.0230418853, 0.0257912688, -0.0154091418, -0.0007371866, 0.0048095267, -0.0237238128, -0.051116541, -0.0592004135, -0.0232997183, -0.0197800584, -0.0056668753, -0.0529138036, -0.0633689016, -0.0506164469, 0.0359875746, 0.0253991932, -0.0439187735, -0.0110660261, -0.0257072821, 0.0650272444, 0.057657294, -0.0346343108, 0.0484215058, -0.0621482283, -0.0447533466, 0.0793360993, 0.0068144756, 0.0596789047, 0.0067118104, -0.0485519357, 0.0167967342, -0.0155676426, -0.00716927, 0.0218175519, 0.0196421407, -0.0702805072, -0.0021475987, 0.0932533443, 0.0119562903, -0.0720217228, -0.0295932274, 0.0085524851, -0.0014615514, 0.0082844384, 0.0059299525, -0.1021061391, -0.0085505946, 0.029706575, 0.039342057, -0.0336889885, -0.0350429155, -0.022924047, -0.0942646116, 0.0245154854, 0.0091596013, 0.0029575485, 0.0064340038, -0.020462852, -0.0023179336, 0.0081263091, 0.0170367081, -0.0085001914, -0.008824788, -0.0197541416, -0.0185103919, -0.0259041041, -0.0406732485, 0.013977346, -0.0285027046, 0.0429798625, 0.0396312661, 0.0164505206, -0.0235860497, -0.0082032559, 0.048869431, -0.0074591902, -0.030839894, 0.0309995599, 0.0683785081, -0.0313947015, 0.0203724951, -0.0125066787, 0.0789118856, -0.0045981915, -0.0124442047, 0.0232679658, 0.0311335716, 0.0088439379, -0.0320950896, -0.0268566366, -0.006877617, -0.0156057468, 0.0684620216, 0.0213426761, -0.0087131755, -0.0019771031, -0.0361875854, 0.0287567396, 0.0277469568, 0.0024402176, 0.0151325641, -0.0201746263, -0.0526718497, -0.0338090844, -0.0054389886, -0.0067291292, 0.0105805891, 0.0195564795, 0.0196047779, 0.0417174324, -0.055427365, -0.0178400837, 0.0076016374, -0.0795028806, 0.0074796942, -0.0437628888, 0.0086707743, 0.0139317317, 0.017146131, -0.0351537615, 0.0034398697, -0.0964202285, -0.0951316059, 0.0163464826, 0.0332882591, 0.0221685451, 0.0295001995, -0.0315167792, -0.0801432729, 0.0974283591, 0.0511114746, -0.0420862176, 0.0387111716, 0.0423098095, -0.0454514064, -0.0155201359, 0.0377361327, -0.0400246419, -0.0218251292, 0.0401453227, -0.0605161712, -0.0163159054, -0.0190198105, -0.0018185227, 0.0209364668, 0.044925455, 0.005735686, 0.0387660451, -0.0624569543, 0.0416067131, -0.0262148697, -0.0091833379, -0.0121936603, -0.0472924262, 0.0290068891, 0.0056775794, -0.015958894, 0.019786099, 0.0086142942, 0.0668312684, -0.0492562838, 0.0067799073, 0.0478106663, 0.010437144, 0.0180813614, -0.019680595, -0.0125355916, 0.0533717051, -0.0177125353, 0.0643573701, -0.0009473645, 0.0315371118, -0.0103260782, -0.0070238919, -0.032154046, 0.0080851009, -0.0861206055, -0.0202947594, 0.0032739947, 0.0399272069, 0.0150062619, -0.0239045285, 0.0320110507, -0.0443206355, -0.0250545219, -0.027327491, -0.0011715743, 0.0039366009, -0.0381594747, 0.0382507183, 0.0040999861, -0.0175467338, 0.0423259884, 0.0834275186, 0.0490145609, 0.0274767969, -0.0095882891, -0.0500465967, -0.0160820317, -0.0301871598, 0.036236845, 0.0294538476, -0.037488617, -0.0075126737, -0.0553004555, -0.0662638322, 0.013083078, 0.0130129904, 0.0091566397, -0.0211808868, -0.0135151111, 0.0590672642, 0.0152813913, -0.0414419509, -0.0442826264, 0.0153313559, -0.0084694745, -0.0232358761, 0.0040401155, -6.038894679e-33, -0.0088866176, -0.0394624248, -0.0430578962, 0.0285792258, 0.0327840336, 0.0347771198, -0.01537266, -0.006190307, -0.0118140262, -0.0154441204, -0.0491041392, 0.0360318609, -0.0017001113, 0.0401004329, -0.0146792829, -0.0252976436, 0.0407076254, -0.0173396971, -0.0310711544, 0.0151547967, 0.0531337894, 0.0393713787, 0.0494167805, -0.0562991463, 0.0395060666, -0.0151009103, -0.0184948482, -0.0058090086, -0.0596474446, 0.0419537835, -0.019095907, 0.0205312651, 0.0136093739, 0.0023730397, 0.0157196205, 0.0380647108, -0.0389110744, -0.0130716721, 0.0084586171, -0.0045947204, 0.0045113633, -0.0437852107, 0.0439404994, -0.0194281247, -0.0063386038, -0.0397468507, 0.0363069065, -0.0140376594, -0.0256278235, -0.0451155975, -0.0323578455, 0.0141041661, 0.0082655773, 0.0244772024, 0.0277137291, 0.0071224114, 0.017430244, -0.0013512162, -0.046146825, 0.0264372975, 0.045431789, 0.0251993816, 0.0336821489, -0.0167215597, 0.0163304303, 0.0524863452, 0.0498141646, 0.0260131173, 0.0029512402, -0.0107400715, 0.0372291245, 0.0247074049, 0.0167697482, 0.0732975826, 0.0287528746, 0.0009237036, -0.0493778102, 0.0025493354, 0.0142195858, 0.0123491911, 0.0702817217, -0.0156394113, -0.0389384143, -0.0141859418, -0.036040172, -0.0246220175, -0.0229922887, 0.0041040988, 0.0163787734, 0.0033613446, -0.0524667315, -0.0753731728, 0.0093729096, -0.0528033413, -0.0462530069, 0.0364384204, 0.0127268489, -0.0070339274, -0.011234656, 0.0265295208, -0.0765622184, -0.0081934072, -0.0184207801, -0.053512603, 0.0216904134, 0.0044469973, 0.0681179166, 0.0200111587, -0.0594679862, -0.0093853362, -0.0180145353, 0.0183650274, 0.0416596644, 0.0369363762, 0.0486220382, -0.0175097808, 0.0220243502, 0.0121449865, 0.009370626, 0.0351569019, -0.0578668304, 0.002460527, -0.0245325603, -0.0057679894, -0.0134028541, -0.0265937615, -0.0122566512, 0.0419294387, 0.0773974359, -0.0541028157, 0.0248475485, -0.0075606313, 2.705e-7, 0.0278884582, -0.0029069053, -0.0182479341, 0.0240576994, 0.0237278435, 0.0715077892, -0.0177615564, 0.0707118809, 0.0088521251, -0.0259406995, -0.0171625447, -0.0032146228, 0.0629438162, 0.0281182323, -0.0839553326, -0.0139828669, -0.0480261184, 0.0284853969, -0.0745311677, -0.0183178335, -0.0058563086, 0.0909782127, 0.0447785519, -0.0234908108, 0.0011562024, -0.0798924342, 0.0450533554, -0.0442845933, -0.0602304004, -0.0072446153, 0.0979054794, 0.037599843, -0.0073733344, -0.0080889147, -0.0281361938, 0.039398279, -0.0440222248, 0.0558687039, 0.0445376374, 0.0027225653, -0.0108165015, -0.0392939262, -0.0229809135, -0.0305232406, 0.0657952949, 0.0102936104, -0.0463172868, -0.0600266308, 0.0201836266, -0.1013385877, 0.0347172655, -0.01699071, -0.0173499212, 0.0019481588, -0.0096815908, -0.0332937278, 0.0215177406, -0.0872102156, -0.0136131346, -0.0427546985, -0.0318682529, -0.0345467106, -0.0185355786, 0.0129167959, 0.0083310818, -0.0475411639, 0.0478838943, 2.653917728e-34, 0.0149320411, -0.0003938925, -0.0300480295, 0.0365673192, 0.035296537, -0.0140332021, 0.0357753001, 0.0016352778, -0.0057945182, -0.102968514, -0.0063394792 ]
http://arxiv.org/abs/2310.15004v1
http://arxiv.org/pdf/2310.15004v1
When Language Models Fall in Love: Animacy Processing in Transformer Language Models
2023-10-23T14:57:52
2023-10-23T14:57:52
Michael Hanna, Yonatan Belinkov, Sandro Pezzelle
cs.CL
cs.CL
Animacy - whether an entity is alive and sentient - is fundamental to cognitive processing, impacting areas such as memory, vision, and language. However, animacy is not always expressed directly in language: in English it often manifests indirectly, in the form of selectional constraints on verbs and adjectives. This poses a potential issue for transformer language models (LMs): they often train only on text, and thus lack access to extralinguistic information from which humans learn about animacy. We ask: how does this impact LMs' animacy processing - do they still behave as humans do? We answer this question using open-source LMs. Like previous studies, we find that LMs behave much like humans when presented with entities whose animacy is typical. However, we also show that even when presented with stories about atypically animate entities, such as a peanut in love, LMs adapt: they treat these entities as animate, though they do not adapt as well as humans. Even when the context indicating atypical animacy is very short, LMs pick up on subtle clues and change their behavior. We conclude that despite the limited signal through which LMs can learn about animacy, they are indeed sensitive to the relevant lexical semantic nuances available in English.
[ 0.0390788652, 0.0343826488, -0.0665363222, 0.0526404195, 0.0207408015, 0.0245914273, -0.0003322762, -0.0091114528, -0.0402407758, -0.0436396301, -0.0514898784, -0.0406566821, -0.0133474506, 0.007534266, 0.0238760654, -0.0663670897, 0.0525839627, -0.010634385, -0.0300697498, -0.0039093965, -0.0442070849, 0.0195625592, 0.0017035517, 0.0056158109, -0.0283877831, 0.012794937, -0.0445378497, -0.0088688079, 0.0059238039, -0.0090178624, -0.0295668021, -0.0129708042, 0.0312450677, -0.0018158414, 0.0000017221, -0.046918042, 0.0291861035, -0.0236450601, 0.0251363348, -0.0206681043, 0.0479764938, -0.0275071673, -0.0129739838, -0.0450524054, -0.0460251682, 0.0106202113, 0.0772375837, 0.013145783, 0.0152304638, 0.0471164472, -0.0146015426, -0.0195276346, -0.0294354651, 0.0025948852, 0.0151418317, 0.0331502035, 0.0185222309, -0.0365068987, 0.0231754724, -0.0105940988, -0.0751471519, 0.0391413569, 0.0580774136, 0.0038259302, -0.015784964, 0.0278609376, 0.0118690422, -0.0608785674, 0.0094661079, 0.0271048527, -0.0122156618, -0.0102396719, -0.0097168647, 0.0005150506, 0.0314842165, 0.0414236598, 0.0053042881, 0.044253327, 0.0228569899, 0.0297282394, -0.0214601997, -0.0266104657, 0.0046119876, 0.0253051817, 0.0101350099, 0.0682832301, -0.0040787226, -0.0056779305, 0.0113598863, 0.0280546807, -0.0352043957, -0.008455921, 0.0455561765, 0.0276405532, 0.018199835, 0.0209805928, -0.0351894461, 0.0316073671, -0.0143464915, -0.1010249183, -0.0404747277, -0.0069052833, -0.0799282864, 0.0350399576, -0.018082926, 0.0409483835, 0.0085484823, 0.0695385411, -0.0404692441, 0.0436828546, -0.0027040211, -0.0209988374, -0.0341922455, 0.0290949997, -0.0017060654, 0.0043960232, -0.0108532012, 0.0167482644, -0.0301018134, -0.0433658808, -0.0445086882, 0.0304453876, -0.0367858633, -0.0031641235, -0.0631564334, 0.0173075926, -0.0141309798, 0.0406289622, -0.0555507392, -0.0750281066, -0.014598418, -0.018258417, 0.0060036383, -0.0155452276, -0.0086911768, 0.0264721848, 0.0322907604, -0.0617778674, 0.0201085936, 0.031388998, 0.0008283285, -0.0336583555, 0.0182425827, 0.0002209009, 0.0050415578, -0.0085371071, 0.0366824567, -0.0787072405, 0.0193324145, -0.0089946343, 0.0095157633, 0.0875199065, -0.0000909863, 0.0343734324, -0.0328445248, 0.0217412952, 0.0697155595, 0.0782677829, 0.0349061005, 0.0163993295, 0.0079535656, -0.0363954306, 0.011313593, 0.0048889583, -0.031382177, 0.0124674141, -0.0063797967, -0.0214975532, -0.0272167847, 0.0310301278, 0.0485815741, 0.0563825965, 0.017656669, -0.0629319102, 0.0599990524, 0.0171503797, -0.066175282, 0.0205335934, 0.085263364, -0.0255383588, 0.0175645929, 0.0550883785, -0.0665738657, 0.0511280373, 0.0039438619, -0.0179401413, -0.055354666, 0.0538893715, -0.0357248932, -0.0254067406, -0.0331600234, -0.0038779455, 0.0216897633, -0.0220924877, 0.0084504206, 0.0766976029, -0.0256262198, 0.023159517, 0.005458829, -0.0394322947, 0.0292700008, -0.0323239341, 0.0004622411, 0.0185158402, 0.0067478223, -0.0217224732, -0.0133338515, 0.0196755715, -0.0223095566, 0.1042331606, 0.0030435526, 0.0060501071, 0.0076728649, 0.0151286824, 0.0524453484, -0.0289649758, 0.0323172547, -0.0088587562, -0.0554358624, 0.0156478342, 0.0017059749, -0.0095493216, -0.0208646581, 0.0678661317, -0.0490369089, 0.0081087742, -0.0554392636, 0.0102096507, 0.0088816453, -0.0463833921, 0.0137865916, -0.0057879766, 0.0298274793, 0.0045117666, 0.0062968698, 0.1023453027, -0.0499959514, -0.0016299431, 0.0339311585, -0.0107460478, -0.0103769423, 0.0235035922, 0.018978199, 0.0116248783, 0.0252438337, -0.0773400143, 0.0548565611, -0.0169457737, 0.0844669268, -0.0221175365, 0.0206787772, -0.0014045658, 0.0035593167, -0.0107513908, 0.0390161499, -0.0200957153, -0.0061550643, -0.026401056, -0.0203937255, -0.03798474, 0.0415614247, 0.0135445595, -0.0220651794, -0.0391239673, -0.0334302299, -0.0665980279, -0.0209118668, -0.0340136029, -0.0393433794, 0.0451828651, 0.0071445205, 0.0185600389, -0.0237280931, -0.0190188698, 0.0216736328, -0.0131134652, 0.0652780309, -0.0191403497, 0.0294654593, 0.0077990126, -0.0091172261, -0.0251202099, -0.0063168677, 0.0212568603, -0.0206867531, 0.0301008597, -0.0041758665, -0.0133813815, -0.0363856219, 0.072832644, -0.0647977144, -0.0142984483, 0.0138113564, -0.0590595119, 0.0325064734, 0.0102920048, 0.0377160721, 0.0752823353, 0.0160388295, 0.0678498521, 0.0839898884, -0.0386246927, -0.0281925276, 0.0023106646, -0.0208955649, -0.0143736368, -0.0329605751, -0.037847966, 0.0175503176, 0.1182118133, -0.0150545537, -0.0185534079, -0.047609441, 0.0677734837, -0.0224408507, -0.0383930504, 0.0333299227, -0.0035192873, -0.0047128578, 0.0245091561, -0.0174297635, -0.0393273793, 0.0848949179, -0.0058313473, -0.0643335953, 0.0017327891, 0.0552523024, 0.0075869909, 0.0640274882, 0.0505314767, 0.0014779398, 0.0542024113, 0.012495013, -0.0886052921, 0.0071146968, -0.0406844579, -0.0350404382, 0.0528273024, -0.0379794799, -0.0071684062, 0.0132607762, -0.0077687507, -0.0371382758, 0.0255469382, -0.0328821316, 0.0054002223, -0.0434445366, -0.024819592, -0.0411996692, -0.0060936566, -0.0065676249, 0.0225331653, 0.0034360404, -0.0356488265, -0.0051126662, -0.0276212692, 0.0494927503, 0.0363913812, 0.0403880291, -0.0404928587, 0.0425713621, 0.0483325049, -0.0457611233, -0.0110023525, -0.0247775838, 0.01142684, 0.0062805032, -0.027774442, 0.0069926544, 0.003989453, 0.0171082206, -0.0573186129, -0.0940278098, 0.0607740059, 0.0389876813, 0.0205408838, 0.0574820973, -0.0280220769, 0.0134067321, 0.0213465989, 0.0164917372, -0.060212668, 0.0105028627, 0.0092591997, -0.0181808099, -0.0009296756, -0.017427545, -0.0023111668, -0.0838906839, 0.0406967886, -0.0098495865, -0.0213014726, -0.0119837234, 0.0151577471, 0.0291317087, -0.0048696054, 0.0298345517, 0.0178004205, -0.0375121757, 0.0005430183, -0.0122070024, 0.0573122576, -0.0280409139, 0.0077841152, 0.0068419403, 0.036666058, 0.003508294, 0.0510243811, -0.0443278514, -0.0520159118, -0.0077922097, 0.0539792664, -0.002944855, -0.0103157228, -0.0119106965, 0.0030613062, -0.0085094627, -0.0335059799, -0.0190100893, 0.0288418755, -0.0540542416, -0.0128576541, 0.0445384644, -0.0422931723, -0.097876884, -0.0130654993, 0.0318791345, -0.0319210403, 0.0731943846, 0.0353605561, -0.0749874935, 0.0096456707, -0.0164908879, -0.0000230149, 0.0282619819, -0.1256444156, 0.002308721, -0.0182210598, -0.0180458408, -0.1085506454, 0.0048666531, 0.0135110607, 0.0348331593, 0.0560068265, -0.0596467815, 0.0413841568, -0.0358810499, -0.0327721238, 0.0388166457, -0.0013616846, -0.0206098463, -0.0116936164, -0.0323261544, 0.0677340254, -0.0464405306, 0.0158799216, -0.022068955, -0.0461730212, -0.0401198789, 0.0735237449, 0.0347298272, 0.0307717603, 0.0003905241, 0.0008235389, -0.0300790332, 0.029102847, 0.0740190521, -0.0058075236, 0.0584070906, -0.0040738881, 0.0082849441, -0.0125511428, 0.0227433946, 0.0019690376, 0.0268454552, 0.0236458723, -0.0178491268, -0.0271120872, -0.0276577976, 0.0229060873, -0.0018829898, -0.0030976823, -0.0021270507, 0.0010608326, -0.0272987802, -0.0249696895, -0.0112236449, 0.0020659734, -0.02422777, -0.0415982455, 0.0275060441, 0.0911244527, -0.0015536391, -0.0520981438, -0.0157774519, -0.0172494613, 0.0366408899, -0.0501052327, 0.0446619429, -0.03805672, -0.0283571836, 0.0471742414, 0.0187732112, 0.0162427686, -0.0477050059, 0.0714717731, 0.012312795, 0.0545010678, -0.0067741219, -0.0112540629, -0.0297797769, -0.0011476883, -0.0177083332, 0.0247735046, -0.0137110315, 0.0092094513, 0.0357081592, -0.0563519709, 0.0496514738, -0.0649219453, 0.020117376, 0.0073980992, 0.0013054628, 0.035446737, -0.0412935913, 0.0122244395, 0.0195049923, -0.0111574354, 0.0042950283, 0.0236494597, -0.0388688743, 0.0648625717, 0.0115588047, -0.0091747139, 0.007252499, -0.0332753435, -0.0425881334, -0.0501085855, -0.0129970517, -0.0106376354, -0.0356339552, -0.0629842356, 0.007171148, -0.0079344055, -0.0010136272, -0.0731643736, 0.033411514, 0.0137064382, 0.0077796709, -0.0327538438, -0.0368423983, 0.0043273796, 0.0240377877, 0.0150707718, -0.0049995268, -5.426624488e-33, -0.0829155892, -0.0060871388, -0.0318831652, 0.0023238959, -0.0256438293, 0.0270152669, -0.0416670181, 0.0178356394, -0.0074987952, 0.0286571849, 0.0259227678, 0.0247565266, 0.0073683402, -0.0214811042, 0.0222437307, -0.0117224352, 0.0054149418, 0.0079493467, -0.0203829147, -0.0412285104, 0.0059421794, 0.0011178189, 0.061494112, -0.0405006334, 0.0388888903, 0.0427221097, -0.0505607501, 0.0030860719, -0.0228642859, 0.0300280564, -0.0444500484, 0.0254656244, 0.0286486354, -0.0061580269, -0.0278162379, -0.0057338476, -0.0307850931, -0.0068580951, 0.0536204688, 0.0354443528, -0.0622134656, -0.0267696753, 0.0791585892, -0.0203744397, -0.0254455376, 0.0204864684, 0.0246588048, -0.0601239614, 0.048761759, -0.0143998004, -0.063989535, -0.0553658269, -0.0070984629, -0.0129008135, 0.0583961755, -0.0294820853, -0.028536424, 0.0001945959, -0.0483732671, 0.0194499604, -0.0130028958, 0.0127814524, 0.0296274107, 0.0140133845, 0.0197008196, 0.0957885534, 0.0317203812, 0.0381498337, -0.0574962534, 0.0299437363, 0.0857186764, 0.0441280901, 0.0599669442, 0.0341797359, 0.0400375091, 0.0106430324, 0.0052987277, 0.0252876636, -0.0026332489, 0.051526729, 0.0487321354, 0.0034751121, -0.0177503731, 0.0066119735, 0.0172276646, -0.0265966412, 0.0008109253, -0.0512951873, -0.0328670368, -0.0252174269, -0.0118795866, 0.0107254414, 0.0147850281, -0.0159131512, -0.0299122669, -0.0328531191, -0.0452095456, 0.0333551392, -0.0174240842, -0.0149152102, 0.0127621479, -0.0479967967, 0.0462394729, 0.0437388271, 0.0358029306, 0.0462102033, 0.0199309215, 0.0275773183, -0.0636381879, -0.0079772361, -0.0206770655, -0.0274086446, 0.0011935636, -0.0054266187, 0.0208630245, 0.0068726777, -0.0183433685, 0.0061564334, 0.03561588, -0.0276873671, -0.0822473466, 0.0577666759, -0.0479289889, 0.0383518003, -0.0612278357, -0.035791643, -0.0362410955, 0.0291434508, 0.0397677198, -0.0877144411, -0.0175627023, -0.0216813069, 2.642e-7, 0.0209823698, 0.0212303009, -0.0026047025, -0.0266434513, 0.0444966853, 0.0204179361, -0.0109197814, 0.0242286567, 0.0623184741, -0.0254074782, -0.0099952482, 0.0059489426, 0.0360256359, 0.0488765128, -0.0698920935, 0.0122274589, -0.0241682157, 0.0436204895, -0.0415373705, -0.0205629133, -0.0319216214, 0.05865198, 0.040417742, -0.0086833015, -0.026855167, -0.0104941279, 0.0252469294, -0.0535767823, 0.0249813311, 0.0110177435, -0.0192923937, 0.0422726758, 0.024901187, 0.0059432518, -0.011461298, 0.0073814807, 0.0115486123, 0.0336360894, -0.0043287631, 0.0092386752, 0.0185750276, 0.0185983144, -0.0354394168, -0.0296365041, 0.0584216714, -0.081513986, -0.0343076326, 0.0459715985, 0.0093814405, -0.0316295996, -0.0189637803, -0.022244757, -0.042166844, 0.0339131579, 0.001105888, 0.004857847, -0.0229257345, -0.0314878859, -0.0357661843, -0.0223922711, -0.0376966186, -0.029171722, -0.0130705517, -0.0012406008, -0.0110810529, -0.0440629162, -0.013225344, 1.786041525e-34, 0.0104670096, 0.0507015511, 0.0420854464, 0.0552428178, 0.010856675, -0.004873544, 0.100526832, 0.0174714234, 0.0222210754, -0.0221093297, 0.0014025527 ]
http://arxiv.org/abs/2310.14997v1
http://arxiv.org/pdf/2310.14997v1
Simple Hardware-Efficient PCFGs with Independent Left and Right Productions
2023-10-23T14:48:51
2023-10-23T14:48:51
Wei Liu, Songlin Yang, Yoon Kim, Kewei Tu
cs.CL
cs.CL, cs.LG
Scaling dense PCFGs to thousands of nonterminals via a low-rank parameterization of the rule probability tensor has been shown to be beneficial for unsupervised parsing. However, PCFGs scaled this way still perform poorly as a language model, and even underperform similarly-sized HMMs. This work introduces \emph{SimplePCFG}, a simple PCFG formalism with independent left and right productions. Despite imposing a stronger independence assumption than the low-rank approach, we find that this formalism scales more effectively both as a language model and as an unsupervised parser. As an unsupervised parser, our simple PCFG obtains an average F1 of 65.1 on the English PTB, and as a language model, it obtains a perplexity of 119.0, outperforming similarly-sized low-rank PCFGs. We further introduce \emph{FlashInside}, a hardware IO-aware implementation of the inside algorithm for efficiently scaling simple PCFGs.
[ -0.0190165807, 0.0398458987, 0.001783423, 0.0172442086, -0.0534779616, 0.0276709478, 0.0482544489, -0.0154898278, -0.038707152, -0.0266355518, -0.0237791985, -0.0580835752, 0.0088640861, 0.0486487933, 0.0013482497, -0.0118652247, 0.0707527548, -0.0665392503, 0.0017451233, 0.0266670883, -0.0049707196, 0.0013146658, -0.0600360408, 0.0168108456, -0.0264745615, -0.0335619561, -0.0389936492, -0.0046541509, -0.0319355354, -0.0065985816, -0.0727598593, 0.0411154553, -0.0189085808, 0.0206305962, 0.0000017792, -0.027001895, -0.0302978624, 0.0268460736, 0.0556174144, 0.0215641279, 0.0438856184, -0.0080338102, -0.04603035, -0.0199650433, 0.0020081827, -0.0288036391, 0.0564872399, 0.0535904579, -0.0099873599, 0.0902358815, -0.011096702, -0.0298622642, 0.0121290619, -0.0012549886, -0.0618520789, -0.0081773819, -0.0104451841, -0.0637473986, -0.0160417743, -0.0311898384, -0.0283637885, 0.0079873176, -0.0181035679, -0.028735809, 0.0283826143, 0.0108422153, -0.0414473563, -0.0019758719, 0.0106091136, 0.0503954515, -0.0167481918, -0.0370983742, 0.0346970707, 0.009302347, -0.046244368, -0.0353195257, -0.0356030203, 0.0664233565, -0.0411735997, 0.0200306587, 0.076786682, -0.0052257553, 0.020986177, -0.0350363553, -0.0282707736, 0.0899902359, 0.0485870279, -0.0195544604, -0.0396006778, 0.0052436851, -0.0566657595, 0.0110843927, 0.0415218994, -0.0363211334, -0.0138604278, -0.014397786, -0.0171161145, -0.027882373, -0.0327706896, -0.0504663028, 0.0640710294, 0.0689748898, 0.0192343853, 0.0327507034, 0.0095079895, -0.0096539846, -0.0280965194, -0.0093080811, -0.0851670876, 0.0193296876, -0.0252592452, -0.0110117085, -0.0536316894, 0.0428489111, -0.0682634711, -0.0513505079, -0.0362146981, -0.0196879283, 0.0004991895, -0.0576473586, 0.0539970174, -0.0278419424, -0.0290348865, 0.021555448, 0.0440973081, 0.0858791694, -0.0043790201, -0.0512483157, -0.0105429403, -0.0507157743, -0.0402916744, 0.0364315324, 0.0296575036, 0.0075872573, -0.0264091622, 0.0191529747, 0.0010632562, -0.0262685083, 0.0046036113, -0.0116033703, -0.0193738788, -0.0277083106, 0.0013528127, -0.0567871667, 0.034293551, -0.0066279368, 0.0019441063, -0.0043277121, -0.0015928713, 0.0527303182, 0.0234122742, 0.0386586003, 0.0306793321, -0.0098506035, -0.0026731875, -0.0074366, 0.0023653014, 0.045242548, 0.0283820983, -0.0359279849, 0.0306053609, -0.0259079095, -0.0334874466, 0.0716227964, -0.0406198688, -0.0341970213, -0.0263528507, -0.0476600192, 0.0120459246, 0.0095232651, 0.0787841007, 0.0601404496, -0.0198271535, -0.0076582003, -0.0008749835, 0.0384578221, 0.0014917023, 0.009549628, 0.0616324469, 0.0119449208, -0.0122496812, -0.0079608597, -0.0036615327, -0.0490038209, -0.0098333508, 0.0077377968, -0.006946682, 0.032619983, 0.0084071858, 0.0295579098, 0.016210353, -0.0325851813, 0.0134722367, -0.0411046706, 0.1052200422, 0.003842222, 0.0012591326, 0.0489772037, 0.0138164703, -0.0585658811, -0.0339251198, -0.0062505025, 0.0333830975, 0.0364434868, 0.0554786809, -0.0095970854, 0.045041278, 0.0330613106, 0.0293319095, 0.0251741298, 0.009798592, 0.0212557167, 0.0127998749, -0.0364878699, 0.0104137203, 0.0579342209, 0.0077422606, 0.0330652222, -0.0094490377, -0.0001513476, 0.0024255353, -0.0161755644, 0.040110603, -0.0015804087, 0.0437326431, 0.0155443093, 0.0305697266, -0.0336957648, 0.0506843217, 0.0371581651, -0.0143756894, 0.0788190514, 0.0455268994, -0.0679841042, 0.0383833982, -0.0000744396, -0.0590718761, -0.0426750556, 0.048363708, -0.0204284396, -0.0002338497, -0.0162747372, 0.0120425737, -0.0418333001, 0.0482208766, -0.028206028, 0.0348467752, -0.0448428988, 0.0214384105, 0.0406387411, 0.0122478455, -0.0463951528, 0.0552273765, -0.0140975751, 0.0238450877, 0.0231244061, 0.0191640723, 0.0351117998, -0.0531370081, -0.0295524467, 0.0323062949, 0.0117239235, -0.0449413471, -0.0183506012, -0.0295512583, -0.0287053287, -0.0008605798, -0.0901328847, 0.0025236448, -0.009317331, 0.0319714248, 0.0437789522, 0.0413637571, 0.0215361621, -0.0080262758, -0.0072747464, -0.001891278, 0.0183516387, 0.0263736174, -0.0049582575, -0.0070519452, -0.0536477976, 0.0025165712, -0.0464337766, -0.0210045688, 0.0051054549, -0.0181769058, -0.024820473, -0.0670477301, 0.0290529579, 0.0094439918, 0.0425121114, -0.0181051977, -0.0046745478, 0.0211546998, -0.0712203309, 0.0355078951, 0.0142341079, -0.0229770746, -0.0196716376, 0.0155667104, -0.0405124128, -0.0078520952, -0.0038212631, 0.0205770377, 0.0139886253, -0.0174919292, 0.0194798727, -0.0149493283, 0.0631012172, 0.02984819, 0.0125280749, -0.0166354254, -0.0339953676, -0.0424397476, -0.0439622439, -0.0112592988, -0.0459247716, -0.0197694246, 0.0302712284, -0.006239811, -0.0298550427, 0.038183786, -0.0744081736, -0.0168767422, -0.0511656441, -0.0064443713, -0.038026344, 0.0647941306, 0.0238706321, 0.0193544403, -0.0316208526, -0.0470399521, 0.0176095534, 0.0289031919, 0.0209952556, -0.0389220566, 0.0146536017, -0.0831803456, 0.0270519536, -0.0062451931, -0.040027909, 0.0013092598, -0.0656588078, -0.0263583101, 0.0014707784, 0.0325832777, -0.0410045311, 0.0198961049, 0.0885188654, 0.0126699042, 0.0249091852, -0.0010274113, 0.0149507895, 0.0019172756, 0.0538116135, 0.0379283912, 0.0123150833, 0.0085000247, 0.0184483547, 0.0048114867, 0.0816395953, 0.031819839, -0.0138656646, -0.0220100135, 0.0398280658, 0.0028805977, 0.0018771063, -0.0808858126, -0.0017579983, 0.0034768276, -0.0467398986, -0.0363198407, 0.1279834956, 0.0315985642, -0.0421473533, 0.0160648897, -0.0007545054, 0.0406165794, -0.0132830068, 0.0237126332, -0.0832662284, -0.0103113158, 0.0176841132, 0.0348615684, 0.0286318008, -0.0365419984, 0.0172209013, -0.1130544767, 0.0430782773, 0.0586109385, 0.0397848822, -0.0348217972, -0.0392085575, -0.0501322076, -0.0161430407, -0.0210922658, 0.0453494005, -0.0316683911, 0.0391839966, 0.0385921896, -0.0522003695, -0.012689135, -0.0053740712, -0.033402767, 0.038847886, 0.0413376167, -0.0617492944, -0.0215337463, -0.0455172025, -0.0004637924, -0.0294183232, 0.0244901218, -0.0635641962, -0.049393937, 0.011819928, -0.024433665, -0.0225169268, 0.0028703036, -0.04044348, -0.0129265236, -0.037676964, 0.0481735654, -0.0296392944, -0.0064571607, 0.0082088411, 0.0113059748, -0.0122783119, 0.0682267398, 0.0058345124, -0.0049820836, -0.0350807346, -0.0136477863, 0.0030745151, -0.0162914265, 0.0052620913, -0.0196673106, 0.0416435786, -0.0617491119, -0.0419278368, 0.0157387666, 0.0348395929, 0.061163079, -0.0504316241, 0.0260379687, 0.0245933887, 0.0262977127, -0.0414960124, 0.035589885, -0.0189114865, 0.0161867179, -0.0689202622, 0.0065156412, 0.0479358472, 0.0300587267, -0.0307697486, 0.0362060815, -0.0198637787, -0.0368916132, 0.0577383004, 0.0233953781, 0.0190102439, 0.0140783861, -0.0264426619, -0.0119260186, -0.040174026, 0.0239128731, -0.0295882709, 0.0607878715, -0.0010678091, -0.0264277551, -0.0010940646, 0.0178573262, -0.0040828953, -0.0043083248, -0.0445322022, 0.0848321691, -0.0266902857, -0.0401161723, 0.0330957733, 0.0603706352, 0.0699648261, -0.0322556235, 0.0391934291, 0.0042905975, 0.0004280734, -0.0607411154, -0.0014367484, -0.0689629987, 0.0125788087, 0.0235471614, -0.0254529137, -0.0181630924, -0.0315832607, -0.0083956318, -0.0207799654, 0.0382886082, 0.004103418, 0.0127609307, -0.0395855978, 0.0112577751, -0.0192013215, -0.0077693453, 0.0046818592, 0.0046049906, 0.015887944, -0.0627253205, 0.0363016985, 0.0160071831, -0.0014264416, -0.0750568062, 0.0252647996, -0.0231936872, 0.0300627332, 0.0085641807, -0.0222329162, 0.0773649737, -0.0124384211, 0.083640106, -0.0123632969, -0.0076483935, -0.0255864039, 0.0334674865, 0.0399174243, 0.0169346463, 0.0285767894, 0.0066697733, -0.0194334593, -0.0073148631, 0.0725880042, 0.0147782676, 0.0199073348, 0.0137289278, 0.0000074636, -0.0434377901, -0.0106605571, -0.0579556376, 0.0959138647, -0.0415699221, -0.0228123888, -0.0145968804, -0.0204959065, -0.0262283795, 0.0323909223, 0.0008053178, -0.0365950242, 0.0442826711, 0.0331817567, -0.0206377879, -0.0400226526, 0.0025486026, 0.0227336641, 0.0375924855, -0.0630458668, -0.0302604344, -5.610263888e-33, -0.0359988213, 0.0360997431, -0.0016111258, 0.0313357301, -0.0027470675, -0.0147699025, -0.0254163463, 0.0603652857, 0.0470986702, 0.0176543742, -0.0256602373, -0.0123497183, 0.0330050737, 0.0378302671, 0.0363484174, 0.0096044736, 0.0689289719, -0.0576624759, 0.0285567902, 0.0206712261, 0.0310222376, 0.041497007, 0.0398893431, -0.0404874869, -0.0313200653, -0.0169369783, -0.0301851537, 0.0337062664, 0.0010089779, 0.0432705283, -0.0149028804, -0.0043203756, 0.0045930385, 0.0211397242, -0.0284350235, 0.013800052, -0.108426407, -0.0017607937, 0.036922805, 0.0171660297, 0.0093353204, -0.0035391389, -0.0169982165, 0.016494533, -0.0101463897, 0.0294873081, -0.0285085458, -0.0099189626, -0.0043969173, -0.005457921, 0.0158949457, 0.0472068042, 0.0059460779, 0.0456510112, 0.0657331273, -0.0393208936, -0.0457023457, -0.000533678, -0.0445976034, 0.0207037628, -0.0119319363, 0.0597285107, 0.0775096491, 0.0063393107, 0.0119474269, 0.0174894612, 0.0639898032, -0.0538917482, -0.0397769809, 0.0240754858, -0.0079737566, 0.0141819734, -0.0069967895, 0.0188944787, 0.0604264736, 0.0450108908, -0.0604549684, -0.0068710535, 0.06472978, -0.0005955482, -0.0009690984, 0.0225346014, -0.1095284149, -0.0489709526, 0.0219099987, -0.0217264257, -0.0160174426, -0.0258265063, 0.029997943, -0.0063078306, -0.0119049707, -0.0099952221, 0.0384617783, -0.0381091163, -0.0082578668, -0.021405777, 0.0383143723, 0.0492899641, -0.0108299609, -0.0149240205, -0.0618309416, -0.0465595722, -0.0005432175, 0.0243646335, 0.0101308692, -0.0108576231, -0.0049405321, 0.0275005847, -0.0738138556, -0.0123195508, -0.0110687288, -0.0020327815, -0.0280203763, 0.0598778278, -0.0073606716, -0.015054537, 0.0054960116, 0.0076904902, -0.0181755964, 0.0373753086, -0.0044754827, -0.0087248469, 0.0209748652, 0.0183403362, 0.0104998928, -0.0016916322, -0.0126480712, 0.0363591649, 0.0759740919, -0.0374343172, -0.0169539787, 0.0787542388, 2.55e-7, 0.068783775, 0.01575532, 0.0614912026, -0.027529452, 0.0489995666, -0.0021614986, 0.02354322, 0.0056581311, -0.0231566131, 0.0299963821, 0.0013947195, 0.0108008189, -0.0000700104, -0.0026180639, -0.0778701156, 0.0015330572, -0.0418391079, 0.0341028646, -0.0225385018, 0.0001102852, -0.00478215, 0.1101230532, -0.0313585028, -0.0034601518, 0.0299310535, -0.0120425997, 0.0070310524, 0.0117298486, 0.0110206557, -0.0336032435, 0.0132946568, -0.0261461027, 0.0107146101, 0.0185955837, 0.0058415369, 0.0188552272, 0.0118417498, 0.0739221498, -0.0307578035, 0.0341320597, 0.0471437462, -0.0265907887, -0.0080773151, -0.0410568751, 0.0438431092, 0.0088922884, -0.0065713977, -0.0272842105, -0.0444451645, 0.0006719144, -0.0530472957, 0.0278534275, -0.0246925652, 0.0224143751, 0.0526150092, -0.0378687717, -0.0246633831, -0.0203383416, -0.0486936904, 0.000623743, -0.0283729639, -0.0554885305, -0.0164814014, 0.0275295582, 0.0272334833, -0.0249179937, -0.038074553, 2.638819743e-34, 0.0637858286, -0.0145141836, 0.0035181504, -0.0093483068, 0.0241309106, -0.0363440588, 0.0078843627, -0.0020423129, -0.0493813977, -0.1338042468, -0.0363101661 ]
http://arxiv.org/abs/2310.14993v1
http://arxiv.org/pdf/2310.14993v1
Understanding the Inner Workings of Language Models Through Representation Dissimilarity
2023-10-23T14:46:20
2023-10-23T14:46:20
Davis Brown, Charles Godfrey, Nicholas Konz, Jonathan Tu, Henry Kvinge
cs.LG
cs.LG, cs.AI, cs.CL
As language models are applied to an increasing number of real-world applications, understanding their inner workings has become an important issue in model trust, interpretability, and transparency. In this work we show that representation dissimilarity measures, which are functions that measure the extent to which two model's internal representations differ, can be a valuable tool for gaining insight into the mechanics of language models. Among our insights are: (i) an apparent asymmetry in the internal representations of model using SoLU and GeLU activation functions, (ii) evidence that dissimilarity measures can identify and locate generalization properties of models that are invisible via in-distribution test set performance, and (iii) new evaluations of how language model features vary as width and depth are increased. Our results suggest that dissimilarity measures are a promising set of tools for shedding light on the inner workings of language models.
[ 0.0118511654, 0.0399116538, -0.0422196165, 0.0783405602, -0.0410145372, 0.0095693879, 0.0266031362, 0.0121691525, -0.0290269554, -0.0449797362, -0.0490192771, -0.0798322186, 0.0412039235, 0.0516591519, 0.0431686938, -0.0319636352, 0.0613166168, -0.0242864303, -0.0043602972, -0.0092118559, -0.0051709777, -0.0105097825, 0.0475315787, 0.0719421059, 0.0600284413, -0.0187432393, 0.0045689391, -0.016514603, -0.0210364927, 0.0101120314, -0.0236118119, 0.044826068, 0.0163309984, 0.0628113598, 0.0000017208, -0.0577607825, -0.0097648306, -0.005687682, -0.0011063536, 0.048395928, 0.032667648, -0.0335727073, -0.0014396447, 0.0092725214, -0.0120140361, -0.0130611248, 0.0612344705, 0.0111447126, -0.0083739776, 0.0385528803, -0.0094449632, -0.0079513453, 0.0033208039, -0.0178172383, -0.0050529768, 0.0000814711, 0.0229632482, 0.0099313492, -0.0276216306, -0.0289924126, -0.0345041603, 0.0097760223, 0.0010647458, 0.0096634785, -0.0194443688, 0.0214149691, -0.0030408141, -0.0105275083, 0.0167980529, 0.0182041842, -0.0328226723, -0.0672385246, -0.0183626115, -0.0087532382, -0.0122447237, 0.0720655546, -0.0424921326, 0.0065624006, 0.0239109863, 0.0297431964, 0.0228052996, 0.0096652778, 0.0505272076, -0.0443900041, -0.0366126858, 0.0680633932, 0.0302081611, -0.0089646764, -0.0365922712, -0.0226077661, -0.0268726088, -0.056380339, -0.004044882, -0.006034473, 0.0077967755, 0.0150571689, 0.0036432464, -0.0166616347, 0.0347561724, -0.0527149253, 0.0800031871, 0.0363657027, -0.0272243377, -0.0023741608, -0.0356874056, 0.1197423264, 0.0011018278, 0.0366361924, -0.0330476314, 0.0298228413, -0.0668414831, -0.040823184, 0.0029089376, -0.0020157192, 0.0033903669, -0.0153838182, -0.0278825071, 0.0219728742, -0.0204518959, 0.0008345436, 0.0054419716, -0.0399187393, -0.0151121188, 0.0221254807, -0.026759211, 0.0063877371, -0.0341991223, 0.0057381908, -0.0341740698, -0.0699913278, 0.0019560696, -0.0093429908, -0.0249868315, -0.0194959529, -0.0419350788, 0.0723383501, 0.0149573255, -0.0269331038, -0.0130981887, 0.0094637079, -0.0456352755, -0.0656130761, 0.0232382715, -0.0634257719, -0.0095658433, 0.036924541, -0.0075377133, -0.0582099482, -0.0211587213, -0.0222145468, -0.003508159, 0.0362684987, 0.006254212, 0.0285757445, -0.01547872, -0.0077455509, 0.0261120014, 0.0730568618, -0.0004690669, -0.0193967335, 0.063139528, -0.0162152462, 0.0147644095, 0.0315686278, 0.0017549199, 0.0279182941, -0.061757721, 0.0006775051, 0.0303656943, -0.027285438, 0.0293380488, 0.0506522655, -0.0224652477, -0.0394181795, 0.0574616194, 0.0575493276, 0.041564431, 0.0062671215, 0.0219298285, -0.0035124908, 0.0030182274, 0.0415228568, -0.0368130654, -0.0228633229, -0.0277578402, 0.0319456942, 0.0006978658, 0.0365117602, -0.0089375125, -0.0181869771, -0.0515980534, -0.0121235605, 0.0591919944, -0.0410039388, 0.043811366, -0.0020258855, -0.0022127707, 0.0611484163, 0.0231400896, -0.048813805, -0.0170320533, -0.0704499111, 0.0266173389, 0.0250775479, 0.004580738, -0.0170622636, 0.0297587998, 0.0275558364, -0.0463622659, 0.0375817381, 0.0356784873, -0.0074318657, 0.0140107097, -0.018413784, -0.0039828978, -0.0360872746, 0.0563000888, 0.0322337262, -0.0253920108, -0.0193497334, 0.0163319055, -0.089359805, -0.0306735132, 0.031595014, -0.0258710515, 0.0263151675, -0.0372628123, 0.0023276911, 0.0184555296, 0.0113766296, -0.0073214043, 0.0338329189, -0.0066367597, -0.0154810958, 0.004069211, 0.0261620395, -0.0255990569, 0.0041891364, 0.0450564101, -0.0058454848, 0.0428877585, 0.0520504229, 0.0117852697, -0.0288965795, 0.0655951723, -0.0278232843, 0.0829728544, -0.030559767, 0.0632887781, -0.0820481628, 0.0191840269, -0.0318240225, 0.0618638359, -0.0329113491, 0.021147605, -0.0133115416, 0.0097889407, 0.0583434291, -0.0170261897, -0.0115880184, 0.0459748842, -0.0037134239, 0.0062307809, 0.0301436167, -0.0340325311, -0.0028429744, -0.0120351054, -0.0537971258, -0.0201345123, -0.0215938985, 0.0279189777, 0.0563571975, -0.0074712168, -0.0068225395, 0.0158248097, -0.0136641171, -0.0184485186, 0.0088864425, 0.0363390297, 0.0268684942, -0.0219609495, -0.0742890984, -0.0594036616, -0.0361829698, -0.0372055769, 0.1197176427, -0.0361334383, -0.0042426991, -0.0782630742, 0.0294646882, -0.0485869311, 0.0307659954, -0.0134286527, -0.0575321019, 0.0236799326, 0.0198392607, -0.0036879196, 0.0323503017, -0.0117743667, 0.0376050882, 0.0758961961, 0.004100576, -0.0448472761, -0.0445405766, -0.015680762, -0.0040681767, -0.0345535763, -0.0578096882, -0.0201806054, 0.079203032, 0.0439455397, -0.0267172754, -0.0516145118, 0.0246326178, -0.0393641889, -0.0154318726, -0.0075952429, -0.0384165533, -0.0231511239, 0.0575506464, -0.0321270525, -0.0938378349, 0.0334621668, -0.0741162971, 0.0169268828, -0.0358317159, -0.0100499019, -0.0476321727, 0.0844498202, 0.0041517299, 0.0225562323, 0.0182508063, -0.0399977453, -0.0346548632, 0.0173526499, 0.0213268325, -0.0139461821, 0.0789358541, -0.0267837644, 0.0057230378, 0.0221249536, 0.0108893104, -0.0066319578, 0.004519911, -0.0122069772, 0.043862287, 0.0244668983, -0.0285816062, -0.008094999, 0.0684676468, -0.0111185284, 0.0203150008, -0.0153059261, 0.0195343401, -0.0302901641, -0.0136486497, 0.0091989413, -0.0215127841, 0.0402280837, -0.0463868342, 0.0102236392, -0.0143541275, 0.0034218517, 0.0302929413, -0.0541645661, 0.0127547355, 0.0149118928, -0.0225688294, -0.0247424748, 0.011206679, 0.0584016033, -0.0354465283, -0.0235183779, 0.0952528343, 0.0343287401, -0.0179499425, 0.0658611134, -0.0276806224, 0.046021875, 0.0536759496, -0.0140965106, -0.0084355194, 0.0120028658, 0.016437592, -0.027836103, -0.0271278992, 0.0013307938, 0.0082657058, -0.0967991054, 0.0048700054, 0.034034878, -0.0672018602, -0.0534157269, -0.044799529, 0.0198109616, 0.0176069774, 0.0635861158, 0.0144797163, -0.0254684389, 0.0054858578, -0.0083860857, -0.0327599756, -0.0869529098, 0.0253062602, -0.0183093045, 0.0235971604, 0.0730118304, 0.0197004508, -0.0109613976, -0.0217774902, 0.0138428723, 0.0120366253, 0.0188315883, 0.01451007, 0.0357689597, 0.0413299538, -0.0095064575, 0.0068791313, -0.0015434027, -0.0078016329, -0.0054108589, -0.0612177737, 0.0296899714, -0.0042167618, -0.0672945902, 0.0030498516, -0.0323575325, 0.0217597224, 0.0751790628, 0.0780013725, 0.0009816219, -0.029702222, -0.0314410068, -0.0077545843, 0.0317145996, -0.0711606592, 0.0257304888, 0.037560001, -0.0252676383, -0.0501276888, -0.0162912197, -0.0265750289, 0.0023909116, 0.013591446, 0.0097996471, -0.0235676896, -0.0375762843, -0.0321781375, 0.0106358137, -0.0072276019, 0.0167045407, -0.0050973142, -0.0067850607, -0.0189027805, 0.0080024758, -0.0626841635, -0.0324355662, -0.0837317556, -0.0838006735, -0.0044231825, -0.0194665622, 0.0373087563, -0.0176843051, 0.0156436041, -0.0647751912, 0.0279533509, -0.032654196, -0.0251305196, 0.0415900312, 0.0217107702, -0.0516250096, -0.0041326112, 0.0564532168, -0.0326230004, 0.0209565219, 0.0252716336, 0.0230250545, 0.0064511592, -0.0153957894, 0.0139247663, 0.0247033667, 0.0492592417, 0.0169532672, -0.039544411, -0.0391455851, -0.0040234546, -0.0356673375, 0.0072180685, -0.0259662047, 0.0014882353, 0.0379310474, 0.0424453728, -0.0039743721, -0.0200005472, -0.0120420717, 0.0238547791, -0.0288200397, 0.0046988875, 0.029700065, 0.0358073339, -0.002215276, 0.0275668092, -0.0128036346, 0.0302010328, -0.043033395, 0.0116911409, -0.0073152198, 0.0326424614, 0.0079929233, 0.0232388712, -0.0254614763, 0.0182427969, -0.0492724665, -0.0522460006, -0.0227105767, -0.0010033797, 0.0155962985, -0.0254063047, 0.0686382502, -0.0152132716, 0.0071452926, -0.0447501317, 0.0017342232, 0.0014491469, -0.016073091, 0.0256004874, 0.0009376116, -0.036829982, 0.0124849733, 0.0917695537, 0.0296396874, 0.0348965377, -0.0428849086, -0.005518693, -0.0196508951, -0.0138084907, 0.0379275084, 0.0289712828, -0.0383051038, -0.0119158076, -0.0819642842, -0.0692286715, 0.0071291188, 0.0170603115, 0.0144037791, 0.0050336928, -0.0011752215, 0.0877708867, 0.0091372048, 0.0003472593, -0.0366934352, -0.0600920022, -0.0285695922, 0.0321133882, -0.0301589984, -5.837126217e-33, -0.0166789107, -0.0150767257, -0.0470283739, -0.0617283061, 0.0206597541, -0.0022978922, -0.0419118628, 0.0368246399, -0.0312337037, 0.0035276145, 0.0280285366, 0.0208958872, 0.0032141183, -0.0166144241, 0.0101009458, 0.0097161056, 0.0355861299, 0.0150544504, -0.0509537347, -0.0018286378, 0.0577359907, -0.0007650359, 0.0820123628, -0.0637425482, 0.0488219187, -0.0169636365, 0.0132779665, 0.0036281736, -0.0169357508, 0.0774642006, -0.0297423657, 0.0517071709, 0.0330165885, -0.0229318161, -0.0505596176, -0.0198007748, 0.0080384007, -0.0301881786, 0.0680457875, -0.0166725833, -0.0146573037, -0.0217127912, 0.0392736048, -0.0171125215, -0.034769021, -0.0254073683, 0.0203896333, -0.0191180222, 0.0070812018, 0.0366747789, -0.0769730359, 0.016110206, -0.0200534444, 0.032407213, 0.0334205553, 0.0117678186, -0.0079389932, 0.0262851194, -0.0218974333, 0.0222140513, 0.023265468, 0.0565543771, 0.0880399495, 0.0247102696, 0.0076798405, 0.0754796043, 0.0326456502, 0.0060695219, -0.0063920147, -0.0252255145, 0.0970272645, 0.0330247506, 0.0555495024, 0.0400935188, 0.0444658883, -0.012541879, -0.0606457256, -0.0132212695, 0.0231843591, 0.0125049958, 0.0529984534, 0.0346871689, -0.0566803068, -0.0230273549, -0.0606331713, -0.0514763221, -0.04798875, -0.0613197088, 0.0565528534, -0.04068112, -0.0272226725, -0.0058779875, 0.0329668224, -0.0504822806, -0.0353889503, 0.0103798611, -0.0177924987, 0.0165093504, 0.0109006427, 0.0041623646, -0.0236134659, -0.0536840633, -0.0176270809, 0.0328600816, 0.0340951048, 0.0003388293, 0.0053418567, -0.0019333883, -0.0441848636, 0.0097860256, -0.026258098, -0.0710163638, 0.0043258122, 0.0198525786, 0.0402287357, -0.0105728637, -0.0067977798, 0.0214964375, 0.0286369771, -0.018400928, -0.0450748131, 0.0352429971, -0.0200703107, 0.0439202152, -0.0160857979, -0.0417680442, -0.0520476364, 0.0296298135, 0.103305757, -0.0033746287, -0.0208510999, -0.0015838009, 2.448e-7, 0.0646489263, 0.0380989984, 0.0145452404, 0.0192290656, 0.0380675346, 0.0179279111, -0.0353306234, 0.0134069705, 0.0168587863, -0.0342008732, -0.0238409489, 0.0080984002, 0.0326257013, 0.0146864299, -0.0094034607, 0.0365490355, -0.0861898214, -0.0030246913, -0.034065064, 0.001411034, -0.0068109538, 0.087682046, -0.0021034183, 0.0284253377, -0.0149041312, -0.0600761287, 0.0491177179, -0.0398975797, 0.0243391898, 0.0509339832, -0.005626631, -0.0023003886, 0.0268070437, 0.035308402, 0.0325099677, 0.0671295673, 0.0297082197, 0.0193344429, -0.017244542, 0.0099753998, -0.0316714235, -0.031421721, -0.0156040248, -0.0984659791, 0.0432197042, -0.0245538075, -0.0350206755, -0.0512526333, 0.018355472, 0.0033352126, 0.0450285487, -0.0065413914, 0.0027309265, 0.0588597581, 0.0083664488, -0.0197020825, 0.0073204706, -0.0458354503, -0.0587882027, 0.0106735975, -0.0410303287, -0.0350199081, -0.0362752117, -0.0115151927, 0.0014231964, -0.0305140484, 0.031197587, 2.739378464e-34, 0.0379773229, 0.0210435111, 0.0210554991, 0.0106190592, 0.0573953912, -0.0587824322, -0.0064931526, 0.0337405279, -0.0103210639, -0.0614717491, 0.0033992843 ]
http://arxiv.org/abs/2310.14985v3
http://arxiv.org/pdf/2310.14985v3
LLM-Based Agent Society Investigation: Collaboration and Confrontation in Avalon Gameplay
2023-10-23T14:35:26
2024-03-07T08:41:58
Yihuai Lan, Zhiqiang Hu, Lei Wang, Yang Wang, Deheng Ye, Peilin Zhao, Ee-Peng Lim, Hui Xiong, Hao Wang
cs.CL
cs.CL
This paper aims to investigate the open research problem of uncovering the social behaviors of LLM-based agents. To achieve this goal, we adopt Avalon, a representative communication game, as the environment and use system prompts to guide LLM agents to play the game. While previous studies have conducted preliminary investigations into gameplay with LLM agents, there lacks research on their social behaviors. In this paper, we present a novel framework designed to seamlessly adapt to Avalon gameplay. The core of our proposed framework is a multi-agent system that enables efficient communication and interaction among agents. We evaluate the performance of our framework based on metrics from two perspectives: winning the game and analyzing the social behaviors of LLM agents. Our results demonstrate the effectiveness of our framework in generating adaptive and intelligent agents and highlight the potential of LLM-based agents in addressing the challenges associated with dynamic social environment interaction. By analyzing the social behaviors of LLM agents from the aspects of both collaboration and confrontation, we provide insights into the research and applications of this domain. Our code is publicly available at https://github.com/3DAgentWorld/LLM-Game-Agent
[ 0.0323232934, -0.0147884348, -0.0408342704, 0.0279878769, -0.021533519, -0.0137955975, -0.0006921102, -0.0037189161, -0.0143224876, 0.0267298892, -0.0436884947, 0.0323659629, 0.0128297862, 0.0213533808, 0.0166351888, 0.0268294849, 0.0069059883, -0.0073303911, 0.0396857597, 0.0117393369, -0.0130730197, -0.0374919437, -0.0263072494, 0.0105308248, 0.0449983478, -0.0169402547, -0.0579009429, 0.0050831814, 0.0680302382, -0.0283322837, 0.0022558747, -0.0499583296, 0.0359690189, -0.0110827824, 0.0000020378, -0.0579966381, -0.0160293877, -0.0197912809, 0.0053103087, -0.0416658074, 0.0289377589, 0.0708604902, 0.0201001707, 0.0155044235, -0.0617407411, -0.0159436669, 0.0163053814, -0.0186661594, 0.081654951, 0.033078175, -0.0007011807, 0.0284247175, -0.0283047203, 0.0116375471, 0.0040349807, -0.0240895953, -0.0031203544, 0.0142668085, 0.0560608059, -0.0253505334, 0.0313624106, -0.0072029871, -0.0231539365, 0.0010155769, 0.0326155573, 0.0425510295, 0.0280902795, -0.0433590375, -0.0159456246, 0.0293229576, 0.0814067796, 0.0112184742, 0.0503925011, 0.0318554677, 0.0354878567, 0.0252532326, -0.0082930271, 0.0216330104, -0.0161631834, -0.0079588499, -0.0111164823, 0.0288155209, -0.0181014221, -0.024357792, -0.0100339735, 0.0590276048, -0.0191298779, 0.0273892749, -0.0497845672, -0.0094752545, 0.0707400143, -0.0414875634, -0.0290866103, 0.0411558896, -0.0421323441, 0.0008712062, -0.0161377639, 0.0587587208, 0.0170289688, -0.0336530507, 0.0169533025, -0.0127376551, 0.0123028681, 0.0350950062, 0.0191668775, 0.0133513818, 0.0440298356, -0.0192271657, 0.033705961, 0.0116961878, -0.0216816794, 0.0008027618, -0.0116217695, 0.0809113458, -0.0029898193, 0.0045355288, 0.0211039707, 0.0308061522, -0.04268419, 0.0402426235, -0.0433523282, 0.0104054846, 0.0320370533, 0.0366563015, -0.0232939385, -0.0529975854, -0.0596193261, 0.0123466011, -0.0053866082, -0.0585517883, 0.0192200895, -0.0369757637, 0.010096604, 0.0156202093, 0.0187528152, 0.105123505, -0.0073417965, -0.0448435508, 0.0191040654, -0.00837739, 0.0667192265, -0.0450374857, -0.0117035052, -0.0410701074, 0.0329619087, -0.0280681513, -0.0053529516, 0.001488691, 0.0163558833, -0.0170135126, 0.0495934635, 0.064223066, -0.0346764289, 0.0574008636, 0.0606650151, 0.0499323606, -0.0039808559, 0.0144818155, 0.0760548934, -0.0118078329, 0.0131783225, 0.0055477843, 0.0607108995, 0.0383311249, -0.0262821037, 0.0009059394, 0.0549758859, -0.0245316587, -0.0284499396, 0.0605935566, -0.0309723448, -0.0057101697, -0.0557025746, -0.0326301679, 0.0664795861, 0.0342348292, -0.0138668763, 0.0182574224, -0.0020987897, 0.0424733795, -0.0080939382, -0.0381697305, 0.0149748661, 0.0444681942, -0.0236410629, -0.0302595291, -0.0711596161, 0.0327061936, 0.0021743041, -0.0478885919, 0.0311610438, -0.0093053253, 0.0456832126, 0.0189604964, -0.0035651808, -0.0000147627, -0.0431842022, -0.0102074584, 0.0006088866, -0.0684652478, -0.001270066, -0.0890738741, 0.0939833224, 0.0583407544, 0.0539033972, -0.0405350477, -0.0887527317, 0.0095871808, 0.0117527461, 0.0377585813, -0.0228623878, -0.017040113, 0.0558854416, 0.0053768368, -0.0285875872, 0.0088107167, -0.0294296611, 0.0860379636, -0.0154551808, 0.0198202599, -0.0440690331, 0.0294932127, 0.0233376846, 0.019780362, -0.0250366405, -0.0020254937, -0.0339346267, 0.0140715968, 0.0263659563, 0.0080795912, -0.0309670456, -0.0289147496, 0.0238920711, -0.0121634724, -0.0312232114, 0.0441361517, 0.0436849371, 0.0381903648, 0.0364197195, -0.0347338058, 0.0385497622, -0.0084463367, 0.0382933021, 0.0421075225, 0.0318427049, 0.002108946, 0.0559007302, 0.0240262263, -0.0094663408, -0.0217678286, 0.0010655272, -0.0051694051, -0.0034707587, 0.0061432612, -0.0675877929, -0.0105348462, -0.0061821602, 0.0270230211, -0.0244442895, 0.0818507597, 0.0121738436, 0.0067623686, -0.0299378932, 0.029459279, 0.0297187343, -0.0360787921, -0.0309229307, -0.0150282942, -0.0274436567, -0.0126457848, -0.0196341462, -0.0052870233, -0.0241470356, -0.0168786794, 0.0366013534, -0.0052107465, 0.0834661648, 0.0572018549, -0.0210143961, 0.0508062467, 0.0424939208, -0.0670411289, -0.0515506901, 0.0544073507, -0.0019189878, 0.022463575, 0.0073468513, -0.0384397507, -0.0382408537, 0.0242291037, -0.0786689818, -0.0069375839, -0.0472447611, -0.0885661468, 0.0500414409, -0.038927827, -0.02418443, 0.0250223465, 0.0157867409, 0.0666624084, 0.0577869862, -0.0578517541, -0.0386030599, 0.0354587473, -0.0039528036, 0.0328941308, -0.0635775998, -0.0489062555, 0.0360059477, 0.0392723903, -0.0425784588, 0.0262103975, 0.0021859969, 0.0253664143, 0.0498353168, -0.0684895441, 0.0220458806, -0.0304125249, -0.0141947092, 0.0028034474, -0.0175537579, 0.0402467959, 0.0424533822, -0.0289805178, -0.0260638818, 0.0183388367, -0.0266802087, -0.0156090269, 0.0659640506, -0.0468471758, -0.0177995693, -0.0086272238, -0.0260191541, 0.0135171022, -0.0846776813, 0.041164808, -0.0247093905, 0.0267921854, -0.0751016364, -0.030758895, 0.0358132049, -0.0143301953, 0.0178040881, -0.0010038801, -0.0194203034, -0.0068439147, -0.0642358884, -0.0195802934, -0.0480879657, -0.0264620967, 0.0363428779, -0.0381093286, 0.0188019983, -0.0145833353, -0.0384762846, -0.0528044999, 0.0330665037, 0.0670799389, 0.0156115564, -0.0254422519, 0.0444597118, 0.0376829356, -0.0271689016, -0.0694808364, -0.0188730136, -0.0259187222, 0.0408922359, 0.008539388, 0.0101202847, 0.0040508159, 0.0258362666, -0.0142622171, 0.001643093, 0.0588979758, 0.0087569868, 0.0034932084, 0.0024547384, -0.0581605099, 0.0232137032, 0.0049178666, 0.0015048902, -0.0227901936, 0.0077280486, -0.0106187267, -0.0061950963, -0.0166009068, -0.028131986, 0.0146190012, -0.0517858714, 0.0046688984, -0.013853332, -0.0303187277, -0.0038484042, -0.0148853222, 0.0233110469, -0.0007730447, -0.0349728242, -0.0163577627, 0.0560277738, -0.0378483832, -0.0052757021, -0.0373377688, 0.0443549231, -0.0061224946, -0.0741175041, 0.1214410737, 0.0098361932, 0.0729823783, -0.0203865059, -0.0328839757, -0.0288106967, 0.0457391627, 0.0458706394, -0.0084564183, -0.0213863496, -0.0226898249, 0.0264203846, 0.0093126623, -0.0506331995, -0.0006359095, -0.0070845787, 0.0696968213, 0.0038610741, -0.0407067016, -0.0252291337, -0.0275237635, 0.0494597964, 0.0456022397, 0.0250790566, -0.0270895045, 0.0022380166, 0.0045121294, 0.01744009, -0.0136547033, 0.0127526326, -0.0288626738, -0.0546387807, 0.0038958814, -0.01420944, -0.0635266155, -0.0796326101, 0.0131332092, 0.0106236553, -0.0236034151, -0.0094750607, -0.0194118693, 0.0716997609, 0.047075849, -0.0522065982, -0.0132247759, 0.0124036651, 0.0289847888, -0.0204068422, -0.0043569966, -0.0681471005, 0.0309126917, 0.0097435014, 0.0034921663, -0.010771201, 0.03624456, 0.040706072, 0.0156545769, -0.0099606654, 0.0040354985, -0.0029790434, 0.0276591051, -0.015983114, 0.0052879024, 0.053168565, 0.0024434011, 0.0218661707, 0.0280766599, -0.010361529, -0.0434333906, -0.0155277606, -0.0013720174, 0.0072822366, -0.088328205, -0.0643850639, -0.041787304, -0.0051058033, -0.0128127383, -0.0145191476, -0.024861088, 0.0210778005, 0.0075676902, -0.0508805923, 0.0402800776, -0.0156211061, -0.0244406611, -0.0636283532, -0.0006187922, 0.0331918448, 0.0185113698, -0.016983537, 0.0000762324, 0.0098428465, 0.0803647414, 0.0303777661, -0.0320308357, -0.0160117615, 0.0314616784, 0.0311375242, 0.0278533231, 0.0041292412, 0.0177081656, 0.0214902367, 0.0228221454, 0.0066500856, -0.064928636, -0.0129563808, 0.0506897978, -0.0239723064, -0.0218274351, 0.1081209853, 0.1030252874, 0.0384134911, 0.0947964713, 0.0199365374, -0.0229540877, 0.0312594511, -0.0059412657, -0.0367104672, -0.0020078898, -0.0438514575, -0.0073485631, 0.0459063612, -0.0295608323, -0.0014170725, 0.0030336007, 0.0169993322, 0.037216533, -0.0137153389, -0.0055384496, -0.0384424478, 0.0010211391, 0.0328044742, 0.0081699649, -0.0200510975, -0.0094837472, -0.0531108603, 0.027383877, -0.0129464949, 0.0947889462, 0.0031917151, -0.0543552563, -0.0052313609, 0.0133893806, 0.0170978419, -0.0310297143, -0.0566654392, -0.000585338, -0.074044548, 0.0086342171, 0.0055607618, -5.221385378e-33, -0.034347374, -0.0487270877, 0.0695552006, 0.0351405554, -0.0532912016, -0.0332097262, -0.0564132184, -0.0157801285, -0.0199358966, -0.0228271056, -0.003407832, 0.0135552268, -0.0009157446, -0.0629185215, -0.0055624056, -0.0332496241, 0.0084291985, -0.0067856116, -0.0462284014, -0.003826329, -0.0361766703, 0.0131696947, -0.0021040053, -0.0692789778, 0.0037011392, -0.0018572279, -0.0274509452, 0.0204398539, -0.0223668478, -0.0068799336, 0.0323386714, -0.0349081643, 0.0094809113, 0.0190062076, 0.0254383367, -0.0253047924, -0.0212125704, -0.045216769, -0.0187444109, -0.0246068388, -0.0223628245, -0.0417404175, -0.0250469521, 0.0432233922, -0.0381392986, -0.0152093424, 0.0595205687, -0.0260115042, -0.0037995146, 0.0056471, -0.0257280767, -0.0008074255, -0.0358544402, -0.0146631729, 0.0021407027, -0.0182843041, -0.0123987207, 0.0142412689, -0.0466600694, 0.0496326014, -0.0490881167, -0.0628474504, -0.009275171, 0.0346142352, 0.0617162026, 0.0321964435, 0.0188619643, 0.0487599857, -0.0448770039, -0.0163676664, 0.02659503, 0.1009404883, 0.0199324396, 0.0770306364, -0.0986744091, -0.0107112322, -0.0125870118, 0.0525048822, 0.0701217502, 0.0097845225, 0.0090877712, 0.0061714994, -0.0282855276, 0.016831493, 0.0428079031, 0.0167909041, 0.0144361276, -0.0240939129, -0.0075556468, -0.0257127155, -0.0025229442, -0.0694928989, 0.025982216, -0.0110704079, -0.006521238, -0.0006797544, 0.0078120469, -0.0066429116, -0.0066997604, -0.0384312496, 0.0044796825, -0.0205600709, -0.0387996323, -0.0019495814, 0.0523283705, 0.0208563842, -0.0288335159, 0.062164031, 0.0218520723, -0.0069005541, 0.0180826206, 0.0393787175, 0.0358132273, -0.0459084399, -0.0094744656, -0.0589519367, 0.0138986791, -0.0347270556, 0.0028244725, -0.0030155228, 0.0091583766, 0.0128406798, -0.0424980596, 0.0007826627, -0.0503631383, 0.0001647332, -0.0652974695, 0.0733736083, 0.0160043444, 0.0177387893, -0.0320652276, -0.0728766397, 2.843e-7, -0.0885064974, 0.0392801426, 0.0178856477, 0.0324331969, -0.0016404951, 0.0672425851, -0.0140239624, 0.0415044762, -0.006028688, -0.0653527305, 0.0870171487, 0.0481461212, 0.0015243189, -0.0017896295, -0.0498332381, -0.0005996409, 0.012600719, -0.0452091582, -0.00554635, 0.0139124608, 0.0327515975, -0.0446453318, 0.0376391299, -0.0050939908, 0.0354199335, -0.0075879632, -0.0468992181, -0.0838478059, -0.0002520807, 0.023660766, -0.0164387599, -0.0212014169, -0.0312925577, -0.042236641, 0.0097996844, 0.0148531767, -0.0465488583, 0.04203761, -0.0249068588, -0.030803794, 0.0011522111, -0.0111325644, -0.0095132152, 0.0095492024, 0.0030738246, 0.0210427195, -0.0104667991, 0.0236381143, -0.0224118084, -0.0408388674, -0.0718120113, -0.0242217965, -0.0143195549, -0.0383383296, -0.0352119654, -0.0305601899, -0.0109186368, -0.0425036885, 0.0555065349, -0.0146937836, -0.0187728871, -0.0766136721, 0.0038812517, 0.0064449543, -0.0042414828, 0.0079269363, -0.0123612657, 1.899482814e-34, -0.0687974021, -0.0099588335, -0.0222378597, 0.0488670878, 0.059676569, 0.0286279451, -0.0559457727, 0.0037082855, 0.0397098325, -0.0185540076, 0.0116360774 ]
http://arxiv.org/abs/2310.14981v1
http://arxiv.org/pdf/2310.14981v1
Fidelity-Enriched Contrastive Search: Reconciling the Faithfulness-Diversity Trade-Off in Text Generation
2023-10-23T14:27:45
2023-10-23T14:27:45
Wei-Lin Chen, Cheng-Kuang Wu, Hsin-Hsi Chen, Chung-Chi Chen
cs.CL
cs.CL
In this paper, we address the hallucination problem commonly found in natural language generation tasks. Language models often generate fluent and convincing content but can lack consistency with the provided source, resulting in potential inaccuracies. We propose a new decoding method called Fidelity-Enriched Contrastive Search (FECS), which augments the contrastive search framework with context-aware regularization terms. FECS promotes tokens that are semantically similar to the provided source while penalizing repetitiveness in the generated text. We demonstrate its effectiveness across two tasks prone to hallucination: abstractive summarization and dialogue generation. Results show that FECS consistently enhances faithfulness across various language model sizes while maintaining output diversity comparable to well-performing decoding algorithms.
[ 0.0299576893, 0.0591729358, 0.0035693005, 0.0141881006, -0.0422612429, -0.0130978432, -0.0418506451, -0.0041644005, -0.0320791751, -0.0312722288, 0.0083185527, -0.0588663109, 0.0404618233, 0.0341695063, 0.0168281812, -0.0703914985, 0.0363005139, -0.0071996511, -0.0155386534, 0.0064531681, 0.0029044333, 0.013199959, 0.013247055, 0.0589024685, -0.0127548119, -0.0089123957, -0.0179634765, 0.0202818438, 0.0292997863, -0.0275606047, 0.0071532605, 0.0553062372, 0.0039827316, 0.0273164883, 0.0000019782, -0.0272515006, -0.0389969796, -0.0127263758, 0.0273811407, -0.0126404725, 0.0524714701, -0.0164705086, 0.0055855727, 0.0247983858, -0.0095276525, -0.0032565428, 0.0641500354, 0.0706902742, 0.0561963655, 0.0663498864, 0.0007799835, -0.0300948508, 0.0235376339, 0.0079224035, 0.0121511677, 0.008418534, -0.0230418425, 0.0191201773, 0.0043318565, -0.0030271688, 0.0105309021, 0.0266331974, 0.0141724274, 0.0129661923, 0.0071822009, 0.0491796844, -0.0364530347, -0.0054227244, 0.0159226395, 0.0478649624, -0.023601599, -0.0518555157, 0.0050558676, -0.0022408986, -0.0071603758, -0.007219546, -0.0433414839, 0.0514739417, -0.0424566902, 0.0261465199, 0.0658341497, 0.0094338814, 0.0139164953, 0.0123475539, -0.0381954946, -0.0103886817, 0.0263217688, -0.0069616996, -0.0327559449, 0.0067101372, -0.0634845793, -0.0478600413, 0.0267576054, 0.0246854965, -0.077019453, -0.0023807797, -0.0793455243, -0.0567544587, 0.020428827, -0.0306903459, 0.0026684073, 0.0445716456, -0.0238679312, -0.0035522003, -0.011296479, 0.0196012724, -0.0067292894, -0.0125774788, -0.0547862016, -0.028480269, -0.016627606, -0.0201058425, -0.0621095635, 0.0481424518, -0.0279078148, -0.0436574779, -0.0211579166, 0.0271453895, 0.0007271508, -0.0007008307, -0.0129423141, 0.03646373, -0.0346138962, -0.0164510738, 0.0241108648, -0.0044003096, -0.016063327, -0.0220349953, 0.0592298023, -0.0440801382, -0.0342375971, 0.0328106359, 0.0305082966, -0.0160111114, -0.03024978, 0.0390117988, -0.0219369344, -0.0399136841, -0.0346786976, -0.0371346064, -0.0216555241, -0.037872538, -0.0566163361, -0.0706855804, 0.0136062205, 0.0008368342, -0.0236455556, -0.0494871214, 0.0187230837, 0.0390346572, -0.0168259311, 0.0297030397, -0.0474271551, -0.0016891087, 0.0612847134, 0.0088971211, -0.0168317221, 0.065593496, 0.014391019, 0.0356009938, 0.0039066202, 0.0255614668, 0.0238487739, 0.0132033108, 0.0080613373, -0.0240547396, -0.0048735403, -0.0240321811, -0.0213071369, 0.0205380451, 0.054068543, 0.0868119672, -0.0690591484, 0.0386381596, 0.0541177578, 0.0280668121, 0.0256132968, 0.0151386345, 0.0504105575, 0.0280192066, -0.031375207, 0.0844017267, -0.0272872113, 0.0364432745, -0.005286247, 0.0410841331, 0.1104195416, 0.0422245972, -0.008845076, -0.0345660932, 0.0052288244, -0.0073625515, -0.0011369949, -0.0248701535, 0.0152716339, 0.0437982827, -0.0845155716, 0.0407796949, 0.0109593431, -0.0468447581, 0.022686556, -0.0156789348, 0.0310083237, 0.0933102965, 0.0801685825, 0.0194939822, 0.019923225, -0.0032800809, 0.0098320013, 0.073250331, 0.0522839054, -0.0025046407, 0.0170419142, -0.0628641248, -0.0285121668, -0.0175936334, 0.0124171004, 0.0220558792, -0.0132785495, -0.0028771614, 0.0495610088, 0.0098733129, -0.0606441423, 0.0358737223, -0.0439176001, -0.0021421728, 0.0072776922, -0.0036924724, -0.0174546521, 0.0145638762, -0.0157616045, 0.0468549617, -0.0178482365, -0.0592765138, -0.0052038338, 0.0242937114, -0.0722588971, -0.0527450219, 0.0048210253, -0.0556963533, 0.0161207858, 0.0206622481, 0.0108024208, -0.0428257622, 0.0351620354, -0.0748118907, 0.0350825898, -0.0402870439, 0.0356755406, 0.0207857341, 0.0244340375, -0.0358989462, 0.0857827738, -0.0136133125, 0.0053507285, 0.0519442186, 0.0138753261, 0.0054381201, -0.0636420101, 0.0061023692, -0.0106836762, -0.0122936014, 0.0060661966, 0.0468607768, 0.0044731349, -0.0208799522, -0.0294868443, -0.0416433439, 0.0149953505, -0.0362266153, -0.0275538601, 0.0512198955, 0.0326510854, 0.0183171108, 0.0281696543, -0.028643772, -0.0373482369, 0.042388238, 0.0158232506, 0.0183425453, 0.0206337646, -0.008499247, -0.0262305588, 0.0092201913, 0.028317444, 0.0427159742, -0.0085223578, 0.0243241545, -0.0917802006, 0.07671123, -0.0250693187, -0.0129325064, 0.0154777551, 0.0089101689, 0.0065088589, 0.0149094481, 0.0597822629, 0.0031959449, 0.0561936311, 0.035900671, 0.0336112045, 0.0095948279, -0.0370037183, -0.0102758277, -0.034840323, 0.0297153629, 0.040317595, -0.0607006028, 0.0646559075, 0.051715143, 0.0643155202, 0.0370691307, -0.0673644692, 0.0415036604, -0.0117792217, -0.0455472581, 0.0153145697, -0.0398572795, -0.0206456576, 0.0412168093, -0.0399039797, -0.0408229791, 0.0706493407, -0.0283931345, 0.0370644405, -0.0291625038, 0.0017040555, -0.0142925791, 0.0079543702, -0.0253165793, 0.0429516323, -0.0033122955, -0.0404963791, -0.0365944654, 0.0039001727, 0.0243617408, -0.0372421406, 0.0793864205, -0.0281434171, -0.0114076147, 0.0081619862, -0.0301659852, -0.0704810917, -0.0152024748, 0.0251912456, 0.0131182214, 0.0597169474, 0.0116369389, -0.0431799516, 0.0276672803, 0.0072771404, 0.0523659736, -0.0370691754, -0.0275289547, -0.0104926527, 0.0664034113, 0.0730003938, -0.017949108, 0.0512674749, -0.053104993, 0.0341173075, 0.0439746343, -0.010662578, -0.0101658683, -0.003661663, -0.0267277118, 0.0097225923, -0.0223259516, -0.0454284959, 0.0197910573, 0.050855957, -0.0370059647, -0.0678620189, 0.1064648628, 0.0245468114, -0.0419991463, 0.0157826487, -0.0571441948, 0.0961676911, -0.0065787481, 0.0012141082, -0.064964965, -0.0072720037, -0.0029274481, 0.0408992469, -0.0006251446, -0.0267842039, -0.0292925294, -0.0872190222, 0.0359505229, 0.0478811786, -0.0530617982, -0.0698727444, -0.015697768, -0.0190027952, 0.010809062, 0.0440876111, 0.0354252644, 0.0191344917, 0.0241296273, 0.0156772602, -0.014268619, -0.0340327434, -0.055815421, -0.0473433919, 0.0212591905, 0.0790009871, 0.0196770988, 0.0327364765, -0.0155259967, -0.0018851273, -0.0495155267, 0.005456253, -0.0182015393, 0.0336806625, -0.0019165485, 0.0099039935, -0.0074329763, 0.0202415567, 0.002802273, -0.0568488389, -0.0067270817, 0.0058450857, -0.0335564204, -0.0168230496, -0.0150062554, 0.0322039276, 0.03995746, 0.0762529597, 0.0491734333, -0.0201453995, -0.0472889505, -0.0588162579, 0.0479119346, -0.1151736379, 0.0078343973, 0.000132289, 0.0438746065, 0.0033472343, -0.0995571986, -0.021167215, -0.0090881009, 0.0189593527, -0.0246523004, 0.0306072608, -0.0508400835, -0.0230371617, -0.0304046199, -0.0045743408, -0.0006305941, -0.0047712266, -0.0474418066, -0.0267020091, -0.0178711582, -0.080717884, 0.0084926812, 0.0624753758, -0.060464032, -0.0619637184, -0.0166387707, 0.0168800317, 0.0152964685, 0.0730714127, 0.0097503681, -0.0226696581, 0.0233423207, 0.0414937064, -0.0061100754, 0.0183996353, -0.0022832877, 0.0135272881, 0.0015276757, 0.0202330612, -0.0445009619, -0.012251284, -0.0141904289, 0.0892410427, 0.0607217997, -0.0252592396, 0.0657787472, -0.0078019141, -0.0073888809, -0.0650034249, 0.035993427, -0.0236251075, -0.0293296203, -0.0158636812, -0.0235282276, -0.0438454226, 0.0504170023, 0.0150262052, 0.0035991629, 0.0046191351, -0.0196883269, -0.0180362221, 0.0565549098, -0.0352624394, -0.0329899639, -0.0337753184, 0.0090916185, 0.0296097491, -0.0292253885, -0.0376549326, 0.0108381314, -0.0558134466, 0.0371634252, -0.0275899433, 0.0483891778, 0.0137303369, -0.0271340199, 0.0017375431, 0.0292395968, -0.0497585721, -0.0301452093, -0.0719721019, -0.0363007486, 0.0558510087, -0.0154066812, 0.0675978735, -0.0464771613, 0.0206970163, -0.0153260333, 0.0312403664, 0.0273303334, -0.0618363731, -0.0214476883, 0.0244714227, -0.0133623155, -0.020195486, 0.1010657027, -0.0390714146, 0.0142639345, -0.0191688165, -0.0078182975, -0.0475201085, -0.0433764793, -0.0025986582, 0.0565840304, -0.0215004906, -0.0122503219, -0.026387196, -0.0398509912, 0.0471897386, 0.0116164368, -0.0018489598, 0.0007067029, 0.0538948216, 0.0458648577, -0.0309033766, 0.003847206, -0.0328261405, -0.0004635576, 0.0200922396, 0.002530711, -0.0268187542, -6.074738073e-33, -0.022913279, -0.0402138345, 0.0007555666, -0.0328735746, -0.0196315125, -0.0255204979, -0.0605554543, -0.0099303685, 0.0249021072, -0.0069798543, 0.0147190541, 0.0008485823, 0.0032515025, 0.0473103486, -0.0239193793, 0.0203600321, 0.0562818795, 0.0201112535, -0.0595377348, 0.0499562286, 0.0527391136, 0.0124716386, 0.009191433, -0.0325941667, -0.0188357607, -0.0170441624, -0.0194065906, 0.0079946071, 0.0415073149, 0.0528728329, -0.0291158594, 0.0265772119, 0.0155979255, -0.0353926457, -0.0592222922, -0.0132468399, -0.0213599391, -0.0074611339, 0.0281245764, -0.0324754156, -0.0441388562, -0.0606015585, 0.0218333974, -0.0349895619, 0.0009241675, -0.0076113991, 0.0240910072, -0.0515549593, -0.0497521386, -0.0262950193, -0.063022241, 0.0403263047, -0.005330903, -0.0132460827, -0.0184101705, 0.0684111044, -0.0081517389, 0.000729653, -0.0269118007, 0.0529238023, 0.0198877789, 0.03788637, 0.0563677251, 0.035593152, -0.0102363452, 0.077453576, 0.0197502431, -0.0140138036, -0.0021679245, -0.0099842763, -0.0236157756, 0.0284244791, -0.0097760605, 0.0433395058, 0.0294467341, -0.0104323691, -0.0100408671, 0.0459437855, -0.0603993796, -0.0206207968, 0.0711253509, 0.0162060354, -0.0221212115, -0.0317155272, -0.0239578262, 0.0047440273, -0.0296399184, -0.0427980535, 0.036959108, 0.0441479534, -0.0179313216, -0.0516300574, 0.0442511141, -0.0053320727, 0.0127789378, 0.058507666, -0.0577592328, -0.0048842258, -0.0168549884, 0.0005979928, -0.0107746227, -0.0137047898, 0.0473745391, 0.0134457499, -0.0005852805, 0.0342488661, 0.0042046024, 0.0121160978, -0.0493551642, 0.0083016213, -0.0383506306, 0.0275344271, -0.0159631297, -0.0206843968, 0.0293448418, -0.0298381392, -0.0188945644, 0.0567266382, 0.0020274089, -0.0255996529, -0.048201289, 0.0015097444, -0.0111095998, 0.0289708134, -0.0217609908, 0.020265054, -0.0319869295, -0.009375643, 0.0322929583, -0.0493907034, -0.0302596558, 0.0083179418, 2.578e-7, -0.0081585683, 0.0166350137, 0.0389602892, 0.009130029, -0.0101537341, -0.0001324558, 0.0227524918, 0.0154692233, -0.0117601333, 0.0046835924, 0.012513252, 0.0171194393, 0.0645363107, 0.0029407011, -0.0812280402, 0.0189383607, -0.0754410401, -0.0114190979, -0.0451368317, -0.0312536769, 0.0552877672, 0.072194919, -0.0424082465, -0.0001092306, 0.0225924905, -0.0171803702, 0.0660350844, 0.0088457335, -0.0094350306, 0.0146213975, 0.0111472337, -0.0147644142, -0.0045528263, -0.016487876, -0.021314336, -0.0160174817, 0.0396275595, 0.0218216609, 0.0391803384, -0.0536542051, 0.0139933564, -0.0050146203, 0.003195358, -0.0493849739, 0.0296042413, -0.0414962396, -0.0100586163, -0.0424559675, -0.0464274921, 0.0048277532, -0.0040713307, -0.0294039641, -0.0409027301, 0.0348956324, 0.0075837965, 0.0528355651, -0.0254443325, -0.0335172005, -0.0460731164, 0.0066719227, -0.0355990641, -0.0263581667, -0.0345802158, 0.0058071148, 0.0415288657, -0.0408172347, 0.0136743719, 2.638543548e-34, 0.0605858862, -0.0208489504, 0.0026128814, 0.0248676818, 0.0347785316, -0.006036195, 0.0420365185, 0.0344536491, 0.0142069561, -0.046706073, -0.0288209114 ]
http://arxiv.org/abs/2310.14979v1
http://arxiv.org/pdf/2310.14979v1
ACTOR: Active Learning with Annotator-specific Classification Heads to Embrace Human Label Variation
2023-10-23T14:26:43
2023-10-23T14:26:43
Xinpeng Wang, Barbara Plank
cs.CL
cs.CL, cs.AI, cs.LG
Label aggregation such as majority voting is commonly used to resolve annotator disagreement in dataset creation. However, this may disregard minority values and opinions. Recent studies indicate that learning from individual annotations outperforms learning from aggregated labels, though they require a considerable amount of annotation. Active learning, as an annotation cost-saving strategy, has not been fully explored in the context of learning from disagreement. We show that in the active learning setting, a multi-head model performs significantly better than a single-head model in terms of uncertainty estimation. By designing and evaluating acquisition functions with annotator-specific heads on two datasets, we show that group-level entropy works generally well on both datasets. Importantly, it achieves performance in terms of both prediction and uncertainty estimation comparable to full-scale training from disagreement, while saving up to 70% of the annotation budget.
[ 0.030489875, 0.0552485958, 0.0023171376, -0.0134864952, 0.0182900932, 0.0425172895, 0.0185174178, -0.021594109, -0.0012169159, -0.0376727358, -0.020689901, -0.061479032, -0.0068748021, -0.0545209311, 0.0057356167, -0.0706810802, 0.0184387174, 0.024351351, 0.0400688797, -0.0392442979, 0.0144500472, -0.0395132229, 0.0053933691, 0.0402250104, -0.049400989, 0.0450826101, -0.0186318308, 0.001794957, 0.0449540839, 0.0158348065, 0.0419832654, 0.0723479018, 0.0007450841, 0.0602156818, 0.0000018551, -0.0093567874, -0.0331472456, 0.0267932378, -0.0127344932, 0.0068957554, -0.0038277812, 0.0807157084, -0.0064318171, 0.0061634863, -0.0230924822, -0.0430660397, 0.0616101921, -0.0004827206, 0.0514494777, -0.0100915898, -0.016814556, -0.0370492227, -0.0138411364, -0.0654996857, 0.0339073576, -0.0460866317, 0.0121522462, -0.0114709092, -0.0800513923, -0.0135877989, 0.0119926445, 0.0148468642, 0.0224128533, 0.0110909911, 0.0396378711, 0.0406346321, -0.0239583254, -0.0543682911, 0.0147902463, 0.037034791, 0.0403830707, 0.0323011503, 0.0050360821, -0.0606235527, 0.0381563567, 0.0278473757, 0.0174932797, 0.0131596383, -0.0180365499, 0.0245066751, -0.0480316132, 0.0241584219, 0.0002210964, 0.0082194591, -0.0018985579, -0.0067692026, -0.0267963186, -0.019057177, 0.0531923063, 0.0666562319, -0.0767426789, -0.0116947331, -0.017332036, 0.0127569893, -0.0349298008, 0.0060594864, -0.0091692433, -0.0259606875, 0.0407222696, -0.0926241279, 0.0040294994, -0.0170484167, -0.0168616865, 0.0600832589, 0.0776497796, -0.0330757722, 0.0151814166, 0.0424998589, -0.021253027, -0.0068224352, -0.0230216905, 0.0145615228, 0.0073419609, 0.0359496847, 0.0138204955, 0.0444296561, -0.05078578, 0.0119280424, -0.0458555184, 0.013936311, 0.0069557615, 0.0274115801, -0.0170698762, 0.0165196564, -0.0249297749, 0.0345198251, 0.0001195863, 0.0467518233, 0.0061722235, -0.0274422672, 0.0340945311, 0.018784659, -0.0137770372, -0.0060313391, 0.0119306799, 0.0177690294, -0.0093954578, -0.0202929135, -0.0043073157, 0.0000421585, -0.010262941, -0.0424345136, -0.0086834328, -0.0364491642, 0.0362584889, -0.0169738866, 0.0223543923, -0.0457950048, -0.0060634729, -0.0105086025, -0.0030545054, 0.0710307136, -0.0013046223, -0.0317657515, 0.0775547698, -0.0093564345, -0.0269416757, 0.0999884233, 0.0118247569, 0.0315752961, 0.0211123694, 0.0075228573, -0.0336404778, -0.0250051375, 0.0178232137, 0.0200926792, 0.0161468145, -0.0287391245, 0.0005861021, -0.0433863923, -0.0420170203, 0.0454806425, -0.0377338454, -0.033786431, 0.0446173549, -0.0276578516, -0.0341274925, -0.0596681461, -0.0266347732, 0.0041803606, 0.0338342078, 0.0094536729, -0.0317185409, 0.0378585495, -0.0350678936, -0.0279186741, 0.0232750271, -0.0149095114, -0.0406092294, -0.086220257, -0.0428939983, -0.0066327751, -0.0196441114, 0.0413033068, 0.0436644852, -0.0237977244, 0.0361742079, 0.016406592, 0.0786975324, -0.0517413244, -0.0115152206, -0.0330583006, 0.0174807683, -0.0120784892, -0.0013135312, -0.0416628309, -0.0476068631, -0.0230417959, 0.0050535863, 0.0018051167, 0.062820226, -0.0326719135, 0.0160156563, -0.0595453605, -0.0733647272, 0.0714715421, 0.0376190096, 0.0318081416, -0.0063816295, -0.036323335, -0.008916948, 0.0361977667, -0.0238341745, 0.0421772674, 0.0278022345, 0.0017669027, 0.0279204063, 0.0201664362, 0.0881503001, -0.0128424354, -0.0476069786, -0.0143181728, 0.0392204896, -0.0057036178, -0.0655974075, 0.0019187231, 0.0190821309, 0.0129557634, 0.0235632379, 0.0049260161, -0.0421621799, -0.0466933548, -0.0351998135, -0.0299705826, -0.0588687509, -0.0302460082, -0.0442401022, -0.0670457929, 0.0037948899, -0.0426858291, -0.0102634868, -0.1017638892, 0.0643900856, -0.031863559, -0.0208126772, -0.0291920546, -0.069591485, 0.0354362167, -0.0229958743, -0.0330978744, 0.0019418524, 0.0311205462, 0.0227297433, 0.0683945045, -0.0198928937, 0.0024316646, -0.0175741967, -0.027994154, -0.0012017334, -0.0111708743, -0.0086814128, -0.0308406912, -0.0016769232, 0.0292629004, -0.0048994222, -0.0261687618, 0.0429562405, -0.0416713357, 0.0357366838, 0.0055906363, 0.0321681499, -0.0026950198, -0.0477099195, -0.0273573715, 0.0103127398, 0.0179206617, 0.043288596, -0.0267379023, -0.0203577504, -0.0032773179, -0.0429170802, 0.0146692134, 0.0049411128, -0.0041797627, 0.0236780178, -0.0430359431, -0.0415688194, 0.044430498, 0.0359845757, 0.0482845269, 0.0599844381, 0.0102202734, -0.0380407274, 0.0141866151, -0.0505408645, -0.0178874619, -0.0269212443, -0.0440284014, -0.0110222325, 0.0332726762, -0.0186851285, -0.008897095, -0.0683505312, -0.0203616768, -0.0138920601, -0.0612183921, -0.0585009493, 0.0328150392, -0.0119386418, 0.0527442843, -0.0000181449, -0.0271303132, 0.085585691, 0.0255782176, -0.0041268431, -0.0159703698, 0.0267261937, 0.0031241816, 0.0063716159, 0.0181542747, 0.0158137474, 0.0182763077, 0.0394372381, -0.047049325, -0.0422899909, 0.1058842167, -0.036155019, 0.0185596365, -0.0267719645, 0.0080180531, -0.0327704735, -0.0587149933, -0.0321277417, -0.0092853745, 0.002229623, 0.0143839372, 0.0272518583, -0.02078362, -0.0292605255, -0.0083689159, 0.0080749188, 0.0075378758, 0.0098535717, -0.0266883932, 0.0106037008, 0.0007163603, -0.0048710085, 0.0078809969, -0.0022282721, -0.0517525673, -0.0087560685, 0.0780102611, 0.0398125164, 0.005034287, 0.0036582863, -0.0193320923, 0.0574742742, -0.0188176297, 0.0010987027, -0.0058563813, 0.0644529983, 0.0033340536, 0.019895127, 0.0721822605, 0.0303871576, -0.0907516778, -0.0505862497, -0.0063943919, 0.0785848796, 0.0047133984, -0.012078491, -0.0145819699, -0.0312162805, -0.0068570506, 0.0638784692, -0.0080618905, -0.0306114443, 0.0210801121, -0.0411520489, 0.0391707681, 0.0026308515, -0.0672749504, 0.0355047807, -0.0512503758, 0.0297838133, -0.0709180608, -0.0024632905, -0.0225904398, 0.0455516651, 0.0185509939, 0.0696350634, -0.0439892523, 0.0007747397, -0.0130349109, -0.0281162784, 0.0408360846, 0.0627440438, 0.0199705362, 0.0031509763, -0.0270570591, 0.05299481, -0.0802053735, -0.0250827931, -0.0195394773, 0.092444703, 0.0131849153, -0.001012995, -0.0063703828, 0.0144373989, 0.0136775784, 0.0073585827, -0.0191592816, 0.0277716555, -0.0244369544, 0.0597029105, -0.0388071388, -0.0233563352, 0.0269754026, 0.0139598241, -0.0068230564, -0.0523507707, -0.02047663, 0.0134266634, 0.0142754698, 0.0185911786, -0.0160010699, 0.0431617163, -0.062466424, -0.1085820198, -0.0383705497, -0.0370867066, 0.0026096203, 0.0766715109, -0.0164880194, -0.0052265874, 0.0296454038, 0.0272327606, -0.0249204468, -0.0048566456, 0.0222060569, 0.0231563039, -0.0194061119, -0.0863220766, 0.0348134525, 0.0120478785, -0.0382154696, 0.0460005589, -0.025000887, -0.0850734562, 0.0506779626, 0.0452618003, 0.0259096343, 0.0339911431, -0.0046682786, -0.0546812266, 0.000883267, 0.0588934571, 0.0476494916, 0.0144231282, 0.0477641299, -0.0027915898, -0.0367368683, 0.0162275843, -0.0380065702, 0.0499709733, 0.0510094613, -0.0370624624, -0.0666374639, -0.0685882717, 0.0160623398, -0.0061343894, 0.0617491268, -0.04999483, -0.0245533679, 0.0081010954, 0.0167200044, 0.0570886619, -0.0102515854, -0.0163822565, -0.0440065041, 0.0046292553, -0.0257505029, -0.031094322, 0.0729319528, 0.0739195868, 0.0675567687, -0.0244041905, 0.0072066458, 0.0142056793, 0.0227134917, -0.0116303479, 0.002576713, -0.0025229573, 0.03208353, 0.022433389, 0.0384086035, 0.0522581451, 0.0147575792, 0.0306239966, 0.0358312838, 0.0045939595, 0.0265596639, -0.0969396159, -0.0436025299, -0.0366171896, 0.0198164228, 0.0146516291, 0.0260872263, 0.0323218517, 0.0021789658, -0.0198235977, -0.0248174109, -0.0096470704, -0.0039310711, 0.0101192985, 0.0273953974, 0.0251577888, -0.0040997933, -0.0100159766, 0.0577127747, 0.0082173841, 0.002766032, -0.0814637542, -0.0083565414, -0.0247464124, 0.005323288, 0.0096698049, -0.0032766589, -0.0054804403, -0.009791458, -0.0461444817, -0.0227273386, -0.0230852384, -0.0159270801, 0.0284761749, 0.0442920849, 0.0268113986, 0.0344645008, -0.0132981874, -0.0285894889, -0.0121800192, -0.0168961231, 0.0009321072, 0.0360291786, 0.0202045739, -6.20077972e-33, -0.0315285549, -0.0063323709, -0.0586846583, 0.0181375071, 0.0103531247, -0.0031814266, 0.00908574, 0.0239646621, 0.0182444844, 0.0296951756, 0.0128038395, -0.0058298013, 0.0221295618, 0.0007533517, 0.0600750633, -0.0284397285, 0.0627670288, -0.0030890836, 0.0080188029, 0.0322449282, 0.0373540185, -0.0269912127, 0.0123692024, -0.0936232135, 0.0321929976, 0.0405276716, -0.0350069217, -0.0025134615, -0.0469388813, 0.0073640635, 0.0290425885, 0.0430586487, -0.0146704679, -0.0366008691, -0.0254952349, -0.0506089814, -0.0780377463, -0.0124524226, -0.0661223233, 0.0520920344, 0.0145581728, 0.0149643794, -0.0028436782, 0.0046738316, -0.0181182381, -0.026497623, 0.0460436046, -0.0047946959, -0.0207673274, -0.0766262934, 0.0239954814, 0.0366147719, -0.0187629685, 0.017743241, 0.008271669, 0.0103382897, 0.0199602824, -0.0181169715, -0.071474798, 0.032698147, -0.0140085034, -0.0331682935, -0.042795945, 0.032686498, 0.0108894575, 0.0419236869, 0.0745272413, 0.0019116, -0.0441403985, -0.0151034202, -0.0349876434, 0.0278094634, 0.0449180342, 0.0625367761, 0.0292909853, 0.0000467448, -0.0565696061, 0.0675503761, 0.0533400811, -0.0199566577, 0.0011038475, 0.0645693839, -0.0312523022, -0.0256900825, -0.0151658524, -0.0516220182, -0.0066250702, 0.0123935826, -0.0117513984, 0.0322591588, -0.0552083962, 0.0345069617, 0.0273514818, 0.0058050794, -0.0134982634, -0.0134608513, 0.0212398563, 0.0397428423, 0.0103588914, -0.0576115474, -0.0289034396, -0.043062523, 0.0522779115, 0.0256325994, -0.0070993509, 0.0161344279, 0.046572879, 0.018131962, -0.0438478515, -0.0063961167, 0.0049342783, -0.0031876911, 0.0021470331, -0.017911179, 0.0294527914, -0.027246153, -0.0153169418, 0.0176830404, -0.0161880404, 0.0285262931, -0.0145978676, 0.0236139093, -0.0446925946, 0.0000394983, 0.0148924943, -0.0264444482, 0.0328365825, -0.0793276429, 0.0214624293, -0.0205758102, -0.002593152, -0.0477740541, 2.554e-7, 0.0294131059, 0.0042238347, -0.0230550058, -0.0641688034, 0.0260103904, 0.0849957988, -0.0106818946, -0.0262346715, 0.0276347697, -0.0257889647, 0.0148732318, 0.0360132083, 0.0050427029, 0.0478402972, -0.0298990104, -0.0839431286, 0.0031664702, 0.0381734818, 0.0007105806, 0.0249834545, 0.0253899917, 0.0789017454, 0.0534607992, -0.0437577888, 0.045461718, 0.0125739649, 0.0487479903, -0.0149014965, 0.0190643258, 0.0230296925, 0.0470998511, -0.0450243391, -0.0016823845, 0.0688337162, -0.0240937229, -0.0308587402, -0.0024665718, 0.0188854877, -0.0237039011, -0.0209012888, -0.003510135, 0.050947804, 0.0415260829, 0.0058228513, 0.070129998, -0.0260746684, -0.0724984556, -0.0215552244, -0.0196846835, 0.0009634231, 0.0728908256, 0.0523844138, 0.0130697703, 0.0103665516, -0.0551389158, 0.0320548452, -0.0401807651, -0.0875562429, -0.0086666271, -0.034620408, -0.0532568246, -0.0710203499, 0.0140280994, 0.0326221809, -0.01771833, -0.027158536, -0.0118052484, 1.890343116e-34, 0.0432083458, 0.0248632263, -0.0037119735, 0.0485339388, -0.0254622884, -0.0003146365, 0.0032007841, -0.0074146641, 0.0173767321, 0.0077427314, 0.0168902315 ]
http://arxiv.org/abs/2310.14971v1
http://arxiv.org/pdf/2310.14971v1
Penalty Decoding: Well Suppress the Self-Reinforcement Effect in Open-Ended Text Generation
2023-10-23T14:20:04
2023-10-23T14:20:04
Wenhong Zhu, Hongkun Hao, Rui Wang
cs.CL
cs.CL
The decoding algorithm is critical for open-ended text generation, transforming latent representations into coherent and meaningful outputs. This paper investigates the self-reinforcement effect in text generation and the effectiveness of a repetition penalty to mitigate it. However, determining the optimal repetition penalty value is challenging. To tackle this, we propose a forgetting mechanism that disregards distant tokens, reducing the burden of penalty selection. In addition, we introduce a length penalty to address overly short sentences caused by excessive penalties. Our penalty decoding approach incorporating three strategies helps resolve issues with sampling methods deviating from factual information. Experimental results demonstrate the efficacy of our approach in generating high-quality sentences resembling human output.
[ 0.0296602082, 0.0416064486, -0.0054073324, -0.0218937155, -0.0159005132, -0.0212101378, -0.0150105264, 0.007884685, -0.0326042026, -0.0211122055, 0.025333548, -0.0049927565, 0.0150704859, 0.0199190881, 0.029609913, -0.0605623238, 0.0239073075, -0.0385850929, 0.0284050144, -0.0133018317, 0.0362498388, -0.0085076066, -0.0107200621, 0.0301215779, -0.0246293489, -0.0220816936, -0.0227185171, -0.0168305505, 0.0021838869, -0.0507585444, 0.0102392081, 0.0442187041, -0.0075066639, 0.0176153183, 0.0000019998, -0.0350100175, -0.0279167555, -0.0349518061, 0.0003184606, 0.016582882, 0.0421181321, -0.0335704423, -0.000884745, 0.0212755762, -0.0109943729, 0.0182492565, 0.056910269, 0.0573876463, 0.0637243167, 0.0478416309, 0.0053534806, 0.0012833494, -0.0061436794, -0.0166317578, 0.0205443036, 0.0309667271, -0.0060572443, 0.0019460025, -0.0137694683, -0.0069310651, -0.0147114489, 0.0227917228, 0.0315861478, -0.0067469841, 0.0332167409, 0.085472621, 0.0127652762, -0.0273819249, -0.0240616575, 0.0143183172, 0.0020569339, -0.0346519649, 0.0221868567, -0.0401228592, -0.0038981019, -0.0326725692, -0.0455756411, 0.0846119598, -0.018998187, 0.02912746, 0.0376037396, 0.0524808541, -0.027532693, -0.007252668, -0.0167438444, -0.017700037, 0.0241037179, -0.0528004654, -0.0140624121, 0.0200000349, -0.0013834761, -0.07262633, 0.0198463146, 0.0261824895, -0.0388955958, 0.0094378861, -0.0741480365, -0.0671588406, 0.0213246346, -0.0193507951, 0.0269168708, 0.0400757194, -0.003234457, -0.003147485, -0.0330509283, 0.0313733295, 0.0026287469, 0.0084139928, -0.0141165564, 0.0731541589, -0.0071462435, -0.047857523, -0.0538338609, 0.0838652775, 0.0065173511, -0.0291920807, -0.0561993234, 0.0283673014, 0.007275912, -0.0114587126, 0.0087438636, 0.0129538011, -0.0505926423, 0.0278984588, -0.005116032, -0.0106189428, -0.047675278, -0.0122514535, 0.0463919379, 0.0088370228, -0.0508538298, 0.0164437294, 0.031321004, -0.0105709815, -0.0433772281, 0.0608275197, -0.041132018, -0.0153481252, -0.0147941383, -0.0715702027, -0.0381384976, -0.0359239317, 0.0094200047, -0.047146067, -0.0064671547, -0.0105349822, -0.0144268833, -0.0289350636, 0.0217398051, 0.0270798448, 0.0075888205, 0.0038672767, -0.0131978719, -0.0347666591, 0.0215862822, 0.0073321443, 0.0297899824, 0.0494011752, 0.0235733557, 0.0784639791, 0.0000331653, 0.0293548312, 0.0249326788, 0.0070332317, 0.0485784151, -0.0170735624, -0.007273546, -0.0190349035, -0.0057920599, 0.052193407, 0.0729674622, 0.0744728073, -0.056080997, 0.0522258729, 0.0414171852, 0.0304237735, 0.004717424, 0.0094769867, 0.0535589829, 0.026594054, -0.0133123454, 0.0759173483, -0.0189496167, 0.0647422001, 0.0293924138, 0.0386516862, 0.0611173771, 0.0018633192, -0.0175048728, -0.0370526798, 0.0342525318, -0.0180706233, 0.0192566458, -0.0468339175, 0.0170782041, 0.0407879725, -0.0611162744, 0.0552286021, 0.0153661054, -0.0699234903, 0.0174439382, -0.0155792702, 0.0628172457, 0.0728999674, 0.0666337386, -0.0071510966, 0.0320748277, -0.0076005422, -0.0187333021, 0.0609262548, 0.0173467062, 0.0176825542, -0.0021697932, -0.0413861834, -0.0140529433, -0.0129425805, 0.0031570606, 0.0018172985, -0.0043265102, 0.0145541672, 0.0236678887, 0.0070255087, -0.0340706706, 0.0504506268, 0.0069969636, -0.0512155704, 0.0192253198, 0.0023339354, -0.0200154018, -0.0031850061, 0.000460217, 0.0476518646, 0.0243675187, -0.041255869, -0.0199520905, -0.0012118606, -0.0943386778, -0.0974553302, -0.0158373117, -0.0504534692, 0.0069329878, 0.0075785215, 0.0218378548, -0.0415831394, 0.0054120268, -0.0658679083, 0.0517878383, -0.0505668595, 0.0176758934, 0.0229156483, 0.0042482307, -0.0211033691, 0.0530423857, -0.024227269, 0.000528621, 0.0080231829, -0.0322271436, 0.001559604, -0.0836621746, -0.0036892695, -0.0236224364, -0.0263728295, 0.0089100441, 0.057788983, 0.0423080772, -0.0467473641, -0.0553688817, -0.0304519963, 0.0073098852, -0.0165994968, -0.006125282, 0.0220540632, 0.0035929638, -0.0112581216, -0.0107682822, -0.0330823511, -0.0272275228, 0.0361373872, 0.0055539608, 0.0598163232, 0.0016018697, -0.0037635285, -0.0010520724, -0.0034055447, 0.0070790891, 0.0347368717, 0.0146211525, -0.0108495336, -0.0625071749, 0.0782100931, -0.0254521426, -0.0325354449, 0.0127603393, -0.0199873205, 0.0420799032, 0.006938478, 0.0784902126, 0.0492547192, 0.0480515994, 0.0505952202, 0.0341465287, 0.0099371597, -0.0303647388, -0.0092078345, -0.052650582, 0.0124477819, 0.0329719447, -0.0355428532, 0.0623738915, 0.0398776904, 0.0706620514, 0.0514288247, -0.0762065426, 0.0571607649, -0.0195332542, -0.0720811635, -0.0063623046, -0.0078422483, -0.0436571352, 0.0108862072, -0.0196274035, -0.0449424908, 0.0473558269, 0.0089683859, 0.0220538452, 0.014768349, 0.0564539246, 0.0041110865, 0.0253031757, 0.0106405467, 0.0265227128, 0.0449726693, -0.0525269471, -0.0245872885, 0.0234656818, 0.0432007574, -0.0116523858, 0.0018817764, -0.0276940241, -0.0263056811, -0.017036777, -0.0600289926, -0.0591857471, -0.0498763435, 0.0436251946, -0.0287195649, 0.0246132594, 0.0099761486, 0.018743515, -0.0219877884, 0.0457306355, 0.0146632129, -0.0434927084, -0.003930728, -0.0345477015, 0.0291014072, 0.0523032323, -0.0203011706, 0.0000121157, -0.0516453832, 0.0193583425, 0.0498038232, -0.0096779941, 0.0486978628, 0.0225766879, 0.0202658623, 0.0059901602, -0.0225370247, -0.0168479774, 0.0778595656, 0.0640964806, -0.0335611105, -0.0517526194, 0.0768495649, 0.0038558692, -0.0091201449, 0.0201828573, -0.0027999764, 0.0926960185, -0.0256994776, 0.0042503332, -0.0928177685, -0.0046564247, 0.0016700201, 0.0560860075, -0.0302975196, -0.0127478177, -0.0174487885, -0.0811879784, 0.0439619794, 0.0188577976, -0.0449057445, -0.0112164738, 0.0006759245, -0.0519291088, 0.0158733521, -0.0179347899, 0.061794173, -0.0235971939, 0.0491821803, 0.0391979888, -0.033940535, -0.0122793699, -0.0408825949, -0.0173432808, 0.0411139242, 0.056436412, 0.0175509304, 0.0210136231, -0.0258215312, -0.0110750115, -0.0245038774, 0.021009706, -0.0137268882, 0.0432294123, 0.0122955246, 0.0041483757, -0.0595638342, 0.0496391729, 0.0060225539, -0.0389096998, 0.0219751224, 0.0315579772, -0.0198455937, -0.018708745, -0.0085243732, 0.0008454056, 0.0310379732, 0.0734621361, 0.0392848551, -0.0339206234, -0.0796034634, -0.0374540798, -0.0023108488, -0.1379336268, 0.0033672946, -0.0137411281, -0.0030203082, -0.0190405734, -0.1004910395, -0.0635820702, 0.0004092284, 0.0280953459, -0.0049883137, 0.0084440317, -0.008572178, -0.0187820401, -0.0379851758, -0.0499851257, -0.0348585434, -0.0249713529, -0.0396186709, 0.0097003356, -0.0550830439, -0.0651794672, 0.0133775696, -0.0182589795, -0.0825317502, -0.0552677773, 0.0301056467, 0.0646930635, 0.0160352904, 0.0430368148, 0.0318387412, -0.0266333912, 0.0694340318, 0.0530828871, -0.0444614291, 0.0529811084, 0.0168341044, 0.0361426584, 0.0107820453, 0.0320084952, -0.0250619352, -0.0210538656, 0.0333579928, 0.0638339892, 0.013547861, -0.0005878413, 0.0703991577, 0.0286671259, -0.0241230894, -0.0513070449, 0.0219182279, -0.0511173233, -0.0142639549, -0.0408239551, -0.0061259544, -0.0271335356, 0.0553842746, 0.010744852, 0.0018768584, -0.0041265013, -0.0040304703, -0.0340217836, 0.0247327667, -0.0257939305, -0.0132332994, -0.019149255, 0.0401185304, 0.0307241771, -0.009504403, -0.0438115634, 0.0149520151, -0.0626172125, 0.024132384, -0.0277519878, 0.0323604494, 0.0388297439, 0.0079768207, -0.0247339867, 0.012171587, -0.0288929436, 0.0400918201, -0.0155763375, -0.0190024544, 0.0198363308, 0.028289495, 0.057820823, -0.0410024934, 0.0248881113, -0.0018991826, 0.0733041391, -0.0054767169, -0.0349155553, -0.0258683339, 0.0056448579, -0.0246508475, -0.0694860518, 0.0765972733, -0.034306936, -0.0184754804, -0.0008535996, 0.0195318069, -0.052313786, -0.0214022938, 0.0039212359, 0.0058383704, -0.0001127831, -0.0225100406, -0.0361038856, -0.0139972512, 0.0141128143, 0.0490677506, 0.0224574897, -0.0164142363, 0.0349195227, 0.0045191259, -0.0310571976, -0.0259869788, -0.0352972038, 0.0454252176, -0.0197565742, -0.0251262989, -0.0561718345, -6.25083227e-33, -0.0484229848, -0.0351978503, 0.0221629944, -0.0123048313, -0.0521148182, -0.015372429, -0.0537958592, 0.0167905986, 0.0935482383, -0.0039639575, -0.0222626217, -0.0323532298, 0.0123902392, 0.0160658397, 0.0289350804, 0.024239976, 0.0564352423, -0.0282705016, -0.0874864161, 0.0272482447, 0.0545718744, 0.0419496894, -0.0010321105, -0.003891285, 0.0265252702, -0.0195482932, -0.022506902, -0.029179357, 0.0247084629, 0.0461812764, -0.0228682961, 0.0150019145, 0.0286720004, -0.0363180861, -0.0535786822, 0.0485387146, -0.0706443936, -0.0425068028, 0.0040592062, -0.02259578, -0.0523985177, -0.0694405288, -0.0008150024, -0.0430249088, -0.0174393579, 0.012692716, 0.0094362525, -0.010899025, -0.038309209, -0.0397182703, -0.0682685375, 0.0067899246, -0.015287091, 0.0015762921, -0.031750679, 0.0203250591, -0.0211392902, -0.0019342786, -0.0256830454, 0.0473311096, 0.0302068219, 0.0376695767, 0.0139035275, 0.0150246862, 0.0097125564, 0.0535789691, 0.0100276908, -0.0005395781, -0.0410983786, 0.0016068812, 0.0182714481, -0.0198058616, 0.0134660825, 0.0405820124, 0.0677598342, -0.0552513078, -0.0486981161, 0.0271035843, -0.0372347124, 0.0048016575, 0.0370325111, 0.0203293636, -0.0089694355, -0.0363218822, -0.0208163597, 0.0102053508, -0.0067340964, -0.0352996103, 0.0639629737, 0.0556238033, -0.0173775926, -0.0701525584, 0.0142538575, 0.0194944944, 0.0245570019, -0.013468843, -0.0301277004, 0.001286594, -0.0397718027, -0.0290202964, -0.0460728034, -0.0172007196, 0.0395039916, 0.0069698016, 0.0233990159, 0.0357921049, 0.0379512869, 0.0200607479, -0.0451409854, 0.0194539111, -0.0355170891, 0.0433357842, 0.0279899146, -0.0387859643, 0.0250011906, -0.0119745489, -0.0137848882, 0.0211322885, 0.0041480497, -0.0286337472, -0.0679485798, 0.0047586546, 0.0241784696, 0.0310557224, -0.030697139, 0.0282973312, -0.0270901844, 0.0649409816, 0.0272820015, -0.0645480156, -0.0149416495, 0.0120860599, 2.587e-7, -0.0145435855, 0.0164707992, 0.0772160366, 0.0201816261, 0.0128428591, 0.0191877093, 0.0232824534, 0.0578658022, -0.026199609, 0.0386801399, 0.0100968843, 0.0083414828, 0.0262420345, -0.0057581002, -0.0590364486, 0.0385201201, -0.0694109425, -0.0169676337, -0.0377205275, -0.0180596001, 0.0929855481, 0.0034059265, -0.0185757577, 0.0230770111, 0.0282174703, -0.0079698786, 0.068425782, 0.0346556157, -0.0108447839, -0.0148337726, 0.025886843, -0.0308747049, -0.0026885371, -0.0249398369, -0.0101249404, -0.0495382734, 0.0116866939, 0.0157578606, 0.0184620861, -0.0344130881, 0.0543281101, 0.005839623, -0.0121762007, -0.0117724054, 0.0196427405, -0.0488702878, -0.0094901258, 0.0029568472, 0.0197330564, -0.0051477621, -0.0044468748, -0.0230351705, -0.0413221344, 0.0034693577, 0.0175375473, 0.0629210398, 0.0207305998, -0.0350333303, -0.041488573, -0.0130583039, -0.034436252, -0.0407913923, -0.0722247884, 0.0354450308, 0.0200161114, -0.0863787085, -0.0207230337, 2.425394739e-34, 0.0153445862, -0.0356748812, 0.0226154625, -0.002194002, -0.0007847941, -0.0038315756, 0.028014645, 0.0431961864, 0.0371155031, -0.0413066857, -0.0695928857 ]
http://arxiv.org/abs/2310.14970v1
http://arxiv.org/pdf/2310.14970v1
Towards LLM-driven Dialogue State Tracking
2023-10-23T14:15:28
2023-10-23T14:15:28
Yujie Feng, Zexin Lu, Bo Liu, Liming Zhan, Xiao-Ming Wu
cs.CL
cs.CL
Dialogue State Tracking (DST) is of paramount importance in ensuring accurate tracking of user goals and system actions within task-oriented dialogue systems. The emergence of large language models (LLMs) such as GPT3 and ChatGPT has sparked considerable interest in assessing their efficacy across diverse applications. In this study, we conduct an initial examination of ChatGPT's capabilities in DST. Our evaluation uncovers the exceptional performance of ChatGPT in this task, offering valuable insights to researchers regarding its capabilities and providing useful directions for designing and enhancing dialogue systems. Despite its impressive performance, ChatGPT has significant limitations including its closed-source nature, request restrictions, raising data privacy concerns, and lacking local deployment capabilities. To address these concerns, we present LDST, an LLM-driven DST framework based on smaller, open-source foundation models. By utilizing a novel domain-slot instruction tuning method, LDST achieves performance on par with ChatGPT. Comprehensive evaluations across three distinct experimental settings, we find that LDST exhibits remarkable performance improvements in both zero-shot and few-shot setting compared to previous SOTA methods. The source code is provided for reproducibility.
[ 0.042054899, 0.048307918, -0.0204376373, 0.0452165268, -0.0357234962, -0.0100995675, 0.0048223655, -0.0174144264, 0.0383796953, -0.0406875052, -0.043057058, -0.0656861141, -0.0123059982, 0.0623790324, -0.004944881, -0.0501084588, 0.0620249584, -0.0496132523, -0.0259050261, 0.0176126305, 0.0301426649, 0.0137113454, -0.0550446026, 0.0730371252, 0.0149381347, -0.0277751852, -0.0515280738, 0.025198536, -0.0163370017, -0.0083217993, -0.0021457938, 0.0303817801, 0.034746103, 0.0500223674, 0.0000021564, -0.0513071977, -0.010513965, 0.0072326269, -0.0358381048, 0.02008681, -0.0141583551, 0.0427078642, -0.0373473912, 0.0428269021, -0.0295416191, 0.002373863, 0.03123511, 0.0114783552, 0.0814385787, 0.0499356277, 0.0001048635, 0.0188143402, 0.0096080638, -0.0131106814, -0.000770257, -0.0785068944, -0.0085918074, 0.0112655945, 0.0249999836, 0.0097081373, 0.0119310301, 0.0326703787, 0.0003507383, -0.0239472706, -0.0530328862, 0.0103357732, -0.028148314, -0.0209501665, -0.0461714827, 0.0596177131, 0.060152892, 0.0290672053, 0.0287377723, 0.0122904405, -0.0113904811, -0.0127709676, -0.0574180335, -0.0387437642, -0.0455279239, -0.0081760753, -0.0297502801, 0.0009583525, -0.0238419324, -0.0104476698, 0.016897412, 0.0594516583, 0.0165583249, -0.0185524933, -0.0742164627, -0.0186735783, 0.0258690957, -0.0815513805, 0.0292269345, 0.0320083536, -0.0570118949, 0.0434143282, -0.0563703328, 0.0266906023, -0.0020439592, -0.0228973273, -0.00195642, 0.0787429214, -0.0096353432, 0.0526233017, 0.0538576469, 0.0876840129, -0.0186278019, -0.0206962544, -0.0115627553, -0.0040221452, -0.0584910102, 0.0034418332, -0.0502160303, 0.0286328625, -0.051522404, -0.0522622354, -0.0234936904, 0.0802354962, 0.0448806658, 0.0303870533, 0.0000138799, -0.0208491012, -0.0230111349, 0.0092655579, -0.0266375076, 0.0468059592, 0.0068156505, -0.0056714355, 0.0134925498, -0.0548770875, -0.0055277962, 0.0001409626, -0.0077331983, 0.0041269665, -0.0319333449, 0.0726199076, 0.0069299843, -0.0337285846, -0.0059601325, -0.0216290783, 0.0019771133, -0.0652443692, -0.0252017267, -0.0271854419, 0.0393297002, 0.0159484763, -0.0098951077, -0.0202021543, -0.0013293568, 0.0478922166, 0.0123031717, 0.0346166305, -0.0324700475, 0.0218723863, 0.0158126894, 0.0311939958, 0.0001584565, 0.0549744964, 0.0447015315, 0.0280401167, 0.0450954698, -0.0259207413, 0.0197894759, 0.0457393639, -0.0196631011, 0.0134910662, 0.0123946676, 0.0458270758, -0.0087456172, -0.0092181358, -0.0093801338, 0.0575672127, -0.0220921263, -0.0049466724, 0.0859611258, 0.0929717198, -0.0052795894, -0.016485624, 0.0112107322, 0.05465075, -0.0033525219, -0.0127623808, -0.0172372051, 0.0312410463, -0.000300047, -0.0097373994, 0.0305589102, 0.0218443349, -0.043569129, -0.0089159347, 0.0017670543, -0.0064552249, 0.0003423974, 0.0285921246, 0.0355867073, -0.0342518874, -0.059472166, 0.0535583049, -0.0031646504, -0.055365406, -0.0431065038, -0.0520579368, 0.0150110917, 0.1018764526, 0.0737112388, -0.0177965984, -0.0748400241, -0.0347457044, 0.0116169108, 0.0402464494, 0.033445131, -0.0023375538, 0.0280480571, -0.0316246003, -0.0198087376, 0.0046890178, -0.0086068464, 0.0330056883, 0.0142866233, -0.022730859, -0.0028427262, 0.0083036125, 0.0461372174, 0.0018221743, 0.0142538818, -0.009881624, -0.0177084263, -0.0101632932, 0.0547401123, 0.0328696966, 0.0066059697, -0.0289637819, 0.0155076245, 0.0315907709, 0.01595583, 0.0411821194, -0.043302156, -0.0191932023, 0.0278876722, 0.0575660951, 0.0093305223, 0.0113980379, -0.0210145786, -0.0580407083, 0.0126697719, -0.0419199243, 0.0324495398, -0.0439150184, 0.0153933177, 0.0117549943, -0.0150022553, -0.0210642293, -0.0125320116, 0.0012122637, -0.0239786264, 0.0217735153, 0.0243682563, 0.0343217887, -0.0240866039, 0.0071878247, 0.0145108569, -0.0214301031, 0.0177138373, 0.0021097967, 0.0106727527, -0.0449759699, -0.0078165885, -0.1113881916, 0.0360589996, -0.0257943012, 0.0425990708, 0.0078808358, 0.0534498468, -0.0356576517, -0.0149435773, -0.0176992752, -0.0060479054, 0.0434356034, -0.0099836187, 0.0063713444, 0.0186997913, -0.0584408492, -0.0542763136, 0.029724488, -0.0024951976, -0.02709819, -0.0510014296, -0.0507446639, -0.0822923183, 0.0421969034, -0.0308913533, 0.0513355434, -0.0414041691, -0.0436106138, 0.0555604286, 0.0184356067, 0.0222269278, 0.0310295392, -0.0162404124, 0.0146349492, -0.0011391758, -0.0536782108, -0.0644896775, 0.0436955132, -0.001776351, -0.0008249167, -0.0432301387, 0.0271803532, 0.0300237257, 0.0354714058, 0.0134222861, 0.0259712301, -0.0592005663, -0.0099809989, -0.0126378797, 0.0056008594, -0.0105474144, 0.0021524457, -0.0632930994, 0.0215478744, 0.0008432855, -0.0554909073, 0.0423334353, -0.0637220889, -0.0491506085, -0.0295447502, -0.0198720843, -0.0388646312, 0.0610870011, -0.0233851299, -0.0054601287, 0.056821879, -0.0577819347, 0.0066637564, 0.0043371078, 0.0169685762, -0.0596635416, 0.0553815179, -0.069925189, 0.0231454819, -0.0216430798, -0.0402187593, -0.0433441289, -0.0252572112, -0.034230426, -0.0113962935, -0.0111192111, -0.0312039461, -0.0008322533, 0.0422860682, 0.0354106985, 0.050223019, -0.0019633977, -0.006525863, -0.040424116, -0.005174594, 0.0423388369, -0.0261431821, -0.0443184488, 0.0064527816, 0.0476374812, 0.0719575882, 0.0680529475, -0.0239512511, 0.0101925321, -0.0478413291, 0.0503736027, -0.0075238072, -0.0334278569, 0.0326612554, 0.0961768329, -0.0430227742, -0.0107306978, 0.1245717853, 0.01953917, -0.0377330743, -0.0267580561, -0.0158488583, 0.036458496, 0.0329402164, 0.0160829425, -0.0977072418, -0.0459487289, 0.0102144163, 0.0459689237, 0.0014866891, -0.011252, -0.0451791398, -0.0740187764, 0.00578873, -0.0192421153, -0.0326770432, 0.0076358961, -0.0059971921, 0.0433688015, 0.0253505968, 0.0241987202, 0.0192457046, 0.0154071581, -0.0205291342, 0.0069999555, -0.0524536259, -0.0124043813, 0.0253116302, -0.0237989668, 0.0940583348, 0.0797732547, 0.0280053299, 0.0335656032, -0.010105419, 0.0266612377, 0.0147689963, -0.0006806075, -0.0094213653, 0.0022459007, -0.0232062433, -0.0057996148, -0.0307117067, 0.023744259, -0.0390670337, 0.0120323943, 0.0388857834, 0.0268051159, -0.0633945018, 0.0514970236, -0.007661575, -0.0115460828, 0.0288829133, 0.0559774339, 0.0132319005, -0.0597073212, -0.0130652562, -0.0314981453, -0.035335917, -0.0152509566, -0.0061587067, -0.0286954325, -0.0007651521, 0.0217300784, -0.0486200526, -0.0290403217, 0.0191443749, 0.0218488835, -0.0136673097, 0.0263896864, 0.0232683029, 0.0111390362, 0.0220273174, -0.0015447648, -0.065546006, 0.0263740811, -0.0707124472, -0.0191706531, 0.0547976494, 0.0092136236, 0.0164962485, 0.0346549377, -0.067615658, -0.0641037747, -0.0252070744, 0.0708502978, 0.0226251911, 0.0111476369, -0.0130155487, 0.0012703633, -0.064349182, -0.0076429434, -0.0145411044, 0.0014789528, 0.0299799573, 0.0422632024, -0.022322394, 0.0155064464, -0.0319928005, -0.0040086042, -0.0191751923, 0.0311566051, -0.0543832481, -0.0708632395, -0.0082713692, 0.0035830494, 0.0572277047, 0.0022739549, -0.0208416041, 0.0026466686, 0.0490973592, -0.0493952222, 0.0022177575, -0.0730194896, -0.0148316864, -0.0387110673, -0.0421938784, 0.0158496406, -0.0149417678, -0.0658164993, 0.01745723, -0.0416257791, 0.0013189245, -0.0168369692, -0.0085111363, 0.0216942821, -0.0144534223, -0.0172795504, 0.0365269221, 0.029987134, 0.032308083, -0.0191583, 0.1285914779, -0.0223213453, -0.0270211734, 0.0446351282, 0.0589290597, -0.0564957, -0.0443868637, 0.0054621887, 0.0415329449, 0.0477003008, 0.0465396009, 0.0561184995, -0.0157188736, 0.0199940931, -0.0375251658, 0.0590616018, 0.0053915908, -0.029640343, 0.0060052732, 0.0198569614, -0.0146524413, -0.0139754666, 0.0602771565, 0.0203773528, 0.0088719269, 0.0135243414, -0.0175459944, -0.0557080284, -0.0286386684, 0.0007700822, 0.0321446359, -0.0194098298, -0.0108004333, -0.0558221824, -0.0193429925, -0.0204688013, 0.0018245149, 0.0017842113, -0.0420330949, 0.0463645309, 0.028786255, -0.0051932423, -0.0072046076, -0.0436411314, -0.0411827713, -0.0442360826, -0.0048214928, -0.0172740705, -5.80500216e-33, -0.0371817648, -0.024903059, 0.0534356013, 0.0298755579, -0.0500504263, -0.0215223078, -0.0393023044, 0.0097434549, -0.0164729767, -0.0641441494, -0.0268783923, 0.0375518128, 0.0144216064, 0.0109622572, -0.0411920995, -0.0236530714, 0.0435203575, -0.0066632316, -0.0316015556, 0.0503693894, 0.0524713397, 0.0093054492, 0.0358196124, -0.0901424214, 0.0116785849, -0.0011098408, 0.0186633132, 0.0117643299, 0.0094347745, 0.0309374332, -0.0095014889, 0.0173123926, 0.0011231864, -0.0567591079, -0.0016435405, 0.0256391633, 0.0321931653, -0.0065668952, 0.0521348193, 0.0244423747, 0.0211102199, 0.0217433181, -0.0283604972, -0.0103574898, 0.0004203496, 0.0363281146, -0.0231422521, 0.0194169842, -0.0273738075, 0.0080676014, -0.052707132, 0.025676962, -0.0006866117, -0.0812887922, -0.0124295531, 0.0375117548, 0.02614085, -0.0687088966, -0.0017487749, 0.0030029337, -0.0116769327, 0.0044014966, 0.0619961359, 0.0348555334, 0.0284913313, 0.0619256236, 0.026000753, 0.0349344984, -0.0247084387, -0.0328579284, -0.0211575497, 0.0311389342, 0.0391233079, -0.0068875556, -0.0518497452, -0.004548646, -0.0215910431, 0.0158470664, 0.0420381799, 0.0247320365, 0.0160965975, 0.0458468683, -0.0713906586, 0.0069230585, 0.0067928731, 0.0461333357, 0.0027479127, -0.0310920533, 0.049632296, 0.0044777473, -0.0072718267, -0.0306009836, 0.0623662882, -0.0050409818, 0.0059470418, 0.0206792019, -0.0218701437, 0.0213328134, -0.035210222, 0.009356413, -0.0435896665, -0.0099766543, 0.0237865131, 0.0170743316, 0.0207688771, 0.0050190091, -0.0433206297, 0.0198425818, -0.0409772471, 0.005959725, -0.0483467393, 0.0654662922, -0.049901057, 0.0198112838, 0.045937378, -0.0230117198, -0.0139100542, 0.1007328704, 0.0101251379, -0.0645721853, -0.0673186257, -0.0313730389, 0.0060049677, -0.0221470892, -0.0241437498, 0.002726712, -0.0243708361, 0.0050049783, 0.0021521321, -0.0144381598, 0.0027175446, -0.0260287318, 2.902e-7, -0.0197920259, 0.0309999399, 0.0351072885, 0.0308989752, 0.0301411338, 0.061698731, -0.0131793218, 0.040332038, 0.048990801, -0.0129711349, -0.0079964288, 0.0081963427, 0.057777755, 0.0239489563, -0.1156207398, -0.037780568, -0.0237500258, -0.001809385, -0.0505866483, 0.0446700454, 0.033760868, 0.0367913432, 0.0177152883, 0.0155144669, 0.020643292, -0.0093273204, 0.0332599469, -0.0278839953, -0.0361687951, 0.0189596824, 0.0096099107, 0.018109791, -0.0145293381, -0.0144519033, 0.0024640937, 0.0206189211, -0.0261885058, 0.0961400494, -0.0067016031, -0.0577397458, -0.0161995068, -0.0211872924, -0.0000622826, -0.0259639584, 0.0474865809, -0.0117803104, -0.0043138843, -0.0280615222, 0.0317845643, -0.0411158465, -0.0146617126, 0.0156104974, -0.0171286389, -0.0101790074, -0.0079332953, -0.020494001, -0.0169471223, -0.0585277379, -0.0068703052, -0.0570311137, -0.0472438, -0.0576621443, -0.0494337715, -0.0219106544, -0.0380388796, -0.0124164606, -0.019381687, 2.588103591e-34, 0.0068394174, -0.0156869162, 0.0297647137, 0.057348378, 0.0309224948, 0.029305933, 0.0128035359, 0.0041614058, 0.0670941249, -0.0592337996, -0.0196695738 ]
http://arxiv.org/abs/2310.14954v2
http://arxiv.org/pdf/2310.14954v2
Key Frame Mechanism For Efficient Conformer Based End-to-end Speech Recognition
2023-10-23T13:55:49
2023-10-28T14:38:46
Peng Fan, Changhao Shan, Sining Sun, Qing Yang, Jianwei Zhang
cs.SD
cs.SD, cs.CL, eess.AS
Recently, Conformer as a backbone network for end-to-end automatic speech recognition achieved state-of-the-art performance. The Conformer block leverages a self-attention mechanism to capture global information, along with a convolutional neural network to capture local information, resulting in improved performance. However, the Conformer-based model encounters an issue with the self-attention mechanism, as computational complexity grows quadratically with the length of the input sequence. Inspired by previous Connectionist Temporal Classification (CTC) guided blank skipping during decoding, we introduce intermediate CTC outputs as guidance into the downsampling procedure of the Conformer encoder. We define the frame with non-blank output as key frame. Specifically, we introduce the key frame-based self-attention (KFSA) mechanism, a novel method to reduce the computation of the self-attention mechanism using key frames. The structure of our proposed approach comprises two encoders. Following the initial encoder, we introduce an intermediate CTC loss function to compute the label frame, enabling us to extract the key frames and blank frames for KFSA. Furthermore, we introduce the key frame-based downsampling (KFDS) mechanism to operate on high-dimensional acoustic features directly and drop the frames corresponding to blank labels, which results in new acoustic feature sequences as input to the second encoder. By using the proposed method, which achieves comparable or higher performance than vanilla Conformer and other similar work such as Efficient Conformer. Meantime, our proposed method can discard more than 60\% useless frames during model training and inference, which will accelerate the inference speed significantly. This work code is available in {https://github.com/scufan1990/Key-Frame-Mechanism-For-Efficient-Conformer}
[ -0.0276587345, 0.0294304099, 0.0312983617, 0.0327549949, 0.0140352799, -0.0221132282, 0.0223535523, -0.022414621, 0.0018165804, -0.0016605668, -0.0453478135, -0.0075045023, 0.0336327665, 0.0600278489, -0.0115122106, -0.0556644276, 0.0012353251, -0.0111953551, 0.0132986475, -0.0177065693, -0.033684954, -0.0143241771, -0.019918358, 0.022665685, 0.003140755, -0.0103214467, -0.0478880927, 0.006397584, 0.0171293207, -0.0329710506, -0.0144086033, 0.0137222651, 0.0298160259, 0.0023661249, 0.0000023748, 0.0238886978, -0.0037778283, -0.0179791581, -0.0503178723, 0.0290909596, -0.0253135189, 0.0210986529, -0.0262117703, 0.0097723054, 0.001788145, -0.0282759946, 0.0380805992, 0.0687717572, 0.0218833312, 0.0384432562, 0.0067763692, -0.0702755228, 0.0185332093, -0.0308620166, -0.0173338186, -0.0424167216, -0.0196967516, -0.0415023156, 0.0125609552, -0.0573674068, -0.0514258891, 0.0605965815, 0.0500913151, 0.0062491479, 0.0419198386, 0.0430861525, 0.0275678914, -0.0339015909, -0.0154111423, 0.0800271258, -0.0124520026, -0.0276490506, -0.0020890851, -0.0033288484, 0.0020290457, -0.0329510234, -0.0331785567, 0.0043532522, 0.0306191724, 0.0043977653, -0.0145962154, 0.0653770864, 0.0082434285, -0.036811959, -0.0457795635, -0.0193279255, -0.010203355, -0.0138858836, -0.0081480574, -0.0500726253, 0.0070190849, -0.0268316679, 0.0266214311, 0.0166508108, 0.0444376692, -0.0515519157, -0.0463483557, -0.0229852721, -0.0369179808, -0.0695885867, -0.0407896303, 0.068813324, -0.0139224119, 0.0142621882, -0.0540788509, 0.0862131715, -0.0219912007, 0.047442887, -0.0246277954, 0.0161756035, -0.0048418175, 0.0083467858, -0.0496618487, 0.0356254131, -0.0219561998, -0.034102764, -0.0099077579, 0.0078157708, -0.0117237819, -0.0112738442, 0.0037006822, 0.0340734348, -0.032990098, -0.033629097, 0.0506173074, 0.0816493854, -0.0393932126, -0.0007250601, -0.0236937311, -0.0573162548, -0.0522911027, 0.0382551514, 0.0503388904, -0.0066791805, 0.011637439, 0.0478625819, -0.0047781202, -0.027442025, -0.0204096027, 0.0145764379, -0.0364599153, -0.0301937163, 0.0228603221, -0.0477623045, 0.0183328092, -0.0047601336, 0.024096353, -0.0738527179, -0.0033231394, -0.0135060027, 0.0204429366, 0.0450099669, 0.0288554002, -0.0246893428, 0.0400455222, -0.0071857031, 0.0470978096, 0.029077176, 0.0601777695, 0.0020299053, -0.0314640515, -0.0437187776, -0.0285172649, 0.0118515296, 0.0293239206, -0.0045129615, -0.0686934367, -0.0214531608, 0.0741954222, 0.0385472216, 0.0649374351, -0.0059303599, -0.0150927464, -0.046345517, 0.0507224649, -0.0028163653, 0.0384111628, 0.0086709829, 0.0197975859, 0.0509679802, -0.0113862436, 0.0016224734, -0.0147110857, 0.0796433836, 0.0158019047, 0.0137249455, 0.0456313752, 0.0057420051, -0.0558414869, -0.0149148498, 0.0195297189, -0.0052699521, 0.0035545735, 0.0051361322, 0.0578337237, 0.001750957, -0.0587390102, 0.0661832988, -0.0200115759, -0.0293200724, 0.0034998849, -0.0075984332, 0.0043242411, 0.0246444289, 0.0079225181, 0.0015987366, -0.037583854, -0.0373981483, 0.0065420419, 0.0083200326, 0.0106281359, 0.0194612779, 0.0151601089, -0.0489677303, -0.0586216114, 0.0193935689, -0.0282121506, 0.0588807203, -0.0178888161, 0.0428001173, 0.0135531044, -0.0127159515, 0.038892068, -0.0079993894, 0.0218562558, -0.0228514001, 0.0357287563, 0.0584024973, 0.0478237495, 0.0413535945, -0.0001521861, -0.0033219913, 0.0684016496, -0.0604198612, 0.0095639871, 0.0329569541, -0.0953691229, -0.0276194401, 0.0327972174, -0.0063672829, 0.0345515124, 0.0553501025, 0.0252092872, -0.1024811938, 0.0662209913, 0.0066790311, 0.0663603917, -0.0116229411, 0.0305299833, 0.0481767356, 0.0274253562, 0.0254817456, -0.0065185139, -0.0164565463, 0.0026240139, 0.001138058, -0.0026529767, -0.0084958207, -0.0647319034, -0.0277753882, 0.0467186235, -0.0355787054, -0.0196744967, -0.0119314594, -0.0251771174, 0.0071062474, -0.015146018, -0.0262609683, -0.0124669606, -0.0049540848, 0.0185247492, -0.024542354, 0.0257174484, 0.0140118981, -0.0474921875, 0.0151275937, -0.0309950598, -0.0442915671, -0.0177214667, -0.0477453992, 0.0239183344, -0.0505332984, 0.0350427665, -0.0041964347, 0.0468419231, 0.0201628376, -0.0238139443, -0.0556194447, -0.0275276396, -0.0346203819, 0.0550895147, 0.0334549919, -0.008251776, -0.035698995, -0.0261225477, 0.0109343305, -0.034297362, 0.055766955, 0.0241879877, 0.0040298253, 0.0199086685, 0.015898129, -0.0318158455, 0.0512334071, 0.0084816869, 0.0525035486, -0.0009059442, 0.0312943086, -0.0451131351, 0.0690324381, 0.0064436779, 0.0556198433, -0.0806399137, -0.0347235166, 0.0398545302, -0.0312439296, -0.0227651503, 0.0063912338, -0.0410859026, -0.0140871396, -0.0032502769, 0.0024939284, 0.008813181, -0.05028731, -0.0631907135, 0.025608182, -0.0190590564, 0.0058874795, 0.0480811559, 0.0151945902, -0.0123824356, 0.0262205563, -0.0676579624, -0.0039569889, -0.0029206509, 0.0017995507, -0.0029872148, 0.0456017926, 0.0036669327, 0.0081112059, -0.0268991441, -0.0108476821, -0.0406386666, -0.0084383711, -0.0369956121, 0.0095530273, -0.0471392274, -0.034111768, -0.0676052123, 0.0427408963, -0.0069048093, 0.0799427107, -0.0007721393, 0.04408326, -0.016729435, 0.0708261952, -0.0035726435, 0.0515793972, -0.0021074172, 0.0069810967, 0.0550372936, 0.0429255888, 0.0316794477, 0.0119327214, -0.0244027004, -0.0253083054, 0.0236117058, -0.0039863228, -0.0063806567, 0.027333755, 0.0264479928, -0.0792713538, 0.0165928341, 0.1008521765, -0.0182583965, -0.0509830192, -0.0197720528, 0.0259514935, 0.0223246142, 0.0103004482, -0.0186536405, -0.0329495892, -0.0641262382, 0.0514692478, 0.0359932967, 0.0234468132, 0.0183531642, -0.020609986, -0.05638941, 0.0393960178, 0.0319881774, -0.0361586474, -0.0743912458, -0.0216536205, -0.0344891809, -0.018150704, 0.0230944082, 0.0133341495, -0.0180847123, -0.0424094349, 0.0186479315, -0.0469011627, -0.0171209406, 0.0225564931, -0.0030655803, 0.0645928383, 0.005488161, 0.0210953131, -0.0076998081, -0.0318267606, 0.0357439145, -0.044535473, -0.0043257843, -0.0076506492, 0.0025852113, -0.020715436, -0.0267774519, 0.0672565773, 0.0282207858, -0.0600494035, 0.0246944241, 0.0057767453, 0.0761894509, -0.0123407273, 0.0070847194, 0.0352987051, 0.0190283563, -0.0076700845, 0.0791922882, 0.0458272398, -0.0111857997, -0.0184200741, 0.0100999456, -0.0016245171, -0.0414101109, 0.0093919244, -0.0373370983, 0.0295973197, -0.0528859831, 0.0036230956, -0.0083635785, 0.012253494, -0.0004911407, -0.0031133995, -0.0307003353, -0.0157191213, 0.0266512297, -0.0739454404, 0.0023300445, -0.0423085093, 0.0009843477, -0.1017501503, 0.0305316374, 0.0166219417, -0.0545899943, -0.0046382169, 0.0580089912, -0.0307603311, -0.0234871041, 0.014746164, -0.0296238214, 0.0014222196, 0.1235434562, -0.0242645368, 0.0395154208, 0.0389060676, -0.0115767196, -0.0386376381, 0.0227435846, 0.0704357997, -0.0793622509, -0.0237885471, 0.0274063386, -0.0399159826, 0.012780048, -0.0106622996, 0.0130194621, -0.0201692972, -0.0224894658, 0.0112644555, -0.0131688556, 0.0309429634, -0.002516313, 0.0431786329, -0.0094241686, 0.0662619919, 0.0181881655, 0.0481272042, -0.0462326929, -0.0031499646, -0.0151293045, 0.0177637748, 0.0203844961, 0.0610467196, 0.0178245008, -0.0594857372, 0.0376497023, 0.0588586852, -0.0408917479, 0.0299809519, 0.0018241575, -0.0335936174, -0.0003227072, 0.0102510862, 0.0494924486, 0.0264363568, -0.0430875197, -0.0104501322, 0.0148741845, 0.0216748603, -0.0503910668, 0.0071982988, -0.0277870614, 0.0169074927, -0.0353840813, -0.0065170699, 0.0213220455, -0.0100200381, 0.0131484317, 0.0240409561, -0.0172138419, -0.0237828363, 0.0179755092, -0.0401271768, -0.0109433876, 0.0263309311, 0.0026634077, 0.009871616, 0.0052416804, 0.0163626317, -0.0154087227, 0.0417090207, 0.0018133619, 0.0405516922, -0.0394055396, -0.0133265592, -0.0520669632, 0.0014826462, -0.0115378294, 0.0155234514, 0.0353466906, -0.0299565345, 0.0820035785, -0.0580306761, 0.0079896385, -0.019214252, 0.0308948774, -0.0310180988, 0.0099576721, -0.0070096464, 0.0206031837, -0.0213381108, 0.0205897186, -0.0215607919, -0.001633512, -6.850539366e-33, -0.037326023, -0.0194100812, -0.0128798261, 0.0113874963, -0.0437237062, 0.0035425543, -0.0330463983, -0.0002116324, 0.0050393408, -0.0072107115, -0.0111277914, 0.0179697014, 0.0375872403, 0.0208551064, 0.0183225796, -0.0209976621, 0.0997301415, -0.0398730524, -0.0005445756, 0.0331546068, 0.0539359897, 0.0381667055, 0.0489399806, -0.0069103581, -0.0517700762, 0.012853859, 0.0135022989, -0.0080346735, 0.0362406671, 0.0145989303, -0.001273988, 0.0017405044, -0.0063442448, -0.0673815683, -0.0122790374, 0.0031068956, -0.1401915699, -0.0098790824, -0.0537314937, 0.0467689596, 0.014117348, -0.0509691238, 0.0551439039, 0.0396180972, -0.0166102443, -0.0755158439, 0.0211375356, -0.0285960641, -0.0633621812, 0.0164127685, 0.0018411444, 0.0468417592, -0.0372326002, -0.035063304, 0.0535382107, 0.0676705465, -0.0295354798, -0.0279115383, -0.081056878, 0.0330786631, 0.0294592734, 0.0218707621, 0.0376549214, 0.0272214506, 0.0054886499, 0.0044724741, 0.011656384, -0.0748161897, -0.0305441152, -0.0082401913, 0.0168730989, -0.0126266107, 0.0248390604, -0.0113951955, 0.0533569716, -0.0422902554, -0.0379414447, -0.0114361541, -0.0253818054, 0.0688460693, 0.0198633503, 0.0150749041, -0.0632317513, 0.0071941954, -0.0355642475, -0.0412579589, -0.0297104903, 0.0012468506, 0.0287891105, 0.0288299285, 0.0048293495, -0.0313902348, 0.0590234026, -0.0210986119, 0.0989993438, 0.0203419365, 0.0145363109, 0.0173395071, 0.0171291139, -0.013100435, -0.0300213471, 0.0238970965, 0.0537367649, -0.0247740652, -0.0006193876, -0.04689705, 0.0132192578, 0.0826457292, -0.047322005, -0.0406837389, -0.0013732276, 0.0167970061, 0.0189635735, 0.0071300343, 0.0611708872, -0.0118559059, 0.0148949716, 0.0678990185, -0.0693647042, 0.0468745306, -0.0143547263, -0.0033872058, 0.0601568334, 0.0421660841, -0.03265227, 0.0197542645, -0.0243137348, -0.0135256387, 0.0277134907, -0.0324452892, -0.0162480827, 0.0064185169, 3.206e-7, -0.0631661415, -0.0460875779, 0.04841296, -0.0478388742, 0.019716084, 0.0180202294, 0.015060164, 0.0086848037, -0.0180257764, 0.0279830806, 0.0560384989, 0.0095340293, 0.0554507226, -0.0281801093, -0.0928278565, 0.0386622585, -0.0445774421, 0.0176015589, 0.0344905853, -0.0103273895, -0.0236614533, 0.0702164546, -0.0072922572, -0.0119225951, 0.0233986676, 0.025893135, 0.0285295043, 0.03108472, 0.0188364405, -0.0494070053, -0.0010629682, -0.0166166406, -0.0534347594, 0.0078201098, -0.0290230773, 0.0192241706, -0.0188041907, 0.0360812806, 0.0049303342, -0.083462961, 0.0117421839, 0.0468918234, -0.027488362, 0.0136939753, 0.077196084, -0.0563967042, -0.048600167, -0.0191800706, -0.0622123256, 0.0305831693, -0.0019113891, 0.0094101569, 0.042757526, -0.0241314545, 0.0113052186, -0.03172848, -0.0103367278, -0.067085132, 0.0223270766, -0.0143127842, -0.0725948066, 0.0334639102, -0.0716675669, -0.0650347099, 0.065782465, -0.0023749438, -0.03246044, 2.406128341e-34, 0.0133192027, -0.0258819088, 0.0150257852, -0.0300039742, -0.0439355038, -0.0511784181, 0.0164354797, -0.0057373303, 0.0110450089, -0.0535362102, -0.0447812453 ]
http://arxiv.org/abs/2310.14947v1
http://arxiv.org/pdf/2310.14947v1
System Combination via Quality Estimation for Grammatical Error Correction
2023-10-23T13:46:49
2023-10-23T13:46:49
Muhammad Reza Qorib, Hwee Tou Ng
cs.CL
cs.CL
Quality estimation models have been developed to assess the corrections made by grammatical error correction (GEC) models when the reference or gold-standard corrections are not available. An ideal quality estimator can be utilized to combine the outputs of multiple GEC systems by choosing the best subset of edits from the union of all edits proposed by the GEC base systems. However, we found that existing GEC quality estimation models are not good enough in differentiating good corrections from bad ones, resulting in a low F0.5 score when used for system combination. In this paper, we propose GRECO, a new state-of-the-art quality estimation model that gives a better estimate of the quality of a corrected sentence, as indicated by having a higher correlation to the F0.5 score of a corrected sentence. It results in a combined GEC system with a higher F0.5 score. We also propose three methods for utilizing GEC quality estimation models for system combination with varying generality: model-agnostic, model-agnostic with voting bias, and model-dependent method. The combined GEC system outperforms the state of the art on the CoNLL-2014 test set and the BEA-2019 test set, achieving the highest F0.5 scores published to date.
[ 0.0715618581, 0.0299190655, -0.0044243075, -0.0048695146, -0.0300055854, 0.0065103602, -0.0285057351, -0.0049587395, -0.029296862, -0.0628928393, -0.0119232107, -0.0208023451, 0.0612549074, -0.0196178146, 0.0137121892, -0.0426750742, 0.0704474375, 0.0295214429, -0.0208062232, -0.0009833816, 0.0243657529, 0.006881746, -0.0062918062, 0.0474708267, -0.0357325897, -0.0330407098, 0.0058921278, 0.0478270128, 0.0318348855, 0.0046492727, 0.0487552062, 0.0608627982, -0.0489141718, 0.0704968274, 0.0000018715, -0.0618610047, -0.0423366763, 0.0107597709, 0.0013174415, 0.0450633466, 0.0325318277, 0.0018216994, -0.0799405351, 0.0139431274, 0.0065023685, 0.0114935469, 0.0451012328, 0.0306135193, 0.0822719932, 0.0756779015, -0.0070002172, 0.0053769797, 0.0085671432, 0.0094265472, -0.0656851605, -0.0070691411, 0.0329023004, 0.0197524112, -0.0095138289, -0.0204173457, 0.0123022292, 0.0434879251, 0.0026208472, -0.0759765878, 0.0075075803, -0.029572919, -0.0156041253, -0.0062235007, -0.0060914056, -0.018646691, 0.0163022205, -0.0240201745, -0.029543275, 0.0004361763, 0.0345084332, 0.0057727247, -0.0231635589, -0.0243478306, 0.0113966102, -0.009985907, 0.0384899899, -0.0776456371, -0.0146082016, 0.0226249378, 0.0330844037, 0.0544165596, 0.0280280001, -0.0568153448, -0.0488875434, 0.0523248091, -0.0221236739, -0.0562150292, 0.0389650762, -0.0221148003, -0.0552670695, -0.0282459781, -0.0372128785, -0.0708823875, 0.012227729, -0.0531031378, 0.0048051598, -0.0222487133, 0.0037438942, 0.0214124881, -0.007743746, 0.0436996333, 0.0463643707, 0.0065738284, -0.0078519695, 0.0229228623, -0.0391352698, 0.0183185134, -0.0350070931, 0.0347077288, -0.0509386584, 0.035618417, -0.0941547528, -0.0159642454, -0.0102898702, 0.0189841799, 0.040006604, -0.0017377889, -0.0254504494, -0.0373421349, -0.0093388679, 0.0272839982, 0.0074050776, 0.0539595485, -0.0037978836, -0.0270564854, -0.00279015, -0.0159205068, 0.0611165166, -0.0001536092, -0.0149839809, -0.0244499017, 0.0018673119, -0.0284741484, -0.0264189951, -0.0003340725, -0.0443915538, -0.0296243373, -0.0809474066, -0.0502198152, -0.0316676721, -0.0170171093, 0.0329075232, -0.011787557, -0.0194490869, 0.0010637275, -0.0021670631, 0.0189213566, -0.0630611181, 0.0272835344, 0.005739247, -0.0311807469, -0.0012657143, 0.0061519681, 0.0355428122, -0.0498129688, 0.0664149374, 0.0345032327, 0.0310993474, 0.0029149889, -0.0781222507, -0.0068420172, 0.0302902963, -0.0344790556, 0.0072347252, 0.0025449046, 0.0044331499, 0.0696333721, -0.0050684246, 0.0523477532, 0.0735846832, -0.0198778845, 0.039247293, 0.0042306483, 0.005802108, -0.0453113317, 0.0471192077, 0.0137041323, -0.0206125192, -0.007630561, -0.0459807888, 0.0036984521, 0.0510008, 0.0162511226, 0.0154943885, -0.0745848641, -0.014776404, -0.0078884931, -0.0176645983, -0.0634859428, 0.0362930447, 0.0125025427, -0.0191141628, -0.0166119803, 0.0108135855, -0.087266393, 0.0162043534, -0.021646278, 0.0035942879, 0.0796103925, 0.0894950554, -0.0017283206, -0.0029634754, -0.0319842137, -0.0339316875, 0.0305217542, 0.036997959, -0.0246183481, -0.0125365984, -0.037920922, -0.0079698199, 0.0305852424, 0.0488746949, -0.0274423398, -0.0071860948, -0.014167035, 0.0054622279, 0.005285209, -0.0769522265, 0.0124841612, 0.0576839112, 0.0346480794, -0.0038824007, -0.0157765001, 0.0289251972, 0.0129195582, -0.0490899049, 0.0011953064, -0.0328187682, 0.0081607029, -0.0410234816, -0.0034229993, -0.0019334041, -0.0454705954, 0.0486552045, -0.0200706199, -0.028687438, 0.0341454931, -0.0107306018, -0.0538751036, -0.0252695754, -0.0805293843, 0.0180386566, -0.0559414327, 0.0740899444, -0.0206707343, -0.0440949649, -0.0301857796, -0.0070275296, 0.0072668628, 0.007636792, -0.022726465, -0.0309403259, 0.0267005451, -0.0422930643, -0.0706937164, -0.0032248085, -0.0187112931, 0.036830321, 0.0377634726, 0.024489738, -0.0385776162, -0.0405430049, -0.0592411682, -0.0102139814, -0.0414846912, 0.014443039, 0.0448037051, 0.0037514234, -0.0079773907, 0.0035600481, 0.0474499874, -0.0106859319, 0.0123077128, 0.0177678745, 0.0508022234, -0.0098217167, -0.0101506636, -0.1037449762, -0.0043416233, -0.0351973623, 0.0133076357, 0.0381266102, -0.0344202183, -0.0572951324, 0.0684428066, -0.0322815664, -0.0043835673, 0.0714844242, -0.0927540511, -0.0111794891, 0.0185635798, 0.0699979067, 0.0278743524, -0.0058118529, -0.0382533334, 0.0021031499, -0.0359887481, -0.0126470784, -0.0113873435, 0.0190429296, -0.0285692699, -0.0150556741, -0.0136568109, 0.0334464461, 0.027024122, -0.0014702305, -0.034448307, -0.0269573219, 0.0272332691, -0.0577522889, -0.0131665329, 0.0083538145, -0.01001429, -0.0180083625, 0.020393787, -0.033258263, -0.0223425329, 0.0474712998, 0.0123143103, 0.0086137243, -0.0579834878, 0.0167945437, 0.0038550757, -0.0460963473, -0.0065785064, 0.0429158099, -0.0133488066, -0.0230046436, -0.0396652892, 0.0060882689, 0.0948285013, -0.0228540264, 0.0385437757, -0.0630126297, 0.0162168965, 0.0235728733, -0.0407294929, 0.0060927579, 0.0047760806, -0.0192617439, -0.0052779438, 0.0197005272, -0.0243740864, -0.0096056862, -0.0095921755, 0.0177585501, 0.0450019687, -0.021167526, -0.0069119898, -0.0099621499, 0.0091272946, -0.006717422, 0.0034799778, 0.0155954547, -0.0017978945, 0.0341719724, 0.0454461724, 0.0261830688, 0.0402791761, -0.0151448967, -0.0133852242, 0.0348533317, -0.0349778682, -0.0533458851, -0.0136007629, 0.0530014262, -0.0470119007, -0.0206658822, 0.1097846627, 0.0465388857, -0.0138134845, -0.0372347273, -0.0255902577, -0.0195486005, 0.018776916, 0.0320041962, -0.0248893108, -0.0007911095, 0.0532715283, 0.0163268317, -0.0258991495, -0.001033943, 0.0204819459, -0.1162587702, 0.048357144, 0.0355380364, 0.020535212, -0.0501709878, -0.0222817678, 0.037142653, -0.0063534249, -0.019576937, 0.0622155629, 0.0078194337, 0.0049784351, -0.0041646259, -0.0746914223, -0.063450478, -0.0406773202, -0.0572153106, 0.0323868282, 0.0819884315, 0.0419312082, 0.0077946419, -0.0484600216, 0.0444554426, -0.0399343222, -0.0215454698, -0.006201088, 0.0284205023, 0.0051631136, 0.0205378979, -0.0320677198, 0.0025887308, 0.0392444432, -0.0113589074, -0.0188827571, 0.0577451065, 0.0038425298, 0.0394715145, 0.0160148498, -0.0080936728, 0.0020208815, 0.0102231428, 0.0408731624, -0.0429464839, -0.0149782076, -0.0597022809, -0.0127125112, -0.0302142389, 0.0418437533, 0.0300735086, -0.0432575941, -0.0339573435, -0.104902938, -0.0413997211, 0.0060193152, -0.002646358, 0.016799571, -0.0224351585, -0.0114323813, 0.0050445851, 0.0496841334, -0.0594706461, 0.0076188436, 0.0378263704, -0.0844543278, 0.0425289236, -0.0062205889, 0.0704301447, -0.0201573875, -0.0182349533, 0.0184261706, -0.0543269143, 0.0439020135, 0.052288115, 0.0099045951, -0.0198848639, -0.0264630001, -0.0747214481, -0.0232343189, 0.0149754034, 0.010954814, 0.039690543, 0.0366783552, -0.0387370177, -0.019472165, 0.0237330869, -0.023614563, -0.0014783005, 0.0156479552, 0.069762826, -0.0013557801, -0.0266905576, 0.0476288423, 0.0465535372, 0.0462633446, -0.016515905, -0.0253410507, -0.050524924, 0.0215631649, -0.0358646624, -0.0279492047, -0.0064379163, 0.0372799002, -0.0040285503, -0.011075817, -0.0415092334, 0.0284099057, -0.0405213535, 0.0207970347, -0.0106367301, 0.0048121195, 0.0345076621, 0.0088238921, 0.0021509847, -0.0000229699, -0.009953103, -0.0219231136, 0.0452707857, 0.015551988, 0.000271388, 0.0092922505, 0.000288115, -0.0070143575, 0.0061545768, 0.0401220731, -0.0543007255, 0.0638293177, -0.0461523347, 0.02029364, 0.1136682332, 0.0109454356, 0.1182108968, -0.0014834477, -0.0338157378, -0.0537572391, 0.0487418249, 0.0254448503, 0.0091828136, -0.0284727067, -0.0017349563, 0.0030022771, -0.0197429396, 0.0053376774, -0.077285789, 0.0212804042, -0.0573134497, -0.0428307168, -0.0040307455, 0.0152795333, -0.0457510166, -0.0278947204, -0.0094261831, -0.0263210647, -0.0462930016, -0.0309648328, 0.0220613759, 0.0705463588, 0.0319148377, -0.0080796871, -0.0279100034, 0.0319245905, -0.0141193829, -0.0127749005, -0.0454791971, -0.0603715628, 0.0004171547, -0.005562475, -0.034136042, -5.470589813e-33, -0.0500926599, 0.0086040068, -0.0579928048, -0.0204797368, 0.0040233624, 0.003361667, -0.0216640197, 0.0112752942, 0.0589431673, 0.0532856658, -0.0382698402, 0.0265878197, 0.013843854, -0.0203365032, 0.052417513, 0.0480408445, 0.0852598548, 0.0226871837, -0.0261211637, -0.0474133939, 0.02788564, 0.0290357023, 0.0868306533, -0.0256574303, 0.0575039797, 0.0473081432, -0.0319390856, 0.01700137, -0.0107974149, 0.0535990149, 0.0841438621, 0.0519119427, 0.018268723, -0.0063565145, -0.0353728905, -0.0186316781, -0.0255392287, -0.0101976348, 0.0117112622, 0.0273890868, 0.0165163651, -0.0259549282, 0.0266909692, -0.0087346053, -0.0548434891, -0.0027998637, 0.0280314349, -0.0452786125, 0.0328545533, 0.0058046281, -0.0039244802, 0.0319709294, 0.0225647017, 0.0045179473, -0.0394388214, 0.0470086411, 0.0022629781, -0.0336195119, -0.0494966283, 0.0094773769, 0.0319486223, 0.0589028075, 0.0056717028, -0.0587231293, -0.0368417352, 0.011285292, -0.0260880701, -0.0078118052, 0.005162715, -0.0020868434, 0.0000387083, 0.0186981298, 0.0764763281, 0.089719899, 0.0000956287, -0.0352683254, -0.0229135659, 0.0387430079, -0.0383637175, 0.0734800175, -0.0353040583, 0.0167685319, -0.0399778038, -0.0300166234, -0.0491550863, -0.0060567604, 0.004235636, -0.0090871714, 0.0361787789, 0.0051669334, -0.0202117153, -0.024413541, 0.0011046075, -0.0139642684, -0.018136831, -0.0188099332, -0.0171006508, 0.0414483622, -0.0179388262, 0.006477721, 0.0001318901, 0.03818826, 0.0187901612, 0.0458334424, 0.0029769528, -0.0368400849, 0.0546705164, 0.0214849412, -0.0901029482, 0.0388356261, 0.0234806687, -0.0058978233, -0.0243405662, -0.047208, 0.0052347863, -0.0150211453, 0.0132753197, -0.0032729935, 0.0121798888, 0.0436725616, -0.0322173759, -0.0215811729, -0.0003928957, 0.0170276612, 0.0055219783, 0.0098132929, -0.0159254093, 0.0047948891, 0.0307875723, 0.0092558945, -0.0136629809, -0.0220339969, 2.588e-7, 0.0193493012, 0.0695947856, 0.0056684301, -0.0148294996, -0.0045690588, 0.0237776134, -0.0153396502, 0.0003396068, 0.0485075116, 0.0561705381, 0.0095130512, -0.0341673456, 0.0465583839, 0.0176046677, -0.0310759768, -0.0243003741, -0.0563592613, 0.0154282115, -0.0172740202, -0.0254513919, 0.0446062349, 0.0061169192, 0.0387539454, 0.011706328, -0.0314991325, -0.0404743738, 0.033277452, 0.0043798615, -0.0602502748, 0.0369292237, 0.1093517095, 0.0000600754, 0.0526432618, 0.0218351185, -0.0488599725, -0.0009832783, 0.0262849703, 0.0229344666, -0.0447567552, 0.0643604994, 0.0170653239, 0.0267270394, 0.0012022428, -0.0161706656, 0.0255305972, 0.0113858329, 0.0356341414, -0.0259653218, -0.0494767316, -0.0078412471, 0.0302108768, -0.0171002559, -0.0483805463, 0.0043922914, 0.023352826, 0.0583299063, -0.0022966105, -0.0271014366, -0.0255508851, 0.0356465317, 0.0533758588, -0.0447838306, 0.0286372323, -0.0159766097, -0.0003131803, -0.0623826012, 0.0072920397, 1.879208751e-34, 0.05012431, -0.010038198, 0.0675505251, 0.0173947364, 0.0395302847, -0.0050126775, -0.0105272345, -0.0254737809, -0.0140508898, -0.0322137289, -0.0215013959 ]
http://arxiv.org/abs/2310.14928v1
http://arxiv.org/pdf/2310.14928v1
Unveiling A Core Linguistic Region in Large Language Models
2023-10-23T13:31:32
2023-10-23T13:31:32
Jun Zhao, Zhihao Zhang, Yide Ma, Qi Zhang, Tao Gui, Luhui Gao, Xuanjing Huang
cs.CL
cs.CL
Brain localization, which describes the association between specific regions of the brain and their corresponding functions, is widely accepted in the field of cognitive science as an objective fact. Today's large language models (LLMs) possess human-level linguistic competence and can execute complex tasks requiring abstract knowledge and reasoning. To deeply understand the inherent mechanisms of intelligence emergence in LLMs, this paper conducts an analogical research using brain localization as a prototype. We have discovered a core region in LLMs that corresponds to linguistic competence, accounting for approximately 1% of the total model parameters. This core region exhibits significant dimension dependency, and perturbations to even a single parameter on specific dimensions can lead to a loss of linguistic competence. Furthermore, we observe that an improvement in linguistic competence does not necessarily accompany an elevation in the model's knowledge level, which might imply the existence of regions of domain knowledge that are dissociated from the linguistic region. Overall, exploring the LLMs' functional regions provides insights into the foundation of their intelligence. In the future, we will continue to investigate knowledge regions within LLMs and the interactions between them.
[ 0.0242105052, 0.0333896764, -0.0633195639, 0.0207302403, -0.0215641577, 0.0378297865, 0.014488684, 0.0064812228, 0.0089027118, 0.0076245419, -0.0440311655, -0.0134007717, 0.0067536328, 0.0140591729, 0.0742429942, -0.0201811697, 0.0321748704, -0.0543733947, 0.0148589602, -0.0408062115, -0.0384566337, -0.021982763, -0.0029469391, 0.01551235, 0.0131699741, -0.0143104373, 0.0153218592, -0.04790112, -0.0170310177, 0.008028239, -0.050204169, 0.0327817537, 0.0265041403, 0.0163389798, 0.0000019778, -0.0711923987, 0.0513273403, -0.0082511771, -0.0196127668, 0.0142500922, 0.0084899878, 0.0023541504, -0.0061152624, -0.0045760656, -0.0201752689, 0.0057579852, 0.0092893532, 0.0298338737, -0.0070578656, 0.0432649143, -0.0085984822, -0.0084753921, 0.0440771841, -0.0305042528, 0.0172063857, -0.0271832105, 0.0284288265, 0.0384327285, 0.0018527082, -0.0071003339, -0.0418888181, 0.0275420751, 0.0329133272, -0.0005817247, -0.04277936, 0.0305063613, 0.0205760468, 0.0029546102, 0.0354168899, 0.0031924797, 0.0085316328, -0.0343307368, -0.0080742799, 0.0345859304, 0.0369820185, 0.01194371, -0.0794518366, 0.0270748623, 0.0531233847, 0.0290866587, 0.0500147752, -0.0186661314, 0.0449746512, 0.0080399327, -0.0213142596, 0.0999102443, 0.0128162215, -0.0318059437, -0.0230396409, 0.0017794829, -0.0460885614, -0.0169007108, -0.0079205809, 0.0230169948, 0.011211169, 0.0169866793, -0.000744479, 0.0147667788, -0.0156753026, -0.0394677967, 0.037945509, 0.0296749752, 0.022027785, 0.047883302, -0.0421661474, 0.0733760595, -0.0452074185, 0.0645925999, -0.0329643711, -0.0317269005, -0.0379254483, -0.0603991151, -0.0037205615, 0.0063440446, 0.003867585, -0.0280649476, -0.020380402, 0.0076848273, -0.0202030111, -0.055317115, -0.0149477879, 0.0349341184, 0.0002393809, -0.0185321439, -0.0539584868, 0.0030195101, -0.0327315144, 0.0470751971, -0.0224962123, -0.003857265, -0.0165215153, 0.0276187323, -0.0267716944, -0.0246250704, 0.0005075507, 0.0558506101, 0.016150577, -0.0143538257, -0.0346348286, 0.0078752209, -0.0039203702, -0.0395351835, 0.0361553878, -0.0432550162, -0.0019726197, 0.0334672332, -0.03644339, -0.0809031203, -0.0248811487, -0.008588315, -0.0723549724, 0.0106972037, -0.0097383354, 0.0485789403, 0.0523964129, -0.0112661188, -0.0042656595, 0.0311045237, 0.0432036333, -0.0388225093, -0.0216515828, 0.0025071693, -0.0416530035, 0.0298038647, 0.009174116, -0.0004423762, -0.0544893742, -0.0324001834, -0.0054041338, 0.0321326405, 0.0665509254, 0.0245907232, -0.0173865296, -0.0105946613, 0.0585602932, 0.0944276527, -0.0034929935, 0.0399540924, 0.0305404011, -0.0037362915, 0.0208871178, -0.0036783365, -0.0767175108, 0.0368121006, -0.0323599428, -0.0102773216, -0.0216758829, 0.0202127416, -0.0303585753, 0.0094898278, -0.0023188093, 0.026350446, -0.0058619347, 0.0130672147, 0.0488004573, 0.0098018842, 0.0341487229, 0.0457018726, 0.0249116253, -0.0039605596, 0.0114340764, -0.0535946973, 0.0105498768, -0.0012522867, -0.0107865417, -0.0028861573, -0.0120981317, 0.0294367429, 0.0266559646, 0.0726807863, 0.0259583071, 0.007462441, -0.0176726766, -0.0005820167, 0.0124680251, -0.0200841613, 0.0055492125, -0.0161120053, -0.0304010585, -0.0116574075, -0.0285571031, -0.0341350585, -0.0051148338, 0.0239912551, -0.0834812969, 0.0227175038, -0.0371237919, -0.0176522899, 0.0305551682, -0.0251263659, -0.0182125326, 0.03518885, 0.0044587539, -0.0475588404, -0.0197413806, 0.0500662513, -0.0142749576, 0.0311373938, 0.0605147593, 0.0148703502, 0.0029957409, 0.0054142652, 0.0474651977, -0.0288424324, 0.0976198316, -0.0450038537, 0.0648696944, -0.0101291901, 0.0455285646, -0.0663177893, 0.019488005, -0.0398277901, 0.1027419195, -0.0135836024, 0.0164440218, 0.0237369705, -0.0176941641, 0.0249445383, -0.0355705097, -0.0018881269, -0.0318705961, -0.0213426128, -0.0064885276, -0.0211581234, -0.0246319529, -0.0034412893, -0.0110590374, -0.0478558429, -0.003714181, 0.0366876349, 0.0081912205, 0.0390112773, -0.0355309024, -0.0230640713, 0.0079740649, -0.0045080818, 0.0042388602, 0.0404893979, 0.010489312, 0.0249716993, -0.0230659042, -0.0363869444, -0.0122866165, 0.000772151, -0.0518964715, 0.0470143594, 0.0005065674, 0.0075750644, -0.0587941445, 0.056059923, -0.0268544853, 0.0342835337, -0.0109320367, -0.0204542764, 0.043866612, 0.0072043627, 0.0213378761, 0.0783605948, -0.017007824, 0.0538659431, 0.0604086518, -0.0176820811, -0.0304713193, -0.0113901123, -0.0277788769, 0.0450167544, -0.0846062228, -0.0330111831, -0.0318297595, 0.1200690642, 0.0429320522, -0.0231700148, -0.0092263781, 0.0787753761, -0.03272181, -0.03448686, -0.0109363096, 0.0063057845, -0.0350282416, 0.0720635355, -0.0543556474, -0.0399961546, 0.0161340795, -0.0087969024, 0.0344763324, -0.0101822177, -0.0036203726, -0.0095173968, 0.0656952262, 0.0148256971, 0.016864812, -0.0293136518, -0.0291695278, -0.0647800788, 0.0028451846, -0.021276651, -0.0002923879, 0.0012039414, -0.0572374798, -0.0188458171, 0.0184086598, 0.0023100392, -0.0099081304, 0.056647066, -0.0233520158, 0.0471449718, 0.0449427031, -0.0353895873, -0.0642857924, -0.0321410857, 0.0637649894, 0.0185240377, -0.0206478629, 0.008517514, -0.0062421644, -0.0073877345, 0.0614043139, 0.050465256, 0.0343315303, -0.050188411, 0.0194433481, 0.0283953995, -0.0312849246, 0.0518939123, -0.0253739469, 0.032324329, 0.0339668728, -0.0234399326, -0.0300858989, -0.0038672944, 0.0301313344, -0.0097810123, -0.0348912589, 0.1077420563, 0.0344609618, -0.0201602466, 0.0259724427, -0.039596051, -0.0239457767, 0.0813918933, 0.0292898025, -0.0027899253, 0.0237396844, -0.0003905262, -0.0540359505, -0.021090433, -0.0425468646, -0.0000518094, -0.0678862706, 0.0150623089, -0.0143268751, -0.0751522183, -0.0423256904, 0.0185843408, 0.0151702585, 0.0335486755, 0.0280176494, 0.004282597, 0.015655838, -0.0117047736, 0.0034229478, -0.0136752687, -0.0581696294, 0.0226612166, -0.0206223447, 0.1017722413, 0.0247364007, 0.0287769325, -0.034587469, 0.0092777936, -0.0044736923, 0.0340457186, 0.019295536, 0.0135209551, 0.0220575389, 0.0599793345, 0.0002395367, -0.0570958406, 0.015272757, -0.0126553839, -0.0391054526, -0.0239696074, 0.096715048, -0.028477896, -0.0298186783, -0.0011749454, 0.0162369721, -0.0660447776, 0.0606507435, 0.0564096272, -0.0696206838, -0.018509822, -0.020837158, -0.0216668155, -0.0019807159, -0.0902137309, 0.0357757658, 0.0459986553, 0.0068788207, -0.0492182411, 0.0403812267, 0.0415829718, 0.0097815301, 0.0337290168, -0.0062168031, 0.0189335421, -0.0917680264, -0.0116834296, 0.0188434739, -0.0359923765, -0.028423069, -0.0500342473, -0.026766846, 0.0301483963, -0.0821619034, -0.0305040963, 0.0129878428, -0.0292617362, -0.0766158924, 0.0239130761, -0.0003773949, 0.031754747, 0.0008185676, 0.0026744988, -0.0868534967, 0.0541130044, -0.0377959311, -0.0176627059, 0.0637223944, -0.0596842989, -0.002003402, 0.023581557, 0.0407794788, -0.0164820254, 0.0257466454, 0.0325667337, 0.0261826422, -0.0254078154, -0.0088962978, 0.0048435414, 0.0057237716, 0.0475269295, 0.023435574, -0.0103208395, -0.0386363864, -0.0273641516, -0.0295822918, -0.0046398938, -0.0232098605, -0.0362124443, 0.0795627683, 0.0450118221, 0.0195109751, -0.0449589677, 0.0307468455, 0.0121577708, 0.0332357958, -0.022139756, -0.0420032591, 0.0153118102, 0.0015423499, 0.0609875619, 0.0359548628, 0.0390652083, -0.0725294575, 0.0337376148, 0.0117859934, 0.0558856353, -0.0127999382, -0.0101736346, -0.0605391636, -0.0130288862, -0.0641138554, -0.0779814199, 0.04298063, 0.0230739452, 0.0329857022, -0.012977819, 0.063972421, -0.0372160189, -0.0075182393, -0.0008511957, -0.0113478312, -0.0026448285, -0.061335437, 0.0406663083, 0.0301077031, -0.0109242164, 0.0057745818, 0.0463979803, 0.0084241051, 0.0393032469, -0.0511050746, -0.0240144208, 0.0053704316, -0.0323012173, 0.0407705344, 0.0063111028, -0.0513475053, 0.0450212359, -0.0569144227, -0.0779120699, -0.0081657777, 0.0201900285, -0.0198753607, -0.0287953969, 0.0057775518, 0.0275872275, -0.0292140525, -0.0361711383, -0.0101940641, -0.0085445903, -0.0253760908, -0.0345674269, -0.0186760016, -6.028319638e-33, -0.0237590689, -0.0315795206, 0.0185619593, 0.0164264534, 0.0093373219, -0.0284555294, -0.0401263274, 0.0450692102, -0.0465052761, 0.0251663662, 0.009242815, 0.0008114899, -0.0075874017, 0.0154461339, 0.0102185933, 0.0361980125, -0.0335710123, -0.0236470625, 0.0096868044, -0.0001883825, 0.0452691913, -0.0028179954, 0.0763148665, -0.0813905373, 0.0048386282, 0.0145617221, 0.0205787662, 0.0473420247, -0.0535205454, 0.0387288257, -0.0490745232, 0.0470629409, 0.0400446914, -0.048728276, -0.017688809, -0.0387142822, -0.0250685401, -0.0329948328, 0.0597714707, -0.0117254909, -0.0103693139, -0.0536941998, 0.0611047558, -0.0135530615, -0.0127619887, -0.0191678908, 0.0556184053, -0.0278044194, -0.0024174224, 0.0352000743, -0.1111214012, -0.0280310512, -0.0238997415, 0.0004161011, -0.0191970207, -0.0393128172, -0.0388593823, -0.0297098663, -0.0336990207, 0.0099862712, 0.0059053586, 0.0302321333, 0.046521835, -0.0083241314, 0.0519439764, 0.0727344677, 0.0722475052, 0.0231489688, 0.0113367764, -0.0049306201, 0.0925901011, 0.0363156833, 0.0237393863, 0.0070018228, -0.0188455954, -0.02346218, -0.0378330275, -0.0429512449, 0.0390753262, 0.0329529569, 0.0460614637, -0.0321424045, 0.0231918246, -0.0143079534, -0.0275295153, -0.0234121699, -0.0307496656, -0.0363565162, 0.023968704, -0.0386913978, 0.0147980396, -0.0426159129, 0.0197233576, -0.0494860709, 0.0209439639, -0.0011527851, -0.0021380293, 0.0468616672, 0.0211502369, 0.0057766717, -0.0408059098, -0.0482441299, -0.0469335243, -0.0021630127, 0.0302350968, 0.0331564099, 0.006443019, 0.0246877093, -0.0082456963, -0.0012347328, -0.0173121355, -0.039438121, 0.0410127379, 0.0154974386, -0.0093060238, -0.0216352902, -0.0155453123, -0.0415256731, 0.014600141, 0.0001197668, -0.0188616104, 0.0124909459, -0.0286245197, 0.0228487514, -0.0334257819, -0.0082167601, -0.0457325131, 0.0182608385, 0.0320797563, -0.0579926483, -0.0224890225, 0.006606325, 2.831e-7, 0.0714188591, 0.0722604245, -0.0039071208, 0.0238343365, 0.0550962985, -0.0118691539, -0.0166420694, -0.0232756268, 0.0442775004, 0.0140905296, -0.0301431585, 0.0433829986, 0.0150687518, -0.0020870946, -0.0876251981, 0.0239013154, -0.0284945238, 0.0151109053, -0.0120686358, -0.0005445015, -0.0237653088, 0.0393991657, 0.0109511809, -0.0232317541, -0.0096361907, -0.0708821267, 0.071014449, -0.0358078554, 0.0265624858, 0.022785943, -0.0130249457, -0.0083335992, 0.0082395608, 0.0342230126, 0.0461647585, 0.0677712783, -0.0134847993, 0.0334987342, 0.0049299472, 0.0468551368, -0.0070526833, -0.0167019572, 0.0022703784, -0.0613318011, 0.0498550199, -0.1001596898, -0.0966169983, -0.0123370383, 0.0169169195, -0.0035229789, 0.0137677137, 0.0006405899, 0.0063069412, -0.0206636693, 0.0232645608, -0.0064623277, -0.0000854522, -0.0420951098, -0.029089408, 0.0311665013, -0.07278198, -0.0353007913, -0.0337361023, -0.008250759, 0.0537800714, -0.0380537771, 0.0228932649, 2.539255831e-34, -0.0206419732, 0.02030956, 0.0505465306, -0.0010501973, 0.0351524428, -0.0116701378, 0.0053730379, 0.0114509491, 0.0156646948, -0.0764418319, -0.0164799523 ]
http://arxiv.org/abs/2310.14921v2
http://arxiv.org/pdf/2310.14921v2
PartialFormer: Modeling Part Instead of Whole for Machine Translation
2023-10-23T13:25:54
2024-06-05T17:12:04
Tong Zheng, Bei Li, Huiwen Bao, Jiale Wang, Weiqiao Shan, Tong Xiao, Jingbo Zhu
cs.CL
cs.CL, cs.AI
The design choices in Transformer feed-forward neural networks have resulted in significant computational and parameter overhead. In this work, we emphasize the importance of hidden dimensions in designing lightweight FFNs, a factor often overlooked in previous architectures. Guided by this principle, we introduce PartialFormer, a parameter-efficient Transformer architecture utilizing multiple smaller FFNs to reduce parameters and computation while maintaining essential hidden dimensions. These smaller FFNs are integrated into a multi-head attention mechanism for effective collaboration. We also propose a tailored head scaling strategy to enhance PartialFormer's capabilities. Furthermore, we present a residual-like attention calculation to improve depth scaling within PartialFormer. Extensive experiments on 9 translation tasks and 1 abstractive summarization task validate the effectiveness of our PartialFormer approach on machine translation and summarization tasks. Our code would be available at: https://github.com/zhengkid/PartialFormer.
[ 0.0185250267, 0.0285617281, 0.0075174537, 0.0392625481, -0.0038542564, -0.0144524062, 0.0860014632, -0.0234667808, -0.0491754897, 0.0179202873, -0.0609072708, -0.0796215683, 0.0551460981, 0.0219219197, 0.0191015396, -0.0530962721, 0.0032059427, 0.0148005486, -0.0605398752, -0.0050289691, -0.0155135673, 0.0059661018, 0.0270568375, 0.0326025225, -0.0344582237, 0.0093717864, -0.0408653207, 0.0112112723, 0.0489765257, 0.0360377766, 0.0052409736, 0.0226726998, 0.0085330158, 0.0730004013, 0.0000023163, 0.0323131345, 0.0033957125, 0.008908065, 0.0173832662, 0.0240434948, 0.0202145297, -0.0455248095, -0.0221511424, 0.002874362, 0.0046137376, -0.0575440191, 0.0507110134, 0.0600141473, 0.0464964882, 0.0549696311, -0.0136196548, -0.0579369217, 0.029336663, -0.0611760467, 0.0002126237, -0.0195957627, -0.0313969404, -0.0429049842, -0.0687099919, 0.0070952792, -0.0147853559, 0.0676249862, 0.046362821, -0.0035599729, 0.00161929, 0.0027584755, -0.0552009493, -0.0568372011, 0.014261106, 0.0618330762, -0.0307008699, 0.0044652009, -0.0101182219, -0.0328570977, -0.0041261879, -0.0115069887, -0.0660660788, 0.0319278874, 0.0217915531, -0.0349532329, -0.0112365037, 0.0593538098, 0.0369600728, -0.0141838901, -0.0423001498, -0.0109149441, -0.0088236341, 0.0022081656, -0.0356695242, -0.0034973011, -0.0157751907, -0.020247085, 0.0508178286, 0.0355275236, 0.0127607854, -0.0016340626, -0.0361427255, -0.0969445258, -0.0018077181, -0.0914751589, 0.0241769347, 0.0447187722, -0.0153531972, 0.0182054117, -0.0432839356, 0.042710539, -0.0305670407, -0.0098408591, -0.0382956713, -0.0152994068, 0.019151995, 0.0203357171, -0.0705187693, 0.017510308, -0.0674654022, -0.0563134961, -0.0013729349, -0.0008538794, 0.0007368558, 0.0051692165, 0.0486181378, 0.0230552852, -0.0673452914, -0.0100470837, 0.0516504049, 0.0890332535, -0.0319736265, -0.0387596004, 0.0416368209, -0.0468629897, -0.0581690222, 0.0108684311, 0.0204550903, -0.0260111727, -0.020410683, 0.0581521131, -0.0002255308, -0.0451020934, 0.0125195291, 0.0053992616, -0.0290522631, -0.045965191, 0.0238904767, -0.0435528941, 0.0682344809, -0.009176434, 0.0136385625, -0.017620692, 0.0132030454, 0.0395533741, 0.0099238176, 0.019928962, 0.0120838415, -0.0293815061, 0.0319404155, -0.0006936485, -0.0111486837, 0.0585418083, 0.0516862199, 0.0891345218, -0.0079282084, -0.026584303, -0.0619558617, 0.0180172864, 0.0227469802, -0.0097588282, -0.0139124393, -0.0356322713, -0.0121392524, 0.0372181609, 0.0120114144, 0.0397600494, -0.0079691904, -0.0088524073, 0.0783891529, 0.0275393687, 0.0504536964, 0.0893982127, 0.0552213378, 0.0462665185, -0.0137583194, 0.0044497396, -0.014260903, 0.0914656147, 0.0153158735, -0.0117176045, 0.0450308807, 0.0472641625, -0.0457395799, -0.0190570336, 0.0090362346, 0.0023298999, 0.0056063286, 0.0043647443, 0.0117331771, 0.048499871, -0.0466497988, 0.0792269185, -0.0235076677, -0.0743854716, -0.015255956, 0.0038458956, -0.033317022, 0.0046286397, 0.021137692, -0.0221238788, -0.0454583839, -0.0034775855, 0.025357496, 0.0309798103, 0.098058261, 0.0436094441, 0.0399168953, -0.0498969182, -0.0011957294, 0.0142115625, -0.008269906, 0.0182882063, 0.0024546136, -0.0079389215, 0.0337466896, -0.0006659385, -0.0336776003, 0.0221359208, -0.0107943993, -0.0033540556, 0.0467249714, 0.0271341242, 0.0082109543, 0.0298836678, 0.0108721387, 0.014676366, 0.0216892734, -0.030525174, -0.0052830959, 0.0232540853, -0.0358225256, -0.0132925464, -0.0124020167, -0.0051349192, 0.0143912537, 0.0510138087, -0.0286550242, -0.0605990887, 0.0537236333, -0.0594909713, 0.0131231844, -0.0109444642, 0.0163627006, 0.009762791, 0.0419345237, -0.0013918226, -0.0087982323, -0.0165832713, 0.0130043598, -0.0194109324, -0.0326432027, -0.01058356, -0.0518104322, -0.0147998659, -0.0013114448, 0.0073188092, -0.0047061136, 0.0057925922, -0.0134925479, 0.0107341791, -0.047731854, -0.0151030505, 0.0143749435, -0.0236534793, 0.0172215272, 0.0299167261, 0.0744095668, 0.0406440608, 0.0205014478, -0.0374749415, 0.0490298532, -0.0203591809, -0.0204005912, -0.0029862591, 0.0117218038, -0.0049430043, -0.0186515152, -0.0425810367, 0.0309125409, 0.0680515021, 0.0180500168, -0.0239834357, -0.034191411, -0.0327585004, 0.0048064752, 0.0071242359, 0.0118494965, -0.0368639827, -0.0180542041, -0.019188622, -0.0162182339, 0.0458321236, -0.0061301114, 0.0021525456, 0.0221026149, 0.0123461904, -0.0414320305, 0.0408475548, -0.0276971366, 0.0353677943, 0.0122471154, 0.0028398149, -0.0024554892, 0.0509926677, -0.0082297893, -0.0068550636, -0.0686125383, 0.0061921114, 0.0323786288, -0.0172448009, 0.0247181989, -0.0084458813, 0.0095854802, 0.0121102603, -0.0317336544, -0.0251496676, 0.0383717008, -0.0500195548, -0.0214796532, -0.0150723625, 0.0022451263, -0.040502917, 0.0335234255, 0.0038317032, 0.0339922719, -0.0247107111, -0.0477472357, -0.0295745861, 0.0652248487, -0.0017967303, 0.0032163742, 0.0810050741, -0.0105595915, -0.020283876, -0.0471965, -0.0066527212, -0.010011673, 0.0060586063, -0.0137126865, 0.0479787737, 0.0284230839, -0.0438446403, -0.1047228202, 0.0206800047, 0.0542112067, 0.0828165486, -0.0248767156, -0.0110544655, -0.0016431422, 0.0101363221, -0.0357882939, 0.0496042632, 0.0763135254, -0.0637580752, 0.0338773727, 0.0428410918, -0.0035579985, -0.023698302, -0.0402339883, -0.0599728748, 0.0245972592, -0.0191815868, -0.0079281535, -0.0141827548, 0.0995171741, -0.0866185054, 0.0079029007, 0.0745335817, -0.0039192517, -0.0410916805, 0.0139954621, 0.0203630626, 0.0220315326, 0.0135175027, 0.0334878415, -0.0257974528, -0.0156989284, 0.0108400946, 0.0368372165, 0.0474038348, 0.0006388777, -0.0116357747, -0.037530344, 0.0454440787, 0.0367686823, -0.0727199093, -0.0487959981, -0.0014533995, -0.0036234276, -0.0168188959, -0.0037127642, -0.0233630966, -0.0017538229, -0.0524862409, -0.0193716399, -0.0006307623, 0.0153382691, -0.0218833964, -0.0115946643, -0.0125208069, 0.0163304545, 0.0024912809, -0.0113550937, -0.0674776137, 0.017211169, -0.0188852269, 0.0397745408, -0.0049805166, 0.0473339036, -0.0002208188, -0.0205597989, 0.0133009488, -0.0169716682, -0.0340595916, 0.0100969849, -0.0359448679, 0.040308997, -0.0166581683, -0.0161836818, 0.0068762708, 0.0352249853, -0.0259383079, 0.0356777683, 0.0678124651, -0.0398299508, -0.0012425195, -0.0077864653, -0.0151967211, -0.0886717066, -0.0318478346, -0.024762217, 0.0227447692, -0.0843181387, -0.0355660208, -0.0331857875, 0.0282878727, 0.0343866982, -0.0095803896, -0.0724865794, 0.036247693, -0.0014023957, -0.0422323048, 0.0343776569, 0.011720595, 0.0083704134, -0.0297507923, 0.0167842507, 0.0254376587, -0.043758329, 0.0186539292, 0.0414675586, -0.1249500066, -0.0345367193, -0.0024557887, 0.0598731339, 0.0073155072, 0.0054960917, -0.0090911891, -0.0316008367, -0.0151289105, 0.0082514528, -0.0158419963, 0.0419958644, 0.0503066778, -0.0409031771, -0.0224368684, 0.0345541015, -0.0155560533, 0.0109057035, 0.0413763821, 0.0637792498, 0.0049429554, -0.0313483849, -0.0120838219, -0.0131968213, 0.0313769914, -0.0006565977, 0.0349020101, -0.0157425366, 0.0309951771, -0.006797221, 0.0304085035, -0.0639303848, -0.0202301107, 0.0124774463, 0.021278359, 0.0242677312, 0.0399763696, 0.0252495352, -0.0417169705, -0.0336234048, 0.0551084988, -0.0751553252, -0.0179443173, -0.0285112057, 0.0268334188, -0.0498584323, -0.0133951437, 0.0146546261, -0.0066204676, -0.0089174854, 0.0314360745, 0.0027024881, 0.0480474196, -0.0590430275, 0.0411835611, -0.0783005729, -0.0384319872, -0.0522027649, -0.0086681759, 0.0155349262, -0.0109186796, 0.0468132868, 0.0267304834, -0.006347036, -0.0256639943, 0.0332877003, -0.0128368381, -0.0403825417, 0.0076323096, 0.0159573033, 0.0222661197, -0.0199098196, 0.0568072572, -0.0612750426, -0.0101788137, 0.0019327777, 0.0224828925, -0.0231605656, -0.0441904776, -0.0049459143, 0.0178909861, -0.0055090138, -0.0053096199, -0.0416687392, -0.0477044284, 0.0052859513, -0.0229766034, 0.0181523412, -0.0332368352, 0.0411287807, -0.0032630672, 0.0107724052, -0.015623698, 0.0063631441, -0.0017305767, 0.0247393586, -0.029290216, -0.0201500319, -6.474921901e-33, -0.0355692208, 0.0176301282, -0.0143283429, 0.0182682946, -0.0477868542, 0.0350036323, -0.0517411679, -0.0003652498, -0.029294936, 0.0096412217, -0.0209308676, 0.0155309504, 0.0171556585, 0.0269605853, 0.0158947613, 0.0066253566, 0.0731841177, -0.0092199408, 0.0058775987, 0.0321345553, 0.0284310468, 0.025608791, 0.0517889708, -0.0250890646, -0.0337567516, 0.0046837437, -0.0044867778, -0.004905012, -0.0027127783, -0.0008505935, 0.0084658796, 0.0021457928, 0.0099854516, -0.0775353909, -0.0640993044, 0.0089718634, -0.0698677599, -0.0117656989, -0.0180659946, 0.0328670293, -0.0291677099, -0.0275497492, 0.0741846412, -0.0003069043, 0.0329443589, -0.0910144225, 0.0012582059, -0.0096931159, -0.0570441596, -0.0546266511, -0.0361010991, 0.0125549575, -0.0102201095, -0.0076669888, 0.0444412939, 0.0516200028, -0.0348234996, -0.0205676034, -0.0843864232, -0.0032084831, 0.0072579766, 0.0358100347, 0.0392621532, 0.0346257612, -0.0019990804, 0.0125875203, 0.0579370968, 0.0087335268, -0.0645961761, 0.0362568498, 0.0246870331, 0.0064524459, 0.0726034492, 0.0030536484, 0.0581335239, -0.0071621281, -0.0421042182, 0.0158837456, -0.0329346098, 0.0398294367, 0.0102999881, 0.0132385362, -0.0021295703, 0.007468394, 0.0023515006, -0.0058481968, -0.0349729918, -0.0112422407, -0.0035350849, 0.0195381623, -0.0257022083, -0.0217329711, 0.0343257114, -0.0431490652, 0.105726324, 0.0032131667, 0.0295398366, 0.0567413718, -0.0033473822, -0.0395305194, -0.0175633747, -0.0102689052, 0.0237144791, 0.0446859375, 0.0155198397, -0.0109781884, 0.0312264506, 0.0665608719, -0.0367682055, -0.0388823748, -0.0388186909, 0.0110062491, 0.0153784193, 0.0828787461, 0.0279244296, -0.0205291212, -0.0138048241, 0.0210296921, -0.0436131135, 0.0079969317, -0.0110935261, 0.0589587241, 0.0444052555, 0.0483370312, -0.0649144575, 0.0120825814, -0.0407363586, 0.0325290561, 0.0774837509, -0.0554458238, -0.0656597167, 0.0306752715, 3.037e-7, 0.02530865, 0.0216323435, 0.0339262076, 0.0079806922, 0.0250956193, 0.0057709813, 0.0352929868, 0.0484288894, -0.0131784724, 0.0512296595, 0.0264118444, 0.0228340272, 0.0558678173, 0.0121525256, -0.1013603956, -0.0665818974, -0.0524641089, 0.0304253772, 0.006079359, -0.0100502605, -0.0075904024, 0.1011766642, -0.0131233446, 0.0028005184, 0.0079914341, 0.0420131832, 0.0363724381, 0.0173789132, 0.0216776356, 0.0034686809, 0.0097511997, 0.0017384823, -0.075363934, -0.0111032622, -0.0206160173, 0.019240519, 0.0168890264, 0.0725296885, 0.0046598068, -0.0204022937, 0.0326023065, 0.0046014842, -0.0318774059, -0.0265336465, 0.0124377543, -0.0854646564, -0.0362719409, 0.042633418, 0.0137784965, 0.0314567015, -0.0207160637, -0.0055764779, 0.0162985269, 0.0162605569, 0.0235177837, -0.0423740782, 0.0014771638, -0.0648287609, -0.0254734959, -0.0068926471, -0.0437914245, -0.0234839264, -0.0522020794, -0.0738344938, 0.0310683791, 0.0470267832, -0.0685020387, 2.721021466e-34, 0.0420710556, -0.0209045447, -0.0313505419, -0.0172955468, 0.0044647986, -0.0595284775, 0.0056535336, -0.0259842966, 0.0094757816, -0.057217706, -0.0451940075 ]
http://arxiv.org/abs/2310.14909v1
http://arxiv.org/pdf/2310.14909v1
Linking Surface Facts to Large-Scale Knowledge Graphs
2023-10-23T13:18:49
2023-10-23T13:18:49
Gorjan Radevski, Kiril Gashteovski, Chia-Chien Hung, Carolin Lawrence, Goran Glavaš
cs.CL
cs.CL, cs.AI, cs.LG
Open Information Extraction (OIE) methods extract facts from natural language text in the form of ("subject"; "relation"; "object") triples. These facts are, however, merely surface forms, the ambiguity of which impedes their downstream usage; e.g., the surface phrase "Michael Jordan" may refer to either the former basketball player or the university professor. Knowledge Graphs (KGs), on the other hand, contain facts in a canonical (i.e., unambiguous) form, but their coverage is limited by a static schema (i.e., a fixed set of entities and predicates). To bridge this gap, we need the best of both worlds: (i) high coverage of free-text OIEs, and (ii) semantic precision (i.e., monosemy) of KGs. In order to achieve this goal, we propose a new benchmark with novel evaluation protocols that can, for example, measure fact linking performance on a granular triple slot level, while also measuring if a system has the ability to recognize that a surface form has no match in the existing KG. Our extensive evaluation of several baselines show that detection of out-of-KG entities and predicates is more difficult than accurate linking to existing ones, thus calling for more research efforts on this difficult task. We publicly release all resources (data, benchmark and code) on https://github.com/nec-research/fact-linking.
[ 0.036531046, 0.0161419176, 0.0183668472, 0.0696106404, -0.0236768406, 0.0225731879, -0.0425699428, -0.0007973856, 0.0358394906, -0.0703488812, 0.0290151443, 0.0329115503, 0.0042668195, 0.040532954, -0.0082285265, -0.0199273154, 0.0587310605, 0.0239527021, 0.0237716194, 0.0134151382, -0.0063806167, 0.037531957, -0.0228367206, -0.0321513899, -0.0384125002, 0.013683958, -0.0067817513, -0.0127373273, 0.0219264086, -0.0036291776, -0.0570898689, 0.0346892662, -0.0240802784, 0.0427156873, 0.0000020477, -0.0761726275, -0.0333538428, 0.0216344558, -0.062708728, 0.0109488079, -0.0054616607, -0.0287754741, 0.0100575844, -0.034815643, -0.0374425948, -0.0588257685, 0.0383756869, 0.0497041643, 0.0235127434, 0.0507375821, -0.0135843465, -0.0150418058, 0.0290496591, 0.0250922665, 0.0016799084, -0.0421884954, 0.0277851075, 0.0015977944, -0.0383675806, 0.0131987296, -0.0047885398, 0.0234726444, -0.0106440475, 0.0136931725, 0.0018047248, 0.0287919454, -0.0490606651, 0.0038551285, 0.0148994178, 0.1176989153, 0.0276736896, 0.0067699957, 0.0186224133, 0.0053849267, 0.025895562, 0.0491431057, -0.0020131366, 0.0088334763, -0.051972609, 0.0027240939, -0.0010163519, -0.0238071587, 0.033540342, -0.004078296, -0.0253887456, 0.0473228283, -0.0173861682, -0.0288616586, 0.0789630711, 0.0170379225, -0.0110947844, -0.0407250114, 0.0040234239, -0.000770421, -0.0176449399, 0.0372802876, -0.0437232852, -0.0132266479, -0.0047247405, -0.0534429178, -0.0046553835, 0.0032033576, -0.0092383437, 0.0510132425, -0.0263696425, -0.0011692209, -0.0191947166, 0.0037216335, 0.001776565, -0.0351271741, -0.0334750377, 0.0353582129, -0.0296614468, 0.0356484987, -0.0284630135, -0.0130724907, 0.0144942654, -0.0107448557, -0.0297009293, 0.0627999678, -0.027414687, -0.0193889961, 0.0096094701, -0.0086768819, -0.0663420856, 0.0247817859, -0.0319169462, -0.0182503983, -0.0373683237, -0.0273097511, 0.0098243244, -0.0134886364, 0.0268871561, -0.0208862051, 0.0168413501, 0.0592725985, 0.0222482309, 0.0229870304, -0.0522994436, -0.0785586014, 0.0059049176, -0.0546061769, -0.0205585845, -0.0762998462, 0.0314024314, 0.0325978212, -0.0300926473, -0.0443159416, 0.0283274781, -0.008148619, -0.0853205696, 0.0559769459, -0.0598146468, -0.027120214, -0.0079096174, 0.0080337673, 0.0290934648, 0.0455828607, 0.0257426612, 0.0012173147, 0.0667619407, 0.0362009257, -0.0357396677, 0.0152097074, 0.055640135, 0.0003462215, 0.0787363797, 0.0268634781, 0.0493781492, 0.0286433008, 0.0213279352, 0.0581169426, -0.0002924853, -0.0535969138, 0.0161942784, -0.0231558662, -0.0245843325, 0.0211801864, 0.0555053987, 0.0191709045, 0.0539978705, 0.015969269, -0.0597016998, -0.0322081484, -0.0376311205, 0.0311091263, -0.0020960984, 0.0327517614, 0.025894912, -0.0275576673, -0.0401423834, 0.0125182932, -0.0183597915, -0.0095666926, 0.0564997792, 0.0125739137, -0.0164432153, 0.0918219835, 0.0426942818, -0.0136779761, -0.0100987535, 0.005838152, -0.0011873837, 0.0281499606, 0.0351731703, -0.043818254, -0.0429981463, 0.0167855434, -0.0116562294, 0.0327767916, 0.0409425795, -0.0448360033, 0.0231169574, -0.0094606299, -0.018208636, 0.0066615534, 0.0100803515, -0.0002345581, 0.0499987081, 0.0318474099, 0.0201770756, -0.0668643489, 0.0342232287, 0.0317593217, 0.0314599164, 0.0011366407, -0.0248595569, 0.0225931648, 0.0105512766, 0.0342523679, 0.0006189253, -0.0311199445, 0.0387470573, -0.0080394736, -0.0305631571, 0.0041142679, 0.0179056935, -0.0188091099, 0.048953861, -0.011131335, -0.0502195656, 0.0101602292, -0.0531214885, -0.0248804297, 0.0027579926, 0.0118406545, 0.056758821, 0.0140824439, -0.005791408, 0.0280072074, -0.010972905, 0.0045697857, 0.0980420113, -0.0032854208, -0.0045548878, 0.010920763, -0.0391919911, 0.0450906008, -0.0361787416, -0.0106022228, 0.007239494, -0.012259651, -0.0003732045, -0.0112541281, -0.0128376065, -0.0890387744, 0.0207100604, -0.0906388089, 0.0592368767, -0.0051394706, 0.0481137335, 0.014118162, 0.0066280728, -0.0029191256, -0.00805349, 0.0023836389, -0.00151115, -0.0264264811, 0.0049910597, 0.0431625694, 0.0284001008, 0.0187744964, -0.0161436945, -0.000442555, -0.0454932526, 0.0706952065, 0.0196869019, -0.001534079, -0.0114935329, 0.0418497585, -0.0651968494, 0.0275916401, 0.0052637146, 0.0499085858, -0.022701839, -0.0088139595, 0.0474440083, 0.0588847287, -0.0455223918, 0.0135556422, 0.0298214145, -0.032177154, -0.0205046386, 0.0091618439, -0.0176324267, 0.0112739671, -0.0406858176, 0.0227393322, 0.0295303687, -0.0291897077, 0.0015215111, -0.0169028882, -0.0053305947, 0.0242839474, -0.0000099288, 0.0078864181, -0.0360265113, 0.0271455403, 0.0297319945, -0.0034060478, -0.0213142931, 0.0102391494, 0.0220702142, -0.0201036818, 0.0506782308, -0.0035906693, 0.0159155652, -0.0248484407, 0.1044379398, -0.0025484718, 0.0158976614, 0.0166472048, -0.0344710536, -0.01089352, 0.0152766546, 0.0380239487, -0.0110912332, 0.0320983604, -0.0619008765, 0.0482707843, 0.0073280591, -0.0228705052, -0.0143556679, -0.0306663327, -0.0424147397, -0.0020936939, -0.019807376, -0.0353882387, -0.0125016104, -0.0243888851, 0.0110143553, 0.0033580221, 0.0260072872, -0.0271715447, -0.0021048621, 0.0380944461, 0.0275661126, 0.0334646739, 0.0080393506, 0.0433335751, -0.0027214498, 0.0751529485, -0.000087779, -0.0112937801, 0.0186010003, -0.0045222631, -0.0265530944, -0.0541011877, -0.0203763302, -0.0139258858, 0.013296959, -0.0630758181, -0.0084760021, 0.107338056, 0.0340469219, 0.0059890533, -0.0112789338, 0.0136867287, -0.0026154702, 0.0077008111, -0.0012196634, -0.1066869795, -0.0412272587, -0.0035713403, -0.002155148, -0.0034208624, -0.0690786317, -0.0160925705, -0.1083818227, 0.0005408997, -0.023203468, -0.0717143714, -0.0725445971, -0.0709854886, 0.0403961167, -0.0495658889, -0.0555342138, -0.0059855646, -0.0128753735, 0.0234119706, -0.0279670805, 0.0089311181, -0.0334043652, 0.0275566839, -0.0667201877, 0.0123130176, -0.0331277139, 0.0344534069, 0.0125263827, 0.009037599, -0.0232196972, -0.0126359053, -0.057198517, -0.0334219933, 0.0874677077, -0.0171444155, 0.0199217033, -0.0519405603, -0.0025899711, -0.017209433, 0.0112662977, -0.0086417412, 0.0973294452, 0.0312397368, 0.0001146888, 0.0216846149, -0.0366416089, 0.0112944832, 0.0834701583, -0.0154464617, 0.0260985922, -0.0111593623, -0.0458098203, 0.0025837123, -0.0013002692, -0.0618892983, 0.049246721, -0.0860195681, -0.0361599587, -0.0770437568, -0.0167751927, 0.0317907184, 0.0463858917, -0.0024184573, -0.0032103884, 0.070202373, 0.0075879921, -0.0835618973, 0.0125329811, -0.0663462654, 0.0137887662, 0.0005249928, 0.0017742577, 0.0080547556, 0.0056705838, -0.0453051366, 0.0378808193, -0.0434708111, -0.0309276655, 0.0330909304, -0.0381957665, 0.0193883367, 0.0405436233, -0.0246290322, 0.0341389328, 0.025459338, 0.0604883842, -0.0277022291, 0.0159845762, 0.0225636959, -0.0382618047, 0.0145032406, 0.0337904729, -0.0469678231, -0.0214415081, -0.0111421011, 0.0250475239, -0.0566171855, -0.024460962, 0.0196196027, 0.0664249212, 0.0216538403, 0.0359274708, -0.0148546444, -0.0423250906, -0.0080716051, -0.0088443719, -0.0247281659, -0.0213219542, 0.0231552124, 0.0023577164, 0.0277573559, -0.0075209639, 0.0329925418, 0.0204285886, 0.0320989192, -0.0241413414, -0.0752293915, 0.0060211313, 0.0096466579, 0.0220933165, -0.0508621819, -0.0348358676, 0.0242840592, 0.0058141872, 0.0325457305, -0.0608782619, -0.0015621685, 0.0314045884, -0.0417436771, -0.0090429783, 0.0009405655, -0.0254833475, 0.0227441788, 0.0106800636, 0.0414513126, 0.0525257401, -0.0104499068, 0.0438122228, -0.0228374451, -0.025221277, 0.0174661726, 0.013117725, -0.0011287787, -0.0217611622, 0.0165476333, 0.0087541584, -0.0393278189, 0.0286125857, 0.0272511709, -0.022275947, 0.0672150403, 0.0045641973, -0.0486033075, -0.0249104518, -0.0305059347, -0.029693095, 0.0205367971, -0.0009996003, -0.0074772215, -0.0970884115, -0.0466786176, 0.0137007628, 0.0285097249, -0.0028149725, 0.0158057343, 0.0283287279, 0.0447125621, 0.0694918558, -0.0648744851, -0.0058170138, 0.0266405419, -0.0646252707, -0.0181580875, -0.0173912123, -6.326017623e-33, -0.0498055592, -0.0278851874, -0.0203973334, 0.0429417975, -0.0571683347, 0.026557086, 0.0137490742, -0.0077412883, -0.0690917596, 0.0446794592, 0.0114694908, 0.030987503, 0.0135464007, -0.0238137562, -0.0386192575, -0.032124117, 0.0205297321, -0.0067809336, -0.0341135375, 0.0029215899, 0.0916076675, -0.0087033799, 0.061505165, -0.1046681181, 0.0369427279, -0.0210370682, 0.0042860173, 0.0427448899, 0.0087810056, 0.0307681374, 0.0128970426, 0.0388448201, 0.0087888539, -0.0355144031, 0.0208216663, -0.0083530266, -0.1455447525, -0.0435241982, 0.0398176499, 0.0327697881, -0.0069749509, 0.0037298882, 0.0273882262, 0.0151776085, 0.0445171408, -0.0517532639, 0.0273822416, -0.0017606056, -0.0188383944, -0.0255404767, -0.0419425108, 0.0435378999, 0.0377709344, 0.0253044963, -0.0147806481, -0.0639258474, 0.0213400703, -0.0408332013, -0.0536962003, -0.0167439599, -0.0217795875, 0.0032647355, 0.0207327977, -0.0180932395, 0.0120291701, 0.0491473339, -0.028640341, -0.009497717, -0.0315337405, 0.0523280837, -0.000646243, 0.0687331036, -0.0241432432, 0.0555396192, 0.054019697, 0.0221771728, -0.1041230559, -0.0001908487, -0.0118141575, 0.0030824747, -0.0798611119, -0.0280500613, -0.0439522602, -0.0026464008, -0.041145131, 0.0450047851, -0.0116130169, -0.0042231288, -0.0049738903, -0.028999202, -0.0134821879, 0.02167462, -0.0246809311, -0.0037748485, 0.0159851294, 0.046954412, 0.0136691052, 0.0318382978, -0.0159087256, -0.001918588, -0.0590293854, -0.0370160043, -0.0011611875, -0.0102690812, 0.0296910498, 0.0200089198, 0.0345797315, -0.0075538298, -0.0415731817, 0.0179744326, -0.012820065, -0.0240908191, -0.0361862928, -0.0294214617, 0.0424840078, 0.0335909538, -0.0013114699, 0.0096333474, 0.0549171492, 0.0422870331, -0.0464502126, 0.0066489326, 0.0198735259, 0.001082181, 0.0008867927, -0.0039194436, -0.0312156472, -0.0559592955, -0.0069947904, -0.0517566502, -0.0036528101, 0.0208628643, 2.842e-7, 0.0282248966, 0.0143384747, -0.0104925213, 0.0701574609, -0.0154890846, 0.0339745171, 0.0532156415, 0.0250933003, -0.0136246169, -0.0354328938, -0.0214264542, 0.031407021, -0.0154377231, 0.0703546926, -0.0830440968, -0.0047257249, 0.0145739093, -0.0722685829, -0.0405581631, -0.0007839889, 0.059804827, 0.027697634, 0.0778231621, 0.0207409877, -0.0134973889, -0.0623216629, 0.0225421879, 0.0244461391, -0.019692922, 0.0159671213, 0.0785646215, 0.008662845, -0.0240646508, 0.060246978, -0.0003775471, 0.0271464866, 0.0023113324, 0.0313119777, 0.0235583149, 0.0473678634, -0.046487812, -0.1047949493, 0.0051046163, 0.0332003832, 0.0678521246, 0.0026334412, -0.0115164761, 0.0152744213, -0.0198634118, 0.0049151834, -0.0348324217, 0.0185139738, -0.010462882, -0.0025597818, -0.0054056146, -0.0240973365, -0.0048493366, -0.0412746444, -0.019387655, 0.0497066975, 0.0355914794, -0.0697771087, 0.0490643345, -0.0586279444, 0.037434347, -0.0625582412, -0.0121706109, 2.511472379e-34, -0.0046613109, 0.0190446861, -0.0040202229, -0.035705559, 0.0466073863, -0.03089213, -0.0253191236, -0.0439894386, -0.0169527419, -0.0426819436, 0.0346593335 ]
http://arxiv.org/abs/2310.14892v3
http://arxiv.org/pdf/2310.14892v3
Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation
2023-10-23T12:59:11
2023-11-02T03:14:47
Tianqi Zhong, Quan Wang, Jingxuan Han, Yongdong Zhang, Zhendong Mao
cs.CL
cs.CL
Controllable text generation (CTG) aims to generate text with desired attributes, and decoding-time-based methods have shown promising performance on this task. However, in this paper, we identify the phenomenon of Attribute Collapse for the first time. It causes the fluency of generated text to rapidly decrease when the control strength exceeds a critical value, rendering the text completely unusable. This limitation hinders the effectiveness of decoding methods in achieving high levels of controllability. To address this problem, we propose a novel lightweight decoding framework named Air-Decoding. Its main idea is reconstructing the attribute distributions to balance the weights between attribute words and non-attribute words to generate more fluent text. Specifically, we train prefixes by prefix-tuning to obtain attribute distributions. Then we design a novel attribute distribution reconstruction method to balance the obtained distributions and use the reconstructed distributions to guide language models for generation, effectively avoiding the issue of Attribute Collapse. Experiments on multiple CTG tasks prove that our method achieves a new state-of-the-art control performance.
[ -0.0361998752, 0.0719135329, 0.0050861076, 0.0087863998, 0.0026214113, -0.0100187138, -0.0108718025, 0.0201473199, -0.0659750775, 0.002031432, -0.0143446662, -0.0238410961, 0.0322247222, 0.062781401, 0.032374572, -0.0319080427, -0.008055768, -0.0232763179, 0.0179623608, 0.0068550529, 0.0307401326, 0.0079096276, -0.0017500235, 0.0346107408, 0.0026690846, 0.0022347677, -0.033766415, 0.0026496856, 0.0228958335, -0.0070879548, 0.0022887841, 0.0320456475, 0.0098404456, 0.014362515, 0.0000021756, 0.0394113734, -0.0295075979, 0.0084370989, -0.008143764, 0.0095898015, 0.1119343787, 0.0031394919, -0.0209610406, 0.0260711908, -0.0440371297, -0.0148709165, 0.0572604388, 0.0372649319, 0.0625665411, 0.0597706363, -0.0125662601, -0.019252276, 0.0152242836, -0.0321068615, 0.0582852028, -0.0408194214, -0.0275725629, -0.0306936204, 0.0266071502, 0.0201608408, -0.0310841147, 0.0662132427, 0.0064006457, -0.0031270189, 0.0417547971, 0.0477312878, -0.0142689366, -0.0116948821, -0.0365320146, 0.0420050062, -0.0167893711, -0.044740133, 0.0293117557, -0.0241923407, -0.0053632408, -0.0422338396, -0.0194204412, 0.0212699063, -0.0286612734, 0.0212248098, 0.0252463035, 0.035923779, 0.0149361091, -0.0285482761, -0.0220308024, 0.0105032818, 0.0052988469, -0.0232504942, -0.0465627797, 0.0384958237, 0.0019149607, -0.060011778, 0.025040593, 0.0093405284, 0.0040215035, 0.016174715, -0.1055961773, -0.0867265835, -0.0310126934, -0.0129181119, 0.0703732446, 0.0286106057, 0.0216148756, -0.0120899929, -0.046358142, 0.0422789939, -0.0194111206, -0.0037913665, -0.0391148143, 0.0372248404, -0.0448301025, -0.0532048009, -0.0583189912, 0.022966845, -0.0404840931, -0.0311875157, -0.0478062108, -0.0137573481, 0.0024346421, -0.0267828312, 0.0455018766, 0.0123130232, -0.0729032829, 0.0005965487, 0.0443718284, 0.0003747353, 0.0066776699, -0.0067020115, 0.0470883064, -0.0130987503, -0.0165011007, 0.0132496664, 0.0523400754, 0.0059560458, -0.0368639454, 0.0163527932, -0.0787508041, -0.0058325077, -0.0050500683, -0.036924962, -0.0083894217, -0.0066511519, -0.0196212344, -0.0435764156, 0.0088082291, 0.0081806965, -0.0240342729, -0.08087641, 0.0268447679, -0.0006847905, -0.0028500287, 0.0513892472, -0.0408035852, -0.0033022002, 0.0386317521, 0.0121587981, 0.0250692721, 0.0168134775, 0.0394870602, 0.0582849197, -0.0323797278, 0.0345079303, 0.0469552837, 0.0132751223, 0.0618338995, 0.0092270114, -0.042419143, -0.0693352669, -0.0273262542, 0.0329768993, 0.0466595143, 0.0418826267, -0.0525965206, 0.0169404019, 0.0748163164, -0.012708188, -0.0137993628, -0.0067074792, 0.0737821087, 0.0346161351, -0.021613244, -0.002858462, 0.0137861921, 0.0098754894, -0.0108478842, 0.0333620943, 0.0060139303, 0.028647447, -0.0128929531, -0.0720631182, 0.0248378199, -0.0335075818, 0.0554790832, -0.0233491063, 0.0268753301, 0.061529085, -0.0599230267, 0.0023418195, 0.010372078, -0.0455867015, 0.0227159169, -0.01634055, -0.0125072775, 0.0622741915, 0.0448609963, 0.0250588562, 0.0080396263, 0.0053667184, 0.0189825017, 0.0571883656, -0.0088983765, 0.0107616913, 0.0054608341, -0.0610938109, -0.0346167311, 0.0017940842, 0.0163693931, 0.0265268963, -0.0330037512, 0.033646062, -0.0006101836, -0.0004505929, -0.0581949502, 0.0359184518, -0.0124845486, -0.0135255801, 0.0341796428, -0.0090017235, -0.0034031488, 0.0048825638, -0.038495969, 0.034695603, 0.0002224294, -0.0509363562, -0.0446471758, 0.0080786785, -0.0442606285, -0.0339061655, -0.0287092049, 0.0017084801, -0.0156950429, -0.0139536401, 0.0163662676, -0.0669181496, 0.0191486795, -0.043382287, 0.0529319979, -0.0065106559, 0.035787981, 0.0348678268, 0.0253439005, -0.0180587322, 0.0511196777, -0.0212521851, -0.0321852826, -0.0162805486, 0.0979539603, -0.0107574239, -0.0288872402, 0.0087055285, -0.0106462417, 0.0016143502, 0.0044862553, 0.0478362367, 0.0243546888, 0.0352683738, -0.0228010919, -0.0037500565, -0.0045217797, -0.0107475622, -0.0006172906, -0.0143510364, 0.0047838939, 0.0086052222, 0.0035848047, -0.0669149607, 0.0145240314, 0.0129438229, -0.0400295407, 0.0278426576, 0.0061515248, -0.0351981968, 0.007826671, -0.0053755371, 0.0273682196, 0.0199793782, 0.0332195014, -0.0007957257, -0.0661962926, 0.0330544636, -0.0117273899, 0.0080898525, 0.0187352318, -0.0483251177, 0.0162679255, -0.0135607393, 0.0274303965, 0.0584246032, 0.0358807109, 0.0528373159, -0.0073542511, 0.0253551994, -0.0260439944, 0.0027637878, -0.0284171887, 0.0023682367, -0.0141372029, -0.0223101657, 0.057988245, 0.1091215909, 0.0581093132, 0.0375711247, -0.084558107, 0.0378819369, -0.0255395211, -0.0474481732, 0.0121461721, -0.0049054651, -0.0136052417, 0.0353357717, -0.0610869937, -0.0366375931, 0.0494149402, -0.0522676483, 0.0016561945, -0.0008532554, 0.0129932677, 0.0068079405, 0.0137062296, 0.0251398757, 0.029910164, 0.0832096115, -0.0413826704, -0.0159015153, 0.0124695543, 0.0405701548, -0.0337057523, -0.0098814266, -0.0524726771, 0.0084472615, -0.0144176865, -0.0656182691, -0.0131393503, 0.0279443562, 0.0343272872, -0.0198550541, 0.0323362611, -0.0510109216, -0.0288569424, -0.0115229702, 0.0274708346, 0.0246849377, -0.0321682915, -0.0197908599, -0.0229367912, 0.0533593222, 0.0230321642, -0.0347530916, -0.0219892822, -0.0420301072, -0.0508061647, 0.035751801, 0.0114240618, 0.0455630049, -0.0034713987, 0.0560140461, 0.0211916044, 0.0307408776, -0.0297055803, -0.0049845092, 0.0354206823, -0.0536485799, -0.0400261544, 0.0575589761, 0.0259901062, -0.0170488935, 0.002445651, 0.0432631448, 0.0428741612, -0.0180821624, -0.0033575001, -0.0882874131, -0.0062933904, -0.0087720379, 0.063480176, 0.0027228366, -0.003299969, 0.0108016888, -0.0699655786, 0.0353063121, 0.0298828669, -0.0474604368, -0.0540788509, -0.0011483864, -0.0448707826, -0.0127808759, -0.0046973443, 0.0243901778, 0.0356492586, 0.0259886552, 0.0421058573, 0.0284048021, -0.0433194861, -0.0343843028, 0.0281513128, 0.0601224862, 0.0750672519, 0.0316064656, 0.0082290517, -0.0246774163, -0.0648274794, -0.0095864888, -0.0168212466, -0.0305981617, -0.0262585599, 0.0006627777, -0.0416703336, 0.0115485583, 0.0604186468, 0.0131725427, 0.0061200559, -0.0164582636, 0.0102574937, -0.0091897771, -0.0274410248, -0.0190204065, -0.0657330304, 0.057977777, 0.0412410349, 0.0104532177, -0.0507542007, -0.0888241455, -0.0425854623, -0.0125617972, -0.1119807363, -0.072341457, 0.0165520646, -0.0015979616, -0.0670851469, -0.1262836754, 0.0079452451, -0.0017216033, 0.0527995713, -0.0213022474, 0.0484271795, 0.0168281589, -0.0096218903, -0.0880093127, -0.0772977918, -0.0069173872, 0.0269003883, -0.0486835055, -0.0677130371, 0.006219924, -0.0513336547, 0.0042666402, 0.080558829, -0.034925703, -0.0419421047, 0.0531334691, 0.0456828848, 0.0196999274, 0.0414552353, -0.025568258, -0.0641720966, 0.059020035, -0.0074376334, -0.0553629622, 0.0364972539, 0.0236857608, 0.0007845086, -0.0158392098, 0.0316035077, -0.0262167379, 0.0486796573, 0.0249425117, 0.0261439122, -0.0008211115, 0.007715473, 0.0098229153, -0.0137629062, -0.0755958483, -0.039055258, 0.0166856125, -0.002951795, -0.0277660172, -0.0217019375, 0.0151402494, -0.0645673275, 0.037786752, 0.0105254631, -0.0077252127, 0.0149433007, -0.0299924407, 0.0345738642, 0.0362000428, -0.0082968567, 0.0176125802, -0.0698038563, 0.03973037, 0.0567986257, 0.0093602352, 0.0131931501, 0.0019313541, -0.0167367272, 0.0080715101, -0.0198084209, 0.012903722, 0.0348215103, 0.0142937945, -0.0436774045, 0.0234960001, -0.0100431517, 0.0828110054, -0.0415195152, 0.0391906947, 0.0032890264, 0.0452208333, 0.0658304468, -0.0500877202, 0.0095291017, -0.013517715, 0.0409917533, 0.0025338228, -0.0260442328, -0.0084295152, -0.0005455919, -0.0023758316, -0.0512191243, 0.0985739827, 0.0541860349, 0.0008934756, -0.0395750739, -0.0039074188, -0.0416650288, -0.0058380663, -0.0022727414, -0.0206392575, -0.013202711, -0.0004713728, -0.0535328351, -0.040561296, 0.0257640202, 0.0287933722, 0.0375114232, -0.0230414215, 0.030561287, 0.0291301459, -0.0368982069, 0.0191754363, -0.0275170095, -0.0192735996, -0.0230889171, -0.0191294122, 0.006636946, -6.220002726e-33, -0.0623451658, -0.0049585351, -0.0002957184, -0.0042600343, -0.0620138757, 0.0254331809, -0.0619736053, 0.0063233981, 0.0492362157, 0.002883943, -0.007825138, -0.0076499977, 0.0065301284, 0.0379422382, 0.0233585984, 0.043796435, 0.0490273014, -0.0272262581, -0.0379168689, 0.0805267692, 0.0479946248, 0.0423189849, 0.0170582552, -0.0398448408, -0.0284889378, -0.0230700783, -0.0160079505, -0.0289344359, 0.0365095548, 0.0227558538, -0.0175880995, 0.0276068226, 0.0065456559, -0.0643960834, -0.060324274, 0.0105603011, -0.0793694779, -0.0046582376, -0.0160045382, -0.0120193511, -0.013578278, -0.034598507, 0.0075569279, 0.0015886965, -0.0252048522, 0.0291854087, 0.0183727462, -0.0339808613, -0.0328527912, -0.0840102881, -0.0560418293, 0.040298257, -0.0070166751, -0.0063977814, 0.0354251228, -0.064586103, -0.0322015807, -0.0334462188, 0.0051013469, 0.0129976207, 0.0563395731, 0.059340179, 0.0168628804, 0.0601198822, 0.0157429893, 0.0308867916, 0.0413844101, 0.0186482817, -0.0220786873, 0.0484046526, 0.0273265876, 0.0154633783, 0.0117205409, 0.0562579222, 0.0108227553, -0.0580055974, -0.0060422942, 0.0232044682, 0.0091391448, 0.0089105247, 0.0316990614, 0.0397571251, -0.032950338, -0.0042356695, -0.0111642582, 0.0043408191, -0.001417295, -0.0220343489, 0.0407959148, 0.0845078826, -0.0599240251, 0.0272567235, 0.0435126312, 0.0120545775, -0.001110875, 0.0130661251, -0.0047739143, 0.038168259, -0.033886455, -0.0357090048, -0.0282223523, -0.0315356292, 0.0344284773, 0.0466084406, -0.0007601764, 0.0019628515, -0.0075577176, 0.036512468, -0.0193139464, 0.0109389694, -0.0378511064, 0.0305698104, 0.027579613, 0.0181885622, 0.0289450306, 0.0043585054, -0.0136962757, 0.0143558076, -0.0220030844, -0.0407255851, -0.0330875218, -0.0291343369, 0.0164861139, 0.0310985986, -0.0705306977, 0.0138694569, -0.0507171676, -0.0056348988, 0.0422241911, -0.0906108096, -0.0226571653, 0.0182208158, 2.78e-7, 0.0074721826, 0.0031830529, 0.0993289575, 0.0044168793, 0.0062081157, 0.0044478476, 0.0052265218, 0.042891819, -0.0384214371, -0.012774027, 0.0018259841, 0.0170821082, 0.0593857467, -0.0101580666, -0.0649118498, 0.0592317171, -0.0177884698, 0.0378472507, -0.0463339165, -0.0327943973, 0.0505622923, 0.0258723721, -0.0437828824, 0.0099455835, 0.0497335382, 0.053380996, 0.0364492536, 0.0511919372, 0.022705432, 0.0138546517, 0.0050979238, -0.0067442749, -0.0442057922, -0.0273363143, -0.0433785133, -0.0276990142, 0.0435015969, 0.0581900589, -0.0112653133, -0.0008073041, 0.0302419588, -0.0317607895, -0.0073302882, -0.0058808215, 0.0102892518, -0.0403515846, 0.025997607, 0.0041919663, -0.0425801091, 0.0157016031, -0.0540884547, -0.0080226967, -0.017212661, 0.0274615455, 0.0112583116, 0.0424093567, 0.020484576, -0.0730450004, -0.0360668562, -0.0210043732, -0.031716805, 0.0011292252, -0.0766859278, 0.0239165239, 0.007897892, -0.0521151088, -0.0390103944, 2.498519212e-34, -0.0216719825, -0.0270530917, -0.0128888497, 0.0306772701, -0.0054561212, 0.000724084, 0.055153504, 0.0397332795, 0.027237013, -0.0101954117, -0.0342052802 ]
http://arxiv.org/abs/2310.14883v1
http://arxiv.org/pdf/2310.14883v1
Non-autoregressive Streaming Transformer for Simultaneous Translation
2023-10-23T12:52:24
2023-10-23T12:52:24
Zhengrui Ma, Shaolei Zhang, Shoutao Guo, Chenze Shao, Min Zhang, Yang Feng
cs.CL
cs.CL, cs.AI, I.2.7
Simultaneous machine translation (SiMT) models are trained to strike a balance between latency and translation quality. However, training these models to achieve high quality while maintaining low latency often leads to a tendency for aggressive anticipation. We argue that such issue stems from the autoregressive architecture upon which most existing SiMT models are built. To address those issues, we propose non-autoregressive streaming Transformer (NAST) which comprises a unidirectional encoder and a non-autoregressive decoder with intra-chunk parallelism. We enable NAST to generate the blank token or repetitive tokens to adjust its READ/WRITE strategy flexibly, and train it to maximize the non-monotonic latent alignment with an alignment-based latency loss. Experiments on various SiMT benchmarks demonstrate that NAST outperforms previous strong autoregressive SiMT baselines.
[ -0.0116581321, 0.0520339832, 0.0194846634, -0.006492388, -0.0176357459, 0.0335287638, 0.0076550525, -0.0209399629, -0.0714901984, 0.0081035113, -0.0093072886, -0.0535089038, 0.0210092682, 0.0486057661, 0.0162621643, -0.0384465344, 0.0349839814, 0.0116885006, -0.0128538385, -0.0112411017, 0.0008707768, -0.0094916001, -0.0125554968, 0.0044571748, -0.0386955626, -0.0338411853, -0.0292183608, 0.043218106, 0.0316615701, -0.0432636738, -0.0055486164, 0.0336297043, 0.0199698862, 0.0449101329, 0.0000021141, -0.0007302453, -0.0327261761, 0.003988164, 0.0211420339, -0.0137494737, 0.0314739421, -0.0585764274, -0.0376722962, 0.0470276363, -0.0052262591, -0.061855983, 0.0630360767, 0.0081916563, 0.0683993697, 0.070709303, -0.0338997915, -0.0392367505, 0.0162382647, -0.082384102, -0.0547599755, -0.0136679886, -0.026402235, -0.0188867431, -0.086717099, 0.0002524425, -0.0534955971, 0.0718602687, 0.0496936738, -0.0169300716, 0.009878804, 0.0218311474, -0.0279458221, -0.0392116681, -0.0333510302, 0.0212406702, -0.0476208255, -0.0012110512, -0.0127005782, -0.0280574095, -0.0298186261, -0.0554440692, -0.0259547327, 0.0319332592, 0.0025783144, 0.0154768936, -0.0068812794, 0.0438686162, 0.0240341909, -0.0370120704, -0.0264805667, -0.0575712733, 0.0395887569, -0.021526847, -0.0378174447, 0.032960441, -0.0239161048, -0.0109773241, 0.0455199033, -0.0070279874, -0.018960895, 0.0155943399, -0.0414287113, -0.0339138471, -0.0090895426, 0.0044652605, 0.0240977574, 0.093291603, -0.0047242469, 0.0155286798, -0.0467316806, 0.0697192922, -0.0464418828, 0.0025343366, -0.0573192164, -0.0180593561, 0.0175784659, -0.0157095958, -0.0213356428, 0.011745234, -0.0417733602, -0.0255536698, -0.0181086641, 0.0408857912, 0.0076638758, -0.0071425322, 0.0305938181, -0.0111004356, -0.0943714529, -0.0266538355, 0.0180977825, 0.0913300812, -0.0064027752, -0.0149218151, 0.0235329531, -0.0735996142, -0.0391489603, 0.0316134878, -0.0033885627, -0.0252382234, -0.0310479384, 0.0360610113, -0.055968482, -0.0033772439, 0.0124247735, 0.0067583034, 0.0061270255, -0.033546295, 0.0254355818, -0.0336904936, 0.0821136013, 0.0242406279, 0.0235026591, -0.007872683, -0.0019763908, 0.0145208882, 0.0460943989, 0.0299675707, 0.003659131, -0.0068018539, 0.0177069828, -0.0077037741, -0.0124921193, 0.079511337, 0.0305320919, 0.0162360743, -0.0004022537, 0.023626497, -0.0423612855, 0.0528214127, 0.0109709846, 0.0245888587, -0.0102524227, 0.0011374817, 0.0363005064, 0.022241341, 0.0584906004, 0.0635938644, -0.0136511512, -0.0113350702, 0.0635398701, 0.0220958944, 0.0130053507, 0.0433336757, 0.0612231195, 0.0203361046, -0.045376312, 0.0199750531, 0.0117458422, 0.0694081113, 0.0937505364, 0.0215482041, 0.0529883616, 0.057279706, -0.0389037281, -0.0104239713, 0.0010909137, -0.0265877992, -0.0213872697, -0.0371845365, 0.0333749317, 0.0184683967, -0.0809855759, 0.0395503752, -0.0408531427, -0.0512665696, 0.0086748637, -0.0149175283, -0.0739482194, 0.0378851444, 0.0322305262, 0.0384843349, -0.051818531, -0.0373185612, 0.0001753259, 0.04885225, 0.0172004141, 0.0341953672, 0.037199825, -0.0459015816, -0.0251623206, 0.0446441136, -0.0068346597, 0.0513724349, -0.001552382, 0.068518959, 0.0364849977, 0.0411237851, 0.0167975035, 0.0181572158, -0.0305591058, 0.0091945007, 0.0284547005, 0.0096395891, 0.0391757898, 0.0111866947, -0.0068325335, 0.0021342013, 0.0432352908, -0.0537348352, -0.0199929271, 0.07421574, -0.1093170196, -0.0387884453, 0.0197174344, -0.020703895, 0.0069855326, 0.0736993402, -0.0011937071, -0.0724869967, -0.0106394179, -0.0357374102, 0.0218772925, -0.04251967, 0.0303283446, 0.0442740917, 0.0139013054, 0.0142473299, -0.0020000439, -0.0216629412, 0.0125412205, 0.0055688289, -0.0187089574, 0.0142564196, -0.057118997, -0.0333020017, 0.0338535085, -0.004000436, -0.0170126706, 0.030349303, -0.0105633698, 0.0057681156, -0.0480920933, -0.0334877372, 0.0127765136, -0.0349662751, 0.0411651768, 0.0206040107, 0.0478974096, 0.0069662365, -0.0114038782, -0.0348341577, -0.0102325296, 0.0242734328, 0.0130665731, 0.0126985544, -0.0017618568, 0.008733633, 0.0265291557, -0.0215154514, 0.0169005394, 0.0272327326, -0.0047463956, -0.0067085866, -0.0657471716, -0.0614600778, 0.0190798584, 0.0137856016, 0.006613133, -0.0509605445, 0.011326435, 0.0185346361, 0.0499985069, 0.0226122495, 0.0348283611, 0.0027949642, -0.0384743884, -0.0077450988, -0.0235850383, 0.0227805264, -0.0241747033, -0.0088297203, 0.0016653537, -0.0181536041, -0.0087965811, 0.0531220213, -0.0116188331, 0.014578619, -0.0835155398, -0.0394779481, 0.0142502859, -0.0273463279, 0.0162209645, -0.0071256724, -0.0229591299, -0.0129400138, -0.0186870918, -0.0513462201, 0.0210707877, -0.0449780487, -0.0583904423, -0.0239097886, 0.0496568009, -0.0344545171, 0.0457069091, 0.0034340636, -0.00119953, -0.0502814539, -0.0562059768, -0.011688699, 0.0610169955, 0.0056657363, -0.0192838237, 0.0281944145, 0.0151372869, -0.0072043175, -0.0294294786, -0.0251374077, -0.019697329, 0.0014877382, 0.0241116658, -0.0009455078, 0.0732984766, -0.0134329069, -0.0521248765, 0.0229834616, -0.0185739826, 0.0822754949, -0.0319582149, -0.006410744, -0.0209126472, 0.0459880717, 0.0208429024, -0.0172092672, -0.0000361336, -0.0595887341, 0.0351199843, 0.0379854962, 0.0350077376, -0.0230465829, -0.0298836436, -0.0034774998, 0.0414676666, 0.0033151056, 0.0021221526, -0.0240010303, 0.0262522977, -0.0369522162, -0.0156817362, 0.0876744986, -0.0090987366, -0.0477043241, -0.0109627526, 0.0059709526, 0.0611644872, 0.0025750108, 0.0037666557, -0.0748538002, -0.026030859, -0.0117232595, 0.0288237035, 0.0526664928, 0.0284615643, -0.0491388664, -0.0710386112, 0.0180625729, 0.0365248583, -0.0487652868, -0.0291164201, -0.0224220194, -0.0654899552, -0.0457004942, 0.0329277292, 0.0266216192, -0.000235849, -0.0016479912, 0.0113869114, -0.0208930336, -0.0388512984, -0.0424737893, -0.054979004, 0.0417014584, 0.0517757349, -0.0008762468, 0.0168087464, -0.0357820131, 0.0634932369, -0.0408672355, 0.001295673, -0.0046339724, -0.0281467456, -0.0503829271, -0.0217114426, -0.0092153605, -0.0165660605, -0.0199604072, 0.0124183642, -0.0023335812, 0.054559119, 0.0125659676, 0.0089407414, 0.0004189273, -0.0276242066, -0.009474406, 0.0442704782, -0.031278152, -0.0299743023, -0.0253948085, -0.01655728, 0.0292889141, -0.0419841968, 0.0251247585, -0.0069590076, 0.0147803444, -0.1034549922, -0.0520019419, -0.0414710268, -0.0077074897, 0.0522409901, -0.0031838727, 0.0169049948, 0.0121326754, 0.0056914468, -0.0535394102, -0.0097236736, 0.0041024582, -0.0126461135, -0.0696892962, 0.022363428, 0.0259113479, -0.0102737257, -0.0028685166, 0.0091590649, -0.1314705014, -0.0654899254, -0.0031779255, 0.0265508611, 0.0086256089, 0.0755270496, -0.0171381291, 0.0127550457, 0.0069621284, 0.0314573906, -0.052446682, 0.0067080716, 0.0133790169, -0.0232871994, -0.0118234288, 0.0129295429, -0.00665206, -0.012525171, -0.0379907787, 0.0502465181, 0.0199956782, 0.0095984805, 0.0078372946, 0.0018653476, 0.0311361942, -0.0162746347, 0.0074664699, -0.0003265964, 0.0544836931, -0.0222226288, 0.033208482, -0.0470531471, 0.0240650289, 0.025114296, 0.0021049888, -0.0161031969, 0.0461878441, 0.0068570403, -0.0459541567, 0.0186931528, -0.0069005359, -0.0523310639, -0.0133877639, -0.0113020223, 0.012506186, -0.0173725095, -0.0141750677, 0.0233909097, 0.0018102275, -0.0623794571, 0.0253199805, 0.0272584837, 0.049648203, 0.0316001102, 0.0370743088, 0.0008544606, 0.0188832935, -0.0523145869, -0.016352525, 0.0546018332, -0.0032162708, 0.101858221, 0.0073614423, 0.025889365, -0.01366466, 0.0222705975, -0.0242186487, -0.0364437588, -0.0072235032, 0.0076570977, -0.0211060569, 0.0064222845, 0.0412816033, -0.0223409887, -0.0137622347, -0.0115274144, 0.0003207768, -0.0187013224, -0.0113322185, -0.0083119739, -0.0423993357, -0.003865767, -0.0237291381, 0.0422378592, -0.0187205765, 0.0102569908, 0.0061474275, 0.0118993158, -0.0046681883, 0.0023623849, 0.0664854497, -0.0485065691, -0.0328263976, -0.0159504749, -0.0138935661, 0.028808102, -0.0055858195, -0.006243289, -6.991263672e-33, -0.0186611358, 0.0070277527, 0.0059802737, -0.0545043387, -0.048345536, 0.0398607217, -0.0021669287, -0.0400111713, 0.010210623, -0.0001172383, -0.0013970975, 0.0332507156, 0.0396350548, 0.0284110904, 0.0119956834, 0.0078165121, 0.1008706093, -0.0095234513, -0.0325471386, 0.0163767859, 0.0310679041, 0.0201042239, 0.0424291715, -0.0021195351, -0.0220418293, -0.0331782326, -0.0109286858, 0.0054277093, 0.0372808874, 0.0076020518, 0.0126096457, -0.011916331, 0.0128789525, -0.0662050918, -0.0201730281, 0.0065012844, -0.1082554311, 0.0170039926, -0.0075893197, 0.0714372024, -0.0114625711, -0.0318456739, 0.0222919583, -0.0177918673, -0.0279725399, -0.0551666282, 0.0001389901, 0.0057584844, -0.0215199608, -0.0567565784, -0.0287501346, 0.0251055658, -0.007096298, 0.0037362224, 0.026251331, 0.0513547473, 0.0117370514, -0.0084372191, -0.100370653, 0.0199810658, -0.0201726779, 0.0789766535, 0.0730275884, -0.0024706007, 0.0089918748, 0.0032706724, 0.011704741, -0.0191064179, 0.0236337837, -0.0008464241, 0.0074091805, -0.0348499529, 0.0426632091, -0.0250713695, 0.0959255621, -0.0131136347, -0.0243135244, 0.0231164191, -0.0076473732, 0.0181374419, 0.0409269743, 0.0260944888, -0.0146563686, 0.0046212049, -0.0193905868, -0.0193021577, -0.0168852452, -0.0336986966, 0.0384909809, 0.0582126342, 0.0159435123, 0.0313840844, 0.1011737138, 0.025394626, 0.0227935333, 0.0041357405, -0.0186531655, 0.0178365856, -0.0503801741, 0.0366016589, -0.014248034, -0.0261747986, 0.0347611904, 0.0193375964, -0.0064776056, -0.0183306467, 0.0255178157, 0.0698927417, -0.0825636908, -0.0058054747, -0.026350379, 0.0607393235, 0.0054194652, -0.0337185226, 0.0443277806, -0.0176209081, -0.0151994592, 0.0744166076, -0.0194055419, -0.0084091695, -0.0242951456, 0.02671347, 0.0238871835, 0.0425281823, -0.0268085171, 0.0546136238, -0.0164518915, 0.0393339805, 0.0259340629, -0.0767998397, -0.0474907421, 0.0367216691, 2.78e-7, 0.0209722575, 0.0502077788, 0.0679254085, -0.0053663808, 0.0241994299, -0.000206841, -0.0260784701, 0.0478295982, -0.0037739999, 0.0686788037, 0.0216704775, 0.0048315874, 0.0614518486, 0.0201503169, -0.0891570598, 0.0103600295, -0.1065597981, 0.0470772311, -0.0283878874, -0.0033806427, 0.0413963273, 0.0709946305, -0.0531811751, 0.0145982942, 0.0176312048, 0.0048380201, 0.0640079901, 0.0283256508, 0.0136437304, 0.000871475, -0.0030260759, -0.0076851374, -0.0398880467, -0.0181543697, -0.0421013944, -0.0037338017, 0.0350667164, 0.0570202209, -0.0054623797, -0.03598544, 0.05869174, 0.0420547277, -0.0430431813, -0.0092398729, 0.0688740015, -0.0600523949, -0.0158273466, 0.0131007591, -0.0763999894, 0.0490080975, 0.0076204338, -0.001913323, -0.0365528166, 0.043256823, 0.0491651222, 0.0361599624, -0.0096565979, -0.0433397256, -0.0162798353, -0.041967243, -0.0485729538, -0.0109339403, -0.0832433701, 0.0206920337, 0.0295267906, 0.0019244432, -0.0361308157, 2.622871591e-34, 0.0404991433, -0.031227082, 0.0190511812, 0.0082555683, 0.0071523064, -0.049792368, -0.0042820266, 0.0339034759, -0.0557868667, -0.0247827023, -0.0714559332 ]
http://arxiv.org/abs/2310.14880v2
http://arxiv.org/pdf/2310.14880v2
Can ChatGPT Perform Reasoning Using the IRAC Method in Analyzing Legal Scenarios Like a Lawyer?
2023-10-23T12:51:49
2023-11-03T03:50:07
Xiaoxi Kang, Lizhen Qu, Lay-Ki Soon, Adnan Trakic, Terry Yue Zhuo, Patrick Charles Emerton, Genevieve Grant
cs.CL
cs.CL
Large Language Models (LLMs), such as ChatGPT, have drawn a lot of attentions recently in the legal domain due to its emergent ability to tackle a variety of legal tasks. However, it is still unknown if LLMs are able to analyze a legal case and perform reasoning in the same manner as lawyers. Therefore, we constructed a novel corpus consisting of scenarios pertain to Contract Acts Malaysia and Australian Social Act for Dependent Child. ChatGPT is applied to perform analysis on the corpus using the IRAC method, which is a framework widely used by legal professionals for organizing legal analysis. Each scenario in the corpus is annotated with a complete IRAC analysis in a semi-structured format so that both machines and legal professionals are able to interpret and understand the annotations. In addition, we conducted the first empirical assessment of ChatGPT for IRAC analysis in order to understand how well it aligns with the analysis of legal professionals. Our experimental results shed lights on possible future research directions to improve alignments between LLMs and legal experts in terms of legal reasoning.
[ 0.05907166, 0.0228406042, -0.0130218659, 0.0128368456, -0.1077588275, 0.0340656303, 0.0135692647, 0.0101049459, 0.0129742371, -0.0743092895, 0.0177115817, -0.0202566553, -0.0223326366, -0.0121791139, -0.0152803883, -0.0325761773, 0.0239309501, 0.0110230958, 0.0734309107, 0.0136210332, 0.0448823869, 0.0335696377, -0.0108891679, 0.0313460492, -0.025878422, -0.0372814573, -0.0423197858, 0.0069882697, -0.0000639691, -0.0106063634, -0.0113574406, 0.0666973963, 0.0286486596, 0.0243321992, 0.0000016934, -0.0562028289, -0.0069013396, 0.0004172113, -0.0063960776, 0.0324730724, 0.0329421312, 0.0113443825, -0.0182265565, 0.0066862935, -0.0585356802, 0.0455002114, 0.0050768293, 0.0317249894, 0.0576536804, 0.0997869596, -0.0201773178, -0.0515353903, 0.025386503, -0.0110456711, 0.0039205379, -0.0307143405, 0.0143570257, 0.0410112329, 0.061558567, -0.0053697419, 0.0519793332, 0.0109277144, 0.0446083397, -0.067135565, -0.0644305348, -0.0023953561, -0.0642185658, -0.0039544734, 0.0099423015, 0.0075902366, 0.0565113723, -0.0191343054, -0.0181739647, -0.002221141, 0.045087453, 0.0464897864, -0.0335468911, 0.0643454567, -0.026130354, 0.0198382959, 0.042435579, 0.0256376639, -0.0192108862, 0.022550717, -0.0144820027, 0.0612113774, -0.0230482742, -0.0371251442, 0.0032524217, 0.0084940493, 0.0031365287, -0.091086641, 0.0231208894, 0.0596963167, -0.0045001907, 0.0385610946, -0.0089300657, 0.0043683494, 0.0719000399, -0.07855957, -0.0083513465, 0.0328881145, -0.0261933059, 0.0728624612, -0.009431175, 0.0042315749, -0.0257314797, 0.0130760418, -0.0009425511, -0.0066108843, -0.0782112554, -0.0363680907, -0.0491696894, 0.0408225879, -0.0698138177, 0.0080997208, -0.0040590698, 0.0256465599, -0.0158752035, 0.0042367084, 0.021122098, -0.0048979195, -0.0105503565, -0.02764263, -0.0839027464, -0.0739358142, -0.0511582866, 0.0574011542, -0.0056848424, -0.0198947433, 0.0212927274, 0.0231896844, -0.0211522356, -0.0137441196, -0.0222642645, 0.0883853287, 0.002290241, -0.0011605588, -0.0198119339, -0.075818561, -0.0103615206, -0.093948707, -0.0210594535, -0.0713778213, 0.0092134448, -0.010540477, -0.0256737508, -0.019883804, 0.0195346214, 0.0333359875, 0.0099260183, 0.0641965866, -0.0054462859, -0.0149515159, -0.0266714897, 0.0320498087, 0.0238263067, 0.0354020372, 0.0168647226, -0.0071247607, 0.0019081909, 0.015980592, 0.0194257218, 0.0499910861, -0.0518997423, 0.0293533523, -0.0024908825, 0.0318716466, -0.0498178862, 0.0218357164, -0.0191817377, 0.0438615568, -0.0258801226, -0.0147612831, 0.0114326458, 0.0743048564, 0.0055574086, 0.08278732, 0.0241587702, 0.0071323127, 0.0319573767, 0.0317809209, -0.0265808776, 0.0154537959, 0.0057226922, -0.012373927, -0.0571745299, -0.00852405, -0.0233582184, -0.0541074872, -0.0065575349, 0.0012749752, 0.0007747079, -0.0306108482, 0.0156310778, 0.0131467599, 0.0135760112, 0.0350425355, 0.0001954296, -0.0442499034, -0.0541510358, -0.0547491424, -0.0211893991, 0.0254486222, 0.0639576092, -0.0506387912, -0.0436287075, -0.0231150929, -0.0106827328, 0.0794226527, 0.0510264784, -0.0077915187, -0.0608614795, -0.0180156175, -0.0287560392, 0.0219214987, 0.0145897111, 0.0026262782, -0.0036596579, -0.0203262381, 0.0192012489, -0.0268746931, 0.0391737036, 0.0313039385, -0.0256398711, 0.0059063374, -0.0024922763, -0.0290459916, 0.0526088215, 0.0383837, 0.0055252225, 0.0311884321, 0.0348531678, 0.0045707682, -0.0178141836, 0.0414686464, -0.0192311238, -0.0160100423, 0.0497913621, -0.0481110103, -0.0122080855, -0.0032840534, -0.0270019453, -0.0174381938, -0.0519790165, 0.0001272881, 0.0417112149, -0.0608682744, 0.0077382457, -0.0165840574, -0.0328717418, -0.0194473956, 0.045346234, 0.0111521287, -0.0362146199, -0.0190176461, -0.0036292293, 0.0377356187, -0.0254921801, -0.0089105703, -0.0351378396, -0.0067333109, -0.0011497998, 0.0228495114, 0.0222552232, -0.0453260913, -0.0442327671, -0.1228458136, 0.0297831409, -0.0175380576, 0.0164126381, 0.0173309371, -0.034942437, -0.0197364315, -0.0053582797, -0.0373100862, 0.0019279103, -0.0164925326, 0.0150220599, 0.0179023948, -0.0299351998, -0.0224493984, -0.0020590264, -0.0101461438, -0.0575106591, 0.0239625238, 0.0704620853, -0.0333717428, -0.0297689792, 0.0552103259, -0.0194122568, -0.0074452986, -0.013779358, 0.0041911816, 0.0199552663, 0.0173356477, -0.0303213205, -0.0116022248, 0.0222529583, 0.0272966083, 0.0128765721, -0.0206416789, -0.0443877392, -0.0043250686, 0.0294200107, 0.0272389725, -0.0422322191, -0.0159989167, -0.0145839481, 0.0421452746, -0.0094378833, 0.009764201, -0.0290772598, 0.006449054, -0.0067946147, 0.0155550521, -0.0155044599, -0.0588617064, -0.0277621541, 0.0527220704, 0.0293185581, -0.0336355232, 0.0550144501, -0.0109641412, 0.0373622142, -0.0775845349, -0.0032263454, -0.0489761122, 0.0843722299, -0.0170113835, -0.0121754976, 0.0176298153, -0.0251057465, 0.0034679298, -0.022070894, 0.056659475, -0.0208733939, 0.0766039565, -0.0517072082, 0.0545555167, -0.015692329, -0.033220306, -0.0277290698, -0.0625115037, -0.0020362001, 0.0607056208, 0.0041905991, 0.0238738693, -0.0169300083, 0.0237087067, -0.0243105181, -0.0055338475, 0.0147519568, -0.0314725563, -0.0366629511, 0.0156927593, -0.000969581, -0.0267607532, -0.0060242848, 0.0304317363, 0.0394297205, 0.035369698, -0.0185447708, 0.0226853918, -0.0140165146, 0.0138403429, -0.0340398215, -0.0419460647, -0.0246647634, -0.0013086083, -0.0033199191, -0.0554273203, 0.0128393508, 0.0958877876, 0.0385823548, -0.0459803827, -0.0067109172, -0.0413687974, 0.0189412516, 0.0229908079, 0.021122871, -0.1113840863, 0.0297241211, -0.0071762367, -0.0402945615, -0.0594861731, -0.0436446629, -0.0078766271, -0.0664869919, 0.1062056422, 0.0157337543, -0.0033753687, 0.0023858179, 0.0068724374, 0.0007013541, 0.000867248, -0.0045424118, 0.0191958956, -0.002079959, -0.0182346627, 0.0135596814, -0.0475569591, 0.0356110334, 0.0389306322, -0.0315303318, 0.0417129882, 0.0286817122, 0.0370520055, -0.0098971417, 0.0152825797, 0.0248784553, 0.0389890969, 0.0140174618, 0.0230277516, 0.0030675575, 0.0193485767, 0.0185359381, -0.0491739623, 0.0252254046, -0.0325071029, -0.0404791236, 0.065096654, 0.0964941606, -0.0583922751, 0.0142191239, -0.0161119588, -0.0053995335, -0.001876283, 0.0532655269, 0.0100463899, 0.0044739139, -0.0392998196, -0.0370322168, -0.040062245, -0.0330115184, -0.0259071346, -0.0098042153, -0.0001716544, -0.0084237698, -0.0167351365, -0.0464022644, -0.005853402, 0.0419193357, 0.0011924712, 0.0153245786, 0.0422482677, -0.0103342906, -0.0126232617, 0.0057103527, -0.0424705744, -0.0001890227, 0.0353077352, 0.0198875275, -0.0090789516, 0.0249453448, -0.0098798191, -0.0394255258, -0.0072979769, -0.0428840481, 0.0018205921, -0.0184278656, 0.0281326044, -0.0014920818, -0.0402939171, -0.0402723216, 0.0230202209, -0.0007452549, -0.023752477, -0.007290049, 0.0484414808, -0.0005264629, -0.0044002486, 0.0034071985, 0.0197041407, 0.0093973828, -0.0074767973, 0.0557454117, -0.0462819785, -0.0101494519, 0.043010015, 0.0367598273, 0.0111694904, 0.0149399377, -0.024472557, -0.0213025454, 0.0110106636, -0.0420580767, -0.0196312163, -0.0252190884, -0.0120495623, 0.0188245196, -0.041236598, -0.0270633008, 0.0438684411, -0.0736125857, -0.0076485146, 0.0077938689, 0.0585595928, 0.0401395261, 0.0075965803, 0.0205716044, -0.0535546988, -0.0082099102, 0.0095705353, -0.0406042077, 0.0331654586, -0.0289992448, 0.0829900429, 0.0150696309, 0.0049346401, 0.0198258795, 0.0175675992, -0.0068244864, -0.043951083, 0.0076808347, 0.0836289898, 0.0271460935, 0.0111594973, 0.012949165, -0.0440179408, 0.0068612224, 0.0059693018, 0.0175593179, 0.0167600363, -0.0361839645, 0.0460048243, 0.0293911453, -0.0325890779, 0.0189503487, 0.0231797267, -0.0377998129, 0.0101717822, -0.021078581, -0.0334822983, -0.0293457899, -0.0564817227, 0.0093053794, -0.0013874853, -0.0083657727, -0.0321116596, -0.0857406557, -0.043844223, -0.0387438722, 0.0169160236, -0.0172977988, 0.0217807293, 0.0073680184, 0.0473437421, 0.0238085538, -0.0184504203, -0.058438953, 0.0194749404, -0.0503444113, -0.0044806753, -0.0321895331, -5.00830719e-33, -0.0392182171, -0.0364008956, 0.0411737077, 0.015450648, -0.0153885046, -0.0371952318, -0.0114846975, 0.0121684968, -0.0130075924, 0.0408589691, -0.0165339466, 0.0579301044, 0.0248324983, -0.0355833061, 0.0219474379, -0.0090168864, -0.0146283247, -0.0059013958, -0.0045417803, -0.0044914326, -0.024433976, -0.0290378854, 0.0130113168, -0.0952596888, 0.053674899, 0.0022157615, -0.0129002919, -0.0051118964, -0.0771461129, 0.0754246414, -0.0331101343, 0.0150714656, 0.0308630839, -0.0112875011, 0.0046605412, 0.0664282665, -0.0436237194, -0.0046763411, 0.0301445629, -0.0198973548, -0.004534544, -0.0307091642, 0.0199948251, 0.0080986172, -0.0102859084, -0.0141122378, 0.0165209733, -0.0417775065, -0.0141082937, -0.0232871976, -0.0916663781, 0.0575445704, -0.0328790285, 0.0155501151, 0.0215868577, 0.0231706295, 0.0049944012, 0.006676903, -0.0334576741, -0.0095487274, -0.0368121155, -0.0224303603, 0.045510266, -0.0924945027, -0.0061730072, 0.0464910045, -0.0199512802, 0.0230296981, -0.0430080444, -0.0015005455, 0.0007564306, 0.097387068, 0.0326312482, 0.0303513538, -0.0096210353, 0.0191022102, -0.0636286959, -0.0105246063, 0.0472782031, 0.0727595091, 0.0392075479, -0.0022836048, -0.0448199473, 0.0004994021, -0.0272358414, -0.02286743, -0.0045143277, -0.032780502, 0.02128396, -0.0259845667, 0.0430687442, -0.0133619141, -0.0035202694, -0.0359436236, 0.0137688406, 0.0168991406, 0.0017064422, 0.0058782287, -0.019330658, 0.0601901114, -0.0197282322, -0.0245601516, 0.0203684829, -0.0307907015, 0.0179168582, -0.0009505007, 0.0550971739, -0.0152501073, -0.0470591113, -0.0278748199, -0.0238906629, 0.0103297587, 0.0190043692, 0.0184155572, 0.0053900364, 0.0390849262, 0.0087893466, 0.0104663018, 0.0270780623, -0.0284433737, -0.0405643322, -0.0263437983, -0.0173518471, -0.0358127542, -0.0002882567, 0.0004507731, 0.0158269517, 0.0502543934, 0.0485825539, 0.0104159201, 0.0157234762, 0.0752235577, 2.354e-7, 0.1106995568, 0.0387700908, 0.0073170164, 0.0119565092, 0.0056738057, 0.0221107341, -0.0066199196, 0.0222163163, 0.0420493074, -0.0144401398, 0.0349270962, 0.0081610437, 0.057447508, 0.0923404172, -0.0712936893, -0.0336985886, -0.0453839004, -0.0585292727, -0.0542398281, 0.0541400649, 0.106012851, 0.0649569184, 0.0342545249, 0.0005603107, -0.0241742488, -0.0602228455, 0.0443608873, -0.0147636449, -0.0377206132, 0.0131801926, 0.065245837, -0.0513251461, 0.0066617848, 0.0600939952, 0.0246688258, 0.0426297002, -0.0420486405, 0.0707325414, -0.0253371652, 0.0337699689, -0.0132276258, -0.0716881976, 0.0239253696, -0.0473786034, 0.0619803928, -0.0284209959, -0.0181715172, -0.02794246, -0.0067496281, -0.0538448766, 0.0165852811, 0.0342574008, -0.0151503254, 0.004150359, 0.0196932722, -0.0149732269, -0.010580752, -0.0798051134, -0.0061273961, 0.0437303968, -0.0462367497, -0.003430512, 0.0063542253, 0.003885627, 0.053738188, -0.0620520413, 0.0314484462, 1.751570612e-34, 0.0191445537, 0.0169556085, 0.0109300818, 0.0825660005, 0.05811942, 0.052495122, 0.0160381366, 0.0498886667, -0.0055818711, -0.0774594545, 0.0308680031 ]
http://arxiv.org/abs/2310.14870v2
http://arxiv.org/pdf/2310.14870v2
We are Who We Cite: Bridges of Influence Between Natural Language Processing and Other Academic Fields
2023-10-23T12:42:06
2024-07-01T12:31:46
Jan Philip Wahle, Terry Ruas, Mohamed Abdalla, Bela Gipp, Saif M. Mohammad
cs.CL
cs.CL, cs.DL
Natural Language Processing (NLP) is poised to substantially influence the world. However, significant progress comes hand-in-hand with substantial risks. Addressing them requires broad engagement with various fields of study. Yet, little empirical work examines the state of such engagement (past or current). In this paper, we quantify the degree of influence between 23 fields of study and NLP (on each other). We analyzed ~77k NLP papers, ~3.1m citations from NLP papers to other papers, and ~1.8m citations from other papers to NLP papers. We show that, unlike most fields, the cross-field engagement of NLP, measured by our proposed Citation Field Diversity Index (CFDI), has declined from 0.58 in 1980 to 0.31 in 2022 (an all-time low). In addition, we find that NLP has grown more insular -- citing increasingly more NLP papers and having fewer papers that act as bridges between fields. NLP citations are dominated by computer science; Less than 8% of NLP citations are to linguistics, and less than 3% are to math and psychology. These findings underscore NLP's urgent need to reflect on its engagement with various fields.
[ 0.0506208763, 0.0437287875, -0.0245894715, -0.0232153349, -0.021349486, -0.0153689981, 0.0332286395, 0.0014677668, 0.0297683794, -0.1072984636, 0.0248906333, 0.0431667604, 0.0312051475, 0.0267683696, 0.0253495686, -0.0475490838, 0.0087536518, 0.0093535976, 0.0467452295, 0.0089437179, -0.0100433677, 0.0197526012, 0.0009829941, 0.0747073293, 0.0282266103, -0.034829136, 0.029588677, -0.0412573256, 0.027430309, -0.0374288, 0.0098626418, 0.0163500197, 0.0060439375, 0.0496459454, 0.0000016716, -0.0667195097, -0.0089303404, 0.0384687409, 0.0088726487, -0.0135870371, 0.0233285446, 0.0025027061, -0.0130736893, 0.0182859115, -0.0488333069, -0.00436344, 0.0571131222, 0.0310662575, -0.0091775237, 0.0307104569, 0.0080062812, -0.0574689992, 0.0513116419, 0.0347914696, -0.0115132732, 0.0042778691, 0.0302173458, -0.0251651853, 0.0033945907, 0.0207659993, -0.0194649957, 0.0328487083, -0.0355592743, -0.0288426336, 0.054826878, 0.074213542, -0.0285843909, 0.0236905273, 0.0104067558, 0.0020164177, 0.030602267, -0.0147311836, 0.0493249334, -0.0095380861, -0.002743016, 0.035900455, -0.036925707, 0.0419344082, -0.0124108288, -0.0171058718, 0.0390764587, 0.0106155286, 0.0198216327, 0.0584638193, 0.0096094534, 0.0417064168, -0.0156741552, -0.0428236648, 0.0578899421, 0.0311922096, 0.041202534, -0.0291925352, 0.0062328381, -0.0217327122, -0.0004873565, 0.0019034341, 0.0324311294, -0.0291510187, 0.028742915, 0.0145162996, 0.0021338863, -0.0159989577, -0.0131652309, 0.036492411, 0.0157665312, -0.0468028262, -0.0242918674, -0.0341297947, 0.0403344035, 0.0133734485, -0.0939913616, -0.0337222628, 0.0111464188, -0.0031244908, -0.0129936468, 0.0102171255, 0.0026347188, 0.0080793863, -0.0628929138, -0.0351304151, -0.0184966717, 0.033481285, -0.0034565937, 0.0620729253, -0.0029626503, 0.0595606491, -0.0257426593, 0.0526528545, -0.0137348305, -0.0414882191, 0.0393331982, 0.0014048907, 0.01720904, -0.0486139953, 0.0221950561, 0.0428076275, 0.0326598026, -0.0189987011, -0.0287695415, -0.0345549993, -0.005530132, -0.0462993309, 0.0559642315, -0.0649254769, -0.0146172177, 0.0400110893, 0.0222077221, -0.0607299134, -0.0054675271, 0.0186930019, -0.0428972542, 0.0308161732, -0.0676702335, -0.0274295453, 0.028494155, -0.0125381947, 0.0134361004, 0.0556448288, 0.0166614354, -0.0452945232, 0.0561977215, 0.0022229638, 0.0031092325, -0.0308200344, -0.043070972, -0.015937306, 0.057634104, -0.0357160792, -0.0523363575, -0.0097446283, 0.0132604856, 0.0308013931, -0.021097336, 0.0019028389, 0.0263614655, 0.0994980931, -0.0023426786, 0.0478590131, 0.0299045574, 0.0254817568, 0.0172462761, -0.0277260672, -0.0060315295, -0.0096282586, -0.0343081169, -0.0043650474, 0.0187580325, 0.0388319194, -0.0123068029, -0.0250424594, -0.0086625405, 0.0253386628, 0.0406812429, -0.0384630784, 0.0273497161, -0.0165544692, 0.0216715671, 0.0242467932, 0.001341357, -0.0168528035, -0.0022815366, 0.0327832885, -0.0124786943, 0.0039723222, 0.0228774883, -0.0142351435, 0.0487721376, -0.0626720414, -0.0254105125, 0.0505194105, -0.0167565849, 0.0140053937, 0.0058480711, 0.0179003533, -0.0056011043, -0.0025186364, 0.011384109, -0.0072853798, 0.023701733, 0.0297550745, -0.0282697435, -0.0396527164, -0.0549992248, 0.0301023256, -0.007579098, -0.0037285057, -0.0268017724, -0.0140134497, 0.0283344164, 0.0649582744, -0.0391810611, 0.0117951585, 0.0273168012, -0.0104549145, -0.0220866241, 0.023157781, 0.0534863696, 0.0607811771, 0.0341136269, -0.0994905904, -0.033050634, -0.0132230446, -0.0269475244, 0.0018354031, 0.0932150483, -0.0361250006, 0.0250256434, 0.0266964976, -0.0152481273, -0.0480002314, 0.0089798458, -0.0405223519, 0.0440226607, 0.0211236458, 0.0402254574, -0.0020774237, -0.0266994461, 0.03058156, 0.0296229888, -0.0285202973, 0.0162042584, -0.0037153941, 0.0192921292, 0.0880839601, -0.0347585119, -0.0579654202, -0.0028282949, -0.0187542494, -0.0291186459, 0.018101383, 0.0026638599, 0.0108399736, -0.0310143214, -0.0021021159, 0.0251107588, 0.0335327499, -0.053122662, 0.0044498253, 0.0107010398, 0.0422101915, 0.0112583004, 0.0445875153, -0.0280981008, -0.0070984033, -0.046545811, 0.0387401208, 0.0522891991, -0.0495809056, -0.0684625357, 0.0239509046, -0.0114295045, 0.0048732948, -0.0094347792, 0.0361027494, 0.0125105008, 0.0514332615, -0.0111335348, 0.0490368046, -0.0113683483, 0.0170614403, 0.041355446, 0.0062450115, -0.0372361839, 0.0046326909, 0.0059293676, -0.0010049953, -0.0195365455, -0.0294677522, 0.0608627163, 0.011359103, -0.0258846022, -0.0209453665, 0.0277143605, -0.0000189613, -0.0417626351, -0.0134420162, -0.0273077935, -0.0422674417, -0.0215866603, 0.0649620742, 0.0256242566, 0.0019661777, 0.0180722643, 0.0060750279, 0.0127354851, -0.0829152092, -0.0147481011, -0.0250679906, 0.0643003955, 0.0030533385, -0.00781168, 0.0865759552, -0.0355302207, -0.0286654159, 0.00239571, -0.0020454007, -0.0079472996, 0.0196872633, -0.0240083057, 0.015450228, -0.0330477692, 0.0098964786, -0.0123616969, 0.0027344462, -0.0522434525, 0.0293973088, 0.0658190772, -0.0597171709, -0.0367406793, -0.0490778275, 0.0733415857, -0.0103748087, 0.007677441, -0.0456245244, -0.0167957228, 0.0414608009, 0.033237569, 0.007853305, 0.0644785985, 0.0342124701, -0.0676165223, 0.0227414165, 0.0185331646, 0.0093937013, -0.0323759243, -0.0167076215, 0.0183028523, -0.0945313871, -0.0192989744, 0.0041680238, 0.0389873348, -0.0321432091, 0.0225927141, 0.044398725, 0.0169932675, -0.0227012932, -0.0150898965, -0.0275109801, -0.010322826, 0.0390522927, 0.0151837002, -0.0674970448, 0.0085107023, -0.0123495953, -0.0303779896, -0.0709430873, -0.0691999123, -0.0030543052, -0.1124993339, 0.0372435898, -0.0456518382, 0.0074428152, -0.0302258674, -0.0750378445, -0.0028407485, -0.0016748115, -0.0175930634, -0.04786814, -0.0510379337, 0.0211817622, 0.0416007005, -0.0640270263, -0.0393911712, 0.0123999948, -0.0548002943, 0.0401317328, 0.0048652594, 0.0793726593, -0.0637869686, -0.0142469471, -0.008668947, -0.0153215053, -0.0072234189, 0.0034615772, 0.0565853044, 0.0165258087, 0.0144963721, -0.0253505185, -0.0094559006, -0.0332767852, 0.0045215418, 0.0138046117, 0.0787689164, 0.0155939776, 0.0004101047, -0.0371881016, 0.014847598, -0.0251584947, 0.0265219063, -0.0049784589, -0.0105896899, -0.0326826833, -0.0665847212, 0.0209057722, -0.0143271014, -0.0813942552, -0.0063005742, -0.0325975642, -0.0193545185, -0.0201228969, -0.0435172692, 0.02032548, -0.0118553052, 0.0264943335, 0.0612535253, 0.0588425435, -0.0039039527, -0.0509373918, 0.0201331973, -0.0083411792, 0.0326383151, 0.0391898975, -0.0217504334, 0.0019676324, 0.0430918038, -0.031063702, 0.0302141067, 0.0183964223, -0.033612933, 0.0038815259, -0.0167117603, 0.0182035174, -0.0037268321, -0.0074760392, -0.0290733166, 0.0123364776, 0.0901887715, -0.0246434286, -0.0053712255, 0.0165997148, -0.0345844962, 0.0149949649, -0.0207152236, -0.0280794222, -0.0342254452, 0.0079991771, -0.0055538751, -0.0136277769, -0.0116925053, -0.0105763404, 0.0015579105, 0.0411698148, -0.0536034778, 0.0442558527, -0.0036931632, -0.0643735304, 0.020020213, -0.0072297282, -0.0010192003, -0.0305611026, -0.0001407224, 0.0168239325, -0.0189129412, 0.0840144157, -0.0193896815, 0.046743989, -0.0309228376, 0.0658250377, -0.0001217314, 0.0915589258, -0.0234507602, -0.0248608366, -0.0027914857, -0.0410060734, -0.0194310881, 0.038914185, 0.0275570583, 0.0069424179, -0.0002256572, -0.0212533884, 0.012480597, 0.0053358162, -0.0973350108, -0.0367404893, 0.0252602659, -0.0276591238, 0.0436105654, -0.0015442281, 0.0412472785, -0.0313023366, 0.0055412375, 0.0062760431, 0.016882224, 0.0122510502, 0.0050663622, 0.0141667286, 0.0126780327, -0.0467350259, -0.0104956878, 0.038813848, 0.045000419, -0.0013406464, 0.0233153068, -0.0320468619, 0.0279395804, -0.0400309414, -0.0450523421, 0.0555330999, 0.0193608347, 0.0226140209, -0.0461406633, -0.0312080756, 0.020837279, -0.0433504805, 0.043839965, -0.0530647412, 0.0223916303, -0.00466904, 0.0106275231, -0.0167712849, -0.0494226962, 0.0557713546, -0.0042934222, -0.0329478346, -0.0191550311, -5.859442977e-33, 0.0104545895, -0.0527904183, -0.0039999234, -0.003317998, -0.0337112211, 0.0131199546, -0.0207764283, 0.0412099957, -0.0647630244, 0.0138665931, -0.0602663346, -0.0016895564, 0.0058910791, -0.000452447, 0.0924605504, 0.0115537476, 0.0153654916, -0.0005373704, 0.0103665171, -0.0198984277, 0.0175793972, -0.0104551036, 0.093099229, -0.1549683809, 0.0724544674, 0.0244897921, 0.0051182513, -0.0479367077, 0.0784222409, 0.00343274, -0.0151559077, 0.0650511384, 0.0193422642, -0.1048977822, -0.0098415473, 0.0099816201, -0.05623357, -0.0270882118, 0.0624373741, -0.0028100291, 0.0140248211, -0.0229878724, 0.0384981036, 0.0079749674, -0.03583261, -0.0159879439, 0.0831195042, -0.0197687, 0.0142146777, -0.0407721549, -0.062404003, 0.0189406052, -0.0469387993, 0.0809072778, -0.0121840108, 0.0424596183, -0.0051823026, 0.0684473068, -0.0903996974, 0.0111368364, -0.0090262871, 0.0122602247, 0.0073683523, -0.0504955351, 0.0184999518, 0.054955326, -0.0184430331, -0.0140662342, 0.0326895975, -0.0645647198, 0.0090494221, 0.0472534373, -0.0157002416, 0.0825538933, 0.0563218668, -0.0259833261, -0.0429805368, 0.0117364358, 0.039944604, 0.0108189713, 0.0128399916, -0.0094913663, -0.0071328939, -0.0466309674, 0.0157753229, -0.0437831357, 0.0252286252, -0.0168416314, -0.0230283272, -0.0401033461, 0.0186229926, 0.0432822108, 0.0234915689, -0.0743589401, -0.0593087673, 0.0416108929, -0.005793578, 0.0526497811, 0.020325752, -0.0276378337, -0.0944702923, -0.0250364486, -0.0232199747, 0.0510331653, 0.0404582396, -0.0192859247, 0.0155066662, -0.0173466541, -0.0328811742, -0.0261827856, -0.0091669997, 0.0192436483, 0.0178996939, 0.0278087296, 0.014309912, 0.0409562662, 0.0254453197, -0.0284452382, 0.0747325271, 0.044558838, 0.0021863212, 0.0094767911, -0.0356226973, 0.0051058093, -0.0334242508, -0.0416794457, -0.0353759974, 0.0593807586, 0.0291436408, -0.0330672264, -0.0319471955, -0.0713796616, 2.541e-7, 0.0639999509, 0.0269920342, -0.0127339326, -0.0159769319, 0.0337409712, 0.0363392308, 0.0235180948, 0.0378328562, 0.0336543173, 0.0126341125, -0.0459351912, -0.0325712562, -0.0185459908, 0.0222002584, -0.0899363831, -0.0239792243, -0.0436583236, -0.0149984993, -0.0454516821, 0.0185980555, -0.0191100929, 0.0021468755, 0.010720823, 0.0166281275, -0.0565927625, -0.0265156906, -0.0019136723, -0.0241555609, 0.0677058101, 0.0127969049, -0.0010062928, 0.0202201046, 0.0423873104, 0.0165314786, -0.0128954547, 0.0170572437, -0.0081080087, -0.0367106237, -0.0136539284, 0.0141741894, 0.0292382836, -0.0374748409, 0.0115214149, -0.049985949, 0.0106554739, -0.0107052913, -0.0649299249, -0.0683152229, -0.0610791706, -0.0055657588, 0.0232150778, 0.0012738925, -0.0225544572, 0.013739381, -0.0262532849, -0.0225863531, -0.0273809601, -0.0500504225, 0.0004937825, 0.040189974, 0.0025462026, -0.0542714149, 0.0118445717, -0.0156728178, 0.0522339121, -0.0281690434, 0.0344296135, 1.946380102e-34, 0.023010103, 0.005024543, 0.0279160682, 0.0522889681, 0.0366163291, 0.0292343255, -0.0527358577, 0.0126559576, 0.0064656632, 0.0110263536, 0.0000555577 ]
http://arxiv.org/abs/2310.14868v1
http://arxiv.org/pdf/2310.14868v1
Assessing Step-by-Step Reasoning against Lexical Negation: A Case Study on Syllogism
2023-10-23T12:40:41
2023-10-23T12:40:41
Mengyu Ye, Tatsuki Kuribayashi, Jun Suzuki, Goro Kobayashi, Hiroaki Funayama
cs.CL
cs.CL
Large language models (LLMs) take advantage of step-by-step reasoning instructions, e.g., chain-of-thought (CoT) prompting. Building on this, their ability to perform CoT-style reasoning robustly is of interest from a probing perspective. In this study, we inspect the step-by-step reasoning ability of LLMs with a focus on negation, which is a core linguistic phenomenon that is difficult to process. In particular, we introduce several controlled settings (e.g., reasoning in case of fictional entities) to evaluate the logical reasoning abilities of the models. We observed that dozens of modern LLMs were not robust against lexical negation (e.g., plausible ->implausible) when performing CoT-style reasoning, and the results highlight unique limitations in each LLM family.
[ 0.046656251, 0.005928576, -0.024328012, 0.046876777, -0.0739212111, 0.0311838388, 0.043750871, -0.0146509772, 0.006474969, -0.0460722633, -0.0033751726, -0.0295535829, 0.0060724774, 0.0055445004, 0.0141843492, -0.0039411713, 0.0497231856, -0.0339294672, 0.0273292996, -0.0183387548, -0.0398886316, 0.0404078588, -0.0403235555, -0.0069649266, 0.0134611167, -0.0401096493, -0.0255188812, 0.0317635685, 0.0119247241, -0.0625184402, -0.0464241728, 0.0452225246, -0.0166906063, 0.0791541412, 0.0000021045, -0.0737121031, 0.0184234921, -0.0040987623, -0.0413929224, 0.0142968791, 0.0034794759, 0.0017508194, -0.0207512826, -0.0047431998, 0.0002124868, 0.031834729, 0.0301541071, 0.0591053255, 0.0332406014, 0.0516618714, 0.005609904, -0.035322085, -0.0109586343, -0.0200254619, 0.004345587, -0.0116402097, 0.0059704999, 0.0035440258, 0.0339927673, -0.0104580009, -0.0271971636, 0.0480764359, 0.0418982096, 0.0158993062, -0.0528377779, 0.0320179798, -0.0154015627, -0.0507830083, 0.0309878048, 0.0476509966, 0.0182217639, -0.0456875227, -0.0174767114, 0.0118983025, -0.0075630392, 0.0401675254, -0.0051618628, 0.0468708165, -0.0107995812, 0.0006480709, 0.0389511287, -0.0000150994, 0.0403443277, -0.0003378015, -0.0611825697, 0.1057098582, 0.0077145603, -0.0412927791, 0.0232998393, -0.0004803606, -0.0322131701, -0.0675706714, -0.0067860154, 0.0234116204, -0.0455560088, 0.0470951013, 0.0166077279, 0.0286056735, 0.0432593115, -0.0475550406, 0.0094849104, 0.0184506401, 0.0203446262, 0.0721653178, -0.0409844071, -0.0069275037, -0.0377884433, 0.0306355599, 0.0089271208, 0.0157445055, -0.0406332687, -0.0262879357, -0.0128233321, 0.0569627471, -0.0365993157, -0.0068517136, 0.018403722, -0.0326787271, -0.03877059, 0.0332530886, -0.0037574195, 0.020002177, 0.0314846635, -0.035576161, -0.0915183574, -0.0124121541, -0.0508617051, 0.0399946235, -0.0154546406, -0.0201927889, -0.000537488, -0.0328977145, -0.0202063676, -0.0173855182, 0.0320165157, 0.0318237357, 0.011854806, -0.0047102398, -0.0326572992, -0.0327829942, -0.0070163812, -0.1203915104, -0.0186901018, -0.0609094389, -0.0338297859, 0.0308225341, 0.0194139387, -0.0197080914, 0.0205323528, 0.0220648348, -0.0397238024, 0.090578042, -0.0107817678, -0.0101871733, -0.0285898186, 0.0251361169, 0.0134446081, 0.0410248563, 0.0319941454, 0.0141107291, 0.0121068489, 0.0426928699, -0.0141395861, -0.0002955449, 0.0100166444, -0.0002605217, -0.0576840043, 0.0200881213, -0.0494051725, 0.0172713343, -0.0137091698, 0.0581501201, -0.0122379465, -0.0348850563, 0.0386580788, 0.0170726795, 0.0124731082, 0.0232705902, 0.0718142614, -0.0526631102, 0.0130430125, -0.0010786245, -0.0731086433, 0.0266582835, -0.0455298424, -0.0018026688, -0.0336135849, -0.0140586905, -0.0119794365, -0.0371150337, -0.0261492822, 0.0188778304, 0.0203847196, 0.0022183612, 0.0574088842, 0.0197102148, -0.0397788212, 0.023682056, 0.0023269008, -0.0506430641, -0.0200066399, -0.0315846205, 0.0417688675, 0.0267925244, 0.0660398081, -0.0108770952, -0.0404856354, 0.0149262408, 0.0023759948, 0.0623962171, 0.0027865579, 0.0082283234, -0.0119772702, -0.0242154747, 0.0036668289, -0.0129531808, 0.0364943147, 0.0247560982, -0.0312000792, 0.0321817584, 0.0003609736, -0.0056547681, 0.0360041931, 0.0255926978, -0.0426753461, -0.0071980306, -0.0388076194, 0.0011976162, 0.0243138727, 0.0282086059, -0.0126946922, 0.0306176823, 0.0372864082, -0.0301507171, -0.0332005396, 0.0082861353, -0.0368466936, -0.0423441716, 0.0489037372, -0.0400108881, -0.0050236732, 0.0218779873, -0.001058884, -0.0233562104, 0.0202143583, -0.0130478088, 0.0314312354, -0.0390183739, 0.0650892481, -0.0233370475, -0.0120241996, -0.0175629687, 0.0970184803, -0.0160218086, 0.0562722273, 0.0369726866, 0.0480208583, 0.0372704826, -0.0368397087, -0.0251408089, 0.0374088958, 0.0272551812, -0.0256167594, 0.0012487172, -0.0253762268, -0.0447007008, -0.0270671789, -0.0687684417, -0.0176925063, -0.0004950138, 0.023397658, 0.0182226747, -0.0460272953, 0.0054689622, 0.0004220887, 0.0055460539, 0.0198089723, 0.0198312569, 0.0105417361, 0.0030070911, -0.0344900228, -0.0631940737, 0.0088104289, -0.0004620425, -0.0167928636, 0.0418704189, 0.0050146347, 0.0253485292, -0.0135123674, 0.0407613069, -0.1038341522, 0.0011886174, -0.0027425932, -0.0063442416, 0.0400230587, 0.0038667028, -0.0349198282, 0.0284225568, -0.0126650333, -0.0190071166, 0.0688048974, -0.0414587669, 0.0058924495, 0.0139780641, 0.0151214534, 0.0229319818, -0.0383247957, -0.0454618186, -0.0461544208, 0.071646601, 0.0015712471, -0.0016761293, -0.0487290882, 0.042917259, -0.0023966406, -0.024823403, 0.0190850012, -0.0228651501, -0.0034806838, 0.09821821, -0.0091638686, -0.0027552913, 0.0584488064, -0.0287002958, -0.0014854782, -0.0249570794, 0.0231112987, -0.0248631313, 0.0825387463, -0.0094030797, 0.0073632919, 0.0413742885, 0.0181222018, -0.0339695141, -0.0490816943, 0.0300996415, -0.0173532311, 0.032654766, -0.0328686759, 0.0061798687, 0.0010510845, 0.0062625729, -0.0428785533, 0.0032732193, -0.0724569559, -0.0044958079, -0.0273009632, -0.0031993075, -0.0220219754, -0.0023592585, 0.0053929621, 0.0143328523, 0.0334945545, -0.0211420432, -0.0227231961, -0.0001196453, 0.0409107134, 0.0016033819, 0.0705490932, -0.0159639437, 0.0495068841, 0.0684147999, 0.0143671008, 0.0238975454, -0.0111607853, 0.0055159028, -0.0213532057, -0.0095476834, -0.0229826439, 0.0081060017, -0.0178576242, -0.037570633, -0.0092174783, 0.1116151959, 0.0662373081, 0.006467842, 0.0361415558, -0.0375165977, 0.0490157232, 0.0339324549, -0.0211789291, -0.0711935237, -0.021692805, 0.0291259233, -0.0267829783, -0.0397638418, -0.0829604194, -0.0369085632, -0.0958502963, 0.0367263295, -0.0083758282, 0.0238261521, -0.0063975374, -0.0475347452, 0.0181882996, -0.0030550603, -0.0267652366, 0.0557634011, 0.0000573942, -0.0004651882, -0.0501645431, 0.0254584309, 0.0282448679, 0.0479808636, -0.0211486407, 0.0268709902, -0.0029232779, 0.0366719067, 0.0017701132, -0.0139977485, 0.0499081612, -0.0416046418, -0.0138264047, -0.0373020209, 0.016814081, 0.0153101701, 0.0202235859, -0.0455726646, -0.0058519198, -0.0291591026, -0.0436289981, 0.0194556806, 0.0974030569, -0.0293671973, -0.0507324226, -0.0419556983, 0.0478513539, -0.031992279, 0.0835562721, 0.0122278119, -0.0066033825, -0.068926543, -0.007292808, -0.0528401546, 0.0428125933, -0.044188641, -0.0033455549, 0.0303423293, -0.0065336633, -0.0631395951, -0.053158585, -0.0162321106, 0.0609053597, -0.0081656892, 0.0203800518, 0.0326103196, -0.0049567297, -0.0135563677, -0.0131536843, -0.0252208859, 0.0394210406, -0.0131155755, 0.0652855113, 0.0055659725, -0.025724804, 0.0005644271, 0.0217268262, -0.0446872227, -0.0398474224, -0.0227783192, -0.0016089636, 0.0424939021, -0.0049058204, -0.0460816808, -0.0170577224, 0.0586259253, 0.0364187472, -0.0053080572, 0.0402158052, 0.0434587859, -0.0010530488, 0.0121937152, 0.0465377197, 0.0166514218, 0.0433300994, 0.0138720525, 0.0640582219, -0.0418965779, -0.0063347495, 0.0202381313, 0.0135591906, 0.0044679591, 0.0133522451, -0.0170679688, -0.0018577636, 0.0375843868, -0.052926749, -0.039089933, -0.0099202422, 0.0199275445, 0.0130497199, -0.0104881125, -0.0318400562, -0.0643446073, -0.0497026816, 0.0442807712, 0.0251110438, -0.0078867897, 0.027060926, 0.0184620749, 0.0050697397, -0.0395305455, -0.0063622328, -0.0093526021, -0.0594784394, 0.050916519, 0.000571701, 0.0741720796, 0.0352558158, -0.0126474639, -0.0696562976, 0.0027332348, -0.0665739551, -0.0042925104, 0.0492403358, 0.0245350115, 0.0358605683, 0.0015963974, 0.0351901762, -0.0558345579, -0.0047221053, 0.013712015, -0.0019069047, 0.0492697433, -0.0181476511, 0.0139467334, 0.020030411, 0.002471772, 0.0180011764, -0.0012262503, -0.0037732332, 0.0169575699, 0.0288270768, -0.0337826572, -0.0326430127, -0.0810452551, -0.0737048388, 0.0104515003, -0.0092833107, 0.0140260309, -0.1346388459, -0.0898746699, 0.0008620754, 0.0074273944, 0.0194946509, -0.0253567975, -0.0162584819, 0.0743414834, 0.0208578054, -0.0296516363, -0.0210525244, 0.0082475487, 0.0174583439, 0.0024020665, -0.0299173594, -6.064830493e-33, -0.0192476586, -0.0232240949, 0.0235116892, -0.0049180724, -0.0074928044, -0.0159407668, -0.0599209554, 0.0244820546, -0.0137681868, 0.0514019392, -0.0080704819, 0.019079145, 0.0073953248, -0.0156407245, -0.038678173, 0.0018481222, 0.0235946607, 0.0338362046, -0.0316518769, -0.0163827688, 0.0456470326, -0.0166696347, 0.0076712393, -0.0765247047, 0.0400071405, -0.0092156967, -0.0160150919, 0.0154235978, -0.0697893575, 0.0231758859, -0.0117337173, -0.0140632195, 0.0300812777, -0.0393136777, 0.0314665474, -0.0274241101, -0.0467289016, 0.0051101968, 0.0778024048, -0.0508450232, -0.0240397118, -0.0198190343, -0.0009833445, 0.0345434025, -0.0280058198, -0.0154891629, 0.0098942416, -0.0278590675, 0.0137326401, 0.0236439072, -0.0916221514, 0.0338490419, 0.0040192474, -0.0211363845, -0.0042686383, 0.0295360051, -0.0261995252, -0.0186978616, -0.0567477681, 0.0273846574, 0.0024470747, -0.0513322689, 0.0586817935, -0.0110911727, -0.0207096916, 0.0555135198, 0.0403667763, 0.0026064904, -0.0672784448, 0.0333339572, 0.0183641184, 0.0577063672, 0.0765932202, 0.0370455235, 0.036316894, 0.0421824269, -0.0724724531, -0.046706818, 0.0045741149, 0.0600075535, 0.0839034393, -0.0306457896, -0.0342380665, -0.0079160258, -0.0497380644, -0.0227491446, -0.0384937674, -0.0139233787, 0.0120395711, -0.0092100473, -0.0407789722, -0.0058062067, 0.010354965, -0.0044841249, -0.0147303715, 0.0523623228, 0.0057171821, 0.0105928099, 0.014844154, 0.0477873422, -0.0262861755, 0.0354608297, 0.0321037844, 0.013604302, -0.0074914456, -0.0140781142, 0.0105772996, 0.0047198655, -0.0562862195, -0.0063222335, -0.0464824699, 0.0018577967, -0.0346191786, -0.012157375, 0.0510568246, -0.0078752087, -0.0036233491, -0.0269136224, 0.0142888399, -0.032005962, -0.054662969, 0.0983334333, -0.0136827091, 0.0052052387, -0.0139578301, -0.0381552316, -0.0377129577, 0.0143123586, 0.0420523733, -0.0755833834, -0.0054089525, 0.0108545097, 2.788e-7, -0.0150822485, 0.0354458131, 0.0003603098, 0.042685166, 0.0371319726, 0.0512316525, -0.0238451976, -0.0073661073, 0.0333916098, -0.0860688463, -0.0097299945, 0.0378838703, 0.0054379054, 0.0506677032, -0.0243572332, 0.0177749358, -0.0476117767, -0.0239113346, -0.055748757, 0.019135125, 0.0467700213, 0.0653049275, 0.0492467694, -0.0188667383, 0.0189769026, -0.0485074855, 0.0225585159, 0.0091555044, 0.0190444943, -0.0122750448, 0.0192858689, -0.0267530866, 0.0261939559, 0.0461150631, 0.0310629979, 0.0222779494, -0.0320203863, 0.0400178134, -0.0272255018, -0.0070023392, -0.0187574234, -0.0567017868, -0.0152776968, -0.0996701047, 0.1013623327, 0.0023458626, -0.0251534991, 0.0380980968, -0.0084911697, 0.0172941536, 0.0024759832, 0.0318426155, -0.035761673, 0.0024598704, 0.0185036398, -0.0163624231, -0.0043788585, -0.0875495747, -0.0326450095, 0.0276313275, -0.0324841887, -0.0656831637, -0.006204051, 0.0215917546, 0.031802699, -0.0830848292, -0.0094559137, 2.759269343e-34, 0.0421567187, -0.0085756658, 0.0275789984, -0.0033831291, 0.0584889427, 0.0116091762, 0.0071981181, 0.0089679556, 0.0560944565, -0.0888994634, 0.0036051429 ]
http://arxiv.org/abs/2310.14863v2
http://arxiv.org/pdf/2310.14863v2
Paraphrase Types for Generation and Detection
2023-10-23T12:32:41
2024-07-01T12:32:37
Jan Philip Wahle, Bela Gipp, Terry Ruas
cs.CL
cs.CL
Current approaches in paraphrase generation and detection heavily rely on a single general similarity score, ignoring the intricate linguistic properties of language. This paper introduces two new tasks to address this shortcoming by considering paraphrase types - specific linguistic perturbations at particular text positions. We name these tasks Paraphrase Type Generation and Paraphrase Type Detection. Our results suggest that while current techniques perform well in a binary classification scenario, i.e., paraphrased or not, the inclusion of fine-grained paraphrase types poses a significant challenge. While most approaches are good at generating and detecting general semantic similar content, they fail to understand the intrinsic linguistic variables they manipulate. Models trained in generating and identifying paraphrase types also show improvements in tasks without them. In addition, scaling these models further improves their ability to understand paraphrase types. We believe paraphrase types can unlock a new paradigm for developing paraphrase models and solving tasks in the future.
[ 0.080300048, 0.0264135469, -0.0036171356, 0.0589163862, -0.0468585677, 0.0196716134, -0.0105259577, 0.0621884689, -0.0287475642, -0.0990035906, 0.025623899, 0.0313224643, -0.0054880925, -0.0250496864, 0.0289209597, -0.0546246693, 0.0399808958, 0.0140884975, -0.0069100983, 0.0314164683, 0.0153467031, 0.0534191839, 0.0225780699, 0.0660442114, 0.0335537158, -0.0116703846, 0.0162417088, 0.0287454184, 0.0085968599, 0.0033327627, 0.0477177463, -0.0018319942, 0.0342582315, 0.0444303676, 0.0000014389, -0.0357287563, -0.0150365764, -0.0278034341, 0.0041258782, 0.0033965874, 0.0826973692, -0.0285741873, 0.0402690023, 0.0401428379, -0.0062176739, -0.0325195342, 0.0091992207, 0.0317712314, 0.0509160683, 0.0290749967, -0.0080443192, -0.0431265011, -0.0219674688, 0.0273211114, -0.0069034682, -0.0036617587, 0.0054153795, -0.0339934118, -0.0179157853, 0.0480191559, 0.0275148079, 0.0020664069, -0.0313349329, 0.0564742647, -0.000611963, 0.0068526408, -0.0286496766, -0.0111280484, -0.0024078186, 0.0367948078, -0.0487793759, -0.0735512748, 0.0425489284, -0.0149369519, 0.0122971423, 0.0368371382, -0.0196295362, 0.013065286, -0.0372836031, 0.0239274371, 0.0190021154, 0.034757074, -0.0266178697, 0.044296179, -0.0093047591, -0.0030569155, 0.0206684992, -0.0182033982, -0.0244069733, 0.0010570018, -0.0435501263, -0.0173740685, -0.0138973584, 0.0188739747, 0.0130859483, -0.0048895315, -0.0734723806, -0.0509398989, 0.0819479525, -0.0681355819, 0.0552750826, -0.0062456313, 0.0084887967, 0.0149586005, -0.0507560149, 0.0361299552, -0.0248589348, 0.0528934039, -0.0323936306, -0.0180660971, -0.0431644954, -0.003001749, -0.0665562302, 0.0578406639, 0.018380899, -0.05465471, -0.0427426994, 0.0202710014, 0.056283582, 0.0296708439, 0.0089642806, 0.0597111322, -0.0271765012, 0.013036469, 0.0182746612, -0.0271157287, -0.0344243124, 0.0526764467, -0.0205539949, -0.0299039651, -0.006902298, 0.0587039627, 0.0475779697, -0.0448254459, 0.0145660527, 0.0258377232, -0.0049139098, -0.0345393158, -0.0625074506, -0.0638817325, -0.0389080383, -0.0525424667, -0.0138636651, -0.0587033257, 0.000524351, 0.0179316849, -0.0080739614, -0.0027640967, 0.0233479477, 0.0241184719, -0.0502755046, 0.0428812169, 0.0123999771, -0.0372738913, -0.0029563915, -0.0164081268, -0.0177458376, -0.0008905097, 0.0165260229, 0.0304958876, 0.0649414286, 0.0164648723, -0.0060938764, -0.0121584227, 0.0210601836, 0.0105019854, -0.019453207, 0.0188890714, -0.0004818817, 0.0172904115, -0.0021697702, 0.0412696414, -0.029396411, -0.0537282005, 0.0582898185, 0.0605039597, -0.0282657985, 0.0594568327, 0.0822319537, 0.0609225184, -0.0083640385, 0.0477778465, -0.003992198, -0.022535786, -0.0079916706, 0.0431856439, -0.0011102062, 0.0453292429, -0.0300797373, -0.0231964216, -0.0576086454, -0.0126054808, -0.015860416, -0.0474044234, -0.0314596072, 0.043332845, -0.0388785973, 0.0678793639, -0.0466156602, -0.0598709881, -0.0332689062, -0.0427991115, -0.0012080435, 0.0554279014, 0.0434912965, -0.0076881698, -0.0023147999, -0.0246869884, 0.0168028958, 0.0396020748, 0.0309310444, -0.0052798302, 0.0145737575, -0.037410453, 0.0114536872, -0.0406490192, 0.0424239524, -0.0252244938, 0.0107829859, -0.0075395857, 0.0304255262, -0.0309785027, -0.0622585341, 0.0454156846, 0.036230728, -0.0264528189, 0.0099227279, -0.0005790039, 0.0147373956, -0.0046026991, 0.0093248114, 0.0312990807, -0.0085708499, -0.0672323406, -0.0378486365, 0.0731734559, 0.0223862175, -0.0478522331, -0.0030325938, -0.0305930767, 0.0154054025, 0.0237146635, -0.0334460437, -0.0128968544, 0.0348445475, -0.0659786761, 0.0501702316, -0.0763533786, 0.0271508601, -0.0485972427, 0.0149076898, -0.0275910348, 0.0739893615, 0.0058529098, 0.0111720199, -0.0152721079, -0.0323818587, 0.0672219396, 0.004982057, -0.0051226332, -0.0305890292, 0.0151396412, 0.0005430122, 0.0163024273, 0.0033415554, -0.0441830344, -0.036500033, -0.0931147039, 0.0031482151, -0.0200317465, 0.0001195971, 0.0495396778, -0.0039696824, 0.0095034977, -0.0148880389, -0.0004182295, 0.0135424687, 0.0282159224, 0.0283794831, 0.0801685527, 0.0059962384, -0.0028711285, -0.0713109821, 0.030294342, -0.0393286981, 0.0719101131, 0.0280011073, 0.0149006136, -0.0609719232, 0.0226480942, -0.0249474291, -0.0059543718, 0.0426068194, -0.0341157913, 0.0007151507, -0.0089306142, 0.0177397318, 0.0452157669, 0.0431245267, -0.0046045398, 0.0237429999, 0.0374642424, -0.0768145546, -0.0157535207, -0.0126532158, -0.0304352399, 0.0075183427, -0.0467144102, 0.0377474315, 0.0508339107, 0.0486359969, -0.0154457493, -0.0714696497, 0.0627331138, 0.030688215, 0.0295463763, -0.011649482, -0.0018957368, -0.0146874562, -0.0188126899, -0.0188280884, -0.0260269493, 0.0582769364, -0.0384277403, 0.0247372631, -0.0673544183, -0.0512815379, -0.0450790599, 0.0340199172, -0.0168126356, 0.0515937358, 0.0042930562, -0.0014242324, -0.0419794805, -0.0065452545, 0.0411184765, -0.009525137, 0.0452050529, -0.0301986225, 0.0138185294, -0.0024188526, -0.0540037751, -0.0440425463, -0.0798192099, -0.0070936773, -0.0097755659, -0.0167865586, -0.0193445329, -0.006393346, -0.0157333594, -0.026230095, 0.0397042222, -0.0275000725, -0.0123465629, -0.0612892658, 0.0694090724, 0.0835328475, 0.028503783, -0.0097117675, -0.0071911332, 0.0066094836, 0.0170201305, 0.0162911527, 0.0522116758, -0.0444125682, -0.0362367518, -0.002737744, -0.0367771573, -0.0268179663, -0.0130609805, -0.0062133507, -0.0201635584, -0.0228968244, 0.089289166, 0.0411666818, -0.0177445691, 0.0003227967, -0.0195090938, 0.0574051924, 0.0153597705, 0.0041501275, -0.0281984527, -0.0442747623, -0.0484824292, -0.0212996732, -0.0318217836, 0.0045055351, -0.023871582, -0.0391503125, 0.0189616121, -0.0070729931, -0.0226264633, -0.0366366059, 0.0214861948, -0.0273599699, 0.0184784848, -0.02043253, -0.0222031251, -0.0615921281, 0.0205927193, -0.0091960235, -0.0055777105, -0.0188121833, -0.0114547368, -0.077917777, -0.0275718439, 0.0191310886, 0.0581127554, 0.0179361906, 0.0040000053, -0.0081413249, -0.0669602454, -0.0119319083, 0.019367829, 0.0456757173, -0.0143238576, 0.0254369322, 0.0143353045, 0.0269624423, -0.0344487093, 0.0154619869, 0.0162463859, 0.0295268949, -0.0131266844, -0.0449647494, -0.0481293611, 0.0512791127, -0.0046300613, 0.1064511985, 0.040733207, -0.0050725588, -0.066405721, 0.0181904901, 0.0331751443, -0.0889717489, -0.0350423194, -0.0055791731, 0.0045422269, 0.0533450581, -0.1083609238, -0.0192476436, -0.0389198996, -0.019304717, -0.0096063334, 0.0495103411, -0.0270612817, -0.017928239, -0.0670286715, -0.0258100517, 0.0083557013, -0.0070209159, 0.0273880381, -0.0143385343, 0.0750954077, -0.0064073023, -0.031963557, 0.0340898484, -0.1323385388, -0.0295413248, -0.0288731568, 0.0168094821, 0.0132584199, 0.0163944475, 0.0108082397, 0.0022443517, 0.0395422913, 0.0210211147, -0.0164641012, 0.0333786011, 0.0086985566, 0.0359191895, -0.0091399504, 0.0573111475, -0.0164049268, -0.0268655345, -0.0007360682, 0.0159039032, -0.0481071249, -0.0289805681, 0.0539961904, -0.0154492781, -0.0054045091, 0.0007885164, 0.0175889768, -0.0071662394, 0.0242987368, 0.0210973993, -0.0193450172, -0.0384506881, 0.0167688914, 0.0247160345, 0.0191230867, -0.0274441522, 0.0165744871, -0.0459172688, 0.0890576914, -0.0152053051, -0.0183344204, -0.0297994744, 0.0346859992, -0.0525332242, -0.029365439, -0.0524898767, 0.0532365032, -0.0416697636, 0.0057578301, -0.0007889916, 0.0434059352, 0.0101111857, -0.0477784052, -0.0798156559, 0.0465662442, -0.0471386313, -0.0477262177, -0.0273197051, 0.025921084, 0.0297015868, -0.0143156145, 0.0399545096, -0.0341570303, -0.0325659178, 0.0109625496, 0.0461217277, -0.0251174495, 0.0055498388, 0.0159982108, 0.0062028458, -0.0303188711, -0.0027478007, 0.0565034114, 0.0607682392, 0.035573788, -0.0016163539, -0.0299629066, -0.0248329584, -0.0386764221, 0.0358659551, 0.0284161288, 0.029062666, 0.0428244658, -0.0720739812, -0.0211038515, 0.0310246777, 0.0048230523, 0.0218461752, -0.0095101362, 0.0395177044, 0.0434703417, -0.0160720889, -0.0540635586, -0.0697632357, 0.0296940953, 0.0000728204, -0.0072888471, -0.0816534609, -5.484479748e-33, 0.0022458558, -0.011740935, -0.0122507252, 0.0047871326, 0.0217929929, -0.0260817204, 0.0069671418, -0.046161186, -0.0068379426, -0.0041450146, 0.0219216645, 0.0224989727, 0.0081479922, 0.0287479665, 0.0304663926, -0.0375167616, 0.0692023188, -0.0147041157, -0.0312926248, 0.0043290672, 0.0538548045, -0.0197811741, 0.0131783225, -0.0583950356, -0.0242273044, -0.0475427508, -0.0081531079, -0.0161400624, 0.0061525591, 0.0716109872, 0.0005451243, 0.042501796, 0.0278481673, 0.0236904994, 0.0056674392, 0.0126926759, -0.0348764807, 0.0016046097, 0.0009575748, -0.0200645328, -0.0530616716, -0.0770124868, 0.0373365283, -0.0501319431, -0.0033074277, 0.0073534586, 0.0552592427, -0.0199096277, 0.0345413759, -0.0071884566, -0.0614629239, -0.006617466, 0.0196980182, 0.0474764444, -0.0328884423, 0.0785256624, -0.0151426401, 0.0820477456, -0.0253220238, 0.0253749415, -0.0113666989, 0.0187797714, -0.0311244447, -0.0205991045, -0.006190992, 0.034109775, -0.0289813895, -0.0411526486, -0.0019030042, 0.0435264222, -0.0365131348, 0.0438581258, 0.0351584554, 0.0824062228, 0.0417197533, 0.0273160469, -0.0045960797, 0.0128367916, 0.0416244082, -0.0097278999, 0.0302026402, -0.0365340039, -0.0175886936, 0.0212016255, -0.0346333347, -0.018095687, -0.0321132615, -0.0327285379, 0.0466406867, 0.0303997137, -0.0202928763, -0.0062583331, 0.0289932005, -0.0133165652, -0.0135218864, 0.0070650936, -0.0267731864, 0.0105109857, 0.02243286, 0.0123787476, -0.0182753187, -0.0585850552, 0.0322947241, -0.0032836264, 0.0330637135, 0.0134948632, 0.0378615856, 0.0061083729, -0.0511822812, 0.0189495478, -0.0130230701, -0.0363833979, -0.0782941207, -0.0327422135, -0.0088904155, 0.0281671342, 0.0123083703, 0.0017642183, 0.0053440337, -0.0228826087, -0.000154889, -0.0128692919, 0.0107342666, 0.0444521345, 0.0119640939, -0.0107490383, -0.0155439144, -0.0043284376, -0.0201363824, -0.0582619607, 0.0293322094, 0.000114498, 2.206e-7, 0.0219120365, 0.0327836089, 0.0153892403, -0.0140842777, 0.0059274817, 0.0277120098, 0.0574770533, 0.055927664, -0.0378706381, 0.0035414041, 0.0261238832, 0.0168387797, 0.0103347935, -0.0160226431, -0.1118939966, 0.0110329408, -0.086864613, -0.0000898783, -0.0675145164, -0.0417388491, 0.087023899, 0.0934995264, 0.0033341397, -0.0106672468, 0.0158755071, -0.0503370613, 0.0801874474, -0.0117584849, -0.0120179746, 0.0252216235, 0.0084714908, 0.022716077, 0.0035684279, 0.0165961646, 0.0376531668, 0.0198829509, 0.0430589542, 0.0406152382, 0.0260728169, -0.0126531469, -0.043923296, -0.0413522832, 0.0069174529, -0.085850358, 0.031222254, -0.0440143459, 0.0389702059, -0.0094541376, 0.0092012305, 0.0512132123, 0.0243618973, -0.0414105207, -0.0415638871, 0.0214567911, 0.0279233977, -0.0037496157, -0.0071430989, -0.0512637645, -0.0013959124, 0.0199134219, -0.0336676762, 0.0013604517, -0.0267027803, 0.0239100251, 0.0433629639, -0.0755264983, 0.0031569963, 1.97119038e-34, 0.0269628689, -0.0016649738, 0.0117886625, 0.0190953612, 0.0219882298, -0.0090690795, -0.0136616649, 0.0124332262, 0.0098375883, -0.0044329707, 0.0145583292 ]
http://arxiv.org/abs/2310.14859v3
http://arxiv.org/pdf/2310.14859v3
3M-TRANSFORMER: A Multi-Stage Multi-Stream Multimodal Transformer for Embodied Turn-Taking Prediction
2023-10-23T12:29:10
2023-12-21T18:19:58
Mehdi Fatan, Emanuele Mincato, Dimitra Pintzou, Mariella Dimiccoli
cs.CV
cs.CV, cs.CL
Predicting turn-taking in multiparty conversations has many practical applications in human-computer/robot interaction. However, the complexity of human communication makes it a challenging task. Recent advances have shown that synchronous multi-perspective egocentric data can significantly improve turn-taking prediction compared to asynchronous, single-perspective transcriptions. Building on this research, we propose a new multimodal transformer-based architecture for predicting turn-taking in embodied, synchronized multi-perspective data. Our experimental results on the recently introduced EgoCom dataset show a substantial performance improvement of up to 14.01% on average compared to existing baselines and alternative transformer-based approaches. The source code, and the pre-trained models of our 3M-Transformer will be available upon acceptance.
[ 0.0234157685, 0.0380405746, -0.0108021675, 0.0080929594, -0.0154681522, 0.0079703806, -0.0014542168, -0.0094192019, -0.0350786, -0.0358810425, -0.0745244771, -0.0727380812, 0.0375589095, 0.0257836506, 0.0559628159, -0.0479062311, 0.0434379652, -0.0080855228, -0.0391601548, -0.0025132138, 0.01085841, 0.0056636343, -0.060337007, 0.055903282, -0.0439095981, 0.033010941, -0.0481949635, 0.0065553226, 0.0066214725, -0.0423801541, -0.0166473575, 0.0388249457, 0.061828889, 0.0403804407, 0.0000018222, 0.0087646302, 0.0369909815, -0.0560355522, 0.0039032525, -0.0690396577, 0.0299143717, -0.0282275956, 0.011682597, 0.0134780379, -0.0577748604, -0.0488595366, 0.0275694598, 0.1042599678, 0.0505280383, 0.0368675068, -0.0202835239, 0.0023448588, 0.0121571701, -0.0323371217, -0.0209096204, 0.0039956402, 0.0255690478, -0.0346642546, -0.0223435294, -0.000335235, -0.0633401871, 0.0132060321, 0.0161669105, -0.0164200086, -0.015107342, 0.0690471902, -0.0124042919, -0.0365468971, -0.0257652029, 0.079099372, 0.0090636425, 0.0198347159, 0.0073515852, -0.0022805652, 0.0110068237, -0.0465275124, 0.0120124072, -0.004914498, -0.0065590302, 0.0061000907, -0.088395834, 0.05146119, -0.0383365117, -0.0334282927, -0.0191214066, 0.0560121387, -0.0162245575, -0.0197228268, 0.0438541844, 0.0061025852, 0.0490230136, -0.0184904654, 0.0155379083, -0.0206883661, -0.0253711101, -0.0121103218, -0.038467817, 0.0488086417, -0.024772061, 0.0022905334, 0.0190521777, 0.0352136008, -0.0085206367, -0.0078858268, 0.021882968, 0.0302386377, -0.0457732454, -0.0066485107, -0.0028599643, 0.0000915347, -0.0304352194, 0.0040144962, -0.0162313115, -0.0253353212, -0.010247332, -0.0658764616, -0.0241528023, 0.0502491109, -0.0001367862, -0.016237732, 0.0234696101, 0.0460408106, -0.0095679872, 0.0245819632, 0.0016367598, 0.0593402125, 0.0226394385, 0.0442935564, -0.010775351, -0.0898424387, -0.0176107958, 0.0500670336, -0.0031595933, -0.0147431754, -0.0176654328, 0.0554119162, -0.0104178078, -0.0513232574, 0.0503305458, 0.0409857705, -0.0339665562, -0.0216482077, 0.0575765707, -0.0219912007, 0.0452814139, -0.0098866839, 0.0104089379, 0.0188231263, 0.0059724329, -0.027165249, 0.028035406, 0.0591604449, 0.0512325168, 0.0237885509, 0.0244381744, -0.0199521221, 0.0007564684, 0.0425745323, 0.0516840816, -0.0058355741, 0.0032031119, -0.017662175, 0.0169603229, 0.0756239742, -0.0240767822, -0.0248515829, 0.0501620919, -0.0086723352, -0.007453525, 0.0543778874, 0.0450915843, 0.0295699779, -0.0279867779, -0.0508803092, 0.0690196306, -0.0136101767, -0.0342178307, -0.0260974392, 0.0317514539, 0.0088888016, -0.0117126713, -0.0055454145, -0.0583929718, 0.0835687071, 0.0476748273, -0.0287961811, 0.0196727626, 0.0211041048, -0.0383460671, -0.0059088361, 0.0256920941, 0.0176635124, -0.0084776739, -0.0272241309, 0.0121879047, 0.000277541, -0.0390495397, 0.0134792011, -0.0224552229, -0.0302888323, -0.0067308573, 0.0106869554, -0.0308195688, 0.0133473286, -0.016037086, 0.0037002934, -0.0329436958, -0.0360913649, 0.0014618097, 0.0479346029, -0.0088476008, -0.0081387945, 0.0601707175, -0.0184178296, -0.0500179119, 0.0423474498, -0.0098176254, 0.0161843728, -0.0085868053, 0.0010152364, -0.0158328284, 0.0651053786, 0.0573165976, 0.0390479006, -0.0231516548, 0.0214128532, -0.0247698706, 0.0158266239, 0.0563450828, -0.0248982031, -0.0201274697, -0.0112442775, 0.0298461523, -0.0176811926, -0.0174587928, 0.0902946815, -0.0411633812, -0.0537202023, 0.0213948917, -0.0662477687, -0.0376740545, 0.0384648629, -0.0113338027, -0.0471898466, 0.0015776997, -0.0669070259, 0.0180945974, 0.0025861734, 0.0253542326, 0.0771318525, 0.0328939594, 0.0032149407, -0.0477799438, -0.0488171391, 0.0102099925, 0.0117036924, -0.0497226827, 0.0112225637, -0.046981968, -0.0140468152, 0.0248904284, 0.0071193785, -0.0428532101, 0.0147097129, -0.0180146564, -0.024200866, -0.0361456014, -0.0791516975, -0.0532760136, -0.0101846168, -0.0025172194, -0.0115356203, -0.0242427923, 0.0002163663, -0.0163276028, -0.0366819352, 0.0200603064, 0.0355228744, 0.0139081227, -0.0189970154, -0.0012077652, -0.0228772704, -0.0072513926, 0.010135578, -0.0060739019, 0.0371635072, -0.0005173487, -0.0286394209, -0.0354395546, -0.066819191, -0.0100067016, 0.0624254905, -0.0577538237, 0.0038325891, 0.0256438665, -0.0272636358, 0.0488084145, 0.0047497917, 0.046689406, 0.0159135982, 0.0303029232, -0.0564932711, -0.0320688635, 0.0025959013, -0.0321371593, 0.0300926194, -0.0377103724, -0.0199669637, -0.0073876628, 0.0282332115, 0.0149382185, 0.0295711011, -0.0693309009, -0.0632687211, 0.0242459606, -0.0810928345, 0.0241975486, 0.0147734378, -0.0477918051, -0.0156698078, -0.0143511239, -0.0188415926, 0.0346897393, -0.0400705524, -0.0669921488, 0.0640920848, 0.0431123339, 0.0076728663, 0.0590367429, 0.0269516911, -0.0067518232, -0.017386863, -0.0100285197, -0.055773396, 0.0550633334, -0.0033866006, 0.0030715521, 0.013012886, -0.0108417319, -0.0156339779, -0.0067099854, -0.0182893723, 0.0028368908, -0.0147614935, -0.0216397792, -0.0115130451, 0.0169089325, -0.0343300961, -0.031815581, 0.0155522907, 0.007786951, 0.021318512, -0.0176782068, -0.0170075856, -0.0069433716, -0.0313535184, 0.0526277646, 0.0607444197, 0.010244309, -0.0535552017, 0.0143602528, 0.0620090105, 0.0620882995, -0.0236923508, -0.057156872, 0.0018143147, 0.0475427397, 0.0201454535, -0.0190513693, 0.0110744853, -0.0064523048, 0.00315379, 0.0048144748, 0.0803954825, 0.0007472229, -0.0723001957, 0.0006011605, 0.0098279864, 0.0025430135, 0.0301823542, -0.005824619, -0.0245125368, -0.0364396907, -0.0179690886, 0.0066898498, 0.0389657728, -0.0207423698, 0.0016130479, -0.0779845193, 0.0380589142, -0.0132171782, -0.0553132482, -0.0543650351, 0.0008651352, 0.0365006328, -0.0315416455, -0.0326448195, 0.0220992398, -0.0067976145, -0.0335368998, 0.0210210662, -0.0366047621, 0.0001435308, 0.0137211485, -0.0066732201, 0.0244367104, 0.0197394788, 0.0481989942, -0.0080996361, -0.0518100895, -0.0373526476, -0.0141262189, 0.0224276856, -0.0235894602, 0.0677741468, -0.0658921897, -0.0101084085, 0.0110602332, 0.0356562845, 0.0064118886, 0.0046283887, -0.0190083385, 0.0297304634, -0.1186107099, 0.0085573839, -0.0073625045, 0.0443346463, 0.0193794984, 0.0420378409, -0.0057012606, -0.0453689955, -0.0070613013, 0.0258801412, -0.0059577194, 0.0086264601, -0.0601079091, -0.0288019273, 0.0227717273, -0.0737117231, -0.0388464667, -0.0188876167, 0.0480052307, 0.0373169966, 0.003126319, -0.0538144484, 0.0406499319, 0.0081316829, -0.0493745059, 0.0003150721, 0.0217276271, 0.0546491966, -0.0427502766, -0.0027736423, 0.0560746454, -0.0288129915, 0.0239355769, 0.0371749327, -0.0539015159, -0.0403790176, 0.0261488669, 0.0484204814, 0.012946534, 0.0650568902, 0.0197023209, -0.0143383406, -0.0020091794, 0.0024828559, -0.0053844689, 0.0591101944, 0.0445541106, 0.0384737179, -0.0286615789, 0.0333622918, -0.0158302784, 0.0213217139, -0.0160741284, -0.0041747792, -0.0614029653, -0.1009472311, -0.0122863157, -0.0277969576, 0.116578877, -0.0209012106, 0.0595069565, -0.0121500185, 0.014940124, -0.009214785, 0.0237854756, -0.0662009567, -0.0061654439, 0.0070988624, 0.0269735269, -0.0273638368, 0.0277093146, -0.0330960639, -0.0461429022, -0.0326774456, 0.0029622475, -0.0011854088, -0.0166139901, -0.0199038144, 0.0271147769, 0.0131941298, -0.0013606142, 0.0186014604, -0.0090974178, 0.0408451036, 0.0901621878, 0.0494784117, -0.0031545525, 0.0028020113, 0.0525561497, -0.0573764034, 0.0232813917, -0.0026615211, 0.0126791745, 0.008120914, -0.0029210211, 0.0165971369, -0.0131772514, 0.0370809101, -0.0071310918, 0.0768998414, -0.0284373369, -0.0380692147, 0.0801522508, -0.0143997334, -0.0176835153, 0.0117860492, 0.0408302024, -0.0415543802, 0.037288513, -0.0079088984, 0.0220870972, -0.0729075298, -0.0391760208, 0.0114493081, -0.0256958567, -0.0041936198, 0.0186065231, -0.0261334181, -0.0239993241, -0.0122858863, 0.0235014204, 0.0097183837, -0.0370719656, 0.0636080131, -0.0046106838, 0.0326467566, -0.049546808, -0.0509328619, -0.0430211648, 0.0073560611, 0.0000376749, -0.0448030867, -5.395938207e-33, -0.0431335941, -0.0009891792, 0.0175021403, 0.0624541715, -0.0836384371, -0.0275855269, -0.0319267139, 0.0254357271, -0.0000583187, 0.00606512, 0.0044463696, 0.0151445493, 0.012037755, -0.0155666284, 0.0352442376, 0.0206781533, 0.0154496636, -0.0424029529, -0.0253330301, 0.0157548748, 0.0512859896, 0.0110554295, 0.0664109811, -0.0777823254, -0.0219791904, 0.0138240904, -0.0440962203, 0.0355526917, -0.0417390838, 0.0028843384, 0.0013174718, -0.0259018149, 0.0008925768, -0.0805121362, -0.0100385351, 0.020928951, -0.0219543502, -0.0045059882, -0.0284202062, 0.0717305094, -0.0509458929, 0.0474474691, 0.0169132408, -0.0197635982, -0.0219082274, 0.0016778718, 0.0193671193, 0.0023007891, -0.0060854056, -0.0313681327, 0.0098069115, -0.0006488059, -0.0284092128, -0.0535737686, 0.0633316562, 0.0952657163, 0.0007753622, -0.0137845436, -0.0487280525, 0.0358581245, -0.1017485857, 0.0002621688, 0.0426075608, 0.0361859538, 0.0461204126, 0.0489426441, 0.0287112724, -0.0345580839, -0.0309749674, -0.0148105603, 0.0121501619, 0.0984565094, 0.005329526, 0.0350926146, -0.0363067016, -0.0084403828, 0.0320818312, 0.0631628782, 0.0236908384, 0.0343914106, -0.0075169974, -0.0077982387, -0.0148997074, 0.0018850161, 0.0026813147, -0.0301638674, 0.0244322568, 0.0176704023, -0.0136730978, 0.0200166404, 0.0378942564, 0.0192961339, 0.1096587777, -0.0191954188, 0.0089243734, -0.0092704166, -0.0258640014, 0.049541831, 0.0002694189, -0.013866161, -0.0610616393, -0.0169057492, 0.0571836606, -0.015606368, 0.0271246973, -0.0011042228, -0.0114118597, 0.0659253001, -0.0504520386, -0.0409899056, -0.0049746088, 0.0403691269, 0.0055301175, -0.0152525678, 0.0595017672, 0.0038428344, -0.0588393547, 0.0046508261, -0.0392606147, 0.0050679096, -0.0320735201, -0.0096996622, 0.0367800295, 0.0431324206, -0.0242313631, 0.001907985, -0.0324144475, -0.0343451314, 0.0178621337, -0.0434293561, -0.0178434085, 0.0597447529, 2.671e-7, -0.0104179559, 0.0458339602, 0.0323756896, -0.0082744332, 0.052315589, 0.0493730009, -0.0318691693, 0.057527829, 0.0033783943, -0.0094832797, 0.05567839, 0.0216792785, 0.0654977113, -0.0050001196, -0.0548733622, -0.0469676442, -0.0473165214, -0.0109287817, 0.012438938, 0.0067252256, 0.0626661554, 0.0648553595, -0.0072066705, 0.0053084269, 0.0266320799, 0.0752861649, 0.053340245, -0.0223630704, 0.0469340384, -0.0331424661, 0.060475979, -0.064411819, -0.0302139446, 0.0502133109, -0.012789581, 0.0131857106, -0.0255804062, 0.0194362085, -0.0272792056, -0.0436044633, 0.031933289, 0.0632750392, -0.028914474, -0.0084169647, 0.0295580775, -0.0741482452, -0.0226212237, -0.0310372245, -0.0510762446, 0.0295351222, 0.0189603753, 0.0338261835, 0.0194373, 0.0239600483, -0.0051751444, -0.0244873241, -0.0098249307, -0.0686105043, 0.0064721778, -0.0443790592, -0.0831590146, -0.0085489824, 0.0159851052, -0.0352910943, 0.0064545609, -0.0009538624, -0.0711981207, 1.494053894e-34, -0.0018071248, 0.0014198922, 0.0140498709, -0.0004697045, -0.0060509448, -0.0329471566, 0.0277711321, 0.0183052421, 0.0018407386, -0.0511180162, -0.0358175822 ]
http://arxiv.org/abs/2310.14855v2
http://arxiv.org/pdf/2310.14855v2
Contextual Refinement of Translations: Large Language Models for Sentence and Document-Level Post-Editing
2023-10-23T12:22:15
2024-03-18T20:11:03
Sai Koneru, Miriam Exel, Matthias Huck, Jan Niehues
cs.CL
cs.CL, cs.AI
Large Language Models (LLM's) have demonstrated considerable success in various Natural Language Processing tasks, but they have yet to attain state-of-the-art performance in Neural Machine Translation (NMT). Nevertheless, their significant performance in tasks demanding a broad understanding and contextual processing shows their potential for translation. To exploit these abilities, we investigate using LLM's for MT and explore recent parameter-efficient fine-tuning techniques. Surprisingly, our initial experiments find that fine-tuning for translation purposes even led to performance degradation. To overcome this, we propose an alternative approach: adapting LLM's as Automatic Post-Editors (APE) rather than direct translators. Building on the LLM's exceptional ability to process and generate lengthy sequences, we also propose extending our approach to document-level translation. We show that leveraging Low-Rank-Adapter fine-tuning for APE can yield significant improvements across both sentence and document-level metrics while generalizing to out-of-domain data. Most notably, we achieve a state-of-the-art accuracy rate of 89\% on the ContraPro test set, which specifically assesses the model's ability to resolve pronoun ambiguities when translating from English to German. Lastly, we investigate a practical scenario involving manual post-editing for document-level translation, where reference context is made available. Here, we demonstrate that leveraging human corrections can significantly reduce the number of edits required for subsequent translations (Interactive Demo for integrating manual feedback can be found here: https://huggingface.co/spaces/skoneru/contextual_refinement_ende).
[ 0.0644953698, 0.048663877, 0.0104354378, 0.0420150608, -0.0100288279, 0.0025141812, 0.02565502, -0.0392870232, -0.0250344072, -0.0531901009, -0.0313348398, -0.0415540151, 0.0116357673, -0.0159396064, 0.0286401007, -0.0433297679, 0.0387528837, 0.0013711386, -0.0182338916, 0.0149825336, -0.0196328405, 0.013834889, 0.0423825607, 0.0489035361, 0.0102353133, -0.0236283448, 0.0059240577, 0.0642879978, 0.0275371596, 0.013206644, 0.0198594406, 0.0438889116, 0.0045713307, 0.073565647, 0.0000021964, -0.0306142662, -0.0468863472, 0.0113427946, 0.0021250197, 0.0410421714, 0.0378083661, -0.0445944928, -0.0489303693, -0.0014155011, -0.0124012111, 0.0168887377, 0.040203467, 0.0384966619, 0.0690162554, 0.1162289307, -0.007391464, -0.0308045596, 0.0262377448, -0.0707392767, -0.011658066, -0.0719343275, -0.0031185618, -0.0352388583, -0.0386197679, 0.029792279, -0.005973334, 0.0577699915, 0.0389532708, -0.0272718556, -0.0025771635, -0.0189681128, -0.029177215, -0.0347265229, -0.0256566778, 0.0852391124, -0.0396213979, -0.002271506, -0.0099966461, -0.000398271, 0.021975819, -0.0433252677, -0.0077731968, 0.0348624028, 0.0061154678, -0.0009619218, 0.0153741715, -0.0106986845, 0.0409767143, 0.021246478, -0.040321406, 0.0235808138, 0.0335326269, -0.0265352689, -0.0034952641, 0.0113537936, -0.0632013232, -0.0428990312, 0.0389498733, 0.0005334779, -0.0340967663, 0.0150921354, -0.0714872628, -0.0672301427, -0.0066037416, -0.0308936909, 0.0576482937, 0.0622442886, -0.0016562172, 0.0572871305, -0.0213884227, 0.0749416202, -0.0317165777, -0.0179759357, -0.0700451434, -0.0178318359, -0.0197026469, 0.0302955527, -0.050854478, -0.001571599, -0.0850376859, -0.0032434606, -0.0330969058, 0.0375332981, 0.0212894548, 0.0238788873, -0.0043915147, -0.0107171983, -0.0546623468, -0.0288126208, 0.0065205228, 0.0665614754, 0.0009645521, -0.0155879026, -0.0031481315, -0.0375377238, -0.0039372249, 0.0032948677, 0.0012995846, -0.0592776537, -0.0027590455, 0.0497062318, -0.0272119176, -0.0345330015, -0.0068333228, -0.0198876858, -0.02784965, -0.0577182472, -0.0217671134, -0.0344468914, 0.0516687371, 0.0007752485, 0.0105226124, -0.0797356293, 0.0216300506, 0.0043590362, -0.0324649774, 0.0560652129, 0.0111443885, 0.0067895241, 0.0115359044, 0.0103001241, 0.0170186218, 0.0263083689, 0.0636901557, 0.0257792063, 0.0357698314, 0.0012853644, -0.0200598184, 0.0662099123, -0.0053401398, 0.0115227234, -0.0151538393, -0.001584336, 0.0208061617, 0.0533607192, 0.0517144985, 0.0566061884, -0.0112690385, 0.0078729959, 0.0760969073, -0.0114710219, 0.0226739235, 0.0393276028, 0.0453634039, -0.0018198346, 0.0011828621, -0.0204570666, -0.0693858415, 0.0281950198, -0.0207843948, 0.008156999, 0.0293705259, 0.0446782, 0.002289142, -0.0294842254, 0.0088106832, 0.0085232211, 0.012356285, -0.0221173018, 0.0116717024, 0.0112744821, -0.0651592463, 0.0491287671, -0.0124982409, -0.0595882647, 0.0043393136, -0.0145186, -0.029996248, 0.0658675805, 0.056790445, -0.0225077532, -0.0609905012, -0.0402515382, 0.0202746205, 0.0608337633, 0.0886040404, 0.0234798491, 0.0314469449, -0.0344978236, -0.0208677575, -0.0304075871, 0.0089435317, 0.0250428412, 0.0265758559, 0.0076269964, 0.0553208739, -0.0273689386, -0.0669341236, 0.0270339549, -0.0216110554, -0.0340462849, 0.0377952307, 0.0113237584, 0.0113469586, 0.003970901, -0.02876205, -0.01558463, 0.0092470031, -0.0329025798, 0.0152122416, 0.001868394, -0.0356402397, -0.0454105064, 0.0261546224, -0.0061439602, -0.0534545258, 0.0144080808, -0.0739721134, -0.0457625389, -0.0346953608, -0.0265543852, 0.0066742101, -0.0320995003, 0.0486832894, 0.0081770141, 0.0054205568, -0.0294467881, 0.0086308764, -0.0058936179, -0.0128762703, 0.0383217447, -0.0060999198, 0.0092668766, -0.0286943801, -0.0474653244, 0.009912475, 0.0053269165, 0.0303346813, 0.0318154953, 0.0409264341, -0.0157006681, -0.0557337478, -0.0768192336, 0.0309959687, -0.0298778601, 0.0181685034, 0.0284425616, 0.058207918, -0.0065874979, -0.0145605998, 0.0088968202, 0.0118186921, -0.0010421451, 0.0042626397, 0.0357612185, 0.0065516965, -0.0005775088, -0.0482336208, 0.0063933898, -0.0020372607, 0.0231668688, 0.02775025, -0.0161937624, -0.0538688302, 0.0314285755, -0.0256941337, 0.0187510028, 0.0034987361, -0.0676630065, -0.0299808476, -0.0118765002, 0.0710760355, 0.0980455577, 0.0010005235, 0.0138748912, 0.0378020667, -0.0009976766, -0.0307946447, 0.0330589153, -0.0031724798, -0.0487925969, -0.0460342243, -0.0355556794, 0.0432487465, 0.0656993166, -0.0188147947, -0.0133440336, -0.0474806689, 0.0271156654, -0.0120675284, -0.027978586, -0.015096426, 0.0089100236, -0.0083679128, 0.033913821, -0.0396839753, -0.0124828117, 0.0771385506, -0.0199023448, -0.0075237695, -0.0388084576, -0.0019115278, -0.0411080681, 0.0446083732, -0.0084889885, 0.0230522472, -0.0158828758, -0.008559417, -0.0579289496, -0.0094408477, -0.0121334568, -0.0014174678, 0.0444334932, -0.0795051977, -0.0089377742, -0.036033392, -0.0552802943, -0.0075408053, -0.0543517582, -0.0086500207, 0.0156094003, 0.0040330538, -0.0353782848, -0.0345752612, -0.0245660506, 0.018373441, 0.0851493329, -0.0406416021, -0.0095461598, -0.0489226915, 0.0230080653, 0.0147804841, 0.0413368866, 0.0248207934, -0.0361924954, 0.0271985941, 0.0321276002, 0.0089300349, 0.0018935178, -0.0294207521, -0.0051334803, 0.0068432661, -0.030335566, -0.0390116163, 0.0000281672, 0.0792282894, -0.0968703404, -0.0165039282, 0.1322291195, 0.0369793698, -0.0391359366, -0.0163512658, -0.0150792403, 0.0323878638, 0.0128631294, 0.0553452186, -0.0900108814, -0.0446298458, 0.0151847154, 0.0214316789, -0.0056091738, -0.0061714388, -0.017659707, -0.0971730426, 0.0357529521, 0.0359795392, -0.0644705966, -0.0250432529, 0.0183778536, -0.0013965409, -0.0106183672, 0.0373386033, 0.0197104476, -0.0013429937, -0.0146410018, -0.0220093373, 0.0423934087, -0.0678793192, 0.0206412263, -0.0540968552, 0.0250662211, 0.0699110702, 0.061085768, 0.0181557611, 0.0044716699, 0.0757429898, -0.0377025902, 0.0235729888, -0.0185372625, -0.0059687113, -0.0079837153, -0.0100873103, 0.0155328736, 0.0165818464, -0.0041518393, 0.0095409229, 0.0252702404, 0.0470136106, -0.0189379994, 0.015397667, 0.0228845365, -0.0130847115, -0.0027723333, 0.0687333345, 0.0387026481, -0.0687260702, -0.0273875762, -0.0412875302, 0.0003785981, -0.0629731044, 0.0158433504, -0.0227398071, -0.0535196736, 0.0075061377, -0.0796498656, -0.0577763095, 0.0217452757, 0.0069750817, 0.0296796747, -0.0241440795, 0.0072083087, -0.0271764547, -0.0322834402, 0.053796351, -0.0264777634, 0.0206943769, -0.0577054806, 0.0406380892, 0.0234010909, -0.0346115716, -0.0072438372, 0.0305501744, -0.0690711886, -0.0653181374, -0.0013587052, 0.0564380363, 0.0187787674, 0.0679411367, -0.0387458205, -0.0718869567, -0.0177000351, 0.0378158092, -0.0244722106, 0.0357592255, 0.0339286365, 0.0374715403, -0.0321861543, 0.0557507761, -0.0281148907, -0.008987681, 0.0277427025, 0.0485666245, 0.0069268141, -0.0911810473, 0.0163745992, 0.0091683054, -0.0006543251, -0.004235507, -0.0047020325, -0.0227981862, 0.0439552441, -0.0199211296, -0.0231139623, -0.039442312, -0.0163972117, 0.0380558483, 0.0045275218, -0.0210932549, 0.017844405, -0.0038327631, 0.0071415426, -0.0496292971, -0.0087549379, -0.0084506664, 0.0037966992, 0.0199186765, 0.0180650521, -0.0153092295, 0.042156145, 0.023239769, 0.0404025465, -0.0499745943, 0.0505878441, 0.0145646306, -0.0179386567, -0.0346677005, 0.045142062, -0.0774063617, 0.004029389, -0.0127884392, 0.0159398764, 0.0686338842, 0.0102044288, 0.0982545912, -0.0293498617, -0.0290761385, -0.0142465904, 0.0252372641, 0.019873254, 0.0095877927, -0.0095269959, -0.0078438101, 0.0105362935, 0.0457700156, 0.0334243923, 0.0016927837, 0.0429372415, 0.0074193981, -0.0094142165, -0.0472786613, -0.0045508924, -0.0288958829, -0.0112742921, -0.0265165083, -0.016739374, -0.028492054, -0.026966406, 0.0274599958, -0.0012465509, -0.0156075647, -0.0215442572, -0.01850418, 0.0602898672, -0.0417523533, -0.0146519728, -0.0415964536, 0.0151994871, 0.0115713365, -0.0396890715, -0.0460710712, -6.635484143e-33, -0.0541745052, -0.0099620828, 0.0097904718, -0.0256421547, -0.0631278902, -0.0123215672, -0.0681708902, -0.0361051634, 0.0034161427, -0.003105944, -0.0265846029, 0.0170230679, 0.0165697876, 0.0218077525, -0.0151554234, 0.0196109619, 0.0981438234, 0.0287301242, -0.0288440045, 0.0103562959, 0.0242647901, 0.0197677333, 0.0475661457, -0.0330273956, 0.029538339, 0.0192068405, -0.0276795626, 0.0412547588, -0.0146314679, 0.022600729, 0.0212541465, -0.0023806985, 0.0116824489, -0.0093420232, -0.0084365178, 0.0028257016, -0.104975991, 0.0098302225, 0.0107343663, 0.0253714658, -0.0111428732, -0.0858675241, 0.079213962, -0.0313150436, -0.0140625071, -0.0024389636, 0.0058210017, -0.0373945497, -0.0070993337, -0.0228090882, -0.0667235702, 0.0067263972, -0.0098118102, -0.0129419761, -0.0001875787, 0.0524310358, -0.0186243523, 0.01271699, -0.08628387, -0.0081687979, 0.0024690661, 0.042739585, 0.0347357951, -0.0073285233, -0.0112960003, -0.0025391704, 0.0154428994, 0.0212685596, 0.0057473867, -0.0056062858, 0.0285791866, 0.0039713592, 0.0495555103, 0.0599189848, -0.0081502888, 0.0114359967, -0.0504625067, 0.023286514, -0.0327113271, 0.0128263533, 0.0160130318, 0.0058305096, 0.0166555252, 0.0037839366, -0.0613041706, -0.0383152366, -0.0350989625, 0.0079691419, 0.0290804487, 0.025808936, -0.0294240564, -0.0053839055, 0.0646638349, -0.0211296156, 0.0400703847, 0.0104295379, -0.0274595656, 0.0406962261, -0.0088438913, 0.0332146026, -0.0168086905, -0.0033064045, 0.0282444414, 0.0035650956, 0.0091097718, -0.02000615, 0.0465006493, 0.016377382, -0.0554290861, 0.0116644967, -0.0386253372, 0.0325743631, -0.0268667191, 0.0186545104, 0.0122102676, 0.0081711551, -0.0006932252, 0.0319716521, 0.04468292, 0.0161212161, -0.0128248958, -0.0059099356, 0.0296345502, 0.0474875346, -0.0366576761, 0.0291907545, 0.0081669092, 0.0441399738, 0.0295343567, -0.0558800511, -0.0302807521, -0.0184696428, 2.865e-7, 0.0533431545, 0.0769173428, 0.012113099, -0.0098943543, 0.0112462705, 0.023368232, -0.007674309, 0.0072615421, 0.0145123526, 0.0564166866, 0.0448675379, 0.0131911635, 0.0783585906, 0.0039173099, -0.0658885837, 0.0024273361, -0.0492851734, 0.0319001824, -0.0806792676, -0.0049482496, 0.023061296, 0.0887652859, 0.0119712017, -0.0077408724, -0.0183327664, -0.0488597192, 0.0816646367, -0.0253383666, -0.0338569619, 0.0209470466, 0.0347980373, 0.0395349488, -0.0214449149, -0.0120142614, -0.0160231702, 0.019875044, 0.0103429081, 0.1056937948, 0.008780973, 0.0247986019, 0.0043466324, -0.0103260092, -0.0045148898, -0.0564106926, 0.0645719245, -0.0617448464, 0.0000349887, -0.0093856417, -0.0194349848, -0.0115393372, 0.0325081944, -0.0622034855, -0.0121542234, 0.014431105, 0.0409350544, 0.0029718997, -0.0420031026, -0.0470375977, -0.0511547737, 0.0154486066, 0.0014193943, -0.0359028317, -0.0388219133, -0.0133318705, 0.0121004237, -0.0559359379, -0.0034602527, 2.859579189e-34, 0.037175592, -0.0109023592, 0.0194759704, -0.0098451721, 0.0507103503, 0.0141049959, -0.0309200566, -0.0055858488, -0.0088291923, -0.0884802416, -0.0238965601 ]
http://arxiv.org/abs/2310.14853v1
http://arxiv.org/pdf/2310.14853v1
Adaptive Policy with Wait-$k$ Model for Simultaneous Translation
2023-10-23T12:16:32
2023-10-23T12:16:32
Libo Zhao, Kai Fan, Wei Luo, Jing Wu, Shushu Wang, Ziqian Zeng, Zhongqiang Huang
cs.CL
cs.CL
Simultaneous machine translation (SiMT) requires a robust read/write policy in conjunction with a high-quality translation model. Traditional methods rely on either a fixed wait-$k$ policy coupled with a standalone wait-$k$ translation model, or an adaptive policy jointly trained with the translation model. In this study, we propose a more flexible approach by decoupling the adaptive policy model from the translation model. Our motivation stems from the observation that a standalone multi-path wait-$k$ model performs competitively with adaptive policies utilized in state-of-the-art SiMT approaches. Specifically, we introduce DaP, a divergence-based adaptive policy, that makes read/write decisions for any translation model based on the potential divergence in translation distributions resulting from future information. DaP extends a frozen wait-$k$ model with lightweight parameters, and is both memory and computation efficient. Experimental results across various benchmarks demonstrate that our approach offers an improved trade-off between translation accuracy and latency, outperforming strong baselines.
[ 0.0509270802, 0.0634720027, -0.0087541994, -0.0148327714, -0.0221907627, 0.0303856749, 0.0467014126, 0.0112039223, -0.0258837361, 0.0270802975, 0.0047924384, -0.0732847676, 0.0218117107, -0.0060694409, -0.0126322145, -0.0560504384, 0.0175180547, -0.0124339005, 0.0143251913, -0.0173326395, 0.0080104889, 0.0091134543, 0.0097114686, 0.0250089541, 0.005388137, 0.0153549779, -0.0316817015, 0.0347440876, 0.0737613961, -0.0365877897, 0.0166084114, 0.0473729335, 0.0356096365, 0.0792380124, 0.0000020104, -0.0067147529, 0.0129485894, 0.0139991799, 0.0334304869, 0.0222142227, 0.0434059277, -0.0685741827, -0.0256836116, 0.0073003238, 0.001434929, -0.0115418648, 0.0633315891, -0.0026140697, 0.0684507266, 0.0659252852, 0.0001020006, -0.0528140664, -0.0188049916, -0.0991491675, -0.0110315718, -0.081600599, -0.0106054619, -0.0363935754, -0.0616477653, -0.0023914776, -0.0131705469, 0.0651537403, 0.0243460238, -0.0179462936, -0.0457764044, 0.0165880378, 0.0276647601, -0.0521958247, -0.0475774929, 0.0507753938, -0.0600535758, 0.0178053062, 0.0218791272, -0.0629453436, -0.0312372278, -0.0329344682, -0.0127031533, 0.0343279727, -0.0242276601, -0.0269119963, 0.0140150348, 0.0498082899, 0.0658512712, -0.0181329437, -0.0356467217, -0.0426737554, 0.0213492364, -0.0282394812, -0.0054991888, 0.0490483306, 0.0040183221, 0.0092063546, 0.0901705623, -0.0035684668, -0.0187840089, 0.0206385925, -0.0451937728, -0.0632540509, -0.0076877628, -0.0446398705, 0.0551513322, 0.0928086191, -0.0129266446, 0.0464417189, -0.0068110591, 0.0357316472, -0.0425578058, -0.0124576828, -0.0292395633, 0.0364378318, -0.0035321373, 0.0047592348, -0.0168051645, -0.024790775, -0.0509637259, -0.0116315149, -0.0197613258, -0.005497423, -0.0137777049, -0.0090228571, 0.0730094612, -0.0183452535, -0.1097096354, 0.000245436, 0.0011878897, 0.0442976244, -0.0044239569, 0.0072939568, 0.0237741675, -0.0096355332, -0.0265810378, -0.0175976809, -0.0127603253, -0.0144535443, -0.0021022891, 0.0524142645, -0.0299363807, 0.0008875403, -0.0068359901, 0.0042209798, 0.0080268625, -0.0731075555, 0.0234172642, -0.0410363115, 0.1005254313, -0.0141488621, 0.0088323643, -0.0549930446, -0.0224614143, -0.0047688116, 0.0106402421, 0.0638162121, 0.0320752338, -0.0014551794, 0.0543099195, 0.0192939471, 0.014671416, 0.0655485764, 0.0256341118, -0.023159774, 0.025006514, 0.0366976075, -0.0473278835, 0.0716311783, 0.0357305743, 0.0566254109, -0.0164248385, -0.002521751, 0.0046494878, 0.0538311936, 0.0227852631, -0.0021910893, -0.030275045, -0.0175002944, 0.0570222326, 0.0436295457, 0.00568103, 0.041397959, 0.1011037752, 0.0171544328, -0.0576057024, -0.0046045911, 0.0061749099, 0.0352670737, 0.0551496595, 0.0054767174, 0.0372544564, 0.0727056861, -0.009118109, -0.0263506379, 0.025636984, -0.0130318701, -0.0079880431, -0.0199139286, 0.029881293, 0.008436651, -0.0526532531, -0.0042793397, 0.0138327349, -0.0325247347, 0.0011695435, 0.010813877, -0.0582407154, 0.0811271071, 0.0019419448, 0.0346621647, -0.0602521636, -0.0195496399, -0.0116543993, 0.0524202995, 0.074142836, 0.0232277755, 0.0577114783, -0.034566015, -0.0467952713, 0.0622329228, 0.0044186143, 0.0401126631, 0.0187458862, 0.057630796, 0.0574412085, 0.0466962866, -0.0249106884, 0.028403962, -0.0652594566, 0.003129452, 0.0169612151, 0.0167563651, 0.0455123484, 0.0142836682, -0.028183125, -0.0049006245, 0.0318967327, -0.0122635886, -0.006704601, 0.0523307845, -0.0693846196, -0.0378064439, 0.0356727429, 0.0398570783, 0.0004726064, -0.0045192963, -0.0094592255, -0.0459073484, 0.002284029, -0.0006081256, -0.0307405833, -0.0211227462, 0.0096400725, 0.0168648493, -0.0097224619, -0.0189636648, 0.012768466, -0.0235717464, 0.0044051944, 0.0170679651, 0.0347071625, -0.0285125878, -0.0372321792, -0.0180935785, 0.0518221743, 0.0287368782, 0.0430053994, 0.0364196524, 0.0237357318, -0.0032893876, -0.0233205575, -0.0320202708, 0.0257418472, -0.023603553, 0.0179096069, -0.0116476882, 0.0300260037, -0.0093847485, -0.0226375982, -0.0025042668, 0.0397882387, 0.0309519842, -0.0099622551, -0.0436695479, 0.0346314497, 0.0124427378, 0.0037451719, -0.0358256064, 0.0349175073, -0.00759556, 0.0066811643, 0.0092051784, -0.048241578, -0.041695632, -0.0257390663, 0.0095054507, 0.0007158868, -0.0526611134, 0.0119988052, -0.0672206208, 0.0247249529, 0.0177779794, -0.0076864492, 0.0094961738, -0.0118764741, -0.0304543972, -0.0312294196, 0.0321272537, -0.0539341718, -0.0179822855, -0.0547991954, -0.0198984183, -0.0206107385, 0.0544201285, -0.0156569872, 0.0107026836, -0.1051006988, -0.0467865877, 0.0096956054, -0.0424035639, -0.0014563575, 0.0299462397, -0.0059238784, -0.0090125315, -0.0263445675, -0.0356267355, 0.0650908649, -0.0262860339, -0.0243980158, -0.0661370903, -0.0205408055, 0.0057931547, 0.0633474439, -0.0106959771, 0.0182331763, -0.0446531326, 0.0046828664, -0.0174748488, 0.0414028764, 0.0239362437, -0.0087949531, -0.0045652785, -0.03402289, 0.003573315, -0.0276943967, -0.0296123251, 0.0198590644, -0.0113525996, -0.0423767641, -0.0200616773, 0.0070081516, -0.0718387216, -0.0335646868, 0.0002170168, 0.0110555235, 0.1339145452, -0.0210794751, -0.014240684, -0.023000598, -0.0230189618, -0.0167317409, 0.013186235, -0.048400227, -0.0722684562, 0.0320478529, 0.0273348019, 0.0464259014, -0.0623451136, -0.0257817302, 0.0025229054, 0.0578062423, 0.022158226, -0.0147316521, 0.0120183155, 0.0058177682, -0.095722802, -0.0065801064, 0.0373951569, -0.0169171337, -0.0416900665, -0.0198445283, -0.0145532154, 0.0489925109, -0.0101742689, 0.0103030046, -0.0351771936, -0.0306088924, -0.0079451511, 0.0558756255, 0.0302642789, 0.0169778578, -0.0266851708, -0.067912519, -0.0011290034, 0.0442610569, -0.0822601095, -0.0314772502, -0.0140057737, -0.0467429832, -0.0361999981, 0.0166701674, 0.0340481177, 0.0372132957, -0.0097250864, -0.0078072497, 0.0685377344, -0.0396214277, -0.0172143355, -0.0302498955, 0.0148676112, 0.0806171447, -0.0220037438, 0.0139084104, -0.0166635662, 0.0288568195, -0.0525201075, 0.0063549411, -0.0271403007, -0.0205777753, -0.0048365276, -0.0205593854, -0.0209570713, -0.0164246578, 0.0025208592, 0.012203211, 0.0228237323, 0.0395444408, -0.0278158393, -0.0185496993, 0.0055879597, -0.013952041, 0.0333561637, 0.0028510252, -0.0306564532, -0.064025566, -0.0136720184, -0.0288827401, -0.003410585, -0.1037738398, -0.0144897755, -0.028171692, -0.0615598224, -0.0641366988, -0.0476815738, -0.0332301036, -0.0126696713, 0.0708684027, 0.0020210482, 0.0330688544, 0.0209463648, 0.0198668838, -0.0592440777, -0.0100953663, -0.0017636258, -0.001782779, -0.026414521, 0.0197506454, -0.0054044588, -0.0082724793, -0.0233442616, 0.0382087752, -0.089744851, -0.0965348184, 0.0101384157, 0.0790284947, 0.020271698, 0.0393217355, -0.011996991, -0.0408586971, 0.0156812537, 0.0030719852, -0.0299621206, 0.0214552991, 0.0228208117, -0.0289880019, -0.0184112582, 0.0252275541, -0.0067311195, -0.0193107482, -0.0270219333, 0.0411915183, -0.0049496009, -0.0472227968, -0.0445415303, -0.0128867729, 0.0042795544, -0.0211757775, -0.0078564724, -0.0327146351, 0.0175053291, 0.015548843, 0.0003934548, -0.0507516861, 0.0046668146, 0.0363870412, -0.0258234944, 0.0247299187, 0.033415366, 0.0453103296, -0.0547424182, -0.0521336831, -0.0194620043, -0.0056772134, 0.0272206236, 0.0445227437, 0.0167375654, 0.0215195604, 0.013330644, -0.0020808661, -0.0208628662, -0.0397538245, 0.0181452483, 0.0452109464, 0.0303983763, -0.0072371159, -0.0121540092, -0.0368199274, -0.0482130498, -0.0127335507, 0.0564718023, 0.0821924061, 0.0043988265, 0.0924590379, -0.0337609537, -0.010853244, -0.019233929, 0.0148740457, 0.0047859889, -0.0476137437, 0.0160861835, 0.0008830821, 0.0090907132, 0.0293682013, 0.0386508889, 0.0045184954, 0.0459108353, -0.0247151684, -0.006416067, -0.0274417792, -0.0328336731, -0.0268128756, 0.0154684596, -0.0172215458, -0.0008313435, -0.0014595856, -0.0338913389, -0.0113268802, 0.0030735426, -0.0068438579, -0.0363732576, 0.0071749431, 0.0497946739, -0.038923353, -0.0098321792, -0.0334238671, 0.0130486246, -0.0280935187, -0.0048865983, 0.0104185892, -6.201568771e-33, -0.0110156769, -0.0211014319, 0.0044285799, -0.0602031909, -0.0710128099, -0.0075335801, -0.0347288698, -0.0344711654, 0.0296270587, 0.0171918049, -0.0167962722, 0.0465783328, 0.0373391323, -0.0166737121, 0.0189339165, 0.0322066844, 0.0818137005, -0.02238396, -0.0440815948, 0.0353317, 0.0546286479, 0.0166384093, 0.0628924966, -0.0209989976, 0.041324757, -0.0327066183, -0.0259477403, -0.0250919312, -0.0309083723, 0.0437530242, 0.0367391557, 0.017472947, -0.0131026031, -0.0547312796, -0.0401339009, 0.0049639498, -0.062009614, 0.023453908, -0.0102186622, 0.0370298214, -0.0294094421, -0.0324415788, 0.0113892229, -0.0112998327, -0.0126754753, -0.0255432557, -0.0105273416, -0.0203803033, -0.0230611041, -0.0299152024, -0.024956841, 0.0360179543, -0.0134069268, 0.02335071, 0.0853767991, -0.014537598, 0.0026646249, -0.0054514105, -0.058649309, 0.0035263328, -0.0155282756, 0.0724123195, 0.0538527146, -0.0019938478, 0.0047291135, 0.0220569521, 0.0040807561, 0.0048789689, 0.0327998176, -0.0302425455, 0.0065499316, -0.0108718378, 0.0430685356, 0.0263127405, 0.0356264487, -0.0528294407, -0.0480397157, 0.0297792628, 0.0275573265, 0.0147966174, 0.0469658412, 0.0128527079, -0.0100569548, 0.0038392264, -0.05357223, -0.0232103355, -0.0111504383, -0.0139008621, 0.0355099253, 0.0893365815, -0.0016931558, 0.0208134912, 0.0989758596, 0.0290862154, 0.0359241404, -0.0019638774, -0.0274355598, 0.0007790131, -0.0071204021, 0.0287323184, -0.015317359, -0.0417311043, 0.0091905342, 0.0092924451, -0.0292534549, -0.0206886567, 0.0261687636, 0.0262567662, -0.0397397317, 0.0117528681, -0.0214253236, 0.0471821912, 0.0159062892, 0.0272260159, 0.0502450615, -0.0199740492, -0.0020021694, 0.0311230086, 0.0340561382, -0.0366862342, 0.0096103549, 0.0261926372, 0.0158489812, 0.0358232446, -0.0433158353, 0.0527792163, -0.0137853548, -0.0013993705, 0.0186021905, -0.0592392571, -0.0390349403, 0.0379885286, 2.568e-7, 0.0060946406, 0.0201757345, 0.0249444712, 0.0176345054, 0.0233849008, 0.0213957094, -0.0539299212, 0.0232823398, -0.0075981622, 0.0546452962, 0.0103710126, 0.0242962129, 0.062074963, -0.0050989236, -0.0596779883, -0.0117501635, -0.0570848957, 0.0746250749, -0.0584674515, -0.0278923344, 0.0049514668, 0.0383392051, -0.0234527923, -0.006185702, 0.0320618898, 0.0109884171, 0.0815053657, 0.0017222315, 0.018782543, -0.0333348066, 0.0595625006, -0.0114877969, -0.045305334, -0.012080349, -0.0541317351, 0.0199656095, 0.0343972109, 0.1400993019, 0.0248287152, 0.0026685838, 0.0635305792, 0.0172877852, -0.0223063007, -0.0324282646, 0.0482269339, -0.0264560003, 0.0002979827, 0.0176620781, -0.0174544342, 0.00621399, 0.0329009369, -0.0170411188, -0.0358079374, 0.0110959904, 0.0422666222, 0.028145887, 0.0034794542, -0.0525221452, -0.0315756276, -0.0179771911, -0.0300607514, -0.025991641, -0.0701226592, 0.0136234667, -0.0064320769, -0.0048697875, -0.0279195085, 2.165405006e-34, 0.0632196143, -0.0399502777, 0.0153733296, -0.0050583803, -0.02022947, -0.0176487323, 0.0147472713, 0.0446300097, 0.0177110936, -0.041837763, -0.0712104961 ]
http://arxiv.org/abs/2310.14849v1
http://arxiv.org/pdf/2310.14849v1
Universal Domain Adaptation for Robust Handling of Distributional Shifts in NLP
2023-10-23T12:15:25
2023-10-23T12:15:25
Hyuhng Joon Kim, Hyunsoo Cho, Sang-Woo Lee, Junyeob Kim, Choonghyun Park, Sang-goo Lee, Kang Min Yoo, Taeuk Kim
cs.CL
cs.CL
When deploying machine learning systems to the wild, it is highly desirable for them to effectively leverage prior knowledge to the unfamiliar domain while also firing alarms to anomalous inputs. In order to address these requirements, Universal Domain Adaptation (UniDA) has emerged as a novel research area in computer vision, focusing on achieving both adaptation ability and robustness (i.e., the ability to detect out-of-distribution samples). While UniDA has led significant progress in computer vision, its application on language input still needs to be explored despite its feasibility. In this paper, we propose a comprehensive benchmark for natural language that offers thorough viewpoints of the model's generalizability and robustness. Our benchmark encompasses multiple datasets with varying difficulty levels and characteristics, including temporal shifts and diverse domains. On top of our testbed, we validate existing UniDA methods from computer vision and state-of-the-art domain adaptation techniques from NLP literature, yielding valuable findings: We observe that UniDA methods originally designed for image input can be effectively transferred to the natural language domain while also underscoring the effect of adaptation difficulty in determining the model's performance.
[ 0.0379148349, 0.0706719458, -0.0193467699, 0.0306439288, -0.0124437818, 0.0207319893, -0.0379492044, 0.0212873854, -0.031638138, -0.0597091503, -0.0011493831, -0.0398158245, -0.0048358687, 0.0420252271, -0.0048931167, -0.0489061177, 0.0385115556, -0.0118687041, -0.02619306, 0.02245217, 0.0204457827, -0.0263342392, -0.0178298596, 0.0175774284, -0.0205201134, -0.0239891447, 0.0004571924, 0.0361589678, 0.0259195752, -0.0066460152, -0.0002646471, 0.0219211448, 0.0212741923, 0.0025588945, 0.0000018673, -0.044440113, -0.0349957533, -0.0119995475, 0.0097888922, -0.0210300907, 0.0405158848, -0.0749181584, -0.0297256727, 0.0118932351, -0.0514575131, -0.0167446993, 0.091645658, 0.0328924581, 0.0135102272, 0.111491777, -0.03016451, 0.0086396392, 0.0020288988, 0.0045266896, -0.0900083482, -0.0454833023, 0.042914357, -0.0363432169, -0.0134421559, -0.041263476, -0.0684868917, 0.0033059227, -0.0228099618, -0.0047569326, -0.0154470233, 0.0118269296, -0.0522934645, -0.0008336448, -0.0303442795, 0.0765593499, -0.0374997333, -0.0120509248, -0.0027266664, -0.0316134468, 0.0024560667, 0.0649951026, -0.0143314544, -0.0250179991, 0.0187001973, 0.0335517414, -0.0372156687, 0.0028901775, 0.0324849896, 0.0213955119, -0.0375849865, 0.0471663103, 0.0038846284, -0.0232891198, 0.0103767831, 0.0168602169, -0.058900442, -0.0210244786, 0.0177881084, 0.02379453, -0.0261868984, -0.0018117272, -0.0642550588, -0.0495540239, -0.0246396251, -0.0267644394, 0.08506836, 0.0063032489, -0.0649632365, 0.0470835529, 0.0322119556, 0.0568285286, -0.0460718311, 0.0149809038, -0.0257927477, -0.0075361207, -0.0495279767, 0.0254198685, -0.0088455928, -0.0089979591, -0.0534728318, -0.0122617744, -0.0061791544, 0.0438310131, -0.0058392868, -0.0459150374, 0.0129758418, 0.017640857, -0.0423915833, -0.015374681, -0.0166139323, 0.0654290691, -0.0200301688, 0.0290961694, 0.0002519805, -0.0500575565, -0.022945974, 0.0524540618, 0.0084357588, -0.0324259363, -0.0159087814, 0.1200538501, -0.0001816435, -0.0261611678, -0.0510599837, 0.0304592922, -0.0714926422, -0.0278685149, 0.0486964621, -0.0475309901, -0.0155622074, -0.0044281273, -0.0001552817, -0.0703007132, -0.0004097897, -0.0016437314, -0.0280154608, 0.0979561433, -0.0108186016, -0.0064029642, 0.0035607661, -0.0326360725, -0.0122360494, 0.0965947211, 0.0195092577, -0.0391823575, 0.0531353317, 0.0029044952, 0.0445278063, 0.0639500096, -0.0209315587, 0.0241942815, -0.0133218486, 0.0132354554, -0.009218174, 0.0232458189, 0.0587984696, 0.0017439586, 0.0158232395, -0.0594522357, 0.0768677741, 0.0145133827, 0.0005068817, -0.025244521, 0.0018957489, -0.0285481978, -0.0341262259, 0.0061645871, -0.0777645558, -0.0219356213, -0.0106322262, -0.0207320135, -0.0420070514, 0.0060813501, -0.0122235343, -0.0328430086, -0.0304364637, 0.000874667, 0.020096913, -0.028850574, 0.0645980537, 0.037042547, -0.0221690871, 0.0379270725, 0.0483762845, 0.0044545257, 0.009126395, -0.0064775436, -0.0056814449, 0.0264221579, 0.0193996783, -0.0615440011, 0.0195604227, -0.0029658221, 0.0612518825, 0.0599010661, 0.0072061722, 0.0167890601, 0.0262578931, -0.0308092255, -0.0191634372, 0.038303405, 0.0405260362, 0.0154345669, 0.017248638, 0.0254104938, -0.0134471776, -0.0794353858, -0.0003620843, 0.0487764403, -0.0119472304, -0.0284643807, 0.0278318804, 0.0145510277, 0.0140232863, -0.010005123, -0.0284845382, 0.0040849904, 0.0093493005, -0.0271129422, -0.0457424223, 0.0123802945, -0.0130952094, -0.0170755498, 0.0547064915, -0.0621289015, 0.0124166394, 0.0607591048, -0.0592302978, -0.0026328224, 0.0393541381, -0.0021105676, -0.0000459091, -0.0162208248, 0.0200630669, 0.0109813521, 0.089319773, -0.0538262576, 0.0540168993, 0.0039869589, -0.0328639671, -0.0136013199, -0.0014223709, -0.0009115479, -0.013378771, 0.0113626393, 0.0363698527, -0.0257428233, 0.0361496881, 0.0045804861, -0.0213979799, -0.0462103412, -0.0026544349, -0.0405795798, 0.0131216981, -0.0478346944, 0.035049051, 0.0286611915, -0.0034219141, -0.0269598216, -0.0311009977, -0.002736496, 0.0133049637, -0.0046136957, 0.0251330435, 0.0586978048, -0.0068156836, 0.0157346819, -0.0376493186, -0.0045796917, -0.012229464, 0.0741771907, -0.039035596, -0.0524966046, -0.0522414595, 0.0238311384, 0.000422164, 0.0651972964, -0.011064738, -0.0006452223, -0.0324092694, 0.0267340131, 0.0419106409, 0.0485525616, 0.0149306916, 0.0205302611, 0.0247323718, -0.0036665294, 0.0002797594, -0.0029617415, -0.0297965761, -0.0393785872, -0.0353487357, 0.025700761, 0.0339390188, 0.0413952097, -0.0274627805, -0.0192580372, -0.0335820951, 0.0096773021, -0.0491369478, -0.0323092602, -0.0045503806, 0.027483765, -0.0281700604, 0.0394763164, -0.0176208522, -0.0305638183, 0.0252627414, -0.0010203405, 0.0325933136, -0.0372187085, -0.0355763733, -0.0274993069, 0.0343700908, 0.0201663356, -0.0187983364, 0.0340194628, -0.0279012658, -0.0497124605, -0.028566312, 0.0178311579, 0.0129196113, 0.0797557309, -0.0809102878, 0.0157879163, -0.0199687202, -0.0385875478, -0.0441540219, -0.042638842, 0.0116801066, -0.0049161478, -0.0587414689, -0.0467410833, -0.062485911, 0.0014546859, -0.0439803824, 0.0464048125, -0.0150786731, -0.0095081106, -0.0166292582, 0.0766760707, 0.0547197871, 0.0498241708, 0.0014235129, 0.0047221924, -0.0361419097, 0.0427264683, 0.0061949426, -0.000174929, -0.0417908318, 0.015628757, 0.0115337195, -0.0146147665, -0.0095817158, 0.0272352099, 0.0609188192, -0.0127549553, -0.02715105, 0.0606637895, 0.0163589362, -0.014097794, 0.0271323584, 0.0010498062, 0.0387456641, 0.0298045129, 0.005032544, -0.0565867834, -0.0441999398, -0.0119866952, 0.0031428516, 0.0041842214, -0.0570682809, 0.024371691, -0.1163665205, 0.0189014561, 0.0040782709, -0.0356993861, -0.0425018668, -0.0390247181, 0.0461384431, -0.0340350084, 0.0303203203, -0.0402358919, 0.0021457677, -0.01412863, 0.0394257121, -0.0131439548, -0.0650339648, 0.0056174402, -0.0553435683, 0.0064139813, 0.055277098, 0.0211291742, -0.0339315012, 0.0027861707, 0.0363849886, -0.0177556537, 0.015569645, 0.0080569917, 0.0712938234, 0.0006121743, -0.0260539055, 0.0453812778, 0.0082546752, -0.0613730401, -0.0069701201, 0.0139074167, 0.0730310008, 0.0060010497, -0.0224621315, -0.0599263236, -0.0330971926, 0.0257742554, 0.0358270034, -0.0069585606, -0.051504463, -0.035289377, -0.0154591184, -0.0228774268, -0.0127659822, -0.0227908306, 0.0285672881, 0.0187577549, -0.0658701137, -0.1205042452, -0.017570924, -0.0386573449, 0.0407215841, 0.0312243439, -0.0267632604, 0.0281675812, -0.0030723535, -0.0777431503, 0.0291576367, -0.0251377989, 0.0267068595, -0.0308868717, 0.0331113786, 0.0191392526, 0.0196529049, -0.0285389964, 0.0376978628, -0.0541817918, -0.0643139705, 0.014021026, 0.0055540022, 0.0181789007, 0.0316389464, -0.0209700055, -0.0112116728, 0.0450321771, 0.0663938969, 0.0242852196, 0.0437742397, 0.0236370564, -0.0551572293, -0.0219154302, 0.0346418694, -0.0374673791, 0.0285346154, 0.0287990477, 0.0099838646, 0.0012104041, -0.0413476303, 0.0120541779, -0.0486696586, 0.0701564997, 0.0135649182, -0.0511451699, 0.0140146734, -0.010490126, -0.0038967738, -0.015169126, -0.0111170979, -0.0130277425, 0.0264519937, 0.0184574667, -0.0273944344, 0.038184423, -0.0206192806, 0.0350130275, -0.0262847878, -0.0055442364, 0.0947573483, 0.0313017629, -0.0156645607, 0.0322830677, 0.0157710612, -0.0050664442, -0.0011179482, 0.0454727449, -0.0040582647, 0.0387341157, 0.0236702263, 0.0080336276, -0.0115296915, 0.0045433939, -0.0565046705, 0.0212817304, -0.0265653152, 0.0316872075, 0.0455127992, -0.0548969842, 0.0310976636, 0.0134555586, -0.0097535299, -0.0547821373, 0.0188244935, 0.0186165422, 0.0176230054, 0.055574581, 0.0171320438, -0.0161254629, 0.0248652846, 0.046297051, 0.029856896, 0.0612949096, 0.0091231652, -0.0061510587, -0.0356355868, -0.0124319335, 0.003767672, -0.0366554111, 0.0088672992, 0.0174183752, -0.0357172601, -0.0680299997, 0.0125553189, -0.0126516894, 0.0295062941, 0.0244503841, 0.0247266218, 0.0672930405, 0.0107040387, 0.0023333412, -0.0150609547, -0.0082103088, 0.0063740318, 0.0136770364, -0.0356824137, -5.909809971e-33, -0.014100831, -0.0246849302, -0.0048091337, -0.0252364445, 0.0159961134, -0.022065999, 0.0067847446, 0.0257506669, -0.0427417122, 0.0175936613, -0.0051058903, 0.0279849581, 0.0260480791, 0.0132859349, -0.0253773741, -0.0377957746, 0.0370034836, -0.0054835472, -0.0344711021, -0.0443159826, 0.0104241418, 0.0448567942, 0.0826391056, -0.0917945802, -0.0023654897, 0.0389729701, -0.0214366503, 0.0201605801, 0.0530176945, 0.0555946082, 0.0001225939, 0.0707609132, 0.0291067176, -0.0193559956, -0.0160564538, 0.0131691508, -0.066218555, -0.003335753, 0.0031294809, 0.0599947795, -0.0009855423, -0.0132384142, 0.0484364964, -0.0111334519, 0.0010311076, -0.0660516694, 0.0608150661, -0.0661310926, -0.0122642033, -0.0077022854, -0.0820020437, 0.0461988151, -0.0014641414, -0.0083527397, -0.0166923031, 0.0374848507, 0.0301439613, -0.0175115895, -0.0364230983, -0.0177515056, 0.0213705078, 0.049244605, 0.0449089408, 0.0171974245, -0.0418901406, 0.0539933629, -0.0167777538, -0.0119500468, 0.0213275366, -0.0502214357, 0.0366170928, 0.0113728046, 0.0264077429, 0.0921064988, 0.0525311604, -0.0101839639, -0.0786852986, 0.0046633212, -0.0447196998, -0.0046942448, -0.0237601791, 0.027285533, -0.0579365119, 0.0042626895, -0.0036840993, 0.0060104621, -0.0303457975, -0.0253389571, 0.069356896, 0.0016319703, -0.0067254626, 0.0603366122, 0.0067697517, -0.0712509379, -0.0293802079, -0.003346927, -0.0147452336, 0.0037154909, 0.0087463576, -0.0039266399, 0.0065716607, -0.0421083868, 0.0224774238, 0.0446331799, 0.0277884398, -0.0345675163, 0.0557886101, 0.0282346401, -0.0743894204, -0.0058697304, -0.0005288555, 0.0143151246, 0.0069152331, 0.1037451252, 0.0165484343, -0.0048143631, -0.0306618977, 0.0404068381, 0.0325696953, -0.037487559, -0.0214785971, 0.0630400106, 0.0019577486, 0.0237312168, -0.0473115407, -0.0346779935, 0.0192869678, 0.0349395871, 0.0233830903, -0.0704468861, -0.0193650704, -0.020242719, 2.566e-7, 0.0824672878, 0.0635074675, 0.02476817, -0.0188279543, 0.0180924218, 0.0306312349, -0.0372701287, 0.057770703, -0.0190995745, -0.020413382, -0.0097951666, 0.0069652372, 0.0156481583, -0.0103231389, -0.0580375008, -0.037858367, 0.0106314551, 0.0150779001, -0.0311637577, -0.0252793841, 0.0634762049, 0.1171590537, 0.0161371976, -0.0278224517, 0.0073086601, -0.0846136361, 0.0611939095, -0.0126749454, 0.0134929568, -0.03268978, -0.0134136835, 0.0105385492, 0.0028888294, 0.0245619658, -0.0210466702, 0.0277058836, 0.0323222913, 0.0490854569, -0.0405780748, -0.0083729057, -0.0306171421, 0.0277695321, -0.0010651817, -0.0252998136, 0.0643140674, -0.0596509464, -0.0228178278, -0.0514088161, -0.0459512882, -0.0001859304, 0.0261047874, 0.0226306412, -0.0049488037, 0.0289931893, 0.0542021468, 0.0281030796, -0.0452335067, -0.0760436431, -0.0285185967, 0.007889118, -0.0183653068, -0.0051158438, -0.0229123533, 0.0070761344, 0.0417794771, -0.0602877364, 0.0108276429, 2.259990745e-34, 0.0310012698, 0.0269440468, -0.006910292, 0.0020137785, -0.005778078, -0.0065902532, -0.0109385531, -0.0157248676, 0.0035129376, -0.0259120651, 0.0157663003 ]
http://arxiv.org/abs/2310.14840v1
http://arxiv.org/pdf/2310.14840v1
Transparency at the Source: Evaluating and Interpreting Language Models With Access to the True Distribution
2023-10-23T12:03:01
2023-10-23T12:03:01
Jaap Jumelet, Willem Zuidema
cs.CL
cs.CL
We present a setup for training, evaluating and interpreting neural language models, that uses artificial, language-like data. The data is generated using a massive probabilistic grammar (based on state-split PCFGs), that is itself derived from a large natural language corpus, but also provides us complete control over the generative process. We describe and release both grammar and corpus, and test for the naturalness of our generated data. This approach allows us to define closed-form expressions to efficiently compute exact lower bounds on obtainable perplexity using both causal and masked language modelling. Our results show striking differences between neural language modelling architectures and training objectives in how closely they allow approximating the lower bound on perplexity. Our approach also allows us to directly compare learned representations to symbolic rules in the underlying source. We experiment with various techniques for interpreting model behaviour and learning dynamics. With access to the underlying true source, our results show striking differences and outcomes in learning dynamics between different classes of words.
[ 0.0059286151, 0.1034702882, -0.0295952316, 0.040002089, -0.0500801541, -0.0029222982, -0.00856396, -0.0061179758, -0.0509814061, -0.0213282984, 0.0065754019, -0.0544109978, -0.0182948709, 0.0623801835, 0.0505524874, -0.0042316616, 0.0646231398, -0.035146974, 0.0197410248, -0.0026729489, -0.0055429544, -0.003227294, -0.0084275389, 0.0591648892, -0.0320993029, 0.0020408863, -0.0022275455, -0.0032378545, -0.0524293296, -0.0239040107, -0.0238062385, 0.0426007695, -0.0146606332, 0.0742238313, 0.0000020073, -0.0367082581, 0.0020113005, 0.0120292613, -0.0282029752, 0.0283412784, 0.0580333471, -0.0097865239, 0.0048714993, -0.0029890996, -0.0539386012, -0.0430469885, 0.0666970462, 0.026254965, 0.0414878987, 0.0828654692, 0.0013732056, -0.0303089339, 0.0386770479, -0.0505357757, -0.0108981002, -0.0226467755, 0.0143072642, -0.0225940067, -0.0243340079, -0.0265496224, -0.0357932001, 0.0190390609, 0.0422100984, 0.0094106365, -0.0061753434, 0.0356699377, 0.0126158549, -0.0395267345, 0.0062471605, 0.0603020862, -0.03109123, -0.0381253287, 0.0075761392, -0.0175025016, -0.0076484792, 0.0040403348, -0.0161392502, 0.0063077137, 0.0149581907, 0.0600780919, 0.0327091925, 0.0032680144, 0.0742168427, 0.0131474119, -0.0471997447, 0.0450714715, 0.0269270334, -0.0070411023, -0.0417764522, -0.0253110658, -0.0320262238, -0.0180230755, -0.0008275224, 0.0048781391, 0.0030949761, 0.0391103141, -0.0283325501, -0.0428043045, 0.0212045796, -0.046099145, 0.0414646491, 0.0184627939, 0.0046345904, 0.0575860366, -0.004463979, 0.03835354, -0.0221044943, 0.0540835485, -0.0238460731, 0.0206507053, -0.0518389456, -0.0337252282, -0.0281079449, 0.0087895021, -0.0530950055, -0.030536348, -0.0165627599, -0.03540067, -0.011585989, -0.0034663766, 0.0264960341, -0.0113657741, -0.0407394879, -0.0078014112, -0.0119866198, -0.0052914363, -0.0132013476, 0.0086737461, 0.0162436422, -0.0590668619, -0.0358902588, -0.0131180678, -0.0093532326, -0.0079451753, -0.0109250741, 0.0652687326, 0.0249960497, -0.0262668431, 0.0187411699, -0.0276476834, -0.0237411838, -0.040970657, 0.0128886662, -0.0437136292, 0.0247745775, -0.0159301665, -0.0138129033, -0.0628691092, 0.0329855606, 0.009221266, -0.0071368273, 0.0922272205, 0.0094691301, 0.018266663, -0.0114880558, 0.0049473918, 0.0305651072, 0.0667382106, 0.0501762182, -0.0344210044, 0.028354872, -0.0299144853, 0.018959647, 0.031783849, 0.0303592402, -0.0262992531, -0.0433341078, -0.0522911288, 0.0082662664, -0.0109900227, 0.029332906, 0.0569942407, -0.0380512588, -0.025358364, 0.0286420397, 0.0105562564, -0.0027303556, 0.0215615146, 0.0326820314, 0.0209837705, 0.0133078033, 0.0057425355, -0.0432560518, -0.0345630571, 0.018919047, 0.0163425747, -0.000533855, 0.0117395269, -0.0097114416, -0.0473250337, -0.0008846855, -0.0160479136, 0.0599919669, -0.0184951406, 0.0847260058, 0.0455147326, -0.052125968, 0.0851598531, 0.0548002757, -0.03486396, 0.0416417532, -0.0500389934, 0.0043407604, 0.0547854453, 0.0672483221, -0.0290616527, 0.0141272843, 0.0315721817, -0.0214321185, 0.0515147857, 0.0064620827, 0.0421695486, 0.0552141033, -0.0218575448, 0.0173120592, -0.0221693311, 0.0500429422, 0.0189245008, -0.0068149148, -0.026697671, 0.0106138792, -0.055851277, -0.0170429349, 0.0728462264, -0.0381938554, -0.0292610396, -0.0011000902, -0.0185569972, 0.0329498127, -0.0028012064, -0.0318138078, 0.077121608, 0.0290503353, -0.070322074, 0.0183650348, 0.0149182538, -0.0490595959, -0.0237378832, 0.0487580225, -0.0417751446, 0.0272462908, 0.0579749905, -0.0257444978, -0.0287488196, 0.076397188, -0.0475922599, 0.0686129853, -0.0680280775, 0.0122820875, -0.0057663303, 0.0492452607, -0.0502521172, 0.0554369576, -0.0201539323, 0.0389110968, -0.0159162041, -0.0020648569, 0.0536805987, -0.0137104504, -0.0157738477, -0.021852117, -0.0208735112, -0.0092905443, -0.0196922868, -0.0007143674, -0.0166607648, -0.0350626223, -0.032606367, -0.0479902253, -0.001180363, 0.0063414457, 0.0191225149, -0.0213594828, 0.0054453709, -0.0078517227, -0.0054310514, 0.0003677445, 0.0114913071, -0.0102792336, 0.0466616005, 0.023195684, -0.0761831179, -0.0691141412, -0.0324816816, -0.0380302258, 0.0796608701, 0.0122706499, -0.0098218527, -0.052344881, 0.0215621069, -0.0257503204, 0.0562054999, -0.0318490565, -0.0635359213, 0.0180450846, -0.0432591066, -0.0206613615, 0.0224409159, -0.0236232448, 0.0217166711, 0.0501420163, 0.0015685892, -0.0518475436, -0.0130142448, -0.0588585846, 0.0081921993, -0.0357150845, -0.006514011, -0.0119098574, 0.0716547668, 0.0324743427, -0.0379161797, -0.0744846538, 0.0521715768, -0.0344872735, -0.0547534972, -0.0085629141, -0.0142836608, -0.0357119441, 0.0420177206, -0.0528597236, -0.0651388019, 0.0542291552, -0.0311106443, 0.0099412305, -0.0229516216, 0.0083872229, -0.0386384465, 0.0850925148, 0.0438075624, 0.0233486425, -0.0117555289, -0.0291787665, -0.0464993641, -0.0117729129, 0.0067207115, -0.0369013324, -0.0028018414, -0.0662884638, 0.0104515441, 0.0350340679, -0.0292687621, -0.0348200649, -0.0855345353, -0.0209024698, 0.0265177339, 0.0504388623, -0.0079946658, 0.0075208531, 0.0172128156, -0.0026421682, 0.0371174403, 0.0185390282, 0.0139757078, -0.0226374455, 0.0038855735, 0.0375359021, -0.0259173699, 0.0318473056, -0.029898027, 0.0047388026, 0.0340532549, 0.0241447054, 0.0633919761, -0.040803425, 0.0002896861, -0.0156780072, -0.0085336603, -0.0124862064, 0.0172762852, 0.0067916135, -0.0734368041, -0.052164115, 0.1085474864, 0.0413398556, -0.0489544608, 0.0485459305, -0.0065486096, 0.0189787559, 0.0087643815, 0.0293797962, -0.0645224825, -0.003085149, 0.0017907341, 0.0006799813, 0.0191793982, -0.0206122287, -0.0070745936, -0.1212873161, 0.0026656457, 0.0108313141, -0.0211916342, -0.0283147395, -0.0461712368, -0.0323098898, 0.006728081, -0.0166004505, 0.0161296949, 0.0266442616, 0.0151276207, 0.0259259883, 0.0018780488, -0.0393140763, 0.0053949696, -0.0401817299, 0.0470325947, 0.0789926797, -0.0113168946, -0.0187763292, -0.0621123277, 0.016028937, 0.0033736862, 0.0070334901, 0.0113236262, 0.0308837257, 0.0464493223, -0.0440405756, -0.0036101444, 0.0001258899, -0.0398667753, -0.011514822, -0.0379506126, 0.0496635213, 0.0067615379, -0.0340911895, 0.0059135663, 0.0053627975, 0.0105030667, 0.0794801638, 0.0655004606, -0.0366615802, -0.0359978825, -0.0219053626, 0.0445886515, -0.0425451994, -0.0288577359, 0.0187073816, 0.0612086691, -0.0388796553, -0.0654209182, 0.0060725566, -0.0122481957, 0.0425320677, 0.0184315499, 0.0133441314, 0.0173941422, -0.0127336169, -0.0239181127, 0.0126468977, -0.0062082573, 0.0274557788, -0.0375060253, -0.037165232, 0.0319148973, -0.0015206812, -0.038121637, 0.0029913457, -0.0716924146, -0.0655862316, 0.039727848, 0.0438554175, 0.0275388807, 0.0111222807, -0.0320917219, -0.053213384, -0.0068356646, 0.032875143, -0.0261998866, 0.0384435952, 0.039659325, -0.0126609001, 0.0154278297, 0.0623669662, -0.0349880084, 0.0044585727, 0.0113284262, 0.0658292472, -0.0238838363, 0.0228962582, 0.0298455395, 0.0332841389, 0.0526693091, -0.0305897146, 0.0009538382, -0.0262334496, -0.0055843988, -0.0313306302, -0.0032951389, -0.0762477815, 0.0004532893, 0.049688559, -0.0099383118, -0.0027986914, -0.0283335671, 0.0038029472, 0.0535107814, 0.0054707252, -0.0259450767, -0.0142936641, -0.0213085134, -0.002322302, 0.0049336487, -0.00339897, 0.0375453196, -0.0435980819, 0.0104462784, -0.0249972865, 0.0124605875, 0.0264039747, -0.0024460978, -0.0833585486, 0.0024125143, -0.0504291691, -0.0210950393, 0.0174117815, -0.0211767573, 0.0374915786, 0.0187133197, 0.0345570445, -0.0222237632, -0.0061796536, -0.0113095473, 0.0312391687, 0.0282184463, -0.0436184965, 0.0340781249, 0.0210157167, -0.0065287855, -0.0289242081, 0.1229529604, 0.0549958721, 0.0430596843, 0.0011687158, 0.0319166593, -0.0224397089, -0.0022870128, -0.0096894782, 0.0615848973, -0.0192232411, 0.0291556492, -0.0537716486, -0.102189444, -0.0186017193, 0.0323456898, 0.0168780424, -0.0122443475, 0.0300735179, 0.0267161708, -0.0216589216, -0.0190278906, -0.038434241, 0.0239956751, 0.0275340043, -0.020178983, -0.0562362559, -6.70544222e-33, -0.0115769813, -0.0222279467, -0.0124560855, 0.0089727733, -0.0065890327, -0.0173723847, -0.0635053292, 0.0231270697, -0.003648513, 0.0251243971, -0.0003727881, 0.0367612839, 0.0001336228, 0.0477866419, -0.0224323999, -0.0333434753, 0.0197765063, -0.0247907229, 0.0284656957, -0.0023239497, 0.0077033588, 0.0370155387, 0.0493886136, -0.0844495967, 0.0018200764, 0.0107943136, -0.0267088134, 0.0360444151, -0.02083911, 0.0629310459, -0.0313617177, 0.0218024123, 0.0057354206, -0.0308716614, -0.0152243292, -0.0331656151, 0.0001584734, -0.0345760807, 0.0444249883, -0.0115184737, -0.0217496306, -0.0276393406, 0.0582263023, -0.0344033986, -0.0273777898, 0.0364852957, 0.0103463354, -0.0126589732, -0.0359981731, 0.0014007229, -0.0333504975, 0.0310044885, 0.0050512888, -0.0001325458, 0.0150608215, -0.0010459397, -0.0413696133, 0.0213511605, -0.0272875894, 0.0116956513, 0.0303364247, 0.0443703718, 0.0495141931, 0.0414146222, 0.045813892, 0.0719846487, 0.0762158483, -0.013395655, -0.0692957267, -0.000026305, 0.077743426, 0.0492543802, 0.0619138442, 0.0339993164, 0.0609622709, 0.0069234297, -0.0807098001, -0.052324906, 0.0035045191, 0.0115391808, 0.0374867804, -0.0075552193, -0.0739153996, -0.0471692197, -0.0716146603, -0.0385342315, -0.0289078839, -0.0009499862, 0.0325437821, 0.0182241704, -0.0210346151, -0.0567028038, -0.0105838832, -0.0626031533, -0.0169512592, 0.0244229324, 0.0121715125, 0.0112180552, 0.0042598173, 0.0078396974, -0.0505851991, -0.0258954018, -0.0125112338, 0.006498063, 0.0227694977, -0.0145798502, 0.0182645321, 0.0032153116, -0.035172835, 0.0028249007, -0.035622295, -0.0165380407, 0.0339310393, 0.0138966953, 0.0410781614, 0.0143889543, -0.0180483274, -0.002073247, 0.0438369587, 0.0311330669, 0.0061320527, 0.0457657576, 0.0174939539, 0.0444278866, -0.0077132117, -0.0429037586, -0.0362864658, 0.0230242908, 0.0760079771, -0.0599924512, -0.0161328521, 0.035207022, 2.782e-7, 0.0801770613, 0.0448688418, 0.0175142847, 0.0539215952, 0.042377539, 0.0108636543, -0.0080920784, -0.0059628012, -0.0444697291, -0.02238857, -0.0267536882, 0.0443065353, 0.0505171679, -0.0004523451, -0.0628547594, 0.0069814138, -0.0351786315, 0.0208140351, -0.023371134, -0.0099109309, 0.000490258, 0.1264050305, 0.0076769162, 0.0133785373, 0.0126877194, -0.0726035163, 0.0401451886, -0.0252423938, 0.0136772487, -0.0034957058, -0.0059614885, -0.0162635036, 0.0229664575, 0.0099498862, -0.0053435341, 0.042574957, -0.0029574817, 0.0578834005, -0.019809654, -0.0336416364, -0.0082809189, -0.0268625524, -0.0185881425, -0.0487967841, 0.0317894295, -0.0401897542, -0.0304227658, -0.0098673096, -0.030644482, -0.0037352988, 0.0199243352, -0.0028385262, -0.0633368418, 0.0023674502, 0.0242482405, -0.0293027814, 0.0121580092, -0.0397037491, -0.0484358035, -0.0571367703, -0.0459648445, -0.0229085535, -0.0239246599, 0.0076356102, 0.0354855284, 0.0028330332, 0.0249199346, 2.800354708e-34, 0.0735267028, -0.0323755294, 0.0103693428, 0.0144787114, 0.0421015732, -0.0000770857, 0.0035188431, 0.0130143845, 0.0247154646, -0.1028795019, -0.0094570098 ]
http://arxiv.org/abs/2310.14829v1
http://arxiv.org/pdf/2310.14829v1
Characterizing how 'distributional' NLP corpora distance metrics are
2023-10-23T11:48:23
2023-10-23T11:48:23
Samuel Ackerman, George Kour, Eitan Farchi
cs.CL
cs.CL, stat.AP
A corpus of vector-embedded text documents has some empirical distribution. Given two corpora, we want to calculate a single metric of distance (e.g., Mauve, Frechet Inception) between them. We describe an abstract quality, called `distributionality', of such metrics. A non-distributional metric tends to use very local measurements, or uses global measurements in a way that does not fully reflect the distributions' true distance. For example, if individual pairwise nearest-neighbor distances are low, it may judge the two corpora to have low distance, even if their two distributions are in fact far from each other. A more distributional metric will, in contrast, better capture the distributions' overall distance. We quantify this quality by constructing a Known-Similarity Corpora set from two paraphrase corpora and calculating the distance between paired corpora from it. The distances' trend shape as set element separation increases should quantify the distributionality of the metric. We propose that Average Hausdorff Distance and energy distance between corpora are representative examples of non-distributional and distributional distance metrics, to which other metrics can be compared, to evaluate how distributional they are.
[ 0.0218791552, 0.0487926565, -0.0273492187, 0.0236753244, -0.071754925, -0.0043046209, -0.0408255793, 0.0572327487, -0.0639670268, -0.0540415309, -0.0105927754, -0.0274169557, 0.0427538045, -0.0412660278, 0.0034831245, -0.0597705171, 0.0087687429, 0.031921003, -0.0288943667, 0.0107783666, 0.0283370465, -0.0401529744, 0.0031757397, 0.027213661, 0.0385941528, 0.0040163952, 0.0019557832, -0.0055302302, 0.0336001441, -0.0000583872, 0.0357682407, 0.0267429594, -0.0292538945, 0.0243239664, 0.0000013812, -0.0567101836, -0.0154327797, 0.003711228, 0.0567720644, -0.0303402469, 0.0506520085, -0.0386034325, 0.0100385342, -0.0026679644, -0.0008241021, -0.0257957969, 0.0670422912, -0.0320719108, 0.0135334106, 0.0410647579, -0.0105711799, -0.0449044406, 0.0308022182, -0.0037484344, -0.0071553737, 0.0093848053, -0.0095059052, 0.0165892821, -0.0134506496, 0.0156441852, -0.0443723388, 0.027303908, -0.0413611494, 0.04308879, 0.0486297682, 0.0186329912, -0.042746827, -0.0270007383, 0.0124663562, 0.0495724306, -0.0173892546, -0.0379191935, 0.0171827842, -0.0016525881, -0.0351492092, 0.0814103708, -0.0004719396, 0.0053473986, -0.0408670604, 0.0110810325, -0.0011157624, 0.041926112, 0.0077671879, 0.0093685174, -0.0190070849, 0.0132245533, 0.0273344535, -0.0369863473, -0.0042827292, 0.0369739868, -0.0120069291, -0.0312064961, 0.0262342524, -0.007299352, 0.0232028477, 0.0054355604, -0.00270752, -0.0446916893, 0.0413846858, -0.0406858698, 0.036095351, -0.0040480485, 0.0014881697, 0.0222495273, 0.0077821035, 0.0273207556, -0.0094272383, 0.010237894, -0.040059343, 0.0059745722, -0.0859223753, 0.0331848636, 0.0163183678, -0.0125334989, -0.0142453089, -0.0345011055, -0.0100497054, 0.0169928167, -0.0049122437, -0.0016731531, -0.0015099793, -0.0217841808, 0.0182576552, 0.0437629819, -0.0399317034, -0.0075559849, -0.0856688619, 0.0111338785, -0.0759220347, 0.0048763198, -0.0006180933, 0.0477488786, 0.0204621367, -0.0181410275, 0.0013792854, 0.012522771, 0.0294211563, -0.0408129133, 0.0008407781, 0.0299603287, 0.0167099964, -0.0394250043, -0.0001151466, -0.1093638986, 0.0186446141, 0.0119935321, -0.0251132082, -0.0087821204, -0.0145442132, 0.0126469517, -0.0602336638, 0.0534796417, -0.0113780517, 0.0304852426, 0.0243895538, -0.03465534, 0.0315101147, 0.0268234499, 0.0204189979, -0.0555638671, 0.0942882448, 0.006709978, -0.0448740087, -0.0061569987, 0.0098727793, 0.0109633896, 0.0000476229, 0.025058873, -0.037542738, 0.0294182301, 0.0110603198, 0.0288903601, -0.0562953353, -0.0246359706, 0.0404426083, 0.1106127501, 0.0338338949, -0.0411102138, -0.0090646418, -0.0077340123, -0.0223187841, 0.0413355045, 0.0137532931, -0.0646756887, -0.0089435643, 0.0173262917, 0.0727843791, 0.0455723777, 0.00268545, -0.0419006795, -0.0327942707, -0.0697748512, 0.0053172251, -0.0954900458, 0.0023061689, -0.019554317, 0.0101524945, 0.0433879718, 0.0020158745, -0.0166056715, 0.0015862996, 0.0505572893, -0.0090328287, 0.0159183443, 0.0028452517, -0.0309285112, 0.0298692305, 0.0085299267, -0.0422394536, 0.0270546731, -0.0147437463, -0.0092861773, 0.0058194478, -0.0040939748, 0.0010155364, 0.0035831393, 0.0259992555, -0.0225483272, 0.0044635967, 0.0407617576, -0.0014398977, -0.0919723585, 0.0257391632, 0.0295257475, 0.0032047543, 0.035140194, -0.0173796043, 0.0246060807, 0.0182842314, 0.0312714912, -0.0342753716, 0.0256537441, -0.0240003355, -0.0563608371, -0.0427987538, 0.0271717273, 0.0299053136, -0.0013582319, 0.0330867209, -0.0505822152, 0.0644863769, 0.0074770837, -0.0113816438, -0.0056321933, 0.0239714924, -0.0221385118, 0.0244162716, -0.0407265387, 0.0557274744, -0.0352307782, 0.0183595065, -0.0758600384, 0.0731333047, 0.0097179767, 0.1117675304, -0.0407560952, 0.0492284633, 0.0726637617, 0.027002709, 0.006393319, 0.0100077689, 0.0252134148, 0.0071995151, 0.0609427094, -0.0132213701, -0.0372656249, -0.0289329346, -0.0146750137, 0.0438006856, -0.0063309758, 0.0419642217, 0.0672933161, 0.0015325209, -0.0262497086, 0.0105840527, -0.007629761, 0.0035417737, 0.0023934641, -0.0001346837, 0.1040166989, -0.0005472616, -0.030593697, -0.0471379347, -0.0262194257, 0.0205010362, 0.0438007005, -0.0205534063, -0.0000536938, -0.0614910163, 0.0628271624, -0.0671499223, 0.0408120453, 0.0246172231, -0.0478740893, -0.0008885472, 0.010930445, 0.0346076749, 0.0445506722, 0.0418441743, -0.012001479, 0.0482794456, 0.0149721876, -0.0496282838, -0.0437294953, -0.0421917439, 0.0190130118, -0.0333832875, 0.0162861366, 0.0457812101, 0.0358904079, 0.037659198, -0.0553707331, -0.0269134268, 0.0231022798, -0.0367496759, 0.0338345841, 0.0072108451, 0.0147413071, -0.0301326122, 0.0493481904, 0.0019018082, -0.0501110628, 0.026442131, -0.0432406366, 0.0775946379, -0.0909348428, -0.0506616086, -0.0417960398, 0.007285093, 0.0081422953, 0.0041836319, 0.0026949279, -0.0223273765, -0.0223008022, 0.022857219, 0.0339908041, 0.0019906766, 0.0267055053, -0.0169671755, 0.0038446875, -0.018466888, -0.024935266, 0.0036792725, -0.0422600061, 0.0395544879, -0.0099819181, 0.0469881371, -0.0414193012, -0.0001597667, 0.0141692646, 0.0018700045, 0.0387898386, 0.02151547, -0.0057518226, -0.036599081, 0.1072490364, 0.0244475342, 0.0365400352, -0.0209989827, 0.0045958231, -0.0647042617, 0.015374193, 0.0229447912, 0.0358290002, -0.0119454628, -0.0298688132, 0.0097355777, -0.0386474505, -0.0702857375, -0.0205252096, 0.0643114299, 0.0491619408, -0.0355186425, 0.1008150727, 0.0470454618, -0.0303585716, 0.0277444068, 0.0056630191, 0.0739901662, 0.0107711041, -0.0350079089, -0.049988918, 0.0132203316, -0.0043864078, -0.0057938467, -0.0259272363, -0.0436198749, -0.0147279184, -0.0690325648, -0.0476977788, -0.0075087175, -0.0175797604, -0.0444881395, -0.0632508174, 0.0477942042, 0.0305326991, -0.0616509542, -0.0514502861, 0.0014353634, 0.0402387902, 0.0162875894, -0.061515294, -0.0797406286, -0.0178209618, -0.0617758818, -0.0089893201, 0.0053347154, 0.050108932, -0.0117219416, -0.0364506319, -0.0725632533, -0.1033087224, 0.002730153, 0.0239279289, 0.0508845448, 0.0086139534, 0.0110681513, 0.0011214468, -0.003783569, -0.0213117152, 0.001384975, 0.0218346324, 0.0254296064, 0.0201400053, -0.0278739594, -0.0301064122, -0.0121553307, 0.0247432888, 0.0480925813, -0.0060117133, -0.0003582685, -0.035478007, 0.0304413158, 0.0571712889, 0.0142962225, -0.0139393089, 0.0097502628, -0.0079896292, -0.020618597, -0.1046248227, -0.039238669, -0.0999067202, 0.0569149181, 0.0015244668, 0.0317579024, -0.0155457342, -0.022812793, -0.0336717181, -0.0248902366, 0.0220542103, -0.0055349316, 0.0037258712, -0.0145202363, 0.0174548961, 0.0695858002, -0.0643664896, -0.0182076618, -0.0978497863, -0.0690074936, -0.0422351733, -0.0390116759, 0.0242894776, -0.0044675665, -0.019667564, -0.041355487, 0.0628525168, 0.0535779707, -0.0432280488, 0.0245548263, 0.0254518781, -0.0397011042, 0.013511694, 0.012756777, -0.0417006649, 0.0038637531, -0.0162911788, 0.0450950749, -0.0207220726, -0.0381854437, 0.0015847062, 0.0099902637, 0.0399415307, -0.0303962529, -0.012133277, -0.0124816848, -0.017216444, 0.0100806039, 0.0129536092, 0.0160777345, -0.0249978155, 0.0534448363, 0.0118180336, -0.0380836464, 0.0942940935, -0.0049827294, 0.0519461222, -0.0049006776, 0.0048485738, 0.0901304558, 0.0237192493, -0.0312148146, 0.0303776171, -0.0018788313, -0.0608682893, -0.0211092401, 0.0118335132, -0.0362038948, 0.0281180199, 0.0394308493, -0.0068745124, 0.0192089248, 0.0739303902, -0.0694472939, 0.0392382666, 0.0249777585, 0.0349958129, 0.0356452726, -0.038705606, 0.0258907117, -0.0035828897, -0.0096111372, -0.009622978, 0.0189454835, 0.0000423894, 0.0207028985, 0.0184482429, 0.0097443005, -0.010438839, 0.0500372648, 0.1014641374, -0.0267282259, 0.0216980241, -0.0230530575, -0.0408205166, -0.0169697423, 0.0215699412, 0.0063344641, -0.0062803244, 0.0092820777, 0.0232829638, -0.0337908231, -0.0323131941, 0.0407092385, -0.0059181605, -0.0006304723, 0.0282056835, 0.0208599642, 0.0801081732, 0.0028245186, 0.0250483714, -0.0478717089, 0.0074093137, -0.0348767079, -0.0039504278, -0.0355859138, -5.276276923e-33, -0.0054464098, -0.0090330737, -0.0749455243, -0.0256116781, -0.0223777089, 0.0104489718, 0.0136253927, -0.0087356949, -0.0445808135, -0.0022026417, 0.0230748393, 0.0302091576, -0.0018342293, -0.0339257382, -0.0223508105, 0.0035300227, -0.0156512689, 0.0170017574, -0.0412243307, -0.0197990667, 0.0357769057, 0.0079688756, 0.036232587, -0.0697479546, 0.0596035235, -0.0313607827, 0.0543767549, -0.0024839472, 0.0953831375, 0.0529362038, -0.0241135824, 0.0857787281, 0.0298671089, 0.0010421614, -0.0071798638, 0.0143364463, -0.0320517123, -0.0659475401, 0.0420591198, -0.0142921973, -0.0234164689, -0.0077083763, 0.0213166326, -0.0073265065, -0.038410347, -0.0339888819, 0.0745644793, -0.0150856534, -0.0125218583, -0.0068858308, -0.0095619513, 0.0497259349, -0.0315300561, 0.0293860268, -0.0022269359, -0.0338626802, 0.0241902843, 0.0221194308, -0.0396275483, 0.025666533, -0.0110968733, 0.0815312937, -0.0044754138, -0.0439945161, 0.0196965877, 0.0632286742, -0.0037390937, -0.0402859449, 0.0017462054, 0.0137372576, 0.0256179459, -0.0013015051, -0.0207503978, 0.0833867863, 0.0323539525, 0.0039941515, -0.0627833381, 0.0182991885, -0.0015113287, -0.0223463885, -0.0021327855, 0.007368654, -0.0438233763, 0.0091690132, -0.0083326278, -0.0500865616, 0.0065161162, -0.0493237711, 0.0073610921, -0.0246844888, 0.0237153377, -0.0043437853, -0.0152131217, -0.0218935031, -0.025448814, 0.0416671224, -0.0048812814, 0.0179822911, 0.0024699885, -0.0017091691, -0.0108724041, -0.0491909832, -0.0414318033, 0.0564634949, 0.0596882962, -0.030469805, 0.0080197603, -0.0103008207, -0.0470218547, -0.0184990298, 0.0024471718, -0.0531898402, -0.0659266785, -0.0282077771, 0.0037368117, 0.0205296539, -0.0041433233, 0.054992523, 0.0660415441, 0.0206845831, 0.005115415, 0.0278626345, 0.0036303988, 0.0260031503, -0.0140454648, -0.0245813895, -0.0302455351, 0.0544261001, 0.0228270497, -0.025686387, 0.0015077689, -0.0458888113, 2.327e-7, 0.0565060414, 0.0508242622, 0.0338098034, -0.0264514983, 0.0063118255, -0.005933186, -0.0051219789, 0.0370569676, -0.0543425344, -0.0592227951, 0.0015133119, -0.0199917536, -0.0178063661, 0.0046011447, -0.0578820594, 0.0227620751, -0.0702973604, -0.0277059376, -0.0468350537, 0.0215838812, 0.0311691072, 0.0416358635, 0.0330358334, 0.0315815173, -0.0365068279, -0.0735393167, 0.0363916531, -0.0270102173, -0.0099208811, 0.0373208337, 0.003776991, -0.0488112308, 0.0263546072, 0.0277111158, 0.0122720301, 0.040730264, 0.0618701428, -0.0019286018, 0.0112218028, 0.0063618775, -0.0377563313, -0.041825369, -0.0171249602, -0.0402747951, 0.0381622389, 0.03160524, -0.0536874272, -0.0024659054, -0.0317875557, 0.0308304466, 0.0424810573, 0.0293969065, -0.0459429286, 0.0012324452, 0.0053851162, 0.0283656716, 0.0080865435, -0.0414076708, -0.0362928733, 0.0516841821, 0.0033589271, -0.0332208425, 0.0231817551, -0.0121063786, 0.0413430631, -0.0404740386, 0.019437544, 1.759927413e-34, 0.0196989626, 0.0183989052, 0.0188134406, -0.0250254218, 0.0101026865, -0.0357991345, -0.0057394109, -0.0126089295, 0.0036154622, -0.0097395666, 0.027086474 ]
http://arxiv.org/abs/2310.14820v1
http://arxiv.org/pdf/2310.14820v1
ALCUNA: Large Language Models Meet New Knowledge
2023-10-23T11:40:05
2023-10-23T11:40:05
Xunjian Yin, Baizhou Huang, Xiaojun Wan
cs.CL
cs.CL
With the rapid development of NLP, large-scale language models (LLMs) excel in various tasks across multiple domains now. However, existing benchmarks may not adequately measure these models' capabilities, especially when faced with new knowledge. In this paper, we address the lack of benchmarks to evaluate LLMs' ability to handle new knowledge, an important and challenging aspect in the rapidly evolving world. We propose an approach called KnowGen that generates new knowledge by altering existing entity attributes and relationships, resulting in artificial entities that are distinct from real-world entities. With KnowGen, we introduce a benchmark named ALCUNA to assess LLMs' abilities in knowledge understanding, differentiation, and association. We benchmark several LLMs, reveals that their performance in face of new knowledge is not satisfactory, particularly in reasoning between new and internal knowledge. We also explore the impact of entity similarity on the model's understanding of entity knowledge and the influence of contextual entities. We appeal to the need for caution when using LLMs in new scenarios or with new knowledge, and hope that our benchmarks can help drive the development of LLMs in face of new knowledge.
[ 0.0451502688, 0.0414996929, -0.0205788985, 0.0926285088, -0.0191490743, -0.0018551223, -0.0053904047, -0.0003329428, 0.0128082689, -0.0600448921, -0.0444358326, -0.0265739802, -0.0389618911, 0.0178830512, 0.0252050422, 0.0119085386, 0.039847184, -0.0136480648, 0.0015979066, -0.0070296144, -0.0020074786, 0.0149114495, 0.0052279276, 0.0086430181, -0.0159139577, -0.0157388505, 0.0005858435, -0.0053820671, 0.014951136, -0.0455452949, 0.0014914233, 0.0407944694, 0.0150464708, 0.0742909983, 0.0000021988, -0.0783135295, -0.0405962653, 0.0012726866, -0.0486606844, 0.0168362632, 0.0076189754, -0.0055308733, -0.0044664522, -0.0181613173, -0.0695556402, -0.0269094035, 0.0421926193, 0.0265509132, 0.0275768451, 0.083201319, -0.0162733905, -0.0415171608, 0.0082289511, -0.0323512219, 0.0048409426, -0.0688543096, 0.0484318472, 0.0129058147, 0.0245184861, -0.0061407099, -0.0047655636, 0.0468563698, 0.0129112946, 0.0028263864, 0.0470692106, 0.0442678928, 0.0112284692, 0.0193890221, 0.0074695298, 0.0779686496, -0.0102760857, -0.0238054842, 0.0164477173, 0.0082794353, -0.0183620621, 0.000898357, -0.015816506, -0.0184653234, -0.0106500518, 0.0149539821, 0.0333256871, -0.0077928212, 0.0527503416, 0.0417212807, -0.0438603871, 0.0516034663, 0.0313912369, -0.0203886777, -0.0150001235, 0.0044787284, -0.0352277458, -0.062391378, -0.0003389739, 0.0591469929, -0.0229061693, 0.0464014858, -0.0331632271, -0.0008651684, 0.0309194941, -0.0751913786, 0.0296266768, 0.0148948021, 0.0151993949, 0.0802244991, -0.0620322526, 0.0560474433, -0.0436501689, -0.0140057225, -0.0025494907, -0.0178652871, -0.0751520619, -0.0214761104, 0.0013990405, 0.047545556, -0.033206962, -0.0130958548, 0.014237538, 0.0465419367, -0.0011023319, 0.0545546636, 0.016992351, -0.0288521294, 0.0098898159, -0.0367506556, -0.0703430697, -0.0006001927, -0.0506437235, 0.0129206749, -0.0329026543, -0.0556408651, 0.0183387939, -0.0390726589, -0.0118199913, -0.026154384, 0.0112656709, 0.0816295967, 0.0085852491, -0.0183340907, -0.0383313373, -0.0104719074, -0.0230505448, -0.074724108, -0.0036553545, -0.0727351904, 0.0349684656, 0.0256124195, -0.0095219426, -0.078497678, 0.0142724682, -0.0156758092, -0.0384035297, 0.0492010415, -0.0281276535, 0.0413501114, 0.0278100781, 0.0200957917, 0.0315336362, 0.0817798153, 0.0165152475, -0.0327831469, 0.0378070176, 0.0042804079, -0.0305208657, 0.0498915873, -0.0011387843, 0.0140419658, -0.005318183, 0.0311336108, -0.0033460427, 0.0446630269, 0.0178665388, 0.0639143288, -0.005236879, -0.0399926454, 0.0737007633, 0.0046430263, -0.0150076915, 0.0298153535, 0.0499833114, -0.0091425339, 0.0178823713, -0.0221391935, -0.0236539077, -0.0000430555, -0.0310662743, -0.0054446184, -0.0064774449, 0.041150976, -0.0278179124, -0.010078053, -0.0168229435, 0.0002421726, -0.0226829145, -0.0206786264, 0.0435506441, 0.0433170944, 0.0186392609, 0.0718107074, 0.0379171558, -0.0181002505, 0.0034374702, -0.0342013165, 0.050506629, 0.0538452566, 0.0542214401, -0.0467277803, -0.0398833118, 0.0066513773, -0.055919122, 0.0666089207, 0.049705632, -0.0419000089, -0.0033375819, -0.0147556327, 0.0106143579, -0.0179892704, 0.0294524282, 0.0326287374, 0.0430606976, 0.0150838951, 0.0118273655, -0.0711565539, 0.0048270533, 0.0451178215, -0.0780032575, -0.005986663, -0.0039839568, 0.0097148502, -0.0056082369, 0.0565324351, -0.0068383962, 0.0069388128, 0.0273193549, -0.0360706225, -0.0363113619, -0.0004363781, -0.0154389013, -0.0228168443, 0.0588164404, 0.0161222592, -0.0113247233, -0.0122337658, -0.001033198, -0.0185529236, 0.0299079809, 0.0118764052, 0.096322611, -0.0300568845, 0.0471499376, -0.019617429, 0.0061615161, -0.0241179112, 0.1061272249, 0.0101694698, 0.01540701, 0.0178887937, 0.0127214603, 0.01050709, -0.0033557487, -0.044899933, 0.0125177475, 0.0136223631, -0.0021991485, 0.0200209636, -0.0050865286, -0.0560391955, -0.0338855125, -0.0639743134, 0.0370264724, 0.0001833201, 0.0348995961, 0.0408478118, 0.0074363942, -0.023942465, 0.0001031335, -0.0171803404, -0.0004817427, -0.0270703267, 0.0110084331, 0.0391804427, 0.034267664, -0.0214617681, -0.0416189879, 0.0202206653, -0.0110262521, 0.0643705428, -0.0011334971, -0.0105144633, -0.0430338494, 0.0605738536, -0.0629135743, 0.0513726436, -0.0112429503, 0.0080169914, -0.0253194347, -0.0315971226, 0.0571951829, 0.0376264229, -0.0089153927, 0.0167609006, 0.0312086567, -0.0227750558, -0.0694729611, 0.010478559, -0.0234170053, -0.0124954795, -0.0720883235, 0.0057617291, -0.0046727876, 0.0698660538, -0.0287234392, -0.043842189, -0.0344660357, 0.0465723649, -0.027035078, -0.0226682611, -0.00587598, -0.0103742247, 0.0147130983, 0.0170632135, -0.036084801, -0.0101244841, 0.0579413474, -0.033162266, 0.0091733243, -0.0215185769, -0.003036357, -0.0555433035, 0.0805097073, 0.008106512, 0.0262034498, 0.0092638964, -0.0039118887, -0.0329482667, 0.0388559885, -0.0196544733, -0.0420285054, 0.0818566009, -0.0739213452, 0.0396857001, 0.0251813103, -0.0347278975, -0.0640037134, 0.012532861, -0.0255568083, 0.0221615639, 0.0033781382, -0.0272053462, 0.0140299024, -0.0006509101, 0.0145117426, 0.0171476994, 0.0156300291, -0.0192703344, -0.0365752205, 0.0348390006, 0.0480737314, -0.0017783145, 0.0132082235, -0.0200053435, 0.0611991622, 0.0189768132, 0.0096731996, -0.0485131592, -0.037268497, 0.0011479517, -0.008109591, -0.0461409241, -0.020321019, -0.0063955886, 0.0307765771, -0.0536600649, 0.0010938884, 0.1264059097, 0.0318127722, -0.0347841345, 0.0185002424, 0.0129950475, 0.0154996552, 0.0325199775, 0.0330974646, -0.0794714317, -0.0211983752, -0.0100332303, -0.0468340255, -0.0096713798, -0.0922583938, -0.0275778957, -0.1414791644, -0.0300611835, -0.0357469395, -0.0764786899, -0.020763319, -0.0408666246, 0.0271655358, -0.0060690744, -0.0011475373, -0.0228112936, -0.0167834908, -0.0133351292, 0.0054653827, -0.014567663, -0.0661078691, 0.0248796865, -0.0470593013, 0.0877650604, 0.054104805, 0.0456920937, 0.0014930587, 0.0145196104, -0.025694333, -0.0219748747, 0.0052313856, -0.0232893117, 0.0359354094, -0.0126815271, -0.0150006153, 0.015209822, -0.0201962776, -0.0341731757, 0.000778707, 0.0152719216, 0.0626228899, 0.0190949086, -0.0320803076, 0.0002946152, -0.0410053916, 0.0150281936, 0.1013860554, -0.0068829036, -0.0161030274, 0.000871725, -0.0175247956, -0.0067357761, 0.0001664032, -0.0310993064, 0.00422737, -0.0244079772, -0.0016681849, -0.084083654, -0.0268645175, 0.029272832, 0.0094603403, 0.0424809419, 0.0382037908, 0.0273169689, -0.0370513313, -0.0570773631, -0.00341922, -0.0482515879, 0.0266813114, -0.0166387483, -0.0204347372, 0.0540847816, -0.0117505556, -0.0314160474, 0.0134186866, -0.0977390036, -0.0798604637, 0.0042615701, 0.0020306706, 0.030428635, 0.0487992093, -0.0383400507, -0.0567708127, 0.0146573177, 0.0007197991, -0.0502276085, 0.0194670297, -0.0188725758, 0.01862932, 0.0087091336, 0.0559936427, -0.0427393503, 0.0185915455, 0.0518048368, 0.0443971828, -0.0602920465, -0.065542385, 0.0149177946, 0.0337379538, -0.0444590077, 0.0074158814, -0.008574686, -0.0330054238, 0.0074268784, -0.0405594148, -0.0166146606, -0.0171316694, -0.0307776611, 0.0358502194, 0.0371978693, -0.0029892349, 0.0385012999, 0.0256312303, 0.0428529643, -0.0224732328, -0.0229499526, 0.015117269, 0.0206780955, 0.0320231952, -0.0037376883, 0.0008592161, 0.0133476416, 0.0296685137, 0.0452437252, -0.0600497685, 0.0531050153, 0.015479303, -0.042173028, -0.0116358837, 0.0219643321, -0.0405725054, -0.0358161107, -0.0025326798, 0.0597374588, 0.0509051494, -0.0205637328, 0.076571241, -0.0404767133, -0.0018510589, -0.0182539597, -0.0025991246, -0.0083025396, -0.0319969878, 0.0185670853, 0.0192100424, -0.0211890433, 0.0373008847, 0.0756087825, -0.0084544914, 0.0865496323, -0.0239224024, 0.0116672115, -0.0466018468, -0.0017663483, 0.036377959, -0.0343735702, -0.0310159978, 0.0429152586, -0.0762561634, -0.0578654744, 0.0143745486, -0.0030100695, -0.0098965904, 0.010244227, 0.0304778069, 0.0366840549, 0.0112524843, -0.0241036713, -0.0436295159, -0.0088463631, -0.0281984154, -0.0033461037, 0.0002661107, -6.650807447e-33, -0.0340573341, 0.0007055648, 0.0352765471, -0.0409214906, -0.0365511104, 0.032930322, -0.0421418957, -0.0096531175, -0.0447716042, 0.0002143529, -0.0070777307, 0.0161760673, -0.0041087074, 0.0044562276, -0.0132450303, -0.0361696482, 0.0446291342, 0.0134574911, 0.0129911723, 0.0161264222, 0.0308702681, 0.0166296083, 0.0425965935, -0.0567910746, 0.0239692815, -0.0109460233, -0.0140387872, 0.0482278466, 0.0110819554, 0.0628657863, -0.0589289516, 0.0118564535, 0.0280469265, -0.0488309078, -0.0078976173, -0.0489472859, -0.0789188072, -0.0130091775, 0.0236365851, 0.0002348149, -0.0026459373, -0.0358625352, 0.0391894393, 0.0322038345, -0.0089050801, 0.0140030384, 0.0368496403, -0.0464741848, 0.0113971736, -0.0179242324, -0.0804721415, 0.0351287387, -0.0104497075, 0.0125149246, 0.0483488888, -0.0401065052, 0.0189660769, -0.0080620628, -0.0760797188, 0.0257340856, 0.0033892407, 0.0153478216, 0.0645181164, 0.0059050061, 0.0027590015, 0.0681494847, 0.0172981992, 0.00868876, -0.0184091683, 0.0140653579, 0.0322487392, 0.0611918718, -0.0152637269, 0.0571406297, -0.0097302571, 0.0076211561, -0.0686614811, 0.0189314, 0.0248492993, 0.0080632139, 0.0345478207, 0.0011943546, -0.0481976122, 0.0006650419, -0.0455001704, 0.0131669948, -0.0409332328, -0.023029143, 0.0334366374, -0.0087262364, -0.0053582857, 0.0240552705, -0.0098537523, -0.0721357539, -0.0488370359, 0.0158492718, 0.0065794326, 0.0104193604, 0.0116290515, 0.0295658875, -0.0843430609, -0.04771116, 0.0189664681, -0.0004005806, 0.0094221625, 0.0078087212, 0.0188871771, -0.0035148591, -0.0700675771, 0.0024296422, -0.0267041512, 0.0038629677, -0.0280144271, 0.0015196215, 0.0029916826, 0.0161564481, -0.0092235645, 0.0356799848, 0.0818814784, -0.004965669, -0.0042419313, 0.0316244774, 0.0352351107, 0.0127476836, -0.013839337, -0.0097847134, -0.0173199512, 0.0069085895, 0.0362394415, -0.0253475774, -0.0126522314, -0.0184733961, 2.908e-7, 0.05884514, 0.0425262637, 0.0245264955, 0.0186241213, 0.0336663797, 0.0340606831, -0.0300103035, 0.0284197107, -0.0081445808, -0.0254926458, -0.0149091939, 0.0476512462, 0.0249141548, 0.0251487289, -0.0968609378, 0.0088670328, -0.0388976038, -0.0289359204, -0.067653209, 0.006998823, 0.0175542124, 0.0671005249, 0.0286343955, 0.0011967436, -0.0343376324, -0.0434238017, 0.0515515953, -0.0243282057, -0.0113667734, 0.0646017492, 0.026763469, 0.0380535275, 0.0052651973, 0.0291526448, -0.0196441058, 0.0441324078, 0.0197737087, 0.0447241664, 0.0036949639, 0.0107066995, -0.0153271249, -0.04813179, 0.0013371592, -0.0619515888, 0.073554486, 0.0021344807, -0.0319552533, -0.0076818732, 0.002228722, 0.0072332858, -0.0450050868, -0.0168954991, -0.0332133025, 0.0021729805, 0.0159354173, -0.0169933978, -0.0366246179, -0.0796871781, -0.0260573961, 0.0111889932, -0.0370860547, -0.044828061, -0.0183598213, -0.0045544938, 0.0098896232, -0.0665458664, 0.0415159725, 2.66324546e-34, -0.0083525572, 0.0493480191, -0.0097509976, 0.0583284944, 0.0312704742, -0.0160961077, -0.0474245399, 0.0216008648, -0.0199205782, -0.0831594467, 0.021007821 ]
http://arxiv.org/abs/2310.14819v1
http://arxiv.org/pdf/2310.14819v1
Analyzing Multilingual Competency of LLMs in Multi-Turn Instruction Following: A Case Study of Arabic
2023-10-23T11:40:04
2023-10-23T11:40:04
Sabri Boughorbel, Majd Hawasly
cs.CL
cs.CL
While significant progress has been made in benchmarking Large Language Models (LLMs) across various tasks, there is a lack of comprehensive evaluation of their abilities in responding to multi-turn instructions in less-commonly tested languages like Arabic. Our paper offers a detailed examination of the proficiency of open LLMs in such scenarios in Arabic. Utilizing a customized Arabic translation of the MT-Bench benchmark suite, we employ GPT-4 as a uniform evaluator for both English and Arabic queries to assess and compare the performance of the LLMs on various open-ended tasks. Our findings reveal variations in model responses on different task categories, e.g., logic vs. literacy, when instructed in English or Arabic. We find that fine-tuned base models using multilingual and multi-turn datasets could be competitive to models trained from scratch on multilingual data. Finally, we hypothesize that an ensemble of small, open LLMs could perform competitively to proprietary LLMs on the benchmark.
[ -0.0031641999, 0.0183079094, -0.0237502065, 0.0355437323, -0.0566301085, 0.0283687115, 0.0605460852, -0.0125897769, 0.0122571262, -0.0665533841, -0.0464098677, -0.0607821047, 0.0065629003, -0.0401615761, 0.0388377272, -0.0117521528, 0.0281810462, -0.06767793, -0.0222820472, -0.0247157738, -0.0180970617, 0.0297460929, -0.0252140854, 0.0446458161, 0.0377507955, -0.0452064238, -0.0080278143, 0.0038023307, -0.0044636726, 0.0023993449, 0.0032412177, 0.0535512939, 0.0011616086, 0.0293893684, 0.0000019004, -0.0533069186, 0.0098414561, -0.0055856993, -0.0343530141, 0.0018680237, 0.0214445759, -0.0209231619, -0.0231120847, 0.0258762334, -0.0412801318, 0.0040493766, 0.0134021547, 0.011601706, 0.0165206939, 0.0621510111, 0.0322061442, -0.0158722848, 0.0300346203, -0.0170176197, -0.009377134, -0.0438017137, -0.0059416238, 0.031261418, 0.0200423598, -0.0086774267, -0.0460176207, 0.0320832618, 0.0270732101, -0.0086578438, -0.0596616641, -0.0033991402, -0.0440343842, 0.0295416247, 0.0097145867, 0.039017763, -0.0263575278, -0.001496203, -0.0310259387, 0.0005017543, 0.0179835018, 0.0040331176, -0.0427768007, 0.0680789575, -0.002325854, 0.0059357607, 0.0370460302, -0.0208321437, 0.023032777, 0.0001939445, -0.0710672513, 0.0943341181, 0.0268332157, -0.0424648151, 0.0565967709, 0.0219871644, 0.0221611671, -0.0246633552, -0.0112628359, 0.0057923258, -0.0436003171, 0.0232272111, -0.002395045, 0.0157012586, 0.0210635047, -0.0524012372, 0.0533483736, 0.0795310959, -0.0169969909, 0.045438163, -0.0149982125, 0.0587635078, 0.0165462382, 0.0610002838, -0.0604696982, -0.0141446637, -0.0621386208, 0.0003641924, -0.0010033473, 0.0340519287, -0.0645897388, 0.0433641039, -0.0614172183, 0.0231643692, -0.0009026703, 0.0228030812, 0.0263351183, -0.0552972704, -0.0145964483, -0.0214215107, -0.0405575261, 0.0319973677, 0.0136216329, 0.0031424798, -0.028739227, -0.1211672872, 0.019544309, 0.003894337, -0.0433669314, -0.0333292522, 0.0178542417, 0.0788127631, -0.0457851477, -0.0411797091, -0.0523209609, 0.0197258256, 0.0120630125, -0.0868230611, -0.0008833366, -0.0596619584, 0.0575860217, 0.0337347314, 0.0100374362, -0.0124892928, -0.0032406349, 0.0370547064, 0.013399695, 0.047403805, 0.0577461086, 0.0090531539, 0.0404183902, 0.0096855657, -0.0037888943, 0.1138072014, 0.0276172142, -0.030901717, 0.0249731056, -0.0298407748, -0.0126260621, 0.0865391344, -0.0098518413, 0.0123812575, -0.0009258516, 0.0345113687, 0.0343268476, 0.0609574579, -0.012991365, 0.0251584109, -0.0103330286, -0.0094004367, 0.0372942872, 0.0399950445, 0.0137879513, -0.001063542, 0.0539953895, -0.0033324549, 0.0407066755, 0.0343002304, -0.0436898731, -0.0028055627, -0.0080764312, 0.0138824135, 0.0048182122, 0.0609253831, -0.0369575992, -0.0504357368, -0.015204085, 0.0016664698, 0.0007518484, 0.0163661148, 0.0847827941, -0.0343607552, -0.0606409982, 0.0352375992, 0.013161473, -0.0260930117, 0.0048733512, -0.0576131903, -0.028590275, 0.0479906984, 0.0140140532, -0.0011261435, -0.0492020324, -0.0182639379, 0.0075874794, 0.0452784933, 0.0531254821, -0.01610169, 0.0253862552, -0.0487434156, -0.0298633445, 0.0121029364, 0.0026600901, 0.0257730298, -0.0011163142, 0.0350929387, 0.0026366764, -0.0670596212, -0.0201344695, 0.0241523981, -0.0755368322, -0.0188068543, -0.0086550564, 0.0124634122, 0.0354634933, 0.0260253139, 0.004530089, -0.0087217465, 0.0358170532, -0.0212185364, -0.0034186558, 0.0052916585, -0.0438168198, -0.0221680216, 0.0556552745, -0.0313455835, -0.0481770895, 0.0203923639, -0.0318039097, -0.0595234297, 0.0119789056, -0.0034961884, 0.0222902689, -0.0426428244, 0.042888958, -0.0012682936, -0.02059591, -0.0283188745, 0.051921092, -0.0295982473, 0.0538440421, 0.0018374157, -0.0356397294, 0.0469932221, -0.0561990589, -0.0255282391, 0.0287864208, 0.0088324668, 0.0277727414, 0.005214429, 0.0390949473, -0.0542881191, -0.0429089293, -0.0768915936, 0.0025776387, -0.03269317, 0.0435694195, -0.0030360725, -0.0157100875, -0.015241893, 0.0116382316, -0.0474166945, -0.0426717661, 0.0295738373, 0.0429357663, -0.0032577699, 0.0111455647, -0.024857996, -0.027931964, -0.0372228362, 0.0013142317, 0.0366908871, 0.010890821, 0.0358416289, 0.0050801942, -0.0173381306, -0.0190124176, 0.0131746121, -0.0281259511, -0.0144567396, 0.0420549326, -0.0123195499, 0.012012206, 0.0653018877, -0.013448542, 0.0002506359, 0.0415578112, -0.025786452, -0.0645372421, 0.0283358376, 0.0126931146, -0.0501213595, -0.0796314552, -0.0580906048, -0.0317911245, 0.0235925056, 0.0047247335, -0.0066404226, -0.047571227, -0.0331249796, -0.0273053236, -0.0359211676, -0.039603103, 0.0509017259, 0.0060801939, 0.0490010083, -0.0039225942, -0.0443839505, 0.0160587318, -0.0161536466, -0.0042407569, -0.0072365361, 0.0093022194, -0.0413528197, 0.0130000087, -0.0291932449, 0.0016798151, -0.0626851469, -0.0515843965, -0.0718143433, 0.0021683914, 0.0164139364, -0.0544282943, 0.0746940374, -0.0673885569, -0.0025994012, -0.0193488859, -0.0346042514, -0.0194052979, 0.0529433154, -0.0287041292, 0.0177812018, 0.0277577899, -0.0105592292, -0.0691132396, 0.0065270616, 0.030860031, 0.0125241652, -0.0050011463, 0.0032637918, -0.0059278798, -0.0472969264, 0.0151609862, 0.0222095884, 0.0011062582, -0.064946115, 0.0353135951, 0.029502891, 0.0210031569, -0.058848951, -0.0354754254, -0.0061923619, 0.0805199146, -0.0408983231, -0.0409335494, 0.0037506369, -0.0041174041, -0.0368792787, 0.0173947215, 0.1196901277, 0.0216135327, -0.0201102793, -0.0154352086, -0.045074515, -0.0087008225, 0.0209035724, 0.0157433357, -0.0880563036, 0.0014218237, -0.0073717702, 0.0275795404, 0.0267007854, -0.0029093495, 0.0140623748, -0.147113204, 0.0268556923, -0.0095279356, -0.0600724295, -0.0208255127, -0.0037744176, -0.0090366537, -0.0322861597, 0.0554750189, -0.012688336, -0.02408568, 0.0081033343, 0.0417660065, 0.0113091962, -0.0616832301, 0.0390314497, -0.0187043231, 0.0125845484, 0.0139819123, -0.0011286628, -0.0306637809, -0.0503872633, 0.0316872336, -0.0269275587, -0.0133899041, -0.0169190634, 0.0098485807, -0.0101127466, -0.0061633429, -0.0133108394, -0.0219179988, -0.043000821, 0.028892139, 0.0327017233, 0.0713074505, -0.0337043814, 0.0184073877, 0.0142945396, -0.0250585414, -0.0197932404, 0.0698477924, -0.007421392, -0.0499030128, -0.0261944383, -0.0316729508, -0.0305282511, -0.0592818335, -0.0250111651, 0.0284856111, -0.0102549037, 0.0384180099, -0.0318493471, -0.0563946813, 0.0471082665, 0.0339594297, 0.0129841017, 0.0429307446, 0.0221391618, -0.0003400955, -0.002160274, -0.0076215137, -0.0306115113, 0.0345421955, -0.108417064, -0.0136255501, 0.024427142, -0.0625317022, -0.0090946928, -0.0123486174, -0.0519635081, -0.0498046242, 0.0001374417, 0.0342178158, 0.0204093084, 0.0181623511, 0.0161505993, -0.0378343724, 0.0048462022, -0.0032050468, -0.0187419504, 0.0457867943, 0.0375621058, -0.0012861283, -0.0286401678, 0.0308723301, -0.018263191, -0.0056917281, 0.0275559518, 0.0214220732, -0.0320380032, -0.0593219139, 0.0101052206, 0.0177437346, 0.0142029924, -0.0217134804, -0.0174968634, -0.0224609878, 0.0430206545, -0.0164006576, 0.0091289664, -0.0319863111, -0.0208171736, 0.023636749, -0.0010518058, 0.0065983599, 0.0009995486, -0.0094902422, 0.0112425033, -0.0394751243, 0.0335443467, -0.0078819711, 0.0146126179, 0.0159048066, 0.0170081034, 0.0074305907, -0.0279313736, 0.0110540204, 0.0555112883, 0.0113053266, 0.0706517473, -0.0022670652, 0.0400106199, 0.0508976132, 0.0242209528, -0.0204160362, -0.0508760624, 0.0210362319, 0.0424596928, 0.075193882, -0.0263316203, 0.040943373, 0.0104020499, 0.0051348568, -0.0369780622, 0.014566754, 0.0127240652, -0.0053520408, 0.0552037768, 0.0106410319, 0.0146421781, 0.015587749, 0.0778433233, -0.001228127, 0.0238222852, 0.0186628718, 0.0124851139, -0.0391319692, -0.0623477772, 0.0189542305, -0.0099773491, -0.0248637889, 0.0236089975, -0.0710111931, -0.0714377761, 0.0069084908, 0.0352848656, -0.0020789078, -0.0099613518, 0.0257173758, 0.0927746296, -0.0086425385, -0.015023455, -0.064626582, 0.0122031802, 0.0032500883, -0.0251520202, 0.0004604745, -5.967137361e-33, -0.0294622891, -0.0213423353, 0.0606780872, -0.0023249965, 0.0260345079, -0.0333516486, 0.0010836908, 0.0223209355, -0.0450979061, 0.0035910676, -0.0380217656, 0.0125833955, 0.0261570737, 0.013912837, 0.058687523, -0.0085009737, -0.0003581272, -0.0172208454, 0.0020192435, 0.0173665322, 0.0265723467, 0.0043600937, 0.1048794165, -0.0525016375, 0.0425446667, -0.0471803546, -0.0178394057, 0.0080131199, -0.0673519149, 0.0918849632, 0.0002491031, 0.0464487188, 0.0333663337, -0.0607040115, 0.0071523283, -0.0498734377, -0.0277825091, -0.0201074444, 0.0528418832, 0.0438982993, -0.0020486712, -0.0270907208, -0.0042895572, 0.0047060302, -0.0634118021, -0.0135683035, 0.0169715527, -0.0258304123, -0.0205227192, 0.0090851635, -0.0470793992, 0.0320643596, -0.0191138294, 0.0121570053, 0.0164615903, 0.0324135125, -0.0091179786, -0.0018663813, -0.0582146719, 0.0180272684, 0.0360483639, 0.033089038, 0.0996008739, -0.0031256918, -0.0374354869, 0.0139871668, 0.0036355439, -0.0096371034, 0.0588801317, -0.0095100179, 0.0333366729, 0.0244417191, 0.0414517038, 0.0640296489, 0.0043099979, 0.020239193, -0.0950073525, 0.0377082303, -0.0080554197, 0.0343912728, 0.0076185321, -0.0178873613, -0.0367372483, -0.0140825156, -0.0386027917, 0.0219458397, -0.0089977812, -0.0050973208, 0.04486458, -0.0081926752, 0.0324991569, -0.0055009462, 0.0452196561, -0.0103528136, -0.0033360233, -0.0098714596, -0.0101292599, -0.0050737583, -0.0038118719, 0.0627851114, -0.0629062578, -0.0599772222, -0.0228376407, 0.0011151909, 0.013322873, 0.016014345, 0.0168547388, 0.0254095253, -0.0879977793, 0.0139605114, -0.034677811, 0.0318678841, 0.0023203979, 0.026489336, 0.0322154053, -0.0229871776, -0.0032145611, 0.0602486692, -0.0049441839, -0.0531807765, -0.0283141583, -0.0376833826, -0.0018297314, 0.0006492753, -0.0128574325, 0.03878038, -0.0143239582, 0.0056443047, 0.0323028006, 0.0012815782, 0.0034957961, 0.0371786915, 2.61e-7, 0.0819236636, 0.0360442102, -0.0140721286, 0.0500861146, -0.0245646704, 0.0156988911, -0.0539584458, -0.0091462759, 0.0280958172, 0.0177149437, -0.0014175138, 0.0179224759, 0.0659113154, 0.0156660788, -0.0763988793, 0.0076093944, -0.0083636865, 0.0444568358, -0.0492477678, 0.0198082384, 0.0412325785, 0.0917155221, -0.0449188091, -0.0091199959, -0.0503314212, -0.0398672931, 0.0691055357, -0.0522216856, -0.0207137838, 0.022665929, 0.0697293952, 0.0030056953, 0.0198493041, 0.0493377224, -0.0248091836, 0.0130817313, 0.0375546776, 0.0914974585, 0.0184752997, 0.0073320391, 0.0368361995, -0.0316470861, -0.0303639211, -0.0483341664, 0.0637840927, 0.025437979, -0.0049223532, 0.0257131755, -0.0225653686, -0.0092906784, 0.0371070616, -0.0242432412, 0.0059622824, 0.0245670918, 0.0292738639, -0.0354158506, 0.0060723238, -0.0087373527, 0.0215704516, -0.0116024567, -0.0252486914, -0.0611857958, 0.0069506923, -0.0013677635, -0.0166227911, -0.0106204618, -0.0241505671, 2.096041426e-34, 0.0502625853, -0.0010526803, 0.0487765409, 0.0238196515, 0.026069846, -0.011575087, -0.0560427532, 0.0052382443, -0.0133884037, -0.0799141973, -0.0063320198 ]
http://arxiv.org/abs/2310.15205v2
http://arxiv.org/pdf/2310.15205v2
DISC-FinLLM: A Chinese Financial Large Language Model based on Multiple Experts Fine-tuning
2023-10-23T11:33:41
2023-10-25T05:56:13
Wei Chen, Qiushi Wang, Zefei Long, Xianyin Zhang, Zhongtian Lu, Bingxuan Li, Siyuan Wang, Jiarong Xu, Xiang Bai, Xuanjing Huang, Zhongyu Wei
cs.CL
cs.CL
We propose Multiple Experts Fine-tuning Framework to build a financial large language model (LLM), DISC-FinLLM. Our methodology improves general LLMs by endowing them with multi-turn question answering abilities, domain text processing capabilities, mathematical computation skills, and retrieval-enhanced generation capabilities. We build a financial instruction-tuning dataset named DISC-FIN-SFT, including instruction samples of four categories (consulting, NLP tasks, computing and retrieval-augmented generation). Evaluations conducted on multiple benchmarks demonstrate that our model performs better than baseline models in various financial scenarios. Further resources can be found at https://github.com/FudanDISC/DISC-FinLLM.
[ 0.0385593399, 0.0418817028, -0.0070125298, 0.0102750612, 0.0229359213, 0.0172603019, 0.0462551564, 0.0204273686, -0.0089505091, 0.0064784316, -0.0618283115, -0.0170658268, -0.0280410536, 0.0271156989, 0.0494012274, -0.0353311077, 0.0154637117, -0.0251426473, 0.059444014, -0.0573493317, 0.0324510522, -0.0214828793, -0.0015439999, 0.0110292779, 0.0214576274, -0.0246364307, 0.0059913844, -0.0031583835, -0.008234717, 0.0199348982, 0.0244977269, 0.0347369649, 0.0327230543, 0.0163486339, 0.0000020537, -0.0441851392, -0.0428328738, -0.0013511985, -0.0267433804, 0.0065341671, 0.0027645533, 0.0032966495, 0.0737383515, 0.0106131434, -0.0588806905, 0.0372026525, 0.0322518274, 0.0677535385, 0.1009110734, 0.0964180678, 0.0130305011, -0.0681814253, 0.0080717709, -0.0504785366, -0.0067232386, -0.0927457288, 0.0228702314, 0.0717700794, 0.0001703149, 0.0097772796, -0.0295384172, 0.0272440761, 0.0064570648, 0.0268715024, 0.0273098294, -0.0113648782, 0.0031286597, 0.0187392812, -0.0239280704, 0.056468118, 0.0405681692, 0.0492725857, 0.0200978275, -0.0064643645, 0.0145806661, 0.0426965617, -0.0695992708, 0.0402170196, 0.0067324294, -0.032179866, 0.0001458151, -0.0378186889, 0.0024776247, 0.0170446374, -0.0399053916, 0.0517113693, -0.0134531269, -0.0296165254, -0.0063788416, 0.0074717742, -0.0261676088, -0.009615601, 0.0329539068, 0.0483036153, -0.0142942406, -0.0048359283, -0.002074929, -0.0307777543, 0.0111054676, -0.0126923323, 0.048807662, 0.0312105995, -0.0085192062, 0.0414009541, -0.0416594297, 0.0326561891, -0.0153649887, -0.0356101207, -0.0488528572, 0.0026853206, -0.0710106343, -0.0307914261, -0.067126736, 0.085339427, -0.0390533805, -0.0409614369, -0.0690205395, -0.0070241145, 0.0090979682, -0.0007049619, 0.0190080665, 0.0090181381, -0.0431559831, -0.0188206434, -0.068145223, 0.0360705219, -0.0818933845, 0.0115078175, 0.0113525242, -0.0020247241, 0.0209952556, 0.0325021818, -0.0484192744, -0.0382614583, 0.037741676, 0.0756023452, 0.0180985685, 0.0110441204, -0.0258973632, -0.0632662252, 0.0038896999, -0.0341915525, -0.0002337766, -0.0647001043, 0.0232373327, 0.0051127924, -0.0127439527, -0.0077250423, 0.0043411991, -0.0024020041, -0.0060537518, 0.0298484471, 0.0042265882, -0.0052372357, 0.0376132838, -0.0310608391, -0.0127409929, 0.0366853215, 0.0047899554, -0.0002567875, 0.02574265, -0.0062458143, -0.0033948256, 0.045073688, -0.0012356399, -0.0383287184, 0.0050480571, 0.0569990762, -0.0177523158, 0.0127706397, 0.0597934164, 0.0164601803, -0.0473640822, 0.0084985197, 0.0480772816, 0.0179707427, 0.072645478, 0.0336925946, -0.0052442201, 0.0583709478, 0.0393144004, -0.0061076256, 0.0014353868, 0.0542109311, -0.0443460569, 0.0575739443, 0.0067176712, 0.0014435409, -0.0431981944, -0.0258002784, 0.0344485492, 0.003720552, -0.0365331881, 0.0509774648, 0.0303097982, -0.0361986272, -0.0363579206, 0.069407776, 0.0134682618, 0.0058233077, -0.0141267423, -0.0489322953, 0.0380980782, 0.0639080331, 0.0222913325, -0.0014891033, 0.0185982566, -0.0128865959, 0.0125358682, 0.0486116558, 0.0560826361, 0.0130373091, -0.0628688037, -0.0650011301, -0.0084364042, 0.0087400172, -0.0009031571, 0.0314754359, 0.03052775, -0.0279515199, 0.0031501318, -0.0040289685, -0.0177744012, -0.0126764299, -0.0164011735, -0.0440164991, -0.0144432234, -0.0093851974, -0.0201024003, 0.0080962013, -0.0208426788, 0.0240158178, -0.0085718846, 0.0035710617, -0.0506639257, -0.0414648838, -0.0671221316, 0.0163847357, 0.0236903857, -0.0397826359, -0.0012483089, 0.0005167411, -0.0418240465, -0.041810587, -0.0141111873, -0.0124038374, -0.0093287881, -0.0680282936, -0.0144190779, 0.0296088047, 0.0080603883, -0.0234618224, 0.0952751487, 0.0021750426, 0.0339169726, 0.0013642448, 0.0526704825, -0.0234089382, -0.0846136734, 0.0210868716, -0.0431102403, -0.0099881534, 0.0699195936, 0.034751568, 0.032661058, -0.0166554209, -0.0503062829, -0.040620178, -0.0133301737, -0.0101606306, 0.0170115959, 0.0086542303, -0.0348578319, -0.0034583367, 0.0021816618, -0.0535671078, 0.0148170311, -0.0063183676, 0.0046374239, 0.0392709076, -0.0027584836, -0.0147758313, -0.0414325558, -0.0161365103, 0.0152432602, -0.0105338572, 0.0415504687, 0.0048120096, -0.0122317541, -0.0369986966, -0.0291301031, -0.0116468966, -0.0100068012, 0.0164616797, -0.0029348056, -0.0295992624, 0.0473509543, 0.0433614552, -0.0043094121, 0.0430450514, -0.0528365634, -0.0333486944, -0.0596769527, 0.0314137712, 0.0016545969, -0.0423791036, -0.0312058181, 0.0208361875, 0.0038720432, 0.0420923978, -0.0097687198, -0.0104156462, -0.0459868573, 0.0358387008, 0.0148569327, 0.003633701, -0.0358209796, 0.0298367869, -0.0160276555, 0.0390006676, -0.0059563615, -0.0133731915, 0.0672165081, 0.0074582328, -0.0228793435, -0.0309754983, -0.0315331146, -0.0530013517, 0.0077761621, -0.0431035347, 0.0222146362, -0.0332508422, -0.0389427245, -0.0558765717, 0.0014722764, 0.0420419872, -0.0327379964, 0.0545839854, -0.0311880969, 0.0121069998, -0.0056467643, 0.0023995489, 0.0103720026, -0.056575302, -0.0286545046, 0.0413609333, 0.0705206022, -0.0593596697, -0.0735178068, 0.0200997256, 0.0269032661, -0.0278893113, -0.0368374325, -0.0180134457, -0.0011966012, 0.0086638257, 0.0801397711, 0.0354147218, 0.0031950127, -0.0899045244, 0.0529336445, 0.019941492, 0.0262240935, -0.0267558303, 0.0386413559, -0.0114846537, 0.0047496124, -0.0691667348, -0.0086073186, 0.0455276854, -0.0183909703, -0.0691581815, -0.015046468, 0.1101036221, 0.0121363299, 0.0145716527, -0.0209289379, -0.0324910656, 0.0244772397, 0.0100040166, 0.0623722784, -0.1063167676, -0.0251190607, -0.0043202764, 0.0332633518, 0.0298415814, -0.0454451442, 0.0006924213, -0.1133285239, 0.0410807766, -0.0229270458, -0.0078380527, -0.0238146409, 0.0060929898, -0.0403824933, 0.0043325606, 0.0405270271, 0.0426431596, -0.0287580453, 0.0271024071, 0.0288486164, -0.0210260917, 0.0053490498, 0.0450086407, -0.0142583624, -0.0058388244, 0.0318811946, -0.0212877523, -0.0282683056, -0.0188542604, -0.046320159, 0.0084284265, 0.025530247, -0.0056911996, 0.033683762, -0.0339970849, -0.0163767301, -0.0070072813, 0.0294521917, -0.0217715502, 0.0671432242, 0.055295039, -0.0119470991, -0.0218008589, -0.010196167, -0.0025543983, 0.0248924121, -0.0387010351, 0.0774154961, 0.016164152, -0.0676284358, -0.0276437309, -0.0432937816, -0.0533427708, -0.0568247288, -0.0161404572, -0.0002010161, 0.0304868538, 0.039871335, -0.0762778968, -0.0418362096, 0.039984338, 0.0412137806, -0.0041790297, 0.0031886543, 0.0361736268, -0.0113188466, -0.018008342, 0.0153658623, -0.0899016485, 0.0182208065, -0.0835805014, 0.0019337299, 0.0422811694, -0.0478398316, -0.044470787, 0.0257848483, -0.06619367, -0.0256395899, 0.0044796821, 0.0292237233, 0.018789012, -0.0403284803, -0.0218315814, -0.0238219555, 0.0182545912, 0.0325375609, -0.0877778158, 0.0068369135, 0.0359830633, -0.0006762253, -0.0089615174, 0.0296471659, -0.0673588216, 0.0192402173, 0.0082482249, 0.0765011907, -0.0681643486, -0.0061995876, 0.0034307763, 0.0411760136, -0.0054358346, 0.0377876014, 0.0119672362, -0.0213768687, -0.0050548115, 0.0090899058, -0.0026068937, -0.0202107336, -0.0416162983, 0.0459216572, -0.0403783992, 0.035921935, 0.0275259018, 0.0518530533, -0.0318110883, -0.0011773142, 0.0234052185, -0.0139162075, -0.0045771068, 0.0154191386, -0.0262947418, 0.0076633594, -0.00939338, 0.0347080454, 0.0288269036, 0.0352418944, 0.0648790598, 0.0057538575, 0.0177935082, -0.0176870096, -0.0475654043, -0.0270151887, -0.1084806621, 0.0196838491, 0.0227240436, 0.0525280125, -0.0130902519, -0.0146587081, -0.0447742864, 0.008719272, -0.0115139876, 0.0049413904, 0.0249690525, -0.0440749563, 0.0380969159, 0.0206494909, -0.0296430122, -0.0538929105, 0.1246147007, 0.0176137388, -0.0041742991, -0.0404668972, 0.000793964, -0.0474547893, -0.0540084653, 0.0083958684, 0.0395035669, -0.0071526598, 0.0214132164, -0.0591691732, -0.0408025533, -0.0310898572, -0.0032420319, -0.0176871736, -0.0077162483, 0.0436228588, 0.0616272315, -0.0374260992, 0.0116448971, -0.015734816, 0.026655199, -0.0088148443, 0.0039873435, -0.033657752, -6.201570975e-33, -0.0377488919, -0.026831001, 0.0715870336, -0.0187170058, 0.0528080761, -0.0015642446, -0.0112767452, 0.0080854399, -0.0335496515, -0.0110916998, -0.0041037067, 0.0106925415, 0.0104422132, 0.0262339897, 0.0169705842, 0.0063360003, 0.0299174637, -0.0168236159, 0.0020200268, -0.0203306414, 0.0197978728, 0.0818764642, 0.0725467056, -0.0413085297, 0.0026088026, -0.0192168616, -0.0147699527, 0.0136096478, 0.0167044587, 0.0606376193, 0.0112427641, 0.0393682346, 0.003486837, -0.0989241153, -0.0333137661, -0.0412468575, -0.0474073738, -0.0347090326, 0.0200305078, 0.0198101792, 0.0009457307, -0.0134083359, 0.0346992798, -0.0144473482, 0.0102651296, -0.0293874219, 0.0380663835, -0.0266774502, 0.0112817893, -0.0289826598, -0.0363676064, 0.0250874478, 0.0130375158, 0.0378793702, -0.0113902735, 0.0354188271, -0.0245578196, 0.0097142262, -0.0320377536, 0.0053534391, 0.0489716493, 0.0331763178, 0.0344226174, 0.0060795606, -0.0171263777, 0.037831746, 0.0083622159, -0.0076901419, 0.0139153367, -0.0304700993, 0.0224165563, 0.0592424087, 0.0259728897, 0.0496079847, 0.0051289615, -0.0186229795, -0.0181828327, 0.0180730969, 0.0283188839, 0.0616786703, 0.0358462632, 0.0233089253, -0.0322301462, -0.0364511684, -0.0300895423, 0.0563918762, -0.0372402892, -0.0238172021, 0.0400927365, 0.0046606609, -0.0192795191, -0.0002089929, 0.031023955, -0.0424737819, -0.0331166126, 0.0068501108, 0.0093587153, 0.0115678953, -0.0167449582, 0.0206792857, -0.0801178142, -0.0379191078, -0.0230677743, -0.0176126044, -0.0290604532, 0.0115677258, 0.0047039213, -0.0047239638, -0.0493956879, -0.0163483452, 0.0045657689, 0.005783061, 0.0232936684, 0.033228647, -0.0116996663, 0.0209244583, -0.0064654951, 0.0080439476, -0.0303744879, -0.0244837087, -0.0159436669, -0.0394515693, -0.0041185077, 0.0310980119, 0.0259304084, 0.0522033647, -0.0157808531, 0.0231333915, 0.0338562094, 0.0035355396, -0.0135439951, 0.0631668493, 2.773e-7, 0.0518765002, 0.0779157877, 0.0006135648, 0.0347629227, 0.0024390598, 0.0284611527, -0.0171303395, -0.0135940444, 0.0268594939, 0.0040837564, 0.0366337411, 0.0753955916, 0.0614322461, -0.0296946336, -0.0801460072, -0.0518391803, -0.0554088578, 0.0455911495, -0.046205081, 0.0224656649, 0.0023802693, 0.0612194762, -0.0124632642, -0.0243347157, -0.0018329222, -0.0819567218, 0.0603490584, -0.0179853607, -0.0141333295, 0.0356315449, 0.0309608784, 0.0361367427, 0.0008855391, 0.0412794687, 0.016029641, 0.0254054405, 0.03119497, 0.0783184245, 0.0413831137, 0.0078987973, -0.0033426627, -0.0148632415, -0.0226624981, -0.0337134935, 0.0153919542, -0.0768390968, -0.0392794572, 0.0007719623, -0.0699400455, -0.0094536589, 0.0127359508, -0.015760757, -0.0090436172, 0.007364078, 0.009851411, -0.0300186016, 0.0089728758, -0.0269174092, -0.0116204293, 0.0576840043, -0.0489094928, -0.0163726062, -0.0368315317, -0.0079686875, -0.0026975113, -0.0584075525, -0.0023827816, 2.36489007e-34, 0.0589175113, -0.0011465336, -0.0191453472, 0.045590885, 0.070299685, 0.0189239979, -0.0651069954, 0.0392172784, 0.0155117093, -0.1044397429, -0.0239261128 ]
http://arxiv.org/abs/2310.14806v1
http://arxiv.org/pdf/2310.14806v1
Leveraging Timestamp Information for Serialized Joint Streaming Recognition and Translation
2023-10-23T11:00:27
2023-10-23T11:00:27
Sara Papi, Peidong Wang, Junkun Chen, Jian Xue, Naoyuki Kanda, Jinyu Li, Yashesh Gaur
cs.CL
cs.CL, cs.SD, eess.AS
The growing need for instant spoken language transcription and translation is driven by increased global communication and cross-lingual interactions. This has made offering translations in multiple languages essential for user applications. Traditional approaches to automatic speech recognition (ASR) and speech translation (ST) have often relied on separate systems, leading to inefficiencies in computational resources, and increased synchronization complexity in real time. In this paper, we propose a streaming Transformer-Transducer (T-T) model able to jointly produce many-to-one and one-to-many transcription and translation using a single decoder. We introduce a novel method for joint token-level serialized output training based on timestamp information to effectively produce ASR and ST outputs in the streaming setting. Experiments on {it,es,de}->en prove the effectiveness of our approach, enabling the generation of one-to-many joint outputs with a single decoder for the first time.
[ -0.038825985, 0.0336987749, 0.0161779076, -0.0037045628, -0.037383277, 0.0197181962, 0.0483518876, 0.0102322865, -0.0774862021, -0.013571173, -0.0184368324, -0.0343291052, 0.0554336049, 0.0509241633, 0.0120621007, -0.0566439927, 0.0443924144, -0.009477064, -0.0477443039, -0.0067799622, -0.0289089326, 0.0314200595, -0.032610245, 0.0405827984, -0.0155376084, 0.0068432945, -0.0153176803, -0.0116560757, 0.0255611539, -0.0192576032, -0.0772441402, 0.0226604566, 0.0623737201, 0.0765972957, 0.000001859, 0.0114733269, -0.0542841628, 0.0191996749, -0.043968372, -0.0252029505, 0.0326845124, -0.0255674124, -0.035581138, 0.0465084426, -0.0238454193, -0.0781439394, 0.0566937365, 0.0000991992, 0.0151378727, 0.0418740287, -0.026688844, -0.0592325777, 0.0275329836, -0.0025013231, -0.0508058593, -0.0302675813, -0.0350893401, -0.0258243419, -0.0334348977, -0.0139115937, -0.0068796277, 0.0733184144, 0.0122300498, -0.0286799464, 0.0224373806, -0.0234304946, -0.057938572, -0.0440199338, -0.0746045262, 0.0313838162, 0.002038588, -0.022690719, -0.0020059196, 0.0135746831, -0.0256186817, -0.0590335168, -0.0090407012, -0.0160937887, -0.0018427941, 0.0255732872, -0.003322328, 0.0396245867, 0.0071068243, -0.0398028046, -0.019490594, -0.0353159197, 0.0258559398, 0.0157039333, -0.0362813585, 0.0111579783, 0.0249683894, 0.0077919262, 0.0745588094, 0.0300554615, -0.023324769, -0.018567754, -0.0103641981, -0.0774172693, -0.0458046719, -0.0055147391, 0.0334476158, 0.0751521066, -0.0231507439, 0.0025610307, -0.0350776687, 0.073824577, 0.0012131286, -0.0229781102, -0.0450136513, -0.0398109965, -0.0274490807, -0.0244200602, -0.0338683799, 0.0135557866, -0.0526756234, -0.0296973959, -0.0267818477, 0.0190323405, 0.0199656207, 0.015015264, 0.0083752954, -0.0528110489, -0.0647801384, -0.0038557488, 0.0554059744, 0.1001665518, 0.0106623303, 0.0080738747, 0.0046963617, -0.1029312313, -0.0067925537, 0.0224281978, 0.0492559858, 0.0240522828, -0.0335470214, -0.0020773038, -0.0498971492, -0.0034911481, -0.0091296034, 0.0062933336, 0.0004144867, -0.0001666991, 0.0096414266, -0.0752039403, 0.0632092506, 0.0208807681, 0.0277978927, -0.0016574587, 0.0013964835, -0.0530390032, 0.0536348186, 0.0679513589, 0.0072854161, 0.0383542255, 0.0449431613, -0.0289217476, 0.016882373, 0.0609808899, 0.0539316833, -0.0458413698, 0.0027532668, -0.0280508604, -0.0409866273, 0.0806984678, -0.0219718367, -0.004864471, -0.0298579298, -0.0066591986, 0.0555373915, 0.0084012086, 0.0000907957, 0.0312504023, -0.023959361, 0.0572390482, 0.0387887843, 0.0437259115, 0.0058084186, 0.0352207497, 0.0755055472, 0.0079202028, -0.0185301714, -0.0002068431, 0.047422301, 0.0169960856, 0.0743304938, -0.0087236026, 0.0168435872, 0.0583932735, -0.0400818028, 0.0192799903, 0.0094970874, -0.0304247346, -0.0080433069, -0.0062431293, 0.0621785223, 0.0174803901, -0.0615153424, 0.0557571761, -0.0209355541, -0.0482592545, 0.0400015451, -0.0241310596, -0.0584110357, 0.0533528626, 0.0131301135, -0.0012835106, -0.0221121013, -0.0394534729, -0.0101020681, 0.0491009988, 0.0457371175, -0.0291483495, 0.0640952364, -0.013045866, -0.0085506607, 0.0743583217, -0.0127087906, 0.0788704678, -0.0152570112, 0.0454601981, 0.0173434354, 0.0046726554, 0.0181708429, 0.0039049373, -0.0010165983, -0.0084563112, 0.0359688923, 0.0131545477, 0.0595828071, 0.0409850404, -0.0047813863, -0.0023336143, 0.0418494344, -0.0616093688, 0.0070686564, 0.103250064, -0.0599998757, -0.035482578, 0.0258373618, -0.0006224748, -0.0104115168, 0.0488091335, 0.0116178691, -0.0841996148, -0.0025509857, -0.025543062, 0.0379966758, -0.0240208115, 0.0581230596, 0.0146355378, -0.019388102, 0.0244801976, -0.0264160726, 0.0202905647, 0.0056965761, -0.0016731279, -0.0650959238, 0.009489093, -0.0683374926, -0.000598949, 0.0538295954, -0.0161923934, -0.0303850789, 0.0079889102, -0.0069864118, 0.0043607601, -0.0205283761, -0.068463631, -0.0264405701, -0.0197223201, 0.0430117324, -0.0036395949, 0.0522939786, 0.0423095003, -0.0306261089, -0.031074347, -0.0247462895, 0.0322990417, -0.0075552748, -0.0194569137, -0.0017341274, -0.0318402313, 0.0130786682, 0.005976717, 0.0252191443, 0.0283385348, 0.0064872131, -0.0378119238, -0.080804117, -0.0490317307, 0.0339905806, 0.0306835901, 0.0198517907, 0.0028382654, 0.012402256, 0.0233035497, 0.0376369916, 0.008725292, 0.0158269294, -0.0015636206, -0.0043447977, -0.0245834701, -0.075072147, -0.005012909, -0.0174375791, -0.0022952338, -0.0178166647, 0.005499918, -0.0077846353, 0.0066228951, 0.0027350774, 0.0361194797, -0.071445927, -0.0650475472, -0.0166893285, -0.0375533886, -0.0153995175, -0.0274237003, -0.0436539464, -0.0173997581, -0.0019157632, -0.0460187607, 0.0284623262, -0.0570547432, -0.0470095836, -0.0267072935, -0.0016508421, -0.0185246784, 0.0737071484, -0.0254570749, 0.0245136525, -0.0323215909, -0.0599741489, -0.0055030365, 0.0500558503, 0.0006017695, -0.0551408902, 0.0062751612, -0.036152903, -0.0122154942, -0.0361605212, -0.0484274253, 0.0085963281, 0.0035878988, -0.0158525109, 0.0263072848, 0.0258254334, -0.0296462085, -0.041130133, 0.0424326919, 0.0015876614, 0.0470913351, -0.0042787897, 0.0061921305, -0.0261455346, 0.0377998725, -0.0173837077, -0.0011698343, -0.0281418134, -0.010649452, 0.0467314012, -0.0102334721, 0.1077467576, 0.0044580461, -0.051846046, -0.0139278155, 0.0638835877, 0.0068739187, -0.027259754, -0.0159063078, 0.0383222662, -0.0226534232, 0.0100551676, 0.1106412932, -0.01143103, -0.0349196047, -0.0322596319, -0.0080397436, 0.0095576299, -0.0093890056, 0.0155888591, -0.0815197304, -0.0138174426, 0.0257644728, 0.0454086475, 0.0368408561, 0.0331213847, -0.0324479975, -0.0574830025, 0.0106612435, 0.0617319494, -0.0376074128, -0.0533517823, -0.0408399329, -0.0696951002, -0.0083736954, 0.0314708985, -0.006975519, 0.0113092801, -0.0226678327, 0.030128561, -0.016514156, -0.0447696857, 0.0128717469, -0.024335077, 0.0592391416, 0.058456935, 0.049635902, 0.0040996824, -0.0096889036, -0.0156558212, 0.0252545178, -0.0125603089, -0.0188852493, -0.0427015498, -0.005797423, -0.0140639832, 0.0375074893, 0.0189511832, -0.0060189185, 0.0201199204, -0.0045603006, 0.0547740012, 0.0037143484, 0.0233266931, 0.0516217351, -0.0344898328, 0.0216314644, 0.0354521014, -0.0237824116, -0.0069546131, -0.0026125112, 0.0048871697, 0.044125177, -0.0304817017, 0.0070929267, -0.0195160732, -0.0069913585, -0.0792610347, -0.0428903289, 0.0142678143, 0.0332692042, 0.006985228, 0.0181070995, 0.0165929981, 0.0329898261, 0.0305761229, -0.0161717422, -0.0062923543, -0.0010655037, 0.034134537, -0.0871421546, -0.0125488546, 0.0258870255, -0.0409453362, 0.0101007968, 0.030704027, -0.092797108, -0.0544719882, 0.0120790396, -0.0273192804, 0.0109194266, 0.0549094453, -0.0421450511, 0.0303095188, 0.0126637938, 0.0236676857, -0.0244584288, -0.0162644982, 0.0490260869, 0.0014653188, -0.0277102534, 0.0152780963, -0.0418647863, 0.0201368742, -0.0557737537, 0.0096611399, 0.0002760195, -0.0220197681, 0.012383312, 0.0421932228, 0.0527882762, -0.023647787, 0.022280179, 0.0248278826, 0.0232897792, -0.0129111167, 0.0502007827, -0.0549123921, 0.0223379359, 0.0166616663, 0.0001004272, -0.0076049878, 0.04147771, 0.0350838304, -0.0677899271, 0.0085922917, 0.0326204449, -0.0017932589, -0.0310549401, 0.0118673146, 0.0115405498, -0.0321194232, 0.0073546376, 0.048848968, -0.0080738654, -0.0496661663, 0.0067765233, 0.0038516077, 0.0455852486, 0.0453691557, 0.0190889966, -0.02059591, 0.0141233699, 0.001096047, -0.0155521203, 0.0646025911, 0.0183931757, 0.0930262059, 0.0026867539, 0.0290468857, -0.0423900448, 0.0653104037, -0.0336770788, -0.0241584256, -0.0224139728, -0.0165748112, -0.0189740844, 0.0383761898, 0.050704103, -0.0321726017, 0.0018284338, 0.0036882008, -0.004786259, -0.0212555807, -0.022437837, -0.0398298874, -0.058411736, -0.032143794, -0.0305238962, 0.0254321825, -0.0113078281, 0.0356742367, -0.025461264, 0.0186255798, -0.0416786671, -0.0029379101, 0.0306916479, -0.0318704844, 0.0011293784, -0.0156325568, -0.0232803505, 0.0661437362, 0.0043945764, -0.0141594615, -5.746371441e-33, -0.0278878491, 0.0184349436, -0.0133728003, 0.0100710597, -0.0280089304, -0.0039508385, -0.0215507951, -0.0167477857, -0.0218286905, -0.0381272584, -0.0045461697, 0.0205963366, 0.0488876626, 0.0035417026, 0.0084987003, 0.0120791439, 0.0932917148, -0.0414663851, -0.0069556083, 0.0364009961, 0.0646592975, 0.0171112381, 0.0420074761, -0.0078442087, -0.031961523, 0.0041756937, -0.0068323785, 0.0091712503, 0.0452429652, -0.0070005092, 0.0320345946, 0.0126398234, -0.0066203065, -0.0699883997, -0.0362493843, 0.0326085091, -0.1171286628, 0.020779524, -0.0185653977, 0.0854918212, 0.0259649083, -0.0130890077, -0.0101663172, -0.0042989277, -0.0167925842, -0.0345587246, -0.0244212672, -0.012370606, -0.0337869115, -0.0851939023, -0.0026458763, 0.0222034249, -0.0258405898, -0.0070423945, 0.0739416704, 0.0692092404, -0.0004225351, -0.0631138533, -0.0788735673, 0.0709527135, 0.0096961977, 0.0336893313, 0.0492707938, 0.0096197044, 0.0015571347, -0.0148188649, 0.0018674548, -0.0758041441, 0.0134453131, 0.0210650023, 0.017010035, -0.0187811144, 0.0227679387, -0.0323572345, 0.0428242236, -0.0502834618, -0.0033993174, 0.0050015361, 0.0435345098, -0.0149551947, 0.0363773406, 0.0182149839, 0.0132627403, 0.0183945969, -0.0488499254, -0.0081129335, 0.0106783323, -0.0082926266, 0.0118645318, 0.033746466, 0.0068724719, 0.009174685, 0.113974385, 0.0197475962, 0.0033417321, -0.0266435836, -0.0002466516, 0.026289016, -0.0390872024, 0.020978447, -0.0215589236, -0.0310319271, 0.0499977656, 0.0147316549, 0.01417524, -0.004231751, 0.0255880281, 0.0894462466, -0.0563786291, 0.0023250931, 0.0056741098, 0.0165878125, -0.0187998023, -0.0055317511, 0.0586136281, -0.0114218211, 0.0104555357, 0.0108011533, -0.0308607239, 0.0297305863, -0.0183081776, -0.0008460803, 0.0278075542, 0.0522321947, -0.0329142995, 0.0320434049, -0.0485569909, 0.034429118, 0.0541012697, 0.0254840571, -0.0431392007, 0.006460845, 2.685e-7, -0.0045768037, 0.0155422064, 0.0418839753, -0.0156768281, 0.0296407323, -0.002337534, -0.008025907, 0.0170298759, 0.0109467022, 0.0680931062, 0.0039339848, -0.0322412774, 0.121599786, 0.044089403, -0.0744124949, -0.0576293357, -0.0674229041, 0.0395193957, -0.0277584475, 0.0021515426, 0.028510252, 0.065553382, -0.0267932154, 0.0142499292, 0.0218477454, 0.002457404, 0.0415546447, 0.0076279524, 0.039396923, -0.0110267326, -0.005132338, -0.0162738506, -0.0492649004, 0.0001674559, -0.0576568134, 0.0247746632, 0.0158312861, 0.0402840823, -0.0327219255, -0.0291178208, -0.0169195104, 0.0114175677, -0.0595400147, 0.001070218, 0.0326817371, -0.0306334421, -0.0113115469, -0.0034749531, -0.0592260212, 0.0436342582, -0.0370884202, 0.0102493465, 0.003040435, 0.0458988659, 0.0131419003, 0.0006542583, -0.0250373632, -0.0193836093, 0.0001908134, -0.0463419445, -0.0451462418, -0.0249805152, -0.0452208593, -0.0030124679, -0.0151621727, 0.0075938813, -0.0271326471, 2.314409935e-34, 0.0088322302, -0.0034355132, 0.0019655591, 0.0161356144, -0.0101781292, -0.0465060361, -0.0187740661, 0.0468446128, -0.0326224156, -0.0186133012, -0.0431299321 ]
http://arxiv.org/abs/2310.14805v2
http://arxiv.org/pdf/2310.14805v2
Cross-Modal Conceptualization in Bottleneck Models
2023-10-23T11:00:19
2023-12-17T09:40:52
Danis Alukaev, Semen Kiselev, Ilya Pershin, Bulat Ibragimov, Vladimir Ivanov, Alexey Kornaev, Ivan Titov
cs.CL
cs.CL
Concept Bottleneck Models (CBMs) assume that training examples (e.g., x-ray images) are annotated with high-level concepts (e.g., types of abnormalities), and perform classification by first predicting the concepts, followed by predicting the label relying on these concepts. The main difficulty in using CBMs comes from having to choose concepts that are predictive of the label and then having to label training examples with these concepts. In our approach, we adopt a more moderate assumption and instead use text descriptions (e.g., radiology reports), accompanying the images in training, to guide the induction of concepts. Our cross-modal approach treats concepts as discrete latent variables and promotes concepts that (1) are predictive of the label, and (2) can be predicted reliably from both the image and text. Through experiments conducted on datasets ranging from synthetic datasets (e.g., synthetic images with generated descriptions) to realistic medical imaging datasets, we demonstrate that cross-modal learning encourages the induction of interpretable concepts while also facilitating disentanglement. Our results also suggest that this guidance leads to increased robustness by suppressing the reliance on shortcut features.
[ 0.0053208321, 0.067069456, -0.0036826709, 0.0070108557, -0.0059056613, 0.0414681025, 0.0147005022, 0.0259558689, -0.0232453123, -0.0114415055, 0.0007772704, -0.0289510619, 0.0015527541, 0.0677251592, 0.0107843643, -0.1169548705, 0.0099183014, -0.0169461258, -0.0175164863, -0.0267314222, 0.0078789666, -0.0358101614, -0.0014701193, -0.0037310377, -0.0420447066, -0.0097654127, 0.0235517453, -0.0027362648, 0.0036933976, -0.0272663906, -0.0432717316, 0.0733434856, 0.0409892537, -0.0125400033, 0.0000024295, -0.0150823388, -0.0239451174, 0.011964553, -0.0451838784, -0.008367084, -0.0022781421, -0.1229781657, 0.0273285694, -0.0491842739, 0.0134427641, -0.0536861829, 0.0510708652, 0.1303338856, 0.0258440264, 0.018642392, -0.044491224, 0.0231414903, 0.0189037044, -0.0360832736, 0.0423507541, -0.0301466566, 0.0180979539, 0.0237245876, -0.0254517309, 0.0205230881, -0.063398093, 0.0375656188, 0.0245620012, 0.030393891, 0.0590033866, 0.0790956989, 0.0298881792, -0.045517154, -0.0015838696, 0.0646234751, 0.0200581942, 0.005117726, 0.0084639834, -0.0397297442, 0.0076691499, 0.075544633, -0.0515941791, -0.0362586379, -0.0209397227, -0.0066617029, -0.0301961396, 0.0198032781, 0.0311900396, -0.011224241, -0.0024666402, -0.0424729548, -0.010461634, -0.0073790699, 0.0343858711, 0.0319350511, -0.0359189063, -0.0312168356, -0.0217905268, -0.0054759476, -0.0056173536, 0.0143376766, -0.0294032861, 0.0103541911, 0.0372656696, -0.006902948, -0.010677279, -0.0274168588, -0.0502857268, 0.0774251819, -0.0121209305, 0.0146416891, -0.0485069677, 0.0459795706, -0.0120841516, 0.0229254644, -0.0598484389, -0.0026213129, 0.0128812836, 0.0113171125, 0.0383907445, -0.016831208, -0.0269030686, -0.0013978145, -0.0121242506, 0.0098333042, -0.0183187686, 0.032086879, -0.0594565384, -0.0049390369, -0.0281256568, 0.0126764439, -0.0211516377, 0.0448667891, -0.0529998019, -0.02825021, -0.009192883, 0.0212455783, -0.0217093062, 0.0062793191, 0.0024382945, 0.0320230126, -0.0257293917, 0.0051529869, -0.044874873, -0.0733839869, -0.0407870263, -0.0459999554, 0.0468390845, -0.0471523702, -0.01812087, 0.0220319424, 0.0396902189, -0.0068848059, 0.0026154409, -0.0363008082, -0.0624429621, 0.0780699402, -0.0226073712, -0.0123199308, 0.0174518824, 0.0521051809, -0.0159267485, 0.0545971021, -0.0049824375, 0.0347457305, -0.0112943416, -0.0317783058, -0.0005636928, 0.0023748612, 0.0302929301, -0.0070452774, -0.0526246503, -0.0116050448, 0.0317622386, 0.0576756708, 0.0108378446, 0.0068379412, -0.0461947285, 0.0196699463, 0.0202607475, 0.0057172608, 0.0531113036, 0.0249861646, 0.0007254455, -0.0068539237, -0.0377888456, 0.0416119881, -0.0297456849, 0.061060071, 0.0310168546, 0.0200451352, -0.0090532461, -0.0056095384, -0.0395790227, -0.0664619133, -0.0114110503, 0.0011260168, -0.0590711646, 0.0043087602, 0.0839658231, 0.0118709141, 0.0120894164, 0.0118964687, 0.0409056395, 0.0427162908, -0.0275742654, -0.0308334604, -0.0307571441, 0.0280975457, 0.0082026627, -0.0158214476, -0.012820906, -0.0105752349, 0.0341486819, 0.0291245934, 0.0287494846, -0.001871928, -0.0016201314, -0.0165540017, -0.0583646744, 0.0282824337, 0.013349493, -0.0107970135, -0.0293404013, -0.0015688167, -0.0279293265, -0.0340582393, 0.0207039528, 0.0572090819, 0.0034442225, -0.0020170577, -0.0085363323, 0.0405006446, 0.0171161853, -0.0212675761, -0.0282695182, -0.0444382951, 0.0127798878, -0.0265343618, -0.0165571589, 0.0235892143, -0.0527448542, -0.0009190732, -0.0278668217, -0.0548169911, -0.0219640788, -0.0209224559, -0.0066857222, -0.0472094938, 0.0131201278, -0.0069409674, 0.0107166283, -0.0334838703, -0.0194385406, 0.0313555822, 0.004223214, 0.0090174023, 0.0705227926, -0.028102519, -0.014447799, 0.0316239037, -0.0243274346, 0.0313724838, 0.0320386924, -0.0123038422, 0.0124757653, 0.0076125343, -0.0030465524, -0.0102785788, -0.0305482876, -0.0254933499, -0.0110554025, -0.0383404307, -0.0266925041, 0.0151424669, -0.0406131111, -0.0164320916, -0.0079697641, 0.0043358644, -0.0482255556, 0.0142178759, 0.0391253568, 0.0187305622, 0.0246153232, 0.023257507, 0.0495520793, -0.0167093817, -0.000160868, 0.0247534811, -0.0017396495, 0.0444057211, 0.0270426478, -0.0580709539, 0.0241094902, 0.0477006733, 0.028006075, 0.0107129989, -0.0177104417, 0.0033914493, 0.003410076, -0.0044237892, -0.0371417217, 0.0453206748, -0.024877293, 0.0376171507, 0.0356977656, 0.001080535, -0.0224780757, -0.016322555, -0.015561169, -0.0158149805, 0.0025491235, -0.0334500447, -0.0199835878, 0.0843674913, 0.0116465259, 0.0021938307, -0.0640814453, 0.0285909921, -0.005270347, -0.0265455879, -0.0969836861, 0.0295279287, 0.0113348728, 0.0281684753, -0.0439903028, -0.0464643463, 0.093817316, -0.0025531903, 0.0260832682, 0.0316020176, -0.018652603, -0.0168450139, 0.0289975516, 0.0244968142, 0.0255903136, 0.1055338085, 0.0179957654, -0.04929775, 0.0358725265, 0.0411873534, 0.0040394105, 0.0152383791, -0.030652687, -0.0092902835, -0.0175986141, -0.0381832123, -0.0396070257, -0.0199839734, 0.0335463323, 0.0116854357, -0.0187198408, 0.0208205581, -0.0625972822, 0.0019553048, 0.0095914705, 0.0182656124, -0.0182949752, -0.0273381919, -0.0092297848, 0.0618697926, 0.0287910551, 0.0182054304, -0.0574702322, -0.0478246845, 0.0197293293, 0.0543203317, -0.0174449198, 0.0189994536, -0.0144167347, 0.0379447229, -0.023354914, 0.0305642001, -0.0319194272, -0.0052157473, 0.0131957978, -0.0228168145, -0.0190529879, 0.044987075, -0.0077073807, -0.0290380605, -0.0217528287, 0.0292696655, 0.0567841418, 0.0079365717, 0.0048201885, -0.020421721, -0.0381550975, -0.0259039551, 0.0189028457, -0.007965601, 0.0310383998, 0.0102817733, -0.0101813721, 0.0413116477, -0.0069029774, -0.0850983337, -0.0346816629, -0.0439222902, -0.0150821945, -0.0234854706, -0.0504134595, -0.0456596799, -0.0092806686, -0.0006935488, 0.0213677213, -0.0218477678, -0.0779029503, -0.0162742995, -0.0310939364, -0.0015821332, -0.0078957258, -0.0109215649, -0.0299552921, -0.0282895863, -0.0363903902, -0.0237573273, 0.0284021627, 0.0171382353, 0.0839281827, -0.0116419373, -0.0120628476, -0.003861852, 0.053862147, 0.0075913263, -0.0325733609, -0.0193048883, 0.077660419, -0.00035951, 0.0059136949, -0.0545110591, 0.0211086366, 0.0154517489, 0.0420198441, 0.0068988865, -0.0282936264, -0.0280965287, -0.0047740154, 0.0606714003, 0.0191080719, -0.0261593051, 0.0583007857, -0.0510067642, -0.043943733, -0.0297738295, -0.0224444512, -0.0147590116, 0.0188243687, 0.0429455563, 0.0360755846, -0.0728773549, -0.0153601868, -0.064748317, 0.0927292854, 0.0441985577, -0.027309034, -0.0049597831, -0.0466237329, 0.0666211173, -0.0642777532, -0.01454092, 0.0274902638, -0.0233615302, -0.0102811186, -0.0237649698, 0.0155898603, 0.0151189771, 0.0758162215, 0.035654664, -0.0568089262, 0.0800338387, 0.0531370603, -0.036905773, 0.0036927089, 0.017570667, -0.0489788987, -0.0312996954, -0.0076839123, -0.0041046855, 0.043162819, 0.0153685445, -0.0511798933, -0.1009254679, -0.0069462266, 0.0298954062, -0.0263264962, 0.0737121329, -0.0369210243, -0.0344890021, -0.0239885133, -0.0032242869, 0.0459492952, 0.0067512514, 0.0024351666, -0.0313788503, 0.0420251414, 0.0039025072, -0.0052194768, 0.0265786089, -0.0027542799, -0.0004945397, -0.0173373409, 0.0036136222, 0.0358107798, -0.0028330411, -0.0140803242, -0.0000017566, 0.014738556, -0.0154137369, 0.013527452, 0.0117063904, -0.0092218993, 0.0626293868, 0.0239514671, 0.0512340404, -0.0317909978, 0.0123991566, -0.0381089747, -0.025374731, -0.0376926064, 0.0182907358, 0.0246888977, -0.0165699739, -0.0148837315, -0.0458252057, -0.0107372049, 0.0080410084, 0.0311285052, -0.008766856, 0.0155845089, 0.070973523, 0.0118744057, 0.0299388394, 0.0038306632, 0.0854030326, 0.0467093475, 0.0376662016, -0.0233835876, -0.0008097459, -0.071856983, 0.0063426374, 0.0750506744, 0.0044020223, -0.0099806199, 0.0332677662, -0.067199111, -0.0285473671, 0.0327338204, -0.001816929, 0.0039263978, 0.0177622642, 0.0359635539, 0.0486069508, 0.0038056639, -0.0620795265, -0.0186196901, 0.0050512427, 0.0108627575, -0.0013662998, 0.0141205937, -6.596032349e-33, -0.0222915299, -0.0067820279, 0.0273627415, 0.0105374493, -0.0114419395, 0.0420264415, -0.0216470864, -0.0035113904, 0.0271182619, 0.0348674916, -0.0102805216, -0.0205705464, 0.0072601456, -0.0019956646, 0.0029152913, 0.0172445755, 0.0647103041, -0.0302954372, -0.0086394427, 0.0267142244, 0.0208910946, 0.0161964707, 0.0046116207, -0.1133990362, -0.0121334894, 0.0095480867, -0.0111948745, 0.0027701622, 0.0129117155, 0.051722303, -0.0714642704, -0.0008710799, 0.0378578678, -0.086666204, -0.0035527169, 0.0500374921, -0.058149267, 0.0117849987, -0.0151880328, 0.0228402968, -0.0597745776, -0.0375765115, 0.0580314547, -0.0319994576, 0.0217824969, -0.0241951458, 0.0765116438, -0.0455324166, -0.0300817564, -0.0194743648, -0.0558945835, 0.0455371588, -0.01884971, -0.0065170662, 0.0611420535, -0.0084496951, -0.007152346, 0.0215770397, -0.0269228127, 0.0448138118, 0.0485843718, 0.0431442522, 0.0437457077, 0.0203257184, -0.0078979684, 0.0869398266, 0.0481275879, -0.0596472397, 0.0098104551, -0.0007622161, 0.0176785812, 0.0658939183, 0.0145832207, 0.1067315415, 0.1142205596, -0.003883539, -0.0770677924, 0.0400634892, -0.1298014075, 0.0431199968, -0.0111829489, -0.0067231813, -0.0252861325, -0.0146705033, -0.0403576642, -0.0188027862, -0.0247591771, -0.0074913171, 0.0125137875, 0.0462906882, -0.0476096831, -0.0021646167, 0.0084384894, -0.0054738163, -0.0026013569, -0.0354944989, 0.0486718751, 0.050904654, -0.0012418143, -0.0350792333, -0.067656897, -0.0517726578, 0.0635706857, -0.002358441, 0.0618566126, 0.0063557164, 0.0532695651, -0.0200837646, -0.0254175402, -0.0114810839, -0.0131536685, -0.0129312072, -0.0185076632, -0.0198422689, 0.0558446273, -0.0048742942, -0.0370505787, 0.0069376533, 0.0085522179, 0.0124462135, -0.0196355227, -0.0234384667, -0.0258708727, 0.0242405441, -0.0054549258, -0.0310179144, 0.0039428044, -0.0830580592, 0.0771098733, -0.0665606707, -0.0211269483, 0.0520274714, 3.03e-7, -0.0074768304, 0.038727846, -0.0033065155, -0.0505115539, 0.0571736768, 0.0656197444, -0.038441591, -0.0020367049, -0.0233951919, -0.0874174833, 0.039801646, 0.0402309038, 0.010338041, 0.0289660078, -0.0390146449, 0.0210678466, 0.0346686691, 0.0140671404, -0.0244466513, -0.0279945657, 0.0493883044, 0.0608809367, -0.057506457, -0.0390834138, 0.0452316478, -0.0088773612, 0.0752785355, -0.0579359494, 0.0035153667, -0.0073104985, 0.0020449068, 0.0247894786, -0.0307377093, 0.1018610597, 0.0041227224, -0.0337605663, 0.0199440904, 0.0129073812, -0.001108703, -0.0181810185, -0.0233187098, 0.0694934353, -0.0031962493, -0.0091009513, 0.0547669791, -0.0784074515, -0.0312366243, -0.0036829659, -0.0063123386, 0.0135350823, 0.0481631048, 0.0013065947, -0.0211312231, 0.0029115933, 0.0074312007, 0.0096253464, -0.0217988454, -0.037954025, 0.0163897816, 0.0297236666, -0.0389254093, -0.0082049482, -0.0015068921, -0.0267213043, 0.0250723846, -0.0163517892, -0.0540943183, 2.661767827e-34, -0.0019360619, -0.0165656265, 0.0228481703, -0.0246608071, -0.020817358, -0.0208736602, -0.024738377, -0.0086528482, 0.0033066256, -0.0581263565, 0.0261338223 ]
http://arxiv.org/abs/2310.14804v1
http://arxiv.org/pdf/2310.14804v1
Large Language Models can Share Images, Too!
2023-10-23T10:59:21
2023-10-23T10:59:21
Young-Jun Lee, Jonghwan Hyeon, Ho-Jin Choi
cs.CV
cs.CV, cs.AI, cs.CL
This paper explores the image-sharing capability of Large Language Models (LLMs), such as InstructGPT, ChatGPT, and GPT-4, in a zero-shot setting, without the help of visual foundation models. Inspired by the two-stage process of image-sharing in human dialogues, we propose a two-stage framework that allows LLMs to predict potential image-sharing turns and generate related image descriptions using our effective restriction-based prompt template. With extensive experiments, we unlock the \textit{image-sharing} capability of LLMs in zero-shot prompting, with GPT-4 achieving the best performance. Additionally, we uncover the emergent \textit{image-sharing} ability in zero-shot prompting, demonstrating the effectiveness of restriction-based prompts in both stages of our framework. Based on this framework, we augment the PhotoChat dataset with images generated by Stable Diffusion at predicted turns, namely PhotoChat++. To our knowledge, this is the first study to assess the image-sharing ability of LLMs in a zero-shot setting without visual foundation models. The source code and the dataset will be released after publication.
[ 0.0343557522, 0.0383044071, -0.0312358998, 0.0636522919, -0.0554794818, 0.0034115941, 0.0345036052, 0.0501723625, 0.0387006886, -0.0271306466, -0.0305922236, -0.087851733, 0.0014517478, 0.0478319079, 0.0347020403, -0.0995805264, 0.0113629922, -0.0441622548, -0.0069760811, -0.0212640949, 0.040785376, 0.0018638911, -0.0010932119, 0.0385852121, -0.0225177594, -0.024718117, -0.0376076177, 0.0311632268, -0.0226074066, -0.0222120695, -0.0634041652, 0.0788917392, 0.0204183534, 0.0246884469, 0.0000019146, -0.0359075554, 0.034880694, -0.0361583456, -0.0205450673, 0.0038774542, 0.0535766147, -0.0267704334, -0.0216336735, -0.0061211758, -0.0329238288, 0.0159265585, 0.0862098858, 0.0363416113, 0.0761407688, 0.0407247543, -0.0253590103, 0.0026024126, 0.0052210563, -0.0326802693, 0.0496919341, -0.0205850136, 0.0066483677, 0.0001072941, 0.0310738329, 0.0287085939, -0.0414108932, 0.0556096844, 0.0247113984, -0.0411823802, 0.0044202409, 0.069801569, -0.0213777367, -0.0841400474, -0.0480557047, 0.0902841613, 0.0003292595, 0.0094329715, 0.0082193026, -0.0215470325, 0.0059582791, 0.0350265428, -0.099405624, 0.0300725754, 0.0076348823, 0.0106783118, -0.0638331324, 0.0075570522, 0.0088650212, -0.0046811323, 0.0240803286, 0.005260082, 0.0334479809, -0.0026790074, -0.0484624431, 0.0027968008, -0.0359431095, -0.0945612267, 0.002857835, 0.0243271347, 0.0026751591, 0.035857562, -0.0524408855, 0.018667195, 0.025189409, 0.0016327926, 0.0382195599, 0.0174045619, -0.0269925352, 0.0606446899, 0.0171912815, 0.0372287929, -0.0161217693, 0.0060458905, -0.0179011021, -0.0064900946, -0.0439026095, -0.0263750367, -0.0577882938, 0.013622826, -0.0256770886, -0.0680353791, -0.0395037234, 0.0664125755, 0.0061824284, -0.0060110302, 0.0316094905, -0.0133578405, -0.0124443639, 0.0096493261, -0.0023006713, 0.019318454, 0.0010259215, -0.0482931584, 0.0180133842, -0.0873580202, -0.0030840803, 0.0091304835, 0.019772226, -0.0193758998, -0.0459731966, 0.071111165, -0.0191506147, -0.0367397033, 0.0384498127, -0.032428652, -0.0210558232, -0.045874279, 0.0170661565, -0.0482197329, 0.0361417495, 0.0100847455, 0.0126016214, -0.0018076822, -0.0051446287, 0.039263919, -0.0372359902, 0.0919061378, -0.0134440176, 0.026850516, 0.0108666392, 0.0466870554, -0.0206396915, 0.0700092688, 0.00755121, 0.0322426111, 0.0506264195, -0.0246188063, 0.0343060978, 0.090804778, 0.0153349144, 0.0303381924, -0.011113124, -0.0175698735, 0.0108952783, 0.0033670177, 0.0063737272, 0.0675964132, -0.0630776212, -0.0244078245, 0.1004444808, 0.0955310687, -0.0038920741, 0.00250624, 0.0328413546, 0.0342754312, -0.0168744363, 0.0222686604, -0.0536192246, 0.0524451919, 0.0023072208, 0.0126832249, 0.017270796, 0.0079813693, -0.0573697463, 0.0022131945, -0.0039231447, -0.0123474048, 0.0278569199, -0.0019934492, 0.0048075784, 0.0193027128, -0.0359743908, 0.054099597, 0.0061184699, -0.0437432081, -0.0197922569, -0.0466012657, 0.0410045907, 0.0950539187, 0.0514172614, 0.0520228371, 0.0037264447, -0.0017328749, 0.0389707796, 0.0282404087, 0.0340128541, 0.0097267115, 0.0112947719, -0.0448878482, -0.0071590911, 0.0035385098, -0.0159308035, 0.0104571506, -0.0160548016, 0.0196965653, -0.0013749591, 0.0329809077, 0.0180029776, -0.0063355211, 0.0098506166, 0.0098258359, -0.0304893702, 0.0151390536, -0.0134868817, 0.0080560902, -0.0019802605, 0.004685251, -0.0002527419, 0.0243925583, -0.0202394649, 0.0442796163, -0.0946329683, -0.0432110615, 0.0198495518, -0.0120098423, -0.0192287229, -0.0214209929, -0.0250166543, -0.0350066498, 0.0320245661, -0.0111866007, 0.0425607115, -0.0494376421, 0.0251087565, 0.0286819413, 0.0400801934, 0.0224738717, 0.041380614, -0.0077809258, -0.0155947525, 0.0459018908, 0.0246851258, -0.0067878319, -0.0548016056, -0.0224019084, 0.0339689441, -0.0058048982, 0.0083365655, 0.0149893677, 0.0379054956, -0.0466971062, -0.0021333939, -0.1199349687, -0.0295204856, -0.0181374326, -0.0140399821, 0.0186151862, 0.0360612571, -0.0113640819, -0.0208073482, -0.0584407561, 0.028411556, 0.0263384841, 0.0456352606, 0.0292086042, -0.0047534266, -0.0171213709, -0.0260684472, -0.0225206893, 0.0244935993, 0.0494489968, 0.0003329806, -0.0287225004, -0.032569807, 0.0385621041, -0.0122430595, 0.0330322422, -0.015438538, -0.0223386604, 0.0176434424, -0.0109568955, 0.0310681965, 0.0238698628, 0.0073612584, 0.0198327079, -0.025589617, -0.0349558257, -0.0430549756, -0.006472249, -0.0121986158, -0.0150982719, 0.0073090894, -0.0364824533, -0.0089104259, 0.0524145104, -0.0105140405, 0.0315021835, -0.0788654462, 0.0207838397, 0.0023940913, -0.0284753498, -0.0523329973, -0.0084252479, -0.0155621711, 0.0263043102, -0.0480919965, -0.0938318372, 0.0422021113, -0.0610821657, -0.0562179871, 0.0476239286, -0.0063488698, -0.0071569518, 0.0876179785, 0.0425240658, 0.0047890507, 0.0489034876, -0.0046116007, -0.0305906348, 0.0045479806, 0.0234228838, -0.0039672265, 0.0036126669, -0.0535429865, 0.0088409334, -0.0157018416, -0.0195451137, -0.0066134734, -0.0715889856, -0.0262368787, -0.0081141749, -0.0294979345, -0.0287989024, 0.0524174199, 0.0557639971, 0.0075389035, 0.0014829078, -0.019912919, -0.0041773384, -0.040167354, 0.0346606448, 0.0720136538, -0.0313282683, -0.0708875805, -0.0585039705, 0.0640403256, 0.0721251592, 0.0301244818, 0.0031923742, 0.0002938728, 0.0082668597, 0.0134882005, 0.0534321927, -0.0528961532, 0.0422722325, 0.0695112124, -0.0113874925, 0.0056147221, 0.0972000137, 0.0211717263, -0.0576432347, -0.0176133756, -0.0074199568, 0.0466028787, 0.0127213756, -0.0061246995, -0.119105421, -0.0242935754, 0.0010160108, -0.0493846871, 0.004429664, -0.0058910684, -0.0393741131, -0.1114738435, 0.0517959967, -0.0045297132, -0.0187513828, 0.0267829821, 0.0153109692, -0.0014800146, 0.0069987685, -0.0088361297, -0.0241125114, -0.0153677044, -0.0111137563, -0.0104308901, 0.0120875305, -0.0218941811, 0.0432030261, -0.0347154625, 0.0359802358, 0.0433731899, 0.0251767877, 0.0331107639, -0.0467023812, 0.0132809803, -0.0032342435, 0.0125764692, -0.0126918936, 0.0735912025, -0.0048069386, -0.0169388689, -0.010593568, 0.0128343711, 0.0221081171, -0.0279286988, -0.0189640969, 0.0589363649, -0.0253987573, -0.0246225018, -0.0027014245, 0.0126907425, 0.0284740292, 0.0618161522, 0.0423400924, -0.0420130417, -0.0308255572, -0.0208217856, 0.0107477605, -0.0334213264, -0.0429403596, -0.0214388277, -0.0031886918, -0.0302039012, -0.069581531, -0.0230131727, 0.0199097022, 0.0187635068, -0.005555856, 0.0022694252, 0.0006031154, 0.00469568, 0.0134515604, 0.00156745, -0.0698522478, 0.0176338442, -0.053150855, -0.0119461836, 0.0109848585, -0.0320486426, 0.0122512598, 0.0203682706, -0.098757945, -0.071911782, -0.0515794829, 0.0487032682, 0.0269382261, 0.0371669643, -0.0135349091, -0.0732250586, 0.0486624725, 0.0166204311, 0.011047258, 0.010478355, 0.0250259638, 0.0142055424, -0.0039957818, 0.0309876818, -0.0064004851, 0.005636394, 0.0000536609, -0.022440441, -0.0538745262, -0.0393541642, -0.0055602142, 0.0130725084, 0.0130719235, -0.0104488488, 0.0279241111, -0.0032000067, 0.0164421909, -0.0407819636, 0.0212611835, -0.0746025443, -0.0000786136, 0.0095018921, -0.0181966182, 0.0060541159, -0.0329159871, -0.0411200449, 0.0218593813, -0.0398901775, -0.013037106, 0.0240424816, -0.0192331281, 0.0269407183, 0.0058770981, 0.0236243848, 0.0181403253, -0.0086189723, 0.0118938005, -0.0218977798, 0.0969074816, 0.0033262693, -0.0424689278, 0.0207665414, 0.0545525625, -0.0295892414, -0.0634242594, 0.0012298346, 0.0703329146, 0.0601104908, 0.0107024061, 0.0305133313, -0.0439693891, 0.005352119, -0.0147127379, 0.0441571623, 0.0028724985, -0.0862920359, 0.0459185988, 0.0180225335, -0.0062043727, 0.0080932388, 0.0578072816, -0.0014981678, 0.0134844584, 0.020504538, -0.0160239935, -0.0305241589, 0.0182102323, 0.0511985794, -0.0278245732, -0.0021238432, 0.0308703184, -0.0478782952, -0.0707609802, -0.0077473153, 0.0109237619, -0.0091797682, 0.0000526678, 0.0620452501, 0.0335878171, 0.0048351879, 0.0089643011, -0.0174693801, 0.0004342309, -0.0071377154, 0.0001473582, -0.0320311114, -6.15160769e-33, -0.0094182007, -0.0276789758, 0.0367055871, -0.0101001421, -0.0140896505, -0.0006898814, -0.0487509854, 0.0038458458, 0.0159657877, -0.0126050804, -0.0339479931, 0.0144563159, 0.0170006454, 0.0307265166, -0.018555833, -0.0127186421, 0.0339567475, -0.0222949404, -0.0227355994, 0.0447633229, 0.0168427993, -0.0037237024, 0.024289716, -0.0187613424, -0.0056799352, -0.0273420829, -0.0165727492, 0.0024461043, 0.0243983958, 0.0575708896, -0.0251629651, 0.0162291899, 0.0152746886, -0.0252633486, -0.0357286297, 0.0679216459, -0.0270234104, -0.0208426993, 0.0432665981, 0.021553304, -0.0635844767, 0.0004651689, -0.0024642283, -0.050872121, 0.009264498, -0.0046895454, 0.0073481202, 0.011518036, -0.0104909241, 0.0467886813, -0.0388935357, 0.0066887201, -0.0077106617, -0.060724318, 0.0377971753, 0.0409652069, 0.029995149, 0.0096442839, -0.0348821878, 0.064677909, 0.0058997874, 0.0231052376, 0.0797580779, 0.0218044873, 0.0404177047, 0.041829031, 0.029991908, 0.0150351459, -0.0066657481, -0.0117857037, 0.0006535685, 0.0628889799, 0.0196968447, 0.0383573472, 0.0161582902, -0.0140930638, 0.0126448758, -0.0111170849, 0.001873745, 0.0174369384, 0.0098579181, 0.0405601747, -0.0246529393, -0.010930717, -0.0207869653, -0.0285972767, -0.0514179058, -0.0631488338, 0.0271317586, 0.0212184954, 0.000242555, 0.0109246429, 0.0802351609, -0.0340046138, -0.0517346412, -0.0044012354, -0.0261203963, 0.0629425645, -0.0042444831, 0.0097309044, -0.0399722382, -0.0334600359, 0.0517855883, 0.0237615909, 0.0045105708, 0.0653929412, 0.0407507382, 0.0139582818, -0.0446338542, -0.0093638999, -0.0365680419, 0.0301111955, -0.0211583804, -0.021328982, 0.0299671851, -0.0035524315, -0.0764057115, 0.0286043957, 0.0017944919, -0.0374315642, -0.0443314239, -0.0319253206, -0.0331889503, 0.0078393584, -0.0356144346, 0.0175203253, -0.0564442128, 0.0101340879, 0.0551394187, -0.0438928567, -0.022122981, 0.0173559003, 2.652e-7, -0.0153274834, 0.0099837091, 0.0219989177, 0.0382758342, 0.0418388434, 0.03196612, -0.0329989791, 0.0348316617, 0.0139810815, -0.0327394567, 0.0080457767, 0.033701133, 0.0487254113, -0.0203049462, -0.0897443071, 0.0093233129, -0.0899303555, -0.0285165589, -0.0282426961, -0.0062009473, 0.0562936999, 0.0877839997, 0.0077051721, -0.0068457816, 0.0349263996, -0.0364657454, 0.0824180543, -0.0476894565, -0.0245571472, -0.0134045929, 0.0076278266, -0.0031532696, -0.012295003, 0.0213747211, -0.015309792, -0.028142076, 0.0101856804, 0.0204427671, -0.0084713753, -0.0100478344, -0.0127536785, -0.0193528198, -0.0420338213, -0.0547179356, 0.0697326437, -0.0537506007, -0.0377460793, -0.0155859245, 0.0018520907, -0.0342257917, 0.0354791358, -0.0303021781, -0.0449712835, 0.0307182446, 0.0184214506, -0.0113813812, -0.0271573439, -0.0548330396, -0.026187053, -0.0581653044, -0.0256050043, -0.0555336326, -0.0886212066, -0.0360110514, 0.0144485468, -0.0229188763, -0.0211437494, 2.059985892e-34, 0.022853585, -0.0058099069, 0.0330493748, 0.0354944281, 0.0320224948, 0.0069514289, 0.0174408965, 0.0292590279, 0.0225488413, -0.055874005, -0.0359095 ]
http://arxiv.org/abs/2310.14799v1
http://arxiv.org/pdf/2310.14799v1
Cross-lingual Prompting: Improving Zero-shot Chain-of-Thought Reasoning across Languages
2023-10-23T10:56:03
2023-10-23T10:56:03
Libo Qin, Qiguang Chen, Fuxuan Wei, Shijue Huang, Wanxiang Che
cs.CL
cs.CL, cs.AI
Chain-of-thought (CoT) is capable of eliciting models to explicitly generate reasoning paths, thus promoting reasoning accuracy and attracting increasing attention. Specifically, zero-shot CoT achieves remarkable improvements in a wide range of reasoning tasks by simply instructing the LLM with the prompt "Let's think step by step!". Despite the success of zero-shot CoT, the existing zero-shot prompting techniques remain limited to a single language, making it challenging to generalize to other languages and hindering global development. In this work, we introduce cross-lingual prompting (CLP), aiming to improve zero-shot CoT reasoning across languages. Specifically, CLP consists of two main components: (1) cross-lingual alignment prompting and (2) task-specific solver prompting. The cross-lingual alignment prompting is responsible for aligning representations across different languages, whereas the task-specific solver prompting is used to generate the final chain of thoughts and results for the reasoning task. In addition, we further introduce cross-lingual self-consistent prompting (CLSP) to ensemble different reasoning paths across languages. Our experimental evaluations on several benchmarks demonstrate that CLP and CLSP significantly outperform the existing prompting methods and achieve state-of-the-art performance. We hope this work will inspire further breakthroughs in cross-lingual CoT.
[ -0.0158622935, -0.0078835785, 0.0080387415, 0.0631305203, -0.0572615676, 0.0229311958, 0.0379071757, -0.0377984829, 0.0088298256, -0.0045042732, -0.0234403498, -0.0166827533, -0.0132203605, -0.0001142198, 0.0157117117, -0.0110836746, 0.0485773422, -0.0597382635, -0.0200679488, -0.0417498685, -0.0009554103, 0.0111876596, -0.043376036, 0.0232789833, 0.0065931734, -0.058402326, -0.066001147, -0.0011324739, 0.0450678356, -0.0271254852, -0.0302637555, 0.0580872744, 0.0180207752, 0.0432114229, 0.0000021202, -0.0564864315, -0.0128226578, -0.0214606654, -0.0538886711, -0.0516910367, -0.0459154956, 0.0123857567, -0.0070183189, 0.0010481589, -0.0412889794, 0.021769125, 0.034748137, 0.0400796905, 0.0423250757, 0.059252426, 0.0092023863, -0.0156753156, -0.016919829, -0.0065827691, 0.0509437397, -0.0362907313, -0.0255991537, 0.0058850632, 0.014398423, -0.0054198699, -0.0143593671, 0.0397565588, 0.0571343079, -0.0080228746, -0.0218842831, 0.0279031321, -0.0490612835, -0.0253445711, -0.028028179, 0.0760051236, -0.0053766011, -0.0187201258, -0.0282144267, -0.0044589685, 0.0096015539, -0.0181355402, -0.0530498102, 0.0566240773, 0.0075279707, 0.0216790922, 0.0342755653, 0.0340296961, 0.0188185461, 0.0070442944, -0.0305304974, 0.1104593948, -0.0081822872, -0.0363649204, 0.030147152, 0.0216668379, 0.0392115116, -0.0793703496, -0.019083038, 0.0449484028, -0.0494892746, 0.009455598, 0.0113526955, -0.0093482258, 0.0094750207, -0.0038198107, 0.0402863622, 0.0699902624, -0.0440202467, 0.0729195699, -0.0619999655, 0.0467527546, -0.027640786, 0.0057009608, -0.0300628934, -0.0241183694, -0.0621827506, 0.0034896082, -0.0266238973, 0.0345027111, -0.0400448479, 0.0049437764, -0.046596095, 0.0322167203, -0.0159385558, 0.0508096404, 0.0103990613, -0.0044921902, 0.006818308, -0.0275416207, -0.0326520428, 0.0418605134, -0.0663605109, -0.014110608, 0.0312549733, -0.034785375, -0.0341845267, 0.0080159102, -0.0362321138, -0.0328031145, 0.0166182555, 0.0735626146, -0.0155885732, 0.020118067, -0.0200752411, -0.0375632942, -0.0022089314, -0.1138635427, 0.0311838426, -0.0988658741, 0.042852968, 0.0172410049, -0.0179330818, 0.0059052426, 0.009409111, 0.0099898623, -0.0014205549, 0.0625438318, -0.0065065837, -0.0147483787, -0.0280982777, 0.0078164171, -0.0328874737, 0.1046410352, 0.0137177911, 0.020283917, 0.0164354146, 0.0207973775, -0.0064611956, 0.0200714003, 0.0222478285, -0.0034701671, 0.0072339964, 0.0131338676, 0.0197892282, 0.0291991197, -0.0015636554, 0.0073352228, -0.0204981267, 0.0273758918, 0.007664179, 0.0396842957, 0.0107136304, 0.0001352677, 0.0528607741, -0.0424936712, -0.028037535, 0.0155136799, -0.0699528307, 0.089593716, -0.0470892303, 0.0187592376, 0.0193908717, 0.0485172831, -0.0418890826, -0.033578787, 0.0004849036, 0.0389614627, -0.009372971, 0.0322889872, 0.0285452399, -0.0046415124, -0.0079030627, 0.0591076948, 0.0207485389, -0.0760640875, -0.0384408049, -0.0138989631, 0.0430095755, 0.0477916524, 0.0096205007, 0.0043004751, -0.0749201998, -0.0123264063, 0.0368245728, 0.0316151232, -0.0004233173, 0.0018744341, 0.005041922, -0.0489982888, -0.0455712453, -0.0266843587, -0.0152632026, 0.0183456335, -0.0060341028, 0.028596431, -0.0017929469, -0.0157680511, 0.0279120747, 0.0005931993, -0.0249192677, 0.0094130905, 0.0120673897, 0.0507475547, -0.0056656473, 0.0345378853, 0.0225340072, 0.0117106792, 0.0111153228, -0.0445549376, -0.0301252529, 0.0352758691, -0.0431835689, -0.0897459909, 0.0455441438, -0.0309312586, -0.0579914637, -0.0560110025, -0.0525576286, -0.0411184132, 0.0208292399, 0.0280089006, -0.023660602, -0.0312975943, 0.0210444741, 0.0154767958, -0.0181506909, -0.0223717112, 0.0842016265, 0.0024461127, 0.0276071876, 0.0488951132, 0.0045663319, 0.0582984909, -0.0480862595, -0.006444681, 0.0416141972, -0.0027884983, -0.0345933847, 0.0071523041, 0.0432273336, -0.0615080595, 0.0054408694, -0.0831387714, 0.0253964309, -0.0150160249, 0.0268836729, 0.001660321, 0.0042668367, 0.0010962228, -0.0188661106, -0.0879816264, 0.0151299676, 0.0351741016, 0.0228694379, 0.0316043757, -0.0249981061, -0.0077007576, 0.0023679917, 0.0177212935, -0.0283310898, 0.0379107073, -0.011032314, -0.0309411753, -0.0480657332, 0.0288238861, -0.0754698589, 0.0048450246, -0.0175201837, 0.0022253606, 0.0312575698, 0.0088596288, 0.0481588803, 0.059971001, -0.0527143367, -0.0648156777, 0.0688976273, -0.0393466391, -0.05853194, 0.0403786786, 0.0119379088, 0.0027482938, 0.0181465819, -0.0178810041, -0.0312039778, 0.0467107967, -0.0219289288, 0.004637144, -0.0586718842, 0.0049084369, 0.0052736169, -0.0258328356, -0.0512736104, 0.0070230206, 0.0187575128, 0.09004163, -0.0201781765, -0.0009705365, 0.0962918475, -0.0168802496, -0.0210062284, -0.0378395878, 0.0213737898, -0.0469595008, 0.0547018945, -0.0439674631, 0.0237064343, 0.0231578052, 0.0047618579, -0.0706241429, -0.0184614677, 0.0359750614, -0.0010138478, 0.0585657693, -0.0194185544, -0.0045056157, -0.0388224162, -0.0685289577, -0.0554381683, 0.0063609476, -0.0314263962, 0.0168360285, -0.042362649, -0.0091740107, -0.0092394287, -0.0105362516, 0.0557763651, -0.0050412253, -0.0250401516, -0.0079030944, -0.017391758, 0.0077343741, 0.0191345699, 0.0077528907, 0.0357311517, -0.0192809757, 0.0643690526, 0.0571010485, 0.0296395738, -0.0150976544, -0.0149049563, 0.0354914814, 0.0073057455, -0.0053094737, -0.0160792992, -0.0089680664, 0.0622196123, -0.0550967567, 0.0184967741, 0.0971177295, 0.0259243939, -0.0342141278, -0.0142280953, -0.0850049034, 0.0328858458, 0.029984124, 0.0532887876, -0.1252073199, -0.0532251075, 0.023823712, -0.0408835821, 0.0093028285, -0.0391267389, 0.0042111841, -0.127311781, 0.0451535545, 0.015922321, -0.0122831753, -0.0049537704, -0.0243049655, -0.0026944091, -0.003127415, -0.0030629577, 0.0169840343, 0.0207497515, -0.0063594743, -0.0085556014, 0.0226919577, -0.006954819, 0.0360309854, -0.04788284, 0.0174008645, 0.0483244844, 0.0169740021, 0.0340265967, -0.0574946925, 0.0059098313, 0.0038796233, 0.0176500417, -0.0261096507, -0.0040590698, 0.0241762344, -0.019945005, -0.013258419, 0.0183396209, -0.0243201014, -0.0323418491, 0.0325733908, 0.1191413701, -0.0132760881, 0.0127587654, -0.0078270668, 0.0380786322, 0.0043749735, 0.0743478388, 0.0119408621, 0.0108554885, -0.0466419123, -0.0368292257, -0.0641307086, -0.0459094942, -0.0136949737, 0.0069927708, 0.002209862, -0.0089517878, -0.0426883101, -0.0623590536, 0.0571280494, 0.0471462756, 0.0006363291, -0.002000351, -0.0586886518, 0.0117303459, -0.0283099823, 0.0238084812, -0.0362344496, 0.0145208212, -0.0226918031, 0.0486247651, -0.0174004491, -0.0250242744, 0.0092270207, 0.0387810767, -0.0652374625, -0.0767926052, -0.0664937049, 0.0577110052, 0.0185672827, 0.0486497097, 0.0055940612, -0.0012297377, 0.0256591737, 0.0226498973, 0.018044576, -0.0039011776, 0.0365890339, 0.0407419056, 0.0185143445, 0.0556621477, -0.0324706957, 0.0045935805, 0.0064147846, 0.0761349648, -0.0329381116, -0.0108734826, 0.0325386114, 0.0170044415, 0.0135262264, -0.0300330222, 0.0049040383, -0.0220082998, 0.0504109003, -0.0314019285, -0.0545211546, -0.0113482764, 0.0192807727, -0.0177101064, -0.0457490608, 0.0556280725, 0.009281653, -0.0269852318, -0.0133254332, -0.02222367, 0.0150688374, 0.0265312213, 0.0426576436, 0.0166070033, 0.0153988339, -0.0197751448, 0.0073380922, 0.0269626528, 0.039568726, -0.0337108634, 0.0880335197, 0.0339323319, 0.0096956315, -0.0389794298, 0.0196324568, -0.0503646992, -0.0567778684, 0.0527338348, -0.0065768892, 0.0887430832, 0.0139146317, 0.0252666958, -0.0053476309, -0.0175341535, 0.0458939783, 0.0419461243, 0.0152884284, -0.0380224697, 0.0242607482, 0.0314801745, 0.0180518869, -0.0318395458, 0.0388056971, -0.0678992718, 0.011234113, 0.0106558288, 0.017249871, -0.0264924858, -0.018763788, -0.0018327972, -0.0163083412, -0.0109043075, 0.0069124168, -0.0724584833, -0.0719966143, -0.0003869949, 0.0232718345, -0.0207664333, 0.0324368589, 0.0398368351, 0.0685158074, 0.0169156697, -0.025384333, 0.0098430822, 0.0109432638, -0.000250695, -0.0455523059, -0.0349878594, -6.247549702e-33, -0.019673422, -0.0177027881, 0.0757140815, 0.0000145174, -0.008432948, -0.0211161189, -0.0491884202, 0.0215879269, -0.0222902838, 0.0385235362, -0.0273690391, -0.0253752135, 0.0109547162, -0.0152214607, 0.0380922966, -0.0248765219, 0.0082261078, 0.0080382982, -0.0388042778, -0.0072959019, 0.0567242801, 0.0045697833, 0.0684848279, -0.0210149232, 0.0530971065, 0.0001261826, -0.0124966037, 0.0521852709, -0.0204630904, 0.0285791382, -0.0004111856, 0.0094650695, 0.0296530779, -0.0153261535, -0.0069166915, 0.0024383964, -0.0420897454, -0.0628643483, 0.0465483442, -0.0132505661, -0.0651392788, -0.0434794389, -0.0166481305, -0.0168128442, -0.011721829, -0.0233085938, -0.0001877401, -0.0253127366, 0.0042871875, 0.0091555668, -0.0560901463, -0.010116972, -0.0242751669, -0.04398771, 0.0421811827, 0.1034635976, -0.009486706, -0.0117761455, -0.0424093269, 0.0283722356, -0.0061568604, 0.0014426041, 0.1136093959, -0.0169486199, -0.0132100107, 0.0369425267, 0.0210567228, -0.0158073995, -0.0552905537, 0.0120807635, -0.0195630565, 0.0409265459, 0.064003244, 0.0396068096, 0.0179464053, 0.0815264881, -0.0798783898, 0.0191845056, 0.0267042909, 0.0421746597, -0.0024832403, -0.0055349334, -0.037406452, -0.014939528, -0.0229552276, -0.0250358302, -0.0446774587, -0.0545144379, 0.02095614, -0.0220142249, -0.0017100895, -0.0221309438, 0.0450292639, -0.0030413694, 0.0085878801, 0.0366828367, 0.0093166782, 0.0079397177, 0.0167088471, 0.0216193758, -0.0296648759, 0.0011928095, -0.0271353107, 0.0172741618, 0.0301325768, 0.0139731234, 0.0600646473, -0.0013271936, -0.037591666, -0.0074678096, -0.082123369, 0.0241960529, -0.0052952543, 0.0189696476, 0.0126712872, 0.0036113088, -0.0186239239, 0.0390168503, 0.0003076763, -0.0434639789, -0.0181369949, 0.0248928275, -0.0116779292, 0.0324148796, -0.0082737505, 0.0136820851, -0.0283465814, 0.028109055, 0.0198048223, -0.0455290638, -0.0117204357, 0.0451063477, 2.789e-7, 0.00726646, -0.0048874915, 0.0068934611, 0.0334864631, -0.0083987145, 0.0437011383, -0.0569986552, -0.0255349837, 0.015707029, -0.0522509925, -0.0227575172, 0.0770513564, 0.0294922516, 0.0390540734, -0.0909701064, 0.0050873938, -0.0108364448, -0.0357440785, -0.0383021384, -0.0064561879, 0.0420669876, 0.0357766338, 0.0007996903, -0.011919992, 0.0134163806, 0.0172896776, 0.0516214967, 0.0001518562, -0.0159744453, -0.0049692141, -0.0192743354, -0.0278536566, 0.0002506899, 0.0264266841, 0.0082132714, 0.0178500973, -0.0237011649, 0.0183292963, 0.0090284031, -0.0260427874, -0.0164522361, -0.0312136337, 0.0083369594, -0.056172166, 0.0747091994, -0.0306310654, -0.0164439771, -0.0038189832, 0.0055604498, 0.0102421045, 0.0523235612, -0.0008508827, -0.0201525595, 0.0193380546, 0.0330166221, -0.0136414533, -0.0131231509, -0.0373593569, -0.0464869626, -0.0027995277, 0.0007883302, -0.002706026, -0.0180868693, 0.0057088463, 0.0028291014, -0.0497487262, -0.0297011435, 2.564973214e-34, 0.0120197935, -0.0202593058, 0.0408146717, 0.0473826565, 0.0149457455, -0.0228151921, -0.0485209674, 0.0031046208, 0.0258382186, -0.0429605208, -0.0391855277 ]
http://arxiv.org/abs/2310.14793v1
http://arxiv.org/pdf/2310.14793v1
What do Deck Chairs and Sun Hats Have in Common? Uncovering Shared Properties in Large Concept Vocabularies
2023-10-23T10:53:25
2023-10-23T10:53:25
Amit Gajbhiye, Zied Bouraoui, Na Li, Usashi Chatterjee, Luis Espinosa Anke, Steven Schockaert
cs.CL
cs.CL, cs.AI, cs.LG
Concepts play a central role in many applications. This includes settings where concepts have to be modelled in the absence of sentence context. Previous work has therefore focused on distilling decontextualised concept embeddings from language models. But concepts can be modelled from different perspectives, whereas concept embeddings typically mostly capture taxonomic structure. To address this issue, we propose a strategy for identifying what different concepts, from a potentially large concept vocabulary, have in common with others. We then represent concepts in terms of the properties they share with the other concepts. To demonstrate the practical usefulness of this way of modelling concepts, we consider the task of ultra-fine entity typing, which is a challenging multi-label classification problem. We show that by augmenting the label set with shared properties, we can improve the performance of the state-of-the-art models for this task.
[ -0.0088566216, 0.0310200211, -0.0184983127, 0.0340828747, -0.0000944225, 0.0375327207, -0.0557209738, -0.0191888046, -0.0378240049, -0.0815928206, -0.0116390828, -0.0235568322, 0.0057283803, 0.032752417, 0.053991396, -0.0499707498, 0.0191505346, 0.0405687243, -0.021033084, 0.0047417502, 0.0305953603, -0.0037989714, 0.0190184135, 0.0427972749, -0.0193778221, -0.0375058353, -0.0167350397, -0.0312341861, 0.0259255525, 0.0013331793, 0.0267015696, 0.0427274853, 0.0256669037, 0.0113407495, 0.0000019302, -0.0393285751, 0.0037674059, -0.0154138869, 0.0233517084, 0.0223838575, 0.0105807334, -0.0238581132, 0.0421559215, -0.0153694339, -0.0029578332, -0.0548571572, 0.058378797, 0.0587819144, 0.0235161446, 0.0036495016, -0.0137717174, -0.0486318804, 0.0066401204, -0.0162849557, 0.0379886478, -0.0385636725, 0.0355114192, -0.016434567, 0.0186696965, 0.0605913587, -0.0140507808, 0.0177757759, -0.0108960308, 0.0338350385, 0.0693582371, 0.0541160777, 0.0076006399, -0.0093233045, 0.0137278931, 0.0922473148, -0.0019864489, -0.018241033, 0.020065587, 0.0153400246, -0.0033124024, -0.0265744552, -0.0161783025, 0.0121566644, -0.0100231497, 0.0268792696, 0.0343037844, 0.0226030927, 0.0539441928, 0.0009378067, -0.0409498364, -0.0047906782, 0.0206768252, -0.0233574882, -0.0376993418, 0.0030806263, -0.0584058911, -0.0426267609, -0.0194289107, 0.0184153449, 0.0085417861, 0.0090782652, -0.0367964581, 0.0033222737, 0.0481294841, 0.0045348653, 0.0216485914, -0.0098576713, -0.0109320385, 0.0738965571, -0.0117478734, -0.0075076525, -0.0153296832, -0.0072787069, -0.0065283901, -0.0279815998, -0.0959395021, -0.0027673207, -0.0116222203, 0.0874368995, 0.0319694616, -0.0247950386, -0.0071117193, 0.0198427625, -0.0238833018, 0.0473116562, -0.0189798586, -0.0143741919, -0.0016469663, 0.0070817182, 0.0132229589, 0.0059700632, -0.0676407143, 0.0008086486, -0.0060665817, -0.02704891, 0.0057733189, -0.0360716172, 0.0035286169, -0.0287339259, -0.0152331013, -0.0219274331, 0.0249102786, -0.0309604928, -0.019507613, -0.0194548797, -0.0319244862, -0.0299299285, -0.0012645659, -0.0638602152, 0.0413659364, 0.0050824368, 0.0158179905, -0.0709129721, 0.0023622301, -0.0173258092, -0.0345372595, 0.1415974349, -0.0144629311, -0.0026594098, 0.0210091732, 0.0332284123, 0.0175927505, 0.0441390499, 0.0132075706, -0.0266370885, 0.053448543, -0.0178294368, -0.0180395246, 0.0082290769, 0.0049019922, -0.0008999356, -0.0129205491, -0.015970258, 0.0251577012, 0.0531119518, 0.0022377118, 0.040720474, -0.0122791035, -0.0008800002, 0.0463967957, 0.0256426018, -0.0157124437, 0.0196001995, 0.0353644341, -0.0019189019, -0.0382345803, 0.0010228424, -0.026790306, 0.0007326574, 0.0089832162, 0.018036237, 0.0396494605, 0.0558447987, -0.0449597314, -0.0041452241, -0.0143195344, -0.0252523143, -0.0124328667, -0.0411003567, 0.0254768673, 0.0061508003, 0.0001884697, 0.0165469665, 0.0486309826, -0.0113054067, -0.0149952713, 0.0031989836, -0.0060439794, 0.0466342643, 0.0235444289, -0.031606853, -0.0194439311, -0.0410333686, 0.0120121008, 0.0292981453, 0.0591393374, -0.0367163382, -0.0099738436, -0.0253680982, -0.0298287626, -0.0105938818, 0.0447583646, 0.0280146692, -0.021654252, 0.0132933091, 0.0300371796, -0.0816131383, 0.0626478717, 0.0451400056, 0.0008135994, -0.00525783, 0.0002764499, 0.050728526, 0.0031703094, 0.0411152169, -0.0016519484, 0.0174771212, 0.0208571665, -0.0572877526, -0.0350788198, -0.0397631004, 0.0137436371, -0.0192125347, 0.0498298667, -0.0081440005, -0.028969923, 0.0149276881, -0.03161202, -0.0281216297, -0.0190793406, 0.012334927, 0.0184378996, -0.0374363065, -0.0061870301, -0.0041549089, 0.0084486715, -0.0223949589, 0.0718421862, 0.0202474725, 0.0392792076, -0.0728124157, -0.007493414, 0.0284969825, -0.0089368001, -0.0840482712, -0.0018722317, 0.0229132641, 0.0335459784, 0.0181855317, -0.0223357994, -0.0070921625, -0.0155356238, -0.065433532, 0.0059140516, 0.0335263759, -0.013298912, -0.005816217, -0.0042220056, 0.0373727754, 0.0302163865, 0.0003369355, -0.0280912183, -0.0576135404, 0.0464034975, 0.0510726087, -0.0228022207, -0.0806050524, -0.0185163952, 0.0010134309, -0.0411655009, 0.0745350271, -0.021445157, -0.0279884301, 0.0028092805, 0.0571050234, -0.0397606157, 0.0035584006, 0.0191868022, -0.0130068678, -0.0005364856, 0.0128986221, 0.0015789644, 0.0537842661, 0.0012230339, 0.0011888032, 0.0204214584, 0.0067989794, -0.0245813727, 0.0008055282, -0.0242769253, 0.0277682189, 0.009502545, -0.0031777029, -0.0107070208, 0.0837964341, -0.035774406, -0.0399655178, -0.0818187371, 0.0346677415, -0.0041959058, 0.0122636026, -0.0753386617, 0.0089303087, 0.0153882429, 0.012324702, -0.0124371182, -0.0037379491, 0.0637047067, -0.0174416564, 0.0175828449, 0.0206077695, -0.0222849771, -0.0258564446, 0.087089166, 0.0177748278, 0.0209601633, 0.0593583696, 0.0147828273, -0.0561984852, 0.0379774235, 0.015544462, -0.0047646756, 0.0386724547, 0.0158120766, 0.0030501445, 0.0133641437, -0.070123136, -0.0356745012, -0.0148977656, -0.0331577361, 0.054538101, 0.0072763888, -0.016138643, -0.031941589, 0.0206202678, -0.0277718902, -0.015098148, 0.0436861478, -0.0066885701, -0.0365069509, 0.0423453338, 0.057822071, -0.0282562282, -0.0079454705, -0.0066493312, 0.0214173719, 0.0056752334, 0.0216202382, -0.0071828542, -0.0159704592, -0.0030438344, 0.0020193572, -0.040755257, -0.0786566734, 0.001429829, 0.0046313321, 0.0143993087, -0.0120541574, 0.1183658466, 0.0432284102, 0.0149627598, 0.0266386718, 0.0250679255, 0.0696238875, 0.0373867452, -0.0224716309, -0.0734890848, -0.0368831754, 0.020981485, -0.0519110523, 0.026434904, -0.0668939576, 0.0071684499, -0.0803788677, -0.0098610083, 0.0069957008, -0.0660954788, -0.045455236, -0.0405046269, 0.0012796808, -0.0170651395, -0.0295746867, -0.0436698049, 0.0269431919, 0.0166123398, -0.0084074363, -0.0264700353, -0.0469830744, 0.0812719688, -0.0602746755, 0.0370828807, 0.0258811936, 0.0519414283, -0.0135280509, -0.0164977219, -0.0272272695, -0.1112444028, -0.0420395173, 0.0439853668, 0.0311603099, -0.074847959, -0.0222623032, 0.0071251527, 0.0244946834, -0.0670933202, -0.0385176539, -0.0056844889, 0.0884388238, -0.0105299689, -0.0212672241, -0.0344327427, -0.0387776718, 0.0192998201, 0.0945060179, 0.0503577702, -0.0504328161, 0.0027245681, -0.0285466891, 0.0110464655, -0.0032740429, -0.0141439224, 0.0076787677, -0.0122590913, -0.0176650677, -0.0574341714, -0.0648391768, 0.0560553521, -0.0129613951, 0.0090390313, 0.0326796845, -0.0119626578, -0.0115386536, -0.06278947, 0.0230967477, -0.0048118527, 0.0230146423, 0.0051723644, -0.0184806176, 0.0446314663, 0.0355970003, -0.0703935325, -0.0110709015, -0.0639138892, -0.0595849752, 0.0019720197, -0.0026820679, 0.0055580004, -0.0026603236, -0.0001614029, -0.0617921092, 0.0633141324, 0.0497655682, -0.0417617597, 0.0153718041, 0.0226101913, -0.0078509906, 0.0299618877, 0.0684405342, -0.0528445952, 0.0329748504, -0.0029315415, 0.0604084097, -0.0361364372, -0.0642258748, 0.0270483233, -0.018019449, 0.0273378436, -0.0052288068, -0.0155435782, -0.0299469791, -0.0242816266, 0.0188390911, -0.0413513929, -0.0339947008, -0.0326224566, 0.0148732141, -0.0002847525, -0.0047515444, 0.0330300741, 0.020039225, 0.0887648463, 0.0139256958, -0.0142731657, -0.000735409, -0.0179983582, 0.0172876045, -0.0266800281, -0.0033581704, 0.0149353975, -0.0431230851, -0.0246267933, -0.037758179, 0.0093408143, 0.0318111889, 0.0235028081, -0.0449610315, 0.0148862628, -0.0101841092, -0.0086409133, -0.0154189132, 0.0274942555, 0.0524093397, -0.0008303586, 0.01074332, -0.0440188199, -0.0444724597, -0.0281976908, 0.0441376343, -0.0202821195, -0.003711276, 0.0637980774, 0.0447662733, -0.0359412879, -0.0311387554, 0.0821707323, -0.0169263091, 0.0618423447, 0.0164708756, 0.0085051116, -0.0306127965, 0.02033858, 0.0283988956, 0.0376708172, 0.0144285271, 0.0321247801, -0.0710674748, -0.0650781766, 0.0399747789, -0.0029376331, -0.0464864448, 0.0455686487, 0.0326899365, 0.0289772805, 0.0039089322, -0.0160591137, -0.0139601044, -0.0085421484, 0.011084957, -0.0239899661, -0.0117508257, -6.075892262e-33, -0.0259195007, -0.0134020904, -0.0093073165, 0.0146605484, 0.0166906845, 0.010333159, 0.0199212432, -0.0055911378, -0.0322987251, 0.0398259871, -0.005141662, 0.03652706, -0.0123181269, 0.0140399523, 0.0239015725, 0.007894801, 0.0481720418, 0.0125345355, 0.0049883132, 0.0014920419, 0.0006774846, 0.0149024827, 0.0311301257, -0.0756899863, 0.0107843494, -0.0234808307, -0.0095763467, 0.0085904896, 0.059777692, 0.0829452872, -0.0405910313, 0.0336986668, 0.0140781738, -0.029182313, -0.0072971545, 0.0524768494, -0.0802908167, -0.0483925603, -0.0360730104, -0.0330964848, 0.0150014432, -0.0464935191, 0.0120627806, -0.0041567544, 0.0459770784, -0.059755668, 0.0597893894, -0.0226091892, -0.0232191999, -0.031226296, -0.0294208061, 0.0344756246, -0.0037279492, -0.0001935944, 0.0573192351, -0.0497454815, 0.023355959, 0.0160875712, -0.0603664257, 0.0565606877, 0.0122572239, 0.0221024733, 0.0058985152, -0.018315766, 0.0174219701, 0.0607535206, 0.0094304988, -0.0080282995, -0.0411715209, 0.0030300424, -0.0048199161, 0.0391917005, -0.0042000688, 0.0805180743, 0.0345141031, 0.0154238101, -0.0556830652, 0.0229616184, -0.0379526205, 0.0023951097, -0.008023941, -0.0000139971, -0.0420507491, -0.0256177131, -0.0686397627, 0.0194392949, -0.0388572179, -0.0035777728, 0.0324840359, -0.0142566701, 0.0122222686, 0.0346318856, -0.0165429693, -0.0666167736, -0.080291532, 0.0143177174, 0.0151019562, 0.0152872428, 0.0063615339, -0.0049105096, -0.0496342592, -0.0785688832, 0.013715391, -0.0146734677, 0.0171571169, 0.010979685, 0.073923789, -0.0083145015, -0.0533516817, -0.0180192739, 0.0092935236, -0.083438389, -0.0476804301, -0.0237537082, 0.0292424094, 0.0246234741, 0.0054961508, 0.0279184468, 0.0766220167, -0.0088531682, 0.0015074438, -0.0180046968, 0.0152984429, 0.0288650692, 0.0201646071, -0.0449270681, -0.0279583577, -0.033029899, 0.0622587129, -0.0070715942, -0.0119111259, -0.055489298, 2.689e-7, 0.0500190854, 0.0278915204, -0.0070823976, -0.0013870598, 0.0143815987, 0.0947028473, 0.0280939713, 0.0481202565, -0.0820798576, -0.0743958727, 0.0322957635, 0.0249997918, 0.0192838963, 0.0138077401, -0.0637130067, 0.0165598132, 0.0009841926, -0.0141234016, -0.0703763962, -0.030445043, 0.0485403985, 0.1130954176, 0.0553373396, 0.006426564, -0.0078614829, -0.0362075157, 0.0468209088, -0.0431993641, 0.0017659698, 0.0398914814, 0.0006696393, 0.0154344849, 0.0033885376, 0.0516039431, -0.0050242385, 0.0348033719, 0.0603314266, 0.024515463, -0.0326667018, 0.0185458586, -0.0325466059, -0.040523909, -0.0356082544, -0.0699420273, 0.0616220422, -0.0801391602, -0.0230146237, 0.0061584013, -0.0166209824, 0.0390493385, 0.0282446593, 0.005269336, -0.0334405005, -0.0126153948, 0.0121953012, 0.0062404815, -0.0011835411, -0.1032086089, 0.0154153379, 0.0818969756, -0.0347630233, -0.0209242944, -0.0016243152, -0.0236414708, 0.0626948327, -0.0685478002, -0.0085482197, 2.881455553e-34, -0.000495273, -0.0062327934, 0.0076815672, 0.0197988972, 0.0487033688, -0.0629776418, -0.042369049, -0.0005550855, 0.0319103524, -0.0398945622, 0.0203611869 ]
http://arxiv.org/abs/2310.14777v1
http://arxiv.org/pdf/2310.14777v1
Geographical Erasure in Language Generation
2023-10-23T10:26:14
2023-10-23T10:26:14
Pola Schwöbel, Jacek Golebiowski, Michele Donini, Cédric Archambeau, Danish Pruthi
cs.CL
cs.CL, cs.LG
Large language models (LLMs) encode vast amounts of world knowledge. However, since these models are trained on large swaths of internet data, they are at risk of inordinately capturing information about dominant groups. This imbalance can propagate into generated language. In this work, we study and operationalise a form of geographical erasure, wherein language models underpredict certain countries. We demonstrate consistent instances of erasure across a range of LLMs. We discover that erasure strongly correlates with low frequencies of country mentions in the training corpus. Lastly, we mitigate erasure by finetuning using a custom objective.
[ 0.0373105258, 0.101681605, -0.021710325, -0.0069093378, -0.0089478344, 0.0200095028, 0.0375253186, -0.0179695245, 0.0034454172, -0.0182383601, 0.0118516684, -0.0567045547, 0.0089330301, 0.0011590432, 0.0572762825, -0.0441890359, 0.032617569, -0.0079609314, 0.0002378115, -0.0339865647, -0.0339098312, 0.010702705, 0.0528702512, 0.0398828797, -0.0027024292, 0.0355548374, 0.0088564474, -0.0245272964, -0.0178516228, -0.0069839554, 0.0221179277, 0.0235185232, -0.0318316966, 0.021917481, 0.0000019656, -0.0359216928, -0.0229245387, -0.0215843711, 0.0165187903, 0.0510878116, 0.0126262428, 0.0101727704, -0.0073229242, 0.0243411753, -0.0095908986, -0.0217665546, 0.0314272121, -0.0068133106, 0.0385319702, 0.0636670962, -0.0025043471, 0.0177048892, -0.0215698089, -0.0207423232, -0.024736343, 0.0339698195, 0.0466180854, 0.0103747016, -0.0427030474, -0.0028440435, -0.0205185562, 0.0217828956, -0.0026851045, 0.0106390137, -0.0197260287, 0.0302275028, -0.0720257312, -0.021716468, 0.0335564651, 0.0000191034, 0.006924612, -0.0469777472, 0.0613517761, 0.0152214644, -0.0165086668, -0.0104978606, -0.0093167555, 0.0546856783, 0.0007283599, 0.0485085957, 0.0231690258, -0.0304512084, 0.0233328193, 0.0395453647, -0.0207449216, 0.0792824626, 0.0234636571, -0.0177492052, -0.0651448071, 0.038899038, -0.0316254422, -0.0616411082, 0.0079363156, 0.0311597697, -0.001148638, -0.002388543, -0.0366034061, 0.0435741059, 0.0280495267, -0.0339896902, 0.0152190309, 0.00029525, -0.0102870502, 0.012353302, -0.0362723395, 0.0334224291, 0.004420639, -0.020397881, -0.0233861916, -0.0377644524, 0.0138295479, -0.0130225895, 0.007938493, -0.0201989822, 0.006658351, 0.0501832776, -0.0611665137, 0.0089253755, -0.0329149254, 0.0304781236, -0.0553927906, 0.0294611324, -0.0505602807, -0.03493765, -0.0150386803, 0.0027142214, -0.0056217504, 0.0153326159, -0.0285273977, -0.0240622368, 0.0133128092, 0.0155556602, 0.0134002734, 0.005017668, -0.0062974654, 0.0480564684, 0.0240153521, -0.0021381571, -0.0701186731, -0.0456277318, -0.0274848621, -0.0228724889, 0.0265109036, -0.0606315881, 0.0088382829, 0.0069178436, -0.019280225, -0.0758131593, -0.0212574191, 0.0043476503, -0.0396027602, -0.0370173566, -0.0258898865, 0.0340234861, 0.0686562881, -0.0124327615, 0.0027087301, 0.0783773661, 0.0106370449, 0.0290393904, 0.036480397, -0.0185322519, 0.0075248452, 0.0482038744, 0.0454824269, 0.0505982488, -0.0386354551, -0.0444929823, -0.0150562385, -0.0106618777, 0.0797591731, 0.0349507853, -0.0036196494, 0.0261303689, 0.0814216062, 0.0200291835, -0.0245516282, 0.034421701, 0.0314765573, 0.0095757935, -0.0662824586, 0.023079766, -0.0512052961, -0.0261219833, -0.0399517901, 0.0203863773, 0.0247774664, 0.0644688308, -0.0316439569, -0.001214339, -0.0069734845, 0.006167158, 0.0015658702, 0.0028117015, 0.0735411942, 0.0123940008, 0.0147837056, 0.092748113, 0.0645036846, -0.041529119, 0.0615297444, -0.0117958942, 0.0163175259, -0.0009302185, 0.0249824114, 0.0229031201, 0.0190458745, -0.0050843186, 0.0322220549, 0.0268658232, 0.0489628278, -0.0324354246, 0.0073561748, -0.0141770318, -0.0268440135, 0.0333206467, 0.0240855031, 0.0066604777, 0.0679322556, 0.0304335244, 0.0545195118, -0.0611427985, -0.0264524631, 0.0034588657, -0.07812123, -0.0029191175, -0.0180845745, -0.0007940805, -0.0001603167, 0.0076936488, -0.0402256884, -0.0140880579, 0.0045434395, -0.0137546845, -0.0074377032, -0.004000226, -0.0214545522, 0.0029156525, 0.0467415825, -0.0392586626, 0.0231961142, -0.0033596607, -0.0140077835, -0.0191465821, 0.0362772867, -0.021074459, 0.0768441781, -0.0294215027, 0.035794314, -0.0273942854, 0.0011048387, -0.0230672825, 0.0742006749, -0.0243250374, 0.0197844356, 0.0081901019, -0.0295467302, 0.0300472081, -0.0247170776, -0.0144593222, -0.0220041014, -0.0254570488, -0.0092110019, 0.0598170273, -0.0151385926, -0.0275886636, -0.0413486362, -0.0645642653, -0.0027546932, -0.0290330388, 0.0184744, 0.0183578357, -0.0107899755, -0.0175957326, 0.0182226505, -0.0490027294, -0.0275195241, 0.0296633802, 0.0292756725, 0.0061295703, -0.0386632718, 0.0133989882, 0.0030998148, 0.0132168746, 0.0191243216, 0.0445324294, -0.0197414514, -0.0062346957, -0.0564580113, 0.0377544239, -0.1023075059, 0.0084021045, -0.031341292, -0.0430067517, -0.0217016209, -0.0149228927, -0.0129704671, -0.0141376182, -0.002039708, -0.0196841527, 0.0804526955, -0.0240340363, -0.0415019542, -0.0311909113, -0.0415906124, 0.0048999996, -0.0019638266, -0.0850604549, -0.0200823694, 0.0959629044, 0.0369141996, -0.0071372488, -0.0041426616, 0.0438561179, -0.0734539479, 0.0018136853, -0.0025458315, 0.0044840048, -0.0250308476, 0.0792902708, -0.04480955, -0.0803024173, 0.0207987241, -0.006844148, 0.0339296237, 0.0234082025, -0.0129587539, -0.0039836518, 0.0261169244, 0.0184123628, 0.0479091033, 0.0607478395, -0.0059731761, -0.0513808466, -0.0067791031, 0.0226670168, -0.0195651017, -0.0154542923, -0.0481834784, -0.0005309805, -0.0049286732, -0.0347736962, -0.049903743, -0.0281682238, 0.0211172737, -0.0112409424, 0.0538315363, -0.0308368653, 0.0276859961, 0.0076368358, 0.0133027826, 0.0387367122, -0.0154596996, 0.0213707872, -0.0007635358, 0.0071359891, 0.0841354951, -0.0120407771, 0.0250444803, -0.0429585464, -0.0394604579, 0.0061000269, 0.0051239519, 0.0307417866, 0.036350783, 0.0168213248, 0.0437371358, -0.0293839667, -0.0554753877, 0.0119169308, 0.0553176925, -0.0139778294, -0.022278294, 0.1020965055, 0.0292328279, -0.0206986908, 0.0350914262, 0.0029405109, 0.0631656423, 0.0325914361, 0.0297225621, -0.0584828332, 0.0400934145, 0.011930461, 0.0015441433, -0.0593249537, -0.0313904323, -0.036836639, -0.1414046288, 0.048936557, 0.0501808003, -0.0228053089, -0.0147084175, -0.0154479537, -0.021655051, -0.0002645581, 0.0125939557, -0.0010468366, -0.0094795385, 0.0168718696, 0.0365421213, -0.0598569736, -0.0554738678, -0.026671838, -0.0342338383, 0.0529984646, -0.0085873464, 0.0479683615, -0.0026420103, 0.0154655911, 0.0005373541, 0.0052882563, -0.0155567788, -0.009056204, 0.046113681, 0.0637091622, -0.0378326327, 0.0057472461, 0.0117612397, 0.0083172414, -0.0094370162, 0.0223254114, 0.0480293892, -0.0178260151, -0.0068507334, 0.0341440476, 0.000897043, 0.0194285363, 0.0522711687, 0.0139106726, -0.0248729121, 0.0029220304, -0.0545276105, 0.0167091154, -0.0360922366, -0.0058107977, 0.0366786458, -0.0310066435, -0.0422319211, -0.078071706, -0.0328923017, 0.0075802063, 0.0275786761, 0.0392203294, -0.0077881468, 0.0255815238, -0.0540285744, -0.0327911153, 0.0236638021, -0.0569256842, -0.0598071143, -0.0176700689, -0.0244461466, 0.0081386315, -0.0693909749, -0.0013480973, 0.040748246, -0.0718506575, -0.0838969871, 0.0622523092, 0.0373564325, 0.0187112875, 0.048070889, 0.0305127539, -0.0486098044, 0.0902754664, 0.0105832387, -0.0097993445, 0.0558715984, -0.0207998063, -0.0191834774, 0.0037495466, 0.0392856002, -0.0574873947, 0.0225186627, 0.0417634137, -0.0150184138, -0.0396418311, 0.0321937017, -0.004385876, -0.0145073701, 0.0546990894, -0.0955619738, -0.0174248051, -0.0310075376, -0.0229292791, -0.0328855552, -0.0118510146, 0.002176661, -0.0129127707, 0.0253303535, 0.0090713538, -0.0095091322, 0.017346045, -0.0059543448, 0.0283527616, -0.0149216782, -0.0155855138, -0.0226099249, 0.0352347903, 0.0564003624, 0.0222790577, -0.004936289, 0.049968645, -0.0159120653, 0.0496403426, -0.0248047393, 0.011084266, -0.0081417775, 0.026031388, -0.0377361327, -0.0184326395, -0.0285983887, -0.0574688725, -0.0398309231, -0.0121912258, 0.0965317935, -0.0506463759, 0.0666487515, -0.0120080393, -0.0107871555, -0.0194678511, 0.0085587893, 0.0020736295, -0.0728884414, -0.0637987405, -0.0331593305, -0.0611152463, 0.0622018278, 0.0892231837, 0.0529424511, 0.0628809556, -0.0084941639, -0.0364472046, -0.0210728459, -0.0224249549, 0.007377659, -0.0148123112, -0.029527802, -0.0050558271, -0.057703346, -0.080710806, -0.0298515074, -0.019916866, 0.0009305993, -0.0114804972, 0.0189291164, 0.0277042519, -0.0722086132, 0.0155435465, -0.0789128691, 0.011244894, -0.0117482655, 0.0028023864, 0.0069598174, -6.599910011e-33, -0.0020468982, -0.0446467623, 0.0278395079, -0.0338053554, -0.0065876376, 0.0030457883, -0.0410297364, 0.0177681521, -0.0081494199, 0.0099885091, -0.0140589327, -0.0381498896, 0.0117721027, 0.0485417619, 0.0072946572, 0.0282888561, 0.031216085, 0.0159755331, -0.0207821596, 0.0550808646, 0.0860836431, 0.0155566577, 0.0697637796, -0.0589549057, -0.0075479359, 0.0121765742, -0.0377638973, -0.0055692419, 0.0231530275, 0.0168607384, -0.025219515, 0.0579465292, 0.0112351896, -0.0278228801, -0.0267022792, -0.0643902868, -0.0252529103, -0.022027595, -0.0172747374, 0.0108497338, 0.0571875386, -0.035667263, 0.0474681593, -0.0163747054, -0.0191669948, 0.0337117463, 0.0430366099, 0.0167164579, -0.063372232, -0.0076468298, -0.0509462319, 0.0319323726, -0.00661672, 0.0242156256, -0.0013334486, 0.0296429023, 0.0235576648, -0.0172860604, -0.0148303565, 0.0407522097, 0.0544178113, 0.0734413266, 0.0659675226, 0.0253265034, 0.00833032, 0.0851948485, 0.0269322246, 0.0536557063, 0.0273356549, -0.0268422905, 0.0584372543, -0.0212679841, -0.0280800778, 0.0640511885, 0.0060388786, -0.0743407309, -0.027797509, 0.0232570246, -0.0237664599, -0.0214447752, -0.0037175703, -0.048778113, -0.0107141761, -0.0626281947, -0.0367462933, -0.0928932428, 0.003660213, -0.0117653906, 0.0215825327, 0.0094334604, -0.009383549, -0.0113066537, 0.0377535224, -0.0226124283, -0.0494891964, 0.0231911913, -0.0340783931, -0.0225819778, -0.003845267, -0.0064012567, -0.0258827414, -0.048557952, -0.0458024442, 0.0168261249, -0.0087509444, 0.0201968569, 0.0034823213, 0.0136855785, -0.0643811598, 0.0371303745, -0.0543647334, 0.0328873061, 0.0281627327, -0.0020913663, 0.0195384789, -0.0257459767, 0.0087905303, -0.0387861244, 0.0710059255, 0.0184289441, 0.0067678015, 0.0000406108, -0.0072943536, 0.0573250167, -0.0275255367, -0.0076941294, -0.0194568466, 0.0617512167, 0.0641933754, -0.015720753, -0.0083031924, -0.0355940387, 2.69e-7, 0.0232256092, 0.0800568163, -0.0131518105, 0.0002009173, 0.0231683701, 0.0174427554, 0.0130272638, 0.0127043631, -0.0061404207, 0.0262276176, -0.0129349642, -0.0165210757, 0.0416982584, 0.0528222919, -0.1265126318, 0.0550887398, -0.0605503358, 0.0258410834, -0.0493549071, 0.0076025962, -0.0173021965, 0.0505283661, 0.028035773, -0.0406881049, -0.000466254, -0.0422245674, 0.0486722961, -0.0388653949, -0.0301174279, 0.0378367789, 0.0274751447, -0.0061899074, 0.0217688326, -0.0245692264, -0.0483147725, -0.0052893288, -0.0478052646, 0.0420816354, 0.0241791215, 0.011336945, -0.0028873864, 0.0000202247, -0.0025864108, -0.092947945, 0.0415668674, 0.0100684064, 0.0005067387, -0.0442844294, -0.0161276739, -0.006004578, 0.0069572777, -0.0362834036, 0.0026607192, 0.0085117929, -0.0138369761, 0.0270218309, -0.0213062987, -0.0464517847, -0.0393405557, 0.0094176373, -0.0372408405, -0.0631300434, 0.0096906563, 0.0223455075, -0.0000058387, -0.0368962921, 0.0343869254, 2.618879043e-34, -0.0172153004, -0.0160216726, 0.0123583982, -0.0128140841, 0.0464960709, 0.0044519086, 0.0340825133, 0.0243267007, -0.0118239922, 0.0111623397, 0.0054979771 ]
http://arxiv.org/abs/2310.14771v1
http://arxiv.org/pdf/2310.14771v1
Evaluating the Knowledge Base Completion Potential of GPT
2023-10-23T10:15:13
2023-10-23T10:15:13
Blerta Veseli, Simon Razniewski, Jan-Christoph Kalo, Gerhard Weikum
cs.CL
cs.CL, cs.AI
Structured knowledge bases (KBs) are an asset for search engines and other applications, but are inevitably incomplete. Language models (LMs) have been proposed for unsupervised knowledge base completion (KBC), yet, their ability to do this at scale and with high accuracy remains an open question. Prior experimental studies mostly fall short because they only evaluate on popular subjects, or sample already existing facts from KBs. In this work, we perform a careful evaluation of GPT's potential to complete the largest public KB: Wikidata. We find that, despite their size and capabilities, models like GPT-3, ChatGPT and GPT-4 do not achieve fully convincing results on this task. Nonetheless, they provide solid improvements over earlier approaches with smaller LMs. In particular, we show that, with proper thresholding, GPT-3 enables to extend Wikidata by 27M facts at 90% precision.
[ 0.0472280458, 0.0366778113, -0.0054150522, 0.0422190018, -0.0372592807, -0.0012169372, -0.0509730913, 0.0431319661, 0.0776776224, -0.024634758, 0.0310712811, -0.0097554866, -0.0068156365, 0.0164908767, -0.0025431453, -0.0457220823, 0.0282629915, -0.012336174, -0.0028592774, -0.0478173271, -0.0347334445, 0.0198753756, -0.0054504983, -0.0202925373, 0.0016682531, -0.0051827691, -0.0108311865, -0.0216078479, -0.0157298949, 0.0181926452, 0.0081121856, 0.051310759, 0.0012005164, 0.0226917304, 0.0000019942, -0.0217201412, -0.0039217602, 0.0084637953, -0.0193297192, 0.0551219024, -0.0251928978, -0.0151039483, -0.0076600402, -0.0139413513, -0.0392303355, -0.0207175855, 0.0131718889, 0.0502247699, 0.0154933445, 0.0342534818, 0.015936004, -0.029204607, 0.0882152319, -0.0304360185, 0.0384524874, -0.0386898667, 0.0477924831, -0.0063343798, 0.0051648072, 0.026276255, -0.0148118949, 0.0372552536, -0.0325253271, 0.0345531851, 0.0019445731, 0.0482976548, -0.0531645603, 0.01819616, 0.0446592085, 0.0406658985, 0.0266051274, -0.0000126763, 0.0325187929, -0.0022140164, -0.0179264788, 0.0276629031, -0.0328637697, -0.0086920373, -0.0421678573, 0.0211204309, -0.026677927, -0.0422964729, 0.0502354093, -0.0033260318, -0.0054102107, 0.1356690675, 0.0169470925, -0.0241550822, -0.0268061198, 0.0138639687, -0.0204246975, -0.042202089, -0.0084658507, -0.0302436743, 0.0205139332, 0.0369926132, -0.0255241282, 0.041816216, 0.0256381296, -0.0030022948, -0.0657177344, 0.0184882786, -0.0118016833, 0.0751603842, -0.0126521373, 0.0111958561, -0.0509337038, -0.0281503648, -0.0197415035, -0.0123071522, -0.0849053562, -0.0051863175, -0.0137748942, 0.0388052389, -0.0067383195, -0.0073113851, -0.016946163, 0.0024724314, 0.0078855157, 0.0280296784, 0.0368114114, -0.0299884845, -0.0443048775, -0.0237168092, -0.0546731427, 0.0384022221, -0.0309340823, 0.0155241257, -0.0318119116, 0.0079682702, 0.0098590702, -0.0217297841, 0.0329246819, -0.0283231288, 0.0259602685, 0.0254050083, 0.0276879929, -0.0314250402, -0.0718311071, -0.0306932647, -0.0183795318, -0.0409530401, -0.0247191601, -0.071623899, 0.0559552722, 0.0213829018, 0.0035654192, -0.0295192599, 0.000557246, 0.0230281781, -0.0878906026, 0.0832430422, -0.0673190206, 0.0058223391, 0.0122092133, -0.00813423, -0.0237505268, 0.0619234331, -0.0014556457, 0.0273733828, 0.0703304484, 0.0028833898, -0.0361940227, 0.0134373903, 0.0568016917, 0.0460885875, 0.0597053394, 0.018639721, -0.0025439053, 0.0078222333, 0.0022840367, 0.0289881527, -0.0275123827, 0.0066809841, 0.0413787551, 0.0304684844, 0.0015886091, 0.047684554, 0.0125601748, 0.0335511528, 0.0237240233, 0.040468622, -0.0497684069, -0.0312307421, -0.0748765022, 0.0389869437, 0.0509031154, 0.0340923332, -0.0214165784, 0.0025212958, -0.0015544043, -0.0201525092, -0.008442102, -0.0090338802, 0.0935869515, 0.0122069344, -0.0162739828, 0.0948134884, 0.0602718294, -0.0385081768, 0.0538015068, -0.0065126112, 0.01412002, 0.0759492591, 0.0666226, -0.0753550008, -0.0226743594, 0.0167044438, -0.0162243601, 0.0179226883, -0.0008203174, -0.0174426455, -0.0167474225, -0.0251360349, -0.0412105396, 0.0196176544, 0.0311163627, 0.009766086, 0.0530432984, 0.0412035882, 0.0352559201, -0.1045756787, 0.0354976319, -0.0076434282, -0.0140449395, 0.0032140578, -0.0173417479, -0.0137427645, 0.0126598217, 0.0385056362, 0.0056379605, -0.0250859447, 0.0203485414, -0.0205792859, -0.0501938984, -0.0510930084, 0.0442344882, -0.0305896364, 0.0540788434, -0.0223904159, 0.022621192, 0.0239837077, -0.030893065, -0.0553108416, -0.0051557496, -0.0285829939, 0.0836211592, -0.033799205, -0.0045943819, 0.0066189072, -0.0307369474, -0.0008326977, 0.1008285955, -0.0198014807, -0.001687438, 0.0232776236, -0.0602518283, 0.0175181329, -0.016326664, -0.0571221113, 0.0068338234, 0.0178436022, 0.0182406437, 0.0537999235, -0.0345614366, -0.0661446229, -0.0248495005, -0.1009606346, 0.0193536505, -0.000409577, 0.0337315202, -0.0057926388, 0.0253253635, 0.0025421777, 0.0031318022, -0.0279905051, -0.0090519041, -0.0410674699, 0.0327293687, 0.0186751448, 0.048200652, -0.0018373856, -0.0554720163, -0.0535372794, -0.0001341327, -0.0089350939, -0.0186125841, 0.0006414336, -0.0244133212, 0.0402775221, -0.0541888289, 0.0161569621, -0.0196866784, 0.0023033388, -0.0061427276, -0.0481008217, 0.0289168246, -0.0173543375, -0.0271662995, -0.0340524279, 0.0263915062, -0.0157744549, -0.0353448689, 0.0221324135, -0.0398652367, -0.0103246542, -0.0276080277, 0.0071100583, -0.007274393, 0.0228606872, 0.0047756373, -0.0272505358, -0.0962269008, 0.0072341789, -0.003107999, 0.0591533668, -0.0684287027, 0.0256770253, 0.0046354211, 0.0366685987, -0.003485702, -0.0282767676, 0.0521599837, -0.0282032881, 0.0291062165, -0.0132487295, 0.036946144, 0.0001379276, 0.0752285719, 0.0455405489, 0.003652452, -0.0149482908, -0.0144525571, -0.013390542, 0.0190631077, 0.0481118821, -0.0315823816, 0.0348702744, -0.0060497131, 0.0455469713, 0.024241291, 0.0010786344, -0.014575243, -0.0070910589, -0.0155312959, -0.0321893394, 0.036670588, -0.0338459909, 0.0250314921, -0.0119239297, 0.0372322649, 0.0345800705, 0.0393477678, -0.0026880337, -0.0430984423, 0.0242403075, 0.0630238131, -0.048004739, 0.0031421646, 0.0371711329, -0.025030503, 0.049168691, 0.0780747682, -0.0099603012, 0.0351404771, -0.0190082919, 0.0264185201, -0.0605607666, -0.0976567045, -0.0118110143, -0.0149207376, -0.0124806287, 0.031769149, 0.0990283862, 0.0103599895, -0.0443072654, -0.0101674758, 0.0120468345, -0.008509702, 0.0017020213, -0.0063119326, -0.0662697107, 0.0103335036, 0.0049277623, 0.0236013383, 0.0292226281, -0.0549183749, 0.0053613656, -0.0893642828, 0.0150436498, 0.0151127325, 0.00604939, -0.0236263983, -0.0541631728, 0.010821024, -0.0318779126, -0.0383499898, 0.0184778702, 0.0030031186, 0.0271649603, -0.0494350456, -0.0475802235, -0.0863024965, 0.0607833229, -0.0424839333, 0.0456200987, 0.0363458917, 0.0255156085, -0.0408947617, -0.0329751708, -0.0401786938, -0.0049639884, -0.0300984588, 0.01186861, 0.0575059019, 0.0054455819, -0.0124212205, -0.0231536496, 0.002820546, -0.0456578024, 0.0017981738, 0.0319043919, 0.1235821918, 0.0414369702, -0.007652103, 0.0053972085, -0.0590856783, -0.0063863741, 0.0632788911, -0.0114370752, 0.0010800873, 0.024655005, -0.0147389593, 0.0058798078, 0.0127868662, -0.0219072364, 0.017905226, -0.0262736417, 0.0059948508, -0.0765297189, -0.0460466594, 0.0353932306, -0.007926465, -0.0197544303, 0.06372343, 0.0164413583, -0.0051692631, -0.0315751769, 0.035029728, -0.0484647714, -0.0094336756, -0.0542031415, -0.033739768, 0.0235702228, -0.0354817323, -0.0057901577, -0.0109753041, -0.0383526646, -0.0597373322, -0.0216385592, 0.0189928114, 0.0198232085, 0.0377836116, -0.0467029512, -0.0260350443, 0.0522768348, 0.029886838, -0.0532388054, 0.0161229428, -0.0081069041, -0.0314734802, 0.0107329823, 0.0602925904, -0.0596480295, -0.0177880023, -0.0520370416, 0.048472032, -0.0324686281, -0.0019851502, 0.0254682023, 0.0515473448, 0.0372084342, -0.0065321163, 0.019793313, -0.035792578, 0.0145331202, -0.0226122774, 0.0125182169, -0.0323455893, -0.008688719, 0.0330832042, -0.0213273074, -0.0111221028, 0.0070134085, -0.0374839008, 0.0277269408, -0.0466001779, -0.0593606941, 0.012093734, -0.0061305128, 0.0749035254, -0.050858777, -0.0206050575, -0.0339456387, -0.0084443903, 0.0236772392, -0.045271486, 0.0028759013, -0.0032772252, -0.0404787548, 0.0002075658, 0.0138400625, -0.0386928059, -0.0320030078, -0.0346783847, 0.0513228029, 0.0547792502, 0.0086604217, 0.0665108636, -0.0541205704, -0.0481268987, -0.0203998145, -0.0282863081, 0.03330791, 0.0120936148, 0.0092870472, 0.0463295951, -0.0336113535, 0.054818321, 0.0979714021, 0.0197064541, 0.0701556727, 0.0001486207, -0.0319561698, -0.0204291325, -0.0359283388, -0.0382665023, 0.0601425543, -0.0377476327, 0.0197566673, -0.032008823, -0.0720335841, 0.0152049009, -0.0191046707, -0.0494201779, -0.0104710832, 0.0186507478, 0.0562171899, 0.0145175336, -0.0304230917, -0.0343215317, -0.0003636316, -0.0029471288, -0.0097669028, 0.0400285758, -6.376689511e-33, -0.0274878945, -0.0030858056, 0.0139385341, 0.0435746312, 0.0002535056, -0.007403302, 0.0233172029, -0.0086938823, -0.0171600357, 0.0224672612, -0.0271375012, 0.0250310078, 0.0014238902, 0.0180943515, 0.0276397057, 0.0079703173, 0.030650191, 0.0275922585, -0.003872466, 0.0474704355, 0.0428065397, 0.0025177132, 0.0525159687, -0.0831636786, 0.0484216139, -0.027729176, -0.0047738021, -0.0070154704, -0.0005654555, 0.0590116158, -0.0289714243, 0.0811061263, 0.0171972346, -0.0240741819, 0.0124041308, -0.0658992305, -0.0758911669, -0.010383334, 0.0278382283, -0.0044842777, 0.0047145723, -0.0024864699, 0.0055801417, -0.0170071404, 0.0624852665, -0.027650794, 0.0209440943, -0.0374456905, -0.0370102599, 0.000325081, -0.0037000477, 0.0403577983, 0.0581370518, 0.0329660401, 0.0027024259, -0.0258741118, 0.0162143484, -0.0050278585, -0.0703708753, 0.0223773587, 0.0626940355, 0.0404876992, 0.0166706219, -0.054464329, 0.0189150497, 0.0110249529, -0.0119822184, -0.0137835732, -0.015858883, -0.0179072786, -0.0281092208, 0.0448888242, -0.0044517242, 0.0504575223, -0.0025898935, -0.0141788507, -0.0219640303, 0.0135113085, -0.0001184394, 0.0171114374, -0.0120651806, -0.0005673234, -0.0616221279, -0.0336971395, -0.0327899642, 0.006939128, -0.023051396, -0.0548672341, -0.0018025982, 0.0000228613, -0.0303833354, -0.0247096866, -0.0454788655, -0.0266741235, -0.0088451095, 0.0463762619, -0.0150173521, 0.0089911046, 0.0003952433, 0.0279437602, -0.0452958159, -0.020938443, -0.0079253111, -0.0432569459, -0.0477995723, 0.0201091152, -0.0222937167, 0.0473851711, -0.021020487, 0.004953478, -0.0032647117, -0.0193639137, 0.0032201244, -0.0356783047, 0.0496760868, 0.0140259815, 0.0208362769, 0.0139683019, 0.0843927562, 0.0179738961, -0.0201826356, -0.0327743441, 0.0063142548, -0.0148823876, 0.0200840849, 0.0029421938, -0.0195780471, -0.019777298, 0.0106649641, -0.0009424498, 0.0004584775, -0.0053087408, 2.784e-7, 0.0052610803, 0.0163960736, 0.0112438146, 0.0200153254, 0.0051643783, 0.0060491413, 0.0155611411, 0.0474751145, -0.0072159991, -0.0638048127, 0.0152976746, -0.0243021213, 0.0014823215, 0.0435026325, -0.0930220857, -0.0057752631, 0.0100225313, -0.0450044274, -0.0552289635, -0.0312202238, 0.0070482497, 0.0552351661, 0.0685153157, 0.0057828547, 0.0235109013, -0.0379775353, 0.0846179575, -0.0413262099, -0.0356704965, 0.0287865028, 0.0595037416, 0.0593178123, -0.0119008087, 0.0434895419, -0.0080017513, 0.0236698687, 0.0387345999, 0.042816028, 0.0204773806, 0.0286725182, -0.0242059268, -0.0795999765, -0.0006085457, -0.0188375022, 0.10718593, -0.0208668429, 0.0363012254, 0.0744403601, -0.0405883789, -0.0436597951, -0.0123465303, -0.0250692163, -0.0095466841, -0.0014177106, -0.0154517181, 0.0332095362, 0.0072020958, -0.0394144505, 0.0290397722, 0.0212688446, -0.0445836633, -0.0553800166, -0.0121788783, -0.0627989173, -0.0186929684, -0.0644811243, 0.0302833375, 2.262654434e-34, 0.0406277105, -0.0100412751, 0.0204372704, -0.0392868556, 0.0093677128, -0.0235371888, -0.0168550629, -0.0074575865, 0.0068928027, -0.0852070227, -0.0113255745 ]
http://arxiv.org/abs/2310.14757v1
http://arxiv.org/pdf/2310.14757v1
SuperTweetEval: A Challenging, Unified and Heterogeneous Benchmark for Social Media NLP Research
2023-10-23T09:48:25
2023-10-23T09:48:25
Dimosthenis Antypas, Asahi Ushio, Francesco Barbieri, Leonardo Neves, Kiamehr Rezaee, Luis Espinosa-Anke, Jiaxin Pei, Jose Camacho-Collados
cs.CL
cs.CL
Despite its relevance, the maturity of NLP for social media pales in comparison with general-purpose models, metrics and benchmarks. This fragmented landscape makes it hard for the community to know, for instance, given a task, which is the best performing model and how it compares with others. To alleviate this issue, we introduce a unified benchmark for NLP evaluation in social media, SuperTweetEval, which includes a heterogeneous set of tasks and datasets combined, adapted and constructed from scratch. We benchmarked the performance of a wide range of models on SuperTweetEval and our results suggest that, despite the recent advances in language modelling, social media remains challenging.
[ 0.0587621816, 0.0513996407, 0.0059158993, 0.0131150745, -0.0223649368, 0.0152760185, -0.0290695298, 0.0232631732, -0.0042627449, -0.0520550609, -0.0018191572, -0.0315689258, -0.0173605885, 0.0414924547, 0.0209771078, -0.0204400122, 0.0159670729, 0.013130323, 0.0369866081, 0.0053906655, 0.0593882315, 0.0154763404, -0.0073341257, 0.0341688655, -0.0604469329, 0.0107600354, 0.0459671356, 0.0141575206, -0.0115444362, -0.0267309807, 0.0431221128, 0.0546814203, 0.0009044398, 0.0653631166, 0.0000016275, -0.014663931, 0.0024812033, -0.0140665183, -0.0062617268, 0.0029761163, 0.0771596804, -0.0534035191, 0.0187158659, 0.0042138579, -0.0599184297, 0.0181080997, 0.0268508662, 0.0235853978, 0.0419706777, 0.077598244, -0.0284189973, -0.0185212344, 0.0277762152, -0.0327723026, -0.044760745, -0.0602307692, -0.0130624054, -0.0167860854, 0.0199251082, -0.0004714615, 0.0299466848, 0.0670087561, 0.0028030325, 0.0011802432, 0.0161003284, -0.0197700653, -0.0339190774, -0.0052182302, -0.0260054301, 0.092905052, -0.0121331504, -0.0281557422, 0.012903654, -0.0080318069, -0.0433665588, -0.0009429654, -0.0519884601, -0.0082756309, 0.0387649015, 0.0353084132, -0.0042812694, 0.0496920012, 0.042396754, 0.0532178506, 0.0522397235, 0.0465639904, -0.0047400431, -0.0128207449, 0.0252909344, 0.0389677472, -0.0614748485, -0.015625909, 0.041012764, 0.0054237177, -0.0358811095, 0.0125407353, -0.0171642359, -0.0303563513, 0.0338424183, -0.0541537516, 0.0225423966, -0.0108705834, 0.0233795382, 0.0720042065, 0.0189052131, 0.0175923929, -0.0277043227, -0.0176566932, 0.029657105, -0.0272684358, -0.0758855343, 0.0031987485, -0.0185655039, 0.0043739327, -0.0438786969, -0.0381212756, -0.0200612545, -0.0065260781, -0.0116534298, -0.0162330624, 0.0242259428, 0.0350213051, -0.0133339651, -0.0102021638, -0.0024389483, 0.0205192491, -0.0546939187, 0.0134776495, -0.0035379101, -0.0431939252, 0.0251752976, 0.020658711, 0.0343739167, -0.0283907633, -0.0217267312, 0.0519340858, 0.0307735112, -0.0383285582, -0.0311678723, -0.0155621488, -0.0213079527, -0.0663719252, -0.0151019162, -0.0871167481, 0.0778774023, 0.0385534652, -0.0018381694, -0.0304587148, 0.0015135809, 0.0209443439, -0.0212525763, 0.0546518378, -0.0125146778, 0.0232827906, -0.0034214086, 0.0202041082, 0.0198609103, 0.0901335627, 0.0222336482, 0.0441300161, 0.0747025087, 0.0115883164, 0.0275492035, 0.0359488241, 0.020356752, 0.0098116025, -0.0218687188, 0.0112868007, -0.0451255739, 0.0232801698, -0.0282649137, 0.0740963444, 0.0033944233, -0.0003031062, 0.0726664662, 0.0343564376, -0.0209931023, -0.0025199431, 0.0374964587, 0.0473750159, -0.0028714777, -0.0317716077, -0.0215460304, 0.0191408265, -0.0245967004, -0.0250435844, 0.0148801999, 0.0021156608, -0.0368245542, -0.0046240333, -0.035454005, -0.0108178686, 0.029774636, -0.0067672576, 0.0071297758, -0.0098508894, -0.023309391, 0.0631329715, 0.0248756427, -0.0631010011, 0.0160604436, -0.0156897698, -0.0174059868, 0.0164904986, 0.0318530053, -0.0217324365, 0.0193586051, -0.0197991505, 0.049768392, 0.0657423288, 0.0281060264, 0.0038090958, 0.0299795922, -0.0077622193, 0.0027242447, -0.0051817656, 0.0281375181, -0.0410876982, 0.0657251552, 0.0101344697, -0.0016137335, -0.0388826281, -0.0403041132, 0.0116824489, -0.0096005583, 0.0047588353, -0.0272788741, -0.0139142182, -0.0133692659, 0.0591340587, -0.0077694585, -0.0116553903, 0.0155297061, -0.0304650366, -0.0428972803, -0.0273951497, -0.0231175609, -0.0359435752, 0.03905873, -0.0223928597, -0.0266270544, 0.0756196678, -0.0475945584, -0.0161142368, 0.0724392086, -0.0381585993, 0.042007599, -0.0085607246, -0.0049983724, -0.0300027411, 0.0286468808, -0.0106003424, 0.0508614331, -0.0066510863, 0.0069662766, 0.0027386909, -0.0240676906, 0.0064257714, 0.0051310565, -0.0352562703, 0.0319632813, -0.013834727, 0.0426440351, 0.0340916105, -0.0041494453, -0.0854283422, -0.0562565848, -0.0753405988, 0.0117556825, -0.0519987494, 0.0119993491, 0.0258767679, 0.0164031591, 0.0050539803, 0.0012079254, -0.0292367898, 0.0015125264, 0.0140217207, 0.0269087981, 0.0276038516, 0.0021701076, 0.0492893308, -0.0776770487, -0.042976588, 0.0242933109, 0.0306930318, -0.0201966539, -0.0629079491, 0.0606394112, -0.0056949169, -0.0232847203, -0.0021315776, -0.0153586678, -0.0206055623, -0.0049923034, -0.0057379305, 0.0345210694, 0.0023575982, 0.0229319464, 0.0397974737, -0.0368092321, -0.0052213687, -0.0654831454, 0.0006581007, -0.0447501838, -0.0323230699, -0.0231683999, 0.0150174638, -0.0028903838, 0.0646657944, -0.0185189676, 0.0329311118, -0.0467415527, 0.0266477913, -0.0641524345, -0.0080348961, -0.0212140493, -0.000650732, -0.0359327048, 0.0168535374, -0.0628067106, -0.0159627572, 0.0339383483, -0.0133644538, -0.0040224115, -0.0058277352, -0.0461709015, -0.0356981196, 0.0596838556, 0.0039845677, 0.0011418546, -0.0140265524, -0.0138634853, 0.0333484225, -0.0282310918, 0.0028680698, -0.0625046492, 0.0277356245, 0.0346895717, 0.0478551127, 0.0158069544, -0.0305672102, 0.0193976108, -0.0777299032, -0.0628827363, 0.0085263513, -0.0093626743, -0.0463585369, -0.0169812497, 0.0026350056, -0.0143149281, -0.0371959545, -0.0228795968, -0.0180974957, -0.0006298657, 0.0642306358, 0.073126398, -0.0178180207, 0.0062458981, 0.0198189914, 0.0166044235, 0.0367832892, 0.0683384389, 0.0132188648, -0.0383881032, 0.0025942675, 0.0056704455, -0.020114731, 0.0188591648, -0.042793408, 0.1120745167, -0.0058253021, 0.0332003795, 0.1078076363, 0.0336680114, -0.0050980314, 0.0071459287, 0.0676569045, 0.013696352, 0.0035446777, -0.0102370204, -0.0718061253, -0.0523024127, -0.0210115761, 0.0358740054, 0.0340064354, -0.0345253758, -0.002770029, -0.0740971491, -0.0374509208, -0.0272246487, 0.0038027428, -0.0002885231, -0.016502019, -0.0083770314, -0.0770886391, 0.0219550524, -0.0428838655, -0.0094318744, 0.0175744109, 0.0230787415, -0.0438538007, -0.0614232346, 0.0655914098, -0.0621603802, 0.0512159504, 0.0162525512, 0.0200889781, 0.0200903229, -0.008384929, 0.0317487642, -0.0004772996, 0.0043657394, -0.0323387459, 0.057631366, -0.008771251, -0.0194193497, -0.0215618163, -0.021892814, -0.0604267828, 0.011030593, -0.0615788326, 0.0296772495, 0.0602831915, -0.03873704, -0.0243370105, 0.0125823542, 0.0253970567, 0.0588411577, 0.0431820452, -0.0080881007, -0.0181319639, -0.011874482, 0.0137971388, -0.0706310645, -0.0664032251, -0.0212943237, 0.0505086184, -0.0310626067, -0.044280488, -0.0467183962, 0.031793341, 0.0219268184, -0.0217032507, 0.0107497945, -0.0019782882, -0.0459726043, -0.0497426577, 0.0454973616, -0.0147397164, 0.0441030748, -0.0266122203, -0.0253925528, 0.0404330939, 0.0397826061, 0.0129647832, 0.0255941711, -0.1204270199, -0.0839073583, -0.0021641867, 0.0046945359, 0.0239429995, -0.0129357791, -0.0578792579, -0.1191629693, 0.0034354739, 0.0647177547, -0.0516621135, 0.0092456155, 0.0109519549, 0.0174139533, 0.010708739, 0.0643309802, -0.0267352108, 0.0016220731, 0.0023120132, 0.0404511727, -0.0137636578, 0.0280084368, -0.0048667849, 0.0023133445, 0.0489225574, -0.0040277978, -0.0522685386, -0.0112022171, -0.0974827632, -0.0068032946, -0.0202706419, -0.0581227615, 0.0172286909, 0.0278291255, 0.0434529074, -0.0690053105, 0.0247938707, -0.0063796714, 0.049950324, -0.0503656939, 0.0394713432, 0.0140363732, -0.0224371292, -0.0160045791, 0.0247079916, -0.0181462839, 0.0075655798, 0.0105824582, 0.0085952505, -0.0177959502, -0.0136507042, -0.0203403644, 0.0026928356, 0.0234303325, 0.0403494388, -0.0221706759, -0.0333729088, -0.0161410701, 0.0017812353, 0.0691639259, -0.0332358591, 0.0760248229, 0.0244826917, -0.0082779787, -0.0101662409, 0.0107548004, -0.0060475077, -0.0172328576, 0.0160918962, 0.0064199935, -0.0299479533, 0.0395748727, 0.0638017133, 0.0036305848, 0.0140247485, 0.066095449, -0.0015871996, -0.0162527487, 0.0081203654, -0.0223212782, 0.0440041013, 0.0041282028, 0.0487173647, -0.0353122912, -0.073221989, 0.0022898335, -0.0430650078, 0.007849114, 0.0299589336, 0.0284226406, 0.0636320934, 0.0246814955, 0.0388128459, -0.0591691397, -0.0360077284, 0.0291393586, -0.0311851054, -0.0177837238, -6.833075928e-33, 0.0305871852, -0.0242112558, -0.018408861, -0.0099183181, -0.0269538071, 0.0227238014, -0.0324166268, 0.0302268155, -0.0459853448, 0.0016208165, -0.0223934706, 0.0304424632, 0.0076035825, 0.0160763804, 0.0025296763, -0.0258309394, 0.015663391, -0.0178374331, -0.0230303612, 0.0244884435, 0.0090352492, 0.0182489417, 0.0622018911, -0.0950315669, 0.0116239721, 0.0028700582, -0.0179702956, 0.0185888484, 0.0914415121, 0.0462202616, -0.0364861526, 0.0848920345, 0.049884133, -0.034114711, 0.0015307798, 0.0166547373, -0.0241651405, -0.0294227116, 0.0174843874, -0.0127125587, -0.0456787497, 0.0290966295, 0.0216450226, -0.0028175563, -0.0524782985, -0.0045827073, 0.0112722022, 0.0316797271, 0.0221941248, -0.0089164106, -0.0633433238, 0.0690649673, -0.0061046388, -0.0165838208, 0.0312626809, -0.004501286, 0.0083370013, 0.0433209129, -0.0451273769, 0.0154195502, -0.0306836702, 0.0256141033, 0.0508447811, -0.0278545562, -0.0353364497, 0.0591710396, 0.0032372519, 0.0388137512, 0.0046168673, 0.003623524, -0.0071979086, 0.0552610047, 0.0645361915, 0.0715015084, 0.0132405218, -0.0240274649, -0.0169401225, -0.0046102605, 0.0808693245, -0.0062951744, -0.0103167016, -0.004708183, -0.0258392915, -0.0141835101, -0.0371976756, -0.0212147236, -0.0577030443, -0.0228043031, 0.0003493213, 0.0315460898, -0.0052716937, 0.071807541, 0.0039622053, -0.0526582003, -0.0501300916, 0.0331934392, 0.0077548581, 0.0274893772, 0.0299854204, 0.0424597226, -0.0408082269, 0.0074545983, -0.0108642923, 0.0612764433, -0.0037656548, -0.0463852957, 0.0194372423, 0.0332420506, -0.043329794, 0.0167441107, -0.0293514226, 0.0265405234, -0.0758487731, -0.0318418965, 0.0168595463, 0.0113284057, -0.0412880033, 0.0502955131, 0.0440015458, 0.0112221055, -0.0004405328, -0.0110975476, 0.0067916731, -0.0065347697, -0.0013228691, -0.0066744685, -0.0407368019, -0.0098340558, 0.0058598672, -0.0240119882, -0.004155736, -0.0233944431, 2.363e-7, 0.0560754985, 0.0636790469, 0.0077884546, -0.0057627307, 0.0360237807, 0.0288726483, -0.0081997924, 0.0204545856, -0.0323646404, -0.0265836269, -0.0531607643, 0.0291878954, 0.074945733, -0.0064499825, -0.0394820981, -0.0039119781, -0.1092520654, 0.0073566511, -0.052886419, -0.0202744007, 0.0185601786, 0.0758404136, 0.0280100033, -0.0238535646, -0.0477512144, -0.0738314763, 0.0629220977, -0.0371263288, -0.04540997, 0.0107141864, 0.0232177544, 0.0219442435, 0.0259472132, -0.0507452749, -0.0342299715, 0.0038134106, 0.0414078161, 0.0381506607, 0.0290882383, -0.0560347214, 0.0173607655, -0.0239123963, -0.0055540111, -0.0497422218, 0.0581615567, -0.0305199604, -0.0719952881, -0.0345384926, -0.0288725998, 0.0145229204, 0.0277335756, -0.0194541961, -0.0642674565, 0.0083474098, 0.011008882, 0.0168683957, -0.060362462, -0.0917571038, -0.0095037008, -0.0102399448, -0.0058412538, -0.006358074, -0.0405227989, 0.0070445556, 0.0210341327, -0.0299361162, 0.0205806959, 1.635354399e-34, 0.039491944, -0.0023139061, 0.0382168368, -0.0247448757, 0.0051352549, 0.0430742949, -0.0223449692, -0.0211869627, -0.0022567918, -0.0467443801, 0.038209144 ]
http://arxiv.org/abs/2310.14747v3
http://arxiv.org/pdf/2310.14747v3
MCC-KD: Multi-CoT Consistent Knowledge Distillation
2023-10-23T09:32:53
2023-12-20T06:50:20
Hongzhan Chen, Siyue Wu, Xiaojun Quan, Rui Wang, Ming Yan, Ji Zhang
cs.CL
cs.CL
Large language models (LLMs) have showcased remarkable capabilities in complex reasoning through chain of thought (CoT) prompting. Recently, there has been a growing interest in transferring these reasoning abilities from LLMs to smaller models. However, achieving both the diversity and consistency in rationales presents a challenge. In this paper, we focus on enhancing these two aspects and propose Multi-CoT Consistent Knowledge Distillation (MCC-KD) to efficiently distill the reasoning capabilities. In MCC-KD, we generate multiple rationales for each question and enforce consistency among the corresponding predictions by minimizing the bidirectional KL-divergence between the answer distributions. We investigate the effectiveness of MCC-KD with different model architectures (LLaMA/FlanT5) and various model scales (3B/7B/11B/13B) on both mathematical reasoning and commonsense reasoning benchmarks. The empirical results not only confirm MCC-KD's superior performance on in-distribution datasets but also highlight its robust generalization ability on out-of-distribution datasets.
[ 0.0174354985, 0.0660716966, 0.000853743, 0.031834919, -0.0353816897, 0.0176407285, -0.0023675035, 0.0002600224, -0.029596068, 0.0026919059, 0.0070152888, -0.0148565853, -0.0090009943, 0.0214899108, 0.0089540491, -0.050104674, 0.0057445467, -0.0599893555, 0.026060218, -0.0416654572, -0.0082310801, 0.0074686669, 0.0035488838, 0.0038736735, 0.0246810336, -0.0395889357, -0.0206827708, -0.0268790852, 0.0286881905, 0.0046593831, -0.0120219579, 0.0500236526, 0.0273592938, -0.0133489296, 0.0000025315, -0.0517346933, -0.0101509774, 0.0003016264, -0.0582165718, 0.0094265379, -0.0539705716, 0.0077160653, 0.0672010407, 0.008082632, -0.029857669, 0.060403619, 0.0091441274, 0.0387916639, 0.0764008388, 0.02361333, 0.0169869661, -0.0698546246, 0.0112236738, -0.0142074479, -0.011859999, -0.0461509489, 0.0295893494, 0.063859798, 0.0113019021, 0.025656702, -0.0307084657, 0.0250654444, 0.048970744, 0.0108724041, -0.0127180181, 0.0325697623, -0.0353296138, -0.0240455419, 0.0141534647, 0.0983235985, 0.0082690008, -0.0359212309, -0.0012022391, 0.0023020788, 0.0135855023, 0.0245096646, -0.0667242706, 0.0190651044, -0.0036292383, 0.0164509453, 0.0291223899, 0.0003894925, 0.0257286988, 0.0092255035, -0.0801465511, 0.0549698807, -0.0026985621, -0.034480121, -0.0006196582, -0.0079072444, -0.0830242187, -0.0643285513, -0.0083872257, 0.0498835109, -0.0292695202, 0.0026568372, 0.0131175248, -0.0082817292, 0.0051124669, -0.0271312669, 0.0091942828, 0.03693977, -0.0077771717, 0.0498421639, -0.0117141828, 0.0714000165, -0.0057173148, 0.0570612401, -0.0177849382, -0.0219683181, -0.0796206668, -0.008532525, 0.0157286171, 0.0663318112, -0.0579506122, 0.0004756466, -0.0213043801, -0.0132517703, -0.0520637855, 0.0095875636, 0.0761098191, 0.0183275454, 0.0224581435, -0.0357101001, -0.0579545237, 0.071337156, -0.0895821229, 0.0259089172, 0.0432300679, -0.0291828029, -0.0246462952, -0.0148753142, 0.0072306381, -0.0204805974, 0.0204734299, 0.0221531801, -0.0305039082, 0.0112984246, -0.0229319744, -0.0355841517, -0.0186131727, -0.0969852433, -0.0151123172, -0.0815165192, 0.060268227, 0.0081104273, -0.011230696, -0.0244191699, -0.0047380347, 0.0028900329, -0.0179830082, 0.0631548092, 0.0257462617, 0.0096638221, -0.0053485199, 0.0328992233, -0.0373514444, 0.0692304522, -0.0236170106, 0.0002735999, 0.0301418696, -0.002860174, -0.0149401128, -0.0118054468, 0.0363000035, 0.0060997191, 0.0124910772, 0.0503939949, -0.0449290499, 0.0098909885, 0.0167170353, 0.042242825, -0.0407786593, 0.0003258609, 0.0509034358, 0.0275996551, 0.0274079721, -0.0034325437, 0.0255562756, -0.0062551033, -0.0009249445, 0.0081575001, -0.0607049726, 0.0273793209, -0.023771964, -0.0018822007, 0.0216899384, 0.0499718897, -0.0399857759, -0.0389547758, 0.0260099843, 0.0167593602, -0.0128181316, 0.0248502698, 0.0532184355, -0.0197363999, 0.0123851504, 0.0846196562, 0.035835918, -0.0296908543, -0.0103035625, -0.0274558105, 0.0506924465, 0.0074298489, 0.01888372, 0.0044631991, -0.0259870719, -0.0071519967, 0.0019053193, -0.009839898, 0.0236793216, -0.0337076411, 0.0040593548, -0.0529159121, -0.0297534671, -0.003926896, 0.020081101, -0.016251605, 0.0210973937, 0.0182906501, 0.0020839439, -0.0793167353, 0.051149819, -0.0059122178, -0.021898279, -0.0116145248, -0.0333466455, 0.0056432495, 0.0430070087, 0.0186276156, 0.0208796281, 0.0128629534, 0.0072244126, -0.0242141075, -0.035498932, 0.0090342462, -0.0555227101, -0.064160794, 0.0493609197, -0.0067329728, -0.0112153394, 0.0111265108, -0.0547828451, -0.0457815118, 0.0247428771, 0.037465483, 0.0066970177, -0.0375617705, 0.0236649644, -0.0030201012, -0.0232614372, -0.002776894, 0.1197293028, -0.049721431, -0.0207654778, -0.0014188131, -0.021179311, 0.0088966209, -0.0000402324, 0.0166121963, 0.0253194738, -0.0213256311, 0.0022572605, -0.0090453476, 0.0257889889, -0.0272808596, 0.0058529186, -0.0392358601, -0.0041626757, -0.0302610826, 0.0022338785, 0.0098037496, 0.0112193022, 0.0412210338, 0.0118221212, -0.0415703803, -0.0091604432, 0.0050045447, 0.0216315687, 0.0198254138, 0.0152805895, 0.0079561668, 0.0275723822, -0.0299813375, -0.0010699995, 0.0672190338, -0.0512543544, 0.0531863272, -0.0095707644, -0.0084087122, -0.0735514164, -0.0037659106, -0.0226902328, 0.0223082509, 0.0130394194, -0.0110724457, 0.0152780293, 0.0406425968, -0.0148928557, -0.0101240482, 0.0391484089, -0.0043884837, -0.0499078408, 0.0323294774, -0.0195537377, 0.0165180732, -0.0030466677, -0.0348148718, -0.0228360873, 0.0605938174, -0.0098415464, -0.018933408, -0.0740691945, 0.0020488566, 0.0127754305, -0.0216935966, -0.0674037412, 0.0013417766, 0.0091969837, 0.0780987516, -0.0155673428, -0.0183114335, 0.0728785247, -0.0054417262, 0.0190895665, -0.0526936762, 0.0049688169, -0.0202340707, 0.0645151958, -0.0455413051, -0.0122888014, 0.0017455916, 0.0295999311, -0.0551243201, -0.0574833378, 0.0239564162, -0.0157430526, 0.1055846661, -0.0678405762, -0.0141813122, 0.0078541059, -0.0720735788, -0.0276196692, -0.0171651132, -0.0484137051, 0.0193874612, -0.0049767219, -0.0224006381, -0.0054383962, -0.0073219868, 0.023969369, 0.0071001649, 0.0035565465, 0.0032078079, -0.0071489043, 0.0554805212, 0.0561404787, 0.0403277948, 0.0427055433, -0.019454509, 0.0419950858, 0.0637944266, 0.0089104772, -0.0372955911, 0.0164867081, 0.0259814467, -0.0098896381, 0.0082370704, -0.0234708413, 0.0095744617, 0.0702223107, -0.0303295683, -0.0087291058, 0.0969319269, 0.0168988779, 0.0197513364, 0.0011165919, -0.0432766154, 0.0866911486, 0.0083620828, 0.0015280982, -0.0797693431, -0.0497403629, 0.0220091678, 0.0065075508, 0.0133805815, -0.0544089973, 0.0141422562, -0.0928349793, 0.0204996075, -0.0053693717, -0.0057386751, -0.046739839, -0.0567963235, 0.0066357735, -0.0110278493, -0.0152095929, 0.0512586758, 0.0277045295, 0.019762855, 0.0107811457, -0.0084420806, -0.032551609, 0.0599063113, -0.014830119, 0.0033626237, -0.000486505, 0.0371316783, 0.0067586089, -0.0879631415, -0.0205684882, -0.052618213, -0.0284672156, -0.0155843562, 0.0004581363, 0.0247582123, 0.0036617515, -0.0231380388, 0.0731657073, -0.0431388803, -0.0299050342, 0.0371508747, 0.1020964086, -0.0077094864, -0.0670081824, -0.0145892436, 0.0006362447, -0.0275902115, 0.0881451219, 0.029602848, -0.0044573299, -0.0444141626, -0.0287343524, -0.0641464069, -0.0307884719, 0.014330009, 0.005073572, 0.0271887854, 0.0232211426, -0.047703404, -0.0102758324, 0.0020707876, 0.0570060946, -0.0290807355, -0.000393159, 0.0221643932, 0.0179938525, 0.0001072854, 0.0115812859, -0.0459983051, -0.0099891117, 0.0064330217, 0.0501465388, -0.0108812759, -0.0465252399, -0.049087707, 0.0177633781, -0.0874788091, -0.0518004075, -0.0312933214, 0.0351980068, 0.0310092494, 0.0497064553, -0.0128998868, -0.0079420069, 0.0697659403, -0.0108513189, -0.01498059, 0.0251344144, 0.0280536655, -0.0090851784, 0.0185294338, 0.0614730865, -0.0251463428, 0.0185164716, 0.0023747198, 0.0753788799, -0.0302311704, -0.0009358799, 0.0059246365, 0.0345058702, -0.0097469212, 0.018309623, -0.0066321427, -0.0272600148, 0.0261863582, -0.0121569708, -0.0164263435, -0.0351252332, 0.0373056047, 0.0260709636, -0.0083523337, 0.0021249303, -0.0361971743, 0.0391548462, 0.0022129726, -0.0025971644, -0.0204912256, 0.0350667238, 0.0339437537, 0.0510911681, -0.0380437933, -0.0017810484, -0.0037668117, -0.0320296362, 0.0520683937, -0.011412655, 0.0737838447, 0.0516259931, -0.0078772837, -0.0274975523, -0.0066812625, -0.0728590861, -0.0663736463, 0.0218958408, 0.0127639761, 0.0074810423, 0.026809413, 0.0172159299, -0.0124113318, -0.0239510164, 0.0025216979, 0.03888027, 0.0406718738, 0.0008405961, 0.0359136052, 0.0266080946, -0.0073348237, 0.0022347507, 0.0648059025, -0.0502622873, 0.0202559493, -0.0039742379, 0.0155347073, -0.0359733887, -0.0502103306, -0.0432245173, 0.0338804312, 0.0169989578, 0.0030781443, -0.0767448246, -0.0691209584, 0.0097412178, -0.0029742406, -0.015879225, 0.0026542083, 0.0179527123, 0.0766332448, 0.0032071802, -0.050975617, 0.0038164831, 0.0074236002, -0.0414916873, -0.007155783, 0.0010895033, -7.17314277e-33, 0.027909942, 0.0075635291, 0.0293694995, -0.0464831144, -0.0136035625, -0.018488925, -0.0302985068, -0.0234890059, -0.0649493709, 0.032180585, -0.0276354738, 0.0188381039, 0.0026773247, 0.0325796604, 0.0117083611, -0.0331035517, 0.0255610514, 0.0266070403, -0.0185960438, 0.0264875181, 0.0457163975, -0.0041820952, 0.028716851, -0.0338763855, 0.023797607, -0.0129230795, -0.002087842, 0.0455250703, -0.0598196723, 0.047587622, -0.0095804781, 0.0351700149, 0.0211470053, -0.0373602509, -0.0088652503, -0.0025066179, -0.1011589915, -0.0468260534, 0.067551963, -0.0462569073, -0.0594920069, -0.0175228342, 0.0234638229, 0.0136420978, 0.0391886272, -0.0451764762, -0.0002615124, -0.0164917689, 0.0056963353, 0.0082337828, 0.0132033546, 0.0081080766, -0.0337694995, -0.0154479211, -0.0218766164, 0.055777844, -0.0085159196, 0.0254099984, -0.0601474047, 0.0139674293, 0.0438464545, -0.0065809144, 0.0653089732, 0.0021192175, -0.0138650062, 0.0459492207, -0.0643460602, -0.0499479882, -0.0716061816, -0.0061913496, -0.0088135609, 0.0984414741, 0.0461184792, 0.0421604887, 0.0429984964, 0.0194320418, -0.0963339731, 0.0108005982, -0.030173406, 0.0520124994, 0.0261068568, -0.0041829306, -0.037448056, -0.0284847058, -0.0604939237, -0.0163867883, -0.0482129678, -0.0041122269, 0.0290067047, -0.0021972742, -0.0396424867, -0.0037527622, 0.0345857888, -0.0448475853, 0.005378617, 0.0730723366, -0.0037781184, 0.0008491285, 0.0179652944, 0.0297711082, -0.035496477, 0.0195424259, 0.0027455273, 0.0227217749, -0.0112798754, 0.0240580011, 0.040014185, -0.02310252, -0.0061918274, -0.0233392604, -0.0528164394, 0.0093576107, -0.0172921568, 0.0286647826, 0.040195331, 0.0400251634, 0.0022786974, 0.0037480064, 0.0011773065, -0.0030576107, -0.0066709206, 0.0464917384, 0.0193614475, 0.0260026231, 0.0012943144, -0.0051762634, -0.0349389277, -0.029194884, 0.0275718477, -0.0456256568, -0.014345428, 0.0457146727, 3.054e-7, 0.0152269974, 0.0106505975, 0.0012420004, -0.0182584152, 0.0026054697, 0.043421004, -0.0007484863, -0.0262196194, 0.0134938387, -0.096071668, -0.0079955431, 0.0691893771, 0.0082987128, 0.0524898916, -0.0464558043, -0.0129402447, -0.0681452304, -0.0661813021, -0.0167169552, -0.0296762902, 0.0730386376, 0.0652473792, 0.0390310287, -0.0357646272, 0.0272538699, -0.0005451759, 0.0112343626, -0.0035597049, 0.0220633093, 0.0177389383, 0.0030500749, -0.0311415382, 0.0411030389, 0.0499100089, 0.0006008188, 0.0038609083, -0.016891744, 0.0804841667, 0.013679225, -0.0219695251, -0.0352800712, -0.0394186415, 0.0191301666, -0.1033330113, 0.1036781669, -0.0327964835, -0.0251519103, -0.000222804, -0.0454333052, -0.0267653335, 0.0115880063, 0.0066896169, 0.0285766292, 0.0192989074, -0.0070926808, 0.0027015372, -0.0012275428, -0.079683058, -0.0362603925, 0.0267861933, -0.0271958858, -0.0658561736, -0.0212977286, -0.0479408726, 0.0367745757, -0.0609503575, 0.0037988583, 3.006142672e-34, 0.0260807611, 0.0074147941, 0.0321718976, -0.0105708484, 0.0379959643, -0.0297435001, -0.0664854422, -0.016045589, 0.0264435075, -0.0975470617, -0.0063274512 ]
http://arxiv.org/abs/2310.14735v4
http://arxiv.org/pdf/2310.14735v4
Unleashing the potential of prompt engineering in Large Language Models: a comprehensive review
2023-10-23T09:15:18
2024-06-18T16:21:12
Banghao Chen, Zhaofeng Zhang, Nicolas Langrené, Shengxin Zhu
cs.CL
cs.CL, cs.AI, I.2.7
This paper delves into the pivotal role of prompt engineering in unleashing the capabilities of Large Language Models (LLMs). Prompt engineering is the process of structuring input text for LLMs and is a technique integral to optimizing the efficacy of LLMs. This survey elucidates foundational principles of prompt engineering, such as role-prompting, one-shot, and few-shot prompting, as well as more advanced methodologies such as the chain-of-thought and tree-of-thoughts prompting. The paper sheds light on how external assistance in the form of plugins can assist in this task, and reduce machine hallucination by retrieving external knowledge. We subsequently delineate prospective directions in prompt engineering research, emphasizing the need for a deeper understanding of structures and the role of agents in Artificial Intelligence-Generated Content (AIGC) tools. We discuss how to assess the efficacy of prompt methods from different perspectives and using different methods. Finally, we gather information about the application of prompt engineering in such fields as education and programming, showing its transformative potential. This comprehensive survey aims to serve as a friendly guide for anyone venturing through the big world of LLMs and prompt engineering.
[ 0.0349844992, 0.0150246676, -0.0546388179, 0.0364155471, -0.0414897464, -0.0092904, 0.0087032858, -0.0274288673, 0.0507393368, -0.034652207, 0.0085945548, 0.00999879, -0.0216187797, 0.0553500392, 0.0046954132, -0.0701366663, 0.0448639095, -0.0531334728, -0.0036356228, 0.0104724346, 0.0180853177, 0.0238146707, -0.0094231432, 0.0523196794, -0.0243721027, -0.0461886041, -0.0553294346, 0.0053391657, -0.0197695252, -0.0310925599, -0.0209446792, 0.0430542193, -0.0145541225, 0.0219242256, 0.0000022759, -0.0782578588, -0.0038217842, 0.0028564206, -0.0438953079, 0.0052799284, 0.0016012824, 0.0421160944, -0.0163637195, -0.0025349224, -0.0406128503, 0.0319564566, 0.0372482315, -0.0205687154, 0.0500029437, 0.0392968431, -0.0038461748, -0.0065604476, 0.0195423048, 0.0261986535, 0.0363493823, 0.0084873056, 0.006544176, -0.0160257109, 0.0890047178, 0.0445939675, 0.0022069591, 0.0497302152, 0.0321940854, -0.0676118881, 0.042689506, 0.0181509703, -0.0053133848, -0.0594960898, -0.034839645, 0.0407043882, 0.0282187518, -0.0161649995, 0.0039130198, -0.0361711308, 0.04518025, 0.0815882981, -0.0436431281, 0.0480748527, -0.00077777, -0.0117063243, 0.0481051244, -0.0209689774, -0.0111477012, 0.0153505523, -0.0162126031, 0.044282753, 0.016006209, -0.0437948555, -0.0175788105, 0.0017847758, 0.0337715223, -0.0911867246, -0.0222526155, 0.0738205761, -0.0585133247, 0.0304194484, -0.0166855752, -0.0098808454, 0.0234702937, -0.0159669034, 0.0254489519, 0.0363487601, -0.024355676, 0.0361756235, -0.0116147362, 0.0432928503, -0.0036168182, 0.0320041627, -0.0065211817, 0.0528304912, -0.0718067139, -0.034580227, -0.0642004684, 0.0441142581, -0.0148648517, 0.0031902632, 0.0150293205, 0.0835116953, -0.0168968961, 0.0625773072, -0.0226308126, -0.0183730051, -0.0005616947, -0.0013177622, -0.0181638412, 0.0105776219, -0.0297204256, -0.0260626301, 0.0325023383, -0.0525285713, 0.0202623978, 0.0168822035, -0.0108414041, 0.0067721908, -0.0323246568, 0.0584110245, 0.0029374233, -0.0054343482, -0.026284663, -0.0654501989, 0.0208826382, -0.0150064016, -0.0187701378, -0.0889789537, -0.0212229881, 0.0330990925, -0.0147287045, -0.0373684354, 0.002552781, 0.0274597611, 0.0028534124, 0.0549352989, -0.059336096, 0.0185017381, 0.0451186746, 0.0232253484, -0.0155456569, 0.0536261722, 0.0244392641, 0.0272110738, 0.0340784267, -0.009766642, 0.0446459651, 0.0412600674, -0.0336665288, 0.0064456766, -0.0181251299, 0.0210957676, 0.020556327, 0.017282892, -0.0635657385, 0.0304261297, -0.0133130914, 0.0910486802, 0.0384895392, 0.0448082946, -0.0003549245, -0.0016434552, 0.0895252228, 0.0358926356, 0.0098993601, 0.0461008623, -0.0300128311, 0.0286599118, -0.0236178637, 0.0146016898, -0.0100990795, 0.0503540859, -0.0022434324, -0.0743842199, -0.0033153929, -0.00835359, -0.0085759964, -0.0045680446, 0.0305366796, 0.0307732318, 0.0018032492, 0.0141244717, 0.0069269356, -0.0366147496, 0.0190649033, -0.0725903958, 0.0384475291, 0.0997717306, 0.0714071244, -0.0556781553, -0.0214619972, -0.0066236309, 0.0120779844, 0.0503548384, 0.0407466702, -0.0489708483, -0.066988267, -0.0237047859, -0.0127162542, -0.0279946979, -0.0061929715, 0.0263078194, -0.0237181056, -0.0158235952, -0.0050307843, 0.0510769449, -0.0442546383, 0.0504344404, -0.0613241009, -0.0310468618, -0.0279493742, 0.0397406667, 0.0002461331, 0.0259899907, -0.0096009402, 0.0257134121, 0.0243292172, -0.0077406219, -0.01945021, -0.0172809381, -0.0226515643, 0.0108580915, 0.0395869091, -0.013351826, -0.0089714117, -0.0468224622, -0.0121116517, -0.0482020564, 0.0054320577, -0.0182372387, 0.0219965838, -0.0154443244, 0.0436766408, -0.0282925088, -0.0374275148, -0.0400414132, 0.0461002961, 0.0206979252, -0.0000307898, 0.1001073718, 0.0460177884, 0.0166018046, 0.0003547519, -0.0209815986, 0.0302312598, 0.0028423956, 0.0151171796, 0.0405585244, 0.0380340107, -0.0359262973, -0.0388148725, -0.043790374, -0.0325588584, -0.010094122, -0.0130126812, 0.0122604091, 0.0125531331, -0.0282362849, -0.0001785278, -0.0364823043, -0.0074951486, -0.0002776476, 0.0075847446, 0.0421668962, 0.0204619132, -0.0412918031, -0.0035331403, 0.0052274861, -0.0324199982, 0.0233264063, 0.0527134873, -0.0551739819, -0.0932390988, 0.0359865762, -0.0024742377, -0.0170916002, 0.0182394926, -0.0071586072, 0.0364868715, -0.0108808251, 0.08349704, 0.0310038682, -0.0169520043, 0.0284437444, 0.0615994222, -0.0111234877, -0.0383223221, 0.0033292512, 0.0048261639, -0.0091873202, -0.0058727958, -0.0366344303, 0.0277447365, 0.0460836403, 0.0115581453, 0.0050175283, -0.037368767, 0.0578521676, -0.0183676053, -0.0167349856, -0.0108776763, -0.0765304267, -0.0287832413, 0.0845293254, 0.0120190727, -0.0483511202, 0.0962602347, -0.0427387469, -0.0011330239, -0.0214647818, -0.0072372635, -0.0315316617, 0.0467935205, 0.0100668082, 0.0010117356, 0.0217890106, -0.0181928854, -0.067366913, 0.0278965496, 0.0147969183, -0.0165776107, 0.0251693819, -0.0362760052, -0.0135826645, 0.000062834, -0.0222634561, -0.0585251302, -0.0277708638, -0.0042955643, -0.0113796499, 0.0149824619, 0.0152811361, 0.0282283016, -0.0120144421, 0.0301482845, 0.020629365, -0.0021903575, -0.028266931, -0.0363226905, 0.031401135, 0.0183776766, -0.0082384627, 0.0148521373, -0.0299229175, 0.0856492668, 0.0206591096, -0.0149466582, -0.0126666324, -0.0033875802, -0.0164819956, 0.0310072396, -0.0522842519, -0.0367298648, 0.0543267876, 0.0374050587, -0.0606724471, -0.0373251438, 0.0950991735, 0.0544220395, -0.0535297245, 0.0019906445, -0.0667726099, 0.0170321334, 0.0295781698, 0.0597840175, -0.0943998396, 0.013395451, -0.0040303008, -0.0002663258, -0.044102814, -0.0086710863, -0.0117852464, -0.1154111028, 0.0549670793, -0.0225644261, 0.006916522, 0.0200866144, 0.006055837, 0.0024510759, 0.059065938, -0.0279909167, 0.0117611988, -0.0309823416, -0.003474175, 0.024129821, -0.0352879874, -0.0218260866, -0.0312355049, -0.0176476873, 0.0654731095, 0.0709329396, -0.0026038024, 0.0036138152, -0.0273747202, 0.0122766327, 0.0023404823, 0.0362552889, -0.0145123731, 0.0206852928, 0.0022149258, 0.0047180844, -0.0176956896, 0.0130034033, 0.0008422988, -0.0526635461, 0.0606863312, 0.1078070253, -0.039052479, 0.0028539919, -0.0685527772, 0.0008918641, 0.0108374776, 0.0529246479, 0.0667347983, -0.0656153113, -0.0220937897, -0.0677975267, -0.0205243751, -0.0121991811, -0.0449733287, 0.0129075032, -0.0058881468, 0.0115136569, -0.0600819439, -0.0476810746, 0.0491672754, 0.0229493231, 0.0546138808, -0.0001487981, 0.0149440579, 0.0026022154, -0.0033228321, 0.0088944081, -0.0439744443, -0.0071158754, -0.0471637137, -0.0472054482, -0.0083880713, -0.0794727132, 0.0167043656, -0.0209044516, -0.0131819118, -0.0653280616, -0.0074728387, 0.050593242, 0.0346200764, 0.028289238, -0.0161888283, -0.0582040809, 0.0485915877, 0.038438201, -0.0501149148, -0.0149772605, -0.0122553464, 0.0329044275, 0.0012882603, 0.0174984764, -0.0553385466, 0.006675275, -0.012379949, 0.0013279172, -0.0283519961, -0.0380689017, 0.0420759805, 0.0610338934, -0.0273800883, -0.0239766184, 0.0194623489, -0.0531710126, -0.004609731, -0.0418624878, -0.0518261418, -0.0271274019, 0.0188433677, -0.0060225343, -0.011066433, 0.046094995, -0.0194290504, -0.055121839, 0.0275256056, -0.0272755735, 0.0416750461, -0.0031004508, 0.050804954, 0.0421527401, 0.0048292498, -0.0285644289, 0.0316248387, -0.0122451046, 0.0219543073, 0.0004877563, 0.1016453281, 0.0208083205, -0.0049403547, 0.0164684653, 0.0388679951, -0.0523709618, -0.0834911242, -0.0056125517, 0.0519621484, 0.0120633822, 0.0183228701, 0.0080408473, -0.0397614874, 0.0061677722, 0.031011859, 0.0039856671, 0.0605535097, -0.0663348883, -0.0180654135, 0.0290661268, -0.0156699643, -0.0529346429, 0.0386598036, -0.0568404496, -0.0141250398, 0.0071955696, -0.0022434287, -0.0565495118, -0.0174372699, 0.0130259702, 0.0071977731, -0.0333167352, -0.0114456657, -0.1004191712, -0.0298401117, -0.007617861, 0.0373566002, -0.0083136838, -0.011917674, 0.0348999575, 0.0441449657, 0.0306350756, 0.0013916228, -0.0221906919, 0.0096805291, -0.0315636806, -0.0301100295, 0.0063127624, -5.819400496e-33, -0.0499312915, -0.0614576004, 0.0448097847, 0.0291589331, 0.0098478673, 0.0159555357, -0.0434370078, 0.0218386669, 0.0098402053, 0.0075746472, -0.0242359396, -0.0348476805, 0.0026127242, -0.0017937542, 0.0547175929, -0.0006353128, 0.0486762188, -0.0022766613, -0.0180962346, 0.0322099477, 0.0014285061, -0.0150728552, -0.0116234291, -0.0165394451, 0.0679684803, -0.0498524196, -0.0091106854, 0.0032939697, -0.015156785, 0.0503598861, -0.0138808498, 0.0442068204, 0.0195390899, -0.0284101907, -0.0326771475, 0.0607044734, -0.0329556316, -0.0566911884, 0.0222969018, -0.0088978373, -0.036548242, -0.0558085665, 0.0165388025, -0.044505626, -0.006451908, 0.0317812972, 0.0566961206, -0.0118518351, 0.0217816178, -0.0077633937, -0.1063030437, 0.0030305155, -0.0296453685, -0.0140536772, 0.0237947945, 0.0428249948, 0.0141753303, 0.0105145629, -0.0108646397, 0.0424699001, 0.0213318691, 0.0283957943, 0.0796864703, 0.0133182481, -0.0164925605, 0.0479321256, 0.0238806345, 0.0450431071, -0.0429995507, 0.0010793213, 0.0045094234, 0.0297852661, 0.0571936518, 0.0377757698, -0.0106374826, 0.0020992665, -0.0122600617, 0.0237816516, 0.022693783, -0.0197274555, 0.0072533842, -0.0227531567, -0.0394838117, -0.0150603382, -0.009646154, -0.0248110052, -0.0136914607, -0.044802621, 0.0210215226, -0.0467520319, -0.0306720398, -0.0244404469, 0.0019155571, -0.0182874724, 0.0086197685, 0.0151834916, -0.0227459669, 0.0551362634, -0.0118643502, 0.0303465892, -0.0233111028, -0.0174761061, 0.0101341652, -0.021707071, 0.0314751156, 0.0653907657, -0.0088403523, 0.0378433168, -0.0511051491, -0.0013833127, -0.0495541915, 0.0249638855, 0.0014875545, -0.0253701843, 0.0305736493, 0.0057707955, -0.0029688599, 0.0225538574, 0.0314630009, -0.0489761047, -0.038045384, 0.0194744561, -0.0198066663, -0.016729394, -0.0376329832, -0.0173178613, -0.050182011, 0.0538870208, 0.0480896793, -0.0535766743, -0.0180649608, 0.0165663417, 2.984e-7, 0.0153348204, 0.0516247936, 0.0287405774, 0.0245281179, -0.0059976578, 0.0000235172, -0.0138076069, -0.0336838067, 0.0155162802, -0.0329244956, 0.0056082173, 0.0194815733, 0.0135378158, 0.0434910022, -0.1305937171, -0.0113672204, -0.0236840453, 0.018805854, -0.1058965623, 0.0327357687, 0.1081227362, 0.0170017406, 0.0048494814, -0.0004352564, -0.0285327248, -0.0202679727, -0.0167708043, -0.0174266808, 0.0046507097, 0.0450462252, 0.0065313294, 0.0040445607, 0.0047776955, 0.0216630008, 0.002804877, 0.0014605012, -0.0161651578, 0.0399590209, 0.019179387, 0.0208371617, 0.0219435953, -0.0388109237, 0.0045541008, -0.0643975884, 0.0306959487, -0.0358567946, 0.0078812055, -0.0245448202, -0.0442144796, -0.0526333824, -0.0117289741, -0.0306819025, 0.0132032009, 0.0309045035, -0.0267223399, -0.0218727328, -0.0060545928, -0.0341863744, -0.0153724598, -0.0179708302, -0.0135583803, -0.0379658937, -0.045282986, -0.0101073738, 0.0146184759, -0.060770914, 0.0083218189, 3.060972596e-34, 0.0114025483, -0.0375758931, 0.0535730124, 0.0459034443, 0.0121499375, 0.0190081634, -0.0141494125, 0.0308493841, 0.0436053164, -0.0675263554, -0.0424045958 ]
http://arxiv.org/abs/2310.14732v1
http://arxiv.org/pdf/2310.14732v1
Generating Prototypes for Contradiction Detection Using Large Language Models and Linguistic Rules
2023-10-23T09:07:27
2023-10-23T09:07:27
Maren Pielka, Svetlana Schmidt, Rafet Sifa
cs.CL
cs.CL, cs.AI
We introduce a novel data generation method for contradiction detection, which leverages the generative power of large language models as well as linguistic rules. Our vision is to provide a condensed corpus of prototypical contradictions, allowing for in-depth linguistic analysis as well as efficient language model fine-tuning. To this end, we instruct the generative models to create contradicting statements with respect to descriptions of specific contradiction types. In addition, the model is also instructed to come up with completely new contradiction typologies. As an auxiliary approach, we use linguistic rules to construct simple contradictions such as those arising from negation, antonymy and numeric mismatch. We find that our methods yield promising results in terms of coherence and variety of the data. Further studies, as well as manual refinement are necessary to make use of this data in a machine learning setup.
[ 0.0582356378, 0.0832368433, -0.0277413707, 0.0740552396, -0.0601106212, 0.0232315976, 0.0209395867, -0.0092940554, -0.0029876279, -0.0759996548, 0.0467985459, -0.0288228411, -0.019561667, 0.0456188507, 0.0239035953, -0.0130967004, 0.0735030696, 0.0286440812, 0.0405016877, -0.0127229448, 0.0185757261, 0.0236920621, -0.0087652691, -0.0085781738, -0.0700025782, -0.0164267886, 0.0018148851, 0.0246154424, 0.0105328215, -0.0331003554, -0.0048790718, 0.0335313492, 0.0114203226, 0.135597989, 0.0000019372, -0.0561109446, -0.0177924689, 0.0121385884, -0.056096103, 0.0055132215, 0.0772273168, -0.0357178189, -0.0286909528, -0.0020771262, -0.0345015228, 0.0008092838, 0.0516345315, 0.0837185234, 0.0791248754, 0.076612398, -0.0007974207, -0.013777595, 0.0054317145, -0.0079158787, -0.0159024484, 0.0195016451, 0.0246155206, 0.0319805592, -0.0257955473, 0.0328967683, -0.0069946158, 0.0028655997, 0.0240177736, -0.0005342961, -0.0579475649, -0.0079681929, -0.0731471479, -0.0282481611, 0.0240752902, 0.0547872633, -0.0156798549, -0.0526911318, -0.0080635091, 0.0144804502, -0.0064922119, -0.0225036144, 0.0070519126, 0.0242571663, -0.0248866249, 0.0388029553, 0.038739074, -0.0300515369, 0.0228985604, -0.0243569594, -0.0438448936, -0.0114449589, 0.0159372278, -0.0445366316, -0.0045311283, -0.0180478916, -0.0680167153, -0.0417149924, -0.0175314937, -0.0240963064, -0.0146456482, -0.0042227148, -0.0598296188, -0.0499062799, 0.0653751567, -0.0762331188, 0.034129262, -0.0129681667, 0.0068613859, 0.0490940548, -0.019151004, 0.0334219635, -0.0049327696, 0.0209254641, -0.0072529148, -0.0283641759, -0.0072916178, -0.0039196126, -0.0234781988, 0.0075789285, -0.0535951145, 0.0044347974, 0.001274364, 0.0137111954, -0.0596181862, 0.0516968891, -0.0396312624, -0.0024514501, 0.0072953808, -0.007641138, -0.0242914781, -0.0288253464, -0.0272325464, 0.0317248926, -0.0318995006, -0.0732419491, 0.0110267056, 0.0013834566, -0.0486337245, 0.0020472431, 0.0176746659, 0.068263188, 0.0148342056, 0.0185834467, -0.0194368288, 0.0202175751, -0.0474509522, -0.072615765, -0.0232132357, -0.0730751231, 0.0332166962, -0.0061844611, -0.0118652582, -0.0443271622, 0.0123137403, 0.0111557487, 0.0079900566, 0.0821696743, -0.0263298936, -0.016973434, 0.038376648, -0.0316339843, -0.0152614731, 0.0364401042, 0.0004800159, -0.0315314718, 0.062332157, 0.0179493539, -0.0179888271, -0.0063534924, -0.001107882, 0.0205967706, -0.0518212579, 0.0256286077, 0.0299717896, 0.0104608089, -0.0198969282, 0.0868165791, -0.0190513898, -0.0846309662, 0.0119118905, -0.0395429656, -0.0118600708, -0.0020830659, 0.041738309, 0.0229854211, 0.0089416439, -0.0216716155, -0.0211098772, -0.0279711019, -0.0269108936, -0.0101944497, 0.010976919, 0.0723024011, -0.0043369299, -0.0627658516, -0.0451107174, 0.0053429613, -0.0226286892, -0.0402629375, 0.0252681375, 0.0086136945, -0.0202241093, -0.0034483441, 0.0378941782, -0.0776820555, -0.0295580234, -0.0239344221, 0.015231682, 0.0555360876, 0.0332860984, -0.0244819354, -0.0012196942, -0.0221566055, -0.0034959537, 0.0547278784, 0.053947065, 0.0098016132, -0.0133248409, -0.0367674306, 0.0264010504, -0.0625628307, 0.0592432916, -0.0293617118, 0.0147939883, 0.0330407806, 0.0203265212, -0.049262166, -0.0299701318, 0.0543427169, 0.0091433972, -0.0229665097, 0.004985319, 0.0163904484, 0.0005454118, 0.0220669545, -0.0559309795, 0.0141587015, 0.0386281833, -0.0366009325, -0.0257456563, -0.0206336882, 0.0172869395, -0.0542914495, 0.0617482066, -0.0519127138, -0.0432144329, 0.0214012861, -0.0575811304, 0.0032813537, 0.0181177408, -0.0487590395, 0.0101846932, -0.0362440422, 0.0204139743, 0.0028600586, 0.0229527559, -0.0234043375, 0.0438677259, -0.0227924604, 0.0384729989, 0.0160174184, 0.0143849291, 0.0617592111, -0.0258016493, -0.0022484493, 0.0145821013, 0.0035174987, 0.0242155958, -0.0121786539, 0.0003495385, 0.0029724066, -0.0721808448, -0.0291811526, -0.0094012795, 0.0024485968, -0.0053644818, 0.0301983654, -0.0469209291, -0.0015235229, -0.0007345352, 0.0502325408, -0.001928923, 0.0502557531, 0.0028461646, 0.0522378162, -0.0250603557, -0.0322192647, -0.0382649824, 0.0019862631, -0.0330693088, 0.0628704801, -0.0020809129, 0.047275234, -0.0000923011, -0.0315994322, -0.0503160879, 0.038572304, -0.0023091345, -0.0171321277, 0.0415245965, 0.0045992984, 0.030704638, 0.0246842355, 0.0448245928, 0.0745270252, 0.0490734093, -0.0387503244, -0.0254115388, 0.0124154352, -0.0058256467, 0.0259298086, -0.0101915561, -0.0324390903, 0.0279123597, 0.0227368344, 0.0161331221, -0.019012874, -0.0316290632, 0.1208456233, -0.0391355604, 0.0066475542, 0.0227606669, -0.0194504559, -0.0091105336, 0.0222809445, -0.0018691286, 0.0011185502, 0.0633073524, -0.0366031937, 0.0246991981, -0.0565089099, -0.0326369926, -0.0447559357, 0.0562089197, -0.0106101781, 0.0229458492, 0.0402569026, 0.052596394, 0.0070252763, 0.0049108611, 0.0592468828, -0.0178767815, 0.027488878, -0.0301466696, -0.008204055, -0.0103226034, -0.0540144891, -0.0712978691, -0.0488853008, -0.0041584014, -0.0127851665, 0.0131656202, 0.006019826, -0.0497022979, -0.0115862032, -0.0527197942, -0.0058619813, 0.0260356106, -0.0168592129, -0.0318625048, -0.0006044804, 0.0246895477, 0.032423608, 0.0515215322, -0.0075258859, -0.0102487644, 0.0171000846, -0.0337550081, 0.011210274, -0.0034201269, -0.0143213086, -0.0271291658, 0.0053251246, 0.009389963, -0.0179146249, -0.0207277946, -0.0379224569, 0.0007836918, 0.0828094557, 0.054441113, 0.0323712789, 0.0188498851, -0.0369180329, 0.0243820138, 0.0243829135, -0.0051751193, -0.1005632207, -0.0169897024, -0.0011690593, -0.0213035308, -0.0226240084, -0.0237500537, -0.0196573026, -0.11065685, 0.0387840159, 0.0326783918, -0.0363080278, -0.0830574185, -0.0056728455, -0.0070803682, -0.0019879721, 0.008491993, 0.0255685151, -0.0016635817, 0.0227881111, -0.0139821153, 0.0142917819, -0.0292470772, -0.0030483657, -0.0272384528, 0.0365284644, -0.0073736678, 0.0469658747, 0.004433821, -0.0005109288, 0.0128080612, -0.0144985029, -0.0533045158, -0.0104709361, 0.012537376, -0.0097521553, -0.0191989392, -0.042689614, 0.0138144139, -0.0270366743, -0.0251930412, 0.0190669131, 0.0541039519, -0.0078067537, -0.0375430658, -0.0463967361, 0.0219765659, 0.0177182145, 0.0725776032, 0.0050281375, 0.0116864061, -0.0530235209, -0.0575897917, 0.0036681397, -0.020278234, 0.0128083518, -0.0216270201, 0.052353505, 0.0382111892, -0.0732439607, -0.0197693426, -0.0200809482, -0.0030176933, -0.0050342469, -0.0303678047, -0.0345276482, -0.0226699281, -0.0386237167, -0.0260005742, 0.0182794128, 0.0313952565, -0.0155840078, 0.0093296198, 0.0115289623, 0.0255807806, -0.0116587318, 0.0570586137, -0.0439656489, -0.0716607347, 0.0438651368, 0.0036892612, 0.010366749, 0.0269936044, -0.0165918004, 0.0426518545, -0.0429886058, 0.1111426726, -0.0280634128, 0.0499101095, 0.0634050742, -0.0044650654, -0.0000307049, 0.0439811833, 0.0138356965, 0.0179919358, -0.0119222533, 0.0258121565, -0.0661900118, -0.0659816265, 0.0336308554, 0.0115009248, 0.0012404275, 0.0303348172, -0.016092997, -0.0278531108, 0.0087056477, -0.0328472331, -0.0520456396, -0.0155667476, -0.0002087355, -0.0155964755, -0.0106911985, -0.0315434709, 0.0229222141, -0.0071077491, 0.0687981844, 0.0168940034, 0.0160723384, 0.0494068041, 0.0308382083, 0.0004519554, -0.0554113947, -0.0218037404, 0.03255881, -0.0394924469, 0.0104042673, -0.0164644215, 0.0270041283, 0.0395409353, -0.0377536789, -0.05662838, -0.0266749617, -0.0146852406, -0.0086769769, -0.0252759978, -0.0074541126, 0.02850434, 0.0196570531, 0.0174249075, -0.0314310044, -0.0440700576, -0.025709426, 0.0269333627, 0.0388281159, -0.029197624, 0.0419084541, 0.0261684489, -0.040025074, -0.0288369954, 0.0169986952, 0.002935526, 0.0588774793, 0.0371871069, 0.0110619524, -0.0456809066, -0.0301792156, -0.0076647596, -0.0020463662, 0.0188567825, 0.0463315994, -0.0984493122, -0.0529105663, 0.0252023321, 0.0524949245, 0.0242283102, 0.0391864814, -0.0084263552, 0.0713860989, 0.0188787561, -0.0053159585, -0.0201357566, 0.0529197566, 0.0028971334, -0.0062937853, -0.0347978994, -5.479374062e-33, -0.0402087048, -0.043907091, -0.0132816723, -0.0258342009, -0.0071896841, -0.0342699364, -0.0175654162, -0.0237272289, -0.0264361836, 0.0543593466, 0.0291656014, 0.0335762836, 0.0067100115, 0.0091867652, -0.022402104, -0.0027521159, 0.088684909, 0.0232234411, -0.0008558957, -0.0352078564, 0.0712112933, -0.0377425812, 0.0096938461, -0.0818552598, 0.0185691826, -0.0319793522, -0.0369660854, 0.0523971021, -0.0296319071, 0.0409687385, -0.0309328604, 0.0708358884, -0.0085136406, 0.0120027848, 0.0100375023, -0.0409875326, -0.0165431835, -0.0248259697, 0.0222157668, -0.0254414398, -0.0094550503, -0.032643076, 0.0118994284, -0.0066595986, -0.0150986407, 0.0110702589, 0.0214551762, -0.0217313692, 0.0497915894, 0.0165372528, -0.1083879545, 0.0485079661, -0.0134450607, -0.0056793955, -0.0286143105, -0.019708436, 0.0175688416, -0.0408395343, -0.0564480349, 0.0242162328, 0.0452428535, -0.0041417624, -0.0113896737, -0.0288187191, -0.0113164447, 0.0529242344, -0.024045106, 0.0179540813, -0.0166397039, 0.027520502, -0.0094911978, 0.0517643318, 0.0501302779, 0.1002615467, 0.0210268684, -0.0133657204, -0.0421834253, -0.0401273705, -0.000899699, 0.0182681829, 0.035856802, -0.0227260981, -0.0265040211, 0.0013538199, -0.0358850025, -0.0187480189, -0.0311087295, 0.010363536, 0.0378827937, 0.014921423, -0.0420588925, -0.0412518792, -0.007138154, -0.0463756025, -0.0414615795, 0.0320088491, -0.0226749498, -0.0321784653, 0.0390035175, 0.0094662122, -0.0271808896, -0.0259640589, 0.0556594692, 0.0135058183, -0.0075268024, -0.0272579473, 0.0308968797, -0.0014667736, -0.0735476837, 0.0270176921, 0.0131552313, 0.0340477638, -0.0334852338, -0.0507282838, 0.0220112503, 0.0227508601, -0.0157253239, 0.0143041564, -0.0134605356, -0.0165114813, -0.0632236823, 0.0730534792, 0.0056036594, 0.04081323, -0.0094705448, 0.0085946228, -0.0482826158, 0.0272622276, 0.0063129459, -0.0555829518, 0.0078567658, -0.0086920699, 2.491e-7, 0.028029684, 0.0402436256, 0.0504327565, 0.0271401796, 0.0182125382, 0.0479175597, -0.0123165948, 0.0044655092, -0.0434970148, 0.0326429158, -0.037550427, 0.0536784641, 0.0291956551, 0.0361335501, -0.0008808825, 0.0886812285, -0.0449219309, -0.0584240742, -0.0636302531, 0.0178646035, 0.0819114819, 0.1308453828, 0.0472788587, -0.0001630039, -0.0012557446, -0.0327039175, 0.0618196726, 0.0093620224, -0.0186720844, 0.0070690545, 0.0302826092, -0.0352059901, 0.0353185199, 0.0162853207, 0.0000511797, -0.0013393572, -0.01729027, 0.0375376157, -0.0018680888, 0.0184894875, -0.031191038, -0.036656443, -0.034015011, -0.0753775612, 0.0564868264, -0.0210090149, -0.0048319772, -0.0389940813, -0.012975459, 0.0052796318, 0.0503013469, -0.0193838514, -0.0451361202, -0.0108653922, 0.0222960021, 0.0013724562, 0.0134389624, -0.0386442281, 0.009318212, 0.0329440013, -0.0257789157, -0.0202080775, 0.0196463205, 0.050967183, 0.0649790689, 0.025693493, 0.0441595763, 2.376791721e-34, 0.0927578658, -0.0071638543, 0.0244177431, -0.0316177867, 0.0526237413, 0.0133893574, -0.036502447, 0.0115765454, -0.0012531092, -0.0115106748, 0.0338399671 ]