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/2401.07098v1
http://arxiv.org/pdf/2401.07098v1
A Novel Multi-Stage Prompting Approach for Language Agnostic MCQ Generation using GPT
2024-01-13T15:18:44
2024-01-13T15:18:44
Subhankar Maity, Aniket Deroy, Sudeshna Sarkar
cs.CL
cs.CL
We introduce a multi-stage prompting approach (MSP) for the generation of multiple choice questions (MCQs), harnessing the capabilities of GPT models such as text-davinci-003 and GPT-4, renowned for their excellence across various NLP tasks. Our approach incorporates the innovative concept of chain-of-thought prompting, a progressive technique in which the GPT model is provided with a series of interconnected cues to guide the MCQ generation process. Automated evaluations consistently demonstrate the superiority of our proposed MSP method over the traditional single-stage prompting (SSP) baseline, resulting in the production of high-quality distractors. Furthermore, the one-shot MSP technique enhances automatic evaluation results, contributing to improved distractor generation in multiple languages, including English, German, Bengali, and Hindi. In human evaluations, questions generated using our approach exhibit superior levels of grammaticality, answerability, and difficulty, highlighting its efficacy in various languages.
[ 0.0244467743, -0.0046302718, -0.0220501702, 0.0151675707, -0.0522099398, 0.0065613128, 0.0302161574, -0.0223167781, 0.0585245714, -0.0051290211, 0.0183452647, -0.0356327444, -0.0395021588, -0.0281755626, 0.0336883888, -0.0585047379, 0.0289719645, -0.0339740179, 0.0108969724, -0.0026101554, -0.0014951266, 0.0130963149, -0.0252079684, 0.0069105714, -0.0061979597, -0.0464993156, -0.0599584617, -0.0033763559, 0.0207724478, -0.0742764771, 0.0043081413, 0.0846024901, -0.0227544252, -0.0039038078, 0.0000023191, -0.0718651265, -0.0166185666, -0.0167456474, -0.0117773749, -0.0235202108, -0.0143839372, 0.0583482124, 0.02599811, 0.0198224057, -0.0312936641, 0.0179336313, 0.0157015063, 0.0520935915, 0.0822710469, 0.0515726097, -0.0049379091, -0.0015106587, 0.0207699649, 0.0153364874, 0.0317579694, 0.0069378293, -0.0365129784, 0.0056569776, 0.0148727316, 0.0469886549, -0.004355114, 0.0164140314, 0.0285966322, 0.0258894935, -0.0076247239, 0.0168512091, -0.0246140901, -0.0380571522, -0.0251842141, 0.0607783198, 0.0085536661, 0.0022743247, -0.0124376481, -0.0198353454, 0.0363217853, 0.0229810029, -0.0341504402, 0.014173137, -0.0257850662, -0.017294541, 0.0569966175, -0.0046451339, -0.0340238959, 0.0125352377, 0.0316656604, 0.0140773589, 0.0331673026, -0.0491160117, 0.0234527234, 0.0261959862, -0.0135868173, -0.0681761801, 0.0259535089, 0.0227567125, -0.0744819492, 0.0102704857, -0.0232933201, -0.0303823519, 0.0223114751, 0.0013162236, 0.0002471857, 0.0485284925, -0.0334120467, 0.0051536881, -0.0187902451, 0.0738150403, -0.0301893875, -0.0100209219, -0.0492667705, 0.0288256928, -0.0204913076, -0.0333860591, -0.0361705981, 0.0541242175, -0.0397319533, -0.0011593656, -0.0359981172, 0.0346511938, 0.022352254, 0.0169727039, 0.0106741423, -0.0040488825, -0.0215080753, 0.0064800614, -0.0262804925, 0.0309998654, -0.0693760514, -0.0278684162, 0.035920091, -0.0229310729, -0.017031163, 0.0541906431, 0.0082325349, -0.0338156894, -0.0028657587, 0.0415733606, -0.0536318868, -0.004768657, -0.0103052463, -0.0318431333, -0.0074774018, -0.0531276762, 0.0034911602, -0.0442000069, 0.0049782912, 0.0276788827, -0.0206266921, 0.0185566507, 0.0418527089, 0.0697415248, 0.0298736449, 0.0297060292, -0.0014408564, -0.0212889723, 0.0461854301, 0.0008230557, -0.0127700893, 0.0266763531, 0.0237304606, 0.019132141, 0.0298456345, -0.0323102362, 0.028737843, 0.011649712, -0.0236144457, -0.0053561842, 0.0191459898, 0.0269192494, 0.009942947, 0.0315654092, -0.0217710007, 0.0758488178, 0.0037841983, 0.0786165223, 0.04859294, 0.0159692001, -0.007074235, 0.014520525, 0.052709505, 0.0083199218, -0.0066127363, 0.0936779752, -0.0430205986, 0.0342071913, -0.0349060446, 0.0357972719, 0.0283582527, 0.0400484726, -0.0151878009, -0.0314940289, 0.0088628698, 0.0562999807, -0.0058992519, 0.0377962813, -0.0004089339, 0.0059177447, -0.0774493217, 0.0131481998, -0.0283800662, -0.0764222294, -0.0021353017, -0.0286365002, 0.0675921291, 0.0421730615, 0.0465695076, -0.0065069706, -0.0611437932, -0.0128786573, -0.005007606, 0.043947868, 0.0124802897, -0.0196449049, -0.016587954, -0.06578511, 0.0149018737, -0.0124623142, -0.0156216538, 0.0096959034, -0.0068146382, 0.0202088095, 0.0244472809, 0.0031855002, 0.0078622643, 0.0281832479, 0.0256460775, -0.054330986, 0.0075590177, 0.005505458, 0.0010953058, 0.0335679352, 0.0016030386, 0.0187634975, 0.0150235146, -0.0178166684, 0.0111423731, 0.0167727135, -0.0682110116, -0.0777219683, -0.0000784867, -0.0199578125, -0.0273445025, 0.0060694339, 0.0012079618, -0.0641303882, -0.0174890086, -0.03038067, -0.0277999658, -0.0545982271, 0.0140575143, 0.0329918303, -0.0267726462, -0.0490794294, 0.1027049571, 0.027954923, 0.0358338244, 0.0675631911, 0.0567595996, 0.0531474985, -0.0582613759, 0.0002779074, 0.0237300396, -0.0046768961, 0.0150218485, 0.0234918781, 0.090379104, -0.1005636081, -0.0347113386, -0.0602068081, 0.0398407616, -0.0321699791, 0.0176272523, 0.0246826187, 0.0102992877, -0.0263692476, -0.0064328918, -0.0823077708, 0.0010745326, 0.0468796529, 0.000256623, 0.0479323827, -0.0337986983, 0.0312546864, 0.0101161478, 0.0029565494, -0.0207829382, 0.0151436934, 0.0223575216, -0.0060032997, -0.0336867832, 0.0020842045, -0.0088743148, -0.025940977, 0.0434574671, -0.0040715015, 0.0468876399, -0.0169843696, 0.1256315112, 0.0414769053, 0.0100466572, -0.0050874576, 0.0098671895, -0.0333224684, -0.0255033337, 0.0440755598, 0.0030331244, -0.0055337986, 0.0543774478, -0.0448802076, 0.0206050985, 0.0316737853, 0.0538631007, -0.0150355455, -0.0515841544, 0.0314361751, -0.0273839422, -0.0165951531, -0.0569556691, 0.0130360983, -0.0473798476, 0.0586033762, 0.0094123902, -0.0215800181, 0.0760385692, -0.0142880362, -0.0153852627, -0.090859741, 0.0412099622, -0.0152051756, 0.0411632024, -0.0183526836, 0.0135039249, 0.0361051261, -0.0531795248, -0.0838658363, 0.0142511073, 0.0080961082, -0.0248045586, 0.0240755547, -0.0842333809, -0.0385829806, 0.0102364272, -0.0349868983, -0.0483634174, 0.0013731342, 0.0197085366, -0.012029293, 0.0049164998, 0.0241029151, 0.0252889842, 0.0048515094, 0.0463230275, 0.0436521918, -0.0575329475, -0.0137155754, -0.0300247911, 0.1011895984, 0.0432110354, 0.0181867462, 0.0114436345, -0.0176415071, 0.0506007746, 0.0344993882, 0.0348967686, -0.0017216031, 0.0375372693, 0.0467010848, 0.0236322191, -0.0319257863, -0.015141204, 0.0276612192, 0.0842178911, -0.0433859415, -0.0367944427, 0.0953986794, 0.0566624589, -0.0241023675, -0.0366207212, -0.0386104137, 0.0076836986, 0.0088838404, 0.031229062, -0.0784430504, -0.0285959877, 0.002658952, 0.0048523368, -0.0347714573, 0.0060122302, -0.0014401142, -0.107103914, 0.0465571582, -0.023805609, -0.0376638584, 0.0102975918, 0.0126785794, -0.0313649587, 0.0377952792, -0.0023366502, 0.0339025743, 0.0313571952, 0.0191060826, 0.0088335201, 0.0114801843, 0.0013044836, -0.0194879677, -0.0044207838, -0.0149022434, 0.0376273654, 0.0087063881, 0.0007945214, -0.0358419754, -0.0025948188, -0.091670014, -0.0051331855, -0.0130563984, -0.0012824479, 0.0154290898, -0.0135767246, -0.0743340626, 0.0536102764, 0.0056427796, -0.0206767973, 0.0922377408, 0.0659798607, -0.0158647466, -0.0389826335, 0.012756817, 0.031630978, 0.0151344184, 0.0371283256, 0.0249954592, -0.0708222762, 0.010250479, -0.0449382029, 0.0415516943, -0.0646040291, -0.0054799831, 0.0238881148, -0.0145700248, -0.0059910663, -0.0537997186, -0.0741599873, 0.0605257042, 0.0352657698, 0.0070943134, -0.005217378, -0.0187959615, 0.0248130225, 0.0113698542, -0.0020442791, 0.0233360939, -0.0153858084, -0.0525912791, -0.0125770029, -0.0128999352, -0.0322252139, -0.0197199639, 0.0487545133, -0.05583933, -0.031930238, -0.0266614351, 0.0598033741, 0.0072835227, -0.0364123769, 0.0070899366, 0.0018174825, -0.0272001643, -0.018884806, 0.0163719878, -0.0148135889, -0.0511907935, 0.0075843958, -0.0101507707, 0.0030070734, 0.0044828737, 0.0114713348, -0.0246842671, 0.0660240576, -0.0131148649, -0.0087091131, 0.082605809, 0.0547258295, 0.0048669744, -0.0506672934, 0.0289575122, -0.048094634, 0.0050721583, -0.0105830906, -0.0586809739, -0.0241352674, 0.0037634037, 0.0025398661, -0.0369750112, 0.0053317891, -0.072286889, -0.0637274534, 0.0136037478, -0.0274445042, 0.0123163518, 0.0154837249, 0.034434814, 0.0154386396, -0.032826338, -0.0483875051, -0.0158004873, 0.0097243125, 0.0476507656, 0.003593304, 0.145414263, 0.0093480498, -0.0150984414, 0.0593466349, 0.022622088, -0.0063893464, -0.0188164245, -0.00585254, 0.0270072129, 0.0392251164, 0.0094657335, 0.0095436377, -0.0022954661, -0.0036433968, 0.0169274509, 0.0481740758, 0.0371589586, -0.0232658777, 0.0187202916, 0.0162805747, 0.0092877522, -0.0492594056, 0.0352690369, -0.0565756001, -0.044218123, 0.0359600298, -0.0031613808, -0.0743663236, -0.0219881739, -0.0472004637, 0.0237895958, 0.0158359744, 0.0510034971, -0.0560588539, -0.0323025286, -0.029357763, 0.0030861869, 0.0257972926, -0.0205437392, 0.0392447114, 0.0519551747, -0.0279594678, -0.0475591384, -0.0235084984, 0.0433311276, -0.0588276051, -0.0398361832, -0.036024671, -6.678910578e-33, -0.0333472118, -0.0618753247, 0.0386302955, -0.0474352092, -0.0220326781, -0.0320880339, -0.0462446436, 0.0242643468, 0.0026409579, -0.0043659122, -0.0191790331, -0.0296411458, -0.0034086516, 0.0402252264, 0.0348849297, -0.0325568169, 0.0159060638, 0.000441535, -0.0380277149, 0.0324191675, 0.0286962241, -0.0137001183, 0.0426293761, 0.0262559354, 0.0485634767, -0.0536185056, -0.0262267832, 0.0060650962, -0.0359035209, 0.0148509862, -0.0243342109, 0.0304183178, 0.0409267694, -0.0406555198, 0.0105335163, 0.0550388433, -0.0090188915, -0.0768148825, 0.0185187478, -0.0103434855, -0.0632052198, -0.056711778, -0.0182844438, -0.0324854515, 0.0074348962, 0.0185103416, 0.0031621866, 0.0198772699, 0.0020342343, 0.0071966322, -0.0552174896, 0.0046507623, -0.0454511084, -0.0043300283, -0.0379481725, 0.126920566, -0.0185931772, -0.0147503214, -0.0203378517, 0.0318293273, 0.0342780165, -0.001927561, 0.0223052874, 0.0152342618, -0.0394101441, -0.0043107504, -0.0014805581, -0.0263022706, 0.0193542112, 0.0167705417, -0.04169688, 0.0120803062, 0.0639189184, 0.0268566664, 0.0175740104, 0.0168427657, -0.0242995862, 0.0303994156, 0.010459872, -0.0041265935, 0.0022483997, -0.0637250021, -0.0045894752, -0.0214155372, -0.0262268521, -0.0195083525, -0.0415777303, -0.0364449359, 0.0777247176, -0.0546743423, -0.0104429526, -0.0155305974, 0.0201495551, 0.0531798489, 0.0399204418, -0.0254748464, -0.0535144061, 0.0432444923, -0.0245652124, 0.0368565321, -0.0116812503, 0.020731898, -0.0026621099, 0.0166355316, 0.0106634945, 0.031675268, -0.0166529659, -0.0362922363, -0.0710776225, 0.0031449106, -0.0286834501, 0.0595096499, -0.0275235828, -0.0200371742, -0.006159571, -0.0020595293, -0.0160377435, 0.0281971712, 0.0230984949, -0.0329287946, -0.0535591394, -0.0195918493, -0.0057361205, 0.0280372091, -0.0084761484, 0.0347662121, -0.0254029557, 0.0216431394, 0.0097297253, -0.0486034974, -0.0067892466, 0.0306573566, 2.945e-7, 0.0034759289, 0.0451312028, -0.0088257724, 0.0450800024, -0.0244892184, 0.0137703018, 0.0111750616, -0.0026659362, 0.045679003, 0.0125134634, 0.001069861, -0.0043094624, 0.0098842261, 0.0260294974, -0.1212975904, -0.0287554804, -0.0160584189, -0.0072451793, -0.0621714406, 0.0369900204, 0.0915976316, 0.0080846213, -0.0352497138, -0.0050994796, -0.018297527, 0.0130594401, 0.0135769052, 0.0275727697, -0.019598132, 0.0127923172, 0.0198627636, -0.0275780465, -0.011487863, 0.0582618862, -0.0025696142, -0.025035223, 0.0422953144, 0.0241099615, 0.0388005748, -0.0235543381, 0.0100122606, 0.0356319249, 0.0174652692, -0.0770953894, 0.0641104802, -0.0132354973, 0.000341324, 0.0492833331, -0.0369618759, -0.0388268121, -0.0042912629, -0.0280779507, -0.0312538333, 0.0074735582, -0.0206332207, 0.0105736405, 0.0329763293, 0.0335587859, -0.002986508, 0.0294466708, -0.002335099, -0.0531685203, -0.0422450937, -0.0336069688, -0.017920427, -0.0256604869, -0.0321213976, 2.501398025e-34, 0.014406234, -0.0039370195, 0.0682223961, 0.0186071787, 0.0269314498, -0.0031648763, 0.000682483, 0.000256171, 0.0388492234, -0.0770694762, -0.0405604206 ]
http://arxiv.org/abs/2401.07078v1
http://arxiv.org/pdf/2401.07078v1
PUB: A Pragmatics Understanding Benchmark for Assessing LLMs' Pragmatics Capabilities
2024-01-13T13:46:14
2024-01-13T13:46:14
Settaluri Lakshmi Sravanthi, Meet Doshi, Tankala Pavan Kalyan, Rudra Murthy, Pushpak Bhattacharyya, Raj Dabre
cs.CL
cs.CL
LLMs have demonstrated remarkable capability for understanding semantics, but they often struggle with understanding pragmatics. To demonstrate this fact, we release a Pragmatics Understanding Benchmark (PUB) dataset consisting of fourteen tasks in four pragmatics phenomena, namely, Implicature, Presupposition, Reference, and Deixis. We curated high-quality test sets for each task, consisting of Multiple Choice Question Answers (MCQA). PUB includes a total of 28k data points, 6.1k of which have been created by us, and the rest are adapted from existing datasets. We evaluated nine models varying in the number of parameters and type of training. Our study indicates that fine-tuning for instruction-following and chat significantly enhances the pragmatics capabilities of smaller language models. However, for larger models, the base versions perform comparably with their chat-adapted counterparts. Additionally, there is a noticeable performance gap between human capabilities and model capabilities. Furthermore, unlike the consistent performance of humans across various tasks, the models demonstrate variability in their proficiency, with performance levels fluctuating due to different hints and the complexities of tasks within the same dataset. Overall, the benchmark aims to provide a comprehensive evaluation of LLM's ability to handle real-world language tasks that require pragmatic reasoning.
[ 0.0260748323, 0.0069285221, -0.0045476048, 0.0578963384, -0.0418772884, 0.0225643087, -0.0460627712, 0.0200457647, -0.0180148259, -0.0495815463, -0.0393488146, 0.011073634, -0.0517874323, -0.0573118962, 0.0624345876, -0.0486511476, 0.0535987094, -0.035237968, 0.0270092245, -0.0212085955, -0.015909547, -0.0011961302, -0.0424302034, 0.0105122421, -0.0079400446, -0.0506122187, -0.0165800452, 0.0371037275, -0.0014825379, -0.0056689591, 0.0260647275, 0.0360894427, 0.0140756993, -0.0347418226, 0.0000019945, -0.0736154541, 0.045207087, -0.0426260605, -0.0605012774, 0.0169853941, 0.038485758, 0.0010468537, -0.0158939473, 0.0034494589, -0.0629694089, 0.0128797516, -0.0096168173, 0.0399273224, 0.0393317156, 0.0876502246, 0.0196397528, -0.002991874, 0.020943027, -0.0014993614, 0.029498497, -0.0807620063, -0.0071083414, 0.0491181687, 0.0505316965, 0.0174471382, -0.0193790589, 0.045962058, 0.0487570241, 0.0109583, -0.0380815081, 0.0136666596, -0.0224706214, -0.0068872757, -0.0236941855, 0.0594802573, 0.0286524519, -0.0122035816, -0.039748501, -0.005085547, 0.0326566771, -0.0046385499, -0.0521133952, 0.011627025, -0.0072713722, 0.0249921996, 0.0159379411, -0.0381162129, 0.0125818001, 0.0312982649, 0.0068871686, 0.0580338016, -0.0116055775, -0.0129942158, 0.0456656665, 0.0085908305, 0.0053563751, -0.0365162864, -0.0230793189, 0.0587512329, -0.0096551385, 0.0318645574, -0.0082439715, 0.0350200832, 0.0468452126, -0.0253525898, 0.0294648409, 0.0398469307, -0.0098167146, 0.0392983146, -0.0261201784, 0.0444160514, -0.0105493898, 0.0920338407, -0.029131934, -0.0205707867, -0.0527522638, -0.0179578718, -0.0013156008, 0.0304413624, -0.0166151337, 0.0149472114, -0.0309618972, 0.0264230184, -0.0078421207, -0.0007537997, -0.0028246881, 0.004653723, -0.0390089862, -0.0241455324, -0.0689262152, 0.0438737683, -0.0491763502, 0.0615971237, 0.0156397205, -0.1163801625, -0.0304894075, 0.0228549335, -0.0194672178, -0.0121528096, 0.0005807595, 0.0798465163, -0.0218205079, -0.0099845314, -0.0508638658, -0.0386863016, 0.0008320871, -0.0710410923, 0.0233861543, -0.0641601309, 0.0164210517, 0.0081440583, -0.0085593648, -0.0640235469, 0.0070273839, 0.0176288132, -0.0105866352, 0.0410732366, -0.0097770691, 0.0176410489, 0.0108079333, 0.0316489451, -0.0270779282, 0.0767211542, 0.0026675593, 0.0047094915, 0.034393169, -0.0105899274, -0.0027893365, 0.0377265476, 0.0186760724, -0.0154447705, -0.0293335933, 0.0494678915, -0.0203847401, 0.0219885819, 0.0693159476, 0.0310667139, -0.0214406978, -0.0432450548, 0.0469475202, 0.0158298109, 0.0277574826, -0.0063737431, 0.030679848, 0.0269789156, 0.0497211292, 0.0149777811, -0.0635480285, 0.0222525075, -0.0172101222, 0.0026743608, -0.0145345395, -0.0277109668, -0.033644218, -0.0381094702, -0.0021634237, -0.0048339861, -0.0176728498, 0.0210466422, 0.022646172, 0.0384840555, -0.0243181065, 0.0732762069, 0.0199137405, -0.050169453, -0.0104355114, -0.019506691, 0.0381373465, 0.0500452332, 0.0311812703, -0.0106770424, -0.0601626411, 0.0151489805, 0.0421804562, 0.033617273, 0.0410507172, -0.0115514388, 0.0267022271, -0.039921239, 0.0127457194, -0.0477473736, 0.0079314951, -0.0255119726, 0.024315767, -0.0001529539, -0.0149416812, -0.0434761941, 0.0189325754, 0.0438444428, -0.055341389, -0.0113261249, -0.0357009657, -0.0105320495, 0.0103553645, -0.0122934999, -0.0034760167, 0.0129892798, 0.0386415571, -0.0232016314, 0.0385276675, 0.0159166511, -0.038771566, -0.048686441, 0.0552276038, -0.0312873274, -0.0570280552, 0.0039340002, -0.0386989377, -0.0218029637, -0.0014305538, -0.0475285016, 0.0379650816, -0.0565631576, -0.0108724218, -0.0017167871, -0.0057065096, -0.0152309053, 0.0761295408, -0.0040042382, 0.0160629805, 0.0326143056, 0.0100026624, -0.0015416881, -0.0551566593, 0.0291894749, -0.0259600077, -0.0090553351, -0.0073862434, -0.0214138087, 0.0374271274, -0.1061394364, -0.034462478, -0.0606491007, -0.0023387973, -0.0025215067, 0.0497465469, 0.0404851399, -0.0386876054, -0.0287516788, -0.0464111678, -0.0216630604, 0.0000549734, -0.0107117072, 0.0132132191, 0.0274854265, 0.0206166785, -0.0020533088, -0.0380739644, 0.0256093442, -0.0140850274, -0.020827869, -0.0085478863, 0.022481719, -0.0388480164, 0.0571427047, -0.0081726797, -0.0246900506, -0.0040563634, -0.0511946678, 0.024876304, 0.0126220016, 0.0217155609, 0.0638420954, -0.0157690719, 0.0141716106, 0.0073476718, -0.0431280658, -0.0843587518, 0.0259504654, -0.0105207507, -0.0161860045, -0.0866675749, -0.0503746904, -0.0487809777, 0.0261174068, 0.0115103787, 0.0362184718, -0.0316998139, 0.0121386321, 0.0045385035, -0.0652341843, -0.0277639441, 0.0387021936, -0.0211561266, 0.0291202758, -0.0298295226, -0.0462872274, 0.0582719818, -0.0070901481, -0.0357518196, -0.0166871864, -0.0114384368, -0.0322047994, 0.0438997485, -0.0183097869, -0.00323982, -0.0266833529, -0.0114735235, -0.0622491986, -0.0247114766, -0.0059352908, -0.0338350423, 0.0875384063, -0.0609975457, 0.0060240943, -0.0062467777, -0.0318580195, -0.0542066693, -0.0716876984, -0.0356429964, 0.0245314501, -0.046896331, -0.0112992171, 0.0132731572, -0.0541744046, 0.0130485836, -0.0274978355, 0.0064975685, -0.0206131786, -0.0298144035, -0.0247493107, 0.0270992331, 0.0659214333, 0.0252814107, -0.0151388161, 0.0368740819, 0.0737053454, 0.0467268117, -0.0052630184, -0.0331781991, 0.0111860242, 0.0153302299, -0.0331898555, -0.007959432, 0.0282958802, 0.0891448483, -0.0641738102, -0.0116657801, 0.0936253667, 0.0123399179, -0.00140995, 0.023420928, -0.0426144302, 0.0508668162, 0.0279100984, 0.0223677419, -0.0808442384, -0.0663414374, 0.0153845949, 0.0092640612, -0.0097225718, -0.0152290044, -0.0141753433, -0.0913586318, 0.0331236981, -0.0024130852, -0.0038011961, 0.0348238796, -0.010677767, 0.0182135738, 0.0245250706, 0.0520794988, 0.0056140679, -0.0346976742, 0.0101164598, 0.0296608023, -0.0328756087, -0.0382021554, 0.0529408753, -0.032883931, 0.0689478442, 0.0208996572, 0.0271940157, -0.019008154, -0.0517139509, 0.0692394972, 0.0010676164, 0.0302076526, -0.0204150211, 0.0024530361, 0.0148753971, 0.0019928324, -0.0353921056, 0.0131511446, -0.0621806122, -0.019782979, 0.0503428318, 0.0884320885, -0.044967223, -0.0126472404, -0.0111284181, 0.0464358851, -0.0203546938, 0.0758455321, 0.0670701414, -0.0057336744, -0.0450449549, -0.0328943469, -0.0226063356, -0.0108827455, -0.0307472926, 0.0322303548, 0.0022191533, 0.0135932257, -0.0577399321, -0.056176234, 0.0324407965, 0.0055670086, -0.0041103899, 0.0394049436, -0.0112177497, -0.0115863523, -0.0155559219, 0.0245148707, -0.0433460735, 0.0268454757, -0.0572587624, 0.0066940086, 0.0323122367, 0.0142251542, -0.0144883832, -0.0172359738, -0.0643692911, -0.0439882204, -0.0183443204, 0.059266828, 0.0211296827, 0.0124148438, -0.0220572073, -0.0551039651, -0.037460003, 0.0132901473, -0.041163981, 0.0658904538, 0.0471808612, -0.005945486, 0.0153866112, 0.0699521825, -0.0119610326, 0.0178346075, 0.0044479975, 0.049399443, -0.0313778594, -0.0284116995, 0.0423129983, 0.0129008954, -0.0203465186, 0.0235370435, -0.039636042, 0.0163985193, 0.040038418, -0.0216465816, -0.0071209446, -0.0241847448, -0.0219956599, 0.0059477128, -0.0291726999, -0.0024535542, -0.0390481055, -0.040782474, 0.0500288978, 0.0266531277, 0.0407073125, 0.0455502905, 0.0085623283, -0.0385525934, -0.0026822391, -0.0165952817, 0.0120149869, -0.0378171615, 0.0622117072, 0.0205428079, 0.0586323254, 0.0251460634, -0.0026475089, 0.0205375757, -0.0160063561, -0.0308423862, -0.0601248629, 0.0743933767, 0.0438178554, 0.0621060766, 0.0136714801, 0.0358360186, -0.0211745221, 0.0237310603, -0.0104124183, 0.0087857181, -0.027267484, -0.0107676024, 0.0971808806, 0.0309575405, -0.006708418, -0.0288847182, 0.0607658178, -0.0066638775, 0.0458067507, 0.0084939422, 0.0401498526, -0.0234081261, -0.0567787886, -0.0098722056, 0.0030816104, 0.0179944281, 0.0609314181, -0.0518014431, -0.0605523512, -0.0236858595, 0.0380276926, -0.0261080265, -0.0497648716, 0.0167700313, 0.0509257503, 0.0031148873, -0.047628697, -0.0278099962, 0.0154807214, -0.0161786992, 0.0006835562, -0.0447059534, -6.09323815e-33, -0.0350565799, -0.0411862247, 0.0459221415, -0.004409092, -0.0175882038, -0.0305671357, -0.0435881652, 0.0007509386, -0.0540494882, 0.0418107063, -0.029198762, 0.0455347002, 0.0141302906, 0.0141663318, -0.0000638822, -0.0466022603, -0.0107985437, 0.0201904383, -0.0024782326, 0.0043451171, 0.0082630422, 0.0127173802, 0.0413059182, -0.0418118164, 0.0387637131, -0.0054569351, -0.0082826167, 0.0261804648, -0.0369849913, 0.0601679198, 0.0059347274, 0.0422605649, 0.0360896364, -0.0061645368, -0.0147713618, 0.0332038589, -0.0387221724, -0.0566280894, 0.0854763612, 0.0113685811, -0.0618225113, -0.0598755144, 0.051128298, -0.00562941, -0.0222967379, 0.0084386952, 0.0108312583, -0.0318255164, 0.0035772873, 0.0294646937, -0.0329343937, 0.012269902, -0.021932628, -0.0135508757, -0.0175826624, 0.0196101144, -0.0326033346, -0.0058530588, -0.070074223, -0.0079231327, -0.0179863777, 0.0334301852, 0.0809477866, -0.0351128243, -0.0085563036, 0.0653294548, -0.0101320539, -0.0141788274, 0.0077579105, -0.0061007231, 0.01271383, 0.0978831276, 0.017035136, 0.0411689505, 0.0090799909, 0.0318926983, -0.0502132736, 0.0174153838, 0.0532807633, 0.0613865927, -0.0127231758, -0.0011251925, -0.027695911, 0.0113438759, -0.058377564, 0.079093881, -0.0230176356, -0.0537687205, 0.0589174405, -0.0452492423, 0.015991997, -0.0170457587, 0.0071000098, -0.0374089554, -0.0338239819, -0.001666498, -0.0228782929, 0.0098963948, 0.0138661014, 0.0599327534, -0.0527250804, -0.0232135486, 0.017775679, -0.0157069694, 0.0328347497, 0.003793349, 0.0449641794, 0.0110619171, -0.0410885997, -0.0257937927, -0.0398994423, 0.0220935009, -0.0422752425, -0.0100860829, 0.0383573547, 0.02858348, -0.0234098602, 0.028052099, -0.0209816247, -0.0177504532, -0.0123189874, 0.0131469294, -0.0117202094, 0.035678111, -0.0206151046, -0.008275711, -0.0191591829, 0.014761108, 0.0021885245, -0.0242533647, 0.0096137021, 0.0583377182, 2.662e-7, 0.0839341655, 0.012905037, 0.008731653, 0.0424156077, 0.0059749833, 0.023264695, -0.0690908059, 0.0000773137, 0.0253059138, -0.0482644252, -0.0183283407, 0.062968716, 0.0445790589, 0.0125692599, -0.087949723, 0.0339037105, -0.0235582441, 0.0230478514, -0.030565042, -0.0041849166, 0.0464856662, 0.0691689253, -0.0047665248, -0.0149427783, -0.0211660657, -0.0200249013, 0.0496940874, -0.0713032186, -0.0058174715, 0.0224889293, 0.0408819504, 0.01730703, 0.0503290184, 0.0480516814, 0.0162612069, -0.0102443555, -0.0466930233, 0.0852312818, 0.0046337661, -0.0542921722, -0.0150175933, -0.0676266029, 0.0215846263, -0.0416499823, 0.0457585976, -0.0411434099, -0.050461147, 0.0147394827, 0.0062494138, -0.0139464606, 0.0100977197, 0.0014026654, -0.007505978, -0.0061772778, 0.0372802429, -0.0540519096, -0.0230219085, -0.0527470298, -0.0032185907, 0.0097610727, -0.0126332194, -0.039388027, -0.0400770493, 0.004015489, 0.002188521, -0.0651306286, -0.0291583296, 2.071680453e-34, 0.004910714, -0.0004889306, 0.0497887246, 0.072367534, 0.0246100798, -0.0009286377, 0.0038350392, 0.0236201994, -0.0041360357, -0.0586820357, 0.0193322115 ]
http://arxiv.org/abs/2401.07037v1
http://arxiv.org/pdf/2401.07037v1
xCoT: Cross-lingual Instruction Tuning for Cross-lingual Chain-of-Thought Reasoning
2024-01-13T10:53:53
2024-01-13T10:53:53
Linzheng Chai, Jian Yang, Tao Sun, Hongcheng Guo, Jiaheng Liu, Bing Wang, Xiannian Liang, Jiaqi Bai, Tongliang Li, Qiyao Peng, Zhoujun Li
cs.CL
cs.CL, cs.AI
Chain-of-thought (CoT) has emerged as a powerful technique to elicit reasoning in large language models and improve a variety of downstream tasks. CoT mainly demonstrates excellent performance in English, but its usage in low-resource languages is constrained due to poor language generalization. To bridge the gap among different languages, we propose a cross-lingual instruction fine-tuning framework (xCOT) to transfer knowledge from high-resource languages to low-resource languages. Specifically, the multilingual instruction training data (xCOT-INSTRUCT) is created to encourage the semantic alignment of multiple languages. We introduce cross-lingual in-context few-shot learning (xICL)) to accelerate multilingual agreement in instruction tuning, where some fragments of source languages in examples are randomly substituted by their counterpart translations of target languages. During multilingual instruction tuning, we adopt the randomly online CoT strategy to enhance the multilingual reasoning ability of the large language model by first translating the query to another language and then answering in English. To further facilitate the language transfer, we leverage the high-resource CoT to supervise the training of low-resource languages with cross-lingual distillation. Experimental results on previous benchmarks demonstrate the superior performance of xCoT in reducing the gap among different languages, highlighting its potential to reduce the cross-lingual gap.
[ 0.0022745586, 0.0377660953, 0.0043131206, 0.039266862, -0.0554946959, 0.0378524549, 0.0256172679, -0.0380300879, -0.0197045002, -0.0222970266, -0.0363395289, -0.0241729636, -0.0172476061, -0.0465125702, 0.0114286309, -0.0428375192, 0.059521921, -0.0351240225, -0.0315551795, -0.0441071428, 0.0066516316, 0.044515036, -0.0203635395, -0.0041304491, 0.0113133751, -0.046542231, -0.0030768153, 0.0065190359, 0.0538502783, -0.0035234576, -0.0050849984, 0.0373926461, 0.0241826437, 0.0273290854, 0.000002126, -0.0625315309, -0.0229675267, 0.0164380353, -0.0120868543, -0.0332232378, -0.0151391355, -0.0290655568, 0.0189789962, -0.000725773, -0.0153042572, 0.0037128695, 0.0554239154, 0.0273947772, 0.0445577353, 0.0583806671, 0.0032287375, -0.0564707369, 0.0040036752, -0.012994593, 0.0473917089, -0.0574313104, -0.0188069083, 0.021997299, 0.0104797464, 0.0136466371, -0.0267775282, 0.0341137759, 0.0478529036, 0.0144417519, -0.0260005929, 0.01732173, -0.0684299916, -0.0156661347, -0.0074651795, 0.0750460699, -0.0330003202, -0.0139814168, -0.0374854729, 0.018286135, -0.0040435768, -0.0141666224, -0.052114699, 0.0260149762, -0.0099856602, 0.0012024762, 0.0436449759, 0.0028984479, 0.0117925582, 0.015572642, -0.037058752, 0.0697901994, 0.0115099596, -0.0232384279, 0.0215005223, 0.0206200611, -0.0133217871, -0.0515167266, -0.0345032662, 0.0434759073, -0.0684919879, 0.0272157434, -0.0038465536, -0.0080637671, 0.0127339112, -0.0240176991, 0.0229791887, 0.0566819906, -0.0158620924, 0.0808894485, -0.0208141785, 0.0359253585, -0.0088782078, 0.0296839662, -0.0474817939, -0.0676657557, -0.0887995139, 0.0105393371, -0.0257298294, 0.0385668762, -0.0346709192, 0.0089271441, -0.0383186266, 0.0002822057, -0.0113486191, 0.010071232, 0.017172819, -0.0169810206, -0.026007453, -0.0238245111, -0.0300256126, 0.091683507, -0.0513719767, -0.0026821978, 0.0056243413, -0.0323933475, -0.0179952066, -0.0003810631, -0.0196080431, -0.0647227019, 0.0446194932, 0.0631138235, -0.0475839451, 0.0062395311, -0.0215964168, -0.0336041935, -0.0041725477, -0.1095586792, 0.0023742993, -0.0992711559, 0.0417301096, 0.0103078093, -0.0092680454, 0.0097791525, 0.0096150888, 0.0226276219, -0.0399296656, 0.0521988682, 0.0186567567, -0.0019449997, 0.0109259645, -0.0167579222, -0.0000522036, 0.1187390536, -0.0106666945, -0.0107814362, 0.0458446145, 0.0103927562, -0.0574415922, 0.0207426008, 0.0296893232, 0.0192840789, -0.0120638413, 0.0384496748, 0.0285559278, 0.0318071321, 0.013224775, 0.0191339999, -0.0360027067, 0.0325884484, 0.0117418515, 0.0090446128, 0.0094000138, -0.0185146257, 0.0390683562, -0.0033976191, -0.0418617688, 0.0031824657, -0.0580638275, 0.0755270198, 0.0024536278, 0.0117012374, 0.0100257825, 0.0779023468, -0.0566170886, -0.0152889714, 0.0264969021, 0.0079879435, -0.0117370728, 0.05160705, 0.0650343522, 0.0309282299, -0.0018458095, 0.0671824142, 0.0671413019, -0.0256677289, 0.0055520483, -0.0043070535, 0.0014626714, 0.0417672284, 0.0038496521, 0.0134207346, -0.0443556122, -0.0236204639, 0.0697331801, 0.031435091, 0.0388554595, -0.0243312996, 0.0206286814, -0.0470239297, -0.0461979993, -0.028322665, -0.0240400564, 0.0249724984, -0.0052151373, 0.037937358, -0.0061951978, -0.0430853702, -0.0054105469, -0.0009993467, -0.0474697873, -0.0190307759, -0.0046700435, 0.0582795814, -0.0001355858, 0.0234200507, 0.005170506, -0.0070391176, -0.0256486181, -0.0294479169, 0.0010509304, 0.0093056355, -0.0220986456, -0.0727056563, 0.0397464857, -0.0459404327, -0.0563902557, -0.0293690134, -0.0683200657, -0.0327749439, 0.0285030603, 0.0050715823, 0.0120294066, -0.04629853, -0.0025414187, -0.0111760059, 0.0045019542, -0.0378517359, 0.0689604953, 0.0139112389, 0.025519032, 0.0230284352, -0.0155086331, 0.0476595163, -0.0190747008, 0.0115233548, 0.0264815595, -0.0169422533, 0.0083689131, 0.0486910306, 0.0614094213, -0.0542590842, -0.0032748824, -0.0705308542, 0.0301619638, -0.0312413312, 0.0209680554, 0.0158111099, 0.0224227067, 0.0234409198, -0.0172657669, -0.0691084787, 0.0069316402, 0.009925412, 0.0509367473, 0.0161082987, 0.0008609036, 0.0196055062, 0.017003851, -0.0153977582, -0.0068829297, 0.0257704873, -0.0172160268, 0.0108616697, -0.0294683501, 0.0158644654, -0.0766475946, 0.0076488708, 0.0132864602, -0.0281774011, -0.0045171012, 0.0080793221, 0.0262595639, 0.0593243837, -0.0443217792, -0.0602820925, 0.0501593687, -0.013212489, -0.0578679405, 0.041004844, -0.0081918919, -0.0426788703, -0.0286979862, -0.011625099, -0.0509884991, 0.0584523901, -0.0265789218, -0.0210838486, -0.0683534667, -0.0097858207, -0.0067253481, -0.0193933118, -0.0665015653, 0.0410721637, 0.0401291549, 0.0444396846, -0.0362505168, 0.0097053945, 0.1098881811, 0.0092521925, -0.0065849326, -0.0917858407, 0.0107350638, -0.0305281058, 0.028779069, -0.0273125544, 0.0440465733, -0.0206160583, -0.0025496746, -0.1115675569, -0.0171619598, 0.0502674989, 0.0035216128, 0.0145674031, -0.0274687521, -0.0120632472, -0.0219417159, -0.0471472666, -0.0101802796, 0.0018735926, -0.0133985532, 0.0229558926, -0.0047486667, 0.0081791533, -0.031052744, -0.018880561, 0.0607946888, -0.0006281828, -0.0145805627, -0.010714679, -0.0232060663, 0.0281851422, 0.0541237295, -0.0112833651, 0.0018626382, -0.0315313973, 0.0451837108, 0.0350186117, 0.0320988372, -0.0534567237, 0.0343865678, 0.0208540689, 0.0344088003, -0.00702901, -0.0362807475, -0.0039363578, 0.0671910346, -0.0395837575, -0.0366445221, 0.0761199594, 0.0232282914, -0.0337014385, -0.0174913649, -0.0409881696, 0.0379900001, 0.0476846732, 0.0582925156, -0.0923077092, -0.052153185, -0.0073476462, -0.0204443913, 0.0159351397, -0.0175743401, -0.0123021081, -0.1547130048, 0.0100275306, 0.0028695462, -0.066275388, -0.0207592472, -0.0394548103, -0.0102433413, 0.0078562964, 0.0333258994, 0.0116888089, 0.0168993454, 0.0009206355, 0.0092201149, 0.0497006141, -0.0287487954, 0.0535232425, -0.0504026115, -0.0096467854, 0.0363717824, 0.0244764853, 0.0071046799, -0.042892579, 0.0239139665, -0.0227014702, -0.0004567953, -0.0048975432, 0.0278931241, 0.0069094994, -0.0291767921, 0.0091349585, 0.0407824852, -0.0101124169, -0.0026554144, 0.013696054, 0.1260761172, 0.0142176198, 0.014764837, 0.0037438055, -0.0027802931, -0.0038387359, 0.0447777472, -0.0114360694, -0.0255763959, -0.0325236805, -0.0138730993, -0.0494895317, -0.0651122704, 0.010542864, 0.0408668183, -0.0377676152, -0.0217831079, -0.0390938036, -0.0561544709, 0.0276734233, 0.0427229367, -0.0023988616, 0.0109237619, -0.011647121, 0.0233660452, -0.0194178596, 0.0127190296, -0.0457014181, 0.0215079561, -0.0003234864, 0.0018488438, 0.0149185751, -0.0298026167, -0.0114478227, 0.0073748888, -0.0644270182, -0.0645612553, -0.0494524874, 0.045938693, 0.0088041723, 0.0861067027, -0.0117602283, -0.0287936106, 0.0346508622, 0.0232222211, -0.0138983484, -0.0139976433, 0.0289663747, 0.0162404738, 0.0058250614, 0.070115611, -0.0556875393, 0.0068570441, 0.017708743, 0.0586400889, -0.0295621864, 0.0160647482, 0.0416938029, 0.0104512488, 0.0065371771, -0.0146739054, -0.0139789265, -0.0178204067, 0.0504526645, -0.0406050645, -0.0455161706, -0.0023735147, -0.0107152211, 0.01633076, -0.046272818, 0.031846609, 0.0066004125, 0.0361573994, -0.00641486, -0.006977051, -0.0136740757, 0.0183789935, 0.0373030566, 0.0154611543, 0.0215909332, 0.0067578019, -0.0143461255, 0.0379858203, 0.0505176932, -0.0545473136, 0.075670667, 0.0511836447, 0.0080085592, -0.0165958367, -0.0158736892, -0.0411915071, -0.0399757326, 0.0066506527, -0.0435143523, 0.081134893, -0.0059013218, 0.0215257108, 0.0021316176, -0.0474223457, 0.0165506341, 0.0309313983, 0.0015956654, -0.0364185236, 0.0265520308, 0.0162706319, 0.0016971696, 0.0096309576, 0.0693252534, -0.0353028327, 0.0186681394, 0.0039570406, 0.023835808, -0.0253833365, -0.0174545255, 0.0052079577, 0.014119748, -0.0068686013, 0.0316424891, -0.0457216427, -0.0781496093, -0.0251125265, -0.0049647717, -0.0307951011, 0.0424626283, 0.0421544462, 0.0848492011, -0.0068990365, -0.0345052592, -0.0215118043, -0.007541405, 0.0262423456, -0.0242310762, 0.0130175967, -6.376492616e-33, 0.0044817412, 0.0106507698, 0.0437216535, 0.0065096808, 0.010573457, -0.0351316407, -0.0251244735, -0.0185998473, -0.0481940582, 0.0439920723, -0.0064256643, -0.0033091074, 0.0091597792, 0.0430180505, 0.0361550003, -0.0168220531, 0.0111750085, 0.0043287491, 0.0018717947, 0.0290186852, 0.0547347255, 0.017003607, 0.0895938948, -0.0232948922, 0.0111544374, 0.0140242623, 0.0135808932, 0.0635667518, -0.0063404981, 0.0322691873, 0.0173158441, 0.0394845866, 0.0176665206, -0.0456834584, -0.0032856523, -0.0080793817, -0.0939525217, -0.0727894679, 0.0403578766, 0.015247534, -0.0350015871, -0.0525591262, -0.0079224799, -0.0271677431, 0.0134015642, -0.065089494, 0.0280025695, -0.0288242083, -0.0080545917, -0.0134090371, -0.077654548, -0.009774413, -0.0193343777, -0.0297315735, 0.0180174969, 0.0722250044, 0.0047956584, 0.0065517798, -0.0312638804, 0.0344780758, -0.0494429804, 0.0267863944, 0.103832759, -0.0183603149, -0.0179759674, 0.0131784743, 0.0224467833, -0.0072185518, 0.0300992075, 0.0283334143, 0.0168044232, 0.0255939122, 0.0289633889, 0.0909501538, 0.0299882237, 0.0306951012, -0.119897306, 0.0060020573, -0.001779384, 0.0554020479, 0.0026737954, -0.002154428, -0.0154443923, -0.0261425748, -0.053806372, -0.0072335713, -0.0455198251, -0.0339884982, 0.0059192074, -0.0112985065, -0.012966034, -0.0086794998, 0.061494492, -0.0390820391, -0.0244083647, 0.0427538306, -0.003071548, -0.011833813, 0.0058730077, 0.050593175, -0.0644633844, -0.022101678, -0.0157030448, 0.005431179, 0.0248681363, 0.0297092069, 0.0883243531, -0.0156496912, -0.0416236557, 0.0104637975, -0.0709120706, 0.015536515, -0.0209098328, 0.0194189288, 0.0097438237, 0.0222832058, -0.0178939216, 0.0537341312, 0.0418939143, -0.0334760882, -0.0090422006, -0.0311381202, -0.0164587405, 0.0092953593, -0.008082306, 0.0299751572, -0.0359973162, -0.02294131, 0.0048843771, -0.0472958498, -0.0225189421, 0.0461689346, 2.847e-7, 0.0329087004, 0.0351914652, -0.0027152456, 0.0213670302, -0.012001764, 0.0242707711, -0.0357899182, 0.0026039088, 0.0078000352, -0.0483831093, -0.0002571866, 0.049251724, 0.0488403104, 0.0410352685, -0.0687358752, 0.0112755941, -0.020065574, -0.0068389331, -0.0408158265, 0.0019570594, 0.0185396764, 0.0817182437, 0.001962316, -0.0108317928, 0.0102166105, -0.0104403384, 0.057219971, 0.0010874782, -0.0340590253, 0.0193970427, -0.0501844026, 0.0035467145, 0.0082741678, 0.0349503532, -0.0332821682, 0.0149870124, -0.0024190291, 0.0324407183, -0.0211314373, -0.034002658, -0.0252859276, -0.0315981209, -0.0165348612, -0.0670437142, 0.0805546865, -0.0568163134, -0.0214025639, 0.0210575461, -0.0128855929, 0.0156318843, 0.0580202863, -0.0118554654, -0.0334648155, 0.0247465987, 0.0453643724, 0.0229182392, -0.0220198315, -0.0383091047, -0.0167207886, 0.064209193, 0.0098784026, -0.0448384434, 0.0165582448, -0.0184460133, 0.0073590116, -0.0336347073, -0.0187388007, 2.536718416e-34, 0.030974118, -0.0132221822, 0.0333004259, 0.0135451118, 0.0172693823, -0.0350427441, -0.0651200339, -0.0055997637, 0.0340731591, -0.0506594144, -0.0105732745 ]
http://arxiv.org/abs/2401.07022v1
http://arxiv.org/pdf/2401.07022v1
Edge-Enabled Anomaly Detection and Information Completion for Social Network Knowledge Graphs
2024-01-13T09:27:37
2024-01-13T09:27:37
Fan Lu, Quan Qi, Huaibin Qin
cs.LG
cs.LG, cs.AI, cs.CL
In the rapidly advancing information era, various human behaviors are being precisely recorded in the form of data, including identity information, criminal records, and communication data. Law enforcement agencies can effectively maintain social security and precisely combat criminal activities by analyzing the aforementioned data. In comparison to traditional data analysis methods, deep learning models, relying on the robust computational power in cloud centers, exhibit higher accuracy in extracting data features and inferring data. However, within the architecture of cloud centers, the transmission of data from end devices introduces significant latency, hindering real-time inference of data. Furthermore, low-latency edge computing architectures face limitations in direct deployment due to relatively weak computing and storage capacities of nodes. To address these challenges, a lightweight distributed knowledge graph completion architecture is proposed. Firstly, we introduce a lightweight distributed knowledge graph completion architecture that utilizes knowledge graph embedding for data analysis. Subsequently, to filter out substandard data, a personnel data quality assessment method named PDQA is proposed. Lastly, we present a model pruning algorithm that significantly reduces the model size while maximizing performance, enabling lightweight deployment. In experiments, we compare the effects of 11 advanced models on completing the knowledge graph of public security personnel information. The results indicate that the RotatE model outperforms other models significantly in knowledge graph completion, with the pruned model size reduced by 70\%, and hits@10 reaching 86.97\%.}
[ 0.0389984362, 0.0786100626, 0.0049360474, 0.0106986053, -0.0558765493, -0.0245018583, 0.0353745073, -0.016302947, 0.0415419564, 0.0252973158, 0.0668314025, -0.0002013122, 0.0012291645, 0.0524554364, 0.0009129618, -0.0013877877, 0.0514399298, 0.0176177863, 0.0260766521, -0.0183521733, -0.017052453, 0.0042290185, 0.0263820402, -0.0198180825, -0.0358397514, -0.0065181158, -0.0388452783, -0.0057176305, 0.0307192095, -0.0184034798, -0.0003143406, 0.0229847301, -0.0081188399, 0.0189007614, 0.0000022502, 0.0010654379, -0.0342086367, -0.0072809234, -0.0687172636, -0.030009333, 0.0179450642, -0.0287259668, 0.0034035048, 0.0133504467, -0.0271903295, -0.0235926919, 0.032966435, 0.0531387329, 0.0231326707, 0.0188390017, -0.0136023331, -0.0027975133, 0.0264734924, -0.026543906, -0.0571246743, -0.0203759875, 0.0205004811, -0.0505070873, -0.0028636528, -0.0040302114, 0.0232620575, -0.0121422587, 0.031524092, 0.035976816, 0.0516353995, 0.0188367143, -0.0006266484, -0.0095215533, 0.0149751306, 0.0617210865, -0.0293054059, 0.0230203569, 0.014886504, -0.0005788676, 0.0035276604, 0.0328750908, -0.0044804201, -0.0346010551, -0.0337874107, -0.0073138559, -0.051580146, 0.0071515818, 0.0594925955, 0.031849876, -0.0232547317, 0.0712135583, -0.0145302285, -0.0064690104, -0.0423707739, -0.0344992206, -0.0025357953, -0.0392771624, 0.0393593982, 0.0037628938, -0.0313123204, -0.0279581584, -0.0368684605, -0.0302111935, -0.0130097596, 0.0146713294, -0.0062262313, -0.0331693403, -0.0117880488, 0.0468031354, 0.0190915577, 0.0252030492, -0.0174220055, -0.0200715549, 0.0088740168, -0.0432399958, -0.0059562312, 0.0071188803, 0.0223036669, 0.0548250526, 0.0173004642, -0.0274085365, -0.0298001319, 0.0469616018, -0.0499620922, 0.0406036079, -0.018995, 0.0699775368, 0.0024090288, -0.002547777, -0.0381897576, -0.0083742058, 0.0010806564, 0.0453621596, 0.0087768026, -0.0132209705, 0.0117029035, -0.0173031092, 0.0508631021, 0.0014300116, 0.0287557878, 0.0378464051, 0.0322412178, 0.0034335481, -0.0552325174, -0.0521408953, 0.0151205137, -0.0374853648, -0.0251830965, -0.0742763653, 0.0260800552, -0.0064100185, -0.0033357535, -0.0287880953, 0.0123996716, -0.019038789, -0.0935876742, 0.035303846, -0.0872073248, 0.0410123169, 0.0017348137, 0.0109911161, -0.0044757365, -0.050031621, -0.0015315214, 0.0372132659, 0.0424812213, -0.0384479873, 0.0313798264, 0.0050638327, 0.0581264831, -0.022935871, 0.0269504618, 0.0284849666, -0.0599474274, 0.0155886393, -0.0110779768, 0.0264331996, -0.0118873427, -0.0465349331, 0.0456863418, 0.0231590196, -0.023019027, 0.0412631743, -0.019810427, 0.0293473639, -0.0248638876, -0.04817212, -0.0632315725, 0.0297051519, -0.0284449253, -0.034824308, -0.0128063262, 0.0418973751, -0.0257839467, 0.0025526087, -0.0048652198, -0.0457850806, 0.0410214439, 0.031250149, 0.0259893779, 0.0139839696, -0.006488211, -0.0091529479, -0.007821708, 0.0035618674, -0.0306456257, -0.0104286093, 0.036172118, 0.1155629456, 0.0511533841, 0.0251150485, -0.056626182, -0.0371409878, 0.0201979093, -0.0614939481, -0.0049207588, -0.0074627288, 0.0135522252, -0.0374865867, -0.0379924476, 0.055713404, 0.0152566219, -0.0055806907, 0.0342875384, 0.0047914083, 0.0242687054, -0.0717438459, -0.0588550642, -0.0139901191, 0.0353282616, 0.0336755328, 0.044784151, 0.048312325, 0.0302090459, 0.0268402211, 0.0378764309, -0.0338805132, 0.0364969335, -0.0005412013, -0.037675947, -0.0365696922, 0.0074827163, 0.0495857261, 0.0099676251, -0.0293174796, 0.0390772708, 0.0737404451, -0.0467914082, -0.0374074727, 0.0373137556, -0.0192603413, 0.000780519, 0.0236061346, -0.0106918951, 0.0148462057, 0.0219601952, 0.0199235957, 0.0350478292, -0.0418060049, -0.0195642915, 0.0205303878, -0.0047988053, 0.0664492324, -0.0206683706, -0.0185897592, -0.0572258867, -0.0156334341, 0.0222193245, 0.030031804, -0.0353850238, -0.0100191385, 0.0376119651, -0.0862609893, 0.0217965059, -0.0115844775, 0.0127841905, -0.0103750555, 0.0555411279, 0.0105214547, -0.0575314648, 0.0016388515, 0.0171614811, -0.002219368, 0.0430180319, 0.0210189056, 0.0142133264, -0.0200203303, 0.005896226, -0.0498210452, 0.0112479897, 0.0591479801, -0.0085058045, 0.0003855595, 0.0379767455, 0.0196657721, -0.0620413385, 0.021045614, -0.0205830801, -0.0013921035, 0.0298907459, 0.0063799596, -0.0005227546, 0.0387433544, 0.012893335, 0.0002868528, 0.0136635834, 0.004251516, -0.0071142749, -0.0004134742, -0.0546679273, 0.0348423459, -0.007282001, 0.0279507693, -0.0754860565, -0.0226594787, 0.0181069132, -0.0153141161, -0.0300149415, 0.0013661917, 0.0295512974, -0.0063550412, -0.051555641, -0.0378056392, 0.0343486667, -0.0112600122, -0.0391896404, -0.0396722592, 0.0536998026, 0.0193249993, 0.0539112948, 0.0562587529, -0.0588436946, 0.0277000722, 0.0508769266, 0.0404633097, 0.0279094744, -0.0540729649, -0.0308521837, -0.0069263694, 0.0204468966, 0.0106007131, -0.0488943905, -0.0630500019, 0.0008670951, -0.0194534231, 0.0428100564, -0.0344131216, -0.0389485545, -0.0113864662, -0.0299234204, 0.0051099076, -0.0431508124, -0.0552533269, 0.0413707457, -0.0021826196, 0.0122636175, 0.0235823989, -0.0185258314, 0.0079880534, -0.0263330694, -0.00781631, 0.020631304, -0.0411735326, 0.0132312374, 0.0218716078, -0.0100098653, 0.0406994671, 0.0306832194, -0.0346509703, -0.0640029982, 0.0026162583, -0.0087190634, 0.005504631, -0.053984493, -0.0019851991, 0.0270164497, -0.0453588106, 0.028015025, 0.0399558507, -0.0105988309, -0.0315920524, 0.0313798711, 0.0415508561, -0.0229734499, 0.0194720514, -0.001783835, -0.0746643245, 0.0137551045, 0.0180328004, 0.057192564, -0.0021090356, -0.0890112519, 0.0248896424, -0.0363097675, 0.0568852164, -0.0133709069, 0.0104933186, -0.1026016995, -0.063539207, 0.0371348336, -0.0228326879, -0.0030387898, -0.0173397809, 0.0469988324, -0.0043014516, 0.0009177668, -0.068702139, -0.0362052694, 0.0324821584, -0.0761843622, 0.023760777, 0.0094300751, 0.0128590297, -0.0116360569, -0.0294289626, -0.0093740737, 0.0554071553, -0.0125691639, -0.0020142111, 0.0574568026, -0.0027325146, -0.007655608, -0.0467400812, 0.0526001751, -0.0268906243, -0.019158937, -0.0222028568, 0.1131220832, -0.0547599271, -0.0004714901, -0.0391451232, -0.0610109158, 0.0325875022, 0.0373648703, -0.0043437444, -0.0296123754, 0.0088691032, -0.005804881, 0.0121460268, -0.038640663, 0.0331589021, 0.0414607078, 0.0217366032, -0.0422912575, 0.0206410587, -0.0489597246, 0.0425394773, -0.0149902338, -0.0021734892, -0.0231957361, 0.0413907357, -0.0275108162, -0.0798445046, -0.0143548902, -0.0114211971, 0.0586505271, 0.0320356898, 0.0337383337, -0.0287188683, 0.0035753022, -0.0378937796, -0.0127423219, -0.0707670897, -0.0099366987, 0.0320433974, 0.0134478426, 0.0149956672, 0.0538208857, -0.0599503666, -0.0315210186, 0.0662871376, 0.0765309855, -0.055754561, -0.0265950952, 0.0135637634, -0.0739306286, -0.0034777429, 0.0311510917, -0.0266688876, -0.0011852328, 0.0251775756, -0.0405993313, -0.1091693938, -0.0698677003, 0.0035019182, 0.0385983847, 0.0150731141, 0.041494038, -0.0049167974, -0.0395163335, -0.0065929811, 0.0461021289, 0.0024859628, -0.0083237253, 0.0131377913, 0.0171645265, 0.0298489965, 0.0115151526, -0.0056551276, 0.0716637671, -0.0327246748, -0.0866397098, -0.0233210102, 0.000315782, 0.0196038801, 0.0550377965, -0.0038159522, 0.0068807341, 0.0215710644, -0.0007731775, 0.020032594, -0.021264581, -0.0557312965, -0.0064675356, 0.0190053396, -0.0235948991, 0.028505588, -0.0528338216, -0.0596519858, 0.0038566899, 0.0095350686, 0.0276899878, 0.0486673564, -0.0170560796, -0.0199101474, 0.003059905, -0.0325290933, 0.021535622, -0.0099615697, -0.0297468696, 0.0046239691, 0.0411253907, -0.0119338399, 0.0893808305, 0.0597370081, 0.0104577336, 0.066702053, -0.0341244638, -0.0706833601, -0.0390085131, 0.0167746767, 0.006502653, 0.0801003128, -0.0292111449, -0.013399601, 0.0021883522, -0.0552561656, 0.0158165358, -0.0102061192, -0.0113099571, -0.0024962989, 0.0042669969, 0.0566149019, -0.0027211742, -0.0047381716, -0.0467576459, 0.0006932794, 0.0059941188, -0.0200183317, 0.041943565, -6.735805974e-33, 0.0350845829, -0.0408011116, 0.0069711762, -0.0089494046, -0.0314871259, 0.0139939236, -0.0086050695, -0.0256017148, -0.0413427688, 0.0204771906, -0.0204513576, 0.052484151, 0.004197516, 0.0230723862, -0.0316700339, 0.0080175223, 0.054278817, -0.0036904039, 0.0312280059, 0.0471086502, 0.0522231609, 0.0375645123, 0.0152960699, -0.1147262752, -0.0072119934, -0.0272731464, -0.0291878786, 0.0161396377, -0.0228683949, 0.0212523993, 0.001813918, 0.0157721806, 0.0112414034, -0.0078214761, -0.0171227138, -0.0008438999, -0.0568548553, 0.0136093684, -0.0359047279, 0.0172015, -0.0192577913, -0.0352171548, 0.0406650268, 0.0054105665, 0.0431101508, -0.0046797907, 0.0158015415, -0.0092579285, -0.0670128688, -0.0340202488, 0.0407794453, 0.0357733592, -0.0195070226, 0.0057585798, -0.0156699196, -0.021074215, -0.0034799648, -0.0273233354, -0.1281301826, 0.0006736444, -0.0191674326, -0.0116405841, -0.0160451792, -0.0183739532, -0.0261823349, 0.0051263883, 0.0001229152, -0.0167263672, -0.0186564252, 0.0529719964, 0.012401497, 0.1429371387, 0.0062202094, 0.0075962376, 0.0090077994, -0.1057942063, -0.1024183035, -0.0003019394, 0.0072275545, -0.0096088527, 0.0091487849, -0.0232785977, -0.0589624234, -0.0160554014, 0.0045729373, -0.0760056525, -0.0158923585, -0.0119352667, -0.0034222603, 0.0408319831, -0.0491885245, 0.0398642607, 0.0055889101, -0.0741584226, 0.0409613922, 0.0406029709, -0.0008355957, 0.0245129708, 0.03244498, 0.0198339857, -0.0440669842, -0.0046553537, -0.0220320094, -0.0362712182, 0.0166756213, 0.0109339645, 0.0633179471, 0.0682311505, -0.0337441042, -0.0143289808, -0.0118863573, 0.0332604945, -0.0214797333, -0.0294214189, 0.0270937961, 0.0077822921, 0.0210579224, 0.036184337, 0.0416461155, 0.0618568696, -0.0168330017, 0.005662099, -0.0022624154, -0.0182264093, 0.0031126351, -0.0402048118, -0.0449922048, -0.0036006535, 0.0028803186, -0.0092078857, -0.0041015767, -0.0000020709, 3.207e-7, -0.0370516628, -0.0104114516, 0.0114415437, 0.0184549298, 0.0187712982, 0.030947037, 0.0872311816, 0.0389751606, -0.0172278974, -0.0200420786, 0.0621667914, 0.0340609811, 0.0203321129, 0.0391964503, -0.0350953974, -0.0508616753, -0.0581107885, -0.0234536193, -0.0541383289, 0.0019777452, -0.0002558109, 0.0816019401, 0.0912539661, -0.0349457227, 0.0539112613, -0.0105826836, -0.0236722827, 0.0268761758, -0.0102555761, -0.0273882728, 0.0889711604, 0.0913926587, -0.0341753624, 0.0714870989, -0.0068160971, 0.0267203953, -0.0168577675, 0.0068173273, -0.013178383, 0.0403221846, -0.0273403618, -0.0815994069, 0.0009381431, -0.0092701316, 0.0854007378, 0.0163606554, -0.0171238445, 0.0123511236, -0.0333730169, -0.0243750606, 0.0102790147, 0.0319492258, 0.0237590428, -0.011138265, 0.0137488162, -0.0396633409, -0.0102649126, -0.0254356265, 0.0659320056, 0.0167949069, -0.0231857523, -0.0377248079, 0.0116176372, -0.0137100527, 0.0696595088, 0.0472306907, 0.0182651915, 2.768353481e-34, 0.0151349222, 0.0532821603, -0.0153008122, -0.0450180769, -0.0092274388, -0.0187219419, -0.0067646909, -0.041290056, -0.0020277926, -0.0554401726, -0.0229165889 ]
http://arxiv.org/abs/2401.07013v1
http://arxiv.org/pdf/2401.07013v1
Knowledge Distillation for Closed-Source Language Models
2024-01-13T08:43:32
2024-01-13T08:43:32
Hongzhan Chen, Xiaojun Quan, Hehong Chen, Ming Yan, Ji Zhang
cs.CL
cs.CL
Closed-source language models such as GPT-4 have achieved remarkable performance. Many recent studies focus on enhancing the capabilities of smaller models through knowledge distillation from closed-source language models. However, due to the incapability to directly access the weights, hidden states, and output distributions of these closed-source models, the distillation can only be performed by fine-tuning smaller models with data samples generated by closed-source language models, which constrains the effectiveness of knowledge distillation. In this paper, we propose to estimate the output distributions of closed-source language models within a Bayesian estimation framework, involving both prior and posterior estimation. The prior estimation aims to derive a prior distribution by utilizing the corpus generated by closed-source language models, while the posterior estimation employs a proxy model to update the prior distribution and derive a posterior distribution. By leveraging the estimated output distribution of closed-source language models, traditional knowledge distillation can be executed. Experimental results demonstrate that our method surpasses the performance of current models directly fine-tuned on data generated by closed-source language models.
[ 0.0120367967, 0.0840962678, -0.018564377, 0.0326567329, -0.0302442648, 0.0065460685, -0.0162677485, 0.0268512741, -0.0283134356, -0.0222746618, -0.0370433219, -0.0194169804, 0.0266358387, 0.0231304113, 0.0456040353, -0.0413917974, 0.0071149087, -0.0788464099, -0.0114448341, -0.0151409796, -0.0054441029, 0.0180397425, 0.0230017211, 0.0538499206, 0.0344288275, 0.0073462892, -0.0100638587, 0.0019476361, 0.0076007992, 0.0365360528, -0.0082496479, 0.0503840409, 0.0188237224, 0.0290294103, 0.0000018456, -0.0102561731, -0.0173782837, -0.0091008823, -0.003217645, 0.0242496412, 0.0465550683, -0.022261126, -0.0065221572, 0.0242602397, 0.0059873317, -0.0164977778, 0.071047172, -0.0208622273, 0.0328107588, 0.0541562587, 0.0111074299, -0.0286289379, 0.0323888138, -0.037827976, -0.0297164433, -0.0240361765, 0.028700253, 0.0171939507, -0.004359819, -0.0150897447, -0.0143013662, 0.0308120791, 0.0098040327, 0.0322922468, -0.0513435714, 0.0286697093, -0.0244341698, 0.0061771451, -0.0048184418, 0.0446834974, -0.0256499834, -0.0425631963, 0.0317596905, -0.023467103, -0.0128406063, 0.0270504709, -0.0439588651, 0.0092878677, 0.0072577498, 0.0429017656, 0.0110246493, -0.0241601001, 0.0363945439, -0.0263476875, -0.0215473752, 0.1204002053, 0.039844919, -0.0050353869, -0.0301335473, -0.0340341739, -0.0234028623, -0.0560422428, -0.0024970432, -0.0088140769, 0.0748513043, 0.0445153266, -0.0264001712, -0.043404039, -0.0064217616, -0.0391477309, 0.0069534206, 0.04339578, -0.0098345382, 0.0048237955, 0.0010303358, 0.0443477146, -0.0209705234, 0.0105577651, -0.0346051939, -0.0045865932, -0.0526308008, -0.0113154128, -0.0325724185, 0.0242055226, -0.0227963049, -0.0073982137, -0.0048282505, 0.0056749159, 0.0065103625, -0.0474557243, 0.0481680967, -0.0172013696, -0.0567487366, -0.0304294676, -0.0192780104, 0.054975424, 0.0073532849, -0.0185997393, 0.003101455, -0.070376493, -0.0168141294, -0.009143942, 0.0143762883, -0.0326460153, -0.0176153108, 0.0291211661, 0.0217223279, -0.0130166868, -0.0277347229, 0.0012566766, -0.0496646948, -0.0661346465, 0.0180744939, -0.0880371854, 0.0058135274, 0.0007825646, 0.0195790995, -0.0890646353, 0.0006426972, -0.0398767367, -0.0505264886, 0.0525545217, -0.0223234519, -0.0006063589, 0.0024516045, 0.005629471, 0.0130477352, 0.0905600861, 0.0210764408, 0.0275700279, -0.0065490659, -0.0185520984, 0.0081650978, 0.0424432233, 0.0317288078, 0.06297829, -0.075107649, -0.0237412509, -0.0119940126, -0.0313415229, 0.0384504162, 0.0469753556, -0.0223147441, 0.0303672254, 0.0847760513, 0.0102043534, 0.0074506626, -0.0205001943, 0.0250792354, -0.000877787, 0.0150087271, 0.0280970186, -0.0231144298, -0.0215371214, -0.0090293214, 0.0255757999, 0.046687454, 0.0494621918, -0.0098590413, -0.0311679002, 0.0137173273, -0.0347342156, 0.0240193605, -0.0051748836, 0.1083308831, 0.0051107104, -0.0089601791, 0.0959235579, 0.067150332, -0.0492779389, 0.0222310293, -0.0644730404, 0.023256598, 0.017977003, 0.0596452765, -0.0267616734, 0.0179909915, 0.0042823078, -0.042791348, 0.0364231132, -0.0138028981, 0.003103721, 0.0239834227, -0.0305842031, -0.0380612276, -0.0131450938, 0.0337166041, 0.0426579453, -0.0148667283, 0.0046078009, 0.0398381837, -0.074807018, 0.0031324141, 0.0088450415, -0.0122675532, -0.0153446998, -0.017725369, -0.02376852, 0.0481123403, 0.003649293, -0.0264145937, 0.0194567461, 0.0225211307, 0.0060452442, -0.0117623257, 0.0103929639, 0.0084545407, -0.0194677114, 0.0501891188, -0.0067448542, 0.0673984885, 0.0291534122, -0.0355571024, -0.0723117515, 0.0501044728, 0.0252146106, 0.0777207837, -0.0257484298, 0.0321183242, -0.0111544458, -0.0043872595, -0.0044978377, 0.0208136477, -0.0464118384, -0.0033871925, -0.0093872286, -0.0529384576, 0.0008184794, -0.0120688435, -0.0097291162, 0.0201589391, -0.0059619974, 0.0113570457, 0.0514306799, -0.0062834243, 0.018210642, -0.0080352984, -0.0516976081, -0.0014022368, -0.0420899466, 0.0073994948, 0.0508888066, 0.039470166, -0.011625235, 0.0010611555, -0.0345690623, -0.0070025795, -0.0364535563, -0.0057018884, -0.0329171643, 0.0417130701, -0.0253399424, -0.0571904704, -0.0242823567, -0.000403925, 0.0191548336, -0.0202105381, -0.00877083, -0.0565370284, 0.0441538841, -0.036363434, 0.0670955554, -0.0248199832, -0.0414823703, 0.0134835243, -0.029434111, 0.0436971672, -0.0203718655, -0.0258220546, 0.0121889869, 0.0772287473, -0.0120139783, -0.0271568764, 0.0120638823, -0.054831285, -0.0268345121, -0.0743412003, -0.0448937491, 0.0206195731, 0.0771845356, 0.0321749635, -0.0190154742, -0.079095006, -0.0097321058, -0.0216278099, -0.0360616148, -0.0311734639, 0.0026417456, -0.0280999783, 0.0225469191, -0.0015292532, -0.0752757415, 0.0271086264, -0.0693560466, 0.0286291875, -0.0200667381, -0.0034763659, -0.0034347752, 0.0462221354, 0.0339283533, 0.0246200413, 0.0164815355, 0.0071789399, -0.044953905, 0.0366136245, 0.0028518892, -0.016791543, 0.0345370583, -0.0646003634, 0.0118942922, 0.0313703828, -0.0079155155, -0.0069494597, -0.0070731533, -0.0264151786, 0.0262791608, 0.0546156913, -0.0333781689, 0.0229269713, 0.0588627569, 0.0082335183, 0.0725810453, 0.0197654851, 0.0129655115, -0.0414461419, 0.004172272, 0.0904386044, -0.0588823855, 0.0103124361, -0.0362692289, -0.023953082, 0.0125369374, 0.0837046728, 0.0158006139, -0.0167316068, -0.0560134724, 0.038132187, -0.0071004839, -0.0342830755, 0.0309387837, 0.0160023067, -0.0386694558, 0.0071836705, 0.1172223762, 0.0037895455, -0.0442421734, 0.0210889038, 0.0323222615, 0.0378725193, -0.0121290805, 0.0040414515, -0.0704320371, -0.0106005855, -0.0030224426, 0.0210842602, 0.0119177978, -0.0158597399, -0.0171890091, -0.118805714, 0.0004245189, 0.0189719088, -0.0035693697, -0.0407681875, -0.0310868509, 0.0235764999, -0.0236745961, -0.0216443911, 0.0079697277, 0.0221679062, 0.0199785549, 0.0236643106, -0.0436972752, -0.0747027099, 0.001875794, 0.008286464, 0.046802409, 0.0422265977, 0.0331400335, -0.0261644553, -0.0352129452, 0.0123827308, -0.0477618463, -0.0268972032, 0.0098474398, 0.0421468802, 0.0118485996, 0.0018872597, 0.0537204258, 0.0227273591, -0.0424939618, -0.0098931333, -0.0183458365, 0.0313140638, -0.0037889644, -0.0592741258, 0.0143017145, -0.0506558605, 0.0385145582, 0.063143298, 0.036338862, -0.0309626516, -0.0100142015, -0.0330522358, 0.0091686724, 0.0236895215, -0.0043099155, -0.019273147, 0.0032038442, -0.0459962226, -0.0823900327, 0.0068420842, 0.0119715473, 0.0236179121, 0.0157277565, 0.0441200323, 0.0464283116, 0.0025330128, -0.0071609886, -0.0029303883, -0.0308765434, -0.0079753995, -0.0394777358, -0.0521032587, -0.0064414316, -0.0026715528, -0.0569688343, 0.0371458195, -0.1269997656, -0.0980405137, 0.0002427832, 0.0638632476, 0.0295806564, -0.0005403924, -0.0671618581, -0.0472275019, 0.0454229303, -0.0229359958, -0.0237691645, 0.0097465571, 0.0272910707, -0.0288266018, 0.0081680035, 0.0373510867, -0.0551645346, 0.0194343068, 0.035361167, 0.019846363, -0.0336130038, -0.062526606, 0.0055359099, 0.0158371907, 0.0688599274, -0.0393116809, 0.0132526727, -0.0384453312, -0.0115484558, -0.012114035, 0.0141944513, -0.0719431713, -0.0087169148, 0.0392960869, 0.0011727952, 0.0088084228, -0.0018675401, -0.0056060678, 0.00961765, -0.0379826613, -0.0552493669, 0.0664735362, 0.0406567268, 0.0716862679, -0.0150163081, 0.0331336409, 0.0224030726, -0.012941868, 0.0204789732, -0.0083855139, 0.0348010845, 0.0055858945, -0.0360414237, 0.0141091561, 0.0303304251, -0.0654845312, -0.0529073365, -0.0480150469, 0.0577857122, 0.0180337913, 0.0458008237, 0.0957335383, -0.035954345, 0.0031529928, -0.0541533642, 0.045036722, 0.032732591, -0.0064084055, 0.036123082, 0.0019513374, -0.0495030433, 0.0198588818, 0.1309377104, 0.0572997518, 0.0689696372, -0.0293998662, 0.0086852154, -0.003061888, -0.0236289799, -0.0395862982, 0.0409685224, -0.0145274382, 0.0319114812, -0.044670172, -0.0923668444, -0.0336030163, 0.0060905875, 0.003398757, -0.0245650094, 0.034003742, 0.0228288472, -0.0435420461, -0.0213599596, -0.0691985711, -0.0184959807, -0.0030378341, -0.024920918, 0.0271512214, -6.324366788e-33, -0.0327105895, 0.0316511244, -0.0128967119, -0.012669201, 0.0093615185, -0.0367759429, -0.040051315, -0.0201143119, -0.0040585846, -0.0005177498, 0.0162125304, 0.0413774811, 0.0175822321, 0.015090174, -0.006934138, 0.0258159004, 0.0601594299, -0.001651063, -0.0203611385, 0.056164287, 0.0590612888, 0.0285298321, 0.0979260728, -0.0183675345, 0.0266824104, -0.0133674387, -0.042714715, 0.0027082677, 0.0230644085, 0.0287536401, -0.0247227158, 0.0244936869, -0.0042466824, -0.0455050208, -0.0519511886, -0.0385218151, -0.0104046669, 0.0054132142, 0.0456900671, -0.0337520875, 0.0015393747, -0.0157199129, 0.0140584493, 0.0119776092, 0.0235562846, 0.0087112347, 0.0192604028, -0.0128639713, 0.0085337125, 0.0011509748, -0.0303978585, 0.0301544406, 0.0031068677, 0.0139811626, 0.0300732218, 0.0216593463, -0.0104344459, -0.0018797253, -0.0324616991, 0.0061087231, 0.0787378997, 0.0753029883, 0.0951498598, 0.0416332185, 0.0318175219, 0.0274823233, -0.0060292222, -0.0324444994, -0.0253451951, -0.0187722016, 0.0840848684, 0.0617973432, -0.0051903143, 0.0140115051, 0.0214698389, -0.028271446, -0.0158930235, -0.0110533871, -0.0052342769, 0.0159366969, 0.0119706783, 0.030825939, -0.0281407312, -0.046787858, -0.0545759536, -0.0622319207, 0.0044689183, -0.0198013037, 0.0342472456, 0.0168621186, -0.0390331149, -0.0247640274, 0.0489575788, -0.0545323417, -0.0044783093, 0.0209108517, -0.0342712924, 0.032418333, 0.0094528673, 0.0278544631, -0.0623781942, 0.0011917626, 0.0343403257, 0.033346165, -0.0168977138, 0.0082819071, -0.0158063918, 0.0506990775, -0.0364148058, 0.0099889981, -0.0649452582, 0.0008387353, 0.0239631403, 0.0043284427, 0.0409247763, -0.0006841898, 0.003819532, -0.0119884182, 0.0410589464, -0.0318370871, 0.0134087438, 0.0162482709, 0.012794558, 0.0090253698, -0.0459475555, -0.0334640667, 0.0169776287, 0.0122385724, 0.071754232, 0.0118344212, -0.0319339931, 0.0132908812, 2.577e-7, 0.0561273843, -0.0255675893, -0.0009269002, 0.003484589, 0.0402096696, 0.0088046705, -0.0038061349, 0.0054742629, 0.0259822533, -0.0706693605, -0.0195262209, 0.0107769538, 0.0551012941, 0.0199302826, -0.0770458207, -0.0121166902, -0.0467536077, -0.0051710061, -0.0178696625, -0.0444022082, -0.0329926312, 0.104996033, 0.036696095, 0.0024095273, -0.0105997678, -0.0280849803, 0.0254638661, -0.0221012384, 0.005230953, 0.0326263979, 0.0132828914, 0.0308361258, -0.0049595521, -0.0068130018, -0.0083418097, 0.0006204991, 0.0008705148, 0.0689684823, -0.0147569878, 0.013592666, 0.0059362468, 0.0135668758, -0.0064573647, -0.0505324863, 0.0490992405, -0.0091603072, 0.0277865939, -0.0455220677, -0.017950993, -0.0308751762, -0.0219646264, -0.0049322983, -0.00200213, 0.0283345971, -0.0078635784, -0.0147227068, 0.0044144117, -0.0539297834, -0.0388905294, 0.0067468379, -0.0474594124, -0.0666088387, -0.0162865669, -0.0710576773, 0.0048682741, -0.0548087098, 0.0313688889, 2.424766125e-34, 0.0251129996, 0.0046753637, -0.0184066072, 0.0178230554, 0.0231341757, -0.0291194636, -0.0390318334, 0.0117829191, -0.0145049421, -0.096678108, -0.0335196927 ]
http://arxiv.org/abs/2401.07009v1
http://arxiv.org/pdf/2401.07009v1
Joint Extraction of Uyghur Medicine Knowledge with Edge Computing
2024-01-13T08:27:24
2024-01-13T08:27:24
Fan Lu, Quan Qi, Huaibin Qin
cs.CL
cs.CL, cs.AI
Medical knowledge extraction methods based on edge computing deploy deep learning models on edge devices to achieve localized entity and relation extraction. This approach avoids transferring substantial sensitive data to cloud data centers, effectively safeguarding the privacy of healthcare services. However, existing relation extraction methods mainly employ a sequential pipeline approach, which classifies relations between determined entities after entity recognition. This mode faces challenges such as error propagation between tasks, insufficient consideration of dependencies between the two subtasks, and the neglect of interrelations between different relations within a sentence. To address these challenges, a joint extraction model with parameter sharing in edge computing is proposed, named CoEx-Bert. This model leverages shared parameterization between two models to jointly extract entities and relations. Specifically, CoEx-Bert employs two models, each separately sharing hidden layer parameters, and combines these two loss functions for joint backpropagation to optimize the model parameters. Additionally, it effectively resolves the issue of entity overlapping when extracting knowledge from unstructured Uyghur medical texts by considering contextual relations. Finally, this model is deployed on edge devices for real-time extraction and inference of Uyghur medical knowledge. Experimental results demonstrate that CoEx-Bert outperforms existing state-of-the-art methods, achieving accuracy, recall, and F1 scores of 90.65\%, 92.45\%, and 91.54\%, respectively, in the Uyghur traditional medical literature dataset. These improvements represent a 6.45\% increase in accuracy, a 9.45\% increase in recall, and a 7.95\% increase in F1 score compared to the baseline.
[ 0.02216506, 0.0867967382, 0.0111877536, 0.0094592376, -0.0191667229, 0.0295430142, 0.0561707057, 0.0060278303, 0.0232905168, -0.0119267106, -0.0169185922, -0.0345444791, 0.000655238, 0.0275968704, -0.0055658813, -0.0270464979, 0.0363264009, 0.0292631574, 0.0395544097, -0.0074550221, -0.0246305708, 0.0046009622, -0.030373292, 0.0030396159, -0.0135905081, -0.009668801, 0.0227549784, -0.011722791, 0.0607905574, -0.0497346073, 0.0180206113, 0.0021830711, -0.0276028607, 0.0023408076, 0.0000022027, -0.0375809483, -0.0617857426, 0.0168118663, -0.0570870601, -0.0683906749, 0.0139433509, -0.0359454416, -0.0140255671, -0.0235423502, -0.0358519591, -0.0315927044, 0.0383098163, 0.0661814138, 0.0116766971, 0.0478641242, -0.034505073, -0.0123218531, 0.0446547419, 0.0058355196, -0.0346221589, -0.0286958609, 0.0206689667, -0.0512770861, -0.0176152103, -0.0269220453, 0.0352729186, 0.0373470187, 0.0285179634, 0.0601470545, -0.0028394777, 0.0361764319, -0.0334954262, -0.0346998125, -0.0123373838, 0.0950307325, -0.0177198388, 0.0051064766, 0.0632547438, 0.0270228554, -0.044726599, 0.0117116058, -0.0130634727, 0.0263132099, -0.0616395846, -0.0059988177, 0.0031056905, -0.0123683279, 0.0603530072, 0.0232071877, -0.0216301177, 0.0275251251, 0.0174265765, -0.0215812493, 0.0083605302, -0.0149125708, -0.0124806026, 0.0038634287, 0.0717019811, 0.0543358661, -0.0191614758, 0.007579403, -0.0371995233, -0.0806626752, 0.0267104693, -0.0477495082, 0.0015480502, 0.0117416242, -0.0200695097, 0.0612203591, -0.0340770558, -0.0175353326, -0.0381212682, 0.0015740357, -0.0093133058, 0.0142541453, -0.0165722426, -0.0160754286, -0.0071453475, 0.0716738254, -0.0063281367, -0.0348694324, -0.0482703298, -0.0192029215, 0.0004184342, 0.0338320024, -0.0036674624, 0.0458917618, -0.0431093164, -0.0182014778, 0.0476494208, -0.001801118, 0.0037474346, 0.0174104311, -0.0130507899, -0.080159314, 0.0198743306, -0.0101128761, 0.0514956526, 0.0045121694, 0.0213486888, 0.0523605831, 0.0254976749, -0.0277014431, 0.0022652897, -0.0236519948, 0.0146843437, -0.0213563982, 0.0281700678, -0.0487336405, 0.0602106676, 0.0099471826, -0.0129669812, -0.0491533838, 0.0285589732, -0.0048387474, -0.0527376346, 0.0530792363, -0.0430981815, -0.0111713754, 0.0710129067, 0.0601941086, -0.000641976, 0.011119904, 0.0617383085, -0.0325288698, 0.031354364, 0.0037208088, -0.0156426262, 0.0000540418, 0.0402810313, -0.0664208978, -0.0124572935, -0.0047023506, 0.0118520102, 0.053707514, -0.0130604366, 0.0754882172, -0.0121917697, 0.0035551083, 0.0097416425, 0.0387954116, 0.0317758732, 0.0531203449, -0.0164203476, -0.0140888318, 0.0149200726, -0.0281356052, -0.0182269625, -0.0027566801, 0.0484770648, 0.0006716466, -0.0004428721, 0.0342580527, -0.0251785722, -0.0074245189, -0.0000476362, -0.059854228, -0.0197814424, -0.0059994506, 0.0703281835, 0.0056802714, -0.0184676237, 0.0721082538, 0.0596696064, -0.0132984873, -0.0135388644, -0.0078780772, 0.0194995366, 0.0538083762, 0.0230783056, -0.0395901203, -0.0370065793, -0.0125789111, -0.0246088393, -0.0199530348, -0.0287894495, -0.0287590828, 0.0769482404, -0.0499579087, 0.0093056588, 0.0513220057, 0.0100829462, -0.0327843726, 0.0228623282, 0.0672097057, 0.0210265964, -0.0151621802, 0.0025553349, 0.0164230727, -0.0351145044, -0.0097459359, 0.0182573348, 0.0367373675, 0.0250036251, 0.0212800819, -0.0193779171, -0.0011991888, 0.0393458307, -0.0765232518, -0.0239354875, 0.0181233101, -0.0585731268, -0.0093959281, 0.0011261274, 0.0018606943, 0.0211046748, 0.0186368003, -0.0156754144, -0.022241069, -0.017049728, 0.0052492046, 0.0477619953, 0.0126851462, 0.0157134421, 0.0600037239, 0.0170512646, -0.0106059853, 0.034117423, -0.0353440233, -0.0150537016, 0.0031531404, -0.0706916451, -0.0112917544, -0.0165737383, 0.0025926894, 0.0413477458, -0.0138011808, -0.0153527074, -0.0129497284, 0.0166897792, -0.0383960642, -0.01808374, -0.1201296672, 0.0309157334, -0.0122247329, 0.0439996384, 0.0156299509, 0.0573217943, -0.0081716776, -0.0527153127, -0.0338145979, -0.0239325743, -0.0368699618, 0.0236123521, 0.0378952622, 0.0389610976, 0.0510342792, -0.0038670064, -0.0383219644, -0.0312852226, 0.0686356574, -0.006281463, -0.048189681, 0.0371549167, -0.0417279266, -0.0016164242, 0.0250396561, -0.0030991205, -0.0058935848, -0.0055595152, 0.0084333178, -0.0018686262, 0.0410728939, -0.022555897, 0.0251345858, -0.0069326102, -0.0183690321, 0.0080833901, 0.0392946973, -0.0448489785, 0.0331280641, 0.014189139, 0.0057293046, -0.0437505916, 0.0432709791, -0.0217999201, 0.0141749335, -0.0003824174, 0.0028027613, -0.0195073932, 0.0106780119, -0.0453743562, 0.026786495, -0.0246175509, 0.0146226306, -0.0254473481, -0.0293124355, 0.0702657104, 0.0131955203, 0.0393748768, -0.0459731631, -0.0030894857, -0.0224448238, 0.0186278634, -0.032128796, 0.0417612679, -0.0605526008, -0.0537426136, -0.0023704162, 0.0444909595, -0.0138458563, -0.0560672283, -0.0203351174, -0.0210482702, -0.0025839601, -0.0188251268, -0.0329492576, -0.052693326, 0.0328610688, -0.0095850304, 0.0149929607, -0.0162246581, -0.0075437808, 0.029283544, 0.00030638, -0.0153291849, 0.0690816417, 0.0076184785, 0.0273904707, -0.0105836643, 0.0691398382, 0.0616364479, -0.02654217, -0.0238265451, 0.0503837876, 0.038252037, 0.0681324378, 0.0557823889, 0.0049580331, -0.0081716087, 0.0102958158, -0.0019808691, -0.0576528385, -0.0227498971, -0.0097884992, 0.0276050512, -0.076903984, 0.0198312253, 0.0737436935, -0.0048535909, -0.060418494, 0.0128312157, 0.0061900956, -0.068367444, -0.0224809572, -0.009768866, -0.0693386346, -0.0060702446, 0.0094898166, 0.0033580677, 0.0204495564, -0.0310763977, 0.0232111923, -0.042844709, -0.0290812459, -0.00311665, -0.0125812097, -0.0587649643, -0.055572819, 0.0069255452, 0.0202676263, -0.001843138, -0.014597293, -0.0026441175, -0.0060472726, 0.0201637466, -0.0573400967, -0.0493050665, 0.0221949033, -0.0409489051, -0.0069872527, 0.0504215024, 0.0197438803, -0.0220277458, -0.0247691236, 0.0086644823, -0.0386350043, -0.0433799066, -0.0419012941, 0.0495300554, -0.0398961976, -0.0178657863, -0.0335549265, 0.0590616874, -0.0333060995, -0.0169372745, -0.0225611497, 0.0531639196, -0.0074382746, -0.0190945212, -0.0149408057, -0.0407585092, 0.0332540609, 0.0206760466, -0.0399856716, -0.0080746524, -0.0621975735, 0.0526797213, 0.0012864866, -0.0086910091, 0.0117883282, 0.0491558388, -0.011441947, -0.0860914737, -0.048562441, -0.0573504791, 0.0298116785, 0.0195343159, 0.0312530212, 0.0464894325, 0.0563397668, 0.0223904885, -0.0922053382, 0.0281707495, 0.0377309136, -0.0122333234, -0.007834862, -0.0111622252, 0.0363395251, -0.0091767814, -0.028068753, 0.0036432983, -0.0115297968, -0.0338591598, 0.0168216862, 0.0222874973, 0.0113904634, 0.0447376184, -0.0118047418, -0.0134882666, 0.0412229002, 0.0556216128, -0.0822900459, -0.0360952206, 0.0458978638, -0.0054306346, -0.020958934, 0.0304860771, -0.0082474174, -0.0048837382, 0.0181500409, 0.0169650577, -0.08185862, -0.0533061624, 0.0024910388, 0.0156871732, 0.0629926696, 0.0049149003, 0.0090489397, -0.0394084826, 0.0508050025, 0.0131187486, 0.0269874725, -0.0286078677, 0.021573456, -0.0148146329, 0.018057609, 0.0085421959, -0.0021338256, 0.0607545525, -0.0730623677, -0.0233789776, 0.0454344638, -0.0117570879, 0.0575545467, 0.0342608392, -0.0229433365, -0.0142417811, 0.0212102141, -0.0001195296, -0.0010293029, -0.0576419048, 0.0312448945, -0.0054559996, -0.0034689524, 0.0133544169, 0.0492869429, 0.0069336672, -0.0153481113, -0.0233277194, -0.0143138291, 0.0304812323, 0.0029763128, 0.0208304282, -0.01139927, 0.0031544701, -0.0190974846, 0.0279737376, -0.0514613651, 0.0155384615, 0.0309993252, 0.0138949985, -0.0147637865, 0.0249855053, 0.0703004822, 0.0104433643, 0.0587149374, 0.0379428938, -0.0431377701, -0.0453087687, -0.0199086741, 0.0206069481, -0.0006161265, -0.0602912121, 0.0122722667, 0.0172495376, -0.0460442416, 0.0398126319, -0.0348931067, -0.0124907764, -0.0198195521, 0.0533146858, 0.0525438339, 0.0192952119, -0.0540351719, -0.0426868238, 0.0791658983, -0.0403280742, -0.0008332498, 0.0479472131, -7.079724764e-33, 0.0158739779, -0.0209841728, 0.0250177216, -0.0256547518, -0.0089066578, 0.0389493443, -0.0392142013, 0.0046813348, -0.0254452303, 0.0102697322, -0.0264436677, 0.0146176256, 0.0324903615, 0.0409291461, -0.0087591726, -0.0484395623, 0.0290722698, 0.0329542756, 0.0281723477, 0.0548447184, 0.0095519777, 0.1258865744, 0.0679467693, -0.0909873322, 0.0032591429, -0.0152276922, 0.0391123854, -0.0144838002, -0.0045284, 0.0175346714, -0.0810672492, 0.0045758495, 0.0204659682, -0.0067252014, 0.0125987362, 0.0085019488, -0.1637969464, 0.0057741133, -0.0567374229, 0.0371974707, -0.0833799168, -0.065206036, 0.038005691, 0.0192645546, 0.0010024973, -0.0068290187, 0.007413452, -0.0200927258, -0.050120946, -0.0815918073, 0.0020140354, 0.0475532524, 0.0272381194, 0.0149463173, 0.0310469493, 0.0082549322, -0.0180776846, 0.0055329548, -0.1182379052, -0.0621767752, -0.0226389393, 0.0287668128, 0.0392436162, -0.0352962613, -0.0023013745, 0.0569234379, -0.0181926861, -0.0578592122, -0.038540937, 0.013588299, -0.0349993333, 0.0729127899, -0.028317444, -0.0332561061, 0.048767183, -0.0606559552, -0.1197199449, 0.013389335, -0.0242222361, 0.0563110523, 0.0047847531, -0.0217713397, -0.0462686792, 0.0326866023, 0.0374237411, -0.0448684543, -0.0057924595, -0.0225111414, 0.01001829, 0.0026965016, -0.0200607944, 0.0635560155, -0.0040180143, -0.0328096487, 0.0235401522, 0.0053339885, 0.0283388775, 0.0058360994, -0.0219855495, -0.0026279497, -0.0550366193, -0.0468359813, -0.0488388054, 0.0087252799, 0.0479751639, 0.0297764167, 0.0460168608, 0.0061383992, -0.0636834055, -0.0116756223, -0.013221154, 0.0126716429, 0.0093338042, 0.0532633774, 0.0320349187, 0.0004728824, -0.0088004535, 0.0549716838, 0.0331866182, 0.0287409239, -0.0446823314, 0.0063848295, 0.0146576324, -0.0045948466, -0.0114603769, -0.0252331495, -0.0449171886, 0.0656675771, -0.0060061365, -0.0503156297, -0.004922431, 0.0090309931, 3.133e-7, 0.0400717445, 0.0149899479, 0.0410679318, -0.0397207402, 0.0121351779, 0.0085650226, 0.0486081578, 0.0174178071, -0.0406638086, 0.0095468666, 0.0175712164, 0.0211974829, 0.0339810885, 0.0178793818, -0.0721403956, -0.0641286224, -0.0954558998, -0.0054161185, -0.0311255902, -0.0245136525, 0.0223653298, 0.0698364824, 0.0009678478, -0.0407594219, -0.0033039048, 0.0205199979, 0.0174362268, -0.0061466163, 0.036849834, 0.0266790055, 0.0121374149, 0.0179237593, -0.0233057812, 0.0219711158, -0.0186244193, 0.0011639709, 0.0295174923, 0.090013355, -0.04035943, 0.0159670096, 0.0163353477, -0.0105229281, 0.0157194696, -0.0299336817, 0.080104515, -0.0093182987, -0.0442406945, -0.0006676715, 0.0087869503, -0.0092085227, 0.0250573587, 0.0137019549, 0.0192168429, 0.0081065586, 0.0359688476, -0.0206920672, -0.0507594384, -0.0854218081, -0.0065736687, 0.0282792598, -0.0065999613, -0.0274527315, 0.0068472419, -0.0222046152, 0.0182183608, -0.041749265, 0.0118583646, 2.746641274e-34, -0.0184086114, 0.0242065638, -0.0159780011, 0.0643365756, -0.0117655806, -0.0538489148, 0.0003686619, 0.0004368699, -0.0093137212, -0.0412336551, -0.0106462911 ]
http://arxiv.org/abs/2401.07004v1
http://arxiv.org/pdf/2401.07004v1
Extending LLMs' Context Window with 100 Samples
2024-01-13T07:57:01
2024-01-13T07:57:01
Yikai Zhang, Junlong Li, Pengfei Liu
cs.CL
cs.CL
Large Language Models (LLMs) are known to have limited extrapolation ability beyond their pre-trained context window, constraining their application in downstream tasks with lengthy inputs. Recent studies have sought to extend LLMs' context window by modifying rotary position embedding (RoPE), a popular position encoding method adopted by well-known LLMs such as LLaMA, PaLM, and GPT-NeoX. However, prior works like Position Interpolation (PI) and YaRN are resource-intensive and lack comparative experiments to assess their applicability. In this work, we identify the inherent need for LLMs' attention entropy (i.e. the information entropy of attention scores) to maintain stability and introduce a novel extension to RoPE which combines adjusting RoPE's base frequency and scaling the attention logits to help LLMs efficiently adapt to a larger context window. We validate the superiority of our method in both fine-tuning performance and robustness across different context window sizes on various context-demanding tasks. Notably, our method extends the context window of LLaMA-2-7B-Chat to 16,384 with only 100 samples and 6 training steps, showcasing extraordinary efficiency. Finally, we also explore how data compositions and training curricula affect context window extension for specific downstream tasks, suggesting fine-tuning LLMs with lengthy conversations as a good starting point. We release our code and SFT data at https://github.com/GAIR-NLP/Entropy-ABF.
[ 0.0264543444, 0.0537299439, -0.0032510248, 0.0428333841, -0.0233156681, -0.0136516755, -0.0235714074, -0.0004643088, -0.0203454308, -0.0387083665, -0.0740560815, -0.0465581641, 0.0365535766, 0.0015313665, 0.0588467754, -0.0736320913, 0.0271484517, -0.0243089236, -0.004779961, 0.0233859569, -0.0032189423, -0.0147099122, 0.0241405442, 0.0511043034, 0.0189657416, -0.0161199775, -0.0390170328, 0.0172313172, 0.0451118872, -0.0077708396, 0.0068423767, 0.0427711941, 0.0319564864, 0.005735856, 0.0000020788, -0.0095594227, 0.0289502759, -0.0194384214, -0.0069405073, 0.0370304137, 0.0312276352, -0.0297652315, -0.0181801282, 0.0481337942, -0.0210781321, -0.0139183868, 0.0343375243, 0.0084435605, 0.038717512, 0.0840156525, -0.0065554432, 0.0065364363, 0.0298522394, -0.072572276, 0.0485830866, -0.0502976663, 0.0050474969, -0.0014265901, 0.0181832742, 0.0490675271, -0.0326487459, 0.0454587601, 0.0470348783, -0.0087475209, 0.0085302917, 0.0604978241, 0.0022505778, -0.0068123834, -0.0211661868, 0.0882423893, -0.0640725121, -0.0068405066, -0.0196551364, 0.0021218914, 0.0151406489, -0.0821225345, -0.0800433233, 0.0196521655, 0.0304177329, 0.0128566623, 0.0220762491, 0.0094140423, 0.0360721759, -0.0101497872, -0.029365493, 0.0305877365, -0.0087670749, -0.0440649502, -0.0241855457, -0.0263187066, -0.0419223718, -0.0322526693, 0.0082708048, 0.033539515, -0.0064180624, 0.0460173562, -0.050948482, 0.0173697956, 0.0296556484, -0.0441686995, 0.0176244471, 0.0648151338, 0.0122986631, 0.0338844322, 0.0280046128, 0.0451506786, -0.0197277591, 0.0349181369, -0.0582994632, 0.0144822374, 0.009851601, -0.0088330861, -0.0162170511, -0.0282573849, -0.0478546657, -0.0524015687, -0.006199982, 0.0589247569, 0.006528235, -0.0093435925, 0.0281509962, 0.0046723979, -0.0314199179, 0.0120572681, 0.0147584025, 0.0461733863, -0.0148619628, 0.040168114, 0.0385602899, -0.0307023078, -0.0470821187, 0.0331517458, 0.0009442885, -0.0230030343, -0.0142857432, 0.0573024228, 0.0044739186, -0.0494369268, -0.0184826981, 0.0252641346, -0.0348594412, -0.0629917085, -0.0035153271, -0.0393639505, 0.0432231613, -0.0194979161, 0.0054707099, 0.0147792343, 0.0135122826, 0.0468965247, -0.0390566513, 0.0734809861, 0.0214512981, 0.0102927294, 0.0019098374, 0.0171261225, 0.0213202499, 0.0995539129, 0.0461979732, 0.0381287187, 0.0301670004, -0.0101123527, -0.0505148321, 0.0310727283, 0.0159692653, -0.0201438013, -0.0035579836, 0.0059975917, 0.0102770217, 0.0559610426, 0.0664631799, 0.0390604697, -0.0411801822, -0.0393372104, 0.0662802532, 0.0881034285, 0.0059596482, -0.018970428, 0.0199829154, 0.0169676784, -0.0122739989, 0.0042267814, -0.0901504904, 0.0476042256, 0.0428931303, 0.0265738182, 0.0967532769, 0.019072976, -0.032658577, -0.0462085158, -0.0227934346, -0.0099760182, -0.0057484126, 0.0199377686, -0.0080250194, -0.0065812669, -0.0405614637, 0.0464984924, 0.0259364005, -0.0199615899, -0.0260105878, -0.0036232912, -0.0238705575, 0.1110920906, 0.0224413536, -0.0159975048, -0.0448190682, -0.029424347, -0.0051629441, 0.0294661745, 0.0181342885, 0.0134467017, 0.042283237, -0.0359953083, 0.006947414, -0.0067750434, 0.0057273428, 0.0191714801, 0.0422790311, 0.0292871147, 0.0209461078, -0.0066713868, 0.0031165231, 0.0165614057, -0.0380673073, -0.0285040122, -0.012776318, -0.0042980486, 0.0525473766, 0.0065662456, -0.006750606, 0.0086363796, 0.0584102646, -0.0524676703, 0.026768174, 0.0029437363, -0.1001896337, -0.0749628842, 0.0562891141, 0.0088673234, 0.0005265509, 0.0152163561, -0.0522644147, -0.0401524827, 0.0342153236, -0.0094594676, 0.0537360273, -0.0172770042, 0.0248903744, 0.0305075981, 0.0473092124, -0.0547090843, 0.0159576237, -0.0258809123, 0.0220647398, 0.0032032956, 0.0196735226, -0.0215433724, -0.0397170596, -0.0030597693, 0.039317552, -0.0098769683, 0.0065301154, -0.0382588021, 0.0183661543, -0.0209996961, -0.0619022138, -0.1149476841, 0.0153553598, -0.0252326224, 0.0206466131, 0.0364508182, 0.0249941833, -0.0128631294, -0.0008535583, -0.0416863151, 0.0170516949, -0.0102534629, 0.0160300452, 0.0103226518, 0.000844233, -0.0257465318, -0.0710121617, -0.0146348476, 0.0257720836, 0.0334856212, -0.0280209277, -0.0075253621, -0.045624949, 0.0413166918, 0.0110581191, 0.0141427908, -0.0393286273, -0.0481637232, -0.0160212517, -0.0221092775, 0.0401528217, 0.0784883723, -0.003930158, 0.0215470064, 0.0488184169, 0.0136212492, -0.0479693711, 0.0295923129, -0.0184858814, 0.0047073448, -0.0532930493, -0.0124513963, 0.0013447232, 0.0776166692, -0.0257775225, 0.013906219, -0.0390360467, -0.040981397, 0.0127952099, -0.0139146969, -0.0190415047, 0.0078093647, -0.0562768951, 0.0091873407, -0.056147702, -0.0750160441, 0.0459619872, -0.0426256992, -0.0269519836, -0.0268164463, -0.0341861621, -0.0531930029, 0.0616688281, 0.0296489075, -0.0027853181, -0.0182808358, -0.0270065889, -0.0349477269, 0.0040251138, -0.0306031164, -0.0213227626, 0.0520542338, 0.007474124, -0.0070508076, -0.0319838859, -0.0399455652, -0.0460821912, -0.0203859359, -0.0100930715, -0.0033721551, 0.0364365801, -0.0381369703, -0.0043079783, 0.0163573027, 0.0043188124, 0.0553515702, -0.0096310191, 0.0129336501, -0.0286706556, 0.0124075692, 0.0369649418, 0.0437626615, 0.0005586304, -0.0147270113, 0.0128716845, 0.0525242798, 0.0275060404, 0.0067085833, -0.0123357754, -0.0110010058, 0.0241204072, -0.009308002, -0.0042600585, 0.0032718049, 0.0548323728, -0.0515556373, -0.0075906985, 0.1036213413, 0.0130591616, -0.0749591887, 0.0107123945, -0.0068178158, 0.0659040511, 0.0245178733, 0.0366069898, -0.0506833754, -0.0262724254, 0.0325821489, 0.020686809, 0.0259180367, 0.0189640317, -0.0257142279, -0.0992718264, 0.0141959814, 0.0207326543, -0.0452257507, -0.0478593558, -0.0516242981, 0.0164400302, 0.0262799822, 0.0404199362, 0.025137756, -0.0202262886, -0.0178279765, 0.0031830668, -0.0138596101, -0.0425918661, 0.0086216126, -0.0089554759, 0.0628807992, 0.0206053816, 0.0258393958, 0.031207988, -0.0322702453, 0.0447871462, -0.0449733995, -0.0023956452, -0.0036097672, 0.0390536711, -0.0311182439, -0.0054944213, 0.0179567859, 0.0113366609, -0.0399402045, -0.0036843189, -0.0074633094, 0.0718591288, -0.0139656067, -0.0029662142, -0.0072386027, 0.0081501221, -0.0020182754, 0.0703042001, 0.0790662318, -0.0186935142, -0.0417349227, -0.0322289839, -0.0157280453, -0.0159853343, 0.0101089869, -0.0044920836, 0.0264652371, -0.0426467322, -0.0539734848, -0.0497952029, 0.0221963879, 0.0380430482, -0.002923318, 0.0079909423, -0.0156089952, -0.0052416315, -0.0551976487, 0.0090453885, -0.0213600788, 0.017663341, -0.0411443748, 0.0307132602, 0.0276688617, 0.003776565, 0.0105841206, 0.0241532475, -0.1253891438, -0.0767276362, -0.0103881778, 0.0388869084, 0.0231580976, 0.0702562109, -0.0316619538, -0.025448747, 0.0377135277, 0.0203491729, -0.0420658328, 0.0511095226, 0.0403763838, 0.0298139676, 0.0226739142, 0.0504951999, -0.0276318844, -0.0105344076, -0.023241559, 0.0353528745, -0.0217150841, -0.0747694299, -0.0226140302, -0.0297299083, 0.0190191101, 0.0095009161, 0.0046675047, -0.0017460547, 0.0527360104, -0.0128412098, 0.0271618888, -0.0613325126, -0.0343449637, 0.0268413201, -0.0265553594, 0.0136513636, -0.0006573806, 0.0133728534, -0.0131688192, 0.0012066027, 0.0169947147, -0.0378628932, 0.0031920911, -0.0089020859, 0.0251920577, -0.0339518599, -0.0199227091, -0.0158275068, 0.0435099714, -0.0209736321, 0.0112171927, -0.0078516174, -0.0449391082, -0.0276289433, 0.0558983125, -0.0877931938, -0.0252336375, -0.0170860719, 0.0531863235, 0.0566278882, 0.0117770061, 0.0628231764, -0.0088267196, 0.0048146956, -0.014379154, 0.0188647881, -0.0256748199, -0.0326797925, 0.0288191158, 0.0337329358, -0.0180112589, 0.0056998916, 0.0710802451, 0.0306668114, 0.001175427, 0.0050360421, -0.0002866828, -0.0196879711, -0.0283873603, 0.0149672516, 0.0278565176, -0.0091177877, 0.0136645287, -0.019249009, -0.0843122974, -0.0118837776, -0.014624455, -0.0445194505, -0.033661887, 0.0233388692, 0.0336065851, 0.0033181601, 0.0048028072, -0.0189766698, -0.0181015078, 0.0060840403, -0.0365040191, -0.0111988252, -6.969534659e-33, -0.0367728248, -0.006596718, 0.0101149315, 0.0056437105, -0.0674436912, 0.0114812683, -0.0445912778, -0.0101704774, -0.0152038326, -0.0150338607, -0.0364183746, 0.0097201588, 0.0158426221, 0.0262883548, -0.0152246002, -0.0205506235, 0.0108977221, 0.0052326941, -0.0011893818, 0.0214045383, 0.0334887169, 0.0243024882, 0.0627577975, -0.0212012827, 0.0048436043, 0.0173983146, -0.0044710976, 0.0181263071, 0.0005678043, 0.037202958, -0.0405295081, 0.0379126295, 0.0128249656, -0.0599164627, -0.0382281952, 0.0483405069, -0.075426653, -0.0418790691, 0.0222170167, 0.0130590899, -0.0234936494, -0.0482220799, 0.0729174018, -0.0035051969, 0.0161215495, -0.0280427597, 0.0002730216, -0.0274421386, -0.0645672008, -0.0070900498, -0.0180877484, 0.0051321839, 0.0044597196, -0.0251946449, 0.0051211598, 0.0379583985, 0.0092927329, -0.001488482, -0.0563927554, 0.0115144709, 0.0073424554, 0.0808741674, 0.0504869707, 0.0210705251, 0.0342031233, 0.0441872701, 0.0035032104, 0.0179617666, -0.0105718998, -0.0391501486, 0.018390378, 0.0193840805, 0.0030117529, -0.0244804751, 0.0532474183, -0.0080502136, -0.0533281267, 0.0091394549, 0.032179635, 0.0539880693, 0.0241381563, 0.0137648368, -0.048907496, -0.034017995, -0.0076306649, -0.0075059892, -0.0218606628, -0.0399815738, 0.0458088703, 0.0543160401, 0.0274959188, -0.017488325, 0.056848608, -0.0273804534, 0.0033004868, 0.0268467087, -0.0013292173, 0.0395457894, 0.0150401583, 0.003186933, -0.0447562821, -0.0166315977, 0.0201386381, 0.0285651572, -0.0012700261, -0.016162701, 0.0399360619, 0.0268293712, -0.0638658702, -0.0196566079, -0.047232464, 0.0222690403, -0.0208023433, 0.0133250412, 0.0482605733, -0.0239945296, -0.014149474, 0.0780038759, 0.0014649879, 0.0102944151, -0.0146873919, -0.0127823669, -0.0092171468, 0.0318646021, -0.0402208641, 0.0055177761, -0.0410804078, -0.0008004347, 0.0108701624, -0.064084895, -0.0170488209, 0.0049739308, 2.95e-7, 0.0177998636, 0.0165641662, 0.0295438934, 0.0153768836, 0.0419026874, -0.0033600049, -0.0031277763, 0.0608695112, -0.0048351269, -0.0144802695, 0.002342345, 0.0359814465, 0.045165509, -0.0040850937, -0.1186512336, -0.0378935374, -0.0622830316, -0.0142034423, -0.031244332, -0.0401371792, 0.0237961598, 0.1627691388, 0.0002851881, 0.00625451, 0.0248688776, -0.0519430153, 0.0388713703, -0.0581790358, -0.005652247, 0.0004722116, 0.0335272923, 0.0265144501, -0.0187426638, -0.0514706187, -0.006405422, 0.0125372354, -0.0369295515, 0.0942441896, 0.0044592181, -0.0487819351, 0.0066866395, -0.0034797997, -0.0012329622, -0.0789005756, 0.0621632598, -0.0707816705, -0.0333581977, -0.025630068, 0.0068109757, -0.0087268539, 0.0263827927, 0.0110922288, 0.0044194334, -0.0073686093, -0.0010871317, -0.0343774706, -0.024324337, -0.1240058169, -0.0715455711, -0.0032374053, -0.0603049658, -0.0114157982, -0.0743425339, -0.0457179025, 0.0562365726, -0.0222118888, -0.0164987165, 2.963775743e-34, 0.0390178263, -0.0433019772, 0.0350340903, 0.0559791885, -0.0065537458, -0.0085323406, 0.0118709225, 0.0058746343, 0.044676058, -0.0825695693, -0.0209371578 ]
http://arxiv.org/abs/2401.08688v1
http://arxiv.org/pdf/2401.08688v1
Automated Answer Validation using Text Similarity
2024-01-13T07:13:08
2024-01-13T07:13:08
Balaji Ganesan, Arjun Ravikumar, Lakshay Piplani, Rini Bhaumik, Dhivya Padmanaban, Shwetha Narasimhamurthy, Chetan Adhikary, Subhash Deshapogu
cs.CL
cs.CL, cs.IR
Automated answer validation can help improve learning outcomes by providing appropriate feedback to learners, and by making question answering systems and online learning solutions more widely available. There have been some works in science question answering which show that information retrieval methods outperform neural methods, especially in the multiple choice version of this problem. We implement Siamese neural network models and produce a generalised solution to this problem. We compare our supervised model with other text similarity based solutions.
[ 0.0336983241, -0.001907649, 0.0002347019, -0.0076299668, -0.0341529511, -0.0016468188, 0.0176276229, 0.0213705115, 0.0283476301, -0.0578849576, 0.0160681419, -0.0418026038, -0.0138966599, -0.0401165672, 0.0323761143, -0.0445554852, 0.0276151989, 0.0063452506, 0.0156775862, -0.0123890657, -0.0096666571, -0.0076533807, -0.0104373954, 0.0188905988, 0.0070356042, -0.0391242504, 0.0181794874, -0.0222350582, 0.0140640233, -0.035926614, 0.0475247428, 0.0814018771, -0.0153517444, 0.0014051885, 0.0000015462, -0.0370114706, 0.010254547, 0.0141217643, -0.0034038927, 0.031624157, -0.0248514097, 0.0817807764, 0.0671124011, 0.042094972, -0.0451257154, -0.0167280789, 0.0422366932, 0.006680917, 0.1028665304, -0.0066871163, 0.0011276697, 0.0042507029, 0.0496172272, 0.0250115469, 0.0226471368, 0.0199386384, 0.0500670895, 0.0279994197, 0.0144846775, 0.0510772839, 0.020058414, 0.0568111464, 0.0140423644, 0.0061419071, 0.0174292885, 0.0045425845, -0.0360184982, 0.0234019794, 0.023101747, 0.0779962838, -0.0061061936, -0.0393123925, -0.0185307339, -0.0056340811, -0.0250054356, 0.0728052557, -0.0360607691, -0.0156970751, -0.0231422279, -0.0155765871, 0.0130087575, 0.0223507565, -0.0212900769, 0.0343983993, 0.0067602359, -0.0018382728, 0.0415567756, -0.0630199388, 0.0161272045, 0.007519633, -0.0044955267, -0.0465055183, 0.0418493003, 0.0413857885, 0.0068978332, -0.0131514426, 0.0247359741, -0.0496557169, 0.032550551, -0.0774680525, 0.0222184919, 0.0209128093, -0.0102579072, 0.0237845182, -0.0355302729, 0.0687908381, -0.0005556147, 0.0729415715, -0.0432912223, -0.0194020998, -0.0662111416, -0.0317894816, -0.0042967978, 0.0856063887, 0.0126583008, -0.0071267509, -0.0380554795, -0.0245223101, -0.016084874, 0.0231067128, -0.0127471173, 0.050099805, 0.0353153422, 0.0280708931, -0.0631261021, 0.0196685456, -0.0645784661, 0.0103579275, -0.002303279, -0.0023007689, 0.0052455743, 0.0157791618, 0.0261402596, -0.0057833972, 0.0550739765, 0.0242875032, 0.008037243, -0.0047236886, -0.0272445474, -0.0331486501, 0.0104618128, -0.0135553917, -0.0166715216, -0.0689143687, 0.0214274973, 0.0117103104, -0.0285454579, -0.0073168441, -0.0017145909, 0.0718492046, -0.0024012763, 0.0568992831, 0.0034655074, -0.0082199341, 0.050691504, 0.009861513, 0.0239841715, -0.0284728762, -0.0030903693, -0.0348925553, 0.0518096723, -0.0051404354, 0.0300739724, -0.0206785817, 0.0292862132, -0.0296601728, 0.0210132878, 0.055911582, 0.0161348023, 0.0480682254, -0.0801050663, 0.0828818753, -0.0149993123, -0.0460056588, 0.0214712396, 0.1137171537, 0.0285658538, 0.0255241524, 0.0072395829, -0.0064577973, 0.0273681283, 0.042329479, -0.0032942221, 0.0203743614, -0.0332701504, 0.0098275635, 0.0208121259, 0.0081067914, -0.0614775009, -0.062627621, -0.0357781053, 0.0228902977, -0.008459866, 0.0349710472, 0.0438263863, -0.0236494225, -0.0071234945, 0.038862884, 0.0243926048, -0.0462812372, 0.0228186417, -0.0282155126, 0.0615257062, 0.0178593621, 0.0415704586, -0.0536377691, -0.0490053184, -0.0146218911, 0.0105567062, 0.0120548336, 0.0429741256, -0.0376546457, -0.0389905013, -0.0562135242, -0.0227050371, 0.0202245694, -0.0225737002, -0.0155538796, 0.0407811999, 0.0481070168, 0.0054580178, 0.0110477097, -0.0647011772, 0.042210795, -0.0126349237, -0.0587155707, -0.0016278327, 0.005796893, -0.0004538278, 0.0413009189, -0.0100442795, 0.0386087112, -0.0013963791, -0.0345146693, -0.0687607974, -0.0638395399, -0.0601383336, -0.0097504128, 0.0660190582, -0.0660209805, 0.0377435386, 0.0473327227, 0.0123375747, -0.0403513797, -0.0340665653, -0.0281654913, -0.082762599, -0.0286109801, -0.0024844732, -0.0054828855, -0.0336000435, -0.0714308098, 0.0299274344, 0.0410713442, 0.0937338918, 0.0176050738, 0.0185909662, 0.0592274666, -0.0203771275, -0.0638712794, -0.0032922663, -0.009943895, 0.0285632908, 0.0238885712, -0.0107543077, -0.0223121271, -0.0129763037, -0.0164734945, -0.0105490163, 0.0119347917, 0.0242684241, -0.0028657147, -0.0140800765, 0.0354712605, 0.0016354696, -0.0857654288, 0.0047683693, 0.0218636487, -0.0050482168, 0.0307998955, -0.0139542837, 0.0063667912, -0.0613926128, -0.0550384559, -0.0446337387, 0.0720606968, 0.0535516366, 0.0168710109, -0.0572647974, -0.0233637467, -0.0431983285, 0.0264700539, 0.0630286485, 0.0038229062, 0.0206845086, -0.0430009849, -0.0365415625, 0.0362007692, 0.0556896254, -0.0557035618, 0.0292062517, 0.0395410582, -0.0862437934, 0.0110673644, -0.0424583405, 0.0334141105, 0.0340378173, -0.0239821561, 0.0414843895, 0.0249921624, 0.0195287745, -0.0399428755, -0.0197905488, 0.050323572, -0.0170030333, 0.0319635905, -0.0815898627, -0.0127103515, 0.0177027471, 0.0098226182, 0.0257549547, -0.002353092, 0.114809528, -0.0307097174, 0.0184401367, -0.0687279627, -0.0391016752, -0.034076605, 0.0181482453, -0.0254529286, 0.000975988, 0.0645364001, 0.035351444, -0.0530496724, -0.0362688005, 0.0395395644, -0.0309015997, 0.0371754766, -0.013717358, 0.0198950525, -0.0026286342, -0.0108091291, -0.0538577065, -0.0449269675, -0.0085229184, 0.0320738442, -0.0348352119, -0.005247199, -0.0213284772, 0.0109681431, 0.0155809876, 0.0153328478, -0.0253966171, -0.0341140293, -0.0142662721, 0.0975450352, 0.018997496, 0.0080646165, 0.0407754146, -0.006098628, 0.0241443776, 0.0345717818, 0.0162954517, 0.0210703202, -0.0231597833, -0.0321141295, 0.0331739299, -0.0803779066, 0.0356001928, 0.0043862769, -0.002348505, -0.0363130942, -0.0176830925, 0.0768851042, 0.0461695455, -0.0016617324, -0.0357970819, -0.0279430728, -0.0310821794, 0.0200215857, 0.061911393, -0.0137491161, 0.000947937, -0.0483060144, 0.0189471561, 0.0169554036, -0.0015067603, 0.028875282, -0.05304249, -0.0150779579, -0.0029703958, -0.0742424279, -0.0445747152, -0.0232083686, -0.0142195392, -0.0002093647, -0.0266973116, -0.0051296162, -0.0183409117, 0.0022276735, 0.0266985334, -0.006758179, 0.0403790921, 0.0432948656, -0.0834129676, 0.0169157553, 0.003384819, 0.0005176475, -0.02182566, -0.0895436183, -0.0023616706, -0.0946935639, -0.019401541, -0.0017195756, 0.0412092842, 0.0026613506, 0.0109558264, -0.0553484671, 0.0325673185, -0.0248695444, 0.002559806, 0.0403779522, 0.0901962444, -0.0085898833, -0.0352824442, -0.0676370934, 0.0415019318, -0.02110539, 0.0607979707, 0.0264577642, -0.0413696989, -0.0272660311, -0.0299062449, 0.0201291591, -0.0163524691, -0.0308540706, -0.0031540592, 0.0104339914, 0.0233722646, -0.0637146831, 0.0031487178, 0.0151328165, 0.0228815228, -0.0152266007, -0.0172760487, 0.0495085493, 0.0107001793, 0.0120393587, 0.014096234, -0.015136349, 0.00995248, -0.032150954, 0.0313685797, 0.0494899042, 0.0048865117, -0.0473554954, -0.0598464906, 0.0095373094, -0.0272245687, -0.0692416579, 0.0404160023, 0.0071805823, -0.0338613875, -0.010714937, -0.0508340523, 0.0315283798, -0.0093719559, 0.0368891023, -0.0215593167, -0.029650731, -0.0284618307, -0.0047781984, -0.028893711, -0.0081413351, 0.024578413, -0.002585358, 0.0228080284, 0.0072944267, -0.047557164, 0.030735258, 0.0563565195, -0.0076721469, 0.051952444, -0.0116785225, -0.0289084204, 0.0097916937, 0.0487623364, 0.0143380808, 0.0049037109, 0.0006652495, -0.0084193386, -0.0256711692, -0.0203375984, -0.0552919619, -0.0185593404, 0.036559321, 0.0030493555, -0.0035888434, 0.0311202426, 0.0407348648, -0.0217178445, -0.0219852496, -0.0512030907, -0.0354440734, -0.0116846915, 0.0351571925, -0.0087468559, 0.0334095545, 0.046287559, 0.0155154802, 0.0098124929, -0.015793236, -0.0711533278, -0.0722747147, -0.0467024036, -0.0008991145, 0.0236680247, 0.0283433162, -0.0349250585, 0.0083827544, -0.0253067892, -0.0176977459, -0.0009056891, 0.0046294876, 0.0366779938, 0.0552599803, 0.030483637, 0.022898443, -0.0328609236, 0.0508784205, -0.0090964809, 0.0079851812, 0.0119537534, -0.0754117146, -0.0088271368, 0.0078958217, -0.0707999542, 0.0585732758, -0.0212081596, -0.017979132, -0.0112085501, -0.0073449383, 0.0302215852, 0.0679384843, 0.0126187932, 0.0152955977, 0.0452652127, 0.0283607859, 0.0235143788, -0.0241768397, 0.0121301357, 0.0239722002, -0.0657564625, -0.0376083069, -0.0512885042, -5.222981846e-33, -0.0139483893, -0.0413359925, 0.0327356681, 0.0443276912, 0.019408755, -0.0116343722, -0.0296766777, -0.0169469528, -0.0673905835, -0.0009938079, 0.0257238559, 0.0008900046, -0.0246071126, 0.026358271, 0.045101963, -0.0374806598, 0.0005332479, 0.0047745444, 0.0002808984, 0.0137728686, 0.0104170172, -0.0034718383, 0.0186360758, -0.0423111357, 0.0037455431, -0.0218749475, 0.0344988666, 0.0170782357, -0.0637036413, 0.0534459092, -0.0191606097, 0.036628142, 0.0358636603, -0.0203950033, 0.0257774349, 0.0617215522, -0.0764309019, -0.0922306105, -0.0381253697, -0.0594854429, -0.0338860042, -0.0020153911, 0.0490800962, 0.0021909471, -0.0192667916, -0.0195438769, 0.0756901726, 0.0120315887, -0.0022590344, -0.0196255408, -0.0243009161, 0.0137367491, -0.0117451884, 0.0075341901, -0.0291446839, 0.1094847992, -0.0083253458, 0.0510358922, -0.0151511915, 0.0491206422, 0.0110125542, 0.0268244315, 0.0065232469, -0.0103566991, -0.0094685582, 0.0465447269, 0.0464729816, -0.0648868084, -0.0109396707, -0.0717882439, 0.0037715249, -0.0043296255, 0.1552125514, 0.0225899611, 0.0267464109, 0.0011352753, -0.0870394781, 0.051333122, -0.0006483941, 0.0250111595, 0.0030544363, -0.0342526399, -0.0222253874, -0.0146677475, -0.0657690838, 0.0115264906, -0.0695902482, -0.0244981516, 0.0540431179, -0.031050235, -0.0148667665, 0.0151748247, -0.0044026463, -0.0459929593, -0.0109101692, 0.0234619565, 0.0329210274, 0.0101291686, -0.0068489108, -0.0036169756, -0.0365548953, 0.0207857098, -0.0302993208, -0.0055509363, -0.0078134164, 0.0183312912, -0.0039230757, -0.0159341693, -0.0453420952, -0.0201380979, 0.0130014513, -0.0509588122, 0.0109046828, -0.0369858593, -0.0132600302, 0.0374767631, 0.0295237675, 0.0530668683, -0.0109633468, 0.0059811254, -0.0101086609, -0.0515831895, 0.0360513516, 0.0070639295, 0.0093753608, 0.0387582593, -0.0588661097, 0.036129687, -0.0416433401, -0.0267684665, 0.0167537406, 0.0137455724, 2.16e-7, 0.0352924317, 0.0177369863, 0.0272385273, 0.0046541961, -0.0174500309, 0.0221007057, 0.0377585031, -0.0228509437, 0.0091125323, 0.017720269, -0.0086814426, -0.0044496353, 0.0039447402, 0.0547830537, -0.0271713827, -0.0414764248, -0.0722922087, -0.030712368, -0.0310852882, -0.0159508027, 0.0887077451, 0.007571836, 0.0089167478, -0.0140966242, -0.0383723453, -0.048729822, 0.0310288277, 0.0154547794, 0.0391135775, 0.0139406808, 0.0459572934, -0.0186648257, 0.0556401238, 0.042443566, -0.0109268948, -0.0104132965, 0.0547858179, -0.0196313728, 0.0125478609, -0.0289162453, -0.0078496877, -0.0099594546, 0.0109975664, -0.0614627227, 0.0326105803, -0.0373159721, 0.0318535306, -0.0503266044, -0.0219390001, -0.0344500951, 0.0495748706, 0.000205468, 0.0076399031, 0.0050355392, 0.0097750742, 0.0085823396, 0.0205325447, -0.0339385979, -0.0032840823, 0.0376068465, -0.0175878499, -0.0080722962, -0.0453997478, -0.0141551103, 0.0296901744, -0.0218182541, -0.0208603889, 1.489019128e-34, -0.0141965821, 0.0132122021, 0.0341258869, 0.0224356111, -0.0066031935, 0.0386469737, -0.0218666568, -0.010944291, 0.0292262323, -0.0688296333, -0.0067457268 ]
http://arxiv.org/abs/2401.06980v1
http://arxiv.org/pdf/2401.06980v1
Joint Unsupervised and Supervised Training for Automatic Speech Recognition via Bilevel Optimization
2024-01-13T05:01:47
2024-01-13T05:01:47
A F M Saif, Xiaodong Cui, Han Shen, Songtao Lu, Brian Kingsbury, Tianyi Chen
cs.CL
cs.CL, cs.LG, stat.ML
In this paper, we present a novel bilevel optimization-based training approach to training acoustic models for automatic speech recognition (ASR) tasks that we term {bi-level joint unsupervised and supervised training (BL-JUST)}. {BL-JUST employs a lower and upper level optimization with an unsupervised loss and a supervised loss respectively, leveraging recent advances in penalty-based bilevel optimization to solve this challenging ASR problem with affordable complexity and rigorous convergence guarantees.} To evaluate BL-JUST, extensive experiments on the LibriSpeech and TED-LIUM v2 datasets have been conducted. BL-JUST achieves superior performance over the commonly used pre-training followed by fine-tuning strategy.
[ -0.0469284654, 0.0713516399, 0.0234162509, 0.0544974431, -0.010715073, 0.0094315242, 0.0400417149, 0.0153282313, 0.0701216683, 0.0043297973, -0.0659334883, 0.0126633896, -0.0059411456, -0.007266962, 0.0292406101, -0.0152233168, 0.0320726857, -0.0770991594, -0.0277417768, -0.0578156635, 0.01681423, -0.0218375754, -0.0585481673, -0.0054471777, -0.0217081606, -0.0111633055, 0.0277123246, 0.0470711403, 0.0430784412, -0.0238715634, 0.0339929163, 0.0088613769, 0.028262401, 0.0250311308, 0.0000019997, -0.0224684514, -0.0264155623, 0.0050162585, -0.067269735, -0.013900442, -0.0106875878, -0.0039505367, 0.0092040068, 0.0396426991, -0.0235462897, -0.0286929253, 0.0273268968, -0.0057801469, 0.0316405036, 0.0580603667, 0.0201773811, -0.0895259455, 0.0264981352, 0.0019777345, -0.0749904737, -0.004320418, -0.0112800598, 0.0026288633, -0.101229243, -0.0317248441, 0.0007719228, 0.0406319536, -0.0096593555, 0.0340913832, 0.0602493361, 0.0211957488, -0.0567612797, -0.0061650015, -0.023555031, 0.0226836856, -0.0036657185, -0.0203511417, -0.001716233, 0.0138110677, -0.0726758912, -0.0390340947, 0.0119442092, -0.0174193587, -0.0250661131, -0.0093105379, 0.0063640894, -0.0228267368, 0.0067244205, -0.04283062, 0.0196814816, 0.0273402482, -0.0256118998, -0.0364493802, 0.0422479399, -0.0631296933, -0.0452431515, 0.0055950205, 0.0507888682, 0.0287318416, -0.0427129157, -0.018073041, 0.0069201249, -0.0431473032, -0.030545909, -0.0161147323, 0.0561245009, 0.0337573737, -0.0417426266, 0.0132002961, 0.0039973413, 0.0378176458, 0.0178234484, -0.0085059945, 0.0131836776, 0.0687947348, -0.0146522736, 0.0110187521, -0.0642398596, 0.0259813312, -0.0507113971, 0.0052507911, -0.0137693584, -0.0367945135, -0.0310514178, 0.0028767867, 0.0691851005, -0.0084129497, -0.0558097176, 0.000663318, 0.0056529506, -0.0036822264, 0.0146377608, 0.0173334088, -0.0323124081, 0.0003449032, -0.0227846205, 0.0270215254, 0.0331210271, -0.0220788792, 0.0237238202, 0.1042206511, -0.0280664116, -0.0008983302, -0.0625299886, 0.0093576694, 0.0078579923, -0.0488211513, -0.0257671028, -0.0218513198, 0.0393427275, -0.0304559357, 0.0324888527, -0.0265043918, -0.0046211453, -0.0451638177, 0.0445511341, 0.1042412892, -0.0281977225, -0.0060394583, 0.0410699174, -0.0269980915, -0.0159189645, 0.0619785339, 0.0032216546, -0.0053796768, -0.019421244, -0.0169967208, -0.0195474159, 0.0355937369, 0.0283984914, 0.0055302866, -0.0105740987, -0.0013640049, -0.0088380417, 0.0512036309, 0.0545254201, 0.0544553287, -0.0246160217, -0.0031876615, 0.0618487448, 0.013236952, 0.0400924645, 0.0517405905, 0.0290918946, -0.0250054989, 0.0084170643, 0.0214615725, 0.0096115526, -0.0084662428, -0.051088959, -0.0006205736, 0.0162558369, 0.0130621595, -0.0460999049, -0.0512352139, 0.0014947787, 0.0054849172, -0.0241942406, 0.0374060199, 0.0149448272, -0.0175249223, -0.0562674552, 0.032896854, 0.0053421692, -0.0096037611, 0.0298909154, -0.0260518398, 0.0187479481, 0.0153736407, 0.011514063, -0.071829699, 0.0101755373, -0.028330734, -0.0288960151, -0.0019867101, -0.0268744677, -0.0023071498, 0.075466074, -0.0543318354, 0.0019614459, 0.0336594544, -0.0332643762, 0.070157595, -0.0483023264, 0.0126448125, -0.0162017848, -0.0096876342, -0.0042263134, -0.0005410553, -0.0381126776, -0.0638914034, 0.0092002908, 0.0522961095, 0.0534300841, 0.0152013255, -0.0359341912, -0.0348048545, 0.0071330178, -0.0431257337, 0.0071999421, -0.0362502784, -0.0248964727, -0.0768300146, 0.0673431307, -0.0721396059, 0.0103135509, 0.0652110875, 0.0339654423, -0.0539400913, 0.0076857959, -0.0267468952, 0.0214765742, -0.0685008839, 0.043053057, 0.0274939947, -0.0138496207, -0.0186856259, 0.0257603899, -0.0142218936, 0.0152701549, -0.0270871799, -0.0411656387, -0.0082870927, -0.0577173494, -0.020374978, 0.0039519453, 0.005305843, 0.0490937568, 0.0204855893, 0.0436445959, 0.009039904, 0.0279368218, -0.1364566386, -0.0081972014, -0.0600013472, 0.0192904342, -0.0255169794, 0.0171679631, -0.0028435062, 0.0067918613, -0.0292020291, -0.0211528726, -0.0530916266, -0.0028598327, -0.0171602238, 0.0047173169, 0.0069273291, -0.0201525968, -0.0242525674, 0.0132526327, -0.0227491986, -0.0507321022, 0.0036277086, -0.0277553014, 0.0380118564, 0.0126114534, 0.0362012051, -0.0275700819, -0.0017585282, -0.0320639648, 0.0240422282, 0.0713272616, 0.0764963999, 0.0246570837, 0.0093214586, 0.0071265716, 0.0218443945, -0.0439407565, 0.0437781364, -0.004487766, -0.0141725289, -0.0005042285, 0.0454990789, 0.0326833986, 0.0270470157, 0.0024570127, 0.0454228073, -0.0136825964, 0.0097498819, 0.0219922289, -0.0556964353, -0.0515556112, -0.0027784533, -0.0410261191, -0.0040084561, -0.0005748962, -0.0122749079, 0.0331148244, -0.0748046488, 0.0033062696, -0.0448569804, -0.0645814613, -0.0308458451, -0.0078495722, 0.0173903536, 0.0075184265, -0.065885216, -0.023725424, -0.0227392148, -0.0077805952, 0.0803893954, -0.0531398244, 0.0276162513, 0.039277263, 0.0154771097, -0.0302606001, -0.0242784042, 0.0166032426, 0.0332824215, -0.011989831, -0.0043620956, 0.0730306655, 0.0027666343, 0.0100479126, 0.0511748977, 0.0181818847, 0.0651329756, -0.0161436703, -0.0035073995, -0.0530683808, 0.0650811717, 0.0003698064, 0.0128602693, 0.0034030129, -0.0105907153, 0.0246443208, -0.0481003709, 0.0634553432, 0.0100010643, -0.0293730609, 0.0003644083, 0.0393863395, -0.0035880783, 0.0186763275, -0.0423430242, 0.0750787482, 0.0017581525, 0.0019420857, 0.0234369822, -0.0255155545, -0.0501017161, -0.0173283499, 0.0106059685, 0.0474835373, 0.0136739276, -0.0128833717, -0.0147197451, -0.0351233371, 0.0229775757, 0.0646604225, 0.010308221, -0.001300442, -0.0176510084, -0.0816512108, 0.0051458306, 0.0139946891, -0.0173810925, -0.0470841303, -0.047099933, -0.0163892284, -0.0892206207, 0.0612337478, 0.0058785109, -0.0236437768, -0.0264410563, 0.059074305, -0.0965907872, -0.034884844, -0.0373123959, -0.0476089232, 0.0112710604, -0.0216100775, 0.0091772443, -0.0144193005, -0.0275914334, 0.0539111495, 0.0004937349, 0.0096430518, -0.0302122086, -0.006170576, -0.0144822598, -0.0001043302, 0.0171182137, 0.0460110307, -0.0019462921, 0.0144178411, 0.07020659, 0.0739358962, -0.0063000899, 0.0248167384, 0.0127270147, 0.0242041759, 0.0456980206, 0.0445744246, -0.007705512, -0.0143135954, 0.0118726371, 0.0483025052, 0.0587198399, -0.0112779764, 0.0293633454, 0.0057580853, -0.0207805838, -0.0060511162, 0.0165256634, 0.0299666021, -0.0109364735, 0.0716653317, -0.0090211425, 0.014802224, -0.0138810035, 0.0359608606, -0.0275953431, 0.011771488, -0.0377470292, 0.0119688325, -0.0277468394, -0.025592383, 0.0034471299, -0.0480060838, -0.013877837, 0.0135217672, -0.0544965789, -0.0510929264, -0.0376262888, 0.0325012095, 0.0050972705, 0.0785089955, 0.0156908408, -0.0596954487, 0.0736245215, 0.0665813237, -0.0281883106, 0.0016021582, 0.050400842, -0.0224070288, -0.0315106474, 0.0052998406, -0.0103172548, 0.0108276606, 0.0032606551, 0.0426808186, -0.0487631075, 0.0231133886, 0.0111195194, 0.0393551104, 0.0636639521, -0.0268348157, -0.0179591011, -0.0495534725, 0.0596192181, 0.0569250099, 0.0481669828, -0.0243110862, 0.0048815347, -0.0079911929, 0.0187165216, -0.0391427688, 0.0297715329, 0.0351033807, -0.0484073684, -0.0027965845, 0.0894790217, 0.0325317718, 0.0205123965, 0.0306186005, 0.0240876116, -0.0329157412, 0.044853773, 0.0355724767, 0.006175708, 0.0062604919, 0.014815975, 0.0192099027, 0.0533149913, 0.007700427, -0.0220073089, 0.0045303172, -0.0585611016, -0.0412620753, -0.0308629647, 0.0592591949, -0.0259010158, -0.0003444289, 0.0040580542, -0.0085239708, -0.027371252, 0.0043894779, -0.0178562533, 0.0499271266, 0.0120360013, -0.0132258143, -0.001882922, 0.0363089405, 0.0399639383, -0.0080073234, 0.044044558, -0.036695838, 0.0242723729, -0.0871024579, -0.0273186453, 0.0394312851, 0.0337707214, 0.0197392777, -0.0070096413, 0.0535037145, -0.0292543899, 0.011583006, 0.0067259679, 0.0267702863, -0.0211405139, 0.0588453859, -0.0036808013, -0.0263928827, 0.0067158728, 0.0036248507, -0.0329405405, 0.0052275755, 0.0140975174, 0.0300729722, -6.325019188e-33, -0.0168467816, 0.0415995978, 0.0002187583, 0.0364178009, -0.0097237974, 0.0143721346, 0.0119215958, 0.0146016208, 0.0085695395, -0.032414142, -0.0135988817, -0.0218378194, 0.0205020923, -0.0089798924, -0.032377325, -0.0194483623, 0.0746591836, -0.0147785656, -0.0174521152, 0.0001381187, 0.0142204361, 0.0571204238, -0.0056486316, -0.0566816628, -0.0711341947, -0.0010332812, -0.002496178, 0.021107886, 0.0295452122, 0.0110132163, -0.022021113, 0.0217125807, -0.0244264361, -0.0217676666, 0.0424384922, -0.034068469, -0.0759665668, 0.0077082487, -0.0095095094, 0.0362655148, -0.0385712571, -0.021548057, 0.0010413992, 0.0524547733, -0.0832486674, -0.0571590513, 0.0208581984, 0.0113292895, -0.0402648896, -0.132553041, -0.0128015326, 0.0460519306, -0.017942721, 0.0055009807, 0.073728554, 0.0230510253, -0.0288134236, -0.0517378226, -0.0445970036, -0.0023210496, 0.017374048, 0.0157935861, 0.0294589531, 0.0347978361, 0.0081118494, 0.0289519522, 0.0832271278, -0.0517112911, 0.0216766819, -0.0328155942, 0.0104509182, 0.0100541431, 0.0063870908, -0.029307656, 0.0160880517, -0.0466137677, -0.0382686481, -0.0096168425, 0.0225592609, -0.0139567237, -0.0007709144, 0.0632451624, 0.0065284944, 0.0162824336, -0.059079811, -0.0835934579, -0.0294984896, 0.0030659353, 0.001208254, 0.0189519804, -0.0020087482, -0.0373446606, 0.0491590016, -0.0193252414, 0.0313378759, -0.0024151606, 0.0507257544, -0.0293205939, 0.0080723828, 0.0346893594, -0.0378918611, -0.061202582, -0.0252455976, 0.0534917079, 0.0273549594, -0.0270117242, 0.0478728041, 0.0097903935, -0.052097287, -0.0096708452, 0.0033628838, 0.0585464761, 0.0192005206, 0.0418468304, 0.0784807056, -0.0360990092, 0.0371457823, 0.0678085685, 0.0095166732, 0.0289954115, -0.0360375009, -0.0020609745, -0.0268517472, 0.0377443731, 0.0124944309, 0.0094967745, 0.0196171962, -0.0607972369, -0.0376051776, -0.0392858088, -0.00545609, -0.0043439525, 2.724e-7, -0.0640449524, 0.0150744021, -0.0028724875, -0.0188875385, 0.0131195663, -0.0074333423, 0.0118750669, 0.0005503137, -0.0542661063, -0.0322334617, 0.0226594545, 0.0007799041, 0.0617769659, 0.0038954397, -0.0346032977, -0.0389713421, -0.0559625141, 0.0515697412, -0.0257932562, -0.0169161744, 0.028124528, 0.0395897105, -0.0581174269, -0.0447104238, -0.0109094838, 0.0196923707, 0.0063941223, -0.0052543394, -0.0036993069, 0.0012227051, 0.0062382016, 0.0050471821, -0.0003158103, 0.0347808599, -0.0034898641, 0.0428481288, 0.0306361523, 0.0167007428, 0.0021535689, -0.0574322455, 0.0518531017, 0.0879762843, -0.0056435703, 0.0135673359, 0.0623517334, 0.0348768681, 0.0183101222, -0.0319516696, -0.0677878484, -0.0043105339, 0.0451404266, -0.0456978194, 0.0085439403, 0.0288355462, -0.0013173349, 0.0047793086, -0.0259619039, -0.0681000724, 0.0545145236, 0.0945530459, -0.045168519, -0.029456228, -0.0376646183, 0.0677904859, 0.0182487909, 0.0182968378, -0.0098940535, 1.822449937e-34, 0.0471640266, -0.0407308117, 0.0288122408, -0.0577892065, -0.002838131, -0.0663292557, 0.0015279124, -0.0035617487, 0.0265176315, -0.0328879729, -0.0164801944 ]
http://arxiv.org/abs/2401.06961v2
http://arxiv.org/pdf/2401.06961v2
CHAMP: A Competition-level Dataset for Fine-Grained Analyses of LLMs' Mathematical Reasoning Capabilities
2024-01-13T03:18:16
2024-06-09T01:47:26
Yujun Mao, Yoon Kim, Yilun Zhou
cs.CL
cs.CL, cs.AI, cs.LG
Recent large language models (LLMs) have shown indications of mathematical reasoning ability on challenging competition-level problems, especially with self-generated verbalizations of intermediate reasoning steps (i.e., chain-of-thought prompting). However, current evaluations mainly focus on the end-to-end final answer correctness, and it is unclear whether LLMs can make use of helpful side information such as problem-specific hints. In this paper, we propose a challenging benchmark dataset for enabling such analyses. The Concept and Hint-Annotated Math Problems (CHAMP) consists of high school math competition problems, annotated with concepts, or general math facts, and hints, or problem-specific tricks. These annotations allow us to explore the effects of additional information, such as relevant hints, misleading concepts, or related problems. This benchmark is difficult, with the best model only scoring 58.1% in standard settings. With concepts and hints, performance sometimes improves, indicating that some models can make use of such side information. Furthermore, we annotate model-generated solutions for their correctness. Using this corpus, we find that models often arrive at the correct final answer through wrong reasoning steps. In addition, we test whether models are able to verify these solutions, and find that most models struggle.
[ -0.0195627287, 0.0645438135, 0.0017850642, 0.0765338466, -0.0504598022, 0.0289238319, 0.0054150182, -0.0129162148, -0.0311224535, -0.0397269055, -0.0079278545, -0.005676866, -0.0084464382, -0.0107025439, 0.0406332389, -0.0224464275, 0.00723982, -0.0810999498, 0.0202943012, -0.0217906572, -0.0467245318, -0.0292392932, -0.0184312183, 0.0069831633, -0.0163455997, -0.0670185685, 0.0119627919, -0.0507052802, -0.0173617285, -0.0525008664, -0.0112078357, 0.074542366, 0.0165434238, 0.034359172, 0.0000021308, -0.070907101, 0.0210843105, -0.0108558703, -0.0824536607, 0.0324970298, -0.0342313461, 0.016861368, 0.0214587469, 0.0048076636, -0.0622284375, 0.0319992565, 0.0138387177, 0.012235079, 0.0771778449, 0.0467532389, 0.0201404989, -0.0188718718, 0.0240943879, -0.018294625, 0.0691093504, -0.0698466152, 0.0290335417, 0.0358446613, 0.0150764789, 0.0110176317, -0.0349715389, 0.044022277, 0.0433971435, 0.0013240459, -0.0418241769, -0.0076348553, -0.0264777467, 0.0260296408, 0.0175207816, 0.0607239306, 0.0089499122, -0.0160063542, -0.028555626, -0.020691229, 0.0063188807, 0.0249835346, -0.0693433806, 0.042686794, -0.0078200083, -0.0099521661, 0.0270484798, 0.0040589911, 0.0206365548, 0.0088099809, -0.0182750933, 0.1016328409, -0.003176257, -0.0447741896, 0.0010546204, 0.0113379611, -0.0582062751, -0.0641267002, 0.0085788863, 0.0408552028, 0.0360855982, 0.0180141181, -0.010364674, -0.0453457125, -0.0055660624, -0.0267442893, 0.0544324629, 0.0512945428, -0.0074680429, 0.0476893, -0.0186047759, 0.0321698524, -0.0127953123, 0.0417797901, -0.0221310332, 0.0127386563, -0.0058075599, -0.0100762863, -0.0078095929, 0.0433434136, 0.021998927, 0.0341456719, -0.0486783534, 0.0003089112, -0.0443707258, 0.0479342043, 0.0067820637, -0.0174785964, 0.0279109366, -0.0355982557, -0.0639629066, -0.0058256965, -0.0582276434, 0.0200339258, 0.0230307803, -0.0490778573, -0.0326173194, 0.0091898991, -0.027194256, -0.0416122042, 0.041843161, 0.062782988, 0.0094401976, -0.0083854012, -0.020536121, -0.0291929767, 0.0217680372, -0.0912914351, 0.0102216201, -0.0958904028, 0.0633617043, 0.0342774019, -0.0279895626, -0.029258538, 0.0100173187, 0.0229910593, 0.0312877409, 0.0496395081, 0.0139043853, -0.0005147313, 0.0303868707, 0.0076588639, -0.0665030777, 0.0463017486, 0.056985639, -0.0086954888, 0.0286123138, -0.0188659448, 0.00666042, 0.053726472, 0.0421986692, -0.0076851444, 0.0154294604, 0.0525348745, 0.0187541768, 0.0660397634, -0.0112180403, 0.038590122, -0.0349036008, -0.0290725883, 0.0384969041, 0.0813312382, -0.0171039831, -0.0193523988, 0.0210599508, -0.0238941088, 0.0728615075, 0.0083133681, -0.0753315464, 0.0188091956, -0.036108885, 0.0070914342, 0.0171735454, 0.0009030274, -0.0153325479, -0.0815586224, -0.0241048653, 0.0177881755, -0.030833872, 0.040206857, 0.0795955658, -0.0113718836, 0.0009012357, 0.0486931168, -0.0154094007, -0.0226005986, -0.0042349831, -0.0528959967, 0.0543645807, -0.0238359831, 0.0521237291, -0.0311373677, -0.0312194172, -0.0034231944, 0.0404577293, 0.0181141179, 0.0353972651, -0.0033491566, -0.0180083998, -0.0077580498, 0.0171335377, -0.0393302813, 0.0220769905, -0.0299802367, 0.0174091496, -0.0116571011, 0.0021805135, -0.0328387693, 0.0244076606, 0.0234899204, -0.0527172945, -0.0425753184, -0.0154537298, -0.0137642641, -0.0013952493, -0.0127180265, 0.0152505189, 0.0401205234, 0.0088475412, -0.0276884772, 0.0066224863, -0.0290890578, -0.0536713488, -0.0451478139, 0.0562751256, -0.0407553129, -0.0510219149, 0.021093078, -0.0478602573, -0.0159712303, 0.0231289566, -0.0276920777, 0.0070431894, -0.0016178832, 0.0271160863, 0.0180517212, -0.0325213857, -0.0032286095, 0.0770457983, 0.0055530425, 0.0546798557, 0.0230448674, -0.0104540717, 0.0151454117, -0.0219276696, -0.0108400444, -0.0225248132, -0.0063315895, 0.0124230189, -0.0230402444, -0.003400675, -0.0491841473, -0.0184587874, -0.034025874, 0.0097974176, 0.0118142404, 0.0749933198, 0.0108442958, -0.0618811473, -0.0111812577, -0.0055865082, -0.0435804985, -0.0235143006, -0.0051326044, 0.0107360967, 0.0489202328, 0.0213736407, 0.0107504763, -0.0402202904, -0.0285927057, -0.0579213239, 0.0461770631, 0.0199731253, 0.0285115056, -0.0125000915, 0.0336984843, -0.0442733392, 0.011330341, -0.0181847066, 0.0236217715, 0.0359448977, -0.0098475311, 0.0353911296, 0.0967341885, -0.0101212068, 0.0120740924, 0.04459868, -0.0429619029, -0.0527255498, 0.0130217951, -0.0020389871, 0.0128741972, -0.0354643576, -0.0280902945, -0.0232489537, 0.0797877833, -0.0082240039, -0.0175469853, -0.0149433799, 0.0680053458, -0.0232436955, -0.006464289, -0.0727808326, 0.0166583452, -0.0020195032, 0.0616827197, -0.0119117359, -0.0280052274, 0.0656293407, -0.0257473215, -0.0059356377, 0.0003038081, 0.0239760689, -0.0562131852, 0.0566549934, 0.0049368436, -0.0414130315, -0.0253933836, 0.0086859809, -0.0552635305, -0.0041606082, 0.0532840341, -0.0536096171, 0.0585342199, -0.0458664969, -0.0122592924, -0.0218180642, -0.053363312, -0.0397920236, 0.0114860591, -0.0371852107, 0.0040546926, 0.0008764234, -0.03350804, -0.0054581761, -0.0238431953, 0.0181375891, 0.0068919477, -0.0390108973, -0.0375038683, -0.000835072, 0.017340621, 0.0276718587, 0.0566470586, 0.0530578941, -0.0676577315, 0.0123514123, 0.0490460955, 0.0515159816, 0.0100200698, 0.0020786175, 0.0122774644, 0.0186971538, -0.0331836902, -0.0226615611, 0.0403505974, 0.0478765666, -0.0966014192, 0.0049642446, 0.0993320495, 0.0336109437, 0.0161596537, 0.0030101172, -0.0640477613, 0.0250831265, 0.0188114345, 0.0199775323, -0.100679256, -0.0353057273, 0.016972566, 0.0024060181, 0.0019686527, -0.0428945385, -0.0104463371, -0.1192957014, 0.0204072017, 0.0178385656, -0.0076418621, 0.0221224204, -0.0137867257, -0.0002801452, -0.0057155644, -0.0104638282, 0.0156623535, 0.005376243, 0.0170805324, 0.0179373827, -0.0510778911, -0.0382489376, 0.0524005853, -0.0146740908, 0.0187926292, -0.0193136465, -0.007863339, -0.0183319114, -0.074063912, 0.0497463495, -0.0014085708, -0.03086357, 0.0041388045, 0.0265351012, -0.0374698304, -0.0092749558, -0.0213696212, 0.0333665647, -0.0484028086, -0.0300096422, 0.0552764311, 0.1163785905, 0.0005039625, -0.0063241781, -0.0195037872, 0.0001449742, -0.0433484614, 0.0842218176, 0.0425758958, -0.0348481536, -0.0264073387, -0.0449374616, -0.0358050279, -0.026268078, -0.028363023, 0.0160587355, 0.0615708716, 0.0268858057, -0.0248363968, -0.0476516224, 0.0796431825, 0.0299434867, -0.0182823092, 0.0032690829, -0.0114649814, 0.0023393906, -0.0199143365, 0.0583714545, -0.0415542983, 0.0242878217, -0.0542512089, 0.0255849008, -0.0091206571, -0.0246409103, -0.0388159044, 0.032338284, -0.1423431188, -0.0396612994, -0.0116343983, 0.045969855, 0.0205335822, 0.0032253636, 0.0256192852, -0.0330807008, -0.0100328261, 0.0025789868, -0.0255825054, 0.0156717673, 0.0327887312, 0.0059395283, 0.0089891916, 0.0063585229, -0.0045483992, -0.000157044, 0.019064147, 0.0421727225, -0.0388737246, -0.0066510602, 0.0320780277, 0.027863184, 0.0040347269, 0.0151522579, 0.0135982651, -0.0006037881, 0.0379102267, -0.0321189687, -0.020881217, -0.02814316, -0.0175689496, -0.0105680823, -0.0387532711, 0.0137009835, -0.0420600511, 0.0073095998, 0.0453046635, -0.0043721921, 0.0533593111, 0.0117834751, 0.0314002894, 0.0236434769, -0.0158336423, 0.0129880589, -0.0054515698, -0.0203952268, 0.0698735118, 0.0137422374, 0.057141915, 0.0141686322, 0.0239562243, 0.0301759187, -0.0055874772, -0.0298635121, -0.0708727166, -0.0033592822, 0.028835522, 0.0367651321, 0.0153521737, -0.0115236063, -0.0432177074, 0.0047262218, -0.0163398366, 0.0131102931, -0.0007241496, -0.0238665361, 0.0426814742, 0.0420221165, 0.0259137042, -0.0487584807, 0.0403602533, -0.0065744449, 0.0267222971, 0.0095818732, 0.0302485023, -0.0158235133, -0.0253113881, -0.0033569895, 0.0070924093, 0.0197616611, -0.0006092917, -0.0962714776, -0.095920369, 0.0046953023, 0.0395694785, -0.0207343996, 0.0039214469, 0.0196246989, 0.0630257428, -0.0229632538, -0.0239586793, 0.0160644036, 0.0283512268, -0.0122464066, -0.0243833233, -0.025839014, -5.816824327e-33, -0.0363091715, -0.0546910726, 0.0546503849, 0.02925919, 0.0407349318, -0.0164402965, -0.0293831583, 0.0407844074, -0.0285988245, 0.0070545124, -0.013611366, 0.0138217779, -0.0005761121, 0.0195605475, 0.0073926011, -0.0375603586, -0.0218367931, -0.0232780445, -0.0481487773, -0.0243531428, 0.0132851871, -0.0275899041, 0.0648344979, -0.0442002118, 0.0441083945, -0.0311398655, 0.0024180608, 0.0352077894, -0.0661038086, 0.0594198108, -0.0013698561, 0.0260523912, 0.0179612339, -0.0220389105, -0.0242630504, -0.0074458965, -0.0138385845, -0.0449220054, 0.0200504381, -0.0016313649, -0.0624780953, -0.0312705636, 0.0154110128, 0.0318911634, -0.0482312664, -0.0417734943, 0.0190755278, -0.0311491732, 0.0161904264, -0.0010921982, -0.0043954439, 0.0372655764, -0.0354970507, -0.0196944382, 0.0234446805, 0.0183378365, -0.0124383382, -0.0028220708, -0.0444990695, 0.0264447164, 0.0465547927, 0.0373007134, 0.0709499195, -0.0389941446, 0.0051413425, 0.0346537903, 0.032613311, -0.0098512685, -0.0085373027, -0.0024053806, 0.0223055072, 0.0533074029, 0.1171919331, -0.0000030541, 0.0570697375, 0.0475720577, -0.0449678525, -0.0074459487, 0.0071415897, 0.0169833321, -0.0060401261, -0.0277536679, -0.0337850675, -0.0038334203, -0.0741203353, 0.0286525693, -0.0425441265, -0.0111711416, 0.0466080047, -0.0462115481, 0.0278438982, 0.0082087964, 0.0231710952, -0.0099351117, -0.0183783658, -0.0094240289, 0.0147220604, 0.0315904357, 0.0012014859, 0.0374838002, -0.0685631633, 0.0034002424, -0.0217475444, 0.0023613514, 0.0433357209, 0.0068919812, -0.0024054684, 0.0159295183, -0.044604782, -0.0267498754, -0.0398150124, 0.0017753047, 0.0243082624, -0.0230680089, 0.0353641547, 0.0130003523, -0.002625454, 0.0386096202, -0.0400331989, -0.0266920999, -0.030066831, 0.0479216538, -0.015638331, 0.0142739303, 0.0171822067, -0.0041907933, -0.0161853265, -0.0000453563, 0.0312697068, -0.0238033906, 0.0301674251, 0.024171181, 2.709e-7, 0.0632001758, 0.0544656366, 0.0038139923, 0.0551050417, 0.0005489971, 0.0374917388, -0.0601826198, -0.0558856465, 0.0593012646, -0.0472491048, -0.0100753475, 0.0640926585, 0.0348793678, 0.0499113724, -0.0576303117, 0.0190839078, -0.0593273565, 0.0035868923, -0.0535089783, -0.0009250673, 0.0725588873, 0.0480451435, 0.0275935996, 0.0057894322, -0.0414369851, -0.0446675606, 0.0471708961, -0.0298595466, -0.0266157053, 0.0165194273, 0.003643173, -0.043078389, 0.0182350427, 0.0370998494, -0.0135601703, 0.0031129119, 0.0030305353, 0.040347822, 0.0313013308, 0.0071710488, -0.0469540767, -0.0208229646, -0.0172839612, -0.0327249765, 0.0480670072, -0.0748203769, -0.0423657671, -0.0135537935, 0.0090113636, -0.039614372, 0.0306772143, 0.0035996723, 0.0279525295, -0.0152215073, 0.042993661, -0.0204300601, 0.0183688756, -0.0476663113, -0.0351342633, 0.0313316435, -0.0314311311, -0.063417837, -0.0737313405, 0.000081624, 0.0376765132, -0.0293554869, -0.0390576497, 2.472280663e-34, 0.0411476828, -0.0202900488, 0.040044833, 0.0471758433, 0.0288456026, 0.0024923664, -0.0064193918, 0.0156895015, 0.0313224383, -0.0656233132, -0.0097644385 ]
http://arxiv.org/abs/2401.06954v2
http://arxiv.org/pdf/2401.06954v2
Bridging the Preference Gap between Retrievers and LLMs
2024-01-13T02:20:17
2024-02-20T21:11:23
Zixuan Ke, Weize Kong, Cheng Li, Mingyang Zhang, Qiaozhu Mei, Michael Bendersky
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated superior results across a wide range of tasks, and Retrieval-augmented Generation (RAG) is an effective way to enhance the performance by locating relevant information and placing it into the context window of the LLM. However, the relationship between retrievers and LLMs in a RAG is still under-investigated. Most existing work treats the retriever and the LLM as independent components and leaves a gap between retrieving human-"friendly" information and assembling a LLM-"friendly" context. In this work, we examine a novel bridge mechanism. We validate the ranking and selection assumptions of retrievers in the context of RAG and propose a framework that chains together supervised and reinforcement learning to train a bridge model that optimizes the connection between the retriever and the LLM. Empirical results demonstrate the effectiveness of our method in both question-answering and personalized generation tasks.
[ 0.056056533, 0.059388835, -0.0003892968, 0.0155749405, -0.0241415706, -0.0160379708, -0.0184153635, -0.0231102556, -0.0046715443, -0.0412550829, -0.0297874063, -0.0288792998, -0.0347826518, -0.000092477, 0.0313426144, -0.0290499683, 0.0436212905, -0.0273171421, 0.0174969733, -0.0049617505, -0.0336922593, 0.0306082089, 0.010504364, 0.0373620801, 0.0062960112, 0.0272866115, -0.0065124636, 0.0225432832, 0.0116017405, -0.0380670652, 0.0263858475, 0.0352782309, 0.0404978618, 0.0140350601, 0.0000019788, -0.0470552258, -0.0279804505, -0.013133782, -0.0097911693, -0.0341848247, 0.0142483134, 0.0274124276, 0.0027711634, 0.0264828764, -0.0508958511, -0.0123988567, 0.0107929977, 0.0423989594, 0.0449703969, 0.0723896474, 0.0137452576, 0.0089840293, 0.0104474602, -0.0571352839, 0.0720910132, -0.0513167568, 0.0055107828, 0.0135768345, 0.0378665514, 0.049382925, 0.0010091532, 0.0320309475, 0.0380918942, -0.024836706, 0.0212169494, 0.0408763178, -0.0159661602, 0.0145888841, -0.0151478536, 0.0775458142, 0.0159038994, -0.0122181457, 0.0033977481, 0.0152456556, 0.0196310002, 0.0424856432, -0.0504587963, 0.0306556635, -0.0063142143, 0.0259584207, -0.0021070689, -0.0120558115, 0.0275017302, 0.0457320586, -0.0321138464, 0.0578989312, 0.0180558059, -0.0200611893, -0.0138672376, 0.0366534851, -0.0093820272, -0.0510199405, 0.0196240675, 0.0433949791, -0.0769038722, 0.0292891841, -0.0437209904, 0.0128173586, 0.013274584, 0.0387564488, 0.0446649529, 0.0193732642, -0.0121510066, 0.0187730212, -0.0362598598, 0.0151307387, -0.0457503349, -0.0026407731, -0.0633263141, -0.0089604249, -0.0384146348, -0.0465908498, -0.0400136337, 0.0450641662, -0.0619532652, -0.0216959286, -0.049073305, 0.0470570549, 0.0121631315, -0.0245882832, 0.0166604295, 0.0649523735, -0.0464605652, -0.0008204089, -0.0630460307, 0.0070612868, -0.0383778848, 0.0166122001, 0.0657983869, -0.0464748591, -0.0151828974, 0.0003264442, 0.0026300352, -0.0451087244, -0.0039858664, 0.0404102392, -0.0491581783, -0.0361797512, -0.0568782911, -0.0429607294, -0.0257918313, -0.0427887887, 0.0004131225, -0.069839865, 0.0243951976, 0.0040141493, -0.0162295252, 0.0034517781, 0.0241238549, 0.0431365669, -0.010354911, 0.0180186648, 0.026499074, 0.0202423334, 0.0377899706, 0.006314687, 0.0117044225, 0.0289776698, 0.0082019139, 0.0505087823, 0.012204905, 0.0309025068, -0.006833815, -0.0066558924, 0.031462688, 0.0057678279, -0.022794757, 0.0041948739, -0.0134330019, 0.0286990795, 0.0548550598, 0.0565659925, -0.0503406487, 0.0067288061, 0.0752007961, 0.0162805822, 0.0226840228, 0.0144327246, 0.0548847951, 0.026401151, -0.0291284285, 0.0445592776, -0.0390513241, 0.0495438315, -0.0324164554, 0.0204065386, 0.0410947204, 0.0211240835, -0.0290499255, -0.0317795947, 0.0337559991, 0.0007845228, -0.0066805803, 0.0450410545, 0.0309633613, 0.055218745, -0.0502403155, 0.0357103124, -0.0050243307, -0.0480786599, 0.0345387682, -0.0506807715, 0.0521858782, 0.0709580854, 0.0920888186, 0.00733663, -0.011224024, 0.0128113246, -0.0221095141, 0.0328734256, 0.0298302695, -0.0220144428, -0.0114316195, -0.0321489759, -0.0364900231, -0.0287947282, -0.0082179392, 0.0338435806, 0.0580597445, -0.0023065191, 0.0426187553, -0.0251627024, -0.0053545018, 0.0261121467, -0.0136373481, -0.0394269899, 0.0413655415, 0.0057691326, -0.0243111867, 0.008082821, -0.002020689, 0.0339366905, 0.0324967653, -0.027102543, -0.0304756574, 0.0072877333, -0.0899660438, -0.0170254093, -0.0059585534, 0.0002786619, 0.0044558602, 0.0168572031, -0.015345755, -0.036751274, 0.0019725643, -0.0544550195, 0.0439519919, -0.0633179769, 0.0009015828, 0.0519467145, -0.0213939026, -0.0736155584, 0.0903620645, -0.0089920918, -0.0109170238, 0.0322965756, 0.0413796753, -0.0129360463, -0.0856192783, -0.0003564206, 0.000334529, -0.0081742881, 0.0176244769, 0.0592859499, 0.0199421626, -0.04604825, -0.0500558093, -0.078959167, -0.0102169281, -0.0251429919, 0.0110045597, 0.0011689476, 0.0210044775, 0.0056846589, -0.0343194082, -0.056756556, -0.0345451385, 0.0553811714, 0.0126646021, 0.0255328994, 0.0316593312, 0.014775061, -0.0608880855, -0.0069563966, 0.0216641333, 0.0088681234, -0.0016157884, 0.053366106, -0.0432832539, 0.0064918171, -0.0563045032, 0.0203024559, -0.0037483647, 0.002028178, 0.0249069296, -0.0514187142, 0.0648673847, 0.0616964288, 0.0391040966, 0.0478743725, 0.0585259609, 0.0052743549, -0.0760573596, 0.0124848131, -0.0483500734, -0.057529714, -0.0192199778, -0.0285006892, 0.0314608775, 0.0348785035, 0.0020520168, -0.0104381451, -0.0489645414, 0.039826043, 0.0182999503, -0.0476471335, -0.0519151948, 0.000027719, -0.0053549046, 0.0497764871, -0.0336981714, -0.0579481013, 0.080893904, -0.003569243, 0.0118439179, -0.0511313118, -0.001472586, -0.0600714684, 0.0210500788, -0.0037471061, 0.0293428916, -0.0462210625, -0.0158772189, -0.0716602281, -0.0050312174, 0.0088720014, -0.0471812859, 0.0425856672, -0.0614932701, 0.0316215008, 0.0228992756, -0.0564496107, -0.0849096626, -0.0143090067, 0.0309563689, -0.0008475296, 0.0194066446, -0.0119916024, -0.0285299458, -0.035440132, 0.047648102, 0.0171772838, -0.0249500237, -0.0257046781, -0.0268961247, 0.0781993493, 0.1008425951, 0.0159967877, 0.0083783679, -0.0254857205, -0.0148272598, 0.0414677039, 0.0397672653, -0.0083052712, 0.0136376824, -0.0046603251, 0.040400058, -0.0198040679, -0.0141523713, 0.0370859727, 0.0145933172, -0.0326813087, -0.0537696779, 0.0847238898, 0.0463696793, -0.0308244042, -0.0101657081, -0.0270850006, 0.0543973558, 0.0208046865, 0.0652215704, -0.0611387342, 0.0025156215, -0.0073146392, 0.0436016582, -0.0036570753, -0.013235487, -0.0223285556, -0.1589748859, 0.0297693461, 0.0038251339, -0.0365142673, -0.0076602236, -0.0055267652, -0.0169914905, 0.0292527005, 0.0096620852, 0.0508966297, -0.0281596389, 0.0050706621, 0.0107522393, 0.0943193808, -0.0408939235, -0.0290828664, -0.0238821376, 0.0154149402, 0.0899138749, 0.0102557503, 0.0256936569, -0.0204722639, -0.0165055692, -0.0179892313, 0.0256386455, -0.0222795475, 0.0236726608, -0.0236108042, 0.0044323378, -0.0389948003, 0.0330795161, 0.0114945602, -0.0166528318, -0.0150171062, 0.038045533, -0.0252231024, -0.0035241928, -0.0252043046, 0.0030493147, 0.0263171177, 0.0633838102, 0.0283973012, -0.043164175, -0.0338541232, -0.009660705, -0.0001563685, -0.0710333586, -0.0025826201, 0.0276911911, 0.0043189009, -0.0008317102, -0.1114999428, -0.0249818806, 0.0070563396, 0.0390350819, -0.005046532, 0.0200491603, -0.0235500485, -0.0232771784, -0.0426938832, 0.031966392, -0.0293847211, -0.01403757, -0.0616273768, -0.0392643958, 0.0404972322, -0.0925578102, -0.0093926117, -0.0058238301, -0.0082480321, -0.0591869801, -0.0321211405, 0.0803576559, 0.0236991867, 0.0361322239, 0.0117878253, -0.0644673184, 0.0473260842, 0.0263570491, -0.0077720233, 0.0150926244, -0.0229414739, 0.0141334618, -0.0139142592, 0.0215064604, -0.0766193718, 0.0260945633, -0.0109774731, 0.0696903393, -0.0036140396, -0.0284988377, 0.0575296171, -0.0162987914, -0.0146663971, -0.0340761319, 0.0438199267, -0.038881965, 0.0130259842, -0.0195829608, -0.0157349445, -0.0299363192, -0.0058788192, 0.0237895958, -0.0099761859, 0.0172895323, -0.0234996378, 0.0042110733, 0.0825587139, -0.0281859394, -0.0323957354, -0.0000379312, -0.0060659787, 0.0268054977, 0.0153224338, -0.0037903225, 0.0203399528, 0.00055217, 0.0801584199, -0.0106442962, 0.0847480446, 0.0242265742, -0.0242485087, -0.0248182695, 0.0281665046, -0.0635706782, -0.0417096801, -0.0183122158, 0.0299175587, 0.0317376927, 0.0047015897, 0.0525714681, -0.0258000717, -0.0185689591, -0.0151131116, -0.0006896804, 0.008870827, -0.0375069156, 0.0181695409, 0.0355065763, -0.0084851505, 0.0204365626, 0.0564275756, 0.0079100691, 0.0136852898, -0.0540270321, -0.0094774552, -0.0360546596, -0.0385964103, 0.0209778566, 0.0155023551, -0.0134460786, 0.0276121348, -0.0412525125, -0.0599067807, -0.0125609422, 0.0385048725, -0.0047176313, -0.0227264315, 0.063250035, 0.0541610792, -0.0033249264, -0.0363047794, -0.0575362183, 0.0206785742, -0.0678794757, -0.0288021099, -0.0295345858, -6.271609132e-33, -0.0455752797, -0.0561579615, 0.0425074175, -0.0466994345, -0.0195148326, -0.0115085971, -0.0520200729, -0.0031665631, -0.0081805633, -0.0193160232, -0.0143407322, -0.0251462534, 0.0061807805, 0.0434637628, -0.008811078, 0.0014446443, 0.0400709137, 0.0146111883, -0.033689931, 0.0368751064, 0.0445729978, 0.0362134539, -0.0153497197, -0.0440463237, 0.0014079217, -0.0082027391, 0.0031919784, 0.0338791087, -0.02897349, 0.0770729929, 0.0020576678, 0.0236612335, 0.0241959076, -0.0049040993, -0.0058792052, 0.0569955148, -0.0825393349, -0.0073680175, 0.0205025133, -0.038317427, -0.0638983771, -0.0437324196, 0.0131294122, -0.0404116996, 0.004095566, 0.0277052317, 0.0201239903, -0.0178816076, -0.0419517308, -0.0353424773, -0.0587862171, -0.0168818254, 0.0205080975, -0.0306996349, -0.0151004698, 0.0578965433, -0.0197309181, 0.0405888744, 0.0077640489, 0.03899955, 0.0063296859, 0.050741002, 0.0518672019, 0.041271273, -0.017550176, 0.0335674398, 0.0186784267, -0.0327041671, -0.0102674831, -0.0576282591, -0.0036790166, 0.0409790948, -0.0077475123, 0.0270206109, -0.0054312833, 0.0111513678, -0.033290118, 0.0495217107, 0.022544425, 0.0257650483, 0.0308333039, 0.0227256268, -0.0050349212, -0.0083485227, -0.0436576232, 0.0071739024, -0.0420510098, -0.0409135483, 0.0644797981, 0.060464967, -0.0486833677, -0.0568512976, 0.0353428759, -0.0128188794, -0.0165279973, 0.0294522811, -0.0451336056, -0.0016410496, -0.0272146501, 0.0098741082, -0.0472773425, -0.0078511164, 0.0519405454, -0.0371893123, -0.0402184017, 0.0286922194, 0.0080734594, 0.0078686932, -0.0319549888, 0.0279888008, -0.0449224375, 0.0543824248, -0.0209537894, -0.0026230905, 0.0323732272, 0.0162612814, -0.0298531745, 0.0361883938, 0.0109564671, 0.0025192101, -0.0392975472, -0.0248917807, 0.0042185229, 0.0135838697, -0.0201346949, 0.0510771871, -0.0185553096, 0.047634434, 0.0127272159, -0.0250514224, -0.0133886151, 0.0204854626, 2.697e-7, 0.0211251602, 0.0318978094, 0.0428580157, 0.0514229536, -0.0007153411, 0.0105282525, 0.0033229522, 0.0175829548, 0.0385489538, 0.0071472116, 0.0054850229, 0.0272093397, 0.0474399291, -0.0111234151, -0.0675242245, 0.0264283381, -0.06909886, -0.0180538185, -0.0331569947, -0.0595474057, 0.0441359617, 0.0427659042, -0.0253495835, -0.0130342431, 0.0124345375, -0.0287139118, 0.0841170922, -0.0091242874, -0.0247042049, 0.0073332726, 0.0347800367, 0.0159088038, -0.0145526445, -0.023144586, -0.0042675403, 0.0288106762, -0.015639022, 0.0528840087, 0.0096432501, -0.0758222193, -0.0121174743, 0.0182506703, 0.0157251842, -0.0456286781, 0.0487407707, -0.070323959, 0.0233812947, 0.0002706648, -0.0120056225, -0.0065164426, -0.0165201034, -0.0440877825, -0.0256005861, 0.0070997658, 0.0170913227, 0.0254828297, 0.0048258686, -0.0888906047, -0.0126859117, 0.02850537, -0.0457906052, -0.0465106927, -0.0615957975, 0.0242476575, -0.0336171724, -0.0450915396, -0.0121622207, 2.380026167e-34, 0.005668649, 0.0175351929, 0.0194423292, 0.0305421744, 0.0293298159, 0.038597092, -0.0485931598, 0.0268939491, 0.0385017134, -0.074132584, -0.0308743156 ]
http://arxiv.org/abs/2401.06951v3
http://arxiv.org/pdf/2401.06951v3
E^2-LLM: Efficient and Extreme Length Extension of Large Language Models
2024-01-13T02:11:20
2024-02-22T12:49:10
Jiaheng Liu, Zhiqi Bai, Yuanxing Zhang, Chenchen Zhang, Yu Zhang, Ge Zhang, Jiakai Wang, Haoran Que, Yukang Chen, Wenbo Su, Tiezheng Ge, Jie Fu, Wenhu Chen, Bo Zheng
cs.CL
cs.CL, cs.AI
Typically, training LLMs with long context sizes is computationally expensive, requiring extensive training hours and GPU resources. Existing long-context extension methods usually need additional training procedures to support corresponding long-context windows, where the long-context training data (e.g., 32k) is needed, and high GPU training costs are assumed. To address the aforementioned issues, we propose an Efficient and Extreme length extension method for Large Language Models, called E 2 -LLM, with only one training procedure and dramatically reduced computation cost, which also removes the need to collect long-context data. Concretely, first, the training data of our E 2 -LLM only requires a short length (e.g., 4k), which reduces the tuning cost greatly. Second, the training procedure on the short training context window is performed only once time, and we can support different evaluation context windows at inference. Third, in E 2 - LLM, based on RoPE position embeddings, we introduce two different augmentation methods on the scale and position index parameters for different samples in training. It aims to make the model more robust to the different relative differences when directly interpolating the arbitrary context length at inference. Comprehensive experimental results on multiple benchmark datasets demonstrate the effectiveness of our E 2 -LLM on challenging long-context tasks.
[ 0.0253313556, 0.0531057529, 0.00762652, 0.0565914921, -0.0181700103, 0.0214624777, 0.0169164427, 0.0058229072, -0.0201845467, -0.0189561117, -0.0242784917, -0.0373878367, -0.0007821373, -0.0115937591, 0.0627106503, -0.0597008467, 0.0145846121, -0.0384636112, -0.0141333314, -0.0187304914, 0.0072367019, -0.0031780719, 0.0034053151, 0.004907642, -0.0159226283, 0.0246522501, -0.0570040829, 0.0276026316, 0.0576034635, -0.0403974839, 0.0042855251, 0.0281392615, 0.0676603094, 0.0232913736, 0.0000020833, -0.0322799422, -0.0065585137, -0.0022191352, -0.0154823344, 0.0340811536, 0.0470804609, -0.0217593014, 0.0023450949, 0.0109322863, -0.0016973518, -0.0018058958, 0.0508934818, 0.0023071088, 0.0106015373, 0.0906615034, -0.0156845655, -0.0482493453, 0.0149794053, -0.0913314894, 0.0162866246, -0.0419091508, 0.0435408428, -0.0011932943, 0.0079012932, 0.0373484865, -0.0509060994, 0.0009466979, 0.0492150225, 0.0297045615, -0.0249748137, 0.0386967994, 0.0023705091, 0.0006786209, 0.0130258175, 0.0450834483, -0.0334631167, -0.0063033579, -0.0088449614, -0.0104120299, 0.0153345801, -0.0209124796, -0.0504595526, 0.0089910589, 0.0583270006, 0.0136346761, 0.024740817, -0.0035415348, 0.0457966812, 0.022456605, -0.0643421188, 0.0510745831, 0.0339589827, -0.029580418, -0.0444459021, -0.0023761615, -0.0631218702, 0.0074721961, -0.0206796136, 0.0195736215, 0.0046492866, 0.0418706574, -0.0506106578, -0.0345388874, 0.0211156737, -0.0169308167, 0.0380215496, 0.0464685261, 0.0063938005, 0.0435561575, -0.0457847714, 0.024794329, -0.018970808, 0.0171637125, -0.0701824725, -0.0138253244, 0.0061045233, 0.0113427714, -0.0241316799, -0.0362194031, -0.0615158603, -0.0337012596, -0.0391488336, 0.0245804191, 0.0157141332, -0.0123175941, 0.0158216339, 0.0010261866, -0.0498639196, -0.006706778, 0.0144784274, 0.0201801546, -0.064121522, 0.0644438788, 0.008068867, -0.0065068854, -0.0296520088, 0.0303219203, 0.030006459, -0.0331602655, 0.0328604877, 0.0518556759, 0.0194702279, -0.0494729131, -0.0405787751, 0.0284903999, -0.0417765155, -0.0600499772, -0.0074937302, -0.0974851474, 0.0404719934, -0.0245356932, 0.0044666729, -0.011753927, 0.0101024378, -0.0071568615, -0.0339446813, 0.0615761466, -0.0345329307, -0.0060360511, 0.0077815773, -0.0012842813, 0.019007599, 0.0787195414, 0.0307358429, 0.0309402142, 0.038770467, 0.0149785168, -0.0399435386, 0.0431999266, 0.0245501082, 0.0369471647, -0.0503526255, -0.0097558703, 0.0120083373, 0.0376641154, 0.0495255366, 0.0149486735, -0.0487395413, -0.0543118231, 0.0223253183, 0.0471718907, 0.03969815, -0.0126622505, 0.0529609174, -0.0208545793, -0.021673834, -0.0100037018, -0.0398930311, 0.0028897161, 0.025933126, 0.0402104855, 0.0506302007, 0.0211009402, -0.0280025043, -0.0210164655, -0.0230821893, -0.0173844136, 0.0304629225, -0.0022651951, 0.0334887467, -0.0229681879, -0.0108875968, 0.0401790477, 0.064399451, -0.0529684797, -0.0063006934, -0.0051239179, 0.0004274507, 0.0794137865, -0.0065091574, -0.0292127132, -0.0359476693, -0.0054017063, 0.0199122112, 0.0499982312, 0.0048835524, 0.0010524982, 0.0430299938, -0.0530732237, -0.0275663435, -0.0093800901, 0.0102912402, 0.0032745122, 0.0724523589, 0.0330585726, 0.0280568451, -0.0772413164, 0.0103908721, 0.031921424, -0.0806020722, -0.0169427805, -0.0351105444, 0.018148277, 0.0073671849, 0.0088368552, 0.0017928488, -0.0167956259, 0.0401940495, -0.0614534244, 0.0025241845, -0.0323628262, -0.0698751211, -0.056168817, 0.0751781613, -0.0158238057, 0.0152928736, 0.0132557508, -0.0616904236, -0.0506839305, -0.0093469396, -0.0059403018, 0.0553611033, -0.0463859588, 0.0144161982, -0.0119895404, 0.0264903605, -0.0531346761, 0.0374583378, -0.0338578373, 0.0250456613, 0.0348790027, 0.0417975187, -0.0308529064, -0.0311629269, -0.0455726497, 0.0218098685, 0.0300331526, 0.0086733401, -0.0178090595, -0.0067943893, -0.0349952877, -0.0266964678, -0.1168005615, -0.0018596863, -0.0225125141, 0.03232757, 0.0249985866, 0.0141114751, -0.0287156776, -0.0012149798, -0.023417091, -0.0175827965, -0.0449875146, 0.019498283, -0.0044068508, 0.0178793445, -0.0491076224, -0.0367198624, -0.0247418191, 0.0151951546, 0.060324952, -0.0396227278, -0.020052135, -0.0629467219, 0.0196776465, -0.0185977984, 0.0393718407, -0.0351985246, -0.0341034681, -0.0196048021, -0.0472194292, 0.0410210453, 0.0500251688, 0.0113324588, 0.0098158885, 0.0409431458, 0.0356038623, -0.0369328372, 0.0084329015, -0.0379345417, -0.009603424, -0.0639722198, -0.0118835084, -0.0518146828, 0.0723481029, -0.0426506028, -0.0129104378, -0.0327610858, -0.0287894197, 0.0129897259, -0.0071536009, 0.0112037314, 0.0080411471, -0.0442716256, 0.0210088566, -0.0287005156, -0.0597046614, 0.0298080575, -0.075600788, -0.0031854489, -0.0337580517, -0.04651035, -0.0430537574, 0.0841237605, 0.0333269797, 0.0232376773, -0.0580314621, 0.0112001309, -0.0180220399, 0.0241789855, -0.0019403935, -0.0080450019, 0.021173628, -0.0141254449, 0.0091632763, -0.0271235667, -0.0205368083, -0.0248905439, 0.0087233465, -0.0143549731, -0.0042037661, 0.0010973515, -0.0362001956, 0.0177381057, 0.0066777398, 0.0054879654, 0.0769387335, -0.0159114208, 0.0498851873, -0.0281796269, 0.0149032166, 0.0608342923, 0.03297529, -0.009256715, -0.0404485762, 0.0004147743, 0.0289938562, -0.0060093859, 0.0096289366, -0.0575184971, 0.0048641679, 0.0100118145, -0.0213120915, -0.0088440282, 0.0160304364, 0.0567121804, -0.0654335469, 0.0106945671, 0.094377853, 0.0090738656, -0.0614824332, 0.014719693, -0.0039994968, 0.0788536221, 0.0428732932, 0.0048105293, -0.0712395385, -0.0183016658, 0.0272027701, -0.0073094107, 0.0150428722, -0.003711168, -0.012517781, -0.1238400191, 0.011619743, 0.0345915407, -0.0389203094, -0.0366446301, -0.0400338545, 0.0359353088, 0.0364085995, 0.0179492999, 0.0352006033, -0.0152277127, -0.0037417698, 0.0214859266, 0.0045279344, -0.0594836399, -0.0090879025, -0.0287502613, 0.0388604924, -0.0090670316, -0.0044124229, 0.005338802, -0.0187794678, 0.0561768562, -0.0052926256, 0.0103944466, 0.004458013, 0.0435449295, -0.0182156377, 0.00578458, 0.0398701094, 0.0570122562, -0.0010251139, -0.0146518275, 0.0126313865, 0.0821887553, -0.0037153736, 0.0196392182, 0.0074121403, -0.0280866679, -0.0199396871, 0.0423302576, 0.0573280938, -0.0400898531, 0.0023675396, -0.0207179785, -0.0443354249, -0.0122805275, 0.0268451609, -0.0027718388, 0.0026348738, -0.0039958139, -0.0356607139, -0.0165570974, 0.035373129, 0.0669595003, -0.0210275836, 0.0307118166, -0.0430010557, -0.0097888894, -0.0803549513, 0.0247336421, -0.0315611698, 0.0383161046, -0.0181096196, 0.0255627651, 0.0194414649, -0.0038827076, 0.0000469144, -0.0000590573, -0.1121455282, -0.0882236734, -0.0268578678, 0.0129643045, 0.0142843891, 0.1045372263, 0.0051917066, -0.0348715186, 0.0575204864, 0.0326391682, -0.0205160007, 0.0503247529, 0.0408424698, 0.0136533091, 0.0085223652, 0.0450949036, -0.0239826124, 0.0143403159, 0.0226119105, 0.0596799441, -0.0374376178, -0.0279029664, -0.0256338138, -0.012827035, 0.0375115834, -0.02532118, -0.0013501148, -0.0310580954, 0.0586263239, -0.0430424251, 0.0148407361, -0.0345903374, -0.003063798, 0.0273808595, 0.0072918739, 0.0148331942, -0.0144206872, 0.0487943254, -0.004078479, -0.022234736, 0.0589976944, -0.0234158672, -0.0023209357, 0.0329716429, 0.0426695831, -0.0366337895, -0.0193042532, -0.0348028392, 0.0334127471, -0.0409133844, 0.0198228676, 0.0252843834, -0.0037619493, -0.0618306287, 0.0416128002, -0.0485192798, -0.016495673, -0.0380169712, 0.0357801616, 0.0554989502, -0.0118043106, 0.0506702922, 0.0071424483, -0.0329101235, -0.0142977349, 0.0301164817, -0.0338821076, -0.0308617149, 0.0455122441, 0.0437379628, -0.023699183, 0.0509761907, 0.0430178493, 0.0574097484, 0.0247459859, -0.0031152652, 0.0281898919, -0.0112008229, -0.0370168053, -0.0114635043, 0.0064118258, -0.0160374176, 0.0213368535, 0.0061433362, -0.1018178463, -0.0067305029, -0.0092636198, -0.0440762378, -0.0097535569, 0.0394975133, 0.0280476492, -0.0359156877, 0.0139760338, -0.0074511319, -0.01916546, 0.0490514599, -0.0337766036, 0.00187792, -6.154949032e-33, -0.0164382365, 0.023596162, 0.0283561926, -0.0416968241, -0.0609333403, 0.0279858578, -0.0111299297, 0.0185838472, -0.0048186877, 0.0036566267, -0.005482343, -0.0210604798, 0.0060944855, 0.0420492887, -0.0555275269, 0.0048477566, 0.0346548036, 0.0234213341, 0.018506201, -0.0005949984, 0.0199447144, 0.050671082, 0.0808047131, -0.0302331857, -0.0005912074, 0.0086221835, -0.0012910741, 0.027608756, 0.0142002339, 0.0457088128, -0.0147576919, 0.0254407711, 0.0217322782, -0.0635390505, -0.0199396424, -0.0193088893, -0.09539406, -0.022222288, 0.0084008984, 0.0003676831, -0.0619783252, -0.0276248232, 0.0616577268, 0.0011477077, 0.0122207329, -0.0298556313, 0.0010963634, -0.0639397129, -0.041788388, 0.0002742582, -0.0267888568, 0.0301535018, 0.0337417647, 0.025866244, 0.0409411825, 0.0018175468, 0.0058052917, 0.0227669533, -0.0566587895, -0.0172914732, 0.0213188641, 0.0728922635, 0.0403925255, 0.0395069756, 0.0206335597, 0.0517309532, -0.0053021936, -0.0324276499, -0.0126357516, 0.0016746008, 0.045284342, 0.0297290031, 0.0333609097, 0.0258550607, 0.0495752208, -0.0239822492, -0.0734999999, -0.0056198831, 0.0316452235, 0.0127588641, 0.0189755317, 0.0457445718, -0.0133670475, -0.0292384848, -0.0490551889, -0.0227315985, -0.0236142166, -0.0333473012, 0.045587372, 0.0427263491, -0.0247746389, -0.0287295468, 0.0381081291, -0.0374549069, -0.0064387559, 0.0185304731, -0.0262021981, 0.0289488677, 0.0197902843, 0.0237215497, -0.0128665604, -0.0211351309, 0.0138488999, -0.0076881009, 0.0088712797, -0.0604721345, 0.0638376102, 0.0328065306, -0.0693593249, -0.0057989946, -0.0490305237, -0.0144813005, 0.0134350564, 0.0500633717, 0.0441284589, -0.0111560719, 0.0099822385, 0.0882170349, 0.01108592, -0.0001426455, -0.001565773, -0.043893043, -0.0069889748, 0.0371435508, -0.0433176421, 0.0092040915, -0.0272610467, -0.0030744381, 0.0346296765, -0.0942623839, -0.0194713436, 0.0287629571, 2.7e-7, 0.0374242775, 0.0099466806, 0.0457707718, 0.0059273122, 0.0298194177, -0.0085749207, 0.0086792847, 0.0267596971, -0.0143893296, -0.0285933129, 0.0103406776, 0.055385951, 0.0303616859, -0.024277959, -0.0903983489, 0.0185130518, -0.0616558045, 0.0301355217, -0.0334252082, -0.0031494929, -0.0001349463, 0.1431397349, 0.0238575395, 0.0067767971, 0.0138343209, -0.0463202111, 0.0416820906, -0.0570529476, 0.0199272688, -0.0076179868, -0.0192669444, 0.0458195247, 0.0010834506, -0.0114580998, 0.0085448222, 0.058139421, -0.0098228622, 0.0877919495, 0.0036169477, 0.0104527585, 0.0157639664, -0.0116389515, -0.0215202421, -0.0562942959, 0.0700944737, -0.0303887408, -0.0066309907, -0.0515147261, -0.0243682209, 0.0064118276, -0.0111281043, -0.0234399159, 0.0087515078, 0.0183038246, 0.0392093658, -0.0237437934, -0.0198207907, -0.0969833434, -0.0441999361, 0.0025282039, -0.0701853782, -0.0300547853, -0.0423228964, 0.0031325761, 0.0232974943, -0.0440384932, -0.0157053228, 2.848916859e-34, 0.0415512435, -0.009844522, 0.0046889298, 0.0046030884, 0.0207363702, -0.0429872684, -0.0126466081, 0.0078643244, 0.0112697817, -0.0980693325, -0.0382131897 ]
http://arxiv.org/abs/2401.06947v1
http://arxiv.org/pdf/2401.06947v1
Parameter-Efficient Detoxification with Contrastive Decoding
2024-01-13T01:46:20
2024-01-13T01:46:20
Tong Niu, Caiming Xiong, Semih Yavuz, Yingbo Zhou
cs.CL
cs.CL, cs.AI
The field of natural language generation has witnessed significant advancements in recent years, including the development of controllable text generation techniques. However, controlling the attributes of the generated text remains a challenge, especially when aiming to avoid undesirable behavior such as toxicity. In this work, we introduce Detoxification Generator (DETOXIGEN), an inference-time algorithm that steers the generation away from unwanted styles. DETOXIGEN is an ensemble of a pre-trained language model (generator) and a detoxifier. The detoxifier is trained intentionally on the toxic data representative of the undesirable attribute, encouraging it to generate text in that style exclusively. During the actual generation, we use the trained detoxifier to produce undesirable tokens for the generator to contrast against at each decoding step. This approach directly informs the generator to avoid generating tokens that the detoxifier considers highly likely. We evaluate DETOXIGEN on the commonly used REALTOXICITYPROMPTS benchmark (Gehman et al., 2020) with various language models as generators. We find that it significantly outperforms previous approaches in detoxification metrics while not compromising on the generation quality. Moreover, the detoxifier is obtained by soft prompt-tuning using the same backbone language model as the generator. Hence, DETOXIGEN requires only a tiny amount of extra weights from the virtual tokens of the detoxifier to be loaded into GPU memory while decoding, making it a promising lightweight, practical, and parameter-efficient detoxification strategy.
[ 0.0282787178, 0.097038649, -0.0052999365, 0.0076334681, -0.0117225517, 0.0173053537, -0.0042133322, 0.0210025348, 0.0099458657, -0.0248946473, -0.0108829802, 0.0218700711, -0.0154204732, 0.0505283922, 0.0128765851, -0.031580057, 0.032842949, 0.0099287936, -0.0001159644, -0.0022985344, 0.0028101548, 0.0358262062, 0.0278186575, 0.0330274887, -0.0023146267, -0.0413553342, 0.0032583757, 0.0415386744, 0.0107281934, -0.0446747802, 0.0181070622, 0.0397282541, -0.0252191238, 0.0456968918, 0.0000022529, -0.0051722629, -0.0253129881, 0.008653271, -0.0030864503, 0.000249487, 0.0612321422, 0.0047683129, -0.0194293, 0.0439624675, -0.0313873217, -0.0288829636, 0.0636689886, 0.0282321833, 0.0768960714, 0.0786391124, -0.024503421, 0.0065753008, 0.0011558806, 0.0012277582, -0.0157195684, 0.0587730445, 0.0095537649, -0.053576719, -0.0249326862, -0.005662547, -0.0220333468, 0.0368185453, 0.0317944139, 0.0049769222, -0.0072189542, 0.0227331836, -0.0110107539, -0.0432254337, -0.0092561906, 0.052212961, -0.0627538711, -0.0413841754, 0.0213165656, -0.0123196896, 0.0043413579, -0.0612397268, 0.018664524, 0.015603113, -0.0274939761, 0.0408150665, 0.0366251245, 0.0298618954, 0.0163450185, -0.0015748221, 0.005597434, 0.0170843676, 0.0370908938, -0.0325103141, -0.0007877371, -0.007008316, -0.036659155, -0.0529388562, 0.0147633702, -0.0233597346, -0.0402034186, 0.006835945, -0.0693001747, -0.1042453796, 0.0288636517, -0.0505660512, 0.0195166022, -0.0063498449, -0.005858127, -0.0001757545, -0.0307075847, 0.0055217426, 0.0195445698, -0.0023483045, -0.0257894658, 0.0193016082, 0.0326270647, -0.0215744488, -0.051099766, 0.0271142051, -0.0180216152, -0.001423307, -0.0125249494, 0.0065685334, -0.0427016355, -0.006369316, 0.0087723918, 0.0751648173, -0.0622252338, 0.0211979765, 0.0155727118, 0.003007144, -0.0258622393, -0.0112457052, 0.0002610099, -0.056175001, -0.0002060768, 0.0463084355, -0.0142083736, -0.04332624, 0.0000129836, 0.090970628, -0.0364693888, 0.0010124937, -0.0246716142, -0.0464331843, -0.0135013964, -0.0327626206, -0.0199931636, -0.0474336557, -0.0204801243, -0.0163936187, -0.0117251575, -0.0930386558, 0.0288134832, 0.0305508617, -0.0280445199, 0.0342589766, -0.0582966916, -0.0586850196, 0.0084900633, 0.0029091237, 0.0069142682, 0.0746014118, 0.0275667049, 0.0926457271, -0.0129913632, -0.0217496846, -0.0079173595, 0.0249188412, 0.0290980712, 0.0273086205, -0.0446985587, -0.0343173482, 0.0032017152, 0.0231908634, 0.0582129434, 0.0913023949, -0.0299249478, -0.001354613, 0.0735258907, -0.0215648059, 0.0082339477, 0.0598671027, 0.0496148653, 0.0301171113, -0.0506453551, 0.0329950191, -0.0341889709, -0.01381322, 0.0029751868, -0.0057823216, 0.0587181263, 0.0620011017, 0.0038433045, -0.0510594808, 0.0311318357, -0.0145203052, 0.0397076644, -0.0378744006, 0.0138680255, 0.065161787, -0.0948983803, 0.0042914306, 0.0402726382, -0.0589737333, 0.009907986, -0.0406871736, 0.0335120559, 0.0812278464, 0.0876639262, 0.0166454799, -0.0038251148, -0.0268315542, -0.0404242426, 0.0363001451, -0.020175362, 0.002220572, 0.0295801349, -0.054925032, -0.0226860046, -0.0135986041, 0.0053018425, 0.0092648743, -0.0086995875, 0.0173319988, 0.0092989663, -0.003416768, -0.0802864805, 0.0374030285, 0.0140679944, -0.0654982254, 0.0431260392, 0.0128329974, 0.0098755695, -0.0012021337, -0.0362150893, 0.0184993707, 0.0171709042, -0.0466401726, -0.0166077726, 0.012116408, -0.0403639302, -0.057221666, -0.0099067101, -0.0439661257, -0.0037436211, 0.052707281, -0.0144235231, -0.0297162402, 0.003975579, -0.0734990388, 0.0285904873, -0.0149216382, 0.0108193262, 0.0029034428, 0.0418726355, -0.0173909385, 0.0545931906, -0.0054961182, -0.01620874, 0.011705799, 0.0188819785, 0.0025463169, -0.0483862795, -0.0158727746, -0.0463028438, -0.004007942, 0.0075786575, 0.0472948588, 0.040930368, -0.0146282474, -0.0030010906, -0.0558744371, 0.0114739016, -0.0182103887, 0.0032297422, 0.025455296, 0.0116430772, 0.001839105, 0.0171187855, -0.0326804779, -0.0274114739, 0.0154187735, 0.0163518507, 0.0058206297, -0.0117371241, -0.0216349792, 0.0059264665, 0.0141590582, -0.0055229217, 0.0689232498, 0.0135372374, -0.0437895469, -0.0081970887, 0.0464253984, 0.0068423455, 0.0006627603, 0.0429279692, -0.066450119, 0.0134027414, 0.0174895916, 0.0497075059, 0.0600038692, 0.0461177118, 0.0349549986, 0.035300117, 0.0025776161, -0.0323184319, 0.0070651243, -0.0221051499, 0.0115261637, 0.0117709953, -0.0793525949, 0.0507694185, 0.0694359392, 0.0384227782, 0.0074220519, -0.0566174872, 0.0529173389, -0.0032634865, -0.0522138141, 0.0369910523, -0.0168904681, -0.0151155917, -0.0159488488, -0.031960357, -0.0594618805, 0.0555879399, -0.0142773362, 0.0313221142, -0.0407355241, 0.0108633414, 0.0276463069, -0.011511026, -0.0000869, 0.0564716384, 0.0641499534, -0.0079274578, 0.0027811825, 0.0154817225, 0.0301219951, -0.023977533, -0.0266235471, -0.0412595794, -0.0173119307, 0.0049507306, -0.044710923, -0.0380216204, -0.0328477956, 0.0393945128, -0.0152241644, 0.0655417517, -0.0269384775, -0.0017822945, 0.0076057245, -0.0177750643, -0.0017281323, -0.0258202124, -0.0046471874, 0.0001075467, 0.0274641681, 0.052429188, -0.0599635318, 0.0071066385, -0.0089852642, 0.038958367, 0.1097410694, -0.0151911583, 0.0096434848, -0.027414782, 0.0122154988, 0.0145229511, 0.028463956, -0.0327256806, 0.026140403, 0.0171646755, -0.030330684, -0.0386492983, 0.0656482503, 0.0135224247, -0.029734008, 0.0400629677, 0.027164232, 0.0661658645, -0.0103499889, 0.0028174678, -0.1006721109, -0.0386833362, 0.0041898964, 0.0498115048, -0.06306196, -0.0176503249, -0.0140111363, -0.0799218118, 0.0263886433, 0.0295537692, -0.0062198988, -0.017281726, -0.0089599434, -0.0348690562, -0.0204051565, 0.0062142424, -0.0160067994, 0.0155437551, 0.005127097, 0.0293534491, -0.0117560476, -0.0181337651, -0.0553667918, -0.0174535736, 0.0269740745, 0.0592451133, 0.0335475467, 0.0031440826, -0.0048377346, -0.0225323103, -0.0342970192, -0.0211671256, -0.0268810969, 0.0605093613, -0.0070409244, -0.0154478168, -0.0487581231, 0.0511379316, -0.0159790087, -0.024010485, -0.0006021985, 0.0447287075, -0.0053102239, -0.0414607637, -0.0222090408, -0.0033055337, 0.0466924943, 0.0819064602, 0.0372146294, -0.0695401207, -0.0678119734, -0.0618857183, 0.007855935, -0.0941753909, -0.0107658915, -0.0453902408, -0.039118275, -0.0665550902, -0.1039808914, -0.0032934686, 0.0063113053, 0.0462348424, -0.0111788381, -0.0160099771, -0.0512503535, -0.0259483494, -0.0418856628, 0.0177024528, 0.0172622614, 0.010623401, -0.0589160547, -0.0343962125, -0.0154323466, 0.0002379096, -0.0081181228, 0.1073945165, -0.0461527072, -0.0701242983, 0.0414115675, 0.0631811246, 0.0169694852, 0.0256765708, -0.0129162967, -0.0411775187, 0.0724228397, 0.104244709, -0.0200385731, 0.0091860071, 0.0433371589, -0.0248566493, 0.0047920803, 0.0134790745, -0.0246294271, 0.0058679418, 0.057735119, 0.0268427171, -0.0389024206, 0.0334336981, 0.0399617702, 0.0250680149, 0.0044036242, -0.074176982, -0.0001894258, -0.0049571125, 0.0047231014, -0.0258503892, -0.0293695629, -0.0338461958, 0.0380273871, 0.0248140916, 0.005139119, -0.0154130524, 0.0369775705, -0.0191971641, 0.0148000261, -0.0371083096, -0.0100110294, 0.0205543824, 0.0294377208, 0.0723634884, -0.0112130754, -0.0119595164, 0.0275665112, -0.0077128038, 0.0089966413, -0.0337016396, 0.0008682249, 0.0244061872, 0.0124600166, -0.0042681969, 0.0614190251, 0.014665354, 0.0109660635, -0.0806339085, -0.0181798022, 0.0197787229, 0.0095212199, 0.0440410189, -0.0431864969, 0.0049372935, -0.0098002683, 0.0286814794, -0.0025203375, -0.0483032763, -0.0285165831, -0.0176563598, -0.0433949791, -0.0446642861, 0.1007883474, 0.0384685658, 0.0553321466, -0.0039162533, -0.0077747111, -0.036705371, -0.0345996805, 0.0151776597, 0.0098653361, -0.0134297945, -0.0084605841, -0.0406542234, -0.078861475, 0.0181340482, 0.0004404068, 0.0285850298, 0.0054853298, 0.0319742858, -0.0053188056, -0.0135347052, -0.024397241, -0.0178347826, 0.0406974442, 0.0280835833, -0.035568729, -0.0356690623, -6.390309083e-33, -0.007161147, -0.0316106007, -0.0317216553, -0.0464634039, 0.0187806226, -0.0132189784, -0.0353723206, -0.0263001341, 0.0498004407, 0.0271390937, 0.0048701679, -0.0222465359, 0.0108735571, 0.0322479494, -0.0410857871, 0.0260247663, 0.0614523217, -0.0170774721, -0.0525740124, 0.0594330467, 0.0647317916, 0.0422193334, 0.0017687638, -0.0456805117, -0.0337681808, -0.0177258924, -0.0439327098, -0.0241894722, -0.0066242106, 0.0219200384, -0.020565927, 0.0350608602, 0.0098649617, -0.0342272632, -0.0215885174, 0.0397154652, -0.0434135981, -0.0175700374, 0.0220127068, -0.0168123096, -0.054793559, -0.0735314041, 0.0650687292, 0.0212811157, -0.0082608378, 0.0180747211, -0.0005545904, -0.023431519, -0.0041901451, -0.0612819456, -0.0509977378, 0.0245076492, -0.0144091016, -0.0047636023, 0.0061933352, -0.0037676494, -0.0033700555, 0.0005701447, -0.0307571944, 0.0043488271, 0.0214297082, 0.0260153804, 0.0433904789, 0.0282460637, 0.0182284471, 0.07151144, 0.0082872463, 0.0399377197, 0.0093108146, 0.0584880486, 0.0164712165, 0.0205841791, 0.0256876685, 0.036849115, 0.0589820482, -0.0483209789, -0.043460004, 0.0442369096, -0.0030364122, 0.0036872979, 0.0164171811, 0.0038378898, 0.0052439682, -0.0457845852, -0.0485659949, -0.0399487019, -0.0088285645, -0.0226000585, 0.0297675263, 0.0184470918, -0.0638501793, -0.0218409859, -0.0136336926, 0.0000476592, 0.0203157943, 0.0386266522, -0.0268434118, -0.0016936221, -0.021038577, 0.0003063317, -0.0114409337, -0.0133867273, 0.0553680994, -0.0178544167, 0.0300229285, 0.0079635549, 0.029359797, 0.0192509629, -0.0742717609, 0.0097973067, -0.0479188636, 0.0540129058, 0.0499601476, 0.0158118922, 0.0020210075, 0.0005938845, -0.0009672016, -0.0059499969, 0.03931766, 0.0421099626, -0.0299891531, -0.0240126494, 0.0135748032, 0.0325504243, -0.0317032076, -0.0167215448, -0.0103526972, 0.0019631349, 0.0356028527, -0.1027537584, -0.0282396991, -0.0029573743, 2.958e-7, 0.020723436, 0.0183014441, 0.0581238046, 0.0032729404, 0.0181387905, 0.0385786183, 0.0402952582, 0.0394764096, -0.0298059918, -0.0065559871, -0.0234061442, -0.0025894397, 0.0360243469, 0.0391477272, -0.0704461932, 0.0743300542, -0.0789729804, 0.0055287275, -0.0682389066, -0.0233022142, 0.0395773314, 0.070205465, -0.0104641523, -0.0433061905, 0.0387458205, 0.0093027093, 0.0261128843, -0.0035330197, -0.0140227526, 0.0116733145, 0.0403680466, -0.0358998552, -0.0039339866, -0.0099399174, -0.0304948576, -0.049756635, -0.017846847, 0.0436996929, 0.0098666167, -0.0317889489, 0.0406835079, -0.0387573913, 0.0046301219, -0.0000537125, 0.0752311274, 0.0187615063, -0.0174919665, -0.0478058234, -0.0627206489, -0.0058238828, -0.000183498, -0.0567337982, -0.0431052558, 0.0297407191, 0.0065845544, 0.0300963651, -0.0081862109, -0.035742376, -0.0440912545, -0.0394299924, -0.0408318527, -0.067223385, -0.0640800372, 0.0589501448, 0.0192294624, -0.0608836301, 0.0266875569, 3.225328287e-34, 0.0296762306, -0.0396145247, -0.0009620143, 0.0003003308, 0.0404628478, -0.0061033079, 0.0201075505, 0.0196114108, 0.0250819307, -0.0464256033, -0.0098994412 ]
http://arxiv.org/abs/2401.06945v1
http://arxiv.org/pdf/2401.06945v1
Knowledge-Centric Templatic Views of Documents
2024-01-13T01:22:15
2024-01-13T01:22:15
Isabel Cachola, Silviu Cucerzan, Allen Herring, Vuksan Mijovic, Erik Oveson, Sujay Kumar Jauhar
cs.CL
cs.CL
Authors seeking to communicate with broader audiences often compose their ideas about the same underlying knowledge in different documents and formats -- for example, as slide decks, newsletters, reports, brochures, etc. Prior work in document generation has generally considered the creation of each separate format to be different a task, developing independent methods for generation and evaluation. This approach is suboptimal for the advancement of AI-supported content authoring from both research and application perspectives because it leads to fragmented learning processes, redundancy in models and methods, and disjointed evaluation. Thus, in our work, we consider each of these documents to be templatic views of the same underlying knowledge, and we aim to unify the generation and evaluation of these templatic views of documents. We begin by introducing an LLM-powered method to extract the most important information from an input document and represent this information in a structured format. We show that this unified representation can be used to generate multiple templatic views with no supervision and with very little guidance, improving over strong baselines. We additionally introduce a unified evaluation method that is template agnostic, and can be adapted to building document generators for heterogeneous downstream applications. Finally, we conduct a human evaluation, which shows that humans prefer 82% of the downstream documents generated with our method. Furthermore, the newly proposed evaluation metric correlates more highly with human judgement than prior metrics, while providing a unified evaluation method.
[ 0.0365304016, -0.0198321082, 0.0104842475, -0.0196581613, -0.0286244899, 0.0352013297, -0.0328226611, 0.0165773351, 0.0243045893, -0.054227218, -0.0615477972, 0.0098401597, -0.0127802212, 0.042129267, -0.0098273009, -0.1013452932, -0.0304850936, 0.0018096942, 0.0286514238, 0.0076510711, 0.0278301369, 0.0273006354, 0.0026170537, 0.0061460836, -0.0132095739, -0.0269822609, -0.0360732153, 0.0109890206, 0.0216921214, -0.0203760099, 0.0003849978, 0.0197068322, 0.0373959541, -0.0081056068, 0.0000022223, -0.0042416076, 0.0050831973, -0.0000377261, 0.0215657428, -0.0053518866, 0.0648640394, -0.0035005289, 0.0166772697, -0.022342898, -0.0550979525, 0.0144381477, 0.0003767094, 0.0577704459, 0.0310542416, 0.0606519766, -0.0312453657, -0.0173524432, 0.0076921773, 0.0055109491, 0.0568217076, 0.0034118628, -0.0448698141, 0.0290761366, 0.0467460752, 0.0094075454, 0.0422506891, 0.0204712022, 0.0126415435, -0.0472057201, 0.0348224677, 0.0336326323, 0.0327936709, -0.0276053939, -0.0161678363, 0.0610581897, 0.0357062891, -0.0076389662, 0.053839352, -0.0233460777, 0.0124184173, 0.026337618, -0.0819168091, 0.0335452743, -0.0147049241, -0.0044366913, 0.0473431312, 0.039565865, 0.0126866018, 0.0198066812, 0.00930457, 0.0252420958, -0.012289172, -0.017160492, -0.0006654445, 0.0146550601, 0.0533660389, -0.0953393057, -0.0114993481, 0.0534242876, 0.0058681299, -0.0106730564, -0.0379120782, -0.0357596986, 0.0364840254, -0.0647552609, 0.0493013263, -0.0039657801, 0.0089541627, 0.0420793742, -0.0186216421, -0.0022164814, -0.0262126923, 0.0036159162, -0.022458883, 0.0153128803, -0.0406310819, -0.0039945869, 0.0248958673, 0.0739204958, -0.0286468286, -0.0345350802, -0.0274470542, 0.0713725686, -0.0241654981, 0.0454074331, -0.0033854849, 0.0418759808, -0.05429212, -0.0027234389, -0.0042390777, 0.0072533032, -0.0268925093, 0.0046956688, 0.0114412131, -0.0084687332, 0.0450721756, 0.0584675558, 0.0011865573, 0.0295245722, -0.0212414823, 0.0481017232, -0.024473682, 0.0097165983, -0.0659376904, -0.0667889938, 0.0370865576, -0.0372229777, 0.0226997025, -0.0794125721, 0.0203917157, 0.0345317721, -0.025071891, -0.0497303233, -0.0157065801, -0.0094014704, -0.0108640501, 0.0004138056, -0.0082186656, 0.0055591455, 0.0781566948, 0.030852735, -0.0291099027, 0.058099322, 0.0484487675, 0.0879278332, 0.0281477813, 0.0365996808, 0.0394447446, -0.0032344295, 0.0000462168, 0.0120460987, 0.0189834796, 0.0212671757, -0.0310855992, 0.0139918514, -0.0307658035, 0.0301780924, -0.0330712497, 0.0758099407, 0.0556081571, 0.0003423978, 0.020714391, 0.0344392397, 0.0755835399, 0.0259709042, 0.0136867473, 0.0453075022, 0.0177900232, 0.0786657333, 0.0093639651, 0.0231503397, 0.0135386689, -0.0172186308, -0.0340984128, -0.0742939636, -0.007455593, -0.0090712495, -0.0009610532, -0.0180581193, -0.0005922724, 0.0157852322, -0.0505285859, 0.0266318768, -0.0096960953, -0.0685156658, 0.0178935882, 0.0366732031, 0.0438218489, 0.0726985186, 0.0417012572, -0.0205420684, -0.0153782871, -0.0196382273, 0.0050748023, 0.048445031, 0.0864274278, -0.0418164544, -0.0209398493, -0.0715649351, -0.0209176429, -0.068871513, -0.0079168761, 0.0474912226, -0.0086787315, 0.0175601486, 0.0464077778, -0.0455609895, -0.0621480308, 0.0457288437, -0.0421490707, -0.0260997843, 0.008696327, 0.0116763152, 0.0409667976, 0.0373641849, -0.0103618372, 0.0149246566, 0.0311811119, -0.0238894597, -0.0248571094, 0.0271001402, -0.0434477329, 0.0143770296, -0.0115380418, -0.0838416889, -0.0063723037, -0.0367606543, -0.0332652666, -0.0535845049, 0.0200370438, -0.0142126521, 0.0184246972, -0.0216007102, -0.0140465004, 0.0342055373, -0.0368102342, -0.0084638195, 0.0634952858, 0.004326473, -0.0166756175, 0.0700123683, -0.0489112213, 0.0018182192, -0.0123814661, 0.0251705199, 0.012521171, 0.0209642034, -0.0164840613, 0.0385502614, 0.0207366925, -0.0108847152, -0.0553070381, -0.1092136204, -0.0328776464, -0.0175243355, 0.0133595476, 0.042070616, -0.0077560539, -0.0022103444, 0.0155548006, -0.066407986, -0.0282625649, 0.0042292653, -0.0177414957, 0.0395128578, 0.0417047441, 0.045337379, -0.0225209277, 0.02881933, 0.0056663356, 0.0284413956, 0.0864114016, -0.0200811643, -0.056250453, 0.0296592526, -0.0259107407, -0.0342209749, 0.0030656867, 0.0274723712, 0.0284326877, -0.0195596833, 0.0227859933, 0.0250466, 0.0127197187, 0.0633002073, 0.035513293, 0.0029142878, -0.0651690438, 0.0013429351, -0.0321496129, 0.0699438229, 0.0046031447, -0.0820832923, 0.0593043119, -0.0012644469, 0.023663532, 0.026456831, -0.0463959873, 0.0248737019, -0.0045650029, -0.0330606215, -0.0158914961, -0.0550729781, 0.0073233866, 0.0426373035, 0.0022481107, -0.040729925, 0.0391646959, -0.0236583557, 0.0330318436, -0.0307699516, 0.0051472243, -0.05627748, 0.0329297185, -0.0394842625, 0.023119498, -0.0299946871, 0.0155169135, -0.052756276, -0.0287685916, 0.0429439768, -0.0056496826, -0.0068711736, -0.0546042211, -0.0236926395, 0.0025918984, -0.0211800281, -0.0128336493, 0.0015165082, 0.0204424914, 0.0260315984, 0.0433849692, -0.0067733401, -0.0466108173, -0.0152134178, 0.0596611127, 0.0345394611, 0.0043418319, -0.0276121385, -0.005962092, 0.0477489494, 0.0144008091, -0.0485272631, -0.004753334, -0.0619032457, -0.0052275285, 0.0534180291, 0.0157189909, 0.015326553, -0.0062020048, -0.0098061394, 0.0032742198, -0.05359089, -0.0283466373, 0.0065957601, 0.0109898234, -0.0264128018, 0.0190476179, 0.105643861, 0.0477041379, -0.0619893968, -0.012286731, -0.0364300087, 0.0252734888, -0.000334863, 0.0487423278, -0.0672693178, 0.029857764, -0.0030010899, 0.0679021031, -0.0197940897, -0.0243086349, -0.0190739091, -0.0185447671, 0.0524307974, 0.0175669622, 0.0315357968, 0.0351901464, -0.0275325757, -0.0108661791, 0.0405014381, -0.0819827765, 0.015650345, -0.025750028, 0.0137099931, 0.0039021573, -0.0579954386, -0.0313106254, -0.0202161763, 0.0028164408, -0.0031383112, 0.0446776338, 0.0686454698, -0.0009239827, -0.0537395813, -0.0030512137, 0.0141083905, 0.026474148, -0.0243864954, 0.0077485479, -0.0183034092, 0.0322152562, -0.0226730872, 0.0487489589, -0.0056404169, -0.0219257716, 0.026447976, 0.025335541, -0.057409659, -0.031263873, -0.0459607691, 0.0010392455, 0.0308826733, 0.055156108, 0.031437885, -0.0262621008, -0.0458112173, -0.0339065567, 0.0301559549, -0.0489191562, 0.0130482456, -0.0241243541, -0.0563045144, -0.0009861735, -0.1068010703, -0.0360871889, -0.0039747008, 0.0237747859, 0.0333849005, -0.0386618003, -0.0218993574, -0.0482643582, -0.0353154689, -0.040713191, 0.0285823233, -0.0207607672, -0.0533438101, -0.0471837409, 0.0049275523, -0.0476362631, 0.0065160072, 0.0299104061, -0.0295077004, -0.0406558774, 0.0071894866, 0.0393720232, 0.0212237388, 0.0376810431, 0.0385854952, -0.0353993773, 0.0972427502, 0.0657853559, -0.0339291804, 0.0190644134, 0.018587403, 0.0240613334, -0.0064425101, -0.003534673, -0.1012561917, 0.0114243049, 0.009104589, 0.0121920193, 0.0071057021, 0.0136884227, -0.0068212715, 0.0249579567, -0.0730901137, -0.0501796864, 0.0154405255, -0.0301648024, -0.0107485559, -0.0277442932, -0.0319449529, -0.0358193703, 0.0304162838, -0.0175546426, 0.0173294656, 0.0034996578, 0.0851381868, -0.023374334, 0.0398826562, -0.0613303073, 0.038690336, -0.0077896565, 0.0028673941, -0.0218243189, -0.012687007, -0.0666719377, 0.055886358, -0.0599055439, 0.0234080199, 0.0144248176, 0.043269176, 0.0265755728, 0.010675611, -0.0032961646, 0.0419516005, -0.0756288245, -0.0748381689, -0.048768796, 0.0329159647, 0.0049141231, 0.012010606, 0.0453431383, -0.0878658816, 0.0095977727, 0.0105939349, 0.0392257571, 0.0336050354, -0.0323482342, -0.0358447582, 0.012276493, -0.0031585936, -0.0230573155, 0.0908365771, -0.0376125611, -0.0110511603, -0.0384275652, -0.0405860879, -0.0751268268, -0.0188569017, 0.0565397665, 0.0051521445, 0.0023517306, -0.0448271781, -0.057868015, -0.0115833823, 0.0656702667, 0.0359316878, -0.0087644849, -0.0223003216, 0.046923209, 0.0591047704, 0.0089812065, 0.0078123296, -0.0570139103, 0.0200783927, -0.0401631296, -0.0323203988, -0.0122033525, -6.270224253e-33, -0.0123656718, -0.034613058, -0.0087481402, 0.033164151, 0.0159758143, 0.0057307058, -0.0352680273, -0.0150955906, 0.0450927094, 0.0234020241, -0.0056566941, -0.0363153815, 0.0089134425, -0.017817894, 0.0117999408, 0.0203349814, 0.0498860665, -0.0035854564, -0.0513014756, 0.052947294, 0.0493132919, -0.0034321537, 0.0072112181, -0.0990709737, 0.0728611797, -0.0394734591, -0.0243554916, -0.0510777049, 0.0368363298, 0.0316979177, 0.0073284656, -0.0195032991, 0.0229525324, -0.019237265, -0.0234253332, 0.0098012406, -0.0299847368, -0.0424652398, 0.0319311842, -0.0248666517, -0.0655164942, -0.0540396646, 0.0516247228, -0.0104708476, -0.0202493723, 0.0059578484, 0.0571345575, 0.0132306349, -0.0015871776, -0.0936117992, -0.0227861349, 0.0152462795, -0.0341895185, 0.002279669, 0.0073466101, 0.0486554131, 0.0002605016, 0.0091101071, -0.0916148052, 0.0400964506, 0.0205601528, -0.0017828479, 0.0750474483, -0.047572121, 0.0143232131, 0.0359156653, -0.012940147, 0.0370342806, -0.031184122, -0.0208018199, -0.0317452215, 0.0680400729, 0.0149395233, 0.0335820392, -0.0051788618, 0.0033346326, -0.0183672123, 0.1095267758, 0.0059802285, 0.0057495381, 0.0161130298, -0.004291221, -0.0216835923, -0.0115740038, -0.021186268, -0.0152779119, -0.0038107636, -0.0300969929, 0.0051304735, 0.0117878392, -0.0135232992, -0.0399054959, 0.0018611773, -0.0117060142, 0.0019932778, 0.0183172449, -0.0415179916, 0.041499082, 0.0146261128, -0.0602465421, -0.0332877114, -0.0299167205, 0.0171297211, 0.0357138366, 0.0142480331, 0.0232496634, 0.037860021, 0.0424211435, -0.0272444431, -0.0087839998, -0.0059165955, 0.0304431524, 0.0159275308, -0.0442541242, 0.0066141817, -0.0104690976, -0.0228787605, -0.0139799807, -0.0087454356, 0.0157088302, 0.0005357506, -0.024718808, 0.0066025807, 0.0350894742, -0.0308233537, -0.0138496831, -0.0174315795, -0.0059734494, 0.0452646539, -0.0189523734, -0.0185527969, 0.0109224226, 2.934e-7, 0.0257177893, 0.0128360223, 0.0108181946, 0.0046334597, 0.0287696365, 0.0378786139, 0.0116687892, 0.0314506814, -0.0411342978, -0.0136284679, 0.0463994555, 0.0131082647, 0.0402612686, 0.0542678311, -0.111025095, -0.0057549533, -0.0632329136, -0.0346382298, -0.0416372754, -0.0055432385, 0.0582600795, -0.0588243827, -0.0142011419, -0.0252792649, -0.0070645018, 0.0183391329, 0.0788497403, -0.0313188508, 0.0305647068, 0.0217237212, 0.06222919, -0.0295623131, -0.0147386594, -0.0054661743, -0.0337064154, -0.0227965433, -0.0121006994, 0.0270404629, 0.0274237599, -0.0044042389, 0.0333793126, -0.002467107, 0.0295244902, -0.0813300014, 0.0211463869, -0.0383496173, -0.0263448674, -0.018038189, -0.0430375263, 0.0038111359, -0.0117523726, -0.0167186707, 0.0204516351, 0.0500336662, -0.0151040833, -0.0239022952, -0.0050364127, -0.0331634395, -0.0241056681, -0.0207122024, -0.0150598856, 0.0128496075, -0.0552806109, 0.0153355459, -0.0064538005, -0.0425280221, 0.0046923738, 2.418904495e-34, 0.0209197365, 0.0001348926, -0.0415926687, 0.0035656756, 0.0499256849, 0.0209536683, 0.0005425766, 0.0246722512, 0.018953545, -0.0393604413, -0.0062670996 ]
http://arxiv.org/abs/2401.06935v1
http://arxiv.org/pdf/2401.06935v1
MiTTenS: A Dataset for Evaluating Misgendering in Translation
2024-01-13T00:08:23
2024-01-13T00:08:23
Kevin Robinson, Sneha Kudugunta, Romina Stella, Sunipa Dev, Jasmijn Bastings
cs.CL
cs.CL, cs.CY
Misgendering is the act of referring to someone in a way that does not reflect their gender identity. Translation systems, including foundation models capable of translation, can produce errors that result in misgendering harms. To measure the extent of such potential harms when translating into and out of English, we introduce a dataset, MiTTenS, covering 26 languages from a variety of language families and scripts, including several traditionally underpresented in digital resources. The dataset is constructed with handcrafted passages that target known failure patterns, longer synthetically generated passages, and natural passages sourced from multiple domains. We demonstrate the usefulness of the dataset by evaluating both dedicated neural machine translation systems and foundation models, and show that all systems exhibit errors resulting in misgendering harms, even in high resource languages.
[ 0.0292589068, 0.0590931028, -0.0367054455, 0.0414488427, 0.0094805639, 0.0271597132, 0.0646878183, 0.0003793679, -0.0114552183, -0.0109381601, -0.0013771926, -0.054215502, 0.0748551562, -0.0147601534, 0.0496687107, -0.0184106249, 0.0289575979, 0.0224181265, -0.0239709206, -0.0213872958, 0.0179566946, 0.058649037, 0.0382999815, 0.0599185117, -0.0129988026, -0.0391817875, 0.0400654115, 0.07838016, 0.0246845987, -0.0013043849, 0.041036468, 0.0190444719, -0.0046583056, 0.0938855186, 0.0000016536, -0.0600033291, 0.0178669561, 0.0184246339, -0.0014571655, 0.0019175332, 0.0518266335, -0.0550354421, -0.0368864946, 0.0130758891, 0.0110838478, -0.0175788328, 0.0851827264, 0.0262129456, 0.0644063428, 0.0476056412, -0.0100284265, -0.0173463318, -0.0475316234, -0.0445225239, -0.0013654121, -0.0148413023, 0.0164704975, -0.0294774212, -0.0777392536, -0.0070695966, -0.0358449481, 0.0310132783, 0.0078878645, -0.0159888826, -0.0324803106, -0.0036995641, -0.0079971841, -0.0527726859, 0.0323186591, 0.0870107338, -0.0239724293, -0.0059659998, -0.0066601168, -0.0067525022, -0.0115006473, 0.0043748342, 0.0050094114, 0.0235513113, -0.0277820732, -0.0088106683, -0.0072778324, -0.010144054, 0.0429645032, 0.0364374071, -0.0085151596, 0.0146615319, 0.0315559879, -0.0379907452, -0.0001552105, 0.001006081, 0.0155066643, -0.0432307459, 0.0453371555, -0.0214325078, 0.0077735796, 0.0216943007, -0.0417905152, -0.0782482177, 0.0326199196, -0.0565159097, 0.0418500379, 0.0534931011, -0.0165073257, 0.0197340958, -0.0179270487, 0.0419182628, -0.0023313612, 0.0091667483, -0.0350441374, -0.0147310169, 0.0284687076, 0.0089857774, -0.0356752798, -0.0438174419, -0.0515997484, 0.057272248, -0.035675332, -0.0149136148, -0.0226300582, 0.0108447568, 0.0238494761, 0.0131155588, -0.0636269972, -0.0056209392, -0.0117281666, -0.0029980089, -0.0484605581, 0.0056200512, -0.0311314128, -0.0557398535, -0.0013735888, -0.0102388998, -0.0327363759, -0.0509123132, 0.0110575166, 0.0615855791, 0.0201261975, -0.038191881, -0.0049609086, -0.0176616143, -0.0350344554, -0.0323246196, -0.0062642819, -0.0450503156, 0.0539965853, -0.0101860613, 0.0069421451, -0.0893154293, 0.0141445482, 0.0156479571, -0.027228862, 0.0741387829, 0.0202799011, -0.0066774553, 0.048444394, 0.0117921522, -0.0285867881, 0.0715577453, 0.067271851, 0.0158702023, 0.0426510349, 0.0024959256, -0.0143466601, 0.0606212765, 0.0329020098, 0.016043745, -0.0219046324, 0.011166743, 0.0041246945, 0.0694437176, 0.0618138798, 0.0344109349, 0.0045767524, -0.0487626642, 0.0454848856, 0.0576624461, -0.0102698486, 0.090263702, 0.0408021137, 0.0061723865, -0.0106638772, -0.0169471148, -0.0507027283, -0.0272918828, 0.0308268797, -0.0405499525, -0.030730458, 0.0662575588, -0.0186178945, -0.0284932945, -0.002868508, 0.0152254878, 0.0401311219, -0.0360494964, 0.0321022011, 0.0639623106, -0.017205283, 0.04396924, -0.0008339269, -0.0654686168, 0.0229096487, 0.0030848344, -0.0206120722, 0.0724665076, 0.061334461, -0.0285788383, -0.0247240886, -0.04462751, -0.0198229719, 0.027773289, 0.0349620283, -0.0026853697, 0.0626947358, -0.0391338281, 0.013291073, 0.0536641628, 0.0250999909, 0.0439649038, 0.0093056699, 0.0470040515, 0.0294529907, -0.0411518179, -0.0775611922, 0.0520670749, -0.052957356, -0.0405184776, 0.0235317368, 0.0100961514, 0.0097291451, 0.0145036085, -0.0573963635, -0.042294573, 0.0073460788, -0.0243964493, -0.0219109692, 0.0441875271, -0.0436308458, -0.0105625745, 0.0277675986, -0.0845153853, -0.0565259047, 0.0450431518, -0.0522862561, -0.0223359689, 0.0322932936, -0.0430854522, -0.022058446, -0.0361000039, 0.0035426931, -0.015329144, 0.0286104959, -0.0146299796, 0.0017726225, -0.0149959512, 0.0137341013, -0.0041784979, -0.0339358672, -0.0076335254, -0.0312158223, -0.0533178337, 0.0305745061, -0.0169840846, 0.0262175072, 0.0002676726, 0.0350304432, -0.0055045825, -0.0148131829, -0.0242650118, -0.0136494832, -0.0009244211, 0.0057903323, 0.0091509195, 0.0420155898, -0.0181073472, 0.0107153459, 0.0024510117, -0.0246821865, 0.0226591583, 0.0027169604, 0.0224827677, -0.0249998588, 0.0042631915, -0.0231570583, -0.0193086583, -0.0243459493, 0.057222452, 0.028408099, -0.0035305568, -0.0643791184, 0.0145617183, -0.0322009437, 0.0067842184, 0.0043797097, -0.0746446773, 0.0066852542, 0.0250870548, 0.0257211812, 0.0374586359, -0.0070900884, 0.0339744911, 0.02725555, -0.025507981, -0.0284329634, -0.0084628593, 0.0140790381, -0.0077134818, 0.014482378, -0.0787978172, -0.0267365724, 0.0058527226, 0.0228376854, -0.0307068955, -0.0602398925, 0.0343600065, -0.0364192165, -0.0446823537, -0.0054883431, -0.026669018, 0.0046736193, 0.0539498217, -0.0323493592, -0.0059292614, 0.0609618463, -0.0229772329, -0.0363247357, -0.0081980675, 0.0241905786, -0.0264555234, 0.0381563939, -0.0250987522, 0.0569990724, 0.01657179, -0.0487009548, -0.0309750363, 0.0032078084, 0.0414755568, -0.0362317935, 0.0476739965, -0.047129713, 0.0055900989, -0.0127374539, -0.0167816412, -0.0425632484, -0.0192216523, 0.0200764649, -0.031706132, -0.0036085115, -0.0373127759, -0.0109540951, 0.0156523101, -0.042093426, 0.0341714658, -0.0114179198, -0.0043924176, -0.0149785131, -0.0041278945, -0.0396362767, -0.0243809056, 0.0277785882, -0.0248032156, 0.0141602634, 0.0157344341, -0.024090711, 0.0066354563, -0.0216257926, -0.0090889027, 0.0284898523, -0.0127758682, 0.0167439599, -0.0571629517, 0.0513285957, -0.0692813173, -0.0261367001, 0.0737139136, 0.0003204903, -0.051969517, 0.0172658209, -0.0228995625, 0.0095706321, 0.0230173226, 0.0045991517, -0.1050740331, 0.0115270102, 0.0297743846, 0.0544569343, -0.0082299309, -0.0406421162, -0.0090481685, -0.1073107049, 0.0067109773, 0.0381100364, -0.0723015517, -0.0715614185, 0.0154613703, -0.0087120207, -0.0309518334, 0.0324765854, -0.0125056943, 0.0216369946, -0.0272098482, -0.0232802406, -0.0016311934, -0.0721712112, 0.0038088434, -0.0473892726, 0.0410723276, 0.0088601205, 0.0789436698, -0.0241105743, 0.0100097684, 0.0191124789, -0.0438651778, -0.0339582488, -0.0172537509, 0.0489872433, 0.0009685287, -0.0326112695, -0.0173484161, -0.0021100049, 0.0283767711, 0.0068134866, 0.0041574617, 0.0182285253, 0.014391494, 0.0038045319, -0.0034850095, 0.0080834441, 0.0226137321, 0.0749126822, 0.0276722815, -0.0235455576, -0.0072515998, -0.0611814, 0.0144337537, -0.0226913504, -0.0480920002, -0.0043033948, -0.0094172982, -0.056003999, -0.0781771466, -0.0667925477, -0.0095018037, 0.0185177028, 0.0642736182, -0.0492041335, -0.0106893824, 0.0184250008, -0.0457914732, 0.0297089145, -0.0147581948, 0.0385320447, -0.0039547253, 0.0216013379, -0.0219184365, -0.0147262411, 0.0045744167, 0.0580551513, -0.0505451635, -0.0803107023, 0.0212260373, 0.0572800711, 0.0350346975, 0.0446091443, -0.0632511377, -0.0584393628, 0.0151021788, 0.0305881444, -0.0249916185, 0.0045281076, 0.047847338, -0.0000233142, -0.0132325366, 0.0477078892, -0.0031671368, 0.0093928995, -0.0173221882, -0.0095741013, -0.0233432651, -0.0457371622, -0.0128726065, -0.0006727279, -0.0264022872, -0.0642323494, -0.008014773, -0.0608279333, -0.011534051, -0.0188690536, -0.0181714892, -0.0147376545, -0.0047553102, 0.042243544, 0.0164760239, -0.003517299, -0.016870087, -0.0317135677, 0.0130532505, -0.0161856152, -0.0113042137, 0.0334635898, 0.0802352056, -0.0014143944, 0.046493765, -0.0092998268, 0.0057184855, -0.0467186421, 0.04505229, -0.004557949, 0.0318725631, 0.0163555499, 0.045271866, 0.0047918176, 0.014190386, 0.0113910725, 0.0035530641, -0.041049242, -0.0079437196, 0.0440017134, -0.0032118661, 0.1076821461, 0.0171137024, -0.0237497166, 0.0009599601, 0.0292200167, -0.0154310716, -0.014406709, -0.0078671109, -0.0016753115, 0.0201088283, -0.0038283225, 0.0278602261, 0.0133735938, 0.0372233056, 0.0311928093, -0.0492644012, -0.0156433061, -0.0081628151, -0.0168391801, -0.0685653836, -0.0108415345, -0.0298085958, -0.0967528224, -0.0808343813, 0.0095617566, 0.0126842335, 0.0388298593, 0.0179838948, -0.0067017013, 0.0689127967, -0.0049641458, 0.0166384894, -0.026395442, 0.0419054106, -0.0087184673, -0.0368484147, -0.0714589059, -5.249821688e-33, -0.0396279395, -0.0057990453, -0.0249175355, -0.0251674168, -0.0405996814, -0.0070492388, -0.0366413109, -0.0261681769, 0.0185643695, 0.0195017029, 0.0058884374, 0.0311336517, 0.0148958247, 0.0005219653, 0.007712347, -0.0177549124, 0.0902508572, 0.0251034889, -0.0437485129, -0.0008975928, 0.0477215387, 0.0235336367, 0.0782465115, -0.0835685879, 0.0876634046, -0.0354528278, -0.0514658242, 0.0213292055, 0.0176299047, 0.0148075707, 0.0117326351, 0.0484133363, -0.0082205357, 0.0139513528, 0.0199065339, 0.0384949446, -0.1105868965, -0.0032454359, 0.011910364, 0.0638357252, 0.026990056, -0.0352256708, 0.040283896, -0.0155695444, -0.0319712088, -0.0115010673, 0.0462314151, -0.0222134851, 0.0291756224, -0.0062793889, -0.0545549281, 0.0088853287, -0.0304361843, -0.0211835001, 0.002457137, 0.0770641416, 0.0020569465, -0.0309252515, -0.1233045608, -0.0185949337, -0.0256335773, -0.0331942961, 0.0321060903, 0.0069267424, 0.0087118521, 0.0171723925, 0.0366519429, 0.0317011811, 0.0037825585, 0.0005943027, 0.0492052324, -0.037350893, 0.0454495512, 0.0617867485, 0.0294190217, -0.0383916423, -0.0343247913, 0.0094274543, 0.0134473061, 0.0173311904, 0.02054918, -0.0287234467, -0.0452573784, -0.0407073088, -0.0286585726, -0.1110260114, 0.0024275554, -0.0157698374, 0.0109522175, -0.026544163, -0.0351832397, 0.004746628, 0.0092983339, -0.0535849147, -0.006143555, 0.0142587041, -0.0027149718, -0.0210239775, 0.0295555796, 0.0441218689, -0.0000063429, -0.0129774772, 0.0132156815, 0.0278688688, 0.0536746718, -0.0218332205, 0.0539950244, 0.0274392515, -0.0544640012, 0.0025654268, -0.0255785901, 0.0432228483, -0.0115223592, 0.0575633273, 0.0359018333, 0.013633946, -0.0302172452, -0.0134304697, 0.0738289803, 0.0515726246, -0.0545220822, 0.0243536942, -0.0053510163, 0.0342881344, -0.0421549752, -0.0132327732, -0.0176655333, 0.012740585, 0.0878684372, -0.0661143214, -0.0120153297, -0.0524615124, 2.388e-7, 0.0277904738, 0.0401733667, 0.0218868237, 0.0324817114, 0.0228470135, 0.031658031, -0.0129954945, 0.0545807481, 0.0334340222, 0.0219501853, -0.0001130601, 0.0175097678, 0.0573816635, 0.0604476817, -0.0500792861, -0.032468833, -0.049195569, 0.0537073836, -0.0137474798, -0.0040881727, 0.0044367784, 0.0887127519, 0.0615558326, -0.0380265638, -0.0113015743, -0.0140179424, 0.0451723337, -0.0184709877, 0.01759311, -0.0274914354, 0.0257219113, 0.0371071249, 0.0089476928, -0.0066877864, 0.0290809702, -0.009009921, 0.045286119, 0.0027609153, -0.01938143, 0.0558304936, -0.0060790665, -0.0247071814, -0.0256018024, -0.0490018874, 0.0307380725, 0.0159376115, -0.0104575539, 0.0154608013, -0.0075865397, 0.0183382593, 0.0791793838, -0.0402518548, -0.0448411107, 0.0394114219, 0.0420939289, -0.0140706906, 0.013979461, -0.0566821918, -0.0355519354, 0.0161088146, -0.008517649, -0.0211468861, 0.0253427625, 0.0165714975, -0.0138762807, -0.0319589004, 0.0128925601, 2.048308319e-34, 0.0281641018, -0.0216330662, -0.0058072419, -0.0309258737, 0.0265291166, -0.0219601039, 0.0320509784, -0.0109880613, 0.0004210852, 0.0261911061, -0.0217203125 ]
http://arxiv.org/abs/2401.06930v1
http://arxiv.org/pdf/2401.06930v1
PizzaCommonSense: Learning to Model Commonsense Reasoning about Intermediate Steps in Cooking Recipes
2024-01-12T23:33:01
2024-01-12T23:33:01
Aissatou Diallo, Antonis Bikakis, Luke Dickens, Anthony Hunter, Rob Miller
cs.CL
cs.CL
Decoding the core of procedural texts, exemplified by cooking recipes, is crucial for intelligent reasoning and instruction automation. Procedural texts can be comprehensively defined as a sequential chain of steps to accomplish a task employing resources. From a cooking perspective, these instructions can be interpreted as a series of modifications to a food preparation, which initially comprises a set of ingredients. These changes involve transformations of comestible resources. For a model to effectively reason about cooking recipes, it must accurately discern and understand the inputs and outputs of intermediate steps within the recipe. Aiming to address this, we present a new corpus of cooking recipes enriched with descriptions of intermediate steps of the recipes that explicate the input and output for each step. We discuss the data collection process, investigate and provide baseline models based on T5 and GPT-3.5. This work presents a challenging task and insight into commonsense reasoning and procedural text generation.
[ 0.0297253206, 0.0556262694, -0.0117013445, -0.0013663085, -0.0407626778, 0.0259491727, -0.0610669181, 0.0268392358, -0.0040912484, -0.0328706391, 0.0222637821, 0.0216869097, 0.0078088585, 0.0295038074, -0.0242875647, -0.0463716313, 0.0144932671, 0.0101335542, 0.0074535161, 0.0352889933, 0.0067946156, 0.0318993181, -0.0275523029, 0.0125207752, -0.0135849705, -0.0173257887, -0.0249793734, -0.0130827241, 0.0400847532, -0.0160250291, -0.0226966497, 0.0742503405, 0.0220373347, -0.0049648276, 0.0000017608, -0.001993594, 0.006203739, 0.0043337583, -0.0205338243, -0.0124135306, 0.017247865, -0.0162272248, -0.0180429276, -0.0044084275, -0.0391158275, 0.0728021562, 0.0468266644, 0.0578236543, 0.0449982472, 0.0523502529, 0.0034580652, -0.1237214878, -0.0361345261, 0.0216211043, 0.0488753244, 0.0202581901, -0.0075250519, 0.0048438283, 0.0429848172, 0.005918521, 0.0213311352, 0.015671622, 0.0462639704, -0.0006553849, -0.0784479529, 0.0664292648, 0.0153123811, -0.0222883485, 0.005138441, 0.0800010562, 0.045817975, -0.033896327, 0.0235384516, -0.0063289967, -0.0075059049, 0.0026334012, -0.0296175387, 0.0077941841, -0.0386882909, 0.046097666, 0.0366833732, -0.0055987034, 0.0176473353, 0.0065204916, 0.037701264, 0.0937157348, -0.0103338268, -0.0175937936, -0.0238805003, 0.0235791896, 0.0117092021, -0.0497598127, 0.0324344672, 0.0725246817, 0.004941944, 0.0286179334, -0.0039792378, 0.026667865, 0.0130377617, -0.0036122499, 0.0037806681, 0.0422917493, -0.016102206, 0.0218087863, 0.0016772151, 0.015392255, -0.0119827623, 0.0133139817, -0.0871378705, 0.0264167953, -0.0959577411, -0.0315042362, -0.0303850528, 0.0209138598, -0.0265287757, -0.0067627765, 0.0058198678, 0.001668754, 0.0079871798, 0.0039683888, 0.0511745252, 0.0527521819, -0.0464604162, 0.005082754, -0.0595145337, 0.0184185114, -0.0733038262, 0.0474132597, 0.0057177441, 0.0297262073, -0.0296896845, -0.0293940101, 0.0170587897, 0.0262630712, 0.000006908, 0.0095685711, -0.0271797013, 0.013799997, -0.0476341359, -0.0484980233, 0.0007506317, -0.0773242638, 0.0166672952, -0.0751326829, 0.0288075358, 0.0033825287, 0.0207082592, 0.0129818702, 0.0214988645, 0.047861658, -0.0539985448, 0.0575290434, 0.0391165838, -0.0334363431, -0.0022239324, 0.0497811027, 0.0087235607, 0.0173254404, 0.0384669043, 0.0019709675, -0.0121639036, 0.0016015591, 0.0137082078, -0.0292879809, -0.0074464167, 0.0088253794, -0.0130154528, 0.0106576541, -0.029780522, 0.0353056826, -0.0185670443, 0.0602005906, -0.0173606519, 0.0188902821, 0.0558269173, 0.069549717, -0.019217601, 0.0356378257, 0.0881881416, 0.0244607758, 0.0236373246, 0.0482776873, -0.0257278569, 0.0310590491, -0.0652746484, 0.0079725962, -0.0388196521, -0.0211431887, -0.0314723626, -0.0355362259, -0.0177691933, -0.018332744, 0.0732978433, -0.0575781986, 0.0234939065, 0.0274558607, -0.0349338613, -0.0074482057, -0.007771791, -0.046971444, 0.0134869954, 0.0088326596, 0.055800356, 0.0683209896, 0.0259924587, -0.0301136319, -0.0114052063, 0.0079183206, 0.002417489, 0.0147194546, -0.0252097566, -0.0293288641, -0.007891993, -0.0166668706, -0.0558445044, -0.0148470737, 0.0353323333, -0.0320175439, 0.0026751887, -0.0278017186, 0.0180040393, -0.0490414053, 0.0093132183, 0.0166885499, 0.0040224809, -0.0244291928, -0.0334287919, -0.0028028979, -0.0097401859, 0.019014813, 0.0320386738, 0.0246710144, 0.0079382323, -0.0306134671, -0.0246550329, 0.0809512809, -0.0009193548, -0.0351505913, 0.0093335267, -0.0543832779, -0.0079241684, -0.0348951928, -0.0509166494, -0.0572690964, 0.0127744507, -0.0314999633, -0.0144082764, -0.0342601649, -0.0419508778, 0.0677906051, -0.0397102088, 0.0132035259, 0.0958807021, -0.0246859696, 0.0048555424, -0.0096325641, -0.011057402, 0.01165995, -0.0187210012, 0.0638131723, -0.0257633105, -0.0058361818, 0.0226688217, 0.0034391843, 0.0851693973, -0.0617432818, -0.0149687948, -0.0533411838, -0.0027923931, -0.0391939953, 0.0058279829, 0.0169078819, -0.0101332422, 0.007328758, -0.0051529449, -0.0374211855, 0.0083438857, -0.013159412, 0.0079905083, 0.0154358102, 0.0229486097, -0.0147294626, -0.0095413914, -0.0094058951, -0.0137910005, 0.0217857398, 0.0385229513, 0.0695983544, -0.0626772046, -0.0573723502, -0.0319197513, 0.0080665462, 0.0159638785, -0.0493999086, 0.0065850578, -0.0036673797, 0.0179550108, 0.0203826856, -0.016837785, 0.0459599681, 0.0373918191, -0.0420326293, -0.0158508997, -0.0053214859, -0.0377404839, 0.0317543708, -0.023238916, -0.0629261434, -0.0092428206, 0.0551794432, 0.0201730411, 0.0480592586, -0.0739682168, 0.0214495491, -0.0055258675, -0.0137651004, -0.0127963759, 0.005465358, 0.0023392667, 0.0538790524, -0.0114052789, -0.023738917, 0.0840652585, -0.025223311, 0.0563472286, -0.0714591369, -0.0021542152, -0.0099448813, 0.0427810289, 0.0285552703, 0.0349294357, 0.0347919799, -0.0064413305, -0.0443259552, 0.0364230201, 0.0639051199, -0.0392478965, 0.0318708941, -0.1138423905, -0.0061445166, 0.0078163948, -0.0338423364, -0.0093078427, -0.004381327, -0.0028208434, 0.0392780341, 0.0232577175, -0.0089245774, -0.0496287644, 0.0020815115, -0.0030771724, 0.053191293, 0.0333207808, -0.0297742691, -0.030666912, 0.0344661772, 0.0358136296, 0.0018848215, -0.0199133139, -0.0131382709, -0.0072450084, 0.044722788, 0.0387923159, -0.0566897579, 0.0095045799, 0.070319511, 0.0159621984, -0.0236563813, -0.0367535912, 0.0519050732, 0.0134595344, -0.0565524846, -0.0662885308, 0.0781863779, 0.0482713841, -0.0232572667, 0.0201971661, 0.0188577939, -0.0281592403, -0.0138278017, 0.0306318421, -0.1261344552, 0.0023567046, 0.0041889246, 0.0127866492, -0.0565335639, -0.0366255939, -0.0145530608, -0.0892425105, 0.0676024482, 0.0035976942, -0.0983354226, -0.0734535679, -0.0468307361, -0.0243582781, -0.0130371163, -0.0374887511, -0.0233903918, -0.0287945066, 0.0326232649, 0.0376064181, 0.0078349151, -0.0459803492, 0.0160309151, -0.0405278467, 0.0292336252, 0.0579096824, 0.0366553627, 0.0072723459, -0.0290938821, -0.0244987775, -0.0413961075, 0.0173120927, -0.0255912598, -0.0203008838, 0.0241771024, 0.005660661, -0.0261326432, 0.0762882158, -0.052651193, -0.0798995793, -0.0118342191, 0.0983278826, -0.0046053478, -0.0179451611, -0.0262044463, 0.0255492628, 0.0542437509, 0.0547491387, 0.0180818588, 0.0409742668, -0.0448339991, -0.0534723587, -0.0490962602, -0.0480243787, 0.0032334065, 0.0354596265, -0.0304464847, -0.0147717111, -0.069636628, -0.0196902994, -0.0072272946, 0.0580730066, 0.0168981329, 0.0095105749, 0.0162098687, 0.0272715837, -0.0455370098, 0.0173948631, -0.0191080458, -0.026122177, -0.0521730818, -0.0289697964, 0.0313694552, -0.0204526354, -0.0498759933, 0.0320978351, -0.0874465257, -0.0301772673, -0.0230170954, 0.0919161886, 0.028134536, 0.0524853468, -0.0133878179, -0.006986287, 0.0073467856, -0.0118053537, -0.0180159789, -0.0344656967, 0.0062209927, -0.0156782921, 0.0348335765, 0.0261547174, -0.0181745272, 0.0268941019, -0.0335604437, 0.0720838904, -0.0457950272, -0.0243912339, 0.0719171017, -0.0436725505, -0.0109654758, -0.0029500914, 0.0304460563, -0.0578437485, 0.010038441, -0.0170345698, -0.0312740877, -0.0337795913, 0.0543480106, 0.0392387435, -0.0149638327, -0.0147028761, -0.0312136859, -0.0310897157, 0.0661298335, -0.0031702246, -0.0175921582, 0.0483719222, 0.0287728515, -0.0033845489, -0.0331977867, -0.0134426998, 0.025415441, -0.0280906167, 0.0325846113, -0.0178274997, 0.10342554, 0.0275835786, 0.0250300057, -0.043692749, 0.0170646682, -0.0174597818, 0.0042434037, -0.0141438795, -0.0183858387, 0.0295305662, -0.0448115282, 0.0279194787, -0.0494852066, 0.0001086304, -0.0028728587, 0.1093818098, 0.0013789042, -0.0109877605, 0.038501557, 0.0304460768, 0.0205357261, -0.0272821561, 0.0938378945, -0.0449107811, 0.0568075292, 0.0028850737, -0.0069070109, -0.0219341982, -0.030163439, -0.0338780321, 0.0182391629, -0.0006852843, -0.0087544862, -0.0574983321, -0.0257709771, -0.0235833935, 0.0489045829, 0.0423536934, 0.0003989011, 0.036968898, 0.0716554821, -0.0039964211, -0.0362118259, 0.0017833122, 0.0202864986, -0.037988171, -0.0124629941, -0.0072052111, -6.009598789e-33, -0.0468767174, -0.0526964441, 0.038197957, 0.0282698628, 0.0089280652, -0.0395508856, -0.0423902124, -0.0443465114, 0.0500113741, 0.0441899449, 0.0273080766, 0.0225638263, 0.0271725133, -0.0096451947, 0.0511128455, -0.0548650734, 0.0193576049, 0.0204239916, -0.0449073985, -0.0005395493, 0.0503468253, -0.0077370936, 0.0428991131, -0.0363056175, 0.0192635525, -0.0091660637, -0.0062755481, 0.0013983963, -0.0479942262, 0.0458292887, -0.0287659783, 0.0194111671, 0.0349020809, 0.0018765678, 0.0151364347, 0.0230535697, -0.0814912319, -0.0503247716, 0.0109937573, -0.0191608462, -0.0366164669, -0.0693479404, -0.0106006814, 0.00842275, 0.0206753314, 0.0329587497, 0.0375791527, -0.0366614945, 0.0123983584, -0.0205159131, -0.0668929219, 0.0032964586, -0.0383364968, -0.0090942271, -0.0071274494, 0.0392474532, 0.0089831753, -0.0350275375, -0.0469714329, 0.0252119415, 0.024969114, 0.0003146444, 0.0398963764, -0.0174057651, -0.0134317046, 0.0080276392, -0.0361974612, -0.0226984024, -0.0381319933, 0.0335665941, -0.0265658982, 0.0828483403, 0.025636917, 0.0017657742, 0.0313988291, 0.0218215678, -0.0275960192, 0.0165509917, -0.0143191535, 0.0227349009, -0.0393317975, -0.0101210307, 0.0054012411, -0.0125463428, -0.0248955954, -0.0601427443, 0.0044267713, -0.0165466052, -0.0112874806, 0.010353866, -0.0243308712, -0.0160114169, -0.011919816, 0.0486461706, 0.0291271079, 0.0074685682, 0.0081111034, -0.0111076972, -0.029015474, 0.0254011732, -0.0967831686, -0.0586594678, 0.0440135151, -0.0160427429, 0.0192399621, 0.0153415427, 0.0143342223, 0.0536088869, 0.0121793179, -0.014942525, -0.0371751785, -0.0251457077, 0.0005349092, 0.0001195489, 0.0372513197, 0.0356709249, 0.0151069248, 0.0347583331, -0.0146089643, -0.0016456434, -0.0139273955, 0.0368584804, 0.0427656434, -0.0245515816, 0.012911248, 0.0126860794, -0.0362174697, -0.0141732469, 0.0386854298, -0.0247633159, 0.0045475313, 0.0536597706, 2.498e-7, 0.0574743561, -0.0038974844, 0.0352247059, 0.0117091835, -0.0290160142, 0.0213434771, -0.0071217422, 0.0331912898, -0.0155381104, -0.0069834841, 0.0498950779, 0.0067251148, 0.0226737875, 0.0757314265, -0.0161632635, -0.0161409788, -0.0551658608, -0.0414683633, -0.0421202816, -0.0263501666, 0.0676777065, 0.008742325, 0.0418462083, -0.0052135405, -0.0126371486, 0.00065408, 0.0522204228, -0.0340110324, 0.0394554175, 0.0007992768, 0.0127764707, 0.0094515318, 0.0209817328, -0.0073180217, -0.0091113504, -0.0117155779, 0.0071441717, 0.0275967531, -0.0058186208, -0.0123055167, -0.0123797366, -0.0666098073, -0.0058354521, -0.0561842173, 0.0359633863, -0.092017673, -0.0031375769, 0.0935208723, -0.0110748019, -0.0202686042, -0.014486813, -0.0118724816, 0.0282234661, -0.0097266268, 0.0094199814, 0.0004016803, 0.0093992753, -0.0518326797, -0.0030106311, 0.0321210027, -0.0146419611, -0.012535234, 0.0077871503, -0.0277669169, -0.014639046, -0.052812431, -0.0472835228, 2.007262904e-34, -0.0039813737, -0.0075722886, -0.007527404, 0.0028372905, 0.0302609727, 0.0176177546, -0.0236628074, -0.0004899445, 0.0156176686, -0.0826775953, -0.0234778039 ]
http://arxiv.org/abs/2401.06920v1
http://arxiv.org/pdf/2401.06920v1
Comparing GPT-4 and Open-Source Language Models in Misinformation Mitigation
2024-01-12T22:27:25
2024-01-12T22:27:25
Tyler Vergho, Jean-Francois Godbout, Reihaneh Rabbany, Kellin Pelrine
cs.CL
cs.CL
Recent large language models (LLMs) have been shown to be effective for misinformation detection. However, the choice of LLMs for experiments varies widely, leading to uncertain conclusions. In particular, GPT-4 is known to be strong in this domain, but it is closed source, potentially expensive, and can show instability between different versions. Meanwhile, alternative LLMs have given mixed results. In this work, we show that Zephyr-7b presents a consistently viable alternative, overcoming key limitations of commonly used approaches like Llama-2 and GPT-3.5. This provides the research community with a solid open-source option and shows open-source models are gradually catching up on this task. We then highlight how GPT-3.5 exhibits unstable performance, such that this very widely used model could provide misleading results in misinformation detection. Finally, we validate new tools including approaches to structured output and the latest version of GPT-4 (Turbo), showing they do not compromise performance, thus unlocking them for future research and potentially enabling more complex pipelines for misinformation mitigation.
[ 0.0240170639, 0.0284884889, -0.0292062443, 0.0678705797, -0.0553904139, -0.0014907883, -0.0020408211, 0.0288428869, -0.0051584491, -0.0125926323, -0.0127936294, -0.0407992713, 0.0457493141, 0.0329886638, 0.0232740808, -0.0080477726, 0.0768258125, -0.0240618419, 0.0458772779, -0.0179639403, 0.0122918356, 0.0180318672, 0.0413436443, 0.0288600177, 0.0085147489, -0.0238634273, -0.0025017983, 0.0040845517, 0.0348784178, -0.0153066684, 0.0107331229, 0.0537197143, 0.0107307676, 0.1290640831, 0.0000021698, 0.0038723776, -0.0216344092, 0.0338113792, -0.0218679421, 0.0761849433, 0.062849693, -0.0678814724, -0.0262190923, 0.0332527012, 0.0066639488, -0.0120374272, 0.0421103276, 0.0510776863, 0.062559098, 0.0945492163, -0.0051286994, -0.0150522292, 0.0450883619, -0.0258113761, -0.0016149414, -0.0325856097, 0.0640454963, -0.0423339568, -0.0362277441, 0.0541733243, 0.0175270196, 0.0271775071, -0.007479548, 0.0000760129, -0.0917964727, 0.0130702816, -0.0318750851, -0.0233510062, -0.0214714929, 0.0202501826, -0.0508321114, -0.0619088598, 0.0210819524, -0.0238271505, -0.008037148, 0.0280401129, -0.0027112702, 0.0330759287, -0.0216192361, 0.0302358549, 0.0049725599, -0.0130801229, 0.0590540357, -0.0048737656, 0.0316121839, 0.0897039697, 0.0259874016, -0.0393246561, -0.0101142293, -0.0132143749, -0.0212620609, -0.0776013881, -0.0067134905, -0.0273840316, 0.0013670438, 0.0011543644, -0.0860757977, -0.0204897244, 0.0579743385, -0.0921363458, -0.0143954959, 0.0500319526, 0.012107118, 0.0106969224, -0.0101771578, 0.0481650308, -0.0463394485, 0.0088524912, 0.0047531645, -0.0296857096, 0.0018071198, -0.0157616977, -0.012633089, 0.0088941054, -0.0280811489, 0.010111955, -0.0483924709, -0.0136254048, -0.0267006401, 0.0193082932, -0.0347110666, -0.0473921038, -0.0353645012, -0.011944158, 0.0123213716, 0.0252771433, 0.0194789208, 0.0217576418, -0.0267933402, -0.0697208568, -0.0381851159, 0.0586471744, -0.0471292511, -0.0283027161, -0.0357125886, 0.0182929859, 0.0241360292, -0.0181953646, -0.0286651012, -0.0420879573, -0.0331802368, -0.0581120476, -0.0144178411, -0.051687777, -0.0222307965, -0.0124857398, 0.0068495665, -0.0331998169, -0.0029724806, 0.0169485454, -0.0543403104, 0.0546616204, -0.0392041281, 0.0002923256, 0.0418836139, 0.0311655011, 0.009194606, 0.0818516985, -0.0012037122, 0.0558145195, 0.0432725213, -0.0177114513, 0.0278758053, 0.037625704, 0.0476125814, 0.0364085138, 0.0200383738, -0.0197991878, -0.0065091937, -0.0334609635, 0.0159610026, 0.0712187961, 0.0012379574, -0.0570321381, 0.0956382751, -0.0023131866, -0.0366733931, -0.0062725176, 0.0140198246, 0.0445726775, 0.0043155686, 0.0047028204, -0.0432708636, -0.0184606947, -0.0753386617, -0.0078128958, 0.0419978835, 0.044365488, -0.002582089, 0.0233072359, -0.0335751958, -0.0199867561, 0.0132579282, -0.0101277735, 0.0250773448, -0.0381498262, -0.0525903925, 0.0576821342, 0.0526589341, -0.0173328388, -0.0010183589, -0.0581829771, 0.0211984068, 0.0461482219, 0.0524409637, -0.005212184, 0.04005583, -0.0547367781, -0.0237030815, 0.0443019085, 0.025238486, 0.0169799384, -0.0033023588, -0.0272983648, 0.010573566, -0.019488737, 0.0375267975, 0.0120348595, 0.072318092, 0.0277662035, 0.0080281617, -0.0355019271, -0.0176056493, 0.0062996601, 0.0201680437, 0.0138065014, -0.0216913018, -0.0256375261, 0.0355530828, 0.0149223339, -0.0245451294, -0.0185574386, 0.0460016169, 0.0024679324, -0.024826074, -0.0625402555, -0.0106639843, -0.0039750189, 0.0406643189, 0.011584715, -0.0248169117, 0.0572378188, -0.04204797, 0.0010836622, 0.0361840948, -0.0373916738, 0.0435990803, -0.056861341, 0.0124897761, -0.0285188351, 0.0453467928, 0.01054624, 0.0516867787, -0.0208928175, -0.0230288561, 0.01059784, -0.0167492423, 0.02040709, -0.0303973835, 0.0010422185, 0.0060995733, 0.0085515073, 0.0028584097, 0.0187471434, -0.0018865507, 0.0185841322, -0.0341313891, -0.0338409171, -0.0123079186, -0.0303057972, 0.0101206927, 0.0447139889, -0.0099452222, -0.0160537045, 0.011645562, -0.0112859253, 0.0005394517, 0.0197259318, 0.0106411483, 0.0044864365, -0.002911665, -0.0498478785, -0.0065189237, 0.0060959794, -0.0227173679, 0.0205413178, 0.0120149907, -0.0842847228, -0.0421215184, 0.0080363099, -0.0357496552, 0.0465339199, -0.0276433714, -0.0342682041, -0.0225548446, 0.025134109, 0.0174173564, -0.0148257213, 0.0299836192, 0.0245575309, 0.0408262685, 0.0325655192, -0.0030934163, -0.0081347302, -0.0457161665, -0.0209388267, -0.0245454032, -0.0870197043, 0.0269818772, 0.050326705, 0.0598931462, -0.0071517928, -0.0647259429, 0.0168477334, -0.0058676894, -0.0290783141, 0.0056708981, -0.0537017323, -0.0194842909, 0.0041722921, -0.0326048024, -0.0695349947, 0.0673501864, -0.0560828894, 0.0347690061, -0.0145311467, -0.0271180701, -0.0167539231, -0.0296413489, -0.0012003711, 0.0357494429, 0.0562348999, 0.0064288196, 0.0158789139, -0.0153910145, 0.0673514828, -0.0123947635, 0.0245055072, -0.0612392761, 0.0533940718, 0.0329349823, -0.0102151548, -0.0281527229, -0.0742026642, 0.0155599117, 0.0037194146, 0.0297622327, -0.0414231271, -0.0306862816, 0.0062435339, 0.0212748162, 0.0439563282, -0.0142431157, 0.0205176566, -0.02436563, 0.0090245157, 0.0194892902, -0.0748695433, 0.0895477161, -0.0689348802, -0.0402993113, 0.0656409934, -0.0062343287, 0.0050238394, 0.010559829, -0.0464148484, 0.0181441382, -0.0228972547, -0.0329881608, 0.0162367132, 0.0391070135, -0.0603155643, -0.0034563139, 0.0977883935, 0.0132377567, -0.0241556857, -0.0238293, -0.0048229885, 0.0317850709, -0.0038429629, -0.0252464339, -0.0582950637, -0.0099796178, 0.0341792256, 0.0265316982, -0.0452464558, -0.0028866446, -0.0221157242, -0.0624952391, 0.0463141911, 0.0204554088, -0.0203585271, -0.0473982431, -0.0547373593, -0.0311585478, 0.015500281, 0.0281835198, -0.0212836806, 0.0233058967, -0.0206203572, -0.0195180587, -0.0598625243, -0.0821837634, 0.0027277132, 0.0009225231, 0.0791052803, 0.0723137036, 0.0040455051, -0.0344832316, -0.0510735847, 0.0444395393, -0.012320105, -0.0712844878, -0.0162946712, 0.061095681, -0.0019617039, -0.0105134072, -0.0176362526, 0.0023970474, 0.0124533102, 0.0039724545, -0.0141968923, 0.0179549679, 0.0080500739, -0.0615819432, -0.0011816096, 0.0114911105, 0.0402322076, 0.0866675228, -0.0112982094, 0.0306501556, -0.048171863, -0.0673424229, 0.0391376466, 0.0431312993, -0.0194971375, 0.0221192595, 0.0236810278, -0.0557836257, -0.0107250987, 0.0102552958, -0.0193914864, -0.0498292819, 0.0022211906, 0.0514328033, 0.0126145426, -0.0093673179, -0.0044826153, -0.0375637934, -0.0440375768, 0.0529067963, -0.055600211, -0.00314044, -0.0198968723, 0.02030701, 0.0016646337, 0.0659741387, -0.108101666, -0.0910702869, 0.007252133, 0.0221684221, 0.0272209756, 0.0251465905, -0.0390407369, -0.0355577059, 0.0683818609, 0.0007912916, -0.0276120212, 0.0558822118, 0.0177478082, -0.0184762776, 0.0199872423, 0.0217145011, -0.0058601429, 0.0125032142, 0.0142088868, -0.0321832895, -0.0463214144, -0.0114182709, 0.0415119343, 0.0436348468, 0.0460663326, -0.0212015677, 0.0237045307, -0.0197351836, -0.011017167, -0.0517762862, 0.0028748319, 0.0059379297, 0.0040930342, 0.0460493229, -0.0216583163, 0.0174258836, 0.0483924747, -0.0255842917, 0.0072929277, -0.0188853424, -0.0247667674, -0.0268126708, 0.0174558666, 0.0468377322, -0.029157307, -0.0037466588, 0.0308425352, 0.0067962026, 0.0361500755, -0.0005525778, 0.0294765159, -0.002758017, -0.0479913317, 0.0318518728, 0.0096625928, -0.0325477161, -0.0142529197, -0.0540313721, 0.050311625, 0.0250254944, 0.0566531867, 0.0680034086, -0.0341261141, -0.0196733121, -0.0415489264, -0.0137645723, 0.0355520025, -0.0108853979, 0.0294751972, -0.0214711465, -0.0538597554, 0.0322860405, 0.0739850402, 0.0645306036, 0.0336820409, 0.0023145983, -0.0762419924, -0.0115193827, -0.0367713012, -0.0251340177, 0.0346263312, -0.038301304, 0.0167326238, -0.0847019702, -0.0477843322, 0.0085388506, 0.0177113451, 0.0245022755, -0.0075898692, -0.0279237404, 0.0538555235, -0.0227637943, -0.0296368767, -0.0677749291, -0.0223811101, 0.0217911769, -0.0234530624, 0.0231363494, -6.87937865e-33, -0.0339145847, -0.0302624349, -0.0462178998, -0.0006250375, 0.008766911, 0.0221611951, -0.0114328228, -0.0196258239, -0.0266092643, 0.0356512442, 0.0489172302, 0.0331770927, 0.003203962, 0.0000563702, -0.0479811206, 0.0068343771, 0.0516373292, 0.0009055827, -0.0378187448, 0.0266888384, 0.0575232618, -0.0228616949, 0.0393391885, -0.0655093044, 0.0459426343, -0.0021768578, -0.0624797754, 0.0139342388, -0.0600034557, 0.0359989442, -0.0077452213, 0.0675656125, 0.0069306791, -0.0271542724, -0.0117962472, -0.0007892012, -0.0094310511, -0.0032986382, 0.049098473, -0.0273560043, 0.02266814, -0.0209598932, 0.0278832838, 0.0105293477, -0.0301981438, 0.020796597, -0.0043135914, -0.0025876001, -0.0063558104, 0.0302270707, -0.0220433492, 0.0139884334, 0.02222302, 0.0350160785, 0.020943271, 0.0454431921, 0.016738968, 0.0408201069, -0.0868051648, 0.0234545153, 0.0392361432, 0.0064854263, 0.0500906445, -0.0208451059, -0.0220804811, 0.0442175269, 0.0103353634, 0.0112340562, -0.0309328008, -0.0309208538, -0.0260040537, -0.0198534634, 0.0707981363, 0.0935672075, -0.0194949917, -0.0493256077, -0.0975618958, 0.0376738943, 0.0137508325, -0.0065534315, 0.042707704, -0.013100612, -0.0630483702, -0.0311256945, -0.0201827418, -0.0192914903, -0.0197325107, -0.015090568, 0.0225312114, 0.0463384502, 0.0003915879, 0.035751503, 0.0045829839, -0.0356558003, -0.0006629252, 0.0130544314, -0.0338339582, -0.0063238442, 0.0198489446, 0.0755449608, -0.0625271946, 0.0028454338, 0.0229012445, -0.0054674982, -0.0097838603, -0.0271624811, 0.0214482732, 0.0336073861, -0.0777424797, 0.0268306509, -0.0224225819, 0.065246582, 0.0159503147, -0.0621413328, 0.0096780863, -0.0249553751, 0.0204630289, 0.0126629062, 0.0228479262, -0.0065633636, 0.0132428482, 0.0068497118, -0.025899047, 0.0356364809, -0.0107923467, 0.0150213791, -0.0038603579, 0.0133015057, 0.0295939315, -0.0306035932, -0.013244532, -0.0300099701, 2.88e-7, 0.0269529317, 0.0489986427, 0.0117029995, 0.0303165745, 0.0421308875, 0.0641377568, -0.0233520325, 0.0286699086, -0.0323469341, -0.0396918915, -0.0528742522, 0.0033586235, 0.0047871214, 0.0444364808, -0.0261630118, 0.0314191505, -0.0557873063, -0.0152120022, -0.059600614, -0.0096025569, 0.0091565885, 0.0892293677, 0.0361977667, 0.0111449659, -0.0056566149, -0.0240467396, 0.0674992949, -0.0116669489, -0.0503897592, 0.0313818492, 0.0280873701, -0.0021001934, 0.0002387334, 0.0435659848, -0.0208374392, -0.018655397, -0.022800751, 0.0666107312, -0.0040403497, -0.0159880798, -0.0403558835, -0.0446396247, -0.0036273797, -0.1012876704, 0.0411934331, 0.0238505714, -0.0372750349, -0.0230921712, -0.0306976009, -0.0135051301, 0.0214022193, -0.0122228321, -0.0388841592, -0.0004668479, -0.0190976933, 0.0384669565, 0.0052967011, -0.0295144692, 0.0141229788, -0.0121867312, -0.041614648, -0.0475588627, -0.0211509299, -0.0090616848, 0.0132508362, -0.0090794917, 0.0408111066, 2.770277664e-34, 0.0411134586, -0.0427113511, -0.0095247859, -0.0050048102, 0.0446801819, -0.0049251155, -0.0200351644, -0.0048099291, -0.0186056774, -0.0262265522, -0.00068992 ]
http://arxiv.org/abs/2401.06915v2
http://arxiv.org/pdf/2401.06915v2
DocFinQA: A Long-Context Financial Reasoning Dataset
2024-01-12T22:19:22
2024-02-29T19:55:14
Varshini Reddy, Rik Koncel-Kedziorski, Viet Dac Lai, Michael Krumdick, Charles Lovering, Chris Tanner
cs.CL
cs.CL, cs.AI
For large language models (LLMs) to be effective in the financial domain -- where each decision can have a significant impact -- it is necessary to investigate realistic tasks and data. Financial professionals often interact with documents that are hundreds of pages long, but most financial research datasets only deal with short excerpts from these documents. To address this, we introduce a long-document financial QA task. We augment 7,437 questions from the existing FinQA dataset with the full-document context, extending the average context length from under 700 words in FinQA to 123k words in DocFinQA. We conduct extensive experiments over retrieval-based QA pipelines and long-context language models. DocFinQA proves a significant challenge for even state-of-the-art systems. We also provide a case-study on the longest documents in DocFinQA and find that models particularly struggle on these documents. Addressing these challenges may have a wide reaching impact across applications where specificity and long-range contexts are critical, like gene sequences and legal document contract analysis.
[ 0.0238635615, 0.0946397334, -0.0079166545, 0.0289296471, -0.0242738035, 0.020825712, 0.0295308251, 0.0301111806, 0.0133020561, -0.0329073705, -0.021262655, -0.0422836542, -0.0171010587, 0.0415643789, 0.0263977665, -0.0135597298, 0.0076213321, -0.0233470798, 0.0702368245, -0.0149766356, 0.0245709568, 0.002039636, 0.0206615906, 0.0225472283, -0.0120082293, -0.0309328064, -0.0083578527, -0.0243479162, -0.0117190108, -0.0003486234, 0.0011412479, 0.0329889879, 0.0383297056, 0.0278625693, 0.000001799, -0.0619204305, -0.0429459549, 0.0097395461, -0.0656950101, 0.0085997256, 0.0066531468, -0.0202770811, 0.0442534648, 0.0214333814, -0.0508010983, 0.0184373353, 0.0287983026, 0.0681939051, 0.0351783261, 0.0716655105, -0.0103877792, -0.0799368024, 0.0210813154, -0.0781854987, 0.0490425378, -0.1045274287, 0.0452757254, 0.0183828585, 0.0355740003, -0.0028418892, -0.0210478101, 0.0318786949, 0.0187316108, -0.0268378481, 0.0039026842, 0.0032097693, -0.0397541411, 0.0209057704, 0.0024439339, 0.0757066309, 0.034958642, 0.0431911238, 0.0283816904, -0.0180008374, 0.0078077493, -0.0145298606, -0.044255197, 0.0516113415, -0.0158600006, -0.029095415, 0.023242645, -0.0117527107, 0.024873374, -0.0062242639, -0.0818952471, 0.0496232174, -0.0213175546, -0.0484793261, 0.0267694984, -0.0049520899, -0.0270856917, -0.0331608355, 0.0256604515, 0.0424352624, -0.0083098579, 0.0202525761, 0.0052604983, -0.0224329736, 0.0490079224, -0.0464694425, -0.0064152577, 0.0092289653, -0.0163843464, 0.0926302671, -0.0275796838, 0.0243769567, -0.0228790771, -0.0353195481, -0.0258504022, -0.0101945642, -0.0505480282, -0.0225930177, -0.0444606505, 0.0470255949, -0.0614918433, -0.0315091684, -0.0399948619, -0.0018419725, -0.0156872161, 0.0479076952, 0.0085170465, -0.0033540286, -0.0176837761, -0.0187969003, -0.0344790891, 0.0028373247, -0.0566405989, 0.0310242213, -0.0022207955, -0.0064824554, 0.0107544977, 0.0154073266, -0.0093844766, -0.0448872522, 0.008118757, 0.0747895762, 0.0369793959, -0.0452462025, -0.0222556256, -0.0497485772, -0.0172456577, -0.0359829627, -0.0357242413, -0.0294671468, 0.01666536, -0.0006283358, -0.0328325182, -0.014583732, 0.0021179847, 0.0124823553, -0.0139983306, 0.0958100408, 0.0640765578, -0.0216986574, 0.0240244735, -0.0123920599, 0.0166375879, 0.0529376157, -0.0034276366, 0.011433864, 0.0510591343, 0.0153880604, 0.012637998, 0.0335805863, 0.0035803278, -0.0411707871, 0.0150651867, 0.0743458197, 0.0157626476, 0.0192756224, 0.03176203, 0.0242576227, -0.0177254379, -0.0429925323, 0.0039881882, 0.0629404932, 0.0837626532, -0.0306055639, -0.0013945239, 0.0509335995, 0.0005430757, -0.0345194861, -0.0068685832, -0.0003824877, -0.0045162174, 0.0329426415, -0.0131028052, -0.0352797881, -0.0417707302, -0.0308400188, -0.015359791, -0.0027517295, -0.0300262682, 0.0303416364, 0.0254647471, -0.0057498924, -0.029833464, 0.0420507528, -0.0070237452, -0.0373042785, -0.0268687792, -0.0118810087, 0.082679987, 0.0603941903, 0.0447913557, -0.065715149, 0.0178184677, -0.0152790667, 0.0033806823, 0.018194871, 0.0357695743, -0.0140253901, -0.0331542455, -0.0361910388, -0.0222267266, -0.0037242121, 0.013004886, 0.0084147211, 0.024247054, 0.0074052159, 0.0265253652, -0.0375989415, 0.0286770333, 0.0184036717, -0.047910139, -0.071284458, 0.0069100191, -0.0065492708, 0.0033356124, 0.0015597978, 0.007812513, 0.0328048468, 0.0139375869, -0.0254877023, -0.0200439934, -0.029835945, -0.0342674516, 0.000260155, 0.0104124891, -0.0161308944, -0.0089179883, -0.0167176221, -0.0477541052, -0.0202399939, -0.0300186817, -0.0166888591, 0.0209417176, -0.0413606688, -0.0033606044, 0.0087082079, 0.0244970247, -0.0320070088, 0.0855719, 0.002955351, 0.0269927923, -0.020088857, 0.0250260774, 0.0106806979, -0.0785963982, 0.0479396842, 0.0053920997, -0.0161540546, 0.0094482144, 0.0264752787, -0.0002060845, -0.0265388656, -0.0258592386, -0.0652705058, -0.009345076, -0.0176346023, 0.0324198827, -0.029052848, -0.0057556964, -0.0016572382, -0.0199378636, -0.0671222731, -0.0005878755, -0.0030333484, 0.0251554698, 0.0447973199, 0.0113270087, -0.0156749859, -0.0496876501, -0.0344149768, -0.0071460172, 0.0536146015, 0.0356297456, -0.002235896, -0.016352687, 0.0036834495, -0.0136841135, 0.0059028687, -0.0347163305, 0.0652458221, -0.0026261199, -0.047186818, 0.0372122712, 0.0621328354, 0.006157225, 0.0412355922, -0.0211129989, 0.009837593, -0.0423832759, 0.0233731121, -0.0098970607, 0.0039225332, -0.0233113915, 0.0322652943, 0.0127076013, 0.0315293856, -0.046185229, -0.0090740882, -0.0535355322, 0.0586831346, -0.0020689056, 0.0088267326, -0.0337056033, -0.0101614688, -0.0004929343, 0.0609347112, -0.0031586387, -0.0258863773, 0.0654009432, -0.001120273, -0.0023790775, -0.0254947897, 0.005791693, -0.106199123, 0.1156956255, -0.0376892835, -0.0157520603, -0.0406169519, -0.0467442907, -0.0142727885, -0.0328443982, 0.0145683326, -0.0416278392, 0.0772401839, -0.0319234021, 0.0440991633, -0.0110001946, -0.0457892604, -0.0244847219, -0.0400161743, -0.0161990393, 0.0169706605, 0.0505219698, -0.027864011, -0.0491405688, -0.0023554319, 0.0137268947, 0.021792002, -0.0113791917, -0.006248483, 0.0086911414, 0.0445197038, 0.0618224852, -0.0106354719, 0.0451968834, -0.0585323088, 0.0608668625, 0.0221673697, 0.0241999589, -0.0053128735, 0.0396566689, -0.0147529235, -0.0226273537, -0.06482099, -0.0128900269, 0.0199706629, -0.0086172819, -0.0932607874, -0.0300265364, 0.0865278989, 0.0415563472, -0.0174742676, -0.0038277011, -0.0305665862, 0.0155870114, 0.0060225753, 0.0543376319, -0.116254732, -0.0312753655, 0.0076911096, 0.0211062357, 0.0393648259, -0.054129485, -0.009744036, -0.1051568612, 0.0614131726, -0.0115316408, -0.0100305472, -0.0206489433, -0.0270090215, -0.0298810154, -0.0348247476, 0.0218915828, 0.0508763343, -0.0323811211, 0.0057812459, -0.0070652617, -0.008490962, 0.0236269142, 0.0592291802, -0.0015787082, -0.0373359248, 0.0281970575, 0.0126379924, 0.0080243526, -0.0448318832, -0.0061511155, -0.0419291779, -0.0251561925, 0.024157485, 0.0535416603, -0.0016372175, -0.0140896514, -0.0027297346, 0.0521417446, -0.0633601323, 0.0183447544, 0.0219469815, 0.020029733, -0.0255828388, -0.0295422263, -0.0108535904, -0.0098483432, -0.0214443728, 0.0868243426, 0.0243218374, -0.0311172362, -0.073190853, -0.0230370071, -0.0270500332, -0.0321511477, 0.0218941104, -0.0243960228, 0.0178514868, 0.0305221118, -0.0820965767, -0.0733447745, 0.0439718105, 0.037995521, -0.0199957658, 0.0089411829, 0.0273548961, -0.0242512599, -0.0446166284, 0.0509921275, -0.0603755638, 0.0404479988, -0.043280609, 0.0548786856, 0.0182203036, -0.0034761168, -0.0502129644, 0.0390232839, -0.0709230229, -0.0220437068, 0.0057775285, -0.0202783644, 0.0202647373, 0.0087032793, -0.0213599838, -0.0044739377, 0.0272485781, 0.0240511224, -0.0643422902, -0.0174416415, 0.0448560715, 0.0011220108, -0.0164602883, 0.0487804152, -0.06771788, 0.0209772028, -0.02457802, 0.0576144233, -0.0258795563, 0.0043218439, 0.0060065389, 0.0130351381, -0.0181340035, 0.0622246675, -0.0192244761, -0.0299017951, 0.0176283829, -0.0288874861, -0.0127879204, -0.0070802593, -0.0054912651, 0.0436846577, -0.0325356163, -0.0019922296, -0.002821224, -0.0270326957, 0.0131354928, -0.017752789, 0.047514569, 0.0227112882, -0.01681838, 0.0380156897, -0.0513922349, 0.0105266925, 0.0183451772, -0.0026418008, 0.050669007, -0.0004562429, 0.0234291013, 0.0211643521, 0.025332449, -0.013594985, -0.0301511437, -0.0484742709, -0.0520004854, 0.046760872, 0.0102321655, 0.0064665517, -0.0538083464, -0.028767474, -0.0256012008, 0.0024198811, -0.0010698051, 0.0137103973, 0.0169692766, -0.0507401899, 0.0413175002, 0.0465206169, -0.0422364064, -0.0074024834, 0.0940073133, 0.0204163715, 0.0185450744, -0.0432217382, -0.0042448998, -0.0396256931, -0.0536497869, 0.0386876129, 0.0290266778, -0.0149543397, 0.004979311, -0.0824993253, -0.0497975387, -0.0023728956, -0.0076710167, -0.0325307176, 0.0104792854, 0.0274509396, 0.0701248571, 0.0192518141, -0.0092992447, -0.0237132702, 0.0401330069, -0.0481040627, -0.0404799096, -0.0463109538, -5.550532245e-33, 0.0029515754, -0.0374109969, 0.0487996712, -0.0008623536, 0.0159852505, 0.0294330921, -0.0268103592, -0.0326409265, 0.0085269902, 0.0094261328, -0.0312974453, 0.0527547859, -0.0027869856, 0.0331784748, 0.0061576436, -0.0123160062, 0.0224829651, -0.0157830976, 0.0132339504, 0.0065904283, 0.0255441684, 0.058258038, 0.0133122383, -0.0385331027, 0.0451312624, 0.0159435999, -0.0039708796, 0.0204268415, -0.004258404, 0.0681130365, -0.0168428887, 0.0121687287, 0.0161616039, -0.0860062167, -0.0027658953, 0.0344090648, -0.069857575, -0.0059301485, -0.0120241176, 0.0057877544, -0.014560841, -0.0197342131, 0.0370222814, -0.0129988212, 0.0057983506, -0.0262838919, 0.0239545684, -0.0270908326, -0.0129407747, -0.0506185926, -0.0467456616, 0.0431915298, -0.00142119, 0.0403994471, 0.0334399343, 0.0554179512, -0.0116931899, 0.0618980043, -0.0186964143, -0.0145061631, -0.0025444266, 0.0194106065, 0.0223090742, -0.0234703757, 0.0066671255, 0.0186858475, -0.027564073, 0.0081488006, -0.0160486586, -0.0263459422, -0.0099096792, 0.0581700392, 0.0437268987, 0.0351581275, 0.0360930897, -0.0127727278, -0.0614635013, 0.0203210469, -0.0199624095, 0.0694297701, 0.0128727332, 0.0242036693, -0.0403982177, -0.01191789, -0.0518118702, 0.0294367019, -0.0316948146, 0.0310287494, 0.0391087271, 0.0262832232, 0.0120179001, 0.0072980248, 0.0194823518, -0.0312101133, -0.0645381361, 0.0447874628, 0.0030863737, -0.0068804175, 0.0167411231, 0.0396523997, -0.050432872, -0.0134789534, 0.0192248523, -0.0111873876, -0.0082424339, -0.0160182938, 0.0463742577, -0.0248646289, -0.0762322545, -0.0144170625, -0.0064302599, 0.0383565016, -0.0154216271, 0.0481004715, 0.0173435304, 0.0473847613, 0.0165805742, 0.0375756249, 0.0073486548, 0.0098884488, -0.0151406955, -0.055622898, -0.01343094, 0.0320905596, 0.0021541344, 0.0036264565, 0.000040435, 0.0660635084, 0.0647017211, -0.0235865656, 0.0016483155, 0.0658887401, 2.536e-7, 0.0498449542, 0.0617311895, 0.0373984724, 0.0306681488, 0.027960334, 0.0265397243, -0.014238066, 0.0116176056, -0.0423931666, -0.0153950164, 0.0151938787, 0.0259393938, 0.0432964675, -0.0187715217, -0.0866244435, -0.032812614, -0.0708818212, -0.0021007368, -0.0836881548, -0.0106473686, 0.0323558487, 0.1104457378, -0.0132323457, -0.0252633002, 0.0027452842, -0.086458005, 0.0598463044, -0.0308508202, -0.0083878199, -0.0035394214, 0.044777263, -0.0218307041, 0.0259474516, 0.0094953654, 0.0077385814, 0.0290386137, -0.0033508365, 0.0666306019, 0.0364609174, -0.0155661553, -0.0051666191, -0.0085030729, -0.005550955, -0.0497585721, 0.0641695186, -0.0405666791, -0.0395367891, -0.0495004281, -0.0305013657, -0.0130618233, 0.0186921433, 0.0358765908, 0.034366481, 0.0049350052, 0.0163699668, -0.0254962873, 0.0433727056, -0.0743526742, -0.002962243, 0.0367585123, -0.0358262621, 0.0373119973, -0.0457114428, 0.0119110178, 0.0080557093, -0.0772199631, 0.0025932137, 2.332266888e-34, 0.0605321787, -0.0257883891, -0.0345163606, 0.0232272632, 0.0765627474, -0.0066680522, 0.0059018973, 0.0515208654, 0.0259161238, -0.1176854149, 0.0109904623 ]
http://arxiv.org/abs/2401.06877v3
http://arxiv.org/pdf/2401.06877v3
Promptly Predicting Structures: The Return of Inference
2024-01-12T20:08:39
2024-03-29T18:27:17
Maitrey Mehta, Valentina Pyatkin, Vivek Srikumar
cs.CL
cs.CL
Prompt-based methods have been used extensively across NLP to build zero- and few-shot label predictors. Many NLP tasks are naturally structured: that is, their outputs consist of multiple labels which constrain each other. Annotating data for such tasks can be cumbersome. Can the promise of the prompt-based paradigm be extended to such structured outputs? In this paper, we present a framework for constructing zero- and few-shot linguistic structure predictors. Our key insight is that we can use structural constraints -- and combinatorial inference derived from them -- to filter out inconsistent structures predicted by large language models. We instantiated this framework on two structured prediction tasks, and five datasets. Across all cases, our results show that enforcing consistency not only constructs structurally valid outputs, but also improves performance over the unconstrained variants.
[ 0.0411905721, 0.0709563717, -0.0093513029, 0.0468589328, -0.0205505248, 0.0007295619, 0.0112547921, 0.0122101959, 0.0191136207, -0.0756453574, -0.0240661707, -0.0500103384, -0.0029911117, 0.0101264343, 0.00333899, -0.0469934121, 0.0377151482, -0.0430615768, 0.0303049609, -0.0052565802, 0.0395635329, 0.0300644524, -0.0028830059, 0.0242324024, -0.0187325552, -0.0088596614, -0.0026832749, -0.0054578185, -0.0468548425, -0.0431476608, 0.0480054133, 0.0763124153, -0.0278613623, 0.0335544534, 0.0000017421, -0.0313421376, -0.0147537496, -0.0083175693, -0.0378483683, -0.0200565048, 0.0154197328, -0.0809904337, 0.030075958, -0.0004423401, -0.0102727031, -0.0407175235, 0.0465373062, 0.0329918228, 0.029199481, 0.0648039877, -0.0061219982, -0.0293908846, -0.0063647171, -0.023218764, 0.0021459553, -0.0266378913, 0.0120089389, -0.0370762572, -0.0050838101, 0.0664630756, -0.013192622, -0.0092817983, -0.0077790767, -0.003617082, 0.0023795208, 0.0275118537, -0.0441491045, -0.0842068195, -0.0300898403, 0.0752238855, 0.0239711516, -0.0379896015, 0.0139238937, -0.0742610544, -0.0218395293, -0.0057973256, -0.0279780328, 0.0462838747, -0.0196116529, 0.024094535, 0.050949432, 0.0279481094, 0.0241375789, -0.0090998216, 0.0365577787, 0.0641704798, 0.0191024467, -0.0152473375, 0.0026429121, 0.028244162, 0.0107799638, -0.0732385516, -0.0829824954, 0.0052755876, -0.0742068142, 0.0288452767, -0.0535673462, -0.0218791459, 0.0205067955, -0.0368288122, 0.0454411656, 0.0082988357, -0.0217723213, 0.0510802902, -0.0247562528, 0.0552891567, -0.0128125176, 0.0027745955, -0.0288016181, -0.009881828, -0.0567025207, 0.0059243371, -0.0186039265, 0.0242726132, -0.0195937697, -0.0091668665, -0.0270412546, 0.0102548115, -0.0160864089, 0.0237481296, 0.014981553, -0.0001691058, -0.0248849001, 0.0085606677, -0.0384426862, 0.0195827205, -0.0398743339, 0.0059657386, -0.0380132198, -0.0570573695, -0.0196048338, 0.0529165491, -0.0026173878, -0.0588673763, -0.0164816994, 0.0480280928, 0.0083629023, -0.0156635288, -0.0404978059, -0.0524560921, -0.0464489907, -0.057107836, 0.0316804573, -0.0544999875, 0.0274552517, 0.0201885793, 0.008871071, -0.0555537753, 0.0238664187, 0.006739099, -0.0433926173, 0.0854352415, -0.0073040635, -0.0157984365, -0.037829563, -0.0276713241, -0.026039945, 0.0840650424, -0.0097343214, -0.0068303067, 0.0446485989, 0.0007033821, -0.0022887138, 0.0308401585, 0.0070463466, 0.0172160864, -0.0174724422, -0.0014335328, 0.0351772681, -0.028360486, -0.023519177, 0.027789006, 0.0111054648, 0.0002362924, -0.0012543455, -0.0181898642, 0.0330553651, -0.0312892087, 0.051991377, -0.025747247, -0.0106647443, 0.0269489586, -0.0662835464, -0.0164819323, -0.0495705232, -0.0018520401, 0.0104135713, -0.0139845647, -0.0342317373, -0.0123617854, -0.0501023307, 0.0138233602, -0.0083242077, -0.0230570342, 0.0631212145, 0.0355985574, -0.026253501, 0.0465530902, 0.0376319438, -0.031803228, -0.0030755547, 0.014188149, 0.0437293947, 0.0308396295, 0.0067268847, -0.0319654569, -0.0370427184, 0.0298065897, 0.0518924259, 0.052349098, 0.0326148346, -0.041966375, 0.0416987762, -0.0144221773, -0.0283190515, 0.0084015951, 0.0380035266, -0.0254291985, 0.0368127003, -0.0144706853, 0.0064004348, -0.0390076488, -0.0123263588, 0.0564121269, 0.0057557719, -0.0355463848, 0.033438582, -0.0017622946, 0.029060876, 0.0044603078, 0.020610448, 0.0146796387, 0.0400811397, -0.0298695732, 0.0045095487, -0.0344062597, -0.0393814072, -0.0673630387, 0.0397432484, 0.0145181734, -0.002126199, -0.032843031, -0.0653712377, -0.046066761, 0.0121133626, -0.0005821328, 0.0190717001, -0.0344367325, 0.0142529346, 0.012190192, -0.0047752918, -0.0198335759, 0.0786924511, 0.0333545171, 0.0551080182, 0.0492688753, -0.0175174903, 0.0043686372, -0.0230136663, -0.0150871975, 0.0058408948, 0.0062540323, -0.0228707734, 0.0663429424, 0.0090367803, -0.0497933924, -0.0054834457, -0.0438538454, 0.0037775189, -0.0169545561, 0.0144696143, 0.0275036227, -0.0086462209, 0.0213936716, -0.0386288427, -0.0198768508, -0.0224236362, 0.0117684081, 0.0357268974, 0.0479998179, 0.0088045979, -0.055879239, -0.0190321133, -0.0278608166, -0.0574285351, 0.0466494635, 0.0030771666, -0.0797807649, -0.0365321971, 0.0094552459, -0.008703283, 0.0552459285, 0.0042599319, 0.0323061273, 0.0005069893, -0.0167160928, 0.0005976714, 0.0047981674, -0.0288861021, 0.0263789818, 0.0500174314, -0.0004271328, -0.0336458348, -0.0176558997, -0.0487430058, -0.0048368182, -0.0016183874, -0.0117272492, -0.0043782233, 0.0932283923, 0.0174271166, 0.0038249192, -0.0842441693, 0.0127040949, -0.0539570302, 0.0015198792, -0.0164993387, 0.0038582878, 0.0028481791, 0.059113618, -0.0040525971, 0.0010610031, 0.0679851249, -0.0443063527, 0.0041667526, 0.0166737176, 0.0258994997, -0.0603140295, 0.06258028, 0.0339860991, -0.0193069875, 0.0989573076, -0.0078145154, -0.06605272, 0.0137764039, 0.0542930588, 0.0090498375, -0.0053936997, -0.0545304231, 0.0441222042, -0.0203417838, -0.0512024499, -0.047450304, -0.0589485914, -0.032893002, 0.0367022306, -0.0106916688, 0.019986419, -0.0154989548, -0.0045977351, -0.0444286764, 0.0285409354, -0.0003477626, 0.0150705362, -0.0344608724, 0.0660042763, 0.0483765528, -0.0178050585, -0.0010503294, -0.039133057, 0.0037139619, 0.0156531595, -0.0229716003, 0.0793929622, -0.0109656667, 0.0076351594, 0.0435588583, -0.02031927, -0.0345258899, 0.0338602439, 0.0385704041, -0.0368948653, -0.0225609392, 0.124925673, 0.0486044362, -0.0069427821, 0.0043790615, 0.022549348, 0.048858583, 0.0422852449, 0.0155061604, -0.087887153, -0.0542801954, 0.0094553232, 0.0072475304, -0.023177363, -0.0513879023, -0.0077164085, -0.1445696354, 0.0223880764, -0.0038487853, -0.030741673, 0.0237003341, -0.036206089, 0.0192807876, -0.0306004025, -0.0228241179, 0.003528083, -0.0096111447, 0.0087180175, 0.0399130769, -0.0391288698, -0.0204596184, 0.0268984791, -0.0187656973, 0.0495540276, 0.0347747579, -0.0044732555, -0.0044696601, -0.0124431113, 0.056903325, -0.0140774082, -0.0212194212, -0.0099601438, 0.0273892898, 0.0052910764, -0.0101774996, -0.0011306537, 0.0376196653, -0.0511822551, -0.0293273907, -0.0071098357, 0.0804291368, 0.0088531971, -0.0392607935, -0.0117657082, -0.002608127, 0.0136572774, 0.0808747783, 0.0143985935, -0.0194322672, -0.0328725427, -0.027057942, 0.0089027602, -0.0169500019, -0.0028900919, 0.0688345432, -0.0195953492, 0.0285139158, -0.071025148, -0.0483978987, 0.0557595044, -0.0151092866, 0.0080415225, 0.0088846255, 0.0014505034, -0.0247611944, -0.0123268431, -0.0047673108, -0.0244442131, 0.0107958205, -0.0459503718, 0.0011233329, 0.016703831, 0.0199966244, -0.0078335879, 0.0129635241, -0.1045381874, -0.0581206977, -0.0282269139, 0.0450955555, 0.0143783987, 0.0316773131, -0.0254109502, -0.0349705443, -0.009684423, 0.0516250916, -0.0313252434, 0.0101143401, 0.0092266928, -0.0267272461, 0.0033733218, 0.0577196479, -0.0760845616, 0.0355273709, 0.0248327013, 0.0691238046, -0.0080857659, -0.0274151359, 0.0501089841, 0.0243054554, 0.0642791539, -0.0444654375, -0.0086460467, -0.0270774942, 0.0049835881, -0.0204885229, -0.0673122182, -0.0170336068, 0.0311059523, 0.0083145276, -0.0246373285, -0.0142326122, 0.0161692034, -0.0270873178, 0.0803367496, -0.0374888889, -0.0122810341, 0.0943884999, -0.0338084809, 0.0253175665, -0.0007990689, -0.0045933877, 0.0648471266, 0.0083197402, 0.0556637831, -0.0307704583, 0.011218599, 0.0534427501, 0.0379727893, -0.046246659, -0.0272684619, -0.0128159393, -0.0009458125, -0.0458284467, 0.0078199431, 0.0106872283, -0.0247677546, 0.0336413272, 0.0043908847, -0.0137482807, -0.0417969748, 0.0470027104, 0.0483801626, -0.0397404432, 0.0429768451, 0.0367829353, -0.0291763172, 0.0040211049, 0.1100365743, 0.0467811413, 0.0247508511, 0.0424738638, 0.0152098294, -0.0331687294, 0.0031735227, -0.0323263891, 0.0289218556, 0.001829316, 0.0297779702, -0.0605149195, -0.0450570844, 0.0631147698, -0.0181479249, 0.0121002113, 0.025987735, 0.0127347996, 0.0315386839, 0.0193174127, -0.0309183244, -0.0499392524, -0.0454547144, 0.0315516852, -0.0236821417, -0.0423028171, -6.386659173e-33, -0.023160385, -0.0515662394, -0.0231077094, -0.0121931992, 0.0344741344, 0.0193495955, -0.0341363586, 0.0023356008, -0.003681384, 0.0198920909, -0.0137622235, -0.0051520942, 0.017680943, 0.0315884873, 0.0506247655, -0.0249216836, 0.0187027622, 0.0138256131, -0.0325017683, -0.0077932947, 0.0499790013, 0.0007942843, 0.0463038757, -0.026042046, 0.059213575, -0.0020475872, -0.0138704767, 0.0321796685, 0.0221418738, 0.0534039214, -0.0162371323, 0.052662082, 0.0389853492, -0.0428530462, 0.0059607602, 0.0098760948, -0.0915459022, -0.037516091, 0.0169088896, 0.0025117227, -0.0573289096, 0.00076874, -0.0127126034, -0.0332554206, 0.0155229168, -0.0146550639, 0.04357085, -0.0106149688, -0.0244498141, -0.0311183892, -0.084795326, 0.0266328547, 0.0106167858, -0.0057331901, 0.0232417583, 0.0657782853, 0.0202785637, 0.0484310389, -0.0454743877, 0.0048246458, -0.0036342628, 0.0529333763, 0.0092885401, 0.032926552, -0.0381004885, 0.0530985333, 0.005703154, -0.0060293018, -0.0320482701, -0.0162014179, 0.0002737654, 0.0354690216, 0.0431930386, 0.0471322313, 0.024442682, 0.0485683344, -0.0766296238, -0.0100231571, 0.0253262371, 0.0249576811, -0.0008413363, -0.0016564295, -0.0361308195, -0.0767871737, -0.0502057634, -0.0727674365, -0.046137955, 0.0181112699, 0.0268820263, 0.0365447029, -0.0184438732, 0.0288320351, 0.0402786508, -0.0442457497, -0.0529509299, 0.0046686353, -0.015395605, 0.0186135657, 0.0034370429, 0.0377042852, -0.052194044, -0.0293264966, 0.0314752869, -0.0184976757, 0.0400119275, -0.0027465709, 0.0726638585, 0.0047513959, -0.0537261851, -0.0150282783, -0.0444988795, -0.0010961777, -0.0248150285, 0.0085426867, 0.0483908355, 0.0493399687, -0.0084103271, 0.074147433, 0.0386828706, 0.0187881347, 0.0004711508, 0.0185745563, -0.0134524526, 0.0158409327, -0.0253625456, -0.03880677, -0.0005865177, -0.0010136829, 0.0540204868, -0.0288291648, -0.0110883825, 0.0076027489, 2.5e-7, 0.0597387441, 0.0638148859, 0.0146801788, 0.0341521539, 0.032974869, 0.0380675644, 0.0087790033, 0.0137601588, -0.0354996473, -0.0677251965, -0.0152670182, -0.0271470994, 0.0301161185, 0.0463868007, -0.0844321772, 0.0310290866, -0.083312504, 0.0067841839, -0.0278478265, -0.0140866777, 0.0585224181, 0.0940719917, 0.0085867085, 0.017797811, -0.0282248668, -0.0240190569, 0.050321091, 0.0313895606, 0.0027007738, 0.0053231963, -0.0112904264, -0.0265908986, 0.020422738, 0.047170911, -0.0024571009, 0.0060781073, -0.0017640367, 0.0371685363, -0.0207262319, -0.0131071266, -0.0138763534, 0.0066263792, -0.0077520162, -0.015021625, 0.0878436565, -0.0590659678, -0.0243484639, -0.0263645444, -0.0298884939, 0.0242769346, -0.0071494877, 0.0326869152, -0.0236650929, 0.0351646356, 0.027679164, 0.0098784855, -0.0505891964, -0.0453275256, -0.0226603243, -0.0181326456, -0.0087503288, -0.0180531926, 0.012630214, -0.0019665915, -0.0214415975, -0.0868481547, -0.0018824906, 2.434117504e-34, 0.0243968051, 0.0115450677, 0.001939483, 0.0468339957, 0.018772928, -0.0333849564, -0.0469896235, 0.0208714046, 0.0284059588, -0.070053339, -0.0191405825 ]
http://arxiv.org/abs/2401.06866v2
http://arxiv.org/pdf/2401.06866v2
Health-LLM: Large Language Models for Health Prediction via Wearable Sensor Data
2024-01-12T19:40:11
2024-04-27T06:20:26
Yubin Kim, Xuhai Xu, Daniel McDuff, Cynthia Breazeal, Hae Won Park
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) are capable of many natural language tasks, yet they are far from perfect. In health applications, grounding and interpreting domain-specific and non-linguistic data is crucial. This paper investigates the capacity of LLMs to make inferences about health based on contextual information (e.g. user demographics, health knowledge) and physiological data (e.g. resting heart rate, sleep minutes). We present a comprehensive evaluation of 12 state-of-the-art LLMs with prompting and fine-tuning techniques on four public health datasets (PMData, LifeSnaps, GLOBEM and AW_FB). Our experiments cover 10 consumer health prediction tasks in mental health, activity, metabolic, and sleep assessment. Our fine-tuned model, HealthAlpaca exhibits comparable performance to much larger models (GPT-3.5, GPT-4 and Gemini-Pro), achieving the best performance in 8 out of 10 tasks. Ablation studies highlight the effectiveness of context enhancement strategies. Notably, we observe that our context enhancement can yield up to 23.8% improvement in performance. While constructing contextually rich prompts (combining user context, health knowledge and temporal information) exhibits synergistic improvement, the inclusion of health knowledge context in prompts significantly enhances overall performance.
[ 0.0399923772, 0.0545199513, -0.0108532198, -0.007001475, 0.008133145, 0.0055033006, 0.0131567512, -0.0075792279, 0.0414587297, -0.0259580985, 0.0012511836, -0.0154768452, 0.0172146279, 0.0201102793, -0.0066263597, -0.0264269058, 0.0193396341, -0.009377704, 0.0578527115, 0.033650957, 0.0143569112, -0.0041907569, 0.0064023151, 0.0581341125, -0.0102463346, -0.0006082091, 0.0137633011, -0.0104470793, 0.0242663566, -0.1110028699, 0.0217966661, 0.0563540496, -0.0122204097, -0.0108963586, 0.0000019565, -0.0378030576, 0.007949966, 0.026467599, -0.0276622027, -0.0620635338, 0.0635194033, -0.0455617197, 0.0286007859, 0.0227545556, -0.061123237, -0.0134102544, 0.0443933941, 0.0420843475, 0.0197436754, 0.0353128649, -0.0265371613, 0.0138176093, -0.0259733498, -0.0093277097, 0.0344623737, -0.0223550685, 0.0450177677, -0.0308969431, 0.0469630584, -0.0190703664, 0.0111869797, 0.0242597312, -0.0140349176, 0.071427539, 0.0044065728, 0.0248239748, -0.0010118522, -0.0211427193, -0.0099346694, 0.084945105, 0.0135342954, 0.022740012, 0.0041999272, 0.0081044054, -0.0084371464, -0.0252205767, -0.0412188917, -0.0297120716, -0.0199945327, 0.0342060737, 0.018547792, 0.0499514192, 0.0669138357, 0.0075561423, -0.0156764816, 0.0908706412, 0.0011022151, -0.0317322612, 0.0082462011, -0.0023749236, -0.0134969382, -0.0351365134, 0.0310633387, 0.0063278615, -0.0440488979, 0.0131373778, -0.0331057534, 0.0024169709, 0.0472929738, -0.0411518142, 0.0005401534, 0.0551644601, -0.0159226749, 0.0135578429, 0.0183899309, -0.0002836814, 0.0159046985, -0.0305075366, -0.0379857458, -0.0187450349, -0.0315417573, 0.0138078211, -0.0037697894, -0.007122973, -0.0433130488, -0.0130693838, -0.1004161462, 0.0032380284, -0.0111629367, -0.0070040217, -0.0052465508, 0.0148128187, -0.0059634573, 0.0064673219, -0.032600712, 0.0085519496, 0.0060636722, 0.0318253823, -0.0000029277, -0.0568442754, 0.0185756888, -0.0199280586, 0.0029381635, -0.0219740625, 0.0156962927, 0.0394791774, 0.0513483137, -0.0348988511, -0.0395750329, -0.0350466296, -0.0372060277, -0.0333393328, -0.0394126102, -0.0609623902, 0.0325561017, 0.0071112304, 0.01116441, -0.0384195559, 0.0372489579, 0.038924519, -0.0403949358, 0.1049393117, -0.0482003316, 0.0041081505, 0.0071780114, 0.0168015137, 0.0394518785, 0.065640673, 0.044030685, -0.0192672685, 0.0219149347, -0.030747287, -0.0242332611, 0.043954175, 0.0132154217, -0.0402377807, 0.0288798157, 0.0060217455, -0.0044278852, 0.036484655, -0.0335803926, 0.0446563102, 0.0288671292, 0.0420109518, 0.086867623, 0.0621966273, 0.003009733, 0.0073344158, 0.0064286566, -0.0149297975, -0.0277800579, -0.0471545197, -0.0796217844, -0.027600769, -0.0523875616, -0.0136848176, -0.014887169, 0.0238968674, -0.013966647, -0.0464579575, -0.0425175913, -0.0489242747, 0.0499266014, 0.0141071388, 0.0234052483, -0.0337717794, -0.015480035, 0.0420641452, 0.0490347669, -0.0157491602, -0.01377548, -0.0125543457, 0.0262988694, 0.1092474088, 0.0047486392, -0.0207074285, -0.0069654454, 0.0066290274, 0.0280711353, -0.0105357617, 0.0088137342, 0.0078256531, 0.0398033597, -0.0547411367, -0.0364591517, 0.0411079377, 0.0025937613, -0.0395073816, 0.0041916082, 0.0575807393, 0.0243149456, 0.0111847185, -0.026737744, 0.010641288, -0.034836743, -0.0335480496, 0.0380860865, 0.007677645, 0.0290143639, 0.0262203496, 0.041753564, 0.0146073652, 0.029169742, -0.0594004206, -0.0179685019, 0.052299656, -0.0585348792, -0.0277695935, 0.0187740978, 0.0258423928, 0.0281238295, -0.0141010694, -0.0220701434, -0.0349476226, -0.0326602608, -0.0511071533, 0.0457524657, -0.012414569, -0.0341519341, 0.0334377252, 0.0447193421, -0.0350315012, 0.0356766321, -0.001921627, 0.0033303271, 0.0173451547, -0.0011444304, -0.023933785, -0.0515274778, -0.0261701066, -0.01000294, 0.008315823, 0.0098654861, 0.0050484468, 0.043133527, -0.0449680947, -0.0044799484, -0.1556801051, 0.0097721647, -0.0137081547, -0.0054521845, 0.0015018426, 0.0460928492, -0.0242169145, -0.0242596027, -0.0399768502, -0.0059511866, 0.0101251947, 0.0474704318, -0.0013073718, 0.0312019773, -0.0105643962, 0.0030215231, 0.0154565945, -0.0402690023, 0.0167838354, 0.016178919, -0.0186686013, -0.0106360428, -0.0418561958, -0.0382888801, -0.0027769709, 0.0144695165, 0.0231538098, -0.0132950377, 0.000048533, 0.0769026577, 0.0185032245, -0.0105757816, 0.0224733241, 0.0481564105, -0.0098410314, -0.0226903185, 0.0057076006, -0.0531650297, 0.0068111205, -0.0291639529, -0.0780787244, -0.0124394856, 0.0567397662, 0.0414571539, 0.0195234194, -0.0376474261, 0.0327475891, -0.0319630727, 0.0170263778, -0.0628985241, 0.048752673, -0.0270019602, 0.0687581748, 0.0043260711, -0.062110357, 0.0615999699, -0.0119347991, 0.014225577, -0.0433312915, -0.0483955219, -0.0359102152, 0.0195790883, -0.0130570764, 0.0083286958, 0.0361288153, -0.0186680779, 0.0142643647, -0.0335671939, -0.0480680652, -0.0688879862, 0.0241408087, -0.0679044649, -0.0017288788, 0.020964684, -0.0797031075, -0.0466033369, -0.0451199524, -0.0930838659, -0.0052171559, -0.0160977133, 0.0180779509, -0.030225452, 0.0002333365, -0.0326565281, 0.027384473, 0.0135140102, -0.0122821657, 0.008462741, 0.0079863137, 0.0665459782, 0.0480144881, 0.009180665, -0.0016444919, 0.0248958133, 0.0496498942, -0.0065912786, 0.0134102702, -0.0256972946, 0.0218375009, 0.0060934927, 0.0126225716, -0.0058323443, 0.04680999, 0.0471163169, -0.0430559292, 0.0213880558, 0.1510489732, 0.0107606435, -0.0364148207, 0.0347509757, -0.0074524977, -0.0082887057, -0.0097796768, -0.0050218613, -0.0737534612, -0.0703693405, -0.0037807079, 0.0635387748, -0.0260469671, -0.0187374931, -0.0135050723, -0.0365570597, 0.0002611353, 0.0168186557, -0.0201006159, -0.032419052, -0.0490267389, 0.019149363, -0.0313208848, 0.0334747955, -0.0514328703, 0.0069439863, 0.0115338871, -0.0081750993, -0.0809040815, -0.0752350017, 0.0509499274, -0.0001455343, 0.0363477096, 0.0771741867, 0.0471160971, 0.0142023442, -0.0240687542, -0.0036607285, -0.0167428106, 0.0120158065, -0.0560438819, 0.0083401268, 0.0225705374, -0.0134773115, -0.0572912134, 0.0812008604, -0.0618382432, -0.0418221839, 0.0443426482, 0.0801422596, -0.0112236198, -0.0129481088, -0.0483007729, 0.0357944183, 0.0656428933, 0.0751695931, -0.0037331604, -0.0622548014, -0.0057971263, -0.004906558, -0.0183319915, 0.0178810246, -0.0317920782, 0.0053809923, -0.028800521, -0.0041174632, -0.0383259878, -0.0400058143, 0.0396793485, 0.0013853518, 0.0272369832, 0.0574016161, 0.0404456072, 0.0183781981, -0.0498014651, 0.0709071979, 0.008671239, 0.0402757265, -0.0390865803, 0.0018769393, 0.0378624238, -0.0110575613, 0.0091480603, 0.0565649942, -0.0787008852, -0.0296179373, -0.0031138521, 0.0487936921, 0.0206628516, 0.049854178, -0.0265575256, -0.0292575564, 0.0145366769, 0.0574480332, -0.0376022123, 0.0198691692, -0.0148458621, 0.0461524203, 0.0219699629, 0.0362057239, -0.0034462947, 0.0189270061, -0.0140081532, 0.0323765464, -0.0396292694, -0.0365560316, 0.0148564046, 0.0261629838, 0.0665150434, -0.0214698687, -0.0121405013, 0.0059880917, 0.0034148861, -0.0350659005, -0.0152765773, -0.0280821491, 0.0039070281, 0.0158002656, 0.0228161197, -0.0126900198, 0.0012435636, -0.0356886387, -0.0416271202, -0.0637780502, 0.0476594754, -0.0074832565, 0.0278045554, 0.0482629426, -0.0126876337, 0.0031092782, 0.0255984757, -0.0185873248, 0.0006201398, -0.0043762811, 0.0625914931, -0.0207318552, -0.0173051246, -0.026294183, 0.0491945855, -0.0393072814, 0.0055262865, 0.0159624144, 0.0211960655, 0.0021886297, -0.0059519806, 0.015178876, -0.0056902077, -0.016097663, -0.0393675528, 0.0373338349, -0.0035744072, -0.0064210338, 0.0833309144, -0.0118944561, -0.041848477, -0.0039957906, 0.0744233951, 0.0123502025, 0.0117941136, 0.0437575839, -0.0710097402, -0.0356522165, 0.0169151872, 0.0125117768, 0.0346526429, -0.0840989575, 0.0055153905, -0.0674600974, -0.0640702099, 0.0605342276, -0.0266231298, -0.0258533079, -0.0029971802, 0.0367364399, 0.0289660823, -0.026873026, -0.043040555, -0.0207839366, 0.0334636495, -0.0604139157, -0.0285605416, -0.0185581017, -6.021334263e-33, -0.0157844238, -0.0443906859, 0.0300568212, -0.0065899701, -0.0033787347, 0.0312087461, -0.0285638738, 0.0136052575, 0.0092237433, -0.0021468229, 0.0021182545, -0.0078982478, 0.0176028982, 0.0364546068, 0.0002271809, -0.0560255907, 0.035366185, 0.0213180576, -0.0087326495, 0.01121426, 0.0157108717, 0.0648964345, 0.0221153665, -0.1021814048, 0.0378942303, 0.0121264253, 0.0040235752, 0.0226724632, -0.0121044107, 0.0444667935, -0.0670960918, 0.1060404554, 0.0345327742, 0.0285627265, -0.0225195959, 0.0738839507, -0.0517245345, -0.0367191173, 0.0282662418, -0.0192175806, -0.0196558665, -0.0388919935, 0.03547417, -0.0103535885, -0.0348095559, 0.0083341179, 0.0363728851, -0.0862525254, -0.0252536479, -0.0045350436, 0.0090315919, 0.0234659165, 0.0083594844, 0.0058346605, -0.0197327603, 0.0277616382, -0.0508331731, 0.0365454592, -0.0574590079, 0.0183266904, 0.0303462762, -0.0052223643, 0.0152886612, 0.0184038319, 0.0055370107, 0.0489119962, 0.0030058492, -0.0290317275, -0.0314079933, 0.0147425691, -0.0182826873, 0.0511444509, 0.0279131401, 0.0330326483, 0.0175046921, -0.0203322526, -0.0686699077, 0.0180026256, -0.0142928949, -0.0362285972, 0.0332516655, -0.0021373848, -0.0364326127, -0.0358099528, -0.0252896957, 0.0296812151, -0.0418674052, -0.0274483971, 0.032754153, 0.0182782952, 0.0150480028, 0.0288070571, -0.0236573927, -0.0509519242, 0.0100081973, -0.0029813407, 0.0316408277, -0.0490763746, -0.0015254044, -0.0024181686, -0.0452500694, 0.0208785217, -0.0047867512, 0.0296228509, 0.0291201342, -0.0166192129, 0.0154870534, 0.0132879727, -0.036147546, -0.0421825722, 0.0243659932, 0.0204962455, -0.0078202933, -0.0144619448, 0.0447138511, 0.0035139951, -0.0109796552, 0.101431638, -0.0019976033, 0.0311070345, -0.0469917282, -0.0134932548, 0.0204068329, 0.009943679, -0.0200320389, -0.0268996004, -0.0186393764, 0.0168471653, 0.0348816328, -0.0425548889, -0.0094639286, -0.0119643481, 2.664e-7, 0.0446572006, 0.043944519, -0.0544538423, -0.0506642461, 0.0288458895, 0.0281753968, -0.0081950286, 0.0176236052, 0.0021532134, 0.0147110112, 0.0161101427, 0.0046257428, 0.0462837294, 0.0409448631, -0.04735763, -0.0226933733, -0.0271159541, -0.0183745269, -0.0742330924, 0.010173643, 0.056747131, 0.0995651782, -0.0061586709, -0.023249751, 0.0244052429, -0.0278105251, 0.032621637, -0.0665454641, -0.0331755131, -0.0295142755, 0.0021412941, 0.0135419909, 0.0149034141, -0.0105736647, -0.0147435088, -0.0050198357, -0.0073877745, 0.092250444, -0.0207380038, 0.0122888461, -0.0094448198, 0.0226250105, -0.0250795465, -0.0201946795, 0.0932641476, -0.0683317482, -0.0641496405, -0.0212536119, 0.0077100857, -0.031421721, 0.0171501264, -0.0168801807, -0.0188893601, -0.0036968403, 0.0283385385, -0.0138604632, -0.0189854447, -0.0502696857, -0.0343607925, 0.0322363079, -0.0314330198, -0.0480830744, -0.0335580371, -0.0025223377, -0.0078305164, -0.088791579, 0.0359245613, 2.377207277e-34, 0.0087900804, 0.0151236812, 0.005224443, -0.0040447963, 0.0260108523, 0.0009913924, 0.0138471778, 0.0378697626, 0.0234566759, -0.0969093964, -0.0152501743 ]
http://arxiv.org/abs/2401.06855v3
http://arxiv.org/pdf/2401.06855v3
Fine-grained Hallucination Detection and Editing for Language Models
2024-01-12T19:02:48
2024-02-21T22:20:12
Abhika Mishra, Akari Asai, Vidhisha Balachandran, Yizhong Wang, Graham Neubig, Yulia Tsvetkov, Hannaneh Hajishirzi
cs.CL
cs.CL
Large language models (LMs) are prone to generate factual errors, which are often called hallucinations. In this paper, we introduce a comprehensive taxonomy of hallucinations and argue that hallucinations manifest in diverse forms, each requiring varying degrees of careful assessments to verify factuality. We propose a novel task of automatic fine-grained hallucination detection and construct a new evaluation benchmark, FavaBench, that includes about one thousand fine-grained human judgments on three LM outputs across various domains. Our analysis reveals that ChatGPT and Llama2-Chat (70B, 7B) exhibit diverse types of hallucinations in the majority of their outputs in information-seeking scenarios. We train FAVA, a retrieval-augmented LM by carefully creating synthetic data to detect and correct fine-grained hallucinations. On our benchmark, our automatic and human evaluations show that FAVA significantly outperforms ChatGPT and GPT-4 on fine-grained hallucination detection, and edits suggested by FAVA improve the factuality of LM-generated text.
[ 0.0654632151, 0.0293188784, -0.021950284, 0.0434790514, -0.0485677421, 0.0154118612, -0.0459285975, 0.0195270572, 0.011871255, -0.0710094422, -0.0245467145, -0.0631422997, 0.0015991681, -0.009018206, 0.0391332731, -0.0526570566, 0.0802708343, -0.0241256319, 0.0191940591, -0.0043354691, 0.0199534316, 0.0103426296, 0.0124875521, 0.0387311913, -0.0176041331, -0.0375143178, 0.0027182335, 0.0084581189, 0.0000533816, 0.0122511722, 0.0108144386, 0.0893080011, -0.029030228, 0.0980498791, 0.0000022021, -0.0437486097, -0.0120119341, -0.0098584676, -0.0139962984, 0.048535388, 0.0609188229, 0.0082582301, -0.0340390727, 0.0078287199, -0.0279661957, 0.0009015958, 0.035042759, 0.0825058818, 0.0709393397, 0.0845511183, -0.0050230375, -0.0192149635, 0.0363191217, 0.0153199574, 0.0619346723, 0.0162172802, 0.0424574688, 0.022409115, -0.0033402266, -0.0001147967, 0.0153331514, 0.0303376075, -0.0044943099, -0.0267383717, -0.0110079963, 0.0163255781, -0.1059730724, -0.029173065, 0.0144508677, 0.0495494045, -0.0213664789, -0.0597447269, 0.0075354823, 0.0143391863, 0.0179420672, -0.0248262212, -0.0214525554, 0.0104882969, -0.0238967743, 0.0057194023, 0.0331034809, -0.0432344303, 0.0420752317, 0.0012075504, -0.0255175289, 0.0557929352, 0.0174359176, -0.0510794856, 0.0002936786, -0.007369007, -0.0044429889, -0.0675467178, 0.0154145695, 0.0070208553, -0.0410713851, -0.0106634283, -0.0533961616, 0.0160910618, 0.0556856766, -0.0985758677, -0.0054460983, 0.0084172925, -0.0733071342, 0.0508289859, -0.0147859138, 0.0273206271, -0.0146650942, 0.0697981417, -0.0104524521, 0.0046459897, -0.0211111698, -0.0077693802, -0.0430416688, 0.0109320674, -0.0058816387, 0.0002199714, -0.0308239721, -0.0147618186, -0.036890354, 0.0165910032, -0.0246539805, 0.0074550356, 0.0051392354, -0.031134313, -0.0275574662, 0.0146345384, -0.0038041917, -0.0018355589, 0.0223495755, -0.0928936154, -0.0143965809, 0.0116130896, -0.0171921439, -0.0077478541, 0.0097672911, 0.0173170157, 0.0152772954, -0.0208680574, -0.0447011814, -0.0302029923, -0.0119309453, -0.0781199709, -0.0070527904, -0.0676511079, -0.0017324984, -0.011422745, -0.0203659479, -0.0169935618, 0.0290610436, 0.0195562616, -0.0448176824, 0.0793237239, -0.0499002263, -0.0003756777, 0.0472912602, 0.0250032227, -0.0160050392, 0.0670838654, 0.0131529598, 0.0562348515, 0.044038292, -0.0051794052, 0.0508903228, 0.0419386104, -0.0182258524, 0.0181057286, -0.0248240456, -0.0058377716, -0.0011584505, 0.0211641472, 0.0015716807, 0.0827769488, -0.0200085063, -0.0127282329, 0.0830950886, 0.0092813959, 0.0097816307, 0.0058662361, 0.0317202657, 0.0081532197, 0.0236176867, 0.0476268455, -0.0725327432, 0.0213595442, -0.0681155398, -0.0033876584, 0.0692800134, -0.0043550599, 0.0080217309, -0.0427890234, -0.0232642051, 0.0222719181, 0.009825822, -0.0175715704, 0.0139767472, 0.0261177719, -0.0613200702, 0.0317804255, 0.0507210977, -0.021458542, -0.0007840932, -0.066002883, -0.0071291793, 0.105830051, 0.0791585892, -0.0205683559, -0.001167428, -0.0350210555, 0.0271220338, 0.0613379255, 0.0718302131, 0.0077996734, -0.0272287671, -0.0394646414, 0.0260331929, -0.0010635552, 0.070707567, -0.0031876087, -0.0024037967, -0.0177868791, 0.0077490513, -0.0391487852, -0.0621875823, 0.035861183, 0.0026094436, -0.0121158222, -0.0465516709, -0.0227939617, -0.0177761, -0.0085974392, -0.0275912527, 0.0359651744, -0.0127875945, -0.0176492408, -0.0317470059, -0.0026511401, 0.0029056671, -0.0040893881, 0.0510412976, 0.0018330551, -0.0223849434, 0.0072722444, -0.0017830551, -0.0152674969, 0.0065615629, -0.0543504395, 0.0359000079, -0.0613818876, 0.0541467741, -0.0133818444, 0.0428245589, -0.0153149338, 0.0821805745, -0.0178198963, 0.0180910211, 0.0031261302, -0.0046449439, -0.0233873501, -0.0189005043, -0.0306915324, 0.0166998897, 0.0061270874, 0.0312241931, -0.0093485825, -0.0306587964, -0.0553489923, -0.0358471721, -0.0720376149, 0.0002602225, -0.0288585871, 0.0039233202, 0.0442329422, -0.019983504, -0.0191283301, 0.0144307809, 0.0056548817, 0.0115509257, 0.0043688789, 0.0434302539, 0.020229809, -0.0020535756, -0.0362444706, -0.0545722581, 0.0283674859, -0.0277286898, 0.0297399424, -0.0001842791, -0.0428857096, -0.0701259449, 0.0292744562, -0.0500675216, 0.0203581676, -0.0067639207, -0.0482960343, 0.0027250033, -0.019802006, 0.0615308397, 0.0478901416, 0.0317829736, 0.0333285257, 0.0701500252, -0.0254583526, -0.0242930185, -0.0234038513, 0.0073694438, 0.0058754273, -0.004106719, -0.0589730851, 0.0200561956, 0.055572357, 0.0101956222, 0.0079225125, -0.0518929884, 0.0423377603, -0.0414535999, -0.0465525277, 0.0300671719, -0.0252073649, -0.030606512, 0.0551744513, -0.042127654, -0.0493052267, 0.0751047134, -0.0385239609, 0.012475457, -0.0086278338, -0.0107279792, 0.0064284275, 0.023246916, 0.0081579452, 0.0152655672, 0.0100784451, -0.0232102256, -0.036202047, -0.0020066637, 0.0063823704, -0.0675664321, 0.0268296245, -0.0442684628, 0.0100650657, 0.0315007456, -0.0064541576, -0.0490878597, -0.044878412, -0.017585855, -0.0246212557, -0.0034398742, 0.003232755, -0.0429633632, -0.0010591097, -0.0018168748, 0.0393206142, -0.0301881433, -0.0201020036, 0.0046068733, -0.0079601659, 0.0600900799, -0.0298318435, 0.0602674931, -0.0520741828, 0.0119942371, 0.0698913112, 0.0076694083, 0.0331038758, -0.0088697141, -0.0406468101, 0.0105489278, -0.0292392299, -0.0441968143, -0.0052960701, 0.0340105742, -0.0596663579, -0.0395970605, 0.1131471023, 0.0397834368, -0.0526406877, 0.0074231662, -0.0621461719, 0.0449321307, 0.0088401437, 0.0135893906, -0.0844968483, -0.0209651701, 0.0172823519, -0.0149573199, -0.0420595482, -0.0168672781, -0.0096870624, -0.090020746, 0.0460450277, 0.0210497938, -0.0126043493, -0.0350877382, -0.0114237377, 0.0248265974, 0.0215323027, 0.0292409435, 0.0176542252, 0.0050437273, -0.0170306545, -0.0003601853, -0.026652569, -0.0401234068, 0.0381560102, -0.0132497149, 0.0819083974, 0.0736182258, 0.0368121825, -0.012239485, -0.0723868683, 0.0458031036, 0.0156585984, -0.0127860866, 0.0210345481, 0.0654324815, 0.0172848515, 0.0067895288, -0.0181081183, -0.003587397, 0.0076321419, -0.0100358808, -0.0117611289, 0.064624615, -0.0462926477, -0.0482728109, 0.0062797517, 0.0405335054, 0.0132256607, 0.0684348345, 0.0447394215, -0.0221436564, -0.0418350287, -0.0421526395, 0.0354318358, -0.0321922265, -0.062535204, 0.0313870646, 0.0326972939, -0.0278299004, -0.0839820132, -0.0501560867, 0.0087624509, -0.0060651698, 0.0061624716, 0.0255141594, -0.0184013415, -0.0201988705, -0.0023361363, 0.0221453421, -0.0481167957, 0.0162760392, -0.0419018827, 0.0091241105, 0.0075676902, -0.0129795074, 0.0017847999, 0.0241531879, -0.0869581774, -0.0725307092, 0.0551812015, 0.0287629142, 0.0279694702, 0.0316220038, -0.0447062626, -0.0543078147, 0.018812608, 0.0565103553, -0.0097969566, 0.0281904079, 0.0129085649, -0.0263065081, 0.0130631831, 0.0398216955, -0.020488508, 0.0145644387, -0.0338540412, 0.0155201703, 0.0034189753, -0.024848422, 0.0535552911, 0.0108410753, 0.0217015687, -0.0088497214, 0.0021093187, -0.0326509513, 0.0001705767, -0.0313526727, -0.02913698, -0.0096771838, -0.0086736465, 0.0206735693, -0.0224573705, 0.0010932724, -0.030286856, -0.0511238389, 0.0123836426, -0.047087267, -0.0323096439, -0.011661157, 0.0181338172, 0.0514359213, -0.0233387686, -0.01820134, 0.0275396109, 0.0004229089, 0.0567910224, -0.014035115, 0.0567456335, 0.0113522606, -0.0403212421, -0.0148001779, 0.0266820528, -0.0313271284, -0.0537587702, -0.0287867654, 0.0509532653, 0.0533573851, 0.0051103933, 0.0806492716, -0.033610601, -0.0020104183, -0.0103852153, 0.0133586489, 0.0439842828, -0.0457878858, -0.024526475, 0.0250015184, -0.0277918726, -0.0104177892, 0.0626970008, -0.0362271369, 0.0712041408, 0.0093823578, -0.029652454, -0.0261304677, -0.0584628284, -0.0746507868, -0.0079866033, -0.0271539204, -0.0309069306, -0.0779991671, -0.051445093, -0.0330486372, 0.0236487016, -0.0054519083, -0.0089596743, -0.007555393, 0.0886820778, -0.0190344937, -0.0025118634, -0.0372970067, -0.0106651541, 0.0383547731, -0.0028378773, -0.0026149296, -7.034674678e-33, 0.0040101162, -0.031829793, 0.003479738, -0.0207506139, -0.0280791111, -0.0292256773, -0.0251310244, 0.0195582639, -0.0010303645, 0.0342549942, -0.0097793136, 0.0416180827, 0.0137357991, -0.0146005023, 0.004192512, -0.0034707319, 0.0506080016, 0.0190742295, -0.0304011274, 0.0235901698, 0.0175534841, 0.0091427499, 0.0616285391, -0.0562979877, 0.0628020391, -0.0297774281, -0.0469359308, 0.0260889344, -0.0353446156, 0.0430433862, -0.0207889788, 0.0317629799, 0.0117697865, -0.0193274468, -0.0180094168, -0.0171385966, -0.0117945988, -0.004320967, 0.023861194, 0.0233665742, -0.0197409652, -0.0215983, 0.0465622433, -0.0338960551, 0.0025459952, 0.0116243195, 0.0298825633, -0.0355660357, -0.0004022316, 0.0529200733, -0.072295256, 0.0148924375, 0.0216000136, -0.0280806608, -0.0058808052, 0.045556616, 0.0029314458, -0.0170418937, -0.0873849541, 0.0338108242, 0.012036887, 0.0286451112, 0.0297790188, -0.0258283895, -0.0034433019, 0.0770376697, 0.0646263361, 0.051602032, -0.0357106514, -0.0161490068, 0.0264072791, 0.036997389, 0.026932301, 0.0342742465, 0.0555514842, -0.0281527452, -0.0254837163, -0.0007666985, -0.0470859483, 0.0233718026, 0.0562832244, 0.0023248976, -0.0545846224, -0.022567803, -0.0090741189, 0.0211214125, -0.0495922565, -0.0212097596, 0.0134743396, 0.0007380843, -0.0168288145, -0.0307083614, 0.0133880293, -0.0307183266, 0.005693879, -0.0030889416, -0.046706479, 0.0078437999, -0.0030141564, 0.0112111559, 0.0244910102, -0.0076158047, 0.0239808094, 0.0009694346, 0.0228475872, 0.023641564, 0.0269007739, 0.0002562776, -0.072410427, 0.0204036497, -0.0405712575, 0.0479999371, -0.0038633018, -0.0235747974, 0.0458333008, -0.0088579264, -0.0251517929, -0.0023421834, 0.0584783219, 0.0434959121, -0.0239941571, 0.0347480774, -0.0390613563, 0.0075146598, -0.0356063806, 0.0060356068, -0.0529771, -0.0027903307, 0.0409618989, -0.0728690475, -0.0022110362, -0.008526532, 2.934e-7, 0.0075482768, 0.0909862965, 0.0080935843, 0.0121762324, 0.0154092778, 0.0447701253, 0.0063753556, 0.0068249614, 0.0333456434, -0.0446429439, -0.0268554892, 0.007823213, 0.0559336208, 0.0613087118, -0.0716020614, -0.0092108417, -0.0484790206, -0.0007765018, -0.0637924075, -0.0587871708, 0.0437507927, 0.057039611, 0.0322514325, -0.0226954781, -0.0014556629, -0.0594524629, 0.0621407814, -0.0146816857, -0.0228446405, 0.0483444706, 0.0626876801, 0.0397848599, 0.0252775978, 0.0265139043, -0.0114670191, -0.0409715027, 0.0034680723, 0.022618046, -0.0108602913, -0.0058721732, -0.0010365191, -0.0101323025, -0.0016959057, -0.076948598, 0.0721146688, -0.0228616372, -0.0140434531, -0.0260006972, -0.0399240404, -0.0128929606, 0.0437132232, -0.019004561, -0.0396272168, 0.0335701033, -0.0005055323, 0.0450515598, -0.0196699984, -0.0441156328, -0.0274872556, 0.0155253028, -0.0052515608, -0.0250957217, -0.0069605005, -0.009486598, -0.0173250306, -0.0842722058, 0.0311652347, 2.933799949e-34, 0.0405627936, 0.0050460007, 0.0478579998, 0.0175393242, 0.0438919775, 0.032166075, 0.0492008701, 0.0135108167, -0.0141491415, -0.04011577, -0.0032343592 ]
http://arxiv.org/abs/2401.06853v5
http://arxiv.org/pdf/2401.06853v5
Large Language Models Can Learn Temporal Reasoning
2024-01-12T19:00:26
2024-06-11T02:38:27
Siheng Xiong, Ali Payani, Ramana Kompella, Faramarz Fekri
cs.CL
cs.CL
While large language models (LLMs) have demonstrated remarkable reasoning capabilities, they are not without their flaws and inaccuracies. Recent studies have introduced various methods to mitigate these limitations. Temporal reasoning (TR), in particular, presents a significant challenge for LLMs due to its reliance on diverse temporal concepts and intricate temporal logic. In this paper, we propose TG-LLM, a novel framework towards language-based TR. Instead of reasoning over the original context, we adopt a latent representation, temporal graph (TG) that enhances the learning of TR. A synthetic dataset (TGQA), which is fully controllable and requires minimal supervision, is constructed for fine-tuning LLMs on this text-to-TG translation task. We confirmed in experiments that the capability of TG translation learned on our dataset can be transferred to other TR tasks and benchmarks. On top of that, we teach LLM to perform deliberate reasoning over the TGs via Chain-of-Thought (CoT) bootstrapping and graph data augmentation. We observed that those strategies, which maintain a balance between usefulness and diversity, bring more reliable CoTs and final results than the vanilla CoT distillation.
[ 0.0429141559, 0.0792068318, -0.0106686261, 0.0218174923, -0.0686645359, 0.0208065137, 0.0317637101, -0.0136318607, 0.0225168653, -0.0253737923, 0.0181550719, -0.0394717716, 0.0093710376, 0.0535578653, 0.0138662793, -0.0509042293, 0.0412405767, -0.0330448747, 0.001247228, 0.0059606018, -0.0068617798, 0.0201519672, -0.015856307, 0.0315535031, -0.0079798847, -0.0323905833, -0.0229305066, -0.0075648837, 0.0472857095, -0.0317642912, -0.0407879651, 0.0277437828, 0.0528542213, 0.0497083962, 0.0000019772, -0.0025728827, -0.0175394993, -0.0183136668, -0.0351817124, -0.0039141397, 0.0253403187, -0.0083781481, 0.0288986415, -0.0033846828, -0.0749499723, -0.0228711795, 0.0034650466, 0.0312212724, 0.0474276803, 0.1008544788, -0.0105249733, -0.0057583577, 0.0060183136, -0.0354518741, 0.026449997, -0.0613133684, -0.0054940507, 0.0540338904, 0.0382372737, 0.0070421556, -0.0340471119, 0.0395724997, 0.0393506624, -0.0311904084, 0.0076945839, 0.0574996807, -0.0077345222, 0.0143846162, -0.0007830721, 0.0880175903, 0.0003461961, -0.0512425229, -0.0026443542, 0.0128131099, -0.0307335835, -0.0093288161, -0.0477198921, -0.0048524672, -0.0036853396, 0.040001113, 0.0247598719, 0.0083518391, 0.0479636006, 0.0197171178, -0.0496492013, 0.0863495767, 0.0003920607, 0.0015584326, -0.0151370494, 0.004988187, -0.0032880944, -0.0407817997, 0.0122402785, 0.0661905035, -0.0358162746, 0.0289896466, -0.0163673572, 0.0056739324, -0.0319102481, -0.01423644, 0.0002934071, 0.0454432517, 0.0206807684, 0.0644480437, -0.0389354527, 0.0550101027, -0.0412345305, 0.0414250679, -0.050869219, -0.0061284816, -0.0700100735, 0.0027711445, -0.0105913458, 0.0019577867, -0.0273062121, -0.0084780455, -0.0305360928, 0.0359977223, -0.01423069, -0.0002870973, 0.0201457515, 0.0264426265, -0.0190638099, -0.0444792025, -0.042993404, 0.0299685299, -0.0028354276, 0.0177405644, -0.0001026421, -0.0178814661, -0.0275057815, -0.0028292565, 0.0094528664, -0.0389934666, -0.0033666329, 0.0543019474, -0.0282503329, 0.0066332556, -0.0559752211, -0.0314995907, -0.0317877866, -0.0588494837, 0.0173246656, -0.0851148441, 0.0412815288, 0.0133476341, -0.0115741175, -0.0188392773, 0.0152055649, 0.0018948338, -0.0295094643, 0.0737337619, 0.0249229148, 0.022835264, -0.0123560969, -0.0058682277, 0.0163474083, 0.0317499489, 0.0483867079, 0.0214688014, -0.011915464, 0.0395611003, -0.0522798821, 0.0007387726, 0.0254598726, 0.0042979433, -0.0662973225, -0.00071291, -0.0270566046, 0.0381397456, 0.0058301724, 0.045546528, -0.0363785289, 0.0009426227, 0.0472414047, 0.0039537465, -0.0048030405, -0.030940488, 0.0883501545, -0.0208312646, 0.001819891, -0.0119404653, -0.0539438091, 0.0341165513, 0.0052640694, 0.0028014947, -0.0284923594, -0.0038937535, -0.0109011168, -0.0298359767, 0.0042939042, 0.0082302755, 0.0417744741, 0.0118182786, 0.061626818, 0.0281178877, -0.0366598107, 0.0172381997, 0.0096099693, 0.0168438926, 0.0011625306, 0.001643607, 0.0103281224, 0.0852060765, 0.0436482541, -0.0013368544, -0.0599728599, -0.0269108936, 0.0283300579, 0.0168042742, 0.0586087517, -0.0275659449, -0.0239235386, -0.0419693179, -0.0363826267, -0.0006897991, -0.0050753905, 0.0090397149, 0.0326383226, 0.0491378754, 0.0171216615, -0.0726226568, -0.0127206463, 0.0195858348, -0.0319845788, -0.0184578076, -0.0095094386, 0.0280827116, 0.0002520602, 0.0122952498, 0.0049595418, 0.0226263236, 0.0115061095, -0.0414911248, -0.0251025148, 0.0493639968, -0.0781366676, -0.0956210196, 0.0444009155, -0.0020104093, -0.0445631258, 0.0055924882, -0.0680024698, -0.0513478667, 0.0444656797, 0.0216008332, 0.0177420713, -0.0236642323, 0.0173746906, 0.0032601233, -0.01377034, -0.0394312777, 0.0944586694, -0.0204112139, 0.0004241976, 0.0028794114, 0.0445477106, 0.0038140395, -0.0104509769, 0.009876254, 0.0252102148, 0.0242885649, -0.0152105987, 0.0143053178, 0.0210852604, -0.0625657961, -0.0046886508, -0.0733670965, 0.0100504784, -0.0066016959, 0.0232503302, 0.0091350442, -0.0227341559, 0.0285022669, -0.0150408633, -0.0353246927, 0.0128528252, 0.0041853008, 0.0011006329, 0.0338536277, 0.0010398768, -0.0008089085, -0.0109023266, -0.0212447196, -0.0596052706, 0.0699238256, -0.0059595197, -0.0334222429, -0.0031325202, 0.0162911341, -0.0374950394, 0.0247634593, -0.0246238541, 0.0138307763, 0.0325748138, -0.0331132337, 0.073115766, 0.0571837872, 0.003827411, 0.012447685, 0.0656700209, -0.0132419262, -0.0487825423, 0.0201096907, -0.0431796908, 0.0045705633, -0.0446549617, -0.0218672585, -0.0665742159, 0.0570178293, -0.0091973394, -0.0029150471, -0.0699988976, -0.0069295219, -0.0349003077, 0.00074739, -0.0260907095, 0.012487404, -0.0129210996, 0.010067679, -0.0746395737, -0.0256013758, 0.1033695266, 0.0131462049, 0.0130896317, 0.0137447994, -0.0156205958, -0.0559237488, 0.1044512242, 0.0187015645, -0.0137487911, -0.0137661798, -0.0281988606, -0.0641957074, -0.010125245, 0.0349578448, -0.0316854306, 0.047512047, -0.0597600974, 0.0168619398, 0.0141935172, 0.0015260364, -0.0476591364, -0.0385131016, -0.0386518463, 0.0012442118, -0.0366396159, 0.0049547218, -0.0303358082, -0.0155979907, -0.0090625538, 0.0307411011, -0.0229253508, -0.0104112234, -0.0225062277, 0.018600747, 0.0477347523, -0.0200116001, 0.0150753362, -0.0370926186, 0.0524347909, 0.0189562775, 0.0416045971, -0.0592585765, -0.073287569, 0.0201058593, -0.0322247483, 0.0316404216, -0.0112434458, -0.0042094565, 0.0449002497, -0.056576103, -0.0221396536, 0.0927851573, 0.0402047634, -0.0190284736, -0.0032225857, 0.0086223651, 0.0415102057, 0.036136169, 0.0076710153, -0.0812173858, -0.0253976751, 0.0038880433, -0.0160062555, 0.0183896217, -0.0652144477, -0.0291392617, -0.0748005882, 0.0053291172, 0.0400933474, -0.0113253016, -0.0044146637, -0.0038107377, -0.0080753928, 0.0006879178, -0.0011856529, 0.0069139465, 0.0022734127, 0.0094930371, 0.0230013989, 0.0013263723, -0.0413792543, 0.0583601221, 0.0196170956, 0.0447326899, -0.0016065704, 0.0617588758, 0.0365985818, -0.0259941276, 0.0456060097, 0.0236855485, -0.0048085437, -0.0152024264, 0.0280937366, 0.0364073515, -0.0131284222, 0.007301575, 0.0310632344, -0.0205299724, -0.0369839482, -0.0320074484, 0.1192621216, -0.0483587682, -0.0294022039, 0.0051127505, -0.0075797439, 0.0138221448, 0.0302667674, 0.0223130528, 0.0000242077, -0.0708014369, -0.0124121541, -0.0544863753, -0.0842333958, -0.0336807333, 0.005262285, -0.0182287712, 0.0145070851, -0.0647697151, -0.0285783429, 0.0179195069, 0.0447670072, -0.0061441041, 0.0010115672, 0.0178583823, -0.0276816115, -0.0507338233, 0.0436701402, -0.0537349321, 0.0391994528, -0.0059773289, 0.0016320298, -0.0167125128, -0.0302242208, -0.0037915236, 0.0383946225, -0.110276781, -0.0807470232, -0.0186936185, -0.0125137381, 0.0173963029, 0.0803192258, -0.0358556472, 0.0076359026, 0.0599270575, 0.0064463653, -0.006352291, -0.0236682445, 0.0260402709, 0.0072486247, 0.00367177, 0.0534335785, -0.0414993577, 0.0125472387, 0.0117673744, 0.0646393448, -0.0155257564, 0.0209504757, 0.0383786932, -0.0004046432, 0.0328567773, 0.0189576261, -0.003797499, -0.0436290689, -0.0034717994, -0.0420689955, -0.0165399443, -0.0307949279, 0.0039592497, 0.0450055376, -0.0075143836, -0.0123991333, -0.0364706814, 0.0291279647, 0.0256148241, -0.0110097528, -0.0143645294, -0.006769191, 0.0203611217, 0.0551173277, 0.0158160441, -0.0151586132, 0.0106786862, -0.0230415594, 0.0116652409, -0.0156527665, 0.0480496809, 0.0514256693, 0.0025836446, -0.0665282756, -0.0337456316, -0.12504372, -0.0064846566, 0.0237253811, -0.0242624432, 0.0673904791, -0.0135002602, 0.0553533733, -0.0430655703, -0.0070345062, 0.0056131459, 0.0669601485, 0.034068048, -0.043238949, 0.0279364828, 0.0125288954, 0.0079513462, 0.0208251514, 0.0566980429, 0.0028414535, 0.0277704541, 0.0248448867, -0.0199333504, -0.0153045775, -0.0353812687, -0.0673904344, -0.0179856382, -0.0162609331, 0.0168713666, -0.0514329709, -0.1008148044, 0.0051618884, 0.0253786668, -0.0192970447, 0.0147710228, -0.0076603121, 0.0386428051, 0.0150562208, -0.0152664604, -0.0519370176, 0.0652661994, 0.0669608712, -0.0346479975, -0.0650154874, -6.410394608e-33, 0.0001968581, -0.0461233929, 0.0535064153, 0.0071458188, -0.0463762321, 0.0083723729, -0.0656483397, -0.0146742137, -0.0330372564, 0.04863628, -0.0158090368, 0.0389830172, 0.0142519632, 0.0094627533, 0.0169159919, -0.0175861884, 0.0381995216, -0.0073539754, 0.0130133219, 0.0418117046, 0.0816029236, 0.0209191237, 0.0556176864, -0.057550706, 0.022523053, 0.0113423215, 0.0094471788, 0.0594166256, 0.0068500177, 0.0432648137, 0.0137949036, 0.0225638095, 0.0381540656, -0.0182526242, -0.0303678606, -0.0018128555, -0.1359612346, -0.0441165864, 0.0231329724, 0.0101062609, -0.042405948, -0.0396978967, -0.009320192, -0.0313784368, 0.0489246398, -0.0387376174, 0.0166159272, -0.0347420871, -0.0338923298, -0.027959533, -0.0422029346, 0.0417640097, -0.0233877879, -0.0163321961, 0.0295775831, 0.0429405198, 0.0041032205, -0.0122776451, -0.037440896, 0.0403298661, -0.0412707068, -0.0135458922, 0.0594966821, 0.0208027232, 0.0068091294, 0.0389176197, -0.0414230525, 0.0145558212, -0.045714505, 0.0333923995, 0.0289001297, 0.0344244093, 0.010745734, -0.0041109943, 0.0165262222, -0.0309570991, -0.0728472844, -0.0010382066, 0.0175424144, 0.0363178551, 0.0076679448, 0.0102685606, -0.0063760751, -0.0155908847, -0.0306050368, 0.0257857312, -0.0257534292, -0.0023721019, 0.0086375298, 0.0248282775, 0.0007407, -0.0132518457, 0.0443184897, -0.0421420261, -0.0099177649, 0.0518623069, -0.0343226604, 0.0018658944, -0.0044594072, 0.0519074574, -0.0394798815, -0.0317456275, 0.0382311493, -0.0178766903, 0.0072884117, -0.018738633, 0.079327479, 0.0257288069, -0.0324158221, -0.0175707117, -0.0673440769, 0.0015066772, -0.0024474727, -0.0300278887, 0.0501961447, 0.0135345506, -0.0243772902, 0.0490025319, 0.0243825931, 0.0235019475, -0.003593944, 0.0426383652, 0.0043657394, 0.0379755199, -0.032286074, -0.0109737273, -0.0441842973, 0.0333355814, 0.0439959504, -0.0363330506, -0.016608322, 0.0200007278, 2.667e-7, 0.0432171635, 0.0353636779, 0.0186162796, 0.0543189384, 0.0114681721, 0.0002986586, -0.0416499935, -0.0208669789, -0.0156298708, -0.0188749023, 0.044514019, 0.0598934516, 0.0553755574, 0.0390036441, -0.0115123941, -0.0040985667, -0.0363291577, -0.0305617489, -0.0496181585, -0.0271107927, 0.0626956895, 0.0714804828, 0.042029202, -0.0047129714, -0.006861168, -0.0508705564, 0.0878097042, 0.0019443721, -0.028861288, 0.0076655806, 0.0322134346, -0.0232228599, -0.0218628179, 0.0069701662, -0.0137757165, 0.0185890775, -0.0207225047, 0.0588504821, -0.0049588215, -0.0220833421, -0.0353654213, -0.0681247637, -0.0016851934, -0.0382765457, 0.0845527649, -0.0726303607, -0.0361750424, -0.0073824669, -0.0093318606, 0.0236432869, 0.0142725613, 0.0295930319, -0.0137771629, 0.0078527806, 0.0296880957, -0.0033066575, 0.0060886103, -0.0995738059, -0.043748267, 0.0435143262, -0.0280888602, -0.0009708848, -0.0069720414, 0.008074278, 0.014855844, -0.015533573, 0.0008330266, 2.587474288e-34, 0.0366022252, -0.0014641848, -0.0113696726, -0.023317745, 0.0473259427, -0.0312427543, -0.0156019758, 0.0151827391, 0.0343953706, -0.0835370496, -0.0380520746 ]
http://arxiv.org/abs/2401.06769v2
http://arxiv.org/pdf/2401.06769v2
Machine Translation Models are Zero-Shot Detectors of Translation Direction
2024-01-12T18:59:02
2024-05-22T17:10:39
Michelle Wastl, Jannis Vamvas, Rico Sennrich
cs.CL
cs.CL
Detecting the translation direction of parallel text has applications for machine translation training and evaluation, but also has forensic applications such as resolving plagiarism or forgery allegations. In this work, we explore an unsupervised approach to translation direction detection based on the simple hypothesis that $p(\text{translation}|\text{original})>p(\text{original}|\text{translation})$, motivated by the well-known simplification effect in translationese or machine-translationese. In experiments with massively multilingual machine translation models across 20 translation directions, we confirm the effectiveness of the approach for high-resource language pairs, achieving document-level accuracies of 82--96% for NMT-produced translations, and 60--81% for human translations, depending on the model used. Code and demo are available at https://github.com/ZurichNLP/translation-direction-detection
[ 0.0230624601, 0.040992327, -0.0394507051, 0.1078001782, -0.1000244915, 0.031171957, 0.0329933763, 0.0286071207, -0.0436813198, -0.0025186331, -0.0084824907, -0.0204490796, 0.0272155441, -0.0625904277, 0.0285876766, 0.0205469709, 0.0229412839, -0.0028975869, -0.0096240947, 0.0085290577, 0.029420929, 0.025038965, 0.0095920609, 0.0010401115, 0.0042695263, -0.0108483732, 0.0202866439, 0.0529556125, 0.0398159251, 0.0171384644, -0.0494067408, 0.0612934344, -0.0025334854, 0.1090507284, 0.0000017255, -0.0173793789, -0.0683340356, 0.0324977748, 0.0192793775, 0.0204264969, 0.0745820105, -0.0673350915, -0.0432313494, 0.0100506665, -0.0008340724, -0.0189405251, 0.0208157506, 0.0178060178, 0.0371902995, 0.1069788188, -0.0173587166, -0.0422300883, 0.0077449935, -0.0258500241, -0.0244914591, -0.008961115, -0.0121077625, -0.0263082962, -0.0569007136, 0.0419787429, 0.0074307588, 0.0547316819, 0.0049585346, -0.0201668963, -0.0665931925, -0.0299802311, -0.0225713439, 0.0041068196, 0.0220007244, 0.0254062954, -0.0675959438, -0.0478136465, -0.0083667804, -0.0265186913, -0.0035709299, 0.0369213633, -0.0197993722, 0.0655735955, -0.0194613077, 0.0175443534, 0.0394062623, 0.0279764608, 0.0333051495, 0.0080389278, -0.0030254731, -0.0142929554, 0.0522902794, -0.0590606034, -0.0303385053, 0.0202447455, 0.0223520119, 0.0011477548, 0.0415179692, -0.039399229, 0.0527737625, 0.0016925904, 0.0144944927, -0.1063318029, 0.0427131243, -0.0605044253, 0.0190128144, 0.0447486974, -0.0323989652, 0.0410530046, -0.0411927216, 0.0609526411, -0.0514234975, -0.004413534, -0.0596133098, -0.0368653983, 0.0458847545, 0.0358901434, 0.0179003011, -0.0520109385, -0.0238044765, 0.0216664337, -0.0194682181, -0.0077424631, 0.0293654297, 0.0058400095, -0.0232561976, -0.0537706576, -0.0276445094, -0.0330966264, 0.0442927852, 0.0639288351, 0.0060285288, 0.0049499604, -0.0466933697, -0.0214857738, -0.0441900976, 0.0596292987, -0.0112111662, -0.0259176064, -0.0118706245, 0.0540737249, -0.016019268, -0.0173472892, -0.0094797658, -0.0612096153, -0.0119332159, -0.051219929, 0.0116268918, -0.0599475428, -0.0041164621, -0.017513996, 0.014195581, 0.0033441256, 0.0037786923, 0.0155716129, -0.0404598638, 0.0419249386, 0.0255287904, -0.0093035325, 0.029322667, 0.0002618384, -0.0238702483, 0.0405797213, 0.0032192536, 0.0559836254, 0.0484266095, 0.0098033193, 0.0056234496, 0.0812463984, 0.011263649, 0.0464303084, -0.0103031397, -0.0269596614, 0.0205250476, 0.0023791683, 0.0129312873, 0.0225665402, -0.0221051518, -0.0224571191, 0.0393604115, 0.0419623852, -0.0220721886, 0.0081502823, 0.0404679477, 0.0080630174, -0.0240171365, 0.0275312327, -0.0069273203, -0.0143921459, -0.031180894, -0.0191299617, 0.0228904504, 0.0085008247, 0.0016920676, 0.0168817323, -0.0022578447, -0.0254694745, -0.0103066573, -0.0155523056, 0.0349956043, 0.0240281895, -0.0196982659, -0.0290427208, -0.0266849138, -0.0742230117, -0.0080006747, -0.0296803489, -0.0079811979, 0.0428571515, 0.0576898493, 0.0156497955, 0.0073400186, -0.0231423378, -0.041256804, 0.0583309457, 0.0130864773, 0.0054545151, 0.0312183909, -0.0139055606, -0.0085159875, 0.0410706513, 0.0139554562, 0.0130848186, 0.0167621654, 0.0432875901, 0.0496733002, -0.0448394492, -0.0330203325, 0.0186810549, -0.0163679812, -0.0115847904, 0.0381258465, 0.0185526218, 0.0263783392, 0.0197631512, -0.0356217548, -0.0005790354, 0.0419069938, -0.0388151556, -0.0374579616, 0.0522108488, 0.0363127775, -0.0371304005, 0.0440220721, -0.0434942544, 0.0074656918, -0.0021056063, -0.0343873873, -0.0249840245, 0.0039880779, -0.0156469401, -0.0419933088, -0.0720276609, 0.0702088028, -0.0222877134, 0.0175620709, -0.0213213973, 0.0454038158, 0.0012466261, 0.0367481001, 0.0406957567, -0.0442200042, 0.0702310652, -0.0099107539, -0.0206869282, 0.0127627077, 0.0506279431, -0.0014932228, 0.0697654411, -0.0041800672, 0.0070351819, -0.0324448198, -0.0426375754, 0.0351726748, -0.0294312257, 0.0560466424, 0.0421171114, 0.0232669022, -0.0077210795, 0.0055344161, 0.0132191554, -0.0245909914, 0.0512413271, 0.0090010073, 0.0116547616, -0.0256665107, 0.0010178145, 0.0002441981, -0.0021680051, 0.0012100413, 0.0161029939, 0.0281367842, -0.0189497415, -0.0703804493, 0.0159146637, 0.0108180502, -0.0191970039, -0.0216425937, -0.0413800403, -0.0165587198, -0.0496526882, 0.0253788475, 0.0677062199, 0.0125790909, -0.0317393914, 0.0120740021, 0.0168618858, -0.0278085284, -0.0385077074, -0.0122596081, 0.0054252152, -0.0092206299, -0.0797671601, 0.0247120913, 0.0064471606, 0.0087319892, 0.0039426074, -0.0144581227, -0.02665204, -0.0146294795, -0.0032082752, 0.0504975542, -0.0078497203, 0.0130734658, 0.0483486503, -0.0005427862, -0.0546746068, 0.0408847891, -0.0547087379, 0.0339471735, -0.0389556736, -0.0006206279, -0.0385747179, 0.0746182054, -0.0077796369, 0.0424236916, -0.0291313976, -0.0051704617, 0.018064715, -0.0068100332, 0.0909239054, 0.006357058, 0.015578445, -0.0731056407, 0.0166156981, -0.0337990932, -0.0182284974, -0.0090333046, -0.0857733265, 0.0357637964, -0.0238563307, -0.0062450324, -0.0313048251, -0.0184315369, 0.0121571589, 0.0316514149, 0.0420441292, -0.0229050014, 0.0353463776, -0.0051715104, 0.0564343184, -0.0197222177, -0.0886256471, 0.0121414298, -0.058639653, -0.0044295741, 0.0279348288, -0.0208169818, 0.0093167955, 0.0242613144, -0.0352713056, 0.001328191, -0.0149996588, -0.0416396894, -0.0425507464, 0.0077183126, -0.0506899655, 0.0070978804, 0.1036047712, 0.016776247, -0.0359045491, -0.0385240056, -0.0208577607, -0.0287334062, -0.0050910795, -0.0140904877, -0.1065015346, 0.0066847797, -0.0021800362, 0.0148079013, -0.0164566003, 0.0064527118, -0.0163839627, -0.0829754025, 0.0393941477, 0.0438992456, -0.0291424207, -0.0357549749, -0.0166567788, -0.0440709665, -0.0027800186, -0.0059987255, -0.0107893543, 0.0420802347, -0.0062489603, -0.0334279947, 0.0310872272, -0.0217399132, -0.0312334076, -0.0774972662, -0.0051135477, 0.015278779, 0.0312709995, -0.0260267556, -0.0524123199, 0.0018015696, -0.0179799367, -0.0171069056, -0.0222402178, 0.0237630326, 0.0021584898, 0.0170230791, 0.0254109334, 0.003983493, 0.008100694, 0.0073505361, 0.0447674654, 0.0697173402, -0.0201262124, -0.0088314125, 0.0069887489, -0.0224757995, 0.0027943617, 0.0329491571, -0.0135500198, 0.0331520811, -0.035995502, -0.0103039956, -0.0118442606, -0.0007636072, -0.0182215273, -0.0442439839, -0.015282142, -0.0615645237, -0.0845536068, 0.0039305151, -0.0307615306, 0.0306750648, 0.0298028328, 0.0349006206, -0.0021114922, -0.0364237688, -0.0348426364, -0.0092300419, -0.0499765463, 0.0409659594, -0.0147852413, 0.0581313707, 0.0020657789, -0.0099232001, 0.0295047574, 0.0410393104, -0.1039513946, -0.0726849437, -0.0521486476, 0.011991947, 0.0167560689, 0.0574651062, -0.0662523434, -0.0215174947, -0.0313686505, 0.027431801, -0.0343358442, -0.0106856367, 0.0135644292, -0.0401362069, -0.0117127057, 0.0389678776, 0.0193245746, 0.025043115, 0.0174935833, -0.021232279, -0.0463432334, -0.044963412, 0.0024915077, 0.055419486, 0.0548629053, -0.0256868973, -0.0032619238, -0.0259513725, 0.0117680337, -0.0712584406, -0.0271317046, -0.0037877536, 0.0121436222, 0.0525573567, -0.0211327095, -0.0118327821, 0.0607504994, -0.045249939, -0.0201741811, -0.0122013791, 0.012157781, 0.0023900075, 0.0440864973, -0.0195827149, 0.0051580127, -0.0050727623, 0.0296493359, 0.0029327427, 0.0607391298, -0.0323439538, 0.0645072535, -0.0059600417, 0.0090615554, -0.0028958514, 0.0064670108, -0.0505353771, -0.0159777943, 0.0001393572, 0.0176391993, 0.0855581611, -0.0344501585, 0.1096376777, -0.0258504972, -0.0005868572, -0.0103525519, 0.0388097502, 0.0015747021, -0.011746428, -0.0449682698, -0.0259999018, -0.0121020125, 0.0850805715, 0.0498229265, -0.0207421426, -0.0058973138, 0.0160198677, -0.0699086785, -0.0102892024, -0.0213201158, 0.034477517, -0.0301339068, -0.0311190281, -0.0196409281, -0.0454751179, -0.0105909677, -0.0203233361, 0.036327146, 0.028043706, -0.0018410118, -0.0299645681, 0.0866795033, -0.0393230431, -0.022179367, -0.062966153, 0.0795631781, -0.0141872643, -0.0249422174, -0.0483722016, -5.159225971e-33, 0.03104629, -0.0186959244, -0.0184152555, 0.0044330237, 0.0103378985, -0.0221586302, -0.0130389743, -0.0033468034, -0.0298239384, 0.0069716033, -0.0167362262, 0.0460569784, 0.0227819979, -0.0331318825, 0.0169735663, 0.0340054706, 0.0573174618, 0.003735743, -0.0360349007, 0.0181757826, 0.0148691116, -0.0163710266, 0.0844886005, -0.0865702629, 0.0511696562, -0.0657090694, -0.0540880971, 0.0161359664, -0.0480620489, -0.0089551732, 0.018740546, -0.0298492629, 0.0053309421, -0.0518543161, -0.0019313322, -0.0334200859, -0.0130120777, 0.0267410986, 0.0357259959, 0.0340279751, 0.0051058093, -0.0483602583, 0.0290754586, -0.0420088395, -0.0344884098, 0.0316064693, 0.0099414857, -0.0244112834, -0.0106594078, -0.0095927631, -0.0497817807, 0.0530912615, -0.0144444397, 0.0033170546, 0.0594134852, -0.000303293, 0.0169481989, -0.0093404157, -0.0847651809, 0.0157661606, -0.0104682688, 0.0248290915, 0.0568417311, -0.0398296826, -0.0268209483, 0.0037007085, 0.0385643281, 0.0144789182, 0.0556748398, 0.0099525312, -0.0001831476, -0.0022567457, 0.0779130608, 0.0812017322, 0.0562686883, -0.0244699549, -0.0436827466, 0.0451798476, 0.0273562167, -0.0166591909, 0.0204143263, -0.0133187044, -0.0670315772, -0.0125023602, -0.0093744677, -0.0927981436, -0.0082616927, 0.0053882659, -0.0245093498, 0.0351219103, 0.0037037148, -0.0236349795, 0.0835436061, -0.0267107859, 0.0282085668, 0.0261049271, -0.072697103, 0.0071912827, -0.0004353673, 0.0545264035, -0.0241125133, -0.0233496726, 0.0132158455, 0.0200179592, -0.0059851701, -0.013988141, 0.0882568732, -0.0015986713, -0.058913812, 0.0021247279, -0.0113077983, -0.0107350955, -0.0066411132, 0.0280897096, -0.0134804985, 0.0167427491, 0.0214405581, 0.0036641662, 0.0448967703, 0.0270763785, -0.0351431593, 0.0303112231, -0.0079574641, -0.016933443, -0.0135875558, 0.0378006585, 0.0132716978, 0.0413372256, 0.0457899161, -0.0510376357, -0.0051749861, 0.0359156057, 2.346e-7, 0.0698542073, 0.0099913552, 0.0364138149, 0.0049826032, 0.0289984681, 0.043450322, -0.0377051719, 0.0063857893, -0.0105547309, 0.0410911478, 0.028666012, -0.0025753041, 0.0707351714, 0.0343086347, -0.0642695576, 0.0106564173, 0.0018886811, -0.0074840011, -0.0664701536, -0.0025402934, 0.0323234722, 0.0761355907, 0.0032173099, -0.0052946811, -0.0114649544, -0.0398988314, 0.0712695792, 0.0058944388, -0.0480424576, -0.0326772332, 0.0295403413, -0.0212793499, -0.0284602586, 0.0081878072, 0.0004691383, 0.0382780172, 0.0161129683, 0.0708475336, -0.0086662695, 0.0582161099, -0.0307027306, -0.078604728, -0.0048691509, -0.0465095229, 0.0444952585, 0.0521324836, 0.0069668596, -0.0258200075, -0.0243430734, 0.0420894623, 0.0450902767, -0.0050956984, -0.0559357628, 0.0261274446, 0.0302495044, 0.0180648677, -0.0267420299, -0.047761675, -0.0277472846, -0.0287753064, -0.0213680118, 0.0004604635, 0.0137190297, 0.0292687546, 0.0136787742, -0.0358076543, 0.0165437553, 2.216384267e-34, 0.0376707353, -0.0265966598, -0.0190448742, -0.0365761705, 0.0460929833, -0.0015805481, -0.0459197797, -0.0050716833, -0.0250372998, -0.0272592921, -0.0204053931 ]
http://arxiv.org/abs/2401.06766v3
http://arxiv.org/pdf/2401.06766v3
Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvements
2024-01-12T18:58:26
2024-06-06T19:01:37
Anton Voronov, Lena Wolf, Max Ryabinin
cs.CL
cs.CL
Large language models demonstrate a remarkable capability for learning to solve new tasks from a few examples. The prompt template, or the way the input examples are formatted to obtain the prompt, is an important yet often overlooked aspect of in-context learning. In this work, we conduct a comprehensive study of the template format's influence on the in-context learning performance. We evaluate the impact of the prompt template across 21 models (from 770M to 70B parameters) and 4 standard classification datasets. We show that a poor choice of the template can reduce the performance of the strongest models and inference methods to a random guess level. More importantly, the best templates do not transfer between different setups and even between models of the same family. Our findings show that the currently prevalent approach to evaluation, which ignores template selection, may give misleading results due to different templates in different works. As a first step towards mitigating this issue, we propose Template Ensembles that aggregate model predictions across several templates. This simple test-time augmentation boosts average performance while being robust to the choice of random set of templates.
[ 0.008856467, 0.0307316091, 0.0078631015, 0.0136744743, -0.0264140312, 0.0429559983, 0.0367483906, -0.0022900279, -0.0461328886, -0.0736735612, -0.0322637446, -0.0447079986, 0.0134220999, 0.0239938349, 0.0358329304, -0.0646484643, 0.0237578657, -0.0433911905, -0.012491174, 0.0205309968, -0.033078067, -0.00229283, -0.0056175874, 0.0586214811, 0.0152223036, -0.0222762413, -0.0069851298, 0.0171721596, -0.0130569236, -0.0079834228, 0.0239536911, 0.0705162734, 0.0248201042, 0.0741606876, 0.0000019803, -0.0505127944, -0.0119116185, 0.0077003916, -0.058502987, 0.0258023012, 0.0375778265, -0.0082820067, -0.0014997957, 0.0431084447, -0.029239174, -0.052029036, 0.0351419561, 0.0490181334, 0.0142093422, 0.0736923963, -0.0000191812, 0.0003157258, -0.003097571, -0.0336578898, -0.0063936473, -0.0081265569, 0.0002074082, -0.0381955616, 0.0236613229, -0.009559297, 0.0135782799, 0.0298121553, 0.027641153, 0.0057469825, 0.0173033718, 0.0444760658, -0.0522716381, 0.0106764818, -0.029174475, 0.0694350526, -0.0266243666, -0.0264659785, -0.0222308021, -0.0314983428, 0.0166038349, 0.0082842978, -0.0510593019, 0.0106834751, 0.0010715177, 0.0147335939, 0.0177470781, 0.0229240078, 0.0621218942, 0.0025427763, -0.0269443821, 0.0365501158, 0.0162145142, -0.0434960127, 0.0030660233, 0.0128963683, -0.0354312621, -0.0544688217, -0.0377077833, -0.0008532876, -0.04329101, 0.0006527328, -0.0457657091, -0.0445174836, 0.0014808009, -0.0011258809, 0.0691433772, 0.0374880172, -0.0184095576, 0.0466247983, -0.0319279172, 0.0372861587, -0.0026038466, 0.0062874905, -0.0479417369, 0.0073464359, -0.0543817393, 0.0119074257, -0.0221160613, 0.00582687, -0.0139662828, -0.0309241805, -0.0290822666, 0.0490291454, 0.0129965758, 0.0116047226, 0.0100974878, -0.0040820935, -0.0265647415, 0.0176261049, 0.0119832046, 0.0098022157, -0.0092900498, 0.0038323787, 0.0222353265, -0.070671469, -0.0163171496, 0.02042423, -0.0041993959, -0.0372186303, 0.0098321075, 0.062079154, -0.0166054405, -0.0554727577, 0.0257890541, 0.0064729811, -0.0164208412, -0.0526060164, -0.0107519859, -0.0717845187, 0.0181613173, 0.0403101146, 0.0075401743, -0.0243177246, -0.0225001387, 0.0036926237, 0.0041134669, 0.06008498, 0.0096273869, -0.0052550253, 0.0357930921, -0.0002942439, 0.0024205442, 0.0844135135, 0.0002211109, 0.0302171614, 0.0299417824, -0.00438789, 0.0350968949, 0.0582397953, 0.0281647202, 0.0351101123, -0.0466517694, 0.0184581522, 0.0941525623, 0.0050318106, 0.0124530867, 0.0095876195, -0.0290560108, 0.0091840345, 0.0622160807, 0.0068272385, 0.0244669281, 0.0132622691, 0.0407334901, -0.0101797106, 0.0125981988, -0.0021715802, -0.0847488567, -0.0142451711, -0.0407556072, 0.0150425974, 0.0279421937, 0.0095202792, -0.0316114761, -0.0307006817, -0.0434728079, -0.0088412398, -0.0327443033, 0.0407745466, 0.0598477311, 0.000997236, -0.0535482988, 0.0395862125, 0.0402915217, -0.0355970338, -0.0414601415, -0.0391696766, 0.0557891987, 0.0291073788, 0.0367826819, -0.0276276227, -0.0217527598, -0.0270107184, -0.0097507173, 0.0028992132, 0.0503350906, -0.0316693522, 0.0466232561, -0.035883002, -0.0426108427, -0.0161342882, 0.0379380845, 0.0288894568, 0.0300063938, -0.0151949255, 0.0261309259, -0.0323670097, -0.0298892595, 0.0495666191, 0.0137960501, -0.0502721071, 0.0272519961, 0.0181285664, 0.0322918072, -0.0161379464, -0.0246049296, -0.013509105, 0.0233317539, -0.0392383002, 0.0092460308, 0.0055655334, -0.0986937732, -0.0810230225, 0.0076704659, 0.0189704299, -0.0134178046, -0.0102279363, -0.0482752621, -0.040164575, -0.0142715583, -0.0252295882, 0.0772884414, -0.0371827409, 0.0153339105, -0.0366315581, 0.0223248415, -0.0370224528, 0.0740344897, 0.0066414382, 0.0211190414, 0.0356580764, 0.011380285, 0.0148960743, -0.0316810831, -0.016314704, 0.001317854, -0.0118721779, -0.0047869086, 0.0175236668, -0.0026946263, -0.0425510854, 0.0022855864, -0.1327575594, -0.0088187307, -0.047157146, 0.0153046157, 0.0196039453, 0.0208773781, -0.0308498684, -0.0357519649, -0.0066605224, -0.0722257122, -0.0134564061, 0.036067497, 0.0077860747, 0.0324116275, -0.0266947504, -0.0224440433, -0.0164472908, -0.0140630975, 0.0997424871, -0.0191593356, -0.0229636226, -0.0578133054, 0.028475184, 0.0088807009, 0.0044311024, -0.0040120776, -0.0027193534, 0.0087284362, -0.0314312838, 0.0399133153, 0.0777200237, -0.0197713729, 0.0318789072, 0.0600312948, 0.0460090041, -0.0712257624, -0.0006895356, 0.0054559405, -0.0046281493, -0.0021372591, -0.0117002064, -0.0004302688, 0.050571993, 0.0014848574, 0.011351577, -0.0445236228, 0.003889519, -0.0162823405, -0.0246017538, -0.0841044188, -0.0052907546, -0.0045953128, 0.0449882373, 0.0027745902, -0.0819632933, 0.0599683523, -0.0337439999, -0.0207799021, -0.0322404914, -0.0310974382, -0.0343562439, 0.0306150224, 0.0001188174, -0.0148405172, 0.0269228406, -0.035915412, -0.0520173125, -0.0350051783, 0.0340296365, -0.0053858752, 0.0398118161, -0.0454447046, 0.0161988959, -0.0012295651, -0.0514332764, -0.0544541068, -0.0580671504, -0.0249208771, 0.0458209291, -0.0501068197, -0.0143530834, -0.0368318446, 0.0062285606, 0.000840415, 0.0594916306, -0.0193084143, -0.0090138884, 0.0087140677, 0.0605357736, 0.0082278103, -0.0111504123, 0.0209097546, -0.0684611872, 0.0387447253, 0.0155101018, 0.0517025813, 0.027291581, -0.077707909, 0.0057070032, 0.026930593, -0.0080054952, -0.0285524745, 0.0469613746, 0.0400624685, -0.0685711429, -0.0129028363, 0.140112102, 0.0256429445, -0.0588401668, -0.0071173673, 0.008555999, 0.0467950106, 0.0428406522, 0.0323882289, -0.0205849297, -0.040535178, 0.0254476313, 0.0380968228, 0.0078704394, -0.0058549219, 0.0269748531, -0.098378174, 0.0300167445, 0.0041180342, -0.0558694378, 0.0058770543, -0.0644315705, 0.0213467609, -0.0282796752, 0.0380011275, 0.0065175318, -0.0155553743, 0.0214852858, 0.0411926582, -0.0197056588, -0.0778224543, 0.0246508904, -0.0337909497, 0.0229369719, 0.082593143, -0.0071549341, -0.0210036859, -0.030114824, 0.0427473113, -0.0263315272, 0.027548803, -0.0222449508, 0.0412885658, 0.0110815112, -0.0040385034, 0.02544632, 0.0437180139, -0.0449119583, -0.011402728, 0.0172801819, 0.0700770095, -0.0174314287, -0.0045970646, -0.0080837077, -0.0652815253, 0.0570338778, 0.0732806623, 0.0543323755, -0.0436467305, -0.0182675365, -0.0149852289, -0.033314161, -0.0070028636, 0.0371083915, -0.005586274, -0.0175884217, -0.0242112894, -0.0545169599, -0.0293175075, 0.0323179923, 0.0840945095, -0.0143241184, -0.0045674969, -0.0792993233, 0.0273980163, -0.0331362709, 0.0524596088, 0.0054007107, 0.0312596187, -0.0745380968, -0.0055698249, 0.0187228862, -0.0074130502, -0.0284499712, 0.0196182132, -0.0819073692, -0.0557372198, 0.0156855807, 0.0308947582, 0.0178633798, 0.0814879537, -0.004521321, -0.0392036699, 0.0977548212, 0.039226003, 0.0004953325, 0.0079873223, 0.0295474399, -0.0330526233, -0.0148847764, 0.0150544895, -0.0537356623, -0.001052781, 0.0443075038, -0.0124500748, -0.010916166, 0.0087050116, 0.0209585372, -0.0256986339, 0.0532639697, -0.0419972353, -0.0524277389, 0.0108508989, 0.0313201435, 0.0104270289, -0.0256426707, -0.0212630443, 0.0214139353, 0.0170206036, 0.012834968, 0.0115343416, 0.0434783213, 0.0051033967, 0.0580105595, -0.0570960604, 0.0195099954, -0.0045432271, 0.0254533887, 0.0232481044, 0.0091230702, -0.0300521478, 0.0177098848, -0.000985209, 0.0280847326, -0.0233763102, 0.0499093235, 0.0197689496, 0.0284340344, -0.011487429, 0.0286694542, -0.0916786119, -0.0260243937, -0.0545936376, 0.016188398, 0.0282818731, -0.0476775952, 0.0026349071, -0.027343791, -0.0210524984, -0.0312911049, 0.0233213715, 0.0024178019, -0.015293099, 0.0322035551, 0.0288175996, -0.0070556994, 0.0090432419, 0.074020721, 0.0059188902, 0.048184, 0.0319908634, 0.0129389027, -0.0349002182, 0.0221144557, 0.0364020839, 0.0368705615, -0.0185881555, 0.0156388748, -0.0127051761, -0.0587787814, 0.0062541659, 0.0119619211, -0.0071964585, 0.0101970285, 0.0319953151, 0.0760025904, -0.0153911067, -0.0007685299, -0.0288892109, 0.0025286891, 0.0109820105, 0.0019328271, -0.0443539768, -6.358362085e-33, -0.0025842995, 0.0044940081, -0.0241328236, -0.0429667011, 0.0115969833, 0.0097616138, -0.0206075851, 0.0066586579, -0.0041093091, -0.0073079914, -0.0381410867, 0.0172542259, 0.022916561, 0.0337784626, 0.0094787162, -0.0054031266, 0.0596099943, -0.0126211233, -0.0522388481, 0.0209779833, 0.0293038189, 0.031505283, 0.0596592538, -0.0518970415, 0.0033884842, -0.0153262606, -0.0141686369, 0.0039381268, -0.019719271, 0.0647256598, -0.0062672207, 0.0254327748, 0.0099586137, -0.0475448258, -0.0284319352, 0.0109388353, -0.039110627, -0.0158995539, 0.0096035181, 0.0310271494, -0.0341264494, -0.0357183516, 0.0111946678, -0.0101178922, -0.0125540104, -0.0242482182, 0.0257770624, -0.0413643904, -0.0486780815, -0.0288279373, -0.0236252174, 0.0225974638, -0.0238271579, -0.0242001563, 0.0243004225, 0.0463645682, -0.001938776, 0.0082786055, -0.0376169235, -0.0139532126, 0.0242159404, 0.0370254293, 0.0789151564, 0.0520150289, -0.0077979104, 0.0187824741, -0.0153811565, -0.007647926, -0.0054638064, -0.0646299645, 0.0289572347, 0.0289596822, 0.0450545661, 0.0324723907, 0.0583984032, 0.0254028719, -0.0543196537, 0.0516744182, 0.0547537729, 0.0115549741, 0.0339382887, 0.0232967325, -0.0510839894, -0.0303120278, -0.0548319705, -0.054441113, -0.0403524563, -0.0196118467, 0.0372907519, 0.0327818133, -0.0120250275, -0.012031896, 0.046720393, -0.0392196588, -0.0140276719, 0.0339186266, -0.0183242764, 0.007410733, 0.0115188006, -0.0065724947, -0.0216526967, -0.0326232389, 0.0271134749, 0.036788471, 0.0308921784, -0.0413440689, 0.0699038953, 0.0361305922, -0.0807184353, -0.0062112394, -0.0213297904, 0.0067524752, 0.0212738272, 0.0358708873, 0.0348111242, -0.0011297485, -0.0157350376, 0.0292063318, -0.0086979568, -0.0265476834, -0.0264742803, -0.0006037745, -0.0114071313, 0.0053897244, -0.0241527148, -0.0354962982, -0.0144171901, -0.0054246825, 0.0658555776, 0.0094863568, -0.0166664235, 0.0311018638, 2.551e-7, 0.0385094993, 0.0348892249, -0.0028249421, -0.0303985085, 0.0250215549, 0.05355791, -0.0388439, 0.0094639603, 0.0171044115, 0.0019830265, 0.0047326842, -0.0100797061, 0.069496803, 0.0146843577, -0.0793124288, 0.032465592, -0.0918325707, 0.0337643921, -0.0533738509, 0.0025072519, 0.0231496394, 0.1358624548, 0.0070980913, -0.0257678423, -0.0110767176, 0.002439915, 0.0577025115, -0.0558388494, 0.0253055692, 0.0049669691, 0.0074631427, 0.0177020282, 0.0046277223, 0.0225147586, -0.0193319898, 0.0257767588, 0.0075626657, 0.0383186154, 0.0122736022, -0.0008754706, -0.0052757687, 0.0120249409, 0.031265378, -0.1095912308, 0.0681888536, -0.0618148521, -0.0056590219, -0.0751349628, -0.017103523, -0.0282296203, 0.0421894342, 0.0039471374, 0.0200680662, 0.0374350213, 0.0056854566, -0.0371650644, -0.033066988, -0.0951376185, -0.0505067892, 0.0195784848, -0.0319128782, -0.0449307635, -0.0371412039, -0.0110681588, 0.0284657478, -0.0620427318, 0.0037550211, 2.516074945e-34, 0.030982513, 0.0146315284, 0.0177518371, 0.0540234186, -0.0142804738, -0.0390670002, 0.0203833114, -0.0123378839, 0.0276887491, -0.0933485329, 0.0057343645 ]
http://arxiv.org/abs/2401.06761v1
http://arxiv.org/pdf/2401.06761v1
APAR: LLMs Can Do Auto-Parallel Auto-Regressive Decoding
2024-01-12T18:50:36
2024-01-12T18:50:36
Mingdao Liu, Aohan Zeng, Bowen Wang, Peng Zhang, Jie Tang, Yuxiao Dong
cs.CL
cs.CL
The massive adoption of large language models (LLMs) demands efficient deployment strategies. However, the auto-regressive decoding process, which is fundamental to how most LLMs generate text, poses challenges to achieve efficient serving. In this work, we introduce a parallel auto-regressive generation method. By instruct-tuning on general domain data that contains hierarchical structures, we enable LLMs to independently plan their generation process and perform auto-parallel auto-regressive (APAR) generation, significantly reducing the number of generation steps. APAR alone can achieve up to 2x speed-up, and when combined with speculative decoding, the speed-up can reach up to 4x. In addition, APAR reduces the key-value cache consumption and attention computation during generation. This leads to a throughput increase of 20-70% and a latency reduce of 20-35% in high-throughput scenarios, compared to state-of-the-art serving frameworks.
[ 0.0089091556, 0.0467145555, -0.0171549376, 0.0102956844, -0.0347404666, 0.0285371635, -0.0029550637, -0.026365418, -0.0207911581, -0.0254467689, 0.0129912486, -0.0599288084, -0.0070341728, 0.0309709497, -0.0113847908, 0.0215645544, 0.0232857857, -0.0292564537, 0.0262505729, -0.0328246467, -0.0275665037, 0.0514266491, 0.0252301898, 0.0011205893, 0.0195922013, -0.0401884094, -0.0261721797, 0.030175332, -0.0410643928, -0.0478869155, 0.0049068844, 0.0286449287, 0.0029517645, 0.0170889497, 0.0000022701, -0.007100909, -0.0291596707, 0.00372805, -0.0411638357, 0.0784930959, 0.0534737557, -0.0365567692, -0.0516821519, 0.0510584414, -0.0138893472, -0.035370905, 0.0384362973, -0.0272768736, 0.0430907086, 0.0415916927, -0.0121130496, -0.0714378133, 0.0278532952, -0.0265158769, -0.0611027442, -0.0564325936, 0.0015478159, 0.0105408439, -0.0362001695, 0.0224708896, -0.008525881, 0.0163572021, 0.0055828225, -0.0009552522, 0.0291036963, 0.0024084176, 0.0001807172, -0.0168797486, -0.034577366, 0.0281201825, 0.000287581, -0.0542655699, 0.0092507098, -0.0093765445, -0.0382307842, -0.0379821062, 0.001505113, 0.0644447058, -0.0319967344, 0.0387743749, 0.0645701587, -0.0046920669, 0.0135834338, -0.0225530174, -0.037304353, 0.028342206, 0.0343967751, -0.0148316938, -0.0450239331, 0.0119160796, 0.0171720199, -0.0558127835, 0.0260282196, 0.0084326416, -0.0256086979, 0.0127482694, -0.0848230422, -0.085171774, 0.0210201088, -0.0375718474, 0.0836623833, 0.0695741475, 0.0133360177, -0.0144861108, -0.019240763, 0.0421556234, -0.0451689363, -0.0649176314, -0.036961101, -0.0163598862, 0.0132542634, 0.0037707372, -0.0694052801, 0.0289465562, -0.0722315386, -0.0219431985, -0.0234702192, 0.060941305, 0.0366689675, -0.0104169063, 0.0351376198, -0.0086162705, -0.0375333503, -0.0083222706, 0.054860834, 0.0383925326, -0.0202695765, -0.0559620187, -0.0029244639, -0.0547523312, 0.0028861489, 0.0004759402, 0.020750815, -0.0038573723, -0.0164497886, 0.0656089336, -0.0196731053, -0.0014884826, -0.0500859953, -0.0446435474, 0.0449150726, -0.0388350375, -0.0204054881, -0.0524603575, 0.011609205, 0.0286369305, -0.0198621042, -0.0218632687, -0.0045459364, 0.0215072576, -0.0304158423, 0.0095150601, -0.0258910526, 0.0295069925, 0.0229902193, -0.0031504962, 0.0500894822, 0.0716478229, 0.0044583185, 0.0221718792, -0.0159384888, 0.0021892285, -0.0245500598, 0.0749169514, 0.0433285534, 0.0329782888, -0.025510285, 0.0042674798, 0.000455002, 0.0136060519, 0.0672919825, 0.0514171273, -0.0111539764, -0.0153852412, 0.0379614346, 0.0290949754, 0.0096181119, 0.0482519642, 0.0176658072, 0.0500595011, -0.0049865916, -0.0075135943, 0.0152427526, 0.0305362213, -0.0028241025, 0.0216111559, 0.0491684191, 0.064203456, -0.0143991243, 0.0264212452, -0.0338011011, -0.0081152674, -0.0336471312, -0.01080376, 0.0457204022, 0.0403669402, -0.0813261494, 0.0508862622, 0.0185354706, -0.0666134506, -0.0349463969, -0.0207535475, -0.0155789964, 0.0648158491, 0.065041922, 0.0520176217, -0.0185036305, 0.0273867659, 0.0140922917, 0.048935689, 0.0045326157, 0.0064941356, -0.0022836316, -0.0672765225, -0.0159933921, 0.0510660037, 0.0101885488, 0.0436509289, 0.0277380627, 0.0062163174, 0.0144313518, 0.0156175429, -0.024629483, -0.0023542137, -0.0583668426, -0.0179962963, 0.0329485089, -0.0151584279, 0.0187238399, 0.0045699417, -0.0196718052, 0.0107784616, 0.0456275418, -0.0320481174, 0.0220838636, -0.0203753691, -0.0511500351, -0.012768832, 0.0172882807, 0.0079065338, 0.0162846334, 0.0315102711, -0.0105368588, -0.0336513631, 0.0272292849, -0.0480570011, 0.0583988614, -0.0351100266, 0.0483564772, 0.0164968967, 0.0351695903, -0.0286623146, 0.0301239323, -0.0521060415, -0.0220811721, 0.0046381229, 0.0063369838, 0.0150076244, 0.0015669571, 0.0139679555, 0.0011807426, -0.0017977408, 0.0163747054, -0.0079375198, -0.0056341644, 0.0211566202, 0.002281639, -0.0216765497, 0.0010529622, -0.0348106064, 0.0306063704, 0.0126012005, 0.0479198433, 0.0063639223, 0.0009030365, -0.0108313849, 0.0348715745, 0.018223105, 0.0245246366, -0.0180002209, -0.0238140542, -0.0413146913, 0.0087947072, -0.0380862318, 0.0192818381, 0.031637378, -0.0211491883, -0.0109302755, -0.0657773986, 0.0161368325, 0.0236650854, 0.0149501432, -0.0028025331, -0.0633315593, -0.0008682638, -0.0488731302, 0.0550504252, -0.008352221, -0.0041725584, -0.0180178862, 0.0076088314, -0.0013766334, -0.0343309902, 0.0025501321, -0.0132369054, -0.0185914636, -0.0386265852, -0.0566503406, 0.0111008631, 0.085998252, 0.0166775249, -0.0140610905, -0.0467585251, -0.0508678444, 0.0067812218, -0.0229950659, -0.038943626, -0.0227806028, -0.0279041063, 0.0551676191, 0.0009874402, -0.0651049316, 0.029901972, -0.0547143184, -0.0129178278, -0.02812366, -0.015022736, -0.0502756536, 0.0369535647, 0.0094782114, 0.0300337803, -0.0273302272, -0.0385381877, 0.0208267886, 0.0775096044, -0.0064158631, -0.0317378566, 0.0310571231, -0.0117577724, 0.0110680079, -0.0331671089, -0.0399556495, -0.0443149321, -0.0091575021, -0.0168588497, -0.0233020186, 0.0713397339, -0.0414509624, -0.0308835767, 0.0303909983, -0.0362866484, 0.0369225629, -0.0021917794, 0.0038076222, -0.0178153403, 0.0283918474, 0.0203979164, -0.0217649192, -0.0045100935, -0.0131161166, -0.0015349457, 0.0565424673, 0.0434954688, -0.0116355298, -0.0342736281, 0.0001336395, 0.0800494254, 0.0353628621, -0.0228225831, 0.0325522497, 0.004454161, -0.0396473855, -0.015049207, 0.088763237, 0.0278893635, -0.0616181903, -0.0019675919, -0.0029255967, 0.0860998407, 0.0083681084, 0.032133583, -0.1074595749, -0.006417776, 0.0346184187, 0.0392720439, 0.0114252176, 0.0038006851, -0.0359061137, -0.113595441, 0.0714669526, 0.0211120062, 0.0022535459, -0.0049129431, -0.0283811744, -0.0646515489, 0.0405262858, 0.0123265786, 0.0623228215, 0.0055780099, 0.0082420222, 0.0159095004, -0.0186447613, -0.0072788983, -0.0056667314, -0.0094416821, 0.0822680444, 0.0658755228, 0.0083160084, 0.0418081097, -0.0216609538, 0.0082367295, 0.0340667553, -0.0102187842, -0.054765135, -0.0292526279, 0.0079730861, -0.0028491977, -0.0176782701, 0.0069402531, -0.0489728004, 0.0122554498, -0.025575893, 0.0833165795, -0.0248045791, 0.0187270567, -0.0452753194, -0.0186798442, 0.0291698873, 0.0511331148, 0.0122730853, 0.0006519681, -0.041380696, -0.0559430718, -0.0065424908, -0.0780672058, -0.021617109, 0.0464318879, 0.0028892979, -0.0408577248, -0.0277461186, 0.0269483142, -0.0151522895, 0.00486734, 0.0035692512, 0.0090869889, 0.0100553948, -0.0222257227, -0.1126297191, -0.0570016317, -0.0518291965, -0.007980153, -0.0821542293, -0.0424310304, 0.0350035354, -0.0206771586, -0.0191099085, 0.0294179413, -0.0819129795, -0.068148315, 0.0352706872, 0.0283318236, 0.0179723036, 0.0469947942, -0.0049590399, -0.0664018318, 0.0438057147, 0.0280458387, -0.0968781337, 0.0485498123, -0.0301731918, -0.0226653311, -0.0136551149, 0.0282061622, -0.0303763188, 0.0271895975, -0.0468966439, 0.0137191946, 0.0521257408, -0.0446337201, 0.0151263708, 0.0539106466, -0.0196877327, -0.0310311206, 0.0010655248, 0.0401139297, 0.0530279949, -0.0405373313, 0.0096289795, -0.0270214882, 0.0365086421, 0.0069228318, -0.0593272001, -0.0103389788, -0.0027495068, 0.0502284467, 0.0276551824, -0.009946771, 0.0119086178, -0.0354919396, -0.0176343285, 0.0808120668, -0.021837607, -0.0016118994, 0.0079889074, 0.026079312, 0.0247535184, -0.0419224463, -0.0165258776, -0.0019099299, 0.0341360457, -0.0296616089, -0.0036140408, -0.0160232782, -0.0417554192, -0.0277454853, -0.0326224193, 0.0697292536, 0.0340000615, 0.0603686906, -0.0227976739, 0.0119426874, -0.0276622996, 0.0128114987, -0.0091903144, -0.0085495086, 0.0076906914, 0.0003189019, -0.0250356104, 0.0049795494, 0.0784797221, 0.0827265903, 0.0235876422, -0.0064477967, -0.0033684229, -0.0448222347, -0.0366685428, -0.0499563925, 0.0321724266, -0.0280368105, -0.0178126954, -0.0245376974, -0.0349678211, -0.0132591259, 0.0225971173, 0.0042568957, -0.0499161333, 0.0071708099, 0.0429594815, 0.0041895001, -0.0345175676, -0.0523791872, 0.0388455428, -0.0555532053, -0.0287128426, 0.0260636099, -7.146651535e-33, -0.0126250051, -0.0062925746, 0.0249166843, -0.033597786, -0.02382195, 0.0014476882, -0.0394687541, -0.0365816653, 0.0486468747, -0.0136181703, -0.0253592674, 0.0373717956, 0.0307018291, 0.0255760271, 0.019935796, 0.0416277386, 0.0834179893, -0.0451876633, -0.0150923757, 0.0488569923, 0.0283440296, 0.0468348414, -0.0085487124, -0.0205912441, -0.0417628884, -0.0536952801, 0.041040685, -0.0379064344, 0.0168242957, 0.0275356863, -0.0227503553, 0.0259374976, -0.0023512705, -0.0443618856, -0.0294041801, 0.0057200789, -0.0979189128, 0.0342596956, 0.0161186755, 0.0180609673, -0.0299203806, -0.0491555259, -0.0154909529, 0.0369833186, -0.0087725855, 0.0004728698, -0.0254763328, 0.0055274381, -0.0430503599, -0.0394909158, -0.0234726761, 0.0226544756, 0.0310502648, 0.0441932604, 0.0577056929, -0.0126104215, 0.0032212432, 0.0521217622, -0.0472828448, 0.0221203491, 0.0160194039, 0.0806440786, 0.0532462932, 0.0167312305, 0.0101302452, 0.0114962338, 0.0229485482, 0.0009354667, -0.0305078924, 0.0605566055, 0.020722568, 0.0230482128, -0.0258970223, 0.0225227904, 0.0485861972, -0.0597613491, -0.0525207408, 0.0001129397, 0.0114894239, -0.0073095686, 0.0493327454, 0.0051130624, -0.0211402494, -0.0410332456, -0.0281869229, 0.0146180401, -0.0334503837, -0.0135519579, 0.0282604918, 0.0266980734, -0.0151664792, -0.0162709337, 0.0589064732, -0.0242791008, 0.0043237675, 0.0697371811, -0.0090528606, 0.0075783292, -0.0199966487, 0.0422005989, -0.0234454516, -0.022357149, -0.0274166949, -0.0259501431, 0.0080520082, 0.007349446, -0.0304419417, 0.0139667206, -0.0724861622, 0.0134985754, -0.0362692103, 0.0610982887, 0.0147134345, 0.044301305, 0.0349898301, -0.0034727484, 0.0283420347, 0.0426542163, -0.0154760126, 0.0060903854, 0.0049746088, 0.0127823548, 0.0330675915, 0.0263720471, -0.0126108099, 0.0390801243, -0.079683207, 0.0162960794, 0.0693643466, -0.0517311655, -0.0404462218, 0.0423604511, 2.862e-7, 0.0070777787, 0.0843123123, 0.077367574, 0.033080738, 0.0413609631, 0.0010057358, 0.0231786668, 0.0216700323, 0.0151317557, 0.0188157968, -0.0170529671, 0.0133863036, 0.0678828508, 0.0177938659, -0.0823065862, 0.0278178323, -0.0548268594, 0.0304273013, -0.0332660042, -0.0246641599, 0.0000763101, 0.0726542622, -0.0514239185, -0.0355610512, 0.0488005169, 0.0294786394, 0.0073812557, 0.033680968, 0.0071491515, 0.0076628323, -0.0336042605, 0.0226722006, -0.0354802459, -0.0137653444, -0.0155087896, -0.0013376541, -0.06780494, 0.0667616203, 0.0118141752, -0.0265720729, 0.0831187144, -0.0465315096, -0.0388890654, 0.002093914, 0.0443249084, 0.0008878618, -0.0000795159, -0.0280350409, -0.0110956477, 0.000435057, -0.0612837709, -0.018696826, 0.0292013884, 0.0337209739, 0.0283282697, -0.0458161011, 0.0205097776, -0.0499053337, -0.0426284894, 0.0008038005, -0.039748434, -0.0158473756, -0.0575274602, 0.0293570831, 0.0196079053, -0.0297997836, 0.0191788618, 3.1092147e-34, 0.05786217, -0.0124587566, -0.0036380377, 0.068307668, -0.0007875173, -0.0348325372, -0.0149117503, 0.0518311113, -0.0283457823, -0.0830015093, -0.0318723433 ]
http://arxiv.org/abs/2401.06760v2
http://arxiv.org/pdf/2401.06760v2
Navigating the Metrics Maze: Reconciling Score Magnitudes and Accuracies
2024-01-12T18:47:40
2024-06-10T12:57:48
Tom Kocmi, Vilém Zouhar, Christian Federmann, Matt Post
cs.CL
cs.CL
Ten years ago a single metric, BLEU, governed progress in machine translation research. For better or worse, there is no such consensus today, and consequently it is difficult for researchers to develop and retain the kinds of heuristic intuitions about metric deltas that drove earlier research and deployment decisions. This paper investigates the "dynamic range" of a number of modern metrics in an effort to provide a collective understanding of the meaning of differences in scores both within and among metrics; in other words, we ask what point difference X in metric Y is required between two systems for humans to notice? We conduct our evaluation on a new large dataset, ToShip23, using it to discover deltas at which metrics achieve system-level differences that are meaningful to humans, which we measure by pairwise system accuracy. We additionally show that this method of establishing delta-accuracy is more stable than the standard use of statistical p-values in regards to testset size. Where data size permits, we also explore the effect of metric deltas and accuracy across finer-grained features such as translation direction, domain, and system closeness.
[ -0.01633274, 0.0018479953, -0.0222170446, -0.0010829198, -0.0506567731, 0.021852823, 0.0476789027, 0.0482422113, -0.0658492669, 0.0133975679, -0.0337302238, -0.0529619642, 0.0947776362, 0.0305649322, 0.0255255289, -0.0464701802, 0.0293307323, 0.0178530607, -0.034697108, 0.0221058875, -0.052523572, -0.0124768121, 0.0014761857, 0.0484124273, 0.0291001741, 0.004448887, 0.0303245019, 0.0533581786, 0.0569648147, -0.0259788018, -0.0355052203, 0.0219335724, 0.0025050193, 0.0834764913, 0.0000022006, -0.0565921441, -0.009145719, 0.0220161397, 0.0143692261, 0.0088435374, 0.0393535048, -0.0818610042, -0.0121001611, -0.0193269476, -0.0105201351, -0.0400862321, 0.0648915842, -0.0543219484, 0.000584089, 0.0509950034, -0.0257543661, -0.0016518206, -0.0418247841, -0.0281311385, -0.0130253024, -0.0409423113, -0.0207238812, 0.0510209948, -0.0269628502, -0.0000406152, -0.0220122728, 0.051857885, 0.0052832561, 0.0148128755, 0.0018245064, 0.0213669278, -0.018386852, -0.0405756272, 0.0114014791, 0.0430551283, -0.0205789562, -0.0156845339, -0.0178662557, -0.0215603691, -0.0330095738, -0.035521701, -0.0222279318, -0.0209690854, -0.0044689556, -0.0243319292, -0.0622320697, 0.0479855873, 0.0285465121, -0.0596378595, -0.0616131425, -0.0112276524, 0.0075491364, -0.0367143936, -0.0260030199, 0.0258864928, 0.0043941503, -0.0506882295, 0.0378070064, -0.0283995774, -0.0174829233, 0.000019475, -0.0068572471, -0.042739749, 0.0309557188, -0.0498714335, 0.0155269001, 0.0450371988, -0.0515788719, 0.0269827321, -0.0269532539, 0.1086111069, -0.0122127449, 0.0356992334, -0.0411118083, 0.0310044512, -0.0181338768, 0.0467763953, 0.0050727185, -0.0669552162, -0.0066364892, 0.0009978064, -0.0288067199, 0.0077830153, -0.0051470799, 0.0416725539, 0.011575236, -0.0501741432, -0.0512147583, -0.0084179407, -0.000683763, 0.0244831108, -0.0446236506, -0.0041125291, 0.0134075982, -0.01536272, -0.0075083096, -0.0050316863, -0.0311348289, -0.0350253992, -0.0068539591, 0.1148773283, 0.0045753131, -0.0191481803, 0.0507307909, 0.0149151282, -0.0308950879, -0.0718314499, -0.0212867931, -0.0484827198, 0.051209487, 0.0375637785, 0.0050057936, -0.0070288442, -0.0064618071, -0.021664558, 0.0209015179, 0.0603791177, 0.0357816219, 0.0243874192, 0.0098645519, -0.0154367294, -0.049445346, 0.0580335148, 0.0563983545, 0.0139883095, 0.0691712126, 0.002851465, -0.0538928807, 0.0202314723, -0.0270976685, 0.0580058135, -0.0468655825, 0.0116378497, 0.0494762398, 0.0565967113, 0.0148356613, 0.0137767335, -0.0229172111, -0.0212820973, 0.0698516294, 0.0529700741, 0.0306688845, 0.0246386938, 0.0513448529, -0.0048589199, -0.01170801, -0.0111677311, 0.0094140302, 0.0109210294, 0.0288871937, 0.0158488713, 0.0631073639, 0.0476946495, 0.0134149445, -0.036497198, -0.0212997571, 0.0021459323, -0.0080550872, -0.0644411966, 0.0484297164, 0.0020997953, -0.019577967, 0.0123635931, -0.0350950323, -0.064458549, -0.0053073582, -0.0213704631, -0.0265410412, 0.0258288402, 0.0482442454, -0.022357408, 0.0125149954, 0.0187038649, 0.0013888741, 0.0199606549, 0.0772587135, 0.0318958275, 0.0136836907, -0.0053214552, -0.0297709126, 0.036917951, 0.0036625746, 0.0268759448, -0.0056022741, 0.0631935522, 0.0167801548, -0.086969547, -0.0800142735, 0.0258265771, 0.0235740952, 0.0320435017, 0.0207357872, 0.0260030013, 0.0262431502, 0.008235218, -0.0408234447, -0.0062777381, -0.0010417602, -0.0199081786, 0.001961099, 0.0390352048, 0.0335683748, 0.0276461765, 0.004020351, -0.0281955078, 0.0143351322, 0.013664593, -0.0316524915, -0.0130628729, -0.0021506606, -0.0264301822, -0.0212812237, 0.0024415378, 0.0619647242, -0.0335309207, 0.0011752581, -0.050451152, 0.0027047379, 0.0016483759, 0.0295710936, -0.0370000862, -0.0140939988, 0.0541700833, 0.0257988591, -0.002543764, 0.0684715062, 0.0147898057, 0.0050456272, 0.042649731, 0.0248795357, -0.040555872, -0.0361088701, -0.0452996083, 0.0094897384, -0.0162583441, 0.0538570844, 0.0454382598, 0.0022062282, 0.0042906194, -0.0053890636, 0.0131220641, -0.003637102, -0.0099886563, -0.0030721964, 0.042916894, 0.0268758833, -0.0505286753, -0.0258862954, -0.0149332471, 0.0105759325, 0.0663239881, 0.0206653439, -0.0220189989, -0.0743556321, 0.0318522789, -0.031945128, -0.0251434948, 0.0109469546, -0.0560711026, 0.0429308787, 0.0253159609, 0.0153199006, 0.083014816, 0.0037852204, 0.0134535311, 0.053391356, -0.0039275922, -0.0441315994, -0.0245760754, -0.0330883525, -0.0465041809, -0.000588015, -0.0542765781, 0.0227251556, 0.0156638697, 0.012707945, 0.0074447379, -0.0723282769, 0.0162087064, -0.032696113, -0.0321898162, -0.0156777613, 0.0247865897, -0.0013502657, 0.0739557445, -0.0315127112, -0.0691318959, 0.0384232029, -0.0520575121, 0.0210844576, -0.0395041667, 0.024536971, -0.0210045949, 0.0561099797, -0.0228412244, 0.0078448234, -0.0251388587, -0.0161319952, -0.0179363061, 0.0595302097, 0.0201722067, -0.0347239636, 0.0326662064, -0.0823260546, 0.0053836657, -0.0291694589, -0.0040096729, 0.0066927178, 0.0622738227, 0.0045631393, -0.0205405671, 0.011354058, -0.0823034942, -0.0349720158, 0.0395931751, 0.0532884821, 0.0318466313, 0.0096379304, -0.0384899713, -0.0140513629, -0.03292308, -0.0523580015, 0.0156270824, 0.0500609875, -0.0499167219, -0.0222797785, -0.007356842, 0.0161043592, 0.008672337, -0.0327583626, -0.0329449251, 0.0187544376, 0.0176327918, -0.0268023498, 0.0141008822, 0.0827446431, -0.0412141755, -0.0211835634, 0.0525173545, 0.0043566669, -0.0245507583, 0.0203372072, -0.0109455511, 0.0327414759, 0.0170960128, -0.0020412244, -0.0541457422, 0.006248415, 0.0089442134, 0.0309535582, -0.009060028, 0.016366329, -0.0093969367, -0.0387089439, 0.0277884454, 0.043708574, -0.0810880661, -0.0729716495, -0.0330283232, 0.0023552075, -0.0253810361, 0.0245639402, -0.0031792261, 0.0125394035, -0.0090930508, 0.0142931426, 0.0012603765, -0.0535067059, 0.0211182665, -0.0413617156, 0.0118453987, 0.0691543296, 0.0521664098, -0.0073392913, -0.0806810856, -0.0103788218, 0.0003976062, 0.0217458643, 0.0206003468, 0.039566759, 0.0386264808, -0.0291983467, 0.0238251686, -0.0468030907, -0.0006374668, 0.0319432057, -0.0196561199, 0.0241434053, -0.023729749, -0.0105557768, 0.0276598334, -0.0039364467, -0.018607039, 0.0253659394, 0.037517298, -0.0516903102, -0.0201957934, -0.006278282, 0.0140511645, -0.0475627072, -0.0178517625, -0.0156235825, -0.0797469094, -0.0633485094, -0.0764919594, -0.0145622175, -0.0189220048, 0.0475719683, 0.0124916947, -0.0282983799, -0.0219963398, 0.0132909361, -0.024590956, 0.0132886432, 0.0081783161, 0.0532161929, -0.0281497333, 0.0349823348, -0.0371900797, 0.025617497, -0.0381633118, 0.0284849517, -0.0584368333, -0.037714798, -0.010682133, 0.0300980266, 0.0297468565, -0.0229954086, -0.0135855936, 0.0072780936, 0.0071791243, 0.0124706104, -0.0108551681, 0.0286242869, 0.0355242565, -0.0334859192, -0.0254148114, 0.023076022, -0.033765547, -0.0432537049, -0.0076528694, 0.0154489204, 0.0204350688, -0.0713295937, -0.0043643308, 0.0095295664, 0.0590387657, -0.0274348482, -0.05860525, 0.0215434134, 0.0091172922, -0.0031538508, 0.0156201255, -0.0313419774, -0.0688068941, 0.0419999622, 0.0240482781, -0.0248246659, 0.0799806714, -0.0162810609, -0.0289134141, -0.0083405171, -0.0050834855, -0.0176687017, 0.1007296517, 0.0162096843, 0.0212659072, -0.0421853289, 0.0007641151, -0.0058437116, 0.0285881404, -0.0103508811, 0.033894401, 0.0313707739, 0.0400193036, 0.0195828583, 0.0750846267, -0.0216760878, -0.0173656289, -0.0125185773, -0.0348510072, 0.0533275045, 0.0264132414, 0.1142325252, 0.0004375171, 0.0096329954, -0.0296345893, 0.0284514911, -0.0172617603, 0.0078764986, -0.0603571124, -0.0166335814, 0.0005175616, 0.0529950112, 0.0295020882, -0.087666899, -0.0047112587, -0.0485192947, -0.0222510044, 0.0087705469, -0.0101792887, -0.0068694451, -0.037067838, 0.0023355572, -0.0395178236, -0.062926501, -0.0389500074, 0.0307718571, 0.0450936556, 0.0187539756, 0.0176656153, -0.0081163598, 0.0964359269, -0.0274183545, -0.0163551141, -0.0128141847, -0.0363735035, -0.0490111448, 0.0105146039, -0.0384822935, -6.455517428e-33, -0.0236316249, -0.0162124373, -0.0189277884, -0.0352229588, -0.0609913655, -0.0164145306, -0.0265212227, -0.002227426, 0.0002318544, 0.0153974779, 0.0242850259, 0.0001832805, 0.0190233216, -0.0646532699, 0.0105536282, 0.0067437617, 0.0417596027, -0.0034119913, -0.0654654577, 0.0042060157, 0.0787592381, -0.0193999372, 0.0577008426, -0.0921636298, 0.0658454299, 0.029654637, -0.0000459833, -0.0187800527, 0.006372394, -0.0100924922, 0.029165864, 0.0143061001, 0.0027504354, -0.0172877554, -0.0502898581, -0.0405019186, -0.0315716676, 0.0069478843, 0.005206801, 0.0672100335, 0.010923082, -0.0203677509, 0.0445762724, -0.0230570696, -0.0587666854, -0.0343868211, 0.008500482, -0.0603094883, -0.0374780111, -0.0362042971, -0.0356060527, 0.0204653777, -0.0206148494, 0.0151695097, 0.0156346727, 0.0729604661, -0.0404466018, -0.0282586459, -0.0470735133, 0.0173536241, 0.0116652474, 0.0387772545, 0.0893006399, -0.0095217265, 0.0240625981, 0.0350375473, 0.0616003983, -0.0019441291, 0.0567681827, -0.0133653311, 0.0477204733, 0.0071349898, 0.0643849894, 0.0381146818, 0.0358646289, -0.0090240845, -0.0624627098, 0.0556210577, -0.0787307173, 0.0053955358, 0.0160835385, 0.034644369, -0.0515521206, 0.0274148621, -0.0130318021, -0.0319421999, -0.0140423542, -0.0680485144, 0.0054215323, -0.0039286027, -0.0070921872, -0.029481994, 0.053922575, -0.0134971673, 0.0247790348, -0.0616306216, -0.0210996736, 0.0307976846, -0.0007495477, -0.01013867, 0.0094225444, -0.0301168468, 0.0230851248, 0.0724384561, 0.0568309054, -0.071880646, 0.0043798224, 0.0086364653, -0.0335313678, 0.005055652, -0.0211220793, -0.0121857729, -0.0108057568, -0.0194263905, 0.0291307233, -0.0127624776, -0.0122425044, 0.040944986, -0.0030931097, -0.0307331402, -0.0288862735, 0.056703493, -0.0175822228, 0.0573901273, -0.07820867, 0.0017911189, -0.0547125153, 0.0380298756, 0.0676922947, -0.0221021902, -0.0646760166, 0.0269934684, 2.944e-7, 0.0536106639, 0.0704744756, 0.0298984256, 0.0119265551, -0.0009597285, 0.0266164206, -0.0412576385, 0.0133497706, 0.0075758197, 0.0069001638, 0.0309139397, 0.0033342149, 0.0728256777, 0.02702922, -0.0120742498, -0.0291161146, -0.0411436111, 0.0254171211, -0.0535889007, -0.0087707033, 0.0625262335, 0.0138328383, -0.0175095126, 0.0307650082, 0.0162569489, -0.0408943258, 0.0330246054, -0.0389266647, 0.0431148112, -0.001678642, 0.050604444, -0.0280320905, -0.0136584425, 0.0514858998, -0.0052036867, 0.0057876171, 0.0627877861, 0.0424816161, 0.0179526247, -0.0035979643, -0.0015821378, -0.000498806, -0.0124886772, -0.0628210604, 0.0226297304, -0.0499231592, -0.0095425909, 0.0057971543, -0.0074662236, 0.0347642973, 0.0594278425, -0.0132957324, -0.0136093292, 0.0308193993, 0.0385428742, 0.0257572923, 0.0055901371, -0.0187350009, -0.0246410295, 0.02739322, -0.0158823822, -0.0772998482, -0.0254132692, 0.0358035229, -0.0063510798, 0.0271780174, -0.0220262408, 2.522915771e-34, 0.0400799029, -0.0231690537, 0.0320223458, -0.0623776391, 0.036851123, -0.0381559618, -0.0119393319, -0.0292169005, -0.0220936276, -0.0235481095, 0.0059330133 ]
http://arxiv.org/abs/2401.06752v1
http://arxiv.org/pdf/2401.06752v1
Stylometry Analysis of Multi-authored Documents for Authorship and Author Style Change Detection
2024-01-12T18:36:41
2024-01-12T18:36:41
Muhammad Tayyab Zamir, Muhammad Asif Ayub, Asma Gul, Nasir Ahmad, Kashif Ahmad
cs.CL
cs.CL
In recent years, the increasing use of Artificial Intelligence based text generation tools has posed new challenges in document provenance, authentication, and authorship detection. However, advancements in stylometry have provided opportunities for automatic authorship and author change detection in multi-authored documents using style analysis techniques. Style analysis can serve as a primary step toward document provenance and authentication through authorship detection. This paper investigates three key tasks of style analysis: (i) classification of single and multi-authored documents, (ii) single change detection, which involves identifying the point where the author switches, and (iii) multiple author-switching detection in multi-authored documents. We formulate all three tasks as classification problems and propose a merit-based fusion framework that integrates several state-of-the-art natural language processing (NLP) algorithms and weight optimization techniques. We also explore the potential of special characters, which are typically removed during pre-processing in NLP applications, on the performance of the proposed methods for these tasks by conducting extensive experiments on both cleaned and raw datasets. Experimental results demonstrate significant improvements over existing solutions for all three tasks on a benchmark dataset.
[ 0.0334910937, 0.0737472698, 0.004133055, 0.0422515273, -0.082628198, 0.0080752168, 0.0547983348, 0.0261872243, -0.0105466647, -0.0418983772, 0.0220872387, -0.0234079175, 0.0490184985, -0.0012071253, 0.0085385991, 0.0546306595, 0.0092109311, 0.0398435555, 0.0485015661, 0.0278396159, -0.0047956677, 0.0124738244, 0.0171231143, 0.0321351252, -0.0167228952, -0.0436914861, 0.0125128506, 0.0454355106, 0.0414354205, 0.0051566479, 0.0090990448, 0.0894275382, -0.0319494568, 0.1076978892, 0.000001839, -0.0638083592, -0.0489130318, -0.0008602396, 0.0077447351, -0.0145321311, 0.0690842271, 0.0462586395, -0.0416197591, 0.0055808155, -0.0323847309, 0.0215289779, -0.0066593271, 0.0516502373, 0.041044727, 0.1111036539, -0.0294523165, -0.0855854899, 0.0190870631, 0.0300687142, 0.0082026776, 0.0324801207, 0.0434248075, -0.0634915009, -0.0098285992, 0.0077803386, 0.0196838658, 0.020732332, -0.0682502016, -0.0436833501, -0.0239595361, -0.0143340779, -0.0322307535, 0.0317432322, 0.0057875533, -0.0308618061, -0.0311777033, -0.0338283442, 0.0440377705, 0.0064136186, -0.0070882849, 0.024929231, 0.0146828983, 0.0119692683, -0.0609261207, -0.0258415174, 0.0116920546, -0.0208582226, -0.0119775739, 0.0219908282, -0.004183108, 0.0337042548, 0.0071646152, -0.036634732, -0.0417242348, -0.0085928515, 0.0059980066, -0.0443867296, 0.0489412397, 0.0112580145, 0.0323021933, -0.0149886394, -0.0478246994, -0.1082459539, 0.0107039222, -0.0567610264, 0.0199771579, -0.0329092368, -0.0111551927, 0.0217295922, -0.0358393118, 0.0284241922, 0.0084634693, -0.0331075937, 0.0193652343, 0.0163209196, -0.063986294, -0.0305982903, -0.0306650363, -0.0085497173, 0.04339955, 0.0040458953, -0.016890021, 0.0039322651, 0.0182367209, -0.0027721862, -0.0242666695, -0.0195453744, 0.0079992646, 0.0326284245, 0.0230547227, 0.0241720397, 0.025261445, -0.0028276769, -0.0241743885, 0.0060952217, 0.003265186, 0.0550066158, 0.0402467214, -0.0071578082, 0.038562648, -0.0185115412, -0.0147851901, -0.038617149, -0.0371985883, -0.0454766974, -0.0114192599, -0.0236381311, -0.023913661, -0.0441931151, 0.0005146036, -0.023672631, -0.0095613329, -0.049719017, -0.0289783068, 0.0230305325, -0.061728552, 0.0342737958, -0.0007463167, -0.0052965297, 0.0802852213, -0.0507041663, 0.0028837512, -0.0267503355, 0.0386558212, 0.0154414587, 0.0696241558, 0.0132558746, 0.0238650553, 0.0147097232, -0.0154064326, 0.0033271182, 0.0304793715, -0.0352211446, 0.002795269, 0.0024169148, -0.01690167, 0.020789057, -0.0088555347, -0.0434189141, 0.0313138366, 0.0287582744, 0.0381282233, 0.0106939739, 0.0270444248, 0.0297148507, 0.0238599349, 0.0179462675, 0.0192764774, -0.0161502138, -0.0585130788, -0.0430734269, -0.0510810055, 0.0234091915, 0.0025723546, 0.0183111299, -0.0161815844, 0.0052649966, 0.0123702027, -0.0545740202, 0.0150592318, -0.0108919377, -0.0242997669, -0.0419273935, -0.0239432622, -0.0660009608, -0.0157347918, -0.0271675121, -0.0021180033, 0.0509339347, 0.0689726323, -0.0391166359, 0.0316398889, -0.0268690009, -0.018849019, 0.0298153702, -0.017559208, -0.0143616302, 0.0195787959, -0.0400252044, -0.0121650407, 0.0167632941, -0.0126065388, 0.0330130346, 0.0035174177, 0.0355931036, 0.0110073034, 0.0035503889, -0.0333239697, 0.0423530415, 0.0066557289, -0.0361442715, 0.0543024242, 0.0003168915, 0.0032075718, 0.0103093563, -0.0372070745, 0.0106293531, -0.0131512508, -0.0325826108, -0.0409561656, 0.0376816243, 0.0560038649, 0.0018154416, 0.0358642302, 0.0129532609, 0.0052196854, 0.0021905599, -0.0025959776, -0.0466614366, 0.018270487, -0.0203447454, -0.0336037092, -0.0455716252, 0.0512952134, -0.0306081437, 0.0223006606, -0.0711939484, 0.074242942, 0.0425239205, 0.0171298217, -0.0447018556, -0.0340985768, 0.079990454, -0.003482257, -0.0184750967, -0.033624921, -0.023676293, 0.0231143851, 0.0602148362, -0.0090630231, 0.0202554408, -0.0875229761, -0.0293853227, 0.004220969, -0.0227247272, 0.0599327944, -0.0098209176, -0.0152892293, -0.0209270082, -0.0195401553, -0.0076224487, -0.0388723128, -0.0357671045, -0.0196744855, 0.0654297322, 0.0000057675, -0.0069995252, -0.0085774623, -0.0049362397, -0.0234603435, 0.0462225191, 0.0443025902, -0.0291878767, -0.0590162463, -0.0233340487, -0.0114290053, 0.0188103672, 0.0119454628, 0.0166159198, 0.0215007588, -0.0223591626, 0.0625780001, 0.0552031472, 0.0553714968, -0.0029487154, -0.0168315079, -0.0093432898, 0.0106221065, -0.007975461, 0.0034054338, 0.0755847618, 0.0228975639, -0.0051354282, 0.0934406966, -0.0201651566, -0.0126337465, -0.0422847532, -0.005467861, -0.0137065705, 0.0307749901, 0.0102503318, 0.0692837164, -0.0226304252, 0.0149939004, -0.0139694326, -0.0030179913, 0.0020876091, 0.0259616747, -0.0507318601, 0.0176877137, -0.0690441281, -0.0023043957, -0.0328259654, 0.0356615409, 0.0133328391, 0.0176465362, 0.0333220996, -0.0427089743, -0.003885244, -0.001151773, 0.097850278, 0.0110346768, -0.0342381187, -0.0511920378, 0.0607293658, 0.0078576999, 0.0033185603, -0.012862199, -0.0426750667, 0.0030843229, -0.0283238944, -0.0121813947, -0.0608045384, -0.0337300822, -0.0329110213, 0.0355728492, 0.0726198703, -0.0271101706, -0.0111437114, 0.0133255227, 0.0488490611, -0.0060900357, -0.0465859771, -0.016866019, -0.0123989629, -0.0357952826, 0.0059048291, -0.03574742, 0.0145843523, -0.0175134949, -0.0242461748, -0.00137758, -0.0908450559, -0.0575832203, -0.0118360659, 0.0043201712, -0.0518945046, 0.0179609954, 0.1038343757, 0.0356311575, -0.0498431958, -0.0359939188, -0.0398836769, -0.0333142243, 0.0164430402, 0.0173523016, -0.0616633743, -0.0128269801, -0.0240739305, -0.0067134914, -0.0315379165, -0.0369354934, -0.0022864826, -0.0221877843, 0.0150926486, -0.0132793738, -0.0473617204, 0.039293617, -0.0340334438, -0.0114513803, -0.0016653927, -0.0728119761, -0.0256311316, 0.0016691322, -0.0027919081, -0.000914373, -0.0287363064, -0.019732317, -0.0157315433, -0.0254257061, -0.0449775718, 0.0579393581, 0.0843619108, -0.0489077456, -0.0540670641, 0.001197385, -0.0264061876, 0.0072736838, -0.048225075, 0.0678947493, -0.0171483699, 0.002534484, -0.0163519923, 0.0180094633, 0.0110128401, -0.0204732958, 0.0314548872, -0.0042585302, -0.0275750943, -0.0209661163, -0.0161408633, -0.0275907181, 0.0381461941, 0.0133844577, -0.010793319, -0.0606174096, -0.0765110403, -0.0070590926, 0.0467294455, -0.0162069313, -0.009996471, -0.0216485467, -0.01179366, -0.0297274441, -0.1028424129, 0.0191616975, -0.0607311167, 0.0236275364, 0.009509149, 0.0413756967, 0.0208331198, -0.0310317203, -0.0853100196, -0.0432556085, -0.0224803295, 0.073071897, -0.0262227636, 0.0206937362, 0.0193380956, 0.0023802535, 0.0284888372, -0.0041070776, -0.0604107603, -0.0348852426, 0.0065000677, -0.0365019888, 0.0148298265, 0.0193229057, -0.0290335193, -0.0382763371, 0.015159593, 0.0395833626, 0.0204285122, 0.0093110139, 0.0284938142, -0.0323636457, -0.0614808537, -0.0088291476, 0.0157910641, 0.0181236546, 0.0263495501, -0.05696382, -0.0137495892, -0.0032077718, -0.0198746435, 0.0502776951, 0.0117110554, -0.0343883187, 0.036518503, 0.0128010856, -0.012394133, -0.0118289562, -0.0079602776, 0.015117215, -0.0098159667, -0.0165847614, -0.0002239663, -0.039171353, 0.0602784753, 0.0093109105, 0.0379323587, -0.0295506362, 0.0341881141, -0.0054409802, 0.1076503322, -0.0411517136, -0.0043507982, 0.0219913367, -0.004353412, 0.0302271303, 0.0445738882, 0.0053292667, 0.0011333321, 0.0420363508, 0.0150802685, -0.0395997912, 0.0591414496, -0.0918750614, 0.0342291594, 0.0060948441, -0.0271053035, 0.0413772948, -0.0166401863, 0.0695346892, -0.009330323, -0.0004756281, -0.0203460641, 0.04156648, 0.041796159, 0.020939976, -0.0769704208, 0.0044293148, -0.0315786228, 0.0472943932, 0.0525982864, -0.006482034, 0.014843218, -0.0103567978, -0.0714416727, -0.0171198584, -0.0179090351, 0.0229124203, -0.0142727783, 0.0230551455, -0.0133104064, -0.0577029586, 0.0275261719, 0.0995400548, 0.0013786501, 0.0714790225, 0.0123429801, -0.0035268632, 0.0500619821, 0.0002765561, 0.0275838394, -0.0424925126, -0.0036177163, 0.0325341783, -0.0224500522, 0.0122719789, -5.148519422e-33, 0.0354357027, -0.0567991696, -0.0274350625, 0.0615294613, -0.0158520099, -0.005569302, -0.0284557194, -0.0563681871, -0.0100246975, 0.005228966, -0.0475521907, 0.0152434055, 0.011268815, -0.0146636767, 0.0236178581, 0.0556367375, 0.043747399, 0.0188449603, -0.0496101528, 0.0074298983, 0.072118409, -0.0120690288, 0.0639322549, -0.0654090345, 0.0371936411, -0.0345759466, -0.0478753112, -0.0004294032, -0.0382847302, -0.01964904, 0.0146073857, -0.0127966451, 0.0189722683, -0.0247300491, -0.0200616643, -0.0152073829, -0.032700289, -0.0477926843, -0.0517468788, 0.0425436832, 0.0596429296, -0.020738462, 0.0362753831, -0.0033290463, 0.0022800805, 0.019976873, 0.080121465, 0.0087103546, -0.0224107336, -0.0765102208, -0.0652576759, 0.0382534266, -0.0101981899, 0.0158785023, 0.0187015384, 0.0028473018, -0.0037335381, -0.0196512714, -0.0958677009, -0.0209723171, -0.0269022901, -0.0200340934, -0.0692125037, 0.0287111066, -0.0111339027, 0.0187794548, 0.0009065581, 0.0505616665, 0.0186075605, 0.0349639393, 0.067058824, 0.0128029622, 0.042240914, 0.058360301, 0.031793166, -0.0288143046, -0.0448428467, 0.0536627285, 0.0573793836, -0.0162096303, -0.0158480573, 0.0199684054, -0.0078629209, -0.0278149527, -0.0058456752, -0.0473145247, -0.009838053, 0.0252605099, -0.0418918021, -0.0108221537, -0.0330746733, 0.0253497213, 0.0158275608, -0.0308766719, -0.0408561826, -0.0099798851, -0.0494476333, 0.0831558332, 0.009230651, -0.0274233446, 0.0280367937, -0.0318272151, 0.033970505, 0.0299332216, 0.0209767241, -0.0024104114, 0.072291255, 0.0202920679, -0.0696822479, -0.0066447421, 0.0598715171, 0.0064653135, 0.0064504244, 0.0359433256, -0.026394153, -0.0018122018, 0.0489272252, 0.0344503857, 0.0254106168, 0.011820551, -0.0220052041, -0.002832476, 0.0382746495, 0.0102560772, -0.0168621168, 0.0101995058, 0.0315339006, -0.0065641552, 0.0017620252, -0.0201505907, 0.0107051758, -0.0346167907, 2.47e-7, 0.0646983981, 0.0182361975, 0.0664835423, -0.0497621186, 0.0208073277, 0.0446104482, 0.0212707575, 0.0326162688, -0.0337090753, 0.0296747647, 0.0138553167, -0.0035337047, 0.0616573803, 0.0029660556, -0.0706894249, -0.0103452876, -0.0197952278, 0.0039806454, -0.0785982981, 0.0207348708, 0.05882385, -0.0044817431, 0.0342446454, -0.0303409118, -0.0283175297, -0.0192977078, 0.0420934632, 0.0407131761, 0.0316159651, 0.0228961241, 0.047570955, -0.0684396774, 0.0132852476, 0.0307914969, -0.0267725177, 0.0447786674, -0.0098982202, 0.0276672374, -0.0313761421, 0.062065728, 0.0118376035, -0.0206313524, 0.0008193886, 0.0157821514, 0.0345142037, 0.0748537406, -0.0066098045, -0.0505770743, -0.0340416841, -0.0154987359, 0.035455782, 0.024501754, -0.031231232, 0.0669702366, 0.0008090796, -0.0079786582, -0.0070497384, -0.0733462945, 0.0028963957, -0.0027572752, -0.0056165843, 0.0458272174, 0.0197198875, 0.0029629893, 0.0600528494, -0.0830412358, 0.0482078008, 2.388570542e-34, 0.0336989537, 0.0040689269, -0.0220803209, 0.0216972623, 0.0304647721, 0.0060059512, -0.0206598062, 0.0551168919, -0.0334797837, -0.0384977758, 0.0081921108 ]
http://arxiv.org/abs/2401.06751v2
http://arxiv.org/pdf/2401.06751v2
The Unreasonable Effectiveness of Easy Training Data for Hard Tasks
2024-01-12T18:36:29
2024-06-05T14:10:11
Peter Hase, Mohit Bansal, Peter Clark, Sarah Wiegreffe
cs.CL
cs.CL, cs.AI, cs.LG
How can we train models to perform well on hard test data when hard training data is by definition difficult to label correctly? This question has been termed the scalable oversight problem and has drawn increasing attention as language models have continually improved. In this paper, we present the surprising conclusion that current pretrained language models often generalize relatively well from easy to hard data, even performing as well as oracle models finetuned on hard data. We demonstrate this kind of easy-to-hard generalization using simple finetuning methods like in-context learning, linear classifier heads, and QLoRA for seven different measures of datapoint hardness, including six empirically diverse human hardness measures (like grade level) and one model-based measure (loss-based). Furthermore, we show that even if one cares most about model performance on hard data, it can be better to collect easy data rather than hard data for finetuning, since hard data is generally noisier and costlier to collect. Our experiments use open models up to 70b in size and four publicly available question-answering datasets with questions ranging in difficulty from 3rd grade science questions to college level STEM questions and general-knowledge trivia. We conclude that easy-to-hard generalization in LMs is surprisingly strong for the tasks studied. Our code is available at: https://github.com/allenai/easy-to-hard-generalization
[ 0.0397249088, 0.0516495556, -0.0169719812, 0.0291578528, 0.0169548318, 0.0593977906, -0.0165744517, 0.0156291611, 0.0057821255, -0.0617501996, -0.0023378166, 0.0005351952, -0.0255680084, -0.0265793614, 0.0383372642, -0.0443255901, 0.0172187351, -0.0129620582, 0.0213941503, -0.0371954478, 0.0088521969, -0.0032418175, 0.0103944978, -0.013121387, 0.0241958648, -0.0061201858, 0.0136749279, -0.0169626959, -0.008210538, 0.0118788723, 0.0445311517, 0.0618707761, 0.0093712024, 0.0216782335, 0.0000017958, -0.0787204877, -0.0156573597, -0.0115286922, -0.0489619151, 0.0136012258, -0.0247781109, -0.0397422239, 0.0303454455, 0.0285132118, -0.0428616665, -0.0195805077, 0.0324016586, 0.0264497828, 0.0623464733, 0.0485775843, 0.0078717591, -0.016042389, 0.0228019692, -0.0209652614, 0.0610436164, -0.0843272209, 0.0234401505, 0.0173730645, -0.0274970997, 0.0118306978, -0.0218368601, 0.0337313488, 0.0152346576, 0.0557349809, -0.0096663097, 0.0249956809, -0.0456438363, 0.0229391474, 0.014241471, 0.1169655994, -0.0366881751, -0.0245287921, -0.0132178534, -0.0262930803, 0.03848169, -0.0036457267, -0.0368967839, 0.0213245172, 0.0095494436, 0.002563715, 0.0052316277, -0.0301455129, 0.0253211483, 0.0309764203, -0.0220658556, 0.0183279738, -0.0066354866, -0.0425531082, 0.0550946556, 0.0278204829, -0.0393960997, -0.017278133, -0.0442257486, 0.0363683887, -0.0525129549, 0.0150130624, -0.0425076298, -0.0035785753, 0.0437714756, -0.027599087, 0.0446075276, 0.004169431, -0.0508153699, 0.0733117908, -0.0241174363, 0.0335288048, 0.0193065908, 0.0794117823, -0.0209976453, -0.0373654924, -0.0334613137, -0.0025695034, -0.0130388131, 0.0409480296, 0.0053376202, 0.0296563711, -0.0300981924, 0.0056941076, -0.0307844095, 0.0225790348, -0.0153597305, -0.0117633287, -0.0309543107, -0.0056623509, -0.0449591018, -0.0007923916, -0.0764451846, 0.0587134622, 0.012984518, -0.0564974919, -0.0148841953, -0.0086824195, 0.0507247485, -0.0121596223, 0.031706959, 0.0525852367, 0.002897654, -0.044519525, -0.0441526286, -0.0309811607, 0.0057905889, -0.0560954697, -0.023078464, -0.0557942167, 0.0434568264, 0.016093526, 0.0075284452, -0.0274140779, -0.0115564996, 0.0117146643, -0.0306844842, 0.080820024, -0.0003925007, -0.0009059324, 0.0315995738, 0.0221195482, -0.0080328155, 0.0565400943, -0.020252049, -0.0028860064, 0.0638713911, -0.0234180447, 0.0629352033, 0.0246283542, 0.0337722301, 0.012859948, 0.0197369233, 0.0504443608, 0.0194504857, 0.0260326546, -0.000777385, 0.0596430227, 0.0020430568, -0.013684012, 0.0480953567, 0.0172577724, 0.0235670079, 0.0022781126, -0.0028961115, 0.0009774423, 0.0219786689, 0.021801021, -0.0551370271, 0.0009127771, -0.0597758554, -0.0006608936, 0.0253069792, -0.0191558171, -0.0615084916, -0.0542267077, -0.0069603268, -0.0155987814, 0.0038305102, 0.0444412529, 0.0394854993, 0.0410454571, -0.009187351, 0.0403884426, 0.0488196611, -0.033660423, 0.0150361657, -0.0551479533, 0.0447535813, -0.0241977721, 0.0282779466, -0.0588030852, -0.023656629, -0.0182311721, 0.0580665804, -0.0244616419, 0.0696712807, -0.0432770662, 0.028295882, -0.0372670591, -0.0158109106, 0.0039224783, 0.043625202, -0.0442194417, 0.041701749, -0.0099203093, 0.0186631959, -0.0721681789, -0.0448564105, 0.0340757184, -0.0412031077, -0.074616611, -0.0108769098, 0.0325344428, -0.00310252, -0.0105076535, 0.0117427791, -0.0096810199, 0.0302710235, -0.0290903617, 0.0016925478, -0.0703951716, 0.0002197366, -0.0128655471, 0.0203299597, -0.0358379185, -0.0478017963, 0.0603655316, -0.0795614645, -0.0425538793, -0.0279255975, -0.0207216851, 0.0122366948, -0.0284108948, -0.0017823408, -0.0251370165, 0.0083873328, -0.0695815757, 0.0792814419, -0.0048606726, 0.071159102, 0.0017724033, -0.0316314511, -0.003254472, -0.053678263, -0.0559314899, -0.0268813223, -0.0191438459, 0.046536833, 0.0218427088, 0.0134638194, -0.0827122778, -0.008848954, -0.0535362959, -0.0036258807, -0.0356064662, 0.0016686789, 0.0147324055, 0.0105488263, -0.009123683, -0.036011856, -0.0747419, 0.0107751554, 0.0090173678, 0.0241494048, 0.0657055378, 0.0378094353, 0.0099060759, -0.0281307008, -0.0197177697, -0.0065006916, 0.0082919328, -0.0175268855, 0.0493379906, -0.0409594253, 0.0248933695, -0.0325645879, 0.005151845, -0.0084361546, -0.0108574545, -0.0070305998, -0.0328293405, -0.0045833294, 0.1045183539, 0.002663021, 0.0211804789, 0.0165363513, 0.0183767844, -0.0491629094, 0.0126943234, -0.0171786081, -0.0649335384, -0.0366085991, -0.0283592865, -0.0025547654, 0.0443387479, -0.0045004203, -0.0216947738, -0.034852311, 0.0450987294, -0.0216787029, 0.0196728893, -0.064443931, 0.055228468, -0.0060443063, 0.0490070507, -0.0198077802, -0.0447756387, 0.0711552426, -0.0028439802, 0.0100337658, -0.0114969602, -0.0266097914, -0.0405251682, 0.0592430048, -0.0119207148, 0.0124478508, 0.0099591259, -0.0253948513, -0.0947362408, -0.014104615, 0.0270422325, -0.0363357514, 0.0684667826, -0.0346734487, -0.0267579965, -0.0277621672, -0.060843017, -0.0342127047, -0.033503592, -0.0164273307, 0.0014571504, -0.0181883834, -0.0040426771, 0.0069346274, -0.0504904278, 0.0230704676, 0.0053822966, -0.0137050143, -0.0254563261, -0.0215827338, 0.0409144647, 0.0635196194, 0.0371764712, 0.0133410841, -0.0352258757, 0.0082501639, 0.0364285186, 0.0637528077, 0.0407271609, 0.0388531089, 0.007353296, 0.0426086597, -0.0390488617, -0.0141024729, 0.0570724607, 0.0405558646, -0.0296029747, -0.0266582202, 0.1107956022, 0.0295231603, -0.0251896381, -0.0076637128, 0.0128034474, 0.0055059926, 0.0441313833, 0.0180856157, -0.084286727, -0.0416858569, 0.006100968, 0.0612090528, -0.0082178777, -0.036158178, 0.0245563556, -0.1028110012, 0.0034997358, -0.0232618302, -0.0491365492, -0.0428720526, -0.0453278422, 0.0102298772, -0.0406418703, 0.0365819074, -0.0001236935, -0.0073663057, 0.0021428543, 0.0352164246, -0.0119585786, -0.0541146062, 0.0592383891, -0.0614577755, 0.055353947, 0.0299505349, 0.0196718555, -0.0268093254, -0.0120619759, 0.0589648187, -0.0146091832, -0.03161145, 0.0086458949, 0.0600748844, 0.0051796995, -0.0244447272, -0.0026550333, 0.0727933869, -0.0178078543, 0.0464308448, 0.0156382117, 0.0671817586, 0.006345666, -0.0062037557, 0.0110523272, -0.0383605026, -0.010689728, 0.089264527, 0.0229260605, -0.0554183647, -0.0214284733, -0.0495979898, 0.0007648771, -0.0114673562, -0.0621078201, 0.051219441, -0.0027609966, -0.0144288223, -0.0464440733, -0.0638434887, 0.0677542537, 0.0402961522, -0.0169451851, -0.011118779, 0.0046184035, 0.001270061, -0.0285700187, 0.0313701257, -0.077046372, -0.0074791876, -0.0685106292, -0.0336887129, 0.0245971084, 0.0000531953, -0.0262327306, 0.01137478, -0.0636820421, -0.0531080589, 0.0213229991, 0.0463440195, 0.0301858988, 0.0338476263, -0.0191485398, -0.0908415169, 0.0524995215, 0.02662839, -0.0309059415, 0.0096992655, 0.0267161708, -0.0073241736, -0.009686714, 0.0553841852, -0.0743032396, -0.0007485324, 0.0459538437, 0.0205669496, -0.0518092886, -0.0212164093, 0.0310701691, 0.0258438196, 0.0507812686, 0.0323585384, -0.0462195352, -0.0198040456, 0.0189736448, 0.0375890322, -0.036531169, -0.0208852328, -0.0142111657, 0.0475421175, 0.0093364734, -0.014007438, 0.0010281211, 0.0090392837, 0.068571575, -0.077927731, 0.0062532988, 0.0376219004, 0.031887196, 0.0503566898, -0.015622546, -0.032315392, 0.0108197154, 0.0200326573, 0.050921239, -0.0016026023, 0.0221496429, 0.0168224368, 0.0384418704, -0.0216276385, -0.0214026812, -0.0512225218, -0.0535115264, -0.0229798742, 0.0153010776, 0.0312589705, -0.0235722326, -0.0215944648, -0.0064275251, -0.0374200605, -0.0128756249, -0.0068244878, 0.0026008897, -0.0273242854, 0.0572009422, 0.0351187512, -0.0024368577, 0.0185905304, 0.0867053419, 0.0244183857, 0.0543113612, -0.0120015237, -0.0269247368, -0.0452023596, -0.0041482635, 0.0319583118, 0.0155202104, 0.00188436, 0.0357973911, -0.0318034068, -0.0780234113, 0.0006789311, 0.004455952, -0.0102615412, -0.0076851943, 0.020649083, 0.0574991144, -0.0012653553, -0.0020713862, -0.0427915901, 0.0023634108, 0.008059022, -0.0341970883, 0.0015062492, -6.311129987e-33, 0.0077002244, 0.0114718936, -0.0104317386, -0.0267858338, 0.0321346335, 0.0323949791, -0.0037124795, 0.0424947366, -0.069062233, 0.0100454148, -0.0215436742, 0.0186490063, 0.0007115359, 0.0491740741, 0.0048892186, -0.0456349887, 0.0116230091, -0.005734738, -0.0269110315, 0.0091067944, 0.0140514839, 0.0233702008, 0.0425814912, -0.064404659, 0.0666454136, -0.0239467695, -0.0240190309, 0.0467383228, -0.0208312199, 0.0305300057, -0.0101531046, 0.0627545044, 0.0326534472, -0.0470773019, 0.0027496011, 0.0139911175, -0.1132303998, -0.0286803897, 0.0005907418, -0.0019313481, -0.0168433264, -0.0184945241, 0.0394391604, -0.0141198598, 0.0172832515, -0.0216141921, 0.0320679508, -0.0211742632, -0.0030801508, -0.0025424743, -0.0034177564, 0.003461072, -0.0031135592, -0.0174879916, -0.0141903693, 0.0474113561, 0.0014407444, 0.0248144623, -0.056939967, -0.0049597691, 0.0199435093, 0.0239293166, 0.0213116556, 0.017377954, -0.0241832063, 0.0347840898, 0.0155733405, 0.0194770433, 0.0166136902, -0.0064027011, 0.0191156305, 0.0302201249, 0.0526142009, 0.0700217932, 0.0602776483, -0.0161842685, -0.0807312727, 0.036045, -0.0005676157, -0.0155466562, 0.0090387277, 0.006107334, -0.0583536848, -0.028988488, -0.0617855117, 0.0357044414, -0.0413744897, 0.0156271085, 0.029640371, 0.0301210582, -0.0300810337, -0.0029054021, 0.0056595788, -0.0392052867, -0.0246781223, 0.0149743939, -0.0000068132, 0.0022850519, -0.0058111572, -0.0005792438, -0.050338041, -0.0201582536, -0.008452761, -0.0422760732, 0.0362897739, 0.0356194749, 0.0825399086, 0.0020950437, -0.075608924, -0.0158640891, -0.005543326, 0.0048028328, -0.0000074248, 0.0273248646, 0.0138069838, 0.0043576229, 0.0036818951, 0.0164497513, 0.0241050888, -0.0111403959, -0.0321184359, -0.0229841862, -0.0085855573, -0.0165239312, -0.0204651374, -0.0381657183, -0.0073808399, 0.0036557708, 0.0298938882, -0.0384529866, 0.0050464366, -0.0070619406, 2.438e-7, 0.0473783389, 0.0269077178, -0.0043308055, 0.04308559, -0.0134426942, 0.0568355285, 0.0104727782, 0.0330491103, 0.0240452867, -0.0302006602, 0.0096995682, 0.0138966292, 0.0445737056, 0.0190180335, -0.1023552045, -0.0155991744, -0.0242236704, 0.0171511583, -0.0170808006, -0.0014729347, 0.0414276831, 0.1036110148, 0.0317473784, -0.0056244349, 0.0056786039, -0.0602570809, 0.0436647572, -0.0530240946, 0.0214270968, 0.0169332176, 0.0500501208, 0.0554600619, 0.0158128645, 0.0384790897, -0.0243796371, 0.0007465985, 0.028576212, 0.0257773418, 0.0269327629, -0.0571237318, -0.0187448673, -0.0315774046, 0.0303106476, -0.0449710004, 0.0899769738, -0.0495009981, -0.036512062, 0.0104873339, 0.0086168945, -0.0155518586, 0.0286487471, -0.0108399363, 0.0064480188, -0.0162729137, 0.0146530867, -0.0006201066, 0.0073306342, -0.0996076465, -0.0175662879, 0.0452557988, 0.0041030124, -0.075310491, -0.0232079085, -0.0126110688, 0.0053727226, -0.0958741754, 0.0357775018, 2.279505099e-34, 0.0212588944, 0.004028359, 0.0237235222, 0.0001242346, 0.0353688337, -0.006587436, 0.0188328568, -0.0200612321, 0.0402991176, -0.0661809295, 0.0051005152 ]
http://arxiv.org/abs/2401.06742v1
http://arxiv.org/pdf/2401.06742v1
Using Natural Language Inference to Improve Persona Extraction from Dialogue in a New Domain
2024-01-12T18:25:03
2024-01-12T18:25:03
Alexandra DeLucia, Mengjie Zhao, Yoshinori Maeda, Makoto Yoda, Keiichi Yamada, Hiromi Wakaki
cs.CL
cs.CL, cs.AI
While valuable datasets such as PersonaChat provide a foundation for training persona-grounded dialogue agents, they lack diversity in conversational and narrative settings, primarily existing in the "real" world. To develop dialogue agents with unique personas, models are trained to converse given a specific persona, but hand-crafting these persona can be time-consuming, thus methods exist to automatically extract persona information from existing character-specific dialogue. However, these persona-extraction models are also trained on datasets derived from PersonaChat and struggle to provide high-quality persona information from conversational settings that do not take place in the real world, such as the fantasy-focused dataset, LIGHT. Creating new data to train models on a specific setting is human-intensive, thus prohibitively expensive. To address both these issues, we introduce a natural language inference method for post-hoc adapting a trained persona extraction model to a new setting. We draw inspiration from the literature of dialog natural language inference (NLI), and devise NLI-reranking methods to extract structured persona information from dialogue. Compared to existing persona extraction models, our method returns higher-quality extracted persona and requires less human annotation.
[ 0.0663452819, 0.0728180557, -0.0010594652, 0.0852349475, -0.0086520128, 0.0075532161, 0.0037188241, -0.0369779468, 0.0339734219, -0.0154669592, -0.0351666249, -0.0022898621, 0.0199138969, 0.0118628899, 0.0353750549, -0.0954165161, 0.0242331661, -0.0185127109, 0.0231301915, 0.0285580773, -0.0110276332, 0.0422540344, -0.0303143747, 0.025157107, -0.0088871745, -0.0310039558, -0.0120851127, 0.0042215325, 0.0727688596, -0.0365847126, 0.0381483212, -0.0023613891, 0.0246601738, -0.0199134611, 0.0000016574, -0.0622111745, -0.0001047824, -0.0095100524, -0.0250939205, -0.0370353907, 0.0065805889, 0.052979853, 0.0056676473, 0.0222206172, -0.0426375829, -0.0160095021, 0.0247027539, 0.0592004582, 0.0652093664, 0.0721604303, -0.0348373465, -0.0708020255, -0.06170398, -0.0262597091, -0.0509740748, -0.049016349, -0.0129284449, -0.0113970656, 0.0045408052, -0.0060314513, 0.033901941, -0.0097199809, -0.0241046231, 0.0175722707, -0.0007776925, 0.0327779055, -0.0299632195, 0.0055289362, 0.0037983905, 0.1071560308, 0.0407259278, 0.0384912603, 0.0105308974, 0.0247197077, 0.0220928658, -0.0206268318, -0.0063845869, -0.0013470545, -0.0226212163, -0.0229318086, -0.0071116313, 0.0489663929, 0.0030149515, 0.0022409325, -0.050429184, 0.0222017765, 0.0160057526, -0.0084651718, 0.0034312517, -0.0041799522, 0.0068955743, -0.0264338031, -0.0058474434, 0.0051729721, 0.0041655297, 0.0453816056, -0.0381209329, 0.0423600003, -0.035056632, -0.0003406797, -0.0149410143, 0.010397803, -0.0094202505, 0.0495468974, 0.024718428, 0.0137140965, 0.0383426361, -0.0126783298, 0.0113570346, -0.0330332108, -0.0320607871, -0.0002614884, -0.0428765193, 0.021655716, -0.0273595955, -0.0007343314, -0.0247684028, -0.006494679, -0.0120757921, -0.0043175137, -0.0032493398, 0.0224382468, -0.0536337942, -0.0185557827, -0.0617408752, 0.0512410924, -0.0472131297, 0.0005661527, -0.0154636782, -0.0438634343, -0.0088822423, -0.0049400553, 0.0644797683, -0.0248127412, 0.0224432331, 0.0823082998, 0.0024464431, -0.0556178652, 0.0073423684, -0.0053752209, -0.0104129035, -0.050754685, -0.0340438858, -0.0067710159, 0.0431587398, -0.038913779, 0.0140202921, -0.0336418971, 0.026072599, 0.0022115579, -0.0216453858, 0.0724939704, -0.0222753249, 0.0070473282, 0.0363556519, 0.0024023734, -0.0569201745, 0.024846239, 0.050177373, 0.0038973694, 0.0363579765, 0.0201238208, 0.0280571189, 0.0410149097, -0.0363397151, -0.0426945612, 0.0393269844, 0.0063079186, -0.028738644, 0.0019011623, 0.0309149083, 0.0400414132, -0.0573421568, -0.0184643101, 0.0523563549, 0.0813122541, 0.0122746751, 0.010928303, 0.0479478315, 0.042008955, 0.0209882837, 0.0078890603, -0.0451757386, 0.0022607045, 0.0247320198, -0.0234153681, -0.0248917863, 0.0379154384, 0.0049876678, -0.0414301679, 0.0157250166, -0.0302193593, 0.0071195555, 0.0036341646, 0.0135516208, 0.0401899107, -0.0361702032, 0.0169849321, 0.0466002151, -0.0814554021, -0.008202659, -0.0182049107, -0.0041961814, 0.0817574114, 0.0264610238, -0.0581417754, -0.043693874, -0.0192873925, -0.0118994694, 0.0274602454, 0.0094550001, -0.0497629605, 0.0815230608, -0.0327896029, 0.0160638485, -0.002123792, -0.0102703478, 0.0608423799, 0.0231126398, -0.0229129028, 0.0078369854, 0.0191514939, -0.0031096432, 0.014357904, -0.0650670081, -0.0117214927, 0.016252175, 0.0430067368, 0.0016975488, 0.0295490883, -0.0073884511, -0.0547885932, 0.0110580958, -0.0280542076, -0.0014239084, 0.0655918568, -0.0327755213, -0.050998494, 0.0175269954, -0.0709307045, -0.0218654852, 0.0049415547, -0.0221638083, -0.0108553283, 0.0191984046, -0.032773383, 0.0195742007, -0.0120253433, -0.0081257178, 0.047510244, 0.023307709, -0.0410467871, 0.103214249, 0.0382181779, -0.0384583399, 0.0350653417, 0.0144560291, -0.0234976448, -0.0734240413, 0.0237351824, -0.001015658, 0.0078104977, -0.0123731773, 0.0296582989, -0.0029241159, -0.0349430107, -0.0337862186, -0.0712136626, 0.0092252325, 0.0153715853, 0.0111737866, 0.0073531256, 0.0373507366, -0.0489174873, -0.021927923, -0.0470168404, -0.0417539887, -0.0241310745, -0.0394665822, 0.0739104003, 0.0153898317, 0.0135872066, -0.0511204079, 0.0265840665, -0.0211554859, 0.0549271777, -0.0037891332, -0.011317621, -0.0297273919, -0.0192480311, -0.0646953434, 0.0512743667, -0.0391389653, -0.0313356407, 0.0281248968, -0.0017061805, 0.0425539538, 0.0609850399, 0.0174019709, 0.0369584635, -0.0277782306, -0.025832003, -0.0309532676, 0.0496511497, 0.003726898, 0.0369268619, -0.0105006499, -0.0222103614, 0.0607271865, 0.0468639769, 0.0015934546, 0.0118879741, -0.0539889038, 0.0582379326, 0.0292827822, -0.0389366001, 0.0646154806, 0.0154610407, -0.0028867875, 0.0050392495, -0.0133783435, 0.0167570878, 0.0614706054, -0.0068256119, -0.0250560027, -0.0455804877, -0.0065334779, -0.0433796383, 0.0557809882, -0.0094422121, 0.0332047865, 0.0175184067, -0.0498096719, -0.0307880025, -0.00665288, 0.0399960093, -0.0196155366, 0.0425566509, -0.0569972098, -0.0102267526, 0.0009937601, -0.0305548664, -0.0398993753, -0.0061822725, -0.0231312346, -0.0568338633, -0.0109376181, -0.0233175624, -0.0010195534, 0.0053874599, -0.0133609436, 0.0080191037, -0.0065726577, -0.0043350384, -0.0224827286, 0.0140730273, 0.0352290906, 0.0365475565, -0.0049319398, -0.0209631324, 0.0689164996, 0.0278203115, -0.0397589654, -0.0258613639, -0.0194748677, -0.0057604834, 0.0173116177, -0.0292774979, -0.0065956786, 0.0008140079, 0.0518930964, -0.0401192084, -0.0001608795, 0.1147296652, 0.0149489166, 0.0099352375, 0.0163761098, 0.0179673955, 0.0271566827, -0.0009942193, 0.0060134293, -0.0473386794, -0.0330206305, -0.0040924335, 0.0383187756, -0.0072038691, -0.0693342313, -0.0308461059, -0.109841466, 0.0424326882, -0.0173747241, -0.0275819413, -0.0165512357, -0.0239128266, 0.0466339998, -0.0366534963, 0.0105924224, -0.0155311059, -0.0058581396, 0.0160958562, -0.0080856699, -0.0481420085, -0.0195407812, 0.0252539143, -0.0628874823, 0.0409333743, 0.0010344372, 0.0793062672, 0.026758384, 0.0270540863, -0.0751077756, 0.0332446583, -0.0033985162, 0.0046767914, 0.0902051851, -0.0437197983, -0.0243011825, -0.0413173996, 0.037606325, 0.0123904124, -0.0226332955, 0.0172127746, -0.0169112924, -0.0007402231, -0.0048026764, 0.0187414978, 0.0314417519, 0.0128829172, 0.0661770329, -0.0079647042, -0.0223269984, -0.0054797614, -0.0005086194, 0.0404042937, -0.0246353243, -0.0518364124, -0.0174297132, -0.0227729715, -0.0152511951, -0.0804481953, -0.058449991, 0.0314170197, 0.0796607286, 0.0285047516, -0.0151247345, 0.0219272152, 0.0429414846, 0.0071971449, 0.0214881636, -0.0610727184, -0.0079479683, -0.0070472159, -0.0290343463, 0.064216122, -0.0225298367, -0.0170726757, 0.0295626894, -0.0304974411, -0.0419608094, -0.0419229828, 0.0362498052, 0.0245456956, 0.0704204291, -0.0271219909, -0.0371919759, -0.0262940843, -0.0270093121, -0.0405269787, -0.0184173752, 0.0135873696, 0.0611561909, -0.0086349128, 0.0264667943, -0.0387175232, 0.0312956199, -0.0454057306, 0.0166292097, -0.0507391952, -0.1074613109, -0.0093960427, 0.007443849, 0.0131058637, 0.0002088859, -0.0318898968, -0.0438635983, 0.0007663245, -0.0718245879, -0.0272412729, -0.0281206816, 0.013798466, 0.0067397347, 0.0578126609, -0.0131176226, -0.0295319259, -0.0227310322, 0.0311399009, -0.0620126761, -0.0383102931, 0.0661108941, -0.0124226669, -0.0353449509, -0.0247976612, -0.0101902559, -0.0001790991, -0.024269592, 0.0741447508, -0.0064041801, 0.0173678901, 0.0023376744, -0.0378289632, -0.0161001943, 0.0485998914, -0.0463918783, -0.0280321036, -0.0004072284, 0.0388891958, 0.0169954579, 0.0105021261, 0.0626113042, 0.0134428963, 0.011819981, 0.0509950072, 0.0393554792, 0.0249835122, -0.0259411205, -0.0143242199, 0.0418461189, -0.0349494033, 0.0245043356, 0.0451366715, 0.0138624851, 0.022266984, -0.0138666173, -0.0212461855, -0.0685688779, -0.0341001675, 0.0001876191, -0.0021173474, 0.0153656527, 0.0130291693, -0.0694372803, -0.0417910442, 0.0220557917, 0.0002921946, -0.0187814049, -0.0185720753, 0.0125853391, 0.0081219869, 0.0018586334, -0.0293838456, -0.033459533, -0.0056927255, 0.0162524767, -0.0154641727, 0.007531601, -5.149195331e-33, -0.0663925037, 0.011261452, 0.0114745414, 0.0179088861, -0.070784606, -0.0135203674, -0.0334255844, -0.0414251089, -0.0042045619, 0.0142640062, -0.0176012125, -0.0126460968, 0.013948801, 0.0020275721, -0.0527596287, -0.0321589112, 0.0236402284, 0.0399795957, -0.031526085, 0.0314724557, 0.0272249524, 0.0348646455, 0.0535281636, -0.0864622667, -0.0025968056, -0.0043728175, 0.0092197573, 0.0208804384, 0.0823812932, 0.0290925503, -0.0191480294, -0.0058866101, 0.012609777, -0.012771151, 0.0199729055, 0.0425798185, -0.116366297, -0.0350168832, -0.0096691847, 0.0137502579, -0.0054120612, -0.0200004708, 0.0112975156, -0.0016593518, 0.0402626656, -0.0125501323, 0.0634724572, -0.017079439, 0.0517644286, 0.0053702854, -0.0855775252, 0.029571265, -0.040686056, -0.046252232, 0.0040435977, 0.0572945811, 0.0072423285, -0.0213935208, -0.0387059748, 0.0013274535, -0.0007066701, -0.0280782804, -0.0196173061, 0.0642820969, -0.0054689995, 0.0768719167, 0.0409464724, 0.012808199, -0.0231971666, -0.0218738168, 0.0125292139, 0.0458604284, -0.0017137857, 0.0793709904, -0.0297038537, 0.0249817912, -0.0820214003, 0.0412520096, 0.0587286539, -0.0013391858, -0.0095672533, -0.0014424169, -0.0520247072, -0.0056488547, -0.0043506073, -0.0332858153, 0.0223942921, -0.0094478354, 0.0085894708, -0.0329774171, -0.0686117187, 0.0040083271, 0.016365584, -0.0352773257, -0.0157180633, 0.010697199, 0.0009568638, -0.0127331996, -0.0060281586, 0.0089280242, -0.016210502, -0.0124349231, 0.0805351958, 0.0419845805, 0.0613487102, 0.006898745, -0.0133082261, 0.0264595319, -0.0238284227, -0.0283910353, -0.0108165126, 0.0401992314, -0.0518104322, 0.0971194953, 0.0123493494, 0.0159917139, -0.0227598343, 0.0350958444, 0.0228619948, 0.0071248235, -0.034597721, 0.0104730204, 0.0154960491, -0.02411763, -0.032267876, 0.0040218011, -0.0083229253, -0.0155391935, 0.0149712553, -0.0511313118, -0.0280348975, -0.0068512298, 2.437e-7, -0.0187049657, -0.0063017802, 0.0542973168, 0.0266180076, 0.0070265206, 0.044495672, 0.0186925065, 0.0404315405, 0.0457019098, -0.0626897067, 0.0341051146, 0.0337838791, 0.0400156602, 0.0083168279, -0.1108373031, -0.037727505, -0.0003439587, -0.0504775532, -0.0526004694, -0.0417082831, 0.0846082121, 0.0569360293, 0.0466198958, -0.011081418, -0.0227023084, 0.0081416722, 0.019932624, -0.0088007674, -0.0351144187, 0.0308975969, 0.0661253035, 0.0101888822, -0.0088771153, 0.0151426764, 0.015130043, 0.0670460239, 0.0285260957, 0.0617018417, -0.0378723145, 0.0011181073, -0.0175659563, -0.0057412852, -0.0068278727, 0.0042467886, 0.0715759695, -0.0331387594, -0.0375799015, -0.0189248975, -0.0533554368, 0.011931303, -0.0305505581, -0.0079098279, -0.0568426698, 0.0584323406, 0.0261731427, -0.0301589947, -0.0126122329, -0.1094516292, 0.0180877782, -0.0206226464, -0.0228582248, -0.0220196713, 0.0434254631, -0.0138178011, -0.007581498, -0.0270232875, 0.0591722243, 1.816336792e-34, -0.0477384664, 0.0425926559, -0.0158460625, 0.0411550663, 0.1016160175, -0.0110638393, 0.0071443501, -0.0046067513, 0.0243503116, -0.0563670322, 0.0066681085 ]
http://arxiv.org/abs/2401.06838v3
http://arxiv.org/pdf/2401.06838v3
MAPO: Advancing Multilingual Reasoning through Multilingual Alignment-as-Preference Optimization
2024-01-12T18:03:54
2024-04-13T18:27:04
Shuaijie She, Wei Zou, Shujian Huang, Wenhao Zhu, Xiang Liu, Xiang Geng, Jiajun Chen
cs.CL
cs.CL
Though reasoning abilities are considered language-agnostic, existing LLMs exhibit inconsistent reasoning abilities across different languages, e.g., reasoning in the dominant language like English is superior to other languages due to the imbalance of multilingual training data. To enhance reasoning abilities in non-dominant languages, we propose a Multilingual-Alignment-as-Preference Optimization framework (MAPO), aiming to align the reasoning processes in other languages with the dominant language. Specifically, we harness an off-the-shelf translation model for the consistency between answers in non-dominant and dominant languages, which we adopt as the preference for optimization, e.g., Direct Preference Optimization (DPO) or Proximal Policy Optimization (PPO). Experiments show that MAPO stably achieves significant improvements in the multilingual reasoning of various models on all three benchmarks (MSVAMP +16.2%, MGSM +6.1%, and MNumGLUESub +13.3%), with improved reasoning consistency across languages.
[ 0.0162322968, 0.0339701548, 0.0005356157, 0.0729683489, -0.0401528738, 0.0277102385, 0.011169035, -0.0176071692, -0.0023597812, 0.0079003666, -0.0337686278, -0.0381174013, -0.0083330628, -0.0334194005, 0.0156660825, -0.0225030184, 0.0448492616, -0.0291968621, 0.0103164706, -0.0537674315, 0.0381148234, 0.0267699677, 0.0050111446, -0.0019686124, 0.023711985, -0.0201750714, 0.0024037419, 0.0011246809, 0.0680483431, -0.0084390156, -0.0008242513, 0.0073443549, 0.0150313983, 0.0173421428, 0.0000020053, -0.0617208332, -0.0234089643, -0.013901352, 0.0040117018, -0.0440654643, -0.0192180313, -0.0133980103, 0.0029264903, -0.0049805697, -0.0465988331, 0.0600345694, 0.0464321934, 0.0228055567, 0.0456414931, 0.0720503479, 0.0084772212, -0.0618729256, 0.0038818803, -0.0253331587, 0.0233364031, -0.0237320922, -0.0175317395, 0.0142039768, -0.002224267, -0.0231166575, -0.0017280296, 0.0379028991, 0.042464368, 0.006117146, -0.0611655489, 0.0120538585, 0.0253001992, -0.0413470156, 0.000697959, 0.0666344836, -0.0186483115, -0.0071871225, -0.0148373256, -0.0104826493, 0.0054845116, -0.0116623538, -0.0354764648, 0.0307350326, 0.0049673584, 0.0343340673, 0.0547514111, -0.0121397283, 0.0452447608, 0.0153840138, -0.0483668335, 0.111872308, 0.0027167627, -0.0240370557, 0.0386960767, -0.0013288192, -0.0182880573, -0.0485098809, 0.020567229, 0.0441313572, -0.0791298673, 0.0327743404, 0.0068195336, 0.0202260725, 0.0343294926, -0.0588190518, 0.0156706478, 0.0776328146, -0.0180982426, 0.056382969, -0.0142473727, 0.0822429731, -0.0458768271, 0.0545681231, -0.0521961525, -0.0526339747, -0.0064528342, -0.0254585501, 0.0590158813, 0.0398315266, -0.0222234651, 0.0171025004, -0.0431083404, 0.0194503609, -0.0427968614, 0.0505195819, 0.0052420697, -0.008799905, -0.003786443, -0.0502049625, -0.0711016133, 0.0787592083, -0.0506202914, 0.0205169693, -0.0002860472, -0.0098459991, -0.0069423239, 0.0292321369, -0.0708760247, -0.0495350473, 0.0210699905, 0.1121506095, -0.0407359526, 0.0279572513, -0.0166478176, -0.012693828, -0.0047845067, -0.1034652963, 0.0247808788, -0.0865724385, 0.067540735, 0.0116513381, -0.0269359481, -0.0484045371, 0.0085138343, 0.020500211, -0.0231977403, 0.0442426279, 0.0329990797, -0.0020220024, -0.0002431469, -0.0142310504, -0.0242134091, 0.0752940923, 0.0319561549, -0.0096618533, 0.044465892, -0.0024035613, -0.0596914701, 0.0475898087, 0.0004534107, 0.0087546734, -0.0127882538, 0.0531401373, -0.0048826663, 0.0234127007, 0.0296558123, 0.0128942123, -0.0046759699, -0.0338970833, 0.0204444844, 0.029605329, -0.0021071152, -0.0118965115, -0.0125510609, -0.0247538052, -0.0358322114, 0.0145331342, -0.0589451566, 0.0755821019, -0.0049353642, 0.0177503061, 0.0096407412, 0.0757220909, -0.0100370497, -0.0447221994, -0.0126685509, -0.0143152047, 0.0062233768, 0.0478285328, 0.0268110484, -0.0370971374, -0.0096873511, 0.0638221279, 0.0146451052, -0.0357508585, -0.0081784446, -0.0081981122, 0.0163875241, 0.0441038199, -0.0094027603, -0.0153717082, -0.0639625043, -0.0111075575, -0.0078316275, 0.0594103411, 0.0444217548, -0.0130944392, 0.0147662936, -0.0597489625, -0.0395251922, -0.00571995, -0.0368991829, 0.048905354, 0.0013120433, 0.038984023, 0.0092534572, -0.0266808961, -0.0084945066, 0.021725582, -0.0315118171, 0.0083871083, -0.0036049378, 0.0223065987, 0.0238581132, 0.0276344176, 0.0282221548, 0.0084986156, 0.0020007619, -0.0425929651, -0.002457618, 0.0279052537, -0.04278557, -0.0182451326, 0.084575139, -0.019745104, -0.0731212795, 0.0093645062, -0.0604123175, -0.0313163251, -0.0274990853, 0.011707426, 0.0037850121, -0.0480940081, -0.0021382363, -0.0013742407, -0.0189748798, -0.0619243458, 0.0710844696, -0.0097797681, 0.0384388417, 0.043803025, -0.0130871851, 0.0487929061, -0.0676667243, 0.0048801419, 0.0799340308, -0.0055382862, -0.0020477106, 0.0433449298, 0.0404106639, -0.0386716872, -0.0036365462, -0.0380853452, 0.04205871, -0.0114727048, 0.0371529199, 0.0224811155, -0.00623482, 0.0071776109, -0.0166683849, -0.0792618096, -0.0084738117, 0.0180915836, 0.0370349996, 0.051553674, -0.0051979222, 0.0321522504, -0.0247370116, -0.0108266333, -0.0179879833, -0.0116525041, -0.035162203, 0.0327358879, -0.0399264358, -0.0011835883, -0.0972946286, -0.0096994694, -0.0043975464, -0.0214367658, 0.0244420152, 0.014864766, 0.0190114956, 0.0666779578, -0.0201029889, -0.0396562293, 0.0670310631, 0.0150102526, -0.0870706365, 0.0287551079, -0.0173985921, -0.0108076138, -0.0384261496, -0.0453731753, -0.0221402161, 0.0309892986, -0.0094477534, -0.0115091661, -0.0434451438, -0.0095124999, 0.0137897497, -0.0032223824, -0.0324483365, 0.0433549844, 0.0034399698, 0.0521517918, -0.0344127081, -0.0125530157, 0.1168874651, -0.0005308049, -0.0144463303, -0.0620588586, 0.0092278607, -0.0614646561, -0.0046305223, -0.017441377, 0.039166417, -0.0738921687, 0.0034036206, -0.0898554027, -0.0437241085, 0.0465844721, -0.0290964432, 0.0513999276, -0.0294218566, -0.0240151379, -0.0398012251, -0.0694414526, -0.0333819687, 0.0094922623, -0.0220080689, 0.0133268172, -0.021990722, -0.0203330237, -0.0307729244, -0.012381929, 0.055527322, -0.0109763108, -0.0128097646, 0.0031706358, -0.0190428477, -0.0090898499, 0.031392511, 0.0522888489, 0.0210015438, -0.0242131054, 0.0232845582, 0.0553478524, 0.0115869772, -0.0721207261, 0.0228739548, 0.0185654946, 0.0508945324, -0.0188210011, -0.0187740456, -0.0086542852, 0.0349383727, -0.0355856121, 0.055752594, 0.1019578204, 0.0232736245, -0.0098760817, -0.0048306081, -0.0516353622, 0.0635091364, 0.0522802174, 0.0545450225, -0.0707665533, -0.0311577637, 0.0124273095, 0.0082382914, 0.0254770909, -0.0033270286, -0.0130744921, -0.0849189609, -0.0110721374, 0.0174407195, -0.0201198235, -0.0135054095, -0.0330423415, -0.0134883383, -0.0341688953, 0.0295671672, 0.0035248173, 0.0393478088, -0.0123224054, -0.0132070687, 0.0134750148, -0.0189491194, 0.0302715302, -0.01392949, -0.0212408695, 0.0559630394, 0.0452363901, -0.0056101638, -0.0504347309, 0.0471995808, 0.0449829176, -0.0194417667, -0.0277839452, -0.0488163717, 0.0100261876, -0.0022020312, -0.0273965914, 0.0512506217, -0.0238984581, -0.026977146, 0.0128247887, 0.0975441337, -0.0191583671, -0.002356708, -0.005803016, -0.0039016674, -0.0171163827, 0.060984727, -0.0272638369, -0.0083090598, -0.0462547429, -0.0556957759, -0.0601824373, -0.0335350707, -0.0037089624, 0.0186864994, -0.0067322114, 0.0112168528, -0.0272842366, -0.0494918525, 0.0003345664, -0.0016156869, 0.0017991613, -0.0073019555, -0.0245442111, -0.0353192426, -0.0133954547, 0.0202336498, -0.0061671031, 0.013936067, -0.0205343068, 0.0288461056, -0.0122554256, -0.0331477709, -0.0231854264, -0.0109905005, -0.0324900635, -0.0913253948, -0.0550204702, 0.0610582866, 0.0173685066, 0.0404983424, 0.0144304745, -0.0120067922, 0.0012191134, 0.0057337824, 0.0185585916, -0.0102735572, 0.0358113423, 0.0108662993, 0.021754723, 0.0548995808, -0.0318335593, -0.0177942645, 0.0137995575, 0.0628414527, -0.0214687958, -0.0082884477, 0.0258061849, 0.0211930666, 0.0057691955, -0.0262193941, -0.0233751778, -0.0302307587, 0.0503169708, -0.018056443, -0.0291102715, 0.0231311545, -0.0060958737, 0.0151626375, -0.0551063716, 0.0378322825, -0.0049956422, 0.0196448006, -0.0353701003, 0.0187149774, 0.0192119665, 0.0405150503, -0.01591154, 0.0098378137, 0.0287551973, -0.0073587508, 0.031992726, 0.0059903301, 0.0781012103, -0.0205394309, 0.0575769208, 0.0447726771, 0.003952777, 0.0194330048, -0.019642802, -0.0345795155, -0.0771450475, 0.0315482728, -0.0298631806, 0.0823338404, -0.0216158554, 0.0478605554, -0.0004149913, -0.0263888948, 0.0099992128, 0.0245491378, 0.0087007973, -0.0145157725, 0.033012908, 0.0147141032, -0.0100667467, 0.011422242, 0.0555012338, -0.0300037339, 0.0071731773, -0.0418272279, 0.020787809, -0.0371875018, -0.0560197383, -0.0089042056, 0.0266689174, -0.028619945, -0.0179589093, -0.0390245691, -0.066216737, -0.0117031792, 0.0334050655, -0.0375756212, 0.0133229168, -0.00482488, 0.0819489509, -0.0286696386, -0.0229972973, -0.0128529891, 0.0024517197, -0.0434168205, -0.0225641336, -0.0040424475, -5.846012954e-33, -0.0032993704, -0.0331966877, 0.0514746197, -0.0246768035, 0.0220275875, -0.0484681986, 0.0014524752, -0.0211213809, -0.0633739233, 0.0143966982, -0.0057489406, -0.0167707391, 0.0119650587, -0.0067284545, 0.0325562842, -0.0050940369, 0.0013576023, 0.0224250164, -0.038877286, -0.0358132124, 0.0383026265, -0.0062426548, 0.0824249983, -0.0430828221, 0.069818072, 0.0106715243, -0.0044707716, 0.0474824682, -0.0577964559, 0.0685193539, 0.0040934351, 0.01747315, 0.019569248, -0.026865989, -0.0178934522, -0.0094249304, -0.0437717512, -0.0601100773, 0.0708182305, 0.0160487536, -0.0045056674, -0.0684621558, 0.0204132553, -0.0083776405, -0.0156766959, -0.0304483809, 0.0103315655, -0.0394762568, 0.005434297, 0.0394567326, -0.0546156727, 6.637e-7, -0.0314603671, 0.0236685425, 0.0422741026, 0.0594764277, -0.0070447708, 0.0385553092, -0.0678950921, 0.0218963623, -0.0256102011, 0.0041065817, 0.1320316046, 0.0106161702, -0.0166061353, 0.0240865517, 0.0010888933, -0.0159852486, 0.0245405994, -0.0046484899, -0.0087748803, 0.0300466046, 0.0504453294, 0.0687465742, 0.0149659142, 0.0231294371, -0.1012312248, 0.0504978485, 0.007306701, 0.0411034413, 0.022271378, 0.0307342652, -0.0192071311, -0.0217908006, -0.0502443239, 0.0218304954, -0.0341824442, -0.0395210534, 0.0050362903, -0.0270504691, -0.0059839725, 0.0021522266, 0.0477503501, -0.032887321, -0.0243502147, 0.0227294415, -0.020188015, -0.027887255, 0.015642453, 0.0489289314, -0.0543362834, -0.0114725931, -0.0586215444, -0.0321397036, -0.0036187626, 0.0233955905, 0.0479397811, -0.0201932583, -0.0339767449, 0.0041795103, -0.043619331, -0.011482304, 0.0021353057, 0.0234319065, 0.0104267541, -0.0055894107, 0.0016152251, 0.0689664558, 0.0201528128, -0.0179117508, -0.0344084501, -0.0154608507, -0.0180666, 0.0363923796, -0.0216663573, 0.0419392362, -0.01280527, 0.0306871459, -0.0229833294, -0.0321550108, -0.011059382, 0.0354464985, 2.573e-7, 0.0507507697, 0.0328904204, -0.0011145714, 0.0295874346, -0.0141001865, 0.0479504727, -0.0518356934, -0.0072327838, 0.0129757365, -0.0203046985, 0.0010763737, 0.0522864796, 0.0381032154, 0.0402590595, -0.0691233873, 0.0059388867, -0.0223037601, -0.0086202445, -0.0420161039, 0.041212555, 0.0536143966, 0.0582036786, -0.0044346638, -0.0115409894, -0.0136799496, 0.0041247224, 0.0721894652, -0.0408028737, -0.0069556916, 0.0097053442, 0.0204691812, -0.0202410538, 0.0045435759, 0.0107090268, 0.0035466796, 0.0165998135, -0.0103635015, 0.091891557, -0.0050978386, -0.0827948228, -0.0242959335, -0.0354689099, -0.0005669008, -0.0837286562, 0.0762746409, -0.0027124581, -0.0364421941, -0.0039258525, 0.0108637987, -0.0078648161, 0.0582680888, -0.0442702956, -0.0370148867, 0.0067295488, 0.0184144974, -0.017389968, -0.0078530312, -0.0328118317, -0.0613818616, 0.00125102, -0.0120238699, -0.0266427565, -0.0141878305, 0.0270020645, 0.0219526831, -0.0320580602, -0.0434206165, 2.091485696e-34, 0.0022121784, -0.0112903044, 0.0138777476, 0.0226617437, 0.025412973, -0.0157610439, -0.0205692407, 0.011538472, 0.0194587819, -0.0502574481, -0.0213325806 ]
http://arxiv.org/abs/2401.06730v1
http://arxiv.org/pdf/2401.06730v1
Relying on the Unreliable: The Impact of Language Models' Reluctance to Express Uncertainty
2024-01-12T18:03:30
2024-01-12T18:03:30
Kaitlyn Zhou, Jena D. Hwang, Xiang Ren, Maarten Sap
cs.CL
cs.CL, cs.AI, cs.HC
As natural language becomes the default interface for human-AI interaction, there is a critical need for LMs to appropriately communicate uncertainties in downstream applications. In this work, we investigate how LMs incorporate confidence about their responses via natural language and how downstream users behave in response to LM-articulated uncertainties. We examine publicly deployed models and find that LMs are unable to express uncertainties when answering questions even when they produce incorrect responses. LMs can be explicitly prompted to express confidences, but tend to be overconfident, resulting in high error rates (on average 47%) among confident responses. We test the risks of LM overconfidence by running human experiments and show that users rely heavily on LM generations, whether or not they are marked by certainty. Lastly, we investigate the preference-annotated datasets used in RLHF alignment and find that humans have a bias against texts with uncertainty. Our work highlights a new set of safety harms facing human-LM interactions and proposes design recommendations and mitigating strategies moving forward.
[ 0.0526453704, 0.0622193143, -0.0278585907, 0.0179396681, -0.0215292461, -0.0124022821, -0.0367113836, -0.0143771078, 0.0205381885, -0.0349543877, -0.0039111776, -0.0606323369, 0.0302903224, -0.0038134432, 0.0098277004, -0.0444178469, 0.0311231352, -0.0323681384, 0.0505632237, 0.0019137105, -0.0009971242, 0.0087675666, -0.0178236645, 0.0352589898, -0.0325342715, -0.0130865304, -0.0213799737, 0.0137623958, 0.0077502173, -0.0586953945, 0.0053710598, 0.065372698, 0.0019846479, 0.0266941134, 0.0000018906, -0.0580680631, 0.0303324815, -0.0142186917, -0.0724615082, -0.0214642156, 0.0264699701, 0.0423234552, -0.0103840102, 0.0164304823, -0.0490375087, 0.0207667015, 0.051150512, 0.0000017202, 0.009563474, 0.0233470947, 0.0066161393, 0.0433032103, 0.0134837488, 0.0050650644, 0.0325236432, -0.051738508, 0.0013171587, -0.0148951001, 0.0004390471, 0.0120565286, -0.0045030862, 0.051057376, -0.0043387567, 0.000040898, -0.0175951365, 0.0105461823, 0.007943077, -0.0667147785, -0.0288917124, 0.0540574975, 0.0672079399, 0.0047631375, -0.020604847, -0.024259422, 0.0358405113, 0.0361303166, -0.0141052315, 0.053548567, -0.0339841768, -0.0081824195, -0.0376345366, 0.0025963013, 0.0272106249, 0.0176851787, 0.0244928505, 0.0990589336, -0.0136728436, -0.0132489149, 0.0201063957, 0.0147029916, 0.010038075, -0.0601613298, -0.0255127028, 0.0243346281, -0.0827892497, 0.0490726791, -0.0766278952, 0.0064610015, 0.0399992093, -0.051348079, 0.0151273217, 0.0480242036, -0.008139614, -0.0020971759, 0.0261510555, 0.0460440889, -0.002260807, -0.0107212039, 0.0019368092, 0.0220684949, 0.0210104045, -0.040550109, 0.0142285591, -0.0156055456, -0.0036744445, 0.0037570309, -0.0469931327, 0.0461060479, -0.0341029055, 0.0562238917, -0.0567076243, 0.049762249, -0.0317999646, -0.019663997, -0.0973482355, 0.0180394594, -0.019900389, 0.0374013707, 0.015629543, -0.120939143, 0.0206462927, 0.019869592, -0.0324788615, -0.0109035075, -0.0288298782, 0.0822215602, -0.0119818049, -0.0014298501, -0.0206129421, -0.028320495, -0.0190038458, -0.0573922396, -0.0050655967, -0.0450917669, 0.0103100305, 0.031121131, -0.0064965216, -0.061526183, 0.0378876776, 0.0453702472, -0.0537392236, 0.0872104168, -0.0461282469, 0.043162819, 0.0183892623, 0.0050028581, -0.0275539849, 0.0398562737, 0.0523870699, 0.0175687317, 0.0552796572, 0.0036603434, 0.0505081303, 0.0273063984, -0.0355349444, 0.008705576, -0.0119931912, 0.0218453407, -0.0567662269, 0.0381871872, 0.025784146, 0.0759821981, 0.0211658049, -0.0106419064, 0.1067229286, 0.0623432547, -0.0561412908, -0.0293770228, -0.0023331784, 0.0137962932, 0.038937442, 0.0087749958, -0.0688705742, 0.0371761434, -0.0542321838, 0.0228442606, 0.0069638919, 0.0076890383, -0.0070393481, -0.050247144, -0.0500827655, 0.000667256, 0.0090247104, 0.0362953097, 0.0016281613, -0.0248827171, -0.008076096, 0.0045623905, -0.0055404236, -0.0363855436, -0.020937968, -0.0485186763, 0.0333420523, 0.0671846345, 0.0148938755, 0.0089016631, -0.0433981866, -0.0157319289, -0.0021036735, 0.0673799738, 0.0802128986, 0.0096790809, -0.0125102652, 0.0055295797, -0.02126473, 0.0278480351, 0.0043420009, -0.0125415837, 0.0282770954, 0.0133200893, -0.001009198, -0.025071647, -0.0407936126, 0.0350113213, -0.0097571444, -0.0277392101, -0.0440200046, 0.0016958256, 0.0134316795, 0.0090183709, 0.0001858522, 0.0217733476, 0.0300442073, 0.0656562001, -0.0479440242, 0.0205438472, -0.0160668679, 0.0401229113, 0.0517083295, -0.0245878845, -0.0724139065, -0.0208759066, -0.034164805, -0.010779392, -0.0288127437, -0.0253239386, -0.0090285139, 0.0010042278, 0.03054538, -0.0039240099, -0.0316685513, -0.0557641312, 0.0272714775, -0.0166774858, 0.0058139022, 0.0104516521, -0.0014666632, -0.0172547512, -0.0562869795, -0.0370563157, 0.0178686064, 0.0002208965, 0.020842379, 0.0296680219, 0.0104356091, -0.071798116, 0.0120370267, -0.0424079187, -0.028156722, 0.0073887487, 0.0281495135, -0.003001241, -0.0228538681, -0.0231098924, -0.0115144085, -0.0271312539, -0.0026033258, 0.0128611941, 0.0303521566, 0.0626627207, -0.0055452785, 0.0199364927, -0.0591941811, 0.0159828085, -0.0269579981, -0.0058021699, 0.0222139191, 0.0052616564, -0.075109601, 0.0257463101, -0.0564679392, 0.0043852022, -0.0025748904, -0.0121301524, 0.040858224, 0.0198429711, -0.0196963735, 0.0290451366, 0.0194093473, 0.0168903507, 0.0607977584, 0.0056124805, -0.0479273871, 0.0102972798, -0.0060567204, -0.0620387457, -0.0043474021, -0.0347415507, 0.0021303492, 0.0284870379, 0.0041227187, 0.028953677, -0.0290534962, 0.0297534335, -0.0130937407, -0.0344610251, 0.0108618569, -0.0230903588, -0.0429296605, 0.0923629552, 0.0012951756, -0.0751960278, 0.0969658196, 0.0031690754, -0.0014456189, 0.0174614731, 0.0024068065, 0.0164450444, 0.0301119704, -0.0223507844, -0.0087450081, 0.0450291447, -0.00796392, -0.081933856, -0.0261264835, 0.0063515818, -0.0588654242, 0.0506722815, -0.0766884908, -0.0174678173, -0.0063694608, -0.0393437594, -0.0580329224, -0.0361607112, -0.0737808123, -0.0386969596, 0.0236666892, -0.0477202758, 0.0025946028, -0.0447022617, 0.0240818355, -0.0259061456, -0.0373144671, -0.0339223854, -0.0137255816, -0.0005501152, 0.0527414754, 0.0353280194, 0.0629860684, -0.0261155739, 0.0115702888, 0.0655279085, 0.0275882203, 0.001572473, -0.0220093261, -0.0282483138, 0.0374338031, 0.0122319898, -0.0194487032, 0.099126555, 0.0574526303, -0.0064063156, 0.0221789964, 0.1022521034, 0.0356125869, -0.0041787843, 0.0076590921, -0.0724777281, 0.0595691241, 0.0240985211, 0.0197161138, -0.0745973215, -0.0232556779, 0.016545523, 0.0428850651, -0.014088613, -0.0300663877, 0.0078747114, -0.1038066223, 0.0175414775, 0.0124329682, -0.0337731875, -0.0085918903, -0.0086207837, 0.0250408687, 0.0092286915, 0.0635448322, 0.0234922692, -0.0207755826, 0.0034944569, 0.001197927, -0.0674662516, -0.0364714637, -0.0019973221, -0.0548043698, 0.0758211464, 0.039116811, 0.0091521917, -0.0176842734, -0.0353894532, -0.0021825288, 0.0266903117, 0.0254221577, -0.018529959, 0.0424590521, -0.0029086645, 0.0016758904, -0.0349937975, -0.0059073656, -0.0341829099, 0.0087805158, -0.0051323301, 0.0494875833, -0.0502717383, -0.0038006466, -0.0248055197, -0.0008156925, 0.0375843719, 0.0428034849, -0.0026499496, -0.0442376398, -0.0321134776, -0.0506929494, 0.0187954605, 0.0056614978, -0.0363909602, 0.0332203098, 0.0021400983, -0.0021897629, -0.0459575914, -0.0712295845, 0.0013768788, -0.0134293223, 0.0148744164, -0.0442502238, 0.0477751456, 0.0252520945, -0.0153649552, 0.0366248004, -0.0138039319, 0.0416404679, -0.0294119157, 0.0632444695, 0.0117123527, -0.0215568542, 0.0449476279, 0.0366842449, -0.0339402109, -0.0758874565, 0.0089069903, 0.0925512239, 0.0372334123, 0.0055294284, 0.009359953, -0.0600068234, -0.0001749156, 0.0300374217, -0.0189435799, 0.0108035197, 0.0153846359, 0.0632099286, -0.0258980375, 0.0492677428, -0.0347780772, -0.0629815757, -0.0094569661, 0.0289163478, -0.0381573737, -0.0916063562, 0.0163610652, 0.0354915895, 0.0570528619, -0.0404176749, 0.0412901118, 0.0125430943, -0.003897561, -0.0141543746, -0.0275806729, -0.0083091203, -0.0167029426, -0.007208914, -0.0121414419, 0.0026945521, -0.0302444622, -0.0305659622, 0.041432295, 0.0162958093, 0.0002911251, 0.024795251, 0.029185323, 0.0106160771, 0.0239485875, -0.0081332484, 0.0401725024, -0.0208310932, 0.0548648387, 0.0737049133, 0.0508113839, -0.0041949423, -0.0202977285, -0.0096352799, -0.0113080572, -0.0318391919, -0.1200017706, -0.0075493692, -0.0261354409, 0.0251698662, -0.0006077352, 0.043313805, -0.0468270257, 0.0094865505, -0.0149172368, -0.0087293945, 0.0068461094, -0.0095639657, 0.074602209, 0.0125901354, -0.0442603789, -0.001941204, 0.0534139834, -0.0051898663, 0.042554725, -0.0477617644, -0.0509410091, -0.0196121465, -0.021060558, 0.0308181215, -0.0025968486, -0.0284533799, -0.0388953686, -0.0673028901, -0.0813265964, 0.0268073641, 0.0205986425, 0.0017317532, -0.0717949197, 0.0142223407, 0.0377030335, 0.0256192796, -0.0161115453, -0.0251906663, 0.0031889693, -0.0421757996, 0.0309354253, -0.0855948627, -6.313118777e-33, -0.0220610015, -0.0730292872, -0.0061454508, -0.0226717088, -0.0099861454, -0.0077488641, -0.0065533319, 0.0817557275, -0.0326870941, 0.0156039381, -0.0408251919, 0.002795351, 0.0200993642, 0.0106196394, 0.076597698, -0.0330261141, 0.0058700121, -0.018827334, -0.0218593609, -0.0533585139, 0.0302893277, -0.0122916987, 0.0395250581, -0.1066351533, 0.0876505375, 0.0047928267, -0.0253333561, 0.0473647453, -0.0485168919, 0.009918048, -0.0047926535, 0.0419323295, -0.0130890915, -0.0036557678, -0.0208858177, 0.0335032046, 0.0148702534, -0.0505552255, 0.012516275, 0.0440069437, -0.038804587, -0.0129310694, 0.0166381896, -0.009270899, -0.0548030138, 0.0359545946, 0.0230221767, -0.0195668302, 0.0142681943, -0.0000441297, -0.0159352235, 0.0111783138, -0.0020260599, -0.0195860043, -0.006936796, 0.0818326622, -0.018393416, -0.0224249382, -0.0692053586, 0.017317269, -0.0116078099, -0.0084088519, 0.0923793092, 0.0367942154, -0.0147521617, 0.0486768, 0.0043631098, 0.0312667303, -0.0393964984, -0.0013033689, -0.0169342905, 0.0406520478, 0.0173230805, 0.064711459, 0.0061405669, 0.0039784363, 0.0036487321, 0.0359827317, 0.0004222177, 0.0630254969, 0.0047756992, 0.0357046649, -0.0767247006, -0.0206803977, -0.0300451908, -0.0272432808, -0.0328425877, -0.033296492, -0.0153620448, -0.0180267636, 0.015942486, -0.0189272538, -0.0064949491, -0.0043344214, -0.0322156847, -0.0321578197, -0.0195666999, 0.0193011854, -0.0009490474, 0.0233231075, -0.0046738498, 0.0313296802, -0.0137336766, -0.0131865013, 0.0184742976, 0.0402172431, -0.0154554835, 0.0206230264, -0.0696251169, 0.0091007994, -0.0002449495, 0.0011378377, 0.0235061981, -0.0340296179, 0.057820905, -0.0227237009, -0.0231124684, 0.0446523465, -0.023853831, -0.0034011099, -0.0409364477, 0.0028000036, -0.0262546428, -0.0289062988, -0.0163926203, -0.0136686638, -0.0255724005, 0.0236976743, -0.0061772126, -0.0438781194, -0.0106294388, -0.0238104239, 2.658e-7, 0.0415597856, 0.0513880216, 0.0132274423, 0.0433509201, 0.0125401877, 0.0759472549, -0.0082156844, 0.0147937322, 0.0407591648, -0.0312122479, 0.026573889, -0.0052776188, 0.0605548583, 0.0530033335, -0.0254024509, -0.0405893549, -0.0371129364, 0.0405285992, -0.0057278634, 0.0158602726, 0.071184136, 0.0244043805, -0.0045933961, 0.0047175717, -0.0324163735, -0.0003202807, 0.0291967932, -0.0453099608, 0.0235214792, 0.0050004465, 0.0323185846, 0.0140681723, -0.0117601641, 0.036610242, 0.0037540386, -0.0246589631, -0.0330109969, 0.0569344647, -0.0050122426, -0.0402237959, -0.025329167, -0.0038984143, 0.0286065359, -0.0322021805, 0.0256536361, -0.0560364574, -0.0412428826, -0.0074507897, 0.0160090588, -0.0214249343, 0.0373522453, -0.0161651187, -0.011392355, 0.005308589, 0.0180918518, 0.0343064889, -0.0336146168, -0.0275766347, -0.0398604162, 0.0144297043, -0.0294931326, -0.0572911687, -0.0261660274, 0.0613123588, 0.0040441141, -0.0547315553, 0.0093470514, 2.004751203e-34, 0.004803387, 0.0163287204, 0.0203202087, 0.024270663, 0.0607013628, 0.0239912234, 0.025093982, 0.0414942689, 0.0557260141, -0.0322448723, -0.0171267074 ]
http://arxiv.org/abs/2402.10908v1
http://arxiv.org/pdf/2402.10908v1
LLM-Assisted Crisis Management: Building Advanced LLM Platforms for Effective Emergency Response and Public Collaboration
2024-01-12T17:50:35
2024-01-12T17:50:35
Hakan T. Otal, M. Abdullah Canbaz
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG, 68T50 68T50 68T50, I.2.7
Emergencies and critical incidents often unfold rapidly, necessitating a swift and effective response. In this research, we introduce a novel approach to identify and classify emergency situations from social media posts and direct emergency messages using an open source Large Language Model, LLAMA2. The goal is to harness the power of natural language processing and machine learning to assist public safety telecommunicators and huge crowds during countrywide emergencies. Our research focuses on developing a language model that can understand users describe their situation in the 911 call, enabling LLAMA2 to analyze the content and offer relevant instructions to the telecommunicator, while also creating workflows to notify government agencies with the caller's information when necessary. Another benefit this language model provides is its ability to assist people during a significant emergency incident when the 911 system is overwhelmed, by assisting the users with simple instructions and informing authorities with their location and emergency information.
[ 0.0486964956, 0.0055739004, -0.0008248587, 0.0215135422, -0.0365701802, 0.0257692859, -0.0282022711, 0.0016856734, 0.0080167698, -0.0876755565, 0.0009300669, -0.0237710401, -0.045118697, 0.0329698063, -0.0182263777, -0.0517279655, 0.0139185498, -0.0106671359, 0.0612708926, 0.0393789522, 0.0330837257, 0.0465444066, -0.0208196249, 0.0224701241, 0.0018973611, 0.0415759496, -0.0171264932, 0.0064485194, 0.0543400571, -0.0326162614, 0.0134794582, 0.0133828549, 0.0628913492, 0.0011056085, 0.000001622, -0.0547981448, -0.0041127023, -0.045986969, -0.0361435525, -0.0540650561, 0.0341518857, -0.0499035865, -0.036756631, 0.0369155817, -0.0377655253, -0.0066722985, 0.0172902551, 0.0746847838, 0.0798997879, 0.0793282613, -0.0118215857, -0.0527924709, 0.0334360711, 0.0127665913, -0.0164893437, -0.0507351905, 0.016405398, -0.048093535, 0.0595414899, -0.0076467651, 0.0689853802, 0.022699507, -0.001904226, 0.0265158061, -0.011360161, 0.0383394696, -0.0588660873, -0.0113880048, -0.0350821279, 0.062320631, -0.0121154124, -0.0127361212, 0.0273217652, 0.0097647011, -0.0138366604, 0.0220711064, -0.0254604463, -0.0144682433, -0.0245598964, 0.0335689038, 0.0086589372, 0.0613978691, 0.0281200744, 0.0388964079, 0.0050093355, 0.0256875046, -0.0348560587, -0.0180048756, -0.0282244645, 0.001911949, -0.0326198377, -0.0395072326, 0.0537557527, 0.0445658937, -0.0297615025, 0.0061853235, 0.0036768049, -0.0081285676, 0.0296697617, -0.1266799718, -0.0139468033, -0.0122353313, -0.010268, 0.035133712, 0.004006831, -0.0287090465, 0.0124006039, -0.0075279921, 0.0011003944, -0.0354665294, -0.0921175629, 0.0118767917, -0.0116141103, 0.0255828146, -0.0069552013, 0.0041249488, -0.0379513614, 0.0117731141, 0.0350399017, -0.0188517347, 0.0092670275, 0.0051156981, -0.0093603181, -0.0088791829, -0.0196064655, -0.0063153189, -0.0242996216, 0.0499627516, -0.0385997407, -0.0444376469, 0.0552004166, 0.0045922794, 0.031408906, 0.0193539038, -0.0176375918, 0.0429648571, -0.0060790014, -0.022810014, -0.0968690962, 0.0078381468, 0.0383997224, -0.0309394822, -0.0117071141, -0.0741303936, 0.0425862223, 0.0116479164, -0.0188940018, 0.0254118629, 0.0371092595, -0.0016626464, -0.035070654, 0.0452883057, -0.0719629824, 0.0390166007, 0.064345561, 0.0294532366, 0.0597310103, 0.0515257008, 0.0400833786, 0.0419770963, 0.0800152048, -0.0224558413, 0.0459732823, 0.019110946, -0.0629417598, -0.0058891103, -0.005235035, 0.0169379264, -0.0514991656, 0.0161589291, 0.0128583657, 0.0040559345, 0.0106450142, 0.0140338214, 0.0462919138, 0.1004058346, 0.012067277, -0.0068921251, 0.0289619341, 0.0772894621, -0.0351494364, -0.0508187376, -0.0205211826, 0.0011535127, -0.0555565394, -0.0055560041, 0.0290302057, 0.0449387655, -0.0485237017, -0.0332587026, -0.033321403, -0.0304573514, -0.0346109197, -0.0058470373, 0.023444375, -0.0430079214, -0.0102657862, 0.0412573442, -0.0059884787, -0.0140679516, -0.0106900483, -0.0489129163, -0.00008043, 0.1114747301, -0.0076751378, -0.0384847149, -0.0173587129, -0.0495043434, 0.0587432422, 0.0509980358, -0.0122688031, 0.0285889879, -0.0045260619, -0.0566161983, -0.0038074732, 0.0515574738, 0.0071875951, -0.020074496, 0.0053607607, 0.0313836485, 0.0036772231, 0.0176157858, -0.0368915461, 0.0211204458, 0.0370406955, -0.0498766005, -0.0253433455, 0.0050892159, 0.0029041932, 0.0187167656, 0.0152366329, -0.0094398055, 0.0288139135, -0.0338600129, -0.0702918172, 0.0170082096, -0.0196100995, 0.0262484495, 0.0244862325, -0.0099441921, -0.013185543, 0.0050173639, -0.0646184459, -0.0189795364, 0.025737755, -0.0400281884, 0.0133953849, -0.0389485806, -0.0034249851, 0.0267409347, -0.0047989362, 0.0070073432, 0.0770420879, -0.0179268047, -0.0137337716, -0.0441041701, 0.0118881343, 0.0029757372, -0.0063550831, 0.0093362993, 0.0100469207, 0.0029625127, 0.0584739558, -0.010690758, 0.0078079659, -0.0119773336, -0.0257069021, -0.0635907426, 0.0159364454, -0.0372112058, 0.0453413315, 0.0408469178, 0.0230157338, -0.0317453258, -0.0208195429, -0.0156955551, -0.0109056886, 0.0522791483, -0.0092236465, 0.0135722728, 0.0025548039, -0.022151025, -0.0391469263, 0.0088016456, -0.0090909116, 0.002881228, 0.0223904997, -0.1229001433, -0.0550663061, 0.0019478032, -0.0304766595, 0.0175933205, -0.0040223682, -0.063413769, 0.013845833, -0.0121857366, 0.0044527045, -0.033981096, 0.0343429036, 0.0453609973, 0.0085011628, 0.0195868053, -0.0176593047, -0.0099327108, -0.0497621447, -0.0497247539, -0.0365612768, -0.0422608592, -0.001694413, 0.0400116071, -0.024968924, 0.0432255194, 0.0146541139, -0.0507455319, -0.0029405674, -0.0093560666, -0.0399634577, -0.0150220748, -0.0118235173, 0.0458954871, 0.0077940882, -0.0272971615, 0.0197070166, 0.0269003827, 0.0263016541, -0.0511178449, -0.0863512084, -0.0740190893, 0.0437099747, -0.042976249, 0.0276953932, 0.0063081989, -0.0277160965, 0.0511127226, -0.0304553211, -0.0529313609, -0.0533778034, 0.007995327, -0.044848606, 0.013818657, 0.0197472572, -0.0392076559, -0.0311468411, -0.0408176742, -0.0805196166, -0.0033059383, -0.0379716717, 0.0008794678, -0.0386303961, 0.0147892106, 0.0170679353, 0.0059620156, 0.0308657866, -0.0058670379, -0.0168376341, 0.0579297692, 0.0140077248, 0.0433036126, -0.0073211011, 0.0096032741, 0.0301694293, 0.0639727116, 0.0139249619, -0.0185496919, -0.0212971605, 0.0000294063, 0.0392085128, -0.0373346396, -0.024732139, 0.0344556011, 0.0341602489, -0.0203181934, 0.0377998054, 0.098282747, 0.04944418, -0.0443336368, 0.0054745059, -0.0816691965, -0.0386403725, 0.0234520379, 0.0329209454, -0.0095306942, -0.0337190442, -0.0134561518, 0.0046657687, -0.0072227945, -0.0305332579, 0.0181983877, -0.0707995892, 0.056935437, 0.0020512044, 0.0004647699, -0.0161154829, -0.0575230755, 0.0300331172, -0.0022916249, 0.0168185998, -0.0393225439, -0.0345370322, -0.0353536569, 0.0146817593, -0.0692351013, -0.0731166527, 0.0024415678, -0.0577154085, 0.0537577234, 0.0198978521, 0.0435194895, -0.0255129524, -0.0288254581, 0.0325742103, 0.0264547914, 0.0199476462, -0.0082165683, 0.0038051938, 0.0067494968, -0.0005754124, -0.0573516786, 0.0262352154, -0.0451107472, -0.0185898002, 0.0214185882, 0.0783521309, -0.0507330075, -0.0044270465, -0.0302920192, 0.0447792709, 0.0609047115, 0.0275577176, 0.0101960069, -0.0244219787, -0.0119319074, -0.0314775668, -0.0146489227, -0.0197228752, -0.0420674421, 0.0106698219, -0.0218695533, -0.0650472492, -0.0279849246, -0.0050556008, 0.0271861814, -0.022182161, -0.0205325708, 0.0108206654, 0.0439400375, -0.0145062758, -0.0218811706, 0.025404295, 0.0043441188, 0.0489895642, -0.0681056455, 0.0248677004, 0.0326091535, 0.0272766091, -0.0017588303, 0.0381011739, -0.0476757623, -0.042543266, 0.0130826607, 0.0018538969, 0.0224653017, -0.0420240387, -0.0286521371, -0.0774789825, -0.0116096204, 0.0587330088, -0.0708842054, -0.0174093079, -0.0125044407, 0.03621912, 0.0250088312, 0.0240677241, -0.0006352677, 0.0662148446, -0.0143319629, 0.0178541522, -0.1121677309, -0.0221718326, -0.0248791836, -0.0046569649, 0.0434542485, -0.0099519826, -0.0937648639, -0.0065932712, -0.0051047895, 0.0146342963, 0.0021638912, 0.0089852503, 0.0532171726, 0.0169996135, 0.0058653052, 0.0032624407, 0.0153493453, -0.0370662659, -0.0278539862, -0.0215211269, 0.0558779053, 0.058236327, 0.026684694, 0.0016049008, 0.0022093707, -0.0021531032, 0.0462787412, 0.0245867055, 0.0057989229, -0.0010561976, 0.0251618307, -0.0290144403, 0.0305931978, -0.0119160237, 0.0564311333, -0.0089457044, -0.0775937811, 0.0153784975, 0.0561699644, 0.0799018145, 0.0052253925, 0.0140422015, 0.0021163656, 0.001690285, -0.0254387017, 0.038652733, -0.0248247683, -0.0097839087, 0.0462264903, 0.0186663251, -0.0352748856, 0.0357155874, 0.0413824096, 0.0139630241, 0.0027494656, 0.0287977047, -0.0360797569, -0.01959599, -0.0055715749, 0.0220709033, 0.044770997, -0.0274759885, 0.0056420593, -0.042610053, -0.0183123238, 0.0338728987, -0.0281709861, -0.0377918929, -0.0163437948, 0.0403682813, 0.0188124031, 0.0208507571, 0.0384536609, -0.0511701629, -0.0126067139, -0.0162527375, -0.0224116985, 0.0147100361, -5.67525293e-33, 0.0126551623, -0.0688316375, 0.020225497, -0.0080340737, 0.0296370052, -0.0008747756, 0.025420934, 0.0028260679, 0.0195097812, -0.0306744315, -0.0111059528, 0.0312131923, 0.0175473616, -0.0387596935, -0.0087447409, -0.0153817786, 0.0127997193, -0.012636831, 0.0187750291, 0.0034186044, 0.056562122, 0.0437296443, 0.040829584, -0.1143934056, -0.0006910979, -0.0084454129, -0.0051789242, 0.0279240012, 0.0547494143, 0.0494062193, -0.0593655258, 0.0607387982, 0.0510166697, -0.0375653431, 0.0021298141, 0.11499843, -0.0180191454, -0.0212348159, 0.0328876637, -0.0219899975, -0.0254772305, -0.0329840444, 0.0145172123, 0.0220795721, -0.0038041663, 0.0238188803, 0.0426281504, -0.0075846883, 0.0006908255, 0.0023494689, -0.0568856895, 0.0243801381, -0.0186695978, -0.0154052963, -0.0040270831, -0.0022225787, -0.0317931771, 0.0106651755, -0.0455814488, -0.0104317665, -0.0248865765, 0.0014218704, 0.0231076162, -0.0014163066, -0.0624803677, 0.0633804128, -0.041252818, -0.0498984046, -0.0817642063, -0.0024240657, -0.0417321995, 0.0934016779, 0.037856292, 0.0586240999, -0.0063409819, -0.0225565266, -0.0830860138, 0.0408818536, 0.0087723359, 0.0505091287, 0.0308776312, 0.0004014088, -0.0463098623, 0.0140429316, 0.0310046673, 0.0095592411, -0.0236986242, 0.0027108898, 0.0061579705, 0.0111401938, 0.0032245028, 0.0414370187, 0.0251624808, 0.0065435581, -0.0096204216, -0.0095480429, 0.0294115581, 0.037183851, 0.0064977184, 0.0307380836, -0.0859977826, 0.0086034108, 0.0009090032, -0.0064165103, 0.0181413535, -0.0192384701, 0.0195552446, 0.0181872658, -0.0219361205, 0.0184538141, 0.0018405396, 0.0335461646, 0.0042715673, 0.0330005512, 0.0221488569, -0.0081699584, 0.002839281, -0.0082469741, -0.0028370901, -0.0197245423, 0.0338741876, -0.0511378758, -0.0531035028, 0.009202118, -0.0261132717, 0.0273963474, -0.0323626958, 0.0377397947, -0.0063070641, -0.013306113, -0.0112092122, 0.006735025, 2.347e-7, 0.0467181019, 0.0395845547, 0.0053066318, 0.0161257647, 0.009605852, 0.0249815937, 0.0155467968, 0.0375561826, 0.0027602785, -0.0282368958, 0.0096409731, 0.0545968115, 0.0314671881, 0.0496205874, -0.0821719766, -0.0006930417, -0.0524148531, 0.0263751037, -0.082122907, -0.0021380614, 0.0769933462, 0.077619642, 0.0223284811, -0.0405777507, -0.0376352444, -0.0432872102, 0.0172154941, -0.0764889866, -0.0274815653, 0.0136155561, 0.0800005496, 0.0587739423, -0.0367846116, 0.006672048, -0.0097363107, -0.0081249429, 0.0274757966, 0.0746364743, -0.0301630422, 0.0034394963, -0.0122045372, -0.0551395938, 0.0023081996, -0.0292492155, 0.0386645906, -0.0225414354, -0.033355888, 0.0146190189, 0.0003070216, -0.0072785085, -0.0151340393, -0.0303481463, -0.0392599739, 0.027103819, 0.0263197497, -0.0489191301, -0.0412103459, -0.0720744953, 0.0218741763, 0.0338951387, -0.0075703943, -0.0204610191, -0.0306352414, 0.0329143703, 0.0320378952, -0.003755233, 0.0442406237, 1.313113745e-34, -0.0064326893, 0.0455776453, -0.0328589864, 0.0231640339, 0.0406492315, 0.0186572541, -0.0578948222, -0.0001854497, -0.0043773772, -0.0571295135, 0.0376535989 ]
http://arxiv.org/abs/2401.06837v2
http://arxiv.org/pdf/2401.06837v2
Structsum Generation for Faster Text Comprehension
2024-01-12T17:43:51
2024-06-19T09:59:51
Parag Jain, Andreea Marzoca, Francesco Piccinno
cs.CL
cs.CL, cs.AI
We consider the task of generating structured representations of text using large language models (LLMs). We focus on tables and mind maps as representative modalities. Tables are more organized way of representing data, while mind maps provide a visually dynamic and flexible approach, particularly suitable for sparse content. Despite the effectiveness of LLMs on different tasks, we show that current models struggle with generating structured outputs. In response, we present effective prompting strategies for both of these tasks. We introduce a taxonomy of problems around factuality, global and local structure, common to both modalities and propose a set of critiques to tackle these issues resulting in an absolute improvement in accuracy of +37pp (79%) for mind maps and +15pp (78%) for tables. To evaluate semantic coverage of generated structured representations we propose Auto-QA, and we verify the adequacy of Auto-QA using SQuAD dataset. We further evaluate the usefulness of structured representations via a text comprehension user study. The results show a significant reduction in comprehension time compared to text when using table (42.9%) and mind map (31.9%), without loss in accuracy.
[ 0.0033500888, 0.0023259711, -0.0304387286, 0.0247348323, -0.0330627225, 0.0137642063, -0.0103139402, -0.0109596225, 0.027724186, -0.0411297865, -0.0344653837, -0.030189015, -0.001409137, 0.0266660079, 0.0088516492, -0.055123426, 0.0398001745, -0.0573990233, -0.0079032471, 0.0316591039, -0.0174278431, -0.0010973093, -0.0167618934, 0.0167083796, 0.0151843764, -0.0386362337, -0.0399187952, -0.0317507423, -0.0150453476, -0.0674209222, -0.038705267, 0.0469423458, 0.0256766714, 0.0160131548, 0.000002355, 0.015609378, -0.0235271119, -0.0147151574, -0.0030819199, 0.0529866628, 0.0377526172, -0.059429165, 0.0028617661, -0.0193373095, -0.0369722694, -0.0172550995, 0.0118045509, 0.0474146828, 0.0502914861, 0.0266632028, -0.0156131303, -0.0292014852, 0.0086471932, 0.0206117425, 0.0554664172, -0.0408911519, -0.0109322211, 0.0678826049, 0.0249174256, 0.0539598651, -0.0091046859, 0.0306757018, 0.0113815516, -0.015072708, 0.0207479317, 0.0607517362, 0.0034956045, 0.0116716772, -0.0118455328, 0.097887978, 0.0068576941, -0.0047617843, 0.0028770806, -0.0079469858, -0.012704758, 0.0045879371, -0.070521608, 0.0239452384, -0.0260579195, 0.0111206593, 0.0218870584, -0.0000619493, 0.021419581, 0.0032873887, -0.0475422852, 0.0362242907, 0.0009258742, -0.0232409537, -0.0376832895, -0.0099758077, -0.0420262255, -0.0495592169, 0.0088828662, 0.0735034496, -0.025909856, 0.0384731106, -0.0424459539, -0.0924717188, 0.0095925592, -0.0665614828, 0.0463680252, 0.0631846786, -0.0045042429, 0.0651311353, -0.0837183818, 0.049476862, -0.0513903126, 0.0405525602, -0.0470073633, 0.0113767814, -0.0389633328, -0.0089802714, -0.0488098823, 0.0430236422, -0.0778008625, -0.0501600355, 0.0121519407, 0.0389915593, 0.0112832421, 0.0120851174, -0.0313118249, -0.0103530064, -0.0196320377, 0.0031251472, -0.0538717695, -0.0042449962, -0.0577421412, -0.0261265133, -0.0131257353, -0.0101088258, 0.0060126125, 0.0074368892, 0.0073068859, -0.0065371133, -0.0073176506, 0.0812725723, -0.0229061618, 0.0028162813, -0.0587642789, -0.0339018069, -0.0086670695, -0.0414949991, 0.007487304, -0.0590073057, 0.0225725155, 0.0397226103, 0.0082229814, -0.0010291493, 0.0178432073, 0.0319522135, -0.0412187427, 0.0664895102, -0.0219596457, 0.0366081968, 0.0036328877, 0.0069449092, -0.0111549217, 0.0575323142, 0.0322467238, 0.0167907272, 0.0010113644, -0.017917132, -0.0240381472, 0.0302249212, 0.0051765935, 0.0037703989, -0.0299894568, 0.0195958856, 0.0189760141, 0.0310076084, 0.0164353736, 0.0534530506, -0.048362799, 0.0183366202, 0.0333920009, 0.0303067081, 0.0216760784, 0.0557706021, 0.0206837002, 0.0164437238, 0.018679101, 0.0392975025, -0.029123906, 0.0360705629, -0.0284541901, 0.0464298949, 0.0160176326, 0.0068785818, -0.0086883726, -0.0467305183, -0.013431468, 0.0284753721, 0.0312350877, -0.0076605417, 0.0408705287, 0.0424042419, -0.0660116673, 0.0363490954, -0.0049343118, -0.0539505407, 0.001725906, -0.0256121568, 0.0773741454, 0.0687339827, 0.0624967404, -0.0359696411, -0.0306673497, 0.0166721717, 0.0164994802, 0.0272402056, 0.0164966937, -0.0168487132, -0.0090081785, -0.0695017651, -0.0023463813, 0.0023791213, -0.0156583488, 0.0063479366, 0.0105666807, -0.0131515609, 0.0241607949, -0.0755593777, -0.0333548114, 0.0372188501, 0.0294222552, -0.0131009901, -0.0035430782, -0.0019146556, 0.008238731, 0.0188537873, 0.0056057069, 0.027500404, 0.0311921705, -0.0572668724, 0.0427261628, -0.0159598999, -0.0683703646, -0.0225070454, 0.0061909659, 0.0019566102, -0.0393407457, -0.0224972852, -0.0159772914, -0.0578903444, -0.0241607893, -0.0398608372, 0.0038433995, -0.0135248788, 0.0103650251, 0.0241165124, -0.0114600984, -0.0473318696, 0.1158591583, -0.0256089978, 0.0096035087, 0.0720696151, -0.0227894038, 0.0193396527, 0.0066513633, 0.0167564042, 0.0121647315, 0.0112091424, -0.0153208608, -0.0010191789, 0.0193010662, -0.0568088889, -0.0197957996, -0.1060928851, 0.0094134789, -0.0219335705, 0.0111307614, 0.0467155203, -0.0054587061, -0.0165193062, -0.0324691944, -0.0506554209, 0.0125657488, 0.0087820906, 0.0138676548, 0.0400859639, -0.0028004267, -0.0198848452, -0.020098865, -0.0258208569, -0.0383357294, 0.0125299888, 0.0192979295, -0.0315843932, -0.0477794558, 0.0370458625, 0.0088177491, -0.0049650236, -0.0021856192, -0.0157800391, 0.0197800566, -0.0564198047, 0.0908024609, 0.0539375655, 0.0069724917, 0.0291218162, 0.0674578622, -0.0113908034, -0.031081466, 0.0318059474, 0.0123163722, 0.0502017662, -0.0144098774, -0.0507513583, 0.0408222638, 0.0496463552, 0.0196445435, 0.0238793902, -0.0557382181, -0.0051098648, -0.0247042254, -0.022045996, -0.0659701601, 0.0203123484, 0.0204157606, 0.0370046608, -0.0464746431, -0.0215867702, 0.0436837934, -0.0606530383, 0.0168151464, -0.0392015986, 0.0268470477, -0.0586508363, 0.0967168733, 0.0275102817, 0.0287708025, -0.0207924377, -0.0368439779, -0.0404999144, 0.0147096133, 0.00618074, -0.0165691767, 0.0506137125, -0.0724115297, 0.0034762374, -0.030224828, 0.0033530029, -0.0219997093, -0.0288618784, -0.031103842, 0.0002506888, 0.0420657508, 0.003951679, -0.0305377059, 0.0317750797, 0.0527551398, 0.0256769098, -0.0325314552, -0.0160005298, -0.0498725623, 0.0477666669, 0.040114224, 0.0398738086, -0.0013728564, -0.0396634825, 0.0434684716, 0.0410207026, 0.0014723546, 0.0191563219, -0.0079076225, 0.0222596359, 0.0217555929, -0.0237951148, -0.0260581505, 0.0391792804, 0.0427492186, -0.073919408, -0.0111915851, 0.128184393, 0.0470761769, -0.0276185311, -0.024975758, -0.0392059274, 0.0556267314, 0.0128035545, 0.0107174562, -0.092537269, -0.0172145478, -0.0071781771, -0.0315684751, 0.0175033044, -0.0517681725, 0.0005685078, -0.0864006281, 0.0437197052, 0.0215128958, -0.0667553023, -0.0470458381, -0.0394641794, -0.0078364443, 0.0494380705, 0.0059378981, 0.0200142357, -0.0196864307, 0.0161098391, -0.0027854417, -0.0337807015, 0.0167071391, -0.0054929331, -0.0236207712, 0.0317477211, 0.0685132518, 0.0398029014, -0.0002481846, -0.0446505472, 0.0108513599, 0.0385430679, 0.0544733331, -0.0249480791, 0.0376857258, 0.0187832955, -0.0105992351, -0.0436053351, 0.0165665466, -0.0302204899, -0.013993918, 0.0284339972, 0.0634830818, -0.0224544015, -0.0003949659, -0.0603956915, -0.0040512076, 0.0027823716, 0.0694895312, 0.0515197478, -0.0124720419, -0.0604158342, -0.0233423728, 0.0027759231, -0.0629244745, -0.0099660894, 0.0754465386, -0.013626215, 0.0191445947, -0.0404023565, -0.0191352628, 0.0923777521, 0.0249651764, 0.0232544001, 0.0132595068, 0.0202261079, -0.0381168723, -0.0241593067, 0.0005528114, -0.042076502, 0.0327131152, -0.0470646881, -0.0360360406, -0.0278836098, -0.0281828884, 0.0216709282, 0.0206640437, -0.0533179678, -0.0162286311, -0.0000743718, 0.0101315882, 0.0140006579, 0.0243265275, 0.0027681824, -0.0472661071, 0.0225708, -0.0260393713, -0.0848837644, 0.0006589722, -0.0276504271, 0.0278334823, 0.0095464028, 0.0203121509, -0.0115621295, 0.0389511995, -0.0335735567, 0.0751494244, 0.0088727372, 0.0279256385, 0.0402456708, 0.0318636745, -0.005468376, 0.0125715267, -0.0116211111, 0.0075230775, 0.0018088787, -0.075984247, -0.0345954224, 0.0016777519, 0.0235767607, 0.0374520943, -0.0417108163, 0.0012114128, 0.0184500702, 0.0029431684, 0.0541542992, -0.0055460674, 0.0248732343, 0.0220701043, -0.0336153395, 0.0348662548, 0.0007076245, -0.0377387255, -0.0090525709, -0.0368346497, 0.0256629512, 0.0119205453, 0.071367681, 0.0090095941, -0.0476030596, -0.0527962632, 0.0300720092, -0.0735951886, -0.0648194775, 0.0241151303, 0.0201457292, 0.0094380779, 0.0026254843, 0.0172970239, -0.0502560213, -0.0030231087, 0.0014126332, 0.0411734618, 0.0579313859, -0.0137863997, 0.0220733974, 0.0310862958, 0.0106674368, -0.0591334105, 0.0944088846, 0.0491076894, -0.0135845309, 0.0400891416, -0.0229094084, -0.052423574, 0.0302782077, -0.0391434766, 0.048482351, -0.014832967, -0.0083665354, -0.060599111, -0.0272276606, 0.0527918302, 0.0342980362, -0.0007702048, -0.0430573598, 0.0164134279, 0.0445021577, 0.0215904769, -0.0331037492, -0.0288773365, 0.0572694913, -0.0342180245, -0.0433000103, -0.0505293682, -6.328043147e-33, -0.0289097745, -0.0837470889, 0.0318908282, -0.0530029386, -0.0113882273, -0.0039474489, -0.0548364818, 0.0100873923, 0.0193189997, 0.0115092071, -0.0209847614, 0.0177980773, 0.0040827459, 0.0158482492, -0.0129959201, -0.0177002866, 0.070032686, 0.0005767979, -0.0251668859, 0.0274838768, 0.0102218809, -0.0052710227, -0.0154865496, -0.0422228016, 0.0174132679, 0.0010393217, 0.0175655764, -0.0240229685, 0.0186399464, 0.0394392088, -0.0561617948, 0.0455803536, 0.04193433, 0.0119690718, -0.0367604382, 0.0428004153, -0.1081978232, -0.0149295107, 0.0192085356, -0.0030608964, -0.0534384102, -0.0449269079, 0.0106262555, -0.0165419504, 0.0307583828, -0.0063390466, 0.0359715484, -0.0227755774, -0.0711139217, 0.0083598085, -0.0700068101, 0.0349089205, -0.0120428652, -0.0134798931, 0.0282424837, 0.0334401913, 0.0034236042, 0.0212100372, -0.0413958505, 0.0092244493, 0.0237892605, 0.0073306309, 0.0476525538, 0.0249633286, 0.0268692914, 0.044093173, 0.0030366259, 0.045469813, -0.0931238011, -0.002261695, -0.0039796145, 0.0555042438, 0.0264087822, 0.0074164318, 0.023209326, -0.0022638743, -0.052029334, 0.0489879511, -0.0060864049, 0.0304010399, 0.0211085565, 0.0138168167, -0.0677691102, -0.0171869919, -0.0507987849, 0.0059543154, -0.0412325934, -0.0002703748, 0.016424736, -0.0312769525, -0.0024880499, -0.0488432758, 0.0278783515, -0.0200493503, 0.0083286185, 0.0056528789, -0.0036178578, 0.0546443053, -0.0235044081, 0.0161913168, -0.0247629397, -0.0439009331, 0.0034138877, 0.0090383589, 0.0020119131, 0.0321401805, 0.0045653982, -0.0020263109, -0.0563754514, -0.0063720634, -0.0288578868, -0.0094290236, 0.0042317375, -0.0052463603, 0.0372232646, 0.0103452308, -0.0141494768, 0.034280397, -0.0013629569, -0.0004228738, -0.0030013239, -0.0136222728, -0.0058162455, 0.0145664606, -0.0015955011, -0.0271574333, -0.0729251131, -0.0118956612, 0.0486370772, -0.0776971802, 0.0153897442, 0.0426366664, 2.844e-7, 0.0387261547, 0.0577487424, 0.0525219142, 0.0396116078, 0.0115852207, 0.0101342816, 0.0186821185, -0.0073134932, -0.0351788923, -0.051911559, 0.0098896977, 0.0312922485, 0.0273502748, 0.0446683206, -0.0675930455, 0.0205509607, -0.024942264, 0.004614525, -0.0854553133, 0.0189331044, 0.0774008185, 0.0413414985, -0.0634641051, 0.0146844462, 0.0250728726, -0.0124497134, 0.058840178, -0.0304568782, 0.0211598035, 0.00999399, 0.0331284888, 0.018719364, -0.0204763915, 0.0303838067, -0.0029232721, 0.0006818362, 0.0172913112, 0.0343591124, 0.0248378962, 0.0278281011, -0.011257072, -0.0656515732, 0.0277973581, -0.0515446886, 0.0738186166, -0.046970278, -0.0250378326, 0.0332902148, -0.0047389856, 0.0216202419, -0.0228207968, 0.016170375, -0.0252317265, 0.0245514847, 0.0243616998, -0.034552943, 0.0143220415, -0.056723509, -0.0153081901, -0.0139705483, -0.0162215419, -0.0103743356, -0.0674168468, -0.0223326851, 0.0169140194, -0.0635020211, -0.0176340975, 2.681576973e-34, 0.0293936767, -0.0024948728, 0.0296349209, 0.0380710922, 0.0514044762, -0.0337034948, 0.0091966446, 0.0018318609, 0.0208488982, -0.1227074862, -0.0212651044 ]
http://arxiv.org/abs/2401.06715v1
http://arxiv.org/pdf/2401.06715v1
Reframing Tax Law Entailment as Analogical Reasoning
2024-01-12T17:37:07
2024-01-12T17:37:07
Xinrui Zou, Ming Zhang, Nathaniel Weir, Benjamin Van Durme, Nils Holzenberger
cs.CL
cs.CL, cs.AI
Statutory reasoning refers to the application of legislative provisions to a series of case facts described in natural language. We re-frame statutory reasoning as an analogy task, where each instance of the analogy task involves a combination of two instances of statutory reasoning. This increases the dataset size by two orders of magnitude, and introduces an element of interpretability. We show that this task is roughly as difficult to Natural Language Processing models as the original task. Finally, we come back to statutory reasoning, solving it with a combination of a retrieval mechanism and analogy models, and showing some progress on prior comparable work.
[ 0.0286351144, 0.0449257903, 0.0069058957, 0.0818267837, -0.0420653112, 0.048428379, -0.0516150296, 0.0146753974, -0.008932746, -0.0482175499, -0.0032039932, 0.0059741116, 0.005255545, -0.04543126, 0.0087745367, -0.0826576054, -0.0059727947, 0.0186930057, 0.0533193946, 0.006079731, 0.007928554, 0.0606316663, -0.0000299013, 0.024985984, 0.0204997677, -0.0083231432, 0.0165089481, 0.0108177038, 0.037606582, -0.0090459054, -0.0195259284, 0.0131158428, 0.0377994515, -0.002445326, 0.0000019009, -0.0826584473, 0.0078481836, -0.0184428319, -0.0079717468, 0.0177244116, 0.0640725344, -0.0191081092, 0.0182502773, 0.0045272443, -0.0182841606, 0.0176316295, 0.0302389506, -0.0390106887, 0.0357387029, 0.029828079, -0.0106990431, -0.0871110559, 0.0189104751, -0.0191136673, 0.0356825963, 0.0198858641, 0.0242600571, 0.0109769711, 0.0172542967, -0.0459566005, 0.0265961625, -0.008949833, 0.0364754871, 0.0085236821, -0.0554942079, 0.0112069119, -0.0107124122, 0.0606896207, 0.0203089695, 0.0067652455, 0.0339452513, -0.0481166355, 0.0168138854, -0.0006878019, 0.0045582415, 0.070059225, -0.0438406356, 0.0409898758, -0.0391102321, 0.0287372228, 0.0934954211, 0.0525714941, -0.0059871119, 0.0341608487, -0.0422810726, 0.0108555555, -0.0263259988, -0.0186274759, 0.0023723438, -0.0019585749, -0.0314898118, -0.0190647505, 0.0173280369, 0.0397385545, 0.0109870825, 0.0592098646, -0.0307707731, 0.0007260905, 0.0553627945, -0.0874237418, 0.0377931371, 0.051856, -0.0462411679, 0.077641882, -0.0596101992, 0.0159178022, -0.0394098684, 0.0567010678, -0.0330474488, -0.0305569563, -0.0579092018, -0.0272621717, -0.0705208778, 0.0457897037, -0.0385627039, 0.0183006842, 0.0102074323, -0.0221974533, -0.055014547, 0.0116292238, -0.0131284483, -0.0063896501, -0.0253307279, -0.0715395585, -0.0923599377, -0.0496131629, -0.0724571794, 0.0192292463, -0.0237444304, 0.0003775182, 0.0164412074, -0.0023169357, 0.0049769823, -0.0367712341, 0.0046448386, 0.0470254868, 0.0157637242, 0.0403570421, -0.0406479985, -0.0315797664, 0.0121604241, -0.0464609452, 0.0005073962, -0.060627643, 0.0238705706, -0.0233756565, 0.000723745, -0.0474290252, -0.0221971907, 0.0265894812, -0.0401946381, 0.0856854841, 0.0276985858, -0.0511300229, -0.0784955546, 0.0105016483, -0.0015119548, -0.0054977648, 0.0194132719, -0.0354351923, -0.0115484903, 0.0107002314, 0.0112990085, -0.0327799357, 0.0092072561, 0.0170171373, -0.0648149922, 0.0441947021, -0.0378499106, 0.0227720141, 0.0314337872, 0.0283289757, 0.0079689892, -0.0530200489, -0.03774295, 0.065136604, 0.00881714, 0.0479383916, 0.0204215031, 0.0145434672, -0.0019083775, 0.033651717, -0.0313235819, 0.0309082158, -0.0157013386, -0.0067685824, -0.0472939089, 0.0039962824, -0.0181649234, -0.0606842786, -0.0010854289, 0.0369629525, -0.0136805093, -0.0128626982, 0.0202977099, 0.0327724889, -0.0069521363, 0.0394964814, 0.0337403491, -0.0159203243, -0.0162827354, -0.012599716, -0.020290656, 0.0484542549, 0.0304365866, -0.0327196568, -0.0084085101, -0.0121297315, 0.0011839707, 0.0247184057, 0.0356811732, -0.0150256399, -0.0108522587, -0.0430440865, -0.0042069629, -0.0294316243, 0.0388067141, 0.0516084544, -0.0339795239, -0.027739672, 0.0110167228, -0.0418030024, 0.0698206052, 0.0309051294, -0.019078346, -0.0500208139, -0.0205422845, 0.0269244276, 0.0213725138, -0.0149148339, 0.0258528832, 0.0028206448, 0.0052063982, -0.0395131931, 0.0003058709, 0.0506291166, -0.0066820569, -0.0231137518, 0.0252091847, -0.0547280051, 0.0155965695, 0.0140811158, -0.0511036627, -0.0256091673, 0.0031548676, -0.0297470298, 0.1130549088, -0.016395472, -0.0110808769, -0.0052475552, -0.036208801, -0.0205730554, 0.0897951648, 0.0164604448, 0.0181588028, 0.0100643765, -0.020386368, 0.0272969436, -0.0101370979, 0.0334128104, -0.0185168497, -0.0260675475, -0.0119361868, 0.0082596587, -0.0351306684, -0.0225033183, -0.0036693187, -0.0066151707, 0.0333402418, -0.0018287878, 0.0162720177, 0.0018905952, -0.0373244584, -0.0025679616, -0.0190552846, -0.0183193758, -0.0568139069, -0.0527600311, -0.0147358356, 0.0380991511, -0.0290820412, -0.0503531098, -0.0105987769, -0.021394223, -0.0573825166, 0.0369232185, 0.0322010182, -0.0050958586, -0.0246109646, 0.0324200764, -0.0393241756, -0.0205550157, -0.0152169513, 0.0249348674, -0.003633589, -0.0025564844, -0.0192843787, 0.0485997945, 0.0169728808, 0.0069461735, 0.0285016913, 0.0073768147, -0.0628063753, -0.001998863, -0.003170748, 0.0216241311, -0.0185700953, -0.0157409981, 0.0257906802, 0.0428331643, -0.0007703601, 0.007260527, -0.0743593946, 0.0852273032, -0.0087313913, 0.0413808972, -0.0422083177, -0.0132098086, -0.0056565087, 0.0526876785, -0.0093546323, -0.031379845, 0.038600985, 0.0294602681, 0.0330740884, -0.0420334563, 0.0164583325, -0.0447916128, 0.1337248236, 0.0150754321, -0.0041927458, 0.028807601, -0.0264466237, 0.0250141006, -0.0259730108, 0.0798541978, -0.0031952446, 0.1004012004, -0.0334979407, 0.0629425496, -0.0116001852, -0.0475462079, -0.0327638127, -0.0198983643, -0.0025594223, 0.0121195978, -0.0284057241, 0.0256388355, -0.0632612929, -0.0026139703, 0.0070415498, 0.01434936, 0.0303349663, -0.0418256111, -0.0304924604, 0.02836808, -0.0029540169, 0.0036047983, -0.0204124078, 0.0304942988, 0.0038452384, -0.016782172, 0.0355403349, 0.0434949286, 0.0024826613, 0.0247207284, -0.0282026008, -0.0552789718, 0.011619892, 0.0385790579, -0.0339291319, -0.081469126, -0.0043731541, 0.0383084901, 0.0491357222, 0.0215806738, 0.0221036188, -0.0136730419, -0.0092575941, 0.0386893041, 0.0167075098, -0.0946200565, 0.0033862307, 0.0308679715, -0.0449855104, -0.0120528229, -0.0390827619, -0.0004164487, -0.0530718602, 0.095766224, 0.0206107032, -0.030501131, -0.0337393954, -0.0232618432, 0.0342687704, -0.0492075235, -0.0611596778, -0.0062077409, -0.0512498058, -0.0021265286, 0.0005977537, 0.0257769804, 0.0261280145, 0.0045838743, -0.0196997263, 0.023016084, 0.0148330191, 0.0634659454, 0.0047170725, -0.0076218066, -0.0323002934, -0.018452283, -0.0140613616, 0.0069507095, 0.0098716682, 0.0370735787, 0.0023188086, -0.0502137542, 0.0381367207, -0.0194212534, -0.0122210616, 0.0123301195, 0.0301494226, -0.058510121, -0.0232442562, 0.002854292, -0.017537754, -0.0587769412, 0.0708956644, 0.0400349088, 0.0608347356, 0.0101044495, -0.0674015507, -0.0084872935, -0.0728272945, -0.0107363621, -0.0043059285, -0.0004900582, 0.0278202537, -0.0450143889, -0.020589767, -0.0336265042, 0.0312266983, 0.0006275513, -0.0073321974, 0.0349540338, -0.0165138263, -0.0283290427, 0.0191248357, -0.0992697328, -0.0105099445, 0.0611078031, -0.0220185444, 0.0139597608, 0.037566293, -0.0662376732, -0.0325932615, -0.0140642272, 0.0200317558, -0.0093021356, -0.0090083638, 0.0230090898, 0.0358901583, -0.0194984768, 0.0257585756, 0.0340828858, 0.0387726165, -0.0128248641, -0.0228746887, 0.043678768, -0.0018954759, 0.0001117554, 0.0215954054, -0.0141399028, 0.0075382311, 0.0141516859, 0.0283360817, -0.0147304013, 0.0305556711, 0.0494431518, 0.0144194998, -0.0158207472, 0.0524439551, -0.0757640228, 0.0006149273, -0.0072381627, 0.0028899694, -0.0128125707, -0.0234719794, -0.0289737601, 0.0044747326, 0.0026763859, -0.0626463071, -0.0156817939, -0.0067648045, 0.0491561927, 0.0047361134, 0.0343055278, 0.0124301547, 0.0509653129, -0.0017498408, -0.023498008, -0.0321321636, 0.0572560467, -0.0313366018, 0.0657517612, -0.0225134119, 0.0310453773, 0.0506884679, 0.0188949145, -0.0532609224, -0.0225502569, -0.0188341234, -0.0453697443, -0.0123463096, 0.0445183218, 0.0251527149, -0.0343641192, -0.0094020981, -0.0173809975, 0.0184345003, 0.0375191383, 0.0002750196, 0.0280006882, -0.0522785671, 0.0571382605, 0.011460497, 0.0142955566, -0.0361526012, 0.0115164807, -0.0941721126, 0.0600638315, -0.0155327031, -0.0149914604, -0.0263208058, -0.0593123175, -0.0245552491, 0.0151849752, 0.004757375, -0.0288175773, -0.0575341508, -0.009711259, -0.0400358513, 0.0256069787, -0.0266527049, 0.0063538714, 0.0130908238, 0.0264897738, 0.0118405214, -0.0414668173, 0.0041153845, 0.0114401272, -0.0849143565, -0.0140964566, -0.0283412356, -5.477505393e-33, -0.0386306196, 0.0058608605, 0.0313547254, -0.0008624473, 0.035691034, -0.0295847412, -0.0486986078, -0.0544006787, -0.0082215788, 0.0211763903, 0.0176339727, 0.0101118768, 0.0184313972, -0.0264367461, 0.0064803632, -0.0462287478, -0.0145880999, 0.025217982, 0.0017572631, 0.0013394938, -0.0080465786, -0.0325373337, 0.0158546288, -0.0333813168, 0.0546923168, 0.0501828305, 0.0192969106, -0.0242713615, -0.044567842, 0.0653813332, 0.0041852426, 0.0158545114, 0.0222575068, -0.0183808636, 0.004805353, 0.0582440645, -0.0526060723, -0.0578103103, 0.046783939, -0.0500019751, 0.024078479, -0.0277306754, 0.0520726144, 0.0327452682, 0.0039147227, -0.0129190218, 0.0757431984, -0.0594088882, -0.0000432553, -0.0132394759, -0.0928129405, 0.0306837857, -0.0241106935, -0.0021885196, -0.0041555548, 0.0913726166, 0.0118013714, 0.0982710049, -0.0256598033, -0.007640094, -0.0441082343, -0.0319763124, 0.018479947, -0.0645657331, 0.0278112572, 0.0493063182, 0.009713144, -0.0403027162, -0.0578965992, 0.0227287263, 0.0449591987, 0.053028103, 0.0144991474, 0.0140037583, 0.0998653322, 0.0297393501, -0.0396485217, 0.016502168, 0.0394652039, 0.0456847884, 0.0208721794, 0.0104288878, -0.0413188897, -0.0034682571, -0.0344937071, -0.0257591177, -0.0163095593, -0.0197554808, 0.032905139, -0.0119191865, 0.0231513102, 0.044247482, 0.0021785609, 0.0005746531, 0.0080109723, -0.0074454392, 0.0356719643, -0.0064667268, -0.0250059981, 0.0234592371, -0.0538772307, -0.0353485048, 0.0179928988, 0.0029407877, 0.0368350744, 0.0110134697, 0.0381340422, -0.041407939, -0.0611663274, -0.0097742286, -0.0289373659, -0.0279487837, -0.0191105772, -0.0290061384, 0.0401930176, 0.0676299408, 0.0710906312, 0.0211336482, -0.0035948341, -0.076279901, -0.0325347185, 0.0173461698, -0.0638284907, 0.0125929108, -0.0064590513, 0.0035901922, -0.0118371481, -0.0456171967, 0.0246515386, -0.0274245664, -0.0029064841, 0.0477756001, 2.495e-7, 0.0613926277, 0.0156135326, 0.0041353386, -0.0257508252, -0.0360708535, 0.0136485714, -0.0039451676, 0.0143334484, 0.0135117201, -0.0193906669, 0.02318082, 0.018274013, 0.0268821884, 0.0434183255, -0.073378399, 0.0417403877, -0.0750324875, -0.0401136167, -0.0343658887, 0.0427737758, 0.0726105869, 0.0511905812, 0.0435716361, -0.0098073985, -0.0045796758, -0.059921518, 0.0386791006, -0.0537728854, -0.0052569979, -0.0360230878, 0.0204529576, -0.0246815793, -0.0198196061, 0.0519873351, 0.0374622196, 0.0253198575, -0.0359381549, 0.0337642133, 0.0013389649, 0.0536244176, -0.0369653404, -0.0381188095, 0.0080690859, -0.0449636392, 0.0091033792, -0.0680112168, -0.0151970359, 0.0227597505, -0.0089469701, 0.0378218032, -0.01586877, 0.0577444099, -0.0589066446, -0.0250268783, 0.042846404, -0.015833389, 0.0061893254, -0.07274995, 0.0283493157, 0.0553673394, 0.0107092345, 0.0410102308, -0.001856716, 0.0017796351, 0.0408258066, -0.050000634, -0.0181085151, 1.683318242e-34, 0.0030693326, 0.0174925979, 0.0268234909, 0.0073376079, 0.0633780882, 0.0295294113, -0.0171353128, 0.0424976572, -0.0033635604, -0.074606277, 0.0183885843 ]
http://arxiv.org/abs/2401.06712v3
http://arxiv.org/pdf/2401.06712v3
Few-Shot Detection of Machine-Generated Text using Style Representations
2024-01-12T17:26:51
2024-05-08T15:50:40
Rafael Rivera Soto, Kailin Koch, Aleem Khan, Barry Chen, Marcus Bishop, Nicholas Andrews
cs.CL
cs.CL, cs.LG
The advent of instruction-tuned language models that convincingly mimic human writing poses a significant risk of abuse. However, such abuse may be counteracted with the ability to detect whether a piece of text was composed by a language model rather than a human author. Some previous approaches to this problem have relied on supervised methods by training on corpora of confirmed human- and machine- written documents. Unfortunately, model under-specification poses an unavoidable challenge for neural network-based detectors, making them brittle in the face of data shifts, such as the release of newer language models producing still more fluent text than the models used to train the detectors. Other approaches require access to the models that may have generated a document in question, which is often impractical. In light of these challenges, we pursue a fundamentally different approach not relying on samples from language models of concern at training time. Instead, we propose to leverage representations of writing style estimated from human-authored text. Indeed, we find that features effective at distinguishing among human authors are also effective at distinguishing human from machine authors, including state-of-the-art large language models like Llama-2, ChatGPT, and GPT-4. Furthermore, given a handful of examples composed by each of several specific language models of interest, our approach affords the ability to predict which model generated a given document. The code and data to reproduce our experiments are available at https://github.com/LLNL/LUAR/tree/main/fewshot_iclr2024.
[ 0.0307516027, 0.0886330828, -0.0121190269, 0.0698489547, -0.0364294387, 0.0132006807, 0.0283304099, 0.0375117809, 0.0084090093, -0.0523588397, -0.0370725133, -0.0181617755, -0.0127470782, 0.0172864888, 0.0587615632, 0.0044076759, -0.0161073636, -0.0094717806, 0.0258942153, 0.0218940526, 0.0678513125, 0.0339388251, 0.0348572135, 0.0469805412, -0.0001383804, -0.0611096248, 0.0192508046, 0.0464428663, 0.0056050424, 0.0358994417, 0.0390972197, 0.0653277785, 0.0153426565, 0.0890112445, 0.0000018905, -0.018999394, -0.0009820457, -0.0243756026, -0.0075133261, 0.0173999909, 0.0712183863, -0.0001379308, -0.0518377647, 0.0104360934, -0.0129515352, -0.0094375685, 0.0262107216, 0.0504474007, 0.0328179523, 0.0918398201, -0.035145469, -0.0281092487, 0.0472316258, 0.0016606309, 0.0271288902, 0.0016162029, 0.0161680188, -0.0545358956, -0.0040508094, 0.0275824349, 0.0273264311, 0.023839226, -0.0098446803, -0.0328556746, -0.0377132148, 0.0035471334, -0.0444892347, 0.0391302705, 0.0018155237, 0.019581167, -0.0310215186, -0.0699153319, 0.0377452411, -0.0048462553, 0.0135411425, 0.0228371657, 0.0164349303, 0.020824967, -0.0563419163, 0.0012906718, 0.0224252958, 0.0076431003, 0.0185465384, 0.0428370535, 0.0201021731, 0.0229480825, 0.0127999829, -0.0176776201, -0.0334655009, -0.0070027839, 0.0054602586, -0.0464913398, 0.0334048271, 0.0118972585, 0.0249590036, -0.0278471969, -0.0959939063, -0.0405392982, 0.0203270651, -0.028651977, 0.0850375295, -0.0057138633, -0.0104003493, 0.0188452266, -0.0687269866, 0.0651844963, -0.0272746813, 0.0178493373, -0.0076921056, 0.0139330626, -0.0330648683, -0.0249112137, -0.024418667, -0.0252376404, 0.0338933803, -0.0031356015, -0.0337828323, 0.0223158449, 0.0045755277, 0.0177574586, -0.0465595499, -0.017331738, -0.0204553902, -0.0060239439, 0.0347226188, -0.0093397964, 0.0196355525, 0.0199014191, -0.0065450319, -0.0605503395, -0.0285909493, 0.0786851123, 0.0372825526, -0.0114288302, 0.0249958336, 0.0247309338, -0.0200905986, -0.0540439039, -0.0402027145, -0.0494491197, -0.0162521508, -0.0397275165, 0.0082866363, -0.0734889805, -0.03668667, -0.0208840296, -0.0093910052, -0.056442868, -0.0241222698, 0.0411119349, -0.0099883219, 0.0479371734, -0.0036514748, -0.0117319925, 0.0547333993, -0.0142273996, -0.00407711, 0.0416603982, 0.0477653667, 0.0732604638, 0.0327752754, -0.0014367362, 0.0586590543, 0.0797970071, 0.0021164692, 0.0066031655, -0.0067620259, -0.0511535443, -0.010617204, 0.0094449464, 0.057730604, 0.0261715911, 0.0047235312, -0.0238630362, 0.0971991196, 0.0484529324, 0.0171614829, 0.0142918508, 0.0652986988, 0.037697345, 0.0231350325, 0.0441947468, -0.0021627438, -0.0217119623, -0.0512449369, -0.0043036598, -0.0056248419, -0.0002718006, -0.0152303623, 0.0085683856, 0.0040886598, -0.0103028575, -0.0225392357, -0.0301801786, 0.0304012187, 0.0106047662, -0.0128566138, -0.0392596982, -0.0101043843, -0.0313025899, -0.0237247627, -0.0740835294, 0.028596472, 0.0651159436, 0.0545909144, -0.0062454031, 0.0253323782, -0.03614733, 0.0087549472, 0.0376524366, 0.0057178796, -0.012091198, 0.0167854764, -0.0290223919, 0.0113557996, -0.0170879681, 0.0307267569, 0.0140274605, 0.0096938806, 0.006379596, 0.0235872194, -0.021253705, -0.0539572425, 0.0580033287, -0.0347859003, -0.0511518791, 0.0221291333, 0.0232265182, 0.0049276277, 0.0025912356, -0.0419863388, 0.0098280022, -0.0050165849, -0.0731120929, 0.0048899665, 0.0047482615, -0.0092074126, -0.0446771011, 0.0022816753, -0.0152998865, -0.0259630345, 0.0226808582, -0.0324920043, -0.0321021006, 0.0023278499, -0.0631329864, -0.0119011421, -0.0749860704, 0.0051310249, -0.0243752748, 0.016101988, -0.0279971715, 0.0449648835, 0.0075787283, -0.0033263641, 0.0070675546, -0.0130554866, 0.0383225642, -0.0167817306, -0.0287990794, -0.0435219109, -0.0096304333, 0.0299061295, 0.0094570769, 0.0326223485, -0.0145669682, -0.0390006676, -0.0655385256, -0.0061714537, -0.035816472, 0.0299520064, 0.0308591537, -0.0441218652, -0.0166627169, -0.0033414252, -0.0403718762, -0.0352238156, 0.0045125326, 0.0008195004, 0.0604603365, -0.0322592892, 0.0087998044, -0.0309417956, -0.0042816056, -0.0324095897, 0.0429128185, 0.0251599085, -0.0308997966, -0.0674559548, 0.017771408, 0.02534445, -0.0112278974, -0.0039199721, -0.0423976406, 0.0000715331, -0.0357770287, 0.0075514768, 0.0952165499, 0.008863464, 0.0050561116, 0.017930394, 0.0523501486, 0.0079102516, -0.0303239636, 0.0262976959, 0.0258965921, 0.0135950251, -0.0615801699, 0.0310125574, 0.0385493487, 0.0028139234, 0.0075195753, -0.005938414, 0.0461111143, 0.0337894373, -0.0174130388, 0.0291880667, -0.0300780628, -0.0227257013, 0.0115277963, -0.0368878879, -0.0531401597, 0.0500216447, -0.0682364851, -0.0024237048, 0.0056374846, -0.041074574, -0.0212076027, 0.0251059122, 0.0408476144, 0.0391196534, 0.0158535, -0.0303502604, -0.0455210619, 0.0189302266, 0.0570356622, -0.0071846349, 0.0208687447, -0.0079745222, 0.012050705, -0.008145785, -0.0249972399, -0.0340440199, -0.0786769018, -0.0126338098, 0.0092030261, 0.0117119253, -0.0352016911, -0.0006090492, -0.0085517429, 0.0064650709, 0.0966727808, -0.0431893766, -0.0158428345, -0.0315597467, 0.0794373378, 0.0393586531, -0.0445715971, -0.0206396487, -0.0387155451, 0.0091737024, 0.0323264264, -0.00569849, 0.0459436774, -0.036705792, -0.0192442071, 0.0133884847, -0.0072449236, -0.0401744805, 0.0208825748, 0.0525303036, -0.0505164713, -0.0257325247, 0.1088136137, 0.0036650093, -0.0657298639, -0.0260773916, -0.0016882374, 0.0359288603, 0.0081017707, 0.0283477921, -0.0692669824, -0.0507541373, 0.0159319025, 0.0126488153, -0.0357579589, 0.0051720939, -0.0155026391, -0.0642812774, 0.0311677195, 0.0068725878, -0.039549876, -0.0050428468, -0.0082941167, -0.0102087669, 0.0029321096, -0.0419602282, -0.0244178399, -0.0275349524, -0.0048005772, -0.0063086026, -0.0125751374, -0.0455328487, -0.0161278676, -0.0549252555, 0.0156583879, 0.079200469, 0.0535689518, -0.0273774508, -0.029900603, -0.0010228765, -0.022639716, 0.0156969391, 0.0149284052, 0.0680841133, -0.0317589156, -0.0039448263, -0.0234748367, 0.0747437552, -0.0016896481, 0.0174584556, 0.0130042471, 0.0135194473, -0.0283633545, -0.049558796, -0.0156283565, -0.0043622567, 0.0185490455, 0.0425144434, 0.0706883073, -0.0461050607, -0.071831502, -0.0496344268, 0.0548842214, -0.050321281, -0.0476022363, -0.0113037685, 0.0065177171, -0.0243103579, -0.0855364725, -0.0219150148, -0.041856017, 0.0029015755, 0.0071913893, 0.0178338736, -0.0039992784, -0.0333398357, -0.0680958256, -0.0141509818, -0.0216774959, 0.0298527703, -0.0492576323, 0.0015259772, 0.0275052395, -0.0398654789, -0.0030068427, 0.0244284235, -0.1093989015, -0.0444587618, 0.0121974293, 0.0283048656, 0.011364094, 0.0127195036, -0.0288931988, -0.0933160037, 0.0643251389, 0.0656514019, 0.0109610809, 0.0143598001, 0.0331552699, -0.0437421165, -0.0399535336, 0.0320629068, -0.012057974, 0.0488993265, 0.0273026116, -0.0676515326, -0.0381743386, 0.0046025417, 0.0080921948, 0.0063149724, 0.0290933345, -0.03208974, 0.010968213, -0.0196598396, -0.0197453275, -0.0071975421, -0.0153963473, -0.0406950898, -0.0106846038, 0.0055121188, -0.0073609329, -0.0200442318, 0.0063168127, -0.0009741636, 0.0702570826, -0.058443144, 0.0175550077, 0.0105698984, 0.0826334879, -0.0326884314, 0.0140432389, 0.0024947396, 0.081971854, -0.0030432246, 0.0378312878, -0.010961242, 0.0565240495, 0.0104163112, 0.015464168, 0.0019574761, 0.0505979806, -0.0865273625, 0.0135902483, -0.0481429771, 0.0026060722, 0.0703877956, -0.0344978012, 0.0595148243, -0.0255880635, -0.0017736944, -0.0436121859, 0.0522319414, 0.0109523246, -0.0236789752, -0.0357869342, 0.0110337399, -0.0296422951, -0.0197714791, 0.0904602036, 0.0377075151, 0.0300390255, 0.0152167697, -0.0414595082, -0.0177340172, -0.0238000676, 0.0510622971, -0.0021168585, 0.0122728152, -0.0211746972, -0.030894924, -0.0437077768, 0.0396057107, -0.0172985215, 0.0147402175, 0.0026815594, -0.0178408828, 0.0515364371, -0.0127618043, 0.0021434333, -0.048224099, 0.0133602265, 0.0035290134, -0.0282079801, -0.0131453518, -5.470661812e-33, -0.0067649549, -0.0588676557, -0.0344802998, 0.0221105684, 0.0191265568, 0.0106441583, -0.0344278663, -0.0356084071, -0.013013511, 0.0211720914, -0.0416788012, 0.0136560732, -0.0005117402, 0.0149530666, 0.0072818696, 0.0215183087, 0.0496748984, -0.0216495879, -0.0441949405, 0.029667275, 0.0524652116, 0.0006370152, 0.0506459922, -0.0486747473, 0.0032175621, -0.060566593, -0.0509391092, -0.0185665097, -0.042854432, 0.04342179, -0.0148096979, 0.0287714526, 0.0347525813, 0.0041801315, -0.0144716725, 0.0394247547, -0.0225422885, -0.015404718, -0.0471549705, -0.0005703712, 0.0326987132, -0.0784153566, 0.06726408, -0.0456636883, -0.0105134444, 0.0190144144, 0.0695364848, 0.0059499526, 0.0097476142, -0.0602375045, -0.0599976219, 0.0399889536, 0.006553235, -0.0077471267, 0.0359051079, 0.0419904515, 0.0109398458, 0.0053231916, -0.0780393258, 0.006208532, -0.0031326937, 0.0266254898, 0.0038535595, 0.0469882488, -0.0260015111, 0.0542484447, 0.0077376231, 0.0377482362, -0.0193451662, 0.0025172073, 0.0459303707, 0.0102507332, 0.0505559891, 0.0766240284, 0.0285338573, -0.0111045269, -0.0187745728, 0.0518999323, 0.0384357497, -0.0107220942, 0.0281805173, -0.0191156082, -0.0515889116, -0.0346691459, -0.009697956, -0.0939418972, -0.0287705529, -0.0040885336, 0.0115944454, -0.0052970187, 0.0076197111, -0.0233589355, 0.0228609424, -0.0624134503, -0.0162849277, 0.0048151929, -0.0702133849, 0.0384358205, 0.016390333, 0.0126241129, -0.0099447332, -0.0215635896, 0.0380700491, 0.0245964397, 0.0408568904, 0.0139132114, 0.0923458859, 0.0381673388, -0.053028062, 0.011569377, -0.0129431458, 0.0071227821, 0.0170886107, 0.0193063654, 0.0162972547, -0.034766186, 0.0133214835, 0.0083589964, 0.0359265022, 0.0058010188, -0.0193308331, -0.0259482842, -0.0382464156, 0.0198448878, -0.0300274715, 0.0088176569, -0.011300086, 0.0126175443, 0.0078440243, -0.0428785458, 0.0246211495, -0.0371617042, 2.415e-7, 0.0271623209, 0.021199299, 0.0232565198, 0.0231621191, 0.0403595865, 0.0662870929, -0.0018121374, 0.0416113809, -0.0294653773, 0.0167990159, 0.0103856428, -0.0021224273, 0.0882001072, 0.0038254466, -0.0918377489, 0.0364138372, -0.0767397732, 0.0393829718, -0.0616961196, -0.0027549611, 0.0721361116, 0.0623497143, 0.0084264958, -0.0516076013, 0.0398829915, -0.0710627735, 0.0608139969, -0.0066894433, 0.0040802076, -0.000357204, 0.0556980036, -0.016137464, -0.0056619081, 0.0007529101, -0.022163406, 0.0028337527, -0.0066483738, 0.0796417817, -0.0038733936, 0.0476962142, -0.0012652869, 0.0078706248, 0.0141148446, -0.0511559322, 0.0748019889, 0.0350758471, -0.0099774599, -0.0543933921, -0.014510124, -0.0438136123, 0.0008918883, -0.0279073752, -0.0104889227, 0.0382120535, 0.0082579572, -0.0327644944, -0.0097218147, -0.0511249229, -0.043307811, -0.0296879727, -0.0183220431, 0.0203795619, -0.0670777932, -0.0070125819, 0.0484029837, -0.0753591508, 0.0355520211, 2.570941373e-34, 0.0166360699, -0.0005839975, 0.0066927779, 0.0401710272, 0.0115166446, 0.032607723, 0.0116599966, 0.0260574277, -0.0028954574, -0.0514813811, 0.0129015036 ]
http://arxiv.org/abs/2401.06709v1
http://arxiv.org/pdf/2401.06709v1
Reliability Analysis of Psychological Concept Extraction and Classification in User-penned Text
2024-01-12T17:19:14
2024-01-12T17:19:14
Muskan Garg, MSVPJ Sathvik, Amrit Chadha, Shaina Raza, Sunghwan Sohn
cs.CL
cs.CL, cs.AI
The social NLP research community witness a recent surge in the computational advancements of mental health analysis to build responsible AI models for a complex interplay between language use and self-perception. Such responsible AI models aid in quantifying the psychological concepts from user-penned texts on social media. On thinking beyond the low-level (classification) task, we advance the existing binary classification dataset, towards a higher-level task of reliability analysis through the lens of explanations, posing it as one of the safety measures. We annotate the LoST dataset to capture nuanced textual cues that suggest the presence of low self-esteem in the posts of Reddit users. We further state that the NLP models developed for determining the presence of low self-esteem, focus more on three types of textual cues: (i) Trigger: words that triggers mental disturbance, (ii) LoST indicators: text indicators emphasizing low self-esteem, and (iii) Consequences: words describing the consequences of mental disturbance. We implement existing classifiers to examine the attention mechanism in pre-trained language models (PLMs) for a domain-specific psychology-grounded task. Our findings suggest the need of shifting the focus of PLMs from Trigger and Consequences to a more comprehensive explanation, emphasizing LoST indicators while determining low self-esteem in Reddit posts.
[ 0.0697550178, 0.0759565532, -0.0235782862, -0.0227866955, -0.0215068385, 0.0249620844, 0.0302884281, -0.0096701896, 0.0726397857, -0.0494069122, 0.0069717923, -0.0013601568, -0.0186722726, 0.0238335468, 0.0189364273, -0.0547897406, 0.0344247483, 0.0478596501, 0.0539189726, -0.0091230199, 0.017707454, 0.0257442463, 0.0107316179, 0.0323181748, -0.02547561, -0.0575870499, 0.0467585512, 0.009606367, 0.0030544964, -0.0637871549, 0.0355167948, 0.0879274532, -0.0457050614, 0.0029622305, 0.000001952, -0.0302414205, -0.0009619169, -0.025572598, 0.0120239835, -0.0368545987, 0.0448904447, -0.0041645369, 0.0267516654, 0.0249790307, -0.0196091719, -0.0324745737, 0.0435189269, 0.0600636825, 0.0786337703, 0.0355801545, -0.0270812828, -0.0092232283, -0.0090696169, 0.0039292006, 0.0079470985, -0.0038573509, 0.0524794757, -0.0194059648, -0.0286071431, 0.0151625639, 0.0241876002, 0.0235923454, -0.0129987318, 0.005398252, 0.0228075702, -0.0021089776, -0.0006526474, -0.066189073, -0.0123681119, 0.0521059856, 0.0428377502, -0.0203621555, -0.0070329951, 0.0045052492, 0.0128599303, -0.0064746579, -0.0192400254, -0.0020151616, -0.0128542911, 0.0063323905, 0.0309330728, 0.0318675153, 0.0167538058, 0.0200776458, 0.0225292351, 0.0270349365, -0.0254332479, -0.0371940061, 0.0223443508, 0.0277825445, -0.0325670987, -0.0616624653, 0.0191682093, 0.006373927, 0.0317234769, 0.0426251329, -0.0375677198, -0.0803041384, 0.0361624025, -0.0481513441, -0.0067174933, -0.0000975634, -0.0627267659, 0.0308027323, 0.0548517294, 0.0349321663, 0.0333731584, 0.0200513713, 0.0194870718, 0.0113345804, -0.0370469205, -0.001683242, -0.0218140595, 0.0137845417, 0.0763692036, 0.0090112407, -0.041407425, -0.0092583811, -0.0673308745, -0.0262318775, -0.0238058306, -0.0049114358, -0.0004750012, -0.0036047392, -0.0115344636, 0.0082171252, -0.0122218765, -0.0141942427, -0.0101097869, -0.0582899377, 0.0150320726, 0.0027695089, 0.013837711, -0.0458063819, 0.0097673452, 0.0115241893, 0.0581250452, -0.0445988066, -0.0571800023, -0.0293235444, -0.0443843044, -0.0426620953, -0.0423981585, -0.0363641381, 0.0200490039, 0.0311493333, -0.0104635973, -0.0732426792, 0.0506172851, 0.0358218476, -0.0795225948, 0.0575618409, -0.0550112426, 0.025931716, -0.0011457358, 0.0291115083, -0.0054006646, 0.0471961983, -0.0142537626, 0.0126064988, 0.0611830913, -0.0456754565, 0.0160653535, -0.0069095409, 0.0107978974, -0.0337896608, -0.0098508904, 0.0055443118, -0.0533153526, -0.0121361157, 0.0035899039, 0.0409541614, 0.0163239446, 0.0150692752, 0.0627062321, 0.0785774514, -0.0121913655, 0.0789267495, 0.0010944994, 0.0335400738, 0.0180352293, 0.0091057587, -0.0654857829, 0.003963626, -0.0087101227, -0.0394977741, 0.0278216116, 0.0008316006, -0.0279553253, -0.0592397973, -0.0535271056, -0.023632491, 0.00688795, 0.0014542113, 0.0392277353, 0.0118874628, -0.011257587, 0.0140112806, 0.0458331965, -0.0460147448, -0.0134436889, -0.0401948243, -0.001175235, 0.054786887, 0.0121142631, -0.0638062656, 0.0035500145, -0.033370059, 0.0461453348, 0.0315135606, 0.0215207785, 0.0467380174, -0.0114869084, 0.0124869635, -0.0056398311, 0.0186873265, 0.0082264151, -0.0336399749, 0.0208532307, 0.0070071495, -0.0246400461, 0.0272411481, -0.0963666216, 0.0636419803, 0.0651305765, -0.0304796118, 0.0126205236, 0.0341547355, 0.0382638425, 0.025970269, 0.0173227023, 0.010390765, 0.0064406041, 0.0128732743, -0.0479060411, -0.0206536613, -0.0139861647, 0.0066203815, 0.0231961906, -0.0126237879, -0.0235714689, 0.0526191108, -0.0055631706, -0.0081698652, 0.0713482723, -0.0499643199, 0.0044363723, -0.0128246685, -0.0241133906, -0.0325278454, 0.0276155807, -0.0236533061, 0.0686801448, -0.0369435251, 0.0456335545, -0.0334438421, -0.0856575221, -0.0283064283, -0.0053867567, -0.0391129106, -0.0621287711, -0.0239381827, 0.0285567418, 0.0272264555, -0.0032049438, -0.0259107947, -0.0177808963, -0.0755697712, -0.0166163482, -0.0406495407, 0.0244461372, 0.0192812942, -0.0326259509, -0.0115586286, -0.0195739083, -0.0119925616, 0.0161319058, 0.0098173274, 0.0243204478, 0.033092469, -0.0379998498, 0.046880994, -0.0579975024, -0.0248930939, -0.0233260468, 0.0380308814, 0.0374821797, -0.0317079984, -0.0408703089, 0.0410995372, -0.06161239, 0.0257494804, 0.0077790273, -0.0721211508, 0.0181643795, 0.0328599624, 0.0073237233, 0.0415314026, 0.0516100079, 0.0878894106, 0.041415453, 0.0623534545, -0.0249223206, 0.0036669422, -0.0190289076, -0.0187050086, -0.0161697753, -0.0347535983, 0.0221236181, 0.0690798536, 0.0425406434, -0.0431537963, -0.0581471398, 0.0055353981, -0.0144022228, -0.0100254342, 0.0190132186, -0.0013462505, 0.0095435362, 0.037661165, -0.0325192921, -0.0427518412, 0.0667367429, 0.0246339086, -0.0109193074, 0.0079150451, -0.0403180793, 0.0153498529, 0.0453874543, 0.0120689925, 0.023212675, 0.0408636071, -0.0154933929, 0.0175060108, -0.00525857, -0.0180517547, -0.0145496726, 0.0000150217, -0.0138094211, -0.0013931429, 0.0525414646, -0.0292243585, -0.0646410882, -0.0836785138, -0.0478704609, -0.0574716777, -0.0302013438, 0.0241135079, -0.0439539663, -0.0220517889, 0.0291791707, -0.0154901305, -0.0399692357, -0.047414355, 0.0156397317, -0.0146138677, 0.0606346577, -0.0296911094, 0.0648788437, -0.0137421843, 0.0122449286, 0.0711423978, -0.0457379185, 0.0338213444, -0.0141963316, -0.0412415862, 0.0177661926, -0.0402849279, -0.012460649, -0.0102144778, 0.0292092208, -0.0209627282, -0.033833757, 0.0946531296, 0.0063278307, -0.0399674065, 0.0208997745, -0.0116676576, 0.0022241769, 0.0433788374, 0.0043638297, -0.0399040282, -0.0210118294, -0.0416799858, 0.0455746315, -0.0482826419, -0.0266441759, -0.0003007826, -0.0449964032, 0.0322983898, -0.0383004546, -0.0133651337, -0.0088879233, -0.0452531278, 0.0253571924, 0.0078285867, -0.0110276742, -0.0082007013, -0.0101624774, 0.0111766709, 0.0036922009, -0.1010582373, -0.0318982862, 0.0293253735, -0.0024751339, 0.0399645828, -0.0032563938, 0.0667547137, 0.0075605796, -0.0268173553, 0.0039389217, -0.0130249076, -0.0052596997, -0.0016887882, 0.1229909882, -0.0348865576, -0.0046125217, -0.0679347962, 0.0434666835, -0.0497489423, 0.0093589276, -0.0013448379, 0.0640376434, -0.0074249618, -0.034039367, -0.0176950749, 0.025469387, 0.0457704291, 0.0785254389, 0.057316076, -0.0604255535, -0.0418547206, -0.0103619061, 0.0411005393, -0.006881353, -0.0398983434, -0.0115274694, 0.0118252533, -0.0096030626, -0.0304181278, -0.0679893345, 0.0211273879, -0.0289263371, -0.006142966, -0.0445832908, -0.0048105456, 0.0130604217, -0.0564302951, 0.0376502648, -0.003270936, -0.0074067111, -0.0068098535, -0.0049055209, -0.0061346022, -0.0228900407, 0.0054967077, 0.0241556074, -0.0247843824, -0.0179621913, 0.0502778627, 0.0376585014, 0.0155237792, -0.0330942012, -0.0346360318, -0.0850614309, 0.0240720492, -0.0153794484, -0.0512331091, -0.0097140297, 0.037364766, 0.0097687468, 0.0112480735, 0.0459784754, 0.0014987245, 0.0406317189, 0.0345721394, -0.0423790179, -0.0320392661, -0.0343993977, -0.0189024583, 0.014590485, 0.0686985701, -0.0076873321, -0.0182673894, -0.0174542964, -0.0738700405, -0.0039340234, -0.0175440833, -0.0206394382, -0.0061041242, 0.0174777377, 0.0019627099, -0.0482302941, -0.0600997843, -0.0522044636, -0.0024906944, -0.0572344884, 0.0104007255, -0.0151304752, 0.0393318534, -0.0125702042, 0.0162785649, -0.0309945885, -0.0177941341, 0.0035496482, 0.0152113847, 0.0116004283, 0.0453500189, 0.0031314676, -0.0189784672, 0.051078245, 0.0134561751, -0.0405106172, -0.0195332933, 0.006315555, -0.0238610022, 0.0216755364, 0.0079781506, 0.0864749402, 0.0218585916, -0.0190517213, -0.0115274079, 0.048822239, -0.0166093539, -0.0419343039, -0.0104227494, 0.0084942738, -0.0256785993, 0.0115403654, 0.046156276, -0.0285317563, -0.0174065754, 0.0298745744, -0.0619013011, -0.0086533641, 0.0273672976, -0.0208887123, 0.0785106644, -0.0042093582, 0.015655214, -0.0675390959, -0.083111763, 0.0498063713, -0.0301967505, 0.0039002611, -0.0175794326, -0.0078850454, 0.0487507917, 0.021355113, 0.0209774319, -0.0675391257, 0.0073912004, -0.0302762818, -0.0036720647, -0.0391274616, -5.912638504e-33, 0.0165273994, -0.0903414488, -0.0346595198, 0.0454173237, -0.0051302267, 0.035424374, -0.0319742709, 0.0168929081, -0.0008336874, 0.0419515669, 0.021589363, 0.0580123737, -0.026405463, 0.0422757566, 0.0329081826, 0.0063351607, -0.0016203056, -0.0141057326, 0.0011769176, 0.011692957, 0.0343051553, 0.0334518924, 0.0764301941, -0.080934234, 0.0723999664, 0.0141956275, 0.0260862093, 0.0182117391, 0.0415508598, 0.0397790186, -0.0263857283, 0.0929875895, 0.0435950384, -0.0239838809, 0.0261611752, 0.0450269729, -0.0749444291, -0.0758779794, -0.0055289157, 0.025646748, -0.053340748, -0.0142645715, 0.0351762809, -0.0105404463, 0.0067671575, -0.0571140647, 0.070256643, 0.0042373412, 0.0419113748, -0.01183993, -0.0200605914, 0.0094294101, -0.0146229584, -0.0037337653, 0.0100028962, 0.0654311925, -0.0074285883, 0.0222594384, -0.040230222, -0.0011113415, -0.0326706506, -0.0104176532, 0.0413224138, -0.0419035964, -0.0081197722, 0.0798647627, 0.0239309128, 0.0265522879, -0.0398705304, -0.012589491, 0.0109757436, 0.012719878, 0.0692422092, 0.0025571014, 0.0366969854, -0.0503152646, -0.0620486625, -0.0324686952, -0.0055561289, 0.0151617788, 0.0432173647, -0.0294827484, -0.0432516485, -0.0113719292, -0.0116227074, -0.0714563578, -0.0392176323, -0.0441945903, -0.0132575026, -0.037508063, -0.0546646528, 0.0119586745, -0.0253944844, -0.02673213, -0.0302058496, 0.005800813, -0.0147777302, 0.0130042788, 0.0264055841, 0.0157116223, -0.0189725365, 0.0414397456, -0.0054812259, 0.0079918187, 0.0462568328, 0.0076119094, 0.0631722584, -0.0022347949, -0.0409063362, -0.034658093, -0.0075864238, 0.0280741341, -0.0329269581, 0.0383365937, 0.0088022696, 0.0513749346, -0.0132331084, 0.0417208858, 0.0616485737, 0.0297732875, -0.0670664757, 0.0296753794, -0.0161825996, -0.0211422108, -0.0173523948, -0.0545714162, -0.0158960987, 0.0108395061, 0.0145744979, -0.0293176901, 0.0036770566, -0.0261557102, 2.669e-7, 0.0512045659, 0.0716471449, -0.0215140805, -0.0024310132, 0.0384099968, 0.0243347343, 0.0550877489, 0.0286333729, 0.0323083103, -0.0126972646, -0.0086804722, 0.036440257, 0.0428327806, 0.0331400111, -0.0019961272, -0.0111891953, -0.0289812125, -0.0031095508, -0.033319626, -0.0065587563, 0.0892723054, 0.0479567237, 0.0385783724, -0.0211122651, -0.046640534, 0.0000092192, 0.0294496734, -0.0087893931, 0.0265217498, 0.0161546543, 0.0742071941, -0.0000616866, 0.0137400692, 0.0005180649, 0.0037836584, -0.0217226483, 0.0357646272, 0.0391725525, -0.0514716096, -0.0191446263, 0.0100777131, 0.0504386239, 0.0109921498, -0.0594764426, 0.0504038408, -0.0882298276, -0.0408599414, -0.0691747963, -0.0313853957, -0.0282994565, 0.0513112284, 0.0152400006, -0.0107376557, 0.0398455784, 0.0059008929, -0.0264356881, -0.0082759205, -0.0703959242, -0.0442654043, 0.0219516736, -0.0014014787, 0.0155382017, -0.0315227397, 0.008649461, -0.0024068949, -0.0467341505, 0.0444949977, 2.222984255e-34, -0.0174243134, 0.0091289105, 0.0010409573, -0.0272613298, 0.0541975461, 0.0185774378, -0.0295817759, 0.0141750947, -0.0046125855, -0.052052334, 0.0041074576 ]
http://arxiv.org/abs/2401.06706v1
http://arxiv.org/pdf/2401.06706v1
Multi-Candidate Speculative Decoding
2024-01-12T17:15:23
2024-01-12T17:15:23
Sen Yang, Shujian Huang, Xinyu Dai, Jiajun Chen
cs.CL
cs.CL
Large language models have shown impressive capabilities across a variety of NLP tasks, yet their generating text autoregressively is time-consuming. One way to speed them up is speculative decoding, which generates candidate segments (a sequence of tokens) from a fast draft model that is then verified in parallel by the target model. However, the acceptance rate of candidate tokens receives limitations from several factors, such as the model, the dataset, and the decoding setup. This paper proposes sampling multiple candidates from a draft model and then organising them in batches for verification. We design algorithms for efficient multi-candidate verification while maintaining the distribution of the target model. Our approach shows significant improvements in acceptance rates on multiple datasets and models, consistently outperforming standard speculative decoding.
[ 0.0317533799, 0.1064750925, 0.0087903738, 0.0069309915, -0.0396150835, 0.0034365417, -0.0315756314, 0.0257475358, -0.0373606905, -0.0285898168, 0.0148254475, -0.0976346955, 0.0106213186, 0.0209120605, 0.0007798204, -0.0272635818, 0.0161771141, -0.0448290221, 0.0511561967, -0.0109420968, -0.0160295311, 0.0436854661, 0.0011512146, 0.0532837547, -0.0138403326, -0.010243495, -0.0207384638, 0.0034227611, -0.0364498831, -0.0592857115, 0.0037880985, 0.0931286067, -0.0039068703, 0.01887317, 0.0000018306, 0.0037861795, -0.0568613075, 0.0234014727, -0.0630391985, 0.0226334091, 0.0638517365, -0.0411466584, -0.0118615292, 0.0329655744, -0.0283443294, -0.0570541508, 0.0338415168, 0.0264470931, 0.029335117, 0.0561169423, -0.0039248751, -0.0127308741, 0.0342988409, 0.0197100788, -0.0610215813, -0.037809588, 0.0324339867, -0.0198957473, 0.004381198, 0.0150891198, 0.0105933174, 0.0191895925, 0.0370902009, 0.0388355851, -0.0172243714, 0.0241895728, 0.0086166179, -0.0289053638, -0.0392297134, 0.0368227474, -0.0192689206, -0.0767890438, -0.0258122124, 0.007344618, -0.0481646843, -0.0011347446, -0.0303241052, 0.0529943854, -0.0455327891, 0.0306875296, 0.0748223811, 0.0098043624, 0.0437254719, 0.0028539388, -0.0445888788, 0.0830080956, 0.028119985, -0.0522333421, -0.0166463964, 0.0213848669, -0.0068920199, -0.056954585, 0.015181263, -0.0129876677, -0.0805154145, 0.0068108006, -0.051408805, -0.0367028639, 0.0270598736, -0.016992541, 0.0350192003, 0.019955337, 0.0127883106, 0.0094212964, -0.0196637996, -0.004201055, -0.0183712207, 0.0012716816, -0.0263099037, -0.0165256876, -0.0383367166, 0.0130607663, -0.0802362263, 0.018488761, -0.0296142269, -0.0238991026, -0.0069772308, 0.0073025706, -0.0110357814, 0.0277244058, 0.0498034954, -0.018131664, -0.0104011567, 0.0047711004, 0.0311694983, -0.0095841736, -0.0272988025, -0.0191574804, -0.0060773552, -0.0692091435, -0.0217111334, 0.0192636773, 0.0122189224, -0.0207772274, -0.026337238, 0.0479730517, -0.0043338798, -0.0273977183, -0.0293679703, -0.030563524, -0.0000610172, -0.0524188764, -0.0237304978, -0.0606299005, 0.032572642, 0.007451992, 0.0261146054, -0.0101723671, -0.0295659583, 0.0082745655, 0.0032845919, 0.059070684, -0.0112100737, 0.0157570168, 0.0032784373, -0.0054638372, -0.0002964953, 0.102704227, 0.0095011033, 0.0224703643, 0.0480599403, 0.0083056828, 0.0209161118, 0.068928428, 0.0238127373, 0.0161162242, 0.0036192932, 0.0006017833, 0.0460686013, -0.0242563169, -0.0056351605, 0.0670495108, -0.0661228001, -0.0190335419, 0.0072845677, 0.0472598672, 0.0001090507, -0.0290273447, 0.0536418483, 0.0285744742, 0.0223692525, 0.0100024277, -0.0302469581, -0.0292729121, -0.0169698969, 0.0064694742, 0.0165562835, 0.0427310467, -0.0055449549, 0.0136489123, -0.0393787511, -0.0000615863, 0.0174204148, 0.0001845021, 0.0701562539, 0.0084580015, -0.0628275648, 0.0583450012, 0.0085856253, -0.0302547812, -0.0109066162, -0.0157357864, 0.0160153545, 0.0652265921, 0.0696959347, 0.0352682658, 0.0111498153, -0.0088251764, -0.0439913683, 0.038610924, 0.052219782, -0.047689829, 0.0150581719, -0.0334038325, -0.0214525126, 0.0725242868, 0.0438270718, 0.0352836661, 0.081559442, -0.009416922, -0.0203394014, -0.0289805532, -0.025737958, 0.0399689116, -0.0118055167, -0.0235594902, 0.0201281458, 0.0077133211, 0.0590291321, 0.0141359856, -0.0195788909, 0.0049369284, 0.0347313285, -0.0218630638, -0.0007392331, -0.0013357623, -0.0052259825, -0.0175640378, 0.0262650326, 0.0047869952, -0.0520727485, 0.034231741, -0.0081935665, -0.0338511765, -0.004373475, 0.0074596913, 0.0350163467, -0.0443100743, 0.0299458876, 0.002793056, 0.0235298146, 0.0105389515, 0.0338990502, -0.0165093113, 0.0062211184, 0.0235670507, -0.0267979894, 0.0164319873, -0.0568793938, -0.0321391486, 0.0385765098, -0.0467754081, 0.0183460359, -0.0031727608, 0.0091514075, -0.0146140633, -0.0103283022, -0.1023390666, -0.0048760255, -0.0343244299, 0.0134420162, -0.0054112761, -0.0159570687, -0.0027241204, 0.0191521961, -0.0084486399, -0.0398537219, 0.0139666796, 0.0273190197, -0.0076464196, -0.000613616, -0.0497356653, 0.0052726627, -0.0205983017, -0.0009108582, 0.0821748599, -0.02846618, -0.0168200284, -0.0685666651, -0.0203869697, 0.0538647696, 0.0044232314, 0.0370914042, -0.0091292486, 0.0245122612, -0.0261661131, 0.0007367451, -0.0127644083, 0.0006522064, 0.0194572043, 0.0102232816, 0.0086794337, -0.0464810207, -0.0194140822, -0.0063200938, 0.026297396, -0.0270621497, -0.0633243844, 0.0274971873, 0.0517973974, 0.0287046377, -0.0085955849, -0.0703968927, -0.0108360117, -0.0397342443, -0.0363776162, -0.0204393733, -0.027173169, 0.0217497554, 0.0567214079, -0.0339473225, -0.0315036736, 0.0699786767, -0.0839587972, 0.0006947302, -0.0186407473, -0.006729987, -0.0037498847, 0.0360097252, -0.0215952173, 0.0063212672, 0.0336564332, -0.026695475, 0.0367352329, 0.0034930892, 0.0082574347, -0.0268219355, 0.0334413126, -0.0247589927, 0.0441003591, -0.0085251546, -0.0383370966, -0.048707094, -0.0634249598, -0.025113184, 0.0229651034, 0.0486318469, -0.045273196, -0.0301742461, 0.0368069224, -0.0660872012, 0.0239674561, -0.0155406976, 0.0120709073, -0.0051033706, 0.0104217278, 0.0396756269, -0.023970224, 0.0178272333, -0.0676352605, 0.0227599926, 0.0675899312, 0.0647988692, 0.0392527655, -0.0673985258, 0.0000364888, 0.0365057737, -0.0331921093, 0.0580302216, 0.0224625077, 0.0289995801, -0.0398667194, -0.0266148001, 0.1065428779, 0.0202757195, -0.0374632031, 0.0084557906, 0.0476046577, 0.0590090677, -0.0305147376, 0.0178520884, -0.0864324048, -0.0184865911, 0.0578268357, 0.0226746667, -0.0071257651, -0.0242809337, -0.025799349, -0.098448433, 0.0749689266, 0.0053093978, -0.0338670984, 0.0260324199, -0.0468871035, -0.0479899794, 0.0025285003, 0.0262290891, 0.0327865221, 0.0395190679, -0.0134160332, 0.018849466, 0.0050441185, -0.0513726585, 0.044699654, -0.0238328855, 0.0524723195, 0.0252961479, -0.0248457808, 0.0304060839, -0.0057402905, 0.005183971, -0.0242907982, -0.0393651426, -0.0183594842, 0.0056877942, -0.0331101716, 0.0217523705, 0.0448854677, 0.0199285727, -0.0763079673, -0.0325042829, -0.0003159166, 0.0680193081, 0.0085300244, -0.0343304873, -0.0177531857, -0.0178897418, 0.0402654111, 0.0785932988, 0.0018923754, -0.0225771349, -0.0181968808, -0.0580194294, -0.017498048, -0.0981633216, 0.0091475956, 0.0141317425, 0.0158923138, -0.0014083051, -0.0658412054, 0.0006054541, 0.056997668, 0.0740912929, 0.0001170336, 0.0098287845, 0.0281315725, -0.0326285884, -0.0500771925, 0.0153023181, -0.0374262817, 0.0035139415, -0.0710773468, -0.0125945136, 0.0128733478, -0.0227948874, -0.0268497467, 0.0212821495, -0.0896358415, -0.0475336127, 0.0011529673, 0.0154675618, 0.0275526401, 0.0429575443, -0.0654567257, -0.0341556706, 0.0291346647, 0.0120354444, -0.0638342127, -0.0181092471, 0.0029058799, -0.0269638542, -0.0087986393, 0.0070608319, -0.0188483037, 0.0103228306, -0.0155920098, 0.0345657468, 0.0078556975, -0.0224545579, 0.0437880121, 0.0483907387, 0.0356097333, -0.0306785032, -0.027667582, -0.0220737755, 0.0178999249, 0.0115975728, -0.0246432051, -0.0080941254, 0.052739352, 0.0289265011, -0.0783443227, -0.0059797456, -0.0308021158, 0.0221455637, 0.0429767631, 0.0094173979, -0.0440711379, -0.0033668336, 0.0260253884, 0.0384550393, -0.0365709625, -0.0060092947, 0.0065394547, -0.0251913443, 0.0130271381, -0.0230638869, -0.0430639833, 0.0278031006, 0.0209397748, -0.0225175284, -0.0061334516, -0.0660474524, -0.0002631434, -0.0589267351, 0.0016672555, 0.0479526669, 0.0217465423, 0.0357711092, -0.0315167792, 0.0149680367, -0.0312989801, 0.010582854, 0.0177571531, -0.0266206097, 0.0337670967, 0.0237514935, -0.033097811, -0.0108238561, 0.069942601, 0.0268708766, 0.046390906, 0.0310849007, -0.0172512066, -0.0517815873, -0.0492541455, -0.0505939275, 0.0246502776, -0.0492762253, -0.0025544886, -0.011608148, -0.0469528325, 0.0367446467, 0.0396478996, 0.0317151286, 0.040291708, -0.0050427644, 0.0741019845, 0.0256418213, -0.0024450663, -0.0315765813, -0.0274764895, 0.0484171584, -0.0327237099, -0.0150300171, -6.553911448e-33, 0.0112601658, -0.0231670905, 0.0075619505, -0.1021998525, 0.0152602512, -0.001761766, -0.0079021556, -0.0351383835, 0.0196109805, 0.017990496, -0.0398988687, 0.01801778, 0.0394482948, 0.0358156711, 0.009027415, 0.0206805728, 0.0751653835, -0.0211596545, -0.0355374478, -0.0126361931, 0.0530305505, 0.0247240197, 0.0097191203, 0.0074676038, 0.0423461683, -0.0146401934, -0.0322477371, -0.00627656, -0.0255888142, 0.0757523775, -0.0383191667, 0.0098667555, 0.0386879779, -0.0190232657, -0.021338284, 0.0040999749, -0.0971444249, 0.0297571737, 0.0156205753, 0.0327147022, -0.0046712281, -0.0012223644, -0.0187834185, -0.0245310199, 0.0046080356, 0.0255444795, -0.0294590145, -0.0228343122, -0.0243654326, -0.0501864813, -0.0097634103, 0.0421036854, 0.0090730889, 0.0240294691, 0.0787898749, 0.0551898852, -0.0086017773, 0.012568173, -0.0524652526, 0.0199558027, -0.0266603623, 0.0423228368, 0.0460319184, -0.0284062531, -0.0237645395, 0.041684106, -0.006718751, -0.0510578416, -0.0362417661, -0.0145431422, 0.033756502, 0.0216974299, 0.0003607084, 0.0444648676, 0.0809786096, -0.0222816411, -0.0268677548, 0.035440322, 0.0243489668, -0.004911596, 0.0642134696, 0.0061021303, -0.0400945954, -0.0368568972, -0.064093262, -0.0431605615, -0.0567749478, -0.0184789766, 0.0451822728, 0.0438583978, -0.0425282381, -0.0035233907, 0.073599562, -0.0541643463, -0.0538746901, 0.0316732526, 0.0013639352, 0.0268035941, -0.0275338944, 0.0326784365, 0.0207110886, -0.0182759538, 0.0443365425, -0.0148844291, -0.0200267117, 0.0118882982, -0.0003371792, -0.0022296689, -0.0649174824, 0.0117758755, -0.0248671789, 0.0414013155, 0.0060411673, 0.0409258306, 0.0661928579, 0.0093917213, 0.0258493423, 0.0407975689, -0.0077786562, 0.0216367207, -0.0259408727, 0.0531024858, 0.004191299, 0.0482257903, 0.0231187753, 0.0114381891, -0.0404255576, -0.0247061439, 0.0226276182, -0.0286505911, 0.0091406731, 0.0638080686, 2.41e-7, -0.004776733, 0.0568101183, 0.0575107448, 0.0084320074, -0.0005773364, 0.0134920301, -0.0242789518, -0.0038545006, -0.0218895357, -0.0266272239, -0.0224916451, 0.0441021025, 0.0749975517, 0.0526557527, -0.0870468989, -0.0328362696, -0.0233996063, 0.0251951572, -0.0521004088, -0.0343718454, 0.0202161502, 0.1076218784, -0.0003653174, -0.0060575311, 0.0046060872, -0.0084556844, 0.0096938545, 0.0066674836, -0.0428083204, 0.0466537811, 0.0012421238, -0.0229496229, 0.0384007357, 0.0065609976, -0.0170308724, -0.0233420637, -0.0348007493, 0.0630784482, 0.016695518, -0.0160622802, 0.0075243386, -0.0264068283, -0.0262086038, -0.0254784133, 0.0414913706, -0.0084954686, -0.0141899362, -0.0564172156, -0.0287696701, -0.0198132303, -0.0191463381, 0.001257122, 0.0073941485, 0.0627325922, 0.0233626366, 0.0098166345, -0.0103685018, -0.0715161338, -0.0125157656, -0.0374826305, -0.0486731753, -0.0163596608, 0.0191367995, -0.0167696364, 0.0442775413, -0.0945837125, 0.013791861, 2.587464186e-34, 0.0804652423, 0.0326265842, -0.0041704006, 0.0784794167, 0.0306655504, -0.0295136962, 0.0122229271, 0.0236750245, -0.02166963, -0.0560883321, -0.0137276193 ]
http://arxiv.org/abs/2401.06692v2
http://arxiv.org/pdf/2401.06692v2
An Experimental Design Framework for Label-Efficient Supervised Finetuning of Large Language Models
2024-01-12T16:56:54
2024-05-06T21:58:04
Gantavya Bhatt, Yifang Chen, Arnav M. Das, Jifan Zhang, Sang T. Truong, Stephen Mussmann, Yinglun Zhu, Jeffrey Bilmes, Simon S. Du, Kevin Jamieson, Jordan T. Ash, Robert D. Nowak
cs.CL
cs.CL, cs.AI, cs.LG
Supervised finetuning (SFT) on instruction datasets has played a crucial role in achieving the remarkable zero-shot generalization capabilities observed in modern large language models (LLMs). However, the annotation efforts required to produce high quality responses for instructions are becoming prohibitively expensive, especially as the number of tasks spanned by instruction datasets continues to increase. Active learning is effective in identifying useful subsets of samples to annotate from an unlabeled pool, but its high computational cost remains a barrier to its widespread applicability in the context of LLMs. To mitigate the annotation cost of SFT and circumvent the computational bottlenecks of active learning, we propose using experimental design. Experimental design techniques select the most informative samples to label, and typically maximize some notion of uncertainty and/or diversity. In our work, we implement a framework that evaluates several existing and novel experimental design techniques and find that these methods consistently yield significant gains in label efficiency with little computational overhead. On generative tasks, our methods achieve the same generalization performance with only $50\%$ of annotation cost required by random sampling.
[ 0.0175956246, 0.0435660258, -0.0251247194, 0.0194157679, -0.0312453359, 0.0324654579, 0.034369193, -0.0037940566, -0.016947113, -0.0518650003, -0.0098713413, -0.0203925483, -0.0191556625, -0.0126967831, 0.0577637926, -0.020027902, 0.0104324687, -0.0660629794, 0.0070984857, -0.0195393395, 0.0076770671, 0.0080193775, -0.0042231665, 0.0395385399, 0.0014883735, 0.0059125852, -0.0172332264, 0.0195112005, -0.00091761, -0.0013780738, 0.0079998178, 0.0819576308, 0.0042888224, 0.0446737334, 0.0000018395, -0.0282069314, -0.0178691857, 0.0286152679, -0.0321028754, 0.032704968, 0.0244589094, 0.0065929773, 0.0010517113, 0.001617767, 0.0049034599, -0.0390121825, 0.0908018574, -0.0085604303, 0.028998835, 0.0461536795, -0.0007632698, -0.0287633911, 0.001471149, -0.0416282378, 0.0165064074, -0.055581335, 0.0250642337, -0.0122180069, 0.0258767549, 0.0052842172, -0.0278991349, 0.0548572578, 0.0069284248, -0.0223254915, -0.0112359412, 0.0328057446, -0.0382037647, -0.0298518278, 0.0198188126, 0.0694418699, -0.03122635, -0.0023493224, -0.0001894734, -0.0416300744, 0.0127577251, 0.0169090964, -0.0420374088, 0.0298014339, -0.0014972369, 0.0359702222, 0.0290104952, -0.0434063151, 0.0349796638, 0.008700476, 0.0038217697, 0.051340431, 0.0266317241, -0.0172828343, 0.0067850323, 0.0425642841, -0.0589044727, -0.0428615697, -0.0373945534, 0.0224447139, -0.0703295022, 0.0100238509, -0.0290787891, -0.0575403348, 0.0258264709, 0.0225462578, 0.1013796702, 0.025105454, -0.0116247516, 0.0317915455, -0.0307368003, 0.0422516987, -0.001366528, 0.0581962392, -0.0706250221, 0.0064363992, -0.0480383001, 0.0207421724, -0.0403355993, 0.0505189635, -0.0035428326, 0.0247891136, -0.0334053859, 0.0195608325, -0.010710489, -0.0014658081, -0.001891096, -0.0326082185, -0.08608298, 0.0146283265, 0.026193006, -0.0028999329, -0.058198832, 0.0189112201, 0.0023647549, -0.0600054711, -0.0192132834, 0.0247755032, -0.0034058648, -0.0592230745, 0.0099462979, 0.0576432198, -0.022645805, -0.0620393641, -0.0428052396, 0.0052374434, -0.0207265653, -0.0469802059, 0.0179999303, -0.0708022863, 0.024538612, 0.0057903235, 0.0359147266, -0.0270479433, 0.0036968333, -0.0241599921, -0.0386332013, 0.0453007929, -0.0055305595, 0.0106662596, -0.0142242583, -0.0328661017, 0.0205479097, 0.105147548, 0.0166285802, 0.0264335182, 0.015998723, 0.0015899312, 0.0055723903, 0.0595096126, 0.0234697461, 0.0221059285, -0.0132867564, -0.0226060748, 0.0219687447, 0.0126669258, 0.0057760095, 0.0268833581, -0.0253889617, 0.004872344, 0.0325376429, 0.0101533672, -0.0227316935, -0.0354454555, 0.0683224425, 0.0092806853, 0.0001416989, 0.0282756332, -0.0271685552, 0.0151100149, -0.0147965699, 0.0211832076, 0.0315544717, 0.0142410276, -0.0695741549, -0.0310918279, -0.0096300906, -0.0125951832, -0.0100601222, 0.0470696352, 0.0577613115, 0.0424498096, -0.0203168765, -0.0132132443, 0.0593423322, -0.0171557702, 0.0001874066, -0.0732813329, 0.0265869442, 0.0429120101, 0.0312078688, -0.0430545062, -0.0393074825, -0.0020568392, 0.0638627484, 0.02025933, 0.0498207062, -0.0343794785, 0.0404160954, -0.0375020616, -0.0262327138, -0.007793624, 0.0376449116, 0.0104670562, 0.0349683538, -0.0327150822, 0.0049628192, -0.0656301156, -0.0293878689, 0.0561664812, -0.0180430673, -0.0699655935, 0.0215380434, 0.0001203088, 0.0313905962, -0.0349155031, -0.0338072926, 0.0047396584, 0.0139381718, -0.0342021547, 0.0215345416, -0.0525030755, 0.0232049488, -0.0368222818, 0.0198055916, -0.047053244, -0.050887052, 0.0131475218, -0.0907018781, -0.0621213354, -0.0448078401, -0.0276604909, -0.0251841843, -0.0506887771, 0.016367849, -0.0299693346, 0.001050713, -0.0923630148, 0.0170938112, -0.0026431659, 0.031200286, 0.0374915637, -0.0032097569, -0.0061621112, -0.0516115762, -0.0708239004, 0.0135711357, 0.0068716733, 0.0116036171, -0.0035791106, 0.0257066861, -0.0365795232, -0.0369274132, -0.0521866754, 0.0310062803, -0.0360546336, 0.0067380629, 0.0080356412, 0.0024861812, 0.0040112324, -0.0003149739, -0.0150479078, 0.0009449197, -0.0265264586, 0.0604758747, 0.0067612324, 0.0275359992, -0.0369357616, -0.0565783121, -0.064533785, 0.0123402597, 0.0320805423, -0.0096400175, 0.0330676064, -0.0792341381, 0.0036731348, -0.0046042083, 0.0248049106, 0.0165761039, -0.0290303845, 0.0208699368, -0.0352547392, 0.0066657774, 0.0561282299, -0.0212955829, 0.013717874, 0.0457394756, -0.0043261098, -0.0242290068, 0.0178182535, -0.0600773171, -0.0679027513, -0.0252645425, -0.0333308391, -0.0317778103, 0.0865023211, -0.0277149435, -0.0265327059, -0.0629809797, 0.0054137777, -0.0222772844, -0.0232867692, -0.0334831849, 0.0437128842, -0.0288760178, 0.020536501, -0.0349186994, -0.0577126108, 0.0765337124, -0.0161057469, 0.0034330718, -0.0048724976, 0.0218917634, 0.0080926893, 0.0348903835, 0.036911834, -0.0035253826, 0.0340725183, 0.00525223, -0.0652147308, 0.0150441844, 0.0470463373, -0.017136883, 0.0298688728, -0.0695186704, 0.0152281933, -0.0043024812, -0.0237538293, -0.0298997406, -0.0211353321, -0.0114142308, 0.0337839089, 0.0569409691, 0.0214251038, -0.0071429485, 0.0149994725, -0.0029455479, 0.0497283153, -0.0381643027, 0.0178959519, -0.0519146137, 0.0188643672, 0.0578844212, -0.0074065025, -0.0301916916, -0.0393452235, -0.0176763367, 0.0071350327, 0.0182568599, 0.0330872349, -0.0117669469, 0.0138380807, 0.0594337583, -0.0414421074, -0.0200847462, 0.0314959995, 0.0802426115, -0.0357803926, -0.0297788233, 0.111289978, 0.0375079289, -0.039574191, 0.0083069243, 0.0367945023, 0.0552657135, 0.0208691061, 0.0590954348, -0.0318594724, -0.0309351254, 0.0195615385, 0.0255823508, -0.0071104532, -0.0245670695, 0.0309639238, -0.1106999144, 0.0463860296, 0.0175446253, -0.0533391349, -0.0015260896, -0.025120955, 0.0279856119, -0.009535864, 0.0183797125, 0.0157920644, -0.0029977218, 0.0209046565, 0.0625403747, -0.0020197434, -0.083388567, 0.0269926321, -0.0226193499, 0.0757168531, 0.0656006783, 0.0039494666, -0.0018677707, -0.0215961132, 0.0528846569, -0.0132767884, 0.000194823, -0.0224576704, 0.078584522, 0.0257213619, -0.0372888446, 0.0313128345, 0.0262284204, -0.0030712474, 0.0035975436, -0.0083250003, 0.0734538436, -0.0008147818, 0.0240982398, 0.0138671957, -0.0468773395, 0.022657901, 0.0445808992, 0.0498878099, -0.0635672584, -0.0187359583, -0.0374951661, -0.026833646, -0.0822372288, -0.0237784963, 0.0531180948, -0.039763134, -0.0496150665, -0.0412710644, -0.0284892078, 0.1048120931, 0.0309174675, 0.0158024989, 0.012773376, 0.0095385034, -0.023924239, -0.0099319201, 0.0046312255, -0.0705295205, 0.034373004, -0.0640225485, -0.0875311494, 0.0172906257, -0.0170366932, -0.0099351648, 0.0464096628, -0.0970970541, -0.0866339952, 0.0189507008, 0.0691180751, 0.015845947, 0.0364852697, -0.0241683554, -0.0945710987, 0.0052148839, 0.0390768722, 0.0237479545, -0.009635157, 0.0297682863, -0.0478675626, -0.0201830808, 0.0400941521, -0.0378739387, 0.0429773144, 0.0732337907, 0.0363691635, -0.0159811787, -0.0076581198, 0.0134061016, 0.0249730255, 0.0724209547, -0.0413311198, -0.0011787959, -0.0226328969, 0.0169671774, 0.0280889776, -0.0157239418, -0.0482696556, -0.0121190092, 0.0367457904, -0.0103649041, -0.0042114197, -0.002987725, 0.0147797158, 0.0764100477, -0.0355078168, 0.013363691, -0.0152137494, 0.0053370087, 0.0416797101, 0.0311506968, 0.0049950941, 0.0444023237, 0.0177782215, 0.0477172285, 0.0003945948, 0.0285984911, 0.0301040038, 0.0587696433, -0.0468281619, 0.0092673162, -0.0224606004, -0.0543665364, -0.0751743987, 0.0434405841, 0.0517346747, -0.0335514769, 0.0611661598, 0.0068980525, -0.0433662012, -0.0304281116, 0.0393803231, 0.0002301645, -0.0235768538, 0.0181563087, 0.0541956313, -0.0083745355, -0.0196819305, 0.0798861608, 0.0382756814, 0.0050324947, -0.0041510486, 0.0211281348, -0.0391693749, -0.0078826379, -0.0163896922, -0.0105136214, -0.0098143276, 0.0091117639, -0.027713161, -0.0683361739, -0.0346078463, -0.0023463666, -0.0043390077, -0.0059528216, 0.0607921891, 0.0232255515, -0.0072527649, -0.0039357673, -0.0376242958, -0.0323335752, 0.0496077202, -0.0152285248, -0.0299202688, -6.257685402e-33, -0.0410949066, 0.0164297316, -0.0052411137, 0.0091758156, 0.0182746351, -0.0016499918, -0.0234680511, 0.0315745957, -0.0150150554, 0.0340824574, -0.0120899556, -0.0301819183, 0.0252835974, 0.0222116672, 0.0075027458, -0.0372664742, 0.0636491477, -0.0363708809, -0.0189231597, 0.0399014316, -0.0239223614, 0.0111252815, 0.0490770191, -0.0428053029, 0.0237915292, -0.0024451602, -0.0174763706, 0.0150052728, -0.0342240818, 0.0471210219, 0.0000581324, 0.0355736949, 0.0012623881, -0.042327024, -0.0364908054, -0.0413090922, -0.0711775497, -0.0225111283, 0.0072390307, 0.0246677119, -0.0379943214, -0.0405601896, 0.0026481717, 0.0025930426, -0.0176398829, -0.0112467343, 0.0221345983, -0.0201251321, -0.0442376472, -0.0189073104, -0.0521288328, 0.0108603649, -0.0030885919, -0.0427527726, 0.06258443, -0.0128798299, 0.0071983393, 0.0189195573, 0.0063208616, -0.0104992129, 0.0576976761, 0.0726235434, 0.0478325896, 0.0453829579, 0.0117478808, 0.0079170195, 0.0197771974, 0.0242452025, 0.0150117707, 0.018625211, 0.0443701446, 0.0190286972, 0.0301923733, 0.0473374799, 0.0433498099, 0.0063335919, -0.0576422811, 0.0005307835, 0.0186544899, -0.0092297839, 0.0541921258, 0.0253616776, 0.0039340318, -0.0484873429, -0.0629028901, 0.0034665079, -0.0445919186, 0.0064616553, 0.0249153618, 0.0119999461, -0.0565566383, -0.0191665925, 0.0622532368, -0.0333369561, -0.0281980224, -0.0376347974, -0.0287091807, 0.0375956558, 0.0053418851, -0.0299246311, -0.049309209, -0.0720839202, 0.0286650062, -0.013240302, 0.0248044077, -0.0075544841, 0.0675550625, 0.0291081984, -0.0527282357, 0.0161851235, -0.0535667092, 0.0153614776, 0.0175050721, 0.0310978331, 0.0163972881, 0.0032374845, 0.0108860005, 0.0478899777, 0.0254651029, -0.025354106, -0.028160803, -0.02463107, -0.00558984, 0.0095517803, -0.0343127996, 0.0166193936, -0.0274794288, 0.0014132835, 0.0309146773, -0.0325286724, -0.0254341252, 0.0101876305, 2.484e-7, 0.0673463568, 0.0382078327, 0.0010902819, 0.0295759719, 0.0260578748, 0.021011157, -0.0103317304, -0.0109461751, 0.0446856841, -0.0201258566, 0.0075650555, 0.0286395997, 0.0544666909, 0.0242205355, -0.0964797214, 0.0026784847, -0.0144643011, 0.0670712814, -0.0356229618, -0.0174347572, 0.005621376, 0.1010323241, 0.0179145299, -0.0059169233, 0.0007743562, -0.0324331895, 0.027164055, -0.0357422717, 0.0090102479, 0.0575157553, -0.0207614359, 0.0257575233, -0.0125584397, 0.0311132651, -0.0039372435, -0.024615597, 0.0101712728, 0.0630325228, -0.0073807458, 0.0012864139, -0.0049986374, -0.0201138556, 0.0257180408, -0.0191576295, 0.0689456016, -0.0864133462, -0.0116012786, 0.0006819364, 0.0163546596, -0.0112235891, -0.0103177661, -0.0149026224, 0.0043772073, 0.0472659618, 0.0269204639, 0.0071761594, -0.0347456932, -0.0510932021, -0.0135688102, 0.0286434516, -0.0367512666, -0.0526726209, -0.0247943755, -0.0163255967, -0.0261005741, -0.0561325513, -0.0121299718, 2.445017229e-34, 0.0372621678, 0.008926549, 0.0363326482, 0.0411017537, 0.0062949504, -0.0292845275, -0.0479392409, 0.0269787721, 0.0123304995, -0.0744393691, -0.0135805458 ]
http://arxiv.org/abs/2401.06688v2
http://arxiv.org/pdf/2401.06688v2
Don't Rank, Combine! Combining Machine Translation Hypotheses Using Quality Estimation
2024-01-12T16:52:41
2024-06-06T17:45:39
Giorgos Vernikos, Andrei Popescu-Belis
cs.CL
cs.CL, cs.LG
Neural machine translation systems estimate probabilities of target sentences given source sentences, yet these estimates may not align with human preferences. This work introduces QE-fusion, a method that synthesizes translations using a quality estimation metric (QE), which correlates better with human judgments. QE-fusion leverages a pool of candidates sampled from a model, combining spans from different candidates using a QE metric such as CometKiwi. We compare QE-fusion against beam search and recent reranking techniques, such as Minimum Bayes Risk decoding or QE-reranking. Our method consistently improves translation quality in terms of COMET and BLEURT scores when applied to large language models (LLMs) used for translation (PolyLM, XGLM, Llama2, Mistral, ALMA, and Tower) and to multilingual translation models (NLLB), over five language pairs. Notably, QE-fusion exhibits larger improvements for LLMs due to their ability to generate diverse outputs. We demonstrate that our approach generates novel translations in over half of the cases and consistently outperforms other methods across varying numbers of candidates (5-200). Furthermore, we empirically establish that QE-fusion scales linearly with the number of candidates in the pool.
[ 0.0270657483, 0.0824014992, 0.0072658285, 0.027587451, -0.0134223029, 0.0063894885, -0.0128411464, -0.0184366312, -0.0046341284, -0.007427068, -0.0326059163, -0.0615482442, 0.0562743805, -0.009553398, 0.0266725142, -0.0517780744, 0.0084461896, 0.0002756829, -0.0201496352, 0.001572724, -0.0256046336, 0.017609695, 0.0062898891, 0.0711525753, 0.0283691324, 0.017156247, 0.0267413445, 0.0506994762, 0.0689151883, -0.017107619, -0.0190366562, 0.0404492654, -0.0171298552, 0.0434737131, 0.0000021912, -0.0268416554, -0.0317916945, -0.0056756921, 0.0197012983, 0.01519565, 0.0341778249, -0.0238480642, -0.0255233813, 0.0138241779, -0.0403344929, 0.0050370391, 0.0574646518, -0.0148716383, 0.0645124018, 0.0608695336, 0.000284923, -0.0131181292, -0.0023177683, -0.0510773659, -0.0186632108, -0.0911022723, -0.0144438557, -0.0154110128, -0.0331294201, 0.0236721933, 0.0009365483, 0.0590765439, 0.0226902757, -0.0069825174, 0.0073105278, 0.0133453794, -0.0305147953, -0.0391787291, -0.0108891111, 0.0620725043, -0.0667151287, -0.0122317914, -0.031149637, -0.0107417656, 0.0047568041, -0.0357797444, -0.0236608386, 0.0229076724, 0.0103098042, 0.0115856426, 0.012565407, 0.0624280907, 0.0474744551, -0.0062971395, -0.044738654, 0.0381977186, 0.0311111733, -0.0229326915, -0.0157447457, 0.0288336538, -0.0220259279, -0.0011297107, 0.0248606466, -0.0463473275, -0.0212708507, 0.0276733339, -0.028279312, -0.0304879975, 0.0073743784, -0.0454956368, 0.0234004017, 0.0521032661, 0.0157002229, 0.0421963893, -0.0129757999, 0.0549682826, -0.0030873141, -0.0009992947, -0.0934555531, -0.014083148, -0.0173499677, 0.0361731276, 0.0152094262, -0.0249782018, -0.0564467348, -0.014664039, -0.0603721812, -0.0162694622, -0.0053614858, -0.0075684125, 0.0400035977, 0.015501014, -0.0477748588, -0.009982585, -0.0191194527, 0.067854628, 0.0130419722, -0.0210178755, 0.0250943527, -0.0758657083, -0.0104319584, 0.0103104841, -0.0307884477, -0.0228354745, -0.0228224378, 0.0807271451, -0.0164405107, -0.0229251757, 0.0309496224, 0.0017126441, -0.0515404716, -0.0356139652, 0.0093860785, -0.0661433786, 0.074920848, -0.0115255965, 0.0164725147, -0.0461816192, 0.022237068, -0.0047371164, -0.0117742578, 0.0507864021, 0.0229959395, 0.0022149775, 0.014263453, 0.0152388625, -0.0264635365, 0.0631022006, 0.0412696451, 0.0608936213, 0.0303179733, 0.0211774129, -0.002639378, 0.0432071909, -0.01336003, 0.0323001444, -0.0062808129, -0.018903397, 0.0019338697, 0.0206463225, 0.0251625441, 0.0331600383, -0.0305755958, 0.0284732003, 0.0729056224, 0.0238715112, 0.0290520843, 0.0129075535, 0.0156261083, -0.0007463677, -0.0179643761, -0.0112537509, -0.020577902, 0.0382403024, -0.0087632136, -0.0132587794, 0.068197988, 0.0982816294, 0.0267105959, -0.0797497034, -0.013103582, -0.0214522555, -0.0063982378, -0.0160319023, 0.026275035, 0.0034566291, -0.0409585573, 0.037108846, -0.0004314522, -0.0615831949, 0.0264059547, -0.0238150265, -0.0324814953, 0.072667636, 0.0573601499, 0.0148025248, -0.0159288235, 0.0034129894, -0.0736434311, 0.0314715467, 0.0448453166, 0.0224827901, 0.0494519807, -0.0400870368, -0.0464751273, 0.0163581017, 0.0255402513, 0.0345601626, -0.0151842181, 0.0075933281, 0.0227235779, -0.0437061042, -0.0773593336, 0.0238371398, 0.0178630315, -0.0105521455, 0.0514187105, 0.0076959375, 0.033548329, -0.0040014712, -0.013503857, 0.0316171832, 0.0190966129, -0.0378653295, -0.0509747118, 0.0204414576, -0.0258740354, -0.0573810153, -0.0015471848, -0.0561866015, 0.0121673113, 0.0129524833, -0.0441643372, -0.0240848139, -0.0072356104, -0.0482577719, -0.0212458745, -0.021040732, 0.0428102389, -0.0083332593, -0.0033397679, -0.0551352836, 0.0760825723, -0.0349886566, -0.0137922578, 0.0170415118, -0.0522626527, 0.0211126711, -0.0509178229, -0.0370302871, 0.0402225181, -0.0010527557, 0.0488779619, 0.0601285398, 0.0251970477, -0.0268853456, -0.0361969508, -0.0541510731, 0.0090134656, -0.0120863728, -0.0047213482, 0.027862478, 0.0328316018, 0.0097270235, 0.0023363838, -0.0144924913, -0.0695794746, 0.001523131, 0.0167038627, -0.0074969507, 0.0094331969, 0.0286285635, -0.0330468863, -0.0398431681, 0.0085032796, 0.0614104979, -0.0043259505, -0.0245693643, -0.0826679394, 0.0499087162, -0.066984117, -0.0289038848, 0.0112547697, -0.0669274256, -0.0011788382, -0.0292666517, 0.0106176352, 0.0633939803, 0.0038964411, -0.0098622888, 0.0763763115, 0.0047227629, -0.0599997714, -0.0048754415, -0.0310567021, -0.020194022, 0.0031733823, -0.0634976178, 0.0367076695, 0.0054342528, 0.0225709602, -0.0213990528, -0.067922391, 0.0406029411, -0.0110086212, -0.0388796255, -0.0344204493, 0.0046887021, 0.0111795757, 0.0742670447, -0.0219905823, -0.0534733422, 0.0731953681, -0.02726092, 0.0332029052, -0.0860789418, -0.0005091144, -0.0207898412, -0.0186329279, -0.0169849303, 0.0382767953, -0.068722412, 0.0026971656, -0.0360781103, 0.0121370554, 0.0068517579, -0.0321899429, 0.0171620809, -0.0639736652, -0.0349498317, -0.0115285888, -0.0179781895, -0.0349016711, -0.000639237, 0.004051507, -0.0144122764, 0.0100610396, -0.0131648807, -0.0364921018, -0.0184692778, 0.0170913395, 0.0196569059, -0.0281556714, 0.0066136052, -0.0087301405, 0.0328563973, 0.0077321366, 0.0002956213, 0.058947213, -0.0463428982, 0.0169843305, 0.0198132675, 0.0276527703, 0.0199572779, -0.0134303747, -0.0337933414, 0.0609011725, 0.0249726027, -0.048119776, 0.0191817675, 0.0489671603, -0.0483672358, 0.0088483635, 0.0940002203, 0.0219262242, -0.0354668647, -0.0004111613, -0.0119825201, 0.0471199527, 0.0050327242, 0.0349255539, -0.0546052195, -0.0194056015, -0.000375691, 0.0333732367, 0.0225771051, 0.0130606256, -0.0243038349, -0.1171059385, 0.0286999028, 0.0603247583, 0.012762215, -0.0174979214, 0.0006596756, -0.0196779035, -0.0510244705, 0.0106342528, 0.0118469968, 0.0515625812, 0.0080467444, -0.003388816, 0.0194494221, -0.0944282413, -0.0154810864, -0.0670858771, 0.011607334, 0.102293238, 0.064066343, 0.0068933261, -0.0730573833, -0.0190708917, -0.0496513732, 0.0067374152, 0.0307786185, 0.0002136706, 0.0216932893, -0.0060567842, 0.0208900683, -0.0003712914, 0.0098258713, 0.0161269847, -0.005343053, 0.0314499661, -0.0180943236, -0.0115725808, -0.0008496496, -0.0121923247, -0.0026565176, 0.0506719463, 0.0250414964, -0.0439080745, 0.0093301674, -0.0402252935, 0.0172000937, -0.0431207679, -0.0290677864, 0.0384580269, -0.0150394505, -0.050303109, -0.1131912991, -0.0409132428, -0.0298764426, 0.0234097, -0.0020249386, 0.0088233417, -0.012421459, 0.0075605097, 0.0279322825, 0.057073921, -0.0047273738, 0.0019884957, -0.0308004562, 0.0580425635, -0.0058217309, -0.0208618231, -0.0240991861, 0.0343036354, -0.0636021271, -0.0688802525, -0.0292898528, 0.0844705105, 0.0241339151, -0.00544402, -0.0497086756, -0.0377199166, 0.0089286016, 0.0321765132, -0.0008553003, 0.0006538212, 0.0138998535, -0.0048292698, -0.0315906517, 0.033390604, -0.0336196907, -0.0057851109, -0.0324685499, 0.0544677749, 0.0005376184, -0.0773079321, 0.0113292933, -0.0040865699, 0.0308851022, -0.0863890871, -0.0378916897, -0.0237488654, 0.0065220501, -0.0059659439, -0.0099753533, -0.037646044, 0.0030786986, 0.0694176555, 0.0175810345, 0.0119684497, 0.0172231738, 0.0011871683, -0.0189494267, -0.0310533047, -0.0104310205, -0.0092560081, 0.0048363255, -0.0009361023, 0.0227627773, -0.0084745623, 0.0253509786, -0.0098332521, 0.0209273677, -0.0224777069, -0.0090515446, 0.013789515, -0.0051344079, 0.0297061838, 0.0854179114, -0.057493072, -0.0544073619, -0.0412590131, -0.0023098493, 0.0915132612, 0.0364277288, 0.1261993051, 0.0297469385, -0.0144223133, -0.0281830244, 0.0222446937, 0.0274471641, -0.0257715769, -0.0112145953, -0.0023781825, 0.0030239662, 0.014834119, 0.0804571137, -0.0577796958, -0.007415046, -0.0304645896, -0.0159588587, -0.0236921478, -0.0232474487, -0.0267146844, 0.0012325067, -0.0189099181, -0.0267704278, -0.0518057197, -0.0401487723, 0.021458758, 0.0271763708, -0.0078429924, -0.011352065, 0.0025551158, 0.0609487668, -0.0539020449, 0.0173326302, -0.031096166, -0.0599037223, -0.0254241321, -0.0160057079, -0.0201577004, -6.650241006e-33, -0.0144065805, -0.0209970064, -0.0252878517, -0.06781625, -0.0107750054, -0.0039939191, -0.013951215, -0.022107644, -0.0038663489, 0.0103438441, 0.0221797321, -0.0075585279, 0.0170077514, 0.0076110177, 0.0204334091, 0.0155722527, 0.0488737375, 0.0441228226, -0.0526643395, 0.0012263837, 0.029941326, 0.0039903712, 0.0581934862, -0.0601164959, 0.042578537, 0.0219590142, -0.0374214873, 0.0194906555, -0.0137825664, 0.06040667, 0.0038622343, 0.036922317, 0.0047319494, -0.0459315889, -0.0309123304, -0.0253851265, -0.0191560164, 0.0017936697, 0.010666972, 0.0075394902, -0.0065373569, -0.0479053967, 0.0403327607, -0.0217033997, -0.0378088951, -0.0213213637, 0.0330553688, -0.0513937809, -0.0179720186, -0.0486798696, -0.008588546, 0.0177594908, -0.0133368233, -0.0035561086, -0.0030350115, 0.0589637458, -0.0225277003, 0.0449655168, -0.0804099068, 0.028275378, -0.0137008484, 0.0603452437, 0.0811864138, -0.0106897084, -0.021868607, 0.04529237, 0.0207862779, -0.036285039, 0.0299525224, -0.0451941341, 0.0394774489, 0.015471153, 0.0905032605, 0.0505359136, 0.0273788758, 0.0098587982, -0.0603309795, 0.0819818079, -0.0075626201, 0.0010730231, 0.0178383756, 0.0410595946, -0.022674663, -0.0082066488, -0.0519152135, -0.0613965988, -0.0359932967, -0.0212606452, 0.0134575125, 0.0175766163, -0.0371402055, -0.0101787876, 0.0666626021, -0.0221205, 0.031224763, 0.0418661311, -0.025861064, 0.0035346937, -0.0004858638, 0.0554401875, 0.0024122002, 0.0429296009, 0.0407386608, 0.0113810645, -0.0015403308, -0.0221059751, 0.02552763, -0.0001348934, -0.0267333686, 0.0222493969, -0.0494643115, -0.0145288184, -0.0086168833, 0.0209184065, 0.029609466, -0.0085162483, -0.0207265522, 0.0289213322, 0.0249391571, 0.069514133, -0.0309090819, 0.0122975241, 0.0171553157, 0.0265177675, -0.0320528559, 0.0081072794, -0.0189366061, 0.0062373262, 0.0418602265, -0.034632694, -0.0547891855, 0.0191950165, 2.959e-7, 0.0516238324, 0.0470045023, 0.0000244162, 0.0156258252, -0.0036286963, 0.0507329665, -0.0202329475, 0.038056042, 0.0278016366, 0.022962708, -0.0075067892, 0.0083314888, 0.0758875459, 0.039461676, -0.0811563283, -0.0125904297, -0.0734042823, 0.0055365833, -0.0478791557, -0.0441693738, 0.0575392097, 0.097793892, -0.0112598957, -0.0048332592, -0.0035879076, 0.0084647946, 0.0742478073, -0.0137631726, -0.049933318, 0.0029737803, 0.0617998168, 0.0287970565, -0.0217530169, -0.0253931023, -0.0382167734, 0.0287143551, 0.0566453971, 0.0571624339, 0.000500136, -0.0398518741, 0.0113712437, 0.0235208124, 0.0069920383, -0.0328041203, 0.0461402684, -0.03119337, -0.0148133952, 0.0166885741, -0.0305821579, 0.0071400357, 0.0711060017, -0.0378565118, -0.0312931575, 0.0231147036, 0.0254100654, 0.0084881261, -0.0155130271, -0.0404769033, -0.0490223207, -0.0042766733, -0.011902635, -0.0411036909, 0.0030628254, -0.0012953014, 0.0278333109, -0.0733486041, -0.0043139262, 2.724123669e-34, 0.0516267568, 0.0011189282, 0.0156948045, -0.0061961683, 0.0511483364, -0.0147173209, -0.0261692442, -0.0006678866, 0.0167266149, -0.0469072387, -0.0313845724 ]
http://arxiv.org/abs/2401.06687v2
http://arxiv.org/pdf/2401.06687v2
Proximal Causal Inference With Text Data
2024-01-12T16:51:02
2024-05-21T21:08:54
Jacob M. Chen, Rohit Bhattacharya, Katherine A. Keith
cs.CL
cs.CL, cs.LG, stat.ME
Recent text-based causal methods attempt to mitigate confounding bias by estimating proxies of confounding variables that are partially or imperfectly measured from unstructured text data. These approaches, however, assume analysts have supervised labels of the confounders given text for a subset of instances, a constraint that is sometimes infeasible due to data privacy or annotation costs. In this work, we address settings in which an important confounding variable is completely unobserved. We propose a new causal inference method that uses multiple instances of pre-treatment text data, infers two proxies from two zero-shot models on the separate instances, and applies these proxies in the proximal g-formula. We prove that our text-based proxy method satisfies identification conditions required by the proximal g-formula while other seemingly reasonable proposals do not. We evaluate our method in synthetic and semi-synthetic settings and find that it produces estimates with low bias. To address untestable assumptions associated with the proximal g-formula, we further propose an odds ratio falsification heuristic. This new combination of proximal causal inference and zero-shot classifiers expands the set of text-specific causal methods available to practitioners.
[ -0.0124804648, 0.0836792961, -0.0297277998, -0.0086123878, -0.028171543, 0.0371460617, 0.0786176622, 0.0415503383, -0.0022968408, -0.0369535014, 0.0692336485, 0.0039222282, -0.026232738, 0.0179092307, 0.0635064989, 0.0023708863, 0.0239978805, 0.0155855753, 0.0544034094, -0.0251007322, -0.0308885332, -0.0184025951, 0.0036930919, 0.0128685357, 0.0072666765, 0.0121615175, 0.0706561729, 0.0007549582, -0.0099039637, -0.040513739, 0.0265749786, 0.0214309543, -0.0086644115, 0.0260489471, 0.0000022089, -0.0128693897, -0.0388457142, 0.0129070906, -0.0104437824, 0.0128326165, 0.0103423074, 0.0066340328, 0.0365493149, 0.0063085607, 0.0028708661, -0.0228895172, 0.0188554171, 0.0480779633, -0.054371994, 0.0641681775, -0.0170782525, -0.0319239125, -0.0077925585, -0.0378353335, 0.0585677251, -0.008758042, 0.0553501546, -0.0515755266, -0.0523045547, -0.0106551992, -0.0207855459, 0.0408017039, 0.0022717216, 0.0307216775, 0.0173372105, 0.0097790621, 0.0025206564, 0.0167664308, 0.0143561102, 0.0457710326, 0.0826179683, -0.0295781232, 0.0330157802, -0.0489240922, 0.0608798601, 0.0536613874, -0.0170153491, -0.0212564692, 0.006608068, -0.0196199846, 0.0428725295, 0.0207568891, 0.040020965, 0.0269606002, 0.0313482508, 0.0408985429, -0.0004138948, -0.0246434435, -0.0203746837, 0.0452257693, -0.0101237819, -0.0320077576, -0.0221574716, -0.0155754834, 0.0058928235, 0.0044205151, 0.02285414, -0.0485827476, 0.0249163751, -0.0309611093, 0.0015170858, 0.0190788042, -0.0356259942, 0.0027419915, -0.0085472511, 0.0211617127, -0.0043960325, 0.020312082, -0.0094032567, 0.0531827956, -0.0112806382, -0.0086310301, 0.0350438952, 0.0008432586, -0.0346515179, 0.0277017225, -0.0506589152, 0.0114470376, -0.0027568571, -0.0428828038, -0.0351049304, 0.010848809, -0.047827132, -0.0074569895, 0.0035440179, 0.0349000581, -0.0414806157, 0.0749482363, -0.026407212, -0.0246264543, -0.0134366043, 0.0514486693, 0.0610407703, -0.0419370607, 0.0139073404, 0.0483690463, 0.0145643121, -0.0052124262, -0.0202428699, -0.0256909672, -0.0564793646, -0.0411071777, -0.0211681593, -0.040696457, -0.0353715718, 0.0141793983, 0.0207167845, -0.0767662823, -0.0274791736, -0.0239974223, -0.0856093466, -0.040926978, -0.0293549001, -0.0125201968, -0.0146457627, -0.0104067754, -0.0170067567, 0.0550417267, 0.0215326976, -0.0183285177, 0.0187930372, -0.0142967803, -0.0032849344, 0.0165974181, 0.058101166, 0.0403718799, -0.000551325, -0.035948012, 0.010991727, -0.0547606833, -0.0191956442, -0.0587451607, -0.0343499966, 0.0505857244, 0.0448938869, -0.0138831111, -0.0044651693, 0.0258105863, -0.0127662271, -0.0213182494, -0.0328523628, 0.0134167541, -0.0227736179, -0.0084593426, -0.0769156069, -0.0249090903, 0.0295518432, -0.0289454591, -0.0161065497, -0.0213429183, 0.0299726296, 0.0218542702, -0.0435215272, 0.0145770404, 0.0736039877, -0.0214152876, -0.0237631779, -0.0347193703, 0.0370875821, 0.0028478503, 0.0008835965, 0.0230060387, 0.0124260923, 0.0389714167, -0.0010519294, -0.0502443388, 0.0451103002, -0.0190951955, 0.0224196706, -0.0296421517, -0.044348821, 0.0163656976, 0.0215675049, 0.0317901224, 0.0019838121, -0.0202531405, 0.0648670495, 0.0291533787, 0.0002313811, 0.0170724634, -0.0025547538, 0.000569482, -0.0052784057, 0.0522331223, 0.0084428899, -0.0640010014, 0.0210191328, -0.0008722078, 0.0254392102, 0.0071379347, -0.0349064507, -0.012061907, -0.0142589612, -0.0010852205, -0.0218431205, -0.0151362065, 0.0522737913, -0.0334135517, -0.041898597, -0.0593943708, -0.0083402209, -0.0165549163, -0.0308345575, 0.0112509746, 0.024515219, 0.0447137617, 0.0376260206, 0.0062899524, 0.005461317, -0.009382668, -0.0216258727, 0.0004947276, 0.0184550006, 0.0177745037, 0.0297515858, -0.0278478302, -0.0772710219, 0.0232590176, -0.0528104529, -0.00503371, -0.0418803021, -0.0471856743, -0.0396474712, 0.0280359685, -0.0199834723, -0.0077215694, -0.0230450984, -0.0323996469, -0.0087899286, -0.005865714, -0.0116305584, -0.0111624217, -0.004220298, -0.0063255299, -0.01400954, -0.0073535661, -0.0563508458, 0.0275289305, 0.0529957674, -0.0093710888, -0.0041041761, 0.0208187252, -0.044695314, -0.0143639948, -0.0555047989, 0.0411046892, 0.0545680188, -0.0473180115, 0.0268735811, -0.0057613109, -0.0171686839, -0.0065410011, -0.0043893377, -0.0221542325, -0.0345366672, 0.0116233621, -0.0502395295, 0.0809187368, -0.0250969604, -0.0049037845, 0.0071436479, 0.0081924563, -0.0417453684, -0.0156623553, -0.0803639963, -0.0289627239, -0.0193155929, -0.0599608421, -0.0490038618, 0.0145751974, -0.0012067385, -0.0074089491, -0.0312571004, 0.0415580124, -0.0108918454, -0.0222700704, -0.0294832326, 0.0029457349, -0.0043345047, 0.020387901, -0.0314726979, -0.0916032866, 0.019116601, 0.0427740626, 0.0386955328, 0.0136249764, 0.0011244628, 0.0362564959, -0.0453335755, 0.0057580587, -0.0173741039, 0.0590649694, 0.0550997034, 0.0002280954, -0.0019081143, 0.0831186399, 0.0223997999, -0.0346847922, -0.0534180999, 0.063049078, 0.0495368801, -0.0541505292, -0.0064245821, -0.1071833968, 0.0007116417, -0.0188868791, 0.0186045896, -0.0163095109, -0.0684910491, -0.0040908377, 0.0314290822, 0.0071200691, -0.0317911282, -0.0005355394, 0.0045455778, -0.0612492338, 0.0165247191, -0.1099655256, 0.0248186756, -0.0653651208, 0.0173558723, -0.0149495639, 0.0206009187, 0.0024721164, 0.038854152, 0.0610704981, -0.0234955624, 0.0241750926, 0.0098201036, 0.0354294293, 0.0004535367, 0.0232409127, 0.0233643744, 0.0613667071, -0.0032848602, -0.0218348838, 0.0253261831, 0.0434322879, 0.0086407, -0.0131715639, -0.0393503606, -0.0697861984, -0.0117626823, -0.0122884354, 0.0095290672, -0.033927545, -0.034028247, 0.0158461723, -0.0524031483, 0.0328558311, 0.0238074753, -0.0034085941, 0.0053089266, -0.0004420707, 0.0162716676, -0.0336811841, -0.1166932136, -0.0063766288, 0.0056894664, -0.0058237347, 0.0128167449, -0.0393902138, -0.0400894471, -0.0337683186, -0.0194825921, 0.0025833994, -0.0116280029, -0.0080420198, -0.0114198178, 0.0370894633, 0.0214660801, -0.0024640844, -0.0135187758, -0.0020841595, 0.1375696957, -0.0216090027, 0.0003230341, -0.0315996818, 0.051561594, -0.0236472394, -0.0266724229, 0.0122489985, 0.0140915895, 0.0366954319, 0.00307768, 0.0706597567, -0.011405752, 0.0346565358, 0.041776605, -0.0280708913, 0.0116866101, 0.0061400468, -0.0109629622, -0.0432546772, 0.0152619658, 0.0228640065, -0.0003054519, -0.0385588892, -0.0607062504, -0.0122722453, -0.0243934244, 0.0324074253, 0.0173576921, 0.0216705557, 0.0075316834, -0.0177839752, -0.0347531363, -0.014055389, 0.0326896757, -0.0119921668, 0.0241528451, 0.0279358439, -0.0342794284, -0.0371963866, 0.0106846942, -0.0268199239, 0.0224101748, -0.0647957996, -0.0758383349, -0.002917706, 0.0236378089, 0.0179593433, 0.0386897512, 0.0070053381, -0.0295142476, 0.0316695236, 0.0383795649, -0.0467996784, 0.0486140214, 0.0059204837, -0.0502121672, 0.0007258823, -0.0116620669, -0.0252980795, -0.0149591118, 0.0457283035, 0.005140991, -0.0196009744, 0.0156364515, 0.0094479872, -0.0056600762, 0.0799003094, -0.0379403494, -0.0281781759, -0.0251623448, 0.0011150944, -0.0038871341, 0.010322242, 0.0170157496, 0.0105182743, 0.0275526997, 0.0177114606, -0.0459903814, -0.0074972049, -0.0775465071, 0.0177437086, -0.0688422471, 0.0474493951, 0.0009511344, 0.0191894639, 0.0303297285, 0.0237240754, 0.0291531924, -0.0000317785, 0.056580171, 0.0392683521, 0.0250256732, 0.0053264061, 0.0240276586, 0.0589604452, -0.0337458067, -0.0695199817, -0.0769779012, 0.0197678264, -0.0477859341, -0.0058899606, 0.0174632911, -0.0299874023, 0.0418834649, 0.0086946273, -0.0271683, -0.0384620726, 0.0355387293, -0.0017502282, 0.0086821793, -0.0075936215, -0.036139667, -0.0474613607, 0.0194093902, 0.066269286, 0.1031689346, 0.052215416, -0.0728978515, -0.0146458149, 0.0080519235, -0.0551318042, 0.0406298675, 0.053077925, -0.0065394039, 0.0179384928, -0.0995825678, -0.0775921568, 0.0109843351, -0.063156575, 0.0302053336, 0.0319506526, -0.06554389, -0.0056738271, -0.0167747531, -0.0440742373, -0.0208898913, 0.0252142735, -0.0398933701, -0.0236174501, -0.0346347727, -6.826949398e-33, -0.0169580393, -0.0403939299, -0.0536378771, -0.0049192058, 0.0355330892, 0.0499878488, -0.0151422247, 0.0032412072, 0.0308400448, 0.0298027396, 0.0329549722, 0.0315374695, 0.0171542484, 0.0015129896, 0.0048740231, -0.0337994248, -0.0018005763, 0.0112973358, -0.0109797632, -0.0187690146, -0.0066135065, 0.0440038964, 0.0327434801, -0.0801384151, 0.0846334398, -0.0063561434, -0.0111127431, -0.0410364605, -0.0101121124, 0.0361262336, 0.0187399238, 0.0222658142, 0.0247932989, -0.0076732575, 0.0323723108, 0.0061397785, -0.0581729077, -0.0323441289, 0.0597566292, -0.0285369046, 0.0268000737, -0.0397957973, -0.0209978912, 0.0290925913, -0.0197563507, -0.0080118487, 0.0410078093, -0.0111610824, -0.0124539882, -0.0202820059, -0.071422711, 0.0252003148, -0.0566747338, 0.0510961972, 0.0092052929, 0.102620624, 0.0244283956, 0.0629331619, 0.0063885055, 0.0194952469, 0.0129782334, -0.0158281513, -0.0095460583, 0.0464386679, 0.0104760677, 0.0565529577, -0.0125637678, 0.0068344595, -0.0505847037, -0.0552204996, 0.0059885308, -0.0402790308, 0.0380746685, 0.0879982263, 0.0765621215, -0.0243357476, -0.1084256098, 0.0121292677, -0.0281372648, -0.0269248933, 0.0449882522, 0.0035883847, -0.0234257895, -0.0460062139, -0.0700916797, -0.0652876422, -0.0241886862, 0.0212250706, 0.0283529628, 0.0218669437, -0.0104631362, 0.0096530039, 0.080131717, -0.0033498951, -0.0196308792, -0.0169137456, -0.0180070102, -0.0068685976, -0.0257593896, -0.0099421786, -0.0519758686, 0.0094692484, 0.0531905591, 0.0663358346, 0.0868052691, -0.0098334523, 0.087755084, -0.0592311397, -0.0414986163, -0.0119904624, -0.0288376324, -0.037671864, 0.041312743, -0.0411624126, 0.0471503846, 0.0562250353, 0.0064753662, 0.033652585, 0.0283831097, 0.0078304261, 0.0317783765, -0.031661462, -0.0314762071, -0.0140077919, -0.0268102102, 0.0080867168, 0.0581483878, 0.0159174576, 0.0281445291, -0.0618312992, 0.0005012175, -0.0171905383, 2.935e-7, 0.0697754547, 0.0388636068, -0.0003684986, -0.0153950891, 0.0063522994, 0.0241405368, 0.0081223426, 0.0058229649, 0.0697709769, 0.0178343393, 0.0655096471, 0.0136791896, 0.0623500757, -0.0432764404, -0.0074531073, 0.0320765078, -0.0353052467, -0.0400813334, -0.0343117155, 0.0091414386, 0.0651289597, 0.0161986835, 0.0356640257, 0.0248632114, -0.0187295936, 0.0216561835, 0.0401640534, -0.0692262799, -0.0097849928, -0.0006766829, -0.031882342, 0.0027960411, -0.0104734357, 0.0824862644, -0.039296288, -0.0108150942, -0.0092947213, 0.025768036, -0.0339780264, 0.0378337614, -0.0292075165, -0.0258723889, 0.0095659737, -0.0137200784, 0.0508648865, -0.0114412364, -0.0161371995, 0.0395935588, -0.0523509197, 0.0308487322, 0.0531676002, 0.0223559942, 0.0096566314, 0.0168261789, -0.0085808281, 0.048016049, -0.005249612, -0.0013744208, -0.0286178701, 0.0501896925, -0.0033905993, -0.0617811978, 0.0261792466, 0.0353475958, 0.0029261145, -0.0419996046, 0.042995099, 2.953704374e-34, 0.0288314894, 0.0310661495, -0.0151167894, -0.043687094, 0.0715400055, 0.0008518316, -0.0379775055, 0.0072239232, 0.0146541214, -0.0955242813, 0.0390917845 ]
http://arxiv.org/abs/2401.06683v2
http://arxiv.org/pdf/2401.06683v2
DQNC2S: DQN-based Cross-stream Crisis event Summarizer
2024-01-12T16:43:28
2024-02-02T09:54:18
Daniele Rege Cambrin, Luca Cagliero, Paolo Garza
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
Summarizing multiple disaster-relevant data streams simultaneously is particularly challenging as existing Retrieve&Re-ranking strategies suffer from the inherent redundancy of multi-stream data and limited scalability in a multi-query setting. This work proposes an online approach to crisis timeline generation based on weak annotation with Deep Q-Networks. It selects on-the-fly the relevant pieces of text without requiring neither human annotations nor content re-ranking. This makes the inference time independent of the number of input queries. The proposed approach also incorporates a redundancy filter into the reward function to effectively handle cross-stream content overlaps. The achieved ROUGE and BERTScore results are superior to those of best-performing models on the CrisisFACTS 2022 benchmark.
[ -0.0243745502, 0.0446579754, 0.0083212545, -0.012687061, 0.0157350563, 0.0095144706, -0.0216226671, -0.0258335769, 0.0019910121, -0.0096707055, 0.0330893733, -0.0295042675, -0.0577972159, 0.048334457, -0.041191794, -0.1211907566, 0.0367015302, 0.0201764982, 0.0150912022, -0.0009924578, 0.0161818601, 0.0084503759, -0.0091014998, 0.0129429465, 0.0069899866, 0.0246138796, -0.0372077934, 0.0132022845, 0.0599674806, -0.061687123, -0.0122520532, 0.005067314, 0.0516798645, 0.0503426716, 0.0000018227, -0.0129254796, -0.0452371575, -0.0385465436, -0.008445764, 0.0318261608, -0.0499093458, -0.032858856, 0.0151833817, 0.0110620297, -0.0367740132, -0.0043552648, 0.0293944292, 0.0437383205, 0.0878054276, 0.0789986551, -0.0235058945, -0.0022079356, 0.0391486324, -0.0286764577, -0.0258056037, -0.1138788387, 0.0084563205, -0.0025976126, 0.0432929173, -0.0238334145, 0.0061184838, 0.0346111096, 0.0312740058, 0.0161947943, -0.0252596885, 0.0404160134, -0.0598889329, 0.0169694331, 0.0034542605, 0.0551195443, -0.0100329397, 0.0173789077, 0.051156681, -0.0215743147, 0.0117415823, -0.0162806287, -0.0391926728, 0.0158289541, -0.004990268, 0.0259204935, -0.0006202725, 0.0523130521, 0.0046586925, 0.0369703248, -0.0344927795, -0.0172125753, -0.0137415389, -0.0099259345, -0.0570538267, 0.0064767441, -0.0621159934, -0.0391035341, 0.0100306533, 0.0098389992, -0.0664994493, 0.0005775791, -0.0203660335, 0.0044753766, -0.0360577963, -0.0765408427, -0.0204026662, 0.0370804146, 0.0226496253, 0.0528157838, 0.0130070979, 0.0209922511, 0.0007417662, -0.0119688241, -0.0154443951, 0.00622048, -0.0783682689, -0.0149712544, -0.0284390822, 0.0346048623, -0.0412042961, 0.0065568918, -0.0327214897, 0.0262243617, 0.0000683633, -0.022309145, 0.0098489476, 0.0301465038, -0.0744851977, 0.0055223587, -0.030825505, 0.0251066741, -0.0655289143, -0.0022198446, 0.0146535486, -0.0502163731, 0.0183276609, -0.0200982057, 0.0341157764, 0.007596151, -0.0553583167, 0.0227008164, -0.0337219127, 0.0217159986, -0.0547765046, -0.0187928118, -0.0278758258, -0.0040128077, -0.0045725689, -0.0258977786, 0.0064045237, -0.0244419314, -0.0290109087, 0.0312498733, 0.0067774397, -0.0174643416, -0.0289445892, 0.0023274373, -0.0313439928, -0.0041370727, 0.0305924229, -0.0128396265, 0.0214134604, 0.0846250281, 0.0542762466, 0.0510780439, 0.0460656136, 0.0453067943, -0.0175218135, -0.0062907999, -0.002198763, 0.0185044408, -0.0655705631, -0.0453540981, -0.0524575487, 0.0385290571, 0.0243860725, -0.0241672229, -0.0408076271, 0.0063418327, 0.0264051501, -0.0203426033, 0.0374720469, 0.0203023721, 0.0177653395, 0.0479484275, -0.023301322, 0.0499910638, 0.027942365, 0.0925623327, 0.0334257111, 0.0221773591, 0.0722506791, -0.0007416636, -0.0513946302, -0.0415106714, 0.0120663214, 0.0257533845, -0.0255560614, -0.0007732448, 0.0091687981, 0.0097997505, -0.030601006, -0.0153775206, -0.0013767632, -0.0047662449, 0.0642596185, -0.0124369124, -0.0003443382, 0.0895470679, 0.0355557352, -0.0528977662, -0.0709811226, -0.0017392586, 0.0478609093, -0.0054898011, 0.0246672295, -0.0089870496, -0.0182318129, -0.0544366091, -0.0763093308, -0.025729334, 0.0175001994, 0.0244486462, 0.0004411882, 0.0178845432, 0.0086089652, 0.0264105089, -0.0416249894, 0.0070248195, -0.0198201742, -0.0209817532, 0.0038594471, 0.0167720225, 0.0055128136, 0.0105754966, 0.0057364777, 0.0213803034, 0.0255917534, -0.0391816832, -0.0603167303, 0.0244763773, -0.0322424285, -0.0165206958, -0.0241247956, -0.0530345328, 0.0307244342, 0.0340554491, -0.0538372546, -0.0620707832, 0.040232636, -0.0081163133, -0.0383569039, -0.0215435345, -0.0300795231, 0.0262055174, -0.034876965, -0.0187452883, 0.1026371196, 0.0065535512, 0.0286504216, 0.0421764515, 0.0031830065, -0.0376475565, -0.0486477353, -0.0031630753, 0.0079081915, -0.0055754264, 0.0114024132, 0.0454716794, -0.0413016714, -0.0278881751, -0.0100382129, -0.0185420588, 0.01817449, -0.0275056493, 0.0251638498, 0.0443281494, 0.0298680291, -0.0129286442, -0.0115535846, -0.0275877528, -0.0304983109, -0.0030021172, 0.020166887, 0.0123920962, 0.037461184, 0.0610639714, -0.0253326986, -0.0265640952, -0.0073696557, 0.0416517556, 0.013708231, -0.0677244067, -0.0079605803, -0.0109958174, -0.0469511151, -0.0107070757, -0.0210791063, -0.0075229905, 0.0066814078, -0.0089095859, 0.0414663032, -0.0079455562, 0.0708836094, 0.0316020027, 0.0020155224, -0.0110414037, -0.0397063754, 0.0441481136, -0.0592185594, -0.0111551974, 0.0155051323, -0.0143823959, -0.0174721796, -0.0024311841, -0.0245651454, 0.0140435277, -0.0490365028, 0.0058260444, -0.011038214, -0.0018925873, -0.0454601161, -0.0124876695, -0.0154680274, 0.0136475023, -0.0269333515, 0.0078357728, 0.0246458054, 0.08033292, 0.0337476358, -0.011329581, -0.0017631969, -0.0554639474, 0.0578198619, -0.0547179841, 0.036656335, -0.0258460697, -0.0302435495, -0.0552312322, -0.0310143307, 0.0438144468, -0.0309891198, -0.0251118466, -0.0126407556, 0.0069543221, -0.0166917909, -0.0087223426, -0.0320866294, -0.0041505313, 0.0131872436, 0.0108384369, -0.0035599845, 0.0390938595, -0.0479862019, 0.0476910546, 0.021987671, 0.0621537603, -0.029659031, -0.0012552387, 0.0005037966, 0.0857858807, 0.020427797, 0.0142955799, 0.0285598151, -0.0439384468, 0.0506743006, 0.0165008884, 0.062438719, 0.0057335962, 0.0342847779, 0.0064238976, 0.0052553695, -0.0402805991, -0.0108856345, -0.0047008744, 0.0143730715, -0.0251177885, -0.0056027649, 0.044198405, 0.0338982455, -0.0181837324, 0.0160982944, 0.0265711155, -0.0107809398, 0.0151536651, 0.0064093894, -0.0675664395, 0.0120358868, -0.0068232804, 0.0247537773, 0.0209272355, -0.0642896444, -0.0128240576, -0.013908173, 0.0381775387, -0.006154784, -0.0253294054, 0.0124843111, -0.061121136, 0.011901034, -0.0172177218, -0.0324768908, -0.0045271679, 0.007092535, -0.0067625521, 0.0461528152, -0.0439724401, -0.0506315343, -0.0397819951, -0.0213019066, -0.0018220292, 0.0099148937, 0.0554804951, 0.0094099045, -0.0010662626, 0.0142644113, -0.0602432303, -0.0104265474, 0.0248367637, 0.0346718878, 0.0122771356, -0.0206628609, -0.0213880502, 0.0318097137, 0.0605114624, -0.0003408975, -0.0207684133, 0.0223892424, -0.0124113811, -0.0113765271, -0.0142216273, 0.0110418117, 0.0122012021, 0.0291875303, 0.0035887421, 0.012849628, -0.0323791802, -0.0020559102, 0.0112455301, -0.1232844964, 0.0166706797, 0.0248640981, -0.0398337543, -0.1102324277, -0.0720864832, -0.0351656862, -0.0047168653, 0.0280262772, -0.0781671628, -0.0118025411, 0.045549158, 0.0086026462, -0.0236665867, 0.0157865994, -0.0147039946, -0.0152259264, 0.0004537442, 0.0128286174, 0.008865511, 0.0033031073, -0.0339683928, 0.0403414741, -0.047571253, -0.0139603578, 0.0123987207, -0.0103825182, 0.012345247, 0.0068417876, -0.0012877488, 0.0076384787, 0.0196221825, 0.0827703774, -0.0160660651, -0.054581929, 0.0041536246, 0.0073886113, -0.0401266478, 0.0386181101, -0.0741082728, 0.0397572294, -0.0663976893, 0.0793907121, -0.0445457213, 0.0017037865, -0.0088224187, -0.0276510939, 0.0224115532, -0.0151495123, -0.0831524432, -0.0468599498, -0.0361743979, -0.008881879, 0.0027381009, -0.0079704383, 0.0863007307, 0.0008783042, 0.0028620141, -0.0198692791, 0.0400830992, 0.004742953, -0.0300714839, -0.0799060091, -0.0266949628, 0.0332760364, 0.0117152035, -0.0385742038, 0.0118680075, -0.0218979642, 0.0302888919, 0.0139031708, -0.0105811069, -0.0172990151, -0.0482914001, 0.0446154997, 0.057462085, 0.0249228738, 0.0141935134, -0.0930009857, -0.0084428098, -0.0427784957, 0.0181413349, 0.1232561693, 0.0290494468, 0.0098707033, 0.0221960098, -0.0109297289, -0.013029715, -0.012846333, 0.0433922969, -0.0369995497, -0.0151868686, 0.0216469951, -0.0200454481, 0.0372378938, 0.0635794923, 0.0046141385, 0.0306429639, 0.0431465358, -0.035975799, -0.013103283, -0.0431856327, -0.0138237895, 0.066509828, -0.020805452, -0.0125168152, -0.0398216546, 0.0159086771, 0.0811585411, -0.0113573978, -0.0432928987, -0.0045958878, 0.0452965982, 0.0110119125, 0.0125989234, 0.0210686792, -0.0363650732, 0.0174964238, -0.0203062203, -0.0055863759, 0.0310976952, -6.372202062e-33, -0.0018574139, -0.0216321908, -0.0014516929, -0.0413002037, -0.0452365391, 0.0693438873, -0.0221432559, -0.0518889129, 0.0431190357, -0.0216498729, 0.0198813025, 0.0164747499, 0.0278500598, -0.0254135802, 0.0062041357, -0.0271721277, 0.0589909442, -0.0113608036, -0.0346703753, 0.0656929165, 0.0732321441, 0.0202125181, 0.0452566035, -0.001377061, 0.0037476625, -0.0125011168, 0.0120707667, -0.0369249284, 0.0852541924, 0.0493619107, -0.0184756499, -0.0036598828, 0.0302683897, -0.0627911538, -0.027384406, 0.0031322783, -0.0454369672, -0.0050835204, 0.0112800449, -0.0558645539, -0.0518833101, -0.0285026766, 0.0302574001, 0.0354281589, 0.0284501128, -0.0202781092, 0.0195854101, 0.0016984401, -0.0166815575, -0.0871583745, -0.0086946329, 0.0608195923, -0.0628434122, -0.0191210322, -0.0101264492, 0.0816555619, 0.0367181189, 0.0253757853, -0.0529298782, 0.0385641456, -0.0429504625, 0.0376052111, 0.0397541299, -0.0060270233, -0.0120614199, 0.0577722341, -0.0370949954, -0.0033190281, -0.0268368702, 0.0254515167, -0.0061367634, 0.0140460636, 0.0289331954, 0.0545691662, 0.0325307809, -0.0199902412, -0.1033156514, 0.0811835974, -0.0038575321, 0.0091203265, 0.0429604761, 0.0357861817, 0.0044957879, 0.0040966226, -0.0005805928, 0.0031752919, -0.0137504991, 0.0196770094, 0.0069615892, 0.0456412658, 0.0065861163, 0.0697258562, 0.0208262093, 0.0014685291, 0.0105261486, 0.0018540014, 0.0015290582, 0.0281662997, 0.0041628508, 0.0575405918, -0.0296702739, 0.0148533005, 0.0611832328, 0.0123942019, -0.0229444113, -0.0068806023, 0.004591797, -0.0000888523, -0.0130804284, 0.0191209372, 0.0015747217, 0.0158511493, -0.049858354, 0.0216158237, 0.0168444719, -0.0150120044, 0.0175615549, -0.0240748171, 0.0115246931, 0.0549776219, 0.0469043925, -0.0548956022, -0.0209352802, 0.0370989181, 0.0311664417, 0.0083734971, -0.0403786488, 0.04070694, -0.0456350185, -0.0506479777, -0.0311527718, 0.040170867, 2.682e-7, 0.0313810892, 0.0153430868, 0.0711863637, 0.0099983783, -0.0071196184, -0.0242530126, -0.0160892121, 0.0487449318, 0.001327732, 0.0434769876, 0.0279493853, 0.0682107881, 0.0223746654, 0.0549209714, -0.0911642462, -0.0144986669, -0.1287215799, 0.0292124785, -0.0662011802, -0.029014999, 0.0759677887, 0.0492279455, 0.0078291679, 0.0173214786, 0.0259302612, -0.0094146412, 0.0053364164, 0.0229434818, -0.0655468777, 0.0263487883, 0.0579587147, 0.0531909391, -0.0356857516, -0.0152495829, -0.0104537448, -0.0034600976, 0.0473043472, 0.0324425399, 0.0229357798, -0.0567768663, -0.0166132934, 0.0073473467, 0.0268994421, -0.0140820062, 0.0555952191, -0.0632636771, -0.010786064, 0.0180106629, -0.0697849244, 0.0552966595, 0.0360260457, 0.0199067462, -0.0582193211, 0.047177732, -0.018469099, 0.013374879, -0.0019926536, -0.0498940162, 0.0245174058, 0.0194263514, 0.0063180886, -0.0518863052, -0.0559078939, 0.0173279215, 0.0306140538, -0.0373039469, 0.0324651301, 1.92718281e-34, 0.0509454012, 0.0288436394, -0.0570375398, -0.0373706147, -0.007326684, -0.0098335156, -0.0429480188, -0.0145569136, 0.0136556597, -0.0323470198, -0.0260181483 ]
http://arxiv.org/abs/2401.06836v2
http://arxiv.org/pdf/2401.06836v2
Enhancing Emotional Generation Capability of Large Language Models via Emotional Chain-of-Thought
2024-01-12T16:42:10
2024-02-21T15:13:50
Zaijing Li, Gongwei Chen, Rui Shao, Dongmei Jiang, Liqiang Nie
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown remarkable performance in various emotion recognition tasks, thereby piquing the research community's curiosity for exploring their potential in emotional intelligence. However, several issues in the field of emotional generation tasks remain unresolved, including human preference alignment and emotional generation assessment. In this paper, we propose the Emotional Chain-of-Thought (ECoT), a plug-and-play prompting method that enhances the performance of LLMs on various emotional generation tasks by aligning with human emotional intelligence guidelines. To assess the reliability of ECoT, we propose an automated model-based evaluation method called Emotional Generation Score (EGS). EGS incorporates Goleman's Emotional Intelligence Theory as a consensus of human experts, providing a new perspective on the evaluation of emotional generation tasks. Extensive experimental results demonstrate the effectiveness of ECoT and EGS. Further, we discuss the promise of LLMs in the field of emotional intelligence and present key insights into the LLMs with the ECoT in emotional generation tasks.
[ 0.0280123688, 0.0597541146, -0.0124653038, 0.0217542872, -0.0213825498, 0.020432869, 0.0347006097, -0.0195891224, 0.0471220613, -0.0224064905, -0.0523865856, -0.0270458516, -0.0243421569, 0.0459615253, 0.0124404449, -0.1012504324, -0.007733956, 0.0286588483, 0.0741248354, -0.0239139572, -0.0059318128, 0.0496672541, -0.0140967751, 0.034492895, -0.043484401, -0.0245061833, -0.0189357661, 0.0276082102, 0.0543215461, -0.0649924874, 0.0008694156, 0.0421996526, -0.0169041008, -0.0036002442, 0.0000021777, -0.0603586584, 0.0263137855, -0.0342898369, -0.0018475382, 0.0006231891, 0.1064390093, 0.0333414562, -0.0247834213, 0.0110742403, -0.0221053977, 0.0333386101, 0.0477022938, 0.0514276698, 0.0656337515, 0.0550232567, -0.0319406465, 0.01029085, 0.0056743845, -0.0220634062, 0.0002624487, -0.006197534, 0.0078964969, -0.0002962998, 0.0055390159, -0.05906564, -0.0057621077, 0.0104311407, 0.0042275819, -0.0087559903, 0.0061039082, 0.0010757948, -0.0331803672, -0.0556127317, -0.0323314704, 0.0615818724, -0.004902869, 0.0384807661, -0.0258398522, -0.0087635815, 0.0287552904, 0.0140593285, -0.0179192517, 0.0165306665, 0.0192473494, 0.0119381733, 0.0066583967, 0.0228721313, -0.0171501432, 0.0255776085, 0.012013562, 0.032016065, -0.0044373116, -0.0192784164, 0.0617937855, 0.0135511961, -0.0458933078, -0.0383209363, 0.0176925156, 0.0090777399, 0.0065649068, 0.0084573571, -0.0284360554, 0.0013493948, -0.0354690515, -0.0246462617, 0.0319513902, 0.0254094768, -0.0139119122, -0.0014163285, -0.0022612205, 0.0802647173, 0.0100392895, -0.0171799511, -0.041748561, 0.0287381206, -0.0201698206, 0.0033463552, -0.0060484237, 0.0092042284, -0.0334275812, -0.0506909639, -0.0807347521, -0.006118706, -0.048880443, -0.0115769077, -0.0353063606, 0.0226331688, 0.0285068043, -0.0049259444, -0.0224575661, 0.0182388816, -0.035403382, 0.0199990068, 0.0413191654, -0.0171115566, 0.0282235686, 0.0253225192, -0.0123849623, -0.0012580956, 0.0527019687, 0.0302105322, -0.0006091575, -0.0272919517, -0.0520865694, -0.0180883594, -0.0222206935, -0.0689156726, 0.0223588031, -0.0322155468, 0.0375907794, 0.0063400702, 0.0211146455, -0.0213419739, 0.021964876, -0.028551206, -0.0177946407, -0.0099882521, -0.0139564946, 0.0075055473, -0.0246737823, 0.0067057698, -0.0094840275, 0.0369436406, 0.0379366949, 0.0712339282, 0.0395015106, 0.0037496286, 0.0313016921, 0.0330760814, -0.0364407785, 0.0018564375, -0.0509347208, -0.0722792074, -0.0333746672, 0.0575000569, 0.0538645312, 0.0507689863, -0.0220057797, 0.0280376393, 0.0507270508, 0.0230254773, 0.0048936256, 0.0681354925, 0.0241892673, 0.0390950702, 0.0310798474, 0.025888931, -0.0107020224, 0.0528255887, -0.0549505129, 0.0057033929, -0.0043835058, 0.0437669158, -0.0084969355, -0.0370338038, -0.0112872571, -0.011829596, -0.0132138561, 0.0112603381, -0.0020928639, -0.0242033452, -0.0514421239, -0.0288334358, 0.0237508006, -0.0765138194, -0.0025752799, -0.0358529538, 0.0267125275, 0.1147635877, 0.0122225322, 0.0125223901, -0.0003019688, -0.000478025, -0.0202830881, 0.0534381941, 0.031787686, -0.0288524553, 0.0032762177, -0.0722252429, 0.0215517059, 0.0008275393, -0.0047833296, 0.0040544611, -0.0343803614, 0.0313385054, 0.0032895631, 0.0148825701, -0.00625068, -0.002694505, -0.0384700857, -0.003945943, -0.0187878404, 0.017303193, 0.0177821219, 0.0051880837, -0.0237990636, -0.0080271354, 0.0276032519, -0.0028271184, -0.0120342765, 0.0383225046, -0.0212720856, -0.0038159078, 0.0146244196, -0.0202504434, -0.0262175724, 0.0191521049, -0.0052092513, -0.0238580648, 0.032567136, -0.0476340204, 0.006174155, -0.0154901957, 0.0436637029, -0.023342682, 0.0348070972, -0.0048907185, 0.0301419869, -0.010062133, -0.0053336429, 0.0214683004, 0.0133163398, -0.0212954152, -0.0392810553, -0.0293588582, 0.0190793928, 0.0195974149, 0.0043961066, 0.0029591215, 0.0105320392, -0.08621566, -0.1053201705, -0.1026995704, -0.0030967852, 0.032952629, -0.0091510778, 0.0061119138, -0.0396060832, -0.0550852343, 0.0423165336, -0.0428661928, 0.0279640984, 0.0177222267, -0.0219100881, -0.0178910811, -0.0290958602, -0.0201201607, -0.0569086298, 0.0188612267, -0.0074677928, 0.0421867259, 0.0274889022, 0.0041319574, -0.0252832435, 0.0262946878, -0.0687321797, -0.0014974353, 0.0111704972, -0.0814123824, 0.0294356979, 0.0277210698, 0.0633869544, 0.0782223418, 0.0489296652, 0.0540873483, 0.0278612394, -0.0205708183, -0.0593913309, 0.0192186274, -0.0039134561, 0.0381031968, -0.0102315769, -0.0433541462, -0.0140529033, 0.0306386389, 0.0061836038, 0.0193841681, -0.0442872606, 0.0746318623, 0.0285180472, -0.0503277853, 0.0068724537, -0.0358500294, -0.018522827, 0.0487938672, 0.0179484989, -0.0579723828, 0.0356338322, 0.00886836, -0.0181754269, -0.0574834459, 0.0187727641, -0.0027586822, 0.0761245117, -0.0616457686, 0.0310076214, -0.0188398268, 0.0354865901, -0.0542668365, -0.0297983773, -0.0437998287, -0.0566086397, 0.0079065422, -0.0353547782, -0.0570108555, 0.0506894253, -0.0053872848, -0.0482610799, -0.0126441764, -0.0679412931, -0.0244334396, 0.0406241231, -0.0094749369, -0.0148124117, -0.0244371612, 0.0633992776, -0.0730943233, -0.0219491888, -0.024093613, 0.045287244, 0.0152669754, 0.0779689774, -0.0075974483, 0.0525009967, -0.0389293619, 0.0634708628, 0.0318221226, 0.0264388453, 0.0082743634, -0.0163351148, 0.0538610183, 0.0149580538, 0.039153304, -0.0190350823, -0.0077292924, -0.013166856, -0.0112414714, 0.0462405011, 0.126009509, 0.0347885564, -0.0232642945, 0.0273826551, -0.0468596816, 0.0399820805, 0.0104851266, 0.0274463575, -0.0307559632, -0.0071374783, 0.0193542317, 0.0208882354, -0.0334705375, -0.0379304327, -0.0116900224, -0.0993697047, 0.0674235746, 0.0347407982, 0.0161362197, -0.0124897016, 0.0196011234, 0.0249479711, 0.0259400588, -0.0166101754, -0.0131476363, 0.0063552302, -0.0073561748, 0.0301173124, -0.0036301822, -0.0344031639, 0.033004459, -0.0236685779, 0.0642050132, 0.0376169235, 0.0915381536, -0.0049803327, -0.0511646532, 0.0051087216, 0.0210225116, 0.0042524985, 0.0044515771, 0.0479131453, 0.0093551073, -0.0085160593, -0.0441883169, 0.0167468842, 0.0096724713, 0.0031898837, 0.0050014779, 0.036046613, -0.024073232, -0.0504245907, -0.0274201259, 0.0502981022, -0.0162312649, 0.0615402237, 0.0249666292, -0.1047889143, 0.0065242839, -0.0011781235, 0.0346038267, -0.0227563996, -0.0563001148, 0.0220302753, -0.0132813975, -0.0137229254, -0.0890458003, -0.0568123683, 0.014015113, 0.0412339233, -0.0038356383, -0.0519767925, -0.0096170958, -0.0062503153, 0.0018797651, 0.0260698479, 0.0108863907, 0.0049333242, -0.0395371318, -0.0203066673, -0.0000035506, -0.0627091527, 0.007783148, 0.0306457318, 0.0438446514, -0.0552775487, 0.045633778, 0.0357938595, 0.0228410624, 0.0022777296, 0.0457285233, -0.0379262269, 0.0309250597, 0.0089392038, 0.0086120972, 0.0159185622, 0.0184451044, 0.0541629903, -0.0264688991, 0.0132011101, -0.0348986462, 0.0642082542, -0.0022043814, 0.0327999592, 0.0265231635, -0.089487724, -0.0065401783, 0.060562294, -0.0124507099, -0.0490163229, -0.025525894, -0.0451925285, -0.034067966, -0.031334132, -0.0194629207, -0.0674104467, -0.0155122075, 0.0083010495, 0.0375804454, -0.0424048789, -0.0887082517, -0.0162018463, -0.028629655, -0.003725112, 0.015865067, -0.0264246874, 0.0126780979, 0.007311794, 0.0282261893, -0.0266258195, -0.0336949825, -0.013793638, 0.0093172165, 0.0108118271, 0.0855248719, -0.0058563617, -0.0703050047, 0.0105214631, 0.0506817698, 0.0155988373, 0.0117001589, -0.0239482187, 0.0036698594, 0.0139297964, -0.01586424, 0.0631141588, -0.0714896172, 0.0248002652, -0.0257481635, 0.0060425196, -0.0118432641, -0.0624063425, -0.0178898629, -0.0018288613, -0.0292596947, -0.0069477698, 0.009893029, -0.0559505671, 0.0453651622, -0.0219573658, -0.0068468009, -0.0615585931, -0.0040482963, 0.0338398479, -0.066831179, 0.0054698181, 0.0266051609, -0.101587519, -0.0597024001, 0.0461762361, -0.010481799, 0.0244592987, -0.0425332524, 0.0453177691, 0.0469721928, -0.0697642863, 0.0575427637, -0.0179252848, -0.0092219384, -0.0873486102, -0.0020164379, -0.0361027308, -6.057367573e-33, -0.0175496489, -0.0146575589, -0.0202464871, -0.0002123208, -0.0587815344, 0.0131645855, -0.04222605, 0.0412422977, 0.010631823, 0.0641640574, -0.0004636972, -0.0310066342, -0.0015671945, -0.0104225017, -0.0088486439, -0.0032426252, 0.014280566, -0.0017429671, -0.0346008204, 0.0278950576, 0.029707564, 0.0057132533, 0.012359418, -0.0805236623, 0.0030093004, 0.0175563581, -0.0383670963, -0.0282971039, 0.0610869005, 0.0489847884, -0.0104398923, 0.059047997, 0.0091952495, 0.0147182103, -0.0004252772, 0.0133890416, 0.049496837, -0.0156488344, -0.0014039177, -0.0268861465, -0.0388764404, -0.0400482453, -0.0113970051, 0.0235806946, -0.0376897827, -0.0096775647, 0.0190532021, -0.0363089889, 0.0216090772, -0.06695389, -0.0500553399, 0.0081547406, -0.027615374, -0.0496376045, 0.0127921076, 0.0716544166, -0.0166714154, -0.0055292295, 0.0146355126, 0.0304485783, -0.0078633577, -0.0265491903, 0.0353944376, -0.0202296022, -0.0041574868, 0.0903930068, 0.0142353503, 0.00881531, -0.0143696135, 0.0481205359, 0.0318498909, 0.0546663292, 0.0685771704, 0.0051266076, -0.0645467788, -0.0084337322, 0.0059514707, 0.0410218351, 0.0365880504, 0.0008094851, 0.0536515713, 0.0086954078, -0.0221565105, 0.026791187, -0.0128877712, -0.0344954133, -0.0264027715, -0.0359595083, 0.0312525779, -0.0145936599, -0.0234222692, -0.0678585023, 0.0086508328, 0.0050880574, 0.0132961925, 0.0206976663, -0.0809371695, 0.0760105029, -0.006521449, 0.003958812, 0.0188456383, -0.0076741357, 0.061053399, 0.0391710475, 0.0617833175, 0.0103539359, -0.024216637, 0.0326252133, -0.0414366908, -0.0028030858, -0.0318426415, 0.0746051371, 0.0144840926, -0.0533042252, -0.0424856283, 0.0011124323, -0.0323559754, -0.0406411663, 0.0135958586, 0.0292266011, 0.0062481812, 0.021167988, -0.0080394354, 0.0307879057, -0.0609567091, 0.0388904922, -0.0030105361, -0.0496005416, 0.0172630586, -0.0211439617, -0.0143328449, 0.0124010053, 2.941e-7, -0.0313973054, 0.0671686232, 0.0278559998, -0.020703895, -0.0022774793, 0.0514798276, -0.0124995811, -0.0050248858, 0.089793101, -0.0190833025, 0.007857915, -0.0015826543, 0.0908244327, -0.0057643829, -0.085956037, 0.0009306617, -0.0233041029, 0.0318875089, -0.0175350942, 0.0111249862, 0.0799845234, 0.0380110368, 0.0106548099, -0.0047643534, 0.01105629, 0.023401292, 0.0342198871, -0.0451691113, -0.0149824116, 0.0005518289, 0.0135417329, -0.047735054, 0.0113470731, 0.0296240784, -0.0036689611, 0.000896459, 0.0245325491, 0.0448598005, 0.0178996976, -0.0281441323, 0.0423088036, 0.0342192389, -0.0273378845, -0.0316139832, 0.0238582268, -0.0583467782, -0.0284784809, -0.0270163696, -0.0387776233, -0.0104941344, 0.0421064161, -0.0504863635, -0.0312029887, 0.0422352143, 0.0101441564, -0.0336415544, 0.00920064, -0.0219061617, -0.0041217101, 0.0173612759, -0.0453739315, -0.0478375331, -0.032541506, 0.0420189016, 0.0036510325, -0.038695816, -0.0046407082, 2.276316341e-34, 0.0084078927, -0.0072814296, 0.0189270601, 0.0029783431, 0.0576441251, 0.0234795418, -0.0296956785, 0.0059215226, 0.0174917765, -0.0607460365, 0.0029614402 ]
http://arxiv.org/abs/2401.06373v2
http://arxiv.org/pdf/2401.06373v2
How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs
2024-01-12T16:13:24
2024-01-23T22:46:12
Yi Zeng, Hongpeng Lin, Jingwen Zhang, Diyi Yang, Ruoxi Jia, Weiyan Shi
cs.CL
cs.CL, cs.AI
Most traditional AI safety research has approached AI models as machines and centered on algorithm-focused attacks developed by security experts. As large language models (LLMs) become increasingly common and competent, non-expert users can also impose risks during daily interactions. This paper introduces a new perspective to jailbreak LLMs as human-like communicators, to explore this overlooked intersection between everyday language interaction and AI safety. Specifically, we study how to persuade LLMs to jailbreak them. First, we propose a persuasion taxonomy derived from decades of social science research. Then, we apply the taxonomy to automatically generate interpretable persuasive adversarial prompts (PAP) to jailbreak LLMs. Results show that persuasion significantly increases the jailbreak performance across all risk categories: PAP consistently achieves an attack success rate of over $92\%$ on Llama 2-7b Chat, GPT-3.5, and GPT-4 in $10$ trials, surpassing recent algorithm-focused attacks. On the defense side, we explore various mechanisms against PAP and, found a significant gap in existing defenses, and advocate for more fundamental mitigation for highly interactive LLMs
[ 0.0624218583, 0.0617769547, -0.0082821939, 0.0028933494, -0.0218849834, -0.0209506042, 0.023347605, -0.0036308556, 0.0686204582, -0.0095246574, -0.0191332381, -0.0053105415, 0.0330964029, 0.0039199772, 0.0573663116, -0.0324811488, 0.0173314139, -0.0316163972, 0.0381137021, 0.0187092479, 0.0409692824, -0.0029411996, -0.0004769765, 0.0530087315, -0.0016191003, -0.0343344621, -0.0272893645, 0.0104888193, 0.0186618138, -0.0538964272, -0.009541275, 0.0324248299, 0.0104882428, 0.0137444073, 0.0000020096, -0.0428495817, 0.0180093292, 0.0121819153, -0.050138291, 0.0367319174, 0.0435901769, -0.0417758115, -0.0299745426, 0.0248137489, -0.056914106, 0.0517894551, 0.0307215638, 0.0663611367, 0.0666503832, 0.0764109045, -0.0113549363, 0.0104467385, 0.0588894412, -0.0069304621, 0.0064217439, -0.0678005666, -0.0043030391, -0.0404342301, -0.0046281773, 0.0234709252, 0.0367853008, -0.0073257154, 0.0163033362, -0.0140132662, -0.0551426969, 0.0075804391, -0.0216177609, -0.0251104776, -0.0053282361, 0.0501711667, -0.0160312466, -0.0162980072, 0.0169065557, 0.0297723133, 0.0516603217, 0.0329513066, -0.0214164965, 0.0138283735, -0.0225745011, -0.0264647994, -0.0007408374, 0.0092426436, 0.0615300164, 0.0336958393, -0.0027728744, 0.0122548984, -0.0157728791, -0.0188746657, 0.0365602188, -0.0501857996, 0.0276852883, -0.0461767018, 0.0093007013, 0.000440211, -0.0271704309, 0.0029323522, -0.058152128, -0.0092140427, 0.0277722832, -0.0629034564, -0.0002843023, 0.0098708197, 0.0050774929, -0.0034546566, 0.0246926211, -0.0219686087, -0.0135991536, 0.0341351889, 0.0279800892, 0.018329205, -0.0321204551, -0.0283828992, -0.0036998326, -0.0072292062, 0.0372528285, 0.0170381665, -0.0409819894, 0.0402972512, -0.0654119849, 0.0326405428, -0.0571029112, 0.0051526185, -0.0083939573, 0.0000537265, 0.0074122599, -0.0321990997, -0.0451766625, -0.0061905459, 0.0197712276, -0.0795962662, -0.0289045032, 0.0264750123, -0.0597661249, -0.0037853487, -0.0184905622, 0.1008271053, 0.0077370154, -0.0178055596, -0.0734169856, -0.0753739774, -0.0290233791, -0.0215396415, -0.0026627297, -0.0470202751, -0.0027223891, -0.010158374, -0.0006097462, -0.0794110149, 0.0017346094, -0.0160854887, -0.0176738687, 0.0696384981, 0.0099040428, -0.0139456326, 0.0266281627, 0.0756756514, -0.004858756, 0.0245210342, 0.0131835537, 0.0886778384, 0.0388014354, 0.0069702747, 0.0975258574, 0.037654154, 0.0068733967, 0.0103422571, 0.0207445771, -0.0261683073, -0.0204128884, -0.017118644, -0.012491852, 0.0287456438, -0.0074554482, -0.0147363218, 0.0920936167, 0.0527302772, -0.0698147491, 0.035968747, -0.0204096977, 0.0044939104, 0.019584721, -0.0177126508, -0.0494020693, 0.0113894204, -0.0904740766, -0.0390676893, -0.0061535994, 0.0199553147, -0.0289892964, -0.0023055854, 0.0176560506, -0.028251091, 0.0228806101, 0.0302909687, -0.0036879086, 0.0359245166, 0.0059122061, -0.0184059422, 0.0194890462, -0.004602618, -0.0489545166, -0.0905389041, -0.0201597661, 0.058313217, 0.0212019272, 0.0170148257, 0.0209637098, -0.0212113913, 0.0105362488, 0.0334445983, 0.0136159174, -0.0044854037, -0.0219637472, 0.0010882927, 0.0091014234, -0.0186374299, 0.0102159847, 0.0365670621, -0.0190175492, -0.0051732836, 0.0000818254, -0.0114463931, -0.0545134582, 0.0112839416, 0.0343012325, -0.0294708461, -0.0203801487, 0.0367888846, 0.0341632217, 0.0356943458, 0.0056772833, 0.01440793, 0.0599181801, -0.022212876, 0.0096290065, 0.0144821731, -0.0248179585, 0.0454856679, 0.0165685639, -0.0369837396, -0.0173589457, 0.0473523214, -0.0283385906, 0.0283396952, 0.0789618194, -0.0579613894, 0.0351235233, 0.012126199, 0.0024829814, 0.016524028, -0.014777774, -0.0036753342, 0.0164756011, -0.0045428919, -0.0711391643, 0.0125897825, 0.0068013286, 0.0135781951, -0.0112531772, -0.0206496976, 0.0124488184, -0.0355202667, 0.0317184366, 0.0264089014, -0.0059015569, -0.0376415923, -0.0048421877, -0.0672941729, -0.0661024898, -0.0319297835, 0.0174714215, 0.0416119657, 0.0040195771, -0.0130007798, -0.0193850957, -0.0358985066, -0.0243218187, -0.0202992298, 0.0193034112, 0.0175291337, -0.022539299, -0.0530854762, -0.0181920826, 0.0156022701, -0.0063265641, 0.0231710039, 0.0075722407, -0.0367914177, 0.0073178727, -0.0073769377, -0.0241703987, -0.0126129622, -0.041161526, -0.0366462767, 0.0715966597, 0.0242934506, 0.0068317987, 0.0606744848, 0.0480394624, 0.089607738, 0.0541035123, 0.0520910807, -0.0581231378, -0.0323827267, 0.041259896, -0.0312044118, -0.030023206, -0.075394243, 0.0377332717, 0.0242549777, 0.0465707183, 0.0488551743, -0.0154893417, 0.0688069388, 0.0157499164, -0.0483790487, -0.0212989412, -0.0418796539, -0.0301609822, 0.0371718891, -0.0050894348, -0.0738743022, 0.0717615411, -0.0350181349, 0.0031536482, 0.0196778551, -0.0693082213, 0.022777589, 0.067628853, -0.0391616449, 0.0042611901, 0.0518998429, -0.0140475174, -0.0278741028, -0.0621042773, 0.0016645037, -0.0252787881, 0.0104143405, -0.045188684, -0.0020365096, 0.0535095632, -0.022012949, -0.0462195687, -0.0658055916, -0.0668609589, -0.0324023217, 0.0159157198, -0.0613169484, -0.0104215061, -0.0557678752, 0.0499832928, -0.0186175983, 0.0213639066, -0.0284016822, -0.0204743315, -0.0277180802, 0.0267057437, -0.0128539093, -0.0110810297, -0.0076243104, 0.0520698167, 0.0767280534, 0.0256544072, -0.016499158, -0.0258025229, -0.0193003062, -0.0015266965, 0.0209943205, 0.0175319072, 0.0306182522, 0.0426618271, -0.0029675665, 0.0036472417, 0.0290912744, 0.0116237681, -0.0145573383, 0.0407938622, -0.0085476357, 0.0516230054, -0.0150969895, 0.0195044763, -0.0607106201, -0.0236360151, 0.0154406624, 0.0784938633, -0.0463010594, 0.0150809307, -0.0253149346, -0.0567305014, 0.0098867659, 0.0300017316, 0.0139157735, -0.00053851, -0.0326667465, -0.0392367728, 0.0005538856, 0.0371327624, -0.0432544686, 0.0098447474, 0.0108461687, 0.0066923317, -0.0626156628, -0.0097592659, 0.0158038363, -0.0281859096, 0.0721504912, 0.0984131172, 0.0115067493, -0.0360208526, -0.0177413188, 0.0432406738, 0.0349616371, -0.0005414978, 0.0029827082, 0.0283370856, -0.0079459669, 0.0120738586, -0.021430077, 0.0471417345, -0.0051390389, -0.0435234234, 0.0608358346, 0.032937523, -0.0321193598, -0.0333771743, -0.0086624958, 0.0130647412, 0.0441233292, 0.0429460667, 0.0270529874, -0.0367810726, -0.00483263, -0.0809552893, -0.013471161, -0.0020540948, -0.0662381724, -0.0237065516, 0.0150180543, -0.0341383144, -0.0414019376, -0.0381429344, -0.0170452595, 0.0155020114, 0.0406382643, -0.031498123, -0.0203525349, 0.0441853628, 0.0215939712, 0.0151842078, -0.0115303965, 0.0534025356, -0.0449709669, 0.0049727703, -0.0289492682, -0.0460915901, 0.0143713877, 0.0215809047, 0.0099697858, -0.0614785291, 0.0105562871, 0.0537313931, 0.0255780015, 0.003670817, -0.037340343, -0.0562100261, 0.068847999, 0.0811270773, -0.0385232903, 0.0125110717, 0.0972625017, 0.0153990677, 0.0113836788, 0.0061264066, -0.0090799453, -0.0102945128, 0.0367508605, -0.0065671965, -0.0894175768, -0.0128835402, 0.0452040173, 0.0481695347, 0.0026690033, -0.0192738306, 0.0033991265, 0.0441959202, -0.016218517, 0.0213449188, -0.0166544095, 0.0197844505, -0.0002382208, 0.0081041995, -0.0323066153, 0.0451747142, 0.0216780994, -0.0381776169, -0.0114466054, 0.0109249242, 0.0295226369, -0.0109543866, 0.0835352018, 0.0158814173, 0.0158272963, 0.0061256387, 0.0813827142, -0.0174231213, 0.0402923897, 0.0192749351, 0.0430486016, -0.0204757564, -0.0154310325, -0.009431907, 0.0579031706, -0.074030675, -0.0839726925, 0.0491000935, 0.071942918, -0.0114161326, 0.0445745178, 0.006906366, -0.0125724589, 0.0212836452, -0.0288570598, 0.0028072149, -0.0035477476, -0.0347473212, 0.0089022284, -0.0106189651, -0.0311808679, 0.0183795523, 0.0345216617, -0.0559741892, 0.0501829349, 0.016958002, -0.0211041328, -0.0260402523, -0.0298249424, 0.0634720474, 0.0323615037, -0.0318589583, -0.0661788434, -0.078872934, -0.0499497689, -0.0384765565, 0.0033735612, 0.011998645, -0.0356911831, -0.0140387518, 0.0433328822, -0.019434737, 0.0372271873, -0.0458834916, 0.0243046824, -0.0094935959, -0.0516569875, -0.0070533114, -5.557794229e-33, 0.0425484367, -0.0719159916, -0.0460813232, -0.0165308602, 0.0020254008, -0.0222563297, -0.0151409339, 0.0423522405, -0.0405088365, 0.0062746918, -0.0160925668, 0.0172045305, -0.0013241266, -0.0250403062, -0.0270121712, -0.0498379543, 0.0096027823, -0.0151555743, -0.0164906979, 0.0501967594, 0.0410477072, -0.0051440257, -0.0365113802, -0.0989012048, 0.1105916873, -0.0118669774, -0.0538967811, -0.0199669115, -0.0169497877, 0.0161319859, 0.0076796631, 0.0307480954, -0.0034585404, 0.0085352948, 0.0071452348, 0.0972776264, 0.0349711925, -0.0129109779, 0.0352906883, -0.0356327258, -0.0027910538, -0.0625097081, -0.0097678211, -0.0279992409, -0.0306518581, 0.016713025, -0.016567884, 0.0037994892, 0.0082905376, -0.0064043463, -0.0187236108, -0.0142543791, -0.0469763316, -0.0284146797, -0.0277742147, 0.0461843088, -0.0098240431, -0.0113678686, -0.0422989242, 0.0471130013, 0.026153801, -0.0300953966, 0.0401320048, -0.0253265295, -0.0387725979, 0.0532571115, 0.0013995537, -0.01446243, -0.0394312143, -0.0212626774, -0.0100891767, 0.0616950803, 0.0478736646, 0.0611404404, 0.0211681947, -0.0387706831, -0.0503185801, 0.0166577417, 0.0558122359, 0.0051291622, 0.0160600822, -0.0254093315, -0.0775105059, -0.0221124943, 0.001655521, -0.0430654399, -0.0228052735, -0.0688303784, -0.0007734745, -0.0125926202, -0.0361887813, -0.0370469838, -0.029011976, -0.0581242479, 0.0168621503, 0.0047801146, 0.0176459141, -0.0125538409, -0.0029614128, -0.0106649641, -0.0039321906, 0.0169481058, 0.0030363232, -0.0198813509, 0.0524864979, 0.0008003929, 0.0623569377, 0.0296445675, -0.0203150697, -0.0308343936, -0.0174495503, 0.0393097326, 0.0115906717, -0.0190552585, 0.0091007873, 0.0131874131, -0.002417715, -0.0114850374, 0.0005002574, -0.0173687935, -0.0344357975, 0.0385822244, -0.0652302876, 0.027047025, -0.0214359816, -0.0008403944, -0.0327229537, 0.0033090229, 0.0434806049, -0.0619688481, -0.004451117, -0.0731484741, 2.741e-7, -0.0582991615, 0.003813962, 0.0003933391, 0.0163305011, 0.0179182477, 0.0822237134, -0.0057163774, 0.0798469782, -0.0170099176, -0.0771316662, -0.0057083368, 0.018228, 0.0617893003, 0.0155338868, -0.0308278576, -0.00024195, -0.0519356765, -0.0159230419, -0.0570678785, 0.0343094468, 0.0862780586, 0.0474852286, 0.0034383833, -0.0365321189, 0.0088595292, -0.0281501971, 0.0026600864, -0.0491583273, 0.008599611, -0.0290045626, 0.0445779227, 0.0116116712, 0.0271079112, 0.0439673997, -0.0202560853, -0.0599461831, -0.0664101094, 0.055647213, 0.0121567156, -0.0193366408, -0.0357216336, -0.0185712185, 0.0108100353, -0.0169248153, 0.0406747051, -0.0207853541, -0.0554896668, 0.001740612, 0.0232560374, -0.0272377469, 0.0006096126, -0.028730087, -0.0145380665, -0.026061587, 0.0295993406, 0.0066161659, 0.0315421298, -0.0316171385, 0.019676175, 0.000147312, 0.011830437, -0.0586196631, -0.0087124091, 0.0427936278, 0.0394741781, -0.0079536857, 0.013040998, 2.165651125e-34, 0.0152358981, -0.0047375159, 0.0172984656, 0.0115796896, 0.0483848862, 0.0459634736, 0.0542985722, 0.0204696748, 0.0473035723, -0.0345660634, -0.0121166613 ]
http://arxiv.org/abs/2401.06665v1
http://arxiv.org/pdf/2401.06665v1
PolyTOPS: Reconfigurable and Flexible Polyhedral Scheduler
2024-01-12T16:11:27
2024-01-12T16:11:27
Gianpietro Consolaro, Zhen Zhang, Harenome Razanajato, Nelson Lossing, Nassim Tchoulak, Adilla Susungi, Artur Cesar Araujo Alves, Renwei Zhang, Denis Barthou, Corinne Ancourt, Cedric Bastoul
cs.DC
cs.DC, cs.CL, cs.PF
Polyhedral techniques have been widely used for automatic code optimization in low-level compilers and higher-level processes. Loop optimization is central to this technique, and several polyhedral schedulers like Feautrier, Pluto, isl and Tensor Scheduler have been proposed, each of them targeting a different architecture, parallelism model, or application scenario. The need for scenario-specific optimization is growing due to the heterogeneity of architectures. One of the most critical cases is represented by NPUs (Neural Processing Units) used for AI, which may require loop optimization with different objectives. Another factor to be considered is the framework or compiler in which polyhedral optimization takes place. Different scenarios, depending on the target architecture, compilation environment, and application domain, may require different kinds of optimization to best exploit the architecture feature set. We introduce a new configurable polyhedral scheduler, PolyTOPS, that can be adjusted to various scenarios with straightforward, high-level configurations. This scheduler allows the creation of diverse scheduling strategies that can be both scenario-specific (like state-of-the-art schedulers) and kernel-specific, breaking the concept of a one-size-fits-all scheduler approach. PolyTOPS has been used with isl and CLooG as code generators and has been integrated in MindSpore AKG deep learning compiler. Experimental results in different scenarios show good performance: a geomean speedup of 7.66x on MindSpore (for the NPU Ascend architecture) hybrid custom operators over isl scheduling, a geomean speedup up to 1.80x on PolyBench on different multicore architectures over Pluto scheduling. Finally, some comparisons with different state-of-the-art tools are presented in the PolyMage scenario.
[ 0.0019639614, 0.0628886968, -0.0405874699, 0.0429854542, -0.0438833088, 0.0068130526, 0.0575119853, -0.0480517372, 0.0144762732, 0.0085711163, 0.0124088554, 0.0120060435, 0.002845699, 0.0330139957, 0.0108649228, -0.0434648208, 0.0258803796, 0.0090564629, -0.0052586854, 0.0241239704, -0.044850979, 0.0220291391, -0.0095797693, 0.0094179166, 0.0013130354, -0.0096492926, 0.0106884111, 0.063365005, 0.0220858399, 0.0475295745, 0.0381593481, 0.0083399573, -0.041352164, -0.0015528451, 0.0000022677, 0.0238331966, 0.0111638336, 0.0221582688, 0.0062076766, 0.0415158346, 0.0391943306, -0.0196659695, -0.0247636996, 0.0018227461, -0.0023649517, -0.0101675307, 0.0441059656, -0.0001087697, 0.0483541153, 0.0097886426, -0.0171806663, -0.008774654, 0.0188225396, 0.012862145, -0.0456917919, -0.0212542545, -0.0176865291, -0.0566304177, -0.0694191754, -0.0391046964, 0.0283540878, 0.025145296, 0.033436697, -0.0107113225, 0.0103181452, -0.0086568268, -0.0641389191, -0.0534245633, -0.0496805198, 0.0219170488, -0.0843890831, -0.0093594762, 0.028648464, 0.0013839991, -0.0516414754, -0.0808077082, 0.0144630754, 0.0155583322, -0.0194974225, -0.0236054417, 0.0349234603, -0.0026858801, -0.0193259995, -0.0046504145, -0.0105049787, 0.0315502547, 0.0667273998, 0.0368286185, 0.0119794216, 0.0003704251, 0.0103374803, -0.0559033416, 0.0565345548, 0.0280542448, -0.0284213703, -0.0142143695, -0.065308243, -0.0017931729, -0.0254546814, -0.0766996443, 0.053530205, 0.077509895, 0.0227693804, -0.007628344, -0.0357172936, 0.0208726339, -0.0526772477, 0.0016020152, -0.0126000717, 0.0305257179, 0.0039546778, 0.0411652848, -0.0298601687, -0.0035451557, -0.0139538478, 0.0406657234, -0.0388322659, 0.0378047787, -0.0310064647, -0.0101115452, 0.0199578274, 0.0081832698, -0.0056453012, -0.0001316633, 0.0113197053, 0.0161770172, -0.0446854383, -0.0293152891, -0.0598311536, -0.0499955267, -0.0109295817, 0.0419965759, -0.0243055318, -0.0228504129, 0.0073243072, 0.0311953761, -0.042766124, -0.0021298509, -0.0130034834, -0.0454697087, 0.0627645999, -0.0442686342, -0.0109363543, -0.0210265201, 0.0185946021, -0.0475113466, -0.0126779648, 0.0380242579, 0.0026693959, 0.0066145179, 0.0248194449, 0.0214160234, 0.0473360121, -0.0322765261, 0.0332029425, 0.0099955099, 0.0360656679, 0.0428422466, 0.0361283869, 0.0540642813, -0.0364864469, -0.0373118632, -0.0280027185, 0.0174479354, 0.0120873367, -0.0225681961, -0.0007402836, -0.0064459965, -0.0314973705, 0.0280080047, 0.0304702912, 0.0398820862, -0.003435951, -0.0342002995, -0.0249074493, -0.0145045826, -0.0026764774, 0.0420184806, 0.0506196059, -0.0144502744, 0.0026685901, -0.0313610882, -0.0433176979, 0.0674655512, 0.003324643, -0.0334689282, -0.0219498724, 0.1029325053, -0.0020592534, -0.0050273072, 0.0221614037, -0.0069005899, -0.0209756326, 0.0594304763, 0.0088178869, -0.0082961638, -0.0886986181, 0.0591704287, -0.0018442204, -0.0196175613, -0.0705642849, -0.0540398881, -0.0177350678, 0.0392066054, 0.026043402, -0.0177678224, -0.0937901065, 0.0362917744, -0.0130303269, 0.002281813, 0.0235125609, -0.0206124764, 0.0524193682, -0.029962128, -0.0045499941, 0.033902403, -0.0203836355, 0.0673306808, 0.0370530747, -0.0028250243, -0.0165308025, 0.0509507805, -0.0255063213, 0.0002731545, 0.0148841757, -0.0333842672, 0.0382591151, 0.0265392549, -0.0020814843, -0.0116863139, -0.009621718, -0.0544019677, 0.0667542219, -0.0475992188, 0.0182064511, -0.0403706133, -0.0525112078, -0.019446468, 0.0243283287, -0.0354264379, -0.0025453239, 0.0238433704, -0.0512510166, -0.0450989231, 0.0724659115, 0.0302875638, -0.0018094882, 0.0220444296, 0.0037289569, -0.0036857021, 0.0206228942, -0.0686635822, 0.0051684682, 0.0082862014, -0.0292003583, 0.0325769931, 0.0037532763, -0.0037094525, 0.0109160775, 0.0003638996, 0.0252889022, -0.0145507436, -0.0182057228, -0.0014190194, -0.0015920434, 0.0463946313, -0.0596983619, -0.1164404303, 0.0348610505, -0.0358696021, 0.0120275347, 0.029185893, 0.0057785232, 0.0505421013, -0.018312186, 0.0022858221, 0.0457205363, -0.0476810522, -0.0125743942, -0.0191762839, 0.0038898555, -0.0614797547, -0.0197617896, -0.0698208734, -0.0169054084, 0.010357324, -0.0185067635, -0.0131682362, -0.0557630435, -0.0275643766, 0.0359126553, 0.0283043645, -0.0053049023, -0.0024069047, -0.0457920507, 0.0216627773, 0.004051398, 0.0695322677, -0.0246797949, -0.0076841223, 0.0140884658, 0.0316066071, -0.018300198, 0.0654860362, 0.0078617781, -0.022399636, 0.018878106, -0.0260571837, -0.0199746341, 0.0469251275, 0.0011789521, -0.0067544114, -0.0158392582, -0.0096777603, 0.0363566577, -0.0526370145, 0.0337083004, -0.0265541319, 0.0021962551, -0.0015064534, -0.0130503308, -0.0457477681, 0.0268830191, 0.0012813905, -0.0400620028, -0.0327164009, -0.0555380099, -0.0484918691, -0.0046261996, 0.0346022882, 0.0244654045, -0.050217364, -0.0140077248, 0.0026411561, 0.0494361855, -0.0477869809, -0.0034742379, 0.0405406989, 0.0225668736, -0.0068001882, -0.0364564322, -0.0125786224, -0.0221366212, 0.0528888218, 0.006203068, 0.0110076377, 0.0551359877, -0.0398863815, 0.0373394229, 0.0311538987, -0.0328033939, 0.0184860528, -0.0268889945, -0.0156684462, -0.0055534951, -0.016404178, 0.0282933656, 0.0209194794, -0.0451789387, 0.0612124577, -0.0363698937, -0.0316345058, 0.0376103818, 0.0030988646, -0.0733475536, 0.0150884874, 0.0760413185, -0.0049590752, -0.0382949151, 0.0191418976, 0.0189690981, -0.0440683663, 0.0026398185, 0.009583327, 0.0189412534, -0.04274901, -0.022261925, 0.0163617805, 0.0823736191, 0.0448063239, 0.0488283075, -0.0474635586, -0.0194880906, 0.0203618761, 0.0030596144, -0.0276317168, 0.0041780928, -0.0180319659, -0.0194644611, 0.0259264745, -0.0051120911, -0.0577239692, 0.0115762353, -0.0226856899, -0.035226468, -0.0428214483, -0.010977082, 0.0113484329, 0.0302430615, 0.00252288, -0.011886986, 0.0037246048, 0.0264291298, 0.0213878546, 0.0187582001, -0.0099687371, 0.0245634373, -0.0033509419, 0.0129751125, -0.047165785, 0.0184993595, 0.0549639203, 0.0062210159, -0.0477935709, -0.0237784013, 0.0101299314, -0.0195595231, -0.0093154144, -0.0216491856, -0.0092868861, 0.0645007491, 0.0289046057, 0.1114883125, 0.0083917025, 0.0122576524, -0.0658510178, -0.0325125717, 0.0548319928, 0.0233880505, -0.0244530682, 0.0029191412, -0.0668378845, -0.0417788997, -0.0132217603, -0.1459363997, -0.0168703254, -0.0477139205, 0.0004465312, -0.0210846011, 0.0054600034, 0.0605590679, -0.0282687526, 0.0648455694, 0.0284603368, -0.1444041133, 0.0318825617, 0.0087167257, -0.1281107515, -0.0376647934, 0.0239600502, 0.0174171049, -0.0260893945, -0.0452886112, 0.0091658803, 0.0293010231, 0.0220039859, 0.068129912, -0.0923237279, -0.0252959598, -0.0137986587, 0.059473671, 0.0064544589, 0.0111719994, 0.0222221278, 0.0070341076, 0.0360430665, 0.0254318174, 0.0237806458, 0.0287954174, 0.0228291843, -0.0621554554, -0.009511169, 0.0015240021, -0.0346370824, 0.0427279025, 0.0051869121, -0.0171321109, 0.0271242093, -0.018081706, -0.0623970591, 0.0188019294, -0.0096521154, 0.0146235265, -0.0260099266, 0.0139923813, 0.0361640677, 0.0103130033, 0.0414667316, -0.0616956316, 0.022648599, 0.0006121104, 0.0005288523, 0.0013761842, -0.0055627408, 0.0525913425, -0.0015930569, 0.0197258182, -0.0002082283, -0.0215367731, 0.0273713451, 0.0047576921, 0.0265701003, -0.0052466732, 0.0391086601, 0.0159427244, 0.024045391, -0.0273852628, -0.0565767251, -0.0131563339, 0.0508596599, -0.0653968081, -0.0110599799, 0.0012429809, -0.0633295253, -0.0427226797, -0.0399781093, 0.0367249921, 0.0325570926, 0.0087681189, -0.0094977207, -0.0104363589, 0.0076810806, -0.0142153054, -0.0074864915, -0.0089976899, 0.0152868964, 0.0154592991, 0.0056932317, -0.0532186888, 0.0297407974, 0.0040473873, 0.0317679308, 0.0204562023, 0.0098304413, -0.0307415258, -0.0575048514, -0.0460954495, 0.0382703319, 0.0272399951, -0.0394884534, 0.0039211577, 0.015145787, 0.0236929841, 0.0126646347, 0.0354449935, -0.0399364866, 0.0295170844, 0.0309460275, 0.0095973751, -0.0503107198, 0.0008473155, 0.027647147, 0.0216216594, 0.000093253, -0.0078410609, -6.303105769e-33, -0.0189718492, 0.006670916, 0.023042189, 0.0103339283, -0.0363285057, 0.0124189965, -0.0311139338, -0.0184135269, -0.0011211028, -0.009543567, -0.0029920537, -0.0200700574, 0.0219677463, -0.0136511587, 0.0276677981, 0.0415320285, 0.0545972735, 0.0082188779, -0.0377585515, 0.0525435172, 0.0037822905, 0.0302931331, 0.0006879502, 0.006878648, -0.1016933918, 0.0664574876, 0.0721433908, 0.0045669582, 0.0012873041, -0.0243765004, 0.0001551044, 0.0075826277, -0.0367329642, -0.049550578, -0.0030467031, -0.0108316774, -0.0641204715, -0.0445795879, 0.0468797944, 0.0450283512, -0.0419234261, -0.0724696666, 0.0628944039, 0.0475316904, -0.0472593531, -0.0177044589, -0.0396504514, 0.0407711789, -0.0177047905, -0.010238017, -0.0516126975, 0.0181245077, 0.0184901115, 0.0464621782, 0.0479898304, -0.0330132917, -0.0377049781, 0.0064162714, -0.0255899373, 0.0064566974, -0.0325124152, 0.0489200875, 0.0859752074, 0.0153343529, 0.00495078, -0.0000975647, 0.1071643233, 0.0505332686, -0.0451766402, 0.0478963889, 0.0550769381, 0.0061351964, -0.0084009431, 0.0033012212, 0.0650712177, -0.0241598226, -0.0131023694, -0.0381565392, 0.0310696829, -0.023271298, 0.0045613786, 0.0014798102, -0.0016717212, -0.0431295261, 0.00744334, 0.0282049943, -0.0294847637, 0.0275984928, -0.0177357402, 0.0314670205, -0.032540042, 0.086517483, 0.0162753966, 0.0202842224, 0.0993868187, 0.0766543671, 0.0105781592, 0.0174136553, 0.0589721985, 0.0205255132, -0.0134674963, -0.0414224565, -0.0167440232, -0.0280160401, 0.0849946514, -0.0001801569, 0.0026113328, 0.0508440845, -0.0280318446, -0.0011884081, -0.0717034191, 0.0152737563, 0.0071907542, 0.0457036979, -0.0203826893, -0.0082495948, 0.01402527, 0.0050613075, -0.0206857659, -0.0047053522, -0.0275876783, 0.0245490652, 0.0331391208, 0.0388594829, -0.0311615709, -0.0010260422, -0.002802135, -0.014392402, -0.0606768876, -0.0795415565, -0.0514662676, 0.0054945429, 3.033e-7, -0.0658931434, 0.0696956888, 0.0068737422, 0.0348856896, 0.0275077578, -0.021144554, 0.0634094626, 0.0206309035, -0.0331349708, 0.0399340875, 0.0163953695, -0.0076506906, 0.0169290192, 0.0175867807, 0.031185085, 0.0267220289, 0.0491285846, 0.0763210282, -0.0439147688, -0.0137919197, 0.0103950435, 0.0459178872, 0.0155927772, -0.0380000286, 0.0615432188, 0.029935129, -0.061258845, 0.0508876406, 0.0349718295, -0.0165611152, -0.0116631398, 0.0443869866, -0.047589466, -0.0015779607, 0.0185247771, -0.0096969856, -0.0241353307, 0.1018605903, -0.0115689784, -0.0210803952, 0.0441901051, -0.0346404836, -0.0242114831, -0.0120116584, 0.0360802077, 0.048868902, -0.0276029222, -0.0780034289, 0.0391765349, -0.0273503922, -0.0012694194, -0.0202599168, 0.0458274335, 0.029938506, 0.0171212088, -0.0474326983, -0.042541638, -0.0339895822, -0.0062748957, 0.0377765596, -0.0358508304, -0.0102402512, -0.0538515411, 0.0227631014, 0.0294662174, 0.0128860623, -0.0000795482, 3.42684682e-34, 0.0300283581, -0.0035366381, 0.0022929711, 0.0406201594, 0.0135130575, -0.0122467596, -0.0320980772, -0.0264113788, -0.0329249315, -0.0312429983, -0.0731218234 ]
http://arxiv.org/abs/2401.06659v2
http://arxiv.org/pdf/2401.06659v2
WisdoM: Improving Multimodal Sentiment Analysis by Fusing Contextual World Knowledge
2024-01-12T16:08:07
2024-02-20T09:28:50
Wenbin Wang, Liang Ding, Li Shen, Yong Luo, Han Hu, Dacheng Tao
cs.CL
cs.CL
Sentiment analysis is rapidly advancing by utilizing various data modalities (e.g., text, image). However, most previous works relied on superficial information, neglecting the incorporation of contextual world knowledge (e.g., background information derived from but beyond the given image and text pairs) and thereby restricting their ability to achieve better multimodal sentiment analysis (MSA). In this paper, we proposed a plug-in framework named WisdoM, to leverage the contextual world knowledge induced from the large vision-language models (LVLMs) for enhanced MSA. WisdoM utilizes LVLMs to comprehensively analyze both images and corresponding texts, simultaneously generating pertinent context. To reduce the noise in the context, we also introduce a training-free contextual fusion mechanism. Experiments across diverse granularities of MSA tasks consistently demonstrate that our approach has substantial improvements (brings an average +1.96% F1 score among five advanced methods) over several state-of-the-art methods.
[ 0.012418475, 0.0904472545, 0.0236487463, 0.0676501244, -0.0262320563, 0.0180420764, -0.000898774, -0.0173830129, 0.0028551409, -0.1150400713, -0.0445261411, -0.0257366765, -0.0004469217, 0.036782641, 0.0528855547, -0.0461633727, 0.010342963, 0.0046625333, -0.0066423658, -0.0085592279, 0.0511370376, 0.0099481177, -0.0091191456, 0.0367315561, -0.0412976705, -0.0422083139, 0.0229290277, 0.0209338069, 0.0455239415, -0.0292691793, 0.0017348393, 0.0167232417, 0.0392013155, 0.0136972684, 0.0000019076, -0.0141595304, 0.0365697108, 0.0045092488, 0.0716326982, -0.0237312801, 0.0680125952, -0.0432508774, 0.0212022662, -0.0221048351, -0.0486765914, -0.0044389763, 0.0595295094, 0.0548548587, 0.0699386597, 0.0205341633, -0.0438485034, -0.0138647063, 0.0043521146, -0.0081734015, 0.0334015079, -0.0442497246, 0.0007383954, 0.0072587109, -0.0120965922, 0.0065452703, -0.0641167611, 0.0468346775, -0.0138102407, -0.01584539, 0.0105082868, 0.0299949851, 0.0134519888, -0.0218354743, -0.0374480858, 0.0891164243, -0.0117742019, 0.0033741938, -0.0533837564, -0.0006213242, -0.0393075123, -0.0288566202, -0.0329715461, 0.0383872651, 0.002847966, 0.0184089504, -0.0624763221, 0.0210249722, 0.0161143746, 0.0013485322, -0.0001764777, 0.0037733871, -0.0079515912, 0.0099928994, 0.0119450595, 0.0520573631, -0.0340344869, 0.0016554844, -0.0501346476, -0.0091327615, 0.0229619332, 0.0018539493, 0.0086917235, 0.0067477915, -0.0005661059, -0.0588795431, 0.008712302, -0.0023662485, -0.0652117208, 0.0749873295, -0.0118210986, -0.012999515, -0.02118049, 0.0160694942, -0.0212460812, -0.0392904803, -0.0606025308, 0.0124856476, 0.0477969572, -0.0091856299, -0.0701133013, -0.0738820061, -0.0469148383, 0.0048978631, -0.0469525047, 0.0012144026, -0.0077715786, 0.024753321, 0.0291310791, 0.0168157555, -0.0284625012, 0.0546735339, 0.0175858196, 0.0335222967, -0.0589765981, -0.0329899192, 0.0222223941, 0.0619116761, -0.0091986796, -0.0137710832, -0.0010724142, 0.0685223341, -0.0165833384, -0.0301959198, -0.0181420054, -0.0023925744, -0.0553934462, -0.0497612506, 0.0425434709, -0.047811728, 0.0300864577, -0.0036104305, 0.0206249245, 0.0105100907, -0.0034536654, -0.0101432148, -0.0293725207, 0.1231356487, -0.0162540767, -0.0221824404, -0.0079799173, 0.0096813366, 0.0193821508, 0.0590066276, -0.0104663419, 0.0488127246, 0.0342908762, 0.0062306598, -0.0051838211, 0.0200343356, -0.0119144162, -0.0065172398, -0.0584780276, 0.0016653186, -0.0328796804, -0.028728921, 0.0190197397, 0.0452997684, -0.0123070236, 0.0105710905, 0.0419434421, 0.0140000582, 0.0050650733, 0.0018519154, -0.0041085598, -0.016103467, 0.0018195986, -0.0464731082, -0.0556990653, 0.0520919636, -0.0268718246, -0.0003818343, 0.0373527668, 0.0528635904, -0.0296470597, -0.0168387536, -0.002650765, -0.0506497063, 0.0287933815, 0.0289129168, 0.0297357291, 0.0007375251, -0.0429480746, -0.0223453362, 0.0737479106, -0.0466157943, -0.0169768222, -0.0054892721, 0.0223210938, 0.0738504902, 0.0172655769, -0.0162548386, 0.0028901992, -0.0097838314, 0.0231391583, 0.0334703438, -0.0213495456, 0.0067367158, 0.0502768978, -0.0618533082, -0.0712364614, -0.0134048825, -0.0084773703, 0.025742704, -0.0114824753, 0.0159646142, 0.0104981009, -0.0006285085, 0.0249092989, -0.0012249147, 0.0511665456, 0.0055776681, -0.0232076589, 0.036489483, 0.0145146465, 0.0174722485, -0.027398495, -0.0191529151, 0.0132402331, -0.0443189405, -0.0349991135, 0.0619806908, -0.0326346867, -0.0573003478, 0.0295759905, -0.0535447896, -0.0124410931, 0.0033384606, -0.0330043435, 0.0121472199, 0.0108536296, -0.0136507042, 0.018584175, -0.049560912, -0.0361607596, 0.0086997589, 0.020546345, -0.0142929917, 0.0483110286, -0.0229834877, -0.0279768296, -0.0194171499, 0.0236603878, 0.0135003906, 0.0381697863, -0.0475536063, 0.0049801525, 0.02262781, 0.0481658019, 0.0198068731, 0.0191277377, -0.0302375313, -0.0078602955, -0.1485984027, -0.0458884388, -0.0089186728, -0.0314007252, -0.0185942538, 0.012199373, -0.0029160925, -0.0379146896, -0.036574319, 0.0275553185, -0.0008288465, 0.0314070843, 0.0308817942, 0.0332534462, 0.0662855804, -0.0428745002, 0.0167765114, 0.0019227118, 0.0707832947, -0.000564334, -0.0428230837, 0.0132587962, 0.0150079429, -0.0550778136, 0.0679744706, -0.0359318815, -0.0259981677, 0.0165809914, -0.043752186, 0.0347516499, 0.0152035924, -0.0005639698, 0.0145002631, 0.0153010804, -0.0243157409, -0.0247291215, 0.0217484441, -0.00322788, -0.0012123738, -0.0114406962, -0.0064864913, -0.0425565504, 0.0242862273, 0.0111725014, 0.0013545629, -0.0458292738, 0.0235767644, 0.0282498486, -0.0696613565, -0.0565388128, 0.0137098841, 0.0243025869, -0.0201235749, -0.0220319871, -0.050051447, 0.0297627505, -0.0326375104, -0.0295266379, -0.02021599, -0.0087870248, -0.0519083738, 0.0697403401, -0.005827155, 0.0352147222, -0.0256023724, 0.0461171977, -0.0097107897, -0.0489123911, -0.0096578868, 0.016078366, 0.0589741617, -0.0108688185, 0.0240468439, 0.0085279513, -0.0446231663, -0.0246783141, -0.0387017317, -0.0588095039, -0.0366154425, -0.0261534192, -0.0196988638, 0.0073962375, 0.0113481758, 0.0329600945, -0.0345145687, 0.0114080077, -0.0298261791, 0.0129596591, 0.0382783785, 0.0602510124, -0.0041020894, -0.0093563711, -0.0336542167, -0.0156974401, 0.0467652269, 0.0047838828, -0.0118433656, -0.0527224056, 0.0065602781, 0.0061772447, 0.1055736095, -0.0018497079, -0.0393497683, 0.0458672456, 0.0072956006, 0.0600540265, 0.0996409431, 0.0139240539, -0.0659809783, -0.0241724942, 0.0154345166, -0.0003925235, 0.033896938, -0.0027277318, -0.0408837348, -0.0828986913, -0.065149121, -0.0289343782, 0.0403544903, 0.0085063512, -0.0281432066, -0.0710451826, 0.0203920342, -0.0100772521, -0.0187716801, -0.0527378954, 0.0204949435, -0.0004752628, -0.031740658, -0.0136418892, -0.0610647984, -0.0187682118, -0.0004552043, -0.0279832128, 0.0043163029, -0.0397704318, 0.0264806747, -0.0415408276, -0.0178615116, 0.0460233316, 0.0382414609, -0.0096743582, -0.0556091666, 0.0111455657, 0.0044749053, 0.0173186269, -0.0281971358, 0.0575637557, -0.0605810508, -0.0456739925, 0.0019417221, -0.0116099427, -0.0195579808, -0.0071899397, -0.0202519149, 0.011369626, -0.0195125584, -0.0079283388, -0.0564025939, 0.0490606613, 0.0343407914, 0.0383422896, -0.0204496179, -0.0660063401, -0.0054817642, -0.0113154445, -0.0106986118, -0.021265788, -0.0173358209, -0.000392161, 0.0023372923, 0.0080741746, -0.0619484931, -0.0254232008, 0.0212371033, 0.0395873971, -0.0295182988, 0.0190553125, -0.0309051741, 0.0268586427, -0.064640969, 0.0497375056, -0.0026079826, 0.0418524593, 0.0018159962, 0.0184207931, 0.0500237904, -0.0230230913, -0.0185209941, 0.027062472, -0.0616634376, -0.0242813397, -0.0651687756, 0.0765001774, 0.0061577559, 0.0026621954, 0.029959349, -0.0144838998, 0.0429196283, 0.085320048, -0.0063493028, 0.0341036655, 0.0339122899, 0.0466379933, 0.0128773879, 0.0145745259, -0.0343809053, 0.0439329185, 0.0006604103, -0.0139562432, -0.0128577426, -0.0360112414, -0.0151438629, -0.0312605985, 0.0413328111, -0.0303430334, -0.0069369129, -0.0354020186, -0.025842648, 0.0033407251, -0.0109620634, -0.0768224224, -0.0010965784, -0.0116052255, -0.0024984435, -0.0222466439, 0.0290607214, 0.001657423, 0.0217318274, -0.0457774587, 0.0459390506, 0.0704956353, -0.0108463997, 0.0077285226, 0.0335834362, 0.0241290443, 0.0014436869, -0.0162115041, -0.032535553, 0.0136270346, 0.0508918688, 0.0141435442, -0.0356717519, -0.0269524697, 0.046891626, -0.0159373414, 0.0059019243, -0.0244562421, 0.0395085625, 0.0553498827, -0.0083477544, 0.0261345673, -0.0112949545, 0.0078825597, -0.0155805321, 0.0187274385, -0.0217742026, -0.0150781069, 0.0547047369, 0.0034612194, -0.0045464174, 0.0081784045, 0.0496346131, -0.030823281, 0.0172430705, 0.0208314545, 0.0145861339, -0.0572834648, -0.0210974738, 0.0874894112, 0.0300433226, 0.0113913678, 0.0795532688, -0.0460868068, -0.0679220781, 0.0589723513, -0.0212656073, -0.0322928205, 0.054190211, 0.0256748125, 0.0386456661, 0.0251284745, 0.0420175865, -0.0385102704, -0.011486372, -0.0166012086, 0.0009229879, 0.0243405327, -5.694927032e-33, -0.009916788, -0.0410207771, -0.0006106324, 0.0023981493, -0.0110200113, 0.0337098464, -0.0215226933, 0.0091466177, -0.0018195065, 0.0362487622, 0.0460724607, -0.0063630552, -0.0099016549, 0.0420186557, 0.0124276401, 0.0212661438, 0.0265929829, 0.0313076191, 0.0308765229, 0.0105104856, 0.0555134453, 0.0256999731, 0.0464387164, -0.0974332839, 0.0344216935, 0.0094444472, -0.0587771125, 0.0092272963, 0.0530097671, 0.0488182046, -0.0418299511, 0.0704411939, 0.0245368686, 0.0297989026, -0.0393174626, 0.0443591736, -0.0299714208, 0.0093320301, 0.036588598, -0.0012913443, -0.0698838681, 0.0257600043, 0.0176285896, -0.0145978415, 0.0085255615, -0.031798996, 0.053683348, -0.0133595718, 0.0174642727, -0.036374148, -0.0679866523, 0.0126594314, -0.0056891795, -0.0279072616, 0.0387828909, 0.0169904176, 0.0492007881, 0.065469034, -0.0512681343, 0.0488945991, -0.0475345068, -0.0399570502, 0.0439789817, 0.022782512, 0.0006562491, 0.0923674628, 0.0078930333, -0.0316308476, -0.0248009954, 0.0162350833, 0.0169121623, 0.0594822764, 0.0294291191, 0.1046797633, -0.0195095763, 0.0060933172, -0.0327046886, 0.0164245628, -0.0091912569, 0.0127091054, 0.0232203249, 0.018056564, 0.005334869, 0.0138833178, 0.0032703537, -0.0077721956, -0.0480545349, 0.0106941955, 0.0281132031, 0.0035214366, 0.0046947668, 0.0233167354, 0.0405022725, -0.0673383772, -0.0161201637, 0.059162505, -0.0194755755, 0.0452680923, 0.0113308653, 0.0128469439, -0.0350351073, -0.0104197413, 0.0386088528, 0.0203070659, -0.0107650422, -0.0165273156, 0.0464630276, 0.0314484276, -0.0580287576, -0.0242629424, -0.0229585562, 0.0320202783, -0.0261643566, 0.0485064201, -0.0134698804, 0.0176716018, -0.0541567095, 0.0444586836, -0.0364647917, 0.027649682, 0.0054084286, -0.0441882759, 0.0106082512, 0.0196322165, -0.0167733077, -0.0302458704, -0.0115640555, -0.0645071045, 0.0367120206, -0.0525432341, 0.0052450877, 0.0269019175, 2.487e-7, 0.0372862779, 0.04650921, -0.0189267043, -0.0191825218, 0.0345348455, 0.0875444263, -0.037799105, 0.0495932549, 0.0064878631, -0.009447732, -0.0029922747, 0.0486747883, 0.026740592, 0.0089430166, -0.0213475525, 0.022881221, -0.0046009035, -0.0433218405, -0.0244875811, 0.0532726422, 0.0554786287, 0.1068247333, -0.0004243094, -0.0471170731, 0.0150164803, -0.0457117967, 0.0847330317, -0.0496941246, -0.043939542, -0.0308263097, -0.0410959683, 0.0062040412, -0.0190438516, -0.0271368697, 0.0005177569, -0.0182980169, 0.0573572889, 0.024186613, -0.0063181734, -0.0651853755, -0.0232861806, 0.0489848368, -0.0258939415, -0.0140488092, 0.0518065393, -0.0361356251, -0.0237580929, -0.093659915, -0.003374028, 0.024808336, 0.0459378399, 0.0081744576, -0.0548759997, 0.013204175, 0.0231801663, -0.0454001464, -0.0610500164, -0.1023793817, -0.015281586, -0.0204908587, -0.0233009122, -0.0252909251, 0.0092294579, -0.0041626431, 0.0591100454, -0.0403222926, -0.0350237153, 1.762803701e-34, 0.053156402, -0.0493381172, 0.0254597571, -0.0275365636, 0.0022235084, -0.0013348255, -0.0557274446, -0.0313160159, 0.0158746857, -0.0461820774, 0.0022446392 ]
http://arxiv.org/abs/2401.06643v2
http://arxiv.org/pdf/2401.06643v2
Effects of diversity incentives on sample diversity and downstream model performance in LLM-based text augmentation
2024-01-12T15:46:43
2024-02-15T11:14:10
Jan Cegin, Branislav Pecher, Jakub Simko, Ivan Srba, Maria Bielikova, Peter Brusilovsky
cs.CL
cs.CL
The latest generative large language models (LLMs) have found their application in data augmentation tasks, where small numbers of text samples are LLM-paraphrased and then used to fine-tune downstream models. However, more research is needed to assess how different prompts, seed data selection strategies, filtering methods, or model settings affect the quality of paraphrased data (and downstream models). In this study, we investigate three text diversity incentive methods well established in crowdsourcing: taboo words, hints by previous outlier solutions, and chaining on previous outlier solutions. Using these incentive methods as part of instructions to LLMs augmenting text datasets, we measure their effects on generated texts lexical diversity and downstream model performance. We compare the effects over 5 different LLMs, 6 datasets and 2 downstream models. We show that diversity is most increased by taboo words, but downstream model performance is highest with hints.
[ 0.0788867995, 0.0437901653, 0.0015363771, 0.0195645206, -0.0534087345, -0.0099987444, 0.0094555831, 0.0339809284, -0.0087786233, -0.0456714407, 0.0006210714, -0.0295653269, 0.0059950636, -0.0030310934, 0.0272912718, -0.0567854196, 0.0092610009, -0.0589887872, 0.0112844901, -0.04019887, 0.0201127138, 0.0267828926, 0.050509993, 0.0359664448, 0.0207668357, 0.0170462485, 0.0286775064, 0.0358020216, 0.0192394853, -0.0088365143, -0.0099392235, 0.0415055826, 0.0098608425, 0.0512071624, 0.0000017505, -0.0749441236, -0.0174120497, 0.0236780364, -0.0444252193, 0.0427262597, 0.0563953742, -0.0116595328, 0.0162641611, 0.0213572755, -0.0088394135, 0.0236963164, 0.0433288589, 0.0096791815, 0.0659774244, 0.0427261814, 0.0125468746, 0.0159358438, 0.0109647522, -0.0240803212, 0.0467381366, 0.0321297348, 0.0528167859, -0.0290954877, 0.0278538465, 0.0609463565, -0.002387373, 0.0436104909, -0.0008078292, 0.0142406505, 0.0753545985, 0.0128089217, -0.006803588, -0.0259670559, -0.0040936, 0.057592839, -0.0001691194, -0.0159238894, 0.0016703701, -0.048468627, 0.0090001579, 0.0408020355, -0.0610688515, 0.0361319818, -0.0050470568, 0.0147376293, 0.0046404181, 0.0121674761, 0.0338168666, 0.0519879796, 0.0104181832, 0.0434771702, 0.0227998309, -0.0556071475, -0.0342985541, 0.0270960722, -0.0155429039, -0.0415513366, 0.0294407029, -0.0186383873, -0.0150439776, 0.0283615254, -0.0321707278, -0.0887357667, 0.0646664873, -0.021648122, 0.0201649368, -0.0123290541, -0.0198593065, 0.0580833033, 0.0081258975, -0.0269680936, -0.0090377685, 0.0456596091, -0.0439108908, -0.0193194635, 0.0055330433, -0.0104066804, -0.024293229, 0.020118406, -0.0548580326, 0.0129192984, -0.0338596776, -0.0013778639, 0.0048485799, -0.0437332951, 0.0424822904, 0.0185267106, -0.0410410017, -0.0248008706, 0.0053605409, -0.0183219798, -0.0448975004, 0.02894881, 0.0185701493, -0.0780149996, -0.0165169016, 0.0021862467, 0.0378412195, -0.0533610992, 0.029111119, 0.0391401201, -0.0038814666, -0.0546853356, -0.0328479819, -0.0024199949, -0.0267974529, -0.0111332657, -0.0145952189, -0.0800909176, 0.0312141515, -0.0215157028, 0.0040680133, -0.0268430542, -0.0050792494, 0.0200018696, -0.0780814588, 0.0509015396, -0.0514842495, 0.004748852, 0.0424816497, -0.0002616041, -0.0231456365, 0.0899560228, 0.0347623192, 0.0132827293, 0.0601439066, 0.011584674, 0.0222938173, 0.0401239023, 0.0183233451, 0.0468870811, -0.014789952, -0.0012822238, -0.016854547, 0.0367152877, -0.0004728743, 0.0766829476, -0.0392589271, -0.0015318372, 0.0845512226, 0.0772753805, -0.0056410562, -0.0008560194, 0.0111607313, 0.0324347131, -0.0092100892, -0.000746539, -0.0131485574, -0.0016070122, -0.0216887593, 0.0333231203, 0.0653243959, 0.0887627751, -0.0034185559, -0.0372747965, -0.0438965559, 0.0129142441, 0.0363938473, 0.0016078609, 0.0459048599, 0.0128997425, -0.0240052305, -0.0142995259, 0.0373992063, -0.0620508268, 0.0262354556, -0.0201424789, 0.0437233523, 0.0846943781, 0.0871746391, -0.0045241979, 0.0382480286, -0.0353769436, 0.0012938, 0.0572664663, -0.0175095499, 0.0278219935, 0.0201422777, -0.0797689781, -0.0543073267, 0.017022023, 0.0144251296, 0.0255811084, 0.0629423112, -0.0250315126, 0.0104627199, -0.0230748672, -0.0869445875, 0.040082965, -0.0338183939, -0.0117635308, 0.0146967852, -0.0114616221, 0.0024744903, 0.0277357921, -0.0247324016, 0.000378863, -0.0108430814, -0.0355656184, -0.0385750234, -0.0015550992, -0.0387830921, -0.013953045, 0.0216823202, -0.0740612298, 0.0027375866, 0.0229541566, -0.0199201852, -0.0137782227, -0.0005753149, -0.0358413197, -0.0172075368, -0.066147171, 0.0141543271, -0.0319064111, 0.021995334, -0.0282212105, 0.0504953116, -0.0041758139, 0.0267288908, 0.0084061213, -0.0269365031, 0.0087475022, -0.0291960798, -0.0245845746, -0.0242892504, 0.0141711524, 0.0353253558, 0.0091793491, 0.0115205189, -0.0420589708, -0.0196655225, -0.0640839115, 0.0035933154, -0.0086120581, -0.0273584686, -0.0046956255, 0.0256458465, -0.0107729565, 0.0139887379, 0.0022290996, -0.0598584265, 0.005481591, 0.0560107231, 0.0167272948, 0.0190066416, 0.0039613689, -0.0068797246, -0.0281804893, 0.0392904393, 0.0469329096, 0.0488543846, -0.0115179131, -0.0320130028, -0.0075806831, -0.034666162, -0.0165198818, 0.0061723362, -0.0250998456, -0.0154330032, 0.0007876038, 0.0431130119, 0.0173879825, 0.0343910493, -0.0259379335, 0.0144594405, 0.0258776527, -0.0619217306, -0.0302206073, -0.0034977142, 0.0085249385, -0.0022565681, -0.0565521382, 0.0237413589, 0.0166935846, 0.0101297889, -0.0367534235, -0.0715732723, 0.0250875168, -0.0271185748, -0.056748908, -0.039233651, -0.0699372888, -0.0570967309, 0.0081468932, -0.0423440151, -0.0581299774, 0.0893435106, -0.0413529612, -0.010781643, -0.0303913448, -0.0173961408, -0.0425519831, -0.0061097182, -0.0113914423, 0.0264999736, 0.0032080514, 0.0096734455, -0.0153102465, 0.0148291895, 0.0441925973, -0.0497000702, 0.0647100583, -0.0495903902, -0.0080570858, -0.0026114173, -0.0197444893, -0.0323102623, -0.0912303254, 0.0139055951, -0.0154026458, 0.0914629176, 0.0052810493, 0.0189850666, -0.0149755049, 0.0196299814, 0.0250762794, -0.0176651683, 0.0020743657, -0.0108000254, -0.0005198511, 0.0498637743, 0.0314280838, 0.0294721033, -0.0511143655, -0.0309627149, -0.0152933626, 0.0289340299, -0.0620339401, 0.0113296555, 0.00590121, 0.0374352448, -0.0059408532, -0.0242291205, -0.0145858014, 0.0664976835, -0.0075893039, 0.0039959513, 0.0546768829, 0.0108126737, -0.0440743864, -0.0079443427, -0.0263468996, 0.0590626113, -0.0036270283, 0.0056900643, -0.067690745, -0.0003110492, 0.0004456679, 0.0573150739, -0.0354686342, -0.0333140157, -0.0253360793, -0.1352862269, 0.0341895893, 0.0143498462, -0.0373012759, 0.0005549557, -0.0233692564, -0.0049344273, -0.0121375322, 0.0052564861, -0.0126832621, -0.0183890946, 0.0177810807, 0.0284715723, -0.0077445679, -0.0696463212, -0.0477572381, -0.040634796, 0.053325247, 0.0651449263, -0.0277993511, -0.0320768766, -0.0438264012, 0.0299540274, -0.028790867, -0.0073895464, -0.0081032384, 0.0512631014, 0.0086121131, -0.0033461335, -0.0050447658, 0.0317636058, 0.0107647385, -0.0056325682, 0.0151183438, 0.0365753211, 0.049658116, 0.0032649345, -0.0060150567, 0.0128092784, 0.0215046927, 0.1046472564, 0.0438633673, -0.0605658814, 0.0241271015, -0.0453896634, -0.0187652186, -0.0820642486, -0.0163399298, 0.0166892521, -0.0445822366, -0.0317487381, -0.0710899457, -0.0247450136, 0.0063243345, 0.0266976804, 0.0283786487, 0.0829461589, -0.0656649321, 0.0127623985, 0.0557441674, 0.0339942798, -0.0339696966, 0.0068528578, -0.0210800655, -0.0228390992, -0.0264234319, -0.0759766176, -0.0066486853, 0.0327116027, -0.1091438457, -0.0652148649, 0.046406839, 0.0246924795, 0.0289476067, 0.0512906052, -0.0028914085, -0.0887118131, 0.0582681783, 0.0891142786, -0.0044448781, 0.0481559485, 0.0116001815, 0.0237358697, 0.0070859292, 0.0196061525, -0.0640674904, -0.0056555737, 0.0394051597, 0.0295499135, -0.0249753743, -0.0192063227, -0.0023941724, 0.0495466739, 0.028287895, -0.0633048788, -0.0194837302, -0.0514114909, 0.0090385815, -0.0039652926, -0.0192322265, -0.0480581746, 0.0002265637, 0.0328400061, -0.0309905335, -0.0165300146, 0.038101837, -0.0014873138, 0.0564246587, -0.0777439699, 0.0138613433, -0.0156343058, -0.0058695008, 0.0285458341, 0.0147314742, -0.0061140349, 0.0330891013, -0.0670759007, 0.0033959469, 0.0053077089, 0.0019185984, 0.0150205223, -0.0372237079, 0.0046924339, 0.0312637687, -0.0796869621, -0.0266876128, -0.0293306001, 0.0659362674, -0.0132507086, -0.0046726875, 0.0791070163, -0.0072215386, -0.0167581309, -0.0227511972, 0.008728398, -0.002166061, -0.0149357123, 0.0269052722, 0.0013924987, -0.0216907468, 0.0001160571, 0.0680028275, 0.0209871307, 0.0264939759, -0.0093092564, -0.0076735215, -0.0204827283, -0.02302224, 0.0089873103, 0.0198200345, -0.0044915397, 0.0083408458, -0.0675002337, -0.0351543278, 0.0043460303, 0.018963892, 0.014566374, -0.0089898398, 0.0335972533, 0.0395581871, -0.0385165364, 0.0161251873, -0.0326157175, 0.0273139682, 0.0121481344, -0.0261894874, 0.0026689924, -6.429214272e-33, -0.0132798133, -0.016372934, -0.0271047223, -0.0673405603, -0.0165483113, -0.0080243619, 0.0125275049, -0.0095770154, 0.0163781568, -0.0051848758, -0.029636411, -0.0021563715, 0.0244281497, 0.0388150886, 0.0168302637, -0.0101878848, 0.0481935889, -0.0028719299, -0.0311566573, -0.016858032, 0.0098336283, 0.019527873, 0.012200579, -0.0353747047, 0.0619658343, -0.0538523495, -0.0224013962, -0.0010407347, 0.0064109568, 0.0384521633, -0.0041509368, 0.05452976, 0.0114398813, -0.0604055077, -0.0405775495, -0.0046178563, -0.0331403986, -0.0009288036, 0.0623435304, -0.0301401727, -0.0548502356, -0.0542466603, 0.0445947163, 0.006338547, -0.0038028075, -0.0047296681, 0.04588167, -0.0564673133, -0.0400777347, 0.0153773595, 0.0048319371, 0.0327748023, -0.0054857396, 0.0187469255, 0.0069877212, 0.0281307362, 0.0029084862, 0.0813895538, -0.0315815732, 0.0292604249, 0.0772568211, 0.0035011275, 0.0450579897, 0.0274033584, 0.0164386854, 0.0222124495, -0.0374473222, -0.0072269915, -0.0122485487, -0.0430451632, -0.0005274425, -0.0051141931, 0.0546313524, 0.1264401972, 0.0404674113, -0.0044984766, 0.0047172261, 0.0485747531, -0.0309696365, -0.0687536895, 0.0270292163, 0.011651258, -0.0435632206, -0.0305705965, -0.0166015979, -0.0243288428, -0.0227284823, -0.0275289826, 0.0232090708, 0.0369750708, -0.0674609393, 0.0216474645, 0.0235910658, -0.0183639973, -0.0363662988, 0.0034364164, 0.0076021184, 0.0066583073, 0.0060184496, 0.0076863663, -0.0636129379, 0.0354110785, 0.0411877483, 0.0512603186, -0.0031188035, -0.0098327482, 0.0428904742, 0.0093710581, -0.0751889125, 0.0453003161, -0.0104300724, 0.026657477, 0.0024238159, -0.0309049599, 0.0296392124, 0.0008879134, -0.0055909073, 0.0256944634, 0.0578310192, -0.0017579929, -0.0194061175, -0.0209556948, -0.022868555, -0.0134694856, -0.0193109512, 0.0277169328, 0.0266655777, -0.0197502282, 0.0531754941, -0.0103193233, -0.0065243286, -0.0131816631, 2.491e-7, 0.0188423488, 0.0408071056, 0.0352430083, -0.018910192, -0.0078725228, 0.0351253934, -0.0077231973, 0.0097640799, -0.0015232234, 0.0052117878, 0.0000132719, 0.0331077762, 0.0661112666, 0.0041507119, -0.0573148243, 0.0204379726, -0.094026342, 0.0511401519, -0.0503401197, -0.037816707, 0.0228965543, 0.0822685584, 0.0393418781, -0.0121226404, -0.0264836568, -0.0418951027, 0.0524819456, -0.0793827772, -0.0452941656, 0.0207653977, 0.0634757355, -0.0040802443, 0.0091730086, -0.0125310943, -0.0128058847, 0.0021292367, 0.0423778929, 0.0159971844, 0.0165619366, 0.0004233818, -0.006098194, -0.0103946347, -0.0035752084, -0.0779679194, 0.0575408526, 0.028484745, 0.0096523091, -0.0403882042, -0.0351367146, -0.0108438302, 0.0235473402, -0.0512052551, -0.0250834022, -0.0101148458, 0.0125677232, 0.0164580494, -0.0147717101, -0.0553010739, -0.0304936916, -0.0524755493, -0.0494292267, -0.0741039813, -0.0326262414, 0.0405137837, -0.0104305092, -0.0685620531, 0.0166339073, 2.347343521e-34, 0.0535179488, -0.0187237598, -0.0012212027, 0.0043935822, 0.0218709074, 0.0006481236, 0.0176509377, 0.0127755366, -0.0115348333, -0.0549647734, 0.0003405437 ]
http://arxiv.org/abs/2401.06640v1
http://arxiv.org/pdf/2401.06640v1
Experimental Contexts Can Facilitate Robust Semantic Property Inference in Language Models, but Inconsistently
2024-01-12T15:40:31
2024-01-12T15:40:31
Kanishka Misra, Allyson Ettinger, Kyle Mahowald
cs.CL
cs.CL, cs.AI
Recent zero-shot evaluations have highlighted important limitations in the abilities of language models (LMs) to perform meaning extraction. However, it is now well known that LMs can demonstrate radical improvements in the presence of experimental contexts such as in-context examples and instructions. How well does this translate to previously studied meaning-sensitive tasks? We present a case-study on the extent to which experimental contexts can improve LMs' robustness in performing property inheritance -- predicting semantic properties of novel concepts, a task that they have been previously shown to fail on. Upon carefully controlling the nature of the in-context examples and the instructions, our work reveals that they can indeed lead to non-trivial property inheritance behavior in LMs. However, this ability is inconsistent: with a minimal reformulation of the task, some LMs were found to pick up on shallow, non-semantic heuristics from their inputs, suggesting that the computational principles of semantic property inference are yet to be mastered by LMs.
[ 0.0118879182, 0.0406206772, -0.0305611435, 0.065580301, -0.0751940906, 0.0112396637, -0.0033565583, 0.0046440498, -0.0580408834, -0.0532934964, -0.038613122, -0.0256389007, -0.0040412634, 0.0047605005, 0.0200198404, -0.0045892638, 0.0606303066, -0.0221594796, -0.0399617627, -0.0021403648, -0.0400577374, -0.0133786704, 0.0218019225, 0.0000870452, -0.006117627, 0.0134315612, -0.0003215974, -0.0343776122, -0.0452217087, -0.0339732431, -0.0292976648, 0.023071399, 0.0176625699, 0.0300111193, 0.0000016572, -0.0593922809, -0.0007222009, -0.0084259091, -0.0167765133, -0.0051743584, 0.0843773261, -0.0416896753, 0.007596374, -0.0289467312, -0.0385982171, -0.0221918505, 0.0354931466, -0.0125043793, -0.0537484176, 0.0273553301, -0.0066451104, -0.0041028392, -0.0147727896, -0.0251541249, 0.1062538102, -0.0575520881, 0.0261498969, -0.0267286561, 0.0103722215, 0.0051441831, -0.0572549812, 0.0445888005, 0.0239960216, 0.0592315346, -0.0366640165, 0.0539717898, -0.0302707572, -0.0409367085, 0.0255954731, 0.0450278185, -0.0038485345, -0.01828539, -0.0205459967, -0.0088974638, -0.0047006942, -0.0143337892, -0.0152373901, 0.037493106, 0.0082300268, 0.0401710868, 0.0620955713, 0.024071604, 0.0381241813, 0.0265926756, -0.0165896807, 0.1066703424, 0.0244747177, -0.0129835792, -0.0448123738, 0.0195124205, -0.0121081546, -0.0152112618, -0.0686866567, 0.0116607687, 0.0493442118, 0.0658618957, -0.0212161299, 0.0049920133, 0.0336286016, -0.0131321615, 0.0387735367, 0.0543500148, -0.0367138423, 0.0817159191, -0.0603779554, 0.0290773436, -0.0051956791, 0.0286075901, -0.0307869092, -0.0181145966, -0.0661586598, -0.0071130418, -0.0011640696, 0.0358216539, -0.008806414, -0.0140084028, -0.0007647225, 0.0529756285, 0.0413681343, -0.0022427342, -0.0545318127, -0.0346492305, -0.0621601567, 0.0179784447, -0.0471116789, -0.012737385, -0.0184663106, 0.0290198214, -0.0474790335, -0.0793613568, -0.0431588851, 0.0036137593, 0.0072430912, -0.0217211843, 0.0297260787, 0.1115696877, 0.0413006209, -0.0877303705, -0.0421835184, -0.0261894669, -0.0310280956, -0.0604309961, 0.0487931147, -0.0342866965, 0.0263479054, 0.0367081575, -0.0242775399, -0.0864256695, 0.0135116428, -0.0165226702, -0.0503811315, 0.0795840472, -0.0149749899, 0.0129685672, -0.025053909, 0.0102853039, -0.0332957692, 0.0812198222, 0.0135255791, 0.0177192595, 0.0417558923, 0.0225165654, -0.0081762057, 0.0272885151, 0.0394802578, 0.0165208112, -0.0579186007, -0.0165246706, 0.0342412852, 0.0022331732, 0.0190625172, 0.0249330122, -0.0085817697, -0.0053789001, 0.0630236566, 0.03759446, -0.0112151094, 0.0165382642, 0.0585321598, -0.0355107486, -0.0168583374, 0.0057732495, -0.0947748572, 0.0007891071, -0.0438330136, 0.0434687957, -0.038051676, 0.0026261322, -0.0354846269, -0.0298315585, -0.0385846049, -0.033733394, 0.0229537617, -0.0225975271, 0.0663298741, 0.0400290005, -0.0131556233, 0.0195741095, 0.0500332266, -0.0124281645, 0.0176422987, -0.0590917729, 0.0515420213, 0.0351359695, 0.0461062081, -0.0361704752, -0.009949862, 0.0441021733, 0.0138737997, 0.0385556035, 0.0418476351, -0.0042142449, 0.0315135829, -0.0170683395, -0.024038827, -0.0630582646, 0.0451420918, -0.0182124879, 0.0164399035, -0.022104295, 0.0253652465, -0.0617099777, 0.021529248, 0.0616945028, -0.0371251255, -0.020306183, -0.0127187874, -0.0104207713, -0.0010986751, -0.0334706455, 0.006320213, 0.0321836472, 0.0006467273, -0.0322008319, -0.0060455296, 0.028820375, -0.0239934586, -0.0704036728, 0.0267536603, 0.022804901, 0.00782842, -0.0115178535, -0.0251211934, 0.0100954846, 0.0472525544, -0.0151898628, 0.075429678, -0.0576131046, 0.0376396812, -0.0523972958, 0.0290075485, -0.0231135804, 0.0845674723, -0.0212585181, -0.024763573, -0.0174672697, 0.02151783, -0.0159721058, -0.0066563855, -0.0433785394, -0.0140818395, 0.0114658633, -0.0102912188, -0.0270378124, -0.0049532652, -0.0332207493, -0.0032103795, -0.0417003594, 0.0234534629, -0.0075649666, 0.0257422384, 0.0400999151, 0.003577824, -0.0143339857, -0.0207658559, 0.0026659986, 0.0094414586, -0.0189315639, 0.0520387888, 0.0609383434, 0.017042039, -0.0275196675, -0.0328495353, -0.0220811497, -0.0469768792, 0.071818158, -0.0347713679, 0.0379737169, -0.0081406394, 0.0451715812, -0.0624306053, 0.0210477747, -0.0044217785, 0.0065903552, -0.0150154755, -0.0281244628, -0.0156271961, 0.0494600423, -0.0128767258, 0.0426388122, 0.0746634826, 0.0198164806, -0.0156203071, -0.0273369253, -0.061662171, 0.0009218291, -0.0001628412, 0.0000017606, -0.0278781857, 0.0873523206, 0.0151271634, -0.0101332152, -0.0403850786, 0.0572542585, -0.0139572741, -0.019738663, -0.0040010638, 0.0314611569, -0.0161033552, 0.0578213893, -0.03963672, -0.0568780564, 0.0810344666, -0.0334297679, -0.0166495349, -0.0371735245, -0.0049765622, -0.0444790758, 0.09762045, 0.0103555759, -0.0046727117, 0.0032100813, 0.0259648897, -0.0347779766, -0.0108039007, 0.0132610956, -0.0253455043, 0.0220131855, -0.0420066379, -0.016125828, 0.0036048049, -0.0075790538, -0.0451977812, -0.0280152429, -0.034120474, 0.0219052415, -0.0273395497, 0.0393903852, 0.0281400438, 0.0139104761, 0.0033465596, 0.0362242907, 0.0038694998, -0.0100275269, -0.0364447311, -0.0059875413, 0.0488773324, -0.0550349951, 0.0119505422, -0.0152457142, 0.0185739826, 0.0090370458, 0.0110502634, 0.0288402662, -0.0077477302, 0.04811785, 0.0111952852, -0.0111951232, -0.0608579591, 0.01753355, 0.0209467895, -0.0602129772, -0.0313400105, 0.0886719227, 0.0385493785, 0.0098531814, 0.0475263, -0.0381848179, 0.0161319189, 0.0306630228, 0.0082597034, -0.0891705155, -0.0370739512, -0.0063314107, -0.0091882031, -0.0164887216, -0.032993257, -0.0330579057, -0.1074828506, 0.0080891158, -0.0113679217, -0.0957315639, 0.0002550913, -0.0508263223, 0.0480182581, -0.029903071, 0.0384184644, 0.0100623295, -0.0233150944, 0.0150340879, -0.0098597333, 0.017603118, -0.0802258328, 0.0588374622, -0.0223097559, 0.0318890661, 0.0717268884, -0.0206521675, -0.0008048161, -0.0338724591, 0.0322803706, -0.0207937099, 0.0220407043, -0.0116149513, 0.0433435738, -0.0170541983, 0.0025965008, 0.0130299767, 0.0210600365, -0.0130624389, -0.0359537639, -0.0345881693, 0.0734377578, -0.011239836, -0.0606873818, -0.017639922, -0.0087717474, -0.0024895361, 0.0957239196, 0.0540731736, -0.0515220016, -0.0265141148, 0.0038364888, -0.0429159589, 0.0005590998, -0.0281780083, 0.0006622666, -0.0017326273, -0.0171760451, -0.0593284108, -0.0483865924, 0.0438757092, 0.0053017847, -0.0109845586, 0.0250546932, -0.0555895939, -0.0210626964, -0.0350162797, 0.0164203737, -0.036926087, -0.0193693489, -0.0020869025, 0.0016470249, 0.0993169248, -0.042757269, -0.0123245204, 0.0067442614, -0.0509373173, -0.0725640953, 0.0161199607, 0.046837084, 0.0250162371, 0.044533439, -0.0192780644, -0.0025934468, 0.0395229086, 0.0065979189, 0.0041801413, 0.0268439632, 0.0354148597, -0.014773109, 0.0225721858, 0.0484750345, -0.0324343815, 0.0568786338, 0.0506711937, 0.0375995636, -0.0180364661, -0.0141512891, 0.0357192643, -0.0056153522, 0.0367225297, -0.0243386365, -0.0039602974, 0.0314656906, 0.006072164, -0.0045432975, -0.0214034654, -0.0131577579, -0.0325719304, 0.0086077107, 0.0495946929, 0.0053921174, -0.0218391456, -0.0263004862, 0.0968700647, -0.0050423574, 0.0044420287, 0.0021018323, 0.0166144688, -0.0153885391, 0.0271007214, 0.0040429644, 0.0397388265, -0.0551925302, 0.0239646174, -0.0471169874, 0.0330584683, 0.0282165799, 0.0017357803, -0.0590251535, 0.0243303142, -0.0501748919, 0.0387829207, -0.014674658, 0.0419524945, 0.0416613184, -0.0387962684, -0.0003748063, -0.0370568894, -0.0244696662, 0.0018881351, 0.013815931, -0.0073327944, -0.0548567325, 0.0433625691, 0.0368498899, -0.0239112675, -0.0163749028, 0.0517375469, 0.0264169574, 0.0922757834, -0.000474402, 0.0286314003, -0.003266826, 0.0249949098, 0.0384345129, -0.0090974709, -0.0290059391, 0.0225884486, -0.0925606117, -0.076146096, 0.030861564, 0.0121972281, 0.0180788692, -0.0106494697, 0.0225563906, 0.0651871115, 0.0051200562, -0.0221869014, -0.0182973258, -0.0418402478, 0.01877876, 0.0180465132, -0.039038524, -5.592351191e-33, -0.0415410623, -0.0049134209, 0.0058828723, 0.0357451253, 0.0328393504, 0.0036887398, -0.0550678261, 0.0120784715, -0.0474945046, -0.0072525945, 0.0007783713, -0.0126706976, 0.0031205446, -0.0068144319, -0.0030171464, -0.0482901968, 0.0103085432, -0.0095630093, -0.0351337865, -0.0244145542, 0.0128388796, 0.0010182402, 0.0536765009, -0.0303698201, 0.0021566723, -0.0006663045, 0.0257054325, 0.0115767876, -0.0121534672, 0.0383721441, -0.0444135927, 0.0300162099, 0.0505780131, -0.0453707837, -0.0250781924, -0.0196358934, -0.0519147143, -0.0417490192, 0.0363981985, -0.0142593514, -0.0337893628, -0.0239126086, 0.0427313186, -0.0074525601, -0.0425385311, -0.00259361, 0.0037065153, -0.0293983016, -0.0173498318, 0.0150314486, -0.0829823986, 0.0158154406, 0.0510120317, -0.0221440643, 0.0780017823, -0.0503142551, 0.0266354606, 0.0215835925, -0.002974425, 0.0359195024, -0.0037426145, 0.0271717273, 0.0559053645, 0.0074657165, 0.0112133641, 0.0494342931, 0.0178735163, 0.0139848804, -0.0294584781, -0.0065722619, 0.075034909, 0.0405705273, 0.0224930942, 0.037096072, 0.0362290181, 0.0181193147, -0.0271182563, -0.016622616, 0.0313968323, -0.0055877334, 0.0111765973, 0.0157669093, -0.0157607552, -0.0086978292, -0.0585794374, 0.0007795405, -0.0422266535, -0.0554450117, 0.0286303591, -0.0018514664, -0.027124906, 0.0138676492, 0.0210604556, -0.0456486456, -0.0238160715, 0.0220457595, -0.0326448046, 0.0011269677, -0.004675034, 0.0011692574, -0.0493441075, -0.066879116, 0.0186874252, 0.0010628001, 0.0087971268, 0.0233025569, 0.0431344137, 0.0325235575, -0.0160900503, -0.0163307488, -0.0399682373, -0.0130306296, 0.0238187332, -0.0279804096, 0.0139184175, 0.0312149487, -0.0003644122, -0.0005904057, 0.0832314342, 0.0007178662, -0.061267551, 0.0116612045, -0.0341829658, 0.0265133269, -0.0646892935, -0.0433388129, -0.0128048221, 0.0131629752, 0.0359687433, -0.0230908375, -0.0216750689, 0.0030005916, 2.52e-7, 0.0764860138, 0.0361698568, 0.013589737, 0.0503796525, 0.0143814739, 0.0114602046, -0.0319823176, 0.0154157467, -0.0038578871, -0.0329252817, 0.0130297644, 0.0352486074, 0.014687839, 0.0138264447, -0.0331676342, 0.0305128936, -0.0235613883, 0.034744259, -0.0257030819, 0.0269241966, 0.0466585569, 0.11982131, 0.0322324038, -0.0091924816, -0.0271801725, -0.0419768654, 0.0538445115, -0.0245869514, 0.0039790114, 0.0253742877, -0.0548470914, 0.0271365922, 0.0165030323, 0.0406139717, 0.0135632493, 0.0321615003, 0.0021184222, 0.0456760488, -0.0197132584, -0.0260902625, -0.0208110679, -0.0154851647, -0.0065695797, -0.0389931239, 0.092934221, -0.0488147922, -0.0259418841, -0.0080926521, 0.0156746749, 0.0463725962, -0.0122563541, 0.0274772272, -0.0055299923, -0.0129066138, 0.0241336599, 0.0167254712, -0.0558034778, -0.0764869973, -0.0374840386, 0.0062013725, -0.0284850504, -0.0411597602, -0.0248115733, 0.0040539233, 0.0178649276, -0.0840319917, -0.0269160233, 2.454932019e-34, 0.0173224937, 0.0009498815, 0.006872532, 0.0503439382, -0.0030736572, -0.0205062144, 0.0155661078, 0.0233951882, 0.0253021419, -0.0265869331, 0.0156472251 ]
http://arxiv.org/abs/2401.06628v2
http://arxiv.org/pdf/2401.06628v2
OOP: Object-Oriented Programming Evaluation Benchmark for Large Language Models
2024-01-12T15:21:36
2024-02-21T06:18:16
Shuai Wang, Liang Ding, Li Shen, Yong Luo, Bo Du, Dacheng Tao
cs.CL
cs.CL
Advancing automated programming necessitates robust and comprehensive code generation benchmarks, yet current evaluation frameworks largely neglect object-oriented programming (OOP) in favor of functional programming (FP), e.g., HumanEval and MBPP. To address this, our study introduces a pioneering OOP-focused benchmark, featuring 431 Python programs that encompass essential OOP concepts and features like classes and encapsulation methods. We propose a novel evaluation metric, pass@o, tailored for OOP, enhancing traditional pass@k measures. Our evaluation of 23 leading large language models (LLMs), including both general and code-specialized models, reveals three key insights: 1) pass@o offers a more relevant and comprehensive assessment for OOP code generation; 2) Despite excelling in FP, code-specialized LLMs like WizardCoder lag in OOP compared to models like ChatGPT; 3) The poor performance of all advanced LLMs on our OOP benchmark highlights a critical need for improvements in this field. Our benchmark and scripts are publicly released at: https://github.com/alphadl/OOP-eval.
[ -0.0251855776, 0.0631157309, -0.0083056688, 0.0216139983, -0.0088302679, 0.0030745096, -0.0405229181, 0.0304829851, 0.0053202156, -0.0278215762, -0.0236989018, 0.0206196625, 0.0181374867, 0.0604181066, -0.0138650946, -0.0461846776, 0.0438284539, -0.0371001661, -0.0714067295, 0.0402757898, -0.0529383086, -0.0028633166, -0.0165641811, 0.0453043319, 0.0461882055, -0.0318049416, 0.0172531549, 0.0089109372, -0.0258732475, -0.0376126319, -0.0009354539, 0.0271026436, -0.031016279, 0.0284475144, 0.0000022423, -0.0641333312, 0.0203221478, 0.0491807945, 0.0243945774, 0.0883669928, 0.0470341295, 0.0145496028, 0.0156433918, 0.0294597596, 0.0105222026, -0.0092048272, 0.0317607895, -0.0493440665, 0.0226939693, 0.0412619412, 0.011192386, 0.0068663564, 0.0101428209, 0.0338701978, 0.0108027253, -0.0163611285, -0.0376256928, 0.0307231676, 0.0128212841, -0.0193215013, 0.0158050228, -0.0119453045, 0.0104630031, 0.0001443184, 0.0392864682, 0.0201975387, -0.0342009813, -0.0291802399, 0.0030029344, 0.0054561817, -0.0720560327, -0.0254459064, -0.0149425175, -0.0035506377, -0.041757144, -0.0193545427, -0.0291662011, 0.0161569435, 0.0431779772, -0.0245915353, 0.0148404865, 0.0241253823, 0.0457103215, -0.0038302166, -0.0053623104, 0.0405515023, 0.0454159975, -0.0023479695, -0.0007011651, -0.0072779511, -0.0139763271, -0.0451309867, -0.015919935, 0.059615016, -0.0171077512, -0.0427999087, -0.0018168821, 0.0210657101, 0.0621975064, -0.0750787333, 0.0109213423, 0.0193256065, 0.0220975801, 0.0091350237, -0.0167317819, 0.069947131, -0.0137195121, -0.0288723353, 0.0013112467, 0.0348261148, -0.0494780019, -0.0013484168, -0.0055404888, 0.0390379541, 0.0420884602, 0.0353491753, -0.0466502048, 0.0285930708, -0.042704016, 0.0680007935, -0.061121989, -0.033894036, 0.047846701, 0.0372358449, 0.0299203526, 0.011828904, -0.0168609917, -0.0558459647, 0.0091995047, -0.0424670428, 0.0166323539, 0.0223786253, -0.0324223414, -0.0061452542, 0.0308241025, 0.0959101021, 0.0099024847, 0.0205057878, 0.0346145257, -0.0312813409, 0.0379255824, -0.0323694348, -0.0254252963, -0.1060103253, -0.0393237881, 0.0448657982, 0.0134516424, -0.0284570064, -0.0058788634, -0.0216539092, 0.0189665388, -0.0268452037, -0.0124295019, 0.0364739634, -0.0093806218, 0.045545876, 0.0002781596, 0.0191656854, 0.032915324, 0.0025501775, 0.0255865138, -0.0553683415, 0.0517485924, 0.0515031219, -0.0413494781, 0.0174941383, 0.0185639486, 0.0438687578, 0.0190583449, 0.0104187774, -0.0331562646, 0.0478988104, -0.0183504559, 0.0626333803, -0.018174421, 0.0022667767, -0.0205781888, 0.0175989661, 0.0366131887, 0.0321114771, 0.0571228303, -0.0345708318, -0.0130373789, 0.0451279804, -0.064295657, 0.0051566726, -0.0283532981, 0.0631063879, 0.032345023, -0.0571226589, -0.0492508933, 0.0131469946, -0.0195464864, 0.0145118143, 0.0379843749, -0.0093087964, -0.0434698537, 0.0487533025, -0.0111549431, -0.1011407822, -0.0402313583, -0.049605716, 0.0180971287, 0.0291699599, 0.0647012293, -0.0842051953, -0.0226454474, -0.020130435, -0.038852118, 0.0082303658, 0.1004547626, -0.017388463, 0.0280776694, -0.0077867801, -0.0100241285, -0.0536250509, 0.0250601619, 0.0392330736, 0.0267396383, -0.0302830916, 0.0479297191, -0.0305514671, -0.0583057664, 0.0546786524, -0.019864751, -0.0022387756, -0.0066360561, -0.0134807937, -0.0057210401, -0.0065360791, -0.028635161, 0.0170981493, 0.0487164557, 0.0188096445, 0.0248713195, -0.0573955253, -0.0003667268, 0.052714996, -0.0048776516, 0.0087847691, -0.0602694303, 0.0655559972, -0.0365496166, 0.0084939506, 0.062895298, 0.0424406789, 0.0466731302, 0.0270558223, 0.0558973402, -0.0777077153, -0.002962762, 0.0041404176, 0.0274091978, 0.0057644197, 0.0447119102, -0.0216512606, 0.0342009179, 0.0708346441, 0.0386317335, -0.0569262132, 0.0241419971, -0.0482943803, 0.0804229081, 0.0293370448, 0.0609409511, -0.0413834862, -0.0461054631, -0.0699957535, 0.0505595729, -0.0253614411, 0.0273707714, 0.0672470406, 0.0275811385, 0.0204870757, 0.0463026054, 0.0199608225, -0.0251322538, -0.0000356132, 0.0314213149, 0.0087999571, -0.0579495877, -0.1019593179, -0.0178817399, -0.0071612862, -0.0232503451, 0.0559155941, -0.0169584397, 0.0268847737, -0.0047583198, 0.0463311449, -0.0174081679, -0.0263631362, -0.0022023518, -0.008318672, 0.0314624757, -0.0371794254, 0.0469886586, 0.0379982889, -0.0301997866, 0.0057278029, 0.0765036866, 0.0099362247, -0.0063267224, -0.0208836384, 0.010794214, -0.0433593728, 0.0184334889, -0.0320193842, 0.0396878347, 0.0349655822, -0.04135314, -0.0344811045, -0.0206391178, -0.0078802798, -0.0227949768, 0.0000402228, -0.0486263856, -0.0130183836, 0.0091067813, 0.0445710309, -0.0030072369, -0.0516134985, -0.0096414648, -0.0351989493, 0.0085135885, 0.0065453895, -0.020343788, -0.0690944791, 0.0854130536, 0.0086938292, 0.0166548565, -0.0273717865, -0.0323724411, 0.0030146309, 0.0149388257, -0.0066995844, -0.071861282, 0.0243348628, -0.0262961052, 0.0074543147, 0.0123468777, 0.0005053997, -0.0336988308, 0.0182584655, -0.0144241136, 0.0168403536, -0.0513756946, -0.019533772, 0.0166286957, -0.0066002868, 0.0002802133, 0.0261883996, 0.0447386205, -0.0138462409, 0.0078520207, -0.039223671, -0.0717965513, -0.0865209922, 0.0009143832, -0.0364680104, 0.0279606786, 0.019249117, 0.0365678035, 0.0304866992, -0.0470906645, -0.0002639265, 0.0125903226, -0.0543459207, -0.0420073606, 0.0482966863, 0.0556908287, -0.072201103, -0.0439664498, 0.0699116364, 0.0165583603, -0.0009794815, 0.0427293852, -0.0424804352, 0.0624381565, 0.0686107501, 0.0446911491, -0.0281601995, -0.0133645656, 0.0026447466, 0.0357834622, -0.0188043471, -0.023060618, 0.0133860493, -0.0857812688, 0.0002859487, 0.0048599723, -0.0436803475, -0.0418231711, -0.0408897735, -0.0169080105, -0.0198326353, -0.0357273333, 0.0450618491, -0.0142888473, 0.0158515871, -0.0200653914, -0.0568009466, 0.0123827346, 0.0787177533, 0.0009732425, -0.0316094272, 0.0601960234, 0.0091593275, -0.016977312, -0.0053456151, 0.0685379356, 0.0108376108, -0.03518131, -0.0097787054, 0.0440930426, 0.0402447283, -0.0175005924, 0.0144692082, -0.0002050582, -0.0286643244, -0.0087444717, 0.0241215117, 0.0194029212, 0.0159164313, -0.0206842106, -0.0101991426, -0.0173957944, -0.0310484283, 0.0302512925, 0.026689196, 0.0131179746, -0.0612203404, -0.0664979517, -0.0625476763, -0.0308702439, -0.0213307235, -0.0001420586, 0.022421984, -0.0388002843, -0.0101814773, 0.0778868571, 0.022298662, -0.0226118341, 0.0145971999, -0.0462542251, -0.0309299771, -0.0165873747, -0.0698517337, -0.0110384645, -0.0072987163, 0.036575377, -0.0499585755, -0.0083790608, -0.0183280893, 0.0306671951, -0.0365786143, 0.0214787237, -0.0865714923, -0.0551208369, 0.0167237464, 0.060172908, 0.0232258402, -0.058637742, -0.0125151901, -0.0168590974, -0.0008344479, 0.0156717468, -0.0150737921, 0.0241968445, -0.0077947206, -0.0154589918, 0.0284638591, -0.0286310837, -0.0566990972, -0.011871947, 0.0137491245, -0.0172459576, 0.0485680215, 0.0273420122, 0.0059024524, 0.0425460599, -0.0473189279, 0.0057383715, -0.0544830039, 0.0273108762, -0.0470540002, -0.0035014458, -0.0232346803, -0.0481772795, 0.0282345209, 0.0326115862, 0.0014313476, 0.0625640452, 0.0409313291, 0.0121390019, 0.0859092176, 0.017178908, 0.0383908823, -0.023738699, -0.0113425888, 0.0766723305, 0.004947402, -0.0372709781, -0.0016795014, -0.0163395293, 0.0474134162, -0.0290511418, 0.0318325162, -0.0029393693, 0.0923344195, 0.0097375354, 0.0089330431, -0.0314015038, -0.0683062151, -0.0134736672, 0.0465569869, -0.0015159557, 0.0178927854, 0.0497884564, -0.0539628863, 0.0004261428, -0.0403775536, 0.0511143319, -0.0542384163, -0.0372469537, -0.0668296069, 0.0122156572, 0.0040876861, -0.0286467504, 0.0899394751, 0.0136455214, -0.0053102016, 0.0172229484, -0.0014081191, -0.0407179818, 0.0292870421, 0.0531812347, -0.0183980465, -0.0014373489, -0.0149346003, -0.0520805381, -0.0610389747, -0.029786611, 0.0184824634, 0.032210622, 0.0037649674, 0.014572286, 0.0427172408, 0.0032174599, -0.0079422826, -0.0109816846, -0.0130356727, 0.0107310032, -0.0296123177, 0.0203343518, -5.625585355e-33, -0.0406872705, -0.0187038146, 0.0076406645, 0.0321369469, -0.0282248538, 0.0152744455, -0.0388628095, 0.0262547359, -0.0045306855, -0.038986925, 0.0346071161, -0.0259390604, -0.0345432684, -0.0260317307, 0.0317535773, 0.0414118394, 0.0352635719, 0.0066920156, -0.091360189, 0.0054842927, -0.0059548388, -0.0023395852, 0.0095964614, 0.0042638564, -0.0305522382, -0.0239597987, 0.0064324918, -0.0369496718, -0.0034385093, -0.0057348693, 0.019232044, -0.0165912025, 0.0049871728, 0.0075371806, -0.0233207922, -0.0205635913, 0.0104654804, -0.0219913572, -0.020299349, -0.0054594218, -0.0064727822, -0.0236184876, 0.0510005802, 0.0333711207, -0.0223333426, -0.0458797999, -0.0416022278, -0.0026610096, -0.0092896847, 0.0093861511, -0.0609761812, 0.0313408151, -0.0690223724, -0.0129977195, 0.0136097958, 0.0014434627, -0.064209342, 0.0071832961, 0.0766776577, -0.0073264828, 0.0097634401, 0.0409317352, 0.0597215556, 0.0135302823, 0.0026318405, 0.0179854762, 0.0449223295, 0.0558792762, -0.0196104906, 0.0639214218, 0.0357891358, 0.0573648773, 0.0411155, -0.0017482906, 0.0231785122, -0.0069849417, -0.0406949483, 0.0058753826, 0.002061134, -0.0114216842, 0.0045157559, -0.0085714487, -0.0037766162, 0.0019206265, -0.0817778707, 0.0256430097, 0.0055180374, -0.0180369243, 0.0165082458, -0.0354183093, -0.0502892546, -0.0186091606, 0.0119657358, -0.042297665, -0.0016963087, 0.0182879977, -0.0616627038, 0.0534143224, -0.0184108801, 0.0294854343, -0.0092796357, -0.0251025725, -0.0193471499, -0.0102087073, 0.0706472024, -0.0039440743, 0.0111551872, -0.0151648689, -0.062362168, 0.0231581926, -0.0712357908, -0.0215315986, 0.0041706413, 0.0610371269, 0.0095283091, -0.0184598137, 0.0133711183, 0.0389653519, 0.0126767308, -0.0014039824, -0.0474065691, 0.0179118849, 0.0479463451, -0.0037035809, -0.0129735535, -0.0158184785, -0.0918325856, -0.0428060777, 0.0487132519, 0.0250566844, -0.0723791197, -0.002404972, 2.956e-7, 0.0185286179, 0.037430983, -0.0037308487, 0.0872469693, -0.021136919, 0.044678431, -0.0231265165, -0.0032711027, 0.0256552305, 0.0025676978, -0.048335392, -0.0034876224, 0.0493689813, 0.006953571, -0.0142370034, -0.012204553, -0.0278879348, -0.012979324, -0.0430072993, -0.0322660618, -0.0051613608, -0.0232527051, 0.0383315943, -0.0036707423, -0.002653714, -0.0151330121, 0.0086676823, 0.0092993565, 0.0056873998, 0.0492825061, -0.0772865489, 0.0280327387, 0.0332897827, -0.0051062796, 0.0084983092, -0.0242995806, 0.0547825769, 0.0436894596, 0.0068280031, 0.0389109664, 0.0478352606, -0.0096473079, -0.0131825311, -0.0859893933, 0.0427552238, 0.0592819192, -0.0341016762, -0.0472698174, -0.0494297892, 0.0004335739, 0.0044869613, -0.0077389348, -0.0033812877, 0.0333192647, -0.0356905647, -0.0102943424, -0.0397038236, 0.03594153, -0.0668855533, -0.0153843258, -0.0081025697, -0.0684339032, -0.0190350171, 0.0267791953, -0.0142664267, -0.0305764899, -0.0214158073, 3.072325989e-34, 0.0441601686, -0.0423227996, 0.0543252937, 0.0065414826, 0.0480062924, -0.0149733154, 0.0065059122, -0.0309113227, -0.0346386693, 0.0173969772, 0.0073083709 ]
http://arxiv.org/abs/2401.06620v2
http://arxiv.org/pdf/2401.06620v2
TransliCo: A Contrastive Learning Framework to Address the Script Barrier in Multilingual Pretrained Language Models
2024-01-12T15:12:48
2024-05-23T13:30:09
Yihong Liu, Chunlan Ma, Haotian Ye, Hinrich Schütze
cs.CL
cs.CL
The world's more than 7000 languages are written in at least 293 scripts. Due to various reasons, many closely related languages use different scripts, which poses a difficulty for multilingual pretrained language models (mPLMs) in learning crosslingual knowledge through lexical overlap. As a consequence, mPLMs are faced with a script barrier: representations from different scripts are located in different subspaces, which can result in crosslingual transfer involving languages of different scripts performing suboptimally. To address this problem, we propose TransliCo, a framework that optimizes the Transliteration Contrastive Modeling (TCM) objective to fine-tune an mPLM by contrasting sentences in its training data and their transliterations in a unified script (in our case Latin), which enhances uniformity in the representation space for different scripts. Using Glot500-m, an mPLM pretrained on over 500 languages, as our source model, we fine-tune it on a small portion (5%) of its training data, and refer to the resulting model as Furina. We show that Furina not only better aligns representations from distinct scripts but also outperforms the original Glot500-m on various zero-shot crosslingual transfer tasks. Additionally, we achieve consistent improvement in a case study on the Indic group where the languages exhibit areal features but use different scripts. We make our code and models publicly available.
[ -0.0198273547, 0.0511700548, -0.0117493132, 0.0476763733, -0.0330101848, 0.0363898352, 0.0283188056, -0.0155618871, -0.0149353258, 0.0010001168, -0.0801439881, -0.0651266128, 0.0447612107, -0.0033219098, 0.0522182547, -0.0649837181, 0.0390045494, -0.0368256867, -0.0295633674, -0.0155190295, 0.0052659628, 0.0147769768, 0.0010287549, -0.0093616666, 0.0257777032, -0.0052645304, 0.0407750458, -0.0039147991, 0.0656299517, 0.035210114, -0.0266737305, 0.0430647694, -0.0009516433, 0.0679604411, 0.0000018483, -0.0589754172, -0.0239041969, -0.014251098, 0.0210100599, 0.0227281619, 0.068534717, -0.0541452095, -0.0151304863, 0.0052786754, 0.0086637987, -0.0397945866, 0.0979402587, -0.0182786901, 0.0036120485, 0.051995106, -0.0377936922, -0.0475097634, 0.0057126624, -0.0398931019, -0.0183362402, -0.0311518367, 0.0135260886, -0.006553445, -0.0271887332, -0.0293572471, -0.0664362609, 0.0527690053, -0.0132194292, 0.0299586654, -0.0349337384, 0.0093340026, 0.0016590317, -0.025564637, 0.0111523317, 0.0698680133, -0.0284707192, -0.0366367772, -0.0316421986, 0.0067553516, -0.0182125978, -0.0275338888, -0.0325004905, -0.0012211025, 0.0099819368, 0.0284053721, 0.0740197226, 0.0236129221, 0.0318881012, -0.0291913245, -0.0659020692, -0.0326645896, 0.0826734826, -0.0196127072, 0.0185458045, 0.0441310331, 0.0207413919, -0.015146439, 0.0166036189, 0.004936995, -0.0173761342, -0.0032101225, -0.0402893461, -0.0716435388, 0.0142795825, 0.0072226985, 0.1011440977, 0.0715718046, -0.0449141227, 0.0227266159, -0.0301504694, 0.0712842718, -0.0172320046, -0.0008460063, -0.0209880341, -0.0493072905, -0.0073146201, 0.0291046835, -0.0392112508, -0.0200047847, -0.0193203148, 0.0486093909, -0.0205911119, 0.0069667595, 0.0042214789, -0.0115669537, 0.0194531102, -0.077308923, -0.0624797568, -0.0440906435, 0.0270752963, 0.0795421824, -0.0005276545, 0.0176780559, -0.0633196682, -0.0443255603, -0.0156677961, 0.0123895919, -0.0048333625, -0.0394370891, 0.0196174346, 0.094609499, -0.0530963168, -0.070876427, -0.0443903729, 0.0413521007, -0.018864898, -0.0468834601, -0.0142027773, -0.0698861703, 0.0767075941, -0.0099202935, 0.0314400569, -0.0384145789, -0.0381208993, -0.0208531842, -0.0183886159, 0.0919415727, -0.0118911993, 0.0028113781, -0.0153906941, -0.0400990844, -0.0194434263, 0.0423048064, 0.0448141843, -0.0449216291, 0.0144997649, -0.0257082991, -0.0309799984, 0.0692981184, 0.0152095659, 0.0219387673, -0.0527395196, 0.0059745577, 0.0467850566, 0.0275617316, 0.0648021773, 0.0466989726, -0.0151021676, -0.0218212008, 0.0512843169, 0.0329834297, 0.0367090367, 0.0396969467, 0.0485676713, -0.0049965647, -0.0172952265, 0.0070939059, 0.0203564409, 0.0051194103, 0.0121108303, 0.0208293349, 0.0214244034, 0.0724940747, -0.0338227227, 0.026042914, 0.0154691683, -0.0358448476, 0.0310054272, -0.0276854206, 0.0836094469, 0.0111378478, -0.0645087659, 0.0069245128, 0.0687187538, -0.0596679598, 0.0200148933, -0.0161037762, 0.0240274221, 0.0766265616, 0.0193912163, -0.011091589, -0.0243636407, 0.01550618, -0.0292552486, 0.0285055526, 0.0435788967, -0.0141193122, 0.0491299219, -0.0639094189, 0.0237508789, 0.0040018349, -0.0146765765, 0.0870806873, -0.0433633439, 0.0471320711, -0.0094005568, -0.0259617418, -0.0348310061, 0.0422144905, -0.1011118069, 0.0078897635, 0.0019763331, 0.0140713183, 0.0229203515, -0.0018811902, -0.0358157903, -0.0092067039, -0.0226442814, -0.0672205389, 0.0419721156, 0.0266270358, -0.0385003649, -0.0534851514, 0.0646612272, -0.0462142862, -0.0040041115, 0.0522941463, -0.0138353175, -0.0412008353, 0.0219718087, -0.0101066679, 0.0219288263, -0.0313680954, 0.0088183573, 0.0000325249, 0.0060353414, -0.0143896937, 0.011936537, 0.0321454592, -0.006106161, 0.0212138724, -0.0332034193, 0.0427648425, 0.0027419219, -0.0205726735, 0.019048756, 0.0024287703, 0.0357827805, -0.011452591, 0.0268220045, 0.0107398909, -0.0112995328, -0.0845072344, 0.008352845, -0.01440435, 0.0288829729, 0.0371152945, 0.0489723049, -0.0184356961, -0.018581735, 0.004201238, -0.0078211688, -0.0022779026, 0.0142718852, 0.0215022266, 0.0093573667, 0.025335893, -0.016677361, -0.02266578, 0.0235944781, 0.0424764156, -0.0311229657, -0.016841175, -0.0128123285, 0.0655479878, -0.0194145814, 0.0182566736, -0.0122708967, -0.0306642111, 0.0031947556, -0.0157186519, 0.0292661842, 0.0210691523, -0.0342897885, -0.0306487735, 0.0429705009, -0.0568407252, 0.0031011105, -0.0322654955, 0.0271442216, -0.0200138465, -0.0538828336, -0.0332519077, -0.0215467755, 0.0990222171, -0.0113373492, -0.0211085975, -0.1053145155, -0.0500553213, -0.015520568, 0.0155134173, -0.004340108, 0.0450994261, -0.0053388663, 0.0356550291, -0.0314257182, -0.0120637463, 0.0774625763, -0.06367594, -0.0125774965, -0.0647086501, 0.0015984701, -0.0378213301, 0.0228839144, -0.0248521902, 0.0168393124, -0.0394563042, -0.0386512354, -0.0606909916, 0.0101677319, 0.0070278994, -0.0260797031, 0.0333385989, -0.0192761105, 0.0139926784, -0.03077971, -0.0302520674, 0.0068419934, -0.0075891321, -0.0256538372, 0.0046303002, 0.0092661036, -0.0388966762, 0.0093234815, 0.0319425128, -0.0245790407, 0.0874465853, 0.0037872973, 0.0277110226, -0.0228476599, 0.0047680717, -0.0272387415, -0.0100769587, -0.0081972638, -0.0376449376, 0.0324826315, -0.0121609569, -0.0063130488, -0.0389353782, -0.026053872, 0.0048136613, 0.0459893458, -0.0089718634, -0.0123195238, -0.0344632193, 0.0456682555, 0.003165693, -0.0252694748, 0.0753834024, -0.0146986647, -0.0564898998, -0.0188955255, -0.0256471429, 0.0343380645, -0.0091630751, 0.0337434411, -0.0739033595, -0.0304584075, 0.0030105799, 0.013740018, 0.0341041163, -0.0202509724, -0.0123221483, -0.1253161579, 0.0068150787, 0.0395192802, -0.0895471498, -0.0683014691, 0.0014927799, -0.0136934957, -0.0379237123, 0.0236153323, 0.0206133574, -0.027866425, 0.0008697406, 0.014627683, -0.0024296432, -0.0568096079, 0.009588615, -0.0515866168, 0.0126406383, 0.0085731074, 0.0228915401, -0.0391854495, -0.0120665533, -0.0156412702, -0.0418298282, -0.0490985997, -0.0155682014, 0.0618659407, 0.0144413076, -0.044945851, 0.0195999406, -0.0060249469, -0.0387287177, -0.0399772152, -0.0043580444, 0.0446022078, 0.0255531184, -0.0027085291, 0.0302193128, 0.0173578449, 0.0096484451, 0.0461959802, 0.0339481011, -0.0391952731, -0.0049566198, -0.0009256089, -0.001814595, -0.0722847283, -0.0119462153, 0.0117397746, -0.0295590255, -0.0256009717, -0.0460071377, -0.0421457812, 0.0311156418, 0.0206281021, 0.0152589781, 0.0021649331, -0.0515868068, -0.0280943364, -0.0301812831, 0.0117159914, -0.0454622433, 0.0156924631, -0.0419210047, -0.0383144133, 0.0227635112, -0.028132407, -0.0155254314, 0.0111907972, -0.0657653287, -0.0479330085, -0.0036803985, 0.0395110957, 0.0180700626, 0.0375207178, -0.0129794655, -0.0248610545, 0.0517948829, -0.02975538, 0.0024121499, 0.0368332528, 0.0589865744, -0.0305542052, -0.0067322068, 0.0361789986, -0.008967896, -0.0021417616, 0.030822482, 0.0400122218, -0.0269395299, -0.0377772339, -0.0052505317, -0.0018582889, 0.02027224, -0.0632215142, -0.026950866, -0.0686705261, 0.0043426338, -0.0190152992, 0.0193916466, -0.0327949822, -0.0242149811, 0.0645814091, -0.0007318004, 0.0094490983, -0.0248601176, -0.0291999858, -0.0212777201, -0.0108499117, 0.0003069783, 0.0552235693, 0.0281195007, 0.0274678022, 0.0515093654, -0.0066219945, 0.0172875375, -0.004800166, 0.0422501639, -0.0335162655, 0.0031060043, 0.0102133313, 0.0340165198, 0.0114445994, 0.0321126431, -0.0012759574, -0.0371514373, -0.0060492074, -0.0087383902, 0.0765302256, -0.005007966, 0.091900602, -0.0210840423, -0.0161744319, -0.0271523371, 0.0419853888, -0.0487945378, 0.0534186773, 0.000276342, -0.0248560384, 0.0095947813, 0.0214701332, 0.0748658702, 0.0085491883, 0.0233187284, -0.0051103961, 0.0111763272, -0.0158723965, -0.0127975866, 0.0384280272, -0.0259244535, -0.0119648436, -0.034270104, -0.0513216145, -0.0823636204, 0.0455730073, 0.0148489559, -0.0256010108, 0.0293022525, 0.0174314864, 0.0475531109, -0.0086942995, 0.0692365617, -0.0254009683, 0.0187083986, 0.0426659957, -0.0261053424, -0.014184827, -5.655082549e-33, -0.0438832045, 0.0757985488, 0.0118995914, -0.0152080869, -0.0069754208, -0.0172928739, -0.0145334844, -0.0078008096, -0.0229738764, 0.0222990867, 0.0234171171, -0.0168858599, 0.0189352017, 0.0097604757, 0.0091355704, -0.0100772167, 0.03584373, 0.0128587373, -0.0136672156, 0.0255281962, 0.045411963, 0.0672170147, 0.0876106843, -0.0346666574, -0.00527268, -0.0222353786, 0.028078815, -0.0034426295, 0.0312911794, 0.032041654, -0.0155173559, 0.0213726889, 0.0126596373, -0.0012908205, -0.0400392152, 0.0422912389, -0.0581057146, -0.0190322716, 0.0445225723, 0.0405351557, -0.01113931, -0.0485925041, 0.0030472011, -0.0303395279, -0.0057025529, -0.0519099161, 0.0169755071, -0.0336338244, 0.001142827, -0.0061649415, -0.0873066038, 0.0210058298, 0.0137919961, -0.0221249778, 0.0604269728, 0.058309596, 0.0153148919, 0.0468569547, -0.0545376129, 0.0207914039, -0.0031234063, 0.0279714279, 0.044259537, 0.0185305048, -0.0334329307, 0.0103009986, 0.0034808072, -0.0557697453, 0.0807005093, 0.0251737479, 0.0467372015, -0.0102412365, 0.043985337, 0.0593380928, 0.0035548697, -0.024920987, -0.0388924591, 0.0071436483, -0.0281370021, -0.0265796073, 0.0172782503, -0.0092115542, 0.0022700983, -0.0331879109, -0.0123096108, -0.0920181796, -0.0038473373, -0.0026938575, 0.0133026745, -0.0515637137, 0.0074904407, 0.006006232, 0.0914535597, -0.0429060906, -0.0154095506, 0.0157710984, -0.0443862379, 0.0371627435, -0.0117170904, 0.0534731969, -0.0415856205, -0.0567981601, 0.007810066, -0.0038406688, 0.0122895204, -0.011630605, 0.0608761497, 0.0043903985, -0.0498358086, 0.0235743914, -0.0088250889, -0.0079142926, -0.0023886547, 0.061208766, 0.0211518761, 0.0161197018, 0.0196845997, 0.0483947359, 0.0602127127, -0.0147891557, -0.0044843466, 0.0020261505, 0.0019117962, 0.019581845, -0.0103460765, -0.0014844544, -0.0278581046, 0.0286034904, 0.0502829067, -0.0128456671, -0.0160592031, -0.0073586423, 2.589e-7, 0.0793846399, -0.0064176978, 0.0250295494, -0.0468382947, 0.0072488436, 0.0437802523, -0.0508487038, 0.0367639698, 0.0217585806, 0.0250406433, 0.0330738463, 0.0320523456, 0.0771226883, 0.0234365035, -0.0139336586, -0.0164846629, -0.0386959314, 0.0105344318, -0.0438231342, 0.0269344803, 0.0123174516, 0.0953636616, 0.0058290269, -0.029491568, -0.0084255692, -0.0182143915, 0.0848285705, -0.0466862284, -0.0370174535, -0.0081386138, -0.0183544271, 0.0066875219, -0.0354182236, 0.0094237067, -0.0122504383, 0.0421292, 0.014216491, 0.0392419361, -0.0108888345, -0.0044292398, 0.0180003699, -0.0100381859, -0.0441982821, -0.0413306095, 0.0504815206, -0.0162660945, -0.0195310879, -0.0314205661, -0.0348820984, 0.043850977, 0.0502149537, -0.0416701846, -0.0288333707, 0.0142353782, 0.0695322528, 0.0135258865, -0.0683831349, -0.0311793145, -0.0090556433, 0.0573038049, -0.0109584341, -0.0071013724, 0.0168103781, -0.0302600022, 0.024430193, -0.0188464634, 0.0349876359, 2.305476407e-34, 0.0218009558, -0.0203820653, 0.0248730034, -0.0053519807, -0.0097551281, -0.047117576, -0.0321621485, 0.0273528546, -0.0157082397, -0.0267796647, -0.0015020713 ]
http://arxiv.org/abs/2401.06603v1
http://arxiv.org/pdf/2401.06603v1
Mutual Enhancement of Large Language and Reinforcement Learning Models through Bi-Directional Feedback Mechanisms: A Case Study
2024-01-12T14:35:57
2024-01-12T14:35:57
Shangding Gu
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable capabilities for reinforcement learning (RL) models, such as planning and reasoning capabilities. However, the problems of LLMs and RL model collaboration still need to be solved. In this study, we employ a teacher-student learning framework to tackle these problems, specifically by offering feedback for LLMs using RL models and providing high-level information for RL models with LLMs in a cooperative multi-agent setting. Within this framework, the LLM acts as a teacher, while the RL model acts as a student. The two agents cooperatively assist each other through a process of recursive help, such as "I help you help I help." The LLM agent supplies abstract information to the RL agent, enabling efficient exploration and policy improvement. In turn, the RL agent offers feedback to the LLM agent, providing valuable, real-time information that helps generate more useful tokens. This bi-directional feedback loop promotes optimization, exploration, and mutual improvement for both agents, enabling them to accomplish increasingly challenging tasks. Remarkably, we propose a practical algorithm to address the problem and conduct empirical experiments to evaluate the effectiveness of our method.
[ 0.0656134337, 0.0464861244, -0.0316625945, 0.0362391882, -0.0510743968, 0.0178106986, -0.0280039534, -0.0430076122, -0.0040881881, -0.0267460309, -0.0262781717, 0.0149919894, -0.0301267859, 0.0085628703, -0.0082876207, -0.0683253109, 0.0375389494, -0.0561944917, 0.0206929948, -0.0107150963, -0.0103040161, -0.018015828, -0.0047748247, 0.0605475642, -0.0018357594, 0.0279916823, -0.0452682003, -0.0237909053, 0.0096961074, -0.0064814244, -0.0172515363, -0.0180439167, 0.0688877404, 0.0519770905, 0.0000021855, -0.045525603, -0.0484953858, -0.0147703607, 0.006869528, -0.0501465872, 0.0330095515, -0.0008762772, -0.022755364, 0.0022326997, -0.0465914793, 0.0191546604, 0.0205763709, 0.028451534, 0.0714777187, 0.0390596539, 0.0338785723, -0.0031468251, -0.0069671436, 0.0015444206, 0.02305042, -0.047434289, 0.0225576069, 0.0302794464, 0.0707139, -0.0066402741, -0.0309331045, 0.0349427909, 0.0624791272, -0.065863885, -0.0107561368, 0.0455874614, 0.0142432367, -0.0280782282, 0.0148741081, 0.0439952388, 0.0069471011, -0.0005622393, -0.0095515531, -0.0081080375, 0.0241322797, 0.0590586141, -0.0266532786, 0.024905419, 0.0085832356, 0.0315340497, 0.0150318481, -0.0663160384, 0.0439009853, 0.0156654976, -0.0175043773, 0.0980576053, -0.0406066291, -0.0342203155, -0.0049017398, 0.023677947, -0.0009639197, -0.0301154479, -0.0135228476, 0.0644381642, -0.0808708593, 0.0451834723, 0.0118870605, -0.0102020372, -0.0204124823, -0.0119998213, 0.0493574552, 0.0179435313, 0.005793225, 0.0561363138, -0.032489825, 0.0106565421, 0.0121497661, 0.0488112271, -0.0203406531, -0.0130602671, -0.0842974558, -0.0025946633, -0.0530920252, 0.0694013536, 0.0097480966, -0.0160621181, -0.0166643728, 0.0473027639, -0.032063134, 0.0771376044, -0.0157047976, -0.01429052, -0.0088966545, -0.0260035302, -0.0634026304, 0.0125687541, -0.0425832383, 0.0138086239, 0.0012853446, -0.0127263824, 0.0144307883, -0.0195159931, -0.037724793, -0.0089010103, -0.0192806702, 0.0682441145, -0.0183267184, -0.0137275672, -0.0269578099, -0.0300367922, 0.0080041196, -0.045333229, -0.0183877535, -0.0745060518, -0.0046229856, -0.028293876, -0.0105470661, -0.0051778629, 0.0305821411, -0.0395463407, -0.016074758, 0.0788446739, -0.0277811438, 0.0208059009, 0.0090457173, 0.0184748452, -0.029986538, 0.0862135664, 0.0669510812, 0.0240583867, 0.0079990877, 0.0260459688, 0.0044231559, 0.0191926546, 0.004363677, 0.0250500143, 0.0221651178, -0.0186112877, 0.0171483736, 0.071880661, -0.0245577171, 0.0218261089, -0.0360153764, 0.0213480163, 0.0629149526, 0.03817451, -0.0037279357, -0.0048539243, 0.0506997816, 0.020427255, -0.0311583988, -0.0252344869, -0.0456982143, 0.0250922367, 0.002155442, 0.0015603979, -0.0022533257, 0.016359739, -0.018308904, -0.076706171, 0.0286537353, -0.0114991572, 0.0432895645, 0.0586055294, 0.0719560906, 0.0224014334, -0.0423943512, -0.0429153107, 0.0339908078, -0.0221479759, 0.0532258078, -0.0915431678, 0.0597329587, 0.0960254818, 0.063666068, -0.0684377849, -0.0230229795, -0.0095269745, -0.02131401, 0.0499252863, 0.0134295179, -0.0458788462, -0.0140805654, -0.0204713438, -0.0523152761, -0.0005073638, -0.0030024415, 0.0377215035, 0.0156097058, -0.016900694, -0.025999479, 0.0336523913, -0.0280991551, 0.0255853254, -0.0228296109, 0.0107394112, 0.0039327373, 0.0197022688, 0.0245787762, 0.0108369244, -0.0113258967, 0.0087913079, 0.034742482, -0.0165561363, -0.0655568242, 0.0206027385, -0.034728989, -0.0153578492, 0.0349151343, 0.0104167582, -0.0033997812, 0.0147771742, -0.0168529842, -0.0164047088, 0.0575646162, -0.0290099885, 0.0659283921, -0.0165700652, 0.026465591, -0.0108725289, -0.05712118, -0.0275569726, 0.0349042527, 0.0028850159, -0.0142603889, 0.0013087769, 0.0254861936, -0.0241249315, -0.0224459488, 0.0156984553, 0.0200944673, 0.0333689786, 0.0093852198, 0.0565897934, 0.0045649218, -0.0480724052, -0.0497352593, -0.0130252847, -0.0460428298, -0.008275114, 0.0144753698, -0.0057230215, -0.0299918503, 0.0059277448, -0.0102988249, 0.0099137025, 0.0320475623, 0.0189376567, 0.0014509489, 0.0105237709, 0.0617289618, -0.0379131958, -0.0504070632, 0.0100027807, -0.0121688321, -0.0286610387, 0.0384841263, -0.0148322312, -0.0522944294, -0.0130837075, -0.0215423498, 0.0432045497, -0.0271992255, -0.0281032976, 0.0370194726, -0.0320163853, 0.0122591779, 0.0865492895, -0.0142654674, 0.0788720846, 0.0842854381, -0.0405650251, -0.0939228386, 0.0590609424, -0.0483480617, -0.0627783239, -0.0716581643, -0.0008479705, 0.0060282112, 0.0505868942, -0.0354404338, -0.010535419, -0.0678784177, 0.022575859, -0.0029602598, -0.0477948599, -0.032508228, -0.022731699, -0.0170080513, 0.0060853264, -0.0261054803, -0.0337756686, 0.1153427362, 0.0160491001, -0.0270020105, -0.0370093919, -0.0133344224, -0.0448328666, 0.0521223806, -0.0089687509, 0.0192287359, -0.030687144, -0.0116875377, -0.0295817796, -0.023574695, 0.0474125184, -0.0013930973, 0.0337882079, -0.0735321492, 0.000960097, 0.0181872454, -0.0373040438, -0.0322734453, 0.01202597, -0.0368267484, 0.0366772786, -0.0163775906, -0.0422548801, -0.0391291119, -0.0254730154, 0.0660246536, -0.0008554465, -0.0045648692, -0.0254667718, -0.0519573838, -0.0551782697, 0.0209187344, -0.0087113362, -0.0100522498, -0.0722569227, 0.0562036112, 0.0314678997, 0.036115475, -0.0381947421, 0.0004843022, -0.004384127, 0.0116193332, -0.0337003618, 0.0100307697, 0.0290203411, 0.0098782489, -0.063997291, -0.0308725201, 0.0946503058, 0.032445509, -0.0469003916, 0.0118056498, -0.0529276989, 0.0264092907, 0.0197240748, 0.0421484709, -0.0260585882, 0.0002892094, 0.003373005, 0.018346075, -0.0029773114, -0.0409216136, 0.0068421252, -0.1437515914, 0.0197202656, 0.0008553471, -0.0363739207, -0.0033906137, -0.0361514091, -0.0082847355, 0.0134167867, 0.0096389912, 0.0001586974, 0.0093795834, -0.0117116068, 0.0225345474, 0.0295675881, -0.020011276, -0.0156444497, -0.0397448316, 0.048881039, 0.0836017802, 0.0261049252, 0.0007092188, 0.0004804316, -0.0269842669, 0.0576149449, 0.0153038362, -0.0289215632, -0.0342734531, -0.0273295492, 0.0005829126, 0.0249820631, 0.0508774705, 0.0060031395, -0.001469898, 0.0442538708, 0.0853954032, -0.0066374228, -0.0062230099, 0.0048675952, 0.022257423, 0.0204882845, 0.0472278595, 0.010745937, -0.0357072353, -0.0130470674, -0.0043436652, -0.0799108893, -0.0422309078, -0.0228008237, -0.0097523173, -0.0191181395, 0.0499768592, -0.0593946949, -0.0616211146, 0.0584967323, -0.0113470824, 0.0111226719, 0.028866224, 0.0124922786, 0.0180489197, 0.0256565288, -0.0173838083, -0.0345408246, 0.021629706, -0.0604370609, -0.0297795832, -0.0209065024, -0.050107155, 0.0033827613, -0.0170630459, -0.0452119969, -0.0931240171, -0.0000120066, 0.0675049722, 0.0075803795, 0.0519803241, -0.0016076542, -0.0574058779, 0.0055223187, 0.0279285181, -0.0131585645, -0.0236183498, 0.0060649971, 0.0303822421, 0.0285439733, 0.0381530672, -0.0500559658, -0.0067836051, 0.0316135064, 0.0173383076, -0.0479402393, 0.0072064721, 0.027519485, -0.0066198609, -0.0002527082, 0.0008649413, -0.0111511061, -0.0241850298, 0.0326112881, -0.0324643143, -0.0412482545, -0.0502947047, 0.0265278518, 0.0179061759, -0.0317400843, 0.0489938185, 0.0059144334, 0.0377587527, 0.0125573697, 0.0121994279, 0.039315246, 0.0008085595, 0.0153517844, 0.031449385, 0.0331634246, 0.0283219106, -0.0055982228, 0.0365347452, 0.0277202409, 0.0354011916, 0.0756924972, 0.0329797268, -0.0136918603, -0.0085120564, -0.0066230302, -0.0444629975, -0.1081597432, 0.0397745743, 0.0617941357, 0.0573358983, 0.0612228401, 0.0116121341, -0.1067985967, 0.0165568404, 0.008950037, 0.0016086468, -0.0091430293, -0.0718751997, 0.0439394154, 0.0255646948, 0.0112334816, 0.0016464012, 0.0462466329, -0.0055781691, 0.0550150983, -0.0202879533, 0.0107756648, -0.0205633622, -0.0141920196, 0.0437436476, 0.0206954665, -0.0514659919, 0.0351375192, -0.0284263771, -0.0230563097, -0.0610555261, 0.059168186, -0.0280569661, -0.0046732761, 0.033434853, 0.0043365713, -0.0002900997, -0.0374170952, -0.0638535991, 0.0030819257, -0.0014218355, -0.0128310751, 0.0104524158, -6.009171202e-33, -0.0437016226, -0.0279088505, 0.0639156401, -0.0031763848, -0.0224775076, -0.0168126915, -0.0250379555, 0.0117626004, -0.0006593252, 0.0297350883, 0.007600998, 0.0144112175, 0.0114752697, -0.0116889337, 0.0440696292, 0.0033722154, 0.0332703181, 0.0112455655, -0.0356566906, 0.0131428614, 0.0069157458, 0.0181521419, 0.0366929397, -0.0532137901, 0.0218939018, 0.0107195592, -0.0151139842, 0.088889055, -0.0504565984, 0.0570084751, 0.0254146196, 0.004605744, -0.0071900971, -0.045000609, -0.0329351202, -0.003334413, -0.05572889, -0.0265746005, 0.0320566818, -0.0093811769, -0.0793389976, -0.0138274329, 0.0120635694, 0.0120357377, -0.0095618507, 0.0230848379, 0.0316710025, -0.0032503444, -0.0153151136, 0.0466226824, -0.0590174273, -0.0039345273, -0.0068925461, -0.0391828232, 0.0545949228, 0.0031758486, 0.0032667976, -0.0050926046, -0.0016088051, 0.0523866303, 0.0329240449, 0.0178881474, 0.0542562343, 0.0278792419, 0.0259424187, 0.039386414, -0.0064173113, 0.0217561144, -0.0261489935, -0.0552642569, 0.0302528832, 0.0502694882, 0.0353065059, 0.039320603, -0.0215920657, 0.0481888354, -0.016480606, 0.0000180309, 0.0579380468, 0.0756005943, 0.0148741398, 0.0189376343, -0.0256812423, -0.016127605, -0.067964986, 0.0265250113, -0.0063937735, -0.0566810891, 0.0224832743, 0.0354205966, -0.0021035026, -0.043702472, -0.0146649182, -0.0321350768, -0.0359291956, 0.0090189921, -0.0099568842, 0.000578247, -0.0220186282, 0.0011779797, -0.0982805341, -0.0417943634, -0.0190490745, -0.0390069745, -0.0152675482, 0.0200209506, 0.008124942, 0.0366858654, -0.0281783342, 0.0162582509, -0.0398619398, 0.0070827184, 0.0339525491, -0.0498706251, 0.0220709275, -0.0186878927, -0.0266590752, 0.0393290743, 0.0250602383, -0.0535632558, -0.0132327368, -0.0009526529, -0.0447596461, -0.0189054962, -0.0171621386, -0.0126339998, -0.0582484752, 0.0370655134, 0.0126892319, -0.041924987, -0.0144285783, -0.0048232041, 2.922e-7, -0.015353797, 0.0488515235, 0.0208658464, 0.0264923293, 0.013990717, 0.0455498286, -0.0608277246, 0.0107840179, 0.0132157309, 0.0262008775, 0.0461058207, 0.0545816161, 0.0196327716, 0.0307506621, -0.0488925911, 0.0003695125, -0.0602667443, -0.0144022591, -0.0697422922, -0.0284789316, 0.0207311567, 0.0141050201, 0.0455063097, 0.0112182768, 0.0179846287, -0.0501538292, 0.0407012887, -0.0558002815, -0.0295922291, 0.0252423286, -0.0028818725, -0.0023022604, 0.0050359475, -0.004274792, 0.0218108706, 0.0164419357, -0.0683742985, 0.0325467736, 0.0031155844, 0.0045854989, -0.0156269912, 0.0166600551, 0.0022421773, -0.0344454311, 0.024123041, -0.0627494007, 0.0051253238, 0.0057424312, 0.0472423844, -0.0389859304, -0.0168520305, -0.0285246223, -0.0297860336, 0.0124801705, -0.0098503986, 0.0022485221, 0.0004935339, -0.0620068461, 0.0172252879, -0.0229056906, -0.0382547453, -0.0320104323, -0.0449026413, 0.0367312543, -0.0590096749, -0.0405653752, 0.0119248461, 2.262944634e-34, 0.0153399659, -0.0239669122, 0.0066438993, 0.0434883609, 0.0426664948, 0.0253266823, -0.0465696193, 0.0365722924, 0.0677118301, -0.0162358154, -0.0369113162 ]
http://arxiv.org/abs/2401.06591v1
http://arxiv.org/pdf/2401.06591v1
Prometheus-Vision: Vision-Language Model as a Judge for Fine-Grained Evaluation
2024-01-12T14:19:23
2024-01-12T14:19:23
Seongyun Lee, Seungone Kim, Sue Hyun Park, Geewook Kim, Minjoon Seo
cs.CL
cs.CL
Assessing long-form responses generated by Vision-Language Models (VLMs) is challenging. It not only requires checking whether the VLM follows the given instruction but also verifying whether the text output is properly grounded on the given image. Inspired by the recent approach of evaluating LMs with LMs, in this work, we propose to evaluate VLMs with VLMs. For this purpose, we present a new feedback dataset called the Perception Collection, encompassing 15K customized score rubrics that users might care about during assessment. Using the Perception Collection, we train Prometheus-Vision, the first open-source VLM evaluator model that can understand the user-defined score criteria during evaluation. Prometheus-Vision shows the highest Pearson correlation with human evaluators and GPT-4V among open-source models, showing its effectiveness for transparent and accessible evaluation of VLMs. We open-source our code, dataset, and model at https://github.com/kaistAI/prometheus-vision
[ 0.0053991121, 0.0068500065, -0.0269865058, 0.0553480536, -0.0234258287, 0.0022264642, -0.0006853745, 0.0057191346, 0.0127711752, -0.0654004589, -0.060938701, -0.0257027373, 0.0200499445, 0.0549982749, 0.0220115725, -0.0723090172, 0.0220853537, -0.0345200524, 0.0046918113, 0.0191389807, 0.0286153238, -0.0009748386, -0.0188042615, 0.0224416163, 0.0312863588, -0.0426636189, -0.0049436986, 0.0013462243, 0.0488878675, -0.0186148714, -0.0032301068, 0.0603898056, -0.003205654, 0.0048975581, 0.0000020649, -0.0285238326, 0.0420781523, -0.0019001226, 0.0316921547, 0.0267264936, 0.0518105291, 0.0332959294, 0.0085882749, 0.014838744, -0.0489693321, -0.0359632, 0.0323890597, 0.0237345807, 0.0862892941, 0.0240393486, 0.0007111505, 0.0073490557, -0.0044569434, 0.0035743928, 0.0348057523, -0.0189137459, -0.0140103446, 0.0178281162, -0.0110004591, 0.0042429836, -0.0388824604, 0.0213196017, 0.0335468501, -0.0146846958, 0.046707388, 0.0011169305, -0.0340892412, -0.021080466, -0.0247437153, 0.0962729901, 0.0156331714, -0.0032117444, -0.0234515518, -0.0198708344, 0.0112726269, -0.0311635453, -0.0397276208, 0.0039093988, 0.0041564177, -0.0081980918, -0.0932149142, 0.0208927672, 0.0122647434, 0.0078793271, 0.0248019975, 0.0153863411, 0.0042682709, -0.0216063783, 0.0085356394, 0.0113805933, 0.010257896, -0.0211954713, 0.0016581663, 0.0089450143, -0.0202808622, -0.0105067678, -0.0407361761, -0.0038437156, 0.0199018512, -0.0291545521, 0.0743591487, -0.0002158101, -0.0381572768, 0.0305821653, -0.0573749617, 0.1264827996, 0.027733149, 0.0527072363, -0.0369749479, 0.0134472335, -0.0371343903, 0.0115269814, 0.0249254275, -0.0139814727, -0.0225081481, -0.0089427959, -0.0807976499, -0.0094208522, -0.0607433356, 0.0379532799, -0.0131370733, 0.0357681923, 0.0101139033, 0.0135123208, -0.0765054971, 0.0450127833, 0.0169076994, 0.0026220107, 0.0022422683, -0.0304519329, 0.028377641, 0.0242457855, 0.0166627057, 0.01934845, -0.0097404299, 0.0444843955, 0.0047084712, -0.0156637449, 0.0054773823, -0.021695178, -0.0118565597, -0.0461431183, 0.0101007028, -0.0691909045, -0.0037336436, 0.0075465492, 0.0035176119, -0.0111276954, 0.0088949716, 0.0620660037, 0.0147706792, 0.0728197843, 0.0066021541, 0.0069627827, -0.0249564853, 0.0177674033, 0.0156473015, 0.037046548, 0.038095478, 0.0684661046, 0.0199733693, -0.06281735, 0.0507807881, 0.0352908671, -0.0235788114, -0.0277754683, -0.0343162455, 0.014288567, -0.0130633526, 0.0185430571, 0.0020663126, 0.0620074607, 0.0198894609, 0.0133523559, 0.0723180994, 0.0519527197, 0.0488405861, -0.0481578149, 0.0444714054, -0.0007229137, 0.0103934966, -0.0029711623, -0.054286886, 0.0248945337, -0.011116703, 0.0169393308, -0.0123179294, 0.0132904816, -0.0048386343, -0.0775571465, -0.02980504, -0.0133956447, 0.0085353889, 0.0238417406, 0.0397389159, 0.002300458, -0.0383782014, -0.0107618105, 0.0134508312, -0.0800985992, 0.0301557016, -0.0661550537, 0.035618294, 0.1100636795, 0.0504299626, 0.0256831255, 0.009866761, -0.0104805073, -0.0016736902, 0.0348749422, 0.0486666486, -0.0060786381, -0.0081781326, -0.0647667795, -0.0619159266, 0.0092192944, -0.0170410294, -0.006217442, -0.0182297528, -0.0139935985, 0.043921493, -0.0491341799, -0.06961146, 0.0333955176, 0.0572072938, -0.0235273018, -0.0382079259, 0.0066754054, 0.0142396428, 0.0098048272, 0.0050581293, 0.0261869933, 0.0203188621, 0.0061277258, 0.0204987098, -0.0227391645, -0.0250399094, 0.012913866, 0.0399465375, -0.0889801532, 0.0027414779, 0.0673376918, -0.0314512663, -0.0288207196, 0.0078242477, -0.0258946791, -0.027467737, -0.0382486321, -0.0046496917, -0.0310232658, -0.014343393, -0.0422382094, 0.0338170044, -0.0147168497, 0.047893513, -0.0132056456, 0.0135008907, 0.0144655444, -0.0340985395, -0.0527524538, -0.0368387289, -0.0171559583, 0.0607667193, 0.0061367941, 0.0626269504, -0.0573794246, 0.0061485074, -0.0840831101, -0.0207038336, -0.0134225311, -0.0004822036, 0.0145254824, -0.0331195183, 0.0034352504, 0.0024924991, -0.0463874303, 0.0283467602, 0.03081109, -0.0054049976, 0.0165465474, -0.0230557453, -0.0024684498, -0.0261211935, -0.0289702509, -0.0225347709, 0.029652847, 0.0601448715, 0.0417318642, -0.0263983868, 0.0408353023, -0.0168133564, -0.0076870248, 0.0164409913, -0.0476501584, 0.0257225093, -0.005413135, 0.0054914393, 0.0676904768, 0.0036548523, 0.0083477804, 0.0285300352, -0.0127529707, -0.0496138744, -0.0127158128, 0.012532332, -0.0182731785, -0.0138794351, -0.0385255702, -0.0094236247, 0.0035584553, 0.0070673064, 0.0191964321, -0.0711403415, 0.0430638306, -0.0358260348, -0.0452847145, -0.0409134477, 0.0139252031, -0.0230241958, 0.0351783112, -0.0227000788, -0.0755813122, 0.0526330732, -0.0649036095, -0.0131475022, 0.0064340704, 0.0257476307, -0.0117832189, 0.0622796342, 0.0187396426, -0.005973259, -0.0256350543, 0.0151216453, -0.0623490214, -0.012923453, -0.0020274341, -0.0680934638, 0.0569711849, -0.0507323518, -0.0346782357, -0.0341630429, -0.0077827852, -0.0372806154, 0.019550439, -0.0227591433, 0.0021189456, -0.0656187311, 0.0065329713, -0.0264136884, 0.0181130618, 0.0293349307, -0.0013163745, -0.0371851288, 0.0039859749, -0.0054595335, 0.0008483627, 0.0665828213, 0.0220054574, 0.0119002135, -0.0478709899, -0.0048974133, 0.067813091, 0.0558371209, 0.0173460618, -0.045979023, -0.0033497612, 0.0289614201, 0.0283489879, 0.0260487404, 0.0401191786, 0.0438070558, -0.0686504692, 0.0119703794, 0.1090756208, -0.0018881029, -0.0551330596, -0.0249426458, -0.0112875588, 0.0034005335, 0.0480443947, 0.0092135649, -0.0561852679, -0.0376083367, -0.0287791453, 0.0413249619, 0.0097749652, 0.0106056882, 0.0149561549, -0.0948096365, 0.0543726087, 0.0039456137, 0.0001057077, -0.0469703823, 0.0151163973, 0.0076577319, -0.0235429406, 0.0006915185, 0.0074161608, -0.0211482923, 0.0259841122, 0.0110488841, -0.0154394116, -0.0295340661, 0.0751198009, -0.0419592746, -0.0038453161, 0.0984287336, 0.0165564809, -0.0251066759, -0.1289901435, 0.0028854602, -0.0468563996, 0.0003467931, 0.0048008095, 0.044245638, -0.0273114368, -0.0244647078, -0.019593183, 0.0212929137, -0.0415538251, -0.0011381488, 0.0180703923, 0.0311573725, -0.0207581073, -0.0179779585, -0.0320594944, 0.0084987124, -0.0151428999, 0.0529432707, 0.0442540348, -0.0704594404, -0.0334545225, -0.0226216149, 0.001398155, -0.0463181213, -0.0774361342, 0.0216120537, 0.0404563956, -0.0041662254, -0.0741456524, -0.056931749, 0.0425983518, 0.030705912, -0.0228026677, -0.0502869338, -0.0116344057, 0.0311136302, -0.0571920462, 0.0870306417, -0.0142741073, 0.0565534532, -0.0754877999, 0.0135587044, 0.0143767241, -0.0195381436, -0.0275911707, 0.0443651266, -0.0592926927, -0.0102672772, -0.0014240131, 0.0964414552, 0.021351194, -0.0099077774, -0.0194234848, -0.0287297741, 0.057595402, 0.0001060051, -0.0299570821, 0.0321429409, 0.0062707067, -0.027511809, -0.0186801646, 0.0050245831, -0.0292097982, 0.0014498881, 0.0485773496, 0.0071001193, 0.0330005102, -0.0570333414, 0.00169515, 0.0337345079, 0.0727865696, -0.0146571295, 0.010606884, -0.0093900142, 0.0080386391, -0.0067716935, -0.013531669, -0.0625944287, -0.0115502803, 0.0139796855, 0.0057083885, 0.0065700309, -0.0116326315, -0.0532873049, 0.0264048427, -0.0731938779, 0.0396220274, 0.0439867079, -0.0148967495, 0.0007041684, -0.0052662906, -0.029186761, -0.0136205303, -0.0445282646, 0.0290878639, 0.0291436594, 0.0812389627, 0.0001494109, 0.000977561, 0.0049285893, 0.0608887039, -0.0203777067, -0.0142470878, -0.0467849933, 0.012829029, 0.0222069304, 0.0371562466, 0.011413129, 0.0035521025, 0.0173974372, -0.0493074507, 0.0298883449, -0.0019684306, -0.016581146, 0.0648556054, 0.0335382819, 0.0097851055, -0.0493037514, 0.0371267013, -0.01789256, -0.0084768254, -0.0316089317, -0.0074811159, -0.054551471, -0.0290953852, 0.0205740817, 0.0100511275, -0.0081749111, 0.0009963247, -0.0477253832, -0.0769244656, 0.0260408316, 0.0837449059, 0.0220005941, -0.0285351034, 0.0586291291, 0.0707922205, -0.0200418103, -0.0290287547, -0.0293454826, -0.0304366685, -0.0208724346, 0.0067788428, -0.0231463872, -5.926378931e-33, -0.0112677217, -0.0259422418, 0.0233962685, 0.0335282385, -0.0220950078, 0.0223581102, 0.0034507227, 0.0182712749, -0.0022928182, 0.0050851889, 0.0380586572, -0.0163208898, 0.0083419411, 0.0568697713, 0.0135302478, -0.0034281816, 0.0397648774, -0.0008184167, -0.028906526, 0.0178953819, -0.0307430401, -0.0238122381, 0.0469966233, -0.054501351, 0.0419598781, 0.0146020027, -0.0326277986, -0.017179396, -0.0437645726, 0.1034750417, -0.0181800313, 0.0535280928, 0.0321905389, -0.0130656762, -0.0276142266, 0.0469335653, -0.024719812, 0.0085739195, 0.0189659409, 0.0458135121, -0.0795119852, 0.0090191402, 0.0637566075, -0.0229087546, -0.0465201177, -0.0420365259, 0.0684201345, -0.0360889807, 0.003545963, -0.0053235111, -0.0132350735, 0.0103233112, 0.0160757713, -0.0415961146, 0.0058750277, 0.0588540249, -0.0178297702, 0.0465622023, -0.0483079478, 0.0167714376, 0.0161307473, 0.0135757374, 0.1103672311, 0.0664106235, -0.0147960177, 0.050574854, 0.0104838405, -0.026554266, -0.0031750596, -0.04584831, 0.0455563366, 0.0459429584, 0.0898505077, 0.065394327, -0.0314741544, 0.0048817834, -0.0372878462, 0.0389300399, -0.0533026643, 0.0704281032, 0.0403279774, -0.0056622089, -0.0503166802, 0.0048216567, -0.0717787072, -0.0235661641, -0.0655673519, -0.0097892703, 0.0610121973, -0.0072178375, -0.0051506767, 0.0164612662, 0.0442755856, -0.0328806452, 0.0165531468, -0.0319919623, -0.0143703949, 0.0494750254, -0.000421203, -0.0061443555, -0.03163746, 0.0218113214, 0.0247404352, 0.016649792, 0.0211284608, -0.0146973003, 0.0020079531, 0.0036093174, -0.0463010482, -0.0027942369, -0.0351684093, -0.0134188402, -0.0073795225, 0.035731785, 0.0284871086, 0.0003909615, -0.0495366268, 0.0495430194, -0.0502580404, -0.0110969385, -0.0256216303, -0.0563036092, 0.0080765467, 0.0232959669, -0.0587157197, -0.026315745, -0.0360857286, -0.0140419593, 0.0126969498, 0.0031003309, 0.0162260793, 0.0337980688, 2.591e-7, 0.0239040367, 0.0256958008, -0.023874348, -0.0223862324, 0.0139356088, 0.0679527745, -0.015139794, 0.0372695997, 0.0366984494, -0.0428631641, -0.0080037322, 0.0202379357, 0.0542511381, -0.0151464492, -0.0425778814, 0.0430097096, -0.0207506772, -0.0033913348, -0.0112597859, 0.0381367318, 0.0978158042, 0.048238311, -0.0073753637, -0.0231764056, 0.0315400101, -0.0354112722, 0.0383689106, -0.0352612101, -0.0127125615, -0.0180852525, 0.0299218111, 0.0003242559, 0.0120022241, 0.0441704877, -0.0145311793, -0.0214573815, 0.036478281, 0.065956898, -0.024366742, -0.0099487994, -0.0174279697, -0.0012738907, -0.0055244812, -0.0657540932, 0.0597421564, -0.0261455514, -0.0088936323, -0.0240228847, -0.0213492978, -0.0082449522, 0.0102494229, -0.0104605751, -0.0268862117, 0.0104265297, 0.0241397098, -0.0439896584, -0.0471078418, -0.0470562391, -0.0313241482, -0.0231483988, -0.0161633696, -0.055245854, -0.0624335036, -0.0065544299, -0.010334719, -0.0506774746, -0.0391133651, 2.076777553e-34, 0.0151105812, -0.0091615776, 0.0321799926, -0.0401461571, 0.0245130081, 0.0202053878, -0.0182116702, 0.0119919907, 0.0095831817, -0.0540428124, 0.0042693303 ]
http://arxiv.org/abs/2401.06583v1
http://arxiv.org/pdf/2401.06583v1
Mapping Transformer Leveraged Embeddings for Cross-Lingual Document Representation
2024-01-12T14:01:15
2024-01-12T14:01:15
Tsegaye Misikir Tashu, Eduard-Raul Kontos, Matthia Sabatelli, Matias Valdenegro-Toro
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Recommendation systems, for documents, have become tools to find relevant content on the Web. However, these systems have limitations when it comes to recommending documents in languages different from the query language, which means they might overlook resources in non-native languages. This research focuses on representing documents across languages by using Transformer Leveraged Document Representations (TLDRs) that are mapped to a cross-lingual domain. Four multilingual pre-trained transformer models (mBERT, mT5 XLM RoBERTa, ErnieM) were evaluated using three mapping methods across 20 language pairs representing combinations of five selected languages of the European Union. Metrics like Mate Retrieval Rate and Reciprocal Rank were used to measure the effectiveness of mapped TLDRs compared to non-mapped ones. The results highlight the power of cross-lingual representations achieved through pre-trained transformers and mapping approaches suggesting a promising direction for expanding beyond language connections, between two specific languages.
[ 0.015155023, -0.0180759095, -0.0121954195, 0.0142292678, 0.0271703135, 0.017470615, 0.0139912711, -0.0008222577, 0.0197896827, -0.0414637066, -0.1066170335, -0.022630509, -0.0355848372, -0.0076999562, -0.0029156411, -0.0325973034, 0.0369440243, -0.0025509305, -0.0708056837, -0.0152635723, 0.0130027104, 0.0315431245, 0.0639541149, 0.0314327069, 0.0049445401, 0.0115872668, -0.0063016647, -0.0384255946, 0.0276859403, 0.0177980009, -0.0262047295, -0.0073606349, 0.0233171266, 0.0514096282, 0.0000017214, -0.0004262602, -0.0159700979, 0.0062895357, 0.0566340201, -0.0245971624, 0.0395241603, -0.0194145013, 0.0223125331, 0.0147940638, -0.0160419811, -0.0360844731, 0.0312058702, 0.0559076779, 0.0117727583, 0.0486458018, -0.0134189557, -0.0200777389, 0.0449463651, -0.0138068935, 0.0288036577, -0.0218086783, -0.0192109589, 0.0044804611, 0.0084142331, 0.0496537127, -0.0187935401, -0.0019021578, -0.0010332925, -0.0234408174, 0.0192460679, 0.0149281155, -0.0120559093, 0.0010469104, 0.0075231842, 0.0492010601, -0.0289308503, -0.0078236144, -0.043698784, 0.0200324692, -0.0334917679, 0.0484110788, -0.0312517062, -0.0285904221, 0.0127939684, 0.0106801242, 0.0255050994, 0.0284870137, 0.0288606696, -0.0113037508, -0.05438108, 0.0551268682, 0.0293388106, -0.012885429, 0.0405815318, 0.017188333, 0.0197801832, -0.0143666854, 0.0500742197, 0.0084359217, 0.0153612234, -0.0112681929, 0.005693974, -0.0263467021, 0.0498176999, -0.0415126272, 0.0161794238, 0.0402328148, -0.024736831, 0.0577293374, -0.0797003508, 0.0453268886, -0.0424026102, 0.0332157314, -0.0578416474, -0.0606190301, -0.0585682616, -0.0065659354, 0.0004051784, -0.0036707011, -0.0120036379, -0.0199708454, -0.0367854238, 0.0446237884, 0.0088110184, 0.0050313994, 0.0249291025, -0.0032453192, -0.0083826333, -0.0106223812, -0.0290822424, 0.0529459752, -0.0207713079, -0.0327547565, -0.0554697961, -0.0063840598, 0.0440172628, 0.0286885556, -0.0164473131, -0.0616920479, 0.001659177, 0.0258286763, 0.0210732892, -0.0271969493, -0.0046959314, 0.0190247875, 0.0362496376, -0.0444621854, 0.0321008265, -0.0586159155, 0.0364673361, 0.0563312024, 0.0341459811, 0.0099191554, -0.0203504469, -0.014262734, -0.0132240485, 0.061709512, 0.0493754894, -0.0265771933, 0.0100851338, -0.0074450504, 0.0017740683, 0.0413635299, -0.0295976698, 0.0327878743, 0.0398684815, -0.0025375648, -0.0335034467, 0.0057751248, -0.0204641428, 0.0078650704, 0.0262481533, 0.0386464782, 0.0168956704, 0.0057142465, 0.0542271025, 0.0047563226, -0.0471678227, -0.0112843318, 0.0159054045, 0.0269514788, 0.0848197043, 0.0471793786, 0.0434222631, -0.0160306133, -0.0344931856, -0.0177021716, 0.0004221991, 0.0425620601, 0.0293274131, -0.0335512981, -0.0003612264, 0.0650618896, -0.0675685257, 0.0099691283, 0.0266927183, -0.0479316264, 0.0370542668, -0.0027388013, 0.0482860766, -0.0033912938, 0.0037483103, 0.051028654, 0.0047366042, -0.0520746335, 0.0379296467, 0.0140151102, -0.00325368, 0.0386028625, 0.019588653, -0.0070185377, 0.0106414976, -0.0353342369, -0.0097501464, -0.0139688738, 0.0709142014, -0.0160389189, 0.0114959553, -0.0433813855, -0.060325671, 0.0007191051, -0.016977502, 0.0645868629, -0.0426412411, 0.0644648448, 0.0332212932, -0.0817311183, 0.0173409358, -0.0031876429, -0.0539719202, 0.0210351478, 0.016164314, 0.0332642309, -0.0244761426, 0.012599905, -0.0004644587, -0.006355864, 0.0246674009, -0.032112062, -0.0211568903, 0.0167861432, -0.0108106807, 0.0311049931, 0.0331174769, -0.094594866, 0.0284909215, 0.0441047139, 0.0164426044, -0.017690517, -0.0010466716, -0.0047216373, 0.0602258146, -0.0410487317, 0.0157889687, -0.0353866629, 0.0264878441, 0.0013529416, 0.0134545118, 0.0020084286, 0.0630750209, -0.0064709382, -0.0446180068, 0.0419046767, 0.0186349209, -0.0456368662, 0.045055043, 0.0303765666, 0.009226609, 0.0257054102, -0.0006192717, 0.0091084978, -0.0188402385, -0.0839958191, -0.0238315165, -0.0260188989, 0.0337919481, -0.0019886442, 0.0131991506, 0.0300705545, -0.0163799413, -0.0871363878, -0.0081751319, -0.0183540471, 0.0468071587, 0.003005519, 0.0051591625, 0.0464089513, -0.0113774743, -0.0187096614, 0.0056391493, 0.0421804264, -0.0208190419, 0.025045028, -0.0639286116, -0.0144550726, -0.0204167124, -0.0158673748, -0.0396206453, 0.0179850701, -0.0260958448, 0.0121549154, 0.0550590865, -0.0060842303, -0.0163886417, -0.0185196958, 0.0518563278, 0.002618874, -0.0821434185, -0.0189409479, -0.0220638532, 0.0206743628, -0.0415179133, -0.0214662552, 0.0134389754, -0.0189240538, -0.0467085056, -0.0143786129, -0.0452177152, -0.0199153535, -0.0064442093, -0.0028653631, -0.0389694087, -0.0057924399, 0.0339870006, 0.0535567962, 0.0259690359, 0.0003753967, 0.0486793816, -0.0232877471, 0.0106954575, -0.0527193733, -0.0094533544, -0.0749015361, -0.0215372089, 0.0034040187, 0.0325681195, -0.0707490966, -0.0405230336, -0.0149030806, 0.0253164209, 0.0379154012, -0.0368045308, 0.0155345015, 0.0835391432, -0.0448945053, -0.0523602255, -0.0297285188, -0.0111308098, -0.0392100215, 0.0210324191, 0.0260402951, 0.0492154546, -0.0016788784, -0.0819655955, 0.0238099154, 0.014155942, 0.0137941772, -0.0145323649, -0.0311550964, 0.015088046, 0.0383767709, 0.0398239233, -0.0116776144, 0.0365981869, -0.0040524364, -0.0076476615, 0.0068969447, -0.0394650102, -0.0644387081, -0.0376439393, 0.0076031708, 0.0620588474, -0.0334795825, -0.0424601696, -0.0495726727, -0.0094357263, 0.0108211832, 0.0140253091, 0.0582385696, 0.0327013023, -0.1287743002, -0.0399664119, -0.0765709877, -0.0034735515, 0.033231277, 0.0654081479, -0.0868923366, 0.0320619419, -0.0048772166, -0.0238808431, 0.039798405, 0.0044607669, 0.0113391364, -0.1006279215, 0.0278563704, -0.0135311065, 0.0181856528, -0.0245359093, -0.0662102401, -0.0225396995, -0.0173065234, 0.0282826144, -0.0449448265, -0.0211714488, -0.0171689913, 0.0068942928, 0.005421204, -0.0172615554, 0.0009047858, -0.0535238422, -0.0432369523, 0.0089932801, 0.0422840379, -0.0027384264, -0.0578809194, -0.0493106395, -0.0133638382, -0.0150352428, 0.0047211954, 0.0010269772, -0.0378445126, 0.0022951623, -0.0071301647, -0.0432491787, 0.0034373952, 0.0061990703, -0.0347700752, 0.0924208462, -0.0298603456, 0.020498516, -0.019895222, -0.0074075651, 0.009408718, 0.0472929776, -0.016863808, -0.0185451172, 0.0052426569, -0.0137340715, 0.035838712, 0.0232493095, -0.0576013215, 0.0320428275, -0.0240176339, -0.0279672649, -0.0402551405, -0.0553501435, 0.0135589084, -0.0036755963, 0.0273250006, -0.0054005249, -0.0384099185, -0.0355938338, 0.0263046212, 0.0390185155, 0.0023185601, 0.0220986754, -0.0438550301, 0.0366548523, 0.0409837589, -0.0542006865, 0.0007862499, -0.0603991635, 0.0088815186, -0.0211841874, -0.0400221236, 0.0132623995, 0.0060785217, 0.0323901437, -0.0259857979, -0.0708740503, 0.0657627583, 0.0284105502, -0.0332625434, -0.050950937, 0.0555884354, 0.006040215, -0.0202836581, 0.0325383432, -0.0751266554, 0.0055670189, -0.0192718878, 0.0227331687, 0.0145414518, -0.0221867524, 0.0246978477, -0.0175826196, 0.0332020037, -0.0247189682, 0.0651471168, -0.0453688279, 0.0230845101, -0.0347959958, 0.0018220377, -0.0033988978, -0.0124591971, 0.079877913, -0.0433714166, -0.0123321032, 0.0467802733, -0.0093416339, 0.0162779801, -0.0460323431, 0.0706691444, 0.0089285681, 0.0083040809, -0.0159835201, 0.0756301507, -0.026679093, -0.0401130207, 0.0386562645, 0.0134295924, -0.0445439778, 0.027050456, 0.0019834165, -0.002750119, -0.0245949607, 0.0491605178, -0.0293478519, -0.0373546556, 0.0017086148, -0.0544987954, 0.0582463369, -0.0544301495, 0.0494039543, -0.0211888589, -0.0188281797, -0.0097263679, -0.0060285404, -0.0067485971, 0.0064587477, 0.0340232886, -0.0022056508, -0.000646445, 0.0266504548, 0.0737518519, -0.0415449776, -0.0242782645, -0.0010994124, -0.0453450754, -0.0211927164, 0.0090912469, 0.0577045754, 0.0139981164, -0.0596516617, -0.0363676958, -0.0032539358, -0.0493536443, 0.0241939109, -0.0213707872, -0.0389594659, -0.0056251888, 0.0195759907, 0.0677684546, 0.0064045205, 0.032444112, -0.0516222231, 0.0189874396, -0.0010490183, -0.0142188603, -0.0232736636, -5.686507187e-33, 0.0170685053, 0.0377931297, -0.0172700733, 0.0406562127, -0.0007426353, -0.0037888696, 0.0211998671, 0.0066295839, -0.0153154628, 0.0170719661, -0.0248645321, -0.0181886833, 0.0212185178, 0.0017631219, 0.0123237194, 0.0106099043, 0.045882605, 0.0306362417, -0.0020545302, 0.0263124164, 0.0700942799, 0.0485177822, 0.0854144916, -0.063864015, 0.0333681554, -0.0021200145, -0.0014125047, -0.0385607481, 0.0784939528, 0.0825884938, -0.0279688947, 0.0447896048, 0.0110821454, -0.0408585183, -0.0095128156, 0.0185147766, -0.0915921256, -0.0028486766, 0.0214674324, 0.0633262917, 0.0258526281, -0.033133015, -0.0048634233, -0.0231753271, 0.0187433623, -0.0017903508, 0.0459536314, 0.0167876501, -0.0458655283, -0.0534999259, -0.0363119543, 0.0014110906, 0.0045029507, 0.0248591937, 0.0695477575, 0.0929618254, 0.0058372854, 0.0861872137, -0.0881591961, 0.0200420972, -0.0726375952, 0.0147882588, 0.0501503572, -0.0545833148, -0.0361754373, 0.0465731099, 0.001291216, -0.027756447, 0.0409547649, -0.0100661637, 0.0454191901, -0.0045316219, 0.0257782172, 0.0588130429, 0.0220926274, -0.0271939375, -0.041959431, 0.0548888706, -0.0041319798, 0.0179838669, 0.0291560292, 0.0301039796, 0.0104332706, -0.0061938739, -0.0255190507, -0.0252114106, -0.0290609654, -0.0743515268, 0.0044401628, 0.0028664924, 0.0219715964, 0.0103645399, 0.0664115548, -0.0548946746, -0.0242783949, 0.039834857, -0.029060645, 0.0001622424, 0.0104953973, 0.0129108634, -0.0159299057, -0.0396073647, -0.0068548704, -0.0593808852, -0.0206456613, -0.0066143111, 0.0630822033, 0.0116200717, -0.06145427, 0.0006613335, -0.0125401821, -0.0478228368, -0.0238764677, 0.0389332287, 0.0176760182, 0.0018700339, -0.0209715925, 0.0483751073, 0.0405156948, 0.0352431796, -0.0205859467, -0.0458314493, 0.0327482969, 0.0378556587, -0.0080291955, -0.0211876612, -0.0523282327, 0.0342656225, 0.0635695085, -0.064218536, -0.0106341727, 0.0216472037, 2.559e-7, 0.0609792992, 0.0107102003, -0.0075865947, -0.0438220277, 0.0090166554, 0.0127293086, -0.003102252, 0.0743209422, 0.0410353318, 0.0493723787, 0.0078438036, -0.0262624733, 0.0147822844, 0.0486190654, -0.0689572692, 0.0100651262, -0.0634926409, -0.0366959497, -0.0285928287, -0.0174827557, -0.0130028091, 0.1060917526, -0.0152320797, 0.008909869, -0.0297453273, -0.0151767852, 0.1037342846, -0.0782128647, -0.0390355773, -0.020844873, 0.0337451808, 0.0149834575, 0.0017472737, -0.0277344044, -0.0123016015, 0.0550100766, 0.0568821877, -0.0145056639, -0.000925, -0.0414227955, -0.0077729952, -0.029133128, -0.0045537697, -0.0648367256, 0.0537412502, -0.0459955558, -0.0159033462, 0.0158291757, -0.058319211, 0.0333542675, 0.092999585, -0.0437598713, -0.0283438228, 0.051093962, 0.0408383943, 0.0116390111, 0.0141236829, -0.0438203961, 0.0122632813, -0.0092194397, -0.0240064822, 0.0047227065, -0.0305735618, -0.0031154426, 0.0381749496, 0.0150022013, 0.0223227423, 1.934505313e-34, 0.0255357046, 0.0141664697, -0.0047531351, -0.0230862685, 0.0274991132, -0.0220798198, 0.0162783656, 0.0203674231, 0.02451244, -0.0776415244, -0.0311618689 ]
http://arxiv.org/abs/2401.06832v1
http://arxiv.org/pdf/2401.06832v1
XLS-R Deep Learning Model for Multilingual ASR on Low- Resource Languages: Indonesian, Javanese, and Sundanese
2024-01-12T13:44:48
2024-01-12T13:44:48
Panji Arisaputra, Alif Tri Handoyo, Amalia Zahra
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
This research paper focuses on the development and evaluation of Automatic Speech Recognition (ASR) technology using the XLS-R 300m model. The study aims to improve ASR performance in converting spoken language into written text, specifically for Indonesian, Javanese, and Sundanese languages. The paper discusses the testing procedures, datasets used, and methodology employed in training and evaluating the ASR systems. The results show that the XLS-R 300m model achieves competitive Word Error Rate (WER) measurements, with a slight compromise in performance for Javanese and Sundanese languages. The integration of a 5-gram KenLM language model significantly reduces WER and enhances ASR accuracy. The research contributes to the advancement of ASR technology by addressing linguistic diversity and improving performance across various languages. The findings provide insights into optimizing ASR accuracy and applicability for diverse linguistic contexts.
[ 0.0119943144, 0.0097886119, 0.0290903617, 0.0393432565, -0.0155639378, 0.0064850552, 0.0259468146, -0.0146432053, -0.0138602545, -0.0205785707, -0.0545614995, -0.0678650588, 0.0824376419, 0.0204182994, 0.0120749092, -0.044394318, 0.0330850631, -0.0715811402, 0.0249241851, -0.0056906794, -0.0021696417, 0.0133071067, -0.0203111563, 0.0396116637, -0.0373105966, 0.0176958349, -0.0251097847, -0.0059993374, 0.008094633, -0.0265329946, -0.0067353887, 0.0075318613, 0.0076139597, 0.0666672885, 0.0000021111, -0.0471876115, 0.0030921756, -0.003364821, -0.0720219389, 0.0140593881, 0.0211542752, -0.0168814939, -0.0310867596, 0.0390436091, 0.0209693443, -0.0215201844, 0.0670308769, 0.0633820146, -0.0158973634, 0.0473407842, 0.0013194379, -0.051342696, 0.041294232, -0.0095189493, -0.0415557325, -0.0225840304, 0.0109724384, -0.0055753221, -0.0120408144, -0.0228123125, -0.0113413231, 0.0402079672, 0.0109809199, -0.0038176798, 0.0030478514, -0.0863107368, -0.04144945, -0.0599751696, 0.0133341393, 0.0176562518, -0.0164311957, -0.0370177999, -0.0230669472, -0.0080640884, -0.0441589803, -0.0073738573, 0.0133477347, -0.0021729865, -0.0221789647, -0.0075709028, 0.0410904288, 0.0153069403, 0.038717635, 0.006423315, 0.0085597131, 0.0187433902, 0.0012738981, -0.0307412203, 0.0081248023, -0.0455092266, 0.0211482942, 0.0108440015, 0.0639564022, -0.0050257738, -0.0061423313, 0.0248794109, 0.000224653, -0.0475614704, 0.0525943749, -0.0825742334, 0.0264246855, -0.004461288, -0.0234655663, -0.0232840404, -0.0257831272, 0.0765697435, 0.0199447479, -0.0101186028, 0.0016641915, -0.0062520611, 0.0130695421, -0.0135066751, -0.0188561734, 0.0333674587, -0.0278267879, -0.0299223103, -0.0685540289, 0.0012157203, 0.017815249, -0.0213525742, 0.0805644318, -0.0105696004, -0.0833294839, -0.0274150707, 0.0031077657, 0.0428176783, 0.0280919969, 0.0332722813, 0.0137598552, -0.0893196017, 0.0552676022, 0.0123774447, 0.0080942838, 0.0023370949, 0.0019538698, 0.0350283012, 0.0082667442, -0.0247922707, -0.0908571407, 0.0295357797, -0.0422426686, -0.0315729864, -0.0076534683, -0.0670468435, 0.0460120551, 0.0307085942, 0.008357266, -0.021017598, 0.0229041371, -0.0227251779, 0.0670723394, 0.0415023491, -0.0132744256, 0.0123326788, 0.0761945173, -0.0227405541, 0.0700205192, 0.0634745136, 0.0427247547, -0.0124531817, 0.0105810761, -0.0579614528, -0.0516355783, 0.0525155105, -0.0593611822, -0.0138134416, 0.0014017252, -0.0449209921, -0.0059048645, 0.0292268973, 0.0113710379, 0.0621444695, 0.0194961224, 0.0502938591, 0.0083095469, 0.0417562872, 0.0602202415, 0.0703040436, 0.0300785061, 0.0102289002, -0.0005729444, -0.0350075476, 0.0571708418, -0.0118178353, 0.0185870714, 0.0370945185, 0.0306251738, 0.0392781645, -0.0115281269, -0.0256877895, -0.0199357904, -0.0407324359, -0.0331330225, 0.0091660619, 0.0661289841, -0.0223215334, -0.0589957833, 0.0059626787, 0.0248121768, -0.0080165388, 0.0382000022, -0.0624176078, -0.0089627812, 0.0342093334, 0.0099959821, -0.0140371872, 0.0302481931, -0.0281299595, -0.0413751975, 0.0604355522, 0.0337242112, 0.0064699226, 0.0220218431, -0.0718497857, 0.0033985882, 0.0537195727, -0.0042457422, 0.1014446393, -0.0241394639, 0.0556892976, 0.0199704859, -0.0020228613, -0.0320893861, 0.0068151359, -0.0440960303, -0.0152833695, 0.0108641498, 0.0251162369, 0.0692851469, 0.0491772741, 0.0106875245, -0.014357144, 0.0047995457, -0.0220943987, 0.0196947772, 0.0158236492, -0.0474792831, 0.00218291, 0.0382228158, -0.0036481482, 0.0272032544, 0.0625295267, 0.0564703755, -0.081484139, 0.0041461098, -0.0073984144, 0.0138832573, -0.0650841892, 0.0478938036, 0.0106756529, -0.0012858462, -0.0030914645, 0.0015029771, 0.0207680985, 0.0125076314, 0.0022098825, -0.0363137722, 0.0533820875, -0.0798280016, -0.0412781276, 0.0130487112, -0.0323092528, 0.0338790715, 0.0081639187, -0.0140884863, -0.0054517756, 0.0076763453, -0.0535346456, -0.0302533153, -0.0038821683, 0.0066542872, -0.0487315357, 0.0315200686, 0.0067098732, -0.0082453499, 0.0069120768, -0.0111067984, 0.0392653793, -0.0202959236, -0.026592264, -0.0020227795, -0.0114450101, -0.0437854789, -0.0279204771, 0.0284781381, 0.0120402891, 0.0337537527, -0.0821353868, -0.0510700271, 0.0277387686, 0.0001672304, 0.0141122565, 0.0145465173, -0.0423476771, -0.0069537382, -0.0111831846, -0.0221451633, 0.034066733, -0.0128709152, -0.0223279092, -0.022895949, 0.0077656801, -0.0411334597, -0.02803763, 0.0160683878, 0.0321203507, 0.0082425075, 0.0011105328, -0.0365688838, 0.0484462231, 0.0330117345, 0.0290028043, -0.0292375404, -0.0526555628, -0.0310160201, -0.0331403539, 0.0024777153, 0.0087693017, -0.0322800875, 0.0251950733, -0.0006018198, 0.0056341658, 0.0248553734, -0.058145795, -0.0272194315, -0.0520776473, 0.0120858969, -0.0266328249, -0.0253397878, -0.0249733608, -0.0032662388, -0.0656849295, -0.0534365699, 0.0259151459, 0.0290447958, -0.0066897999, -0.0500760674, 0.0402139202, -0.0199216567, 0.0182442889, -0.0380997397, 0.0043781111, -0.0184505023, 0.0208279509, -0.0279722959, 0.0482370257, 0.0292744674, 0.0104100276, 0.0075029712, 0.0723393336, 0.0022949949, 0.0283954479, -0.001268159, 0.0472227335, -0.041488599, 0.0524115711, 0.0184267424, -0.0460456833, 0.0047881519, -0.0016900705, 0.0582461655, -0.0546270534, 0.0062583787, 0.0310725328, -0.0453050323, -0.0274846517, 0.0122300442, 0.0143444249, 0.010073117, -0.0091026314, 0.048569683, -0.0266995039, 0.013346618, 0.0548024997, -0.0064474251, -0.0225640833, -0.0428045206, -0.0332777761, 0.0214741435, -0.0123504391, -0.00997495, -0.0268600527, 0.0001156429, 0.0450094156, -0.0004149014, 0.0085867047, 0.0254365467, 0.0129864207, -0.1237553805, 0.0037008307, 0.012483974, -0.0473301969, -0.0470012464, -0.0679472759, -0.033931572, -0.0055106641, 0.09449476, 0.0210835617, -0.0230676215, -0.0527198613, 0.0935976282, -0.0845624506, -0.0958744362, 0.0039156624, -0.034562178, 0.0556105599, 0.0452431887, -0.0083719827, -0.0553998128, 0.003107507, 0.0107570356, -0.0068632737, 0.0134650245, -0.0109101804, -0.0277492367, 0.013539698, -0.0243761837, -0.0084733982, 0.0141598564, -0.0319365412, 0.0461659357, 0.0084386319, 0.0467299744, -0.0256190877, -0.0160240233, 0.0381404385, -0.0285456348, 0.0107378364, 0.0160197988, 0.0246529952, -0.0459466092, -0.0116977552, 0.0032996791, 0.0436984003, -0.0600817576, 0.0073213461, 0.0088447649, -0.0485628247, -0.0340454392, -0.0399678238, -0.051291991, 0.0249201618, -0.0188963022, 0.0453612953, 0.0354109444, -0.010650117, 0.0352020152, -0.0325647071, -0.0239850041, -0.0086053144, 0.0464668162, -0.080031693, 0.0311136581, 0.015822323, -0.0194215551, -0.0040615709, -0.0142747667, -0.035416875, -0.032421492, 0.0622024313, -0.0082823727, 0.0194406901, -0.0209996272, -0.0095825102, -0.0568009764, 0.0125415353, 0.0298595876, -0.0053911936, -0.0046724319, 0.0271075703, -0.0145203182, -0.040662095, 0.0144184912, -0.0053681489, 0.0049190712, -0.04399544, 0.0114717372, -0.0239378437, -0.0910190344, -0.0010192482, 0.0380005911, 0.0145720113, -0.036199674, -0.0301902313, -0.0382926576, 0.0069824848, 0.0348320305, 0.069467403, -0.0162884668, -0.0117303627, 0.0378933102, 0.0355082303, -0.0019100843, 0.0247722249, 0.005156707, -0.041286204, 0.0161602739, 0.0923097283, 0.0458330438, 0.0896471441, 0.0249924473, 0.0219758246, -0.0594162978, 0.0336940512, -0.000182043, -0.0085348915, -0.010112186, 0.05077843, -0.0367209613, 0.0134554366, 0.0237101484, 0.0142323682, 0.0533880815, -0.0087427553, -0.0273365527, 0.0271784253, 0.0423322953, -0.0206720605, 0.0305637978, -0.0135249645, 0.0098469183, -0.0846580639, 0.0198123679, -0.0424347669, 0.0554860719, 0.0389889739, 0.0076908204, -0.0056211324, 0.0646956488, 0.0490298346, 0.0267195646, 0.0221244171, -0.0065353285, 0.0444781035, -0.0229734126, -0.0164537076, 0.0027781257, 0.0097916201, -0.0521462932, -0.057701312, 0.0173265636, -0.1022728682, 0.0157376714, 0.0259016361, 0.0118248938, -0.0116539933, -0.0240876079, 0.03398728, -0.0000112787, 0.0483259112, -0.0067349342, -0.0015581278, -0.0093003307, 0.0275484957, 0.0100258393, -6.058658045e-33, -0.0161172096, 0.0593648739, -0.0135639766, 0.0138551015, -0.0201031826, -0.0030242507, -0.0094593642, 0.0254084952, -0.0360380895, -0.0206839945, -0.0360466354, -0.0297062285, 0.0464306138, 0.0203502607, 0.0273407102, -0.0025901769, 0.0322892144, -0.0208470952, 0.0484767072, -0.0231422, 0.0265445076, 0.0386620238, 0.0355563015, -0.0435567461, -0.0082900198, -0.0214012396, 0.0149883768, -0.0337607451, 0.003103822, 0.0596674457, -0.0303575546, 0.0507908203, 0.0174736455, -0.0370767079, -0.0012853163, 0.0241220295, -0.0819996223, 0.0264739916, 0.0175392013, 0.0841247961, -0.0039830813, -0.0146565968, 0.0496940501, 0.0074827182, -0.0491699837, -0.0115614682, 0.0061322739, -0.0399424657, -0.0734104514, -0.0260739923, -0.0089090895, 0.033852011, 0.0213332903, -0.0126227345, 0.091965571, 0.0411381237, -0.0590252355, -0.051697772, -0.0778076425, 0.0197673626, -0.0003333786, 0.0554544218, 0.0212894715, 0.0638362467, -0.0491258726, -0.0212005749, 0.0340673961, -0.0520930998, 0.0464034714, -0.0088950517, 0.0739723518, 0.0253481399, 0.0110713514, 0.0499500334, 0.0388879105, -0.0403440185, -0.0396678299, -0.0335516296, 0.014207378, 0.0015998927, 0.0412694365, -0.0117663406, -0.0640704781, -0.021336779, -0.0194352716, -0.049266737, -0.0431031473, -0.0270285849, 0.0654925257, -0.0141128106, 0.0072831861, 0.0347963572, 0.0523961075, -0.0202813577, 0.0104705449, 0.0059354273, 0.0253368933, 0.025502095, -0.0454853214, 0.0121029383, -0.0918384269, -0.036513932, -0.033012379, 0.0550212748, -0.0022249194, -0.0324170068, 0.0004952354, 0.010537181, -0.0385381579, 0.0045437897, 0.0076037017, -0.0060718223, 0.0110625746, 0.0532681234, 0.0129036382, -0.0533631369, 0.0225658007, 0.0615374111, -0.01863987, 0.0212006159, 0.0047318498, 0.0018662993, 0.012887706, 0.0124039147, -0.0349096321, -0.0001715659, -0.0317568295, -0.0184718315, 0.0127370078, 0.0078836204, 0.0285736937, -0.0172670446, 2.84e-7, -0.0406347997, 0.0088011073, 0.0902579054, -0.0363458656, -0.0214551762, 0.0040355739, 0.0171018057, -0.0295467582, 0.0207252931, 0.0334324725, 0.0092510469, -0.0095676156, 0.086418204, -0.0054051592, -0.0864286497, -0.0234587304, -0.050557375, 0.0570823625, -0.0299942028, 0.0027954073, -0.0367879011, 0.0772371888, -0.0280022677, -0.0669180229, -0.0421500541, -0.0025604849, 0.0439236797, 0.0200793594, -0.0076151523, 0.021391321, 0.0329158604, 0.0074140104, 0.0071315304, 0.0159711167, -0.0357371196, 0.0295895524, 0.0135735776, 0.0501222685, -0.0399373509, -0.0245473515, 0.0516670682, 0.0594839342, -0.0573948249, -0.0433267988, 0.0601548925, 0.0249686074, -0.0053880224, -0.0020741858, 0.0048042149, 0.0133577483, -0.0221502651, -0.0358912796, 0.0221035257, -0.0223421473, 0.0409838445, -0.0571744666, -0.0687342063, 0.0101398202, -0.0010622591, 0.0082394853, -0.0459985398, 0.019721726, -0.0414117947, 0.0022931967, 0.0330639333, 0.0176924244, 0.0144711304, 1.99099149e-34, 0.042426724, 0.0019997219, 0.0042008813, -0.0193447229, 0.006079996, -0.0606550574, -0.0011965131, 0.0484664254, -0.0316277221, -0.0544223413, -0.024267748 ]
http://arxiv.org/abs/2401.06568v2
http://arxiv.org/pdf/2401.06568v2
Lost in the Source Language: How Large Language Models Evaluate the Quality of Machine Translation
2024-01-12T13:23:21
2024-06-06T07:51:16
Xu Huang, Zhirui Zhang, Xiang Geng, Yichao Du, Jiajun Chen, Shujian Huang
cs.CL
cs.CL, cs.AI
This study investigates how Large Language Models (LLMs) leverage source and reference data in machine translation evaluation task, aiming to better understand the mechanisms behind their remarkable performance in this task. We design the controlled experiments across various input modes and model types, and employ both coarse-grained and fine-grained prompts to discern the utility of source versus reference information. We find that reference information significantly enhances the evaluation accuracy, while surprisingly, source information sometimes is counterproductive, indicating LLMs' inability to fully leverage the cross-lingual capability when evaluating translations. Further analysis of the fine-grained evaluation and fine-tuning experiments show similar results. These findings also suggest a potential research direction for LLMs that fully exploits the cross-lingual capability of LLMs to achieve better performance in machine translation evaluation tasks.
[ 0.0459999032, 0.0222454369, -0.0093655074, 0.0574096926, -0.0535098426, 0.0228652507, 0.0447551385, 0.0012843456, -0.0477480926, -0.0497967675, -0.0854151249, -0.0339864567, 0.0434258878, -0.0271054935, 0.0467444621, -0.0293980762, 0.0353269428, -0.0290028621, -0.0136320237, 0.0241766069, -0.0061271228, 0.0076953247, 0.0353214368, 0.0294508487, 0.0212766994, 0.0089701209, 0.0580280758, 0.0438576676, 0.0175942667, -0.021024745, -0.0410851389, 0.0273652114, 0.0020747851, 0.0661799833, 0.0000018322, -0.0587137081, -0.0032697939, 0.0277308021, -0.0117129302, 0.0679464191, 0.0582333803, -0.0367491506, -0.0148778316, 0.0000849625, 0.0045422143, -0.0256120134, 0.0514754169, 0.0159031469, 0.0617018789, 0.0579381995, -0.0027484128, -0.0102656856, -0.0194579307, -0.0437061116, 0.0134809269, -0.0458773971, -0.0003584987, 0.0460245535, -0.0104486253, 0.0394297168, 0.013929232, 0.0584424511, -0.0106735369, -0.0094984015, -0.0126620419, -0.0128142349, -0.0485640801, -0.0295241289, 0.0229056552, 0.0562472492, -0.0214347281, -0.0029555331, -0.0408433154, -0.0294350702, 0.0026462832, 0.0073520057, -0.0370332971, 0.0116148321, -0.0082824938, -0.0032216611, 0.0113514056, 0.0448582955, 0.0320443437, 0.0202282034, -0.0529296435, 0.0134664541, 0.0248317253, -0.0279369764, 0.0022091928, 0.0366934836, 0.0041383323, -0.0326825865, 0.0290357415, -0.0179586094, -0.0361142866, 0.0207039546, -0.0001647638, -0.0190779418, 0.0314055011, -0.0464273319, 0.0375491939, 0.0432788655, -0.0389679, 0.0602779984, -0.0273758527, 0.0837535784, -0.0451398231, 0.0244394038, -0.0900381505, -0.0124451574, -0.0207979847, 0.04634225, -0.0128701134, -0.0192241613, -0.0241465215, -0.0182974488, -0.0263214149, 0.0092871627, 0.0178453829, 0.0129583376, 0.0073369141, -0.0507136919, -0.0314550065, -0.0127276191, -0.0311672948, 0.0690131038, -0.0201977305, 0.001164681, -0.0081034908, -0.0552049093, -0.0121676326, 0.0108370585, -0.0296794754, -0.054111179, 0.0077650482, 0.0856880993, 0.011097339, -0.0198821872, 0.0016810966, 0.0028849309, -0.025872834, -0.0804504976, -0.006030221, -0.0463125594, 0.0404407233, 0.044749897, 0.0249113776, -0.0291924234, 0.0053862291, -0.0085824151, -0.0491524041, 0.0515838191, 0.0163589641, 0.0340100415, 0.0259240344, -0.0065079317, -0.0088421451, 0.0675876141, 0.0441203043, 0.0277427565, 0.0203556847, -0.0141701894, 0.0037951549, 0.065911144, -0.006521055, 0.0541077256, -0.0278666131, 0.0200776607, -0.0019409381, 0.0525986552, 0.0240917411, 0.0779319331, -0.0262645464, 0.0596753918, 0.0685721487, 0.0120911542, 0.0229706913, 0.030067835, 0.0687381402, 0.0070112776, 0.0088616256, 0.0177150704, -0.0253067669, 0.0158830397, 0.007776435, 0.0199286006, 0.0789580196, 0.0378198363, -0.007666904, -0.0378190167, -0.0215664022, 0.0118028093, -0.0087142596, 0.0099011632, 0.0375264212, 0.0261115711, -0.0479881875, 0.0338913873, 0.0042484663, -0.0416008793, 0.0159028061, -0.0421962403, -0.0075121848, 0.0778786466, 0.0612443909, 0.0232745353, -0.009014423, -0.0190481897, 0.0140381036, 0.0399161763, 0.0843268856, 0.0200863313, 0.005151506, -0.0386610292, -0.0379736163, -0.0058581238, 0.0182119813, 0.0210272279, 0.0009578351, 0.0086627863, 0.0411087684, -0.054517746, -0.1125932932, 0.0274673309, -0.0053514475, -0.0441840589, 0.0019074917, -0.0002398261, 0.0146993911, 0.0114676813, -0.035641592, 0.0354287811, -0.011086951, -0.025655007, 0.0127735268, 0.0148700206, -0.016950503, 0.0202038381, 0.0050445725, -0.0222769268, -0.0081745693, -0.0365668871, -0.0261101015, -0.0365678929, -0.0282862298, -0.0556372032, -0.008706267, -0.0241701268, 0.0341774262, -0.0370653421, -0.0011232893, -0.0705599636, 0.0096155703, 0.0216485374, 0.0274940357, 0.0506539978, -0.007997063, 0.0384623855, -0.0128238834, -0.0236739963, 0.034298081, 0.0163143612, 0.0230212063, 0.0401980169, 0.015759239, -0.0393203683, -0.0564551316, -0.0562736802, 0.0155295217, -0.014830118, 0.0325997509, 0.0342107043, 0.0037402695, -0.0018157557, 0.0261949841, -0.0026364031, -0.0295806043, 0.0222588405, 0.0486394651, 0.0013243656, 0.0168725662, 0.0093364073, -0.0463551134, -0.0026671076, 0.0354687683, 0.0741590858, 0.0364652239, -0.0026669668, -0.079146035, 0.0489553325, -0.0558696501, -0.0609299839, 0.0185048319, -0.0543155707, 0.0142517276, -0.0052560512, 0.0369289368, 0.0409241319, -0.0237502195, -0.0185945034, 0.0697747841, -0.0087088943, -0.0664521903, -0.0337339193, 0.0106923953, -0.0746188164, -0.0240068957, -0.0652562752, -0.0064122751, 0.0156245958, 0.0154046752, 0.0197155401, -0.0325967371, 0.0389113538, -0.048622556, -0.0366253331, -0.0268613026, -0.003436496, 0.0023130011, 0.0536495857, -0.0164511055, -0.0598808415, 0.0749068707, -0.0560461693, -0.0129045397, -0.018602334, 0.0139244441, -0.0349589773, 0.0354607292, -0.0418053865, 0.0059975907, -0.0229182523, -0.0020634024, -0.0319701135, 0.0091068968, 0.0281215254, -0.0405880995, 0.0424626097, -0.0528798364, -0.0177278854, -0.0148527026, -0.0004612678, -0.0226477813, -0.0278007723, -0.029565189, 0.0019551781, 0.0275742821, 0.0024635347, -0.0302429013, 0.0183694512, 0.0712225512, 0.0117769176, -0.020448938, -0.0054463604, -0.0109183593, 0.0070401039, -0.0093788262, -0.0029026459, 0.0415918306, -0.0482079051, 0.0077333366, -0.0236195382, -0.0030487941, 0.0075880103, -0.0325260945, -0.0448102877, 0.0267341323, 0.0130586121, -0.0561857931, -0.0066708992, 0.0673385113, -0.0638726205, -0.0134881586, 0.1132750884, 0.0167134739, -0.0504720323, -0.026582526, -0.0332116038, 0.0126643917, 0.0216298327, 0.034140192, -0.0608528368, -0.0128887668, 0.0103230299, 0.0158032384, 0.013148752, 0.032298699, -0.0107338727, -0.1083157286, 0.0337950699, 0.0546365492, -0.066203475, -0.054164838, -0.0351700447, -0.0178715494, -0.0281315129, 0.0438893586, -0.0055026794, -0.0065464973, 0.0013654364, -0.0034586815, 0.0199990477, -0.0669249445, 0.0115262056, -0.0573831908, 0.0435012095, 0.0897363126, 0.033098083, -0.0012864722, -0.0284614116, 0.0498447679, -0.049233824, 0.0152190682, -0.0133573245, 0.0323093124, 0.0249601398, -0.0111924596, 0.017461542, -0.0505542755, 0.0160233863, 0.036652118, 0.0030161447, 0.0527747162, -0.015177737, 0.0078851422, 0.0153940246, -0.0122334249, 0.0166420434, 0.0655316114, 0.0471695065, -0.0404938646, 0.0055209277, -0.0134932641, -0.0276242718, -0.0292292908, -0.0380658358, 0.0148704173, -0.0600780621, -0.023928348, -0.0747759044, -0.0424301811, 0.0001146595, -0.0033034075, 0.0281327795, 0.0278895888, -0.0151328612, 0.005521121, 0.0285314526, 0.0581937395, -0.0525429137, 0.0401297212, -0.0475573279, 0.0082247183, 0.0212610736, -0.0273226239, 0.003793485, 0.0488981977, -0.0464615338, -0.0634412393, -0.0362686068, 0.0468084142, 0.0241523851, 0.0012523374, -0.0138331633, -0.0469044559, -0.0100040613, -0.0113231186, -0.0313528329, 0.0194713101, 0.0169004295, 0.0046804552, -0.0191367641, 0.0379494578, -0.0239172764, 0.002336198, 0.0238740854, 0.0395925082, 0.0050528995, -0.0641170889, 0.0077030952, 0.0388499796, 0.0280782655, -0.0413765758, -0.0231111962, -0.0096634999, 0.0031204748, -0.0071887826, -0.0227447581, -0.0412327312, -0.0350658372, 0.0594605207, -0.0072509558, 0.0011859331, 0.0175251476, -0.0266356654, 0.0095461756, -0.0299223904, 0.00196653, -0.0220694579, 0.0307848006, 0.0181135032, 0.0138823036, -0.0408930629, 0.0424997248, -0.0302576479, 0.0024233612, -0.0314603485, 0.0642861947, -0.0060089724, 0.0074010873, 0.0165546816, 0.0384292416, -0.0496718772, -0.0245330818, -0.0077763479, 0.0081060259, 0.0796402842, -0.0139382891, 0.1373960823, -0.0090995384, -0.0124552976, -0.0279820692, 0.0403314233, 0.0052932189, -0.0098335342, 0.0059108417, -0.0083094677, -0.0097788498, 0.0217941031, 0.0600798279, 0.0166465063, 0.0086832643, -0.023699794, -0.0219217166, -0.0018170851, -0.028005708, -0.0282719359, -0.052935157, -0.024257848, -0.0105051063, -0.0636703521, -0.0422733985, -0.0029909373, 0.0295275152, -0.0060960525, -0.0367109515, -0.0145500647, 0.0891119391, -0.0326732919, 0.0245288182, -0.0504111052, -0.0063799862, 0.0082585216, -0.0047094752, -0.0541547611, -5.955214542e-33, -0.0314049534, -0.025445221, 0.0150695341, -0.0486974865, -0.0380831286, 0.00780062, -0.0462438576, 0.0141175585, -0.0176062863, 0.0065957494, -0.0115416395, -0.0138592217, 0.0237355661, -0.0453398637, 0.0208711382, -0.0231083632, 0.0613834113, 0.0304096844, -0.054279983, 0.0137839224, 0.0231264289, -0.012128016, 0.0658580437, -0.0768552125, 0.0808273628, -0.0254895594, -0.0242856592, -0.0233596526, -0.0087321494, 0.0565374345, 0.0058898395, 0.0051696096, 0.0264448263, -0.0418924913, -0.039504759, -0.0088610705, -0.0533717722, 0.0229813401, 0.0696851686, 0.0136222728, 0.0170903001, -0.0496647097, 0.0447884686, -0.0397789702, -0.0314691514, -0.0011466714, 0.004390731, -0.0738239139, -0.0416068397, -0.0058146226, -0.0609047562, 0.025877893, 0.0004967393, -0.0114779975, 0.0387820974, 0.0503076091, -0.0388310775, -0.0042077969, -0.0240689125, 0.0284454841, 0.0159504432, 0.0418107547, 0.0814651474, 0.0093572456, -0.0348954871, -0.0063013337, 0.0034612855, -0.0024604024, 0.016214896, -0.0594605319, 0.0343100578, 0.0058824401, 0.0739027411, 0.0695879832, -0.0015042911, -0.0196375828, -0.0473499894, 0.0296976566, -0.0257868692, 0.0173677634, 0.0300400052, 0.0093790917, -0.0064312671, -0.0081083458, -0.0897010639, -0.0187215153, -0.0536449775, -0.0267021582, 0.0296189338, 0.0112221679, -0.0105439043, 0.0003768058, 0.0939231142, -0.016912831, 0.0054433849, 0.0291441269, -0.0329870917, 0.0258255955, -0.0219224487, 0.0040662205, -0.0400625132, -0.0221087616, 0.0156101715, 0.0251298379, 0.0106329517, -0.0187009629, 0.0450361073, 0.0030888561, -0.0396986231, 0.0143496292, -0.0488121361, -0.0120840967, -0.0358264148, -0.0318081118, 0.0209691599, -0.0078264773, -0.0223820601, 0.0342774205, 0.0088080941, -0.0067362972, -0.0096880617, 0.016073443, 0.0240264609, 0.0360568799, -0.0730634481, 0.0267165788, -0.0338956416, 0.0162044987, 0.046067033, -0.0067673787, -0.0333217643, -0.0008673159, 2.516e-7, 0.0557639524, 0.0701367334, -0.0343735516, 0.037832696, -0.002551527, 0.0061355927, -0.0464511327, -0.0050861193, 0.0462095663, 0.0197292287, 0.0347112827, 0.0130656688, 0.0930514857, 0.0171665959, -0.0457427278, -0.0519491695, -0.0379252806, 0.0425507352, -0.0508586392, 0.00447695, 0.0034576636, 0.0799882561, -0.0225951932, 0.0177666191, -0.0277700014, -0.0799720436, 0.0854126737, -0.0582175627, -0.0329902731, 0.0267380029, 0.038279932, 0.0374956578, -0.016580876, -0.0037995819, -0.0081360098, 0.0004728361, 0.0572628677, 0.0889093578, 0.0326033495, 0.0128302583, -0.0097179916, -0.0129707353, -0.0061142533, -0.059543591, 0.041936934, -0.0397570468, 0.0095907999, -0.0059833569, 0.004215695, 0.0116624013, 0.0548989773, -0.0498049818, -0.0296113398, 0.0275415219, 0.0379444733, 0.0076864357, -0.037243668, -0.0244063493, -0.0472049937, 0.0111588901, 0.009928734, -0.0706122145, -0.0126636624, -0.0272074938, 0.0082366308, -0.0439407267, 0.0048457128, 2.116657806e-34, 0.0523959249, -0.0344536752, 0.0441036634, -0.0236464087, 0.0643384755, 0.0008852248, -0.01011917, 0.0066370526, -0.0284183901, -0.0642576963, 0.0044696014 ]
http://arxiv.org/abs/2401.06561v3
http://arxiv.org/pdf/2401.06561v3
Intention Analysis Makes LLMs A Good Jailbreak Defender
2024-01-12T13:15:05
2024-04-29T16:40:57
Yuqi Zhang, Liang Ding, Lefei Zhang, Dacheng Tao
cs.CL
cs.CL
Aligning large language models (LLMs) with human values, particularly in the face of complex and stealthy jailbreak attacks, presents a formidable challenge. In this study, we present a simple yet highly effective defense strategy, i.e., Intention Analysis ($\mathbb{IA}$). The principle behind this is to trigger LLMs' inherent self-correct and improve ability through a two-stage process: 1) essential intention analysis, and 2) policy-aligned response. Notably, $\mathbb{IA}$ is an inference-only method, thus could enhance the safety of LLMs without compromising their helpfulness. Extensive experiments on varying jailbreak benchmarks across ChatGLM, LLaMA2, Vicuna, MPT, DeepSeek, and GPT-3.5 show that $\mathbb{IA}$ could consistently and significantly reduce the harmfulness in responses (averagely -53.1% attack success rate) and maintain the general helpfulness. Encouragingly, with the help of our $\mathbb{IA}$, Vicuna-7B even outperforms GPT-3.5 in terms of attack success rate. Further analyses present some insights into how our method works. To facilitate reproducibility, we release our code and scripts at: https://github.com/alphadl/SafeLLM_with_IntentionAnalysis.
[ 0.0329129733, 0.0566396676, -0.0242439192, 0.0404717922, -0.0365355052, -0.0262415521, -0.0216452517, -0.0062908018, 0.0469666012, -0.0177498702, -0.00180883, -0.0199203864, 0.0027482538, -0.0103929034, 0.0425868332, 0.0275101084, 0.0462760143, -0.0538672879, 0.0193417631, 0.0296281036, 0.0397594534, 0.0000584629, 0.0231062863, 0.0317092575, 0.0119243395, -0.0044512483, -0.0545115545, 0.0138808992, 0.0306607801, -0.0535631888, -0.0089386562, 0.0125871468, -0.0106961755, 0.0125994161, 0.0000022995, -0.0509145893, -0.0300510488, 0.012754973, -0.019930074, 0.0866357088, -0.0101429792, -0.054660067, -0.0436406359, 0.0390383974, -0.0485040769, 0.0631225035, 0.0214615352, 0.0172252227, 0.077659227, 0.069619067, 0.0027258801, -0.0049205227, 0.0638580099, 0.0009098948, 0.0161956083, -0.0574851781, 0.0013792939, -0.0337886475, -0.0124320323, 0.0322405621, 0.0283334628, -0.0214728992, 0.0185293499, -0.0121009033, -0.0477380082, -0.0134197846, -0.0092740897, -0.0186413527, -0.0172406323, 0.0176262539, -0.0037782749, -0.0204927325, 0.0362432189, -0.0214737859, 0.0117961233, 0.0123432381, 0.0087581854, 0.0043727537, -0.0117396563, -0.0144359535, 0.0579667725, -0.0141152991, 0.0586193539, 0.0103484113, -0.0165517442, 0.0510891974, -0.002767279, -0.0343779698, -0.0225115437, -0.0597720481, 0.0011445426, -0.0623277836, -0.0258771498, 0.0236684866, -0.0053531607, 0.0241834894, -0.0646831095, -0.0187857635, 0.0542212948, -0.065444231, -0.0224747937, 0.0750741735, -0.0202605464, -0.0142603144, 0.0019922087, 0.0162707865, 0.0008352593, 0.0135500059, 0.0245584212, 0.0261250641, 0.0014756025, -0.0029502197, 0.0012619602, 0.034344539, 0.0148522053, 0.0321791768, -0.0418611318, 0.0375053585, -0.0241962522, 0.0136995986, -0.0339841321, -0.0262623224, -0.0008169031, 0.0157732926, 0.0265603736, -0.0180951413, -0.02838975, -0.0047472827, -0.013410409, -0.0882373452, -0.0117989229, -0.0019070527, -0.0874779448, -0.0202491116, 0.0074029174, 0.1403916031, 0.0228840262, -0.0274878833, -0.1034497321, -0.0769281313, -0.0187760592, -0.0363922007, -0.0059612705, -0.0850332305, -0.0272465274, -0.0119646331, 0.003196652, -0.034708932, 0.0060109114, -0.0083681196, -0.0322020091, 0.034345679, 0.0294971615, -0.0034962473, -0.011680264, 0.0539653525, 0.0304350983, 0.078549169, 0.0035924842, 0.0415710472, 0.029107729, -0.0214325096, 0.040354114, 0.0523047447, -0.009451055, 0.0293569174, 0.0149581861, -0.0224616975, 0.0042385352, -0.0186608974, 0.0092340335, 0.0244361516, 0.0058014658, -0.0241943877, 0.0813111439, 0.0651073158, -0.0368583351, 0.0442208499, -0.0321512483, -0.0036322654, 0.0173068438, -0.0181082767, -0.0580677092, 0.0279685352, -0.0881848931, 0.0075192871, -0.0191842392, 0.031548962, 0.0089172358, 0.0039710454, -0.0055874796, -0.0067730309, -0.0208374895, 0.012504085, 0.001251297, 0.0045033013, 0.0145479403, 0.0493600182, 0.0204274468, -0.0216386169, -0.0387137383, -0.1021427885, 0.0062557054, 0.0506646894, 0.0204189848, -0.0012410362, -0.0212643761, 0.0109688947, -0.0464174971, 0.0027420914, -0.0164619889, 0.0190057959, 0.0259975009, -0.0185349062, 0.0051766834, -0.0188492052, 0.0260578599, 0.0355989635, -0.0331222154, -0.0003476987, 0.0048241471, -0.0259150323, -0.0170516931, 0.0244653523, 0.024345357, -0.0019016785, 0.0157490242, 0.0154445693, 0.0196313504, 0.0222682841, -0.0111005036, 0.0028617564, 0.0601594895, 0.005827778, 0.0384467281, 0.0392164737, -0.024170842, -0.0101192426, 0.0552671701, -0.0261254683, 0.0216464009, 0.059239056, -0.0351342224, -0.0308328513, 0.0740945265, -0.0457256399, 0.0532453582, -0.0135904513, 0.0217808019, -0.0144777605, -0.0125472955, -0.0243008081, -0.0121159554, -0.0114998864, -0.0404517911, 0.0007524565, 0.030472815, 0.0433159806, 0.0070439358, -0.0733794421, 0.0159549974, -0.0525611863, 0.0292519648, 0.0269117896, 0.0520391688, -0.0342740677, -0.0193601772, -0.0671152174, 0.0001683957, -0.0376244672, 0.0450568832, 0.0405082293, 0.0483602881, -0.037482433, -0.026323501, 0.0080717579, -0.0162862185, 0.0083277645, -0.0058946777, 0.0091936206, -0.0398728997, -0.0599610806, -0.0319793634, 0.0229268186, -0.0150310909, -0.0095289927, -0.0415602177, -0.0299355462, 0.0015096311, 0.0021913678, -0.011480324, -0.0239215456, -0.0333220735, -0.0920452625, 0.0504519418, 0.0045924503, -0.0180167742, 0.0389292873, 0.0156739466, 0.041574277, 0.076459609, 0.0128223719, -0.065228492, -0.017123241, 0.0618039519, -0.0390754938, -0.0515308343, -0.0761592686, 0.019133212, 0.0839338824, 0.0289054494, 0.0244527366, -0.0242727473, -0.0366045348, 0.0078982832, 0.0022989423, 0.0089876717, -0.0107880412, -0.0645875409, -0.0010276901, 0.0049561346, -0.0917594209, 0.0642691627, -0.0586424172, 0.0058933818, -0.0218024254, -0.0478799455, -0.0025106731, 0.0722267479, -0.0464457236, 0.0134691447, 0.0588405989, -0.0491108708, 0.0144612268, -0.0328628682, 0.027273722, -0.0086790901, 0.049067162, -0.0701001957, 0.0094186813, 0.0001084168, -0.0024752298, -0.0359041467, -0.0693031549, -0.0461729504, -0.038131509, 0.0257291105, -0.0442605764, 0.0471725576, -0.0287411381, 0.0327490494, -0.0200688634, -0.0011445164, -0.0108474735, -0.0181282572, -0.0161404088, 0.0205737092, -0.0528171323, -0.0292404182, 0.0124018751, 0.0397343226, 0.0601492748, 0.0423260555, 0.024440024, -0.0253618136, 0.0112308338, 0.0360012017, 0.0056660539, -0.0253760666, 0.0738402754, 0.0806116983, -0.0138096213, -0.0354105569, 0.0563555695, 0.0255872943, 0.0021067299, 0.0209379774, -0.029667858, 0.0563521348, 0.0135961436, 0.0331213251, -0.0738946125, -0.0346611738, 0.0168834273, 0.0863429829, -0.0279381964, 0.0116471685, -0.0226248913, -0.0752953365, -0.0097192582, 0.0342274606, -0.0176497232, 0.0268351734, -0.0531121902, -0.0168704186, 0.0219383687, 0.0334606543, -0.0137404669, 0.011016326, -0.0030795967, 0.0279537402, -0.0882364884, -0.0081701735, 0.0081771603, -0.0315816514, 0.0999154523, 0.0929498374, -0.0074522332, -0.0354553089, 0.0049960939, 0.0423717797, -0.0017631402, -0.0054072733, 0.0032218229, -0.0302972049, 0.0222942587, 0.0072612488, 0.0134659866, 0.034247499, -0.0095667336, -0.0457952991, 0.0524487235, 0.0370154679, -0.0457437001, 0.0027219371, -0.021928465, -0.0331614055, 0.0189963263, 0.0310682543, 0.0198381245, -0.0212781727, -0.0259903278, -0.0769335777, -0.0443365164, -0.0489653647, -0.0232160073, 0.0076931221, 0.0081239073, -0.0193921831, -0.02618834, -0.0124857845, -0.0568203777, 0.0455824248, 0.0491477251, -0.002740962, -0.0094986614, 0.0189665332, -0.0147178974, -0.0235874653, -0.002125073, 0.0648241118, -0.0399621129, 0.0256738458, -0.0149167888, -0.0169918165, 0.0030260005, 0.0051888768, -0.0319706462, -0.0898259431, 0.0138573255, 0.0684310123, 0.0286406875, 0.0090313926, -0.0621847287, -0.0764381364, 0.0463410988, 0.0665877759, -0.0584759898, 0.0359587409, 0.0818524435, -0.0019990467, 0.0164659824, 0.0122453747, -0.0170990173, -0.0291033294, 0.0467336476, 0.0279116761, -0.0436025932, -0.0287699867, 0.0120421434, 0.0668495446, 0.0107711768, -0.0293647647, 0.0225737523, 0.0408855267, -0.0014509923, 0.0106750317, -0.0158454254, 0.0182590056, 0.0028020227, 0.0236318223, -0.0482691862, 0.0129310545, -0.0050499546, -0.0323741771, -0.0240015499, 0.0288222358, 0.0499127917, 0.0264344867, 0.0719600171, 0.0469847023, 0.0149617083, -0.0206346009, 0.0319190659, -0.0027813031, 0.0315848775, -0.0012274714, 0.0478588454, -0.0337997712, -0.0193694513, -0.0020707969, 0.0400939174, -0.0437324457, -0.0438150503, 0.0128421029, 0.092240423, 0.0100816963, 0.0251038224, 0.0393631198, -0.0190590564, 0.0298226811, -0.029568851, 0.009080328, -0.036899779, -0.0580140613, 0.0322591141, -0.0077217487, -0.006774263, -0.0050308215, 0.0382454284, -0.007482301, 0.0456067175, -0.0066896034, -0.0204534549, -0.0392332152, -0.0046498338, 0.0673780739, 0.0495172776, -0.0666520298, -0.0833891481, -0.0682462305, -0.0727889836, -0.0385099649, 0.0207670871, 0.0596382767, -0.010846952, -0.0090615749, 0.0486546829, -0.0012092607, 0.0224673711, -0.053938888, 0.0071881502, -0.0302537493, -0.0316546224, -0.0007266702, -5.774761466e-33, 0.0118685849, -0.0215339754, -0.028531244, -0.047677692, -0.0208008308, -0.0193376262, -0.0549459308, 0.0363827087, -0.0157738179, -0.0456171408, -0.0138915405, 0.0153869549, 0.0070639821, -0.0144211901, -0.0155141642, -0.018253522, -0.0127573265, 0.0242516175, -0.0372938849, 0.0192614179, 0.0387405567, 0.01275656, 0.008942646, -0.0527272932, 0.0651315749, -0.0182646122, -0.0375680365, 0.0047295452, -0.0608277395, 0.0688513368, 0.0094579589, -0.0059647132, 0.0094670588, -0.0105856294, 0.0139262555, 0.0415567532, 0.0341432765, -0.0153044574, 0.0486987457, -0.0129575515, 0.0185765866, -0.0522390343, 0.0101479571, 0.0185943507, -0.0283817686, 0.001400721, -0.0112338066, 0.0041598906, 0.0018300916, -0.0127930874, -0.0087506296, 0.0038723329, -0.0501892455, -0.0080400622, -0.0164528433, -0.0418523028, -0.0139803262, -0.0281760581, -0.0155893415, 0.0329072401, 0.011096919, -0.0022327416, 0.0550233386, 0.0173904002, -0.0312666111, 0.0527952015, -0.0478138328, -0.0521653108, 0.0250914861, -0.0147148026, 0.0238210708, 0.0365565494, 0.0232921094, 0.0702157468, 0.0392983928, -0.0460980125, -0.0656557381, 0.0351059362, 0.0617675483, 0.0188779924, 0.009488049, 0.0142928734, -0.0574759096, -0.0092284326, -0.0008128489, -0.0178401507, -0.0168827903, -0.0615619048, 0.007671189, -0.0221051294, -0.0305743162, -0.0625176653, 0.0026553078, -0.0404786877, 0.0119743943, 0.0177705325, -0.0401097089, 0.0054280111, -0.0137505131, 0.026026383, 0.0001718539, -0.013536945, -0.014745337, -0.0411759689, 0.0434063338, -0.0187499505, 0.0174276698, 0.0373318084, -0.0471897125, -0.0192474183, -0.0324261039, 0.0089885695, -0.0232110769, -0.0282939076, 0.0044442075, -0.0233440083, 0.005460823, 0.0037597998, 0.0172296353, -0.0293698478, -0.0655185282, 0.0303941667, -0.0085582547, 0.0239042602, -0.0142706763, 0.0275943987, 0.0162721928, 0.027621422, 0.013290978, -0.0593425669, -0.0089402869, -0.0211816616, 3.011e-7, -0.0466575585, -0.0336328037, 0.0072678053, 0.0135523546, -0.0057449006, 0.0943010375, -0.0467423871, 0.0887932181, 0.0102993269, -0.0316163637, -0.0129426802, -0.0220732167, 0.0631050169, 0.0352779515, -0.0238129385, 0.0426184684, -0.0382640921, -0.0219147094, -0.063500762, 0.0316073373, 0.0478048623, 0.0520831496, -0.0059290035, -0.0300541669, 0.0076707588, -0.0141035449, 0.0019608049, -0.0004152985, -0.0090568867, -0.0175758488, 0.0510972403, 0.0243904199, 0.0088642482, 0.0195804648, -0.0236869622, -0.0313005336, -0.0775518641, 0.0569168888, 0.0203051213, -0.0223149564, -0.0427945033, -0.0359529629, 0.0232890043, -0.0462844968, 0.0535660908, 0.0208939221, -0.0230096523, 0.0022675504, 0.0125184013, -0.0281407963, -0.0217609927, -0.0210510418, 0.0017672486, -0.0009833967, 0.0221124813, -0.0031452815, 0.0033477885, -0.0449713506, -0.0180694256, 0.0100342119, 0.0279624462, -0.051910311, -0.0219137631, 0.0732064769, 0.0500495844, -0.0369863696, 0.0290227048, 2.662979366e-34, -0.013130472, -0.042591922, 0.0172309317, 0.0305321626, 0.0363463834, 0.0352060013, 0.0459667929, 0.0589986965, 0.0326918885, -0.0220925082, -0.0077677304 ]
http://arxiv.org/abs/2401.10279v1
http://arxiv.org/pdf/2401.10279v1
A systematic review of geospatial location embedding approaches in large language models: A path to spatial AI systems
2024-01-12T12:43:33
2024-01-12T12:43:33
Sean Tucker
cs.IR
cs.IR, cs.AI, cs.CL
Geospatial Location Embedding (GLE) helps a Large Language Model (LLM) assimilate and analyze spatial data. GLE emergence in Geospatial Artificial Intelligence (GeoAI) is precipitated by the need for deeper geospatial awareness in our complex contemporary spaces and the success of LLMs in extracting deep meaning in Generative AI. We searched Google Scholar, Science Direct, and arXiv for papers on geospatial location embedding and LLM and reviewed articles focused on gaining deeper spatial "knowing" through LLMs. We screened 304 titles, 30 abstracts, and 18 full-text papers that reveal four GLE themes - Entity Location Embedding (ELE), Document Location Embedding (DLE), Sequence Location Embedding (SLE), and Token Location Embedding (TLE). Synthesis is tabular and narrative, including a dialogic conversation between "Space" and "LLM." Though GLEs aid spatial understanding by superimposing spatial data, they emphasize the need to advance in the intricacies of spatial modalities and generalized reasoning. GLEs signal the need for a Spatial Foundation/Language Model (SLM) that embeds spatial knowing within the model architecture. The SLM framework advances Spatial Artificial Intelligence Systems (SPAIS), establishing a Spatial Vector Space (SVS) that maps to physical space. The resulting spatially imbued Language Model is unique. It simultaneously represents actual space and an AI-capable space, paving the way for AI native geo storage, analysis, and multi-modality as the basis for Spatial Artificial Intelligence Systems (SPAIS).
[ 0.0381932743, 0.0590726063, -0.0330948755, -0.0052033137, -0.0167914368, 0.0154168587, 0.034998823, -0.0467157029, 0.0275756586, -0.0382285006, 0.0040745386, 0.0043322952, 0.0196926892, 0.0382197723, 0.0379768163, -0.0748392567, 0.0031120356, -0.0169694871, 0.021232374, 0.0119774826, -0.0365936607, 0.0178471766, 0.0089642303, 0.056751281, -0.0312730335, 0.017123403, -0.0426647961, -0.0262908153, 0.0008788374, -0.0464292094, -0.0339570306, -0.0224951431, 0.0819503292, 0.026896961, 0.0000020539, 0.0014629991, -0.0045665866, 0.0200902801, 0.0287708528, -0.0188004877, -0.0182231665, -0.0303007644, 0.0168640241, -0.0379389524, -0.0302118473, -0.0588869564, 0.0592751279, 0.0068508019, -0.0013777231, 0.0238106493, -0.0248125661, -0.0758705884, 0.0300827306, 0.0056685098, -0.0052263783, 0.0454386286, -0.0146001792, 0.0192080438, 0.0711348429, 0.0881080851, -0.0140985856, 0.0404424779, 0.0190602243, 0.0125562241, -0.0035792133, 0.0444542244, -0.0028776042, 0.0275980197, 0.0010312344, 0.0069852942, 0.035962835, -0.0098634185, 0.0422425047, 0.0379969105, -0.0091592688, 0.025021404, -0.0683515668, 0.0206752401, 0.0295188762, 0.0372137614, 0.0048975009, -0.0086878631, 0.0178165529, 0.0090980642, -0.0384953246, 0.098158136, -0.0007512026, -0.0405189544, -0.1034286469, 0.0105945617, 0.0000239371, -0.0557539985, 0.0042647296, 0.0638254732, -0.0068135657, 0.0207781605, 0.0210940596, 0.0907837152, 0.0064754616, -0.0332806967, 0.0396102481, -0.0086860098, -0.0174366105, 0.0507313944, -0.0045209774, 0.0451581404, -0.0107567348, 0.0425412729, -0.0200291295, -0.0214414671, -0.027720958, -0.0317684375, -0.0124056675, 0.014649109, -0.0554782972, -0.0250716284, 0.0230734721, 0.0576349646, -0.0161920879, 0.0471492782, -0.0852138028, 0.0410628356, 0.0139059937, -0.0272717737, 0.0094351098, -0.0080605792, -0.0301022828, 0.0275944844, -0.0235361233, -0.0016620132, 0.0052934769, 0.0280088019, 0.029645009, 0.0212055705, -0.0591068156, 0.0285716616, 0.0836758614, -0.0331332237, -0.0373985246, -0.0196764562, -0.0129225058, -0.013691593, 0.0173112806, -0.0724739581, 0.0005993534, 0.0188674927, -0.0357971899, -0.0342288017, -0.0319289714, -0.0135304118, -0.0066786772, 0.036001157, -0.0166796912, 0.039506346, 0.0735437274, -0.0004179725, 0.0565180779, 0.0524937771, 0.045331683, 0.0630650148, 0.0490730107, 0.0039175898, 0.0166931376, -0.0124122351, 0.0014225978, 0.0229867902, -0.0452698991, 0.0015113825, -0.0404545926, 0.0230125878, 0.0044998066, 0.0231311861, 0.0030339099, 0.0495471284, 0.056732621, 0.1193630025, 0.0119771082, -0.0116725406, 0.0884766132, 0.0534293018, -0.0576994456, -0.0279284734, -0.0246032476, 0.007005278, -0.0044306726, 0.0099546686, -0.0029987844, 0.0511806607, -0.0102306474, -0.0275323465, -0.0294413287, -0.0009618234, 0.011984407, 0.0125541184, 0.0360245816, -0.0332271941, 0.0241737589, 0.0426557437, -0.0023464891, -0.0060229045, 0.0217607245, 0.010555299, 0.0229908507, 0.028197445, -0.0047035036, -0.0224474929, -0.0077560279, -0.0132373311, 0.0268537644, 0.0277363211, 0.0386566408, -0.0198098272, -0.0304843467, -0.0226466078, -0.0269618519, -0.0267283861, 0.0350189321, 0.0168219283, 0.0314634144, 0.0454797074, 0.0414005667, -0.0721726716, 0.0005834706, -0.0044189407, -0.0014941269, -0.0151894791, -0.0905811042, 0.0383680984, -0.0279683415, -0.0010714385, -0.0095199849, 0.013779996, 0.0434215367, -0.008166451, -0.0171727333, 0.0407928266, -0.0256096907, 0.0490980111, 0.0287958439, -0.0216952544, 0.0250583943, -0.0333080068, -0.0294837039, -0.0270535853, 0.0169121437, -0.0527552404, 0.0587294959, -0.0054425877, 0.0201968513, -0.0064370674, -0.0008279663, -0.0598952211, 0.049201075, -0.0310508404, -0.0049000382, 0.0116772447, 0.0322135277, 0.059003491, 0.0254671741, 0.014852738, -0.0303644985, -0.0051941788, 0.0054203095, 0.0020898371, -0.0269635655, 0.0032082899, -0.0492887869, -0.0850690678, -0.0303491093, -0.0098504322, 0.005793083, -0.0042308779, -0.0322898738, -0.0332077928, -0.0025940756, -0.0022064527, -0.0277826618, 0.0125666019, 0.0186714716, 0.0474882461, -0.0265757479, 0.0027971026, 0.012869643, 0.0043949909, -0.0173036084, 0.0331014618, 0.0002096875, -0.028782675, -0.0633634403, -0.0046014898, -0.0140576437, -0.0034832002, 0.0074029844, -0.0215982087, 0.0217147395, -0.0251332782, 0.0067951619, 0.0141791953, -0.0387300104, 0.034910731, 0.0298780333, -0.0664702058, -0.0456363708, 0.0091268308, -0.0178503133, 0.0458762012, -0.0191749837, -0.0050031426, 0.0235991105, 0.0213371739, -0.0300034061, -0.0118302302, 0.0030169392, 0.0463925451, -0.0496039689, -0.0133116469, 0.0059982524, -0.0188200977, 0.0026146569, 0.0628041551, -0.0385137498, -0.0683770552, 0.0063294871, -0.0379087366, 0.0094674723, -0.0191003047, -0.0138659459, -0.0428668931, 0.0781684071, 0.0083707208, 0.0273233019, -0.0289980471, -0.0262744799, 0.0166205578, -0.0258659963, -0.0577001087, 0.0188036356, 0.0033283092, -0.0390006267, -0.0218685269, 0.0076871938, -0.0460910983, -0.0254297145, 0.0272519644, -0.024653485, -0.0088573387, 0.0070601786, -0.0566757396, 0.03267828, 0.0620730482, 0.026215693, 0.036754746, -0.0022698015, -0.0066748569, -0.0321081802, 0.0217916872, 0.0782549754, 0.0823620185, -0.0156311877, 0.0566788018, -0.0744650587, -0.0087776184, -0.0519764721, 0.0217845924, -0.0057136831, 0.0394990221, 0.0609044135, -0.0298477691, -0.0704565793, 0.0055132862, 0.0535184592, -0.0319689624, -0.0630629063, 0.083637327, 0.0657889843, -0.0022155531, 0.0195080917, -0.0405511819, -0.0100291334, 0.0330131017, 0.0193201099, -0.0296071768, 0.0551823452, 0.0117556546, -0.0847307071, -0.0070909387, -0.0007056852, -0.0031548035, -0.0720344037, 0.0756917447, 0.0071799792, -0.0544201359, -0.0434076861, -0.0332033299, -0.0355143733, 0.0644530281, -0.0391340591, -0.045035094, -0.0162599813, 0.0011297644, 0.0318530239, -0.0809260756, -0.0217532348, -0.0603327304, -0.0640006438, 0.0497147068, 0.0225265417, 0.0892426744, -0.001910367, -0.0642347634, -0.0425386578, 0.0720597357, 0.0365762934, 0.0061673666, -0.0234749913, 0.0138455033, 0.0061527132, -0.0108215185, -0.010446405, -0.0203186199, -0.0478237122, 0.0140530216, 0.0856349021, -0.0463932566, 0.0708872452, -0.0627225265, 0.0371073112, 0.0108650448, -0.01632048, 0.0316608436, 0.0087249326, -0.0362942889, -0.0596339703, 0.0221561156, -0.0161924064, 0.0095092496, 0.0348571725, 0.0104366196, -0.0232838448, -0.0237220656, -0.047674194, 0.0093329633, 0.0494280644, 0.0336961225, -0.0028438752, 0.0153184207, -0.063082248, -0.0511831716, 0.0149569185, -0.0354406573, -0.0168454777, 0.0471229479, 0.0246154629, 0.0244736504, -0.0336345509, -0.0067517026, 0.0011530373, -0.0268870946, -0.0389127806, 0.0252300259, 0.041493237, 0.0166889224, -0.0240362547, -0.0130096748, -0.0247118566, 0.0845749378, -0.0051180474, -0.051840581, -0.017399108, -0.0013538813, 0.0124019179, 0.0428839512, -0.0117539, -0.012485533, 0.0030072022, 0.0006497009, -0.0163038094, -0.0382252485, 0.0285186507, -0.0173471645, -0.0174828433, 0.0494122505, -0.009692586, -0.0076625631, -0.0169925205, -0.0334755331, -0.0672153607, 0.0015768533, -0.0143361213, 0.0158520024, 0.0373754948, 0.0482163168, -0.0138304727, 0.020082932, 0.0133548751, -0.00389375, -0.0016822687, 0.0094219986, 0.0248777419, 0.010057847, -0.006803703, 0.0385222808, -0.0179823805, 0.0303084385, -0.0588193648, 0.0304183494, -0.0137730846, -0.0185407046, 0.0291100182, -0.0082462579, -0.0542235449, 0.0483368002, -0.0264246128, -0.0607147142, 0.0259628724, 0.0414731838, 0.1027855426, -0.0171316788, 0.0222873818, -0.0242524222, -0.0092055527, 0.0526057817, -0.0052628373, 0.049299188, -0.0918406546, -0.0300949998, 0.0206386372, -0.0589976572, 0.0137992846, 0.0009117728, 0.0121720601, 0.0206938889, -0.0156900883, -0.045547504, 0.0008402994, -0.0072790328, 0.0131643871, 0.0339360721, -0.0326148421, 0.0110517088, -0.067122981, -0.0474567451, 0.0226155631, 0.0028817416, -0.0517411269, -0.011707305, 0.0151894521, 0.0474334136, 0.0060588159, -0.0586328954, -0.0444662943, 0.0071361675, -0.0140962368, -0.044919908, 0.007881918, -5.800738422e-33, -0.0108515294, -0.0868113935, 0.0789913237, -0.0146654677, -0.0399177708, 0.0024998533, -0.0174756832, -0.0231667161, 0.0063675754, -0.0006792622, -0.0076388828, -0.0157633387, -0.0022235594, 0.026365418, 0.0319316313, 0.0318188407, -0.0058821077, 0.0304511059, -0.0091258716, 0.0004270154, 0.041396182, -0.0101027843, 0.0276246127, -0.0947596952, 0.0014685648, 0.0252641309, -0.0115156546, 0.0030319425, 0.0036748257, 0.0496417694, -0.0328631401, 0.0153606674, 0.0153475646, -0.0118144285, -0.0293656271, 0.0237344056, -0.0333119445, -0.032281436, -0.0005919698, 0.0316787772, 0.0083189178, -0.0641985536, 0.0202387031, -0.0081051886, 0.0048703039, 0.0394363739, 0.0391459353, 0.002384034, -0.0733452588, 0.0115851713, -0.1076732129, 0.0020347985, -0.0083967969, 0.0106145693, 0.0261236094, -0.0393120125, 0.0533792488, 0.0243007597, -0.0306262299, 0.0409543253, 0.0291194916, 0.0035702931, 0.019774029, -0.0062412801, 0.0305421073, 0.0559620596, 0.0349266455, 0.0010683999, -0.0491471328, -0.0066557624, 0.0673571154, 0.0132659553, -0.0318924896, 0.0348817594, -0.0309561864, -0.0194684807, -0.025852181, 0.0292347092, -0.0746641234, -0.0026335707, 0.021574555, 0.0057914932, -0.0410511382, -0.0309087262, -0.014285991, -0.0425871685, 0.018399138, -0.015605608, 0.0099334577, -0.0097828656, 0.0457203239, 0.0683416352, 0.0025142182, -0.0466784686, -0.0471092388, 0.034152627, 0.0115549639, 0.0304530431, -0.0133230099, 0.0469272509, -0.02718422, -0.0409689434, -0.0137318065, 0.0348984711, -0.0069546569, 0.0426579118, 0.0286520533, 0.0621374995, -0.0292754062, -0.0071918373, -0.0121144028, -0.0487999097, -0.0219012871, -0.0682994649, 0.035512235, -0.0133848125, 0.0126799168, 0.018338507, 0.0475490168, 0.033912763, 0.0267900527, -0.0053937393, -0.0549653843, 0.0147714894, 0.0074830088, 0.0000921046, -0.0433476679, 0.0195899941, 0.0377393328, -0.0520333163, -0.016841216, -0.0338252112, 2.871e-7, 0.0315803066, 0.0626503155, 0.0539077111, -0.0192416795, -0.001127286, -0.0056784116, 0.0311216228, -0.0024834606, -0.0406938307, 0.0827838928, 0.032587681, 0.038257055, 0.0030627535, 0.0250929296, -0.1276612878, 0.0881321356, -0.046233952, -0.0233203787, -0.0960308984, 0.0192439407, 0.0197621938, 0.0251511354, 0.0215325151, -0.0082829595, -0.0026184928, -0.0403017886, -0.0070485803, -0.0333511382, 0.0078123859, 0.0223822054, 0.0198368579, 0.0010370512, -0.0000214088, -0.0739432126, 0.0048945509, -0.0070677041, 0.0032618491, 0.02636615, -0.0135996751, 0.0018654057, -0.0264369044, -0.0806331038, -0.0285513233, -0.1003895402, 0.0203441884, -0.0416408852, -0.0455025621, -0.0037467123, -0.0086943954, -0.0043578688, -0.0048006824, 0.0131814396, 0.001005762, -0.0362993777, -0.0120297354, -0.0009949779, 0.0167505555, -0.0825359374, -0.0044007176, 0.0481841974, 0.01001646, 0.0275966916, -0.0323699638, -0.005213222, 0.053926982, -0.0097494358, -0.0073672868, 2.665778972e-34, -0.0306139607, 0.0031998672, -0.0149682332, -0.0028566241, 0.0570807643, 0.0028522166, -0.0298666805, 0.0169612933, 0.0263676271, -0.0122239189, -0.013151628 ]
http://arxiv.org/abs/2401.06541v1
http://arxiv.org/pdf/2401.06541v1
Medical Dialogue Generation via Intuitive-then-Analytical Differential Diagnosis
2024-01-12T12:35:19
2024-01-12T12:35:19
Kaishuai Xu, Wenjun Hou, Yi Cheng, Jian Wang, Wenjie Li
cs.CL
cs.CL, cs.AI
Medical dialogue systems have attracted growing research attention as they have the potential to provide rapid diagnoses, treatment plans, and health consultations. In medical dialogues, a proper diagnosis is crucial as it establishes the foundation for future consultations. Clinicians typically employ both intuitive and analytic reasoning to formulate a differential diagnosis. This reasoning process hypothesizes and verifies a variety of possible diseases and strives to generate a comprehensive and rigorous diagnosis. However, recent studies on medical dialogue generation have overlooked the significance of modeling a differential diagnosis, which hinders the practical application of these systems. To address the above issue, we propose a medical dialogue generation framework with the Intuitive-then-Analytic Differential Diagnosis (IADDx). Our method starts with a differential diagnosis via retrieval-based intuitive association and subsequently refines it through a graph-enhanced analytic procedure. The resulting differential diagnosis is then used to retrieve medical knowledge and guide response generation. Experimental results on two datasets validate the efficacy of our method. Besides, we demonstrate how our framework assists both clinicians and patients in understanding the diagnostic process, for instance, by producing intermediate results and graph-based diagnosis paths.
[ 0.0431674831, 0.0319653861, -0.0300777331, 0.0211012736, -0.0084182061, -0.0096312957, -0.0206200629, 0.0078383796, 0.0418428145, 0.0142267914, 0.0323219225, -0.0257972423, 0.0219769757, 0.0740890577, -0.0209367108, -0.0556947067, 0.0048266388, 0.0306087267, 0.0328258872, 0.0032730277, 0.0067675072, 0.0154503053, -0.0657164678, 0.0398978516, -0.003443684, -0.0414525867, 0.0055967653, -0.0111061111, 0.0335415378, -0.0877886564, -0.0428684317, 0.0075511965, -0.0040774578, -0.0259944517, 0.0000020002, -0.0522073619, -0.0020391606, -0.0309977364, -0.0200843774, -0.100596793, 0.014492848, -0.0079117827, 0.0520251691, 0.0126354787, -0.0482033007, -0.0432523377, 0.0232874807, 0.027590951, 0.0556841679, 0.0502731539, -0.0201453045, -0.058017686, -0.0049988544, 0.0104648508, 0.0027695731, -0.0362953357, 0.0355304256, 0.0058981264, 0.0554454289, -0.0579412915, -0.0030831834, 0.0092763612, -0.003401208, -0.0142950425, 0.0140392249, 0.0262438338, 0.0521604791, -0.0184736606, -0.0167736355, 0.1131061837, 0.0517165661, 0.0206649024, 0.050704781, -0.0176674873, 0.0302977636, 0.0088899219, -0.0486628264, -0.0411302708, -0.071773611, -0.0060319905, 0.01199356, 0.0047922689, 0.0102922618, -0.0158872642, -0.0134378495, 0.0460726358, -0.0295695458, -0.0032916581, -0.0149175907, -0.0279673692, -0.0050006085, -0.0329977944, 0.0247325152, 0.0521552339, -0.0813804716, 0.0101124002, -0.0008413832, -0.0318604298, 0.0362822711, -0.003908183, 0.0524513759, 0.0203665253, 0.0246601719, -0.0140358256, 0.0167599618, 0.0061884192, -0.033178404, 0.0068110549, -0.0384435393, 0.0397395939, -0.0601718351, -0.0241847876, -0.0509501137, 0.0316888578, 0.0009586875, -0.0154495155, -0.0664192811, 0.0357550308, -0.0233660862, -0.0062416014, -0.0138995536, 0.0478080623, -0.0074991789, 0.0345607139, -0.0630137995, 0.0139896981, -0.0337014459, 0.019411305, 0.0390109643, -0.0094238324, 0.010618004, 0.0206461716, 0.0300158449, 0.0121793235, -0.0049617835, 0.0507405102, -0.0187040474, 0.0554271452, -0.002398398, -0.0938630775, -0.0414972454, -0.0246331748, 0.0080658402, -0.0546475574, 0.0167891607, 0.039782539, -0.018161701, -0.0517959557, 0.0272539668, 0.0201504305, -0.0471465886, 0.04112982, -0.0546525717, 0.0404070169, 0.0116348118, 0.0275110006, -0.0309907962, -0.0048895315, 0.0145849688, -0.0137260146, 0.0007750927, -0.0154774617, 0.0487778485, -0.0052968604, 0.0534570776, -0.0185845122, -0.0001368464, 0.0213939361, -0.0488901623, 0.0692628473, -0.0507211685, 0.05330313, -0.0185212903, 0.0078816945, 0.0250816885, 0.0570228398, 0.0054342272, -0.0006237664, 0.0295738373, -0.0207067505, -0.0307254046, 0.0238088891, 0.0292341653, -0.0069830348, 0.0177457407, -0.0010260717, -0.0039030428, -0.0312031955, -0.0031171977, -0.0617243499, -0.0523963347, 0.0255579539, 0.0125259217, -0.0171367023, -0.0209236462, 0.015721051, 0.0006424988, 0.0323470682, 0.0059864172, -0.0029972035, -0.0483017266, -0.0747228414, 0.0180367231, 0.0909643918, 0.0556198657, -0.0111600384, -0.0321823396, -0.0017138893, -0.0052777743, 0.0091549717, 0.0234410707, -0.0327988006, 0.0009794189, -0.0169626251, 0.0027276215, 0.016626142, 0.0043644276, -0.0071145711, -0.0500743091, -0.0001660616, -0.0217833202, -0.0103374263, 0.0084880702, 0.0016423863, -0.005080963, 0.0176678933, 0.0382294916, 0.0200343616, 0.0357671678, 0.0422579162, 0.0131539935, 0.0501445569, 0.0045966464, -0.0186203066, -0.0404876471, 0.0580405034, -0.0398626216, -0.053758502, 0.0032373434, -0.0003442633, -0.0307939574, -0.0606904328, -0.0397298895, -0.0433544666, 0.0416883305, -0.0885916203, -0.0093966918, 0.0190579351, -0.0219501257, 0.0738887042, -0.0080236914, -0.0073702321, 0.0357007384, -0.013818671, 0.0022004033, -0.0014954129, 0.0054359855, 0.0346684158, -0.0821264535, 0.0116339391, 0.0080241617, -0.0312027484, -0.0077617452, -0.0098098507, -0.0049233553, -0.0454449914, 0.0110015925, -0.1011887565, -0.0261717085, 0.024682194, -0.0179118998, -0.0059219929, 0.0274315141, -0.0113048432, -0.0368913561, -0.0691179186, 0.0353574678, 0.0594852939, 0.0351657458, 0.0755008385, 0.0674513727, -0.0456200354, -0.0124168312, 0.0018230563, -0.0435694195, 0.0351912752, 0.0361659974, 0.0087610716, 0.007660137, -0.0288173426, -0.0765246898, -0.0020784126, -0.0027854468, -0.0118004363, 0.0290349871, -0.0220530946, -0.0167361237, 0.0210582241, 0.0007969551, 0.0477242544, 0.002676114, -0.0269188937, -0.0498005413, 0.0155960107, -0.0643067434, 0.0019253258, 0.0191108994, -0.0605395958, -0.0280533638, 0.0763035789, 0.0481260531, 0.0137702459, -0.027789887, 0.0491647683, 0.0316888094, 0.0242631361, -0.038774617, -0.0367201865, 0.0037501743, 0.0499205738, -0.0042768777, -0.0304386765, 0.1255205572, 0.0155712152, 0.0335956179, -0.0661146864, -0.0366959088, -0.0308566615, 0.0258148629, -0.0267760064, 0.0249509402, 0.040413633, -0.0262771025, 0.0070448639, -0.0353986397, 0.0252043214, -0.0660441294, 0.0372165889, -0.0569619015, 0.0190587789, 0.0428473689, -0.0445431098, -0.0492520966, 0.0001166619, 0.0017435434, -0.0087251188, 0.0127022052, 0.0036055821, -0.0216483008, 0.0246109441, 0.0001026819, 0.0383011475, 0.0247724988, -0.0150176585, -0.0159750022, 0.0055442606, 0.044950299, 0.0147073856, -0.028680725, -0.0169877596, 0.0617491603, 0.0439392515, 0.0108885011, -0.0134717412, -0.0125547862, 0.0206949338, -0.0499536246, 0.0290916245, -0.0013495578, 0.0133672543, -0.0378379747, -0.0279857628, -0.0129683577, 0.0521171577, 0.0212876089, -0.031009011, 0.0215677489, 0.0016407743, -0.0310781691, -0.0371562093, -0.0054918979, -0.1071526781, -0.0240106191, -0.0140364757, 0.0473752581, -0.0567731559, -0.0512600467, 0.0078444406, -0.0285545178, 0.0244735517, 0.0000589682, 0.0041889045, -0.0320075527, -0.0170140322, -0.0028274208, 0.0183182918, -0.0608674027, -0.0253563076, 0.0248859376, 0.0156213837, 0.0039996929, -0.0515590124, -0.0302739069, 0.0016674076, 0.0271398928, -0.0263794959, 0.0468652323, 0.0564676039, 0.0597061999, -0.0152101889, -0.0501175821, 0.036014948, 0.0498144552, -0.0277379341, 0.0515165888, 0.0333609506, 0.0164017491, -0.0695531368, 0.0492734946, -0.0370048285, -0.0479172617, -0.0067731999, 0.0831047073, -0.0603026524, -0.0262234174, -0.060443487, 0.0434206054, 0.0588873439, 0.0276243184, 0.0129721416, 0.0209618509, -0.0355558731, 0.0291548632, 0.0492424928, -0.0226376913, 0.0067111622, 0.0052679125, 0.001778307, -0.0276234392, -0.0817402899, -0.0362930521, -0.0104776081, 0.0336599275, -0.0021464296, 0.0015587107, -0.0115598291, 0.0273779258, -0.0696124062, 0.0503027141, 0.0693581477, 0.0258344989, -0.0021044612, -0.0287928022, 0.0428888723, 0.0001557415, -0.0193054769, 0.0597921833, 0.0141768986, -0.0213310178, -0.0196008589, 0.0042933319, 0.031515643, 0.0014699975, 0.0008343731, -0.0132722463, 0.0145380581, 0.0455145016, 0.016288206, -0.0227568503, -0.0082387188, 0.0558787137, 0.0052687982, 0.014906493, -0.0181177445, 0.015562688, 0.0060604773, 0.0484917127, -0.06480667, -0.0272284523, 0.0207612328, 0.047640074, 0.0308701303, 0.005237537, -0.0372687839, -0.0284478515, 0.0242469795, -0.0289275497, -0.039888382, -0.0123950131, 0.0184267294, -0.019763805, -0.0319268331, 0.0095156878, -0.0426986031, -0.0567291006, -0.0230696592, -0.0112025142, 0.0070679444, 0.0348391235, -0.038678173, 0.0513015352, -0.0100944545, 0.0075311344, -0.0059841922, 0.0173370708, 0.042850811, 0.0274248123, 0.1009138003, 0.0279061552, 0.0069708996, -0.0017367809, 0.0006781352, -0.0375343338, -0.0615901612, 0.0020589586, 0.0168112926, 0.0028739043, 0.0539474636, -0.0149554191, -0.0113351438, 0.0173709784, 0.0143572399, 0.0370994769, 0.0026681717, -0.0563078895, 0.0547071174, 0.0009248277, 0.012263136, -0.0419573449, 0.0443112105, -0.0806398839, 0.0072041876, -0.0564413294, -0.0534032434, -0.0580089651, -0.02267823, 0.0126583707, 0.0342736989, -0.018555874, 0.0291351993, -0.0962953791, -0.0355215706, 0.0044996059, -0.0030321141, -0.0107864756, 0.0027497204, 0.0680995658, 0.033755105, 0.034347374, -0.045852907, -0.0189283825, 0.1040111408, -0.1041222811, -0.0101634832, -0.0243582763, -5.439607088e-33, -0.0036230963, -0.0515065193, 0.0384589583, -0.0083812503, 0.0026429801, -0.022728717, -0.0505748577, 0.0276217759, 0.0014444183, 0.0634060875, 0.0001509637, 0.012645538, -0.0002518219, 0.0534366667, -0.0317887999, -0.0294674095, 0.022273995, 0.0160670895, -0.0468975231, 0.0360378437, 0.0536020808, 0.0204389021, -0.0289914571, -0.082561709, 0.0004487439, -0.0172387902, 0.0200673081, 0.0494408794, -0.0078467261, 0.034592703, 0.0059172418, 0.0343200155, 0.0391735695, 0.0558849424, -0.0022176383, 0.0402020849, -0.0276589878, -0.0390515141, 0.0207442828, -0.0293323901, -0.0376105979, -0.0216289442, 0.0319159031, -0.0006806058, 0.0036966556, -0.0028794976, 0.019739097, -0.0259320531, 0.0204118323, -0.0248681903, 0.0052039116, 0.0319256335, -0.0217737798, -0.0338831991, -0.0252108704, 0.0274614505, -0.0150800487, -0.0242027026, -0.0135417217, 0.0345622115, 0.0150773395, -0.0342841297, 0.0252571683, -0.0138315009, -0.0207553525, 0.0356512703, 0.0657121465, -0.0197650865, -0.0691107586, 0.0039700978, -0.087305598, 0.0687722489, 0.0353706293, 0.0067441771, -0.0135682151, 0.0174069293, -0.0632561892, 0.021148717, -0.0379202738, 0.0506994911, 0.0241599027, -0.0023408963, -0.0709431618, -0.0208648555, -0.0284634102, 0.0109020434, -0.0368453674, -0.0470372066, 0.01743255, 0.0052694026, 0.0113410652, 0.015336344, -0.0027919607, -0.0223755036, 0.013326291, -0.0207838342, 0.0329459198, 0.0043549663, -0.0254248027, -0.0252183881, -0.0164706558, -0.0131731573, 0.025071498, -0.0024567135, 0.0554740056, 0.0456155464, -0.0204721, -0.0598729812, -0.0031141834, -0.0016197789, -0.0002101111, 0.0273670759, -0.0556757972, -0.0307620224, 0.0171024017, 0.0531114489, -0.0360748135, 0.0609308444, -0.0031226289, 0.0362203531, -0.0408225358, -0.0372554176, -0.0230720639, 0.0310740862, -0.0488090217, -0.0118875876, 0.0150039662, 0.0020234946, 0.0269520972, -0.0403693095, -0.0020849877, -0.0044637006, 2.758e-7, 0.0384904034, 0.0045457548, 0.0450698547, 0.0182032641, 0.0456134602, 0.0206678621, 0.0085633434, 0.0171763171, 0.0207169186, -0.0541624613, 0.0102277705, 0.0164886266, 0.0354890004, 0.060430944, -0.0397075005, -0.001584322, -0.0683877245, -0.0270534679, -0.006317657, 0.0084721576, 0.0912778825, -0.0147361141, -0.0305174869, -0.0061575328, 0.0312735774, -0.0185922943, 0.0400373004, 0.0062827906, 0.0220064539, 0.0407041311, 0.0260807071, -0.0534832217, 0.0367603414, 0.0684646145, -0.0159671474, 0.0059448695, -0.0059705768, 0.0174959525, -0.0546938963, -0.0164786093, -0.0175382011, -0.0330169909, 0.0469362959, -0.0269102585, 0.0165214017, -0.1078329235, -0.0426846184, 0.0542573705, -0.0013955311, -0.0330571458, 0.0300012678, -0.0227558594, -0.039452944, 0.0295638833, 0.0310899466, 0.0207731947, 0.0288956743, -0.0702645034, -0.0107502779, 0.0518083796, -0.0391265787, -0.042746339, 0.036036469, -0.0218891036, -0.0022437214, -0.0536187477, 0.000320026, 2.131435056e-34, 0.0290925801, 0.0369876623, -0.0334737338, 0.0198343787, 0.0531471409, -0.0228986889, 0.0302094296, 0.0541197248, 0.076913029, -0.0742053315, -0.0229946747 ]
http://arxiv.org/abs/2401.06532v3
http://arxiv.org/pdf/2401.06532v3
INTERS: Unlocking the Power of Large Language Models in Search with Instruction Tuning
2024-01-12T12:10:28
2024-05-28T13:58:32
Yutao Zhu, Peitian Zhang, Chenghao Zhang, Yifei Chen, Binyu Xie, Zheng Liu, Ji-Rong Wen, Zhicheng Dou
cs.CL
cs.CL, cs.IR
Large language models (LLMs) have demonstrated impressive capabilities in various natural language processing tasks. Despite this, their application to information retrieval (IR) tasks is still challenging due to the infrequent occurrence of many IR-specific concepts in natural language. While prompt-based methods can provide task descriptions to LLMs, they often fall short in facilitating a comprehensive understanding and execution of IR tasks, thereby limiting LLMs' applicability. To address this gap, in this work, we explore the potential of instruction tuning to enhance LLMs' proficiency in IR tasks. We introduce a novel instruction tuning dataset, INTERS, encompassing 20 tasks across three fundamental IR categories: query understanding, document understanding, and query-document relationship understanding. The data are derived from 43 distinct datasets with manually written templates. Our empirical results reveal that INTERS significantly boosts the performance of various publicly available LLMs, such as LLaMA, Mistral, and Phi, in IR tasks. Furthermore, we conduct extensive experiments to analyze the effects of instruction design, template diversity, few-shot demonstrations, and the volume of instructions on performance. We make our dataset and the fine-tuned models publicly accessible at https://github.com/DaoD/INTERS.
[ 0.0652505234, 0.0342097506, 0.0074263965, 0.0331997164, -0.0161476787, 0.0262110773, 0.0117997834, 0.0088419616, 0.0176097937, -0.0286290888, -0.0805436894, -0.017770974, -0.0350922495, -0.0260227714, -0.0093729347, -0.0399203859, 0.0456730276, -0.0249694884, -0.0177433752, 0.0361345857, 0.0024879861, 0.0249318164, 0.0102417702, 0.0091476403, 0.0372555368, -0.0155500341, -0.001608754, 0.0594863519, -0.0207185689, -0.0307776835, 0.0266750176, 0.0352355205, 0.0553594306, 0.0405481532, 0.0000018289, -0.044748079, -0.0098049473, 0.0006076889, -0.0465484783, 0.038532339, 0.0703990608, -0.0102752438, 0.0524802245, 0.029540332, -0.0258305892, -0.0304517746, 0.0084987143, 0.0456852391, 0.0608676039, 0.0918184444, 0.0174797755, -0.0292007178, 0.0077061867, -0.039563939, 0.0574455969, -0.0479751118, 0.0175581966, -0.0215222053, 0.0584430583, 0.0718575493, 0.0130506577, 0.0436348729, -0.0126542095, -0.0195720177, 0.017595496, 0.017363755, -0.0548670739, -0.0230702851, 0.0040909052, 0.0628649965, -0.0241108369, -0.0278407708, -0.0070462157, 0.0121093625, -0.0126978857, 0.0309183132, -0.0589548536, -0.0009088027, -0.0390041582, -0.0152751002, 0.0112105329, -0.0223105457, 0.029611459, 0.028219603, -0.0207262803, 0.0567746237, 0.0052142292, -0.0437396467, 0.0219063405, -0.0241616331, -0.0266161095, -0.0228789989, 0.0179067142, 0.0526429787, -0.0592440367, 0.0169431735, -0.0073039811, -0.0295532905, 0.0442952439, -0.0331453308, 0.0357150212, 0.0411503762, -0.0099874614, 0.1092711613, -0.0300562773, 0.0691125393, 0.0002347656, 0.0253844224, -0.0654899329, -0.0128643671, -0.0568310246, -0.0262313969, -0.0546107106, 0.000006763, -0.0463677458, -0.0283891931, 0.0192193948, 0.0345362276, 0.0340262949, 0.0004353901, 0.0298323631, -0.0080678798, -0.0523789972, -0.0109192235, -0.042021893, 0.0264210049, -0.0185334682, -0.0016635422, -0.0100625111, -0.0618387572, -0.0174545515, 0.0168208797, 0.0031644683, -0.0461001582, 0.0475251302, 0.0101638027, -0.0155612584, -0.0621417239, -0.0219960865, 0.0064729499, 0.057405822, -0.0537120216, 0.0037174188, -0.0363015272, 0.0399044976, 0.0169510543, 0.00942156, -0.0188289639, 0.0200631954, 0.0560026355, -0.0261361785, 0.0827260166, 0.0142427329, 0.0329493023, 0.0468418971, 0.0092701167, 0.0230367817, 0.0886184126, -0.0081870165, 0.0276989527, 0.0611417964, 0.0055587497, 0.011172181, 0.0046509816, -0.00078933, 0.0237456616, -0.0194393881, 0.0667871758, 0.0066613266, 0.047255449, 0.0336267576, 0.0478447936, -0.0232290346, -0.0125693372, 0.0165454075, 0.0489392281, 0.0255648419, -0.0267500039, 0.0410579816, 0.0409399457, 0.0219872221, -0.0229299609, -0.0294778682, 0.017351253, -0.0239875242, -0.0007363128, 0.0124846399, 0.0116207702, -0.0469177477, -0.0272579808, -0.0214274954, 0.0329727829, -0.04508112, 0.0433267206, 0.0320961624, 0.0096258931, -0.0297716465, 0.020494137, 0.0218148604, -0.0316810645, 0.0187453292, -0.0382935219, 0.0186000932, 0.0931486189, 0.0740597472, -0.0596584082, -0.0203269459, 0.0153089007, 0.0387639068, 0.0288429055, 0.0308235753, -0.0277454033, -0.0034592659, -0.0568137132, -0.0372722186, -0.0212665144, 0.0112674134, -0.0042729834, 0.048018869, -0.0094255581, 0.0227551367, -0.0696500093, -0.042555552, 0.0456543863, -0.0409894846, -0.0867169648, 0.0011845951, 0.0025007024, -0.0239370577, -0.0071102069, -0.0088164443, 0.0144347539, 0.0409757458, -0.0069505358, 0.022875309, -0.0462518819, -0.0144150797, -0.0112610403, 0.0004189842, 0.0000869656, 0.0244286861, -0.000289542, -0.0399670303, -0.0212268699, -0.0263969488, -0.0109947855, 0.0442128703, -0.0287651196, 0.0044203587, -0.0014281722, -0.0059096487, -0.0728767812, 0.0521821529, 0.0105877072, 0.0528099686, 0.0443994105, 0.0159541555, -0.0193965957, -0.0475459322, -0.0114493193, 0.0117351357, 0.0086627156, 0.0099866791, 0.0178218521, 0.0324849263, -0.0510240383, -0.0303587839, -0.1126205176, 0.043778576, -0.0420758389, 0.0278409049, 0.0074179699, 0.0217356384, -0.0327765457, -0.0265888479, -0.0147065893, -0.05678216, 0.0008738362, 0.0414369591, 0.0162803233, 0.0331545249, -0.0144452564, -0.0486789942, -0.0399417691, -0.0005621237, 0.0389435254, 0.0075555462, -0.004032806, -0.0380563438, 0.0387268476, 0.0010798461, -0.0012309084, -0.0221599229, -0.0066077737, 0.0072362158, -0.0555034131, 0.0243038852, 0.1025883481, 0.0070837652, 0.0360331163, 0.0283400342, -0.0025735062, -0.0904627368, 0.0327671282, -0.0155650964, -0.0322497897, -0.0245785601, -0.0221196171, 0.0168245584, 0.0384420045, -0.022449268, 0.0031745022, -0.0336307287, 0.0088947192, -0.00842671, 0.0132161016, -0.074776642, 0.0017856134, 0.0409116, 0.0192042105, -0.0270006992, -0.0473451801, 0.0559533425, -0.0314842798, -0.0068510291, -0.0465769619, -0.013181881, -0.0813904032, 0.0503251441, -0.0175204575, 0.0059220102, -0.0096222796, -0.023553282, -0.0273686629, 0.0073614889, 0.0217482671, -0.049207896, 0.0311713219, -0.0224933717, 0.0135797802, -0.000871137, -0.0380248316, -0.0262141135, -0.0515417457, -0.0036120885, 0.0180774927, 0.032200072, -0.0156951863, -0.0765072703, 0.010087789, 0.0567454882, 0.033292871, -0.0238003898, -0.0308285113, -0.0189122595, -0.0034425331, 0.0548972785, -0.0414440483, -0.0042752335, -0.0429644324, 0.018421419, -0.0033168141, 0.0691824108, -0.0337764546, -0.0048300764, -0.0114996172, 0.0462593473, -0.054180745, 0.0040692179, -0.0076455814, 0.0286030415, -0.0580444336, -0.0354320407, 0.1049946994, 0.0309684705, -0.0646456257, -0.0374018326, -0.0204558782, 0.0188446511, 0.0655984059, 0.063904345, -0.0483938791, -0.0376013517, 0.0149257202, 0.0649293438, 0.0127748884, -0.0058327899, -0.0120633366, -0.1028122082, 0.032113716, -0.0109718721, -0.009348128, -0.0515052229, -0.0837354138, 0.0015456608, -0.028261371, 0.0274100062, 0.0447923318, -0.0725241676, 0.0032944914, 0.0325169265, 0.0181946903, -0.0629144236, 0.019883601, -0.022620488, -0.0017089323, 0.0587889105, -0.0031297854, 0.0254601985, -0.0313124061, 0.0156986117, -0.0284672417, 0.0107416753, -0.0382693112, 0.0388389267, -0.0425728038, -0.0036395895, -0.0145270759, -0.0020345321, -0.0327947959, 0.0237167701, -0.0014648298, 0.0413957983, -0.0326734558, 0.0330085345, -0.0423210524, -0.0626546144, 0.0036411001, 0.0870610997, 0.0132780345, -0.0049819457, -0.0035469239, -0.0273430329, -0.0003543873, -0.0162072424, -0.0192603804, 0.0171511937, -0.040704485, 0.0130430786, -0.0290477928, -0.0431094728, 0.0386613905, 0.0285275597, 0.0157793555, 0.0114020556, -0.0275853667, 0.0001985476, -0.050099548, 0.0750942379, -0.0451619774, 0.0142979883, -0.0735539645, -0.0060991277, 0.039653711, -0.0282129347, -0.0198989101, -0.0092205219, -0.0711739361, -0.0299224909, -0.0226589236, 0.0147546399, 0.0211352333, 0.0327118263, -0.016746603, -0.069472827, 0.0121656796, 0.0595064051, -0.039852526, -0.0293345731, -0.000628659, -0.0118371677, -0.0126563776, 0.0411291942, -0.0666219592, -0.0047199675, -0.0036909089, 0.0569185652, -0.0222669821, -0.0260866247, 0.0423547588, 0.0328356437, 0.0494226068, 0.0232717767, 0.0279510804, -0.0514613725, 0.037603721, -0.0022932449, -0.0424326248, -0.0194688998, 0.0021488359, 0.0461905748, -0.0413627252, -0.009497487, 0.0250467882, 0.0011035932, 0.0553225577, -0.0650849715, 0.0217532981, -0.0117190732, -0.0025738124, 0.0248877965, -0.0103342189, -0.0269551463, 0.0366242304, -0.0018410122, 0.0487549268, -0.0179502051, 0.0438724533, 0.0298693161, -0.0069675092, -0.032186944, 0.0076692393, -0.050337594, -0.0684935749, -0.0222021732, 0.0037492141, 0.0483024046, -0.0376510099, -0.0195824392, -0.025838187, -0.0151544036, -0.0274702553, -0.0170607883, 0.0188671649, -0.0174534824, 0.0305742752, 0.0631584823, 0.0040308824, -0.0013039326, 0.0778821409, 0.0023938019, 0.0645431876, 0.002932555, -0.0371044725, -0.0178547576, -0.0076591913, 0.064128466, 0.0287764817, -0.04257017, 0.0112105319, -0.0296226293, -0.0216893051, 0.0008425546, -0.0098176738, -0.0416110493, -0.0296042766, 0.0587494597, 0.1022413895, 0.001270555, -0.0320192538, -0.0395139754, -0.0141198533, -0.0305668302, -0.0306794923, -0.0044310843, -6.492355951e-33, -0.035597641, 0.0031449089, 0.0357582681, -0.0323257409, 0.0098635685, 0.006457895, -0.0149615714, -0.0284924228, -0.0294406265, 0.0031227788, -0.0469549522, 0.0416471846, 0.0155716529, 0.007842619, 0.0120702274, -0.0220873188, 0.0551376492, 0.0108141964, -0.043511834, 0.0224423055, 0.0347598121, 0.0518593602, 0.0174380895, -0.0397414528, 0.0137604279, -0.0081463773, 0.0057624872, 0.0599845238, -0.0205965675, 0.0741693452, -0.0115826428, 0.0312547907, 0.0169521794, -0.03800359, 0.0066917576, 0.0093893586, -0.0861300528, -0.0185977742, 0.0315393247, 0.0056067584, -0.0296720006, -0.0330928341, 0.0291091278, -0.0267190598, 0.0012377088, 0.0043307175, 0.0338383615, -0.0074117612, -0.0297700018, -0.0281111449, -0.0193514023, 0.0182422362, -0.002604075, -0.0467402376, 0.0360848159, 0.0268706847, -0.0017318374, 0.0420725308, -0.0401069298, 0.0161198694, -0.0044380967, 0.0803545415, 0.0405619517, 0.0279594529, 0.0110774459, 0.0299521163, 0.0085097756, 0.0043185432, 0.0169862509, -0.0299756061, 0.021212792, 0.0447134003, -0.0098093878, -0.0048555695, 0.0224459246, 0.0093135703, -0.0438455641, 0.0236608759, 0.0195553135, 0.0851845294, 0.0184840113, 0.0365479402, -0.0733087361, -0.0033618901, -0.0471555181, 0.0076304493, -0.0606179461, 0.0043847365, 0.0330862962, 0.0540102012, -0.0091605131, -0.0250478014, 0.0358431265, -0.0063133091, -0.0282426197, 0.0419934578, 0.0017676146, -0.0078256642, -0.0014871971, 0.0143024717, -0.0582563579, -0.0361055247, 0.0284725372, -0.0202666633, -0.0220062248, 0.0138651356, 0.0110463714, 0.0147069842, -0.0679256618, -0.0206213947, -0.0239159856, 0.0048495508, -0.0313754529, -0.0110847587, 0.0164763853, 0.0287595727, -0.0020905221, 0.0670471862, 0.0247529801, -0.0354853272, -0.042248942, -0.0417176709, -0.012075481, 0.0020228978, 0.0030089866, 0.0237424336, -0.0398586467, 0.0046765697, -0.0087426426, -0.035054706, -0.0024932413, 0.0483554937, 2.673e-7, 0.0241986383, 0.0878884047, -0.0127365347, 0.0862087011, -0.01526001, 0.0131596131, -0.0356664434, 0.0084262146, 0.0342629291, -0.0312787145, -0.0035651955, 0.0411563814, 0.0449597053, 0.0067861197, -0.0880603418, -0.0099979332, -0.0374475718, -0.0109479595, -0.0874183774, -0.0589683503, 0.026387224, 0.0938005298, -0.0215972904, 0.0188196544, -0.021782022, -0.0612324439, 0.0583020225, -0.0076760165, -0.0185596589, 0.0295441337, 0.0547458716, 0.0483776852, 0.0134755531, 0.0002752, -0.0004094034, 0.019222714, 0.0285263024, 0.0747118145, -0.0002418555, -0.0056635817, -0.0042520673, -0.0335853696, -0.0134365652, -0.0654463023, 0.067266278, -0.0217047669, 0.0322220586, 0.019327784, -0.0002415557, -0.0088986345, 0.0194566473, -0.0318543576, -0.0268557761, 0.0060372539, 0.0102697266, -0.0148957735, -0.0173919778, -0.0807710588, 0.0087978346, 0.0210423339, -0.0195126049, -0.0107292691, -0.0657467619, 0.0197787732, -0.0216158032, -0.0367557853, 0.0055222739, 2.45911857e-34, 0.0401436538, 0.0107896654, -0.0036045189, 0.0144236954, 0.0450097024, -0.0189890917, -0.0496031716, 0.0399715602, 0.0084552765, -0.1143990979, 0.0059611201 ]
http://arxiv.org/abs/2401.06526v1
http://arxiv.org/pdf/2401.06526v1
MetaHate: A Dataset for Unifying Efforts on Hate Speech Detection
2024-01-12T11:54:53
2024-01-12T11:54:53
Paloma Piot, Patricia Martín-Rodilla, Javier Parapar
cs.CL
cs.CL, cs.SI
Hate speech represents a pervasive and detrimental form of online discourse, often manifested through an array of slurs, from hateful tweets to defamatory posts. As such speech proliferates, it connects people globally and poses significant social, psychological, and occasionally physical threats to targeted individuals and communities. Current computational linguistic approaches for tackling this phenomenon rely on labelled social media datasets for training. For unifying efforts, our study advances in the critical need for a comprehensive meta-collection, advocating for an extensive dataset to help counteract this problem effectively. We scrutinized over 60 datasets, selectively integrating those pertinent into MetaHate. This paper offers a detailed examination of existing collections, highlighting their strengths and limitations. Our findings contribute to a deeper understanding of the existing datasets, paving the way for training more robust and adaptable models. These enhanced models are essential for effectively combating the dynamic and complex nature of hate speech in the digital realm.
[ 0.0649965629, 0.0761093199, -0.0181240086, 0.0400930569, -0.0179367587, 0.0419499986, 0.0294838902, 0.0220262855, -0.0093869772, -0.0598060712, -0.019457791, -0.0054515665, -0.0061025964, 0.0213335566, 0.000383263, -0.0493776202, 0.0406085551, 0.0488083623, 0.0110588809, -0.0208419748, 0.0775757805, 0.0285751447, -0.0200291779, 0.0239268132, -0.0718343854, 0.0048501072, 0.0480520464, -0.0077763344, 0.0336690135, -0.0046682879, 0.0616338924, 0.0431608707, 0.0191662908, 0.0736422092, 0.000001768, -0.0415972397, 0.0300145671, -0.025876049, -0.0097105224, -0.0557092056, 0.0853524134, -0.0599959157, -0.003405245, 0.0285525508, -0.0137227047, 0.002896345, 0.0698769912, 0.0345108919, 0.0590992086, 0.0502929688, -0.0125636645, -0.0467635132, 0.0189102162, 0.0091145691, -0.0129510406, 0.0517659225, 0.0221458096, -0.0459847413, -0.0650576204, -0.0113865947, -0.0001346964, 0.0030836856, 0.0089627495, 0.0406252444, -0.0036083711, -0.0323272757, -0.0488236584, -0.0348196365, -0.0151328305, 0.077847518, -0.0393368192, -0.0208452642, 0.0089550968, -0.0108409841, -0.0390734449, -0.009726516, -0.0143378284, 0.0115185706, -0.034598019, 0.0234141629, 0.0000875338, 0.0226447191, 0.0559008159, 0.0772610754, 0.0463490747, 0.042231977, -0.026536189, -0.0271322913, 0.0102674589, -0.0166246872, -0.0160434432, 0.0364820771, -0.0038185483, -0.0291925855, -0.0039442941, 0.0285433587, -0.0628721789, -0.05942633, 0.014138299, -0.0498041026, 0.0395926572, 0.0211080089, -0.0243252628, 0.0060962019, 0.0208832286, 0.002557101, 0.013237902, 0.0092712799, 0.0195994731, -0.0003926137, -0.0528652295, 0.0207935199, -0.0025207414, -0.0144020636, 0.0121978298, 0.0556512699, -0.0495065041, -0.0226347651, -0.0672100931, -0.0165535603, -0.0133944759, 0.0052798721, -0.0011821106, -0.0126465298, -0.0094589638, -0.0039880746, -0.0348009318, 0.0182492714, -0.0516640022, -0.073943831, 0.0088907806, 0.0225772727, -0.0063675088, -0.0379453897, 0.0146810366, 0.0574467704, 0.0322216563, -0.0409757085, -0.019550126, -0.0372726209, -0.0270022396, -0.0172349494, 0.0243857522, -0.0607017018, 0.0615553185, -0.0129501717, -0.026383508, -0.0644420534, -0.0012246739, 0.0223075692, -0.0318960734, 0.0720797852, -0.0178414937, -0.0073518655, 0.0442490093, 0.0181834269, 0.005740073, 0.0670291483, 0.0185581334, 0.0260444786, 0.0662153736, 0.0002425086, 0.0075940709, 0.0593681559, 0.0575680286, 0.0209744815, -0.0401955917, 0.03271202, -0.0341966562, -0.0496351123, -0.0156734325, 0.026972346, -0.0007004855, -0.073695004, 0.0336100869, 0.0695539489, -0.0390715636, -0.0074806106, 0.0545478202, 0.0306090228, -0.0103564113, -0.0724170357, -0.052696988, -0.047580976, -0.0307836533, -0.0584358796, 0.0123040993, 0.0586771332, -0.009846922, -0.0264765453, -0.0392566212, -0.0026347025, 0.0259123147, -0.0368861891, 0.0222395733, 0.0018058086, 0.0218370538, 0.0286772586, 0.0514845774, -0.0238826647, 0.0090409331, -0.0156728961, 0.0024343024, 0.0532516092, 0.01351404, -0.0221639108, -0.0062739365, -0.0675849319, 0.0361127667, 0.0504870601, -0.0082406644, -0.0070291306, 0.0327843502, -0.0212797076, -0.0070996955, 0.0439640321, -0.001288538, -0.0001567401, 0.1027007103, -0.0004974791, 0.0090021826, 0.0328664146, -0.0372794196, 0.0269808061, 0.0297088102, -0.0095586125, 0.0022121863, 0.0100006228, 0.0703725368, 0.01775443, -0.0334145427, -0.0897595957, 0.0155298859, 0.0094626816, -0.0327863358, 0.0091232769, -0.0227755941, -0.0057519493, 0.0485555232, -0.0529715568, -0.0226675365, 0.0638255849, -0.0317524001, 0.0241795685, 0.059479177, -0.0305347964, -0.009296461, -0.0037158027, -0.0546377711, -0.0684432238, 0.0568963923, 0.0302831456, 0.0690528229, -0.0296650268, -0.0241433997, 0.0216892865, -0.0614122972, 0.0452076979, 0.0319933221, -0.0358166434, -0.0336746313, -0.0448203757, 0.0408065394, -0.0094672767, 0.0124906972, -0.0408678092, 0.0103025567, -0.0633906052, -0.0075688967, -0.0289170127, -0.015409559, 0.0221242439, 0.0027725173, -0.0376316085, 0.0093156993, 0.0139085939, -0.0349100232, 0.0644671395, 0.0263014957, 0.0119639365, -0.0679127797, -0.0028756813, -0.0294750445, -0.0327616669, 0.0001386074, 0.0101664569, -0.0050084121, -0.0568001755, 0.0797926486, -0.0210343078, -0.0357328206, 0.0092519568, -0.0169131551, -0.0421569012, 0.0250886604, 0.0218321308, -0.0334051438, 0.0020856638, 0.0582146905, 0.0865322724, 0.0187178887, 0.0005165415, -0.0133433435, -0.0021814962, -0.0257074293, 0.0264236908, -0.0208880864, -0.029289782, -0.0006230621, 0.0833545998, 0.0434272848, 0.0064684073, -0.0445418693, 0.0299553536, -0.0495324098, -0.0459374748, -0.0346243158, -0.0383433774, -0.018509822, -0.0274292026, -0.0698781535, -0.0684656873, 0.0656677857, 0.0113116689, 0.019866446, -0.0120872073, -0.03395316, 0.0007207369, 0.036115367, 0.012069013, 0.028952945, -0.031179836, 0.0119701559, 0.0281640682, -0.0300013069, 0.0277664345, -0.0069595356, -0.0357646048, -0.010218936, 0.0275133606, -0.0041026217, -0.0317166485, -0.0537037961, -0.0542010851, -0.0636686683, -0.0363269821, -0.0033198919, -0.0076559605, -0.0197348241, 0.0003777251, 0.0305545758, -0.0259753298, 0.0074343155, 0.0033013595, 0.0363623425, -0.0341468826, 0.0125914831, -0.0010544085, 0.0046428759, 0.0153218061, -0.0175669882, 0.0406018831, -0.0030896761, -0.0053385664, 0.000227188, 0.020679893, 0.0166975297, 0.0261339247, 0.0308251549, -0.0240840036, 0.0095556527, 0.0107725989, 0.0179583132, 0.0825871155, 0.0293941405, -0.0175072327, -0.0143078845, 0.011312237, 0.0186977051, 0.0159312952, -0.0405457392, -0.0937845185, -0.0302844215, -0.0367835201, 0.0381320938, -0.0814481601, -0.03388815, -0.0091153868, -0.0415483974, 0.010223805, -0.0168619957, -0.0386936218, -0.0129364021, 0.0023891863, 0.0216797087, -0.0215227101, 0.0275514834, -0.0558789074, 0.0141978338, -0.0010887113, 0.0072877696, -0.1018324867, -0.0187268909, 0.0272051208, 0.0004842856, 0.0378894061, 0.0104793748, 0.0400837474, -0.0357880369, 0.0044866302, 0.0296455361, -0.0027111603, -0.0238065477, -0.0702826828, 0.0692399815, -0.0136920949, -0.0467731766, -0.0167577025, 0.0560962111, -0.0335859358, -0.0176867805, 0.05004723, 0.0305640418, 0.0311278924, 0.0205897968, -0.072304599, 0.0334273987, -0.00184932, 0.0583719313, 0.0285151992, -0.0499718674, 0.0396574773, -0.0567456335, -0.0184643324, -0.0285831615, -0.0774874091, -0.0022057011, -0.0253606178, -0.0242796876, -0.0135020716, -0.0292642172, 0.0428983532, 0.0001299931, 0.0206101593, -0.0240765158, -0.0028984542, -0.0139498962, -0.0758136809, 0.0212022029, -0.0046624769, 0.0302327722, -0.01520753, -0.0041015688, -0.0132495891, -0.0219520498, -0.0217663702, 0.0426970273, -0.0652309209, -0.0376814269, 0.0670564547, 0.0393157974, 0.0110034319, 0.0173803288, -0.0100327674, -0.0538291112, 0.0742382333, 0.0729094073, -0.0246964153, -0.0227126125, 0.0490039289, 0.0038510857, 0.0189304501, 0.0010874156, 0.0060608024, 0.043262396, 0.0486602746, -0.0611439161, -0.0576025136, 0.031579975, -0.0191025268, -0.0187923815, 0.0652367845, -0.0022764367, -0.065341346, -0.0424649976, -0.0442571975, 0.0104726758, -0.0532158166, -0.0053074043, 0.0175003838, 0.0050695916, -0.005691058, -0.0582411289, -0.0215064734, -0.0605321936, 0.0224187654, -0.016101744, 0.046173986, 0.0362588167, 0.0359470993, 0.0262159463, 0.0063513936, 0.0000939228, 0.0355703644, -0.0140883699, -0.0354538746, 0.0041830051, -0.0023180463, 0.0030882438, 0.0071721869, 0.0246819295, -0.0165871121, 0.0282009505, -0.0017338429, -0.0506833531, -0.0169963557, -0.0226364359, -0.0037448416, 0.0378204435, 0.0185180251, -0.0131483115, -0.0165112223, 0.0038299905, -0.0300587416, -0.0493935943, -0.0022103896, 0.0391407348, -0.0408486575, 0.0196872931, 0.0327273905, -0.0090015447, 0.0298623592, 0.08210738, -0.0347700939, -0.019361278, 0.0011271742, 0.00394066, 0.0284110606, 0.0358419567, 0.0141990483, -0.0465889573, -0.0440411307, 0.0307140555, -0.0563133843, 0.0180426408, 0.0198538527, 0.0062854616, 0.0606255084, 0.0052693882, 0.0254463814, -0.0063286959, 0.0101109715, 0.0154578574, -0.08378499, 0.0207103342, -5.403288721e-33, -0.0062026973, -0.0149543714, -0.0005996725, -0.0104370518, 0.0033258784, -0.0135495253, 0.0518690161, 0.0031486033, -0.0213430785, 0.0179026444, 0.0037510956, 0.0486240461, 0.0004477725, 0.0221339799, 0.0025838187, -0.0312387962, 0.0033397591, -0.0387487896, -0.0229071546, -0.0016869734, 0.0568180978, -0.0138223665, 0.0345819332, -0.0539705008, 0.0455336943, 0.0189959053, -0.021055989, 0.0286804661, 0.0162334051, 0.0739812851, -0.0166851878, 0.1271920204, 0.0516971238, 0.0036067236, -0.0060684225, 0.0477771275, -0.0384894833, -0.0111807929, 0.0201749373, 0.0002705985, 0.0443095602, 0.0003230368, 0.0202226583, 0.0106638419, -0.0334448516, -0.0240978096, 0.038764149, -0.043729756, 0.0193716157, -0.0194951892, -0.0575225465, 0.0406564884, -0.0530430228, 0.0149117606, -0.0066700284, 0.0399682187, 0.0457896702, 0.0114206821, -0.0574445054, 0.0463281609, -0.0142570296, -0.0074752583, 0.0160935279, -0.0071508186, 0.0202138964, 0.0614796281, 0.0167453736, 0.0232578367, -0.0072934092, 0.0368479155, 0.0148128113, 0.0401246808, 0.0255344994, 0.0895181969, 0.0184874907, -0.0986267254, -0.0439713113, -0.0016394045, 0.0594814979, 0.0019079399, -0.012713559, -0.0532975234, -0.0398946851, -0.0401641987, -0.0174049009, -0.0617584847, -0.0142007917, -0.008400023, 0.0081122974, -0.0231364407, -0.018593099, -0.0020374842, 0.0119167631, -0.0184827466, 0.0062808464, 0.0483039729, -0.0238456242, 0.0029307816, 0.0435643122, 0.0505504273, -0.0308025926, -0.0282561053, 0.0187596902, -0.0116635654, 0.0351840183, -0.0357165374, 0.077250123, 0.040956866, -0.0522123501, 0.0102402894, -0.0010602489, 0.0700059757, -0.0571488664, 0.0298251491, 0.0019089765, 0.0550258495, -0.0140331686, -0.0300971884, 0.0242274869, -0.0637855455, 0.0035072642, 0.0146086598, -0.0499736667, -0.0049672113, 0.0055788485, -0.0165216289, -0.0190043747, -0.0228468478, 0.0345896259, -0.0755101219, 0.0235152729, -0.0569411218, 2.324e-7, 0.0042887605, 0.0377328098, 0.0013627344, 0.0019859273, 0.0367724337, 0.0201934539, 0.0530201569, 0.0192922633, -0.0275801383, -0.0194888096, -0.0049130176, 0.060116794, 0.0294866432, 0.0502048917, -0.0078029884, -0.0152417757, -0.063414678, 0.0017575549, -0.0672983602, 0.0225192327, -0.0194633491, 0.0734618604, 0.0824752003, -0.0523565225, -0.0461441092, 0.0016360644, -0.0103371833, -0.0527213812, -0.0094559388, -0.0228869822, 0.0524866246, 0.0325774103, 0.0195568614, -0.005601462, -0.0224184263, 0.0285211615, -0.0113335764, 0.0331073031, 0.038202174, 0.0108681815, 0.0011573897, -0.0205714088, -0.0151133584, -0.0137507878, 0.0434689522, -0.0031198454, -0.0160229728, -0.0496325418, -0.0112065589, -0.0130148884, 0.0365724526, -0.032578215, -0.0037744862, -0.0206725821, 0.0476766229, -0.0348461829, -0.0040485086, -0.0785713121, 0.0114522539, -0.0114250546, -0.038454324, -0.0378459133, -0.0124228913, -0.0066438089, 0.0527412742, 0.0358927213, 0.054149352, 1.596107007e-34, 0.0017912862, -0.0298797637, -0.0062026801, -0.0650440082, 0.0352654308, -0.0022793489, -0.0255336948, -0.0172195006, 0.0402759649, -0.0124886269, 0.0133322123 ]
http://arxiv.org/abs/2401.06509v3
http://arxiv.org/pdf/2401.06509v3
AntEval: Evaluation of Social Interaction Competencies in LLM-Driven Agents
2024-01-12T11:18:00
2024-03-05T12:07:04
Yuanzhi Liang, Linchao Zhu, Yi Yang
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated their ability to replicate human behaviors across a wide range of scenarios. However, their capability in handling complex, multi-character social interactions has yet to be fully explored, primarily due to the absence of robust, quantitative evaluation methods. This gap has slowed the development of agents proficient in more nuanced interactions beyond simple exchanges, for example, small talk. To address this challenge, we introduce the Multi-Agent Interaction Evaluation Framework (AntEval), encompassing a novel interaction framework and evaluation methods. The interaction framework aims to foster an complex interaction environment that bolsters information exchange and intention expression within social interactions. Furthermore, we introduce evaluation methods, including two metrics: Information Exchanging Precision (IEP) and Interaction Expressiveness Gap (IEG), designed for the quantitative and objective assessment of agents' interaction competencies. Our findings highlight the utility of these evaluative methods and show significant potential for improving LLMs' ability to construct agents that interact in a more natural manner with human-like intricacy.
[ 0.0455227345, 0.0010090375, -0.0362989493, 0.0422224365, -0.0104672592, 0.0152417729, 0.0058541084, -0.0027440591, 0.0169727542, 0.0028168783, -0.0615480617, -0.0749555454, 0.0357759893, 0.0319567323, 0.0288226046, -0.029977873, 0.0293324348, -0.0110024121, 0.0359635688, 0.0000766182, 0.0074310368, -0.0095511377, -0.0117376363, 0.0426918752, -0.010167703, -0.0063043241, -0.0511809736, -0.0161577314, 0.0502074063, -0.0110246595, -0.0096395314, 0.0258881282, 0.0424143188, 0.0209846832, 0.0000019442, -0.0715367943, 0.0416076109, -0.0145029053, -0.0185393728, -0.0180578846, 0.0811017081, 0.0113792904, -0.0008429354, -0.0096926391, -0.08474347, -0.0103251087, 0.021426782, 0.0101360194, 0.0611830316, 0.0586755462, -0.0010221865, 0.0150961066, 0.0016847072, -0.0230527483, -0.0084978798, -0.0492354371, 0.0132768396, 0.0120178703, 0.0280695148, -0.0134004988, -0.0044272933, 0.0260479171, 0.0215784777, -0.0583155565, 0.0457354337, 0.0183488131, -0.0032959853, -0.061737664, -0.0287457407, 0.084852837, 0.0507112145, 0.0307045449, -0.0227461364, -0.0087759094, 0.0346170254, 0.0034437429, -0.0116588632, -0.0213467162, 0.0368749984, 0.0025588886, -0.0282112006, 0.0184920486, 0.0247303601, 0.016208671, 0.015224616, 0.0683261901, -0.0194608513, 0.0027124474, -0.0075082127, -0.0384503789, 0.0141888876, -0.0620841496, -0.0203779098, 0.0582738928, -0.0435007587, 0.0188557617, -0.0230204258, 0.0539601259, 0.0263601597, -0.0422874615, 0.0328875519, 0.0183773395, 0.035358876, 0.0241428949, 0.0178976022, 0.060123127, 0.0337595083, -0.0058030928, 0.0147990733, 0.0073334402, -0.0240146481, 0.0010285039, -0.0082477136, 0.0197341759, -0.048999954, -0.0326709747, 0.0102946479, 0.0678205416, -0.0445636436, 0.0341504328, 0.0015655088, 0.0022702052, 0.0025404207, 0.0087021766, -0.0455046296, -0.0091173341, -0.0437309556, 0.0237326249, 0.0218625776, -0.1015187353, 0.0046138316, -0.0098464796, 0.0228499584, -0.0179450177, -0.0206032787, 0.107913062, -0.0049119294, -0.0555946641, 0.006877319, -0.0015391349, -0.0077157617, -0.0937801749, -0.0259978734, -0.0201252457, 0.0531486049, -0.0314291716, -0.0266672187, -0.0586759858, 0.0269424357, -0.0333016813, 0.0015505924, 0.0490934104, -0.0296773352, 0.0437792838, 0.0113776159, 0.0378038771, 0.0008466078, 0.046022784, 0.060761787, 0.013175386, 0.050054308, 0.0003963715, 0.0302614979, 0.040073052, -0.0131577188, 0.0214945991, 0.0436716564, -0.0069247494, -0.0113279158, 0.0515174195, 0.0418778807, 0.0496189967, -0.0252599604, -0.0267991796, 0.0798439458, 0.0515727401, 0.003375917, 0.0095312381, 0.0561035573, 0.0680385828, 0.026195243, -0.003819051, -0.0252367575, 0.0477412641, -0.0004872441, -0.0178185143, -0.0151888467, 0.0299302842, -0.0176296122, -0.0372569188, 0.0145413792, 0.0157557372, 0.0767241046, -0.0090045091, -0.0208730493, -0.0117214527, -0.0370277315, -0.0037773766, 0.0285848584, -0.0664604604, 0.0291154329, -0.0481188595, 0.0143960631, 0.098479487, 0.0212376378, 0.003389867, -0.0363761634, 0.0152503857, -0.0147245778, 0.0605304614, 0.0222124066, -0.0552647784, 0.0676529258, -0.0194747057, 0.0214003064, -0.0179382525, -0.00180426, 0.0396161303, -0.0159059409, 0.0197559074, -0.0068727196, 0.0056726858, -0.0054318067, 0.024271613, -0.036357116, 0.0010415618, -0.0572852343, 0.00798441, 0.0345678963, 0.019270692, -0.0458417349, -0.0358069241, 0.0045828852, 0.0284561627, -0.0049347398, 0.0347880833, 0.0120416908, 0.0075949938, 0.046994932, 0.0151808169, -0.0330068879, 0.0068663084, 0.0079556797, -0.0101629756, 0.0267129354, -0.0325914212, 0.0663489103, -0.0261370353, 0.0274789967, -0.0373598523, 0.0333805643, 0.0180005599, -0.0049944329, -0.0030157713, -0.0270450469, 0.0328934789, 0.0437853523, -0.0200539995, -0.0274377707, -0.0125755584, 0.0141754383, 0.0189178288, 0.0163981002, 0.020064801, 0.0494258367, -0.0493653901, -0.0750667602, -0.0753183365, -0.0318340808, 0.0009998808, -0.0063181217, 0.0054498282, 0.0080204904, -0.0214571916, 0.031555675, -0.0360226892, 0.0326272063, 0.0244928896, -0.0098302811, 0.0514470078, 0.0295939241, -0.096586585, -0.0624092706, 0.0460374914, 0.0049737031, 0.0075288741, 0.0099698436, 0.0008960373, -0.0090992609, 0.0175468773, -0.0607245713, 0.0163236577, -0.0517186448, -0.1066384315, 0.0189847611, 0.0237770304, -0.0283531323, 0.0465746373, 0.0296269897, 0.0487627909, 0.0162738264, -0.0689767525, -0.0531524494, 0.0302652903, -0.0213600658, 0.041911304, -0.1119120196, -0.034560468, -0.0075017549, 0.0232398808, -0.0265998151, 0.0406071059, -0.0660617575, -0.0046797087, 0.0415536277, -0.118297711, 0.025693614, -0.0212666057, -0.0386301205, 0.0324356221, -0.0332537852, -0.0245723948, 0.0552856959, -0.0566958077, -0.0611811318, 0.0145812985, -0.0188039802, -0.0231823958, 0.0980114564, -0.0271445531, -0.004070872, -0.0280327927, -0.0144329397, -0.0302899089, -0.0185970142, 0.0001803936, -0.0083929626, 0.0263692159, -0.053112343, -0.0171601009, 0.02611899, 0.0085885702, 0.0062828022, 0.0060521946, -0.0171974543, 0.0276649371, 0.037991263, -0.0665286481, -0.012254131, 0.0167072173, 0.0272181183, -0.0354708843, -0.0099851042, 0.0028422554, -0.0366239995, -0.0245732088, 0.0504639149, 0.058262717, 0.0042810007, -0.0187008418, 0.074666895, 0.0270657912, -0.0087746633, 0.0074360371, -0.0093726516, 0.0131905805, 0.0283712056, 0.0171688031, -0.0014986156, 0.0234465748, 0.0747420862, -0.0324911103, -0.0018396878, 0.1075568721, -0.0059940773, -0.0038825916, 0.0204715766, -0.0418617129, 0.0206374712, -0.0116695948, 0.0011362128, -0.0419753268, 0.0047120377, 0.005978974, -0.0222717524, -0.0376392417, -0.0469681062, 0.0011564402, -0.0853833109, 0.0433210209, 0.0073236953, -0.0313204825, -0.0113625834, -0.0281487871, 0.0317837112, -0.0035763218, 0.0466171764, 0.0129882647, 0.0120118149, -0.0448299311, -0.0057778494, -0.0322777219, -0.0441182405, 0.0515709668, -0.0587986633, 0.1017873287, 0.0317616798, 0.0747854561, -0.0243051685, -0.051051721, -0.0341894701, 0.0378941819, 0.0240005068, 0.0019844132, 0.0245028548, -0.0387766361, 0.0093645891, -0.023385223, -0.0244602282, -0.007262297, -0.002681403, -0.0066420701, 0.0415534563, -0.0463660657, -0.0134918904, 0.0294636618, 0.0286024567, 0.0392972082, 0.0429243147, 0.0239439905, -0.0585424714, -0.0084345024, 0.0082213329, -0.0321463123, -0.0074708671, -0.0463355035, -0.0083323289, 0.0225194208, -0.06945768, -0.0407994315, -0.1074419767, 0.0365714617, 0.009825292, -0.0020291097, -0.0131559456, 0.0012522005, 0.020418046, 0.0258668866, -0.0018745302, 0.0060349512, 0.0479981862, -0.0138711333, -0.0024561605, 0.0011972846, -0.0605259538, 0.0063133053, -0.0081145428, -0.0376005545, -0.0668382794, 0.0168161914, 0.033587154, 0.0263643265, 0.0328350402, -0.0145522133, -0.0571666881, -0.0191760398, -0.0171230454, -0.0377773196, 0.0817457139, 0.0191790331, 0.0031225639, 0.001909965, 0.0454173647, -0.0127646187, 0.0147516476, -0.0237165056, 0.0157781374, -0.0285799224, -0.1065159589, -0.0297246538, 0.0064840685, -0.0159172881, 0.0150089609, -0.0283594597, -0.0162800718, -0.0223566592, -0.0376352891, 0.0025684624, -0.0698065609, -0.036519859, -0.0082029151, 0.0440245718, 0.0227886271, -0.0244312696, -0.0535655729, 0.0182502829, 0.0076430705, 0.0385921225, 0.0038516871, 0.0053747981, -0.005058086, 0.0419410355, -0.0139310844, -0.0092593953, -0.0324969254, 0.0120276222, 0.0480313078, 0.0494295098, -0.0101593686, -0.0549931265, 0.0195037462, 0.0477575175, -0.0432126075, -0.0261989627, 0.0009040246, 0.0466977805, 0.0292337593, 0.0664725229, 0.0707374886, -0.0417556688, 0.0334502496, -0.011611999, 0.0344593339, -0.0229917802, -0.0697268546, 0.0318198502, 0.0278015416, -0.0236007832, 0.0175044574, 0.0026328964, -0.03028748, 0.0337758176, -0.0322168991, -0.0047235428, -0.0082729375, -0.0478550903, 0.0409532599, 0.017904602, -0.018587511, -0.0285337027, -0.0774130225, -0.0486785397, 0.0015178497, 0.0565906838, -0.0162274074, -0.0393050052, 0.0222310424, 0.0340832733, -0.0073575182, -0.0169089306, -0.053448569, -0.0562151931, -0.0216787755, 0.0341736302, -0.0305324886, -5.829874518e-33, -0.038775783, -0.025702022, 0.0230159294, 0.012293743, -0.0921891555, -0.0272256006, -0.0545583293, 0.0185106415, -0.0479121991, 0.02086371, -0.0025028924, 0.0276276264, 0.000929569, -0.0396384895, -0.0104197878, -0.0068121357, 0.0193899106, 0.0115923071, -0.0093344124, 0.0248246901, -0.0344453305, -0.0024372991, 0.0102239968, -0.0770791546, 0.0541337356, -0.0050457967, -0.043631088, 0.0231943876, 0.0156530254, 0.0261485036, -0.0004153339, 0.0134790828, 0.0059891064, 0.0097618531, 0.007259584, 0.0153209893, -0.0023282177, -0.0232657138, 0.0356664918, 0.0098251374, -0.0425299406, -0.0265095457, -0.006117186, -0.0152532579, -0.0617321394, 0.0066790539, 0.0142850373, -0.0043115965, 0.0345173106, 0.0353633687, -0.0762513354, 0.0215644985, -0.0167478509, -0.038857419, 0.0014204019, -0.0041008177, -0.0011143479, -0.0310786869, -0.0558322035, 0.0140235666, -0.0249112099, -0.0257211942, 0.0422673337, 0.0122636613, 0.0464130007, 0.083001636, 0.0532806963, 0.0612009913, 0.0333394893, -0.0179178566, 0.0264879894, 0.0709096417, -0.0201120377, 0.0969112217, -0.076066725, -0.0069802143, 0.0041800584, 0.0176517293, 0.0542731248, 0.0423218533, -0.0304578617, 0.0130220521, -0.0534455366, -0.009753705, -0.0232964307, 0.0344313271, 0.0090372991, -0.0751899034, 0.0057409024, -0.0280303638, 0.0122124711, -0.0184722748, 0.0359979123, -0.0322788619, -0.01980347, -0.0145754963, -0.0368892401, 0.0617600307, 0.0159520358, -0.0154115101, -0.0150929242, -0.0540268719, 0.0041996324, 0.0137605248, 0.0458150208, 0.0119699705, -0.0202211421, 0.0494173393, 0.0036228448, -0.0152208619, -0.0149302194, 0.0276892055, 0.0155098438, -0.0023654967, -0.0067738388, -0.03573291, -0.050683111, 0.004888894, -0.0165512413, 0.0072805397, -0.0255735107, 0.0170469619, 0.0029648847, -0.0136664743, -0.0485980809, -0.0035159509, -0.0439221747, -0.0025213382, 0.0237336233, -0.0164553486, 0.0042446316, -0.0257419385, 2.822e-7, -0.0335887037, 0.0294816382, 0.0092335781, 0.0410953574, 0.0062257582, 0.0333679803, -0.0486239977, 0.054276593, 0.0131414449, -0.0315786861, 0.0487472564, 0.0290758759, 0.0519278646, 0.0190630127, -0.0603597723, 0.0001278396, -0.0423076078, -0.0736535043, 0.011578612, -0.0370414071, 0.0003213627, 0.0207796302, 0.0402335003, 0.0111657083, -0.0067593511, -0.0354778878, 0.0178552754, -0.0729443133, -0.0011923715, 0.0612528436, -0.0246807151, -0.0282212012, 0.0021600865, 0.0203369539, 0.0274812821, 0.034519311, -0.0283387806, 0.0925334841, -0.0421737842, -0.0124557819, 0.0272488706, -0.0250663981, -0.0222718567, -0.0272906423, 0.0141116055, -0.013452719, -0.0422802977, 0.0217706785, 0.0058908667, -0.0121668363, -0.0158391669, -0.0282297395, -0.028967008, 0.0298184603, 0.0033065602, -0.0392384827, 0.0025999392, -0.0223057382, 0.0198876839, -0.0366329588, -0.0369678065, -0.1087420285, -0.0065305973, -0.0255574808, -0.0098377913, -0.0405543372, 0.0258287247, 1.997028756e-34, 0.0140655031, -0.0003578062, 0.0105828587, 0.0579624511, 0.0818688795, 0.0240485519, 0.0021675883, 0.0209265109, 0.0567551628, -0.0611118749, 0.0069332831 ]
http://arxiv.org/abs/2401.06495v1
http://arxiv.org/pdf/2401.06495v1
An investigation of structures responsible for gender bias in BERT and DistilBERT
2024-01-12T10:42:20
2024-01-12T10:42:20
Thibaud Leteno, Antoine Gourru, Charlotte Laclau, Christophe Gravier
cs.CL
cs.CL, cs.CY, cs.LG
In recent years, large Transformer-based Pre-trained Language Models (PLM) have changed the Natural Language Processing (NLP) landscape, by pushing the performance boundaries of the state-of-the-art on a wide variety of tasks. However, this performance gain goes along with an increase in complexity, and as a result, the size of such models (up to billions of parameters) represents a constraint for their deployment on embedded devices or short-inference time tasks. To cope with this situation, compressed models emerged (e.g. DistilBERT), democratizing their usage in a growing number of applications that impact our daily lives. A crucial issue is the fairness of the predictions made by both PLMs and their distilled counterparts. In this paper, we propose an empirical exploration of this problem by formalizing two questions: (1) Can we identify the neural mechanism(s) responsible for gender bias in BERT (and by extension DistilBERT)? (2) Does distillation tend to accentuate or mitigate gender bias (e.g. is DistilBERT more prone to gender bias than its uncompressed version, BERT)? Our findings are the following: (I) one cannot identify a specific layer that produces bias; (II) every attention head uniformly encodes bias; except in the context of underrepresented classes with a high imbalance of the sensitive attribute; (III) this subset of heads is different as we re-fine tune the network; (IV) bias is more homogeneously produced by the heads in the distilled model.
[ 0.0201897603, 0.052472122, -0.0348101258, 0.0098115113, 0.0037809107, 0.0091145951, 0.0376282558, -0.0225198343, -0.0309611764, -0.0573647656, -0.0157194268, -0.0153417569, 0.0432813242, -0.0197814628, 0.0341486894, -0.0347308554, 0.0249072481, 0.0103238095, 0.0227933414, -0.0347954556, 0.0053767334, -0.0046077739, 0.0260055233, 0.063304536, 0.0239287931, -0.0190684553, 0.0147449654, 0.0237946026, -0.0404315181, 0.0155491857, 0.048783157, 0.0745631605, 0.00070095, 0.034249898, 0.0000018817, -0.0579208583, 0.0239146892, 0.0252392832, -0.0325117186, 0.0201678053, -0.0102091394, 0.0091212811, -0.0064227558, 0.0209196471, -0.0142967822, -0.0319534801, 0.0355166681, 0.0580837727, 0.0355173089, 0.0269896314, -0.0103367958, -0.0028939894, -0.0289881844, -0.0256954338, -0.0132917706, 0.0059517575, 0.016745938, -0.0993501693, -0.0418272652, -0.0118953222, -0.0311723482, -0.0141895805, 0.0244911406, 0.0429531075, -0.0066513214, 0.0410668068, -0.0883614644, -0.0641657189, -0.0144316079, 0.0553994477, -0.0262130871, -0.0151806502, 0.0134964539, 0.014983099, 0.035500031, -0.019532457, -0.0401362889, 0.0324437544, 0.0124102645, 0.0051903958, -0.0148817673, -0.0354715437, 0.0427998453, 0.0309588239, -0.0433812812, 0.0651980862, 0.0220279656, -0.0459056646, 0.0186640564, 0.0179662984, -0.0011993479, -0.060570661, 0.0250961073, -0.0133813322, 0.019321559, -0.0336797386, -0.0367150642, -0.0314746648, 0.0067671612, -0.0406806096, 0.013977116, 0.047793407, -0.0109637771, -0.0013406512, -0.0277378131, 0.0390305631, -0.0253199041, 0.047004912, -0.0166788567, -0.0187759288, -0.0033765035, -0.0177347679, -0.0283543915, 0.0092080366, -0.0387640148, -0.0023103438, -0.0122721987, -0.0028708647, -0.0283862092, -0.0390376225, 0.0339615904, 0.0578973293, -0.0258402154, 0.0248485282, 0.0132815093, 0.0585916862, -0.0502332076, 0.0280907545, -0.0110764522, -0.1076414213, -0.0314974189, 0.0110196704, -0.0104114851, -0.0485040508, 0.0103661781, 0.0137479668, 0.0109061776, -0.0407703146, -0.0286032446, 0.0105398102, -0.021323448, -0.0348253101, 0.0534101985, -0.0527007021, 0.0065085599, 0.0532624386, 0.0143243698, -0.0252136514, 0.0095777242, 0.00964751, -0.0549311861, 0.0525875464, 0.0536474437, 0.0026862368, 0.0439150408, 0.0200211555, -0.0077859103, 0.0727892295, 0.0635680929, 0.0297598373, 0.0229339637, -0.0051144655, -0.0078600375, 0.0420667566, 0.0643604472, 0.004675894, -0.0344685204, 0.0000839645, -0.0534523539, 0.0164927617, 0.0728212222, 0.0264660101, 0.0037529294, -0.0336811431, 0.100623928, 0.0500174202, 0.0597560517, 0.074110195, -0.0123983314, -0.0203845687, 0.0038104798, 0.017510226, -0.0885117576, 0.0010765039, -0.0066390806, -0.0364582054, -0.0017311696, 0.0362226851, -0.0375410654, -0.038614098, 0.0032531612, 0.001968882, 0.00851415, -0.0044882237, 0.0294159092, 0.0238088686, -0.0126318038, 0.1186714917, 0.0324643217, -0.0427224673, 0.0036256632, -0.0759219676, 0.0049655577, 0.0190485381, 0.0092730736, -0.0212857574, -0.0051881582, -0.0211238898, -0.0224586111, 0.0252032317, 0.0365107358, 0.0255411416, 0.0394651853, -0.0370935574, -0.0395012721, 0.0002256336, 0.0400211178, 0.0035094111, 0.026509108, 0.0373410806, -0.0036970044, -0.0584298074, -0.0342614464, 0.0337971412, 0.0261246357, -0.0587947592, 0.0228034612, 0.0127641195, -0.0066833161, -0.0043747127, -0.0469922088, 0.0139519423, 0.0207196958, -0.0364034995, 0.0047878344, 0.0024032216, -0.0299533326, -0.0082444297, 0.0126492158, -0.0778243467, -0.0328923129, 0.0800621659, -0.0056853453, -0.0075147543, 0.0455852225, -0.0476328507, 0.0345902033, -0.0109798023, 0.0175322127, -0.0072817453, 0.0497419685, -0.0055458522, 0.0213866811, -0.0267843194, -0.0442415662, 0.0150969531, -0.0324946754, -0.0060567209, -0.0339969471, -0.0397649668, 0.024710238, 0.0027656564, -0.0053444966, 0.0404866859, -0.040396437, -0.0094356639, -0.0229445342, -0.0693431497, -0.0124960644, -0.0276970956, -0.0026398678, -0.0027103089, 0.0420898013, -0.0070000635, -0.0095975278, 0.0003265004, -0.0339691304, -0.0096693523, 0.0370410793, 0.0279135294, -0.0126943765, 0.0209696125, -0.0253136251, -0.0464327224, -0.028872868, 0.0810664743, -0.0085122613, -0.0053153047, -0.0402259231, -0.0156554338, 0.0171617679, 0.017024409, -0.0031673, -0.0461878628, 0.0186967608, 0.0181769393, 0.056973584, 0.1193117946, 0.028425362, 0.0344519839, 0.0493100546, 0.0193790644, -0.0642391145, 0.0048768288, -0.0079130605, 0.0237960555, -0.0076969145, -0.0413592346, -0.007373611, 0.0864482746, -0.0135933226, -0.0250502527, -0.0488698334, 0.0143800136, -0.0184728913, -0.0473902188, 0.0046862122, -0.0209569056, -0.0083909128, 0.0339072384, -0.0476681404, -0.0585005805, 0.0388794504, -0.0174970534, -0.0011891209, -0.0224036537, 0.0005269233, -0.0225324575, 0.0366198123, 0.0025973795, 0.025476655, 0.017889753, -0.0211716667, -0.0990958512, -0.0213247538, -0.0009327573, -0.0285729077, 0.0271342229, -0.0124403769, -0.0079852697, -0.0153630795, -0.0616449304, -0.0268878788, -0.0468472205, 0.0020904555, 0.0180427451, 0.0396899693, -0.0026179266, -0.0478164963, 0.0081821792, -0.0142587787, 0.0492687039, -0.0199790839, -0.0040242504, -0.0130056702, 0.0133154383, 0.0234661866, 0.0189211257, 0.0688907281, -0.0121951206, -0.0174119659, 0.0405636951, 0.0249058735, 0.0332708731, -0.0270902477, 0.0307319071, 0.0630657673, -0.0492952056, -0.0259497315, -0.015570295, 0.0396059901, -0.0558575056, 0.0048126052, 0.0982972309, -0.0121346433, -0.0651059374, 0.0223508365, 0.0023599789, 0.0226607844, 0.026812179, 0.0037651695, -0.0721649751, -0.0086034564, 0.0407787785, 0.0172005389, -0.00565622, -0.0206823163, -0.0020333049, -0.1188595146, 0.0077126031, -0.0074580912, 0.0227809772, -0.0309785586, -0.0362331755, -0.0283851717, -0.0308833104, 0.0581444725, -0.0086616119, 0.0050886241, 0.0095905429, 0.0079932567, -0.0403244309, -0.0253208298, 0.0346287712, -0.0703222826, 0.035500627, 0.079596214, 0.0335580148, -0.0248619616, -0.0385182314, 0.0310584716, -0.0188378394, 0.0093948422, -0.013813192, 0.0299354345, -0.0330188274, -0.0179196615, -0.0580743998, 0.0403340831, 0.0187529698, 0.0091100652, -0.0533215664, 0.0193871427, 0.0248447992, -0.0476334803, -0.0637215003, -0.0288370103, -0.0089762537, 0.0712648928, 0.0302834958, -0.0379287079, -0.0808421969, -0.02296995, -0.0022661081, 0.0168064795, -0.0268930942, 0.0347329751, 0.0248651784, -0.0572795495, -0.0258063544, -0.0151608065, -0.0000326419, -0.0015466539, 0.0084931916, -0.0748472959, 0.02795377, 0.0207938589, -0.0783774108, 0.0585408211, 0.0275791716, 0.0088741686, -0.0292036701, -0.0292174723, -0.0306274742, -0.0365882404, -0.0228807423, 0.0183633287, -0.0540757366, -0.0540016815, 0.0472642481, 0.0687888488, 0.0270091165, 0.0490542352, -0.0105738947, -0.074446559, 0.0625539422, 0.0567873642, -0.0322636813, 0.038015645, 0.0574612729, -0.0233187713, 0.0167340785, 0.0520224422, -0.0353576094, 0.0127890175, 0.013200446, 0.0241524857, -0.0018499526, -0.0368438251, 0.011927071, -0.0027057012, 0.0725614056, -0.0184004363, 0.0470322222, -0.0254400801, 0.0137820309, 0.0285374671, -0.0068024257, -0.0171707124, -0.0358468033, 0.0346104316, 0.0414991826, -0.020760756, 0.0333989449, 0.0119903935, -0.0136025576, -0.0527709648, 0.0298810825, 0.0016921603, 0.0081591085, 0.005892084, 0.0191726368, 0.0069178604, 0.0112272315, -0.0182429999, 0.0292037483, 0.0009805916, 0.0037318412, 0.02092278, 0.0367785357, -0.0557222925, 0.0215955731, -0.0832401961, -0.0413106382, 0.0027404462, 0.0155553175, 0.0051493743, -0.0314297453, 0.0295519102, 0.00592383, -0.0201202929, 0.0079037361, -0.0295146611, -0.0103100222, 0.0506311804, 0.0260565244, 0.0067510149, 0.0091400547, -0.0176044498, 0.066156514, 0.0357670113, 0.0857919678, -0.0235171374, -0.0383059867, -0.0050696814, -0.0527469292, 0.0389170647, -0.0059880912, -0.0193426721, -0.0079764687, -0.0732862055, -0.0386981778, -0.0015068783, -0.0108902892, 0.0493728854, -0.0395907052, -0.0067716148, 0.0482600816, -0.0141343828, -0.0755939931, -0.0052232957, -0.0138960872, 0.0022924242, -0.0020480221, 0.0090157297, -6.419431955e-33, -0.0103746681, 0.014108343, -0.0223773737, -0.031124983, -0.0338862836, 0.0067950082, 0.0038509932, -0.0112172272, -0.0372792482, 0.0192973316, -0.0460241698, 0.0596116595, 0.0084744906, 0.0210850313, -0.0035886029, -0.0244462285, 0.0793357641, -0.0008073572, -0.0302877631, -0.0153789865, -0.0236370154, 0.049807068, 0.0344223045, -0.0199893899, 0.0375767723, -0.02135057, 0.0147707453, -0.0042973249, -0.0101391217, 0.0173950512, -0.0123649314, 0.0481549948, 0.0175947677, -0.0337352604, 0.0056612063, 0.0718361065, -0.092451863, -0.0215073936, 0.0039090412, 0.0459721722, 0.0095496541, -0.0036598158, 0.0832617506, 0.0336407162, -0.0408915989, -0.0341353528, 0.0426934212, 0.0199333932, 0.0194066558, -0.005694157, -0.0326526277, -0.0040887445, -0.0365594812, -0.023937026, 0.0082849478, 0.0099168476, -0.0271976646, 0.0378384404, -0.0844752118, 0.0145962378, 0.0092100436, 0.0208477825, 0.0400250107, 0.0162573401, 0.0323510841, 0.0351832546, 0.0790007487, 0.0353028066, -0.0581016019, -0.0811781213, 0.0236733295, 0.0235202126, 0.0286551137, 0.0134754423, 0.0862436593, 0.0069154524, -0.0865676478, -0.0206924397, 0.0244200341, 0.0484299734, 0.024608504, -0.0093833935, -0.0265741926, -0.0430395119, -0.039605435, -0.0684659854, -0.0257345755, -0.00201979, 0.0008925144, 0.0125824902, -0.0313748159, 0.0382742248, 0.0067972513, -0.0759034455, -0.0071178563, -0.0185136087, 0.0191727951, -0.0327098854, 0.0377572998, 0.0088238493, -0.0634122565, 0.0010431985, 0.0066565396, 0.0405853838, 0.0221155025, 0.0331040658, 0.0045180982, 0.0149301058, -0.0527829826, -0.015416679, -0.0423839688, -0.0052692937, 0.0183789544, 0.0558825471, 0.0470333546, 0.0213119779, -0.005901691, -0.0278352816, 0.0335279852, 0.0483762398, -0.0289902724, 0.0180785172, 0.033008527, 0.0274717994, -0.0038034229, -0.0361259282, -0.0383471027, 0.0545856841, 0.0349722803, -0.0834722891, -0.0278570149, -0.0401809998, 2.671e-7, 0.0079036895, 0.0526928157, 0.0374864191, -0.0116213365, 0.035473641, 0.0160117615, 0.0101496875, 0.0735547394, 0.0241464078, -0.00586665, -0.0321327969, 0.0385290049, -0.0012255141, 0.012584039, -0.0344109759, -0.0171647556, -0.0896941125, 0.0365928151, 0.000305104, -0.0043048081, -0.0029945113, 0.0857915878, 0.0099627394, -0.0106724938, 0.0244431328, -0.0167220216, 0.0363870077, -0.0199562535, 0.0662403107, 0.0119089261, 0.000083133, 0.012971743, -0.0117601985, 0.0230539832, 0.016402103, 0.0238977633, -0.0095225824, 0.0395391732, -0.0294918511, -0.001677464, -0.016754467, -0.0365412831, -0.0175904725, -0.081143938, 0.0593088008, -0.0324016064, -0.0664640665, -0.0427973159, -0.0044221231, -0.0069636707, 0.0786181837, -0.0029125661, 0.0210344456, 0.0041030222, 0.0012452044, 0.0071477159, -0.0108578559, -0.0941406637, -0.0449721552, -0.0316103995, -0.0334192254, -0.0702606142, -0.0467511155, 0.0113692209, 0.0565011874, -0.0404269062, 0.0234808344, 2.344877509e-34, -0.0045359894, 0.0114114517, 0.0155408178, 0.0116549702, -0.0106212348, -0.0283580944, 0.0242957063, -0.018774813, 0.0479019098, -0.0267613996, -0.0304670744 ]
http://arxiv.org/abs/2401.06831v1
http://arxiv.org/pdf/2401.06831v1
A Survey on the Applications of Frontier AI, Foundation Models, and Large Language Models to Intelligent Transportation Systems
2024-01-12T10:29:48
2024-01-12T10:29:48
Mohamed R. Shoaib, Heba M. Emara, Jun Zhao
cs.CL
cs.CL, cs.AI
This survey paper explores the transformative influence of frontier AI, foundation models, and Large Language Models (LLMs) in the realm of Intelligent Transportation Systems (ITS), emphasizing their integral role in advancing transportation intelligence, optimizing traffic management, and contributing to the realization of smart cities. Frontier AI refers to the forefront of AI technology, encompassing the latest advancements, innovations, and experimental techniques in the field, especially AI foundation models and LLMs. Foundation models, like GPT-4, are large, general-purpose AI models that provide a base for a wide range of applications. They are characterized by their versatility and scalability. LLMs are obtained from finetuning foundation models with a specific focus on processing and generating natural language. They excel in tasks like language understanding, text generation, translation, and summarization. By leveraging vast textual data, including traffic reports and social media interactions, LLMs extract critical insights, fostering the evolution of ITS. The survey navigates the dynamic synergy between LLMs and ITS, delving into applications in traffic management, integration into autonomous vehicles, and their role in shaping smart cities. It provides insights into ongoing research, innovations, and emerging trends, aiming to inspire collaboration at the intersection of language, intelligence, and mobility for safer, more efficient, and sustainable transportation systems. The paper further surveys interactions between LLMs and various aspects of ITS, exploring roles in traffic management, facilitating autonomous vehicles, and contributing to smart city development, while addressing challenges brought by frontier AI and foundation models. This paper offers valuable inspiration for future research and innovation in the transformative domain of intelligent transportation.
[ 0.046575468, 0.0495582856, -0.0458122902, 0.0499092937, -0.036355868, 0.0060550789, 0.0124971494, -0.0339392014, -0.0225864332, -0.0560876839, 0.0472011901, -0.008647684, -0.0304631721, 0.0775349438, -0.001262588, -0.0208979845, -0.0136313392, -0.0679425821, -0.0256092418, 0.0310968664, 0.0114862574, 0.0186354648, 0.0147079118, 0.0247998592, -0.0552487709, 0.0540593415, -0.0283394307, -0.0093806665, 0.0152365146, -0.0241346713, -0.0061841873, 0.0437500849, 0.0986725837, 0.0404571258, 0.0000020421, -0.0128170531, -0.0198814776, -0.0104629071, 0.0256509259, -0.0627312735, 0.0351504236, 0.0017837909, 0.0149124162, 0.0234438851, -0.0505422652, -0.0205705315, 0.0428192392, 0.0453115292, 0.0352690965, 0.0485589765, -0.0075606178, -0.0559033751, 0.0568358228, 0.0081704482, -0.0670366883, -0.0055991709, 0.0287968516, -0.0065226117, -0.0125192488, 0.0097856103, -0.0171621852, -0.0069194729, 0.041477561, -0.0112849493, 0.0327838361, 0.0316634141, -0.0152888894, -0.0098348511, -0.0239791535, 0.0591634139, 0.009545601, -0.0775437206, 0.0356680043, 0.03795157, -0.0475449413, -0.0431804135, -0.0667947605, -0.0226594768, 0.0503395423, 0.0450350791, 0.0150701879, 0.0124060409, 0.0105335405, 0.0669238046, -0.0805334225, 0.0880454853, -0.001729683, -0.0303955022, -0.0275699906, 0.0244413428, 0.0104617383, -0.0575624891, 0.0019110881, 0.0614593811, -0.0204706639, -0.0080517856, 0.0168709941, -0.0117041375, -0.0191300455, -0.0209668465, 0.0117728654, 0.0013897548, -0.0084544355, 0.029445054, 0.0469352528, 0.0269619692, 0.025765067, 0.0243486892, -0.0207846425, -0.0399121568, -0.0562845655, -0.0112751126, -0.0578366779, 0.0418678708, -0.0518881679, 0.0027421245, 0.0131095555, 0.0580038652, 0.0286560487, -0.0104823271, -0.0684120357, 0.0034441431, 0.0094241546, -0.042682983, -0.000825243, 0.0092071341, -0.0168970581, 0.0165170971, 0.0059187328, -0.035144832, 0.0382563733, 0.0278224684, -0.0256019384, -0.0085435165, -0.0265510939, 0.0734497532, 0.0062217568, -0.0261577889, -0.0640059188, -0.0343241468, 0.0330483429, -0.0785645396, -0.010808859, -0.0704821497, 0.016778864, 0.0299737137, -0.0428263023, -0.016431896, -0.0128889121, -0.0223141517, -0.0321272202, 0.0213481579, -0.0542552359, 0.0234391019, 0.0696803033, -0.016015809, 0.0527436137, 0.0806188136, 0.0423456505, 0.0538627058, 0.0570903458, 0.0114064254, -0.0068963077, 0.0125410641, 0.0188105386, 0.0277639832, -0.0443252847, 0.0225591976, -0.0342238545, -0.0132658612, -0.0218617041, 0.0569344945, -0.0091040256, 0.0369178131, 0.0693328679, 0.0647661164, -0.0096684312, 0.0270762779, 0.0309086218, 0.0472690091, -0.0089355828, -0.0205032043, -0.0349844396, -0.0101924511, -0.0649591982, 0.003770991, -0.0035446833, 0.077159375, -0.0254235528, -0.0425779112, 0.0332789235, -0.0458693914, 0.0354326479, -0.001289934, 0.0588613451, -0.0770230442, -0.0012313429, -0.0097270738, -0.0056346022, 0.0037349756, 0.0186895151, -0.0657565221, 0.0081472695, 0.0347121768, 0.021232402, -0.0207191296, -0.0134036364, -0.0137685444, 0.0030173922, -0.0019402059, 0.0588812493, 0.0085580153, -0.0337407142, -0.0578537732, -0.0300267879, 0.0820314661, 0.0101686288, -0.0588216633, -0.025564922, 0.0486990027, 0.04657235, -0.0198286101, -0.0400100723, 0.0237090737, 0.0357939042, 0.0071636555, -0.0293014403, 0.0104234517, 0.0229181256, 0.0090735685, -0.0240323395, 0.009073888, 0.050792411, 0.0253423005, -0.0513425171, 0.0533042178, -0.0079083275, 0.099544704, 0.0290102139, -0.0147963557, 0.015841715, 0.0744972453, -0.0447108671, -0.037595693, -0.000647419, -0.076153487, 0.0096483044, -0.013732831, 0.0336632542, 0.0079845702, 0.0137767224, -0.0208738334, 0.0524835959, 0.0265646111, -0.0070461622, 0.0136403665, 0.0023450674, 0.0523980856, -0.0195680987, -0.0008425351, 0.0099500883, -0.0113347527, 0.0016602668, 0.0413658023, -0.0186865982, -0.0037457547, -0.0027741608, -0.039557714, 0.0059365849, -0.0201567188, 0.0104694515, -0.0182911362, 0.0060136933, -0.0173464138, 0.006979743, -0.0039128908, 0.0336417854, 0.0521579385, -0.045700781, 0.0288818814, -0.0062064077, -0.0274326764, -0.03035447, -0.0192946047, -0.0495763011, 0.0201270096, 0.0486675613, -0.0847564265, -0.0317964852, -0.0487956256, -0.0310686287, 0.0442000255, -0.0021343254, -0.0429933034, 0.0110095264, -0.0154479397, 0.018237656, 0.0295469984, 0.0572318695, -0.0005415321, 0.0159951746, -0.037832547, -0.0300328955, 0.0133893052, -0.063001439, 0.0410513319, -0.0254162792, -0.0166795105, 0.0075199897, 0.0422309078, -0.0139907151, -0.0010338329, -0.0125432573, 0.0284232814, -0.0234524645, -0.029543275, -0.0207597744, 0.0243192613, 0.0356765091, 0.0782274306, -0.023383718, -0.0507698059, 0.0655848756, -0.0145683941, 0.0290466528, -0.0387838371, -0.0141302561, -0.0459270924, 0.0608833879, 0.0268019419, 0.0335419066, 0.0058675339, 0.0219749827, 0.0470375828, -0.0024919382, -0.0792650506, -0.0087638944, 0.0426719226, -0.0402742848, 0.0288082138, -0.0134750893, -0.0647742748, -0.0099753868, -0.0458490923, -0.0539812259, 0.000681781, 0.00938881, -0.0535110794, -0.0211245287, 0.0492526144, -0.0006466513, 0.0454370305, -0.0146280359, 0.0095624179, -0.0458607227, -0.013352464, 0.0635455996, 0.0398695022, 0.0227154642, 0.0007481833, 0.023465395, 0.0004267802, 0.0474449843, -0.0097506894, -0.0140609825, 0.0230987985, 0.0327861644, -0.0396145768, -0.0129846241, 0.0458374284, -0.0021898793, -0.0475241505, -0.0112435129, 0.0928580537, 0.0159455743, 0.0152876209, 0.0201384071, -0.0058993716, -0.0136315618, -0.0077624554, 0.0331942588, -0.0710341632, -0.0091316821, -0.0084739551, -0.0186513904, 0.0038877416, -0.0393676758, 0.0027962429, -0.0702780485, 0.0355052538, 0.0012021145, -0.057183098, -0.0370219611, -0.0588084012, -0.0310919806, 0.0185977481, 0.0020113497, -0.0169808231, 0.0204292424, -0.0259138606, 0.0328320153, -0.0364008211, -0.0379385315, -0.0489464439, -0.017682841, 0.0762868449, 0.05933116, 0.0230267309, -0.0372686647, -0.0143313548, -0.0417149998, -0.0100879306, -0.0037639944, -0.0396195725, 0.0030574107, -0.0038492815, 0.0030364301, -0.0361518674, 0.0101483054, -0.0291113425, -0.0080354279, 0.01414188, 0.0777628571, -0.0665891543, -0.0159386676, -0.067273438, 0.0179037657, 0.0006237358, 0.0277116112, -0.0236768499, -0.0152904866, -0.0472211912, -0.018467471, -0.0394822545, -0.0548044592, 0.0087586613, -0.0067678653, 0.0132806068, -0.0358680189, -0.0211272333, -0.0581603013, -0.0063142208, -0.018488843, 0.020703299, 0.030462103, 0.0656341314, -0.0450311042, -0.0572016574, -0.0122866984, 0.0063678017, 0.0026889518, -0.0504438952, 0.0294835642, 0.0452507213, -0.0552824363, -0.0526029952, 0.0601134747, -0.0303853713, -0.0931254104, 0.0212458875, 0.0159565601, 0.0224310458, -0.0167133305, -0.0449114256, -0.0456998907, 0.0509487912, -0.0050786347, -0.0109401997, -0.0025636782, -0.0334107205, -0.058939036, 0.0250459239, 0.0254451428, -0.0431890525, 0.0753791481, 0.0143013271, -0.0209769215, -0.06217888, -0.01406899, 0.015245053, 0.0377796479, 0.0263232961, 0.0354650803, 0.0264984109, -0.0174898915, -0.0157900099, -0.0187449567, 0.0089706881, -0.0386560895, 0.0058808373, -0.0226700362, 0.0492040589, -0.0143266199, 0.0050472482, 0.030054979, -0.0476307161, 0.0265081711, 0.0164480936, -0.0252818577, 0.0216234215, -0.0229669567, -0.0199242719, 0.0067607914, -0.0313778631, 0.0060971803, 0.0250914134, -0.0160610024, 0.058990404, 0.0416004024, -0.0013243464, -0.0223037545, 0.0402783267, -0.0333180055, -0.0684788749, -0.0133100906, 0.0683846697, 0.0600308143, 0.0332469381, 0.0008365161, -0.0682923123, 0.0100301262, -0.0186720174, 0.0133672776, 0.0654361546, 0.0014317061, 0.0301750973, -0.0033911346, -0.056173984, -0.000223339, 0.056578435, 0.0062383786, 0.034700267, 0.0200470313, -0.0420601889, -0.035429731, 0.0048611262, 0.0196293928, -0.0232067555, -0.0045039407, 0.0351754874, -0.0308512524, -0.0197703801, 0.0408562869, 0.0297019966, 0.0161101911, -0.0348086618, 0.0116627207, 0.0163504481, 0.0122726243, -0.0463520698, 0.0057750819, -0.0362574756, -0.0727010965, -0.0176900402, 0.0239040069, -6.581397444e-33, -0.007772909, -0.0211170595, 0.0576836467, 0.0085753864, -0.0540774018, -0.0206710994, -0.0236412082, -0.0209403113, -0.0066030291, -0.0044394471, -0.0173807722, 0.0329142697, 0.0094199199, 0.0250388384, -0.0128237121, 0.0103570074, 0.0210139658, -0.0168800019, 0.0025887, 0.0369078629, 0.0354150422, -0.0060902513, 0.0132010756, -0.073685199, 0.0112694427, -0.0841242298, -0.0116039896, 0.0668015853, -0.0050831377, 0.0531705432, -0.0100822607, 0.0475744046, 0.062733002, -0.0463121571, -0.031507276, 0.0805039555, -0.0136865443, -0.0042035058, 0.0234611258, 0.0371191613, -0.0353822783, -0.0431897826, 0.0467547439, -0.0140060484, -0.041595865, 0.0510373302, 0.0433445387, -0.0203840807, 0.0255143922, -0.0244901273, -0.090198651, 0.0083237337, -0.0393096469, -0.0105521651, 0.0417835712, 0.0072353822, 0.0143106356, -0.0222836211, 0.017849138, 0.0277563781, 0.0141693037, -0.0036106457, 0.0437440351, -0.0000808798, -0.0158700347, 0.0310263894, -0.0103757782, -0.0578822345, -0.0211620089, -0.020788135, 0.0151920747, 0.0631204545, 0.012091008, 0.0360424183, -0.0491016768, -0.0458661579, -0.097900115, 0.0045131701, 0.0315962955, -0.0017107747, 0.0468555056, -0.044199504, -0.0675237104, 0.0057269321, -0.0074093714, -0.0146585582, -0.0027846999, -0.0280438494, 0.009784597, 0.0256498996, -0.0249533653, 0.0120409755, 0.0535265841, -0.083114557, -0.0024796869, 0.0137315951, -0.0142097389, 0.0102235507, 0.0037140821, 0.0503072664, -0.1035693809, -0.0322840661, -0.0260814894, 0.0011298367, -0.0167615134, 0.0226405729, -0.0119052324, 0.0277843438, 0.0191033594, 0.0237169471, -0.0072363536, 0.038408123, 0.0463792756, -0.0180274639, 0.0301434714, 0.0252156984, 0.0146913761, 0.0165089518, 0.0122530283, -0.0169973914, -0.0261282492, -0.0200051777, 0.0023732169, 0.0377849787, 0.0010003977, 0.0103356903, -0.015217687, 0.0043677306, 0.0213212203, -0.0241296366, -0.0294498112, 0.0263220835, 2.744e-7, -0.0056938669, 0.0667234957, 0.0179127399, 0.0327573493, 0.0271910056, 0.0328318588, -0.0005614132, 0.0110826911, -0.0093456721, 0.0883749947, 0.0102321971, 0.0572629012, 0.0303086154, -0.0086604701, -0.0442546122, 0.0165770054, -0.0512616187, -0.0158345923, -0.1003902704, 0.0385499597, 0.0627996847, 0.1017477885, -0.0113536054, -0.0158437174, -0.0033802383, 0.002518167, -0.0105176354, -0.0404763818, -0.0064647906, 0.0340953395, 0.0436986051, 0.0564922057, -0.0295841638, 0.0079445112, 0.0193441026, 0.0283888578, -0.0148358308, 0.0322889388, -0.016372351, 0.0120338444, 0.0422773436, -0.0616219081, 0.0097868461, -0.068046689, 0.0165451095, -0.0123261828, -0.0185266379, -0.0210226439, -0.0053640883, -0.0459645465, -0.0512369685, 0.0092307236, -0.0179469828, 0.0000596005, 0.0028586457, -0.0216836259, 0.0216408372, -0.0548534133, 0.0718241259, 0.0031789218, -0.001787934, -0.0442259982, -0.0472470932, 0.0562562384, 0.0628283545, -0.0194134656, 0.0134074921, 1.993455437e-34, 0.0353071839, -0.0066318032, -0.0149694802, -0.0260535982, 0.0352014638, 0.0148259066, -0.0287469234, 0.0130943358, -0.0303505529, -0.0670146048, -0.0058551035 ]
http://arxiv.org/abs/2401.06477v2
http://arxiv.org/pdf/2401.06477v2
Kun: Answer Polishment for Chinese Self-Alignment with Instruction Back-Translation
2024-01-12T09:56:57
2024-02-23T12:48:46
Tianyu Zheng, Shuyue Guo, Xingwei Qu, Jiawei Guo, Weixu Zhang, Xinrun Du, Qi Jia, Chenghua Lin, Wenhao Huang, Wenhu Chen, Jie Fu, Ge Zhang
cs.CL
cs.CL, cs.AI
In this paper, we introduce Kun, a novel approach for creating high-quality instruction-tuning datasets for large language models (LLMs) without relying on manual annotations. Adapting a self-training algorithm based on instruction back-translation and answer polishment, Kun leverages unlabelled data from diverse sources such as Wudao, Wanjuan, and SkyPile to generate a substantial dataset of over a million Chinese instructional data points. This approach significantly deviates from traditional methods by using a self-curation process to refine and select the most effective instruction-output pairs. Our experiments with the 6B-parameter Yi model across various benchmarks demonstrate Kun's robustness and scalability. Our method's core contributions lie in its algorithmic advancement, which enhances data retention and clarity, and its innovative data generation approach that substantially reduces the reliance on costly and time-consuming manual annotations. This methodology presents a scalable and efficient solution for improving the instruction-following capabilities of LLMs, with significant implications for their application across diverse fields. The code and dataset can be found at https://github.com/Zheng0428/COIG-Kun
[ 0.0303971358, 0.0246966574, -0.0004685174, 0.0375561677, -0.0056333444, 0.0020032919, 0.0105209518, -0.0338104218, 0.0126584526, -0.0320180617, -0.0485986508, 0.0024164699, -0.0017301665, -0.0520509854, 0.0140349595, -0.018660428, 0.0643419251, -0.0137526263, -0.0359036624, 0.0068802699, 0.0090075061, 0.0169849191, 0.0053204084, 0.0171721764, 0.0253111422, -0.0673220158, -0.0156293362, 0.0206342079, 0.0008580746, -0.0347133279, 0.044577457, 0.0906068906, -0.0043162457, 0.0055465437, 0.0000021845, -0.0404042527, -0.0323716253, -0.0237052776, -0.0342619345, 0.0793544278, 0.0049330564, -0.0034967621, -0.0211040657, 0.032849405, -0.0348291397, 0.0116729876, 0.0175152905, 0.0181561932, 0.1157473698, 0.0689539611, 0.030541651, -0.01765953, 0.0394327305, 0.0043166257, 0.0034286703, 0.0055007227, 0.022571018, 0.0452861078, -0.016001178, 0.0359828435, -0.029547995, 0.0266775396, 0.0160455089, -0.0202560388, -0.009335109, -0.0010283693, -0.0042775297, 0.0250587165, -0.0317269675, 0.0865241438, 0.0056751105, -0.0237758756, -0.0430038944, -0.0185848568, 0.0153170656, 0.0025208443, -0.0569370575, 0.0158339404, 0.0022820837, 0.0195202511, 0.0493418537, -0.0424500257, -0.0005950673, -0.005741463, -0.0071241101, 0.0675273389, 0.0129936328, -0.0411107615, -0.0375659354, -0.0061976146, -0.0012941156, -0.0445390902, 0.0101320101, 0.0586195067, 0.0032488741, 0.0341403298, -0.0525393002, -0.0052355486, 0.0336023122, -0.0478468128, 0.0474393442, 0.049706392, -0.0153744528, 0.0161446873, -0.0115374373, 0.0691120327, 0.0254522264, 0.0262282137, -0.0836694166, 0.0198404696, -0.0423759446, -0.0113962675, -0.0406913944, 0.028735688, -0.0025059911, 0.0138555961, -0.0452947207, 0.0258039068, -0.0221337844, 0.019396577, 0.0229648799, -0.0349247754, -0.05364611, 0.0107163442, -0.0143080093, 0.0510960184, -0.0294102821, -0.009542563, -0.0076563437, -0.0391313657, -0.0008622343, -0.0167489238, -0.0094720013, -0.0280101933, 0.0074797012, 0.0443510674, -0.013834469, 0.0148334578, -0.0399443321, -0.0282944217, -0.0185706858, -0.0256042853, 0.002917134, -0.0867436007, 0.0090855984, 0.0204683542, 0.0135094542, -0.0461666733, 0.0273403507, 0.0346744917, 0.0066695432, 0.0059831524, -0.0175919402, 0.0313576274, 0.001445977, -0.0163615849, 0.0477659665, 0.0553726926, 0.0404266231, -0.0234075412, 0.0810232833, -0.0613511018, -0.0019898734, 0.0374693274, 0.0306163412, 0.0184048004, -0.0052180458, 0.0410143062, 0.0306015536, 0.0059487037, 0.0121557675, 0.000527453, 0.0118725924, -0.0185427051, 0.0377967805, 0.0225830507, 0.0124624548, -0.0036590816, 0.0116171017, 0.0388253704, 0.0306299757, 0.0420086235, -0.054167334, 0.0333678797, -0.0101467259, 0.02974963, 0.0327024907, 0.0198448915, -0.0393634103, -0.0780512989, -0.0194660965, 0.0170115493, -0.0182100106, 0.021032555, 0.0251855776, -0.0050082034, -0.0145305144, 0.0251746643, 0.0404487178, -0.0473618694, 0.0217156988, -0.0021971441, 0.027104605, 0.0729509592, 0.0234643333, -0.0143172955, -0.0668208748, 0.0047789686, 0.0454853699, 0.0409806482, 0.0676933005, -0.0321883559, -0.0479299538, -0.0519109331, -0.0471767224, -0.0061481381, -0.0076672984, -0.0121355783, 0.0151349269, -0.0149101214, 0.0003450318, -0.0218982212, -0.08168789, 0.0563253835, -0.0421919823, -0.0644495562, -0.0239560269, -0.0023597141, 0.0026633178, 0.0490101054, -0.0111667272, 0.0238198098, 0.0400405154, 0.0000668944, 0.0139529333, -0.0176259018, -0.0688105598, -0.0420776345, 0.0812686086, -0.004313644, -0.0388314985, 0.0086982092, -0.0630190894, -0.069346562, -0.0331860185, -0.0077378596, -0.0104341125, -0.0231606159, 0.0481804684, -0.0030618662, 0.0037446676, -0.0497465171, 0.0243344791, 0.0076567177, 0.0350496173, 0.0178812966, 0.0312007461, 0.0411959887, -0.030416647, -0.0161648467, -0.0135040283, -0.0100178374, 0.035073556, 0.006205006, 0.0344041437, -0.0547510982, -0.0143293636, -0.055890657, 0.0447344184, -0.0242155213, 0.0219045598, 0.0581357889, -0.0175171513, -0.0183533784, -0.0154972253, -0.0572136752, -0.0338129997, -0.0107292105, 0.0050384118, 0.0144839268, -0.0053048185, 0.0039058221, -0.0454582609, -0.0353558064, -0.0396047048, -0.0366958715, 0.0126953842, 0.0275700241, -0.0760462806, -0.0119079966, -0.0406427681, 0.0130243367, 0.0193981081, -0.0868733898, 0.0034872119, -0.0078705531, 0.0376417525, 0.0563396998, 0.013470415, -0.0036588428, 0.0436904579, -0.01194485, -0.0913762897, 0.0204690583, -0.0281593464, -0.0361369029, -0.0105875349, -0.06966988, -0.0305809136, 0.0694345757, 0.0375497825, -0.0216395147, -0.0633703396, -0.0316076353, -0.0268277489, 0.0072441748, -0.0070006768, 0.0285969768, -0.0235554259, -0.0220226049, -0.0292205475, -0.0416306816, 0.093223989, -0.0375928693, 0.0038240948, -0.0531677827, 0.0110404612, -0.0308705196, 0.0014043306, -0.0008923309, -0.004881972, -0.0126410211, 0.0029458241, -0.0508684777, 0.0348451361, 0.0268526673, -0.0424233638, 0.0188194495, -0.0428855456, -0.011846235, -0.0183580946, 0.0048636878, -0.0288862977, -0.0167497508, 0.0065051643, 0.00061616, -0.0018180757, -0.0154493237, 0.0539304018, 0.0171605106, 0.0053989394, 0.0381496958, -0.0563919283, 0.0302537419, -0.0319019333, -0.0136942668, 0.0515706912, 0.0030706176, -0.0019503803, -0.0390737727, 0.0698534697, 0.0461242758, 0.0761564299, 0.0066595282, 0.0256416798, 0.0011665793, 0.055074688, -0.0670431629, -0.0124400193, 0.0209163819, 0.0780523345, -0.078131713, -0.0069471323, 0.1226184517, 0.0368116908, -0.0177847091, -0.001823927, -0.0117078172, -0.0060511753, 0.022109665, 0.0333009623, -0.076308161, -0.0223968904, -0.0303796269, 0.0422554947, 0.0236661565, -0.0084153423, 0.0099358214, -0.1457088292, 0.0398052409, 0.0293466188, -0.0235130154, -0.0329729803, -0.0472463369, 0.0023086539, 0.0076177637, 0.0375709161, 0.0317618698, -0.0271992367, 0.0037658687, 0.0465119779, -0.0152402502, -0.0239854585, 0.0250236262, -0.025879154, 0.0704416186, 0.0342765339, 0.0156284086, 0.0024140272, -0.0029401223, 0.0373992808, -0.0533047765, -0.0359892696, -0.0121470829, 0.0522384979, -0.0084148413, -0.0029157724, 0.0069444338, 0.0489355735, -0.030547699, 0.0344769433, 0.0626110211, 0.0708394125, -0.0058289212, 0.0381342359, -0.0377554409, 0.0049707801, -0.012317081, 0.0976457819, 0.0297379158, -0.0658257157, -0.0069280877, -0.056093432, -0.0178729948, -0.0756012499, -0.020793492, 0.0579854809, -0.0777904466, 0.0106198136, -0.0853760689, -0.073845394, 0.0332505107, -0.0091168266, 0.0335574299, 0.0215247422, 0.0025462068, -0.0200371351, -0.0231635366, 0.0346181802, -0.0242630728, 0.0005700202, -0.1014842987, -0.0406357944, 0.0035043424, -0.0099014807, 0.0218107514, 0.006570824, -0.0414561406, -0.066617541, 0.0112582911, 0.0505061559, -0.0026327213, 0.0661236495, 0.0067641246, 0.0120245218, 0.0133568337, -0.0238171071, -0.0198672786, -0.019016033, 0.0197936296, -0.0032745909, -0.0070065837, 0.0116509655, -0.0241985749, 0.0157402493, 0.0271419995, 0.0672883168, -0.0265218914, -0.0336842537, 0.056599725, 0.0315000564, 0.0031698609, -0.0034024473, 0.0025927259, -0.0418985374, 0.0518621989, -0.0520931892, -0.0380379856, -0.030121848, 0.0091412207, 0.0130362706, -0.0567147397, 0.0092951506, 0.0380717292, -0.0142769329, 0.0099494122, -0.0451430343, 0.0256554112, -0.0204490442, 0.0446295552, -0.0216291174, -0.0000877924, -0.0249415245, -0.0057765073, 0.0349131078, 0.0401440635, 0.0145719079, 0.0883392245, 0.006579184, 0.0194339268, 0.0320008472, 0.0210401379, -0.0267982185, -0.0124909217, -0.059803497, 0.0075782822, 0.0356401615, -0.0122291306, 0.0603198744, -0.0142421778, -0.0252868291, -0.0352847725, 0.0313793756, 0.0067853504, -0.0030636378, 0.0251133442, 0.0298570767, -0.0123768263, -0.0157387555, 0.0539788343, 0.0050322581, 0.0414549112, 0.0226485301, 0.008762056, -0.0330917239, -0.0037953439, 0.0099869492, -0.0031058276, -0.0140704159, -0.0027065491, -0.022591792, -0.0615108572, -0.0382049941, 0.0725743547, -0.0199291147, -0.0134367384, 0.0141428318, 0.047050409, -0.0401556008, -0.0254502445, -0.0623587966, 0.0265930016, -0.0461412817, -0.0305415858, -0.0097520808, -6.263450467e-33, -0.0563177839, -0.0077762064, 0.0251316894, 0.0245137047, 0.0194136836, -0.0283324774, -0.0154926507, -0.0027231246, -0.0422850139, -0.0062647625, -0.0167942438, 0.00038681, 0.0112232175, 0.0375410542, 0.0373191983, 0.0210315567, 0.0475973263, -0.0230611246, -0.0218077097, 0.0268907826, 0.0244779531, -0.0105106467, 0.0884906724, -0.049656406, 0.0346573479, -0.0343370214, 0.0164331421, 0.0308120698, -0.0434751026, 0.0854030475, 0.0142889936, 0.042541001, 0.0140267145, -0.0260626152, -0.0321491063, -0.0254137013, -0.1072295234, -0.0530680791, 0.0098860264, 0.0308129694, -0.0285595302, -0.0450822785, 0.009627426, -0.0327413045, -0.0136748748, -0.0253616478, 0.0418563448, -0.033537358, 0.0089412378, 0.0353750698, -0.031748075, 0.0089065731, -0.0183493476, -0.0400924049, 0.000534478, 0.0535373054, 0.013142026, -0.0136984522, -0.0474899039, 0.0309264231, 0.082767345, 0.0891001821, 0.075743556, 0.0130442409, 0.0180860385, 0.0043968405, 0.015750898, 0.0012347702, 0.046984069, 0.0094716344, 0.0132347578, 0.0161494203, 0.0606707297, 0.0220410302, 0.0079474915, 0.0142537886, -0.0525688976, 0.0589621738, 0.048292391, -0.0073465779, -0.0117293829, -0.0244001038, -0.0516814068, -0.0017068733, -0.0256626662, -0.0165479612, -0.0129536595, -0.0413225926, 0.0403104573, -0.0208849963, -0.068405062, -0.0015649492, 0.0427007303, -0.0396149829, -0.0475578196, 0.025405515, -0.017727511, 0.0021483647, -0.0182918701, 0.0405012369, -0.0696462467, -0.0184965879, -0.0130693121, -0.0596806742, 0.0097277872, 0.0413960852, 0.0317279883, -0.0094539747, -0.051673241, 0.0042602438, -0.0284114871, -0.0139501235, 0.0058322302, -0.0307607893, 0.0251105446, 0.0165044926, 0.0040135989, 0.0648396015, 0.0430682227, -0.0007086113, -0.045988638, -0.0482068807, -0.0073236409, 0.0190352928, -0.0028608216, 0.0226852521, -0.035455972, -0.000074543, -0.0043382472, -0.0366915129, -0.0079437103, 0.0228104908, 2.646e-7, 0.0554358028, 0.0329678655, 0.0464176163, 0.0349205434, 0.0046084602, 0.0169543773, -0.049071908, -0.0036043874, 0.0600959212, 0.0069488636, 0.0193653908, 0.0283523276, 0.0607528649, 0.0223175976, -0.0448102914, 0.0073240595, -0.0198810678, 0.023626484, -0.0540699773, 0.0239564646, -0.0015736604, 0.0830210894, -0.0079357177, 0.0421538875, -0.0345597938, 0.0045168316, 0.004058145, -0.0026291916, -0.015748024, 0.0990506113, 0.0055902712, 0.0052367775, -0.0281651467, -0.0095543209, -0.0340869352, 0.0273874644, -0.0065940875, 0.0780515447, 0.0108575048, -0.0336204208, 0.0018349088, -0.0310595687, 0.0081264861, -0.0344790965, 0.0451669805, -0.0250616316, 0.0077064978, 0.0133009125, -0.0302134492, -0.0162383951, -0.0012084828, -0.0122001655, -0.0057736551, 0.0325496942, 0.0239045881, -0.011962668, -0.0131344683, -0.022316901, -0.0624501705, 0.0327093452, -0.0095759798, -0.048561193, -0.0046526091, -0.0147244921, -0.0456949137, -0.0671508312, -0.0067970236, 2.576211353e-34, 0.0017541702, -0.0390415303, 0.0432689823, 0.0350095369, 0.0030496668, -0.0379700512, -0.0265880302, 0.0258694068, 0.0184906162, -0.0636832044, -0.0515118912 ]
http://arxiv.org/abs/2401.06829v1
http://arxiv.org/pdf/2401.06829v1
Cross-Attention Watermarking of Large Language Models
2024-01-12T09:39:50
2024-01-12T09:39:50
Folco Bertini Baldassini, Huy H. Nguyen, Ching-Chung Chang, Isao Echizen
cs.CL
cs.CL, cs.AI
A new approach to linguistic watermarking of language models is presented in which information is imperceptibly inserted into the output text while preserving its readability and original meaning. A cross-attention mechanism is used to embed watermarks in the text during inference. Two methods using cross-attention are presented that minimize the effect of watermarking on the performance of a pretrained model. Exploration of different training strategies for optimizing the watermarking and of the challenges and implications of applying this approach in real-world scenarios clarified the tradeoff between watermark robustness and text quality. Watermark selection substantially affects the generated output for high entropy sentences. This proactive watermarking approach has potential application in future model development.
[ 0.0065788734, 0.0578219444, -0.0250350442, 0.0459906869, -0.0172073487, -0.0030587511, 0.0089209974, 0.0203266051, 0.0202033818, -0.0717727467, -0.0339769721, 0.0000187913, 0.0081020938, 0.0040317141, 0.0906719565, -0.0736911371, 0.0656933561, -0.0125359735, -0.005829453, 0.0169848781, 0.0041239355, -0.0039447765, 0.1002016664, 0.0303363409, -0.0178769492, -0.0413857289, 0.002811033, 0.0154207274, 0.0104059884, -0.0070865289, -0.0294454247, 0.0615639836, 0.005187416, 0.0724516213, 0.0000021051, -0.0209107269, -0.0424712636, 0.0344842412, -0.0209137183, 0.0451348573, 0.0427754968, -0.0245906711, -0.0314492844, 0.0124180056, -0.0129504073, 0.0475947782, 0.0700106323, 0.0695772544, 0.087456584, 0.0520865247, -0.0080808559, -0.0047248402, 0.0484082513, -0.0102843428, 0.007917637, -0.0210276805, 0.029808538, 0.0327202529, -0.0300000459, 0.0034823932, -0.0201966055, 0.0936349034, 0.0239422917, -0.0324582793, -0.0124360425, 0.01749775, 0.0156887323, 0.001799559, 0.0019329939, 0.0389581546, -0.0780853778, -0.037683025, -0.0341599993, -0.0332545042, 0.0037607383, -0.0058428776, -0.0297897197, 0.0150579447, 0.0466193222, 0.0343789048, 0.0237665642, -0.0204598513, 0.0373915136, -0.0080299014, -0.0139284004, 0.0504319891, 0.036991246, -0.0212578624, -0.0232573673, -0.0061481707, -0.0334854014, -0.0687192753, 0.0416787416, 0.0039499979, 0.0499506444, 0.0072450307, -0.1220291555, -0.0761319995, -0.0021795265, -0.0705322847, 0.0910207704, 0.0135544343, -0.024150135, 0.0287273992, -0.0342665873, 0.0407808833, -0.0495279729, 0.053439077, -0.0309248567, -0.0120592406, 0.0159362294, -0.0526120514, -0.0661375597, 0.0096319793, -0.0361794569, -0.0270453393, -0.0264151171, 0.031982936, 0.0025893806, -0.0211204458, -0.0036064938, -0.0210861675, -0.0404440947, -0.0238682311, 0.0361460485, -0.0114115691, 0.0331283621, 0.0273301061, -0.0028144864, -0.0504806153, -0.0207614824, 0.0379618071, 0.0019287649, -0.0056667887, -0.0355227515, 0.0827349052, 0.0193374753, -0.0380553342, -0.0253509507, -0.0289977994, -0.007736078, -0.0277420264, 0.0041843983, -0.020696003, -0.0100082997, -0.0363641866, 0.0162519235, -0.0689513013, 0.0221515037, 0.0178251583, -0.0268108118, 0.0523039997, -0.0499803312, -0.016243238, -0.0250370372, -0.0187268388, 0.0051717088, 0.0894550607, 0.0676535815, 0.0149043621, 0.0414426588, -0.0301583447, -0.0307994876, 0.0555404462, 0.031454701, 0.0105150687, -0.0469933599, -0.0287236385, 0.0532143824, -0.0212663021, 0.0524056852, 0.0279647224, -0.002083685, -0.0360771827, 0.1025321409, 0.0218121316, -0.0119469129, 0.0159280654, 0.0377582684, 0.0008243921, -0.0013994302, 0.0318132676, -0.0398243368, -0.0048798351, -0.0177131351, 0.029599756, 0.0315809734, -0.0049356092, -0.0052947314, -0.0205317009, -0.0214582849, -0.0082429564, 0.0087586157, 0.0073808036, 0.0251725502, 0.0486639924, -0.0529895164, 0.063581273, 0.0290966202, -0.0086837839, 0.0380821228, -0.0568187125, 0.0177883804, 0.0798078105, 0.0405743942, -0.0056150304, 0.0670056939, -0.0166355446, 0.0065977843, 0.0574737005, -0.0001514706, 0.0275606774, 0.005943568, -0.017867472, -0.0133404704, -0.0358579122, 0.0263741519, 0.0462234914, -0.0237240344, 0.0212803278, 0.0556399971, -0.0194528624, -0.0296377614, 0.0455088727, -0.0062003452, -0.0238104314, -0.0213463008, -0.0098564252, 0.0236707963, 0.0175032932, -0.0148622394, 0.0481063426, 0.0108473375, -0.0266993027, -0.0037254936, -0.0101623172, -0.0123363398, -0.0109635824, 0.0104014371, -0.0429671519, -0.0113467453, 0.0421798006, 0.0076480312, -0.0254509971, 0.0029188367, -0.07218723, 0.078778334, -0.0588114522, 0.0381284282, 0.0064168102, 0.0438530669, -0.023901457, 0.0416925587, -0.0101115722, 0.0050157374, 0.0042266645, -0.0162227452, -0.0208988171, -0.0486523993, -0.0101492051, -0.0061039412, -0.0224364251, 0.0011748188, -0.0101527143, -0.0106968749, -0.0088038351, 0.004835723, -0.0097262599, -0.0045370776, -0.018902719, 0.0277967229, 0.0169222672, -0.0042320411, 0.012193528, 0.0019162875, -0.0078263683, -0.0131237851, -0.0039211498, 0.0403267443, 0.0129126115, -0.027825579, -0.0060353498, -0.0177116152, -0.0306280311, -0.0054348963, 0.082065545, -0.0115175424, -0.0349186398, -0.0955202281, 0.0503747314, -0.0093405936, 0.0119838323, 0.0135633163, -0.0330342352, -0.0107359905, 0.0198131278, 0.0185962152, 0.0744623989, -0.0051793363, -0.0182130784, 0.0707191229, 0.0168259628, -0.0315777212, -0.0001475721, -0.0367606357, 0.0113500655, -0.0196284521, -0.0433467142, 0.0188366715, 0.0648631603, -0.0096054804, -0.0020463229, -0.0423968919, 0.0386992171, -0.024165716, -0.0411075503, -0.0155040529, -0.0282607544, -0.035585288, 0.0120014716, -0.0289513208, -0.0457872562, 0.0482815653, -0.0427977666, -0.002880824, -0.0018517608, 0.0043612854, 0.0151904831, 0.0294445138, 0.0180559438, 0.029495975, 0.0454051048, -0.0409820341, -0.0287300497, -0.0289067142, 0.0375246704, -0.0090969345, -0.0128787151, -0.0067100264, -0.0147516681, 0.0021201991, 0.0095216073, -0.0366067216, -0.0549233109, -0.0223696008, 0.0131586371, 0.0286795069, 0.0187758952, -0.0281823147, 0.0324651562, 0.0381265096, 0.0126963984, -0.0362837203, 0.0243966803, -0.0509933233, 0.0771160349, 0.0466850214, -0.034197282, 0.0037475044, -0.0375035815, -0.0024086176, 0.0520931929, 0.0053881197, -0.0028909186, 0.0137843154, -0.0077474876, 0.0333043374, -0.003006574, -0.0359594412, 0.0109564476, 0.0202740822, -0.09804634, -0.002153662, 0.0719201043, 0.008057449, 0.0149782198, 0.0203210786, 0.0014580236, 0.0382336117, 0.0089207888, 0.0068432465, -0.052811414, -0.0351916365, 0.0433019139, 0.0024560282, -0.0057036015, 0.0168048162, -0.0365370661, -0.0775202215, 0.0125123151, 0.0170373414, -0.0382964984, -0.047476247, -0.0501396768, 0.0007995274, 0.0372645557, 0.0078681922, -0.0304247402, 0.0148102762, -0.0274653491, 0.0158444904, -0.0013539306, -0.0556697398, -0.0197167415, -0.016024692, 0.0095911808, 0.0829269439, 0.0308984388, 0.000282037, -0.0527083948, 0.0405432321, -0.0412455164, -0.0005246032, 0.0039493535, 0.0559827574, -0.026462825, -0.016213946, -0.0002507452, -0.0048104324, 0.0464696325, -0.0162004139, -0.0203960128, 0.1020514742, 0.013932649, -0.0380638167, -0.0031271758, -0.0147031322, 0.0400833972, 0.0606253967, 0.0596536547, -0.0289099086, -0.0357661434, -0.0548808798, 0.0329960994, -0.0350242257, -0.0363699794, 0.0165035836, -0.0416988172, -0.0957762375, -0.0319139212, -0.0532852784, -0.013415969, 0.002924168, 0.0487652831, 0.0037399572, 0.0333848707, -0.0431447253, -0.0176593941, 0.0328835472, -0.1009272039, 0.0250923671, -0.0248241108, -0.0060785473, 0.0111525236, -0.01920343, -0.020184828, 0.0349027142, -0.0539198928, -0.0781691372, 0.0151702864, 0.0587511025, 0.0164901204, 0.027479263, -0.0298835635, -0.0626141652, 0.0496226884, -0.0104885409, -0.0280136466, 0.0157226883, 0.0717905611, -0.0362310335, 0.0085122334, 0.0611915402, -0.0468637794, 0.0009917319, 0.0587827154, -0.0022675151, -0.035445448, -0.0448536873, 0.0192023329, 0.0280971769, 0.0388539545, -0.0097542945, -0.0064671854, -0.0105823707, 0.0423180871, -0.0603949465, -0.0172859691, -0.051180169, 0.0166266952, 0.018674342, -0.0002517634, 0.0041845953, 0.0145569248, -0.0251465999, -0.0190384947, -0.0317920856, 0.0323259085, -0.0059430934, 0.0447357483, 0.0009349385, 0.0152774295, -0.0090856059, 0.0248443931, -0.0084331436, 0.0340400264, -0.007341858, -0.0041717826, 0.0174846873, -0.0209127516, -0.0299550779, 0.0405226871, -0.0686176866, 0.0170351509, -0.043029394, 0.0129407328, 0.0409117974, 0.0068659922, 0.0467246734, -0.0380935892, -0.0321351178, -0.022946775, 0.0545698963, 0.0125887301, -0.0807538703, -0.0062477989, -0.0233667977, -0.0426421016, -0.0067533148, 0.04288131, 0.0518138446, 0.0410520099, 0.0050655715, -0.0441329591, -0.0302075967, -0.0178295076, 0.0376979932, -0.0037833797, -0.0357486457, 0.0095855212, -0.0485546514, -0.1064089537, -0.0087208934, 0.0026924121, -0.0036202841, 0.0060632792, -0.0092253219, 0.0140416948, 0.0057680104, -0.0267627947, -0.033162158, 0.0387740321, 0.0247248821, -0.0071599865, -0.0132901818, -6.091233565e-33, -0.0347786583, -0.0199145954, -0.034312848, -0.0526251718, -0.0189168155, 0.0443947762, -0.0502435006, -0.0090817325, 0.0027747387, 0.0182964392, 0.0029505473, -0.0070022466, 0.0079045109, -0.0126197664, -0.042378515, 0.0058225361, 0.0651134998, 0.0034380152, 0.0003928098, -0.0042884937, 0.0310832821, 0.0146975294, 0.0668850392, -0.0389396548, 0.0249189828, -0.0178010631, -0.0475325435, -0.0287997872, -0.0220544841, 0.0434062369, -0.0256294589, 0.0026628429, -0.0228964631, -0.0304485485, -0.0631016642, 0.0418737568, -0.0363394171, -0.0182188023, 0.0184411537, 0.0250621084, -0.0229658596, -0.0762769356, 0.0290985312, -0.0252780523, 0.0121056875, -0.0232144222, 0.0313556567, -0.015500579, -0.0394520946, -0.0211080909, -0.0567246564, 0.0277863052, -0.0143055869, -0.0029211098, 0.0468744189, 0.0521361157, 0.0386524349, 0.0194019321, -0.0730281621, 0.0280462056, 0.0401834063, 0.0270430595, 0.0643678606, 0.0026967819, 0.0056754192, 0.0094308946, -0.0225199554, 0.0060512433, 0.008769094, -0.0237340443, 0.0542000011, 0.000618662, 0.0798271373, 0.0198622197, 0.0429014303, -0.0220758375, -0.0401571505, 0.0015247412, -0.0756472498, 0.0075334548, 0.0440606475, 0.022263851, -0.0252423286, 0.0031806466, -0.0403657705, -0.0703329742, -0.012833938, -0.0080221603, 0.035475105, -0.0244809501, -0.0441265367, 0.011016571, 0.0450120009, -0.0515291467, -0.0284546539, 0.0076859542, 0.0139316181, 0.0351212844, -0.0101060085, 0.0591432564, -0.009044854, 0.0016614769, 0.0481466986, -0.0233069547, 0.0188861098, 0.0040950952, 0.0820851997, 0.0082389945, -0.0666246414, -0.0044206069, -0.0211136565, 0.0041917586, 0.0222946722, 0.0097552501, 0.0656190068, -0.0223421436, 0.0026305893, -0.0086373864, 0.0371346883, -0.0048954189, -0.0210700445, 0.0266095418, 0.0056646732, 0.0424565524, -0.0207334645, 0.0028901664, -0.0287456624, 0.0615392402, 0.0570571683, -0.0214719027, -0.0261426643, 0.0183346011, 2.68e-7, 0.0388377756, 0.017701501, 0.0217619874, 0.0231764354, 0.0108968448, 0.0505893528, 0.0146007361, 0.0347557031, 0.0154660111, -0.0119325491, -0.0247025304, -0.0169508792, 0.0843872204, -0.0045019626, -0.0834263861, -0.0125034656, -0.034347035, 0.0258054454, -0.042918317, -0.016856106, 0.0237137191, 0.14067173, 0.0140849371, 0.0071281507, 0.0245930627, -0.0333527587, 0.0388624109, -0.0356794707, -0.0012073324, -0.0095452592, 0.0203180946, 0.0021210979, 0.0008390041, 0.0102404533, -0.067682907, -0.0093076909, 0.0081961183, 0.0385101289, -0.0413871668, -0.0061161136, -0.0423896983, -0.0080991518, -0.025985362, -0.0812693238, 0.0624146275, 0.0117313601, -0.0450132973, -0.0682952031, -0.0291166585, -0.02899996, 0.0464475155, -0.0306640249, -0.0276878793, -0.0132925855, 0.0119878277, 0.0024493732, -0.038099952, -0.0356676839, -0.0610053428, -0.0443222076, -0.022187097, -0.0176434629, -0.062657468, -0.0137710581, 0.0772221684, -0.0758188292, 0.015245663, 2.720605222e-34, 0.0207759123, -0.0461710133, 0.0237746313, 0.0434848219, 0.0393559597, -0.001620318, 0.0260433648, 0.006026261, 0.0221308805, -0.0726569444, -0.0190114249 ]
http://arxiv.org/abs/2401.06469v3
http://arxiv.org/pdf/2401.06469v3
Batch-ICL: Effective, Efficient, and Order-Agnostic In-Context Learning
2024-01-12T09:31:17
2024-06-05T09:13:17
Kaiyi Zhang, Ang Lv, Yuhan Chen, Hansen Ha, Tao Xu, Rui Yan
cs.LG
cs.LG, cs.CL
In this paper, by treating in-context learning (ICL) as a meta-optimization process, we explain why LLMs are sensitive to the order of ICL examples. This understanding leads us to the development of Batch-ICL, an effective, efficient, and order-agnostic inference algorithm for ICL. Differing from the standard N-shot learning approach, Batch-ICL employs $N$ separate 1-shot forward computations and aggregates the resulting meta-gradients. These aggregated meta-gradients are then applied to the forward computation of a zero-shot query to generate the final prediction. This batch processing approach renders the LLM agnostic to the order of ICL examples. Through extensive experiments and analysis, we demonstrate that Batch-ICL consistently outperforms most permutations of ICL examples. In some cases, it even exceeds the performance of the best order for standard ICL, all while reducing the computational resources required. Furthermore, we develop a novel variant of Batch-ICL featuring multiple "epochs" of meta-optimization. This variant implicitly explores permutations of ICL examples, further enhancing ICL performance.
[ -0.0185263474, 0.0538248606, 0.02494625, 0.0366171673, -0.0148146292, 0.0432128198, 0.0458433144, -0.0046964963, -0.0309867412, -0.0184037928, -0.0075884769, -0.0077280719, -0.0017757775, -0.0330213383, 0.01956705, -0.0195819885, 0.0137751447, 0.0097954245, -0.0326974206, 0.0040787556, -0.045836322, -0.0015225956, 0.0072236285, -0.0018011525, 0.0120044146, -0.0156765189, -0.0466242023, 0.0639499947, 0.0568566956, -0.0317400135, 0.006513007, 0.0046698111, 0.0372093655, 0.0276001468, 0.0000024361, -0.0458096191, -0.0335770361, 0.004694147, -0.0192628372, -0.0301458873, -0.0155755254, -0.0075863251, 0.0143292081, -0.0017658388, -0.0324575901, -0.0089074215, 0.0469599329, -0.0045525348, 0.0331320576, 0.0810335055, -0.0166155379, -0.0175569188, -0.0389674902, -0.0447819121, 0.0578825735, -0.0680248812, 0.0304635931, -0.0801918432, -0.0162123218, -0.0122288, -0.005372169, 0.0465597883, 0.0313713774, 0.0269800611, -0.0052680322, 0.0109358132, -0.0075070611, -0.0010871176, -0.0196068007, 0.053068202, -0.0429623015, -0.0167532302, 0.009565128, -0.0274666492, 0.0097225895, -0.0432700515, -0.0508479215, 0.0068849176, -0.0174517091, 0.0225885175, -0.0550012812, 0.0515265241, 0.0290692132, 0.0011623818, -0.0423776023, 0.0485667251, -0.0269038398, 0.0002862404, -0.0139376521, -0.0178405885, -0.0136913266, -0.007495719, -0.0542527288, 0.0135021321, -0.0499712527, 0.0067389472, -0.0058255647, 0.0016306544, -0.0042903218, -0.0176947918, 0.0768011883, 0.031436719, 0.023180889, 0.0580178089, 0.0262619425, 0.0058173053, -0.0017586541, -0.0107902689, -0.0435589403, -0.0040905811, -0.0421351194, -0.0036326775, -0.0261420216, 0.0407640748, -0.0238363482, 0.043965064, -0.0836723521, 0.0589590929, -0.010630182, -0.0205933694, 0.0097919945, 0.0103608286, -0.0225157682, -0.0317958966, 0.0109305838, -0.0173269119, -0.0087304618, 0.0189272575, 0.0027670984, -0.0143815838, -0.0199050941, -0.0050679096, -0.0100835646, -0.0043335292, 0.0247439668, 0.0685569122, 0.0148443962, -0.0363420397, -0.0497029833, -0.0255347583, 0.0202133991, -0.0495518669, -0.0053974562, -0.0548719242, 0.0229529329, -0.0129935527, 0.0024708484, 0.0088718869, -0.0205734298, 0.0139004691, -0.0343410894, 0.0716581792, 0.0009491525, 0.0036958372, -0.0103212725, -0.0098642996, -0.035811007, 0.1095084697, -0.0005963288, 0.0355325751, 0.0054296711, 0.0248091836, -0.0083812764, 0.0174699705, 0.0559542999, 0.0096886884, -0.0214204807, -0.0090249516, -0.0117287114, 0.005659895, 0.004395267, -0.0523102134, -0.0338698924, -0.028194828, 0.0205293447, 0.0135324299, 0.0122138523, -0.0400365554, 0.0212291703, -0.0018314809, -0.0233858377, -0.0182246715, -0.0643218905, 0.0558715947, -0.0142015163, -0.0292290561, 0.0260713026, 0.0210443437, -0.0481319129, -0.0499622561, 0.0304738004, -0.0022100515, -0.094181709, 0.0480015911, 0.0289005823, 0.0124692013, -0.0302531384, -0.0340526775, 0.0408011898, 0.0100839576, -0.066778101, -0.0326602571, -0.0327799544, 0.0597560592, 0.0123433452, -0.0552240312, -0.0551139824, 0.0177031029, 0.0421211571, 0.0090618068, -0.0578906089, -0.0332316048, 0.081493184, 0.0011614154, -0.0408362076, 0.0444850437, 0.0121724764, 0.0491651632, 0.0051230961, -0.0119304294, 0.009335814, -0.024290178, 0.0405406356, 0.0050368719, -0.0294027589, -0.0599574111, 0.0837735087, 0.0337383337, 0.043554008, -0.017999772, 0.0087030493, -0.0217575524, 0.0259528458, -0.0118569769, -0.0331327841, 0.0233699121, -0.0351886824, -0.0956158638, 0.0214932244, -0.0091462685, -0.0058029117, -0.0708898678, -0.1032142267, -0.0062286346, -0.0185376257, 0.0286061615, 0.0708991736, -0.03089297, 0.0066366843, 0.0109667303, -0.0321144089, -0.0584890731, 0.0550992191, -0.0329742618, -0.0352275185, 0.0590560623, -0.0235258881, 0.0007299275, -0.0075581167, 0.0075776433, 0.0035522408, -0.0302890781, 0.0016884569, -0.010558934, 0.0092449188, -0.037598487, 0.0168913957, -0.0751699507, -0.0021795454, -0.029978836, 0.0104606031, 0.0077450769, 0.0312530696, -0.0050769141, -0.0364292338, 0.0088699488, 0.0207038838, -0.0263632834, 0.0298831183, 0.0212492701, 0.0296297297, -0.0182133187, 0.0113226417, -0.0239577573, -0.0231170021, 0.0706433505, -0.0119212568, -0.0307520702, -0.0045797904, -0.0272708051, -0.0048526172, -0.0113995308, -0.0305294823, 0.0264433119, -0.0331891403, -0.0558111332, -0.0364418291, 0.073232688, 0.0157747734, 0.0039405711, -0.0059989323, 0.0040259054, -0.0578929335, 0.0253953002, -0.0107110422, 0.0063729929, -0.0129065784, 0.0210464634, 0.0174780209, 0.0305128004, -0.018309433, 0.0040131314, -0.0279355738, 0.0531992652, 0.0416947342, -0.0799988955, -0.0991638452, 0.04281196, 0.004186694, 0.0189058483, -0.0021735604, -0.039699994, 0.0494341478, 0.0416009612, 0.0073315743, -0.0028648626, -0.0056486004, -0.0235427786, 0.0034677251, 0.0022458159, 0.0337583348, 0.0056945574, -0.0039590234, -0.0532803833, 0.0047374913, 0.0335371234, 0.0102220466, 0.0175504368, -0.0057784235, 0.0044316729, -0.0001544059, -0.055645816, -0.0559301488, -0.0431109071, 0.036311876, 0.0165445954, -0.0601247437, 0.0097354148, -0.0578277931, -0.0114651583, 0.0033268067, 0.0217379592, -0.0325787924, -0.0577667803, 0.001681775, 0.0033897457, 0.0106933285, -0.069421038, -0.0325874351, -0.0088292751, 0.040602386, 0.0513732061, 0.0562906936, -0.0154664544, -0.0295013878, 0.0233909469, 0.0415304899, -0.0152951013, -0.0125994366, 0.0558316372, -0.0312806517, -0.0503634736, -0.0047271983, 0.066640906, 0.0196186081, -0.0844966769, -0.019068392, 0.019319769, 0.0060679582, 0.0218385402, 0.0369401351, -0.0796652585, -0.0421175472, -0.0091502406, 0.0312364455, 0.0127350576, -0.0288639553, -0.0284243897, -0.0886582881, 0.0559433363, -0.0038460067, -0.046730984, -0.0224749073, -0.0601029843, -0.0135612329, -0.0253374428, -0.0141658466, 0.0629928038, -0.0313665867, -0.0184913483, 0.019827459, 0.0347388647, -0.0525022298, 0.0054026009, -0.0121706435, -0.033072222, 0.0741684288, 0.0070023574, 0.0226599425, -0.0023271879, 0.0650554523, -0.0195513871, 0.0184164345, -0.0504011661, 0.0789381042, -0.0440751463, 0.0070679975, 0.0188197307, 0.0311783999, -0.0101564936, -0.0168112181, 0.0205974896, 0.0535093546, -0.0234741867, 0.0149759473, -0.0270639788, -0.0471929386, 0.041772116, 0.0422555879, -0.0063465904, -0.0531972088, -0.0175465811, -0.0193508044, -0.0367185101, -0.0177465901, 0.054747887, 0.0039950646, -0.0160033237, -0.0492331423, -0.0439666174, 0.000594247, -0.00789274, 0.1058124825, -0.0464076772, -0.0017508536, -0.0186513718, 0.0025257065, -0.0572224781, -0.0530117564, 0.0114318198, 0.0048491452, -0.0487621538, 0.000639641, 0.0839373171, -0.0218302179, -0.0339095406, 0.0074139317, -0.0851350725, -0.072233513, -0.005624793, 0.066275917, 0.0062153377, 0.0940374434, 0.0127715524, 0.0066629271, 0.1311620474, 0.1083101407, 0.0699232668, 0.0256444588, 0.0693074092, 0.00416299, -0.0035776345, 0.0315422118, -0.044248879, 0.035855677, 0.0225826353, -0.03311643, -0.0570113771, 0.0420824699, 0.0062728352, -0.0152331106, 0.0698344857, -0.0357524306, -0.0462414287, -0.0020295475, 0.0756124482, -0.0034756665, -0.0333699398, -0.0307099707, 0.0085757254, 0.0056360057, -0.0027590776, -0.0205596332, 0.003844762, 0.0423364639, -0.0237753522, -0.0172109809, -0.0014962301, -0.0156563707, 0.029956881, 0.0104358727, 0.0221090689, 0.0105728107, 0.0403818116, 0.0451940224, 0.0432244018, -0.030142488, 0.0099380435, 0.0507106446, 0.0539645478, -0.0827835947, 0.0555458255, -0.0753972605, 0.031100696, -0.0336215347, 0.0099748652, 0.0766380057, -0.0077483556, 0.0291004404, 0.0012990884, -0.0057808002, -0.0368008874, 0.0254383255, -0.0048904284, 0.0003713331, -0.0024753928, 0.0285208933, 0.00534527, 0.026361648, 0.0784913078, 0.0000482606, 0.025492372, 0.018953884, 0.0185240414, -0.0253390539, 0.0115250191, 0.0337010399, 0.0462155715, 0.0296954755, 0.009988226, -0.0412790887, -0.0074644419, 0.0467799976, -0.028875351, -0.0012830456, 0.0227131844, 0.0532731712, 0.0657423362, 0.0396139286, -0.0164299104, 0.0028731222, -0.0475072823, -0.0053859283, -0.0335700773, 0.0117179789, -6.863491844e-33, -0.0219171233, -0.0338373818, 0.0238533188, 0.0041841264, 0.0271465499, 0.0077764108, -0.0082619209, -0.0425677747, 0.0128787663, -0.0046287472, -0.0391049013, 0.0038422477, 0.0173826646, 0.009102501, 0.0348561816, -0.0180350505, 0.0313255712, -0.0032833619, -0.0016902155, 0.0227995981, 0.0383893624, 0.0603002496, 0.040203955, -0.0103888987, -0.0575381815, 0.0297304373, -0.0255968887, 0.0188590344, -0.0209836643, 0.0237781424, 0.0320746005, 0.008509771, 0.0235708375, -0.0254834872, -0.0277608074, -0.0230990723, -0.059532214, -0.0459009521, -0.0336922221, 0.0037917814, -0.0129110171, -0.0087204697, 0.0101333391, 0.0143398196, -0.0152753396, -0.0783634409, 0.0280307289, -0.0023494326, -0.015476808, -0.0894078389, -0.017479267, 0.0320682563, -0.0195355322, 0.011153047, 0.0378185399, 0.0266931076, 0.0234723017, 0.0481103621, -0.0462937616, 0.0311507341, -0.0500776581, 0.0152022224, 0.0353500694, 0.0641863942, 0.0498280525, 0.0222985782, 0.0390671939, 0.0194833651, 0.0427028425, -0.007266731, 0.02144037, 0.0448353663, -0.0492440425, 0.0818525031, 0.0911036581, 0.0255008712, -0.1037802771, 0.0377522893, -0.0041545723, 0.0010121249, -0.0159178749, 0.0057980912, -0.0411921777, -0.0336277559, -0.0117901266, -0.0570561327, -0.0215184726, 0.0132587347, 0.0308568459, 0.0250417423, -0.0096119074, 0.008469888, 0.0526342392, -0.0304181986, -0.0129274726, 0.0508701093, -0.02380847, -0.0096580675, 0.0453281887, 0.0291132908, -0.052439902, -0.018435644, -0.0161103755, 0.0196592622, 0.0123326592, 0.001833368, 0.0713719875, 0.0252753124, -0.0475702435, -0.0229041018, -0.0268401112, 0.0270485468, -0.0108043868, -0.0248857867, 0.0165309552, 0.0008661171, -0.0075173229, 0.0576238073, 0.0095679825, -0.036804907, -0.0170226786, -0.0060121273, -0.0421076715, -0.0044178595, -0.0171150863, 0.0276427846, 0.0151713053, -0.0160045922, 0.0386241898, -0.0735089332, -0.0313496701, 0.0240152571, 3.091e-7, 0.0185743123, 0.0313652419, 0.0154320579, 0.0355701894, 0.0263161417, 0.0266653616, -0.0376912169, 0.0115942508, 0.0359093733, 0.0300444793, 0.0814439282, 0.020674305, 0.0053128498, 0.0191028658, -0.068176128, 0.0500317961, -0.033098489, 0.0237539317, -0.0378588177, -0.02488303, -0.0286916662, 0.0679543018, 0.0255085975, -0.0368939824, 0.0483272374, 0.0034480279, 0.049474813, -0.0174567848, 0.0223024823, -0.0049048136, -0.0534650385, -0.0059676473, 0.005598837, 0.00417493, -0.0254619867, 0.0274001583, -0.0415517539, 0.0402194485, -0.0374445207, -0.0578448847, 0.01223063, 0.018399056, 0.0211437363, -0.0106929848, 0.0934386775, -0.0531507656, 0.0066671977, -0.0353091508, -0.0262311287, -0.0029601918, 0.0243439302, 0.0163669363, -0.0120837353, 0.043664664, 0.0082797613, -0.0163227767, -0.0260470472, -0.0575836636, -0.0369587876, -0.0034152153, -0.0027895798, -0.0429575332, 0.0027492517, 0.0208481457, 0.0483950004, -0.0312134475, -0.0214664582, 3.055368794e-34, 0.0233717002, -0.007274434, 0.0237458833, 0.0460634194, -0.0417061374, -0.0130558014, -0.0613904744, 0.0170743205, 0.0578139871, -0.0418038517, -0.0188462231 ]
http://arxiv.org/abs/2401.06468v3
http://arxiv.org/pdf/2401.06468v3
Adapting Large Language Models for Document-Level Machine Translation
2024-01-12T09:29:13
2024-06-09T13:13:03
Minghao Wu, Thuy-Trang Vu, Lizhen Qu, George Foster, Gholamreza Haffari
cs.CL
cs.CL
Large language models (LLMs) have significantly advanced various natural language processing (NLP) tasks. Recent research indicates that moderately-sized LLMs often outperform larger ones after task-specific fine-tuning. This study focuses on adapting LLMs for document-level machine translation (DocMT) for specific language pairs. We first investigate the impact of prompt strategies on translation performance and then conduct extensive experiments using two fine-tuning methods, three LLM backbones, and 18 translation tasks across nine language pairs. Our results show that specialized models can sometimes surpass GPT-4 in translation performance but still face issues like off-target translation due to error propagation in decoding. We provide an in-depth analysis of these LLMs tailored for DocMT, examining translation errors, discourse phenomena, training strategies, the scaling law of parallel documents, recent test set evaluations, and zero-shot crosslingual transfer. Our findings highlight the strengths and limitations of LLM-based DocMT models and provide a foundation for future research.
[ 0.0343043134, 0.0297267195, 0.0062419181, 0.0442763716, -0.0479900278, 0.0195275582, 0.0335418396, -0.0043823812, -0.030061543, -0.0487567298, -0.0527050905, -0.0397958644, 0.0323275216, -0.0395527631, 0.0207293388, -0.036977794, 0.0485872179, -0.0473666675, -0.0283278655, 0.0045447606, -0.0143632637, 0.0231471583, 0.0197877716, 0.0153136076, 0.0206014998, -0.0256497283, 0.0303726532, 0.0678342283, 0.0304745771, -0.0294727236, -0.0111269811, 0.0265182238, 0.0309371222, 0.0719413459, 0.0000020182, -0.0326415673, -0.0343158394, 0.0203573201, 0.0176843014, 0.0381172076, 0.0538685098, -0.0872530118, -0.0185524691, 0.0375335142, -0.0004753733, -0.0496502817, 0.033732906, 0.0462260582, 0.0427963547, 0.1048499867, -0.0183675699, -0.0276661962, 0.0346418768, -0.0613031872, -0.0197586957, -0.0825241059, 0.0058502825, 0.0173121877, -0.0110561531, 0.051742781, -0.0124054654, 0.0292715915, -0.0231294744, 0.0030053102, -0.02695016, -0.0000120447, -0.0164655633, -0.0183851644, -0.0358726606, 0.0600264445, -0.0267104376, -0.0019744639, -0.0271300133, -0.0171572473, -0.0284291822, -0.0090726689, -0.0533675216, 0.0258388128, -0.0038677377, 0.014364033, 0.0419687852, 0.0123111596, 0.0388964266, 0.0011558103, -0.0561732315, 0.018632248, 0.0505987331, -0.0302216355, 0.0101733869, 0.0139268506, -0.0483352691, -0.0119929761, 0.0477777533, -0.009672191, -0.0220730659, 0.0141634205, -0.0458251089, -0.0398735777, 0.0217260197, -0.0335987024, 0.0595581718, 0.0607008673, -0.0006747193, 0.0651224181, -0.0248188451, 0.0805758238, -0.0443622433, -0.0097506978, -0.0648739189, -0.021099044, -0.0322107337, 0.02882348, -0.0461377837, -0.0228898209, -0.0643136874, -0.0255248118, 0.0095018772, 0.0219847485, 0.0538638271, 0.0109289307, 0.0365032628, -0.0530742407, -0.0747607797, -0.0555300862, 0.0114304675, 0.0766028762, -0.0022585376, -0.0082472423, -0.000742334, -0.058826331, -0.0253895018, 0.0169267748, -0.0028286169, -0.0521608144, -0.0011445, 0.0608510636, -0.0150505779, -0.0263538901, -0.0018402054, 0.0217843615, -0.0083355773, -0.0756074339, -0.0246871896, -0.0523629375, 0.0507380739, 0.0182128623, 0.0508128218, -0.018857481, 0.0110179689, 0.0148864575, -0.0591104962, 0.0729096755, 0.031548854, 0.022973638, 0.0366728269, -0.0182363726, 0.0026690753, 0.0717697889, 0.0347586796, 0.014734095, 0.0366385654, -0.0203528926, -0.0391808711, 0.0601226985, -0.0133553743, 0.05475967, -0.0012001067, 0.0097833201, 0.0351269059, 0.0538376123, 0.0306660905, 0.0626089945, -0.0364342816, 0.0238002855, 0.0869071856, 0.0511076152, -0.0088689057, 0.0223495066, 0.0310889296, 0.0187545288, -0.0127513492, -0.0176318102, -0.0305911191, -0.0315253288, -0.0047981082, -0.0114825051, 0.0330376066, 0.0436014608, -0.021184152, 0.0087274173, -0.0335491188, -0.0048392429, -0.0002854666, -0.021129841, 0.0540717952, 0.0079980381, -0.0789152384, 0.0238356385, -0.0082627423, -0.0227879249, 0.0026932489, -0.0176893882, -0.0194209125, 0.0565156825, 0.0721049011, 0.0116905859, -0.0383345746, -0.0126498453, 0.0287789926, 0.0708025917, 0.0872032344, 0.0308745224, 0.0032363888, -0.0492683835, -0.0033913006, -0.0028629068, 0.0125728194, 0.0339355282, 0.0028142303, 0.0446905158, 0.0384934545, -0.0376902185, -0.0777612403, 0.0256031156, -0.0488898791, -0.0525017902, 0.0363495201, -0.0209780522, 0.0142184747, -0.0023940329, -0.0088083288, -0.0070325253, -0.0010032718, -0.023509752, 0.0047944789, 0.0144310379, -0.0340382122, -0.0341037475, 0.0067985482, -0.0165204778, 0.0022636242, 0.0122547373, -0.0498453714, -0.047054816, -0.030535413, -0.0127381561, -0.0090002641, -0.0239677094, 0.0516677499, 0.0022001117, 0.0184632074, -0.0316399448, 0.0156553257, 0.0201278888, -0.0192682557, 0.0239543263, 0.0045631239, 0.0163667239, -0.0194651056, -0.0178373959, 0.0539820045, 0.0232674163, 0.0173995942, 0.0325058065, 0.0399267562, -0.0165144783, -0.0478605516, -0.0915113464, 0.0556893423, -0.0186477397, 0.0565737039, 0.0484506786, 0.0326564573, -0.0194858946, 0.0092049399, -0.0057235057, 0.0014537657, 0.0350020789, 0.0222030208, 0.0108919796, -0.0143471882, 0.0106509458, -0.0265122727, -0.000459238, 0.0226406436, 0.0261332579, 0.0014933154, -0.0232430939, -0.0810249448, 0.0479130298, -0.0068530319, 0.0090718344, 0.0013372605, -0.035508927, -0.0037181359, -0.0273227766, 0.0637574494, 0.0570373274, -0.0092208488, 0.0231220555, 0.0101876892, -0.0189088229, -0.0546196662, 0.0135609228, -0.011486684, -0.0736407116, -0.0425977185, -0.0452199876, 0.0125098331, 0.0557490438, -0.0034384788, 0.0031827465, -0.0630618483, 0.0076382905, -0.0264289994, -0.001327484, 0.0005150238, 0.0084132021, 0.0166682675, 0.0300614592, -0.0191645604, -0.0435255952, 0.0255892444, -0.0581533723, 0.0052680154, -0.0650106519, 0.0210077595, -0.0459179915, 0.0439686216, -0.00465002, 0.0020301817, -0.0331512913, -0.0312035941, -0.0135434419, 0.0088351006, 0.0056604492, -0.0247077998, 0.0258491822, -0.0755251646, 0.0003824738, -0.0452167355, -0.0363678485, -0.0028134903, -0.0333637036, -0.0072528077, 0.0121962642, 0.0116993124, -0.0310898609, -0.0465619564, 0.0225850455, 0.0079673575, 0.0620371774, -0.0346429422, -0.0081145167, -0.0383584127, 0.0332399085, 0.0127153825, -0.0050809234, 0.0227623321, -0.0551952682, 0.0369248614, 0.016174309, 0.0212550033, -0.0038486479, -0.0312877558, -0.0294873267, 0.0468499586, -0.0182594005, -0.0419763513, -0.02005901, 0.0868543535, -0.0853555351, -0.0265360158, 0.1105645597, 0.0226931889, -0.052731581, -0.0245453492, -0.0162983332, 0.0137568358, -0.0140945446, 0.0379387103, -0.0758051947, -0.0399692096, 0.0207325798, 0.037185967, 0.0283930302, 0.0071423021, -0.0208231285, -0.1099610925, 0.0316610485, 0.060389027, -0.0302986931, -0.0315651149, -0.0311996229, -0.0176205337, -0.0186995436, 0.0662680417, -0.0035419795, -0.0080773467, -0.0126996702, 0.002320169, 0.0236733761, -0.0806519613, 0.0134741571, -0.0362346582, 0.0359949842, 0.0636014715, 0.0338890105, 0.0053175818, -0.0020989063, 0.0618166178, -0.0396590084, 0.0141463028, -0.0283723548, -0.0117866434, -0.0170464311, 0.0046858429, 0.0257571153, 0.005119035, -0.0414000936, 0.0299994666, 0.0321989916, 0.0607235096, -0.0181993302, -0.0127395969, 0.0182947312, -0.0342510566, 0.0062155477, 0.0705329254, 0.0162249543, -0.032589674, -0.044593364, -0.0121094296, -0.0113511682, -0.0428494066, 0.0204123147, -0.0164497476, -0.0342638306, -0.0121222492, -0.0701375678, -0.0493901893, 0.0239075087, 0.0102094235, 0.025718227, 0.0107146874, -0.0092115244, -0.000986941, 0.019874895, 0.0535053127, -0.0345430374, 0.0104649961, -0.0793312863, 0.0341021307, 0.0388372429, -0.0354520157, 0.0092091095, 0.0195826292, -0.0782378092, -0.0735714361, -0.044621475, 0.024211701, 0.0183496885, 0.0570143498, -0.0442808568, -0.0579775721, 0.0067178248, 0.0216853134, -0.0392920785, 0.0126451701, 0.0133616319, 0.0147750573, -0.0198060796, 0.0496802554, -0.0023254408, 0.0134045081, 0.0019405398, 0.0715309232, -0.0012273917, -0.0716782436, 0.0039747329, 0.0282438304, 0.0295028482, -0.0088938791, -0.0231203083, -0.0169284288, 0.0303231124, -0.0310346298, -0.0032836921, -0.0469382964, -0.0235313121, 0.0739777088, -0.0119040143, -0.0280345324, 0.0051126452, -0.0063759228, 0.0134476796, -0.0314252377, 0.0144539168, -0.0363428779, 0.0266125426, 0.0159688909, 0.0079517849, -0.0331744067, 0.0020688546, -0.0059308209, 0.0277713276, -0.0508856997, 0.058712557, 0.0035712912, 0.0064014802, 0.0112126805, 0.0298351627, -0.0326687656, -0.0529386401, -0.0079251872, 0.0129890041, 0.0680073723, -0.0068064835, 0.1358394474, -0.030439198, -0.0198918357, -0.0376503691, 0.0290057287, 0.0262790453, 0.0194922518, 0.0014948762, -0.006074409, 0.0065043322, 0.0257216692, 0.076419659, 0.0125744259, 0.0247144494, 0.0192552805, -0.026162494, -0.0165296383, -0.0018984684, 0.0163949933, -0.0297566056, -0.0191172753, -0.0065354994, -0.0230360199, -0.0240540504, -0.0065063289, -0.0054727863, -0.0086880373, -0.0247112121, -0.0234323163, 0.0892321169, -0.0337246805, -0.0017511486, -0.046709422, 0.0106824646, -0.0058969106, -0.0205607004, -0.0228498839, -6.553574228e-33, -0.0517892279, 0.009866057, 0.019148143, -0.0174744595, -0.0379607528, -0.0083162328, -0.0405307412, -0.0270726234, 0.003483318, 0.0123423645, -0.0367314592, -0.0021083704, 0.0198342409, 0.0106615135, -0.0063463091, 0.0233156625, 0.0734444186, -0.0085583162, -0.0366522484, 0.0354364812, 0.0526258834, 0.012256586, 0.080250226, -0.0343994088, 0.0293172356, -0.0108684888, -0.0183771737, 0.0220467988, 0.0030627586, 0.0104819378, -0.0076315487, 0.0047134152, 0.0261755455, -0.0337245055, -0.0332857147, 0.0146230739, -0.0907774419, 0.0144772297, 0.0494575053, 0.029635014, 0.0016898876, -0.0521928854, 0.0232046116, -0.0161731672, -0.0040972368, -0.0275384113, -0.0175285731, -0.0445544235, -0.039593827, 0.0028138643, -0.0749463215, 0.0384065211, -0.0017339435, 0.003806344, 0.0409082882, 0.0402257666, -0.0386532433, 0.0395067744, -0.0565114692, -0.0071240584, 0.0066442164, 0.0427000597, 0.0435204543, -0.0055414787, -0.0294132382, -0.0025821854, -0.0067554689, 0.0150020504, 0.011410458, -0.0139682768, 0.0156553332, 0.0157343261, 0.0407883264, 0.0312031507, 0.0280646197, -0.0082723033, -0.0591622256, 0.0289123282, -0.0002159418, 0.0295263045, 0.034027867, 0.0134847602, -0.0139407841, 0.0055563236, -0.0605973937, -0.0119352294, -0.0289827827, -0.0116575975, 0.0255271289, 0.014936517, -0.0215636473, 0.0009535722, 0.0848550573, -0.0098130601, -0.0001346886, 0.0077085807, -0.0308050346, 0.0060064262, -0.0423490256, 0.0492728278, -0.0496164411, -0.0549876392, 0.0092822602, 0.0117619373, -0.0096488744, -0.0208413359, 0.0215695836, 0.0201896653, -0.0696263909, 0.0050428631, -0.0383795947, 0.014935893, -0.0324149989, 0.0397849455, 0.0223624967, -0.0170919113, 0.0029658859, 0.0536728166, 0.017321866, -0.0253258757, -0.007723806, -0.0073300228, 0.0034712229, 0.0187673066, -0.0325913057, 0.0301237237, -0.0181936156, 0.0185111426, 0.0421529971, -0.0262324568, -0.0315822475, 0.0115024345, 2.776e-7, 0.0429260992, 0.0808596388, -0.0024891132, 0.0245449059, 0.0189857967, 0.0171039086, -0.0245715361, 0.0484021306, 0.0357804, 0.0363697745, 0.0336461067, 0.0323158428, 0.111343883, 0.0108232191, -0.0635790229, -0.0271169022, -0.0400432013, 0.0457925163, -0.0757721514, -0.0216647219, 0.0168138836, 0.0728330612, -0.0320385769, 0.008265486, -0.0039897212, -0.0369577371, 0.1028306559, -0.0456088819, -0.0355973057, 0.0227792095, 0.0274917614, 0.0274249688, -0.0318436734, 0.0173593499, -0.0179942995, 0.0134757608, 0.0299704242, 0.0986376032, 0.0104616582, 0.019716043, 0.0117647313, -0.0095318677, -0.0155408345, -0.0634758845, 0.060971681, -0.040599592, -0.0155465603, -0.0000934163, -0.0232375003, -0.0192195922, 0.0366870649, -0.0505328029, -0.0433665551, 0.03190751, 0.0547057204, 0.0082299365, -0.0433709323, -0.031668961, 0.0088416804, -0.0097914245, -0.0191664584, -0.0519261695, -0.0226179026, 0.0192170441, -0.0088100284, -0.0509211123, 0.0007613382, 2.760647105e-34, 0.0702167228, -0.032455828, 0.0122999856, -0.0217529293, 0.0460303612, -0.0075118458, 0.0005649704, 0.0220315941, -0.0135532347, -0.1023073345, -0.0128312176 ]
http://arxiv.org/abs/2401.06466v1
http://arxiv.org/pdf/2401.06466v1
PersianMind: A Cross-Lingual Persian-English Large Language Model
2024-01-12T09:24:10
2024-01-12T09:24:10
Pedram Rostami, Ali Salemi, Mohammad Javad Dousti
cs.CL
cs.CL, cs.AI
Large language models demonstrate remarkable proficiency in various linguistic tasks and have extensive knowledge across various domains. Although they perform best in English, their ability in other languages is notable too. In contrast, open-source models, such as LLaMa, are primarily trained on English datasets, resulting in poor performance in non-English languages. In this paper, we introduce PersianMind, an open-source bilingual large language model which demonstrates comparable performance to closed-source GPT-3.5-turbo in the Persian language. By expanding LLaMa2's vocabulary with 10,000 Persian tokens and training it on a dataset comprising nearly 2 billion Persian tokens, we show that our approach preserves the model's English knowledge and employs transfer learning to excel at transferring task knowledge from one language to another.
[ -0.0038403065, 0.0632405952, -0.0142086772, 0.0730098709, -0.0240498912, 0.0304061677, 0.0114993965, -0.0028715422, 0.0416483954, -0.00319927, -0.1039319187, -0.0487340316, -0.0018436682, 0.0031236159, 0.036288172, -0.0322435945, 0.0353709757, -0.0728006586, -0.0103346277, -0.0029427859, 0.014160688, 0.0191090647, -0.0188128725, 0.0090649808, -0.0356390662, -0.0154953534, 0.0180081762, -0.0204191897, 0.0118767396, -0.0196584035, 0.0062113591, 0.0030886114, 0.0105450982, 0.0266130995, 0.0000016643, -0.0425397567, -0.0223943274, -0.0274463259, 0.0396607406, -0.0166982319, 0.0396648273, -0.0234642718, -0.0418009199, 0.0243613999, -0.0342324078, -0.0581218228, 0.0714103803, 0.0421280265, 0.0489432104, 0.0572426431, -0.017450083, -0.0619140752, 0.0176437199, -0.0387397967, 0.0142354211, -0.0676268637, 0.0458631031, -0.0207609832, -0.0262283776, -0.0248154607, -0.0098229274, 0.0184868686, 0.0045312927, -0.0162528418, -0.0091808783, 0.0024718076, -0.0639409199, -0.0094059212, 0.022676982, 0.0777095482, -0.0419601463, -0.0225823931, 0.0080830753, 0.0216377042, -0.0254502669, -0.0080120582, -0.0612546131, 0.0346657708, 0.009713171, 0.041062247, 0.0512999892, -0.0036287145, 0.0390540622, 0.0023058923, -0.0494426079, 0.039481312, 0.0540778562, -0.0225509312, 0.0267591979, -0.0028825665, -0.0380151719, -0.0302328356, 0.0222348962, 0.0246888828, -0.0640284866, 0.0128348731, -0.0204708073, -0.0299760979, 0.0240111314, -0.0531451628, 0.0494376644, 0.069195807, -0.0051985169, 0.0596343316, -0.0756167844, 0.0242529344, -0.0098470747, 0.0282378756, -0.0576486588, -0.0569521897, -0.0359520465, 0.0250062905, -0.025392931, 0.0275279041, -0.0209600031, -0.007888821, -0.0569887459, -0.0025534197, 0.012603919, 0.0276865382, 0.0334445834, -0.0272812471, -0.0458916649, -0.0115347775, 0.0029272973, 0.0386347622, -0.0133715682, 0.0283510834, -0.0309186056, -0.0574738346, -0.0125377979, 0.0413728282, -0.0193950199, -0.0168898981, 0.0083506815, 0.056467589, 0.0053037005, -0.0307034496, -0.0274988711, 0.0626255721, 0.0073388889, -0.0674802288, 0.0068248836, -0.0479065888, 0.0502096936, 0.0052683339, -0.0121921105, -0.0228076056, 0.0111433528, 0.0389434434, -0.0000038455, 0.0828224644, 0.0302217864, 0.009478271, 0.0334192812, -0.0097985044, 0.0004176561, 0.0755001977, 0.0397907533, 0.0044607292, 0.0193281472, -0.0273365844, -0.0396749862, 0.04798536, 0.0239518285, 0.0168647468, -0.0113543877, -0.0015950694, 0.0703384131, 0.0812429115, -0.0061820112, 0.056176763, 0.0019445884, 0.0496090427, 0.0403454937, 0.0354443491, 0.0079406183, 0.0444868058, 0.0315129347, 0.0104958145, 0.010093838, -0.0118645867, -0.0261569712, 0.0190122798, 0.056688346, 0.021768529, -0.0095092803, 0.048803281, -0.050148204, 0.0126431091, 0.0022949365, -0.062021669, 0.0010533726, -0.0057052583, 0.1045878455, 0.0157589875, -0.0351703279, 0.0751839206, 0.0653887317, -0.0002291508, 0.0413790457, -0.0807251707, 0.0422523022, 0.0455315001, -0.018186247, -0.0537386388, 0.0109229255, -0.0078952992, 0.0032019918, 0.0045496831, 0.0474584848, -0.0322594792, 0.0083636977, -0.0725321844, 0.0146735189, -0.0033758255, 0.0112627884, 0.0158177484, -0.0025902861, 0.0579447821, 0.0189095195, 0.0041331928, -0.0031364986, 0.0151752383, -0.0548591353, -0.0048554591, 0.0102008907, -0.0047390722, -0.0225284919, -0.0160595421, -0.0020236461, -0.0122612854, 0.0409865789, -0.0657251254, 0.016498968, -0.0190223139, -0.0486248247, -0.0026797317, 0.0593720675, -0.0205679089, -0.015018044, 0.0440987647, -0.044246681, -0.0627344176, 0.0783762187, -0.002039562, 0.0225942396, -0.0533787012, 0.0345161147, 0.0124252103, 0.0543619879, -0.0075572697, 0.0387321673, 0.0220511146, -0.002444753, 0.0053438917, -0.0398264043, 0.0094220489, 0.0038007228, 0.00674828, 0.0639858544, 0.0355954841, 0.0005809474, 0.0165872686, 0.0046393676, -0.0214601178, -0.0561675839, -0.0645278096, 0.0228543561, -0.0186807271, 0.0593546219, -0.0222175717, 0.0345764756, -0.0111069893, -0.0024808196, -0.0439124666, -0.0056643547, 0.0161792301, 0.0015083862, 0.0390120856, -0.0119520267, -0.0142401373, -0.0388583131, -0.0449921526, 0.0318063013, 0.0219790637, -0.028262049, -0.0451740772, -0.0112417722, -0.0085997842, 0.0031145825, 0.0378570445, -0.0027494202, -0.0193969291, -0.0072074495, -0.0406679176, 0.0489471667, 0.024246458, -0.0300032664, -0.0336890258, 0.0249726158, -0.0382096656, -0.0200048368, 0.0090489201, 0.0074334978, -0.041446466, -0.0558365695, -0.0074468711, -0.0486830808, 0.03922306, -0.0495381579, -0.0340779945, -0.0561638288, -0.0139089907, -0.0272508767, 0.0122507205, 0.0022567702, 0.0467308871, -0.0095506189, 0.0292502269, -0.0182884336, -0.0219005495, 0.0225848388, -0.0419662148, 0.0055322363, -0.0049381205, -0.0005433582, -0.0780498013, 0.0168288872, -0.0234443899, -0.0022396781, -0.0283482652, -0.0353914611, -0.0533455797, -0.0179223213, -0.0127458517, -0.0320696309, 0.0434598327, -0.0431466363, 0.005443485, -0.048775699, -0.0262725949, -0.0291364193, 0.031373363, -0.0177845526, 0.0386463255, 0.0472621061, -0.0366860963, -0.0187084395, -0.006245486, 0.0381196439, 0.0553605407, -0.006236217, 0.0391018242, -0.0079393489, -0.0198206101, 0.0402876437, 0.0357640386, 0.0182119533, -0.032070104, 0.0170727875, 0.0190749727, 0.0490970574, -0.0193450488, -0.0249262247, -0.008156375, 0.0407296903, -0.0436553285, -0.0437948518, -0.0391032584, -0.0060100728, -0.0447729193, -0.0141229806, 0.0856783912, -0.0089527136, -0.0323916711, -0.0188096501, -0.0313631855, -0.0214723237, 0.035411872, 0.0193971694, -0.069249332, -0.0214660857, 0.0215367265, -0.031663049, 0.0441702418, 0.0005529606, -0.0126872519, -0.11696437, -0.0304458309, -0.0146263363, -0.0737714544, -0.0346377678, -0.0318503045, -0.0166325886, 0.0049926448, 0.0118628228, -0.0450995862, -0.0195728093, -0.0162746105, 0.0371055938, 0.0249377768, -0.0686424673, 0.0159074441, -0.0404863879, 0.0290010348, 0.0471871682, 0.0458746292, -0.0240192227, -0.0809742883, 0.0223691147, -0.0383387357, -0.0582643449, 0.0024403667, -0.0001061859, -0.0013238756, -0.0397750176, 0.0248928871, 0.0028801272, -0.0764380097, 0.0210717935, 0.0010428072, 0.0862034708, 0.0318894647, 0.0025764923, 0.0455310009, -0.0251956787, 0.0165643562, 0.0302306581, -0.0108210882, -0.0215851404, -0.0409583189, 0.0299871154, -0.0584429801, -0.0512927063, -0.0144118974, 0.0090879342, 0.0007858411, -0.0241495781, -0.069199346, 0.0078151124, 0.0337415934, 0.0198265221, 0.031804245, 0.0529716983, 0.0113658877, -0.0224615373, 0.0017310203, 0.0111080902, -0.021614844, 0.025750855, -0.0563750342, -0.0266860947, 0.0621706918, -0.057447467, 0.0016495971, 0.033662498, -0.0601904504, -0.0289674103, 0.0122893825, 0.0583704039, 0.0139529193, 0.021138154, -0.0356986634, -0.0529839881, 0.0133763645, 0.0082552452, -0.051351849, 0.0062135938, 0.0363524966, -0.0047474946, -0.0052503687, 0.0795578584, -0.0250897445, 0.0069347406, 0.0201280061, -0.0196031276, -0.006544447, 0.0083058672, -0.0084543722, 0.0162604079, 0.012962969, -0.0245515648, 0.0230499562, -0.0579289757, 0.03295739, -0.0480781123, 0.0149377547, -0.0286324322, -0.0090774344, 0.0677061304, -0.0012979254, -0.0155517086, 0.0015103879, 0.0075497003, -0.014695527, 0.0101533923, 0.0039303242, 0.0086852172, 0.0203665905, 0.0385623835, 0.0147181619, -0.0223487895, -0.0451505966, 0.0064295889, 0.046323739, -0.0426036157, 0.0192751363, 0.000820265, -0.0123399012, 0.0316479579, 0.0246828552, 0.0084551992, -0.0771243796, 0.0344228484, 0.0484459847, 0.0865462124, -0.0227382127, 0.0711276606, -0.0075096018, -0.015194037, -0.0267734807, 0.0425650589, -0.0012872223, -0.0166401491, 0.0276710428, -0.033045426, -0.0109544694, 0.013269566, 0.0533410087, -0.0012248134, 0.0081581781, -0.021191597, 0.0107961968, -0.0071430397, -0.0451086462, -0.0286950916, -0.0040695253, -0.045147121, 0.009414115, -0.0158915296, -0.092366606, -0.0092013795, -0.0143877817, -0.0200210623, -0.0154998722, 0.0249995645, 0.0339527279, -0.0008141018, -0.0419382453, -0.0629366338, 0.0243441369, 0.0004219539, -0.0240239538, 0.0249120817, -5.779373444e-33, -0.0189081542, 0.0433277823, 0.0262287892, -0.0080390917, -0.0369216688, -0.0210430305, -0.0419214107, -0.0160130467, -0.0237010252, 0.0052470732, -0.0367352515, 0.0270620603, 0.0281370766, 0.0385700203, 0.0440240577, -0.018207062, 0.0341158845, -0.011834234, 0.01752064, 0.0885092467, 0.0628952906, 0.0564988889, 0.1240038201, -0.0174089801, -0.022085648, -0.019164877, 0.0216683373, 0.038854748, -0.0097604124, 0.0518195182, -0.0303528067, 0.0278308019, 0.0077447579, -0.0709324926, -0.0172616281, 0.0067324471, -0.0637769997, 0.0061566839, 0.0168397073, 0.0413348787, 0.0117491456, -0.0310737155, 0.002159259, 0.0090015028, 0.0047772671, 0.007258343, 0.015877787, -0.0326351784, -0.0067275129, 0.0125022857, -0.0624129176, 0.025056731, 0.0260144956, 0.0036714219, 0.0250660256, 0.0161504056, 0.0044114185, 0.0172308143, -0.0322428755, -0.0163596384, -0.0568166561, 0.0495015197, 0.095759593, 0.0172220636, -0.0254938789, 0.0531911366, 0.0244844053, -0.0324997604, 0.0363481492, -0.007569511, 0.0132868309, 0.0117596146, -0.0027748272, 0.0374061503, -0.0025678757, -0.0500859208, -0.1189328209, -0.0031223604, -0.0020567805, 0.0867068917, 0.0244947616, -0.0186801907, -0.0099913199, 0.001163971, -0.0023927896, -0.0080371471, -0.0224019121, -0.0037692715, 0.0080086626, 0.0006701601, 0.0049167504, 0.0154138682, 0.0335320234, -0.0347542427, -0.0039811507, 0.0125353821, -0.0448199846, -0.0112392148, -0.0408138521, 0.0494147129, -0.0937162191, -0.0912717804, -0.0373936109, 0.0159467123, 0.0356008038, 0.0144063961, 0.0254233535, 0.0289945398, -0.0673237145, 0.0188103896, -0.0657944754, 0.0452409983, 0.0041869734, 0.0587022342, 0.014717022, 0.0154260779, -0.0245729499, 0.0782381669, 0.0077090189, -0.0114551606, 0.0233577024, -0.0413989425, 0.0171083566, -0.0013273923, -0.0147923147, 0.0252775475, -0.0555249974, 0.0059168804, 0.0325193778, -0.0538871251, -0.0064250822, 0.0239254143, 2.512e-7, 0.0557249598, 0.0131392432, 0.0010733254, 0.0159933642, 0.0124645485, 0.0331151821, -0.0752091184, 0.0535983704, 0.0022180856, 0.0503742695, -0.0164487734, 0.047159601, 0.0605947003, 0.0166582819, -0.1169974431, -0.0069494052, -0.032507889, 0.0364795923, -0.0533026196, -0.0059113782, 0.0095441006, 0.1114939526, -0.0038813285, -0.0298511144, -0.0011319113, -0.0352389961, 0.0856504962, -0.0333488844, -0.0366502032, 0.0456581526, -0.0032389145, 0.0177821424, -0.0381854251, 0.0184622947, -0.0369604975, 0.0413197689, 0.0647294298, 0.089977324, 0.0441259891, -0.0069265398, 0.0239535682, -0.008393012, -0.0020216026, -0.0314694829, 0.0662299469, -0.0105151925, -0.0255139228, -0.0109786475, -0.0005799464, -0.0078785764, 0.0273255929, -0.0201813299, 0.014195648, 0.0363755561, 0.0326663405, -0.0386198461, -0.0302694254, -0.040621683, -0.0038702546, 0.0100432429, -0.0217812136, -0.0440194793, -0.0123775657, -0.0023142225, -0.0074967388, 0.0131463455, 0.0144318445, 1.60178864e-34, 0.0196362771, -0.0137914689, -0.0076394067, 0.008500495, 0.0293637123, -0.0230095759, -0.0017147306, 0.026528094, -0.0114869326, -0.0587881692, -0.018302992 ]
http://arxiv.org/abs/2401.06461v3
http://arxiv.org/pdf/2401.06461v3
Between Lines of Code: Unraveling the Distinct Patterns of Machine and Human Programmers
2024-01-12T09:15:20
2024-03-24T01:20:49
Yuling Shi, Hongyu Zhang, Chengcheng Wan, Xiaodong Gu
cs.SE
cs.SE, cs.AI, cs.CL
Large language models have catalyzed an unprecedented wave in code generation. While achieving significant advances, they blur the distinctions between machine- and human-authored source code, causing integrity and authenticity issues of software artifacts. Previous methods such as DetectGPT have proven effective in discerning machine-generated texts, but they do not identify and harness the unique patterns of machine-generated code. Thus, its applicability falters when applied to code. In this paper, we carefully study the specific patterns that characterize machine- and human-authored code. Through a rigorous analysis of code attributes such as lexical diversity, conciseness, and naturalness, we expose unique patterns inherent to each source. We particularly notice that the syntactic segmentation of code is a critical factor in identifying its provenance. Based on our findings, we propose DetectCodeGPT, a novel method for detecting machine-generated code, which improves DetectGPT by capturing the distinct stylized patterns of code. Diverging from conventional techniques that depend on external LLMs for perturbations, DetectCodeGPT perturbs the code corpus by strategically inserting spaces and newlines, ensuring both efficacy and efficiency. Experiment results show that our approach significantly outperforms state-of-the-art techniques in detecting machine-generated code.
[ 0.0293597579, 0.0795459449, -0.0574049205, 0.0740097612, -0.0295751374, -0.0150344009, -0.0523488857, 0.0506655537, 0.002224209, 0.0219345, 0.0047271377, 0.0414566062, 0.0242625307, 0.0484262854, 0.0553138927, 0.036038015, 0.0177535526, 0.0114413621, -0.0111638894, 0.0692995861, 0.0258975755, 0.024510704, 0.0326917022, 0.0313465074, 0.0062566204, -0.0410216264, -0.0163715836, 0.0366683826, 0.0444971845, -0.0226466581, 0.0151496306, 0.0523158647, -0.0356255062, 0.0602219813, 0.0000019884, -0.0274351574, -0.0454079658, -0.0079310481, -0.0053272471, 0.0616695918, -0.0032812033, 0.0166346636, -0.0215321444, 0.0006231494, -0.0667899102, -0.0101639889, 0.0383548066, -0.018976938, 0.0430084653, 0.0782185048, -0.013771398, 0.0453667529, 0.0002237414, 0.0234024785, 0.0317020081, 0.0180766396, -0.0082915202, 0.0078101591, 0.0157917049, 0.0231984612, 0.027758617, 0.0001985116, 0.0025780692, -0.0228487477, -0.015961431, 0.028352363, -0.0541009493, 0.0039557079, -0.012291125, 0.0238612536, -0.0645642951, -0.0510533452, 0.0884820744, -0.0234768279, -0.0057712775, -0.0077260504, 0.0184193309, 0.0473545939, -0.0448032618, 0.0125938924, -0.0091101388, -0.0297111366, 0.008129322, -0.0110781798, 0.0079185227, 0.0223586727, -0.0063653816, -0.0302723963, -0.0444631092, 0.002624376, -0.0092315273, -0.0704589188, 0.0063714171, 0.0256542694, 0.02496114, -0.0216038227, -0.0338055491, -0.0297651123, 0.0363737829, 0.0004270057, 0.0316282362, 0.0238309111, -0.0384944789, -0.0108645158, -0.0507727154, 0.0697381273, -0.0273551922, 0.0170830078, 0.0051050275, 0.0669120401, -0.0295735002, -0.0152110253, -0.0300106183, 0.0077559343, 0.0169516671, 0.0284431819, 0.0068864184, 0.0706602484, 0.0089527182, 0.0619894676, -0.0617298298, -0.0486161448, 0.0097034657, 0.0269472618, 0.0589142367, -0.0748120993, -0.011102044, -0.0372605361, -0.02380348, -0.0732908994, -0.0159119051, 0.0840468034, 0.006692566, 0.0011205127, 0.0178951267, 0.0119923865, 0.0249835998, 0.0184588041, -0.0434207357, -0.0684115067, -0.006510539, 0.0026700501, 0.0035364274, -0.0638921484, -0.0634661019, -0.0009596466, -0.0040317033, -0.0487221964, -0.0183316618, 0.013371774, -0.0012475966, 0.0386395007, -0.0940522105, 0.0222781487, 0.0004884721, -0.0184504129, -0.0387715958, -0.0289415643, 0.0690986589, 0.0380135067, 0.0720554814, -0.0385074504, 0.0990636721, 0.0252137929, -0.0356190354, -0.0024403541, -0.0167952403, -0.0018751177, 0.0179070532, -0.0231905319, 0.0442366861, 0.0414680988, -0.006761298, 0.0041278074, 0.0093329046, 0.0627961084, -0.0134167355, 0.0342678204, 0.0553194098, 0.0452133417, 0.0241353717, 0.0481394567, -0.0041210321, -0.0336287953, -0.0060437415, 0.0040823654, -0.0097988881, 0.0200216603, 0.0450603776, -0.0077166627, -0.0290124472, -0.0173535626, -0.0179119948, -0.0748547614, -0.0298552383, -0.0133424234, -0.0252512358, -0.004450134, -0.0120722838, -0.0456216894, -0.0301919281, -0.0640434995, 0.051651042, 0.0299206935, 0.055043906, -0.0331459157, 0.0655410662, -0.003917648, -0.0114101311, 0.0041959584, -0.0189524777, -0.007111724, 0.0104793068, -0.0178595986, -0.0127157997, -0.0113946125, -0.00144655, 0.0421348698, 0.0445079394, -0.0221135058, 0.0226819497, -0.0148341777, -0.0147809628, 0.0511274338, -0.0003102517, 0.0015935359, 0.0058079292, 0.0075307209, 0.0098403664, -0.0183089878, -0.0659882054, 0.0344482549, 0.0193307884, -0.0101550361, -0.0079443278, -0.0195973851, 0.0126813771, 0.0062560481, 0.0218719505, -0.0333800875, -0.0261075944, -0.0019731156, -0.0152427256, 0.0084500685, 0.0147453928, -0.0578900315, -0.0013974927, -0.0554521009, 0.0159596205, -0.034185227, -0.0116907833, -0.0373511687, 0.0345731452, 0.011548941, 0.0231571719, 0.0118087744, 0.0063733058, 0.048232954, 0.0135630704, 0.0061836764, 0.0231307689, -0.0446372107, 0.0305235013, 0.0102917487, 0.067295216, -0.0116115715, -0.0463196076, -0.0323032551, 0.0141303614, 0.0009286873, 0.0418621302, 0.0272876378, -0.0178862512, -0.0306086075, -0.0036496324, -0.0014638146, -0.0431900285, 0.0018428091, -0.025139302, 0.0710048527, -0.0423976406, -0.0264476947, -0.0157723445, 0.0211539771, -0.0317545608, 0.0368654244, 0.0180815551, -0.0135075441, -0.1134111211, 0.0506072715, 0.0224320162, -0.0255147722, 0.0028023466, -0.0516392142, -0.0159321167, -0.0456744991, 0.0314575695, 0.0907066986, 0.0072009685, -0.028161129, 0.0240914747, 0.0273688491, 0.0104982909, -0.0211794153, 0.0474776365, 0.0004603472, 0.0303198975, -0.0376070105, 0.083298564, 0.0315989964, 0.0108656809, 0.0041138479, 0.0035965324, 0.0050699026, 0.0180819873, 0.0365048051, 0.0235073343, -0.0529194139, -0.0516443625, 0.0474976897, -0.023911804, -0.1072152257, 0.0214229152, -0.0671415552, -0.0084018307, 0.0084627597, -0.0139893284, -0.0344696902, 0.0077905525, 0.0048025702, 0.0127994968, 0.0439985394, -0.0693280622, -0.0245630536, 0.0101259723, 0.0410754085, -0.0373531431, 0.0399175286, -0.0548594557, 0.0032002602, 0.0045475829, -0.003695444, -0.0387308151, -0.0131767532, 0.0304790158, -0.0494019352, 0.051922854, -0.0275051575, 0.0523602329, -0.0069525847, 0.0101814624, 0.0714008734, 0.0291283056, -0.0199621692, -0.0359860435, 0.0580471195, -0.0370403677, -0.0672886595, 0.0005964161, -0.0023364334, -0.0655567572, 0.0326565467, -0.0019203027, 0.0520324893, -0.0412720628, -0.0073497007, 0.0076485444, -0.0179742891, -0.0226109456, 0.048573181, 0.0292134006, -0.0061371764, 0.0049491399, 0.0670262873, 0.0183655377, -0.0405426808, 0.0200135112, -0.0065097436, 0.0272525419, 0.0277505796, 0.0132832425, -0.0638948679, 0.0044623665, 0.0282662362, 0.0196746662, -0.0201628171, 0.0052187988, -0.0108956685, -0.0579914153, 0.0331844278, 0.0261776652, -0.0154320803, -0.0290304366, -0.0164070763, -0.0302292295, 0.0144303199, -0.0604403801, -0.0025820197, -0.0068738237, 0.0392914899, -0.0200997777, -0.0627148077, 0.0247107726, -0.0202757157, -0.0409068204, -0.0085537219, 0.1204560772, 0.0286054369, 0.0151660247, -0.0137994234, 0.0312599055, -0.0410718769, 0.0236501675, -0.014011804, 0.0503526405, 0.0103445919, -0.0142104113, 0.0393001251, 0.0083797434, -0.0717519596, -0.0157232862, 0.039673429, 0.0263390299, -0.0066088825, -0.0291538257, -0.0109753376, -0.0380057171, 0.0088187251, 0.0098292734, 0.0600254349, 0.0094990311, -0.058390718, -0.0742674544, 0.0343172476, -0.0474000499, -0.0405041352, -0.0388009511, -0.0236192849, -0.0391935483, -0.0889866874, -0.0051520229, -0.0548331253, 0.029441312, 0.0279048961, -0.0289623141, 0.0101494463, -0.0108801005, -0.1048350558, -0.0318349265, -0.0436079986, 0.024578454, -0.0317836776, -0.000585867, -0.027548736, 0.0022526092, -0.0096923886, -0.0189569648, -0.0824161544, -0.0296647083, -0.0439632349, 0.0154664237, 0.0210131537, 0.0108705861, -0.025701914, 0.0026974231, -0.033648029, 0.0310679283, -0.0242522024, 0.0119290845, 0.0091426484, -0.0283632148, 0.0157495048, -0.0224696603, -0.0215197783, -0.0217677038, 0.034883786, -0.0329444408, -0.0521912985, -0.0017135008, 0.0422610752, 0.0479214378, 0.0516163409, 0.0053713717, 0.0031123157, 0.0064669368, -0.0604084991, 0.0040888297, -0.0046282811, -0.0365905687, 0.0335279033, 0.0037996874, -0.0038989214, 0.0084655564, 0.0280666742, -0.0669277683, 0.0596048944, -0.0120046018, 0.0217495356, -0.0433972701, 0.0675191879, 0.0205180962, 0.0044710282, 0.0219770838, 0.0446764715, -0.008392808, 0.0419572555, 0.0004807294, 0.0527250767, 0.0015490914, -0.0017213556, 0.0408280939, 0.0424418338, -0.0646613091, -0.0019973463, -0.0087473085, -0.0040851487, 0.0492927618, 0.0264910702, 0.0632956102, 0.0065955943, 0.005738941, -0.0377992019, 0.0771788135, 0.0101904729, -0.0314345732, -0.0715280175, 0.0257286597, -0.0672231764, -0.0473831408, 0.086365521, -0.0128681939, -0.0158047359, -0.0232081879, -0.0510143116, -0.0414925069, 0.0057064118, 0.0496032946, -0.044972904, -0.0001633268, 0.0079902085, -0.0144663882, -0.0276310537, 0.0161507372, 0.0286222566, 0.073289074, -0.0041932072, -0.0275899563, 0.0863451362, -0.0139725395, -0.0142676253, -0.0483583473, 0.0018066727, 0.0015342933, -0.0198116731, -0.0380436517, -5.221563539e-33, 0.0045530666, -0.0875726938, -0.0560733527, 0.0306047779, -0.0070439596, 0.0082192188, -0.0638439059, -0.0125973132, 0.0092008207, -0.0481519029, 0.0149154915, 0.0399240702, -0.0078794491, -0.0802460834, 0.0610493086, 0.0338529013, 0.0350592099, 0.044540178, -0.0655679852, 0.0108016599, -0.0598686561, -0.0142404325, 0.0169677772, -0.0424330831, 0.0173583701, -0.0669290349, 0.0056085195, -0.0102810813, 0.0140488856, 0.0576985516, 0.010687992, -0.0304736625, 0.0143348668, 0.0135842441, -0.03872706, -0.0103180241, 0.0100718224, -0.0287900716, -0.0202825088, -0.0013566989, 0.0306400284, -0.1008877605, 0.0646170303, -0.041972395, -0.0174043346, 0.0093650036, 0.0492823608, -0.0137790469, 0.0055112713, -0.0473332666, -0.0249145702, 0.0375284962, -0.0492700487, 0.0140706263, 0.0221116561, 0.0105564371, 0.0232729092, 0.0405660272, -0.0315553024, 0.0078646243, -0.0122414203, 0.0393067785, 0.0087764272, 0.0114158932, 0.0149471825, 0.0133314719, 0.0394214652, 0.0074912906, -0.0007869789, 0.0355257988, -0.0043573235, 0.0101820435, 0.0205928832, 0.0317703411, 0.0585792288, 0.0084041376, 0.0254799761, 0.0476463176, -0.014977552, -0.0200441256, -0.0126074273, 0.0467723534, -0.0524010994, 0.0089998674, 0.0342053622, -0.0829822496, -0.0079072425, -0.038842801, 0.0362054408, -0.0079466579, -0.0205385499, -0.0064086672, -0.0101390854, -0.0624006204, 0.017769061, -0.0187907908, -0.0762198642, 0.0110327397, -0.0020507115, 0.0031080127, 0.0188682601, -0.011083479, 0.0276208315, -0.0165846962, 0.0943688303, 0.0360342525, 0.0133003574, 0.012496531, -0.0614171922, 0.0180656593, 0.0034709112, -0.035118822, -0.0216768533, 0.0019104441, -0.0025400424, -0.0374289453, 0.0307854116, 0.014684286, 0.0245331917, -0.0063483277, -0.0528292954, 0.0112391943, -0.0216083992, 0.0141263427, -0.0287278164, -0.011487403, 0.0033357716, 0.0534482896, 0.0408730693, -0.0075767594, -0.0420715138, -0.0349986292, 2.594e-7, -0.0067936303, 0.0281447973, 0.0669271573, 0.0277776383, 0.0251696184, 0.0404027328, -0.0375818387, -0.00255785, -0.0353773832, -0.0279112216, -0.0249852818, -0.0250238068, 0.0752968937, -0.0043376782, -0.0426935144, 0.0402028784, -0.0111171799, -0.0129325287, -0.0840985253, 0.0264512431, 0.0915049687, 0.0097063743, -0.0092213089, 0.0175832603, 0.0094207395, -0.0654378831, -0.0217250437, -0.0169553999, 0.0405025445, 0.0336175784, -0.0334879681, -0.017011581, -0.0181844141, -0.0016844046, -0.0242442898, -0.0211838949, 0.0175358411, 0.093506664, -0.0031339563, 0.0945990607, 0.0061556478, -0.0302694757, 0.0291714612, -0.0460586511, 0.0257478599, 0.0605955161, 0.0214637909, -0.0109559065, -0.0292239916, -0.0641810596, 0.0104444576, -0.004152108, 0.0173735153, 0.0309700817, -0.0157991964, 0.0018796256, -0.0152531406, -0.0098830769, -0.0370683931, -0.0080871647, -0.0386255719, -0.0268766191, -0.0121854385, 0.0174978655, 0.0384605527, -0.0084435251, 0.035103783, 2.721978622e-34, 0.028272992, -0.0423426107, 0.0249427613, 0.0429178104, 0.0704737604, 0.0217197072, -0.0213532113, 0.0103474148, -0.0212735459, 0.0144173978, 0.010948441 ]
http://arxiv.org/abs/2401.06443v2
http://arxiv.org/pdf/2401.06443v2
BOK-VQA: Bilingual outside Knowledge-Based Visual Question Answering via Graph Representation Pretraining
2024-01-12T08:31:42
2024-03-15T07:17:10
Minjun Kim, Seungwoo Song, Youhan Lee, Haneol Jang, Kyungtae Lim
cs.CL
cs.CL
The current research direction in generative models, such as the recently developed GPT4, aims to find relevant knowledge information for multimodal and multilingual inputs to provide answers. Under these research circumstances, the demand for multilingual evaluation of visual question answering (VQA) tasks, a representative task of multimodal systems, has increased. Accordingly, we propose a bilingual outside-knowledge VQA (BOK-VQA) dataset in this study that can be extended to multilingualism. The proposed data include 17K images, 17K question-answer pairs for both Korean and English and 280K instances of knowledge information related to question-answer content. We also present a framework that can effectively inject knowledge information into a VQA system by pretraining the knowledge information of BOK-VQA data in the form of graph embeddings. Finally, through in-depth analysis, we demonstrated the actual effect of the knowledge information contained in the constructed training data on VQA.
[ 0.0337647088, 0.0129574072, -0.023903871, 0.0718758926, 0.013041894, 0.0106375841, -0.0142194517, 0.0037114639, 0.0646469072, -0.0480117314, -0.032580819, -0.0124604274, -0.0197485555, 0.0379971676, 0.0652927309, -0.0475514457, 0.0400274359, -0.0079363389, 0.0057814158, -0.0263498053, 0.0257744044, 0.0208900645, 0.0263862237, 0.0184971783, -0.0254483819, -0.0321733691, -0.0022598172, 0.0153275924, 0.0349167734, -0.0047383117, -0.0258789025, 0.0283914935, 0.0280358698, 0.0196639467, 0.0000018656, 0.0091185691, 0.0440745987, 0.0084004533, 0.0064458549, -0.0139736701, -0.0289631393, -0.0200149156, 0.0374254063, -0.0328431986, -0.0655753538, -0.0531523935, 0.0600739978, 0.0166388527, 0.0703132153, 0.0224318374, -0.0310494006, -0.0169850048, 0.0040869289, 0.0197676104, 0.0206757616, -0.0330808014, -0.0168267265, 0.0501673631, 0.0039419862, -0.006689433, -0.0911890864, 0.0357209183, 0.0337519273, 0.0103105661, -0.0005195416, 0.0440575555, -0.0099342698, 0.0190482475, 0.0043355762, 0.1113585532, -0.0155008603, -0.0102404431, -0.054777056, 0.0119294962, 0.010616147, 0.0036194064, -0.0421824716, 0.00537461, -0.0280551054, 0.0026822144, -0.0456451476, -0.0165216532, 0.0140040172, -0.0434916243, -0.013239705, 0.0247586705, 0.0242148712, 0.0102281366, 0.0229475107, 0.0257338043, -0.0574081242, -0.0561008081, -0.0362491086, 0.0396579206, 0.0178022943, 0.0044200425, -0.006082518, -0.0226882696, -0.0172795411, -0.0244384464, 0.0277051963, 0.0245820545, -0.0647011101, 0.0554043278, -0.0369630195, 0.0657868907, -0.0234616529, 0.0570695773, -0.07658723, -0.0303082112, -0.0239904616, -0.0304815862, -0.0659787506, -0.0081975348, -0.0441381969, -0.0468902104, 0.0032712049, 0.0344858952, -0.0072213532, -0.0086389659, 0.0267522484, 0.0458500423, -0.0097414888, 0.0182728134, -0.0392207988, 0.0664629117, -0.0613018237, 0.0017803593, -0.0364754573, -0.0345903486, 0.0080599207, 0.0316763818, 0.0159424655, -0.0425562225, -0.0075796433, 0.0867427811, -0.0228571668, -0.001088255, -0.0083378861, -0.0224729516, -0.0041592051, -0.0728285313, 0.0343255401, -0.0672790483, 0.0404068343, 0.0048917546, -0.0015183687, 0.0077562705, -0.0011891689, 0.0010440696, -0.0322482884, 0.0760456175, 0.0023010632, -0.0096199885, 0.019090008, -0.0189401116, 0.0357389823, 0.0729255155, -0.0014054795, -0.023966372, 0.0623044744, -0.008780689, -0.0007090747, 0.0445095561, 0.0329514258, 0.0195041336, 0.0034128919, 0.0513160937, 0.0226239059, -0.0014067745, 0.0414549559, 0.0194724947, -0.0625597164, -0.0517644063, 0.032717064, 0.020672705, 0.0033652657, -0.0120679205, 0.0545497611, -0.0156178838, 0.0145542715, 0.0095366696, -0.0290360004, 0.0720052719, -0.0119196055, 0.0093811993, 0.0018866555, 0.0377223492, -0.0496164262, -0.0114648333, 0.0234834272, -0.0142466733, 0.0510787927, 0.0414008126, 0.0468053035, 0.037474677, -0.0234518759, -0.0015071217, -0.0039158408, 0.004655689, -0.0115252566, 0.0030837122, -0.0013621936, 0.0563456602, 0.0115821091, 0.0426390693, -0.0388520584, 0.0037366804, -0.0097632278, -0.0069145076, 0.0022235676, -0.0105772875, 0.0213672332, -0.0446940288, -0.049751088, -0.0496939868, -0.0339985341, 0.0550391339, 0.0150063774, 0.028570367, 0.0132314544, -0.0772519484, 0.0174466874, 0.0072662691, 0.0271873735, -0.0082289539, -0.0119008105, 0.035088785, -0.011174893, 0.0258130226, 0.0096938768, -0.0120135946, 0.0218557827, -0.0245290417, 0.0070384834, 0.0441458672, -0.0073329294, -0.1107373983, 0.0203866754, -0.0784818828, -0.001523354, 0.0018610738, -0.0529277027, -0.0325567126, 0.0497662351, -0.0409188755, 0.0166603979, -0.0670166016, -0.0690737516, 0.0316377133, 0.0111072091, -0.0038583137, 0.0404731035, -0.0192326661, 0.0245017391, -0.0105123278, 0.0164143126, 0.0662623346, -0.0472539365, -0.0079973536, 0.0350182168, 0.0299516115, 0.0150609799, -0.0057995925, 0.024387477, -0.0396528877, 0.0476656258, -0.1169479415, -0.0175529364, -0.0127509525, -0.0235971417, 0.0082967291, 0.002842027, -0.0019799743, -0.0772102922, -0.06771373, 0.0452731922, 0.0502184927, 0.0402115323, 0.0369491056, 0.0081968065, 0.0461039133, 0.0064242342, -0.0227661207, 0.0184606761, 0.0851287991, 0.0140536223, 0.0064619202, -0.0318784714, -0.0151008209, -0.0791352764, 0.0418763496, -0.0067011192, -0.0478427373, 0.0034999186, -0.0051226062, 0.0760552064, 0.0270396378, -0.0386130065, -0.0215033256, 0.0256498847, -0.0424089134, -0.0113442475, 0.0218504313, -0.0115386508, -0.0469828509, -0.0277602952, -0.0075924285, -0.0326941088, -0.0073845177, 0.0241739657, -0.0463205576, -0.0595023744, -0.0017088548, -0.0064468677, -0.0187552664, -0.0599738359, 0.0138243604, 0.0237021614, 0.0168081429, -0.0280876458, -0.041789528, 0.0880669728, 0.0121642109, -0.0224042889, -0.0088669369, 0.0031112859, -0.0529524162, 0.0711430609, 0.0354695506, 0.0388256982, -0.046369724, 0.0093896864, -0.0553662963, -0.0046472671, 0.0223114081, -0.0080217626, 0.0020033466, 0.0129313236, 0.0028820788, -0.0202853195, -0.0019520897, -0.0144064641, 0.0035304641, -0.0014391198, -0.0061744605, 0.0050645377, 0.0127618508, 0.0380619057, 0.026640892, 0.0360553674, -0.0184434783, -0.0159044918, 0.0180659946, -0.0048873303, 0.0684578642, 0.0500334986, 0.0351882763, -0.0383133888, -0.042155005, -0.0051395185, 0.0297420081, -0.0133497305, -0.0564837679, -0.0123145934, 0.030748371, 0.0100296102, 0.0589663945, -0.0297860708, -0.0137308389, 0.0617870241, -0.0171098877, 0.013455092, 0.0317464396, 0.0067915586, -0.0252258778, -0.0083210822, -0.0142467786, -0.0080802012, 0.0732520372, 0.055169493, -0.1179914474, -0.0039569689, -0.0529288389, -0.0249858294, 0.0349982865, 0.006427459, -0.0157223549, -0.1063510627, 0.0359410383, 0.0071541052, -0.0289155152, -0.047257755, -0.0066753621, -0.0285891593, 0.009615357, -0.0243954379, -0.04258902, 0.0298840571, 0.0125318272, -0.0159401242, 0.0011184826, -0.0173759796, 0.017809866, -0.0377114229, -0.056968268, 0.0155940559, 0.0276680365, -0.0071414709, -0.0396192856, -0.0120816194, -0.0279466957, -0.0145816272, 0.0025368237, 0.0642457455, 0.0012660697, -0.0476182215, -0.0192966815, 0.0043917345, -0.004179955, 0.0036842981, -0.0140569024, 0.0963865072, -0.0000948346, -0.0204407424, -0.006637698, 0.0028015417, 0.0074680578, 0.0072797104, 0.035781078, -0.0125925578, -0.0412338898, -0.042851653, 0.0264193974, -0.0798898786, -0.0346334875, 0.0431449823, 0.0298808739, 0.0157616623, -0.0812678561, -0.059255641, 0.0287745912, 0.0561464839, -0.0201919768, 0.0025467097, -0.0313503705, 0.010793006, -0.0566685833, 0.0301917475, -0.0070112101, 0.0377876647, 0.0027065901, -0.0282752942, -0.0207166318, -0.031009499, -0.0251947958, 0.0122285988, -0.0248204693, -0.0324880816, -0.0616511963, 0.0632526278, 0.0029924705, 0.0381524898, -0.0154418275, 0.0115139578, 0.0548306741, -0.0022135975, -0.0096099284, -0.0024464373, 0.0061624721, -0.0218504388, -0.0037465123, 0.0143281501, -0.0311462749, 0.0064314599, -0.0039743171, 0.0233047102, 0.0004185856, -0.028759541, 0.0203205626, 0.0458366349, -0.0190657265, 0.0142529067, 0.0155830532, -0.0439819582, -0.0066468283, -0.0448224656, -0.0163603071, -0.0621274412, -0.0156476758, 0.0393172465, -0.0264815278, -0.0009007132, -0.0079846103, 0.0198418275, 0.0159509387, -0.00338407, -0.0238136575, 0.0692559555, 0.0067833196, 0.0068423781, 0.0381352045, -0.0094467467, 0.005144299, -0.007542666, 0.0356748849, -0.0199278519, 0.0724198595, 0.0312396362, -0.0366529413, -0.0276030004, 0.0127036227, -0.0212758873, -0.0334872603, -0.0213140994, 0.01843719, 0.0628916323, 0.0027049363, 0.0108170789, 0.0059324992, -0.0283033866, -0.0144444732, 0.0211018752, 0.0097605297, -0.0622837096, 0.0643868297, 0.0040431595, -0.0017432338, -0.004841743, 0.0841209218, 0.0155396024, 0.0131985871, -0.0272273365, -0.0127581544, -0.0378020704, -0.0052109687, 0.0111874957, 0.0181949027, 0.0033562612, 0.0370358676, -0.0143735046, -0.1010748968, -0.0417240672, 0.0401358642, -0.0298215542, 0.0513096452, 0.0407693051, 0.0536695756, 0.0716163814, -0.0499585494, -0.0311863422, 0.0389754102, -0.0284994412, 0.0166591406, 0.0285944194, -5.839170475e-33, -0.0379409716, -0.0392234772, 0.0475490652, -0.0201520156, -0.0292200223, -0.0083318269, -0.0266658906, -0.0234307591, -0.0308340583, 0.0078599639, 0.0250245146, -0.0266660117, -0.005955148, 0.0334119238, -0.0068582813, -0.0078970753, 0.0032646647, -0.0077987676, 0.0025398571, 0.0372665487, 0.0511272289, 0.0184136499, 0.0875455514, -0.0120131597, 0.0111252377, -0.0134662511, 0.0104458928, 0.0136748329, 0.008522342, 0.0720015988, -0.0640322864, 0.0585504957, 0.0221084766, 0.0246583577, -0.0274696108, -0.0248122271, -0.0888718441, -0.0561409369, 0.0410517864, 0.0470545031, -0.1010918394, -0.0059055579, 0.0014414681, -0.0463561229, 0.0396205783, -0.0456541218, 0.047131598, -0.0037929018, 0.0071002222, -0.0009257232, -0.0330447815, 0.0039504366, -0.0103931855, -0.0066695176, 0.0101118619, 0.0732246935, 0.0059703346, -0.0263023674, -0.0509742536, 0.005142333, -0.0317891687, -0.0157610252, 0.0643530712, 0.0281570219, 0.0267534759, 0.0043485337, 0.003021864, -0.0455869734, -0.0451633818, 0.0075283973, 0.014310143, 0.0329570919, 0.0410560519, 0.0688820332, -0.0064957426, -0.0137330219, -0.0739734918, 0.0178270377, -0.0502015986, 0.0268532466, -0.0249822773, -0.0156206666, 0.020918658, -0.0311215315, -0.0318306573, -0.0211103577, -0.0318825208, -0.0410754047, 0.0435338207, 0.0071349158, 0.0151564404, 0.0397910252, 0.0503914952, -0.0714470148, 0.0135601219, 0.0723761469, -0.025116276, 0.0390609279, 0.0351086743, 0.0635669902, -0.0360267237, 0.0238865539, 0.0494791791, -0.0156041086, -0.0176976975, 0.0218228325, 0.0555365607, 0.0078792823, -0.0342953056, 0.0056259008, -0.0419156253, -0.0148983197, -0.0230698418, -0.0066938531, 0.0064612627, 0.0431644134, -0.0551994629, 0.0089786286, 0.0071866638, 0.0207648072, -0.0296635143, -0.0337422155, 0.013492506, 0.058906164, -0.0216549374, 0.0323556922, -0.0287828725, -0.0214847606, -0.011772261, -0.0467903428, -0.0229047947, 0.0517710745, 2.49e-7, 0.0684643537, -0.0075643682, 0.0243208148, 0.0354406908, 0.0098541779, 0.0059238458, -0.0390178934, 0.0365828797, 0.0273473803, -0.0246354025, 0.0069499644, 0.0740372092, -0.013660226, 0.0459959842, -0.011516491, 0.0593934059, -0.0091424817, -0.056646172, -0.056092184, 0.0158042293, 0.064510785, 0.0450060219, -0.0063543171, 0.0096293278, 0.0017190457, -0.0636793524, 0.1216041744, -0.0068510417, -0.0236303154, -0.0502422564, 0.0298163537, 0.0156620145, -0.0016390741, 0.0377762876, 0.0097713955, -0.0014220546, 0.0625410751, -0.0114164669, -0.0153166633, -0.0365357064, -0.0273460895, 0.0103577925, -0.0193782989, -0.0666226074, 0.0954680145, -0.0365598388, -0.0097285686, 0.0017184337, -0.0595841818, -0.0241409689, 0.0619461164, -0.0356828682, -0.0442868732, 0.0281963646, 0.0573401563, -0.0024644253, 0.0211410075, -0.0410334878, 0.0039102794, 0.0428938121, -0.0350471027, -0.0103147915, -0.0335167497, -0.0050901491, 0.0322708711, 0.0114953788, 0.0018567923, 1.693937295e-34, 0.0262518376, -0.0052145235, 0.0379128493, -0.0349281132, 0.0199558251, -0.0602010339, -0.0196885318, -0.0323786847, 0.0288071278, -0.08991009, -0.034939643 ]
http://arxiv.org/abs/2401.06437v1
http://arxiv.org/pdf/2401.06437v1
3D-PreMise: Can Large Language Models Generate 3D Shapes with Sharp Features and Parametric Control?
2024-01-12T08:07:52
2024-01-12T08:07:52
Zeqing Yuan, Haoxuan Lan, Qiang Zou, Junbo Zhao
cs.GR
cs.GR, cs.AI, cs.CL
Recent advancements in implicit 3D representations and generative models have markedly propelled the field of 3D object generation forward. However, it remains a significant challenge to accurately model geometries with defined sharp features under parametric controls, which is crucial in fields like industrial design and manufacturing. To bridge this gap, we introduce a framework that employs Large Language Models (LLMs) to generate text-driven 3D shapes, manipulating 3D software via program synthesis. We present 3D-PreMise, a dataset specifically tailored for 3D parametric modeling of industrial shapes, designed to explore state-of-the-art LLMs within our proposed pipeline. Our work reveals effective generation strategies and delves into the self-correction capabilities of LLMs using a visual interface. Our work highlights both the potential and limitations of LLMs in 3D parametric modeling for industrial applications.
[ -0.0334511735, 0.052561596, 0.0093043791, 0.0376763605, -0.0276626907, -0.0416652709, 0.034964934, -0.0255179144, -0.0569394939, 0.0035685957, -0.0487823859, 0.010545495, 0.0086149303, 0.0843440741, 0.0441020504, -0.0814059228, -0.0541172624, -0.0696870238, -0.0377931148, -0.0172078013, -0.0229410902, 0.0579418018, -0.0222642608, 0.0401533507, -0.0397706963, -0.0093661556, -0.0508703403, 0.013160808, -0.0136551773, -0.0379213057, -0.0047519039, 0.0631431267, 0.0367025696, 0.0371645689, 0.0000021379, -0.0057177488, -0.0038643321, 0.0176776983, 0.0357375517, 0.0313468315, 0.0258702952, -0.0699139833, -0.0621359423, -0.0265449677, -0.0037270479, 0.0513286516, 0.0363162979, 0.0360181257, 0.0575026646, -0.0182130374, -0.0153887384, -0.0236213915, 0.009187419, -0.0212805439, 0.0150407124, 0.0355977826, 0.0043400056, 0.0393586382, 0.0067215324, 0.0673691109, 0.0020516946, 0.0233656187, 0.0448506065, -0.0118763037, 0.0150166498, 0.012380993, 0.0069657839, -0.0254414026, -0.002493188, 0.0899477899, -0.0542746894, -0.0255882367, 0.0255684294, -0.0477697402, 0.0006905769, 0.0263941269, -0.0481528603, 0.0068618534, 0.0030566468, -0.0305783935, -0.0563119873, -0.0130508207, -0.0132828234, -0.0550640784, 0.0084771467, -0.0265785586, 0.0444705077, 0.0187301692, -0.0710927397, 0.0050741304, -0.0111108581, -0.0695990622, 0.0038885472, 0.0000774076, 0.0209513884, -0.0058692526, -0.0534727387, -0.0020289305, 0.0050774445, -0.0502437986, 0.069487676, 0.0002270734, -0.0070684738, 0.0236566626, -0.0850770548, 0.0404461473, -0.0350054093, -0.0129161943, -0.0438043177, 0.018355269, 0.0250562765, -0.0255899113, -0.0700294524, -0.0314874798, -0.0616491064, 0.0286879819, 0.0111442665, 0.045433674, -0.0277231, -0.0028984929, 0.0292851031, 0.0579029694, -0.0277481303, -0.0305749215, -0.0224251915, -0.0320564099, -0.0106983194, 0.0345557258, -0.0248057824, -0.0383703522, 0.0023006462, 0.0023513385, 0.0459788889, 0.0241385773, 0.0160669256, 0.0779915899, -0.0537022576, 0.012229275, 0.0327210166, -0.0699584261, -0.0036150077, -0.0040339036, 0.0172804315, -0.0619248711, -0.0027623409, -0.0351587981, -0.0211938042, -0.0489521213, 0.0319525562, -0.0233885124, 0.0302668586, 0.0265716724, -0.0014330434, 0.005237903, 0.0022458807, -0.0400049612, 0.0160235893, 0.0221772436, 0.0603319369, 0.0717713907, -0.0284418333, -0.0164854899, 0.0178554021, 0.0384168029, 0.03054481, 0.0136743775, -0.0868336484, -0.0359152444, -0.007510399, 0.0636582077, 0.0292901043, 0.0039273733, -0.0146373743, -0.015636513, 0.0724123567, 0.0159315839, -0.0175645668, 0.0644445196, 0.0839136615, 0.0247505065, 0.0182717498, -0.060029231, 0.0185428876, 0.0087425383, 0.0232005492, 0.0247423667, -0.052586548, 0.0336668827, -0.0235151779, -0.043560449, 0.0381951667, 0.0019819355, 0.0028277047, -0.0500534624, 0.0878132358, 0.0601875819, -0.0344569124, 0.0473109856, -0.0216820482, -0.0454342775, -0.0654045194, 0.008474635, -0.0044608032, 0.0510049313, -0.0060813357, 0.0064515891, -0.0379232801, 0.0186213441, 0.005153094, 0.0840832293, 0.0699412376, -0.0210221298, 0.0256968327, 0.0307547823, -0.0301408991, 0.0210660137, 0.0186435245, 0.0668745115, 0.011639786, -0.0071144891, 0.0191450622, -0.0365420505, 0.0010593208, 0.0241224989, -0.0674422532, -0.0081989579, -0.0179095268, 0.0013426684, -0.0004026034, 0.0219796058, 0.0008334306, -0.0051388061, 0.04305562, -0.0534215532, -0.002378094, 0.0069052689, -0.0377430804, 0.0254782382, -0.0085755, -0.001039985, -0.0071750921, -0.076035507, -0.0046742675, -0.0238627121, 0.0335965529, 0.0082425727, 0.055412598, -0.0016612444, -0.0008550083, -0.0134893991, 0.0221132543, -0.0512213185, 0.0214978177, -0.0237244572, -0.0120626548, 0.0138810156, 0.0215775073, -0.0218536127, 0.0230155829, 0.0226869117, 0.0240076017, 0.0111057376, 0.0287487302, 0.0144232623, 0.0219477341, -0.0083593884, -0.0024433809, -0.0076880688, -0.0407010503, 0.0372274332, -0.0122460285, 0.0045092036, -0.0288605243, -0.0210162029, 0.0041490239, -0.0078612193, -0.0046770587, -0.0082291355, -0.0415582433, 0.0240958109, -0.0040941229, -0.0251529086, -0.0096988445, 0.0049028248, -0.0036145458, 0.0132785533, 0.0862171799, -0.0072173853, -0.0449954234, 0.0258017164, -0.0288480017, 0.0479296334, -0.0021836027, -0.0415962264, 0.023416264, -0.0556372926, 0.05506384, 0.0559846014, -0.0364677273, 0.0120524624, 0.0241171271, -0.0143184857, -0.0698964596, 0.012718712, -0.0274850484, 0.020658657, 0.0322171934, -0.0528176576, 0.0418761745, 0.0338840969, 0.0202179346, 0.0336393267, -0.0361112058, 0.0785143077, 0.0550437719, -0.0285198633, -0.0091206729, 0.0127885481, 0.0087779947, 0.0450114794, -0.021009393, -0.0138522089, 0.0015998073, -0.0854582638, 0.0173462573, 0.0664608255, 0.0232476853, 0.0097247437, 0.0842300653, 0.0338989906, 0.0057696649, 0.0297812466, 0.0095891422, -0.0088374186, 0.0737688914, 0.0204086602, -0.0089555606, -0.013071198, -0.0885993093, 0.0104376897, 0.0118594524, -0.0557447262, -0.0149783734, 0.0091092102, -0.0200834367, -0.01004388, 0.0014476863, -0.0714583248, 0.0076210396, 0.0280391332, 0.013082304, 0.0530994721, -0.0378117673, -0.0245929584, -0.0400584899, -0.0347614065, 0.0283777993, 0.0568544157, -0.0436683483, -0.0156322438, -0.0195417628, 0.0672039539, -0.0150132608, 0.0131974332, -0.0899825394, 0.0200598016, 0.0500070974, 0.0734400526, 0.009052068, -0.032497827, 0.0268459581, -0.0299513564, -0.0091217626, 0.0347868241, -0.0024899857, 0.0068982854, 0.0099075241, 0.018082872, 0.0831191093, 0.0077695274, -0.0267422572, -0.0574181452, -0.0267367531, -0.0165073052, -0.0040590018, -0.0096062301, -0.0490502678, -0.0049446141, -0.1130793169, 0.0562641695, 0.0143616665, -0.0453940965, -0.0763237551, 0.0257809218, 0.0602591373, 0.013065516, -0.0626915917, -0.0041038482, -0.0250572395, 0.00269197, 0.0254414249, 0.0032465004, -0.0343870707, -0.0023376665, 0.0135046104, -0.0276475083, 0.0030424125, 0.0213906057, 0.0060025309, -0.0363714062, 0.0462257527, 0.0465344936, 0.0005188778, -0.0125640538, -0.026467789, 0.0884762779, -0.0184425153, 0.01937088, 0.0255334452, -0.0306349155, -0.0238975231, -0.0289337095, 0.0262855105, -0.0142203644, 0.0382602923, -0.0390747078, -0.0254434552, 0.0090453746, 0.019977821, -0.0094881821, -0.0224277824, -0.0412769802, -0.0743815452, 0.0046729567, -0.0134433089, -0.0878131539, -0.0115910033, -0.0147173107, -0.0403288119, -0.0691232458, 0.0509190373, 0.0389017984, 0.0359647796, -0.0111509478, -0.0624993816, 0.0055491044, -0.0068198661, -0.0415210798, -0.0011576614, -0.0098548857, 0.0042805681, -0.0206968002, 0.0098340064, 0.0062585212, -0.0743139535, -0.0182030499, 0.0226329975, -0.0443013161, -0.0127092116, 0.0292311739, 0.052597262, 0.0053957971, 0.0245397147, -0.0158101507, -0.0321681462, 0.0725864097, 0.0332151167, 0.0213653967, -0.0074746357, -0.0027523164, 0.0280424003, -0.0044280323, -0.018867055, -0.015730096, 0.0489199609, -0.0054832143, -0.0436378717, 0.0034060669, -0.0691450387, 0.0056952117, -0.005282796, 0.0041724145, 0.0178778209, 0.0572845973, -0.0726516545, 0.0137361251, -0.0473629646, -0.0361485407, -0.0560868606, 0.0338760503, -0.0048130131, -0.0748865381, 0.0027654858, -0.0256895311, 0.0126249474, 0.0755105466, -0.0429962054, 0.0176358726, 0.0006328104, 0.0095339101, 0.0475673452, -0.001688742, 0.017607538, 0.0700477362, -0.0911850184, 0.0406158902, -0.0143560031, -0.0233663321, -0.0047281114, -0.027384894, -0.0480268188, 0.0507835001, -0.0087247277, -0.0733378753, -0.1035522595, 0.0316504948, 0.0462431274, 0.0496294498, 0.0443064459, -0.0710292384, -0.0147068137, 0.0137828654, 0.0358871855, 0.0342119038, -0.0366694108, 0.0188883189, 0.0041430509, -0.0047260388, -0.0922814161, -0.0029817862, 0.0361120403, 0.012315915, 0.0090439664, -0.044396285, -0.0374678336, 0.0002716574, -0.0044604465, -0.0219830982, 0.0083126007, 0.029550191, -0.022119673, -0.0400214493, -0.0182199478, 0.0970263705, -0.0121921049, 0.0038885486, 0.0405718014, 0.0814626589, -0.035048034, -0.0061457246, 0.0108526824, 0.0301546138, -0.0160904545, -0.0189940445, -0.016039785, -5.443074796e-33, -0.0206779353, -0.0257489365, -0.0204109065, -0.0249757636, -0.0016207062, -0.0279152486, -0.0317984894, 0.0127892187, 0.0293678474, 0.0009590715, -0.00282536, -0.0061967233, -0.0218220204, 0.0207836945, 0.0342915282, 0.0192225389, 0.0581881963, -0.0069504702, -0.0341084488, 0.0444666296, -0.0159135982, -0.0072728773, 0.0381228887, -0.05603889, 0.0178307611, -0.0058453768, -0.0178372655, -0.0202816539, -0.0020720486, 0.041185461, -0.0104719661, 0.0327641219, 0.0130636264, -0.0095855668, -0.0417838618, 0.0038136919, -0.0797874182, -0.0291906372, -0.0337808616, 0.0223289579, -0.0475363433, -0.0388786793, 0.0261050519, -0.0077796639, -0.0201713238, -0.0117982225, 0.0214392301, -0.0379887708, -0.0068843444, -0.009572587, -0.0415056646, 0.0059904666, -0.0417422727, -0.0239148922, 0.0240016859, -0.0024076847, 0.0500401072, 0.0149267362, 0.0197617356, 0.029407803, -0.0030547665, 0.0052699563, 0.0574925579, 0.0292694084, 0.0296927318, 0.0338913165, 0.0349827707, -0.0153050516, 0.0050844564, 0.0206751339, 0.0284057558, 0.0840212032, 0.013573098, 0.0173266232, 0.0015929083, 0.0320098475, 0.0002426685, 0.0346569195, -0.1027944908, 0.0218322556, 0.0325487815, -0.005372995, 0.0102067403, -0.0119182067, -0.0180778131, -0.0423349701, -0.0130749187, 0.049629923, -0.0163478125, 0.0153947715, 0.0075468319, -0.0184987411, -0.0150744906, 0.0241661742, -0.0133247059, 0.012590101, -0.0470858924, 0.0321970172, -0.0007688535, 0.0013895443, -0.0155758355, -0.0047929017, -0.0201914832, 0.0187312998, 0.0393678993, 0.0212910306, -0.0431655012, 0.0372642502, 0.0007590968, 0.0367241241, -0.0647756904, 0.0194030907, 0.0118761742, 0.0518202111, 0.0557665043, 0.0071876161, -0.0088747637, 0.000870103, -0.0073734694, -0.0251009818, -0.0086542508, 0.0204349365, -0.041607298, 0.0278887656, -0.0428723842, -0.0099393278, -0.0316520706, -0.0138193397, 0.0897442997, -0.1012770683, -0.0305489693, -0.0072650691, 2.738e-7, 0.0099892495, 0.0627115667, 0.0148962718, 0.0810833275, 0.0086705182, 0.0503574759, 0.0055413325, 0.0433491394, -0.0010467175, -0.0024275803, 0.0023529923, 0.02577365, 0.0271346942, 0.0062294211, -0.077691108, 0.0737260804, -0.0412297174, 0.0362650678, -0.0528309643, 0.0290016849, 0.0440394245, 0.0445224345, -0.0258619692, -0.0171316266, 0.0064242072, 0.0189819969, -0.0048711281, -0.0380662605, 0.0427564196, 0.0173761398, 0.0314542204, 0.0057137297, -0.0225693081, -0.0026008743, -0.0134848692, -0.0105285719, 0.0197634902, 0.0384501405, 0.0017639988, 0.0423574708, 0.0317123644, -0.0503698066, -0.0075601186, -0.0016269712, 0.0099799316, -0.0363519005, 0.0514235459, -0.022511838, 0.0350762196, 0.0154241454, -0.0056457338, -0.0297492668, -0.0106946817, -0.0049181618, 0.0183805972, -0.0312769301, 0.0247443821, -0.0017441571, -0.0524834506, -0.0095064482, -0.0672136322, -0.0124809202, -0.0282867402, -0.045273561, -0.0381099954, 0.0496685058, 0.010286686, 2.595569357e-34, -0.0026025733, 0.0384869687, 0.0225556958, 0.0116817541, 0.0119907893, 0.0192056596, 0.1056129187, 0.0222918503, -0.010490465, -0.0369286537, -0.0302020311 ]
http://arxiv.org/abs/2401.06431v2
http://arxiv.org/pdf/2401.06431v2
Human-AI Collaborative Essay Scoring: A Dual-Process Framework with LLMs
2024-01-12T07:50:10
2024-06-15T03:44:08
Changrong Xiao, Wenxing Ma, Qingping Song, Sean Xin Xu, Kunpeng Zhang, Yufang Wang, Qi Fu
cs.CL
cs.CL, cs.AI
Receiving timely and personalized feedback is essential for second-language learners, especially when human instructors are unavailable. This study explores the effectiveness of Large Language Models (LLMs), including both proprietary and open-source models, for Automated Essay Scoring (AES). Through extensive experiments with public and private datasets, we find that while LLMs do not surpass conventional state-of-the-art (SOTA) grading models in performance, they exhibit notable consistency, generalizability, and explainability. We propose an open-source LLM-based AES system, inspired by the dual-process theory. Our system offers accurate grading and high-quality feedback, at least comparable to that of fine-tuned proprietary LLMs, in addition to its ability to alleviate misgrading. Furthermore, we conduct human-AI co-grading experiments with both novice and expert graders. We find that our system not only automates the grading process but also enhances the performance and efficiency of human graders, particularly for essays where the model has lower confidence. These results highlight the potential of LLMs to facilitate effective human-AI collaboration in the educational context, potentially transforming learning experiences through AI-generated feedback.
[ 0.0314183012, 0.0410786979, -0.0301552396, 0.0019754416, -0.0372388698, -0.0086116502, 0.014199594, -0.0311732758, 0.0108402325, -0.0482592396, -0.0320340544, -0.0173495561, 0.0025173097, 0.0239904691, -0.0016749214, -0.0086033465, 0.0016510197, -0.0208204146, 0.0301455446, -0.0038341112, 0.0049902783, 0.0026417875, -0.0337778702, 0.0551130474, -0.0034670045, -0.0131813409, -0.0210470129, -0.0224909931, -0.0004796968, -0.0034428921, 0.023073256, 0.0763769671, -0.0138522079, 0.0165744256, 0.0000020792, -0.0547473952, 0.0334608629, -0.0215059631, -0.0113341538, 0.0420983918, 0.0475157499, 0.0614818446, -0.0120228473, -0.0021800038, -0.050440073, -0.0080175279, 0.0147795463, -0.0081655374, 0.0813045427, 0.0142383864, 0.0165685024, -0.0207515489, 0.0662823766, 0.0063626664, -0.012030242, -0.0282161925, 0.0119584706, 0.0036354135, 0.0104293618, -0.0011585484, -0.0168261565, 0.0121632162, 0.0041115875, -0.0747429132, 0.0213536285, 0.0179876368, -0.0151617108, -0.0064604105, 0.0148536665, 0.0477180444, 0.0228070021, -0.0331723765, -0.0170036182, -0.0093817525, 0.0347337052, 0.0280489903, -0.0732945427, 0.0153991003, -0.0055159642, 0.0146957161, 0.0488443077, -0.0246354695, 0.0020745408, 0.0343143232, 0.0363137871, 0.0358886197, 0.0022284482, -0.0516954809, -0.0121807717, 0.0547893345, -0.0073988577, -0.0289454311, 0.0486354567, 0.0527699478, -0.0425919555, -0.0003716601, -0.009621745, -0.0350103378, 0.0100492043, -0.0277618431, 0.0931063518, 0.0104433177, -0.0090289498, 0.000609698, 0.0006560897, 0.0677166954, 0.0618569292, 0.0366727561, -0.0220118817, 0.0068117324, -0.0726142973, -0.0088196779, 0.0103765326, 0.0546179712, 0.0328712463, 0.0269028433, -0.0786475688, -0.030179156, -0.0828190595, 0.0445663296, 0.0470414013, -0.0090235043, -0.0089892633, 0.0163007565, -0.0185794923, 0.0440538153, -0.027325511, 0.0117275948, -0.0028082638, -0.0117975408, 0.0120791513, 0.0064805513, 0.0045809145, 0.0117494753, 0.0009671291, 0.0166002996, 0.0050122566, -0.004171161, 0.0077313352, -0.0216495097, 0.018639531, -0.0364906713, -0.0375087559, -0.0437804349, 0.0215438288, 0.0043454147, 0.0027218531, -0.0688976049, -0.0053620306, 0.0280153286, 0.0014726996, 0.0415507592, 0.0068050507, 0.0138535257, 0.0210104622, 0.0073907059, 0.0005458287, 0.0057916399, 0.0570862442, -0.0050685769, 0.0572818257, -0.0345025882, 0.0891679674, 0.0355344862, -0.0193357002, -0.0276753847, 0.0445093326, -0.0242542587, -0.0129999891, 0.0318805017, -0.002295841, 0.0281166304, 0.0389478505, 0.0336956158, 0.0820920914, 0.0720875412, -0.0085646752, 0.0627457276, 0.0425194427, 0.0277777817, 0.0311927814, 0.0294850245, -0.0428923257, 0.0152666112, -0.0273012947, -0.0139496932, 0.002243866, 0.0087162405, -0.0019252177, -0.1158018187, -0.0140456678, -0.0247723386, -0.0172632206, 0.0356049724, 0.0373781621, -0.0408691354, -0.0113575198, 0.0015380202, 0.0142235234, -0.0703958124, 0.0662973449, -0.0599175878, 0.0350881331, 0.1165684313, 0.0609049723, -0.0307779852, 0.017698098, -0.0236746483, 0.0371206291, 0.003706042, 0.03467362, -0.0337069035, -0.0407746546, -0.0268229879, -0.0182407368, -0.0027336748, 0.0068188622, 0.0015506805, -0.0092863459, -0.013598158, -0.0080897799, 0.0377416238, -0.1156703979, 0.0309813153, -0.0308003128, -0.0228706803, -0.0124378316, -0.007095471, -0.0019928545, 0.0636084899, -0.0132923406, 0.0211049654, 0.0122717125, -0.0116204554, -0.0336983763, -0.0197104048, -0.022363957, 0.0491481647, 0.0549884439, -0.0284670349, -0.0100243511, 0.0390207544, -0.0158824883, -0.0381120369, 0.0212896895, 0.0004251178, -0.0351484418, -0.0043834904, 0.0177013054, -0.0324105769, -0.0272948928, -0.0621907078, -0.0209277309, 0.0122666499, 0.0455785021, -0.0826478004, -0.0191024076, 0.0097796628, -0.0095227538, -0.0333172753, 0.0167935025, 0.0147363916, 0.0269661825, 0.017764831, -0.0012867704, -0.0469799899, -0.0459581725, -0.0779495463, -0.0219837613, 0.0130498474, 0.0131319584, 0.0031703415, -0.0533616953, -0.0056842095, 0.0361454822, -0.0369768254, -0.0187520832, 0.0133986156, -0.0253538173, 0.0376600027, -0.0071974597, 0.0083790179, -0.0694011971, -0.0273700338, -0.0587914996, -0.0043461649, 0.084566921, 0.0052803196, -0.0610582456, 0.0372883715, 0.016807666, -0.010540504, 0.0222771261, -0.0577376112, 0.0130923148, -0.0095038619, 0.0138367638, 0.0866936147, -0.009746898, 0.0162104443, 0.0733752847, -0.0240078717, -0.051057741, -0.0071776942, 0.0094879577, -0.0158180855, -0.0389331654, -0.039838016, -0.0283264033, 0.0578895807, 0.0325539783, -0.0574633218, -0.0350112952, 0.0521034151, -0.0643202513, 0.0040386994, -0.0252200607, -0.0612735562, -0.0192546546, 0.0156947225, -0.0137028312, -0.0114334766, 0.0771416351, -0.0135281272, 0.0013608028, -0.010541413, 0.0278424956, -0.0135752559, 0.0293559544, -0.0070059807, -0.0302411355, -0.0575339533, 0.0541267879, -0.0140749021, 0.0336702876, 0.0373254307, -0.0654539689, 0.0265958626, -0.0617642589, -0.0587284528, 0.0127229691, -0.0245154705, -0.0130080078, 0.0189815816, -0.0436207578, 0.0247702412, -0.0337894, -0.0132450182, 0.0135050537, -0.0411728732, 0.0278421268, 0.011582206, -0.0538712069, -0.0249224491, -0.0001384862, -0.0016900647, -0.004797441, -0.0308187418, -0.0347172655, -0.0331303142, 0.0567069612, 0.0400173105, 0.0675080568, 0.0218347255, 0.0218527988, -0.0168854762, 0.0608537756, -0.0455868132, -0.0226796735, 0.0255507901, 0.0321074277, -0.0614827834, -0.0008653447, 0.1364628077, 0.0262581408, -0.0735109895, -0.0055558016, -0.0560347065, -0.0355970897, 0.0230490733, 0.0420728624, -0.023990104, -0.004548905, -0.0033090508, 0.0490952283, -0.0080321543, -0.0404442325, 0.0277886167, -0.106868118, 0.0464920811, 0.003074988, 0.0231489483, 0.0160823539, -0.0568301864, -0.0151215615, -0.0235156324, -0.0533453412, -0.014952654, 0.023466805, 0.0320349708, 0.0238056332, -0.0193545651, -0.0127865113, 0.0393638536, -0.0329960063, 0.0324150585, 0.0257509965, 0.0536280014, -0.0273897089, -0.0710797608, 0.0540828146, -0.0093070399, -0.0084658731, -0.0170394331, 0.0119735822, -0.0170195103, 0.031568408, -0.0531601049, 0.0437374413, -0.0230230168, -0.0075151138, 0.0548231043, 0.0811085775, 0.0047400966, -0.0096249087, -0.0039500785, -0.0062991157, -0.0091113895, 0.0693657026, 0.0535741225, -0.094859615, -0.0005722792, -0.0635869354, 0.0173638687, -0.0666866675, -0.0776797161, 0.0246886257, 0.0055733337, 0.014465631, -0.0329810306, -0.0873717889, 0.0124318302, 0.0012456805, 0.0242182743, 0.0423015766, -0.0008132225, -0.0098551307, -0.0261328239, 0.0015530672, -0.008514517, 0.029527517, -0.0403490476, -0.0254682507, -0.0113625899, 0.0022318654, -0.0291909948, -0.0099545596, -0.0437348895, -0.0370111838, 0.0522535108, 0.0761393011, 0.0110007431, 0.0044234782, 0.0127621787, -0.0773453861, 0.0148579637, -0.0341137052, -0.0241247527, -0.0115998155, 0.0164403021, 0.0001906608, 0.0158376526, 0.0042921724, 0.0175317042, -0.0091133835, 0.0647486374, 0.0371204242, -0.0040593878, -0.0444084108, 0.0121193202, 0.0569379926, 0.0594754964, -0.0303989965, -0.0270926785, -0.0430306308, 0.0310439635, -0.0384895504, -0.0317615159, -0.0229882859, -0.0320158713, 0.0339645706, -0.0349279568, 0.0041667568, 0.0166523885, -0.0341047309, 0.0404341072, -0.0293671116, 0.0744433179, 0.0218807738, 0.0773277208, -0.0076604178, 0.0017978586, -0.0097860992, -0.0013557718, 0.0378254727, 0.0415863879, 0.0027398856, 0.0673029646, -0.0225035641, 0.0055952361, 0.0580474064, 0.0386142582, -0.0214035474, 0.0141378967, -0.0311084986, 0.0211886112, 0.0328000821, 0.0203930009, 0.0468385555, 0.0061021652, 0.011454857, -0.0225144885, 0.0472376347, -0.0044983383, -0.023099808, -0.0151600474, 0.0040830947, 0.0183545873, 0.0041335938, 0.0522417054, -0.0419666357, 0.0066055651, -0.0526259467, -0.0206389446, -0.0142330118, -0.0184392519, 0.0059156087, 0.0170107204, -0.0016263634, 0.0019410893, -0.0463081188, -0.0367338508, -0.0111038629, 0.0588496886, 0.0223693606, -0.0484984145, -0.0016382759, 0.0570614226, -0.047513701, -0.0047757206, -0.0759682357, -0.0043547251, 0.0083320383, -0.0445564613, -0.0057971692, -5.597605284e-33, -0.0207113195, -0.0614629202, 0.0038225788, 0.0825572386, -0.0000533449, -0.0121069364, -0.0168977566, 0.0359080099, 0.0345005505, 0.0297148637, -0.017273983, -0.0167009048, -0.0130365985, 0.0126960445, 0.086230956, 0.0240058508, 0.0226186048, -0.026097903, -0.02109107, -0.0159723908, -0.0146614481, 0.0203692075, 0.0600812957, -0.0538800098, 0.1108264104, -0.0321277045, -0.0004210424, -0.0078047509, -0.0487903357, 0.0450428352, 0.0045193732, 0.0595662892, 0.0311551057, -0.0154177463, 0.0258859992, -0.0098362416, -0.037368983, -0.0451408923, 0.0096571101, 0.0065074288, 0.0161582045, -0.0553598776, 0.0272194762, -0.0021336714, -0.0883769691, -0.0057860962, 0.0623667985, -0.0256480295, 0.0249789115, -0.0042233476, -0.0391835608, -0.0102363257, -0.0363939069, -0.0058418377, 0.0155163994, 0.028686557, -0.0003344229, -0.0167821217, -0.0378002152, 0.0386552773, -0.0013526301, 0.0508724339, 0.0700783506, -0.030922642, -0.0267254543, 0.0284048542, 0.0484509505, 0.0301747415, -0.0427553467, -0.0201594606, 0.0374004282, -0.0181794763, 0.102552481, 0.0725322887, -0.0214597639, 0.0061905901, -0.0605333112, 0.0765304193, 0.0214702338, 0.0273514874, -0.0076740966, -0.0269603077, -0.0503680818, -0.0267011244, -0.0721268207, -0.0499535501, -0.0256833583, -0.0175993703, 0.02219937, -0.0433187746, -0.0055600596, -0.0307341497, -0.0250129327, -0.0430938788, -0.0475811772, -0.0303453114, 0.0130525343, 0.0338002481, -0.0199022759, -0.032975059, -0.0039391876, 0.0047043711, -0.0402566046, -0.0004369557, 0.0502950661, 0.0013994912, 0.033349704, 0.0173126981, -0.0214736182, -0.010511158, -0.0429867208, -0.0259639621, 0.0410345607, -0.0141920839, 0.0128085027, 0.0125633301, -0.0187203195, 0.0641543716, 0.011180711, 0.039469216, -0.0240116622, -0.048503466, 0.000936757, -0.0077656698, -0.0196620934, -0.0094950097, -0.0352539234, -0.0195006207, -0.0238318704, -0.0152802169, -0.0084324097, -0.0391993746, 2.574e-7, 0.0363197178, 0.0814455971, -0.0207737163, -0.012783546, 0.0083826035, 0.0197868031, -0.0386198796, -0.0164031405, 0.0419870578, 0.059708368, 0.0155502632, 0.0323042721, 0.0626192763, 0.0184557252, -0.0636911467, -0.0510134734, -0.0144680655, 0.0181706063, -0.0237837099, 0.0432046875, 0.0764031708, -0.0042427327, 0.0602854304, -0.0237924028, -0.0390898623, -0.028954003, 0.0159842707, -0.0211237129, -0.0281059779, 0.0441762842, 0.0485972054, -0.034135472, 0.0233181361, 0.0375538357, -0.0244620722, -0.0241520293, 0.0272272769, 0.0574004538, -0.0096791238, 0.0061434666, 0.0203427821, -0.0009531323, 0.0018143996, -0.0520535819, 0.0489440821, 0.0038837299, -0.0250601694, 0.0081938319, -0.0124931447, -0.0440018252, 0.0173184182, -0.0223700162, 0.026401097, 0.0143379178, -0.0052891448, -0.0136621324, 0.0213831123, -0.0126361018, -0.0495752953, -0.0306533109, 0.0061021149, -0.0216422509, -0.0306618419, -0.026650425, -0.0154682277, -0.0356971398, 0.0130131738, 2.025904361e-34, 0.0329106897, -0.0126229161, 0.0368868336, -0.0032973464, 0.0378950275, 0.029714318, -0.0041193673, 0.0115061989, 0.0204271842, -0.0264880974, -0.0432745218 ]
http://arxiv.org/abs/2401.06416v1
http://arxiv.org/pdf/2401.06416v1
Mission: Impossible Language Models
2024-01-12T07:24:26
2024-01-12T07:24:26
Julie Kallini, Isabel Papadimitriou, Richard Futrell, Kyle Mahowald, Christopher Potts
cs.CL
cs.CL, cs.AI, cs.LG
Chomsky and others have very directly claimed that large language models (LLMs) are equally capable of learning languages that are possible and impossible for humans to learn. However, there is very little published experimental evidence to support such a claim. Here, we develop a set of synthetic impossible languages of differing complexity, each designed by systematically altering English data with unnatural word orders and grammar rules. These languages lie on an impossibility continuum: at one end are languages that are inherently impossible, such as random and irreversible shuffles of English words, and on the other, languages that may not be intuitively impossible but are often considered so in linguistics, particularly those with rules based on counting word positions. We report on a wide range of evaluations to assess the capacity of GPT-2 small models to learn these uncontroversially impossible languages, and crucially, we perform these assessments at various stages throughout training to compare the learning process for each language. Our core finding is that GPT-2 struggles to learn impossible languages when compared to English as a control, challenging the core claim. More importantly, we hope our approach opens up a productive line of inquiry in which different LLM architectures are tested on a variety of impossible languages in an effort to learn more about how LLMs can be used as tools for these cognitive and typological investigations.
[ 0.0390439183, 0.0885422528, -0.0449134223, 0.0231269002, -0.060572274, 0.0260671377, -0.0126877967, -0.0035467173, 0.0114655802, -0.018922396, -0.0114249876, -0.0626401678, -0.0074966485, 0.0084796678, 0.0489535257, -0.0259334929, 0.0508091934, -0.0465224981, -0.0013610605, -0.0130961947, -0.011898201, -0.0316911638, -0.0310423411, -0.0000187503, 0.0108250668, 0.007780714, -0.006557195, -0.0197029319, -0.0171759967, -0.0062667178, -0.0083814012, 0.0281904712, 0.0013815542, 0.1101487204, 0.0000017931, -0.0271464046, 0.0287683345, -0.0134740947, -0.0162111055, -0.0000284028, 0.0315565653, -0.0276991837, -0.0598439537, 0.0106299166, -0.0290169865, -0.0238042548, 0.0544731654, 0.0373668671, 0.0324127115, 0.0964025632, -0.0039713765, -0.0520876274, 0.0545602813, -0.0490460396, 0.0415231623, 0.0072769406, 0.0122360019, -0.0451227836, 0.0231833216, -0.008264631, -0.0295035038, 0.0140441582, 0.0579352044, 0.045445282, -0.044038184, 0.0451150723, -0.0413695425, -0.0640179068, -0.0322054662, 0.0278486647, -0.0496463515, -0.0229752827, 0.0057579004, 0.0006476902, 0.0241258889, 0.0022943886, -0.0530147702, 0.0485870317, 0.0532621928, 0.0508161858, 0.0399821475, -0.0094922623, 0.0403409153, -0.0140515752, -0.006264654, 0.1129658222, 0.0201366954, -0.029557744, 0.0278277528, 0.0348569229, -0.0204711258, -0.0135876611, -0.0251268744, -0.0045483629, -0.0237724595, 0.0520981103, -0.0240268968, 0.0259561427, 0.0402089879, -0.0447911732, 0.0685991049, 0.0030967279, -0.0115328357, 0.049226556, -0.0424741432, 0.0594750457, -0.0242919084, 0.0394739173, -0.0285631251, 0.0138514331, -0.0433757156, -0.0337052047, -0.0119675715, -0.0166925956, -0.0415927991, -0.0157353003, -0.0140680103, -0.0025848798, -0.0001491733, 0.0103024608, -0.0028219635, -0.02452779, -0.0308364443, -0.0347715355, -0.0350449421, -0.0274939686, 0.0031029107, 0.0169490445, -0.0013116801, -0.0857360736, -0.0096047521, 0.0167832561, -0.0552106649, 0.0007261726, 0.0070847096, 0.059299998, -0.0172799192, -0.0429547839, -0.0230825692, 0.0562808476, -0.0254516471, -0.0646654069, 0.0496815629, -0.0516984314, -0.0090955319, 0.0151982047, 0.0107695581, -0.0482369252, 0.0244857594, 0.0102307629, -0.0572089776, 0.0749755949, 0.027786769, 0.0230091531, -0.0054733297, -0.0090346849, 0.0059727426, 0.0649442673, 0.0421350822, -0.002474189, 0.0155084589, -0.0100900782, 0.0439552255, 0.0470044129, -0.023521591, 0.0144235436, -0.0332696363, -0.0392753854, -0.0015109561, 0.0356342047, 0.0222365167, 0.0661135614, 0.0223378092, -0.0178690404, 0.0602714121, 0.0220499784, -0.028010916, 0.0283341315, 0.0577898435, -0.0263394564, 0.016019335, 0.0225771666, -0.0536774136, 0.0021975336, -0.0187729187, 0.0291700028, -0.0221528616, -0.0031035803, -0.0166150015, -0.0209570341, -0.020044541, -0.018755395, 0.0238503329, -0.0176191293, 0.0695210621, 0.0186262745, -0.0437886566, 0.0127363587, 0.0385591127, -0.0256733578, -0.0110905925, -0.0134400968, 0.0060556885, 0.0496659838, 0.0287750363, -0.0352653265, 0.0106330039, 0.0220724382, -0.0199604835, 0.0773859099, 0.0675076991, 0.0259166434, 0.0000781564, -0.0374359973, 0.0529657677, 0.0152097214, 0.0336762592, 0.0215395745, -0.0010609301, 0.0028120161, -0.0284862313, -0.0274979472, -0.0385559611, 0.0393404961, -0.0792658329, -0.0206629746, -0.0245119892, -0.0234397706, 0.0272543039, -0.0146476142, -0.0183242075, 0.0271564685, 0.0589864589, -0.0605150871, -0.010211926, -0.0072974125, -0.0866604298, -0.0167898834, 0.0439986549, -0.0526808687, -0.0176161379, 0.0722908154, -0.0302130729, -0.0535353683, 0.0498392396, -0.0598771721, 0.0611717626, -0.0262730867, 0.0616892353, 0.0136745935, -0.0046423185, -0.0204809625, 0.074447453, -0.0306022316, 0.0656492561, -0.0191313084, -0.0305270627, 0.00001919, -0.0633051321, -0.0053391694, 0.0383873656, 0.010177617, 0.0017997598, -0.0140356654, -0.0024640923, -0.0662475601, -0.0547183454, -0.041708231, 0.0012619481, -0.0086702593, 0.0162478611, -0.0081558349, -0.0425955653, -0.0210484192, -0.0360711068, -0.0588892139, 0.0221681371, 0.0294618774, 0.0240408145, 0.0307687353, -0.0127788819, -0.0656696409, -0.0225641299, -0.0199547671, -0.0071630091, 0.043783281, -0.0339450389, 0.0269484259, -0.031050235, 0.0134443147, -0.0051360936, 0.0248213634, -0.0121951038, -0.0296717528, 0.0338650905, -0.002466948, 0.0482104346, 0.0416130759, -0.0136470925, 0.0630836114, 0.0439853966, 0.006745772, 0.012849356, -0.0292759817, -0.025382027, -0.0319223776, -0.0354421586, -0.0481122471, -0.0727427974, 0.0810460448, 0.0090755746, 0.0006030169, -0.0635760128, 0.0746915117, -0.0505750999, -0.0360024944, -0.0274079032, -0.0100915637, -0.0602053069, 0.0206427071, -0.0458594151, -0.031430345, 0.009971654, -0.0159359276, -0.0333439894, -0.0568833686, 0.0112833334, 0.0017436009, 0.0612584352, 0.07301341, 0.0124346456, 0.0194146, 0.0125441961, -0.0898505077, 0.0223717261, 0.0038555153, -0.0196691994, 0.007364878, -0.0707010254, 0.0010436337, -0.0110150343, -0.0486972518, -0.0501870438, -0.0457324386, -0.0365171842, 0.0341758132, 0.0109162517, -0.0082735233, -0.0501585118, -0.0183047596, 0.0476105362, 0.0291570481, 0.0071201893, 0.0047785654, -0.0264985841, 0.0147113763, 0.0461434573, -0.0038773529, 0.0356930271, -0.0489932373, 0.0107172867, 0.0306548122, 0.038402617, 0.0539155975, 0.0043318779, 0.0351163335, -0.0020297484, -0.0272497255, -0.0376395434, 0.0116333924, 0.0210563242, -0.0134865232, -0.0300904214, 0.0998532549, 0.0601236634, 0.0029705677, 0.0611875392, 0.0029596384, 0.0271163117, 0.0432271473, -0.0003643114, -0.0460183062, -0.0024672579, 0.0232081711, 0.0119637325, -0.0438071266, -0.0223469194, -0.0165948216, -0.1336843371, 0.0017068278, 0.0386675894, -0.038870018, -0.0123607712, -0.0134564992, -0.0232582092, -0.0075407708, 0.0304625183, 0.0329033136, -0.0081873555, 0.0143583547, 0.0092730951, 0.0151282959, -0.0371639431, 0.0070363069, 0.0188295264, 0.0746585727, 0.0384619795, -0.0171069987, -0.0517684929, -0.0523260273, 0.0395422205, 0.0041332603, -0.012183669, 0.0218912419, 0.0096744355, 0.0707501769, -0.0361767858, -0.0379830152, 0.0296703074, -0.0451402366, -0.0155986054, -0.0264229961, 0.0989345759, 0.0030704478, -0.0608319119, 0.0281614773, -0.0320734866, -0.0349908285, 0.0771363601, 0.0372484736, -0.0553917363, -0.0318211019, -0.0560943857, 0.0076651913, -0.0145863993, -0.0580229722, 0.0549485832, 0.0319677368, -0.0341177247, -0.0681084692, -0.0484223552, -0.0017589079, 0.0220385436, 0.0195746683, 0.0009585219, 0.0320362039, -0.0196780227, -0.0155126369, -0.0000254479, -0.0022469265, 0.0019636985, -0.0764143541, -0.0568463691, 0.0329037011, -0.0260706618, -0.0160898883, -0.0110561028, -0.0185134187, -0.0860458165, 0.0647898242, 0.0415740311, 0.0331128612, -0.0061626122, 0.0080707762, -0.0355376266, 0.0012239231, 0.0267360918, -0.0162071194, 0.0151652237, 0.0337996855, -0.0136512714, 0.0179036111, 0.0490807183, -0.0009715786, 0.0314413458, 0.0164244883, 0.0393054932, -0.0547084957, 0.0276775025, 0.0431019776, 0.0016659255, 0.0495486557, -0.0285837445, -0.0076410794, -0.0087449672, 0.0113603827, -0.0280760545, 0.0041117817, -0.0180677883, -0.0287059844, 0.0511780605, 0.0493058935, -0.0292007215, -0.0499647111, 0.0037111694, 0.0385656282, 0.008451663, 0.0201739538, 0.0340326764, 0.0367246419, 0.0174911562, -0.0035463287, -0.0141593013, 0.0543917492, -0.0577647947, 0.0511652902, 0.0042018844, 0.0363130234, 0.0093469294, -0.0043543107, -0.0145574044, 0.0086487383, -0.0512865968, -0.0204226859, 0.0064612371, 0.0450044535, 0.0695504695, -0.0446348228, 0.0475876331, -0.0525024273, 0.0033582258, -0.0248769075, -0.034430936, 0.0230339337, -0.0404252298, -0.0125785442, 0.0288783815, -0.0118829813, 0.0088041779, 0.0908886045, 0.0509845763, 0.0246951245, 0.0054168003, 0.0267779827, -0.042539373, -0.0088291736, 0.0117019406, -0.0231754333, -0.0011453569, 0.0409849472, -0.051219631, -0.0847454444, -0.0451488346, 0.0370833389, 0.0528643727, -0.0358531401, 0.0154876634, 0.0461006239, -0.030538315, 0.0233179573, -0.0385772362, 0.0084371995, 0.0298782419, -0.0221073013, -0.0310024377, -6.307420568e-33, -0.0042389329, -0.0003458401, -0.0109690111, -0.0281854142, 0.0177055281, -0.0404887572, -0.0473285578, 0.0343264714, 0.0057748551, 0.009372944, -0.02428459, -0.0094349077, 0.008477848, 0.0370445624, 0.0203309283, 0.0187719353, -0.0054144869, -0.0255613346, 0.0004763864, -0.0028472955, 0.0430678986, 0.0105546303, 0.0592466109, -0.0264186431, 0.0314615183, -0.0039833174, 0.0254242718, 0.0270466488, -0.0590435453, 0.0304006189, -0.02457303, 0.0314092375, 0.0239682589, -0.050850749, -0.0100463536, -0.015682783, -0.0049354299, -0.0434577614, 0.0444163345, 0.0260344166, 0.0088624982, -0.0292272475, 0.0651155412, -0.0499891974, -0.0636764392, 0.0507545881, -0.0191773791, -0.030496113, -0.0203612503, 0.043051362, -0.0647100955, 0.0113292057, 0.0250363927, -0.0133568458, 0.0222923197, -0.0324084461, -0.0151355406, -0.0592790693, -0.04381584, 0.0101611679, 0.0289466158, 0.0307177678, 0.0564284511, 0.0080241654, -0.0004567632, 0.0566248111, 0.0614413433, 0.0013209599, -0.0104991263, 0.0155505175, 0.0410845913, 0.0212187711, 0.0845624879, 0.0105863092, 0.0437434763, -0.00862794, -0.0639567301, -0.0431263521, 0.0347686484, -0.0008323401, 0.0357417762, 0.024881281, -0.0577709302, -0.0154265976, -0.0180975311, -0.0061825258, -0.0169786401, -0.0081029022, 0.0291529614, 0.0078708576, 0.0212042183, -0.0490240045, -0.010562662, -0.0129909432, -0.0234069508, -0.0126876254, -0.0098699303, 0.03756373, 0.0051252055, 0.0258079115, -0.0882883295, -0.0229546074, 0.0047344146, 0.0247259531, -0.0030419868, 0.0153080542, 0.0255610161, 0.0077041592, -0.049118612, 0.0006745375, -0.0323724449, 0.0369826518, 0.0085192677, -0.0227604397, 0.0370134637, -0.0071062865, -0.0148693705, -0.0330864973, 0.0285295472, -0.0306751858, -0.0568638928, 0.0198531765, -0.0398551375, 0.0389933176, -0.0154146971, -0.016035758, -0.0149253383, 0.0256750416, 0.0492269136, -0.0431076996, 0.013211499, 0.0110197794, 2.603e-7, 0.0151357884, 0.05503802, 0.0057701613, 0.0027106153, 0.0595396273, 0.0238717347, -0.0695233271, 0.0043466697, -0.0248336159, 0.0162692163, -0.0306350552, 0.039012596, 0.0683414787, 0.0024613368, -0.0718871579, 0.0149204535, -0.0430434942, 0.0342079103, -0.0318397321, 0.0165813137, 0.0248726569, 0.1016032845, -0.0095083257, -0.014804963, 0.0007288403, -0.0404982194, 0.0412277207, -0.0365616158, 0.0132908151, -0.037644878, 0.0040745731, 0.0179450177, 0.0133700315, 0.0199551173, 0.0172227062, 0.009833321, -0.0240209699, 0.0248806421, -0.013989618, -0.0102940481, 0.0101223281, -0.0124496985, -0.0112238787, -0.0785618797, 0.0473537259, -0.0335720293, -0.0388547555, 0.0533611104, -0.0245975014, 0.0227995124, -0.0043172417, 0.022978276, -0.0629863665, -0.0212994684, 0.0169162806, -0.0224711336, 0.0162034761, -0.0130388187, -0.0024374386, 0.0237213466, -0.0281943977, -0.0709633827, -0.0484480709, 0.0494444892, -0.013022393, -0.0346452668, -0.0210962687, 2.191960846e-34, 0.0246980246, -0.0086597372, 0.03357118, -0.0101767806, 0.0130855842, -0.0193397719, 0.0293519367, 0.0228430387, 0.0285102837, -0.0641491041, -0.0058662156 ]
http://arxiv.org/abs/2401.06408v3
http://arxiv.org/pdf/2401.06408v3
AboutMe: Using Self-Descriptions in Webpages to Document the Effects of English Pretraining Data Filters
2024-01-12T07:10:10
2024-06-20T18:21:49
Li Lucy, Suchin Gururangan, Luca Soldaini, Emma Strubell, David Bamman, Lauren F. Klein, Jesse Dodge
cs.CL
cs.CL
Large language models' (LLMs) abilities are drawn from their pretraining data, and model development begins with data curation. However, decisions around what data is retained or removed during this initial stage are under-scrutinized. In our work, we ground web text, which is a popular pretraining data source, to its social and geographic contexts. We create a new dataset of 10.3 million self-descriptions of website creators, and extract information about who they are and where they are from: their topical interests, social roles, and geographic affiliations. Then, we conduct the first study investigating how ten "quality" and English language identification (langID) filters affect webpages that vary along these social dimensions. Our experiments illuminate a range of implicit preferences in data curation: we show that some quality classifiers act like topical domain filters, and langID can overlook English content from some regions of the world. Overall, we hope that our work will encourage a new line of research on pretraining data curation practices and its social implications.
[ 0.0593040027, 0.0744046345, -0.039754577, -0.0062780562, -0.0123399952, 0.0144914836, 0.0774903223, -0.0095693357, 0.0384864882, -0.0739627108, -0.0358250365, -0.0357008986, -0.0071820305, 0.0027354772, 0.0194112323, -0.012881184, 0.0148154749, -0.0073980168, 0.0076535642, -0.0416426063, 0.0119151929, 0.0376162305, 0.0373106599, 0.0343741253, 0.0105508743, -0.0123222778, 0.0641129389, -0.0047360719, -0.0003104301, -0.0047739674, 0.063669093, 0.0893900394, -0.0304169729, 0.0167297013, 0.0000017042, -0.0482371002, -0.00780751, -0.0307456627, 0.0151813701, 0.024542883, 0.0432211608, 0.0281655267, -0.0176934935, 0.0438640043, -0.045139052, -0.0010912315, 0.0189171657, 0.0076626139, 0.0253957864, 0.04159531, -0.019551605, -0.0206345655, -0.0610244237, -0.0099146599, 0.0182775073, 0.0102874506, 0.0429149047, -0.0539526977, -0.0452059321, -0.0096189715, 0.0095656589, 0.030643288, -0.0272026025, -0.0210028794, 0.0317936279, 0.0098973243, -0.0420884043, -0.0368308797, 0.028801173, 0.049604103, 0.0661321282, -0.0391497649, 0.0277695525, 0.0070278146, 0.0291145053, 0.0512694716, 0.0136734489, 0.0470798872, -0.0177700259, 0.0167274456, 0.0017762168, 0.0107629141, 0.0031851102, 0.0475950204, -0.0313812867, 0.0719178095, -0.0095398938, -0.0099152531, -0.0004850779, 0.0438591987, 0.0526655503, -0.0804814175, 0.0685563311, -0.0367738456, 0.0432456769, 0.0007605556, -0.0470418446, -0.0010546836, 0.0178409722, -0.0655431449, -0.0264727045, 0.0067311022, -0.0296941865, 0.0306997504, -0.0060365307, -0.0046401988, 0.030643709, 0.0266147498, -0.0303943455, 0.0108063295, -0.0307153556, 0.0000480733, -0.0088411504, 0.0189554114, 0.0260641053, 0.0205989014, -0.0416651182, 0.0302364398, -0.0157215483, 0.0083612576, -0.018923901, -0.0068186615, -0.0176502578, 0.0041995505, -0.0327819996, -0.0075796512, -0.0256683957, 0.0152899995, -0.0208237357, -0.0368565172, 0.0284882132, 0.008338443, 0.0415335558, -0.0546239354, 0.0133726029, 0.0020279316, 0.0088138292, -0.0367725231, -0.0530088656, -0.0271795597, -0.0070792926, 0.0036467912, -0.0134760207, -0.0438614637, 0.0089219026, 0.0563468449, 0.0171991996, -0.0987914354, -0.0352843255, 0.0195727851, -0.0393538065, 0.0305901896, -0.0316890404, 0.0299406387, 0.0418908745, 0.0059901099, 0.0442629345, 0.0578636192, -0.0085975621, 0.0503458567, 0.0575028323, -0.0401993282, 0.0087049957, 0.0344749019, 0.0060218107, 0.0285913683, -0.0230104327, -0.0036026209, -0.0103017902, -0.0419336893, 0.0533551686, 0.0166476592, -0.0079747261, 0.0172633752, 0.0974620581, 0.0760016292, 0.0183771122, 0.0597259365, 0.0164997298, 0.0370839238, 0.0107744094, 0.0214805473, -0.0315135121, -0.0433776788, -0.0291551985, -0.0214963444, 0.0064753722, 0.0690447614, -0.0454167873, -0.0399012789, 0.0006620248, -0.0043001538, 0.0589058399, 0.0517715067, 0.0398229472, 0.0009003344, 0.0378083028, 0.0282495376, 0.0233551376, -0.0634704456, 0.0360266119, -0.0125834122, 0.0180731509, 0.0940915942, 0.0136915455, -0.0238574147, 0.0207681805, -0.0406970941, 0.0484096669, 0.0173879936, 0.0906658843, -0.0101162214, -0.0389773101, -0.0152188344, -0.064080894, 0.0070178015, 0.0127063589, 0.0081947157, 0.0384427756, 0.0266353227, 0.0358746909, -0.0240503345, -0.0752633438, 0.015493568, -0.019260997, -0.0153354974, 0.0086685177, 0.0187010039, -0.0081100808, 0.0312503949, -0.0155522935, -0.0239683967, -0.0188005734, 0.0120260706, 0.0105762649, -0.0098169651, -0.0068822941, 0.0253860001, 0.0402093641, -0.0225027725, -0.0081645101, 0.0316476636, 0.0089114951, -0.00245153, 0.0199667253, -0.0164518543, 0.0178223848, -0.0230751578, 0.0266700182, -0.0254808161, 0.0201179534, -0.0294831283, 0.0383521765, 0.0173073914, -0.0046073962, -0.0182773173, -0.0431621782, 0.0051866258, -0.0147951618, -0.0334778056, -0.0094977133, -0.0386944711, 0.0464064926, 0.0815381631, -0.015454256, -0.0480489433, -0.0069489619, -0.0753815174, -0.0435454659, -0.0323694907, 0.0117621673, 0.0095873289, -0.0104912613, -0.0343987122, -0.0075070281, -0.0719865039, -0.0566437431, -0.0321702473, 0.0278532691, 0.0360550061, -0.0266331807, 0.0315675028, -0.0096898992, -0.0253952406, -0.0131131029, 0.0407599285, 0.0292989668, -0.0507974811, -0.0417949073, 0.033798147, -0.07169649, -0.003042921, -0.0048441938, -0.0352836438, -0.0142997326, 0.0093492931, 0.0008264537, 0.0295339711, 0.0132410657, 0.0112485718, 0.0666471794, 0.0106244013, -0.0446218215, -0.019929897, -0.0118403593, 0.0162339024, -0.0189543348, -0.0597440749, 0.0332733765, 0.0505641773, -0.0124220802, -0.0152351884, -0.0309774522, 0.0640535355, -0.0433302745, 0.0026209012, -0.025402043, -0.0024606148, 0.0152150933, 0.0701588243, -0.003526675, -0.0463211238, 0.0623183213, 0.0032796464, 0.0301002935, -0.0232673548, -0.0513996184, -0.0187541097, -0.0011913878, -0.0097805299, 0.0510580093, 0.0340519622, -0.0247690212, -0.0125742787, -0.0063192463, 0.0782903284, -0.0380718485, -0.0087312628, 0.0020530177, 0.0131466538, 0.0085910764, -0.0686850175, -0.0492242649, -0.1027962491, -0.0265614819, -0.0517181233, 0.0205298215, -0.0347642004, 0.021156121, -0.0012601484, 0.0342224874, 0.0469315723, -0.0217123851, -0.016741192, 0.0154721281, -0.0013262102, 0.0313161984, -0.000815538, 0.0070594368, -0.0116800629, -0.0137959784, 0.0021759789, 0.0504495166, -0.0129205175, 0.0329015404, 0.0040525617, 0.0666170865, -0.0464362018, -0.0630259886, 0.0239540804, 0.0297417343, -0.0142828804, 0.0069961059, 0.0917636305, 0.0334706679, -0.0528018512, -0.030500941, -0.0017293155, 0.0218986925, 0.0345444195, 0.0302339625, -0.0550178103, 0.0148641123, 0.0122651411, 0.0167439524, -0.0318583362, -0.0039002921, -0.0233551078, -0.0639173314, 0.0306455884, 0.0147204017, -0.0336989462, 0.0295724906, -0.0222542603, -0.01457904, -0.0179283563, -0.0188932009, -0.0426967852, -0.0503830872, 0.0150654428, 0.0390409864, -0.0645773932, -0.0869225562, -0.0043887217, -0.0381357744, 0.0140941013, 0.0127106048, 0.0258762315, -0.0255617239, -0.0480416305, 0.0235552117, -0.021476334, -0.0150714824, -0.0338703282, 0.0833864436, -0.0187681951, 0.0010019098, -0.0186480377, 0.0216069594, -0.0041937111, -0.0075592692, -0.0132588781, 0.0027135927, -0.0008788177, -0.0350244753, 0.039284274, 0.0064516738, -0.0079754656, 0.076617755, 0.0332548693, -0.0971447006, -0.0074967789, -0.0622940399, 0.0068167644, -0.0072279586, -0.0599332117, 0.0374996811, -0.0275969226, -0.0804618523, -0.0535693206, -0.0696266219, 0.0309663843, -0.0009141659, 0.0412407517, -0.0031997005, 0.036091879, -0.0381464548, -0.045848459, 0.0528187454, -0.0647596493, 0.009570701, -0.0411587581, -0.0402558483, 0.0360920131, -0.0538088791, 0.0032199391, -0.0014847807, -0.0142556364, -0.0442047082, 0.0525944754, 0.0067870393, 0.0224939492, 0.0432260819, -0.0187212247, -0.0962202623, 0.0567162558, 0.0187716205, -0.0331705846, -0.0051664775, 0.0346881896, 0.0009333394, -0.0202972684, 0.0260183048, -0.0180067569, 0.0192472208, 0.0611889437, -0.0769423693, -0.038056042, 0.007676708, 0.0321738012, 0.0295899119, 0.0505328514, -0.030128248, 0.006768167, -0.0660026595, -0.0335681885, -0.014696341, -0.0189731773, -0.0081054177, -0.0247121174, 0.0663501024, -0.0047291517, -0.0154478271, 0.0397405885, -0.0298301522, 0.0149896992, -0.0740131736, 0.0320439115, -0.0150436535, 0.0422063693, 0.0183888916, 0.008879818, -0.0028533034, 0.0144894775, 0.06168475, 0.039513696, -0.0233532805, 0.0183088295, 0.0072548073, 0.0160784852, -0.0017463105, 0.0335064419, -0.0542202368, -0.0241207238, -0.0223830547, -0.0143077178, 0.0170341656, -0.0674634576, 0.04766725, 0.0056060548, -0.0092110205, -0.0119258873, 0.0240950342, 0.0137693956, -0.0273862053, -0.0142392116, -0.034935493, -0.0727403015, 0.0126170069, 0.0718117654, 0.0371365361, 0.0056335358, 0.0020798913, -0.0490544997, -0.0339511409, -0.009429249, 0.0259510484, 0.0277619231, -0.0504860654, -0.0244837664, -0.0688010305, -0.0688887462, -0.0048383172, -0.0383181982, 0.0190772768, -0.0234360918, 0.0365509391, 0.066344358, -0.0421359502, 0.008957414, -0.0526554324, -0.0349544324, -0.0024848902, 0.0008385681, 0.0020645426, -6.495026528e-33, 0.004915569, -0.0377894789, -0.0135260476, 0.0031518068, 0.0204530433, -0.0080184527, -0.01272575, 0.0112216249, -0.0161611028, -0.0144405132, -0.0436531603, 0.019254338, 0.0233700313, 0.0220480878, 0.0079580797, -0.0224479605, 0.0707161576, 0.0129227517, -0.0378102586, 0.023596691, 0.0118657863, 0.016155716, 0.0427991189, -0.0862464011, 0.0315279812, 0.0140907355, -0.0255014561, -0.0234999415, 0.0398777425, 0.0376646854, -0.019864928, 0.0433843359, 0.0264565405, -0.0136428587, 0.0059921653, 0.0177868474, -0.0869034752, -0.0385625884, 0.0018329546, 0.0343904719, 0.0382295735, -0.037892852, 0.0523615479, -0.0198710915, -0.0522350259, 0.0224109348, 0.0752683431, 0.0162629317, -0.010481921, -0.0088363262, -0.0236968398, 0.0332189575, -0.010316954, 0.0223926734, 0.0511741377, 0.0543565489, 0.0253789928, 0.0004392326, -0.0344838873, 0.041598063, 0.0126106078, 0.0032708005, 0.078910768, 0.0026633358, 0.0010516441, 0.0556246601, 0.02724161, 0.0696928427, -0.0019623183, -0.0204662643, 0.0461222604, -0.016405154, -0.0144657819, 0.0568579547, -0.0297890455, -0.0788526759, -0.0227340627, 0.0507433303, 0.0117261047, -0.0479559228, -0.0022502616, -0.0310178343, -0.0395946093, -0.0724225789, -0.0271436013, -0.0465262458, -0.0337189324, 0.0059105749, 0.0158220213, -0.0082168505, -0.0794351622, 0.0127234124, -0.0030319614, -0.0470211729, -0.0714065284, 0.0232141465, -0.0549236163, 0.0104252417, 0.0082511734, -0.0216213539, -0.0271611828, -0.0189197417, -0.0373221897, -0.0059535624, 0.0123786321, 0.0325255617, 0.0417036377, 0.0150971608, -0.0741875842, 0.0133908298, -0.0151507538, 0.0206503291, 0.0341232195, 0.0054309238, 0.0492221639, 0.0320124291, -0.0011086219, 0.0067598308, 0.0899583921, 0.0159789845, -0.0478123836, -0.0513859317, -0.004935266, 0.0372043774, -0.0166514013, -0.0281009171, -0.0150725255, 0.0773111731, 0.0986435562, -0.0232450124, -0.0200974401, -0.0689664334, 2.518e-7, 0.0322367251, 0.084596321, -0.0108240684, -0.0112543013, -0.0058814404, 0.04329779, 0.0337666571, 0.0341702439, 0.0028576762, 0.0243554767, 0.0177891105, 0.0053649708, 0.0502316728, 0.0394123532, -0.085233219, 0.0080331378, -0.0509592742, 0.0321266688, -0.0409071036, 0.0274035018, 0.004990574, 0.0504728556, 0.0321951583, -0.0159109086, -0.0236426108, -0.0598500706, 0.0375600681, -0.0529577248, 0.00607483, 0.054177288, 0.0429621413, 0.0077078245, 0.0033280207, 0.0109910164, -0.0502694733, 0.0052390625, 0.0343594663, 0.0258697197, 0.0015216061, 0.0501667708, -0.0273017995, -0.0146522019, 0.0174760595, -0.0538863838, 0.0639363751, 0.0211884007, -0.0071238219, -0.0167041607, 0.0067710611, -0.0591433644, 0.0556164458, -0.035437651, 0.0022615183, 0.0169617385, 0.0081065223, -0.0030538472, -0.0265951864, -0.0680950508, -0.0186608806, -0.0256050192, 0.0000093061, -0.0279244892, -0.0112579949, 0.0328292027, 0.0332062095, -0.0240061022, 0.0545733385, 2.143517393e-34, 0.013490228, 0.0330422558, -0.0152555509, -0.0307219662, 0.0476995483, 0.0043206015, -0.0118404701, 0.0149991987, 0.0061088395, -0.0363478847, 0.0160478 ]
http://arxiv.org/abs/2401.06401v4
http://arxiv.org/pdf/2401.06401v4
DevEval: Evaluating Code Generation in Practical Software Projects
2024-01-12T06:51:30
2024-03-06T02:16:51
Jia Li, Ge Li, Yunfei Zhao, Yongmin Li, Zhi Jin, Hao Zhu, Huanyu Liu, Kaibo Liu, Lecheng Wang, Zheng Fang, Lanshen Wang, Jiazheng Ding, Xuanming Zhang, Yihong Dong, Yuqi Zhu, Bin Gu, Mengfei Yang
cs.SE
cs.SE, cs.AI, cs.CL
How to evaluate Large Language Models (LLMs) in code generation is an open question. Many benchmarks have been proposed but are inconsistent with practical software projects, e.g., unreal program distributions, insufficient dependencies, and small-scale project contexts. Thus, the capabilities of LLMs in practical projects are still unclear. In this paper, we propose a new benchmark named DevEval, aligned with Developers' experiences in practical projects. DevEval is collected through a rigorous pipeline, containing 2,690 samples from 119 practical projects and covering 10 domains. Compared to previous benchmarks, DevEval aligns to practical projects in multiple dimensions, e.g., real program distributions, sufficient dependencies, and enough-scale project contexts. We assess five popular LLMs on DevEval (e.g., gpt-4, gpt-3.5-turbo, CodeLLaMa, and StarCoder) and reveal their actual abilities in code generation. For instance, the highest Pass@1 of gpt-3.5-turbo only is 42 in our experiments. We also discuss the challenges and future directions of code generation in practical projects. We open-source DevEval and hope it can facilitate the development of code generation in practical projects.
[ -0.0333858207, 0.0805311799, -0.0270737074, 0.0272988323, -0.0365814008, -0.0324517787, -0.0330384634, 0.0110913999, -0.0377057344, 0.0192272402, 0.0175020695, -0.0089233825, 0.0132262986, 0.0522365123, 0.0348466933, -0.0344029814, 0.0124806045, -0.0349923633, -0.0761875585, 0.0215114821, -0.0193907525, 0.0145016033, 0.0255168844, 0.0754362941, 0.0066199489, -0.0235604756, 0.0068812594, 0.0561016947, -0.0043311305, -0.0271786097, 0.0250369478, 0.0422128178, -0.0084222611, -0.0017744292, 0.0000025026, -0.024701396, 0.0112892222, -0.003561643, 0.0336065628, 0.07239189, -0.0048599616, -0.0054790857, -0.006264694, 0.0264838487, -0.018178409, -0.0266212896, 0.0083258506, -0.0508514531, 0.038498085, 0.0330375023, 0.0156484563, -0.009194579, -0.0037555734, -0.0090864645, 0.0173995029, -0.0084763477, -0.0303078461, 0.0541505851, 0.0214062911, 0.0115336077, 0.0143719502, -0.0009739704, 0.0599299669, 0.0327198766, 0.0033510746, 0.062075004, -0.0401713662, -0.0217612982, 0.0165797677, 0.0355407298, -0.0527180657, -0.023731919, 0.0188429691, -0.0340023451, -0.0529368743, -0.0623767078, -0.0147345532, 0.0164641906, -0.0042931787, 0.0194426253, 0.005240377, 0.0081266286, 0.014186006, -0.0367266238, 0.0108774044, 0.0324271843, 0.0386471972, 0.0296075661, -0.0315473787, 0.0014781029, -0.0241160784, -0.0350468382, -0.0264933482, 0.008156321, -0.0177413449, -0.0042303666, -0.0464817397, 0.0130573483, 0.0676149949, -0.02758196, 0.0349906944, 0.0417055525, -0.0079577751, -0.0087535316, -0.0493284278, 0.0874204934, -0.0215641521, -0.0875203758, -0.0042152363, 0.0292598847, -0.0350607522, 0.0070763156, -0.0493058674, 0.0237737726, -0.0321710706, 0.0268374085, -0.0659935176, 0.0438733622, 0.0185885169, 0.065883778, 0.0243993662, -0.0277913697, -0.032405775, -0.000465593, 0.046011202, -0.0039402358, -0.0361634567, -0.0322589725, 0.0149949109, -0.0915045738, 0.0354425125, 0.0183559973, -0.0547499098, -0.0398575738, 0.0191980843, 0.0695468858, 0.0126622207, 0.0347085595, -0.0146254255, -0.0413212851, 0.0289458912, -0.0512472689, -0.0399378799, -0.1109091714, -0.0740671605, 0.058269456, -0.0034779455, -0.0533251353, 0.0110441921, -0.0080657769, 0.0343971178, -0.0126467226, -0.0297752023, 0.0414923541, 0.0112683848, 0.0589492097, -0.0149042374, 0.0507661179, 0.0422377698, 0.0166086778, -0.0070736129, -0.0428153239, 0.0513729118, 0.0624534413, -0.0196773838, 0.0043810187, 0.002171953, 0.0344588868, 0.0338110588, -0.0113726063, -0.0154391807, 0.0821810737, -0.0161330644, 0.0419559106, 0.0421793722, 0.0003895574, 0.0388594717, 0.0388963781, 0.0587351322, 0.0357790813, 0.0105590764, -0.0413830914, -0.0124462247, 0.0632869378, 0.0138307577, 0.0293059405, -0.0093547665, 0.0886912793, 0.0018844843, -0.0282029994, -0.0200464875, -0.028030429, -0.06181648, -0.0149631761, 0.0237960052, -0.0302016083, -0.0627539754, 0.0307080857, -0.0127002243, -0.0947350487, -0.0145278554, -0.0289487485, 0.0123749338, 0.0301404893, 0.0615780056, -0.0332042724, -0.0259609707, 0.0050086793, -0.0181310698, -0.0078469953, 0.0400135852, 0.007734349, 0.0216893777, -0.0423858054, -0.0172783155, -0.0447328053, -0.0217345096, 0.0414721146, 0.0303592589, 0.0031141869, 0.0418143533, -0.0180358849, -0.0434226766, 0.0197857507, -0.0455759242, 0.0036671269, 0.0382775478, -0.0350235626, 0.0034999193, -0.0268148649, -0.0501495302, 0.0071808388, 0.0458858386, -0.0232142098, -0.0073303618, -0.0228321385, -0.0166122634, 0.023872992, -0.0082569253, -0.0585274957, -0.0028532245, 0.011937418, -0.0195229165, -0.0154506098, 0.0535654537, 0.0077605643, 0.0150920078, 0.0094238669, 0.0331125818, -0.0461975709, 0.0135710072, -0.0175051838, 0.0390318707, 0.0026388669, 0.036364086, 0.0049926001, 0.0811939538, 0.0570686571, 0.0210131295, -0.0097886976, 0.0336649343, -0.0145810507, 0.0383151434, 0.0201919284, 0.0565256178, -0.0331339501, -0.0664645433, -0.0877528414, 0.0492123216, -0.0178180374, 0.0385702997, 0.0222623385, 0.0360877179, -0.0023247215, 0.0444038771, -0.034590926, -0.0013108671, 0.0182897896, -0.0022375169, 0.0182837732, -0.049378328, -0.0702308342, -0.0254811216, 0.007962021, -0.0041112783, 0.0345457979, -0.0266056675, 0.0229925942, -0.0434838831, 0.0718795583, 0.0260207187, -0.008441343, -0.0145423245, -0.0305562485, 0.019226633, -0.0299595147, 0.11758928, -0.0276739523, -0.0098121716, -0.0266030096, 0.0461802892, -0.0235042293, -0.0342344977, 0.0081675146, 0.026878424, -0.0245266426, -0.0098843044, -0.0654778704, 0.0520646051, 0.0533833578, 0.0176277123, -0.020776175, -0.0463656932, 0.0409207046, -0.0358864442, 0.0150522636, 0.0340871774, 0.0067151589, 0.0058503617, 0.0339890905, -0.0186380893, -0.0808721259, 0.0122724809, -0.0529788285, -0.0209438186, -0.0066774213, -0.0118817873, -0.0694445148, 0.05823984, 0.0051417639, 0.0084987003, -0.0349717475, 0.0010235402, 0.0039277454, 0.0270930268, -0.0248588938, -0.0322512574, 0.0765733123, -0.0415953249, 0.0124859903, -0.0416405722, -0.017528981, -0.0380308516, 0.0004905908, -0.0149123883, 0.0059153358, 0.0402796306, -0.0238206387, 0.0424686968, 0.018814005, 0.0203278251, 0.0373249352, 0.023679046, -0.0349199809, 0.0050594644, -0.0382667296, -0.0091998111, -0.0762849972, -0.0158404186, -0.0014240673, 0.0028130356, 0.0152816623, 0.0677975863, 0.0604910403, -0.0828550756, -0.0134737995, 0.0431926772, 0.0188404024, -0.0442601219, 0.0694555864, 0.070176363, -0.0324670188, -0.026058618, 0.0656072795, -0.0020384409, -0.029138444, 0.0245368667, 0.0132462671, 0.0810501501, 0.0800972134, 0.0223850347, -0.0568519942, -0.0149838543, -0.0039015599, 0.0331828371, -0.0363862924, 0.0093392525, -0.0290418379, -0.0855359808, 0.0348350368, 0.0131830983, -0.0353657454, -0.0189746711, -0.0335719548, -0.0066379821, 0.0291912965, -0.0071410178, 0.0490561388, 0.0029902498, 0.0198960379, 0.0032426554, -0.0439251699, -0.0506720617, 0.0280334931, -0.0240799543, 0.0379638821, 0.0723994076, 0.0286059901, 0.005649114, -0.0039149029, 0.0137235951, -0.0356083438, 0.0077828988, -0.0168903749, 0.0143581675, 0.0572926588, -0.0231808964, 0.0335815251, 0.0041834377, -0.0831454247, -0.0099017741, 0.0516246669, 0.0318934582, -0.0090941582, -0.0364634395, -0.0219340194, -0.0130371032, -0.0019501863, 0.034192808, 0.0363328494, -0.0138524743, -0.0370877646, -0.0624381118, -0.0008669431, -0.0400752723, -0.0210750084, -0.0348333791, 0.0146626094, 0.0112153422, -0.0058618961, 0.0406538285, -0.0032224266, 0.0304953624, 0.0110051855, 0.0012930876, 0.0083796373, -0.0266247168, -0.0655830353, -0.0180017613, -0.0021681683, 0.027166931, -0.0501269475, -0.0100224912, 0.0215874426, -0.02420648, -0.0021972605, 0.03875475, -0.1178513318, -0.0512559935, -0.0433352068, 0.0695272312, 0.0213361569, -0.0425969288, -0.0158757735, -0.0489815548, -0.051745221, 0.0029256404, -0.0070795529, 0.0447115228, -0.0062871561, -0.0234390479, 0.0181338843, -0.0311643854, -0.0520991683, 0.0088756355, 0.0300329085, 0.0006191764, 0.0149806691, 0.0131699657, 0.0281358287, 0.0279186331, -0.01907642, -0.0102271475, -0.0445023142, 0.0133372815, -0.0313241445, -0.0393562876, -0.02571477, -0.0518371053, 0.0158230104, 0.0118745323, 0.0022361507, 0.0223780181, 0.011554868, -0.0315799899, 0.0365957469, 0.0039629005, 0.050264392, 0.0135360667, 0.0284346323, 0.1004373804, -0.0221715346, -0.0297116227, -0.0184487011, -0.03165932, 0.0239716116, -0.0081383744, 0.0406553484, 0.0070689283, 0.0356400236, 0.0596795902, 0.0105051091, -0.0076239714, -0.0409235358, -0.0121372528, 0.0175412893, 0.0520596467, 0.0757445469, 0.0473193601, -0.0552049503, 0.0303796493, -0.0559208579, 0.0340575837, -0.0236537941, -0.0338350162, -0.040245492, 0.0008459146, -0.030584434, -0.0306734927, 0.1258111894, 0.0251614098, -0.0182922147, -0.0192916207, 0.0127346199, -0.0216274057, 0.0301542692, 0.0250794794, -0.0358124413, -0.021273965, -0.0060191723, -0.0630014688, -0.0304991994, -0.0159901567, 0.0284693856, 0.0447091274, -0.0274577048, 0.0257997029, 0.0742111504, -0.0063179154, -0.0195596889, -0.0076420577, -0.0059460704, -0.0198538974, -0.013795116, -0.0022432492, -6.950847972e-33, -0.004740363, -0.0185985155, 0.0255218204, 0.0071994304, 0.0075564492, 0.0220401697, -0.0555683225, 0.0001871525, 0.0177038293, -0.0598383509, 0.0358226188, -0.0086209131, -0.0240627956, -0.0198363811, 0.0553319901, 0.0405453183, 0.056059137, 0.0264103245, -0.0698772445, 0.0430202633, -0.0400404632, 0.0123985596, -0.0033994336, -0.0283092558, -0.0441659242, -0.0395025611, 0.0206843242, -0.0498466976, 0.0193227474, 0.0070421947, 0.0017589008, 0.0070454692, -0.0000953229, -0.037905667, -0.0279148538, -0.0497578047, 0.0153431389, -0.0114282714, 0.0010935226, -0.0025936451, 0.0030265204, -0.0608302727, 0.0511421002, 0.0182008296, -0.0734441206, -0.0008272082, -0.0232356712, 0.0147613967, -0.0064253476, -0.0457883738, -0.0641118959, 0.0448159836, -0.0020650576, 0.0051072617, -0.029847892, 0.0147543689, -0.0313327909, 0.04658648, 0.0574161969, -0.0101342313, 0.0143011771, 0.0651232228, 0.0774221793, -0.0157625712, -0.0065596313, 0.023208037, 0.0557310432, 0.0312794112, -0.033117231, 0.0267010666, 0.0221075322, 0.0730970427, 0.0262655001, 0.02942775, 0.0076519819, -0.0269110985, -0.0450807028, 0.0033673032, 0.0083181933, -0.0154392896, 0.0345306955, 0.0293655694, -0.035579972, 0.0070772972, -0.0582054034, -0.0096426914, -0.021528786, -0.0252547488, 0.0441849083, 0.0040479423, -0.0095947217, 0.0149648506, 0.0072340458, -0.0291969664, 0.0016680484, 0.05574755, -0.0666153282, 0.0263648797, -0.0215341821, 0.0407393277, 0.0077785677, -0.0361760855, 0.0147897732, 0.0046486449, 0.0773157924, 0.0148928314, -0.0403734073, -0.0022756213, -0.0528288931, 0.0041405424, -0.0657590032, 0.0127476733, -0.0122215301, 0.0042860368, -0.0076919971, -0.0358051285, 0.0126023758, 0.0050395993, -0.0018507307, -0.0154800685, -0.0536201075, -0.0206375476, 0.021772841, 0.0389592424, -0.013318466, -0.0205237065, -0.0587335564, 0.0019439505, 0.0597030036, 0.0028058067, -0.0862437263, 0.0100771459, 3.266e-7, -0.0252037495, 0.0493452214, -0.0204730779, 0.054042805, 0.0059366832, 0.0326010734, -0.0420225002, -0.0131286653, 0.0070724483, 0.0028436254, -0.0542303585, -0.0022274421, 0.0544321947, 0.0517220162, -0.012387583, 0.0415967405, -0.0055364915, -0.0026360764, -0.0775175393, -0.0013051823, 0.0070587839, 0.0247577131, 0.0088210013, -0.0244970638, 0.0416165702, -0.0215001479, 0.0062330426, -0.0224966072, -0.0099129481, 0.0443682112, -0.0494219214, 0.0014862425, 0.003867849, -0.0001026944, 0.0075938683, -0.0495024472, 0.034061484, 0.0831371471, 0.0245217308, 0.0399223641, 0.0653898269, -0.0032889687, -0.0359951556, -0.0714435652, 0.029817421, 0.0111349095, 0.0039519579, 0.0079222051, -0.0247564856, -0.0126351677, -0.003207441, -0.0289376304, 0.0310484935, -0.0094597321, -0.0140008554, -0.0299263727, -0.023770079, 0.0209768023, -0.0443304367, 0.0101621728, -0.0290649422, -0.0833310112, -0.0784192756, 0.0571250282, -0.008853415, 0.0155699691, 0.0139719378, 3.372368855e-34, -0.0079797469, -0.0594118387, 0.0195892639, -0.0211521909, 0.0334796794, -0.0050657657, -0.047523763, 0.0162048135, -0.0304714236, 0.0042850482, -0.034660928 ]
http://arxiv.org/abs/2401.06400v2
http://arxiv.org/pdf/2401.06400v2
Generalizing Visual Question Answering from Synthetic to Human-Written Questions via a Chain of QA with a Large Language Model
2024-01-12T06:49:49
2024-01-16T06:01:48
Taehee Kim, Yeongjae Cho, Heejun Shin, Yohan Jo, Dongmyung Shin
cs.CL
cs.CL, cs.CV
Visual question answering (VQA) is a task where an image is given, and a series of questions are asked about the image. To build an efficient VQA algorithm, a large amount of QA data is required which is very expensive. Generating synthetic QA pairs based on templates is a practical way to obtain data. However, VQA models trained on those data do not perform well on complex, human-written questions. To address this issue, we propose a new method called {\it chain of QA for human-written questions} (CoQAH). CoQAH utilizes a sequence of QA interactions between a large language model and a VQA model trained on synthetic data to reason and derive logical answers for human-written questions. We tested the effectiveness of CoQAH on two types of human-written VQA datasets for 3D-rendered and chest X-ray images and found that it achieved state-of-the-art accuracy in both types of data. Notably, CoQAH outperformed general vision-language models, VQA models, and medical foundation models with no finetuning.
[ 0.0493764468, 0.0856727362, -0.0082762726, 0.0331760012, -0.0010994716, 0.0260952096, -0.0040726168, 0.0176461991, 0.0033185952, -0.0333023146, -0.0023263502, -0.0418418646, -0.0075153634, 0.0702563599, 0.0492251515, -0.0883875266, 0.0194312017, -0.0219518058, -0.0005283022, -0.021150643, 0.0134228859, -0.00455262, 0.0049965363, 0.0182491411, -0.0157531854, -0.0395046137, -0.0181626398, 0.0094054155, 0.025974514, -0.0046681059, -0.0287220459, 0.0405850895, 0.0479846559, -0.0452540442, 0.0000019327, -0.0129409228, 0.0142431147, 0.0326829851, -0.0148488823, -0.0078375973, -0.0303701647, -0.0336454473, 0.0098068248, 0.0171565171, -0.0669817477, -0.0309328418, 0.0442425944, 0.0406955555, 0.0856479183, 0.0342217088, -0.0236119237, -0.0266192351, -0.0007570316, -0.005851645, 0.0295674112, -0.0493917875, 0.0018647647, 0.0630866736, 0.03000433, 0.0046254448, -0.0273373704, 0.0415681601, 0.0453495122, 0.0035253265, 0.0116519034, 0.0489197113, -0.0226508584, -0.0149386628, -0.0119840959, 0.1186825633, -0.0131525798, 0.0069086449, -0.0127105033, 0.0028728493, 0.0137733202, 0.0360298194, -0.049870152, 0.0379809961, -0.029019475, -0.0210835785, -0.0408748314, -0.0190160982, -0.0299236737, -0.0258858558, -0.0184961632, -0.0245907605, 0.0244884007, 0.0214763582, -0.0040682475, 0.0162649024, -0.0346897058, -0.0681980029, -0.0356829539, 0.0755265281, -0.024822779, -0.0014838708, -0.0333299264, -0.0101953866, 0.0061430093, -0.0338902511, 0.0327157341, 0.0217021555, -0.0510074645, 0.0504257679, -0.0172020979, 0.0714241043, -0.0419825725, 0.0322943404, -0.0662759095, -0.0095261242, -0.0216056779, -0.0260997973, -0.0450983718, 0.0171176083, -0.0782615244, -0.0414169729, -0.0069791907, 0.013255693, 0.0007455885, -0.0003690163, 0.0163586196, 0.0881705657, -0.0231861044, -0.0004031136, -0.0472662263, 0.0124113737, -0.0537651703, 0.0121736899, -0.0331533812, -0.0253488142, 0.0060682902, 0.0374343172, 0.0374854021, -0.0002799976, -0.0013594722, 0.0593897253, -0.0559513383, 0.0074950429, 0.0095273219, -0.0285553001, 0.0188125204, -0.047579091, 0.0369323716, -0.0677805766, 0.0170719475, 0.006347659, -0.0202952474, -0.0120806918, -0.0028416123, 0.0332448557, -0.0388176888, 0.0809552819, -0.0329343714, 0.0081243413, 0.0451624058, 0.0161616132, 0.0405320302, 0.0343680233, 0.0205511544, 0.0258442964, 0.025587311, -0.0149814207, 0.0423423275, 0.0257610958, -0.0024415029, -0.005192189, -0.0602965839, 0.0564171821, 0.0146892322, 0.0436431579, 0.0314390287, 0.0716981813, -0.0268573593, -0.0445188805, 0.0094786063, 0.037493851, 0.003655409, 0.0028622393, 0.0554718859, -0.0020120442, 0.0448024683, 0.0282444321, -0.0266796947, 0.0754638836, 0.0384663679, 0.0064292531, -0.0403477885, -0.0024666945, -0.0662929043, -0.0432659313, 0.0041453051, 0.0159907676, 0.0023764435, 0.0320453905, 0.0089014489, 0.0356623083, -0.028989682, 0.0060733748, -0.0054385653, -0.0071870466, -0.0254951846, -0.0277752932, 0.0687267259, 0.0660265982, 0.0282241404, -0.0042411182, -0.0252251271, 0.0233115796, 0.0104307551, 0.0259360317, -0.0075444365, -0.0288662296, 0.0163599681, -0.0357538797, -0.0281039998, -0.0285874195, -0.0044597704, 0.0100753512, 0.0389782973, -0.0113546336, -0.0226352625, -0.042684149, 0.0170232728, 0.042688638, -0.0061785467, -0.0032778962, -0.0102934409, 0.0196656492, -0.0040068612, -0.0079210065, -0.006185154, 0.0006475907, 0.0189247467, -0.0425919965, -0.0171458255, -0.0054451898, -0.035087008, -0.0461145192, 0.0146121681, -0.0556232706, -0.0291634332, 0.0272409637, -0.0605874993, -0.0317381769, 0.0027439911, -0.045944605, -0.0340001881, -0.0398065187, -0.0666317046, 0.0626375154, 0.0112559181, -0.0251830239, 0.050016012, -0.0193882566, -0.017284913, 0.0098037058, 0.0149964029, 0.0124484645, -0.0279300995, 0.0301592834, 0.013796241, 0.0030894761, 0.0172680449, -0.0201893225, 0.0386611149, -0.05359466, 0.0206957068, -0.0548905358, -0.0141650327, -0.0173990428, -0.0166992471, 0.0349101387, -0.0124779297, -0.003921771, -0.0419761911, -0.0798738152, 0.0211128406, 0.0070931436, 0.0019105054, 0.0727564096, 0.0247144829, 0.0137460986, -0.0398506261, -0.0022540712, 0.0115715517, 0.0747669563, 0.0344020054, -0.0033558826, -0.0257293787, -0.0165014993, -0.0563656054, 0.0645088181, -0.0022340924, -0.046920076, 0.0307269543, -0.0211982261, 0.0391037166, 0.1072302014, -0.009867182, -0.0152207855, 0.0084613319, 0.0268511847, -0.0192014854, 0.0138616348, 0.0022710883, -0.0477380566, 0.0240563247, -0.0653320476, -0.0330620557, 0.0305996817, -0.0138645954, -0.0018937468, -0.064449884, 0.0515138358, 0.0400969945, -0.0059498707, -0.0635030568, 0.0016432516, 0.0055424767, 0.0705689415, -0.0297076683, -0.0480153151, 0.053662844, 0.0072750677, 0.0053549604, 0.0111175515, 0.013549529, -0.0515046977, 0.0707277879, 0.0077360692, 0.0254233181, -0.017902365, 0.0031394658, -0.0640941337, -0.0505502038, 0.0095705455, -0.025142286, 0.0168289654, -0.0642278418, 0.0264430884, -0.0370949246, -0.035704203, -0.0448721126, -0.0068198983, -0.0280973967, 0.000261419, -0.0766670629, -0.0208236892, 0.0220428295, 0.019074697, 0.0068942565, 0.0148430532, -0.0091423029, 0.0049955528, -0.0194053445, 0.0909901634, 0.083243899, 0.0500211008, -0.021444777, -0.0191701036, 0.0437937677, 0.0737433136, 0.0010228733, 0.0457463115, -0.0372980312, 0.0218758807, -0.0227846503, 0.0603431351, -0.0017966235, 0.0411455892, 0.0281216335, -0.0453708433, -0.0155499959, 0.0442108773, 0.0269151013, 0.0012820001, -0.0144534046, -0.0028965108, 0.0206010919, 0.0404964089, 0.0504915118, -0.0959067419, -0.0370211005, -0.0288080517, 0.0083717313, 0.0191450994, 0.0011374471, -0.0002649408, -0.0717484877, 0.0771572143, -0.0347767025, -0.0194950793, -0.0389023684, -0.0000572259, 0.005732283, 0.0013793571, -0.0455249287, -0.0170159191, -0.0006617881, 0.0201986656, -0.0149121443, 0.0138603048, 0.000435755, 0.043478556, -0.0415496118, -0.0431591831, 0.0408698544, 0.0313453451, -0.0319801383, -0.0661040395, 0.0036613164, -0.0061819656, 0.0117097106, 0.0240157805, 0.0610549822, 0.0053172172, -0.0450406671, -0.0098982155, 0.0695655793, -0.0055503091, -0.012848285, -0.0091114454, 0.0470123589, -0.0180896446, -0.0160564091, -0.0536141321, 0.0209649187, -0.0122039961, 0.0264313295, 0.0389514379, -0.034269277, -0.0648677275, -0.0119121214, 0.0095163174, -0.0436559133, -0.0518390574, 0.0249971338, 0.0442505963, 0.0014553313, -0.1185371503, -0.0125789894, 0.0574560687, 0.0601994582, -0.0476165526, -0.0243025422, 0.0023402374, 0.0018033595, -0.0518649481, 0.0801266059, -0.0230046716, 0.0174375158, -0.012855025, 0.0035758689, 0.0075631691, -0.0516659208, -0.0291290432, -0.0054149767, -0.039113149, 0.0066610971, -0.0263234414, 0.084898904, 0.0091582881, 0.018040007, 0.0153986821, -0.0275734924, 0.0067881788, 0.0434515961, -0.0069476808, 0.0014689323, 0.005190732, -0.0387900732, -0.0214031339, 0.0042463653, -0.0175730493, 0.0077602039, 0.0121925455, 0.023148559, -0.0278354362, -0.0359588787, 0.0338734537, 0.0370320566, 0.0014076687, 0.0065447791, 0.0141696166, -0.0064710714, 0.0177551527, -0.0144874994, -0.0108158467, -0.079536289, 0.0190159157, 0.015029897, -0.0115927113, 0.0071484693, -0.0390416794, -0.053763289, 0.0114261638, -0.0237912182, -0.0031940271, 0.0119055081, 0.0087115159, 0.0268908627, -0.0206794199, 0.0019695328, -0.0002814263, -0.0145349288, 0.0616624691, 0.0195000544, 0.065279834, 0.0451895334, -0.007341288, -0.0303222165, 0.0325120464, -0.0376005806, -0.0956278369, -0.0169536434, 0.0346227363, 0.0308964215, 0.0330121033, -0.0456024036, 0.0134804538, -0.0253493898, 0.0295373201, 0.0181953441, 0.0019032701, -0.0283922236, 0.102592811, 0.02859593, 0.0124431401, -0.0146836052, 0.0711029842, 0.0266268384, 0.0274610836, -0.0353578441, -0.010631592, -0.0426032729, -0.0203266554, 0.0147702936, -0.0451906249, 0.0009247271, 0.0516725928, -0.039332103, -0.0774253309, -0.0155424112, 0.0401230641, -0.0398313217, 0.0214323755, 0.0535852835, 0.0431833528, 0.0391666926, -0.035033755, -0.0091522858, 0.0243567768, -0.0280594695, -0.0214755628, 0.0110478578, -6.273371639e-33, -0.0106987497, -0.0541825332, 0.056718573, -0.0499949455, 0.0007123183, 0.0199516769, -0.0222471934, -0.0198958591, -0.0263207704, 0.0139381252, -0.00980232, -0.0016583045, -0.0063251429, 0.0407035723, -0.0363721065, -0.009304977, -0.0143693462, -0.0177787337, -0.0255313627, 0.0100401593, -0.0234796256, -0.0053461464, 0.020808218, -0.02869853, -0.0525666587, -0.0025235035, -0.0163689628, 0.0412525535, -0.024661215, 0.0522221066, -0.055405736, -0.0173958167, 0.0255319551, -0.0240708087, 0.0225956868, 0.047188092, -0.0844536126, -0.015439529, 0.0358069986, -0.0058713225, -0.1250980496, 0.0095583927, 0.010060613, -0.0215282496, 0.0535724051, -0.0668289289, 0.0357582569, -0.0244714841, 0.0091234008, -0.0125027774, -0.019905081, 0.0071658161, -0.0197127815, -0.0275714211, -0.0294412412, 0.0467049107, -0.0107003842, 0.0233797487, 0.0119468039, -0.0110124778, 0.0178139433, -0.0048264614, 0.0368049443, 0.0175756998, 0.0027729028, 0.0165209528, 0.0353234783, -0.0368728712, -0.0601721033, 0.0087327333, -0.0266317427, 0.0519081913, 0.0895130634, 0.0825688988, 0.0147475498, 0.0408197567, -0.0701777562, 0.0448133983, -0.1235603616, 0.0810124353, -0.0259752162, -0.0253054425, 0.0166443326, 0.0018789376, -0.0542894639, 0.0198029205, -0.0252500027, 0.0167042185, 0.047174044, 0.0161707848, -0.0232177805, 0.0176620074, 0.0319978595, -0.038742777, 0.0416429937, 0.006150607, -0.0364138857, 0.0544977263, 0.0055112792, 0.0568860732, -0.0233707111, 0.024916077, 0.0748686343, -0.0085990271, 0.0121577987, 0.0161115229, 0.0364608988, 0.0023708842, -0.0420924239, 0.0129273459, -0.0284900498, 0.0228396654, -0.0362777859, 0.015386275, 0.012306788, 0.0240151472, -0.052594468, 0.012242116, -0.0389531888, -0.0068997378, -0.0379746631, -0.048845768, -0.0231394302, 0.0385764576, -0.0508925579, 0.0167548414, -0.0516661219, -0.0181396231, 0.0146096824, -0.0759511068, -0.0216221027, 0.0714622736, 2.577e-7, 0.0325886607, 0.0008130554, 0.0249659643, 0.0578590408, 0.0025352333, 0.0284855757, -0.0003028843, 0.0223460719, 0.0158997532, -0.0462376848, 0.0199514497, 0.0763685182, -0.000377126, 0.0156075628, -0.0154886991, 0.063553296, -0.0554262735, -0.0412814245, -0.0463493802, -0.0168591347, 0.0651463345, 0.0601168312, -0.0551817231, -0.0303171724, 0.0421626456, -0.0269853398, 0.0703132376, 0.0119225634, -0.0026726234, -0.0067320843, 0.0064453236, 0.0080936393, 0.0021714419, 0.0322697461, 0.0163378082, -0.0299752671, 0.0393483378, 0.0372804664, -0.0159342494, -0.0104322778, -0.0215765666, -0.0090863965, 0.0230398811, -0.0573493205, 0.0894134343, -0.0391140096, -0.0203027483, -0.0210346598, -0.0432486832, 0.006072178, 0.02576782, -0.0201376807, 0.0105623771, 0.0194195509, 0.0478461161, -0.0258648638, 0.0102050146, -0.0584188327, -0.0069746249, 0.0104463948, -0.0256321467, 0.0193191767, -0.0165929273, -0.0380437709, 0.0184876285, -0.0139612127, -0.0476665199, 1.785676938e-34, 0.0252483226, 0.0099462923, 0.0032257969, 0.0069516362, 0.0283457655, -0.0267936215, 0.0027984527, -0.0107520083, 0.0308407266, -0.0666084886, 0.0010722057 ]
http://arxiv.org/abs/2401.06398v1
http://arxiv.org/pdf/2401.06398v1
An approach for mistranslation removal from popular dataset for Indic MT Task
2024-01-12T06:37:19
2024-01-12T06:37:19
Sudhansu Bala Das, Leo Raphael Rodrigues, Tapas Kumar Mishra, Bidyut Kr. Patra
cs.CL
cs.CL
The conversion of content from one language to another utilizing a computer system is known as Machine Translation (MT). Various techniques have come up to ensure effective translations that retain the contextual and lexical interpretation of the source language. End-to-end Neural Machine Translation (NMT) is a popular technique and it is now widely used in real-world MT systems. Massive amounts of parallel datasets (sentences in one language alongside translations in another) are required for MT systems. These datasets are crucial for an MT system to learn linguistic structures and patterns of both languages during the training phase. One such dataset is Samanantar, the largest publicly accessible parallel dataset for Indian languages (ILs). Since the corpus has been gathered from various sources, it contains many incorrect translations. Hence, the MT systems built using this dataset cannot perform to their usual potential. In this paper, we propose an algorithm to remove mistranslations from the training corpus and evaluate its performance and efficiency. Two Indic languages (ILs), namely, Hindi (HIN) and Odia (ODI) are chosen for the experiment. A baseline NMT system is built for these two ILs, and the effect of different dataset sizes is also investigated. The quality of the translations in the experiment is evaluated using standard metrics such as BLEU, METEOR, and RIBES. From the results, it is observed that removing the incorrect translation from the dataset makes the translation quality better. It is also noticed that, despite the fact that the ILs-English and English-ILs systems are trained using the same corpus, ILs-English works more effectively across all the evaluation metrics.
[ 0.0728014931, 0.0171672348, -0.0205442999, 0.0662600324, -0.059459392, 0.0413431861, -0.0213698316, 0.0152041586, -0.0263907686, -0.0139073338, -0.0307135861, -0.0462530479, 0.0410500504, -0.0343609825, 0.0004078863, -0.0181337409, 0.0447322503, 0.0111627551, -0.0428442992, 0.01657979, 0.0193706602, 0.0370454304, -0.0164343696, -0.0089806924, -0.0298716407, -0.018432349, 0.0397170559, 0.041717384, 0.033044856, -0.0157190524, 0.0014232883, -0.0164215267, 0.0000612419, 0.0838679373, 0.0000020755, -0.033750888, -0.0487828404, -0.0081957439, 0.0070655402, 0.0049461853, 0.0762167647, -0.0427809171, -0.0062324344, 0.0394900441, -0.0084161162, 0.0118517689, 0.0701323673, 0.0174089633, 0.0483958907, 0.110773854, -0.027942393, -0.0406093076, 0.0026997763, -0.0112273842, -0.0141369002, 0.0004107945, -0.0003265447, 0.0040412331, -0.0532369502, -0.014763834, 0.0083633857, 0.0556854084, -0.0306604039, -0.0243302099, -0.0100336131, -0.0453218594, -0.0159151424, -0.0420015752, 0.0064539332, 0.0698520541, -0.0571411923, -0.0358857475, 0.0062205549, -0.0027754449, -0.0331069827, 0.0138178263, -0.0147712864, 0.0051199677, -0.0380698107, 0.041129224, 0.029765686, -0.0032618835, 0.0263027474, -0.0176755451, 0.013441571, -0.0296737365, 0.0259459317, -0.0475824364, -0.0292566624, -0.016794838, 0.0016327694, 0.0024818303, 0.0785699263, -0.0207901206, -0.0268537514, 0.0373982601, -0.0283174962, -0.0891573131, 0.003603756, -0.0967786312, 0.0082621723, 0.0490315743, 0.0119553711, 0.0247678589, -0.0248752888, 0.0635807663, -0.0043450999, 0.0333876349, -0.0677487701, -0.0344096422, -0.0203218069, 0.0148059763, -0.0325816162, -0.0042646844, -0.0483794436, 0.0211930443, -0.0485638604, -0.0132773472, 0.0013315137, 0.0036326491, 0.037103992, -0.0517037511, -0.0846566856, -0.0317053273, 0.0054391362, 0.046743542, 0.0115556214, 0.0113979271, -0.0055558239, -0.0599659197, -0.0256353002, 0.0163310058, -0.0181639735, -0.0351757333, -0.0190896951, 0.0601292513, -0.0362749174, -0.0354736187, -0.0819649175, 0.0265684966, 0.0021718713, -0.0367926694, -0.0170885716, -0.0538291298, 0.0734648034, -0.0161081478, 0.0166713335, -0.0024545137, 0.0026153778, 0.0305827931, -0.0348650403, 0.1096655428, -0.0532149598, -0.0107586225, 0.0567041598, 0.0037835788, 0.0002958655, 0.0265017524, 0.050559327, 0.0275364649, 0.0398021676, -0.001095126, 0.0171057824, 0.0373172425, -0.0078525301, 0.0186873749, -0.034286458, 0.0132874157, -0.0285146199, 0.0462322757, 0.0151925953, 0.0838148221, -0.0110466881, 0.051656276, 0.0293580294, 0.0021885769, 0.0237138625, 0.0595693104, 0.0301524289, 0.0014306133, 0.0222757589, 0.0122996513, -0.0075714816, -0.0219006296, -0.01735943, -0.0171274021, 0.0010842147, 0.0111031812, -0.0031379503, -0.005118697, -0.0215747431, -0.046164006, 0.0130173098, -0.0313418135, 0.0465623103, 0.0492999069, -0.0750532374, 0.0437001511, 0.0102878595, -0.059724424, 0.0339797661, -0.0236869417, -0.0271302946, 0.0445816554, 0.0296743829, -0.0169342067, -0.0220534857, -0.0104280058, -0.0408362746, 0.0278563555, 0.0291838534, -0.0118166357, -0.0032596756, -0.0885058641, 0.0398607962, 0.0589414984, -0.014741228, 0.0049973708, -0.0228146724, 0.0433131121, 0.0247729141, -0.0155636212, -0.0683203191, 0.055685129, -0.0160704311, -0.0076923673, 0.0289386325, 0.0176688768, 0.0426945128, -0.0124035636, 0.0004576314, -0.0371063612, 0.0176355895, -0.0009467271, -0.0350730084, 0.0331972055, -0.048563391, -0.0689260736, 0.0338964164, -0.0585593395, 0.0229952447, 0.0304429699, -0.0487621725, -0.0668993443, -0.025888646, -0.0360007286, -0.0006309891, -0.0221788213, 0.0657064468, -0.0202836469, -0.0310094859, -0.0370492265, 0.0291331261, 0.0174637195, -0.0112034613, 0.028899949, -0.003386765, 0.0709655657, -0.0363513567, -0.0035243712, 0.043345809, 0.0270156953, 0.020458512, 0.0297399629, 0.0001639237, -0.0523636416, -0.0512459464, -0.0662751719, 0.0044860831, -0.0008646591, 0.046825178, 0.0654653385, 0.0688655227, 0.0042724763, -0.0194921736, 0.0455317162, 0.0299909879, 0.0202970877, -0.0037999735, 0.0420891158, -0.0075258194, 0.0076936721, -0.0219708774, -0.0105527267, 0.0023913034, 0.0317592025, 0.0149053829, -0.058868777, -0.0813421011, 0.0349767692, -0.0082087796, 0.0071865586, -0.003798438, -0.0840620771, -0.0129792914, -0.0312782936, 0.0210298393, 0.0182633903, -0.0081459479, -0.0083593363, -0.0053907288, -0.020031983, -0.0148792937, -0.0168775264, -0.0000931506, 0.0050425637, -0.0260287505, -0.0400219336, -0.0168193541, 0.0199040025, 0.0285228342, -0.0065884599, -0.0256538149, -0.0157176703, -0.026371045, 0.0289364867, 0.00730584, 0.0363153256, -0.0230198912, 0.0496067181, -0.0275036395, -0.0232339408, 0.0373651199, -0.0256882105, 0.0150276897, -0.1220178381, 0.019811172, -0.0249092095, -0.0254949834, -0.0284360647, 0.0131036956, -0.0565812252, -0.0463286191, -0.0417612754, 0.0045555872, 0.0192563124, -0.0303076115, -0.0099903177, -0.1076321825, 0.0375611298, -0.0295746792, 0.005138576, -0.0161180031, -0.0371300802, 0.0496698506, -0.0302329026, 0.0285082478, -0.0326793492, -0.008113998, 0.0084164478, -0.0062498376, 0.0491945334, -0.0054405243, 0.0067537469, 0.0016655205, 0.0378180742, 0.0043333638, -0.0256553274, 0.028144883, -0.0050387867, 0.0275320243, -0.0200338736, 0.0198154338, -0.0143936202, -0.0436306633, -0.0317659974, 0.0215989929, -0.0243639927, -0.0187276416, -0.0120424293, 0.0611621588, -0.0007670401, -0.0248816982, 0.0781285241, 0.0401049964, -0.033065144, -0.0387574174, -0.0101343021, -0.0305351727, -0.0235029552, 0.0143916225, -0.0924047679, -0.0076523325, 0.0411569849, 0.0196543932, 0.006799784, -0.0017153393, -0.0373568162, -0.0932932496, -0.0203307346, 0.0409347899, -0.0305341296, -0.0644443333, 0.0066637076, -0.0438708849, -0.0238142051, 0.0666207671, 0.0221961699, -0.0107774874, -0.0213360079, 0.0110489223, 0.0414479002, -0.0623752028, -0.0465968177, -0.0215216838, 0.0412747376, 0.0627898648, 0.0316822082, -0.0251573958, -0.0163874179, 0.0284433067, -0.0149835031, -0.0240797177, -0.0105421552, 0.0243375544, 0.0188534036, -0.0226709265, 0.0109411068, -0.0031340146, -0.013285568, 0.0303112715, 0.019570075, 0.0481748395, -0.0088325106, 0.0163727049, 0.0232644007, -0.0629746169, 0.0233234353, 0.0189879872, -0.0043457616, 0.0014495448, 0.0002045651, -0.0044249152, -0.0275089014, -0.0401003249, 0.0682525262, 0.0427523889, -0.0863547996, -0.0357072204, -0.0741922557, -0.0520596616, 0.0174362976, 0.027789481, 0.0479467064, 0.0336151049, 0.0367112979, 0.0170234274, -0.0088950433, -0.012389103, -0.0330621563, 0.0258432664, -0.0476709865, 0.0353024825, 0.0173548926, -0.0081975954, 0.0137374708, -0.0012479798, -0.0721324608, -0.051491566, -0.0049673477, 0.0263746027, 0.021897357, 0.0408990346, -0.0518842563, -0.0373198502, 0.0276159327, 0.022823723, -0.0236596894, -0.029105179, 0.0056576785, 0.0118856616, 0.0021824255, 0.0276734084, -0.0199261587, -0.0017851536, -0.0036997139, 0.0029790488, -0.0113618402, 0.0101736663, 0.0586209372, 0.0427607596, 0.01705488, -0.0497996546, 0.0113906665, -0.0296466295, 0.0127957184, -0.010883769, -0.0034337356, -0.0180076845, 0.0177698415, 0.0930880457, 0.0199492723, -0.021009909, -0.0101280147, -0.0085286433, -0.0322275572, 0.0056040776, 0.0163697135, 0.0025001082, 0.0863200948, 0.0426851511, 0.0256438795, 0.0009879987, -0.0061739637, 0.0048368233, 0.0232152231, -0.0127573321, 0.0607676059, 0.0231184643, 0.0157366879, 0.0157363117, 0.0620672069, 0.0443454608, 0.0046221442, -0.0285806004, 0.0411171094, 0.0748750344, -0.0055190749, 0.1042247862, 0.0035651599, -0.0020465748, 0.0014798217, 0.0427480191, -0.0164748188, 0.050588768, 0.0103085628, -0.0167929027, -0.0083341859, 0.0295318011, 0.035263963, -0.0562065616, 0.0001092017, -0.0002373552, -0.0352418125, -0.0190607514, 0.0272327289, -0.0410045981, -0.0118188029, 0.0161107481, -0.033593569, -0.0043557272, -0.0508772694, 0.0010978318, -0.0121920267, 0.0377311297, -0.0003117223, 0.0198969133, 0.0645738542, 0.0132867396, 0.0106269605, -0.0419636033, 0.0083125141, 0.008307144, -0.0296800453, -0.0590201132, -5.509305087e-33, -0.0299526881, 0.019145418, 0.0041334769, -0.0268551949, -0.0387895741, -0.0413167551, -0.0119175315, -0.0608000569, 0.0107424334, 0.0337138511, -0.0140501037, 0.0383650549, 0.0302771367, -0.0105956448, 0.0213427506, 0.0185914915, 0.0708275437, -0.0054655988, -0.001996825, 0.0132543445, 0.0755177066, 0.0260643475, 0.1151226535, -0.0656689033, 0.0294050667, -0.0585015714, -0.0222360268, 0.0632271916, -0.030183848, -0.0119334711, 0.0029932058, 0.0236907005, 0.0186345745, -0.0165372267, -0.0328201912, 0.0012893089, -0.1017774418, 0.0085343188, 0.0329882242, 0.1148735806, -0.0103950808, -0.0384193957, 0.094453223, -0.0343249589, -0.0256425031, 0.0232231524, -0.0013401643, -0.027117664, 0.0133304298, -0.0085404282, -0.0662290603, 0.0354427472, 0.0015845163, -0.0090629412, 0.0342345871, 0.0290155988, -0.0235995483, -0.0201578327, -0.1062225327, -0.0363424681, -0.0184087157, 0.0399169736, 0.0209994819, 0.0124568352, -0.0316237286, -0.0380022489, 0.0530202277, -0.0283783637, 0.0828131214, 0.0252393093, 0.0034273807, -0.0133064883, 0.0356582515, 0.0354627632, 0.0965355709, -0.0813979059, -0.0405840501, 0.0227799118, -0.0151176248, 0.0303108245, -0.011348417, 0.0082637882, -0.053523358, -0.0285772774, 0.0077440375, -0.036905963, -0.0159332678, -0.0426136665, 0.0411120877, -0.0140711339, -0.0022603169, 0.0270348676, 0.0382638834, -0.0336371772, 0.0158084445, -0.0419549793, -0.049125541, 0.0213887952, -0.0111872861, 0.0343030691, -0.0325779393, -0.0470374785, -0.0107068093, 0.0655936152, 0.0147911431, -0.0167728253, 0.0289755315, 0.0028386815, -0.0385145135, 0.0241958071, -0.0282506235, 0.0154694756, -0.0006922559, 0.0247116182, -0.0133877899, -0.0068073822, -0.0131765148, -0.0077273189, 0.0425867811, -0.015011264, -0.0024600155, 0.0232536905, 0.0206524376, 0.0210293494, -0.052757673, 0.0088805435, -0.0512955263, 0.0082650753, 0.0268491767, -0.0525669418, -0.0088112438, 0.0225932356, 2.777e-7, 0.0039349515, 0.0678896308, 0.0369486064, -0.0358350277, -0.0021655087, 0.0045772758, -0.0476913676, -0.001992899, 0.0090198563, 0.0622022487, 0.0373413488, -0.0394751802, 0.0665863603, 0.0235190783, -0.0942044631, -0.0105426302, -0.0459017567, 0.0038415003, -0.0429938398, 0.0203452036, 0.0140629392, 0.0650026873, 0.0414178558, -0.0182252675, -0.0309002344, -0.0335258506, 0.0354966111, 0.0189249869, -0.0265062153, 0.0274077784, 0.0589201525, 0.0138680199, -0.0664396286, 0.0098722782, -0.0178919546, 0.0021192676, 0.0415218733, 0.0381431617, -0.0150516313, 0.0631100982, 0.0125527512, -0.0127155362, -0.0147355963, -0.0244045015, 0.0417060554, -0.0049894541, -0.0054033082, 0.0055433293, -0.0152298799, 0.0161506813, 0.0357395969, -0.0130572626, 0.0058801896, 0.0000076667, 0.0360236019, -0.0075900475, -0.0441216379, -0.0287955441, 0.0044090291, 0.008086944, -0.0098707862, -0.0563802011, -0.0072365855, 0.0239442661, 0.0252343826, -0.0373195335, 0.0264463592, 2.202951489e-34, 0.0375511944, -0.0282194074, 0.0318864994, -0.0271635763, 0.0439883806, -0.0396135896, -0.0083386656, 0.0225347113, -0.0290669836, -0.0440595597, -0.0124125676 ]
http://arxiv.org/abs/2401.06394v1
http://arxiv.org/pdf/2401.06394v1
Adaptive Data Augmentation for Aspect Sentiment Quad Prediction
2024-01-12T06:20:56
2024-01-12T06:20:56
Wenyuan Zhang, Xinghua Zhang, Shiyao Cui, Kun Huang, Xuebin Wang, Tingwen Liu
cs.CL
cs.CL, cs.AI
Aspect sentiment quad prediction (ASQP) aims to predict the quad sentiment elements for a given sentence, which is a critical task in the field of aspect-based sentiment analysis. However, the data imbalance issue has not received sufficient attention in ASQP task. In this paper, we divide the issue into two-folds, quad-pattern imbalance and aspect-category imbalance, and propose an Adaptive Data Augmentation (ADA) framework to tackle the imbalance issue. Specifically, a data augmentation process with a condition function adaptively enhances the tail quad patterns and aspect categories, alleviating the data imbalance in ASQP. Following previous studies, we also further explore the generative framework for extracting complete quads by introducing the category prior knowledge and syntax-guided decoding target. Experimental results demonstrate that data augmentation for imbalance in ASQP task can improve the performance, and the proposed ADA method is superior to naive data oversampling.
[ 0.0332274176, 0.0815495253, -0.0167408977, 0.0035940856, 0.0137813399, 0.0043529999, -0.0224601831, 0.0008499435, -0.0356069952, -0.0195855219, -0.0421720296, -0.0101268338, -0.0330687203, 0.070827134, -0.0222071074, -0.0054610716, 0.0317037702, 0.0409211442, 0.0185241848, -0.0162355956, 0.0267475471, 0.0325987898, 0.0163192581, -0.0231077764, -0.0491010994, -0.0001434248, 0.0204301961, 0.0148006119, 0.0124601359, -0.0427111499, 0.047958117, 0.0380035117, -0.0071002212, -0.0255463645, 0.0000021561, -0.0233583078, -0.0350933634, -0.0208105724, 0.0335428007, 0.008001972, 0.0611185543, -0.0385807566, 0.0377075188, 0.0207218956, -0.0527722798, -0.0387513749, 0.019443972, 0.1164513156, 0.0331660621, 0.0592267402, -0.0313396305, -0.029674584, 0.0207368955, -0.0195439029, -0.0115785664, -0.052237466, 0.0048797433, -0.0111938603, -0.0282160603, 0.0437952727, -0.0089637889, -0.0122439293, 0.0399940237, 0.0466464497, 0.0428601764, 0.0217980761, 0.0357235186, 0.049789872, -0.0181112811, 0.019842511, 0.0243063718, -0.0031913428, -0.0413031355, -0.0296298992, 0.0399347693, 0.017963931, -0.0170337819, -0.0018289282, -0.0053385114, 0.0623033606, 0.0670719296, 0.0439898707, -0.0221335497, -0.0007449999, -0.0037557508, 0.0489173606, -0.0213339999, -0.0793126523, 0.010670186, 0.0740434378, 0.0100731468, -0.0076913638, 0.0100742737, -0.0024701657, -0.002334113, 0.0201576129, -0.0154602248, 0.0127651608, 0.0150848972, -0.0745004117, 0.0229747593, 0.008728005, -0.0332534648, -0.0003545826, 0.0166751835, -0.0213497654, 0.0605951175, -0.0365003906, -0.0579505712, 0.0233393107, -0.0636596084, 0.0127655212, -0.0359379686, 0.0544910431, -0.0444222093, 0.0238190442, -0.0681912899, 0.0073792143, 0.0243376642, -0.0253976397, 0.0452067479, -0.0032732245, -0.0173081756, 0.0273111761, -0.0170287471, 0.0507426485, -0.0496545695, 0.0486159064, -0.049545832, -0.0079589831, -0.0130655644, -0.0055133686, 0.0090383943, -0.0603124537, 0.0038422884, -0.0004679098, 0.0172593426, -0.0552186482, -0.0244922657, -0.026463639, -0.0356747545, -0.0232209936, -0.0136266295, -0.058034759, 0.0128039001, -0.0162683018, -0.0162816718, 0.0111255115, -0.0010503758, 0.0006119782, -0.0119700069, 0.0100968471, -0.0629750714, -0.0233121309, -0.0435947664, -0.0084850267, 0.0608323216, 0.0530162826, -0.0073457002, 0.0315971337, 0.010190933, 0.0078560477, 0.0168164484, -0.01087151, -0.0081179012, 0.04363456, -0.0062960121, -0.0102654081, -0.0530945323, -0.0372076742, 0.0367269926, 0.0054853908, -0.000226822, -0.0298036393, 0.0312013682, -0.0524682961, 0.0072943592, 0.0915848389, -0.0342864357, -0.0007365624, -0.031375207, 0.0216520727, -0.0203578714, 0.0408526286, -0.0495529436, -0.0015037942, 0.0097404765, 0.0358224809, -0.0228912458, -0.096579574, -0.0060588862, -0.0028549484, 0.0306543689, -0.0155910738, 0.0465107933, 0.0407869481, -0.013123394, -0.0666114166, 0.0572973453, -0.0341445133, -0.0168232378, -0.0028211838, 0.0123461895, 0.0701343715, 0.0195381343, -0.042608127, -0.048203323, 0.0033953513, -0.0715957433, -0.0092265122, 0.024682859, 0.0063201543, -0.0085487515, -0.0288627576, -0.0289185047, -0.0117578339, 0.0133509552, -0.0185460355, -0.0201866291, 0.0762251467, -0.0349849202, -0.0237378292, -0.0121393381, -0.0109679708, 0.0175478868, -0.0337837227, 0.0661379695, -0.0110846683, 0.0134235295, 0.0531894341, 0.0122912517, -0.0146378186, 0.058529377, -0.0441612825, -0.0831940994, 0.0203715172, -0.0654564276, -0.0706366822, 0.0406846106, 0.0059014265, 0.0066883191, -0.01566373, -0.0458015911, -0.0262524746, 0.0464689024, -0.0279317163, 0.0319383591, -0.0466755256, -0.0098245759, 0.0276151281, 0.0373782888, 0.0014327688, 0.0795877427, -0.0351670571, -0.0203756299, -0.0761201531, -0.0179515444, -0.0090734446, 0.0254021063, 0.0091017103, -0.0258938204, 0.0226776432, 0.0264559239, 0.0269717723, 0.0075119352, -0.0052181296, -0.0064211641, -0.1030045152, 0.0155029995, 0.0129478704, 0.0352031477, 0.0203379318, 0.0158427861, -0.015350136, -0.0046859626, -0.0691436753, -0.0211539455, -0.0250592269, 0.0153226657, 0.0299622975, 0.052231811, 0.0073285121, -0.0001596891, 0.0047351611, -0.0300148521, 0.0083642658, 0.0217849445, -0.037965849, -0.0387191996, 0.0424972288, 0.0042575393, 0.0249428544, 0.019725563, -0.0325653441, -0.0620713308, -0.0016970071, -0.0211222321, -0.0082682613, 0.0188792665, 0.0264150854, 0.0126970159, 0.0204492826, 0.0106859934, 0.0381829478, -0.07262858, -0.0050581237, -0.0107268207, -0.0515668727, 0.0065921741, 0.081784077, 0.0075264573, -0.0082389945, -0.038222, 0.0272011999, 0.0077696606, 0.0032719052, 0.01110713, 0.0106651597, 0.003312421, 0.0407090299, -0.0008103457, -0.0080634588, 0.0667813644, 0.0311460588, 0.0165459942, -0.0778193697, -0.0194129236, -0.0330679864, 0.0469209515, -0.0417446867, 0.0266859997, 0.0075496999, 0.0052704122, -0.0106833531, -0.0289543308, -0.0396473557, -0.0173905622, 0.0263692923, 0.0188862626, -0.0324948765, 0.0116812875, -0.0465573259, 0.0057481322, -0.0304604098, -0.014395508, -0.0018970934, -0.0189419109, -0.0247314591, 0.0321791917, -0.0304329656, -0.0559514388, -0.0141818384, -0.0363028981, -0.0327487737, 0.0182383768, 0.0555770583, 0.0640414804, -0.0256477948, 0.0131049892, -0.0403632112, -0.047434058, 0.0463296436, -0.0542382821, 0.0133570498, 0.0225444622, 0.0009727611, 0.0411776714, 0.031330511, -0.0072929948, -0.0387521721, 0.0659059659, -0.0429859944, -0.018432932, 0.0969387293, 0.0581015423, -0.0526676551, 0.0188025106, 0.0083309449, -0.0213722419, 0.0243879296, 0.0205006842, -0.0793677419, -0.030732533, -0.0451665856, 0.0294716004, -0.0036272912, 0.000128942, 0.0104349339, -0.1137312427, 0.0367226265, -0.0035592106, -0.0498650894, -0.094092533, -0.0148352599, 0.020476507, -0.0465093143, 0.0252676308, -0.0167744048, 0.0041862661, 0.033619903, 0.0224642437, -0.0132886125, -0.0207596794, 0.0270065106, 0.0039466866, 0.0281719081, 0.0195860974, 0.0391371772, -0.0247204807, -0.0326039046, -0.0050440561, -0.0913642421, 0.0019484317, -0.0085033802, 0.0615935698, -0.0436606109, -0.0043476066, -0.0191192385, 0.0195233561, -0.0464709662, -0.0010432849, 0.021987576, 0.0577128306, -0.001662732, -0.0062538614, -0.0339098908, 0.0106927371, 0.0217797756, 0.0583321974, 0.0030014215, -0.078414537, 0.0247057714, -0.0365063548, 0.0032114564, -0.0903718621, 0.018782625, 0.0096638557, -0.00681997, -0.0575664528, -0.1033367813, -0.045727931, -0.0079598846, 0.004564777, -0.0184222199, 0.0232135281, -0.0062982342, -0.028445283, -0.0521978475, -0.0179258026, -0.003734414, 0.0029865641, 0.0369357876, -0.0397583954, 0.021913873, -0.0884537548, -0.0147209084, -0.0086408025, -0.0347290933, -0.0335189514, 0.0014508996, 0.0260593072, -0.0009761394, 0.0208808631, -0.0223022308, 0.0186963379, -0.0156797618, 0.092589356, -0.0178801436, 0.015821768, 0.0458186343, 0.0301942062, 0.037599206, 0.0351181813, -0.0145193823, 0.035054639, 0.0408494584, -0.0235751588, -0.0730032697, -0.0730275363, 0.0298136026, -0.0099350335, 0.0289351363, -0.0003274053, -0.0214368943, -0.0094437962, 0.0162242483, -0.014707624, -0.0155985346, -0.0335153453, 0.0068131792, 0.0157283563, -0.0075793895, -0.0411163643, 0.0343322828, -0.0207997616, 0.0118655944, -0.0741786659, 0.0512131751, -0.0087016271, 0.0013370631, -0.0269864406, 0.026373703, 0.0175389703, -0.0640794039, 0.0186608173, 0.0210576802, 0.0046447762, 0.0258515235, 0.0252932608, 0.0362349413, -0.0328626521, 0.0081635611, -0.0184733439, 0.0668632984, -0.0386416391, -0.0381261483, -0.0108423224, -0.0431571268, 0.0318309218, -0.0279213488, 0.0104652336, 0.0046484792, 0.0291510541, -0.032191392, 0.0073433733, 0.0372605436, 0.0018425859, -0.0354338996, -0.0444356799, 0.0539980307, -0.1000197902, 0.0619940199, 0.0132302428, -0.001865656, -0.0226052124, -0.0179354604, 0.0564728528, 0.01758161, 0.0193088613, 0.0353705101, -0.0640306771, -0.0403720699, 0.0203286093, -0.0459970944, 0.0392041393, -0.0031551349, 0.0173501093, 0.013930832, 0.017521454, 0.0176031329, -0.0530229434, -0.0345063172, -0.0051314216, -0.0205114465, 0.0187001843, -6.973815662e-33, -0.0308864135, 0.0161051508, -0.027943844, -0.0264560357, -0.0335043892, -0.0016303862, 0.0092931353, 0.007793122, 0.029661119, 0.0283025205, 0.0038417024, 0.0131816473, 0.0014170775, 0.009194403, 0.0323693082, 0.0349411741, 0.0455507934, 0.0075657167, -0.0047888546, 0.0529192984, 0.0283639543, 0.0314739533, 0.111806199, -0.0879053399, -0.0047287773, -0.0159226004, -0.0433008187, 0.0069656204, 0.0119019393, 0.0477441438, 0.0040157042, 0.0414279252, 0.0372522473, -0.0127368746, -0.009097591, -0.0265442282, -0.024854891, -0.0317773521, 0.0233918056, 0.0271109082, 0.0177963916, -0.0262426138, -0.0104248375, 0.0050691618, -0.0234886948, -0.0255411323, 0.0199400485, -0.0583988875, 0.02139505, -0.0842970535, 0.0002581344, 0.0238348003, -0.014706336, 0.0019354168, -0.0026846088, 0.0361729041, 0.0357649066, 0.0035332462, -0.0004162993, 0.0364010409, 0.0052724471, 0.0350064114, -0.0181124695, -0.0344440527, 0.0129109342, 0.0517082959, 0.0105369128, 0.0215458032, -0.0112208668, 0.0662493482, 0.0007073205, -0.0039150133, -0.0083450228, 0.054180868, 0.0972933173, -0.0400513411, -0.000265288, 0.0482403785, 0.0187615473, -0.028597692, 0.0569293723, 0.0278869532, -0.0617498197, -0.0270879976, 0.0479503013, -0.0006784666, -0.0378306843, -0.0289975945, 0.0062466292, 0.0423988625, -0.0297413152, 0.066711612, -0.0135665862, -0.0439998768, -0.0048224009, -0.0046773017, -0.0437992103, 0.0241638031, -0.006302115, -0.0203248933, -0.0295630656, 0.0030632133, 0.0274583772, 0.0226208083, -0.0020109485, 0.0019987356, 0.1049786285, -0.0006631874, -0.1048266813, -0.0104793441, -0.0124720773, 0.0571088716, 0.0345146768, 0.0610985383, -0.0025357245, 0.0234736968, -0.023635909, 0.0987277403, 0.0379055627, 0.0301777609, -0.0648740232, -0.0295426399, -0.0099207638, 0.015389937, 0.0131681543, -0.0283445362, 0.0375080369, -0.0398809239, -0.0422243513, -0.0566926263, -0.0560670495, 0.0230346397, 2.989e-7, 0.0558781959, 0.0467002802, 0.0049344348, 0.0142647568, -0.0036318388, 0.0518934056, 0.0034109196, 0.0333403721, 0.0083451085, 0.0137215294, 0.0258339122, 0.0341499001, -0.0306971669, 0.0365932621, -0.0572237112, 0.054349307, 0.0010158058, -0.0000079646, -0.0121445348, 0.0339511149, 0.0856760517, 0.0920887291, 0.023467131, -0.0267682876, 0.0320630707, 0.0495233126, -0.0021796606, 0.0202223305, -0.0489007309, 0.0236859526, -0.0649562404, 0.0038558077, -0.0002997516, 0.003840623, -0.0244652461, 0.0287057739, -0.0203214418, 0.0307767056, -0.0011413811, -0.0375525542, 0.0434483923, 0.0632041618, 0.0080586188, -0.0033644109, 0.0458090119, 0.0151993837, -0.0314030871, -0.0712584406, -0.0480531268, 0.0429349244, 0.0103467293, 0.016569199, -0.0104349805, 0.0404782854, -0.0062062815, -0.0269407872, -0.0390776619, -0.0392343402, -0.0164482631, 0.0563487224, 0.0122254789, -0.0520943142, 0.0196953677, 0.0342191756, -0.0261634924, -0.067451492, 0.0184270889, 2.720686496e-34, 0.0705997944, 0.0167508479, 0.016507946, 0.018951755, -0.0064142863, -0.0273627732, -0.0304193534, 0.0170083214, 0.0322902016, 0.0104581369, -0.0124496287 ]
http://arxiv.org/abs/2401.06382v1
http://arxiv.org/pdf/2401.06382v1
What should I say? -- Interacting with AI and Natural Language Interfaces
2024-01-12T05:10:23
2024-01-12T05:10:23
Mark Adkins
cs.HC
cs.HC, cs.AI, cs.CL, I.2.m; J.4; B.4.2
As Artificial Intelligence (AI) technology becomes more and more prevalent, it becomes increasingly important to explore how we as humans interact with AI. The Human-AI Interaction (HAI) sub-field has emerged from the Human-Computer Interaction (HCI) field and aims to examine this very notion. Many interaction patterns have been implemented without fully understanding the changes in required cognition as well as the cognitive science implications of using these alternative interfaces that aim to be more human-like in nature. Prior research suggests that theory of mind representations are crucial to successful and effortless communication, however very little is understood when it comes to how theory of mind representations are established when interacting with AI.
[ 0.0728244111, 0.0115307225, -0.0671261773, 0.0019932839, -0.0235587098, 0.0028799947, -0.0028997953, -0.0027646176, 0.0545435138, -0.0243740696, -0.0431631319, -0.0271309353, 0.0631132722, 0.026746219, 0.013341533, -0.0767757446, 0.0118257329, -0.0151926707, 0.0277835298, 0.0286847688, 0.0095662531, 0.0584435835, -0.0322976224, 0.0563057475, -0.0294411238, -0.0125275264, -0.0510693416, -0.0210103299, 0.033325918, -0.0216500647, -0.0469798893, 0.0124733942, 0.0212326515, 0.0222403668, 0.0000018121, -0.0687778443, 0.0641816407, -0.0011542153, -0.0242962707, -0.0326640308, 0.0259347074, 0.0448911823, 0.0255525764, 0.0040925099, -0.068362996, 0.0386837833, 0.0509317294, 0.0826624632, -0.0054913554, 0.0121242004, -0.0194325689, 0.0234074034, 0.0172294509, 0.0143257389, 0.0331403315, -0.0599975139, 0.0038624371, -0.032667473, 0.0486030392, -0.0537645034, 0.0091031678, 0.0038164074, -0.0062543559, -0.0226538498, 0.0130229183, 0.0143432748, -0.0055449209, -0.0310986433, -0.0237554591, 0.0543541536, 0.0891632512, -0.0119794672, -0.0140928179, 0.0292935222, 0.0474711955, 0.0252690371, -0.019627044, 0.0065312581, -0.0061032269, -0.0137099912, -0.0042304345, 0.0137341628, -0.0238297153, 0.0564804673, -0.0160648562, 0.0079849828, -0.0478384793, -0.0109533342, 0.0384942405, -0.0376936793, -0.0046677706, -0.0459225066, -0.0288068652, 0.0371962078, -0.0499558859, -0.0066810278, -0.0444479771, 0.0103596151, -0.0079925787, -0.0243394114, 0.0763917416, 0.0407316498, 0.0162760615, 0.0088798786, 0.0499279313, 0.0440308899, 0.005533888, -0.0087327817, 0.0058305245, 0.0150910364, -0.0697678998, -0.0293098241, -0.0191510841, 0.0560462587, 0.0303157996, -0.0283591691, 0.0438044257, 0.0201963801, -0.0477343351, 0.0055473158, -0.0560864881, 0.0076117767, -0.0185124464, 0.0280217938, -0.041940622, 0.0082473755, -0.0551433638, 0.0190878678, 0.0169766787, -0.0903456211, -0.0092966584, -0.00321374, 0.0131035829, 0.0166542567, -0.028724974, 0.0169660319, -0.005920596, -0.022492934, -0.0003790608, -0.0070047444, 0.0249189343, -0.0477871932, -0.0161184762, 0.0154892141, 0.0100645684, 0.0127935596, -0.0316159017, -0.0439250506, 0.024532523, 0.0174671821, -0.0731409192, 0.0606985092, -0.0442005731, -0.0179670453, 0.0316264704, 0.0235803798, -0.0248157457, -0.0059976922, 0.0142139895, -0.0009698923, -0.0068405829, 0.0287997536, 0.0484288856, -0.0219620876, -0.0184109304, -0.0313601233, -0.0145188011, 0.0067093926, -0.0372501537, 0.0262154415, 0.0355518311, 0.032033857, -0.0075272978, 0.0283582956, 0.0528914742, 0.1030636281, -0.0448316596, 0.003568602, 0.0348199345, 0.0427602753, 0.0322432443, 0.0450831428, -0.0427318327, 0.0277137272, -0.0290376469, -0.0404030196, 0.0115169398, 0.0188182481, -0.0373745151, -0.0263174586, -0.0141802486, 0.0034214035, 0.0559438728, -0.0033922247, -0.0192119721, 0.0013642855, 0.0469965674, -0.0373819806, 0.0101129161, -0.0215552598, -0.0321008377, -0.0642948076, -0.0075739562, 0.0569511876, 0.0136686498, -0.006603804, -0.0135506103, -0.0209578667, -0.0359588563, 0.092943646, 0.0610544831, 0.0018935344, -0.0552710146, -0.0084541133, 0.0247641504, -0.0221312419, 0.0106118675, 0.0177048221, -0.0576979332, 0.0287450682, -0.0003266801, 0.0392857455, -0.0185532738, 0.0041638636, 0.0608615279, -0.0092611937, -0.0596998818, 0.027190946, 0.01315716, 0.0221661776, -0.0138080968, -0.0078103133, 0.0196568333, 0.0515438914, -0.0218773093, 0.0624824129, -0.0086139226, 0.0169470087, 0.0121704163, -0.0472979322, -0.0541061051, 0.0195726454, 0.0251411181, -0.0320703797, 0.0174498409, -0.0659222975, 0.0332809724, -0.0206515025, 0.0020851521, -0.0417661369, 0.0057631428, 0.017605653, 0.0169839617, -0.0190113708, -0.0353221335, 0.0388140939, -0.0427511148, 0.0227551442, -0.0217299424, 0.0250893496, 0.0493345149, -0.0067178272, -0.0073285578, 0.0056818137, -0.0199554618, -0.046078302, 0.0272535495, -0.0988267139, -0.0752528384, 0.0180257633, -0.0231175441, -0.0177156515, -0.0188392587, -0.0071946289, -0.0118086068, -0.038942147, 0.0213334952, 0.0094942367, -0.0026295595, 0.0590275377, 0.0142150354, -0.0131650697, -0.0004723284, 0.0564945564, -0.032242056, 0.0382121615, 0.0232556518, -0.0590052977, -0.0358277224, 0.0252939835, -0.0549965315, 0.0357635394, -0.0082944799, -0.0375598557, 0.0592872724, 0.0381978825, 0.0136946943, 0.0746840313, 0.004129475, 0.0468526669, 0.0525461882, 0.0214310084, -0.0360159688, 0.0249901935, 0.0823187605, 0.0196927022, -0.0156476106, -0.0363916196, 0.0005723949, 0.0145684676, 0.0264368057, 0.0323641896, -0.04715183, 0.0682076514, 0.0136206532, -0.0520090908, 0.017475741, -0.0427995026, -0.0201614201, 0.0606704541, 0.012323916, -0.020092316, 0.0693898872, -0.0170033835, -0.0074530309, -0.0187372584, 0.0121024633, 0.0000405873, 0.0508756004, -0.0217122082, 0.0347831547, 0.0552474894, -0.0370210335, -0.0719045475, -0.0056849299, -0.0481849983, 0.0025156932, -0.0304285605, -0.0474895723, -0.0112335226, 0.0315419547, 0.0106576513, -0.0467884727, 0.062873587, -0.056726031, 0.0146558173, -0.0070332405, -0.0283176936, -0.0306066796, -0.0279336348, 0.0493122637, -0.0200435817, 0.0060563018, -0.0395915061, -0.017432915, -0.009975967, 0.0657213777, 0.0507864356, 0.0166876521, 0.0653939918, 0.0521477349, 0.0269497596, 0.025117496, 0.0515560247, -0.0056081833, -0.0209942106, 0.0361200646, 0.0052565858, -0.0193958338, 0.0587023348, 0.0290058814, 0.0142435785, -0.0003830428, 0.0814737603, 0.0287524853, -0.0611517355, 0.0114599336, -0.0394064859, -0.0239334144, 0.0051697325, 0.0121735586, -0.0553121977, 0.00703358, 0.0065390868, -0.0476898067, -0.054364752, -0.0402692407, -0.0021753227, -0.0496692508, 0.0130685987, -0.0198700204, 0.0101366742, -0.0549242198, 0.0061294185, 0.0503829569, 0.070076853, 0.035918083, -0.0204241332, 0.0029156227, 0.0218790136, -0.0167034008, -0.0016470257, -0.0041035432, 0.0270944778, -0.0160904806, 0.0739055052, 0.0837221593, 0.0614981912, 0.0034754202, -0.0511437505, -0.0161706507, 0.0611764453, 0.0625551641, -0.0342829935, 0.0039432468, -0.0107668955, 0.0563765951, -0.0317967273, 0.0379471853, -0.025564421, -0.003789952, 0.0173157081, 0.0680954009, -0.0669832155, -0.0045688879, 0.0007641491, 0.0166992079, -0.0010265325, 0.0430991389, 0.0391351171, -0.0605689473, 0.0340260379, -0.0062138271, 0.0065926984, 0.0531867146, -0.0479466654, 0.0196456183, 0.030675156, -0.0310933199, -0.0387768485, -0.0844020694, 0.0108070783, 0.0125017278, 0.0394824892, -0.018683102, 0.0493011214, 0.0253735539, 0.0000860946, 0.0239119194, -0.0161912721, 0.0077752606, 0.0105207898, -0.0216614511, -0.0204627868, -0.0720590204, 0.0174389724, -0.014511711, 0.0585181676, -0.0314514674, -0.0100241378, 0.0301446747, 0.0254864208, 0.0237954315, 0.0275658611, -0.0445835181, -0.0082379179, -0.0283338912, -0.049604129, 0.0397484079, -0.00330418, 0.0440685563, -0.0008347545, 0.0384513699, -0.0006006544, -0.0217500106, -0.0215772316, -0.0325419791, 0.0004062158, -0.0414199196, 0.0430790111, 0.020788718, 0.0209522136, 0.0131412763, 0.0155171147, -0.009687284, -0.0163065325, -0.028283786, -0.022419339, -0.0361902043, -0.0390427969, 0.0089136586, 0.0598888285, -0.0051739798, -0.0721943229, -0.054415457, -0.0096273376, 0.0170711111, -0.0207602102, -0.0120866848, 0.0779928043, -0.0225358829, 0.0036470718, -0.0002585486, 0.0209915061, -0.0348745584, 0.0114918137, 0.02000615, 0.1234740838, 0.0242537539, -0.0485607609, -0.0077525401, 0.0345343463, -0.05782599, -0.1058136821, 0.0467940196, -0.0102652647, 0.0030312459, 0.0033937099, -0.0334319286, -0.0516126677, 0.0463171601, 0.05689881, 0.0260294303, 0.0021234965, -0.0396843217, -0.0219103228, -0.0104979398, -0.0235267095, -0.013920798, 0.0076652733, -0.0722684935, 0.0025192713, -0.0125187663, -0.01900726, -0.0260918699, -0.0029499489, 0.0045281798, 0.0818636194, -0.004256424, 0.033124648, -0.0707073361, -0.0150036933, 0.0345026217, -0.0271005146, 0.0069101369, -0.0553225726, 0.0661227331, 0.0392889865, 0.0032937482, -0.0648791343, 0.0219397116, -0.0011501255, -0.0628987327, -0.015976321, -0.0764117688, -5.681809617e-33, -0.0182742979, -0.0778762251, -0.0050895722, 0.0205901042, -0.045875866, -0.0528576188, -0.02652134, 0.0264429655, -0.0247046631, 0.0070982324, -0.0433228426, 0.0212198142, -0.0115041612, -0.0110334363, 0.0183327124, 0.0245591532, 0.0143765686, -0.013318073, -0.0130579388, 0.0073897024, -0.0065924129, -0.0149999717, -0.0081737265, -0.0881659389, 0.0647819489, 0.0301564317, 0.0046797078, -0.0019184306, -0.0077819503, -0.0224765427, -0.0268336292, 0.0593928136, 0.0412399471, 0.0270776674, 0.0125546157, 0.0596696809, 0.0191414412, -0.0695599839, 0.0362226367, 0.0140396003, -0.0028541279, -0.0597816668, -0.0301281586, -0.0413742065, -0.0376815498, 0.033298064, 0.0525862947, 0.0080260243, 0.06235677, 0.0378418192, -0.0954559222, -0.0533063225, -0.0220785942, -0.0313473493, -0.0164581109, 0.0422192924, -0.0031180969, -0.0488211848, -0.0600005426, 0.0091559589, -0.0129773496, -0.0405777507, 0.0563594364, -0.0234228522, 0.0248048883, 0.0404306278, 0.0462761819, 0.0154103814, -0.0479239263, -0.0245686471, 0.0121793048, 0.0369606577, -0.0136193326, -0.0061343135, -0.026435053, -0.0401671566, -0.015301073, 0.0176107753, 0.0110897524, 0.0655268803, -0.008969157, -0.0005002494, -0.0765760094, 0.0095564881, -0.0123961167, -0.0631515086, -0.0311022885, -0.0345195346, -0.0076352027, -0.0393162146, 0.0056091826, -0.0370738097, -0.0101045649, -0.0261740759, 0.0296087284, -0.0290379506, -0.0180156901, 0.0092705507, 0.0126488749, -0.0132605154, -0.0088677164, -0.0206428654, -0.0086619509, 0.0050927224, 0.0501184054, 0.0322460048, 0.000133139, 0.000583769, -0.011664263, -0.0227263365, -0.0234766491, 0.0205774158, 0.0101278014, -0.0592616871, -0.0036905576, 0.0452501439, -0.0388382301, -0.0274053011, -0.0048354161, -0.0441471227, -0.0726972818, 0.0272951555, -0.0605105907, -0.031567052, -0.0566676222, -0.0189469643, -0.0429189466, 0.0303384475, 0.030609969, -0.0287095588, -0.02021778, -0.0185716376, 2.678e-7, -0.0310835112, 0.0536473766, -0.0158077441, 0.0191999916, 0.0112105086, 0.0553842075, 0.0001728492, 0.0375371873, 0.0025732568, -0.0234604385, 0.0073045534, 0.0350941122, 0.0124538485, 0.0081759049, -0.0409200527, -0.0220695604, 0.0410977118, -0.0269852877, -0.0325186066, 0.0527351908, 0.0486646295, -0.0097329933, 0.0126626967, 0.0062328991, -0.0121659283, 0.0259055533, 0.0147228558, -0.0184423439, 0.0728524178, -0.0050833989, 0.0066004233, -0.0185249913, -0.0025406664, 0.0637170747, 0.0230878554, 0.0314266197, -0.0234645959, 0.0114234462, -0.0502671935, -0.0395951793, -0.0044395439, 0.009096751, -0.0082372054, -0.048134651, 0.0163869523, -0.0738264099, -0.0579854399, 0.0280960556, 0.0441476107, 0.0015708393, -0.0109019531, 0.0204503629, -0.0141338175, 0.0319338478, -0.0067677051, -0.0290675405, 0.0183032826, -0.0226708911, 0.0345178954, -0.0258428957, 0.0024824122, -0.0590460151, -0.0269728266, -0.0222860817, 0.0398494154, -0.0415582173, 0.0151669988, 1.838026959e-34, -0.0281175487, -0.0077882791, 0.0546612591, 0.0381701887, 0.0854948759, -0.0031523497, 0.0258728471, 0.0626997054, 0.0689451545, -0.0629800782, -0.0193429813 ]
http://arxiv.org/abs/2401.06827v2
http://arxiv.org/pdf/2401.06827v2
APLe: Token-Wise Adaptive for Multi-Modal Prompt Learning
2024-01-12T04:54:01
2024-01-23T08:54:15
Guiming Cao, Kaize Shi, Hong Fu, Huaiwen Zhang, Guandong Xu
cs.CV
cs.CV, cs.AI, cs.CL
Pre-trained Vision-Language (V-L) models set the benchmark for generalization to downstream tasks among the noteworthy contenders. Many characteristics of the V-L model have been explored in existing research including the challenge of the sensitivity to text input and the tuning process across multi-modal prompts. With the advanced utilization of the V-L model like CLIP, recent approaches deploy learnable prompts instead of hand-craft prompts to boost the generalization performance and address the aforementioned challenges. Inspired by layer-wise training, which is wildly used in image fusion, we note that using a sequential training process to adapt different modalities branches of CLIP efficiently facilitates the improvement of generalization. In the context of addressing the multi-modal prompting challenge, we propose Token-wise Adaptive for Multi-modal Prompt Learning (APLe) for tuning both modalities prompts, vision and language, as tokens in a sequential manner. APLe addresses the challenges in V-L models to promote prompt learning across both modalities, which indicates a competitive generalization performance in line with the state-of-the-art. Preeminently, APLe shows robustness and favourable performance in prompt-length experiments with an absolute advantage in adopting the V-L models.
[ 0.0337569192, 0.0239925366, 0.0361967757, -0.0055135926, -0.0207430944, 0.0101138446, 0.0271647461, -0.0078277308, -0.0219040066, -0.0578454807, -0.0551966652, -0.0083427858, -0.0014427059, 0.0656584203, 0.0032981783, -0.0656154379, 0.0440635644, -0.0391976722, 0.0136561049, -0.003907626, 0.0248244312, -0.0080386093, -0.0085700182, 0.0393618122, -0.0467143841, 0.0144020338, -0.0264722668, 0.0191212315, 0.0057868538, 0.0053323088, -0.0256999079, 0.043316558, 0.0243659019, 0.0288082659, 0.0000019353, -0.0627205521, 0.01705469, -0.0030126828, -0.0030315185, -0.0592617057, 0.0329292938, -0.0227691829, 0.0080050984, 0.0044211103, -0.0088430587, -0.0223877989, 0.0728526786, 0.0477616414, 0.0749591365, 0.0408359393, -0.0055036824, -0.011645806, 0.0173577536, -0.036721237, 0.0137597639, -0.0298641659, 0.0094592413, -0.0905976072, 0.0036924786, -0.0125622684, -0.0325965211, 0.0241998024, 0.0179346763, -0.0203505345, -0.0064434828, 0.0481076948, -0.0123313125, -0.051342383, -0.0733489916, 0.0670693293, -0.0295463298, 0.0284772702, -0.0247704908, -0.0284917317, 0.0462122671, 0.0012329712, -0.0285851061, 0.0156308562, -0.011714533, 0.0002470143, -0.0660942867, -0.0176972244, 0.0054821749, -0.0047984575, -0.0249955896, 0.0555016436, 0.0083604036, 0.0018549042, 0.0321209691, -0.0027315656, -0.0225028992, -0.059357848, 0.014211663, 0.0182829816, -0.0851323977, 0.0010864349, -0.0757364482, -0.0220782887, 0.0069996715, 0.0213021562, 0.050141234, 0.0300065931, -0.0998567492, 0.0577623323, -0.032439854, 0.0473829322, -0.005498108, 0.0885984153, -0.0388546921, -0.0076730107, -0.0266126338, 0.0118042985, -0.0392080843, 0.0068798568, -0.0529712625, -0.041733671, -0.0233165435, 0.0101529267, -0.0267990865, 0.0212832764, 0.0124061061, -0.0017731618, -0.0381623209, -0.0459969938, -0.0292873904, -0.0010135026, -0.0245410092, 0.0500635356, 0.0338579305, -0.0711736828, -0.0076636588, 0.0169420373, 0.0322013684, -0.0125379832, -0.0022174192, 0.0752325132, -0.0822750255, -0.0492059402, -0.006894846, 0.0081854258, -0.027163215, -0.0099280728, 0.0228136498, -0.0235364139, 0.0554540046, -0.0026207755, -0.001691247, -0.001599657, 0.0012523975, 0.0043609845, 0.0074702897, 0.1003321707, -0.0165763274, -0.0200557839, 0.0296015479, 0.0023535767, -0.0394420289, 0.0548002608, -0.02490215, 0.0295389649, 0.0215978269, 0.0360210985, 0.0238764435, 0.0548641495, -0.0112199625, 0.0228700843, -0.0462728143, -0.0197789818, 0.049510736, 0.0208448581, 0.0365329124, 0.0606644042, -0.0245900042, -0.0194699056, 0.0403026417, 0.0296866409, -0.0013633101, -0.0273355413, 0.0765222311, 0.0080809826, -0.0012472147, 0.0156606007, -0.0686693564, 0.015989475, -0.0441692583, -0.0071423696, 0.000242482, 0.0454266742, -0.0474004485, -0.0353412777, 0.0162788816, -0.0221115071, -0.0234762784, 0.0187510736, 0.0448772199, 0.0076230043, -0.0496664122, 0.0153621919, 0.0253876746, -0.0370383784, 0.0097087063, -0.0588001087, 0.0237667914, -0.0056465031, -0.027662443, -0.0239410661, -0.0010848469, -0.0236179251, 0.0341649167, 0.0537883975, 0.0021846648, -0.0149798021, 0.0698614642, -0.0285117645, -0.0738602504, 0.0005853478, -0.0231269225, 0.0398215875, -0.0353328846, -0.0122120539, 0.0115602417, 0.0220046882, 0.0259655342, 0.0423036404, 0.0318693444, -0.0256023537, -0.0275366921, 0.0283718593, 0.0357667878, -0.0131306108, -0.0191475507, 0.0071100621, 0.0153462365, -0.0376263559, 0.0091434391, 0.015061507, -0.0957593173, -0.0105451066, 0.0267421957, -0.0316260196, -0.0045138267, -0.0133459587, -0.0392210223, -0.0511131883, -0.0484096557, 0.0116816238, 0.0212058723, -0.0529141128, 0.0138624962, 0.0086270524, -0.0065610637, -0.0139002539, 0.0352949128, -0.0417192169, 0.0136949662, 0.0551173203, 0.0397571214, 0.0164934192, -0.022339588, -0.0255164579, 0.0072317631, -0.0395818762, -0.0046711038, 0.0316497125, 0.0145495655, -0.065684706, -0.0265131388, -0.0858629197, -0.0374346487, -0.0433771499, -0.0328099206, -0.0132631548, 0.0035352437, -0.0159013867, -0.0705062896, -0.0319247916, 0.0064627491, 0.0189698357, 0.0228227191, 0.0056371042, 0.05732904, 0.0414431021, -0.0215234235, -0.0120915165, 0.0265460648, 0.0362486988, 0.0055607981, -0.0286646802, -0.0352876931, -0.0026736332, -0.005364635, 0.0421624407, -0.0245816801, 0.0035188638, 0.0170251671, -0.0365078077, 0.0740772709, 0.0641235411, 0.0156910997, -0.0110679688, 0.0011059033, 0.0058628512, -0.0382552445, 0.0353286341, -0.0232954007, -0.0395662077, -0.0184415244, 0.0378311612, 0.0219943672, 0.0206030998, -0.02135613, 0.0194326397, -0.0797267035, 0.0369779691, -0.0001359884, -0.0837020651, -0.0971251205, -0.0024831935, -0.0453874059, 0.0114760622, -0.0218383539, -0.0595631413, 0.0389692225, -0.0450774543, -0.0289299246, -0.0051795351, 0.0002510008, 0.0116752163, 0.0271130688, 0.0189121552, 0.012849886, 0.0229724105, -0.032908529, -0.0966944993, -0.0233518034, -0.0133193526, 0.0173253659, 0.0640792176, -0.0231673885, -0.0192911383, -0.0477837287, -0.040147882, -0.0360286087, -0.0378285013, -0.0249863639, 0.0125674605, -0.0242723823, 0.0028213444, -0.0196961612, -0.0128977392, 0.0321511813, 0.0661858544, -0.0173686091, -0.0068942383, -0.0492625311, 0.0576996244, 0.0145149939, 0.0445151515, -0.0360954143, -0.0291271098, 0.0077310596, 0.034834668, 0.0667330474, -0.0380412377, -0.0226535667, 0.0307854023, 0.0493098237, 0.0225621015, -0.002661827, 0.0593995415, 0.0731229186, -0.0182842147, 0.0201104358, 0.0426929407, 0.0175743606, -0.0653131455, -0.0540222414, 0.035129264, 0.0255885813, 0.0292903651, 0.0080396598, -0.043977581, -0.0458681062, 0.0076412763, -0.0188467856, 0.0230789557, 0.0119403703, -0.0301611647, -0.0890853778, 0.0104986737, -0.0045605465, -0.0446421914, -0.0223826077, 0.0142747462, 0.0203884356, 0.0114785116, 0.0067654713, 0.0025823386, -0.0224542171, -0.0098979585, 0.0207089223, 0.0507565364, -0.023872178, 0.0026926866, -0.0305545218, -0.0046808003, 0.0674945936, -0.0132269142, -0.0207823906, -0.0761173517, 0.0697795078, -0.0205321424, 0.0204382967, -0.0011646901, 0.0072729122, -0.0340036526, 0.0005683908, 0.0333227962, 0.0465966836, 0.0318260491, -0.0365216397, 0.008727245, 0.0395410918, 0.0054861163, 0.0226927977, -0.0445010625, 0.0120060127, 0.0194777194, 0.0350606441, 0.0053915312, -0.0619176738, -0.0120965336, -0.0212747809, 0.0049452451, -0.0491369627, 0.0021609217, 0.0118240407, 0.010431462, -0.0132595953, -0.0342969932, -0.0283141453, 0.0147250844, 0.0612181127, -0.0040029301, -0.0402992815, -0.0607222058, 0.0659863204, -0.0096075451, 0.0739244446, -0.0007814231, 0.0231958553, -0.099585481, 0.0386289954, 0.0192965884, -0.0590944849, -0.0297139976, 0.0174567457, -0.0787811354, -0.0416285843, -0.0074782204, 0.0694160834, 0.0149305137, 0.0628939494, -0.0121854572, -0.0516204983, 0.0777631029, 0.0621965788, 0.01128582, 0.0111119123, 0.0560679883, -0.0111036915, -0.0375841372, 0.0162818469, -0.0603056252, 0.0055402811, 0.0304075144, -0.0085711535, 0.0121616898, -0.0556942448, 0.0380846784, -0.0082968343, 0.0675868019, -0.0337702893, 0.0447730981, -0.0469010919, 0.0094179297, 0.0425659567, -0.0127148423, -0.0584099852, 0.0258063972, -0.0353048928, -0.0029531871, 0.0364377499, 0.0071886536, 0.0010314904, 0.0495360866, -0.0530574583, 0.005137525, 0.0458823442, 0.0000570261, 0.0232374556, 0.0177113861, -0.0005822006, 0.0374932252, 0.0151885673, -0.0043846588, -0.0096936924, 0.0922322944, 0.0482535884, -0.0184178054, -0.0147268251, 0.0677641183, -0.0328058414, -0.0333659314, -0.0380432308, 0.0541287474, 0.008673056, 0.0088100517, -0.0430425704, 0.005067464, -0.020394912, -0.0175592676, 0.0355708823, 0.0462903418, -0.0389321968, 0.0812918767, 0.0060547492, 0.0045103673, -0.00187652, 0.0448285453, -0.0335388333, 0.0186746903, 0.0057977266, 0.0510700196, -0.0515743718, -0.0281840879, 0.0372514948, 0.0307182763, -0.0289928913, 0.0459992066, -0.0251190104, -0.0075595882, 0.0134114325, 0.0272831414, -0.0172470696, 0.0263045095, 0.0653416514, 0.076691255, 0.0113341762, -0.0223235432, 0.0018176551, -0.0172096007, 0.0526309423, 0.0227758661, 0.0577183887, -5.782305568e-33, -0.023368502, 0.0251636859, 0.0283144638, -0.0270654205, -0.017612543, -0.0025532206, -0.0013793184, 0.0232177526, -0.0055496418, -0.0034455915, -0.0424156673, -0.0156359524, 0.0353482701, 0.0345335864, -0.0046096216, 0.0132463463, 0.0683506653, -0.0176681876, -0.0243514031, 0.0056758127, 0.0223204549, 0.0279193688, 0.0056263776, 0.0015635617, 0.0198371205, 0.0290275384, -0.054800421, 0.0199835747, -0.0055630552, 0.0455632135, 0.0154806059, -0.0026358066, -0.0137798367, -0.0107619194, -0.0387696661, 0.0783020183, -0.0508895963, -0.0314136147, 0.0043063941, 0.0103609534, -0.1176570952, -0.0155018335, 0.0087142289, -0.0382220149, 0.006204471, -0.0135762105, 0.0389975384, -0.012656115, -0.0351735502, -0.0194608234, -0.0132498229, 0.0031952506, 0.0271180868, -0.0253125243, 0.0316628441, 0.0840769634, 0.0286618359, 0.0234644432, -0.0434083343, 0.0269820448, 0.018743176, 0.0137366569, 0.0499487296, 0.0693281963, -0.0325860903, 0.0435786396, 0.0177990962, -0.0532970428, 0.0306056775, -0.0470861867, 0.0205456819, 0.0419709906, 0.0314499214, 0.0665109456, 0.0152905863, 0.0018842554, 0.0071492773, 0.0245067514, 0.0287271366, 0.0387542024, -0.0100029614, 0.0124462675, 0.0460727736, 0.0022675015, -0.0525561087, -0.0184430331, -0.0318471193, -0.008079282, 0.0422915369, 0.0512413979, 0.0097944513, 0.0121987229, 0.1076274067, 0.0136783849, 0.024945613, 0.0115404427, -0.0036073981, 0.0270979758, 0.008496929, 0.0120716607, -0.0666716397, -0.0114184842, 0.0604025722, -0.0092063462, -0.0223667305, 0.0037926598, 0.0380458608, 0.0416010432, -0.048315756, 0.0130155003, -0.0165379662, 0.0304826349, 0.0153284865, 0.0448817238, 0.0512627661, -0.0150462575, -0.042766057, 0.0356671177, -0.029420536, -0.0476946346, -0.023419397, -0.0151895257, -0.0030999838, 0.0321660489, -0.0104965605, -0.0046298318, -0.04697375, -0.0098883454, 0.0134143773, -0.0311094467, 0.0004611873, 0.0513192564, 2.539e-7, -0.0270620119, -0.0382142812, 0.0102738533, -0.0317268036, 0.0018425864, 0.0449751019, -0.0451258644, 0.0408871621, -0.0021872767, -0.0191480462, -0.0093622264, -0.0061235344, 0.0112153552, -0.0105643542, -0.0633855388, 0.0000314729, -0.063826859, 0.0123475157, -0.0367533155, 0.0014183867, 0.0336896926, 0.1033998132, -0.0275934767, -0.0267273802, 0.0321031362, -0.0391651876, 0.0671546757, -0.0150014851, -0.0047180569, -0.0168777052, -0.0021510338, -0.0068059023, -0.0041481657, 0.0313606523, -0.0259666014, -0.0005372724, 0.0489139967, 0.0371424966, 0.0114997467, -0.0061325133, -0.0061549116, 0.0626095086, -0.0001829403, -0.052777648, 0.0917430371, -0.0729200169, 0.0204462372, -0.0542110801, -0.0236450005, -0.003433269, 0.0136706289, -0.0341658741, -0.0229870584, 0.0370781794, 0.0255505946, 0.0206003711, -0.0473789759, -0.1007412151, -0.0366834253, -0.0223321915, -0.0257459544, -0.0397038646, -0.0613277778, -0.0044570165, 0.0432132408, -0.05372338, -0.0412018187, 1.896760351e-34, 0.0043138736, -0.0202922765, 0.0209267735, -0.0113800624, -0.024994595, -0.0070265625, -0.0269704554, 0.0157868359, 0.020494435, -0.0309171211, -0.0280903094 ]
http://arxiv.org/abs/2401.06327v1
http://arxiv.org/pdf/2401.06327v1
Learning from Semi-Factuals: A Debiased and Semantic-Aware Framework for Generalized Relation Discovery
2024-01-12T02:38:55
2024-01-12T02:38:55
Jiaxin Wang, Lingling Zhang, Jun Liu, Tianlin Guo, Wenjun Wu
cs.CL
cs.CL
We introduce a novel task, called Generalized Relation Discovery (GRD), for open-world relation extraction. GRD aims to identify unlabeled instances in existing pre-defined relations or discover novel relations by assigning instances to clusters as well as providing specific meanings for these clusters. The key challenges of GRD are how to mitigate the serious model biases caused by labeled pre-defined relations to learn effective relational representations and how to determine the specific semantics of novel relations during classifying or clustering unlabeled instances. We then propose a novel framework, SFGRD, for this task to solve the above issues by learning from semi-factuals in two stages. The first stage is semi-factual generation implemented by a tri-view debiased relation representation module, in which we take each original sentence as the main view and design two debiased views to generate semi-factual examples for this sentence. The second stage is semi-factual thinking executed by a dual-space tri-view collaborative relation learning module, where we design a cluster-semantic space and a class-index space to learn relational semantics and relation label indices, respectively. In addition, we devise alignment and selection strategies to integrate two spaces and establish a self-supervised learning loop for unlabeled data by doing semi-factual thinking across three views. Extensive experimental results show that SFGRD surpasses state-of-the-art models in terms of accuracy by 2.36\% $\sim$5.78\% and cosine similarity by 32.19\%$\sim$ 84.45\% for relation label index and relation semantic quality, respectively. To the best of our knowledge, we are the first to exploit the efficacy of semi-factuals in relation extraction.
[ 0.0462965034, 0.0109269843, 0.0102448333, 0.0787647516, -0.0149087766, 0.0150311645, 0.007972246, -0.0389240123, 0.0581803806, -0.0413777046, -0.0126687419, -0.0056037875, -0.0543900803, 0.0350854173, -0.0244615525, -0.0250020232, 0.069787018, 0.0422522649, 0.0346653983, 0.0186306387, -0.0255673975, 0.0418166369, -0.0379055291, -0.0107985027, -0.0753521174, -0.0134756612, -0.0044468734, -0.0339725316, 0.0405388251, -0.0476055704, -0.0064007742, 0.0343151242, 0.0145851038, 0.0275294967, 0.0000019318, -0.0745110065, -0.0556022413, -0.0404871218, -0.0263740141, -0.052130118, 0.0140732145, 0.0001231402, 0.0433255546, -0.0225946624, -0.0717641488, -0.0775422156, 0.0254578106, 0.0668627098, 0.0128757469, 0.0230854824, -0.0458314344, -0.0356548764, -0.035949342, -0.0099644437, 0.0335762203, -0.0012115508, 0.0274322685, 0.0434998274, -0.0226302352, 0.013100897, -0.0163750947, 0.0077896565, 0.0147404838, -0.0132909855, 0.0655630529, 0.0685840026, -0.0568621308, -0.0283198319, -0.0047525321, 0.1281641573, 0.0016992532, 0.0036496404, 0.0182211809, 0.0139102787, 0.0005329149, 0.0432999246, 0.0095830504, -0.0180256087, -0.0526789762, 0.0378072932, 0.0071352124, 0.0257557519, 0.0373314507, 0.0106785502, -0.0222520735, 0.0642560571, -0.022347156, -0.0144424709, 0.0224025529, 0.0463737957, 0.0057481867, 0.0021471304, 0.0110425996, 0.0179554, 0.0090943445, 0.0417784937, -0.0399307907, 0.0209228508, -0.0276341904, -0.0660089478, -0.0209593847, -0.0084452685, 0.0022860765, 0.0794784427, -0.0684803352, -0.03485246, -0.0235625673, 0.0028493875, -0.0509885512, -0.0142541472, -0.0630926192, 0.0145948948, -0.0313557088, 0.0812106133, -0.0446696132, -0.0201522578, -0.0276947953, 0.0224923901, -0.0221234616, 0.0195458904, -0.0110606514, 0.0242098831, -0.0102363778, 0.0152064729, -0.019414233, -0.0301493127, -0.0412085354, 0.010255483, -0.0561809354, -0.0337892622, -0.0082271285, -0.0070588775, 0.048454836, -0.0234283935, -0.0401041396, 0.0855079815, -0.0141362175, -0.0296461787, -0.0251045395, -0.0647182092, 0.0003536525, -0.0235655326, 0.0321095437, -0.0181455668, 0.0327738822, 0.0447794572, -0.0355547443, -0.0360786244, 0.0491870902, -0.0305950567, -0.0507681854, 0.0663159862, -0.0403234847, -0.0062585282, -0.0074958266, 0.0359027497, 0.0347295031, 0.0628154576, 0.0266070701, 0.0272312146, 0.0607615784, 0.0373369455, 0.006991588, -0.0200202502, 0.0273041725, -0.0167743023, -0.0028289938, 0.0043450608, 0.0615900159, 0.0299473014, 0.0067825536, 0.0314249396, -0.0123354504, -0.0235441066, 0.0105194198, -0.0186123848, 0.0094716931, 0.0615614317, 0.0479863547, -0.0193330161, 0.0023838764, 0.0396282412, -0.0315800607, 0.0302777216, -0.0246273447, 0.0031727424, -0.0143181141, 0.0437342413, -0.0142870806, -0.0335998312, 0.0002981718, -0.0250119753, -0.0227235518, -0.0199928526, 0.0792036429, 0.0103253638, -0.0139884669, 0.071885407, 0.055881124, -0.0495207012, 0.0218722634, 0.0136890588, 0.0387079157, 0.004946922, 0.0527224205, -0.0785201937, -0.0580540523, -0.0093911169, -0.0320661366, 0.0103119565, 0.0512177721, -0.0434738658, -0.0038983675, -0.0311149471, -0.0763024017, 0.0053105559, -0.0155168809, 0.0025023017, 0.0277943518, 0.0167556908, 0.0270252842, -0.0540650189, 0.0093242237, 0.0423522368, 0.0075949929, -0.0204308908, 0.0368138663, 0.034997832, 0.01027779, 0.0354126766, 0.0005617838, -0.0436337106, 0.05945234, -0.027872134, -0.0110812271, 0.0563244075, -0.074198395, -0.0684456155, 0.0381208025, -0.0145397428, -0.0575464144, -0.0302023664, -0.0426607504, -0.0215888787, 0.0346171595, 0.0165387895, 0.0402301289, -0.0467514023, -0.0401410125, 0.020221848, 0.0030939544, -0.0121078417, 0.1235191748, -0.0078338077, -0.0256788507, 0.0065140733, -0.0813536569, 0.026892988, 0.0071306624, 0.0019542277, 0.0002460354, -0.0105354823, -0.0311333723, 0.0174066201, -0.0100497575, -0.0496224836, -0.0141868442, -0.0287609342, 0.0115937693, 0.0143095804, -0.0056643789, 0.015262899, 0.0118866153, -0.0038233248, -0.0370383784, -0.005500223, 0.0106320148, -0.0151626254, -0.0330618732, 0.0545100197, 0.0278319363, 0.0133049358, 0.0016132408, 0.0226277821, -0.0305405445, 0.0819886178, 0.0612309724, -0.0278952997, 0.0259389095, 0.0406626649, -0.0617829338, 0.0261555295, -0.0003173261, -0.0011727889, -0.028944768, -0.0048670433, -0.0173518285, -0.0223259069, -0.0200029612, 0.0382169373, 0.0514336303, 0.0041027986, -0.00229278, 0.042531088, -0.0541286655, 0.0288197342, 0.0006899091, 0.0152278841, -0.0230498984, 0.0245861504, 0.0118134506, -0.0255999956, -0.0184338279, 0.0252369996, 0.0368709229, -0.0390990637, -0.0425637923, -0.0043391893, 0.0447993726, 0.0038980744, -0.0443510376, -0.0296146926, 0.0639910176, 0.0218370166, 0.0002107069, -0.0513828732, -0.0018582473, -0.0395508893, 0.0601888038, -0.0163076408, 0.053674791, 0.020811392, 0.0040817754, -0.0223767087, -0.0230787657, 0.0176347531, 0.0118700117, 0.0187756363, -0.0551911518, 0.0115554295, 0.0325566754, -0.0030270193, -0.0825915784, -0.0307243429, -0.0102609554, 0.0094862664, -0.0422889963, 0.0268734507, -0.0061029769, -0.0027057952, -0.0010724751, 0.0120050525, 0.0276146904, -0.0347200409, -0.0276908763, 0.0477260686, 0.0625165999, -0.0186850429, -0.0064227013, 0.0191443078, -0.0085842805, 0.0343338847, 0.003231853, -0.0195730124, -0.0156081654, -0.0052232523, -0.0412956141, -0.0355390646, 0.036404144, -0.0253488719, -0.01189854, -0.0031232361, -0.0302967206, 0.1092556044, 0.0568445064, -0.039290823, 0.0177419726, 0.0251341984, -0.0149042988, 0.0473677218, 0.0114272255, -0.0496565886, 0.0047866995, -0.0412739143, -0.0424873829, 0.0090283109, -0.0890490115, -0.0210507661, -0.1103843376, -0.0005732988, -0.0108030932, -0.0229621902, -0.0115113314, -0.0424941555, 0.0164131466, -0.0370096676, -0.0873538852, -0.0362543911, -0.0125108538, 0.0338062011, -0.0206407644, -0.0125350831, -0.0431025922, -0.006116936, -0.0482138246, 0.0067720227, 0.0021571699, 0.023729993, -0.0036650214, 0.0121094659, -0.0112440279, 0.0059345695, 0.0153739294, -0.0395713113, 0.082606256, -0.0335677639, -0.0115295444, -0.0264516547, 0.0302627664, -0.0773670748, -0.0225268696, -0.0030856556, 0.0939152539, -0.0041274875, -0.0043724058, -0.0273041707, -0.0060040089, 0.0378276967, 0.0626802817, -0.0244513787, 0.0147137446, -0.0047637774, -0.0096994536, 0.0518158823, -0.0047047031, 0.0270397775, -0.0131435161, -0.0441216715, 0.0096054869, -0.0495590605, -0.0304459985, 0.0533246286, 0.0752581432, -0.0060855644, -0.0059103551, 0.054953903, -0.0217539594, -0.0885477662, -0.0235726889, -0.0214146487, -0.0273347255, 0.0602062531, -0.0044907909, 0.0159122348, -0.0780103132, -0.0253172554, -0.0604030788, 0.0137471026, -0.0307237003, -0.0126570454, 0.030499408, 0.0130697461, 0.0592529736, -0.0103558777, 0.0402281992, 0.0456416793, 0.0935633779, -0.0631207675, -0.0251701958, 0.0185968094, -0.0121229012, 0.0221879277, 0.0352680907, -0.0187073015, -0.0067900582, 0.0308631044, 0.0050632707, -0.046615161, -0.0452650711, 0.0357536301, -0.0167677253, 0.0998030081, 0.0003911661, 0.0538044274, -0.0758569837, 0.0054401495, -0.0265759174, -0.0105181551, -0.0486617573, 0.0324414521, 0.0104121752, 0.015753312, 0.0065204762, 0.0134688448, -0.0297380481, 0.0281983577, -0.0127735073, -0.0276312269, 0.0283414628, -0.0035240762, -0.0121865394, -0.0015367322, 0.0005209088, -0.0056082564, 0.0196370166, -0.0213656668, -0.0039968197, 0.040895611, 0.0184545442, -0.0037638922, -0.026732441, 0.0081561273, -0.0459252931, 0.0578003302, -0.0514419191, 0.0613222197, 0.0565910488, -0.0287273303, -0.0117972922, -0.0365059786, -0.0032992861, 0.0173634849, 0.0754305944, -0.0159907956, -0.0328167118, -0.0045226291, -0.0061192769, -0.0453493111, 0.0111300787, 0.0822984129, -0.0450286716, 0.0610972419, 0.0200252179, -0.064550966, -0.0562791526, -0.0158663634, 0.0088843694, -0.0111168018, -0.0188743863, 0.0692980364, -0.0508477353, -0.0566920415, 0.0172086842, -0.0164941885, -0.0165598504, 0.0084850835, 0.0522865988, 0.043224439, 0.0311358813, -0.0368930958, -0.0426247865, -0.001930544, -0.0341728777, -0.0229700599, 0.0103790043, -5.991428585e-33, -0.0298292115, -0.0514793508, 0.0056457324, -0.0088977227, -0.0414270051, 0.0334568769, -0.0260466393, -0.0202295687, -0.0101770461, 0.0577497929, 0.0239859745, 0.0079488354, 0.000815414, 0.0085182535, -0.0063468795, -0.0037126979, 0.0288057774, 0.0302458834, 0.0199332722, 0.0200245995, 0.057369858, 0.0527928509, 0.0637160242, -0.134067595, -0.024917081, -0.0111138579, 0.0152908694, 0.0522135533, 0.0381650664, 0.0398686007, -0.038529072, 0.0428994671, 0.0205153003, 0.0020424735, 0.0142710265, -0.0439688191, -0.114859499, -0.0564096123, -0.0226994436, -0.0264684223, -0.03967347, -0.003553676, -0.0110119572, 0.0145238442, 0.0312402565, -0.0421190076, 0.0618216135, -0.0438417196, -0.0140910838, -0.0043072659, -0.0388356522, 0.0006266521, -0.0048540044, -0.0216462743, 0.0175795332, -0.0013752553, 0.0326595455, -0.0275699608, -0.0242384449, -0.0041877571, -0.0140763922, -0.0193451308, 0.0661286488, 0.0071274522, 0.0260198787, 0.0617650039, 0.0030253944, 0.0026323567, -0.0486219972, -0.002397282, -0.0417519733, 0.0546419322, -0.0348846763, 0.0672927648, -0.0000980044, 0.0292101726, -0.0896194279, 0.033830937, 0.0134752151, 0.0264350194, -0.0164729785, -0.0024338909, -0.0128990365, -0.0009407015, 0.0081562027, 0.0050623138, -0.0163960848, -0.031505432, -0.0042487332, 0.0125548188, -0.0308097862, 0.0415726714, -0.011876666, -0.0422980711, -0.0086432658, 0.0171136092, 0.0073821363, -0.0152876973, 0.017897848, -0.0061411643, -0.0367382728, -0.051580742, 0.005074868, 0.0033085137, -0.011371172, 0.0284743998, 0.0341190621, -0.0083226105, -0.0089856619, 0.0240594484, -0.0146414768, -0.0372865014, -0.0058725197, 0.0003892624, 0.0084993616, 0.0297245029, -0.0263080131, 0.0527293794, 0.0667785704, 0.0325876586, -0.0051290407, 0.0222995784, -0.0034625581, 0.0181039441, -0.0003093499, -0.0217621587, -0.0001520262, -0.0061313347, 0.0322287939, -0.0591400564, -0.0114315646, -0.0028124352, 2.747e-7, 0.0230384022, 0.0188077409, 0.0327691883, 0.0314240195, 0.0073273177, 0.0553082004, 0.0239654724, 0.0847901329, -0.0302918255, -0.0101770228, 0.0243527722, 0.0138855539, -0.0069166729, 0.0418894328, -0.0336531997, 0.0272055417, -0.0414307229, -0.05598782, -0.0690390989, -0.0113301501, 0.0676571652, 0.0208156295, 0.0240372121, 0.0155659467, -0.0200017709, -0.034913186, 0.0313416645, -0.0245404225, -0.0084988214, 0.0364300609, 0.0207280554, 0.0153016476, -0.0154328402, 0.0500499457, -0.0278521962, 0.028934462, 0.01643016, 0.0044195084, -0.0067920694, -0.0022501205, 0.0234771781, -0.0053009982, 0.0191822387, -0.0319871567, 0.0588735193, -0.0654950514, 0.0203205962, 0.0581040382, 0.0096818861, 0.0288200844, 0.0031782403, 0.0310392696, 0.0047081364, 0.0243846383, 0.0116669629, 0.0123006431, -0.0193178244, -0.0431552194, 0.0197067838, 0.0132305454, -0.0062166299, 0.0125244539, 0.0394530296, -0.0274195429, 0.0362358354, 0.0034023323, 0.0317418352, 2.204338664e-34, -0.0151728885, 0.0167701524, -0.0415211283, -0.0172760114, 0.027928032, -0.0616864674, -0.077721253, -0.0221706834, 0.0184678994, -0.0410719626, 0.0167093035 ]
http://arxiv.org/abs/2401.06321v1
http://arxiv.org/pdf/2401.06321v1
Multi-Task Learning for Front-End Text Processing in TTS
2024-01-12T02:13:21
2024-01-12T02:13:21
Wonjune Kang, Yun Wang, Shun Zhang, Arthur Hinsvark, Qing He
cs.CL
cs.CL
We propose a multi-task learning (MTL) model for jointly performing three tasks that are commonly solved in a text-to-speech (TTS) front-end: text normalization (TN), part-of-speech (POS) tagging, and homograph disambiguation (HD). Our framework utilizes a tree-like structure with a trunk that learns shared representations, followed by separate task-specific heads. We further incorporate a pre-trained language model to utilize its built-in lexical and contextual knowledge, and study how to best use its embeddings so as to most effectively benefit our multi-task model. Through task-wise ablations, we show that our full model trained on all three tasks achieves the strongest overall performance compared to models trained on individual or sub-combinations of tasks, confirming the advantages of our MTL framework. Finally, we introduce a new HD dataset containing a balanced number of sentences in diverse contexts for a variety of homographs and their pronunciations. We demonstrate that incorporating this dataset into training significantly improves HD performance over only using a commonly used, but imbalanced, pre-existing dataset.
[ -0.0014914607, -0.0395383053, 0.0099920118, -0.0015380784, -0.0142705115, 0.0376927406, 0.0272785891, -0.0351094455, 0.0295370482, -0.0326803811, -0.0845740139, -0.042305164, 0.0188705139, 0.0146814249, 0.0200657826, -0.0401472971, 0.0350288115, -0.0181680042, 0.008845102, -0.0039043133, 0.0392091684, 0.0541349798, -0.0039503034, 0.0447174944, -0.0431106053, -0.0014313303, 0.0150967278, 0.0355436727, 0.0330564827, 0.0363666154, 0.0119499136, 0.0317133404, 0.026488509, 0.0300504956, 0.0000019233, -0.0440100208, -0.0428675003, -0.0082639931, -0.0198937375, -0.0559034869, 0.0668401569, 0.0158277582, 0.0011514989, 0.055766236, -0.030600043, -0.011829298, 0.0228050109, 0.0410160571, 0.0556967184, 0.0578525662, -0.0209412575, -0.0390719287, 0.0047517125, -0.0070184176, -0.0043098931, -0.0107126581, -0.0156096602, 0.0195130743, -0.0146369925, -0.0356634855, -0.0174145903, 0.0565133803, 0.0241916943, 0.0187922455, 0.0209781416, 0.0211397503, 0.0007326974, -0.0021959594, -0.006093848, 0.0964686796, -0.0404515602, -0.054178331, 0.0312008876, 0.0032453977, -0.0294360146, -0.0342964046, -0.0077858628, 0.0193984304, -0.0024807081, 0.0320803784, 0.031585969, -0.0102162883, 0.0261248406, -0.0049128723, -0.0005391687, -0.029521592, 0.0109076295, -0.0325692371, 0.0314012878, 0.0436510108, -0.0296800528, -0.0133346375, 0.0615887903, -0.0029374207, -0.0318737067, 0.0311952773, -0.037098974, -0.0897032171, -0.0262302868, -0.0494116358, 0.0013297198, 0.0205165762, -0.0324118361, 0.0208027717, -0.0151209217, -0.0207464658, -0.0071013127, 0.0180107895, -0.022260813, -0.0447456166, -0.0918562263, 0.0231974926, -0.073486127, 0.0494810268, -0.022894118, 0.0038455469, -0.0135544771, -0.0108706551, -0.0146070998, 0.0071247229, 0.067035675, 0.0059891394, -0.0794156119, -0.0005809081, 0.0483827852, 0.0745691732, -0.0111806877, 0.014477524, -0.0300432611, -0.0431596488, -0.0123846373, 0.0215654336, 0.0285984743, -0.0380727686, 0.0137474611, -0.0032063073, -0.043835707, -0.0377067961, -0.042809099, -0.0392699763, -0.0458224155, -0.0443273596, -0.027002953, -0.0667693391, 0.0397780389, -0.0067797648, 0.0038503287, -0.0375738665, -0.0116620017, 0.0248235855, -0.0100590205, 0.0947399139, -0.013245075, -0.0265180226, 0.035886921, 0.0265250858, -0.0184313394, 0.0847937241, 0.0479622334, 0.0324596204, 0.0112787029, 0.0356354937, -0.0486222021, 0.0709389821, -0.0100580845, 0.0122364229, 0.0305891857, -0.0293819904, -0.0018936282, 0.0186402444, 0.0269211512, 0.0667861179, -0.0331333168, 0.0194474962, 0.0601940155, 0.0278339703, 0.0221253093, -0.0219727997, 0.0474290736, 0.0514895059, -0.0343145356, 0.0073966524, -0.0188529659, -0.0249530468, -0.0300576128, 0.0177318957, -0.0201289225, 0.0099268006, -0.030895574, -0.0262413099, 0.0111399246, -0.080312781, 0.0078416653, 0.0124757541, 0.0822968036, 0.0251734648, -0.0569083728, 0.0187015776, 0.0118158329, -0.0634272769, 0.0483340397, 0.0125352619, -0.0456209779, 0.046156574, 0.0227233563, -0.0193277877, -0.0514050983, -0.0517942049, -0.0075485623, 0.0209582523, 0.0010417221, -0.0282632448, 0.0355302915, -0.0910210609, -0.0082977926, 0.0364782214, -0.0104757743, -0.0038458642, -0.0274952408, 0.0062173284, 0.0335858613, -0.0336805768, 0.0278833788, 0.0100110648, -0.0404800735, -0.0107795317, -0.0118402382, 0.0292804148, -0.033470463, 0.0448282398, -0.0441661738, -0.0075687566, 0.0156691968, -0.0137111349, 0.0155786648, 0.0314143635, -0.0557956472, -0.0497674942, 0.0302240457, -0.0229980927, -0.0422850214, 0.0665483177, 0.0149249872, -0.0797466412, -0.019815566, -0.0186644569, 0.0093373004, -0.0373139121, 0.0236479845, 0.0079723233, -0.0229777433, -0.0191861559, 0.0136086345, 0.0402374454, 0.0022366268, -0.0164078418, -0.0333023258, 0.018251406, -0.0215083063, -0.0636062622, -0.0106651895, 0.024803644, 0.0089861918, -0.0042094141, 0.010164775, -0.0566738248, 0.0058324952, -0.1200616509, 0.0098100612, -0.0531663746, 0.0282028951, 0.0369843915, 0.0302244313, 0.0156983547, -0.0675323084, -0.0097290371, -0.0052225566, 0.037914034, -0.0047472436, 0.0085871285, -0.0258792974, -0.0180631112, -0.015538495, -0.0009612041, -0.028088389, 0.0048619192, -0.0009111475, -0.0551634803, -0.0052989377, -0.0070744404, -0.005012094, 0.0502224006, 0.0475893058, 0.0039623668, -0.0059803971, 0.0031674153, 0.0985390842, 0.0308210757, -0.0344504826, 0.0219748914, 0.0303757116, -0.0061279871, -0.048105184, -0.0096435901, 0.0143831298, 0.0229232982, -0.0493621379, -0.0194762535, -0.0049603675, 0.0835238174, 0.008307592, -0.0079951771, -0.0271335542, -0.0382898226, -0.0407529995, -0.0372991338, -0.0118042789, -0.0047403276, -0.0333799832, 0.0043907505, -0.0293044318, -0.0445218869, 0.0531219728, -0.03727182, -0.0480183586, -0.0977803096, -0.0203887802, -0.0116070565, 0.0715213045, -0.0159129016, 0.0394807644, 0.0401333123, -0.0765240937, -0.0643903315, 0.0381127596, 0.0158976465, -0.0282482877, 0.0387095958, -0.0562334843, 0.0013162027, -0.0188381039, -0.027251251, -0.0127125569, 0.0066089067, -0.0472079068, 0.0534509756, 0.048539374, 0.0038370143, -0.0218409505, -0.009716847, -0.0043687308, 0.0495904498, 0.0257813409, -0.0118873958, -0.0270419307, 0.0606524087, 0.0416398272, 0.0060566003, -0.0355389826, -0.0246711336, 0.0077914512, 0.0298689716, 0.099658452, -0.0476533622, -0.0399366096, -0.0144819971, 0.0360479653, -0.0547200665, -0.0472426675, -0.0042828871, 0.0322533101, -0.0331038386, -0.0079076905, 0.1487071365, 0.0254042931, -0.0654379055, -0.0366435163, 0.0319260359, 0.0179089345, -0.0174564067, -0.0236354209, -0.0997824147, -0.0622203946, 0.0371652991, -0.009098703, 0.0804482847, -0.0197443664, 0.0098818401, -0.0815610513, -0.0083483597, 0.0160618108, -0.00370414, -0.0268918592, 0.0114815496, -0.0100931665, -0.0300498586, 0.0080216518, -0.0238497294, -0.0061646448, 0.0018615716, 0.0292174779, -0.0165962819, -0.0211949535, -0.0108000068, -0.0771472752, 0.0528492555, 0.0172403362, 0.0228443388, 0.0289504416, 0.0135826748, -0.0006568104, 0.0175235737, -0.0102552455, -0.024671251, 0.0157667957, -0.0326103866, -0.0156422183, -0.0183769986, 0.0000751254, -0.0354483612, 0.0119915251, -0.0043682824, 0.0696260482, -0.0065436973, 0.0300838556, 0.0398656055, 0.0239089839, 0.0396152139, 0.0631355718, -0.0107265282, -0.0459847488, -0.0526274852, 0.0012012664, 0.0097134719, -0.0392764993, -0.0024881558, 0.0125117097, -0.0648161471, 0.0231787935, -0.0525151566, -0.0394071378, 0.066708006, 0.0438289158, 0.0134164048, 0.0145845022, 0.0268572569, 0.0118526025, -0.0586583912, 0.0106532881, -0.0669569373, 0.0477939919, -0.0335410312, -0.0149076451, 0.0234089382, -0.0233987365, -0.013614947, 0.044003889, -0.0670414045, -0.0355371349, -0.0008634746, -0.0187529679, 0.0119215548, 0.0461077951, -0.054580722, -0.0529300533, -0.0283325985, -0.0361376256, -0.0695202053, 0.0009783384, 0.0396878645, -0.0010091715, -0.0141906328, 0.0303889345, -0.021488769, 0.0294636246, 0.003247106, 0.0214542896, -0.0021332621, -0.0376610719, -0.0253970865, 0.0433231257, 0.0544620976, -0.0133381868, 0.0556221381, -0.0448232852, 0.0092427563, 0.0149742682, 0.0242399909, -0.0222197529, 0.0232922006, 0.0394062661, 0.0170809049, -0.0160918012, 0.0565120503, 0.0069956318, 0.0175325722, -0.0466147959, 0.0295462329, 0.0174173433, -0.0269394536, -0.0130877215, -0.0033604158, -0.0007058362, -0.0141325817, 0.0455165058, 0.0019530196, -0.0012776972, -0.004543887, -0.0017157304, -0.001128006, -0.0302712116, 0.0253685731, -0.0211551189, 0.0301941913, -0.0334016047, -0.0140337683, 0.0895822346, -0.0040265382, 0.075022161, 0.0028473756, 0.0279589649, -0.0129933497, 0.0304966569, -0.0425017849, 0.0151842022, 0.0044879154, -0.0223283879, -0.0125973495, 0.0090462919, 0.0826795548, 0.0491187274, 0.0314321294, 0.0051070931, 0.0099492818, -0.0288264826, -0.0476744473, -0.0188838579, 0.0428107604, -0.0134295253, -0.0394812934, -0.0293664746, -0.0886778012, 0.0143461004, -0.0269489419, 0.0015979547, 0.023910502, 0.0619310364, -0.005686345, 0.0016932439, -0.0073133246, 0.0027061098, -0.0220303256, 0.0213574395, -0.0044957823, 0.0024191276, -5.782287201e-33, -0.0217490047, -0.0018753099, -0.0025617059, -0.0207590684, -0.0361409485, 0.0048890556, 0.006331923, -0.0168701373, -0.0104205562, -0.0169202946, -0.006175234, 0.0191849079, 0.0329100788, 0.0366731323, -0.0036754762, -0.007902219, 0.0969694257, -0.0487238951, -0.0083921775, 0.0383559465, 0.0541145764, 0.0756763071, 0.0819938257, -0.0227465481, 0.0082155075, -0.0195518099, -0.0198577885, 0.0100988252, 0.0489622913, 0.0457466207, 0.0250018965, 0.0809104145, 0.0268429555, -0.0653956011, -0.0533615686, 0.079883486, -0.1439476758, -0.0015314345, 0.0164573677, 0.0359824374, -0.0215428192, 0.0244148355, 0.0252725463, -0.0134198852, 0.0288508628, -0.0157625116, 0.0542295873, -0.0059608067, 0.0069870315, -0.040644411, -0.0453599691, 0.0164712556, -0.0203064438, -0.0121146329, 0.0763844997, 0.0146859512, -0.0121522844, -0.0285795946, -0.0775672197, 0.0223077908, -0.0284279827, -0.0075106923, 0.0491282716, 0.0169474408, -0.0180166475, 0.0242746361, 0.0160041973, -0.0078596175, -0.0305524915, -0.0178423356, 0.0416268222, 0.0297037866, 0.021930946, -0.0170847867, 0.004463505, -0.0132805062, -0.040930856, 0.0093224403, 0.0828649476, 0.0109872259, -0.0266364701, 0.0151231522, -0.0209933128, -0.0247840509, -0.0689678192, 0.0444066636, -0.0046484084, -0.0301987436, 0.0485730618, 0.0082373666, -0.0112136547, 0.0755193904, 0.0623005591, -0.0256443433, 0.034127228, 0.0323256142, 0.0333062261, 0.0350153968, 0.0025605462, 0.0115802586, -0.0690215454, -0.0265050083, 0.0456193797, 0.0226063151, 0.0007737643, -0.0124961669, 0.0225546714, -0.0066132196, -0.0725287572, 0.0262254309, -0.0145140011, 0.0280823782, -0.0013388789, 0.0529462099, 0.062343955, -0.0298672151, -0.0033450008, 0.0192255471, 0.0244695693, 0.006303126, -0.026121702, 0.02906988, -0.0280849375, 0.0127864517, -0.0143583016, 0.0287734531, 0.0009379557, 0.0105114514, 0.0351198688, -0.0250281058, -0.0070197987, -0.007886447, 2.631e-7, 0.0402953103, 0.034716554, 0.0204951912, -0.0041780653, 0.0119420765, 0.0221663602, 0.0024461141, 0.027756609, -0.028180182, 0.0005085215, 0.0051587699, -0.005291393, 0.0486170352, 0.0206163339, -0.0834667832, -0.044444114, -0.0300178435, 0.0580979884, -0.0278924108, 0.0225445163, 0.0099066719, 0.0580288172, 0.0013910814, -0.0129049998, -0.0043241973, -0.019637702, 0.0355106965, -0.0175316669, -0.0028793667, -0.0109815747, 0.0105254175, 0.0015574339, -0.0290854163, 0.0380803645, -0.0462169461, 0.0074199089, 0.0572481751, 0.054360047, -0.0003165005, -0.0217456836, 0.0121901101, -0.0090098856, -0.0221977048, 0.0056686108, 0.0788802728, -0.0481339358, -0.008071756, 0.009242625, 0.0093194013, 0.0061873994, -0.0207623448, 0.0256670844, -0.0318400897, 0.0249772314, 0.0311428811, -0.0119332448, -0.0238259546, -0.0772585943, -0.009179024, 0.065553017, -0.0183789898, -0.0304364916, 0.0076197824, -0.0380205028, 0.0221482161, -0.0626482442, -0.0131089855, 2.395633151e-34, 0.0292386692, -0.0433801748, 0.0309159383, 0.0346443243, 0.005114194, -0.0344153196, -0.0210438762, -0.001203964, 0.0319421478, -0.0617628694, -0.0219016932 ]
http://arxiv.org/abs/2401.06320v2
http://arxiv.org/pdf/2401.06320v2
Zero-shot Generative Large Language Models for Systematic Review Screening Automation
2024-01-12T01:54:08
2024-02-01T02:08:28
Shuai Wang, Harrisen Scells, Shengyao Zhuang, Martin Potthast, Bevan Koopman, Guido Zuccon
cs.IR
cs.IR, cs.CL
Systematic reviews are crucial for evidence-based medicine as they comprehensively analyse published research findings on specific questions. Conducting such reviews is often resource- and time-intensive, especially in the screening phase, where abstracts of publications are assessed for inclusion in a review. This study investigates the effectiveness of using zero-shot large language models~(LLMs) for automatic screening. We evaluate the effectiveness of eight different LLMs and investigate a calibration technique that uses a predefined recall threshold to determine whether a publication should be included in a systematic review. Our comprehensive evaluation using five standard test collections shows that instruction fine-tuning plays an important role in screening, that calibration renders LLMs practical for achieving a targeted recall, and that combining both with an ensemble of zero-shot models saves significant screening time compared to state-of-the-art approaches.
[ 0.0446390733, 0.0302084312, 0.0021223072, -0.0377717093, -0.0144883124, 0.0096661709, 0.0462392122, 0.018615948, -0.0556560792, -0.0756095052, -0.0099599622, -0.0464237407, 0.0160588622, 0.0478671864, 0.0177942105, 0.0008635852, 0.0099992659, 0.0036271163, 0.0660843328, -0.0064085987, -0.0452482179, -0.0236185174, -0.01964573, 0.0439905189, 0.0938315541, -0.0180198457, 0.0344405696, -0.0130862892, -0.0015808342, -0.072192803, 0.0024709811, 0.0688019097, -0.0033515228, 0.0549895056, 0.0000018691, -0.0533179753, -0.0092549818, 0.0547972396, 0.0248110741, -0.0020889996, 0.0609921776, -0.0310388915, -0.011271636, 0.0244730301, 0.0089783343, -0.0598922633, 0.0421200208, 0.0275698863, -0.0126479389, 0.0385054685, -0.0019457481, 0.023223307, 0.031692747, -0.027582746, 0.0426506177, 0.0209212322, 0.0661902577, 0.030517593, 0.0237474497, 0.0320662521, 0.0277316589, 0.010363414, -0.0298851877, -0.0348142609, 0.0168925878, 0.0317256935, -0.0711653307, -0.0438278578, 0.020216547, 0.0325286947, 0.0116772316, -0.0314050727, 0.0167614333, -0.0214927327, -0.0139921447, 0.0344030522, -0.0602937751, 0.0283519961, 0.023728013, -0.028329771, 0.0062094862, 0.0073126773, 0.0335137062, 0.0044108327, 0.0277630333, -0.0025116482, 0.0227799993, -0.0303843711, 0.026561873, 0.007084962, 0.0582856387, -0.0569768287, -0.0218754504, 0.0193058439, -0.0222948194, -0.0091861403, 0.0436399616, -0.0170252305, 0.1226829737, -0.0119586457, 0.0401600935, -0.0342170931, 0.0122578703, 0.0434520617, -0.0171221476, -0.0207778681, 0.0296501052, -0.0016854623, -0.0238153618, 0.0632853508, -0.0440125242, -0.0107867634, 0.0158622693, -0.0031671722, 0.020344764, -0.012333489, -0.0863213837, -0.0373977497, -0.0173853599, -0.0039557484, 0.0085577136, 0.0080645541, -0.0438716747, 0.0074973488, 0.0038560233, 0.0423000194, 0.0051960209, 0.0449294411, -0.0288517326, -0.0069203246, 0.0034230594, 0.0091155805, 0.0047860146, 0.0104619311, 0.0302328113, -0.0024803125, 0.0114661437, -0.0524020121, 0.027854301, -0.0250842478, -0.0411779992, -0.05412497, 0.01531824, -0.0817845017, 0.001494633, -0.0012345219, 0.0402942263, 0.0050744209, -0.0022175708, 0.0174487513, -0.0181674324, 0.0285621099, -0.0349665619, 0.0009554395, -0.0321983062, -0.0007491234, 0.0278298184, 0.0580674633, -0.0041818488, -0.0177029334, -0.0193459988, -0.0188924186, 0.0105111403, -0.0303126704, 0.002499162, 0.0231579114, 0.0179666281, -0.0052219313, 0.021397315, 0.056001395, -0.0245760549, 0.0408318937, -0.033233434, 0.0123851635, 0.0287326872, 0.0684708282, 0.0242132265, 0.026137637, 0.0208838806, -0.0304749329, 0.0118207373, -0.036724858, -0.0078256279, 0.002890697, -0.0108219199, 0.0088775782, 0.0235596672, 0.0151398275, -0.0143824499, -0.0056597958, -0.0430569202, 0.0105788633, -0.0392400175, -0.0255607273, 0.0600724258, 0.0033620258, -0.0212756321, -0.0107646715, 0.0312632993, 0.0013238556, 0.0102112452, -0.0247380324, 0.014942606, 0.038889572, 0.092031613, -0.018982349, -0.0001287015, -0.0352061428, -0.0130173992, 0.0198470503, 0.0071370741, -0.0169884823, -0.0129598808, -0.0292896293, -0.0334660523, -0.0006982291, 0.0361161642, -0.009776785, 0.0114115458, 0.0233867709, -0.0155161489, -0.0622653849, -0.0595849976, 0.0237156507, -0.0493137315, -0.0306956749, -0.0048437389, -0.0693554133, 0.0315783806, 0.0038009484, -0.0282851961, 0.0405891873, 0.03681558, -0.0277290959, -0.0308689978, -0.0230033509, 0.0213192254, 0.0065696388, 0.020023562, -0.0801747441, 0.009529206, -0.0053944397, -0.0364072807, -0.0275868401, -0.0087745255, 0.0223132856, 0.0133982934, -0.0036815298, 0.0049258019, -0.016024407, -0.0278671179, -0.0279248226, 0.0229735561, -0.000930078, 0.0334131084, 0.0285146944, -0.0934419259, 0.0083377892, -0.026444776, -0.0531146415, 0.0224488564, -0.0173505917, 0.0073900651, 0.0159614831, 0.0259564426, -0.0202318355, -0.035175059, -0.0890730172, 0.0173480026, 0.029665431, -0.0068678092, 0.0158567, -0.0258454718, 0.0091858739, 0.0232935827, -0.0200738367, -0.0242114086, 0.0035278755, 0.0357517786, 0.0176271312, 0.0218458362, 0.0108928271, -0.075667806, -0.0426082946, -0.0181914046, 0.0626092479, 0.0590793639, 0.0381100066, -0.0132818697, 0.0352427363, -0.0138668232, -0.0301501695, 0.0153113753, -0.0142501174, 0.0120599, 0.0026549066, -0.0336891636, 0.0454014316, -0.014242921, -0.0221045036, 0.0802593157, 0.0175063498, -0.0416454636, -0.0251679979, -0.0223672967, -0.0427169651, 0.0370825566, -0.0592097752, 0.0142134279, 0.0318413787, -0.0027009768, 0.0055194129, -0.0221634302, -0.0184322596, -0.0298453961, -0.0084320176, -0.0622631423, -0.0201009586, -0.0195017252, 0.0330741368, -0.0003388065, -0.0440456718, 0.0666815788, -0.0230563637, 0.0335485525, -0.0791072249, 0.0404966138, -0.0443576351, -0.0364553519, 0.0052098688, 0.004296788, 0.0396848135, 0.0154717444, -0.0022377451, -0.0299572386, 0.0333444253, -0.0177154262, 0.0264783576, -0.0176206026, 0.0430977084, -0.0126018254, -0.0028119646, -0.0167643353, -0.0135839172, -0.031579718, 0.0136857238, 0.0510645397, -0.0004669885, -0.0755336508, 0.0524075814, 0.0367665999, 0.0583080463, -0.0290554352, -0.0127985608, 0.001798852, -0.0279456265, 0.0762685016, -0.0826085955, 0.0163276829, -0.0060395808, 0.0543022938, 0.0547968075, 0.0045650532, 0.0584485792, -0.0420506969, -0.011476092, -0.0045418683, -0.057430543, 0.0014049265, 0.0311988983, -0.0086927647, -0.0267603789, 0.0010845573, 0.0873305649, 0.0243767593, -0.1176582128, -0.0203600936, -0.0422335528, -0.0140180625, 0.0035922029, -0.0108685438, -0.0605910756, -0.0099355606, 0.0071731196, 0.0416383035, -0.0311433356, -0.012453679, 0.0206419863, -0.0673267543, 0.0404789336, 0.0192022789, -0.0096572014, -0.0198357496, -0.0494697839, 0.026414277, -0.0156141706, -0.0289285667, 0.0246809479, -0.0566731878, 0.0069502853, -0.016339248, -0.0586983934, -0.1041102633, 0.0731169283, -0.0270079784, 0.0798309594, 0.0500372089, 0.0006139528, -0.0141223753, 0.0268709268, 0.0201454218, -0.0642341971, -0.0197020434, -0.009914631, 0.0731461868, 0.0279658381, 0.0532775931, -0.0218592696, 0.0337027647, -0.0353061557, -0.0079851663, 0.0176072288, 0.0742949694, -0.0058511021, -0.0365239829, -0.0473130271, 0.0338080339, 0.014437234, 0.0811196268, 0.0348112769, 0.0097905621, 0.0100320168, 0.0250080694, 0.011912683, -0.013786112, -0.035761971, 0.0247090813, -0.0274294335, -0.0528229028, -0.0448725894, -0.0210980251, 0.0813492909, 0.0098706353, 0.03035786, 0.0388525352, 0.0339151062, -0.015608401, -0.0173298791, 0.0537985489, -0.0029826211, 0.0041969744, -0.0536509492, -0.0160843786, 0.0913188756, 0.0043700249, 0.0044299602, 0.0058603734, -0.0094540007, -0.0166826621, -0.0288677309, 0.0431119427, 0.0244126953, -0.0239543021, -0.0089707347, -0.0359625444, 0.0552126132, -0.0082916897, 0.0450715832, -0.0272297058, -0.0207803864, -0.0259485636, -0.0051301038, -0.0318741724, -0.0715270936, 0.0351190902, -0.0078201089, 0.0224440154, -0.0035297605, 0.0029435342, 0.0411099382, 0.0208736528, 0.0426748879, -0.0451696925, 0.0190713257, -0.0077371011, 0.0016201449, -0.0331922881, 0.0203832015, -0.0264038052, 0.0373911075, 0.0305021591, 0.0022357441, -0.0211511198, 0.0133174555, -0.0927014798, 0.0459238179, -0.0586258769, 0.0737239495, -0.0003866445, 0.0309250373, 0.0484408364, -0.0346759148, -0.0292680394, -0.0060719326, -0.0561659746, 0.0094770025, -0.0028489802, 0.0214621741, -0.0019278363, 0.0182058904, -0.0529837944, 0.0199875049, -0.045346804, -0.0104077244, -0.0164269265, -0.0136471456, 0.0322514139, 0.0158565231, 0.0452699177, -0.0291745011, -0.0025532148, -0.0534841903, 0.0304143466, 0.0035264625, 0.0114839105, 0.04182785, 0.0313645713, -0.0040877857, -0.033867497, 0.08435826, 0.0049112616, 0.0127242897, 0.0045278468, -0.0520133898, -0.0086194705, -0.0276943725, -0.0288119651, 0.0244347379, -0.0313469432, -0.014550088, -0.0890782923, -0.0217379984, -0.0154384635, 0.0057630218, -0.0022244467, -0.0160261709, -0.017061064, 0.0394601002, 0.0087655308, -0.0038919814, -0.0452649072, 0.0342278183, -0.0178337377, -0.0367147401, -0.0340754315, -5.770726581e-33, 0.0302101597, -0.0147078391, 0.0011108429, -0.0553805009, 0.0274878349, 0.0316275954, -0.0493640006, -0.0011406875, 0.0201843549, 0.0588825792, -0.005754035, -0.000748045, -0.0019062823, 0.0025212311, 0.0387878641, 0.0139626814, 0.0494637229, -0.0066968389, -0.020445928, 0.0333593413, -0.0304942559, -0.0324723981, -0.0055120001, -0.0023359449, 0.0244331025, 0.0201626066, -0.0023686597, -0.0287507642, 0.0103108371, 0.0761545226, -0.0107146353, 0.0376960188, 0.0279181916, -0.0090532079, -0.0121734329, -0.0191023331, -0.0605541654, 0.0018479945, 0.0382265076, -0.0618149713, 0.0075540561, -0.0115094176, 0.0434974954, -0.0085886521, -0.0336768925, -0.0110718496, 0.040351782, -0.0482277013, -0.0632416755, -0.1128508076, -0.0703839511, 0.028893102, -0.0092909178, 0.0078400224, -0.0254289825, 0.0548829995, -0.0202360582, 0.0618058331, -0.0237334594, 0.0316300616, 0.0564153977, 0.0230344199, 0.0126863187, -0.0152905285, -0.0133537557, 0.0700095743, -0.0605045669, 0.0212800857, 0.0235665515, -0.0158544239, 0.0102658337, -0.0222891513, 0.0258233678, 0.0431303121, 0.0538391173, 0.0147794224, -0.0872918144, 0.0550607517, -0.0620213524, 0.0564099252, 0.0926522389, -0.0236080494, -0.0268001221, -0.0204091407, -0.0441411324, -0.0311235823, -0.0292474069, -0.0119366674, 0.0405876413, 0.0185397379, -0.0309447199, -0.0320551433, 0.0566285476, -0.0128223067, 0.0138531169, 0.0467366688, -0.0042780275, 0.02748188, -0.00634652, 0.0009839329, -0.0671525225, 0.0113401329, 0.0337690786, 0.0302586965, 0.0326318704, 0.0024010625, 0.0392095149, -0.0203762818, -0.0625348762, -0.0145709869, -0.0083345957, 0.0058219102, -0.0075883903, 0.0064762672, -0.0157664753, 0.0383140519, 0.0191235486, 0.0407453477, 0.0063377409, -0.0138592217, 0.0005105619, 0.0169558935, -0.0232915282, 0.0169190709, -0.016086353, 0.0222439505, -0.0252627656, 0.029144885, 0.0865654275, -0.0303721055, 0.0087613836, -0.0064212768, 2.579e-7, 0.0749121606, 0.0622205175, -0.0526795872, -0.0405904129, 0.0500079393, 0.0209507495, 0.0088652801, -0.01388497, 0.061837662, 0.0282668564, 0.0380353816, -0.0059343097, -0.0003678486, 0.0215838496, -0.0549509153, 0.0050435672, -0.0679565966, -0.0154827256, -0.045793727, -0.0439113863, -0.0065286658, 0.0528853685, -0.0425785333, 0.016160734, -0.0102288546, -0.0405374281, 0.0262600724, -0.0388734899, -0.0112402346, 0.0498258956, 0.0355546325, -0.004844117, 0.0309049692, 0.0125753088, -0.0211436823, 0.0040299497, -0.0487384871, 0.045136828, -0.0187850799, 0.0262838751, 0.0294959173, -0.0093138628, 0.048023168, -0.0415541083, 0.0375649147, -0.0895066708, -0.0253337938, -0.0498916954, -0.0431258045, -0.0007470996, 0.0758572891, -0.0227286052, -0.0273951832, 0.0411934257, -0.0237489045, 0.0198707953, -0.0399223529, -0.0208004359, 0.0010983477, 0.0539153069, -0.0417934805, -0.0539521538, 0.0274617504, -0.1025667265, -0.0499659032, -0.0952182263, 0.0409034751, 2.516234738e-34, 0.0825619698, -0.0138716307, 0.0021387187, -0.0227064043, 0.0201180149, 0.012583171, -0.0517672263, 0.0130634615, 0.0240390785, -0.093614459, 0.0025078538 ]
http://arxiv.org/abs/2401.06824v2
http://arxiv.org/pdf/2401.06824v2
Open the Pandora's Box of LLMs: Jailbreaking LLMs through Representation Engineering
2024-01-12T00:50:04
2024-02-17T04:21:02
Tianlong Li, Shihan Dou, Wenhao Liu, Muling Wu, Changze Lv, Xiaoqing Zheng, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Jailbreaking techniques aim to probe the boundaries of safety in large language models (LLMs) by inducing them to generate toxic responses to malicious queries, a significant concern within the LLM community. While existing jailbreaking methods primarily rely on prompt engineering, altering inputs to evade LLM safety mechanisms, they suffer from low attack success rates and significant time overheads, rendering them inflexible. To overcome these limitations, we propose a novel jailbreaking approach, named Jailbreaking LLMs through Representation Engineering (JRE). Our method requires only a small number of query pairs to extract ``safety patterns'' that can be used to circumvent the target model's defenses, achieving unprecedented jailbreaking performance. Building upon these findings, we also introduce a novel defense framework inspired by JRE principles, which demonstrates notable effectiveness. Extensive experimentation confirms the superior performance of the JRE attacks and the robustness of the JRE defense framework. We hope this study contributes to advancing the understanding of model safety issues through the lens of representation engineering.
[ 0.0173280463, 0.1094060466, -0.0182594117, 0.0661364123, -0.0363092273, -0.037385039, -0.0190188754, -0.0031072814, 0.0462802164, -0.0387141369, -0.0001253043, -0.0075123422, -0.0197000876, 0.0330412239, 0.0639512315, 0.0228521228, 0.0613766722, -0.0584066063, -0.0302206483, -0.0058360533, -0.0203088336, -0.0217861403, 0.0404979028, 0.0010615925, 0.0156985037, -0.0076371962, -0.03643528, 0.0243467521, -0.0072206594, -0.0183058269, -0.0228415355, 0.0129496958, -0.0213962086, 0.0489931256, 0.0000021583, -0.0292545203, -0.0408111997, 0.0746216401, -0.0335553847, 0.0641926005, -0.0125915958, -0.0462685637, -0.0245661046, 0.0253250506, -0.0097437771, 0.0180044547, 0.039998658, 0.0221730769, 0.0773335397, 0.0742092505, 0.0121617755, 0.000296941, 0.0472662337, 0.0134391207, 0.0157251507, -0.0363968052, 0.0212805811, -0.0213203598, 0.0428512953, 0.0251291189, -0.000309918, -0.0193086714, -0.0144975046, -0.0209782738, -0.0769866183, -0.0393042527, -0.025696842, 0.0066864616, 0.0268059615, 0.0163419135, -0.0164839439, -0.0207864568, 0.0147921322, 0.0274404213, -0.0002030421, 0.0231116768, 0.0038468128, 0.0351566225, 0.0159008093, 0.006809297, 0.0414706282, -0.0068009226, 0.0721180439, -0.0304034241, -0.0295045674, 0.0476358719, 0.0369000472, -0.0229162052, -0.0319765769, -0.0739743412, -0.0212224852, -0.0192632359, -0.0302903559, -0.0017572714, -0.0020719469, 0.0227791946, -0.056015674, -0.0083912686, 0.0557294972, -0.0652888119, -0.0137489522, 0.0363649726, 0.0166543797, 0.0152860135, 0.012414895, -0.0193015747, -0.0456544906, 0.0457308032, 0.0102898711, 0.0196287315, 0.0061855996, -0.0106431684, -0.0013343667, 0.05125916, -0.0016274689, 0.0427146479, -0.0146721816, 0.0657766908, -0.0462919585, 0.0577121824, -0.0684949234, 0.013365387, 0.0285479072, 0.0305435639, 0.0372611992, -0.0480108038, 0.0032887214, -0.0470587984, -0.0208373442, -0.0958669186, -0.0170874037, -0.0013759858, -0.0655858293, -0.0291686151, -0.0097204791, 0.1614964455, 0.0458401516, -0.0096125267, -0.0962127671, -0.1106143147, 0.0092736008, -0.0047070342, 0.0176566448, -0.0644121692, -0.0392157026, -0.0150162214, -0.0135084419, -0.0865137801, -0.0223520566, -0.0207987465, -0.0362546779, 0.0421553552, 0.0123549476, -0.0154822133, -0.0218964517, 0.0545464717, 0.0054399413, 0.0819792897, 0.0255276002, 0.0242432468, 0.0519269034, 0.0046565672, 0.0560784005, 0.0376156047, -0.0064003724, 0.0419511721, -0.0676494911, 0.0362574682, 0.0440810584, -0.019345006, -0.0526863784, 0.0465310588, 0.0021897978, -0.0396959297, 0.0536931604, 0.0342667475, -0.0454022847, 0.0578158423, -0.0036344975, -0.0042625135, 0.0014543161, 0.0066551636, -0.069552727, -0.022935411, -0.0993373096, -0.0164404158, -0.0312776752, 0.0280775893, -0.0112707792, -0.008026232, -0.0035232266, -0.0116773611, -0.0104701873, 0.0056490176, 0.002189673, 0.0245675817, 0.0108087864, 0.0796723366, 0.0141042247, -0.0399657302, -0.022650959, -0.0837378725, -0.02260831, 0.0445693769, 0.0698102266, -0.0444662124, -0.0154473437, 0.0105172116, -0.0507344715, 0.0052867322, -0.005472092, 0.0124151958, 0.0261246376, 0.0253093932, -0.015862193, -0.011720092, 0.0491036698, -0.0093862303, -0.0027380071, -0.0208829679, -0.0059480639, -0.0605245307, -0.0477018617, 0.0093489047, -0.0105267093, -0.0529233366, 0.0104988404, 0.0374373347, 0.0096101603, 0.0016114418, -0.015659662, 0.0384347439, 0.0754287839, 0.03033242, 0.0229266193, -0.0090096565, -0.0087478505, 0.0299591515, 0.0053042634, -0.0358935669, 0.0021765982, 0.0498162396, -0.0284022726, 0.000690605, 0.0775535107, -0.0425832942, 0.0369130895, 0.0272591189, 0.0305324588, -0.0151651958, -0.0057566348, -0.0463544987, -0.0122518772, -0.0076747234, -0.0081724674, -0.0150643289, -0.0159175843, 0.0094692903, 0.0018602439, -0.0709559768, 0.0199082587, -0.0207197051, 0.044305712, -0.0066594025, 0.019801883, -0.0044651888, -0.0471851826, -0.0145665724, -0.0156530216, -0.0094006313, 0.0549508259, 0.0214974172, 0.0437098108, -0.0284894519, -0.0247670561, 0.0042324588, -0.0505215861, -0.0136957616, 0.0289216973, 0.0014009199, -0.002663756, -0.0725802556, -0.0004902718, -0.0287675951, -0.0273077134, 0.0787174031, -0.0641620234, 0.0081646061, -0.0224829968, 0.0114777349, 0.0011073042, 0.036876943, -0.0075359768, -0.0286040269, 0.0219673775, -0.0283562448, -0.0505272411, 0.043449901, 0.0038943803, 0.0342041217, 0.0767252296, -0.0010270787, -0.0261866096, -0.0298404247, 0.0331711695, -0.0306503884, -0.043480102, -0.0410558768, 0.0202982202, 0.0118796593, 0.0012385923, -0.0282282792, -0.0055978079, 0.0149660548, 0.0415630005, -0.0106834807, 0.0005669151, -0.0262229126, -0.0193249788, 0.0099704145, 0.008865932, -0.0647103265, 0.0527530238, -0.0456198417, 0.0442926101, -0.0040375632, -0.0262849387, -0.0146425851, 0.0432302803, -0.0095059145, 0.0185705144, 0.0550908819, -0.0426948518, -0.0404880792, -0.0142637212, 0.0404623821, -0.0415854342, 0.0635164529, -0.0329751968, -0.0309534408, -0.0135205705, -0.0232076868, -0.0673610792, -0.0345188305, -0.0036237303, -0.0084537473, 0.0117416875, -0.0207081847, 0.0112611093, -0.0080749039, 0.003041469, -0.029336907, -0.0043196697, -0.0166963413, -0.0223748181, -0.020422386, -0.0047394773, -0.0545102432, -0.0003891982, 0.0011024191, 0.0508686043, 0.0775556117, 0.0442412533, -0.0297582336, -0.0212660581, 0.0222187582, 0.0314409174, -0.0133065311, -0.0104738912, 0.0451024659, -0.0116356434, -0.0393704735, -0.0426722839, 0.0156613626, 0.030815864, 0.008335704, 0.0510756075, 0.0024204699, 0.0675387159, 0.0358984508, 0.0597472899, -0.0816771612, 0.0028339485, 0.021155417, 0.0609213896, -0.0181854758, -0.0322843902, -0.0227331202, -0.0820054635, 0.0217405409, 0.0433852412, -0.0094073648, 0.0061128093, -0.0444638319, -0.0174819231, 0.0091609126, 0.0369417556, 0.0184983425, -0.0174592268, -0.0021396226, 0.0048189191, -0.0311005805, -0.0029635441, 0.0185889844, -0.0166882854, 0.0107138753, 0.0748184696, -0.0179857984, -0.0242529791, 0.0225460585, 0.0252377782, 0.0259368047, -0.0080483919, -0.0136437332, -0.0055872793, 0.0242742468, -0.0314320177, 0.0344403572, 0.0073226439, -0.0141989421, -0.0087645007, 0.0434631854, 0.0680458397, -0.0274890587, 0.0147989672, -0.0334041379, -0.0568458028, 0.0153423706, 0.0361429676, 0.0114676226, -0.0030601232, -0.0372731872, -0.0798133612, -0.0442441478, -0.0191265009, -0.0580716953, 0.0170174278, 0.0079768272, -0.0147820571, -0.0096194185, 0.0354265943, -0.0397373065, 0.0278892908, 0.0575527735, 0.0048212442, -0.0034872089, 0.0149510801, -0.0308449082, -0.0189886298, -0.0472915396, 0.0202939566, -0.0430537947, 0.0425683223, -0.0067118257, -0.0017380042, -0.0032551, -0.0467568599, -0.0230967905, -0.1002362669, 0.0160508119, 0.0749666244, 0.0284951944, -0.0115944976, -0.0235163998, -0.0559080876, 0.0365267284, 0.0541683212, -0.0600379147, 0.0021975792, 0.0702288523, -0.0420533977, 0.016155269, 0.0150154019, -0.0524429418, -0.0467439257, 0.0537444018, -0.0071351328, -0.0564851165, -0.0038104584, 0.0011811208, 0.0714071989, -0.0034363759, 0.0197862554, 0.015095789, 0.0569689535, 0.0510448515, -0.0499991514, -0.032072749, 0.0042698728, 0.0462298542, -0.0056946496, -0.0051367483, 0.0263058841, 0.0214725193, 0.0209641978, 0.053846363, 0.0078160875, 0.0547578, -0.0011745183, 0.012510444, 0.0662924275, 0.0196461696, -0.0066839531, 0.0416182391, 0.0161277335, 0.0371848047, -0.0286778398, 0.0052417219, -0.0007181217, 0.0243366342, -0.0277432092, 0.0407004207, -0.0574959964, -0.0691818222, 0.0298517793, 0.0526000671, -0.0182078462, 0.0171197094, 0.0063103545, -0.0018437067, 0.0096596526, -0.0482355021, -0.0233749673, -0.0089175729, -0.0507645532, 0.0293690152, -0.0006625319, 0.013361223, -0.0091047743, 0.065939419, 0.0287472177, 0.0447400622, 0.0192536116, -0.021546986, -0.0531155504, -0.0281419083, 0.0829120949, 0.0071779275, -0.0438830405, -0.0636074543, -0.0753911063, -0.0747079924, -0.0285412967, -0.005156822, 0.0208959132, 0.0007243284, -0.027081918, 0.052266635, 0.0563531704, 0.0344702862, -0.0904694349, 0.0020819427, 0.0163151398, -0.0557112172, 0.0536508933, -5.730769324e-33, 0.0172318183, -0.0259216651, -0.0361047499, -0.0442810506, 0.0214379691, -0.0230845287, -0.0322081521, 0.0200971086, -0.0215817485, -0.0397227146, -0.0108444747, -0.0066302861, 0.0078938026, 0.0108262114, -0.0023212419, -0.0306981821, -0.0094221635, 0.0167940743, -0.0048091295, 0.0139018511, 0.0568384454, -0.0215603299, 0.0059948512, -0.039954517, 0.0384514965, -0.0372062176, -0.0265790056, 0.0339018591, -0.0619805306, 0.0636572093, 0.0120086242, 0.0293168724, -0.0208400115, 0.0098419087, 0.0069097942, -0.0018185497, -0.0095421169, -0.0083352067, -0.0013025878, -0.0194942486, 0.0224385075, -0.0600622371, 0.0367914438, 0.0033331818, 0.0205860585, -0.0048029274, -0.0254812445, -0.0172719583, -0.0056109913, -0.0080204355, -0.0158113688, -0.0006770524, -0.0432732813, 0.0389287621, 0.0328062288, -0.0289232675, 0.0446463376, -0.0004863649, 0.0075244079, 0.0264494922, 0.0318456329, 0.0150954882, 0.0394167304, 0.032336507, 0.0056445794, 0.0257924497, -0.0286323223, 0.0102074947, 0.0296291746, 0.0359394625, 0.0056399899, 0.0765648261, 0.0395863727, 0.0527996682, 0.0464553796, -0.0040707779, -0.0666758418, 0.0234129541, 0.0097977109, 0.0206534099, 0.0169201288, -0.0151606742, -0.0658910945, -0.0073528774, -0.0174278039, 0.0240634177, -0.0384137779, -0.0248976983, -0.006689724, -0.0182115007, -0.055795528, -0.0410617217, -0.0100022778, -0.0667732358, -0.025716424, 0.0304985512, -0.0168745201, -0.0423559919, -0.0142040141, 0.0191397909, 0.0407679565, -0.0237497035, -0.0113213109, -0.0667766705, 0.0208086576, -0.0055098203, 0.0142236408, 0.0406327806, -0.0694825873, -0.0150310667, -0.0241453275, 0.035460826, 0.0069097425, -0.0128226383, 0.0176277515, -0.0257632211, 0.0357230902, -0.0301319677, 0.0296636801, 0.0076132067, -0.0279952511, 0.0509336293, -0.011494468, 0.0388025604, 0.024003353, -0.022875376, 0.0149357421, 0.0298394021, 0.0916128606, -0.066798009, -0.0127213439, 0.0056140418, 3.061e-7, 0.0227547884, -0.0210624747, 0.0273585543, 0.0310130641, 0.0225147456, 0.086289987, -0.0120522073, 0.0617280863, -0.0084841996, -0.0483485982, -0.0268634707, -0.020613879, 0.0357171968, 0.0306072142, -0.0603904799, 0.0308698975, -0.0420176685, -0.013966253, -0.0356506929, -0.0260421988, 0.0518928915, 0.0562534668, -0.0128105925, -0.0400921293, -0.0244431924, -0.0553031862, 0.0016562343, -0.0061106854, -0.0059744464, 0.0124590797, 0.0099646328, 0.0231486969, 0.0376289152, 0.006061743, -0.0428653918, -0.0144571355, -0.0641841665, 0.038006112, 0.0197260212, -0.0183002613, -0.0218432192, -0.0796306208, -0.0096923709, -0.0028193775, 0.0700061619, 0.0474443249, -0.0249825772, -0.0192891899, -0.0044156499, -0.0560635068, -0.0085088518, -0.0304086953, -0.0198168941, 0.0109564997, 0.0159078036, -0.0120567903, 0.0550186783, -0.043163944, -0.0329122506, -0.0045567667, -0.0173514839, -0.0329040065, 0.0268072654, 0.0512546562, 0.0257046521, 0.0025002419, 0.0021397108, 3.465717341e-34, 0.0075336983, -0.0468784831, 0.022974005, 0.0378165506, 0.0429879427, -0.0173997208, -0.0184643976, 0.0103536788, 0.0122413309, -0.0189372636, -0.057439588 ]
http://arxiv.org/abs/2401.06310v2
http://arxiv.org/pdf/2401.06310v2
ViSAGe: A Global-Scale Analysis of Visual Stereotypes in Text-to-Image Generation
2024-01-12T00:43:57
2024-02-22T20:35:02
Akshita Jha, Vinodkumar Prabhakaran, Remi Denton, Sarah Laszlo, Shachi Dave, Rida Qadri, Chandan K. Reddy, Sunipa Dev
cs.CV
cs.CV, cs.CL, cs.CY
Recent studies have shown that Text-to-Image (T2I) model generations can reflect social stereotypes present in the real world. However, existing approaches for evaluating stereotypes have a noticeable lack of coverage of global identity groups and their associated stereotypes. To address this gap, we introduce the ViSAGe (Visual Stereotypes Around the Globe) dataset to enable the evaluation of known nationality-based stereotypes in T2I models, across 135 nationalities. We enrich an existing textual stereotype resource by distinguishing between stereotypical associations that are more likely to have visual depictions, such as `sombrero', from those that are less visually concrete, such as 'attractive'. We demonstrate ViSAGe's utility through a multi-faceted evaluation of T2I generations. First, we show that stereotypical attributes in ViSAGe are thrice as likely to be present in generated images of corresponding identities as compared to other attributes, and that the offensiveness of these depictions is especially higher for identities from Africa, South America, and South East Asia. Second, we assess the stereotypical pull of visual depictions of identity groups, which reveals how the 'default' representations of all identity groups in ViSAGe have a pull towards stereotypical depictions, and that this pull is even more prominent for identity groups from the Global South. CONTENT WARNING: Some examples contain offensive stereotypes.
[ 0.0243866425, 0.0978472754, -0.0244063344, -0.013121346, 0.0269322284, 0.0630063862, 0.0731692314, -0.0259063207, 0.0395246372, -0.0625452101, -0.0217517763, -0.060558144, 0.064365387, 0.0272396915, 0.0531774983, -0.0756169334, 0.0064892201, 0.0490538627, -0.0146484105, -0.0372722931, -0.002640994, 0.0624205433, 0.0191618875, 0.0473699532, -0.0704510212, -0.0246078335, 0.0722219795, -0.0042160498, 0.0284561291, -0.0199831948, 0.0276768245, 0.0338046849, -0.0138392569, -0.00369064, 0.0000019949, -0.0609058961, 0.0314033963, 0.0093828663, 0.04457286, 0.0267437473, 0.0718173087, -0.0130242798, -0.0088046016, 0.0099058989, -0.0188360661, 0.0078760879, 0.0629253536, 0.0249158572, 0.0294761192, -0.0051652594, -0.0067499704, -0.0511874147, -0.0841759667, -0.0105677275, 0.0131607968, 0.0377493538, 0.0255517792, -0.0353100188, -0.0940078497, -0.0300295856, -0.0058100708, 0.0049625062, -0.0114277825, 0.0401035212, 0.0223251656, 0.0287938546, -0.0445548892, -0.0516919494, 0.0284382273, 0.0401102155, 0.0309352204, -0.0055549257, -0.0253632795, 0.026323529, -0.008662994, -0.0041533513, 0.0372530594, 0.0337164253, -0.0210771058, 0.0051237401, -0.0624762513, 0.0220350549, -0.0124464696, -0.00341232, -0.0180589035, -0.0095468815, 0.0129465377, 0.0194665082, -0.0196786374, 0.0148853511, -0.0289338902, -0.0431542657, 0.0028196005, 0.0051958235, 0.0180650372, -0.0079007093, -0.0191046186, -0.0344266295, 0.013086291, -0.0454965346, 0.0219590124, 0.040495351, -0.0379790999, -0.0022961728, -0.0024555523, 0.0489889495, 0.0113689266, -0.0192899238, -0.0101845451, -0.026059676, -0.0103409383, -0.0217011329, 0.0517475717, -0.0305367168, 0.0439304076, 0.0424733944, -0.0702849925, -0.0440173186, -0.0622564107, 0.0050969687, -0.0321566463, 0.0592236891, -0.0435993075, -0.0024836815, -0.0774999484, 0.0091780806, -0.0282694977, -0.0125041306, -0.0759197846, -0.0548349768, 0.0372372381, -0.0157749914, -0.0085869385, -0.0118093751, 0.0136581818, 0.0491114371, -0.0201092791, -0.0090467623, -0.0342944674, -0.0135402232, -0.0341302715, -0.034860272, 0.0259780809, -0.0509754196, 0.017015513, -0.0015429078, 0.0227934998, -0.0807379559, -0.0052705295, 0.0343985558, -0.0268370789, 0.0359428711, 0.0562542677, 0.0058080801, 0.0308269747, 0.0385184139, -0.042433124, 0.0595131367, 0.0034500065, 0.0509723127, 0.0124360407, -0.013710524, -0.0208637509, 0.0385780521, 0.0394517668, 0.0200214852, -0.0470847562, 0.016984148, 0.0200681984, -0.0156562906, 0.0588171817, 0.0210362282, 0.0077984701, -0.0001297479, 0.0595272966, 0.0337277241, -0.03407849, 0.0520883389, 0.0488265343, 0.0124735842, -0.0381018445, 0.0010371375, -0.0531606749, 0.013665258, 0.0296446681, -0.0290532187, -0.0251845643, 0.1496838927, -0.0295101199, -0.0034299139, 0.0263834875, 0.0318539552, 0.0185113419, -0.0348419622, -0.0094101932, 0.0625966787, 0.0106952759, 0.0300759338, 0.027604593, -0.0172540899, -0.0146511616, -0.0230149273, 0.0293302387, 0.0303207319, 0.00712161, 0.0470373221, 0.03635763, -0.030631341, -0.0018259584, 0.0595607013, -0.0091675697, 0.0135522028, 0.0018490274, -0.0104716867, 0.0007960788, 0.0204443261, -0.0020396668, 0.0652636215, 0.0496010445, 0.0771070793, 0.0381282419, 0.0045848521, -0.0271583684, 0.003712296, -0.001652891, 0.0012325168, -0.0041940901, 0.0479419939, 0.0185604095, 0.0023172863, -0.0485127792, -0.033700522, -0.0361362323, -0.0161073878, 0.0057050604, 0.0986555517, -0.074652493, 0.0049410993, 0.008587935, -0.1216792837, -0.0522096194, 0.0124909868, 0.0028149611, 0.0296978895, 0.0462316684, 0.0081072496, -0.0090616196, -0.0101890163, -0.0460623093, -0.0293236095, 0.0439377204, 0.0394189395, 0.0485405736, -0.0015647762, -0.0411546119, 0.02209468, -0.0421206802, 0.0245073624, 0.0290460866, -0.0114340009, -0.014650098, 0.0027496961, -0.0049711429, -0.0141753005, 0.0119866906, -0.0382075086, 0.017966805, -0.059743043, 0.0001554763, 0.0244732052, -0.0456975251, -0.0016909487, -0.0067350138, -0.0216005426, -0.0148327071, -0.0763056725, -0.0165399071, -0.0313534811, 0.0288043562, -0.0064321463, -0.0387929603, 0.0119318618, -0.0095522171, 0.0061816876, -0.0177094992, 0.0923557281, 0.0140233422, -0.0068716877, -0.0226716977, -0.0115279648, -0.0794676393, 0.0067574834, -0.0029786706, -0.0497170091, 0.0278854333, 0.0723966435, 0.0479345545, 0.0419011675, 0.0623970963, -0.0160914827, 0.0219176486, -0.0088386098, -0.0150857652, -0.0331962444, -0.00076665, 0.0259352569, 0.0490398444, -0.1392802894, -0.0193794873, 0.040671695, 0.0328258015, 0.0074484521, -0.0532734692, 0.0655468479, -0.0149573339, -0.0560784787, -0.0286297873, -0.0111292554, 0.0194298476, 0.0316762999, -0.0379850902, -0.047538951, 0.0429956168, 0.0013016665, 0.0199092776, 0.0491191559, 0.0356783979, 0.0028284795, 0.0340576433, 0.0302644782, 0.0476035513, 0.0605193079, 0.0255185347, -0.0387644842, -0.0248352457, 0.0509690121, -0.0136043001, 0.0124208368, -0.0130812777, -0.0367986895, -0.0154966107, -0.0234379321, -0.0283148848, -0.0202959757, -0.019818278, -0.0396287739, 0.0042062011, -0.0286444705, 0.0004021136, 0.0015988559, 0.0168543961, -0.0286143273, -0.0176117849, -0.003228562, 0.0368342437, -0.0172602031, 0.0167004187, -0.0253734943, 0.0133814048, -0.0029492946, 0.0032293014, 0.0306806434, -0.0826185793, -0.0038831402, -0.0298776384, 0.0236196611, -0.0023960394, 0.0465320647, -0.0003000245, -0.0447279029, 0.0565663762, 0.0183299426, 0.0146564301, 0.0416636541, -0.0027980076, -0.0220984314, 0.0006787822, 0.0553058349, 0.0385045186, 0.014516226, 0.0033288246, -0.0811025724, 0.0188454445, -0.0200389717, 0.0197092704, -0.0751061887, -0.0249271356, -0.0300795827, -0.0833511725, 0.0355961882, 0.015347695, -0.037532527, -0.0181818977, 0.0442491844, 0.0137722334, 0.0020657026, 0.0102051888, -0.0174043383, 0.0162972473, 0.0183687303, -0.0155779906, -0.0556908809, -0.0159238297, 0.0283588972, 0.0007263185, -0.0134136965, -0.011135635, 0.0311390311, 0.048331514, -0.0404032096, -0.0217375606, -0.0216244701, 0.0051106438, -0.0303207375, 0.0777581707, -0.0164481476, -0.0338022895, -0.0386069156, 0.0106000351, 0.0381172113, 0.0124840206, 0.0009706599, 0.0096666478, 0.0232976992, -0.0342767499, -0.0520654358, 0.0026885713, -0.0291430335, 0.0558198504, 0.0363246314, -0.0335181765, 0.0211331472, -0.0504619181, 0.0284344964, -0.0687966943, -0.0956038758, 0.0444162562, -0.0415768176, -0.0602303296, -0.0399769992, -0.027484566, 0.0115910675, -0.003982529, 0.012499203, -0.0880317613, -0.0257143043, -0.0160206798, -0.0520367362, 0.0111539103, -0.0272257477, 0.0228011124, 0.0571235642, -0.022555789, 0.0381854959, -0.0414866917, -0.0034684213, 0.0279074274, -0.0447898433, -0.0163370036, 0.0115005672, 0.04870883, 0.0141706048, 0.0209936928, 0.0256323442, -0.0293833278, 0.10707286, 0.0594527125, 0.0540910922, 0.0210764799, -0.0442284085, 0.0541303717, 0.0033115314, 0.0195999499, -0.0045096627, 0.0609107204, 0.0171337221, -0.0731071308, -0.0200611018, 0.0000970186, -0.0167034939, -0.0171994474, -0.0152970655, -0.049854286, 0.004150636, -0.0267539285, -0.0336990692, -0.0204411093, -0.0379441194, -0.0045646653, -0.0276567694, 0.0088147288, 0.017424142, -0.0061463681, -0.0045674639, -0.0354581662, 0.0518163741, -0.0489059053, -0.0178996325, 0.0563302785, 0.0417092256, 0.0047829053, 0.0259278342, 0.0020932748, -0.0170265995, -0.0518512838, 0.031203175, -0.0088364985, 0.0464531071, 0.028980881, -0.0000189008, -0.0063808151, 0.0107151093, 0.0286609214, -0.0175758619, -0.0257249456, -0.0293515939, 0.0352821648, -0.0227564964, 0.0483566672, 0.0105607975, -0.0205484908, 0.0377291851, 0.0285855103, -0.0000333525, -0.0486255586, 0.0427056849, -0.0365477614, -0.0011304931, -0.0015404682, 0.0461788289, -0.01630635, 0.0118107414, 0.0338696092, -0.0839876309, -0.0248285886, 0.0028261074, 0.0366372056, -0.0588837825, 0.0285450984, -0.0141294869, -0.0865391493, -0.0808022469, 0.0184306763, -0.0181490425, 0.0118559366, 0.0354412533, 0.0303087085, 0.019480506, 0.0032669564, -0.0151388505, 0.0165647883, 0.0143010514, -0.0632385761, -0.0017783664, 0.0041452176, -6.079676986e-33, -0.0342423283, -0.0266113151, -0.006186882, -0.0317854173, -0.0403033048, -0.0116052227, -0.0231531095, -0.0235427208, -0.0058893096, 0.0400946401, 0.0212804805, -0.005208117, 0.0037674506, -0.0035546024, 0.0074448208, 0.0352573656, 0.0682611465, 0.0075589404, -0.0551565066, -0.001256756, 0.0368566513, -0.0066654426, 0.0480915681, -0.0786319971, -0.0034692218, -0.0110657075, -0.0518586636, -0.0444138087, 0.0639085621, 0.0257448442, -0.034495499, 0.0653983504, 0.032213334, 0.0076965098, 0.0120421937, 0.0498655327, -0.039671585, -0.03000395, -0.0108109647, 0.010773031, 0.0117214322, -0.0239215586, -0.0090250596, -0.0005156258, -0.0175941065, -0.0244947225, 0.0767973885, -0.0271314923, 0.0487617366, -0.0064781904, -0.027318161, -0.0175658651, -0.023768317, 0.0106766298, -0.0331664495, 0.0676210746, 0.0263032541, 0.0425850898, -0.0660802722, 0.0365700945, -0.0058140331, -0.0400488786, 0.0490870886, 0.0347770825, 0.0409835316, 0.0520181581, 0.0285882372, 0.0312015545, -0.0323144048, -0.0256980993, 0.0352491215, -0.0169284642, -0.0051260064, 0.0986196697, 0.0297327284, -0.0739419162, -0.0000922942, 0.0079294275, 0.0319951773, -0.0136844851, 0.0118490346, -0.0173140448, -0.0306670982, -0.0299557019, -0.0187951345, -0.0702861175, -0.0186727811, -0.0594939664, 0.0222457647, -0.0283548627, -0.0270397905, 0.0514828824, 0.0278580394, -0.0096649071, -0.0210451446, -0.0099632302, -0.0544881932, -0.0104301441, 0.0145997191, -0.0211212374, -0.0382556617, 0.0070740203, 0.0245361812, 0.0869786665, 0.0335539691, 0.0142329102, 0.041478496, -0.0081447745, -0.0708840638, -0.0018244511, -0.0196834244, 0.0089478036, -0.0126582645, -0.0156269576, 0.0053502135, 0.0135579892, -0.040632017, -0.0620465539, 0.0294017699, 0.0013395707, -0.0366846099, 0.0069225426, -0.0151348114, 0.0432601199, -0.039495863, 0.0017295858, -0.0445986763, -0.0097837429, 0.0566653125, -0.055736877, -0.0281968489, -0.0400196165, 2.52e-7, -0.0168359131, 0.0129790381, -0.0164424181, 0.0464367867, 0.0698537454, 0.0628193915, 0.0394346565, 0.0025988854, 0.0479855053, -0.0286080092, -0.0517961569, 0.0213838797, 0.024995368, 0.0677468255, 0.0024066269, 0.0299076587, -0.0262081195, 0.0118716322, -0.0200876817, -0.0008608449, 0.0314991847, 0.0380813926, -0.0001724064, -0.0251604561, -0.0229588412, -0.0262170881, 0.0667737722, -0.0339560024, -0.0045908634, -0.0342335962, -0.0230361242, 0.0161543377, 0.0212669559, 0.0125011001, 0.0109260138, 0.003874107, -0.0020478, -0.0423073582, -0.0051720031, 0.0442685261, -0.0008870871, 0.0316782519, -0.016467033, -0.0824764669, 0.0441274345, -0.0077304966, -0.0340245664, -0.0239624698, -0.0383827351, 0.0241433121, 0.0407264866, -0.0259630922, -0.0376752093, 0.0081428001, 0.0400493108, -0.0010780455, 0.0064102565, -0.0461714342, -0.0117462091, -0.0068430733, -0.0021779474, -0.0255926512, -0.0260472503, 0.0229463484, -0.0088673281, -0.0048552398, 0.0284079444, 2.113052574e-34, -0.0093469787, -0.0147522176, 0.0274805129, -0.0410215929, 0.0374569036, -0.0284755751, 0.0154736442, -0.0525516346, 0.0376939848, -0.0215628836, -0.0029686082 ]
http://arxiv.org/abs/2401.06301v1
http://arxiv.org/pdf/2401.06301v1
Misconfidence-based Demonstration Selection for LLM In-Context Learning
2024-01-12T00:11:24
2024-01-12T00:11:24
Shangqing Xu, Chao Zhang
cs.CL
cs.CL
In-context learning with large language models (LLMs) excels at adapting to various tasks rapidly. However, its success hinges on carefully selecting demonstrations, which remains an obstacle in practice. Current approaches to this problem either rely on hard-to-acquire external supervision or require frequent interactions with LLMs, resulting in high costs. We propose a new method called In-Context Reflection (ICR) to overcome these challenges. ICR strategically selects demonstrations to reduce the discrepancy between the LLM's outputs and the actual input-output mappings. Specifically, ICR starts with a random set of initial demonstrations, then iteratively refines it. In each step, it analyzes a pool of candidate examples and identifies the ones most likely to challenge the LLM's current understanding, measured by a new metric called misconfidence. These most confusing examples are then selected to replace the less informative demonstrations in the current set. Our comprehensive evaluation across five diverse datasets encompassing 13 subtasks shows the efficacy of ICR. Compared to existing methods, ICR achieves an average performance boost of 4%, while demonstrating remarkable cross-task generalization capabilities.
[ -0.0040313327, 0.0440112874, -0.0018415008, 0.0389270037, -0.0352112129, 0.0144715291, -0.002084953, -0.0081364401, 0.0114042219, -0.0347927436, -0.0601170771, -0.0388335064, 0.0031255942, -0.0416579358, 0.0485770963, -0.0344352946, 0.0268448256, -0.0472313054, -0.0491544344, 0.0060110833, -0.0298820883, 0.0000899713, -0.0240048133, 0.0425417647, -0.008570062, -0.0252164062, -0.0002512492, 0.0282801688, 0.002338852, -0.0545481555, 0.0179986246, 0.0300692078, 0.061504811, 0.0131147038, 0.0000023247, -0.0535601415, -0.0260336883, -0.0100559006, -0.024982838, 0.0124306548, 0.0474245101, 0.0024290807, -0.0109120458, 0.0390772745, -0.0482073538, -0.0053012162, -0.0001646602, 0.0358329117, 0.0275836047, 0.0831946209, 0.0145772286, 0.038324859, -0.0577591993, -0.0269276462, 0.0253618062, -0.0647316426, 0.0302162524, -0.0036720629, 0.0139294593, -0.0205058213, -0.036813546, 0.0064533823, 0.0208031815, -0.0114320796, -0.0315680057, 0.0126247415, -0.0264334958, 0.0098619433, -0.0306750108, 0.0474465452, -0.0218548495, -0.0345928594, -0.0038976995, -0.0221382864, 0.0196294114, 0.0424171612, -0.0648465231, 0.0073116836, 0.0115782497, 0.0356701091, -0.0088886507, 0.0249375068, 0.0325516835, 0.0099212471, -0.0219371822, 0.0381746292, -0.025836166, -0.0421770588, 0.0348982066, 0.0183560438, -0.0253226515, -0.0526970923, -0.0438894965, 0.0386724696, -0.0700352341, 0.0329551995, -0.0578445904, -0.0523550622, -0.0030278827, 0.0078289509, 0.0636528954, 0.0392376259, -0.0056662834, 0.0467696413, -0.0317077264, 0.0617531314, 0.0250838567, 0.0457191989, -0.0369770899, -0.0154564679, -0.0269224998, 0.0323339291, -0.0377456993, 0.0054016062, -0.0126899062, -0.0087791625, -0.0375328176, 0.038083721, -0.0524700545, 0.0312784463, 0.0070381807, -0.010837025, -0.0467794165, -0.0115049127, -0.0125789642, -0.0053193858, 0.0452702679, 0.0287016239, -0.0001271109, -0.0630286336, -0.039339941, 0.0189732555, -0.0201302189, -0.007870188, 0.0157839451, 0.1084258035, -0.0227889102, -0.0701589063, -0.0411449745, 0.0130636953, 0.0090824766, -0.0495620519, 0.0096994685, -0.0600815527, -0.0174762253, -0.0070183263, 0.0140291443, -0.0340302661, 0.0154368551, 0.0021181433, 0.0144856311, 0.06205751, 0.0173660312, 0.0300085451, 0.0188975334, 0.0152240358, -0.0881435797, 0.0822280049, 0.0176370963, 0.0068188347, 0.0138319647, 0.0293341335, 0.067290917, 0.0408217311, 0.0419450253, 0.0445923619, -0.0257677026, 0.0090283873, 0.026531484, 0.0225435589, 0.0370788798, 0.0116099427, -0.0165775251, 0.0630796552, 0.0729277283, 0.0511089116, -0.0246426705, -0.0288775824, 0.0292141065, 0.0290582962, 0.0268560462, -0.0196491312, -0.0744624436, 0.0235919207, -0.0066373139, -0.0077414089, 0.0056719072, 0.0029691905, -0.0100505855, -0.0264395103, -0.0089007886, -0.0051013529, 0.0078695668, 0.0635462627, 0.0552733615, 0.0313882157, -0.0896329507, 0.0204672683, 0.0084041283, -0.0118782604, 0.0079065692, -0.0625321195, 0.0227080919, 0.0401875749, 0.0304891933, -0.0538488775, -0.0179381892, -0.0226866025, 0.0872151703, 0.0206295922, 0.0298854169, -0.0285015982, -0.0141515937, -0.0426335111, -0.0309059639, -0.0235201363, 0.0266910456, -0.0172822382, 0.0536591969, 0.0178919323, -0.0079094414, -0.0772673041, -0.0267313179, 0.0366107039, -0.0342171006, -0.0511769056, 0.0072761136, -0.0055313231, 0.0287578441, -0.0230745319, 0.0106144911, 0.0094334846, 0.0431065559, -0.0018058583, 0.0154112484, 0.0171549208, -0.0448152274, -0.0819329992, 0.0043851403, -0.0366760343, -0.0534444712, -0.0134230666, -0.0739484355, -0.0283917524, -0.0255414322, -0.0216600727, 0.0747447312, -0.0109839309, 0.0278366283, -0.0143834511, -0.0212779604, -0.0199218076, 0.0407396927, -0.030110253, 0.0017319537, 0.0508301891, 0.0148313381, -0.0402225032, -0.0477117449, -0.0002634716, -0.0380562358, -0.0125321485, 0.0280680452, -0.0234579854, 0.0218494534, -0.0378613062, -0.0144912824, -0.0727538243, -0.0151335225, -0.0423535742, 0.0230500326, 0.0062058661, -0.032919921, -0.02336118, -0.0302230436, -0.0020267237, -0.015611656, -0.0071466528, 0.0051697628, 0.015371073, 0.0058959699, 0.0021961057, -0.0174446013, 0.0344623476, 0.010656368, 0.045464661, -0.0437380001, 0.0222018771, -0.0760470182, 0.0659955069, 0.0364074074, 0.0218869317, -0.0504517071, 0.0103929071, 0.0159210227, -0.0100118089, -0.0075821048, 0.0333108604, -0.0127881067, 0.0375945494, 0.0426447168, 0.0002375286, -0.0623580143, 0.0071239918, 0.0161214564, -0.0243756697, -0.0610890463, -0.0014807564, 0.0021667676, 0.0162620675, 0.0086260801, 0.0008559831, -0.0312053338, 0.0191533696, -0.0298518483, -0.0355025493, -0.0237603094, -0.0165912379, -0.0221116748, 0.0198069364, -0.0204610135, -0.0655964538, 0.0582233481, -0.0083007095, 0.007865781, -0.0279227924, -0.0135958688, -0.0154083949, 0.0369678698, -0.0426942147, -0.018542638, -0.0075611169, -0.0212846305, -0.0787360966, -0.0142521765, 0.0046523372, -0.0420375429, 0.0958868265, -0.0868887082, 0.0017399377, 0.012188361, -0.0506283827, -0.0633583069, -0.0231636278, 0.0001563632, -0.0063670371, -0.0486968532, -0.0012492179, -0.0245732311, -0.0413312875, 0.0284843706, 0.0253608357, 0.0094050942, -0.0130650522, 0.0007288115, -0.0319562852, 0.0109899407, 0.0287035704, 0.0232258383, -0.0736974925, -0.0064922078, 0.0269354973, 0.0891232342, -0.0122851944, -0.0151753398, -0.0142388726, 0.0330035724, -0.0088634277, 0.0148442592, 0.0566331521, 0.0874893442, -0.068657428, -0.0181550737, 0.110503681, -0.0007486004, -0.0571338199, 0.0315063708, 0.0022193985, -0.0145193487, 0.0514386669, 0.0358293466, -0.0420453586, -0.0372998379, 0.0197419822, 0.0543235652, 0.0017262412, -0.023598969, -0.0035115837, -0.1574533433, 0.0590472482, 0.0276630968, -0.0555448718, -0.0058561121, -0.0360867456, 0.0308206156, -0.017707726, 0.0567357875, 0.0002567308, -0.0333519429, -0.0051724063, 0.0411686152, 0.0027148575, -0.1261860579, 0.010953323, -0.0178591385, 0.0289928503, 0.0035704914, -0.0000956051, 0.0044190087, -0.0212419704, 0.0486334413, 0.0123350527, 0.0206877012, -0.0194467064, 0.0367210619, 0.0107320026, -0.0061124051, 0.0234117508, 0.0615869872, -0.0327782035, -0.0252783056, -0.0075897882, 0.0835318565, -0.0240837839, 0.0172737762, 0.0087838164, -0.0594353415, 0.0866384208, 0.0728177354, 0.0318786539, -0.0384091809, -0.0033767191, -0.0179431997, -0.0250170883, -0.0008928948, 0.0126485014, 0.0335993245, 0.0150253335, 0.0321965106, -0.0326791033, -0.014381974, 0.0458286889, 0.0556236804, 0.0109209754, 0.0199160501, -0.0232841708, 0.0074048005, -0.0463459082, 0.0298827197, -0.0088950098, 0.0503684431, -0.0292903595, 0.0070306384, 0.0341559649, -0.0299447346, -0.0102874171, 0.0141462963, -0.0832461789, -0.0622554421, -0.017658053, 0.0619929321, 0.0152016459, 0.0633662194, 0.0055350754, -0.0287675522, 0.0889393166, 0.0240636859, 0.0088049294, 0.0373384021, 0.0482601188, 0.0325133838, -0.0072697704, 0.0516599827, -0.0474317558, -0.0260702707, 0.0400568508, 0.0399716459, -0.033848919, -0.0183320194, 0.007228557, -0.0321573317, 0.0612700097, -0.0279001184, -0.0028573025, -0.0322548337, 0.030918071, 0.0011967773, -0.0169038549, -0.034822043, -0.0023190363, 0.0174047295, -0.0138608236, 0.0059914528, 0.0088442275, 0.0147985984, 0.0266138166, -0.032435216, 0.0377594903, 0.0112031102, -0.0157953501, 0.0406857766, 0.032231003, -0.0102316961, -0.0098972628, 0.0115753347, 0.0144781629, 0.0169784985, 0.0591237731, 0.0284302607, -0.0085557327, -0.0028399413, 0.0043724929, -0.0399932489, -0.044515077, -0.0445342138, 0.0617142469, 0.0474086665, -0.0214137267, 0.0568312071, -0.0406495593, 0.0125476988, -0.0108324951, 0.0169104189, -0.0353403091, -0.0183766261, 0.0397897772, 0.012727811, 0.0124403592, 0.0321903266, 0.0924861282, -0.0117260227, 0.0515300371, -0.0161308572, 0.0117149949, -0.0419839807, -0.0274425279, 0.0967231467, 0.0256247595, 0.0013604222, 0.0040093805, -0.0512559675, -0.0747770667, -0.0113424873, 0.0047481074, -0.0450416915, -0.051006671, 0.0413238965, 0.0602539629, -0.0202934481, 0.011945365, -0.0261506476, -0.0449003875, 0.0323651023, -0.0550624318, -0.0290761925, -6.456427701e-33, -0.0061960914, -0.0593705401, 0.01810674, 0.0016887721, -0.0106666852, 0.0104268352, -0.0364020616, 0.002623535, 0.0168897156, 0.0092892796, -0.0382533334, -0.0002833115, 0.0181753654, 0.0276903547, 0.039885737, 0.0051781628, 0.0489214323, -0.0073364987, -0.025072962, -0.0076589435, 0.010383565, 0.0485839024, 0.0862242132, -0.0890126452, 0.03287201, 0.011610914, -0.0304908063, 0.0240754522, -0.01250384, 0.0342714898, -0.0008284686, 0.0395156145, 0.0013884702, -0.047037039, -0.0315683968, -0.0121675599, -0.0221450608, -0.0419465713, -0.0163671449, 0.0302817002, -0.0202340949, 0.0023426376, 0.0361530297, -0.0167178381, -0.0425512083, 0.0210872609, 0.0064121131, -0.012791411, -0.0287812501, 0.0092278589, -0.0394335352, 0.0055964803, 0.0157433115, -0.0491908975, 0.0136253517, 0.0129500786, -0.0186367687, -0.0402424075, -0.06481684, 0.0023513415, 0.0053827474, 0.0096342722, 0.0901224688, 0.0196083542, 0.0181144886, 0.0551556908, -0.0092256879, 0.0393845849, 0.0406199507, -0.0609228276, 0.0198868737, 0.0491909049, 0.0040921867, 0.0678091198, 0.0499455854, 0.0279534217, -0.0628925338, 0.0334725119, 0.0186931472, 0.0206287429, 0.0437987186, 0.0349256359, -0.063036494, -0.020594487, -0.0316321999, 0.0222031455, 0.0059250002, -0.0182068013, 0.0357934199, 0.0390116647, -0.0335663445, -0.0015330042, 0.0273550395, -0.0528373905, -0.051237423, -0.007776266, -0.0164665934, 0.0199582055, 0.0018413921, -0.0097109759, -0.0628081113, -0.0613411069, 0.0164844375, 0.0178606007, 0.028705461, 0.0008126862, 0.0287023019, 0.044491984, -0.0642409548, 0.012137414, -0.0381914377, 0.0062980759, 0.0250047296, -0.0094022099, 0.0453620106, -0.0034767352, -0.0186071545, 0.0271761082, -0.0185578912, -0.0701591447, 0.0179185886, 0.0126741575, -0.0266781226, -0.0123233283, -0.0268526487, -0.0124723883, -0.0089727072, -0.0043394142, 0.0279020723, -0.0263065547, 0.0054538734, 0.0340370312, 3.015e-7, 0.0051325606, 0.0408533439, -0.0326824486, 0.0294213425, 0.0370751396, 0.0341393165, -0.0611191355, 0.0200634077, -0.0143620856, -0.0368685685, 0.035888765, 0.030281892, 0.0756489486, 0.0489911214, -0.0917558521, -0.0381753594, -0.0206195042, 0.0098765902, -0.0169142149, -0.0054970747, 0.0062291697, 0.0756818503, 0.0103397463, -0.0129674738, -0.015201902, -0.0348402262, 0.0870188922, -0.045296777, 0.0167353768, 0.0077598225, 0.0011488111, 0.0382449217, -0.0108113959, 0.0240192413, -0.0226680469, 0.0086880419, -0.0081421221, 0.0361989513, 0.0088721188, -0.0290524401, -0.0092345467, 0.0117838904, 0.0124703543, -0.0476822481, 0.0284172539, -0.1043337658, -0.0013902456, -0.0151420766, 0.0459991582, -0.0518171825, 0.0162448101, 0.0002238183, 0.0063277436, 0.0050967694, 0.015520284, 0.0081489123, -0.0442551114, -0.0537607521, -0.0015582095, 0.0118029136, -0.0477990322, -0.038432762, -0.0265028011, 0.0224028211, -0.0131558124, -0.0579391085, 0.0162010137, 2.838302053e-34, 0.0137441354, -0.0161419827, 0.0021911599, 0.0369884856, -0.0068514142, 0.0023287977, -0.0330561809, 0.0192671791, 0.018227065, -0.0315974914, -0.0175580624 ]
http://arxiv.org/abs/2402.05939v1
http://arxiv.org/pdf/2402.05939v1
Uncertainty Awareness of Large Language Models Under Code Distribution Shifts: A Benchmark Study
2024-01-12T00:00:32
2024-01-12T00:00:32
Yufei Li, Simin Chen, Yanghong Guo, Wei Yang, Yue Dong, Cong Liu
cs.SE
cs.SE, cs.CL, cs.LG
Large Language Models (LLMs) have been widely employed in programming language analysis to enhance human productivity. Yet, their reliability can be compromised by various code distribution shifts, leading to inconsistent outputs. While probabilistic methods are known to mitigate such impact through uncertainty calibration and estimation, their efficacy in the language domain remains underexplored compared to their application in image-based tasks. In this work, we first introduce a large-scale benchmark dataset, incorporating three realistic patterns of code distribution shifts at varying intensities. Then we thoroughly investigate state-of-the-art probabilistic methods applied to CodeLlama using these shifted code snippets. We observe that these methods generally improve the uncertainty awareness of CodeLlama, with increased calibration quality and higher uncertainty estimation~(UE) precision. However, our study further reveals varied performance dynamics across different criteria (e.g., calibration error vs misclassification detection) and trade-off between efficacy and efficiency, highlighting necessary methodological selection tailored to specific contexts.
[ 0.00345023, 0.1016711295, -0.0322956219, 0.0405384004, -0.0134444544, 0.0076841665, -0.0234544985, 0.0096694352, -0.0469594039, -0.0041563683, -0.0049440553, -0.0365284309, 0.0739862099, 0.0069177151, 0.0430043079, 0.0064226827, 0.0433805399, -0.0735492855, -0.0134588303, 0.0301392041, -0.0051954752, -0.0210947823, 0.0217830595, 0.0552036315, -0.0202428643, -0.0165298581, 0.0307632815, 0.0569792427, 0.0134657463, -0.0088586379, -0.0055449954, 0.0555124246, -0.0007074432, 0.0308644865, 0.000002028, -0.0016926561, 0.002584263, 0.0076797595, 0.0019766488, 0.0789500773, 0.0498751365, -0.0125242556, -0.0478100963, 0.0165918861, 0.0047439672, 0.0230887961, 0.1012245268, -0.0984563231, -0.0152937816, 0.0181272421, 0.0077690682, 0.0502814762, -0.0232549962, 0.0076708007, 0.0033903276, -0.0296509583, 0.0287465211, 0.0228403639, -0.0216234867, 0.0032210345, -0.011038241, 0.0256289039, -0.0123688029, -0.0278765652, -0.0300325342, 0.0084220273, -0.0404647402, -0.0234484822, -0.0043560923, 0.0052244598, -0.0569978356, -0.0246663522, -0.008347231, -0.0618419126, -0.0290169902, 0.0091050575, -0.0175567735, 0.045123145, 0.0136025185, -0.0029312959, -0.0168295503, 0.004360843, 0.0308690872, -0.0231624376, -0.0323595442, 0.0662596375, -0.0008296499, 0.0150791332, -0.0197925549, 0.0029598617, -0.0295594223, -0.0475809127, 0.0042971643, 0.0112656746, 0.0095571326, 0.0365073159, -0.0329462774, -0.0515077561, 0.0367040746, -0.038512215, 0.0186356027, 0.0561310872, -0.0374286287, 0.0125852739, -0.0159967802, 0.0759874061, 0.0027222072, -0.0413491949, -0.0169866905, 0.0290851966, 0.0127199348, 0.0019627139, -0.0125104627, -0.0386269502, -0.0075363796, 0.0322885439, -0.0583981685, 0.0450193137, 0.0067639672, 0.0473658368, -0.0388859101, -0.0448865369, -0.0300798919, 0.0286985952, 0.0516978242, 0.0170308482, 0.0079758288, -0.0203831606, -0.0182548556, -0.0736929327, 0.0004791551, 0.045841977, -0.0534324646, -0.0281424616, 0.0030521613, 0.0499646962, 0.0098190941, 0.0175585132, -0.0221650805, 0.0056473156, -0.0565837212, -0.005655671, -0.0264656618, -0.093451798, -0.0746673048, 0.0357970633, 0.0289078485, -0.0674936771, 0.0036694231, -0.0052260738, -0.0125486199, 0.0795652643, -0.0503373742, 0.020099625, 0.0174438376, -0.0003088356, -0.008011179, 0.0876862854, 0.050496608, -0.0082329502, 0.0303898454, -0.0660031959, 0.0451611131, 0.0582674667, -0.0448159017, 0.0088344887, -0.0449121334, -0.0050093508, 0.0288407058, -0.015925508, 0.07011161, 0.0370892845, -0.0012479686, -0.0053110165, 0.0137866931, 0.0341177508, -0.0381755047, -0.0159211606, 0.0218680967, 0.0168387257, 0.0044848043, -0.0315249488, -0.0522579886, -0.0015131417, 0.0060090562, 0.0356614031, -0.0034785462, 0.0298922472, 0.0176453311, -0.0260717571, -0.0485572554, -0.0156799816, -0.0058444352, -0.0091066705, 0.0421252809, -0.0535405688, -0.0067049833, 0.0298916213, 0.0207673442, -0.0404447429, -0.0372850969, -0.0634039119, -0.0073170103, 0.0253623743, 0.0204455443, -0.0598536693, 0.010436343, 0.0179386251, 0.0021972135, -0.0144517431, 0.0151200583, 0.0225246493, 0.0306757204, -0.0357286334, -0.023082098, -0.0146626756, -0.0017666304, 0.036747817, 0.0396035127, -0.0030857937, 0.0254839901, -0.049309466, -0.0440180488, 0.0108722541, 0.028035365, 0.0259491559, 0.0108768167, -0.0079101333, 0.0015102315, -0.033260107, -0.0711533204, 0.0118452413, 0.0190052576, 0.0121968808, 0.0320427753, -0.0247403644, -0.0054721637, 0.0125232022, 0.0621683598, -0.013268413, -0.0357495211, -0.0044246977, -0.0253474489, -0.011753493, 0.0491023809, -0.0056528421, -0.002067067, 0.0259621777, 0.0599568263, -0.0634751841, 0.022226112, -0.0654052645, 0.0199115705, -0.0115833655, 0.0363957584, 0.006301879, 0.0389292762, 0.0493401624, 0.014014177, -0.0308810715, -0.0197010096, -0.0212613717, 0.0308923833, 0.0186781902, 0.0291752648, -0.0031518398, -0.0395426415, -0.0820518434, 0.0140353302, -0.016150821, 0.0415208004, 0.0105172666, 0.0019238541, -0.0154961618, -0.001495046, 0.0011427734, 0.0071909591, -0.0619293377, 0.0209631305, 0.0330610871, -0.0191471651, -0.0665828586, -0.0647527575, -0.0290501043, -0.0237683579, 0.045621261, -0.0133635718, -0.0401566885, -0.1107828319, 0.0920029134, 0.0062195617, 0.0081172409, -0.0249645151, -0.0723826885, 0.0099885864, -0.0111479172, 0.0520097315, 0.027391471, -0.0387008749, -0.0185599532, 0.0639214516, 0.0021492052, -0.0339286178, -0.0126231825, 0.0393779837, -0.0771810338, 0.002911381, -0.0639150217, 0.0006600575, 0.074718982, 0.0011678006, -0.0171710923, -0.0265580192, -0.0149811246, -0.0408614278, 0.0226771738, -0.00870331, -0.0227780379, 0.0021839817, 0.0576588809, -0.0154145993, -0.0971470773, 0.0290508885, -0.0786387697, 0.0073455116, 0.0019428041, -0.0248598754, -0.0013295282, 0.0027498815, -0.0019744842, -0.0018038984, 0.0131336115, -0.0379096679, -0.0308542978, -0.0050426144, 0.0131009249, -0.0399048664, 0.0661688223, -0.083086051, 0.0304477122, -0.0284321066, -0.0112115266, -0.0064002229, -0.0119989552, -0.0278275367, -0.0198315643, 0.0825691372, -0.0640848875, 0.0382353291, 0.0463778414, 0.0100885369, 0.0255009662, 0.0081728501, -0.0251209158, -0.0181045774, -0.0293032862, -0.0205985326, -0.0395899974, 0.0439057499, -0.0270015448, -0.0500459261, 0.0107967509, 0.0522063598, 0.0719508603, -0.0697780401, -0.0242456831, 0.0492852256, 0.0186425801, -0.0692448169, 0.0751590729, 0.1059958637, -0.0258610826, -0.0152201913, 0.0759655759, 0.0294321161, -0.0549575537, 0.0015375365, -0.0405141897, 0.0660545379, 0.0586117283, 0.0310620349, -0.0704323724, -0.0289792288, 0.0066813929, 0.0291861985, -0.0132109551, -0.0030447354, 0.0130559709, -0.0779851973, 0.0285358746, 0.0312022902, -0.0355322249, -0.0374913141, -0.0331750661, 0.0153568611, 0.0112237455, 0.0070000384, 0.011024286, 0.0083001815, 0.0318636857, 0.0385783389, -0.0723945722, -0.024586644, 0.0002905339, -0.0345604382, 0.0506619997, 0.0664955154, -0.013171521, -0.0188892595, 0.0086546047, 0.0419716351, -0.0447430462, 0.0120975133, 0.0004734609, 0.0331616104, 0.0582858771, -0.027897479, 0.0527482517, -0.0439512879, -0.0535765849, -0.0033303951, -0.0152793601, 0.0236240756, -0.0118109379, -0.0031074013, 0.0076008677, -0.0211201198, 0.0183632076, 0.0125396745, 0.0541545264, -0.021165153, -0.0139704291, -0.0751033425, 0.0288861562, -0.0162289552, 0.0197192766, 0.0129810506, 0.0075956909, -0.0417111702, -0.008699622, 0.0302775055, 0.0009149021, 0.0125818644, 0.0131236613, -0.0163590647, 0.0299653132, -0.0079635633, -0.0833295286, 0.0289692506, -0.0155638978, 0.0736103728, -0.0260816012, -0.0100314096, -0.0013416832, 0.0241365228, 0.0025723192, 0.0295722634, -0.1596157551, -0.0601040199, -0.0144595616, 0.0601891316, 0.0254889745, -0.0105442712, -0.0198061503, -0.069232747, -0.0209004749, 0.0349197872, -0.0027878501, 0.0469610058, 0.0072200722, 0.0034531169, -0.0187198073, -0.0138704265, -0.0340995416, -0.0331560075, 0.0525180139, -0.0128221158, -0.0481425524, -0.0509805381, -0.0166704059, 0.0020719881, 0.0677287951, -0.017663721, -0.0303093251, 0.0279955566, -0.018537445, 0.0370330028, -0.0278598499, -0.0358506255, -0.0356252715, 0.0347674228, -0.030709479, -0.0024169171, 0.0254354402, -0.026577685, 0.025178317, -0.0183178168, 0.0219155755, 0.0208501108, 0.0470884368, 0.0702378824, 0.0125313457, 0.0166488551, 0.0341687202, 0.0159275606, 0.030611204, 0.0183386598, 0.0294711348, -0.0129883811, 0.0080422042, 0.0328738503, 0.0261182096, -0.0258782879, -0.0768806562, -0.012726387, -0.0100042196, 0.0525321513, 0.0371261574, 0.0613617077, 0.0095806867, 0.0267725568, -0.0536503382, 0.0504654944, 0.0067486977, 0.0085925441, 0.035435807, 0.0056959093, -0.0416821726, -0.0175564736, 0.0547912456, 0.0197823253, 0.0039397907, -0.0332704745, -0.0643108636, 0.00732311, 0.0183340907, 0.0263369288, -0.0188083928, -0.0272861458, -0.0091687581, -0.0406140238, -0.0715349168, 0.0055847797, 0.0470356308, 0.0344029106, -0.0110886851, -0.0140966307, 0.0842128098, -0.0019799003, -0.0184336305, -0.02968679, -0.0028856399, 0.0231799316, -0.0058200532, -0.0281501208, -6.039195165e-33, -0.0331244916, -0.0374138691, -0.0450425483, -0.0252048746, 0.0135702575, 0.0084816357, -0.0274465885, 0.0478188396, 0.0077382373, -0.0227327812, 0.0227362439, 0.0373969562, 0.0132413199, -0.0370675027, 0.0427199006, 0.024073353, 0.0034739927, 0.0375341177, -0.056816712, -0.0134367794, -0.0090495683, 0.0268066004, 0.0566971041, -0.0707270801, -0.0153285787, 0.0158599485, 0.0180989802, -0.0136227878, 0.0523478165, 0.0409692675, 0.0236172825, 0.0397448018, -0.0128307538, 0.0103228195, -0.0336293913, -0.0555727966, -0.004074919, -0.0209538378, 0.0221533868, 0.0798127279, 0.0454203226, -0.0434074588, 0.0450864099, 0.011600703, -0.0445624031, 0.011665226, 0.0266564973, -0.0198291633, -0.0139307957, -0.006206498, -0.0173393637, 0.0399611779, -0.0200047139, 0.0167889204, -0.0130108688, -0.0204542559, -0.0040455572, 0.0342114083, -0.022649873, -0.0113477819, 0.044921089, 0.0789579973, 0.085990347, 0.0563168041, -0.0116959671, 0.0142033715, 0.0249305442, 0.0249414034, 0.0051168217, -0.0218246263, 0.0477968343, -0.0148982611, 0.0108502591, 0.0279172529, 0.0399731621, -0.0087998332, -0.0437551886, 0.0081347981, 0.005917476, -0.0040331576, 0.0081742359, 0.0668626502, -0.0558316782, -0.0347064473, -0.0400059186, -0.0113303615, -0.0349175334, -0.0105928686, 0.0176415071, -0.0421412811, -0.0233684331, 0.0216452107, 0.0164000671, -0.0330166258, -0.0232222844, -0.0140174842, -0.0506484956, 0.0465573855, -0.006239193, 0.0447563753, -0.0153479818, -0.0312064234, 0.0032032905, 0.0154362665, 0.0821692273, 0.015638683, 0.0166243538, 0.0139937103, -0.0704217702, 0.0108971391, -0.0247088317, -0.0149724856, -0.0125565659, 0.0138134575, -0.0001518291, -0.0331146531, 0.0091312779, 0.0188705307, 0.0092957169, -0.0105159422, -0.0121292258, -0.0117041348, -0.0083984565, 0.0163439959, -0.0650599524, -0.0499152541, -0.0083290832, 0.0092852395, 0.0189065542, -0.0465775318, -0.0558624901, -0.0124922534, 2.643e-7, 0.0793006718, 0.0476717427, -0.0005073297, 0.0618651286, 0.026771931, 0.0350602418, -0.0406383984, -0.0272249356, 0.0074709877, -0.0320960097, -0.0319146477, 0.0159817208, 0.0440834835, 0.0161957871, 0.0444672853, -0.0207205657, 0.0163474157, 0.0417068228, -0.0434481427, 0.0057611475, 0.0250786282, 0.0867040902, -0.0066136606, -0.0059383763, 0.0154249733, -0.0475765355, 0.0107741673, -0.0387807451, 0.0117172673, 0.0335534923, -0.0328407697, 0.0183662437, -0.007529018, 0.0274329465, -0.0030025993, -0.0439441837, 0.019206604, 0.0572679415, -0.0330232717, 0.0843493938, 0.0030571176, -0.0193054024, 0.004519267, -0.0696935505, 0.0276660882, -0.0093084006, 0.0084184352, -0.0455691926, -0.0088349534, -0.0234520044, 0.0346359536, -0.0067678033, 0.0139731569, 0.0199574232, 0.0276128836, 0.005903427, -0.0357227325, -0.0309046004, -0.0734773576, 0.0314418674, -0.0114022642, -0.0547848381, -0.0609814301, -0.0015939255, 0.0220722277, -0.0417459905, 0.0467077531, 2.71911588e-34, 0.0558302328, 0.0016510676, -0.0169907194, 0.00840584, 0.0465983227, -0.0075546522, -0.0307766255, 0.0079827858, -0.0276322737, 0.0000905445, -0.0054634148 ]
http://arxiv.org/abs/2401.06233v2
http://arxiv.org/pdf/2401.06233v2
LEGOBench: Scientific Leaderboard Generation Benchmark
2024-01-11T19:20:27
2024-02-21T06:40:33
Shruti Singh, Shoaib Alam, Husain Malwat, Mayank Singh
cs.CL
cs.CL
The ever-increasing volume of paper submissions makes it difficult to stay informed about the latest state-of-the-art research. To address this challenge, we introduce LEGOBench, a benchmark for evaluating systems that generate scientific leaderboards. LEGOBench is curated from 22 years of preprint submission data on arXiv and more than 11k machine learning leaderboards on the PapersWithCode portal. We present four graph-based and two language model-based leaderboard generation task configurations. We evaluate popular encoder-only scientific language models as well as decoder-only large language models across these task configurations. State-of-the-art models showcase significant performance gaps in automatic leaderboard generation on LEGOBench. The code is available on GitHub ( https://github.com/lingo-iitgn/LEGOBench ) and the dataset is hosted on OSF ( https://osf.io/9v2py/?view_only=6f91b0b510df498ba01595f8f278f94c ).
[ 0.0158969741, 0.0970437974, 0.0089904796, 0.0347740389, -0.0255019739, -0.0282276999, 0.0136847887, 0.0077258321, -0.0058840616, 0.010461105, -0.0230190065, -0.0083048372, 0.0014985795, 0.0546414219, 0.0221187416, -0.0223142505, 0.0056158332, -0.0368370563, 0.0326804966, -0.0408650003, -0.0387480669, -0.0206549801, -0.0011181321, 0.0186930355, 0.0547592863, -0.0216632914, 0.009451896, -0.0159319025, 0.0431176722, -0.0751274675, -0.0014703748, 0.072315596, -0.0080648931, 0.069895573, 0.0000019217, -0.0264922865, -0.0156557746, 0.0234574843, -0.0047442308, 0.0352681205, 0.0085194306, -0.0493633226, -0.0149613954, -0.0231435094, -0.0291504636, -0.0220268406, 0.0491118431, -0.0196325257, 0.0346775986, 0.0394892879, 0.0007222355, -0.0214308035, 0.0671099275, -0.03929675, 0.022234872, -0.0388036557, 0.0182753783, 0.0311746765, 0.0364933349, 0.0264074132, -0.0363665968, 0.0301773548, 0.0012210747, -0.0330442265, 0.0607546642, 0.0656865016, -0.0255251508, -0.0057909591, 0.0014829626, 0.0932942852, -0.0330502689, -0.0434479415, 0.0237716828, 0.0104144691, -0.0426521003, 0.0266510155, -0.0676074848, 0.0310065337, 0.0152954478, -0.0130619695, 0.0244640224, 0.0280208196, 0.022849381, 0.0088489233, -0.0063315555, 0.1073595956, 0.0291630067, -0.0254742708, 0.0003593728, 0.0077144583, -0.0006004639, -0.0456073061, 0.0139889205, -0.0129629234, -0.0345147699, -0.0053479834, -0.0078910962, -0.0135953799, 0.035545215, -0.008368969, 0.0318148732, -0.0111493999, 0.0633362234, 0.0672444925, 0.0019827706, 0.0319401473, -0.0192907322, 0.0223792978, -0.0096060764, -0.0053706155, -0.0126558607, -0.0046518492, 0.0068853665, -0.0072867004, 0.0109102437, -0.0161715858, -0.0533986241, 0.0003944053, 0.0146783274, 0.0166880302, 0.041840829, 0.0120583037, -0.0259602852, 0.0112550762, 0.0284532048, 0.0330574512, -0.0216738209, -0.033558771, 0.0146371676, -0.0260698609, -0.033898104, -0.0111030228, -0.0104828598, -0.0213975683, 0.0149715962, 0.0309081059, 0.0193274356, -0.0140331155, 0.117169261, -0.0118015008, -0.0156731289, -0.077055797, 0.0186449904, -0.0688146576, 0.077954039, 0.0320331044, 0.0254384894, -0.0361022614, 0.0247910451, -0.0004850122, -0.0247603655, 0.0459179431, -0.0486401543, -0.0239791423, 0.0231290106, 0.0016227321, -0.016624175, 0.0142188752, 0.0136359911, 0.0238466002, 0.0206321962, -0.0340361893, 0.0060687526, 0.0323829465, 0.0491376258, -0.0168993659, 0.0013213556, -0.0178538337, -0.0014961023, 0.0591257699, -0.0183088537, 0.0098779658, -0.0367545485, -0.0149089592, 0.0289769657, 0.0336571671, 0.0052406578, -0.0244571157, -0.0255998019, -0.0440849066, 0.0422346815, -0.043376144, -0.001708528, 0.0504585579, 0.0315922275, 0.00655594, 0.0327476449, 0.0468973368, 0.0199277587, -0.0015704032, -0.0061578546, 0.0229284372, -0.0301614907, -0.0215296894, 0.0860542879, -0.0104360972, -0.0323239081, 0.00293996, -0.0015902001, -0.0636921749, 0.0325264484, 0.0055317124, -0.0254545826, 0.0352027304, 0.1073208675, -0.0286973994, -0.0244624671, 0.0180155896, -0.0160176996, 0.0412541442, 0.0017559873, -0.0127332872, -0.0047153225, -0.0392548852, -0.0189380199, 0.0093272775, 0.0002187999, 0.0167378169, 0.0004696918, -0.0045646937, -0.0153234219, -0.0424687937, -0.06028568, 0.011118385, -0.0291920397, 0.0130143035, 0.0014745318, -0.0638528019, 0.0660843924, 0.0098918779, -0.0372054987, 0.0382950976, 0.0930076987, -0.0394590162, -0.0146158589, -0.0009179336, 0.0377863348, -0.0767463744, 0.0405801684, -0.0783976689, 0.0176457297, 0.0551908761, -0.0329918228, -0.026536718, 0.0255666766, -0.0213800501, -0.0190733783, 0.0233997069, 0.0172883626, -0.0280501414, 0.0159712303, -0.0219873209, 0.061683435, -0.0285478625, 0.0676087439, 0.0634977594, -0.0067471513, -0.0016258013, -0.0360573158, -0.0118341921, 0.0657764897, 0.0241796896, -0.0017354671, 0.0309850127, -0.0229483116, -0.0123243323, -0.038490817, -0.0767099634, -0.0097830128, 0.008646328, -0.0044243876, 0.0343515947, -0.0417923406, 0.0080139805, -0.0038547788, -0.0050946134, -0.0114344498, 0.0133419596, -0.007221913, 0.0165693425, -0.0396398008, -0.0159762539, -0.0609675422, -0.0584015101, -0.0312153175, 0.0709187984, 0.0242873132, -0.014964723, -0.036375951, 0.0151892276, -0.0382900573, -0.0055101067, -0.025387805, -0.0146409599, 0.0316981971, -0.0223907381, 0.0278377794, 0.0570671372, 0.0253712367, 0.0433065258, 0.0462224744, -0.0408425294, -0.0428990275, -0.0124717439, -0.0400801264, 0.0397197939, 0.0268623885, -0.0763800144, 0.0226059388, 0.069794476, 0.0236495323, 0.0106133483, -0.0354858935, 0.0396039076, -0.0231629517, -0.0296438057, -0.0226150509, 0.0022253254, -0.0090112844, 0.0282745548, 0.010177237, -0.0016294274, 0.0483429357, -0.0499490686, -0.0156369377, -0.0431870557, 0.0202981699, -0.045780018, -0.011311152, 0.064756915, 0.0290382747, -0.0300164502, 0.0017995083, 0.0030363968, 0.0477053523, 0.0025194739, -0.0599594787, -0.045759514, -0.0026842239, 0.0099671166, -0.0197008904, -0.0213886332, -0.0004554492, 0.0104569616, -0.0056573399, 0.0306967981, 0.0726862624, -0.0600836463, -0.0468884334, 0.02587118, 0.0405509286, 0.0181204937, -0.0597571246, 0.0028848343, -0.0171289556, 0.0664767101, 0.0623387434, -0.0418757387, 0.0315729864, -0.0275654513, 0.0154920286, 0.0732166991, 0.0384566523, 0.0489893369, 0.0127735417, 0.0001813919, 0.0307194311, -0.0220207497, 0.0209528003, -0.0040810639, 0.0390294865, -0.0124021126, -0.0018992017, 0.0998869017, 0.0404041596, -0.0422304235, 0.0013921735, 0.016838247, 0.0623489432, 0.0070986403, 0.0194874648, -0.0699389055, 0.0163709112, -0.0103137745, 0.0254754778, 0.001737001, -0.0498540327, -0.0007386279, -0.0709239244, 0.0479953662, 0.0464773215, -0.0530077554, -0.0046759564, -0.0589468293, -0.0349882692, -0.0228870735, -0.0532536767, 0.0401244834, 0.0274096541, 0.0376170836, 0.0088391192, -0.042461995, -0.071752429, 0.0049054632, -0.022204617, 0.0702928156, 0.0314705595, 0.0493065864, -0.0296458714, -0.0125137074, -0.0009523529, -0.0059192916, -0.0349158421, -0.0230169427, 0.0479381606, 0.0153214773, -0.012366428, -0.01293734, 0.0274406318, -0.030105954, -0.0013019877, 0.0210706815, 0.0883917138, 0.0110207256, -0.0235429741, -0.0590202883, 0.0076592891, -0.0336870737, 0.052951254, 0.0105764307, -0.0197777618, -0.0460940711, -0.0690199062, 0.0854215398, -0.0630746633, -0.0709395036, -0.0316269435, 0.0162742008, -0.0074158576, -0.0584134124, -0.0083781062, 0.0280502476, 0.0088125402, 0.0083097164, 0.0078415154, -0.0382973664, -0.0312558077, -0.0606472418, -0.0466680229, 0.0119412635, -0.0115588652, -0.0717326477, -0.0277180914, 0.0802708641, 0.0180201083, -0.0363918468, 0.0323427171, -0.0176096726, -0.0682045147, -0.0243481155, 0.0524480157, 0.0241629891, -0.0086116102, -0.0089149028, -0.0354153104, 0.0333792046, 0.0247392543, 0.0185648575, 0.001434856, -0.0314179286, -0.0650934353, -0.0399236754, -0.024455931, -0.0331353992, 0.0267090723, -0.0231675487, 0.0510697067, -0.0289528761, -0.0197018534, 0.0322624184, 0.0286560617, 0.0224836711, -0.0460316502, -0.0263184737, 0.0203423817, -0.0267630126, -0.0472033024, -0.0110136, -0.0319188349, -0.0057574171, 0.0366800092, -0.0148441466, 0.0235733669, 0.0519279912, -0.0022989276, 0.0111539857, -0.0481569953, 0.0156589281, -0.0135720251, 0.0306944028, 0.0474063791, -0.0132854972, -0.0199557319, -0.0065134959, -0.0308376532, 0.0514985435, -0.0208232738, -0.0086473189, 0.022121124, -0.0146531863, 0.0038498442, 0.0617786758, -0.1194057763, -0.0091791693, -0.0677472353, 0.0154576059, 0.0907437056, 0.073767513, 0.0807489231, -0.0200055391, -0.0073813875, -0.0293924659, -0.0018743986, 0.0255010948, 0.0058059888, 0.0069780801, 0.021384757, 0.009223694, -0.0240730401, 0.0833413228, 0.0799117833, -0.0122967176, 0.0163842719, -0.0017412734, -0.0240013432, 0.0057357745, -0.0635088459, 0.0097583942, -0.0150394877, -0.0140648317, -0.0524478257, -0.0139734317, 0.0244473629, 0.0315581709, 0.0120762223, -0.0378484391, 0.0077581946, 0.0289385449, -0.0245165378, -0.0169836022, -0.0331015587, 0.0512139648, -0.0252998434, -0.070637159, -0.0272547323, -6.124043816e-33, -0.0205818918, -0.0442414917, -0.0034095261, 0.0165691171, -0.0280966721, 0.0034704793, -0.059863355, -0.0290105231, 0.0082482202, 0.0146789523, -0.0338350497, -0.0078074737, -0.0143003045, -0.0043189842, 0.0304767769, 0.0213964749, 0.0335917845, -0.0217548124, -0.040483959, 0.0499076135, 0.0273806397, 0.0280090552, 0.041428566, -0.0465204492, 0.0167592447, 0.0113473879, 0.000879442, -0.030442521, -0.0005683892, 0.0232586227, -0.0052846749, -0.0036409411, 0.0022214435, -0.0594555996, -0.0063463342, -0.0264739543, -0.0394642502, 0.0032544062, -0.0014359378, -0.007035628, -0.0294190906, -0.0043530413, 0.0363469198, -0.0126678171, -0.031350404, -0.0479916297, 0.0405279584, -0.0076960949, -0.0661233068, -0.0528263338, -0.0126168765, 0.0120954737, -0.0241588466, 0.0258491132, 0.0377169698, 0.0262646545, 0.0049050031, 0.0491371676, -0.0468964316, 0.094475612, 0.0004008314, 0.0600667633, 0.0620138198, -0.0190176945, 0.0060651745, 0.0730782151, 0.0518822037, 0.0081740785, 0.0315065645, 0.0043832017, 0.0111573674, 0.0401976332, 0.0934707969, -0.0020325724, 0.0518095829, 0.0280024447, -0.0676432401, 0.046231173, 0.0315751545, -0.0369612761, 0.022399867, 0.0024205686, 0.0098849935, -0.0332527757, -0.0137786847, -0.0273029208, 0.0010600762, -0.0382089838, 0.0046892902, -0.0410960428, -0.0779720023, -0.0178795699, 0.0395972989, -0.0518060401, -0.0695259124, 0.0773438439, 0.0211629383, 0.08282464, -0.0153734162, 0.0158773642, -0.0638335198, 0.0018263252, -0.0041280608, 0.0275027975, 0.0158502329, -0.0053816363, -0.0295423158, 0.0144699393, -0.0105040371, -0.016279012, -0.0209617577, -0.0248041041, -0.0110068638, 0.0310593229, -0.0036751984, 0.0007133451, 0.0063764378, 0.0116288094, 0.0303102434, 0.03539804, -0.0073777246, 0.0513725504, -0.0022861275, 0.0279430915, -0.0035237232, -0.0023447331, -0.0615177155, 0.017759297, 0.0198164154, -0.0331364051, -0.0177241992, -0.0040640142, 2.601e-7, 0.0528038591, 0.0952457488, 0.0077309581, -0.0050358558, 0.0471642837, -0.0191386491, -0.037390504, 0.0238053054, 0.0383304879, 0.0206163693, -0.0064029875, -0.0189114008, 0.0113648977, 0.0544084348, -0.0707482323, -0.0457972735, -0.0781457797, -0.0288218036, -0.0464170054, -0.0192099288, 0.0164311938, 0.018428091, -0.0268493965, 0.0072749984, -0.0034810158, -0.0089759259, 0.0506961867, -0.011171353, -0.0049345447, 0.0533194691, -0.0399560556, -0.0382177942, -0.0284997933, 0.0013769681, -0.0333417617, 0.0044641667, 0.043800693, 0.0186465476, -0.016386902, 0.0075581758, 0.0406983159, 0.0014385211, 0.0076395185, -0.0525822602, 0.0404302478, -0.0466748253, -0.0559691228, -0.0180876497, -0.0621548556, -0.0126975337, 0.0442136042, -0.037468195, -0.0252397656, 0.0236523952, -0.0119861485, 0.0187262353, -0.0025496818, -0.0113431783, -0.0485450663, -0.0087067671, -0.0467645563, -0.0700043067, -0.0259701367, -0.0049886494, -0.0362302773, -0.0211589001, -0.0225956216, 2.796310961e-34, 0.0758176968, -0.0052100834, 0.0146483714, 0.0258969348, 0.013741849, -0.0227033943, 0.0104635842, 0.0144767212, -0.0128688496, -0.0796376392, -0.021850314 ]
http://arxiv.org/abs/2401.06210v1
http://arxiv.org/pdf/2401.06210v1
Learning Unsupervised Semantic Document Representation for Fine-grained Aspect-based Sentiment Analysis
2024-01-11T18:59:52
2024-01-11T18:59:52
Hao-Ming Fu, Pu-Jen Cheng
cs.LG
cs.LG, cs.AI, cs.CL, cs.IR
Document representation is the core of many NLP tasks on machine understanding. A general representation learned in an unsupervised manner reserves generality and can be used for various applications. In practice, sentiment analysis (SA) has been a challenging task that is regarded to be deeply semantic-related and is often used to assess general representations. Existing methods on unsupervised document representation learning can be separated into two families: sequential ones, which explicitly take the ordering of words into consideration, and non-sequential ones, which do not explicitly do so. However, both of them suffer from their own weaknesses. In this paper, we propose a model that overcomes difficulties encountered by both families of methods. Experiments show that our model outperforms state-of-the-art methods on popular SA datasets and a fine-grained aspect-based SA by a large margin.
[ 0.0391410328, 0.0480516255, 0.0085288379, 0.0570489764, -0.0266537666, 0.0231669489, -0.0334341079, -0.0120987659, -0.0100505482, -0.0914182067, -0.0305797998, 0.0073272628, -0.0007275761, 0.0254693478, -0.0239628069, -0.0388953015, 0.0294549614, 0.0374074578, 0.0432422347, 0.0045163035, 0.0560410693, 0.0266165193, 0.0039642868, 0.0128694233, -0.0281522274, -0.0339248553, 0.0138885323, -0.0164592937, 0.0223140586, 0.0183832813, 0.0098799588, 0.0368405581, 0.0354290232, 0.0160639547, 0.000001818, 0.0052540908, -0.0389567129, -0.0102227181, 0.0689766482, 0.0162298735, 0.056469541, -0.0848374292, 0.0022799089, -0.0043000351, -0.0505729578, -0.0492443144, 0.008661272, 0.0796208456, 0.0617970787, 0.1030161083, -0.0336631462, -0.0444044769, 0.0033561995, -0.0116046164, -0.0063711652, -0.0787710547, -0.0216645002, 0.003107962, -0.0408231504, 0.0954706222, -0.0265317354, -0.0152020212, -0.0381922349, 0.011333189, -0.0001404376, -0.0113802738, 0.0076372353, 0.0268970821, 0.0099784089, 0.0574403144, 0.0389965624, -0.0267584585, 0.026567081, -0.0051290113, -0.021370424, 0.0067185732, -0.011335508, -0.0010958206, 0.0097245071, 0.0607757531, 0.048859816, 0.0344283581, -0.0000237403, -0.0000861991, -0.0321036354, 0.0225025956, -0.050679557, -0.0235029813, -0.013872386, 0.0434593298, 0.0122872684, 0.0195355993, 0.0071830638, -0.0253691096, 0.0086442446, 0.0041957679, -0.0056909532, -0.0003233831, 0.0314642899, -0.05993025, -0.0027199776, -0.0183213223, -0.0017003916, 0.0663673803, -0.0004488857, -0.0302537736, 0.0071718129, 0.0064952616, -0.0371639431, 0.0259294044, -0.0728717968, 0.0192926768, -0.0169620197, 0.0610619858, -0.0429976843, -0.015999293, -0.0426227637, 0.0050882273, -0.0222237501, 0.0038610636, 0.012823794, 0.0133188488, 0.0137948841, -0.0000696828, 0.0140397567, 0.0412885994, -0.0720560923, 0.0531753078, -0.0433307104, 0.0358918011, 0.0308622625, 0.0197342001, 0.0184736401, 0.0205837395, -0.006459191, 0.0175384283, 0.0637168363, -0.0500158258, -0.0338385291, -0.0250725094, -0.012159273, -0.0479904003, -0.0279642846, -0.0669284314, 0.0457998924, 0.0103478888, 0.0002746718, 0.0106671862, -0.017462898, 0.0149873905, -0.0385684967, 0.0656531453, -0.0044617401, -0.0235893223, -0.0426120386, 0.0085441573, 0.0644218102, 0.0379258022, -0.0231217518, 0.0446325615, 0.0278635416, -0.0204506982, -0.0276182499, -0.0387319326, 0.0236226544, 0.0014844829, 0.0234365463, -0.0055172709, -0.0424370803, -0.0084199673, 0.0164233986, 0.0190080032, -0.0090241199, -0.0712124482, -0.0066514499, -0.0107558891, -0.036407195, 0.0571525842, 0.0044816411, 0.0410391502, -0.0338398293, 0.0264160838, -0.0184379965, -0.0122217722, -0.0199282467, -0.0060013151, 0.0242457222, -0.029399218, -0.0455784909, -0.0527945384, -0.0175623521, -0.0368760303, 0.0063256747, 0.0060240654, 0.0606428012, 0.0229745544, -0.0246433318, -0.0218065735, 0.0579074845, -0.0335898846, -0.0270989295, 0.0155210067, 0.0370230041, 0.0625728443, -0.0073168636, -0.0353481546, 0.0175021216, -0.0143004153, -0.0057142447, -0.0181926861, 0.073797971, 0.0067021456, 0.0046722838, -0.0305127893, -0.0026483163, -0.0192009751, 0.0123081123, 0.0063036247, -0.0634854659, -0.005421659, 0.0358272381, -0.05689371, 0.0067923148, 0.0203041751, 0.0344605632, -0.0490203388, 0.0356858782, 0.0160190035, 0.0097500011, 0.0502868593, -0.0092382478, -0.0025086117, 0.0356561393, -0.0424464382, -0.0181837976, -0.0370221809, -0.0484061614, -0.0618395321, -0.0341133699, -0.0486237966, -0.0175952408, 0.0271729231, -0.0688165203, -0.0198688339, 0.0029690613, 0.0013757584, 0.0046741934, -0.0254702978, -0.0252064634, 0.0427724868, -0.0215554368, -0.0392058194, 0.066576466, -0.0186429359, 0.0344206616, -0.0278732888, -0.0076045315, 0.0664587393, -0.0046108034, -0.0748236105, -0.0156636816, 0.0002133879, 0.0224981066, 0.0374156125, -0.01788757, -0.0013077164, -0.0185426511, -0.116782546, -0.0312580876, 0.0107466346, 0.0223508198, 0.0263719521, -0.0193087943, 0.0384226441, 0.0134858694, -0.0661502779, 0.0054490636, -0.0187733509, 0.0158465188, 0.0155822346, -0.0030120427, 0.0637188405, -0.0486491136, -0.0122323716, -0.0408755392, 0.0126793478, -0.0069811139, -0.0206082761, -0.0486509427, 0.0176086128, -0.0036304421, 0.0087826867, 0.0038190864, -0.0128181316, -0.0058464464, -0.0493488982, -0.0241485126, 0.0287626889, 0.0224838536, 0.0741968602, 0.0167751126, 0.0322230496, -0.0508939698, -0.0209217761, -0.057917092, 0.0877926797, -0.0268271398, -0.0239380673, 0.0114054903, 0.0791417956, 0.0342812203, -0.0133271078, -0.0356408134, 0.0105898054, -0.0267365202, 0.0209605619, -0.0177687444, 0.0201739408, 0.0229530334, -0.0064094202, -0.0001823704, -0.0133596044, 0.0359199941, 0.0007506073, 0.0359991938, -0.0677162558, -0.0094657671, -0.0530950092, 0.0661579445, -0.0169565771, 0.0204350594, -0.0097537413, 0.0152328368, 0.0066930372, -0.0088184765, 0.0037145868, 0.0207424536, 0.0298232045, 0.0466890223, 0.022236621, 0.0105192186, -0.0275434777, 0.0335739963, -0.0643474907, -0.0551034845, 0.0147013478, 0.0078255255, 0.0397208035, -0.0202938449, -0.0050888923, -0.0408095047, -0.0205082539, -0.0142883044, -0.0142884813, -0.0058005219, 0.0472853482, 0.0349369794, -0.0438846722, 0.0273061041, 0.0122723617, -0.0070523247, 0.0683785751, -0.0096506877, 0.0306325555, -0.0689482242, -0.005871004, 0.027012825, 0.0117522897, 0.008674697, -0.0442346446, 0.0242767017, -0.0266367495, 0.0038893942, 0.1056760773, 0.0382140651, -0.0487064235, 0.0107598836, 0.0260612126, -0.0191866029, 0.0354184695, -0.0016975284, -0.0403766111, -0.031888634, -0.0307629406, 0.0106042996, 0.0256779362, -0.0002994976, 0.0437293537, -0.0562279783, 0.0189348925, 0.0037303646, -0.0443053469, -0.0494154729, -0.0461988263, 0.0032930356, -0.0309382621, -0.0278772302, -0.0505645648, -0.0142165134, -0.006570925, -0.0256735012, -0.0362537429, 0.0001180026, 0.0436896309, 0.0061630504, 0.0014182038, 0.0388218351, 0.0344605148, -0.0076048248, -0.0327797681, 0.0397833623, -0.0685694814, 0.0110979769, -0.0297158491, 0.0498400629, -0.0561113544, -0.0264512505, 0.0137934862, -0.0082790786, -0.1067380384, 0.0138572929, -0.0118786301, 0.0343130082, -0.0489827655, -0.0296500139, -0.0178077649, 0.0327499323, 0.0217566043, 0.0703491569, -0.0000712263, -0.041579552, -0.0119133489, 0.0068500689, 0.0381220207, 0.0018673233, -0.0313293189, -0.0299178772, 0.0362794995, -0.0000458148, -0.0896553248, -0.0848030597, -0.006063797, 0.0309640318, -0.0499214865, -0.0159734618, 0.0135744223, -0.0503568649, -0.0304182172, 0.0312141795, 0.0046595731, -0.001190151, -0.0082090544, -0.055571571, 0.0696327612, 0.0175806787, -0.0530268252, -0.037827272, -0.0567121953, -0.0104690278, -0.0041327612, 0.0491781421, -0.0014253993, -0.0058719581, -0.0091618197, -0.032190159, 0.0316658728, 0.0361425839, -0.0502798408, -0.0013625793, 0.0359073617, 0.0340480283, 0.0072289249, 0.0460471287, -0.0352593027, 0.0668875501, -0.0056285225, 0.0341306739, -0.047699824, -0.0360058919, 0.0278179646, -0.0238882992, 0.0849271491, 0.0411971398, -0.0012512755, -0.0252730567, -0.0068902946, -0.0047669201, -0.0317398198, -0.0257848483, -0.0111362934, -0.0156390779, 0.0038387328, -0.0549202859, 0.0479392968, -0.0161733776, 0.0567437224, -0.0283949953, 0.051537104, 0.0454512574, -0.0077154362, -0.0588652268, 0.0623371825, -0.0287584644, 0.0120290415, -0.021385191, -0.0109340735, 0.0067009707, 0.0459758081, 0.010700332, 0.0572449565, -0.0652428269, 0.0110646822, -0.039001219, 0.0080041774, -0.0073582781, 0.0144682033, 0.004901458, -0.0919964984, 0.0111679379, -0.025621457, 0.008436515, -0.0342069454, 0.0307512898, 0.0089620464, 0.0149762966, 0.0254056584, 0.0344660319, -0.0124494787, -0.0072337463, 0.0548764542, -0.073601909, 0.0205656085, 0.0400024764, 0.0087936213, -0.0413507372, -0.0104669072, 0.0322255641, 0.0370819867, 0.0142984902, 0.0267488509, -0.048198197, -0.011516205, 0.0189520549, -0.0342364386, -0.0014526901, 0.004308078, 0.0304497909, 0.0604010783, 0.0176474489, 0.0788355097, -0.0771685839, -0.0403662473, -0.024270609, -0.0411544479, -0.0031562285, -6.254460874e-33, 0.0036699777, 0.0087702619, -0.0534767844, 0.0167319793, 0.0401427783, 0.0215973668, -0.0184125286, 0.0060840235, -0.0019449053, 0.0450070798, 0.0213171486, 0.002635547, -0.0119201224, 0.035205815, -0.0015350234, 0.0180080887, 0.0122710504, -0.0061151828, 0.012993901, 0.0346475802, 0.0645798147, 0.0203372333, 0.0509752221, -0.1294313669, 0.0405048952, -0.0261396039, -0.0260892734, -0.0070683383, 0.0131278122, 0.063918747, -0.0004082765, 0.0359793343, 0.065825209, 0.0011068825, 0.0005871415, 0.0245142709, -0.0445282236, -0.0208611507, -0.0212571118, -0.021482531, -0.0417560078, -0.004191027, 0.0113091189, -0.0112228692, 0.0404010899, -0.0289673638, 0.0429528393, -0.0130431131, -0.0395237468, -0.0940753222, -0.053714931, 0.0418833792, -0.0147575838, -0.0164142437, 0.0186405256, 0.0051666158, 0.0253445078, 0.0458218865, -0.0148900831, -0.0113812918, -0.057194002, 0.0436921902, -0.0623395406, -0.0640549585, -0.0091066649, 0.0784662664, -0.0031841258, 0.0255540777, -0.0081411125, 0.0264254902, 0.0086908378, 0.018537214, -0.0162950475, 0.0302567147, 0.0107065318, -0.033558771, -0.0307284109, 0.0358780771, 0.0054216976, 0.0096232155, 0.0454509184, 0.0075432658, -0.0553088114, 0.002716209, -0.0029805943, -0.0361827239, -0.0318807103, 0.0078666583, -0.0086866403, 0.0115722883, -0.0396711603, -0.0119195767, 0.0093486141, -0.0708660632, 0.0050926986, 0.0497820079, -0.0244425703, 0.0071255639, 0.0082730092, -0.019552378, -0.0471018739, -0.0564131998, -0.0023136353, 0.004563096, 0.0108067915, -0.0024559568, 0.097438924, -0.0265519787, -0.0667324513, 0.0014855128, 0.0083436416, -0.0052375058, -0.0286640394, 0.051876165, 0.0268253628, -0.0177877434, -0.0071298503, 0.1280702204, -0.010614072, 0.0451853164, 0.0408397876, 0.0191470385, -0.0028696225, 0.0203805473, -0.0124678873, -0.0386118889, 0.0044076024, -0.0024857353, 0.0000315767, -0.0114447679, 0.0076127816, 0.0022509014, 2.519e-7, 0.0138740968, 0.0264507197, 0.0185173638, -0.0037440313, 0.0293038618, 0.0755109563, 0.0073531657, 0.0506702624, -0.0242445227, -0.0123405987, 0.0410102755, 0.024570303, 0.0033975882, -0.013617686, -0.0971548483, 0.1218276769, -0.0021043543, -0.0041407417, 0.022389695, 0.0268417224, 0.0809422955, 0.1015445143, -0.0193376914, -0.0146848587, 0.013629389, 0.0183584429, 0.0776393339, -0.0276389904, -0.0180522911, 0.0032808746, -0.0460619368, 0.0167112667, -0.0199577473, -0.0410579666, 0.0044749137, 0.0182413794, 0.0128522916, 0.0849195421, 0.0041046226, -0.0329968333, 0.0221679863, -0.000046063, 0.0373988226, 0.0046822387, 0.0482772179, -0.0645405725, -0.0465844609, -0.0837475136, -0.0268325061, 0.0152986245, -0.0350615643, 0.0227648914, -0.0089861248, 0.0577133819, -0.0244515017, -0.0554412454, -0.0040278463, -0.0957564712, -0.0016060303, 0.0293334946, 0.0075163515, 0.0287078768, 0.0478523858, 0.03322291, 0.0249373224, -0.0235190131, -0.0052017393, 2.035885273e-34, 0.0531425476, -0.0136865983, -0.0101050735, 0.0036714824, 0.0087429453, -0.0117518222, -0.0248725284, -0.0081291022, 0.0336159356, -0.0244172458, 0.0043716021 ]
http://arxiv.org/abs/2401.06121v1
http://arxiv.org/pdf/2401.06121v1
TOFU: A Task of Fictitious Unlearning for LLMs
2024-01-11T18:57:12
2024-01-11T18:57:12
Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary C. Lipton, J. Zico Kolter
cs.LG
cs.LG, cs.CL
Large language models trained on massive corpora of data from the web can memorize and reproduce sensitive or private data raising both legal and ethical concerns. Unlearning, or tuning models to forget information present in their training data, provides us with a way to protect private data after training. Although several methods exist for such unlearning, it is unclear to what extent they result in models equivalent to those where the data to be forgotten was never learned in the first place. To address this challenge, we present TOFU, a Task of Fictitious Unlearning, as a benchmark aimed at helping deepen our understanding of unlearning. We offer a dataset of 200 diverse synthetic author profiles, each consisting of 20 question-answer pairs, and a subset of these profiles called the forget set that serves as the target for unlearning. We compile a suite of metrics that work together to provide a holistic picture of unlearning efficacy. Finally, we provide a set of baseline results from existing unlearning algorithms. Importantly, none of the baselines we consider show effective unlearning motivating continued efforts to develop approaches for unlearning that effectively tune models so that they truly behave as if they were never trained on the forget data at all.
[ 0.0156815462, 0.0964694843, -0.0120476279, 0.0643796846, -0.0447861664, -0.0040034046, 0.053663414, 0.0269658845, 0.0446188897, -0.0226123016, -0.0338901207, 0.0064161196, -0.0347966291, 0.0150796343, 0.0097527634, 0.0267846398, 0.0316419937, -0.0097118309, 0.0164286382, -0.0355871692, 0.0064213509, -0.0042254617, -0.0026330315, -0.0329791121, 0.0202894825, -0.0565877445, 0.0040692091, -0.0165702738, 0.0071976869, 0.0169321932, 0.0447609872, 0.0690101907, -0.0012449236, 0.0671630055, 0.0000017456, -0.0609159358, -0.0581042469, 0.0005599891, -0.0498872288, 0.0266859736, 0.0031265174, 0.0038393335, 0.0224988572, 0.0136005282, -0.0613340028, 0.0006474557, 0.0031979047, 0.0488876291, 0.0535628088, 0.1114213318, 0.0029712461, -0.0176420398, 0.0247011781, -0.0206796229, 0.0348793454, -0.0371530801, 0.0245426018, -0.0614361167, -0.0672192052, 0.0047311615, -0.0006269275, 0.0423564315, 0.0160148293, 0.0271201208, 0.0201411918, 0.0087136673, -0.030027315, 0.0264222864, -0.015117459, 0.04521285, 0.0337373577, -0.032198865, 0.0492127761, 0.0253829788, 0.0258281752, 0.0242864043, -0.018698385, 0.0085702809, -0.0514105484, -0.0145225637, -0.0102297915, -0.0401040725, 0.0634456649, 0.0092952503, 0.0219549723, 0.0480309576, 0.008840167, -0.0161777101, -0.0043792813, -0.0308731142, 0.0167332329, -0.0510803126, 0.0576123372, 0.0152700478, -0.0045616822, 0.0288483184, -0.0312236436, -0.0166688915, 0.0408936813, -0.0158799067, 0.028416248, -0.0331148021, 0.0213683471, 0.055916585, -0.0250051264, 0.0453280248, -0.0032396335, 0.0521133468, -0.0133103086, 0.0134651475, -0.0429030806, -0.0276423506, 0.0306033846, 0.0796836838, 0.0059094075, 0.0472208001, -0.0223702546, 0.0162285734, -0.0285971928, 0.0506207645, -0.0122174826, 0.0070182281, -0.0294859875, -0.0301809199, -0.0471714884, -0.0237746909, 0.001898165, 0.0293438938, 0.0195775069, -0.049638465, -0.0277715381, -0.0277692191, 0.0222137738, -0.0061751488, 0.0094658462, 0.08966773, 0.0138113508, -0.0350362919, -0.0399531201, -0.0621326454, 0.0083588492, -0.0395181663, 0.0189618878, -0.063114427, 0.0229539927, -0.0214069244, -0.020811867, -0.0983028933, -0.0136340307, 0.0392436087, -0.0354014188, 0.045018848, -0.0029715823, -0.021770807, 0.010928412, 0.0239283144, 0.0011681233, 0.0162963849, -0.0154878916, 0.0133104119, 0.0691977292, -0.0068243435, 0.0737468973, 0.0201013163, 0.0531739295, 0.0149857849, 0.0144468229, 0.0309093799, 0.031615518, -0.0005275302, 0.0035451516, 0.0307878945, -0.0203788169, -0.0726766884, 0.0614985563, 0.041986648, -0.0127046537, 0.0626299456, -0.0253334697, -0.0190600008, 0.0294099636, 0.0429518856, -0.0520194471, -0.0018768903, -0.0777567998, -0.0125363944, -0.0243987571, -0.0258585326, -0.0279481839, -0.0272090603, 0.0141244438, -0.0438008867, -0.0024631536, 0.0378317498, 0.0066188988, 0.051299531, -0.0279002786, 0.0827419162, 0.0084610349, -0.0941147059, 0.0143392496, -0.0122712897, 0.0111289835, 0.0464058854, 0.0537904911, -0.0621300787, 0.0088210637, -0.0356460065, -0.0115089789, -0.0243367273, 0.0066478765, 0.0013362536, 0.0604927205, -0.0480384491, -0.0517901778, -0.0097094635, 0.0258004311, -0.0058796555, 0.035947796, -0.0329510756, 0.0207227077, -0.0667386129, -0.0276445169, 0.0434184484, -0.0886775106, -0.0418613218, 0.0177452452, -0.0073189307, 0.0270218533, 0.0392395519, 0.0059772907, 0.0051280996, 0.0445959494, -0.0053502372, -0.0131962048, -0.045663368, -0.0059468378, -0.025983911, 0.0213224217, -0.064073354, -0.0081885522, 0.0661092624, -0.0336595438, -0.0125682801, 0.0097297505, 0.0093744788, 0.0284848381, -0.028838221, 0.0148719372, -0.024465777, -0.0087758387, -0.0313485861, 0.0681602806, -0.0443200208, 0.0243925918, -0.036253944, -0.0475429483, -0.0120310476, -0.0471584126, 0.0054716789, -0.0342847854, -0.003991059, 0.0361885205, 0.0126857748, -0.0178301949, -0.0772446394, -0.0601516739, -0.0549207442, 0.0243833009, -0.0167501438, 0.0356293134, -0.0001303251, -0.0104771974, -0.0051210071, -0.0252747145, -0.0538758114, -0.0297200531, -0.0544035956, 0.0081442455, 0.0285929516, -0.0246075206, -0.0013045373, -0.0103428708, -0.013717019, -0.0024665981, 0.0324710123, -0.037355192, 0.0113073504, -0.0010596035, 0.0580241606, -0.0420810618, 0.0163749605, -0.0055409768, 0.0055242078, -0.025557654, 0.0021544939, -0.0261869021, 0.0378665775, 0.0099157505, 0.0277030729, 0.0163650624, 0.017492909, -0.0377395861, 0.0044483463, -0.0368393324, -0.0407656915, -0.0487050414, -0.0082193967, 0.0208727345, -0.0049316059, 0.0183482412, -0.0234556161, 0.0047009271, 0.045670785, 0.0036995767, -0.0513987541, -0.0162352324, 0.0028992798, -0.0133756958, 0.0318695046, -0.0204120148, -0.049364619, 0.0555679016, 0.0036252534, 0.0476890504, -0.0168346372, -0.0076981471, -0.0394418091, 0.0396858491, 0.0034220715, 0.0177922696, 0.0345187336, -0.0362046845, -0.0370811857, -0.0127891917, 0.0459912382, -0.0631782189, 0.0177093018, -0.0059419814, -0.0141284857, 0.0171683338, -0.0488543175, -0.045993723, -0.0773354322, -0.0108468244, -0.0134662641, -0.0382006466, -0.0319491774, -0.0331609398, -0.1126814559, 0.0478513278, -0.0054729735, 0.0175583921, -0.0107156215, -0.0206369963, 0.0278439038, 0.0301043801, -0.0286734924, 0.0108937025, -0.0431361757, 0.0005856351, 0.0827814192, 0.0364738666, 0.0036575866, 0.0400698632, -0.0015577525, 0.0142046064, -0.047494296, -0.0104211168, 0.0348772928, 0.0232996754, -0.025438495, 0.0027530983, 0.0888303369, 0.0095121032, -0.0485531688, -0.0211226866, 0.0305075459, -0.0048531299, 0.0136541538, -0.0212897379, -0.1124388427, -0.0024480103, -0.0032342565, 0.0380986147, -0.0149678169, -0.0555704609, -0.0145704802, -0.0942937732, -0.0030796535, 0.0111690341, -0.0198970027, -0.0062124501, -0.061449632, -0.0227952115, -0.0135158524, 0.0276927371, -0.0057302043, -0.0231064968, 0.0077828388, 0.0052934703, -0.032995671, -0.0199191552, 0.007979962, -0.0342416875, 0.0339758098, 0.0290432237, 0.031447053, -0.0361477472, -0.0528036579, -0.0103606191, -0.0157968197, -0.0035591736, -0.0096114641, 0.0970418528, 0.0006608004, -0.0009612783, -0.0141653921, 0.0995403975, -0.0351545289, -0.0187720023, 0.0417439155, 0.045273263, -0.0095134815, -0.0022107102, 0.0092752138, -0.0330473855, -0.0163021833, 0.0672702938, 0.0075922604, -0.0277830958, -0.0192997325, -0.0314389467, 0.0312269833, -0.0203025211, -0.0132962298, 0.0259690117, -0.0082825655, 0.0011268442, -0.0565838069, -0.0207606163, -0.0176677126, -0.0045448197, 0.030510366, 0.066459924, 0.021943206, -0.0213743132, -0.0526265502, -0.0011905186, -0.0912765041, -0.017325772, -0.0069078514, 0.0129398927, -0.0034646401, -0.0124168117, 0.0177338962, -0.0047894963, -0.0737883225, -0.0532289669, 0.0359914117, 0.023578329, 0.0225944761, 0.0551148206, -0.0102654975, -0.0647429004, 0.0887566656, 0.0603862181, -0.0509192571, 0.0134207085, 0.0505871773, 0.0099072438, -0.0098668961, 0.0511536449, -0.0361711718, -0.0387313664, 0.0690373257, -0.0349750705, -0.0397673994, -0.007449287, 0.0079129664, 0.0333360322, 0.0414158963, 0.0409963615, 0.0134774474, -0.0176145751, 0.0310333204, -0.0019341592, -0.0354250968, 0.0128003536, 0.0131838312, 0.0514380932, 0.0056654261, 0.0223796945, -0.0032563072, 0.0064109345, 0.0375022739, -0.0481583476, -0.0018077146, 0.0640594438, -0.0019959225, -0.003862448, 0.0028297589, -0.014291483, 0.043205943, 0.0249747373, 0.0562350415, 0.0156211862, 0.0275075361, 0.0070220833, 0.0233098604, -0.0376377963, -0.0109533258, -0.0737937316, -0.0348920003, -0.000626954, 0.0288235582, 0.0226540044, -0.0043998174, -0.0105965687, -0.0008976719, -0.0019207706, -0.0348596573, 0.0097153308, -0.0100148879, 0.0047540832, 0.002173187, 0.0199207384, -0.0208160877, 0.04369203, 0.1005643979, 0.0059570321, 0.048283875, -0.0073172469, -0.0059802127, -0.0578464717, -0.0423643291, 0.0008621624, 0.0223526414, 0.0074071814, -0.0259195063, -0.0270559825, -0.0622154251, 0.03032027, -0.0026560365, 0.0097432975, -0.0103063164, 0.0035094558, 0.0491624586, 0.0010479084, -0.0002420809, -0.0760855526, 0.0169210341, 0.0322853215, -0.0543250032, 0.0092557427, -5.394203986e-33, 0.0378370807, -0.03952571, -0.0023421526, 0.0581891425, 0.0102045573, 0.0249612927, 0.0034088753, -0.0072318679, -0.0402392223, 0.0074601579, -0.0572563261, 0.0359016731, -0.0015618147, 0.0285773557, -0.0112991929, -0.0494360514, 0.0281951968, -0.0244824123, -0.0177718401, 0.023039585, 0.0787559301, 0.0451974683, 0.0395731851, -0.0816427246, 0.0567799844, -0.0382956825, -0.0528458245, 0.0454594083, -0.0629760101, 0.0468648896, -0.0282563698, 0.0375426672, 0.0081581073, 0.004512643, -0.0055706506, 0.0092024263, -0.0890500993, -0.0214249939, 0.0039952337, -0.0073679239, -0.0095955217, -0.0826811269, 0.0605358183, -0.0308812186, -0.0037165468, -0.0498389825, 0.0267646257, -0.0035993385, -0.047489658, -0.0411395766, 0.0224399995, 0.0014456784, -0.022224525, 0.0066576051, 0.0343715809, 0.0122782355, -0.0100793922, -0.019248046, -0.0863846987, -0.0031380616, 0.0238235947, 0.020540284, 0.0399485044, 0.0077583091, 0.0018265647, 0.0901419744, 0.0511203781, 0.0378235802, 0.0434695482, -0.0037543303, 0.0126350783, 0.0240275338, 0.0485338122, 0.0754355341, 0.0248365682, -0.0252861269, -0.0551159121, 0.0130856968, -0.0297951251, 0.0105848517, 0.0181101132, 0.0264430437, -0.0135755707, -0.0036525587, -0.0771544129, 0.0129520167, -0.0480355248, 0.023381006, -0.0095897485, 0.0067146253, -0.0401870571, -0.023213556, -0.011269805, -0.0474993363, -0.0205929838, 0.0498712398, 0.0330044217, -0.0018792729, 0.0111323334, -0.0018103266, -0.0372891538, -0.00837381, -0.0226185881, 0.0018996629, 0.0446603037, 0.0021591575, 0.0910412148, 0.007457363, -0.04656161, -0.0196923558, -0.0247787479, 0.025833752, 0.0252627246, 0.0040540402, 0.0056589432, 0.0126816863, -0.0043565971, -0.001628441, 0.0526283532, 0.0197946858, -0.0566726774, 0.0253992118, 0.0047230483, -0.0062777931, 0.0020695608, -0.0470522568, 0.0290460307, 0.0495950319, 0.0695624724, -0.0214812886, 0.0241544861, 0.0074747503, 2.388e-7, 0.0192593411, -0.0207522269, 0.0241861269, -0.0302161463, 0.0318343677, 0.0602473319, 0.0008419679, 0.0486682467, 0.018818764, -0.0253224541, 0.0051894309, 0.0121533209, 0.0829956383, 0.0110356649, -0.0958966315, 0.0030010222, -0.047127068, -0.0346604735, -0.0426956862, 0.004508452, 0.017906988, 0.0711297542, 0.0580381081, -0.0332635716, -0.0047814883, -0.0347516052, 0.0489477888, -0.0549210571, -0.0297107454, 0.0108706886, 0.0551437698, 0.0381573476, 0.0227185804, -0.0005954136, -0.0386230461, 0.0125097129, -0.0123529769, 0.074739933, 0.0533702895, -0.0588082932, -0.0166510064, -0.0196893848, 0.0044068294, -0.0112451483, 0.0579502061, 0.0186234526, -0.028405698, 0.0121891331, -0.0055790409, -0.0582354441, 0.0493240133, 0.0086572841, -0.0005493593, 0.0330889039, -0.0203291997, 0.0096333046, -0.0039719092, -0.0417619571, -0.0481046848, 0.000782857, -0.0298046637, -0.0362757035, 0.0182977468, 0.0068173716, -0.0158975776, -0.0980537236, 0.069006905, 1.992818558e-34, -0.0036668743, -0.0137708047, 0.008002759, 0.0276105478, 0.030103121, -0.0214436594, 0.0110455463, 0.0166570824, 0.0157078542, -0.04931641, 0.0118397865 ]
http://arxiv.org/abs/2401.06118v3
http://arxiv.org/pdf/2401.06118v3
Extreme Compression of Large Language Models via Additive Quantization
2024-01-11T18:54:44
2024-06-08T10:55:52
Vage Egiazarian, Andrei Panferov, Denis Kuznedelev, Elias Frantar, Artem Babenko, Dan Alistarh
cs.LG
cs.LG, cs.CL
The emergence of accurate open large language models (LLMs) has led to a race towards performant quantization techniques which can enable their execution on end-user devices. In this paper, we revisit the problem of ``extreme'' LLM compression -- defined as targeting extremely low bit counts, such as 2 to 3 bits per parameter -- from the point of view of classic methods in Multi-Codebook Quantization (MCQ). Our algorithm, called AQLM, generalizes the classic Additive Quantization (AQ) approach for information retrieval to advance the state-of-the-art in LLM compression, via two innovations: 1) learned additive quantization of weight matrices in input-adaptive fashion, and 2) joint optimization of codebook parameters across each transformer blocks. Broadly, AQLM is the first scheme that is Pareto optimal in terms of accuracy-vs-model-size when compressing to less than 3 bits per parameter, and significantly improves upon all known schemes in the extreme compression (2bit) regime. In addition, AQLM is practical: we provide fast GPU and CPU implementations of AQLM for token generation, which enable us to match or outperform optimized FP16 implementations for speed, while executing in a much smaller memory footprint.
[ -0.0191352945, 0.0650075525, 0.008371749, 0.0277339388, -0.0230342485, 0.0113511216, 0.0221451167, 0.0558727346, -0.0329467356, -0.0261304881, 0.0165274125, -0.0356728211, -0.0176315699, 0.0156659596, 0.0217254441, 0.0178665649, 0.0435745642, -0.007973454, -0.0094847707, -0.0356520787, -0.0231169965, -0.0032084787, 0.0610961393, 0.0418827012, 0.0083168624, 0.003649686, -0.0327437408, 0.0097192507, -0.0506501682, 0.0097281756, -0.0250702146, 0.0474620461, 0.0514799803, 0.0269126799, 0.0000020685, -0.0286744032, -0.0745744258, 0.0128824087, -0.0408662483, 0.0159224588, 0.0555283874, -0.0042032734, -0.0214266628, 0.0172185488, -0.0241253786, -0.041544389, 0.0602363907, 0.0284797158, 0.0690024793, 0.0249049086, -0.0105459569, -0.0474511907, 0.0212762188, -0.0124113951, -0.0019387694, -0.0168384798, 0.0403076448, 0.0052271178, 0.0076169637, -0.0050111338, -0.0214254521, -0.0006319301, 0.0041736457, 0.0053874184, -0.0060601872, 0.0090349307, -0.0620319322, -0.0034948529, -0.005251776, 0.0306960791, -0.0669773892, -0.0561315045, 0.0012394632, 0.0396068208, -0.0260325745, -0.0814367384, -0.0692921951, 0.0632742345, 0.0008910254, 0.0370581597, -0.0231600367, -0.0247527007, 0.0365502946, 0.0256411377, -0.0565332733, 0.0594297945, 0.0386509188, -0.0257589631, -0.0300007593, -0.0288606137, -0.0700127035, -0.0342987813, 0.0196053963, 0.0091930628, 0.0205677729, -0.0174008682, -0.0537440069, -0.05124956, 0.0166717991, -0.040994104, 0.0531327277, 0.0637504533, 0.0025172359, 0.0350254513, -0.058596462, 0.0663082376, -0.0193682741, 0.0183801576, -0.0527762882, -0.0086887125, -0.0017122, -0.0052649667, -0.0922865272, 0.0662628189, -0.0666851029, -0.0179600995, -0.0319663025, 0.0156785417, 0.0229199473, -0.0042154756, 0.016526036, 0.014965253, -0.0046749641, -0.0007699029, 0.0506261699, -0.0131208589, -0.0166945662, -0.0053988695, -0.0032664307, -0.0394481793, -0.0194946956, 0.0558229983, 0.0146178603, -0.0210077688, 0.0264607463, 0.0086452523, 0.005652078, -0.0511031821, 0.0205304809, -0.0070236675, -0.0037031083, -0.0251831543, -0.0179274138, -0.0702702925, 0.0103335734, -0.0011541407, 0.0142236296, -0.013950415, 0.0159532148, 0.0208445024, -0.0276087169, 0.0193922631, -0.0305204708, -0.0003852746, 0.0250750612, -0.0022792763, 0.0496310182, 0.055871278, 0.012918056, 0.063316524, 0.0123725738, -0.0046183486, -0.0065215048, 0.0417562872, 0.0456793755, 0.0230497029, -0.03811156, -0.0127249882, 0.0104553932, 0.0348253138, 0.0559678301, 0.115927428, -0.0792694241, -0.0379736349, 0.0094228992, 0.0498140194, 0.0627367571, 0.0559562929, -0.0074499249, 0.0073221866, 0.0073974459, -0.0264589693, 0.0069854236, 0.0134011582, 0.0047720722, 0.0016614059, 0.1237201616, 0.0461484492, -0.0115915695, -0.0015439887, -0.0271626581, -0.0306825396, 0.0268103257, -0.0135268178, 0.0145642394, -0.0053217043, -0.0315076783, 0.0958539993, 0.0311013907, -0.0968689471, -0.0242758393, -0.0801836327, -0.0120164249, 0.0239261333, 0.0538524836, 0.0209162682, 0.040090993, 0.0113307536, -0.0301622897, -0.0131410062, -0.0204535462, -0.0055646729, 0.0104463538, -0.0783476382, -0.0216977503, 0.0413225107, -0.0004137559, -0.0070440215, 0.0396467596, 0.0007005579, -0.0053161979, -0.0248929337, -0.0130953882, -0.0004832637, 0.0052144188, -0.0378165431, 0.0383413918, 0.0002799065, -0.0031479236, 0.0164237246, 0.0030120707, -0.0025779733, 0.0661017299, -0.0493064523, -0.0087690568, -0.0671460629, -0.0083466321, 0.0153304124, 0.0805049464, 0.0125120096, 0.0682276264, 0.0536501594, -0.014450361, -0.0546386689, 0.0091329776, -0.0306720734, 0.0551223345, -0.0691926852, 0.0007485977, -0.0092443908, 0.0367734842, -0.0386176892, 0.0248953328, -0.0252560228, 0.0288882572, 0.0106505677, -0.0079803029, 0.0087760435, -0.0457913093, -0.0366530009, 0.0404982567, -0.0120522827, 0.0441757105, 0.022249328, -0.0198801067, 0.0107866162, -0.0426248275, -0.1336087883, 0.0163765755, -0.0322026908, 0.007070242, 0.0138188228, 0.0452281497, 0.0039336318, 0.0003422965, -0.0397883989, -0.0201628078, -0.0077579049, 0.0099210255, -0.017292995, 0.0056992974, -0.0161902383, 0.0035886527, -0.0616135076, 0.0169911552, 0.0665825233, -0.0621268488, -0.037398804, -0.0520663299, -0.0148330573, -0.0284877047, 0.0344930962, 0.0035730114, -0.0360218249, -0.0027797967, -0.0451760069, 0.0280896723, 0.0293816701, 0.0354389139, 0.0037331581, 0.056399662, 0.0207853224, -0.0505381487, 0.0266750306, -0.0359693281, -0.0655029789, -0.0109961564, -0.0239291582, -0.02610863, 0.0490012281, -0.0298781376, -0.0073706312, -0.0537980087, -0.0175160319, 0.0039866613, -0.0122242635, -0.0550368428, -0.0027753934, -0.0211835094, 0.0491904058, 0.001137939, -0.0479364581, 0.0095722163, -0.0595516413, 0.0032191426, -0.0047557796, -0.0212660544, -0.0457236096, 0.0417060405, 0.0018619263, 0.0708612278, -0.0369964838, -0.005405549, -0.0125826662, 0.030773595, -0.0199657157, -0.0663684383, 0.0121308621, 0.0322050042, 0.0355402566, -0.036733944, -0.0473397709, 0.016634699, -0.019846797, 0.0093016187, 0.0201808158, 0.0384826101, -0.0421234928, -0.0300769787, 0.0681095645, 0.0020561998, 0.0560665093, -0.0181325302, 0.0132431462, 0.0048524793, 0.019232247, 0.0403032154, -0.0020986169, 0.0349445306, -0.0107631525, -0.0095971366, 0.0509743579, 0.0545585193, 0.0459814854, -0.0247397609, 0.005047725, 0.0666828603, 0.0057003689, -0.0171416122, 0.0264697112, 0.013774612, -0.0080902223, 0.0073302514, 0.0873092115, 0.020787606, -0.074357152, -0.0088562192, -0.0146118207, 0.0232147053, 0.0031315121, 0.0281267911, -0.1243492737, -0.0076920963, 0.0218791794, 0.0300169457, 0.0128605254, -0.0154578881, 0.0012308008, -0.0619091988, 0.0162960868, 0.0259043276, 0.0326211751, -0.0247803871, -0.0252054073, -0.0161480028, -0.0195915736, 0.0412567109, 0.0473334678, -0.004715824, -0.0069190627, 0.0073481901, 0.0171629712, 0.0061067757, 0.0245730765, 0.0191515405, 0.0243689343, 0.0322275646, 0.0182897653, 0.0149571029, -0.0128965359, 0.0034525895, 0.0259380993, -0.0266340598, -0.0274065286, -0.0100806644, 0.0084967632, 0.0057063345, 0.0095692324, 0.0019594077, 0.0215081777, -0.0167133827, -0.0519852154, 0.0489863157, 0.0047727637, 0.0080774752, 0.0017140809, -0.0530771501, -0.0255854111, 0.0683408082, -0.0034879551, -0.0003337074, -0.0370537303, -0.0256084185, -0.0065286877, -0.022636205, -0.0302198641, -0.0026138637, 0.0034113035, -0.0328671932, -0.0311042704, 0.0681248903, 0.0006063676, 0.0269181039, -0.0448878035, 0.0013119926, -0.001793068, -0.0107034938, -0.0988746732, -0.0171586666, -0.0614996329, -0.0070049651, -0.0884439498, 0.0219173767, 0.0021134897, -0.0251149386, -0.0262248442, -0.0034433822, -0.1047997177, -0.0583985001, 0.010335586, 0.0011800228, 0.0239204597, 0.0352191627, 0.0129721239, -0.068510659, 0.03181348, 0.0547738597, -0.0351358913, 0.0596012101, -0.0001393072, -0.0385884047, -0.0169220157, 0.028868204, -0.0450423062, 0.0294564385, -0.0320560113, 0.0398968272, -0.0387712568, -0.0604042262, 0.0291400794, 0.0394392163, 0.046024587, -0.013938209, -0.0152713247, 0.0290075932, 0.0492572226, 0.0062126452, 0.0038965943, -0.0269523039, 0.0018924107, 0.0148186227, -0.0082073025, 0.0185300373, -0.0186961126, 0.0585373603, 0.0202076063, 0.0012607205, 0.0113421967, -0.0833955184, 0.0002148323, 0.0588701367, -0.0235641766, -0.0356973335, -0.0115480162, 0.0145650916, 0.0412790552, -0.0650988221, -0.0032526962, -0.0051110703, 0.0234546866, -0.0273877792, 0.0445643738, -0.0159019455, -0.0581140928, -0.0511407666, -0.0071891835, 0.0439446531, 0.0369513147, 0.0126388138, -0.0195115507, -0.0225225557, -0.0446990617, -0.0085885506, 0.0128420619, -0.0160976723, 0.0133569129, 0.0144918673, -0.0201679599, 0.0163128469, 0.0493147001, 0.0107906545, 0.0262295753, -0.0069650798, 0.009803189, -0.0306221507, -0.0241632294, -0.0090394663, 0.0240514893, -0.0086660553, -0.0233139023, -0.0046228678, -0.0053055934, 0.0308776367, 0.0159820169, -0.0117205651, -0.0175663605, 0.030268494, 0.0532007217, 0.0128184929, -0.0151371015, -0.0316619091, -0.0155552169, 0.0239238217, -0.0021843794, 0.0245939549, -6.43018479e-33, -0.0105870664, 0.0235813204, 0.0082145827, -0.0414507464, -0.0059531284, 0.0135375122, 0.0018009151, -0.0182427224, -0.0102681145, -0.0499296859, -0.0235138331, 0.0116464272, 0.0244524945, 0.0330830961, -0.0421821512, 0.0356877483, 0.0601801127, 0.0026571883, -0.0154577158, 0.0508902073, 0.0280947685, 0.0129430322, 0.0083400747, 0.0111516053, -0.0518438444, -0.0086515388, -0.0010737288, -0.0053301412, 0.0301055927, 0.0564139858, -0.0287497938, 0.0112658096, -0.0137644662, -0.0285429712, -0.0072439057, 0.0048900992, -0.0608743653, 0.0070674266, 0.0221279431, -0.0061509791, 0.0266127121, -0.0521339402, 0.0348311737, 0.0178618468, -0.0421639383, -0.0135062523, -0.0446942821, -0.0145111792, -0.0718106031, -0.0779170543, 0.0159052424, 0.0274417121, 0.0387375467, 0.0413879827, 0.0736293569, -0.0141020268, -0.0349544697, 0.0115143592, -0.0466468707, 0.0241001062, 0.0120988619, 0.0874737278, 0.0255170874, 0.0007980355, 0.0219045114, 0.0266835112, 0.027080724, -0.0329007357, -0.0352187529, 0.0670055524, 0.0402216576, 0.0099286372, 0.0309911035, 0.0539812222, 0.0878957808, -0.0276329853, -0.0688000098, 0.0009656834, -0.0012514249, 0.0148650398, 0.0437787957, 0.0484226756, -0.0055343369, -0.0336834528, -0.0472814776, 0.0379197486, -0.0418688804, -0.0372378305, -0.0059809471, 0.0364284441, -0.0404128246, -0.0271607172, 0.0417906642, -0.039426174, -0.0222220607, 0.0106466562, 0.0083825011, 0.0118881417, 0.0034259108, 0.0488507673, -0.0039002143, -0.0316777565, 0.0238944758, -0.0382283591, 0.005194352, -0.0011350251, 0.0105132507, 0.0612624623, -0.0988191962, -0.0167911034, -0.0080929836, -0.0044062221, 0.0071001691, 0.0062331697, 0.0354978479, 0.0310960971, 0.0298765171, 0.0282654054, -0.0065062824, 0.0198679101, -0.026824642, -0.044701457, 0.0310856234, 0.0440762378, -0.0112933246, 0.0335291438, -0.071318835, 0.0300390795, 0.0671726167, -0.0535338223, -0.032331299, 0.064646095, 2.831e-7, 0.0242731925, 0.0473423786, 0.0222692806, -0.05009735, -0.0186471902, -0.0012929371, 0.0085835811, 0.0235421564, 0.0058566728, -0.0043652565, -0.0090687452, 0.0174936038, 0.0126036359, -0.0051977909, -0.0820360705, 0.0483569205, -0.0484467708, 0.0106223235, -0.0449288972, 0.000115865, 0.0358155146, 0.1522262245, -0.0397266634, -0.0074944142, 0.020631386, -0.0452732407, 0.0416925102, 0.0042148381, 0.0134548014, -0.0071562044, 0.0097434819, 0.0015093365, -0.0052092955, -0.0555545725, 0.0179282147, 0.0120682837, -0.0171248857, 0.0763377473, -0.0068455199, 0.0047613541, 0.0290183034, -0.0393366516, -0.0430048332, -0.0421557203, 0.0673840269, 0.0070494143, 0.0048191608, -0.0657922179, -0.007126295, 0.024024412, -0.0205664076, -0.0087598776, 0.0351335257, 0.0507031158, 0.0160627123, 0.0034230975, 0.0377608836, -0.0853939801, -0.0318060741, -0.0200668015, -0.0161112603, -0.0482637063, -0.0533965118, 0.0114660542, 0.0238392465, -0.0535743684, 0.0282769781, 2.96147205e-34, 0.0311317388, 0.0025550134, 0.0270523969, 0.0308130756, 0.0010017507, -0.0555016994, -0.0088298246, 0.0427209586, -0.0339826569, -0.1072025895, -0.0343279652 ]
http://arxiv.org/abs/2401.06112v2
http://arxiv.org/pdf/2401.06112v2
Axis Tour: Word Tour Determines the Order of Axes in ICA-transformed Embeddings
2024-01-11T18:46:12
2024-06-13T13:44:03
Hiroaki Yamagiwa, Yusuke Takase, Hidetoshi Shimodaira
cs.CL
cs.CL
Word embedding is one of the most important components in natural language processing, but interpreting high-dimensional embeddings remains a challenging problem. To address this problem, Independent Component Analysis (ICA) is identified as an effective solution. ICA-transformed word embeddings reveal interpretable semantic axes; however, the order of these axes are arbitrary. In this study, we focus on this property and propose a novel method, Axis Tour, which optimizes the order of the axes. Inspired by Word Tour, a one-dimensional word embedding method, we aim to improve the clarity of the word embedding space by maximizing the semantic continuity of the axes. Furthermore, we show through experiments on downstream tasks that Axis Tour yields better or comparable low-dimensional embeddings compared to both PCA and ICA.
[ -0.0095059006, 0.0505951568, 0.0049017752, 0.0723666102, -0.0413049534, 0.03369762, 0.011373356, -0.0028548981, 0.0094862878, -0.0131895989, -0.0376013592, -0.0210108645, 0.0569853745, 0.0126570044, 0.004440553, -0.0389833488, 0.0664425194, -0.0093278419, -0.0271930192, 0.0160112511, -0.0213808957, -0.0272179078, -0.0340834707, 0.0236404072, -0.0563488267, -0.0422583148, 0.0243826285, -0.051421538, 0.0113229314, -0.0485601239, -0.0771070272, 0.0258626323, 0.0400903337, 0.0149684474, 0.0000019071, 0.0196817499, -0.0261990484, -0.0115979258, 0.0428169519, 0.0146847153, -0.0021909997, -0.0448736846, 0.0149427876, -0.0265676416, -0.0187795963, -0.0479287431, 0.0505010039, 0.1006103829, 0.0094506163, 0.0462563448, -0.0199905224, -0.0504153036, -0.0388546549, -0.0509610996, -0.0144150024, -0.0023919761, 0.0217648633, -0.068173632, -0.0743737146, 0.0481644236, -0.0694219396, 0.0188876204, -0.0196885671, 0.0042802938, 0.0467560515, 0.0657211021, 0.0162733663, -0.0164702125, 0.0033326573, 0.1022700742, 0.0165319629, 0.028359931, 0.0013235137, -0.019477956, 0.0014946507, 0.0301640723, -0.0554243736, -0.0190332271, 0.0458513871, 0.0473586544, 0.0033743314, 0.0309631694, 0.0055830181, -0.0432589948, -0.0304999314, 0.0547019318, 0.0198979136, -0.0566408709, -0.0153667321, 0.0029158855, 0.0281521864, 0.0631953627, -0.0010218732, -0.0180687737, 0.0257182233, 0.0125958053, 0.0201991536, 0.0047183358, -0.0128177069, -0.0424536094, 0.0293154046, 0.0101721799, -0.0185114667, 0.0277319737, 0.0173987281, 0.0247822236, -0.0181931462, 0.0620128587, -0.0420557968, 0.0491567031, -0.0063691917, -0.0132745281, -0.0037115836, 0.0074836812, -0.0255918093, -0.0502575934, 0.0045129689, 0.0201743226, -0.0393154286, -0.0359130539, 0.0046632108, 0.0495266467, 0.0069034086, 0.0123853469, 0.0244630203, 0.0664538741, -0.0557070896, 0.0110338656, -0.0793818906, 0.0087111443, -0.0460237227, 0.0734062269, 0.0317396782, 0.008191742, -0.0445067473, 0.0716186464, -0.0051023355, -0.0350954607, 0.0312141217, 0.0104095424, -0.0080743805, 0.0006814171, 0.0303941444, -0.0506410003, 0.0690453202, -0.0025503014, 0.0176681317, -0.0651755333, -0.0013335811, 0.0100291632, -0.0740240291, 0.075100787, -0.0105504645, 0.0183360111, 0.0066348561, 0.0104727382, 0.0460487567, 0.0114493156, 0.0285159592, -0.0342478305, 0.0494673178, -0.0356650762, 0.0322203077, 0.0204793327, -0.0475491993, -0.0346375927, -0.0512486659, -0.0279492605, 0.0274710692, 0.0261445921, 0.0142279025, 0.0252017323, -0.016395336, -0.0108750053, -0.0063337949, 0.0716274306, 0.0009585225, -0.0327730291, 0.0096230833, 0.0305297133, -0.0224154741, 0.0385065898, -0.0169285629, -0.0003118179, 0.0811749846, -0.0382300876, 0.0223961659, -0.0394767001, -0.0201109648, -0.0173056163, -0.0121947508, -0.0104525285, 0.0139424913, -0.0758334622, 0.0162472073, -0.004257109, -0.0024865491, 0.0087203188, 0.0554134697, -0.0481676273, -0.0296056345, 0.0223954953, 0.0040818993, 0.0376036428, 0.0190883186, -0.024878392, 0.0092344824, 0.0136930887, 0.0076599456, 0.0466861278, -0.0156376697, -0.0196694285, 0.0070786919, -0.0448069759, -0.0366176516, 0.044210583, 0.0285130981, 0.0412609838, -0.0570876375, -0.0039063655, 0.0027559856, -0.0070930775, 0.0173344128, 0.0559031144, 0.020282872, -0.0507643223, 0.0554355755, 0.0286262743, 0.0156662893, 0.0292444732, -0.0167319141, 0.0219954289, 0.0475279354, -0.0607620962, -0.0136329522, 0.0372393057, -0.0296044946, -0.0617818721, -0.0081732254, -0.0785942227, -0.0103559671, 0.0039410307, -0.0122965965, -0.023916645, 0.0269956291, -0.0281359497, -0.0392307118, 0.0078719845, -0.0172395892, 0.0020807707, 0.0668343529, -0.0431515239, 0.0541012213, -0.0184578318, 0.046952989, 0.0237459354, 0.0102937911, 0.042746108, -0.0025785225, 0.0085638706, 0.0575157888, -0.0011175137, -0.0130843064, -0.0102650523, 0.0125518311, -0.0146623077, -0.0013347049, -0.0516968854, -0.0265291631, -0.0041954978, 0.0200250521, 0.0180035252, -0.0150652919, -0.0026788886, -0.0298717115, -0.0428419374, 0.0402184054, -0.0532891341, 0.023255717, 0.0399326347, -0.0327267274, -0.0205289517, -0.0287005678, -0.0092193913, -0.0259237085, 0.0652941018, 0.0059533603, -0.004819823, -0.0092535932, -0.0341568328, -0.010400393, -0.0005229576, -0.011390795, -0.0184795819, 0.0364326984, -0.0259682704, 0.0211866815, 0.0053089196, 0.007988588, 0.0270375777, 0.0478263162, -0.0379679874, -0.0177012254, -0.0066575673, -0.0313718617, 0.1172119752, 0.0138656506, -0.0085410262, -0.0013680743, 0.0839091837, 0.0545667447, 0.0192504171, -0.0362489633, -0.0268593337, -0.040460486, -0.0015284657, -0.056620691, -0.0053074867, -0.0646802485, -0.0392867215, 0.0031974653, -0.0003493318, 0.0145177674, -0.0462100133, 0.0128201414, -0.0507551096, 0.005410308, -0.0556733012, 0.037995439, -0.0267814603, -0.003470236, -0.052054435, -0.037881773, 0.0122396164, 0.0457092486, -0.0169929732, -0.028917823, -0.0028674793, -0.0077575049, -0.0001841112, -0.0015809169, 0.0032219477, -0.0198734291, -0.0879939049, 0.0178776663, -0.0411230735, 0.0262311324, -0.0145745762, -0.0200389177, 0.0174248274, 0.0393490456, 0.0221657157, -0.0086891986, 0.0221794024, -0.0319993123, 0.0735399202, 0.0197538026, 0.0355868116, -0.0201345924, 0.0137342932, 0.0127381478, 0.0450355932, 0.0160077587, 0.0059005595, 0.0163432825, 0.0285917949, -0.0024241963, 0.0298218802, -0.0644987375, -0.0262481794, -0.0119596357, 0.0029618503, -0.0125126159, 0.0819853246, 0.0298505779, -0.094326511, 0.0277919807, 0.0149987368, 0.0049719373, 0.0335439481, -0.0060151536, -0.0241258852, -0.0324619748, -0.0175663643, 0.0171967689, 0.0182180889, -0.0224856641, -0.0175202899, -0.0788638964, 0.0417743288, -0.0023384921, 0.0008494562, -0.0538210981, -0.0996220112, 0.015921779, 0.0001503824, 0.0086379442, -0.0244783107, -0.015969865, -0.0051321103, 0.0103749093, -0.0640268028, -0.0229759589, -0.0473133028, 0.0164317153, 0.0104470141, -0.0222572815, 0.0680667087, -0.0340415016, -0.0503167249, 0.0266215224, -0.0591259897, 0.0146115925, -0.0232658722, 0.0477011353, 0.0071735876, -0.0415895917, 0.0171801001, 0.0021906355, -0.0612347946, -0.0140700722, -0.0159462783, 0.0749273002, -0.0219202545, -0.006684674, -0.0380346365, -0.0220280439, -0.000630952, 0.0636529848, 0.0406440757, -0.0313384235, -0.0032587263, 0.0118425004, 0.0603048205, 0.0326387286, -0.0305611696, -0.0113388542, 0.0124900499, -0.0687457845, -0.098624967, -0.0453300104, 0.0197642297, 0.0797434747, -0.0048717759, 0.0271029938, -0.0421673506, -0.0154281035, -0.0026309427, 0.0290107038, -0.0367535166, 0.0095967259, 0.0018782952, 0.0284188408, 0.0037524391, 0.0220047198, -0.0560939759, 0.0211525131, 0.0201913714, -0.0512333363, 0.0251494758, -0.0365496837, -0.0001776, 0.0401520245, -0.0264199469, -0.0069503351, 0.0504500009, 0.0394842401, -0.0092869522, 0.0237992425, 0.0128709683, -0.0379623994, -0.0045553748, 0.0305836573, -0.0182655696, 0.040440768, -0.0238807425, 0.058667738, 0.0046784128, -0.0214071907, -0.0167875364, 0.0249613002, 0.09319105, 0.0390162729, 0.0286628082, -0.0551532246, -0.0131879849, -0.0648070648, -0.0229343139, 0.0009296478, -0.0066747423, 0.042144157, -0.0301765129, -0.0593787245, 0.0332625918, -0.0073473142, -0.0457239859, -0.0311429296, 0.0094460603, 0.0327088237, -0.0203923974, -0.0549218133, 0.043038357, -0.0220201239, 0.0232924595, -0.031322401, -0.0272697117, -0.0127819171, 0.0081427684, -0.0113744354, -0.0105056027, -0.0808191299, 0.0294466279, -0.0397171117, 0.0333957635, 0.0168109518, 0.0098372046, 0.0049903868, -0.0137133822, 0.0722370967, 0.0330389552, 0.0138370851, 0.0169930123, -0.011161143, 0.0093835555, -0.0035984237, 0.0518169254, -0.0084368717, -0.0344227776, 0.0042902604, 0.0796342567, -0.0330962799, 0.0063922219, -0.0816751495, 0.0121658985, -0.056330096, 0.0583433062, 0.0056539644, 0.0548949093, -0.0198116526, 0.0306826625, -0.0379061773, -0.0178172346, 0.0089502782, -0.0315140225, -0.0128357112, 0.0237900931, 0.0261095371, 0.0334974267, 0.0196773838, 0.0426708087, 0.0039020763, -0.0149392383, -0.029473817, -0.0544126891, -0.0226371959, -6.330350789e-33, 0.0002463677, -0.0000381314, -0.0387801267, 0.0288779996, -0.0483440496, 0.0284759104, -0.0233525168, 0.0434191599, -0.0099047562, 0.0597649962, -0.0095059415, -0.0010572653, 0.0059129717, 0.0119264759, 0.0137077365, 0.0181416832, 0.0270850733, -0.0223799925, -0.0478264764, 0.0152081465, 0.0793506503, 0.0215055421, 0.0681437403, -0.0934668556, 0.0092974734, -0.0018324333, 0.010493705, 0.0223104749, 0.0323373973, 0.021582339, -0.0731923208, 0.0505311489, 0.0494145192, -0.0268985815, -0.0089715887, 0.0618209876, -0.0287369713, -0.0750291049, -0.0029989821, 0.0208438355, -0.0441069864, -0.0321424827, 0.0714262798, -0.0003569969, -0.0204184875, 0.0144248037, 0.0437839814, 0.0207455512, -0.0053809383, 0.0605490245, -0.0462748371, 0.0187207162, -0.0294759292, -0.0031574005, 0.043011032, -0.0119529925, 0.0038970695, -0.0066523505, -0.0300539043, 0.0268059745, -0.0519572794, 0.0257293079, 0.016963724, -0.0302309021, -0.004308566, 0.0919551626, 0.0531673916, -0.055956278, -0.0072666383, -0.0665300339, 0.0266690403, 0.0295142792, 0.009195677, 0.0086603425, -0.0059059737, -0.0135312062, -0.0386161469, 0.0097857779, 0.0033536276, 0.0059953183, 0.0423377119, -0.0102524469, -0.0852339864, -0.0184385013, -0.0241601523, -0.0362304337, -0.0183285028, 0.0005993316, 0.0286211539, 0.0117948148, -0.0414196625, 0.0192980282, 0.0144563438, -0.0264429934, 0.005690509, 0.0630781353, -0.0388626046, 0.0509024821, 0.023975879, -0.0488503538, -0.0369409882, -0.0341777951, 0.0086325258, -0.0276845023, 0.0361437835, -0.0358345658, 0.0251509659, -0.0051188464, -0.065266557, -0.032924924, 0.0038119345, -0.0794411078, -0.0272924975, 0.0176835582, 0.0389731303, -0.0128680505, -0.0268807281, 0.0414936244, 0.0192071646, 0.0565291084, 0.0005753866, -0.0436118431, -0.0000490535, 0.0248899329, -0.0306475312, -0.0222084466, 0.0195038468, -0.014519251, 0.0377634279, -0.0753381699, -0.0124769872, 0.0222108737, 2.657e-7, 0.0175059978, 0.1028127745, 0.0120458798, -0.0415398702, 0.055501841, 0.0244331658, -0.0216082968, 0.0425959677, -0.0670824498, 0.0027196333, -0.0132254492, 0.0145432511, -0.013915848, 0.0050915438, -0.0076972772, 0.0755449012, -0.0481453575, 0.0372478701, -0.0202667117, -0.0044857105, 0.0645695478, 0.0964002237, -0.0107350508, -0.0090342071, -0.0343134515, -0.0048852148, 0.0398224518, 0.0033110823, 0.0234327968, -0.0303274635, -0.0157923326, 0.0476036631, 0.0384343006, -0.0139557142, 0.007585322, 0.0529402345, 0.0487962961, 0.0414667092, -0.0391455628, 0.0226084068, 0.0405293107, 0.0297001898, 0.0061100917, -0.0056945602, 0.0976597443, -0.0362437405, -0.0551663227, -0.0425257422, -0.0198902227, 0.049217619, 0.0357288681, 0.0433064438, -0.0107821058, -0.003691531, 0.0109416163, -0.0161935929, -0.0394994654, -0.0511505865, 0.0008226255, -0.0017971609, -0.0322023146, 0.0291908532, -0.0080600819, -0.0116436789, 0.0501864254, 0.0006057801, -0.0197170787, 2.158772416e-34, -0.0090835346, -0.0154940886, -0.0124239381, 0.002211292, -0.0275296085, -0.0427491479, 0.0721313134, -0.0019231216, -0.0180499684, -0.08783786, 0.0115588279 ]
http://arxiv.org/abs/2401.06105v1
http://arxiv.org/pdf/2401.06105v1
PALP: Prompt Aligned Personalization of Text-to-Image Models
2024-01-11T18:35:33
2024-01-11T18:35:33
Moab Arar, Andrey Voynov, Amir Hertz, Omri Avrahami, Shlomi Fruchter, Yael Pritch, Daniel Cohen-Or, Ariel Shamir
cs.CV
cs.CV, cs.CL, cs.GR, cs.LG
Content creators often aim to create personalized images using personal subjects that go beyond the capabilities of conventional text-to-image models. Additionally, they may want the resulting image to encompass a specific location, style, ambiance, and more. Existing personalization methods may compromise personalization ability or the alignment to complex textual prompts. This trade-off can impede the fulfillment of user prompts and subject fidelity. We propose a new approach focusing on personalization methods for a \emph{single} prompt to address this issue. We term our approach prompt-aligned personalization. While this may seem restrictive, our method excels in improving text alignment, enabling the creation of images with complex and intricate prompts, which may pose a challenge for current techniques. In particular, our method keeps the personalized model aligned with a target prompt using an additional score distillation sampling term. We demonstrate the versatility of our method in multi- and single-shot settings and further show that it can compose multiple subjects or use inspiration from reference images, such as artworks. We compare our approach quantitatively and qualitatively with existing baselines and state-of-the-art techniques.
[ 0.018400209, 0.0295891501, 0.0289661977, -0.0199042838, -0.0378506556, -0.0181018393, 0.0536044501, 0.0080082724, -0.0364638865, 0.0049676737, -0.0110289194, -0.0019970089, 0.0024319054, 0.0458685905, -0.0116230212, -0.1187456399, -0.0528428778, -0.0368808471, 0.0029795356, -0.0181410406, 0.030056309, 0.0224616062, -0.032290563, 0.0184947662, -0.0275998823, -0.0741766021, -0.0403605402, 0.067797929, 0.022265438, -0.0302437004, -0.0530469529, 0.0877424553, -0.0021228485, -0.0123825045, 0.0000020239, -0.0246214531, -0.003712133, -0.006872904, -0.0023604715, 0.0000888527, 0.0661989003, 0.0181440022, -0.0060103359, -0.0528847091, -0.0202743858, 0.0751972869, 0.0684018061, 0.040829923, 0.0900564864, 0.0111168195, -0.0048453473, -0.0299273729, -0.0299653709, -0.0291395616, 0.0240653157, 0.0258010849, -0.0200792942, -0.0385560915, 0.0200116504, 0.0552366711, -0.022002738, 0.029797405, 0.0029601685, 0.0055912393, 0.0678907558, 0.0377930366, 0.0212946162, -0.0443045683, -0.0425770953, 0.0482852794, 0.0042452645, 0.0357704759, -0.0128629431, -0.0276794303, 0.0010883245, 0.0260562431, -0.058132425, -0.027579898, -0.0184287447, 0.0164622981, -0.097732462, 0.0609827936, -0.0265969504, -0.0384561531, 0.0228715912, -0.0142345773, 0.0539589003, 0.0072354772, -0.0474159196, 0.0359901115, -0.0478130206, -0.0645872727, 0.0576559566, -0.0061900592, 0.0195707604, -0.0042030159, -0.0581567176, -0.0429305024, 0.0028430007, 0.0449194461, 0.0985813141, 0.0079192799, -0.0364624821, 0.0357226394, 0.0168076456, 0.0371487699, 0.0052484833, 0.0052139536, -0.0667033717, 0.030511234, 0.0165760815, -0.0132201323, -0.0340870619, -0.0360730961, -0.0771696419, -0.032072477, -0.0371146239, 0.0059940363, -0.0038403939, 0.01355989, 0.0138860056, 0.0602720343, -0.075540185, 0.0143948654, -0.0172385052, 0.0029495505, -0.0438936353, -0.0117703136, 0.0261811335, 0.0366286226, -0.0099832155, -0.0077281157, 0.0603396185, -0.0011520768, -0.0429192521, 0.0149154486, -0.0433714911, 0.0070433617, 0.0358607769, -0.0078967381, -0.0691465288, 0.011825664, 0.01185688, -0.0272900518, 0.049391225, -0.0158633348, 0.006965593, -0.0480173342, -0.0152559858, 0.0319588669, 0.0012711562, 0.0619048104, 0.0087076928, 0.0131805567, 0.0147155253, -0.0123030888, -0.008546913, 0.0149291391, 0.0145162195, 0.0989062339, 0.0363736339, 0.0001562839, 0.0003507584, 0.0220958665, 0.0057625393, 0.0069256932, -0.0393581055, -0.0186977033, 0.0291460231, 0.0181988776, 0.0059401942, 0.0242555924, -0.0050346819, 0.0036170036, 0.1113288105, 0.0366583206, 0.0267367307, -0.0285238177, 0.0267817359, 0.0395538546, -0.0055247014, 0.01289328, -0.0197942369, 0.0355609283, 0.0206513274, 0.0474221781, 0.0192722045, 0.0512318499, -0.0357477888, -0.022847347, 0.0208697729, 0.0089216465, -0.0031905193, -0.0022700953, 0.0096579697, 0.0458958223, -0.0186512358, 0.0324909426, -0.0157032777, -0.043711029, 0.0216105673, 0.0193735845, 0.0465071723, 0.1072742045, -0.0005559797, 0.0044747409, 0.04549665, -0.0058478783, 0.0420735218, 0.0791841, -0.0076370938, 0.0110303657, 0.024583241, -0.0059297937, -0.0330010317, -0.0363753438, -0.0347303264, -0.0042080577, -0.0337661766, 0.0158260129, -0.0219294596, 0.0344982184, 0.0327106416, 0.0176903754, 0.0162952561, -0.0923628137, -0.0161078889, 0.0416556485, -0.0261202771, 0.0373273976, -0.0003347968, -0.0022105544, 0.0283530224, 0.0025644689, 0.020162642, 0.0005102323, -0.0208946764, -0.0323407836, 0.0074257348, -0.0463850163, -0.0116877314, -0.035431467, -0.0164225213, -0.027819844, -0.0332527384, 0.0073266346, -0.0111597953, -0.016652124, -0.000072585, 0.004281207, 0.0229465086, -0.0645265505, 0.0342287943, -0.0329890549, -0.0118739363, 0.0087636253, 0.0308851153, -0.033714775, 0.0105465511, -0.0383913182, -0.0379259177, 0.035844367, -0.0128183896, 0.0003799087, 0.0228362344, -0.049329225, -0.0265424307, -0.0730480924, -0.0193702672, 0.0077393628, -0.0326639488, 0.00089009, 0.0314208791, -0.0043090996, 0.0054138182, -0.0748554394, -0.0343552902, -0.0116480393, 0.003791102, 0.0633106232, -0.0007251335, 0.0196622014, -0.045940645, 0.0035992255, 0.0312507674, 0.0403032377, 0.0334336795, 0.0093010748, -0.057665877, -0.0082045346, -0.0078743389, -0.0021281817, 0.0391811356, -0.0059901504, 0.0211170465, -0.01576351, 0.038067814, 0.0996284485, -0.0109534021, -0.0073774261, -0.0049738791, -0.0097172176, -0.0291361231, 0.0108882254, -0.0455456413, 0.0093060387, 0.0690756366, -0.0207283106, 0.0492041968, 0.0214166548, -0.0049745962, 0.0499845631, -0.0482484363, 0.0526153035, 0.0232624039, -0.0001799085, -0.0238312129, 0.0346854441, -0.0095855137, 0.0184760187, -0.0605988279, -0.0704209656, 0.0468529388, -0.0392033085, -0.0433505215, 0.0383523144, 0.0085788025, 0.0313072763, 0.0349244289, -0.0141498232, 0.0398669913, 0.0193501785, 0.0347206667, -0.0416272059, -0.0196129084, 0.0391076654, -0.0186747424, 0.0200643819, -0.0378671959, -0.0218363758, -0.0131835658, -0.0465364158, -0.0168144312, -0.0559344962, 0.0134538598, -0.0307421386, -0.0235048328, -0.0113165993, 0.0037988136, 0.0343588479, -0.0364181846, 0.0180858821, -0.0272341724, -0.0066390983, -0.0401603617, 0.0496567897, 0.0476486161, -0.0248166248, -0.064993456, -0.045165062, 0.0045997459, 0.0326395854, 0.0079417974, 0.0070534842, -0.0258995146, 0.0397940017, 0.0273242928, 0.0314112492, -0.0126286624, 0.0322472379, 0.0976245329, 0.0053739208, 0.0241185799, 0.0711708069, 0.0136564933, -0.0198849589, -0.0152455736, 0.0272195246, 0.0548429042, 0.0256553162, 0.0068470063, -0.0420534872, -0.0156881344, -0.0110627189, 0.0060652918, 0.0251022317, -0.0084051592, -0.0362353399, -0.0512206554, 0.0206182096, 0.023447413, 0.0049691023, 0.0187730659, 0.0254952628, 0.0524065383, 0.0272181593, -0.0325700194, -0.0095745642, -0.0027884513, 0.0157330632, 0.0133532044, 0.0543293059, -0.0115632368, -0.0560845397, -0.0435296632, 0.0511597246, 0.0572952032, 0.0422406308, 0.050103493, -0.0663391575, -0.0739073902, 0.0454288945, 0.0325635225, 0.005925592, 0.0487786978, 0.0073033967, 0.0078183142, -0.0265798774, 0.035782028, 0.0085502835, -0.0308585372, 0.0315666199, -0.0002025044, 0.0056757936, 0.0480401739, -0.0677658021, 0.0108738197, 0.0287174955, 0.0166409034, 0.0191329382, -0.0789723098, -0.0378820933, -0.0716593266, 0.0416249335, -0.0562043265, -0.022169346, 0.0090721408, -0.0647178516, -0.0342184491, -0.0453022085, -0.0026902377, 0.0387003273, 0.0702418238, 0.0063646017, -0.0439972952, -0.0640905276, 0.0229237899, -0.0416987687, 0.0212383121, -0.0448788777, -0.0010931739, -0.0167576727, -0.002253996, -0.0051804036, -0.0570316911, -0.0208987165, -0.003018182, -0.0707160458, -0.0154547887, 0.0111888722, 0.0558422767, 0.0155239338, 0.0166054107, 0.0094146291, -0.0782099366, 0.0316607356, 0.0113370866, 0.0110350261, -0.0135837262, -0.0203992818, 0.0432523414, 0.0077431342, -0.0267989375, -0.0503989719, 0.023847742, 0.0549618565, 0.0203069393, 0.0126082562, -0.0615939721, 0.0114896828, -0.002719274, 0.0394370072, -0.0449387245, 0.0159158409, -0.0125957578, -0.0010358205, -0.0246177744, -0.0310740191, -0.0297677573, -0.0242576916, -0.0332859941, -0.0042449161, -0.0027242259, -0.0426007137, -0.0249843616, 0.0221786704, -0.0918982401, -0.0435451604, -0.0066661341, -0.020829957, 0.0075070933, 0.024535533, 0.0231991261, 0.0995228887, -0.02555364, 0.0232806113, 0.0123080024, 0.0364832357, -0.0000383078, -0.0327588432, -0.0668241978, 0.0576091595, -0.0375798941, 0.0033931998, -0.0240457878, 0.0502217934, 0.039159961, -0.0044973255, 0.0194046479, 0.042762313, -0.0156259071, 0.0096191242, 0.0093615605, 0.0497741587, -0.0455632843, -0.0185479149, -0.011932319, 0.0163525492, -0.0531020835, 0.003336601, -0.0709835514, -0.0321053863, -0.0348125584, -0.0329581499, -0.0296692234, 0.0433374867, 0.0097322837, -0.0143050132, 0.0266074538, 0.0166077353, -0.0599619821, -0.0096725598, 0.0775769204, 0.0290622786, -0.0303010494, 0.0029660149, 0.0572399087, 0.018868031, -0.0776058808, -0.0339362212, 0.0159977488, 0.0079257293, -0.0071147191, -0.0241042431, -0.0149537669, -5.594725322e-33, -0.0598913878, -0.0133525636, -0.0290095881, 0.0015770232, -0.0095933331, -0.0278985761, -0.0011002437, 0.0103594027, 0.0672639981, -0.0019131121, -0.0391812883, -0.061789427, 0.0258936975, 0.0351103209, -0.0058119232, 0.0163554791, 0.0719399303, 0.0259056669, -0.0565228127, 0.0216318574, 0.0136673953, 0.0198731758, 0.014940856, -0.0685110614, -0.0010740453, -0.0424610116, -0.0264481455, -0.0348216034, 0.0665181875, 0.0601829961, 0.0022920126, -0.0110651972, -0.0172085259, -0.0145373102, 0.0068448815, 0.0669657886, -0.0560482815, -0.0550273806, -0.0018763673, 0.0186501779, -0.0560086109, -0.0532863513, 0.0138985347, -0.0296667404, -0.029447332, -0.0178025104, 0.0479566865, -0.0335485861, 0.0112024769, -0.010604023, -0.0433082208, -0.0353161134, -0.0377730727, -0.0382864214, 0.0134630045, 0.0241695978, 0.0257728286, 0.0649907738, -0.0583458357, 0.0369793549, 0.0385401361, -0.0056134053, 0.0391642489, 0.0745726526, 0.0094961654, 0.051989913, 0.0211247765, 0.0010538339, -0.0059803505, 0.019763425, -0.0003273609, 0.0421444252, 0.0218136497, 0.0782920718, 0.0327746458, 0.0272752717, 0.0271265972, 0.0566547848, -0.0110364398, -0.0608251058, 0.0452404879, 0.0298930332, -0.0001653809, 0.008699147, -0.0529657714, -0.0763183981, -0.0279766079, -0.0525400117, 0.0067193313, -0.0020741173, -0.056678433, 0.0071323998, 0.0293259062, 0.0257070977, 0.0002301969, -0.063869223, -0.0450200737, 0.0581967495, -0.0353683382, -0.0230931938, 0.0260016154, -0.0339210741, 0.081135273, -0.0071626375, 0.0027761359, 0.0262991395, 0.0105041536, 0.0148877557, -0.0291212834, -0.0046254308, 0.017161876, 0.0174271464, 0.0167948045, 0.0212674178, 0.0423657112, -0.0194179136, -0.0678402185, 0.023272451, 0.0238083322, 0.0212521665, -0.0217449423, -0.0511080027, 0.0032953091, -0.028199669, -0.0105127152, 0.0248345062, 0.0016727727, -0.0087470654, 0.0318795927, -0.0443844199, -0.0460182168, 0.0026543802, 2.632e-7, 0.0129526965, 0.0127110835, 0.0018830764, 0.003862032, 0.004065956, 0.0332343169, -0.0234083533, 0.0413468294, -0.01641546, -0.0488140769, 0.0041186861, 0.0374793597, 0.0457175225, -0.0136939706, -0.0492206141, 0.0157896075, -0.0223574266, 0.0519391932, -0.0468401462, 0.0446232408, 0.067226097, 0.0276805609, 0.0482726842, -0.0189222414, 0.0527279228, 0.0271139555, 0.0547043197, -0.0386555418, 0.0009974539, -0.0077972044, -0.017443018, -0.0770857483, -0.0084094554, -0.0198011491, 0.0046579931, 0.0003637525, 0.0787236989, 0.0742570013, -0.0553899594, 0.0046941317, -0.0172643196, 0.0244060513, 0.0000661534, -0.0318358727, 0.010407865, -0.0104581928, -0.0115609141, -0.0508226901, -0.0403951965, -0.0015423346, 0.0554539561, -0.032311026, -0.0442546606, -0.0043059848, 0.0422643051, 0.0117396498, -0.0241649393, -0.0330722183, -0.046715837, -0.0318741314, -0.016093934, -0.0108360415, -0.0528315194, -0.0261640139, 0.0075381333, -0.0675144941, -0.0141054261, 2.359752793e-34, -0.0029464548, 0.0093825636, 0.0311785694, -0.0141560035, 0.0043762317, 0.0156804249, 0.0156173334, 0.0017599243, 0.0515938774, -0.0730756968, -0.0362534598 ]
http://arxiv.org/abs/2401.06104v2
http://arxiv.org/pdf/2401.06104v2
Transformers are Multi-State RNNs
2024-01-11T18:35:26
2024-06-18T09:16:14
Matanel Oren, Michael Hassid, Nir Yarden, Yossi Adi, Roy Schwartz
cs.CL
cs.CL
Transformers are considered conceptually different from the previous generation of state-of-the-art NLP models - recurrent neural networks (RNNs). In this work, we demonstrate that decoder-only transformers can in fact be conceptualized as unbounded multi-state RNNs - an RNN variant with unlimited hidden state size. We further show that transformers can be converted into $\textit{bounded}$ multi-state RNNs by fixing the size of their hidden state, effectively compressing their key-value cache. We introduce a novel, training-free compression policy - $\textbf{T}$oken $\textbf{O}$mission $\textbf{V}$ia $\textbf{A}$ttention (TOVA). Our experiments with four long range tasks and several LLMs show that TOVA outperforms several baseline compression policies. Particularly, our results are nearly on par with the full model, using in some cases only $\frac{1}{8}$ of the original cache size, which translates to 4.8X higher throughput. Our results shed light on the connection between transformers and RNNs, and help mitigate one of LLMs' most painful computational bottlenecks - the size of their key-value cache. We publicly release our code at https://github.com/schwartz-lab-NLP/TOVA
[ 0.0201360472, 0.0888227001, 0.0129763717, 0.0131032635, -0.0215289649, -0.0179635212, -0.006963036, 0.0250381771, -0.0514247678, -0.0211905986, -0.0267198775, -0.0467893369, 0.0158123504, 0.0054265177, -0.0073681483, -0.0297507718, 0.0414585173, -0.0157538168, -0.031895332, 0.0069550509, -0.0299931522, 0.006968888, -0.0137603926, 0.0546190403, 0.0195532627, -0.0087416349, -0.0310132429, -0.0207146686, -0.0084831631, -0.0452022105, -0.0199207421, -0.0058605834, 0.0279800706, 0.0299318545, 0.0000020846, -0.0175487585, 0.0169447232, -0.0211218894, -0.0574610382, 0.0216518324, 0.0296590999, -0.0334551483, -0.0001571148, 0.02510399, -0.0139101325, -0.0482116938, 0.0563988686, 0.0627889857, 0.0582111217, 0.0771944225, 0.0201373212, -0.0426745415, 0.0281876847, -0.044770848, -0.0006151843, -0.048429966, 0.0065647908, -0.0583786368, -0.0281753372, 0.0023300063, -0.0505638048, 0.0321724005, 0.0363214016, 0.0435405895, -0.033413969, 0.0402853042, -0.0033517745, -0.0050644875, -0.0276138373, 0.0245313141, -0.0351049565, -0.0078636231, 0.0155260339, 0.008486554, -0.031271439, -0.0403354876, -0.02463587, 0.0445045978, 0.0105174799, 0.0265350733, -0.0137726236, 0.0241066925, 0.0558946878, -0.0113565866, -0.0225071199, 0.007993157, 0.0130272331, -0.0220781155, -0.0156936236, -0.0137739163, 0.0479288548, -0.0710392073, 0.0021748503, 0.0834554359, 0.0052755298, 0.0099287806, -0.0158936772, -0.0165357888, 0.0200760048, -0.0255791564, 0.061301928, 0.0280730482, -0.0051823719, 0.0066519417, -0.0187799763, 0.0659032613, -0.0647054091, 0.011570123, -0.0156724006, -0.0087078102, -0.0593247265, -0.0257122647, -0.0226372089, 0.0301584769, 0.0034448709, -0.0053789495, -0.0375173874, -0.003044432, 0.014700368, -0.0036767668, 0.0381530598, 0.0408755578, -0.0551967733, 0.0213944558, -0.0189596359, 0.0644996241, -0.0032369161, -0.0131561356, 0.0294167511, -0.0512680225, -0.0472274572, 0.0132623715, 0.0157941524, -0.0171682723, -0.00573227, 0.1033630073, 0.0004766614, -0.0392419063, -0.0228749737, -0.0116620651, 0.0097861737, -0.0587771274, 0.0565167144, -0.028610738, 0.0261128973, -0.0351668932, 0.017033644, -0.0533077791, 0.0178241506, 0.0488240756, -0.013226755, 0.046704568, 0.0638399348, -0.0171510465, -0.008354919, 0.0071222456, 0.0318452828, 0.0124467164, 0.0406274945, 0.0283062551, 0.0071543232, -0.030456895, 0.0112522645, 0.0261710323, 0.0249773003, -0.0167936217, 0.000240859, -0.0300511234, -0.0159891099, 0.031163428, 0.0334697627, 0.0492373332, -0.0258854702, -0.0343812257, 0.0174709, 0.0358601362, 0.0470154881, 0.0700345039, 0.0132431695, 0.0036400401, 0.0031675086, -0.0270221159, -0.0298669152, 0.0679047257, 0.0083799353, -0.0026949369, -0.003571172, 0.0392977856, -0.0467202254, -0.0307654273, -0.0269406848, -0.0369306393, 0.0144146923, -0.0124802236, 0.0430856086, 0.0559020825, -0.0581135601, 0.1019884199, -0.0156079745, -0.0434170961, 0.0193483829, -0.0312847942, -0.0486105233, 0.0286833607, 0.0530022085, 0.0115561308, -0.0384937413, -0.0048904079, -0.0488817543, 0.0262637865, 0.0275504254, 0.0194839127, 0.0579677783, -0.064198494, -0.0215647351, 0.0041738558, 0.0083534438, 0.013982445, 0.030522434, 0.0245978888, 0.0199531373, -0.032184191, 0.0274605192, 0.0311563741, -0.0423780903, -0.0438146032, 0.0525222234, 0.0063538412, 0.0348948874, 0.0072434158, 0.0059823934, 0.0145349884, 0.0352612846, -0.0616667196, -0.0284345802, -0.0068991249, -0.0765625313, -0.016849108, 0.0062577222, -0.0109798182, 0.0280762389, 0.1124065295, -0.0380515903, -0.04540148, 0.0409792252, -0.0496275611, 0.0382519625, -0.0169203691, -0.0249952693, 0.0295580607, 0.0355855413, -0.0091867186, 0.0200127885, -0.0607598536, -0.0047263103, -0.0175378546, -0.0264503434, -0.0106940782, -0.0131766424, -0.0466588363, 0.038872283, -0.0349055454, 0.005144401, -0.0033799419, -0.0064702574, 0.0137193017, -0.0441523269, -0.0380522609, 0.0121317003, -0.0139256725, 0.0315063633, 0.0016811179, 0.0204592459, 0.0405134372, -0.0121650575, -0.0442329571, -0.0017247223, 0.0062761186, 0.026447393, 0.0375632197, 0.014621025, -0.0500452407, -0.0208440516, -0.0477350019, 0.0116273919, 0.0554123223, -0.0580275804, -0.024202073, -0.0167168267, 0.0363605581, 0.0063509392, 0.020186875, -0.0200148653, -0.059164241, 0.015560763, -0.004824141, 0.0187545363, 0.0193665791, 0.0208740812, 0.0125442063, 0.0583153479, -0.0420999303, -0.0462875031, 0.0276905932, -0.0461901352, -0.0647720471, -0.032546781, 0.0052241255, 0.012859731, 0.1028853878, -0.0241460968, 0.0141828628, -0.064621821, -0.0576873906, -0.0082147224, -0.0267657395, 0.0190884471, -0.0022443885, -0.0427807719, 0.0117167477, 0.0035383159, -0.0024878948, 0.0354670808, -0.0274198968, -0.0044803494, 0.0018285395, -0.0108607188, -0.0599674694, 0.0678814799, 0.0023455857, 0.0039844015, 0.0131206475, -0.0310007185, -0.0101548741, -0.0130373621, -0.0429063439, -0.0277873967, 0.0399047211, 0.0026861124, -0.0126210349, -0.0437088944, -0.0556045771, -0.0536077917, 0.0133032529, -0.0173479281, -0.0019755692, 0.0046889149, -0.0512470417, -0.038138099, -0.0247172806, 0.0082627339, 0.0587798581, 0.0117603177, -0.0092697227, -0.0086660897, 0.0321824215, 0.0131168403, 0.0478809141, 0.0284591317, -0.0042227437, -0.0187484697, 0.0830671713, 0.0446556136, 0.0308311433, -0.0499049947, 0.0031709068, 0.0455149002, -0.0089858873, -0.0027711042, 0.027361339, 0.0178374965, -0.0725803971, -0.0409774147, 0.0685807467, 0.0108795324, -0.0454036258, 0.0100814011, 0.0224598553, 0.0317478739, 0.0153470645, 0.0302059744, -0.069168292, -0.0312166084, 0.0175050832, 0.0220979415, -0.0149075119, -0.0436052456, -0.0373242758, -0.0973634645, -0.0014131936, -0.0040706862, -0.0138958544, -0.0070027355, -0.0304244775, -0.0403384753, -0.009594541, -0.0082219606, 0.0008560503, -0.0082518924, -0.0162126385, 0.0315386988, -0.0226690155, -0.0349853709, 0.0509857945, -0.0068501928, 0.0436106287, 0.0680984408, 0.0010368486, 0.0005849828, -0.0481955558, 0.0208000187, -0.0102653988, 0.0288498569, 0.0131930681, 0.0122552281, -0.0063982503, -0.0305874497, -0.0092182253, 0.0126485536, -0.068987295, -0.0257688686, -0.0179085713, 0.0677674264, -0.0181481782, -0.0364430211, -0.0126492456, -0.0369691625, -0.0029463316, 0.0629237071, 0.0225883964, -0.0103214765, -0.065250203, -0.0004762828, 0.0133883962, -0.0805020928, -0.0801503882, 0.0213005133, 0.0433258265, -0.0614975058, -0.0671986118, -0.0145291425, -0.0294398926, 0.011203221, 0.0086222682, -0.0394700915, 0.0457229167, 0.0397785269, -0.0811289921, 0.0057878941, -0.0454125293, 0.0099556781, -0.0551861227, 0.0113567505, 0.052357804, 0.0232394394, -0.0191524941, 0.0148833236, -0.1384684891, -0.0056013092, 0.0539839007, 0.0226886291, 0.0245422162, 0.011211209, 0.0092860479, -0.0299583822, 0.0576247014, 0.0462498814, -0.0258028656, 0.0518799797, 0.0560598187, -0.0050120638, 0.0227644742, 0.0416037403, -0.0453244895, -0.0048263981, -0.0138427913, 0.0334184431, -0.0054328069, -0.0063942806, 0.0016616137, -0.0184934605, 0.026876986, 0.0104989111, 0.0372396447, 0.0255483687, 0.0346814282, 0.015025733, 0.0462132059, -0.0359841511, 0.0113525707, 0.0295908954, -0.0131837567, 0.0212034583, 0.036108762, 0.0688382834, -0.0025285019, 0.0164603535, 0.0045247651, 0.0148810027, -0.0224961191, 0.0075822985, 0.0432480834, -0.0352188013, 0.001940202, -0.0038852647, 0.0195368156, -0.0280878507, 0.0141633041, 0.0277391896, 0.0448276922, -0.0569699965, 0.0324648917, -0.0646809787, -0.0098271705, 0.0133355679, -0.0266596768, 0.0320560671, 0.0181280822, -0.0202721786, -0.0331768803, 0.0281927288, -0.0124461548, 0.0124624856, -0.0307511594, -0.0285745356, 0.0277246125, 0.0209158268, 0.0092947129, 0.0112219201, 0.0872240216, 0.0181433726, 0.0757567883, -0.011102031, 0.0626423955, -0.0271713622, -0.0439467318, -0.0297884103, 0.014831095, 0.0317840241, -0.0280975625, -0.0417856164, -0.0592528284, 0.0565137267, -0.0202942286, 0.0204214193, -0.053609103, 0.0407421403, 0.0194809176, 0.012912347, -0.0033975383, -0.0098109767, 0.0181094781, -0.0045939055, -0.0276431609, -0.0304269549, -6.208886958e-33, 0.0075333738, 0.0021489116, 0.029870851, -0.0207489245, -0.0486985818, 0.0168893375, -0.0554793216, -0.0390930437, -0.0309060626, -0.021142615, -0.0454190373, 0.0020809665, 0.0132626053, 0.0604318231, 0.0199427716, -0.0616580173, 0.0709164962, -0.0155390054, -0.0023662641, 0.0213391446, 0.0684065521, 0.0129572544, 0.0409297161, -0.0246017985, -0.0455465093, -0.0057334611, -0.0139093008, 0.0173106063, -0.0082793208, 0.0558241196, -0.0503121838, 0.0287495889, 0.0255362596, -0.0930299312, -0.0296460986, 0.0145096881, -0.0919657722, -0.0342171341, -0.0285095088, 0.0136446897, -0.0477832556, -0.0600012951, 0.0430228934, 0.0277909897, -0.0057972614, -0.0106616253, -0.0187662244, 0.0031754461, -0.04245992, -0.0755683184, 0.0056741158, -0.0050588353, -0.0069528944, -0.0329052769, 0.0303079579, 0.0239964277, -0.0143423993, 0.0337074362, -0.0888568833, -0.0058929804, -0.0119083617, 0.0767440572, 0.0483510569, 0.0144704534, -0.0081551382, 0.0410045981, 0.0164850596, 0.0007517938, -0.0613370575, 0.0105260415, 0.0208396073, 0.0206416752, 0.022071844, -0.0002576005, 0.0775740147, -0.047685843, -0.0279961973, -0.0143092293, -0.010194445, 0.0813538656, 0.0213584751, -0.002513726, -0.0209505148, -0.0112507297, -0.0299124494, 0.0140423337, -0.0261486582, -0.0034904047, 0.0414136387, 0.0630488694, 0.0042544524, 0.01109342, 0.0303274114, -0.0273437947, 0.0350147597, 0.0320969783, 0.0210867543, 0.0466091558, -0.0117132906, -0.0063575166, -0.0324281789, 0.0021033895, 0.0038397245, -0.0021933953, 0.0240808781, -0.0013678651, 0.0069325482, 0.0603765473, -0.087726891, -0.0296058673, -0.0420899652, 0.0506497845, 0.0005800897, 0.0282620974, 0.0502183065, 0.0121304356, -0.0072977673, 0.0533062182, -0.02603928, -0.0047136042, 0.0018780647, 0.0314416178, 0.0479829051, 0.0224836543, -0.0012286009, -0.0228509475, -0.0608614683, 0.0235275272, 0.0260270778, -0.0450417548, -0.0027325295, 0.0516323373, 2.753e-7, -0.0149717759, 0.020291077, 0.0729989037, 0.0122228796, 0.0308786072, 0.0299160797, 0.0077485251, 0.0382968634, -0.0441519432, -0.010560737, -0.0230946168, 0.0364734605, 0.0432592817, 0.0160631351, -0.0908711255, -0.020655239, -0.055136878, 0.0041826726, -0.0289399121, -0.0263250954, 0.0339494422, 0.118348971, 0.0148281492, -0.0082410816, 0.0002218168, 0.0151713314, 0.0526270606, -0.0024821088, 0.0194017794, -0.0012295081, 0.0237157978, 0.0099656023, -0.007752297, -0.0444695204, -0.027232172, 0.0110451514, -0.0427549072, 0.0921991393, 0.0249154698, -0.1191527694, -0.0015275941, 0.0041569103, -0.0449820757, 0.0357072093, 0.0558587685, -0.0518828668, -0.0386006124, -0.0156449769, 0.0068736137, 0.0273561832, -0.0118867299, 0.0244933236, 0.0083558671, 0.0156223755, -0.0188919995, 0.0085109444, 0.0066243359, -0.1077597588, -0.0159039628, -0.0438531078, -0.0676527843, 0.0217028186, -0.0713438764, -0.010649981, 0.0463806204, -0.0237201396, -0.0459752083, 2.287909884e-34, 0.0176001899, -0.0381152704, 0.012321867, 0.0265246481, -0.0145234549, -0.0124701448, 0.0172543228, 0.0258502848, 0.01312235, -0.075652346, -0.0345767066 ]
http://arxiv.org/abs/2401.06102v4
http://arxiv.org/pdf/2401.06102v4
Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Models
2024-01-11T18:33:48
2024-06-06T22:59:58
Asma Ghandeharioun, Avi Caciularu, Adam Pearce, Lucas Dixon, Mor Geva
cs.CL
cs.CL, cs.AI, cs.LG
Understanding the internal representations of large language models (LLMs) can help explain models' behavior and verify their alignment with human values. Given the capabilities of LLMs in generating human-understandable text, we propose leveraging the model itself to explain its internal representations in natural language. We introduce a framework called Patchscopes and show how it can be used to answer a wide range of questions about an LLM's computation. We show that many prior interpretability methods based on projecting representations into the vocabulary space and intervening on the LLM computation can be viewed as instances of this framework. Moreover, several of their shortcomings such as failure in inspecting early layers or lack of expressivity can be mitigated by Patchscopes. Beyond unifying prior inspection techniques, Patchscopes also opens up new possibilities such as using a more capable model to explain the representations of a smaller model, and multihop reasoning error correction.
[ 0.0107798753, 0.065484941, -0.0394079685, 0.0695945397, -0.0265554134, -0.0027076376, -0.0301440675, 0.0106701422, 0.014363274, -0.0410394929, -0.0390910022, -0.0284998231, 0.0337848514, 0.0307267159, 0.0373331569, -0.0246140454, 0.0334221236, -0.0390151516, -0.006273896, 0.0105807642, -0.0171333868, 0.0202522408, 0.0186358821, 0.0540377535, 0.0296409335, -0.0316806473, -0.0438090898, 0.0049324865, -0.0125813792, 0.0151841296, -0.0285521578, 0.025406424, 0.0280097555, 0.063563861, 0.0000021766, -0.0383001268, -0.0148283448, 0.0057169651, -0.0482716262, 0.0757034719, 0.0294060931, -0.0352515802, -0.0165058896, -0.0273415763, -0.0216698218, 0.0282018557, 0.0520534329, 0.0256148241, 0.0506331399, 0.0468850359, 0.0003289742, -0.0185602382, 0.0076532466, -0.0007593167, 0.0175003074, -0.0436080284, 0.0141060408, 0.0224737152, -0.0116686793, 0.0124868564, -0.0382505693, 0.0348009914, 0.019399995, -0.0182939768, -0.0160619542, -0.004315923, 0.0289490931, -0.0603257567, 0.0158699788, 0.0459435433, -0.0040103165, -0.0479070432, -0.0093790982, -0.0009839754, -0.0153544405, 0.0329184644, -0.0065183928, 0.003758698, 0.0260853395, 0.0337215923, 0.0487721004, -0.0248362403, 0.0837772265, -0.0112618785, -0.0423183627, 0.0649026111, 0.0068042935, 0.0167136602, -0.0300838836, -0.0121779172, -0.0105974125, -0.0456283987, 0.0290261656, 0.0209205877, -0.0212275069, 0.0507975481, -0.0211792905, 0.0267450269, 0.0209075548, -0.0405195355, 0.0612162948, 0.0521271713, -0.0149058709, 0.0266769733, -0.0279087164, 0.0668720677, -0.0566420034, 0.03063526, -0.0245842896, 0.0010975244, -0.0578682274, -0.052206926, 0.0117158107, 0.0102487514, -0.0311732609, -0.023325989, -0.0325113349, 0.0181567706, -0.0410417691, -0.0225498974, -0.0033381372, -0.0072974539, 0.0004873865, 0.0083367024, -0.024127569, 0.0175671298, -0.0079648709, 0.0067302017, -0.0265273228, -0.059735775, -0.0238066204, 0.0024080854, -0.0141498325, -0.007128417, -0.0449184626, 0.0604784079, 0.0180823263, -0.0088221394, -0.0162842572, -0.0571099222, -0.050731983, -0.0283024684, 0.007157499, -0.0429727845, -0.0071584159, -0.0112662418, 0.0033321774, -0.0724691004, 0.0016401525, -0.0114035206, -0.0254464746, 0.0903675705, -0.0265444797, 0.0190612022, -0.0232641865, 0.0208173189, 0.0041145994, 0.0696156174, 0.0212686658, 0.0219019763, 0.0251674857, -0.0206429493, -0.0022509578, 0.0288351439, 0.0347873829, 0.00285495, -0.0640264004, -0.0276889931, -0.0018195028, 0.0030320522, 0.0256485697, 0.0366831534, -0.0069979997, -0.0324578397, 0.017673729, 0.0513358004, 0.0596566908, 0.0114244753, 0.0531242639, 0.0101722535, 0.0149179511, 0.0266972203, -0.0423593521, -0.0202118494, -0.0576676764, -0.0158430971, -0.0094874501, -0.0176227149, 0.0172476452, -0.0467256121, -0.0315076001, 0.0132335499, 0.0035627626, -0.0097577441, 0.0537462458, 0.0128522022, -0.0178992674, 0.064648129, 0.0212187394, -0.0454883091, 0.0207251161, -0.0940721706, 0.03131276, 0.0736504868, 0.0375759304, -0.0170875676, -0.0024467381, 0.0286490675, -0.0493556298, 0.0251970403, 0.029570926, -0.0122604519, 0.0285952948, -0.0198600162, -0.0049797948, -0.0269270614, 0.0541357175, 0.0381722413, -0.045568224, -0.0326378644, 0.0082035307, -0.0870466009, -0.0415890142, 0.0379401296, -0.0308618322, -0.0128104724, -0.0292332675, 0.0074182623, 0.0276606586, 0.0396954045, 0.0070823673, 0.0359043106, 0.02477636, 0.0021514909, 0.0174143221, 0.0248477589, -0.0453415997, -0.0112446407, 0.0311548412, -0.0483182669, -0.0138620501, 0.0408766419, -0.0059138471, -0.0396521054, 0.0447665602, -0.0721323043, 0.0439928025, -0.0434840061, 0.0347155854, -0.0282753278, 0.0293939095, -0.0058836564, 0.0514909998, -0.0187397972, 0.0028605775, 0.0158649441, 0.0088988626, 0.0291043073, -0.0169073511, -0.0034639821, 0.0294437595, 0.0186811108, -0.0084068328, 0.0117953578, -0.0161046777, -0.0410077088, -0.0270441882, -0.0449292734, -0.0321666822, -0.0014154335, 0.0022543047, 0.0655502155, -0.0225174185, 0.0183074176, 0.0037917143, 0.0068009947, -0.0150719192, 0.0076753898, -0.0064013749, 0.0275525171, -0.0330009125, -0.0316498652, -0.038457118, -0.0151614482, -0.0541428328, 0.0895403698, -0.0022817564, -0.0141406525, -0.1002370492, -0.0018980195, -0.0165656079, -0.000851902, 0.0103285639, -0.0666693747, 0.0256024785, -0.0146976933, 0.0019483306, 0.0357077532, -0.020318225, 0.1085767746, 0.0645566508, -0.0071864962, -0.058712814, -0.0424800068, 0.0037863071, 0.0015987105, -0.0329809636, -0.0850266963, -0.0521700345, 0.1021879613, 0.0160923991, -0.0133480392, -0.0661036298, 0.0498658679, -0.032108523, -0.0743941143, -0.0460373424, -0.0379470922, -0.0110554453, 0.078912735, -0.0154342195, -0.0655901581, 0.047189232, -0.0492363013, 0.0080744652, -0.0150198909, -0.0169091057, -0.0449234881, 0.1007836536, 0.0021656391, 0.0094745057, 0.0051542148, -0.0600966737, -0.0153361596, 0.0114674512, -0.011976324, -0.0241804272, 0.0388054512, -0.0673730746, -0.0011155453, 0.0107604396, 0.0429025851, -0.0334517695, -0.0329020135, -0.0416731425, 0.0268975906, 0.0087126195, -0.0140939746, -0.0294110868, -0.0027536335, 0.017586736, 0.0015914442, -0.0072259158, 0.0067529376, -0.0480456576, -0.0219796505, 0.0058066412, 0.0103105949, 0.0337198339, -0.0421190783, 0.0112153729, 0.0411124267, -0.0020331172, 0.0162817407, -0.0553617366, 0.0452144369, 0.0237741005, -0.0002566971, -0.0131320087, 0.0018489221, 0.0618974082, -0.0814123005, -0.0224248972, 0.1091231778, 0.0499286242, -0.0275127552, 0.0670290291, -0.0375129208, -0.016805267, 0.0299329311, 0.0314926431, -0.0503425077, -0.0107786115, 0.0343369544, 0.0064581693, -0.015789317, -0.014389392, -0.0175841264, -0.1019115299, 0.033955235, 0.0307167508, -0.0179084633, -0.0227584764, -0.0301501434, -0.0067514242, 0.0205287952, 0.0211351179, 0.0134955645, 0.0151498374, -0.0002010473, -0.0155910021, 0.0020277253, -0.0511623733, 0.0440537371, 0.0047702035, 0.0705037639, 0.0533340164, 0.0376915149, 0.007596415, -0.0537139475, 0.0279633962, 0.0131962039, 0.031698186, -0.0147510376, 0.0331577212, 0.0229468346, -0.0201988984, -0.0153297586, 0.0319667645, -0.0389354117, -0.0423485748, -0.0468059629, 0.0686449558, -0.0289413165, -0.0466415361, -0.001057784, 0.0099097518, -0.0032738615, 0.0661684647, 0.0620583184, -0.0148995426, -0.0311317891, -0.031390138, 0.0002756034, -0.0110574737, -0.101948671, 0.06338045, 0.0441653356, -0.0467968658, -0.0378839374, -0.0120210741, -0.0088403178, 0.0221643616, 0.0270427838, -0.0227146652, -0.013630352, -0.031161014, -0.0338100195, 0.0430777632, -0.0182458051, 0.0066421069, -0.0138410954, -0.017469326, 0.0131458845, -0.0439928994, -0.0295566414, -0.0232386366, -0.0192255415, -0.0512583777, 0.0475029498, 0.0244922824, 0.0343907923, 0.0157618094, -0.0411860235, -0.0632696897, 0.0143830357, 0.0000506612, -0.0588857457, 0.0238083452, 0.0411276706, -0.0206644591, -0.0004944408, 0.0637063459, -0.0267075356, 0.0245471373, 0.0040066182, 0.0234919749, -0.0118889036, -0.0347993672, 0.0372908898, 0.0218259841, 0.0286017582, 0.0082405526, -0.0272221062, -0.0342387185, -0.0187855083, -0.0538536124, -0.0122014778, -0.036832504, 0.03247796, 0.0308337379, -0.033156421, -0.0017479532, -0.0493161194, -0.022520557, 0.0192677807, -0.0026147442, 0.0302172974, 0.0249407981, 0.0144881485, -0.0187907424, 0.0337516405, -0.0117708566, 0.0334059373, -0.0637391657, 0.0441015325, -0.0120593999, 0.0361815393, 0.0090347091, 0.012532698, -0.0537435673, 0.0147468597, -0.0736887828, -0.04604223, 0.0361307748, 0.0225782953, 0.0314029157, -0.0021607482, 0.0725391284, -0.0146352714, 0.0084123993, -0.0135730961, 0.058138039, 0.0082477015, -0.0196385402, 0.0224285498, 0.0177318808, -0.0215673596, -0.0137343211, 0.0504338518, -0.00460664, 0.0292670801, -0.0197518822, 0.0005516679, -0.0352614336, -0.0313812345, -0.0041550407, 0.0469996929, -0.0490951203, 0.0196612217, -0.0540343337, -0.0861296877, -0.013611122, 0.0324814804, -0.0130465757, -0.0302444473, -0.0281774402, 0.064515695, 0.0196035895, -0.0041519315, -0.0485710837, 0.0029679586, -0.0115713198, 0.0219859239, 0.0111028273, -6.528306977e-33, -0.0305827018, -0.0764201283, -0.0164320022, -0.0580455102, -0.0115701864, 0.0127163269, -0.0841787457, 0.0213184841, -0.0041235927, 0.0375801064, 0.0210187659, 0.0291305687, 0.0091715259, 0.0001544769, 0.0001714884, -0.0103935199, 0.0473605879, 0.0474076122, -0.002063781, -0.0149465464, 0.0560388044, 0.0160911754, 0.0682695359, -0.0584131591, 0.091702424, 0.0114297653, -0.0124914227, 0.0376161374, -0.0462883636, 0.0683772266, -0.0336697213, 0.0025066275, 0.0239436459, -0.0258027855, -0.0395168774, 0.0049471096, -0.0482143722, -0.0233811177, 0.0802746564, 0.0237281919, -0.0607030243, -0.0653478876, 0.0635408089, -0.0148778046, -0.013800242, -0.0134008983, 0.016745178, -0.0150906965, 0.002216225, 0.043642465, -0.0677693263, 0.0177381691, -0.033361163, 0.0015485195, 0.0472473353, 0.0290764794, -0.0069866353, 0.0330888331, -0.0683047771, -0.0089312401, 0.0003572249, 0.0001857375, 0.091188103, 0.0217841715, 0.015675243, 0.0797091648, 0.0400145799, -0.0276609212, -0.0425987989, -0.0283240955, 0.0640414134, 0.0364600159, 0.021698853, 0.0115807205, 0.0255582761, 0.0182709303, -0.0303370021, -0.0196834803, -0.0198586285, 0.020107599, 0.0520034805, 0.024845738, -0.0330675431, -0.0121207051, -0.0609494075, -0.0391817912, -0.0464399084, -0.0195331741, 0.0162992887, -0.0478908233, -0.0429198258, -0.0003706492, 0.0178915132, -0.0728144199, 0.0266217478, 0.0010499994, 0.0010784677, 0.0130556095, 0.0136475731, 0.0415892638, 0.0072092754, -0.0157098416, -0.0130345644, 0.0270423647, 0.0503822491, 0.0258743446, -0.0127198799, 0.0126128439, -0.0191192683, -0.0078942254, -0.0591102354, -0.0495714583, -0.0375513434, 0.0135862483, 0.074534297, 0.0042326022, -0.0421979912, 0.029083265, 0.0308794565, 0.0438565798, 0.001464244, 0.0451362059, -0.0004377222, 0.0428533666, -0.0428072698, -0.0368980244, -0.0205269046, 0.0320425071, 0.0915415064, -0.0158115868, -0.014231503, 0.0072685145, 2.823e-7, 0.0604587235, 0.0561691187, 0.0271836761, 0.0331600271, 0.0357788466, 0.0310947597, -0.0301673971, -0.0001375264, 0.0019886799, -0.0492521524, 0.0071523483, 0.0209152978, 0.0489166602, 0.0209781453, -0.0172357354, -0.0057887184, -0.0277479421, 0.008668256, -0.0007635822, 0.0436740518, 0.053665299, 0.0706574544, 0.0097078104, 0.0014182463, 0.0226527173, -0.0074946992, 0.045243796, -0.0455675945, 0.0141763557, -0.01342694, 0.0054863095, 0.021147497, 0.0285775624, 0.0054884073, -0.0006106769, 0.0276717115, -0.0114921369, 0.0592959784, -0.054703176, -0.0122455265, -0.0530603975, -0.0201606899, 0.009864918, -0.0648576468, 0.0493627861, -0.0336675085, -0.0915897116, -0.0133293141, 0.0291265398, -0.0253636222, -0.0117085706, 0.0136900488, 0.004385537, 0.0238208156, 0.0043908898, -0.0228998084, -0.0139174378, -0.0679132566, -0.0388820954, -0.0190449785, -0.0496599004, -0.0120529775, -0.014412907, -0.0144179128, 0.0502530299, -0.0639287755, -0.0131432824, 2.753739239e-34, 0.0261097681, 0.012039532, 0.0153702982, 0.024669731, 0.0479774885, -0.0158801749, 0.0128597645, 0.0211538225, 0.0638512224, -0.0753503814, -0.0406964645 ]
http://arxiv.org/abs/2401.06088v1
http://arxiv.org/pdf/2401.06088v1
Autocompletion of Chief Complaints in the Electronic Health Records using Large Language Models
2024-01-11T18:06:30
2024-01-11T18:06:30
K M Sajjadul Islam, Ayesha Siddika Nipu, Praveen Madiraju, Priya Deshpande
cs.CL
cs.CL, cs.AI, cs.LG
The Chief Complaint (CC) is a crucial component of a patient's medical record as it describes the main reason or concern for seeking medical care. It provides critical information for healthcare providers to make informed decisions about patient care. However, documenting CCs can be time-consuming for healthcare providers, especially in busy emergency departments. To address this issue, an autocompletion tool that suggests accurate and well-formatted phrases or sentences for clinical notes can be a valuable resource for triage nurses. In this study, we utilized text generation techniques to develop machine learning models using CC data. In our proposed work, we train a Long Short-Term Memory (LSTM) model and fine-tune three different variants of Biomedical Generative Pretrained Transformers (BioGPT), namely microsoft/biogpt, microsoft/BioGPT-Large, and microsoft/BioGPT-Large-PubMedQA. Additionally, we tune a prompt by incorporating exemplar CC sentences, utilizing the OpenAI API of GPT-4. We evaluate the models' performance based on the perplexity score, modified BERTScore, and cosine similarity score. The results show that BioGPT-Large exhibits superior performance compared to the other models. It consistently achieves a remarkably low perplexity score of 1.65 when generating CC, whereas the baseline LSTM model achieves the best perplexity score of 170. Further, we evaluate and assess the proposed models' performance and the outcome of GPT-4.0. Our study demonstrates that utilizing LLMs such as BioGPT, leads to the development of an effective autocompletion tool for generating CC documentation in healthcare settings.
[ 0.0477086641, 0.0156190079, 0.0041022166, -0.0457575135, -0.025708504, 0.0321857072, -0.0152670927, 0.0095333345, 0.0379080102, -0.0392588452, 0.0173045807, -0.0646015853, -0.0012147189, 0.0160627104, 0.0171403009, -0.0432040617, 0.02605878, 0.0496456809, 0.0417887717, 0.0204254184, -0.0181219708, 0.0001460707, -0.0145795364, 0.0641595945, -0.0264211018, -0.0206056964, 0.0044129244, 0.0013797978, 0.0347200595, -0.0687203556, 0.0389600582, 0.0407391526, -0.0290817786, 0.0091506355, 0.0000020897, -0.0442314781, -0.0018935784, 0.0181992203, -0.0344857201, -0.0261933189, 0.0165171269, -0.0449019708, -0.0261592045, 0.0171504896, -0.0123575954, -0.0253931042, 0.0415898785, 0.0702424645, 0.0547086522, 0.0692199916, -0.0226806533, 0.0047637089, 0.017941419, -0.0338392369, 0.0367005318, -0.0069246283, 0.023118617, 0.0077029224, 0.0460387096, -0.0382565856, 0.0064090937, 0.0349218957, -0.003212048, 0.013050653, 0.0273634363, 0.0609514527, -0.0157730281, 0.0123700807, 0.0127918767, 0.064863801, -0.0214904472, -0.0088103963, 0.0301440731, -0.0043763327, -0.0142072067, -0.0193135198, -0.0425795652, 0.0198457427, -0.0561274812, 0.0145517839, 0.007669487, -0.0062770303, 0.026993705, 0.0122737484, -0.0152579099, -0.0583475232, 0.0230856463, -0.053873539, 0.0106951986, -0.0282439888, -0.0125280637, -0.0426967405, 0.0648962781, 0.0498034507, -0.0572340041, -0.0057275551, -0.0299967695, -0.0460804179, 0.0887120292, -0.0505838096, 0.0422209911, 0.0052224551, -0.026060598, 0.0079899747, -0.0128732109, 0.0207222961, -0.0448237099, 0.0281614661, -0.0391400568, -0.011421781, -0.0533793531, -0.0209843945, -0.0236758441, 0.0284822006, 0.0431506075, -0.0152261024, -0.0828776062, -0.0104140583, 0.0069028707, 0.0206130017, 0.0730444193, 0.0350375511, -0.0536839552, 0.0076185404, -0.0139449006, 0.0155051276, -0.0224534441, -0.0224887617, 0.0107182031, -0.011473652, 0.0114198672, 0.0178165752, 0.0257299114, 0.0052174642, 0.0204692949, 0.0468256138, 0.0011652978, -0.0242850222, -0.0079756631, -0.0300317183, -0.0367958583, -0.0256678145, -0.0093624918, -0.045336362, 0.008173354, -0.0113790985, -0.0233627912, -0.0299819857, 0.0208189078, 0.0288389772, -0.0350912437, 0.0347892679, -0.0763082728, 0.0018403815, 0.0603416972, 0.0132462867, 0.0386857167, -0.0152861457, 0.0479752608, 0.0007312698, -0.006217903, -0.023552658, 0.0569336005, 0.001250947, 0.0207354389, -0.0701705441, 0.0159775037, -0.0017002325, -0.0209235474, 0.0906334966, -0.0255765561, 0.0859251246, 0.0026217804, 0.0010879992, 0.0144202756, 0.0419283733, 0.0271522254, 0.0263484865, 0.0261095855, -0.0220100805, -0.0199503992, -0.0072416002, -0.0080884537, 0.0181376282, 0.0308933184, 0.0359777063, 0.0293798838, 0.001307909, -0.0493360758, -0.0585524328, -0.0291962828, -0.049858015, -0.0368045457, -0.0155272735, 0.0304061715, 0.0189789794, -0.0729612336, 0.0684229136, 0.0297361501, -0.0529706404, -0.0151466336, -0.0559178777, 0.0183138195, 0.1198445782, 0.0620748103, -0.0367417373, -0.0632986054, -0.0453690141, 0.0017541499, 0.0316432975, 0.0319796987, 0.0072435928, -0.0221591741, -0.0794356093, -0.0049896101, 0.0460779294, 0.0092102159, 0.0042972234, -0.0190696064, 0.0153604755, 0.0326536484, -0.0288900025, -0.0727611259, 0.0284383856, -0.0272529423, -0.0507419966, 0.0162157305, 0.0004491987, 0.042130366, 0.0360161178, -0.0028554166, 0.0460159443, 0.0283932425, -0.0460280813, -0.0515474826, 0.0115184374, -0.0498876311, -0.0227018055, 0.0071817106, -0.0226706639, -0.0110978773, -0.0064779641, -0.0245465804, -0.0500748977, -0.0523097664, -0.0626290143, 0.0138499867, -0.05059826, 0.0264131334, 0.0702688396, -0.0029280072, -0.0474368706, 0.0286856741, -0.0007042173, -0.0020593966, 0.0239014458, 0.0003802867, 0.0422714874, -0.0270538758, -0.0218457393, 0.0193603691, 0.0024406011, -0.0040710792, 0.0041898759, 0.0201991312, -0.0191743243, -0.0420101434, -0.1409220099, -0.006705652, -0.0062354016, -0.003899157, -0.014245132, 0.0250906013, -0.0032777856, 0.0046781106, -0.0397159085, -0.0357825346, 0.0325262472, 0.006073975, 0.0490488298, 0.0268499479, -0.0132856825, -0.0463223271, -0.0047739753, -0.0467382185, 0.0198285114, 0.009689142, -0.0374571234, -0.0254570674, 0.0162257906, -0.0103611685, 0.0145681333, 0.0006913649, -0.0512445122, 0.0377863385, -0.0095011154, 0.0600811355, 0.0478961207, 0.0403868519, 0.0120810457, 0.0210587494, -0.0015463022, -0.034483429, 0.0414036885, -0.0516636595, -0.0219678581, 0.030090794, -0.0292096939, 0.0292254183, 0.0602509044, 0.0303287357, 0.0057370868, -0.0530184023, -0.0431273095, 0.0193985272, 0.0372930095, -0.009550483, -0.0012504386, -0.046844054, 0.013552268, 0.0409534015, -0.0279521458, 0.0647882894, -0.0245081764, 0.036779575, -0.0629897788, 0.009013203, -0.048046153, 0.0198112614, -0.0131881498, 0.0019463256, 0.0328249745, -0.0414242186, 0.0285008084, 0.0340721272, -0.00313686, -0.0484424904, 0.0118465424, -0.0059898258, 0.0151615869, 0.0260777697, -0.0254815705, -0.056520991, -0.0114420597, -0.0086304052, 0.0057093976, 0.0236821137, 0.009878817, -0.0336869359, 0.0387906507, -0.015786197, 0.0577560104, 0.0058549209, -0.020508077, 0.0050620027, 0.0049181841, 0.0313282609, 0.0145854456, 0.0090138344, -0.0033360056, -0.0005032377, 0.0453247614, 0.0260642953, 0.0174950119, 0.0052585672, -0.0216729492, -0.0350700691, -0.0597241893, -0.0186145287, 0.0379248001, -0.0048708031, -0.0626422092, -0.0016512781, 0.1302525848, 0.0380500518, -0.0637816638, 0.0243902039, -0.0038839199, -0.0175890531, -0.0288546141, 0.0207157042, -0.0542713404, -0.0049165469, -0.0130353048, 0.0221284293, -0.0216272417, -0.0126572298, 0.003473503, -0.0521289967, 0.0434016064, 0.0069851922, 0.0102737993, -0.0570017546, -0.0086624334, -0.0241700951, 0.0111999512, -0.0006833976, -0.0034225748, -0.0113316616, -0.0048266412, 0.0084334295, -0.0892743841, -0.0735930502, 0.0100506647, -0.0357206538, 0.0535407886, 0.0870288536, 0.0564612783, -0.0006800699, -0.0284168459, 0.0317973047, -0.0007633358, 0.0199361462, -0.00969736, 0.0564614348, -0.0027955929, -0.0088397553, -0.0472794734, 0.0399439856, -0.0248015635, -0.0173087642, 0.0225714557, 0.0636170655, -0.0511591397, -0.021297399, -0.0503226295, 0.022986168, 0.0299723558, 0.0637196451, 0.0288510807, -0.0063817203, -0.0515289269, 0.0281001236, 0.0510516278, -0.0310366284, 0.0163839553, 0.0179302748, -0.0226805974, -0.0415844806, -0.0735440627, -0.0471573137, 0.0585178696, -0.0035458088, 0.0143435542, 0.0137311071, 0.0242441501, 0.0155241257, -0.0472317114, 0.0108107869, 0.0293631274, -0.0137213506, -0.0828925222, -0.0465644412, 0.0438058898, 0.020577943, -0.0072381268, -0.0024000129, -0.0260551814, -0.0179999582, -0.0033682587, 0.0584708042, 0.0161009878, 0.0062020137, 0.0094361808, -0.033683423, 0.0022769854, 0.0624814704, -0.0113352574, -0.0516159087, -0.0018465038, 0.0123229045, -0.0137711223, 0.015291838, -0.0205762368, 0.0410685353, -0.0144637935, 0.0545108467, 0.0214189533, -0.0253195073, 0.0185244065, 0.0284772404, 0.0313308202, -0.0442929193, -0.0136361113, -0.0566177741, 0.0250210501, -0.0232222229, 0.0285808444, -0.0252626352, 0.0201237015, 0.0101208929, -0.0111167328, -0.0224969424, -0.0046353801, -0.0757003576, -0.0155047327, -0.0671575069, 0.0275954232, -0.0616032071, 0.0108104432, 0.0267408229, -0.0408506095, -0.0321875066, 0.0280615948, 0.0269829519, 0.0183855351, -0.0097611109, 0.0515402257, -0.0102811186, 0.0536640398, -0.0043716496, 0.0566964559, -0.0235095546, -0.0471100435, -0.0484696478, 0.0190898813, 0.0518212393, -0.0040352154, 0.0111531224, -0.0704130679, 0.0134150414, -0.0103829652, 0.0502424538, 0.0042386437, 0.0075829141, 0.0224472936, 0.0002083229, -0.0100386795, -0.0570576303, 0.0976404324, 0.0059196521, 0.0364484489, 0.0040353346, -0.0372370072, -0.0569024421, -0.0186937079, 0.0034931689, 0.0003317819, -0.0423083901, -0.0075677065, -0.0432396717, -0.0099255471, 0.067822367, -0.0045181615, -0.0261979029, -0.0136432284, 0.0685652867, 0.0331188142, -0.0160086285, -0.0152415093, -0.0022682447, 0.0495511033, 0.0007148, -0.0290599614, -0.006228345, -5.848762509e-33, -0.0106756967, -0.0433580056, 0.0313834101, 0.0143418564, -0.0079084756, -0.0121043036, -0.0526623353, -0.0166306142, 0.028822761, 0.0075105284, -0.0409812108, -0.0006708159, 0.0184597019, 0.0541910604, 0.0213027094, -0.0355820581, 0.0530979782, 0.0360346995, 0.0000285514, 0.0585468858, -0.0276754349, 0.0696982592, 0.0526266582, -0.1035284102, -0.0016268507, -0.0043488313, 0.0106960339, -0.032107275, -0.0107017532, 0.0685751885, -0.0343499444, 0.0494731516, 0.0352406837, -0.0091100791, -0.0034523646, 0.0146979392, -0.0581669472, -0.0220398214, -0.0000352361, -0.0467160679, -0.0118029816, -0.0878946781, 0.019918805, -0.0137710217, -0.026723763, 0.0088411225, 0.0398884602, -0.0260743275, -0.0129588647, -0.0822856203, -0.037298616, 0.0421795361, 0.0040555028, -0.0187927596, -0.0202315301, 0.0064576869, -0.0463650376, 0.0447121821, -0.027975319, -0.010369801, 0.0572142005, 0.0264602453, 0.0071220761, -0.0381377153, -0.0164089818, 0.0413665846, 0.0213221721, 0.026700912, -0.0596035011, 0.0199090783, -0.0460463315, 0.0336258449, 0.0495701656, 0.0409572572, 0.028147554, -0.0380007885, -0.0736435577, 0.073610343, -0.0331989191, 0.0501869917, 0.0508202836, -0.0410193875, -0.0529648922, -0.0185803715, 0.0134300068, 0.0201146603, -0.0027290927, -0.0184165481, 0.0506743528, 0.0089894608, 0.034433011, -0.0266799759, -0.0236290973, 0.0103060929, 0.0235229898, 0.0018608085, 0.03085595, 0.0121794883, -0.0354392119, -0.019296281, -0.0574810803, -0.024980871, 0.0171303824, -0.0063103875, 0.0295083486, 0.0341050103, 0.0133482171, 0.0000125229, -0.0558343828, 0.0053176461, 0.0400224403, 0.0085439356, 0.0024248427, 0.0178739838, 0.0069555533, 0.0155885238, 0.0001586931, 0.0566545501, -0.0121962465, -0.0141257858, -0.0510142297, -0.057863906, 0.0467564054, 0.0035973317, -0.0229636617, 0.0179926828, -0.0337008908, 0.0644983128, 0.0168215185, -0.0452486165, 0.0031044446, 0.0046921079, 2.765e-7, 0.0778149739, 0.0663707107, 0.0404538661, -0.0315188617, 0.0180477928, -0.0197630245, 0.0219071899, 0.0165638626, -0.003147522, -0.0102033094, 0.0685880259, -0.0275818743, 0.0429604128, 0.0100329313, -0.0871084034, -0.0183127355, -0.0912593529, -0.0333544053, -0.0506421402, -0.0420384407, 0.0640912876, 0.0606091991, -0.0550760962, -0.0206746347, 0.0393163785, 0.0163268633, 0.058097925, -0.055258818, 0.0051354021, 0.0430730432, 0.0435394421, 0.010908436, 0.0068381731, 0.0274428967, -0.0112895491, -0.0252499022, 0.0102243675, 0.0664717853, -0.0184958987, -0.0290784482, 0.0433530025, 0.0107217394, 0.0120249204, -0.0346646979, 0.0382823348, -0.0634021834, -0.0172049943, 0.0110006556, -0.0055130874, -0.0063445671, 0.0650969818, -0.0382590294, -0.0364663638, 0.0316366404, 0.0167441349, -0.0007884015, -0.0017421292, -0.0761955902, -0.0119664893, 0.0441836752, -0.0517661721, -0.0105371587, -0.0043635271, -0.0474248752, 0.0285757817, -0.0432167165, 0.0054986272, 2.591653262e-34, 0.0587515533, -0.0155795701, 0.0137618482, 0.0152475592, 0.0279646255, 0.0065692309, 0.034871418, 0.0376462936, 0.0152899222, -0.089014627, -0.0453060754 ]
http://arxiv.org/abs/2401.06081v2
http://arxiv.org/pdf/2401.06081v2
Improving Large Language Models via Fine-grained Reinforcement Learning with Minimum Editing Constraint
2024-01-11T17:58:41
2024-06-17T05:52:06
Zhipeng Chen, Kun Zhou, Wayne Xin Zhao, Junchen Wan, Fuzheng Zhang, Di Zhang, Ji-Rong Wen
cs.CL
cs.CL
Reinforcement learning (RL) has been widely used in training large language models (LLMs) for preventing unexpected outputs, eg reducing harmfulness and errors. However, existing RL methods mostly adopt the instance-level reward, which is unable to provide fine-grained supervision for complex reasoning tasks, and can not focus on the few key tokens that lead to the incorrectness. To address it, we propose a new RL method named RLMEC that incorporates a generative model as the reward model, which is trained by the erroneous solution rewriting task under the minimum editing constraint, and can produce token-level rewards for RL training. Based on the generative reward model, we design the token-level RL objective for training and an imitation-based regularization for stabilizing RL process. And the both objectives focus on the learning of the key tokens for the erroneous solution, reducing the effect of other unimportant tokens. The experiment results on mathematical tasks and question-answering tasks have demonstrated the effectiveness of our approach. Our code and data are available at https://github.com/RUCAIBox/RLMEC.
[ 0.074078165, 0.0578190871, 0.0068438966, 0.0242414009, -0.0481270961, 0.0115027968, -0.0363999531, -0.0057480019, -0.0518262535, -0.0501163676, -0.021468021, 0.0038254159, -0.0204666574, -0.0006358762, 0.0447579063, -0.0607422553, 0.060676977, -0.0444720797, 0.0473026447, -0.0111884186, 0.0223795976, -0.0207551438, 0.0067985039, 0.032687299, -0.0419659354, -0.0217100568, 0.0135406991, -0.0026112767, 0.0094407676, 0.009452397, 0.0131454403, 0.0510830656, 0.0332756788, 0.0751144066, 0.0000020977, -0.0590773858, -0.0402521603, 0.0095523447, -0.0231131129, -0.0228759907, 0.018611921, -0.0258434601, -0.0089344392, 0.0097892769, -0.0283092707, -0.0083032744, 0.0567443147, 0.0975801647, 0.0784954652, 0.1179173067, 0.0206599254, -0.0277987961, 0.0432219915, -0.0347061493, 0.0654571056, -0.063152574, 0.0353910625, 0.0384520181, 0.0149479415, -0.0031985247, -0.0631456971, 0.0127803758, 0.0393992476, -0.0351289175, -0.0040721362, 0.0307807215, -0.0245010499, -0.0118752224, -0.0032764792, 0.0309683792, -0.0375392139, -0.0323525853, -0.0060268003, 0.0048078699, 0.0302828066, 0.0043797269, -0.0391832776, 0.020620212, 0.0214410778, 0.0062425393, 0.0345793851, -0.0589936487, 0.0193821862, 0.0075140768, -0.0233076327, 0.049905505, 0.0101293372, -0.0760863349, -0.0395562649, -0.0082487818, -0.0386821404, -0.0576970652, -0.0336421914, 0.0350187719, -0.0760378316, 0.0099091521, -0.0574861057, -0.0399019085, -0.0037488211, 0.023311723, 0.0228000805, 0.0018170433, 0.0398824364, 0.0560410619, -0.0464014933, 0.0696813911, -0.0109336702, 0.0641516149, -0.0110919205, -0.0010367007, -0.0313684382, -0.0104081938, -0.0586882941, 0.0695238337, -0.0058668731, -0.0080578579, -0.0413773879, 0.0164082553, -0.0319446512, 0.0641427189, -0.0145336837, -0.0015824591, -0.0326298364, -0.0556658693, -0.0148847699, 0.0107735712, -0.0383604579, 0.0165504757, 0.0282199085, -0.0184267145, -0.0284572691, -0.0086310729, 0.0203369968, -0.0394108742, -0.0047899005, 0.0751990974, -0.0221783649, -0.0145260049, -0.015816804, -0.0365001485, -0.0135250799, -0.0615685694, -0.0229092073, -0.0964490026, 0.0331513248, -0.0272984188, -0.0096246656, -0.0379666388, 0.0252597593, -0.0064033233, -0.0051100943, 0.0526745915, -0.0021181928, 0.0034581004, 0.0232820641, 0.0020539931, -0.0227878578, 0.0444799773, 0.0437265411, 0.0119148642, 0.0143457577, -0.009131195, 0.0379355401, 0.0260049757, 0.0318900086, 0.0089668753, -0.0065016896, 0.0105013428, 0.0227938015, 0.0669313893, 0.0314197242, 0.0462238304, -0.0497500524, 0.0107990745, 0.0589201897, 0.0251592137, -0.0186913423, 0.0104594473, 0.0234593209, -0.010176979, -0.0124285799, 0.0110757649, -0.064995341, 0.0258526765, -0.0243223347, 0.0276187658, 0.0177325718, -0.0435642861, -0.0057493029, -0.0572429486, 0.0121565554, 0.0064515006, -0.0240576956, -0.0057783215, 0.0463487431, 0.0193016045, -0.0376039632, -0.0104590524, 0.0246260334, -0.0103602335, 0.0132399052, -0.0641333759, 0.0604498759, 0.0309371203, 0.054211773, -0.0573973656, -0.0401333757, -0.0743863955, -0.0061950879, 0.0334197693, 0.0503194742, -0.0258788858, -0.0439197496, -0.0028794573, -0.0222080722, -0.0382140949, 0.0235300232, -0.0062797512, 0.0437688082, -0.0283137225, -0.0019814812, -0.0210073814, -0.0240327269, 0.0341913663, -0.0096733924, -0.0421021059, 0.005087154, 0.0190418214, 0.007047351, -0.0486631542, -0.0273869634, 0.0332422256, -0.0005866209, -0.0387056172, -0.0310650412, -0.0322500654, -0.0328573436, -0.0419622809, 0.0465571508, -0.0205266643, -0.0380165875, 0.038138628, -0.0616735294, -0.0334219746, 0.0021791197, -0.0563966893, 0.0458642319, -0.0003760355, -0.0006970434, -0.0004559695, -0.025503289, -0.0476543978, 0.0451155081, -0.0124470741, 0.0374901854, -0.0098789651, -0.0089445729, -0.0310499128, -0.0530640446, -0.0195261631, -0.0513220727, -0.0122547857, 0.0410528928, 0.0390899293, 0.0504257977, -0.0384701565, -0.0593752265, -0.0152796414, -0.0120032523, -0.0275483746, 0.0094522852, 0.0204262082, 0.0065849815, -0.0131490137, -0.0258896407, -0.0180552118, -0.0253622569, 0.013682019, -0.0072807707, 0.0339882262, 0.0174233932, -0.0173932277, -0.0367617421, 0.0003505205, 0.0042116102, 0.0146360202, -0.0118562533, 0.0352845415, -0.0696444437, 0.0031638453, -0.026593918, 0.0306703635, -0.0001851864, -0.0129953511, -0.0108018229, -0.0302795637, 0.0793074369, 0.0918965563, 0.0016060005, 0.0324902274, 0.0004110985, 0.0106612723, -0.0664379373, 0.0339528099, -0.0240693782, -0.0332661867, -0.0259014573, -0.0108017232, 0.0108946413, 0.0717234835, -0.0164250452, -0.0136977453, -0.0390411653, 0.0683876351, -0.0173655637, -0.0517034568, -0.0166819245, 0.0149930269, -0.0297061317, 0.0029139498, -0.0586761907, -0.0517558865, 0.0984521806, 0.0105568217, 0.0213028323, -0.0301882196, 0.0026931884, -0.0175702199, 0.0308981836, 0.0167803187, 0.0458124056, -0.0158644393, -0.0256033111, -0.0854282156, -0.0198748335, 0.0105202114, -0.0049408721, 0.0671460479, -0.020327637, 0.0057992684, -0.0138318837, -0.0633478388, -0.044598043, -0.0197716709, -0.0127552077, 0.0174237713, 0.0008096228, -0.0187580846, -0.0322953053, -0.0252147857, 0.0529662967, 0.0333341025, -0.0463316254, -0.0213313773, -0.0296425596, 0.018231757, 0.0874623358, 0.0235312264, 0.0253893491, -0.0447457209, 0.0182899274, 0.0356590077, 0.0442731194, 0.0042815791, -0.0034741589, -0.0191743579, 0.0044190292, -0.0559400953, -0.0019173898, 0.0214316081, 0.0459523499, -0.083056666, -0.0584444776, 0.1071079969, 0.0317118801, -0.0080009932, 0.0020894883, -0.053570576, 0.0435706601, 0.0174543932, 0.0623364821, -0.0615784451, -0.0345307849, 0.0254310928, 0.0132998591, 0.0164601989, -0.0349115729, 0.0324282534, -0.1314636618, 0.0329966508, 0.0046903137, -0.0725610405, -0.0475157239, -0.0058214027, 0.0178724267, 0.0162362214, 0.0150666274, 0.0444156006, -0.012596393, -0.0118069965, 0.0309614502, 0.0275440365, -0.0245998353, 0.0094334008, -0.0578463227, 0.0520522818, 0.0668233633, 0.0179464724, -0.0233159922, -0.0101789786, 0.0270540491, 0.0773319378, -0.0186874364, -0.0027839283, -0.0097357789, -0.0091696046, -0.0131484531, 0.0207603909, 0.0620041564, 0.0141049698, -0.0246981848, 0.004802512, 0.1157488748, -0.0052106171, -0.0041507171, 0.0099279685, -0.0311693847, 0.0044104471, 0.0383404419, 0.029883828, -0.0402204208, -0.062622726, -0.0410946943, -0.0203516353, -0.0671428293, -0.0018822002, -0.0254569352, 0.0148522556, 0.0331673734, -0.0629014671, -0.0324860848, 0.0419140756, 0.0069997786, 0.0025730755, -0.0215645116, -0.0045202104, -0.0214117039, -0.0285948366, 0.0037884528, -0.0707802176, 0.0321355537, -0.0743674561, 0.0066693458, -0.0273936093, -0.037231382, -0.0314262696, -0.0088896025, -0.0751454681, -0.0468992405, -0.0163794905, 0.0837054476, 0.0070371446, 0.0674490258, -0.0102432221, -0.066005215, 0.0335215293, 0.0300045982, -0.034295775, 0.0181549899, 0.0177975614, -0.0034970241, 0.0013788824, 0.0539207123, -0.0472853445, -0.004384059, 0.0510343462, 0.0609649606, 0.0050620348, 0.0292965602, 0.0504502431, -0.000759872, -0.0068676183, 0.0028026628, 0.017877914, -0.0386881717, 0.0414423458, -0.0146138202, -0.0457291901, -0.0117568448, 0.0110936714, 0.0091116317, 0.0013469012, 0.029527884, -0.0221090559, 0.0174914449, 0.057815522, -0.0239059739, 0.0030472924, 0.0307994522, 0.0058443653, 0.0575763807, 0.0193276368, 0.0080723176, 0.0018981401, 0.0287389345, 0.0333351642, -0.026826553, 0.0538968891, 0.0573433302, 0.0082299002, -0.0317196399, -0.008756713, -0.0380374864, -0.0549095534, 0.0021614423, 0.0575829893, 0.0637173876, 0.0227245949, 0.0001967826, -0.0253665354, -0.0413562097, -0.0159573685, 0.037098892, -0.009826839, -0.0360147916, 0.047584679, 0.0311279725, 0.0226386413, -0.0073241321, 0.0755487457, -0.0067614489, 0.0696671605, -0.0067283981, 0.0211084466, -0.0451289974, -0.0102028279, 0.0225196872, -0.0061545339, -0.0156678259, 0.0133421542, -0.051581867, -0.0678787977, -0.0298949741, 0.0552415289, -0.0105054695, 0.0037875597, 0.0226632636, 0.0460856445, -0.0139604695, -0.0153688686, -0.0390138403, 0.0188351739, 0.0264592301, -0.0422082692, -0.0286081433, -6.30739265e-33, -0.0145741208, -0.0104663977, 0.0384392291, -0.0006496036, -0.0178474262, 0.0035739618, -0.0181419067, -0.0035981431, 0.0206163097, 0.0341054089, -0.0185552873, -0.0074445307, -0.0243466813, 0.0402467102, 0.0074525904, -0.0007204621, 0.0462325476, -0.0015502321, -0.0499353893, 0.0005892609, 0.0096305804, 0.0224478859, 0.0602580011, -0.0162272993, 0.0241245888, 0.017322138, -0.0194846112, 0.0524146035, -0.0509142615, 0.0587244295, 0.0137848891, 0.0098585347, 0.0092167547, -0.0383707024, -0.0265636668, 0.0200659372, -0.056855306, -0.028130481, 0.0199971292, 0.0006294527, -0.0784702376, -0.0358026512, 0.0571591705, -0.0088041164, 0.0023347435, -0.0096283695, 0.0091403536, -0.0100288466, -0.0115928398, 0.0091283796, -0.0877754837, 0.0012302937, 0.0131173627, -0.044252079, -0.0162741523, -0.0034537623, -0.0027654446, -0.0141793704, -0.0114470981, -0.0039341631, 0.0363321863, 0.0488820076, 0.0222440176, 0.0194826536, 0.0026827191, 0.0205570869, -0.0160271339, -0.0031631549, 0.0181309022, 0.0123976078, 0.0122640794, 0.0377854221, 0.0424784161, 0.0365892686, 0.0214642286, 0.0159788318, -0.0392192528, -0.0209708121, -0.0354083069, 0.088305369, 0.026449101, 0.0304399692, -0.0074337255, 0.0158004612, -0.0878081471, 0.0416944697, -0.0336177982, -0.0093238717, 0.0332738124, 0.0526194647, -0.0261653196, -0.0248581041, 0.0132425623, -0.0493254811, -0.0259382315, 0.0003156354, -0.0076546106, 0.0213414412, -0.0247760862, -0.0047720033, -0.0531044193, -0.0070793596, 0.0176879205, -0.0420364626, 0.0025033613, 0.0194797404, 0.0824238956, 0.0331424922, -0.067171067, 0.0205701068, -0.0332554877, 0.0512625575, -0.0006204287, 0.0015318629, 0.0405042619, 0.0234592501, 0.0053324909, 0.0122473836, 0.0321999937, -0.0299710352, -0.0215662811, 0.0409361795, -0.0110388882, 0.0072335717, -0.0240110587, 0.0351845175, -0.0412048362, 0.0142827285, 0.0034298431, -0.0535355136, 0.00242589, 0.0050200629, 2.859e-7, 0.0276902001, 0.0675054044, 0.0372687504, 0.0361361839, 0.0279324874, 0.0529468581, -0.0118837375, 0.0228983313, 0.0186777469, 0.0301009379, 0.0143939853, 0.0198159087, -0.0013839694, 0.001441721, -0.0851626694, 0.0237283558, -0.0768633708, 0.0104859686, -0.0299487542, -0.0335450768, 0.0285623167, 0.1074135303, 0.0402138717, -0.0218703691, -0.0128362346, -0.0345293991, 0.0780757368, -0.0120847961, -0.0138634257, 0.0401633643, -0.0101842936, 0.0241936576, 0.039166972, -0.0176516138, 0.0025244502, -0.0014251649, -0.0177829601, 0.0666678399, -0.0320463702, 0.0422234163, -0.0139302965, -0.0031220524, 0.0086187394, -0.0573395267, 0.0412674695, -0.07528916, 0.01250837, -0.0431662686, 0.0171708465, -0.0051130261, -0.0103053953, -0.0434429161, -0.030582197, 0.008226742, 0.0285165999, 0.0450102501, -0.0005769251, -0.0427647382, -0.0134136537, 0.0112923551, -0.0037212851, -0.0262454338, -0.0305431802, 0.0210250523, -0.0095376018, -0.0795582905, -0.0306946784, 2.767370152e-34, 0.0218126848, -0.0267024301, 0.009327976, 0.0297439918, 0.0370867103, 0.0053184982, -0.052324526, 0.0050607952, 0.0346649326, -0.0241700374, -0.046100717 ]
http://arxiv.org/abs/2401.06072v2
http://arxiv.org/pdf/2401.06072v2
Chain of History: Learning and Forecasting with LLMs for Temporal Knowledge Graph Completion
2024-01-11T17:42:47
2024-02-14T15:49:21
Ruilin Luo, Tianle Gu, Haoling Li, Junzhe Li, Zicheng Lin, Jiayi Li, Yujiu Yang
cs.AI
cs.AI, cs.CL
Temporal Knowledge Graph Completion (TKGC) is a complex task involving the prediction of missing event links at future timestamps by leveraging established temporal structural knowledge. This paper aims to provide a comprehensive perspective on harnessing the advantages of Large Language Models (LLMs) for reasoning in temporal knowledge graphs, presenting an easily transferable pipeline. In terms of graph modality, we underscore the LLMs' prowess in discerning the structural information of pivotal nodes within the historical chain. As for the generation mode of the LLMs utilized for inference, we conduct an exhaustive exploration into the variances induced by a range of inherent factors in LLMs, with particular attention to the challenges in comprehending reverse logic. We adopt a parameter-efficient fine-tuning strategy to harmonize the LLMs with the task requirements, facilitating the learning of the key knowledge highlighted earlier. Comprehensive experiments are undertaken on several widely recognized datasets, revealing that our framework exceeds or parallels existing methods across numerous popular metrics. Additionally, we execute a substantial range of ablation experiments and draw comparisons with several advanced commercial LLMs, to investigate the crucial factors influencing LLMs' performance in structured temporal knowledge inference tasks.
[ 0.0458068475, 0.0413727574, -0.0210001413, 0.0175356716, -0.050030712, -0.0061863307, -0.0364427045, 0.0076623568, 0.0785648674, -0.0165512711, 0.0467960089, -0.0124899969, 0.0020379818, 0.0350639671, -0.0160052069, -0.0107876807, 0.0294487737, -0.014572449, 0.0088439696, -0.0112011703, -0.0359103531, 0.0187399052, -0.004212149, 0.0090189753, -0.0066035483, 0.0089072613, -0.0301029775, -0.0110177835, 0.0287419427, -0.0275417157, -0.0255583152, 0.0045627789, 0.0169262197, 0.023979295, 0.0000019898, -0.0399251357, -0.0004194225, -0.017277278, -0.0360588655, 0.0134547856, -0.0316386558, 0.0120632797, 0.0268566161, -0.0090245483, -0.0560331456, 0.0023697689, -0.0095927399, 0.0272631217, 0.0065700565, 0.0657139793, 0.0090234634, -0.0074042724, 0.0423480533, -0.0351030231, -0.0102765933, -0.0548056737, 0.0557354428, 0.0224911384, 0.0261503235, -0.0176320206, -0.0088103097, 0.0411293991, 0.0042918171, 0.0128286155, 0.0048637865, 0.0385099687, 0.0202060528, 0.0376543477, 0.0024591421, 0.0492388681, 0.0689652562, -0.0271632448, 0.0198587868, 0.0016716535, -0.0117629599, 0.0260456875, -0.0394964702, -0.0180600658, -0.0305391625, 0.0312574469, 0.0336370282, -0.0181778073, 0.0765562207, 0.0195510685, -0.0186269637, 0.1065842882, 0.0006014578, -0.0156015428, -0.0346618146, 0.007977345, 0.0129794506, -0.0420733094, 0.0083120251, 0.0572871529, -0.0430424847, 0.0133066876, 0.0195425116, 0.0454239063, -0.0084403558, -0.0117963096, -0.0227546487, 0.0154031701, 0.026957348, 0.0684505478, -0.0433470607, 0.033488296, -0.03341043, -0.026279591, -0.0237907339, -0.0443005338, -0.0741091669, -0.0002094847, 0.0239820369, 0.0305489227, -0.012250633, 0.003340119, -0.042861212, 0.0024793607, -0.0123962928, 0.0261709597, 0.0099734087, -0.0094887875, -0.0029031713, -0.0506690107, -0.066102542, 0.0280419141, 0.0024659408, 0.0302132126, -0.0410797969, 0.0185670666, -0.0111458031, -0.0129637364, 0.0018143399, -0.0169886164, 0.0153755331, 0.0636168867, 0.0112118153, 0.009200085, -0.0860943347, -0.0403685458, -0.0240394231, -0.0454021282, 0.037678089, -0.0575761534, 0.0149123073, 0.0361808203, -0.0049773157, -0.0057803662, 0.0095429644, -0.0255486481, -0.0774470791, 0.0142945107, -0.0018900221, 0.0353030227, -0.0086025223, -0.0162322093, 0.0141202519, 0.0268646199, 0.0244991928, 0.0303285085, 0.0150393778, 0.0204237476, -0.0386383161, 0.0425653532, 0.0326989852, 0.0208777227, -0.0477683432, -0.0039520436, -0.0280133113, 0.0010207144, 0.0235382393, 0.0106043676, -0.0113585545, -0.000517467, 0.0296538714, -0.0185797196, -0.0083830738, 0.0042910292, 0.0650864318, -0.0387514718, -0.0011757711, 0.0053625964, -0.0438523777, 0.0052014668, -0.0464567989, 0.0237575825, -0.0096048219, 0.0063939071, -0.0063496581, -0.0264758728, 0.0121971825, -0.0074500414, 0.0165499244, 0.0072325845, 0.1070306525, -0.0018442206, -0.0516372696, 0.062250562, 0.0416027158, 0.0178067721, 0.0163641535, 0.0157940127, 0.0041411705, 0.0789062157, 0.0631446913, -0.025268754, -0.0202569552, 0.0150859719, 0.0228364188, -0.0117764771, 0.0201744512, -0.023748314, -0.0188358929, -0.0221908782, -0.0522783883, 0.0218751654, 0.0211454686, -0.0133431479, 0.0482266285, 0.0274051726, 0.0197351761, -0.0733576193, 0.0204850417, 0.0168371014, -0.0653632656, 0.0123993009, -0.0182541143, 0.0140460534, 0.0391130447, 0.0354701765, 0.0180992186, 0.004624323, 0.0567251258, -0.0349544361, -0.0460337922, 0.009167701, -0.0179147143, -0.0329052731, 0.0529992171, -0.0240040943, -0.0327017866, 0.0026753154, -0.0421041623, -0.0572961457, 0.05995626, 0.0097102402, 0.0859891847, -0.0064846212, 0.015901491, -0.0061219675, -0.0529471859, -0.0175999533, 0.1013528481, -0.0297226105, 0.0208184123, 0.0163509455, -0.0490358323, 0.0001174732, 0.0112056015, -0.016162375, -0.0161190629, 0.0100337407, -0.0278399307, 0.0285210386, -0.0419716947, -0.0583296232, 0.0053740931, -0.0987610966, 0.0090297367, -0.0006948353, 0.0131230038, -0.0187447499, -0.0232215244, 0.0075534135, -0.0258658081, 0.0266119335, 0.0194875337, -0.0147015033, -0.0055089463, 0.0175679624, 0.0312948897, -0.0302051511, -0.0203743391, -0.0225856677, -0.0515809469, 0.063551873, -0.0052846149, -0.0484098122, -0.0023679524, 0.0088409595, -0.0444974191, 0.0224499721, -0.0655301362, 0.0046290909, -0.0008310975, -0.041271735, 0.0355575718, 0.024987394, -0.0315411575, -0.0301868357, 0.0532773025, -0.0369750112, -0.0243236758, 0.0032019084, -0.0608793348, -0.0043810378, -0.07431297, -0.0122302203, -0.0685710832, 0.0364135131, 0.0231085606, 0.0146420998, -0.0730166212, -0.0283898395, -0.0161104798, 0.0243967809, -0.0083995303, -0.0358354338, -0.0045010569, 0.018765619, -0.0309372433, -0.041357439, 0.0654455796, 0.0065218727, 0.0295326356, 0.0540033244, -0.0198513549, -0.0429974869, 0.0990525037, 0.0276264958, -0.0064446898, 0.0063958806, -0.0201598834, -0.0584817007, -0.004064986, 0.036681287, -0.0070178146, 0.0131591875, -0.0573560335, 0.0176844448, 0.0313116014, 0.0096168835, -0.0200435054, -0.0418229736, -0.0661577955, 0.004568201, -0.0144473268, -0.0011363967, -0.0292329267, -0.0092993015, -0.0276975743, -0.0126215899, 0.0094785588, -0.0018887192, -0.027235603, 0.0248369798, 0.0372396819, -0.0612491146, 0.0157448556, -0.0017190655, 0.0089035193, 0.0024514908, 0.0531418137, -0.0249473136, -0.0367752463, -0.0079170763, -0.0051113092, -0.0270859376, -0.0556236133, 0.013458604, -0.020282343, -0.0510373972, 0.0399215668, 0.1134370118, 0.0278645195, -0.010279539, 0.004507503, 0.0401685312, -0.0099616144, 0.036985945, -0.0238958392, -0.0867045447, 0.0004303075, 0.0180482715, -0.0107864663, -0.0014669066, -0.0846014991, -0.0054963734, -0.1165792868, 0.0034669223, 0.0249256175, 0.017999595, -0.0432509631, -0.0827963874, 0.0120643675, -0.0091592157, -0.0603548661, 0.0214392114, -0.0122762173, -0.0102577582, 0.0049028019, -0.0499843769, -0.0409960747, 0.0543113463, -0.0031050553, 0.0649846569, -0.0155084077, 0.0428984687, -0.0136611545, 0.023634322, 0.0224705767, 0.0128142349, 0.0083315326, -0.022610398, 0.03501679, 0.0288321041, 0.0158777609, -0.0303202439, 0.0298853442, -0.0126116918, -0.0087306574, 0.0183453392, 0.1373468041, -0.0061640004, -0.0397594757, 0.0046233237, -0.0203430615, -0.0079246592, 0.077683948, -0.0141848791, 0.0118208472, -0.0291723721, 0.0172618888, -0.0073438138, -0.0045755156, -0.0172302686, 0.0294794161, -0.0424818061, 0.0384352319, -0.0274417587, -0.0295078736, 0.0068032611, 0.0094844941, -0.0027200242, 0.0725748092, 0.0393797681, -0.02903511, -0.0601816401, 0.0081987586, -0.0460435525, 0.0235363394, -0.0196993928, 0.0327300765, -0.0112540228, -0.0135719348, -0.017221028, 0.0470508821, -0.0851454437, -0.0585596003, -0.0119618829, -0.0088353688, 0.0187922437, 0.0894861966, -0.0201933011, 0.0059183287, 0.0596183874, 0.0144344512, 0.0049167518, 0.0025971439, 0.0040487475, -0.0008519234, -0.004620777, 0.0548455529, -0.0698157325, -0.0058507016, 0.0085049327, 0.0462337583, -0.0370605551, -0.0217521694, 0.0048607751, 0.0212807544, 0.0591851734, -0.0151058072, -0.0261251386, -0.010301061, 0.0126578752, -0.0192208346, -0.0216607023, -0.0123462575, 0.0049216324, 0.0244025011, -0.0013089904, -0.0016767683, -0.0511382185, 0.0191891473, 0.0401548669, -0.0556136221, -0.0173609331, 0.0188917127, 0.0015453578, 0.0741222948, -0.0065648598, -0.0039909282, 0.0250046123, 0.0063042361, 0.005197003, -0.0086473487, 0.0056389701, 0.0182643421, 0.019092666, -0.0587006323, -0.067838639, -0.1020838246, -0.0149981463, 0.0168017466, -0.0179245416, 0.098963201, -0.0269255023, 0.0427197739, -0.0337413363, -0.003657748, 0.0002166893, 0.0418007523, 0.0250170901, -0.0357870832, 0.0193395484, 0.0096941274, -0.0361734442, 0.1047919691, 0.0781636015, 0.0446617343, 0.0898180008, 0.0233523026, -0.0738891959, -0.008492888, -0.0757302344, -0.0121840173, 0.002081373, -0.0230962802, 0.0110126082, -0.0795380175, -0.0683129206, 0.0220343061, -0.027702501, -0.0328570418, -0.0108639235, -0.0140652647, 0.0473054536, 0.0399803221, -0.028218165, -0.0546157435, 0.0308873225, 0.0194355752, -0.010427041, -0.0413133055, -6.084593859e-33, -0.0052544079, -0.044028081, 0.0439908095, 0.013345235, -0.0474254601, 0.0237372126, -0.046056252, -0.0202885773, -0.0306584761, 0.0301569663, 0.0012742562, 0.0205781125, 0.0084218895, -0.0119730067, 0.0292417742, 0.0036761225, 0.0515032522, 0.0265836809, 0.0336235985, 0.0256218463, 0.0738018751, 0.0236461628, 0.0512927324, -0.0637600273, 0.0381217413, -0.0061629349, 0.0121101737, 0.0461674705, 0.0031840014, 0.0431193449, 0.0260777548, 0.0456707962, 0.0217744559, -0.0271352679, -0.0011528123, -0.0377203226, -0.0765242651, -0.0243569575, 0.0288173277, -0.0139601082, 0.026150398, -0.0059032249, -0.0110971499, 0.0083050495, 0.018123595, -0.0270908121, 0.0491822846, -0.0329177566, -0.0554436781, -0.0677362904, -0.0197593458, 0.0544859245, -0.0164890196, 0.011995513, -0.0101517551, 0.0232878271, 0.0368818492, -0.0100270221, -0.0569438897, 0.0555157736, 0.0097648939, -0.0157141797, 0.0315334648, 0.0033506732, -0.0005373514, 0.0425230712, -0.0411615483, 0.0114866532, -0.0209051967, 0.0449815989, -0.0000136146, 0.052605737, -0.0249660295, 0.0102409925, -0.0328790359, -0.010052341, -0.091706641, -0.0090528354, 0.0289880559, 0.0621316656, 0.0159574635, 0.0139699765, -0.0264936257, -0.0249424838, -0.0631599054, -0.0126751475, 0.0030423964, -0.0041776355, -0.0178141445, 0.0219976921, 0.0011191042, -0.018118497, 0.0237435941, -0.0515985079, -0.0300726779, 0.0816771314, -0.0225123502, 0.0096750502, 0.0039663645, 0.0428111181, -0.0681555644, 0.0009101126, 0.0112813069, -0.0531554893, 0.0099261915, -0.0212341715, -0.0032150904, 0.0213123877, -0.0061985352, -0.0086939698, -0.0207305755, -0.0273163281, -0.000774583, -0.0688010082, 0.0699646622, 0.0245589539, -0.0004981416, 0.0155084096, 0.0652013645, 0.0460628532, 0.0362860672, 0.0209173486, 0.0315281078, -0.0127193211, 0.0044978815, -0.0397728011, -0.023329217, 0.0115057509, 0.0350593813, -0.0199114326, -0.0216258131, 0.0123046869, 2.724e-7, 0.0333357416, 0.0320319049, 0.0146860592, 0.0789036602, 0.0058036186, 0.006807731, -0.0198206417, -0.0312740393, -0.0055911117, -0.0161465015, 0.0588075146, 0.0101935789, 0.0281600375, 0.0377179347, -0.0497079045, -0.029496653, -0.063942194, -0.034186624, -0.0723228157, -0.015125283, 0.0152431605, 0.0469567813, 0.0861677974, -0.0069955862, -0.0008172992, -0.0624968596, 0.0597469211, -0.0038974471, -0.0454963781, 0.0279790778, 0.0124870976, -0.0075938352, -0.019771615, 0.0497749224, -0.0129285241, 0.0274463855, -0.0395105332, 0.0356149003, 0.0183903109, 0.0016519111, -0.005499911, -0.0449970514, 0.0127384588, -0.0331818275, 0.1008533612, -0.0354459845, -0.0184138753, 0.0200260282, -0.0629851222, 0.0150139267, -0.0151544055, 0.0387047678, 0.0144450897, 0.0004528136, -0.0021607119, 0.0103914393, -0.0051592519, -0.0774466768, -0.0254801959, 0.0509595461, -0.0465874225, -0.0542098992, 0.0139186168, -0.0021005119, 0.0067156558, -0.0481723696, 0.0346007869, 2.718736829e-34, 0.0408620983, 0.0042952942, -0.0252452344, -0.0120571218, 0.0615545511, -0.0243602432, -0.0562344939, 0.0248985589, 0.0465903655, -0.1049440056, -0.0075393519 ]
http://arxiv.org/abs/2401.06071v5
http://arxiv.org/pdf/2401.06071v5
GroundingGPT:Language Enhanced Multi-modal Grounding Model
2024-01-11T17:41:57
2024-03-05T14:36:12
Zhaowei Li, Qi Xu, Dong Zhang, Hang Song, Yiqing Cai, Qi Qi, Ran Zhou, Junting Pan, Zefeng Li, Van Tu Vu, Zhida Huang, Tao Wang
cs.CV
cs.CV, cs.CL
Multi-modal large language models have demonstrated impressive performance across various tasks in different modalities. However, existing multi-modal models primarily emphasize capturing global information within each modality while neglecting the importance of perceiving local information across modalities. Consequently, these models lack the ability to effectively understand the fine-grained details of input data, limiting their performance in tasks that require a more nuanced understanding. To address this limitation, there is a compelling need to develop models that enable fine-grained understanding across multiple modalities, thereby enhancing their applicability to a wide range of tasks. In this paper, we propose GroundingGPT, a language enhanced multi-modal grounding model. Beyond capturing global information like other multi-modal models, our proposed model excels at tasks demanding a detailed understanding of local information within the input. It demonstrates precise identification and localization of specific regions in images or moments in videos. To achieve this objective, we design a diversified dataset construction pipeline, resulting in a multi-modal, multi-granularity dataset for model training. The code, dataset, and demo of our model can be found at https: //github.com/lzw-lzw/GroundingGPT.
[ -0.0092597026, 0.0568883792, 0.0219883118, 0.053781528, 0.0023848643, -0.0060581579, 0.022577187, -0.031744387, -0.0619351603, -0.0551790446, -0.0664199293, -0.0055061807, 0.0123886196, 0.0141119473, 0.0302205216, -0.0706757903, 0.0163204502, -0.022246683, -0.0523309708, -0.0018141358, 0.0491617173, 0.0132837892, 0.0074658594, 0.0449055471, -0.0613046996, 0.0096606091, -0.0125551661, 0.0243662801, 0.0489123315, -0.0141246635, -0.0003424285, 0.0594908074, 0.0848325342, 0.0196203571, 0.0000021175, 0.0207513683, 0.0052922345, -0.0105325282, 0.0142649729, -0.0088012284, -0.0123130577, -0.059254013, -0.0190582592, -0.0232879128, -0.0160898697, -0.0242333151, 0.0648601651, 0.0647625029, 0.047203619, 0.0387428664, -0.0333195142, -0.0392255113, 0.0023661787, -0.0207571667, 0.0291533917, -0.0159039944, 0.005425618, 0.0678614751, -0.0223289989, 0.0043499907, -0.0533185489, -0.0021673781, 0.0154258106, 0.0066686058, -0.0252855122, 0.0536416657, -0.0150829712, -0.0053323894, -0.0191451479, 0.0803134665, -0.037723884, -0.0312437098, -0.0112965694, -0.0122830579, 0.0051405905, 0.006015223, -0.0306962151, 0.0313796513, -0.0097514056, 0.0416547693, -0.0370042846, 0.0042689159, 0.0138314376, 0.0150142666, -0.0085868081, 0.0185118672, 0.0125236604, 0.0126535967, -0.0286204591, 0.0111785056, -0.0245392546, -0.033818379, 0.0364544876, 0.0093655037, 0.0269903354, -0.0172546506, -0.0564704947, 0.0203514043, -0.0044591427, -0.0052722222, 0.0247028191, 0.0338911451, -0.0919976532, 0.0683815405, -0.0440842882, 0.0155558558, -0.0466335341, 0.0362758785, -0.0029667141, -0.0172058381, -0.0274678003, 0.0033369916, -0.0289519932, -0.0274336562, -0.060996864, -0.0152543932, 0.0026859713, -0.0288694929, -0.0348699056, -0.0105622942, -0.0121713476, 0.0264273975, -0.0650615543, -0.0387212485, 0.0549371243, 0.0373878516, -0.0428867973, 0.0637205541, -0.0056781643, -0.0660525933, -0.0073269829, 0.0239360426, 0.0350341871, -0.003279001, 0.0203431062, 0.0440801196, -0.0157493949, -0.0182444844, -0.0604459085, -0.0271080323, -0.0105392979, -0.0474379882, 0.0092077097, -0.0563529022, 0.0242586005, -0.0048493575, 0.0176939182, -0.0172629673, 0.0080869095, -0.0036165291, 0.0224318933, 0.1033877358, 0.0014200114, -0.0023149936, 0.0212267023, 0.0098048849, 0.0037003513, 0.0804937407, 0.0120144738, 0.0324559398, 0.017828593, 0.0022879795, 0.0133241424, 0.0263677109, 0.0043827659, 0.0220719855, -0.055966422, -0.0386569351, 0.0148241054, -0.0124865929, 0.0486011282, 0.0163472947, -0.0104203708, -0.0056681861, 0.0944261923, 0.0171509553, -0.0305781923, 0.0132188993, 0.0433981791, -0.0157073662, -0.0140954526, -0.0038686467, -0.0551461242, 0.0332449526, -0.0296575502, 0.0047411877, -0.048081845, 0.0611470975, -0.0539518185, -0.0033653479, 0.006507914, 0.0015709819, 0.0386698581, 0.0106754769, 0.0516748391, -0.014574606, -0.0306532457, 0.0821728706, 0.0200455114, -0.0233554114, 0.0130277807, -0.0017712902, 0.0002651237, -0.0119154146, -0.0424200371, -0.0199974738, -0.0257457905, -0.0196008105, 0.083753176, 0.0342497341, -0.0460146666, 0.0010288308, 0.0575999431, -0.073873505, -0.0535297617, -0.0223568752, 0.0161508024, 0.0361344106, 0.0089082941, 0.0045002168, 0.0270335432, -0.0249725748, 0.0591128767, 0.0390524007, 0.0494704545, 0.029402284, -0.0502609126, 0.006763651, 0.0099379104, -0.005847164, -0.027241962, -0.0227087345, 0.0227655079, -0.040653415, 0.0222444497, 0.0357920676, -0.0517517366, 0.0124986358, 0.0590484664, -0.044211816, -0.0070339227, 0.0172306634, -0.0434450656, -0.0389587171, 0.0138959792, 0.0198181011, 0.0149136549, -0.0322198868, -0.0262017362, 0.0148601821, 0.0347799473, -0.0046636425, 0.0409088545, -0.0169032998, 0.0008666303, 0.0092713367, 0.0310451444, 0.0010716163, -0.0148534942, -0.0339795426, 0.0038341556, -0.0454927348, 0.0040319506, 0.0172372237, 0.0291387364, -0.0389807001, -0.0080271726, -0.111909695, -0.0288287923, -0.0358772688, -0.0155507643, 0.0158496182, 0.0007151589, -0.0006725785, -0.0454244278, -0.0167774111, 0.0308974944, 0.0110153994, -0.0047221035, -0.0091883335, 0.0204851255, -0.0204426106, -0.02932203, 0.0195290633, 0.0169491898, 0.0202261955, -0.0239710808, -0.0265886486, -0.0362548046, -0.0043343832, -0.0105797136, 0.0574893877, -0.0211620908, -0.0562789142, -0.010830462, -0.0129391439, 0.0528089628, 0.0818914324, -0.0217705071, 0.0474405177, 0.0263281949, -0.0368240327, -0.0166068766, 0.0069390764, 0.0006927125, 0.0089430083, -0.0415541045, 0.0127712274, -0.0661888868, 0.0494741239, 0.0070360727, 0.0273179132, -0.0372265764, -0.0042544561, -0.0312836282, -0.016033696, -0.0437416919, 0.0264657345, -0.0280547533, 0.0511603765, -0.0556894094, -0.0649234205, 0.0149594042, -0.0331965201, -0.0435449295, 0.0383308604, -0.0321823768, -0.0146728307, 0.0486675575, -0.0062881042, 0.0208267719, -0.0035604816, -0.0316770896, -0.0546701625, -0.0355502702, 0.0125958081, 0.0162699372, 0.0951280072, -0.0392953977, 0.0108245453, -0.0387625657, -0.0216965955, -0.0054386072, 0.0030653563, -0.0307148602, -0.004275667, -0.0476071537, -0.0143918246, -0.0168869048, 0.0247587766, 0.0249336511, 0.0660213009, -0.0373510644, 0.0192881133, -0.0301380921, 0.0336381607, 0.0330668725, 0.0454178452, -0.0456135757, -0.0177090317, -0.0039119087, 0.0595632344, 0.0275040958, -0.0095929969, -0.0770960003, 0.0645564571, 0.0281238668, 0.0463137925, -0.016468063, 0.0187426936, 0.0845136717, -0.0489475988, -0.0098158382, 0.073299475, -0.0150410393, -0.0526997745, -0.011261005, -0.0028264371, 0.0154272653, 0.0326088183, -0.0106560718, -0.0586141162, -0.072460033, 0.0173503812, -0.0488677323, 0.0529168285, 0.0179408081, 0.0100965071, -0.0433277227, 0.0481131747, 0.0152609553, -0.0447672121, -0.1076297984, 0.0099458667, 0.0217308607, -0.0198564548, 0.0079269661, -0.0338700898, -0.0000930138, -0.0242909063, 0.024533242, 0.0295897182, -0.0915149525, 0.0260584336, -0.030611394, 0.0267925858, 0.0156642348, 0.007348049, -0.0314862616, -0.0342211798, 0.036054723, 0.0231686067, -0.0099277273, 0.0003767824, 0.010566582, -0.0211332329, -0.0236760508, 0.0344158038, 0.0588149354, -0.0172822196, -0.0411679968, -0.0428306088, 0.0590330102, -0.0161080919, 0.0503100753, -0.0155965891, 0.0146946618, 0.0314666554, 0.0301227458, 0.0198867302, -0.0228990857, -0.0090602264, -0.0317214727, 0.0238658879, -0.0180244762, -0.0321332291, -0.014580261, 0.0106079476, -0.0362070091, -0.0181000028, -0.0043790597, 0.0537975766, 0.04157269, 0.0062615415, -0.0278324392, -0.0118905734, 0.0295098498, -0.0493951142, 0.1009705663, -0.0255296063, 0.0204497874, -0.0546492003, 0.0014491641, 0.0661504418, -0.0442337021, -0.0246395133, 0.041613277, -0.0713291839, -0.0400434062, -0.0155489631, 0.0301822387, 0.0173824821, 0.0539070666, 0.0043671513, -0.0152389975, 0.008892159, -0.0171955079, -0.0429186933, 0.0061123106, 0.0529479422, -0.0400076546, -0.0021332747, 0.0318593569, -0.052080851, 0.0513747819, 0.0305143539, 0.002818167, -0.0237917546, -0.0043617939, 0.0405994728, -0.054192327, 0.0785734802, 0.0015729117, 0.0226168074, -0.0661749542, -0.0117814839, 0.0048411149, -0.022431951, -0.0784691945, 0.0074546719, 0.0273819808, -0.0040351055, 0.027725799, -0.0206936989, 0.0213380121, 0.0350135304, -0.0370404273, 0.0405318104, 0.0142589957, -0.0126714967, -0.0158432275, 0.036268238, 0.0058712699, 0.0161903482, -0.0078412769, -0.0102245631, -0.0207723789, 0.0642025173, 0.0186734404, -0.0277736057, -0.0634108186, 0.0375313424, -0.0000339188, 0.0319814384, -0.0585380532, 0.0326465517, 0.0760219619, -0.028272396, 0.0368080735, 0.0061166552, -0.0359597504, -0.0011877684, 0.0808680505, 0.0134937344, -0.0431111827, 0.0583833233, 0.019179998, -0.012477383, 0.012103348, 0.0557621121, -0.0087185437, 0.0532971919, 0.0085012121, 0.0007266001, -0.0271873046, 0.0129028056, 0.0366530493, 0.0053772656, -0.0206059534, 0.0460732095, -0.0182819664, -0.0649771392, -0.0529397093, 0.0121548939, -0.0328326523, 0.028728012, 0.0414876156, 0.0444676131, -0.0019576941, -0.0304687191, -0.023332024, -0.0169388875, 0.0237793364, -0.0031907533, -0.0287525877, -6.213619057e-33, -0.0394440964, 0.0029262633, -0.0030972234, -0.0076267994, -0.0208592098, 0.05353285, -0.0079302751, 0.0336204506, -0.0362485722, 0.0482558832, 0.0159348305, -0.0070174369, 0.0319362581, 0.0335600674, 0.0004326487, -0.0005505064, 0.0409961119, -0.0235565305, 0.0131020378, -0.0107297935, 0.0331453234, 0.0123253176, 0.1091629416, -0.0877357498, -0.0377710871, 0.036058493, -0.0879333839, 0.000152842, 0.008884876, 0.0702616051, -0.016915489, 0.0123956082, 0.0076677608, -0.0558961704, -0.0314226486, 0.0220405143, -0.0658869743, -0.0052426159, -0.0102874124, 0.0625951812, -0.0279495455, -0.0036144285, 0.0267019123, -0.0500220917, 0.0062798266, -0.0254825242, 0.0372819901, -0.0298891403, 0.007958293, -0.0031887421, -0.0484080017, 0.0256243851, 0.0007528784, -0.0637182295, 0.0391134955, -0.0036808366, 0.0313113891, -0.0081089716, -0.0315659121, 0.0109292194, 0.0036565275, 0.0416109152, 0.0627296492, 0.0295254402, 0.0183312092, 0.0482703671, 0.0016446045, -0.051620502, -0.0048350855, -0.0210426748, 0.0337915048, 0.0482575446, -0.0020477714, 0.0295461975, 0.0075253206, 0.01740353, -0.0356083438, 0.0161153339, -0.0193396378, 0.0684929937, 0.0040031071, 0.0320461877, 0.0327452049, 0.000461708, -0.0140459388, -0.0574371964, -0.0045010149, -0.0175059512, 0.0305464882, 0.0333033204, -0.0388587862, 0.0326964334, 0.0918791145, -0.0146572562, 0.0109554771, 0.0608513653, -0.0080828499, 0.0625623539, 0.0257525891, -0.0173317194, -0.0389871411, -0.0388623737, 0.0386389382, -0.0303862169, 0.0232758578, -0.0027964439, 0.0099672209, 0.0577240847, -0.0362392254, -0.0070472397, -0.0345759541, -0.0027025633, 0.0134369675, 0.0700269043, 0.0590167753, -0.0160963181, -0.0397316143, 0.0428617038, 0.0057398342, -0.0005509405, 0.0068667405, -0.0621793121, -0.0267626029, 0.064505294, -0.0306608584, 0.0024494971, -0.0786055624, -0.0826937035, 0.0589754507, -0.0062516369, -0.016890632, 0.0177908111, 2.761e-7, 0.0052452236, 0.0077512027, 0.0076084696, -0.0132410703, 0.0119783161, 0.0507153757, -0.0290909503, 0.0185490288, -0.0006653787, -0.087745443, -0.0098420605, 0.0344486423, 0.0209814906, 0.0136904353, -0.0442871079, 0.0491869524, -0.0304690506, -0.0064191367, -0.0042400253, -0.0095128026, -0.0179442596, 0.1366222501, -0.0092575317, -0.0009742263, 0.0521876886, -0.0312673748, 0.0530997366, -0.051255662, 0.0065750768, -0.0072313878, 0.0023569269, 0.0395179093, -0.0309864581, 0.0185863487, -0.0083762258, 0.0098912362, 0.026978977, 0.051258374, -0.0399402678, -0.0065323939, -0.0359858833, 0.0282597989, -0.0323810354, -0.0637470931, 0.0520798117, -0.036474891, -0.0190085266, -0.0812665299, -0.0033751081, 0.0117398938, -0.0039927349, -0.0203558039, -0.0487571508, -0.0075973351, 0.021918945, -0.0176156107, -0.0679766983, -0.0851119235, -0.0324571319, 0.0177897755, -0.0396937281, 0.0165402479, -0.0083838375, -0.0600043274, 0.0465715416, -0.0434426516, -0.0583446547, 2.614433057e-34, -0.0201874264, -0.0314169489, 0.0095372349, 0.0301132388, 0.0145386187, 0.0002682204, -0.0550054498, 0.0043387408, -0.0354618803, -0.0014288637, -0.016468633 ]
http://arxiv.org/abs/2401.06066v1
http://arxiv.org/pdf/2401.06066v1
DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models
2024-01-11T17:31:42
2024-01-11T17:31:42
Damai Dai, Chengqi Deng, Chenggang Zhao, R. X. Xu, Huazuo Gao, Deli Chen, Jiashi Li, Wangding Zeng, Xingkai Yu, Y. Wu, Zhenda Xie, Y. K. Li, Panpan Huang, Fuli Luo, Chong Ruan, Zhifang Sui, Wenfeng Liang
cs.CL
cs.CL
In the era of large language models, Mixture-of-Experts (MoE) is a promising architecture for managing computational costs when scaling up model parameters. However, conventional MoE architectures like GShard, which activate the top-$K$ out of $N$ experts, face challenges in ensuring expert specialization, i.e. each expert acquires non-overlapping and focused knowledge. In response, we propose the DeepSeekMoE architecture towards ultimate expert specialization. It involves two principal strategies: (1) finely segmenting the experts into $mN$ ones and activating $mK$ from them, allowing for a more flexible combination of activated experts; (2) isolating $K_s$ experts as shared ones, aiming at capturing common knowledge and mitigating redundancy in routed experts. Starting from a modest scale with 2B parameters, we demonstrate that DeepSeekMoE 2B achieves comparable performance with GShard 2.9B, which has 1.5 times the expert parameters and computation. In addition, DeepSeekMoE 2B nearly approaches the performance of its dense counterpart with the same number of total parameters, which set the upper bound of MoE models. Subsequently, we scale up DeepSeekMoE to 16B parameters and show that it achieves comparable performance with LLaMA2 7B, with only about 40% of computations. Further, our preliminary efforts to scale up DeepSeekMoE to 145B parameters consistently validate its substantial advantages over the GShard architecture, and show its performance comparable with DeepSeek 67B, using only 28.5% (maybe even 18.2%) of computations.
[ 0.0760904849, 0.0665426999, -0.0105583593, 0.0304491725, -0.0116540175, -0.0200302023, 0.045041509, -0.0026676869, -0.0093111247, -0.0123574492, -0.0651360229, -0.0395978168, -0.0217824634, 0.0394784287, 0.0152511327, -0.0352511778, 0.0068238149, -0.0655949414, 0.0184707437, -0.0497537032, 0.0001609693, -0.0038087857, -0.0140865995, 0.0163638871, 0.0004836174, 0.0147424415, -0.0012806416, -0.0287315939, -0.004322011, 0.0393854007, 0.0209382009, 0.0681022853, 0.017382374, 0.0342235304, 0.0000022484, -0.005974995, -0.0078157969, -0.0107407067, -0.0307817608, 0.0540895462, -0.0016418528, -0.0132748513, -0.0172152929, -0.0100012589, -0.0021398808, -0.0012610019, 0.050073348, 0.0102761239, 0.0287059359, 0.1013721451, 0.0090056723, -0.0130168293, 0.0871835351, -0.0438771322, -0.0250442084, -0.0498900227, 0.0130699202, -0.0134232836, -0.0128549431, 0.0220773034, 0.0084563065, 0.0574681573, 0.0153340828, 0.0113381166, 0.0252369177, 0.0315233991, 0.0470203236, -0.0142011819, -0.0160907023, 0.0602280535, -0.049016118, -0.0010033844, 0.0082539218, -0.0040059849, -0.0288621541, -0.0016028489, -0.0245847944, 0.0195942186, -0.0024095865, -0.0034019151, 0.0377308875, 0.0313079655, 0.0412925594, 0.0357756466, -0.0636738017, 0.0576528274, 0.0303825922, 0.0104034757, -0.0162831433, -0.0127291987, -0.0240737274, -0.0327815786, 0.0493041202, -0.0129113374, -0.0377598964, 0.0138565879, -0.0211683065, -0.0119268252, -0.0253507178, -0.0039194836, 0.0234517436, 0.0486768149, 0.0013861031, 0.0541261956, -0.0198425017, 0.0000641577, -0.0577040911, 0.0126703288, -0.0044941129, -0.0340794921, -0.0329591297, -0.0145809809, -0.0009847498, 0.0144102182, -0.0225444157, -0.0327403136, -0.0027816393, 0.0053246026, -0.0187892336, -0.0130931744, 0.0157243311, 0.0246783905, -0.0359211117, -0.0497971736, -0.0362856351, 0.037414711, -0.0547035523, 0.0137529476, 0.0117163165, -0.048419375, 0.0249131173, 0.0296649821, -0.0084711658, -0.0061852243, 0.0345340297, 0.041037146, -0.0464427881, -0.0048689255, 0.0031767737, -0.0145309772, -0.0096184248, -0.0890348479, 0.0097052734, -0.0874015987, 0.0683281571, -0.0024894085, -0.0011206986, -0.0620679669, -0.0059515862, -0.03167326, -0.047806032, 0.0317180268, -0.0450763442, 0.0162088461, 0.0277868398, 0.0073689334, -0.0298523717, 0.0661736503, 0.007993022, -0.0006846808, 0.0210498739, 0.0124424249, 0.003508575, 0.0330891646, -0.0165916011, -0.0097986804, -0.0236690473, -0.0210643336, -0.049128253, 0.0429057218, 0.0559936389, 0.0691680908, -0.0397157185, -0.0207966119, 0.0367304198, 0.0389170498, 0.0110787414, 0.0866348371, 0.0395942889, 0.0115572186, 0.0348838456, 0.0024989636, -0.0167858377, 0.0217580441, -0.0282384846, -0.0143582486, 0.0463540368, 0.0703498572, -0.0329271667, -0.032916382, 0.0149528123, -0.0058875959, -0.0724235922, 0.017077852, 0.0470047742, -0.0417194217, 0.008072651, 0.0626126155, 0.0184237603, -0.0301853288, -0.0170319248, -0.0452060476, -0.0134228319, 0.089454554, 0.010223493, -0.0258209035, -0.0322462656, 0.0130747976, -0.040870335, 0.0090075778, 0.0326353945, 0.0026756127, 0.0121936686, -0.0848542452, -0.03440338, -0.0212825965, 0.0263967924, 0.0531513505, 0.0433669761, -0.004852395, 0.0137028359, -0.0119439308, 0.0224930737, -0.0044697695, -0.0354727693, 0.0286754612, -0.0121750748, 0.0098826401, 0.0335906185, 0.0185422171, -0.0236426666, 0.0111802667, 0.0044088764, -0.0409331471, -0.0197038278, -0.0366190374, -0.056380149, -0.0132293385, 0.0375763774, -0.0151473712, 0.0018874767, -0.0144441323, -0.0007971585, -0.0528731383, 0.0325470567, -0.0201089587, 0.0354610421, -0.0324998721, 0.0004209928, 0.0119620068, 0.0270873271, -0.0037008557, 0.0809995085, -0.0393780693, -0.0127169611, 0.0506083816, 0.0078228312, -0.0127828028, -0.0178956371, -0.0279172696, -0.0215563811, 0.0341190062, 0.0543754324, -0.0018733233, -0.0177464802, -0.0125722643, -0.0990562662, -0.0986132547, 0.0289825443, -0.0358541831, 0.0056841122, 0.0183646195, 0.0099623427, -0.0045673074, 0.0270785391, -0.0220385399, 0.0126849599, -0.0252112113, 0.0093027018, -0.0315435193, 0.0086612906, -0.02777238, -0.0224432331, -0.0548566766, -0.00982033, 0.0278039817, -0.0405755341, -0.0190199837, -0.0246613845, -0.0229230579, -0.0374616496, 0.0418860354, -0.0152869895, -0.0192235932, 0.0035115504, -0.0608772114, 0.0676076189, 0.0378702842, -0.0287097152, 0.0194836259, 0.0431636907, -0.0282877125, -0.0342296697, 0.0256597195, 0.0327667445, 0.004584658, -0.0371265225, 0.0177841242, -0.0453618653, 0.0632269233, -0.0000495031, -0.0392559543, -0.0341460742, -0.0166604016, 0.0363077968, -0.0430320799, 0.0161724482, 0.0094681876, 0.0003841721, 0.052491352, -0.0312158838, -0.0091561098, 0.0519040078, -0.0064891558, -0.0076742768, -0.0295387693, -0.0275536384, -0.0217732545, 0.006097795, -0.0012658336, 0.0323392376, -0.0265444368, 0.0097756945, -0.0342023894, 0.0477226265, -0.024310831, -0.0063552917, 0.0475227088, -0.0594692752, 0.0193349812, 0.0095270472, -0.0372379534, 0.0010639335, 0.0175867509, -0.0708251819, 0.0525515974, 0.0854087844, -0.038433779, -0.0471686684, 0.0172236245, 0.0165626127, 0.0605043694, -0.0153811462, 0.0199259538, -0.0316801555, 0.0298368633, 0.0007735994, 0.020203121, -0.0081701931, -0.0247897822, 0.0061901724, 0.0434613824, 0.0546551235, -0.0339341536, -0.0344181471, 0.0066164173, 0.0515453853, -0.018692771, -0.0698684305, 0.0057179946, 0.0423738733, -0.0569442026, 0.0309663024, 0.0913359672, -0.0036599799, -0.0545905828, -0.0141632194, 0.0201696306, 0.0445076898, 0.019362051, 0.0205208343, -0.0556831732, -0.0176356863, 0.0075914394, -0.0310734417, 0.0144871837, -0.0224902127, 0.0023358613, -0.0841938779, 0.0078896629, 0.0132778026, -0.0375705585, -0.0121906549, -0.0081712566, -0.0076363031, -0.0062303897, 0.0149577558, 0.0170085263, 0.0308458265, -0.0370927788, 0.0342168771, -0.0236738175, -0.0890950114, 0.0450321883, -0.0293529611, 0.0744145215, 0.0185578596, -0.0276246872, -0.0066425009, -0.0253443625, -0.0113214012, 0.0087584658, 0.0292980894, 0.0059352131, 0.0238025449, -0.0311785955, -0.0243497808, 0.0163690541, 0.0101760915, 0.0010070889, 0.0436765477, -0.0021420524, 0.0678715631, 0.0133755049, -0.0249817185, -0.0126012238, -0.0296596643, -0.0470190309, 0.0346564278, 0.0105456477, -0.0501566529, -0.0042950152, -0.037482243, -0.0160801895, -0.0415495262, -0.0282246135, 0.0158706065, 0.0253927745, -0.0686124563, -0.0112728067, -0.0031611796, 0.0307406206, 0.0561829545, 0.0038189583, 0.0200343281, -0.0004902374, -0.0025329683, -0.0240085851, 0.0140387313, -0.0396278501, -0.0095591675, -0.0860905349, -0.0213256348, 0.0321205519, 0.0061182966, -0.010885261, -0.0021601454, -0.0553886592, -0.0945888385, -0.0227574259, 0.0616807565, 0.0232743528, 0.0293581951, 0.0014059559, -0.1215154678, 0.0868137926, -0.0140345264, -0.0705498084, 0.0027943619, 0.0306804646, -0.0343523175, -0.0067942361, 0.0455951914, -0.0155559797, 0.0127619393, 0.0082054902, 0.0236631297, -0.0395007841, -0.013040687, -0.0259195827, -0.0065075834, 0.0283408444, -0.0150300181, 0.0349064134, -0.0426879413, 0.011234602, -0.0105188768, -0.0067252656, -0.037622001, 0.0225027651, 0.0489662848, 0.0056211515, 0.0239905231, 0.0092060603, 0.0684545636, -0.0215004366, 0.0154590197, 0.0169254914, 0.0100136288, 0.0039873482, 0.0263861921, -0.0201527774, -0.0261342153, 0.0210622698, 0.0190023836, 0.0031355121, -0.0369885601, 0.0098609636, -0.0171147808, -0.0282358564, -0.0454930291, 0.0366463214, -0.0548015386, -0.0905676335, 0.0003143557, 0.0772369877, 0.0716143548, 0.0052157743, 0.0335410908, -0.0187660512, -0.0082000699, -0.0278929025, 0.0012378715, 0.0104609216, 0.0046396991, 0.0152462749, 0.0280103292, 0.0023373042, 0.0347307213, 0.0605347045, 0.0307304971, 0.0269088577, 0.003240448, -0.0067348755, -0.0360397622, -0.0040394315, -0.0104463808, 0.066752553, -0.0303527135, 0.0147418911, -0.0125802401, -0.0286337603, -0.0077650328, -0.0078271413, -0.0293955058, -0.0197214186, 0.04503249, 0.068827875, -0.0235909931, -0.0028556855, -0.0138292816, -0.0131038688, 0.0476488806, -0.0059138867, 0.0320809372, -7.206648032e-33, 0.0030068459, 0.0382382683, 0.025195308, -0.0704437643, 0.006840718, 0.0102006141, -0.027755525, 0.0267323088, -0.0267088376, -0.0032751097, -0.0562372319, -0.0060787909, 0.0125034153, 0.0102502778, 0.0415547974, 0.0462797284, 0.0552289858, -0.0069485591, 0.0116209025, 0.0317685492, -0.004047187, 0.021015441, 0.0773020685, -0.0540202521, -0.0152356261, 0.0213862807, -0.0039978041, 0.0103318747, -0.0272936858, 0.0579217598, -0.0318060294, 0.0698814243, 0.0146242492, -0.0381376967, -0.0315375291, -0.0490246788, -0.0586279966, -0.0312478561, 0.0162778273, -0.024537487, -0.0288592428, -0.0530499071, 0.0845185891, 0.0308520086, 0.0252600685, -0.0394187048, 0.0278765485, -0.0173799153, -0.0163388532, 0.0032338209, -0.0198334996, 0.0497568808, 0.0010562823, 0.0262158699, 0.0483588763, -0.0487402976, -0.0088390792, -0.0482556745, -0.0268546939, 0.01067237, 0.0589126348, 0.0917294919, 0.0560244583, 0.0205949862, -0.0105478372, 0.0318803452, 0.0579065681, -0.0132151227, -0.0100063551, -0.0310251042, 0.0499532931, 0.0667494312, 0.0231829062, 0.0165896919, 0.026318239, -0.0174543168, -0.0448320545, -0.0206023119, 0.0567912012, 0.0144593008, 0.0631311536, 0.0269558858, -0.0662627667, -0.0430124961, -0.018418394, -0.0484396778, -0.0464670062, -0.0279416423, 0.0061164661, 0.0281770993, -0.0124889649, 0.0093776127, 0.0296281222, -0.057937637, 0.0023442365, 0.0133377686, -0.014790467, 0.048936557, 0.0090978453, 0.04813518, -0.1113200858, -0.0531817712, -0.0147583531, -0.0160650127, -0.0229800809, 0.0137095964, -0.0225647576, 0.0330538712, -0.0527875759, -0.0280514006, -0.022495985, -0.0125239491, 0.0215335526, 0.0572136529, 0.0147892879, -0.0140987691, 0.0071823746, -0.0019688006, -0.0096464278, 0.0059220158, -0.0011176623, -0.0186897106, 0.019424092, 0.0110603422, -0.0186735764, 0.0249477401, -0.069106549, -0.0719323233, 0.017309498, -0.009761869, -0.0298090484, 0.0008749538, 2.867e-7, 0.0206946973, 0.0348560885, 0.0168300197, -0.0497682206, 0.0200787745, 0.018164359, 0.0005028596, 0.0017930019, -0.0092879692, -0.0442094095, 0.048190657, 0.0739087164, 0.008215392, 0.0094669834, -0.0804044455, -0.0169589277, -0.023147976, 0.0498260036, -0.0492785685, -0.0602571853, -0.0132264066, 0.115024358, 0.0429691859, -0.019071145, -0.0205865018, -0.0243451186, 0.0385199115, -0.0187325869, 0.015247385, 0.0659663603, 0.1120429114, 0.057349205, -0.0234459247, 0.0401412174, 0.0439885296, 0.0576076098, 0.0212714057, 0.1069160625, -0.0273478869, -0.0060406495, 0.0663497746, -0.0207794495, -0.0301504079, -0.0443322845, 0.0719453543, -0.0006786313, -0.0071248938, 0.0021135404, -0.0007645341, -0.0296833888, -0.0139162969, -0.0168175139, -0.0389509052, 0.0314162895, 0.0050118947, -0.0229122099, -0.0331490189, -0.0868111402, -0.013882651, 0.01095335, -0.067888774, -0.0553591289, -0.0154501414, -0.0154909911, 0.0321190543, -0.0146946982, 0.0148734637, 2.651137868e-34, 0.0543777198, 0.0289518759, 0.0059399474, 0.0287461933, 0.0301655103, -0.0447539762, -0.079522714, 0.0054994235, 0.0057193488, -0.0779474005, -0.0561069436 ]
http://arxiv.org/abs/2401.06059v1
http://arxiv.org/pdf/2401.06059v1
Investigating Data Contamination for Pre-training Language Models
2024-01-11T17:24:49
2024-01-11T17:24:49
Minhao Jiang, Ken Ziyu Liu, Ming Zhong, Rylan Schaeffer, Siru Ouyang, Jiawei Han, Sanmi Koyejo
cs.CL
cs.CL, cs.AI, cs.LG
Language models pre-trained on web-scale corpora demonstrate impressive capabilities on diverse downstream tasks. However, there is increasing concern whether such capabilities might arise from evaluation datasets being included in the pre-training corpus -- a phenomenon known as \textit{data contamination} -- in a manner that artificially increases performance. There has been little understanding of how this potential contamination might influence LMs' performance on downstream tasks. In this paper, we explore the impact of data contamination at the pre-training stage by pre-training a series of GPT-2 models \textit{from scratch}. We highlight the effect of both text contamination (\textit{i.e.}\ input text of the evaluation samples) and ground-truth contamination (\textit{i.e.}\ the prompts asked on the input and the desired outputs) from evaluation data. We also investigate the effects of repeating contamination for various downstream tasks. Additionally, we examine the prevailing n-gram-based definitions of contamination within current LLM reports, pinpointing their limitations and inadequacy. Our findings offer new insights into data contamination's effects on language model capabilities and underscore the need for independent, comprehensive contamination assessments in LLM studies.
[ 0.032627508, 0.0669904575, -0.0377914868, 0.0184886102, -0.0402881317, 0.0218264572, 0.003765678, 0.0119298836, 0.0005364554, -0.0782826021, -0.0424813814, -0.052221708, 0.0303724743, 0.0066737821, 0.0564567111, -0.0218496546, 0.0670145676, -0.0204552189, -0.0537884459, -0.0123690069, 0.009715125, 0.0014759956, 0.0231078342, 0.0127168391, -0.0084425351, -0.0106575936, 0.010501747, 0.0075028576, -0.0235821102, -0.0287627466, -0.003220072, 0.0600607581, 0.0024902129, 0.0316771567, 0.0000018929, -0.0522231832, 0.006489269, 0.0055515533, -0.0562300533, 0.0605863519, 0.0425654016, 0.0169024915, -0.0128094126, 0.0560495295, -0.0152433831, -0.0179158375, 0.0274689738, 0.0343141071, 0.0404647142, 0.0484975241, -0.0102154333, 0.0326010436, 0.0250568017, -0.0151758045, 0.0112229902, 0.0240977295, 0.0230178349, -0.0182239786, 0.0134593146, 0.0087004099, -0.0144121191, 0.0387409218, -0.0015530946, 0.0382861644, -0.0357939489, 0.0277045239, -0.031110229, -0.0456352718, -0.0108687263, 0.0424550474, -0.0039806385, -0.0007865337, -0.0059939618, -0.0323990509, 0.0020364986, 0.0120831626, -0.0144197205, 0.0484193116, 0.0020280334, 0.0403753035, -0.0122186719, -0.0448667631, 0.0500980541, 0.0013338394, -0.0228093881, 0.0974841863, 0.031734705, -0.0584162362, 0.0302068926, 0.0477650054, -0.0220217556, -0.0513823703, -0.0098984698, -0.0210785046, 0.0203912463, 0.0524573065, -0.0402308665, -0.0130369328, 0.0526571609, -0.0279558133, 0.0582543164, 0.018338358, -0.0440695621, 0.0029861038, 0.0000590332, 0.0201190859, 0.0034636261, 0.0183784645, -0.0340549201, 0.008237062, 0.0094027277, -0.0212129951, -0.0204015654, 0.0294490717, -0.013774978, 0.0012999981, -0.0204209611, 0.0435297526, -0.0098884031, -0.0147126243, 0.0061702207, -0.0144413905, -0.0400436968, 0.0072425413, -0.0433915593, -0.0038738637, -0.0031262233, 0.0573943444, -0.0066734203, -0.1158344522, -0.0134247113, 0.0096870987, -0.0142414644, -0.0414984077, 0.0175454766, 0.0585583039, 0.0217329971, -0.0414283238, -0.0331519544, -0.0031299845, -0.0285631139, -0.0526324958, -0.0032304509, -0.0246097874, 0.0073107905, 0.0275075119, -0.0025759486, -0.0332726128, -0.0050138324, 0.0505206436, -0.0704706609, 0.0689711869, -0.0419596136, 0.0232078321, 0.0012078369, 0.0019317712, 0.0071892957, 0.0798543617, 0.0329232961, 0.0106591284, 0.0275057591, -0.03012399, 0.0094447611, 0.0791405737, 0.0100843068, 0.0487659015, -0.014313248, -0.0194184277, 0.0172866806, 0.000340883, 0.0416487865, 0.078312017, -0.0162647367, 0.0345551521, 0.0843323618, 0.0497360229, 0.0053578755, -0.0109038297, 0.0383791812, 0.0188266765, 0.0215355158, 0.0491865985, -0.0650595203, -0.0751226097, -0.0294832923, 0.0130642364, 0.0172816161, 0.0257387944, -0.02244642, -0.0415072329, -0.0401846431, -0.0224973485, 0.0219730213, -0.003759685, 0.0392444469, 0.0202789325, -0.0529628918, 0.0473297127, 0.0282397717, -0.0713436678, 0.0470682271, -0.033876311, -0.0030629693, 0.067692183, 0.059283331, -0.0038876659, -0.0213188436, -0.015766887, -0.0041512814, 0.0287556965, 0.0258338451, 0.0066238227, 0.0228840057, -0.0487902127, -0.0447020978, -0.0099472422, 0.0115160951, 0.0016344035, -0.0089527788, 0.0085413167, 0.0230801255, -0.0362714976, -0.0465345904, 0.0632275641, -0.0291401017, 0.0013264867, -0.0122420788, -0.0047503891, 0.0200543143, 0.0129113393, -0.0282391645, 0.0157790091, 0.0339044668, 0.0121948579, 0.0093364827, -0.0183970798, -0.0279495157, 0.0178532824, 0.0461483076, 0.0138407564, 0.0078102062, 0.0438377634, -0.0110703008, -0.0363475196, -0.0218603425, -0.0250252821, 0.0241720024, -0.0508950166, 0.0412726402, -0.007004926, 0.0150399767, -0.0501386635, 0.0229134969, -0.0097970068, 0.0231091995, -0.0041807741, 0.0279038046, 0.0354163013, -0.0281065106, -0.0643871874, 0.0097810403, 0.0012547204, 0.0288679041, 0.0266600735, -0.0006047126, -0.0516499951, -0.0157678686, -0.0974941924, -0.0078605572, -0.0105516072, 0.0302492548, 0.0237225555, -0.0097884964, -0.0442109182, 0.0156205734, -0.0229437184, -0.0300725084, 0.0391292088, 0.0499648489, 0.0355897844, -0.0108116912, 0.0170824043, -0.0266563389, -0.0135856178, -0.0080464706, 0.0242405385, -0.0168898329, -0.0376571454, -0.0635628253, 0.0851987004, -0.0323761255, 0.015790727, 0.0133316666, -0.0410478637, 0.0213567298, 0.0015929064, 0.0240709446, 0.0122144148, -0.0024131928, 0.0311389733, 0.0549199507, -0.0145025318, -0.0541428812, -0.0135912839, 0.0115900105, -0.0248146281, -0.0380153246, -0.0255747717, -0.0002357673, 0.0656474084, -0.0022437333, -0.0227507893, -0.0232667401, 0.0131216664, -0.0575383902, -0.0170957837, 0.0001271006, -0.0332785584, -0.0587480851, 0.0435637794, -0.0191890504, -0.074886255, 0.0190390479, -0.0544308871, -0.0095991865, -0.0516550392, 0.0122729251, 0.0032277775, 0.0142895896, 0.016240418, -0.0019942967, 0.0161628108, -0.0561007597, -0.0716347247, 0.0429789461, 0.0264090877, -0.0444963574, 0.0484471545, -0.0320869833, 0.0132178105, -0.000505476, -0.0365768522, -0.0452031344, -0.0427056402, 0.0278546717, -0.0041743652, 0.0188756268, 0.0373873934, -0.0004961042, -0.0047560995, -0.0059877038, 0.0163339581, -0.0116272746, 0.0138761811, -0.0166937523, 0.0157827381, 0.0435991362, 0.0023599402, 0.028935492, -0.0316178985, -0.0259867981, 0.0162466876, 0.0329523198, -0.01683232, 0.0087639103, 0.0182751026, 0.0588733964, -0.0151340645, -0.0632430464, 0.0288579576, 0.046738591, -0.0587760918, -0.0205808636, 0.1003290266, 0.0223083198, -0.0185229778, -0.0062474445, 0.0339565687, 0.0425372645, 0.0197067577, -0.0098318271, -0.1032354981, 0.0040155817, 0.0304666497, 0.0192753728, -0.0233260151, -0.0015011135, -0.0390209034, -0.1372141987, 0.0412395932, 0.0076049003, -0.043756675, 0.0023956797, -0.0281205866, -0.0057209432, -0.0043929256, 0.0713771805, 0.0023750192, -0.0383690596, 0.0218442809, 0.040075209, -0.0398138314, -0.1154824793, -0.0172738582, -0.0295274816, 0.0652740598, 0.0687106103, -0.0248471219, -0.0566136539, -0.0227188673, 0.0714769587, -0.0554598719, 0.0011730408, -0.0065392139, 0.0520751216, -0.0046359729, -0.0079945773, -0.00002969, -0.0104532149, -0.0229491275, 0.0054509174, -0.0240077078, 0.0603899658, -0.0273630079, -0.0185105987, 0.0005930403, -0.031973958, 0.0215040445, 0.0949065387, 0.0239529647, -0.0647485852, -0.0137128271, -0.0268144589, 0.0181138329, 0.0170369912, 0.0068973945, 0.0461588204, -0.0268317759, -0.0256000217, -0.0526181646, -0.1148861796, 0.0289377701, 0.0280079097, 0.0251915827, 0.045497071, -0.0375822484, -0.0099911327, -0.0165729448, 0.0703206956, -0.0260783918, -0.0017522856, -0.0744033381, 0.0013817257, -0.0078871259, -0.0061336961, -0.007258499, 0.019733496, -0.10232535, -0.0814304128, 0.0480226874, 0.0405010171, 0.0359882861, 0.020139562, -0.0012280991, -0.0586019754, 0.0421695858, 0.0108652525, -0.0556038208, 0.0315656066, 0.0429216735, -0.0184088722, 0.0101006161, 0.0131191006, -0.0231672786, 0.0121684568, 0.033507362, 0.0037154278, -0.0135563277, -0.0167560428, 0.0199516099, 0.0523742624, 0.08841113, -0.0383138582, 0.0204495769, -0.059946131, 0.0004850868, -0.0299258083, 0.0003691148, -0.0531436019, 0.0024158778, 0.0323426649, 0.023616191, -0.0429618731, 0.0055043893, -0.0596330985, 0.0692907721, -0.0375854447, 0.0002130782, 0.0251692012, -0.0046464591, 0.0523137599, 0.0273800194, 0.0010004995, 0.0141399493, 0.0039415653, 0.0099198045, 0.0026403698, 0.0419068001, -0.0003669055, 0.033356227, 0.0111959055, 0.0463816784, -0.0416740254, -0.0347087719, -0.0276052952, -0.000939725, 0.0175280087, -0.0227850378, 0.0639655069, -0.0194442179, 0.0197973195, -0.0346856043, -0.0273412149, 0.0006560512, -0.0098091243, 0.0601380467, -0.0018257961, -0.0636917055, 0.00994852, 0.092676118, 0.018039139, 0.066494897, -0.0501354933, 0.0100997239, -0.0030327202, -0.0274640638, 0.0253684819, 0.0125123402, -0.0248043351, -0.0289270505, -0.0639412701, -0.0908983722, -0.0336417072, -0.0187532343, -0.0034993642, -0.0324690528, 0.024576582, 0.0591590367, -0.0188251436, 0.0297500119, -0.0323135331, -0.0249784086, 0.0190838408, -0.0235082917, 0.0041302317, -6.285727554e-33, -0.0114547089, -0.0109018395, 0.0101365903, 0.008223854, -0.0167931132, 0.0214513224, 0.0070337094, 0.0107097272, -0.0209823698, -0.0100033041, -0.043933019, 0.020050602, 0.0207210593, 0.0141993649, 0.0104237022, -0.0030670292, 0.0532304868, -0.0286466647, -0.0391918905, -0.0065051182, 0.0114355218, 0.0337133892, 0.058897119, -0.0336870551, 0.0481217429, -0.0324466228, -0.0296761449, -0.0236428212, -0.0236866213, 0.0574231856, -0.0207288973, 0.054039564, 0.0362596363, -0.0461282209, -0.0401206613, 0.0200254414, -0.0405015536, -0.0438774303, 0.0324318521, 0.0200417005, -0.0135402959, -0.0090829656, 0.0681725815, -0.0355525613, -0.0446435325, 0.024597073, 0.0032106319, -0.0268955026, -0.0321183912, -0.01610169, -0.0240240581, 0.0171266422, 0.0367016457, 0.0198894944, 0.0467955582, 0.0294470787, 0.0025031501, 0.0262896195, -0.0384514891, 0.0243005343, 0.055439949, 0.0408181287, 0.0661533773, 0.0059304689, 0.0054869307, 0.0633723661, -0.000327045, 0.0219793208, 0.0300650001, -0.0224888343, 0.0626500696, -0.0020624802, 0.0120154861, 0.0086079016, 0.0521830432, -0.0483331122, -0.0480701104, 0.0379188731, -0.009781519, 0.019417135, -0.0236209612, -0.0180602986, -0.0191662107, -0.0694512874, -0.0581803843, -0.0433671996, -0.0220378973, -0.0432122089, 0.0517789796, -0.021203896, 0.0013708103, 0.0033839378, 0.0033578523, -0.0121899741, -0.055912558, 0.001416261, -0.0311401375, 0.0146706188, -0.0033034454, 0.0504244678, -0.0590254515, -0.029963281, 0.0072977175, 0.0047582565, 0.0105895568, 0.0190726407, 0.0116110826, 0.0378731787, -0.0922627822, 0.016956225, -0.0301670209, 0.0435853936, 0.0366771109, 0.0082878219, 0.0691621974, -0.0195847657, 0.0255156457, 0.0346195027, 0.0486812666, -0.0098156007, -0.0473707467, -0.0081481691, 0.0005573527, 0.0086372066, -0.011293184, -0.0287236348, -0.0115076173, 0.0553270839, 0.0594845712, -0.0377306715, -0.0065025459, -0.0026535906, 2.633e-7, 0.0673039705, 0.0501512252, 0.0071557513, -0.0020603328, 0.015324967, 0.0014266068, -0.0423898324, 0.0159831624, 0.0153787648, 0.0102143167, -0.0038733175, -0.0321151987, 0.0448838174, 0.0235670265, -0.0693249926, -0.0026263117, -0.028203208, 0.0145790111, -0.0655178875, 0.0199252591, 0.0125537217, 0.0917588472, -0.0189642105, -0.0388122573, -0.0308614653, -0.0609058216, 0.0433020219, -0.0569940023, -0.0208908357, 0.0286096632, 0.0786287412, 0.0244317707, 0.018382825, 0.0406869575, -0.0256673079, 0.0128978277, 0.0222659372, 0.0298643876, -0.0144094387, -0.0216818918, -0.0021918153, -0.0537482575, -0.0283290464, -0.0662070215, 0.0848174915, -0.0106294062, -0.0165481139, -0.0132395262, -0.0345638059, -0.0571413599, 0.0456672013, -0.0334150679, -0.0062910579, 0.0151790474, 0.0101561993, -0.008781285, -0.0287501235, -0.0484531336, 0.0100069782, -0.0010648841, -0.0116576366, -0.0789560005, -0.0131329847, -0.0041216547, 0.0149457073, -0.0802809298, 0.0064925086, 2.746039751e-34, 0.0372381657, -0.0550847985, 0.0525990501, 0.0055847294, 0.0109185474, -0.0038456824, 0.0090324366, 0.0371897891, -0.0360093899, -0.0689318478, -0.0050450484 ]