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
listlengths
768
768
http://arxiv.org/abs/2403.01616v2
http://arxiv.org/pdf/2403.01616v2
Towards Comprehensive Vietnamese Retrieval-Augmented Generation and Large Language Models
2024-03-03T21:24:35
2024-03-05T18:15:49
Nguyen Quang Duc, Le Hai Son, Nguyen Duc Nhan, Nguyen Dich Nhat Minh, Le Thanh Huong, Dinh Viet Sang
cs.CL
cs.CL
This paper presents our contributions towards advancing the state of Vietnamese language understanding and generation through the development and dissemination of open datasets and pre-trained models for Vietnamese Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs).
[ -0.0912007466, -0.6558932662, 0.8116167188, -0.0336331166, -0.1336723417, 0.0565043353, -0.3218512237, -0.0296074804, 0.0959475562, 1.1501232386, -0.1698471457, -0.4931606054, -0.5884170532, 0.1764661968, -0.2822186947, 0.5985913277, -0.1993470192, 0.0468204319, -0.0978902802, -0.1397713572, -0.4221580923, -0.7302448153, -0.6520895362, -0.335881114, 0.5296115279, 0.4576868713, 0.4062723219, 0.4855283797, 0.5768713355, 0.2744639516, -0.1128251702, 0.3115753531, -0.9050289392, 0.2924082577, -0.4302117527, -0.5328250527, -0.6032170653, -0.2384902984, 0.8975774646, 0.5634845495, -0.1805541813, 0.3135067821, -0.1211223453, 0.8093831539, -0.8983857036, 0.0491205081, -0.6550969481, -0.3222381473, -0.2650834024, -0.4226211607, -0.5507460237, -0.2822196186, 0.0595198497, -0.5338177681, 0.2209822685, -0.4691419601, 0.5821705461, 0.094687365, -0.8944125772, -0.2610158026, -0.8320732117, 0.8720850348, -0.3777196407, 0.5815064311, 0.6075347662, 0.418282479, -0.2556043565, -0.8849298954, -0.37325418, -0.3378201127, 0.0399038047, 0.3260038495, 0.044138819, 0.2393791527, 0.0520094931, 0.6664583683, -0.5803058743, 0.1202317178, -0.4006486535, -0.0063949209, 0.7846961021, 0.1162686199, -0.0000619638, -0.1745722741, -0.3330699503, 0.2774578929, -0.9382700324, -0.4975103438, 0.000706813, 0.4347113967, -0.1786524206, 0.9258019328, -0.2734852433, 1.0966295004, -0.4943913817, -0.3017041981, 0.4160594642, -0.711797893, -0.4219282269, -0.1506364644, 0.3572033346, -0.143810764, 0.4052627385, 0.0662798062, -0.4760793447, -0.0735527873, 0.2399878651, -0.3386822045, 0.3091935217, 0.1956878453, -0.5483566523, -0.1135297865, 0.5002843738, -0.5460221767, -0.4051684737, -0.6658568382, 0.6247130036, -0.0692839175, -0.6432649493, 0.2957704067, -0.260378629, 0.3287013769, 0.3443041742, -0.3094829023, 0.0141546475, 0.8102118969, 0.8659284115, -0.2259368896, -0.3730471134, -0.6508206725, 0.579359591, -0.2724950016, 0.6632406116, -0.6256600022, -0.7333186865, 0.4285248816, 0.0417093858, 0.1163565442, -0.8706259727, 0.577911973, -0.6846555471, 0.0936004966, 0.0761248991, -0.5914855599, -0.1329737604, 0.1675699055, -0.6597595215, 0.8801772594, 0.5833454132, -0.7144220471, -0.1078418121, -0.651386261, -0.1794906706, 0.1398312598, 0.1014452204, -0.0608814768, 0.4172411859, 0.0783987641, 0.5215526819, -0.3705587089, 0.3988784254, -0.0173218679, -0.3597063422, 0.1757469475, -0.2663024664, 0.837182641, 0.6129400134, 0.0349013433, 0.2738344669, -0.9132987261, -0.150774166, 0.3077798784, -0.585172832, -0.5222659111, -0.313513428, 0.1765556037, 0.0936469361, 0.5738819242, -0.2749784589, 0.3454063535, 0.0378749892, 0.0311177392, 0.6662234664, 0.1029466912, 0.4930276275, -0.0289919619, 0.7331790328, 0.3212318122, -0.1167792678, -0.8126232028, -0.1079534218, -0.8547003865, -0.3610437512, 0.2649448514, 0.4907306433, -1.1485300064, 0.4054838419, -0.3405084014, -0.4613506794, -0.7918708324, 0.4051761627, 0.4397565126, 0.5151048303, 0.2664287686, -0.1815485805, -0.9942324162, -0.704767406, -0.1310469061, -0.2461648136, -0.3811295331, 0.3140186071, 0.4501492083, -0.7392372489, 0.8054335117, -0.5918134451, -0.1147861481, -0.4633880258, -0.0881003961, 0.2192908525, 0.2462502718, 0.4511128366, -0.9434858561, -0.5612721443, 0.1837413758, -0.7485745549, -0.3097239435, 0.4225943387, -0.2281129211, 0.3327783942, 0.6505596042, -0.452257216, 0.4363163114, 0.5282669067, -0.3880594969, 0.6134490371, -0.2207764387, 0.0669207275, -1.3110984564, -0.0325311087, -0.1055692062, -0.3995227516, -0.8553471565, 0.2745430171, -0.2080191374, 0.0266488269, -0.5136069655, 0.8732424974, -0.5651953816, -0.1598335654, -0.5633804798, 0.1812078506, -0.0726844743, -0.2872287929, 0.3435813487, 0.9979069829, 0.6557230949, -0.8267067671, 0.2883788943, 0.0278943237, -0.1450267136, 0.6299666166, -0.6693267226, 0.0647921562, -0.3132809699, 0.1888526231, -0.5820419788, -0.3153539598, -0.1691232771, -0.4059692621, 0.3004452884, -0.22165896, -0.3602139354, -0.3816449046, -0.0774101391, 0.3238165379, 0.4770795703, -0.6015595198, 0.3674014211, 0.673581183, -0.0294156075, -0.5608174801, -0.318402499, -0.0495957844, -0.26065135, -0.4460816085, -0.0825106129, 0.250290513, -0.7541213036, -0.1861993074, 0.3316248953, -0.2717030942, -0.2571361661, -0.237123847, 0.2032461017, -0.7092295885, 0.4003403485, -0.3732222915, -0.0758100674, -0.1207623258, -0.564471364, 0.702066958, 0.1231468543, -0.076624237, -0.0675098673, 0.259270817, 0.3313694, -0.5338905454, 0.8208095431, 0.6391940713, -0.1565479636, 0.0456791557, -0.7410664558, 0.1302334815, -0.4714647532, 0.4316577613, -0.4775228202, -1.3575890064, 0.245515272, -0.2681114674, -0.1556823552, 0.5146973133, 0.9688739777, 0.1496335566, 0.7397313118, 1.1185668707, -0.0942405388, 0.5043709278, -0.1770420671, -0.2812898159, -0.823946774, 0.0944907814, -0.6663485169, 0.2960334718, -1.0251698494, -0.924334228, 0.1997885853, 0.1274502426, -0.6159895062, -0.0004796982, -0.3468055129, 0.2431137264, 0.6472514272, 0.0836766735, 0.563781023, 0.0327855013, 0.1648451984, 0.1302752048, -0.5256280303, -0.6169929504, 1.3719767332, 0.2859732211, 0.7806671262, 0.0587956384, 0.8248223662, 0.0936119184, 0.1346241087, -0.616917789, 0.3640651703, -0.1921318322, -0.5417227149, -0.2556465268, -0.6963513494, -1.1998217106, 0.1196176037, 0.1203251779, -0.4328470528, -0.0920884162, -0.1638095677, 0.4157792926, 0.2119446993, -0.7262750864, 0.5197720528, -0.2291545272, -0.0443289131, -0.3688597381, -0.4647515714, 0.5568286777, -0.1566237509, 0.047131069, 0.1290079802, -0.4562245309, 0.6075998545, -0.1762853116, 0.4289248884, -0.2522783875, -0.312782526, 0.8367436528, -0.0333662443, 0.2074041069, 0.2571146786, -0.2672627866, 0.0381409116, -0.4202997386, -0.6455119848, -0.3018738329, 0.5660949349, -0.7867473364, -0.6828218102, -0.2930299938, -0.5112317204, -0.1013563424, 0.3911904395, 0.0850958154, -0.0072432566, -0.3748815954, 0.2036527991, 0.8924332261, -0.5028660297, -0.0104610762, 0.7643082738, -0.6096299291, -0.534224391, 1.0552641153, 0.165849939, 0.3455460072, 0.4810410142, 0.0680763647, -0.2408868074, -0.403269738, 0.1914553195, 0.7226391435, -0.542175293, -0.2129698992, -0.5459087491, -0.4251101315, -0.6118142009, 0.0307544321, -0.3294552267, -0.4568621218, -0.345381707, -0.3204747736, 0.6275519133, 1.4332499504, -0.3876576722, 0.6489182711, -1.049529314, 0.6286103129, 0.1115194932, 0.4354226589, -0.1224532276, -0.7259711027, -0.4310172498, 0.0209749546, -0.3094196618, -0.6199376583, 0.1836704016, 0.0734453648, 0.414747417, 0.2193003297, -0.2548050284, 0.5515217185, -0.4730668366, 0.7536542416, 0.014116101, -0.7935632467, 1.0331751108, -0.5945574641, 0.531829834, 0.2997434735, 0.5458420515, -0.5724980831, 0.012414813, -0.5415426493, -0.7906546593, 0.5565333366, 0.1556531787, 0.0115769524, 0.112565279, 0.4521907568, 0.1737190634, 0.3897941113, -0.4385692477, -0.1813814044, -0.0566240624, -0.0217318982, -0.5599052906, -0.632550776, 0.1692682654, -0.2319764197, 0.6105421185, -0.1073370799, 0.2843092084, 0.0314693525, 0.0143918553, 0.0327916779, 0.3743440509, 0.5631173849, 1.0662641525, -0.0992273837, 0.0038433766, -0.039717488, -0.7845280766, 0.3661474884, -0.1004977673, -0.0798857287, 0.2320169359, 0.6034166813, 0.6641178727, -0.3581228554, -0.7136390209, 0.3131228983, -0.0362849012, 0.0588225238, -0.4592734873, 0.0085624037, 0.0606734566, -0.0205063894, 0.5137935877, -0.718732357, -0.098374255, -0.6071975827, 0.4113588929, 0.2270650417, -0.4866915047, -0.3277264833, 0.388253659, 0.0844514892, -0.2215771973, 0.8459256291, 0.1950455904, -0.566074729, 0.3978942335, 0.6465523243, 0.9254116416, -0.5635384321, 0.3982085288, 0.5131245255, 0.2154969424, -0.1270604283, 0.7979735136, 0.0120394835, -0.4259885252, -0.67932266, -0.846382618, -0.3107567728, 0.2418183982, -0.8119126558, 0.5065194368, 0.1536265314, -0.1340925246, -0.5933372378, 0.0634176955, -0.6235805154, 0.2763533294, 0.1691044569, 1.2281761169, -0.4477214813, 1.060287714, 0.769108057, -0.45054847, -0.5318682194, 0.0672895163, -0.2292069942, -0.7678849697, 0.8807822466, -0.0231520366, 0.0982347429, 0.1235225573, -0.6984170675, -1.0142457485, 0.9584498405, 0.495927155, -0.3659622371, -0.0565183721, 0.4293666482, 0.6267533302, -0.5163104534, 0.2644914091, 0.7976481318, 0.5013988018, 0.0406414904, -1.1271692514, -0.4526415169, -0.0160781108, 0.2864442766, 0.1433005035, -0.6114652157, 0.8269199133, -0.1024196222, 0.029747121, 0.2083017975, 1.0238026381, 0.5345232487, 0.2914989889, 0.1415246278, 0.6793344617, 0.5900635123, -0.1469037384, 1.0655732155, 0.0793404132, 0.1734261513, 1.1490068436, -0.1497620046, 1.025911212, 0.4185048342, -0.1420451999, 0.1381488591, 0.5322957039, 0.4111628234, 0.2334641218, 0.2693252861, -0.5134502053, 0.0044580046, -0.6514481306, -0.6330822706, 0.7253316045, 0.6288478374, -0.3638792932, -0.0429825485, 0.1995014101, -0.1560551375, 0.3108135462, -0.709698081, 0.8619968295, 0.4027586281, -0.5407698154, 0.7151194811, -0.2451935261, 0.6109390259, -0.6396487355, -0.2529866695, -0.0692091733, 0.1705894023, -0.1876619905, -1.1033655405, 0.2884019911, 0.1023405418, -0.1165389121, -0.071463488, 0.9350726008, -0.5988242626, -0.5048828721, 0.5099418163, 0.8430857658, 0.1285178065, 0.0334428586, -0.5214431286, 0.3786984682, -0.2213707566, -0.2910828888, 0.1982335299, 0.7056480646, 0.0400872938, 0.5193235278, 0.3790463507, 0.2527195811, 0.2316168845, 0.1144085824, 0.8863637447, -0.7661288381, -0.3410950303, -0.5676907897, 0.5311796069, 0.2429192215, -0.0301542729, 0.8412349224, 0.656308651, 1.2814053297, -0.2285297066, 1.005439043, -0.0076767397, 0.8809912801, -0.5232429504, 0.6621593833, -0.6785786748, -0.0180130806, -0.1363056451, -1.1977652311, -0.2523905933, 0.2672779262, -0.1169794127, 0.2052657157, 0.1749460101, 0.6035784483, -0.0093655512, -0.483707428, 0.3434460461, 0.6447253227, 0.3698031008, 0.2643403709, 0.9241319895, -0.2241041511, 0.1822934151, -0.1778357774, -0.2154778242, -0.1090549976, -0.4604101479, -0.7991374135, -0.8292375207, 0.1728766263, -0.3900047541, 0.180664897, 0.7653850317, 0.2656426728, -0.7040610909, -0.809581995, -0.0024336423, 0.2721075118, 0.3364539444, -0.2425418943, 0.4677984715, -0.4378794134, -0.8408195972, 0.4190069735, 0.2799300849, 0.0942915305, -0.5892030001, -0.3549013436, -0.5892779231, -0.0468435511, 1.2399932146, 0.2733166516, -0.5441045165, 0.0569204427, 0.0801509544, -0.1732015014, 0.1343427151, 0.9721772671, -1.0579066277, 0.681732595, 0.7046340108, 0.7466904521, 0.2331733108, 0.0403862074, 1.0362514257, -0.5611245036, 0.4823469818, 0.128940016, 0.2486745268, 0.4328738153, -0.3530308604, 0.9062876701, 0.0437102094, -0.7111610174, -1.0917038918, 0.4519913197, -0.6849581599, -0.1273964942, 1.2056646347, -0.0451962575, -0.4116236269, -0.139816761, -0.3355552554, 0.5219747424, 0.0083040204, 0.2307737619, 0.2948995233, 0.0375638381, -0.0783245936, -0.7725681663, 0.3667974174, -0.058920227, -0.7884704471, 0.0542106554, 0.4859579206, -0.2960698307, 0.052669026, 0.840484798, -0.163588956, 0.353282392, -0.1869714558, -0.1829186976, 0.3504205048, -0.5605400801, -0.6047155857, -0.1378268003, 0.3775731325, 0.1919833422 ]
http://arxiv.org/abs/2403.01599v1
http://arxiv.org/pdf/2403.01599v1
SCHEMA: State CHangEs MAtter for Procedure Planning in Instructional Videos
2024-03-03T19:53:06
2024-03-03T19:53:06
Yulei Niu, Wenliang Guo, Long Chen, Xudong Lin, Shih-Fu Chang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
We study the problem of procedure planning in instructional videos, which aims to make a goal-oriented sequence of action steps given partial visual state observations. The motivation of this problem is to learn a structured and plannable state and action space. Recent works succeeded in sequence modeling of steps with only sequence-level annotations accessible during training, which overlooked the roles of states in the procedures. In this work, we point out that State CHangEs MAtter (SCHEMA) for procedure planning in instructional videos. We aim to establish a more structured state space by investigating the causal relations between steps and states in procedures. Specifically, we explicitly represent each step as state changes and track the state changes in procedures. For step representation, we leveraged the commonsense knowledge in large language models (LLMs) to describe the state changes of steps via our designed chain-of-thought prompting. For state change tracking, we align visual state observations with language state descriptions via cross-modal contrastive learning, and explicitly model the intermediate states of the procedure using LLM-generated state descriptions. Experiments on CrossTask, COIN, and NIV benchmark datasets demonstrate that our proposed SCHEMA model achieves state-of-the-art performance and obtains explainable visualizations.
[ 0.074874498, -0.7315327525, 0.6144663692, -0.0975608528, -0.2498895973, -0.4650957584, -0.0737338811, 0.0985084847, 0.4645844102, 0.6097337604, -0.6398948431, -0.4312942922, -0.4960028827, -0.084189564, -0.605804503, 0.9274430871, -0.4912959337, 0.2123574913, -0.0568197593, 0.1609645933, -0.3832197487, 0.0962057486, -0.2438430786, -0.3336380422, 0.2750530243, 0.4549435079, 0.3897575736, 1.02214849, 0.4298604429, 0.3449478149, -0.0610229485, -0.0480545461, -0.4049009383, 0.4029017985, -0.3463895917, -0.5175670385, -0.3005675972, -0.3304430246, 0.7989681363, 0.6867315173, -0.4248749614, 0.1250151992, -0.2740238309, 0.5818055272, -0.5900917053, 0.6620052457, -0.6456407905, 0.2152375132, -0.0260314047, -0.4474801719, -0.2341573089, -0.1308905184, 0.1545102, -0.8485988975, 0.3591890931, -0.2554239929, 0.4340563416, 0.3861555755, -0.2189093828, -0.3023796082, -1.0825006962, 0.2298996598, -0.418417573, 0.5956591964, 0.1096931845, 0.3266297579, -0.3276278973, -0.7149393559, -0.6764960289, -0.0769042969, 0.2270080447, 0.0178760029, 0.0061853258, 0.2497657537, 0.7857096791, 0.3178262711, -0.2980131507, 0.0115040457, -0.7017128468, -0.3090792596, 0.5049667954, 0.6183519959, 0.2083071917, -0.2560915649, -0.519884944, -0.186962083, -0.820463717, 0.1246800199, 0.0768689364, 0.319103241, -0.0954476073, 0.7166763544, -0.4505178928, 0.825250566, 0.1045247838, -0.4751313329, -0.2363827825, -0.382060647, -0.6168380976, 0.0597118959, 0.3758529723, 0.4089096785, 0.016577173, 0.2935188115, -0.0119618699, 0.1894139498, 0.3176165819, -0.9493980408, -0.287466079, 0.0042349873, -0.2961657643, 0.063889347, -0.0251567066, -0.3613334894, -0.6184930801, -0.8284496069, 0.3178443611, -0.5679063797, -0.0646924824, 0.1393919587, 0.0442079492, 0.1593561023, 0.7863039374, -1.0743396282, 0.4535726011, 0.7035915852, 0.4037924111, -0.0599785075, -0.4404701591, -0.4761402309, 0.3875625432, -0.4889476597, 0.7464074492, -0.6184763312, -0.3860792518, 0.529992342, 0.0538804382, -0.0182567667, -0.376500845, -0.1337141097, -0.2740269899, -0.1951048225, -0.4496751726, -0.8688426018, -0.0682259724, 0.0528033637, -0.4971272647, 0.7136355639, -0.0409656577, -0.5745211244, 0.750546515, -0.7523934245, -0.6356991529, -0.080263406, -0.576644361, -0.0338374339, 0.0047132359, -0.2485774606, 0.5778226256, 0.1652095765, 0.2903020382, 0.1044914424, -0.3815997541, 0.2775856256, 0.0814814642, 0.2579752803, 0.0662376583, -0.0971168131, 0.5604367852, -0.7337062359, -0.4525224566, -0.3559006155, -0.3426740766, -0.1924297214, 0.2043791413, -0.4478867054, 0.4120038748, -0.1015161127, -0.2636570334, 0.4125460684, 0.0240702741, 0.4887872636, 0.6566156745, 0.2781425416, 0.9707883596, 0.2161262184, 0.4454000592, 0.198486805, 0.2727553248, -0.6161957979, -0.2556889951, -0.8871326447, 0.1206559092, -0.2134789377, 0.4295583069, -0.7216998339, -0.3156360686, -0.0902389884, -0.3736844063, -0.1494537294, -0.1069637761, 0.1924541593, 0.8810645342, 0.5401978493, -0.2033963948, -0.2626385987, -0.8510039449, -0.1670733541, -0.2464883327, 0.0554880984, -0.02251352, 0.8175471425, 0.3100289106, 0.5587385297, -0.783420682, -0.3791613281, -0.2439590394, 0.127643168, -0.0480095856, 0.2146679163, -0.1534980983, -0.5430634022, -0.1849283278, -0.3503650725, -0.5061656833, 0.1942524463, -0.568582654, -0.1323809624, 0.2473440617, 0.8701618314, -0.4728725255, 0.88259691, 0.0467896648, -0.1209992617, 0.5387145877, -0.3181339502, 0.2614546716, -0.9186404347, -0.3232589066, 0.1566937715, 0.4707728624, -0.6895287037, -0.0203497112, 0.3144530654, -0.2745765448, -0.7940737009, 0.3282346427, -0.3378506303, -0.5047547817, -0.0005020649, 0.0619953647, -0.3150516152, 0.551800549, 0.4770061374, 0.6110385656, 0.7571771741, -0.7799569964, 0.0597704016, 0.306632638, -0.2733648419, 0.8304874301, -0.2096576095, -0.3875540793, 0.1104518026, 0.4770563841, -0.7539045811, -0.3424478173, 0.495693475, -0.0467959791, 0.3886913061, -0.3731103837, -0.3847727478, 0.040200565, -0.0114268893, -0.1066254899, 0.0316850469, 0.0718958154, 0.5981405973, 0.319159627, -0.032622993, -0.5526313782, -0.5802417994, -0.1798427552, -0.0623009168, -0.4466769993, 0.4878407717, 0.2144025862, -0.2752675414, -0.0208042059, -0.5716733336, -0.1877066642, -0.2113894224, 0.5671105385, 0.2426628619, 0.0065636882, 0.3807574809, 0.4243116677, 0.0834505558, 0.4067731798, -0.2308587879, 0.3813976347, 0.1904044896, -0.3334515989, -0.7500948906, 0.4346367121, 0.3620224297, -0.1126538441, 0.370087564, 0.1969664693, -0.4840956032, -0.1818859577, -0.1112066507, -0.4319511652, -0.4062567949, 0.520735085, -0.2061156332, -0.6125336885, 0.3724580109, -0.0733727217, 0.3116821945, -0.0077699353, 0.3975189626, -0.452162832, 0.5239986181, 0.5600583553, 0.4867016971, 0.7551102042, -0.5253047347, -0.0220851898, -0.8622741699, -0.4003826082, -0.2209129035, -0.2929210365, -0.6181779504, -0.922678411, 0.4369120598, -0.0476734862, -0.4240395129, 0.4653989375, -0.007972491, 0.3010327518, 0.2032772601, 0.033667054, 0.2455144823, 0.3261474073, -0.0739858821, -0.3613183498, -0.7084386945, -0.248813659, 1.032099843, 0.0120082963, 1.080704093, -0.1994747072, 0.9285525084, 0.0284539741, 0.1017418131, -0.8523907661, 1.1004668474, -0.029508017, -0.2500509322, -0.638720274, -0.0139201526, -0.8555995226, 0.1851459146, -0.4247615337, -0.5395953059, 0.0437859707, 0.4668692052, -0.0435355566, 0.4560922384, -0.2249860466, 0.5526202917, 0.0559459254, -0.6163849831, -0.5769172907, -0.6423074007, 0.2000515461, 0.4753341675, -0.0408449173, 0.2708697915, 0.0552522615, 0.775415957, -0.6866220236, 0.9065604806, -0.0250715595, -0.1621320397, 0.2937025726, 0.5280227661, 0.4601934552, -0.2124619335, 0.3036250472, -0.0693941787, -0.3504915535, -0.0737501159, -0.7534900904, 0.5314123034, -0.1719778776, -0.737680614, -0.528873384, -0.68595016, -0.0163082164, 0.1514852643, 0.0002301556, 0.4416386783, -0.1355253458, -0.1208849996, 0.8495291471, -0.0353974253, 0.3039728105, 0.7169654965, -0.1243854687, -0.0455592647, 0.7222853899, 0.505659163, 0.4896831512, 0.5297909975, -0.0073891198, -0.2194428444, -0.4796913564, -0.4845575988, 0.4315160215, -1.0141369104, 0.0976250544, -0.1050617322, -0.0165574066, -0.3726824522, -0.1970801204, -0.2129788399, -0.4891454577, -0.2960546315, -0.2007030547, 0.1100830808, 0.7993587255, -0.0564882904, 0.0486237928, -0.3373523951, 0.2062998414, 0.2741096616, 0.2278159857, -0.2789194286, -0.4040457904, -0.3303853273, -0.2193224281, -0.3502513468, -1.1509041786, 0.0456916988, -0.0047675855, 0.450581193, 0.5946012139, -0.2209612876, 1.0779043436, -0.7203111649, 0.7497274876, 0.3296860158, -0.734896183, 1.01057446, -0.2710446715, 0.2130604237, 0.1554402113, 0.4366875589, -0.8215033412, -0.3731575012, -0.6553413272, -0.6975392699, 0.6778395772, -0.0568809956, 0.0569136962, -0.0372786783, 0.2912505567, 0.0994338393, 0.3217627704, -0.3320123553, -0.2183408439, -0.1738871485, 0.2907597721, 0.3809383214, 0.0266221687, -0.4969571829, -0.0066957776, 0.2741183639, -0.1701129675, 0.089571774, 0.1610764265, -0.1953676045, -0.2608017027, 0.4310142398, 0.8855267167, 0.8855516315, 0.2613027692, -0.0069421586, -0.0046571, -0.4679899514, -0.0730664581, 0.0280611124, -0.4725783467, -0.0900450498, 0.491315484, 0.9814204574, 0.7790589929, -0.2284857333, 0.3310332596, 0.344053477, -0.3477541506, -0.1724838763, 0.4674766362, 0.0017563538, 0.3335261345, -0.0197955705, 0.0744172707, 0.3679189086, -0.6295050979, 0.0464478396, -0.0382186957, -0.3329579532, -0.3220006526, 0.5726886392, 0.1542760283, -0.5886102319, 0.4578264654, 0.0479683764, -0.2361701131, 0.5488417745, 0.5433450937, 0.310718894, -0.475107491, 0.7726569772, 0.4885413349, 0.1511349976, -0.2243344635, 0.5637329221, -0.4476847947, -0.3022074699, -0.2881133556, -0.1899478137, -0.5366905928, 0.132020846, -0.8884771466, 0.4625096321, -0.4022634923, 0.2253818959, -0.3062617481, -0.2648453712, -0.6726087332, 0.3474335968, 0.062021073, 1.0541071892, -1.2431765795, 0.5736819506, 0.6030616164, -0.6844855547, -1.1099225283, -0.0585450493, 0.1382246464, -0.6542232037, 0.7271419168, -0.3366514146, 0.0282171536, -0.5149635673, -0.441514194, -0.8291318417, 1.3298866749, 0.0847269595, -0.6382568479, -0.1277316064, 0.3071547747, 0.6636772156, -0.367336005, -0.2746294439, 0.4391658902, 0.097399123, 0.2469632775, -0.5287008286, 0.0518468544, 0.229442209, -0.0285860877, 0.4322941899, -0.2189541757, 0.9222592711, -0.5739545226, -0.3799491525, -0.2977187634, 0.7855768204, 0.518106401, 0.5939290524, 0.5875153542, 0.4813405275, 0.6168665886, -0.1254439503, 0.7565433383, -0.115478456, -0.0179451685, 1.4683727026, -0.3848083019, 0.9466906786, 0.844925046, -0.2023185343, 0.6905370951, 0.6222125292, 0.1292257458, 0.3357954919, 0.4258678854, 0.1220238581, -0.2919252217, 0.1223221943, -0.3218990862, 0.4040978253, 0.6772508621, -0.5535821319, -0.2934458852, -0.1426237822, 0.3614397943, 0.0606399253, -0.5105181932, 0.561606288, -0.2417031676, -0.9363544583, -0.0463035367, -0.5493313074, -0.2345058173, -0.7273356915, -0.556294322, -0.3463439941, -0.1658161134, -0.2626462579, -1.0967880487, -0.0310830679, -0.1668975353, -0.0367820375, -0.31533131, 0.4873833656, -0.7115671635, -0.2368526906, -0.0434307046, 0.1501108259, 0.295562923, 0.3562590182, -0.5739264488, 0.0870528296, -0.2063868493, -0.0497275405, 0.3855879605, 0.3212810159, -0.5158173442, 0.653635025, 0.5117753148, 0.3320832849, -0.0154433213, 0.2039946616, 0.7927575111, -0.4556042254, -0.723996222, -0.3489379287, 0.6952605844, -0.1493245959, -0.3670408428, 0.2377268523, 0.4009829462, 1.087869525, -0.2214278579, 0.4173895717, 0.0195711888, 0.1161248609, -0.8728733659, 0.292431891, -0.3950504363, 0.3622208238, -0.4061133564, -0.7766825557, -0.1041389778, 0.5468125343, -0.4433671534, -0.3883462846, 0.8438156843, 0.9001460075, 0.1018389985, 0.0538436882, 0.1659054011, 0.2537285984, 0.245733127, 0.3216351271, 0.6414505839, -0.208186537, 0.4269884527, -0.330299139, 0.0087285694, -0.378839016, -0.9075179696, -0.4223382473, -1.0387603045, -0.5514327288, -0.2409378588, -0.0576468185, 0.7370848656, 0.5781912208, -0.356109947, -0.6299838424, -0.1571723074, 0.0766097307, -0.2383362353, -0.1877542734, 0.3795078397, -0.1216411591, -0.4573689401, 0.357521385, 0.5784219503, -0.135585472, -0.4567116499, -0.0934394449, -0.133963719, 0.0863499343, 0.538202107, 0.514977932, -1.118336916, -0.3006409109, 0.2336680442, 0.0749428496, -0.1056966931, 1.3746327162, -0.4732083082, 0.8038547635, 0.5309318304, -0.0200249664, 0.9002074003, -0.3195160031, 0.2817093432, -0.3747501373, -0.0651284978, -0.1513440609, 0.5194812417, 0.144491747, -0.1490650028, 0.5265461206, 0.0651167557, -0.3733704984, -0.5833844543, 0.6784105301, -1.0175175667, -0.0892468318, 1.0803726912, -0.1162579879, -0.1591923237, 0.2586507201, -0.1982646734, 0.4985826313, -0.367208302, 0.866602242, 0.6369160414, -0.8021679521, 0.0894110948, -0.3876116574, 0.6419492364, 0.0600500442, -0.7955810428, 0.1074551865, 0.8160776496, 0.4358977079, 0.1876723021, 0.8241169453, -0.0018572436, 0.4894630015, 0.1192031577, -0.2769205272, -0.091635935, -0.7567127943, -0.2264524251, -0.0687078685, -0.5580821633, -0.2730110884 ]
http://arxiv.org/abs/2403.01580v1
http://arxiv.org/pdf/2403.01580v1
Enhancing Neural Machine Translation of Low-Resource Languages: Corpus Development, Human Evaluation and Explainable AI Architectures
2024-03-03T18:08:30
2024-03-03T18:08:30
Séamus Lankford
cs.CL
cs.CL, cs.AI
In the current machine translation (MT) landscape, the Transformer architecture stands out as the gold standard, especially for high-resource language pairs. This research delves into its efficacy for low-resource language pairs including both the English$\leftrightarrow$Irish and English$\leftrightarrow$Marathi language pairs. Notably, the study identifies the optimal hyperparameters and subword model type to significantly improve the translation quality of Transformer models for low-resource language pairs. The scarcity of parallel datasets for low-resource languages can hinder MT development. To address this, gaHealth was developed, the first bilingual corpus of health data for the Irish language. Focusing on the health domain, models developed using this in-domain dataset exhibited very significant improvements in BLEU score when compared with models from the LoResMT2021 Shared Task. A subsequent human evaluation using the multidimensional quality metrics error taxonomy showcased the superior performance of the Transformer system in reducing both accuracy and fluency errors compared to an RNN-based counterpart. Furthermore, this thesis introduces adaptNMT and adaptMLLM, two open-source applications streamlined for the development, fine-tuning, and deployment of neural machine translation models. These tools considerably simplify the setup and evaluation process, making MT more accessible to both developers and translators. Notably, adaptNMT, grounded in the OpenNMT ecosystem, promotes eco-friendly natural language processing research by highlighting the environmental footprint of model development. Fine-tuning of MLLMs by adaptMLLM demonstrated advancements in translation performance for two low-resource language pairs: English$\leftrightarrow$Irish and English$\leftrightarrow$Marathi, compared to baselines from the LoResMT2021 Shared Task.
[ -0.1165451631, -0.3862245977, 0.2398279607, 0.2221475393, -0.050194785, 0.0677457303, -0.5079397559, -0.4788177907, 0.1866874695, 0.5493646264, -0.1154915616, -0.3140401244, -0.711270988, 0.3746150136, -0.1443285197, 0.942138195, -0.0371619426, 0.235734418, 0.0960190594, -0.6730514169, -0.5600273013, -0.3007877171, -0.6526709199, -0.4841055572, 0.6017699242, 0.3262434006, 1.0335272551, 0.7217585444, 0.7911644578, 0.2807306647, -0.2405369729, 0.2714188397, -0.3125804663, 0.021043919, -0.2547608316, -0.4691003263, -0.6195315719, -0.3343213201, 0.3290137649, 0.748931706, 0.0548357852, 0.4949166179, 0.2498548478, 0.7387081981, -0.4640980363, 0.2370453328, -0.5860635638, 0.0072999415, -0.2530072629, -0.2559182048, -0.4241253138, -0.1358793825, -0.0369617715, -0.4337845147, -0.047068283, 0.2494583577, 0.705647707, 0.5740998387, -0.2737813592, -0.1664418131, -0.7182404399, 0.8767790794, -0.7984066606, 0.543125391, 0.3344275057, 0.233934477, -0.0093103601, -0.6833931208, -0.4166772366, -0.1625680029, -0.3877885342, 0.3323858678, -0.4987596273, -0.0285746604, -0.1118471324, 0.4386875927, -0.6532781124, 0.3079511821, -0.5581214428, -0.1711479425, 0.3336887956, 0.418675065, 0.4890361428, -0.4483434558, -0.1356694102, -0.0625430048, -0.5024012923, -0.1328203231, 0.1648447812, 0.5784434676, -0.2422849238, 0.6858933568, -0.00847374, 0.5897067785, -0.1594319344, 0.0230929889, 0.3578004539, -0.7073040009, -0.2894364297, -0.032664869, 0.6942257881, 0.2911680639, -0.045751296, -0.3331951797, -0.3111395836, -0.0155719044, 0.3508256972, -0.6924760938, -0.0966184735, 0.002602255, -0.8558052182, -0.1123601645, -0.6027283669, -0.9292544723, -0.2980018556, -0.4153523743, 0.4139357805, -0.4319938719, -0.4151230156, 0.2036004663, 0.1560145169, 0.124358505, 0.0484659448, -0.9302410483, 0.3828852475, 0.4640258849, 0.9221488833, -0.3007632792, -0.2727088332, -0.2625782192, -0.0748660788, -0.1793641746, 0.3616220653, -0.3495550752, -0.1909431517, -0.1626428068, 0.0509235971, -0.3135204911, -0.6974389553, 0.745431304, -0.5197971463, 0.2172768563, 0.1511920094, -0.0143002262, -0.1800485253, 0.2261607051, -0.6726141572, 0.9223024249, 0.3012833893, -0.6597704887, -0.0231845658, -1.1905138493, -0.5109629631, 0.1915398985, 0.3429284394, -0.305072248, 0.2753347754, 0.2373103201, 0.1338731945, -0.5129621625, 0.0056547471, 0.2183609456, -0.2422711551, -0.0484292731, -0.6163009405, 0.8643011451, 0.3970432878, -0.2372365743, 0.294221431, -0.5553039312, 0.0697792619, 0.0390141159, -0.4820916951, -0.3796731532, -0.2186607122, 0.4820728302, 0.2486362606, 0.1589071155, -0.3599082232, -0.1992495805, -0.5170338154, 0.7694706917, 0.3375485837, -0.2344722897, 0.6398983002, -0.180850029, 0.5470360518, 0.1945279241, 0.2795580626, -0.029599797, -0.7046081424, -0.6399720311, -0.0840054452, 0.460182935, 0.7674447894, -0.7887604833, 0.2916060686, -0.5699623227, -0.3301180601, -1.4035705328, 0.3981427848, 0.3985615373, 0.7414140701, 0.8493583202, -0.1199838296, -0.4720892608, -1.0191076994, -0.2490433455, -0.0909792259, 0.0371477976, 0.2083108723, 0.2154375762, -0.6345673203, 0.4934689105, -0.1651706845, -0.180637151, -0.3554216027, -0.0240188166, 0.3788043261, 0.5132215619, 0.4845822752, -0.9463939071, -0.3991390467, 0.4375550151, -0.5674924254, 0.0026231082, 0.1637456864, -0.2424642742, 0.2994396985, 0.1783249229, -0.5355916619, 0.355640471, 0.9183745384, -0.1639603227, 0.3489093482, -0.4564611912, 0.07102447, -1.2177853584, 0.2082912475, -0.1523206532, -0.1224097833, -0.5993893147, 0.2011924684, 0.0477209762, -0.2307161987, -0.6353504658, 0.5756236911, -0.3025988936, 0.1339293122, -0.2410850078, -0.1327708364, -0.0056552347, 0.3005517721, -0.2771146297, 0.8248813748, 0.1241073012, -0.2344659269, 0.1965322196, 0.3850491941, -0.206292063, 0.3766358197, -0.689370811, 0.1131904796, -0.0099198651, -0.0524110645, -0.4796658158, -0.1086319983, 0.2535481751, -0.4746135175, 0.0619373471, -0.0220617689, -0.4607945383, -0.2443543226, 0.1688898951, 0.4434606433, 0.7089890838, -0.4414165318, 0.4924917221, 0.2792429328, -0.0997699872, -0.3602262139, -1.1556292772, 0.414942354, -0.2365881056, -0.6771493554, 0.3378992975, 0.0582760237, -0.340836972, 0.3192889392, 0.0602888092, -0.2162831277, 0.0436672419, 0.021486111, 0.3550457358, -0.6389148235, 0.136242047, 0.025813913, -0.4188019335, -0.192889899, -0.6690191627, 0.3378445208, -0.2853562534, -0.1426934898, -0.3690783381, 0.3577534854, 0.6749361753, -0.4882239699, 0.8193492889, 0.9018105268, -0.4964686334, 0.1045453027, -0.2908263803, -0.0701119825, -0.3958767951, 0.4433564842, -0.2483321428, -0.8401134014, 0.3206083179, -0.0034809199, -0.0349567235, 0.592064321, 0.9098207355, 0.0658275485, 0.7319936752, 0.5779806972, -0.1330782324, 0.2051157653, -0.1289574355, 0.4279778898, -0.9845596552, 0.0789365843, -0.4547439218, -0.5807732344, -0.9072163701, -0.4985665381, 0.443757683, 0.0027954052, 0.0718414783, 0.6938971281, -0.671489954, 0.2361169308, 0.6029716134, 0.2837892175, 0.3312780857, -0.2021591961, -0.2239639312, -0.2390826941, -0.8347527385, -0.6384880543, 0.9654514194, 0.2408775389, 0.4816624224, 0.112004295, 0.4689351022, 0.301242888, 0.3725745678, -0.7727182508, 0.1653368473, -0.4330615997, -0.4656803906, -0.2846709788, -0.4425776303, -1.1095869541, 0.2676392794, -0.2016555369, -0.3208965063, 0.033692155, 0.1308420599, -0.4334663451, 0.3676793277, -0.9517891407, 0.9362966418, -0.4328255653, -0.4007755816, -0.3549457192, -0.6361615062, 0.1196752414, -0.1232424825, 0.1838888079, 0.0770660862, -0.0271937829, 0.4034421444, -0.1546505392, 0.5277824402, 0.0401324816, 0.1538316458, 0.0568341166, -0.0289232507, 0.1912772208, -0.0372167192, -0.4560186863, 0.3397564888, -0.206466198, -0.563393712, -0.4780665338, 0.763076365, -0.6718059778, -0.4750138521, 0.0745616779, -0.8845905066, -0.1051539704, 0.3798643351, 0.246106267, 0.1845704317, 0.0506104231, 0.2876010239, 0.4445463121, -0.4448415935, 0.3846747279, 0.3506177962, 0.0970217362, -0.4934301078, 0.9175139666, 0.0484255292, 0.2389516532, 0.4843800068, 0.3858504891, -0.175508827, -0.7462548018, -0.7433860302, -0.0431817286, -0.3951143622, -0.3825624883, -0.7279977798, -0.29731372, -0.2732298672, -0.0476709604, -0.2784507871, -0.4759765565, -0.0585513189, -0.02145328, 0.3419175446, 0.614880383, 0.0059981928, 0.2636445463, -0.9538300633, 0.1840306073, 0.0682659075, 0.1873401105, 0.0316862613, -0.4447897375, -0.67621696, 0.1150692552, -0.3196107745, -0.5666170716, 0.502818346, -0.048679214, 0.3874870241, -0.0915903449, -0.1622875333, 0.5533860326, -0.6943717599, 0.6117354035, 0.0869769976, -0.7424737215, 0.4759282172, -0.186702773, 0.3688876927, 0.6470881701, 0.1048069373, -0.6381599903, -0.1543347239, -0.3506343067, -0.8179026246, 0.4175796211, 0.4613823593, 0.2533366978, 0.1029793993, 0.1528672874, 0.1548080742, -0.0357775353, -0.3625949323, -0.1642484069, -0.1923400164, -0.4800048769, -0.1483819634, 0.1480963081, 0.0036395199, -0.3396015763, 0.4734756947, -0.110828951, 0.2438671738, 0.1157606542, -0.3427124918, -0.1131880507, 0.4042823613, 0.6726404428, 0.4625230134, -0.0328688286, 0.1718526632, 0.4191392958, -0.532147944, 0.193656683, 0.0987447128, -0.2771344483, 0.1605674177, 0.429422617, 0.8733099699, 0.2980533838, -0.3340326548, 0.2265333086, -0.0668350905, 0.2096141279, 0.1093110591, -0.0623514764, 0.3868963718, 0.1157964468, 0.0563727953, 0.6471803784, 0.0545941815, -0.2119772434, 0.0108947139, 0.053250365, -0.4785884023, -0.6599015594, 0.8272078037, 0.3894740939, -0.7407172322, 0.666020453, 0.0137209669, -0.3685745895, 0.3953875005, 0.6773570776, 0.9037323594, -0.2886904478, -0.0623791814, 0.2027780712, 0.683110714, 0.0873361602, 0.0895740092, 0.0878728256, -0.5443634391, -0.530752182, -0.7631375194, -0.3794793487, 0.0627669469, -0.6570897698, 0.2321062684, 0.0632551014, -0.3113048077, -0.049686309, -0.1793544143, -1.0426999331, 0.0030789452, -0.0913917348, 1.0775998831, -0.6980856657, 0.9349165559, 0.8959255815, -0.5030491948, -0.5126595497, -0.0499566197, -0.1193992496, -0.9012891054, 0.6861487627, -0.1576372534, 0.0096558109, 0.1452253312, 0.0547428727, -0.5551034212, 1.100487709, 0.5248666406, -0.4695908725, -0.2674769461, 0.4763669074, 0.871847868, -0.1284125149, 0.2426066101, 0.5206667185, 0.7855485678, -0.4477242827, -1.0505592823, -0.0455988944, -0.3173476458, 0.187877968, 0.3444054723, -0.6442661881, 0.4718823433, -0.1292946637, 0.0733224303, 0.1378357857, 0.5141637325, -0.2111717612, 0.2291973382, 0.3467033207, 0.5987428427, 0.6210576296, -0.017050596, 1.1038444042, -0.5405476689, 0.161429584, 0.9944432974, -0.0816314965, 0.9119815826, 0.6676415801, -0.1172293574, 0.2050019503, 0.2541312575, 0.2467882633, 0.3366609216, 0.2432721257, -0.2363378406, -0.0107900389, -0.36091277, -0.1960447282, 0.6318855286, 0.3796727955, -0.582033813, -0.2512541413, 0.2388969958, -0.0128067089, 0.253754288, -0.2097830921, 0.604801178, 0.2121807188, -0.4624423981, 0.5612305999, 0.2120188773, 0.7622417212, -0.3727144003, 0.064493522, -0.3915166557, 0.3297437131, -0.2683231533, -0.5843625665, 0.8124139309, 0.0690644905, -0.3297587931, -0.5281001925, 0.7378422618, -0.4750583768, -0.5672098994, 0.6176437736, 0.7651437521, -0.0490761288, 0.299936533, -0.6611998081, -0.0455018207, -0.2597390115, 0.046014972, 0.2092057616, 0.473700583, -0.1385333687, 0.3968403637, 0.6415345669, 0.4500688612, 0.0703329593, -0.0686727166, 0.546325922, -0.5083689094, -0.1237834617, -0.8117010593, 0.4151006341, 0.2305025607, -0.4273384809, 0.6370780468, 0.6219226122, 0.6407197714, -0.1866949946, 0.6165890694, 0.0588892773, 0.3331854045, -0.3644398153, 1.1264958382, -0.4651095271, -0.1378210485, 0.1607476324, -0.7844888568, -0.4819029868, 0.1388340443, -0.1351203471, -0.3516710401, 0.670670867, 0.859177649, -0.3019429147, -0.1585097313, 0.4818230271, 0.1941477209, 0.1279907376, 0.6345582008, 0.5658051968, -0.6593430638, 0.684615016, -0.1406084895, -0.1510122418, -0.1701477319, -0.6567780375, -0.4988825917, -0.4471750557, -0.104321219, -0.5104808807, 0.2241588682, 1.0293779373, 0.7146289349, -0.8506684303, -0.2185943276, 0.0748625994, 0.1118563637, -0.4380008876, -0.224826932, 0.2919208705, -0.4369801581, -0.7591793537, 0.5757481456, 0.5544423461, -0.1449524164, -0.2613081634, -0.322145313, -0.027011795, -0.0708309263, 0.6362410188, 0.121214591, -0.6497636437, -0.1439440846, 0.2492399514, -0.392480582, 0.2919519246, 0.5855146646, -0.5757006407, 0.4243954122, 0.5122896433, 1.2105463743, 0.0998674557, -0.3046434522, 0.4818675518, -0.3600535989, 0.1979323626, 0.3691440821, 0.3700475395, 0.5481088758, -0.4222522974, 0.6361999512, 0.120604001, -0.5410822034, -0.6384368539, -0.0117672728, -0.6966354251, 0.2780324817, 0.9011639953, -0.0471973717, -0.4516333044, -0.149385944, -0.1486650854, 0.4169880748, -0.0676022395, 0.7246944904, 0.5873244405, -0.0397796966, -0.0325912274, -0.8565517068, 0.1901924908, 0.7379616499, -0.813544929, -0.1512550265, -0.0172436517, 0.0994844511, 0.3113497198, 0.3094266355, -0.3277655542, 0.1700430065, -0.2421660274, 0.0299370065, -0.1107658371, 0.0850230306, -0.5347973704, -0.1313244402, -0.0966258198, -0.3890259564 ]
http://arxiv.org/abs/2403.01570v2
http://arxiv.org/pdf/2403.01570v2
SERVAL: Synergy Learning between Vertical Models and LLMs towards Oracle-Level Zero-shot Medical Prediction
2024-03-03T17:35:52
2024-03-16T04:07:01
Jiahuan Yan, Jintai Chen, Chaowen Hu, Bo Zheng, Yaojun Hu, Jimeng Sun, Jian Wu
cs.CL
cs.CL, cs.LG
Recent development of large language models (LLMs) has exhibited impressive zero-shot proficiency on generic and common sense questions. However, LLMs' application on domain-specific vertical questions still lags behind, primarily due to the humiliation problems and deficiencies in vertical knowledge. Furthermore, the vertical data annotation process often requires labor-intensive expert involvement, thereby presenting an additional challenge in enhancing the model's vertical capabilities. In this paper, we propose SERVAL, a synergy learning pipeline designed for unsupervised development of vertical capabilities in both LLMs and small models by mutual enhancement. Specifically, SERVAL utilizes the LLM's zero-shot outputs as annotations, leveraging its confidence to teach a robust vertical model from scratch. Reversely, the trained vertical model guides the LLM fine-tuning to enhance its zero-shot capability, progressively improving both models through an iterative process. In medical domain, known for complex vertical knowledge and costly annotations, comprehensive experiments show that, without access to any gold labels, SERVAL with the synergy learning of OpenAI GPT-3.5 and a simple model attains fully-supervised competitive performance across ten widely used medical datasets. These datasets represent vertically specialized medical diagnostic scenarios (e.g., diabetes, heart diseases, COVID-19), highlighting the potential of SERVAL in refining the vertical capabilities of LLMs and training vertical models from scratch, all achieved without the need for annotations.
[ -0.0645740703, -0.3230909109, 0.4556436241, -0.5219309926, -0.3812710941, 0.0650350302, -0.0373720229, -0.6658557057, 0.3071852326, 0.7875453234, -0.747122705, -0.8208936453, -0.5938131809, -0.0823537558, 0.1323171556, 1.4240156412, 0.1536869109, 0.2887901068, -0.4468931258, -0.459564954, -0.5915967822, -0.5413661003, -0.4068829119, -0.425670743, 0.5632158518, 0.6155827641, 0.3549669385, 0.3331919312, 0.4277301133, 0.193579182, 0.1025209799, 0.1135812253, -0.4955747128, 0.5457585454, -0.1190587282, -0.5971425176, -0.4304259717, -0.1336226314, 0.5358110666, 0.9040434957, 0.033104796, 0.3434634805, -0.1922560036, 0.5434299707, -0.5099363327, 0.302455008, -0.6785656214, 0.3151476085, -0.1832089573, -0.1308095753, 0.008103813, 0.1037540585, 0.4122890532, -0.6119897366, -0.042514082, -0.0064464654, 0.5673553348, 0.5832081437, -0.4602094293, 0.3155336976, -0.4874822497, 0.7384837866, -0.4483104348, 0.1329748034, 0.0142188752, 0.7708260417, -0.0431903414, -0.8168330193, -0.2814656198, -0.1125736088, 0.0992518812, 0.3755521476, 0.1043493003, 0.2803956866, 0.1400005668, 0.4301671386, -0.4240499735, 0.4542913139, -0.5216770768, -0.2556318939, 0.4734439254, 0.4473879635, 0.1967330873, -0.1404474378, -0.518655479, 0.0933421552, -0.6351040006, 0.2149461508, -0.3384550512, 0.4652938843, -0.0683395118, 0.597297132, -0.170909673, 0.7306624055, -0.0714394227, -0.4729415774, 0.3901790679, -0.2765070498, -0.6570064425, 0.1716591418, 0.4871501625, 0.0990706906, -0.2246348709, -0.1675143987, -0.0517305098, 0.3060525954, 0.1519822329, -0.6513181925, 0.0382251032, 0.1273274422, -0.2957437336, -0.5165945292, -0.3096140623, -0.5301868916, -0.811616838, -0.2659204602, 0.6729979515, -0.1118984669, 0.066066578, 0.2463012189, 0.031510938, 0.0797737092, 0.3461272418, -0.647038281, 0.3630577624, 0.639765799, 0.4682348669, -0.0590959825, -0.1923793703, -1.0947635174, 0.1633076519, -0.1314580441, 0.628960371, -0.5136008263, -0.1087370217, -0.2086062282, 0.0773083493, 0.1938803941, -0.3807906508, 0.4984058738, -0.232708931, 0.4011223018, -0.0690107271, -0.4995396435, -0.3180746734, 0.1894934922, -0.4158207774, 0.5879572034, 0.2341042757, -0.9262977242, 0.7347183824, -0.344532609, -0.3656703234, 0.4440689087, -0.7366738915, -0.6501714587, -0.0175494198, 0.3194331825, 0.5112938285, -0.6408549547, 0.1586446166, -0.4634066522, -0.1571965814, -0.312954098, -0.0382716246, 0.7096078396, -0.2964946926, -0.261636287, 0.256547004, -0.9586191177, -0.2414159328, -0.015468902, 0.351059705, -0.4518737793, -0.4734191, -0.5780704021, 0.3564788997, 0.199124217, -0.4283071756, 0.3409563601, -0.7814138532, -0.1588346064, 0.5180262923, 0.3583899438, 0.4932258427, -0.4622865617, 0.7821135521, 0.1171948314, 0.3150734603, -0.138079077, -0.5823196769, -0.4623218775, -0.4402102828, 0.2713131011, 0.4805018008, -1.0164102316, 0.1539349705, 0.1404339671, -0.5534834266, -0.8116996288, 0.2013033479, 0.4222713709, 1.1892669201, 0.4331238866, -0.5981839299, -0.7243187428, -0.807074368, -0.0766954795, -0.141163677, 0.1050468907, 0.4821952581, 0.3581797183, -0.2719396055, 0.3940635026, -0.2621870339, -0.7031267285, -0.2180060595, 0.3642703295, 0.4145823121, 0.1676271409, 0.4619898796, -0.4805430174, -0.2800773978, 0.120215252, -1.00259161, -0.2189675719, 0.1143211126, -0.0588645004, 0.1910243183, 0.1744302362, -0.0352404267, 0.6689012051, 0.7076500058, -0.1949800402, 0.6054469943, -0.4338257909, -0.1223427281, -1.267275691, 0.0128918588, 0.1291591078, -0.0915457606, -0.5772463083, -0.1918544024, -0.3150244653, -0.190180704, -0.4612108767, 0.5522371531, -0.3882862329, -0.3897117376, -0.1715639085, -0.0924830139, -0.0786786154, 0.287286222, 0.1346553862, 0.5760871768, 0.9623559117, -0.3394742608, 0.4342708588, 0.1301306784, -0.0869884342, 0.507204175, -0.6217827797, -0.3470740914, -0.0703368932, 0.1905697286, -0.7428973317, -0.2566895783, 0.1779360026, -0.4811160564, 0.1578598768, -0.2782886624, -0.3565325141, -0.3673258126, -0.1216505542, 0.2547408938, 0.7286297679, -0.4882586002, 0.4785380065, 0.6916118264, 0.0153389508, -0.8555203676, -0.6929357648, -0.1788425595, -0.0369911827, -0.676173389, 0.2283792645, 0.3533553183, 0.0121208197, 0.0444312692, -0.2773368955, -0.05069061, 0.0368831232, 0.6634454727, 0.6777408719, -0.1566280425, 0.4707124531, -0.0027628264, -0.4023763835, -0.1924493015, -0.7580875158, -0.0424052663, -0.2448353171, -0.4131926596, -0.4028715193, -0.0865426511, 0.7127304673, -0.2656577229, 0.8687304854, 0.6074644923, -0.4754371345, -0.1834691316, -0.4264277518, -0.3943588734, -0.3339168727, 0.0753746927, -0.1821575761, -1.1218485832, 0.5994468927, -0.1572860628, -0.1457294375, 0.5684617758, 0.6606933475, 0.0177616328, 0.8767835498, 0.8573153615, -0.0767836347, 0.0580804981, -0.3418034315, -0.0148245506, -0.6593621373, -0.4910836518, -0.1578784436, -0.2343836427, -0.7117902637, -0.4524739683, 1.1116496325, -0.1831556857, -0.2739534676, 0.0264395345, -0.5185852647, 0.1582657993, 0.4504508376, 0.1336397976, 0.3813158274, 0.106605567, -0.6409591436, -0.2593305111, -0.8441374898, 0.1351153404, 1.1696246862, 0.2595520616, 0.716960609, -0.3382579088, 0.9430293441, -0.0467226319, 0.0711464062, -0.6647894382, 0.3494464159, -0.3755486012, -0.3687805533, -0.2569049299, -0.3690670729, -0.961130619, 0.0707589686, -0.6507618427, -0.6099361777, 0.0862347633, -0.0377101563, -0.7725396752, 0.3737499714, -0.3648202717, 0.9929722548, -0.3613122106, -0.8126036525, -0.0402942523, -0.9785067439, 0.4006462693, -0.0182719361, -0.0463151634, -0.0179463904, -0.2374781221, 0.3487334847, -0.6839351654, 1.1091039181, -0.2492555976, 0.0663794354, 0.18552652, -0.0470167324, 0.1444782764, 0.3293334842, 0.1200944856, 0.0738599151, -0.0579993837, -0.5154242516, -0.6026755571, 0.5167738199, -0.8289175034, -0.4321104884, -0.6761432886, -0.5221167207, -0.5034471154, 0.1711160392, 0.0378101766, 0.4171674252, 0.1736583561, 0.1533786952, 0.4783971608, -0.3282538354, -0.1094186977, 0.5185300708, -0.1675184965, -0.5046262145, 0.7435445786, 0.1168498397, 0.0671693534, 0.2390214652, 0.1489286423, -0.2250270694, -0.2658285201, -0.2825854719, 0.2716660798, -0.4312925041, -0.4649565816, -0.4058904946, -0.5154242516, -0.2409124374, -0.1697155237, -0.3086054623, -0.4013821781, -0.1541228145, 0.0432825796, 0.445964843, 0.5259435773, -0.1606740355, -0.0674446821, -0.7731044888, 0.2806013227, 0.4962866902, 0.3736606538, -0.1898875684, -0.5885311961, -0.1874559224, -0.1196238771, 0.0258529466, -0.5685426593, 0.4669659734, -0.1020643637, 0.5519708991, 0.3025584817, -0.0025612731, 0.7324578762, -0.1136165857, 0.7238354683, 0.4806886017, -0.5804131031, 0.6874084473, -0.2555505335, 0.1229017749, 0.6409202814, 0.4235871434, -0.4243090153, -0.1176136956, -0.7453644872, -0.5894061327, 0.5771716833, -0.1717373878, -0.6483421326, 0.4320255518, 0.3334928453, 0.6202965379, 0.2996651232, -0.463946104, -0.0288788974, 0.1775316, -0.0463726595, -0.0573371872, 0.1971823424, -0.2069504708, -0.639621377, 0.6456962824, -0.2606789172, -0.0746561438, 0.0952801257, 0.0714697093, -0.2913218141, 0.0499341115, 0.1867370754, 0.3077281415, -0.1822203845, -0.0684287474, 0.4120649993, -0.1049976945, 0.0983048081, 0.2151619643, -0.0096392166, -0.1661058068, 0.3423269987, 0.9539234638, 0.3264207244, -0.7103271484, 0.6966203451, -0.1097279266, -0.3094008565, -0.2783268988, 0.0032856371, -0.2095231563, 0.5515608191, 0.0615421422, 0.1844844967, 0.078989841, -0.5134114623, 0.4054378569, 0.3664212227, -0.6637963653, -0.261054635, 0.7376176119, 0.2157151252, 0.4049016833, 0.3327825367, -0.1772042215, -0.3078972101, 0.6322385669, 0.310559839, 0.6663038731, 0.0699787661, 0.2181961089, 0.3036260903, -0.0297026001, 0.0954632685, 0.2104642391, -0.1151139215, -0.3937816322, -0.7495569587, -0.5116296411, -0.5327769518, 0.2594900429, -0.575466156, 0.6322904825, -0.4049949944, 0.0207083728, 0.1061534509, 0.5109875202, -0.7205125093, 0.2836019397, 0.4435704052, 0.6760391593, -1.0010097027, 0.9780513644, 0.9240527749, -0.8976682425, -0.6660224795, -0.0685037822, 0.1574185044, -1.0777286291, 0.8042402864, 0.0847607926, 0.0466235094, -0.3250358701, -0.4646516144, -0.5080091357, 1.415553093, 0.3349999487, -0.5608206391, -0.1439369768, 0.0023285034, 0.9652203321, -0.5908905864, 0.2496981472, 0.2823663354, -0.007971609, 0.4526737034, -1.0504714251, 0.0078203371, 0.0007737886, -0.0493072644, 0.028666392, -0.6792390347, 0.7355985045, -0.525036931, 0.0633717477, 0.0798743293, 0.5175880194, 0.3537555933, 0.6037932634, 0.3053481579, 0.8145820498, 0.7984996438, 0.1963387281, 0.8760664463, -0.4741552174, 0.0884638205, 1.052195549, -0.6341376305, 0.5760214925, 0.3089333773, 0.2478156388, 0.629353404, 0.4098049402, -0.0506157428, 0.5306738615, 0.0275384262, -0.4937698245, -0.4085820913, -0.4412843585, -0.5345631242, 0.5674459934, 0.5509610176, -0.3151480854, -0.4159474671, 0.2523520589, -0.3740231693, -0.0106755253, -0.4913076758, 0.9825914502, 0.1848440021, -0.5802090764, 0.7139896154, -0.3830009699, 0.4517951608, -0.4341801405, -0.1049077436, -0.1780716181, 0.2012217939, -0.2253186107, -0.5444701314, 0.058679726, -0.2019730955, -0.0405710749, 0.2063394934, 1.2533957958, -0.533229053, -0.3013220727, 0.5223414302, 0.7876503468, -0.0359427296, 0.378719449, -0.6135534048, -0.1429899335, -0.2432740927, 0.45797804, 0.4415652752, 0.6663473248, -0.0255813021, 0.5540444255, 0.4551261067, 0.5660932064, -0.2923416495, 0.1838725209, 0.9913823009, -0.4232945442, -0.3924691975, -0.5073425174, 0.4339228868, -0.0985651314, -0.0182668455, 0.4026564658, 0.2470231652, 0.834869206, 0.1286482662, 1.0262589455, 0.3820363283, 0.681008935, -0.1580867767, 0.4928249419, -0.8830477595, 0.3612279594, 0.0253470447, -0.3569863141, -0.6021305919, 0.2521085441, -0.6379363537, -0.1473272145, 0.5811906457, 0.5094226599, -0.0410987735, -0.0551592782, 0.6409537792, 0.2680753171, -0.0810298771, 0.9651552439, 0.5106050372, -0.4177918434, 0.413726896, -0.3762042522, -0.4810407162, -0.3674713075, -0.7313043475, -1.1532926559, -0.426352948, -0.1713234186, -0.3699878454, 0.4422899783, 1.0133639574, 0.8387849927, -0.6264373064, -0.0303557776, -0.2267137021, -0.1022799388, -0.1335237026, -0.0650445893, 0.1998527497, -0.5898329616, -0.200115487, 0.2017795444, 0.7528281212, -0.0217395313, -0.3206444383, -0.0691733509, 0.0391417071, -0.3171288073, 0.4496869743, 0.6204800606, -0.4969444573, -0.0462444983, -0.1544845402, -0.0699652806, 0.006997651, 0.522206068, -1.3896510601, 0.8369214535, 0.4702166021, 1.0719416142, 0.4882361293, -0.1564198434, 0.4651286602, -0.8072398901, 0.4226555228, 0.4510000646, 0.1891341507, 0.1724746674, -0.2982747853, 0.4798576534, 0.5696777105, -0.6185606122, -0.7161620259, 0.041164726, -0.7308758497, -0.0963038132, 0.7972994447, 0.0437962972, -0.4406462312, 0.1285589039, -0.168526575, 0.5428424478, -0.1922924668, 0.8216794133, 0.1670162827, -0.3323066831, -0.1104776412, -0.666844368, 0.5967851877, 0.8771021962, -0.7830610871, -0.3666646779, 0.3544066846, 0.0345257446, -0.1045425907, 0.4010154009, -0.2722064257, 0.5115239024, -0.0476657897, 0.1245716438, -0.1901246011, -0.5670236349, -0.5259035826, 0.0923664868, 0.0327352993, -0.2980991304 ]
http://arxiv.org/abs/2403.01548v3
http://arxiv.org/pdf/2403.01548v3
In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigation
2024-03-03T15:53:41
2024-03-12T09:49:28
Shiqi Chen, Miao Xiong, Junteng Liu, Zhengxuan Wu, Teng Xiao, Siyang Gao, Junxian He
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) frequently hallucinate and produce factual errors, yet our understanding of why they make these errors remains limited. In this study, we delve into the underlying mechanisms of LLM hallucinations from the perspective of inner representations, and discover a salient pattern associated with hallucinations: correct generations tend to have sharper context activations in the hidden states of the in-context tokens, compared to the incorrect ones. Leveraging this insight, we propose an entropy-based metric to quantify the ``sharpness'' among the in-context hidden states and incorporate it into the decoding process to formulate a constrained decoding approach. Experiments on various knowledge-seeking and hallucination benchmarks demonstrate our approach's consistent effectiveness, for example, achieving up to an 8.6 point improvement on TruthfulQA. We believe this study can improve our understanding of hallucinations and serve as a practical solution for hallucination mitigation.
[ -0.1424067914, -0.565220356, 0.7870281935, 0.0773378685, -0.4191363752, -0.2070718557, -0.3654164374, -0.5020051003, 0.3235383034, 0.3409555256, -0.552315712, -0.4758217037, -0.509013474, 0.2319239229, -0.2638191581, 0.4871406853, 0.1418463141, 0.2247578353, -0.2940186858, 0.0511470847, -0.7954633832, -0.7380666137, -0.3433589935, -0.2756930292, 0.2024274915, 0.4090078771, 0.5488461256, 0.31626755, 0.6944683194, 0.1398640424, -0.048247695, 0.2485395819, -0.7241020203, 0.4422799647, 0.0613116696, -0.4252454937, -0.0132107427, -0.2556248307, 0.6024276018, 0.7864300609, 0.1045931429, -0.1843930036, 0.3036550581, 0.6863015294, -0.7647479773, 0.0695170984, -0.9831075668, 0.3628207147, 0.0693676323, -0.6642233729, -0.4498053193, -0.2581195831, 0.0581015386, -0.2569478452, 0.219067052, 0.0650059208, 0.621075213, 0.7794719338, -0.1392441541, -0.4957583249, -0.5509158969, 0.6499493718, -0.6216849685, 0.6227416992, 0.5680676699, -0.0206431448, -0.1528908312, -0.4323534369, -0.2512988746, -0.2519241273, -0.1548275203, -0.1917269528, -0.1000431702, 0.1800728142, 0.3474116921, 0.4010852277, -0.3309299052, -0.0664173812, -0.2994724214, -0.4869913757, 0.4441308379, 0.266461879, 0.1334794164, -0.1352035999, -0.2846628129, -0.0626936704, -0.6155400276, -0.2556119561, 0.1294526756, 0.3241715729, 0.1751962453, 0.4315775335, -0.1025154665, 0.2259847671, 0.1031045169, -0.1539320201, 0.1339881271, -0.2250415981, -0.2805385292, 0.4947423339, 0.2302294075, 0.5841307044, 0.1048276275, -0.5365060568, -0.5320721865, 0.0216263719, 0.4869491756, -0.8067176938, -0.2297624499, 0.1961178482, -0.5304029584, -0.1581074893, 0.2126390934, -0.6925638914, -0.843845427, -0.3131547868, 0.5851095319, -0.6104531884, -0.1208943948, 0.2454753816, -0.2196626663, 0.458386749, 0.0542756803, -0.8778367043, 0.2008021623, 0.5605039001, 0.8925615549, -0.0741273016, -0.1300020665, -0.2284435481, 0.0517190695, -0.5547007918, 0.6849414706, -0.4580536485, -0.3038052022, 0.133816734, -0.1964983642, -0.0123941852, -0.7803028822, 0.6005648375, -0.2973605692, -0.2483707219, -0.5438026786, -0.56913656, -0.4590300918, -0.0021802729, -0.5066799521, 0.9338238835, 0.0196614359, -0.5546088815, 0.6679927111, -0.419752866, -0.2616527975, 0.2957407534, -0.2475498021, -0.2154718488, 0.7789540291, 0.2411355823, 0.5144092441, -0.0480832197, 0.2901688218, -0.1334883869, -0.7959479094, 0.4333182275, -0.5789777637, 0.4635218978, 0.1763286889, -0.5906979442, 0.1992104053, -0.6222679019, -0.1161710173, 0.0353645608, -0.1348371655, -0.4763400853, 0.0020909181, -0.2188233286, -0.0819690228, 0.0547437742, -0.11785274, 0.0901659727, -0.5252257586, 0.2629095614, 0.7969104648, 0.250864923, 0.3792759478, -0.3112253249, -0.0249366332, 0.2649378479, 0.3211715519, 0.0698200539, -0.249818489, -0.883028388, -0.136426717, -0.2623297572, 0.380325824, -0.423666209, 0.5972595215, -0.2942967415, 0.0514058135, -0.5944525003, -0.0905900151, 0.3167908192, 0.3803625107, 0.3048327863, -0.3051419854, -0.7032099962, -0.788639009, -0.2299562395, 0.0384509042, 0.0677117631, -0.0249051172, 0.5764540434, -0.621119082, 0.6497690082, -0.1705922335, -0.3445444107, -0.0319721401, -0.141842097, -0.0328105874, 0.4408435822, 0.1384166181, -0.7292663455, 0.0390057266, -0.1716377437, -1.0030323267, 0.0078030294, -0.3105514348, -0.0040437491, 0.3564223349, 0.9316811562, -0.2832255363, 0.6186532974, 0.0497843288, -0.5121639967, 0.5403906703, -0.0690846965, 0.0772013813, -0.7246629596, -0.0637338832, -0.276561439, 0.1601698548, -0.6717570424, 0.1771721542, 0.0744669586, 0.1302413344, -0.2499474585, 0.3789164126, -0.4671151936, 0.0155350696, -0.1599768698, 0.1289599836, -0.0840359554, 0.5650515556, -0.2893599868, 0.9084653854, 0.5197620988, -0.6127721667, 0.0830317736, -0.1161432713, -0.5667632222, 0.5403055549, -0.2091282457, 0.2259940654, -0.4539463222, -0.1344426125, -0.7359804511, -0.487621814, 0.2948773205, -0.3116497397, 0.2817838192, 0.1619399339, -0.5754308701, -0.0718010888, -0.4466586709, 0.5614827275, 0.487459451, -0.657466352, 0.4064617157, 0.2481637746, 0.4219416976, -0.5353218913, -0.7592656016, 0.344434917, -0.4617216289, -0.5406045914, 0.4611261189, -0.3509308994, -0.7405094504, -0.1964367181, -0.3278936744, 0.1805540025, 0.1975475699, 0.3961794972, -0.1074455604, -0.0188312382, 0.3581116498, -0.1202542186, 0.1075894162, 0.4202196896, -0.3871294558, 0.7557743192, -0.1583967209, -0.2729769051, -0.6826877594, 0.4056944847, 0.6436278224, 0.2216981947, 0.7182235718, 0.2306640297, -0.7164525986, -0.345379889, -0.6765827537, -0.7264313102, -0.4528093934, 0.2265959829, -0.6413373947, -0.6444455385, 0.8675643206, 0.0032270956, -0.3392849267, 0.3227724135, 0.4460939467, 0.0582082942, 0.9719447494, 0.7773980498, 0.1654008478, 0.3886675239, -0.2711329162, 0.4911459386, -0.8842411041, -0.7527223229, -0.3166496456, -0.0645430237, -0.3244494796, -0.2672181427, 0.439301908, 0.2419410944, -0.1831049621, -0.2278863043, -0.7693653107, 0.7029842138, 0.5173121095, 0.3790795505, 0.0979692563, 0.2004590333, -0.2218545228, -0.1962980479, -0.6604469419, -0.4708954394, 0.7469052076, 0.3375273347, 0.6732724905, 0.0148537392, 0.7545935512, 0.2418686002, -0.1900225431, -1.0700696707, 0.5386908054, 0.256309092, -0.3603013456, -0.342790544, -0.3502092957, -0.6203812361, 0.2024389952, -0.1305503547, -0.875246942, 0.461273104, -0.1412533373, -0.4192064106, 0.3888549507, -0.5227251649, 0.5607185364, -0.0157965571, -0.2647816539, -0.0824890658, -0.6539303064, 0.3629940152, -0.0076209377, 0.1272164136, -0.1448756307, 0.1500852108, 0.6868128181, -0.1703785211, 1.0298727751, -0.0575165749, -0.376102984, 0.1130444631, 0.1508716792, 0.5351365209, 0.0629127398, -0.1176244691, 0.2238489836, -0.2664888501, -0.2628753781, -0.5456750989, 0.5723569989, -0.6707744598, -0.6818348765, -0.3556445241, -0.7598605752, -0.1191080734, -0.0003315508, 0.6072067022, 0.525464654, -0.127134487, 0.157998994, 1.0661220551, 0.0225193966, 0.4543919265, -0.1856796741, -0.0012354659, -0.3368989825, 0.7468772531, 0.1205707341, 0.0024792019, 0.3128705919, 0.0787522122, -0.2795824409, -0.799865365, 0.001754281, 0.2177253962, -1.3922958374, -0.2866923511, -0.5477397442, -0.3024496734, -0.5463531613, -0.3791947663, 0.0035033748, -0.0117704589, -0.5712216496, -0.127358824, 0.2746740878, 0.748449862, -0.1407103986, 0.143377915, -0.2857446074, 0.156942293, 0.2965770066, 0.461271435, 0.1524733454, -0.6459561586, -0.3731908202, -0.0544284806, 0.0849473327, -0.8586120009, 0.413715899, 0.0276533812, 0.5276811719, 0.7001390457, 0.337228775, 0.8347799182, -0.1476124972, 0.823481977, 0.0710792765, -1.1306676865, 0.4830413461, 0.1485603303, 0.3490913808, 0.7585504651, 0.1062163264, -0.5279100537, -0.6002642512, -0.2909933627, -0.7717193961, 0.3602715433, 0.0454657488, 0.2134483904, -0.0462214351, 0.5035946965, 0.2826242149, -0.0251239408, -0.8874863386, 0.0032276246, -0.2594345808, -0.1223600283, 0.1127348319, -0.7253585458, -0.3632181287, -0.4118850827, 0.4683327079, -0.1640409082, 0.4806776345, 0.4779612422, -0.3966192603, -0.2409311682, 0.015500674, 0.8746651411, 0.6683811545, -0.450701654, 0.6990988851, 0.3156541884, -0.6621796489, -0.0927202553, -0.3698920608, -0.0861903578, 0.0087607428, 0.5111661553, 0.9023169279, 0.2047119588, -0.5638250113, 0.344563514, -0.0034928301, -0.0423087962, -0.3648249805, 0.0673386306, -0.5901038051, 0.4348171651, 0.7539191246, 0.0648160428, 0.3607222438, -0.7134848237, 0.1396247596, 0.6133204699, -0.6242102385, -0.2037860006, 0.541719377, -0.0982416421, -0.2043560445, 0.8268475533, -0.3471818566, -0.690685451, 0.3838189542, 0.6511055827, 1.3162784576, -0.0014997351, -0.2040826827, 0.3205832541, 0.585988462, -0.028918175, 0.362567246, -0.0557281114, -0.7288506627, -0.1431469023, -0.6735563278, 0.0220738389, 0.1643847972, -0.5553538203, 0.1426000595, -0.2958572507, -0.0598871112, -0.3702447712, -0.089228794, -0.4858068824, 0.0591124706, 0.3484101295, 0.6423001885, -0.5304251909, 0.7057035565, 0.0891028419, -0.3200802207, -0.6026737094, 0.6750571132, -0.0533456914, -0.7916336656, 0.4905876517, 0.5478426218, -0.4595460892, -0.1331217438, -0.7168633342, -0.8460012078, 0.9024167657, 0.276696831, -0.4146872163, -0.0054555493, 0.0743576363, 0.2745324373, -0.3682611287, -0.2562812865, 0.7541376948, 0.4961537719, 0.0898318365, -0.5524207354, 0.4829320908, -0.1266922951, 0.0614472255, 0.1605406106, -0.2690210044, 0.5969206691, -0.4473031461, -0.6763616204, -0.1869048327, 0.502827704, 0.0755092427, 0.425411284, 0.2271178812, 0.4111475348, 1.0268326998, -0.0731750056, 0.9316836596, -0.478410393, 0.0380959511, 0.6831126809, -0.0484782122, 0.429297477, 0.8863238692, 0.3695372939, 0.2880101204, 0.6032061577, 0.0452381, 0.9488443732, 0.2838239074, -0.3777215183, -0.1156805232, -0.2656552494, -0.3709556162, 0.2189017683, 0.6581167579, -0.2952075005, 0.2460260689, 0.3401788175, 0.1289092451, -0.0377353951, -0.4625129104, 0.9973536134, 0.2199009955, -0.6076032519, 1.0678018332, -0.2152905464, 0.8062128425, -0.1888062954, -0.0543550923, -0.5271180272, 0.0512854531, -0.2340034395, -0.5418743491, 0.4790453613, -0.3433082998, -0.2840200663, -0.122461915, 0.6712141037, -0.197313711, -0.2999488413, 0.387160331, 0.1591539383, 0.4555823505, -0.3418919146, -0.1587040722, 0.5368310213, 0.007876127, 0.1335849464, -0.0013453859, 0.728033185, -0.1007467657, 0.4785835147, 0.2539102733, -0.1082189828, 0.2352451235, 0.2469183654, 0.8414903879, -0.7664970756, -0.2534886301, -1.0541969538, 0.2484554052, 0.0372429229, -0.3015120327, 0.7288569212, 0.3762283623, 0.9063566923, -0.1207427382, 0.5025590658, 0.2566690743, -0.16063945, -0.7778376341, 0.821223557, -0.6817010045, 0.4073304236, -0.1122502908, -1.000105381, -0.7852464914, 0.7252596617, -0.1070208028, -0.2313586324, 0.8650221229, 1.0782334805, 0.1986968666, -0.0106689688, 0.6637097001, 0.2368295938, -0.0701138899, 0.5315879583, 1.0375572443, -0.2315438539, 0.2881384492, -0.3544559479, -0.032474231, -0.7073868513, -0.5898756385, -0.9905924201, -1.0113446712, -0.1319329143, -0.3519456089, 0.1982598752, 0.9621640444, 0.6190518141, -0.671723187, -0.0981396064, -0.2430272996, 0.1213379502, -0.35446316, -0.2093624026, 0.4676478207, -0.758146286, -0.350917995, 0.5170826316, 0.4264139831, 0.333291322, -0.3704487979, -0.1141918302, 0.3397000432, 0.386798352, 0.8042173386, -0.2109893709, -1.0369366407, -0.4768013358, 0.0600175075, -0.2451861203, 0.3011610806, 0.9326544404, -0.6868546605, 0.4754297435, 0.3299975395, 0.2694175839, 0.0891930461, -0.4499077797, 0.2401808351, -0.7657913566, 0.3132014871, 0.4946861267, 0.2715037763, 0.4751461446, -0.7601054907, 0.3990264833, 0.1533626765, -0.3960041404, -1.1711591482, 0.1601049155, -0.7365022898, -0.662960887, 1.0948989391, 0.4371023178, -0.219966203, -0.230013445, -0.209463492, 0.3158611655, -0.2708282173, 1.2523249388, 0.6238406897, -0.0095783537, -0.1577443182, -0.4929848313, 0.9296127558, 0.4048059285, -0.5943174958, 0.2936866283, 0.5643863678, -0.2498601526, 0.1952608526, 0.3254474103, 0.0412433743, 0.0164195374, 0.2507504821, 0.1382308006, 0.3070335388, -0.7913063765, -0.6889835, 0.3344436586, 0.0677862391, 0.0833077654 ]
http://arxiv.org/abs/2403.01528v2
http://arxiv.org/pdf/2403.01528v2
Leveraging Biomolecule and Natural Language through Multi-Modal Learning: A Survey
2024-03-03T14:59:47
2024-03-05T11:12:47
Qizhi Pei, Lijun Wu, Kaiyuan Gao, Jinhua Zhu, Yue Wang, Zun Wang, Tao Qin, Rui Yan
cs.CL
cs.CL, cs.AI, q-bio.BM
The integration of biomolecular modeling with natural language (BL) has emerged as a promising interdisciplinary area at the intersection of artificial intelligence, chemistry and biology. This approach leverages the rich, multifaceted descriptions of biomolecules contained within textual data sources to enhance our fundamental understanding and enable downstream computational tasks such as biomolecule property prediction. The fusion of the nuanced narratives expressed through natural language with the structural and functional specifics of biomolecules described via various molecular modeling techniques opens new avenues for comprehensively representing and analyzing biomolecules. By incorporating the contextual language data that surrounds biomolecules into their modeling, BL aims to capture a holistic view encompassing both the symbolic qualities conveyed through language as well as quantitative structural characteristics. In this review, we provide an extensive analysis of recent advancements achieved through cross modeling of biomolecules and natural language. (1) We begin by outlining the technical representations of biomolecules employed, including sequences, 2D graphs, and 3D structures. (2) We then examine in depth the rationale and key objectives underlying effective multi-modal integration of language and molecular data sources. (3) We subsequently survey the practical applications enabled to date in this developing research area. (4) We also compile and summarize the available resources and datasets to facilitate future work. (5) Looking ahead, we identify several promising research directions worthy of further exploration and investment to continue advancing the field. The related resources and contents are updating in \url{https://github.com/QizhiPei/Awesome-Biomolecule-Language-Cross-Modeling}.
[ -0.2009101063, -1.0760966539, 0.3977703452, -0.0879449695, 0.021008797, 0.506036222, -0.2400161624, -0.9192416668, 0.0916882381, 0.1361700892, -0.2667973042, -0.2377007604, -0.4963125885, 0.2929645777, -0.0715410337, 0.9390593171, 0.2047457397, 0.4617784321, -0.3634670377, -0.2640472651, -0.2503993213, -0.5087046027, -0.1101334691, -0.3010168672, 0.613237381, -0.1123990789, 0.6258249283, 0.6418305635, 0.4716410637, 0.3944403231, -0.2156692743, 0.0963635445, -0.0483026356, 0.0302643981, -0.3555115163, -0.3776648939, -0.5138021111, 0.1959000826, 0.7304024696, 1.3096694946, 0.233439222, 0.0215840004, 0.1045565903, 0.7275795341, -0.5187417269, 0.2728336453, -0.206091851, 0.0949034169, -0.19865565, -0.0810826942, -0.2046101987, -0.2031708509, 0.4666459262, -0.3015789092, 0.1052734032, 0.0260928907, 0.6281324029, -0.0164799746, -0.9340758324, -0.4810774028, -0.7403801084, 0.9056561589, -0.6631381512, 0.9498664141, 0.2313554734, 0.4852035344, -0.2300019264, -0.592053175, -0.3671666086, -0.868702054, -0.0871498585, 0.2020703703, -0.02260153, 0.3069936633, -0.1099757105, 0.4763711095, -0.7584543228, -0.2775531411, -0.6540178657, -0.2088056356, 0.4743780494, -0.0355857648, 0.5478039384, -0.3524515033, -0.5198107362, -0.0999420807, -0.236985147, 0.1211140305, 0.1565242708, 0.5248457789, -0.2267897129, 0.7618291378, -0.0808861926, 0.8394178152, -0.339542985, 0.0090485485, 0.3027595878, -1.0715128183, -0.3733677268, 0.3275960684, 0.7516826987, -0.0278117191, -0.0150983408, -0.0817537382, 0.0593775287, -0.184763968, 0.2003917992, -0.4585336149, -0.0110176308, 0.4287160039, -0.5771644115, -0.1549028456, 0.1400849968, -1.0882968903, -0.2424734235, -0.47331357, 0.2733348012, -0.6373441815, -0.0735527575, 0.0048209527, -0.1937756687, 0.06058494, 0.1754371971, -0.7975953221, 0.2740715444, 0.2731457055, 0.9198550582, -0.1110046133, -0.1177701727, -0.3107040226, 0.5686805248, -0.0231623948, 0.5114808083, -0.6763266325, -0.4182520211, -0.2157006115, -0.0082152551, -0.0105962213, -0.3751988411, 0.2349664867, -0.2592781186, 0.1396912336, -0.2303701788, -0.3455921113, -0.5580759048, 0.1636261046, -0.9475117326, 0.5939432383, 0.0960979983, -0.3752506971, 0.2392555326, -0.7585365772, -0.6116399169, 0.1453203708, -0.2173081636, -0.1761151552, 0.1235749796, -0.1324581504, 0.3080350161, -0.5377488136, 0.3981842101, -0.4374518692, 0.2948803902, 0.6743971705, -0.3316046298, 0.6041756272, 0.1774308383, -0.016821919, 0.0931138322, -0.755659461, -0.122013323, -0.3984544575, -0.4977022111, -0.1056851298, -0.2522980273, 0.2563319504, 0.3014352024, 0.4356447458, -0.529692471, 0.3583995402, -0.3696312606, 0.5619207621, 0.5952630639, 0.0033992478, 0.6871803999, -0.3000281751, 0.2611373365, 0.0185429063, 0.0781438723, -0.0435064137, -0.5350092649, -0.0786022767, -0.3238452971, 0.3417317867, 0.4517745078, -0.5103922486, 0.107157886, 0.0834358335, -0.4888812304, -0.4507438242, 0.3487626016, 0.3188287616, 0.5624377131, 0.8441258669, -0.3057283461, -0.5738087296, -0.8479932547, -0.4022892714, -0.3064666092, 0.0929020569, 0.3122705221, 0.5073809028, -0.3014034331, 0.7984242439, -0.2939812839, -0.333711803, -0.5819659829, 0.263038516, 0.2037267238, 0.4959801137, 0.4658394456, -0.9420487285, -0.4092254639, 0.6004895568, -0.8402329683, 0.1728699803, 0.0022830262, -0.0043832501, 0.1969719976, 0.1496405154, -0.582031548, 0.2247300148, 0.3891994953, -0.3927094042, 0.4792891443, -0.2902408242, 0.258371979, -0.9586158991, 0.3540960252, 0.388718307, -0.0949372798, -0.9001688361, -0.2190948278, 0.0101460591, -0.0285330601, -0.5466150045, 0.6211662889, -0.734210968, -0.0597746521, -0.0324144773, -0.3671203554, 0.0079637552, 0.4211090803, -0.0933447927, 0.462862879, 0.5709808469, -0.4648807049, 0.4537777901, 0.1909359545, 0.0715923682, 0.4014586508, -0.6613380313, -0.3887777925, -0.1540344805, 0.1910214275, -0.8831857443, -0.3051822782, 0.6827656627, -0.4054229259, 0.4511936903, -0.0062969443, -0.2242451608, -0.1775289476, -0.3785148561, 0.4591811001, 0.1679662168, 0.0647965446, 0.8839259148, 0.4860944152, -0.0985212252, -0.0563746281, -0.9284641743, 0.0591244623, 0.070509322, -0.4135301411, 0.3022645712, -0.3153881431, -0.0226641092, 0.0331629068, -0.3556134999, -0.3858008981, -0.2766512632, 0.0585139617, 0.4148407876, -0.1882347614, 0.327090621, 0.0691188276, 0.0844822153, 0.0210624412, -0.3111056089, 0.2027668655, -0.3434893787, -0.0928087682, -0.3049269617, 0.4591727555, 0.5954273939, -0.450961113, 0.6443644762, 0.4474845529, -0.3363497257, 0.1723415554, -0.0903751329, -0.2387727946, -0.455616504, 0.4060404599, -0.1737866551, -0.5008673072, 0.1284821481, -0.0190379191, -0.3976599574, 0.0068109776, 0.4942821562, -0.1857270598, 0.7586807609, 0.8877593875, 0.0837291554, 0.4554874897, -0.1950558722, 0.4348568022, -0.6794677377, -0.6345328093, -0.4852501452, -0.3478019536, -0.5396918058, -0.672742188, 0.5666391253, 0.0221315734, 0.1595700234, 0.249459818, -0.2458495349, 0.1317426711, 0.2367709577, 0.1705030501, 0.2036715597, -0.0692354068, -0.4396117628, 0.164301455, -0.7228628397, -0.4691091478, 0.9339263439, 0.3090312481, 0.6854980588, 0.1357183754, 0.1765570343, 0.1983743161, 0.0784239769, -0.6395181417, 0.4053970277, 0.1102924049, -0.5255867839, -0.2006639242, -0.5530501604, -0.9075653553, 0.1240754351, -0.3857238293, -0.4502796829, 0.4404617548, 0.2266509533, -0.1031106785, 0.3294191658, -0.5596147776, 0.9954274297, -0.7646468878, -0.5634099841, -0.2699326575, -1.039304018, 0.3567925096, -0.0231339224, 0.4405283332, 0.027796153, -0.204016462, 0.4438922107, -0.1329187006, 0.8022478819, 0.2025274038, -0.0700893104, 0.216969654, 0.0623034351, -0.1687248349, -0.067046389, -0.0210038181, 0.4144006371, 0.2239401042, -0.5343486071, -0.419098556, 0.4421919882, -0.4828452468, -0.0534640066, -0.6505929828, -0.6296482682, -0.2326005697, 0.3066188395, -0.1548985541, 0.5865453482, -0.0825572982, 0.1737957299, 0.442709446, -0.3971185386, 0.5290616155, 0.3590846658, -0.1590637863, -0.4407774508, 1.153978467, 0.2746810615, 0.3662166893, 0.8328193426, 0.3017714024, -0.3879334927, -0.4064032733, -0.1713770479, 0.3633395433, -0.3798213303, -0.21477516, -0.6659507751, -0.0761105716, -0.5416562557, -0.1921254694, -0.3365397453, -0.4164021611, 0.0269285999, -0.1302538365, 0.3277134895, 0.6452691555, -0.2695932984, -0.3105653822, -1.1780411005, 0.6290870905, 0.1025600508, 0.3147005439, 0.0711566284, 0.1898436546, -0.6331964135, 0.4071090519, -0.3082416058, -1.2219352722, 0.5055497885, 0.4357845783, 0.9048988819, 0.0668010786, -0.5163547993, 0.2586716712, -0.2728378773, 0.7013060451, 0.05237877, -0.7322307825, 0.7138789296, -0.257945478, 0.5123097897, 0.3646423817, 0.825042665, -0.5501869917, -0.4482108653, -0.265378505, -0.924343586, 0.2368772328, 0.1247441471, -0.29389745, 0.0700444132, -0.0721710995, 0.387235105, 0.4439647794, -0.6732085347, -0.2016410232, -0.3353784978, -0.3870654106, 0.0558800511, 0.0465337746, -0.0635014102, -0.4150285721, 0.4890316129, -0.3118183911, 0.2155928314, 0.0475998037, -0.5117291808, 0.1251733005, 0.3112350106, 0.5740989447, 0.4336966872, -0.3399756849, 0.2233207673, -0.148870185, -0.5433580875, 0.0188702419, 0.2681628764, 0.1466397196, -0.1304915696, 0.5733616352, 0.4485052526, 0.3187718093, -0.9061655402, 0.0173201282, 0.2322761863, 0.073984161, 0.3815900981, -0.1787529141, 0.0250842199, 0.3853316009, 0.3419977129, 0.2445523739, 0.3498342931, -0.8984640837, 0.1634994894, 0.5540386438, -0.533146441, -0.7247896791, 0.7024785876, 0.310967505, 0.155471459, 0.3119032085, 0.1933070868, -0.3512869477, 0.3580290377, 0.4751963913, 0.7900605202, -0.3699238002, 0.2160116732, 0.3444984853, 0.1472442448, 0.4137518108, 0.2155926079, -0.3981666267, -0.5592380166, -0.0099926349, -0.8563051224, -0.1893389225, -0.2602218091, -0.1928249151, 0.1187833771, -0.5293664336, 0.0323783346, 0.251265049, 0.0184915811, -0.4285050929, -0.0620678067, 0.3186804354, 0.801351428, -0.9118902087, 0.8676735163, 1.0098139048, -1.0255409479, -0.2411719412, -0.3007362485, 0.3673415482, -0.2023076713, 0.9818332195, 0.0945573971, 0.0069873752, -0.2946650088, -0.4029882848, -0.940333724, 0.9826987982, -0.0057176789, -0.2859119773, -0.1401859969, 0.5966587067, 0.7419964671, -0.2979325354, 0.2379366457, 0.4867273867, 0.7146303058, 0.032276433, -0.9381724596, 0.0388488472, -0.4482512772, -0.0273675304, 0.1623023152, -0.5593053102, 0.7414626479, -0.0213992074, -0.1829550862, -0.0006308237, 0.7238588333, 0.221852839, 0.2390623093, -0.1219401211, 0.1263227463, 0.6635715961, 0.0664311349, 1.1175088882, -0.3744511306, 0.1086331159, 0.6003492475, -0.2283162028, 0.5476992726, 0.7435565591, -0.2441265285, 0.327022016, 0.3744113445, -0.2538574636, 0.4216173887, 0.0930663198, -0.3543807566, -0.078154549, -0.4384823442, -0.3874177933, 0.3297792077, 0.4380391538, -0.2480906993, -0.3917259872, 0.3780117035, -0.455614537, 0.0832149088, -0.2286182344, 0.4666065872, 0.2201277316, -0.0774038881, 0.1909336746, -0.0591689423, 0.4627017975, -0.8611078858, -0.4493715763, -0.0062717181, -0.1334867179, 0.0367795788, -0.7170392275, 0.2709917426, -0.4193026423, -0.2663275301, -0.4151260555, 0.77386415, -0.8372039199, -0.5455837846, 0.4224110544, 0.5604382157, -0.1190200225, 0.3816403449, -0.6759469509, 0.0853316784, -0.2555925548, -0.0349647515, 0.1848718524, 0.3501093388, 0.0375745706, 0.8643642068, 0.7537282705, 0.102108717, 0.0767819136, -0.3006449938, 0.8810878396, -1.1115467548, -0.2753662765, -0.6141787171, 0.781554997, 0.1754619032, -0.2361194789, 0.7079844475, 0.801581502, 0.9782805443, -0.31930843, 0.9433392882, -0.1448724568, 0.2948336601, -0.5784721375, 0.5896790624, -0.5929415226, -0.0069295778, -0.2707590461, -0.6976190805, -0.3904074132, 0.4259085059, -0.0053353757, 0.2955679297, 0.9441511035, 0.8373315334, -0.1463954896, 0.0577752329, 0.0233473592, 0.4095736444, 0.4290648997, 0.5891067982, 0.7412503362, -0.3255715072, 0.1648186296, -0.2725429833, -0.0011123993, -0.3543776572, -0.8124701381, -0.7929095626, -0.5820664167, -0.2624527216, -0.1455379277, 0.0819284394, 1.0503417253, 0.4535526633, -0.817640841, -0.7492921352, -0.1349869519, 0.1435388327, -0.1597581953, -0.1978878081, 0.0675444677, -0.1875917912, -0.6510307789, 0.6803546548, 0.7625056505, 0.4318236411, -0.2951978445, -0.0939436927, -0.9605634809, -0.0278251469, 0.8015199304, 0.7583397627, -0.6177289486, 0.1097245663, 0.1189443246, -0.3819110096, 0.0826578736, 0.7376294732, -0.897172749, 0.5205250978, 0.7285946012, 0.8707122207, 0.1500478089, -0.2982584834, 1.1370658875, -0.4574966133, -0.0904597342, 0.2086221576, 0.1816877425, 0.4087931514, -0.3251975179, 0.4538966715, 0.4206323326, -0.2007175982, -0.6261161566, 0.1622496694, -1.3854273558, -0.6501402259, 0.7463067174, 0.5840764642, -0.4528594017, -0.1409018785, -0.2520616353, 0.4649735689, -0.3924430907, 0.5851994753, 0.6424459219, -0.2800230384, -0.0957062766, -0.7478731275, 0.5332064629, 0.459395051, -1.0307124853, 0.0047615352, 0.6506938338, -0.1463866681, 0.1058516055, 0.0788299441, -0.2076553106, 0.3145828247, -0.3453923166, 0.0571987368, -0.151446864, -0.5412222147, -0.5765611529, 0.1751193553, -0.233013168, 0.1658028215 ]
http://arxiv.org/abs/2403.01518v1
http://arxiv.org/pdf/2403.01518v1
Revisiting Dynamic Evaluation: Online Adaptation for Large Language Models
2024-03-03T14:03:48
2024-03-03T14:03:48
Amal Rannen-Triki, Jorg Bornschein, Razvan Pascanu, Marcus Hutter, Andras György, Alexandre Galashov, Yee Whye Teh, Michalis K. Titsias
cs.CL
cs.CL, cs.LG
We consider the problem of online fine tuning the parameters of a language model at test time, also known as dynamic evaluation. While it is generally known that this approach improves the overall predictive performance, especially when considering distributional shift between training and evaluation data, we here emphasize the perspective that online adaptation turns parameters into temporally changing states and provides a form of context-length extension with memory in weights, more in line with the concept of memory in neuroscience. We pay particular attention to the speed of adaptation (in terms of sample efficiency),sensitivity to the overall distributional drift, and the computational overhead for performing gradient computations and parameter updates. Our empirical study provides insights on when online adaptation is particularly interesting. We highlight that with online adaptation the conceptual distinction between in-context learning and fine tuning blurs: both are methods to condition the model on previously observed tokens.
[ -0.3876393437, -0.9152371287, 0.4948715866, 0.2183511853, -0.1084108651, 0.2404485196, -0.6735209227, -0.7068252563, -0.0520396046, -0.0606293716, -0.4584497511, 0.2357155979, -0.3190811872, -0.1510878056, -0.4536946714, 1.0614886284, -0.3322265744, 0.065724276, -0.0657669455, -0.250942111, -0.4233744442, -0.1087455377, -1.0362530947, -0.2794516981, 0.3652587831, -0.1594442427, 0.4955897331, 0.7811187506, 0.376347512, 0.3349651396, -0.1709689349, -0.096890904, -0.7897666693, 0.2825090885, -0.1729883701, -0.7225617766, -0.2742539644, -0.2767750621, 0.9164621234, 0.8734652996, -0.3265078366, 0.1550486386, -0.0499445014, 0.6000391841, -0.996291697, -0.0446620435, -0.7363073826, 0.1672020108, 0.1380643398, -0.4668028057, -0.3143914044, -0.4990906417, 0.461280942, -0.8450925946, 0.1565933079, -0.2509116828, 0.7777494788, 0.3008058965, -0.2444425821, -0.3274942636, -1.1748367548, 0.6839808226, -0.4829670191, 0.6684911847, 0.2681230307, 0.6195073724, -0.141728282, -0.8852677345, -0.2436046451, -0.5543184876, 0.5011362433, 0.2032671422, 0.0390628316, 0.0371504277, 0.3271415234, 0.4082300663, 0.169049114, 0.1001213491, -0.3638281524, -0.087108925, 0.5826081634, 0.1680126488, 0.106183365, 0.4372760057, -0.0828869045, -0.0452225283, -0.3353016973, 0.1186235696, 0.3561997116, 0.2009717822, -0.2520374358, -0.1527544558, -0.2173789144, 0.7597796917, 0.4112685621, -0.0696125925, 0.257186085, -0.3417324722, 0.1043765619, 0.0472990945, 0.1224102825, 0.3763142228, 0.2757073343, -0.2485043555, -0.2347520739, -0.1565274894, 0.3110559583, -0.8726146221, -0.2459719777, -0.0328589901, -0.4997276664, -0.137197271, -0.0959500596, -1.0449001789, -0.5694558024, -0.425516963, 0.7349215746, -0.2746838927, -0.1680407226, 0.2807189822, -0.2045749426, 0.0106123043, 0.5692815781, -0.9833860993, 0.574888587, 0.4502007067, 0.8665568233, -0.3772836924, -0.3132776022, -0.7265180349, -0.1690554917, -0.2805998027, 0.7055241466, -0.6096214056, -0.102754645, 0.1035020351, -0.0360909365, -0.233762756, -0.5280898213, 0.1619235128, -0.6602275372, 0.1436698288, -0.1722314507, -0.5254677534, 0.0135217756, 0.0270425566, -0.6595652699, 1.1278202534, 0.3027455807, -0.5147300363, 0.6381965876, -0.9369456768, -0.3354824781, -0.1962187141, 0.3886324763, -0.2299559712, 0.5028902292, 0.063393414, 0.1328352988, 0.0010332365, 0.0894686878, -0.5490766168, -0.6387489438, 0.5583141446, -0.2764570415, 0.5090045333, 0.3131025136, -0.4630816281, 0.1343069822, -1.0658322573, 0.136901319, -0.1464050859, -0.8760891557, -0.3429842591, 0.5371213555, -0.0593749359, -0.0409776941, -0.0001866535, -0.2925477028, 0.1479855329, -0.8172388077, 0.7119018435, 0.880956769, 0.0572784841, 0.5002537966, -0.1251848638, 0.4405926764, -0.2801972628, 0.2847225368, -0.1816981733, -0.097650066, -1.0808484554, -0.0855711251, 0.8098593354, 0.357157141, -0.4307988286, 0.1764815152, -0.3362258077, -0.3902054727, -0.4107574522, -0.1300641447, 0.0826946273, -0.0548343547, 0.161181137, -0.5518174171, -0.4701051414, -0.5272545218, -0.4806618989, 0.0428652503, -0.1623581797, 0.3746013343, 0.3904660642, -0.2547336519, 0.6928184032, -0.3891870677, 0.1500019431, -0.150527969, 0.1518368721, -0.1672654897, 0.2521639168, 0.6697713733, -0.3924055696, -0.3626201153, -0.0951877609, -0.2496799231, -0.1256193221, -0.4780389369, 0.1848572642, 0.1173777804, 0.4668602347, -0.180015102, -0.0015563003, 0.5727820992, -0.3135146797, 0.2051812857, -0.6192896962, 0.1967092454, -0.9161608815, -0.1456150413, -0.1612909585, -0.2754899561, -0.512204349, 0.4022904932, 0.0371512249, -0.0558225214, -0.595770359, 0.736851275, -0.6500278711, -0.3023871481, -0.2841791213, 0.2505685091, -0.1353127956, 0.1485975683, -0.4792129397, 0.7194204926, 0.6254068017, -0.8277936578, 0.3594658375, -0.1956276298, -0.6676766872, 0.297576189, -0.1676055342, 0.261541158, -0.1116445437, 0.3674242198, -0.6491208076, -0.1350817978, -0.0243621729, -0.0083738165, 0.3502764106, 0.2396746427, -0.2827007771, -0.0357434526, -0.4038536847, 0.5940478444, 0.3687163591, -0.4598681033, 0.4604222476, 0.3057989478, 0.2692719698, -0.1170344874, -0.5099540353, -0.1359253973, -0.3716997504, -0.1493182927, 0.5429272652, -0.2352096885, -0.453304857, -0.0495246872, -0.0206973348, -0.3198842108, 0.7097703815, -0.0232317112, -0.2214173526, -0.3120522201, 0.3407757282, 0.0335052572, 0.1669951379, 0.0403637178, -0.116121605, 0.4480371475, -0.0725884885, -0.115781121, -0.3577404618, 0.1159635931, 0.4471684396, -0.0108549912, 0.7722873092, 0.6279999614, -0.5373881459, -0.4297043979, -0.3893714547, -0.3803195059, -0.4772658944, 0.634875834, -0.3905799389, -0.8249943852, 0.795478344, -0.5114322901, -0.3115942776, 0.4748148918, 0.6704282761, -0.0182891395, 0.8930097222, 0.8915576935, 0.2948690653, 0.8853450418, 0.0824677646, 0.1965184212, -0.7526658177, 0.0021743397, -0.2854785621, -0.582873106, -0.8426690102, -0.3288917243, 0.2141643316, 0.4031735361, -0.1184820086, 0.0331294313, -0.1416978687, 0.6055827141, 0.0098819612, 0.3512901962, -0.0151801687, -0.0771161467, -0.0564818569, -0.1611919999, -0.6556168199, 0.170789212, 0.9666854143, 0.4787020087, 0.533646822, -0.0436764173, -0.0857170224, 0.3598490953, 0.2347033024, -0.8523799777, 0.3629219532, 0.0873187184, -0.6503592134, -0.1316290349, -0.1975953132, -1.0292155743, 0.0309604649, -0.3395656049, -0.8182404637, 0.1528906226, 0.2950765193, -0.6393072009, 0.2265536636, -0.6668118834, 0.6746393442, -0.5313177705, -0.522636354, -0.7983282804, -0.4372156262, 0.1383468807, -0.5750666857, 0.1337459236, -0.0260970108, -0.1989404112, 0.876421392, -0.0522680022, 0.7771236897, -0.2021708488, 0.1941919029, 0.0322835073, 0.1542653888, 0.4998458922, -0.1688278615, -0.3207575679, 0.0171801224, 0.326125294, -0.220365569, -0.8570373654, 0.7774886489, -0.7021035552, -0.3877186477, -0.3624553382, -0.6333166361, -0.4158146083, 0.0198613442, -0.1825017035, 0.4492762387, -0.2108599544, 0.2966918051, 0.4950266778, -0.5574160814, 0.4535086453, 0.5008388162, -0.260533452, -0.2329422385, 0.8621370196, 0.3037916422, 0.6434058547, 0.3544256091, 0.6025900841, -0.247673884, -0.716757834, -0.4524364173, 0.1586039513, -0.9621316791, 0.338940829, -0.2417669743, -0.0503499173, 0.0884556249, -0.2229786664, -0.4611712396, -0.5713862181, -0.3459018171, -0.0709734783, 0.532048583, 0.7179274559, 0.0717127994, 0.3355500996, -0.5708013177, 0.0037516633, 0.1060134321, 0.7896336317, 0.1019383073, -0.7900482416, -0.6178240776, -0.0272397511, -0.420905292, -0.7679494023, 0.0976131409, 0.8439436555, 0.7034762502, 0.44325611, -0.0557156876, 1.0810116529, -0.6426166892, 0.7430128455, -0.1904605478, -1.0484081507, 0.3710200787, -0.3210184574, 0.4484981, 0.6069899797, 0.415584296, -0.4789089859, -0.106110014, -0.3881996572, -0.8358920217, 0.5188910365, -0.2117608935, 0.5749746561, 0.2856751978, 0.8138757944, 0.3592764735, 0.2807471156, -0.4122892022, -0.0155816507, -0.0346350931, 0.0924448296, -0.1012180299, -0.3308317363, -0.001395553, -0.6952997446, 0.176800102, -0.2913323343, 0.5672195554, -0.1163611561, -0.1225036457, -0.3343531191, 0.1933359802, 0.818031311, 1.2270681858, -0.2135362476, -0.0509361178, 0.8230783343, -0.2090282291, -0.0271425415, -0.1542635858, -0.0356398486, -0.3271048963, 0.4593493938, 1.3171408176, 0.7542106509, -0.7417858839, 0.3574653268, 0.0062975865, -0.0028450137, -0.3677472472, 0.2484779358, -0.1391168535, 0.2532253563, 0.2245746404, 0.0892625526, 0.136241436, -0.918125093, 0.2869414091, 0.2006479949, -0.4892603457, -0.6583892107, 0.6757204533, 0.2483616024, -0.4630516768, 0.366743058, -0.0373738371, -0.4922724366, 0.3825951815, 0.7960105538, 0.9944052696, -0.328232646, -0.1567548513, 0.3257186115, -0.1176482663, -0.2305659801, 0.1552080661, -0.1077656001, -0.524661243, -0.4936107397, -0.9346288443, -0.300326705, 0.163150385, -0.5451498032, 0.2755261362, -0.6700231433, -0.1985209882, -0.0788175315, -0.218689099, -0.3672877252, 0.3314227164, 0.2011763752, 0.9570455551, -0.6998178363, 0.8128123283, 0.4514716566, 0.0819021538, -0.4821810126, 0.380271256, -0.224733755, -0.4630522132, 0.542997241, 0.1245808229, -0.0021553354, 0.0673253685, -0.0282397252, -1.1563725471, 0.8451927304, 0.7350221276, -0.4803628325, 0.1699511856, -0.2029206753, 1.0296133757, -0.2931842804, 0.5365531445, 0.6248480678, 0.3400968909, -0.2509206235, -1.2051161528, 0.0075721941, -0.0242723767, 0.0072512315, 0.3552664518, -0.6319097281, 0.7582294941, -0.1095741242, -0.3778621852, -0.1524762064, 0.4340429902, -0.3846572936, 0.0754141659, 0.5801917911, 0.3106345236, 0.804574132, -0.1231033504, 1.366599679, -0.3627141714, 0.4062183499, 0.8784435987, -0.2922048569, 1.0847526789, 0.4539010227, -0.3933766484, 0.6178465486, 0.9591240287, -0.0192993395, 0.6756136417, 0.4702354968, -0.083154045, -0.2662522197, -0.0565018654, -0.4173725843, 0.3694655299, 0.1818781048, -0.3085948229, -0.2896854877, 0.1816132814, -0.243088007, 0.0884248912, -0.5222509503, 0.6406998634, -0.0453420132, -0.7497292161, 0.8329936862, 0.1970757395, 0.3235082924, -0.5579502583, 0.2182413638, 0.0626499876, 0.6806986928, -0.0453725159, -0.4177383482, 0.5363129377, -0.3487755954, -0.0552433468, -0.1434289813, 0.519960463, 0.0118720233, -0.4808474183, 0.6295282245, 0.2791810632, 0.111927174, 0.1629284173, -0.841019094, 0.3023726046, -0.2257045507, -0.3904680014, 0.6922188401, 0.146659255, -0.2949781418, 0.8910108209, 0.6088062525, 0.2864329219, 0.5014945865, 0.2140337527, 0.8231363297, -0.4787193835, -0.5821064711, -0.8479792476, 0.390184015, 0.183517009, -0.5114011765, 0.5476050377, 0.4238635302, 1.1223777533, -0.1372847259, 0.5193893313, 0.1157710031, 0.2800325453, -0.6943640709, 0.7486719489, -0.8271972537, 0.0167089235, -0.0323350541, -0.9571820498, -0.3106894493, 0.5176586509, -0.4374485612, 0.1274752766, 1.0501941442, 0.5072951317, -0.2514975369, -0.1236316115, 0.222715959, 0.3051644266, 0.0411518812, 0.4096418619, 0.8620598316, -0.5468517542, 0.1683797091, -0.0776058137, -0.1269998997, -0.3042422235, -1.1138486862, -0.769380033, -0.5884045959, -0.479239881, -0.2440893501, 0.4594395757, 1.0300247669, 0.5979360342, -0.9841848016, -0.3570922017, -0.0725471675, -0.4247089624, -0.542681098, -0.1784248948, 0.2173104584, -0.3373481333, -0.7686479092, 0.5687491298, 0.2088138908, -0.2368941456, -0.4584518075, -0.0876551569, -0.1919898987, 0.2684105337, 0.5715125203, 0.1494837552, -0.6697710752, -0.5954287648, -0.3358838558, 0.2371445894, 0.3360367119, 0.8600812554, -0.6876606345, 0.8447781205, 0.7200234532, 1.0325580835, 0.6790604591, -0.0549108572, 0.8032094836, -0.2455212474, 0.1917008907, -0.0599391125, 0.1162452102, 0.3105942905, -0.1644223481, 0.0550006479, 0.4119794667, -0.5558972955, -1.1244122982, 0.2092195749, -0.7412343621, -0.254342258, 1.1249264479, -0.0711750388, -0.20033665, -0.0367024913, 0.0641211644, 0.37977615, -0.1110484898, 1.2062916756, 0.8200054169, -0.1167970672, -0.1284392774, -1.0113582611, 0.6919969916, 0.3295633793, -0.8069414496, -0.0373447053, 0.1871810108, 0.466381222, -0.0837417915, 0.2537774742, 0.2936115265, 0.2585202754, -0.0245528873, -0.257950902, 0.198109895, -0.3602063656, -0.8394976854, 0.1479746401, 0.3783196807, -0.0565809719 ]
http://arxiv.org/abs/2403.01509v2
http://arxiv.org/pdf/2403.01509v2
Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semantics
2024-03-03T13:14:47
2024-06-09T13:07:50
Zhu Liu, Cunliang Kong, Ying Liu, Maosong Sun
cs.CL
cs.CL
Large language models have achieved remarkable success in general language understanding tasks. However, as a family of generative methods with the objective of next token prediction, the semantic evolution with the depth of these models are not fully explored, unlike their predecessors, such as BERT-like architectures. In this paper, we specifically investigate the bottom-up evolution of lexical semantics for a popular LLM, namely Llama2, by probing its hidden states at the end of each layer using a contextualized word identification task. Our experiments show that the representations in lower layers encode lexical semantics, while the higher layers, with weaker semantic induction, are responsible for prediction. This is in contrast to models with discriminative objectives, such as mask language modeling, where the higher layers obtain better lexical semantics. The conclusion is further supported by the monotonic increase in performance via the hidden states for the last meaningless symbols, such as punctuation, in the prompting strategy. Our codes are available at https://github.com/RyanLiut/LLM_LexSem.
[ -0.398416549, -0.6334599853, 0.8847746253, 0.0352131091, -0.2941760719, 0.3672012687, -0.0565204956, -0.3775838614, 0.2188305706, 0.5708270073, -0.7141941786, -0.7856849432, -0.6443939805, 0.0654163584, -0.3701397777, 0.7881593704, 0.0921998546, -0.201408729, -0.1816914976, 0.0679393858, -0.24745363, -0.6969351768, -0.3518419862, -0.6325378418, 0.4505101442, 0.2582061589, 0.8647866845, 0.7325446606, 0.2005231082, 0.2026491612, -0.763256669, 0.2814796865, -0.5121646523, 0.1775045544, -0.1721251011, -0.7730754018, -0.182325989, -0.2220024318, 0.5940105319, 0.7338780165, -0.1284121126, -0.0378432944, -0.1012161747, 0.3409844637, -0.7384727597, 0.2971460223, -0.8290888071, 0.2597170174, -0.414097935, -0.4235827327, -0.2577475011, -0.0952902138, 0.0778961182, -0.4596696496, 0.1582505554, 0.1121508628, 0.8380118012, 0.28841272, -0.2079259455, -0.5521662831, -0.4437640011, 0.7061157227, -0.5122465491, 0.2835923731, 0.4324076176, 0.0785522833, -0.3212849498, -0.5626974702, -0.6075095534, -0.6475793719, -0.0204409063, 0.2086813599, -0.4607061744, 0.1403456777, 0.1256851852, 0.5296488404, -0.1375496089, 0.5198450089, 0.0719615892, -0.43201828, 0.1258119047, 0.1864583641, 0.4021575749, -0.3351196051, -0.6379870772, 0.0959783867, -1.0570883751, -0.2591583729, 0.3346537948, 0.0920573249, -0.3287670612, 0.735580802, -0.0523988865, 0.4213095009, -0.4400142729, -0.0625521168, 0.3835701346, -0.4230124652, 0.0785601735, 0.1761004329, 0.2665297985, -0.0581057183, 0.221307382, -0.3269227743, -0.4420914054, 0.3418714106, 0.0288857501, -0.4741029441, -0.1537730694, -0.1151248366, -0.2155526727, -0.3762437403, -0.1233245581, -0.1507467926, -0.5155758262, -0.2844486535, 0.199585557, -0.4930512607, -0.2791872621, 0.2466870695, -0.1508765817, 0.614320457, 0.2688809931, -0.895588398, 0.2880041301, 1.053912282, 0.8950938582, -0.1691580266, -0.1879565418, -0.3836745024, 0.1432075202, -0.7989937067, 0.9433630109, -0.7952890992, -0.30148229, 0.131162256, 0.0048300233, 0.1949132085, -0.7712082267, 0.6942237616, -0.7226418257, 0.0825882703, -0.4888879061, -0.4746583402, -0.260741055, 0.1983774751, -0.4672697783, 1.1335020065, -0.017413944, -0.7715935111, 0.3292341828, -0.6062374711, -0.2601309717, 0.2292253077, -0.1770895422, -0.149984166, 0.6648905873, 0.1925614774, 0.5680503845, -0.3671066463, -0.0137814889, -0.1798436791, -0.4591432214, 0.4281786978, -0.2930765748, 0.7131297588, 0.1192202941, -0.4652245343, -0.0306384061, -0.6979658604, -0.2357762605, 0.3007877767, -0.3471615911, -0.4476162791, 0.1304919124, -0.2439359874, 0.0514376052, 0.377012223, -0.4391818345, -0.0660950467, -0.4664823711, 0.5201284885, 0.8264400959, -0.037576206, 0.3521664739, -0.1366307586, 0.5124191046, 0.1644452959, -0.2312799841, -0.2175462395, -0.5720219612, -0.9401319027, -0.2278988659, 0.1271226406, 0.4224261045, -0.5786097646, 0.3895919025, -0.1249049157, -0.1946636736, -0.4000369608, 0.2582469881, 0.6272959709, 0.2802023292, 0.2356287837, -0.2955143452, -0.2292835414, -1.1631911993, 0.1085084528, -0.3693790734, -0.0369538516, 0.2048658133, 0.3585009873, -0.5442747474, 0.6314591169, -0.3353678584, -0.0079196952, -0.4775989652, -0.0467535481, 0.1023989469, 0.0875357166, 0.4166163802, -0.342816025, 0.2462555319, 0.0138162468, -0.6804817319, -0.4410102367, 0.058370132, -0.3465783298, 0.0766669288, 0.3914631605, -0.6134956479, 0.0311597884, 0.4633105993, -0.1265284121, 0.5317875743, -0.1373730004, -0.4483170211, -0.9522332549, -0.1702985317, -0.2747218609, -0.1529983878, -0.6455602646, 0.3845782876, 0.1574494988, 0.214025557, -0.2640972733, 0.368004024, -0.771294713, -0.4472984374, -0.2955768704, 0.3313829303, -0.0849255994, 0.3199715614, 0.1208664849, 0.9424035549, 0.8514504433, -0.4973441064, 0.0126891844, 0.1477122009, -0.5344420075, 0.1045369506, -0.3658007979, 0.1948813796, -0.2496502399, 0.200595811, -0.9767094851, -0.2367626578, 0.0184711497, -0.4088760614, 0.2562940717, 0.0692567825, -0.7734853029, -0.3536027074, -0.4563963711, 0.2168090791, 0.5588274002, -0.6444010139, 0.1908612698, 0.5035773516, -0.0053405361, -0.5011281371, -0.8213531375, 0.3814190626, -0.1279233098, -0.2131249458, 0.4224531949, 0.1319241077, -0.3334223628, -0.099660933, -0.1067436934, 0.4132996798, 0.3762404025, 0.2082914114, 0.2423564345, -0.3832875192, 0.1301642209, 0.2685844004, -0.249992311, 0.3415025771, -0.4384607077, 0.8792374134, -0.3114625812, -0.2060505003, -0.5010870695, 0.0276314318, 0.4721833467, -0.210387364, 0.7165336013, 0.536395967, -0.5158657432, -0.4057152569, -0.5434373617, -0.0413218066, -0.4448944032, 0.460144639, -0.5295527577, -1.034326911, 0.7297955155, -0.0132072829, -0.2230104804, 0.3263285458, 0.9054741859, 0.0915004164, 0.8154367805, 0.633050859, 0.1012891233, 0.1827511936, -0.3356706202, 0.002072861, -0.8576427698, -0.4800925255, -0.2900052965, 0.0113351215, -0.6588128805, -0.4833788276, 0.2443732917, 0.4501709044, 0.002922788, 0.3740407526, -0.2776919603, 0.5991852283, 0.4948005378, 0.0482547246, 0.2767733037, 0.2612276375, -0.5638910532, 0.1812193245, -0.6288101673, -0.5775285959, 0.7513563633, 0.5756926537, 0.654725492, 0.231152609, 0.8173937201, 0.1183203906, 0.0629653633, -0.8726477027, 0.7420580387, -0.0743122101, -0.3600555658, 0.1322938055, -0.1622271985, -0.7942146063, 0.1859613359, -0.0789688304, -0.7324058414, -0.0276807714, -0.0283368491, -0.2449413836, 0.2255611122, -0.4671466649, 0.4657203257, -0.1160471365, -0.2332528979, -0.2830275893, -0.5262591243, 0.3533647954, -0.0073541268, 0.0933818966, -0.3528880775, -0.5287430286, 0.5674265623, -0.384989053, 0.7676233053, 0.0483953245, -0.5106954575, 0.3033025861, 0.3802712262, 0.4613808095, -0.0492679104, 0.0378172025, 0.2627816796, -0.3264800608, -0.4627374709, -0.3869080544, 0.8588774204, -0.7875679731, -0.7623075843, -0.198699832, -0.3938977122, -0.2568133175, -0.0087761236, 0.2842379808, 0.5673735738, 0.2531889975, 0.0172649957, 0.7167589664, -0.3688215315, 0.3429566324, 0.2154684216, -0.1171840653, 0.0021687835, 0.8698663116, -0.1691996157, 0.3356271386, 0.6854478717, 0.3662408888, -0.5478093624, -0.8172395825, -0.289989531, 0.4318083823, -0.9328688383, -0.159614712, -0.468306303, -0.3026692569, -0.0967617631, -0.1103091016, -0.199232623, -0.3906124234, -0.5969743133, -0.4748393297, 0.226539284, 0.9646186233, -0.1246018186, 0.2353034765, -0.3568681777, 0.0885368437, 0.1671129018, 0.2451424748, 0.0751746595, -0.5783282518, 0.1523903012, -0.3919647038, -0.0484408289, -0.7894482017, 0.101304248, 0.2230730653, 0.5372288823, 0.5522828698, -0.2617316246, 0.4943609536, -0.4484404325, 0.8122838736, 0.1971745938, -0.7996382117, 0.4403243959, -0.2551421523, 0.4253620803, 0.2880124152, 0.3239204884, -0.3891714811, -0.5328475237, -0.2844837606, -0.7184488177, 0.6017578244, 0.2675297558, 0.6580097079, -0.3359865248, 0.447583586, 0.4108211696, 0.1459225118, -0.7100940943, -0.2609269321, -0.0170487985, -0.0055155382, 0.1050584093, -0.7043377161, -0.0475946739, 0.0868474469, 0.2709994018, -0.0324604362, 0.4272843897, -0.057592269, -0.1769765913, 0.2329759598, 0.4272619188, 0.5511808395, 0.6205658317, 0.0987814292, 0.6879319549, 0.2129808068, -0.4263073802, -0.1442665607, -0.0804715604, -0.1084520966, -0.0667271316, 0.8134928346, 1.0301828384, 0.5398257971, -0.6953036189, 0.4510196447, 0.4421647489, -0.1593872756, -0.5033127069, 0.326456368, 0.1967504621, 0.3057667911, 0.4241747558, -0.3424903452, 0.1470686793, -0.7143304348, 0.0725448355, 0.5898956656, -0.2958180904, -0.4738613069, 0.692428112, -0.2359446734, -0.0643240213, 0.3460049629, -0.4959073663, -0.7754135132, 0.3454745412, 0.7517337203, 0.7629806995, 0.3050016761, 0.3720366359, 0.0191513821, 0.2365366518, 0.2115843594, 0.2514974177, -0.4355036914, -0.8592572808, -0.2738405168, -0.9211102128, -0.2327970117, 0.1464889348, -0.4148836732, 0.1244253442, -0.4089780748, 0.0333450437, 0.03199194, -0.1704915762, -0.5727698803, -0.1364357173, 0.8017324209, 0.8849779963, -0.4552456737, 0.7504124641, 0.6310123801, -0.2574126422, -0.4700497985, 0.074358128, 0.0594616085, -1.4933751822, 0.7451547384, 0.2838094234, -0.4759759009, 0.1930996627, -0.6243590117, -0.9844628572, 1.0049058199, 0.4741050899, -0.4256410301, -0.2328297496, 0.3441632986, 0.6351140738, -0.2581914663, 0.3183462322, 0.6655312777, 0.1493480653, 0.2656541169, -0.4749367833, 0.1386343241, -0.099760212, 0.5718256235, 0.070739001, -0.3536346853, 0.6447561383, -0.4575746953, -0.6532735229, 0.3491381109, 0.7090210319, 0.3742481172, -0.0016367122, 0.2361658663, 0.7345264554, 0.6217287183, -0.1783615649, 1.182331562, -0.2917838097, 0.2952487469, 0.6134909391, -0.1364561319, 0.8025196195, 0.3266928196, -0.0696632415, 0.8421549797, 0.8635965586, 0.1665537804, 0.6137125492, 0.4497838318, -0.4454187453, -0.4007333219, -0.3614811301, -0.3574899137, 0.4569617212, 0.6709768176, -0.3053777814, -0.3539717495, -0.0782362968, 0.2083214372, -0.0717926025, -0.4740040302, 0.90812397, 0.073706314, -0.3823984265, 0.871309638, -0.046773877, 0.6578595042, -0.4498352408, 0.0459151752, -0.529653132, -0.0430949815, -0.1852879822, -0.9127173424, -0.0990638733, -0.1278378367, 0.1240034699, 0.0062755854, 0.6857648492, -0.1789187342, -0.3935806453, 0.6765288115, 0.5566048622, 0.2453138679, 0.3009297848, -0.5695248842, 0.2350131422, -0.3568072617, -0.1973086596, 0.0807166174, 0.4593878686, -0.0834462196, 0.5453945994, 0.5263171196, 0.0706078261, 0.3525681496, 0.3522717953, 0.8971050382, -0.5919699073, -0.4211048186, -0.9326630831, 0.1304551363, 0.1347171813, -0.416575253, 0.5116748214, 0.428963691, 0.9441942573, 0.0510259829, 0.4766117334, 0.2157407999, 0.1796939522, -0.8678390384, 0.4441834688, -0.6410397291, 0.4218575358, -0.0521226674, -1.1934294701, -0.3921967745, 0.2729188502, -0.2107819766, -0.199740693, 0.6389555335, 1.0026046038, -0.0016681777, 0.0918423682, 0.3374435902, 0.5094364882, 0.010021829, 0.5145887136, 1.3508040905, 0.1601743102, 0.0830943808, -0.236822024, -0.3418089747, -0.0887415633, -0.6141251922, -0.7707951069, -0.6279202104, -0.1363345534, -0.1530533582, 0.236215651, 0.7350560427, 0.4065019488, -0.7917444706, -0.0797485784, -0.5415304899, 0.0737790763, 0.1918358654, -0.2165822238, 0.3534777164, -0.6418780684, -0.4685061574, 0.4810868502, 0.4442503452, -0.0423110649, -0.5282905698, -0.0167202242, 0.1307616979, 0.0434521846, 0.8401586413, 0.0525456108, -1.2136495113, -0.3840883076, 0.0308481436, -0.1566493809, -0.0511915535, 0.6746070981, -0.7328787446, 0.2695206702, 0.2662100196, 0.7932381034, 0.4462201595, -0.2489730269, 0.1899954379, -0.5639593601, 0.0013611385, 0.0752625838, 0.4448780715, 0.4127092957, -0.1058347449, 0.3961418569, 0.3832015097, -0.0743992552, -0.8172471523, 0.3454578221, -0.8620740771, -0.2166437805, 1.3565689325, 0.1602399051, -0.2257093489, 0.0958210081, -0.0498711839, 0.0185112525, -0.1420926005, 0.6613376737, 0.6523866057, -0.2768606544, -0.2544947565, -0.621016264, 0.4129697382, 0.4780050814, -0.627412498, 0.0283073094, 0.4998264909, 0.066485025, 0.3273137808, 0.2829331458, -0.2355071157, 0.0993614644, -0.081280373, -0.3064405024, 0.0123185897, -0.4373192787, -0.2600839436, 0.1763958186, 0.300306946, -0.1569914967 ]
http://arxiv.org/abs/2403.01481v1
http://arxiv.org/pdf/2403.01481v1
Infusing Knowledge into Large Language Models with Contextual Prompts
2024-03-03T11:19:26
2024-03-03T11:19:26
Kinshuk Vasisht, Balaji Ganesan, Vikas Kumar, Vasudha Bhatnagar
cs.CL
cs.CL
Knowledge infusion is a promising method for enhancing Large Language Models for domain-specific NLP tasks rather than pre-training models over large data from scratch. These augmented LLMs typically depend on additional pre-training or knowledge prompts from an existing knowledge graph, which is impractical in many applications. In contrast, knowledge infusion directly from relevant documents is more generalisable and alleviates the need for structured knowledge graphs while also being useful for entities that are usually not found in any knowledge graph. With this motivation, we propose a simple yet generalisable approach for knowledge infusion by generating prompts from the context in the input text. Our experiments show the effectiveness of our approach which we evaluate by probing the fine-tuned LLMs.
[ -0.2135259062, -0.8316347003, 0.8524044156, 0.0002188869, -0.2352313697, 0.091923736, -0.2126141936, -0.4904994369, 0.2734916508, 0.7533972859, -0.6285025477, -0.2825855613, -0.3727201819, 0.2193912417, -0.3466313481, 0.9905472994, -0.0081081968, -0.0214872137, -0.8752861619, 0.1955497414, -0.5641239285, -0.6776974797, -0.7772334218, -0.6728008389, 0.5039781928, 0.4535598755, 0.3027395606, 0.1948842406, 0.1466593444, 0.191159904, -0.1628297567, 0.5962824225, -0.24964495, 0.370606035, -0.3481261134, -0.362144202, -0.2342571318, -0.2222825885, 0.6510143876, 1.0391212702, 0.1411491781, -0.150253877, 0.5198718309, 0.4171238542, -0.5176394582, -0.0933304727, -0.6292155385, -0.0662616938, -0.2244099826, -0.5585295558, -0.4177129269, -0.3305208087, 0.6768596768, -0.6151313186, -0.0167398918, 0.2025700361, 0.6622159481, 0.2016879916, -0.4279312789, -0.5125501752, -0.5905997753, 0.5933015943, -0.747066021, 0.2053296417, 0.3092717528, 0.2634228766, -0.3467356563, -0.9866994619, -0.7716347575, -0.2131898701, -0.3887222409, -0.1831929237, 0.0438080393, 0.1380767375, 0.3274013698, 0.1436718702, -0.3190069199, 0.0407826342, 0.1578927785, -0.0773304403, 0.1306436658, 0.2690012455, 0.5035737753, -0.080893077, -0.5034124255, 0.1350878477, -1.0802650452, 0.0061173318, 0.038805265, 0.4432192743, 0.0977134258, 0.5602554679, -0.2553309202, 1.2933356762, 0.1038767695, -0.4216586649, 0.0186735466, -0.5206230879, -0.3003205657, 0.1236697063, 0.5636104941, 0.2631778419, 0.2140347362, -0.3646699488, -0.1364873648, -0.3726325035, -0.0311159622, -1.0183509588, 0.1069656536, 0.294451654, 0.1316716075, -0.196603179, -0.2097183615, -0.5830065012, -0.7005140185, -0.3706544042, 0.3258366883, -0.5497018099, 0.0734657645, 0.150179714, -0.4458804727, 0.2603369355, 0.5183964968, -1.116944313, -0.0927034318, 0.4528456628, 0.7172055244, -0.2914571762, -0.2386829257, -0.4900061488, 0.659291923, -0.0916386321, 1.1019252539, -0.7127370834, -0.3362351954, 0.4390758276, -0.0052150358, 0.1073835194, -0.5559591055, 0.3385267258, -0.6996606588, 0.400895834, -0.4420363605, -1.0065809488, -0.1237421855, 0.4984265566, -0.2023621947, 1.0784928799, 0.4151111245, -0.7213987112, 0.49729231, -0.7980704308, -0.4310147464, 0.3346284032, -0.1995098144, 0.2452559471, -0.2167430371, 0.5732599497, 0.7306214571, -0.4154985845, 0.5209450722, -0.3091954291, -0.037579447, 0.2701381445, -0.2060437948, 0.8736006021, 0.0200393181, -0.0602053441, 0.0400670096, -0.6118466854, -0.0921453908, -0.0386953652, -0.4013922811, -0.5953004956, -0.2757513523, -0.3035811782, 0.0446135849, 0.2850764096, -0.3773140907, 0.6185164452, -0.9032153487, 0.4817889631, 0.5006200075, 0.5468297005, 0.8762975335, -0.1278345734, 0.4480558336, 0.0306459907, -0.1281275153, -0.3557876945, -0.4507806599, -0.6355038881, -0.4485414922, 0.1948336214, 0.560958147, -1.2036651373, 0.5205736756, -0.2259520292, -0.3459395468, -0.161193043, 0.3646121323, 0.0064394367, 1.3074166775, 0.3935550451, 0.105067037, -0.4508115351, -0.673297286, -0.1258123517, 0.1613751203, -0.3937261105, 0.4086863995, 0.2816261649, -0.4613637924, 1.3510280848, -0.5541787744, -0.2700483799, -0.4292095602, -0.2630928457, 0.3334726095, 0.4643927515, 0.6219438314, -0.357104212, -0.5889679193, 0.0244848076, -1.1121860743, -0.1554785073, -0.1188715026, -0.2253786176, -0.1145446301, 0.8603938222, -0.6220584512, -0.0156749859, 0.3988522589, -0.5139017701, 0.3274089396, -0.1568493396, 0.0648859665, -1.3424118757, 0.0405113399, -0.3176347315, -0.3816047609, -0.9936031699, -0.056664966, 0.0885973647, -0.2068289369, -0.6067972779, 1.1410295963, -0.3173471987, 0.2095213234, -0.2244535536, 0.5344715118, 0.336430639, 0.3554472327, 0.1044587046, 0.6594723463, 0.7414237261, -0.838504076, 0.4536234438, 0.4606189132, -0.6217218637, 0.6921848059, -0.6405547857, 0.2136823386, -0.1393000931, 0.4907204509, -1.0540519953, -0.5081269741, 0.3771052957, -0.241940856, 0.4774396122, -0.0602323115, -0.4812580645, -0.0547940135, 0.0435053743, 0.43836689, 0.3885864913, -0.924503386, 0.8705042601, 0.2350524366, -0.2619273663, -0.5349917412, -0.6924635172, 0.1719842404, -0.426109761, -0.8045582771, 0.4733684063, -0.0898472741, -0.2475187033, -0.071556218, 0.4607113898, 0.04670332, 0.144964993, 0.0069973003, 0.2005249113, -0.0697007477, 0.3882700801, 0.3648619652, 0.0866270959, 0.0247276779, -0.7542880177, 0.5505134463, 0.2441761345, -0.401317656, -0.4134807885, 0.4645365179, 0.3039551377, -0.0912086889, 0.9029810429, 0.2522585392, -0.5059173107, -0.4423746765, -0.6004382968, -0.376257509, -0.4957000017, 0.0658638179, -0.1948747337, -1.0498687029, 0.4537220299, -0.4955970943, -0.0585782491, 0.3593490422, 0.5573452115, -0.2723604739, 0.869856298, 0.6273198724, 0.0242993403, 0.6410688162, -0.1292616874, 0.1570949107, -0.7629627585, -0.249406144, -0.4438429773, -0.0060618916, 0.0854578912, -0.4574528039, 0.3975723386, 0.2664280236, -0.1609635353, -0.1069399491, -0.3487755656, 0.6107501984, 0.5308737755, 0.1829276085, 0.2754226625, -0.0699901879, -0.3067198694, 0.0870946422, -0.9625259042, -0.4752966166, 1.0377664566, 0.058267381, 0.4300479591, -0.0979951248, 0.657307744, 0.0096790306, 0.4268069863, -0.7639572024, 0.3707900643, 0.188037172, -0.387039274, -0.4951030314, -0.096622467, -0.941475749, -0.1945064515, -0.4324229956, -0.6867892742, 0.1903532594, 0.3959328532, -0.7423909903, 0.0896408409, -0.7543727756, 0.6965534091, 0.0324254856, -0.079482697, 0.1639633924, -0.5120527148, 0.2936322391, -0.1598176956, 0.1238015294, 0.2902217209, -0.1253672093, 0.7082510591, -0.760152936, 0.9323914051, -0.3882095516, -0.3356775641, 0.2953393757, -0.2579326332, 0.8986297846, 0.0983701348, 0.0213637315, -0.212981075, -0.2702764571, -0.3125356138, -1.1174038649, 0.6889938116, -0.4814760685, -0.7528277636, -0.066564478, -0.6967384815, -0.8238576055, 0.1780364662, 0.2255737334, 0.6788642406, -0.0339429565, 0.1250119358, 1.1081876755, -0.3424016237, 0.365745604, 0.3746946454, -0.242092967, -0.2873963118, 0.663364172, -0.0745849684, 0.4053181112, 0.6415745616, 0.2915505469, -0.5036542416, -0.4710067809, -0.6622774005, 0.1919137239, -0.9888983965, -0.3517352045, -0.8420851231, 0.0172078572, -0.5058643222, -0.6084190011, 0.1381723434, -0.2978501022, -0.5417996049, -0.1430878639, 0.6019809842, 0.6448462605, 0.2411690205, 0.4437904954, -0.8837620616, 0.0336076953, 0.7345830798, 0.0866437331, 0.0910527334, -0.6727882028, -0.3452031612, -0.0069889934, 0.1291877776, -0.9764492512, 0.3226030469, 0.2446105182, 0.6133164763, 0.6540276408, -0.0179705881, 0.7858091593, -0.6457147002, 1.1160328388, 0.1745509803, -0.9733318686, 0.7151896358, -0.4700751305, 0.3995195031, 0.584952116, 0.4821132123, -0.5478358865, -0.4507012069, -0.5070933104, -0.8612108231, 0.4305268824, -0.3852180243, 0.4118283689, -0.1443891823, 0.5987801552, 0.0389913693, 0.1773660034, -0.4048536718, -0.1245229319, 0.0312543884, -0.2189668864, -0.0718053877, -0.5147689581, -0.363530755, -0.3368423283, 0.594522655, -0.2986808717, 0.1141565368, 0.3663316667, -0.2993143797, 0.1966132224, 0.0504352972, 0.5337359905, 0.7180300951, -0.015730476, 0.2583238482, 0.4416015744, -0.1075946987, -0.0168299731, -0.0786540732, -0.254024148, -0.0861628279, 0.441770792, 0.7250891328, 0.4331758022, -0.7151122093, 0.553073585, 0.1066786051, -0.1560561508, -0.1866074204, 0.0497806743, 0.3844241798, 0.3858998716, 0.3149483204, -0.1699341685, -0.0297200531, -0.5863546133, 0.1016492024, 0.5642948151, -0.3186445236, 0.1075158417, 0.4277933836, 0.3384323716, -0.1605448723, 0.6525779366, -0.1146246791, -0.4607046545, 0.0780769289, 0.8111124635, 0.6887404919, -0.0328607, 0.0361168794, 0.3747655451, -0.0768835098, 0.0621128082, -0.0167118739, -0.1169369966, -0.9677634835, -0.5837392211, -0.6675915718, -0.4797911942, -0.0538100675, -0.2748948336, 0.2819641531, -0.275893718, 0.0814711004, -0.1039822102, -0.1812496185, -0.8045205474, 0.168212384, -0.0672505498, 1.1060262918, -0.7495378852, 1.0890953541, 0.6226056814, -0.3214017451, -0.87501508, -0.1122948378, -0.4548044205, -0.9423211217, 0.7286164761, -0.1664730906, 0.0876823887, 0.2099474669, -0.7825670242, -0.9299682379, 1.1553995609, 0.6204211712, -0.1649091393, -0.1477752179, 0.1972818971, 0.3703220189, -0.5615823865, 0.1391943544, 0.5454542637, 0.5748358965, 0.1870262176, -0.5016059279, 0.2641890943, -0.0246325061, 0.0228458326, -0.0443313383, 0.0332539864, 0.6351304054, -0.1083982959, -0.2064795941, -0.2144334465, 0.9091864824, 0.1721776873, -0.0702180564, 0.5705590248, 0.3948888183, 1.256426692, 0.1079218984, 1.2705416679, -0.3435883224, -0.1124783382, 1.0658977032, -0.1649004072, 0.5747519732, 0.7771416903, 0.0864717513, 0.6741943359, 0.6019075513, 0.279324919, 0.6288599968, 0.0754589289, -0.528411746, -0.3198136985, -0.6045396924, -0.4229201674, 0.0824148431, 0.4937744141, -0.275230974, -0.1505327523, 0.2512748539, 0.218319878, -0.1080783233, -0.396997571, 1.0304125547, 0.067232281, -0.9186733365, 0.6200525761, -0.3010884821, 0.6138389111, -0.9792574048, -0.1372662932, -0.2867508531, -0.1742219627, -0.244867757, -0.7445527315, 0.2239420861, -0.034739472, -0.3187610805, -0.6106050014, 0.9250409007, -0.786356926, -0.1500830352, 0.0935732946, 0.7013032436, 0.0499016419, -0.2276993096, -0.2383076251, -0.465474695, 0.0103153782, -0.3018031716, 0.5789456367, 0.6085676551, 0.1193334833, 0.5607969165, 0.7918127775, 0.0855846778, -0.3314832747, 0.2605098486, 1.0709747076, -0.3620226383, -0.4836873412, -0.9798004627, 0.6915794611, -0.1650055051, -0.2166433632, 0.8979561329, 0.0874643698, 0.6070997119, -0.1988188922, 0.9475933909, 0.0707261562, 0.467038542, -0.7252315283, 0.7066463828, -0.7253032923, 0.1258681267, -0.3156184852, -0.6664674282, -0.453006804, 0.3802966774, -0.168222636, -0.2797708213, 0.6909923553, 0.849969089, 0.3299630284, -0.1417323798, 0.3251835704, 0.0642307103, 0.2860309184, 0.5070981979, 1.0017969608, 0.1086553186, 0.2265269011, -0.0128345601, -0.3901641965, -0.1517882347, -1.2173885107, -1.1168451309, -0.6331007481, -0.039223928, -0.3635987639, -0.1498157084, 1.0451190472, 0.4214452803, -0.6810124516, 0.0511000976, 0.0534593277, 0.3693165183, -0.0814419314, -0.1831593812, 0.3610883951, -0.7138177156, -0.7952191234, 0.7802322507, 0.2058398426, 0.2206326723, -0.3619415164, 0.0214976091, -0.1164335236, 0.1990055442, 0.807336092, 0.0788128152, -0.3680657446, -0.4256463051, 0.0197870526, 0.0124314306, -0.1638274342, 0.9350034595, -1.0539095402, 0.4836783409, 0.6385813355, 0.9981355667, 0.2494439781, -0.1674702168, 0.9411841631, -1.0825202465, 0.2315357178, 0.2335968018, 0.5762000084, 0.4730545282, -0.5262176991, 0.2958778441, 0.2206030488, -0.4313364625, -0.9047646523, 0.2878686786, -0.9055075645, -0.2270045877, 1.5049505234, -0.1566615701, -0.0334440209, -0.2657591403, -0.2172919065, 0.1785271615, -0.266928941, 0.3913691938, 0.7184614539, -0.1121814921, 0.3422313035, -0.3764104545, 1.0057780743, 0.2577972114, -1.1167874336, 0.0260883179, 0.3519095182, 0.1527822465, 0.1644146889, 0.7529144287, 0.2540366948, -0.1069898978, -0.221722573, -0.1505751312, -0.0755776763, -0.3666915596, -0.2316054553, 0.3273537755, 0.1435197294, 0.3959825933 ]
http://arxiv.org/abs/2403.01479v3
http://arxiv.org/pdf/2403.01479v3
Align-to-Distill: Trainable Attention Alignment for Knowledge Distillation in Neural Machine Translation
2024-03-03T11:13:44
2024-03-25T08:46:15
Heegon Jin, Seonil Son, Jemin Park, Youngseok Kim, Hyungjong Noh, Yeonsoo Lee
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
The advent of scalable deep models and large datasets has improved the performance of Neural Machine Translation. Knowledge Distillation (KD) enhances efficiency by transferring knowledge from a teacher model to a more compact student model. However, KD approaches to Transformer architecture often rely on heuristics, particularly when deciding which teacher layers to distill from. In this paper, we introduce the 'Align-to-Distill' (A2D) strategy, designed to address the feature mapping problem by adaptively aligning student attention heads with their teacher counterparts during training. The Attention Alignment Module in A2D performs a dense head-by-head comparison between student and teacher attention heads across layers, turning the combinatorial mapping heuristics into a learning problem. Our experiments show the efficacy of A2D, demonstrating gains of up to +3.61 and +0.63 BLEU points for WMT-2022 De->Dsb and WMT-2014 En->De, respectively, compared to Transformer baselines.
[ -0.3603968322, -0.4019064605, 0.5976285338, 0.209459573, -0.197241649, 0.2168960422, -0.549079299, 0.090933755, -0.2224791795, 0.1724436283, -0.3976605535, -0.264750421, -1.139554143, -0.1509281844, -0.4218966663, 0.9320639968, -0.1837164015, 0.0222188998, -0.5268139243, -0.2985606194, -0.8421205878, -0.0966983885, -0.60219419, -0.560505569, 0.627340734, 0.5725773573, 0.6349289417, 0.8959163427, 0.8672229648, 0.4112733305, -0.1587709785, 0.162681967, -0.3851486742, 0.3669346869, -0.4842772186, -0.5161177516, -0.2998569608, -0.0860743746, 0.3326362669, 0.8020951152, -0.2545670867, 0.3579470515, 0.6575790048, 1.1272300482, -0.6400405765, 0.0791889355, -0.7908526063, 0.0579174422, 0.0595752113, -0.0090848841, -0.3460987806, -0.2217538804, 0.6093378663, -0.4922830462, 0.135691613, -0.1355844438, 0.642526269, 1.1448034048, -0.3063793182, -0.2276625931, -0.7292419672, 0.6675850153, -0.44144997, 0.262904346, 0.0964736268, 0.763571322, 0.0166060142, -0.7884910107, -0.5616119504, 0.4234276116, -0.2537723482, 0.2969906628, -0.0565503761, -0.3047353923, 0.29542014, 0.3702786863, -0.2982362807, -0.0117978696, -0.3907523155, 0.1516423523, 0.4271516204, -0.0709385648, -0.1112724319, 0.3621133864, -0.6495428681, -0.287768364, -0.0823907703, -0.0676480457, 0.1381952614, 0.261903584, 0.0964896232, 0.3684260547, -0.0562968776, 0.7118450403, 0.7256602645, -0.2649018168, 0.0863428265, -0.0309762545, -0.1567402184, 0.6734511256, 0.5871479511, 0.4814890027, 0.3654533327, -0.2933009863, -0.1286259741, -0.0521703921, 0.620023489, -0.8492289186, -0.535892427, 0.203121081, -0.1270893514, -0.3519781232, -0.2864988148, -0.7478599548, -0.3944356143, -0.6059146523, 0.7806283236, -0.3148160279, -0.2120960206, 0.0058592991, -0.3503544629, 0.0751385987, 0.0487185381, -1.0282541513, 0.0775025636, 0.4507347345, 0.755069077, -0.4414693117, -0.4698919356, -0.0622758158, 0.2983518541, -0.1434443742, 0.4039243758, -0.1194549873, -0.0049076895, -0.3018590212, -0.1987207979, -0.2844728529, -0.7359669805, 0.3383747339, -0.5276303887, 0.2650429904, -0.402989924, -0.4761167467, -0.2789807022, 0.3199775517, -0.4430118501, 1.006270647, 0.365055114, -0.6675286889, 0.3348940611, -0.685202539, -0.3822933733, -0.2156252563, 0.0495078489, -0.7064401507, 0.146847859, 0.2880138457, 0.2249357104, -0.1579480767, 0.4189506471, -0.0089548808, -0.0652304068, 0.2208613008, -0.4609648585, 0.8204107285, 0.2207973152, -0.5928500891, -0.0518093333, -0.5382525325, -0.2133864909, 0.108576633, -0.1842709184, -0.4436626434, -0.0929194465, -0.358626157, 0.2370357215, 0.3201996386, -0.0863732174, 0.3620984852, -0.1025086343, 0.5170736909, 0.6393187046, -0.202119723, 0.7782837152, -0.1317332834, 0.2992563248, 0.6442005038, -0.0584615394, -0.1088143587, -0.2871467769, -0.7977925539, -0.2562594712, 0.5797945261, 0.4960492551, -0.7052007318, 0.6150944829, -0.5402310491, -0.4753299057, -1.0649991035, 0.3084653914, 0.3141068816, 1.2069549561, 0.6757685542, -0.1000429839, -0.3630800843, -0.7836992145, -0.1533459723, 0.2741327882, 0.0859385207, -0.1624782532, 0.0925132558, -0.0340744779, 1.0010020733, -0.8209634423, -0.6730669737, 0.0792908743, -0.0706559941, -0.019056987, 0.5013682246, 0.6394606233, -0.7012143731, -0.9027570486, 0.0925253406, -0.6415188313, -0.0584983267, -0.0485203937, -0.5386071801, -0.081172578, 0.4407456815, -0.416185081, 0.200560376, 0.450702399, -0.1255247146, -0.1637966186, -0.0490035787, 0.1202546805, -1.4229961634, 0.0670595616, -0.026936233, -0.2145894319, -0.4629018009, -0.1104755104, 0.2521129251, 0.0183482934, -0.2863970995, 0.1848632544, -0.4937163889, -0.0205946211, -0.5097903609, 0.3874275088, 0.2451054901, 0.5681988001, -0.0653895587, 0.6801185608, 0.6144926548, -0.4276058376, 0.4608753622, 0.4774062932, -0.3090436161, 0.905872345, -0.3815020919, 0.2378388047, -0.0759409145, -0.0393203907, -1.2579709291, 0.155946061, 0.0567257963, -0.4446538389, 0.5829741359, -0.1609677672, -0.0271052402, -0.4742643237, 0.0150852604, 0.5887406468, 0.7022725344, -0.7539426088, 0.6783129573, 0.1230947301, -0.0606974401, -0.7932448983, -0.7584006786, 0.040741697, -0.586151123, -0.4156175852, 0.6003864408, 0.1518649757, 0.0284305681, 0.2763744295, -0.455199331, -0.1662930101, 0.3349539042, -0.0921125039, 0.2839125991, -0.4034649432, -0.1711686701, 0.208262518, -0.2769627273, 0.0617835149, -0.6545707583, 0.4078288376, 0.3745686114, -0.2221850902, -0.4776942134, 0.0606595911, 0.7539964318, -0.2592394054, 0.7175782919, 0.7637081146, -0.3119931519, -0.1003257111, -0.442953229, -0.3408575654, -0.5079419613, 0.4333475828, -0.2874754071, -0.3507444561, 0.4055519998, -0.2225899994, 0.1298820227, 0.3518587351, 0.5006982684, -0.3369213641, 0.947134912, 0.5238764882, -0.3289292753, 0.4209689498, -0.3528827429, 0.3250448108, -1.0260483027, -0.2722527683, -0.4566250443, -1.3797694445, -0.2557686865, -0.2794164121, 0.3578748107, 0.3200782537, -0.0675207824, 0.5905476809, -0.9478224516, 0.5411353707, 0.571582675, 0.1016809791, 0.2284589708, -0.0292125903, -0.0196718965, -0.2629929781, -0.6090710759, -0.1347423196, 1.1372802258, 0.0604983494, 0.5195837021, 0.1138174459, 0.7422301173, -0.1569532454, 0.2072734833, -1.0603038073, 0.2591287196, -0.1963865757, -0.3388502002, -0.4015359282, -0.1536519974, -0.7134590149, 0.2656191587, 0.0973618701, -0.3167613149, 0.1818959564, 0.3272780478, -0.4471391439, 0.104366079, -0.9579631686, 1.049428463, -0.4132654369, -0.2635160387, 0.0149725508, -0.8208585382, 0.1395583153, -0.195934996, -0.1618787497, 0.1487257779, 0.0817283541, 0.4109937251, -0.2040013969, 0.462300688, -0.4780891538, -0.1832501739, 0.1351807415, -0.1999890506, 0.3939914703, -0.2232078761, 0.1384996474, 0.0824738964, -0.3271823227, -0.3046545088, -0.94309479, 0.6941863894, -0.8423554301, -0.9242442846, -0.2511252463, -0.9255341291, -0.1328097135, 0.1510393322, 0.260717541, 0.0135559458, 0.221159488, 0.3038211763, 0.9342409372, 0.3653742969, 0.5634896159, 0.4273916483, -0.0565021187, -0.5526148677, 0.9616584778, 0.3167156279, 0.4397599995, 0.4319016635, 0.2679981887, -0.4509898722, -0.5832816958, -0.6740103364, -0.3168593943, -0.5595433712, -0.4603780806, -0.5478222966, -0.4379101992, -0.4857419431, -0.1275616735, -0.4839043915, -0.4559625685, -0.2038515657, 0.0228385366, 0.3520328403, 0.1112024561, 0.1899752319, 0.5345971584, -0.545339644, 0.3591773212, 0.465521872, 0.0811035931, 0.0067705391, -0.9516379833, -0.3815397918, 0.118012704, -0.821824789, -0.71064502, 0.1224382371, 0.3499689698, 0.4246248007, 0.4700585604, 0.2020993829, 1.025762558, -0.7207721472, 0.3009581268, 0.2021623552, -0.8349166512, 0.4945217073, 0.1646825522, 0.4931150377, 0.8145846128, 0.6029961705, -0.4268078506, -0.3100281358, -0.38173002, -0.9250673652, 0.6789484024, 0.0680758953, -0.0289977491, 0.4059402347, 0.3269955814, 0.0821330696, 0.3200592101, -0.3079150915, -0.4629479647, -0.2760730088, -0.9387311339, -0.0299286917, 0.1467343271, -0.3314220607, -0.4604553878, 0.6350174546, -0.2560580373, -0.0547001101, 0.0354241282, -0.2443397939, 0.0588866845, -0.0746218339, 0.47522524, 0.5478579998, -0.0311324727, 0.3694670796, 0.0766178817, -0.576823175, 0.3066675961, 0.3019355237, -0.1897618473, -0.2103412598, -0.0234569702, 0.8529846072, 0.1967763603, -0.0555262752, 0.4369256198, 0.0751112178, -0.3746286631, 0.0902217403, 0.2255133986, 0.4603401124, 0.5847423673, 0.3338733613, 0.327134639, 0.1343722939, -0.1950033158, 0.2019080222, 0.2507926524, -0.5434615016, -0.130339995, 0.8386611938, 0.1895362884, -0.3659648001, 0.7558150887, 0.0480723977, -0.5849667788, 0.6232689023, 0.599491477, 1.0571269989, -0.6079986095, -0.0965791196, 0.3705939353, 0.1843633205, -0.1835581511, -0.0757922679, -0.2048372924, -0.6798582077, -0.157556057, -0.5303171277, -0.0660282671, -0.080159314, -0.9588006139, 0.3897749484, -0.0713517666, -0.1397258788, 0.418990761, -0.2289991081, -0.5764684677, 0.0838551149, 0.0695315897, 0.5517151952, -0.7768432498, 1.0015158653, 0.7266675234, -0.2222103775, -0.6761456132, 0.2099566162, -0.0033700743, -0.7477271557, 0.5671904683, 0.1464642882, 0.2344413102, 0.5083095431, -0.0996311978, -0.7857574821, 1.6225367785, 0.5950144529, -0.9846428037, -0.1678025872, 0.3806022704, 0.357147783, -0.2968797088, 0.0219494756, 0.7981773019, 0.4715608358, 0.3689661026, -0.7279018164, -0.0866991207, 0.1797135174, 0.1003925428, 0.4193557799, -0.6346196532, 0.4546666741, -0.2199890167, -0.0900714695, -0.4958814681, 0.7319537997, -0.0802175105, 0.2581422627, 0.600831449, 1.0804692507, 0.7319352031, -0.3897766471, 0.3571347594, -0.4784595668, 0.3313655853, 1.3383327723, -0.275326401, 0.5692746043, 0.9885047674, -0.1799349338, 0.2237949669, 0.3831267059, -0.0866837054, 1.0547463894, 0.0904751644, -0.0951265767, 0.0025520422, 0.1649401933, -0.3241474926, 0.3935272992, 0.1229235306, -0.4294896424, -0.2429155409, 0.1798089445, -0.2505174875, 0.3940969408, -0.1041826233, 1.2273904085, 0.1277702451, -1.0365298986, 0.676687479, -0.2866849303, 0.4173883796, -0.2411499619, 0.054390464, -0.2785818875, 0.6345601678, -0.1604212373, -0.7071087956, 0.5609531403, -0.1861907393, -0.5716238618, -0.3837703764, 0.3498946428, -1.1494692564, -0.3793268204, 0.1210527346, 0.1517059058, -0.2775641978, -0.1440988481, -0.7050591707, -0.1178800762, 0.0242626946, -0.0934168994, 0.4890031219, 0.7331941128, 0.1628879458, 0.3657824695, 0.1816989928, -0.2377292961, 0.1300109476, -0.0387698896, 0.8693646789, -0.2144725174, -0.2365935296, -1.1188760996, 0.8219242692, -0.1016351059, -0.238670826, 0.4713363647, 0.6056421995, 0.8523529768, -0.0651022717, 0.5575761795, 0.0161549766, 0.1924665123, -0.3697374463, 0.8769971132, -0.4029452503, 0.155531317, 0.0471717678, -1.278101325, 0.2248937637, 0.5556538701, -0.0653411523, -0.2335536182, 0.8228711486, 0.5357916355, -0.3471431136, -0.2576697469, 0.2202727944, 0.1233968511, 0.2407735139, 0.6389884353, 0.4877408445, -0.733982861, 0.6003921628, -0.4709361494, -0.1915467381, -0.0857561454, -0.7922353745, -0.7507060766, -0.7372258306, -0.7561106086, -0.3286168873, 0.0019589523, 0.6696007252, 0.4266808629, -0.6964758039, 0.0271929577, -0.0386318639, 0.1710881293, -0.681360364, -0.1969199479, 0.49192518, -0.7205358744, -0.9774312973, 0.1190149337, 0.1895283014, 0.0792973936, -0.1924077123, -0.0117971031, -0.1010817811, -0.1684774011, 0.2982258797, -0.2281872928, -0.5168527961, -0.1307681203, 0.0915036649, -0.3046088219, 0.2307291329, 0.5816649199, -0.5595266819, 0.4879131317, 0.2902870774, 1.230830431, 0.44583565, 0.1560492814, 0.4736410081, -0.9698892236, 0.1974506527, -0.0125619164, 0.1034460291, 0.3509116173, -0.4013441205, 0.3872562647, 0.1281990856, -0.6082689762, -0.7117661238, -0.1431511194, -1.0349291563, 0.0581573918, 0.7756217122, -0.3219542205, -0.2924734056, 0.1784876883, -0.3263820112, 0.5310130715, -0.072898306, 1.206314683, 0.889873147, 0.3212328255, 0.0027545621, -0.4081005454, 0.5543922186, 0.5324685574, -0.5373601317, 0.0776855424, 0.0773635879, 0.3504729569, 0.3534640372, 0.091537714, -0.0463473573, 0.1034821346, -0.2560766339, -0.0014770399, -0.2285682112, -0.5503752232, -0.1456225216, -0.031484548, -0.0027209818, -0.7079805136 ]
http://arxiv.org/abs/2403.12984v2
http://arxiv.org/pdf/2403.12984v2
When SMILES have Language: Drug Classification using Text Classification Methods on Drug SMILES Strings
2024-03-03T11:09:32
2024-03-27T21:51:03
Azmine Toushik Wasi, Šerbetar Karlo, Raima Islam, Taki Hasan Rafi, Dong-Kyu Chae
q-bio.BM
q-bio.BM, cs.CL, cs.IR, cs.LG, stat.ML
Complex chemical structures, like drugs, are usually defined by SMILES strings as a sequence of molecules and bonds. These SMILES strings are used in different complex machine learning-based drug-related research and representation works. Escaping from complex representation, in this work, we pose a single question: What if we treat drug SMILES as conventional sentences and engage in text classification for drug classification? Our experiments affirm the possibility with very competitive scores. The study explores the notion of viewing each atom and bond as sentence components, employing basic NLP methods to categorize drug types, proving that complex problems can also be solved with simpler perspectives. The data and code are available here: https://github.com/azminewasi/Drug-Classification-NLP.
[ -0.0421435647, -0.8136464357, 0.7977498174, -0.0388235375, 0.0251528267, 0.4186662138, -0.5375989676, -0.8270725608, 0.2471702099, 0.3250948787, -0.5798067451, -0.7220504284, -0.6325743198, 0.3348083794, -0.1455084831, 1.2559280396, 0.0725404024, 0.3709405661, -0.4282391071, -0.1832690388, 0.0348472856, -0.2903788686, -0.5426349044, -0.6085942984, 0.8263943791, 0.4292366207, 0.6528119445, 0.4928970039, 0.7523186207, 0.4394737482, -0.1153720394, -0.0652224645, 0.1194583327, 0.0454934873, -0.1302298307, -1.1660957336, -0.3810074329, 0.0060182274, -0.0150662493, 0.8829010129, -0.0993601233, -0.0927664712, -0.2993908823, 0.6888440251, -0.4392834902, 0.3495608568, -0.328558892, 0.3941122591, -0.4138219953, -0.2237915844, -0.4104299247, -0.4647085369, 0.2978973389, -0.4580146968, -0.0018080245, 0.2240043432, 1.0728253126, -0.1446212679, -0.8252384067, -0.8096976876, -0.5768868923, 0.693808198, -0.6830337644, -0.0137987332, -0.0099339252, 0.5776134729, -0.5988883972, -0.8846210837, -0.7559894323, -0.3984455764, -0.1337437481, -0.0757017061, 0.0992948413, 0.5251963735, 0.1185860336, 0.7303944826, -0.7923963666, -0.1223210767, -0.3620216548, -0.195050925, 0.429433614, -0.081363596, 0.9876981974, -0.4061088264, -0.6121635437, 0.0393995754, -0.5773652792, 0.0815774202, 0.0307464413, 0.6819323897, 0.1819614768, 1.0398037434, 0.0695893615, 0.5907843113, -0.2172600925, -0.2813047469, 0.4673956633, -0.0148651004, -0.3541671932, 0.53990978, 0.8271835446, 0.4066573679, 0.5917724967, -0.0674023703, -0.1995386779, 0.4506592751, 0.2314737886, -0.6498873234, -0.1990428716, 0.511731863, -0.4394177198, -0.1977605373, 0.0279929079, -0.6812059879, -0.4147766531, -0.2819125652, 0.5915218592, -0.3999084234, 0.1483179182, 0.2984828353, -0.4358521402, 0.2104132026, 0.0896560773, -0.8764978647, 0.8769435287, 0.6224327087, 0.7933667302, -0.2643053532, 0.0074037979, -0.3354269862, -0.1749912947, -0.1033585146, 1.0513221025, -0.3928135633, -0.3152604103, 0.0755933002, 0.1049597785, -0.1111002862, -0.7544145584, 0.4333817661, -0.2180285603, 0.518188417, -0.1938735545, -0.7347835302, -0.1625971645, 0.0914298967, -0.4697265923, 0.2905090749, 0.2902118266, -0.7644399405, 0.300029099, -0.7223528028, -0.764813602, 0.1143785715, -0.3056076765, -0.4604261518, 0.1012430117, -0.3322547674, 0.1321060658, 0.0301873796, 0.1232229024, -0.3781397939, -0.2720091641, 0.7600575089, 0.0450790487, 0.7579131126, 0.6696035862, -0.5417804122, 0.184382081, -0.7122765183, 0.0057089343, -0.184231028, -0.5999830365, -0.2840772271, -0.131790325, 0.5131773353, 0.2938039601, 0.2273798436, -0.7239123583, 0.5857938528, -0.6175498366, 0.4093430042, 0.5334278345, 0.0844107196, 0.417763412, -0.1452729702, 0.3954545259, 0.015746763, -0.0082343882, 0.0034408569, -0.7219669223, -0.82994169, -0.1638423204, 0.4481776059, 0.7947197556, -0.5294182301, 0.4155518413, -0.0790244788, -0.1134631932, -0.3145866096, 0.117150493, 0.3874870241, 0.2577193379, 0.3711460531, -0.1566585749, -0.4627301395, -0.8886227012, -0.6236141324, -0.1599463373, -0.036120221, 0.327940464, 0.555706799, -0.2510069609, 0.7073326111, -0.9168658853, -0.4867037833, -0.2863394916, 0.4033737481, 0.050655093, 0.2160663605, 0.4695941508, -0.9776275754, -0.3880407512, 0.2139433473, -0.7891042233, 0.0946779922, -0.1907591075, 0.0454512723, 0.1060431749, 0.530189693, -0.8337755203, 0.0674805939, 0.0144879874, -0.5496483445, 0.0364754163, -0.1213278025, 0.4433861077, -0.9317651987, -0.151295647, 0.3538442552, -0.4494824409, -0.6809253693, -0.1141927391, -0.2444698811, -0.2605911493, -0.4080092907, 0.2375812978, -0.2683445811, -0.0494319275, -0.3324919045, 0.0246811714, -0.0082315654, 0.3640762866, 0.0094700782, 0.4081160426, 0.6067928672, -0.4487276673, 0.3661552668, -0.0384841971, -0.367942065, 0.7241691351, -0.3088208139, -0.3198637962, -0.074044317, 0.2457525134, -1.034742713, -0.7143554688, 0.239770487, -0.48281762, 0.6587393284, 0.2236561924, -0.5245451331, -0.5394060612, -0.2950204015, -0.1667129993, 0.4828264117, -0.1767178178, 0.3202912211, 0.4432763755, -0.0459458306, -0.4249407649, -0.9991037846, 0.0321683288, -0.3693180978, -0.3449882567, 0.4684827924, 0.0019381102, -0.3865790367, 0.0914726779, -0.2957088649, -0.3279765248, 0.1041638106, 0.3504512906, 0.0605748072, -0.2036547959, 0.4301208556, 0.338958472, 0.1861426532, 0.1014696136, -0.0057600308, 0.458093524, -0.3555775881, 0.1056058779, -0.3707017303, 0.5103616714, 0.7630898952, 0.0305651296, 0.6239114404, 0.3545201421, -0.4262626171, -0.2951953113, 0.2439533919, -0.0838272646, -0.5078839064, 0.1281333268, -0.3172376454, -0.8342969418, 0.3334307969, -0.3384869993, -0.4602597356, 0.2251733243, 0.4527864754, -0.5018476248, 0.8154259324, 0.5508255363, 0.3742052913, 0.3004804254, 0.0419467762, 0.3152871728, -0.3102306426, -0.6359249353, -0.3418660462, -0.3036525249, -0.6803146005, -0.1224664524, 0.2669762969, 0.1042231172, -0.2201605737, 0.405649364, -0.5144477487, 0.538880527, 0.2171617746, 0.2836454213, 0.087499693, -0.0136894435, 0.1593272835, 0.0501186363, -0.223993659, -0.4628756344, 0.8040295243, 0.3045080304, 0.5412808657, 0.0530421026, 0.8967500925, 0.5465196371, 0.2979159653, -1.1178871393, 0.707243979, -0.3254023194, -0.6868460178, 0.1461425871, -0.5868420601, -1.1090962887, -0.1308668256, -0.3659365475, -0.857191205, 0.197224021, -0.2056807578, -0.3052534461, 0.0435419418, -0.9509947896, 0.8852112293, -0.1823716909, 0.3843738735, -0.0509471297, -1.032381773, 0.3516533673, 0.224418819, 0.3234060407, -0.1131701544, 0.1861366034, 0.6484609246, -0.5476238132, 0.5407617092, 0.0931337625, -0.0066117006, 0.534285903, -0.0771425143, -0.2196689397, -0.4198814631, 0.4763128161, -0.3538042605, 0.0035432938, -0.3708625734, -0.9485729337, 0.9254834652, -0.5440099835, -0.2091590464, -0.6959722042, -0.0841895714, -0.1816593111, 0.2755413353, 0.3067936301, 0.4563346207, 0.1230123788, -0.1562129557, 0.7334794998, -0.2963436246, 0.3595323861, 0.1679047644, -0.5212935805, -0.3077020347, 0.98957932, 0.2283656597, 0.3436460793, 0.7233700156, 0.218744725, -0.2839622796, -0.1628140956, -0.0348634534, 0.2724785805, -0.8294125795, -0.2357856333, -0.5088375211, 0.0231386367, -0.4701337516, 0.0288534891, -0.2666609585, -0.5801633596, -0.1051675677, -0.2738879323, 0.6465578079, 0.7675508261, 0.0706416517, 0.2391319126, -0.7874789834, 0.533005476, 0.3601304889, 0.5628062487, -0.4264854491, 0.3541404903, -0.0639447421, -0.1265698969, -0.1752355695, -1.092805028, 0.1482430249, 0.4981273413, 0.4145174325, 0.2575961053, 0.0449993871, 0.2959961593, -0.565184474, 0.7239586711, 0.2335211337, -0.9750433564, 0.9317910671, -0.420194149, 0.1437959671, 0.6147296429, 0.7030367255, -0.573785007, -0.4629127681, -0.3850157857, -0.865018785, 0.3988685906, 0.4549064636, 0.0152474446, -0.3410001695, 0.5054501295, -0.2115960419, 0.3626847565, -0.74998492, -0.8056228757, -0.08856415, -0.8069040179, 0.2046312243, 0.0321063399, -0.1024496257, 0.0447368324, 0.0298033003, 0.0728619024, 0.4006611109, 0.3866611719, -0.2719792128, -0.0253274664, 0.7327445745, 0.413374871, 0.1927181035, -0.5432406664, 0.441347599, -0.383951664, -0.7210457325, 0.3150344789, -0.1828614622, 0.1448489279, -0.1030469909, 0.3194206655, 0.3203656375, 0.1162688807, -1.0353293419, 0.3373116255, -0.042577967, 0.0910642743, 0.0329415798, 0.4367849231, 0.0465372875, 0.3695125282, 0.0967901796, 0.4188908041, 0.7976077795, -1.4062199593, 0.6367384195, 0.043039877, -0.7135756612, -0.1583485752, 0.2661792338, -0.0984206274, -0.5966365933, 0.4855858088, -0.1068798229, -0.6876407862, 0.4665459991, 0.6252607107, 0.7935650945, -0.3201783299, 0.5393020511, 0.1548092961, -0.3576583564, -0.0794767514, 0.3222492039, 0.0860794112, -0.4605033398, -0.1316591054, -0.6063787341, -0.0969232991, -0.2005602419, -0.6741881967, 0.2959697247, -0.5812593699, -0.2870029509, 0.5374050736, 0.1122792959, -0.0547384657, 0.502815783, 0.6145120859, 0.5648891926, -1.0806194544, 0.6871653795, 0.8839232922, -0.5073785186, -0.368037343, -0.1110526472, 0.1877679974, -0.081356518, 0.5346025825, 0.5473711491, -0.2732515931, -0.3491896391, -0.9342649579, -0.4065473378, 0.6918403506, -0.1191152409, -0.2917160392, -0.0514484271, 0.1619907022, 0.8962342143, -0.4354249835, -0.0200987812, 0.4427591264, 0.3964613676, 0.1849296093, -0.7734440565, -0.0051987679, -0.6438993812, -0.1873093098, 0.1294718385, -0.2353525013, 1.1243243217, -0.2499103546, -0.4765601158, -0.0018020453, 0.6875548959, 0.2592875361, 0.5286923647, 0.4416237772, 0.3968907595, 1.0148404837, -0.294955492, 1.2115073204, 0.2415817231, 0.5841769576, 0.7940490842, -0.1225959286, 0.89323318, 0.4798003435, -0.4647823572, 1.1044511795, 0.8630321622, -0.1571796834, 0.6891195774, 0.6842768192, -0.3821127117, -0.1208262742, -0.0373436548, -0.0012365018, 0.3984373212, 0.6659606099, -0.0130118951, -0.2202227116, 0.7583512664, 0.2266556472, 0.3352456093, -0.3007571101, 0.6850685477, 0.5137240887, -0.4748057425, 0.1044971123, -0.0646940842, 0.5232342482, -0.4984003603, -0.1965656132, 0.0362337455, 0.5116376877, -0.3967963457, -1.0722851753, 0.2128790021, -0.2690186501, -0.0892428234, 0.2673451602, 0.6329342127, -0.6812301278, -0.2543968856, 0.0679315999, -0.1127386764, 0.1507862359, 0.0782167837, -0.7372928262, -0.3096539378, 0.023442667, -0.2125621885, 0.4543393254, 0.5556351542, 0.0508573726, 0.9512268901, 0.3941129744, 0.0000029054, 0.0681920126, 0.0023661817, 0.643258214, -0.9586295485, -0.1815014482, -0.7823509574, 0.4524387121, -0.1444677263, -0.3306919932, 0.9034613967, 0.6618226767, 0.441427201, -0.2535318136, 0.3720027506, 0.0633559451, 0.3354817629, -0.5172657371, 0.723074913, -0.7512242794, 0.1255116612, -0.4531140029, -0.6976438165, -0.9164671898, 0.7096899748, 0.1614341289, -0.1685069501, 0.9063820243, 0.4178154171, 0.2218844891, 0.0005042567, -0.2592361271, 0.1161466613, 0.3372958302, 0.5817503929, 0.6255341768, -0.585179925, 0.1364085674, 0.000005862, 0.0441729836, -0.2794570625, -0.3010643423, -0.8499728441, -0.4904872179, -0.5187699199, -0.8992241025, -0.1539870501, 1.2411829233, 0.145314455, -0.963401258, -0.4194533825, -0.3804741204, 0.5131433606, 0.1065591425, -0.2976876199, 0.4091213048, -0.5621315837, -0.6830968857, 0.1989860982, 0.467045188, 0.3967799246, -0.2330786288, 0.1666072756, -0.3648467064, 0.2204483449, 0.6172651052, 0.3424185514, -0.5003945231, -0.0013211085, 0.3019477427, -0.5553227663, 0.4480588138, 0.9838975668, -0.5912076235, 0.7129340172, 0.5954040885, -0.0128821768, 0.4864721894, -0.2687138319, 0.7052064538, -0.4815849364, -0.0925845578, 0.3105672598, 0.2520029843, 0.3202901185, -0.2637588978, 0.1401832551, 0.1161305606, -0.4435613751, -0.9133800268, 0.3479405642, -1.7016658783, -0.8711916804, 0.9952768087, -0.2867022753, -0.9784010053, -0.1964707971, -0.320199579, 0.2667095065, -0.3321224153, 0.5731115937, 0.5744660497, -0.282746166, -0.1382533461, -0.3239910007, 0.860008657, -0.2490757406, -1.0379327536, -0.3064977825, 0.1993758678, 0.1955614239, 0.7176423669, 0.4575660229, -0.280372262, -0.0290203951, 0.0584107228, 0.0559588932, 0.6648923159, -0.4275957942, -0.0576393344, 0.153378278, -0.0373954736, -0.0931340829 ]
http://arxiv.org/abs/2403.01472v2
http://arxiv.org/pdf/2403.01472v2
WARDEN: Multi-Directional Backdoor Watermarks for Embedding-as-a-Service Copyright Protection
2024-03-03T10:39:27
2024-06-09T04:34:55
Anudeex Shetty, Yue Teng, Ke He, Qiongkai Xu
cs.CR
cs.CR, cs.CL, cs.LG
Embedding as a Service (EaaS) has become a widely adopted solution, which offers feature extraction capabilities for addressing various downstream tasks in Natural Language Processing (NLP). Prior studies have shown that EaaS can be prone to model extraction attacks; nevertheless, this concern could be mitigated by adding backdoor watermarks to the text embeddings and subsequently verifying the attack models post-publication. Through the analysis of the recent watermarking strategy for EaaS, EmbMarker, we design a novel CSE (Clustering, Selection, Elimination) attack that removes the backdoor watermark while maintaining the high utility of embeddings, indicating that the previous watermarking approach can be breached. In response to this new threat, we propose a new protocol to make the removal of watermarks more challenging by incorporating multiple possible watermark directions. Our defense approach, WARDEN, notably increases the stealthiness of watermarks and has been empirically shown to be effective against CSE attack.
[ -0.5651656389, -0.6026477218, 0.4100997448, 0.5919271708, -0.2675796151, 0.4025300443, 0.1011473313, -0.4801960289, 0.4148876667, 0.7213560343, -0.4819122851, -0.6869969964, -1.0825151205, 0.1301878691, -0.6463002563, 0.5340824723, 0.1144325212, 0.1639252901, 0.2275262326, -0.2658080161, -0.7413535118, -0.4362174571, -0.9649696946, 0.2130303979, 0.6149161458, 0.1224848256, 0.5627154708, 0.6794736981, 0.3605808318, 0.2298603952, -0.0087920222, -0.1993276179, -0.0812209174, 0.4822215438, -0.2622571886, -0.2132835835, -0.2252861857, 0.0960943252, 0.5340209007, 0.0389906503, -0.0153916618, -0.1157804281, -0.0358042419, 0.7504853606, -1.1153861284, -0.2056540847, -0.6381182075, 0.23359254, -0.2078194916, -0.0453621596, -0.5411316752, -0.1674447805, 0.1531323791, -0.6042052507, -0.1685741246, 0.2702713311, 0.8950659633, 0.1485537738, -0.0451405048, -0.2223354876, -0.4278791547, 0.8541911244, -0.3303242922, 0.3784913719, 0.3477891088, 0.5479259491, 0.1069663465, -0.6059781909, -0.2399879694, 0.3204474449, 0.1674879193, 0.2498310804, -0.6285189986, -0.568118155, 0.1517932564, 0.0260060504, -0.2462619245, 0.1763853431, 0.0142431706, -0.2333017886, 0.7326429486, -0.068081215, 0.4700064063, 0.0459004045, -0.6460167766, -0.1478625089, -0.9535080194, 0.1793211251, 0.6082074046, 0.036264576, 0.08515127, 0.342205286, 0.1727568805, 0.0166404899, 0.1818237007, 0.4171000719, -0.0033002514, 0.2918488383, 0.1028313264, 0.310885936, 0.604772985, 0.3855726421, -0.1435689777, -0.6220204234, -0.4194779694, -0.0676919222, 0.4994513392, -0.9286733866, -0.0093102958, 0.4629641771, -0.5584997535, -0.5455363989, 0.5169046521, -0.9669569135, -0.4785563052, 0.1171494722, 0.4311071634, -0.4374008477, -0.2096081972, -0.0784396827, -0.6422322989, 0.7355386615, 0.0814416707, -0.5706381798, 0.419960916, 0.8374364376, 0.8306355476, -0.363586098, -0.2253033966, -1.0256459713, 0.8933586478, -0.2068742216, 0.9307751656, -0.880294323, -0.668399334, -0.0303240847, 0.293374747, 0.1825395823, -0.3295309842, 0.0408856347, -1.0119234324, -0.1601986289, -0.4256683886, -0.5268310905, -0.1950839013, 0.256367296, -0.882116437, 0.5443629026, -0.3572477698, -0.563609302, 0.2582856119, -0.6572416425, -0.3108535707, 0.0793866366, -0.3960094154, -0.6562989354, -0.0533895455, 0.6168370247, 0.3234499395, -0.0305842143, -0.0671139359, -0.4108401537, -0.2464045733, 0.3346173763, -0.3740068376, 0.8900072575, 0.0725270435, -0.5927786231, 0.0286446363, -0.6886677742, 0.0773484707, 0.0703599453, -0.0492678545, -0.5628838539, 0.1460548937, -0.0815844759, 0.2140032798, 0.2493065596, -0.8699080944, 0.0578916036, -0.1374803931, 0.4216845334, 1.1343799829, 0.2831057012, 0.5833127499, -0.106973432, 0.696151793, 0.042773284, 0.5660682917, 0.0425308645, -0.8907444477, -0.162112534, -0.9864045978, 0.2297397256, 0.5053834915, -0.6078639627, 0.5157781839, 0.1386178434, -0.5938413739, -0.4654546678, 0.1014970317, 0.6262996197, -0.1792513281, 0.6650496721, -0.392491281, -0.2008846104, -0.852527082, -0.7014748454, 0.4967672825, 0.0371353701, 0.192511946, 0.2941296697, -0.5164602399, 1.107601881, -0.6332493424, -0.4040708244, 0.1537900567, 0.0644050837, -0.2747146189, 0.5617970824, 0.6632091999, -0.9877647161, -0.6824153662, -0.2271689177, -0.7361590862, -0.271638751, 0.2799953818, -0.1897567958, 0.0120383296, 0.6977444291, -0.3645133376, 0.8063740134, 0.6598784328, -0.4715793133, 0.5104131103, 0.0503641441, 0.0061087771, -0.7416941524, 0.00712599, -0.3026720881, -0.0065276055, -0.2854040563, 0.3521649241, 0.2110663056, -0.6228994727, -0.2497071326, 0.5125833154, -0.5267381668, -0.1872988641, -0.3415222764, 0.0347882435, 0.106100142, 0.2928469777, -0.1052276418, 0.5871955156, 0.9024833441, -0.5161243081, 0.2002920359, 0.4125424922, 0.3446974158, 0.8186312318, -0.7450374961, 0.4211239815, -0.1575149149, 0.2496173829, -0.7521947622, 0.5394418836, 0.2922175527, -0.233967334, 0.3955209255, -0.3790196776, -0.2256858796, 0.0732801482, -0.8522140384, 0.1559602618, 0.1138266772, -0.78137362, 1.0427149534, 0.3311600089, -0.1134936213, -0.7587862015, -0.6980851889, 0.3243771493, -0.1970898211, -0.6321130395, 0.8654114604, -0.0937132835, -0.1004311666, 0.2090689987, -0.09964104, -0.2476427108, 0.2706513703, 0.5016712546, -0.0635717809, -0.1208807081, -0.4041057527, 0.2753753364, -0.6761385202, 0.1344642937, -0.1691828221, 0.4099031091, -0.0355631299, -0.6528844237, -0.411698252, 1.0807250738, 0.3709101975, -0.6411732435, 0.7578569055, 0.6677883863, -0.4097721279, -0.2119124979, -0.4908795059, -0.3583286107, -0.5504406095, -0.0427423306, -0.2255665511, -0.5619570613, 0.7497878671, 0.1196247265, 0.4063489735, 0.1661090404, -0.1675838828, 0.0229855441, 1.160094142, 0.6629862785, -0.1539571285, 0.652154386, -0.4101208746, 0.5399369001, -1.0436122417, -0.2633982897, -0.6903716326, -0.293453753, -0.5517590642, 0.0801594108, 0.0305309091, 0.2581246197, -0.1300127059, 0.6427900195, -0.4916067719, 0.310477823, 0.4137707055, 0.2152730227, 0.2885801196, 0.0653735846, -0.1415403634, -0.1413982064, -0.2873176932, -0.6273403168, 0.9558535814, 0.3328556716, 0.5559093356, 0.4716226459, 1.099942565, 0.3947241604, 0.4384445548, -0.5738129616, 0.5462431908, -0.1366516799, -0.5513674617, -0.3702056706, -0.0196325444, -0.9512327313, 0.349360317, -0.1685420871, -0.6638547778, 0.386954248, -0.081414111, -0.351459831, 0.3132317662, -0.6202612519, 0.7026926875, -0.0612416863, -0.5958579183, -0.3680227697, -0.4155242741, -0.3945459127, -0.1478018016, 0.4152359962, 0.1077969447, -0.3908150494, 0.7440285087, -0.5631873608, 0.6722533107, -0.6041321754, -0.2386943251, 0.1075860411, 0.2608441114, 0.7929185629, 0.4100903869, 0.1791342348, 0.2331709415, 0.0167683922, -0.5274181962, -0.650142312, 0.6018704772, -0.530924499, -0.7093058228, -0.5745810866, 0.0363123454, -0.1991640329, 0.1986032724, 0.1759463698, 0.5756306052, 0.026036365, 0.2961316705, 0.6202168465, -0.5071552992, 0.8821512461, 0.7817060351, -0.020555513, -0.6854076385, 0.8777341843, 0.0207608361, 0.0523253456, 0.2247968614, 0.3453370333, -0.2336470485, -0.6239094734, -0.2562947571, -0.0117804687, -0.6161731482, -0.1989119351, -0.7464814782, -0.409604907, -0.2047610581, -0.671642065, -0.5071572661, -0.0809307322, -0.0124307508, 0.2067825496, 0.4573014081, 0.7344965339, 0.0114277257, 0.4206020832, -0.8126195669, 0.3492656648, 0.5925288796, 0.3942528963, 0.0515837036, -0.2482887506, 0.1106811091, -0.1850293726, -0.63022995, -1.0533715487, 0.350489974, -0.1076461077, 0.7509296536, 0.6464545131, -0.2037926614, 0.4265113473, -0.7701570988, 0.7458215356, 0.3363860548, -0.956304431, 0.4717831016, -0.1780908704, -0.0416305587, 0.3216171861, 0.1780209541, -0.2701115608, -0.6253560185, -0.7449815869, -1.0415973663, 0.1623375863, 0.2157917321, 0.0749885887, -0.032272961, 0.0336162522, 0.0976940989, 0.3423384726, -0.5570433736, -0.2876139879, -0.4395224452, 0.1979742199, 0.2301527113, -0.2120542526, -0.1152947024, -0.0526648276, 0.9425370097, 0.0644541159, 0.5175956488, 0.2414061427, -0.203905493, 0.2073418945, 0.4154814482, 0.1413983107, 0.3426492214, -0.0180673543, 0.0784406364, -0.0934475884, -0.6926458478, 0.0173489209, -0.1149283648, -0.3188874424, -0.0777389556, 0.2725942731, 0.0748829246, 0.4892688394, -0.1102382913, 1.0109347105, -0.1080138385, 0.1542483866, -0.4295733273, -0.2186901867, -0.0831768662, 0.2129047811, 0.6799742579, 0.2701034844, 0.0751749948, -0.2700991035, 0.3515822887, 0.6375638843, -0.6533152461, -0.2008701712, 0.3385941386, 0.2258785218, -0.3301697671, 0.0643463731, -0.274627924, -0.6661913991, 0.5880021453, 0.5655474663, 1.3893836737, -0.3185603023, 0.1364865005, -0.0600368045, 0.5635654926, 0.1184257418, 0.4109663665, 0.0919804201, -0.6238943338, -0.1093771309, -0.3919118345, -0.3129913211, -0.0893522203, -0.9630578756, 0.1945115179, -0.9669777751, 0.0129752783, 0.0803359449, -0.2376782596, -0.5129926801, -0.1998420805, -0.1467358321, 0.8676372766, -0.647736907, 0.5368390679, 0.4148887396, -0.354370445, -0.5813292265, 0.0550138801, -0.0485123917, -0.6256340146, 0.3302146494, 0.4410572946, -0.4482406676, 0.2157260478, -0.7460129857, -0.6921128035, 1.0906786919, 0.2823731303, -0.5043602586, 0.3380251527, -0.3911196589, 0.184826985, -0.3719526827, -0.2356195301, 0.3249052763, 0.6728494763, -0.5047136545, -0.091878213, 0.4516003132, -0.1353697181, 0.0892558023, -0.0807049274, -0.5361361504, 0.5503413677, 0.1875260174, -0.2324738204, -0.0052921576, 0.3510155082, 0.3501867652, 0.2623157203, 0.4223557413, 0.5889864564, 0.2990644276, -0.0022333392, 0.9008852243, -0.2483524531, -0.0433294401, 0.7035306692, -0.4991386235, 0.9897921085, 0.9076368809, 0.1466192007, 0.8286799192, -0.0408878773, -0.4478595555, 0.9382346272, -0.0758614019, -0.2364765853, -0.0782624483, 0.0616620295, -0.5448735952, 0.3962516189, 0.2114195079, -0.3082287908, -0.0840938985, 0.1461138874, -0.0377472863, 0.3919981718, -0.352635473, 0.7924861908, 0.240572691, -0.1885479242, -0.0921789259, 0.4063233733, 0.8168670535, -0.738543272, 0.0276403762, 0.0569688454, -0.0084359702, -0.3684302568, -0.6072646379, 0.4251849651, 0.0019843641, -0.1868758947, -0.3795931339, 0.6239464283, -0.0612928271, 0.0070064869, 0.8755555749, 0.2044906616, -0.1097013429, -0.4239961803, -0.9585616589, 0.1773793697, -0.4788582921, -0.2079642713, 0.255028218, 0.1601989269, -0.1195474789, 0.7111796141, 0.8315767646, 0.247636348, 0.3380380571, 0.3378900588, 0.8560324311, -0.6524522305, -1.0963704586, -0.9247174263, 0.1826398075, -0.5532854199, -0.0794184357, 1.1346315145, 0.5348721147, 0.3490693867, -0.0798059329, 0.8292326927, -0.012809583, 0.0998070091, -0.4330302477, 0.9404727221, -0.264600575, 0.2682156265, -0.697042644, -0.7843674421, -0.1169114932, 0.4540574849, -0.2621051967, -0.181465745, 0.936461091, 1.026632905, -0.0043152077, 0.4911668897, 0.199671343, -0.2348289937, 0.6840920448, 0.3280428946, 0.9285683632, -0.8030584455, 0.5358620882, -0.2182377577, -0.3099587262, 0.0855517983, -1.1697033644, -0.9151992202, -0.319889456, -0.4109702706, -0.3526367247, 0.0750493854, 0.5316435695, 0.644613862, -1.1780840158, 0.2419444919, 0.0215855557, 0.1359604895, -0.78593117, -0.2019452453, 0.3657476902, -0.0011594587, -0.2302606255, 0.4481742978, 0.6448308825, 0.0833505839, -0.350128144, -0.1767597497, -0.2404694259, 0.035179317, 0.4439224303, 0.2145047933, -0.5415764451, -0.4196902812, -0.1639130414, -0.2630045414, -0.2592428625, 0.9704179168, -0.2882628143, 0.1698754877, 0.1399764866, 0.9745494127, 0.377063781, -0.2841478288, 0.6570497155, -0.9158777595, 0.3074552715, 0.1290273219, 0.3571694791, 0.2564149499, -0.5253891945, 0.0962747186, 0.4447297454, -0.0437524542, -0.7310537696, 0.2936762273, -0.7335605025, -0.4741511047, 0.931175828, -0.3953652978, -0.384862572, -0.4831233919, -0.1831501424, -0.2007521391, -0.6242297292, 0.7973795533, 0.7087936997, 0.5038351417, 0.0892590433, -0.3757389784, 0.4583226144, 0.3614324927, -0.6217557788, 0.0676113218, 0.0082409894, 0.48057127, 0.3875206411, 0.2126958221, -0.7067032456, 0.5478956103, -0.0796269476, -0.0639142096, -0.3532065749, -0.5512614846, -0.5194948316, 0.3630431592, -0.2219385207, -0.3980567157 ]
http://arxiv.org/abs/2403.01469v2
http://arxiv.org/pdf/2403.01469v2
KorMedMCQA: Multi-Choice Question Answering Benchmark for Korean Healthcare Professional Licensing Examinations
2024-03-03T10:31:49
2024-03-05T09:58:08
Sunjun Kweon, Byungjin Choi, Minkyu Kim, Rae Woong Park, Edward Choi
cs.CL
cs.CL
We introduce KorMedMCQA, the first Korean multiple-choice question answering (MCQA) benchmark derived from Korean healthcare professional licensing examinations, covering from the year 2012 to year 2023. This dataset consists of a selection of questions from the license examinations for doctors, nurses, and pharmacists, featuring a diverse array of subjects. We conduct baseline experiments on various large language models, including proprietary/open-source, multilingual/Korean-additional pretrained, and clinical context pretrained models, highlighting the potential for further enhancements. We make our data publicly available on HuggingFace (https://huggingface.co/datasets/sean0042/KorMedMCQA) and provide a evaluation script via LM-Harness, inviting further exploration and advancement in Korean healthcare environments.
[ -0.6127195954, -0.4302923381, 0.7228658199, 0.2060957551, -0.137569055, 0.1292333901, 0.1578135937, -0.1999745667, 0.0948405191, 0.8018459678, -0.6339054704, -0.5153127909, -0.3127345741, 0.0823352188, 0.4521017373, 0.7573112249, -0.2336294055, 0.423799485, -0.6091071367, -0.5566274524, -0.1225506067, -0.592443049, -0.4398646951, -0.4158838987, 0.8901646137, 0.5000513196, 0.6482283473, 0.2969284952, 0.2877225876, 0.1261308193, 0.0562853292, -0.0048763752, -0.0106064864, 0.0839650407, -0.0276733153, -0.1338030845, -0.5962439179, 0.2585826516, 0.4871245921, 0.7314934134, -0.0696420372, 0.6206992865, -0.3421172798, 0.8671673536, -0.7687142491, -0.2237471342, -0.1359752864, 0.1009883285, 0.1643649191, -0.105486609, -0.189400211, -0.8180006146, 0.1323329061, -0.4067084491, -0.2264141738, -0.3025126457, 0.9209499955, 0.2049903125, -1.0753276348, -0.3752467334, 0.0132336207, 0.4693986475, -0.4539914727, 0.9091300368, 0.3396145403, 0.8058891892, 0.0108912243, -1.1122390032, -0.4147820175, -0.5899157524, 0.3400243819, 0.5364281535, 0.2226114124, 0.1375813335, -0.0752765536, 0.2961224914, -0.5050302744, -0.0750081316, -0.453347683, -0.5343821049, 0.6974290013, 0.1156526729, 0.3565704525, -0.1850756407, -0.5313460827, -0.0916267931, -0.6553955078, 0.1599232405, 0.2998833358, 0.0017554786, -0.0359148905, 0.7706729174, -0.5627282858, 0.4919773638, -0.1346771568, -0.1871944219, 0.5455554128, -0.5213375688, -0.2938504815, 0.256410569, 0.7414852977, 0.7397525907, 0.0149640692, -0.0111646745, 0.3097955883, 0.0616963096, 0.3280585706, -0.6565065384, -0.8014459014, 0.7422406077, -0.5492835641, -0.2923862338, -0.1907911897, -0.9845396876, -0.5344785452, -0.4199816585, 0.4240502417, 0.1415272504, -0.4673335254, 0.2488860339, 0.133820504, 0.3374871314, -0.0396367684, -0.123171784, 0.4082208276, 0.4459907711, 0.5150079727, -0.3926861882, -0.1565371156, -0.563054204, -0.4647085369, -0.5027733445, 0.6161779165, -0.1599503607, -0.4810455143, -0.1947305202, 0.2789776921, -0.1823329479, -0.8443080187, 0.8487006426, -0.6462624073, 0.1083257943, -0.5605506897, -0.4240287542, 0.1016534045, 0.4136539102, -0.5780123472, 1.1112014055, 0.4828474224, -0.7222889066, 0.4539556205, -0.5294072628, 0.1070262045, 0.0633073375, -0.2394584864, -0.5387708545, -0.2334314287, 0.4278251231, 0.4732134342, 0.0394501872, 0.2640417516, -0.5090420246, 0.1671240926, 0.4878029227, -0.245629251, 1.1153423786, 0.3235650957, 0.3851830959, 0.0443499945, -0.9849674106, 0.6030272841, 0.0129581867, -0.5162540078, -0.1097714826, -0.5375301838, -0.1324284077, 0.9749893546, 0.0791838393, -0.7523032427, 0.0628546476, 0.0482304767, -0.0002614201, 0.384624064, 0.5476464033, 0.2097972333, -0.4143570364, 1.1941120625, 0.1304813325, 0.322284162, -0.0296962056, -0.6942569613, -0.271861732, -0.5445347428, 0.6306342483, 0.6958600283, -0.9949974418, -0.1626617759, -0.0039693918, -0.8294401169, -1.1625888348, -0.189973101, 0.5759509206, 0.7969115376, 0.4149338603, -0.0139938416, -0.4143114388, -0.930254519, -0.3836343586, -0.1137187257, -0.0926231444, 0.5781491399, 0.4224139154, -0.2039723545, 0.5221297741, -0.6090748906, 0.1385319829, -0.0182528142, -0.2500946224, 0.132777676, 0.2794740498, 0.5280434489, -0.8551616073, -0.7167766094, -0.0135667454, -0.4078774154, -0.4575885534, 0.0098649375, -0.3770868778, -0.2033436596, 0.6802100539, -0.4199799597, 0.0706423894, 0.8363613486, -0.4325417876, 1.2990956306, -0.0594279952, 0.4558376968, -1.1424794197, 0.1181900129, -0.3112941086, -0.3224709332, -0.8103477955, 0.3173490763, 0.4561097026, -0.0461766347, -0.7752014399, 0.7002459764, -0.3822193444, -0.0429899953, 0.0449410006, 0.3139231801, -0.0003784369, 0.2138406336, -0.2162984014, 0.8147345185, 0.5270036459, -0.8457145095, 0.3148135841, 0.3508884013, -0.423037678, 0.9387361407, -0.6984540224, 0.0641476884, 0.0244079288, 0.129091233, -1.0180153847, -0.4620888531, 0.4293572307, -0.6853676438, -0.1251305491, -0.3483026922, -0.2983724773, -0.500014782, 0.0317304544, 0.3510734141, 0.3187921345, -0.4784265161, 0.3090320826, 0.5169335008, -0.3028061986, -0.6718059182, -0.4559425116, -0.2853283286, -0.1502512395, -0.2025009543, -0.0672755241, -0.2699543834, -0.0454067588, -0.1949878037, -0.3128888011, -0.4133142531, 0.0193707813, 0.101382032, 0.5111369491, -0.4669553339, 0.0618910901, 0.2773730457, -0.0780236572, 0.562419951, -0.1085538119, 0.3942176402, -0.0534901917, -0.4823637605, -0.3404600322, 0.1973467618, 0.7546083331, -0.2326702327, 0.4711589515, 0.5677962899, -0.1550054699, 0.3430054486, -0.3927378058, 0.224056825, -0.509775877, 0.5018587708, -0.5411957502, -1.0308099985, 0.5300946236, -0.2377010435, -0.0648891181, 0.3619396389, 0.8602359295, 0.1000853106, 1.1442888975, -0.1308169961, 0.3708032668, -0.3918811679, 0.4088390768, -0.0198901352, -1.0420980453, -0.4985155463, -0.3951266408, -0.0144921672, -0.8457066417, -0.5486275554, 0.5640838146, 0.1014299095, -0.3976204991, 0.0537518859, -0.469923377, 0.4389687479, 0.4251374602, 0.3568223119, 0.2517991066, -0.6322248578, -0.8889356852, -0.1415683925, -0.5442053676, -0.4264236093, 1.435030818, 0.4406208992, 0.2238742411, 0.0061428109, 0.6727351546, -0.1270981729, 0.4098837078, -0.7203771472, 0.5390889645, 0.3478985131, -0.7492126822, 0.0839332342, -0.5482424498, -0.7819236517, 0.4763948023, 0.0106344251, -0.6196545362, 0.2724212408, 0.1528968662, -0.3933950365, 0.0930481553, -0.5477671623, 1.1015496254, -0.0760117918, -0.0163314641, 0.6290289164, -0.7962734699, 0.611821413, -0.1598315388, -0.0930182263, -0.4667847753, -0.4976927638, 0.5437257886, -0.120599933, 0.104135111, -0.4283206761, 0.0265895203, 0.2488452494, -0.0802124068, -0.1068594679, 0.598690033, -0.1047877446, -0.0859790966, 0.7674591541, -0.6327317357, -0.4529005289, 0.5240197778, -0.6402643323, 0.0373822711, -0.3747483194, -0.3873417974, -0.8272233605, 0.3802361488, 0.2845303118, 0.3838960826, -0.24117814, 0.0073446315, 0.8049792647, -0.5632887483, -0.227056995, 0.5514679551, -0.7523933053, -0.7135193944, 0.651232779, 0.1017069519, 0.6153204441, -0.1259628683, 0.1657359302, -0.7156811357, -0.3009319901, -0.6028934121, 0.2938632071, -0.8923122287, -0.0212050863, -1.1374098063, -0.4682434499, -0.2377943695, -0.0111334119, -0.5713569522, -0.3368776739, -0.0599973463, -0.0546114407, 0.0059819976, 0.3356572092, 0.2062665522, 0.1872264743, -0.8435471058, 0.6491347551, 0.3419031501, 0.7617968321, -0.2184397578, -0.3037852943, -0.0112080937, 0.0140715875, -0.2992286086, -0.9141885638, 0.0881291255, -0.1274251342, 0.7557945251, 0.2624413967, 0.2965526879, 0.4580453634, -0.6054669023, 0.9538941979, 0.1338216364, -0.4746641219, 0.0989038423, -0.3158112764, 0.8498523235, 1.0707868338, 0.9091923237, -0.8277341723, -0.1517399102, -0.52595824, -0.6354846358, 0.1843784153, 0.0128029231, -0.0932991132, -0.0181539264, 0.3296595812, 0.1886255443, 0.4076418877, -0.3595149815, -0.4856144488, -0.077771239, -0.1471216083, -0.0112019926, -0.272749722, -0.0743589476, -0.4306592643, 0.5702767372, -0.0606088452, 0.4890475571, 0.391681999, 0.1467855871, 0.2121297419, 0.5196353793, 0.5380230546, 1.0471788645, -0.098443374, 0.0382838435, 0.147088483, -0.9465432763, 0.3211473227, 0.2284823507, 0.1531174779, 0.1956108212, -0.2482171953, 0.3074329495, 0.1129483134, -0.9518281817, 0.2912465632, -0.1336822361, -0.8522803783, -0.1869795769, -0.1882430315, 0.3902148008, 0.188478753, -0.0047544404, -0.2382572293, 0.1634661853, -0.2241971791, 0.7067947984, -0.0236977264, -0.7962992787, -0.0315283127, 0.8624555469, -0.381852299, 0.0598204173, 0.5360253453, -0.0769810081, -0.6604880691, 0.6239181757, 0.3090802431, 0.5406051874, -0.4727523625, 0.6360167265, 0.6086724401, 0.1230593324, -0.0762337148, 0.9953391552, 0.2151300013, -0.454503119, -0.2269215435, -0.3896929026, -0.7135490775, 0.1811346859, -1.1638038158, 0.0259204116, -0.351726681, -0.318213284, 0.060383331, 0.2452845871, -0.5893115401, 0.478071779, 0.0038999356, 1.281896472, -0.6002990007, 0.6248922944, 0.8907681108, -0.1643698215, -0.6821780801, -0.1886972934, 0.0857475176, -0.6297383904, 0.0361215249, 0.0795784369, 0.1484519839, -0.1023458317, -0.5555707216, -0.6189633608, 1.0338257551, 0.0344981775, -0.1416082829, 0.3741558194, 0.3821906149, 0.5149203539, -0.4006530941, -0.0955791846, 0.9297103882, 0.2347618639, -0.0984085798, -0.9255114794, -0.076635696, -0.3960036337, -0.3266350627, 0.229499042, -0.4175547659, 0.7521867156, -0.0621670596, 0.1527507454, 0.1761506945, 0.2594020069, 0.8735192418, 0.8935365081, 0.3425768614, 0.4277437925, 0.9163699746, -0.0700178444, 0.9916663766, -0.0588705689, 0.1673234254, 1.5666515827, -0.3848259747, 0.7754758596, 0.4308504462, -0.383369118, 0.2519651055, 0.9725914598, 0.182727024, 0.4726247489, 0.1703149378, -0.3220696151, -0.2931705117, -0.1516534537, -0.6514874101, 0.3406404555, 0.1503670514, -0.2431619465, 0.0378111377, 0.260530591, 0.125241816, -0.0368593708, -0.5630021691, 0.5920621157, 0.1831483096, -0.730404377, 0.3955971599, -0.3437721133, 0.0280837584, -0.5438678861, 0.203350395, -0.0007051337, 0.0479651801, -0.0010696346, -0.958742857, 0.0356805697, -0.3184610307, 0.1953061521, 0.0091804331, 0.7538112998, -0.5901628137, -0.421351701, 0.0252463631, 0.7092913389, 0.2998149693, -0.1605829448, -1.0582671165, -0.2243465334, -0.2962826788, -0.0827054977, 0.4967311323, 0.3079266548, 0.1502480358, 0.8481326699, 0.5662685037, 0.2206308544, 0.4090822935, 0.0475720912, 1.0372269154, -0.2063339353, -0.8040545583, -0.3073786795, 0.6508560777, -0.1278821379, -0.7179560661, 0.7286812663, 0.6292404532, 0.7702614069, -0.2120923996, 0.6307753921, 0.2106673419, 0.8376040459, -0.4243880808, 1.0788600445, -0.7070747614, -0.327156812, -0.3593228161, -0.5607219338, -0.1293115467, -0.1440865695, -0.1007031351, 0.2032197416, 0.4917898774, 0.6865404844, -0.1467541903, -0.041583918, 0.5324773788, -0.1876313239, -0.0903023258, 0.4203018844, 0.797164917, -0.5877348185, 0.4635058939, -0.541144371, 0.0034094101, -0.0857482702, -0.7340999246, -0.9196816087, -0.5605778098, -0.5488399863, -0.7933843136, -0.0405094996, 1.1873116493, 0.3860566914, -1.0285563469, 0.1441754699, 0.4641250372, -0.0719094127, -0.4676943719, -0.2454460263, 0.4691305459, 0.048384048, -0.1619240642, 0.2227332592, 0.111069791, -0.0118380319, -0.1531271487, -0.3051511049, -0.4047058225, 0.2640317082, 0.5175067186, 0.5080197453, -0.3201408088, 0.099929817, 0.3957740366, -0.3618045449, 0.3697858453, 0.6393041611, -0.5766913891, 0.9340283275, 0.25226143, 0.9008481503, -0.0150604174, 0.1789396405, 0.3133865893, -0.4210585058, -0.2593697011, 0.477991432, -0.1375439763, 0.0295406915, -0.1984738261, 0.3280793428, -0.0771424696, -0.9475014806, -0.8868796825, 0.2003770322, -1.071734786, -0.1363392025, 0.9380275607, -0.2698431909, -0.0470895804, -0.6223774552, -0.2967973351, 0.2817569971, 0.0874019265, 0.4653918445, 0.7510696054, -0.1815683842, -0.513718307, -1.482722044, 0.76658988, 0.2052709311, -1.0275192261, -0.133703813, 0.4503301978, 0.4572178125, -0.3305153251, 1.0337063074, -0.5468099117, 0.8926220536, 0.077537477, -0.1446877122, -0.0090769958, -0.3298425376, -0.4923425317, 0.2129122168, -0.2020262033, -0.5382298231 ]
http://arxiv.org/abs/2403.01461v1
http://arxiv.org/pdf/2403.01461v1
Answerability in Retrieval-Augmented Open-Domain Question Answering
2024-03-03T09:55:35
2024-03-03T09:55:35
Rustam Abdumalikov, Pasquale Minervini, Yova Kementchedjhieva
cs.CL
cs.CL
The performance of Open-Domain Question Answering (ODQA) retrieval systems can exhibit sub-optimal behavior, providing text excerpts with varying degrees of irrelevance. Unfortunately, many existing ODQA datasets lack examples specifically targeting the identification of irrelevant text excerpts. Previous attempts to address this gap have relied on a simplistic approach of pairing questions with random text excerpts. This paper aims to investigate the effectiveness of models trained using this randomized strategy, uncovering an important limitation in their ability to generalize to irrelevant text excerpts with high semantic overlap. As a result, we observed a substantial decrease in predictive accuracy, from 98% to 1%. To address this limitation, we discovered an efficient approach for training models to recognize such excerpts. By leveraging unanswerable pairs from the SQuAD 2.0 dataset, our models achieve a nearly perfect (~100%) accuracy when confronted with these challenging text excerpts.
[ -0.4626163542, -0.8289244771, 0.5822800994, -0.1528288722, -0.0223036092, 0.0987526849, 0.0261697769, -0.5607241392, 0.0093068508, 0.3609240949, -0.6876722574, -0.1758037955, -0.3181375563, 0.1145912483, -0.3804472685, 1.072193265, -0.3349419236, 0.0371679589, -0.4086733162, -0.5384781957, -0.3664931059, -0.5769931674, -0.335968256, -0.2424621135, 0.2159115076, 0.309139818, 0.5317972302, 0.4388175905, 0.5653041005, 0.1727509946, -0.1218325347, 0.2474067807, -0.8112573028, 0.1742554903, -0.2243277282, -0.251799494, -0.1526404917, 0.1978469044, 0.4420209527, 0.7599334717, -0.1324294508, 0.1491011977, -0.150602445, 0.5191307664, -0.7238599658, -0.1259875298, -0.9545086622, -0.0199534129, 0.1753459424, -0.2277573794, -0.4610437155, -0.2786454856, 0.4254973233, -0.7940959334, 0.4779832661, 0.0775853992, 0.6960193515, 0.1938018352, -0.1743760556, -0.4822689891, -0.7088528275, 0.8244242668, -0.3691542447, 0.0459697135, 0.6986562014, 0.1925056279, -0.0538208075, -0.5134087801, -0.4933824837, 0.069813773, -0.0108743627, 0.253680706, -0.0800155774, -0.0161506962, 0.0277555119, 0.28076455, -0.5962822437, 0.0657204911, -0.4123476446, 0.0673121065, 0.5138446093, 0.1041395813, 0.3868707716, 0.001387757, -0.5370091796, 0.0511247143, -0.339197576, 0.2587801218, 0.3423698246, 0.3028669953, 0.2942908406, 0.8400720954, -0.4785858393, 0.5930779576, 0.1447475851, 0.4011739492, 0.0549447574, -0.5050598383, -0.1311042905, -0.1833107471, 0.4831030965, 0.1987688392, 0.259529978, -0.5172351599, -0.19140625, -0.3985157907, 0.4123673439, -0.589445889, -0.227750212, 0.6264303327, -0.3024211526, -0.1742850989, 0.3148036003, -0.5510802269, -0.1028591618, 0.0343037918, 0.8043236732, -0.532066524, -0.1343608797, 0.1020690128, -0.4951779246, 0.3196495175, 0.3289281428, -0.7269065976, 0.3943506181, 0.4759601653, 0.6014205813, -0.4116160274, -0.1651002616, -0.790233016, 0.0489780717, -0.2475461662, 0.7551556826, -0.4174692333, -0.2935190797, 0.0179497525, -0.0502908789, -0.4286536276, -0.5979977846, 0.5296708941, -1.1308459044, 0.1721879989, -0.2662574053, -0.7221054435, -0.0454425924, 0.1597986966, -0.6930202246, 0.9908615351, 0.3735699654, -0.6957477331, 0.2689367533, -0.3871903419, -0.0562331565, -0.1502520442, -0.0776481405, -0.301472038, 0.0923828557, 0.2689974308, 0.3237494826, -0.1690285951, -0.0765183344, -0.4184142947, -0.5855234265, 0.2705948055, -0.150416255, 0.6141017675, 0.0602022558, 0.0366203673, -0.1901281178, -0.7143774629, 0.401639998, 0.1605767757, -0.228212446, -0.8002586961, -0.119570747, -0.1071940809, 0.1697046757, 0.1141339168, -0.77042979, 0.129840374, -0.4533542693, 0.3636081219, 0.6830706, 0.1605032235, 0.6802520156, -0.5278230906, 0.5523604751, 0.0379539728, -0.2009416819, 0.0706354156, -0.5205284357, -0.3589816093, -0.3559463322, 0.3133583367, 0.540051043, -1.1314200163, 0.1668312252, -0.2446476966, -0.4396367967, -0.5057654381, 0.0764109045, 0.7484666109, 0.5756844878, 0.669421792, -0.2612330019, -0.3590127826, -0.6705063581, -0.483499676, -0.2171112597, 0.0140593778, 0.3392134011, 0.7370098233, 0.4030698836, 1.1589142084, -0.5902786851, 0.0282894876, -0.2226102799, 0.0559308939, -0.0994894505, 0.5917834044, 0.4638978839, -1.2033590078, -0.3626039922, -0.2863889933, -0.9097626209, 0.2348460704, 0.2651362717, -0.2597713768, 0.0578291565, 0.6816909909, -0.6059939861, 0.7406903505, 0.1724126488, -0.1558938175, 0.4015633762, -0.2002375126, 0.2040013522, -0.7099409699, 0.1313108951, -0.2510796189, -0.0065180599, -0.7893195748, 0.2041558474, 0.1517022997, 0.0462703146, -0.5078007579, 0.8167339563, -0.3282928169, 0.0087425541, -0.0037263215, 0.1472783238, -0.0931146666, 0.6006783843, 0.1548681259, 1.0351331234, -0.0759985521, -0.6816027164, -0.046274431, 0.8040379286, -0.5267688632, 0.5589011312, -0.9780343175, 0.3316125274, -0.411162138, 0.1647243798, -1.2936067581, -0.5780193806, 0.1467717141, -0.5807477236, 0.0722443461, -0.1635420918, -0.1974790245, -0.2422374487, -0.36992535, 1.0382907391, 0.4503429532, -0.7546110153, 0.2504955232, 0.1784876138, -0.3049779534, -0.799321115, -0.427731216, -0.7162637711, 0.1646246761, -0.3723435104, 0.3316597342, -0.1583808959, -0.1890137792, 0.1740895659, -0.3650820255, -0.6800283194, 0.0964286029, 0.18102777, 0.3769051433, -0.180582419, 0.3188972175, 0.0653810799, 0.3424880207, -0.1354272366, -0.2001370788, 0.3563717902, 0.2010270804, -0.3743638992, -0.1277658194, 0.5719075799, 0.1835875511, -0.3627741039, 1.0834268332, 0.3494219184, -0.2613201737, -0.1278361678, -0.2991772592, -0.0522726737, -0.4103059769, 0.5999313593, -0.4045312703, -0.8639394641, 0.5503424406, 0.5255215764, 0.000463447, 0.4686782956, 0.1921625137, -0.2415200919, 0.8963734508, 0.3456105888, 0.2369701415, 0.2038413435, -0.1965954602, -0.1089660451, -0.8869698048, -0.4398213625, -0.7081053853, 0.0262567531, -0.4199627936, -0.473133117, 0.3770137131, 0.3251744807, -0.2417973131, 0.3187265694, -0.342616111, 0.646175921, 0.7658078074, 0.5468581915, 0.3313320577, 0.1606127024, -0.0487896539, 0.1278128177, -0.8171983361, -0.2345887721, 1.2201769352, 0.0899340212, 0.5633248687, 0.2226136625, 0.4751942456, 0.2815034986, 0.0488690026, -0.588752687, 0.4550791681, 0.0385546014, -0.8919623494, -0.526689291, -0.5726639628, -0.8214372396, 0.0655985698, -0.2082995027, -0.7103453279, 0.2781552672, -0.1382819265, -0.5232092142, 0.304528445, -0.6196727753, 0.5352799296, 0.3689981699, -0.2073746175, 0.1849094778, -0.8399790525, 0.3162461519, -0.322427094, 0.013011653, 0.0768159404, -0.2908634245, 0.8617116213, -0.372256726, 0.4027557671, -0.0114470422, -0.0325793773, 0.5605454445, -0.1951149553, 0.3311829269, -0.0763759241, -0.4709664285, -0.1724216342, 0.1986068934, -0.9906659722, -0.7774390578, 0.4160194993, -0.829222858, -0.3254630268, -0.441080302, -0.6072311401, -0.6363890767, -0.0172222201, 0.3880109489, 0.650880456, -0.5018935204, 0.1043754071, 0.9641672373, -0.2079467326, 0.5119013786, 0.5533411503, 0.1219871789, -0.6017105579, 0.7974188924, 0.1628280282, 0.6246417761, 0.4935003817, -0.3441233635, -0.4101716876, -0.6295996904, -0.5219592452, 0.1688013375, -0.6737325191, -0.0869074389, -0.7190520167, -0.4595608413, -0.3092024922, 0.0640956163, -0.0651103556, -0.7318075299, -0.3927121758, -0.0536172912, 0.2601976097, 0.8212473989, 0.3575175107, 0.1691211313, -0.7824736834, 0.4549900591, 0.4926239252, 0.3516099155, 0.0165807586, -0.8419212699, -0.2016909719, 0.1524025351, -0.1629693359, -0.6857905388, 0.0094466098, 0.315022856, 0.5497542024, -0.1328595877, 0.6280804873, 0.4664650559, -0.4078472257, 0.659132421, -0.094228074, -0.5727011561, 0.5635662675, -0.4328027964, 0.2186937332, 0.8598586321, 0.7736632228, 0.3087446392, -0.2285616249, -0.6576541066, -0.6977288127, 1.0125859976, 0.646399796, 0.0039694076, -0.0975596607, 0.5861008763, 0.1820224375, 0.3642024994, -0.2749052346, -0.2735005319, 0.1493160129, -0.267873168, -0.182355985, -0.2022829503, -0.0605899878, -0.0120693287, 0.6339579821, 0.0040080012, 0.3887384832, 0.5720853209, -0.1164583489, -0.0039342614, 0.1835223436, 0.5186391473, 0.447289288, -0.6656025648, -0.1878775805, 0.0503828526, -0.6771976948, 0.3968504667, 0.1956999451, -0.3537622094, 0.0124857388, 0.2792929709, 0.3530119359, -0.0960080028, -0.9422670603, 0.6982727051, -0.0981162414, -0.2831202447, -0.1693585813, 0.0778275207, -0.35221982, 0.1456251293, 0.5518953204, 0.3340515494, 0.1080901995, -0.6832620502, 0.2357447594, 0.5586476922, -0.8352288604, -0.1672373116, 0.6344075203, 0.0705646351, -0.2079732567, 0.5549449325, -0.166414246, -0.4304210842, 0.8131915927, 0.1870154738, 0.5680155158, -0.0518876351, 0.2853604853, 0.2592656612, 0.1020239741, -0.2155922204, 0.3113591373, 0.0010860119, -0.673415184, -0.1252178997, -0.4016050994, -0.5048961639, 0.031247627, -1.1187778711, -0.1101815924, -0.3109223247, 0.0797524676, -0.0665321201, -0.1179867163, -0.4763445258, 0.409704864, -0.7725562453, 0.9552075863, -0.5301252604, 0.6089403629, 0.8485488296, -0.7620455027, -0.72291255, 0.2001066208, -0.4590247273, -0.9751431942, 0.6197029352, 0.0534431376, 0.0922177061, 0.1451558024, -0.5957775116, -0.3946605325, 0.9437301159, 0.1046696827, 0.2144295573, -0.2205042541, 0.1255536377, 0.4168419242, -0.2619594634, 0.6073957086, 0.4747496247, -0.0109714456, 0.2518210411, -0.9592306018, -0.0045541432, -0.31436342, -0.0926010311, 0.1207020208, -0.6048252583, 0.7358884811, -0.3833918869, 0.0893575177, 0.8110998869, 0.5614205599, 0.0647529289, 0.6189302802, 0.3749594986, 0.399384588, 0.7096329927, 0.0328361653, 1.0570470095, 0.1954152882, 0.3546940088, 1.3359742165, -0.1842081994, 1.2075858116, 0.4326250851, -0.0619194135, 0.2187212557, 0.4265778363, 0.3804404736, 0.7572098374, 0.0282687955, -0.473818332, -0.4004155695, -0.200295791, -0.4514923096, 0.3888430893, 0.017886674, -0.4139426351, -0.0995291471, 0.0377832204, -0.2885760367, 0.378883332, -0.3571220338, 0.932218194, -0.2085477263, -0.9202406406, 0.6668502688, -0.225590229, 0.3280090988, -0.4558534622, -0.1433440149, -0.2660501897, 0.0485492684, -0.07572335, -0.7432076335, 0.0024230562, -0.1062503308, -0.6302403212, 0.0263713021, 0.5897064805, -0.5446884632, -0.2383837402, 0.0187842026, 0.8810050488, 0.0366419293, -0.2295198888, -0.2589970529, -0.3341144025, -0.0262016561, 0.0736027732, 0.5538954139, 0.4764897525, 0.2047178298, 0.6786451936, 0.410548687, -0.1543074548, -0.0272106957, -0.4925020635, 0.8289097548, -0.3637902737, -0.2263467759, -0.4683723152, 0.320682615, -0.138535127, -0.3932888508, 0.7581712008, 0.5195931196, 0.8853725195, -0.2739282846, 0.9097826481, -0.0281203371, 0.9941104054, -0.6660823822, 0.536355257, -0.6728280187, 0.4169464409, -0.3392387033, -0.5982330441, 0.1796835661, 0.310992986, -0.2747527957, 0.2018414587, 0.642783463, 0.6703503132, -0.2194915563, 0.3593992889, 0.2362387776, -0.1041137427, -0.0826885626, 0.6300495863, 0.9630808234, -0.8792390227, 0.9147092104, -0.2150586247, -0.1989230961, -0.1795974821, -0.422439158, -1.1665402651, -0.6290979385, -0.2549471557, -0.6599264741, 0.4376941621, 0.8434453011, 0.6540743113, -0.8840210438, 0.1378043741, -0.2078144103, 0.1443692595, -0.102130197, -0.17334719, 0.3989400566, -0.3381741643, -0.6097360253, 0.1993153244, -0.165937081, 0.2554594576, 0.1497807503, 0.0633623153, -0.4379248023, 0.2078881264, 0.3806892633, 0.6717962027, -0.4239169061, -0.3609289229, 0.3650947809, -0.1384377182, -0.0062749209, 0.624818027, -0.8294247985, 0.3481966853, 0.4383204281, 0.9134883881, 0.1751506478, 0.5304527283, 0.6534783244, -0.8516713977, 0.0263954774, 0.3850995004, -0.1248903126, 0.0401858911, -0.1085112169, 0.754181087, 0.3026965261, -0.548801899, -0.840213716, 0.1125091612, -1.0575654507, -0.3095390201, 1.2413415909, -0.5257476568, 0.0106321387, -0.4944335818, -0.2789480984, -0.0144886356, -0.4379023015, 0.4969525635, 0.7258956432, -0.1028711274, 0.2757401764, -0.61458987, 0.5036303401, 0.6714151502, -0.6838204265, -0.2399440855, 0.2551024556, 0.1260837615, 0.0520370007, 0.7656570077, 0.1125457436, 0.4428879321, -0.0619639158, -0.5294311047, -0.0887192413, -0.1436458528, -0.2437926233, 0.5173566937, -0.0749938786, -0.3998467326 ]
http://arxiv.org/abs/2403.01457v1
http://arxiv.org/pdf/2403.01457v1
Logic Rules as Explanations for Legal Case Retrieval
2024-03-03T09:22:21
2024-03-03T09:22:21
Zhongxiang Sun, Kepu Zhang, Weijie Yu, Haoyu Wang, Jun Xu
cs.IR
cs.IR, cs.CL
In this paper, we address the issue of using logic rules to explain the results from legal case retrieval. The task is critical to legal case retrieval because the users (e.g., lawyers or judges) are highly specialized and require the system to provide logical, faithful, and interpretable explanations before making legal decisions. Recently, research efforts have been made to learn explainable legal case retrieval models. However, these methods usually select rationales (key sentences) from the legal cases as explanations, failing to provide faithful and logically correct explanations. In this paper, we propose Neural-Symbolic enhanced Legal Case Retrieval (NS-LCR), a framework that explicitly conducts reasoning on the matching of legal cases through learning case-level and law-level logic rules. The learned rules are then integrated into the retrieval process in a neuro-symbolic manner. Benefiting from the logic and interpretable nature of the logic rules, NS-LCR is equipped with built-in faithful explainability. We also show that NS-LCR is a model-agnostic framework that can be plugged in for multiple legal retrieval models. To showcase NS-LCR's superiority, we enhance existing benchmarks by adding manually annotated logic rules and introducing a novel explainability metric using Large Language Models (LLMs). Our comprehensive experiments reveal NS-LCR's effectiveness for ranking, alongside its proficiency in delivering reliable explanations for legal case retrieval.
[ -0.020489132, -0.6887415648, 1.0827013254, -0.0752160549, -0.6124508381, -0.2605148554, -0.193415314, -0.2765999138, 0.1298897415, 0.6843624115, -0.4398152828, -0.4189838767, -0.3242715597, 0.101684235, -0.6120948195, 1.0076087713, 0.3196660578, 0.3412952125, -0.2493868172, -0.2439989448, -0.6782408357, -0.7463226914, -0.4898441732, -0.3897394836, 0.4805872738, -0.0449618138, 0.6652037501, 0.7832117081, 0.5185241699, 0.2863456309, -0.2250549048, -0.1694571674, -0.2217610031, 0.0568904988, -0.2966117561, -0.6648809314, -0.492200017, -0.2034406662, 0.0760272071, 0.337061882, -0.546102345, -0.1350428164, -0.5769250393, 0.8223779798, -0.4847611189, 0.1916036606, -0.6957710385, 0.4371896684, 0.0435310528, -0.4697603583, -0.5130870342, -0.6932439208, -0.0814795867, -1.0428111553, 0.2039586306, 0.2144881785, 0.711784184, 0.2974025011, -0.5267747045, -0.3809407651, -0.437042892, 0.4463577867, -0.8261998296, 0.4818084538, 0.1720298529, 0.857783854, 0.090933226, -0.6829181314, -0.7510504723, -0.5114790797, -0.3182260394, 0.282515496, -0.2706356645, 0.1979716271, 0.5689871311, -0.0859015137, -0.5132158399, -0.3341398239, -0.281093955, -0.4256224036, 0.6564050913, 0.0142852236, 0.4103869498, -0.0616849065, -0.0177206136, 0.2244428992, -0.6961126328, -0.1568981558, 0.3571922779, 0.4396278858, 0.3196404278, 0.7523821592, -0.1261128485, 0.6683531404, 0.2358731925, 0.0605093725, 0.1900635213, -0.5400063396, -0.0902448371, 0.5292469263, 0.5170197487, 0.4321718514, 0.524160862, -0.3317311704, -0.3279668987, -0.2056656927, 0.3383466601, -0.729796052, 0.1656629592, -0.0025532744, -0.9405199289, -0.0448115319, 0.1969074011, -0.5513026118, -0.5000438094, -0.6675727963, 0.4530404806, -0.465516746, -0.3221217394, 0.4292910695, -0.4693598449, 0.3954295516, 0.4921585023, -0.5007997155, 0.5065518618, 0.9414832592, 0.43703264, 0.3691860437, 0.3659791648, -0.7136309147, 0.0530868173, -0.3034753203, 0.4460497797, -0.5779035687, 0.1434603184, -0.0623445809, -0.0435698368, 0.1451106071, -0.5628856421, 0.825784564, -0.866145134, -0.1565541327, -0.5808529854, -0.4598691761, -0.5199936032, 0.1179194003, -0.4657310247, 0.3842095137, -0.3835306764, -0.5050839186, 0.6906990409, -0.7017629147, -0.7676174641, 0.2596904337, -0.3332598209, -0.247476086, 0.3176387548, 0.1013939679, 0.2153886259, -0.181689322, 0.5718562007, -0.2229853272, -0.5186625719, 0.1345476806, -0.1331481785, 1.1578698158, 0.4048131108, -0.3943217695, 0.0755329505, -0.3411366642, -0.1232073978, 0.2561662793, -0.1860314757, -0.3827845454, 0.2091327757, -0.3749013245, 0.4676810205, 0.0448373742, -0.5289555192, -0.2990958989, -0.3147215545, 0.4724728465, 0.5645770431, -0.1697403789, 0.3781712055, -0.2409062684, 0.5325744748, 0.1507385522, 0.1771427393, 0.0494756177, -0.2271291018, -0.4749149978, 0.0232161004, 0.1193370447, 0.4893779755, -0.5063225627, 0.3103848994, -0.3768990636, 0.0835041031, -0.6417977214, -0.0405332632, 0.3855721056, 0.6528315544, 0.4873059988, 0.0560717173, -0.6769534349, -1.1517635584, -0.6780070066, -0.2011568695, 0.1381583363, 0.6457878351, 0.6674871445, 0.2275728434, 0.9265686274, 0.0994603857, -0.1138229147, -0.475466758, -0.1847805232, 0.6331939697, -0.0878662914, 0.4056089818, -1.0308542252, -0.1711740792, 0.1094898954, -0.9822717309, -0.3107303083, -0.4269505143, -0.1762301624, -0.0019428335, 0.7864869237, -0.605250001, 0.6005840302, -0.5538882613, -0.6541646719, 0.6598024964, -0.2844296992, 0.0154759586, -0.4885642827, -0.1888533235, 0.1061204448, -0.4014184773, -0.4509356022, 0.3744675517, 0.1640488356, 0.3164998889, -0.5477858186, 0.3271403611, -0.4087236226, -0.3220395148, -0.3575614393, 0.456975162, 0.1759076864, 0.2135943472, -0.1452199668, 0.4175850153, 0.391546905, -0.5836507082, 0.4080342054, 0.0568065345, 0.0972796902, 0.7703091502, -0.8124162555, -0.2695630491, -0.4862911403, 0.279735595, -0.3792097569, 0.1627719849, 0.2134840488, -0.1691548973, 0.1035429984, -0.5225552917, -0.7477784753, -0.3354633749, 0.0189574249, 0.1688548774, 0.5577912331, -0.6346647143, 1.120703578, 0.2230443954, 0.157665655, -0.5026412606, -0.4229717255, 0.0701846331, -0.4137822986, -0.208465606, 0.3017666638, -0.0719877481, -0.5234210491, 0.2686367929, -0.3499462008, -0.1120751724, 0.2844437361, 0.3391954005, 0.1437373161, -0.4538732469, 0.2206078768, 0.1868644208, 0.0181435365, 0.7370331883, -0.0657053143, 0.2103165239, -0.3709682822, -0.5567081571, -0.5034184456, 0.2605520487, 0.3692645133, -0.2181473821, 0.456508249, 0.1288521886, -0.369579047, -0.0513683259, -0.6463246942, -0.3795314133, -0.4240070283, 0.1715588421, -0.6173921227, -0.6320732832, 0.4151697755, -0.0264271088, -0.0570717864, 0.544095993, 0.3642018437, -0.0367566012, 1.1107805967, 0.3545356095, 0.1729290187, 0.2464947551, 0.2921296358, 0.453920573, -0.5507981181, -0.6517627239, -0.5417147279, -0.0891587958, -0.2561028004, 0.1083215252, 0.034091156, 0.1518733203, -0.4942455292, 0.3338027596, -0.4111681283, 0.9134367704, 0.5370467901, 0.3238565028, 0.5126641989, 0.0272424612, -0.6626192331, 0.085873872, -0.5977405906, -0.2070663869, 0.8086894751, -0.0662714988, 0.3950288296, 0.3750780523, 0.602709949, 0.1877712756, -0.0163525548, -0.8745060563, 0.8309106231, -0.2941345572, -0.677609086, 0.0235995855, -0.5991373658, -0.6284934282, 0.3615932167, -0.3857605159, -0.5992645025, 0.0305848345, -0.1013373062, -0.5784826279, -0.0440711677, -0.334831804, 0.586276114, -0.6319199204, -0.4136017263, -0.5084799528, -0.6554662585, 0.4125863016, -0.14854756, 0.3104980886, -0.1446167976, 0.1866506934, 0.600854516, -0.7475153208, 0.4315916002, -0.2940396965, 0.416228503, 0.0037031712, 0.2871144414, 0.2199353278, 0.0350381099, -0.4406948388, -0.2149001807, 0.0089564938, 0.0498052612, -1.0413519144, 0.6095573902, -0.2943769395, -0.8770372272, -0.4312106967, -0.5284074545, 0.4374489188, 0.3097564578, -0.3870822787, 0.1785149127, 0.4012880027, 0.3733513951, 0.5334609151, -0.3369214535, 0.20799236, 0.8463485241, -0.0676430166, -0.0112276394, 0.8705098629, 0.0132576926, -0.3356919587, 0.3431710601, 0.4462658167, -0.6931771636, -0.6429818869, -0.198751837, 0.4032265246, -0.8935950994, -0.0924850255, -0.6004564762, -0.2467722297, -0.0859713703, -0.1575357765, 0.1298281401, -0.6190558672, -0.1521113068, -0.2834961712, 0.4612255394, 0.4643600583, -0.0772450492, -0.1108436584, -0.4014089406, 0.6634787321, 0.0660630539, 0.3501940072, -0.1093333066, -0.8334795833, 0.1801023185, 0.0260032248, 0.1233545169, -0.8717998862, 0.2898841798, 0.1577434093, 0.9378837943, 0.3907335699, 0.1399123073, 0.8942644596, -0.6674680114, 0.2240033746, 0.0784111395, -0.9442759156, 0.8973599076, -0.1245772243, -0.2116955817, 0.6589869261, 0.2184070349, -0.2237035036, -0.1639358401, -0.473010242, -0.8547359109, 0.7653228641, 0.2311586589, 0.2222194523, -0.0370578654, 1.0983023643, -0.0143071283, 0.1490744352, -0.7742650509, -0.0641003996, -0.4430645704, -0.3135351241, 0.4481942952, 0.0743649974, -0.1304167956, -0.5265962481, 0.7231629491, -0.17056337, 0.2415267676, 0.1859228313, -0.3971613646, 0.3423109055, 0.255412966, 0.4407843649, 0.6086666584, -0.1728755087, 0.0986483023, -0.0325040258, -0.1464114338, 0.0030891765, 0.2272851169, -0.2727105021, 0.0520572029, 0.1400889009, 0.5368483663, -0.0308364909, -0.824148953, 0.6145264506, -0.3764202595, -0.5011855364, -0.501801312, 0.0728038549, 0.0885908231, 0.4880194366, 0.3819160461, -0.0900908262, 0.4722910523, -0.6184930801, 0.4406107664, 0.6272830367, -0.432901144, 0.0328123495, 0.9603407979, -0.1638061851, -0.1594312191, 0.8584188223, -0.0778688863, -0.5856378078, 0.9725147486, 0.6061131358, 0.5193803906, 0.6313917041, 0.2154323757, 0.2820079029, 0.3627458811, -0.4014036655, 0.4758678079, -0.1968271434, -0.5239438415, -0.3844355941, -0.4392663836, -0.1075175554, -0.2325147092, -0.8325163722, 0.015720645, -0.4482609928, -0.0042763855, 0.1659840047, -0.2870025039, -0.5062285662, 0.0318413749, -0.083533518, 1.0489031076, -0.5829370022, 0.5600832105, 0.4375167191, -0.776281178, -0.7409412861, -0.2650124133, 0.2705644965, -0.8032785654, 1.0283869505, 0.2040524185, -0.0024116654, -0.2956382036, -0.399400562, -0.4729126096, 1.1079542637, 0.6351675391, -0.6147167683, 0.0808653012, 0.1847112179, 0.7832762599, -0.3038018942, 0.5678183436, 0.4957780242, 0.5917748809, 0.3420745432, -0.4166467786, 0.6122564077, -0.4808957875, -0.073746331, 0.0096414527, -0.1505337358, 0.3399546444, -0.5741187334, -0.0298490431, -0.028220458, 0.4582501948, 0.5890117288, 0.4104575217, 0.4944354892, 0.5348634124, 0.6982380152, -0.4914658368, 1.3644100428, -0.3393774629, -0.0075211669, 1.0889725685, -0.3419883549, 0.6750642061, 0.6309764981, 0.2820010185, 0.621447444, 0.367236644, -0.1704858392, 0.4785382152, 0.4629143178, -0.0763782859, -0.7241549492, -0.4121132195, -0.0115922019, 0.1776671708, 0.1978678256, -0.8026624918, -0.2586061656, -0.1756238341, -0.1874482185, 0.1506543159, -0.3938785195, 0.7387849689, 0.06587331, -0.4531038702, 0.113205336, -0.072239466, 0.2626870275, -0.3242852092, -0.3501574695, -0.328699708, 0.234563157, -0.3437064886, -0.8095323443, 0.342412889, -0.0061858282, -0.1926430017, -0.4015104771, 0.7616553307, -0.0001124562, -0.5011790395, 0.530541122, 0.4305840433, 0.3061671555, -0.1654751301, -1.1178318262, -0.2085900903, -0.3185566366, -0.0993173644, 0.2125949413, 0.667999804, -0.2580008209, 0.8984999657, 0.7708298564, -0.0314098634, 0.0912676901, 0.6015648246, 0.7667201757, -0.7029080391, -0.1749575585, -0.9479461312, 0.3855024278, -0.1915569901, 0.2907321155, 0.4279752672, 0.6036275625, 0.4643368721, 0.153256014, 0.5439053774, 0.023066856, 0.0605759509, -0.6472933888, 0.794061482, -0.6696177125, 0.5185544491, 0.0115060313, -0.6959827542, -0.420750618, 0.9199111462, -0.178289026, 0.2364593148, 0.6601746082, 0.8291835189, -0.3790864646, 0.1091205254, 0.2790374756, 0.2784847021, 0.0827068016, 0.4429871142, 0.6788271666, -0.294298172, 0.8056566119, -0.025388686, 0.1365711838, -0.2891074419, -1.0405236483, -0.7137535214, -0.0410540514, -0.2735829651, -0.3589250743, 0.4563103616, 0.6906971931, 0.7712501287, -0.5868676901, -0.0523421057, -0.4940531254, 0.39377895, -0.3516780436, -0.2969196737, 0.0429770127, -0.2448239326, -0.0515885279, 0.5858620405, 0.1056661829, -0.1890337765, 0.424967587, -0.3745463789, -0.2247822732, 0.1873477399, 0.4906617105, 0.3192068338, -0.9277483225, -0.1287097782, 0.0944023579, 0.0869236737, 0.0241063107, 0.9018728733, -0.9190737605, 0.3555777371, 0.4386406243, 0.6175972223, 0.4092351198, -0.0331390984, 0.664593339, -0.3509203792, -0.3139335811, 0.277013272, 0.7879687548, -0.1276646256, -0.3515200615, 0.5807012916, 0.1729151458, -0.1680284888, -0.5593450665, 0.1307730824, -1.0823994875, -0.4147188365, 0.9438617826, -0.1417102963, -0.218072027, -0.3479694724, 0.0741069466, 0.2643418014, -0.5427580476, 0.7783583403, 0.5283115506, -0.166933924, -0.4258244932, -0.852709353, 0.13680242, 0.4220695794, -0.7859822512, -0.0322187506, 0.7216420174, 0.444301337, 0.0619870313, 0.3654251695, -0.5819489956, 0.6642481089, -0.3223800361, -0.1855698079, -0.41903162, -0.2217259407, -0.5360806584, 0.0842913687, -0.3692686558, 0.4653747678 ]
http://arxiv.org/abs/2403.01456v1
http://arxiv.org/pdf/2403.01456v1
Controlling Cloze-test Question Item Difficulty with PLM-based Surrogate Models for IRT Assessment
2024-03-03T09:18:05
2024-03-03T09:18:05
Jingshen Zhang, Jiajun Xie, Xinying Qiu
cs.CL
cs.CL, cs.AI, cs.CY
Item difficulty plays a crucial role in adaptive testing. However, few works have focused on generating questions of varying difficulty levels, especially for multiple-choice (MC) cloze tests. We propose training pre-trained language models (PLMs) as surrogate models to enable item response theory (IRT) assessment, avoiding the need for human test subjects. We also propose two strategies to control the difficulty levels of both the gaps and the distractors using ranking rules to reduce invalid distractors. Experimentation on a benchmark dataset demonstrates that our proposed framework and methods can effectively control and evaluate the difficulty levels of MC cloze tests.
[ -0.8280908465, -0.9178396463, 0.2330216318, -0.0539996624, -0.2072743922, -0.1041498929, -0.1362326145, -0.1959724575, -0.2513035834, 0.8150770068, -0.7248390317, -0.0776888505, -0.5800722837, 0.3965806067, 0.0218790006, 1.1290779114, -0.3298124969, -0.1107176244, -0.3351597786, -0.2389542907, -0.9321923256, -0.4666263163, -0.6057544947, 0.0012208819, 0.4963540137, 0.6875882745, 0.5125411153, 0.0384980068, 0.7908499241, 0.2239032835, 0.0206365213, 0.2729237378, -0.3166234493, 0.2420942336, -0.3293374777, -0.307600081, -0.2722634673, 0.1735221148, 0.2505876124, 0.6331493855, -0.3137156069, 0.2271573395, 0.1656654626, 0.51952672, -0.675301373, -0.1624757797, -0.6060093045, -0.1703752279, -0.0389241427, -0.2441811115, -0.6198167205, -0.4081403613, 0.4277187288, -0.4214815795, 0.3321351707, 0.1001546904, 0.6512982249, 0.3407726288, -0.4858002961, -0.5109243393, -0.6803192496, 0.6246631145, -0.4273720682, 0.3357571661, 0.4610889852, 0.058427956, -0.1650832891, -0.6755073667, -0.2601382732, -0.7865216732, -0.148239091, 0.3352455199, 0.3723900914, 0.2340585738, 0.2610071301, 0.1385114342, -0.7545014024, -0.1686391532, -0.7110300064, 0.0130553991, 0.553535521, 0.0791158825, 0.3885512054, 0.1364294291, -0.6773574948, 0.0790658593, -0.6502684355, 0.0838601813, -0.1141017899, 0.1184408516, 0.5541105866, 0.6880001426, -0.0994891971, 0.8009489179, -0.0107672038, 0.0922477022, 0.0383970737, -0.2588666677, 0.0567321703, -0.1382982582, 0.3473037779, 0.1525275707, 0.3213551342, 0.1974565387, -0.0716094077, 0.0496292189, 0.423917681, -0.8483135104, -0.2154997289, 0.2887651026, -0.188000083, 0.175776124, -0.054885339, -0.7366842031, -0.4291251302, -0.1337696314, 0.736289978, -0.6215624809, 0.0078240354, 0.249624446, 0.0157689583, 0.1140157059, 0.0413949788, -0.517954886, 0.6109324098, 0.138591215, 0.6284897327, -0.1478231996, -0.5659644604, -0.679081738, -0.020228548, -0.2338021249, 0.8635968566, -0.7310672402, -0.433051765, -0.2311070412, -0.16626288, -0.6923981309, -0.6352047324, 0.1958035678, -0.4510761201, 0.4032685161, -0.2715901434, -0.7384073138, -0.2222382575, 0.3679635227, -0.4428319335, 0.9679509401, 0.4750946462, -0.558404088, 0.2796553373, -0.9557295442, -0.4499077499, 0.0791810006, 0.2141519338, -0.3209736943, 0.1820646077, 0.1781475991, 0.2540973127, -0.1796396673, -0.0834088475, -0.2593725324, -0.3287712932, 0.475720197, -0.2242373377, 0.2202977687, 0.0925459713, -0.2385647893, -0.0042194333, -0.6105588078, 0.1964334697, -0.1510145217, -0.3847985268, -0.3451546729, 0.1573830247, -0.3297349215, 0.2668119669, 0.0625220686, -0.2842622697, 0.2120939493, -0.0044741444, 0.293102324, 0.706002295, 0.2525955439, -0.0163592473, -0.6340788007, 0.7818650603, -0.081264399, 0.3080793321, -0.0229214169, -0.4414153993, -0.791497767, -0.090892449, 0.43258515, 0.9474456906, -0.7015340328, 0.1505207717, 0.292150259, -0.4182324111, -0.6425800323, 0.3229648173, 0.4061232209, 0.5064299107, 0.5736741424, -0.5856726766, -0.2604512274, -0.5713905096, -0.0458545275, -0.0472162217, -0.0481209308, 0.3448643386, 0.5845322609, 0.0754422918, 0.7793545127, -0.5407915711, -0.4347496927, -0.5238304734, 0.4137337208, -0.1174466237, 0.6709491611, 0.3620857596, -1.1545379162, -0.5736374259, -0.2042562068, -0.0634604096, -0.4724856019, -0.045893237, 0.1300767809, 0.0295264777, 0.5740019679, -0.587880075, 0.4473660588, 0.068503879, -0.2628940642, 0.75690341, -0.1961713284, 0.1584208459, -0.8267013431, 0.0059595336, -0.2556506097, -0.0879153758, -0.9390614033, 0.1659363657, 0.0502001569, -0.1076851264, -0.6902373433, 0.3928078115, -0.2947218418, 0.2708128393, -0.3748958409, 0.1002286747, 0.0664088354, 0.5019321442, 0.3429427445, 0.9533827901, 0.265876174, -0.9862554669, 0.1161055788, 0.3429539204, -0.1626774073, 0.7441721559, -0.6109128594, 0.2791942358, -0.2301802337, -0.0038472195, -1.1758140326, -0.1556780487, 0.1692530662, -0.2855967581, 0.1720310748, 0.1080484018, -0.1055703908, -0.4594474733, -0.2698665261, 0.393132776, 0.6001719832, -0.1101433337, 0.6702008247, -0.1190069616, -0.6609182954, -0.4908141196, -0.4876668453, -0.4426248372, -0.4926412404, -0.2880636156, 0.1473834962, -0.8517801166, -0.0194780976, -0.3000365198, -0.1335640997, -0.3320018351, 0.3152305484, 0.0142379282, 0.1932541132, -0.0358390026, 0.1600551158, -0.3265216351, -0.1270801723, -0.1076646596, 0.0429782793, 0.6911607981, -0.1743134409, -0.5153051615, -0.1971058697, 0.3906746507, 0.3632358611, -0.5113714933, 0.4443134367, 0.455445528, -0.2580985129, -0.1384146065, -0.7920229435, -0.2631747723, -0.4753408432, 0.3980442584, -0.4998513162, -0.7753280997, 0.6916589141, -0.1075187325, -0.0515079387, 0.0607639924, 0.4973639548, -0.1308672875, 1.0727597475, 0.3968433738, 0.1701751202, 0.3433163762, -0.0581282638, 0.018548768, -1.0199047327, 0.0817280412, -0.3892775178, -0.3020965755, -0.3942279518, -0.204976365, 0.5034300685, 0.1759132147, -0.3586195707, 0.2056064904, -0.4014885426, 0.6265380383, 0.5999360085, 0.2924247384, 0.0251260269, -0.371103853, -0.1099976078, 0.1612893194, -0.6482586861, -0.186909005, 1.0196769238, 0.105175823, 0.6552093029, -0.086648494, 0.580943644, 0.0526219234, 0.4992035329, -0.528005898, 0.6153875589, -0.1334346682, -0.9446876645, -0.3597882688, -0.3499489725, -0.830921948, 0.5008434653, 0.2444272488, -0.9433637857, 0.3428367674, 0.0560716689, -0.8863310814, -0.0101230694, -0.9153158069, 0.8039422035, -0.2344036102, -0.3780401349, 0.2354311645, -0.7791259885, 0.1870916486, 0.0287209786, 0.1474621892, -0.1398549676, 0.0307505373, 0.6870368719, -0.4145205617, 0.7895156741, -0.06970945, 0.4194222391, 0.7280721068, 0.6039550304, 0.5438394547, 0.1528529227, -0.0300970711, -0.4534892142, 0.0112498095, -0.5375078917, -0.4595154226, 0.218844384, -0.4874296188, -0.9334493876, -0.465645045, -0.9849309325, -0.4016087055, 0.2996745706, 0.3782058656, 0.4109992981, 0.0192806181, 0.3241423666, 0.9776577353, -0.0143117039, 0.3332490325, 0.8470303416, 0.0861285329, -0.4543751776, 0.9111974835, 0.4903837442, 0.7318329811, 0.185079813, 0.3722963631, -0.3106689453, -0.8099933267, -0.0175017845, -0.1322725415, -0.5641465783, -0.2326011658, -0.1363257915, -0.3080972731, -0.197124958, -0.2530864179, -0.2881503999, 0.0003600764, -0.3459658027, -0.3204630911, 0.3178571463, 0.6207454205, -0.0635338724, 0.3827923834, -0.5879631042, 0.312368989, 0.5030791759, 0.2995736599, -0.5135060549, -0.5862841606, 0.1658499092, -0.1540303528, -0.4863279164, -0.9634200931, 0.3845977187, 0.1951361001, 0.2101647407, 0.204687804, 0.26327914, 0.8829046488, -0.3756089211, 0.9240573049, -0.0584033802, -0.9268473387, 0.5069311261, -0.0933520645, 0.0753129795, 0.8150796294, 0.4432308674, -0.3675813377, -0.4091622531, -0.6419075131, -0.7561654449, 0.6853391528, 0.3124622405, 0.0004365538, -0.084153533, 0.3834748268, 0.2626296878, 0.367395103, -0.9509388804, 0.06805785, -0.137148574, -0.2001078576, 0.0448384471, -0.3787488341, -0.0904158577, -0.0617193803, 0.4573098123, -0.0102685969, -0.1387351155, 0.625092566, -0.2879495621, 0.0069698454, 0.5295760632, 0.8340860605, 0.7372241616, -0.5436502695, 0.2108062208, 0.6750730872, -0.5642763376, 0.2178889811, 0.3187451363, -0.2149477005, -0.4015927017, 0.0843462944, 0.6439151168, -0.0728843212, -0.7411736846, 0.2493155599, 0.1082834303, -0.3507521749, -0.1820367426, 0.2162537277, -0.2332425416, -0.058614824, 0.1963320076, 0.0033694152, -0.0025329499, -0.2527662516, 0.4437980652, 0.2834156752, -0.5233710408, -0.0641781092, 0.545999825, -0.0064299693, -0.382327795, 0.5679470897, -0.2500272989, -0.6241922379, 0.8181931376, 0.7835891247, 0.4041290283, -0.7948650718, 0.3058769107, -0.0331860781, 0.7513341308, -0.1899631321, 0.7470707297, 0.3034529388, -0.5311986208, -0.114253886, -0.1979603767, -0.5237062573, 0.5126700401, -0.6944970489, 0.0838970765, -0.3964291513, 0.0304874368, -0.4742473364, 0.0747212395, -0.7233135104, 0.5308526158, -0.0585618652, 0.9060798287, -0.6369022727, 0.3451218605, 0.6060171723, -0.7119495869, -0.7409545779, -0.2446836978, -0.5289095044, -0.5831395388, 0.2488210648, 0.2739591002, 0.2531089485, 0.1652040333, -0.4019602239, -0.8118275404, 0.9203259349, 0.1609579325, -0.2757542729, 0.2363112867, 0.4178366661, 0.4415279329, -0.4173922241, 0.6713836789, 0.6670006514, 0.570967555, -0.0650082603, -0.9208315015, 0.0016814407, -0.1344215423, 0.0569733009, 0.2004961818, -0.8034502864, 0.9909860492, -0.1630873978, -0.0212919693, 0.174935624, 0.3744526803, 0.5949082375, 0.5412815213, 0.6552644968, 0.3313661814, 0.7212440968, 0.0377645195, 0.9171538949, -0.1591571718, 0.2673954368, 1.1951624155, -0.79313761, 0.8967837095, 0.451931715, 0.0438296907, 0.4777204692, 0.826782763, 0.0630867183, 0.4422159791, 0.6371182799, -0.0796315819, -0.4287133515, -0.202948153, -0.4363842905, 0.28266114, 0.5217007995, -0.1000598222, -0.0926526114, 0.4492247105, -0.246778816, 0.0301791467, -0.279967308, 0.6189525723, -0.0442712791, -0.841103971, 0.5499518514, -0.4614031017, 0.1820228845, -0.8871595263, 0.0097771799, -0.3876634836, -0.0054237186, 0.1845853776, -0.4977275431, 0.0470858328, -0.229328528, -0.0839262381, 0.0355676152, 0.9722607136, -0.5997709632, -0.6096773744, 0.0815081447, 0.4934573472, 0.1196286306, -0.0927620456, -0.7170205116, -0.2169358581, -0.2269378901, -0.7520026565, 0.2874740362, 0.1127605662, -0.1004340053, 1.0660151243, 0.4763741791, -0.1632125676, 0.2920658886, -0.1416891515, 0.6531143188, -0.6457902193, -0.3933150172, -0.8070849776, 0.70127666, 0.1620394588, -0.351806879, 0.2845784724, 0.3269149065, 0.7346301079, -0.2890355885, 0.8719510436, -0.112762399, 0.6980686784, -0.4906730652, 0.3975071013, -0.4751119018, 0.1998388618, -0.0389273241, -0.6065715551, -0.3068632782, 0.3478117287, -0.3252189755, 0.2353273183, 1.0294787884, 0.8534688354, -0.1145181507, -0.1499759704, 0.2617966533, 0.1986045688, 0.1903700382, 1.0179309845, 1.0681128502, -0.2379292995, 0.8357151151, -0.4041412771, -0.1368965656, -0.1022452042, -0.7306123972, -1.1612380743, -0.549100697, -0.4490613341, -0.2868159413, 0.0548993647, 1.0264987946, 0.5356777906, -0.9050965309, -0.1998249888, -0.2174304426, 0.3702490628, -0.6350250244, -0.2510714233, 0.5225799084, -0.4831417501, -0.5738780499, 0.4257118702, -0.027177101, 0.2135463506, -0.0233368929, 0.1503731757, -0.3018262982, 0.3818870187, 0.3748042881, 0.2053493261, -0.6054404378, -0.459468931, 0.1448116302, 0.2252000272, 0.0714847818, 0.9037340283, -0.6359305978, 0.5081543326, 0.4319999218, 0.3410769403, 0.0083677899, 0.421015054, 0.4767890275, -0.7616544366, 0.0101000173, 0.3623654246, 0.2638057172, 0.1103104278, -0.4358566105, 0.5609036684, 0.2142755389, -0.687517345, -1.0477526188, 0.3698982298, -0.8042424321, -0.4195250273, 1.1224412918, -0.2647351623, -0.0434221141, -0.3549516201, -0.529215157, 0.0305714384, 0.0410498753, 0.9725515246, 0.8931174278, -0.372564882, -0.3479373753, -0.74078089, 0.5584873557, 0.835842073, -0.7127349973, 0.0795309469, 0.1475678235, 0.501157999, 0.3496805131, 0.7099932432, 0.2190147191, 0.4602876008, -0.4097735584, 0.0558063611, -0.1118357554, -0.4840183258, 0.0240664389, 0.5235489011, 0.0331051424, -0.3121136129 ]
http://arxiv.org/abs/2403.04787v2
http://arxiv.org/pdf/2403.04787v2
Ever-Evolving Memory by Blending and Refining the Past
2024-03-03T08:12:59
2024-04-07T04:31:30
Seo Hyun Kim, Keummin Ka, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo
cs.CL
cs.CL, cs.AI
For a human-like chatbot, constructing a long-term memory is crucial. However, current large language models often lack this capability, leading to instances of missing important user information or redundantly asking for the same information, thereby diminishing conversation quality. To effectively construct memory, it is crucial to seamlessly connect past and present information, while also possessing the ability to forget obstructive information. To address these challenges, we propose CREEM, a novel memory system for long-term conversation. Improving upon existing approaches that construct memory based solely on current sessions, CREEM blends past memories during memory formation. Additionally, we introduce a refining process to handle redundant or outdated information. Unlike traditional paradigms, we view responding and memory construction as inseparable tasks. The blending process, which creates new memories, also serves as a reasoning step for response generation by informing the connection between past and present. Through evaluation, we demonstrate that CREEM enhances both memory and response qualities in multi-session personalized dialogues.
[ -0.2940884829, -1.1671686172, 0.548497498, 0.1002997905, 0.0185814109, 0.6423237324, -0.3773689568, -0.5048886538, 0.4003149271, 0.7488711476, -0.5698962212, -0.3276071548, 0.0376326367, -0.4451339245, -0.2730753422, 0.8965784311, 0.2016248703, -0.3088261187, -0.1090413257, -0.371558398, -1.0901920795, -0.7779302001, -0.9805372953, -0.3665671945, 0.3716059923, 0.3627741635, 0.7768833637, 0.2057708353, -0.0914215222, 0.3190512061, -0.0319811292, 0.3728414774, -0.698466897, 0.5974190831, -0.2920233309, -0.5395175219, -0.748801589, -0.2831306756, 0.4268527925, 0.6842563748, -0.2768425345, -0.1728501916, 0.0297987349, 0.4996631444, -0.5755476356, -0.1784496009, -1.1043833494, 0.105357185, 0.0447117276, -0.3196634352, -0.5553743839, -0.2676566541, 0.2318012416, -0.2687035799, 0.2086493969, 0.0585759655, 0.7476860881, -0.2691363096, -0.1050506383, -0.2840383947, -1.1488125324, 0.8946129084, -0.5580087304, 0.0994199663, 0.3002855182, 0.3894505203, -0.300164938, -0.6673312187, -0.5323633552, -0.0513918288, 0.2132475376, 0.315651834, -0.1292948723, -0.0057418738, -0.1905960292, 0.2490134388, -0.3387588561, -0.2615365982, -0.6211479306, -0.3313294947, 0.3302156627, 0.5164917111, 0.5005579591, 0.0570717342, -0.7627492547, 0.1492601782, -0.4986000657, -0.2322205603, 0.2117777467, 0.3099897206, 0.2251718789, 0.1024909616, 0.0080523752, 0.5723475814, 0.0334725752, -0.163487792, 0.1914459467, -0.0636417493, -0.2143296301, 0.1149221808, 0.7565636039, 0.4970355928, 0.0082828747, -0.341135025, 0.0467436463, -0.1516419798, 0.4603971243, -0.5441252589, -0.4355996847, 0.2820705175, -0.5187141299, 0.0725973397, 0.0412568487, -0.7138305306, -0.0623471364, -0.0084062731, 0.59357512, -0.7616171837, -0.4094316959, 0.2083543092, -0.1945669204, 0.2405104041, 0.44540447, -0.8632760048, 0.4305766821, 0.3252616525, 0.8232780099, -0.399273634, -0.1848823875, -0.4939134717, 0.5086401105, -0.165941596, 0.7189170718, -0.6013778448, -0.6505587101, 0.0257057473, -0.1768060923, 0.2351137996, -0.9777835608, 0.221498847, -0.4447206855, 0.6653769612, 0.3647644222, -0.5305566192, -0.1423026174, 0.1964918375, -0.3359618485, 1.0151221752, 0.5301105976, -0.1090875268, 0.1785535961, -0.4794736505, -0.540294826, 0.3716192245, -0.1463995278, -0.3338484168, 0.0891394913, -0.0224937797, 0.2717221677, -0.0430247411, 0.3816183507, -0.127751708, -0.2346956134, 0.4164063036, -0.3887627423, 0.4174697995, 0.2137047946, 0.0673093349, 0.0718934387, -0.4312676787, 0.4485057294, -0.1079535112, -0.3215206861, -0.0463331155, -0.0064566061, -0.1217291877, 0.1096197441, 0.3152855933, -0.5888483524, 0.0111895613, -0.4177531004, 0.8263608217, 0.791896224, 0.0424388498, 0.3851707876, -0.652167201, 0.2740176618, 0.2934794426, 0.4084263146, -0.9752181768, -0.3221172988, -1.157017231, 0.1781302989, -0.1724275798, 0.4810798764, -0.3081809878, 0.5808971524, -0.153594166, -0.0587971061, -0.1772358865, 0.2745637894, 0.0028948816, 0.5000924468, 0.5747064948, -0.6204431057, -0.7807857394, -0.853567481, -0.0437583327, -0.4500044584, -0.3380950391, 0.4574741125, -0.0930911303, -0.2731157839, 1.2308613062, -0.6336277127, -0.1312025189, -0.282340616, -0.0254104454, -0.0610804372, 0.4262587428, 0.2520450056, -0.5053107738, -0.3719234169, -0.2014054656, -0.4868537784, 0.3492630124, -0.5910385251, -0.3753220737, 0.2126041502, 0.5986588597, -0.7222084403, 0.2250835747, 0.3017413616, -0.2229397148, 0.1998589933, -0.2382928878, 0.1178392917, -1.1916465759, -0.370654881, -0.6635591984, -0.363409251, -0.4888490736, -0.5323889852, 0.0832432285, -0.2768504322, -0.6085766554, 1.0083823204, -0.6450001001, 0.4076840878, -0.4866057932, 0.2696873844, -0.0130718565, 0.7037332058, -0.1685236394, 0.4694612026, 0.5485494733, -0.7239271402, 0.4080932736, 0.1368920803, -0.0392292589, 0.7987417579, -0.3104998171, 0.4320374727, -0.067736946, 0.1468020529, -1.1441552639, -0.178700909, 0.2373423427, -0.5237686038, 0.450271219, 0.0577824637, -0.1341236383, -0.315110147, -0.1938024759, 0.3494002819, 1.0025509596, -0.4640985429, 1.0834200382, 0.3955108821, -0.405241251, 0.0000388731, -0.522382617, 0.6392190456, -0.2847502232, -0.7760850191, 0.5201494694, -0.3104423285, -0.0747077689, -0.1383666396, -0.2416905463, -0.1392584741, -0.2164025158, 0.3874981403, 0.4602689445, -0.3541671634, 0.407497257, -0.042590145, -0.0051657883, -0.1085534096, -0.2805889845, 1.1225229502, 0.0052663046, -0.206897676, -0.4571522772, 0.4870010316, 0.4888921678, 0.0483825356, 0.6593329906, 0.4616732597, -0.1362354457, -0.3653096855, -1.0266616344, -0.3036589026, -0.5231356621, 0.3632020652, -0.1356978863, -0.9904914498, 0.5454399586, -0.2076337487, 0.0695886761, 0.2023160458, 0.5168756843, -0.3672975898, 0.6636921763, 0.4019493461, -0.0822066441, 0.7705997825, 0.266009897, 0.2802411914, -0.929779768, -0.3418625891, 0.0571911708, -0.4316585362, -0.0968418941, -0.402901113, -0.0228512697, 0.299513191, -0.4859974384, 0.1724928916, -0.4255430102, 0.6020871401, 0.4149381816, 0.3789676428, 0.2808896601, -0.1742859185, 0.3672060966, 0.0701296031, -0.5233949423, -0.6501220465, 0.9195976853, 0.1303748339, 1.0482347012, 0.0013428845, 0.7272703052, 0.3140991032, 0.2889287472, -0.5579238534, 0.7436192036, 0.2494941652, -0.372990042, -0.1320627332, -0.2794222832, -1.2114101648, 0.0386232138, -0.1153427288, -0.923605442, -0.4416509569, 0.3150224388, -0.637810111, 0.4069051445, -0.8877131939, 0.427280724, -0.4361535907, -0.3772742152, -0.2314175069, -0.8456825614, 0.3260252178, 0.2321458906, -0.2382128239, -0.3296997249, -0.0876392722, 0.4243305624, -0.2141805887, 0.9257095456, 0.1457581669, 0.1880103052, 0.5941264033, 0.255015403, 0.0679483712, 0.1897427589, 0.2525331676, -0.081484966, -0.224639833, -0.449699074, -0.7670099735, 0.7731169462, -0.5254101753, -0.9414615631, -0.1163261905, -0.5061782598, -0.3234370053, 0.033873722, -0.1104826406, 0.2138518989, -0.6354793906, 0.1327763945, 0.8000778556, -0.5184521675, 0.4936636984, 0.3816868067, -0.4742413461, -0.4524084628, 0.5864405632, -0.4313248992, 0.662759304, 0.3516622484, 0.121735923, 0.0968039334, -0.3036741912, -0.2675049305, 0.0327657051, -0.4278087914, -0.4401593506, -0.8994028568, -0.5391887426, -0.0709429756, -0.1638735086, -0.3822266757, -0.2921907008, -0.166351378, 0.1134345904, 0.4266423583, 0.3374579847, 0.2143386006, 0.2935224473, -1.0127111673, 0.3724584281, 0.5448766351, 0.2633444071, 0.1929574311, -0.3838423193, -0.1059772223, 0.2887262404, -0.7072286606, -0.5957790613, 0.2984942794, 0.380633533, 0.6094241738, 0.2289257348, -0.2129800171, 0.7709969282, -0.5538542867, 1.036213398, 0.5894382596, -0.7615950108, 0.7047977448, -0.2446564734, 0.6631623507, 0.3819600642, -0.2184816003, -0.8526903987, -0.6065915823, -0.7344064713, -1.052043438, 0.4309323728, 0.104550764, 0.9071288705, -0.4826166928, 0.4859104455, 0.273938328, 0.0312674791, -0.3498957455, -0.0995427668, -0.0418950729, -0.0849200264, 0.227913186, -0.2519183159, -0.1147011518, -0.0560711622, 0.2924161553, 0.1519518644, 0.3800927997, -0.2070527226, -0.0656443536, 0.0418809764, 0.3951989412, 0.416085273, 0.7111491561, -0.1773282588, 0.0709020346, 0.3431788087, -0.4080475271, -0.0252318922, -0.6034443974, 0.081139937, -0.0372769795, -0.011438692, 0.6293427348, 0.2441829592, -0.8946265578, 0.2674703002, -0.1040275171, 0.036326468, -0.5255900621, 0.6486680508, 0.5284155011, 0.2465455532, 0.6714041233, 0.205885157, -0.3200016916, -1.1849457026, 0.2624217272, 0.5040910244, -0.4452121556, -0.2608887255, 0.5695416927, 0.4252724946, -0.6908895373, 0.9198997021, 0.1611040682, -0.3572019041, 0.1703069359, 0.7272297144, 0.8342675567, -0.4842959046, 0.1726331711, 0.417283982, -0.3004935682, -0.2279180884, 0.2104606479, -0.2873818874, -0.7889390588, -0.0359207056, -0.4941028655, -0.3281241953, 0.171698615, -0.5293595195, 0.1040193588, -0.5499700904, -0.5023675561, -0.4676772058, -0.4060999155, -0.547121942, 0.1220065951, -0.0461220071, 0.4086765051, -0.2519055307, 0.5840623975, 0.0875245109, -0.2209694088, -0.1714481413, -0.0803650841, -0.2966941893, -0.9027455449, 0.3956446648, 0.1095613316, -0.4010951221, -0.3136418164, -0.479662329, -0.7435871363, 1.0760102272, 0.289154917, -0.4860032201, -0.2116539627, -0.1746156812, 0.4968012273, -0.3584258556, 0.099571228, 0.3770223856, -0.0656280592, 0.4491503537, -0.7658151984, -0.1343421042, -0.1204302162, 0.116597116, 0.6970916986, -0.8810415268, 0.8986542821, -0.3488313258, -0.8304234743, 0.4316979349, 0.9849054813, -0.0289442595, 0.0179090872, 0.2090897858, 0.2133698761, 0.8825622201, -0.0430319458, 0.3921696246, -0.2881049514, -0.1276947409, 1.5991439819, -0.3539145887, 0.8475795388, 0.502725184, -0.1054659486, 0.6719917655, 0.1594692767, 0.1869607866, 0.2675337195, 0.2290336192, -0.5053656697, -0.2741725445, 0.1989715993, -0.2352989763, 0.3415248394, 0.4173365235, -0.3289535344, -0.1411184072, 0.1694741845, 0.1267490983, 0.1931415051, -0.1120098606, 0.807956636, 0.0181598682, -0.7722566724, 0.4543949068, -0.3572963476, 0.9159650207, -0.7121492624, -0.0332977362, -0.4675281942, 0.2661786675, -0.0991276726, -0.9407627583, 0.3700256944, -0.3149484098, -0.0555509403, -0.3543777764, 0.6445439458, -0.7493478656, -0.1732422411, 0.1700991243, 0.8221868277, 0.0425467193, 0.087109603, -0.41367957, 0.1221640632, -0.0277933571, 0.0192142576, 0.3796087801, 0.4400422871, 0.0535120256, 0.8845340014, 0.3838376403, 0.0139133465, -0.0050448296, 0.0356674269, 0.7106118202, -1.096339345, -0.3472223878, -1.0184592009, 0.3830669522, -0.2657726109, -0.4889950454, 0.6726712584, 0.8336269855, 0.7182824016, 0.1326697022, 0.8503508568, 0.1389517039, 0.5688454509, -0.6150789261, 0.5956665277, -0.1412618011, 0.0305904709, 0.0678105876, -0.7667586803, -0.1707507372, 0.5276371241, 0.2378726751, 0.2539251745, 0.5767408609, 0.6950133443, -0.0616919324, 0.119103156, 0.5161221027, 0.136995241, 0.5037133694, 0.9756746888, 1.1655085087, -0.2388812751, 0.7819052339, 0.3708106577, 0.0554772168, -0.0440533943, -0.5399278402, -0.9733929634, -0.7573443055, -0.1984378994, -0.3039672375, 0.0946602821, 0.7532736659, 0.7436693311, -0.4161642492, -0.4100885391, 0.2312068343, -0.1773678809, 0.0159657244, -0.2525409162, 0.1307659149, -0.5815215707, -0.582899332, 0.310225755, 0.9549391866, 0.2712514102, -0.4527748823, -0.0453521721, 0.0227950811, 0.2739174962, 0.8208656907, 0.5056317449, -0.7518507838, -0.4256176949, 0.1528608352, -0.117774412, 0.8772396445, 0.9005767107, -1.0319205523, 0.8016535044, 0.1543697566, 0.3978180885, 0.8364858627, -0.0498666726, 0.9546619058, -0.3940795362, 0.0622800887, 0.5862840414, 0.1293947101, 0.4934798181, -0.1698465943, 0.18141976, -0.2226365358, -0.4292956591, -0.5340993404, 0.4887676239, -1.070515871, -0.4708028436, 0.8378185034, 0.243513912, -0.2100635618, -0.4463769794, -0.6381022334, -0.0129166916, -0.5890597701, 0.9921232462, 0.8872358799, -0.7044913173, -0.1891020387, -0.3201652169, 0.3778715134, 0.2504460216, -0.7966048121, 0.0443922319, 0.5020419359, 0.3604129851, 0.1613311619, 1.0195055008, -0.1093978509, 0.2281504422, 0.0811174437, -0.138714835, 0.2069295496, -0.17491965, 0.42861709, 0.1805617809, -0.0993131474, -0.1255034804 ]
http://arxiv.org/abs/2403.01432v2
http://arxiv.org/pdf/2403.01432v2
Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledge
2024-03-03T08:07:55
2024-03-07T11:24:09
Heydar Soudani, Evangelos Kanoulas, Faegheh Hasibi
cs.CL
cs.CL
Large language models (LLMs) memorize a vast amount of factual knowledge, exhibiting strong performance across diverse tasks and domains. However, it has been observed that the performance diminishes when dealing with less-popular or low-frequency concepts and entities, for example in domain specific applications. The two prominent approaches to enhance the performance of LLMs on low-frequent topics are: Retrieval Augmented Generation (RAG) and fine-tuning (FT) over synthetic data. This paper explores and evaluates the impact of RAG and FT on customizing LLMs in handling low-frequency entities on question answering task. Our findings indicate that FT significantly boosts the performance across entities of varying popularity, especially in the most and least popular groups, while RAG surpasses other methods. Additionally, the success of both RAG and FT approaches is amplified by advancements in retrieval and data augmentation techniques. We release our data and code at https://github.com/informagi/RAGvsFT.
[ -0.9747627974, -1.1961870193, 0.5276532769, -0.2130381614, -0.1554415524, 0.3600243032, -0.4372876287, -0.6797919869, 0.2974179983, 0.6424896717, -0.3964816332, -0.2796519101, -0.3254663944, 0.1958042085, -0.2558958232, 1.0565037727, 0.14044936, -0.1810984462, -0.3966743946, -0.2711043358, -0.5822923779, -0.4359326363, -0.7514545321, -0.3523335159, 0.6015805006, 0.6574254036, 0.6589705944, 0.7249471545, 0.500223577, 0.2853327394, -0.3275723159, 0.8273714781, -0.9349777102, 0.2296705395, -0.3386332393, -0.391153723, -0.4517278075, -0.2232127786, 0.4113312364, 0.8792336583, -0.1381726563, 0.4259036779, -0.0096443435, 0.7999557257, -0.7041583657, -0.2086113095, -1.1477066278, -0.39699018, -0.272539407, -0.4779581428, -0.1727072895, -0.2968564332, 0.0159700271, -0.8736172318, 0.4960304499, 0.3303830922, 0.8821433783, 0.5156559944, -0.1268248409, -0.2825966775, -1.0246064663, 0.886052072, -0.4114203453, 0.4863010943, 0.3686423004, 0.2300486565, -0.1778162569, -0.59610641, -0.5631978512, -0.0833953321, -0.0540759452, -0.0816021785, -0.1069391295, -0.002306863, 0.4392411411, 0.5946636796, -0.2736619115, 0.1032181829, -0.3984558582, 0.0044836956, 0.5909039974, 0.2610791326, 0.027426729, -0.2453624755, -0.1848785877, 0.1197899878, -0.8939079642, -0.0894126371, 0.1597167403, 0.4652136862, 0.1782401949, 0.6925750375, -0.5996909142, 0.8809433579, 0.4043833613, -0.1248796955, 0.1391631514, -0.3673492372, -0.2835772932, -0.2011906952, 0.2400425076, 0.3240525126, 0.3248106837, -0.2471945584, -0.4184427559, -0.3465124667, 0.1777497381, -0.6848113537, 0.0364189297, -0.2101366669, -0.3049408197, 0.0189321712, -0.2334003747, -0.7165292501, -0.5270503759, -0.8462216258, 0.461305052, -0.3954338431, 0.0969889387, -0.0307281371, -0.1466596425, 0.1281351447, 0.6359272599, -0.9019731879, 0.3353763819, 1.0537593365, 0.681656599, -0.3281422257, 0.1239778623, -0.7404107451, 0.1116437465, -0.3661975861, 0.9857013226, -0.7397475243, -0.3581680357, -0.2414665818, -0.2083248645, -0.0735882074, -0.8941708207, 0.3803266585, -0.9843699336, 0.0077355294, -0.4520662129, -0.7158869505, 0.0877120569, 0.201398924, -0.6519941092, 1.1753274202, 0.2305294722, -0.5775096416, 0.4659781158, -0.3888544142, -0.4725773633, 0.0899141207, -0.0464029275, -0.2214650065, 0.3003902435, 0.1578243822, 0.3734982312, -0.5903096795, -0.1036895365, -0.3460979462, -0.7052687407, 0.1929628253, -0.2842965126, 0.0720598325, 0.580452323, 0.1281602979, -0.2880526483, -0.9112098217, 0.0886595398, -0.1441497058, -0.6113266945, -0.6754490733, -0.0104130423, -0.1193507686, -0.0848698914, 0.2789399326, -0.4263655245, 0.1869170368, -0.8002379537, 0.1899098754, 0.5418138504, 0.532581687, 0.6595155001, -0.7855423093, 0.4223660827, -0.131454289, -0.1921728104, 0.220812887, -0.3716794848, -0.7169135809, -0.0637913644, 0.414914459, 0.458406806, -1.1189479828, -0.1642803699, -0.3452112079, -0.5236631632, -0.7666430473, 0.5569645762, 0.3264352083, 0.7347446084, 0.5922147036, -0.0011056997, -0.6440592408, -0.9157966375, -0.5393758416, 0.0790338293, -0.0874372423, 0.8230947852, 0.1325936317, -0.2003399134, 0.900241971, -0.669539988, -0.1887295991, -0.314026624, -0.0646909773, 0.2503438294, 0.4082459807, 0.5842837095, -0.7777190804, -0.6737260818, 0.0779825747, -0.0153981932, -0.0343094505, 0.1055871695, -0.1470158398, 0.5685025454, 0.4757690728, -0.5648589134, 0.1246474236, 0.2819261551, 0.0930067748, 0.166723296, -0.0803611651, 0.425544709, -1.0380398035, 0.0173480771, -0.0577116311, -0.2276352197, -0.8675354123, 0.0248309243, -0.1439637542, 0.1934408844, -0.4450923502, 0.7248978615, -0.3134345114, 0.0631876662, -0.302857995, 0.2444965392, 0.0905014575, 0.2986878455, -0.158383891, 1.172917366, 0.0758003369, -0.988666594, 0.0481272414, 0.2236384749, -0.4890810251, 0.3316666186, -0.6770626307, 0.2581713796, -0.2984499633, -0.3300838768, -0.8095923662, -0.4170431793, -0.1594846547, -0.4265787899, 0.4685123265, -0.369340688, -0.6029971242, -0.0238106418, -0.2871110141, 0.2002182901, 0.6726910472, -0.4321312904, 0.3838927746, 0.4426043034, -0.0421223417, -0.4225510955, -0.5917242169, -0.3189570904, -0.4490619302, -0.6020022631, 0.3673205376, -0.0836534947, -0.4539949, -0.1978742778, -0.2401261777, -0.1102272123, 0.2629151344, -0.0359420776, 0.1989603639, -0.4715716243, 0.4432017505, 0.0757581666, 0.0308757275, -0.4521249533, 0.0314687267, 0.6119486094, -0.0914856195, -0.1980107874, 0.1610698402, 0.1665249467, 0.2807894647, -0.2513937652, 0.8736639619, 0.5555677414, -0.2914308608, -0.4208620787, -0.8813093305, -0.2416210324, -0.5319653153, 0.1188033074, -0.452350527, -1.188362956, 0.4119823873, -0.2502304614, -0.0007541048, 0.4820152521, 0.6534863114, -0.2999178171, 0.946182549, 0.5753124356, 0.0250621177, 0.5890985131, -0.1088467762, 0.0135980565, -0.917604804, 0.1458425671, -0.5953718424, -0.3539092541, -0.8650327921, -0.5515191555, 0.4575334489, 0.4145846665, -0.1889693141, 0.0931063741, -0.5578629971, 0.5898869038, 0.6138210297, 0.1008214355, 0.6148158908, 0.3177926242, 0.2695433497, -0.0761936009, -0.7577682137, -0.4605102837, 1.1116353273, 0.0680409372, 0.896767199, 0.148724854, 0.7142288089, 0.0825740695, 0.2334278822, -0.6815931797, 0.4693131447, -0.5973406434, -0.6999121904, -0.3728631139, -0.5295260549, -1.0193192959, 0.0360070169, -0.4026280642, -0.4456731677, 0.2641534805, 0.4272361696, -0.4744847119, 0.1807270497, -0.8015284538, 0.3277466893, 0.163156867, -0.2880057693, -0.2819648087, -0.2292689979, 0.3311759233, -0.2414805889, 0.1177345216, -0.0644948781, -0.1598903239, 0.5578997731, -0.2587428391, 0.5299384594, -0.1593532711, 0.1297029704, 0.4084244967, -0.0271518081, 0.7340903282, 0.3019257188, -0.3511604965, -0.2716056406, 0.057289537, -0.2285778672, -0.7412023544, 0.964594841, -0.7070602179, -0.8853929639, 0.0908477306, -0.6252746582, -0.6730160117, 0.1299742311, 0.1912273616, 0.3212625384, -0.0102204001, 0.4690670967, 1.1407231092, -0.2219970822, 0.0921185166, 0.7040554881, -0.0775513127, -0.3787950873, 1.1128150225, 0.3652582765, 0.5019850731, 0.4361847639, -0.0173614863, -0.044644054, -0.7454111576, -0.3917422891, 0.369767338, -0.6333810687, -0.3638390601, -0.6853766441, -0.1550820321, -0.3669953346, -0.0728394091, -0.3563030362, -0.7627447248, -0.5108062625, 0.0810096338, 0.9019585252, 0.5709702373, 0.0684513897, 0.0947381556, -0.7503762245, 0.665071249, 0.2635619044, 0.5148237944, -0.1303810626, -0.6063172221, -0.3499721289, 0.1221333519, -0.1069869474, -0.4398462772, 0.1124412864, 0.3494973481, 0.4728500545, 0.0060105058, 0.1610673517, 1.0104398727, -0.4973164201, 0.5377406478, -0.3781939149, -0.5296593308, 0.3447456956, -0.4208316505, 0.1732377261, 0.9221046567, 0.2283247113, -0.4905282855, -0.4496450126, -0.504793942, -0.8446239233, 0.7147548199, 0.0357280672, 0.2640174925, 0.0092234164, 0.7421936989, 0.1573148072, 0.4894105494, -0.0496540144, -0.4965869486, 0.1702564806, -0.0804361999, -0.1744405925, -0.2206754237, -0.0818892866, -0.313912034, 0.6885755658, -0.1356867999, 0.1910464913, 0.1667509079, -0.2166010588, -0.3786423206, 0.4038651884, 0.7203068137, 0.589186132, -0.1967620999, -0.0784795061, 0.6020894647, -0.3935258687, -0.1692241132, 0.1667930782, -0.6569619179, -0.009849349, 0.1993933469, 0.8594715595, 0.0780384541, -0.5351019502, -0.0702731833, 0.1946323216, -0.1150165424, -0.1388959289, 0.5118771195, 0.1198258325, 0.2530540526, 0.3749408722, 0.2066791952, 0.1349250972, -0.5405697823, 0.1390432715, 0.6041423082, -0.0381118357, -0.0812468454, 0.5180469155, -0.0258217063, -0.1373059154, 0.2048690021, -0.1820332855, -0.1571862847, 0.5383102298, 0.3256960511, 0.3844851255, 0.0601808354, 0.0653172955, 0.274938792, 0.2445461154, 0.025901353, 0.3801527619, -0.0681996495, -0.6523734331, -0.6235886216, -0.9018222094, -0.3745551705, 0.3213840723, -0.5452234745, 0.2827545404, -0.4216584265, -0.1307911724, 0.0988174975, 0.3451178372, -0.7835886478, 0.2454219013, -0.1010065749, 0.8842915297, -0.3475391269, 0.735078156, 1.010994792, -0.3453937173, -0.8476291895, -0.0193607993, -0.2446169704, -0.7641078234, 0.5979332328, -0.4101454616, -0.022837162, 0.2964541912, -0.3850613534, -1.2756999731, 1.1014182568, 0.3139337301, -0.5372881293, 0.0045361123, 0.2918897867, 0.8758589029, -0.2417293638, -0.0583151504, 0.7765600085, 0.4703241289, 0.2404842079, -0.9506033659, -0.1167076379, 0.074247472, 0.1516426355, 0.4240792394, -0.7351524234, 0.7827194929, -0.0485430919, -0.3605360985, 0.1261138171, 0.5828027725, 0.4268918633, 0.5259262323, 0.4602815211, 0.4534273744, 0.9038284421, -0.2123811841, 1.1007368565, -0.3680329323, 0.2328419238, 1.1134884357, -0.096813485, 0.8245714307, 0.5021576881, -0.0968281329, 0.0511175133, 0.5204973817, 0.0417412892, 0.5160694718, 0.0715965405, -0.0450071506, -0.3809709549, -0.2375668585, -0.3418335915, 0.2304876894, 0.5120510459, -0.144328475, -0.1842333078, 0.1645187289, -0.0504369326, 0.2439650744, -0.5966984034, 1.1453758478, 0.1237061843, -0.8290073276, 1.0187407732, 0.0595803484, 0.6322159767, -0.1793820113, -0.053013932, -0.4390488863, 0.0750071704, -0.287620753, -0.669536829, 0.5169605017, 0.1434503049, -0.4946615398, -0.1578342617, 1.0161727667, -0.3919904828, -0.2594738007, -0.0302355811, 0.6812689304, -0.1728031635, 0.0552813634, -0.5333940983, -0.0090500964, -0.0325643867, -0.4133915603, 0.4543811679, 0.5643517375, -0.1572873741, 0.7012399435, 0.7717967033, 0.1922271997, 0.2087329179, 0.1521057338, 1.0911647081, -0.4398925304, -0.0004134563, -0.5060494542, 0.2603256702, 0.0301741548, -0.1813230515, 0.9217232466, 0.608093679, 0.9058377147, -0.0929052234, 0.535292387, 0.0167623814, 1.2630308867, -0.6730024815, 0.5943641663, -0.8192034364, 0.5731630921, -0.2361537367, -0.9971703291, -0.1038557291, 0.0872038007, -0.4744826555, 0.1414546669, 0.2458705306, 1.0052011013, -0.1451913118, -0.1321448982, 0.3118112385, 0.3330093622, 0.0739564151, 0.2970952392, 0.9041560888, -0.1926834583, 0.5501796007, -0.3614409864, 0.1790840626, -0.273688674, -0.3992632329, -0.8630322814, -0.4548010826, -0.1681866646, -0.1651024222, 0.045543883, 0.924626112, 0.4626109302, -0.8735212088, 0.2107908726, -0.0356292427, 0.2971149981, 0.0976504162, -0.2875202596, 0.1231078804, -0.5310258865, -0.8268949986, 0.4107495844, 0.0214481018, 0.0362013578, 0.0515929349, 0.0140690645, -0.1713631302, 0.4225250781, 0.7108091116, 0.3033362925, -0.636790216, -0.2830089629, 0.3482437432, -0.1360858828, 0.0786766559, 0.6777250767, -0.9753926396, 0.1547245085, 0.749931097, 0.8490766287, 0.5942388177, 0.5726183057, 0.2872392237, -0.9439770579, -0.1424906999, 0.2160881907, 0.0386426225, 0.3268720508, -0.4988628924, 0.4869072437, 0.1145436317, -0.6963413954, -1.0499562025, 0.21038948, -0.8050498366, -0.3282576203, 1.1811492443, 0.4031624794, -0.1138249934, -0.3147408366, -0.1143434271, 0.1237330437, -0.4388802648, 0.702942729, 0.5893665552, -0.2793738246, -0.0530708022, -0.8511708379, 0.9368237853, 0.4818091393, -0.6119596958, -0.0743566751, 0.5328834653, 0.4706450701, 0.2444780767, 0.4605151117, 0.2322764546, 0.3320043087, -0.4712624252, -0.405218035, -0.2285251021, -0.1832229346, -0.1810056269, 0.2118476182, 0.3746825755, 0.2950413227 ]
http://arxiv.org/abs/2403.01411v1
http://arxiv.org/pdf/2403.01411v1
OVEL: Large Language Model as Memory Manager for Online Video Entity Linking
2024-03-03T06:47:51
2024-03-03T06:47:51
Haiquan Zhao, Xuwu Wang, Shisong Chen, Zhixu Li, Xin Zheng, Yanghua Xiao
cs.CL
cs.CL
In recent years, multi-modal entity linking (MEL) has garnered increasing attention in the research community due to its significance in numerous multi-modal applications. Video, as a popular means of information transmission, has become prevalent in people's daily lives. However, most existing MEL methods primarily focus on linking textual and visual mentions or offline videos's mentions to entities in multi-modal knowledge bases, with limited efforts devoted to linking mentions within online video content. In this paper, we propose a task called Online Video Entity Linking OVEL, aiming to establish connections between mentions in online videos and a knowledge base with high accuracy and timeliness. To facilitate the research works of OVEL, we specifically concentrate on live delivery scenarios and construct a live delivery entity linking dataset called LIVE. Besides, we propose an evaluation metric that considers timelessness, robustness, and accuracy. Furthermore, to effectively handle OVEL task, we leverage a memory block managed by a Large Language Model and retrieve entity candidates from the knowledge base to augment LLM performance on memory management. The experimental results prove the effectiveness and efficiency of our method.
[ -0.6477997899, -1.0395047665, 0.3543457687, 0.0902175903, -0.3116582632, -0.076051414, -0.5214583874, -0.5981069207, 0.2750379741, 0.2900227308, -0.2939622104, -0.3621869981, -0.2911017537, -0.3485263884, -0.4443852603, 0.7057213783, -0.3709993958, 0.0591420382, -0.0973850489, -0.4116205275, -0.313387692, -0.1655065119, -0.7638030648, 0.2515693903, 0.4745116532, 0.0011212559, 0.5865852237, 0.9166972041, 0.5903352499, 0.294228524, 0.167280376, 0.4577236772, -0.5073558092, 0.5333656669, -0.3329467773, -0.206496045, -0.8215873837, -0.732486546, 0.8694575429, 0.3030422926, -0.2495476902, 0.3417077661, -0.4083401859, 0.3255851269, -0.9281213284, 0.187397927, -0.8735660315, 0.1104171649, -0.2845228016, -0.1419969499, -0.1850777417, -0.3874435425, -0.0312003233, -0.67591995, 0.1228929609, 0.4126292765, 0.677488029, 0.3403403759, -0.2447439432, -0.1750488877, -0.9527513385, 0.5216388106, -0.5400879979, 0.6576660872, 0.4461471736, 0.7397558093, 0.1299099177, -0.3946856558, -0.6791532636, -0.1542354077, 0.5108844638, -0.2684639394, 0.2399052233, 0.0729608312, 0.32630229, 0.3704478741, -0.1764468849, -0.2100797445, -0.3140568435, -0.1273424476, 0.3369506001, 0.1353928596, 0.519425571, -0.0139174191, -0.5532582998, 0.3331349194, -0.746625185, -0.5601534843, 0.2173922062, 0.176232934, -0.0643512011, 0.8917688131, 0.013101439, 0.8706151843, -0.2104000598, -0.524838388, 0.0923484191, -0.3241839111, -0.3577567637, 0.2626042366, 0.6979131699, 0.5491299629, 0.3221517205, -0.1637718379, -0.1366423666, 0.1450261772, 0.2934218943, -0.7870611548, -0.1468982995, -0.1513320357, -0.3347170949, 0.2788016498, 0.1038849652, -0.8896797895, -0.3716757894, -0.008678318, 0.6274942756, -0.6534310579, -0.4000273943, -0.0999071375, 0.3519880474, -0.1325901002, 0.5495049953, -0.7354519367, 0.2921790183, 0.3847617507, 0.8289248347, -0.2333554924, -0.3647333384, -1.0413758755, 0.8519843221, 0.1868918091, 0.5647488236, -0.4410485625, 0.0678367764, 0.5247383714, -0.0849465653, -0.1194778681, -0.4791339338, 0.1905205846, -0.931894362, -0.1536195576, -0.2315525562, -0.5850815773, -0.180405736, 0.5784118772, -0.9322735071, 0.9705070853, -0.173338607, -0.6252663136, 0.4733637571, -0.4885455668, -0.4170731604, -0.0896322131, -0.2670072615, -0.3385744691, -0.2244939953, 0.1002618894, 0.5592834353, -0.3246019185, 0.5781978965, -0.4901609421, -0.0949751362, 0.0979480669, -0.2640319169, 0.1963013262, 0.2354908586, -0.2786235809, -0.0416555591, -0.9637559652, -0.5064594746, -0.0208834577, -0.5347729325, -0.4401261806, 0.0354811698, -0.0183208156, 0.330022186, -0.1240008324, -0.4766700566, 0.3009670675, -0.0307656154, 0.4823395312, 0.4778345227, 0.1319522113, 0.5658482909, 0.0321062766, 0.4039314091, 0.0821394175, 0.2637006044, -0.5365561247, -0.485176146, -0.857707262, -0.2110522538, 0.0087433504, 0.2533593178, -0.7725260258, -0.2234468311, -0.4918104708, -0.0466760211, -0.45062536, 0.4472382069, 0.3140152693, 0.5406817794, 0.5605567694, -0.1610142291, -0.482874155, -0.5199882388, 0.0328469388, -0.2029643506, 0.0061451746, 0.5107371211, 0.3396171033, -0.1418886781, 0.8894944787, -0.6682741642, -0.7364397049, 0.1222522408, -0.0552967191, -0.2788777053, 0.030050857, 0.5407446623, -0.917773962, -0.4192855358, -0.107954599, -0.8424835205, 0.4621832669, 0.0652486831, -0.1574146003, 0.2560580969, 0.4569486082, -0.7111960649, 0.2131868303, 0.402392149, 0.0225208513, 0.1362594366, -0.3627617657, 0.395506829, -1.0542019606, -0.0406439863, 0.0705240443, -0.3278230131, -0.0920621753, 0.0512065031, -0.0589737445, -0.1006757393, -0.9220664501, 0.6931039095, -0.6858187318, -0.4712315798, 0.137252003, 0.5754302144, -0.2363166362, 0.5255992413, 0.0482903011, 0.5422589779, 0.6819191575, -0.9702774286, 0.8459755182, 0.231629476, -0.4471097887, 0.8406361938, -0.0930264667, -0.2274664789, -0.2323352993, -0.0716755688, -0.8847270608, -0.3948295414, 0.3024258316, -0.2539986372, 0.3538713157, -0.2464802116, -0.5083589554, -0.0586546212, -0.0597676225, 0.5338911414, 0.2350622714, -0.3881977797, 0.9637151957, 0.6365935802, -0.0592188463, -0.3545681834, -0.5667933822, -0.0501937754, -0.3297956884, -0.6663285494, 0.4575769603, -0.0779188275, -0.3125861287, 0.3670506775, -0.1229887083, -0.2895855904, -0.282212168, 0.3132880926, 0.3123672903, -0.4189792573, 0.3765030801, -0.2406817377, 0.111600183, 0.0879092962, -0.1726257652, 0.3776682913, 0.4072645605, -0.4877689779, 0.1212583706, 0.4111155272, 0.5556521416, -0.3604226112, 1.2082121372, 0.7843392491, -0.7022126913, -0.0458381027, -1.0228526592, 0.0214373097, -0.3837480843, 0.34831357, -0.1711414754, -0.8511377573, 0.671644628, -0.2013979852, -0.0953563899, 0.1700167358, 0.4198610187, -0.0519449562, 0.6707981825, 0.4492748976, -0.1689776331, 0.5933043957, -0.1740708202, 0.1178296581, -0.8523608446, -0.6046359539, -0.2096922994, 0.053314615, 0.0476045199, -0.8726481795, 0.4708732069, 0.3143225908, -0.5762341619, 0.5103477836, 0.0931893736, 0.1395028383, 0.1790852845, 0.0195560735, 0.5730675459, 0.2342154235, -0.2512949705, 0.0396203026, -0.6964361072, -0.1545202732, 0.7349008918, 0.3923362792, 1.0343357325, 0.4315621555, 0.0760093853, 0.4062947631, 0.1177348271, -0.4937238991, 0.7708958387, 0.4057267308, -0.7083487511, -0.3208976984, -0.2032109946, -0.5764795542, -0.1426568478, -0.4614400268, -0.7858869433, -0.4734196365, 0.4578621686, -0.3839730918, 0.8152598143, -0.2253158391, 0.8048759103, -0.4460299015, -0.7444526553, -0.3627429605, -0.7596385479, 0.3710783124, 0.057986334, 0.488622427, 0.0319038704, -0.2356108129, 0.5326679945, -0.4110657573, 0.5381734967, 0.011177294, -0.1312100887, 0.6069709659, 0.1636437327, 0.7187716365, 0.1865527779, 0.093197234, -0.0884063989, -0.4791378677, -0.0390912592, -0.4593061805, 1.1705439091, -0.579757154, -0.2288024276, -0.1951515377, -0.1540555358, -0.2416613847, 0.1319547445, -0.1483363211, 0.569993794, -0.2772699893, 0.1218254268, 1.2168812752, -0.4216173887, 0.7090248466, 0.500490725, -0.5043689609, -0.6671087742, 0.9564540386, 0.0544475242, 0.3575361073, 0.8153857589, -0.360019058, -0.3015472889, -0.3648281693, -0.9093119502, 0.3152466118, -0.7810257077, -0.3652724922, -0.976967752, -0.0717919916, -0.3045226336, -0.0383291207, -0.6175912619, 0.1689036787, -0.1636976302, -0.1824815124, 0.6951853037, 0.3064451218, 0.3874104321, 0.1411143392, -0.9900935292, 0.6847972274, 0.493124634, 0.7867816687, 0.3947824836, -0.2147818059, -0.5314928889, -0.1818156093, -0.0722078606, -1.0601555109, 0.2211426944, 0.4432019293, 0.6260339022, 0.8192408085, -0.106184572, 0.8126298785, -0.7371023297, 0.7347280979, 0.2684556544, -0.6800216436, 0.5408833623, -0.6420215964, -0.1081281379, 0.3353345096, 0.5923418999, -0.3375314176, -0.0856286362, -0.3202367425, -0.9863330126, 0.3765063882, 0.0453126244, -0.0267471354, -0.2780648768, 0.1014842987, -0.0331098363, 0.553617239, -0.4890471399, -0.4686850309, 0.0880302861, 0.3456179798, 0.1039167494, -0.1900082976, 0.0381316431, 0.0113209607, 0.6219163537, 0.0302400552, 0.4185988009, -0.0889893621, -0.502325058, -0.4452649355, 0.1767330915, 0.5911194086, 0.7671836615, -0.3263170421, 0.1783884317, 0.4540106058, -0.3844603896, 0.0894766375, -0.1200559512, -0.180772841, 0.0791598856, 0.1769459248, 0.9151621461, 0.6989008784, -0.8444698453, 0.5117961764, 0.3684805632, 0.312060535, -0.7801195383, 0.0340767242, 0.1717543602, 0.3148646653, 0.3279393315, 0.126538828, -0.0871591046, -0.9348111153, 0.0629550815, 0.3161612451, -0.4427333176, -0.2167053819, 1.1358731985, 0.3516007364, -0.4812105894, 0.5460580587, -0.1513207257, -0.3661612868, 0.1885176301, 0.4469366074, 0.5910009742, -0.3138763309, 0.078508608, 0.5042229891, -0.0663870201, -0.5037617087, 0.1661883891, -0.1033940986, -0.545617938, -0.6881831288, -0.6566607952, -0.1033914089, 0.0724561289, -0.7058392167, 0.5579618216, -0.2391928583, -0.2455649227, -0.2471870631, -0.4273155034, -0.7811154127, 0.4019880593, 0.3101986647, 1.0027040243, -0.7192649841, 1.0367842913, 0.8703212738, -0.7802936435, -0.7723543048, -0.4001556337, -0.0883572772, -0.601585269, 0.5846886039, -0.2396456003, -0.1350223422, -0.0089031039, 0.094361037, -0.7932651043, 1.2378853559, 0.4453189373, -0.6209287047, -0.2761782408, -0.1075412184, 0.3454088271, -0.3943199217, 0.4538988769, -0.1289754808, 0.4292243123, 0.4003441632, -0.9077754021, 0.0485555641, 0.0658600926, -0.1110836044, 0.6618720889, -0.7098662853, 0.7258777618, -0.2989971638, -0.0369214676, -0.2540677786, 0.9138087034, 0.1891710907, 0.4114405513, 0.4139086008, 0.5822510719, 0.338211, 0.3877871633, 0.6933426857, -0.1955186129, 0.2900403738, 1.3428561687, -0.4186472893, 1.048281312, 0.5680433512, -0.1710822284, 0.2977962792, 0.1527715772, -0.0879388526, 0.5556415319, 0.1012540907, -0.5300589204, -0.419793427, -0.2506664693, -0.5576794744, 0.0411267802, 0.2685823739, -0.6434185505, -0.3391923606, 0.2934922278, 0.0195770934, 0.1672438383, -0.7706364989, 0.5221253037, -0.0375820473, -0.7393992543, 0.1143448651, 0.0310417153, 0.5246424675, -0.6061386466, -0.1826316416, 0.0086064152, 0.2984934151, -0.1394758075, -0.5015689135, 0.3220928311, 0.2098991424, -0.1399791837, 0.0183851011, 0.7200620174, -0.7893291712, -0.219284296, 0.4641595483, 0.3556262553, 0.1044390127, -0.1483441442, -0.373971045, 0.4856026173, -0.3564275205, -0.1192042306, 0.6484864354, 0.4115167856, -0.2624842227, 0.9714425802, 0.2620669603, 0.2593850791, 0.2955042124, -0.0082961367, 0.9958606362, -0.7135135531, -0.3656288087, -0.9687588811, 0.4111278951, -0.0722464398, -0.0710390583, 0.9789868593, 0.9349896908, 1.0067294836, -0.3415083587, 0.6627887487, -0.2142723054, 0.2690405846, -0.5665674806, 0.3889455497, -0.3770580292, 0.2633329332, -0.5647429824, -1.3250813484, -0.2106777281, 0.4621536136, -0.0587647073, -0.0478468612, 0.6681406498, 0.7366928458, -0.5006006956, -0.194553718, 0.4194319248, 0.2180391997, -0.0216428991, 0.5797945857, 0.7143996954, -0.4550604224, 0.8941887021, 0.0774189532, 0.277112931, -0.5309789777, -1.3405944109, -1.249251008, -0.5662094355, -0.6071113944, -0.3707847297, 0.2202337831, 1.130825758, 0.6999892592, -0.5579701662, 0.0236774329, 0.2552882433, -0.1316263974, -0.100933373, -0.1142691895, 0.2994780242, 0.3955466747, -0.5636485815, 0.1637792438, 0.6735836267, -0.2032321095, -0.7461237907, -0.1602185369, -0.4374159873, -0.1902821809, 0.5488126874, 0.3838502765, -0.7021210194, -0.3358179927, 0.0962121114, -0.0100187417, -0.010615197, 0.9359760284, -0.6259619594, 0.5936875939, 0.6181829572, 0.6321973801, 0.9067103863, 0.0115643069, 0.5116801858, -0.5069648027, 0.0208281614, 0.0227805749, 0.4379454255, 0.4487605393, -0.1483236402, 0.2958475649, 0.1881426871, -0.3209389448, -0.72224617, 0.1673346758, -1.1793658733, 0.1654474735, 1.2743418217, -0.4743337929, -0.2623651028, -0.063593857, -0.2493642718, 0.5857966542, -0.5615059733, 0.6965799332, 0.4576425254, 0.3129395843, -0.5094224215, -1.1071815491, 0.3842586279, -0.1703969538, -0.7037281394, -0.3602755666, 0.6224639416, 0.3839050829, 0.1120536029, 0.6523691416, 0.1487531364, -0.0184058845, -0.1025759578, 0.0101103345, -0.5239185095, -0.5857918859, 0.2335528433, 0.6213790178, -0.0478236414, -0.3206099272 ]
http://arxiv.org/abs/2403.01404v1
http://arxiv.org/pdf/2403.01404v1
What Is Missing in Multilingual Visual Reasoning and How to Fix It
2024-03-03T05:45:27
2024-03-03T05:45:27
Yueqi Song, Simran Khanuja, Graham Neubig
cs.CL
cs.CL
NLP models today strive for supporting multiple languages and modalities, improving accessibility for diverse users. In this paper, we evaluate their multilingual, multimodal capabilities by testing on a visual reasoning task. We observe that proprietary systems like GPT-4V obtain the best performance on this task now, but open models lag in comparison. Surprisingly, GPT-4V exhibits similar performance between English and other languages, indicating the potential for equitable system development across languages. Our analysis on model failures reveals three key aspects that make this task challenging: multilinguality, complex reasoning, and multimodality. To address these challenges, we propose three targeted interventions including a translate-test approach to tackle multilinguality, a visual programming approach to break down complex reasoning, and a novel method that leverages image captioning to address multimodality. Our interventions achieve the best open performance on this task in a zero-shot setting, boosting open model LLaVA by 13.4%, while also minorly improving GPT-4V's performance.
[ -0.2175542116, -0.6105255485, 0.6104320884, 0.3607520759, -0.08454144, 0.0229596887, -0.2009323239, -0.5794765949, -0.2488647252, 0.2440785915, -0.4587601721, -0.2997719944, -0.5575600266, 0.2584312558, -0.0232802201, 0.6687130928, -0.4977659881, 0.1637093872, -0.3197899759, -0.4342173636, -0.8481036425, -0.3723193705, -0.4926425815, -0.0876592398, 0.4973110557, 0.3837689459, 0.9256786108, 0.1415355951, 0.6927285194, 0.3018425703, 0.2163212746, 0.3833891153, -0.1023723707, 0.0491205119, -0.2678546011, -0.6232110262, -0.3409046829, -0.1382791698, 0.4906629622, 0.5645250082, 0.0440590493, -0.0954202786, -0.0698523819, 0.3179423511, -0.6309303045, 0.4721755683, -0.426620543, 0.1980912387, -0.0959918946, -0.0724978, -0.4042603374, -0.0727148876, 0.0114323674, -0.727107048, 0.0789272711, 0.133660689, 1.0043933392, 0.3684062064, -0.5739780664, -0.0282508302, -0.7186760306, 0.9014347792, -0.6306769252, 0.6120332479, 0.2348426878, 0.3857622743, 0.0161881335, -0.4539362192, -0.5958548188, -0.2598032057, 0.1026446074, 0.2561907768, -0.3595610857, -0.121424444, 0.5031012297, 0.0612473078, -0.8169145584, -0.146300599, -0.2660518289, -0.2544588745, 0.3559759259, -0.1083430126, 0.7247289419, -0.2701609731, -0.2335041612, -0.027829349, -0.5487937331, 0.0789314806, 0.3311014175, 0.4118470848, -0.1794700325, 0.8656921387, -0.0937013999, 0.8275251389, -0.6154658198, -0.3282799721, 0.3794567287, -0.7021760345, -0.2883521318, -0.3935347795, 0.5160800815, 0.4921606183, 0.5143622756, 0.078333959, -0.3018650115, 0.2456841469, -0.0217603724, -0.3256746531, -0.1689151525, 0.080525279, -0.3115958273, 0.198075816, -0.3389304578, -0.4768703878, -0.0845738798, -0.3828465044, 0.5147746801, -0.6040100455, -0.4932540357, 0.3476008475, -0.2684063017, 0.171605885, 0.6434236169, -0.9631642699, -0.0334224142, 0.3915168345, 0.8696476221, -0.0677503273, -0.4719782174, -0.4405293167, 0.1094733253, -0.3962272108, 0.8076148629, -0.4754033685, 0.047988452, -0.0617989525, 0.0307346955, -0.3608522713, -0.3247406185, 0.3120503724, -0.1032346934, 0.2567402124, -0.5031199455, -0.0837206766, -0.2367483526, 0.6697128415, -0.6233330965, 0.6817765236, -0.042273432, -0.8239760995, 0.4311963618, -0.8857690096, -0.1658685058, 0.1327468157, -0.3155623376, -0.1575870067, -0.0396808349, 0.5716246367, 0.3118548691, 0.047313001, 0.1520880759, -0.3033716977, -0.3489418626, -0.1651153266, -0.4597864747, 0.7565866113, 0.0323140807, -0.4585845768, 0.3775517642, -0.5837370157, 0.0422859937, 0.4192878008, -0.2584457695, -0.3197450936, -0.0615618043, 0.1715469509, 0.3081403673, -0.0469425581, -0.4397075176, 0.2409775406, -0.4265579283, 0.4141223729, 0.7528604269, -0.3689569533, 0.3665851057, 0.0962466002, 0.8371352553, 0.0791151226, 0.3204759955, -0.432274431, -0.9426125884, -0.814853549, -0.2213058919, 0.1730626971, 0.7570966482, -1.4524784088, -0.4758715332, -0.1438610107, -0.058797542, -0.3797054887, 0.0772142261, 0.4476769567, 0.2763172388, 0.3618210554, -0.2881490886, -0.2559861243, -1.1252535582, -0.3502069116, -0.2925562561, 0.0520431362, 0.1684689671, 0.8453757763, -0.2231722921, 0.3804602623, -0.2454203367, -0.2084661424, -0.3346275091, 0.0033115689, 0.1062563881, 0.3337087929, 0.6108185649, -0.9506903887, -0.2899450958, 0.2869319618, -0.9715984464, 0.0900047719, -0.2050948143, 0.0628704876, 0.3106431067, 0.3266210556, -0.5475494862, 0.6255453229, 0.7152735591, -0.4902066588, 0.7779839635, -0.4112554193, 0.2710199058, -0.570002377, -0.2526397705, 0.128099069, -0.2431273609, -0.3848349452, 0.4499305487, 0.196962148, -0.2223412544, -0.5060511827, 0.4736299813, -0.5669196248, -0.1853468418, 0.0769563541, 0.1629122347, 0.0733050555, 0.4624460638, -0.102716893, 0.7441958785, 0.6158069372, -0.1537770182, 0.4697571695, 0.3054459393, -0.2937650383, 0.6250389218, -0.6220131516, -0.2505229115, -0.2680018842, 0.0187492166, -0.9217604995, -0.3429609537, 0.299968183, -0.2799915075, 0.1203709841, -0.1628545076, -0.5964148641, -0.3683089018, -0.0183370169, 0.4236517251, -0.0337559469, -0.5487807989, 0.7578232288, 0.0812231302, -0.1612137854, -0.7846809626, -0.7294302583, 0.3286449015, -0.0237756837, -1.0732744932, 0.0161655694, -0.0956262648, -0.3410993814, -0.0798678249, -0.0052780295, -0.08092013, 0.0705119371, 0.0356608927, 0.2879163623, -0.2022420913, 0.317681253, -0.0753154308, -0.0581989214, -0.141866982, -0.1628670841, 0.2107877582, -0.7476960421, -0.8418507576, -0.1503059715, 0.563538909, 0.475243777, -0.6890847087, 0.3700106442, 0.8295974731, -0.2892599702, -0.2049941272, -0.3976920843, 0.0886766464, -0.3632885516, 0.4331851602, -0.7217891812, -0.8606702089, 0.4113027155, 0.1471314579, 0.0374296717, 0.1926726997, 0.6299030781, -0.0171205942, 1.2035263777, 0.7953665853, 0.5616437197, 0.17423518, -0.1670045555, 0.5856141448, -0.4822289646, -0.382285893, -0.1444087625, -0.1945297718, -0.5703682899, -0.646677196, 0.5386713743, 0.1211644262, -0.009085157, 0.2372487187, -0.3650365174, 0.4533573091, 0.7245563269, -0.0744452775, 0.4708498418, -0.0958528891, -0.6412862539, -0.352946192, -0.7857531905, -0.4746851623, 0.8586080074, 0.2821255922, 0.5028440952, 0.4812308848, 0.2394121587, -0.1542859375, 0.2076908052, -0.6897348166, 0.4418615699, -0.0222001672, -0.5363740921, -0.2343654931, -0.2256731987, -0.7521895766, 0.6738941669, -0.2741770446, -0.5801153183, 0.0793806836, 0.2574419677, -0.0751545876, 0.4033054411, -1.0626643896, 1.2801990509, -0.3783221543, -0.4069726169, 0.0562706515, -0.5702608228, 0.607709229, 0.0443952344, 0.4453760386, -0.1957318336, 0.1443747878, 0.1826631427, -0.1094753966, 0.6516281366, -0.143129915, -0.1438142508, -0.066792883, 0.0906038657, 0.1559936404, -0.0029634084, 0.3264161944, 0.2992087901, -0.0562336147, -0.5051677227, -0.7067886591, 0.5555877686, -0.4313524961, -0.5794476867, -0.4698521197, -0.7708984017, -0.2909985483, 0.197922647, -0.0958362743, 0.2640547156, 0.0705069378, 0.0462819524, 0.5070596337, -0.6155138612, 0.638263464, 0.345764488, -0.5190606117, -0.0911787823, 0.7822719812, 0.0478169881, 0.4434712231, 0.0900150612, 0.0960569158, -0.2849603593, -0.6256956458, -0.8213641644, 0.2240198851, -0.9516227245, 0.0773955286, -0.6020100117, 0.1492871195, -0.3605422676, -0.0153460149, -0.3913668394, -0.3890920281, 0.0136831943, -0.1175560802, -0.0723432675, 0.486284405, -0.2192632705, -0.170835644, -0.6482799649, 0.4692706466, 0.3206493556, 0.4579115808, -0.0560115352, -0.2086944133, 0.0433484577, -0.0950214192, -0.4225661159, -0.7964823842, 0.3616605401, 0.0132194143, 0.5390371084, 0.0647868216, -0.3814225495, 0.6733794808, -0.8360435367, 0.9177138209, 0.3836830258, -0.8589361906, 0.7024875879, -0.5036686063, 0.520891726, -0.0088619981, 0.4098065197, -0.5131839514, -0.4186517298, -0.2517162561, -0.8354446292, 0.3057937622, 0.3845763505, -0.0205851439, -0.0710883886, -0.0181967653, -0.0131241875, -0.0156774186, -1.1717280149, 0.0425739735, -0.4758177698, 0.0675723478, -0.0441669598, 0.0177198015, -0.1802565753, -0.3466431797, 0.4040015042, -0.4469024539, 0.1084340513, 0.2415828556, -0.128436178, 0.1444049627, 0.3231793046, 0.8842324615, 1.0762145519, -0.0344348587, 0.0304559246, -0.0668798462, -0.049187541, 0.0562005416, 0.0344098508, -0.1620968133, 0.083172515, 0.6560925841, 1.0187902451, 0.2149618715, -0.8498548269, 0.7689915299, -0.2634949386, -0.1667170227, -0.2406841815, -0.1692654639, 0.2222029418, 0.3700611293, 0.0860668048, 0.4396266043, -0.0066782148, -0.5514850616, 0.0746479854, 0.4841650426, -0.3317360878, -0.2235599458, 1.0155874491, 0.0679689273, -0.085721761, 0.5182162523, -0.238730073, -0.5130453706, 0.46087569, 0.5135489702, 0.4701892734, -0.1809433848, 0.4969966412, 0.3690218329, 0.8577854037, -0.2304439694, 0.5993225574, 0.2210881561, -0.8707528114, -0.940916419, -0.3345014751, -0.4274534881, -0.2225960344, -0.3790919185, 0.1746591777, -0.1183237955, -0.0006413319, 0.0179779436, -0.5167243481, -0.8614457846, 0.2018316984, 0.2579863966, 0.6993080974, -1.0973316431, 0.5763555169, 0.6534197927, -0.7988855243, -0.6912477016, -0.4210317731, 0.1323647648, -0.7836328149, 0.9810587168, 0.2283858806, -0.0010623942, -0.3556081355, -0.5408979058, -0.7802416086, 0.6933535337, 0.6153498888, -0.4408625066, -0.0160729401, 0.0851795748, 0.5024536252, -0.2238072902, 0.3652747571, 0.333053261, 0.7714803815, -0.0728066936, -1.3282268047, -0.1216587573, -0.3340938389, 0.1150111184, -0.00209273, -0.3636827171, 0.9067986608, -0.6016966105, -0.0634401888, -0.135387376, 0.4423096776, 0.3112750947, 0.2413540632, 0.5543590784, 0.7658785582, 0.6985099316, -0.2862784863, 1.5092902184, 0.3109675348, 0.167314291, 1.0620340109, -0.3404563069, 0.9194782972, 0.6840105057, -0.0030722488, 0.3120914698, 0.4477616847, -0.1140433475, 0.3941440284, 0.1398878992, -0.1028629839, -0.3866294324, -0.1436886489, -0.2101371139, 0.7120883465, 0.1861128062, -0.0353498049, -0.3878970444, 0.4559567273, -0.1329603493, 0.2129383683, -0.2397792786, 0.3038147092, 0.0781940892, -0.636413455, 0.5912507176, 0.1160481423, 0.5294644237, -0.4640682638, -0.365367651, -0.115289025, 0.2090020031, -0.1170001924, -0.6968672872, 0.4105876684, -0.160495609, -0.1250373125, -0.4730508626, 0.6023880839, -0.4760089517, -0.6051095128, 0.5725600719, 0.7543979287, 0.1425924897, -0.2512617707, -0.8472043276, 0.212593928, 0.2413343191, -0.0171802659, 0.1844365001, 0.4414488673, -0.3692733347, 0.9569368362, 0.753911078, -0.0043914397, 0.2328778803, 0.4351428449, 0.5449743271, -0.5974017382, -0.1989778578, -0.7592192292, 0.6253727674, 0.0285099614, -0.3724322915, 0.9106696248, 0.3889147341, 1.1755740643, -0.2608009279, 0.7398581505, 0.1533627212, 0.0918632001, -0.5880650282, 0.4590172768, -0.8708863854, 0.1159873903, -0.3183652163, -0.8765984774, -0.8367727399, 0.6913368106, -0.2396472692, -0.1305948198, 1.0005353689, 0.6617530584, -0.1305408329, -0.0980229899, 0.5903441906, 0.1119903773, 0.5903733373, 0.7692853212, 0.9133656621, -0.4470354617, 0.6825089455, -0.1418671906, -0.3653496504, 0.2251146138, -1.0351887941, -0.889641583, -0.4268197715, -0.3723529279, -0.2353610843, 0.0347662792, 0.4426831901, 0.5699440837, -0.5616275072, 0.0198954958, 0.2205382288, 0.25345698, -0.2969689965, -0.2003871948, 0.2101990283, -0.3127666116, -0.7608780265, 0.4263392985, 0.6985329986, -0.0115601206, -0.3301436603, 0.0043156464, -0.2767891884, -0.1891511083, 0.8428774476, 0.1694402844, -1.1046755314, -0.4383744299, 0.0803439841, 0.1544880569, 0.1416412145, 0.6230421066, -0.3756024837, 0.9207391143, 0.3937007487, 0.6195970774, 0.4961810708, -0.2467602342, 0.7106621861, -0.6159089804, 0.2478338778, 0.3616861999, 0.7623403072, 0.5986158252, 0.0657122955, 0.6012652516, 0.4088281989, -0.4109321535, -0.7670308948, 0.4814066887, -1.0456562042, -0.4081746042, 0.960179925, -0.2960859537, -0.1615962535, -0.1731809676, -0.2256572992, -0.1567332149, 0.018826209, 0.3491117656, 0.9527640343, -0.2071489543, -0.5101070404, -1.1349685192, 0.2065166235, 0.3884134889, -0.7335797548, -0.2584035993, 0.5995399952, 0.207011506, 0.3261366785, 0.7285003066, -0.2398575544, 0.3578689098, 0.0803635344, 0.3401723206, -0.0328430124, -0.4650162458, -0.2232202142, 0.2268691659, -0.1511312276, -0.068863824 ]
http://arxiv.org/abs/2403.01395v1
http://arxiv.org/pdf/2403.01395v1
CR-LT-KGQA: A Knowledge Graph Question Answering Dataset Requiring Commonsense Reasoning and Long-Tail Knowledge
2024-03-03T04:47:01
2024-03-03T04:47:01
Willis Guo, Armin Toroghi, Scott Sanner
cs.CL
cs.CL, I.2.4, I.2.7
Knowledge graph question answering (KGQA) is a well-established field that seeks to provide factual answers to natural language (NL) questions by leveraging knowledge graphs (KGs). However, existing KGQA datasets suffer from two significant limitations: (1) no existing KGQA dataset requires commonsense reasoning to arrive at an answer and (2) existing KGQA datasets focus on popular entities for which large language models (LLMs) can directly answer without hallucinating and without leveraging the KG. In this work, we seek a novel KGQA dataset that supports commonsense reasoning and focuses on long-tail entities (e.g., non-mainstream and recent entities) where LLMs frequently hallucinate, and thus create the need for novel methodologies that leverage the KG for factual and attributable commonsense inference. We create a novel Commonsense Reasoning (CR) and Long-Tail (LT) KGQA dataset with two subtasks -- question answering and claim verification -- that address both limitations (1) and (2). We construct CR-LT-KGQA by building extensions to existing reasoning datasets StrategyQA and CREAK over Wikidata. While existing KGQA methods are not applicable due to their lack of commonsense inference support, baseline evaluation of LLMs on CR-LT KGQA demonstrate a high rate of hallucination. Thus, CR-LT KGQA poses significant challenges for hallucination-prone LLMs, hence paving the way for future commonsense KGQA research to provide accurate and factual answers for long-tail entities in the era of LLMs.
[ -0.5366601944, -0.9238836169, 0.6518535018, -0.0424031541, -0.2276188731, 0.0031692474, -0.122898452, -0.2350848764, 0.0846377015, 0.8271997571, -0.676271975, -0.6494709253, -0.5367094278, 0.2439413816, -0.1384169608, 0.8334376812, 0.0533627793, -0.2627154887, -0.4627133906, -0.4566767514, -0.5547280312, -0.3844504058, -0.4692571163, -0.3295952976, 0.8973474503, 0.4635642767, 0.9062660336, 0.2755726874, -0.0424168259, 0.1700352579, 0.0340103768, 0.3194983006, -0.6407012939, -0.0397416167, -0.1792144924, 0.0179296136, -0.2937429547, -0.3785001934, 0.5683506727, 0.8142081499, -0.1062457487, 0.1259285808, -0.1048649177, 0.8352617025, -0.672940433, 0.2299457341, -0.8806717396, -0.0111423144, -0.110686563, 0.0666082948, -0.5210689306, -0.433512181, -0.0183068886, -0.7860369682, -0.0618208051, 0.0907403082, 0.8084322214, 0.3335719705, -0.8000633121, -0.5121462941, -0.1444199532, 0.7339030504, -0.6272822618, 0.797080338, 0.5151205063, 0.4808354378, -0.1535684317, -0.8488382697, -0.9572411776, -0.263168931, -0.2542059422, 0.0276534837, -0.1262425631, -0.1081845015, 0.0811854973, 0.0426494069, -0.9249588847, 0.1246666461, -0.3603528738, -0.448325634, 0.5122432709, 0.1701061726, 0.2104432732, -0.5010479689, -0.5065848231, 0.0978377238, -0.6235284209, -0.1328636259, 0.3808357716, 0.3245934546, 0.0419561937, 0.7036803365, -0.6322190166, 0.8012911081, -0.4345270097, -0.1290011555, 0.2219244987, 0.1297427267, -0.2099660784, 0.2129522562, 0.7529892325, 0.4358732104, 0.3432989717, -0.3985012472, -0.1330043077, -0.1961951852, -0.0433618203, -0.7228730917, -0.3822179139, 0.4604424834, -0.2786958814, -0.3553731441, -0.4625561833, -1.0163451433, -0.5262590051, -0.2289801985, 0.6468762755, -0.289203018, -0.4437399209, 0.2154209763, -0.1397262961, 0.3129488826, 0.2086837888, -0.4637146294, 0.2460054904, 0.7008786798, 0.5412103534, -0.2009472251, -0.1455079913, -0.4109545052, 0.0898687914, -0.2818901837, 0.6329054832, -0.5430575609, -0.2540955245, -0.0932020992, 0.1050363854, -0.0200027451, -0.5316410065, 0.8426716924, -0.9595755339, 0.1954703629, -0.6592842937, -0.4842482209, -0.350264132, 0.588660717, -0.8191217184, 1.0411633253, 0.2184215188, -0.8622489572, 0.2060748637, -0.649323225, -0.4332610369, 0.1088188738, -0.0806511268, -0.2999573648, -0.5024216175, 0.5459635258, 0.4592967629, -0.3635565937, 0.521294117, -0.4592287242, -0.0977178961, 0.416118592, -0.5520054102, 0.8997748494, 0.2814981937, 0.1028174907, -0.3231441081, -0.8236216903, 0.2060016543, 0.3393451273, -0.0218954738, -0.2340518236, -0.2309812307, -0.2985984087, 0.0483304933, 0.2766559422, -0.5511127114, 0.1155883744, 0.0525386669, 0.4695473909, 0.6810584664, 0.1456341147, 0.1599458903, -0.2857018709, 0.3164450824, -0.001182655, -0.0900868028, 0.4062032104, -0.5505897403, -0.4027848244, -0.3546952307, 0.3325859606, 0.5187866688, -1.2505776882, 0.1469717324, -0.6704564095, -0.4351080656, -0.1001361161, -0.044778116, 0.385014683, 1.0361884832, 0.5257433057, 0.0085701998, -0.2781281471, -1.0621381998, -0.1757982373, -0.0718913227, 0.0558908619, 0.5988403559, 0.6662282348, 0.0687570572, 1.0453518629, -0.7984775901, -0.0067434693, -0.3645275831, 0.0769390911, 0.3095721006, 0.1057939455, 0.1680645645, -1.0537421703, -0.2118757516, -0.1339249313, -0.7607818246, -0.0560269319, -0.0326111391, -0.1605681181, 0.1087338775, 0.2241678387, -0.9322445989, 0.1972708255, 0.5100944638, -0.3226127625, 0.7325333953, 0.2446828187, 0.21954225, -0.9038119912, 0.1280951351, -0.2715637982, -0.0307589155, -0.6499024034, -0.0840673, 0.0479489006, -0.1662924141, -0.433784306, 0.8856806755, -0.0439801663, -0.1012236848, 0.0051429761, 0.371037215, 0.1972974539, 0.771186769, 0.163807258, 0.7118151188, 0.2766962647, -0.6151275635, 0.4048371315, 0.5142647624, -0.2934964895, 0.4460404515, -0.6398847103, 0.166279003, -0.257029146, 0.4011884332, -0.9298428893, -0.522584796, 0.4143548906, -0.6329196692, -0.0105910962, -0.3616393805, -0.5790696144, -0.5488442183, 0.0412452482, 0.6137346029, 0.4169319868, -0.6875878572, 0.8359097838, 0.1023179144, -0.167305842, -1.1319819689, -0.5527580976, 0.2443663925, -0.304240644, -0.7159218788, 0.0217938386, 0.1837948114, -0.0956569239, 0.3666230142, -0.1586419046, -0.3918792009, -0.0572875328, -0.0744114891, 0.2641330659, -0.2502315044, 0.2963650823, 0.1009922847, -0.0173613038, 0.1908964366, -0.2618150413, 0.5219479203, 0.0713881627, -0.2378962636, -0.2788390517, 0.1321345568, 0.5679478049, -0.1698146164, 0.7143089175, 0.5245830417, -0.383446455, -0.3786175847, -0.5818148255, -0.1641325355, -0.4725373685, 0.6979374886, -0.5544235706, -1.0109101534, 0.4585238397, 0.0910283327, -0.1111208051, 0.4063694179, 0.5721744299, 0.0980066434, 0.4767199755, -0.2391527444, 0.06367971, -0.4646781683, -0.0114315627, 0.3281508684, -0.6829452515, -0.3398916423, -0.4081742465, -0.0697104707, -0.4279072881, -0.4158113599, 0.3395590782, -0.0159878079, -0.5205179453, 0.1613619328, -0.4687695503, 0.5584773421, 0.3863579035, 0.2188513279, 0.3735038936, -0.2192484587, -0.102940321, 0.1869466603, -0.6695276499, -0.3843834102, 1.1213158369, 0.2261406481, 0.5388478041, 0.2884397805, 0.4686715901, 0.4685946405, 0.1624169797, -0.6393321157, 0.8401558995, -0.0243762061, -0.7727627158, -0.6587278843, -0.8883572817, -0.8201049566, 0.1821152419, -0.1491132528, -0.7341686487, -0.1144316792, 0.1198908687, -0.1165790111, 0.462274462, -0.5644971132, 1.1028314829, -0.0428527035, -0.2632337809, 0.0644388869, -0.7763515711, 0.7568435073, -0.0234871209, 0.1907768399, -0.2033789158, 0.1428201795, 0.8105682731, -0.3795336783, 0.8113560081, -0.4509360492, -0.3710231781, 0.6829336882, 0.1742414832, 0.8605257273, 0.244307369, 0.0205667578, 0.0028605903, 0.1322940886, -0.5378240943, -0.8986083269, 0.6922758818, -0.6380215287, -0.4984192848, -0.2699874043, -0.7368931174, -0.6422566175, 0.3406546712, -0.095688507, 0.5604778528, 0.0356570333, 0.2363337129, 0.7792096138, -0.3925887346, 0.0364130884, 0.1880240291, -0.1617925167, -0.7430259585, 1.0537391901, 0.1364678741, 0.412060231, 0.3626039922, 0.2153974921, -0.765910089, -0.5178328753, -0.6161901355, 0.2874310315, -1.0028408766, -0.261465162, -0.9048412442, -0.2883890867, -0.4118572176, -0.0602818914, -0.1924701929, -0.7376057506, 0.1524206102, -0.0198709331, 0.5466665626, 0.4796804786, 0.1065308601, -0.1331751049, -0.7917598486, 0.8539950252, 0.8222475648, 0.2814051211, 0.2688948214, -0.3391255438, 0.1363024861, 0.1802327633, -0.0493190214, -0.8343769908, 0.0461946353, -0.167310521, 0.5220780969, 0.0422901139, 0.5994397402, 0.5135471821, -0.2731405497, 0.8703299761, 0.1376397461, -0.6237961054, 0.0178777743, -0.459515661, 0.0994919166, 0.5003578067, 0.5687999129, -0.6507386565, -0.1331959069, -0.4564640522, -0.6765220165, 0.3193287849, 0.4500705004, 0.0706321672, -0.1308536381, 0.2123329639, 0.2647359073, 0.2671586275, -0.883874774, -0.2200790346, -0.447761327, -0.3698818088, 0.3623505533, -0.1513336003, -0.2804837227, -0.1165986434, 0.8068864346, -0.2283914834, 0.2094054669, 0.2173206508, -0.0065905591, 0.2978689373, 0.5186697841, 0.2843554616, 0.5926474929, -0.1685113311, 0.29750669, 0.6416273713, -0.3835760355, -0.1231824532, 0.1216417104, -0.1454909742, -0.1533314586, 0.281373322, 0.5287221074, -0.0751361325, -0.8348835707, 0.513343811, 0.210975498, -0.5941110849, -0.2926864326, -0.0921331197, 0.4679170549, 0.2407431901, 0.4862601459, -0.2913796902, -0.0049828114, -0.3159337938, 0.2598095238, 0.4907652438, -0.2130777091, 0.126912266, 0.5600236654, 0.0380559899, 0.0709297135, 0.8356319666, -0.4306135774, -0.6356022358, 0.7209771872, 0.3762226403, 0.416757226, 0.4182958305, 0.3861337006, 0.5127822161, 0.1142351776, 0.1521705091, 0.2617638111, -0.1669299304, -0.8946988583, -0.5459153056, -0.5333607197, -0.2969257832, 0.3603536785, -0.5949980617, 0.2102841735, -0.0308974516, 0.108550474, -0.1896586716, 0.012333422, -0.3808210194, 0.4859990478, 0.131194219, 0.9435298443, -0.626152575, 0.677816391, 0.0326980092, -0.1976945996, -0.7501257062, -0.0816603526, -0.1103092656, -1.0769246817, 0.7872719169, 0.0440403856, -0.097125493, 0.088106297, -0.646587491, -0.665130794, 1.3574016094, 0.0806311816, -0.2460000664, -0.1770158559, 0.6383443475, 0.0425161012, 0.0001653802, -0.2435776144, 0.4042985737, 0.7104285359, 0.5762884021, -0.6361321807, 0.4239533246, 0.1242193133, -0.445897907, 0.3055098653, -0.6868287921, 0.4347388744, -0.2028608024, -0.155000627, 0.208673507, 0.7827834487, 0.6921262741, 0.7105146646, 0.6568912864, 0.9995979667, 0.8848049045, -0.0393954553, 0.7029736638, -0.0668347627, 0.38122347, 1.3882303238, -0.3569776714, 0.6729903817, 0.3389011323, -0.211511746, 0.3722972572, 0.3570593596, -0.0392947607, 0.4875876904, 0.2454407364, -0.386602968, -0.5263047218, -0.124987267, -0.4329522848, 0.2938843966, 0.3081862628, 0.0046773534, -0.3726858199, -0.0364558063, 0.2137707472, -0.0136565333, -0.2122607082, 0.3677739203, 0.0104081696, -0.6352685094, 0.7473533154, -0.2809486687, 0.2195161432, -0.5434142351, -0.0940872282, -0.1708630323, -0.4104453325, -0.1461402029, -1.0821424723, 0.0686887801, -0.0614425614, 0.1622218639, 0.1175334603, 0.7006095052, -0.3144278228, -0.4034549892, -0.0290797614, 0.5562896132, 0.0497234464, 0.0397867747, -0.6165383458, -0.2271504253, -0.0418663919, -0.2717941403, 0.1810210496, 0.8779420853, -0.0531301871, 0.9731381536, 0.6597353816, -0.2495304942, -0.0662844256, -0.021884473, 1.0817043781, -0.5351231098, -0.3042341769, -0.4762346148, 0.4175014198, -0.2042165548, -0.2751158476, 0.5646848679, 0.6564541459, 0.4890216887, -0.0056575094, 0.7809263468, -0.3874424994, 0.5274635553, -0.872989893, 0.7852935195, -0.5972250104, -0.0211530924, -0.1251547784, -0.5925509334, -0.2792426646, 0.0989877582, -0.4404419065, 0.1023519337, 0.6848570704, 1.1566280127, -0.0798965245, 0.2450572848, 0.348305881, 0.3461435735, 0.0850111097, 0.7796784043, 0.8785762787, -0.2697610259, 0.9904868603, -0.2595289052, 0.2514337599, 0.0661836043, -0.9121847153, -0.9351904392, -0.6196708679, -0.3113195598, -0.7363482118, 0.2906813323, 0.6886689067, 0.2841944695, -0.6930649281, 0.390427649, -0.107875362, 0.2166440189, 0.048409123, -0.3328362703, 0.7423132658, -0.1281203628, -0.3372507989, 0.1976210028, -0.1664626449, -0.1789723188, -0.0513131991, -0.2931077778, -0.1041734591, 0.0130151138, 0.5253742933, 0.4687796831, -0.7214593887, -0.4988144636, 0.0717003271, 0.1200572476, 0.0652976483, 0.6259086728, -0.8600398302, 0.1890999377, 0.3145113885, 0.8961851001, 0.3968392015, -0.075975284, 0.1403430253, -0.6617718935, -0.0664412603, 0.5003125668, 0.1240058318, 0.2245026827, -0.3400199115, 0.4538593888, 0.2875666618, -0.5965739489, -0.8886832595, 0.5177338123, -1.254021883, -0.4959297776, 1.3418200016, 0.1050108373, -0.1927457601, -0.4113998115, -0.0740102604, 0.1761908233, -0.331412077, 0.6788008213, 0.8301118612, 0.0001264488, -0.2342130393, -0.7341947556, 0.3876725137, 0.1905338466, -0.6766204834, 0.4506483674, 0.5614777207, 0.3053156435, -0.1151681691, 0.5898809433, -0.1491743624, 0.2799277306, 0.1600696743, -0.2864060402, -0.4056496918, -0.1811622232, 0.3564419448, 0.5314383507, -0.0513075218, 0.0254450142 ]
http://arxiv.org/abs/2403.04786v2
http://arxiv.org/pdf/2403.04786v2
Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
2024-03-03T04:46:21
2024-03-23T05:21:49
Arijit Ghosh Chowdhury, Md Mofijul Islam, Vaibhav Kumar, Faysal Hossain Shezan, Vaibhav Kumar, Vinija Jain, Aman Chadha
cs.CR
cs.CR, cs.CL
Large Language Models (LLMs) have become a cornerstone in the field of Natural Language Processing (NLP), offering transformative capabilities in understanding and generating human-like text. However, with their rising prominence, the security and vulnerability aspects of these models have garnered significant attention. This paper presents a comprehensive survey of the various forms of attacks targeting LLMs, discussing the nature and mechanisms of these attacks, their potential impacts, and current defense strategies. We delve into topics such as adversarial attacks that aim to manipulate model outputs, data poisoning that affects model training, and privacy concerns related to training data exploitation. The paper also explores the effectiveness of different attack methodologies, the resilience of LLMs against these attacks, and the implications for model integrity and user trust. By examining the latest research, we provide insights into the current landscape of LLM vulnerabilities and defense mechanisms. Our objective is to offer a nuanced understanding of LLM attacks, foster awareness within the AI community, and inspire robust solutions to mitigate these risks in future developments.
[ -0.4424279332, -1.0901136398, 0.466579318, -0.3106945753, 0.2224412262, 0.2550725043, -0.0747729987, -0.5822950602, -0.1724508852, 0.8161382675, -0.4417128861, -0.3013772368, -0.8102418184, 0.0818139687, -0.7144188881, 0.8746861219, 0.3485886753, 0.1028111875, -0.3757436574, 0.0576037131, -0.2631720603, -1.0347728729, -0.6574124098, -0.1699376851, 0.5952029824, -0.2142058462, 0.6440958977, 0.2916954756, 0.9190163612, 0.39967978, -0.350779742, -0.3253605366, -0.5203730464, 0.4828894436, -0.1738125682, -0.6188741922, -0.4538511932, -0.1631693095, 0.603900373, 0.5921679735, 0.0423935503, 0.0728339106, -0.0046388158, 0.659147203, -0.6737279892, -0.3084580898, -1.0361677408, 0.0457702167, -0.5637159944, 0.0588154085, -0.6295663118, -0.0887616053, 0.1488432288, 0.1238707528, -0.0137604307, 0.0067727109, 0.6214985251, 0.2053053081, -0.5000969768, -0.2484104782, -0.5042047501, 1.0519316196, -0.8617430925, 0.2614044547, 0.2956274748, 0.3127267957, -0.4227416515, -0.5234122872, -0.2553046346, -0.4739771187, -0.0100070471, -0.2452309579, -0.8104178905, 0.2651241124, 0.3454657793, 0.4830011725, -0.7082185745, 0.4943665862, -0.293793112, -0.0648884922, 0.7828140855, 0.3097382784, 0.7655097246, -0.0779782757, -0.4472822845, -0.1009841338, -0.9769180417, -0.2008673549, 0.5070368648, 0.1338756084, -0.1575750709, 0.669490397, 0.209055692, 0.7472746968, -0.3563398719, -0.2035343796, -0.3888098001, -0.1255365908, -0.4757944643, -0.1607368737, 1.0237978697, 0.2072731555, 0.1801707596, -0.4306475222, -0.3136378825, -0.1820219606, 0.5430824757, -0.5329357982, -0.0076884693, 0.1779856235, -0.3963259161, -0.6441047788, -0.023764316, -0.812792182, -0.8121107221, 0.0789870396, 0.0330421887, -0.2826124728, -0.1370966136, -0.021115629, 0.0175305307, 0.3441735804, 0.0059272279, -0.8833143711, 0.4837648571, 0.9448657036, 0.7927418351, -0.1852956265, -0.0260834247, -0.3329373896, 0.1158695519, -0.2285165489, 0.4252770841, -0.2390491068, -0.6167678833, 0.0459694751, -0.3658230901, -0.0187147949, -0.5678990483, 0.5355432034, -0.8488309979, -0.0824677572, -0.1699498594, -0.5580127835, -0.2185350209, 0.8642374873, -0.9714536667, 0.6560539007, -0.206682384, -1.1138776541, -0.3208143711, -0.5298857093, -0.4564848542, -0.0742917657, -0.199947387, -0.204386428, 0.236386776, 0.1087663025, 0.6390603781, -0.6909061074, -0.1009037718, -0.550933063, 0.0993408337, 0.4532320201, -0.5426036119, 0.9568653703, 0.2811784148, -0.1489676684, 0.2506433427, -0.703532815, -0.0964289904, 0.6386049986, -0.1887608618, -0.3034771085, 0.0524389483, -0.3338542283, -0.0409520157, 0.3402741253, -0.314981848, 0.2754249871, -0.6458345056, 0.7215729356, 0.7272524238, 0.2142458558, 0.4141272008, -0.1365979314, 0.7359477282, -0.3828422725, 0.3898241818, -0.0391932689, -0.3092511296, -0.4578388631, -0.1192528903, 0.1462394893, 0.5388172269, -0.4691401422, 0.2555223107, -0.1073835194, -0.7486143112, -0.3223414719, 0.291896075, 0.4117080271, 0.2719201744, 0.25385499, 0.0513535365, -0.5247860551, -0.8587872386, -0.451493144, -0.2797619104, -0.1028383225, 0.0061712409, 0.489823401, -0.2760029733, 0.6586538553, -0.5104909539, -0.1526694, -0.5821995139, -0.2328113616, -0.0765613765, 0.2692156136, 0.7825781107, -0.6350547075, -0.2140808105, -0.1416492909, -0.7206263542, 0.1135420874, 0.046047166, 0.1776814908, 0.2224714607, 0.6792065501, -0.8550606966, 0.2300610393, 0.6185510159, -0.1424227357, 0.5017676353, 0.1787166446, -0.146373257, -1.0699369907, -0.1300181001, -0.0647433922, -0.1003623381, -0.8950925469, 0.6024038196, -0.3279840052, 0.0224776138, -0.5425882339, 0.5026354194, -0.3607132435, -0.1278087944, -0.2114634663, -0.1022657752, 0.0830999464, -0.026632322, -0.2000670731, 0.455876559, 0.5466624498, -0.3588835895, 0.6564945579, -0.0160738192, -0.3507570326, 0.244497776, -0.8865053654, 0.5145938396, 0.1336014271, 0.2265995443, -0.755366385, -0.1005732864, 0.3065940738, -0.4851398766, 0.700976491, -0.1668421477, -0.5618978739, -0.1083975732, -0.6224571466, 0.2562067807, 0.3007898927, -0.4638924003, 0.6365413666, 0.5770175457, -0.1824861765, -0.9177829623, -0.8549126387, 0.6545920372, -0.5360842943, -0.8032631874, 0.145807758, 0.0158008281, -0.9511075616, -0.2853861153, 0.2205708921, 0.0981416404, 0.6844233274, 0.2365748435, 0.2663341761, -0.0942263827, -0.250335902, -0.5563600063, 0.1134583056, 0.5183714032, 0.0577659421, 0.7960630059, -0.079434596, -0.5604159236, -0.2934529781, 0.4403326213, 0.6173158288, -0.2470908463, 0.9470510483, 0.2981491089, -0.3781903982, -0.1633150429, -0.5271679759, -0.2913744152, -0.4407588243, 0.7481055856, -0.21474424, -0.952873528, 0.3200247288, 0.2110696435, 0.247969225, 0.5343426466, 0.66758883, -0.0669739246, 0.988995254, 0.5033273697, -0.5889899135, 0.2874869406, -0.1112787798, 0.4156010151, -0.6819980741, -0.269020468, -0.6705443263, -0.0655798092, -0.3692057133, -0.226739347, -0.0477897786, 0.0467564464, -0.2523100674, 0.2220958173, -0.2796460092, 0.4016571641, 0.2974250615, -0.2887749076, 0.2754152119, -0.2297157347, 0.2763467431, 0.0133562675, -0.5371217132, -0.6936027408, 1.2036130428, 0.7403252125, 0.9162207842, 0.5400053859, 0.5014160872, 0.531016767, 0.2153893858, -0.7217134833, 0.7197169065, -0.0654964224, -0.762275517, -0.1555098146, -0.5060822964, -0.8406654, 0.170286715, -0.2283008546, -0.8546980619, -0.3821468949, -0.107010901, -0.1355181634, 0.803367734, -0.5503956676, 0.7026298046, -0.6475191712, -0.1395960152, -0.1048237383, -0.6418927908, 0.6634892225, -0.1394405663, 0.155679822, 0.0499784537, 0.0889695883, 0.6486814022, -0.2153060734, 1.0208063126, 0.1554943323, -0.4483043551, 0.1736704409, 0.1815357059, 0.4485000074, 0.0097257635, 0.0183151048, 0.3361857533, -0.0316097513, -0.3232104182, -0.2974425852, 0.7275896668, -0.614297092, -0.9481605291, -0.4307104349, -0.4831402898, -0.09177237, 0.1033224314, 0.2442401052, 0.1731870323, -0.50381428, 0.2682368755, 0.8731763363, -0.4442039132, 0.4474752843, 0.27199772, -0.1270280629, -0.3645587564, 0.6887142062, -0.0185195543, 0.5763577223, 0.5476779342, -0.0612464137, -0.2070579976, -0.8723377585, -0.110968329, 0.0939921811, -0.6988680363, -0.3935579062, -0.5861962438, -0.3995869756, -0.7409962416, -0.0839160383, -0.4106044173, -0.1716094762, -0.1496609896, -0.322609216, 0.3930458128, 0.9680632949, 0.3560415506, 0.2549679279, -0.7845374346, 0.066124849, 0.3381455243, -0.1563693583, 0.1733221263, -0.4656756818, 0.0207544584, -0.2264353484, -0.432166934, -0.9126349688, 0.4205856025, -0.0998784006, 0.4304386973, 0.4911399186, 0.1084704474, 0.0410742573, -0.4002510905, 0.9645944834, 0.322049439, -0.7100114226, 0.3520202041, -0.2267076224, 0.1236301139, 0.3599989712, 0.3992768526, -0.3178663552, -0.3423464596, -0.5708451867, -0.756080687, 0.3813099563, 0.0452131182, 0.314460814, 0.1040634587, 0.1849320233, -0.2250059545, 0.0107792867, -0.8107784986, -0.2918731272, 0.2110612541, -0.0931307971, 0.0797045156, -0.4805765748, -0.5011873841, 0.1159179881, 0.6815580726, 0.1823018491, -0.2395475954, -0.1107125431, -0.2266134322, 0.3739001155, 0.4538580775, 0.4694855511, 0.2266932875, -0.0598004498, 0.3824161589, 0.4714183211, -0.5421366096, 0.1439775974, -0.0991867557, -0.1811358035, -0.2874100506, 0.8301861286, 0.5986423492, 0.236826539, -0.8902916312, 0.4386034012, -0.1768767685, -0.1166657656, -0.3795149028, 0.0404959694, 0.2296508849, 0.258154422, 0.0771906301, -0.1642235965, -0.0374490172, -0.5657426119, -0.0343250372, 0.8302620053, -0.2843973637, -0.2812589407, 0.4572535455, -0.0499594696, -0.4087505043, 0.4735127687, 0.2746503651, -0.650942266, 0.5629226565, 0.5495340228, 0.814237833, -0.2206175923, -0.303147465, -0.0761811733, 0.6589423418, 0.1291237324, -0.2598591149, 0.1260900199, -0.7693670392, -0.1857154518, -0.4736880064, -0.536100626, 0.5309512615, -0.6311994791, -0.0277154911, -0.8946149945, -0.3741933703, -0.1232991889, 0.0048426595, -0.2476040423, -0.0478742793, 0.5862956047, 0.9585111141, -0.3923990726, 0.6112443209, 0.6344807744, -0.3328989446, -0.3155623972, -0.0238773525, 0.4304798543, -0.4702815711, 0.6314833164, -0.0328544304, -0.198293373, -0.355260998, -0.5236136317, -0.6973446608, 0.7206676006, 0.559066534, -0.5508172512, -0.0720558465, 0.4716263115, 0.3337399662, -0.0678732991, 0.0717030242, 0.8538895249, 0.4131019115, -0.3179833889, -0.4984542131, -0.0777272061, -0.0799719989, -0.1209058017, 0.1617400348, -0.7095770836, 0.6810311675, -0.0501317382, -0.1095997244, 0.0825409964, 0.5900760889, 0.316811651, 0.120083414, 0.41173473, 0.7624668479, 0.534640193, 0.0764276534, 1.2627547979, -0.1717081368, -0.0284937136, 1.061042428, -0.3591254056, 0.8969192505, 0.4535215795, -0.3352490664, 0.1160811558, 0.4400463402, -0.2086077034, 0.1052762941, 0.5649982691, -0.290939033, 0.0208662506, 0.0651423186, -0.3241423965, 0.4500617087, 0.3081108928, -0.3271318078, -0.2632893324, -0.1061709002, 0.5092740059, 0.1507939994, -0.3303079903, 0.8992348909, 0.4287687838, -0.2712956071, 0.3512746096, 0.303848803, 0.7593522072, -0.8519275188, 0.3615188599, -0.066094473, 0.2101758271, -0.2375721335, -0.6593966484, 0.3043091297, 0.4434427023, -0.3139420748, -0.1265177727, 0.8356272578, -0.0356834754, -0.2350618243, 0.5692021251, 0.2356299311, -0.1323868483, -0.2169684321, -0.8813225627, 0.4828985631, -0.0906967595, -0.5064598918, 0.792952776, -0.0548815913, 0.0966228098, 0.9182501435, 0.5476905704, 0.1794441789, 0.1663243324, 0.2106349617, 0.7432563901, -0.5753012896, 0.0577479564, -1.4603363276, 0.0734752789, -0.3187071979, -0.0096499259, 1.0384181738, 0.4094411433, 0.7206007838, 0.1882139891, 0.7445723414, 0.3044349551, 0.4145604372, -0.6855940819, 1.0406860113, -0.248864755, 0.7327506542, -0.2148632854, -0.772372663, -0.4132610261, 0.1588731706, -0.3675302267, -0.0466469936, 0.2666820586, 0.6992300749, 0.3561499119, -0.1316043139, 0.255343467, 0.4197269976, 0.7975611687, 0.4550261199, 1.1451212168, -0.2408578694, 0.5308628082, -0.1691549271, 0.1219968572, 0.00667954, -0.8230287433, -1.2042065859, -0.2569949925, -0.1569697708, -0.2857219279, 0.0719603449, 0.6129870415, 0.4286078513, -0.7685952187, -0.1559814513, 0.1690880507, 0.2708963752, 0.2928671539, -0.2167945802, 0.3862096071, -0.2786336541, -0.5287842155, 0.6710085869, 0.2842921615, 0.0230918024, -0.7058112025, 0.0413999818, -0.2367850095, 0.254542321, 0.4908554256, 0.4284244776, -0.7841674089, -0.0813207105, -0.1324422359, -0.3309922218, -0.2738710642, 0.64270854, -0.3283475041, 0.0999790728, 0.5296618342, 1.132068038, -0.1803958118, -0.1758909076, 0.6709213853, -0.6203602552, 0.0433450863, 0.354488343, 0.5129198432, 0.5245734453, -0.425649792, 0.45263201, 0.0695527121, -0.4004261196, -1.3514608145, 0.4310242236, -0.8272036314, -0.490296185, 1.0333383083, -0.1353169233, -0.3341560364, 0.0223338939, -0.0321628153, -0.1549184769, 0.0631299317, 0.7329009175, 0.7843677402, 0.2814808488, 0.0682680607, -0.7423557639, 0.5405430794, 0.2883556783, -0.844563961, 0.2694780529, 0.2369315028, 0.1024427488, 0.0337845497, 0.1392813325, -0.363327235, -0.1895621419, -0.2074555606, -0.0411357097, 0.0177020375, -0.1753580421, -0.5156360269, 0.4835786819, 0.2752091587, 0.0999536365 ]
http://arxiv.org/abs/2403.01390v1
http://arxiv.org/pdf/2403.01390v1
Right for Right Reasons: Large Language Models for Verifiable Commonsense Knowledge Graph Question Answering
2024-03-03T04:22:13
2024-03-03T04:22:13
Armin Toroghi, Willis Guo, Mohammad Mahdi Abdollah Pour, Scott Sanner
cs.CL
cs.CL, I.2.7
Knowledge Graph Question Answering (KGQA) methods seek to answer Natural Language questions using the relational information stored in Knowledge Graphs (KGs). With the recent advancements of Large Language Models (LLMs) and their remarkable reasoning abilities, there is a growing trend to leverage them for KGQA. However, existing methodologies have only focused on answering factual questions, e.g., "In which city was Silvio Berlusconi's first wife born?", leaving questions involving commonsense reasoning that real-world users may pose more often, e.g., "Do I need separate visas to see the Venus of Willendorf and attend the Olympics this summer?" unaddressed. In this work, we first observe that existing LLM-based methods for KGQA struggle with hallucination on such questions, especially on queries targeting long-tail entities (e.g., non-mainstream and recent entities), thus hindering their applicability in real-world applications especially since their reasoning processes are not easily verifiable. In response, we propose Right for Right Reasons (R3), a commonsense KGQA methodology that allows for a verifiable reasoning procedure by axiomatically surfacing intrinsic commonsense knowledge of LLMs and grounding every factual reasoning step on KG triples. Through experimental evaluations across three different tasks--question answering, claim verification, and preference matching--our findings showcase R3 as a superior approach, outperforming existing methodologies and notably reducing instances of hallucination and reasoning errors.
[ -0.571128428, -0.9199587703, 1.0639762878, -0.0943607837, -0.1811643988, -0.2112766504, -0.103518188, -0.3159659207, -0.104124926, 0.7998425364, -0.3886535168, -0.5123353601, -0.3731085658, 0.1919694692, -0.0898334756, 0.5802598, -0.196157217, -0.1425489485, -0.5287012458, -0.3846326768, -0.4076752067, -0.4554917514, -0.5298706889, -0.4759308398, 0.7599968314, 0.716035068, 1.0598199368, 0.5981941819, 0.1731661856, 0.2134708613, 0.0352072977, 0.2699649036, -0.3905289471, 0.0424826145, -0.3512578011, -0.3735239208, -0.1099132597, 0.1092621163, 0.2436219603, 0.5233957767, -0.0983491763, 0.120489344, -0.371412158, 0.8129628897, -0.6696558595, -0.1348870248, -0.4001182616, 0.164461568, 0.0091377441, -0.3153223991, -0.4673392475, -0.6888356209, -0.0244432483, -0.6001284122, 0.0797389075, 0.3650016189, 0.9437232018, 0.2279626429, -0.5925445557, -0.4611028135, -0.4067795873, 0.8981004953, -0.8605931997, 0.8251454234, 0.7399986982, 0.5611250401, -0.3507283926, -0.7157242894, -0.9494335055, -0.3512137234, -0.1907780915, 0.056768585, -0.1427864879, -0.0024326942, 0.5563907623, 0.0916995034, -0.7278220654, 0.1023356542, -0.2189833671, -0.3731037378, 0.6958156228, -0.0284366142, 0.4307409227, -0.3235179186, -0.142832458, 0.2346520871, -0.9080326557, -0.0928010792, 0.5443437099, 0.1378310174, 0.0574124083, 0.6315612197, -0.4319924712, 1.049721837, -0.1409451067, -0.2486826628, -0.1192769334, -0.0724916235, -0.1562682837, 0.0035895756, 0.6215701699, 0.4282916486, 0.5662514567, -0.4775710702, 0.0100205876, -0.4767977893, 0.1376157403, -0.6784157753, 0.0046561509, 0.6507380009, -0.4438848197, -0.2332754433, -0.4748390019, -0.5793162584, -0.3931598067, -0.6215025187, 0.4213882089, -0.339749217, -0.3533998728, 0.1002054885, -0.1328963488, 0.2672470212, 0.254309535, -0.7994666696, 0.0561092421, 0.9259229302, 0.4783036411, 0.0273191389, -0.2250605971, -0.561663568, 0.1460668594, -0.5220307112, 0.5164499283, -0.5544041991, -0.1796411425, 0.0660398677, -0.1070095375, -0.0256437697, -0.6237956882, 0.6992125511, -1.0423281193, 0.3761231005, -0.6999782324, -0.4608773887, -0.3413222134, 0.6599751115, -0.4973411262, 0.8842381835, -0.0698870867, -0.8954740167, 0.3175118566, -0.6003700495, -0.3432921469, -0.0099868979, -0.1359507889, -0.1769533753, -0.2321161479, 0.355360806, 0.5931342244, -0.4259680808, 0.5396764278, -0.4221734405, -0.02184828, 0.431871146, -0.3729425967, 0.9117828608, 0.5124359727, -0.0718401819, -0.1708420217, -0.8255642653, 0.189492926, 0.0918878317, -0.152429834, -0.2892489135, 0.079822056, -0.5491327643, 0.1987325102, 0.0463244766, -0.5541812778, -0.2417749316, -0.3615936637, 0.4126715064, 0.5511137843, 0.1101718321, 0.1786690503, -0.2764191031, 0.467106998, -0.187779814, 0.1445724666, 0.5785281658, -0.6863036156, -0.3734709322, -0.2816752493, 0.1846945733, 0.4882369339, -0.8274965286, -0.0346407816, -0.4191035628, -0.3450185061, -0.155266881, -0.0544170775, 0.3531942666, 0.9892024994, 0.2711680233, 0.2907446921, -0.3730833232, -0.9927024245, -0.3727754951, -0.4365853667, 0.2044550776, 0.5174252391, 0.7443204522, 0.0783427134, 1.2065948248, -0.5394300222, 0.3949113488, -0.380579263, -0.0148705374, 0.3162093461, 0.1531118453, 0.2446479201, -1.2603760958, -0.3013192117, 0.0592357032, -0.8394141793, -0.0675402954, 0.2121867687, -0.3398547769, 0.1767719835, 0.4004523158, -0.7297725081, 0.3097305894, 0.4983977973, -0.2337673306, 0.5909845829, 0.0218420569, 0.2787868977, -1.044958353, 0.1844837815, -0.1209343299, -0.3916525543, -0.7041424513, 0.184133932, -0.0594866052, -0.1276064515, -0.4734104276, 0.6608604789, 0.0105250413, -0.188490808, -0.0759210885, 0.396833241, 0.1056392267, 0.4011059403, 0.1351587921, 0.5780491233, 0.3557217419, -0.7591826916, 0.6745647788, 0.1739884168, -0.3124818504, 0.6508213878, -0.4361431599, 0.1742171645, -0.2794400156, 0.1887298971, -0.9665598273, -0.4804707766, 0.6546518803, -0.7133252621, -0.0687443987, -0.2769506872, -0.5321435928, -0.6678622961, 0.059465874, 0.3562352359, 0.3232359588, -0.9035037756, 0.9708619118, 0.3682097495, 0.0173164345, -0.9051879644, -0.6325576305, 0.1512826383, -0.4213830829, -0.9255721569, -0.1266346872, 0.0684820786, -0.3872738183, 0.1267730743, -0.1532503366, -0.3741815686, 0.2185149044, 0.1212217435, 0.1837203801, -0.1027652472, 0.0877738595, -0.1293426454, -0.2834871113, 0.1597204208, -0.257371366, 0.2346902192, 0.068566747, -0.3379164636, -0.3881330788, 0.3101294339, 0.6093121767, -0.159269765, 0.4562363923, 0.4011469185, -0.4942457974, -0.2181964368, -0.7704665661, -0.1435449123, -0.423669517, 0.2824228108, -0.4721607566, -1.1855260134, 0.6142117977, 0.202129662, -0.0334914625, 0.0937624052, 0.7496575117, -0.0353982598, 1.0019096136, 0.0955582112, 0.0939137563, -0.3656721115, 0.1839032024, 0.8206047416, -0.5416679978, -0.27518484, -0.6565288901, 0.1194437444, -0.3597083688, -0.336384505, 0.2145474255, -0.0024639834, -0.2443873286, -0.0112206778, -0.3461763859, 0.8290858269, 0.3973337412, -0.0185991786, 0.3276835084, -0.2628665566, -0.1785289198, 0.0695860162, -0.8670241833, -0.6314296722, 0.817343533, 0.3746013343, 0.4582227767, 0.3003192842, 0.6190603971, 0.1863961071, 0.411246866, -0.7125133276, 0.8651271462, 0.2814373076, -1.0461629629, -0.5706191063, -0.6501285434, -0.8510184884, 0.2786002457, 0.1863479465, -0.8389550447, 0.0250327624, 0.3738573194, -0.4151129127, 0.2918600738, -0.4523490965, 1.0275228024, -0.0695512444, -0.3782758713, -0.1785297096, -0.8267979622, 0.5533490181, 0.0630278513, 0.5144625902, -0.0792885199, 0.2846461236, 0.8543136716, -0.5493154526, 0.5696510077, -0.3859434128, -0.3087459505, 0.5037438273, 0.0514070429, 0.7548764348, 0.2795289755, 0.0090342006, -0.2317704856, 0.1279088408, -0.2811634839, -0.9442695975, 0.8106004, -0.6199560761, -0.9066343307, -0.2969267368, -0.522862792, -0.5554443598, 0.1958848983, 0.0216656402, 0.4764429927, 0.2613303959, 0.0675531253, 0.8960348368, -0.1541797966, 0.1691057831, 0.3726555109, -0.3801800311, -0.4982754588, 0.8963357806, 0.2538849413, 0.3596324623, 0.2921996117, 0.4911901355, -0.7354730368, -0.6213537455, -0.5406834483, 0.4550675154, -1.0893604755, -0.1005825102, -0.7983525991, 0.148968786, -0.6071930528, -0.2343484163, -0.1272905171, -0.504152596, 0.0626340508, -0.2315948904, 0.2275120318, 0.2637069821, -0.2495673746, -0.2381404638, -0.6991435885, 0.7638312578, 0.7653819919, 0.2522298694, 0.077222243, -0.4078814387, -0.1213304028, -0.0174975265, -0.0416083895, -0.9039496183, 0.0713428035, -0.3884371519, 0.6991571784, 0.114767015, 0.2198729068, 0.6175373793, -0.088544257, 0.7933183908, -0.01639116, -0.7378276587, 0.332174778, -0.3723189235, -0.1126261204, 0.4822596908, 0.739079237, -0.682187736, -0.3455921412, -0.5627146959, -0.5419550538, 0.6236575842, 0.1106692106, -0.0770236701, -0.0265647061, 0.3657848239, 0.0270046182, 0.0552872904, -0.7628257871, 0.0975696594, -0.3433353305, -0.25240013, 0.4091306925, -0.3118492663, -0.511133194, 0.0210739654, 1.0682295561, -0.2311760038, 0.0270589776, 0.3654587567, 0.1199237332, -0.0065837875, 0.4222442508, 0.3808974028, 0.9315056205, -0.100789994, 0.1809396744, 0.4146454334, -0.0317762792, 0.0911655128, -0.0367032103, -0.3118422329, -0.1455159336, 0.127653107, 0.5518773794, -0.1720748693, -0.7169572711, 0.5743830204, 0.0127352178, -0.4440439343, -0.2282878458, -0.0364821926, 0.2629512846, 0.2501648366, 0.1154410318, -0.3197027147, 0.0636669621, -0.5054404736, -0.0142973531, 0.3337985575, -0.3183062673, 0.0507893004, 0.406514138, -0.0294452608, -0.0976451263, 0.7611759901, -0.1564000398, -0.6502574086, 0.4757532179, 0.5914742947, 0.5277232528, 0.2660560608, 0.4771438241, 0.4857684672, 0.0730268583, -0.2472112626, 0.408008337, -0.2290468961, -1.1164306402, -0.6691043377, -0.343600601, -0.4941185415, 0.0124817947, -0.4082980454, 0.0792445168, -0.2246365994, -0.0749058276, -0.1868699044, -0.1708872914, -0.2461915016, 0.574999094, 0.2396945953, 0.9613674283, -0.7302244306, 0.4942170084, 0.4304395914, -0.3182348609, -1.1408737898, -0.1990411133, -0.15556705, -0.838290453, 0.8760530949, -0.0744465515, -0.1740046591, 0.1768691093, -0.865966022, -0.791036427, 0.8807188869, 0.1336925179, -0.2421953231, -0.0194617752, 0.4662793577, 0.0416628867, 0.014798793, -0.0819999054, 0.4985678494, 0.8276205063, 0.4583391249, -0.548176825, 0.3078512251, 0.1978998184, -0.1610859036, 0.1927381456, -0.5874542594, 0.1243104339, -0.3822582364, -0.1868889034, 0.054919485, 0.7290092111, 0.7599244118, 0.7403659225, 0.4661482573, 1.0693018436, 1.1465213299, -0.2165648937, 1.1943577528, -0.1144489199, 0.3285445869, 0.7493028641, -0.3172333539, 0.4456452727, 0.6098574996, -0.0354818366, 0.2362911999, 0.5757484436, 0.2688502669, 0.4792628288, 0.4522702992, -0.1623015851, -0.5936453342, -0.0614794344, -0.3201531172, 0.2395644486, 0.1089612469, 0.0369019844, -0.3169125319, 0.0496791452, 0.5505701303, 0.1158489957, -0.2949033082, 0.2986226082, 0.0126098339, -1.1132129431, 0.5966767073, -0.0529313013, 0.0399359167, -0.5944004059, 0.1358742565, -0.1927963495, -0.235005185, -0.3615139127, -0.9510794282, 0.2588233054, 0.052674789, 0.02867347, -0.2214634567, 0.7744707465, 0.0132286306, -0.2744553387, -0.202082932, 0.4688090086, 0.2681193352, 0.1923021227, -0.6356346011, -0.1617891639, 0.0711628869, -0.3643853366, 0.0441863835, 0.8145506978, -0.1193387806, 0.9197449684, 0.8090581298, -0.0783791989, 0.0289335884, 0.1766800284, 0.6380926371, -0.6312784553, -0.3340193927, -0.8457160592, 0.3913972378, -0.163680464, -0.276389569, 0.8730430603, 0.6345641613, 0.5812003016, 0.1421754062, 0.8329696059, -0.1807823032, 0.6516407728, -0.9084531069, 0.4745009243, -0.5217932463, -0.0555838197, -0.092054911, -0.749614656, -0.7558440566, 0.4762404263, -0.6453914642, -0.0067230701, 0.5988410115, 1.1749533415, 0.1783741564, 0.4248997867, 0.4358028769, 0.1497451067, 0.4984256327, 0.3917228878, 1.1628183126, -0.0269913748, 0.4054634869, -0.0032780785, -0.0314681679, -0.0890463144, -0.9986243844, -0.7168977857, -0.3698760569, -0.4405193031, -0.723574996, 0.3553987443, 0.8976813555, 0.5588408709, -0.5546491742, 0.1126624644, -0.2354476005, 0.4648676813, 0.0720169097, -0.2141144425, 0.3856512606, -0.347435385, -0.32775262, 0.1796765327, 0.1530843377, -0.1501023471, -0.0403968357, -0.3596425653, -0.1000212878, 0.1822079718, 0.3660098016, 0.6682061553, -0.6723495126, -0.6366913915, -0.0695604458, -0.0191366673, 0.0244835168, 0.6798687577, -0.7684211135, 0.2304089963, 0.6853242517, 0.7276824713, 0.2210417986, 0.0755598322, 0.3126517534, -0.2011412233, -0.3406294584, 0.4766030908, 0.1478837579, 0.3287379742, -0.1794198006, 0.5822918415, 0.312505275, -0.8709241748, -0.9888978601, 0.4984967709, -0.9944178462, -0.1762247831, 1.3542604446, 0.0794747695, -0.3594861329, -0.5274736285, -0.1019336656, 0.1372832358, -0.0146567272, 0.694190979, 1.0589646101, -0.0990542546, 0.0301436651, -0.6412937641, 0.4851036072, 0.4093591571, -0.630616188, 0.361405164, 0.6856765747, 0.1764363348, 0.1460618228, 0.87973243, -0.3050695956, 0.411904186, -0.3863109648, -0.4051728249, -0.1831069738, -0.2652541399, 0.3299696147, 0.4591912627, 0.2762279212, 0.0904570073 ]
http://arxiv.org/abs/2403.01384v2
http://arxiv.org/pdf/2403.01384v2
On the Compressibility of Quantized Large Language Models
2024-03-03T03:27:07
2024-05-06T02:29:14
Yu Mao, Weilan Wang, Hongchao Du, Nan Guan, Chun Jason Xue
cs.LG
cs.LG, cs.AI, cs.CL
Deploying Large Language Models (LLMs) on edge or mobile devices offers significant benefits, such as enhanced data privacy and real-time processing capabilities. However, it also faces critical challenges due to the substantial memory requirement of LLMs. Quantization is an effective way of reducing the model size while maintaining good performance. However, even after quantization, LLMs may still be too big to fit entirely into the limited memory of edge or mobile devices and have to be partially loaded from the storage to complete the inference. In this case, the I/O latency of model loading becomes the bottleneck of the LLM inference latency. In this work, we take a preliminary step of studying applying data compression techniques to reduce data movement and thus speed up the inference of quantized LLM on memory-constrained devices. In particular, we discussed the compressibility of quantized LLMs, the trade-off between the compressibility and performance of quantized LLMs, and opportunities to optimize both of them jointly.
[ -0.2847763598, -0.7949155569, 0.6171386838, 0.1000779942, -0.2942658067, 0.2019332051, -0.2441101372, -0.4205504656, 0.0118518434, 0.4630039632, -0.2817395926, -0.3402330577, -0.526533246, -0.1769826412, -0.4175984561, 0.4132446349, 0.0234968103, -0.2637267113, -0.3882652223, -0.024377143, -0.0696525201, -0.9907972813, -0.689706862, -0.0672744885, -0.0499153212, 0.0741674602, 1.1296223402, 0.9333189726, 0.3898426294, 0.3019359708, -0.2729709148, -0.2720547616, -0.4253869653, 0.3010325432, 0.2008464783, -0.6972590685, -0.4402610958, -0.2619941831, 0.630502224, 0.851586163, -0.3390720487, 0.1536949724, -0.0620857179, 0.6410086155, -0.7908192277, -0.1137354523, -0.4048268497, 0.1478278339, -0.1813519448, 0.0007435666, -0.4185896516, -0.4427781403, -0.0092643807, -0.4553548396, 0.1172158569, 0.1369653642, 0.6957237124, 0.6757258177, -0.5774592161, 0.0101882461, -0.992844522, 0.9262279272, -0.6715172529, 0.5890059471, 0.4404368103, 0.1574655771, -0.0760095567, -0.6762880087, -0.5563158989, 0.1485907435, 0.2151343524, -0.3425483108, -0.2402047515, 0.2397836447, 0.5898885131, 0.6126547456, -0.6418023705, 0.2078457624, -0.1211206615, -0.1994305551, 0.6514508128, 0.060909953, 0.2111289501, 0.1410223544, -0.1759113222, 0.0187881552, -0.9577348232, 0.0333743282, 0.2240203917, -0.072882466, -0.1133247018, 0.4178323448, -0.3216753602, 0.8836758137, -0.2571108937, -0.4513086081, -0.0663342923, -0.2852205634, -0.3517177701, -0.0739806816, 0.7546461225, 0.306720525, 0.1995616108, -0.0604400001, -0.2089947015, -0.003495967, -0.166907683, -1.1632413864, -0.1741322577, 0.5360476375, -0.686294198, 0.1348650008, -0.3647581041, -0.4650788605, -0.2008755207, -0.0793680325, 0.4752682745, -0.2242820263, -0.065325819, 0.4308960438, 0.1663365066, -0.2104377449, 0.2243942767, -0.9120426774, 0.4568511546, 0.6270158291, 1.1155591011, -0.0039824233, 0.3714605868, -0.6341612339, 0.2390410453, -0.0266654976, 0.451115638, -0.3639748693, -0.5236692429, -0.0331726559, -0.3274844587, -0.0257380456, -0.5966791511, 0.7453629971, -0.6271311641, -0.3931077123, 0.0875230655, -0.6969904304, -0.2147751898, -0.0355964489, -0.8701803684, 0.7918733358, 0.116394043, -0.452783972, -0.1078315973, 0.0567449182, -0.496881485, -0.1216263622, 0.0068804063, -0.5419462323, 0.4006192684, 0.2460688204, 0.630785346, -0.4805619419, 0.1367904544, -0.478728652, -0.6611633301, 0.4606332183, -0.3717496693, 0.7664016485, 0.3748381734, 0.0234791469, -0.4598064423, -0.7229858637, 0.2736726999, -0.0964611918, -0.5082572103, -0.5015854239, 0.2638140917, -0.3593732417, 0.0376135223, 0.1646490842, -0.3375168443, 0.5523204207, -0.1712304503, 0.7627213597, 0.3658261895, -0.2251185626, 0.4300511181, -0.124648422, 0.6142061949, -0.1738184094, 0.2985724509, -0.096448943, -0.0548522472, -0.7773355842, -0.5170145631, 0.5648717284, 0.6661366224, -0.9301770329, 0.1785421818, -0.5505442023, -0.3476616144, -0.5145328045, 0.0363105051, 0.2518077195, 0.0179082621, -0.0323904715, 0.1751614064, -0.360575527, -0.6782822013, -0.1003151089, -0.0487968512, -0.0689452365, 0.1700443029, 0.221352905, 0.0746139139, 0.7548817396, -0.5336746573, 0.2066997439, 0.0461558104, 0.1790829599, 0.2977485955, 0.5746029019, 0.1549975872, -0.9572033286, -0.446193397, -0.2432131469, -0.604663372, -0.4522710443, -0.0602980219, 0.3701755404, 0.2922799587, 0.7200108767, -0.9808958769, 0.6010733843, 1.0653045177, -0.1275890023, 0.3835296333, -0.206066519, 0.0847925693, -0.806884408, -0.3349651098, -0.1453657299, -0.5202710032, -0.6523007154, 0.0873260722, 0.0135153737, -0.373589009, -0.532363236, 0.4441428185, -0.705263257, -0.2390615344, -0.1533025354, 0.0268893559, 0.1020538583, 0.2251378894, 0.140714854, 0.9858440757, 0.6802646518, -1.0322706699, 0.030987164, 0.0150148943, -0.3173622787, 0.4535934925, -0.7486124635, 0.1125997156, 0.1420831233, 0.3070892096, -0.5232266188, 0.1906495988, -0.0671314076, -0.1463022232, 0.2190617174, -0.3391908705, -0.9487684965, -0.2132870406, -0.3655057251, 0.7111033797, 0.7399219871, -0.6060205102, 0.6024822593, 0.4070500135, -0.1297057271, -0.2293329388, -0.8095377684, 0.0794666037, -0.4760136008, -0.7437974811, 0.6392789483, -0.219482094, -0.5450244546, -0.0741510689, -0.0222830493, -0.0995362252, 0.2468620986, 0.4771299362, -0.0242040474, -0.0689305812, 0.3976273537, 0.2259925902, -0.1417789906, -0.1141049787, -0.3084987104, 0.6098384857, -0.0430389754, -0.2018091977, -0.4552558661, 0.3224108815, 0.3142934144, 0.0372048356, 0.8334065676, 0.3457312584, -0.2194996029, -0.1328180134, -0.4549902976, -0.0199775677, -0.5212833881, 0.1498744041, -0.5577851534, -1.0809658766, 0.4920848012, -0.450935632, -0.3859203756, 0.0932944492, 0.446778506, 0.0149380527, 0.9579774737, 0.4986650646, 0.018146662, 0.3850125074, -0.3677030206, 0.3629346192, -0.904303968, 0.214792341, -0.6533394456, -0.2717139125, -0.7231864333, -0.6203922629, 0.524615705, 0.5008754134, -0.0916562304, 0.1901944876, -0.3467303514, 0.3981240392, 0.3536631763, 0.1276259422, 0.5548950434, 0.0647918954, 0.2853196859, 0.0876817182, -0.8323417902, -0.2984830439, 0.960930407, 0.4184494317, 0.9793556333, 0.3419708908, 0.5006908178, 0.0864510834, -0.2297762781, -0.7397376299, 0.7713733912, -0.3394342959, -0.2852170169, -0.303447783, -0.688398242, -0.8881284595, 0.2957265675, -0.1011374295, -1.0658382177, 0.1309809983, 0.0514709577, -0.7092075348, 0.2983828783, -0.7049602866, 0.4026274979, -0.030916689, -0.5549363494, -0.2682317495, -0.4627557695, 0.290168792, -0.0606836751, 0.4248944819, -0.1274316758, -0.28469643, 0.6428400278, -0.9052679539, 0.728456378, -0.1070931852, -0.3429932892, 0.3810222745, 0.2488463819, 0.529147923, 0.0772016868, -0.1703452617, 0.2941987514, 0.2090933025, -0.4290877879, -0.7953807116, 0.6169329882, -0.3972778618, -0.5322777033, -0.142000109, -0.7799255848, -0.1793949306, -0.125265792, 0.3336521983, 0.4918784499, 0.1714558005, 0.1584022045, 0.997097075, -0.390714854, 0.8915446401, 0.2928901613, -0.2860590219, -0.3549790084, 0.9664245248, 0.406678319, 0.4373920262, 0.5458134413, 0.1422835439, -0.1970605254, -0.7550902963, -0.3120078743, 0.1046508849, -0.4334190488, -0.2301817387, -0.5705631375, -0.1588553637, -0.2625499964, -0.1628067642, -0.5329911113, -0.7640228271, -0.31758672, 0.2375605255, 0.4057990015, 0.2476501167, -0.1427133381, 1.0514265299, -1.0166705847, 0.192065835, 0.122019507, 0.1029008627, -0.0043777502, -0.4594503641, -0.6135383844, 0.0111096492, -0.1365834177, -0.4503517449, 0.3641868532, 0.3128971457, -0.0331729352, 0.3200645149, 0.1954717934, 0.7392822504, -0.1255962104, 0.684335351, -0.1119218096, -1.2248110771, 0.1981378347, -0.1101347208, 0.267174542, 0.2988567054, 0.5299960375, -0.1824219823, -0.1067208797, -0.5110488534, -0.8318966627, 0.1048370823, 0.0922946334, 0.2153214663, 0.2500503659, 0.4998149574, 0.0193075575, 0.3314313591, -0.7143870592, -0.0526688062, 0.4110247791, -0.1267762482, 0.1345205158, -0.4748623371, 0.3009470403, -0.2202109843, 0.5283957124, -0.0262452494, 0.3165886104, 0.1163223907, -0.2622305751, 0.1766226739, 0.1537733525, 0.5010733008, 0.2115313262, -0.0765870586, 0.3628219068, -0.0515704341, -0.4645522535, 0.433188498, 0.0578771718, -0.3915309608, 0.0049271393, 0.3347225487, 0.9398012161, 0.0714674369, -0.6667224765, 0.2987371087, -0.1685008705, 0.0987716019, -0.1491942853, -0.0095495749, 0.0517820641, 0.4345551431, 0.2704967558, -0.5005645752, 0.2285603583, -0.4579052627, -0.0145911276, 0.6129567623, 0.0825522542, -0.2285778224, 0.4952559471, 0.1233481392, -0.3260647357, 0.6391653419, -0.2904368937, -0.4327087402, 0.3426146209, 0.4817498922, 0.5959149599, -0.3249049783, -0.0998682976, 0.181010738, 0.0506621227, -0.2925367057, 0.2693369091, -0.2577174902, -0.5459218621, -0.9090908766, -0.3615908027, -0.2744663954, -0.0361814015, -0.5724058747, 0.1003907695, -0.2201047093, -0.5083805919, -0.4656349421, 0.0381750986, -0.2883338034, 0.2370646596, 0.1288949698, 0.8329547048, -0.5767234564, 0.9285335541, -0.0117777279, 0.1163329706, -0.7787109017, 0.1336476952, -0.1697036475, -0.645483017, 0.7668753862, -0.0473869964, 0.0264869612, 0.2908466458, -0.5368881822, -0.9173178673, 0.9955858588, 0.577737987, -0.8927280903, -0.0012711709, 0.2697341442, 0.3781794012, 0.1282906234, 0.3073958457, 0.5057136416, 0.2857354283, 0.0661464632, -0.9498022795, 0.2550057471, 0.1010022238, 0.1021643206, 0.4667751789, -0.8327205777, 1.0323400497, -0.1215404496, -0.3454365432, 0.1479473859, 0.5492453575, 0.2597441375, 0.26526618, 0.3927890658, 0.9568503499, 0.7780069709, -0.0147503344, 1.2410240173, -0.370333612, 0.4244436622, 0.8704084158, -0.2854433656, 1.0130801201, 0.6256439686, -0.4303616285, 0.2371862829, 0.7827219367, 0.2350571007, 0.3434762359, 0.6146250367, -0.6122950315, -0.1674635112, -0.3207503259, -0.3069892228, 0.2591575384, 0.2942472398, -0.0595765673, 0.0189268645, 0.1813043058, 0.2242910117, -0.1545031369, -0.4043219984, 0.4024263322, 0.3292791843, -0.343852222, 1.014046073, -0.0509746149, 0.6252347231, -0.0440285467, 0.1673741341, -0.2128717005, -0.1260516196, -0.170615539, -0.457528919, 0.4292791188, -0.2239234895, -0.1269132793, -0.4059827328, 0.5501664877, -0.3096188903, -0.3655721247, 0.1471561491, 0.5561687946, 0.3158169985, -0.4987131357, -0.280908227, 0.6415334344, -0.1493840218, -0.5108623505, 0.4761323333, 0.5335588455, -0.0939732194, 1.2421233654, 0.552846849, 0.2449233085, 0.0059034214, -0.2916055322, 0.7755838037, -0.6363294125, -0.3518356979, -1.1848018169, 0.2234530896, 0.1924657375, 0.2153047919, 0.5301591158, 0.6810081005, 0.4698127508, 0.0511772372, 0.6596682668, -0.068513684, 0.3754635751, -1.0928587914, 0.5336917043, -0.4828962684, 0.5818097591, 0.0719690993, -0.7315340042, -0.2630885541, 0.477404952, -0.1450889558, -0.062044356, 0.8573797345, 0.7545742393, 0.2055407763, -0.2808759809, 0.4906011224, 0.1482865214, 0.0927926749, 0.9598365426, 0.6409624815, -0.5807667375, 0.5686190724, -0.4417584538, -0.0163604282, -0.2092090696, -1.1623258591, -0.7622313499, -0.6251395941, -0.7671462297, -0.3222271502, -0.0440685079, 0.5075953603, 1.1093629599, -0.2647966743, -0.3390010893, -0.1332808733, 0.3330914676, 0.0147746485, -0.206870079, 0.3396285474, 0.3076047897, -0.8447359204, 0.2413982451, 0.2481202632, 0.4418850243, -0.1698612273, -0.0097480379, 0.0408320203, 0.0578259937, 0.6480844021, 0.302313298, -0.2889734805, 0.0466227084, -0.1459887773, -0.116122216, -0.0112456614, 0.9105679393, -1.0448987484, 0.0224533677, 0.4556011856, 0.5558283329, 0.6577609777, 0.0738184229, 0.6437295675, -0.6264107823, 0.4541069269, -0.0268140305, 0.1758902222, 0.1660043001, -0.5149264336, 0.7024556398, 0.1744817495, -0.7280324101, -1.1116662025, 0.201830402, -0.9806649089, -0.3002293706, 1.213950038, -0.1738352776, -0.3762149513, 0.018986918, -0.0457564965, 0.240197733, -0.2129060179, 0.5982525349, 0.6215574145, -0.2158503383, -0.4907862246, -0.9063826799, 0.4026372135, 0.4088639319, -0.8058180213, 0.1129674762, 0.1716388315, -0.1960586905, 0.014171904, 0.5401841998, 0.2384583652, -0.1200852245, 0.1235097721, 0.2319711596, -0.019142976, 0.0964635462, -0.6375587583, 0.108787477, 0.0556850135, -0.2232910395 ]
http://arxiv.org/abs/2403.01382v1
http://arxiv.org/pdf/2403.01382v1
Automatic Question-Answer Generation for Long-Tail Knowledge
2024-03-03T03:06:31
2024-03-03T03:06:31
Rohan Kumar, Youngmin Kim, Sunitha Ravi, Haitian Sun, Christos Faloutsos, Ruslan Salakhutdinov, Minji Yoon
cs.CL
cs.CL
Pretrained Large Language Models (LLMs) have gained significant attention for addressing open-domain Question Answering (QA). While they exhibit high accuracy in answering questions related to common knowledge, LLMs encounter difficulties in learning about uncommon long-tail knowledge (tail entities). Since manually constructing QA datasets demands substantial human resources, the types of existing QA datasets are limited, leaving us with a scarcity of datasets to study the performance of LLMs on tail entities. In this paper, we propose an automatic approach to generate specialized QA datasets for tail entities and present the associated research challenges. We conduct extensive experiments by employing pretrained LLMs on our newly generated long-tail QA datasets, comparing their performance with and without external resources including Wikipedia and Wikidata knowledge graphs.
[ -0.6590688825, -0.8817687631, 0.7029946446, -0.0413779989, -0.2225890309, 0.1061039045, -0.1506055295, -0.3837510049, 0.3246051669, 0.8657850027, -0.8090786934, -0.5531169772, -0.2005607784, 0.4309533238, -0.2457053214, 1.043590188, -0.1149108186, -0.3338077366, -0.1799564213, -0.1435501128, -0.4423353076, -0.4515282214, -0.6757723093, 0.170018211, 0.4624929726, 0.4490927458, 0.604391098, 0.3045464754, 0.2496868223, 0.1589549035, 0.3095293343, 0.4601918161, -0.5580475926, 0.1429000497, -0.1943902075, -0.2732859552, -0.4234156311, -0.3118496835, 0.7400348783, 0.8185662627, -0.0547890775, 0.4650329947, -0.2085038126, 0.6972599626, -0.5517615676, 0.089183256, -0.9616946578, -0.2452203035, -0.3872097731, -0.1619806141, -0.1250169724, -0.5623756647, 0.1923923641, -0.9582653642, 0.2588483691, 0.0990899131, 0.9104189873, 0.3458307087, -0.5566529632, -0.5218906999, -0.6372705698, 0.5954788923, -0.7677959204, 0.3008239865, 0.1310918182, 0.2394038439, -0.2843798399, -0.6792917848, -0.6437273622, 0.1234701127, -0.0214050412, -0.0960627869, -0.1628613472, -0.1884203553, 0.3097527027, 0.1035139486, -0.7304208279, 0.2611943185, -0.4211729765, 0.2114864588, 0.824924469, 0.390918225, 0.1052123755, -0.2119592577, 0.1217106953, -0.1161397919, -1.0457133055, 0.0814386755, 0.505407393, 0.1293469965, 0.4597513676, 0.6864162683, -0.4557801187, 0.8307273984, 0.1776355505, 0.1460929662, 0.3300014436, -0.0832746327, -0.0407260023, -0.2142917365, 0.8566214442, 0.2840288281, 0.6310759187, -0.3552233279, -0.3907208145, -0.6437072158, 0.1534143537, -0.785882175, -0.1443638653, 0.373862654, 0.0255249087, -0.0279237237, -0.1657375246, -0.7779195905, -0.0944265872, -0.2760107815, 0.7094519138, -0.2407274693, -0.4838770032, 0.1312389821, 0.0934050903, 0.33173576, 0.0550412312, -0.516659677, 0.4521621168, 0.2833881676, 0.293725729, -0.5706219673, -0.2210246325, -0.7134503126, 0.2408392131, -0.5341079831, 0.76039505, -0.3362542093, -0.2558290958, 0.1259844005, 0.1292250305, -0.0926925018, -0.6980982423, 0.0883100852, -1.1074761152, -0.028699493, -0.3043188453, -0.751318872, -0.0518863201, 0.0614521392, -0.8842785954, 0.868380487, 0.2500107884, -1.0744899511, 0.2530152202, -0.6894672513, -0.3642978668, 0.1491336226, -0.2524676323, -0.3510472775, -0.132965818, 0.628923893, 0.608432591, -0.3333469331, 0.3785554767, -0.0507663265, -0.1512065083, 0.3408635259, 0.0646679029, 0.6826820374, 0.0745984614, -0.1230233759, -0.0240772497, -0.9650455713, 0.3479133248, 0.4556268752, -0.0292228311, -0.5601194501, 0.0154917762, -0.3881231844, -0.0734854564, 0.3274445832, -0.4401994348, 0.2234672606, -0.2936472595, 0.2578990161, 0.6938018799, 0.4218995869, 0.1779082716, -0.1306020021, 0.6899678707, 0.1488648653, -0.1063333899, 0.0052714944, -0.2370032817, -0.7596045732, 0.0824415609, 0.304604739, 0.5148671865, -0.9894371033, 0.4692271352, -0.4945006967, -0.3928979933, -0.3902518153, 0.321823597, 0.1496133655, 0.5209354162, 0.4299219251, -0.1333987415, -0.4237440228, -0.9170538783, 0.0392774902, -0.0215701722, -0.1543889642, 0.5890799165, 0.5833513737, -0.0011136188, 1.2273128033, -1.0504626036, 0.0064866114, 0.0895110816, 0.1289618462, 0.1347663403, 0.2090127021, 0.432814151, -0.5748272538, -0.329364866, -0.4104301333, -0.7604630589, -0.047388915, 0.0207340363, -0.2871504128, 0.1413798332, 0.4275188744, -0.8886627555, -0.0625991598, 0.3055085242, -0.0138044534, 0.8532937765, -0.0033550733, 0.0982257798, -1.065341115, 0.2073468715, -0.0927049145, 0.0317091718, -0.451696068, 0.0970410481, -0.0233969614, -0.2265000194, -0.411911428, 0.6182536483, -0.5256327987, -0.1723711789, 0.1124886647, 0.2297665328, -0.1555551589, 0.5196222067, 0.3966976702, 0.8856173158, 0.4303978682, -0.9818766117, 0.3479434252, 0.2935372591, -0.126404658, 0.2737541497, -0.8745697737, 0.3968369067, -0.1237251014, 0.1294632107, -0.5461791754, -0.4324910939, 0.1309481263, -0.1964875162, 0.2138887495, -0.156122908, -0.655605793, -0.549175024, -0.0255108066, 0.4302630126, 0.7662258744, -0.437673986, 0.3601560295, 0.4508461356, -0.4840036929, -0.6608729362, -0.0214298069, -0.0785255656, -0.2253802568, -0.8963591456, 0.105954811, -0.1692590863, -0.1813526154, 0.0050097466, 0.1641171277, -0.3272111416, 0.0573624335, 0.0531299114, 0.0631059334, -0.479837507, 0.566336453, 0.2022118419, 0.2441961914, 0.4584137499, -0.3919389844, 0.3432058394, -0.1588566154, -0.3610275388, 0.0992880613, 0.4068152308, 0.1444052458, -0.6173236966, 0.4860967696, 0.3133819401, -0.2679810822, -0.5320459604, -0.63604635, -0.2262954712, -0.4453433156, 0.4324384034, -0.3521866202, -0.7936859131, 0.4678965509, 0.1274293959, 0.3716980815, 0.5006195307, 0.4759473503, 0.0100461552, 0.8349340558, 0.4556138515, 0.2343512475, -0.066911228, -0.2228371948, 0.0093136402, -0.4356380999, 0.0153038967, -0.4548367262, 0.274730742, -0.5318849087, -0.3083217144, 0.4780404568, 0.1443964243, -0.3642168045, 0.0621421374, -0.4707501531, 0.4475007951, 0.5969750881, -0.0151110087, 0.5380516052, -0.0909889042, 0.2371359318, 0.3363422155, -0.5642367601, -0.5958123207, 1.486177206, 0.1203731447, 0.831189096, -0.1354621798, 0.9431412816, -0.0938669518, 0.1508570015, -0.4766823649, 0.495190531, -0.0105989454, -0.5239490867, -0.7495277524, -0.5677960515, -1.1007094383, -0.2489529848, -0.1298002303, -0.1655571014, -0.1728421748, 0.1110291258, -0.5192320943, 0.2199315578, -0.4895369112, 0.6463837028, -0.3060074151, -0.0531949475, 0.1163941771, -0.6237655878, 0.6486701965, -0.6181789041, 0.015219504, -0.039949622, 0.0814483464, 1.2182596922, -0.2974548638, 0.5720071197, -0.3486901224, -0.4164640903, 0.671007812, -0.0585333146, 0.6568351984, 0.2273681909, 0.0291973613, -0.1860286444, 0.254540354, -0.3579701483, -0.5266317725, 0.3573057652, -0.8341963291, -0.7934741378, -0.0846110284, -0.5350103974, -0.7542621493, 0.2188448757, 0.1969143897, 0.1441257894, -0.2789411545, -0.1613214165, 1.1068102121, -0.4276560545, 0.1328628212, 0.8692772985, -0.29069525, -0.2217440456, 0.917737484, 0.3479584455, 0.0639336556, 0.1955934167, -0.1228788942, -0.4358699322, -0.7056464553, -0.7182582617, 0.3591129482, -0.5588688254, -0.3135490417, -0.7658492327, -0.4809742272, -0.2800247669, 0.2702484429, -0.2025989443, -0.36815238, -0.3833535314, 0.0082954736, 0.6568713188, 0.7858928442, 0.1435071528, 0.1455286741, -1.087146759, 0.6213616729, 0.7532533407, 0.1872843206, 0.0699168891, -0.1427971423, -0.2968424857, 0.1798821539, -0.1387923062, -0.8230773211, 0.2859749198, 0.2345171422, 0.520796299, 0.0866570771, 0.4790230691, 0.5108386874, -0.6703950763, 0.7766380906, -0.0174580608, -0.5762286782, 0.566716969, -0.4192278087, 0.026942445, 0.4014629722, 0.9303278923, -0.1102790013, -0.6030629277, -0.6634396315, -0.8899872899, 0.2589392066, 0.2407714427, 0.1971949637, -0.1934836656, 0.4987094402, 0.5204213858, 0.3261246383, -0.4768433869, -0.0965485498, -0.1405960768, -0.2438934147, -0.0260466076, 0.0027288627, -0.0862255022, 0.1562502831, 0.6579860449, -0.2990068495, -0.1649681628, 0.1036618873, -0.4026526213, -0.2510142922, 0.2880787551, 0.0918255895, 1.1756654978, -0.2680976391, -0.1033406854, 0.2346663624, -0.2720320821, 0.2043395191, 0.1773903221, -0.3290894628, 0.0135965152, 0.0797903687, 0.4691307247, -0.2977719605, -1.0020010471, 0.4315058589, -0.0410151109, -0.2127284408, -0.7195385098, 0.1488596946, 0.3400375545, 0.0204640608, 0.7880898118, -0.7061958313, -0.1725387424, -0.1921958923, 0.3536960781, 0.4923307896, 0.179012835, -0.2139625549, 0.3769156337, 0.3498288989, 0.0560720004, 1.0178490877, -0.1658617556, -0.3082182705, 0.6469978094, 0.2558427155, 0.5137398839, 0.0216338243, 0.1465529352, 0.4142288566, 0.1343733221, 0.0958815888, 0.2972524762, 0.2138558328, -0.621031642, -0.7312905788, -0.7289191484, -0.4550512433, 0.5124842525, -0.7644023299, 0.1322684437, -0.1372479796, -0.0601287, -0.2044608444, 0.0726633742, -0.9820904732, 0.4351083636, -0.115003027, 0.8975139856, -0.6729813218, 0.5818027258, 0.6290803552, -0.7416307926, -0.9103511572, 0.0755762458, -0.8248206377, -0.7829265594, 1.0196563005, -0.2068092078, 0.0163868312, 0.4234075844, -0.7310286164, -0.8051906824, 0.956797719, 0.3070033193, -0.6347708702, -0.7542747855, 0.4098044336, 0.4116042554, -0.2942693233, 0.0953745544, 0.5213029385, 0.3813482225, -0.2406482697, -0.9618352056, 0.1830809265, -0.0790171251, -0.3924588859, 0.1408132911, -0.5786365271, 0.8253589869, -0.3436396122, -0.1155646294, -0.0591831431, 0.9138188362, 0.4527628422, 0.0695382506, 0.6349841952, 0.4983390868, 0.7924690247, 0.2986983359, 0.4806168675, -0.3564407825, 0.1247659549, 1.1334123611, -0.3875308931, 0.9377219081, 0.3458201289, -0.1921223402, 0.4259898961, 0.7969610691, -0.1192011237, 0.2232343405, 0.5638955832, -0.1048008054, -0.5684624314, 0.2300991416, -0.5228090882, 0.2532660663, 0.2603282034, -0.0845863745, -0.3296898603, -0.0984929949, -0.2514177263, -0.1167612076, -0.359561801, 0.8600122333, 0.1748676747, -0.8943358064, 0.8229165077, -0.1367012262, 0.6849756837, -0.7697588205, -0.0750408396, -0.2434589565, -0.365329355, -0.2074841857, -1.0820041895, 0.2125153691, 0.2844443023, -0.0498399027, 0.243283689, 0.507420361, -0.3142051697, -0.3808256984, -0.0072417636, 0.9964042306, 0.3050857484, -0.2679938078, -0.4076847434, -0.4930059314, -0.2335615158, -0.4714360535, 0.3422849178, 0.6943784952, -0.2177340239, 0.863961041, 0.5491505265, 0.0269420203, 0.4199900329, -0.2630325854, 0.9200531244, -0.6269909143, -0.4277764261, -0.2393977791, 0.3154633045, 0.0170462411, -0.2704502642, 0.4391105771, 0.5216870308, 0.8176229596, -0.3461697102, 0.929540813, -0.0460356958, 0.8868229985, -0.8149875998, 0.9485176802, -0.6112618446, 0.0656027123, -0.022073254, -0.7470679879, 0.2191505432, 0.1013133451, -0.1203681901, -0.0537273474, 0.5537352562, 0.7988620996, -0.0076290481, -0.2605345249, 0.1078318134, 0.1008119062, 0.2226386666, 0.8824829459, 0.8838391304, -0.200396046, 0.8326359391, -0.3090338409, 0.220611468, 0.0446693003, -0.84695822, -0.9969310164, -0.7558795214, -0.3396959007, -0.2363010645, 0.2026989907, 0.7677807808, 0.4689562321, -0.7678930163, -0.1147518903, 0.010924588, 0.1465313137, 0.1323683411, -0.3058308661, 0.8629691005, -0.4849655628, -0.5627700686, 0.1751279831, -0.4736902118, 0.0283133779, -0.4567610621, 0.0221615359, 0.0880519524, 0.0800074041, 0.3422430158, 0.4298602045, -0.3936148882, -0.230884552, 0.2276484817, 0.0058206832, 0.0831659436, 0.6711899042, -0.8967829347, -0.1588281393, 0.3127821982, 0.8596242666, 0.4230887294, 0.0175370667, 0.7079563737, -0.7448409796, -0.4546883702, 0.5358973742, 0.0043393793, 0.1521857977, -0.297986418, 0.4510351121, 0.0114311352, -0.4898021519, -0.8906096816, 0.2125072479, -0.7690344453, -0.2182591408, 1.2359906435, -0.2043852955, -0.2646762729, -0.192558378, 0.053388454, 0.3022854328, -0.2219345272, 0.5389606357, 0.38011235, -0.1602537483, 0.0313188583, -0.5372456908, 0.6533928514, 0.0478275232, -1.1108601093, 0.2364620566, 0.5347932577, 0.9033787847, -0.0672212243, 0.6990122795, 0.0999685973, 0.2450543344, -0.1971917003, 0.1858078539, -0.3175036311, -0.0581479184, 0.1752878875, 0.376483798, 0.3125217557, 0.0917963758 ]
http://arxiv.org/abs/2403.14666v1
http://arxiv.org/pdf/2403.14666v1
SyllabusQA: A Course Logistics Question Answering Dataset
2024-03-03T03:01:14
2024-03-03T03:01:14
Nigel Fernandez, Alexander Scarlatos, Andrew Lan
cs.CY
cs.CY, cs.CL, cs.IR, cs.LG
Automated teaching assistants and chatbots have significant potential to reduce the workload of human instructors, especially for logistics-related question answering, which is important to students yet repetitive for instructors. However, due to privacy concerns, there is a lack of publicly available datasets. We introduce SyllabusQA, an open-source dataset with 63 real course syllabi covering 36 majors, containing 5,078 open-ended course logistics-related question-answer pairs that are diverse in both question types and answer formats. Since many logistics-related questions contain critical information like the date of an exam, it is important to evaluate the factuality of answers. We benchmark several strong baselines on this task, from large language model prompting to retrieval-augmented generation. We find that despite performing close to humans on traditional metrics of textual similarity, there remains a significant gap between automated approaches and humans in terms of fact precision.
[ -0.1575797498, -0.8190147281, 0.4227007926, -0.2746402025, 0.1150711179, 0.0563835874, 0.1813943237, -0.4963726699, 0.1246938556, 0.4798505902, -0.8720389605, -0.4458866119, 0.0910761058, -0.0079935929, -0.7323242426, 1.2513381243, 0.1078846008, -0.2663069069, -0.5695027709, -0.367328614, -0.6065046191, -0.6811555028, -0.6492646337, -0.0459104143, 0.574586153, 0.3017653525, 0.8984286785, 0.5212000608, 0.532245338, 0.1899746954, 0.0211270843, -0.1161602288, -0.301358968, 0.082724914, -0.3166740239, -0.6280084252, -0.5908061862, -0.1270376593, 0.6278346181, 0.8824436069, -0.685031116, 0.8588053584, 0.0409496874, 0.5278282166, -0.8792803288, 0.0243922938, -0.3582734466, -0.1144349501, -0.2914757729, 0.1714570969, -0.3958353698, -0.5892994404, 0.4167554379, -0.9606354833, 0.3817550242, 0.0988263562, 1.0709195137, 0.471501112, -0.4368953407, -0.4373653531, -0.6392418146, 0.7098571062, -0.3813004494, 0.3448108137, 0.7452659607, 0.4705120921, 0.0502726622, -0.7151917219, -0.4681977928, 0.1682590842, -0.2116715014, 0.2547953427, -0.1448304355, 0.1890913695, 0.1037761047, 0.3683486581, -1.0035796165, 0.0041784742, -0.6753631234, -0.1724056453, 0.8144019842, 0.6035865545, 0.2538320124, -0.2717998326, -0.2978157401, -0.299950242, -0.4057316482, 0.2188581377, 0.4458476901, -0.1200527251, -0.1648875624, 0.3660357893, -0.5197626948, 0.9156380892, -0.483826369, 0.1485217214, -0.0668390319, -0.3263257444, -0.4330652356, 0.0441104434, 0.4704125226, 0.4130021632, -0.1346192211, 0.0104008494, 0.0549461879, -0.15124394, 0.3729328513, -0.2144091278, -0.5402413607, 0.5322461724, -0.1560940295, -0.027150223, 0.0192119926, -0.8221924901, -0.2250758559, -0.3168466389, 0.5958140492, 0.0200975761, 0.1517212838, 0.1441507339, -0.0994491652, 0.4374870062, 0.7200950384, -0.5129804611, 0.2916700542, 0.5401036143, 0.7630950809, -0.0495797247, -0.0805202946, -0.5810690522, 0.2092558891, -0.3315032721, 0.7158324122, -0.2241851836, 0.0059591061, -0.0320324302, 0.115156427, 0.187242046, -0.548794508, 0.4820583165, -0.6594462991, 0.6017654538, -0.2411936224, -0.5854842663, -0.5179902911, 0.2766302526, -0.8616383076, 1.3055847883, 0.1089422479, -0.3231725991, 0.229491815, -0.5420688391, -0.146323815, 0.3394303322, -0.2601936758, -0.2965647876, -0.3877146244, -0.0509925485, 0.525994122, -0.4812726974, 0.5807567239, -0.1122389957, -0.2272586673, 0.2416347116, -0.4231797457, 1.2627294064, 0.1309628189, -0.0838775188, -0.1938055456, -0.7300795913, 0.102328904, -0.217176795, -0.4003066719, -0.2961686552, -0.1446632892, -0.0035396304, 0.0861338526, 0.2884224057, -0.4027473927, 0.1063858494, -0.2812567949, -0.0066452827, 1.0465909243, -0.1834735572, 0.108222723, -0.7272607684, 0.8393124938, -0.1094017625, 0.2897748649, 0.0975229815, -0.7553209066, -0.8677431941, -0.0438476242, 0.1251095682, 0.6729863882, -0.6493346691, 0.2870656252, -0.1783549339, -0.7060979009, -0.6787828207, 0.1958853155, 0.2865539491, 0.5063486695, 0.4145624638, -0.383245796, -0.3997374177, -0.7071715593, -0.0535890907, -0.6410384178, -0.1535796672, 0.0682099238, 0.3830546141, 0.2928426564, 1.0874152184, -0.9866454005, -0.0289586168, 0.098122783, -0.0867508277, 0.2257508785, 0.2017964274, 0.3703757226, -0.5510262251, -0.000722094, -0.248100549, -1.0773237944, 0.2054724097, -0.2679382563, -0.4754622877, 0.2798466682, 0.1159548983, -0.8086674809, 0.6577359438, 0.2565874755, -0.4215571582, 0.4682523012, -0.124577634, -0.1034796163, -0.9643532038, 0.2759552598, -0.1401696652, 0.0294969156, -0.5315764546, 0.0683061033, -0.1041484252, -0.27254498, -0.281128794, 0.5952190757, 0.0680765435, -0.2726017535, 0.2811455727, 0.1928017288, 0.1144242063, 0.3971762657, -0.1094842777, 0.7551409006, 0.2881066203, -0.6247105598, 0.8012732267, 0.6574448347, -0.2965145111, 0.6039167047, -0.5757743716, -0.0492423549, -0.4053224325, 0.5439420938, -1.0248123407, -0.3056830764, 0.3283379376, -0.1712616533, -0.4831543863, 0.0018519573, -0.528200984, -0.2685968578, -0.0259312689, 0.3440654576, 0.4786967933, -0.3912595809, 0.3413356841, 0.1529209912, -0.359375447, -0.811555922, -0.3671783805, -0.1309366226, -0.1325064003, -0.2908017933, -0.3188687563, -0.2504988313, -0.2773153186, -0.0754435882, -0.4389421344, -0.5109088421, 0.4414065778, 0.2507893145, 0.7023815513, -0.2523255348, 0.6978279352, 0.0527507961, 0.1464199573, 0.4605699182, -0.5146788955, 0.2518133521, 0.0983201414, -0.3341774344, -0.4478032589, 0.1731701493, 0.2434501499, -0.0843167007, 0.7503020167, 0.3810633421, -0.5288294554, 0.0471777543, -0.3570052683, -0.315348655, -0.5013650656, 0.2769320011, 0.0579037108, -0.5524818897, 0.0944508761, 0.50943923, 0.5661991239, 0.2855341434, 0.3652526736, -0.4112406373, 0.2025194913, 0.3891633451, -0.0427526012, -0.0483401567, -0.2472572476, 0.0778255612, 0.0810399726, -0.6984989047, -0.5643271208, -0.2062848061, -0.2889599502, -0.3503448963, 0.3039881289, -0.0512963682, -0.3493131697, 0.3397452235, -0.4294474721, 0.5300238729, 0.7539386153, 0.2528748512, 0.4928527474, -0.0002062322, 0.2973831594, 0.3397303224, -0.8228924274, -0.6702367663, 1.1465885639, 0.0750707164, 0.6582819223, 0.3898591995, 0.2242200077, 0.5933328867, 0.079362303, -0.4969101846, 0.7957226038, -0.0605861172, -1.0293956995, -0.563886404, -0.3585515618, -0.9534476995, -0.2838519514, -0.1809383482, -0.4261980057, -0.065235734, 0.2269989699, -0.4517533481, 0.2518805265, -0.6846000552, 0.8435281515, -0.0933580175, -0.0694920346, -0.1444507092, -1.0231347084, 0.0695934594, -0.3471713066, 0.1840990186, -0.2809439003, -0.0274333693, 1.1262178421, -0.5577543378, 0.8383963108, 0.1723929644, -0.5105415583, 0.4228496552, -0.0175077412, -0.0337933451, 0.1052328348, -0.1168939769, 0.0772447586, 0.4209491611, -0.8918518424, -0.7778329253, 0.2826080918, -0.8429418206, -0.4976928532, -0.4223791361, -0.5672987103, -0.091822654, -0.0330832787, 0.147054404, 0.7447041869, 0.1526016295, -0.1051346511, 0.6538013816, -0.2576328218, 0.322793752, 0.3452700973, 0.0442694873, -0.0492816009, 0.9263858795, 0.2303675562, 0.3951166272, 0.5774024725, -0.1157024428, -0.363237828, 0.1628495008, -0.7180405855, 0.1235877275, -0.9852741361, -0.2803361118, -0.6540759802, -0.3676477671, -0.2073016912, -0.1424741447, -0.058150053, -0.8045836687, -0.2058037072, -0.2090406865, 0.7054358125, 0.9270758033, 0.2719914317, 0.3439216912, -0.7366477251, 0.0611212999, 0.5640560389, 0.3453738093, 0.0303739011, -0.3422179222, -0.4790762961, 0.1180162951, -0.5400989056, -0.7687285542, -0.0902536288, 0.1874397397, 0.3804720342, 0.2435295135, 0.4362462759, 0.5732859373, -0.0711129308, 1.0386718512, -0.0377682447, -0.7833098769, 0.6420811415, -0.1012235433, 0.185483411, 0.2440503687, 1.0883146524, -0.4301688075, -0.5344276428, -0.830175519, -0.6195405722, 0.8521137238, 0.6398496628, 0.014682943, 0.4653672278, 0.3168441951, 0.1221624091, 0.3630596697, -0.3646523654, -0.7148931026, -0.1714049578, -0.622328043, -0.3339943886, 0.182167694, -0.1274406463, -0.1496666819, 0.5683168769, 0.1094451249, -0.0593948923, -0.0492765047, 0.1226339266, 0.1507057846, 0.4805126786, 0.4477801323, 0.807467103, -0.4367737174, 0.0036205095, 0.5124967098, -1.0070580244, 0.461786896, 0.0316292122, -0.1262203753, 0.3139732182, 0.2534992397, 0.3045786321, -0.2185107619, -1.2622747421, 0.2469992936, 0.0937632471, -0.0439876541, -0.459939301, 0.2152543068, -0.2241386324, 0.0642634332, 0.6811962128, -0.2184855938, 0.3293220103, -0.308383137, 0.323417753, -0.049098257, -0.3351343274, -0.2945027947, 0.6850827336, 0.0884442106, -0.1150793955, 0.5942111611, 0.2156386673, -0.112681888, 0.7342668772, 0.0126408981, 0.4090108573, -0.2183799297, 0.5465192795, 0.4622474015, 0.3351891339, 0.04861423, 0.3392727673, -0.095205389, -0.2927895486, -0.2662630975, -0.474860698, -0.7469984889, 0.0581480078, -0.9738522172, 0.3991535902, -0.483345747, -0.1715387404, -0.1434937567, -0.0135990111, -0.5561954379, 0.6328787208, -0.1456535906, 0.6387856007, -0.8502386212, 0.5520310402, 1.2592182159, -0.4639416635, -0.8054093719, -0.0678046271, 0.0319326185, -0.3383595943, 0.7370746732, -0.0971242264, 0.1947220713, 0.1077376977, -0.4584110975, -0.7366182208, 1.2819911242, 0.3900766969, -0.3390106559, -0.6454207897, 0.4414764047, 0.387060523, 0.3906511068, 0.3585773706, 0.4224671423, -0.0916859657, -0.2578385174, -0.9074779749, 0.0353800058, -0.1317612529, -0.4168931246, 0.2937520742, -0.6541080475, 0.753462553, 0.2250285894, -0.2432676852, 0.0781467408, 0.5520341396, 0.3803126812, 0.6321826577, 0.3940545321, 0.5744996071, 1.156477809, 0.0388387367, 0.6271182895, 0.12489786, 0.3939827681, 1.0894932747, -0.0641069934, 0.9126075506, 0.2424097359, -0.3557032943, 0.7039983273, 0.5851873755, 0.2343343794, 0.0835679248, 0.1669510454, -0.335754931, -0.5432627201, -0.265484035, -0.3698186278, 0.4591916203, 0.2585541308, 0.2479543388, -0.5254993439, 0.0157573298, -0.1029602736, -0.0292391963, -0.1351858377, 0.688722074, -0.1609675437, -0.4144291282, 0.7094392776, -0.1752697378, 0.0188800264, -0.3619366288, -0.1270134747, -0.4621673524, -0.2555860579, -0.2123525441, -1.148819685, 0.2656361163, 0.1939746588, -0.0615900606, 0.0200363137, 0.2272207886, -0.3124158084, -0.2511416674, -0.3322311044, 0.4375550747, 0.1642267257, 0.3638987243, -0.5165093541, -0.3289666772, -0.3165300786, 0.3152536154, 0.0186057612, 0.4302456081, -0.2370963395, 1.247303009, 0.4855384529, -0.3117645979, 0.2358653247, -0.586589396, 0.6162625551, -0.5883142352, -0.6374297142, -0.4366076291, 0.494604677, -0.0943523124, -0.5487747788, 0.710039258, 0.7215212584, 1.2054358721, -0.1688467711, 0.5295280218, 0.1069281772, 0.5223455429, -0.6792116761, 0.6884522438, -0.6817628741, 0.3733111322, -0.3364937305, -0.6647844315, 0.0347558334, 0.3179055452, 0.0313329995, -0.3540098667, 0.5278466344, 0.7076083422, -0.0267056618, 0.3958639503, 0.1321252882, -0.2415422499, 0.0252252128, 0.7138431072, 1.1043901443, -0.7865735888, 0.8909013271, -0.3052503169, 0.1425819546, -0.2632979155, -0.399785459, -0.9158507586, -0.8712151647, -0.6492651701, -0.5851765275, 0.567030549, 1.0241825581, 0.6380770802, -0.7711952925, -0.7485155463, 0.147362113, 0.2038520128, -0.1868510395, -0.2438845634, 0.456099093, -0.0299727097, -0.2308748215, -0.2360118628, -0.0001660105, 0.2101749331, -0.113191992, 0.1130078807, -0.3228311241, 0.0379705355, 0.4228957593, 0.191926226, -0.6463251114, -0.1424986869, 0.2457740009, -0.2289838493, -0.100607641, 0.4655136466, -0.8645554185, 0.1697328091, 0.4107768238, 1.0696313381, 0.0070734047, 0.1406696886, 0.5297963023, -0.8810930252, 0.0637396947, 0.1180407852, -0.187300995, 0.0289821681, -0.4399554431, 0.6231128573, 0.4290929735, -0.4765716791, -0.9169436693, 0.1506354362, -0.9902905226, -0.144988656, 0.5187985897, -0.1354177147, 0.0374721922, -0.608848393, -0.15323928, 0.1681860536, -0.2840002775, 0.7516452074, 0.6790391803, 0.2565408647, -0.0808764026, -0.8944209218, 0.5340861678, 0.6773362756, -1.2542401552, -0.0101386933, 0.6564803123, 0.0225524474, -0.0381110758, 0.6129488945, 0.5347133279, 0.6638625264, -0.2960633934, -0.1741704792, 0.4949506223, -0.509376049, -0.1062115878, 0.0691253319, -0.0536987819, -0.2456146479 ]
http://arxiv.org/abs/2403.01373v4
http://arxiv.org/pdf/2403.01373v4
Quantity Matters: Towards Assessing and Mitigating Number Hallucination in Large Vision-Language Models
2024-03-03T02:31:11
2024-05-06T13:39:12
Huixuan Zhang, Junzhe Zhang, Xiaojun Wan
cs.CL
cs.CL
Large-scale vision-language models have demonstrated impressive skill in handling tasks that involve both areas. Nevertheless, these models frequently experience significant issues with generating inaccurate information, which is hallucination. In this study, we concentrate on a specific type of hallucination-number hallucination, referring to models incorrectly identifying the number of certain objects in pictures. We perform quantitative evaluations regarding number hallucination, showing it to be critical in major open-source large vision-language models. Furthermore, we utilizes two related tasks to conduct an in-depth analysis of number hallucination, revealing the severe inner and outer inconsistency among all tasks. Based on this examination, we devise a training approach aimed at improving consistency to reduce number hallucinations, which leads to an 8% enhancement in performance over direct finetuning methods. Our code and dataset will be released to the community.
[ -0.4399888217, -0.6641645432, 0.3867972791, 0.6377307177, -0.1570939422, -0.3070434928, -0.0821312815, -0.5900011063, 0.0053405366, 0.5323896408, -0.1788760573, -0.041360762, -0.6885892749, 0.1756538749, -0.5383835435, 0.5291682482, -0.0287437011, 0.6002062559, -0.4690490365, -0.3300284147, -0.7642276287, -0.5988188386, -0.8681880236, -0.0517316237, 0.4862308502, 0.0745973438, 0.8013504148, 0.4708018601, 1.0671374798, 0.3503959477, 0.1130562946, 0.1569426805, -0.696770072, -0.1893078536, -0.1530593187, -0.2540553212, -0.5322774053, -0.3426671922, 0.5181796551, 0.8488628864, -0.0594855249, 0.2483654618, 0.0822381601, 0.9168995619, -0.7980824113, 0.248831436, -0.6096261144, 0.2342194915, 0.0078648254, -0.1242763698, -0.5055226088, -0.1840071529, -0.0467538945, -0.5113666654, 0.4170231819, -0.1346926838, 0.6281425357, 0.6391673088, -0.0442968197, -0.1961810589, -0.6374245286, 0.7903230786, -0.683537662, 0.5770228505, 0.7162764072, -0.0241768714, 0.1233934015, -0.2617700696, -0.4941856563, -0.2784599662, 0.0855442509, -0.1149730086, 0.0358755551, 0.0565525964, 0.5075619817, 0.4049521685, -0.5789048672, -0.0861736014, -0.6882707477, -0.1375676841, 0.8184060454, 0.2721140683, 0.2571544647, 0.2266130596, 0.117295146, -0.3438621461, -0.4350582957, -0.2787919939, 0.2605837882, 0.0480398349, -0.01346788, 0.812672317, -0.3253023624, 0.9288442731, 0.1658216417, 0.0458018221, 0.2558608651, -0.2768083513, -0.4848388731, 0.1408839375, 0.4217712879, 0.4383290112, 0.4240060747, -0.2827419341, -0.1784130037, 0.3118924499, 0.5720990896, -1.0009213686, -0.2071551085, 0.4204558432, -0.2781980634, -0.4531334937, 0.3004795015, -0.5282139778, -0.6883955598, -0.5308434963, 0.8838400841, -0.3691705465, -0.1844293326, 0.61157161, -0.0035672816, 0.0681895837, 0.4340601563, -1.1396269798, 0.3991203606, 0.7035552263, 0.913634181, -0.0669863373, -0.4496804774, -0.5843285322, -0.1225735173, -0.8291801214, 0.3606285155, -0.2514965236, -0.0720524862, -0.3747681677, 0.0512511432, 0.1528982073, -0.9537172318, -0.0272423178, -0.2820839584, -0.2694444954, -0.3005186319, -0.4895777702, -0.1879277378, 0.0893388465, -0.9658112526, 0.8024840951, 0.1152256802, -0.497689873, 0.5532023907, -0.4217834771, -0.2545010746, 0.2672293484, -0.3720220029, -0.512194097, 0.6755416989, -0.1265910268, 0.4244742393, 0.0228932463, 0.5246153474, -0.1764547676, -0.7021539807, 0.4998286366, -0.3853901923, 0.5875567794, 0.0388007723, -0.4986876547, 0.0585851558, -0.6785855889, -0.1653852314, 0.0347777382, 0.1107955426, -0.2716940939, -0.0659834892, -0.070192188, 0.0339874253, 0.153248772, -0.3251039088, 0.1265483797, -0.3902078271, 0.0568083487, 0.6736734509, -0.0199658573, 0.5938411951, -0.3326767981, 0.1662140638, 0.0731621236, 0.3659017086, 0.206911698, -0.4652627707, -0.9933575392, 0.1482010782, 0.1121575311, 0.3709606826, -0.7604622245, 0.4624885023, -0.1585096866, -0.4386128783, -0.4021021426, 0.0688847378, 0.2485612631, 0.2225242257, 0.2122757435, -0.4894724786, -0.4206931889, -0.6085222363, 0.0596624725, 0.0377645977, 0.0202988368, -0.0275841057, 0.6605939865, -0.1824332029, 0.6464781165, -0.4336645603, -0.3757124543, 0.1435514688, 0.2025201321, -0.1567751467, 0.5993908048, 0.4398963153, -0.8804100752, -0.1531453729, 0.0710364059, -1.0133755207, -0.0045031449, -0.3457042575, 0.019553218, 0.6650952101, 0.4143552482, -0.4843890667, 0.7777534723, 0.6290028691, -0.4085769653, 0.2194485366, -0.2624495029, 0.2258320302, -0.5240388513, -0.1499433815, 0.0678229108, 0.2312779576, -0.6108305454, 0.1136208028, 0.1073532403, -0.1983505338, -0.4067484438, 0.5017872453, -0.2095829397, -0.3039562702, -0.247784093, -0.2536271513, 0.1144026592, 0.4029851854, 0.1673255414, 0.7686836123, 0.5406750441, -0.5156747699, 0.3782756031, -0.0357032605, -0.5757372379, 0.3337891996, -0.6018428802, 0.1212412864, -0.2737321556, -0.2231518626, -0.8595575094, -0.3707941175, 0.4259581864, -0.3144207299, 0.064073965, 0.0016712757, -0.5657303929, -0.0654470474, -0.0851541013, 0.6182098985, 0.2915356159, -0.2482621819, 0.3138368726, 0.2875828147, -0.0871411338, -0.4574640989, -0.6178659201, -0.067847535, -0.1153593883, -0.6549863815, 0.0018266836, -0.2242866904, -0.7284047604, -0.3330546319, -0.3769860268, -0.2349594086, 0.1319197267, 0.2916404009, 0.1610020995, 0.1225488484, 0.526219368, -0.4058771729, -0.0816097632, 0.1803715676, -0.1926677525, 0.8483393192, -0.2399148345, -0.4880782366, -0.4346002936, 0.2578443885, 0.5748654604, -0.0712466016, 0.6989762783, 0.6977923512, -0.6800117493, 0.1010849178, -0.6435312033, -0.4800117016, -0.4662869275, 0.6851909757, -0.5044490695, -0.4765871465, 0.4121526778, 0.4889134467, -0.2303876281, 0.3617429435, 0.4380315244, 0.1382379383, 1.0377539396, 0.5852458477, 0.2000140995, 0.3085333109, -0.4106417298, 0.231719628, -0.2793225348, -0.4415158927, -0.2640373409, -0.1963745207, -0.1406603009, -0.5060274601, 0.1262872517, 0.051705502, -0.3797964156, 0.2003279328, -0.6714632511, 0.7800617814, 0.2360257953, 0.3839565814, 0.3357270062, 0.4062317014, 0.773033917, -0.3390404582, -0.489420414, -0.2961834371, 0.8024761677, 0.2371514887, 0.9100446701, 0.1339198053, 0.3859324455, 0.3106660545, 0.0278839711, -1.0060946941, 0.5798283815, -0.2903594673, -0.3206860423, -0.7874473333, -0.7406382561, -0.7056643367, 0.173818022, -0.2209711075, -0.6604702473, 0.5042965412, 0.2265661508, -0.2547188103, 0.3411972821, -0.6097363234, 1.0421410799, -0.4933878183, -0.3768691719, -0.4762544334, -0.3116845489, 0.2242009789, -0.4393652081, 0.0135513265, -0.0889642313, 0.0238461196, 0.6861534715, -0.3949068785, 0.9944120049, 0.0169892833, -0.5238550901, 0.0413427725, 0.2458672374, 0.4551694393, -0.0355223902, 0.0369691178, 0.5266045332, -0.1296780556, -0.5531742573, -0.6925398707, 0.4579760134, -0.8472598195, -0.3557322025, -0.3064710796, -0.6942285299, -0.0167434048, -0.1204427257, 0.6540325284, 0.7334542274, 0.0009225251, 0.2792812288, 0.9648023248, -0.2263300419, 0.2160435617, 0.0642889366, -0.3721907139, -0.3389549255, 1.2736669779, 0.6105093956, 0.5199056864, 0.3048622012, -0.0540777594, -0.0462626927, -0.5279326439, -0.3136239648, 0.08565972, -0.6942572594, -0.1538240761, -0.510386169, -0.3014324307, -0.6146443486, -0.209457472, -0.4215914011, -0.311837554, -0.3193818629, 0.0493912287, 0.510972023, 0.758949101, -0.0194047447, 0.162642166, -0.5364670157, 0.5885013938, 0.5309047699, 0.4566492438, 0.2433426082, -0.6845565438, -0.4823344052, 0.0274978336, 0.0635013506, -0.6652963758, 0.4175261259, -0.1560563594, 0.0604766309, 0.5229628086, 0.0655746683, 0.9211632013, -0.174562335, 0.4293570817, 0.3755612373, -1.2545106411, 0.2131372839, 0.0039690547, 0.2853924334, 0.4672954679, 0.1652667969, -0.5986301303, -0.4042296708, -0.7133134007, -0.8215623498, 0.5850015879, 0.3113200963, 0.1260746568, 0.086989142, -0.003237528, 0.0281560123, 0.1779996157, -0.7137608528, 0.1569555998, -0.2953947186, -0.1316248327, -0.0016076097, -0.2980571687, -0.1057894304, -0.415117383, 0.5561731458, -0.0048135915, -0.0961557105, 0.0928591564, -0.1666591167, -0.1336620152, -0.0874304995, 0.8800116181, 1.113530159, -0.3075561225, 0.122584641, 0.3962076306, -0.7803450823, 0.1611574143, -0.3845638633, -0.007653262, 0.0580648892, 0.1688896269, 0.755566597, -0.016445851, -0.755166471, 0.5416330695, 0.1180627272, -0.2788383663, -0.5425798893, -0.0579107963, -0.2749794126, 0.0739494041, 0.4320976436, 0.2932443321, 0.2689116001, -0.3842352033, 0.0750446394, 0.1135795563, -0.4959267974, 0.0524890013, 0.3654665053, 0.0366624705, -0.2168395817, 0.8401662111, -0.1981367469, -0.0184760429, 1.1271573305, 0.282962501, 0.684197247, 0.0421223789, 0.3054524362, 0.3200688064, 0.5434818864, -0.5722590685, 0.331517458, 0.2137982249, -0.8899911642, -0.747484982, -0.3236538768, -0.3976944685, 0.3011562228, -0.7842022777, 0.1027279869, -0.3768698871, -0.2356245369, 0.0472619124, -0.1458300799, -0.3252871037, 0.1864662915, 0.3022266924, 0.5707555413, -0.9108150601, 0.5385962725, 0.4545403421, -0.6825156808, -0.5084822178, -0.2326148152, -0.2338878363, -0.5366037488, 0.9182710648, 0.2142980099, -0.1264462322, -0.0778658614, -0.8059786558, -0.6944825649, 0.7796481252, 0.4130043983, -0.6852750778, 0.2680874467, 0.3087501526, 0.3488524258, -0.069463484, -0.2869074047, 0.3228794038, 0.5306765437, 0.2307503968, -0.8268822432, 0.077295959, -0.1345318854, 0.1169833317, 0.4013148248, -0.5369356871, 0.8792473078, -0.3284431994, -0.1736106277, 0.2854082584, 0.3014285564, 0.3357374966, 0.4315190017, 0.3765426278, 0.6906447411, 0.7863304019, -0.1864579469, 0.7573748827, -0.0734570175, 0.3623275757, 0.9854888916, -0.3651332557, 0.708966136, 0.6302080154, -0.1258272529, -0.3765721023, 0.4318280816, -0.4388168156, 0.2672790885, 0.5704063177, -0.2974401414, -0.2888792753, 0.0011589363, -0.4857737124, 0.2963169217, 0.2705022991, -0.1752751321, 0.2509483397, 0.3067198992, -0.1650273204, -0.2443579286, -0.5156742334, 0.8699705601, -0.1075505912, -0.3308620155, 0.7136400938, -0.2769941688, 0.3265144527, -0.2285406888, -0.2709389031, -0.5604729056, 0.2731537223, -0.3713330328, -0.6786761284, 0.5039780736, -0.1745968312, -0.2906281352, -0.1061342284, 0.4369672835, -0.377559036, -0.7566140294, -0.0473524444, 0.3205277622, 0.5910828114, -0.661624372, -0.1846866757, 0.4865578413, 0.0432644188, 0.4060895443, 0.2468667477, 0.6603915691, -0.2283961028, 0.5446655154, 0.3828273714, 0.1203358993, -0.0234398469, 0.4296518862, 0.4046169817, -0.7871294022, -0.0249583386, -1.0579909086, 0.3420817554, -0.279319644, -0.3075924814, 0.5629220009, 0.6876459122, 1.0543284416, -0.6285405755, 0.4011337757, 0.1165542826, -0.3427257836, -0.6238030195, 0.7312380672, -0.4584719837, 0.2030610889, -0.3063699901, -1.1169515848, -0.59423244, 0.8911004663, -0.2031462044, -0.2522167861, 0.5093199611, 0.804980278, 0.0989987254, -0.1134877428, 0.7883763313, 0.1476228684, -0.3364840448, 0.4645215273, 0.9894946814, -0.5393738747, 0.571388483, -0.3900445402, -0.0376344919, -0.3018028736, -0.4478687942, -0.6606007218, -0.6896746755, -0.6225454807, -0.3282399774, -0.0073841242, 0.5366860032, 0.8480585217, -0.8328799009, -0.5472493172, -0.3402381539, -0.048513364, -0.2554055452, -0.2599862814, 0.2156774849, -0.4462940097, -0.6589379907, -0.1740873605, 0.5385710597, 0.6008453369, -0.5101270676, -0.0145497462, 0.5095185041, -0.119622536, 0.7893738747, 0.0299617294, -0.7790907025, -0.0259868298, 0.1792450696, -0.152824536, 0.1066292226, 0.7457519174, -0.6034029126, 0.4202215075, 0.5643588901, 0.5796299577, 0.3345136046, -0.0078278091, 0.4378089905, -0.4887300432, 0.4265332222, 0.0581406467, 0.2999118268, 0.4075028598, -0.4168646932, 0.9726214409, 0.1755526066, -0.367500484, -0.8012782931, 0.1443031579, -1.1135542393, -0.4977663457, 1.0216910839, 0.2873259783, -0.0343851484, -0.0914127305, -0.3765854836, -0.0769005194, -0.1803656965, 1.15513134, 0.8137048483, 0.1464873254, -0.2418498397, -0.4884462655, 0.4572809339, 0.4085704684, -0.8218165636, 0.1752207875, 0.6807739139, -0.2807333767, 0.4937958121, 0.4925995171, -0.1375112981, 0.2461124808, 0.2877624035, 0.358145386, 0.391931206, -0.62859267, -0.5180898309, 0.0962038636, 0.0470346361, -0.0567536354 ]
http://arxiv.org/abs/2403.01364v1
http://arxiv.org/pdf/2403.01364v1
Improving Cross-lingual Representation for Semantic Retrieval with Code-switching
2024-03-03T01:47:52
2024-03-03T01:47:52
Mieradilijiang Maimaiti, Yuanhang Zheng, Ji Zhang, Fei Huang, Yue Zhang, Wenpei Luo, Kaiyu Huang
cs.CL
cs.CL
Semantic Retrieval (SR) has become an indispensable part of the FAQ system in the task-oriented question-answering (QA) dialogue scenario. The demands for a cross-lingual smart-customer-service system for an e-commerce platform or some particular business conditions have been increasing recently. Most previous studies exploit cross-lingual pre-trained models (PTMs) for multi-lingual knowledge retrieval directly, while some others also leverage the continual pre-training before fine-tuning PTMs on the downstream tasks. However, no matter which schema is used, the previous work ignores to inform PTMs of some features of the downstream task, i.e. train their PTMs without providing any signals related to SR. To this end, in this work, we propose an Alternative Cross-lingual PTM for SR via code-switching. We are the first to utilize the code-switching approach for cross-lingual SR. Besides, we introduce the novel code-switched continual pre-training instead of directly using the PTMs on the SR tasks. The experimental results show that our proposed approach consistently outperforms the previous SOTA methods on SR and semantic textual similarity (STS) tasks with three business corpora and four open datasets in 20+ languages.
[ -0.4447987974, -0.455111444, 0.1503984481, 0.2815935016, -0.4075043201, 0.1323153228, -0.1878858656, -0.500205934, 0.3924332261, 0.7613161802, -0.7186741233, -0.5876764059, -0.3006459475, 0.2776418924, -0.3591595292, 1.0308055878, -0.2042443603, 0.3820658624, -0.051185675, -0.1229225844, -0.277395457, -0.6893497109, -0.3489761055, -0.2132412195, 0.4961573184, 0.4266126752, 0.6491900086, -0.0052192332, 0.1010853946, 0.1390482932, 0.4065545201, 0.0322075114, -0.4951027036, -0.2413978875, -0.4311490357, -0.5719118118, -0.0624277741, -0.2456202954, 0.4048965871, 0.691630125, 0.0865701362, 0.0826080814, -0.2173870802, 0.6534198523, -0.6250790358, 0.244056806, -0.8661817312, 0.266946435, -0.0983874202, -0.4357154369, -0.6694157124, -0.1145016104, 0.3950587213, -0.812009275, 0.0625565499, 0.1085049883, 1.1830272675, -0.0056556882, -0.4182919264, -0.1523131579, -0.6061629057, 0.7546438575, -0.3425038755, 1.0172110796, 0.2843282819, 0.1706807017, 0.2929501832, -0.7440066934, -0.3982833624, -0.1001089811, -0.1315821707, 0.2685581446, -0.2250560373, -0.3992542922, -0.0193172432, -0.0571700372, -0.6229129434, -0.2227966189, -0.094056882, -0.3291225433, 0.3092685938, 0.0472986884, 0.3865137994, -0.0075585586, -0.8153636456, -0.0365256593, -0.8469789624, -0.058256384, 0.1769994199, 0.3942221105, 0.3089186251, 0.3064050674, -0.3410417736, 0.6201615334, 0.2942487895, 0.1462797672, 0.3677117825, -0.597966969, -0.1692758799, 0.1467168629, 0.4698646665, 0.2102225721, 0.3300216496, -0.5604248643, -0.051152166, 0.1243084967, 0.3492533863, -0.5357421041, -0.1709427387, -0.2550942302, -0.4825923145, 0.2282681912, 0.0278574806, -0.6871117353, 0.3263449371, -0.333766818, 0.4715986848, -0.4493449628, -0.4637621343, 0.2652855814, 0.1700949222, 0.5182479024, 0.0965376571, -0.6162326932, 0.4366109669, 0.4770489037, 0.3475582898, -0.2551368475, -0.4745343029, -0.6000913978, 0.2657668293, -0.3882971704, 0.7343096733, -0.7356337905, -0.3829306066, 0.0727187768, 0.2157667726, -0.3781096041, -0.7350067496, 0.123628661, -1.2239701748, 0.4046428204, -0.2399235517, -0.2278326005, -0.0847166032, 0.4116185009, -0.5545039773, 1.010042429, 0.0687562972, -0.7428398132, 0.425621599, -0.2063893676, -0.5648266673, -0.033442311, -0.227981478, -0.4267121553, -0.3353021145, 0.1503792703, 0.1388087422, -0.1167341843, -0.1269756705, -0.0182574168, -0.4693827331, 0.0187991373, 0.0108192116, 0.5942264199, 0.3097696602, -0.443836987, -0.0648072138, -0.3856594265, 0.413957268, -0.0453584604, -0.3022589386, -0.7890044451, -0.3992736638, 0.1778650135, 0.7290349007, 0.4674683809, -0.4030594826, 0.0181590319, -0.2671249807, -0.0839972496, 0.2747463286, -0.1886853874, 0.408863157, -0.1580799818, 0.7855505943, 0.3107374012, 0.2071235627, 0.1977136135, -0.4186356366, -0.7212730646, -0.1021738946, 0.5136463046, 0.7755234241, -1.4490641356, 0.1534497887, -0.5094645023, -0.3946813941, -0.4482236505, 0.1900913119, 0.8143121004, 0.1496579498, 0.5829581022, -0.5749955773, -0.521515429, -0.6239619255, -0.6807931662, -0.183674708, 0.2150721848, 0.2935841978, 0.2991390228, -0.4047400057, 1.215051651, -0.4355726838, -0.2742349505, -0.5529615283, 0.1746189445, -0.050478112, 0.3344296813, 0.3763675988, -1.1795656681, -0.783714354, 0.0350030325, -0.2251920104, -0.2889746726, -0.2281290442, -0.5199664831, 0.692332685, 0.6643237472, -0.6486459374, 0.3660574555, 0.379416734, -0.4431081414, 0.6890761852, -0.0090326546, 0.4151101708, -0.7569587827, 0.1915380955, -0.2905112207, -0.2197508961, -0.5863241553, -0.1109129637, 0.4048740268, -0.0982697904, -0.7339282632, 0.560443759, -0.5243655443, -0.4615436792, 0.0498532057, 0.1452844739, 0.2582357824, 0.7957659364, 0.4133071899, 0.6860327125, 0.1944326162, -0.7213149071, -0.0704733804, 0.4111332595, -0.1926110834, 0.5476626754, -0.2843305767, 0.0633720607, -0.0179632958, 0.279335767, -0.6391294599, 0.497141242, 0.4706497192, -0.4000711739, 0.1782158315, -0.4287003279, -0.6627566814, 0.0414649472, 0.1157426909, 0.5344657898, 0.1874534786, -0.5372036695, 0.6960536838, 0.1823990941, -0.2516358495, -0.5103157163, -0.7688314319, 0.1624245793, -0.0242106561, -0.5948771238, 0.6605347395, -0.0303575248, 0.1420623213, 0.1881966889, -0.4818800688, -0.2020267993, -0.2673837245, -0.3314314485, 0.5621612072, -0.2194260508, 0.2532374263, 0.0446812361, -0.430713743, -0.0712633431, -0.7074453831, 0.7768142223, -0.205130294, -0.4394020736, -0.0857701898, 0.4742085934, 0.1227006987, -0.6346550584, 0.4104624093, 0.4791435897, -0.1042704955, -0.1043657809, -0.3866396844, -0.0185462926, -0.4048387706, 0.5286805034, -0.577624321, -0.9402584434, 0.3939894438, -0.2056024969, -0.1361799389, 0.1589444429, 0.4720616937, 0.2872523069, 0.9362731576, 0.6299022436, 0.2184920311, 0.609809339, -0.0449901819, 0.5579522848, -0.2785547972, -0.3906363547, -0.6075443029, 0.1541376859, -0.3719620705, -0.6791151166, 0.3363344371, 0.0788442716, -0.200390473, 0.5653755665, -0.0285082757, 0.1866660416, 0.2443586737, 0.0654469803, 0.589235127, 0.0262371767, -0.2805769145, -0.0954572558, -0.8804082274, -0.0746904984, 0.7255532146, -0.0203437321, 1.0008909702, -0.008028727, 0.7929818034, 0.0332080796, 0.1116670892, -0.5147248507, 0.7656712532, -0.4556213617, -0.4652602971, -0.2155294567, -0.7209275961, -1.0585930347, 0.5300705433, 0.0664813519, -0.2320375443, 0.3064388335, -0.0403746441, -0.2030908912, 0.15607436, -0.8803703189, 1.1098583937, -0.4710304141, -0.2119188309, -0.2103342265, -0.7668266296, -0.0448386073, 0.028600812, 0.1608805507, 0.1592615843, -0.200633809, 0.666590929, -0.3353486061, 0.8502082825, -0.1744754463, -0.2241003513, 0.1028578132, 0.1368608773, 0.3940418065, 0.0036699497, 0.1996773928, 0.2187230736, 0.2901051044, -0.427323401, -0.7076137662, 0.5682141185, -0.5848195553, -0.5026886463, -0.4515259564, -0.448074013, -0.7060494423, 0.4428524971, 0.222830832, 0.3419028223, -0.1044727564, -0.0765892863, 0.9097915292, -0.3182056248, 0.0033662654, 0.8726543188, -0.4838712513, -0.0893302411, 1.0083253384, 0.1523413658, 0.5177448988, 0.7872437239, -0.214125216, -0.5109221339, 0.0067395754, -0.5233132839, 0.2074903101, -0.7324411869, -0.1230308786, -0.9195002317, -0.0032632248, -0.6062417626, -0.0607423931, -0.4368464053, -0.2575838268, -0.271904856, 0.2100442499, 0.2901002467, 0.1462143511, 0.2042077631, -0.3434436023, -1.1097974777, 0.5447734594, 0.269518733, 0.6149427295, -0.1506071091, -0.3375087976, -0.5080314875, -0.0993850753, 0.2242338508, -0.7290887833, 0.4026639163, 0.125546217, 0.7087561488, 0.0978571251, 0.3002065122, 0.785785675, -0.4543718398, 0.5093653798, 0.3359502852, -1.0188833475, 0.2149387598, -0.0170465391, 0.4863780737, 0.7217981815, 0.7316870689, -0.8553963304, -0.1953431815, -0.4243003428, -0.9369258881, 0.7152042389, -0.0096157743, 0.145119071, -0.1215618849, -0.164669618, 0.4361355603, 0.2170075476, -0.6393635273, -0.2521131635, -0.5987226963, -0.0901766494, 0.2169784158, 0.1304492801, 0.1794100255, -0.0912096724, 0.740654707, -0.2853996754, 0.3301449418, 0.2948987186, -0.5049421191, 0.0326739289, 0.497729063, 0.0845048875, 0.643686831, 0.1999533474, 0.0720132142, 0.1459331363, -0.3357827663, -0.160717845, 0.128670916, -0.1683697253, 0.3338957429, -0.143269971, 0.6801106334, 0.7854345441, -0.9689225554, 0.3905275464, -0.0589339435, -0.1092180088, -0.2314040959, -0.1832047552, 0.1035405695, 0.1606897116, 0.3296491802, 0.1000359356, 0.041697599, -0.7178923488, 0.4658833146, 0.2447261959, -0.4412251115, -0.0152935414, 0.2689600587, 0.1778573096, -0.11146079, 0.5262815356, -0.1756096929, -0.743725121, 0.3793220222, 0.6694325805, 0.7084157467, 0.0477701537, 0.3987854421, -0.1525385678, 0.1327507794, 0.0650876313, 0.5152952075, -0.1374779046, -0.8162615299, -0.337228328, -0.2529470921, -0.3738626242, -0.4453505874, -0.8845021725, 0.3228873014, -0.1825032532, 0.0469413102, -0.6239597797, 0.0049650902, -0.7973210216, 0.3025482297, -0.0221951474, 1.1107165813, -0.4428838193, 1.1223728657, 0.8013288379, -0.3604062498, -0.5980095863, 0.2987239063, -0.4989691079, -0.7659257054, 0.8853107691, -0.1225538999, -0.4800973833, 0.1471906751, -0.1627039313, -0.7343434095, 0.935393393, 0.2177298665, -0.3847772479, -0.0645956993, 0.4273590147, 0.5525006652, -0.4455210567, 0.0419490784, 0.520159483, 0.2696883976, -0.0995369703, -0.916913569, -0.067100808, -0.4972900152, 0.156472072, 0.1458883882, -0.7446209788, 0.7096089125, -0.0582343712, -0.2926202118, -0.0133241285, 0.5587259531, 0.3426608145, 0.3304930329, 0.8433781266, 0.4270297289, 0.2723889649, 0.0189135168, 0.8211354017, -0.480602622, 0.374132067, 1.0320866108, -0.6781618595, 0.8904359937, 0.7029176354, 0.0864690766, 0.6470293999, 0.4241490662, 0.2257480174, 0.760737896, 0.0009218394, 0.0805797577, -0.716799736, -0.016269587, -0.6197521687, 0.335563153, 0.1707663387, 0.0048892517, -0.3831336498, 0.0558616482, 0.0771711171, 0.0184675306, -0.2462230325, 0.6395398378, 0.031953495, -0.733877182, 0.720795691, 0.0031894548, 0.8821088672, -1.0713057518, -0.068587549, -0.2603903115, -0.0599541962, -0.1229885146, -0.3984698951, 0.3611566424, 0.0128859207, -0.0562270395, -0.7081844807, 0.7175163627, -0.6584089994, -0.2522243261, 0.7466779947, 0.5650515556, -0.0313868858, 0.0375704169, -0.8154488802, 0.0322665833, 0.014011763, -0.0766598806, 0.6220776439, 0.598287344, -0.3235042989, 0.5129938126, 0.5487782955, -0.2967017591, 0.4506509602, 0.2768279612, 0.9927306771, -0.7747728229, -1.0031788349, -0.0961898863, 0.0742845237, 0.231103301, -0.4496614337, 0.7510324121, 0.5817496777, 1.4009933472, -0.3232925236, 0.7997176647, -0.0872686654, 0.5493959188, -0.7349041104, 0.6732180715, -0.702667594, 0.2729513943, -0.4226214886, -0.6092267036, -0.175205797, 0.3574590385, -0.48440364, 0.1660975367, 0.7997890711, 0.8904764652, -0.0451900102, 0.0722832829, 0.3955018222, 0.1265371144, 0.0234254524, 0.6991055608, 0.8382149339, -0.4154343605, 1.2912786007, -0.0074928561, 0.0317185484, -0.3633244932, -0.5279488564, -0.6050621271, -0.5536367893, -0.4404154122, -0.3157070875, 0.3462625444, 0.7748996019, 0.6039562821, -0.8896115422, -0.1555029899, 0.2456067353, 0.0520432964, -0.5875180364, -0.231963262, 0.1135291532, -0.5151314735, -0.6531431079, 0.173731938, 0.2813756764, -0.3555823565, -0.2320486605, -0.300322324, -0.4925922453, -0.0295210294, 0.575511992, 0.4137084484, -0.4778625071, -0.2153595388, 0.4583342373, -0.3888721764, -0.0039210944, 1.12713027, -1.0462396145, 0.1511044949, 0.6676382422, 0.9541731477, 0.5135574937, -0.3985882699, 0.4921739995, -0.5309726, -0.0566793606, 0.3872669935, 0.2100524008, 0.1241268218, -0.2528643608, 0.2895273566, 0.3995487094, -0.1284583956, -0.3182804585, 0.4758063555, -0.8866341114, -0.4892607331, 1.1201298237, -0.3860833049, -0.1016991436, -0.8612089157, -0.1427046657, 0.1671074629, -0.2162181437, 0.720246911, 0.4225021899, -0.1759120226, -0.2011076063, -0.1443580985, 0.2720806897, 0.9439662099, -0.8081080914, -0.0546855852, 0.2286807299, 0.3762203157, 0.1383029222, 0.8757792115, -0.5004297495, 0.5347583294, -0.2417491078, 0.1331468821, 0.1524222344, -0.4538776875, -0.0166878533, 0.052803196, -0.2686373889, -0.0613466837 ]
http://arxiv.org/abs/2403.01342v1
http://arxiv.org/pdf/2403.01342v1
LM4OPT: Unveiling the Potential of Large Language Models in Formulating Mathematical Optimization Problems
2024-03-02T23:32:33
2024-03-02T23:32:33
Tasnim Ahmed, Salimur Choudhury
cs.CL
cs.CL, cs.IR
In the rapidly evolving field of natural language processing, the translation of linguistic descriptions into mathematical formulation of optimization problems presents a formidable challenge, demanding intricate understanding and processing capabilities from Large Language Models (LLMs). This study compares prominent LLMs, including GPT-3.5, GPT-4, and Llama-2-7b, in zero-shot and one-shot settings for this task. Our findings show GPT-4's superior performance, particularly in the one-shot scenario. A central part of this research is the introduction of `LM4OPT,' a progressive fine-tuning framework for Llama-2-7b that utilizes noisy embeddings and specialized datasets. However, this research highlights a notable gap in the contextual understanding capabilities of smaller models such as Llama-2-7b compared to larger counterparts, especially in processing lengthy and complex input contexts. Our empirical investigation, utilizing the NL4Opt dataset, unveils that GPT-4 surpasses the baseline performance established by previous research, achieving an F1-score of 0.63, solely based on the problem description in natural language, and without relying on any additional named entity information. GPT-3.5 follows closely, both outperforming the fine-tuned Llama-2-7b. These findings not only benchmark the current capabilities of LLMs in a novel application area but also lay the groundwork for future improvements in mathematical formulation of optimization problems from natural language input.
[ -0.4345468581, -0.9686686993, 0.9600515962, 0.4072854221, -0.3121451437, 0.038821049, -0.4774508476, -0.5173386335, -0.2093938291, 0.3420038521, -0.5485326648, -0.2801646888, -0.5575319529, 0.5279672742, -0.0591315106, 1.0048166513, -0.3990698457, -0.0597595312, -0.1431865692, 0.1543459743, -0.3024187386, -0.4170804024, -0.7517440319, -0.488910079, 0.3735228479, -0.0419288613, 0.81912148, 0.7181521654, 0.8133071065, 0.2644619942, 0.0308040306, -0.0322683938, -0.6507264972, -0.1079375967, 0.0054154154, -0.3648748994, -0.3448037207, -0.1078107059, 0.7574891448, 0.5776526332, -0.2054181695, 0.0675773695, -0.0358760506, 0.6594578028, -0.4535915554, 0.422080785, -0.8181411624, 0.3465155661, -0.2082835585, -0.2481163293, 0.0023308243, -0.3711500764, 0.1424762905, -0.8611832261, 0.0676952675, -0.1643830985, 0.8475627303, 0.741689086, 0.0201496053, -0.3428865671, -0.5904246569, 0.9556962848, -0.9724837542, 0.1444374621, 0.3354075253, 0.2570943832, -0.1780951768, -0.5989634991, -0.4034785032, -0.1318032146, 0.304153651, 0.0934944302, -0.4675292075, 0.2663178444, 0.3694448173, 0.246052146, -0.4731571078, 0.2799043357, -0.3571567237, -0.2101108283, 0.4603771269, 0.0209690295, -0.1784850657, -0.0022328289, -0.2745504975, 0.2487205416, -0.7306053042, -0.2468318343, 0.2553556561, 0.2526071668, 0.0497549437, 0.5094091892, -0.2109555155, 0.792981267, -0.2203388363, -0.3946349919, 0.1935410351, -0.4668604136, -0.2303978503, -0.1435905546, 0.5513097644, 0.2936848402, 0.3946012557, -0.0570632182, -0.3920103312, 0.1391930282, 0.0018065294, -0.8272699714, -0.0374260023, -0.0567884706, -0.1089942977, -0.2664887905, -0.2998482883, -0.6751150489, 0.1190672144, -0.5438699722, 0.518451333, -0.2582593858, 0.056339439, 0.3637098372, 0.2427444756, 0.2967406511, 0.3083901405, -0.7757892609, 0.3365012109, 0.8817566037, 1.0348874331, -0.3054718673, -0.0334163755, -0.3257845044, 0.1301715523, -0.5224373341, 0.6203123927, -0.5358358026, -0.1533613056, -0.133472234, -0.6335000992, -0.0684345961, -0.5650970936, 0.7297031283, -0.3898906708, 0.1117926836, -0.2192534953, -0.4677666128, -0.3556774259, 0.4308780134, -0.5754227638, 1.1027659178, 0.2401129454, -0.5043337345, 0.1104761884, -0.9315282702, -0.1739042103, 0.0438943505, -0.2082156241, -0.6302841306, 0.2953926623, 0.224227041, 0.3279364705, -0.5448854566, 0.1229450554, -0.3097290993, -0.3008593619, -0.1521577984, -0.533372581, 0.2451075912, 0.2401597053, -0.4103242755, -0.056357909, -0.4799821973, 0.185683623, 0.495282948, -0.429556191, 0.0026452986, -0.0450823456, -0.4978984892, 0.1607646942, 0.5048732758, -0.2280613035, 0.266358912, -0.5873203278, 0.7055904269, 0.7784511447, 0.0087385597, 0.2455501109, -0.0538847595, 0.9138436913, -0.494679451, 0.1075808108, -0.1058669016, -0.6415724754, -0.5454290509, -0.1203180552, 0.2527308166, 0.5281352401, -0.6499265432, -0.010532178, -0.1343595088, -0.1056849957, -0.2979309261, 0.2870632708, 0.3770516515, 0.5761314631, 0.3812001348, 0.0821496621, -0.450948745, -1.1255099773, -0.2759967744, 0.1459322721, 0.0678161234, 0.3118878901, 0.4632988572, -0.159035489, 0.8030055761, -0.5971615314, -0.3812541068, -0.2848931253, -0.0550214276, 0.4421598315, 0.1807298958, 0.5646899343, -0.5639451742, -0.5355742574, 0.2337505966, -0.6997776628, -0.3027457297, 0.188726604, -0.0167628843, 0.0865323246, 0.1652795076, -0.5686892271, 0.23277165, 0.6555376649, 0.2801568806, 0.5130458474, -0.1456934959, -0.3157396317, -0.734873414, -0.1899998337, -0.0780457407, -0.1148917526, -0.5078621507, 0.1193617061, -0.1070725322, -0.130068928, -0.3506363332, 0.3332425058, -0.5419774055, -0.3393496871, -0.0569734201, 0.2697055042, -0.1897401214, 0.6497079134, -0.1255004853, 0.8683643937, 0.481728673, -0.3800319731, 0.2125609964, 0.0490923114, -0.150234133, -0.0004258678, -0.7346621752, 0.3346677721, 0.0606824197, 0.2098306715, -0.6984401941, -0.1835871637, 0.15954189, -0.15068914, 0.0507270619, 0.0188038182, -0.6313450336, -0.3963902891, -0.537752986, 0.6173967123, 0.3320997953, -0.2016541362, 0.3650885224, 0.0859916881, -0.3129324615, -0.5175392628, -0.3539201915, 0.0159288347, -0.4120194614, -0.4998972118, 0.4310762882, -0.1081807762, -0.1333887726, -0.1486390978, -0.3066202402, 0.0480270274, 0.0760900453, -0.3024722934, 0.081730023, -0.3776906729, -0.002672083, -0.0500516482, -0.3324575126, 0.0221798141, -0.2481998652, 0.6204057932, -0.245106861, -0.1847742349, -0.2983276546, 0.2346550524, 0.1650806516, -0.3906326592, 0.2962054312, 0.4102785885, -0.4932729006, -0.1443603188, -0.3544594049, -0.1168892533, -0.4906885624, 0.4518111944, -0.6414856911, -0.8576890826, 0.3311294317, -0.1433929801, 0.1069872156, 0.5009171963, 0.7159415483, 0.2996891737, 1.2024829388, 0.6429418325, -0.1368734837, 0.3899228275, -0.3125672936, 0.4649819434, -0.7601541281, 0.0466620512, -0.4432634711, -0.3210587204, -0.5705766678, -0.557670176, 0.6219128966, 0.2142065316, -0.2399157137, 0.2234226763, -0.4908362627, 0.735060215, 0.2448208928, -0.2533421218, 0.4354610145, 0.0942439735, -0.254255712, -0.1461664587, -0.7044810057, -0.5366665721, 1.121961236, 0.421536237, 0.5493050814, 0.2615384459, 0.5485056043, -0.0592303276, 0.2808632553, -0.8411380053, 0.4138642848, 0.0505711026, -0.5416104198, -0.3310381472, -0.5802907348, -0.9780690074, 0.4321559966, 0.1194711104, -0.713404119, -0.3406580389, 0.2220160663, -0.3981406093, 0.1869843304, -0.5812236667, 0.9666957855, -0.5260218978, -0.3988627493, -0.0634059161, -0.4215744436, 0.3422347307, -0.5492570996, 0.39748317, -0.5157003403, -0.4724209905, 0.4547394514, -0.2450547516, 0.4593334198, 0.0359943695, -0.4314787686, 0.0469553359, 0.1090549827, 0.5392811298, 0.1630889028, -0.3466933072, 0.3375062644, -0.1010576114, -0.3927529752, -0.5507538319, 0.7971823215, -0.7973381877, -0.5832139254, -0.2557834983, -0.4812733531, -0.3248662949, 0.3512821496, 0.3788457513, 0.2389842421, 0.1138971224, 0.1136743352, 0.2924070358, -0.1374775618, 0.5438020229, 0.2338223308, -0.237895295, -0.2494431734, 0.8553548455, 0.0993053317, 0.396021843, 0.4989530742, 0.4437220395, -0.4560774565, -0.8086290956, -0.3165784776, 0.397141546, -0.6677444577, -0.5074678659, -0.3409392536, 0.0274864212, -0.0666378736, -0.2358028442, -0.5757462382, -0.3904119134, -0.1962881535, -0.1043609381, 0.1766181588, 0.7760168314, -0.1134782359, 0.3714135587, -0.3246016204, 0.3108152747, 0.0254244339, 0.444218725, -0.1668456495, -0.2965448797, -0.1957205087, 0.00266539, -0.6016205549, -0.8092859387, 0.4492576122, 0.4150908291, 0.5865291357, 0.4126395881, -0.239444539, 0.7488384247, -0.5809867978, 0.6143824458, 0.0569821149, -0.9147288203, 0.5539543629, -0.5725977421, 0.2792560458, 0.3863678575, 0.4357461929, 0.0720307827, 0.0009102503, -0.3503189385, -0.823662281, 0.5233281255, 0.5979205966, -0.0008054629, 0.1070535928, 0.7133626938, 0.1811159849, 0.4916157722, -0.9479196072, 0.1121641174, -0.0215253476, -0.1544811875, -0.2652122378, -0.1097819805, -0.0043456196, -0.237737909, 0.4764561951, -0.2701842487, 0.3662346303, -0.0690143779, 0.0941747203, -0.2391695678, -0.0454824455, 0.8714482784, 0.8881714344, -0.1100021973, -0.0085769836, 0.3259035945, -0.2979565263, -0.1575047523, 0.1502414942, -0.1010738239, -0.1215526313, 0.5547960997, 0.7807241082, 0.3960569501, -0.5099126697, 0.2742941976, 0.2061111778, -0.3206935823, -0.2912456989, -0.1172327325, -0.0991422161, 0.0024014651, 0.2740207314, -0.1800909489, 0.3930404186, -0.3301793337, -0.1391084641, 0.5866418481, 0.1452606171, -0.4062362313, 0.6566846371, 0.0549953133, -0.2647087574, 0.2534566522, -0.1371317506, -0.829485178, 0.5211060047, 0.7262917757, 0.6268417239, -0.0678445473, -0.1010085791, 0.4051939249, 0.4006000459, -0.1336501837, 0.0597457029, -0.0761925876, -0.7912412882, -0.7182606459, -0.9170181751, -0.4830650091, 0.2545936108, -0.4619911313, 0.1723167747, -0.5516479015, -0.2108269334, 0.1427312344, 0.258195281, -0.7482533455, -0.0936459973, -0.06370496, 0.3933208287, -0.3632246852, 0.5259854198, 0.5762986541, -0.2588427365, -0.9435734749, -0.1311049461, 0.1310675889, -1.015786767, 0.3329170644, 0.1886632293, -0.2913202047, 0.270565778, -0.3673487902, -1.1395235062, 0.961489439, 0.7177989483, -0.6194686294, -0.183026433, 0.2577672899, 0.4625916183, -0.3529012799, 0.0185934734, 0.8498848677, 0.6554415822, -0.0526462421, -1.2284836769, -0.193600893, 0.0823832303, 0.2386389971, 0.4470086694, -0.6202130318, 0.9209712744, -0.2580812573, 0.0971046463, 0.2457605302, 0.2749631703, 0.3931957185, 0.2092362791, 0.2609337568, 0.6069116592, 0.4858520329, -0.2302220762, 1.2660765648, -0.2038278282, 0.6414387226, 0.8020192385, -0.2753135562, 0.887296617, 0.4676215649, -0.5376685858, 0.1611765623, 0.8329665065, 0.13192752, 0.5732766986, 0.4423458576, -0.2950495481, -0.0688243359, 0.30270648, -0.5414664149, 0.5447829366, 0.428460449, -0.0483375788, -0.3960843086, -0.1287480146, 0.1209191829, -0.0256759766, -0.3361265361, 0.7945774198, 0.2238973528, -0.63935256, 0.8279672265, 0.1732062101, 0.5523526073, -0.7031881809, -0.1079129875, -0.212379247, 0.3488033414, -0.1096187085, -0.5994122624, 0.2433214933, 0.0479496233, 0.0969517678, -0.0806600377, 0.5084336996, -0.1343208402, -0.589289844, 0.2421299964, 0.3643369973, 0.4034086168, -0.2040136307, -0.8577879071, 0.4236913025, 0.1396889687, -0.2028228641, 0.0897515193, 0.5228697062, -0.0939940587, 0.6864150167, 0.7398465276, 0.06095431, 0.1065576673, 0.027003292, 0.7009923458, -0.5769856572, -0.3992304206, -1.042200923, -0.1045235321, 0.1208918989, -0.4222703278, 0.6189630032, 0.6933697462, 0.8056328297, -0.0317854099, 0.674048841, 0.3223538995, 0.3842346072, -0.7013520002, 0.1174550056, -0.4772798419, 0.4698912799, -0.476067692, -1.4413671494, -0.5237531662, 0.987688303, -0.4279120564, 0.3185820878, 0.5423682928, 0.5156450868, -0.0316567644, -0.036180187, 0.4115982354, 0.2368130088, 0.4805616736, 0.7292984724, 0.6957513094, -0.0749948621, 0.5995333791, -0.2653311789, -0.2696412802, -0.2553813159, -1.1030652523, -0.6409164071, -0.1610964835, -0.0720002875, 0.3069940507, -0.0061239232, 0.7640429735, 0.5472619534, -0.5071127415, -0.1230051145, -0.2593038678, -0.055104591, -0.0713090673, -0.211139217, 0.2309515029, -0.421744138, -0.7702943683, 0.48887676, 0.5909603238, -0.0156813841, -0.3522745371, -0.236011222, 0.0453357175, 0.1660886258, 0.8496856093, 0.1743647903, -1.0285773277, -0.1711488962, -0.0247329008, 0.2917097509, 0.193028301, 0.6940244436, -0.5745393038, 0.2498043925, 0.0101600708, 0.7737850547, 0.7716308236, 0.0812338442, 0.6708860993, -0.6250080466, 0.0989318341, 0.4434153438, 0.3306229711, 0.3629767895, -0.2690205276, 0.9254487157, 0.09674979, -0.6446086764, -0.8339787722, 0.2838976383, -1.048663497, -0.0698368996, 1.1184396744, 0.1334855407, 0.0660147518, 0.1711039394, -0.3569349945, -0.0986443833, -0.4178772867, 0.5419800878, 0.7304183841, -0.5645136833, -0.1372846365, -1.1533237696, 0.6123908162, 0.5764052272, -0.8680974841, -0.2031833231, 0.3886197209, 0.2643536627, 0.0647102296, 0.5922356844, -0.1337994933, 0.1244397014, -0.3474259079, -0.3351752162, -0.0826964229, -0.0727917776, -0.2567408085, 0.2071171403, 0.1224239022, 0.0458398722 ]
http://arxiv.org/abs/2403.04785v1
http://arxiv.org/pdf/2403.04785v1
Large Language Multimodal Models for 5-Year Chronic Disease Cohort Prediction Using EHR Data
2024-03-02T22:33:17
2024-03-02T22:33:17
Jun-En Ding, Phan Nguyen Minh Thao, Wen-Chih Peng, Jian-Zhe Wang, Chun-Cheng Chug, Min-Chen Hsieh, Yun-Chien Tseng, Ling Chen, Dongsheng Luo, Chi-Te Wang, Pei-fu Chen, Feng Liu, Fang-Ming Hung
cs.CL
cs.CL, cs.AI
Chronic diseases such as diabetes are the leading causes of morbidity and mortality worldwide. Numerous research studies have been attempted with various deep learning models in diagnosis. However, most previous studies had certain limitations, including using publicly available datasets (e.g. MIMIC), and imbalanced data. In this study, we collected five-year electronic health records (EHRs) from the Taiwan hospital database, including 1,420,596 clinical notes, 387,392 laboratory test results, and more than 1,505 laboratory test items, focusing on research pre-training large language models. We proposed a novel Large Language Multimodal Models (LLMMs) framework incorporating multimodal data from clinical notes and laboratory test results for the prediction of chronic disease risk. Our method combined a text embedding encoder and multi-head attention layer to learn laboratory test values, utilizing a deep neural network (DNN) module to merge blood features with chronic disease semantics into a latent space. In our experiments, we observe that clinicalBERT and PubMed-BERT, when combined with attention fusion, can achieve an accuracy of 73% in multiclass chronic diseases and diabetes prediction. By transforming laboratory test values into textual descriptions and employing the Flan T-5 model, we achieved a 76% Area Under the ROC Curve (AUROC), demonstrating the effectiveness of leveraging numerical text data for training and inference in language models. This approach significantly improves the accuracy of early-stage diabetes prediction.
[ -0.0741554871, -0.8952649832, 0.7621449232, -0.2071066648, -0.3236522675, 0.0311851669, -0.2720943987, -0.5868951678, 0.3546984196, 0.6915919781, -0.1711213887, -0.6347850561, -0.5886891484, 0.1670044661, -0.1219637766, 1.0691176653, -0.0232802667, 0.4160996079, -0.273996681, -0.0139900288, -0.4776522517, -0.6487801075, -0.493526727, -0.41916731, 0.8815002441, 0.3688230515, 0.3126381338, 0.374142319, 0.6554617286, 0.1914597303, 0.1254926622, 0.1450844556, -0.1820768565, 0.1014857441, 0.3746375442, -0.2278858721, -0.5911257863, -0.3703118265, 0.2286133021, 0.6510540843, -0.0636081323, -0.0204201527, -0.1353278458, 0.4513226449, -0.2397079915, 0.3708637953, -0.2531977296, 0.3240738511, -0.2196344584, -0.285835892, -0.4508321285, -0.1901631951, 0.3554069996, -0.4144960642, 0.1752489358, -0.0971647725, 0.610109508, 0.2380587012, -0.6609125733, -0.2007049918, -0.5805703402, 0.618745327, -0.74974823, 0.4905329049, 0.4884680808, 0.3662923574, -0.04005678, -0.6538084149, -0.3942766488, -0.596301496, -0.1380839497, 0.3713592291, 0.2174017429, 0.201962173, 0.0687694699, 0.3484902382, -0.7331959605, 0.0057327449, -0.532299161, 0.0041137738, 0.5358282924, 0.2620516121, 0.2898128033, -0.1205618083, -0.55526793, -0.0071047843, -0.3738324642, -0.1761055142, -0.4490356445, 0.272724092, -0.2095511854, 0.5622646809, 0.0883460641, 0.3489061892, 0.1508225203, -0.4006596208, 0.4678117633, -0.554703474, -0.2647893429, 0.373255372, 0.5913873315, 0.4094255865, 0.131661281, -0.1777507663, -0.0803793967, 0.1475971937, 0.2331855297, -0.7743293047, -0.4973858595, 0.5833598375, -0.5927252173, 0.0049495571, -0.1878354102, -0.9040651917, -0.4603025913, -0.2786929607, 0.0267667249, -0.5702804923, -0.1302292794, 0.3416974843, 0.1291471869, -0.27356565, 0.3757231832, -0.6756911874, 0.2462940961, 0.447052896, 0.6271871924, -0.1815351844, -0.0817279741, -0.5453285575, 0.1998222917, 0.0391646959, 0.6185595989, -0.3765792847, -0.2057996541, -0.063882336, 0.01300357, -0.1878384203, -0.5217114687, 0.3500860333, -0.3653577566, -0.1229197234, 0.2367335707, -0.5565903187, 0.1097974181, 0.24326092, -0.9658891559, 0.9499904513, 0.1015781462, -0.7035492659, 0.4669013023, -0.3308616877, -0.6058551669, 0.2183313668, -0.0864311159, -0.9620603919, 0.0674408302, 0.2697977126, 0.6928762794, -0.2899306715, 0.999648571, -0.5896969438, 0.1043756306, 0.4069052041, -0.4388504922, 0.2900017798, 0.0798521861, -0.1908421516, 0.2346450984, -0.7201185822, -0.2183602899, -0.0271093175, -0.2507929802, -0.5992307663, -0.1459580362, 0.3984114528, 0.3596938848, 0.0999816954, -0.5451167226, 0.1375296563, -0.3440224528, 0.3963117301, 0.4646634459, 0.0389783159, -0.0330341421, -0.4929525852, 0.3927749991, 0.4105621874, 0.3559137583, -0.398666203, -0.716075778, -0.2236255109, -0.2455956042, 0.2458479404, 0.54139781, -0.4456730783, 0.6096251011, -0.6267290711, -0.3556296229, -0.292521745, -0.0379369184, 0.2696180642, 0.5133578777, 0.5380380154, -0.4043975472, -0.3529360592, -0.7759165764, 0.2984376848, -0.0422214568, 0.1092519611, 0.4534569383, 0.7264751196, -0.4390779436, 0.3765760362, -0.659311235, -0.468198359, -0.2919135094, 0.0206789393, -0.0312443078, 0.5228455067, 0.2732843161, -0.9644310474, -0.5152662396, 0.2413067073, -0.5358065367, 0.2095289677, -0.0319310352, 0.1935488582, -0.1050878987, 0.3813360333, -0.4038659036, 0.3964425623, 0.7661340237, -0.4181497097, 0.3823220134, -0.3939234912, -0.073392719, -1.2265126705, 0.1823577285, 0.2819539011, -0.2833151817, -0.7368593812, -0.203545332, 0.1127312481, -0.1710271686, -0.1402075887, 0.7276523709, -0.272382468, 0.4133298397, 0.0462001525, -0.0755442157, 0.0295698475, 0.1678213477, 0.0508643575, 0.1455420256, 0.2211121321, -0.4834232926, 0.3247805238, 0.3935930729, -0.5676189065, 0.2459635139, -0.5461962819, -0.2180788219, -0.1636669934, 0.4948256314, -0.9333171248, -0.3500677049, -0.0020493979, -0.4339146018, 0.3937381506, 0.2767283618, -0.508993268, -0.5657553077, -0.1520683169, 0.4935859442, 0.0771695003, -0.1367737204, 0.5945090652, 0.5523746014, -0.3440128863, -0.3716411591, -0.9714778066, 0.0070943572, -0.2161505669, -0.4769217372, 0.5773271918, -0.18254219, 0.1027755067, 0.1354692876, 0.1372433454, -0.4406137168, 0.1219628006, 0.2496383041, 0.4032256007, -0.2232988179, 0.4626663029, -0.2008148283, -0.1758253574, -0.1746500283, -0.0935657173, 0.5193991065, 0.2933374047, -0.3015184104, -0.401351124, 0.5349308252, 0.8018800616, -0.3746637106, 0.7029805779, 0.5156937242, -0.5273113847, 0.3193906248, -0.5978506207, -0.2944393456, -0.3162931204, 0.5578426123, -0.0960149989, -0.9259859324, 0.445482254, 0.0580417104, -0.1354029775, 0.1622850895, 0.6635897756, 0.1937845498, 0.9711397886, 0.6141538024, -0.089127101, 0.3670919836, -0.0524210595, 0.1419091076, -0.765167594, -0.4697146416, -0.2287625819, 0.0246265624, -0.5704829693, -0.6120361686, 0.8294734359, -0.3863552511, -0.3513440192, -0.0774536431, -0.2500004768, -0.0623265579, 0.2148742974, 0.6665427685, 0.297521323, -0.0393192247, -0.3821515739, -0.0307770465, -0.6304550171, -0.2343131453, 1.3361065388, 0.4995981455, 0.7000324726, -0.0120884292, 0.5861263871, 0.2103539407, 0.716965735, -0.708388567, -0.1212727278, -0.5655171275, -0.627566278, -0.3001031578, -0.4216116071, -1.0428657532, -0.0609351024, -0.1669462919, -0.4727767706, 0.0326014161, 0.2065407336, -0.7411423922, 0.2315242141, -0.6621826291, 0.9680750966, -0.7654311657, -0.2889990211, 0.0035119401, -0.7420831323, 0.4397682548, -0.3338857889, 0.3047757149, -0.0607428327, 0.1800585091, 0.3834401071, -0.1507145315, 1.0721086264, 0.0709977373, -0.1037563458, -0.2117084414, -0.4030309618, 0.3799241185, 0.2612287402, 0.0332388021, -0.0306582414, 0.041465845, -0.3113846183, -0.2576448023, 0.6259652376, -0.6372285485, -0.2374724001, -0.4415713847, -0.3558600545, -0.2551544011, 0.3191331625, -0.1747926474, 0.6307370067, -0.3024402261, 0.2025040388, 0.7777804732, -0.4871005118, 0.0693076327, 0.3004613817, -0.0270992834, -0.6938605309, 0.6886504292, -0.1357067674, 0.2476816922, 0.6315385103, 0.5332083702, -0.2265630066, -0.3435181081, -0.4262418151, 0.2512188554, -0.4193210006, -0.2586754262, -0.8225988746, -0.1091964394, -0.5177496076, -0.0155039839, -0.2058984041, 0.2101678401, -0.3431780636, -0.0495977178, 0.4514458776, 0.5624941587, 0.2616801262, 0.043362163, -1.1303590536, 0.4689927101, 0.0329238251, 0.4427262247, 0.2813062072, -0.2545650899, -0.4759576023, -0.0824520662, -0.1678875089, -0.7825146317, 0.7655006051, 0.2298858017, 0.5046260953, 0.4453620911, -0.0397396274, 0.6905241609, -0.6146993041, 0.5712416768, 0.5111911297, -0.4594100416, 0.400141418, -0.229513377, 0.4153818786, 0.498421073, 0.3901178241, -0.7089541554, -0.1580188274, -0.526386261, -0.9251740575, 0.2708219886, -0.196320489, -0.0696436688, -0.007147904, 0.2718650997, 0.2934105098, 0.1406826824, -0.6739417315, -0.3562862277, -0.1589734554, -0.6524385214, -0.5423684716, -0.1890606433, -0.0778224766, -0.4119937122, 0.2761425972, -0.307661593, 0.3947461843, 0.4025090933, -0.057405211, -0.1424713582, 0.3446353674, 0.7596511841, 0.4275909066, -0.2774654031, 0.1836051941, 0.0254694484, -0.7297750115, 0.0316874348, 0.4589369595, 0.0310920421, -0.0712127313, 0.4036358595, 0.7834041715, 0.5264196396, -0.9202923775, 0.5036087632, -0.011560766, -0.0811425894, -0.7628099322, -0.3957552016, 0.1891794503, -0.0334069543, 0.1958920807, -0.0707503781, 0.0500604361, -0.4111221135, 0.5733478665, 0.164064154, -0.6006249189, -0.3585197628, 0.7910729647, 0.2704266012, 0.4045546055, 0.466676861, 0.2620045841, -0.3969343603, 0.8306458592, 0.5114449263, 0.5747607946, -0.3301389515, 0.2006171793, 0.3844856024, 0.1428065151, -0.2550929785, 0.1818384081, 0.4030591846, -0.5952270031, -0.6287699342, -0.662448585, -0.1987605691, 0.5404655933, -0.4609120488, 0.2961648107, -0.2702555358, -0.2235871255, 0.3027721643, -0.0428694561, -0.6393969059, 0.4497000575, 0.5126693845, 0.5599889159, -0.8665166497, 1.0602283478, 0.602539897, -0.4419325888, -0.6010858417, -0.0111368606, -0.0270137209, -0.5615269542, 0.7228180766, 0.403108269, 0.4154940844, -0.157274276, -0.1991632283, -0.8885710239, 0.9722276926, 0.1654558927, -0.8355999589, -0.1740875244, 0.1365146935, 0.5919479728, -0.4748854339, 0.1109579355, 0.3141001165, 0.6022199392, -0.0626179799, -1.1567704678, 0.0315718949, -0.1883466989, -0.1862214506, 0.3157522082, -0.6243355274, 1.0124952793, -0.2999249995, 0.0514892824, -0.0001398572, 0.2989629805, 0.2843529284, 0.6914490461, 0.2017866224, 0.7149947882, 0.7992409468, 0.099951975, 1.201628089, -0.4075119793, 0.3125525117, 1.0133405924, -0.5790637136, 0.7390273213, 0.2900714278, 0.0082691284, 0.3561490774, 0.6249148846, -0.1086698994, 0.5717688203, 0.2326317281, -0.3574480414, -0.2947360575, -0.1230719164, -0.3074543774, 0.2556835115, 0.5981657505, -0.67995435, 0.0092525398, 0.4244423807, -0.0856947228, -0.1325010657, -0.1762673855, 0.6205862761, 0.216406852, -0.4533236921, 0.4394814968, -0.1226301864, 0.683494091, -0.4388363659, -0.2080589384, -0.0459988452, 0.5420726538, 0.0022259296, -0.5079488158, 0.1597415805, -0.3572912812, -0.2062920332, -0.0679367483, 0.6682475209, -0.7604092956, -0.7443616986, 0.4192345738, 0.4978204072, -0.0579056516, 0.0668025017, -0.7013539672, -0.1405228227, -0.2876910567, 0.0213535987, 0.3981262743, 0.5565829277, -0.2258843184, 0.6940832138, 0.5400679708, 0.2746449113, -0.1136645377, 0.0605751537, 0.9395778775, -0.7910924554, -0.2784515619, -0.6953389049, 0.4245429039, 0.1796391159, -0.3697947264, 0.2901925147, 0.5948269963, 0.5933750868, -0.3147857785, 0.9743627906, 0.1791861802, 0.534574151, -0.6305058002, 0.6869955659, -0.6589046717, -0.1768765301, -0.2031769603, -0.0691656545, -0.6191132069, 0.2445463389, -0.2228425592, 0.1114008278, 0.915604353, 0.436563015, -0.0788902566, -0.3311971128, 0.4186921418, 0.3750984371, 0.3353981376, 0.9196493626, 0.3020566106, -0.3036588728, 0.2125585824, -0.3221473694, -0.0325189903, -0.6247347593, -0.5569673181, -0.877543211, -0.6265233755, -0.269115448, -0.3209130466, 0.1706112772, 0.8508974314, 0.540183723, -0.9521226883, 0.115656808, 0.1261254549, -0.2400548458, -0.2956631482, -0.163753584, 0.6495381594, 0.1840571016, -0.474571228, 0.1209837049, 0.2390776873, 0.2244136184, -0.4020367265, 0.0803077742, -0.3463465273, -0.4692932665, 0.7795538306, 0.0047218837, -0.8435911536, -0.2080871314, 0.2905802131, -0.4327870905, 0.149371013, 0.822537601, -0.6401597261, 0.4892986715, 0.1570756733, 0.6316296458, 0.3612733185, -0.0805912688, 0.5355164409, -0.3136717081, 0.022384407, 0.5357041359, 0.2974139154, 0.4721550941, -0.5792149305, 0.1693669111, 0.2864099741, -0.5079503059, -0.4815472066, -0.06792292, -1.1429485083, -0.3144814968, 1.0610334873, -0.1669504791, -0.3635257483, -0.6219339371, -0.0650147721, 0.4438769519, -0.4823140502, 1.0412111282, 0.3594298363, -0.2761039436, -0.2337847054, -1.0230563879, 0.3326956928, 0.4078892469, -0.9921984673, 0.1409479976, 0.6411491036, 0.2950797677, 0.0707158968, 0.6510091424, -0.15172337, 0.324486196, -0.2621510923, 0.211637944, 0.0708967149, -0.3640387058, -0.1940704584, 0.0426069014, -0.2559053302, 0.206827715 ]
http://arxiv.org/abs/2403.01309v1
http://arxiv.org/pdf/2403.01309v1
VNLP: Turkish NLP Package
2024-03-02T20:46:56
2024-03-02T20:46:56
Meliksah Turker, Mehmet Erdi Ari, Aydin Han
cs.CL
cs.CL, cs.AI, cs.LG
In this work, we present VNLP: the first dedicated, complete, open-source, well-documented, lightweight, production-ready, state-of-the-art Natural Language Processing (NLP) package for the Turkish language. It contains a wide variety of tools, ranging from the simplest tasks, such as sentence splitting and text normalization, to the more advanced ones, such as text and token classification models. Its token classification models are based on "Context Model", a novel architecture that is both an encoder and an auto-regressive model. NLP tasks solved by VNLP models include but are not limited to Sentiment Analysis, Named Entity Recognition, Morphological Analysis \& Disambiguation and Part-of-Speech Tagging. Moreover, it comes with pre-trained word embeddings and corresponding SentencePiece Unigram tokenizers. VNLP has an open-source GitHub repository, ReadtheDocs documentation, PyPi package for convenient installation, Python and command-line API and a demo page to test all the functionality. Consequently, our main contribution is a complete, compact, easy-to-install and easy-to-use NLP package for Turkish.
[ -0.5115417242, -0.5949485898, -0.0082579497, 0.4383809566, -0.6152769327, -0.3803091347, -0.4681396484, -0.6575172544, 0.3463146389, 0.6298188567, -0.3080912232, -0.6590510011, -0.4911844134, 0.1975572258, -0.2114398926, 1.1598545313, 0.2264274955, 0.1273820698, 0.2139610797, -0.1701797992, -0.41114223, -0.4717150033, -0.6498805285, -0.1291358471, 0.560654521, 0.1853047311, 0.4300595522, 0.4375802279, 0.4227939248, 0.2071965486, -0.4542808235, -0.1378796995, 0.1863196045, 0.2625462115, -0.2428948432, -0.1787471473, -0.4143472612, -0.3997172117, 0.6042010784, 0.4785823226, -0.218136698, 0.6433543563, 0.0970134884, 0.7608970404, -0.6953009367, 0.0690090656, -0.5916308165, 0.2688126564, -0.4212941229, -0.2498119771, -0.2691877484, 0.0155358315, 0.0298295226, -0.3335976899, -0.0660526752, -0.0912435278, 0.6686682105, 0.3278166354, -0.3916877508, -0.4465171695, -0.5138828158, 0.6844370961, -1.1096929312, 0.2453771681, 0.0977041647, 0.50271523, -0.2856070697, -1.0510730743, -0.6723646522, -0.1477354169, -0.0893700197, -0.1394640356, 0.0062882537, 0.2281096429, 0.0289309788, 0.7545462847, -0.6528457403, 0.0699149221, -0.3332338035, -0.0202446673, 0.3252145946, -0.0184162892, 0.3107275963, -0.2465987951, -0.3927977383, 0.2202178985, -0.3655954599, 0.2705914378, 0.1509335488, 0.5763972998, 0.1250558496, 1.0610207319, -0.7643924356, 1.160902977, -0.3953312337, -0.0014942943, 0.041691307, -0.3386668563, -0.7125839591, 0.5062872767, 0.7565892339, 0.0721222162, -0.1198013797, 0.1079268381, -0.0146416901, 0.0002774266, 0.1242240295, -0.4587062001, 0.056531705, 0.522266984, -0.5269388556, -0.539329648, -0.1644423753, -0.6925649643, -0.2078798413, -0.3383806646, 0.2967305779, -0.1435167789, -0.5148144364, 0.5661407113, 0.1147849783, 0.5011669397, 0.3028591871, -0.9735102654, 0.5390295386, 1.0576349497, 0.9925229549, -0.2179350704, -0.0947545245, -0.7465916276, -0.1608530283, 0.0375459343, 0.7051877379, -0.2198002189, 0.0265796166, 0.3527734876, 0.0381547101, 0.2145555317, -0.3427656591, 1.2269016504, -0.2758119702, 0.4998384416, -0.2391824424, -0.6261808276, -0.1739403754, 0.3802258968, -0.7529055476, 1.005589962, 0.0086842552, -1.4952931404, 0.5226573348, -0.7567675114, -0.1206143573, 0.4791946411, -0.0963143855, -0.0960962251, 0.3002711236, 0.2257573903, 0.4195330143, -0.0252857674, 0.0559116751, 0.0058007417, -0.2105124444, -0.2102309614, -0.1119945273, 1.2123550177, 0.3656472266, -0.3177844584, 0.4205819368, -0.780264914, 0.1099954396, -0.0675733313, -0.9339141846, -0.2790138721, -0.0908074528, 0.7685782313, 0.4844759107, 0.5045503974, -0.5899893045, 0.5470765829, -0.6881661415, 0.0633754954, 0.6294987798, -0.4634534419, 0.2878353596, 0.1337508559, 0.4052532017, -0.0690110028, 0.0508414134, -0.1852105707, -0.7735280395, -0.8718395829, -0.2968652248, 0.3781561852, 0.7364962101, -0.5294439793, 0.5822176933, -0.1565330178, -0.2656008303, -0.5719828606, 0.0358998068, 0.097083278, 0.5506998301, 0.423530519, -0.0353247523, -0.8244608641, -0.7806841731, -0.373195231, -0.2529263496, -0.0787452459, -0.1598330289, 0.3655371666, -0.0794608891, 0.8323588371, -0.1772248298, -0.6687343121, -0.6448987722, -0.1573251784, 0.5137437582, 0.4979348481, 0.2766191363, -0.6686080098, -0.4820277989, 0.2750606835, -0.5718730092, -0.1663685143, 0.2567433715, 0.1485544592, 0.7356064916, 0.3891149461, -0.9155318737, 0.3940811157, 0.5612747073, -0.6750376225, 0.8975097537, -0.0828446224, -0.3084894717, -1.3180788755, 0.3200810552, -0.1438936889, -0.4736177921, -0.6072032452, 0.416570425, -0.5572763681, 0.0534322783, -0.8037160039, 0.7108424902, -0.0491579212, -0.1048137918, -0.3792460859, -0.3704146743, -0.2796597481, 0.2856380939, 0.4522252977, 0.5098584294, 0.4675327241, -0.5851680636, 0.4757837951, 0.0596074201, -0.4489229023, 0.3441343307, -0.6296066642, -0.0522170551, 0.0632174388, -0.0495706312, -0.6780406237, -0.0464361422, 0.6446815133, -0.4742129445, 0.2964587212, -0.2405886948, -0.4478017092, -0.1355314255, -0.3440517187, -0.0091526164, 0.3810422421, -0.4145137668, 0.384162575, 0.2410561889, -0.2994288206, -1.0854101181, -0.6518340707, 0.2717176378, -0.2541406453, -0.5001206994, 0.3538594246, 0.114868775, -0.3187475801, 0.2791521549, 0.0063323891, -0.3165127039, -0.0036110731, -0.0005450777, -0.1435587853, -0.632001102, 0.0922101066, -0.0048841047, -0.3889754415, -0.3313812613, -0.5837981701, 0.7892856002, -0.6197507381, -0.0492791906, -0.5255909562, 0.4815962315, 0.2571073472, -0.2090770304, 0.8562088013, 1.0702615976, -0.4696007967, -0.1277581304, -0.3468986154, 0.2063021809, -0.4185998142, 0.363384217, -0.2571508884, -0.9839466214, 0.0979317054, -0.090239346, 0.5756331682, 0.5465074778, 0.5501018763, -0.0598544478, 0.7085974813, 1.035623312, -0.324837476, 0.1905418783, 0.1801355481, 0.1450115293, -0.6190888286, -0.047068987, -0.7263090611, -0.0527135767, -0.5944910049, -0.1617297828, -0.1876409501, 0.3163998723, 0.0907900259, 0.3616941571, -0.8701468706, 0.4232454598, 0.629868865, -0.5435698628, 0.3577305079, 0.2252732813, 0.0135968542, -0.0834474415, -0.543331027, -0.8349853158, 0.8940078616, 0.4564422667, 0.1863820106, 0.1087954268, 0.8586346507, 0.4404232204, -0.155106172, -1.0267213583, 0.7009843588, -0.2134012729, -0.3812475801, -0.3847167194, -0.0136167733, -1.058850646, 0.2989321053, -0.3769415319, -1.1499539614, -0.2486895323, 0.0059399498, -0.2317519188, 0.3844515383, -0.3101864755, 1.1109031439, 0.1862640828, 0.0505366474, -0.1247440651, -0.5448065996, 0.5961110592, 0.3734090924, -0.0593624189, -0.0259406827, -0.0564248301, 0.7500029206, -0.5916377902, 0.2876057029, -0.2467412651, 0.2065063566, 0.2020080686, -0.0145419203, 0.0856730118, 0.2778495848, 0.1159402058, 0.2806833386, 0.4311677217, -0.4230733812, -0.3236856163, 0.6842188835, -0.5119390488, -0.4078535736, -0.7760906816, -0.1620796025, 0.3282061517, 0.3016498387, 0.1504428387, 0.2144103944, -0.2550449073, 0.2745545208, 0.5523195267, -0.5469914675, 0.7700271606, 0.319652468, -0.9032909274, -0.3799350262, 0.6551234126, -0.1821117699, -0.1677580476, 0.4406217039, 0.3157105446, -0.3819862008, -0.672814548, -0.4506961405, 0.0718550161, -0.8195117712, 0.1019492075, -0.7974461317, -0.3658855259, -0.3714022636, -0.0723934919, -0.5243735313, -0.7753583789, -0.07250949, -0.0649144575, -0.0220738277, 0.658890605, -0.1042883843, 0.3308479786, -0.5467150211, 0.4018922746, 0.4592131972, 0.0185123309, -0.4573116302, -0.1630853564, -0.3629399538, -0.3765746355, -0.0420074388, -0.7504600286, 0.5867967606, 0.2173504084, 0.4093390405, 0.3484063148, 0.0268298034, 0.0226160027, -0.3496483266, 1.167521596, 0.0284569077, -0.8383986354, 0.5560942888, -0.2820894718, 0.6225224137, 0.5885279179, 0.0333491899, -0.7931544185, -0.0720932782, -0.3809551597, -1.0638902187, 0.7013783455, 0.3081620336, -0.085541375, 0.1823367625, 0.195515722, 0.066649422, 0.4303061068, -1.0332294703, -0.3106266558, -0.3494089544, -0.2742961347, 0.0050641806, -0.5921558738, 0.0213765018, -0.2970918119, 0.7030869722, 0.0265919622, 0.348128885, 0.3255771995, -0.2390045673, 0.1761354357, 0.5053012967, 0.9922943115, 0.51519382, -0.5627040267, 0.271173954, 0.0572036617, -0.6978002191, -0.087675944, 0.0813090652, -0.0545876324, 0.5635967255, 0.4804380536, 0.6512060165, -0.362070322, -0.5831927657, 0.6538642049, -0.4067573249, 0.1728450954, -0.6970744729, -0.1149851307, 0.1584016383, 0.1527585387, 0.528826654, -0.1185020357, 0.3930239677, -0.3433267474, 0.3768394291, 0.1687642038, -0.6120625138, -0.2424085885, 0.5347977877, -0.0298443306, -0.7012118101, 0.4294268787, -0.2983063757, -0.3619408607, 0.3326226473, 0.4201899469, 1.0971529484, -0.1099256873, 0.5671662092, 0.4352439046, 0.4765284061, 0.0791410282, 0.499130249, -0.2633154988, -0.5880323648, -0.7593825459, -1.0002924204, -0.1457734406, 0.547985673, -0.5829815865, 0.5966722965, -0.6614952683, -0.048829034, -0.0017469309, 0.1289729178, -0.6358014941, 0.2183695287, 0.4161914587, 1.1853221655, -0.7197785974, 1.1169973612, 0.8879935145, -0.2155872434, -0.4241399467, -0.1396393031, -0.0605509877, -0.3355311751, 0.8664227724, 0.5369260311, 0.1442732662, 0.0548544228, -0.4756346643, -0.4721724093, 0.6217986941, 0.1518250853, -0.3821218014, 0.0818562508, 0.435067445, 0.5542154312, -0.2135763764, 0.1589958072, 0.4813839495, 0.3181678951, -0.2127005309, -1.1276299953, 0.0440383181, -0.3826076686, -0.1477237195, -0.0153405815, -0.0867263153, 0.775875628, 0.2918966413, -0.1168716177, -0.0739650428, 0.889936924, 0.2769738734, 0.2878552675, 0.5203865767, 0.7654588819, 0.3396932781, 0.0584667437, 0.795372963, -0.2624216378, 0.1483839154, 1.2477530241, 0.2917732596, 1.0538240671, 0.7530102134, -0.1518178582, 0.3052195311, 0.5811405182, 0.4657236636, 0.5306332111, 0.1547361016, -0.584030509, -0.0475962274, -0.3845283687, -0.5755734444, 0.5211168528, 0.2295446098, -0.0963732302, -0.4395680726, -0.2764707506, 0.1501101851, -0.2704103887, -0.2899267972, 0.6519694924, 0.2377092391, -0.2580116391, 0.3542712331, 0.2785928845, 0.9193197489, -0.7754129171, -0.1008341089, 0.1090636104, 0.0119073205, -0.3568377197, -0.7944286466, 0.7055241466, -0.1530427337, 0.1430488676, 0.002092086, 1.0417311192, -0.2901296914, -0.4419044852, 0.0590222478, 0.3287935853, 0.1834738255, -0.2333611846, -0.9048498869, -0.05315971, -0.066949673, -0.7265635133, 0.2958702445, 0.1882467568, 0.1608799696, 0.4748661816, 0.7478440404, 0.4042726457, 0.3418628871, -0.0762804747, 0.6765769124, -0.7478535771, -0.5832220912, -0.9282969832, 0.9588772058, -0.2257117778, -0.5241645575, 0.5708001852, 0.5266615152, 0.8140477538, -0.2757331431, 0.6536517143, -0.1883857399, 0.3504601717, -0.5196250677, 0.669791162, -0.4902575612, 0.0840734765, -0.3960187435, -1.1164087057, -0.5743079185, 0.62019521, 0.2034138441, -0.6207472682, 0.6481592059, 0.2815287113, 0.0080204289, -0.2798996568, 0.390439868, -0.1072134674, 0.3461104333, 0.2846983075, 0.6403903961, -0.2820553184, 0.2039583921, -0.2273606658, 0.0312789641, -0.1995311379, -0.9338024259, -0.9828294516, -0.6853563786, -0.2587872446, -0.2252718955, -0.1657200754, 1.3178935051, 0.4396044314, -0.9173249006, -0.2315451354, -0.3816516101, 0.2012884021, -0.3115284443, -0.2654232383, 0.4423054755, -0.5814247727, -0.6071535945, 0.3053683043, 0.5171633363, -0.0988666788, -0.4459949732, 0.0194004588, -0.387136966, -0.0570825934, 0.5899114609, 0.5064171553, -0.8560084701, 0.0635159835, -0.2401507348, -0.030242024, 0.1043279991, 0.5758494139, -0.7706723213, 0.6552789211, 0.9111012816, 0.6025474668, 0.3395803571, -0.4425349832, 0.5460798144, -0.5607204437, 0.6827381849, 0.3083691597, 0.4610482752, 0.306209892, -0.2864438295, 0.4721305966, 0.0988122523, -0.4441582561, -1.1385872364, 0.3631060719, -1.2254121304, -0.2475372702, 0.9656865597, -0.1898680478, -0.3577723503, -0.4060508013, -0.6879267693, 0.3630094826, -0.0828765407, 0.8095480204, 0.7024160624, 0.2927011251, -0.3884343505, -0.8310248852, 0.940321207, 0.2988652289, -0.669021368, -0.2349773496, 0.1121999845, 0.093776077, 0.0935398638, 0.8557295203, 0.1137153059, 0.0111664766, -0.0468630008, 0.3559332192, -0.2456786186, -0.2245469838, -0.6109050512, 0.3627984226, 0.195014745, -0.3760887384 ]
http://arxiv.org/abs/2403.01308v2
http://arxiv.org/pdf/2403.01308v2
VBART: The Turkish LLM
2024-03-02T20:40:11
2024-03-14T16:37:37
Meliksah Turker, Mehmet Erdi Ari, Aydin Han
cs.CL
cs.CL, cs.AI, cs.LG
We present VBART, the first Turkish sequence-to-sequence Large Language Models (LLMs) pre-trained on a large corpus from scratch. VBART are compact LLMs based on good ideas leveraged from BART and mBART models and come in two sizes, Large and XLarge. Fine-tuned VBART models surpass the prior state-of-the-art results in abstractive text summarization, title generation, text paraphrasing, question answering and question generation tasks. They allow fine-tuning for future text generation tasks and datasets, carving a new path for Turkish Natural Language Processing (NLP) research. Our work shows that having a pre-trained LLM for Turkish outperforms up to 3x multilingual models, improving existing results and providing efficient models for training and inference. Moreover, we show that our monolingual tokenizer is up to 11x more efficient than multilingual tokenizers. Last but not least, we introduce a method to enlarge an existing pre-trained LLM and question the relevancy of Chinchilla Scaling Law to sequence-to-sequence masked language models. Our fine-tuned models, tokenizer and cleaned vngrs-web-corpus of 135 GB are publicly available at huggingface.co/vngrs-ai.
[ -0.5895133018, -0.6083733439, 0.2301298082, 0.2552177608, -0.8084040284, 0.1177228913, -0.3140669763, -0.4139697254, 0.3546669781, 0.8679491878, -0.4526496828, -0.3858306408, -0.6564857364, 0.214606896, -0.4219409525, 1.2873251438, 0.0636625588, 0.1813298613, 0.182208389, -0.1451803148, -0.403517127, -0.6633033752, -0.5949087143, -0.0384202115, 0.6112734675, 0.0208000746, 0.3159460127, 0.7303243876, 0.3723681271, 0.2467949539, -0.2264150083, 0.107662715, -0.2637923956, 0.0755138248, -0.1501007676, -0.2497656494, -0.4973229766, -0.4070364535, 0.5284827948, 0.6403833032, -0.0439024046, 0.5833590031, 0.0409010574, 0.7733294368, -0.3314658403, 0.1064516082, -0.6691332459, -0.1012678444, -0.4433126152, -0.1224863306, -0.306974709, -0.308506459, -0.0097713601, -0.2441157699, 0.146553278, 0.2110382169, 0.6000725031, 0.3062253296, -0.7117230892, -0.2247801572, -0.628319025, 0.555606246, -0.8603897691, 0.3948438466, 0.2597456872, 0.3018999398, -0.3195341825, -1.1646088362, -0.5202060342, -0.3497007787, 0.1471289843, -0.0373822078, -0.0072736363, 0.0878634974, 0.0649668574, 0.5429637432, -0.7902737856, 0.0317941457, -0.5649599433, 0.1039727554, 0.3621865809, 0.2134092003, -0.0786613449, 0.0263939332, -0.211883232, 0.1738547534, -0.8709729314, 0.0290286653, 0.213441968, 0.5350914598, 0.2498351634, 0.9049872756, -0.2790004313, 0.9454764128, 0.196787104, -0.0398820713, -0.0585501157, -0.4314114451, -0.3823311627, 0.3203789294, 0.7300444245, -0.1342908144, 0.2330243886, 0.068783991, 0.0389118753, -0.2643999159, 0.4008408189, -1.0203123093, 0.0600421764, 0.1279025078, -0.3314164579, -0.3608927727, -0.0479230322, -0.3069136739, -0.3817872703, -0.3753671348, 0.4424567819, -0.3013439178, -0.2026834041, 0.5127426386, 0.3289868832, 0.4335893691, 0.4298668802, -0.9316710234, 0.3693057895, 0.8866097927, 0.6532844305, 0.1242193505, -0.1145264283, -0.5172504187, -0.1388828009, -0.5480409861, 0.6280145049, -0.0512537137, -0.0584359467, 0.2481246144, 0.1618161201, 0.3060239851, -0.4020954072, 0.6785339713, -0.6310093403, 0.1184597835, -0.2931461036, -0.660333395, -0.2331021726, 0.3413628936, -0.7245286107, 0.9126924276, -0.0109337121, -1.0178847313, 0.5179550052, -0.2699057758, -0.6415600777, 0.2257650346, -0.0035140757, -0.4319991469, 0.3783229291, 0.3095132709, 0.6252418756, -0.4578917325, 0.128110081, -0.0952643007, -0.2366668135, -0.0615125149, -0.2526738644, 0.8095110655, 0.2162656933, -0.1688587964, 0.1663138866, -0.7301290035, -0.099543564, 0.0849387795, -0.7462766171, -0.2712895572, -0.0667332709, 0.0856294408, 0.1615295559, 0.4292159379, -0.4165942073, 0.3230788708, -0.3858756721, 0.3923546374, 0.6092326641, -0.1557254195, -0.0208663531, -0.3244709671, 0.5537829399, -0.2276129574, -0.2666156888, -0.3832952976, -0.2397016585, -0.9045042992, -0.6465953588, 0.4217308164, 0.5891258121, -0.5105990767, 0.5232537985, -0.416293323, -0.5515376329, -0.5053690672, 0.174491778, 0.1037444621, 0.2694172859, 0.1988688111, -0.3851478994, -0.8349593878, -0.6258553863, -0.2300780267, -0.1700405777, -0.0415543839, -0.0687546059, 0.3458901048, -0.0634538457, 0.855592072, 0.1620948166, -0.2722257376, -0.7169347405, 0.0480181947, 0.5533114076, 0.2823924422, 0.3800931871, -0.5952078104, -0.6215757132, 0.1398138106, -0.4352843463, -0.1381305903, 0.0813151821, 0.1889940202, 0.3329493999, 0.8353209496, -0.6755708456, 0.2391248792, 0.5214414001, -0.3256455064, 0.8858437538, -0.2530945539, 0.0504238307, -1.6248958111, -0.0212015044, -0.2285131514, -0.6791039109, -0.6253644228, 0.0539320633, 0.0349148735, 0.0564780198, -0.6293347478, 0.774710834, -0.4770571887, -0.0482778624, -0.3467085361, -0.2166039646, -0.3721984029, 0.2819804847, 0.1100639701, 0.868722856, 0.3079089522, -0.6627157331, 0.4048388898, 0.2468272597, -0.7290191054, 0.3469784558, -0.6117293239, -0.0521794222, -0.104250595, 0.3051717579, -0.8641605973, -0.1752480119, 0.0202203337, -0.450743556, 0.4891695678, -0.3061586916, -0.5456059575, -0.5620308518, -0.3513018191, 0.5342502594, 0.5796239376, -0.6287244558, 0.3970208764, 0.0902261585, -0.4734686017, -0.8645499945, -0.5707482696, 0.1334798336, -0.3503934443, -0.4274377227, 0.0480972305, 0.0522388443, -0.0742541775, -0.1966613233, -0.1184511483, -0.0498950146, 0.0107355332, 0.0269656926, 0.0317813791, -0.7043139935, 0.1275294274, 0.0692282915, 0.0447839797, -0.1547715813, -0.724024415, 0.9562476277, -0.4174672961, -0.2413324714, -0.2216413766, 0.0891376361, 0.37524575, -0.5430555344, 0.9047180414, 0.7385754585, -0.3081852496, 0.2066790462, -0.6419603825, 0.1480837315, -0.4575028419, 0.7085867524, -0.4908082187, -1.3036351204, 0.319889307, -0.3009316027, 0.3939038217, 0.4046866, 1.0062274933, 0.0044039786, 0.7804698348, 0.8382576108, -0.2160521597, 0.5251369476, 0.1440339535, 0.315441519, -0.6229911447, 0.2169331163, -0.4665214121, 0.2327430546, -0.7127373815, -0.433159858, 0.0227979608, 0.2872879803, -0.3459275365, 0.4846555293, -0.04203384, 0.5177392364, 0.5526842475, -0.1903332323, 0.2282538712, 0.0542798825, 0.0310604647, 0.0737926736, -0.4886159897, -0.7404001355, 1.3964911699, 0.1531517506, 0.5219556689, 0.152174294, 0.8921539783, 0.3292675018, 0.2470924258, -0.7562959194, 0.4646430314, -0.2815836966, -0.7700082064, -0.3964359164, -0.1434708536, -1.138581872, 0.4088593125, -0.2175532728, -0.7158970237, -0.4871932864, 0.168703407, -0.4108333588, 0.3243041337, -0.1692579538, 0.8375287056, -0.1149396598, -0.3299252987, -0.1393713504, -0.6483545899, 0.7045171857, -0.3875294626, 0.1687685698, -0.0349407643, 0.010599074, 0.6913788319, -0.6940189004, 0.4890917242, 0.1979096681, 0.061099831, 0.2541763186, 0.1559489369, 0.3825996816, 0.0839231312, 0.104729034, 0.1155243441, 0.1911653131, -0.6444286704, -0.1793625206, 0.2940875292, -0.5352705717, -0.7447739244, -0.473405838, -0.1471171677, -0.0796322674, 0.4298520088, 0.2590795159, 0.4058564603, -0.4909892678, 0.3672806919, 0.7284545302, -0.4697636962, 0.2626912296, 0.4663997293, -0.5964180231, -0.4162140191, 0.6636818051, -0.1201186925, 0.14267461, 0.4678306282, 0.0876764953, -0.1904050857, -0.6644077301, -0.6127366424, 0.3662961423, -0.4256246686, -0.1455675364, -0.7597575188, -0.3785966933, -0.6531565189, -0.1749301404, -0.6936103702, -0.495664537, -0.0306756217, -0.2882254422, 0.2566303611, 0.8245618939, -0.3499649763, 0.5626465678, -0.6870455146, 0.229307428, 0.3598141372, -0.0933761969, -0.3772545755, -0.720228076, -0.4579506218, -0.2405897081, -0.0830020532, -0.4976968765, 0.741166234, 0.0949201807, 0.2603024542, 0.3726304471, -0.0364073031, 0.4252257943, -0.7763634324, 0.8239693642, 0.1004356295, -0.7609494328, 0.1242074072, -0.3829726279, 0.3425831795, 0.5421692133, 0.3003952503, -0.7123547792, -0.3908413947, -0.2555019259, -1.0432937145, 0.5330425501, -0.0043613194, 0.3140413463, -0.0043943315, 0.3397989273, 0.4262793958, 0.4557496607, -0.8069903255, -0.209756732, -0.2136709094, -0.3975272179, -0.4457281232, -0.6411584616, 0.289342612, -0.2799969614, 0.7334391475, 0.0133719379, 0.2014014274, -0.0347453505, -0.3485918045, 0.152730152, 0.3392192423, 0.9285829067, 0.5357175469, -0.4245378673, 0.2000677735, 0.3368360996, -0.6433160901, 0.2501029074, 0.1986765265, 0.2254870236, -0.0250404105, 0.5491654873, 0.8130875826, -0.1837773323, -0.6992807388, 0.5892528296, -0.4102610052, -0.291728586, -0.5977350473, -0.4562435448, 0.1464031786, 0.4181536138, 0.308382839, -0.3772979379, -0.0118906125, -0.3660467863, 0.3850796819, 0.2345576584, -0.3034515381, -0.2434026748, 0.7379737496, -0.0573522113, -0.3046128154, 0.4073185921, -0.0896583125, -0.6852586269, 0.40454337, 0.5050969124, 0.7439077497, -0.2284813672, 0.1718957424, 0.5147410631, 0.6008099914, -0.2310246527, 0.0755610913, -0.1813642383, -0.5116207004, -0.5948435068, -0.9671259522, -0.2495093644, 0.5170231462, -0.5290408134, 0.5046221614, -0.5964306593, -0.013488573, -0.30838269, 0.3224694729, -0.7337866426, 0.1890124232, 0.0972091332, 0.9736031294, -0.6760731936, 1.0959851742, 0.6627157331, -0.3169025779, -0.6112698317, -0.1825775951, -0.2064922899, -0.8464847207, 0.5626713037, 0.3284917176, 0.1353814155, 0.1850400418, -0.4345339835, -0.9437258244, 0.8328514695, 0.3000513911, -0.5644869208, 0.1036868244, 0.2856728137, 0.5737445354, -0.1800356209, 0.1532798111, 0.5500682592, 0.2101523429, 0.0220838841, -0.9979800582, 0.0085004987, -0.0472537205, -0.096429728, 0.229393512, -0.466468811, 0.9625502229, -0.1518127024, 0.1358191371, 0.4199212492, 0.8723152876, 0.2907529175, -0.1714504212, 0.2921604216, 0.5818845034, 0.5397426486, 0.2551898062, 1.0094386339, -0.2517342567, -0.0295709968, 1.3017556667, -0.1192696691, 0.8727510571, 0.5316495895, -0.0529879443, 0.0938774198, 0.9609655738, 0.3528092802, 0.6746900678, 0.4798843861, -0.4387111366, -0.2702153623, 0.1556995362, -0.4450425506, 0.3778312504, 0.2147011906, -0.1540821046, -0.2031846941, 0.1150876433, 0.1449348629, -0.2446964979, -0.3868398666, 0.7448455095, 0.1950553954, -0.3792199492, 0.5204908252, 0.2484222353, 0.6925208569, -0.5975173116, 0.3533559144, -0.4755779803, 0.2977156639, 0.2384407222, -0.2900442481, 0.1150545254, 0.150121972, 0.1668358147, -0.089647904, 0.5609174371, -0.3744721413, -0.6887466311, -0.0560892075, 0.5354402065, 0.3289219141, -0.2245257199, -0.3401587605, -0.1862225235, -0.0860060155, -0.7156468034, 0.3473657072, 0.6429862976, -0.2579705119, 0.5424779058, 0.5661759377, 0.2315031439, 0.5329778194, -0.1188382208, 0.6343656182, -0.7779402137, -0.3348252475, -0.9406939149, 0.4419738352, 0.2380383909, -0.2061935961, 0.453333497, 0.6867825389, 1.0093812943, -0.2132155299, 0.8951410651, -0.0001216135, 0.6686885953, -0.507075727, 0.756195724, -0.7814176083, -0.0934772119, -0.099976331, -1.008756876, -0.3817125559, 0.5177615881, -0.0049833301, -0.1269914061, 0.5453465581, 0.5570734143, -0.0633847415, -0.3612489998, 0.5553394556, 0.2657337785, 0.4047192931, 0.4273981452, 0.8437020183, -0.3867277801, 0.4299574196, 0.0679692626, -0.0559994765, -0.413967371, -0.8385083675, -1.2552355528, -0.7433874011, 0.0309476387, -0.1662783027, 0.1052125543, 1.2762087584, 0.5930210352, -0.7875268459, -0.3979895413, -0.1868275255, -0.1386965811, -0.0232317895, -0.0840981752, 0.2667632699, -0.394592613, -0.4624095857, 0.3029108942, 0.1072271392, 0.181099385, -0.1019237638, -0.1060055718, -0.0325738788, 0.4401208758, 0.7873095274, 0.5122539997, -0.7540996075, -0.0972375274, -0.2401302606, -0.2438197136, 0.0602333434, 0.7428315878, -0.7334136367, 0.2346659303, 0.3894931674, 0.9302310348, 0.9532900453, -0.2871155143, 0.7088199258, -0.5346031785, 0.3696356416, 0.0677077472, 0.4477515519, 0.2458537221, 0.1781744957, 0.480895251, -0.1285352856, -0.3857103884, -1.0129578114, 0.1868254691, -1.0401768684, -0.2358629704, 0.9080219269, -0.1077776402, -0.2327575088, 0.0022346857, -0.5670775175, 0.5608695149, -0.0026026147, 0.8686411977, 0.6740908623, 0.3152636886, -0.3493792713, -0.7153683305, 0.5722437501, 0.4168119431, -0.8325617909, 0.089569144, 0.2161079943, 0.3238512874, -0.3807248771, 0.8234062791, 0.0362059437, 0.1295300126, -0.1179648042, 0.2740901411, -0.2083472461, -0.2334959954, -0.3838898838, 0.0184106901, 0.4904303849, -0.1475829482 ]
http://arxiv.org/abs/2403.01304v1
http://arxiv.org/pdf/2403.01304v1
Improving the Validity of Automatically Generated Feedback via Reinforcement Learning
2024-03-02T20:25:50
2024-03-02T20:25:50
Alexander Scarlatos, Digory Smith, Simon Woodhead, Andrew Lan
cs.CL
cs.CL
Automatically generating feedback via large language models (LLMs) in intelligent tutoring systems and online learning platforms has the potential to improve the learning outcomes of many students. However, both feedback generation and evaluation are challenging: feedback content has to be valid especially in subjects like math, which requires models to understand the problem, the solution, and where the student's error lies. Feedback also has to be pedagogically valid to reflect effective tutoring strategies, such as explaining possible misconceptions and encouraging the student, among other desirable features. In this work, we address both problems of automatically generating and evaluating feedback while considering both correctness and alignment. First, we propose a rubric for evaluating math feedback and show that GPT-4 is able to effectively use it to annotate human-written and LLM-generated feedback. Second, we propose a framework for feedback generation that optimizes both correctness and alignment using reinforcement learning (RL). Specifically, we use GPT-4's annotations to create preferences over feedback pairs in an augmented dataset for training via direct preference optimization (DPO). We show that our methods significantly increase the correctness and alignment of generated feedback with Llama 2, an open-source LLM, qualitatively analyze our generation and evaluation systems using case studies, and outline several areas for future work.
[ -0.1878241897, -0.743276, 0.5803851485, 0.4478683174, -0.0834549665, 0.2002826184, -0.4941543639, -0.1530265659, -0.0656551421, 0.181975171, -0.574980855, -0.4029604495, -0.3709965348, 0.3271563649, -0.0721176192, 1.3976356983, -0.4287225008, 0.3165984154, -0.5165500045, 0.0180225186, -0.5830441713, -0.440459013, -0.6770214438, -0.5181786418, 0.416983217, 0.4511422515, 0.4747473896, 0.6195374727, 0.5028871894, 0.3450674117, 0.4137011468, 0.5251005292, -0.4592581987, 0.2515299022, -0.0951187089, -0.2879821062, -0.4285237193, 0.0031135192, 0.6501410604, 0.3205043972, -0.3384397328, 0.1523992717, 0.1896397471, 0.6961293817, -0.2714351714, 0.2420010567, -0.3983098567, 0.2356222123, 0.0491490625, -0.2698827088, -0.3222657442, -0.9552136064, 0.1241910532, -0.9671509862, -0.1001409367, -0.0526285209, 0.8403873444, 0.5466699004, -0.0905765519, -0.6449339986, -0.7504848242, 0.7966300249, -0.6731985807, 0.2131163627, 0.3956027925, 0.4980629086, -0.3730316162, -0.4059333503, -0.5686796308, -0.4518640339, 0.0915558636, 0.2218021154, 0.1354581267, -0.1083940119, 0.3582488, 0.2031058073, -0.2104940861, 0.1894530803, -0.0822048932, -0.3916336298, 0.8647920489, 0.1538067013, 0.1884061098, -0.1423297673, -0.1773898751, -0.1640076041, -0.8278872371, 0.1842551529, 0.9922463298, 0.2536546588, 0.1182908714, 0.6713038683, 0.0007589563, 0.6469205618, 0.4355773032, -0.4640270174, 0.2415928543, -0.2902399898, 0.1099442095, -0.0107148401, 0.8244951963, 0.3931131065, 0.2249208987, -0.181434527, -0.4797742963, 0.2779017091, 0.2927183211, -0.5984506607, -0.1988991499, 0.1519933641, -0.0480043292, -0.5457386374, 0.1527398676, -0.6784991622, -0.2048369646, -0.8078345656, 0.4224592745, -0.3665694594, -0.1651266515, 0.0362856574, 0.2865475416, 0.0690921843, 0.6643090248, -1.0226584673, 0.4298788905, 0.7389464378, 0.4899377525, -0.4145315289, -0.269998461, -0.7590942383, -0.0012055559, -0.337980032, 0.7682323456, -0.3789092302, -0.252810061, 0.0838129595, -0.2829939425, 0.1448893398, -0.5996376276, 0.2397000641, -0.500487268, 0.5474159718, -0.1664397418, -0.8038278818, 0.0589517392, 0.4424195886, -0.5881349444, 1.1116081476, 0.1862517148, -0.4531797767, 0.3867275119, -0.8225269318, -0.2521239519, 0.0111519154, -0.3838245869, -0.8021305799, -0.1108142883, 0.3444099426, 0.017285889, 0.0474362262, 0.5845220089, -0.1628164351, -0.2513639033, 0.4396502972, -0.2474662662, 0.259796232, 0.0756220892, -0.7271350622, 0.3915120959, -0.7050261497, 0.1623350084, 0.0879152939, -0.6416047812, 0.1178523898, -0.0093113631, -0.2796213329, 0.0930701867, 0.3155736625, -0.5165902376, 0.3702572286, -0.3273067772, 0.3342011273, 1.0696374178, 0.0322672315, 0.3215684891, -0.2825278938, 0.6883525848, 0.0092059094, 0.1053863689, 0.0238723196, -0.145359531, -0.7503464222, 0.0841218457, 0.5273093581, 0.4824492037, -0.9407013059, 0.4063680172, -0.0730944574, -0.2032438219, -0.4337415993, 0.5534092784, 0.5972214341, 0.5027552843, 0.2164326161, -0.2863369584, -0.6867073774, -0.5756660104, -0.0677648783, -0.3493086696, 0.1147713289, 0.2943618298, 0.3495385349, -0.2724152207, 1.008040309, -0.2981559336, -0.0310708266, -0.0280001909, 0.0606939159, -0.1161744967, 0.5156723261, 0.3417719305, -0.3461671472, -0.3454214931, -0.1643002629, -0.5784035921, -0.3078634441, -0.0604809448, -0.3661483228, 0.3965810239, -0.030213723, -0.2401902676, 0.3076866269, 0.3801107705, -0.0815313086, 0.6395686269, -0.1227101386, 0.0955963209, -0.8135154843, -0.0695778355, 0.1145976037, -0.36692819, -0.1162095964, -0.2820551097, -0.0809768811, -0.0133288587, -0.1043287441, 0.4106552899, -0.1697077602, -0.1834661067, -0.2516905367, 0.357114166, -0.0016553728, 0.5985255241, 0.036745958, 0.7980493307, 0.0300940257, -0.3706441224, 0.7319564819, 0.2393351793, -0.2731945515, 0.6541038156, -0.5253508091, 0.3006990254, 0.2115218639, 0.4049660265, -0.8217323422, -0.302804172, 0.5052467585, -0.5114254951, 0.2658972442, -0.033051569, -0.4887693822, -0.3171132505, -0.4042904675, 0.2968604565, 0.3634932339, -0.6741870046, 0.2381207198, 0.2720883787, -0.1198630333, -0.7328400612, -0.0790601671, -0.1778496355, -0.0543681085, -0.3691227734, 0.1116348654, -0.1922779679, -0.2469361871, 0.0911030248, -0.0899932906, 0.2194529921, 0.1004456952, 0.195818767, 0.4136101007, -0.0026004701, 0.1927315295, 0.0603526644, -0.2993502617, 0.1558411717, -0.3716701567, 0.3727320433, -0.279178381, -0.5770325661, -0.3486273885, -0.0454021581, 0.1886615902, -0.0354334824, 0.0524080172, 0.4430257678, -0.2030571699, -0.379211843, -0.5245078802, -0.2575951219, -0.4130920768, 0.254347831, -0.1463891715, -0.9427904487, 0.3194555938, -0.088460058, 0.4066985846, 0.297875315, 0.7586423159, -0.0343084149, 1.2681829929, 0.5110991001, 0.1334090382, 0.4045045972, -0.2402340323, 0.1184623614, -0.8403669596, -0.372112155, -0.2379126996, -0.1849969923, -0.4399947226, -0.11169862, 0.1790870428, 0.1326382607, -0.2533572912, 0.1290987134, -0.5488980412, 0.4992063344, 0.5890879631, 0.1735497415, 0.2828469574, 0.1446220875, -0.3418725431, -0.291613698, -0.5123597383, -0.7032604814, 1.1798728704, 0.4072732031, 0.7385379076, 0.2623386979, 0.8660173416, 0.1468196511, 0.6734076738, -0.8391016722, 0.3979513943, 0.2920382321, -0.2177489996, -0.3229608536, -0.6510403752, -0.788166821, 0.0804174691, -0.2352471501, -0.3804770708, -0.4802598059, 0.4160167873, -0.4882197082, 0.1431162059, -0.4601670504, 0.690485239, -0.656771481, -0.7111433744, -0.0614847243, -0.4300994277, 0.3217855692, -0.0456944555, 0.0489637256, 0.0068083527, 0.0197968166, 0.7446447611, -0.8721040487, 0.8029068708, -0.234698087, -0.5023022294, 0.3632623851, 0.1547551304, 0.3150885403, 0.2859930396, 0.0894585922, -0.2830616236, -0.1233485118, -0.1643602699, -0.9943276644, 0.7341079712, -1.1709396839, -0.6088775992, -0.431440264, -0.5941238999, -0.287014395, -0.1468740255, -0.0918701813, 0.4862426221, 0.1240352094, -0.3915458918, 0.5002126098, -0.1636407226, 0.1589525044, 0.5011973977, -0.5655750036, -0.8954694867, 1.2727823257, -0.0106511805, -0.043345727, 0.0182093401, 0.199702546, -0.5829544663, -0.3863248229, -0.9416331053, 0.3582631946, -0.7618427277, -0.3638112843, -0.0056625651, -0.1378257871, -0.3340157568, -0.0287938099, -0.217240274, -0.5761173964, -0.1961935014, -0.2091326416, 0.3331933022, 1.1293724775, -0.2629122138, 0.0538413711, -0.6026847959, -0.1075790972, 0.3574048579, 0.4892020822, 0.0300347917, -0.4197618365, -0.1881720424, -0.0187176913, -0.7652781606, -0.6594133377, 0.1570660323, -0.0766973644, 0.400351733, 0.2025577426, -0.3102584481, 0.6664801836, -0.6398301125, 0.7673674822, 0.2407704145, -1.052647233, 0.7065064311, -0.2893137634, 0.025955651, 0.4969909489, 0.1555822492, -0.3559902906, -0.3537619114, -0.7050893307, -0.6836030483, 0.649811089, 0.1243890002, -0.0429080389, 0.0361927487, 0.6127607822, 0.3498848379, 0.4540632963, -0.9006804824, 0.0931480974, -0.4346221685, -0.6438260078, 0.2231754363, -0.0902231112, -0.349326551, -0.1982725114, 0.9342520237, -0.256326735, 0.0979339182, -0.0313087553, -0.1213278621, -0.4177791476, 0.1047243476, 0.8739044666, 0.8449085355, 0.0541674346, -0.1247199029, 0.0908034965, -0.3285110593, 0.453666091, 0.0606119335, -0.2831004262, -0.0379177518, 0.2775734365, 0.8287500143, 0.2240774781, -0.6363890767, 0.6072186828, -0.1578880548, -0.292087853, -0.4356038272, 0.1211601347, -0.3255202174, 0.0922021419, 0.0630092323, -0.2174624354, -0.1673027873, -0.0756717473, 0.2050752342, 0.392316103, -0.2393948287, -0.4057609141, 0.3397777677, 0.530148983, -0.2959514856, 0.5274866223, -0.1886031181, -0.790057838, 0.4819493294, 0.7335001826, 0.6877113581, -0.0610111207, 0.3839614689, 0.6182662845, -0.1059010625, -0.0362511463, 0.0971295759, -0.4079702795, -0.6043675542, -0.7347003222, -0.5671318769, -0.9427942038, -0.0500230566, -0.6089012027, 0.3296773434, -0.587285459, -0.2569276094, -0.4013614953, 0.3788129687, -0.3577131927, 0.0646250173, 0.0801188871, 0.291424185, -0.654755652, 0.5010889173, 0.9983133078, -0.5823898911, -1.2104301453, -0.2600108087, -0.0389987454, -0.8997260928, 0.995626688, 0.0985616222, -0.1426978558, -0.0465714633, -0.6138816476, -0.8135816455, 0.9026689529, 0.3194968104, -0.6753231883, 0.0632962361, 0.2271851897, 0.6330263019, -0.2730211914, 0.4950151145, 0.262453109, 0.459238708, 0.0137231881, -0.9143318534, -0.088517867, -0.2778002322, 0.1326937824, 0.2775943875, -0.5816685557, 0.4700090289, -0.1520347148, -0.0711627975, 0.1337139159, 0.6979125738, 0.6088329554, 0.191454038, 0.551433444, 1.0401440859, 0.7861317992, -0.3233883083, 0.9746359587, -0.217746079, 0.4211364985, 1.1283740997, -0.2546505928, 0.6143746376, 0.5530519485, -0.2985347211, 0.7910783291, 0.8053014278, -0.0779575035, 0.32973212, 0.6818770766, -0.1096740067, -0.1790399253, 0.1100816727, -0.2125315964, 0.0750551745, 0.1068709865, -0.0433097295, -0.2360331863, -0.1701826304, 0.0216213427, 0.3670784235, -0.2644814551, 1.0076076984, -0.1081076637, -1.0525791645, 0.3197916448, -0.0729030669, 0.5583810806, -0.4823621809, -0.3891307414, -0.249813661, 0.2223518789, -0.479390949, -0.6999425292, 0.0212872345, 0.3222801983, -0.1018653437, -0.0917753279, 0.3429358602, -0.6105944514, -0.4330987036, -0.0014168691, 0.3797117472, -0.0438860953, 0.6481980085, -0.7741370201, 0.2860470116, 0.0895803347, -0.1740292162, 0.2966809571, 0.3731538951, -0.0636542514, 0.542350769, 0.8855779171, 0.2805902958, -0.0707396716, 0.1933995187, 0.7672028542, -0.2703183591, -0.3120191693, -0.8961350322, 0.3337952197, -0.0977407321, -0.3710602522, 0.8545680046, 0.4402607977, 1.0415347815, 0.094389841, 0.8823198676, 0.1389656216, 0.5695160031, -0.6360607743, 0.1595238894, -0.2414940894, 0.3803961575, -0.345468998, -1.2155674696, -0.4003214836, 0.8924018145, -0.613971293, 0.0711704716, 0.5689399242, 0.5358195901, 0.2308482081, 0.0157140121, -0.1695643365, -0.2177916467, 0.6463931203, 0.6789346933, 1.2886990309, -0.408305794, 0.5359828472, -0.3592233956, -0.142672956, -0.175540626, -0.9862954021, -0.7065401673, -0.3324929774, -0.5321410298, -0.7116192579, 0.0589723177, 1.2477982044, 0.3782593906, -0.8646893501, -0.3761763871, -0.2496350408, 0.2516652942, 0.0832826272, -0.2545042038, 0.3834564984, -0.7416371703, -0.7221401334, 0.1265723854, 0.2253646553, 0.1823476851, -0.5356462598, -0.5152420998, 0.3485645652, -0.1681756079, 0.3876719177, 0.3617987633, -0.8908025026, -0.5631705523, -0.081231378, -0.200273931, 0.1168553233, 0.813292563, -0.6697315574, 0.3633192778, 0.2916748524, 1.0065425634, 0.1664372981, 0.2796058655, 0.7983729243, -0.5819575191, -0.1781605035, 0.3609267175, 0.2244667858, 0.6608499289, -0.2918621004, 0.596647203, 0.2160868794, -0.8606688976, -0.8847833276, 0.2077419311, -0.6376920938, 0.2623017132, 1.1379289627, -0.2927499712, -0.1631964147, 0.2910000086, -0.495225817, 0.2484174073, -0.48357144, 0.9979245067, 0.8392121792, -0.4068251848, 0.1323462278, -0.1999035627, 0.7057709694, 0.6743125319, -0.8645662069, -0.2192776054, 0.7874614, 0.3743411005, 0.2115987837, 0.4143057764, -0.1679936945, 0.4771582782, -0.4530606866, 0.0929462686, -0.2022463381, -0.3205074668, -0.4088205695, -0.0925608575, 0.3205289245, -0.0194089022 ]
http://arxiv.org/abs/2403.01289v2
http://arxiv.org/pdf/2403.01289v2
Greed is All You Need: An Evaluation of Tokenizer Inference Methods
2024-03-02T19:01:40
2024-05-31T08:07:45
Omri Uzan, Craig W. Schmidt, Chris Tanner, Yuval Pinter
cs.CL
cs.CL
While subword tokenizers such as BPE and WordPiece are typically used to build vocabularies for NLP models, the method of decoding text into a sequence of tokens from these vocabularies is often left unspecified, or ill-suited to the method in which they were constructed. We provide a controlled analysis of seven tokenizer inference methods across four different algorithms and three vocabulary sizes, performed on a novel intrinsic evaluation suite we curated for English, combining measures rooted in morphology, cognition, and information theory. We show that for the most commonly used tokenizers, greedy inference performs surprisingly well; and that SaGe, a recently-introduced contextually-informed tokenizer, outperforms all others on morphological alignment.
[ -0.0957676023, -0.5857521892, 0.34544909, 0.1002550796, -0.5546323657, -0.2466718704, -0.0737051666, -0.3234733939, 0.6406623721, 0.1915505677, -0.4770192504, -0.1460660249, -0.7529518604, 0.082097441, -0.3887970448, 1.0399864912, 0.3867177367, 0.4352559447, -0.0949680358, 0.0653486401, -0.6171758771, -0.4337304831, -0.5512416363, -0.2344290018, 0.5772223473, -0.0395329371, 0.6135671139, 0.8559885025, 0.2232266814, 0.3296121955, -0.2078857124, 0.0667554885, -0.3291120529, -0.2479652166, -0.489985019, -0.5427829623, 0.0603086539, 0.0474834144, 0.1618080884, 0.5851248503, -0.052538842, 0.4299074113, -0.1448975205, 0.3690773249, -1.2332752943, -0.1883361191, -1.0479296446, 0.1422839761, -0.4365195036, -0.2675231993, -0.5498846769, -0.0806334093, 0.24858585, -0.5715665817, 0.1196230799, 0.058939077, 1.1603022814, 0.3845033646, -0.2128430009, -0.6957486868, -0.2446343452, 1.1684849262, -0.5795482397, 0.3126990497, 0.3479489088, 0.045753371, -0.0009426377, -1.2319664955, -0.4540949464, 0.0050970148, -0.3042460978, 0.4303531647, -0.1950974017, 0.4198468626, -0.0432673581, 0.4322725236, -0.2018574178, 0.1578142047, -0.4544281065, -0.5345182419, 0.2655384839, -0.1214838773, 0.3762416542, -0.672007978, -0.6632475853, -0.0472555012, -0.3882441521, -0.120257616, 0.3179634213, 0.2560127378, 0.4376886487, 0.9157779813, 0.5341622829, 0.8948047161, -0.1486555934, -0.0868838653, -0.3078838885, -0.523814559, -0.4009117782, 0.1595686823, 0.5524021387, 0.4827040732, 0.1324284375, -0.4551091492, -0.2036500424, 0.3688510656, 0.5142576098, -0.5098714232, 0.0903635025, 0.6085079312, -0.6462071538, -0.1845948845, 0.0891578645, -0.9052440524, -0.4154238701, -0.194426477, 0.5139228106, -0.4547666609, 0.0954231694, 0.3151084185, -1.0611155033, 0.7245963216, -0.0932944939, -1.105348587, 0.1924511194, 1.0644613504, 1.0935213566, -0.2993559539, -0.4890888035, -0.8932863474, -0.0080100158, -0.585093081, 1.075671792, -0.5039777756, -0.3527989984, 0.0923897028, -0.2074992061, -0.1982920766, -0.3149931729, 1.1372921467, -0.5836258531, 0.1044160575, -0.3937958777, -0.8732103705, -0.2235559225, 0.164655149, -0.6484378576, 0.7115386724, 0.0785906017, -0.9924484491, 0.9810940623, -0.4722059667, -0.3971328139, 0.3848930001, -0.0638072714, -0.0885584876, 0.6015051007, 0.2034863979, 0.4185273051, -0.2510032654, 0.3645175695, -0.0582186393, -0.5848116279, 0.0749127492, -0.3637019694, 0.9436138868, 0.1018317938, -0.4963545501, 0.1111485362, -0.2282282114, -0.0012514519, -0.0707692206, -0.2309695631, -0.4739663899, 0.3464504778, 0.1462777257, -0.2123838067, 0.3857504725, -0.5602043867, 0.351300478, -0.5891817212, 0.5485014915, 1.1330106258, -0.0440300629, 0.3161031306, -0.1942159534, 0.5919541121, -0.182317704, 0.0773005262, 0.0961470082, -0.2925531566, -0.8202776313, -0.6137232184, 0.7916893959, 0.4834243655, -0.5332299471, 0.4298363924, -0.3300537467, -0.5341347456, -0.4644340277, -0.0852589086, 0.3129714131, 0.1847023219, 0.0681200102, -0.2964196205, -0.6924303174, -1.025474906, -0.7710549831, -0.21116063, -0.1138036549, 0.293859899, 0.4266774952, -0.2090422362, 1.0247875452, -0.4467303753, -0.3732145727, -0.3806027174, 0.0822093487, 0.1997300535, 0.21266146, 0.8376675844, -0.4868784249, -0.0923155621, 0.0382029749, -0.1070721745, -0.1035291702, -0.3408969343, -0.5491043329, -0.0369336233, 0.3700640202, -0.4905734956, 0.2439810038, 0.4114697874, -0.5827203989, 0.6004259586, 0.1347801387, -0.2398736179, -0.914660275, 0.2414534986, 0.0224433485, -0.0241070874, -0.4564380944, 0.3768832088, -0.0254744478, 0.1309145093, -0.4331952035, 0.838062644, -0.3811384737, -0.1705406457, -0.0234807767, 0.3972787559, -0.011439994, 0.1887224168, 0.0788278207, 0.9734029174, 0.50961411, -0.5410988331, 0.3159175515, 0.1039276347, -0.457216382, 0.2374157459, -0.6783105135, -0.070517309, -0.2803491056, -0.0876017809, -0.8276677728, -0.2395447493, -0.0840926245, -0.4441172183, 0.2348900586, -0.4002407193, -0.2618729174, -0.3628003299, -0.4740065932, -0.001388216, 0.3179500699, -0.6610984206, 0.9360291362, 0.4443466067, 0.1430459917, -1.0164462328, -0.6407009363, 0.2629283667, -0.4825259149, -0.1779525727, 0.3318629265, 0.1461161524, -0.2971211374, -0.0352044441, -0.2101537585, 0.1135667041, 0.2686707377, -0.1559467167, 0.3216639161, 0.0657621101, -0.0133001599, 0.1341152787, -0.100980103, 0.0371497124, -0.7748804092, 0.8175207973, 0.1978015304, -0.3659028113, -0.0998995602, 0.1820939928, 0.6526808739, -0.2585449815, 0.4996398091, 0.5027776957, -0.3142591417, -0.1397506297, -0.7132178545, 0.011792412, -0.482545048, 0.4422796071, -0.3393578529, -0.5720411539, 0.5712261796, -0.0116800796, 0.3414770067, 0.5365896225, 0.567754209, 0.6199530959, 0.9996833801, 0.3508650661, -0.2331712246, 0.2970068157, -0.2269008756, 0.5179854035, -0.6153151989, -0.0433895849, -0.5874493122, -0.3517660797, -0.5756832957, -0.4074588716, 0.1840613335, 0.1262947768, 0.0559336878, 0.3073274493, -0.5711879134, 0.9157535434, 0.7117801309, -0.1989279538, -0.0904516429, 0.0392441899, -0.2277850062, -0.1912435889, -0.7090348005, -0.5819135308, 0.8796222806, 0.0601125881, 0.3343437612, 0.0545202307, 0.527834177, 0.3365754187, 0.3104933202, -1.6322058439, 0.3239798844, -0.3427634835, -0.7724189758, -0.0681923628, -0.2091239691, -1.0721721649, 0.44232288, 0.0060938732, -0.8432388902, 0.2906047106, 0.0130921854, -0.409173727, 0.3400891721, -1.0660508871, 0.9783537984, -0.2988491654, -0.2283202708, -0.018424226, -0.3522865176, 0.4063012302, 0.0176632125, 0.0321027823, 0.2589685321, -0.4717978835, 0.8005704284, -0.4941425622, 0.7657340169, -0.3346842229, -0.0090358304, 0.4436487854, 0.2194679528, 0.3368835449, -0.0372022241, -0.2917607725, 0.2592875957, 0.3355419338, -0.774974525, -0.615901351, 0.4359949231, -0.5667645931, -0.4746566713, -0.5439570546, 0.1198644787, -0.1601348221, 0.4431577623, 0.6140242815, 0.4601867199, -0.2015619427, -0.057268247, 0.0189059768, -0.0998358503, 0.5477026701, 0.0651509464, 0.1229485273, -0.5447027087, 1.0842612982, 0.0798176378, 0.067447491, 0.332239747, 0.6275755763, -0.4660164714, -0.4608061016, -0.6894272566, 0.2280667126, -0.7519202232, -0.3060410023, -0.5937480927, 0.0105419708, -0.4216246605, -0.557579577, -0.441493541, -0.2219090015, -0.2427860647, -0.3112989366, 0.1569674462, 0.8113914728, -0.1138122082, 0.2611102164, -0.7543053627, -0.0405038595, 0.4119318128, 0.2951218784, 0.1962706894, -0.3151519895, -0.1021076813, -0.2331294715, -0.0132287238, -0.8848648667, 0.4051938951, 0.2158008516, 0.3585990071, 0.8426964879, -0.0588791706, 0.9873117805, -0.6033787727, 1.2874914408, 0.1043487787, -1.4046207666, 0.2758119404, -0.0810545683, -0.3497533798, 0.62819767, 0.2510111034, -0.7168691754, 0.1014202908, -0.5589216948, -1.0951582193, 0.4964760542, -0.0577314906, 0.3162990808, -0.6049422026, 0.5073412657, 0.1990047097, 0.247160852, -0.7489324212, -0.2075934708, -0.3094609678, 0.0054511698, -0.0138364313, -0.502979517, 0.0262949746, 0.0410601459, 0.5979780555, -0.2890263498, 0.2193183005, 0.1991482526, -0.0377668701, 0.3198170662, 0.2005376816, 0.3751525283, 0.6977551579, -0.0266368408, 0.1074100807, 0.1369842291, -0.6040509343, -0.0456465222, -0.1933093518, -0.1143350676, 0.2294487655, 0.5288556814, 0.6782828569, 0.1032886133, -1.0978373289, 0.8867664933, -0.1351894736, -0.0615453906, -0.3493514657, -0.1293533593, -0.160027191, -0.1331116408, 0.1668364108, -0.1964179575, 0.430853188, -0.4592423439, -0.0244660489, 0.8139337897, -0.4745701551, -0.1537845731, 0.5616633296, -0.1174176037, -0.0520822182, 0.4787239432, -0.4598129392, -0.739613831, 0.284480691, 0.5990996361, 1.0727821589, 0.2118963599, 0.2045221925, 0.4069431722, 0.4280939698, -0.0102905557, 0.2350597233, -0.2689154744, -0.7188009024, -1.0621583462, -1.0110131502, -0.3730855882, 0.0121057536, -0.6527698636, 0.4486868978, -0.247424528, -0.1499425024, -0.008005566, -0.0509454906, -0.397515595, -0.0371070281, -0.3438441157, 1.0279204845, -0.7907010317, 0.0156869497, 0.7420226336, -0.2615329027, -0.7169829607, 0.1532299817, -0.0284213796, -1.1636916399, 0.7934414148, 0.0562226735, -0.1455732137, -0.0402892791, -0.6383991838, -0.8899981976, 0.7573420405, 0.2210924625, -0.1343552619, -0.2988235652, -0.1765118241, 0.2744646966, 0.2712123096, 0.3219868839, 0.8792766333, 0.5949752331, 0.1199322566, -0.5999335647, -0.1658788919, -0.301759243, 0.1305141151, 0.3775754571, -0.587087214, 0.5000050068, 0.1340378076, -0.6025741696, 0.2473271936, 0.4857212901, 0.0882269219, -0.1042715684, 0.6223054528, 0.7237944603, 0.6694341302, -0.1434255242, 1.1977990866, -0.3717672229, 0.2041943669, 0.6536281705, -0.0323678888, 0.5991461277, 0.5326113105, -0.1679119319, 0.2034297436, 0.8375456929, -0.1019134298, 0.330634892, 0.5462604761, -0.0901800916, -0.144434005, -0.3565796018, 0.2079693824, 0.8245703578, 0.6083208323, -0.2038408667, -0.1802905053, -0.1889730841, 0.1609814465, -0.3233317137, -0.3745561242, 1.0442897081, -0.2276988626, -1.0117720366, 0.4494265616, 0.1782687604, 0.9962878823, -0.6676899195, 0.2504940629, -0.14912121, 0.0101397727, -0.1829772592, -0.2423593253, 0.3411623538, 0.1222597957, 0.2794529796, 0.0484883562, 0.6639234424, 0.1166878566, -0.3801676929, 0.1541381031, 0.3637279272, 0.2682492435, -0.0437033214, -0.4421765804, -0.1783360094, 0.0087226629, -0.2180156857, 0.1138556972, 0.502917707, 0.3109561205, 0.2705577612, 0.6672978997, 0.5079195499, 0.2886185646, 0.1897452325, 0.713214457, -0.6352294087, -0.3004313707, -1.0821937323, 0.4927250147, -0.1528579295, -0.5141453147, 0.8735511303, 0.7664412856, 0.8058505058, -0.0785941705, 0.717912972, -0.1521112323, 0.2635002732, -0.716578722, 0.3924175799, -0.6941068769, -0.2223581225, -0.4498451054, -0.8184202313, -0.3227772713, 0.7168767452, -0.0814208165, -0.1195489615, 0.7154550552, 0.3532570004, -0.0190027822, -0.0459413491, 0.1282368749, -0.048579026, 0.1917713732, -0.0642958879, 0.7702673674, -0.1972654164, 0.3778963387, -0.1040828228, -0.3022184968, -0.0637288541, -1.01115942, -0.7724961042, -0.5931028724, 0.1185866818, -0.6105505228, -0.2899080515, 0.9765703678, 0.6019293666, -0.5548430681, -0.2139021009, -0.3558577001, 0.2158868462, -0.3218685985, -0.2857476175, 0.5573660135, -0.7554796338, -1.1553583145, 0.2125404775, 0.2916250527, -0.0707366019, -0.3603628576, 0.4036427736, 0.0809229314, 0.468735218, 0.7415807247, -0.0128464522, -0.8753695488, -0.1934380084, 0.206292659, 0.3651879728, -0.1604396254, 1.2433774471, -0.4708707035, 0.5828082561, 0.6388812661, 0.882173121, 0.1552278996, 0.1461406797, 0.5581778288, -0.6527784467, 0.2160824835, 0.4360350966, 0.7026481628, 0.0365403257, -0.2842846811, 0.4936085045, 0.1488556117, -0.5449906588, -0.8075992465, 0.4447378516, -0.6552545428, -0.5620701909, 1.0203233957, 0.0600603782, -0.6045221686, 0.0724105686, -0.379152149, 0.0651042685, -0.0890307575, 0.7818712592, 0.904063344, 0.0124573316, 0.3177697062, -0.2307614833, 0.5077254176, 0.6044254303, -0.4948163629, 0.2011487484, 0.5463829637, -0.1188683957, 0.5087546706, 0.487053901, -0.1933914572, -0.053166382, 0.1160184667, -0.0003630046, 0.5623250604, -0.0022513815, -0.2153676748, -0.064105615, 0.2847075462, -0.1007087976 ]
http://arxiv.org/abs/2403.01273v1
http://arxiv.org/pdf/2403.01273v1
NoMAD-Attention: Efficient LLM Inference on CPUs Through Multiply-add-free Attention
2024-03-02T17:29:22
2024-03-02T17:29:22
Tianyi Zhang, Jonah Wonkyu Yi, Bowen Yao, Zhaozhuo Xu, Anshumali Shrivastava
cs.LG
cs.LG, cs.AI, cs.CL
Large language model inference on Central Processing Units (CPU) is challenging due to the vast quantities of expensive Multiply-Add (MAD) matrix operations in the attention computations. In this paper, we argue that there is a rare gem in modern CPUs, Single-Instruction-Multiple-Data (SIMD) registers, which allow for ultra-low-latency lookups in batch. We leverage this unique capability of CPUs to propose NoMAD-Attention, an efficient attention algorithm that replaces MAD operations with in-register lookups. Through hardware-aware algorithmic designs, NoMAD-Attention achieves the computation of attention scores using repeated fast accesses to SIMD registers despite their highly limited sizes. Moreover, NoMAD-Attention works with pre-trained attention-based LLMs without model finetuning. Empirical evaluations demonstrate that NoMAD-Attention maintains the quality of the original LLMs well, and speeds up the 4-bit quantized LLaMA-7B-based model by up to 2$\times$ at 16k context length. Our results are reproducible at https://github.com/tonyzhang617/nomad-dist.
[ -0.2949186862, -0.6645584106, 0.6446983814, 0.304890126, -0.297445178, 0.0243404452, -0.1812058985, -0.300783962, 0.2166457474, 0.5121369958, -0.6628203988, -0.4775595665, -0.2716020346, -0.2252132446, -0.1568549573, 0.7611624599, 0.0577181652, -0.2780211568, -0.3674766421, -0.3068422675, -0.1790055633, -0.7180435061, -0.4663753211, 0.1040339917, 0.5924037099, 0.4821200073, 0.5354992747, 0.7304013371, 0.5715914965, 0.1520357132, 0.0081238281, 0.3683453798, -0.6308137774, 0.1185193881, 0.3886098564, -0.489510417, -0.9562079906, 0.0154771162, 0.7115253806, 0.5279740691, -0.0934513807, 0.6343755126, -0.2244800776, 0.5751866102, -1.1345840693, -0.049607072, -0.5158670545, 0.1470189542, -0.4322319329, -0.2558217645, -0.7456288934, -0.1702486575, -0.2916500866, -0.6938635707, 0.303768605, 0.2173981518, 0.4185601771, 0.8836954236, -0.285782218, 0.2926800847, -0.6885546446, 1.1542650461, -0.611769557, 0.6351152062, 0.1893454641, 0.2538346946, -0.2852003276, -0.53787148, -0.4760124385, -0.0654270425, 0.3227508068, 0.02720109, -0.2756135166, 0.1156598628, 0.408308655, 0.474773258, -0.3168174922, -0.1357091665, 0.1337483674, 0.0514842495, 0.2693471909, 0.2537350655, 0.1185713559, 0.4589313865, -0.5782140493, 0.1989839971, -0.891149044, 0.1031681895, 0.1093980595, 0.2420912683, -0.2208887637, 0.4067749381, -0.3844696283, 0.9944370985, 0.2756754756, -0.190494433, 0.0737979859, -0.2603273094, -0.6697573662, 0.2335577011, 0.6642306447, 0.1379861832, 0.055230245, -0.4408459067, -0.0231122337, 0.241216287, 0.3932496905, -0.7328486443, -0.1737053692, 0.2973615527, -0.3870187104, -0.1030011028, -0.4069016278, -0.5435660481, -0.2136611342, 0.0132468166, 0.062932618, -0.0939752162, -0.1123716086, 0.2513870597, 0.1563596725, 0.4134752452, 0.3864486516, -0.7791339159, 0.4310400486, 0.515756309, 0.8897163272, -0.145630911, -0.1042482629, -0.9527394772, 0.3088431656, -0.3547308445, 0.9840376973, -0.6407541037, -0.1621506065, -0.640147686, -0.265484482, -0.3054316044, -0.5559751987, 0.3132136762, -0.8053453565, -0.386726737, -0.076846987, -0.2361671031, -0.1798324138, 0.2042981833, -0.6650028825, 1.1523838043, -0.0529053025, -0.8299362659, -0.2058678716, -0.7646741867, -0.5622152686, -0.1378077418, 0.0652876943, -0.3649718463, 0.3961116374, 0.2353246659, 0.2908498645, -0.4997392297, -0.1079527363, -0.6817477942, -0.4531515837, 0.3148588538, -0.5395098329, 0.8101958632, 0.1655431539, -0.279760927, 0.2320282608, -0.7235803604, 0.0858873948, -0.0442257077, -0.4069573581, -0.1476180702, -0.1347005963, -0.00744216, 0.1998516619, 0.4416743219, -0.6281862259, 0.2798677683, -0.2342513353, 0.1210213602, 0.6713228822, -0.2298135161, 0.4732106328, -0.0969397277, 0.6461566687, -0.1044191197, 0.3697482049, -0.2278018892, -0.3171001077, -0.9295960069, -0.8145847917, 0.2432775646, 0.4596647024, -0.5493046045, -0.1354535818, -0.106150642, -0.400999099, -0.9140763283, 0.2307404578, 0.5531045198, 0.4766931534, 0.3200401962, -0.267763406, -0.4091121852, -0.7900093198, -0.3154895902, 0.210349381, -0.0402558856, 0.4560311139, -0.2214541286, -0.313098222, 0.5466572642, -0.5659644604, -0.1430689394, -0.1396466643, -0.2711821795, 0.1012654677, 0.1564766318, 0.2595291436, -0.2105033994, -0.415404886, 0.0970016345, -0.7569692135, -0.2156376094, -0.0689499602, -0.3706027567, 0.1109649166, 0.5349935889, -0.7387648225, 0.3040650785, 0.5261639357, 0.0760077238, 0.3872939646, -0.2182803154, -0.1416153014, -0.6654562354, 0.0905955061, -0.2390951514, -0.4441143572, -0.7652826309, 0.1211135238, 0.2885031402, 0.125575766, -0.6051598191, 0.6981115937, -0.6511663198, -0.3989126682, -0.2791348398, 0.058368288, -0.0085585425, 0.765286088, -0.339746356, 0.8852570057, 0.5892966986, -0.7119547725, 0.2688366175, 0.0299170539, -0.0972465947, 0.5828958154, -0.3386039436, 0.5595618486, -0.1000409424, 0.1124441996, -1.2396599054, -0.0943613723, 0.1070983708, -0.2701491714, 0.3393373787, 0.0696463138, -0.4412416816, -0.1910977662, -0.4359223545, 0.7851797342, 0.2391031384, -0.5873171687, 0.5713344216, 0.5829179883, 0.0780067444, -0.6849316955, -0.4880621433, -0.0140837086, 0.0501115173, -0.2445854992, -0.0450409018, -0.2260859907, -0.2191433609, -0.0357567146, -0.4812189341, -0.2175766677, 0.3079233468, 0.4089457393, 0.4346879721, -0.4729630351, 0.1066404283, -0.0236322042, -0.1973475367, -0.2352175266, -0.3322737813, 0.5505604744, -0.0569122173, -0.3030005395, -0.7353602052, 0.2383635044, 1.0035126209, -0.4235890806, 0.4185403883, 0.310003221, -0.205199182, -0.2582012415, -0.7085403204, -0.0339363739, -0.4091111124, 0.0681985542, -0.2405987233, -0.8978567123, 0.3058589101, -0.1543959379, 0.0852283984, 0.3407880366, 0.696790278, -0.1030411422, 0.8541224003, 0.6875239611, -0.2101849616, 0.6030970812, 0.0084232194, 0.3034093082, -1.3324047327, -0.0458307229, -0.2645928264, -0.6000084877, -0.2678793073, -0.8831794262, 0.2909045815, -0.2504199147, -0.159396708, -0.0173183475, -0.4161851108, 0.5530191064, 0.5659366846, 0.0835671946, 0.3324186504, -0.0555585474, 0.0660252422, 0.2034069151, -0.8601769805, -0.2909094393, 1.2397267818, -0.0550803728, 0.9115177393, -0.1677793264, 0.4635476768, 0.084626399, 0.5643250942, -0.7609238029, 0.5766832829, -0.088278465, -0.4956607223, -0.0857650116, -0.3113952577, -0.7398430705, 0.333455056, 0.3082365096, -0.5671073794, 0.1424192041, 0.3089748919, -0.9360688925, 0.4555204511, -0.6460143328, 0.7994099259, -0.084399648, -0.4440758228, -0.2173293382, -0.6051889658, 0.58212924, -0.1181253046, 0.1299167275, -0.4374965131, -0.2977639139, 0.5619361401, -0.2644232512, 0.8895487785, -0.0443591699, -0.0254325736, 0.276437372, -0.0170885641, 0.4301539361, -0.1717246473, -0.0764160231, 0.1800736636, -0.2727224529, -0.5558146834, -0.345236212, 1.0606834888, -0.7085760832, -0.3730026186, -0.1403893977, -0.901830554, -0.1599759161, 0.2706183791, -0.1864227355, 0.335884124, -0.1767674536, -0.0961156264, 0.9466480613, -0.1274394691, 0.4415289164, 0.5033999681, 0.0956031829, -0.2819156945, 0.878195405, 0.14787893, 0.3841990829, 0.4325689077, -0.2274566293, -0.1484817863, -0.1949354708, -0.6929241419, 0.3463374376, -0.3191596866, -0.3321754634, -1.0309239626, 0.1323814243, -0.144387126, -0.0997657925, -0.7564954162, -0.5602891445, -0.3594233692, 0.1371497214, 0.3773248494, 0.4995241761, 0.1979514509, 0.7257710099, -0.4815718532, 0.8391007185, 0.356918484, 0.5026755929, 0.3412630558, -0.4542202652, -0.3951855004, -0.1122847125, -0.4667301774, -0.637283504, 0.2528757751, 0.11197602, 0.5453105569, 0.590523839, 0.2969096303, 0.8747928143, -0.5910440087, 0.3020367324, -0.0499954671, -0.9395106435, 0.1555179209, -0.1464251131, 0.5725890398, 0.4900800586, -0.0336087085, -0.5444192886, -0.5038853884, -0.6145183444, -0.8031856418, 0.9698751569, -0.0664135665, -0.0668910071, -0.0329388902, 0.3996606469, -0.091291137, 0.6107198, -0.2241305262, -0.5058583021, 0.2302205563, -0.0957227871, 0.0215093065, -0.3652751744, 0.0708219558, -0.1229339465, 0.5194833875, -0.0213419721, 0.5719620585, 0.201917842, -0.1958996952, -0.2434986979, 0.1394293606, 0.6529220939, 0.2126405984, -0.3011695147, 0.6058887243, 0.3353799284, -0.4768346548, 0.22668989, -0.1981026828, 0.0015799936, -0.0961846113, 0.0849747211, 0.8597401977, 0.4390845299, -0.5095710754, 0.2804669738, -0.3383565545, 0.2599294782, 0.0862782672, 0.1132533476, 0.3464529812, 0.3317916989, 0.095561415, 0.2846252322, 0.2026261687, -0.1351893246, 0.0205172803, 0.7082663774, -0.445371598, -0.4534736574, 0.9292933941, -0.0190979932, -0.2967522442, 0.5687040091, -0.1789553612, -0.1045354679, 0.7592046857, 0.6217774749, 1.1183037758, -0.5941739082, -0.1988967955, 0.0122309979, 0.4311164618, -0.0354082361, 0.4971855283, -0.3857682049, -0.4297575653, -0.6967722178, -0.5336271524, -0.5825811028, -0.0157623943, -0.6369847059, 0.0102392109, -0.8527781367, -0.2137416601, 0.0224253926, -0.1616231501, -0.7240031362, -0.0262782648, 0.3437980711, 0.7260565162, -0.5049251914, 1.0687696934, 0.4930394888, 0.2790578008, -0.4271238446, -0.0373929366, -0.1096691638, -0.7950912118, 0.2744879425, 0.4024515748, -0.6352691054, 0.3601199985, -0.5121938586, -0.8558946848, 0.852889955, 0.8852840066, -0.6564241648, 0.2890377045, -0.297091186, 0.262840569, -0.3370061815, 0.2952461839, 0.5683968067, 0.3182828426, 0.0316756889, -0.7271317244, -0.0608191118, -0.1918718219, -0.2877420485, 0.4678603113, -1.025673151, 1.0284360647, -0.6867336035, -0.3506819308, -0.2237712592, 0.5147723556, 0.2048926204, 0.4862942994, 0.1600182205, 0.7567284703, 0.9935972691, 0.2269092202, 1.3659726381, -0.4023343921, 0.3585813642, 1.22488904, -0.4880279601, 0.9564010501, 0.6941110492, -0.1635889262, 0.3276442587, 0.5461515784, 0.4790476859, 0.6835454106, 0.1475830078, -0.595202148, -0.6020929813, -0.290343076, -0.1861524135, 0.1868180335, 0.1769876331, -0.0030729512, -0.2952918708, -0.2737611234, 0.0210464057, -0.5315877199, -0.3974366188, 0.7838055491, 0.0975940004, -0.2579493225, 0.9090075493, -0.0901198536, 0.4224137068, -0.3461109996, 0.0955603123, -0.3399273753, 0.4113428593, -0.0142476894, 0.0211761314, 0.1562495083, -0.0414322577, -0.7032687664, -0.0312981606, 0.4697625041, -0.281439811, -0.6490384936, 0.2207036316, 0.4835398197, 0.3286114335, -0.4102447033, -0.2253252864, 0.3038074672, -0.030371476, -0.3850522637, 0.580065906, 0.4582308531, -0.270935148, 0.7283546329, 0.8939353228, -0.0538396873, 0.3301554322, -0.2699659765, 1.0235728025, -0.6572195292, -0.4444085062, -1.154602766, 0.1061873958, 0.2290365845, -0.0582665503, 0.8022173047, 0.6341947317, 0.5640645623, -0.1855240017, 0.7925087214, 0.4601798356, 0.1343239695, -0.1063337848, 0.4895041883, -0.5912281275, 0.0661875457, 0.0484111533, -0.6703724265, -0.6309258938, 0.6207845211, -0.4649726152, -0.3118979037, 0.5596036911, 0.7632697225, -0.4279375374, -0.3076556623, 0.5066267848, 0.2924007475, 0.0043778643, 0.8777812123, 0.5902311802, -0.376507163, 0.3305528164, 0.0254140012, -0.2825784385, -0.5383535624, -0.7811959386, -0.8568148613, 0.1571300775, -0.2398988605, 0.0473307967, -0.0062955641, 0.7573251724, 0.6134055853, -0.7241721153, -0.3511784375, 0.3269444406, 0.4241304398, -0.4004409015, -0.0978075042, 0.462536633, -0.4846630394, -0.6776528955, 0.587839663, 0.926566124, -0.1625696719, -0.1178678647, 0.0210985113, -0.2243466377, 0.3527866304, 0.7154807448, 0.235757485, -0.6212813854, 0.2156172097, 0.3100091517, -0.2786552608, 0.3139708042, 0.7823749781, -0.7782591581, 0.5356906652, 0.2461646944, 0.860247016, 0.5781048536, -0.001895379, 0.2172102779, -0.7286378741, 0.4724731743, -0.0702938288, 0.0576687157, 0.3425409794, -0.4597378373, 0.1450867057, 0.1501139402, -0.5019213557, -0.919521153, 0.207155183, -1.1207482815, 0.1463801116, 0.9879495502, -0.1429753304, -0.8402047157, -0.1895634234, -0.3956418037, 0.3052748442, -0.5363535285, 0.6753158569, 0.3419720232, -0.3904025257, -0.1776793301, -1.0152927637, 0.3063875139, 0.483677268, -0.7157863379, 0.6623463035, 0.3416005671, 0.1444673091, 0.0135906115, 1.0064059496, 0.1351753324, 0.3518412709, -0.0727125332, 0.515719533, -0.1922273934, -0.5081355572, -0.3480451405, 0.3484211266, 0.1306900978, -0.7218223214 ]
http://arxiv.org/abs/2403.01270v1
http://arxiv.org/pdf/2403.01270v1
A comprehensive cross-language framework for harmful content detection with the aid of sentiment analysis
2024-03-02T17:13:47
2024-03-02T17:13:47
Mohammad Dehghani
cs.CL
cs.CL
In today's digital world, social media plays a significant role in facilitating communication and content sharing. However, the exponential rise in user-generated content has led to challenges in maintaining a respectful online environment. In some cases, users have taken advantage of anonymity in order to use harmful language, which can negatively affect the user experience and pose serious social problems. Recognizing the limitations of manual moderation, automatic detection systems have been developed to tackle this problem. Nevertheless, several obstacles persist, including the absence of a universal definition for harmful language, inadequate datasets across languages, the need for detailed annotation guideline, and most importantly, a comprehensive framework. This study aims to address these challenges by introducing, for the first time, a detailed framework adaptable to any language. This framework encompasses various aspects of harmful language detection. A key component of the framework is the development of a general and detailed annotation guideline. Additionally, the integration of sentiment analysis represents a novel approach to enhancing harmful language detection. Also, a definition of harmful language based on the review of different related concepts is presented. To demonstrate the effectiveness of the proposed framework, its implementation in a challenging low-resource language is conducted. We collected a Persian dataset and applied the annotation guideline for harmful detection and sentiment analysis. Next, we present baseline experiments utilizing machine and deep learning methods to set benchmarks. Results prove the framework's high performance, achieving an accuracy of 99.4% in offensive language detection and 66.2% in sentiment analysis.
[ -0.3315401673, -1.0082749128, 0.1422485113, 0.3494083285, -0.474206835, 0.1106454059, -0.3272764087, -0.5048027635, 0.0445020907, 0.5526558161, -0.4071828127, -0.9808692336, -0.7885124683, 0.0737378001, -0.5207217932, 1.0751562119, 0.1016656831, -0.0341606587, 0.1151401922, -0.2758892179, -0.2525919974, -0.426777631, -0.7814128399, 0.2524342239, 0.387915194, 0.2934217751, 0.6328594089, 0.3423698246, 0.6224248409, 0.3104496002, -0.0684844032, 0.0242752526, -0.3149307668, 0.3052363098, -0.4697442055, -0.1401200593, -0.2898150682, -0.3870992959, 0.3630157113, 0.3653866947, 0.0773729607, 0.1176656187, 0.1051485315, 0.5635207295, -0.8115709424, 0.0597468205, -0.4343947172, 0.2242662609, -0.4744179845, -0.2098620385, -0.1126146913, -0.3870471716, -0.2968071401, -0.4428490102, -0.3250865936, -0.2114024609, 0.5196037292, 0.2403346002, -0.4319350123, -0.5373635888, -0.6313323975, 0.9568628669, -0.7426691055, 0.3107966483, 0.4151180685, 0.3271551728, 0.0254619773, -0.3488060534, -0.6471886039, 0.0338124894, -0.0368363261, -0.1366159767, -0.4963388145, -0.1740128249, 0.0573404841, 0.2190411687, -0.6758306623, -0.0122607695, -0.1093552336, -0.4235742986, 0.8113025427, 0.0271269605, 0.7491010427, -0.4929267764, -0.404296726, 0.1177369282, -0.3962824941, -0.1540438831, 0.6876507998, 0.4321482182, -0.2449777424, 0.1902935505, -0.3295190036, 0.150216043, -0.1085466892, 0.030741144, 0.44215554, -0.3104083836, -0.0025964745, -0.0682876483, 1.1796928644, 0.5418329835, 0.4830465317, -0.0011088232, -0.1969261914, 0.3880035281, 0.1774432808, -0.7364705801, -0.1267336458, 0.02461344, -0.419634074, -0.7121489048, -0.0461469181, -0.9282120466, -0.9565554857, 0.1230994761, 0.2090747803, -0.2859057188, -0.6984426975, 0.1481624544, 0.1446965635, 0.1535041481, 0.0930876508, -0.4772883654, 0.2970557809, 0.5354902148, 0.6176732779, -0.3492291868, 0.261329174, -0.442759037, 0.0669882149, -0.1498368084, 0.7931216955, -0.6609914303, -0.3506045341, 0.2753408253, 0.066300571, 0.344457984, -0.4770905077, 1.1167446375, -0.3936774135, 0.2205632776, -0.3464673162, -0.142171815, -0.5837455988, 0.3981571198, -0.5767316818, 0.9015766382, 0.0124304593, -1.1539970636, 0.213147074, -0.5305165648, -0.891253233, 0.2691116333, -0.0204546507, -0.5269221067, -0.2077531219, 0.0320891961, 0.542499423, -0.1936503053, 0.3496543765, -0.4884619713, -0.3434079289, 0.2350173742, -0.4965065122, 1.079862237, 0.4851375818, -0.6647789478, 0.2997051179, -0.4612231255, -0.0819180608, 0.1769533902, -0.155555293, -0.572892189, 0.0557107553, 0.4013626575, 0.4037834704, 0.0980027542, -0.6379063129, -0.5459834337, -0.2983868718, 0.1305353343, 0.6765539646, 0.324534446, 0.2876125872, -0.0984301865, 0.7201839089, 0.1627019495, 0.4434368312, 0.0066492204, -0.1916495413, -0.542370677, -0.0757256225, -0.1637452841, 0.7941558957, -0.6896273494, 0.7024764419, -0.1485621035, -0.3168748617, -0.212119326, 0.4899194241, 0.5124657154, 0.2714861631, 0.2858921289, -0.5609361529, -0.7744944692, -0.8227885962, -0.4906142652, -0.326350987, 0.1685079187, 0.1921255291, 0.2234154493, -0.4245732725, 0.3993898034, -0.1402367353, -0.6972491145, -0.3028591275, -0.0286750384, -0.0296601411, 0.409553498, 0.6604537964, -1.0234993696, -0.8707438707, 0.0170544665, -0.9905341864, -0.4473827481, 0.1647687703, -0.317889452, 0.1210955605, 0.346147716, 0.0459780954, 0.3584059179, 0.549441874, -0.4310593605, 0.2869413495, 0.4197326005, 0.276350826, -0.9760116935, 0.0867391825, 0.4359043241, -0.3162711263, -0.7665864825, 0.1013753712, -0.1750529557, 0.1076928452, -0.6975267529, 0.4726048112, 0.0407565273, 0.6311705709, -0.3775525391, 0.0537836663, -0.0984577835, 0.3628875911, 0.0658154935, 0.4924273193, 0.5578265786, -0.3862470388, 0.2906904519, 0.0654008538, -0.0837278962, 0.7286166549, -0.3617425263, -0.1190449446, -0.2015415728, -0.0962361023, -0.6956446171, -0.0084464327, 0.8689197302, -0.5947992206, 0.0676367953, -0.1110028699, -0.5912845135, 0.0114124557, -0.7082132697, 0.3349766135, 0.2623097301, -0.2109832317, 0.6050313711, 0.8320257068, -0.2466326952, -0.6451686025, -0.6494776607, 0.2194092125, -0.4900608659, -0.5387619138, -0.081744574, -0.0784383565, -0.4225109816, 0.1280304641, 0.0078644436, -0.1914925873, 0.3882623911, 0.3981220424, -0.1059964001, 0.042876441, 0.0030291276, 0.240779236, -0.1445268542, 0.4075108171, 0.1087798029, 0.4728296697, -0.2460559905, -0.180517301, -0.5122532845, 0.5832784176, 0.3910751045, -0.3451457322, 0.3932747841, 1.0090810061, -0.5075093508, -0.2536759973, -0.3712255955, 0.1271646768, -0.5224128962, 0.3904134929, 0.0914867893, -0.7538797855, 0.4014886022, 0.0297767948, -0.117082648, 0.3374430835, 0.5068103075, 0.0537481382, 1.1295744181, 0.6776343584, -0.4191453755, 0.5430673957, 0.0203560796, 0.3905752003, -0.4499590993, -0.0293414276, -0.4501652122, 0.0940867737, -0.7147666812, -0.3471373916, 0.2508859634, -0.0581876673, -0.3420628309, 0.2000251412, -0.3052111864, 0.4119259119, 0.1769789308, 0.0613990612, 0.3128420115, 0.0703978837, -0.0579162836, -0.0355580859, -0.2580038607, -0.8991217017, 0.7642269731, 0.4219834208, 0.728718996, 0.3897018731, 0.5517858267, 0.8581122756, 0.3684094548, -0.725143075, 0.613587141, -0.4074772596, -0.8653818965, -0.0876261964, -0.3238020539, -0.4568923116, 0.1838305444, -0.3381947875, -0.6422262788, 0.1293409169, 0.0818128288, -0.1362479329, 0.4839422107, -0.4403640926, 0.8491251469, -0.3978414536, -0.700284183, -0.2579250634, -0.5424381495, 0.4961305261, -0.1546324939, 0.8216596842, -0.3412274122, -0.0366219655, 0.5656124949, 0.0889318064, 1.175008297, -0.442229867, -0.2749134004, 0.3774735332, 0.3562887013, 0.1076106057, 0.1008453369, -0.1882733405, 0.3039241433, -0.1490540355, -0.2120850235, -0.1144087613, 0.7036469579, -0.3622396886, -0.2710526288, -0.3863280714, -0.2056654096, -0.1375635117, 0.4671184719, -0.084303923, 0.0578004904, -0.4143157601, 0.0628464818, 0.7036095262, -0.6657768488, 0.2285369039, 0.3483405709, -0.2572970986, -0.315989852, 1.1881184578, -0.2735930383, -0.0572079793, 0.111680299, 0.2928294241, -0.2805156112, -0.5728758574, -0.4708197415, 0.012825557, -0.8300433755, -0.3417075872, -0.7246003151, 0.0044157328, -0.4100034833, 0.0358124487, -0.1035965756, -0.053376615, -0.0155851506, -0.0320705436, -0.0040542246, 0.5616958737, -0.2742255032, 0.1611636132, -0.9463171959, 0.2851006985, -0.0064569847, 0.4397933483, -0.0044838684, -0.2161435336, -0.1502714604, 0.0834025815, -0.2404767424, -0.9459724426, 0.3464749753, 0.1412475705, 0.5506855249, 0.7844521403, 0.4982641935, 0.1747943312, -0.1061682478, 0.5475711823, 0.0528821126, -0.8759011626, 0.5891726613, -0.4698084295, -0.1109247208, 0.6512219906, 0.6612432599, -0.8897801042, -0.6851988435, -0.2624927163, -0.8567361832, 0.3941490352, 0.1490140408, 0.6065022945, -0.336730063, 0.0181406084, 0.1515499055, 0.1957569569, -0.8618562222, -0.1710603833, -0.2913814187, -0.3953348398, 0.2107560784, -0.208075583, -0.030620195, -0.1135862544, 0.948225975, -0.0303184297, -0.0240119863, -0.1344224513, -0.5375285149, -0.4118866324, 0.3880572915, 0.0565997809, 0.2209167033, 0.0916686654, 0.2211711258, 0.0563253239, -0.5574968457, -0.0631382465, 0.0143009294, -0.4445951879, -0.1538241357, 0.3860608637, 0.4071916342, 0.1027709767, -0.8532385826, 0.9160860777, -0.1672473699, 0.1429016739, -0.4455626011, 0.1556440145, -0.1337503046, 0.1384495348, 0.2792207897, -0.1669235528, 0.5348724723, -0.4696670473, 0.3809895813, 0.5259520411, -0.7744442821, -0.3679536879, 0.4547046721, 0.3926029205, 0.0139179472, 0.0257357955, -0.5212714672, -0.9646896124, 0.3198637664, 0.2383784801, 0.922528863, -0.2122149915, 0.4750834107, 0.4381621778, 0.3839325011, 0.3891994357, 0.5527365208, -0.1713077426, -0.8529280424, -0.2924775481, -0.8630341887, -0.0928261355, -0.0113446666, -0.6540850997, 0.1660764068, -0.8299853802, -0.0582501292, -0.0111986939, 0.2035359293, -0.336686939, 0.3687660694, 0.4384155273, 0.5665410161, -1.2702852488, 0.5138271451, 0.8256953955, -0.5216192007, -0.4281444848, 0.1077959836, 0.4377927184, -0.6108430624, 0.3486892283, 0.2174867988, -0.4359422326, -0.1988853663, -0.445522517, -0.2581836879, 0.498734206, 0.0488729812, -0.2540608943, 0.4379891157, 0.3404346406, 0.7367251515, -0.1000136212, -0.0854355171, 0.3768812418, 0.5447983146, -0.0781103373, -0.5183867216, 0.5177677274, -0.5569656491, -0.1465983838, 0.2596466839, -0.4802966118, 0.5110991597, 0.1532705724, -0.5842341185, -0.0455877222, 0.3239850402, -0.1994566023, 0.2722605467, 0.7364068627, 0.4674064517, 0.3204302788, 0.0808702931, 0.6244705319, -0.3148104548, 0.2459371984, 0.800337851, -0.1806067079, 0.7071682811, 0.1854425073, -0.030881349, 0.6622906327, 0.2761642933, -0.0150745949, 0.5118663311, 0.2474576831, -0.6342557669, -0.4013084471, -0.6930000782, -0.1885050386, 0.4691364467, 0.5401641726, -0.5361296535, -0.3369850218, 0.1372165531, 0.2957206964, 0.590333581, -0.3390474319, 0.8941321969, 0.0652660355, -0.1045169905, 0.1550665498, 0.2832657397, 1.0220785141, -0.4077729881, 0.064511925, -0.192454651, 0.193630293, -0.4515581727, -0.8134037256, 0.6017837524, 0.27003932, 0.2233814299, -0.1024813429, 1.2032123804, -0.2584024966, -0.4852708876, 0.6284329891, 0.6273685694, -0.0071770721, -0.1798902601, -0.8636937737, 0.3091298342, -0.0708708987, -0.0098115904, 0.2163031995, 0.5025762916, -0.398445189, 0.4510177672, 0.6387339234, -0.0037567874, 0.0384854451, 0.2809203565, 1.0000312328, -0.560544908, -0.5975244045, -0.7218059897, 0.5280682445, -0.2990485728, 0.0453060716, 0.8545724154, 0.4774481058, 1.0570954084, 0.3519041538, 1.1046905518, -0.3305665851, 0.4887266457, 0.0177092589, 0.8929691315, -0.5965043902, 0.3154576123, -0.6452250481, -0.7784992456, -0.7292495966, 0.7566193938, -0.1609122604, -0.0472600646, 0.4454169571, 0.9109856486, 0.0126184812, 0.1668767482, 0.2058095336, 0.2097785622, 0.3505234718, 0.3822317123, 0.8413311839, -0.3242488503, 0.7752177715, -0.6698035598, -0.2020577788, 0.0334590971, -0.8957064152, -1.1379504204, -0.3145020008, -0.3988290727, -0.4204043448, 0.2975048423, 0.8212595582, 0.4215610623, -1.1746698618, -0.1491080374, 0.1931818724, 0.1539186835, -0.0218377113, -0.234386757, 0.1878882349, -0.0951415822, -0.649518311, 0.0276113208, 0.321295023, -0.2247738093, -0.4572068751, -0.1157527715, -0.2766337395, -0.0554159358, 0.7276457548, 0.3413395584, -0.3730559647, -0.465878129, -0.0505493544, -0.1565942615, -0.1705021262, 0.5360572338, -0.3370022774, 0.4604840577, 0.5281476378, 0.6591832638, 0.0078042368, -0.1100202575, 0.2451372892, -0.8659496307, 0.0563342497, 0.4376977086, 0.1967826039, 0.6175060272, -0.5142011046, 0.4204850197, 0.1905140877, -0.0359566435, -0.7174124122, 0.329369843, -0.8361067772, -0.3214654624, 1.3046644926, -0.203460142, -0.229029119, -0.5171371102, -0.3369263709, 0.4755741954, -0.5571892262, 0.9155769348, 0.4938468933, 0.2192998528, 0.0333411843, -0.4476673305, 0.4068694711, 0.2342338413, -0.8217835426, 0.1072254851, 0.5990293622, 0.4309441745, 0.0602495186, 0.5469202995, -0.463380754, 0.3437581956, -0.3982486725, 0.0430592373, -0.0564043038, -0.0662016124, -0.4399915934, 0.2417870164, -0.1326947808, -0.0217299331 ]
http://arxiv.org/abs/2403.01267v1
http://arxiv.org/pdf/2403.01267v1
Dissecting Language Models: Machine Unlearning via Selective Pruning
2024-03-02T17:10:44
2024-03-02T17:10:44
Nicholas Pochinkov, Nandi Schoots
cs.LG
cs.LG, cs.CL
Understanding and shaping the behaviour of Large Language Models (LLMs) is increasingly important as applications become more powerful and more frequently adopted. This paper introduces a machine unlearning method specifically designed for LLMs. We introduce a selective pruning method for LLMs that removes neurons based on their relative importance on a targeted capability compared to overall network performance. This approach is a compute- and data-efficient method for identifying and removing neurons that enable specific behaviours. Our findings reveal that both feed-forward and attention neurons in LLMs are specialized; that is, for specific tasks, certain neurons are more crucial than others.
[ -0.3413219452, -0.9198458195, 0.3164637983, -0.0621686503, -0.3858834803, 0.3608089685, -0.5195518136, -0.0101952273, 0.0867620111, 0.66601789, -0.8410899639, -0.1356153041, -0.516602993, -0.1302693486, -0.6809720397, 0.8481043577, 0.2197061479, -0.0122968508, -0.2942625582, -0.0549744815, -0.4339832664, -0.5478222966, -0.7358563542, -0.813421905, 0.8284968138, 0.2660243213, 0.5244680047, 0.7209424973, 0.3364060521, 0.4492797256, -0.6799116135, 0.2368550301, -0.8229398727, 0.2167541385, -0.2533166111, -0.551333189, -0.2727923989, -0.0493056178, 0.8563034534, 0.9906414747, -0.099380523, 0.0411853641, 0.4481242597, 0.6766661406, -0.4324644804, -0.0100823948, -0.9533008933, 0.1042729318, -0.2140659988, -0.1305632591, -0.6502385139, 0.0765872523, -0.1273198873, -0.2428541929, 0.4014842808, -0.3795216382, 0.6598851085, 0.3154064417, -0.3460918963, 0.0835370123, -0.770636797, 1.0128231049, -0.2471374124, 0.1634581536, 0.3885997832, 0.1170886457, -0.2121559978, -0.7718190551, -0.1907885224, -0.0139767099, -0.2418691367, -0.1315155327, -0.263300091, 0.2097865492, 0.2823473215, 0.3828898966, -0.5473787785, 0.3567443192, -0.6720575094, -0.2090234458, 0.5039770007, 0.0840600729, 0.4463793337, 0.0658719912, 0.0163785797, 0.2204702944, -0.9438250065, -0.1530461609, 0.5730497837, 0.0877089873, 0.5200169086, 0.7079117894, -0.0623813719, 0.8831291795, -0.2266355157, -0.0922295004, 0.1275324076, 0.2017287314, -0.40332672, -0.1528460234, 0.728431046, -0.0092394352, 0.6911996007, -0.4986609221, -0.5553653836, 0.0223324727, 0.5034604669, -0.4797948301, -0.2881999016, 0.2092947215, -0.6091888547, -0.4433597326, -0.4206850231, -0.4327131808, -0.254447639, -0.4443933666, 0.1966121048, -0.4605690539, -0.5282566547, -0.1530861259, -0.333142817, -0.020543851, 0.1086860374, -0.9779589772, 0.2907402813, 0.7498745322, 0.6616037488, -0.3566198945, -0.390653491, -0.4286011457, 0.1219833717, -0.295594573, 0.3780964613, -0.8110562563, -0.4131966233, -0.2773943543, 0.361102283, -0.0832303539, -1.0112894773, 0.2758665681, -0.7174901962, -0.1964456886, -0.0669654533, -0.4190109074, -0.54545331, 0.027488865, -0.6998673677, 0.6430373192, 0.0897314623, -0.5077111721, 0.0151003851, -0.4804440141, -0.7710599899, -0.0118059106, -0.0691790879, -0.3450394869, 0.4376399815, 0.0617103912, 0.5724867582, -0.1676953435, 0.620579958, -0.2992464006, -0.2634213567, 0.181480214, -0.6065316796, 0.9862341285, 0.5025802255, -0.0593470596, 0.4530204535, -0.7521986365, -0.0107223205, 0.3316565752, -0.2638989389, -0.2650796473, 0.295203954, -0.3231767118, 0.0814642087, 0.1521070749, -0.3569492698, 0.2036620826, -0.6105763912, 1.2707672119, 0.7805310488, -0.075311631, 0.6190989614, -0.3533602655, 0.4021121264, 0.1417253017, 0.1258772761, -0.1113618463, -0.4192916155, -0.8320538998, -0.4826088548, 0.225321129, 0.1889119744, -0.5255366564, 0.3197677732, 0.1029780284, -0.4667729139, -0.6195405126, 0.4709838331, 0.3587089181, 0.3280753195, 0.2452333272, -0.2120170146, -0.61423105, -1.0938003063, -0.4221853018, -0.0488776565, -0.1984289587, 0.0029992396, 0.2979513407, -0.2228910178, 0.8735855818, -0.3692616224, -0.0116425734, -0.5429952145, -0.0909304991, 0.2059621811, 0.3100310266, 0.1712224185, -0.8423016667, -0.2050651759, 0.0447688214, -0.7024363875, 0.154663384, -0.1850769222, 0.2242758572, -0.2590713203, 0.5765941143, -0.6905839443, 0.4874873161, 0.4777573347, 0.1936622262, 0.3346599042, -0.143146351, -0.3901475668, -0.5520547032, 0.1249399185, -0.0409920216, -0.2377552986, -0.7382213473, -0.0142719466, 0.0979693979, -0.0915916115, -0.5090253353, 0.524009347, -0.8301507235, -0.3490508497, -0.4581083655, 0.0734131783, 0.0247795656, 0.6331489086, 0.1967048943, 0.5646947026, 0.606803, -0.7827767134, 0.2930993438, 0.0038786232, -0.4155417979, -0.4595300853, -0.6450222135, 0.1286109239, -0.220722124, -0.3340305984, -1.0177201033, 0.1811229885, 0.0717962012, -0.3558140993, 0.4938005209, -0.2893554568, -0.3573179543, -0.270088315, 0.1041368246, 0.3666163683, 0.7454331517, -0.5249772668, 0.4851385653, 0.7478402257, -0.2476257682, -0.4142905772, -0.6297121644, -0.116346173, -0.329090178, -0.3455273509, 0.5498960018, 0.0973009989, -0.4580841064, -0.0625620708, -0.0417558216, -0.273443222, 0.4040913582, 0.40391922, -0.0158867408, -0.0067772577, 0.2244301587, 0.0088257948, -0.1457703412, 0.0734405816, 0.0767141804, 0.7926359177, 0.3165182471, -0.4697482884, -0.4202707112, 0.2371298969, 0.7358973622, -0.6289004683, 0.5805703998, 0.4916144609, -0.2476158738, -0.560882628, -0.2342290133, -0.5849574208, -0.5963938832, 0.6315677166, -0.3149533272, -0.8312388659, 0.3883526623, -0.2639173567, 0.2843264341, 0.1553836912, 0.6473267078, 0.0915317535, 1.2834229469, 0.7361159325, -0.3709009886, 0.6515259147, -0.2091640681, 0.3730239868, -0.9342780709, -0.2633522749, -0.4683091938, -0.4936454594, -0.3186600506, -0.2071810812, -0.0910195261, 0.2076645494, -0.0197943803, 0.2100290656, -0.8755844235, 0.6581904888, 0.4638302028, 0.1894538552, 0.1791775227, 0.1936618984, -0.1612327844, 0.1420890689, -0.7069032192, -0.6612607837, 1.0203794241, 0.4656041563, 0.4960800409, -0.0975622237, 0.4179838896, -0.1464362592, 0.4877132773, -0.9891101122, 0.7712828517, -0.2513309717, -0.7140130997, -0.4270311892, -0.5632151365, -1.1268709898, 0.4510697126, 0.2125839144, -0.8717956543, -0.2851723135, 0.0460966416, -0.204852283, 0.7078206539, -0.8709463477, 0.5573483706, -0.2537733018, -0.2784007788, -0.5095606446, -0.2218393385, 0.4497608542, -0.0012455152, 0.1187911853, -0.1881194711, -0.0335231461, 0.8069707155, -0.268843174, 1.1736390591, -0.0516249388, 0.1053071767, 0.4331701994, 0.4305369854, 0.4519568682, -0.1637634635, -0.1946103573, 0.1205867156, -0.3129730523, -0.2125329971, -0.3488253355, 0.7703202963, -0.843695879, -0.8969409466, 0.0377319194, -0.5470015407, -0.2411567569, 0.1925685108, -0.0608819723, 0.3014028966, -0.2405115813, 0.1733554006, 0.7468111515, -0.2511022091, 0.8995246887, 0.4831711948, -0.2669176459, -0.1040792167, 1.077047348, 0.2960305214, 0.0957931951, 0.3967113495, -0.0296746623, -0.0836469308, -0.9104382396, 0.0054639746, 0.3669651449, -0.6217963696, 0.0950186402, -0.5972607136, -0.4942873716, -0.1161437854, 0.0892278627, -0.315484494, -0.2925123572, -0.6986432672, -0.2318698019, 0.2211761028, 0.9125196934, 0.1713341027, 0.6467460394, -0.8534246683, 0.2886389196, 0.3653511703, 0.2203799784, 0.1710446477, -0.6384634376, 0.1483796686, -0.0000916885, -0.397154808, -0.8179979324, 0.8880071044, 0.2204494327, 0.8919845223, 0.7131605744, -0.1948915422, 0.5770344138, -0.5810878873, 0.3960445821, 0.3943012655, -0.7562890649, 0.5312315226, -0.226818487, 0.2668328881, 0.1985641569, 0.4427027702, -0.5188325047, -0.1815939397, -0.749815762, -0.8903000951, 0.8124161363, 0.0639026314, 0.0898777246, -0.0187971424, 0.6043816209, 0.0527011305, 0.3671329916, -0.5317343473, -0.2673202753, 0.3267556727, -0.1156784147, -0.5272681713, -0.4286258221, -0.2476431727, -0.41593346, 0.4715488255, 0.1457978189, -0.0110618714, -0.2480113506, -0.4504857063, -0.0659896731, 0.0015893528, 0.2519879341, 0.7934021354, 0.1097356826, 0.1605735868, 0.1647606641, -0.460776329, 0.1580453813, -0.6999791265, -0.2096287459, -0.0268674456, 0.3687365949, 0.5604307652, 0.0057481807, -0.6407257915, 0.1752551049, 0.0095499549, -0.2513908744, -0.0478742644, 0.3631938994, 0.3035678864, -0.0250928625, 0.066113092, 0.2089307308, -0.0952742398, -0.6044870019, 0.3728434741, 0.3590988517, -0.7077248096, -0.5162056684, 0.0595381409, 0.3351902366, -0.6406812072, 0.8622844219, -0.0073832404, -0.3690689504, 0.849003911, 0.5477064848, 0.9344910383, -0.3513292074, 0.2521804273, 0.1367459893, 0.5487254262, -0.0573658422, 0.0571050569, 0.0454666279, -0.8155201674, -0.7553679347, -0.6224673986, 0.0199416317, 0.5797266364, -0.6649162769, 0.0408628844, -0.7279827595, -0.2483341694, 0.3432211578, -0.1095632613, -0.4059748054, 0.1474538893, -0.0178374238, 0.7355353236, -0.7146639228, 1.2818726301, 0.7634137869, -0.0550328754, -0.623894453, -0.3171512485, 0.0989368409, -0.9393753409, 0.665252924, 0.0962469876, 0.006352697, 0.121335268, -0.4574501812, -0.6382101178, 0.5995147228, 0.6242995262, -1.0524065495, 0.140033409, -0.1052915901, 0.1245082766, -0.1145732254, 0.4271772802, 0.5707169771, 0.3755589426, -0.1669303924, -0.6488753557, -0.1552839279, -0.1851747781, -0.1995102763, 0.4001816511, -0.7138841152, 0.9594281316, -0.1580711454, -0.1936426759, -0.202778399, 0.4363660514, 0.0760785863, -0.0830205306, 0.6252273321, 0.3528677821, 1.0516092777, -0.0808006525, 0.4897867739, -0.2406174093, 0.0335497074, 0.9223921299, -0.3861970901, 0.7088233829, 0.8183444738, -0.08512225, -0.0493408591, 0.7450928092, 0.2049215585, 0.6346482038, 0.6109978557, -0.1503302008, -0.5431836843, 0.1507586837, 0.1399615109, 0.5288787484, 0.5575128198, -0.4840441346, -0.2116633058, 0.0498774201, 0.0000656578, 0.0318334363, -0.4841882885, 0.9230744839, 0.227215454, -0.8237451911, 0.632131815, 0.164978534, 0.4076812267, -0.574930191, 0.0440481454, -0.1950968355, 0.4423775971, -0.3114692271, -0.601715982, 0.5459241867, 0.0210715029, -0.4031781554, -0.498478055, 0.807677567, -0.2407660484, -0.1946486086, 0.6786717176, 0.5475148559, 0.3239506483, -0.2704683542, -0.8190813065, 0.2297682166, 0.5245308876, -0.6555333138, 0.7906691432, 0.4614591599, -0.0663375556, 1.0897240639, 0.7361248732, 0.187682122, -0.2381895632, 0.1815738827, 1.2337474823, -0.7193927765, -0.1201870739, -1.1587052345, 0.4759640098, -0.0531177483, -0.2425013632, 0.5655095577, 0.4185681343, 0.6129257679, 0.1628873348, 0.8052162528, 0.3002192974, 0.3774290383, -0.348228395, 0.9459890723, -0.5364589691, 0.559874773, 0.3004055619, -0.7919518948, -0.1299595535, 0.5837237835, -0.4805202484, 0.1410782784, 0.5988097191, 1.0948497057, -0.1040805057, 0.0926182419, 0.6759040356, 0.2838865817, 0.2100936621, 0.2849926949, 1.0751515627, 0.1861888766, 0.6605327129, -0.2962519825, -0.2444974631, -0.0811400265, -0.6105494499, -1.1089545488, -0.3956534564, -0.3719754815, 0.1192925647, 0.1253981739, 0.3051518798, 0.8748571873, -0.7698223591, -0.3710730374, -0.2530702055, 0.5452756882, -0.3063392639, -0.1279946417, 0.2069357485, -0.5480849147, -0.5862483978, 0.8116294742, 0.3752641082, -0.271147728, -0.4360157549, 0.0820902959, -0.0960106328, -0.1393849552, 0.5093865991, 0.2920668721, -0.6517831087, 0.0634640977, -0.0833482966, 0.0536731333, -0.0442414135, 0.9849455357, -0.7208859324, 0.1215871423, 0.5559313297, 0.3523699939, 0.4179672003, -0.2980320752, 0.7322694659, -0.9779423475, 0.4617326558, 0.4913439751, 0.4809074998, 0.1212765127, -0.1446618438, 0.2057928294, 0.1649729908, -0.5216330886, -1.1180999279, 0.278583914, -0.4865160584, -0.8802870512, 1.293399334, -0.2345944047, -0.8449414372, -0.2156469524, -0.1828023344, 0.2801886499, -0.125780642, 0.3610554338, 0.4752821326, 0.1995116323, -0.3357814252, -0.5884198546, 0.3727698922, 0.6849377751, -0.2908164561, 0.390435189, 0.1867314726, 0.4039489627, -0.1226138547, 0.4252352715, -0.1557733417, -0.2030463815, -0.1552561969, 0.2648509741, -0.1619209647, -0.6913850307, -0.5354923606, 0.5377138853, 0.2281600386, -0.2617075443 ]
http://arxiv.org/abs/2403.04783v1
http://arxiv.org/pdf/2403.04783v1
AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks
2024-03-02T16:52:22
2024-03-02T16:52:22
Yifan Zeng, Yiran Wu, Xiao Zhang, Huazheng Wang, Qingyun Wu
cs.LG
cs.LG, cs.CL, cs.CR
Despite extensive pre-training and fine-tuning in moral alignment to prevent generating harmful information at user request, large language models (LLMs) remain vulnerable to jailbreak attacks. In this paper, we propose AutoDefense, a response-filtering based multi-agent defense framework that filters harmful responses from LLMs. This framework assigns different roles to LLM agents and employs them to complete the defense task collaboratively. The division in tasks enhances the overall instruction-following of LLMs and enables the integration of other defense components as tools. AutoDefense can adapt to various sizes and kinds of open-source LLMs that serve as agents. Through conducting extensive experiments on a large scale of harmful and safe prompts, we validate the effectiveness of the proposed AutoDefense in improving the robustness against jailbreak attacks, while maintaining the performance at normal user request. Our code and data are publicly available at https://github.com/XHMY/AutoDefense.
[ -0.5810080767, -0.9083226919, 0.3985454142, 0.1181538403, -0.0066487784, 0.488104254, 0.0373907611, -0.5607851148, 0.242719695, 0.7095587254, -0.5641089082, -0.5098304152, -0.5593271255, 0.1897612214, -0.3842706084, 0.8826703429, 0.1289987713, -0.1133811474, 0.0715277717, 0.0458550826, -0.6489607096, -0.5408728123, -0.687112093, -0.0145815499, 0.4008877873, 0.3430604041, 0.5955941677, 0.4468499124, 0.6105141044, 0.3959229589, 0.3204018474, -0.0628995672, -0.0369393751, 0.7911636233, -0.2589505911, -0.2258670181, -0.6841837764, 0.0403972752, 0.0077676955, -0.1927086562, -0.2650066614, -0.1454376727, -0.1372833103, 0.4711814523, -0.7855221629, -0.3841555715, -0.6833794117, -0.0640701726, 0.0570290796, 0.2872918844, -0.546715796, -0.2323986888, -0.0890298858, -0.1379399747, -0.2494399101, 0.1779501289, 0.3829373419, 0.2889543176, -0.2683182359, -0.1667703837, -0.1894735098, 0.3691157997, -0.7430335879, 0.0603355542, 0.4238560796, 0.2354102433, -0.5608496666, -0.2724638581, -0.464767307, -0.4711990952, 0.088753365, 0.0100175766, -0.5486270785, 0.3634831905, 0.0209223758, 0.068078056, -0.804130733, 0.3080397546, 0.023442518, -0.3993169367, 0.7263865471, 0.2622027695, 0.6994513869, -0.0843504146, -0.5992171764, -0.1238677725, -0.6557939053, 0.107937105, 0.5252619386, 0.0358060859, -0.1475864053, 0.4207330346, -0.1475620419, 0.6556305885, 0.233969301, -0.0920663103, -0.0621054359, -0.2552898824, -0.1944860518, 0.0570548587, 0.9571928978, 0.422038734, 0.1862942129, -0.2898616493, -0.2918489277, -0.0231934283, 0.4652540088, -1.0502882004, -0.1007002518, 0.3088508844, -0.2977573872, -0.7046254277, 0.2656335235, -0.9321604967, -0.899520576, 0.2567453384, 0.1661156565, -0.3531125188, -0.2603988051, 0.3494678438, 0.073522754, 0.1673178822, 0.0205815118, -0.616686523, 0.5085315704, 0.4680369496, 0.7303972244, -0.2865714431, -0.4213929474, -0.9654762745, 0.2088427544, -0.1037756056, 1.0045335293, -0.2375710905, -0.5534507036, -0.4090290666, 0.0405514501, -0.2566001117, -0.5059397817, 0.2378611863, -0.7933283448, -0.3139550984, 0.2013493031, -0.407338053, -0.0360828899, 0.4728471339, -0.7562631965, 0.5203970671, 0.0189701505, -0.6029193401, -0.0221480038, -0.6157258153, -0.6033437848, -0.0575415604, 0.0545402318, -0.3804065287, -0.0907886103, 0.3383386433, 0.3083624542, -0.3631125689, 0.2068334371, -0.7614107132, 0.0590352155, 0.258243084, -0.2894543111, 0.74966681, 0.5946040154, -0.497687757, 0.4340287745, -0.5036705136, 0.0099016037, 0.2948719859, -0.1719993949, -0.381152153, 0.1104907915, -0.2827070057, 0.2462799102, 0.2444813997, -0.8327282667, 0.2802351415, -0.5567779541, 0.3522340357, 0.7509647608, 0.154349789, 0.4263526201, -0.3539348245, 0.8099409342, -0.0097479774, 0.5462787747, -0.2344709486, -0.3079682291, -0.0727123469, -0.5303096771, -0.3114581406, 0.9123945236, -0.650708735, 0.5763166547, 0.366034627, -0.3761935532, -0.3760409653, 0.4476744235, 0.3179651201, 0.3231263757, 0.4031640887, -0.4447087944, -0.5718696713, -0.7196205258, -0.3094853461, -0.4373755157, 0.2614915073, -0.0264029037, 0.3020198345, -0.4828618467, 0.8933348656, -0.5347394943, -0.1247200817, -0.2855058014, -0.219506368, -0.0099672666, 0.3495852351, 0.9719132185, -0.2924792171, -0.559689641, -0.436203301, -0.6891493201, -0.5548537374, 0.0838092491, -0.1048628092, 0.1276953965, 0.7502761483, -0.6423586011, 0.397282958, 0.3463062048, -0.8116357327, 0.6846390367, -0.1202758774, 0.0704828352, -1.1549019814, -0.4373655617, -0.1232983097, -0.4592353404, -0.6641581059, 0.2675999105, -0.0458463281, 0.0144922193, -0.4021398723, 0.6205732226, -0.2081731856, 0.1662312448, -0.7760763168, 0.2058523297, 0.1624495685, -0.0504535995, -0.352635771, 1.0040465593, 0.6165277958, -0.3373894691, 0.9021853209, 0.1478486955, -0.1660775095, 0.6994466186, -0.7171257138, 0.2583297193, -0.0566487312, 0.3800566494, -0.9561550617, -0.0993360654, 0.4596619606, -0.3544878662, 0.0703874156, -0.2499199808, -0.5313827991, -0.5156665444, -0.6720199585, 0.1201172397, 0.1109972671, -0.5690951943, 0.5974987149, 0.5337041616, -0.3312345743, -0.5848209858, -0.3917638958, 0.5497823954, -0.5328975916, -0.7833858728, 0.0011187663, -0.5272695422, -0.536483705, -0.1754755974, 0.0662441105, -0.1473165005, 0.6524864435, 0.4115043283, 0.490272671, -0.0128388274, -0.166623801, -0.1404968947, 0.0153512228, 0.5155828595, -0.3045854568, 0.5671308637, -0.1998183131, -0.4267327189, -0.2378608882, 0.5401124358, 0.9609559178, -0.4257517755, 0.7392859459, 0.4956635833, 0.0443728603, -0.273422271, -0.5707250237, -0.4049985111, -0.5604791641, 0.3552163541, -0.3146097362, -0.9880101681, 0.4191133082, 0.1499108523, 0.0512743667, 0.0390248299, 0.5849395394, 0.0131422859, 0.8697013259, 0.3686202466, -0.7794862986, 0.6294685602, 0.0505507737, 0.0907813609, -0.5624654889, -0.0414214619, -0.455496937, 0.1394161582, -0.3700736761, 0.1113112867, 0.1798677295, -0.1514781266, -0.4768174291, 0.6413677335, -0.4168461263, 0.5466504097, 0.3193547726, 0.0642169043, 0.1515005231, -0.1948551834, -0.1920446455, 0.5277420878, -0.3538458943, -0.4823491275, 0.9848030806, 0.4530827403, 1.2226407528, 0.4986277521, 0.9060971141, 0.6901554465, 0.2819619775, -0.6668205857, 0.6962186694, -0.0401355438, -0.786215961, -0.184253931, -0.217370972, -0.8363848925, 0.5369427204, 0.0255381875, -0.8417142034, -0.0013696245, 0.0003367834, -0.6289412975, 0.4195636809, -0.7278827429, 0.722325325, -0.5314646363, -0.3578381836, -0.3645007908, -0.6043665409, 0.3582923412, -0.2774117291, 0.4404402971, -0.3467321396, 0.2461937517, 0.503031075, -0.6987816095, 1.0317182541, -0.4764565527, -0.231268838, 0.6001064777, 0.3313440681, 0.673073113, 0.430634439, -0.011103821, -0.4074311256, 0.0486723371, -0.163744539, -0.3214898109, 0.704756856, -0.6853587031, -1.0079964399, -0.3498811126, -0.6353076696, 0.0677214563, 0.2383478582, -0.0623473674, 0.0491134599, -0.191821456, -0.0960951522, 0.754003942, -0.3247956932, 0.8570750356, 0.9281301498, -0.2643842995, -0.7264520526, 0.4993917048, -0.3023968041, 0.2031994015, -0.0744772404, 0.1407194287, -0.2087774873, -0.5912228227, -0.4490641057, -0.1341778636, -0.4408552051, -0.6833877563, -0.5848225355, -0.2110182792, -0.6764134169, 0.0250243247, -0.2776335478, -0.1116311848, 0.1105424538, -0.1791001707, 0.6307513714, 0.6267709732, -0.2920082808, 0.4874872565, -0.8418465257, 0.5499840379, 0.3045956492, 0.2220311612, -0.1502426118, -0.5219231844, -0.1994167715, -0.1458225697, -0.4551931918, -1.1104148626, 0.3375841081, 0.0189426728, 0.7103609443, 0.3486723304, 0.6300590038, 0.1970433742, -0.4884659648, 0.3553362191, 0.1546527743, -0.8133912683, 0.6069752574, -0.1319942474, 0.1646953374, 0.7211928368, -0.1997878253, -0.1453740299, -0.7729884386, -0.1671341956, -0.8061258197, 0.5616034865, -0.01153439, 0.1833470166, -0.1681883186, 0.2365607172, -0.2537279427, 0.1352066249, -0.7722609639, -0.1807186157, -0.3537155092, -0.1714956909, 0.2635540962, -0.1886493117, -0.1436377317, -0.0750928596, 0.6607186198, 0.1049743667, -0.0259447657, 0.2077196091, -0.4702002108, 0.055146154, 0.6021332741, 0.5959489346, -0.1264671981, -0.0884063989, 0.2848845124, 0.1584910452, -0.9260457158, 0.8268507719, 0.2697015405, -0.0530694872, -0.506098628, 0.2802107036, 0.5544592142, -0.2814538181, -0.714169085, 0.582916081, -0.2152882069, 0.1410208791, -0.3084177971, 0.5543263555, -0.2415193617, 0.4432761371, 0.235161677, -0.0877960622, 0.1108976901, -0.3137896359, 0.4678195119, 0.4777755737, -0.2165013552, -0.2354863435, 0.7329778075, 0.1629376858, -0.1485189795, 0.3680675924, -0.1536638886, -0.5850240588, 0.9649450183, 0.6976715922, 1.1568515301, -0.7768988609, -0.0085520297, 0.0290383305, 0.7445527315, 0.1530132443, 0.2363673896, 0.0568988733, -0.8341621757, -0.3621610999, -0.4359766543, -0.2694885135, 0.2894800901, -0.3813874424, -0.1467039436, -0.6731294394, -0.4544726908, -0.2548906505, -0.246286422, -0.1017091349, 0.0699504539, 0.1889671981, 0.9921987653, -0.5357030034, 0.9882667065, 0.8298392296, -0.3106248081, -0.5161427855, -0.002601716, 0.3717337847, -0.5755665898, 0.4539719522, 0.2405610234, -0.6035208702, -0.198497355, -0.5239859223, -0.7532684207, 0.7491174936, 0.4284600914, -0.4466309845, 0.2212132961, 0.0414141752, 0.1716849804, -0.6175601482, 0.1499184221, 0.5582265854, 0.5297101736, -0.3925205171, -0.6713912487, 0.1757678688, -0.2713216245, -0.2991147339, 0.192031309, -0.5477384329, 0.4683673978, -0.3709421158, 0.2375753522, 0.1383320838, 0.3710647523, 0.3560383022, 0.3692896068, 0.7242134809, 0.6073698997, 0.2258973718, 0.1711572856, 0.7882763147, -0.5566604137, -0.0205389857, 1.3032875061, -0.5589805245, 0.4492621124, 0.1829914451, 0.0745598078, 0.5375189781, 0.4319777489, -0.3098132014, 0.6926981211, 0.4126443565, -0.5826787353, -0.0837845877, 0.0459383987, -0.1716491729, 0.4573893845, 0.2620113194, -0.1830260009, -0.4197873771, 0.7207323909, 0.294107765, 0.094143495, -0.229304105, 1.0078123808, 0.0797993615, -0.4943531454, 0.3618993759, 0.2585386038, 0.6203519106, -0.6018072367, 0.4566245675, -0.2445611358, 0.2100726813, -0.1946683377, -0.7583293915, 0.3785764277, 0.3792765737, -0.3613132536, -0.0693279505, 0.9942544699, -0.0762413442, 0.2217434049, 0.947375536, 0.3303586245, -0.1008884087, -0.2145144641, -0.8640366793, 0.1165676489, -0.130247429, -0.4783107042, 0.4313689768, -0.0276089944, -0.0617215298, 0.7962552905, 0.5695628524, 0.0593519732, 0.2611582875, 0.0713460371, 1.0312774181, -0.4651857615, -0.4818099439, -1.3363468647, 0.1367079616, -0.1922528744, 0.356366694, 0.731108427, 0.4926628172, 0.5375215411, 0.0871099904, 0.9748159647, -0.2559841275, 0.2707686126, -0.2805409729, 1.0300277472, -0.0141341705, 0.5814783573, -0.3554048538, -0.5754386783, -0.1143991351, 0.4504294991, -0.1961960644, -0.0414149053, 0.5152571797, 0.8436954021, 0.1941599697, -0.2099482417, 0.3552339673, 0.1956630349, 0.6577523947, 0.505985558, 0.8494600654, -0.1549240947, 0.6364584565, -0.0109210107, -0.2968508601, 0.033820536, -0.7372419834, -1.1468424797, -0.0718788728, -0.1079913825, -0.4935011864, 0.2405739874, 1.1371028423, 0.7645353079, -0.9121675491, -0.3715677261, 0.0424390659, 0.1461084485, 0.1215521395, -0.2008085996, -0.0633740723, -0.5339061618, -0.1041591913, 0.9605146646, 0.3173149824, 0.1165840104, -0.1409069747, -0.1301521063, -0.2014208585, 0.3197588921, 0.5107342005, 0.3517511785, -0.5655715466, -0.2002760768, -0.0733546838, -0.4582955241, -0.132414341, 0.5810460448, -0.6849871278, 0.3599360287, 0.2457474619, 0.794268012, -0.0698655173, -0.131228283, 0.5288897753, -0.4687816799, 0.2296645492, -0.1147719324, 0.4577594995, 0.0820758119, -0.5390987992, 0.3909545541, 0.1031346023, -0.4993906915, -0.6159808636, 0.6156365275, -0.5433553457, -0.5974357724, 0.922695756, -0.4029785097, -0.2430958748, -0.4946537316, -0.3207644224, -0.0281645153, -0.7202348709, 0.7652504444, 0.6909475327, 0.0685972273, -0.2446795404, -0.5216802955, 0.4111691713, 0.15063636, -1.1534473896, 0.1864717305, 0.5013094544, 0.4891530573, -0.0728670433, 0.38083902, -0.2033511251, 0.3825350106, -0.4695441425, 0.1022972167, -0.3681301177, -0.5105026364, -0.2861945927, 0.2978998423, 0.2116184086, -0.2556173503 ]
http://arxiv.org/abs/2403.01251v2
http://arxiv.org/pdf/2403.01251v2
Accelerating Greedy Coordinate Gradient via Probe Sampling
2024-03-02T16:23:44
2024-05-27T07:02:28
Yiran Zhao, Wenyue Zheng, Tianle Cai, Xuan Long Do, Kenji Kawaguchi, Anirudh Goyal, Michael Shieh
cs.CL
cs.CL
Safety of Large Language Models (LLMs) has become a critical issue given their rapid progresses. Greedy Coordinate Gradient (GCG) is shown to be effective in constructing adversarial prompts to break the aligned LLMs, but optimization of GCG is time-consuming. To reduce the time cost of GCG and enable more comprehensive studies of LLM safety, in this work, we study a new algorithm called $\texttt{Probe sampling}$. At the core of the algorithm is a mechanism that dynamically determines how similar a smaller draft model's predictions are to the target model's predictions for prompt candidates. When the target model is similar to the draft model, we rely heavily on the draft model to filter out a large number of potential prompt candidates. Probe sampling achieves up to $5.6$ times speedup using Llama2-7b-chat and leads to equal or improved attack success rate (ASR) on the AdvBench. Furthermore, probe sampling is also able to accelerate other prompt optimization techniques and adversarial methods, leading to acceleration of $1.8\times$ for AutoPrompt, $2.4\times$ for APE and $2.4\times$ for AutoDAN.
[ -0.4295958877, -0.7476962805, 0.482408762, 0.2599091232, -0.3613653779, 0.1726691574, -0.109966591, -0.3020781875, 0.024801027, 0.3147892356, -0.54512918, -0.5216876864, -0.6993641257, -0.147952497, -0.2007054687, 0.6614177227, 0.2283669114, 0.1960917413, 0.2483329177, 0.2243204415, -0.2744163275, -0.2815418243, -1.1757147312, -0.1745633483, 0.6298071742, 0.2999787033, 0.4239074886, 1.072802186, 0.438462019, 0.2756676674, -0.3639255762, 0.1397377253, -0.7385172248, 0.4320368469, 0.1434384882, -0.6042920351, -0.4470851421, 0.2153512686, 0.5399215221, 0.3985478282, -0.3557982445, -0.1033510193, -0.0060554747, 0.5847058892, -0.699580133, -0.0891219229, -0.7518569231, -0.2568252981, -0.450134784, -0.5182053447, -0.42251423, -0.3031655848, 0.0878764689, -0.8311155438, 0.4502896965, 0.2300979346, 0.6548081636, 0.2662330866, -0.2816365063, -0.0798190609, -0.3192108274, 0.7410122156, -0.4686970413, 0.1282408834, 0.2330278456, 0.5351955891, -0.6444128156, -0.8100479841, -0.336850971, -0.3030194342, 0.3422044218, 0.1451094896, -0.0618351772, 0.2012692243, 0.5877242684, 0.0855355486, -0.5408031344, 0.5149260163, -0.3859804571, -0.4291750789, 0.7053726912, 0.452154249, 0.1003668532, -0.0452219434, -0.6785473824, -0.4738637507, -0.898696363, 0.2831501663, 0.6413149834, 0.3605557978, -0.1220138818, 0.1867012084, -0.4627784193, 0.8370266557, 0.2271705419, 0.1876553297, 0.0912835598, -0.2914568782, -0.0409228168, -0.0153796459, 0.915771842, 0.5289307833, 0.2345082015, 0.1238149256, -0.1838939339, 0.2788502872, 0.2874646783, -1.0454111099, -0.3890237808, 0.2078644484, -0.1572953165, -0.3396064341, -0.3173519671, -1.0272612572, -0.6822169423, 0.0860487372, -0.0478692874, -0.2687485516, -0.0188807026, 0.1897497922, -0.1070244834, 0.4421585798, 0.4457401931, -0.6553777456, 0.0167996474, 0.7304137945, 0.7831742167, -0.3626184464, -0.2105434239, -1.1716586351, -0.1631304473, -0.5059412122, 0.9149329662, -0.4903715849, -0.8006609082, -0.0761704594, -0.1685901284, -0.0436316244, -0.388148278, 0.7550694942, -0.8594392538, 0.175163269, -0.51824826, -0.5037910938, -0.0850625038, 0.4745111465, -0.7994405627, 1.0242865086, -0.0406625718, -0.6781496406, 0.4719704092, -0.4229662716, -0.3169552982, 0.2064191401, -0.2405098826, -0.3809691668, -0.2748925686, 0.6428644657, 0.6260828376, -0.6569380164, 0.042440109, -0.3158157766, -0.6509568691, -0.0672480091, -0.2309277356, 0.9696076512, 0.1877209395, -0.3228551149, 0.1357250214, -0.4512441158, -0.0402404182, 0.2369268835, -0.5570610762, -0.226846084, -0.0779154301, -0.4025132954, 0.0291735325, 0.039099779, -0.510371089, 0.4243373871, -0.4680297077, 0.048611369, 0.8945403099, 0.1886492968, 0.715875864, -0.3738584816, 0.8950712085, -0.0939529315, 0.0370078683, -0.2231454402, -0.5998026133, -0.4739880562, -0.526231885, 0.3768126667, 0.5969209671, -0.8950054646, 0.208258763, -0.1426364779, -0.7427449822, -0.39208588, -0.1226878688, 0.5044668317, 0.611763835, 0.3037189543, -0.0531533025, -0.1880254745, -0.5711027384, -0.3351326883, -0.3061282039, -0.2443169504, 0.5089797974, 0.0200412944, -0.0574741997, 0.3844499588, -0.7155079246, -0.1038851738, -0.1033095792, 0.2398023307, 0.2972918451, 0.4038226604, 0.8036532998, -0.493950963, -0.4880024195, -0.3585205078, -0.3394879997, -0.4420257211, -0.0925364196, -0.4905727804, 0.053198386, 0.8187691569, -0.613913238, 0.1653939635, 0.3983091116, -0.2191844881, 0.4999844134, 0.0575833432, 0.1135268137, -0.9973112941, 0.0180633236, 0.0868987963, 0.0098264068, -0.6370177269, 0.158050701, 0.3325431645, 0.1151967868, -0.6343297958, 0.839628756, -0.6660327315, 0.3813375533, -0.4052398205, 0.4147391915, -0.0580983199, 0.3414941728, -0.2934782803, 0.8821514249, 0.9200417995, -0.8410851359, 0.4367728233, 0.0252708197, -0.1620331556, 0.4063456655, -0.6196807027, 0.3430047929, -0.0930709988, 0.3145727217, -1.0340608358, 0.1199895218, 0.4851039052, -0.6960995197, 0.5076038241, -0.2699176669, -0.0624340065, -0.2349316329, -0.5652034283, 0.5903614759, 0.5720477104, -0.6691772342, 0.6316150427, 0.3655848205, -0.0190507416, -0.9601609707, -0.1775009781, -0.0843919963, -0.2698441744, -0.4487194419, 0.2157898545, 0.0406610966, -0.1664655358, -0.3242485225, 0.1183431968, 0.4738771617, 0.3074604273, 0.0444846191, 0.3624190092, 0.1274089217, -0.1807632148, 0.0268774182, -0.3093764782, 0.367836237, -0.3810955584, 0.7828456759, 0.3654119372, -0.2905813754, -0.1222171336, 0.2063115388, 0.3700508475, -0.0790348426, 0.4363771081, 0.6574134231, -0.2073139846, -0.6000372767, -0.5073007941, -0.4415942132, -0.5675277114, 0.4909710884, -0.2503119409, -0.7535537481, 0.7821573615, -0.0388927385, 0.074514769, 0.3141341507, 0.6530072093, 0.2426715493, 0.8262084126, 0.2973041236, -0.5027106404, 0.5822990537, -0.3035435379, -0.0858686343, -1.0278625488, -0.2699755132, -0.7000138164, -0.3794512749, -0.584698379, -0.7245098948, 0.6031186581, -0.0204958916, -0.0589015074, 0.0922393948, -0.334458679, 0.343051374, 0.8749803901, 0.0610525049, -0.097817488, -0.0155579476, -0.5057661533, 0.1223619655, -0.7394732237, -0.0687207431, 1.2920175791, 0.1962294728, 1.0582053661, -0.2502972484, 0.4893778563, 0.1844102144, 0.2302993536, -0.8002616763, 0.9516479373, 0.0185514931, -0.410012871, -0.2108669877, -0.5444649458, -1.1261062622, 0.3196517527, -0.0647162572, -0.5350958705, 0.1342127919, 0.3593039811, -0.3977653086, 0.1717564911, -0.4608017504, 0.2670459747, -0.0294703785, -0.460817337, -0.0786516666, -0.6844873428, 0.3364592195, -0.0163965747, -0.3881771863, -0.2475126535, -0.0889123678, 0.91170156, -0.0346568786, 0.567748487, -0.6562373638, -0.1846637279, 0.34673208, 0.3622429073, 0.9878584146, 0.1741273999, -0.2675758898, 0.1719441116, -0.5712859035, -0.4691706598, -0.5095321536, 0.6339302659, -0.5062991977, -0.85499084, -0.4990892708, -0.611309588, -0.2744872272, 0.0837096199, 0.4143793285, 0.2346437275, -0.0680838153, -0.0390348248, 0.5402231812, -0.2537085712, 0.4209243357, 0.6288904548, 0.0976597145, -0.3409485221, 0.5703838468, -0.1468676776, 0.4253948331, 0.1752585471, 0.1673536748, -0.4846345186, -0.8415299058, -0.5431858897, 0.3430282474, -0.4071956277, -0.5269643068, -0.6493452191, -0.2029791027, -0.3049834669, -0.1845753938, -0.2214741111, -0.2138258368, -0.3688713014, -0.0461614616, 0.318808943, 0.0927167758, -0.0944360644, 0.5665817857, -0.6677946448, 0.3094128966, 0.2028591484, 0.025818564, -0.1194901466, -0.6869919896, -0.0358144343, 0.0613245852, -0.2167302519, -0.7664006352, 0.3598035872, -0.1471960843, 0.720680654, 0.5742282271, 0.2719179392, 0.5711982846, -0.5028141737, 0.6715259552, -0.0986891314, -0.6092738509, 0.3051970303, -0.788641572, 0.3449978828, 0.3073429763, 0.3342207074, -0.4837207496, -0.4244719744, -0.3106540143, -1.0989682674, 0.765655756, -0.0371185131, -0.1043852568, 0.0266557354, 0.5532993078, -0.3214552999, -0.0161135364, -0.177837491, -0.2262642235, 0.2722659111, 0.1175704896, -0.0793599412, -0.3871407211, -0.3684128523, 0.1650084406, 0.6364300847, -0.3695922196, 0.4630135596, 0.0655816421, 0.2249211073, -0.213302061, -0.033466652, 0.5865917206, 0.1388480514, -0.0906426683, -0.005495701, 0.2029941976, -0.7696552277, 0.2359750867, 0.5188168883, -0.262807548, -0.4513889849, 0.175193727, 0.6173090339, -0.3265292645, -0.5921413898, 0.5438376069, -0.4220970571, -0.2896367311, 0.0371593162, 0.4206603467, -0.0862594619, 0.3609076142, 0.5101169944, -0.1153817475, 0.1415511072, 0.16610156, 0.1340975612, 0.8350509405, -0.0136744678, -0.1017867178, 0.8774210811, 0.291605413, -0.2171741426, 0.7026355863, -0.3684487343, -0.6314818263, 0.804128468, 0.4399939775, 0.938473165, -0.5495690107, -0.0174698625, 0.4263318181, 0.3797873557, -0.1743881255, 0.4244704545, 0.1300076097, -0.7696151733, -0.3707386851, -0.4293430448, -0.5357682109, 0.1579838991, -0.573476553, 0.2076379061, -0.4302298725, -0.1106724814, -0.4230016768, 0.115497753, -0.481475383, 0.1880692393, 0.13271074, 1.1177374125, -0.6446331739, 0.647577107, 0.4805174172, 0.5026456714, -0.9912916422, 0.1642593294, 0.0964051411, -1.0630230904, 0.5503707528, 0.1742789298, -0.4407942593, 0.0482046753, -0.5100622773, -0.8744835854, 1.0735892057, 0.4602108896, -0.6874595284, 0.0007049768, -0.1674982458, 0.3903983235, -0.0635022074, 0.2344423831, 0.5107625127, 0.267160356, 0.1445608586, -0.5408167243, 0.3575112224, -0.3718669713, 0.0331648067, 0.3403621018, -0.7123664021, 0.877443552, -0.3152409196, -0.4077829421, 0.0145073347, 0.6397206783, 0.699096024, 0.0848609731, 0.808195889, 0.5840892792, 0.8754110336, -0.3084799945, 1.0258580446, -0.5466861129, 0.1213304177, 0.8025952578, -0.4728520811, 0.3895328641, 0.3848153353, 0.001775233, 0.0521966778, 0.8208256364, -0.03561984, 0.5194154978, 0.4852437377, -0.3550208807, -0.1383415461, -0.1129473671, -0.3736336827, 0.3512313068, 0.4049371183, -0.2177508622, -0.1747161299, -0.1586722434, 0.3118064702, -0.2122546732, -0.2926430106, 0.4731392562, -0.0675369278, -0.9382568002, 0.7864502072, 0.0921833888, 0.627771318, -0.5785500407, 0.1230448112, -0.3602100611, 0.1748127043, 0.3024632335, -0.5224640965, -0.3128719032, -0.1962935627, 0.2647351623, -0.0971989557, 0.7175313234, -0.330420047, -0.2528117895, 0.5759952068, 0.4970022142, -0.1629074961, -0.1385261118, -0.494348824, 0.0144851366, -0.161371842, -0.7206317782, 0.168066889, 0.3110627532, 0.0183603261, 0.929607451, 0.8807285428, 0.4547258914, 0.3449470103, -0.0772509277, 1.3365844488, -0.5773830414, -0.6997321248, -0.9650784135, 0.3421151638, -0.0272575095, -0.3331705034, 0.7750694156, 0.3799623847, 0.7490518093, 0.1954985112, 0.5492272973, 0.1128035486, 0.6184325218, -0.842400372, 0.7464635372, -0.3633041978, 0.4054026902, -0.1447864622, -0.7835081816, -0.3298073709, 0.3010036051, -0.2997450233, 0.2012916505, 0.6072050929, 1.1691731215, 0.1547866762, -0.2695872784, 0.1207993552, 0.0881074816, 0.6633216143, 0.6930602789, 0.875895083, -0.2977227569, 0.5488213897, -0.2186774611, -0.2713389993, -0.2482490838, -0.999158144, -1.1294697523, -0.2392110229, -0.0761475191, -0.5943183303, 0.1145468876, 0.7703562379, 0.7718489766, -0.4785378873, -0.0374915153, -0.0764401928, -0.1569992304, -0.0354050733, -0.2012391388, 0.4073542655, -0.3491394222, -1.052467823, 0.7097797394, -0.0015666079, 0.0700321645, -0.1781644374, -0.0883419886, -0.154365018, 0.0392452702, -0.0284884069, 0.3256722689, -0.3036218286, 0.0336367227, 0.2247314602, -0.266646266, -0.0608939268, 0.9302591681, -0.8635140657, 0.4897083938, 0.6215523481, 0.9142787457, 0.4747257233, 0.42905882, 0.7285342813, -0.6897291541, 0.4170945883, 0.4090816081, 0.3659283817, 0.1285380274, -0.7152282596, 0.3478782475, 0.2585349083, -0.7161001563, -0.8233041763, 0.3522876799, -0.9940707684, 0.0314622931, 1.4353111982, -0.2802185118, -0.2632748783, 0.1499637216, -0.2908525765, 0.4359052181, -0.7471493483, 0.9219244123, 0.3246898651, -0.0392850153, 0.0086494945, -0.2835554779, 0.7863529921, 0.6699222326, -0.7453160882, 0.0574128479, 0.5138192773, 0.0570579804, -0.0829495713, 0.6892957091, -0.0000999486, 0.4178283215, 0.0468619689, -0.1888186485, -0.3519073725, -0.3691202998, -0.5237835646, 0.2020388246, -0.074644953, -0.4965571761 ]
http://arxiv.org/abs/2403.04782v1
http://arxiv.org/pdf/2403.04782v1
A Survey on Temporal Knowledge Graph: Representation Learning and Applications
2024-03-02T16:21:45
2024-03-02T16:21:45
Li Cai, Xin Mao, Yuhao Zhou, Zhaoguang Long, Changxu Wu, Man Lan
cs.CL
cs.CL, cs.AI
Knowledge graphs have garnered significant research attention and are widely used to enhance downstream applications. However, most current studies mainly focus on static knowledge graphs, whose facts do not change with time, and disregard their dynamic evolution over time. As a result, temporal knowledge graphs have attracted more attention because a large amount of structured knowledge exists only within a specific period. Knowledge graph representation learning aims to learn low-dimensional vector embeddings for entities and relations in a knowledge graph. The representation learning of temporal knowledge graphs incorporates time information into the standard knowledge graph framework and can model the dynamics of entities and relations over time. In this paper, we conduct a comprehensive survey of temporal knowledge graph representation learning and its applications. We begin with an introduction to the definitions, datasets, and evaluation metrics for temporal knowledge graph representation learning. Next, we propose a taxonomy based on the core technologies of temporal knowledge graph representation learning methods, and provide an in-depth analysis of different methods in each category. Finally, we present various downstream applications related to the temporal knowledge graphs. In the end, we conclude the paper and have an outlook on the future research directions in this area.
[ -0.2892843783, -0.5736982226, 0.7104626298, 0.0772053972, -0.2157750279, 0.7178248167, 0.1745540053, -0.5760418773, 0.2700806856, 0.0662190095, -0.4458593428, -0.7021540403, -0.5431962609, -0.266758889, -0.1998223513, 0.364541769, -0.2297509313, -0.086666517, -0.2207853049, -0.3154678941, -0.5000982881, -0.5161601901, -0.7487344146, -0.7647222281, 0.812256515, 0.0235207677, 0.0309648197, 0.6735039353, -0.1784444898, 0.278110832, 0.0174308475, 0.1082903668, -0.3156641126, 0.2265316099, -0.1354568899, -0.1597077399, -0.2160764337, 0.0763921812, 0.9091725349, 1.154543519, -0.061327856, 0.3175480664, 0.0129614361, 0.3860791028, -0.6669309139, 0.8587653637, -0.232877478, 0.4102593362, -0.5042897463, -0.4228631258, -0.3661408424, -0.6870009303, 0.1661282778, -0.5465378165, -0.1091565266, 0.2902987897, 0.4807417989, 0.0417627878, -1.1616885662, -0.0856167227, -0.828612268, 0.7054209709, -0.292021513, 0.7248022556, -0.1900903434, 0.9414878488, 0.0599717945, -1.0530200005, -0.2454340756, -0.0266618542, 0.0048304275, 0.2485701889, -0.2484986037, -0.0991823599, 0.203517139, 0.1258357167, -0.542996645, 0.1595089734, -0.0020965037, -0.2064265162, 0.2122320384, 0.5238860846, 0.0363527872, -0.0192255471, -0.5240571499, -0.0336324349, -0.46079579, 0.0978102982, 0.2301066369, -0.1059696674, 0.0610562228, 0.5333423018, -0.2711216509, 0.8564122915, -0.2525850534, -0.0325447731, 0.2109268904, 0.0077966126, 0.0001669177, 0.0290717781, 0.5291428566, 0.351736486, 0.1068254858, -0.5666666627, 0.076249063, -0.1667850763, 0.0068697846, -0.5654556155, -0.0346459225, -0.0558037683, -0.5997685194, -0.1860489696, -0.1394168735, -0.5824224353, -0.3652391434, -0.3605363965, -0.0583349802, -0.5569210649, -0.3639770746, -0.2089639753, -0.4441598356, 0.1634157002, 0.3136758506, -0.5503077507, 0.377730161, 0.485781163, 0.7638955116, -0.0625421032, -0.1552384496, -0.0688851029, 0.639842093, -0.3225369453, 0.6471159458, -0.5117794275, -0.4440273046, 0.0037681863, -0.0431761146, -0.2430401444, -0.3522843719, -0.0619805865, -1.1649308205, -0.162870422, -0.2385441512, -0.8357852697, -0.5485393405, 0.3455738723, -0.6050719023, 0.6373704076, 0.3610611856, -0.758272469, 0.6534218788, -0.5724023581, -0.2689037025, 0.1306428313, -0.1663839668, -0.1717159599, -0.2582545578, 0.0514989085, 0.5753576756, 0.0283775758, -0.0725097582, -0.3024553359, -0.0932641402, 0.0808724165, 0.0925195292, 0.6737489104, 0.4067721367, -0.0458424613, -0.1634743959, -0.3924063146, -0.1255704015, 0.364989996, -0.1607065946, -0.4107678235, 0.2776422203, -0.3080916703, -0.0022423575, 0.3078499734, -0.5425630808, 0.3867966831, 0.1122358069, 0.7218290567, 0.6345412135, 0.7372691035, 0.4859902859, -0.0660660639, 0.4615158439, 0.4490740597, 0.181574136, 0.2322880179, -0.3422408104, -0.2182679474, 0.4100230038, 0.6719250083, 0.3830017447, -1.0005733967, 0.0590412356, -0.6605079174, -0.6751961112, 0.4289847612, -0.12800695, -0.0965356007, 0.7119930983, 0.2974149287, -0.1313960999, -0.5774691105, -0.4732309878, -0.1819029748, -0.6257770658, 0.1838586032, 0.4585011601, 0.3379625082, -0.3113604784, 1.1254640818, -0.8021790981, -0.07833042, -0.0925191417, 0.4081724286, -0.0456945188, 0.0652895793, 1.0352120399, -0.66144979, -0.0688800067, -0.0059634726, -0.7374140024, 0.3231412768, 0.0738814399, -0.0872785524, 0.1030766591, 0.5380717516, -0.1597926021, 0.1432302147, 0.3392809033, -0.2435339838, 0.2053868473, 0.1459957063, 0.0323336348, -0.7701382637, -0.0414757915, -0.0081625776, -0.5535619259, -0.0591584146, -0.3620282412, -0.0098326774, -0.408637315, -0.3286799788, 0.6670560837, -0.3844368756, -0.0746191218, 0.2740775645, 0.1913499236, -0.3266755939, 0.4572789371, 0.1087838635, 0.1539733261, 0.3422445357, -0.8253338933, 0.5031477213, -0.00698234, -0.226401493, 0.0991098061, -0.413677007, 0.0806097761, -0.0959699675, 0.0857190043, -0.5427453518, -0.084615007, 0.4111713171, -0.5034627318, 0.5559301376, -0.5714046955, -0.5044481754, -0.4055471122, 0.0907457769, 0.2837439477, 0.5065441132, -0.3736694157, 0.6886652708, 0.6277766228, 0.2764582038, -0.5195912719, -0.4566294253, -0.3203501403, -0.0125833517, -0.3362522423, 0.3243050575, 0.6001489162, -0.1424193084, 0.5970443487, -0.4679602385, 0.1484909356, -0.1240013838, 0.0352761373, -0.1427515596, -0.1255449057, 0.4882026017, -0.0427092053, -0.2609861493, 0.0551659353, -0.7448629737, 0.5072814226, 0.1532407999, -0.464915216, 0.308956027, 0.0212636814, 0.2490580678, -0.1093774959, 0.8909657001, 0.7465897202, -0.4818765223, -0.0114854369, -0.1696321666, 0.1396180838, -0.386688143, 0.2449522167, 0.1009404734, -0.8038038611, 0.499253422, -0.6495907903, 0.1082994267, 0.6203375459, 0.205900833, -0.2548802793, 0.7656134367, 0.5567525029, -0.2125486284, 0.898330152, -0.7394407392, 0.1145986691, -0.6932063103, -0.6125515699, -0.3979272544, -0.4614048302, -0.6311974525, -0.0777008682, 0.4255336225, 0.1621295363, -0.6493211389, 0.0759585574, -0.2290839404, -0.0146960942, 0.1391509324, 0.1415423602, 0.1912108511, 0.039338965, -0.2067465931, 0.0127882725, -0.679476738, -0.3072397411, 0.766348958, 0.3456375003, 0.6411297917, 0.0471822396, 0.7397839427, 0.6213538647, 0.0316371061, -0.8172588944, 0.4281252325, -0.1122890338, -0.2777087986, -0.3289866745, -0.8952174783, -0.8648873568, -0.4658249617, 0.0788209066, -0.6092668176, 0.4547475874, 0.0368416607, 0.0212227236, 0.6932398677, -0.8994583488, 0.7807064652, -0.2322771549, 0.0152393244, -0.2194275856, -0.4357051253, -0.0120886629, 0.4161827564, -0.0357630514, -0.0738441795, -0.1189321652, 1.0490925312, -0.3655432761, 0.9208269715, -0.8201247454, 0.4094022214, 0.5363673568, -0.0561949089, 0.3394906819, 0.2103054672, 0.1971892715, 0.2183736712, 0.213716194, -0.436696887, -0.8147649765, 0.3127565384, -0.7686396837, -0.3190806508, -0.6562502384, -0.1383595318, -0.4510128498, 0.3205504417, -0.0819676518, 0.5507092476, -0.1488060951, -0.0039747055, 0.5221921802, 0.0652719885, 0.4417724609, 0.1635610759, -0.4129907191, -0.2290103734, 0.9974012375, 0.5414101481, -0.1138383001, 0.7409746051, 0.0908493847, -0.5199938416, -0.6049259305, -0.0353080556, 0.1594729424, -0.7993168831, -0.1845971197, -0.7714859843, -0.2530907094, -0.5184803009, 0.2817222476, 0.0804585218, -0.8348743916, -0.2217032909, -0.0531418063, 0.7376561761, 0.9866629243, 0.056977395, 0.1767376065, -0.7495678067, 0.184629783, 0.6667636037, 0.4507100582, 0.4955073893, 0.28544572, -0.3627774119, -0.1030148938, -0.5326298475, -0.935041368, -0.0769619197, 0.1201436371, 0.9267876148, 0.4700675011, 0.0456597134, 0.5578063726, -0.1820324659, 0.8460445404, -0.0530868396, -0.6346449256, 0.3621119857, -0.3200740516, 0.0264034588, -0.0391732305, 0.6760363579, -0.881200552, 0.1307746768, -0.4794830978, -0.7582272291, 0.2368154079, -0.0930867642, -0.0865949839, 0.2169839442, 0.5678283572, -0.1944403052, 0.1884846687, -0.0467702113, -0.3850288093, -0.5462192297, -0.0101190908, 0.0497028343, -0.0887889937, 0.096821636, -0.113441743, 0.4462973177, -0.2372803092, 0.7730923891, -0.1535051912, -0.1275102496, 0.2220547646, 0.3088081181, 0.0444841385, 0.7664823532, -0.231959179, -0.0247394871, 0.1255208701, -0.6197385192, 0.1343258023, 0.1180230752, -0.0363217033, 0.0686332807, 0.6322729588, 0.5276893973, 0.119778499, 0.0277323164, 0.2880648375, 0.0471123494, 0.1862153411, -0.5810147524, -0.0643317327, 0.4236438572, 0.4308371544, 0.5383442044, 0.1320059001, -0.0528726988, -0.802593708, -0.186724782, 0.0907670334, -0.6272107363, -0.1180288196, 0.6084570885, -0.0922723487, 0.2418391705, 0.7682696581, -0.5039294958, -0.5221554041, 0.4824794233, 0.2123814672, 0.5220082402, 0.0903853253, 0.171971485, 0.214776814, -0.1191150546, 0.4453883767, 0.4156754315, -0.2873286605, -0.6503328085, -0.2292845249, -0.4411963522, -0.5168210268, -0.3484883606, -0.4379261732, 0.1419774294, -0.5114912391, -0.6430644989, -0.1452604085, 0.3338272572, -0.8907157183, -0.1186136827, -0.0677446425, 1.2178673744, -0.7823858261, 0.6536566019, 1.0639797449, -0.4664307535, -0.5810511112, -0.1386219263, 0.0166019257, -0.5990882516, 0.9311212897, -0.4194518328, -0.1437778771, 0.1289589852, -0.5701088309, -0.518263936, 1.5137133598, 0.2589492202, -0.2777463794, -0.4292122424, 0.0303352755, 0.3985340595, -0.504234612, -0.0159492623, 0.3899359107, 0.3334343135, 0.152843222, -0.1884601712, -0.0738907456, -0.2237774283, 0.2875309885, 0.1651147604, -0.712449491, 0.5599597096, 0.1179772466, -0.5166700482, -0.3073673546, 0.8468328714, 0.1517784297, 0.4195864797, 0.4767486453, 0.3238844275, 0.6482220888, -0.5961624384, 0.8930422664, -0.1979246885, 0.2695586681, 0.7614132166, -0.19719477, 0.2544407845, 0.2256600559, -0.3530998528, 0.8715466857, 1.0434721708, 0.0784473047, 0.6390473247, 0.06583637, -0.0708198324, -0.2648239136, -0.3181294203, -0.5581945181, 0.0089442153, 0.7089321613, -0.2496693581, -0.543047905, 0.0125292744, -0.2539509833, -0.3833591044, -0.5040943027, 0.6910119057, 0.1214087903, 0.0887061879, -0.0422140248, -0.1442306042, 0.0266800113, -0.6969317198, -0.4544749558, 0.0921923593, -0.1152562872, -0.3139364421, -0.9935099483, 0.24323228, -0.5118089318, -0.0870585367, -0.473064661, 0.8243759274, 0.1785303801, -0.0295895915, 0.6122299433, 0.5216619968, -0.1125852689, 0.2835087776, -0.3533194959, -0.2773824036, -0.5034938455, -0.1528500468, -0.165317446, 0.6763589978, -0.2281815857, 0.7049046159, 0.0482859984, 0.2679943442, 0.3800337315, 0.2041465789, 0.9210748672, -0.7518036366, -0.427130878, -0.3530213833, 0.3444724977, -0.0610623397, -0.02285612, 0.6103231907, 0.5385254622, 0.8613449931, 0.0671060905, 0.8212332726, -0.374394536, 0.5741304159, -0.8956292868, 0.7714596987, -0.313167572, -0.0457462519, -0.0473950654, -0.8298522234, -0.1026181057, -0.1852850914, -0.6646518707, 0.286467582, 0.5708189011, -0.0446392298, -0.0496565998, 0.2121602446, 0.0197814126, 0.0658232644, 0.1798676848, 0.4736123979, 1.1210825443, -0.2353330851, 0.4604914188, -0.4098985493, -0.0649371371, -0.2543881238, -0.8845670223, -0.7081556916, -0.9380354285, -0.3013711274, -0.2081679851, -0.0218224786, 0.7195126414, 0.7146459222, -0.560479641, -0.026804911, 0.2992735505, 0.4455460906, -0.6207126379, -0.2082161605, 0.546646297, -0.2862546742, -0.3028825521, 0.1383740902, 0.0237781517, 0.2956722975, -0.258076638, 0.1575869918, -0.0258022361, -0.6747801304, 0.6500124931, 0.6010098457, 0.0926771015, -0.4989753366, 0.2928122878, 0.2811796963, 0.0084723718, 1.3859387636, -0.8919232488, 0.3410684168, 0.9371628165, 0.3686480224, 1.0684796572, -0.3322915733, 0.3183421791, -0.9007515311, -0.039975293, 0.2845058143, 0.6999027729, 0.1361992657, -0.3168782294, 0.5571613908, 0.5603387356, -0.335834831, -0.2284040004, 0.4244255126, -0.9968384504, -0.0826868042, 0.5534044504, -0.0828993395, -0.4539064169, -0.5776276588, 0.4845510423, 0.9315688014, -0.4667662382, 0.4962570369, 0.5292794108, -0.5188439488, -0.1530719846, -0.4980721176, 0.099638015, -0.6106424928, -0.4563156366, -0.1766299009, 0.1664336771, 0.3012528718, 0.3903412223, 0.4964977503, -0.5336894393, -0.116254963, 0.0045167292, -0.2094736248, -0.388618201, -0.191501826, 0.03381446, 0.1958921105, 0.1779126376, -0.2278323323 ]
http://arxiv.org/abs/2403.01248v1
http://arxiv.org/pdf/2403.01248v1
SceneCraft: An LLM Agent for Synthesizing 3D Scene as Blender Code
2024-03-02T16:16:26
2024-03-02T16:16:26
Ziniu Hu, Ahmet Iscen, Aashi Jain, Thomas Kipf, Yisong Yue, David A. Ross, Cordelia Schmid, Alireza Fathi
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
This paper introduces SceneCraft, a Large Language Model (LLM) Agent converting text descriptions into Blender-executable Python scripts which render complex scenes with up to a hundred 3D assets. This process requires complex spatial planning and arrangement. We tackle these challenges through a combination of advanced abstraction, strategic planning, and library learning. SceneCraft first models a scene graph as a blueprint, detailing the spatial relationships among assets in the scene. SceneCraft then writes Python scripts based on this graph, translating relationships into numerical constraints for asset layout. Next, SceneCraft leverages the perceptual strengths of vision-language foundation models like GPT-V to analyze rendered images and iteratively refine the scene. On top of this process, SceneCraft features a library learning mechanism that compiles common script functions into a reusable library, facilitating continuous self-improvement without expensive LLM parameter tuning. Our evaluation demonstrates that SceneCraft surpasses existing LLM-based agents in rendering complex scenes, as shown by its adherence to constraints and favorable human assessments. We also showcase the broader application potential of SceneCraft by reconstructing detailed 3D scenes from the Sintel movie and guiding a video generative model with generated scenes as intermediary control signal.
[ -0.3421560824, -0.7587999701, 0.642555654, 0.3749980032, 0.1759516001, 0.2185244262, 0.3160553575, -0.2834944427, -0.111164771, 0.740701735, -0.5695977211, -0.6124377847, -0.0390687361, 0.0617435351, -0.532404542, 0.4048114717, 0.0078736618, -0.1064569652, -0.3521162271, 0.2319682389, -0.1705907434, -0.3569723666, -0.6517124772, -0.3794284165, 0.3339272439, 0.1276803911, 0.6848093271, 0.8532478213, 0.2911763191, 0.5212424994, 0.1022090316, 0.2203253359, -0.4611980021, 0.0904100388, -0.4064545333, -0.0757540166, -0.5540581942, -0.1120416299, 0.4194456935, 0.5264921188, 0.0270319618, 0.2724191248, 0.0031392148, 0.6550738811, -0.4208783805, 0.3826562464, -0.3558180332, 0.3555459976, 0.2302211076, -0.3633041382, -0.1193416044, -0.0335872956, 0.285536617, -0.9385986328, 0.6247150302, 0.2893211246, 0.5099033713, 0.3190994859, -0.0453838445, 0.1499566883, -0.6584918499, 0.6807486415, -0.4561243951, 0.0235679727, -0.0178972185, 0.5903633833, -0.44879511, -0.8686263561, -0.4056418836, -0.1013763323, 0.1864690036, 0.1941016018, 0.0223255605, 0.2256289274, 0.3833286762, 0.4825784862, -0.4109817743, -0.1563145667, -0.4723457396, -0.4809331894, 0.5570011139, 0.5190487504, 0.6665552258, -0.2524433732, -0.6321559548, -0.3342415988, -0.6460267901, -0.0362782143, 0.4140950143, 0.1022365987, 0.0905493572, 0.7762677073, -0.2831601799, 0.6424459219, -0.2081064582, -0.2181891203, 0.0250800159, -0.0165051967, -0.3744091392, 0.25422135, 0.5660421848, 0.7732704282, 0.0100726262, 0.1768895239, -0.3134297132, -0.2273743898, 0.540615201, -0.8853911757, -0.4461446106, 0.460949868, -0.2793479562, -0.5149998069, -0.1666613668, -0.564386189, -0.6449300051, -0.4382839501, 0.2743856609, -0.3403907418, -0.2549637854, -0.0303325336, -0.3573426306, 0.3762722909, 0.7600626945, -0.4777915478, 0.1417285204, 0.5106425881, 0.7725787759, -0.2338380516, -0.5948060751, -0.3440415859, 0.4580723345, -0.6068184376, 0.9947783947, -0.1928082705, -0.5133932829, 0.0462212525, -0.0367991589, 0.4844407737, -0.6921884418, -0.2218838632, -0.2887786627, -0.0847587287, 0.0793245807, -0.1913051158, -0.2502551675, 0.7361217141, -1.0650421381, 0.7216531634, 0.3657670915, -0.4836995602, 0.0308353603, -0.3544670045, -0.1396017075, 0.0498018749, -0.1684229821, -0.0997316539, 0.1713225543, 0.3179405332, 0.3378590047, -0.2577890754, 0.2472848296, -0.1708811671, -0.2177913189, 0.3876705766, -0.4159339368, 0.1766720712, 0.5334794521, 0.1139728874, 0.2786343396, -0.8561519384, 0.0157952979, -0.0145177403, -0.4330445826, 0.1893919855, 0.0367378518, 0.2203043401, 0.249759227, 0.381734699, -0.3723876178, -0.0786597133, -0.6346575022, 0.1629256755, 0.7065660357, -0.0805512369, 0.6247265935, -0.4141219854, 0.6037627459, -0.0204939265, -0.1121147498, -0.6303757429, -0.2575850785, -0.4991059601, -0.1522557139, -0.4917180538, 0.5076165795, -0.9848672748, -0.1779849082, -0.0006338536, -0.2396724671, -0.0789524242, 0.0846024454, 0.3816672564, 0.2774526179, 0.16640535, -0.1925175339, -0.6420716047, -0.9166895747, -0.1898370683, -0.0853856504, -0.2072202861, 0.0530125685, -0.0622491911, -0.1884861588, 0.9895244241, -0.4487557411, -0.2875593305, -0.7212437987, -0.2290636599, 0.3746972084, 0.5355642438, 0.3026718497, -0.4300090969, -0.2822035551, 0.3348991871, -0.856813848, -0.1436034888, 0.0035184838, -0.1723249555, 0.0278060213, 0.8381465077, -0.2988910377, 0.4721386731, 0.5759234428, -0.197980389, 0.6252864599, -0.4738216996, 0.1233296394, -1.0398625135, -0.2064322829, 0.0150253056, -0.3821943998, -0.5508736968, 0.113298811, -0.4974028766, -0.7098587751, -0.9409193993, 0.8277484775, -0.3906196654, -0.27083987, -0.3241592944, -0.0300550144, 0.1559633166, 0.7250956297, 0.1862700731, 0.6319932938, 0.6047692299, -0.5791546106, 0.7285218835, 0.0300082248, -0.4995471835, 0.5433599949, -0.6148162484, -0.0994696543, -0.1127126738, 0.1559233218, -1.0316035748, -0.634935379, 0.1728422344, 0.0955185741, 0.012618538, -0.3496460021, -0.5035978556, -0.0893177688, -0.1302609146, 0.5335697532, 0.3514897823, -0.5231922269, 1.0597336292, 0.4813604355, -0.0833641812, -0.2776077688, -0.6103204489, -0.0383251123, -0.0743156746, -0.4741372466, 0.3116119206, -0.0483056232, -0.3449931443, 0.0325626023, -0.310965836, -0.2677591145, -0.3456872106, 0.5511040688, 0.2139638662, 0.0372161269, -0.4614354968, 0.0002311129, -0.2743739784, 0.2473089099, -0.3664868176, 0.5170333385, -0.1715904474, -0.4413411915, -0.1965807527, 0.0620614365, 0.6674654484, 0.232738778, -0.0786570236, 0.5638022423, -0.093601577, -0.6313815713, -0.4676015377, 0.2850637436, -0.5601451397, 0.5886875987, -0.6345408559, -0.743765533, 0.5838498473, -0.6124147773, 0.178065747, 0.2851283252, 0.4164854586, -0.0874605253, 0.8563668132, 0.3678839505, 0.3058118522, 0.5469652414, -0.5901479125, -0.0240463521, -0.8092671633, -0.2550330162, 0.1022851467, -0.3477823436, -0.3072803915, -0.8494509459, 0.498041302, -0.241268903, -0.4088585377, 0.2547589839, -0.5780786872, 1.0292583704, 0.3019581735, 0.1227024272, 0.1848304123, 0.3693749607, -0.0947305784, 0.2172420919, -0.5518119335, -0.5327893496, 0.7065010071, 0.3094342649, 1.009578228, -0.0923550874, 0.6233274937, 0.3928695619, 0.0109324651, -0.5303375721, 0.8490391374, 0.0698422194, -0.477594763, -0.332883507, -0.1074326858, -0.7320484519, 0.5044746399, -0.0127474926, -0.5355878472, -0.0065747141, 0.2137693316, -0.3160627782, 0.436340481, -0.4802175462, 0.9777234793, -0.1360719502, -0.64934057, -0.2992485166, -0.1639552116, 0.3090788126, 0.094963707, 0.2029211372, -0.369383812, 0.1249964908, 0.0838565007, -0.5339337587, 0.9763870835, 0.0379601307, -0.2529797852, 0.649123013, 0.8496459126, 0.3271466494, 0.1691411734, 0.0536130071, 0.125170067, 0.3449027538, -0.2923954725, -0.4930703938, 0.8154709339, -0.9572060108, -0.8300754428, -0.4447924793, -0.7569428682, 0.1904889792, 0.2342951447, 0.0733051524, 0.8105354309, -0.8441279531, -0.2054103017, 0.5916155577, -0.8969278932, 0.3833303452, 0.1439439207, -0.8734038472, -0.559173286, 1.0904755592, -0.319162637, 0.2306387424, 0.5220322609, -0.0417588837, 0.0263963863, -0.3496796489, -0.5987148881, -0.2188092768, -0.856089592, -0.2488579303, -0.3307293952, -0.6334733963, 0.0806871802, -0.6569448709, -0.6399466395, -0.2753685117, -0.1612374783, -0.1182207689, 0.0917490348, 0.9609419703, 0.0991964415, 0.2365624309, -0.6022917032, 0.4858129025, 0.5180323124, 0.2496497184, -0.0784561187, -0.1422755271, -0.2136059254, -0.2360588163, -0.2086281627, -0.2430146486, 0.7094778419, -0.0848212689, 0.4384878278, 0.137729466, -0.277649492, 0.8229256868, -0.5995193124, 0.9508212805, 0.2531460524, -0.666539073, 0.4466308355, -0.4048514068, 0.6669449806, 0.1888106018, -0.411536783, -0.2044260353, -0.5951539278, -0.5446560979, -0.8686316013, 0.8941533566, 0.147457853, 0.2823052406, -0.0012909948, 0.0690311342, -0.1716891974, 0.1021916196, -0.5172644258, 0.0953031927, -0.5995500088, 0.0081349984, 0.1236543059, -0.2574701011, -0.1993398517, -0.0956288278, 0.2553881407, -0.1539404094, 0.2027180195, 0.4354815483, -0.1829420477, 0.027906362, -0.0040683928, 0.2686442733, 0.6393179297, -0.1195325926, 0.2222276628, 0.1866644919, -0.2984905243, 0.1455310434, -0.1440373808, 0.0495952033, -0.143047139, 0.430606246, 0.5578213334, 0.3343436718, -0.8466245532, 0.4396907985, 0.1115602925, -0.3798284233, -0.664440155, 0.302634716, 0.0403546654, 0.4972674549, -0.0033690094, 0.1842384189, 0.2565796375, -0.4706258178, 0.0211929604, 0.1750288308, -0.2994401753, -0.2815730572, 0.8468921781, 0.2935091555, -0.1616162509, 0.707573235, -0.0486890078, -0.2096869648, 0.9008572102, 0.6629223228, 1.047109127, -0.0469344705, 0.3927244246, 0.5165175796, 0.1049009264, -0.1749701649, 0.0804474279, -0.0219157692, -0.7684531212, -0.4453007579, -1.0199841261, -0.2930270433, -0.1605156362, -0.0667708814, 0.139108479, -1.0421098471, 0.1468762159, -0.4274871945, -0.2974147797, -0.7584130764, 0.0329954922, 0.1819026768, 0.8695867062, -0.3894656897, 0.8074900508, 0.8231790066, -0.4774671197, -0.7314178944, -0.4015775025, 0.2290674448, -0.7836505771, 0.7473273277, 0.2134370059, -0.3509773612, 0.1572422683, -0.5845041871, -0.9121396542, 1.1996362209, 0.3270880282, -0.4683955312, -0.0182329807, 0.3696526289, 0.5521321297, -0.6252064705, -0.0119680399, 0.3418918252, 0.216572836, 0.7009162903, -0.425855726, -0.0591191351, -0.4182458222, 0.5597937703, -0.2121991366, -0.2752961218, 0.6547386646, -0.1657694727, -0.2911926508, 0.2813462019, 0.5649394989, 0.4676690698, 0.3544669151, 0.3184992075, 0.5688388348, 0.0999514982, 0.0426887497, 1.0856766701, -0.2683495283, -0.1697435677, 0.9901340008, -0.2567310929, 0.3704285026, 0.2309323251, -0.0705960169, 0.4958418012, 0.4850146472, -0.0342094451, 0.5396485925, 0.3041342795, -0.3303287923, -0.214901194, 0.0863208249, 0.1040523127, 0.1788149178, 0.3728920519, -0.1486972868, -0.3679907918, -0.0360606201, -0.3065054417, 0.0433935523, -0.5404332876, 0.9323814511, 0.1403262913, -0.4970172346, 0.2100599855, -0.160550639, -0.0765476674, -0.4557318091, -0.4029214382, -0.3542532027, 0.3074715137, -0.3203097582, -0.9137570858, 0.2495592237, -0.2796697617, -0.0996253192, -0.4721110463, 0.6157001853, -0.5158728957, -0.4641234279, -0.1100177318, 0.3921744823, 0.3804988563, -0.2088800073, -0.7104275823, 0.2740935385, 0.0203776229, -0.2195343822, 0.4046849012, 0.7662429214, -0.0733917654, 0.7696803808, 0.8543944955, 0.1509122849, -0.0951080471, 0.2092052251, 0.9543955922, -0.7021138072, -0.4146784246, -0.6750015616, 0.6627835631, -0.0275650956, 0.1538005173, 0.6237181425, 0.7108995914, 0.9476554394, -0.4178741276, 0.8105965853, 0.0553749613, -0.1672496349, -0.5598510504, 0.4701666832, -0.3305125535, 0.55532974, -0.3160024285, -1.438985467, -0.4638431668, 0.6460987926, 0.0403054021, -0.410390377, 0.5901836753, 1.0337055922, -0.2399332374, -0.4792732298, 0.6891239882, -0.1116539091, 0.5347182155, 0.3751729131, 1.1828751564, -0.1063945666, 0.6378054619, -0.1463310122, 0.0004510096, 0.0707516745, -0.8704490662, -1.0106281042, -0.3565734625, -0.3157826066, -0.3888156414, -0.2490356565, 0.805549562, 0.5934574008, -0.5237261057, -0.6891830564, -0.2581950426, 0.2769000828, -0.3275311291, -0.2187891901, 0.1484371275, -0.4136776328, -0.8947784305, 0.5047039986, 0.7486594915, 0.1295249164, -0.7528817058, -0.1491069645, 0.3229849637, 0.0075068446, 0.8299288154, 0.3138412237, -0.7340887785, 0.0677417815, -0.3644270897, -0.1311535835, -0.0898555964, 0.7942297459, -0.7963892817, 0.8323737383, 0.7035766244, 0.3842394054, 0.6504431963, 0.1843705624, 1.0543738604, -0.7062917948, 0.4470134676, -0.2449979633, 0.3619925082, 0.2898293138, -0.2103110552, 0.505961597, -0.0666496083, -0.4621352553, -0.4568176866, 0.4263557494, -1.0525711775, -0.464614749, 1.0269514322, 0.0458737686, -0.7673376799, 0.0153517863, -0.6413865089, -0.154171288, -0.2577035129, 0.5310122967, 0.4037578106, 0.047559008, -0.3124589622, -0.5313788652, 0.6297417879, -0.4918875694, -0.5627124906, 0.1002499908, 0.9682113528, 0.3081000745, 0.2096747756, 0.646649003, -0.3396844268, 0.12629278, 0.257797569, 0.3750389516, -0.4385017157, -0.4449302256, 0.0113911349, 0.2767010927, 0.036532402, 0.0941521972 ]
http://arxiv.org/abs/2403.01244v2
http://arxiv.org/pdf/2403.01244v2
Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal
2024-03-02T16:11:23
2024-05-25T12:17:29
Jianheng Huang, Leyang Cui, Ante Wang, Chengyi Yang, Xinting Liao, Linfeng Song, Junfeng Yao, Jinsong Su
cs.CL
cs.CL, cs.AI
Large language models (LLMs) suffer from catastrophic forgetting during continual learning. Conventional rehearsal-based methods rely on previous training data to retain the model's ability, which may not be feasible in real-world applications. When conducting continual learning based on a publicly-released LLM checkpoint, the availability of the original training data may be non-existent. To address this challenge, we propose a framework called Self-Synthesized Rehearsal (SSR) that uses the LLM to generate synthetic instances for rehearsal. Concretely, we first employ the base LLM for in-context learning to generate synthetic instances. Subsequently, we utilize the latest LLM to refine the instance outputs based on the synthetic inputs, preserving its acquired ability. Finally, we select diverse high-quality synthetic instances for rehearsal in future stages. Experimental results demonstrate that SSR achieves superior or comparable performance compared to conventional rehearsal-based approaches while being more data-efficient. Besides, SSR effectively preserves the generalization capabilities of LLMs in general domains.
[ -0.1475477517, -0.5527234674, 0.4573614597, 0.5332430601, -0.1068386063, 0.3632073998, -0.3844085038, 0.0140214618, 0.2105739713, 0.713391602, -0.7708083987, -0.3395288289, 0.0612255968, 0.0647483468, -0.4405007064, 0.8684632182, -0.1061488092, 0.0654730499, -0.275051713, -0.0786683038, -0.5739792585, -0.6013228297, -0.853333354, -0.4636366367, 0.3983197212, 0.5876398087, -0.0578857958, 0.4439827502, -0.0688451454, 0.2974744439, 0.1732176393, 0.1580434442, -0.995701313, 0.4885034561, -0.3122632504, -0.2299859375, -0.3514381349, -0.0494404286, 1.282164216, 0.5302882195, -0.4456923604, 0.0589504205, 0.1682298928, 0.8478492498, -0.6076231599, 0.0716601834, -1.1727932692, 0.3035750091, -0.0431586504, -0.1887747049, -0.6415454745, -0.0350803807, -0.1971773356, -0.4545046389, 0.4152889848, -0.1746133417, 0.2632418871, 0.0782567188, 0.0242295153, 0.0737122148, -0.9524491429, 0.8215005994, -0.6330431104, 0.456392318, 0.3568256795, 0.5212923288, -0.4874353409, -0.5779851079, -0.5819776058, -0.3249823153, 0.4187932611, 0.4252393842, 0.3015666604, -0.0545455366, 0.0413284823, 0.3597427309, -0.5954753757, 0.2416198701, -0.2903859913, -0.458337903, 0.4647043645, 0.320094496, 0.2165837735, 0.0496464819, -0.3557356, 0.0058510294, -1.2647556067, -0.5387607813, 0.0745447725, 0.2969242036, 0.0627950355, 0.2849861681, -0.0942339599, 0.4278225899, 0.1364315301, -0.0909530073, -0.0049156775, -0.1707960814, -0.145749405, -0.0264988281, 0.5765298605, 0.0123565774, 0.2607685626, -0.4757605195, -0.4057762325, -0.0705326125, 0.3855036795, -0.5112181902, -0.3344052732, 0.087663196, 0.1248180196, -0.0313982628, -0.4499715865, -0.6590439677, -0.0675682724, -0.602376163, 0.5217074156, -0.4730671346, -0.1586911827, -0.2238602936, 0.1371202618, -0.0737843364, 0.1762046218, -1.0685859919, 0.2863025665, 0.3392317891, 0.8823573589, -0.1191221625, -0.7393240333, -0.6396676898, 0.688462615, -0.733489275, 0.5697224736, -0.008781055, -0.2839448154, -0.0112661095, -0.1356202364, -0.2497716546, -0.8506655097, -0.0097430591, -0.3469802439, -0.0524859019, -0.0167363323, -0.6278048158, 0.2570074201, 0.2140759379, -0.5304648876, 0.9168458581, 0.1230747253, -0.1600225717, 0.2153793871, -0.0894932598, -0.3583063483, 0.0552200638, -0.3559972346, -0.5760385394, 0.3294642866, 0.1282496452, 0.4913071692, -0.2365759015, 0.2074847668, -0.3053996265, -0.4838006794, 0.2513978481, -0.2114434391, -0.0046211598, 0.176615417, -0.2513236701, -0.0254186075, -0.8856187463, 0.0760928318, 0.1669586003, -0.5047934055, -0.0773986802, 0.146052748, 0.0607786402, 0.3666995466, -0.1166687384, -0.3619931042, 0.0115601048, -0.4546300471, 0.6200820804, 1.0571768284, 0.1294448674, 0.5509722233, -0.4818104208, 0.602719605, 0.0305670276, -0.1217716709, -0.4135588109, 0.2069886774, -1.0312486887, -0.2387512922, 0.0798828527, 0.222917527, -0.6174345016, 0.2983873487, -0.2884266376, -0.4343447685, -0.2802395821, 0.3461736441, 0.4414553046, 0.3639128208, 0.3635555804, -0.253071785, -0.7705609202, -0.759732604, -0.174315393, 0.0027503078, -0.0463274792, 0.0523047, 0.3524005413, -0.2833106816, 1.0613290071, -0.0637682155, -0.696724534, -0.4383541346, 0.0622833967, -0.0246092565, 0.8458477259, 0.370870024, -0.2849678695, -0.3964583278, -0.1411240697, -0.7720309496, 0.0947586149, -0.6354371309, -0.0440749377, 0.5990370512, 0.706787467, -0.4504440427, -0.0210120268, 0.7113382816, 0.2093964964, 0.7984676361, -0.3150005043, -0.1993869841, -0.9628207684, -0.0096527003, -0.2727824748, -0.2362453192, -0.5995966792, -0.0242483281, 0.3152101338, -0.405593425, -0.3953121006, 0.731587708, -0.7158175111, -0.0417755507, -0.2944236994, 0.1893024892, -0.2773704827, 0.5134491324, -0.0653715357, 0.8473851681, 0.6442751288, -0.8159990907, -0.1064527333, 0.0532871, -0.3731363416, 0.3444457054, -0.4144032896, 0.5073218942, -0.1487864256, 0.5759495497, -0.8137220144, -0.4285436869, 0.0261717904, -0.1637002677, 0.7049646974, -0.5746381283, -0.4428916276, -0.3384962678, -0.0125653353, 0.2769093513, 0.6443255544, -0.5907265544, 0.636290729, 0.3861812651, -0.2343787104, -0.2171280235, -0.7175908089, 0.3353283405, -0.309845835, -0.3527447283, 0.3736228645, -0.2920913696, 0.2222371548, -0.3963814676, -0.3943538666, 0.1373840868, -0.1010184288, 0.2300584465, -0.0034207979, -0.008795077, 0.3540601432, 0.1503841728, -0.2333972156, 0.0011705079, -0.6204265356, 0.7513839006, 0.09425807, -0.3420619071, -0.246998474, 0.4315312803, 0.8108720183, 0.0588608086, 0.75843817, 0.2853378356, -0.3279219568, -0.8208758831, -0.8877347708, -0.3478611708, -0.5148003101, 0.344168365, -0.2285422385, -0.8858705759, 0.8148995042, -0.2309493273, -0.1490006447, 0.1485357881, 0.5505510569, -0.2584150732, 0.6914145947, 0.3159215152, -0.2553898096, 0.5371733308, -0.3538476229, -0.0378547162, -1.0587295294, 0.0131945154, -0.1342795044, -0.0499985367, -0.2973735929, -0.441631496, 0.5886769891, 0.0457761846, -0.3162716627, 0.2126800716, -0.0649739727, 0.6458590031, 0.3402248621, 0.1361404359, -0.0166239254, 0.2214669287, -0.3350550234, -0.2789702117, -0.8528912067, -0.2478951812, 1.1424918175, 0.2139727771, 0.8068377972, -0.151887849, 1.0435624123, 0.0351641066, 0.2819446623, -0.3723220527, 0.6976490617, 0.0420919098, -0.6057717204, -0.40717417, -0.7335197926, -0.749104619, 0.3383627832, -0.0591308251, -0.6516539454, -0.2451528907, 0.5921872854, -0.0372582972, 0.1371132582, -0.5507237911, 0.6383515, 0.018319713, -0.5365362167, -0.5504662991, -0.2453055829, 0.3285821676, -0.5519043207, 0.28904441, -0.0236143507, 0.477999121, 0.6747688055, -0.2535508275, 1.1297478676, 0.0000017057, -0.061831709, 0.3982072175, 0.4246143997, 0.9110642672, 0.0487287305, -0.0338681228, -0.0110040568, -0.3535910845, -0.4470777214, -0.5786015987, 1.037371397, -0.5343074799, -0.5974888802, -0.2718244791, -0.4568808973, -0.5390264988, 0.1085099429, 0.2993939221, 0.5615980029, -0.2839066982, 0.1495220214, 0.4935587943, -0.1489328295, 0.5095567107, 0.6269869208, -0.1952890903, -0.8391814828, 1.1870588064, 0.4504528642, 0.6811846495, 0.0219374057, 0.2408222854, -0.2138617188, -0.8527874947, -0.3874441385, 0.4056899548, -0.8904964924, -0.1734552979, -0.5196830034, -0.389123708, -0.4045314789, -0.2226917893, -0.6830399632, -0.4287417233, -0.1690063179, -0.1263722926, 0.0851170942, 0.5460814834, -0.3526079655, 0.009348155, -0.8141420484, 0.2014320791, 0.3700307906, 0.4501556754, 0.3544521332, -0.7206215858, -0.523035109, -0.0170324016, -0.3884733617, -0.427229166, 0.5993871093, 0.4852021933, 0.6235089302, 0.0180834327, 0.0664366782, 0.971545279, -0.8720546961, 0.6862084866, 0.2999930978, -0.8825001717, 0.6766842604, -0.6419143081, 0.5057736635, 0.5882386565, 0.0880223811, -0.7023296356, -0.7944729328, -0.4237886965, -1.1693360806, 0.6205419302, 0.2631655633, 0.3056543171, -0.2860009074, 0.4381214082, 0.1348439157, 0.1321918666, -0.9273068309, -0.0011461129, -0.2090989947, 0.0200677849, -0.3175010383, -0.3897100985, -0.0764667094, -0.1389816701, 0.7738448381, -0.2592172325, 0.1991267949, 0.1391369849, -0.2849449217, -0.4217734933, 0.0877943859, 0.5854999423, 0.858004868, 0.0141385486, 0.1298213452, 0.5046967268, -0.3855253458, 0.332501173, -0.4963772595, -0.1665961444, -0.2923244536, 0.3931895196, 0.4835497141, 0.7551031709, -0.6965736151, -0.0642038658, 0.2863530517, -0.0794347823, -0.9629112482, 0.2451177388, 0.2329667211, 0.0141701493, 0.4796383083, -0.1084211543, -0.220320791, -0.8016596437, 0.4808986187, 0.1980617642, -0.2005241215, -0.2965805829, 0.4590926766, 0.0042191367, -0.2483545244, 0.8777565956, 0.0966323465, -0.5078948736, 0.3986307681, 1.1569558382, 0.9979479313, -0.5517801642, 0.1410969049, 0.5210369229, 0.0893067867, -0.366129905, 0.0571496375, -0.0193310473, -0.526411593, -0.4808048606, -0.7011966705, -0.3178628683, 0.4170981348, -0.5349325538, -0.0130672064, -0.7745603919, 0.1974313408, -0.4503314793, -0.4348808229, -0.3259763122, 0.3109411895, -0.0404788293, 0.6273688674, -0.7869688272, 0.9500517249, 0.2871599197, -0.3716719747, -0.684689343, 0.2222775966, 0.035022594, -0.7015117407, 0.4330467284, 0.1264286935, -0.0998596177, 0.1525895745, -0.4655627906, -1.1060020924, 1.0559130907, 0.5711004734, -0.8975034356, 0.1611288339, 0.1523974389, 0.6576351523, -0.2763225734, -0.1740919948, 0.4919961393, 0.191624552, 0.420606941, -0.7602647543, -0.1052337289, -0.0165659431, 0.0594770797, 0.0439421907, -0.7372788191, 0.5972661972, -0.0033337318, -0.3794811964, 0.0961861685, 0.5497097373, 0.5985866189, 0.1611087024, 0.3317943513, 0.5930688381, 0.5740881562, 0.0596214235, 0.8727063537, -0.0205906294, 0.3710918725, 1.403725028, -0.4186625779, 0.839556694, 0.423624754, -0.0477878787, 0.2838662565, 0.4149670899, 0.2217056602, 0.6920518279, 0.4783204794, -0.4194868207, -0.6310166717, 0.3850185573, -0.2646236718, 0.381162405, 0.3417016566, -0.1343960762, -0.1843566597, 0.105289422, -0.04639332, 0.1753490865, -0.3486185968, 0.8281688094, 0.327875942, -0.91394943, 1.081966877, -0.3883546591, 0.0477578901, -0.7242432833, 0.1001924872, -0.5782017112, 0.4231542051, 0.1425258666, -0.3529470861, 0.4107604623, -0.2164457291, -0.2051574141, -0.2961220145, 0.381413281, -0.7186030149, -0.4097248912, 0.2709356546, -0.0012602676, -0.0159513652, -0.118006736, -0.3995323777, 0.2421697229, -0.3114213943, -0.1470653862, 0.8635081053, 0.4310882986, -0.0138940075, 1.0859071016, 0.6343476176, 0.1136299446, 0.0973889083, 0.2244881988, 1.0061872005, -0.8964022994, -0.6870504618, -0.666033864, 0.427087754, 0.1355731338, -0.118791461, 0.7494010925, 0.4368997812, 0.8241208792, -0.4228647947, 0.7631052732, 0.502309382, 0.4194236398, -1.0818052292, 1.0125843287, -0.4284014404, 0.3269916773, -0.2720558941, -0.9637852907, -0.2933894396, 0.6286442876, 0.0278178398, 0.1225993037, 0.7126911283, 0.7448260784, -0.0639115348, -0.2688806057, 0.5571189523, 0.4724127948, 0.3615354896, 0.6581798792, 1.017829299, -0.2457190752, 0.3484733701, -0.0158689003, -0.0981947109, -0.1271219254, -0.8900623322, -0.9930043817, -0.8056620955, -0.2945863605, -0.2663929164, 0.2369272262, 0.82943362, 0.8782852888, -0.8567363024, -0.3766925335, -0.509839952, -0.1253666282, -0.1774552763, -0.1473006904, 0.2413680702, -0.7933304906, -0.4812747538, 1.0616242886, 0.3726338446, 0.3197078705, -0.4567039907, -0.1333710253, 0.0385297053, 0.1676175743, 0.5633702278, 0.4902499914, -0.6187716126, -0.4267943799, -0.3847916722, 0.2131574899, -0.0973911732, 0.8503296971, -0.9163922668, 0.4962762296, 0.0559818782, 0.4739973247, 0.8242198825, -0.3509302139, 0.8913016915, -1.001221776, 0.144435972, 0.2839618027, 0.3637609184, 0.4497158825, -0.1797967851, 0.3678839803, 0.2285310179, -0.6848310828, -0.8418456316, 0.3463127911, -0.8346870542, -0.1004918441, 1.1317932606, -0.1745083183, -0.0667361394, -0.0079276823, 0.1193646118, -0.0377527289, -0.1562106311, 1.1727771759, 0.5848026872, 0.2470145971, -0.1874004304, -0.2025387883, 0.5282595158, 0.4627794325, -0.5181477666, 0.4452784956, 0.6115788221, 0.6715466976, -0.1698670685, 0.7652921081, -0.2100549489, 0.2715243995, -0.1115043312, -0.0508933291, -0.0184629261, -0.9195889831, -0.3690051436, 0.0520729199, -0.0211000331, 0.1424556822 ]
http://arxiv.org/abs/2403.01242v1
http://arxiv.org/pdf/2403.01242v1
Augmenting Automation: Intent-Based User Instruction Classification with Machine Learning
2024-03-02T16:06:03
2024-03-02T16:06:03
Lochan Basyal, Bijay Gaudel
cs.LG
cs.LG, cs.AI, cs.CL, cs.HC
Electric automation systems offer convenience and efficiency in controlling electrical circuits and devices. Traditionally, these systems rely on predefined commands for control, limiting flexibility and adaptability. In this paper, we propose a novel approach to augment automation by introducing intent-based user instruction classification using machine learning techniques. Our system represents user instructions as intents, allowing for dynamic control of electrical circuits without relying on predefined commands. Through a machine learning model trained on a labeled dataset of user instructions, our system classifies intents from user input, enabling a more intuitive and adaptable control scheme. We present the design and implementation of our intent-based electric automation system, detailing the development of the machine learning model for intent classification. Experimental results demonstrate the effectiveness of our approach in enhancing user experience and expanding the capabilities of electric automation systems. Our work contributes to the advancement of smart technologies by providing a more seamless interaction between users and their environments.
[ -0.2954188287, -0.522251308, 0.6884006262, -0.0064811464, 0.2974026203, -0.1923111677, -0.0050202115, -0.1929456443, -0.0414152741, 0.6479738951, -0.5776453614, -0.3027325571, -0.4245837629, 0.0838251412, -0.2807768881, 0.5885158777, -0.392826885, -0.3073793948, -0.1851931959, 0.098441191, -0.6342890859, -0.1827472299, -0.1317680031, -0.5282902122, 0.4113999009, 0.858289957, 0.3379564285, 0.1876485646, 0.4571730793, 0.4141682088, 0.6513778567, 0.5065429211, -0.0127596511, 0.2384882569, -0.0244683549, -0.48851946, -0.3522287309, 0.106385015, 0.1416323781, 0.6064630747, -0.0973489583, -0.016124608, -0.1708461046, 0.5662730336, -0.657625556, 0.366043359, -0.3955115676, 0.1957962662, 0.3336670399, -0.8740113974, -0.9231302738, -0.2450349182, 0.1233691126, -0.655969739, -0.2163768113, 0.1599393636, 0.6570119262, 0.2879950106, -0.6633328199, -0.3479237854, -1.1493060589, 0.806527853, -0.1189123392, 0.5462967753, 0.2175393552, 0.5786570907, -0.0817198306, -0.8707527518, -0.5096160769, -0.3226044178, -0.2751555443, 0.0761349723, 0.2210630029, 0.3331564069, 0.3739060462, -0.0612580441, -0.37286672, 0.2189322561, -0.2368103564, -0.0470359921, 0.7967233658, 0.3205577731, 0.5065185428, 0.1064130813, -0.4925833344, -0.0183564909, -0.4332236946, 0.4512022436, 0.5905386806, 0.2435847521, 0.3272679746, 0.6789431572, -0.2639321089, 0.4978896677, 0.3594761491, 0.0541225784, 0.3471559286, 0.2528631687, -0.5099796057, 0.4612738788, 0.577542305, 0.3149321973, 0.111217238, -0.1166755408, -0.4573130906, -0.2792985737, 0.7364133596, -0.5675271153, -0.3861479163, 0.1135765836, -0.4970248342, -0.2872166336, 0.6163765192, -0.1487376094, -0.3324920833, -0.8302586675, 0.6448427439, -0.1857411414, 0.2779097855, 0.2492032945, -0.2233156562, 0.2798525989, 0.8149545193, -1.2635483742, 0.3825839758, 0.6859003901, 0.3026393354, -0.0294156652, -0.3049508929, -0.42030707, 0.2998832464, 0.0026256682, 0.6101411581, -0.5469191074, -0.5194288492, -0.1277175248, 0.3472582996, -0.2341392785, -0.2583495975, 0.2684033215, -1.0954418182, 0.4220014811, 0.444992274, -0.5595538616, -0.7261966467, -0.1140646785, -0.5538514256, 0.5911155939, 0.2903702855, -0.4490446746, 0.4304666519, -1.1253958941, -0.7525937557, 0.2146456987, -0.1061527058, -0.4533334672, -0.0735926852, -0.3080752194, 0.5555481315, 0.4747074842, 0.0155891385, -0.2706583142, -0.2207374573, 0.3709738851, -0.6785417199, 0.7072263956, 0.0982986018, -0.4143327475, 0.471067369, -0.7025604844, 0.0284190681, -0.2034880668, -0.1521605402, -0.1774678826, 0.0267248657, -0.0773948655, 0.1420500875, 0.5009325743, -0.4208716154, 0.2573640645, -0.2582135797, -0.0604537427, 0.7886931896, -0.1410926282, 0.6496115327, -0.2561388612, 0.3996736109, -0.303355962, 0.3260097802, -0.2009272575, -0.4727654159, -0.7026093006, 0.0278253462, 0.2108926326, 1.1498566866, -0.4186258614, 1.082100153, -0.0689399391, -0.2221686989, -0.1560639441, 0.2459017634, -0.2373337746, 0.5731440187, 0.4687775075, -0.2949000597, -0.4741900861, -0.699126184, 0.0265089162, 0.0538594797, -0.3718730509, 0.6844696403, 0.1689099669, -0.4723548293, 0.9340872169, -0.5750164986, -0.3091695905, -0.409119904, 0.2532575727, 0.0441891104, 0.3606444001, 0.0873823091, -0.9993833303, -0.5970780253, 0.5934114456, -0.753367424, -0.0612071231, -0.2513656318, 0.1426623464, 0.0095390221, 0.4782498777, -0.2439339161, 0.8134379387, 0.1358137131, -0.1616675556, 0.5830518007, -0.4443649054, 0.4067031145, -0.5616188049, -0.1101765484, -0.2391003668, -0.3400771022, -0.7348380685, -0.5861384273, 0.1732422858, 0.1289556026, -0.7188263535, 0.2468004078, -0.1796720028, -0.0336734615, -0.5838676095, -0.4591832459, 0.1224255487, 0.5286979675, -0.033946991, 0.7275656462, 0.6228033304, -1.0325241089, 0.6488279104, 0.2286867946, -0.1963055134, 0.1958686411, -0.2795424461, 0.0203507077, -0.0203962885, 0.0118401544, -0.6591354012, -0.6433220506, 0.2559835017, -0.313449651, 0.5141847134, 0.0746324807, -0.2303311974, -0.4803174138, -0.1012244225, 0.0750223175, 0.8870351315, -0.734069109, 1.0908905268, 0.2252582759, -0.1516498476, -0.2040268183, -0.3934338689, -0.2500174344, -0.3039698303, -0.4156426191, 0.2325156331, 0.1598291844, -0.1906660348, -0.1355899423, 0.0731105804, -0.0905576348, 0.3247418106, 0.4841311574, 0.2710589767, 0.1084742919, 0.3591337204, 0.3702335954, -0.2013362944, 0.3142195344, -0.6243211031, 0.500423491, 0.0476764888, -0.6356003881, -1.3558111191, 0.3200978339, 0.622187376, -0.0942409337, 0.2359197885, 0.2202786058, -0.0561331734, -0.5038107634, -0.0959116071, -0.3999175429, -0.6679752469, 0.0604952089, -0.26242733, -0.647324264, 0.0100859543, -0.55756706, 0.2208310217, 0.3846868277, 0.4079220891, -0.635792315, 1.2425433397, 0.993268609, 0.3102718592, 1.0130896568, -0.2637051344, 0.2645403445, -0.5224549174, -0.4137729108, -0.1397298127, -0.7366744876, -0.4661032259, -0.0403611101, 0.0784376934, -0.4083362222, -0.2452098429, 0.4366163909, -0.649956882, 0.2297679484, 0.5465907454, 0.4997920394, 0.096689567, 0.0184869245, 0.2451452911, 0.3371796608, -0.4999038875, -0.9034986496, 1.2092523575, 0.3848630488, 1.0825945139, -0.0485853516, 0.5621857643, 0.787622869, 0.3678177893, -0.9622393847, 0.3625491858, 0.0482146777, -0.0616407543, -0.6589906812, -0.3880695701, -1.1468652487, -0.2800456882, 0.2596181631, -0.9007730484, 0.3001293242, 0.4061183035, -0.5077100992, 0.2297904938, -1.1658724546, 0.7906403542, -0.9028164744, -0.0894534737, -0.071573168, -0.5781922936, 0.2632129788, 0.2343427986, -0.1418384612, 0.1221978664, -0.1992487758, 0.57983464, -0.5272510648, 0.5850020051, -0.2040952593, -0.1650166214, 0.4397565722, -0.2616606653, 0.4785638452, 0.098763451, -0.1033640727, -0.3572392166, -0.6940637827, -0.205208376, -0.8266884685, 0.6181630492, -0.5424487591, -0.4202817082, -0.1081050709, -0.6357591152, -0.080847308, 0.4927659929, -0.024987027, 0.4444402456, -0.0190383997, 0.1310437471, 1.1408871412, 0.1501392722, 0.4542176723, 0.1849821359, -0.2841760814, -0.0311032124, 0.9390311837, -0.1589445472, 0.1242322102, 0.7935890555, -0.0078553772, -0.5582992435, -0.2690027654, -0.3772947192, -0.4588036537, -0.551584363, 0.118337661, -1.0269109011, 0.0241988711, -0.4498130977, -0.5994526744, 0.1413297355, -0.3953200579, -0.6890898347, -0.1175023317, 0.4632412195, 0.5498619676, 0.4429055154, 0.770234406, -0.6436110139, 0.3810035288, 0.8154739738, 0.4804747105, -0.4653099775, -0.3235758543, 0.0224732608, -0.2175677419, -0.7549241781, -0.789231658, 0.3712475896, 0.1206914857, 0.6346445084, 0.7481324077, 0.2608821094, -0.1529249847, -0.591385603, 0.3843031526, 0.4585689008, -0.6469861269, 0.6652387977, 0.0400755517, 0.1387282908, 0.7350236177, 0.3971654475, -0.1096519083, 0.1194556952, -0.7318165302, -0.6915299296, 0.8092769384, -0.3008312583, 0.1479100436, 0.4547432363, -0.0240904093, 0.3008841872, 0.1892009825, -0.2601687014, -0.3073097765, -0.3056943119, -0.5854396224, 0.0541408248, 0.3225094676, -0.0594197176, -0.1274546385, 0.7283207178, -0.1587245464, 0.3936459124, -0.1051246002, -0.3518891335, -0.0251171179, 0.382923156, 0.6240695119, 0.3762433231, -0.1159957126, 0.0736567676, 0.3335822523, -0.5172230601, 0.4244396687, 0.185142681, -0.4675046802, -0.0429248959, -0.2997310758, 0.9872084856, 0.0137575762, -0.6275018454, 0.2907592952, -0.3871830106, -0.32880193, -0.4918150604, 0.8818131089, -0.291785866, 0.0014528733, 0.1336355954, 0.4270402193, 0.6671715975, -0.3217360675, 0.5285621881, 0.1376318038, -0.7491025925, -0.1276379526, 0.4427181482, 0.4891101718, -0.7897821069, 0.3234307468, -0.3829842508, -0.5742955804, 0.7996489406, 0.2930226028, 0.9918037653, -0.3328378201, 0.0479234941, -0.0040355246, 0.2258342803, 0.3323154151, 0.4382332265, -0.3232179582, -0.2997969985, -0.1696452796, -0.2706688344, -0.4723965526, -0.0274577755, -0.2624222934, 0.7582260966, -0.5507472754, 0.1756488979, -0.1535662562, -0.1185329631, -0.7801980376, 0.2537328303, -0.0295523908, 1.0166122913, -0.8085838556, 0.6732804775, 0.8949517012, 0.0145582538, -0.8103186488, 0.0065447586, -0.2478444874, -0.3105193675, 0.6684939861, 0.725148499, -0.195649758, 0.3472503424, -0.3000792861, -0.2972295582, 1.2745131254, -0.4402288198, -0.2901653051, 0.2695603371, -0.1847385019, 0.2263984531, -0.312294364, 0.4781310558, 0.2066933066, 0.8707956672, -0.0343685113, -0.6183282733, -0.2385998219, -0.0836768374, -0.3783793747, 0.4139148593, -0.2000332475, 0.3172224164, -0.3185178339, -0.2551300824, -0.1814327538, 1.0587226152, -0.164665848, 0.7075877786, 0.7175287008, 0.1173383519, 0.7392320633, 0.0190299153, 0.7566572428, -0.1963933706, 0.2879050076, 0.8325639367, -0.4822838008, 0.3563024402, 0.3213097453, -0.2725474536, 0.752904892, 0.3318605423, 0.0795769989, 0.6126883626, -0.1140568852, -0.6488620639, -0.2168859392, 0.1319255531, 0.0881378353, 0.3042133749, 0.6926717162, -0.3673299253, -0.1137922779, 0.4798672795, -0.5789871812, -0.1037341505, -0.5092907548, 0.9547004104, -0.2033634484, -0.4492673576, -0.015033273, 0.0082904566, 0.5801886916, -0.4508049786, -0.1966090351, 0.6142160296, 0.2497428805, -0.5925226808, -0.8311729431, 0.0720344707, -0.094486326, -0.2434987575, -0.6016743779, 0.9947693348, -0.2627469599, -0.317519635, -0.175710097, -0.0044595213, 0.186943233, 0.4433693886, -0.3830297589, -0.4071006477, 0.0342195332, -0.2215439826, 0.0538420528, 0.595957756, -0.2182179838, 0.8535827994, 0.5643056035, -0.314030081, 0.2107633948, -0.0811644718, 0.5057219863, -0.4222205281, -0.6177761555, -0.3719667196, 0.6764688492, -0.2259152234, -0.0397165716, 0.7125198245, 0.4547825456, 0.9165894389, -0.1925018579, 1.2086412907, -0.2636173964, 0.2272387445, -0.3339438438, 0.3733291924, -0.403611213, 0.3287397027, 0.2032127529, -0.4166475832, -0.2329279631, 0.2962029576, -0.7008357644, 0.2779136598, 0.5166905522, 0.5492885709, -0.648671031, 0.096273236, 0.5416178107, -0.3777683973, 0.2811467946, 0.2582608759, 0.9906424284, -0.0755231008, 0.1576659828, -0.4267770946, -0.6085159779, -0.9133665562, -0.5516290069, -0.5448067188, -0.3097271025, -0.0697267205, 0.1576557606, -0.3001512587, 1.0527516603, 0.5215839744, -0.9277836084, -0.1279587597, -0.5660324693, 0.4488946199, -0.4730469286, -0.2953355908, 0.1035964489, -0.7377050519, -0.6406881213, 0.3531745374, 0.5853971243, 0.171437636, -0.1554074436, -0.4319884181, -0.0552714169, 0.172280997, 0.8123142123, 0.506746769, -0.5457735062, -0.2455143929, 0.2037052065, -0.2394245863, -0.0061151721, 0.8561933637, -0.7621612549, 0.4157286882, 0.6846724749, 0.6647180319, -0.183386296, 0.3003539443, 0.4630656838, -0.3752458096, -0.2139745355, 0.2721378803, 0.3532810807, 0.0319533199, -0.8500061035, -0.2103896588, -0.1293717623, -0.7773561478, -0.3660902679, 0.4397002459, -1.2424298525, -0.3131998479, 0.7443489432, -0.1209532544, -0.4204819202, -0.529475987, -0.624786675, 0.2800503671, -0.4841240048, 0.9327816963, -0.04948131, -0.9234687686, -0.0804466382, -0.424216032, 0.1616822034, 0.1954784691, -1.2490724325, 0.0023848119, 0.374576956, -0.1546098441, 0.2766744196, 0.2137032449, 0.2297362983, 0.6974042058, -0.5516480803, 0.275719583, -0.320874691, -0.9446080923, -0.2922165692, 0.3739622533, -0.1849464029, -0.47512272 ]
http://arxiv.org/abs/2403.01241v2
http://arxiv.org/pdf/2403.01241v2
IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intact
2024-03-02T16:05:26
2024-05-25T10:33:03
Ruikang Liu, Haoli Bai, Haokun Lin, Yuening Li, Han Gao, Zhengzhuo Xu, Lu Hou, Jun Yao, Chun Yuan
cs.CL
cs.CL, cs.AI
Large language models (LLMs) excel in natural language processing but demand intensive computation. To mitigate this, various quantization methods have been explored, yet they compromise LLM performance. This paper unveils a previously overlooked type of outliers in LLMs. Such outliers are found to allocate most of the attention scores on initial tokens of input, termed as pivot tokens, which are crucial to the performance of quantized LLMs. Given that, we propose IntactKV to generate the KV cache of pivot tokens losslessly from the full-precision model. The approach is simple and easy to combine with existing quantization solutions with no extra inference overhead. Besides, IntactKV can be calibrated as additional LLM parameters to boost the quantized LLMs further with minimal training costs. Mathematical analysis also proves that IntactKV effectively reduces the upper bound of quantization error. Empirical results show that IntactKV brings consistent improvement over various quantization methods across different LLMs and downstream tasks, leading to the new state-of-the-art for LLM quantization. The codes are available at https://github.com/ruikangliu/IntactKV.
[ 0.1662754864, -0.6727228761, 0.5616714954, 0.1542731524, -0.69201684, 0.0676740482, -0.5115675926, 0.0046115695, 0.0934372246, 0.6821183562, -0.2313162982, -0.5366030931, -0.5622558594, -0.2399720103, -0.2808797359, 0.8385694623, 0.1096835956, 0.2111646235, -0.2549576759, -0.2160000354, -0.3888657391, -0.3937038183, -0.373060286, -0.2456737459, 0.1406509876, 0.3351801634, 0.645006001, 0.8397780061, 0.5448631048, 0.2887169719, -0.2629909515, 0.1866145283, -0.498275876, 0.5288786292, 0.1643932909, -0.6538290381, -0.4376635551, -0.4252237976, 0.9991230965, 0.6293948889, -0.3583744466, 0.0304663572, -0.049976144, 0.9589118958, -0.9662649035, 0.3131305873, -0.8040232658, -0.0791475996, -0.4331905544, 0.2451530546, -0.6966947317, -0.3337358236, -0.1936935931, -0.5064697862, -0.2255672961, -0.2714732587, 0.6979546547, 0.5544871688, -0.3406453729, 0.2138910294, -0.6267018914, 0.6556989551, -0.7857370377, 0.4619919062, 0.2804523706, 0.1511919647, -0.3545988202, -0.920732379, -0.2572875619, -0.0023766547, 0.1942469925, 0.1855545789, -0.0857058316, 0.20707798, 0.0305674672, 0.4498570859, -0.3322914243, 0.0197809301, -0.3938209414, -0.1968100518, 0.358831495, 0.2945289314, 0.2603884637, -0.2095694989, -0.1107320487, -0.0152650801, -0.9772546291, 0.2574936152, 0.3172888756, 0.2895410657, 0.1313717067, 0.8815302849, -0.2880249023, 0.4481953382, -0.0065192934, -0.1495917886, 0.1427069753, -0.4239956439, -0.3594360948, 0.3157745898, 0.7556099892, 0.1061682403, 0.253628999, -0.0529166535, -0.0236927383, -0.0422286838, 0.4274818897, -0.8973072171, -0.5661551952, 0.1735524237, -0.3931126893, -0.2539436221, 0.1835679263, -0.3104960322, -0.1128350645, -0.3925825357, 0.3080921173, -0.5659707189, -0.2894411087, 0.0197746418, 0.2964820266, 0.1961596906, 0.3512021303, -0.7516517639, -0.0543153919, 1.1140533686, 0.8744604588, -0.2247348279, 0.100366585, -0.9154788256, 0.1600055844, -0.5669649839, 0.5392534137, -0.4983960092, -0.1759156138, -0.0187511444, 0.0137613891, 0.3891752362, -0.4469425082, 0.6269091964, -0.4021275342, -0.127912432, -0.2315102518, -0.5575445294, 0.0286394469, 0.1352188587, -0.5919517279, 1.3128528595, 0.0745230168, -0.7982190847, 0.5283524394, -0.3579436541, -0.3132176697, 0.3759753108, 0.0806830078, -0.7282819152, 0.5598580241, 0.2482565939, 0.3813174963, 0.0183239095, 0.4898967743, -0.3516891003, -0.3764593899, 0.273545891, -0.5074931383, 0.7945641279, -0.0758178458, -0.0846276656, 0.2461169064, -0.6426566243, 0.3096932471, -0.1654977649, -0.667114079, -0.5267273188, 0.03388004, -0.152648285, -0.2230161428, -0.0410441719, -0.5732879639, 0.4621723592, -0.9875556231, 0.5749909878, 0.856746316, -0.0877589136, 0.560461998, 0.2578175962, 0.3379077613, 0.1683827937, 0.1357468218, -0.6039186716, -0.3914827108, -0.8336516619, -0.8184012175, 0.5680987835, 0.0286180433, -0.773347497, 0.4405643642, -0.7129993439, -0.4655679464, -0.7133208513, 0.0005221358, 0.2379980832, 0.4551665187, -0.0534694791, -0.1408690661, -0.4586877227, -0.9705209136, -0.3715605736, -0.1399116218, -0.2485270947, -0.285366863, 0.2446777523, -0.0487308763, 1.0864528418, -0.3544533849, -0.2120573521, 0.0399786793, -0.0729431212, 0.2450042814, 0.3396425843, -0.0372971743, -0.6685320735, -0.8456915021, 0.2133144587, -0.3017085493, 0.0036413823, 0.2762542963, -0.3519197404, 0.3991000354, 0.5243643522, -0.6795728803, 0.559661448, 0.3418142796, -0.2836858034, 0.3711822927, -0.2451916933, -0.0041137924, -1.1292257309, 0.0723117217, -0.3617639244, -0.750402689, -0.592579782, -0.1469147205, 0.6264526844, 0.204053238, -0.7296817303, 0.2741951346, -0.4392670095, -0.081825912, -0.3898869157, 0.0787379146, 0.0579344928, 0.4544345737, -0.2935795188, 0.6429635286, 0.4928412139, -0.3092801273, 0.4896785915, 0.1573197693, -0.5105729103, 0.3263972998, -0.6146181226, 0.0440245904, -0.3124113679, 0.161839202, -0.752997756, -0.2146751136, 0.2574266791, -0.4525417089, 0.5027566552, -0.4625206292, -0.7125939131, 0.2471312881, -0.5296514034, 0.4992713034, 0.6708287597, -0.3371903002, 0.6227349043, 0.4601821601, -0.121516794, -0.5115420222, -0.7017578483, -0.0172474328, -0.1686028987, -0.4865059555, 0.1742937714, 0.1133032143, -0.1427138597, -0.0027605714, -0.2512645125, -0.0019137602, -0.0305398069, 0.3260585964, 0.2259320617, -0.3392030895, 0.3710578978, 0.193126753, -0.2705960274, -0.0875051767, -0.4802247286, 0.4858859479, -0.341889739, -0.4185054898, -0.4060496092, 0.0954666808, 0.9103514552, -0.3427748084, 0.8510332108, 0.4325031936, -0.4511411786, 0.0498388261, -0.4561629295, 0.0573229864, -0.4838910103, 0.743751049, -0.1612663269, -0.8837952018, 0.3983013034, -0.1339135468, 0.0039667441, 0.2896596789, 0.953653872, 0.0965652615, 1.0172593594, 0.5204530954, 0.0057791858, 0.5052465796, 0.0263417549, 0.3483555615, -1.0416065454, -0.3352304101, -0.3670836985, -0.1134267747, -0.4034327865, -0.4917651415, 0.5014783144, 0.3340831101, -0.2925515175, -0.0660388097, -0.539919436, 0.6708394885, 0.3418129086, 0.074983418, 0.3038412035, 0.1023155972, -0.1869324446, -0.358881712, -0.6976071596, -0.4026421607, 1.1787568331, 0.2867625058, 0.6864883304, 0.0001990191, 0.2299785763, 0.0308760162, 0.4760893583, -0.8816873431, 0.0918134227, -0.2573670745, -0.3922133446, -0.4858062565, -0.4238498807, -0.8452720642, 0.4035492539, -0.0084441956, -0.836314559, -0.075108543, 0.1618948132, -0.304260999, 0.3213513196, -0.6415528655, 0.8299714923, -0.1317920238, -0.2618956566, 0.1989855021, -0.5437328219, 0.546870172, -0.2447023392, 0.0277024452, -0.3460286558, -0.1979764104, 0.5759770274, -0.7504807115, 0.7445377707, -0.0957173333, -0.0682396069, 0.2002816647, 0.0136119509, 0.9214043021, 0.3358853161, 0.0907675922, 0.1756364256, 0.0195212979, -0.4702528715, -0.666010797, 0.600102365, -0.5643598437, -0.35428828, -0.0656552091, -0.3738000989, -0.0420994796, 0.3309214115, 0.2380458862, 0.369430542, 0.2263106257, 0.8447698951, 0.8009201884, -0.0313910916, 0.5060658455, 0.355161339, -0.0488500446, -0.8232159615, 0.6986347437, 0.0267059747, 0.3361378312, 0.4120118916, 0.3459607065, -0.2105365843, -0.4630676806, -0.2972380221, 0.1106278077, -0.779802382, -0.7811816931, -0.6858274341, -0.075861454, -0.3113181889, 0.0142125105, -1.3343046904, -0.4938865006, -0.1987112015, -0.0766095519, 0.4893724322, 0.3338081241, 0.189124316, 0.4198366702, -1.0184736252, 0.1644993722, 0.0341838747, 0.4668940306, -0.0032238241, -0.49683249, -0.4732812047, 0.3212175965, -0.1662406325, -0.488056004, 0.5178110003, 0.334654063, 0.3048026562, 0.536736846, 0.3028042316, 0.9146648049, -0.6277022362, 0.6294776797, 0.2760871649, -1.1854419708, 0.4224637747, -0.1295743436, 0.5799355507, 0.7280113101, -0.0703998432, -0.7115501761, -0.4827837646, -0.2542767823, -1.2621639967, 0.866759181, 0.3038153052, 0.1900039762, 0.1378913075, 0.6517055035, 0.304669559, 0.227739349, -0.962451756, -0.2277225703, -0.0489593185, -0.5153448582, 0.3451036513, -0.4511907101, 0.1893007159, -0.3482103944, 0.6433239579, -0.1717757881, 0.0521051437, 0.0982059538, -0.2166930288, -0.3430409729, -0.0768517181, 0.6236432791, 0.7603853941, 0.1554688811, 0.2503170967, 0.1606403887, -0.7220714688, 0.1106237397, -0.438041389, -0.1479619592, -0.0860022157, 0.3637796342, 0.7094465494, 0.4840062559, -0.8058963418, 0.6977064013, -0.2717109025, -0.0548848771, -0.3400445282, -0.1540772468, 0.1939453036, 0.3538253903, 0.3763276041, -0.1868252009, -0.2802624404, -0.3799138367, 0.0820971951, 0.4900351763, -0.4121491015, -0.352817446, 0.6212034822, 0.0021890316, -0.40110147, 0.9511808753, 0.0671310499, -0.8247211576, 0.2547366321, 0.2037875503, 0.9899616838, -0.1398387253, -0.0747085065, 0.0482888483, 0.5609543324, -0.2199186385, 0.0113092745, -0.1551939398, -0.425747484, -0.9071633816, -0.6464475393, -0.1757581681, -0.0843453184, -0.4629686773, 0.4638986886, -0.1183595061, 0.1655271649, -0.3869964778, -0.1447524428, -0.3276634514, -0.1721655279, -0.0492747128, 0.451151222, -0.6017917395, 1.1581457853, 0.6359875202, -0.0233216509, -0.5926847458, -0.0954709202, -0.4993804395, -0.6405050159, 0.7024610639, 0.1296364963, 0.3350546062, -0.1931898296, -0.5844526291, -1.1176977158, 0.9192410707, 0.8115863204, -0.5788154006, 0.1624100506, 0.3389842808, 0.3264409304, 0.0144160567, 0.1716099232, 0.4395662844, 0.406026125, 0.1097438484, -0.743241787, -0.0255950876, -0.0233754683, 0.026254816, 0.7811973095, -0.6471219063, 0.5810099244, 0.2333203107, -0.1656219661, -0.1302602142, 0.6811813116, 0.3439388871, 0.017205365, 0.1948352903, 0.641009748, 0.6265407801, -0.3185012341, 0.6886040568, -0.2054935545, 0.4344688356, 0.8763382435, -0.0777288154, 0.8653904796, 0.7622814775, -0.3119300604, -0.1662177593, 0.5140282512, 0.2066275328, 0.6300854683, 0.1766833961, -0.2030769587, -0.4350760579, 0.3296842277, -0.1564135849, 0.6044377685, 0.2039534748, -0.123770833, -0.0899252966, 0.1040560603, 0.1738378704, -0.2861292958, -0.3348426819, 0.7647097111, 0.1533605158, -0.597466886, 0.4847414196, 0.1995279342, 0.5179352164, -0.6412757039, 0.0399638414, -0.2973455191, 0.3867150247, -0.0531913564, -0.3571661413, 0.5617156625, -0.1127337068, -0.2003763914, -0.2953864038, 0.6631585956, -0.5327447057, -0.8110314012, -0.3106266856, 0.0161948539, 0.1338067502, -0.4375841022, -0.2231327891, 0.3296746612, 0.0986312926, -0.4326874912, 0.3862869442, 0.8818922043, -0.0609114878, 0.7279322743, 0.6444678903, 0.1480352283, 0.3693647683, -0.4042430818, 0.9757964611, -0.5215810537, -0.5102236867, -1.2541538477, 0.9530400634, 0.0724512711, -0.2422302067, 0.5932307243, 0.6856080294, 0.5806407332, 0.0458617844, 0.3206115961, 0.4085656106, 0.0826435089, -0.6183494925, 0.9282246232, -0.4774905443, 0.247561276, -0.1707575768, -1.0943248272, -0.5105003715, 0.4306329489, 0.1002783701, -0.2783812284, 0.5929173231, 0.3955480754, -0.0145023642, -0.2155853063, 0.5455555916, 0.3131998181, 0.4702374637, 0.3746089339, 0.7297924161, -0.4606935382, 0.7269928455, -0.2614112198, -0.030726783, -0.2987081707, -1.0783853531, -0.6652824283, -0.3979413211, -0.5903596878, -0.0421888903, 0.0696998015, 0.7586712837, 0.7447071075, -0.5508515239, 0.1927087754, -0.2880649567, 0.2655906081, 0.2554517388, -0.2562276721, 0.5694369674, -0.3828866482, -0.78284657, 0.1624119878, 0.8294632435, -0.244477421, -0.2130827755, -0.1222058982, 0.1124722436, -0.1934241503, 0.6737603545, -0.1521839947, -0.796464026, -0.1477300525, -0.0724156946, 0.0765366405, 0.4011664689, 0.8944329023, -0.7533839345, 0.7364305258, 0.4521998763, 0.8605453372, 0.615673244, 0.0154268639, 0.669706583, -0.95173347, 0.2600201964, 0.368252337, 0.3251931369, 0.3325772583, -0.3901427984, 0.2137004733, 0.169534862, -0.6136864424, -1.349421978, 0.0019585332, -0.7603402138, -0.1866703182, 1.0054664612, -0.2120858133, -0.5015776753, 0.0706994608, -0.0912767574, 0.3935392201, -0.3599689305, 0.5526370406, 0.8145503402, 0.1554156691, -0.1821042448, -0.406013757, 0.3399163783, 0.4127901495, -0.5668202639, 0.4117702842, 0.2385727018, 0.2414302975, -0.2336486727, 0.3570646644, -0.4567008913, 0.1345758736, -0.1833662689, 0.1772617102, -0.084974356, 0.0142314276, -0.3702120483, 0.1164889336, 0.0568061769, -0.2253922671 ]
http://arxiv.org/abs/2403.01222v2
http://arxiv.org/pdf/2403.01222v2
Emotion Analysis in NLP: Trends, Gaps and Roadmap for Future Directions
2024-03-02T14:38:03
2024-03-18T10:51:14
Flor Miriam Plaza-del-Arco, Alba Curry, Amanda Cercas Curry, Dirk Hovy
cs.CL
cs.CL
Emotions are a central aspect of communication. Consequently, emotion analysis (EA) is a rapidly growing field in natural language processing (NLP). However, there is no consensus on scope, direction, or methods. In this paper, we conduct a thorough review of 154 relevant NLP publications from the last decade. Based on this review, we address four different questions: (1) How are EA tasks defined in NLP? (2) What are the most prominent emotion frameworks and which emotions are modeled? (3) Is the subjectivity of emotions considered in terms of demographics and cultural factors? and (4) What are the primary NLP applications for EA? We take stock of trends in EA and tasks, emotion frameworks used, existing datasets, methods, and applications. We then discuss four lacunae: (1) the absence of demographic and cultural aspects does not account for the variation in how emotions are perceived, but instead assumes they are universally experienced in the same manner; (2) the poor fit of emotion categories from the two main emotion theories to the task; (3) the lack of standardized EA terminology hinders gap identification, comparison, and future goals; and (4) the absence of interdisciplinary research isolates EA from insights in other fields. Our work will enable more focused research into EA and a more holistic approach to modeling emotions in NLP.
[ -0.71336025, -0.5338203907, 0.2690479159, 0.5982182026, 0.1287135333, 0.1662294865, -0.2524068952, -0.9838531613, 0.3375794291, 0.2665281594, -0.6127813458, -0.5931931734, -0.8107196093, 0.4221827686, -0.3690965176, 0.7091309428, -0.1454303414, -0.2924567759, -0.1425756365, -0.5590757728, -0.4388523996, -0.8586745262, -0.6216959357, -0.2657660842, 0.5104942322, 0.2812118828, 0.309887439, 0.1224274561, 0.5679867268, 0.3669013381, -0.4234232903, -0.1797444969, -0.2928856909, 0.2346748561, 0.1414173096, -0.394492954, -0.6185564399, 0.1223490164, 0.2268298268, 0.8059194684, 0.0266296975, 0.147747919, 0.0044436813, 1.2482795715, -0.6356557012, 0.2454184741, -0.2463903278, 0.4747757018, -0.2464173436, -0.2365525365, -0.164564237, 0.0552409254, 0.4286946654, -0.0366278552, 0.2402104139, 0.0009998409, 0.6148872972, 0.161292851, -0.7438720465, -0.5447781086, -0.569781363, 0.891462326, -0.6341391802, 0.3927899897, 0.1791688353, -0.239161253, 0.181472823, -0.5069214106, -0.3355796635, 0.1063408926, 0.1148272231, 0.3373228014, -0.6846886277, 0.1856724769, 0.2501625717, 0.3248966932, -0.4749812186, 0.1157447025, -0.1218655035, 0.2604450285, 0.7817577124, 0.3050529063, 0.4262781143, -0.0377180539, -0.3826481998, 0.2376700789, -0.4210547507, 0.0863806084, 0.4475774169, -0.1347287297, -0.0209347941, 0.3972400427, -0.2850455344, 0.4677804708, 0.0554380156, 0.4520593882, 0.1997597069, 0.0060565658, -0.1552636772, -0.2035760731, 0.766358614, 0.5762037635, 0.0388374217, -0.2003568709, -0.0503860489, 0.1485831439, 0.501606226, -0.3782562912, 0.1245217025, 0.7492153049, -0.5574693084, -0.0619924292, -0.1891682148, -1.3034384251, -0.2371248305, -0.3201119304, -0.2995757163, -0.0227668751, -0.4456311166, 0.0174903981, 0.0604406036, 0.2265651971, 0.1424862444, -0.9152064919, 0.4696062207, 0.8518440723, 0.7203111053, -0.3382905424, -0.1644209474, 0.1719380319, -0.5653253198, -0.3188909292, 0.7593743205, -0.4633886814, -0.2759738266, 0.5159431696, 0.0703611672, -0.0381192267, -0.3391929269, 0.6081061959, -0.3593555987, 0.333106041, -0.5589668751, -0.4226675034, -0.406158179, 0.3098016083, -0.7058120966, 1.0639159679, -0.1468687803, -0.7451549172, 0.162442252, -0.8428502679, -0.3089099228, 0.0481977127, 0.1997499913, 0.0649067089, 0.3291601241, -0.1316816211, 0.4310543835, -0.3858039081, 0.1440173239, -0.2302913368, -0.1870966852, 0.0341315381, 0.1298930049, 0.7155373693, 0.1613699794, -0.6723988056, -0.0642788559, -0.5257469416, -0.075464502, -0.1810816675, -0.0145448465, -0.2485572547, 0.3607005775, 0.2923364639, 0.3591528237, 0.2103093266, -0.4527056515, -0.0442402922, -0.4604099095, 0.24229002, 0.4864221811, -0.1487033516, 0.5747041702, 0.2230187804, 0.8414378762, -0.2532960773, 0.0404252261, 0.0226918701, -0.7010037303, -0.8299770951, 0.4198447168, 0.0699937865, 0.5846713185, -0.0921119303, 0.6765646338, 0.3221303821, -0.5011242628, -0.5370150805, -0.14366512, 0.137241438, 0.3524292409, 0.4079807103, -0.3490071297, -0.5165266991, -0.6129943728, -0.4955178797, -0.3179711998, 0.161470145, -0.0655863807, 0.2542853057, -0.2389953583, 0.8829500079, -0.4069935977, -0.3814704418, -0.3772320449, 0.6804665327, -0.132582128, 0.279595226, 0.6769891381, -0.8907753229, -0.3928225636, 0.0250386298, -0.8538455367, -0.4539065659, 0.0140274633, 0.0839336812, 0.3883957863, 0.4219545126, -0.618975997, 0.3926011026, 0.7350844145, -0.3468107581, 0.3313184083, 0.1844100952, 0.0750258863, -0.6458620429, 0.2949421108, 0.4412809312, 0.3785595596, -1.0037769079, 0.0788386017, -0.2361070961, -0.101992391, -0.2458544374, 0.5615605712, -0.6584692597, 0.1053675562, -0.4603097439, 0.1093878448, -0.0367250815, 0.5018007159, 0.2066702992, 0.065427646, 0.4607857168, -0.4516106248, 0.4573175013, 0.2836849093, 0.0280366298, 0.695761621, -0.4894031286, 0.3013625741, -0.3395326734, 0.1570521295, -0.6958872676, 0.0659055039, 0.189093262, -0.3499471545, 0.1773317307, 0.132257387, -0.0183867291, -0.3163750768, -0.2102967799, 0.2337929308, 0.51854074, -0.0134948175, 0.7749076486, 0.490881592, -0.5700521469, -0.7539741993, -0.612744689, 0.2859893441, -0.438546598, -0.4471634924, 0.1501459479, -0.1106359884, -0.6647100449, 0.0259060729, -0.2936882675, -0.3713243604, 0.1764874607, 0.3958199322, -0.1597768962, -0.0855475515, 0.2087571621, -0.1386394054, -0.1284379214, 0.4367693961, 0.1427606791, 0.2623827755, -0.5359991193, -0.076662302, -0.16131787, 0.8857740164, 0.2361284345, -0.3526158035, 0.4234564602, 0.7739629149, -0.4444929063, -0.0541745052, -0.5994354486, 0.2138777226, -0.3191443384, 0.5161297321, 0.0159095638, -0.8478697538, 0.5832948685, -0.1187474057, 0.2257609516, 0.6417299509, 0.5580740571, -0.3509336412, 0.9295094609, 1.0790094137, -0.0589766167, 0.551635921, -0.2263198793, 0.4310761094, -0.8390929103, -0.1136878952, -0.785290122, -0.6467578411, -0.5976495147, 0.1212682948, -0.0687602535, -0.0270845611, 0.3204504848, 0.0895610601, -0.2366425097, 0.2046596557, 0.1837501079, -0.4887257814, -0.000310963, -0.4010287523, 0.560567379, -0.2530373037, -0.5938917994, -0.6236503124, 0.6326472163, 0.5529485345, 0.2579838634, 0.0475488864, 0.6506639123, 0.2412580103, 0.5598440766, -0.9451127052, 0.4958921373, -0.076290153, -0.7224318981, -0.2317838073, -0.1532104164, -1.127374649, 0.3498222828, -0.3422281742, -1.1882419586, 0.435025543, 0.0252877641, -0.0611661673, 0.153470099, -0.6565129161, 1.0530982018, -0.1350965351, -0.1557341516, 0.0407280102, -0.8360772729, 0.5631488562, -0.1057005078, 0.3586528599, -0.4994438291, 0.1436051875, 0.8491777182, -0.1443979144, 0.719383657, -0.1796390861, -0.2079185992, 0.3659707606, -0.093328692, 0.0695178583, -0.2965925634, -0.0718804449, 0.2801434994, 0.2827529013, -0.2235960066, -0.5757240057, 0.4159263074, -0.356148988, -0.5202066302, -0.5834352374, -0.3829392493, -0.4355377853, 0.0164374392, 0.2438605428, 0.0992437154, -0.3921899199, 0.0556103215, 0.4202751219, -0.168362841, 0.4783598185, 0.2150481641, 0.1224888861, 0.0794182345, 0.6423566937, 0.0265713111, 0.0236325953, 0.2459528148, 0.0092233717, -0.0946490318, -0.4359182715, 0.028914595, -0.018279247, -0.6661503315, -0.0543681197, -0.8469253778, 0.2143615484, -0.382576108, -0.1299882829, -0.3656642437, 0.0567313656, -0.3919655383, -0.0676963776, 0.2946249843, 0.8032345772, 0.0311081633, 0.2770128548, -0.9082133174, 0.2765047848, 0.0499833785, 0.3925614059, 0.2226511836, 0.0289799124, -0.2559752762, -0.2175637335, -0.240578711, -1.2317994833, 0.7195636034, 0.1444031745, 0.1819077283, 0.3954955339, 0.2246089429, 0.4667128026, -0.4031527638, 0.9727625251, 0.1814139336, -1.1408404112, 0.2597003579, -0.0376293585, 0.2183015496, 0.4925559461, 0.5454418063, -1.0427681208, -0.3612660468, -0.7889134884, -1.3433269262, 0.662084043, 0.0081293229, 0.2263766229, -0.1106522605, 0.1751860082, -0.0830609351, 0.2296048254, -0.5246117115, -0.353407532, 0.2418161035, -0.4469485581, -0.0106557021, -0.2450818568, -0.1952287108, 0.177540049, 0.2265312225, -0.1089170948, 0.5135976076, 0.1185077429, 0.087603204, -0.3311440051, 0.3146478236, 0.3332999051, 0.4840598404, -0.3494576216, -0.0494553521, 0.2604809999, -0.3923246861, 0.0426359512, 0.0052566272, 0.1606889218, 0.2170573175, 0.5627491474, 0.7184488177, 0.3031687737, -0.6029245853, 0.6160039902, -0.013025932, -0.2726216018, -0.2598028481, -0.4255848825, 0.0618142076, 0.442233026, 0.4213765264, 0.0158297122, 0.4064220786, -0.7388472557, -0.0793631077, 0.3386513293, -0.5837715864, -0.5497600436, 0.469650209, 0.4483510852, -0.2509199977, 0.293952316, -0.1167308018, -0.639901042, 0.786763072, 0.0896541849, 1.2008458376, -0.0979565606, 0.1064654961, -0.0246500596, 0.3707116246, -0.0258607939, 0.399671495, 0.1455350518, -0.582675457, -0.4785699546, -0.5131220818, -0.676653862, -0.0674426332, -0.8736715913, -0.0162125062, -0.1388351172, -0.3753043711, -0.0730583444, 0.1295798421, -0.9947336912, 0.4123208821, 0.2035301924, 0.9797851443, -0.9514610767, 0.3216657639, 0.7630496025, -0.2009598315, -0.3552644253, 0.1662387401, 0.3427187204, -0.0993668661, 0.6665230393, 0.1539619267, 0.0506481268, -0.1727754027, -0.4606741369, -0.7122902274, 0.7205001712, -0.1508431435, -0.1818267256, -0.3085309863, -0.1700256616, 0.9034238458, -0.4042690992, 0.2652750909, 0.5816210508, 0.4663085938, -0.3081758618, -0.4707980752, -0.4012548625, -0.4881894886, -0.1283233315, 0.2747462392, -0.6814203858, 0.529211998, 0.2338596284, -0.4230910838, -0.0590139404, 0.7945162058, -0.0523500703, 0.5561503172, 0.37619102, 0.3058806062, 0.5070650578, -0.4668067992, 0.9553186297, -0.3325999379, 0.3460194468, 0.5496307611, -0.5904964805, 0.8610802293, 0.4190732837, -0.4230502546, 0.3409339488, 0.7180724144, 0.1013069153, -0.0727811977, 0.1941915601, -0.0974877179, 0.1734497398, -0.1711904705, -0.2955685556, 0.5968710184, 0.5119577646, -0.0177219324, -0.1037683636, -0.0345823988, -0.0663937032, -0.1190635189, -0.2198490649, 0.7005292773, 0.1859735399, -0.4123896658, 0.0337569676, 0.074874796, 0.6922342181, -0.6349676251, 0.0559478365, -0.3713315427, -0.3245981932, -0.4307989478, -0.7794786096, 0.5871995091, 0.4198113382, -0.0010146999, -0.4755288661, 0.694997251, -0.4867013693, 0.0605182312, 0.4813088477, 0.6009433866, 0.3268728256, -0.1297773272, -0.6081914306, 0.2018496543, -0.2281014472, -0.7122109532, 0.2678224444, 0.8078830838, 0.2339736372, 0.3918145001, 0.2734718323, 0.1634978801, -0.0042469851, -0.134751901, 0.3676964939, -0.9521309137, -0.2407451868, -0.615791142, 0.7464654446, 0.0867686272, -0.6396918893, 0.5277582407, 0.0052141235, 0.3993740976, -0.0146762449, 0.6236005425, -0.3380535841, 0.131108135, -0.4345091283, 0.3224725723, -0.5818805099, -0.1535436064, -0.7362589836, -1.1576594114, -0.444929719, 0.4769548476, -0.1198212206, 0.0587587096, 0.7381311059, 0.0868997425, 0.4206044674, 0.2560659945, 0.1600394249, 0.0799126402, 0.0877315998, 0.5135634542, 0.9031563401, -0.2798740864, -0.0016346304, -0.3194827735, -0.2197881639, -0.3589300811, -1.0623202324, -0.316121906, -0.7770937085, -0.4593570828, -0.0338845327, -0.3271398842, 0.7996149659, 0.4071224332, -0.730394721, -0.287581265, 0.1062082648, 0.2097470909, -0.3635856509, -0.25183779, 0.191137597, -0.4404005408, -0.9630524516, 0.1959097236, 0.490398258, -0.1796619892, -0.1374156922, 0.1036758646, -0.2756750882, 0.010434729, 0.7342653871, 0.70459795, -0.792558074, -0.1736416966, 0.0769973472, 0.1411818713, -0.0283419956, 0.6831507087, -0.1610756665, 0.4126091301, 0.4713575244, 0.6812175512, 0.0458733253, -0.0851180032, 0.6456533074, -0.772501111, -0.0596229546, 0.4445218444, 0.4696333706, 0.2105420679, -0.329125464, 0.7285897732, 0.1298521161, -0.6414107084, -0.7983115911, 0.339615196, -1.1569482088, -0.050196521, 0.9639055133, -0.0914437175, -0.0975148529, -0.0220531486, -0.1365990639, 0.1533436477, -0.1931708753, 0.7764408588, 1.198474884, -0.482750237, -0.2070329338, -0.7017341852, 0.6486657858, 0.6635326147, -1.0504697561, 0.2801975608, 0.4602791369, -0.338034451, 0.4822620749, 0.5957868695, 0.0563271455, 0.0089152306, -0.1791938841, 0.5346615314, 0.6740502715, -0.2694957852, -0.7228226662, 0.3268616498, -0.0201790389, 0.3081977963 ]
http://arxiv.org/abs/2403.01216v2
http://arxiv.org/pdf/2403.01216v2
API Is Enough: Conformal Prediction for Large Language Models Without Logit-Access
2024-03-02T14:14:45
2024-04-04T02:15:39
Jiayuan Su, Jing Luo, Hongwei Wang, Lu Cheng
cs.CL
cs.CL, cs.AI, cs.LG
This study aims to address the pervasive challenge of quantifying uncertainty in large language models (LLMs) without logit-access. Conformal Prediction (CP), known for its model-agnostic and distribution-free features, is a desired approach for various LLMs and data distributions. However, existing CP methods for LLMs typically assume access to the logits, which are unavailable for some API-only LLMs. In addition, logits are known to be miscalibrated, potentially leading to degraded CP performance. To tackle these challenges, we introduce a novel CP method that (1) is tailored for API-only LLMs without logit-access; (2) minimizes the size of prediction sets; and (3) ensures a statistical guarantee of the user-defined coverage. The core idea of this approach is to formulate nonconformity measures using both coarse-grained (i.e., sample frequency) and fine-grained uncertainty notions (e.g., semantic similarity). Experimental results on both close-ended and open-ended Question Answering tasks show our approach can mostly outperform the logit-based CP baselines.
[ -0.3068991601, -0.4774729013, 0.7894217372, 0.314185977, -0.2976948023, -0.1065978408, -0.3867142498, -0.5560827851, 0.0845891982, 0.4899353087, -0.6535086632, -0.5425440669, -0.688955307, 0.0841812044, -0.2657339275, 0.6915220618, -0.0630439669, 0.0174597744, -0.3738692105, -0.0897421688, -0.4623662829, -0.270082891, -0.2895461619, -0.0129390471, 0.3092070222, 0.1767052859, 0.5670742393, 0.7252468467, 0.2566458881, 0.1269786358, -0.1873498112, 0.1048824415, -0.1877667308, 0.1266815662, 0.1685763747, -0.7774406075, -0.4079521, -0.2232200652, 0.7425233126, 0.9178375602, -0.0296730362, 0.3981637657, 0.1241444573, 0.7286286354, -0.7462262511, 0.4904188812, -0.9595032334, -0.1972030103, -0.0726426467, 0.2567777336, -0.3951161504, -0.3648188412, 0.3488314748, -0.7780498862, -0.0244565215, 0.2558508217, 0.4190186262, 0.429372102, -0.299885422, -0.2866585553, -0.6995694637, 1.1027437449, -0.8430066109, 0.731877923, 0.7746785283, 0.1760490835, -0.2173713744, -0.3240051866, -0.5054816604, -0.1876002401, 0.0609838627, -0.0729292482, -0.1698195636, 0.1410779953, -0.0904860497, 0.1101904511, -0.4864105284, -0.1035184562, -0.4937717915, -0.3256171644, 0.453019172, 0.0037881075, -0.0846463516, 0.1405940801, -0.2075225562, 0.1536767632, -0.6435868144, 0.2538394332, 0.2318905443, 0.5397322178, -0.2454633415, 0.5666112304, -0.0240235645, 0.5711936355, -0.047495041, 0.0420303009, 0.113196373, -0.219298467, -0.3472184241, -0.2305811048, 0.8000169992, -0.0115743885, 0.2776696086, -0.152992025, -0.2576939464, -0.1205455661, -0.0523460284, -0.5216248631, -0.3060201108, 0.636752069, -0.1639942378, -0.072293736, -0.122046113, -0.8019452691, -0.2578916252, -0.4047050476, 0.0784927905, -0.6038591266, -0.4330564737, -0.0914142057, 0.0739193186, 0.0678238571, 0.3540480137, -0.8835870028, 0.3037037551, 0.7680985332, 0.9946754575, -0.1362599581, -0.2497512698, -0.3589311838, 0.171541214, -0.6332620382, 0.7848545909, -0.6649494767, -0.4782808423, 0.0574620888, -0.1092153043, -0.0292464979, -0.3836607933, 0.5897484422, -0.3896547556, -0.3296850026, -0.0825875849, -0.9544957876, 0.0272018071, 0.1763767004, -0.8065470457, 0.7333442569, 0.1878328025, -0.4936707616, 0.2100579888, -0.4111056626, -0.1562136859, -0.0704550371, -0.1547813565, -0.5429997444, 0.26622805, 0.1216888875, 0.2464295626, -0.1098403484, 0.0866672173, -0.7145723701, -0.2062484175, 0.4235734642, -0.4425200224, 0.4720007181, 0.1721095294, -0.1009315923, -0.0333790556, -0.7399413586, 0.5750857592, -0.328265518, -0.2526925802, -0.3572241664, -0.006033055, 0.0852098987, -0.1928397566, 0.4172003865, -0.5969663858, 0.0019014991, -0.7079548836, 0.4584350586, 1.1014425755, -0.3159684837, 0.7049676776, -0.3633809686, 0.4314761758, -0.349037677, 0.2291946262, 0.0757870302, -0.4479464293, -0.3873074353, -0.4072751403, 0.3489464521, 0.549959898, -0.1955023706, 0.4222522676, -0.3014928102, -0.6729460359, -0.3803963959, 0.4617628157, 0.6206615567, 0.112093769, 0.2716714144, 0.116450198, -0.7085524797, -0.6782379746, -0.1200061515, -0.6078516245, -0.3723590672, 0.3637334704, 0.1528578103, -0.2763395011, 0.8318225145, -0.5558152199, -0.3050413132, -0.0833833069, -0.1500952095, 0.30990237, 0.3018803895, 0.3852780163, -0.7280883193, -0.6654817462, -0.1288278401, -0.4545709789, -0.1200355738, 0.1619022638, -0.0223740749, 0.4081585705, 0.4925326109, -0.5940691829, 0.2129447311, 1.074659586, -0.1499794573, 0.6841836572, -0.0732137039, -0.2564911544, -0.7312380672, 0.1279573888, -0.043318972, -0.3494506776, -0.5927950144, -0.1009373441, 0.2863062918, -0.0730622113, -0.3758047521, 0.713916719, -0.240751192, 0.1848378032, -0.2440847754, -0.0872493535, 0.0194641929, 0.4272360504, 0.1796111465, 0.9043799639, 0.7204438448, -0.6725972891, -0.1366465688, 0.3053805828, -0.2139146328, 0.3468321562, -0.6856407523, -0.0402613468, -0.100422211, 0.2545526028, -1.2023046017, -0.1622240245, -0.0899736285, -0.5795637369, 0.1545091271, -0.1573905796, -0.1884147376, -0.1557933539, -0.3933923244, 0.578551054, 0.5383065343, -0.1827577204, 0.6179214716, 0.3969151378, -0.2440296561, -0.411431849, -0.7184049487, -0.2306282222, -0.0619690567, -0.4095532, -0.1251662523, -0.5987640023, -0.1160020381, -0.1758408844, -0.4870289862, -0.4702342451, 0.0297439564, 0.3943407238, 0.481593281, -0.227224797, 0.2556576133, -0.0364093706, 0.0684323385, 0.0263030529, -0.5720478892, 0.4051359296, -0.5327791572, -0.4241542518, -0.3587093353, 0.186226964, 0.759657681, -0.1097509116, 0.5579237938, 0.1260471642, -0.4141405523, -0.2429525703, -0.5575296283, 0.0014662615, -0.4590851068, 0.1166713238, -0.2090741694, -0.8889279366, 0.6042268872, 0.0229006968, 0.2880693972, 0.1814534515, 0.4369013906, -0.1127780601, 0.6481910944, 0.7490726709, -0.0896512717, 0.3397127986, 0.0760812759, 0.1875936389, -0.7980644703, -0.0788848102, -0.4237733185, 0.0452360921, -0.4907905757, -0.361033529, 0.3890607655, 0.1417845786, -0.3115340769, 0.3593884408, -0.3075599968, 0.4434231818, 0.4448643327, 0.0219328124, 0.324539125, -0.2315220982, 0.0303180255, 0.0908039436, -0.0935379639, -0.45748505, 1.6377869844, 0.3799481988, 0.8219092488, 0.1707472205, 0.483237803, 0.1738682985, 0.3091950715, -0.7193946838, 0.3262164295, -0.1214976758, -0.5670436025, -0.7653671503, -0.3884816468, -0.8494285345, -0.045927193, 0.0117957108, -0.9030747414, 0.2499766499, 0.4512420297, -0.3609847426, 0.2344872504, -0.6454917789, 0.3841797113, 0.0818778351, 0.142582342, 0.3136745095, -0.5768413544, 0.2431595176, -0.5953491926, 0.5775747299, -0.3944661915, -0.2983630002, 0.3022218049, -0.3388089538, 0.9926755428, -0.1011617035, -0.226706937, 0.4750955999, 0.4018577933, 0.5948467255, 0.3524067104, -0.2650389075, 0.5502182245, 0.6223620176, -0.4530969262, -0.5692636371, 0.5757766962, -0.6793096066, -0.3852310777, -0.1385395974, -0.6149453521, -0.5203369856, 0.3331323266, 0.2290174067, -0.0067298971, -0.0808743387, 0.1147923842, 0.7953668833, 0.0821622759, 0.3254908919, 0.4708988667, -0.1638178676, -0.3851788342, 0.7690879107, 0.0140585592, 0.5728508234, 0.3233035803, 0.4552381039, -0.5923007131, -0.6252924204, -0.362662524, 0.1838802993, -0.4780843556, -0.3510912359, -0.4146680534, -0.0892195702, -0.6737958193, -0.0556256026, -0.5868732333, -0.3557085395, -0.1178834885, -0.0107242512, 0.2896910012, 0.4134774506, -0.0286805388, 0.3628423214, -0.7634071112, 0.0957735777, 0.1432842314, 0.858296454, -0.0513298362, -0.4413405955, -0.0392971784, 0.2545467615, -0.1955283135, -0.5921678543, 0.3454225063, 0.5973570347, 0.4338278472, 0.191672653, 0.3587611318, 0.5166085958, -0.6442778707, 0.6723202467, 0.226647228, -1.0927850008, 0.5116394758, -0.3094743192, 0.1689817905, 0.6377522945, 0.2773164511, -0.4122780263, -0.9179305434, -0.4665407538, -0.8797765374, 0.2868775129, 0.3397003412, 0.2620046437, 0.0198904593, 0.3134194314, 0.2025785148, 0.4791780412, -0.8829162121, -0.1513817012, -0.2399477959, -0.3599646986, 0.0023932243, -0.1662442237, -0.0399641842, -0.0832670555, 0.6148777604, -0.3571596444, 0.2501188517, 0.2649958134, 0.2067030817, -0.4735635817, 0.3964452147, 0.397801429, 0.984185338, -0.4623917341, 0.0974960178, 0.3393943012, -0.5847399831, -0.0298568774, -0.1372547597, -0.1404869854, 0.0492663942, 0.3804496825, 0.5443740487, 0.0012524845, -1.3072972298, 0.6221194267, -0.0323067605, -0.2311789542, -0.9369338751, -0.2297774255, 0.1268105209, 0.3777040243, 0.2778299153, 0.0034534894, -0.0711252838, -0.2086071074, 0.4244672954, 0.4944316447, -0.6534433365, -0.3567923903, 0.6591399312, -0.2393718958, -0.0436524414, 0.3300481737, 0.101211518, -0.0298878793, 0.5816797614, 0.6397114396, 0.7488639355, -0.3442498147, -0.0113032842, 0.1871073991, 0.2343467623, -0.2786724269, 0.2622627318, 0.2894724309, -0.6342406273, -0.4971083105, -0.955501318, -0.4791292548, 0.4216167033, -0.5727074742, 0.3216298223, -0.7925006151, 0.0328716822, -0.0715909079, -0.2653982639, -0.5243730545, 0.0295771826, 0.1419450194, 1.1504460573, -0.7547824979, 0.7704722285, 0.3912242949, -0.1045780331, -0.9540137649, 0.1909329891, 0.030978173, -0.8561153412, 0.3579662144, 0.0582062006, 0.0947539359, -0.2028387636, -0.6530502439, -1.0432248116, 0.9100417495, 0.5932573676, -0.7115793228, -0.0566009134, 0.2713357508, 0.4314095676, -0.1251440793, -0.0350434296, 0.5364817381, 0.5347182751, 0.2814369798, -1.2387931347, -0.0106931003, 0.0731180161, 0.0311721563, 0.3217501044, -0.4571487606, 0.9236610532, -0.0995743871, -0.1283324957, 0.3822022676, 0.7239987254, 0.4725186229, 0.2983919382, 0.6713274121, 0.3086669147, 0.9938852787, 0.1999219358, 1.0730612278, -0.4772696793, 0.5146780014, 1.0517423153, -0.1033106297, 1.1219636202, 0.6038435102, -0.4316073358, 0.1224786192, 0.7069427371, 0.1228960976, 0.6021615267, 0.2709797323, -0.5097899437, -0.3446499705, 0.1216602325, -0.1189439744, 0.1968071908, 0.4564861953, -0.0093253506, -0.1660617888, -0.0645036921, -0.0670380965, 0.2464612722, -0.4213441908, 0.7168676257, 0.2863415778, -0.4637441337, 0.9120885134, -0.2174244374, 0.6401191354, -0.8181527853, 0.1570119858, -0.0204725601, 0.0467877425, -0.0626707226, -0.7644026875, 0.5833186507, -0.282918632, -0.2126469016, 0.1163132489, 0.3480060995, -0.468071878, -0.8669823408, 0.2465056777, 0.453517735, 0.0454840548, -0.2967244387, -0.3891758919, -0.0319468193, -0.1061182916, -0.1208745018, 0.2937781513, 0.6859488487, -0.1668113917, 0.8951820731, 0.5980519056, 0.3867027164, 0.1906366497, -0.3166035116, 0.8410633206, -0.3012516499, -0.4782955945, -0.9104810953, 0.1776762307, 0.417240262, -0.1859157979, 0.3232996464, 0.6027469039, 0.7682845592, -0.1751539558, 1.1521567106, 0.0383465253, 0.5731501579, -0.503281951, 0.360987395, -0.50245893, 0.3387129605, -0.209395498, -0.8848273754, -0.4797299504, 0.3322882056, -0.1763477027, -0.4349422455, 0.6112079024, 0.6760818362, -0.1530759633, 0.013623029, 0.4959672987, 0.0834482387, 0.4012468457, 0.6531150937, 0.3430080414, -0.166230768, 0.8811552525, -0.0338747948, -0.4008363783, 0.1472230554, -0.9150848985, -0.8538544178, -0.6884849668, 0.123160556, -0.3467469811, -0.0027825276, 0.9120345712, 0.6007416844, -1.0826921463, -0.2592079937, -0.3145766556, 0.1133554131, -0.1820617318, -0.130726397, 0.493632704, -0.6416050196, -0.9528697729, 0.1890202165, 0.0240429528, 0.2383765429, -0.2124949694, -0.0584228672, 0.153190136, 0.3832267821, 0.4048330486, 0.4079805315, -0.7999669313, -0.509724915, 0.1147498637, 0.1219074428, 0.0442204699, 0.6690069437, -0.4394973814, 0.2168286741, 0.2554306984, 0.9497925043, 0.1202350929, -0.0416433327, 0.7200688124, -1.0882995129, 0.2514512241, 0.3588949144, 0.3531746864, -0.0632930845, -0.5596013069, 0.293140769, 0.0424379483, -0.5727590322, -0.7682153583, 0.590729475, -1.1070507765, -0.4030849934, 1.342079401, -0.3514933288, -0.4165051877, -0.341208905, 0.0118157286, -0.1243776903, -0.6348338723, 0.7379001975, 0.8045759797, -0.1939705163, -0.1333135217, -0.748161912, 0.4521529377, 0.2227635682, -0.5538817644, 0.6624107957, 0.4672533572, 0.5308609009, 0.337962836, 0.7126868963, -0.092502974, 0.0424408764, -0.340983361, -0.0807448998, -0.0751819089, -0.2744491994, -0.0243573971, -0.0088367518, 0.5013756156, -0.0388923958 ]
http://arxiv.org/abs/2403.01203v1
http://arxiv.org/pdf/2403.01203v1
Pseudo-Label Calibration Semi-supervised Multi-Modal Entity Alignment
2024-03-02T12:44:59
2024-03-02T12:44:59
Luyao Wang, Pengnian Qi, Xigang Bao, Chunlai Zhou, Biao Qin
cs.LG
cs.LG, cs.CL, cs.DB
Multi-modal entity alignment (MMEA) aims to identify equivalent entities between two multi-modal knowledge graphs for integration. Unfortunately, prior arts have attempted to improve the interaction and fusion of multi-modal information, which have overlooked the influence of modal-specific noise and the usage of labeled and unlabeled data in semi-supervised settings. In this work, we introduce a Pseudo-label Calibration Multi-modal Entity Alignment (PCMEA) in a semi-supervised way. Specifically, in order to generate holistic entity representations, we first devise various embedding modules and attention mechanisms to extract visual, structural, relational, and attribute features. Different from the prior direct fusion methods, we next propose to exploit mutual information maximization to filter the modal-specific noise and to augment modal-invariant commonality. Then, we combine pseudo-label calibration with momentum-based contrastive learning to make full use of the labeled and unlabeled data, which improves the quality of pseudo-label and pulls aligned entities closer. Finally, extensive experiments on two MMEA datasets demonstrate the effectiveness of our PCMEA, which yields state-of-the-art performance.
[ -0.4159710109, -0.6465581059, 0.6803042889, -0.2437757254, -0.415574044, 0.0847478956, 0.0029305366, -0.4404911697, 0.5558003783, 0.0326090455, -0.5617258549, -0.4469876289, -0.043773327, -0.0502906814, 0.2805012465, 0.8557037115, 0.0391145498, 0.2028842568, -0.3470336497, -0.1512087286, -0.5613655448, -0.257232964, -0.1269317716, -0.1498482525, 0.4792731702, 0.199679628, 0.6442143917, 0.2353369594, 0.2195823342, 0.2962303162, 0.3251170814, 0.6957625151, -0.636785388, -0.3079846501, -0.3343016207, -0.2885943949, -0.6930172443, 0.2644317746, 0.5621603727, 0.6067339778, -0.0541635677, 0.2999810278, -0.0930606201, 0.2215163857, -0.6505774856, 0.3460552692, -0.4507977366, -0.0911474526, -0.3164030015, -0.4127088487, -0.4007638097, -0.1105203703, 0.2280196548, -1.1223253012, -0.3537179232, 0.2121484429, 1.0363018513, 0.4872733653, -0.8992425203, -0.0311628077, -0.6697806716, 1.0950394869, -0.4144457281, 0.7089501023, 0.3361771107, 0.3124462962, -0.0563978106, -0.6049733162, -0.6834256649, 0.209897697, -0.0919027627, 0.4859348536, -0.1056557894, 0.0070638284, -0.1003038734, 0.2305470258, -0.5908603668, -0.052886609, -0.2966196239, -0.7037309408, 0.1937423199, -0.0606586076, 0.3030844927, 0.0030268268, -0.8855348229, -0.3278913498, -0.6287418008, -0.0965083987, 0.2946352363, 0.1941674054, -0.0514264181, 0.6263529062, 0.1247143373, 0.8555855751, 0.3886098564, -0.5402910113, 0.6666494012, -0.7442210317, -0.3913064897, 0.2392564565, 0.7843928337, 0.5016818643, -0.374107331, -0.216755867, -0.2070925385, 0.278059274, 0.2709138989, -0.7889555097, -0.3298412561, -0.148817718, -0.5010583401, -0.2081026882, 0.0981474891, -0.943695724, 0.0343374722, -0.8945850134, 0.7864351273, -0.2571647763, -0.1883945465, -0.1507968456, 0.2179237306, 0.2157930136, 0.1417076886, -0.3168562353, -0.3266081512, 0.2524365783, 0.5872468352, 0.1536788344, -0.1276512593, -0.4199433327, 0.67153579, -0.160185799, 0.6594145894, -0.7422537804, -0.2310677618, -0.2494443357, 0.0821574628, -0.3008415401, -0.3543365598, 0.1801431477, -0.7600881457, 0.4273611605, -0.4042527974, -0.414452821, -0.4670264125, 0.2841363549, -0.6766317487, 0.8058248758, 0.0889925882, -0.6619747281, 0.4464259446, -0.1983033419, -0.2958699167, -0.1882862598, -0.4224520326, -0.6656013131, -0.0173012186, 0.1413929611, 0.2189493775, -0.3834320903, 0.5587694645, -0.5229480267, -0.1513501704, 0.1447099, -0.4227638543, 0.4614667296, 0.2288365066, -0.2993308604, 0.2465097904, -1.0363830328, -0.0781055316, -0.2501859069, -0.0894223601, -0.51726228, -0.150848195, -0.0898842514, 0.6518082619, 0.5756886601, -0.3039824665, 0.0256428346, -0.2008004189, 0.1612506807, 0.7245394588, 0.1546010375, 0.647855103, -0.1893302798, 0.2393321246, 0.554653585, 0.0083313845, 0.0955356434, -0.3140452504, -0.2496709377, -0.7448109984, 0.3161521554, 0.4659798145, -1.2400504351, 0.5856518149, -0.2613811791, -0.4592548311, -0.4709351063, 0.3584374785, 0.4137154222, 1.1022280455, 0.6193982363, -0.5939190388, -0.4500206113, -1.1028500795, 0.3296182752, -0.2509157062, -0.0584030598, 0.3634781241, -0.0139736608, -0.4071008861, 0.9204785824, -0.2447933555, -0.6907377839, 0.4366107285, 0.6650194526, -0.0812954679, 0.3654136658, 0.6624945402, -0.9664773941, -0.2258704901, -0.112734504, -0.6505907178, -0.2139688879, -0.414640069, -0.4859009981, -0.4100384712, 0.1383426487, -0.3901274502, 0.1422781944, 0.431607455, -0.1939285696, 0.1961295456, -0.1736703962, 0.3321840465, -1.4108304977, 0.1690843403, 0.4423324168, -0.4789189398, -0.4046214521, -0.4260592163, 0.3318095207, 0.0120511167, -0.4968348444, -0.0370213464, -0.8553429246, -0.0018770039, -0.2998353243, 0.257294029, 0.0103179077, 0.5744251013, 0.2284275889, 0.9764780998, 0.5740206838, -0.6037647724, 0.1308488399, 0.1078203171, 0.0553335175, 1.0790555477, -0.1877146214, 0.0868820995, -0.0604238138, 0.4102601707, -0.7677745223, 0.1275420189, 0.2507029772, 0.0763955936, 0.5820618272, 0.032250911, -0.4023653567, -0.0777804181, -0.4213567674, 0.7327221632, 0.0179985724, -0.37080881, 0.926204443, 0.697009027, 0.4666192234, -0.4968639612, -0.4925835431, -0.1750387996, -0.0605640896, -0.4561424255, 0.7682091594, -0.2266875654, 0.1201800928, 0.1172251329, -0.3145629466, -0.0910554454, -0.3066636622, 0.3632437885, 0.6346840858, -0.4409070909, 0.0201136936, 0.3408719301, -0.1327444315, -0.1240007505, -0.2676431537, 0.2944338918, -0.1965051591, -0.3704349697, -0.8128049374, -0.0050334921, 0.4798301458, -0.3047568202, 0.9129474759, 0.7108665705, -0.442835182, 0.2686898708, -0.4881067574, -0.3756276667, -0.4231490195, 0.2661952972, -0.5148352981, -0.5596325994, 0.2764125764, -0.5784038305, -0.0409885235, 0.3978753984, 0.5445878506, -0.211507231, 0.940942049, 0.7040361166, -0.1920044124, 0.3366007805, -0.0928740576, 0.5137798786, -0.7980514765, -0.4725272059, -0.1564989388, -0.5905948877, -0.4643304646, -0.7004162073, 0.4487145245, 0.0370116979, 0.2319559753, 0.4340603054, -0.3226462305, 0.3268762529, 0.5183600187, 0.4634031951, 0.1578055024, -0.2397205085, -0.0344229676, -0.2704758346, -0.3400872052, -0.5032126904, 1.0525128841, 0.0260442458, 0.6168200374, 0.1832320243, 0.4213479459, 0.1086038798, 0.2515189052, -0.5085829496, 0.3843468428, 0.2286861688, -0.6548169851, 0.0975038633, -0.6763608456, -0.5531992316, 0.3093597591, -0.4173788726, -0.5499459505, 0.7376930118, 0.3196272254, -0.2446313798, 0.1654391885, -0.8357713819, 0.9548357725, -0.1718630195, -0.4051566124, -0.1554426551, -0.8813552856, 0.4434943199, -0.4173043966, 0.3398623168, 0.1361286044, -0.2062774152, 0.680817306, -0.3026463389, 1.0175248384, -0.1887537092, -0.1317604333, 0.3303019106, -0.0694529191, 0.4557493925, -0.0509239957, 0.2711852193, 0.0306263603, 0.1838614941, -0.3690232337, -0.3743450344, 0.8186905384, -0.7798136473, -0.2225549221, -0.2620417476, -0.6548793912, -0.5362493396, 0.3071944714, -0.171525836, 0.4130814672, -0.1615897268, 0.1295397133, 0.8288679719, 0.1124162674, 0.2899783254, 0.6092141271, 0.181714654, -0.5323184729, 1.374688983, 0.1144867688, 0.0137344562, 0.5566555858, -0.1814402491, -0.4713772833, -0.0535257421, -0.5051290989, 0.4412741363, -0.463065356, -0.488147378, -0.4521980286, 0.3413302004, -0.3656544983, -0.0421089046, -0.4579977393, -0.2729878426, -0.7868441343, -0.0142939454, -0.2755290866, 0.1917172372, -0.1814377308, 0.2994497716, -0.6395820975, 0.4052443802, 0.4136808515, -0.1493881345, -0.2995103598, -0.430639714, 0.0758813098, 0.1742468625, -0.4080360234, -1.3841253519, 0.0517255962, 0.2099857777, 0.5329133868, 0.7499937415, 0.116515331, 0.9792473912, -0.2815923989, 0.5543174744, 0.5723398924, -0.797457695, 0.448667258, 0.1083283052, 0.026797181, 0.8156368732, 0.5792192817, 0.1406567693, -0.0389721505, -0.3956302702, -0.6921520829, 0.4927310944, -0.0084311264, -0.0830965787, 0.1150507331, 0.0684626773, 0.025655847, 0.3525851369, -0.7849733829, -0.5278919339, -0.2978553772, -0.565862596, 0.0338330604, -0.254127115, -0.2780844569, -0.034111917, 1.0754927397, -0.3244669735, 0.0122587727, 0.1096025854, -0.6463424563, -0.2493483573, 0.1179901063, 0.6124677062, 0.9754822254, -0.166097641, 0.5144161582, -0.091793865, -0.2213367969, 0.1870674342, 0.4449679852, -0.2524269521, -0.1693611592, -0.1519608945, 0.6474227905, 0.5157792568, -0.4596889317, 0.7071146369, 0.0282723252, 0.0010498784, 0.3198589385, -0.4239453971, 0.0683168545, 0.3087214828, 0.1391722262, 0.1666728556, 0.2783821523, -0.5927147865, 0.4652519226, 0.5985289216, -0.5293565392, -0.738052845, 0.7616443634, 0.0978585258, 0.3463351429, 0.2099312693, -0.2583075762, -0.4146921337, 0.055107981, 0.642239213, 0.2862452865, -0.3165039718, 0.3627257049, 0.2983714342, 0.4439606667, 0.3684616089, 0.176950708, -0.3386959136, -0.5336370468, -0.4614894986, -0.5575427413, -0.2214010507, 0.0019991372, -0.5638201237, 0.29371351, -0.1636054516, -0.3574565947, 0.1170649752, -0.0348248109, -0.7364426851, 0.4150854647, 0.1464684159, 0.2978263199, -1.2043147087, 0.8657739758, 1.1075258255, -0.758127749, -1.0221321583, -0.240612641, 0.3285315931, -0.5403705835, 0.278804183, 0.1825266927, -0.2656306624, 0.0398233756, -0.0911737159, -0.7255671024, 1.3499692678, 0.5135625601, -0.8133362532, -0.0648997575, 0.1344791502, 0.3309542537, -0.1995134056, 0.3595996201, 0.1912948191, 0.5713150501, 0.2986488044, -0.7629559636, 0.0224336963, -0.1010876149, -0.1417034417, 0.290903002, -0.7765049338, 0.1460773498, 0.2347372174, -0.14537099, -0.5557373166, 1.1298097372, 0.2937877476, 0.6381278634, 0.7549282908, 0.8088431358, 0.8895897865, 0.0349986553, 0.4702907503, -0.2766228914, 0.262724489, 1.188824892, -0.3397507071, 0.4365819693, 0.8741198778, 0.0052862247, 0.3193860352, 0.7945058346, 0.1636676788, 0.7947232723, -0.3121437132, -0.2020500451, -0.4598411918, -0.3111834824, -0.3375451267, 0.3965988457, 0.0355711319, -0.411845386, -0.2938689291, 0.1016381308, -0.1608096361, -0.1278930753, -0.1316473037, 0.8381635547, 0.0362009183, -0.2595368624, 0.1020795032, -0.035289254, 0.4986708462, -0.2610594928, -0.0254059937, 0.1423863024, -0.2256503701, -0.0952807814, -0.2960288525, 0.0465511605, -0.449932754, -0.3837025464, -0.1660082489, 0.7857472897, -0.6779692173, -0.2663626671, 0.143707186, 0.5473077893, 0.0303796455, 0.0865010247, -0.7306161523, -0.0973135605, 0.0733496025, -0.2475331277, 0.4553426504, 0.4878893495, -0.0193320978, 0.091244787, 0.6778374314, -0.0924395472, 0.2345247567, 0.0492747054, 0.9822078943, -0.2786763012, -0.409606874, -0.5483342409, 0.3758422434, -0.065683879, -0.1168274805, 0.4352048934, 0.8732261062, 0.886367023, 0.1332640946, -0.0776748359, 0.0421249568, 0.0911874026, -0.493773222, 0.5103634, -0.7983736396, 0.1585837454, -0.1945420057, -1.3565837145, -0.2226457149, 0.4359071255, -0.2688694596, 0.0026855217, 0.620926559, 0.9659943581, -0.6022299528, -0.0641450211, 0.4499119222, 0.0669169351, 0.3038998246, 0.6536636353, 0.4517210126, -0.420743525, 0.4916786849, -0.6814204454, -0.4599304795, 0.0611735508, -0.8075249791, -0.7221753597, -0.7813975811, -0.6071605086, -0.0080958419, -0.2725811899, 0.6494566202, 0.9956125021, -0.7343487144, 0.297159344, 0.3558228612, -0.2061225921, -0.1685265899, -0.2500112355, 0.5309485793, 0.0201573726, -0.8666307926, 0.7801071405, 0.4891993999, 0.1173711419, -0.0408712141, 0.0205621663, -0.4496774077, 0.0776144713, 0.3622616231, 0.1396271437, -0.4974016845, -0.0741659701, -0.3317373991, -0.1617938429, 0.0958746746, 0.6224806309, -0.7362074852, 0.7660440803, 0.3033759296, 0.705952704, 0.4211356342, 0.163068518, 0.3935050964, -0.7502706051, 0.0884768441, 0.116371043, 0.4584810436, 0.1051406935, -0.3114689887, 0.1610558927, 0.3952427506, -0.4146111012, -0.7996584177, -0.0946537703, -1.3574354649, 0.0135110915, 0.5571736693, -0.0198791046, -0.4431971312, 0.0994091555, -0.2435671687, 0.6656128168, -0.3351726234, 0.5926350355, 0.4835368395, 0.1147149727, -0.1351656914, -0.1535560042, 0.137655586, 0.5505996346, -0.9273564816, -0.5884612799, 1.0077519417, 0.0636569187, 0.4145591855, 0.286899209, -0.1194416061, 0.3345783055, -0.4685642421, -0.0150863137, -0.1353928745, -0.4749798775, 0.0441629142, 0.241391778, -0.3347464502, -0.3791471124 ]
http://arxiv.org/abs/2403.01197v2
http://arxiv.org/pdf/2403.01197v2
DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modeling
2024-03-02T12:31:22
2024-04-28T03:24:41
Shanghaoran Quan
cs.CL
cs.CL
The performance of the reward model (RM) is a critical factor in improving the effectiveness of the large language model (LLM) during alignment fine-tuning. There remain two challenges in RM training: 1) training the same RM using various categories of data may cause its generalization performance to suffer from multi-task disturbance, and 2) the human annotation consistency rate is generally only $60\%$ to $75\%$, causing training data to contain a lot of noise. To tackle these two challenges, we introduced the idea of Mixture-of-Experts (MoE) into the field of RM for the first time. We propose the Double-Layer MoE RM (DMoERM). The outer layer MoE is a sparse model. After classifying an input into task categories, we route it to the corresponding inner layer task-specific model. The inner layer MoE is a dense model. We decompose the specific task into multiple capability dimensions and individually fine-tune a LoRA expert on each one. Their outputs are then synthesized by an MLP to compute the final rewards. To minimize costs, we call a public LLM API to obtain the capability preference labels. The validation on manually labeled datasets confirms that our model attains superior consistency with human preference and outstrips advanced generative approaches. Meanwhile, through BoN sampling and RL experiments, we demonstrate that our model outperforms state-of-the-art ensemble methods of RM and mitigates the overoptimization problem. Our code and dataset are available at: https://github.com/quanshr/DMoERM-v1.
[ -0.4004559815, -0.5249398947, 0.3870065808, 0.056490656, -0.1288733184, 0.180060342, -0.3128093481, -0.3543074429, 0.1743269265, 0.6881266832, -0.5331629515, -0.2327878773, -0.8243274093, -0.1375343055, 0.0046539884, 0.8187081218, -0.1338493079, -0.1314713955, -0.5136122108, -0.1603405029, -0.6923440695, -0.5792172551, -0.4555574059, -0.5938519835, 0.7707542181, 0.6217013001, 0.3371967673, 0.8437303305, 0.5454133153, 0.3118638098, -0.0665454939, 0.5536490679, -0.6048634648, 0.1974194348, -0.1424784362, -0.5065085292, -0.6103778481, 0.2992576659, 0.2990022898, 0.3938812315, -0.4112759531, -0.2069405466, 0.0295076109, 0.7268680334, -0.7219067216, 0.1477836221, -0.7749503851, -0.1647852957, -0.0883884355, -0.4271946847, -0.3143700957, -0.0545471348, -0.0336984582, -0.5780715942, -0.1043880433, 0.080120407, 0.5386433005, 0.7429544926, -0.5345839262, -0.1448564231, -0.7315816283, 1.1155406237, -0.6154457927, 0.083293207, 0.5116322637, 0.3098263741, -0.3149638474, -0.1199641302, -0.5721501112, -0.1586736143, 0.1914307028, 0.2057586908, 0.0956359431, 0.023384057, -0.1449946761, 0.6827546954, -0.2055549771, 0.5108073354, -0.1548147798, 0.040693555, 0.9258078933, 0.3481587172, 0.1480147392, 0.1038024276, -0.6810013056, -0.3134047389, -0.4773482084, 0.1089946628, 0.4338770509, 0.0190534648, -0.0114435609, 0.5438994765, -0.3324383199, 0.7174758315, 0.1476367563, -0.4896597862, 0.1546523869, -0.0990524516, -0.0061847582, 0.0227784496, 0.7629035711, 0.4086880684, -0.0165158901, -0.2403030396, -0.5234043002, -0.0211459119, 0.2647414804, -0.6111422181, -0.4305406809, 0.3642475605, -0.100220032, -0.6051451564, 0.1872113943, -0.4054521918, -0.5325733423, -0.6335389614, 0.6388235092, -0.4021068215, -0.6108647585, 0.4021603763, -0.1929641962, -0.273160696, 0.3316102624, -1.0817190409, 0.2471631169, 0.9647182226, 0.5506683588, -0.3777359128, -0.2853879631, -0.6242719889, 0.2467522919, 0.0183604341, 0.7534376383, -0.4488738179, -0.3022862673, -0.3316113055, -0.5066691637, -0.2019084096, -0.7333906293, 0.4933815002, -0.4604193866, 0.195561111, -0.3366715312, -0.7470123172, -0.2544185817, 0.4292996228, -0.5842200518, 1.1159747839, 0.2260116637, -0.6148672104, 0.4752426445, -0.7518689632, -0.2174038589, 0.0928311422, -0.2488222718, -0.1343802512, 0.1713915467, 0.2069454342, 0.4977573752, -0.3138019443, 0.4315428138, -0.1186902598, -0.284017235, 0.4893987775, -0.2124428153, 0.4854470491, 0.2016154826, -0.267314285, 0.1905254722, -0.7074767351, -0.0523981079, 0.0838305131, -0.6015723944, -0.5726515055, 0.1042514071, 0.0197118949, 0.4016720355, 0.2892002463, -0.5008023381, 0.4420188069, -0.2145494223, 0.6062095761, 1.0289281607, -0.2391677052, 0.5377586484, -0.5235218406, 0.461751312, 0.3026494682, -0.0079218149, -0.0512833372, -0.3586541116, -0.6380811334, -0.7739157677, 0.6202526689, 0.5698994398, -0.5236132145, 0.9626284242, -0.3725300729, -0.4856717288, -0.7621397972, 0.3302871287, 0.3476592302, 0.480817765, 0.3123844266, -0.4648593068, -0.294968456, -0.9383946657, 0.0542940684, -0.0318914317, 0.0080168815, 0.2615130246, 0.4766564667, -0.233759135, 1.0868595839, -0.5202512741, -0.4246174395, -0.259963274, 0.3204641938, 0.0657485351, 0.8538782597, 0.2694962919, -0.7839873433, -0.3386839628, 0.086559169, -0.607550025, -0.0471283793, 0.1559048146, -0.3541744053, 0.0699174181, 0.0317657217, -0.480152905, -0.1328692287, 0.612108171, -0.0031739261, 0.1822175831, -0.1426199377, 0.2297073305, -1.1545953751, 0.1073121279, 0.0875547826, -0.2191412151, -0.4170882404, 0.2028956562, -0.0329115614, 0.2375628948, -0.129445374, 0.5884885788, -0.1926435828, 0.3671706021, -0.5973658562, -0.1329674721, -0.0868570507, 0.7411722541, 0.0816664472, 0.4741009176, 0.4448956847, -0.587105453, 0.4475759864, 0.0721362233, -0.4622723758, 0.6567213535, -0.6572884321, 0.2887242138, 0.0126022361, 0.2271772325, -0.9601686001, -0.5178394914, 0.342979759, -0.2618392408, 0.5162747502, -0.1432946473, -0.6403378844, -0.1825693697, -0.20100905, 0.4715890586, 0.7725088596, -0.3557485938, 0.6698983312, 0.6092716455, -0.1862517297, -0.6745541692, -0.6502082944, -0.0257698819, -0.252846688, -0.8178032637, 0.6201627254, -0.2458395809, -0.2102492005, -0.0801142007, -0.2389522195, -0.1196069047, 0.3641327024, 0.3021392822, 0.1561257094, 0.0855484605, -0.1089057922, 0.1572398543, -0.3660591841, -0.0991276205, -0.2668457329, 0.4943201244, 0.1876091361, -0.4806761146, -0.5631712079, 0.3360504508, 0.5532490015, -0.3052981794, 0.7562106848, 0.5965905786, -0.1967817098, -0.029508071, -0.9549916387, -0.2755227089, -0.4249686003, 0.3065440655, -0.2969047427, -0.8639948368, 0.454184562, 0.0426723771, 0.2238639891, 0.3538113832, 0.6617905498, 0.0440468378, 1.1606515646, 0.6011182666, -0.4029040933, 0.485870868, -0.3066660464, -0.0915471166, -0.7475873232, -0.4703131914, -0.2520743608, -0.6882982254, -0.1022774056, -0.4180551171, 0.5399994254, 0.2254762799, 0.0945916474, 0.0206127502, -0.5857132077, 0.4843234718, 0.7972062826, 0.3820033669, 0.274967581, 0.1084092781, -0.0049934289, 0.1106055826, -0.9664220214, -0.3849703968, 0.9572451115, 0.4891150594, 0.8861153722, -0.1427785903, 0.8938919306, 0.2155789286, 0.0673350543, -0.7802887559, 0.4345372915, -0.0274477564, -0.5984581113, -0.2214700282, -0.6298368573, -0.5924969316, 0.3554807007, -0.2493361086, -0.3113430142, 0.1202489883, 0.4523617327, -0.4470092356, 0.3282355666, -0.5393818617, 0.7893712521, -0.4168688357, -0.4139977396, -0.3975524902, -0.6604583859, 0.4718003273, -0.0128412787, 0.1268816888, -0.283875823, 0.0078066587, 0.7313073277, -0.4151261747, 0.7444117069, -0.1624558568, -0.2030713558, 0.1018487811, 0.0017731732, 0.6138367653, -0.0883073807, -0.0941510946, 0.0662192777, -0.393183887, -0.5348357558, -0.5035142899, 0.8496024013, -0.9635280371, -0.5550221801, -0.2281321138, -0.990696907, -0.0584987067, -0.0653075278, 0.178799361, 0.3750634193, 0.2015628368, 0.2842223346, 0.8928351402, 0.0884746984, -0.0580624677, 0.404074043, 0.1518745422, -0.4955763817, 1.0319161415, 0.0412493274, 0.2032428384, 0.5355335474, 0.2321270406, -0.2197657228, -0.5731443763, -0.5194139481, -0.1753289998, -0.4652158022, -0.2282170653, -0.8084309697, -0.0246512834, -0.1079159528, -0.051796075, -0.5113395452, -0.4994487464, -0.2256654501, 0.091028057, 0.4392267764, 0.7198386192, -0.058900021, 0.2950048149, -0.7031480074, 0.109000653, 0.4852901101, 0.255055517, 0.0515608005, -0.4960811138, -0.4277707934, 0.3640498817, -0.4026303589, -0.3323387504, 0.2005897313, -0.1615770608, 0.8615732789, 0.3331227303, 0.0496017411, 0.5214173794, -0.0434259363, 0.6484940648, 0.3313983381, -0.6286448836, 0.319557488, -0.4409798384, -0.0688236803, 0.6083966494, 0.283428967, -0.2653303742, -0.415661186, -0.3895028532, -1.02257061, 0.8288916945, 0.0997766927, -0.132736057, 0.1429635286, 0.1952628493, 0.5522705317, 0.3830118477, -0.6340144873, -0.1191032603, -0.1496242136, -0.5031866431, -0.1696069539, -0.4039028585, -0.3903899193, -0.2322886586, 0.623765409, 0.1330084801, 0.0173612144, -0.1008575633, -0.1503067613, -0.3958505392, 0.3184076548, 0.7235395908, 0.7003316879, -0.4218166769, 0.1411968321, -0.1036458239, -0.0462803729, 0.1709407121, 0.1410548985, 0.0666963309, -0.4245159626, 0.1614415944, 0.82849437, 0.3438386917, -0.6558771133, 0.4086644053, 0.2970849276, -0.5163589716, -0.1857848763, 0.5430194139, 0.1020966843, 0.1847352386, 0.544721663, 0.2255917937, -0.1101780608, -0.3951351643, -0.0876361206, 0.4672175944, -0.1950619221, -0.2173726857, 0.7452428937, 0.4084194899, -0.0397969075, 0.5907725096, -0.1227709129, -0.6304978132, 0.5156012774, 0.1758410633, 0.6570435166, -0.1909916997, -0.0634659007, 0.0715842918, 0.0942931995, -0.5775685906, 0.186498642, 0.0443013459, -0.6863511205, -0.5074605346, -0.4914215803, -0.3942365944, 0.038098298, -0.6687865257, 0.1614274085, -0.1155629382, 0.0256657414, -0.0801488012, -0.116945073, -0.5812206864, 0.0603611618, 0.1028573886, 0.7284920812, -0.8285856247, 0.8668331504, 0.8518692255, -0.3648788929, -0.6229112148, -0.396682471, -0.0569978915, -0.8290923834, 0.7322916389, 0.1229482144, 0.0708482936, 0.0365503468, -0.5029510856, -0.5435200334, 1.2258838415, 0.1860224009, -0.6717866063, 0.1774310917, 0.0119932452, 0.2510133982, -0.5715187192, 0.1902953833, 0.3250250816, 0.5770779252, 0.2072527409, -0.8936119676, -0.1598170996, -0.2061951756, -0.0917213857, 0.305829376, -0.5843855739, 1.0617932081, 0.0175773315, 0.2170729339, 0.1212371439, 0.5077140927, 0.5994821191, 0.3680879474, 0.7679621577, 0.8713132143, 0.6587843299, -0.0266216546, 1.0640699863, -0.3419502378, 0.2354757786, 0.7712485194, -0.3330285251, 0.7483552694, 0.5929726362, -0.0214241035, 0.4235749245, 0.6059513688, 0.0282860063, 0.6800369024, 0.1652592719, -0.1280863285, -0.6357275248, -0.1193290502, -0.4468915761, 0.338530004, 0.0635927916, -0.2792982459, 0.0905329362, 0.0442790575, -0.27036798, 0.1620305032, -0.376860559, 0.814149797, -0.0295131691, -0.7567791343, 0.5807886124, 0.1494350284, 1.046112299, -0.622561574, 0.029602278, -0.1366256028, 0.2522519231, -0.2214098871, -0.6864305735, -0.2314097881, -0.277887255, -0.439940989, -0.2297556698, 0.5409549475, -0.7948381901, -0.4722898304, -0.0878816992, 0.4352459311, 0.0036082314, -0.3628750145, -0.5219377875, -0.0153894741, -0.0934091881, -0.234168455, 0.5987114906, 0.3314692676, 0.120494388, 0.8095799685, 0.5047857761, -0.1666089445, -0.0383809991, -0.1400320232, 1.0391653776, -0.519320488, -0.5558406115, -0.8837251663, 0.8966584802, -0.0064335847, -0.2675887942, 0.5488333702, 0.5646182299, 0.8140988946, -0.1662065983, 0.7588847876, 0.0144597488, 0.3943460584, -0.6753524542, 0.5145933628, -0.9246174097, 0.1878032237, -0.1179798469, -0.7922343612, 0.0482961722, 0.4909800291, -0.1415700465, 0.1325317174, 0.3121297956, 0.7223224044, -0.3796329796, -0.139095366, 0.2166681141, -0.064758718, 0.1263640225, 0.7515758872, 1.0901823044, -0.156302914, 0.4085356891, -0.5823786259, -0.3288525343, -0.6205816269, -0.8638802171, -0.8236487508, -0.4963388145, -0.453130722, -0.0293194987, -0.1301563531, 1.3215558529, 0.9311970472, -0.6378079057, -0.2403359562, 0.0096601713, 0.1035007238, -0.5787556767, -0.1863369197, 0.0456165038, -0.2440489382, -0.7373421788, 0.3886860311, 0.2628408968, -0.0002135783, -0.4049630761, -0.3437388837, 0.0227508657, -0.213926211, 0.4663955569, -0.0940380916, -0.8548279405, 0.0133366901, -0.0260551088, -0.2338425964, 0.043159306, 0.8567659259, -0.5172427297, 0.3959412575, 0.4678105712, 0.6862697005, 0.2220726907, 0.2281660438, 0.6883172989, -0.7355251908, 0.158408463, 0.2196991742, 0.3555155098, 0.2264281958, -0.4541582763, 0.5424547195, 0.1522983015, -0.7620682716, -0.9540511966, 0.1812340617, -1.447907567, -0.2239728719, 1.150277257, -0.1002391577, -0.0119145233, 0.0445005745, -0.3488053679, 0.1078533158, -0.6787248254, 1.134945035, 0.8369339108, 0.0030172036, -0.0485802442, -0.4310083091, 0.1686985791, 0.5844805241, -0.4822571278, -0.0222292468, 0.4107800722, 0.4102250934, 0.0555818118, 0.4650191963, 0.0357160643, 0.1936636567, -0.1854786575, 0.3447465599, -0.7888225317, -0.2794400156, -0.1670608521, 0.1208055317, 0.3829939961, -0.2852845788 ]
http://arxiv.org/abs/2403.01196v1
http://arxiv.org/pdf/2403.01196v1
Machine Translation in the Covid domain: an English-Irish case study for LoResMT 2021
2024-03-02T12:29:28
2024-03-02T12:29:28
Séamus Lankford, Haithem Afli, Andy Way
cs.CL
cs.CL, cs.AI
Translation models for the specific domain of translating Covid data from English to Irish were developed for the LoResMT 2021 shared task. Domain adaptation techniques, using a Covid-adapted generic 55k corpus from the Directorate General of Translation, were applied. Fine-tuning, mixed fine-tuning and combined dataset approaches were compared with models trained on an extended in-domain dataset. As part of this study, an English-Irish dataset of Covid related data, from the Health and Education domains, was developed. The highest-performing model used a Transformer architecture trained with an extended in-domain Covid dataset. In the context of this study, we have demonstrated that extending an 8k in-domain baseline dataset by just 5k lines improved the BLEU score by 27 points.
[ 0.1297728419, -0.5070264935, 0.0718456954, 0.14934659, 0.0338045768, 0.1283815056, 0.0453796275, -0.7980165482, 0.1003263742, 0.6406188011, -0.4751293361, -0.3707143366, -0.6229817867, 0.1786114872, -0.40440467, 1.2077786922, -0.2233507335, 0.1300318688, -0.3577602804, -0.0114672072, -0.6071495414, -0.7017776966, -0.6871091127, -0.4067916572, 0.234366715, 0.7277277708, 0.5751330256, 0.1593364775, 1.2472681999, 0.0800636187, 0.2717793584, 0.3384659588, -0.6738073826, -0.0022942484, -0.4819410443, -0.3804844916, -0.8481550813, 0.0863823667, 0.1357539147, 0.6826575398, 0.0789886639, 0.5423629284, 0.0521739461, 0.5074988008, -0.3570452631, 0.0967920274, -0.5507436991, 0.0652918294, -0.0246037822, -0.3303821981, -0.7212604284, 0.1547325104, 0.5593937039, -0.7232844234, 0.2483726442, 0.3850083351, 0.8945667148, 0.387373805, -0.5075516701, -0.3242558539, -0.7500350475, 0.9123966694, -0.3559556305, 0.4733372033, 0.3870400786, 0.1932973564, -0.3057373464, -0.7260926962, 0.0074893776, -0.0590918511, 0.0153344255, 0.5559504032, -0.8012269735, -0.2139898092, 0.027308194, 0.2448195517, -0.9519212842, 0.0146937575, -0.9942957759, -0.2091853321, 0.8856706023, 0.2365507036, 0.3128325939, 0.0566500686, -0.6336625218, -0.0872309506, -0.5161027908, 0.0081507312, -0.1230518669, 0.2761083245, -0.3313651979, 0.6886590123, 0.0366532244, 0.6181069016, 0.2308863252, -0.1178428158, 0.2998033166, -0.302213192, -0.6082658172, 0.2668880224, 0.1554110199, 0.5497663617, 0.0396616273, -0.3616200089, -0.0044693057, 0.1714086235, 0.462960124, -0.6843078136, -0.2631411552, 0.1532955617, -0.3220148087, 0.0797047988, -0.1378115714, -0.5467227697, -0.0547895059, -0.3509024978, 0.5861138105, -0.4121885598, 0.022720987, 0.5236526728, -0.4303560853, 0.2775229812, 0.5517958999, -0.5121135116, 0.5686023831, 0.4243474901, 0.5805871487, -0.7720134258, -0.1283710599, -0.6229016781, 0.2867221236, -0.3486376405, 0.4595242143, -0.4891850352, -0.2205944955, -0.146738708, 0.1509707421, -0.5021395683, -0.6732528806, 0.7991975546, -0.5271659493, 0.277821511, 0.1417502165, -0.4980637431, -0.3401633799, 0.2447947711, -0.5776824951, 0.879363358, 0.3314807415, -0.6137558222, 0.249017939, -0.7296761274, -0.5525833368, 0.1763012856, 0.4208814502, -0.5144768953, 0.1310862452, 0.3028739989, 0.7404238582, -0.4105421603, 0.2401621491, -0.107799314, -0.1032413617, 0.0746058822, -0.2309333533, 0.7192648649, 0.3415278196, 0.0153770521, -0.2351167053, -0.7115100622, -0.2574533522, -0.1693670899, -0.1196786389, -0.4637457728, -0.2899622619, 0.1913188696, 0.1742421985, 0.3913783729, -0.4535070062, 0.1607217789, -0.1542456001, 0.2973722517, -0.0362382494, 0.0846722871, 0.5980780721, -0.5375109911, 0.6159824133, 0.1903466731, 0.2680001259, 0.0999750271, -0.7614780664, -0.4402798116, -0.433713764, -0.040821597, 1.1161315441, -0.6776550412, 0.2152057588, -0.365073204, -0.6009206176, -0.8060695529, -0.2328433841, 0.1608350873, 0.6022032499, 0.8463490009, -0.1757131666, -0.7185906768, -0.7011948228, -0.1028916985, -0.0112964166, 0.2925529778, 0.2247296721, 0.8074710369, -0.5486404896, 0.5765875578, -0.3851781785, -0.306622982, -0.0932191089, 0.0810260549, 0.1318527162, 0.5858005881, 0.3127617836, -1.0467689037, -0.42678684, 0.5417244434, -0.8480647802, 0.0282895807, -0.0476633646, -0.0600721911, -0.0374641716, 0.4000530243, -0.1602315009, 0.7490082383, 0.98647964, -0.5375087261, 0.4945105612, -0.2550081313, 0.3678592145, -1.4261516333, -0.0833236724, -0.0808542371, -0.5029193163, -0.7856342793, 0.2828540206, 0.0000640354, -0.4571284652, -0.4999084473, 0.6255508661, -0.0965559855, 0.2515179515, 0.0125215398, -0.2677292824, 0.4691922963, -0.0386044905, -0.004892257, 0.9605311155, 0.5196198821, -0.4752157331, 0.5259214044, 0.518149972, -0.1073814183, 0.7554042339, -0.5246391296, 0.0220954865, 0.3105071187, 0.1022894979, -0.660939455, -0.3734133244, 0.1269478798, -0.4283403158, 0.0440878235, -0.078969419, 0.1086457297, -0.3303435743, 0.1812290549, 0.3078359365, 0.4165935516, -0.5932300687, 0.2383991927, 0.2613326907, -0.1817869842, -0.3261813521, -1.0664969683, 0.3380529881, -0.4780478776, -0.858774066, 0.7596703768, -0.2912925482, -0.3317960203, 0.1397124827, 0.0077137393, -0.4211796224, 0.0693484917, 0.0836445093, 0.3044267893, -0.426399678, -0.0875523314, 0.1436240673, 0.2161399275, -0.1342827082, -0.5966246724, 0.1573327929, 0.0916609466, -0.0528165251, -0.5038240552, 0.6127199531, 0.6251065135, -0.1375419348, 0.6897298098, 0.4422188103, -0.5026504397, -0.0866603628, -0.2912610769, 0.1666181684, -0.3520985842, 0.249880895, -0.5879020691, -1.0026984215, 0.4189870954, -0.1870358884, -0.2734455764, 0.6389511228, 0.5075187087, -0.2010097206, 0.4394087493, 0.9419592619, -0.0445641689, 0.1341710538, -0.2237870097, 0.1603126377, -0.6739435792, -0.2058281302, -0.489421159, 0.0641839132, -0.5534849167, -0.5381244421, 0.4066492915, 0.0965185836, 0.1090690792, 0.6941981912, -0.4368705153, -0.0978177264, 0.2249847054, 0.3745140731, 0.2279342711, 0.2166372389, 0.0384290852, 0.0375431255, -0.8692296743, -0.3507918119, 0.922239244, 0.2175162882, 0.693190217, 0.0914336815, 0.7299121618, 0.720985949, -0.1587676108, -0.5756639242, -0.0007685171, -0.6484845877, -0.4645926952, -0.4239205718, -0.2150262743, -1.1137094498, -0.3496267796, -0.0044744387, -0.4150038958, 0.5563103557, 0.0108231921, -0.3091649711, -0.0341153182, -0.9515440464, 0.7378836274, -0.0372130722, -0.3799214065, -0.2952097356, -0.3304856718, -0.0121709099, -0.4157659113, 0.2576160729, -0.0113852564, 0.3184054792, 0.8408522606, -0.2158239484, 0.7351770401, 0.1624879539, -0.1134016812, 0.122088097, -0.1520926058, 0.4514504075, -0.0592713654, -0.5299606323, 0.2284194976, 0.2398845404, -0.7464061975, -0.2994405925, 0.2799181938, -1.0269978046, -0.5654628277, -0.3325611651, -0.7672480941, 0.0054827831, -0.1472834647, 0.3590687215, 0.5296373367, -0.5999982953, 0.2074211389, 0.5875132084, -0.2797606587, 0.134786725, 0.4384222925, -0.0044699437, -0.3288214505, 0.8000580668, 0.100457415, 0.341201216, 0.8096151948, 0.202850759, 0.2090267241, -0.5841515064, -0.5741325021, -0.1816426814, -0.4529294074, -0.4103192985, -0.4267640114, -0.5563261509, -0.6761488914, -0.4554898739, 0.0011703762, -0.3390423059, -0.3434536755, -0.0279304814, 0.844802916, 0.9437807798, 0.1410750747, 0.4626868069, -0.7188237309, 0.282998383, 0.1687457412, -0.1151496992, -0.6308256388, -0.9708839059, -0.7856587172, -0.0074251238, -0.0510840453, -0.5290110707, 0.8762072325, 0.390958786, 0.214319855, -0.1428136975, -0.0345138125, 1.0711165667, -0.8134783506, 0.9577694535, 0.238241449, -0.7573482394, 0.5573650599, -0.2171526253, 0.2663679719, 0.3205050528, 0.5659264922, -0.621550858, -0.2187134475, -0.4794421196, -0.5492830873, 0.2563512325, 0.1621206701, 0.0046110074, 0.1934087425, 0.4179284275, 0.5793468356, -0.216893658, -0.126118958, -0.029972652, -0.0296391696, -0.2703164518, -0.3224628866, 0.0363071486, -0.0640124828, -0.5549401045, 0.628400743, 0.0066939127, 0.3284590542, 0.4628368914, -0.4871152341, -0.2066095769, 0.2630441487, 0.5966371894, 0.727461338, -0.236557126, -0.0344994478, 0.3201394677, -0.9208009243, 0.1338943392, 0.2072196603, -0.1496606469, -0.0173076261, 0.5971791148, 0.9709794521, -0.0014297588, -0.2649251223, 0.475774169, -0.077694267, -0.207034409, -0.2638964355, 0.1179145277, -0.2515585423, 0.4202266335, 0.5898535252, 0.4838641286, 0.350320071, -0.3408932388, 0.5646067858, 0.0698236302, -0.4605068862, -0.6028620005, 0.539104104, 0.2023939937, -0.3933416307, 0.2451038808, 0.1087044701, -0.1612537354, 0.4814962745, 0.9504265785, 0.6786675453, -0.506953001, 0.2353055328, 0.1508316696, 0.2987086475, -0.2362968177, 0.4128263593, 0.4987491071, -0.6001243591, -0.605360806, -0.597584486, -0.6264675856, 0.0480608046, -1.144212842, 0.3595428765, 0.2444988936, -0.0060946522, -0.1095488667, 0.2851059735, -1.1806377172, 0.6590911746, 0.0639355332, 1.238147974, -1.0739182234, 1.0522129536, 0.9183484316, -0.2192825675, -0.5381550193, -0.0199520029, -0.4517764449, -0.9208103418, 0.6969937682, -0.1902012378, -0.0700413957, 0.1948498338, -0.5605949163, -1.0487939119, 1.1902350187, 0.4241585433, -0.6842986345, 0.0794729516, 0.4607342184, 0.5695995092, -0.6004392505, -0.2677922845, 0.5221127272, 0.2762332559, -0.0382311903, -1.1721440554, -0.3465245366, -0.2030615956, -0.4845303893, -0.1491716206, -0.6015667319, 0.454220593, 0.0099794017, 0.2022429854, 0.0162929799, 0.6941403151, -0.0906609893, 0.7520263791, -0.0826718509, 0.6620227695, 1.1471344233, 0.0653850734, 0.9354508519, -0.0597859733, 0.1268648654, 1.0550647974, -0.3893841207, 0.8735275865, 0.3998081386, 0.0014201822, 0.3970682919, 0.5548830032, 0.0590725876, 0.5086122155, -0.0023232512, -0.2446706444, -0.1405369788, -0.415320158, -0.2937948406, 0.6431072354, 0.6258237958, -0.2188562751, 0.0479695946, 0.5421156883, -0.0712102726, 0.0264110211, -0.6020322442, 0.7208724022, 0.1987193376, -0.5256875753, 0.5619055033, 0.0773007944, 0.3947829008, -0.3208768964, -0.0671776235, -0.2298685014, 0.1042523757, -0.3325532973, -0.5771297812, 0.6049794555, 0.0903846845, -0.5784733295, -0.4435102344, 0.8733429909, -0.4985259473, -0.7743700743, 0.5063431263, 0.7374099493, 0.4408357441, 0.2813319266, -0.6155902147, 0.0942763016, -0.1212819889, 0.1030822769, 0.1467912644, 0.7122360468, -0.5358538628, 0.4663899243, 0.3839081526, 0.2973123193, 0.2999067605, -0.2001614124, 0.5641651154, -0.4528296292, -0.119769156, -0.6478266716, 0.2939781845, 0.088725619, -0.3641187549, 0.7422508597, 0.8236836195, 0.9556328654, -0.2692591548, 0.980894208, 0.1185232624, 0.3896923959, -0.4112412632, 0.4645117223, -0.4626021981, -0.2859849632, 0.0485952497, -0.3307184279, -0.6006338596, 0.2990797162, -0.4765297174, -0.7337093949, 0.7463136315, 0.638790071, -0.2452853471, -0.1407607794, 0.7994158864, 0.1531975865, 0.1229856312, 0.4892916977, 0.5510015488, -0.8699333668, 0.3034184575, 0.0605359152, -0.189192906, -0.290106833, -0.7987651229, -0.8760870695, -0.690274477, -0.5011340976, -0.4057693779, 0.7417129874, 0.9547818303, 0.7735540271, -1.1247550249, -0.3653428257, 0.4039278328, -0.2669348717, -0.6081082225, -0.1509515345, 0.4813880026, -0.2383591086, -0.5612872243, 0.6414530277, 0.4764065444, -0.1050124913, 0.089222841, -0.1468728483, -0.2385236323, 0.1251751781, 0.8636547327, -0.1176494882, -0.3476286232, -0.4647462666, 0.4799329638, -0.1418228745, 0.1307026595, 0.5626762509, -0.6736912131, 0.3706945181, 0.2590004504, 0.8489226699, 0.4755606949, -0.2636653185, 0.76714468, -0.7056596279, 0.1231943667, 0.1733149737, 0.2750928104, 0.4296611845, -0.7494745851, 0.5964412689, 0.2852494121, -0.6566922665, -0.5390852094, -0.0077812169, -1.1686215401, 0.0341333114, 1.0482928753, -0.2672575712, -0.306139648, -0.5704817772, -0.1614611, 0.49895522, -0.3685990274, 0.516061902, 0.6294395924, -0.0662647262, 0.1355049908, -0.7479516268, 0.400690347, 0.1937937289, -0.7843291163, -0.1930969656, -0.0177178439, 0.1118771508, -0.04108366, 0.191926375, 0.1361332834, 0.424847573, -0.2846533954, 0.1704976261, 0.3518688679, -0.4454773068, -0.4089235365, 0.1022615582, -0.1324254274, -0.0699171126 ]
http://arxiv.org/abs/2403.01193v3
http://arxiv.org/pdf/2403.01193v3
RAGged Edges: The Double-Edged Sword of Retrieval-Augmented Chatbots
2024-03-02T12:19:04
2024-06-12T12:00:52
Philip Feldman, James R. Foulds, Shimei Pan
cs.CL
cs.CL, cs.AI, H.3.3; I.2.7
Large language models (LLMs) like ChatGPT demonstrate the remarkable progress of artificial intelligence. However, their tendency to hallucinate -- generate plausible but false information -- poses a significant challenge. This issue is critical, as seen in recent court cases where ChatGPT's use led to citations of non-existent legal rulings. This paper explores how Retrieval-Augmented Generation (RAG) can counter hallucinations by integrating external knowledge with prompts. We empirically evaluate RAG against standard LLMs using prompts designed to induce hallucinations. Our results show that RAG increases accuracy in some cases, but can still be misled when prompts directly contradict the model's pre-trained understanding. These findings highlight the complex nature of hallucinations and the need for more robust solutions to ensure LLM reliability in real-world applications. We offer practical recommendations for RAG deployment and discuss implications for the development of more trustworthy LLMs.
[ -0.5043913126, -0.9318004847, 0.8137353063, 0.1159136146, -0.0743806735, 0.2985497713, -0.2451656908, -0.6384774446, 0.3104013205, 0.8276165128, -0.5612581372, -0.166808486, -0.6316750646, -0.025091121, -0.6639692187, 1.0317304134, 0.3662541807, -0.1309501678, -0.2251766771, 0.0681291074, -0.7027540207, -0.7354862094, -0.7427616715, -0.3857886493, 0.4224303961, 0.1417299658, 1.1108615398, 0.1231003925, 0.5423676372, 0.2876311839, -0.0818796307, 0.6473580599, -0.7428054214, 0.5901601911, -0.0504562557, -0.4200586081, -0.0819761381, -0.1766722202, 0.2692973912, 0.4990371764, -0.3235979974, -0.2063904852, 0.0607587434, 0.8275899291, -0.3886036575, -0.3568312824, -1.0398464203, 0.2092562169, 0.0394682139, -0.3470510244, -0.7140915394, -0.3499404192, -0.0005673465, -0.4887791872, 0.1911475211, 0.3151471019, 1.0183104277, 0.7269363999, -0.0613123924, -0.7216270566, -0.9328680038, 0.5135387182, -0.2961968184, 0.4878136814, 0.6222547293, 0.5088306069, -0.7001049519, -0.8621057272, -0.4854412377, -0.5891492367, -0.035797406, 0.0638658851, -0.2201175839, 0.0108107775, 0.3219130039, 0.1169974282, -0.4909798801, -0.001420943, -0.5094456077, -0.2132107913, 0.5648548603, 0.1286564469, 0.3912523687, -0.2416606396, -0.3491816521, 0.0242469031, -0.5820147395, -0.5225981474, 0.4876309335, 0.3862173855, 0.3491309285, 0.7284884453, 0.2030023187, 0.419275403, 0.170666039, -0.0331316553, 0.0805066228, 0.2029356211, 0.0253123436, 0.1443748623, 0.7095473409, 0.3216879964, 0.4546385407, -0.5118433833, -0.4111474454, 0.0634726509, 0.9289643168, -0.4660673141, -0.3968422413, 0.2866315842, -0.2358341813, -0.1852659732, -0.1079033688, -1.0452250242, -1.0804708004, -0.2192799151, 0.7230545878, -0.6821042299, -0.0494075418, -0.1039776132, -0.286534071, 0.1894707084, 0.2604823112, -0.5594590902, 0.3768107891, 0.8101783991, 0.944488883, -0.2741630375, -0.094728291, -0.5128775239, -0.2033312619, -0.4597562551, 1.0105549097, -0.5286352038, -0.6266459823, 0.0570505857, -0.1477029771, 0.173203975, -0.8508276939, 0.7521060705, -0.5170009136, 0.3018427491, -0.0898742154, -0.1915848702, -0.1573132277, 0.2831276953, -0.4942184389, 1.2535054684, -0.0368569866, -0.6541564465, 0.0805951878, -0.2917942703, -0.4254772663, 0.1269069016, -0.3158264756, -0.4623627365, 0.290307045, 0.1954175383, 0.1816187352, -0.0865953714, 0.1925514787, -0.0707541704, -0.6069144011, 0.3488437235, -0.6574892998, 0.5588127375, 0.320009321, -0.3417242467, -0.0455782451, -0.5829011202, -0.0216586385, 0.25981161, 0.0605238229, -0.3894863427, 0.0537224859, -0.1885530353, 0.0446392894, 0.104758814, -0.2382644713, -0.0109702181, -0.3872247934, 0.0194950998, 0.9771600366, 0.030161025, 0.1070182323, -0.7429702282, 0.4106130004, -0.1760971546, -0.0039697075, 0.0674239695, -0.5235882998, -0.8475945592, -0.1311020851, -0.089311406, 0.6245830655, -1.1182420254, 0.2784619629, -0.0805476084, -0.6083233953, -0.6691958308, -0.1178538948, 0.1703235507, 0.4891068935, 0.563991189, -0.0090711741, -0.6689912081, -0.6719068289, -0.488946557, -0.0784616172, -0.1167701706, 0.6775815487, 0.3212711215, -0.6177082062, 0.6930472851, -0.2988482416, -0.3283671737, -0.0550102368, -0.0450107381, 0.0926860049, 0.2940506339, 0.1197836548, -0.9975072742, -0.2896741629, -0.174701333, -0.7678906322, -0.1838849038, -0.4199795723, -0.2427241355, 0.4266543686, 0.3193563223, -0.8028296828, 0.4310875535, 0.4096522629, -0.3324815631, 0.8187000155, -0.3151609004, 0.2051370591, -0.8911546469, -0.0690384805, -0.3127941191, -0.2061939836, -0.6223208308, 0.0253557973, -0.3629216254, -0.1341820806, -0.1487655938, 0.6507551074, -0.2899884582, -0.0909614712, -0.4118321836, 0.5779214501, 0.0531023555, 0.326618582, -0.0389021635, 0.9278965592, 0.1636701375, -0.6649361849, 0.4156618714, 0.2960878015, -0.0929900184, 0.6939646602, -0.5679658651, 0.593883872, -0.2727382779, 0.0744063556, -0.8103141189, -0.3312452734, 0.2563681602, -0.7098813653, 0.3437609375, 0.0355335809, -0.5106815696, -0.3582902551, -0.3851926029, -0.0208125748, 0.8412663937, -0.8213970661, 0.7495824695, 0.5908755064, 0.0375513546, -0.6700863242, -0.5908299685, 0.3924135566, -0.2874348462, -0.4598801434, 0.1948345304, -0.0838295594, -0.535138011, -0.1918443292, -0.1239556521, 0.1298069507, -0.0047607273, 0.570766151, 0.1650606394, 0.0774970129, 0.2728604078, -0.1153482646, 0.1313231587, 0.1885870844, -0.1456075013, 0.9102658033, 0.1306418329, -0.428376019, -0.1089305058, 0.2475990653, 0.4193458259, 0.1652212888, 0.6519479156, 0.5097605586, -0.4806663394, -0.4188947082, -1.0254064798, -0.3631170392, -0.5561785698, 0.3253531754, -0.452548027, -0.6433689594, 0.5809239745, -0.1045147553, -0.028713163, 0.3682304621, 0.5178952217, -0.1716291159, 1.0145816803, 0.4899064302, 0.2763829231, 0.3931461275, -0.0276699197, 0.2645988166, -0.8649845719, -0.5003510714, -0.5466732383, -0.0923956707, -0.7726716995, -0.3941330612, 0.4767799675, 0.019546859, -0.1953644902, 0.067252107, -0.9391977191, 0.4607228339, 0.594935596, 0.3698495626, 0.1985317022, 0.1233003512, 0.057744965, 0.0349168777, -0.6049460769, -0.6254945397, 0.7356852293, 0.3540870249, 0.9007980227, -0.0498928875, 0.7119642496, 0.4020861685, -0.013742228, -0.8305367827, 0.5792210102, 0.035955485, -0.6042627692, -0.2500153482, -0.5458550453, -0.9793807864, 0.2899881899, -0.2387102693, -0.8442625403, 0.0916755646, -0.0669751838, -0.3212919831, 0.409332931, -0.6145394444, 0.3041846454, -0.2606553137, -0.4117313325, -0.0425841361, -0.4631709158, 0.3671866953, -0.1800743341, 0.2521847188, 0.0555215366, 0.0391286016, 0.7631991506, -0.2725939155, 0.7825450897, -0.1694256216, -0.1599171609, 0.5629889369, 0.4298302531, 0.7284406424, -0.0545404628, 0.015392324, 0.0370268412, -0.0670053586, -0.1498026848, -0.7102547884, 0.674690485, -0.756631732, -0.905734241, -0.4717392623, -0.6820380688, -0.294911325, 0.0610123314, 0.4426862299, 0.1966518611, -0.0554978251, -0.0805401206, 0.8922848701, -0.505028367, 0.0581790246, 0.0261285324, -0.4202130139, -0.3298875988, 1.0843844414, 0.255674094, 0.2782336473, -0.2285286635, 0.1232627109, -0.2430404723, -0.4230114222, -0.3728691041, 0.2123814523, -0.8226745725, -0.2936467528, -0.8728150725, -0.5742484927, -0.3272135556, -0.1347889453, -0.4105620682, -0.3108009398, -0.2292669713, 0.0247917268, 0.6786624193, 0.9563475847, -0.191649124, 0.0658509359, -0.758764565, 0.5132573247, 0.1916978955, 0.2619843781, 0.059778437, -0.8414668441, 0.0799887702, 0.1961524934, -0.2813276947, -0.7787541747, 0.4649744332, -0.1618992686, 0.3942536116, 0.1010943577, 0.2851500213, 0.7845196128, -0.8229502439, 0.8152704239, -0.1033846885, -0.560059607, 0.3147837222, -0.1454626769, 0.0564406514, 0.4262828529, 0.5244929194, -0.7195075154, -0.6530629396, -0.66907233, -0.7879354358, 0.3088958859, 0.0369116776, 0.5140308142, -0.1329191327, 0.4038767517, 0.2866027355, -0.0024774256, -0.6030281186, -0.0663699135, -0.1421804279, -0.1413433105, 0.4371712804, -0.4666099846, -0.0387728922, 0.1998335868, 0.7179142833, 0.1898097098, 0.4297442138, 0.3394506574, -0.0737033412, -0.0596720576, 0.0481306836, 0.6696199179, 0.4933016896, 0.0085940827, 0.3222848177, 0.3428181708, -0.6930479407, -0.0007427156, -0.0278143845, -0.1663908213, 0.0594317466, 0.3076497614, 0.6665802598, -0.1606984138, -0.8621183038, 0.1898059994, -0.0099624246, -0.0169544183, -0.6325414777, 0.1087298095, -0.2918913364, 0.4705046415, 0.6078232527, 0.1141248643, 0.2550926805, -0.5748782158, 0.4303228557, 0.6424075365, -0.5875116587, -0.0514067337, 0.4936406314, -0.1732489467, -0.8673695922, 0.738629818, -0.2769221067, -0.8676105142, 0.2937332988, 0.6257970929, 0.8339374065, -0.2015194893, 0.0887391791, 0.0786832869, 0.4726453424, -0.1731243283, 0.0979296565, 0.0625365376, -0.5533869863, -0.2290338427, -0.5322079062, -0.5297263861, 0.0781953931, -0.3476426601, 0.2247160822, -0.3391470015, -0.234052062, -0.497607559, -0.072429657, -0.386054188, -0.0547970943, 0.1654040068, 0.5866202712, -0.256549865, 0.4807579517, 0.0920647755, -0.3232560754, -0.4596609473, 0.1655355245, -0.0440193526, -0.9254776239, 0.4706828594, 0.2232030183, -0.3849360645, -0.1696956456, -0.5913354158, -0.6687527895, 0.6641401052, 0.0776105225, -0.4432647824, -0.3044964671, -0.0285671558, 0.5757690668, 0.0602022447, 0.191058889, 0.598834455, 0.390773952, 0.3690022826, -0.9844571352, 0.1511622518, -0.0129643762, -0.1468141675, 0.2614881694, -0.4517301023, 0.6363055706, -0.5129734874, -0.5200478435, 0.1427583247, 0.5245541334, 0.4431222081, 0.3184066117, 0.3109145463, 0.4203215539, 1.0027008057, -0.0302412901, 1.020884037, -0.1136741564, -0.0385470614, 1.1807253361, -0.2726344466, 0.7345501781, 0.5512733459, 0.0404247157, 0.4147038758, 0.3405852616, -0.1638968736, 0.4342445731, 0.2772483528, -0.0679905191, -0.0442673899, -0.3713386059, -0.3425721526, 0.3201686442, 0.6227548718, -0.1105793566, 0.0313175321, 0.2558211982, 0.1267402321, 0.3728691041, -0.100231044, 1.0621973276, 0.3083260357, -0.6872653961, 0.7395980358, -0.4045584798, 0.7628589272, -0.2539168298, -0.3336653709, -0.2375029027, 0.1357233822, -0.2590483427, -0.7161474228, 0.4261733294, -0.0040078699, 0.2117341161, 0.1474639326, 0.9754635692, -0.2395863086, -0.3537880778, 0.391872108, 0.4854975343, 0.4487383962, -0.2025243491, -0.4842339754, 0.2942109704, -0.0728894845, -0.27633968, 0.136143297, 0.7677201033, 0.016095398, 0.9767279625, 0.5641348958, 0.2674359083, 0.0759100392, -0.0241319593, 0.9376702905, -0.6141121984, -0.0998139158, -0.9723961949, 0.3600388169, -0.2222034633, 0.0331169814, 0.7906156182, 0.3444555402, 0.6434876323, 0.2432019413, 0.5913413763, 0.0998958945, 0.7327061296, -0.5624366999, 0.9779374003, -0.4228885472, 0.3276969492, -0.1201824993, -0.8366467953, -0.3412190676, 0.6986990571, -0.3168353736, 0.3247182071, 0.5225173235, 0.9876641631, 0.1559959054, 0.0071533727, 0.5945997834, 0.2135287821, 0.3484623432, 0.3710428476, 1.2391755581, -0.3791168928, 0.7074804902, -0.2366021723, 0.0224833377, -0.2779941857, -0.4559526443, -1.1932061911, -0.6870588064, 0.1309677511, -0.8121884465, 0.3787827194, 0.9834445715, 0.4331016541, -0.500589788, 0.0517113991, 0.1184558868, 0.291303277, 0.2062907964, -0.2746922672, 0.3932576478, -0.7587987185, -0.5464019775, 0.438144654, 0.1436169893, 0.1763999611, -0.3990499675, -0.115675211, -0.099538967, 0.3486508727, 0.6086664796, 0.0675437078, -0.9017732143, -0.586258471, 0.13190341, -0.2249642909, 0.1203543693, 0.5324877501, -1.1150696278, 0.407659173, 0.2524531484, 0.7782068253, 0.2276853621, 0.0837618858, 0.4680752754, -0.6144159436, 0.1848852932, 0.6115483642, 0.0944505483, 0.5021080375, -0.682002902, 0.6133334637, -0.0009494242, -0.7572214007, -1.3172677755, 0.1142033339, -0.4610427022, -0.4160389006, 1.1171922684, 0.1973361075, -0.1928121001, -0.1302996278, -0.6331717372, 0.1794331372, -0.2715832293, 1.2863909006, 0.6291386485, -0.0861811489, -0.1107041836, -0.7520642877, 0.810618937, 0.3130365908, -0.6820716262, 0.272176981, 0.4673260748, -0.3196254969, 0.564489305, 0.3759084046, -0.0516020991, 0.1275141239, 0.3306338489, -0.006531822, -0.034740109, -0.5990571976, -0.3073647916, 0.0917878821, 0.1984640211, 0.076110132 ]
http://arxiv.org/abs/2403.01187v1
http://arxiv.org/pdf/2403.01187v1
A Compositional Typed Semantics for Universal Dependencies
2024-03-02T11:58:24
2024-03-02T11:58:24
Laurestine Bradford, Timothy John O'Donnell, Siva Reddy
cs.CL
cs.CL
Languages may encode similar meanings using different sentence structures. This makes it a challenge to provide a single set of formal rules that can derive meanings from sentences in many languages at once. To overcome the challenge, we can take advantage of language-general connections between meaning and syntax, and build on cross-linguistically parallel syntactic structures. We introduce UD Type Calculus, a compositional, principled, and language-independent system of semantic types and logical forms for lexical items which builds on a widely-used language-general dependency syntax framework. We explain the essential features of UD Type Calculus, which all involve giving dependency relations denotations just like those of words. These allow UD-TC to derive correct meanings for sentences with a wide range of syntactic structures by making use of dependency labels. Finally, we present evaluation results on a large existing corpus of sentences and their logical forms, showing that UD-TC can produce meanings comparable with our baseline.
[ -0.0184165109, -0.5244546533, 0.8686397672, 0.4627936482, -0.0814225003, 0.1184943616, 0.0500785261, -0.4574851394, 0.3976382315, 0.5443326235, -0.325579524, -0.3773672581, -0.4508271813, 0.1598077416, -0.3753355443, 0.9735766053, -0.2842788398, -0.0850797221, -0.3160724044, -0.3788868189, -0.4804022014, -0.5317700505, 0.1065100506, -0.0511980392, 0.6682270169, 0.1685599387, 0.6887035966, 0.4675213993, 0.7898639441, 0.2813621163, 0.1733429879, -0.4548531771, -0.1157870144, 0.2800376415, -0.2929719388, -0.5142218471, -0.1285283864, -0.0941773728, 0.7295312881, 1.0055116415, -0.1829001456, -0.1014034003, -0.2215603739, 0.6853978634, -0.8449711204, 0.6739661694, -0.4438904822, 0.0157454014, -0.3936209381, 0.0366155654, -0.4310527146, -0.2840925157, 0.5425432324, -0.5789248347, -0.2901254594, -0.3586407602, 0.6237434745, 0.1335611194, -0.7407807708, -0.2156822383, -0.7224938869, 0.5209177732, -0.1787533313, 0.5163597465, -0.0068281512, 0.2478546947, -0.1009943858, -0.7661033273, -0.3938954473, -0.485991925, -0.4239430428, 0.3867762089, 0.2005295008, 0.3538981676, -0.0049024639, 0.3847314715, -0.32084167, -0.1041238457, -0.1837785989, -0.2169170082, 0.2449392676, 0.3074654043, 0.8778039217, -0.2485930324, -0.404682219, 0.3880712688, -0.8813880682, 0.0431349687, 0.1896814257, 0.4783250988, -0.4572815001, 0.7452648878, -0.2430268973, 0.7205272913, -0.4307700694, -0.1971871108, -0.1199938431, -0.2185937613, -0.3311239779, -0.1103900522, 0.5188999176, -0.1238664389, 0.5030980706, -0.6525369883, 0.136208564, 0.3485955298, 0.1662012935, -0.625923872, -0.0858016536, -0.0534395091, -0.0496031679, -0.1634236425, 0.3701481223, -0.3427448869, 0.094240196, -0.7669536471, 0.4054068327, -0.2718807757, -0.1469747275, 0.4134039283, -0.0993330777, 0.1912326664, 0.306571126, -1.0563820601, 0.4594063461, 0.4463036656, 0.5918381214, -0.2193343341, -0.1654411703, -0.6659180522, 0.7409871221, 0.1376998127, 0.9460937977, -0.7047046423, -0.3757718801, 0.1178596467, -0.2945046127, -0.1737049967, -0.2659941018, 0.4794231951, -0.3768900037, 0.3881379664, -0.2744376063, -0.7140477896, -0.2505798936, -0.1896351576, -0.6746717691, 0.5365884304, 0.5685712099, -0.8424298763, 0.3866428733, -0.605672121, -1.023891449, 0.5669941306, -0.5903505087, 0.3302250504, 0.138032347, -0.5880378485, 0.2710790932, -0.399882704, 0.3023151159, -0.3514017761, 0.1355980486, -0.0353483967, 0.0684632212, 1.1937400103, 0.0299727749, -0.5625020266, -0.1198179647, -1.0824583769, -0.138678804, -0.2524623275, -0.6625229716, -0.4581218064, 0.2264482677, -0.020648744, 0.0767911375, 0.1967445612, -0.6304144859, 0.1591393799, -0.3486440778, 0.5386611223, 0.7843675613, -0.0724210069, 0.4827756286, -0.0493060686, 0.4355641007, 0.1728001684, -0.0470352508, 0.1294597387, -0.5018185973, -0.7906790972, -0.5103908777, 0.0145187583, 0.6742891669, -0.3859452307, 0.6726956367, -0.0482406393, 0.0312756784, -0.014859939, 0.0158505235, 0.2673954964, 0.654168129, 0.2494860142, -0.2413044572, -0.6197330952, -0.7973333597, 0.1023923382, -0.3712796569, 0.2560587823, -0.0697273314, 0.352532655, -0.1918508261, 1.1515336037, -0.7819772363, -0.4946335852, -0.3003129661, -0.1385897547, -0.2636517584, 0.1261013448, 0.619512558, -0.6681895852, -0.5268867612, 0.1484594792, -0.8537432551, -0.2127372622, 0.0542952903, -0.3632706702, 0.1680627018, 0.2071950287, -0.6643404365, 0.5081859231, 0.1444993615, -0.4157461822, 0.8306073546, -0.0893855765, -0.1488176286, -0.8588317633, 0.1062954068, -0.1295805424, -0.1455800682, -0.3898479044, 0.4057908654, -0.2721180916, 0.2330722511, -0.550308764, 0.5250291824, -0.1101943776, 0.0126698827, 0.0686617345, 0.0306760222, 0.2282016277, 0.1466178447, 0.1462738961, 0.3757415414, 0.8593104482, -0.7358289957, 0.82742697, 0.3569241762, -0.071320951, 0.8607754707, -0.5989123583, -0.3927757144, -0.1216589361, 0.2576197982, -0.8004476428, -0.1694941074, 0.1107365415, -0.0781174079, -0.0697185919, -0.0695829242, -0.6721852422, -0.2659713328, 0.0689554513, 0.2654129863, 0.0775377601, -0.1878893077, 0.8146082163, 0.2589853406, 0.1407234818, -0.380897969, -0.7771087885, -0.1080233231, -0.1803232729, -0.7703584433, 0.1331741959, -0.0538866892, -0.7225129604, 0.285872221, -0.2094653994, -0.2766008675, 0.2378499359, 0.1871329695, 0.3892014623, -0.2670153081, 0.3834308982, 0.0002010997, -0.1878402531, 0.1619380414, -0.5901483893, 0.3509261608, -0.147392571, -0.3376755118, -0.2987708151, 0.6692119241, 0.4668512046, -0.2033447474, 0.4633289576, 0.2464606613, -0.2716442347, -0.1617567241, -0.3512678146, 0.0662158206, -0.4231157303, 0.0078662848, -0.7945215702, -1.1091980934, 0.6495831609, 0.5512364507, 0.045490656, 0.6000773907, 0.6503624916, 0.0497308597, 0.4094527066, 0.7022200227, -0.0405716859, 0.149868831, 0.0278060734, 0.1370715648, -0.302696228, -0.320104599, -0.615957737, 0.004523952, -0.6411786079, 0.0978764966, 0.1778975725, -0.0141525427, -0.3594442308, 0.6836506724, -0.3191684186, 0.3734832406, 0.6754384637, -0.2359714359, 0.4218370318, -0.0694060922, -0.663651228, 0.0916640684, 0.1024428084, -0.1775565594, 0.9593400359, -0.2577527463, 0.8770315647, 0.515717566, 0.6563979983, 0.3376921117, 0.0472220741, -0.9140437245, 0.5621731877, -0.6153714061, -0.5885885358, 0.2067709267, -0.5643026829, -0.7473372817, 0.0512379631, 0.054158438, -1.0619438887, -0.159744516, -0.3060516119, -0.2027009577, 0.2314210087, -0.9596591592, 0.7143340111, -0.1568064243, 0.1921904981, -0.094899565, -0.6802873015, 0.3468509912, 0.1102339551, -0.2926460803, -0.1206078231, 0.1558717489, 0.4204019308, -0.4801229835, 0.8445438743, 0.217959404, -0.2325600982, 0.5493080616, 0.5754647851, -0.0042221625, 0.2379051745, 0.3118757308, -0.2895704806, 0.3345566988, -0.3369212747, -0.6915433407, 0.5840680599, -0.7394413352, -0.5469467044, -0.2422427684, -0.7117435336, -0.3496120572, 0.5056678057, 0.0935814008, 0.8480136991, -0.1452023536, -0.1281840056, 0.3097782135, 0.1770469546, 0.5363931656, 0.6007601619, -0.2368533611, -0.3060328662, 0.7328662872, -0.0628401935, 0.5756151676, 1.1246781349, 0.1943172216, -0.4887831211, 0.035320513, -0.2964751422, 0.2332349569, -0.8598003387, -0.0984404758, -0.8135206103, -0.3417315185, -0.6433596015, -0.4337232411, -0.0268402826, -0.8296858668, -0.2763933837, -0.3007186949, 0.5440276265, 0.9692410827, -0.1816269606, 0.1417968422, -0.8535966277, 0.4521603584, 0.6825743318, 0.4869560003, -0.3530676067, -0.0362312496, 0.0057154237, -0.1757579595, -0.3595121801, -0.5600869656, -0.1486275047, 0.2232783437, 0.6611504555, 0.5393180251, -0.0906355157, 0.3547065556, -0.4300031364, 0.4510624707, 0.4114034474, -1.1506254673, 0.5666438937, -0.5119023919, -0.0140081421, 0.533126235, 0.2656471729, -0.6377815008, -0.6732202768, -0.6629192829, -0.404928863, 0.3533388376, 0.08902549, -0.0390279591, -0.2679570913, 0.4596404731, 0.1037897244, 0.0129308281, -0.9373618364, -0.3930569589, -0.0118410271, -0.4312532842, 0.3377204835, -0.1030039191, -0.2369559258, -0.1713363677, 0.0602717325, -0.0008383259, 0.1848543137, 0.0015432416, -0.4288960397, 0.1709119827, 0.4399574697, 0.6638149619, 0.6703981757, -0.2905621827, 0.604572773, -0.6220712662, -0.5899433494, 0.4143693149, 0.1306016743, -0.4203300178, -0.2011107653, 0.1574882567, 0.4202474952, 0.2487072051, -0.5335252881, 0.2745726705, 0.3519032598, -0.0559282526, 0.0807205588, -0.0234052036, 0.4140253961, -0.2375209928, -0.0986905918, -0.0826990232, 0.3780073822, -0.8283978701, 0.669991374, 0.1915278733, -0.5505627394, -0.5967735648, 0.617209971, 0.2961188257, 0.3171701431, 0.4241846204, -0.2292168587, -0.425706774, 0.4680320919, 0.6872240305, 1.0500199795, 0.0091040749, 0.7519117594, -0.0298238564, -0.0585519075, 0.0489591956, 0.3777260482, 0.0271181408, -0.8540700078, -0.6058300734, -0.7575283051, -0.3817472756, -0.3733009398, -0.544893086, 0.2983906567, -0.4954479039, 0.4205330312, 0.2227391154, -0.4261598289, -0.57600981, 0.2015328258, 0.0605329387, 0.3541786671, -0.7040240169, 0.6933289766, 0.9355784059, -1.0659019947, -0.9800210595, -0.2970154881, 0.1188849136, -0.8922427297, 1.3010262251, 0.1459815055, -0.2053042203, 0.0623437129, -0.0703240037, -0.7961323261, 0.5899887681, 0.5633886456, -0.1273011118, -0.2185634375, 0.7767279148, 0.5225914121, -0.6496005058, 0.23961851, 0.7054254413, 0.5581566095, 0.0622254349, -0.8101933002, 0.3036425412, 0.2067567706, 0.0549829341, 0.5013839006, -0.3619867861, 0.6332861781, -0.2172751129, -0.4516600072, -0.0003099139, 0.4865233004, -0.113836877, -0.4270807505, 0.2491978407, 1.1494327784, 0.2193062007, -0.1283559799, 0.728585124, -0.0612505116, 0.347615391, 1.0491312742, -0.2610677183, 0.5202502012, 0.1381720155, -0.4419162571, 0.9186350703, 0.1162783578, 0.1962954998, 0.4212405086, 0.5401416421, -0.7733757496, -0.2095405459, -0.2657644153, -0.1966994256, 0.6365172863, 0.3104534745, -0.0322661139, -0.8094703555, 0.0393133499, -0.0126827452, 0.1421738565, -0.0622498579, 0.7431634665, 0.2574313879, -0.3802799881, 0.1563226283, -0.4760592878, 0.2947823107, -0.5024276972, 0.1339795142, -0.1404509991, 0.0493322276, -0.2413749546, -1.0227109194, 0.4643535018, -0.2628245056, -0.1328729689, -0.0652456358, 0.3453769088, -0.289170444, -0.5256456137, 0.5364128947, 0.5759519935, -0.1563802212, 0.0767809153, -0.3020872474, -0.3946317732, -0.1569611281, 0.2781277299, 0.2333017439, 0.7217230797, 0.0856956467, 0.6396275759, 0.1354475766, 0.1405462772, 0.244537279, 0.5419695377, 0.5830730796, -0.7868334055, -0.5216619372, -0.6227978468, 0.6522244215, 0.4853208959, -0.3347895145, 0.2127182782, 0.4355272949, 0.6863389015, 0.0125460736, 0.8574529886, -0.5685353875, 0.1437614858, -0.3862943351, 0.2629370987, -0.3160419762, -0.155218035, -0.23949036, -1.1018592119, -0.8232015371, 0.1790174842, -0.1425522864, -0.4037258327, 1.1765053272, 0.1222119853, -0.0318346433, 0.0691434667, 0.3452384472, 0.0535499603, 0.5907124281, 0.6018249989, 0.7776466012, 0.092217572, 0.6402845383, -0.1255990118, -0.1794754416, 0.1021133959, -0.6121781468, -0.5124489665, -0.8980064392, -0.4011798501, -0.3286698461, -0.2618486881, 0.520197928, 0.3487976789, -0.867972374, -0.3814339638, -0.6559936404, 0.2360535711, 0.1847187728, -0.3908509314, 0.3542783558, -0.7880294919, -0.3733577132, 0.0394607484, 0.9125266671, 0.2254934907, -0.2133746594, 0.2883996964, -0.1629015654, -0.0638691634, 0.9322971106, 0.422708571, -0.7546446323, -0.9313512444, -0.1771386713, -0.3425804079, 0.1574875563, 1.0763773918, -0.6278156638, 0.3782526553, 0.7045716047, 0.6052348614, 0.0181283634, -0.4517948329, 0.6801389456, -0.4115684628, 0.3100988269, 0.1428765804, 0.7044992447, 0.0368915685, -0.1853099316, 0.5413237214, 0.7250986099, -0.3397219777, -0.1824510098, 0.9507120252, -1.6408034563, 0.0263700951, 1.1647047997, -0.374502182, 0.1527323127, -0.3330537975, 0.1099151224, -0.0270759668, -0.2243497968, 0.5713706613, 0.6031534076, -0.1535930037, 0.1257775426, -0.0539897271, 0.2433900386, 0.1420747489, -1.1252720356, -0.1206875592, 0.7016817927, 0.5223211646, 0.2330617011, 0.6427175999, -0.2516444027, 0.1020628661, -0.1888494939, 0.2064017653, 0.4664066136, -0.3332688212, 0.4488616288, 0.0248690806, -0.2170142233, -0.0735479221 ]
http://arxiv.org/abs/2403.01185v1
http://arxiv.org/pdf/2403.01185v1
Balancing Exploration and Exploitation in LLM using Soft RLLF for Enhanced Negation Understanding
2024-03-02T11:54:55
2024-03-02T11:54:55
Ha-Thanh Nguyen, Ken Satoh
cs.CL
cs.CL, cs.AI
Finetuning approaches in NLP often focus on exploitation rather than exploration, which may lead to suboptimal models. Given the vast search space of natural language, this limited exploration can restrict their performance in complex, high-stakes domains, where accurate negation understanding and logical reasoning abilities are crucial. To address this issue, we leverage Reinforcement Learning from Logical Feedback (RLLF) to create an effective balance between exploration and exploitation in LLMs. Our approach employs an appropriate benchmark dataset for training and evaluation, highlighting the importance of exploration in enhancing negation understanding capabilities. We compare the performance of our RLLF-enhanced LLMs with baseline models trained without RLLF, demonstrating the value of this balanced approach. Furthermore, we showcase the potential of our method in legal AI applications by employing transfer learning and evaluating its impact on negation understanding. Our experimental results exhibit the effectiveness of balancing exploration and exploitation with RLLF in improving LLMs' negation capabilities. This has implications for the development of more accurate, reliable, and logically consistent language models in high-stakes domains.
[ -0.2476072013, -0.9434927106, 0.3978226185, 0.2705714405, -0.1822142601, -0.0102527244, -0.3563266098, -0.4919092357, 0.1227946281, 0.8463776708, -0.7697039247, -0.5284204483, -0.7140105367, 0.1157946214, -0.203894183, 1.2731523514, 0.1388023943, -0.0024045631, -0.434880048, -0.5400972962, -1.0359381437, -0.4090847671, -0.7159230113, -0.8576250076, 0.4534672797, 0.3812907636, 0.7773933411, 0.3788315654, 0.3983360827, 0.3167014122, -0.1308060586, 0.2636119723, -0.7473820448, 0.1784572005, -0.636752665, -0.5063843131, -0.3286230266, 0.0114324503, 0.4707667232, 0.6737561226, -0.5966620445, -0.0681230053, -0.0571126305, 0.7756084204, -0.6071269512, 0.0629607141, -0.6121535301, 0.4068649709, 0.2019316852, -0.2957280576, -0.3838241994, -0.2067655921, 0.4961006343, -0.7924689651, -0.1693294793, 0.0071623782, 0.7554931641, 0.4576449692, -0.4811119735, -0.195713371, -0.5964015126, 0.7621524334, -0.711946249, 0.3068991899, 0.157334581, 0.2201423198, -0.3063416481, -0.6388391256, -0.4253631234, -0.5335575342, -0.1648853868, 0.1939618587, -0.1697987169, 0.2491295487, 0.3717719316, -0.0471625365, -0.2631445229, 0.4181886911, -0.4131063521, -0.3149944544, 0.7840487361, 0.1589492112, 0.1754993796, 0.053693179, -0.5944237709, -0.0672317743, -0.7113012075, 0.1843583733, 0.4293294847, 0.3364200592, 0.050794214, 0.6650169492, -0.1090524122, 0.7660139799, 0.0526468977, -0.1100818142, 0.3466492295, -0.2000686824, -0.3058328927, 0.0981797501, 0.504660964, 0.4494538903, 0.3271046281, -0.1941337138, -0.6734696627, -0.0591786988, 0.5097128749, -0.6188566089, 0.1303067803, 0.0221387558, -0.3977730572, -0.4467602372, -0.0368151143, -0.7815598845, -0.7435844541, -0.4706400633, 0.5475640893, -0.469684273, -0.3803427219, 0.3967917562, -0.15753676, 0.5191184282, 0.4522500038, -0.7895359397, 0.5902959704, 0.9049619436, 0.4120518267, -0.2723610997, -0.2374277413, -1.0899868011, -0.1392597556, -0.2699304521, 0.4952245951, -0.4200255275, -0.2892717421, 0.1225908771, -0.2737310529, -0.0812963396, -0.853898108, 0.7818357944, -0.5530096889, 0.140783146, 0.2370437384, -0.453363955, -0.6222378612, 0.5115634799, -0.6521309018, 0.9097738266, 0.0933090448, -0.4096361995, 0.5357273221, -0.6005696058, -0.6873088479, 0.0826276168, -0.3015559614, -0.4140608311, 0.1138209552, 0.2625022531, 0.197703898, -0.1237007827, 0.5079315901, -0.2190315872, -0.3443423212, 0.3689914048, -0.3497800827, 0.6249123216, -0.0158166215, -0.6383838058, 0.4988988638, -0.5073509216, -0.0313772447, 0.1110666692, -0.408414036, -0.2279607654, 0.1955083609, -0.0523424596, 0.2662563026, 0.0368523635, -0.2993305326, -0.0991917551, -0.7136579156, 0.2688476741, 0.8152576089, 0.0155735016, 0.4479242861, -0.3441355228, 0.8835163116, -0.1575189978, -0.0778606236, 0.2609865367, -0.2582640648, -0.8380779028, -0.013730295, 0.3694618046, 0.7882940173, -0.6088318825, 0.3487122655, -0.182346195, -0.0012234073, -0.6367244124, 0.4527148604, 0.3975453973, 0.8190602064, 0.599381566, -0.3032872081, -0.5433089733, -0.8787087202, -0.4540599585, -0.0023387666, 0.2860016227, 0.6366395354, 0.3545294702, -0.4014893174, 0.9671168923, -0.1361788362, -0.5732882619, -0.6744534373, 0.2689048946, 0.4867227376, 0.4885160327, 0.3665090203, -0.8782045841, -0.1449241191, -0.0403226092, -0.6792559624, -0.2863401473, -0.5028602481, -0.1657655537, 0.1636724621, 0.6524954438, -0.5547559857, 0.3882393241, 0.1885942519, -0.4622470438, 0.3343032598, -0.2194720954, -0.1786564142, -0.2423417568, -0.0274546798, 0.0807214305, -0.6212671399, -0.5071063042, 0.2694258094, 0.0025292898, 0.13413544, -0.7428554296, 0.421955049, -0.267785728, -0.1240754575, -0.4088190496, 0.6407997012, -0.0517995209, 0.5488292575, 0.0325733535, 0.5397562981, 0.3730229735, -0.6534734964, 0.3235007524, -0.0101001766, -0.0918005779, 0.5303574204, -0.7039140463, 0.0073464946, -0.1928101778, 0.1700982749, -0.4549728036, 0.2604717612, 0.2604066133, -0.3506786227, 0.4665436149, -0.3138736784, -0.2814733088, -0.0578341149, -0.3653053641, 0.1495656371, 0.5725972652, -0.555680275, 0.8616541028, 0.3764420748, -0.0216328446, -0.9666321874, -0.6532335877, 0.059939079, -0.50721246, -0.6083794832, 0.3116193712, 0.2706651986, -0.3903962076, 0.2356756628, -0.2176805586, 0.2567429841, 0.430942595, 0.1903571635, 0.3651311696, -0.1707290262, -0.065151684, -0.1851583719, -0.2329599112, 0.420366019, -0.4053136408, 0.4428181648, -0.2760841846, -0.2409555912, -0.2312397361, 0.010716917, 0.1467462033, -0.3237055242, 0.5828465223, 0.5243422985, -0.3339357078, -0.5543293357, -0.4609139562, -0.2398762703, -0.4472791553, 0.4087030888, -0.135487318, -1.1251432896, 0.3430754542, -0.2277250141, 0.0873753577, 0.6421077847, 0.3237884641, 0.0003169048, 0.8347198963, 0.8549319506, -0.1136385947, 0.3298358321, -0.2229754478, 0.0688076392, -0.7002401352, -0.363458693, -0.197097972, -0.4505572617, -0.5993568301, -0.2597535551, 0.1006850451, 0.164841935, -0.0568149947, 0.1071115583, -0.2116001546, 0.5458003283, 0.4895618558, 0.2031012625, 0.2550622225, 0.0069044814, -0.3448512554, -0.158699587, -0.8184499145, -0.2605876625, 1.1020801067, 0.4408447146, 0.9136641622, 0.2003255635, 0.7131268978, 0.3375019729, 0.3001362681, -0.9617227316, 0.5866332054, 0.0516655706, -0.241749391, -0.3861237764, -0.5313230753, -0.8607550859, 0.5313190818, -0.6281131506, -0.4730733335, 0.1178658009, 0.1415150464, -0.5341505408, 0.0964649096, -0.617084384, 0.8567562699, -0.4674790502, -0.8310792446, -0.6667576432, -0.5894799232, 0.4911239147, 0.3145357072, 0.3017502725, 0.0412626453, -0.188451454, 0.737759769, -0.2948234379, 0.8569865227, -0.3310285807, -0.1449905038, 0.3252227902, 0.1560397893, 0.5757986903, 0.3718547225, -0.0074089952, -0.2032725513, -0.5152366757, -0.1942560524, -0.739952147, 0.6589356661, -0.6641457081, -0.8804718256, -0.7282053828, -0.4350045919, -0.113390401, 0.2545349002, -0.2842247784, 0.0469788946, -0.057383962, 0.2206602395, 0.9298968911, -0.3246649802, 0.1977498084, 0.5591463447, -0.3014298677, -0.4489588439, 0.8057291508, -0.0992213488, 0.1977828741, 0.3073807657, 0.3034228384, -0.5001340508, -0.7466757298, -0.251685977, 0.1668657362, -0.7501903772, -0.3271769881, -0.5960258842, -0.2414830327, -0.290820986, -0.0693390891, -0.1009716317, -0.3279661536, -0.2037359476, -0.3862540126, 0.4164524376, 0.6514753699, -0.2922255099, 0.0921610594, -0.5394646525, 0.4019586444, 0.3683981299, 0.2888515294, -0.1681247205, -0.6496193409, -0.0808905959, -0.1017388552, -0.2349378914, -0.8072664142, 0.4183601737, 0.1525840461, 0.8387119174, 0.0885344073, -0.0073753372, 0.5941997766, -0.22071518, 0.3835926056, 0.088211976, -0.9131295681, 0.5714733601, -0.1935590059, 0.0531491973, 0.7856021523, 0.0293682795, -0.5584684014, -0.1398685575, -0.7372072935, -1.1253250837, 0.8942000866, -0.0280065108, 0.0504355505, 0.4173341095, 0.3915840685, 0.114001438, 0.2725152075, -1.2219283581, -0.0273513123, -0.0009005045, 0.0199050382, 0.081074506, -0.073637858, -0.432462126, -0.1824204326, 0.8275809884, -0.2034856826, -0.0628809109, 0.2814808488, -0.6037141681, 0.0453217477, 0.2489705831, 0.5259565115, 0.6196098924, -0.1101372093, 0.1536715478, 0.5300493836, -0.2998979688, -0.0833199695, 0.1648239195, -0.1456779689, -0.3443979025, 0.6129543185, 0.8305929899, 0.1351105869, -1.0776389837, 0.5679296255, 0.0363735221, -0.5807125568, -0.2478533834, 0.430696249, 0.0682343394, 0.4557648003, 0.0854829624, 0.0729087964, 0.1467935145, -0.4092270434, 0.3621977866, 0.4449980557, -0.5413551331, 0.2920959592, 0.3327769935, 0.1541877538, -0.3151905537, 0.8932476044, -0.3137298822, -0.7125819325, 0.8679633737, 0.5732220411, 0.8185123205, 0.4486482441, 0.1505497843, 0.1236764863, 0.6209264994, 0.1853120476, 0.3290356398, -0.0830122456, -0.723280251, -0.6975149512, -0.2476271391, -0.4488219619, 0.2229259759, -0.4891895056, 0.3557107449, -0.7456477284, 0.0995431691, -0.4273683429, 0.1302337497, -0.6121335626, 0.1397709101, 0.1030552164, 0.8962268233, -0.5842314363, 0.597712934, 0.6091499925, -0.4608765244, -0.6369206309, -0.0805737376, -0.0305485502, -0.838807404, 0.7907636166, 0.3680821955, -0.3212912083, -0.2178609669, -0.6298877597, -0.636911869, 1.1911897659, 0.3286510706, -0.4309893548, 0.4515372813, 0.0446593463, 0.5887932777, -0.3876765072, 0.1785696298, 0.6976706982, 0.5048148036, -0.091463834, -0.4756542444, 0.1052286103, -0.2386890054, -0.2027635723, 0.0495655984, -0.3871462941, 0.4608683884, -0.3133110702, -0.1458435655, -0.384427458, 0.9194129705, 0.3944737017, 0.3276287615, 0.8691219091, 0.7439274788, 0.628108561, 0.0716475025, 0.7337775826, 0.0501616895, 0.1769020408, 1.3828656673, -0.3520738184, 0.7027082443, 0.6028289199, 0.0387378968, 0.4180845022, 0.5177009106, 0.0803095847, 0.4569810331, 0.7242867351, -0.1600429118, -0.1981180757, -0.3134806752, -0.1213872433, 0.2028622031, 0.5869868994, -0.0471366383, -0.3309764862, -0.0257179067, 0.0318499804, 0.5205481648, -0.344563663, 0.9860053658, 0.003699776, -0.8345102072, 0.4389587641, 0.271771431, 0.9755951762, -0.5078419447, -0.326030761, -0.3754929006, 0.1414802819, -0.4098469019, -0.8573408723, 0.2828678191, 0.054904107, 0.2578105927, -0.5788590908, 0.9531261325, -0.3297297955, -0.2015980035, 0.7700121403, 0.410425663, -0.2075879425, 0.3466069102, -0.8823871613, -0.2998231053, 0.0366343521, -0.1074687093, 0.1828714609, 0.5340918899, -0.0292108003, 0.7021598816, 0.6495913267, 0.1164735481, 0.1559927315, 0.2440003157, 0.9025734663, -0.7378382683, -0.4335865676, -0.9654966593, 0.3992883861, -0.1013103351, -0.3481685817, 0.3871869147, 0.3750016987, 0.885402739, 0.1728436649, 0.6303405762, 0.046115905, 0.1807617545, -0.8813872337, 0.4132582843, -0.4951152503, 0.4067589939, -0.0328620523, -0.7461408973, -0.2949374914, 0.8205081224, -0.3017216921, -0.0572481006, 0.4930343032, 0.7905436754, -0.1758071184, -0.0817617327, 0.1511886716, 0.2893657684, 0.3369701505, 0.6437103152, 0.9587429166, -0.047859028, 0.4673423171, -0.252979815, -0.2617012262, -0.3527459502, -1.1592258215, -0.7721270919, 0.1759238839, -0.2174941003, -0.4732112586, 0.1710377932, 1.135918498, 0.5528463125, -0.6123471856, -0.4840277433, -0.4256999791, 0.4490100443, -0.393447578, -0.2669581771, 0.0484835021, -0.7238958478, -0.4123108983, 0.702378273, 0.274630338, -0.1596745104, -0.3567881286, -0.4161160588, -0.6152204871, -0.0086874031, 0.4677239954, 0.412999332, -0.3833195865, -0.0911145881, -0.0616090037, 0.0098191435, -0.0561485216, 0.8096153736, -1.1090515852, 0.2140114456, 0.5556596518, 1.247231245, 0.628100872, -0.2650907636, 0.8426346779, -0.5013413429, 0.2185107172, 0.4326193035, 0.3098009229, 0.1464518607, -0.4641710222, 0.7350372076, 0.2218649685, -0.2417102009, -0.5605249405, 0.1413550526, -0.733197093, -0.214886263, 1.0513054132, -0.0496407747, -0.0859381184, 0.1078824922, -0.1850531548, 0.0805703029, -0.4391601086, 0.4846096933, 0.7177994251, -0.315495342, -0.0903833807, -0.8741796613, 0.4406754971, 1.1301490068, -0.7774983048, -0.1363795698, 0.4450556934, 0.0566002131, -0.0370532461, 0.4877555668, -0.0441187955, 0.2824493945, -0.4755365551, -0.2198810726, -0.0403360166, -0.3652659655, -0.8059204817, 0.0728420094, 0.0674861446, 0.0844604075 ]
http://arxiv.org/abs/2403.01166v2
http://arxiv.org/pdf/2403.01166v2
DINER: Debiasing Aspect-based Sentiment Analysis with Multi-variable Causal Inference
2024-03-02T10:38:31
2024-06-06T07:27:33
Jialong Wu, Linhai Zhang, Deyu Zhou, Guoqiang Xu
cs.CL
cs.CL, cs.AI
Though notable progress has been made, neural-based aspect-based sentiment analysis (ABSA) models are prone to learn spurious correlations from annotation biases, resulting in poor robustness on adversarial data transformations. Among the debiasing solutions, causal inference-based methods have attracted much research attention, which can be mainly categorized into causal intervention methods and counterfactual reasoning methods. However, most of the present debiasing methods focus on single-variable causal inference, which is not suitable for ABSA with two input variables (the target aspect and the review). In this paper, we propose a novel framework based on multi-variable causal inference for debiasing ABSA. In this framework, different types of biases are tackled based on different causal intervention methods. For the review branch, the bias is modeled as indirect confounding from context, where backdoor adjustment intervention is employed for debiasing. For the aspect branch, the bias is described as a direct correlation with labels, where counterfactual reasoning is adopted for debiasing. Extensive experiments demonstrate the effectiveness of the proposed method compared to various baselines on the two widely used real-world aspect robustness test set datasets.
[ -0.4858512282, -1.3282589912, 0.8120765686, 0.4519040287, -0.3338485062, -0.4857269526, 0.1948654652, -0.0927619115, 0.399125725, 0.5247403979, -0.7141438723, -0.6033012271, -0.3158912063, 0.0981185064, -0.0336827673, 0.7666530609, 0.2106928676, 0.5006091595, -0.2330273986, -0.3532235622, -0.6927187443, -0.5020822883, -0.5787135959, -0.2735600471, 0.7008141875, 0.3618659973, 0.5122295618, -0.044093091, 0.3805182278, 0.1950501949, 0.0042173229, 0.1350878179, -0.0785636306, 0.3110889196, -0.4406537414, -0.334759146, -0.4050520957, 0.1704476327, 0.1113049388, 0.6257060766, 0.3108263314, -0.0927929953, 0.1059071571, 0.7813493609, -0.7754796147, 0.4343678951, -0.3892363608, -0.0645230412, 0.3110221326, 0.2585482001, -0.3295626938, -0.424631387, -0.1557605714, -0.4695610702, -0.0245345403, -0.1266760975, 0.6442728043, 0.3546816409, -0.4503739774, 0.0270230714, -0.8415379524, 0.899729073, -0.9364596605, 0.1775256395, 0.5434004068, 0.0292418879, 0.100139983, -0.1912583113, -0.7969570756, 0.0122614643, 0.0036686284, 0.2782581449, -0.0372231826, -0.0699164495, -0.0673894435, 0.1538879275, 0.0234527308, 0.0909824446, 0.1935362518, 0.3216901124, 0.43226403, -0.0201803111, 0.0071789478, -0.6494475603, -0.6138939261, -0.155283004, -0.8890482187, 0.0982781574, 0.3929702342, 0.5633352399, -0.1779417992, 0.4010451436, -0.2598002553, 0.4478523135, 0.1720146537, 0.2259715199, 0.3723205924, -0.4506800473, -0.3078117967, -0.1166718379, 0.8956321478, 0.78719455, -0.248924315, 0.0514578409, 0.0456403755, 0.1879635751, 0.4152314365, -0.4742248058, -0.0207246542, 0.6179689169, -0.4341550171, -0.5563580394, 0.2313175648, -1.1661723852, -0.7235345244, -0.2677859366, 0.3958661556, -0.3366650939, -0.314661473, -0.2612437606, -0.093039088, 0.2638299763, 0.2339562774, -0.4896056056, -0.2375147045, 0.8379952908, 0.7388392091, 0.1799368411, -0.2877116799, -0.3445508778, -0.0142155997, -0.4840323329, 0.8881115317, -0.5842235684, -0.2467723489, 0.0261805281, -0.0245217942, 0.0167183708, 0.0434728973, 0.6066364646, -0.3833684325, 0.0198162142, -0.7906576395, -0.0593297631, -0.6492578983, 0.6789799929, -0.8313212395, 0.5881378055, 0.0994957983, -1.030811429, 0.6867713928, -0.2842479348, -0.4957037866, -0.6566269994, -0.2083110958, -0.8220379353, 0.3217558563, 0.772918582, 0.3228876889, -0.5538750887, 0.7154080272, -1.0285186768, -0.0323307104, 0.3644179702, -0.6712347269, 0.5706928968, -0.0226352327, -0.5132082105, 0.4220600128, -0.5144797564, -0.3174300194, -0.2700697482, 0.1945263296, -0.8598641753, 0.19215554, -0.1601828933, 0.4350003004, -0.1289672107, -0.6723917723, 0.0608423539, -0.3329805136, 0.0656955987, 0.6680139303, 0.5663931966, 0.2836348116, -0.1973570287, 0.3084561527, 0.6372095942, 0.4878730774, 0.0601964928, -0.2269611955, -0.6681466103, -0.4412365556, 0.058865197, 0.3134300113, -1.0465587378, 0.6471167803, -0.001007017, -0.3293286562, -0.3882712424, -0.2564694881, 0.6217138171, 0.6506925821, 0.5304663181, -0.4036631286, -0.358060956, -1.056329608, -0.2741769552, -0.3734329343, 0.2995179594, 0.1758029163, 0.1693460047, -0.1104487106, 0.8338922858, -0.559843719, -0.5195245147, -0.3047784269, 0.3734788001, 0.3246239126, 0.5780892968, 0.7303565741, -0.7308106422, -0.083773233, -0.4884615541, -0.9114253521, 0.0014244107, -0.4019636214, -0.2226762176, -0.018961966, 0.2757039666, -0.3690186739, 0.5521520972, 0.1318817139, -0.4916398823, 0.5452055931, 0.1740083992, 0.3753872216, -1.0803979635, -0.1440005451, 0.4337759316, 0.192531839, -0.3003822863, -0.0686684325, -0.2075202912, 0.1517388374, -0.2586418688, 0.2975127101, -0.1246341392, 0.1707524061, -0.3810304403, -0.2194972932, 0.3733715713, 0.8605942726, -0.0288125332, 0.2246521115, 0.6048070192, -0.1975267678, 0.1991891414, 0.1760289073, -0.0374592505, 1.0976605415, -0.4820306599, -0.0973325446, -0.3850731552, 0.3150532842, -1.1418793201, 0.1628598422, 0.667911768, -0.1335866302, 0.1429357827, -0.1338694692, -0.0930928886, -0.1573815495, -0.8586348295, 0.1888090223, -0.2974385023, -0.5623710752, 0.7118458152, 0.2618120909, -0.1673347801, -0.7500972748, -0.6426703334, -0.0364242904, -0.3716438413, -0.1556037515, 0.0321437567, 0.2305278778, -0.4860260487, 0.1714741588, -0.343249619, -0.1738703549, 0.0277852379, 0.5286827683, 0.1208688542, -0.112345323, -0.0827815831, 0.4377635419, -0.2000191659, 0.3085649312, -0.0878828019, 0.325968951, -0.1628207266, -0.4417486489, -0.5211675763, 0.5951319337, 0.632900238, -0.0284411479, 0.7350033522, 0.401951015, -0.0747747123, -0.005795171, -0.4731436372, -0.2984259725, -0.3132827282, 0.5000511408, -0.358114332, -0.1246990785, 0.5657967329, 0.2479423136, -0.1369954199, 0.4555800259, 0.3188783228, 0.1017743945, 0.6892437339, 0.2276041508, -0.4930221736, 0.5590584874, -0.214329198, 0.26626122, -1.0283306837, -0.2234044075, -0.572198987, -0.2586002648, -0.4174840152, -0.3578965962, 0.3602716625, 0.1210570931, -0.4866810441, -0.048727449, -0.1102804765, 0.1855092943, 0.7801379561, 0.4891891181, 0.2547180355, -0.2412584573, -0.0748636425, 0.1709232181, -0.2697251439, -0.2130223364, 0.8397772908, 0.2471115887, 1.0406240225, 0.1802764833, 0.3971167505, 0.3286100626, 0.4992564917, -0.7783761024, 0.1353352517, -0.116021879, -0.5944548845, -0.2822476923, -0.3851153553, -0.3381828368, 0.5542673469, -0.1737975031, -0.5559064746, 0.8292078376, 0.0273567047, -0.2933574915, 0.318521142, -0.5278048515, 0.8525419831, -0.2102117538, -0.8295801282, -0.2504588366, -0.620323658, 0.4421993792, 0.0571711697, 0.519359529, -0.1851798743, 0.4642997682, 0.4173256159, -0.4931156337, 1.3559234142, -0.7004626393, -0.1474586874, 0.2245797366, 0.1640383601, 0.2794150114, 0.7411165237, -0.2102722526, 0.6011704803, -0.2290638089, -0.0886439532, -0.6633882523, 0.9991009235, -0.7927923799, -0.6601020098, -0.5013660789, -0.4649360776, -0.6090760231, 0.227349937, -0.0746715665, 0.4975608587, -0.2897133827, 0.0264832657, 0.0469126701, -0.2639041245, 0.5123492479, 0.5203551054, -0.0049722283, -0.7749496698, 0.6644540429, -0.2435040325, -0.175936684, 0.6472799182, 0.4835214019, -0.2681801915, -0.2766070366, -0.4321688414, 0.0823146626, -0.5542184114, -0.441421628, -0.4399421811, 0.3499212563, -0.4693011642, -0.1096505672, -0.6392980814, -0.3448423743, -0.1397864968, -0.1804181784, 0.1507025063, 0.5771818757, -0.2863308489, 0.4134023488, -0.3702018857, 0.447946161, 0.2450448573, 0.1877724081, 0.2457415015, -0.08985845, -0.0794581696, 0.1476018131, -0.5040498376, -1.1027629375, 0.4197846949, -0.116867505, 0.2005318999, 0.7133552432, 0.3188175857, 0.4388932288, -0.0415553637, 0.8435955048, 0.3791163862, -0.9703317285, 0.4324759245, -0.2405087799, 0.0093935858, 0.7821500301, 0.2853910327, -0.3551322222, -0.6095831394, -0.3147545755, -1.3203350306, 0.6097815037, -0.1019789502, 0.0215329286, -0.3051192462, 0.3215439022, 0.3572788537, 0.3401764035, -0.7885553837, -0.3059876263, -0.6292100549, -0.2043782771, 0.0653805658, -0.3218212724, -0.1048518941, -0.2079353482, 0.9881329536, -0.2765979767, 0.1162985638, 0.3795315325, 0.1518317312, -0.0452057645, 0.3860102296, 0.2692222297, 0.6720407605, -0.3326099217, 0.2771259248, -0.1331728995, -0.1659927666, 0.171916604, 0.1375930309, -0.3754001558, -0.1916429847, 0.4404772222, 0.7633326054, 0.2097877413, 0.0310252067, 0.7538890839, -0.2759050429, 0.3598475158, -0.3261594176, -0.1986534894, -0.121877268, 0.3898902833, 0.1931643635, 0.1262913644, 0.1709302068, -0.4498771727, 0.1837848723, 0.5674713254, -0.977573514, -0.6194117069, 0.7203647494, 0.3416251838, 0.3926217556, 0.4978244603, -0.1232673675, -0.35719648, 0.618779242, 0.2644383013, 1.2537562847, -0.240994975, 0.454828918, 0.3674952686, 0.2871076763, 0.1172609627, 0.4933519661, 0.1755402833, -0.7986672521, -0.4975504279, -0.6190218329, -0.3111210763, 0.2342099845, -0.9943673015, -0.0323448144, -0.4006775022, -0.3128122687, 0.0000235498, -0.2972416878, -0.4208672941, 0.3496414721, -0.1347273439, 0.4423612952, -1.2896629572, 0.576028645, 0.6215264201, -0.8575029373, -0.5686445236, 0.4348787367, 0.187291503, -0.4676668644, 0.3818452358, 0.1684170514, -0.2222868353, -0.6302427053, -0.3278324008, -0.4851611257, 0.5765549541, 0.035309393, -0.3545614481, 0.128910318, -0.0658809319, 0.3396517038, -0.3266541958, 0.2698274851, 0.4748969972, 0.5061812997, -0.1025651321, -0.4107375145, 0.31834355, -0.0111685889, -0.0669472739, -0.0556969196, -0.8586388826, 0.9541723728, -0.0625260621, 0.530950129, -0.2573275864, 0.7715599537, 0.0029725959, 0.5211693048, 0.5935159922, 0.5785797834, 0.2948258817, -0.0672957748, 1.0103369951, -0.1918972582, 0.5683377981, 1.4170638323, -0.4166723788, 0.4939450324, 0.7373464704, -0.0434108675, 0.8249511719, 0.52337569, 0.1956739277, 1.0092071295, -0.175852105, 0.0239216182, -0.1859917045, -0.125991419, -0.1901692152, 0.5555465817, 0.3385277092, -0.4459905028, -0.2220815122, 0.0577596463, 0.2860921621, -0.1269664913, -0.2671981454, 0.880129993, 0.2647549808, -0.7741521001, -0.0701958388, 0.1598351747, 0.4822902381, -0.3783293962, 0.0975116864, -0.5874944329, 0.3873388171, 0.0344354436, -0.5178728104, 0.4594445229, -0.2077710778, -0.3881588876, 0.0431861356, 0.4322407246, -0.1496038288, -0.6760371923, 0.2738557458, 0.592715919, -0.477239579, -0.4577023089, -0.5662299991, -0.0090973908, -0.058389578, -0.4118452966, -0.0083603766, 0.4905335903, -0.1296769828, 0.0287635215, 0.3035908639, -0.0099820336, -0.6700538397, 0.3917194605, 0.9451190233, -0.9883931875, -0.9213529229, -1.1020526886, 0.2052920908, -0.0953506678, -0.3156684339, 0.871070981, 0.3330470026, 0.4621908665, -0.1387029141, 0.8516588807, -0.1815880835, 0.3462087512, -0.5366180539, 0.6285748482, -0.4280183911, 0.324354738, -0.7209590077, -0.6591914296, -0.3790538013, 0.5527356863, -0.639939189, 0.1308330595, 0.8237441778, 0.6674603224, 0.056531027, 0.3051394522, 0.0242462531, 0.3973458111, 0.5662871003, 0.3002120554, 0.8002364039, -0.1596353352, -0.1636532843, -0.5321173072, -0.3272036612, -0.2059981078, -0.9466812611, -0.8845794797, -0.5190256238, -0.3672732115, -0.5712285042, -0.019165054, 0.6906417608, 0.6236207485, -0.9955231547, 0.2770898044, -0.0601312853, 0.5327382684, -0.9212502241, -0.3015174866, 0.730755806, -0.3897098601, -0.6408625841, 0.3369500041, 0.2534728348, -0.5079202652, -0.4955386817, 0.5034311414, -0.3605727255, 0.2700377405, 0.6013221741, -0.1085335165, -0.6089698076, -0.563303113, -0.4788695574, 0.1657723188, 0.2007004023, 0.8531134725, -0.6589004993, 0.5533151031, 0.4324170351, 0.3218876123, 0.3022141159, 0.493192941, 0.5500531197, -1.0664753914, 0.324970752, -0.0096172094, 0.5325300694, 0.3937524557, -0.4950828552, 0.1499189585, 0.3398343325, -0.1558941305, -0.4772046506, 0.381280452, -0.9063289165, -0.6828504205, 1.1743500233, -0.3086920083, -0.5147830248, -0.2293859273, -0.0325539075, 0.3449530602, -0.5583762527, 1.1201754808, 0.4147971869, -0.3498122692, 0.3885205388, -0.0262396131, 0.189955011, 0.401604563, -1.0856482983, 0.2925718725, 0.9300855994, 0.196272254, 0.179541111, 0.4315913022, -0.1399046332, 0.0204355158, 0.2428826541, 0.0338449031, -0.2910058796, -0.6712381244, -0.3971568942, 0.3899309337, -0.0539987274, -0.508035481 ]
http://arxiv.org/abs/2403.01165v2
http://arxiv.org/pdf/2403.01165v2
STAR: Constraint LoRA with Dynamic Active Learning for Data-Efficient Fine-Tuning of Large Language Models
2024-03-02T10:38:10
2024-06-06T07:31:39
Linhai Zhang, Jialong Wu, Deyu Zhou, Guoqiang Xu
cs.CL
cs.CL, cs.AI
Though Large Language Models (LLMs) have demonstrated the powerful capabilities of few-shot learning through prompting methods, supervised training is still necessary for complex reasoning tasks. Because of their extensive parameters and memory consumption, both Parameter-Efficient Fine-Tuning (PEFT) methods and Memory-Efficient Fine-Tuning methods have been proposed for LLMs. Nevertheless, the issue of large annotated data consumption, the aim of Data-Efficient Fine-Tuning, remains unexplored. One obvious way is to combine the PEFT method with active learning. However, the experimental results show that such a combination is not trivial and yields inferior results. Through probe experiments, such observation might be explained by two main reasons: uncertainty gap and poor model calibration. Therefore, in this paper, we propose a novel approach to effectively integrate uncertainty-based active learning and LoRA. Specifically, for the uncertainty gap, we introduce a dynamic uncertainty measurement that combines the uncertainty of the base model and the uncertainty of the full model during the iteration of active learning. For poor model calibration, we incorporate the regularization method during LoRA training to keep the model from being over-confident, and the Monte-Carlo dropout mechanism is employed to enhance the uncertainty estimation. Experimental results show that the proposed approach outperforms existing baseline models on three complex reasoning tasks.
[ -0.2210713029, -1.3788496256, 0.5432949662, -0.3326288462, -0.0946651697, 0.1465875804, -0.4467433095, -0.4446258545, -0.0483071245, 0.4483175576, -0.5697717071, -0.3782161474, -0.315125227, -0.2768838108, 0.0116550224, 0.4980554879, -0.5660736561, -0.2503480315, 0.2759756446, -0.1165151298, -0.352185607, -0.1437592059, -0.4328130484, -0.2961466908, 0.6914947629, 0.6002608538, 0.7816678286, 0.7841011286, 0.3328208029, 0.2421057522, -0.3732366562, 0.8217183948, -0.2598149776, 0.233076036, -0.1541617513, -0.5730168223, -0.4295888543, -0.0085122455, 0.8020159006, 0.9755583405, -0.1908047497, 0.1137809008, -0.1772481948, 0.43774122, -1.0247424841, 0.1577305198, -0.8490220308, 0.0873486549, -0.0921724364, 0.1789229214, -0.0343750343, -0.1671360582, -0.0556518547, -0.823261857, -0.2237084806, -0.0743611157, 1.0735446215, 0.9291089177, -0.4631703794, -0.0442087762, -1.1543838978, 0.8982617855, -0.7431452274, 0.302162081, 0.4694850147, 0.2500771284, -0.0842443854, -0.3179794252, -0.6534424424, 0.0218350533, 0.3664395511, -0.0578423589, -0.0236193202, 0.1215148568, 0.2040441483, 0.2841024995, -0.02341347, 0.3889761865, -0.2125717402, -0.2184580564, 0.4399117231, 0.0027929954, -0.2175245285, 0.1539485753, -0.1799201518, 0.0098367352, -0.807236433, -0.0043430408, 0.5948921442, 0.6815573573, 0.053037215, 0.5281891227, -0.2523649037, 0.8648356199, 0.1704460829, -0.1843728572, 0.2617788315, -0.0662343353, -0.1715064347, -0.071449168, 0.6150709391, -0.3298785985, -0.0062346482, 0.1206859648, -0.3077480197, 0.1548372358, -0.064099811, -0.3886607587, -0.0158238746, 0.1834236234, 0.1424786896, -0.2757822573, -0.0047790459, -0.5029969215, -0.2160094976, -0.3440518975, 0.7457351685, -0.2615366876, -0.097548157, 0.4069606364, 0.6677170992, -0.028958071, 0.583878994, -0.6326875091, 0.1936840713, 0.4257013202, 0.3762994409, -0.1852782965, -0.1676341146, -0.9706132412, 0.3810946941, -0.2271342874, 0.6801367998, -0.5488284826, 0.1133327857, -0.0225979555, -0.2193898857, -0.1413946748, -0.553480804, 0.7463772893, -0.4985218644, 0.0023970134, -0.0150839668, -0.3721987605, -0.2964591086, 0.3042775393, -0.758372128, 1.243083477, 0.1108029783, -0.469843328, 0.2550398707, -0.4575939476, -0.2985818088, -0.0848221704, -0.2692375481, -0.7544590831, 0.0182776805, 0.2244191617, 0.3659150302, -0.1869985461, 0.3768504858, -0.2525626123, -0.4907710254, 0.3198260963, -0.4630550444, 0.2873498797, 0.3226530552, -0.4554830492, 0.1022238284, -0.8504219055, 0.0886058286, 0.0905373767, -0.6520690322, -0.1940796822, 0.1878292114, -0.3156323433, -0.0564284474, 0.5115793347, -0.3490153551, 0.4094443321, -0.4949909151, 0.402864188, 0.5593410134, 0.0397828817, 0.4154068232, -0.0149414735, 0.4325560331, 0.0256124474, 0.1527192742, 0.0105627719, -0.1405896246, -1.0707057714, -0.1105404943, 0.6557123065, 0.688413322, -0.5290612578, 0.6409766674, 0.1831583232, -0.295375526, -0.3258881271, 0.4489886761, 0.3252658248, 0.3410614133, 0.2758882046, 0.2106028497, -0.25514552, -0.6896046996, -0.1363878101, -0.2151365876, 0.2950107157, 0.3770811856, 0.3839254975, -0.1904003918, 0.7202049494, -0.5939718485, -0.3752990663, -0.1449562162, 0.1095528528, 0.3337974548, 0.5518830419, 0.2474600077, -0.7612563372, -0.4255734682, -0.0444180705, -0.2584350109, -0.1617331356, -0.0837303177, -0.140069291, 0.1147715747, 0.4959734976, -0.6501778364, 0.3678126037, 0.5969945192, -0.2543508708, 0.2952612638, -0.2012975216, -0.2084138542, -0.7444658875, 0.0439827517, -0.1793923378, -0.1883898675, -0.3809535503, -0.0169130862, 0.1983986348, -0.096196264, -0.381698519, 0.5300853252, -0.6839936376, 0.3163664043, -0.2891367972, 0.1506186575, -0.0676845983, 0.5342006683, 0.0654483214, 0.4034966826, 0.6588591337, -0.5535994768, 0.3517617583, 0.0778936893, -0.6050787568, -0.0408153199, -0.421833545, 0.0038451324, 0.2482894659, 0.0289751887, -0.7903862596, -0.4464993775, 0.3093169332, -0.1102997139, 0.4416809082, -0.1298063397, -0.541294992, -0.1319513023, 0.0842887089, 0.3833156228, 0.4529412687, -0.3273867369, 0.7463818789, 0.310442239, 0.1441461146, -0.7378786206, -0.6932250261, -0.2464421093, -0.2672283649, -0.2822581232, 0.3086000085, 0.0879621282, -0.29754287, -0.0463527031, -0.4528546929, -0.1229952574, 0.3919816315, 0.1151304692, 0.0836777166, -0.0942808911, 0.2140876502, 0.4084630907, -0.1245735586, -0.2456714362, 0.000604224, 0.4187426865, -0.0474548899, -0.8355686069, -0.5783188939, 0.0831793398, 0.4773461521, -0.417702049, 0.8639876842, 0.4641670585, -0.615932703, -0.5120022297, -0.7526371479, -0.1490566283, -0.4858770967, 0.1849755198, -0.3154132068, -0.8025943637, 0.7124683857, -0.359069258, 0.1342254281, 0.3353151977, 0.4324100614, 0.0113139069, 0.9803822041, 0.5339722037, 0.2588342726, 0.7730072141, -0.3388374448, 0.3023237288, -0.5309811234, -0.1022110656, -0.3996644914, -0.4458072186, -0.1680777818, -0.6770280004, 0.2943225503, 0.4596984386, -0.4557078481, -0.1164843738, -0.1944975704, 0.4632315636, 0.4710816741, 0.2350462377, 0.3984744251, -0.0236080177, -0.1526945233, 0.1295880228, -0.793250978, -0.4043653905, 0.7251678109, 0.3483887613, 1.1202309132, 0.1234178469, 0.4333343506, -0.1225719601, -0.2967647612, -1.0052783489, 0.5144585371, 0.0222063884, -0.5614954233, -0.5073012114, -0.597029686, -0.9924941063, -0.065723829, -0.3489819467, -0.5895236135, 0.2978405654, 0.4450449049, -0.8335729837, 0.5004544258, -0.5699849725, 0.6586680412, -0.3632280529, -0.6473392248, -0.0844162628, -0.6380468607, 0.1669330448, -0.3980376124, 0.1615708023, -0.361705035, -0.3429350555, 0.623693347, -0.4058426321, 1.103282094, -0.241801545, -0.3801194429, 0.5249010921, 0.2200541049, 1.0024961233, 0.1183826178, -0.2496798784, -0.2196649313, -0.3306491375, -0.3541404307, -0.5584733486, 0.7166442871, -0.8353540897, -0.5228062868, -0.4095753729, -0.747526288, -0.6530382633, 0.182856217, -0.1236624718, 0.0861946419, 0.1286285818, 0.1469233185, 0.9732738733, -0.2338940948, 0.1326085031, 0.7177215815, 0.0321349464, -0.1738982201, 0.5700622201, 0.3064664602, 0.4090043008, 0.3837563097, 0.3147261143, 0.008109686, -0.8015064597, -0.2365068644, 0.4358099103, -0.4528499842, -0.3984964192, -0.4032283425, -0.2117425501, -0.0991436318, -0.1607611328, -0.8482277989, -0.553598702, -0.422315985, -0.020211, 0.4729507267, 0.39372015, -0.0331152752, 0.4787684977, -0.5399898887, 0.1881697476, 0.4353471994, 0.4039391279, -0.1738847941, -0.5940724611, -0.3986516297, 0.2048537135, -0.1923133731, -0.6200968623, 0.1581486017, 0.4449595809, 0.7419769764, 0.6460787654, 0.3375688493, 0.6903829575, -0.2006042004, 0.5822623372, -0.0802296251, -0.9217105508, 0.8352349401, -0.5098011494, 0.3954652846, 0.6872000098, 0.1146816239, 0.0510040782, -0.3144066334, -0.5564704537, -0.9618545771, 0.5724104643, 0.1419225037, -0.0817808956, 0.2594465017, 0.6866288185, 0.027545277, -0.0190227162, -0.5113248229, -0.175223276, 0.3071572781, -0.1704021245, 0.059700828, -0.1276270449, -0.1798757017, -0.3173502386, 0.8018581867, -0.3372158706, 0.015542523, -0.1844021082, -0.0250041038, -0.5628370047, 0.1623360962, 0.2652768493, 0.5951588154, -0.2966862321, 0.1535004675, 0.4597653151, -0.3766435385, 0.0239557754, 0.1800219715, -0.2266388983, -0.1348702759, 0.1887859106, 0.9943404198, 0.2443073243, -1.0018918514, 0.2921240628, 0.1495956033, -0.3378432691, -0.3589645922, 0.4337521195, 0.0017995433, 0.4138765037, 0.3972023129, 0.1170486286, -0.3437300622, -0.5187616944, -0.0681100711, 0.3454658389, -0.4640861154, -0.1986674368, 0.6835464239, 0.2045226097, -0.061325755, 0.4200671017, -0.0317489021, -0.5176456571, 0.5157396197, 0.3289994001, 0.4260608852, -0.3740881681, -0.0596925467, 0.3331826627, 0.1546765566, -0.3770215809, 0.6460760832, 0.0084038563, -0.8171221614, -0.7848732471, -0.638307929, -0.650729537, 0.3009803295, -0.6301159859, 0.5333989859, -0.4456115663, -0.1253287643, -0.1879324317, 0.4186759889, -0.2782683671, 0.1706762165, 0.1491016895, 0.7056179047, -0.9574252963, 1.035523653, 0.7671662569, -0.1669502109, -1.0614470243, -0.0186582692, -0.1863140762, -0.6526059508, 0.3955774903, -0.1021433473, -0.2372138947, -0.051829841, -0.5744996071, -1.110465765, 0.8839486837, 0.6459422112, -0.7449980378, -0.0264975838, -0.1489969045, 0.318534404, -0.0900329202, -0.4214287996, 0.4432462454, 0.6396539211, 0.3752951622, -0.9018214345, -0.0731988698, -0.098312743, -0.4967495799, 0.6686557531, -0.8820788264, 0.9128062129, -0.2421267182, -0.1591774523, 0.1203370243, 0.6798503995, 0.2886427343, 0.0786911622, 0.821123898, 0.4791508913, 0.9839739203, -0.2205836028, 0.46003142, -0.2615653276, 0.3917301595, 1.1790540218, -0.4345120788, 0.900242269, 0.524954319, -0.0521137789, 0.2432703078, 0.7754152417, 0.0223324448, 0.4088360965, 0.1839761734, -0.360486567, -0.7658320069, -0.0759251267, -0.1003268734, 0.6159200072, 0.7773320079, -0.1485729665, -0.0521809459, -0.0022264128, 0.0680462793, 0.1125499159, -0.2415388525, 0.5065293908, -0.0510039106, -0.7102739215, 0.7636522651, -0.0129915942, 0.4796260893, -0.7807272077, 0.1254629195, -0.0858405754, 0.4205470085, -0.1286525279, -0.4943738282, 0.1504555196, -0.0396521837, 0.1235985234, -0.0656922758, 0.5100098252, -0.5312374234, -0.5312594175, 0.0714044198, 0.7722883821, 0.0590051673, -0.0412770621, -0.6691854596, 0.254270345, 0.0468518138, -0.4985193908, 0.1439907253, 0.668112278, -0.1578014195, 0.6903740764, 0.3898873925, 0.294565767, -0.0515357032, 0.0383653641, 0.9863610268, -0.4683306515, -0.3189537525, -0.5976732969, 0.2603642642, 0.2389535755, -0.26694718, 0.5924873948, 0.5828229189, 0.4745002389, 0.3051462173, 0.6638710499, 0.0065418198, 0.6996174455, -0.6789466739, 0.452179879, -0.7939209342, 0.5698266625, -0.1297656894, -1.0436712503, -0.5779960752, 0.8420996666, -0.3279446065, -0.0706211925, 0.6481660604, 0.6942955852, -0.3992239535, -0.4223327637, 0.2469613701, 0.2957444489, 0.011154741, 0.6793383956, 0.7376630306, -0.3602460921, 0.67897439, -0.3025696278, -0.1958643198, -0.218520835, -0.8312698603, -0.8968601227, -0.4375117421, -0.6671379805, -0.251690805, -0.0032523149, 0.7574882507, 0.6400915384, -0.7817318439, 0.0267948844, -0.0422136597, 0.0576328821, -0.398814261, -0.1087414995, 0.5608251691, -0.1518866569, -1.0247753859, 0.5057985187, 0.0124685168, 0.325547874, -0.4452375174, 0.0649924874, -0.4917140603, 0.2798973024, 0.1866445541, 0.4008898735, -0.710136652, -0.2394095212, -0.1042025164, 0.1091260836, 0.001909732, 0.510379374, -0.8527052402, 0.2229973972, 0.4053758681, 0.5506336093, 0.7443723679, -0.0279012993, 0.5145193338, -0.6127519608, 0.3531410098, 0.3419175744, 0.2585030794, 0.0843738541, -0.3099348843, 0.5525390506, 0.0687935203, -0.4930110574, -1.1612204313, 0.4110563397, -1.2044526339, -0.4446799755, 1.2860043049, -0.152273342, -0.254018873, -0.1444846094, -0.2157894969, 0.4343728423, -0.4670339525, 0.7731614113, 0.457332164, -0.1123126447, -0.1416492313, -0.6143218279, 0.2646026015, 0.5493195057, -0.6801764369, 0.1341758519, 0.4810118377, 0.0477700271, 0.0744199082, -0.1975343078, 0.2474934608, 0.1047714502, -0.094086349, -0.1044681668, -0.2750205994, -0.3171558976, -0.2219357193, 0.2143339068, 0.2125335485, 0.0155869927 ]
http://arxiv.org/abs/2403.01163v1
http://arxiv.org/pdf/2403.01163v1
BootTOD: Bootstrap Task-oriented Dialogue Representations by Aligning Diverse Responses
2024-03-02T10:34:11
2024-03-02T10:34:11
Weihao Zeng, Keqing He, Yejie Wang, Dayuan Fu, Weiran Xu
cs.CL
cs.CL
Pre-trained language models have been successful in many scenarios. However, their usefulness in task-oriented dialogues is limited due to the intrinsic linguistic differences between general text and task-oriented dialogues. Current task-oriented dialogue pre-training methods rely on a contrastive framework, which faces challenges such as selecting true positives and hard negatives, as well as lacking diversity. In this paper, we propose a novel dialogue pre-training model called BootTOD. It learns task-oriented dialogue representations via a self-bootstrapping framework. Unlike contrastive counterparts, BootTOD aligns context and context+response representations and dismisses the requirements of contrastive pairs. BootTOD also uses multiple appropriate response targets to model the intrinsic one-to-many diversity of human conversations. Experimental results show that BootTOD outperforms strong TOD baselines on diverse downstream dialogue tasks.
[ -0.5169199705, -0.2922888398, 0.2296583056, 0.4466972649, -0.4763343632, 0.4424727559, -0.1235411167, -0.3064057231, 0.3409680128, 0.3994854391, -0.8698472381, -0.52305305, -0.5333724618, 0.0377163589, -0.2514935136, 1.2328152657, 0.2080163658, 0.4086957574, -0.0106424084, -0.5506560802, -0.6441813111, -0.4863535464, -0.4650784135, -0.3018645942, 0.3118742704, 0.3338977396, 0.2681158483, 0.2960218489, 0.2025136203, 0.333032161, 0.3758793771, -0.3773528636, -0.4408750832, 0.6014840603, -0.2197442353, -0.3348531723, 0.0009591218, -0.0057905177, 0.4542717338, 0.751429379, -0.1968273222, -0.0494810268, 0.3938990831, 0.2915050685, -0.6013997197, -0.0801881552, -0.5706573129, 0.0195426047, 0.143548131, 0.0456036925, -0.1486409009, 0.0551247559, 0.1767487377, -0.4822941124, 0.2486864924, -0.0341516063, 0.4540267289, 0.2438995093, -0.3725881875, -0.1074616387, -0.6661352515, 0.7790592313, -0.6474561691, 0.3146911263, 0.0938432291, 0.3162550032, 0.1132347435, -0.3489273489, -0.4959631562, 0.0923718214, -0.1069568396, 0.1578488648, 0.2088705152, 0.0690704808, -0.0868746266, 0.4896281064, -0.417734772, 0.2325542569, -0.0061399029, -0.1587907076, 0.1548546255, 0.3631314039, 0.0519868284, -0.035513781, -0.7030344605, -0.1400518268, -0.4874957204, 0.0074024247, 0.2961511016, 0.6299107075, -0.332565397, 0.0710585415, -0.3221924901, 0.6799995303, 0.3647095561, -0.1907245815, 0.2548553646, -0.3930032849, -0.3166514039, -0.1176247522, 0.9943705201, 0.3431091011, -0.1537984312, -0.1640939564, -0.3507710397, -0.0752666667, 0.4041680098, -0.9223685861, -0.0596359074, 0.2114217728, -0.4764845967, -0.3101760149, -0.3368789256, -0.8376109004, -0.3928923905, -0.147018075, 0.4049158692, -0.3006652296, -0.3438265324, -0.045685064, 0.1474222392, 0.2253488451, 0.5345094204, -1.0447034836, 0.7825508714, 0.2784558535, 0.5830786824, -0.487542361, -0.1728002727, -0.7205792665, -0.0720200613, -0.0740423948, 0.5195226669, -0.8010770082, -0.4186451137, 0.0633187741, -0.1437099725, 0.0284033343, -0.4512153268, 0.1718451828, -0.3409458399, 0.5065827966, -0.2262149751, -0.2395721078, -0.0073206439, 0.5530275106, -0.4480923712, 0.7459577918, 0.4059937894, -0.8641684055, 0.3460866809, -0.620616436, -0.5809675455, 0.0558261089, -0.5893142223, -0.3910685182, -0.0868996158, 0.2174092233, 0.4387439489, -0.5595384836, 0.4215055108, -0.1561729908, -0.1342190206, -0.0835155174, -0.2385912389, 0.7401055098, 0.3867485225, -0.6843528152, 0.4080689251, -0.5924603343, -0.1353852302, 0.0838910863, -0.0346530117, -0.3985410035, -0.2721541226, 0.2431088686, 0.4082297981, 0.0094600711, -0.7973216176, 0.0906052664, -0.334618628, -0.0159240142, 0.748703599, -0.2532401383, 0.4354527891, -0.3521933258, 0.7886304855, 0.4478596151, -0.2665379643, -0.5048678517, -0.3756431043, -0.7270265818, -0.358913064, 0.2982526124, 0.4893635511, -0.6513900757, 0.4123907685, 0.0237869453, -0.337110877, -0.6811264753, 0.1823803931, 0.6996857524, 0.5511617661, 0.4008834064, -0.677981317, -0.4033067524, -0.9264765382, -0.2940655649, -0.3040111363, -0.1162711531, 0.1828704774, 0.2874194682, -0.1009083167, 1.0251969099, -0.233749643, -0.2850033939, -0.4498565495, 0.3930140138, -0.1248902306, 0.8886252642, 0.5065208077, -0.8013095856, -0.5198037028, -0.165222764, -0.3933417201, -0.1464501619, -0.3946577609, -0.0391633585, -0.1757766306, 0.278219521, -0.496073246, 0.2819259465, 0.4902859628, -0.2158593833, 0.5164400339, 0.1651658714, 0.484336555, -1.5783075094, -0.0717152804, 0.0286279488, -0.6213400364, -0.6294000745, -0.1631767005, -0.1575653702, -0.3240179121, -0.3866083026, 0.5607731342, -0.4000838399, -0.185285911, -0.1798999608, -0.0739214048, -0.187525928, 0.7060890794, 0.3331130445, 0.8197544813, 0.5743901134, -0.6626150608, 0.2826962173, 0.4187299311, -0.3378607631, 0.8403739333, -0.5113261938, 0.0486583896, -0.0303241313, 0.3278116584, -1.3419543505, -0.0207676068, 0.4213146567, -0.1098594666, 0.5083496571, -0.2904421091, -0.1769826114, -0.150107801, -0.1446723938, 0.9552897215, 0.5126739144, -0.6247559786, 0.6638431549, 0.292798847, -0.5967575312, -0.6086887717, -0.2868195474, -0.2225327343, -0.2427283525, -0.2959621251, 0.3836356401, -0.2721734941, 0.0060233902, -0.3934645355, -0.3306877017, -0.1796292812, -0.045156911, 0.289098382, 0.0524041615, -0.2877652347, 0.2831510305, -0.1056097373, -0.0541628525, -0.0488975607, -0.4937872887, 0.9513968825, -0.1236157641, -0.6146037579, -0.3855646253, 0.6364728808, 0.5772383213, -0.2595533729, 0.5621564388, 0.667945683, -0.0905316696, 0.1480969936, -0.8373236656, -0.3532192409, -0.4645718932, 0.4947037399, -0.2949683964, -1.0945549011, 0.6075281501, -0.1982155591, 0.1521666497, 0.2023891062, 0.5624031425, -0.2350316495, 0.7754361629, 0.6599608064, -0.0515505411, 0.704241693, 0.1342801601, 0.0702227131, -0.8380874395, -0.234551385, -0.5789640546, -0.4492385089, -0.4887675345, -0.3552994728, -0.0102988444, -0.1722384989, -0.4278573692, 0.3943137825, -0.4017404914, 0.3869282901, 0.4120996594, -0.0794722214, 0.1443305016, -0.1122086272, -0.1626759768, -0.2061518878, -0.6503605843, -0.3586647213, 0.9612377286, 0.3023581505, 0.943361938, -0.2372322232, 1.055252552, 0.0932946652, 0.4640084505, -0.5254051089, 0.4940336347, 0.0447331779, -0.6221336722, -0.3168907464, -0.3530781269, -0.8703510165, 0.4424883425, -0.1213534772, -0.9883943796, 0.2071573436, 0.1149164438, -0.4130006731, 0.2464080602, -0.5996929407, 1.1380786896, -0.1771674901, -0.2604225576, -0.2234917432, -1.0405123234, 0.1771180183, 0.1037991047, 0.1217267364, -0.0412748083, 0.2344224751, 0.9217813015, -0.4275639951, 1.1752775908, -0.2636578381, -0.0398084894, 0.2096035182, 0.2508661151, 0.3274132311, 0.051714994, 0.1968909055, -0.2164574564, 0.0037338077, -0.6826526523, -0.6322687268, 0.5262366533, -0.621545136, -1.0011487007, -0.3774674535, -0.5585811138, -0.5421695709, 0.1592752039, 0.3789881766, 0.5804128051, -0.6138282418, 0.0433391854, 0.4180304706, -0.0420526937, 0.5312862396, 0.5888406038, -0.2953367531, -0.3274722099, 0.8318844438, -0.4787837565, 0.7208527923, 0.3443031013, -0.0894534364, -0.1728605777, -0.5011414289, -0.4221110344, 0.017812131, -0.6927684546, -0.2401041687, -0.6600233912, 0.0077477014, -0.2194552422, -0.1145401374, -0.5964647532, -0.3910159767, -0.1732273698, -0.042159263, -0.1185461208, 0.7262257338, 0.1176045164, 0.4655921161, -0.6073821783, 0.5960123539, 0.5820816755, 0.4327431619, -0.2057819515, -0.3617781699, -0.1744142622, 0.1457319111, -0.5051427484, -0.8635174036, 0.3128428161, 0.0300599113, 0.4978653789, 0.4705976248, 0.4053370059, 0.4221240282, -0.4509693384, 0.8388235569, 0.9168519378, -0.7782632113, 0.4503766, -0.3883959949, 0.6005771756, 0.8341251612, 0.5181819797, -0.4663999975, -0.6455456018, -0.4833823442, -0.4478821456, 0.7338672876, 0.2760210037, 0.3362068832, -0.1864547282, -0.2573370934, 0.6510176063, 0.5168802738, -0.8833639026, -0.244231239, -0.639253974, -0.3024223149, 0.0661278963, 0.0093772616, -0.3759104013, -0.1339534074, 0.4050419033, -0.2304741889, 0.4175985456, 0.1034807637, -0.2308897227, 0.1401531249, 0.6662041545, 0.4044531584, 0.3104090691, -0.0350084528, 0.0259756465, 0.0897837728, -0.3107598126, 0.5766147375, 0.0824004486, 0.3311362267, -0.04828275, 0.0858367309, 0.8036950827, 0.2956289053, -0.5171657205, 0.6869572997, -0.1879471242, 0.0961544439, 0.1947350502, -0.0160064176, 0.0213452596, 0.3724999428, 0.4956149757, 0.3772377968, 0.1891547292, -0.7015918493, 0.1320130378, 0.5467153788, -0.5741184354, -0.2069461644, 0.4851548672, 0.8228060007, -0.5710843801, 0.5738856792, -0.3592057526, -0.7245249748, 0.4803227186, 0.816082716, 1.1097742319, -0.5417178273, 0.3647660613, 0.2484498471, -0.0644671544, 0.2983473837, 0.0751484856, -0.5788120627, -0.8506258726, -0.2926175892, -0.5731895566, -0.3758558035, 0.2540496886, -0.8255760074, 0.0285256468, -0.5343985558, -0.1355312765, -0.3697585762, -0.398106724, -0.8842763305, 0.5832961798, -0.106520921, 0.460219264, -0.7869654298, 0.7191462517, 0.5165121555, -0.2929815054, -0.4175257087, 0.3782697022, -0.128370434, -0.6920164227, 0.7400339246, 0.4394848645, -0.3329367638, -0.027123712, -0.4534439743, -0.42250669, 0.6817560196, 0.529096067, -0.6599243879, -0.0101260226, -0.0129866404, 0.2543003857, -1.0714037418, 0.3196141422, 0.2847090065, -0.0050317147, 0.2375045866, -0.9749664664, 0.2402288616, -0.5341694355, -0.0743342638, 0.1009302139, -0.5055682063, 0.5895445347, -0.2078357637, -0.1891497672, 0.2212808728, 0.5561336875, 0.1151736081, 0.0491501763, 0.8253839612, 0.2935781777, 0.4202220738, -0.1128378958, 0.8569770455, -0.3839284778, -0.0386160314, 1.3568247557, -0.2621146739, 0.5960404277, 0.4862302244, -0.1296995878, 0.7712851763, 0.547018826, 0.2880982757, 0.7816511989, 0.0315705128, -0.5163977742, -0.7511741519, 0.1043450534, -0.449570775, 0.2860379219, 0.2976336479, -0.1307100356, -0.2480568886, 0.1459542811, -0.4550590813, 0.1853764653, 0.0164002404, 0.9217329621, -0.0386987738, -0.7959135175, 0.6620418429, -0.2361025363, 0.7832459807, -0.6818832755, -0.0870041102, -0.1164972335, -0.1051847488, -0.0631940812, -0.5883780718, -0.0558779538, -0.1887674481, -0.1316605061, -0.4176183343, 0.4426263273, -0.7452872396, -0.1709309518, 0.3500692248, 0.3755221963, -0.1129536405, 0.0343675762, -0.5893890262, -0.0961947516, 0.0621957481, -0.055533018, 0.7021124959, 0.2559404671, 0.1892191917, 0.7444726229, 0.2382606417, -0.4211684763, -0.2449665964, 0.1945949942, 1.1439015865, -0.6578734517, -0.956599474, -0.5399146676, 0.858271718, -0.1867278963, -0.4309058785, 0.3770635724, 0.4800682366, 0.7030712366, -0.3044146597, 0.8490092158, 0.112948969, 0.5237897038, -0.4013801217, 0.3349736035, -0.3874192536, 0.3206332326, -0.5119214058, -1.1500239372, 0.0769836381, 0.8963640928, -0.1458062679, 0.3967781961, 0.8461078405, 0.5617649555, -0.2953853309, 0.1840226203, 0.3471729755, 0.1772568822, 0.2141413838, 0.4181010425, 0.9574890137, -0.2301182747, 0.6088243127, 0.0399413221, -0.1133003607, -0.2236692607, -0.7364862561, -1.1132041216, -0.8729463816, -0.4094894826, -0.301626265, 0.1765850782, 1.113918066, 1.0225982666, -1.0044994354, -0.4689098299, -0.1276360005, 0.02257457, -0.1068611145, -0.1595567763, -0.2166283578, -0.8205439448, -0.5635871887, 0.435757488, 0.3932545185, 0.1950201541, -0.2035071105, -0.3660396934, -0.1031771675, -0.1157307848, 0.242813915, 0.3621776998, -0.6687151194, -0.2136773765, -0.3103106022, -0.1102609336, 0.4814183414, 1.1169401407, -1.0715816021, 0.6124500036, 0.0892166644, 0.6937855482, 0.853782475, 0.1155652925, 1.2322292328, -0.9072494507, 0.3704518378, 0.4435487688, 0.2305252552, 0.5702579618, -0.007293208, 0.2018485367, 0.1890183687, -0.2713987231, -0.4897198677, 0.6797459722, -0.9554551244, -0.2354103625, 0.9414736032, -0.3268553913, 0.2638247013, -0.3436555564, -0.4783179462, 0.0707997158, -0.4952125549, 0.6217471957, 0.6027750969, 0.0944496244, -0.2281951904, 0.0661242157, 0.5356689095, 0.7952988148, -0.8492317796, 0.1346542984, 0.3548831344, 0.4264665544, 0.2340979874, 0.9524570107, 0.096041806, 0.3591082096, -0.0053290022, -0.0911677107, 0.2500499487, -0.3689977229, -0.1114171371, 0.2078179568, -0.0171166398, -0.3304238319 ]
http://arxiv.org/abs/2403.01152v1
http://arxiv.org/pdf/2403.01152v1
A Survey of AI-generated Text Forensic Systems: Detection, Attribution, and Characterization
2024-03-02T09:39:13
2024-03-02T09:39:13
Tharindu Kumarage, Garima Agrawal, Paras Sheth, Raha Moraffah, Aman Chadha, Joshua Garland, Huan Liu
cs.CL
cs.CL, cs.AI
We have witnessed lately a rapid proliferation of advanced Large Language Models (LLMs) capable of generating high-quality text. While these LLMs have revolutionized text generation across various domains, they also pose significant risks to the information ecosystem, such as the potential for generating convincing propaganda, misinformation, and disinformation at scale. This paper offers a review of AI-generated text forensic systems, an emerging field addressing the challenges of LLM misuses. We present an overview of the existing efforts in AI-generated text forensics by introducing a detailed taxonomy, focusing on three primary pillars: detection, attribution, and characterization. These pillars enable a practical understanding of AI-generated text, from identifying AI-generated content (detection), determining the specific AI model involved (attribution), and grouping the underlying intents of the text (characterization). Furthermore, we explore available resources for AI-generated text forensics research and discuss the evolving challenges and future directions of forensic systems in an AI era.
[ -0.1852301061, -0.9128269553, 0.7098600864, -0.2062367499, -0.0485826805, 0.1400378495, 0.1019530445, -0.8154655695, 0.1745708883, 0.7748963237, -0.4259398878, -0.2680563331, -0.7253965139, 0.3433261812, -1.0481244326, 1.3239133358, 0.0190451685, -0.2420890778, -0.4302330911, -0.0033353027, -0.2502498329, -0.780868113, -0.6625643969, -0.2623261809, 0.2757664621, 0.1921625137, 0.4072414637, 0.9684531093, 0.7676081061, 0.3130848408, 0.0906290263, 0.1895722449, -0.1531585455, 0.3377606571, 0.0415598713, -0.4326117635, -0.2497290969, 0.1829425395, 0.5051030517, 0.0736152753, 0.0691233799, 0.2128557861, -0.2035128325, 0.2760051191, -0.7696332932, -0.3889277875, -0.8360844254, -0.0743475109, -0.5958634615, -0.2481296659, -0.5534667373, -0.4008049965, 0.1370384991, -0.4224732518, 0.2941289544, 0.1555788964, 0.5559005141, 0.3668719828, -0.5226264, -0.8375115395, -0.9376049638, 0.6212660074, -0.4134496152, -0.1110705361, 0.3380826712, 0.3673979044, 0.1871284842, -0.8637034297, -0.6119453311, -0.1330074817, -0.0691020414, -0.1238071471, -0.325535655, -0.0471459925, -0.1663107276, 0.5820856094, -0.2723093629, 0.2485237271, -0.0523261912, -0.627099812, 0.7701424956, 0.5105071664, 0.699998498, -0.2284514755, -0.2116598189, 0.0186773986, -0.9796272516, -0.3671497405, 0.6390010118, -0.0387016684, 0.155904904, 0.5404835939, 0.1764207929, 0.3701874018, -0.2303630263, -0.4415971935, -0.0580137558, -0.7004312277, -0.0699790418, 0.2794976234, 1.2072240114, 0.0201799665, 0.1603150517, 0.0917520374, -0.3939784467, -0.1054279283, 0.4114333093, -0.5649471879, -0.1661283225, 0.0791803822, -0.8037034273, -0.8323817849, -0.1113639027, -0.463190645, -0.7891439199, -0.0339631736, 0.2633748353, -0.564244628, -0.1699111611, -0.0752137154, -0.2914319634, 0.1236951575, 0.3514019847, -0.6843439937, 0.2269025445, 0.4906926751, 0.6824789047, -0.2852729559, -0.1225899085, -0.2571382225, 0.3769876659, -0.1771215349, 0.9222146869, -0.2330931723, -0.2554161549, 0.082514666, -0.3077762127, 0.5569849014, -0.6641571522, 0.4675267339, -0.5366181731, 0.178692922, 0.108945109, -0.3675673604, -0.1141814888, 0.5486895442, -0.711831212, 0.8581059575, -0.2438582778, -0.8063804507, 0.4238885343, -0.6361887455, -0.6913978457, 0.425744772, -0.2635586262, -0.4096748233, -0.0667838976, 0.1457946748, 0.5278956294, -0.5364981294, 0.4626736641, 0.1638507843, -0.0897760615, 0.3319830894, -0.8086012602, 0.8764445186, 0.3995660543, -0.1656816453, 0.0706239864, -0.9782029986, -0.4263728261, 0.2929858565, -0.426204294, -0.2951674163, 0.3714340627, 0.1776650101, -0.4194454253, 0.4633220136, -0.6018149257, -0.0735270381, -0.3038054705, 0.4877570271, 0.561142683, 0.2155204564, 0.2510198653, -0.1700505763, 0.4039404392, 0.0808933377, -0.0600627214, -0.5784142613, -0.3204399943, -0.5143701434, -0.3503636718, 0.0828083977, 0.8794189692, -0.6927519441, 0.514703691, -0.1497161835, -0.5885705948, -0.2899667621, -0.2768732607, 0.4033299387, 0.288677305, 0.2282767445, 0.0572701134, -0.4169644713, -1.0922772884, -0.4820577502, -0.5347816348, -0.3462601304, 0.2364590615, 0.7083041072, -0.2851210535, 0.8847928643, -0.2973734438, -0.3127931356, -0.1414500773, 0.4696356654, -0.1838137507, 0.3702777326, 0.6573559046, -0.5927893519, -0.2470633239, -0.0637621582, -0.8810932636, -0.1152234003, -0.1573177129, 0.536642015, 0.1135861501, 0.7558897138, -0.4082880616, 0.3700515926, 0.0662924945, -0.2452454418, 0.7801154256, 0.0434347279, 0.3350785971, -0.9525117278, 0.2225371599, -0.2135980129, -0.4543942213, -0.7168724537, 0.400141865, -0.1490994841, -0.0926645994, -0.4106684923, 0.2844287753, -0.4332201481, -0.0417218693, -0.3939519525, 0.0246613026, -0.1525514871, -0.1782681495, -0.1907581985, 0.7662097812, 0.2857842147, -0.424174726, 0.5902975202, 0.2613800466, -0.4948158264, 0.4798905253, -0.4303120673, 0.0843001828, -0.0814524963, 0.1920596957, -0.745046854, -0.3811490238, 0.4453592896, -0.7615985274, 0.2011814564, 0.0261420868, -0.8596259952, -0.0163656846, -0.3618860543, 0.7832918763, 0.2609893382, -0.1822777987, 0.699374795, 0.5004053712, -0.3335939944, -0.7132173777, -0.7326273322, 0.5830574632, -0.4052560925, -0.5301545858, 0.4207021892, 0.3271772265, -0.7377002835, -0.0853677988, 0.5649086237, 0.0860297754, 0.4474996626, 0.1532442123, 0.1195204407, -0.1665032059, 0.106563732, 0.0046433271, 0.0017576262, 0.3460606933, 0.0737600774, 0.4387994707, 0.1910518855, -0.3970655501, -0.4768390357, 0.5466935635, 0.6289207339, -0.2450253665, 0.5688610673, 0.4895823896, -0.5010221601, 0.0879835412, -0.471878171, -0.227537483, -0.4117339253, 0.3780525625, -0.1066992059, -0.8031080961, 0.6678718328, 0.1107453629, 0.1888468266, 0.8293188214, 0.7606006861, 0.0211692434, 0.9556478262, 0.6640803218, -0.3858095706, 0.3209408522, 0.2417388558, 0.4285767078, -0.4118466079, -0.2444171906, -0.8023715615, 0.0382633135, -0.5011730194, 0.1413438767, 0.5348414183, -0.2450226545, -0.4485715628, -0.0700295493, -0.4843500853, 0.5248606205, 0.6355922818, -0.2056315541, 0.5270472169, 0.0744729638, 0.4661253691, 0.3721256852, -0.1219028533, -0.9245862365, 1.2930155993, 0.5605806708, 0.3999721408, 0.116256766, 0.7211256027, 0.7976295948, 0.294567734, -0.9127952456, 0.4561775625, -0.2205025554, -0.93839252, -0.3060640693, -0.0847745687, -0.6823064685, -0.3039219379, -0.3947854638, -0.8200340867, -0.3064080477, -0.0705830231, -0.3055747151, 0.3709101677, 0.0158011727, 0.1291948855, -0.1414911002, -0.0138704143, -0.3372761309, -0.6711524129, 0.4839269817, -0.1939455718, 0.2428659201, 0.0522734411, -0.0513408147, 0.9877278805, -0.3995219469, 0.6462081075, -0.0133606633, -0.5643270612, 0.8365558386, 0.4959833026, 0.5200667977, 0.1393469423, 0.0905098096, 0.0857371464, -0.0377670079, 0.1965583712, -0.1227225736, 0.2830624282, -0.5713126063, -0.5036627054, -0.2659109235, -0.6672028899, 0.1278835386, 0.5635986328, 0.6744504571, 0.487534374, -0.4718706906, -0.0773150772, 0.8203550577, -0.4322413802, 0.5381382108, 0.1601179093, 0.0162795912, -0.3933426738, 1.3258625269, -0.4936608374, -0.0541730151, 0.2757184505, -0.0552791394, -0.0569359958, -1.1517261267, -0.6015934348, -0.0562129021, -0.7691330314, -0.561862886, -0.6773101687, -0.29737553, -0.4834382534, -0.1547105759, -0.3310740888, -0.2180941403, -0.8123284578, 0.0402223021, 0.3831329346, 1.0144459009, 0.1631064117, 0.4862598479, -0.9936147928, 0.3410811424, -0.0895191506, 0.0027504584, -0.1180726886, -0.3120416403, -0.0881019235, -0.0520299263, -0.3613837957, -0.7175468802, 0.3743064702, 0.0099294754, 0.2137733698, 0.5979552865, -0.0772939399, -0.1974115223, -0.5681539178, 1.2808728218, 0.0606642812, -0.7450120449, 0.5196976066, -0.6314619184, -0.3084192872, 0.4063754082, 0.294621706, -0.3082213104, -0.5677529573, -0.3470305204, -0.7564867139, 0.5235220194, 0.1938045025, 0.3494854271, 0.1031904519, 0.4438652694, 0.2813886106, 0.2133919746, -0.8397051096, -0.3850476742, -0.0899380147, -0.5265706182, 0.1639313102, -0.209807843, -0.3171866238, 0.2991845608, 0.491609633, -0.1096661836, 0.445861876, -0.0614412539, -0.1580206603, 0.1730509847, -0.0053378646, 0.5264278054, 0.115161024, 0.0623712204, 0.0342708267, -0.2576101422, -0.6871036887, 0.4181528687, -0.1890522242, -0.3702029288, -0.2814213634, 0.8885861635, 0.3873355389, -0.7421516776, -0.75933218, 0.6694211364, 0.0238223374, -0.4442388415, -0.6549642682, 0.0508874618, -0.3614505827, 0.0898880213, 0.7470184565, 0.0347799659, 0.5930617452, -0.6675595641, 0.0241541285, 0.6294692755, -0.0810734108, -0.2033876628, 0.4980258048, 0.2562956512, -0.427133292, 0.7969262004, 0.1089130566, -0.4979614913, 0.5858964324, 0.4608254135, 0.9717988372, 0.0807950124, 0.0571799278, -0.0527964607, 0.4800646901, 0.1280045807, -0.1010040119, -0.0121822758, -1.0373492241, 0.0358462185, -0.5198193192, -0.1053528786, 0.3936961591, -0.3788814545, 0.2297059745, -0.5306313038, -0.0822835192, 0.1215986088, -0.3899188936, -0.1833997518, 0.2262219489, 0.2809954882, 0.6902006865, -0.8023067713, 0.3040100634, 0.479506433, -0.256337285, -0.2941066027, 0.0769858509, 0.4546533525, -0.8482862115, 0.4726013243, 0.0285263266, -0.3152464628, 0.1504084766, -1.0234806538, -0.7272586226, 0.9471001625, 0.2140441835, 0.1261433214, -0.2199805677, 0.4378671348, 0.503601253, -0.3879936934, 0.0464204997, 0.8159153461, 0.3337342739, -0.3217056096, -0.586591661, 0.0791847333, -0.3050387204, -0.312320888, 0.2551732063, -0.2580702305, 0.8315961361, 0.0832312405, -0.4584732056, 0.3054810762, 0.5843620896, 0.1524379849, 0.2499771565, 0.1700027585, 0.428948611, 0.4718919098, 0.0265558343, 0.9380871058, -0.0627087057, -0.1274414062, 0.6132916212, -0.111463517, 0.429825753, 0.4047807455, -0.1528116018, 0.5613287091, 0.6128619909, -0.2984268367, 0.2444373965, 0.2076899856, -0.2923616767, -0.0410463102, -0.3104713559, -0.0235402118, 0.7910219431, 0.6927392483, -0.7296775579, -0.0521560311, 0.1998614222, -0.1594315171, 0.0910140276, -0.3415587842, 1.199393034, -0.4198409617, -0.5179123878, 0.1410787553, 0.3481328487, 0.8119276166, -0.17843768, 0.0135373119, 0.077153191, 0.0011372879, -0.1069396138, -0.933790803, 0.3465513885, 0.0991260856, -0.4442510009, -0.3019998372, 1.1613453627, -0.0382980183, -0.2743561566, -0.1557008475, 0.4026229978, 0.2677990496, -0.2472358495, -0.1947476864, 0.0124281636, -0.0499721691, -0.1661471874, 0.2171710134, 0.4090571404, -0.0847137272, 0.8293684125, 0.3657851517, -0.0359546766, -0.0114982734, -0.3191978037, 0.5719521642, -0.5254533887, -0.3028794527, -1.0189105272, 0.252707243, 0.0814594328, -0.0939837024, 0.3827734888, 0.3434235156, 0.6387562156, 0.0488128364, 1.195651412, -0.2980898917, 0.5994023681, -0.5642068386, 1.1918412447, -0.6309390068, 0.2011020631, -0.2541339099, -0.6233530045, -0.25298509, 0.0346533172, 0.1835405827, -0.2177407593, 0.48112005, 0.4035781026, 0.0896650106, 0.1386055648, -0.0866114199, -0.2442178577, 0.5826613903, 0.3499253392, 0.9737819433, -0.4770156443, 0.5597502589, 0.3771651089, -0.0675498173, -0.2245908231, -0.8861513734, -0.6746405959, -0.8377059698, -0.0891248956, 0.0031021498, -0.2879197001, 0.281245321, 0.2069030851, -0.6340093613, -0.0694912896, -0.2197458297, -0.0532330349, 0.3602358401, -0.1850139499, 0.2017783076, -0.0688774884, -0.6211871505, 0.1961152256, 0.1904813498, 0.3875204027, -0.4558865726, 0.351177305, -0.1870609075, 0.2052624226, 0.6724374294, -0.0121126175, -0.7404824495, -0.4233312309, -0.1906690449, -0.2895704508, -0.119504042, 1.1595499516, -0.5771414042, -0.002875048, 0.5592689514, 0.9486250877, 0.0185316354, -0.0925284699, 0.7852796316, -0.669334352, -0.1029423997, 0.5112695694, 0.1350896508, 0.2210660577, -0.7320814729, 0.2440330237, 0.2961441278, -0.5587254763, -1.012150526, 0.5130144954, -0.3168579042, -0.5022889376, 0.7680709362, -0.0049521755, 0.0673530549, -0.3173310757, -0.0228610896, 0.3874237239, -0.0858882219, 0.6343318224, 0.7890397906, -0.0968983099, 0.0687463805, -0.1065340713, 0.6928780675, 0.0690337941, -0.8992441893, 0.4271412492, 0.9028735161, 0.0865594298, 0.5922131538, 0.60121876, -0.3808840513, 0.0505994, 0.0253308062, 0.091204755, -0.0427659675, -0.5858048797, -0.0858764723, 0.2961637378, -0.0175239798, 0.0354186743 ]
http://arxiv.org/abs/2403.04780v2
http://arxiv.org/pdf/2403.04780v2
MuseGraph: Graph-oriented Instruction Tuning of Large Language Models for Generic Graph Mining
2024-03-02T09:27:32
2024-03-13T15:52:33
Yanchao Tan, Hang Lv, Xinyi Huang, Jiawei Zhang, Shiping Wang, Carl Yang
cs.CL
cs.CL, cs.AI
Graphs with abundant attributes are essential in modeling interconnected entities and improving predictions in various real-world applications. Traditional Graph Neural Networks (GNNs), which are commonly used for modeling attributed graphs, need to be re-trained every time when applied to different graph tasks and datasets. Although the emergence of Large Language Models (LLMs) has introduced a new paradigm in natural language processing, the generative potential of LLMs in graph mining remains largely under-explored. To this end, we propose a novel framework MuseGraph, which seamlessly integrates the strengths of GNNs and LLMs and facilitates a more effective and generic approach for graph mining across different tasks and datasets. Specifically, we first introduce a compact graph description via the proposed adaptive input generation to encapsulate key information from the graph under the constraints of language token limitations. Then, we propose a diverse instruction generation mechanism, which distills the reasoning capabilities from LLMs (e.g., GPT-4) to create task-specific Chain-of-Thought-based instruction packages for different graph tasks. Finally, we propose a graph-aware instruction tuning with a dynamic instruction package allocation strategy across tasks and datasets, ensuring the effectiveness and generalization of the training process. Our experimental results demonstrate significant improvements in different graph tasks, showcasing the potential of our MuseGraph in enhancing the accuracy of graph-oriented downstream tasks while keeping the generation powers of LLMs.
[ 0.0096518211, -0.6742883325, 0.5314859748, -0.0957941487, -0.1661746949, 0.4841925204, -0.2100843191, -0.2240961492, 0.1738323867, 0.4630275071, -0.8116869926, -1.0156935453, -0.5999282002, -0.122699894, -0.1704958677, 0.7721791863, -0.0522986501, -0.0121489931, -0.3599330485, -0.12620309, -0.5509418845, -0.212171331, -0.7471392155, -0.3814108372, 0.5945871472, 0.2956992686, 0.4283798039, 0.7813608646, 0.1432348341, 0.3615542948, 0.2012637556, 0.7195693254, -0.6810898185, 0.0223835558, -0.270193696, -0.5900530815, -0.6686236858, -0.1075045764, 0.6843136549, 0.7158449888, 0.1298496127, 0.278083384, 0.2456495911, 0.2314359695, -0.333611697, 0.7268633246, -0.7697533965, -0.0363066383, -0.3765954971, -0.2219606936, -0.6095741987, -0.1693028808, -0.1945566982, -0.6817192435, 0.4512225986, 0.253334403, 0.7575076222, 0.1748909056, -0.2441257536, -0.2032732219, -0.2316286117, 0.4395686984, -0.4868133068, 0.1624708176, 0.174373582, 0.2847701907, -0.3354410827, -1.0984386206, -0.2910636067, 0.0755177885, -0.1226943731, 0.0355665646, -0.2963089347, 0.1963644624, 0.1100443006, 0.3041130006, -0.4889017642, 0.5308096409, 0.0388548076, -0.3341138959, 0.1852020621, 0.3883253932, 0.3900739253, -0.1444288939, -0.0254982356, 0.1000721455, -0.8454053998, -0.1529161781, 0.5690968633, 0.6387143135, 0.1854017824, 0.463847816, -0.2584063411, 1.0000783205, 0.0456651524, 0.0138655389, 0.3295635879, 0.056012921, -0.1587309092, -0.1097715348, 0.676476419, 0.1887208074, 0.1586204618, -0.5279189348, -0.0321398824, 0.0995789394, 0.2514439225, -0.8443303108, -0.4799953401, -0.2410074323, -0.1064014509, -0.3742105961, -0.2385923415, -0.636084497, -0.3996526599, -0.2262191474, 0.1585458964, -0.4791702926, 0.0785776377, -0.0120475478, -0.0465024039, -0.0699346587, 0.177448824, -0.9293141365, 0.2367419749, 0.7694861889, 0.843174696, -0.2329249233, -0.3649294972, -0.7660377026, 0.3844871819, -0.1066924781, 0.8101227283, -0.8635393381, -0.2771423459, -0.0855922699, 0.135298714, -0.5795241594, -0.3973675966, 0.4355424047, -0.6141324043, 0.0075721256, -0.1168386564, -0.5996705294, -0.2615219355, 0.4139822721, -0.5689051747, 1.0317275524, 0.5046964884, -0.7452254891, 0.3240644634, -0.75485605, -0.7447916865, 0.2209537625, -0.0243244134, -0.4781309068, -0.1763923317, 0.497706145, 0.4413782954, -0.4267513752, 0.0714999437, -0.3985007107, -0.3338593841, 0.0083069829, -0.3736921549, 0.7132939696, -0.0391180143, -0.4274805486, 0.384219408, -0.6271637678, 0.2886429429, 0.1313655823, -0.3453540504, 0.1101982594, 0.1077188551, -0.37195158, 0.0097827315, 0.1618914455, -0.4754013717, 0.3503928483, -0.2095283121, 0.9094370008, 0.9736504555, -0.0616016984, 0.1821876913, -0.0362230577, 0.4486670494, -0.2940075397, -0.0175624527, -0.1322909743, -0.4383440912, -0.900398016, -0.4746441543, 0.3448536098, 0.626857698, -0.6568834782, 0.3853963315, -0.6208514571, -0.2644156218, -0.3437520862, 0.2718317509, 0.2686366141, 0.7523179054, 0.2558263242, -0.25158903, -0.4349583685, -0.5797967911, -0.041545134, -0.0142643973, 0.0734739155, 0.8166686296, -0.030543318, -0.325342983, 0.8561560512, -0.9179930687, -0.2684331536, -0.4636552036, 0.0627357736, 0.2458939254, 0.2857020795, 0.5062867403, -0.3087497056, -0.4004938006, -0.0526796356, -0.5830147862, -0.272906214, 0.0915266722, -0.4285804331, -0.0828954801, 0.5494586825, -0.7448801398, 0.1398515403, 0.4301878512, 0.0406791717, 0.341701448, -0.1554190069, -0.1239332631, -0.9516023993, -0.1946654618, -0.2194601446, -0.5751276016, -0.1684053391, 0.2063329518, -0.1537703425, -0.5254181027, -0.0131581174, 0.2674686909, -0.5346836448, -0.016674798, -0.3502461016, 0.2856103182, 0.1937237382, 0.622207582, -0.3027601242, 0.6502126455, 0.898900032, -0.4396496117, 0.7282720804, 0.1251463443, -0.2749979198, 0.5791870952, -0.3141000569, 0.4672168493, -0.0787720382, 0.4214686453, -0.997856617, -0.3299547434, 0.387460947, -0.2965081036, 0.6945884228, -0.4281581342, -0.534019053, -0.7370538712, 0.1144339889, -0.0493324623, 0.2934122682, -0.7052252889, 0.8464295268, 0.3495716453, -0.0727633908, -0.4137038589, -0.4419626296, 0.2219278514, -0.1174601018, -0.7391284704, 0.4186966121, 0.1753535569, 0.4227883518, 0.4158446789, -0.13128452, 0.117598094, 0.0972020254, 0.2283170223, 0.2547948062, -0.2132142633, 0.2185756415, 0.0443704128, -0.3110642731, -0.1482105553, -0.9715297222, 0.9214328527, -0.0109224124, -0.4818473756, -0.1910929531, 0.0123002995, 0.3125381172, -0.4513442218, 0.5075747371, 0.7735180855, -0.1843342036, -0.5004170537, -0.0525365323, 0.1149877608, -0.5086624622, 0.6469094157, -0.3604876697, -0.9135474563, 0.4398593605, -0.614290297, -0.0233747959, 0.314894259, 0.5454902649, -0.0320739038, 1.0063482523, 0.4032407403, -0.3805595338, 0.4461730421, -0.5795738697, 0.3162896037, -1.0282611847, -0.1563756764, -0.2897033393, -0.6297239661, -0.4104962051, -0.539721787, 0.125363782, -0.1513919681, -0.3362220526, 0.2808092833, -0.5674020052, 0.550888598, 0.624221921, 0.3056727946, -0.1405178308, 0.0184591468, -0.1982508898, 0.2937450111, -0.9151834249, -0.2919899225, 1.1369615793, -0.1513404548, 0.7069199085, -0.1347197741, 0.5464792848, 0.2386016399, 0.4341264963, -0.6491186023, 0.7587982416, -0.4376401007, -0.1919582784, -0.3228914142, -0.6172442436, -1.0258876085, -0.0480607003, -0.0520856567, -0.9451463223, -0.3173267543, 0.4325439036, 0.0496131293, 0.5578299165, -0.7534147501, 1.0400102139, -0.246334061, -0.2531045973, -0.1310717613, -0.2605679631, 0.076968126, 0.2822199166, -0.0688062981, -0.2111643404, 0.1924586892, 0.2952176034, -0.4153839946, 1.1482597589, -0.3074765503, 0.2383969277, 0.4442291856, 0.0352134258, 0.9757041335, -0.0441459641, -0.0646998659, 0.0724413469, -0.78188622, -0.3387691081, -0.7347710729, 1.0058745146, -0.6797779799, -0.9355524182, 0.1101249233, -0.9922975302, -0.3801309168, 0.4722816944, 0.3782685995, 0.653773725, -0.1191818565, -0.0018618236, 0.4416554868, -0.0183309391, 0.0655367449, 0.0513539016, 0.0348633714, -0.322840333, 1.2880060673, 0.1423612088, 0.2498808354, 0.5359100103, 0.0646625608, -0.1557167619, -0.7491673231, -0.6917575598, 0.0440437607, -0.7565498948, -0.2899790704, -0.7057538033, -0.078455627, -0.539732635, -0.105204314, -0.0308010168, -0.3581167459, -0.5439943075, -0.286103785, 0.532720983, 0.2908407152, 0.2919895351, 0.3267499506, -0.4365091026, 0.0550221279, 0.5663185716, 0.5477003455, 0.0672480687, -0.1892447025, -0.2034823149, -0.0285143238, -0.4191157222, -0.6145601869, 0.0928786993, 0.3873947263, 0.7305838466, 0.2772822976, -0.0849057063, 0.7010034323, -0.7294959426, 0.4353550375, -0.0905426294, -0.8825141191, 0.2402127236, -0.4514531195, 0.1000346467, 0.1038559601, 0.0817673653, -0.4311196506, -0.4013534784, -0.549682498, -1.025016427, 0.7799403071, -0.1187908873, 0.2897856236, -0.0483610295, 0.3079570234, -0.147044152, 0.1717865318, -0.5880900621, -0.0628443658, -0.5792630911, -0.5929514766, 0.0363758765, 0.152336657, -0.320802182, -0.1203985512, 0.6115717888, -0.5058512092, 0.3246791363, -0.4179317355, -0.3291379213, 0.1242360547, 0.0038984178, 0.0467110798, 0.5963649154, -0.0163736418, 0.3111589253, 0.2806586027, -0.4245054722, -0.0397634581, 0.3553977907, -0.3219801188, -0.2680899501, 0.3358257413, 1.2407339811, 0.3354410529, -0.4797103107, 0.2079542875, 0.3735856414, 0.1374175251, 0.0996298939, 0.545658052, 0.5369926095, 0.0982193202, 0.0346354656, 0.0723886341, -0.0614331365, -0.4298808277, 0.1079940945, 0.5479717851, -0.4126725495, -0.2545197904, 0.7104050517, 0.2316899896, -0.4963717163, 0.9966045022, -0.4593994617, -0.5665020943, 0.4862856567, 1.0079797506, 0.8318089843, 0.0769595951, 0.3884843886, 0.187890619, 0.23796314, 0.5339167118, -0.169391647, 0.1123770103, -0.8049631119, -0.4142214954, -0.3952307403, -0.2278528064, -0.0165175386, -0.3446674347, 0.0979343131, -0.4833310544, -0.1354731768, 0.0582091063, -0.1150104329, -0.6092861295, 0.0467770249, -0.0856159255, 0.6440784335, -0.5893116593, 0.6904768944, 0.6065163016, -0.0744893402, -0.8523158431, -0.2055597156, 0.0546603017, -1.0975099802, 0.459480077, 0.2713724375, -0.1139955297, 0.3937419653, -0.3912851512, -0.8544127345, 1.2623124123, 0.6531068087, -0.2910973728, -0.0392443053, 0.2076235861, 0.3139264882, -0.6248493195, -0.2713418007, 0.5085884333, 0.237961784, 0.2946362793, -0.3001686335, 0.1260145903, -0.2912045717, -0.0734196752, 0.4473764598, -0.6841496825, 0.8913419247, -0.1895218939, -0.311699599, -0.1151471362, 0.5522510409, 0.1769539416, 0.118036449, 0.5325508714, 0.7714198232, 1.229452014, -0.3121694922, 1.1676604748, -0.4501463771, 0.1891563982, 1.149135232, -0.3223369122, 0.1319554448, -0.2874786854, -0.02257476, 0.7651226521, 0.6974726319, -0.1431288272, 0.2878083289, 0.3943566084, -0.2469236553, -0.467536509, 0.0035432754, -0.0099744247, 0.3517175019, 0.4538380504, -0.3960507512, -0.385401696, -0.0646373779, 0.1647014618, -0.0909487382, -0.5319365263, 0.3937016428, -0.2286263108, -0.4258866012, 0.3539755642, 0.0557361543, 0.2293424606, -0.6455042362, 0.019781027, 0.0893727988, 0.2006807029, -0.1345725358, -0.5915495157, -0.1130836383, 0.0718983263, -0.3474864364, -0.0675053895, 0.8158872724, -0.1731937528, -0.6488993168, 0.0651801825, 0.1070712134, -0.1089165062, 0.212241441, -0.6110076904, -0.1796325892, 0.0504886061, -0.0343226045, 0.3961821198, 0.5988423824, -0.2248116583, 0.754455626, 0.8430606127, 0.1575221419, 0.2164209783, 0.3293353319, 1.2501862049, -0.2671456039, -0.5315185785, -0.5973265767, 0.2896051705, -0.3155139089, -0.1928206384, 0.8351025581, 0.6889326572, 0.5833791494, 0.1590712517, 0.794577837, -0.0353712924, 0.2751395702, -0.6240988374, 0.4056480825, -0.0537675954, 0.1140167713, -0.3047126532, -0.9685729742, -0.3030927479, 0.4504889548, -0.4185443223, 0.0341221839, 0.4687963128, 0.8768956065, -0.2194086462, -0.1023194566, -0.2138525546, 0.2351326644, 0.4918711782, 0.5906133652, 0.4138438404, 0.118599169, 0.7113133073, 0.2416286469, -0.2348910421, -0.0247805715, -0.8323790431, -0.8605625629, -0.238369897, -0.2488251179, -0.2736645341, -0.0434498973, 0.5578266382, 0.6710296273, -0.4834107459, 0.0769282728, -0.3734702468, 0.3191333711, -0.3949750662, -0.2150642723, 0.7689045072, -0.6005917192, -0.8600048423, 0.477884382, 0.5464085937, -0.1342767626, -0.1099855602, 0.0787309408, 0.0362268724, 0.0024703522, 0.489651382, 0.2428844571, -0.2419699281, -0.6194999814, 0.1454146057, 0.1103790775, 0.1157392487, 0.9774661064, -0.6157001257, 0.5436844826, 0.326895684, 0.6261624694, 0.8176336288, -0.1483784169, 0.3926479518, -0.990790844, 0.251752764, 0.0835523605, 0.5366665125, 0.4672611654, -0.4452147484, 0.3753410578, 0.4813325405, -0.3507497907, -0.810743928, 0.6158140302, -0.8285192847, -0.2106701285, 0.7903756499, -0.4803869724, -0.294600904, -0.0259616282, -0.1519960612, 0.404073745, -0.0455040112, 0.6654162407, 0.5151671171, -0.3169126511, 0.0477348119, -0.0611193106, 0.1043398902, -0.221219644, -0.8180937171, 0.2527770102, 0.6275291443, 0.3712165654, 0.0109999441, 0.4946632981, 0.0955803543, 0.0061395159, 0.155423522, -0.0677864552, -0.6353737712, -0.2122838646, 0.4262276292, 0.3342567682, -0.0381215997, -0.3384874761 ]
http://arxiv.org/abs/2403.01139v4
http://arxiv.org/pdf/2403.01139v4
ParallelPARC: A Scalable Pipeline for Generating Natural-Language Analogies
2024-03-02T08:53:40
2024-05-14T16:41:24
Oren Sultan, Yonatan Bitton, Ron Yosef, Dafna Shahaf
cs.CL
cs.CL, cs.AI
Analogy-making is central to human cognition, allowing us to adapt to novel situations -- an ability that current AI systems still lack. Most analogy datasets today focus on simple analogies (e.g., word analogies); datasets including complex types of analogies are typically manually curated and very small. We believe that this holds back progress in computational analogy. In this work, we design a data generation pipeline, ParallelPARC (Parallel Paragraph Creator) leveraging state-of-the-art Large Language Models (LLMs) to create complex, paragraph-based analogies, as well as distractors, both simple and challenging. We demonstrate our pipeline and create ProPara-Logy, a dataset of analogies between scientific processes. We publish a gold-set, validated by humans, and a silver-set, generated automatically. We test LLMs' and humans' analogy recognition in binary and multiple-choice settings, and found that humans outperform the best models (~13% gap) after a light supervision. We demonstrate that our silver-set is useful for training models. Lastly, we show challenging distractors confuse LLMs, but not humans. We hope our pipeline will encourage research in this emerging field.
[ -0.4030909836, -0.5319116712, 0.741944015, 0.1969384253, -0.2948379219, 0.0141426045, -0.3153100908, -0.1965928078, 0.2607029974, 0.1401940584, -0.5907249451, -0.2334839553, -0.4405312538, 0.2782539427, -0.504838407, 0.9163466096, -0.0442697629, 0.0521149971, -0.518851161, -0.0713069215, -0.4191640913, -0.3571274281, -0.6917811036, -0.3573290408, 0.4786096811, 0.3035491407, 0.7672285438, 0.9901067019, 0.4016042054, 0.4256260395, 0.0115869045, -0.0200950745, -0.4456544816, 0.0485200547, -0.4366036952, -0.3960748911, -0.1578141153, 0.0742226541, 0.596907258, 0.9927480221, -0.0538993552, 0.2074401975, 0.1077303439, 0.5573256612, -0.6265650988, 0.3958100677, -0.8475058079, 0.1727191806, -0.2490375191, 0.0216914695, 0.0611029528, -0.3464467824, 0.0860495865, -0.828650713, 0.4047098756, 0.5052566528, 0.7616757751, 0.1585153341, 0.1739492863, -0.4583593607, -0.6772741675, 0.834602356, -0.5698596835, 0.0718784705, -0.0136153419, 0.4064901769, -0.2681845725, -1.1425716877, -0.9770281911, -0.1875005662, 0.0891351402, 0.2346957773, -0.070584029, -0.1434092522, 0.2290506661, 0.4063767791, -0.4933717549, 0.1685876548, -0.3753600717, -0.1075476035, 0.2864104807, 0.6762876511, 0.4673080742, -0.0252128504, -0.2833001912, -0.1123841554, -0.7938597798, -0.2235934138, 0.3094443977, 0.0720415637, 0.2052767426, 0.4584819674, -0.2306151688, 0.7192503214, -0.079692103, -0.0564945415, 0.1132063344, -0.3318846524, -0.0147682754, 0.210261479, 0.9328600764, 0.5724951029, 0.328507036, -0.4212098718, 0.0177427605, 0.5820741653, 0.2163226157, -0.7950586081, -0.3622527122, 0.0789250955, -0.2671225965, -0.2865408659, 0.021338027, -0.7617230415, -0.4982479811, -0.6968602538, 0.3059419096, -0.3015432358, 0.1258327812, 0.2101104856, -0.3684598804, 0.0645769313, 0.0851444602, -0.8858286142, 0.7846919298, 0.8436995745, 0.8223842382, -0.3751345277, -0.9515874982, -0.5029409528, 0.3408710659, -0.3145975769, 1.0148297548, -0.4836158752, -0.2228050232, -0.2549337447, -0.1914790124, 0.0038707841, -0.9091407657, 0.8510881662, 0.0773928165, 0.3519991636, -0.1495380551, -0.7593373656, 0.2213068902, 0.0094446689, -0.5455828905, 0.598446846, -0.1694958061, -1.0347493887, 0.0651798621, -0.4913573861, -0.1558644027, 0.1276229471, -0.3439831436, -0.158951357, 0.1491566002, 0.2984599173, 0.2141107917, -0.8847467303, 0.3342679739, -0.4800865054, -0.5092515349, 0.4098663926, -0.2579469681, 0.5711468458, 0.3304924667, 0.1412285864, 0.2598986924, -0.601195395, -0.1440997869, 0.1708654165, 0.1511582136, -0.3540786207, 0.106742017, -0.1496684253, 0.4446128309, 0.0921799019, -0.7785964012, -0.2718925476, -0.3263642788, 0.8598886132, 0.6288059354, -0.0472228788, 0.3956377208, -0.7408936024, 0.3798162341, 0.172397539, -0.1550037414, -0.3645777404, -0.3451971114, -0.9987527132, -0.5678653121, 0.2767499387, 0.5182091594, -0.5117631555, 0.4700980783, -0.6606347561, -0.5065138936, -0.6469327807, -0.1008873135, 0.2095106691, 1.0012360811, 0.1717500836, -0.3194864988, -0.607100606, -1.002019763, -0.4699108005, -0.0437973365, -0.7388781905, 0.1214666292, 0.2849628031, 0.0378017016, 1.1421298981, -0.6640101075, -0.3454521, 0.0279401354, 0.241247803, 0.196207121, 0.2446289062, 0.224838376, -0.4008888006, -0.3267948031, -0.2237530649, -0.9449950457, -0.3380181193, -0.3198436201, -0.1718616933, -0.5232622027, 0.6831890941, -0.7589013577, 0.0153575279, 0.1867157072, -0.0869147927, 0.6726177335, -0.2116906792, -0.1647327393, -1.1095762253, 0.2305649817, 0.0279371254, -0.0768858716, -0.571637094, -0.092660442, -0.2145492285, -0.4970726669, -0.6492518187, 0.6810210347, -0.1829395443, -0.0509935468, -0.2036970556, 0.2841868997, 0.1397536844, 0.3849626482, 0.1815959662, 0.931565702, 0.6636782289, -0.2674614489, 0.3904440403, 0.2591062188, -0.443087399, 0.5890244842, -0.8413271904, -0.0540224351, -0.2559601068, 0.4615136981, -0.5376626253, -0.4259233773, 0.15902026, 0.0668548495, -0.2525353134, 0.3661856651, -0.7083406448, -0.3541150987, -0.4328767359, 0.3845134079, 0.8214021921, -0.598082304, 0.3166845739, 0.4010078013, -0.6375173926, -0.1475357711, -0.5812262893, 0.345577091, -0.603330195, -0.2883253098, 0.5082595348, -0.1243282929, -0.3312158287, 0.0017870141, 0.0712114722, -0.1732375622, -0.2487416565, 0.3377581537, 0.3081074357, 0.0482419729, -0.0709363222, 0.0695110932, -0.1170471087, 0.2841363847, -0.1870519668, 0.3041133285, -0.3618256152, -0.3717507124, -0.4351714849, 0.4469463527, 0.6473475099, 0.1582089365, 0.5989311337, 0.3007232845, -0.3326190412, -0.1027676836, -0.3601321876, -0.2371240407, -0.4792855978, 0.1999477595, -0.4039265513, -0.7236785293, 0.5216193795, -0.4667294323, -0.1195559129, 0.1136319637, 0.6491793394, -0.1579121947, 0.5550894737, -0.0615375079, 0.1080084667, 0.0749458894, 0.1555520296, 0.3129223883, -0.7851598263, 0.1282985061, -0.2739040852, -0.2570376694, -0.3352350295, -0.5126623511, 0.2459591627, 0.3577353656, -0.2782488167, 0.3294343054, -0.4087840319, 0.6835816503, 0.5560329556, -0.12825194, 0.2683528066, 0.0172203146, -0.1955326498, -0.3277074993, -0.9425956607, -0.630803287, 0.9655153751, 0.2731393874, 0.6270182133, -0.3987230957, 0.7017880678, -0.0611422807, 0.3542393446, -0.6287745833, 0.7699456811, -0.2142048329, -0.2114378512, 0.0002424817, -0.2737800479, -0.9446004033, 0.2424963415, -0.3118099868, -0.6727082729, -0.021149341, 0.174390018, -0.1108117923, 0.2414411604, -0.8455348611, 0.849748075, 0.1615097523, -0.3565349281, -0.0874503702, -0.6759159565, 0.368932724, -0.3334206045, 0.2363367826, -0.225794211, -0.0422334149, 0.4849382937, -0.5475500226, 0.6706315279, 0.3724427819, 0.4067766368, 0.5605934262, 0.1512590796, 0.3436007202, -0.1294246912, -0.1661515385, 0.2396176457, -0.1546820998, -0.4463343918, -0.7132704854, 0.9116905332, -0.4373720586, -0.6047493219, -0.3570076525, -1.0392680168, -0.0505032279, 0.0850355774, 0.0961782187, 0.1984191686, -0.3533131778, 0.0341165885, 0.1829764396, -0.0648057014, 0.5166923404, 0.0765923709, 0.0902566314, -0.4103544652, 1.2941623926, -0.2628780305, 0.0689371675, 0.2149317712, 0.4086230993, -0.2518654764, -0.4224050343, -0.4566367865, 0.2128502131, -0.5064685345, -0.1624583751, -0.4790332913, -0.2357851565, -0.143833369, -0.3033490777, -0.2765983641, -0.6306042075, -0.3680174649, 0.1009962037, 0.1613662988, 0.3383419812, 0.0021696903, 0.1303932816, -0.5968618989, 0.5042527914, 0.7265622616, 0.1256827265, -0.0553412773, -0.2012919486, -0.03087667, -0.0560075119, -0.4242982864, -0.4784440696, 0.5305070281, 0.4075794816, 0.298619777, 0.2996468544, 0.0771093518, 0.696228385, -1.0823463202, 0.7731826305, 0.4461686611, -1.0617282391, 0.11278034, -0.3937138617, 0.4667724371, 0.535528481, 0.3231540918, -0.4367826879, -0.5460745096, -0.5313197374, -0.6972109675, 0.4231780767, 0.6236342192, -0.1313363612, -0.1970220804, 0.1299036294, 0.2582366765, 0.4705817699, -0.4247895479, 0.0239157062, -0.3292622268, -0.5047297478, 0.0503518097, 0.1466453522, -0.2213636637, -0.1593727916, 0.1467545927, -0.1585233659, 0.2636702359, -0.0988086909, 0.0671556666, 0.1296732575, 0.3005751073, 0.2937598228, 0.7421243191, -0.05041245, 0.5444051027, 0.3902496099, -0.2257682532, 0.0223220438, 0.2827631235, 0.0015532245, 0.002480905, 0.3336345553, 0.7844469547, 0.044741597, -1.1963205338, 0.3519374132, -0.0082105864, -0.0844806209, -0.3001226485, 0.1329129338, 0.5527634621, 0.0340477712, 0.0406497419, 0.1504295021, 0.2765702307, -0.516908884, 0.153588593, 0.2913561761, -0.0813783482, -0.3154000938, 0.8629971147, 0.1099213958, -0.5746894479, 0.5943700671, -0.0700596496, -0.1566645652, 0.5642377734, 0.6546645761, 0.8970934749, 0.1710329354, -0.0269733127, 0.264328599, -0.122705996, -0.2589082718, -0.0312051848, 0.0160671175, -0.5993708968, -0.3173699975, -0.8354120851, -0.4559438825, 0.1422372311, -0.5857409835, 0.3555190265, -0.4499643743, 0.0786795393, 0.2737954855, -0.5279073715, -0.6968579292, 0.0307090264, 0.1548396498, 0.6923132539, -1.1234468222, 0.9484726787, 0.6830332875, -0.2145385593, -0.5056195855, 0.1413347721, -0.2083303183, -0.4151773751, 0.585080862, 0.1968418658, -0.0922484919, -0.1016557813, -0.2992580533, -0.5231432915, 1.1798810959, 0.6511719823, -0.522811234, -0.159517467, 0.4034968615, 0.922131598, -0.7487473488, 0.1934265345, 0.6975098252, 0.0878991932, 0.0926407278, -0.7595902085, 0.0198290776, -0.0903869495, 0.3058052361, -0.0808092579, -0.4584195614, 0.9791349173, 0.0113370894, -0.3123044372, 0.1540850401, 0.6299657226, 0.7307202816, 0.2750946283, 0.5697223544, 0.8952758908, 0.2876292467, 0.1421539783, 0.8980123401, -0.1885587573, 0.1855714619, 1.5857627392, -0.4750008583, 0.7007645369, 0.7961608171, -0.2417105138, 0.434125185, 0.4385164082, 0.000909635, 0.4747957289, 0.4721542299, -0.4703584313, -0.1733356863, -0.4658945799, 0.052071657, 0.0553453118, 0.5432070494, -0.3024935722, -0.4160629511, -0.2651714981, -0.0816380829, 0.4955305755, -0.1362851113, 0.6311986446, 0.2901522219, -0.7609020472, 0.5375189781, -0.2341425419, 0.3311573565, -0.4821550548, -0.1074522808, -0.1563623101, 0.1585267633, 0.1957989037, -0.8329918385, 0.323053807, -0.0181550831, -0.1514346451, -0.1678079069, 0.4862082899, -0.5452700257, -0.5893580317, -0.0053165201, 0.4136862755, 0.3552594483, 0.0988616496, -0.7820281386, 0.1602065861, -0.2520051599, 0.1386027783, 0.4833860397, 0.3792979419, -0.0922298655, 0.8760795593, 0.5447574854, 0.3484998047, 0.1245152652, -0.1096246317, 1.0377092361, -0.4435744286, -0.4188115895, -0.602735579, 0.162178427, -0.2499729693, -0.2267364562, 0.5682108998, 0.6438184381, 0.7861090899, -0.4101025462, 0.6619773507, 0.0361594297, 0.5770024657, -0.2462591678, 0.4485993087, -0.1516291052, 0.1693897396, -0.2733843029, -1.1547940969, -0.2704738081, 0.4072077274, -0.1100992933, -0.4884045422, 1.0443309546, 0.8836317062, -0.4936123192, 0.0738696679, 0.1053543836, 0.1422228664, 0.260540247, 0.7414691448, 0.9019436836, -0.4059518576, 0.6441533566, -0.143867746, 0.0536956564, 0.2670531869, -1.1399929523, -1.0055930614, -0.4768938422, -0.3015282452, -0.0733876079, 0.0882584304, 0.9154051542, 0.4135862291, -0.7547721267, -0.4744074941, -0.7750116587, -0.0831241086, -0.2518687844, -0.1489617825, 0.4079899788, -0.3616650999, -1.0334638357, 0.3502667844, 0.2477874756, -0.0087523768, -0.2883145809, 0.0564858206, -0.0168647468, 0.2000179142, 0.3905303776, 0.3573112488, -0.9022454023, -0.1788882911, -0.4200471342, 0.0080249095, 0.0171171315, 0.9555060267, -1.0415607691, 0.600486517, 0.5987910032, 0.6332051754, 0.3629294932, 0.1203869432, 0.6993695498, -0.5988608003, 0.6627907753, 0.302996695, 0.3077378273, 0.4604916275, 0.1249218211, 0.2938313484, 0.2684962451, -0.5820216537, -0.7447654009, 0.4152074158, -0.881590426, -0.3496019542, 0.8754277229, -0.3662171364, -0.3385782242, 0.0406585224, -0.2666159868, 0.0392016806, -0.3241383731, 0.9821367264, 0.6180464625, -0.1789448261, 0.1050707772, -0.2608165443, 0.4776903093, 0.53271842, -0.9655786157, 0.1394527256, 0.5455466509, 0.3261879683, 0.1190955788, 0.2544547915, -0.0449493118, -0.0320406295, 0.3176635802, -0.0733064339, -0.0724734217, -0.1769073755, -0.2409152687, 0.2411584556, -0.062375728, -0.3183877468 ]
http://arxiv.org/abs/2403.01131v2
http://arxiv.org/pdf/2403.01131v2
LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generation
2024-03-02T08:21:59
2024-03-05T11:11:41
Zeyuan Ma, Hongshu Guo, Jiacheng Chen, Guojun Peng, Zhiguang Cao, Yining Ma, Yue-Jiao Gong
math.OC
math.OC, cs.AI, cs.CL, cs.LG, cs.NE, cs.SE
Recent research explores optimization using large language models (LLMs) by either iteratively seeking next-step solutions from LLMs or directly prompting LLMs for an optimizer. However, these approaches exhibit inherent limitations, including low operational efficiency, high sensitivity to prompt design, and a lack of domain-specific knowledge. We introduce LLaMoCo, the first instruction-tuning framework designed to adapt LLMs for solving optimization problems in a code-to-code manner. Specifically, we establish a comprehensive instruction set containing well-described problem prompts and effective optimization codes. We then develop a novel two-phase learning strategy that incorporates a contrastive learning-based warm-up procedure before the instruction-tuning phase to enhance the convergence behavior during model fine-tuning. The experiment results demonstrate that a CodeGen (350M) model fine-tuned by our LLaMoCo achieves superior optimization performance compared to GPT-4 Turbo and the other competitors across both synthetic and realistic problem sets. The fine-tuned model and the usage instructions are available at https://anonymous.4open.science/r/LLaMoCo-722A.
[ -0.1753793508, -0.5717658997, 0.5081470013, 0.393113941, -0.3767773211, 0.0212996118, -0.5097264051, -0.1913155317, -0.0974263847, 0.5558897853, -0.7043228745, -0.6153717637, -0.3529936969, 0.2379480451, -0.0667832419, 0.9118160009, 0.0228620451, 0.1385763437, -0.3208562136, 0.3446478546, -0.1470996886, -0.1815478355, -0.7608914375, -0.1647091955, 0.407373935, 0.6484666467, 0.1620626152, 0.9529437423, 0.3005912304, 0.2917601764, -0.1249937117, 0.531534493, -0.787263453, 0.1283722073, 0.0666613877, -0.6295286417, -0.4050279558, -0.4769618511, 0.5106803775, 0.4273119867, -0.2798355222, 0.0308390502, 0.1309965998, 0.7005194426, -0.6869376302, 0.2005248964, -0.9888485074, -0.0222962014, 0.0017615338, -0.7080811262, -0.3550302684, -0.4287391901, -0.3670078218, -0.6054784656, 0.3711546063, 0.0934619009, 0.3664646149, 0.5811769366, -0.2279951274, -0.5411782265, -0.4925394356, 0.9403167367, -0.7113983631, 0.1681709886, 0.050198894, 0.0155918868, -0.2415387034, -0.5516587496, -0.1239867732, -0.3014787138, 0.5106533766, 0.1376578659, -0.0340546258, 0.1551100165, 0.1961395293, 0.3494612277, -0.3730089962, 0.5089936256, -0.4088152647, -0.1076550335, 0.5798572302, 0.3337254822, -0.1082894132, 0.267411679, -0.1588928401, 0.1436282396, -0.892390132, -0.2039241493, 0.5101401806, 0.3149927855, -0.0888932496, 0.3556599021, -0.1656677425, 0.5542191267, 0.0918405056, -0.0332085714, -0.0631259829, -0.0792696029, -0.0713939071, 0.1087555289, 0.4004411697, 0.2879913747, 0.3345786035, -0.0226505119, -0.4374901652, -0.0444419459, 0.4432917833, -1.0384926796, -0.0852876008, 0.0173048954, -0.1226495653, -0.6724666953, -0.2453292161, -0.8607238531, -0.1888913512, -0.4087928534, 0.1670645624, 0.0614986904, 0.0044714664, 0.2628730536, 0.3129243851, 0.4707887173, 0.1676746011, -1.1193223, 0.2907367051, 0.8467108011, 0.7618353963, -0.1773969829, -0.1020227745, -0.6689011455, 0.0411069095, -0.5406802297, 0.6382697225, -0.6853907704, -0.6129178405, 0.3588272035, -0.0446102321, 0.1565698534, -0.7316408753, 0.3311294913, -0.6364567876, -0.2272549868, -0.1162851974, -0.5544362068, 0.088581726, 0.0005778997, -0.3966489732, 0.917868197, 0.1263035536, -0.3306119442, -0.1876017302, -0.5352364779, -0.6653065681, -0.001252931, -0.1866265237, -0.5019912124, 0.5666595101, -0.040624056, 0.2100332379, -0.7204473019, -0.1251284927, -0.1323098391, -0.4287215173, 0.055716373, -0.1599226743, 0.4889294803, 0.3892124593, -0.2424312383, 0.2723751664, -0.6389297247, 0.26088956, 0.3427633345, -0.3692702949, 0.0087937079, 0.0439525954, -0.4390429258, -0.1789098382, 0.5265578628, -0.0093980543, 0.3771133423, -0.3398833573, 0.6622111201, 0.8577275276, -0.0098662889, 0.1900249273, -0.2142753899, 0.8577548862, -0.2310040146, 0.1555508971, -0.3761551082, -0.2332945168, -1.001847744, 0.0424635671, 0.1854910702, 0.6275034547, -0.5995210409, 0.2560835481, 0.1315843165, -0.1877703369, -0.3457168341, 0.4883162975, 0.5852946043, 0.4433582127, 0.2057214975, -0.0737145022, -0.5151407123, -0.7768586874, 0.022369558, 0.2864355743, 0.1900300682, 0.5200585127, 0.577636838, -0.1766934991, 0.2208345383, -0.8515874147, 0.010937185, -0.218361482, -0.0502904393, 0.1686848402, 0.4809125066, 0.3672450781, -0.4575006366, -0.4073289335, 0.2012726516, -0.400483042, -0.4290254414, 0.1550677568, -0.3245207965, 0.1692489833, 0.7867925167, -0.0313437469, -0.0478195585, 0.7542655468, 0.2813993692, 0.6146323681, -0.4098551869, -0.0543448441, -1.1482890844, -0.1416448206, 0.0041174525, -0.1094877198, -0.4294547141, 0.1684238762, 0.0382318422, -0.2445872873, -0.4493815303, 0.2936784029, -0.4717896283, -0.0989833027, -0.4848006666, -0.0254555903, -0.0195212029, 0.6054311395, -0.0962148681, 1.1894620657, 0.6114038229, -0.8064399362, 0.2748440504, -0.1145469919, -0.3494625688, 0.2064613551, -0.8470726609, 0.6804728508, -0.0111871064, -0.1555991918, -0.6043275595, -0.3471797109, -0.0241980869, -0.0805943534, 0.3988262713, -0.1954082549, -0.4224731624, -0.2192494422, -0.2112178802, 0.6363310218, 0.6344620585, -0.5740701556, 0.2277652919, 0.1573384851, -0.1828532666, -0.2612243891, -0.3332055509, -0.3282776475, -0.2122700512, -0.3171320856, 0.3020378947, -0.2214237899, 0.0264749415, -0.4329423308, -0.2246289849, -0.184459433, 0.2405682206, -0.1112757176, 0.2070067972, -0.2153291702, 0.1357554197, 0.3705020249, -0.1314243227, 0.09253636, -0.6306416988, 0.7359306216, -0.1300615966, 0.0230433829, -0.316218704, 0.4010466933, 0.2361909449, -0.3311294317, 0.549869597, 0.1946641803, -0.2170629948, -0.6348311901, -0.3409786224, -0.1351901591, -0.5225391984, 0.6747147441, -0.4701301157, -0.812417686, 0.260166198, -0.5733206868, 0.0220081843, 0.1059840471, 0.8825193048, 0.0510715358, 1.0594419241, 0.8888041973, 0.0848076418, 0.618198812, -0.3190782964, -0.0792963952, -0.8876613379, -0.1975505948, -0.8261429071, -0.1797038615, -0.706276834, -0.5428497791, 0.4315096438, 0.2445698529, -0.2608423531, 0.1194470897, -0.560441792, 1.0693230629, 0.3635526896, 0.2481957674, 0.2245331705, -0.0141599076, -0.0153749846, 0.0902472213, -0.8187043071, -0.2638645172, 1.0573004484, 0.0028178231, 0.8955487609, -0.0666297451, 0.7823274136, 0.2103007883, 0.1061565578, -0.787481606, 0.3795250952, -0.3373070061, -0.3359098136, 0.173361659, -0.7260864377, -0.8037493229, -0.017911775, 0.0710582137, -0.4999509156, -0.0909686163, 0.4917707145, -0.3505788147, -0.0238495059, -0.5954863429, 0.7666553259, -0.6332663894, -0.5911454558, -0.4231260419, -0.2706588209, 0.3275295496, -0.2398306876, 0.1968096048, -0.022065198, -0.425696671, 0.3055619299, -0.3219252825, 0.7902943492, 0.0614863895, -0.4496674836, 0.1224333718, 0.2509063482, 0.5844495296, 0.0299436655, -0.1858926713, -0.0416624323, -0.2767319083, -0.475022316, -0.6165689826, 0.9325319529, -0.6179617643, -0.6350308657, 0.0622723177, -0.5711385608, -0.2430853993, 0.336556524, 0.3651190698, 0.5473227501, 0.0042363587, 0.2493350059, 0.9043183327, -0.2783188224, 0.062451113, 0.3615973592, -0.1299114674, -0.4409405291, 0.9863925576, -0.493500948, 0.4412703216, 0.5040841699, 0.3508216143, -0.1369456947, -0.6815819144, -0.2212202102, 0.2542616129, -0.5369169116, -0.3635387421, 0.0478034951, -0.1406231821, -0.2269194871, -0.3579139113, -0.587906003, -0.0058040968, -0.5119745135, 0.2348488867, 0.1569505185, 0.6464844346, 0.1235165149, 0.362080574, -0.506426096, 0.1501014978, 0.1885863394, 0.3764497042, -0.1532831788, -0.5700258017, -0.4999730587, -0.0005347027, -0.3774265647, -0.5577594638, 0.2232837975, 0.3742943406, 0.2622358203, 0.3682972491, 0.0111683272, 0.5614461303, -0.6119232178, 0.271594584, 0.0340181999, -0.8683118224, 0.770716846, -0.2570598423, 0.3842509389, 0.436042726, 0.4068434834, -0.004937462, 0.0123457108, -0.2596889734, -0.6791303158, 0.4654241502, -0.0104763415, 0.4452116191, 0.0194863714, 0.784683466, 0.1425079256, 0.4756037891, -0.4269836545, -0.1316739917, 0.0460787527, -0.3264655471, -0.0661844239, -0.3498471677, -0.3123657405, -0.1792516708, 0.6808712482, -0.5102931857, 0.2556295395, -0.1540943533, -0.091916658, -0.2468796223, 0.094208777, 1.0768530369, 0.5061757565, 0.0432430394, -0.1431266367, 0.194025442, -0.2660514414, -0.0391861685, -0.123843804, -0.1386447996, -0.5198919177, 0.2119874805, 0.9866130352, 0.4631892741, -0.6753786206, 0.152614072, -0.0287118442, -0.2857607603, -0.1599339545, 0.5379068851, -0.1074356288, 0.3267499804, 0.0247596316, -0.2695009112, 0.0333192013, -0.427316606, -0.0592170991, 0.5313900113, -0.023883231, -0.0984323025, 0.7470742464, 0.5656154752, -0.4400216043, 0.4695883989, -0.2440787554, -0.6732093096, 0.803884089, 0.9089428782, 0.9914860129, -0.0967224613, -0.07508564, 0.3807035983, 0.2522206903, 0.0505454913, 0.2028363347, -0.2577150166, -0.5881240368, -0.3550210893, -0.7134203911, -0.5220310092, -0.0392155126, -0.7797634006, 0.2930786014, -0.7436594963, 0.0787984952, -0.326328963, 0.2596915364, -0.5058934689, -0.040668942, 0.1226931736, 0.8346232772, -0.5546233654, 0.8314133883, 0.5216366053, -0.0202375408, -0.6116065979, 0.0490339845, -0.0298146922, -1.1188007593, 0.264079988, 0.1542752236, -0.5118778348, 0.5974327326, -0.78890872, -0.5200546384, 1.031824708, 0.4886909723, -1.0329127312, 0.0245378129, 0.0275758542, 0.3904711902, -0.7240366936, -0.0962510258, 0.6879801154, 0.0875202566, 0.2802430987, -0.5633080006, -0.2009594887, -0.0885151774, 0.3697341681, 0.3157092333, -0.976241231, 0.6541380882, -0.5352571607, 0.1026228964, 0.3633705676, 0.5796001554, 0.2747439742, 0.0384711064, 0.3199962974, 0.3972168565, 0.7746686339, -0.0119524393, 1.1689069271, -0.598020792, 0.4147927165, 1.0550601482, -0.2708523571, 0.576107502, 0.2622890472, 0.0254044347, 0.3098074794, 0.5302155614, 0.0037665905, 0.6255304813, 0.4730317891, -0.3377652764, -0.3845460117, -0.0735688806, -0.401167959, 0.3574254811, 0.3726190925, -0.2762667835, 0.0405278616, -0.4066103399, 0.0704140738, 0.1541880369, -0.5292320251, 0.7883573174, 0.1544041038, -0.6625837684, 0.8643068671, 0.0057542245, 0.3534067571, -0.587542057, -0.06381841, -0.4686008692, 0.254235059, -0.1321801394, -0.3129479289, -0.0538977832, 0.2811749279, -0.2418916076, 0.0969609916, 0.2666838169, -0.4149173796, -0.5833626986, 0.0202310998, 0.0882221162, 0.046425011, 0.1481742859, -0.6937451363, 0.5248164535, 0.3014428616, 0.035408888, 0.2346353233, 0.3848783076, 0.151570648, 0.6950981617, 0.5457646847, 0.1289712787, 0.1182820797, 0.2406207919, 0.8121331334, -0.5834249258, -0.3007952869, -0.6389008164, 0.1698303223, 0.1839591116, -0.4623530805, 0.3051309288, 0.5907379389, 0.8575463295, -0.1631082445, 0.6442020535, 0.2429719716, 0.0057698456, -1.0804507732, 0.1937283576, -0.8346379995, 0.5420050621, 0.1186567917, -1.0893781185, -0.1731074303, 0.6014733315, -0.1784451306, 0.2928209007, 0.6505722404, 1.1112974882, 0.0869931281, -0.1482112855, 0.2020777762, 0.3020808697, 0.2313436866, 0.8777538538, 0.7075701952, -0.1420623064, 0.5561280847, -0.3768874109, -0.3415299654, -0.3849003315, -0.9895003438, -0.816498816, -0.2544853389, -0.3142308891, -0.1795134097, 0.2072991878, 0.9516369104, 0.5872129798, -0.6516499519, -0.4720729291, -0.3434814513, 0.023226453, -0.0668150336, -0.134597227, -0.0613936931, -0.7861927152, -0.964497149, 0.4365319312, 0.2231356949, -0.0935697556, -0.2025230229, -0.3588292003, 0.3395088613, 0.2142725438, 0.3992401361, 0.4311109483, -0.4054033756, 0.1332310736, 0.0565701686, -0.1305268556, 0.1436213553, 1.1608476639, -0.2305459082, 0.3886347413, 0.1120284572, 0.6355316639, 0.6419650316, 0.0773507282, 0.5821015239, -0.8079109192, 0.3368268609, 0.2566836178, 0.1590991616, 0.0660798028, -0.3562182188, 0.3221419454, 0.0470547639, -0.6930851936, -0.74068892, 0.4460783899, -0.8424639702, -0.1999431252, 1.1767252684, 0.2125075012, -0.3562522829, 0.5449427366, -0.2241743654, 0.1927768588, -0.3354500234, 0.9112812281, 0.3134415746, -0.1875471324, -0.2810072005, -0.6286420226, 0.4255245328, 0.4305827916, -0.9462387562, 0.0201789625, 0.4171698987, 0.2889853418, -0.3181451261, 0.1637255698, 0.0690633282, 0.4146868885, 0.0520582832, -0.077921845, -0.3285467029, -0.5665588379, -0.3640277684, -0.116057165, 0.338041544, -0.1808536947 ]
http://arxiv.org/abs/2403.01116v1
http://arxiv.org/pdf/2403.01116v1
MulCogBench: A Multi-modal Cognitive Benchmark Dataset for Evaluating Chinese and English Computational Language Models
2024-03-02T07:49:57
2024-03-02T07:49:57
Yunhao Zhang, Xiaohan Zhang, Chong Li, Shaonan Wang, Chengqing Zong
cs.CL
cs.CL
Pre-trained computational language models have recently made remarkable progress in harnessing the language abilities which were considered unique to humans. Their success has raised interest in whether these models represent and process language like humans. To answer this question, this paper proposes MulCogBench, a multi-modal cognitive benchmark dataset collected from native Chinese and English participants. It encompasses a variety of cognitive data, including subjective semantic ratings, eye-tracking, functional magnetic resonance imaging (fMRI), and magnetoencephalography (MEG). To assess the relationship between language models and cognitive data, we conducted a similarity-encoding analysis which decodes cognitive data based on its pattern similarity with textual embeddings. Results show that language models share significant similarities with human cognitive data and the similarity patterns are modulated by the data modality and stimuli complexity. Specifically, context-aware models outperform context-independent models as language stimulus complexity increases. The shallow layers of context-aware models are better aligned with the high-temporal-resolution MEG signals whereas the deeper layers show more similarity with the high-spatial-resolution fMRI. These results indicate that language models have a delicate relationship with brain language representations. Moreover, the results between Chinese and English are highly consistent, suggesting the generalizability of these findings across languages.
[ -0.4314642847, -0.7487229109, 0.4946011007, 0.36822474, -0.1033128276, -0.1300846338, -0.6304067969, -0.5515132546, -0.0870874897, 0.231475696, -0.4852167964, -0.3003852367, -0.2733462155, -0.053044118, 0.0424361601, 0.5706474781, 0.1582545638, 0.4509689808, -0.2484961003, -0.3134511411, -0.4936653078, -0.5678107738, -0.5347242355, -0.3752644658, 0.284651041, -0.163240999, 0.9068489075, 0.5627937317, 0.3252541125, 0.3435052335, 0.1284513921, 0.1105521172, -0.3581041098, -0.0833386406, -0.1866338402, -0.2291656584, -0.4356639385, 0.1483203322, 0.6777881384, 0.9310413003, -0.3496529758, -0.1332604736, 0.3401925862, 0.2319983244, -0.4773631394, 0.449237138, -0.817245543, -0.2124553919, -0.2065146714, 0.0207030699, -0.3312300444, -0.051962804, -0.1918197274, -0.4984631836, 0.2531527281, 0.1396598965, 0.7222530842, -0.0526643991, -0.4311592281, -0.2938356698, -0.1356909573, 0.9914734364, -0.7051927447, 0.6978429556, 0.4564613104, 0.3773400486, -0.141769141, -0.3034510612, -0.6558116078, -0.7393301129, -0.4307837784, 0.2675329149, 0.187858969, -0.0340694524, 0.2870789468, 0.1789733469, -0.9375812411, -0.0760391429, -0.3053682745, -0.4021787047, 0.5656916499, 0.3714648485, 0.3121447861, -0.2358607799, -0.3944070041, -0.2919794917, -0.3022203147, 0.1350974143, 0.2235177755, 0.4715471566, -0.2594454885, 0.150046885, -0.003143348, 0.8206678033, -0.2903827131, -0.1268891096, 0.5403978825, -0.3998686969, -0.0426933132, -0.1001291648, 0.9817087054, 0.3336196244, 0.3254317045, -0.2989103496, -0.0587789975, 0.3530629575, 0.0989567637, -0.6011743546, -0.1884450316, -0.0216927342, -0.547780633, 0.083398886, 0.1910578758, -0.6699628234, -0.4603340626, -0.4874496758, -0.051507704, -0.6082974076, -0.4944303334, 0.1902118474, 0.1336757392, 0.2125507593, 0.0496027805, -0.9908040762, 0.298642844, 0.8244804144, 0.5033898354, -0.3016774952, -0.9299123883, -0.1433173716, 0.1405336559, -0.3321126997, 0.7964919209, -0.7230464816, -0.209881708, -0.2416428775, 0.1933483928, -0.3341243863, -0.4781627357, 0.4668061435, -0.2402764559, 0.0179329049, -0.2000648528, -0.2779802978, -0.1574803144, 0.4308611751, -0.922467351, 1.0464655161, 0.0620821416, -0.6504040956, 0.2931806147, -0.4752541482, -0.4591962397, 0.0319592543, -0.5671234131, -0.0662029311, 0.2237743139, 0.1190883145, 0.5951958895, -0.7851842046, 0.4286735058, -0.5882692337, -0.2556068897, 0.508962512, -0.6278161407, 0.7302235365, 0.3014520109, -0.0861372352, -0.2317623645, -0.8664612174, 0.3534607887, 0.1428049356, -0.4194303751, -0.548704505, 0.1109634116, 0.3662714064, 0.5945389271, 0.2228526324, -0.7099219561, -0.0018324961, -0.0820152164, 0.5868373513, 0.5029917359, -0.4533424675, 0.0976986811, -0.3539913595, 0.1138476878, 0.2280985415, 0.0211778004, -0.4646107554, -0.35735479, -0.207663551, -0.4367476702, 0.119794555, 0.3641940951, -0.4831766486, 0.1570708454, -0.6825692654, -0.5292150974, -0.8364082575, -0.0372346416, 0.2450197488, 0.4028636515, 0.3967170715, -0.2869209051, -0.1084259301, -1.1314017773, -0.4324255288, 0.0025841189, -0.3210392892, 0.5360530019, 0.1379978508, -0.327219367, 0.4909482598, -0.3482704461, -0.0451922379, 0.0882162377, 0.3069306314, 0.182618469, 0.4742922187, 0.6371617913, -0.7084804773, -0.4016649127, 0.2720250785, -0.7536107898, 0.0611713789, -0.1081760526, -0.0313213468, 0.0922518671, 0.5880292654, -0.2494132966, 0.093678087, 0.764865756, -0.22175093, 0.3659427762, -0.2303443402, 0.7260348201, -0.8522909284, 0.2726458013, -0.319465816, -0.0301892757, -0.5546385646, 0.0216785017, 0.3588782549, -0.2679174244, -0.2740704715, 0.4877963066, -0.5106675029, 0.154047057, -0.1311885417, 0.2436757535, -0.1077437699, 0.8627058268, 0.2674430907, 0.611784637, 0.7576856017, -0.4835821092, 0.3327884674, -0.1588705182, -0.5955210328, 0.7124112248, -0.587397933, 0.1685395688, -0.1059018448, -0.2451636344, -1.1635856628, 0.013656022, -0.2484498471, -0.3151034415, 0.2220217586, 0.4069531858, -0.4508148432, -0.1473006755, -0.4163712561, 0.6231924295, -0.0107539501, -0.2804498374, 0.9394387603, 0.4123580456, -0.1628076285, -0.3350157142, -1.1067569256, -0.1588058919, 0.1573058218, -0.7642077804, 0.5231321454, -0.2701649368, 0.1441782117, -0.0538941659, 0.2364078611, -0.2702692747, 0.0349344797, 0.2181362063, 0.2059967816, -0.4334107041, 0.1531535685, -0.1331678927, -0.1123323813, 0.0237304885, 0.255634129, 0.6103028059, -0.3382470608, -0.4029688835, 0.0810789615, 0.5194543004, 0.7269060016, -0.3760331273, 0.763548255, 0.5078238249, -0.4983457625, 0.1388192326, -0.5793921947, -0.2830925882, -0.4452612102, 0.6254417896, -0.8112684488, -0.7263883352, 0.5020294785, -0.0123452907, -0.0842988566, 0.1421842724, 0.6839733124, -0.0220539775, 1.0396130085, 0.4195944667, -0.3540476859, 0.4036410451, 0.1771675795, -0.0214655995, -0.8749272227, -0.0922872424, -0.4275363982, -0.0314467289, -0.5723953247, -0.264959842, 0.0001221789, -0.1433635652, -0.2697877288, 0.5274603963, -0.2784152627, 0.4286473393, 0.3373981118, 0.078316696, 0.1792992502, 0.0998191833, -0.5618243814, -0.2622244656, -0.6749697328, -0.3478275537, 0.8206495047, -0.1039625853, 0.8613343835, -0.0478797965, -0.1201896518, 0.1971788853, 0.1899836659, -0.4114818871, 0.5101674795, -0.1582196355, -0.5984621644, -0.1386986226, -0.4805450439, -1.2982445955, 0.6224037409, -0.3468435705, -0.6825335622, -0.0609446391, -0.218180269, -0.0463183485, 0.096588932, -0.5144174099, 1.0840802193, -0.4468391538, -0.3670030832, -0.5762796998, -0.5443677902, 0.3844180703, -0.1875591129, 0.5177004933, -0.3064027429, -0.0493830666, 0.4681613147, 0.094765842, 0.4619186521, 0.2419121116, 0.0219416767, 0.1351124644, 0.2513441443, 0.0356299765, -0.1688207239, -0.3924764097, 0.6190885305, 0.2030325532, -0.5221952796, -0.518885076, 1.0539200306, -0.7676158547, -0.4003138542, -0.4130283594, -0.6215433478, -0.2654186785, 0.256533742, 0.0335184634, 0.3595149219, -0.5441638231, 0.1499018371, 0.0545229092, -0.0540735014, 0.4881278276, 0.8202946782, -0.1521805376, -0.3928242326, 0.8375509977, 0.1156038418, 0.175640747, 0.4091777205, -0.0053939698, -0.2448779494, -0.1102168784, -0.382314384, 0.4527914524, -0.6122426987, 0.1739533395, -0.4336469173, -0.0965126604, -0.3885959685, -0.0422573015, -0.3959338963, 0.0468318127, 0.2741841376, 0.1468687505, -0.0924029723, 0.4708683789, 0.0715088993, -0.0127339233, -0.8550862074, 0.3961689472, 0.3070184588, 0.4978766441, 0.1859543324, -0.1085390374, -0.4418719411, 0.3610028327, -0.217426762, -0.9063966274, 0.0180430841, 0.1577522755, 0.9286521673, 0.4224591851, -0.3479753435, 0.680553019, -0.5119565129, 0.7389896512, 0.1461806744, -0.9906440973, 0.2168883979, -0.2962969542, 0.5208985209, 0.6193861961, 0.3052253127, -0.9509281516, -0.2177702785, -0.3296733201, -0.3049565852, 0.8400102854, 0.0916757658, 0.1314174086, -0.1534374803, -0.0295487363, 0.0371864811, 0.2492791712, -0.6857792735, -0.1255730838, -0.2906076908, -0.1777919978, -0.2243487239, 0.0781299174, 0.1315808296, -0.0276774913, 0.3008963466, -0.2007414252, 0.29649055, -0.1925195307, -0.2639112771, 0.2022984177, 0.2704024017, 0.4663996696, 0.5063749552, 0.1487791091, 0.2960297763, 0.433873117, -0.6133170724, 0.0168608502, 0.0772702768, 0.2944970131, -0.2539557219, 0.5524690151, 0.5646612048, 0.3513376713, -0.8586993217, 0.5770891905, -0.2453431338, 0.2963598073, 0.2252376378, -0.1073847339, 0.2746003568, -0.1042096168, 0.0316619426, 0.124547638, 0.18083556, -0.6105304956, 0.0245567858, 0.4750979543, -0.371897012, -0.5130150318, 0.5258424282, 0.0211126935, 0.0208703224, 0.8674627542, -0.0517440438, -0.4401950836, 0.4852932394, 0.4765850902, 0.5949385762, -0.5595648289, -0.2266948074, 0.5456140637, 0.5007649064, 0.0401278362, 0.3459255993, -0.1042862162, -0.9376404285, -0.2058508098, -0.343627423, -0.0216802321, 0.1706866175, -0.6949885488, 0.4848205745, -0.2321467549, -0.2226470262, 0.1016671434, -0.2168584615, -0.8629877567, 0.2319890261, 0.3395349681, 0.5437995195, -0.8353390694, 1.1689243317, 0.7050915956, -0.2197311521, -0.6399160028, -0.2316906005, -0.0907133594, -0.6736195087, 0.1823823452, 0.3558084071, -0.4262673557, -0.373395741, -0.3270476162, -0.7476336956, 1.0303316116, 0.6413612366, -0.4057355225, 0.3487097621, 0.4405787289, 0.6025580764, -0.4432340264, 0.5674360394, 0.7036775947, 0.518196106, -0.2972323, -0.8692572713, 0.1566731036, -0.5056396127, 0.1750846356, 0.2208725363, -0.816722393, 1.2016123533, 0.1734847128, -0.4921834767, -0.1997826993, 0.5685335994, 0.2910675108, 0.0107173882, 0.44859308, 0.3382668495, 0.8076198697, -0.0261385161, 0.975423038, -0.6343666315, 0.3409848511, 1.1897007227, -0.3594432175, 0.8253723979, 0.3143018484, -0.2401608974, 0.5623232722, 0.428896606, -0.0315320715, 0.5034927726, 0.0859237388, 0.166861549, -0.3779631853, -0.0688687488, -0.4216169417, 0.3650624752, 0.3815115392, -0.1125227734, -0.3344996274, 0.1393253803, 0.1932751685, 0.2408684194, -0.1847830266, 0.6336379647, -0.0687148124, -0.7908391356, 0.7474969625, 0.0686669052, 0.7886937857, -0.8937450647, 0.1453855336, -0.1557374597, 0.1635522991, 0.0330881923, -0.6592738628, 0.2579726279, -0.2687138021, -0.3154412508, 0.2592918873, 0.3650785685, -0.7481333017, -0.4184985161, 0.668561995, 0.457652688, 0.1952441484, -0.2415111065, -1.0551234484, 0.147202298, -0.1463322043, -0.1684187502, 0.2568139136, 0.3706991673, -0.2780176997, 0.5252909064, 0.5966505408, -0.0333757177, 0.2560132742, 0.0579122007, 0.7775854468, -0.8273454309, -0.4940120876, -0.9559884667, 0.2228903919, -0.0600558482, -0.3138448894, 0.710136354, 0.6772876382, 0.8896622062, -0.2883632183, 0.7107178569, 0.0601331964, 0.3364289105, -0.388930589, 0.765006721, -0.6070101261, -0.1114388183, -0.2252427936, -0.9323111773, -0.1470918357, 0.5911872387, -0.1688397676, 0.3312510848, 1.0172760487, 1.241560936, -0.4620603919, 0.1430657506, 0.6582688689, 0.2830272913, 0.1575735807, 1.0041381121, 0.8551589251, -0.3434779048, 0.388500005, -0.0547254644, -0.2773762047, 0.0917982683, -0.954428792, -0.9295625091, -0.7764940262, -0.1021239385, 0.0545044318, -0.3993061185, 0.9043958187, 0.740950942, -0.9393125176, -0.4967415035, 0.2532978952, -0.2132769227, -0.6787627339, -0.1868381798, 0.4644063115, -0.2843827307, -0.7822906971, 0.4394292235, 0.3078721762, -0.0105229057, -0.3959589005, -0.0898458734, -0.2148346901, 0.3104071021, 0.5484669209, -0.1147710681, -0.8027380109, -0.0743608251, 0.1409022957, -0.6882572174, 0.1178031117, 1.0226155519, -0.7009985447, 0.5750246644, 0.6157720089, 0.4857797921, 0.4396196604, -0.3174804151, 0.4263754785, -0.3552487791, 0.3929633498, -0.0427505225, 0.6524122953, 0.4809193313, -0.0742242411, 0.502620995, -0.0809911564, -0.4217818379, -0.4059701264, 0.1215680763, -1.0313444138, -0.5080983639, 0.8117671013, -0.2827609181, -0.3231139183, -0.2007208765, -0.3878150582, -0.0867902264, -0.2675988972, 0.8068341017, 1.1135933399, 0.0936047882, -0.0237818975, -0.3767342567, 0.2330060899, 0.3805222809, -0.6871840954, 0.3064915836, 0.3468063474, 0.1639974266, 0.2391328067, 0.469121784, -0.1942861527, 0.3306743801, 0.2072019875, 0.1168770492, -0.1747848392, -0.2098949254, -0.3329633176, 0.2276572287, -0.1988277435, 0.03750493 ]
http://arxiv.org/abs/2403.01106v2
http://arxiv.org/pdf/2403.01106v2
Distilling Text Style Transfer With Self-Explanation From LLMs
2024-03-02T06:38:15
2024-05-04T17:23:21
Chiyu Zhang, Honglong Cai, Yuezhang, Li, Yuexin Wu, Le Hou, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
Text Style Transfer (TST) seeks to alter the style of text while retaining its core content. Given the constraints of limited parallel datasets for TST, we propose CoTeX, a framework that leverages large language models (LLMs) alongside chain-of-thought (CoT) prompting to facilitate TST. CoTeX distills the complex rewriting and reasoning capabilities of LLMs into more streamlined models capable of working with both non-parallel and parallel data. Through experimentation across four TST datasets, CoTeX is shown to surpass traditional supervised fine-tuning and knowledge distillation methods, particularly in low-resource settings. We conduct a comprehensive evaluation, comparing CoTeX against current unsupervised, supervised, in-context learning (ICL) techniques, and instruction-tuned LLMs. Furthermore, CoTeX distinguishes itself by offering transparent explanations for its style transfer process.
[ -0.1856890619, -0.6932687163, 0.7892153859, 0.3672190607, -0.4217094481, 0.4612179697, -0.4303319454, -0.2066096067, 0.1318523735, 0.6970591545, -0.9397255778, -0.5452585816, -0.4552324712, 0.2725334466, -0.7668136358, 1.0777410269, -0.4139495194, -0.4325450063, -0.039671503, 0.1468784511, -0.4571827054, -0.4997732937, -0.7402511835, -0.4818868935, 0.5109598637, 0.6385486722, 0.3741035461, 0.6782003045, 0.1541816592, 0.2674860656, 0.0988332182, 0.2807244062, -0.6376793385, 0.1124704555, -0.5557612777, -0.428163439, -0.4200839996, -0.0207375772, 0.4334453642, 0.3432298899, 0.0485138893, 0.1124090031, 0.3594352007, 1.0706753731, -0.4236947596, -0.1162336767, -0.6923948526, -0.0280532092, -0.1680158824, -0.2313328236, -0.4460382462, -0.2417887747, 0.3416257501, -0.3459872007, 0.2446973175, 0.2204001993, 0.5163971782, 0.2505168021, -0.4936271608, -0.1629729271, -0.7365376353, 0.8628180027, -0.4399772584, 0.143156752, 0.2601510584, 0.3324693739, 0.1942820996, -1.077277422, -0.6371440291, 0.1141863912, -0.2006292343, 0.2259143591, -0.0663845837, -0.1317149103, 0.1278831959, 0.3946253061, -0.4547676146, 0.0320617259, -0.2161232382, -0.0816542357, 0.6425684094, 0.018250132, 0.2665189505, -0.0460084714, -0.7879944444, 0.0968098044, -0.7011094093, -0.3092111647, -0.0502396151, 0.2122113109, -0.1804768443, 0.0703576803, -0.1879066974, 0.6823055148, 0.2004377395, -0.1243430525, -0.2126109004, -0.4772279263, -0.2197124809, 0.378749609, 0.835807085, 0.5460495949, 0.3514574468, -0.2860351503, -0.422755748, -0.2922802269, 0.0699953586, -0.7876227498, -0.2304403931, 0.0970688611, -0.4434972107, -0.3158726394, -0.2399681509, -0.9063999653, -0.4405395389, -0.9744958282, 0.2361227423, -0.2699813843, -0.2568999231, 0.0882208049, -0.2524181306, 0.2285356373, 0.556930542, -0.8198721409, 0.4580536187, 0.587649405, 1.1795300245, -0.6325173974, -0.0808918029, -0.2230621725, 0.1435158849, -0.2502237558, 0.9023429751, -0.3373380899, -0.3379025757, -0.1510791034, -0.0375538617, 0.0766676739, -0.2754961252, 0.3704123795, -0.1425754577, -0.2086109221, -0.5349235535, -0.4115438163, 0.1914117932, 0.0385348573, -0.5683745146, 0.98555094, 0.1360039115, -0.6960378885, 0.0789585859, -0.4287415445, -0.6296600699, -0.154715389, 0.0390667915, -0.2978657782, 0.1810604036, 0.43228513, 0.4706442952, -0.4563968182, 0.2314538211, -0.3042196929, -0.2000284642, 0.4621636271, -0.444280237, 0.6505756378, 0.4105964899, -0.3599749804, 0.0312096067, -0.6859397888, -0.0559327081, -0.0372865051, 0.2136454433, -0.4540143609, -0.2771392465, 0.1472578943, 0.4249487221, 0.221151486, -0.5090619922, 0.2371792644, 0.1190829575, 0.943764925, 0.9872905612, -0.0533609428, 0.5633827448, -0.5086752176, 0.3430911899, -0.2512626648, 0.0945933312, -0.0505223833, 0.0392148867, -0.8385281563, -0.0468503013, 0.1456630081, 0.2963536084, -1.0170693398, -0.0987134725, -0.0087785348, -0.347176522, -0.3497506976, 0.1647093743, 0.3484604359, 0.6354253888, 0.548377037, 0.0489172637, -0.5059298873, -0.9564971924, -0.3814817667, 0.2522242963, 0.1928163916, 0.1158588976, 0.310152024, 0.0541757718, 0.932867229, -0.4948105514, -0.192440033, -0.6306149364, 0.522354126, -0.0378671139, 0.4835250974, 0.6664846539, -0.6613568068, -0.8342584372, 0.044111494, -0.4901252091, -0.4088585675, -0.3853096664, -0.3054133654, 0.1034830213, 0.8567054868, 0.2482918799, 0.5361561775, 0.472635299, -0.0996274352, 0.7808197737, -0.1461064667, 0.1902998686, -1.4108675718, -0.1774633527, 0.2182876021, -0.453017801, -0.5604868531, -0.3662003279, 0.2629905045, 0.0224032383, -0.393940419, 0.640194416, -0.6045410633, 0.0487446897, -0.5142601132, 0.3162635863, 0.3620486557, 0.4671550095, 0.3117463291, 0.9726784229, 0.4759596288, -0.5582447648, 0.3841307759, 0.0361847207, -0.3198318779, 0.9793199301, -0.7088196278, 0.3983037472, -0.1179849207, 0.3464945257, -1.0164319277, 0.1540423632, -0.2857855856, 0.2750943005, 0.3432114422, -0.4387367666, -0.4531431496, -0.2865094841, -0.1350459903, 0.3977691233, 0.4461351037, -0.8550409675, 0.4769269526, 0.0413477123, -0.1870123297, -0.5807425976, -0.7603846788, 0.2744916975, -0.3891381919, -0.3933716714, 0.6224551201, -0.2337820828, -0.3310192525, -0.2774523199, -0.3385273218, -0.30513978, 0.1131927669, -0.1219030395, 0.3531009555, -0.1379667819, 0.3158150613, 0.3160725534, 0.0171350911, -0.0288548581, -0.6085799336, 0.4451228082, -0.2506186366, 0.1093272865, -0.7471256852, 0.2956047952, 0.6104565859, -0.2466435432, 0.5991412997, 0.5082857609, 0.0393707752, -0.8349511623, -0.5458536744, -0.2736899853, -0.4882305861, 0.048209656, -0.5113370419, -0.83230865, 0.4412761033, -0.4550545216, -0.0023040844, 0.3396289051, 0.2877518535, -0.1727537215, 0.4976378679, 0.6710209846, 0.0493939035, 0.6893694997, -0.2355808318, 0.097083874, -0.9751243591, 0.0466610156, -0.444984436, -0.6227707863, -0.5624570847, -0.182120949, 0.2553850114, -0.1515927464, -0.0775383487, 0.4942310452, -0.5672138333, 0.8704590797, 0.552638948, 0.3464986384, 0.4843333364, 0.0680368245, -0.0144742085, 0.1098794714, -0.5478026867, -0.3434388041, 1.0905860662, 0.0687726885, 1.1768382788, 0.0254978854, 0.8933896422, 0.4090662897, 0.3228852153, -0.6910165548, 0.3896086216, -0.607414186, -0.2598869205, -0.1583228707, -0.2879201174, -0.6491273642, -0.056416858, -0.2275090367, -0.8134349585, 0.2598594427, 0.1636864245, -0.2855140865, 0.3753613532, -0.6081502438, 0.6528030634, -0.2395409346, -0.7607120275, -0.05704524, -0.4768990278, 0.4701352715, -0.2121389508, 0.1824522465, -0.1206387728, 0.0220459849, 0.6868087649, -0.6549562812, 0.9774802923, 0.4761052728, -0.3461012244, 0.4986497164, 0.5115454197, 0.4871851802, -0.0463806354, -0.1490575373, 0.0745207518, 0.1037640795, -0.1016944498, -0.9465597272, 1.01042521, -0.705406487, -0.5616062284, -0.219783023, -0.6295891404, -0.2167979479, 0.1787492037, 0.2779988348, 0.939478755, -0.0003976208, 0.1805315763, 0.7069553137, 0.0444796197, 0.5535053015, 0.3939552009, -0.2358300835, -0.2277888507, 0.8820031881, 0.1260775328, 0.670224309, 0.5033883452, 0.5617488027, -0.6245592237, -0.4733564854, -0.443782419, 0.1993242055, -0.7407842875, -0.1326874197, -0.4759212732, -0.2917055786, -0.3166549206, -0.4310561419, -0.4267016947, -0.6404064894, -0.2688131034, -0.0491233245, 0.5860584974, 1.0478440523, 0.0395284444, 0.5640727878, -0.5684633851, 0.2554316223, 0.4500110745, 0.3995272517, -0.1361857057, -0.6525949836, -0.0272754654, -0.0378877632, -0.1788983196, -0.8989089131, 0.3838948011, 0.1897173375, 0.1555178761, 0.081931822, 0.366581738, 0.7271542549, -0.5089467764, 0.5664730668, 0.2638835609, -1.2132279873, 0.6624804735, -0.220795244, 0.3382636607, 0.6385561228, 0.2614741623, -0.8060839176, -0.0877913088, -0.5217585564, -0.671818018, 0.7296005487, 0.2250920534, -0.2539609969, 0.0888426974, 0.6704806685, 0.3157491982, 0.1268940866, -0.5897649527, -0.2089075148, -0.4169721901, -0.420851022, -0.0573256128, -0.1573585421, -0.1160234734, -0.0549710989, 0.5367143154, -0.2333470583, -0.0689546689, 0.3958360255, -0.3474140167, 0.274454087, 0.501868844, 0.6251402497, 0.7822067738, 0.0632388294, 0.5938892365, 0.0986467898, -0.2385133803, 0.1164231673, -0.2797938883, -0.1307579279, -0.1014005691, 0.2429869026, 0.807020247, 0.1397977173, -0.1449674815, 0.3582962751, -0.31516096, -0.2423868328, 0.1344633549, -0.0452986509, -0.1003450677, 0.0228186231, 0.0391178094, -0.0895482153, 0.2278531641, -0.5716364384, 0.3158516288, 0.1912870854, -0.5284098387, -0.2246244103, 0.464055419, 0.4031796753, -0.0228307303, 0.3544309139, 0.1736352891, -0.3851570487, 0.6205599904, 0.7791047692, 1.0298477411, -0.1169263944, 0.4239412546, 0.4316045642, 0.3018873334, -0.344227761, -0.0618896373, -0.3850646615, -0.4513153732, -0.44007653, -0.7099815607, -0.3827012777, 0.0891325101, -0.6261797547, 0.3062911034, -0.5683779716, 0.0610814318, 0.0108588524, -0.3299759626, -0.6260018349, 0.0154906036, 0.0509140193, 0.9158887267, -0.8959835768, 0.8494479656, 0.3725272417, -0.1715888381, -0.7979977131, 0.2329854071, 0.0980005041, -0.8812612295, 0.7532681227, 0.0275588445, -0.5564264059, 0.2447669655, -0.6446963549, -0.8455544114, 1.1168786287, 0.3628448546, -0.9699469209, 0.2106786668, 0.1000648662, 0.4443185925, -0.2890406251, 0.1293715239, 0.8824384809, 0.3459152877, 0.3915752172, -1.0952973366, 0.2293311357, 0.2170386165, 0.2087554783, 0.0621268228, -0.6519969702, 0.7475779653, -0.068648465, -0.3804148138, 0.0160439499, 0.7051122189, -0.2308258116, 0.2187128812, 0.3146569431, 0.246018365, 0.7641459107, -0.270303309, 1.0004040003, -0.2751559913, 0.3200995624, 1.4781630039, -0.2225825936, 0.5412167311, 0.43892169, -0.0957249552, 0.9200805426, 0.557693541, 0.57057935, 0.4611052573, 0.2197993696, -0.2062381804, -0.3888348341, -0.2740855515, -0.1736764908, 0.3264597356, 0.2354150414, -0.3194924891, -0.3654921055, 0.0490311161, 0.1693037003, 0.4709922373, -0.5195216537, 1.0089902878, 0.3424135447, -0.822871089, 0.6291295886, -0.3268758357, 0.5364980102, -0.5482958555, -0.0669860542, -0.3480986655, 0.285895735, -0.1351886839, -1.1872509718, 0.2116285712, -0.1673688143, -0.0782491118, -0.7987039089, 0.9316891432, -0.6941198111, -0.529512763, 0.0914030001, 0.5260189176, -0.0204014834, -0.1219999343, -0.6786025763, 0.1096230447, -0.0661670193, 0.1269506663, 0.2829087973, 0.8939762712, -0.0604082681, 0.6156161427, 0.4003730118, -0.1209246218, -0.2969118953, 0.1821392626, 0.7963546515, -0.4773133993, -0.5075529218, -1.1766186953, 0.2581892014, -0.3714368045, -0.1231513247, 0.735571444, 0.2300761044, 0.5165476799, -0.0782213584, 1.0300414562, 0.1799963415, 0.2525641322, -0.7674789429, 0.7215164304, -0.5162760615, 0.1688922644, -0.3711734712, -0.7437437177, -0.0393290296, 0.4789640903, -0.3190056086, -0.0829691663, 1.0400196314, 0.4806814492, -0.0884416476, 0.2493612319, 0.1900557578, 0.3270378411, 0.2380762547, 0.4383603036, 0.7224491239, -0.0087192748, 0.27981776, -0.5446704626, -0.5081005096, -0.0401322022, -1.2950980663, -1.2203059196, -0.7289307117, -0.5019493103, -0.4680995047, 0.1386239082, 0.9719027877, 0.6520759463, -0.5460733175, -0.3977398574, -0.26066944, 0.3261133432, -0.4721438885, -0.1949059367, 0.4418114424, -0.4212990701, -0.7643421888, 0.3337799311, 0.4007971883, 0.1877202094, -0.212680012, 0.2847500741, -0.0107660918, 0.1633675545, 0.8171150088, 0.1067117155, -0.5308315754, -0.251740545, -0.0759832114, -0.051388815, 0.0381309837, 1.2015346289, -0.6913238764, 0.5461673737, 0.4468145072, 0.4287448227, 0.5862475634, 0.0629283786, 0.7047162056, -0.9451198578, -0.1596986651, -0.1564498842, 0.3668573797, 0.2457721382, -0.4035157859, 0.3939084113, 0.2988728583, -0.4576248825, -0.4387149811, 0.3881253302, -1.1821364164, -0.5453621149, 1.3750238419, 0.0370473228, -0.5322636962, -0.2509078681, -0.5851522684, 0.0608232692, -0.3809268475, 0.7234979868, 0.5235808492, -0.0959470198, -0.3149768412, -0.1679325104, 0.8180636764, 0.0200085584, -0.9616667032, 0.4931627512, 0.2292340845, 0.4830049276, -0.2780751288, 0.55655092, 0.0200801566, 0.042329587, -0.4151721895, -0.0622534454, -0.159168154, -0.4423342049, 0.0219441224, -0.1333866119, -0.2501701117, 0.1536149383 ]
http://arxiv.org/abs/2403.01081v3
http://arxiv.org/pdf/2403.01081v3
LAB: Large-Scale Alignment for ChatBots
2024-03-02T03:48:37
2024-04-29T18:55:34
Shivchander Sudalairaj, Abhishek Bhandwaldar, Aldo Pareja, Kai Xu, David D. Cox, Akash Srivastava
cs.CL
cs.CL, cs.LG
This work introduces LAB (Large-scale Alignment for chatBots), a novel methodology designed to overcome the scalability challenges in the instruction-tuning phase of large language model (LLM) training. Leveraging a taxonomy-guided synthetic data generation process and a multi-phase tuning framework, LAB significantly reduces reliance on expensive human annotations and proprietary models like GPT-4. We demonstrate that LAB-trained models can achieve competitive performance across several benchmarks compared to models trained with traditional human-annotated or GPT-4 generated synthetic data. Thus offering a scalable, cost-effective solution for enhancing LLM capabilities and instruction-following behaviors without the drawbacks of catastrophic forgetting, marking a step forward in the efficient training of LLMs for a wide range of applications.
[ -0.0369772688, -0.9662116766, 0.3859359324, -0.0555434525, 0.1431040317, 0.7189637423, -0.1921182573, -0.1356152594, -0.0626216978, 0.5375671387, -0.6664792895, -0.4074425995, -0.3471992612, 0.0032876758, -0.5664816499, 1.0069899559, 0.1823706925, 0.0970937088, -0.1621926725, -0.0583427586, -0.6025231481, -0.5049270391, -0.9801514745, -0.3092396855, 0.6254997253, 0.5637649298, 0.7324714661, 0.8613789082, 0.5410601497, 0.3922828138, 0.0799414366, 0.3219731152, -0.8026605844, 0.067868948, 0.0352539495, -0.6073790789, -0.6984273791, -0.0444980375, 0.801699996, 0.4870483279, -0.2655344307, 0.0989600345, -0.1998676062, 0.8325207233, -0.2775846422, 0.1782954186, -0.9326159358, 0.0151523249, -0.0367574915, -0.220508486, -0.7308342457, -0.300945431, -0.0282694753, -0.5906254649, 0.4423511326, 0.3674628139, 0.7762915492, 0.4525026679, -0.3566851318, 0.0436330289, -0.7010175586, 0.7495363951, -0.6016290188, 0.360331893, 0.061877165, 0.5934739113, -0.4435620606, -0.5715402365, -0.7861965299, 0.0020837362, 0.1583987325, 0.0592668653, 0.1771549284, 0.1805907339, 0.3066062927, 0.1783725321, -0.610850513, 0.3970767856, -0.3968263566, -0.3057200313, 0.6687492132, 0.2682214081, 0.2196099162, 0.3704444468, -0.0424645916, -0.2882444263, -0.7927892208, -0.2554859221, 0.2992520332, 0.5254993439, -0.1363334954, 0.6982944012, -0.0920631886, 0.6657480597, 0.2431231737, -0.2117489576, 0.4195402563, -0.3191311657, -0.1906473488, 0.2545431256, 0.970882833, 0.2172799706, 0.1972932518, -0.198706463, -0.0342201404, -0.1745584607, 0.4643049836, -0.7302080989, -0.3301821649, 0.3664913476, 0.1119708121, -0.3597809374, -0.4334323704, -0.7596921921, -0.5916341543, -0.6065109968, 0.5035155416, -0.5158673525, 0.0290862527, -0.180326432, -0.0657281503, 0.4538274407, 0.4484903216, -1.2305202484, 0.1010164246, 0.8721072674, 0.9423804879, -0.1837280989, -0.2347872406, -0.6637657881, 0.2147709578, -0.5520026684, 0.4700425565, -0.5131988525, -0.2329205275, 0.0272468738, 0.0691702887, 0.0076911668, -0.477968812, 0.1145147681, -0.51047647, 0.0566613264, 0.217016384, -0.7639064789, 0.1185883358, 0.3279640675, -0.4723965824, 1.0891430378, 0.1378072351, -0.4287185073, 0.1575906575, -0.5437402725, -0.4428649843, 0.1977285892, -0.1601820737, -0.571803987, -0.2496636808, 0.2250350118, 0.5049521923, -0.3453088403, 0.2623354793, -0.110169962, -0.2081542015, 0.3341352046, -0.1590178609, 0.3446729481, -0.06940189, -0.2722641528, 0.7108346224, -1.007109046, -0.0859547779, -0.0446006097, -0.2587669194, 0.0809175596, 0.1441659629, -0.1923996359, 0.1253040433, 0.4019946456, -0.6449103951, 0.2870259583, -0.4170179367, 0.7677889466, 0.9105378985, -0.3891789913, 0.6410494447, -0.2260624617, 0.5706977248, -0.2062697411, 0.2007093579, -0.2212448567, -0.4577097595, -0.8488985896, -0.4824216962, 0.2882751226, 0.6393505335, -0.6352472901, 0.6345840693, -0.4302648306, -0.7877327204, -0.6000035405, 0.3439207673, 0.4267804325, 0.6461569667, 0.3228366673, -0.0063172602, -0.4926300645, -1.0092067719, 0.1804804951, 0.2006345838, -0.1721617877, 0.1532920003, 0.4763072431, -0.4151357412, 0.9134151936, -0.4673154354, -0.1993937343, -0.2382037193, 0.1979591548, 0.1071969122, 0.6175951958, 0.1080843955, -0.5831494927, -0.5593022704, 0.2652831674, -0.3414450586, 0.0300510246, -0.1314277947, -0.5016671419, 0.3505555093, 0.8969199061, -0.6283544898, -0.005909482, 0.8662593365, 0.0729188845, 0.4824460149, -0.2966814935, -0.004667392, -1.2522569895, -0.0216056537, -0.0956750512, -0.4694985747, -0.6254442334, -0.1719194055, 0.3338931203, -0.1909645498, -0.2956044674, 0.5735923052, -0.2065483928, 0.120336175, -0.2525953054, 0.4055089951, -0.1268724054, 0.5073230267, -0.1078033224, 1.0194057226, 0.4579182267, -0.4434357584, 0.5161079764, 0.3209736645, -0.0803988054, 0.5593925714, -0.6133160591, 0.3328239322, 0.0133755645, 0.5582069159, -1.1320607662, -0.6337760687, -0.0115267914, -0.4483026862, 0.5529244542, -0.0374967642, -0.8469957113, -0.3697661757, -0.2153562158, 0.2828322053, 0.7507069111, -0.5853686929, 0.747066915, 0.420512557, 0.0142322509, -0.5663312674, -0.3089384139, -0.0807182789, -0.278139621, -0.443426609, 0.1561572552, -0.0452864282, 0.217076242, -0.5792270899, 0.0032459288, 0.0756053329, -0.0068535721, 0.2640708089, 0.4714689255, -0.138176322, 0.3516428471, -0.0896270797, 0.0551177971, -0.127025038, -0.129094243, 0.8833451271, 0.0711270198, -0.2032507956, -0.5552964807, 0.0174879804, 0.6505606174, -0.0545399375, 0.9040942192, 0.6462203264, -0.0600102246, -0.2075272948, -0.5732375979, -0.1254368871, -0.5602463484, 0.5604243279, -0.0113993334, -1.1217559576, 0.4067919254, -0.188862592, 0.3808264732, 0.3621791601, 0.71106112, -0.2349736392, 1.4151732922, 0.5202764869, -0.1160692573, 0.5773680806, 0.160555914, 0.3805575073, -0.9609183073, -0.1201959699, -0.5725470781, -0.5047774315, -0.7323932648, -0.6200749278, 0.4369816482, -0.200231418, -0.8485566974, 0.3136755228, -0.7475566268, 0.5828009248, 0.6797302365, 0.094845213, 0.05890394, -0.259871304, 0.2256927043, 0.2338941395, -0.6765555739, -0.4161062837, 1.2766736746, 0.2424456924, 0.58764112, 0.1506066769, 0.462000668, -0.1471727341, 0.3762642443, -0.8740319014, 0.5861746073, -0.0228139963, -0.7907530665, -0.723508954, -0.4898890853, -1.1544674635, 0.1189168841, -0.2931895554, -1.0551408529, -0.6163928509, 0.3685203493, -0.1925406456, 0.1560790092, -0.8190359473, 0.9026395082, -0.2781741917, -0.3150763512, -0.2889607549, -0.8348866105, 0.4404337406, -0.5450200438, 0.2965537012, -0.2002451569, 0.109270826, 0.6796334386, -0.432320863, 1.0255521536, 0.1239850447, -0.2672207654, 0.0049573975, -0.088893488, 0.5671980977, -0.0810891986, 0.1589048654, -0.114968434, 0.0088863485, -0.4846277237, -0.5096494555, 0.6566867828, -0.9555566907, -0.6904143691, -0.235199824, -1.0265479088, -0.6268794537, 0.1623729914, -0.0514631569, 0.2557636201, -0.1520739198, 0.3997150064, 0.8086070418, -0.5818266273, 0.1850585938, 0.3654097915, -0.3554846346, -0.3741141856, 0.9191464782, -0.3135550022, 0.7392229438, 0.660648942, 0.1871617138, -0.2207586914, -0.3535249233, -0.5247814655, 0.2108784169, -0.4711034298, -0.2674908936, -0.5824635029, -0.4414803982, -0.5161132812, -0.4808004797, -0.6516144872, -0.3202679455, -0.2103157043, 0.104111135, 0.65201056, 0.3322823346, 0.3379958868, 0.7392775416, -0.9547998905, 0.2736642361, 0.3285164833, 0.2144933641, -0.1426637024, -0.6105969548, -0.2743287981, 0.1203741431, -0.5682729483, -0.3482806087, 0.3497162163, 0.3061352372, 0.2617281377, 0.1653879583, -0.3025924265, 0.7972640991, -0.8767303228, 0.7600508928, 0.3606996834, -0.9168912768, 0.6439193487, -0.5729673505, 0.602760613, 0.4338593781, 0.2852954268, -0.4877734482, -0.5005345345, -0.4833023846, -0.9916390181, 0.7805003524, 0.0913218185, 0.3448714614, 0.1679941714, 0.380087018, 0.1075281799, 0.3035622239, -0.4913501441, -0.1455185115, 0.0303788669, -0.6444491148, -0.4373824298, 0.1219185293, -0.4020170271, -0.3906270266, 0.8152543306, -0.4215450585, 0.0782034621, -0.368231684, 0.1056551561, -0.0455479696, 0.1244186983, 0.5406873822, 0.5193771124, -0.20883964, -0.1993184686, 0.1529406607, -0.4742273986, 0.2165699452, -0.0752782747, 0.0811303332, -0.3976568878, 0.2001784891, 0.7148111463, 0.4365137517, -0.9395936728, 0.2536498606, 0.0147904968, -0.2739091218, -0.2368333638, 0.4276948273, 0.3815888464, 0.316119194, 0.0902067721, -0.343639642, -0.2596718371, -0.668292582, 0.025599679, 0.5949823856, -0.2141439766, -0.1571504325, 0.7521011829, 0.2132182866, -0.6044424772, 0.8761371374, -0.0806141719, -0.4013966322, 0.7333329916, 0.6301931739, 0.6453579068, -0.2101771683, 0.2348026931, 0.5864551067, 0.0209221039, -0.2688251138, -0.0277069546, 0.2078482062, -0.7619533539, -0.5406768918, -0.7376826406, -0.8079764247, 0.0666407123, -0.3429234326, 0.4891579151, -0.6085147858, -0.0147428019, 0.3060206473, -0.3118854165, -0.5543814898, 0.0699547976, 0.1043487191, 0.537959218, -0.5269509554, 1.0278052092, 0.4077672958, -0.0711305067, -0.9577453732, -0.4159900844, 0.3216601908, -0.9376137257, 0.5527786016, 0.2161611617, -0.0138099995, 0.2221987545, -0.7768492103, -1.0521680117, 1.2166961432, 0.1463615149, -1.1331989765, -0.0656520873, 0.1921581924, 0.8121836185, -0.3739513159, -0.0004585547, 0.7913870215, 0.1436165571, 0.55534482, -1.1433361769, -0.0355222337, 0.0223583542, -0.1457402259, 0.5388227701, -0.8399795294, 0.722863555, 0.0408830419, 0.0039835479, 0.0693390369, 0.4217686057, 0.4026745856, -0.0374723114, 0.3336473405, 0.3770057261, 1.0256514549, -0.1269175857, 0.730720818, -0.3765660524, 0.1087422296, 1.4228143692, -0.4592687786, 0.8716638088, 0.2711746097, -0.2257893682, 0.2922646105, 0.5456068516, -0.1674877107, 0.2501603365, 0.4229606092, -0.0379223302, -0.1488698423, 0.2908465564, -0.0934986025, 0.4809820652, 0.5790930986, -0.1488742381, 0.1995666027, -0.1954851747, -0.0395509042, -0.1364770383, -0.2728734016, 0.804376781, -0.1316895187, -0.7099347115, 0.6515566707, -0.4218002856, 0.6232830286, -0.5831929445, 0.1298470199, 0.0142930718, 0.2992369831, -0.0889206752, -0.6351404786, 0.0322655402, -0.0654968619, 0.1534909159, -0.142143026, 0.1921280175, -0.3618252873, -0.5365694761, -0.1014283597, 0.2632998228, 0.0737770274, 0.1553091854, -0.6083492637, -0.0676918477, -0.096234791, -0.1201702654, 0.5808329582, 0.5443691611, -0.109218508, 0.877591908, 0.5851665139, -0.1208079532, 0.1526415497, 0.2163640857, 0.6987181902, -0.6651997566, -0.0398457833, -0.8600449562, 0.373336941, -0.2151033282, -0.2232081741, 0.6012502909, 0.6187888384, 0.6870374084, 0.1120086908, 0.7213440537, 0.0778806061, 0.4807510376, -0.5064798594, 0.4367853403, -0.3983328938, 0.1068585664, -0.1425653994, -0.9735600948, -0.3747715354, 0.3626344502, -0.0859541297, -0.1260099709, 0.6555649638, 0.9731809497, 0.1262637377, 0.0251497496, 0.2997457683, 0.3100716174, 0.5988643169, 0.464199841, 0.7420488, -0.160745129, 0.4464356303, -0.0467187688, -0.2864646018, -0.2339302897, -0.6693711281, -1.1596488953, -0.6205032468, -0.4820222855, -0.2754583359, -0.2138806581, 0.9799738526, 0.7171004415, -0.7099354863, -0.1330126971, -0.1974046379, -0.1721093357, -0.04345157, -0.1873108298, 0.2687790394, -0.7708601356, -0.9618993402, 0.2946853638, 0.2817543149, 0.1391662508, -0.2703474462, 0.1174501851, -0.2500859499, 0.2068118155, 0.6855107546, 0.3085528612, -0.629925251, -0.4584240615, 0.010444819, -0.2467264682, 0.4032962918, 0.4630292058, -0.4913084209, 0.5044752359, 0.2446981072, 0.7529594898, 0.5667749047, 0.0434361026, 0.8840847015, -0.9406626821, 0.1751243323, 0.1227109134, 0.1989866793, 0.4055289626, -0.2819370329, 0.5759289265, -0.2980861068, -1.0316251516, -0.7758128643, 0.1065602005, -1.2535783052, -0.1000942215, 1.2808632851, 0.1897213012, -0.3538703322, 0.0356535614, -0.4712284803, 0.4690444469, -0.3498426974, 1.0452359915, 0.7821218967, -0.2518110275, -0.0947664827, -0.7660797834, 0.4772008955, 0.3074187934, -0.9312974215, 0.2185401618, 0.6798189878, 0.1989891231, 0.1899329424, 0.3585686088, -0.0084190257, 0.0294924714, -0.0243404116, 0.2818666995, 0.3244213462, -0.0470966324, -0.0851226747, -0.0598499142, 0.1162611544, -0.1768308878 ]
http://arxiv.org/abs/2403.01069v2
http://arxiv.org/pdf/2403.01069v2
LLMCRIT: Teaching Large Language Models to Use Criteria
2024-03-02T02:25:55
2024-06-04T15:30:20
Weizhe Yuan, Pengfei Liu, Matthias Gallé
cs.CL
cs.CL
Humans follow criteria when they execute tasks, and these criteria are directly used to assess the quality of task completion. Therefore, having models learn to use criteria to provide feedback can help humans or models to perform tasks better. However, existing research in this field tends to consider only a limited set of criteria or quality assessment aspects. To fill this gap, we propose a general framework that enables large language models (LLMs) to use comprehensive criteria for a task in delivering natural language feedback on task execution. In particular, we present a model-in-the-loop framework that semi-automatically derives criteria from collected guidelines for different writing tasks and constructs in-context demonstrations for each criterion. We choose three tasks from real-world scenarios to operationalize this idea: paper introduction writing, Python code writing, and Reddit post writing, and evaluate our feedback generation framework using different LLMs. The results reveal the fine-grained effects of incorporating criteria and demonstrations and provide valuable insights on how to teach LLMs to use criteria more effectively.
[ -0.1793827862, -0.8507620096, 0.7877266407, 0.222644791, -0.3741695285, -0.1700477153, -0.5121176839, -0.3501285911, -0.1208560169, 0.7947546244, -0.3798404932, -0.5866752863, -0.2583515942, 0.1168353707, -0.6794752479, 1.1533893347, -0.3608264625, 0.0070081633, -0.4171190262, 0.2379296273, -0.5455770493, -0.6081932187, -0.6451883912, -0.5193042159, 0.5784268379, 0.6007403731, 0.2639154494, 0.1915008873, 0.5723487735, 0.2610858679, 0.2016410977, 0.4430693984, -0.2811491191, 0.0985252783, -0.3120277226, -0.5002081394, -0.3352896273, 0.1137521639, 0.7011278272, 0.738006711, -0.2760986686, 0.317987293, 0.3438350856, 0.3458096683, -0.3266526163, 0.1399742365, -0.4455449283, 0.0177408513, 0.0144294882, -0.3506399393, -0.541697979, -0.6708102822, -0.0121130142, -0.4821282923, 0.0189265907, -0.0218927711, 0.6741148233, -0.0081437035, -0.3624926805, -0.7488073111, -0.7091645002, 0.7753018141, -0.895732224, -0.083418332, 0.515178442, 0.3164657652, -0.086241141, -0.6473628879, -0.6086688042, -0.8974622488, -0.0905114636, -0.1644571275, 0.2384896874, 0.0918953866, 0.4175569117, 0.3423537314, -0.2135932893, 0.1780379266, -0.3643788397, -0.1573816985, 0.5583981276, 0.2525992095, 0.1688271463, -0.1909669489, -0.0204537213, 0.2207347304, -0.7779273391, 0.0943279043, 0.3869838715, 0.5102701783, -0.2741906345, 0.7920055985, -0.2799071372, 0.9892019629, 0.0107595799, -0.2557302713, -0.281506598, -0.4299628437, -0.1511461139, -0.3645250797, 0.6937923431, 0.4157703519, 0.2955241501, -0.2041003406, -0.5311927199, 0.2590293288, 0.462608844, -0.7904279232, 0.0624278486, -0.0890586153, -0.4110050499, -0.3115638494, 0.064540796, -0.7290042639, -0.4524797201, -0.9108121991, 0.5065012574, -0.1077983528, -0.1005927101, 0.0252440646, 0.0812604427, 0.2060043216, 0.4948663116, -0.7270982862, 0.4017851055, 0.7088491917, 0.8046290278, -0.3025992513, -0.349750191, -0.9151781797, 0.0001654312, -0.3771916032, 0.7552124858, -0.8323099017, -0.277751565, 0.2358824909, -0.1164544895, 0.0551063828, -0.5393100381, 0.5479648709, -0.1027088612, 0.316725105, -0.2052267939, -0.6582742333, -0.0736584067, 0.3193860352, -0.3017704189, 0.9159263372, 0.3022340536, -0.5349562168, 0.4580810368, -0.7522004247, -0.621568203, 0.0657768846, 0.0166126844, -0.1115682498, 0.3605270684, 0.0812245607, 0.7543272972, -0.4494713545, 0.4842176437, -0.1363449395, -0.4499139786, 0.3057774901, -0.2377332449, 0.2075483054, 0.2390491217, -0.3865916431, 0.5119926333, -0.625246346, 0.1068874821, -0.2635335326, -0.753447175, -0.0324272178, -0.0444712751, 0.1431179941, 0.1402966827, -0.1106007323, -0.3456674218, 0.269050777, -0.2166895121, 0.7237395644, 0.3895421326, 0.0967173353, 0.4197746515, -0.6298713684, 0.7210860848, -0.2811174095, -0.0588320084, -0.1298542619, -0.1120380014, -0.9807958603, -0.0786732957, 0.262426883, 0.2787037194, -0.7671039701, 0.4974374771, -0.0124540627, -0.5712249875, -0.4327327609, 0.6709560156, 0.4564562142, 0.3693563938, -0.054717727, -0.4622643888, -0.5249207616, -0.612416327, 0.0860257745, -0.1762830615, -0.0958231241, 0.1051887944, 0.5721874237, -0.2338714153, 0.6819238663, -0.0391024165, -0.244089514, -0.7080652714, 0.1740823388, 0.349000901, 0.4053553641, 0.2657531798, -0.3514672518, -0.3238846362, -0.1276549697, -0.671889782, -0.2510568202, -0.3887562752, -0.3334502578, 0.340898484, 0.453653872, -0.5798736811, 0.1498006135, 0.4778916836, -0.1161341071, 0.7106723785, -0.3109010756, 0.2276743203, -0.9005437493, 0.1642978042, 0.269677043, -0.4220384955, -0.4169785082, 0.3182438314, -0.0420013778, -0.2268873602, -0.3151983917, 0.4426660538, -0.2533090711, 0.105160743, -0.4602986574, 0.2019025832, 0.0559471771, 0.362739265, 0.1042419598, 0.6301656365, 0.4076906741, -0.8397935033, 0.293220073, -0.0717132092, -0.8026775122, 0.8245325089, -0.7074049115, 0.2125295252, 0.0123455273, 0.3394181728, -0.6941198111, -0.3165206313, 0.0652270541, -0.2177400589, 0.3955984414, -0.036522653, -0.7217030525, -0.580221951, -0.1654949337, -0.1748524606, 0.4215790629, -0.3483282626, 0.3312810361, 0.322727263, -0.0483547673, -0.1140489951, -0.5237733126, 0.180837661, -0.2373575568, -0.3086595535, 0.0571093597, -0.1874391735, -0.229678601, -0.1382861882, 0.1468430459, 0.0921751708, 0.2702773511, 0.329898566, 0.1687106788, -0.0121005997, 0.0883766115, -0.2062701732, 0.0739468187, 0.1681962907, -0.2756635547, 0.6116671562, 0.0369885564, -0.5936535001, -0.6685500741, 0.4001727104, 0.6246071458, -0.2572845221, 0.3067833483, 0.5493435264, -0.3104987442, -0.5037853122, -0.6529849768, -0.2067391872, -0.4388340712, 0.4196252525, -0.1522612125, -1.0844808817, 0.1422814727, 0.0630706847, 0.3371058106, 0.1955320835, 0.9737119079, -0.1664990038, 0.8634089828, 0.7531439066, -0.082211107, 0.3951310515, -0.208048597, 0.402069509, -0.9875574708, -0.048535645, -0.5383482575, -0.0462329686, -0.1413129568, -0.6185947657, 0.0647086948, 0.2918433249, -0.2204673588, 0.3175213635, -0.5725724101, 0.4231928885, 0.6027418375, 0.0229850728, 0.021088019, 0.0117274821, -0.3533667624, 0.0920398682, -0.5616188645, -0.9950509667, 0.941100955, 0.2815644145, 0.9083015919, -0.1991583556, 0.7367210984, 0.5476469994, 0.7500932217, -0.8731940985, 0.6835184693, 0.0255890694, -0.4274765849, -0.1905151159, -0.4508158565, -0.5893552899, 0.0259056352, -0.0702968463, -0.6943389773, -0.4415076077, 0.2351187766, -0.4062312245, 0.1688022912, -0.6272032261, 0.7135094404, -0.3692015111, -0.4096877277, -0.2465569675, -0.1964883208, 0.4502424002, -0.0470719747, 0.2900609374, -0.078628473, 0.259588629, 0.7140218616, -0.3802922368, 1.3604066372, -0.2714234889, -0.3929304481, 0.690656662, 0.2012231797, 0.4803606272, 0.0785849914, -0.3239668012, -0.4615762234, 0.0181683376, -0.0271642692, -0.5776167512, 0.695928216, -0.4234115779, -0.6548062563, -0.0671921372, -0.57011801, -0.2555704713, -0.0387593359, 0.0216748044, 0.6688418388, 0.0513703711, 0.1654982269, 0.0949534625, -0.2049946487, 0.3017772734, 0.5391598344, -0.3078031242, -0.2080589533, 0.9194470644, -0.0725648552, 0.4350776374, 0.2789373994, 0.2249924392, -0.2613164186, -0.603087008, -0.4380154908, 0.31392923, -0.9497668147, -0.2432747185, -0.3435151875, -0.0943050981, -0.3291801214, -0.2966967523, 0.0939000621, -0.2080956995, -0.2450795174, -0.0161062982, 0.0481321663, 0.984182179, 0.1962603778, 0.2792495787, -0.8089460135, 0.1043967679, 0.3206963241, 0.2680952549, 0.3380101323, -0.7658621073, -0.2211889774, 0.1184498146, -0.5061747432, -0.4441177547, 0.3424023986, 0.3234269619, 0.8057011366, 0.2234895974, -0.035152033, 0.5654557943, -0.3985828757, 0.8967629075, 0.1676072031, -1.2042609453, 0.7950260639, -0.4058381617, 0.3608413637, 0.5111460686, 0.2839208543, -0.7611505389, -0.7542527318, -0.0210121181, -0.6009321213, 0.5128087401, 0.0492887795, 0.4855525792, -0.0077286381, 0.6798505783, 0.2289147973, 0.406029135, -0.8428671956, 0.3757326901, -0.0172765944, -0.3929339647, -0.0910182372, -0.3811111152, -0.1601597667, -0.3566164672, 0.5642161369, -0.3682880998, 0.2654154301, 0.1580086052, -0.4073676169, -0.1464261562, 0.4397716522, 0.7888404131, 1.1684755087, 0.0673864558, 0.074824065, 0.1577255577, -0.0401891135, 0.0915003791, -0.2155219018, -0.1962748766, -0.1694976389, 0.691881299, 0.7345951796, 0.4152477086, -0.8637473583, 0.2809453011, 0.086406827, -0.4006736279, -0.1388223171, 0.3502446115, 0.1658602059, 0.1051591709, 0.018690059, -0.4387559295, -0.0137571013, -0.8330440521, 0.2236659229, 0.2726622522, -0.6068760753, -0.332542032, 0.4345312417, 0.3572023809, -0.4007332325, 0.5462502837, -0.3146738112, -0.6908437014, 0.6104519367, 0.6411038637, 0.6317533851, 0.1282025874, 0.395697087, 0.4966937006, 0.207493335, -0.3000750244, 0.2989587486, -0.3532850146, -0.2600548863, -0.7159054875, -1.0876514912, -0.6609131694, -0.0787656531, -0.5545197725, 0.3382914364, -0.4878761768, -0.1439938992, 0.0909440592, 0.1080083102, -0.5955653191, 0.0294276923, 0.2511090934, 0.6192527413, -0.6644468904, 0.8551183939, 0.7825695276, -0.5019698143, -0.9251029491, -0.1591389924, 0.0041336678, -0.5128438473, 0.7027809024, 0.349845022, 0.0902222991, -0.3259013593, -0.6908649206, -0.5071538091, 0.6965966821, 0.211220488, -0.6609475017, 0.0471850522, 0.1001264676, 0.7254874706, -0.7356138825, 0.2962086201, 0.441747129, 0.5683287382, 0.1266080737, -1.1105458736, 0.1334061325, -0.2773435712, -0.0039426018, -0.0239022691, -0.3563372493, 0.54018718, -0.4317423999, -0.1540670991, 0.3594399989, 0.5652318597, 0.2212516665, 0.0646047145, 0.5378875732, 0.4070103765, 0.7713221908, -0.0435277224, 1.3329178095, -0.1297252178, 0.250297755, 1.1751612425, -0.5282608867, 0.9285879135, 0.3064542115, -0.1153329089, 0.4723677337, 0.5495796204, -0.1363242716, 0.2248167992, 0.8821758032, 0.0093653584, -0.4554371536, -0.3831299245, 0.0055449768, 0.3937547207, 0.2748872042, -0.2982370853, -0.1354300231, 0.1735608876, 0.031568937, 0.298463136, -0.3596210182, 0.6479761004, 0.2049080282, -1.1644341946, 0.5103821754, 0.053612221, 0.861867547, -0.6340652108, -0.253672272, -0.1369432211, 0.2166692913, -0.2290140241, -0.7845340371, 0.38216874, 0.3045581877, -0.2097034305, -0.1731297076, 0.3736782968, -0.5485574603, -0.8019684553, 0.1099218056, 0.0542113185, 0.0887229592, 0.0642115101, -0.3513824344, 0.1134376079, -0.1463173777, -0.0733201876, 0.2845433354, 0.3345839977, -0.1206741706, 0.7687394619, 0.6181209683, 0.2936641276, -0.1928129941, 0.572473526, 0.7138218284, -0.5544492006, -0.215956226, -0.7176969647, 0.3734151125, -0.1814183742, -0.2405996174, 0.7817806602, 0.4038959444, 0.8598232269, 0.0427829251, 0.9293375611, -0.135189414, 0.5405845642, -0.6861894727, 0.655857563, -0.5699924827, 0.3156204522, -0.2270960212, -1.12880826, -0.3018912673, 0.6566334963, -0.191435039, 0.1554417312, 0.8588023186, 0.7934600711, 0.075198628, -0.1351929158, 0.3256036043, -0.0366507061, 0.5842089653, 0.5996053815, 1.0891629457, 0.0828254819, 0.4443283975, -0.2934824526, -0.0547245368, -0.1932349056, -0.8981016278, -1.233810544, -0.5783926845, -0.5263017416, -0.3068842888, 0.0492290817, 1.0586389303, 0.8686594367, -0.776047349, -0.5176455975, 0.0777094141, 0.0643579438, -0.0579586215, -0.202617839, 0.1539196521, -0.7698555589, -0.6465485692, 0.1803542972, 0.2413231283, -0.1949716955, -0.4577189386, -0.1067720577, 0.0000388447, 0.1147003174, 0.6792468429, 0.0093253329, -0.7952402234, -0.4337438643, -0.2246333361, -0.2496490479, -0.2944507897, 1.2550904751, -0.4000348747, 0.3196369112, 0.3901843727, 0.5450122952, 0.2534869313, -0.2639599741, 0.7775535583, -0.4643414617, -0.1718895286, 0.1811681241, 0.2692125142, 0.6169290543, -0.1304875612, 0.4091021121, -0.0434733033, -0.6288500428, -0.9064413905, 0.0256368592, -0.8741041422, -0.046606414, 1.4758731127, -0.2554341555, -0.1859784722, -0.0453759097, -0.3952079415, 0.0782327056, -0.2357643396, 0.871295929, 0.8658949733, 0.1203129813, -0.1257043332, -0.7564318776, 0.3387897313, 0.2516593635, -1.053866744, 0.2250995487, 0.5051848292, 0.3212349415, -0.1573541462, 0.5364390612, -0.0310112964, 0.2749299705, -0.3644322157, 0.0357471928, 0.0407843776, -0.3438945413, -0.2160093486, 0.2250655442, 0.5004028678, 0.3034698367 ]
http://arxiv.org/abs/2403.01063v1
http://arxiv.org/pdf/2403.01063v1
FaiMA: Feature-aware In-context Learning for Multi-domain Aspect-based Sentiment Analysis
2024-03-02T02:00:51
2024-03-02T02:00:51
Songhua Yang, Xinke Jiang, Hanjie Zhao, Wenxuan Zeng, Hongde Liu, Yuxiang Jia
cs.CL
cs.CL
Multi-domain aspect-based sentiment analysis (ABSA) seeks to capture fine-grained sentiment across diverse domains. While existing research narrowly focuses on single-domain applications constrained by methodological limitations and data scarcity, the reality is that sentiment naturally traverses multiple domains. Although large language models (LLMs) offer a promising solution for ABSA, it is difficult to integrate effectively with established techniques, including graph-based models and linguistics, because modifying their internal architecture is not easy. To alleviate this problem, we propose a novel framework, Feature-aware In-context Learning for Multi-domain ABSA (FaiMA). The core insight of FaiMA is to utilize in-context learning (ICL) as a feature-aware mechanism that facilitates adaptive learning in multi-domain ABSA tasks. Specifically, we employ a multi-head graph attention network as a text encoder optimized by heuristic rules for linguistic, domain, and sentiment features. Through contrastive learning, we optimize sentence representations by focusing on these diverse features. Additionally, we construct an efficient indexing mechanism, allowing FaiMA to stably retrieve highly relevant examples across multiple dimensions for any given input. To evaluate the efficacy of FaiMA, we build the first multi-domain ABSA benchmark dataset. Extensive experimental results demonstrate that FaiMA achieves significant performance improvements in multiple domains compared to baselines, increasing F1 by 2.07% on average. Source code and data sets are anonymously available at https://github.com/SupritYoung/FaiMA.
[ -0.7546858788, -0.6804010868, 0.2967189252, 0.4723367989, -0.3489927351, 0.0874541923, -0.2220298648, -0.4550219476, 0.2836103439, 0.3913433552, -0.4890477359, -0.6839832664, -0.6939560175, 0.1575310677, -0.1698334813, 0.9627799392, -0.1393089443, -0.0202891752, -0.5521443486, -0.7370393276, -0.3613986671, -0.6695746183, -0.3855953515, -0.1512497663, 0.2501895726, 0.5897869468, 0.2598498762, 0.0929434747, 0.5412634611, 0.2386137992, 0.0758976266, 0.6081832647, -0.3259163797, 0.1883280873, -0.2143359631, -0.030853454, -0.5483159423, -0.1620101035, 0.5821787715, 0.7457768321, 0.2613925338, -0.0535484478, 0.3882104754, 0.8249013424, -0.6690832376, 0.4739948511, -0.6166300178, -0.1898435056, -0.1323538423, -0.1320652217, -0.2827052474, -0.1485360116, 0.23335509, -0.5300945044, 0.1085732803, 0.0331324041, 0.874802947, 0.1351624429, -0.3340895176, -0.3155283034, -0.1556877643, 0.7834456563, -0.4235491455, 0.4869590998, 0.3278881907, -0.0582363829, 0.1181765124, -0.5674377084, -0.490018487, 0.3026905656, -0.0853541493, 0.1165691838, -0.0317221172, -0.2047336251, -0.2244307399, 0.4474562407, -0.3611836433, -0.2279151529, 0.0821626708, -0.0086246002, 0.4926789701, -0.0915758163, 0.0201511551, 0.0288092736, -0.6193554401, -0.0266247783, -0.7641243935, 0.3269823194, 0.0471171774, 0.7804038525, -0.3265811205, -0.0659591705, -0.2669411898, 0.4783222675, 0.0339842848, -0.0525478125, 0.6280930042, -0.0908024013, -0.2970335782, -0.088791512, 0.8981370926, 0.0993027166, -0.1144464239, 0.0426100194, -0.2348756939, -0.0420023128, 0.2630577683, -0.9251073003, -0.177162528, 0.2960225046, -0.2529404461, -0.1154174805, 0.254642874, -0.7508820891, -0.4092992842, -0.1617670953, 0.4035586119, -0.6867880821, -0.157769233, 0.0609159544, 0.3003786802, 0.0205612071, 0.2379654646, -0.6221437454, 0.1795560718, 0.8671277165, 0.9624031186, -0.1293627024, -0.4574619532, -0.5953972936, -0.2027447671, -0.2880738676, 0.8671959639, -0.6803039908, -0.3916400373, 0.0899532139, -0.0851058066, -0.2134623826, -0.6508107185, 0.428391248, -0.5710659027, 0.032725472, -0.2870678008, -0.4706819057, -0.8321889043, 0.4415358305, -0.5801405907, 0.8455812335, 0.3551504016, -0.7294389009, 0.2919713259, -0.8926994801, -0.7730970383, -0.2401884645, -0.06737905, -0.7712957859, 0.0469081923, 0.4722626209, 0.7691466212, -0.2802125812, 0.2136016339, -0.5295145512, -0.1928059608, 0.4003683031, -0.2181829959, 0.6057946682, 0.1264833361, -0.2027575523, 0.3418362439, -0.2744395733, -0.3647041023, -0.0493442379, -0.058206819, -0.4268575013, -0.2181983888, 0.184055984, 0.3541137278, 0.0962369144, -0.505148828, -0.0557116792, -0.5295774341, 0.2337680757, 0.5708260536, 0.1920788139, 0.3891142011, -0.3030623794, 0.3977140486, 0.6030116081, 0.12441165, -0.4090830982, -0.4797737598, -0.6753404737, -0.5933951139, 0.1813039184, 0.1420829594, -0.6606782079, 0.536685288, -0.2368373275, -0.0874598995, -0.5087823868, 0.49702546, 0.4143440127, 0.5726917982, 0.4689573348, -0.6955138445, -0.1723169237, -0.7458027005, -0.0868970454, -0.0497097783, 0.3634222746, 0.4406335354, 0.4680248797, -0.3546750844, 1.1237050295, -0.4591077864, -1.0285013914, -0.3810454905, 0.0730331764, -0.1562321931, 0.2159972191, 0.8299399614, -0.967045188, -0.5897668004, 0.1901839077, -0.8883619308, 0.0467042513, -0.0407665111, -0.2004089355, 0.2817283571, 0.171833083, -0.3155779839, 0.1036487222, 0.5020744801, -0.1913965195, 0.0062809545, 0.2294024527, 0.0773747787, -1.3534933329, 0.0766118392, 0.4408670068, -0.2582954168, -0.4339397848, 0.1904058903, 0.1797185242, 0.040862143, -0.5026930571, 0.5187813044, -0.2604523301, -0.0655754954, -0.5053668618, 0.2540232539, 0.3948121369, 0.6955899, 0.0285040736, 0.7921215296, 0.7435991168, -0.552349925, -0.0436471999, 0.3071640134, -0.1833589077, 0.7466438413, -0.0254192334, 0.0917870179, -0.0536844023, 0.3052212596, -0.827446878, -0.2527850866, 0.3679846227, -0.4200834036, 0.3559964597, 0.0575930923, -0.0703523532, 0.0996865779, -0.5586551428, 0.3279144466, -0.0443437546, -0.7679616809, 0.9099932313, 0.722474575, -0.2198679, -0.8631604314, -0.2756480277, -0.0208353158, -0.3053799272, -0.360553205, 0.4202267528, 0.0028540154, -0.2153703719, 0.0337504745, -0.0656537935, -0.1879732609, 0.3813112974, 0.3921268284, -0.1613301337, -0.2102000415, 0.1447689831, 0.3802702427, -0.0518657528, 0.0682502612, -0.3867093623, 0.4585620761, -0.5366936922, -0.2213790715, -0.5299375057, 0.4479659796, 0.4897052348, -0.4581221044, 0.5307853222, 0.588650763, -0.5718976259, -0.5513306856, -0.0701241568, -0.1444066316, -0.4609771371, 0.4295621216, -0.5772582889, -1.0591094494, 0.4587404132, -0.3994797766, -0.0216366816, 0.4108801782, 0.504863441, -0.081010133, 0.50175035, 0.7616969943, -0.3902356923, 0.4714670777, -0.6670498848, 0.2939071655, -1.0167815685, -0.1661787331, -0.3318937123, -0.2049492151, 0.0343424976, -0.4435072839, 0.3879007399, 0.2634129226, -0.1651478857, 0.059435796, -0.2030133307, 0.3961995542, 0.2201018333, 0.081864357, 0.1348500401, -0.1060472131, 0.0571360141, 0.1718463451, -0.6039218307, -0.2663008869, 0.9683561921, 0.3057650924, 0.4008080661, 0.1053921878, 0.5627384186, 0.3717117012, 0.792160809, -1.0541424751, 0.3216561973, -0.4563702941, -0.052414462, 0.0107769482, -0.3331844509, -0.473515749, 0.4525652528, -0.1911962926, -0.383023113, 0.4064081609, -0.101745978, -0.3168163896, 0.2949038148, -0.2654527426, 0.9369269013, -0.0750127509, -0.2532783747, -0.1005120575, -0.5448126793, 0.4327482283, -0.4743068516, 0.3538527489, -0.2610800564, 0.0366690196, 0.4145630896, -0.1981928796, 1.0862627029, -0.2582589984, -0.1589906663, 0.3486295044, 0.0530311875, 0.0847251862, 0.4475856125, -0.0134804426, 0.615206182, -0.4893619716, -0.0643764287, -0.4829328954, 1.0265597105, -0.8266193867, -0.3443933129, -0.3696659803, -0.5555328131, -0.6456887722, 0.1075866669, 0.1115359738, 0.6137679815, -0.3938203752, 0.3445628881, 0.6247531772, 0.0204496253, 0.4841811955, 0.3783267736, -0.1691977531, -0.4457607865, 1.1611845493, -0.1767085046, -0.1665697247, 0.6412450075, 0.1055355892, -0.3238771558, -0.5080402493, -0.5272715688, 0.0880668983, -0.86552459, -0.7114548087, -0.8853740096, -0.0187123418, -0.3234548867, -0.2589878142, -0.3104714751, -0.1096338257, -0.4271642566, 0.0392867997, 0.5313213468, 0.6240073442, 0.2264704853, 0.4260263145, -0.7015212178, 0.2836146653, 0.0805941895, 0.4397851527, 0.0715316981, -0.3911338151, -0.485538125, -0.1500797421, -0.5224828124, -0.5234031081, 0.5470007062, 0.7109537125, 0.3076348007, 0.703742981, 0.1737897247, 0.3617303967, -0.1110978797, 0.6750490069, -0.0672772825, -1.1914497614, 0.4063790441, -0.08290869, 0.0732122436, 0.636318922, 0.5087077618, -0.4908778965, -0.4720871747, -0.2303379178, -0.9065666795, 0.7703570724, -0.1025988609, 0.2332512438, -0.1672045439, 0.4044813514, 0.4214286506, 0.146298632, -0.3646981418, -0.3039687574, -0.471927911, -0.6078708172, -0.0148372957, 0.0556251071, -0.2344729453, -0.060065791, 0.8697295785, -0.898012042, 0.086399138, 0.1772504449, -0.4266782105, 0.1184216514, 0.1359693557, 0.4899005294, 0.6346820593, -0.0110030081, -0.0095897531, 0.1168726385, -0.3378186524, -0.0808555484, 0.1882242411, -0.1282467693, -0.1700143814, 0.3177012205, 0.8693096042, 0.2938033342, -0.4627175033, 0.7671691775, -0.103316009, -0.1443621367, -0.0317703485, -0.0619336925, 0.017512057, 0.2993657887, 0.4502019882, 0.3127606511, 0.2025486231, -0.4263271093, 0.5122087002, 0.5014545918, -0.7632834911, -0.4099066257, 0.5830497146, 0.2913021743, -0.0130708804, 0.2102083117, -0.1593071073, -0.6173564196, 0.5810431242, 0.4545943141, 1.281768918, -0.1442421526, 0.3599232137, -0.0365597866, -0.0577046722, 0.1677120477, 0.2646351755, -0.0339840725, -1.0372684002, -0.1086626351, -0.7663542628, -0.5988665819, -0.142010659, -0.573176384, -0.0655204132, -0.6067152023, -0.1571474671, -0.0788738057, -0.0715755597, -0.5116971731, 0.3042082489, -0.0701000616, 0.6504006982, -0.745755136, 0.9681118727, 0.8303449154, -0.4074961245, -0.3951410353, 0.4694546461, 0.04340446, -0.3700495362, 0.2651370466, 0.6025605202, -0.5097222328, -0.2921899855, -0.1382845491, -0.5738111138, 0.9798013568, 0.2929801643, -0.0724953711, 0.7265233397, 0.1169458106, 0.4568485916, -1.1551378965, -0.1575794071, 0.3704515398, 0.0417973064, -0.2477664202, -0.4947024882, -0.004646448, -0.2022234499, -0.0353064053, 0.1520923227, -1.1723710299, 0.859561801, -0.1100929826, 0.0009748549, -0.3281512558, 1.1774948835, 0.1156356484, 0.5367774963, 0.4694293141, 0.3619480431, 0.7420397997, -0.0904721692, 0.8710523248, -0.6660521626, 0.4292036891, 0.8642743826, -0.549728632, 0.9712129831, 0.2229663134, 0.2180221081, 0.7193661928, 0.5815571547, 0.6227064729, 0.6466786861, -0.376762867, -0.4117676616, -0.2259448469, -0.2358211726, -0.1537076384, 0.6187897921, 0.7400146723, -0.338835299, -0.0080945883, 0.3509859145, 0.0837031677, 0.2532538772, -0.2706420124, 0.8392924666, 0.3922905028, -0.1971699595, 0.2492029369, 0.2530593276, 0.8967599273, -0.6436222196, 0.0763228983, -0.617880702, 0.3566021025, -0.1942024529, -0.6644937992, 0.3908157051, -0.088591285, -0.3239227831, -0.1338115335, 0.5858262181, -0.5188724399, -0.4065778553, 0.5374181867, 0.4498894811, -0.2953802943, -0.3994961977, -0.7732676864, 0.1278356165, -0.2118376344, -0.3004027009, 0.5963255167, 0.5266041756, -0.3381937146, 0.5954748392, 0.3177156448, -0.3640602529, -0.6205448508, 0.2624974251, 1.0183411837, -0.4677515924, -0.7468532324, -0.6733236313, 0.107981585, 0.0624820106, -0.5495954752, 0.6723963618, 0.7025561929, 1.018050909, 0.0587638468, 0.9195951819, 0.2681087255, 0.2823856175, -0.45140329, 0.8582369089, -0.7133648396, 0.206460312, -0.233463034, -0.987003386, -0.6297941804, 0.6017878652, 0.0464435294, 0.1041374281, 0.7280178666, 0.7177667618, -0.1964623481, 0.2486528903, 0.1015041173, 0.076242052, 0.3611403704, 0.4726513922, 0.4050860405, -0.4824110866, 0.1366968155, -0.4337481856, -0.1708753109, -0.1933937371, -0.7009740472, -0.7210562825, -0.8445501924, -0.4410073161, -0.2617228627, -0.1701717377, 1.1148612499, 0.6893787384, -1.0350081921, -0.1674657464, 0.4276561737, 0.3240860105, -0.7115660906, -0.2835144997, 0.6592757702, -0.5779815912, -0.7366560102, 0.6648077965, 0.5991157889, -0.3915990889, -0.2729792893, -0.1342511922, -0.1543399245, 0.2748173773, 0.893297255, 0.0632516444, -0.5434264541, -0.4093401432, -0.2893396914, -0.079998523, 0.3839968443, 0.9091331363, -0.7720660567, 0.3714698553, 0.3883036375, 0.9183247685, 0.0818417892, 0.222669512, 0.3127613962, -1.2131664753, 0.10661906, 0.1034866348, 0.6025524139, 0.7021675706, -0.4093701243, 0.2986461222, 0.3600022793, -0.1210764349, -0.548065722, 0.0642345995, -1.0675715208, -0.5071163177, 0.9336788654, -0.4353839755, -0.226002574, -0.3238555193, -0.0502592288, -0.0205750037, -0.6228126287, 0.8105196357, 0.4736995399, -0.244323194, -0.0163142737, 0.0547684506, 0.638263762, 0.1193634048, -0.9936854243, 0.311863631, 0.5224218965, 0.1788017154, 0.0337718762, 0.7472391129, -0.0444677994, 0.1205678508, -0.2593907416, -0.0833347961, -0.3312693238, -0.9240807295, -0.6588480473, 0.6943141818, -0.0416523963, -0.1129262522 ]
http://arxiv.org/abs/2403.01061v1
http://arxiv.org/pdf/2403.01061v1
Reading Subtext: Evaluating Large Language Models on Short Story Summarization with Writers
2024-03-02T01:52:14
2024-03-02T01:52:14
Melanie Subbiah, Sean Zhang, Lydia B. Chilton, Kathleen McKeown
cs.CL
cs.CL
We evaluate recent Large language Models (LLMs) on the challenging task of summarizing short stories, which can be lengthy, and include nuanced subtext or scrambled timelines. Importantly, we work directly with authors to ensure that the stories have not been shared online (and therefore are unseen by the models), and to obtain informed evaluations of summary quality using judgments from the authors themselves. Through quantitative and qualitative analysis grounded in narrative theory, we compare GPT-4, Claude-2.1, and LLama-2-70B. We find that all three models make faithfulness mistakes in over 50% of summaries and struggle to interpret difficult subtext. However, at their best, the models can provide thoughtful thematic analysis of stories. We additionally demonstrate that LLM judgments of summary quality do not match the feedback from the writers.
[ -0.1118369773, -0.6652134657, 1.082783699, 0.3473098278, -0.5562267303, 0.195144847, -0.0552890077, -0.8618884087, 0.2869920731, 0.6065194011, -0.5491189957, -0.3291475773, -0.6843972206, 0.3574332297, -0.6009584069, 1.1881016493, -0.1970674247, -0.0936771482, -0.4653847814, -0.1093412936, -0.239597261, -0.4697593451, -0.4066716135, -0.5206972361, 0.5827248096, 0.1448775083, 0.8322450519, 0.4498588741, 0.4847424328, 0.2545960844, -0.3538605571, 0.0078733945, -0.7912752032, 0.0522659309, -0.2077846229, -0.3595755696, -0.6363461614, -0.0418555923, 0.4970838428, 0.6179458499, 0.1309469938, 0.1910921484, 0.0040420252, 0.6581625938, -0.2361673415, 0.095236294, -0.185842067, 0.0250077564, -0.0769836307, -0.0410098694, -0.2705673873, -0.5562622547, 0.3598965704, -0.3597948551, 0.3049944043, 0.0687004253, 0.66975528, 0.075591661, -0.6296389699, -0.474599272, -0.655916512, 0.8373536468, -0.828584075, 0.0339981243, 0.5969028473, 0.062061362, 0.1335619986, -0.8648051023, -0.4146118462, -0.5114707351, -0.3272350729, 0.2633735836, -0.3633683324, -0.1350705326, 0.0729538277, 0.6298320293, -0.664280653, 0.0991792828, -0.5132104158, -0.1112475097, 0.6874867082, 0.5217480659, 0.3188789487, -0.2082592547, -0.2701346278, 0.2647162676, -0.7584322691, -0.053808026, 0.6423752904, -0.1526271701, -0.2843053043, 0.7720358968, -0.0752475187, 0.3155546188, -0.2629412413, -0.3593726158, 0.0291600209, -0.7128558159, -0.1265789568, -0.0589974336, 0.8405646086, 0.7491505742, 0.5406556726, -0.1080632359, -0.3229781687, -0.2915864289, 0.0227651577, -0.6569828987, -0.065311037, 0.2149245441, -0.6587008238, -0.3060265481, -0.1665056795, -0.4777862132, -0.4999397099, -0.2920060456, 0.1912053078, -0.2896845341, 0.1244354919, 0.1388955116, -0.2700216174, 0.068227686, 0.478366673, -0.9339932799, 0.2857985497, 0.6162779927, 0.9549366236, -0.1254916042, -0.4677512944, -0.1634147316, 0.1511608362, -0.3555482924, 0.8541024923, -0.213080734, -0.635522604, -0.2251048982, -0.127463609, 0.0601890087, -0.3204140961, 0.5154297948, -0.3010870814, 0.2993130088, -0.28690359, -0.5546201468, -0.169312641, 0.2255861312, -0.7397393584, 0.7359351516, 0.1532336175, -0.7811616659, -0.0322199278, -0.2243421823, -0.4138102233, -0.2125741094, 0.1157059595, -0.1753983498, 0.4220439494, 0.6094846725, 0.4600323737, -0.3591378331, 0.2101850212, -0.0955858678, -0.4417930543, 0.2328565568, -0.2313872576, 0.5727947354, 0.0229740869, -0.0110259885, 0.2522718608, -0.2560342252, -0.2517952025, 0.3075635135, -0.2814001143, -0.3342988491, 0.0246988591, 0.1122756973, -0.1296162605, 0.325443238, -0.2622800767, 0.2239584178, -0.3516968191, 0.4639281034, 0.4858834743, 0.1313968599, 0.2299853563, -0.5718135238, 0.7324901819, -0.1111986041, 0.1865138113, -0.4401590228, -0.3700876534, -0.6621341705, -0.1533312351, 0.3511791527, 0.4700137377, -0.7865697742, -0.1190763786, -0.231739372, -0.697040081, -0.376868248, 0.1561781168, 0.5571761131, 0.312348187, 0.3584067225, -0.2724583447, -0.36270383, -0.9621191621, -0.581237793, -0.2992949188, -0.1575205326, 0.0499912761, 0.8511915803, -0.297796011, 0.8023851514, -0.4976706803, -0.1097042412, -0.9033072591, 0.3394964337, 0.2239758223, 0.2131733894, 0.8316017985, -0.5389701724, -0.4508716166, -0.2496514469, -0.7046103477, -0.1934145093, 0.0716309994, 0.4033943415, 0.1935561597, 0.5299406648, -0.6017476916, 0.4050250053, 0.7373895049, -0.3791102469, 0.723115027, -0.1727036685, 0.2131583393, -0.9479342699, -0.1720051914, 0.0966674685, -0.5173259974, -0.2918344438, 0.0077425218, -0.0510991998, 0.2522235513, -0.422498256, 0.4741280675, -0.3993619382, -0.2280431092, -0.3444885314, 0.2355676889, 0.1264259368, 0.1855521351, 0.0145327765, 0.6329904199, -0.0548629612, -0.2137381881, 0.3687567413, 0.114307642, -0.6663557291, 0.3211334348, -0.983786881, 0.0376511589, -0.2034306973, 0.5764120817, -0.796700418, -0.3690592349, 0.0353130177, -0.3273609579, 0.1487053484, -0.0894324109, -0.6415814757, -0.0277093891, -0.3825274408, 0.4990879595, 0.5084007978, -0.2712674141, 0.5108792186, 0.2962290347, -0.5638756752, -0.4607568681, -0.8103387952, 0.2144841701, -0.172151804, -0.2810825706, 0.1856359988, -0.0769779757, -0.5101243854, 0.148845613, -0.1924877465, -0.0677100122, -0.106582433, -0.0833344981, 0.0575271212, -0.2201505452, -0.2020524293, 0.1853204519, -0.1606307775, 0.1020357162, 0.0856051445, 0.2903399765, -0.1761370897, -0.1957424581, -0.3494403064, 0.4802342057, 0.6345115304, -0.1067472398, 0.566534698, 0.3621388674, -0.2458587885, 0.152862072, -0.431063056, 0.0547179654, -0.3719550371, 0.4227355123, -0.2014357001, -1.0673786402, 0.5065075159, 0.2404800355, 0.0020664374, 0.6921756268, 0.5556502938, -0.2808641195, 0.799880445, 1.0391175747, -0.0981362686, 0.3752858341, -0.0818471089, 0.1417262107, -0.6289169192, -0.0891414732, -0.4588450789, -0.1724369973, -0.2012909502, -0.2405199558, 0.3258674443, 0.1224132031, 0.0451226309, 0.2489531636, 0.1282036752, 0.9064179063, 0.3683989346, -0.0211658739, 0.6755708456, -0.2190196961, -0.0360136069, -0.2685694396, -0.3983459175, -0.7922218442, 0.7705700994, 0.6289638877, 1.0187300444, 0.341899842, 0.4230163991, 0.3532567024, 0.324059993, -0.8575699925, 0.4970366359, -0.1836722791, -0.4672951996, -0.2639967203, -0.5261400342, -0.6921426654, 0.294225961, -0.0562071577, -0.7785258889, -0.026642574, -0.0875658095, -0.267380923, 0.180483982, -0.6364936829, 0.6823212504, -0.2028484643, 0.046435304, -0.1981873959, -0.8087580204, 0.7006589174, -0.1749260724, 0.2089745551, -0.1505047679, -0.2046939582, 0.649956584, -0.2378585041, 0.9431848526, 0.4281159341, -0.2053628415, 0.3396060169, 0.3347829282, 0.2834501863, 0.2916892767, 0.0915419385, 0.2215313315, 0.3003098667, -0.5215691924, -0.5779895782, 0.5445659757, -0.729691565, -0.5156351924, -0.5933899879, -0.7273316979, -0.180021435, 0.271009475, 0.3892022669, 0.4488836825, -0.377821207, 0.2579799891, 0.3898651004, -0.1878171861, 0.5479406714, 0.4168767929, -0.3893172741, -0.5595549941, 0.3435949981, 0.0926649794, 0.4133711159, 0.4868662059, 0.2176053524, -0.3679412901, -0.7583833337, -0.339938134, 0.5025664568, -0.802682817, 0.0456858501, -0.6540817022, -0.0710151568, -0.2099959999, -0.1132080108, -0.3288522959, -0.5308862329, -0.2629023194, -0.36088112, 0.1875686646, 1.24708426, 0.2134949118, 0.4566853344, -1.0432467461, 0.2738941014, 0.0933870375, 0.0488869213, -0.0709727481, -0.5461726189, -0.4404683411, -0.1658666581, -0.2781944573, -0.9006834626, 0.408618629, -0.1937185675, 0.2150495648, -0.0384360962, 0.0639062896, 0.5788536072, -0.4319198132, 1.0757154226, 0.0947103053, -1.1905345917, 0.3734422326, -0.6013170481, 0.4877923429, 0.4166088104, 0.5546116233, -0.4198934734, -0.5942853689, -0.4370172322, -0.9090123177, 0.4953478575, 0.3461238742, 0.2570229471, 0.1434915811, 0.3718713224, 0.2416163981, 0.3150775135, -0.9009771347, -0.0794733539, -0.1340545416, -0.3625555038, -0.6176514626, -0.9391151071, -0.080963634, -0.0196570903, 0.5406912565, -0.0414158739, -0.0289647467, 0.3050326109, -0.2861515284, -0.1176815629, 0.2511113286, 1.0375757217, 1.132083416, -0.2388661951, 0.1023551971, 0.3829033375, -0.6220111847, -0.0905192271, -0.2468456179, -0.0146179907, 0.1929625869, 1.1712247133, 0.5722667575, 0.368105948, -0.7202649117, 0.5560861826, -0.4744764268, -0.1930180043, -0.2522254586, -0.2036882043, 0.2536128759, 0.4801680446, 0.2321729958, -0.3303090334, 0.0636854991, -0.7080639005, -0.1559937447, -0.0007176326, -0.3850272894, -0.3748725951, 0.5107412338, 0.1013552025, 0.0061009247, 0.5506814122, 0.1319600493, -0.3959547877, 0.6528014541, 0.5720307231, 0.9454116225, 0.0953365043, 0.1281879842, 0.0150800049, 0.8199600577, -0.2179780751, 0.0507975258, 0.2781137228, -0.3907865882, -0.8230243325, -0.5431770682, -0.8452786803, 0.2447606176, -0.620164156, -0.0239107497, -0.1334817708, 0.0212184619, -0.1604326516, -0.0292862505, -0.0642834753, 0.1185041592, -0.255594492, 0.9065238833, -0.7514743805, 0.5608472824, 0.5510160923, -0.4789266586, -0.5090488195, 0.3389686048, -0.0465446748, -0.3597066104, 0.4001128674, -0.0706170797, -0.0720613971, 0.0714969039, -0.4676419497, -0.7088127732, 1.1784040928, 0.5389789343, -0.5328959823, -0.0661246702, -0.0991395488, 0.8143641353, -0.31698367, 0.2713972926, 0.5110163689, 0.3065207601, -0.0329888277, -1.1289877892, -0.0697962269, 0.05213264, -0.1359982938, 0.0444016829, -0.7455073595, 0.8861151338, -0.3306574523, -0.0778101981, 0.5006322861, 0.787048161, 0.25980708, 0.5348471403, 0.3309726119, 0.4803052843, 0.4350978732, -0.0518166162, 1.4371609688, 0.1907206178, 0.5532096028, 1.2623209953, -0.1769313067, 0.6766739488, 0.4507438838, -0.1630872488, 0.4344817996, 0.7555981874, 0.230488345, 0.5003381968, 0.1447795928, -0.0550518371, -0.1243800819, -0.0190896112, -0.3943377435, 0.2485203147, 0.1971258372, -0.416106075, -0.3614500463, -0.1636931002, 0.0674159601, 0.1187349483, -0.4291205108, 0.7015483379, 0.5501610637, -0.5639567971, 0.0940646231, 0.3013700545, 0.2972082198, -0.4402034581, 0.1287444234, -0.605658412, 0.1093247235, -0.1412008256, -0.8723031282, 0.4549571574, 0.3569101095, -0.4523104429, -0.250038296, 0.4340931475, -0.2721442282, -0.4470566213, 0.1952674687, 0.6086380482, 0.2792941034, 0.0427011438, -0.4849065542, 0.1781276166, -0.1968690157, -0.4851820767, 0.3300610781, 0.3765625656, -0.2197238058, 0.5549461246, 0.4869360924, -0.1128460839, -0.3048662841, 0.1876194477, 0.591588974, -0.9383817911, -0.4903260767, -1.0930964947, 0.4113796651, 0.1419382691, -0.4012292325, 0.8561318517, 0.5504923463, 0.7461438179, -0.2405424118, 0.631870091, 0.2606319785, 0.4629777074, -0.8910087347, 0.6829768419, -0.458150506, 0.4569917321, -0.3326821625, -1.0641947985, -0.261003077, 0.3720562756, -0.4003161192, 0.1953339428, 1.0530693531, 0.2400631607, -0.0466353968, 0.1578398496, 0.3052377105, 0.3785605729, 0.2450963706, 0.5362419486, 1.281031847, -0.3004225492, 0.4170251191, -0.0499424376, -0.0116214948, -0.256113708, -1.1611202955, -1.1784166098, -0.3487925231, -0.2184758931, -0.3039257228, 0.0315660089, 0.5392490625, 0.1828214526, -0.5515972376, -0.2161207944, 0.1852082014, 0.4117386341, -0.0852315649, -0.1978038549, 0.2821110785, 0.1333561391, -0.8912216425, 0.4642679393, 0.4369964302, 0.3687419295, -0.2971268594, -0.0265393276, 0.0994687527, 0.2892485857, 0.7070994973, -0.1123277918, -0.8369711041, -0.2283305377, -0.2284891307, -0.2691291869, -0.329874903, 0.9327729344, -0.4391452968, 0.052578032, 0.6922766566, 0.41938743, 0.6183791161, 0.1927133054, 0.6181835532, -0.5403226614, -0.1076352149, 0.3490271568, 0.5728315115, 0.2153979242, -0.2885266542, 0.56445086, 0.2226261795, -0.6608530879, -0.9634898901, 0.2649055421, -1.0178598166, -0.3829116523, 1.0275261402, -0.3421051502, -0.2211944908, -0.0950684249, -0.299134165, -0.0857125148, 0.04843124, 0.5729727149, 1.031613946, -0.2072309852, -0.3022686541, -0.8344953656, 0.3151318133, 0.3024594188, -0.7438628078, -0.1351053566, 0.5925520062, 0.4077284634, -0.0759210512, 0.8347153068, -0.1830525398, 0.2162593007, -0.0693542287, -0.3206029236, -0.2000120878, -0.4100611806, -0.37377882, 0.0651877895, -0.0396913625, 0.4621185362 ]
http://arxiv.org/abs/2403.01031v2
http://arxiv.org/pdf/2403.01031v2
Peacock: A Family of Arabic Multimodal Large Language Models and Benchmarks
2024-03-01T23:38:02
2024-05-24T20:24:36
Fakhraddin Alwajih, El Moatez Billah Nagoudi, Gagan Bhatia, Abdelrahman Mohamed, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
Multimodal large language models (MLLMs) have proven effective in a wide range of tasks requiring complex reasoning and linguistic comprehension. However, due to a lack of high-quality multimodal resources in languages other than English, success of MLLMs remains relatively limited to English-based settings. This poses significant challenges in developing comparable models for other languages, including even those with large speaker populations such as Arabic. To alleviate this challenge, we introduce a comprehensive family of Arabic MLLMs, dubbed \textit{Peacock}, with strong vision and language capabilities. Through comprehensive qualitative and quantitative analysis, we demonstrate the solid performance of our models on various visual reasoning tasks and further show their emerging dialectal potential. Additionally, we introduce ~\textit{Henna}, a new benchmark specifically designed for assessing MLLMs on aspects related to Arabic culture, setting the first stone for culturally-aware Arabic MLLMs.The GitHub repository for the \textit{Peacock} project is available at \url{https://github.com/UBC-NLP/peacock}.
[ -0.5048769116, -0.5574763417, 0.0618903935, 0.5283499956, -0.1807841063, 0.2154253572, -0.2113302946, -0.6934687495, -0.1435173154, 0.2816279233, -0.2417329699, -0.4861552417, -0.2758584321, 0.253508836, -0.3292885721, 0.5669338107, 0.0186042786, 0.156987682, 0.3766779006, -0.6019238234, -0.2341527939, -0.352363646, -0.4602990746, -0.0037571888, 0.9711125493, 0.2688868642, 0.9906778932, 0.6056440473, 0.3295700848, 0.3050988913, 0.0621704273, 0.5306465626, -0.2351887375, 0.3905542195, -0.3609470725, 0.0436720103, -0.1681923568, -0.1533504426, 0.8506319523, 0.9069428444, 0.0082869437, 0.4161807597, -0.0083312355, 0.7290712595, -0.9780498147, 0.2410760522, -0.6859815121, 0.1809745282, -0.2083590478, -0.0998468399, -0.3875768483, -0.1217413321, 0.0592282005, -0.3788105845, -0.3282153606, 0.4142922163, 0.7208189368, -0.0640358329, -0.9788300991, 0.1549367458, -0.461322248, 1.1057082415, -0.5259454846, 0.7023334503, 0.2515809238, 0.7098470926, 0.0240174048, -0.682149291, -0.5411789417, -0.2786550224, 0.2764561176, -0.050682392, -0.1258086413, -0.3710307479, 0.1131686047, 0.149805069, -0.5255405903, -0.2963390648, -0.0545216575, -0.2400960624, 0.4286504686, 0.180840373, 0.4207178652, -0.0825282857, -0.2147361934, 0.142599389, -0.8226639628, 0.3120658994, 0.227767095, 0.4839171767, -0.1528598666, 0.644331038, -0.3152669668, 0.7195967436, -0.2950015366, -0.0671414733, 0.0814691335, -0.2729027569, -0.2119751871, -0.1852379441, 0.4458576143, 0.3455407023, 0.4282507002, -0.0096788621, -0.1301989555, -0.0311538968, -0.0972248912, -0.9499844909, -0.1077328175, 0.1558416486, -0.8787578344, -0.1677227914, -0.2597831488, -0.68166399, -0.7870725393, -0.3366685808, 0.1138537154, -0.4278233349, -0.7729025483, -0.1270957738, -0.0520129129, 0.5888306499, 0.460740447, -0.7419692278, -0.0722525492, 0.5536333919, 0.6547628641, -0.1372530013, -0.6237086058, -0.7735291719, 0.1885108799, -0.7050438523, 0.5992164612, -0.961666286, -0.2230952084, 0.4999659359, -0.0706624091, 0.0784884021, -0.4839897752, 0.63658005, -0.7030854821, -0.3857986629, -0.582238853, -0.1485803276, -0.5112307072, 0.5551607013, -0.7535640597, 0.6746439934, 0.0808510408, -0.8620503545, 0.3962658346, -0.3168362081, -0.4847372174, 0.1010200381, -0.2786634564, -0.1690356433, -0.1388212591, 0.2131901681, 0.3600581884, -0.4205549955, 0.0378056839, -0.6427312493, -0.4041674733, 0.5065865517, -0.5474158525, 0.998621583, 0.4731545746, -0.3587247133, 0.5836595893, -0.9105426669, 0.2403697073, -0.1492716521, -0.4690487087, -0.0922110453, 0.0140883727, 0.8164309859, 0.3476215303, 0.2226128727, -0.3550231159, 0.0297783595, -0.0629332885, 0.3753089905, 0.6715782881, -0.3448581696, 0.0573775321, -0.3240838349, 0.5276032686, 0.2093805522, 0.2659406364, -0.2707735002, -0.4596027732, -0.977381289, -0.5094357133, 0.1607692391, 0.3621766567, -0.9983965755, -0.2398413718, 0.0019955884, -0.4478277266, -0.4589889348, 0.1481086165, 0.3940038681, 0.2027863264, 0.3278368115, 0.2019525915, -0.5509070754, -1.1146322489, -0.4614229202, 0.0575110875, 0.377782017, 0.3043956757, 0.5435881019, -0.383107394, 0.7050387859, 0.1901901364, -0.0445998646, -0.3555268347, 0.2755429745, 0.1399157792, 0.4390099347, 0.6393406987, -1.099096179, -0.7776920199, 0.4848062992, -0.8106067181, 0.1275425106, 0.0772168934, -0.1395832151, 0.4738681316, 0.1838082671, -0.4547364712, 0.4434544146, 0.6862810254, -0.5295466781, 1.0523539782, 0.1088046506, 0.453507334, -0.9246178865, 0.2204075158, 0.0247226376, -0.3623467684, -0.5151383877, 0.2918565273, 0.2143830657, -0.1914239973, -0.6070395112, 0.7414150834, -0.7368168831, -0.2494219244, -0.1553565264, -0.3035292029, -0.0765499249, 0.5670593977, 0.1226963475, 0.9941607118, 0.8645278215, -0.3559865057, 0.486697197, 0.0038678348, -0.6530854702, 0.6500666142, -0.6722958684, -0.1235699281, 0.1323494315, -0.13163656, -0.886734724, -0.0913261697, 0.0455564447, -0.1501178741, 0.2769451439, -0.1130316556, -0.5024212599, -0.198061794, -0.4868487418, 0.7052672505, 0.4326516688, -0.5838467479, 0.9063494802, 0.1835511476, -0.197982356, -0.9485276341, -0.4762562513, 0.453866154, -0.1847797781, -0.6796040535, -0.0827944949, 0.1085620224, -0.4689383209, -0.1363394707, 0.2027571946, -0.2013594806, -0.1516900212, 0.1340333968, 0.2569127679, -0.5719548464, 0.1506875902, -0.1215313971, 0.0587837324, -0.156251207, -0.3700109422, 0.3998211622, -0.6989623308, -0.6252106428, -0.3075217605, 0.7130424976, 0.9339906573, -0.8881214261, 0.8657120466, 0.9355822206, -0.2785396576, -0.240794614, -0.767559886, 0.1567706764, -0.4503999054, 0.5834060311, -0.7046396732, -0.6204417944, 0.562217474, -0.1020660475, -0.0231541581, 0.2297451198, 0.5991271138, -0.1350340396, 1.4663044214, 0.6439518929, 0.0135334106, 0.2826267183, -0.1603345871, 0.0102686752, -0.999519825, 0.0299542341, -0.4155120254, -0.1935394406, -0.6252600551, -0.5685429573, 0.3467488587, 0.0863342732, -0.6941344738, -0.1342170388, -0.1332246959, 0.389090687, 0.6734076738, -0.0531468876, 0.4304219484, -0.0267345253, -0.2960422933, -0.0051867655, -0.6409199834, -0.7413228154, 1.1117702723, 0.1517865062, 0.6762930155, 0.5374211669, 0.0135058668, 0.3468368948, 0.3903608024, -0.4618271589, 0.6577050686, -0.0362217501, -0.5259393454, -0.3003259003, -0.19140248, -0.9460628629, 0.66193223, -0.2778689563, -0.6133975387, 0.2016966045, 0.0475690998, -0.0164408945, 0.37375471, -0.3347771168, 1.0805058479, -0.2828039229, -0.9633075595, -0.3904601634, -0.5265136361, 0.4672603011, -0.0275716353, 0.2987674475, -0.2678624392, -0.2615201771, 0.3718784153, -0.4340063632, 0.8051413894, -0.003890052, -0.044168815, 0.3211298287, 0.2203591466, 0.4416553676, -0.2290733755, -0.3431309164, 0.15073511, 0.229177326, -0.80826056, -0.404913187, 0.7699653506, -0.7894673347, -0.3418924809, -0.4928140938, -0.7009301782, -0.581851542, 0.2890550494, -0.2638637722, 0.7032968998, -0.021546673, 0.4531825781, 0.2953723669, -0.3957110345, 0.5324184299, 0.6056400537, -0.7328621745, -0.3417476714, 0.9550996423, 0.0476038381, -0.034429092, 0.2198437601, 0.2214155793, -0.6143755317, -0.7664360404, -0.8665565848, 0.0179616734, -0.9694884419, 0.0518663377, -0.3838274479, -0.0426680408, -0.2506279945, -0.0059039025, -0.0997622162, -0.2166516185, 0.1271496266, 0.4119377136, 0.1348568946, 0.7166113257, 0.0969178528, -0.3192429841, -0.8262555599, 0.3015283048, 0.6595273018, 0.267377466, 0.3124654293, -0.3383207321, -0.2025111318, 0.2220908701, -0.1776708364, -0.9355067015, 0.281305939, 0.2038971037, 0.6703915596, 0.611328125, 0.0470587984, 0.6954630613, -0.5710217357, 0.7123052478, 0.3088315725, -0.9334278107, 0.2357505262, -0.8624684215, 0.3934565485, 0.3039123118, 0.2868815958, -0.6816840768, -0.1578930914, 0.1664773822, -0.576914072, 0.0955301225, 0.23358652, -0.0008177767, 0.0018229042, -0.1790756136, 0.1272147, 0.4839090407, -0.7589352727, -0.1459093243, -0.4975424707, -0.190585494, 0.0421511196, -0.3884862363, 0.0715567395, -0.555131495, 0.7119844556, -0.2752451003, -0.2954365909, 0.0131475413, -0.281283915, -0.0034658255, 0.377540946, 0.5970982909, 0.9761688709, 0.1153571829, 0.2687212825, 0.0375851616, -0.2517115474, 0.0347200148, 0.0413070992, -0.0704781041, -0.2035115212, 0.622690022, 0.4203354418, 0.2941482961, -1.0319844484, 0.4559077024, 0.1781580895, 0.2471446097, -0.230302006, -0.3249451816, 0.2998605669, 0.5971195102, 0.4338083565, 0.0641065761, 0.3392285705, -0.8997995853, 0.0404525213, 0.7723190784, -0.2676951587, -0.0281999204, 0.5422987342, 0.5442240834, -0.2148971707, 0.4559275806, -0.3333905637, -0.710631609, 0.4567845762, 0.502454102, 0.7268336415, -0.1459646523, 0.2222039849, 0.2956376672, 0.2354144901, 0.34393242, 0.606588304, -0.2799277604, -0.7732231617, -0.4293392003, -0.8182582855, -0.5002678633, -0.1589940041, -0.386007458, 0.1292535663, -0.2822088301, -0.03936854, -0.0227793101, -0.0220667105, -0.62561059, -0.0522705764, 0.3143707216, 1.0944250822, -0.4289201796, 0.9240516424, 0.8580117226, -0.594682157, -0.7749732137, -0.2772678137, 0.0021427071, -0.8173291683, 1.0734013319, 0.2688027024, -0.7628593445, -0.1007342935, -0.2644233406, -0.6927527189, 0.6542758346, 0.2028736025, -0.536993444, 0.3363123536, 0.2820838988, 0.3988012075, -0.4612314105, 0.2389467657, 0.3189795911, 0.8231874108, 0.1737454534, -0.9807654619, -0.0882481784, -0.6929936409, 0.1424403489, -0.0554878302, -0.6941176057, 1.2391601801, -0.393132478, -0.0965315178, 0.4541319013, 0.7293336987, 0.2589278817, 0.2219079584, 0.4508136511, 0.104388684, 0.7224423885, 0.0402272418, 0.927548945, -0.3841565549, 0.1688621193, 1.0500633717, -0.6292649508, 1.3027281761, 0.4734699726, -0.3451004922, 0.5965203047, 0.6812315583, 0.126628831, 0.2131870538, 0.3044810891, -0.4137315452, -0.6119783521, -0.4913998842, -0.590531528, 0.5605312586, 0.0117773935, -0.149193123, -0.1221833378, 0.1879887432, -0.2386307269, 0.29101789, -0.6314787269, 0.3392444849, -0.1830244064, -0.4676452577, 0.8567633629, -0.1613935381, 0.6530843973, -0.6262863874, -0.3161318898, -0.0096399402, 0.2715641856, -0.1124822423, -0.6880321503, 0.0665662587, -0.0877892151, -0.0632205978, -0.0776960924, 0.6620313525, -0.5953841209, -0.9562982917, 0.2095927596, 0.6164354086, 0.0947052315, -0.2724470794, -0.6682723165, 0.3792794049, -0.1987444907, -0.2153308988, 0.0421227105, 0.4576654732, -0.1655358672, 0.9970516562, 0.6885511279, 0.1232765019, 0.2621883154, 0.282027781, 0.6165040731, -0.7823189497, -0.4241396487, -0.7987526655, 0.3940790892, -0.3261448145, -0.3084045947, 1.0653357506, 0.795301497, 0.2987047136, -0.2775861919, 0.7737457752, 0.3625200391, 0.4639175236, -0.3482798338, 1.0731374025, -0.9292579293, -0.0509290546, -0.2022667378, -0.8513375521, -0.0862348676, 0.7507241964, -0.0686871186, 0.2777440548, 0.7437850833, 0.6092882752, 0.0026359761, 0.2186766267, 0.6456922889, 0.4112468958, 0.2408814281, 0.5725799203, 1.4275393486, 0.0199482627, 0.5657593012, -0.089256458, -0.1417296231, -0.3367234468, -1.0584748983, -1.2268291712, -0.6791655421, -0.2237672061, -0.082903333, 0.1048685461, 1.0161163807, 1.0998113155, -0.9333850741, -0.3569257259, 0.1443423629, 0.1875984371, -0.3994001448, -0.1704286933, 0.3343197703, -0.282857269, -0.6658066511, 0.16398637, 0.5357733965, 0.1524502784, -0.7241532207, -0.154201895, -0.2992661297, 0.1814976037, 0.9759430289, 0.2276007384, -1.0735343695, -0.2493015379, -0.1598397493, -0.1883419305, -0.2704636455, 0.6345722079, -0.7395654321, 0.323623538, 0.1987348348, 0.6791574955, 0.2943148017, -0.3571356535, 0.4607890844, -0.1698694527, 0.2965591252, 0.315027833, 0.7113208175, 0.512794435, 0.2389701456, 0.3887266815, -0.0388152413, -0.2220724225, -0.8272234201, 0.5607908368, -0.9678539634, -0.4843926728, 1.134334445, -0.1319889575, -0.2128933072, -0.4486635327, -0.6149562597, -0.0251509603, -0.145367682, 0.6185309887, 0.7423282862, 0.0949248821, -0.3496935964, -0.4253148139, 0.4332652688, 0.3956342936, -0.8532360792, 0.1811908931, 0.6013582349, 0.123070702, -0.000654955, 0.2621691525, 0.2151426822, 0.611184299, 0.144294709, -0.0825200528, -0.3168648183, -0.4451052845, 0.0767635033, 0.4822944999, 0.27898103, -0.1750076264 ]
http://arxiv.org/abs/2403.01002v1
http://arxiv.org/pdf/2403.01002v1
Attribute Structuring Improves LLM-Based Evaluation of Clinical Text Summaries
2024-03-01T21:59:03
2024-03-01T21:59:03
Zelalem Gero, Chandan Singh, Yiqing Xie, Sheng Zhang, Tristan Naumann, Jianfeng Gao, Hoifung Poon
cs.CL
cs.CL, cs.AI
Summarizing clinical text is crucial in health decision-support and clinical research. Large language models (LLMs) have shown the potential to generate accurate clinical text summaries, but still struggle with issues regarding grounding and evaluation, especially in safety-critical domains such as health. Holistically evaluating text summaries is challenging because they may contain unsubstantiated information. Here, we explore a general mitigation framework using Attribute Structuring (AS), which structures the summary evaluation process. It decomposes the evaluation process into a grounded procedure that uses an LLM for relatively simple structuring and scoring tasks, rather than the full task of holistic summary evaluation. Experiments show that AS consistently improves the correspondence between human annotations and automated metrics in clinical text summarization. Additionally, AS yields interpretations in the form of a short text span corresponding to each output, which enables efficient human auditing, paving the way towards trustworthy evaluation of clinical information in resource-constrained scenarios. We release our code, prompts, and an open-source benchmark at https://github.com/microsoft/attribute-structuring.
[ 0.2756057382, -0.463621974, 0.7115618587, 0.3774708211, -0.3878525496, -0.0295510031, -0.1800681949, -0.513525784, 0.1346698105, 0.3573675156, -0.314971745, -0.645280838, -0.5244951844, 0.1150787473, -0.0352258235, 1.3709447384, -0.0822370946, 0.0667750239, -0.8812625408, -0.4269781113, -0.2873341441, -0.4929209054, -0.6470822096, -0.6225571632, 0.5796104074, 0.3943086565, 0.7873877287, 0.8819063306, 0.8959003091, 0.288069278, -0.2455171943, 0.1520699561, -0.3121842444, 0.3438298106, 0.111874193, -0.2819570601, -0.9694237113, -0.1555465758, 0.5621197224, 0.9035516381, -0.0747709274, 0.1765855849, 0.2160103023, 0.9278357029, -0.6594964862, 0.1153136343, -0.2990728319, 0.0219452456, 0.1554646343, -0.5036563873, -0.3262600899, -0.1914824247, 0.3409059644, -0.236232087, 0.2268340141, -0.0514883548, 0.8151689172, 0.302803576, -0.4105542898, -0.2886715829, -0.1828071475, 0.6029273272, -0.5649772286, 0.3172214627, 0.6023418307, 0.0873760432, 0.1147491485, -0.5446473956, -0.0834930241, -0.4469481111, -0.3957581818, 0.2616880238, -0.0799773633, 0.3020290136, -0.0280271918, 0.5441408753, -0.4207235873, 0.2603748441, -0.3360010087, -0.4736914933, 0.8937666416, 0.33302477, 0.3664367795, -0.2674737275, -0.2522990704, -0.0130490409, -0.8261730075, -0.2030429989, 0.0236156601, 0.067000255, -0.3707828224, 0.5810725689, -0.1388599724, 0.1224533692, -0.1007343903, -0.4633810222, 0.411326766, -0.3956058919, -0.3895451427, 0.1560088098, 0.7276828289, 0.9048890471, -0.1288923174, -0.4228301644, -0.0218045376, 0.0650515184, 0.3021241426, -0.9720588326, -0.3253732324, 0.589245975, -0.7926577926, -0.6741307974, -0.2179152369, -0.347178787, -0.5428573489, -0.2852092981, 0.1723000109, -0.6256352067, 0.1639753431, -0.0806101784, -0.1120031476, -0.1327950954, 0.7687012553, -0.5210624337, 0.3579053879, 0.5284571052, 0.8552412391, -0.3290522099, -0.1463121027, -0.737089932, 0.2544793189, 0.0240849797, 0.8298074603, -0.305885613, -0.5088467598, -0.1422465891, -0.2544011176, 0.2728807926, -0.5455498099, 0.5305623412, -0.0801839083, 0.1012856513, -0.0438673794, -0.3060401976, 0.2052451223, 0.178849414, -0.6730208397, 0.9201713204, 0.0711490959, -0.6169016361, 0.47168836, -0.5398419499, -0.7563006878, 0.020752646, -0.2727422714, -1.0221960545, 0.440268755, 0.306233108, 0.4691010416, -0.3908997178, 0.0670395195, -0.0815391988, -0.0724937469, 0.3778509796, -0.1059632301, 0.4295400083, 0.1480026543, 0.1222279444, 0.3896078467, -0.8612785339, 0.0616738535, -0.1744755358, -0.2432237417, -0.4326684177, 0.1355614364, 0.0836722851, -0.0212200247, 0.0245740339, -0.2126932293, -0.0700113624, -0.3945675194, 0.1748222411, 0.4671858251, 0.2382636964, 0.6129742861, -0.5691793561, 0.4552898705, 0.0794484615, -0.0427837595, -0.3093294501, -0.130527705, -0.5362983346, -0.5987814069, 0.0518137366, 0.350194633, -0.5767353177, 0.4893014729, -0.3841119409, -0.5046419501, -0.5797119141, -0.0459901094, 0.8778763413, 0.6438029408, 0.4552276134, -0.2085997015, -0.2850345969, -1.1383441687, -0.3993412852, -0.4423183501, -0.4877415895, 0.1232945696, 0.6024464369, -0.2261189222, 0.7474137545, -0.678892374, -0.6018576026, -0.6620153785, 0.4241149724, -0.1260605156, 0.4613149166, 0.4623534679, -0.5435115695, -0.1902832985, 0.0035350167, -0.5720879436, -0.6199735403, -0.2598286867, -0.0659284443, 0.0089209042, 0.2381930351, -0.4569932222, 0.8716265559, 0.0127027854, -0.3809542656, 0.7405791283, -0.3977066875, 0.3308773935, -0.7163572907, 0.2413094789, -0.2103931457, -0.3210234344, -0.5552236438, 0.1795400977, 0.2318631709, 0.0826414824, -0.26947245, 0.3285230696, -0.4737996757, 0.2112192065, -0.1652356982, 0.0819444954, 0.2672343254, 0.2733215094, 0.0869391784, 0.6667809486, 0.1187329367, -0.6601825356, -0.0777159631, 0.3860788345, -0.2033959776, 0.8201286793, -0.8477844, -0.1051398516, -0.4195316732, 0.1484108865, -0.6779155135, -0.2590661347, -0.2337305993, -0.4215411544, 0.2315082848, 0.1418123245, -0.4037357569, 0.0627001971, -0.9313809872, 0.3662120998, 0.0777694285, -0.0063164262, 0.5818812251, 0.5087631941, -0.2632506192, -0.2334095985, -0.8797242045, 0.1652083695, -0.2210434824, -0.6161575317, 0.6377471089, -0.0378105454, -0.3621135652, 0.0277077686, -0.3595437407, -0.1255468875, 0.4346629083, 0.2673765123, 0.400313884, -0.0853349119, 0.4007833004, 0.0769478753, -0.1874507368, 0.1018434986, 0.3241800666, 0.1539311111, -0.0892341435, -0.3803469539, -0.5583744049, 0.540289104, 0.4622299671, -0.2335730046, 0.8448013067, 0.1705487221, -0.4605220556, -0.2262227088, -0.4620925486, -0.0943234637, -0.332375139, 0.7141962051, -0.1071279943, -0.7382662296, 0.6293281913, 0.2426450551, -0.0292998105, 0.5323557854, 0.6807373166, -0.266895026, 0.6423450708, 0.4931722879, 0.0665845573, 0.146373108, 0.116469875, 0.1584853232, -0.884950161, -0.3267403543, -0.4832513332, -0.2164392769, -0.2109195441, -0.4026127756, 0.9472809434, 0.0293700285, 0.1065682098, -0.1123865992, -0.4010752141, 0.5507784486, 0.0699363053, 0.4781111777, 0.5923956037, 0.0393373407, -0.0780366436, -0.1437833011, -0.3710921407, -0.6227397323, 1.0368168354, 0.5977569222, 0.6450234056, 0.211691618, 0.5678634048, 0.3441039622, 0.7948082685, -0.712046802, 0.4049437642, 0.0452352315, 0.0085989451, -0.2406978309, -0.4881266356, -0.5695416331, 0.459087342, -0.3430716395, -0.8544615507, -0.1914645284, 0.1869240403, -0.4687616229, -0.1129238009, -0.5813412666, 0.5748237967, -0.2636760175, -0.4381854236, -0.2163388729, -0.6766260862, 0.1893522888, 0.0242857113, 0.0101899346, -0.0650761127, -0.1418323368, 0.6206230521, -0.8924079537, 0.619322896, 0.2272620797, -0.0667121559, -0.0136865107, 0.0410107523, 0.2899137437, 0.1860301793, -0.0787406042, 0.0172478464, 0.1139691621, -0.1138484925, -0.8406729102, 0.3142385483, -0.4845110476, -0.4621526301, -0.5433287621, -0.5568168163, -0.3502924442, 0.0897363052, 0.162382856, 0.6040991545, -0.3101154268, 0.4403498769, 0.4190329611, -0.3737382889, 0.1791906506, 0.4366903901, 0.106687434, -0.7380577922, 0.4037871659, -0.1194820702, 0.462490797, 0.5262399316, 0.283171922, -0.2639467418, -0.765424788, -0.0997927561, 0.3337806761, -0.7469897866, -0.5239080787, -0.592154026, -0.1938436925, -0.3138888478, -0.2398663908, -0.0455683433, -0.489608705, -0.116232127, -0.3612312376, 0.2502337992, 0.5728849769, 0.227766484, 0.4489104152, -0.7353518009, 0.253084898, -0.0486505739, 0.4128844142, 0.1563615352, -0.2504881024, -0.4160470366, -0.1874135137, -0.4244198203, -0.7806797028, 0.226622954, 0.3432810307, 0.42105937, 0.4633530676, 0.269310981, 1.0409626961, -0.6916089058, 0.5925347209, 0.4416659772, -0.9153139591, 0.6221846342, -0.1116347238, 0.2455372214, 0.9392818809, -0.1425124258, -0.4235106707, -0.6797571182, -0.3499896526, -1.1822115183, 0.5474544764, 0.646661222, -0.4819846451, 0.1633726656, 0.1972641647, 0.0020035321, 0.3523107469, -0.6855406165, -0.3370730579, 0.1660915315, -0.5318230391, 0.0209189039, -0.6701819897, -0.3571926355, -0.2625565231, 0.3722602427, -0.1455827504, 0.2350154072, 0.5434290767, -0.5952529907, 0.0516779013, 0.4210301936, 0.5957747102, 0.7432947159, -0.2512171865, 0.4004141092, 0.2046335191, -0.688624084, -0.0226083137, -0.1609975994, -0.0765767768, -0.1306535453, 1.0520319939, 0.6061643362, 0.5267830491, -0.6062081456, 0.6439108253, 0.0097293872, -0.1728043854, -0.0890291408, -0.1060714871, -0.146912843, -0.0186752323, 0.4092354774, -0.1982478499, 0.2344910204, -0.3554872274, 0.2609724104, 0.3060373664, -0.1732374579, -0.3638584316, 0.6842170954, 0.1950057149, -0.114046365, 0.3019336462, 0.1690706164, -0.4032308757, 0.549454689, 0.5449331403, 1.1210976839, -0.0939389244, 0.300080955, -0.0472471751, 0.4002833962, 0.235725522, 0.1624400318, -0.3591085374, -0.3003764749, -0.3122764826, -0.6104876995, -0.4988642633, -0.0148296617, -0.7165462375, 0.2216763645, -0.3333548903, 0.098723948, 0.0430760011, -0.1237642318, -0.4376029074, 0.3176601231, -0.0401796624, 0.846865356, -0.790217936, 0.4279889762, 0.6757891178, -0.5344847441, -0.4678239226, -0.06266509, 0.212235406, -0.5753147006, 0.5101830959, 0.2857147753, -0.0186462402, -0.6058700085, -0.3032284677, -0.6264469624, 1.2427127361, 0.2900173962, -0.045014251, -0.0912842676, 0.3390268981, 0.8898824453, -0.469366461, 0.4620016217, 0.5072826743, 0.2554157674, 0.0926143825, -1.0219097137, 0.3104580343, -0.4129288197, 0.0065863123, -0.0237133056, -0.2686142623, 0.4311569631, -0.2746886611, -0.2314834893, 0.1091898978, 0.6267668605, 0.2585529685, 0.54413414, 0.323825717, 0.516985476, 0.9555578232, -0.103384614, 1.1320966482, 0.010441334, 0.1461934, 1.2568974495, -0.3525754213, 0.5321992636, 0.3958755732, -0.288559556, 0.3517303765, 0.21373716, 0.2951417267, 0.4624316394, 0.1276767254, -0.2134448737, -0.1180489063, -0.2734079361, -0.2620117664, 0.3619026244, 0.2316587567, -0.5873150229, -0.3424290717, -0.1635228992, 0.2776471674, 0.0314907432, -0.3878497779, 0.9764069319, 0.20370619, -0.5688713789, 0.2195693851, -0.0543931872, 0.0866289809, -0.64431566, -0.0240757931, -0.1577204764, 0.2186216116, -0.6041748524, -0.6401145458, 0.4782868028, 0.1866805404, -0.2702344656, -0.4211735725, 0.6453151703, -0.5341184139, -0.4768067002, -0.1293252707, 0.20890598, -0.0109572392, 0.0409003347, -0.2246440053, 0.094600752, -0.1965036243, -0.1170339808, 0.4131097198, 0.5437434316, -0.3646296263, 0.6518999934, 0.5818968415, 0.4003654122, -0.762671411, 0.2717800438, 1.0209827423, -0.6859615445, -0.8795666695, -1.1160987616, 0.8661875129, -0.4648981988, -0.2912278175, 0.6907835603, 0.7024012208, 0.0936387703, 0.1146082208, 0.5476529598, 0.2077415437, 0.3796871006, -0.6069610715, 1.2552486658, -0.5512184501, 0.5175675154, -0.4797694981, -0.4206867218, -0.8532336354, 0.5363427997, -0.1742978394, -0.2083255798, 0.9142974615, 0.4292989671, 0.2513907254, -0.1434094161, 0.1111445948, 0.2610477209, 0.5372087359, 0.4342001081, 0.4642050564, -0.1981346458, 0.1473108977, -0.101107277, -0.5193897486, -0.2531032264, -1.2368708849, -1.0538799763, -0.2670054436, -0.5684775114, -0.4745415449, -0.0998797417, 0.9203116894, 0.3333699703, -0.8178951144, -0.0175563302, 0.2781708837, 0.3311454058, -0.1969262511, -0.162551403, 0.8411899209, -0.2471547127, -0.0988614559, 0.0630268529, 0.7491259575, -0.1407232136, 0.0258686505, -0.0918621048, 0.1840231717, -0.2364244312, 0.7510067821, -0.1099762842, -0.5118806362, -0.4359174371, -0.2504093349, -0.1844304353, 0.1257140189, 0.7831286192, -0.6813600063, 0.3580057621, 0.2814433873, 0.6135444641, 0.1252341866, 0.2776162326, 0.7145431638, -0.9453200102, 0.068147555, 0.3517186046, 0.3299150467, 0.2697965205, -0.5280241966, 0.5226129293, 0.0646454021, -0.3906395435, -1.1061962843, 0.0497084633, -0.9468541145, 0.0496121608, 1.0676002502, -0.0093843378, -0.3782963753, -0.0084024724, -0.1689225137, 0.0603102259, -0.2347146124, 0.903219521, 0.578358233, -0.241355285, 0.0171790421, -0.0501212515, 0.6990743279, 0.4255053699, -0.9934469461, 0.0798082128, 0.6567361355, 0.1038502455, 0.1232258603, 0.7650768757, -0.2377353907, 0.5001448989, -0.5660189986, -0.101150617, -0.3417107165, -0.1340397298, -0.413878262, 0.2107090056, -0.2367768288, -0.0589524508 ]
http://arxiv.org/abs/2403.00998v1
http://arxiv.org/pdf/2403.00998v1
Predictions from language models for multiple-choice tasks are not robust under variation of scoring methods
2024-03-01T21:48:08
2024-03-01T21:48:08
Polina Tsvilodub, Hening Wang, Sharon Grosch, Michael Franke
cs.CL
cs.CL
This paper systematically compares different methods of deriving item-level predictions of language models for multiple-choice tasks. It compares scoring methods for answer options based on free generation of responses, various probability-based scores, a Likert-scale style rating method, and embedding similarity. In a case study on pragmatic language interpretation, we find that LLM predictions are not robust under variation of method choice, both within a single LLM and across different LLMs. As this variability entails pronounced researcher degrees of freedom in reporting results, knowledge of the variability is crucial to secure robustness of results and research integrity.
[ -0.1857457459, -0.7395894527, 0.4098881781, 0.089871943, -0.0943397507, 0.0938774273, -0.2584286034, -0.6757606268, 0.0802037492, 0.1986203343, -0.4987576306, -0.3341861069, -0.6356322765, 0.1281994581, -0.0613228716, 0.9090282321, -0.1304694563, 0.3372126222, -0.387557447, -0.0534517169, -0.3157151937, -0.3971231282, -0.3279358149, -0.2401335686, 0.5137688518, 0.3863851726, 0.829967618, 0.4877990186, 0.7819001675, 0.1948622018, 0.0046499353, 0.0628916249, -0.1737621576, 0.4469417632, -0.026386166, -0.850748539, -0.3330297172, 0.2539922893, 0.4308924973, 0.2692080736, -0.1878234148, 0.1066669822, 0.1588113457, 0.1338525116, -0.5790753365, 0.1819017082, -0.7199728489, -0.292755723, -0.1637393385, 0.0541110002, -0.3985902965, -0.2801204324, 0.2476278394, -0.208090663, 0.1133652255, 0.1437420249, 0.7996624708, 0.1170503274, -0.173056215, -0.4960818589, -0.6827751994, 1.2292183638, -0.8532297611, 0.0432271138, 0.755651176, 0.5054716468, 0.0607478619, -0.470202893, -0.2397277802, -0.5297543406, 0.2110836655, 0.1646285802, 0.2041024268, 0.0171042234, 0.0802092031, 0.4293288589, -0.4842088223, 0.2265440822, -0.1487720758, -0.1417239159, 0.7509459257, 0.1920218617, -0.0243518241, -0.4096308649, -0.4730739295, -0.1298930496, -0.5529729128, 0.3971891701, 0.5397284627, 0.6137881875, -0.0954789296, 0.7143819928, -0.1489825547, 0.8202386498, -0.1149557978, -0.6443198323, 0.3295525014, -0.2886733413, -0.3172344863, -0.6076239944, 0.7872610092, 0.4503352344, 0.0624268092, 0.0323124826, -0.2226901054, 0.0315068737, -0.0378867388, -0.2375714034, -0.0407293513, 0.1970811784, -0.5160498023, -0.3789319992, -0.0110294838, -0.9249612689, -0.3441778123, 0.0429217257, 0.2335027456, -0.3630212843, -0.2435395867, 0.0823974386, 0.0099723451, 0.2368852794, 0.4604273438, -0.6601889133, 0.0944396034, 0.4186848998, 0.5751873255, -0.4939306974, -0.5751255155, -0.2631984651, -0.3852517605, -0.3738929927, 0.8277643323, -0.6649419069, -0.6359528303, 0.0487984642, -0.2587476671, -0.098176308, -0.4620887935, 0.6885324121, -0.2642228305, 0.3840252459, -0.315384686, -0.4057534039, -0.11721652, 0.0873403996, -0.5238383412, 0.9028853774, 0.1969212592, -0.9864977598, 0.6383210421, -0.2135380805, -0.2229426652, -0.024247326, -0.4134784341, -0.3403356373, 0.2625447512, -0.1431513876, 0.3081930578, -0.1439516395, 0.339220047, -0.6752173901, -0.1259186119, 0.7272791266, -0.7045840621, 0.7644221783, 0.2803654075, -0.2164669484, 0.0532644354, -0.7662656307, 0.2177441418, 0.0453335941, -0.6295241117, -0.1869176179, 0.292853415, -0.0956165344, 0.4804724455, 0.3699005246, -0.5917935967, 0.0483756661, -0.343467921, -0.0014013726, 0.8313645124, -0.2886933088, 0.2617696524, -0.8281693459, 0.9098414183, -0.1061807871, -0.1355528533, 0.3257097006, -0.7757992744, -0.4768998623, -0.1282041818, 0.3772056103, 0.7252134681, -0.4873781502, 0.0014772275, -0.1436378211, -0.585544467, -0.6910125613, -0.0741324574, 0.4655170441, 0.2602766454, 0.167401433, -0.2065447569, -0.5283660889, -0.8814641237, -0.7865368724, -0.3849908412, -0.0836022571, 0.3970009685, 0.4271045625, 0.2306897938, 0.8072081208, -0.3092100024, 0.1095287129, -0.441644609, 0.2647892237, 0.1136295944, 0.2897359431, 0.5384577513, -0.6742097139, -0.4930588305, -0.297760576, -0.4364553988, 0.1003082991, 0.1893442422, 0.4084481299, 0.170862034, 0.1236597523, -0.515651226, 0.4598209262, 0.706831336, -0.2957199216, 0.8929978013, 0.1016716436, 0.1502497196, -1.0668456554, -0.3172146082, 0.1039000526, -0.1554335505, -0.6978572607, 0.1716972142, -0.0340338238, 0.1987868249, -0.5040620565, 0.4363131225, -0.1530910134, -0.0240038261, -0.2939076424, -0.0696469769, -0.0877813026, 0.2076378912, 0.034166012, 0.8208333254, 0.5913984179, -0.4122484922, 0.1207026243, 0.0021828956, -0.4923756421, 0.3309700489, -0.3059522808, 0.1373586357, -0.1249449104, -0.1960451603, -1.2078216076, -0.3515619338, 0.0633193552, -0.6846876144, 0.4937635362, 0.2534412742, -0.3767172694, -0.2650621533, -0.609102428, 0.1043562517, 0.3651421964, -0.0792385414, 0.4804457128, 0.1696854979, -0.2619192302, -0.9460710287, -1.2456005812, -0.4195581377, -0.5587047338, -0.3260654807, 0.0850736797, -0.4974090159, -0.7585622072, -0.2120807618, -0.4148564339, 0.0208992716, 0.4177617431, 0.2344893813, 0.4362668395, -0.1207552031, 0.0341448672, -0.1745252758, -0.0229604859, -0.0119592957, 0.2075390518, 0.1728409827, -0.0904345959, -0.5959361196, 0.0789625198, 0.547308743, 0.4212900102, 0.0219437331, 0.674089551, 0.1509861052, -0.2898937464, -0.138776049, -0.471811235, 0.0140734473, -0.4346790314, 0.2326768488, -0.568878293, -1.0382614136, 0.4427441359, 0.3748477399, 0.3222001493, 0.5851397514, 0.753937602, -0.2438286394, 1.0336425304, 0.4347093105, 0.268127799, 0.4898673892, 0.2785459757, 0.1717530042, -0.5132903457, 0.0370039046, -0.9108144641, -0.1510873437, -1.0075862408, -0.4435088634, 0.0138125736, 0.1144087017, -0.0564189926, 0.1426701695, -0.2963706851, 0.2857930362, 0.6985330582, -0.2167573273, 0.2955593765, 0.1864245683, -0.2387944907, -0.2761602998, -0.5592923164, -0.5655992627, 1.5329493284, 0.2699992657, 0.9750025272, 0.1188892499, 0.8121204376, -0.024823267, 0.3633188605, -0.7160156369, 0.5137078166, -0.1821765006, -0.7638739347, -0.4676680863, -0.3896095157, -0.767865181, 0.5311088562, -0.0958018675, -1.0840591192, 0.1945032775, -0.3488659561, -0.268142432, 0.2246063501, -0.5409474373, 0.2777934074, -0.1882365197, -0.1688788384, 0.1983649433, -0.6418176889, 0.1959370822, -0.0626070052, 0.547000885, -0.36401546, 0.0762570724, 0.8218511939, 0.2124845088, 0.9026236534, 0.0651637465, -0.0912957788, 0.4034744799, 0.4286871552, 0.2578222752, 0.1485708505, -0.6474843025, 0.056079261, -0.1567294598, -0.3682995439, -0.2302350849, 0.6711617112, -0.8552104831, -0.9611603022, -0.6035715938, -0.8002583385, -0.4993296266, 0.1398878098, 0.7282006741, 0.2199734598, -0.1401248872, 0.1495952755, 0.4117450714, 0.0099036498, 0.6500815749, 0.3674793243, -0.1089021787, -0.3348158896, 0.538862586, 0.3626357019, 0.4720241129, 0.438873142, 0.1498644054, -0.3754106164, -0.7010943294, -0.017255079, -0.0468597226, -0.9084618688, -0.261480093, -0.0692863166, -0.0641255006, -0.3663958907, -0.1060977429, -0.0910815895, -0.585606873, -0.508997798, -0.6152772307, 0.0914687961, 0.7108717561, -0.1789511144, 0.0259048063, -0.2958842218, 0.020693427, 0.2457505018, 0.4144287705, -0.2774918079, -0.585913837, -0.2511609495, 0.0806269795, -0.4497876465, -1.0477371216, 0.3994362354, 0.1705967337, 0.8195744157, 0.2845428884, -0.0878864974, 0.28688398, -0.0767161921, 1.1544684172, 0.2432920486, -0.6799226999, 0.5620240569, -0.3039970696, 0.1391324997, 0.5190314054, 0.4155079126, -0.0239552222, -0.589256227, -0.779019773, -0.5818176866, 0.6957064271, -0.1210491061, 0.0076109869, -0.0892134681, -0.0080820257, 0.6752700806, 0.3535269499, -1.1028465033, -0.4881329834, -0.1751061827, -0.0859177411, -0.4151605666, -0.4320906103, -0.1565680653, 0.0370432995, 0.4299823046, -0.0706365928, 0.3778659701, 0.2322997749, 0.1197747886, -0.2628175914, 0.5529728532, 0.6333602667, 0.9789738059, -0.2257840931, 0.2181999534, 0.3009446263, -0.2270540744, 0.084404327, -0.0044328729, -0.0520762093, 0.1683391631, 0.5605459213, 0.8854923844, -0.0087701976, -0.6223733425, 0.2827090025, -0.0349831581, -0.4652760327, -0.0066752033, 0.0878694132, 0.0798325613, 0.1118441075, 0.1903437078, 0.1194006801, 0.0431977771, -0.3866077065, 0.0338720642, 0.3900419772, -0.2892476022, -0.2521198392, 0.4783683121, -0.3155415356, -0.5987946391, 0.3083713651, -0.2300368994, -0.0150608886, 0.6268273592, 0.6275007129, 0.7936679125, -0.7165879607, 0.2865374982, -0.0036460396, 0.1613000333, -0.1739819199, 0.7697073817, 0.3732841611, -0.7657626271, -0.4925667644, -0.6747921109, -0.4575501978, 0.3756518364, -0.7052870989, -0.0143409828, -0.2904922366, -0.4836563766, -0.2115893215, 0.0069513009, -0.6577432752, 0.2968879938, -0.0071890932, 0.9176626205, -0.8256049752, 0.7173103094, 0.8562479019, -0.3046203554, -1.0606513023, 0.1511985511, 0.058650326, -0.670437634, 0.3558172882, 0.0580489114, -0.0615466684, -0.4984688461, -0.4297794104, -0.9756480455, 0.9059435725, 0.3390665054, -0.4140331447, -0.2105494291, 0.225961253, 0.4517044723, -0.4926144779, 0.393992275, 0.3242864609, 0.3255878389, -0.1945910603, -1.1263136864, -0.1692659557, 0.0749950856, 0.0408359729, -0.0704286844, -0.4614190459, 1.2797567844, -0.1726207286, -0.0445867851, 0.115531221, 0.4796145856, 0.5164830685, 0.2959115505, 0.2111559957, 0.3675516546, 0.8076607585, -0.1131417602, 1.1376607418, -0.1823205352, 0.6591435075, 1.0444819927, -0.2774320543, 1.0435265303, 0.4854563773, -0.4754044712, 0.6651751399, 0.8007516265, -0.000409738, 0.623495996, 0.263368696, -0.0951069295, -0.3201577961, 0.1810958833, -0.219566524, 0.6748110056, 0.4190528691, -0.3391360343, -0.1937651038, -0.0760655776, -0.1371836066, -0.0375179015, -0.1943498552, 0.6293056011, 0.2440146059, -0.8444965482, 0.4560487866, 0.1188064069, 0.8475580812, -0.4205719829, 0.320429951, -0.0681178272, -0.0728846043, -0.164478004, -0.9760827422, 0.2260140181, -0.1700762063, -0.0974772498, -0.1818261892, 0.9967550635, -0.0416634642, -0.37471053, 0.3495394588, 1.03967309, -0.0284657571, 0.3536570966, -0.8432796001, -0.2473831773, 0.1976965815, -0.608854115, 0.7247314453, 0.1211635843, -0.0750427917, 0.8931110501, 0.4593533278, 0.1523037553, 0.1600244194, -0.1891603172, 0.3662044108, -0.3734616041, -0.3869609535, -0.9167568684, 0.450003475, 0.299639672, -0.3900678456, 0.7742016912, 0.2861412168, 0.7929288745, -0.1914274991, 1.002802372, 0.0228266232, 0.7782803178, -0.2436077297, 0.11282067, -0.4857019782, 0.3142487407, -0.1942343563, -0.6041396856, -0.2107007354, 0.5086494684, -0.6387637258, 0.3109861314, 0.8255375028, 0.6118135452, 0.1768781841, 0.0858412534, 0.4104442, 0.0639969558, 0.0214064866, 0.358084023, 0.9449773431, 0.1210908815, 0.566619873, -0.1146766916, -0.2444432229, -0.3314068913, -0.824249208, -0.6922553778, -0.5402895808, -0.1582285911, -0.4750338197, -0.0820339173, 0.6376973987, 0.5202149749, -0.8638496399, -0.4518725276, -0.1017192304, 0.2612983584, -0.486278832, -0.2814432085, 0.1812545508, -0.3034547865, -0.6094378829, 0.5617867112, 0.0955840573, 0.0823820159, -0.1834767014, 0.1130911335, -0.1198711544, 0.2606452107, 0.0412867926, 0.0534949824, -1.0437791348, -0.4334274828, 0.0644051209, -0.174077332, 0.3870458007, 0.5218334198, -0.4439574182, 0.2575655282, 0.7069596648, 0.2595937252, 0.1343173534, -0.0632336885, 0.5345820189, -0.7295651436, -0.1234867647, 0.4411844909, 0.4776861668, 0.2135166824, -0.2832634151, 0.1866591424, 0.0088546621, -0.7270098329, -0.8183376193, 0.818789959, -0.8194056153, -0.5345891118, 1.3047508001, -0.6026115417, 0.1016517207, -0.2632344067, 0.0558018461, 0.1336967796, -0.3667826653, 0.6768915653, 1.1424455643, -0.3225666583, -0.0975251049, -0.7638106942, 0.626553297, 0.4276130199, -0.4713464081, 0.045410946, 0.1529568434, 0.5400626063, 0.3748387694, 0.5452930331, 0.0338098407, 0.21312204, 0.16461505, -0.3398686349, 0.2255452424, -0.1791853756, -0.4961493015, 0.4830886722, 0.7313068509, -0.1012521461 ]
http://arxiv.org/abs/2403.00994v1
http://arxiv.org/pdf/2403.00994v1
Leveraging Prompt-Based Large Language Models: Predicting Pandemic Health Decisions and Outcomes Through Social Media Language
2024-03-01T21:29:32
2024-03-01T21:29:32
Xiaohan Ding, Buse Carik, Uma Sushmitha Gunturi, Valerie Reyna, Eugenia H. Rho
cs.HC
cs.HC, cs.AI, cs.CL, cs.SI
We introduce a multi-step reasoning framework using prompt-based LLMs to examine the relationship between social media language patterns and trends in national health outcomes. Grounded in fuzzy-trace theory, which emphasizes the importance of gists of causal coherence in effective health communication, we introduce Role-Based Incremental Coaching (RBIC), a prompt-based LLM framework, to identify gists at-scale. Using RBIC, we systematically extract gists from subreddit discussions opposing COVID-19 health measures (Study 1). We then track how these gists evolve across key events (Study 2) and assess their influence on online engagement (Study 3). Finally, we investigate how the volume of gists is associated with national health trends like vaccine uptake and hospitalizations (Study 4). Our work is the first to empirically link social media linguistic patterns to real-world public health trends, highlighting the potential of prompt-based LLMs in identifying critical online discussion patterns that can form the basis of public health communication strategies.
[ -0.1711231768, -1.2023143768, 0.8421404958, 0.3859294951, -0.2544156313, 0.1605307758, -0.2111507356, -0.3416607082, 0.6646620035, 0.1827532202, -0.7882515788, -0.6635228395, -0.7064424753, 0.2631645799, -0.3659272194, 0.9455993176, 0.2076707184, 0.3029465973, -0.1878446341, 0.3873730898, -0.3785177767, -0.3360953927, -1.0886861086, -0.2165693641, 0.9146559238, 0.8931767344, 0.5521988869, 0.3941348195, 0.5414412022, 0.1195646524, -0.1566998065, -0.0699585006, -0.3914716542, 0.232300967, -0.2048468739, -0.223745808, -0.1968718767, 0.1111506522, 0.1620948911, 0.4865531027, -0.2584102154, 0.3169108629, 0.132800743, 0.3317600787, -0.238602981, 0.2344408035, -0.3283153772, -0.1200382411, 0.0565937646, -0.4289103746, -0.16966708, -0.4311471283, 0.2320663035, -0.3015466332, 0.0815854967, -0.4143355787, 0.5517553687, 0.0010182979, -0.5159066916, -0.5155875683, -0.5444009304, 0.4286126494, -0.7480334044, 0.2668773532, 0.7542900443, 0.4172421396, -0.3591513336, -0.6318569779, -0.3230090141, -0.1383634061, 0.234292537, 0.0644081756, -0.1085026711, 0.0469594486, 0.0977236629, 0.02684463, -0.6388453245, -0.0515576713, -0.3177992702, -0.0760041773, 0.8086878657, 0.1638596356, 0.5202512145, -0.3562530875, -0.1387083232, 0.3695858419, -0.4059253037, 0.4899728298, -0.123554714, 0.4444226325, -0.5684063435, 0.2362446636, -0.1641099602, 0.3686939776, 0.2950342, -0.6563176513, -0.0944751799, -0.5576040149, -0.0278656743, 0.2412157804, 0.7084037662, 0.3775475919, 0.1031932011, 0.0746879727, 0.3359040022, 0.1297191828, 0.2205170095, -0.7746243477, -0.1904443055, 0.2530040443, -0.5473687649, -0.1394766569, 0.1281022578, -0.8606482744, -0.812297821, -0.2109680474, 0.12832883, -0.3795284331, -0.1677626967, 0.071397379, -0.144603461, 0.2828325927, 0.5966402888, -0.4377660155, 0.1281998158, 0.8827542663, 1.0746951103, 0.0676620752, 0.0975597501, -0.5634704232, -0.2001173794, -0.4779919088, 0.8377354741, -0.6043661833, -0.2882788181, 0.3822593689, -0.1128085405, -0.056303326, -0.2351607233, 0.5748448968, -0.2609080672, 0.1364329755, -0.5615587234, -0.305562675, -0.0640872791, 0.3227573931, -0.3851523995, 0.6632006168, -0.2224195153, -0.837738812, 0.4154578149, -0.4123638272, -0.8337495923, 0.123135604, -0.3008692563, -0.4040501416, -0.1444039047, 0.3640046418, 0.8604815006, -0.7544817924, 0.607899487, -0.6770557761, -0.1758028418, 0.1660281718, -0.2828988135, 0.6850401163, 0.2151733041, -0.3567616642, 0.2484989166, -0.5111546516, -0.2804263532, -0.0486878939, -0.1961878687, -0.3560250401, 0.3455910087, -0.4137090147, 0.3197952509, -0.0665677339, -0.0779199004, 0.0836193413, -0.1713853031, 0.6527327299, 0.3608136177, 0.7232230306, 0.2134705335, -0.5177872777, 0.7031741142, -0.0871447772, 0.64814502, -0.4304017425, -0.9255139232, -0.1848058552, -0.5799304247, -0.3343993127, 0.6361670494, -0.7058746815, 0.4090717733, -0.2429062426, -0.6784310341, -0.2805019915, -0.019841861, 0.0354270414, 0.5614180565, 0.3485680819, 0.002243395, -0.4632927179, -0.6031136513, -0.347089529, -0.376642704, 0.3420046866, 0.1959369332, 0.1863798946, -0.3174159527, 0.7034822106, -0.1468482465, 0.0336593278, -0.5416943431, 0.3783825934, 0.2476654351, 0.0098224254, 0.2546399534, -0.6209366322, -0.6298040748, -0.1223503202, -0.6880421638, -0.4012539983, -0.2636052072, 0.1474040449, -0.1982453465, 0.6997409463, -0.3975450695, 0.5270570517, 0.5477021337, -0.4356413484, 0.4048677981, 0.0993736312, 0.5706428289, -1.2975150347, -0.2438946962, 0.4911819696, -0.0964211375, -0.83748734, -0.3377864063, -0.0685965642, -0.2165188938, -0.3401131928, 0.4623661935, -0.2398062944, 0.2756757438, -0.1940138936, -0.1832059026, -0.1473233551, -0.1954837292, -0.2272173762, 0.7015365362, 0.6665964723, -0.6211118698, 0.2987308204, 0.0537494533, -0.4732892215, 0.609269619, -0.6583983898, -0.4091014564, -0.166493535, 0.4811589718, -1.0074197054, -0.5709070563, 0.452078104, -0.5591643453, -0.0806921571, 0.0196643248, -0.3942794204, -0.6458932757, -0.3798024952, 0.0038652148, 0.2981996834, -0.1908002943, 0.2613659203, 0.623993814, -0.6372125745, -0.2314145267, -0.6377606392, 0.2031228691, -0.3156523705, -0.7446754575, -0.1087003946, -0.0302715991, -0.5387618542, -0.2618927956, -0.0729824007, -0.1643587202, 0.3715897202, 0.3481644988, 0.0602864958, -0.1424916536, 0.2597125769, 0.03605932, 0.174249962, 0.2083507776, -0.0711370409, 0.615093112, 0.0432716906, -0.32697016, -0.6913356185, 0.7105680704, 0.6386063695, 0.1227034852, 0.6283337474, 0.4060639143, -0.2887366712, 0.1548957229, -0.5378356576, -0.3325846195, -0.3708486259, 0.0544868484, 0.1845299006, -0.8329448104, 0.606464386, -0.0557394177, -0.3135154843, 0.0929703116, 0.5657855272, -0.0506816916, 0.8935843706, 0.403747946, -0.1055115983, 0.6162696481, 0.0065138866, 0.1808452308, -0.200018242, -0.2976841629, -0.4655429423, 0.0087140528, -0.5303385258, -0.5336169004, 0.6407677531, 0.3256228268, -0.3439263701, 0.1488471478, -0.2328514457, 0.0763407052, 0.4547379017, 0.3123520613, 0.0227271579, -0.2037319541, -0.1068708301, 0.0498206876, -0.8964425325, -0.420488894, 0.4608199, 0.2119241804, 0.9229226112, 0.0672899187, 0.6075576544, 0.6286796331, 0.2017824799, -0.8568056226, 0.4532631934, 0.1877756864, -0.3801603913, -0.1914027929, -0.3460382223, -1.052339077, -0.1904785931, -0.2820704877, -0.7162483335, 0.1123478636, 0.0787218884, -0.5804125667, -0.0992768705, -0.6237286329, 0.6053655744, -0.2690913677, -0.4084922373, -0.3544121683, -0.8724920154, 0.1753670275, 0.0684937611, 0.6363525391, -0.3624366522, 0.1620389372, 0.4603711665, -0.3234145343, 1.1346398592, 0.1974472702, -0.1271854192, 0.5028269887, -0.2720297873, 0.4120742083, 0.6033686996, -0.1382886469, 0.2568723857, -0.030891221, -0.4340868294, -0.3323676884, 0.8284347057, -0.6629937291, -0.9231973886, -0.5825157762, -0.0197990984, -0.24736844, 0.0569344088, 0.0459987223, 0.4757735729, -0.4507330358, -0.0516811199, 0.6275771856, -0.4424388111, 0.4936367571, 0.4871345162, -0.0175646562, -0.5908170938, 0.5447016954, 0.1265953183, 0.1270386577, 0.4440788925, 0.7642073035, -0.0502477996, -0.2042159736, -0.1162892953, 0.3186662495, -0.6421610713, -0.3257082701, -0.6213807464, -0.2271181047, -0.9371052384, -0.4245293736, 0.1713770628, 0.1451860219, -0.5515754223, -0.1562633812, 0.7051010728, 0.9147416353, -0.4769394696, 0.2314536422, -0.9630484581, 0.2075705677, 0.3024012148, 0.2154341191, 0.039117869, -0.2737772167, -0.4026781619, 0.2332197875, -0.0305540748, -1.3940997124, 0.3530739248, 0.025823338, 0.6648765802, 0.7023411393, 0.0968217924, 0.7405579686, -0.5450100303, 1.0686937571, 0.4361333549, -0.7806558609, 0.7850785851, -0.6618607044, 0.3686214983, 0.5452542901, 0.7132379413, -1.1187295914, -0.3375165164, -0.5408015251, -0.8133546114, 0.4977422357, -0.4505479634, -0.0402994789, -0.5989417434, 0.1253881752, 0.1849923581, -0.0258621853, -0.1458458304, -0.1896698177, -0.1566252261, -0.1163463071, -0.0440989509, -0.4911490679, -0.0594959855, -0.3951352835, 0.5913128257, -0.0898733139, 0.1811158061, 0.4194217026, 0.1622778326, -0.2188093513, 0.447897613, 0.7635350823, 0.6886576414, 0.0680951178, 0.3077940643, -0.1535887122, -0.3943789899, 0.1277165264, 0.0535996407, -0.0718994141, 0.0643518046, 0.5457744002, 0.6754385829, 0.3836333156, -0.5388328433, 0.6305837035, 0.051013004, 0.0499382652, -0.2833367288, -0.0057258415, 0.319249481, 0.388426125, 0.441587925, -0.1965911686, 0.1670577675, -0.6106179357, 0.573048234, 0.4535262585, -0.4235816598, -0.5832127929, 0.4376583397, 0.3251484036, -0.4123733044, -0.0325608402, 0.1303485036, -0.1372803897, 0.5746976733, 0.2515021265, 0.7066183686, -0.444070816, 0.7576680779, 0.5073176026, 0.2236705422, -0.5128726363, 0.3924378753, 0.1080749631, -0.2945096195, -0.6424654722, -0.2884224057, -0.2928050458, 0.2265766859, -0.6852859855, 0.5803631544, -0.4923011065, -0.3538772762, 0.236169219, -0.1113448516, -0.5978041291, 0.0227482654, 0.4193793237, 0.9838536978, -1.0410963297, 0.638023138, 0.6358925104, -0.627210319, -0.9192473888, 0.5994873047, 0.2978649437, -0.7851985097, 0.2501633465, 0.3610619307, 0.0254666582, -0.2015235722, -0.8504208326, -1.0130449533, 1.0533419847, 0.3171763122, -0.3375397325, 0.1396094561, 0.2357692868, 0.4990758002, -0.3885154128, 0.2983707488, 0.1470810622, 0.4650181234, 0.2271198779, -1.0336230993, -0.0562349819, -0.1051447242, -0.0722483918, -0.1425991803, -0.5389489532, 0.6067636609, -0.4959208071, -0.5123471022, -0.2461927384, 0.5325332284, 0.019097073, 0.6804571152, 0.179448694, 0.2793252766, 0.852371335, 0.2640593946, 1.17019701, -0.3338024914, 0.1879737973, 0.9997313023, -0.2461959124, 0.671969533, 0.3390921354, 0.0769413039, 0.6284911036, 0.7797754407, 0.4670285285, 0.5709883571, 0.1033906713, -0.3755264878, -0.4798291028, -0.3455830216, -0.4160017967, 0.1892046481, 0.6612017155, -0.5344329476, -0.4374588728, 0.2462503761, 0.3186921775, 0.1604287028, -0.5057269335, 0.9708794355, 0.2452911288, -0.6174574494, 0.4276921451, -0.1301400959, 0.5908327103, -0.6144731045, -0.1589425355, -0.1456245482, -0.0780700445, -0.0188891683, -0.7244834304, 0.3934245706, -0.1140936017, -0.354676187, -0.2309143543, 0.8864302039, -0.6080246568, -0.4996813238, 0.397213757, 0.9040037394, 0.0002692948, -0.0338047445, -0.8154546618, 0.129486382, -0.3788997829, -0.1305394322, 0.3053724766, 0.5617957711, -0.2486084402, 0.6243390441, 0.6454874277, 0.194240272, -0.0534214824, 0.0106533868, 0.5371147394, -0.532486558, -0.6333708763, -1.0311532021, 0.1707440466, -0.2257173359, -0.0645541027, 0.8278357387, 0.1299292594, 0.4790491462, 0.1385342181, 1.1026732922, 0.0083874092, 0.6832590699, -0.1479165405, 0.7570957541, -0.3706148565, 0.0530942902, -0.0328739956, 0.018011475, -0.429068625, 0.5428173542, -0.6815891862, -0.3553648293, 0.5472747684, 0.6609658003, 0.4184719026, 0.1051043794, 0.2586782873, 0.2229105681, 0.4179596901, -0.0498078205, 0.7565584183, 0.0986161157, 0.3010336757, 0.0119478004, -0.3530631661, -0.4923501611, -0.8245835304, -0.9904913306, -0.5384904742, -0.3181485832, -0.6016369462, 0.4478919506, 1.4883055687, 0.2939526737, -0.7993983626, -0.071034871, -0.2270334512, 0.2713378966, -0.3958422244, -0.3154240251, 0.1614166796, -0.284416616, -0.1797054112, 0.3040372133, 0.4681412876, -0.1682823598, -0.1617216468, 0.1442284137, -0.5943405628, 0.3999101818, 0.8332254291, 0.3652332127, -0.8309777379, -0.2976330817, 0.2178870738, -0.5890785456, 0.0108776353, 0.9475111961, -0.5316695571, 0.2598624527, 0.6922034621, 0.5315440893, -0.2423327714, 0.0242658071, 0.5566954613, -0.355981797, -0.2369154245, 0.2321445942, 0.2784154713, 0.5399882197, -0.4077655077, 0.3515712619, 0.4488822222, -0.3455834389, -0.4193587601, 0.1952293515, -0.8859564662, -0.3482476473, 1.909697175, 0.0159337781, -0.2225348204, -0.4542602897, -0.1680636555, 0.4189085662, -0.8278167248, 0.9727607369, 0.665219605, -0.1521343291, -0.255751878, -0.4908643067, 0.5800508261, -0.0425342731, -0.9352160692, -0.0683712587, 0.4686416984, 0.205970183, -0.0940321609, 0.9511116147, 0.216970861, 0.1955430955, -0.2439780086, -0.1941576153, 0.1798123866, -0.3325168192, -0.2533432841, 0.0052196262, -0.175456509, 0.2207406163 ]
http://arxiv.org/abs/2403.00990v1
http://arxiv.org/pdf/2403.00990v1
Formulation Comparison for Timeline Construction using LLMs
2024-03-01T21:24:24
2024-03-01T21:24:24
Kimihiro Hasegawa, Nikhil Kandukuri, Susan Holm, Yukari Yamakawa, Teruko Mitamura
cs.CL
cs.CL
Constructing a timeline requires identifying the chronological order of events in an article. In prior timeline construction datasets, temporal orders are typically annotated by either event-to-time anchoring or event-to-event pairwise ordering, both of which suffer from missing temporal information. To mitigate the issue, we develop a new evaluation dataset, TimeSET, consisting of single-document timelines with document-level order annotation. TimeSET features saliency-based event selection and partial ordering, which enable a practical annotation workload. Aiming to build better automatic timeline construction systems, we propose a novel evaluation framework to compare multiple task formulations with TimeSET by prompting open LLMs, i.e., Llama 2 and Flan-T5. Considering that identifying temporal orders of events is a core subtask in timeline construction, we further benchmark open LLMs on existing event temporal ordering datasets to gain a robust understanding of their capabilities. Our experiments show that (1) NLI formulation with Flan-T5 demonstrates a strong performance among others, while (2) timeline construction and event temporal ordering are still challenging tasks for few-shot LLMs. Our code and data are available at https://github.com/kimihiroh/timeset.
[ -0.0972406492, -0.628790915, 0.5982359648, 0.6539088488, -0.2677928507, -0.0754908472, 0.0702692196, -0.5220009089, 0.1862405837, 0.2076312453, -0.8338827491, -0.5625682473, -0.4457866549, 0.0892035514, -0.2512612343, 0.8039172292, -0.3307320774, -0.2620091438, -0.1536920369, -0.2722264528, -0.1240963563, -0.2380948514, -0.6683946848, -0.4408074021, 0.593993187, -0.0490809418, 0.6423177123, 0.9139477015, 0.5532604456, 0.2253871709, -0.2199224532, 0.4199765325, -0.2743749619, -0.0672633424, 0.1040972471, -0.3236649334, -0.8312042356, 0.069269672, 0.6083715558, 0.6641280651, 0.0768601149, 0.5601679087, -0.212955609, 0.3874088228, -0.8440656662, 0.2827642858, -0.360024333, 0.7960584164, -0.6241503954, -0.4867669344, -0.2053681165, -0.3999260366, 0.1901204735, -0.8018624187, 0.1514625847, 0.1500941068, 0.7524360418, 0.3852260113, -0.3483238816, 0.0152184013, -0.6321494579, 0.7615876198, -0.6765218377, 0.4394631088, 0.0095599545, 0.4527570307, -0.2829459906, -0.9035345316, -0.3292073309, -0.0415783897, 0.1324349791, 0.4024226069, 0.0567106493, 0.0347186625, 0.5480960011, 0.3784222901, -0.6632630825, 0.3171572387, -0.2094516605, -0.1163812354, 0.3757875264, 0.3565496802, -0.085829787, -0.414270401, -0.7626812458, 0.0350375436, -0.7974864841, -0.148083955, 0.2620004714, 0.2006952316, -0.230003953, 0.8128801584, -0.2014069259, 0.4863851368, 0.0666975677, -0.3596138954, 0.3415600657, -0.4255109429, -0.5799389482, -0.103504248, 0.5873915553, 0.7198823094, 0.1152533144, -0.2504740953, -0.1749349535, 0.1847357452, 0.2038918287, -0.6551331878, 0.3066328466, 0.4102745652, -0.450689882, -0.2793446481, 0.0838924572, -0.5923621058, -0.3694917858, -0.3024342358, 0.2034906, -0.0463814065, 0.1701411307, -0.3260087073, -0.0884902254, 0.1952383667, 0.3650964499, -0.279070437, 0.0794940516, 0.7589017153, 0.9652745128, -0.2296461612, -0.3216072619, -0.8720780611, 0.3915036321, -0.5671720505, 0.6137263775, -0.3302546442, -0.350908637, 0.0855919719, -0.3336857259, 0.1465446055, -0.5046645999, 0.6414886713, -0.618563652, 0.2421739846, 0.0290382598, -0.5598395467, 0.2507899702, 0.1583341658, -0.760725975, 1.3035857677, 0.1740490645, -0.716103375, 0.7285500765, -0.7477167249, -0.4696545303, -0.1337702274, -0.2555474937, -0.4477855265, -0.0306295399, 0.4001354873, 0.4534272552, -0.1405871212, 0.1582136303, -0.3592917323, -0.3068662584, 0.0308639761, -0.1624105722, 0.5018529892, 0.3710910082, -0.4442438781, 0.1521858424, -0.59415555, 0.1415707767, 0.0270166323, -0.3103239834, 0.0925115198, 0.0635824502, -0.1453259587, 0.1882770956, 0.3276917636, -0.3411006927, 0.2084478289, -0.6741030812, 0.1586090922, 0.7674753666, 0.377295047, 0.3946366012, -0.3906340599, 0.4890033305, 0.128290534, 0.4965415001, -0.0859903842, -0.2206816822, -0.8435744047, 0.1308465898, 0.0697906017, 0.6946900487, -0.8271821141, 0.1083241925, -0.4860837758, -0.2911606431, -0.0870073512, 0.0553168468, 0.632150948, 0.3247598708, 0.261503011, -0.2062306553, -0.8869021535, -0.837515831, 0.00958768, -0.1579320431, -0.1493345201, -0.0311879404, 0.2589049935, 0.1354762316, 0.8460988998, -0.3701409996, -0.0937349126, 0.0932124406, 0.3990993798, 0.2791819572, 0.0704718903, 0.7078168392, -0.6084799767, -0.0255068131, -0.0905635729, -0.916229248, -0.1171007156, -0.1206505075, -0.1286725849, 0.3452377021, 0.2980602682, -0.2923546433, 0.7886126637, 0.1535293609, -0.2469322681, 0.4298115373, 0.0681964457, 0.2385220379, -0.9563646317, 0.1231668741, -0.2729354203, -0.2579372227, -0.5295431018, -0.0930845439, -0.0075337426, -0.1251883805, -0.7122830749, 0.8267228007, -0.4818760455, -0.4621723592, -0.0173063222, 0.4294270575, -0.0816247091, 0.5879144669, -0.1263895333, 0.630141139, -0.0044538616, -0.6953378916, -0.0720050856, 0.2674790323, -0.4472308159, 0.5123516321, -0.5932460427, 0.2421516925, -0.0126360897, 0.076794304, -0.6207349896, -0.1186694577, 0.3639577031, -0.1385225803, 0.080815345, -0.2522975802, -0.7715844512, -0.5009843707, -0.6678073406, 0.2679476142, 0.2010400295, -0.5385741591, 0.5585399866, 0.0713170171, -0.1115972698, -0.8759109974, -0.7369741201, -0.0794594735, -0.2305516899, -0.6331517696, 0.5383365154, -0.1693582535, -0.4144089222, -0.0805369243, -0.6939780712, -0.0201462395, 0.1634568423, 0.4531120956, 0.2318941057, -0.2268280238, -0.1684947759, 0.1925683767, -0.1921395361, -0.2018957883, -0.2528470159, 0.0190770868, 0.2023894489, -0.4047988653, -0.2782506049, 0.2008902133, 0.4123234451, -0.1621871144, 0.3641208112, 0.6569259763, -0.5345411897, -0.2318027765, -0.7596412301, 0.331176579, -0.3704209626, 0.0564626455, -0.4244489968, -0.6941384077, 0.4187013209, 0.0795331001, 0.5778779984, 0.5024077296, 0.4904295802, -0.0318799987, 0.378092736, 0.247079134, -0.0604978763, 0.7385807037, -0.2746940553, -0.188318491, -0.6285848022, -0.0583552495, -0.1938512474, -0.3276959658, -0.1360913515, -0.4984587431, 0.594778955, 0.2113562375, -0.3232042193, 0.331710428, 0.0038864582, 0.4115748405, 0.3306877911, 0.072565034, 0.522354126, 0.1338051111, -0.128529653, 0.0101609575, -0.6418544054, -0.8107862473, 1.0387172699, 0.1003253832, 0.2068496197, 0.1284579486, 0.7592886686, 0.5714448094, 0.4671976268, -0.2892058194, 0.6072126031, -0.2003608942, -0.4682120085, -0.2163600028, -0.2910830677, -0.8960714936, 0.0491980091, -0.1107406095, -0.8357679248, 0.1714238971, -0.0914444774, -0.5193032026, 0.1741530299, -0.7047249675, 0.7794689536, -0.2671554983, -0.422624439, -0.0445130691, -0.796389997, 0.0048433049, 0.2221318483, 0.0877340138, -0.523971796, -0.272556752, 0.7831929922, -0.6903741956, 0.8485668898, -0.0725970566, 0.075192973, 0.4139727354, 0.15588139, 0.4885926843, 0.2469766289, -0.4373005033, 0.14412269, -0.0109604169, -0.1431419551, -0.8219340444, 0.6044200659, -0.5001656413, -0.1895885468, -0.2623900175, -0.5413137674, 0.009138261, 0.1914737374, 0.1594313979, 0.8921480179, -0.3655081391, -0.4713743925, 0.0661799461, 0.2658400834, 0.8280331492, 0.2722837627, -0.1505774409, -0.5165631771, 0.4422832727, 0.1797754019, 0.0871929601, 0.7667332292, -0.2019102126, -0.2262432575, -0.6272698641, -0.3938690126, 0.209070757, -0.8058626652, -0.3269587457, -0.2638907731, -0.0292030983, -0.2781863511, -0.3209086955, -0.3229128122, -0.728767395, -0.2783742249, -0.1188783348, 0.1463413537, 0.8649403453, 0.1528460085, 0.1177096665, -0.4808080494, 0.3323097229, -0.1543011218, 0.4660364389, -0.002825218, -0.09767396, -0.0398998857, -0.277785778, -0.5671095848, -0.6127714515, 0.0101191523, 0.0171862952, 0.7076207399, 0.3697706461, -0.0257584378, 1.0217162371, -0.6144854426, 0.6363573074, -0.0767268687, -0.8765667081, 0.793481648, -0.3250940144, 0.3321481943, 0.3855624199, 0.1930411458, -0.3358473182, -0.3010526299, -0.7760379314, -0.9235761166, 0.7356573343, 0.7275835276, -0.7792380452, -0.0404700972, 0.6928902864, 0.0159752071, 0.4226630032, -0.6267282963, -0.4205060303, -0.0413568579, -0.0753662139, -0.0121080214, -0.4419417381, -0.2538037002, 0.4839726686, 0.3031278849, 0.08148399, 0.512678206, 0.3259202838, -0.229626298, -0.1556636989, 0.480843246, 0.544999361, 1.0379542112, -0.4124161899, -0.0482973717, 0.4716285765, -0.092494145, -0.1422887743, 0.3718493581, -0.1344375759, -0.0628262311, 1.0064007044, 0.8543307781, 0.6504104733, -0.2844054997, 0.3684166968, 0.297091186, 0.0519921035, -0.2764580846, -0.1303996295, -0.2415764183, 0.6716681719, 0.4335311353, -0.36560148, 0.0505184419, -0.2573343515, 0.1242986917, -0.0442599766, -0.014193546, -0.2463117093, 0.7382062078, 0.131445542, -0.3667443991, 0.4548037648, -0.2977688909, -0.1799278259, 0.6622415185, 0.2211408764, 0.8006148338, 0.001130856, -0.0943061337, 0.2356199324, 0.3472560048, 0.0215133149, 0.4675360024, 0.0174596962, -0.1770243198, -0.5365864635, -0.6205549836, -0.4464624822, -0.0522794686, -0.5007098317, 0.2763128579, -0.6264928579, -0.3445567191, -0.0539922602, 0.2828027904, -0.9044107199, -0.0189144518, 0.026315473, 0.9899764061, -0.7050606608, 0.2673921883, 0.7428852916, -0.4070234299, -0.3717601299, 0.1153885126, 0.4044021964, -0.4653341472, 0.5982558131, 0.1177272275, -0.0602533668, -0.3180195987, -0.0633647516, -0.7716709971, 1.6622313261, 0.3435301185, -0.3953684866, -0.3559564948, -0.0464710519, 0.5665451884, -0.4746165276, 0.3371568918, 0.2606878281, 0.5754823685, 0.1333376318, -1.0991219282, 0.052587945, -0.1582964212, 0.213454321, 0.3732601702, -0.4615823925, 0.4176762104, -0.2645002902, -0.7008274794, 0.5291250944, 0.9980736971, 0.1739841253, 0.8363272548, 0.4735177755, 0.4529716074, 0.6049306393, -0.2919907272, 1.2388573885, -0.0325217918, 0.1903438866, 1.3398213387, -0.3739541173, 0.658089757, 0.3909473419, -0.5189934969, 0.1823872179, 0.874350667, 0.0837014839, 0.4445668757, -0.0511576943, -0.0425884835, -0.1078932881, -0.0892361403, -0.3881408572, -0.0219861995, 0.1174188033, 0.0525950007, -0.5794968009, -0.2087496966, -0.0196702387, -0.2233754247, -0.2625406682, 0.4681255817, 0.1479236782, -0.4064870477, 0.1875856519, -0.0321615376, 0.3097860515, -0.6831566691, 0.0453038998, -0.3845418692, -0.0454217233, -0.2468176186, -0.6188803911, 0.3893416226, -0.0747322068, -0.1934552044, -0.118680276, 0.3027651906, -0.2499504834, -0.3933693767, 0.1492155641, 0.4766812921, 0.0236287564, 0.3998863399, -0.5937788486, 0.2260317653, -0.4402990043, -0.3294048905, -0.1098641232, 0.355586648, -0.4025853872, 0.5134313703, 0.2477640361, -0.1788752973, 0.0689659491, 0.4226435125, 0.5504459739, -0.5313571095, -0.428737849, -0.7050542831, 0.4700146317, -0.0811907053, -0.4487683475, 0.7379410267, 0.7599443793, 0.7235931754, 0.0132935066, 0.3774005473, -0.0792390928, 0.4754653275, -0.8656549454, 0.1036669612, -0.6261519194, 0.4388912022, -0.5634716153, -0.9844747186, -0.5604519248, 0.186646387, -0.4402306676, 0.126026392, 0.8296722174, 0.6775588393, -0.09230268, 0.0609403551, -0.0981319621, 0.1837488115, 0.2136898041, 0.6715828776, 0.799796164, -0.3865543902, 0.5336695313, -0.3217630684, -0.055709295, -0.139801085, -1.4399180412, -1.0261546373, -0.5059494972, -0.3591226339, -0.2241345197, 0.5002550483, 1.1097617149, 0.5367489457, -0.4863987565, -0.2695024908, 0.3526304066, 0.1644626856, -0.3467442691, -0.1956176907, 0.5642431974, -0.1296354085, -0.7700789571, 0.8809642196, 0.5079165697, 0.2225088328, 0.0897122473, 0.2780597508, -0.2800015509, -0.2566128969, 0.7443746328, 0.2197950333, -0.7992975712, -0.3772621751, -0.1445402205, 0.1864894331, 0.2439406812, 0.9302935004, -0.5461470485, 0.3850996792, 0.2884591222, 0.464037329, 0.8265066147, -0.087442711, 0.5067030787, -1.2835357189, 0.2214417011, -0.0982497483, 0.3754400015, 0.1684993953, -0.3379573226, 1.1196266413, 0.1396131366, -0.1725553125, -0.7056347132, 0.2459204048, -1.3569706678, 0.1484504938, 0.7917269468, 0.0202224161, -0.0622835904, 0.0104172165, 0.2799563706, 0.3546441793, -0.2907825112, 0.4968798459, 0.5432401299, -0.3228717744, 0.3979748189, -0.5162963271, 0.2003967762, 0.1738539338, -0.7539850473, -0.249197036, 0.4910580814, 0.0626187474, 0.198211208, 0.7717465162, -0.1330314577, 0.4166180491, -0.2774534523, -0.1871641427, -0.5362355709, -0.5346494317, -0.1611717492, 0.3066123426, -0.0395600535, -0.08374504 ]
http://arxiv.org/abs/2403.00986v2
http://arxiv.org/pdf/2403.00986v2
Merging Text Transformer Models from Different Initializations
2024-03-01T21:16:29
2024-03-07T18:45:09
Neha Verma, Maha Elbayad
cs.CL
cs.CL, cs.AI, cs.LG
Recent work on one-shot permutation-based model merging has shown impressive low- or zero-barrier mode connectivity between models from completely different initializations. However, this line of work has not yet extended to the Transformer architecture, despite its dominant popularity in the language domain. Therefore, in this work, we investigate the extent to which separate Transformer minima learn similar features, and propose a model merging technique to investigate the relationship between these minima in the loss landscape. The specifics of the architecture, like its residual connections, multi-headed attention, and discrete, sequential input, require specific interventions in order to compute model permutations that remain within the same functional equivalence class. In merging these models with our method, we consistently find lower loss barriers between minima compared to model averaging for several models trained on a masked-language modeling task or fine-tuned on a language understanding benchmark. Our results show that the minima of these models are less sharp and isolated than previously understood, and provide a basis for future work on merging separately trained Transformer models.
[ -0.6231685877, -0.5055453181, 0.5821228027, -0.3098974824, 0.0048118704, -0.2066957206, -0.1229830235, -0.4310394824, -0.2046720684, 0.5812242031, -0.7964711189, -0.2399435937, -0.8192058206, -0.0466150418, -0.5273663402, 0.9670236707, -0.0290206578, -0.2222120315, -0.166736722, -0.3967401683, -0.5343962312, -0.3332817256, -0.4613066614, -0.691598773, 0.542350471, 0.3135296702, 0.6603803635, 0.642667532, 0.655685246, 0.3206180632, -0.2949739695, -0.1054336354, -0.5396891236, -0.2380091399, -0.0635449663, -0.4481668174, -0.2348961085, -0.0086826338, 0.7112206817, 0.9639243484, 0.1337952167, 0.2453992069, 0.4083987176, 0.3838983178, -0.5875056386, -0.1578994095, -0.6619321704, 0.3055329025, -0.1163126379, -0.0007001344, -0.6912320852, 0.1279584169, 0.3006281555, -0.1584139168, 0.4248582721, -0.2290190607, 0.985891819, 0.4126261175, -0.5576218963, 0.1091984659, -0.8351876736, 0.7206392288, -0.6137806773, 0.5797272325, -0.0336551107, 0.3892703652, 0.2896266282, -0.3342590928, -0.7250429988, 0.1483509094, -0.5735087395, -0.09056779, -0.6658788919, -0.0208501276, 0.04479504, 0.1320587844, -0.5719757676, 0.3747148812, -0.4769716859, -0.1378301978, 0.2683671117, 0.3622937799, 0.0813767239, -0.1530901343, -0.4112099707, -0.4013572931, -0.7970907092, 0.0406102389, 0.2993240356, 0.3996842504, -0.5702569485, 0.4535273612, 0.0671321079, 0.6837587357, 0.0480164699, -0.2366179377, 0.177201286, -0.5249465704, -0.4006343782, -0.2071177512, 0.8612902761, 0.0786480829, 0.0022723291, -0.2041906565, -0.1179844588, 0.0503502004, 0.2311864197, -0.5935419798, -0.3776561916, -0.2854294479, -0.8196188807, -0.4398569465, -0.2278413326, -0.3418290913, -0.338770777, -0.2491412461, 0.4567994475, -0.4150207043, -0.1508083045, 0.0629020929, 0.0285923257, 0.4191722572, 0.0318475664, -0.8945342302, 0.4301677644, 0.6340732574, 0.7874701023, -0.1579245925, -0.4135784805, -0.1637599915, -0.1282142848, -0.1071086898, 0.8004996777, -0.4059207141, -0.2670654655, -0.0420214832, -0.1313583702, -0.3861137331, -0.5263575315, 0.2675985098, -0.5168370605, 0.4275092483, 0.1219172105, -0.2955589592, -0.4543824196, 0.2223129123, -0.7891861796, 0.7448300719, 0.1026065797, -0.8811072707, 0.1637643874, -0.5500770807, -0.3640176952, -0.1907084882, -0.207363978, -0.5061728358, 0.284094274, 0.0419206843, 0.2230360508, -0.3887166977, -0.1966154873, 0.0172649715, -0.2635284364, 0.103989847, -0.5825574994, 0.9032052755, -0.0496149436, -0.0845524892, 0.2367845774, -0.769038558, -0.3652471006, 0.158230409, -0.1706919372, -0.5372974873, -0.0963534191, 0.1751721501, 0.2838935554, 0.1271671504, -0.2107737809, 0.253636986, -0.4768206477, 0.3023987412, 0.5925882459, 0.0227166712, 0.9032978415, -0.6282262206, 0.3545923829, 0.3777958453, 0.0189993363, -0.473082602, -0.5297335386, -1.1341634989, -0.2272929102, 0.3909837604, 0.5081887245, -0.5657691956, 0.4112452865, -0.500041008, -0.5558984876, -0.6202275753, 0.0264479537, 0.5524625778, 0.7733338475, 0.3579904735, -0.3258141875, -0.4674470127, -1.0733727217, -0.2798935473, -0.1165593714, -0.2400043607, 0.3120528162, 0.2411433756, -0.3804818094, 1.0808618069, -0.5384681225, -0.4513566494, -0.4289998412, 0.0520445108, 0.3296815157, 0.5065151453, 0.7940776348, -0.5456038117, -0.6460926533, 0.1429597586, -0.3890314996, 0.0806541741, -0.1174017116, -0.0046100346, -0.2034374028, 0.2821374536, -0.544909656, 0.3979176283, 0.6049514413, -0.0560150295, 0.15160954, -0.0082157832, 0.1504581571, -0.9783040285, -0.2417212874, 0.0585174225, -0.0655250028, -1.0740600824, -0.0933251008, -0.018855961, -0.0969250873, -0.6014131308, 0.5884452462, -0.3247128427, 0.1461125016, -0.3324901462, 0.2186305225, -0.1375525892, 0.5798015594, -0.2760714591, 0.5307775736, 0.5949351192, -0.6695572734, -0.1968601346, 0.5770872831, -0.0854610279, 0.1310769022, -0.3892707527, 0.3345633447, -0.3423320353, -0.0267466772, -1.2219780684, 0.0752498657, 0.3632269204, -0.2491409779, 0.1354814321, -0.2573169172, -0.1924284846, -0.1687301397, -0.2595157623, 0.6437014341, 0.7745091319, -0.4880546629, 0.8694279194, 0.2724731565, -0.0932746157, -0.2684353888, -0.8204939961, -0.1317742467, -0.2676165402, -0.855997622, 0.6568478346, -0.0049876468, 0.030949669, 0.1722618937, -0.055240836, -0.2234351337, 0.0193536468, 0.1973497868, 0.2872477174, -0.4639084041, 0.0191875976, 0.2693179548, -0.1808950603, -0.3401657939, -0.0708712935, 0.5837363601, 0.0955671817, -0.2791921198, -0.6135248542, 0.3658284545, 0.4800559878, -0.268489182, 1.1337717772, 0.2262495309, -0.5442486405, -0.0751831681, -0.6425038576, -0.3887282908, -0.4949168563, 0.2573157847, -0.8504921794, -1.0482108593, 0.7208891511, 0.033196833, 0.1022657752, 0.6678732634, 0.4878975153, -0.0785467103, 0.7455542684, 1.3860749006, -0.0826184005, 0.6304768324, -0.3152904212, 0.4499903619, -0.7472382188, -0.1353135258, -0.523453474, -0.5023027658, -0.6325602531, -0.3205046654, 0.2540388405, -0.065693453, -0.102355808, 0.6918497682, -0.4721803069, 0.5477510095, 0.2665804923, 0.0728061795, 0.5219600201, 0.2160551846, -0.129987061, -0.2182249725, -1.0738790035, -0.4896814823, 0.8641717434, 0.4164679348, 0.6860617995, 0.0626236424, 0.781502068, -0.0996272415, 0.6401329041, -0.7656068802, 0.4183204472, -0.4817000329, -0.2463601232, -0.2850189209, -0.551762104, -0.8967548609, 0.5332933664, -0.4406901002, -0.787627697, 0.2726570368, 0.2118753642, -0.5071282983, 0.1484042108, -0.6394822598, 1.0352885723, 0.2769151926, 0.2797050774, -0.1961925775, -0.619633019, 0.7533692122, -0.1484535187, 0.1304728985, 0.0852581039, 0.0962133929, 0.6993393302, -0.2945139408, 0.7086666822, 0.3704276085, -0.1404049098, 0.1654583812, 0.1589183509, 0.3508130908, -0.4456267357, 0.3383521736, 0.3469534218, -0.2661480606, -0.1136480421, -0.5149394274, 0.4126770496, -0.7055600882, -0.4796713591, -0.0287538506, -0.4656481743, -0.127290383, 0.2861956656, 0.4936642647, 0.4081940055, -0.1241455153, 0.1193788797, 0.7028118968, 0.0449921191, 0.5266444087, 0.6281250715, 0.0613408647, -0.2721337676, 0.5663584471, -0.1452686042, 0.1543140858, 0.6217826009, 0.1144821793, -0.0442561135, -0.4733844697, -0.0423696376, 0.3993838727, -0.7649697661, -0.288592279, -0.6949132681, -0.5887649655, -0.3610826433, -0.1236806959, -0.4218320549, -0.1812058687, -0.1765380055, 0.044926215, 0.0090125781, 0.6161348224, 0.2717188001, 0.9155977368, -1.1165175438, 0.2662119865, 0.1987717152, 0.2568736076, 0.2375851125, -0.9100208282, -0.3667351305, -0.1813979894, -0.3863942623, -1.1703294516, 0.2195940167, 0.19078587, 0.4368343353, 0.5011541843, -0.1865659207, 0.6907696724, -0.9026407003, 0.3648301065, 0.5470411777, -1.0596048832, 0.2483430505, -0.0745074153, 0.4791127741, 0.65243119, 0.3149659932, -0.664013803, -0.3788553774, -0.5403347611, -0.4835096896, 0.7843618989, 0.3076924086, 0.0710792392, 0.3694066107, 0.0674612224, 0.0894069597, -0.053533528, -0.8516697884, -0.5238569379, 0.18241629, -0.4705198109, -0.0397032946, -0.0832216293, -0.3543324769, -0.234808594, 0.2515169382, -0.0056651379, 0.2478493154, -0.214066714, -0.4545205832, 0.0393141694, 0.214217037, 0.5491349101, 0.2435622066, 0.2009923309, 0.3879638314, 0.4159153402, -0.3082795143, 0.4086712301, 0.0431451015, -0.3866325617, 0.0838493183, 0.5674911737, 1.0461760759, 0.4131130278, -0.432534188, 0.5896071792, -0.1071922407, -0.2376592159, 0.2828917503, 0.0339608788, 0.0182921495, 0.3289108574, 0.2398935705, 0.5388990045, 0.0937160254, -0.3496430218, 0.3373045325, 0.4180348814, -0.4293479323, -0.3661414981, 0.6084172726, 0.2060285211, -0.4414562285, 0.5887660384, -0.0933043584, -0.5355751514, 0.5482596755, 0.4465481937, 1.1677224636, -0.1497599036, 0.005699499, 0.153265506, 0.7327836752, 0.0271950718, -0.3906998038, -0.0430078618, -0.8702495694, -0.5472596288, -0.4548378587, -0.2284578234, 0.1543506086, -0.3186034858, 0.5199843645, -0.107841447, -0.1503411233, 0.1400232315, -0.4046400189, -0.8839651346, 0.001765208, 0.164397493, 0.8338239789, -1.2146334648, 0.7501326203, 0.6277614236, -0.3113017082, -0.807264626, 0.1097197533, -0.0853438228, -0.2388059944, 0.5271742344, 0.2390996516, -0.2057438493, -0.1116565689, -0.0006591816, -0.7705072165, 1.0169364214, 0.47275424, -0.5604163408, -0.2698640823, 0.2009125948, 0.3528402448, -0.6824734211, 0.2316335887, 0.6968758106, 0.1819390506, 0.0118863871, -0.9904593229, 0.0940961093, -0.0210812036, 0.1237790287, 0.3869771361, -0.573851347, 0.9833524823, 0.0797518715, -0.6901895404, 0.0292620007, 0.6083797812, -0.0982843265, 0.1428375393, 0.7688021064, 0.4951269925, 0.3767152429, -0.0174900759, 0.6248916388, -0.3881381452, 0.6942394972, 1.2264889479, -0.0203911979, 0.7972649336, 0.2249856144, -0.0915237814, 0.3923062682, 0.2916948795, 0.1344248652, 0.6957710385, -0.1642233878, -0.0781303644, -0.1774862409, 0.1713341326, -0.2219892889, 0.5186630487, -0.1461155117, -0.3639988005, -0.4539506435, 0.2186262459, -0.0905489996, -0.0099157849, 0.0126696089, 0.8805351257, -0.0418387726, -0.4616362751, 0.6121706367, 0.261623919, 0.8427335024, -0.483117789, 0.1773185283, -0.4134183526, 0.1242016479, -0.0688403621, -0.395509392, 0.5859882832, 0.0348424055, -0.5585291386, -0.4014605284, 0.7440119386, -0.7081162333, -0.3190469444, 0.2691047192, 0.4277021289, -0.1967642903, 0.1626693904, -0.3851132393, 0.2392435223, 0.0030166095, -0.0494468063, 0.3322391212, 0.004898035, 0.1906432509, 0.5252468586, 0.3397097588, -0.2931650579, 0.419033736, 0.0749665946, 0.9954115748, -0.5022010803, -0.5908344388, -0.9172070026, 0.6740862727, 0.034093041, -0.2225006968, 0.631569922, 0.5193684697, 0.8190079331, -0.3145754039, 0.5980612636, 0.2219730765, 0.2484987378, -0.3827033639, 0.965013504, -0.6120123267, 0.2333477587, -0.0177205168, -1.1700842381, -0.1598237604, 0.4923610091, -0.0155006088, -0.228879869, 0.8036206365, 0.8402104974, -0.3664229214, -0.4140593708, 0.4239718616, 0.1996361315, 0.2219801098, 0.7880750895, 0.5064925551, -0.7781609297, 0.7555910945, -0.2763285041, -0.2714018822, -0.1701580882, -0.7036613226, -0.9334071279, -0.6692345142, -0.4103688002, -0.1233772561, -0.1422814727, 0.4376497567, 0.5800939202, -0.6495613456, -0.1261350513, 0.0057884576, 0.3772378862, -0.2684223056, -0.1939018816, 0.1393964738, -0.2214870155, -0.7106075883, 0.370249331, 0.4605973065, 0.1872458309, -0.2420820594, -0.0360563323, -0.0850755423, 0.4980058074, 0.4694468677, 0.236880064, -0.6215453744, -0.3130892217, 0.036527317, -0.3261794746, 0.1885147691, 0.9697592854, -0.9084382057, 0.3185884953, 0.7983660102, 0.8221629858, 0.557760179, -0.2456739098, 0.2943049073, -0.85426265, 0.3916190565, 0.0174190197, 0.3058853447, 0.25197348, 0.0343652591, 0.2733627558, 0.1411462873, -0.0518684536, -0.9178822041, 0.5329963565, -0.9291675687, -0.0520521402, 0.6534002423, 0.1016643122, -0.0453349464, 0.2540238202, -0.0024970702, 0.315338105, 0.266498059, 0.6220824122, 0.6678142548, -0.1480558813, -0.5130054951, -0.0450211838, 0.4366194308, 0.3653330505, -0.7426900268, -0.1846583635, 0.015530902, 0.3291345835, 0.4803480208, 0.499248296, 0.1726034284, 0.1104454026, 0.2187130451, 0.0120097948, 0.1637744457, -0.5594547987, -0.6357808113, 0.2920027375, -0.1764653921, -0.2326435894 ]
http://arxiv.org/abs/2403.00982v1
http://arxiv.org/pdf/2403.00982v1
LocalRQA: From Generating Data to Locally Training, Testing, and Deploying Retrieval-Augmented QA Systems
2024-03-01T21:10:20
2024-03-01T21:10:20
Xiao Yu, Yunan Lu, Zhou Yu
cs.CL
cs.CL
Retrieval-augmented question-answering systems combine retrieval techniques with large language models to provide answers that are more accurate and informative. Many existing toolkits allow users to quickly build such systems using off-the-shelf models, but they fall short in supporting researchers and developers to customize the model training, testing, and deployment process. We propose LocalRQA, an open-source toolkit that features a wide selection of model training algorithms, evaluation methods, and deployment tools curated from the latest research. As a showcase, we build QA systems using online documentation obtained from Databricks and Faire's websites. We find 7B-models trained and deployed using LocalRQA reach a similar performance compared to using OpenAI's text-ada-002 and GPT-4-turbo.
[ -0.5748329759, -0.8389252424, 0.4834493995, -0.0116686951, 0.2786885202, 0.1229632348, 0.3767399788, -0.2850154638, 0.1924263984, 0.5033758283, -0.1792846769, -0.0759133697, 0.2381660044, 0.1255629361, -0.4207636118, 0.7027981281, -0.2923273444, 0.134350881, -0.4237931371, -0.164212659, -0.4792422354, -0.5967294574, -0.5220236182, -0.0152431512, 0.4814379811, 0.3875415027, 1.0907770395, 0.4368067682, 0.4254788458, 0.1224202737, -0.0576661341, -0.1973207742, -0.2800931334, 0.1229079664, -0.2608975768, -0.5305024981, -0.282897979, -0.0996700674, 0.5701755881, 0.4889068902, -0.4143221974, 0.6095380187, -0.62016505, 0.5342801213, -0.9320459366, -0.3412262499, -0.2626675069, -0.0658291653, -0.0790015161, 0.2481101155, -0.1514664292, -1.0476561785, -0.0424365513, -0.6582993865, 0.0948098153, -0.050240647, 0.6941127181, 0.1366265118, -0.6955090761, -0.1401963532, -0.6651241779, 0.666811049, -0.7950928807, 0.7796265483, 0.5185860991, 0.8166829348, -0.2185152918, -0.9317362309, -0.5839957595, -0.1865641475, 0.1767024994, -0.005828259, -0.0890659168, -0.2473320216, 0.1797613353, 0.7909011841, -0.7878403068, -0.2469222695, -0.5548167825, -0.1400946528, 0.3942755163, 0.1287258267, 0.2075478584, -0.2239203006, -0.1378173083, -0.0273354836, -0.985519886, 0.0859682336, 0.2377308756, 0.2196635008, 0.2206486166, 0.6171653271, -0.7649544477, 0.6647520661, 0.0815923288, 0.0689406469, 0.3185397983, -0.5035467148, -0.3331466019, -0.1993987262, 0.4580948055, -0.3390142918, -0.3556915522, -0.2287859619, -0.4482325017, 0.0247664806, 0.2707948983, -0.7632269263, -0.2626807392, 0.2082232684, -0.4057199061, -0.3010367453, -0.3035123944, -0.343867898, -0.3300287426, -0.288944602, 0.8546597958, -0.0718148723, -0.4432209432, 0.0138503201, -0.096308589, 0.3597760797, -0.0364639349, -0.3701598048, 0.2751910388, 0.2078191638, 0.7125571966, 0.0528958105, -0.0097305188, -0.7638305426, -0.2232999206, -0.5012572408, 0.6097329855, -0.4651333094, -0.2701128721, 0.1992235929, -0.0583791323, 0.2543433309, -0.7283964753, 0.3503107131, -1.0978441238, 0.3989225328, -0.4113875031, -0.3190019429, -0.0966901556, 0.2561156154, -0.6759914756, 1.4441542625, 0.4860650003, -0.690136373, 0.1542459428, -0.7264323235, -0.1966684461, 0.0685875192, 0.0179143958, 0.0522221588, -0.0202505589, 0.5110260248, 0.438439548, -0.3700236082, -0.0339756534, -0.0373707339, -0.5351873636, 0.0106669664, -0.0417369679, 0.9846588373, 0.7313963771, -0.0683997348, 0.0764492303, -0.707156837, 0.1470304877, 0.0971861258, -0.4245249927, -0.066746287, -0.2144107074, -0.1365026981, 0.1589143574, 0.4015251398, -0.6088127494, 0.1576242894, -0.5542503595, 0.3301791251, 0.1171441823, 0.1904911697, 0.6910524368, -0.4900964797, 0.9551193714, -0.1621080339, 0.490655303, -0.0984942243, -0.5803823471, -0.5143055916, -0.2142904699, 0.3932224512, 0.6701601744, -1.1938993931, -0.2702269554, -0.0832571462, -0.9085949659, -0.6899492145, 0.185226202, 0.2972126305, 0.3522207439, 0.2584387958, -0.4058228433, -0.3085571527, -0.7563354969, 0.0159071367, -0.1053715795, -0.1995057017, 0.0836758092, 0.336334765, -0.2397905886, 1.2715697289, -0.4260055721, 0.040940199, 0.0437792167, 0.0789659396, 0.0448385365, 0.2478577197, 0.4584387243, -0.8820601106, -0.1690503657, 0.0131098721, -0.5713146329, -0.0103382999, 0.3382017314, -0.0887393132, 0.062209148, 0.1523788571, -0.4972806871, 0.4847578406, 0.3977837265, -0.118652001, 0.7412112355, -0.0490497537, 0.4044371247, -1.1744554043, 0.2754200995, -0.3265319765, -0.3561211526, -0.533190608, 0.5258308649, 0.0384559631, -0.3638658226, -0.5649012923, 0.9183908105, -0.3986139894, -0.402957499, -0.0066574318, 0.221696049, 0.1177737489, 0.2201181501, -0.0810303167, 1.1592035294, 0.2845622301, -0.5947037339, 0.4971144199, 0.6804350019, -0.5568230152, 0.3806545436, -0.5312833786, 0.4400190115, -0.0070775393, -0.0491535552, -0.5070711374, -0.4625044167, 0.0592666678, -0.4345484078, -0.2082894892, -0.3094957173, -0.6693702936, -0.3111200929, -0.1491894275, 0.7924019694, 0.709913373, -0.7391884327, 0.6415328383, 0.5867512226, -0.307258755, -0.5538357496, -0.4286754727, -0.2799294591, 0.1402429342, -0.5849265456, -0.1290168613, 0.0348024964, -0.3686955273, -0.0857382044, 0.0433374159, -0.6235215068, 0.123657845, 0.2306259423, -0.0444324762, -0.4849650562, 0.2461841106, 0.0461314023, 0.3774396479, 0.0345241018, 0.1426858902, 0.1719262302, -0.3189708292, -0.3735979497, -0.1907191575, 0.3219323754, 0.2839758396, -0.7199605703, 0.4297889173, 0.3743561208, -0.4127840102, 0.0087485984, -0.6572244763, -0.1903156489, -0.5097613335, 0.1436620206, -0.3922814727, -0.8057980537, 0.6305854321, 0.0265185628, 0.1555970311, 0.1452132314, 0.461435765, 0.1484279633, 1.2513241768, 0.491286695, 0.2895323932, 0.4894150198, -0.0663665384, 0.2677002251, -0.610648036, -0.2050108016, -0.7221159339, 0.1172045916, -0.1050225794, -0.6398547888, 0.2659579217, 0.3284370005, -0.7678539157, 0.2344874144, -0.6261748672, 0.5180583, 0.8247171044, -0.0835296363, 0.2892507911, 0.0054404014, 0.0251840148, 0.2527318001, -0.8285951614, -0.4773412645, 0.9144618511, 0.3619302809, 0.7080484033, 0.1566171944, 0.5928657055, 0.2028797418, 0.5007799268, -0.4709346592, 0.3067914844, 0.4214195609, -0.9963190556, -0.1715190411, -0.6610310078, -0.7803777456, -0.3022182584, -0.0200426523, -0.5424460769, 0.4292087257, 0.0842383355, -0.4887183905, 0.2331477404, -0.8782476783, 0.9766359329, -0.0919218808, 0.1294649541, 0.0678359047, -0.4623723924, 0.3435179889, -0.2121013254, 0.2624538541, 0.0312401112, 0.212500006, 0.6423768997, -0.2923022211, 0.5299609303, -0.3992714584, -0.232571587, 0.6200901866, 0.5059388876, 0.4090062082, 0.0788285434, -0.1903827339, -0.0670595765, 0.8151269555, -0.7019931078, -0.7247160077, 0.6606403589, -0.6538684964, -0.2238713801, -0.3094840348, -0.4426322281, -0.513487637, 0.076816529, -0.0665247366, 0.7038921714, -0.1372993141, -0.0810720026, 0.6031380296, -0.3139944971, -0.1217303053, 0.2980186045, -0.8403134346, -0.5097963214, 0.967481792, -0.0020441674, 0.2817415893, 0.3613528907, -0.0614770018, -0.4040746093, -0.4356588721, -0.41788885, 0.0627110228, -0.9648020864, -0.4167481661, -0.0237069037, -0.1293741316, -0.4329393208, -0.1451919973, -0.3234223425, -0.7165879607, -0.0836151391, -0.044257693, 0.5317581296, 1.2707015276, 0.0377801582, 0.3798618019, -0.9385035038, 0.4028074741, 0.4698195755, 0.4568969607, -0.0307656657, -0.5372674465, -0.4784640968, 0.2429066449, -0.3328932524, -1.0656769276, 0.2283541858, -0.0049713468, 0.410433352, -0.0358744487, 0.1222846285, 0.2918891907, -0.2175859511, 0.9927532077, -0.1905989945, -0.7852380872, 0.6796451211, -0.4255002737, 0.4645524919, 0.625985384, 0.564786613, -0.4207992852, -0.2790855169, -0.2751692235, -0.637157321, 0.3876082301, 0.0961123556, 0.1733221114, -0.1977882832, 0.809101522, 0.110773176, 0.1412900984, -0.3861409426, -0.2167886347, -0.3573364019, -0.371787101, 0.4068619609, -0.144250527, -0.0287488289, -0.0437474772, 1.0614100695, -0.2757580876, 0.4171123803, 0.3393256664, -0.2334524989, 0.1285345852, 0.225716874, -0.0106286928, 0.9043653011, -0.2630616724, -0.1207919419, 0.2641276419, -0.3657898605, 0.2770908773, 0.0965456739, -0.4729667902, -0.1368768662, -0.3245764375, 0.5919667482, 0.0725791603, -0.9219585061, 0.4915460646, -0.2972375154, -0.0623299256, -0.1768058389, -0.0427792072, 0.0001478322, 0.3703421652, 0.4940654337, -0.2004336715, 0.3041484058, -0.5107911229, 0.215310052, 0.2135243565, -0.3844429851, -0.2606655359, 0.6806825399, 0.1362689286, -0.3533273339, 0.5858315825, -0.4302624166, -0.3245534599, 0.4145468175, 0.3364342749, 0.6116374731, -0.1419536918, 0.6733418703, 0.4215918183, 0.0369841345, -0.2590747476, 0.7482665777, -0.0554549843, -0.3844206929, -0.7455843091, -0.6253583431, -0.6558952332, -0.1407816559, -0.77951473, 0.004347431, -0.4680370688, -0.1585180163, -0.2124801427, 0.1277570724, -0.7266790271, 0.3652180731, -0.118066892, 1.2978218794, -0.4350855947, 0.5798905492, 0.9983857274, -0.7138656974, -1.1503325701, -0.327763021, -0.4808585942, -0.4412487149, 0.5854485035, -0.15263547, 0.0649401769, 0.1720020175, -0.4273457229, -1.1426291466, 1.179662466, 0.5201867223, -0.0749432072, -0.1389074922, -0.1178366244, 0.4518444836, -0.1403108984, 0.5320753455, 0.4248654842, 0.1414403021, -0.052528441, -1.2798287868, 0.097717993, -0.1326231658, -0.0952714011, 0.2749715447, -0.3641057014, 0.585319221, -0.1626206189, -0.2227048427, 0.4443981946, 0.6270315051, 0.0836925507, 0.0877182707, 0.0833512023, 0.5133988261, 0.9301007986, -0.0217641294, 1.1438590288, -0.0241158698, 0.1281638294, 1.0558558702, -0.2709357142, 1.3558936119, 0.2124581486, -0.0986967459, 0.5810794234, 0.6361498833, 0.2547960579, 0.3739518225, -0.0634581894, -0.3010065258, -0.2954539359, -0.1832381338, -0.3804948628, 0.201078251, -0.1769136488, 0.0572251827, -0.2277741134, 0.1666397005, -0.4260660112, 0.0233596284, -0.5088941455, 0.5528045297, -0.0782445669, -0.4972855449, 0.7312542796, -0.0009106284, 0.2997487783, -0.4241087437, 0.0539877228, -0.6085385084, -0.0533901006, -0.136621654, -0.5875627398, 0.2831238508, 0.0857940242, -0.1661656499, 0.1292897016, 0.5895087123, -0.1834738255, -0.3654184937, -0.1159169227, 0.8032612205, 0.3175409734, -0.278338939, -0.5661494136, -0.3827160299, -0.1511545479, -0.1764851362, 0.263040632, 0.2416297048, -0.3034824729, 0.9390391111, 0.6041896343, 0.0028842092, 0.4274481535, 0.0020616231, 0.6543136835, -0.6414650083, -0.2705057263, 0.1238430068, 0.3362230659, 0.2764825225, -0.309771508, 0.6156066656, 0.6739961505, 0.86520648, 0.0635903776, 0.5877167583, -0.185597524, 0.8629186153, -0.2869530022, 0.7417276502, -0.6019325256, 0.0229762718, 0.3096910119, -0.93322891, -0.2434540242, 0.4655435383, -0.3351263702, 0.1159250215, 0.3328495324, 1.0330919027, -0.1014272496, -0.0683161318, 0.2253852636, 0.0976263955, 0.1676264852, 0.3407872021, 1.139411211, -0.7890118361, 0.7008606195, -0.3147204816, 0.0209263414, 0.1092736349, -0.6173716784, -0.8837231398, -0.6112579703, -0.1693631411, -0.2333046943, 0.123061657, 0.8039858341, 0.749802053, -0.8706193566, -0.0242502894, 0.1260114163, 0.1370875537, -0.0826444328, -0.248153761, 0.2306073308, -0.3276685476, -0.3295089304, 0.6504698396, -0.2112587392, 0.0592344776, -0.4843322933, -0.3108620346, -0.2696371377, 0.1984684765, 0.2383030355, 0.7106745243, -0.3840037882, -0.111105755, 0.2856649458, -0.0984957889, 0.1303162724, 0.5065310001, -1.3861569166, 0.5088909864, 0.6258009076, 0.9248508811, 0.3579910696, -0.0056738397, 0.8327031136, -0.8376868963, -0.1861526817, 0.3917691708, 0.1516516209, 0.5949366689, -0.2164913267, 0.5301972628, -0.2883411646, -0.8867122531, -1.0827363729, 0.1827657223, -0.523519218, -0.0055726715, 1.0213327408, -0.0026212118, -0.2256489396, -0.3308369219, -0.3798493445, 0.1379389316, -0.1962350756, 0.5656370521, 0.2458782792, 0.1847133189, 0.0497382358, -0.7855120897, 0.7303165793, 0.301868856, -0.99118191, -0.1398453265, 0.6561251879, 0.4989680052, 0.3477801383, 0.746091485, -0.0430966839, 0.7559397221, -0.0321097262, 0.3009321094, -0.057974156, -0.083448261, -0.4304355979, 0.2257215977, 0.42446509, 0.0644663572 ]
http://arxiv.org/abs/2403.00964v1
http://arxiv.org/pdf/2403.00964v1
MALTO at SemEval-2024 Task 6: Leveraging Synthetic Data for LLM Hallucination Detection
2024-03-01T20:31:10
2024-03-01T20:31:10
Federico Borra, Claudio Savelli, Giacomo Rosso, Alkis Koudounas, Flavio Giobergia
cs.CL
cs.CL, cs.LG
In Natural Language Generation (NLG), contemporary Large Language Models (LLMs) face several challenges, such as generating fluent yet inaccurate outputs and reliance on fluency-centric metrics. This often leads to neural networks exhibiting "hallucinations". The SHROOM challenge focuses on automatically identifying these hallucinations in the generated text. To tackle these issues, we introduce two key components, a data augmentation pipeline incorporating LLM-assisted pseudo-labelling and sentence rephrasing, and a voting ensemble from three models pre-trained on Natural Language Inference (NLI) tasks and fine-tuned on diverse datasets.
[ -0.426872164, -0.8890003562, 0.7148154974, -0.0030331276, -0.406789124, -0.1619830728, -0.0684420913, -0.5835621357, 0.4429162741, 0.993761301, -0.9631625414, -0.5144990683, -0.5202919841, 0.7150403261, -0.3652880788, 0.7047880888, 0.1718278974, 0.1256929934, -0.2940919697, 0.0887688994, -0.7784901261, -0.7376823425, -0.356292814, -0.3091197014, 0.396548599, 0.3619965315, 0.5467193723, 0.5218757391, 0.2901466489, 0.3870374262, 0.2606692016, 0.623939395, -0.2779355645, 0.52178967, 0.0442184433, -0.3313647509, -0.2576037049, -0.1671245545, 0.161627546, 0.5561873317, -0.0895072147, -0.3557162583, 0.0707853138, 0.4407705665, -0.4561187625, 0.1170952395, -0.9666051865, 0.1975547522, -0.2912771404, -0.4433405399, -0.4270541966, -0.2288035899, -0.1405659914, -0.3881671131, 0.3260526359, 0.1653751284, 0.6375530958, 0.7477689981, -0.2763715684, -0.7028049827, -0.4081175327, 0.6770296097, -0.8619375229, 0.5223805308, 0.5142840147, 0.1876196563, -0.3264144063, -0.9735528827, -0.6352103353, -0.259455353, -0.2038006186, -0.0176081732, 0.0787201524, 0.1081289053, 0.2088661641, 0.337996006, -0.6071960926, -0.0171367228, -0.5219125152, -0.4449045658, 0.7373373508, 0.363953054, 0.2763320208, -0.4080692232, -0.0566157699, 0.0843821764, -0.2511666715, -0.721763432, 0.4561475217, 0.3524070382, 0.3716893792, 0.7251982093, -0.0788973197, 0.6498582363, -0.0944468528, 0.2410117239, 0.4230186343, -0.4245165288, -0.2904779613, 0.4331300259, 0.6279820204, 0.2296442389, 0.1317540556, -0.123260349, -0.4701293409, 0.2457448095, 0.6354608536, -0.574676156, -0.4496637881, 0.1706549227, -0.2213596702, -0.735517323, -0.0913977772, -0.9288487434, -0.8445555568, -0.5459756851, 0.8440583944, -0.4027753472, 0.1677132845, 0.0939315185, -0.2296964973, 0.2033600807, 0.1887730509, -0.7768090963, 0.1776471883, 0.5790439844, 0.6617198586, -0.3581343889, -0.2397615016, -0.5989365578, 0.0109579032, -0.3112757802, 0.8298155665, -0.5818254352, -0.3489364684, -0.1547933221, 0.3354285657, -0.0659293905, -0.7752310038, 0.7941921949, 0.066366829, 0.5928875804, -0.1895293444, -0.4872394502, -0.1086707488, 0.1820689738, -0.6436855793, 1.0475019217, 0.2801860273, -0.6865183115, 0.2619760633, -0.3269435763, -0.5008949637, 0.2371002585, -0.3726575673, -0.5339357853, 0.4768739343, 0.3565060496, 0.4197941422, -0.1232894138, 0.5832875967, -0.1851439327, -0.5417205095, 0.1232173592, -0.614377439, 0.4890851676, 0.198873058, -0.4487227499, 0.3771538138, -0.9860358834, -0.2353562862, 0.0579696819, -0.0198715199, -0.15058887, -0.0743429363, 0.0271505918, 0.0378203131, 0.1620807201, -0.2280284017, 0.0892303512, -0.5928422213, 0.3797226548, 0.8805436492, 0.3439676464, 0.1755821854, -0.438768059, 0.4459872544, -0.1524114013, 0.0307426061, -0.2400704473, -0.5792403817, -0.8007301092, -0.1883033216, 0.0340700895, 0.5237460136, -0.9140844941, 0.6863793731, -0.1375975907, -0.3439022601, -0.6290801764, 0.082172446, -0.1626759768, 0.4970094264, 0.4948999584, -0.0395318754, -1.0320012569, -1.0656783581, -0.1924792379, 0.0889294147, -0.15572083, 0.2571255863, 0.5401846766, -0.683105588, 0.482549727, -0.2949061394, -0.6121046543, -0.2433823496, 0.3080829084, 0.0780175552, 0.350050211, 0.0996387824, -0.583652854, -0.0246318486, -0.0578429997, -0.9951440096, -0.7050023675, -0.2469832152, 0.0398434252, 0.538618207, 0.8010038137, -0.3552521169, 0.4132860601, 0.4154908955, -0.0531936288, 0.4880001247, -0.093594566, 0.3425880671, -1.2502688169, -0.3190211654, -0.4030848145, -0.1559338272, -0.8378086686, -0.2119325548, -0.171203807, -0.0591530912, -0.2284094989, 0.3629443645, -0.3173247576, 0.120477736, -0.4675254822, 0.0822158754, -0.0692526475, 0.4770143032, 0.2132011801, 0.733340621, 0.1973535866, -0.4788437784, 0.3282615244, 0.0696901307, -0.1626045555, 0.2943029702, -0.3901751935, 0.3670327067, -0.0296658427, 0.0534633659, -1.027838707, -0.7142139077, 0.4407437742, -0.5425229669, 0.0415182412, 0.2120845467, -0.4815880358, -0.3901118636, -0.3850536048, 0.1741787046, 0.3598385751, -0.5059555173, 0.8873815536, 0.4199858904, 0.1865177602, -0.4078204036, -0.792630434, 0.4346231222, -0.377784729, -0.5730723739, 0.3965822458, 0.198303774, -0.2730223238, -0.2473903745, -0.2289543599, 0.1360963434, 0.0944817588, 0.417855978, 0.2115410268, -0.0744744912, 0.0460617281, 0.0598053858, -0.0840471163, 0.2795674205, -0.2637678683, 0.8538748026, 0.0673040748, -0.4064588249, -0.4400244057, 0.0819003135, 0.5608700514, 0.2155834287, 0.5577105284, 0.6700663567, -0.8608862758, -0.4252892435, -0.7189306617, -0.6380140781, -0.5167494416, 0.2995350361, -0.4030892253, -0.8150920868, 0.5243508816, 0.1299267262, -0.1491917521, 0.3937101662, 0.6726676226, -0.0155077344, 1.078848958, 0.13950333, 0.2106314451, 0.0341349915, -0.0682099313, 0.509516716, -0.5154514909, -0.3921258748, -0.4479431808, -0.2921968102, -0.6600514054, -0.6384157538, 0.2623339295, -0.1420009583, 0.3269974291, 0.5074368119, -0.7137150168, 0.3903157115, 0.4875080287, 0.0223309081, 0.3066368699, -0.0006131965, -0.0693526566, -0.3052616715, -0.4119783044, -0.599159658, 0.8762947321, 0.1307643205, 0.560159862, -0.2542919219, 0.9528998137, 0.5035052299, 0.0606294274, -0.7788595557, 0.696410656, 0.0105423974, -0.4213236868, -0.3324263692, -0.3274392784, -0.7325106859, 0.4121153355, -0.214241758, -0.6464980841, 0.2179545909, -0.2346330583, -0.0899634287, 0.1161925271, -0.5202509761, 0.6244128346, -0.2235437036, -0.308836937, -0.0579208098, -0.4041948915, 0.5916385055, -0.4147618711, 0.1959830672, 0.129391849, 0.1132830828, 0.6772729158, -0.4642573595, 0.761709094, -0.0795985386, -0.2739880681, 0.3380024135, 0.1255764514, 0.6105850339, 0.1187680662, -0.1323825717, 0.0311568025, -0.1150549874, 0.0217148419, -0.6289957762, 0.669067502, -0.3746162653, -0.748534441, -0.5189077854, -0.4969670177, -0.3852184117, -0.0504051, 0.5974754095, 0.2905781865, 0.0201231632, 0.3178644776, 0.4878352284, -0.2959868014, 0.2367379367, -0.0627814084, -0.2967957854, -0.6997287273, 0.996876359, 0.0330448076, -0.0989335105, -0.0081325816, 0.1099988148, -0.5820251107, -0.671135366, -0.2323201001, 0.1685144901, -0.625199914, -0.23496373, -0.9519605637, -0.6351308823, -0.6033974886, -0.2711732388, -0.1900617331, -0.410736084, -0.4778831601, -0.3110499382, 0.1039404348, 0.7497595549, -0.2186956853, 0.3403191864, -0.7669810653, 0.3976069093, 0.3366818428, -0.1240457147, -0.2445967197, -0.735542953, 0.047760807, -0.0041276184, -0.319612205, -1.0233002901, 0.8517444134, -0.0230290163, 0.5966754556, 0.3871587217, 0.0361878537, 0.8884447813, -0.2609994411, 0.7922462225, -0.0893201679, -0.8834322691, 0.8625789285, -0.2278187275, 0.0060196593, 0.763784945, 0.1794855595, -0.4613939524, -0.7304543853, -0.5722520351, -0.7602131367, 0.5622078776, 0.5426205993, 0.3054549992, -0.3040917814, 0.2906001508, 0.3671465516, 0.2747174203, -0.8485341072, 0.2121994346, -0.0419875272, -0.41866225, 0.1568317562, -0.2776788175, 0.1729146689, -0.2111236602, 0.7295635343, -0.0565000847, 0.033844538, 0.3515861332, -0.309730649, 0.0013467226, 0.1441158354, 0.7648541331, 0.4367645383, -0.2920714021, 0.275760293, 0.5754976273, -0.4685458243, 0.0270325374, -0.1340461373, 0.0393785089, 0.2307704091, 0.6956427097, 0.8379580379, 0.0890254602, -0.8042144179, 0.246509105, 0.0141763659, -0.6482120156, -0.3921100199, 0.2778238058, -0.1914174706, 0.2221201658, 0.4570490122, 0.0331033543, 0.3802365661, -0.5524564981, 0.7911021113, 0.2753736079, -0.6603222489, -0.3417417407, 0.755212903, -0.0822696909, -0.6304783225, 0.6740857363, -0.2893256843, -0.748619616, 0.4507780671, 0.5251374245, 0.9875165224, -0.3108337522, 0.0939700454, 0.3895072341, 0.4875757396, -0.0323053002, 0.3673011065, 0.0097966325, -0.7249554396, -0.1869921535, -0.6910063624, -0.0568125546, 0.7288906574, -0.4363352954, 0.7069686651, -0.1643311977, -0.0873236805, -0.1666755974, -0.0750788823, -0.2470879406, 0.1104098111, 0.3376999795, 0.3608425856, -1.0100437403, 0.7128760219, 0.2658846974, -0.1259881556, -0.4248447418, -0.0144619374, 0.1601658612, -0.6986231208, 0.3177719116, 0.5320590138, -0.1699721217, 0.0225792974, -0.5612562299, -0.2130138725, 0.9852046371, 0.0722689033, -0.6983031034, -0.2158777565, 0.3148159087, 0.6189432144, -0.3876365721, -0.0964755639, 0.772407949, 0.6861625314, 0.2921608686, -0.5806526542, -0.0273515545, -0.1336309761, -0.1707583666, 0.0953996852, 0.0641980767, 0.5015215874, -0.0439777263, -0.2571699023, -0.0351431444, 0.6696227193, 0.6187012792, 0.6335900426, 0.7241819501, 0.766620934, 0.9086460471, -0.1321683973, 0.6751006842, -0.2436551303, -0.1499079317, 1.3183661699, -0.4217064083, 0.522325635, 0.692468524, 0.1218740493, 0.0463992096, 0.830065012, -0.3365099132, 0.5144597888, 0.4266727269, -0.162374258, -0.3339956403, -0.2623603046, -0.3583184183, 0.5885503292, 0.5461028814, -0.4006973803, 0.001467315, 0.393214494, -0.3384562731, 0.1709069908, 0.0957997665, 0.8899003267, 0.1779907346, -0.6920278072, 0.4292297363, -0.0512395389, 0.7354525328, -0.1962491572, -0.259912461, -0.3834791481, -0.0623763278, -0.1506983042, -0.4637320042, 0.7072406411, -0.2192023396, 0.2908026278, -0.1219846681, 0.9438741803, -0.3647043407, -0.5879510641, 0.2957327664, 0.5101968646, 0.2697760165, -0.2982343435, -0.3211458027, 0.1951774508, 0.2133995742, -0.0329783447, -0.0380223356, 0.6806598902, -0.2776916623, 0.6018522978, 0.5749226809, 0.103269577, 0.2373971492, 0.5033503771, 0.6704583764, -0.5753022432, -0.2357527465, -1.0292470455, 0.2269084454, -0.1642133296, -0.0196039397, 0.5997906327, 0.6974701285, 0.6624470353, -0.2402110398, 0.5966724753, 0.1256551147, 0.1184426174, -0.6455245614, 0.6302815676, -0.7077710629, 0.4378032088, -0.161787644, -1.0463311672, -0.304492265, 0.8263897896, -0.078498058, -0.0921545178, 0.8655459285, 1.2066522837, 0.1229492798, 0.3779532611, 0.4785002768, 0.1517769545, 0.09151081, 0.4149721563, 1.2029601336, -0.5671899319, 0.3772738576, -0.3364483714, 0.3214191794, -0.226684913, -0.5884568691, -1.0180727243, -1.0922870636, -0.3491947353, -0.3943091631, 0.0523433499, 0.8860431314, 0.4787682295, -1.1104471684, -0.0393420719, -0.5022955537, 0.0634183809, 0.1628855467, -0.3057144284, 0.1532903016, -0.6082824469, -0.8305895925, 0.6168023944, 0.4382712543, 0.262563467, -0.2433242798, 0.055163458, -0.090836294, 0.3520650268, 0.5109111071, -0.5783695579, -0.8140403628, -0.3329668045, 0.1137861237, -0.0718532577, 0.0093823215, 0.7656750083, -0.7412538528, 0.3271330893, 0.7378194928, 0.7117235065, 0.3387918174, 0.0894747898, 0.5845864415, -0.6362274289, 0.0231249519, 0.5607334971, 0.2055105567, 0.212609455, -0.5410533547, 0.863687396, 0.4922925532, -0.4588536024, -1.3637987375, -0.1204432473, -0.7788561583, -0.4894349575, 0.8000075221, 0.6339557171, -0.311325103, -0.3666148186, -0.3867247999, 0.2914554179, 0.0420035049, 1.0940009356, 0.9924347997, -0.0552781597, -0.3518100083, -0.7764051557, 0.7876104712, 0.4322297573, -1.0211001635, 0.0428755209, 0.6538239717, -0.2408004105, 0.1419500262, 0.6116078496, -0.1564177126, -0.0230534282, -0.0444189534, -0.0874858797, -0.0604035109, -0.6117350459, -0.4500159323, 0.1766902655, -0.4131824374, -0.2022177577 ]
http://arxiv.org/abs/2403.00953v1
http://arxiv.org/pdf/2403.00953v1
AutoRD: An Automatic and End-to-End System for Rare Disease Knowledge Graph Construction Based on Ontologies-enhanced Large Language Models
2024-03-01T20:06:39
2024-03-01T20:06:39
Lang Cao, Jimeng Sun, Adam Cross
cs.CL
cs.CL, cs.AI
Objectives: Our objective is to create an end-to-end system called AutoRD, which automates extracting information from clinical text about rare diseases. We have conducted various tests to evaluate the performance of AutoRD and highlighted its strengths and limitations in this paper. Materials and Methods: Our system, AutoRD, is a software pipeline involving data preprocessing, entity extraction, relation extraction, entity calibration, and knowledge graph construction. We implement this using large language models and medical knowledge graphs developed from open-source medical ontologies. We quantitatively evaluate our system on entity extraction, relation extraction, and the performance of knowledge graph construction. Results: AutoRD achieves an overall F1 score of 47.3%, a 14.4% improvement compared to the base LLM. In detail, AutoRD achieves an overall entity extraction F1 score of 56.1% (rare_disease: 83.5%, disease: 35.8%, symptom_and_sign: 46.1%, anaphor: 67.5%) and an overall relation extraction F1 score of 38.6% (produces: 34.7%, increases_risk_of: 12.4%, is_a: 37.4%, is_acronym: 44.1%, is_synonym: 16.3%, anaphora: 57.5%). Our qualitative experiment also demonstrates that the performance in constructing the knowledge graph is commendable. Discussion: AutoRD demonstrates the potential of LLM applications in rare disease detection. This improvement is attributed to several design, including the integration of ontologies-enhanced LLMs. Conclusion: AutoRD is an automated end-to-end system for extracting rare disease information from text to build knowledge graphs. It uses ontologies-enhanced LLMs for a robust medical knowledge base. The superior performance of AutoRD is validated by experimental evaluations, demonstrating the potential of LLMs in healthcare.
[ -0.3028572202, -0.7950440645, 0.4115273654, -0.4371738732, -0.2888940573, 0.2210894972, 0.1237960905, -0.6075207591, 0.5512937307, 0.4799286127, -0.2242632359, -0.6896755099, -0.7191773653, 0.3459858, -0.4194891751, 0.9947527051, 0.0441077799, 0.1976669431, -0.0113047473, -0.1753489375, 0.0492529012, -0.4203579724, -0.4701866508, -0.2978016436, 0.2054193318, 0.6071182489, 0.9731043577, 0.8846670389, 0.7510630488, 0.2645706236, 0.042953115, 0.1765630394, -0.6856316924, 0.3745731413, -0.0218292698, 0.0374699794, -1.0610393286, -0.1654616892, 0.2735333741, 0.7787174582, -0.1242167279, -0.1071036384, 0.0081140529, 0.7251828313, -0.1525404602, 0.1377566755, -0.2702614069, 0.4181327224, -0.3557625115, -0.2448950857, 0.1041701958, -0.2396201491, 0.306311816, -0.7677205205, 0.0314567983, 0.2740772963, 0.7975067496, 0.4397457242, -0.4757124484, -0.5305930972, -0.5140929222, 0.3337374926, -0.641405046, 0.3076718152, 0.2056718171, 0.4863459766, -0.1866275817, -1.1356563568, -0.4725309014, -0.1361184865, -0.0970508531, 0.2487481833, -0.4154142439, 0.3026506305, 0.1867344081, 0.7633740902, -0.9189002514, 0.2854869962, -0.2956423163, -0.2632573545, 0.6227422357, 0.6235227585, 0.414277494, -0.4446714818, -0.4001647532, 0.2597842515, -0.6621317267, -0.5404643416, 0.0992088467, -0.0785999596, 0.047432702, 0.8083326221, -0.6083344221, 1.1193733215, 0.041928146, -0.0098503027, 0.5210857391, -0.4724915326, -0.2389078438, 0.026178617, 0.8885594606, 0.3868820965, 0.3046583533, -0.3304499686, -0.1431467086, -0.1349337399, -0.0638499483, -0.554072082, -0.6263877749, 0.2191586792, -0.831007421, -0.4429006279, -0.3675706685, -0.7855489254, -0.2379500568, 0.0805423409, 0.3666105568, -0.5504856706, -0.16109927, -0.0521055758, -0.1366157234, 0.0517966151, 0.4667239785, -0.4568750262, 0.4569145143, 0.132573083, 0.6845915318, -0.7221381664, -0.0334838852, -0.5216197968, 0.3359354734, -0.032902766, 1.0555477142, -0.4823932648, -0.5521655679, -0.4964883029, 0.0886535347, 0.0570651516, -0.4557839036, 0.1763891727, -0.485216558, 0.1564840078, -0.0445436537, -0.7825050354, 0.0649871901, 0.1255306005, -0.8426947594, 0.6899867058, 0.4343822598, -0.656408608, 0.3780688345, -0.5189344287, -0.5397045016, 0.4743797779, -0.4278825223, -0.0012562637, -0.2804574668, 0.1015968993, 0.3407366276, -0.652557373, 0.0270911232, -0.3391048014, 0.0957919881, -0.0374582894, -0.3152469397, 0.6505968571, 0.5771889687, -0.3314637244, -0.3631953299, -0.898858726, 0.2856147587, 0.2062601745, -0.2328542471, -0.3567750752, -0.287063241, -0.1701765507, 0.2809093893, 0.4019375145, -0.4774456918, 0.3246159852, -0.7408136725, 0.1423906386, 0.4229522645, 0.1333494782, 0.2784404755, -0.4505082965, 0.7382523417, -0.0715700164, 0.3230640888, 0.0529947765, -0.8048200011, -0.4562761188, -0.1972634047, 0.5374296308, 0.6731182337, -0.5323913097, 0.8750938177, -0.2998441458, -0.2108393013, -0.369309485, 0.1193664074, 0.4526925087, 0.8507492542, 0.3558322191, -0.8189581037, -0.3802017272, -0.5343239307, -0.0429274179, -0.1660525799, 0.3436674476, 0.525452435, 0.3627634346, -0.4033054709, 1.0029414892, -0.8707000017, -0.7403059602, -0.1925178766, -0.118783325, 0.0844039768, 0.3619033396, 0.4804522991, -0.4217745066, -0.7587314844, 0.2784313858, -1.0847870111, -0.301594466, 0.5869845748, 0.1918382049, 0.3394109905, 0.477317065, -0.532333076, 0.6277816892, 0.524699986, -0.4737101495, 0.463624239, -0.5415158868, 0.0954893157, -0.8003219962, 0.3327568471, -0.5180062652, -0.5326415896, -0.3795770705, -0.1985723376, -0.3204431832, -0.0087316344, -0.0016431654, 0.6480922699, -0.650005877, -0.0783362091, -0.2012886554, 0.2006931156, 0.1554669887, -0.0831027925, -0.1449917257, 0.2502048016, 0.5534749031, -0.4307589829, 0.6355093122, 0.2526576519, -0.2570258081, 0.5794605017, -0.7186684608, -0.1553785205, 0.2456210554, 0.2131482959, -1.1515489817, -0.2688471675, 0.2360213846, -0.7216920853, 0.5409193039, -0.0374187902, -0.6028262377, -0.6595677733, 0.2502351403, 0.1295377612, 0.467684269, -0.0489486866, 0.4587619603, 0.8714882731, -0.3490759432, -0.5133656859, -0.8190800548, 0.2396287173, 0.0696166456, -0.5847119689, 0.1524371505, -0.0875886604, -0.2827335, 0.5300982594, 0.0236599781, -0.4106391966, -0.0255645625, 0.0192058105, -0.048147615, -0.1384048164, 0.326877296, 0.1546494812, -0.3908865452, -0.198920995, -0.264763087, 0.497426033, -0.1178880706, -0.5777242184, -0.2345830202, 0.3012767136, 0.5167637467, -0.0322360434, 0.1467321664, 0.2171232551, -0.3379737139, -0.0338183753, -0.4802066684, -0.0718617439, -0.4228993356, 0.3261214793, -0.2233700007, -0.7040540576, 0.6892970204, -0.0940315425, -0.0936170667, 0.835257411, 0.5147101879, -0.1059157401, 0.8909741044, 0.5145078301, -0.0380416997, -0.2408592105, -0.2326277345, 0.0220029708, -0.5059944391, -0.2455086261, -0.301396966, -0.1161910295, -0.429056555, -0.5970992446, 0.5766375065, -0.0072486554, -0.017320374, 0.0019771096, -0.7971262932, 0.0646870956, 0.0200020466, 0.0864211917, 0.8151174784, 0.0326238312, -0.3217051923, -0.1102707013, -1.05245471, -0.3570871353, 1.7003536224, 0.2023742795, 0.939283669, 0.0157628879, 0.7908097506, 0.5671214461, 0.5088357329, -0.7005816102, 0.283434242, -0.4448926747, -0.7882162929, -0.5863522887, -0.4603621662, -1.1520340443, -0.0426130071, -0.0712089539, -0.4636397958, 0.2815959454, 0.2159470916, -0.5723884702, 0.1634586155, -0.4815224409, 0.6833688021, -0.5786812901, 0.0405401513, -0.094575718, -0.8822983503, 0.2692886293, -0.4177362025, 0.3205407262, 0.2062381208, -0.0819524229, 0.7773218155, -1.0118492842, 0.70356071, 0.02313786, -0.0738924071, 0.1198834032, -0.0354240388, 0.6387165189, 0.1473009735, -0.1766482592, 0.2495141923, -0.0523991138, -0.0130008198, -0.467491895, 0.8260357976, -0.751239419, -0.4198747575, -0.6342897415, -0.5320062637, -0.0811532363, 0.5851607919, 0.3454947174, 0.6059135199, -0.5982932448, -0.1996422708, 0.7478280067, -0.3189276159, 0.0548399389, 0.8544061184, -0.2106545419, -0.6376157999, 0.8725961447, 0.3871383965, 0.4559744596, 0.2760353088, 0.1284603477, -0.1233498529, -0.4491307437, -0.6711584926, 0.1102015674, -0.9979125261, -0.3067496419, -1.2820620537, -0.318726927, -0.7506766319, 0.080648534, -0.3651736975, -0.7988035083, -0.4658770263, 0.1226359755, 0.701875329, 0.995518446, -0.4513204992, 0.0123794852, -0.6511196494, 0.5122795701, 0.2116717398, 0.1602035016, -0.0936744362, -0.6608187556, -0.0775055587, -0.2197512835, -0.0611022301, -0.8820632696, 0.6764518619, 0.3478145003, 0.9206315279, 0.5329160094, 0.2516120672, 0.7448968887, -0.3172871768, 0.4637742937, 0.2080714554, -0.6236110926, 0.3618040383, -0.1744805276, 0.1989113986, 0.5718381405, 0.4589289725, -0.2240864336, -0.4057278335, -0.9630846977, -1.0081702471, 0.5534409285, 0.067130059, -0.5472438931, -0.0604806878, 0.2718577385, 0.1348320097, 0.1000871211, -0.4277672172, -0.8684693575, -0.0613747425, -0.1678720415, -0.0731392801, -0.2096401304, -0.4190962017, -0.3368970156, 0.2751683295, -0.1178145707, 0.2616530657, 0.5673688054, -0.4038796723, -0.400847584, -0.0681454465, 0.0035808219, 0.5724347234, -0.0754979029, 0.0307944119, 0.3042633832, -0.6181442738, -0.1035519764, 0.6194571853, 0.0410433486, 0.1588183939, 0.2980014086, 0.3011028767, 0.0861960575, -0.635971427, 0.7263547778, -0.0801656172, -0.0678948537, -0.3609725237, 0.0006871949, -0.0262198206, 0.0522207879, 0.4074676931, -0.1559174359, 0.3145006895, -0.2055311352, 0.7292554975, 0.5357281566, -0.5609611273, -0.1365532279, 0.6187770963, 0.2636580169, 0.0235601589, 0.4681423903, -0.3905046284, -0.2043180466, 0.8124709725, 0.4484982193, 0.4794220924, -0.2923153937, -0.0016309423, 0.0371868722, 0.4370152056, 0.1601816416, 0.503301084, 0.113981992, -0.3599627912, -0.3660470843, -0.6670891047, -0.2272550464, -0.0888442323, -0.4060280323, 0.3460728526, -0.0334170945, -0.1216340736, 0.012579428, 0.0160289761, -0.6002286077, 0.4890619218, -0.2067056149, 0.7943916917, -0.5434858799, 0.9894835353, 0.7568413615, -0.3908222318, -0.675496161, -0.1327096373, 0.0501638129, -0.9973164797, 1.0740714073, -0.3604178727, 0.1113381386, 0.5516543984, -0.1934817135, -1.3734567165, 1.2108803988, -0.0762171447, -0.6239495873, -0.1482666284, 0.1257131249, 0.7074567676, -0.4440277517, 0.5279994011, 0.3745610118, 0.5682203174, 0.0781897828, -1.3346834183, 0.1978983134, -0.1775950789, -0.5569124818, 0.1390464455, -0.5049609542, 0.718706131, -0.4263593554, -0.2015061975, 0.1861798465, 0.3191087544, -0.0075759492, 0.2685089111, 0.3545167744, 1.0478159189, 0.941324234, 0.0673471093, 1.0022280216, -0.7797071338, 0.3190253377, 0.7464764118, -0.4759429991, 0.1169900522, -0.0225751493, -0.0411484726, 0.4712997675, 0.3487445414, 0.1092247441, 0.5649337173, 0.2509454489, -0.001920187, -0.2850517035, 0.1236269996, -0.78689605, 0.4210177958, 0.7014165521, -0.66590029, -0.4814153612, 0.0343496688, -0.1031819209, -0.4184523225, 0.0783693865, 0.7556174994, 0.2133560777, -0.3609229624, 0.801961422, -0.3719400465, 0.1983953416, -0.6531586051, -0.0959818438, -0.0971227363, 0.155618012, -0.3692145944, -0.852445066, 0.3354044855, -0.11618983, -0.2203859985, 0.0675441921, 1.0305988789, -0.2155506611, -0.3163630664, 0.4206435382, 0.9596020579, 0.6260019541, 0.4319007993, -0.7681009173, -0.1079951003, -0.1128661186, -0.3662163615, 0.4235161543, 0.8476260304, -0.1217534989, 0.6678435802, 0.5939303041, 0.4868632257, -0.3479620516, -0.1400178373, 1.0575568676, -0.8069501519, -0.3884117305, -0.5328784585, 0.015147578, -0.1504665613, -0.5285255313, 0.7742376924, 0.7121311426, 0.4606918097, 0.3821637928, 1.1096024513, -0.441973418, 0.6574102044, -0.1826536059, 1.200596571, -0.719617486, 0.317168951, -0.4234071374, -0.4217631817, -0.5707381368, 0.4497353733, -0.1869297326, 0.0704368278, 0.9922178984, 0.6492022872, 0.0536546148, -0.1814357936, 0.462641567, 0.5084059834, 0.1572294831, 0.5964100957, 0.4255116582, -0.3402414024, 0.8478440046, -0.0076163425, -0.6216372252, -0.359075129, -0.7131205797, -0.4799151421, -0.2333670408, -0.2979070842, -0.6089913249, 0.5287060738, 0.5359834433, 0.4526313841, -0.6305849552, -0.1623387486, -0.1304887533, 0.0719330907, -0.0462198742, -0.2049998641, 0.542778492, -0.2337076962, -0.3626180291, 0.5093257427, 0.4974436164, -0.0705702677, -0.2751554251, -0.1796677709, -0.0709680542, -0.6082206964, 0.4513342977, 0.5717987418, -0.3910708427, 0.1238103583, 0.0758754387, -0.4296469986, 0.0966170356, 0.5167784691, -1.0000162125, 0.8249846697, 0.6006147861, 0.2490989268, 0.3935638368, -0.0679575205, 0.8173880577, 0.0672635511, -0.2499946505, 0.5522883534, 0.2708999217, 0.1029130593, -0.5196246505, 0.457349658, 0.6707843542, -0.8503571153, -0.7280836105, 0.1747473478, -0.8576260209, -0.3020807803, 1.4766905308, -0.1237395853, -0.1272279173, -1.019543767, 0.1606928259, 0.4521570802, -0.3025993407, 0.7231720686, 0.1176667139, -0.63671422, 0.3277491629, -0.5342102051, 0.6626292467, 0.3473903835, -0.8770942092, -0.1279270649, 0.5597929955, 0.513640821, -0.1106722429, 1.1970221996, -0.6245876551, 0.4184166193, -0.3719771504, 0.2491651922, -0.0200146921, 0.0199788362, -0.3382627368, 0.0365541577, -0.0181791689, 0.3232583702 ]
http://arxiv.org/abs/2403.00952v1
http://arxiv.org/pdf/2403.00952v1
MediSwift: Efficient Sparse Pre-trained Biomedical Language Models
2024-03-01T20:03:44
2024-03-01T20:03:44
Vithursan Thangarasa, Mahmoud Salem, Shreyas Saxena, Kevin Leong, Joel Hestness, Sean Lie
cs.CL
cs.CL, cs.LG
Large language models (LLMs) are typically trained on general source data for various domains, but a recent surge in domain-specific LLMs has shown their potential to outperform general-purpose models in domain-specific tasks (e.g., biomedicine). Although domain-specific pre-training enhances efficiency and leads to smaller models, the computational costs of training these LLMs remain high, posing budgeting challenges. We introduce MediSwift, a suite of biomedical LMs that leverage sparse pre-training on domain-specific biomedical text data. By inducing up to 75% weight sparsity during the pre-training phase, MediSwift achieves a 2-2.5x reduction in training FLOPs. Notably, all sparse pre-training was performed on the Cerebras CS-2 system, which is specifically designed to realize the acceleration benefits from unstructured weight sparsity, thereby significantly enhancing the efficiency of the MediSwift models. Through subsequent dense fine-tuning and strategic soft prompting, MediSwift models outperform existing LLMs up to 7B parameters on biomedical tasks, setting new benchmarks w.r.t efficiency-accuracy on tasks such as PubMedQA. Our results show that sparse pre-training, along with dense fine-tuning and soft prompting, offers an effective method for creating high-performing, computationally efficient models in specialized domains.
[ -0.1054048538, -0.6153873801, 0.7672099471, 0.1011145785, -0.2994961739, 0.0709397346, -0.4616435766, -0.2900505364, 0.4022536278, 0.5954160094, -0.7568979263, -0.413723141, -0.6714040041, 0.0899627134, -0.3567528427, 1.1449154615, -0.0221545175, 0.2449045032, -0.2074754089, -0.2622823417, -0.0712813735, -0.36545825, -0.4522690177, -0.5121501684, 0.9233862758, 0.2619589269, 0.7516999245, 0.4061468244, 0.4441217184, 0.2636632323, 0.0874904543, 0.2908454835, -0.6610040665, 0.0761272535, -0.1082101613, -0.1797894835, -0.5373743176, -0.0242023617, 0.458527416, 1.1833415031, -0.1920507401, 0.1935888976, 0.1492780447, 0.7942304015, -0.512250185, -0.2216569185, -0.6136642694, -0.1534430832, -0.2567139268, -0.1943175793, -0.3133566976, -0.1521104425, 0.1780327857, -0.7407509089, 0.1391574442, -0.1709217429, 0.9124724269, 0.4473160207, -0.1192655936, 0.1197509989, -0.4470009506, 0.6958423257, -0.4387132525, 0.6382587552, 0.4301126599, -0.130489409, -0.3903646469, -1.1711139679, -0.1460896134, -0.1828662753, 0.0709867477, 0.0021432224, -0.3561604619, 0.2676835954, 0.0546459369, -0.0901889578, -0.8171818256, 0.1995035112, -0.3457468748, 0.0482268073, 0.2539544702, 0.1029127166, 0.0383664258, 0.2782827318, -0.0877523646, -0.0267891586, -0.7480410337, -0.2014862895, -0.1201929599, 0.2419253737, -0.1048334464, 0.4729396701, 0.0774325058, 0.5464859009, 0.1409838498, -0.155163914, 0.4144837856, -0.092024982, -0.2314812541, -0.4323997796, 0.6188122034, -0.0926228985, 0.4579026401, -0.3422261775, -0.1459364891, -0.0982406586, 0.4041630328, -1.0134943724, -0.3115809858, 0.3466929495, -0.7103352547, -0.199464187, -0.7095110416, -0.4188843668, -0.3795393705, -0.4478680193, 0.5008209944, -0.5913630724, -0.2101224214, 0.424697727, 0.1779095978, -0.2703645825, 0.276824832, -0.7692927122, 0.5670531392, 0.3124606311, 0.9131947756, -0.3813520074, -0.2215336561, -0.5905916691, 0.199715957, -0.2090432495, 0.9216789603, -0.3941278756, -0.3738266528, -0.1395816356, 0.0310013853, -0.2714417577, -0.4630083144, 0.4052853286, -0.4030213058, -0.2290573865, -0.0105633009, -0.5737451315, 0.3651635051, -0.1102604717, -0.4756627381, 0.8027207851, 0.2865885496, -0.5972762108, 0.428093642, -0.6091020107, -0.6315802932, 0.4260763824, -0.4335576594, -0.5370326042, 0.235168606, 0.1206877306, 0.7258558273, -0.3446767032, 0.3569038212, -0.4246405065, -0.4714917243, 0.3538897038, -0.2158364654, 0.4830194414, 0.3614123166, -0.1419264227, 0.0450856723, -0.7256052494, 0.1382441074, 0.1945511997, -0.3181719482, -0.4307681322, 0.154680416, 0.3867176175, -0.0253159627, 0.1251176894, -0.3396870494, 0.1847904623, -0.6899846196, 0.4064728618, 0.5030016899, -0.2107932568, 0.4453362525, -0.228731215, 0.3728670478, -0.2867681384, 0.2162052095, 0.1880855113, -0.291087836, -0.3244237602, -0.9097578526, 0.4610372484, 0.4060594738, -0.6746066213, 0.3343031406, -0.2462597638, -0.496604234, -0.5125590563, 0.1460874528, 0.2479518503, 0.4202042818, 0.5695356727, 0.049773261, -0.2084005624, -0.8297038674, -0.3457085192, 0.1935223192, -0.2679854035, 0.3296396434, 0.3992630541, -0.6248810291, 0.715210855, -0.5269373059, -0.1547811031, -0.2503538132, 0.226739496, 0.3040138781, 0.5966387391, 0.6914337277, -0.6963436604, -0.2573959529, -0.1852169931, -0.1884633601, -0.3644736707, -0.0853540599, -0.0410553738, -0.0348669514, 0.5307061672, -0.849965632, 0.2213283926, 0.6715693474, -0.4214423895, 0.3526177406, -0.5908051133, 0.1416421384, -0.9331700802, 0.3319011033, -0.0577545613, -0.2913673818, -0.6822344661, -0.379532069, 0.2354949564, -0.0962212384, -0.227169618, 0.5689188242, -0.3834410608, 0.1476739198, -0.3445120752, -0.1173004285, -0.011712037, 0.4337120354, 0.1900319308, 0.7700089216, 0.3879767656, -0.4412860572, -0.2904763222, 0.1670023948, -0.2369503081, 0.1623484194, -0.9316068292, -0.1623576134, -0.1576622874, 0.1419463456, -0.7718964219, -0.1494843215, -0.0921441093, -0.2493754625, 0.5631318092, -0.1551831067, -0.5377179384, -0.3622520864, -0.1222618446, 0.4362126887, 0.7174726129, -0.4784128368, 0.4935537875, 0.4789720476, -0.3887636364, -0.512013793, -0.7219362855, -0.1649395227, 0.0233518481, -0.3957968652, 0.5230303407, -0.1701262742, 0.1393007785, -0.1514180601, -0.014674277, -0.1651219428, 0.1128596812, 0.2605809569, 0.2937447429, -0.0467395671, 0.2707048953, 0.4301284254, -0.2171576619, -0.2370682955, -0.5016431808, 0.4084872007, 0.0952572897, -0.4139696658, -0.1019889042, 0.34820804, 0.4864595532, -0.180011794, 0.754945755, 0.505741477, -0.4818382561, -0.2150452882, -0.6551088095, -0.2600231469, -0.5136466026, 0.8591564894, -0.2143890411, -1.053912878, 0.1141330227, -0.508918047, 0.0868334621, 0.267664969, 0.649848938, -0.1937411278, 1.3324517012, 0.7551845312, 0.1001532599, 0.3374749422, 0.0135075822, -0.033320874, -0.1693772078, -0.1577487439, -0.7228285074, -0.1582333446, -0.3118828535, -0.571639061, 0.601149857, -0.1641278118, -0.4075528979, 0.0542752519, -0.4939090014, 0.482770741, 0.1146535501, 0.2176418006, 0.0107832598, 0.4296505153, -0.2555685639, -0.1818400323, -0.9286242723, -0.3715804815, 1.0509362221, 0.4358088076, 1.0324287415, -0.3675208986, 0.5095384717, 0.1779935807, 0.4637581408, -0.5080456734, 0.2823877931, -0.5338881612, -0.1488347203, -0.1153548434, -0.5695605278, -1.2020440102, 0.0142469527, -0.6376032829, -0.5945183039, 0.1561682969, 0.2820972502, -0.6061767936, 0.1914305985, -0.5951282978, 0.79144454, -0.1779537946, -0.3800546825, -0.3686705232, -0.5659825802, 0.1211130098, -0.4123878479, 0.3150937855, -0.0882964954, -0.4051333666, 0.817686975, -0.4530273974, 0.6957649589, -0.1880272329, 0.1619348377, -0.0848207921, 0.0807959437, 0.3478405774, -0.0389952287, 0.2191809267, 0.3636638522, 0.2713931203, -0.4937169552, -0.2502597868, 0.7383207083, -0.8374970555, -0.0534363724, -0.2301224172, -0.5940562487, -0.7719028592, 0.265171349, 0.4212252796, 0.5318002701, -0.0890933871, 0.1019785255, 1.0588593483, -0.4620997906, 0.0160715226, 0.7125105262, 0.097270757, -0.4217312634, 0.6698905826, 0.1321516931, 0.1538057178, 0.1763294786, -0.0305642094, -0.2386005968, -0.8495851159, -0.322845459, 0.4959678054, -0.2394013107, -0.5066913962, -0.9576147795, -0.1770909876, -0.3544799089, -0.4019839764, -0.5293365121, -0.3874085844, -0.2853042185, 0.2746142447, 0.5300387144, 0.5588137507, -0.0693384707, 0.4504835308, -1.0433593988, 0.400745064, -0.0289817899, 0.7194651365, -0.3720351458, -0.5675441623, -0.5315598845, -0.1289213449, -0.0211305004, -0.7303330898, 0.3859757185, 0.2914427221, 0.4224532843, 0.3064435124, -0.3438129127, 0.6927724481, -0.8351584673, 0.518936336, 0.5159167647, -0.5560319424, 0.3186211586, -0.3045296073, 0.2932755649, 0.7389222383, 0.5376214385, -0.1087672114, -0.2999888957, -0.477214098, -0.8357390761, 0.4615302682, 0.1020055115, 0.0194009878, -0.0336646065, 0.7156325579, 0.1664932221, 0.1092986092, -0.4255493283, -0.2516416609, 0.2313017696, -0.6202229261, -0.1146785989, -0.1937165707, 0.0080852667, -0.3532043993, 0.6402557492, -0.3417221606, 0.1654784977, 0.1985492855, -0.1643717736, -0.3013733029, 0.0447711572, 0.4099803865, 0.3101685643, -0.025056133, 0.0264490601, 0.2471830398, -0.9137622714, 0.0595844463, 0.468523562, 0.0888562128, 0.0117962714, 0.2823929787, 0.3943881691, 0.3946489692, -1.0736167431, 0.7147136927, -0.197410658, -0.4991447628, 0.064834021, -0.0824233592, 0.2178181261, 0.3307041228, 0.2788267136, 0.2177673727, 0.2212592959, 0.1642285436, 0.246974811, 0.484411478, -0.1118190885, -0.0862706676, 0.8129906654, 0.0297201201, 0.1425876617, 0.3299420774, 0.3418304324, -0.0463668816, 0.2460211366, 0.4228131771, 0.6571156979, -0.2102430463, 0.0046102093, 0.1701311469, 0.174027279, -0.2339241952, 0.2910419703, -0.0736026987, -0.4724918306, -0.8872284293, -0.8880811334, -0.1896148175, 0.3232419193, -0.2834322453, 0.2784557939, -0.3479509354, -0.44864586, 0.1181268245, 0.0817116573, -0.6893640161, 0.2664961517, 0.2060669959, 1.1753476858, -0.7167425752, 0.9590204358, 0.6053883433, -0.2022886872, -0.7642732859, -0.3476698697, -0.3683234453, -0.7543302774, 0.6626225114, -0.1768404394, -0.2761047184, -0.0677568913, -0.7978608608, -1.005620122, 0.786295712, 0.6170114279, -0.812956214, -0.0744934157, 0.2239714861, 0.5661162138, -0.1233337075, 0.1357409507, 0.5691378117, 0.1177298725, -0.1062762141, -0.8412011266, -0.0509208031, -0.3166748881, -0.1599034816, 0.2081966549, -0.3481414914, 0.7794702649, -0.1727138609, 0.1029083654, 0.3190511763, 0.5842998624, 0.3301360607, 0.1409085095, 0.5409779549, 0.2657175362, 0.8123669028, 0.0290536229, 0.8382037282, -0.4152514935, 0.0610026941, 0.7013590336, -0.453384608, 0.6189402938, 0.5984012485, -0.1702418923, 0.34953776, 0.4995591342, 0.2060189396, 0.4699596763, 0.2315603793, -0.2622071803, -0.4828327298, 0.0310969409, -0.3989243805, -0.0115646925, 0.708773613, -0.2237931043, -0.0873603672, 0.3639894128, 0.1296846122, 0.0794003606, -0.3856724799, 0.6489369273, 0.1957950741, -0.5031445026, 0.7087783813, -0.0493125468, 0.6663728952, -1.1274431944, 0.067311801, -0.0867525935, 0.4585606158, -0.1324869096, -0.416218847, 0.0769997239, 0.1897885054, -0.182826966, -0.3337147534, 1.0538592339, -0.4915120006, -0.3556458056, 0.3654434681, 0.6569143534, 0.11456085, 0.0283399075, -0.9346373081, 0.0916154385, -0.3341777325, -0.5583342314, 0.5975766182, 0.3169795275, 0.0977734625, 0.5585970283, 0.6027041674, 0.5223192573, -0.2907693386, 0.3114413023, 1.0615397692, -0.4147576392, -0.3585846424, -0.5517094731, 0.239808917, -0.0848306566, -0.1673490256, 0.2631904483, 0.4872730374, 0.3276360035, -0.1110545099, 0.6741558313, 0.2861587405, 0.8823506832, -0.4350057244, 0.9833549261, -0.8183236122, 0.0056313495, -0.2750419676, -0.4225274622, -0.5280064344, 0.567717135, -0.1567240208, 0.2503113151, 0.6006110907, 0.8015361428, -0.1845497936, -0.1071445942, 0.4295972288, 0.2235630304, -0.0392676257, 0.5754650235, 0.5894833803, -0.1346440464, 0.3416277468, 0.0626979172, -0.5233519077, -0.0400958247, -0.6780264378, -0.967212379, -0.4299762845, -0.2736049592, -0.4796549082, 0.2099985927, 1.3239248991, 0.9952754378, -0.7304161787, -0.0467578024, 0.031286072, -0.4152761102, -0.0225527808, -0.0781320035, 0.5108468533, -0.6949447393, -0.3329223096, 0.572552979, 0.4038451016, 0.1591697335, 0.0075598741, -0.1358125955, -0.0856049731, 0.3784122467, 0.5482490659, 0.3315098882, -0.2209509462, 0.058597032, 0.1479841322, -0.3868648708, -0.3374736309, 1.0258898735, -0.9938243032, -0.1734233499, 0.1385240108, 0.9157643318, 0.673897028, -0.3102123737, 0.39974159, -0.5854718685, 0.3101290762, 0.3156600595, 0.4757692814, 0.1514974535, -0.2723711133, 0.442335099, 0.2792512476, -0.7183096409, -0.8234102726, -0.0752205029, -0.8761295676, -0.7112826705, 1.0235227346, 0.1256772578, -0.2898394465, -0.2145598978, -0.2497035265, 0.1566142291, 0.0334690735, 0.5075299144, 0.0744950473, -0.1691428125, 0.3197475374, -0.4543503225, 0.8533973098, 0.8641169667, -0.8021076322, 0.0364137068, 0.5083244443, 0.4818405509, -0.3106161654, 1.0472848415, -0.1942963898, 0.3340804875, -0.1726207584, 0.0842108801, 0.0415104218, -0.3481118679, -0.323771596, 0.1268485039, 0.021990994, 0.2171291709 ]
http://arxiv.org/abs/2403.00932v2
http://arxiv.org/pdf/2403.00932v2
Differentially Private Knowledge Distillation via Synthetic Text Generation
2024-03-01T19:22:24
2024-06-05T03:07:44
James Flemings, Murali Annavaram
cs.LG
cs.LG, cs.CL, cs.CR
Large Language models (LLMs) are achieving state-of-the-art performance in many different downstream tasks. However, the increasing urgency of data privacy puts pressure on practitioners to train LLMs with Differential Privacy (DP) on private data. Concurrently, the exponential growth in parameter size of LLMs necessitates model compression before deployment of LLMs on resource-constrained devices or latency-sensitive applications. Differential privacy and model compression generally must trade off utility loss to achieve their objectives. Moreover, simultaneously applying both schemes can compound the utility degradation. To this end, we propose DistilDP: a novel differentially private knowledge distillation algorithm that exploits synthetic data generated by a differentially private teacher LLM. The knowledge of a teacher LLM is transferred onto the student in two ways: one way from the synthetic data itself -- the hard labels, and the other way by the output distribution of the teacher evaluated on the synthetic data -- the soft labels. Furthermore, if the teacher and student share a similar architectural structure, we can further distill knowledge by aligning the hidden representations between both. Our experimental results demonstrate that DistilDP can substantially improve the utility over existing baselines, at least $9.0$ PPL on the Big Patent dataset, with strong privacy parameters, $\epsilon=2$. These promising results progress privacy-preserving compression of autoregressive LLMs. Our code can be accessed here: https://github.com/james-flemings/dp_compress.
[ -0.182549268, -0.3641771674, 0.6565936804, 0.1123422608, -0.3043495715, 0.5940147638, -0.2270553112, -0.2009571046, -0.0289420541, 0.3839245737, -0.3980691731, -0.6328086257, -0.8988412619, -0.0338092335, -0.5233159661, 0.906484127, 0.1755299419, -0.0765702873, 0.0255954154, 0.1035176963, -0.0841330364, -0.8067455292, -0.1730556935, -0.100605011, 0.3118638098, 0.1575214118, 0.4532296658, 0.6505119801, 0.0535745658, 0.4533680379, -0.2735077143, 0.3747607768, -0.599812448, 0.3618658483, -0.1903551817, -0.3240044713, -0.3701127768, 0.2010307461, 0.5971979499, 0.7129075527, -0.2221650183, 0.2061433494, 0.5395094156, 1.0026859045, -0.7057006359, 0.313734591, -0.7809832096, 0.1645357907, -0.0294750296, -0.0961898044, -0.3711776137, -0.6186035872, 0.0321625844, -0.2062405497, 0.3730812073, -0.150066793, 0.4651894867, 0.5879366994, -0.2883353531, 0.0686933026, -0.8073275685, 0.633035779, -0.5419534445, 0.1863675267, 0.2951160371, 0.3376526237, -0.2694566846, -0.8233705163, -0.6744655371, 0.0446059182, -0.1559411883, -0.1018550321, -0.0594015606, 0.0222229026, 0.19466497, 0.8038447499, -0.2358465046, 0.1248552129, -0.4571397603, -0.0722940713, 0.8397420049, 0.0026210085, -0.0791455209, 0.0087205553, -0.4090092778, -0.1972461939, -0.4890765846, -0.2064166665, 0.7173238993, 0.0105468417, -0.1440778375, 0.4956445992, -0.1547642499, 0.6175291538, 0.0954884514, -0.2701839209, 0.0480237417, -0.0393282287, -0.2238376141, 0.3091615736, 0.8278806806, 0.2524244487, 0.1321689039, -0.0609332696, -0.0240990743, 0.0274223089, -0.1038807258, -0.7904595137, -0.5192182064, 0.1556204408, -0.0607744008, -0.6447136402, -0.0767776147, -0.9405978322, -0.7126752734, -0.4421291947, 0.2758770287, 0.0094661172, -0.2101949453, 0.2935948074, -0.3333427608, -0.4885419011, -0.0271232072, -1.0705928802, 0.562035799, 0.6502628922, 0.8486144543, -0.0583830178, -0.0577004626, -0.4537631273, 0.5107847452, 0.0888729244, 0.1105712429, -0.2149237096, -0.5608378649, -0.1962486953, -0.0655735433, 0.4185683429, -0.5335425735, 0.2147076279, -0.4689079821, 0.2628630698, 0.1521431357, -0.5297074318, 0.0790087208, 0.0188551601, -0.6708387136, 0.6665650606, 0.0721828565, -0.7722936869, 0.1312466413, -0.296530664, -0.1704166234, -0.0189503934, -0.41774863, -0.5853278041, 0.210911572, 0.195830375, 0.6555761099, -0.2015750706, 0.5171985626, -0.357321918, -0.2209219486, 0.4199633896, -0.704095304, 0.8985701799, 0.1676326245, -0.4652062058, -0.5314666629, -1.0087749958, -0.0226294026, 0.1692943871, -0.3750426173, -0.7271111608, -0.329924494, -0.5320903659, -0.0358389616, 0.4901200831, -0.5302193761, 0.4885696173, -0.3712690771, 0.5309027433, 1.1260403395, -0.1276769936, 0.6457148194, -0.1271107495, 0.3327860236, -0.1283467412, 0.2891585231, 0.2552551031, -0.3676076829, -0.3397045732, -0.5699252486, 0.5602679849, 0.1483788043, -0.3661438525, 0.4849290848, -0.2898715734, -0.4558328986, -0.3141918778, 0.1201283485, 0.3414137959, 0.5643976927, 0.3206188679, -0.0219723321, -0.3254108131, -0.7390692234, -0.3059012294, 0.0182410683, -0.101479359, 0.29047665, 0.0162984021, 0.0178148877, 0.7992896438, -1.0332444906, -0.5416001081, 0.0175907575, 0.2029426694, 0.2488516718, 0.603974402, 0.4764278829, -0.7023645639, -0.7504166365, -0.3617069423, -0.3336128592, -0.370480597, 0.214990288, -0.2968433499, 0.2251345366, 0.0681313053, -0.449143976, 0.3839166462, 1.0764364004, -0.313881129, 0.3011361063, -0.5148208141, 0.0447814129, -1.2504501343, -0.1798293144, -0.2507579327, -0.4365281165, -0.2524803877, -0.153439343, 0.0612580515, -0.2425293326, -0.5015672445, 0.3701732457, -0.687374711, 0.1384590119, -0.4109883308, -0.0808204859, 0.2794127166, 0.3566391766, 0.120572567, 0.5556154251, 0.5078742504, -0.682807982, 0.3840172887, 0.139282003, -0.1411187351, 0.0436606966, -0.4587265849, 0.4082586169, -0.0200149231, 0.2342516482, -0.7549549341, -0.1160969064, 0.1725850403, -0.165965721, 0.6349137425, -0.4632930458, -0.6189551353, -0.1668535471, -0.3858936727, 0.1817793995, 0.9728265405, -0.9149345756, 0.4206956625, 0.5806390047, -0.0920267403, -0.7273123264, -0.980914712, 0.0679427609, -0.3285876811, -0.4710099101, 0.7833385468, 0.0190771874, -0.2512147129, 0.1113760099, -0.3205592036, -0.3775839508, 0.0151102562, 0.3107492626, 0.3096466959, 0.3325137496, -0.0903720334, 0.6645519733, -0.2243595123, 0.1569815427, -0.5235254765, 0.4608866274, 0.229023844, -0.1015188769, -0.4131444097, 0.2331198901, 0.259047538, 0.2799199522, 0.9999992847, 0.0253295898, -0.0709063113, -0.7424640656, -0.3321377337, -0.3417322934, -0.6423154473, -0.0252957847, -0.0652111396, -0.6906712651, 0.0464773737, -0.5508275032, 0.088907674, 0.0048572049, 0.4335695505, 0.3282746077, 0.773665309, 0.6301183105, -0.1778062284, 0.1774823219, -0.5359506011, 0.2781328857, -0.325650394, -0.2235009372, -0.4570854008, -0.6010580063, -0.7710245252, -0.4424562752, 0.4746223092, 0.076336965, 0.0757452846, 0.2286036313, -1.1230179071, 0.8078563809, 0.6210246682, 0.1762101203, 0.8100433946, 0.1661263257, 0.0828521624, -0.1896229535, -0.4479128122, -0.5280822515, 1.2318435907, 0.2692780197, 0.9385582805, 0.2506616712, 1.3795431852, 0.1966843754, 0.075347282, -0.27346012, 0.7180992961, -0.6181100011, -0.529800117, -0.1984877735, -0.519777298, -0.5960408449, 0.0936281681, 0.0650416613, -0.5782917738, 0.242404744, 0.3284983635, -0.2169158757, 0.2508674264, -0.8756340146, 0.2900656462, -0.1611507237, -0.746774137, -0.1788245291, -0.5495586395, 0.5746694803, -0.3852258623, 0.1688509583, -0.1492959857, 0.0582175851, 0.5122513175, -0.6667224765, 0.8870609403, -0.5669233203, -0.2083912492, -0.036867395, 0.1980404258, 0.5578426123, 0.502918601, -0.0103877289, 0.4871189296, 0.0601605885, -0.0924107879, -0.8278213739, 1.0333049297, -0.637889564, -0.8914583921, -0.5722593665, -0.3975703716, -0.1303502768, -0.0485515669, 0.1117996573, 0.1285018474, 0.2948062122, 0.1143079326, 0.6264446974, -0.29867962, 0.341388166, 0.7552928925, -0.070982784, -0.1455066502, 0.8080968261, 0.2753603458, 0.2088855803, 0.2798760235, 0.5531621575, -0.7694271207, -0.5655619502, -0.2100054324, 0.1622119546, -0.5022252798, -0.2997301221, -0.6029928327, -0.5086764693, -0.4780387878, -0.0354851335, -0.6663951278, -0.8607361317, -0.3662525117, -0.1332843304, 0.5731469393, 0.5276899338, -0.6229081154, -0.0679984465, -0.8693255782, 0.5584945679, 0.4837578535, 0.2203133553, -0.213964656, -0.3907012343, 0.1601122022, 0.1986978948, -0.5017074943, -0.708073318, 0.5713598728, 0.3300639391, 0.2348246127, 0.1044355184, 0.8423143029, 0.509447813, -0.6024178863, 0.7629269361, 0.1458408087, -0.9049469829, 0.3548029959, 0.0739571825, -0.1079397798, 0.5090619922, 0.5451714993, 0.074231863, -0.7962934971, -0.5608187914, -0.9263316393, 0.581213057, 0.2344670743, 0.5615633726, 0.4257539511, 0.3498979509, 0.5119901299, 0.3971886933, -0.7242177725, -0.5080861449, -0.0886090025, -0.510489881, 0.0847388729, -0.2680069804, -0.3927134275, -0.3646917939, 0.564093411, 0.222871244, 0.0353113562, 0.1496311277, 0.2797740102, 0.5145312548, 0.3040828705, 0.1556708515, 0.251287818, -0.060205441, 0.5513735414, -0.1872508526, -0.7318003178, 0.6855111718, 0.6268099546, -0.1276897788, 0.0486436225, -0.3401252627, 0.208373338, -0.1829165369, -0.3039573729, 0.4537742138, -0.3213202357, -0.4756961465, -0.3517066538, 0.3617422283, -0.0450151637, 0.472735554, 0.23108913, -0.1649275273, 0.3584827185, -0.1818535626, 0.0396363176, 0.0386105254, 0.1410123706, -0.2684676051, 0.9311308861, 0.3080253601, -0.0977438539, 0.2978458703, -0.0575940125, -0.2367743403, 0.0741038471, 0.2690106928, 0.9157396555, -0.1932625771, 0.2040437311, -0.0038690839, -0.2048285753, -0.2079235166, 0.0749657899, -0.557962954, -0.3237686753, -0.2963213623, -0.7091380358, -0.2802192271, 0.4665887058, -0.3342874348, 0.2480427772, -0.6599644423, -0.1759658158, -0.04543861, 0.101615496, -0.3735978007, -0.0569007173, 0.2040924877, 0.360232383, -0.4816876054, 0.9862638116, 0.1205299646, 0.012140722, -0.9800050259, 0.2126665711, 0.0345905907, -0.5901293755, 0.9917274714, -0.0399968177, -0.1842117757, 0.1078884825, -0.3801059723, -0.5721697807, 0.9911984801, 0.844207108, -1.2367866039, -0.0275106635, 0.6611189246, 0.607773304, 0.2168234736, -0.489916414, 0.2084071338, 0.2757305205, 0.0190815832, -0.748411119, 0.2645808458, 0.0302839, -0.1234057099, 0.0774680153, -0.5465583801, 0.6929821372, 0.0668135285, -0.2298603207, -0.1833134592, 0.2956676185, 0.4378451407, 0.4522207975, 0.324734807, 0.5017049909, 0.8131816387, 0.1235505193, 0.7348594666, -0.6919865608, 0.3146719635, 1.2537039518, -0.302464813, 0.3460158706, 0.7281590104, -0.2252498269, 0.3504190743, 0.1750772446, 0.1692634523, 0.9827647209, 0.5412722826, -0.6245968938, 0.2381583154, -0.0140329134, -0.6394839287, 0.2427684814, -0.1441440135, -0.673774302, -0.1051626727, -0.149022907, -0.0348330848, 0.43699646, 0.1145339832, 0.7106202245, 0.2868930399, -0.3895373642, 0.7950599194, 0.0618489683, 0.6779370904, -0.4728737175, -0.0176914502, -0.1768879294, 0.4344856441, -0.1890096962, -0.6643694639, 0.525515914, 0.2592190206, -0.0910892636, -0.6405792236, 0.6006476283, -0.5555345416, -0.2769209743, 0.1854676902, 0.2032165527, 0.1684659719, -0.0446803272, -0.5053436756, -0.0946285352, -0.0652083084, -0.2832425833, 0.5202496648, 0.5917620659, 0.4391746223, 0.2753000259, 0.617546916, 0.3379857838, 0.1913750619, 0.0762999505, 1.3349529505, -0.2432799041, -0.6393805742, -1.1626906395, 0.4764476717, -0.3581585884, 0.0446899012, 0.7968963385, 0.5324819088, 0.7612514496, -0.0613455549, 0.7821770906, 0.1331378371, 0.6018434167, -0.6726860404, 1.0499260426, -0.4610645175, 0.6221705079, -0.2213472873, -0.8332598209, -0.0803269744, 0.3377204537, -0.2721450925, -0.3981600106, 0.4764594138, 0.7298672199, -0.1073879227, -0.0703107715, 0.2546516359, 0.1080038995, 0.439137131, 0.4483788311, 0.9468389153, -0.3187121153, 0.3924660981, -0.837736845, -0.2769750059, 0.3000250161, -0.9590570331, -0.8910562992, -0.6215940118, -0.5429283381, -0.2789630294, 0.1748799831, 0.5858048201, 0.8280797005, -0.2623831332, 0.0975502506, -0.5679080486, 0.0262603424, 0.1712888628, -0.2285274267, 0.304746747, 0.0566715449, -1.1409758329, 0.3641632497, 0.0822176486, 0.5465292335, -0.6605151892, -0.0483221896, 0.3723335266, -0.0626247525, 0.2296089828, -0.0473219566, -0.1181267053, 0.1765033454, -0.2916098833, 0.0088963211, -0.291816622, 0.7677189112, -0.8089488745, 0.2751104534, 0.4732813537, 0.5040314198, 0.7069827914, 0.0050219889, 0.6434779167, -1.1793165207, 0.6533349156, 0.4857631326, -0.0624472238, 0.1646993309, -0.8300839663, 0.2826978564, 0.2681155205, -0.7197018266, -1.1746815443, 0.0528694689, -0.6530601978, -0.5540451407, 1.0632151365, -0.456934005, -0.3441295922, -0.0407901667, -0.2211020142, 0.2813924849, -0.6220478415, 1.4524228573, 0.2881798148, 0.1146467626, 0.1322452724, -0.1345641017, 0.6876326203, 0.0504473448, -0.5521964431, 0.3119179606, 0.5002454519, 0.2132264078, -0.1250110865, 0.5275277495, -0.2802064419, -0.3261353374, 0.0207442958, -0.3620910048, -0.6664982438, -0.3481873274, -0.2760009766, 0.3334140182, -0.1084872037, -0.5468814373 ]
http://arxiv.org/abs/2403.00923v1
http://arxiv.org/pdf/2403.00923v1
An Interpretable Ensemble of Graph and Language Models for Improving Search Relevance in E-Commerce
2024-03-01T19:08:25
2024-03-01T19:08:25
Nurendra Choudhary, Edward W Huang, Karthik Subbian, Chandan K. Reddy
cs.IR
cs.IR, cs.CL, H.3.3; I.2.7; J.7
The problem of search relevance in the E-commerce domain is a challenging one since it involves understanding the intent of a user's short nuanced query and matching it with the appropriate products in the catalog. This problem has traditionally been addressed using language models (LMs) and graph neural networks (GNNs) to capture semantic and inter-product behavior signals, respectively. However, the rapid development of new architectures has created a gap between research and the practical adoption of these techniques. Evaluating the generalizability of these models for deployment requires extensive experimentation on complex, real-world datasets, which can be non-trivial and expensive. Furthermore, such models often operate on latent space representations that are incomprehensible to humans, making it difficult to evaluate and compare the effectiveness of different models. This lack of interpretability hinders the development and adoption of new techniques in the field. To bridge this gap, we propose Plug and Play Graph LAnguage Model (PP-GLAM), an explainable ensemble of plug and play models. Our approach uses a modular framework with uniform data processing pipelines. It employs additive explanation metrics to independently decide whether to include (i) language model candidates, (ii) GNN model candidates, and (iii) inter-product behavioral signals. For the task of search relevance, we show that PP-GLAM outperforms several state-of-the-art baselines as well as a proprietary model on real-world multilingual, multi-regional e-commerce datasets. To promote better model comprehensibility and adoption, we also provide an analysis of the explainability and computational complexity of our model. We also provide the public codebase and provide a deployment strategy for practical implementation.
[ -0.2372529954, -0.784612298, 0.609344542, 0.2210946083, -0.3052249849, 0.1589119285, -0.2332826257, -0.6077225804, 0.2244226933, 0.2823349535, -0.4311989844, -0.6478850245, -0.364530772, -0.1554592997, -0.5752355456, 0.85731107, 0.1024605632, -0.3697511256, -0.2828475535, -0.1122873053, -0.1821433008, -0.4942787588, -0.4845119119, -0.2166003585, 0.5611009598, 0.0035299635, 0.8623980284, 0.3330572248, 0.2782613933, 0.2781731188, -0.2270250767, 0.2968817651, -0.7366441488, -0.0481955037, -0.0869263783, -0.3535128832, -0.559853375, -0.21026057, 0.259419173, 0.8313460946, -0.4089670777, 0.148616612, 0.211224854, 0.1890201867, -0.519292295, 0.3831386864, -0.6997831464, -0.3384630382, 0.1282631308, -0.2071539611, -0.6812042594, -0.3679093122, 0.2437248677, -1.0063170195, 0.3542171121, 0.3241448402, 0.9167148471, -0.3556987941, -0.4665252864, -0.419811815, -0.8463941216, 0.669002831, -0.7014836669, 0.4337585568, 0.3086616397, 0.3691960871, -0.3519389033, -1.0693141222, -0.3971925974, 0.0249415375, -0.5201807022, 0.1752415299, -0.3345272541, 0.014011601, -0.0333142467, 0.3584164381, -0.9408336282, 0.0725923926, -0.2221623808, -0.2142567933, 0.4987645149, 0.1297564656, 0.6424057484, 0.1457901746, -0.0436294004, 0.1964103281, -0.5396201015, 0.1224994436, 0.5520417094, 0.5630341768, -0.0652764291, 0.3275398314, -0.2876821756, 0.9398790002, -0.0167579241, 0.0851328745, 0.076919809, -0.4326805174, -0.1019741744, -0.1171303093, 0.530312717, 0.3409256339, 0.0052942662, -0.4610295892, -0.0544311069, 0.0831823573, 0.4983153045, -0.6872938275, -0.2467082143, 0.3471761346, -0.694317162, -0.258547008, -0.0234434884, -0.7740226984, 0.0052224658, -0.3147747219, 0.4201104939, -0.0947403982, -0.4013658166, 0.3225288391, -0.0488125794, 0.0537058972, 0.3013373315, -0.9514517188, 0.5907759666, 0.9506341219, 0.9797716141, -0.0304424278, -0.1236698106, -0.3097002208, 0.0724168345, -0.2632012069, 0.6439118981, -0.6933861971, -0.2001078129, 0.1523749977, 0.2455260009, -0.3757308424, -0.4102620482, 0.5109941959, -1.2085829973, 0.3448083103, 0.0946517289, -0.7000368237, -0.6235306859, 0.2216028422, -0.7881837487, 0.6553487182, 0.2157601714, -0.554410398, 0.4291770458, -0.4996501505, -0.5224767923, 0.3036298752, -0.0948248357, -0.5982673168, 0.2218053192, 0.2628447413, 0.2464260906, -0.2673779726, 0.2172474116, -0.5803545713, -0.8034920692, -0.0235399883, -0.0904103294, 0.7343431115, 0.2250836492, -0.2422809154, 0.0284557343, -0.4960190654, 0.1716287583, 0.3126683831, -0.3320294321, -0.2687705457, 0.2440466434, 0.1529450715, 0.2268190682, 0.2708020806, -0.1033224985, 0.2425686419, -0.4923408926, 0.6117705703, 0.5794475079, -0.1472826749, 0.4749403596, -0.0534080975, 0.8200143576, -0.2400226742, 0.3512411714, -0.2504567802, -0.9350113273, -0.3548658192, -0.0635293499, 0.3623975217, 0.4283618927, -0.5596548319, 0.3075045049, -0.446942389, -0.430629164, -0.3703336716, 0.1164008006, 0.0619274862, 0.6375228763, 0.2620769441, -0.4448599517, -0.2026910782, -0.742092371, -0.2732901871, -0.2722764909, -0.2092950493, 0.8441019654, 0.1519146711, -0.2853951752, 0.8861336708, -0.6128787398, -0.0484046973, -0.2636449337, 0.1215024218, 0.7443614602, -0.0348572247, 0.5097880363, -1.1017495394, -0.5129693151, 0.3574011624, -0.5581115484, -0.1122840121, 0.2550718188, -0.0126252715, -0.0465942211, 0.2057769597, -0.3631909788, 0.4773016274, 0.5246992707, -0.2385382801, 0.5276179314, -0.4494371414, 0.162359044, -0.7238036394, 0.35060063, 0.0636315495, -0.2327492684, -0.7944198847, 0.2165700793, 0.0241350457, -0.3223277032, -0.4352886379, 0.5270297527, -0.1791097671, -0.4271246791, -0.1006506532, 0.4793688953, 0.5740252733, 0.4865720272, -0.2442069054, 0.8035445213, 0.4925787151, -0.9888209105, 0.1728690714, 0.2122505605, -0.5301243067, 0.2233529985, -0.8391606808, 0.0807317123, -0.0385968685, 0.2512152195, -1.1538034678, -0.1766808778, 0.1897320896, -0.2773401141, 0.1254331917, -0.5831552744, -0.6152803302, -0.4814503193, 0.1767425537, 0.6839159131, 0.5078671575, -0.6706041098, 0.7190095782, 0.3094890714, -0.2135925442, -0.3846571445, -0.3124325573, 0.0535141416, -0.4865590036, -0.8750233054, 0.5835071802, -0.0275262222, 0.0830857158, -0.0069913208, 0.1739715636, -0.0091060111, 0.4337966144, -0.3044529855, 0.3757172823, -0.2499319464, 0.3808369935, -0.1594401002, -0.1745894402, -0.1739995182, -0.7557576299, 0.6877301335, -0.12902008, -0.5125386715, -0.041157268, 0.167061612, 0.3362732828, -0.3023946285, 0.5797814727, 0.6052908897, -0.2790548801, -0.1169198453, -0.1955458671, -0.1070954725, -0.5140909553, 0.3641521633, -0.1994942725, -0.7859869599, 0.7908015847, -0.3575469255, -0.2549217045, 0.2423048764, 0.5032938719, 0.0391344577, 1.5887298584, 0.6517586708, 0.0858377218, 0.3560224473, -0.0849157348, 0.8426554799, -0.7763744593, -0.2607970834, -0.457061857, -0.3680973649, -0.8543367386, -0.2835904658, 0.2150814682, 0.2126628757, -0.1014516428, 0.3876210749, -0.6871396303, 0.4303575158, 0.4443280995, 0.1964520067, 0.2867054343, 0.3697525561, -0.2090323418, 0.119083479, -0.8290290236, -0.4039896727, 1.1262216568, 0.1042833775, 0.7284123302, 0.4206780493, 0.2670356631, 0.1775175333, 0.0276947636, -0.8178299665, 0.276887089, -0.4541077614, -0.5398817658, -0.0472607315, -0.4168893397, -1.2394556999, 0.3592332602, 0.12915802, -1.260748744, 0.3434844911, 0.2283975631, -0.3271009028, 0.0848993063, -0.6841343045, 1.0024286509, -0.5157932043, -0.5212265253, -0.2040512115, -0.3625298738, 0.2246241421, 0.0018271654, 0.5350072384, 0.1049947143, 0.0039545735, 0.355160892, -0.1550501436, 0.5258007646, 0.1662406474, -0.0902332366, 0.2627572119, 0.1723515689, 0.808331728, -0.2197456658, -0.1085326821, 0.1396868229, -0.3927865326, -0.4333359301, -0.9622526169, 0.6319480538, -0.4820830226, -0.4526305795, 0.151019901, -0.2989888489, -0.1793331504, 0.313149482, 0.2395496368, 0.4957231581, -0.1912167966, -0.0184590742, 0.5576292276, -0.362154901, 0.1849313378, 0.3097132146, -0.8474625349, -0.1523384005, 1.2445987463, 0.1157229766, 0.1893299967, 0.2357454598, 0.3021663129, -0.5633069873, -0.4853293002, -0.3392564952, 0.0654602572, -0.8264747262, 0.2387233973, -0.6893906593, 0.0489597581, -0.3479036391, -0.1581230015, 0.2157011926, -0.340775311, -0.3050300479, -0.0094169574, 0.2441756725, 0.7902263999, 0.1649057269, 0.3804188073, -0.5183884501, 0.2204979956, 0.4413641095, 0.6863552928, 0.2998290062, -0.4413105547, -0.6116680503, 0.0575385168, -0.1029964611, -0.7391281128, 0.4515504837, 0.258220613, 0.7015061378, 0.4648502171, -0.2815673649, 0.6503413916, -0.3791491091, 0.6541680694, 0.0084790913, -0.8532603979, 0.5198170543, -0.6394024491, -0.0487096272, 0.202088818, 0.4876108468, -0.5419277549, -0.0987702608, -0.7534915805, -1.3623765707, 0.7602552176, 0.2809310555, 0.0903539807, 0.0830677077, 0.3396908045, -0.0070437766, 0.4845322073, -0.4817618132, -0.1338643432, -0.1804713458, -0.1478156745, -0.1183636189, -0.0377881266, 0.0306878779, -0.1571966708, 0.7471274734, -0.4549830854, 0.3030411601, -0.2488157302, -0.3024006486, 0.185091868, 0.132584855, 0.4751959145, 0.8927214742, -0.1678359061, -0.0565689653, -0.1562265307, -0.3200426102, 0.0011088102, 0.1247762516, -0.3485756516, 0.0328935757, 0.1300534904, 0.7727631927, 0.3853197992, -0.529463172, 0.4715493619, -0.2905454636, 0.2714139223, -0.0103431214, -0.0768204257, 0.2981168032, 0.0898664966, 0.1472852379, -0.2454351932, 0.607981503, -0.6063696146, 0.2700457275, 0.3658605516, -0.3195958138, -0.4009867013, 0.7040768862, -0.0653961301, -0.4474821687, 0.8763823509, -0.4604344964, -0.669408083, 0.810354054, 0.7132143974, 0.7739608884, -0.0080435416, 0.4703143239, 0.2429533601, 0.2113546133, -0.013563484, 0.1044495851, 0.1177092567, -0.7623098493, -0.4337362051, -0.5179550052, -0.3719055057, 0.0776178315, -0.6650160551, 0.4220359325, -0.1655329466, -0.2607599795, -0.0215892345, -0.2263534367, -0.9236278534, 0.1108284071, 0.0030759892, 0.4459438622, -0.7806480527, 0.4685354829, 0.6158325076, -0.4586352408, -0.7901323438, -0.1426390111, -0.1369416267, -0.9343698621, 0.5133861899, 0.2869981527, 0.0668791533, -0.0103111621, -0.343641758, -0.9303100109, 1.1865785122, 0.4083229303, -0.5437067747, 0.0157415997, 0.0933524892, 0.7210123539, -0.6772330999, 0.5974532366, 0.4916477799, 0.3373299539, 0.0207017343, -0.8123217225, -0.1431683749, -0.3262848258, 0.0860722661, 0.1486672014, -0.4968150854, 0.9144016504, 0.0821955055, -0.3508029282, -0.0848281458, 0.028349014, 0.2280923277, 0.5173780322, 0.4103253186, 0.5348217487, 1.0050274134, -0.0111224269, 1.2112944126, -0.5811920166, 0.8244726062, 1.1915961504, -0.4436770082, 0.8103893399, 0.0521360338, -0.2764249146, 0.7383058667, 0.7822098732, -0.0148915714, 0.4293800294, 0.2611324489, -0.1754600108, -0.5145331621, -0.2257395387, -0.1643704027, 0.265563041, 0.5937618017, -0.5184336305, -0.3425462246, -0.2686294913, -0.2428299487, -0.0842318162, -0.28450647, 0.7137243152, 0.0548865721, -0.3477333188, 0.3253367841, -0.1887766719, 0.185237363, -0.4911841452, -0.133042708, 0.0882936269, 0.1244312227, -0.3264915943, -0.4772605896, 0.079740487, -0.3227205276, -0.1128108501, 0.0212342106, 0.9717546701, -0.1916681528, -0.7379224896, 0.8039448261, 0.600897491, 0.0878207684, -0.017261209, -0.7602473497, 0.0240320619, -0.2439456582, -0.0731140375, 0.3790512979, 0.2199290693, -0.0002258343, 0.7289271951, 0.6916400194, -0.0110307857, 0.0354699753, 0.1955284476, 0.8157070279, -0.2208259255, -0.8321569562, -0.6147480011, 0.5398293138, -0.163224414, 0.1196459681, 0.6664656401, 0.6445521116, 0.6709030271, 0.2240020186, 0.8323218822, 0.1928466856, 0.1728355736, -0.4006038308, 0.727222085, -0.7566910386, 0.4620399475, -0.324391067, -1.0329787731, -0.2529973686, 0.6524236798, -0.3783283234, 0.2793406546, 0.4047813416, 0.7182680964, -0.5864624381, 0.1632996351, 0.3454270065, 0.288294524, 0.4776477814, 0.3708799779, 0.6124233603, -0.4862694442, 0.6887968183, -0.0546925291, -0.2463281751, -0.5636268854, -0.9948066473, -0.4379531443, -0.3418965638, -0.3242683411, -0.4143897891, -0.0157708488, 0.5884287953, 0.7246266007, -0.7027103901, -0.357942611, -0.1443480998, 0.354480654, -0.4692489207, -0.2209207565, 0.4516548812, -0.3802244961, -0.5306452513, 0.3458844423, 0.4554731548, -0.1023258939, -0.221843645, -0.046358604, -0.1233985573, 0.178456977, 0.6898261309, 0.1382245272, -0.6751313806, -0.3455489874, 0.308845818, 0.381578356, 0.1659067869, 0.7840929031, -0.8267390728, 0.8001487255, 0.5212166905, 0.4497075081, 0.4976541102, -0.0506701581, 0.7105072737, -0.5764902234, -0.1237489283, 0.1245379746, 0.5704277754, 0.1915598065, -0.3958771527, 0.5894291997, 0.051426474, -0.634357214, -0.6283475757, 0.5565550327, -0.6256640553, -0.2347851992, 0.9705166221, -0.436101526, -0.2775476873, -0.5281834006, 0.1151027009, 0.1003811359, -0.270560354, 0.8911693096, 0.693220973, -0.0372352637, 0.0737568662, -0.4534525573, 0.0118156401, 0.0164782964, -0.4887031913, 0.0106634246, 0.2512320876, 0.1045836806, 0.4270942807, 0.4328481853, 0.0773331001, 0.3837065697, -0.1626127362, -0.3077180982, 0.1026147902, -0.2731294036, -0.4973607659, 0.2436118871, 0.1719729304, 0.2237666249 ]
http://arxiv.org/abs/2403.00758v3
http://arxiv.org/pdf/2403.00758v3
Mitigating Reversal Curse in Large Language Models via Semantic-aware Permutation Training
2024-03-01T18:55:20
2024-03-20T07:37:24
Qingyan Guo, Rui Wang, Junliang Guo, Xu Tan, Jiang Bian, Yujiu Yang
cs.CL
cs.CL, cs.AI, cs.LG
While large language models (LLMs) have achieved impressive performance across diverse tasks, recent studies showcase that causal LLMs suffer from the "reversal curse". It is a typical example that the model knows "A's father is B", but is unable to reason "B's child is A". This limitation poses a challenge to the advancement of artificial general intelligence (AGI), as it suggests a gap in the models' ability to comprehend and apply bidirectional reasoning. In this paper, we first conduct substantial evaluation and identify that the root cause of the reversal curse lies in the different word order between the training and inference stage, namely, the poor ability of causal language models to predict antecedent words within the training data. Accordingly, permutation on the training data is considered as a potential solution, since this can make the model predict antecedent words or tokens. However, previous permutation methods may disrupt complete phrases or entities, thereby posing challenges for the model to comprehend and learn from training data. To address this issue, we propose Semantic-aware Permutation Training (SPT), which addresses this issue by segmenting the training sentences into semantic units (i.e., entities or phrases) with an assistant language model and permuting these units before feeding into the model. Extensive experiments demonstrate that SPT effectively mitigates the reversal curse since the performance on reversed questions approximates that on the forward ones, and significantly advances the performance of existing works.
[ -0.1144254804, -0.8204057217, 0.4860967696, 0.2887017727, -0.478351742, 0.1308491528, -0.0724227354, -0.3771909475, 0.2463555783, 0.8692973256, -0.7226680517, -0.1534888893, -0.9185208082, 0.3061218262, -0.6625980139, 1.017742753, 0.1437993199, 0.3796930015, -0.2916049063, -0.0338965841, -0.7376340032, -0.3962387443, -0.8303520083, -0.4919062555, 0.3999300003, 0.4517828822, 0.7011401653, 0.4919684827, 0.3056306839, 0.3268129826, 0.0736424103, 0.1199055985, -0.7653805017, 0.2078837305, -0.3340114355, -0.6300641894, -0.2070943862, -0.10290014, 0.7355548739, 0.9397333264, 0.0762517825, -0.0215764232, -0.1352975816, 0.4046872258, -0.6398726106, -0.0746852905, -1.34136343, 0.0508267321, -0.1353404969, -0.3662326634, -0.3660133779, -0.0585902333, 0.1117139459, -0.5251354575, 0.3312393725, -0.0964217633, 0.8782798052, 0.4590535462, -0.4344347715, -0.1711342186, -0.7706807852, 0.7436289787, -0.5962021947, 0.4811670482, 0.4433913827, 0.072687, -0.4586482048, -0.3958781362, -0.9457525611, 0.0046882285, -0.0218443125, 0.2948221266, -0.0181022249, -0.1253691763, 0.1457372755, 0.0450148769, -0.5662999749, 0.3756467104, -0.101656124, -0.1475775838, 0.4594901502, 0.2152853161, 0.4492454231, 0.0463678837, -0.6547349691, 0.0356813632, -1.1148651838, -0.3038270175, 0.6471784115, 0.3322173655, 0.4164676666, 0.5376117826, 0.0110700419, 0.5868167281, 0.0704149902, -0.0825866684, 0.2223123014, -0.2119887471, -0.1713722348, 0.3485936224, 0.2925804257, 0.0281373654, 0.2425077409, -0.3943379819, -0.252259165, 0.3257982731, 0.4031560719, -0.6796385646, -0.0059839291, 0.0569139011, 0.0645619631, -0.160723865, -0.0029195568, -0.3892576098, -0.6777374744, -0.3810404539, 0.6632726789, -0.5330341458, -0.2503209114, 0.2377666682, -0.0401335098, 0.4291104674, 0.3341574073, -0.7140058875, 0.1242450401, 0.9220740199, 0.1967713237, -0.0934739858, -0.6702845693, -0.575316906, 0.2950857878, -0.113580741, 0.718947351, -0.7209656239, -0.4588866532, -0.3055841029, -0.0684033185, -0.4331694543, -0.4750252962, 0.3528932333, -0.6114709973, 0.1993579268, 0.0025863808, -0.5124247074, -0.276465565, 0.1889700294, -0.3104583323, 0.4423035085, -0.2968710363, -0.9194641113, 0.3322707117, 0.0443338007, -0.6936381459, -0.1287726611, -0.3303923905, -0.8061848283, 0.2643460631, 0.2538269162, 0.1663313061, -0.3980046511, 0.3385123909, -0.1713279337, -0.3525848687, 0.1247930154, -0.7402642965, 0.8304106593, -0.0244268309, -0.4353683591, 0.1880348474, -0.8197247982, -0.4184521139, 0.2917798162, -0.012636113, -0.6330407858, 0.1013218313, -0.5567458272, 0.1899634004, 0.1106902286, -0.4891664088, 0.0516348183, -0.6284093261, 0.075868994, 1.0058399439, -0.107250683, 0.3856875598, 0.1486056745, 0.4639044404, 0.3016524911, 0.1841976941, 0.0758432671, -0.5174931884, -0.910505414, -0.1612655073, 0.0597306304, 0.7950556278, -1.0267343521, 0.4455435872, -0.3992079794, -0.1273536831, -0.6164619923, 0.15973562, 0.6974252462, 0.7014161348, 0.4210908115, -0.4769009948, -0.5062223077, -0.82901752, -0.46034199, -0.184401229, 0.248687014, 0.1539335549, 0.5623067617, -0.2242663354, 1.0060979128, -0.5438044071, -0.0767485723, -0.2794662714, 0.2336474508, 0.0195575841, 0.4861073792, 0.054136049, -1.1326766014, 0.0433009155, -0.2997677624, -0.4533210695, -0.1969717294, -0.2153266221, -0.2730855644, 0.2295469791, 0.54371804, -0.5992945433, 0.6648180485, 0.3246507347, -0.8679141402, 0.8621572256, -0.1730794311, -0.2050296366, -0.8859468102, -0.0721278712, -0.642344892, -0.0134033319, -0.6525537372, 0.0478825755, -0.2551848888, 0.1085210964, -0.1010001227, 0.5783236623, -0.4229813218, -0.177634716, -0.2885559201, 0.0295197479, -0.1873367876, 0.1566567719, 0.0257811025, 0.561329782, 0.4214575887, -0.6986705065, 0.0279831309, 0.3680038452, -0.0115169846, 0.5380871892, -0.2423093319, 0.2032775879, -0.2473294288, 0.1955190152, -1.10663867, 0.1444858313, 0.1690517664, -0.6348383427, 0.5574590564, 0.0705287084, -0.3943286836, -0.4364318848, -0.0868504196, 0.4343700707, 0.1341575235, -0.63109231, 0.8247357011, 0.1395854652, 0.0227841102, -0.9266378284, -0.6390588284, 0.2557473183, -0.1744220406, -0.6382358074, 0.2758835256, 0.1633896828, -0.0411126576, -0.0005704698, -0.4493440092, 0.110161297, 0.398380816, 0.1540372223, 0.2120286226, 0.0037091132, 0.2026582509, 0.0607305132, -0.4448911548, -0.0753499791, -0.5843875408, 0.7609882951, 0.1041845456, -0.4223864079, 0.0370491482, 0.0999371111, 0.3874155581, -0.4063406587, 0.9191333055, 0.5208924413, -0.2630689144, -0.1572173685, -0.7774659991, -0.3301714957, -0.3986191154, 0.4857016802, -0.5005930066, -0.8048919439, 0.7069259882, 0.0487826988, -0.2279160917, 0.2859683335, 0.4888752997, 0.3672798574, 1.0933096409, 0.4624532759, -0.2351229191, 0.4346913993, -0.1822365373, 0.5474643111, -0.6533794999, 0.0858476236, -0.456042558, -0.1372144371, -0.4880258739, -0.3941015601, 0.3413920999, 0.296952039, -0.3376327455, 0.2895048559, -0.2617528141, 0.4998973012, 0.5184331536, 0.205269143, 0.6060063839, -0.043807812, -0.1841411293, 0.5127373934, -0.5838729143, -0.3562669456, 0.8520419002, 0.0054880851, 0.6087350845, -0.0299446862, 0.9039529562, -0.342682153, 0.1902276725, -0.547006309, 0.8990697861, -0.4988502562, -0.5765157342, -0.4597344995, -0.6749324799, -1.255063653, 0.4743636549, -0.1883478016, -0.718339026, 0.1102917343, -0.0211281907, -0.1977838427, 0.4071594477, -0.8901687264, 0.7977278233, -0.2709757686, -0.3665048778, -0.533059895, -0.8413496017, 0.3958449066, 0.0033726306, 0.0632916987, 0.0517194793, 0.1869502813, 0.445489347, -0.7131697536, 0.874147296, -0.2349314243, -0.1721082628, 0.0890453756, 0.2171737999, 0.6688476801, -0.0479679294, 0.2500236332, -0.1703858078, -0.3753800988, -0.5103333592, -0.6067929864, 0.7545871139, -0.8005408645, -1.0048743486, -0.2618463337, -0.5113733411, -0.5510553718, 0.1944121569, 0.2625617683, 0.2659313083, 0.1282889843, -0.3655154705, 0.6081058383, -0.5799129009, 0.0555664934, 0.7279524207, -0.2100239396, -0.2329653949, 1.1625574827, 0.1654902101, 0.2893927395, 0.4208239615, 0.3928864896, -0.0036499507, -0.6321883202, -0.3641639352, 0.3572023213, -0.6198728085, -0.1553653181, -0.5870807171, 0.0129773226, -0.4283355474, -0.0945856646, -0.2950499952, -0.5942102671, -0.2935828865, -0.259765029, 0.1846221685, 0.3203266859, 0.3535871506, 0.1350765824, -0.362116307, 0.3070093691, 0.4520032406, 0.3980859518, 0.3202527463, -0.5968689919, 0.2951136827, -0.1845956296, -0.0589063913, -0.6795476675, 0.2094249874, -0.1168900952, 0.386007458, 0.5176475644, -0.1836832911, 0.9166422486, -0.6317572594, 0.5688000321, 0.3531450927, -0.7466782928, 0.3632309437, -0.151266709, 0.2253075838, 0.5100228786, 0.1226842925, -0.4403475821, -0.7807763815, -0.6820465922, -1.2224494219, 0.6552214026, 0.2241428047, 0.2216016352, -0.1457108855, 0.22496894, 0.4140998423, 0.2128625363, -0.4443983734, -0.1737570018, -0.2253501266, -0.1190386489, -0.202016592, -0.1673385054, 0.1363896579, -0.3458729982, 0.9915112257, 0.1384779513, 0.2503862083, 0.1258662641, -0.5231032372, 0.062333703, 0.2146749943, 0.5531005263, 0.6369653344, 0.0504583456, 0.3576282263, 0.1661487371, -0.6540229321, -0.0747380555, 0.3416825235, -0.42059654, -0.3524292111, 0.4784722924, 0.9646777511, 0.1175545454, -0.3920144439, 0.3863696158, 0.1056639776, 0.1571817398, -0.3698126972, -0.0597570799, 0.1208136529, 0.1437719911, 0.28630656, -0.1290881187, 0.0219262, -0.5870243907, 0.1508006006, 0.5317776799, -0.1545482129, -0.2909176052, 0.5126138926, 0.0573288202, -0.1254556626, 0.8578671217, -0.1540165395, -0.9208375812, 0.6877645254, 0.8939713836, 1.0042948723, -0.4274685979, 0.0365549736, 0.0530031361, 0.2295302451, 0.0070260856, 0.203252241, 0.1434755176, -1.3081511259, -0.3973860443, -0.6905842423, -0.0788903534, -0.1112917885, -0.3751287162, 0.1526885778, -0.2931605279, 0.1186363623, -0.090868108, -0.2345679402, -0.7642820477, 0.2230433375, 0.2188213617, 0.7091598511, -0.7743278742, 0.8046576381, 0.6450119615, -0.6446927786, -0.8302769661, 0.1095705926, -0.2171532065, -1.1106973886, 0.7546470761, 0.1015635729, -0.4749271274, 0.1656021327, -0.701115787, -0.4791767001, 0.9084966779, 0.3945210874, -0.3812338114, -0.0360808112, 0.2588391304, 0.4459887445, -0.2249940038, 0.1923259646, 0.8048879504, 0.510135293, 0.2383730859, -0.7485780716, 0.1072971225, 0.0558431968, 0.0183025301, 0.422085911, -0.4366856813, 0.6434380412, -0.2101919651, -0.1871759593, 0.0760502368, 0.397577852, 0.1238859892, 0.3992421031, 0.8482276797, 0.8576850891, 0.6653297544, -0.0602314249, 1.1302409172, 0.09226311, 0.1333487779, 1.3974577188, -0.3722541332, 0.5502255559, 0.7205325365, 0.0772762969, 0.4454812706, 0.0494069159, 0.1694045216, 0.303730011, 0.3946686685, -0.2393105179, -0.4115327299, 0.073763065, -0.0765552372, 0.6925708055, 0.4122891128, -0.2788310647, -0.361418277, 0.2956810594, 0.2530616224, 0.1442962885, -0.5550314188, 0.8680149317, 0.0233075488, -0.6179475188, 0.5820062757, -0.1041370481, 0.6219634414, -0.630764842, 0.0139935445, -0.3786352575, 0.393596679, -0.2035991699, -0.4941152632, 0.3413228095, -0.1561413109, -0.0826853588, -0.1388164312, 0.8908530474, -0.5093284845, -0.5023669004, 0.5059726238, 0.3588575125, 0.0086629726, 0.0031856133, -0.5563308597, -0.1993017644, -0.138105318, -0.2291731983, 0.3062318265, 0.4481057823, -0.3976569176, 0.7460471988, 0.3423092663, 0.2357207686, 0.1326743513, 0.3453697264, 0.8504805565, -0.6103234887, -0.463431716, -0.8579195142, 0.2791665196, 0.1303229034, -0.226026997, 0.7694257498, 0.3907594383, 0.9446161985, -0.1570852995, 0.457973361, 0.2324188352, 0.4911983013, -0.5482146144, 0.5449519157, -0.3511017561, 0.4623545408, -0.4962012172, -0.6548868418, -0.5851562023, 0.4770168066, -0.9182602763, -0.1780780852, 0.4793096483, 0.8775400519, 0.1046757996, 0.25247401, 0.2379362434, 0.7472484112, 0.2617496252, 0.5417132974, 0.9582942724, -0.1335366368, 0.5739163756, 0.0317607522, -0.0469918847, -0.1044854373, -0.6889356375, -0.5874617696, -0.4976767302, -0.1111611649, -0.4275334775, 0.3953755498, 0.7569460273, 0.2134362012, -0.8576952219, -0.0781958178, -0.5004993081, 0.6327539682, -0.3534948528, -0.2069630474, 0.4667849839, -0.3859717846, -0.3387423754, 0.1823782623, 0.3085415959, -0.1358549148, -0.1969080716, 0.1024334431, -0.5536039472, 0.1295084804, 0.7147481441, 0.1114584357, -0.6711545587, -0.6000925303, -0.3450689912, 0.1773543209, -0.1884633899, 0.9056526423, -0.9570689797, 0.5007930994, 0.5289493203, 0.9001297951, 0.3193387389, 0.0334518105, 0.5810637474, -0.6460327506, 0.1534747183, 0.3364689052, 0.2101081014, 0.3144421279, -0.4345602095, 0.4716655612, 0.4903624356, -0.291959554, -0.7737377286, 0.5800297856, -0.6501789689, -0.6539409757, 1.0276494026, 0.0707185641, -0.0929816589, -0.1740189046, -0.1462900192, 0.5227714777, -0.0283507686, 0.9158042669, 0.6425101161, -0.0243103169, 0.185054183, -0.1700244546, 0.1995694935, 0.9311050773, -0.390984416, 0.2026769966, 0.3483497202, 0.2988053858, 0.1723173708, 0.3777825236, -0.3393972218, 0.0482798629, -0.1422337145, 0.0144061148, -0.0062799607, -0.4293994606, -0.5039795637, -0.2265103757, 0.0438667424, -0.1193699762 ]
http://arxiv.org/abs/2403.00745v1
http://arxiv.org/pdf/2403.00745v1
AtP*: An efficient and scalable method for localizing LLM behaviour to components
2024-03-01T18:43:51
2024-03-01T18:43:51
János Kramár, Tom Lieberum, Rohin Shah, Neel Nanda
cs.LG
cs.LG, cs.CL
Activation Patching is a method of directly computing causal attributions of behavior to model components. However, applying it exhaustively requires a sweep with cost scaling linearly in the number of model components, which can be prohibitively expensive for SoTA Large Language Models (LLMs). We investigate Attribution Patching (AtP), a fast gradient-based approximation to Activation Patching and find two classes of failure modes of AtP which lead to significant false negatives. We propose a variant of AtP called AtP*, with two changes to address these failure modes while retaining scalability. We present the first systematic study of AtP and alternative methods for faster activation patching and show that AtP significantly outperforms all other investigated methods, with AtP* providing further significant improvement. Finally, we provide a method to bound the probability of remaining false negatives of AtP* estimates.
[ -0.0652099624, -0.9554743171, 0.4621969759, 0.6434720755, 0.0992994234, 0.1848925054, -0.1711275727, -0.3701130748, 0.4657449424, 0.2974422872, -0.4826904535, -0.0527847968, -0.4669685662, -0.2037639767, -0.3361715078, 0.3327082694, -0.3513846993, 0.2136607915, -0.1216069534, -0.127983734, -0.0963460207, -0.4185955226, -0.9275085926, -0.8029106259, 0.6606669426, 0.4680707455, 0.3067226708, 0.8635627627, 0.6425886154, 0.2979313135, -0.0579326302, -0.2040863484, -0.3229010403, -0.0190255214, 0.0817141011, -0.811003387, -0.7066616416, 0.2202677876, 0.7958109379, 0.6463593245, -0.0759477243, 0.164668411, -0.4697193205, 0.7705465555, -0.8176238537, -0.0016230552, -0.4971885681, -0.023600433, -0.4120212197, -0.4422774315, -0.559512198, -0.5241808891, -0.2606269419, -0.3044893742, -0.025495952, 0.0550116673, 0.5306614637, 0.1857117265, -0.6868318319, -0.1136349067, -0.6163986921, 1.0830762386, -0.5850328803, 0.1292048842, 0.4951983094, 0.5043723583, -0.2634607553, -0.4765715301, -0.3246863186, -0.2906766832, 0.0381683223, -0.4839443266, -0.1591972262, 0.0802867189, 0.2309579998, 0.6086725593, -0.0396663621, 0.0695359185, -0.1991655827, -0.4492647648, 0.2624536753, -0.1433497965, 0.5597373247, -0.0455522425, -0.6855977774, -0.0317671336, -1.1725401878, 0.064746283, 0.5934841633, 0.3118662238, 0.2784123421, 0.6540982127, -0.1694049835, 0.7065812945, 0.1251986623, -0.114232257, 0.2160682529, -0.4190450013, -0.1864998639, 0.3041534126, 0.4980264902, 0.1827838272, 0.1619702727, -0.0984601229, -0.3935888708, 0.1169408783, 0.1844249517, -0.7039553523, -0.2576723695, 0.2967062593, -0.2131025791, -0.377758652, -0.5567452312, -0.5031996369, -0.1700602621, -0.229471907, 0.5523265004, -0.4908747077, -0.2596590221, 0.149741888, 0.1496268064, 0.0651147217, 0.0921213478, -0.8426206112, 0.3875747919, 0.4254591465, 0.8315032721, -0.1680400223, -0.3820811212, -0.6784359813, 0.0850363672, -0.3256631196, 1.2342208624, -0.6092577577, 0.0713633597, 0.0631417334, -0.0876990259, -0.2753634453, -0.6429155469, 0.1348710507, -0.873726666, -0.2083493024, -0.4291692972, -0.5419399738, -0.1961631626, 0.3770158589, -0.7422126532, 1.0561888218, 0.186202541, -0.3811369836, 0.2695272267, -0.7856642008, -0.4797171652, -0.3691949248, 0.4712745547, -0.5311444998, -0.0734380633, 0.0957540423, 0.171033591, -0.1629453003, 0.0522639379, -0.1903039515, -0.3100748658, 0.3289062679, -0.2584778666, 0.8621220589, -0.0044643329, -0.5633593798, 0.3367168605, -1.2202948332, -0.0036827009, -0.0496823825, -0.5508958697, -0.4273240864, 0.1026396453, -0.1474014819, 0.1553740799, 0.0619368367, -0.5656689405, 0.4485186636, -0.291017741, 0.3990215063, 0.9721946716, 0.1346497983, 0.7465398312, -0.1510296017, 0.6902778149, -0.057883583, 0.0259155426, -0.4123128355, -0.5496096015, -0.7717898488, -0.5386996269, 0.1458700299, 0.4338148534, -0.7753931284, 0.0786095038, -0.1525427401, -0.6905155778, -0.0810288861, 0.1118275896, 0.9438124895, 0.5387854576, 0.4746714234, -0.2306293994, -0.4182299078, -1.060090065, -0.5444559455, -0.3090103269, 0.0429791883, 0.2212701738, 0.4089732766, -0.1675600708, 0.761956811, -0.3655379117, -0.2690936625, -0.1677103192, 0.3343022466, 0.0284652021, 0.7164559364, 0.4929453433, -0.2635599971, -0.551892519, -0.2234206349, -0.3480359316, -0.3075085282, -0.0219181199, 0.0211311579, 0.2067071199, 0.5901593566, -0.4593335092, 0.1243541092, 0.7411916256, -0.4720882475, 0.4283491969, -0.1474384218, 0.4370533824, -0.5434699059, 0.0257733483, -0.0121438345, -0.3928338587, -0.937419951, 0.15323098, 0.4261499047, -0.0323248692, -1.0153825283, 0.5753520131, -0.6415951848, -0.0008577595, -0.0680951551, -0.2445816547, -0.2811872065, 0.7910188437, -0.4095440805, 1.0155158043, 0.5539212823, -0.6184117794, 0.5887455344, 0.0585764237, -0.4165615141, 0.3832481205, -0.3921204507, 0.0496386588, 0.0372441672, 0.6006338, -0.9542346597, -0.1829392165, 0.2380733043, 0.0117643913, 0.4358109534, -0.3905730844, -0.511923492, -0.113352932, -0.6320026517, 1.2757527828, 0.5251395702, -0.7029136419, 0.5346574783, 0.4139464498, 0.0790605545, -0.1658654064, -0.690577507, -0.0665164888, -0.3958654106, -0.8486657143, 0.1178070381, 0.196012646, -0.2913272977, -0.3594052792, -0.0898868516, -0.2346295863, 0.0497690327, -0.0609662235, -0.1803618073, -0.413254559, -0.0647954196, -0.2362241745, -0.5961238146, 0.1204062179, -0.1921965927, 0.6563426256, -0.1141594648, -0.7063627243, -0.3653720021, 0.2881823182, 0.660158217, -0.1385160685, 0.6337345243, 0.2521417141, -0.3348701, -0.0152930785, -0.5889115334, -0.3396362662, -0.5037943125, 0.2481063306, -0.0991638526, -0.3676362634, 0.8025164008, -0.3376641572, -0.3683043122, 0.3743784726, 0.6298958659, 0.150353983, 0.8074577451, 0.5481525064, -0.0484224334, 0.8115296364, -0.294475913, 0.3817901313, -0.9082893729, -0.0136319557, -0.4594479501, -0.6302728653, -0.1798464656, -0.7863942981, 0.379645139, 0.1944722682, -0.1728923619, 0.4942612946, 0.0093137994, 0.7357631326, 0.6787763238, 0.0558348075, 0.2188838273, 0.3048411906, 0.1695102751, -0.0293358788, -0.7788348794, -0.1423282474, 1.1979285479, 0.3410127461, 0.6434727311, 0.320638597, 0.5000513196, 0.1532384455, 0.8244646192, -0.5642900467, 0.5386627316, 0.2549027801, -0.7842983603, -0.403699249, -0.3348110616, -0.8238942623, -0.1040431261, -0.0099400189, -0.9367718101, 0.2907568216, 0.7314892411, -0.1222081855, 0.6585860848, -0.8260025978, 0.8090550303, 0.261597991, -0.4028805196, -0.202926591, -0.3933030069, 0.5869028568, -0.1709287465, 0.2298496813, 0.0179409124, 0.0217918251, 0.6530514359, -0.5617564321, 0.8150840402, -0.2956053019, -0.4291427732, 0.3705956638, 0.2385595292, 1.1359159946, -0.3372033536, -0.1204991117, 0.161627844, -0.4632209539, -0.8517308235, -0.7571876645, 0.8029492497, -0.3463347256, -0.4105001092, -0.2615059316, -0.4198365211, -0.2775965035, 0.1176338792, 0.0279887263, 0.7233841419, 0.2185201049, -0.079703182, 0.779800117, -0.1646703631, 0.4913760126, 0.6822510362, -0.2595335543, -0.2123659104, 1.4689906836, 0.0962485746, 0.6036841869, 0.3593051732, 0.1241737083, -0.0758828148, -0.3864828348, -0.4555376768, 0.2896677852, -0.6872631907, -0.2088416368, -0.4735363424, 0.1543305814, -0.0460948795, -0.414029479, -0.930778563, -0.7317623496, -0.0083916252, -0.0878225639, 0.3354024291, 0.2281664759, -0.2236436009, 0.3698385656, -0.5910420418, 0.3919795156, 0.4286812842, 0.6634595394, -0.0628213957, -0.1621907353, -0.2909867465, -0.0234074965, -0.3217445612, -0.9789942503, 0.1348493099, 0.2919244468, 0.3550263643, 0.2563561499, -0.1280559152, 0.7677096725, -0.782630384, 0.9610163569, 0.2909014225, -0.911565423, 0.6372856498, -0.4680041969, 0.0029403057, 0.345415324, 0.0021942409, -0.1929205507, -0.5501766801, -0.6022752523, -1.2533075809, 0.7001159191, 0.4008386433, 0.0635574237, -0.3234014809, 0.3498252928, -0.29542768, -0.1065173522, -0.6615402699, -0.7440266609, 0.1991472691, 0.2197170407, -0.3192583919, -0.6959748268, -0.2912441194, -0.1038410738, 1.0768162012, -0.0919319838, 0.3956646919, 0.1347196847, -0.3431930542, -0.6388449073, 0.2504520416, 0.9336425066, 0.572237432, -0.3844632506, 0.3970378935, -0.0092189778, -0.2736536562, 0.6715734601, -0.3877016306, -0.1471600235, -0.149991408, 0.5726082325, 0.5179744363, 0.5219465494, -0.6559021473, 0.6296139956, 0.1776173115, 0.0638458431, -0.0260874927, -0.0163603388, -0.0854441747, 0.2128187865, 0.1150383279, 0.4339192808, 0.0833735168, -0.686866045, 0.1792927235, 0.3570737243, -0.6341790557, -0.4235064089, 0.6188451648, 0.2644663751, -0.6093989611, 0.4085617065, -0.0129535859, -0.5765416622, 0.8487999439, 0.7561335564, 0.9199427366, -0.4278851748, 0.0133030722, 0.2827302814, 0.1787786335, -0.334612757, 0.1177185029, 0.0265727099, -0.5303177834, -0.6969302297, -0.5750579834, -0.2352741659, -0.2680122852, -0.4839395881, 0.0058068829, -0.2228091061, -0.0236263536, -0.0945469588, -0.1827990115, -0.1350832433, 0.0217918549, -0.2660458088, 1.1496655941, -1.1660354137, 0.9250406027, 0.7931367755, -0.1185983345, -0.6923939586, -0.0324908532, 0.1302416474, -1.0141916275, 0.9097008109, -0.1238175035, 0.0063604517, 0.1317554563, -0.2292171717, -1.088316679, 1.0089082718, 0.6660419106, -0.2136007845, 0.3969685435, -0.0317058228, 0.3777739406, -0.1214310601, 0.2142439634, 0.6565923691, 0.7763977647, -0.0129481386, -0.7270003557, 0.2236014754, -0.333419323, -0.2063596696, 0.3965273499, -0.6767982244, 1.0027314425, -0.0158788711, 0.050118234, -0.0815197676, 0.2842427194, 0.29264009, 0.1229749396, 0.6402672529, 0.5280796885, 0.5795295835, 0.0378211029, 1.5312786102, -0.5961377025, 0.5892896056, 0.6542081833, 0.1788012832, 0.5753856301, 0.9158928394, -0.5391888618, 0.4393647909, 0.5079116225, 0.2778264284, 0.6032683849, 0.583697319, -0.409781158, -0.3762132823, 0.0891028047, -0.3587090373, -0.2153936177, -0.1268226504, -0.1293859035, -0.1968730986, -0.0975148901, 0.0948279724, -0.1898569912, -0.4362734556, 0.4238372445, -0.0585777946, -0.5989491343, 0.663713932, 0.1187078133, 0.3724810481, -0.6902099848, -0.0873502046, -0.4202656746, 0.3113444448, -0.2573630214, -0.1842063665, 0.4250175059, -0.1871395558, -0.5785533786, -0.6256338358, 0.6490017772, -0.492975086, -0.6299107075, 0.2850134373, 0.0239553433, 0.0510590971, -0.1247408986, -0.2150412351, 0.0257321652, -0.0357396416, -0.7667729259, 0.6048033834, 0.1800329089, -0.3401454985, 1.0725343227, 0.7592297196, 0.2942599952, 0.3728295863, -0.1943633854, 1.0643166304, -0.5412673354, -0.3258880377, -0.9157224894, 0.6320495009, 0.1991603822, 0.0446358174, 0.7768524885, 0.493737638, 0.2884800434, -0.0801471397, 0.2424226105, 0.2028759867, 0.0646053925, -0.7976589799, 0.3931167722, -0.6549429893, 0.8716725707, -0.2206250429, -1.1044881344, -0.6332192421, 0.4581491053, -0.4222474098, -0.2901068926, 0.9298804402, 0.9140765071, -0.3817218542, -0.3255467713, 0.1455115676, 0.5637338758, 0.6180665493, 0.436647296, 0.5183098316, -0.6559040546, 0.3089894652, -0.1733479053, -0.5471862555, -0.3287293613, -1.0541746616, -0.6188094616, -0.2437161803, -0.4881379306, -0.5982365012, -0.0340903327, 0.8593426347, 0.6803378463, -0.9592236876, 0.0115715424, -0.2938717306, 0.4800903797, -0.357431531, -0.1783785969, 0.5655758977, -0.6915479302, -0.4887804985, 0.6075962782, 0.5233514905, -0.2180143148, -0.4476371706, -0.1362993419, -0.3472001553, 0.4074508846, 0.4137776494, 0.5499613881, -0.5228853822, -0.449098587, -0.3232865632, -0.1028421372, 0.2137945592, 1.3706870079, -0.7677212358, 0.3355572224, 0.3258160651, 0.5403635502, 0.4110555947, -0.2636457384, 0.861289382, -0.9545493126, 0.4014717937, -0.0982830375, 0.4660434425, 0.1388740987, -0.1403628141, 0.2949360311, 0.5216359496, -0.5842577815, -1.0224055052, 0.5252802968, -0.9450545311, -0.0547793247, 1.4418001175, -0.4641135037, -0.6003127098, -0.0458261222, -0.0883276835, -0.1739422977, -0.290803194, 1.0201034546, 0.4696810246, -0.1684356183, 0.1563807875, -0.1809131801, 0.6330536604, 0.500041306, -0.4361972511, 0.1555353999, 0.4011910558, 0.3829723001, 0.4268456995, 0.9853358865, 0.0176185388, 0.1635949612, 0.0497456491, -0.0195568465, -0.0721423328, -0.1693034321, -0.2639210224, 0.32733652, -0.1213891581, 0.0679860711 ]
http://arxiv.org/abs/2403.00742v1
http://arxiv.org/pdf/2403.00742v1
Dialect prejudice predicts AI decisions about people's character, employability, and criminality
2024-03-01T18:43:09
2024-03-01T18:43:09
Valentin Hofmann, Pratyusha Ria Kalluri, Dan Jurafsky, Sharese King
cs.CL
cs.CL, cs.AI, cs.CY
Hundreds of millions of people now interact with language models, with uses ranging from serving as a writing aid to informing hiring decisions. Yet these language models are known to perpetuate systematic racial prejudices, making their judgments biased in problematic ways about groups like African Americans. While prior research has focused on overt racism in language models, social scientists have argued that racism with a more subtle character has developed over time. It is unknown whether this covert racism manifests in language models. Here, we demonstrate that language models embody covert racism in the form of dialect prejudice: we extend research showing that Americans hold raciolinguistic stereotypes about speakers of African American English and find that language models have the same prejudice, exhibiting covert stereotypes that are more negative than any human stereotypes about African Americans ever experimentally recorded, although closest to the ones from before the civil rights movement. By contrast, the language models' overt stereotypes about African Americans are much more positive. We demonstrate that dialect prejudice has the potential for harmful consequences by asking language models to make hypothetical decisions about people, based only on how they speak. Language models are more likely to suggest that speakers of African American English be assigned less prestigious jobs, be convicted of crimes, and be sentenced to death. Finally, we show that existing methods for alleviating racial bias in language models such as human feedback training do not mitigate the dialect prejudice, but can exacerbate the discrepancy between covert and overt stereotypes, by teaching language models to superficially conceal the racism that they maintain on a deeper level. Our findings have far-reaching implications for the fair and safe employment of language technology.
[ -0.3813872933, -0.6091331244, 0.6106242537, -0.1162345707, 0.1204738915, -0.2311318368, -0.3185423613, -0.6379057169, 0.4523181319, 0.7619265914, -0.1113876253, -0.0986632034, -0.4101186395, -0.4230415523, -0.5947864056, 0.7796183825, 0.5348159075, 0.2924529016, 0.2468032837, -0.1780066192, -0.2518752813, -1.0044157505, -0.5561189055, -0.2971682847, 0.426564604, 0.3300036788, 1.0054154396, 0.3944597542, 0.0512282662, 0.3019858003, -0.0002083164, -0.5439617634, -0.4646502137, 0.2263723463, -0.3556292355, -0.833635807, -0.1045446396, 0.2902156115, -0.0599066988, 0.9727301598, -0.1051293388, -0.1369906813, -0.3120369613, 0.6477944851, -0.5134208202, -0.0150814177, -0.8573637605, -0.2127483636, -0.5599964261, 0.5041114688, -0.3849196732, -0.4716083705, -0.1598065197, -0.2499849349, 0.6393550038, 0.1924456805, 0.8645756245, 0.1108854562, -0.7426105142, -0.2773146927, -0.8247466087, 0.7033730149, -0.9236217737, 0.4586587548, 0.6368494034, 0.5605612397, 0.3085089326, -0.3320696056, -0.9030394554, -0.6409990788, -0.1265466958, 0.083808884, 0.2201058716, 0.2229051739, 0.439666152, 0.2068862468, -0.5498154163, 0.1458899975, -0.7287532687, -0.2112209499, 0.7216482759, 0.1814278215, 0.3267606497, -0.1241328865, 0.0528946854, -0.086840868, -0.5981182456, -0.0722204074, 0.6191551685, 0.5168614984, 0.0747941956, 0.3561814725, -0.1146272197, 0.2764668763, -0.2945891023, 0.2079877555, 0.0774465725, 0.1185586154, 0.0832185149, -0.0156027889, 0.4013070166, 0.497867018, 0.8564897776, -0.1154543161, -0.1935148984, 0.8222976327, 0.3367645741, -0.4127136767, -0.1082576066, -0.0164864492, -0.1472301781, -0.1760580242, 0.0488613322, -0.8827953935, -0.6889847517, 0.0429230593, 0.0964004472, -0.3127031326, -0.2083974779, 0.1723994762, -0.4848297834, 0.1455899924, 0.1641193181, -0.967875123, 0.2626023293, 0.7777454257, 0.377363503, 0.2400818318, -0.1619642824, 0.1675607264, 0.1122620553, -0.5182862282, 0.1664714068, -0.6662580371, -0.3247898221, 0.2892324328, 0.0694900975, 0.1160751432, -0.6422773004, 0.6405044198, -0.3503725231, 0.135117054, -0.4042622447, -0.1986836046, -0.2557072639, -0.019678954, -0.4361252487, 0.6028717756, -0.0574134812, -0.5597782135, 0.5256941319, -0.2081923932, -0.4939204454, -0.0991818681, -0.1536171436, -0.4699860811, 0.317809552, -0.0696183369, 0.0341142863, -0.1838740855, 0.3167233467, -0.739916563, -0.3052709997, 0.3049708903, -0.2392597198, 1.1404541731, 0.325707078, -0.6620151997, -0.4901432693, -0.4880171418, -0.3932585418, 0.2630197108, -0.0155787133, -0.8007664084, 0.077725172, -0.3452875614, 0.1231277958, -0.2665601075, -0.830132246, -0.0292289946, -0.4777435958, 0.1327071339, 0.7605878711, -0.2077485174, 0.5844805837, -0.4868305027, 0.4704428613, -0.2152331769, 0.3380996287, 0.20542337, -0.6206975579, -1.3034018278, 0.1895980984, 0.0677068755, 0.4701539874, -0.4150092304, 0.1600710303, -0.0335807204, -0.313670367, -0.5206159353, -0.113048777, 0.2366086692, 0.3995648324, 0.2708582282, -0.2514383197, -0.3072338104, -1.0783588886, -0.6613391042, -0.4933202267, -0.0630131885, 0.4963435829, 0.344784081, -0.1946703792, 0.7561783791, -0.317712903, -0.319383055, -0.1724036187, 0.2019455284, 0.0619578809, 0.3117308021, 0.8471364975, -0.4798115492, -0.4578403234, -0.0091644637, -0.4769967496, -0.3882050216, -0.0350739434, 0.0331565365, 0.1600951552, 0.5913412571, -0.4891684949, 0.4470437169, 0.2613568902, -0.5587330461, 0.5706237555, 0.3406232297, 0.0096165258, -0.7011735439, -0.289444983, -0.1414598227, 0.0667912737, -0.7144280076, 0.2559414506, -0.0358419567, -0.4065500796, -0.049746938, 0.7276565433, -0.299148351, 0.1698708832, -0.0378282629, 0.0076461392, 0.3022698164, 0.2532983422, 0.0485219546, 0.3775342703, 0.3847505748, -0.3872420788, 0.1648618132, -0.0169386473, -0.4493919611, 0.257735163, -0.517244637, 0.2283455133, -0.4701098502, -0.0387929752, -0.8244056702, 0.0035974905, -0.2279425114, -0.5736100078, 0.3202658296, -0.1313950121, 0.3137063086, -0.5422670245, -0.1961979866, 0.2302503288, 0.6490046978, -0.2775921524, 0.3129649758, 0.3506883085, -0.5580479503, -0.6005159616, -1.2046880722, 0.1424316913, -0.1485071033, -0.6317443252, 0.0970998257, 0.2995224297, -0.9986122847, -0.2109816074, 0.0685830563, -0.2022472471, -0.0789033845, 0.2916499376, 0.0923931748, -0.1864528656, 0.0548729077, -0.0457901247, 0.1678647697, 0.277972877, -0.0169881955, 0.3384248018, 0.4660801888, -0.3923527896, 0.2625951469, 0.6239568591, 0.7694603801, -0.0622801967, 0.7587122917, 0.0568471253, -0.0539068915, -0.5210501552, -0.9875227809, -0.5715354681, -0.4427983761, 0.5024240017, -0.1519201845, -0.689512372, 0.5042504072, 0.3026487827, -0.0462161601, -0.034749683, 0.2990523279, -0.2111549079, 0.861158967, 0.8132251501, -0.3296735883, 0.7119014263, -0.197157383, 0.3827611506, -0.2407758683, -0.1588454843, -0.8846642971, -0.0987824574, -0.4429703355, -0.3375590444, 0.3288972676, -0.0600238629, -0.3075819016, 0.0491947904, -0.1715853363, 0.4905199707, 0.6267108917, 0.0871129334, -0.1442513764, -0.0218721367, -0.2853743136, -0.2628086507, -0.339886874, -0.4606744647, 1.0097333193, 0.3172751665, 0.8706429601, 0.2412405014, 0.5210460424, 0.5000224113, 0.339869827, -0.5078536272, 0.4786309898, -0.1378623396, -1.1964156628, -0.3446836174, -0.2659088075, -0.7486987114, 0.1658701301, 0.0434835218, -0.5558822751, 0.7495622635, 0.3392121792, -0.0352763273, 0.1692717671, -0.9849079847, 0.7689621449, -0.3316972554, -0.3778312206, -0.4345938563, -0.5661454201, 0.5758550763, -0.1153096408, 0.4938452244, -0.2060513198, 0.3574793339, 0.3745692074, -0.8176667094, 0.9471669197, -0.3399404883, 0.1166988164, -0.0383876376, 0.3857802153, 0.5387020707, -0.2408056557, -0.6613848209, 0.3715796173, -0.580085218, -0.5280866623, -0.5957030654, 0.3656741679, -0.6786109209, -1.0120594501, -0.3475985527, -0.2930208743, -0.216758579, 0.0242995676, 0.232216686, 0.2182353735, -0.2471685708, -0.2670578957, 0.2651937008, -0.4223769307, 0.1906716526, 0.6360504627, -0.138162151, -0.0376980416, 0.7962456346, 0.0356293917, 0.7197895646, -0.024447849, 0.2154679596, -0.187605381, -0.4540133774, -0.0480258875, 0.4866423905, -0.7290953994, 0.0383357964, -0.5070416927, -0.009764092, -0.906426549, -0.5217689872, -0.2216496468, -0.7736795545, 0.27030918, -0.2245747298, 0.132176742, 0.8955059052, -0.1163142473, 0.3525974751, -0.1602346152, 0.363258332, 0.8430244327, -0.00875556, -0.0890075564, -0.9082514644, -0.193248719, 0.1706619859, -0.1995598078, -0.9748391509, 0.4034291506, 0.1618755907, 0.550637424, 0.6358630657, 0.3843876421, 0.1619063914, -0.494263649, 0.8814166188, -0.0449632816, -0.7890465856, 0.3644636571, -0.244839251, -0.1872138828, 0.5255074501, 0.5382934213, -0.773899436, -1.0243270397, -0.3871318102, -0.7292428017, 0.7528874874, -0.0648305267, 0.534723103, -0.1797290593, 0.0918213651, -0.0795142055, 0.0644681826, -1.070148468, -0.4210087359, -0.6939983964, 0.1053127125, -0.2578295767, -0.5940805674, -0.0462300852, -0.3289138675, 0.5645573735, 0.171992287, 0.0200373158, -0.122291021, -0.1504817903, 0.0232271142, 0.4713695049, 0.3948711753, 0.3542711437, -0.1339119375, 0.2319752574, -0.024429569, -0.2437768728, 0.343960315, 0.009238312, -0.4393451512, 0.1692808419, 0.4027793705, 0.837356329, -0.458001703, -0.2369818687, 0.5841579437, 0.1528957039, 0.0375905633, -0.2525491416, 0.0289526451, 0.0422785021, 0.1559819132, 0.1684356928, 0.1038728654, 0.2950861454, -1.1309463978, 0.0148226786, 0.8067097664, -0.2577227652, -0.3220126629, 0.8300510049, 0.5645834208, -0.3817324638, 0.5845551491, -0.1424329728, -1.0564391613, 0.6564347744, 0.4881727397, 0.8265427351, -0.6410982609, 0.1172707304, 0.1968789846, 0.7791146636, 0.2259036899, -0.0484179631, -0.0104457838, -1.1848016977, -0.0247866306, -0.7561665177, -0.2474898398, 0.017070381, -0.4844742417, 0.2790125906, -0.4047475159, -0.3174508214, 0.0505359583, -0.3524235487, -0.189858526, 0.2462245077, 0.3743847311, 0.7876683474, -1.2048227787, 0.9187550545, 0.3939811587, -0.4405061007, -0.5655369163, 0.2373430282, 0.1898651719, -0.7588600516, 0.8903018236, 0.1122638583, 0.0542324968, -0.2979412675, -0.2491256744, -0.371371448, 0.207581684, 0.6930705309, -0.4966156483, -0.2341573536, 0.607242167, 0.4145498872, 0.0056628957, 0.4378311932, 0.6392182708, 0.5174080729, -0.1444860399, -0.9906109571, -0.1150797755, -0.2190581113, 0.0378291942, 0.1096948907, -0.5795403123, 1.1443414688, -0.3361509144, -0.2199415267, -0.2812066078, 0.1822686195, -0.3308104575, 0.153355211, 0.4812461138, 0.4806502163, 0.4747911394, -0.1805055737, 0.9995322227, -0.1902769506, 0.0340131968, 0.810061872, -0.530005753, 0.1523636431, 0.2017105967, -0.2525625527, 0.6996446848, -0.0312748738, 0.3687222302, 0.4758930504, 0.2747517526, -0.4208520949, -0.1846949309, -0.2256012857, -0.3245535493, 0.4695539176, 0.563233614, -0.3797540367, -0.041560851, 0.0061031291, 0.1645266712, 0.5544965863, -0.2395484149, 0.4534884393, 0.1399908811, -0.5636237264, 0.6812907457, -0.0355403386, 0.7376689315, -0.5866779685, 0.108803086, -0.7950136065, 0.3305858672, -0.0756897628, -0.1955411285, 0.3728829622, -0.3229146302, -0.3439412713, -0.0748371109, 0.4556213915, -0.5591808558, -0.2926437557, 0.5073999763, 0.2028706968, 0.1164772063, -0.2638990581, -0.684214592, -0.0272431877, 0.2037745118, -0.0235328674, 0.0934590697, 0.4385762513, -0.2528502941, 0.6622443199, 0.3904117644, 0.6614236832, 0.4492401481, 0.3512612879, 0.627859652, -0.8947826624, -0.5565187335, -0.645581305, 0.2822744548, -0.3472200036, 0.1384607553, 0.8057586551, 0.3382095397, 0.9467138052, 0.0246584322, 0.9196207523, 0.0020385522, 0.7455444336, -0.3564486206, 0.8770796061, -0.4705075622, 0.2520444691, -0.4573003352, -0.7737317681, 0.0447884575, 0.5925127268, -0.437835604, 0.4967494011, 0.6859286427, 1.1769567728, 0.000006928, -0.0643361583, 0.7154507637, 0.4959619939, 0.1929233968, 0.2462798655, 0.9312415719, 0.0083904648, 0.4368000031, -0.457003057, -0.1593837738, -0.2806921601, -0.2714156806, -0.9435225725, -0.3197578788, -0.0430245623, -0.3310060501, 0.3903729916, 0.3306649923, 0.8777102828, -1.0008757114, -0.476716131, 0.0830752775, 0.130650878, 0.1503982395, -0.3366562426, -0.3599205017, -0.2737011015, -0.8249462247, 0.271689415, 0.0718009099, 0.1502988487, -0.2665096521, -0.0235405881, 0.0842844099, 0.4157454073, 0.385086447, 0.487632513, -0.7540878057, -0.2916368544, -0.3435033858, -0.2751311064, -0.3230937123, 1.065849185, -0.5896251798, 0.5249605775, 0.2063874453, 0.1822661012, 0.3884036243, -0.0772817507, 0.8790260553, -0.801997304, 0.74426651, 0.5577605367, 0.5628516674, 0.3006888032, -0.3607314229, 0.3625845313, 0.3976281285, -0.4910120964, -0.9212446809, 0.5766506195, -0.2271860838, -0.5426748395, 0.9706327319, 0.0762228519, 0.0921950713, -0.668408215, -0.0406679809, 0.1176323816, -0.4179156721, 0.9934998155, 0.4658625424, 0.137125507, 0.012093652, -0.531063199, 0.758539021, 0.8964586258, -0.3532681167, 0.3455314636, 0.6779915094, 0.0959977731, 0.2576196194, 0.5013872981, 0.1349389404, 0.2021624148, 0.2656226754, 0.4721872509, 0.0271836407, -0.2417436987, -0.3511742949, -0.0604752712, 0.3010219336, 0.0871574953 ]
http://arxiv.org/abs/2403.00724v1
http://arxiv.org/pdf/2403.00724v1
Few-Shot Relation Extraction with Hybrid Visual Evidence
2024-03-01T18:20:11
2024-03-01T18:20:11
Jiaying Gong, Hoda Eldardiry
cs.CL
cs.CL, cs.CV
The goal of few-shot relation extraction is to predict relations between name entities in a sentence when only a few labeled instances are available for training. Existing few-shot relation extraction methods focus on uni-modal information such as text only. This reduces performance when there are no clear contexts between the name entities described in text. We propose a multi-modal few-shot relation extraction model (MFS-HVE) that leverages both textual and visual semantic information to learn a multi-modal representation jointly. The MFS-HVE includes semantic feature extractors and multi-modal fusion components. The MFS-HVE semantic feature extractors are developed to extract both textual and visual features. The visual features include global image features and local object features within the image. The MFS-HVE multi-modal fusion unit integrates information from various modalities using image-guided attention, object-guided attention, and hybrid feature attention to fully capture the semantic interaction between visual regions of images and relevant texts. Extensive experiments conducted on two public datasets demonstrate that semantic visual information significantly improves the performance of few-shot relation prediction.
[ -0.4207968414, -0.9458209872, 0.6600160599, -0.2838962972, -0.4676349461, -0.2418464422, -0.0178978387, -0.7631771564, 0.1894384623, 0.4289791286, -0.8289401531, -0.2672091722, -0.6278365254, 0.1907743812, -0.0978365391, 0.9238625765, 0.2601765096, 0.1235563233, -0.2721551657, -0.1245710105, -0.391212821, -0.204501614, 0.1143648028, -0.2472954094, 0.6197511554, 0.4250441194, 0.6603505015, 0.5417480469, 0.7572728395, 0.3341983557, 0.225704968, 0.3602384031, -0.6745853424, 0.0991820842, 0.0352247581, -0.2960435152, -0.2369600832, 0.0466971919, 0.7000836134, 0.2011849582, 0.421523869, 0.121318616, -0.2412518263, 0.1755019128, -1.0149717331, 0.36183092, -0.6984854937, -0.1561956257, -0.5380782485, -0.363735646, -0.3825629056, 0.2756485641, 0.3602915108, -0.8198667169, -0.068757996, 0.2007923126, 1.1791404486, 0.0817398131, -0.6881716251, 0.3440075517, -0.7106825113, 0.7839276195, -0.3202126324, 0.5635489821, 0.4159134626, 0.4515762925, -0.2147511989, -0.3717433512, -0.7010717392, -0.0566045791, -0.542449832, 0.2877525985, -0.1177688316, 0.0316426829, 0.229719162, 0.2434103489, -0.2456140071, -0.1798280627, -0.3671451211, -0.2039099336, 0.4242582619, 0.3777741194, 0.1897863001, -0.8455032706, -0.9611081481, 0.0603437573, -0.551412344, 0.0509148277, -0.1958504915, 0.22301431, -0.3002755344, 0.9559063911, -0.2048944235, 0.8025099635, -0.1517235637, -0.9540293813, 0.1277690977, -0.7495715618, -0.4088181853, -0.3355047405, 1.0958338976, 0.2457211465, 0.1005666181, -0.128615573, -0.1158903763, 0.2499543577, -0.2191558778, -0.7637024522, -0.0282753445, -0.2200392932, -0.6952679753, -0.2501740456, 0.2276806682, -1.1341087818, -0.2810009718, -0.2030777484, 0.4933624864, -0.6588252783, -0.3228002489, -0.4158600569, -0.6008356214, 0.399763912, 0.3601906896, -0.7722920179, 0.1686268002, 0.5489386916, 0.7382688522, -0.3082304895, -0.5665003061, -0.8004467487, 0.6710141301, 0.2966889739, 1.0655038357, -0.8825300336, -0.2718622386, -0.0922911093, 0.0041901283, -0.1732650995, -0.1943812221, 0.1704703122, -0.4928907752, 0.4462403655, -0.1822797954, -0.5178778172, -0.0489046127, 0.3245935738, -0.8188480139, 0.9115024209, 0.0604251176, -1.0150405169, 0.577547133, -0.3593126237, -0.3451880515, 0.0660845265, -0.6587116718, -0.41586712, -0.1591098756, 0.2382485867, 0.5367601514, -0.4127402604, -0.212621361, -0.4583827555, -0.0777008533, 0.1835965365, -0.2087080181, 0.3830933571, -0.1158238873, 0.1678836048, 0.0737134442, -0.9472622275, -0.4311726391, 0.2005414814, -0.3684802651, -0.6065584421, -0.322907418, 0.2499830425, 0.5573749542, -0.026790848, -0.7844869494, 0.0809445605, -0.4073093235, -0.1819948852, 0.4093362391, 0.5166974068, 0.7175658345, -0.1940735579, 0.5354460478, 0.4512207508, -0.0256302413, -0.7098758221, -0.5235638618, -0.5885562897, -0.7140777111, 0.1719740331, 0.372164607, -1.2164561749, 0.1184497476, -0.3828061223, -0.0163418334, -0.2999100089, 0.5486775637, 0.4865370691, 0.5674415231, 0.3428473473, -0.1542177349, -0.4193588495, -0.9872220159, -0.1455232948, -0.1262546778, 0.2021450549, 0.3947520554, 0.6904675364, -0.0572669134, 1.3127955198, -0.6720043421, -0.8800961971, -0.3801013231, 0.3568670452, -0.1494937837, 0.2048803717, 0.5708268285, -0.8474174142, -0.1360569447, 0.0953144133, -0.9001951218, 0.6026637554, -0.1493993998, -0.3688451648, -0.0668883845, 0.1539373249, -0.8397749066, 0.5084322095, 0.1275212318, -0.2300972342, 0.3194205463, 0.2266700268, 0.119115606, -1.1233320236, -0.2737608552, 0.4488646388, -0.4957448542, -0.3685475886, -0.156486243, 0.0153054222, -0.0116604799, -0.778608501, 0.6274855733, -0.5881097317, -0.2120049298, -0.2093438208, 0.2648985386, 0.1074283868, 0.495139122, 0.2833611071, 0.349579215, 0.4583737552, -0.3105415404, 0.4324586987, 0.5288926959, -0.0227478426, 0.5506008267, -0.1036999077, -0.1299283952, -0.243486613, 0.1688856781, -0.8083716631, -0.4811565876, 0.2646148205, -0.3265177906, 0.3290541172, -0.3867898583, -0.4190096855, -0.1286369562, -0.4786885083, 0.3815783262, 0.0349296927, -0.328265816, 0.770134151, 0.3286517859, 0.1057397351, -0.4686266482, -0.7458044887, -0.0932332352, 0.0119312434, -0.7024347782, 0.2843678892, 0.5487676859, -0.0730819479, 0.2905713916, 0.0277220309, -0.574534297, -0.1976445168, 0.3304826915, 0.7405225635, -0.4197930992, 0.4230981469, -0.125144437, -0.3232030869, -0.2476081103, 0.3754880428, 0.1204136014, -0.0027643302, -0.0336350016, -0.5826127529, 0.6399630308, 0.6327352524, -0.3628662527, 0.7665452957, 0.8203371763, -0.6582529545, 0.2049469054, -0.5874001384, -0.4385115206, -0.3383080065, 0.3250235915, -0.6823281646, -0.7106662393, 0.2045698017, -0.2839942873, -0.3168956041, 0.4728882909, 0.4283212423, -0.2246114314, 0.6945763826, 1.0062055588, -0.0600544363, 0.6735836267, -0.4681268036, -0.0940016508, -0.649392128, -0.4307581484, -0.1282189935, -0.1399765909, -0.2901219726, -0.1214944869, 0.586815536, 0.0638579652, 0.3181242943, 0.5659613609, 0.0001040358, 0.5706219077, 0.4179475307, 0.3864020705, 0.6695670485, -0.1234453693, 0.0165799614, -0.3739048541, -0.6327229142, -0.3376662135, 0.7794371247, 0.2499650866, 0.8450819254, 0.1365128607, 0.9618512988, -0.1823089421, 0.1336486936, -1.1063606739, 0.2947220206, 0.0526808575, -0.6793413162, -0.2008313984, -0.3250940442, -0.8777102232, 0.5657384396, -1.123801589, -0.6993068457, 0.3429422677, -0.1015420109, -0.5233116746, -0.1016745493, -0.7540582418, 0.9625168443, -0.2090454996, -0.4669991434, -0.1094941571, -0.7935492396, 0.8264347315, 0.0283124316, 0.0797966719, -0.1905024201, -0.0941876099, 0.7173089981, -0.314933002, 0.8241055608, 0.2062725425, 0.3820399642, 0.0505872741, 0.05678799, 0.2706735432, -0.0519159958, 0.2479422837, -0.1113578752, 0.1533489674, -0.1741067469, -0.4972013235, 0.4878573716, -0.4714684784, -0.1392778158, -0.5038161278, -0.4515171945, -0.1875083297, 0.3617681563, 0.3986838162, 0.3763232529, -0.3481250405, 0.0076509626, 0.2188754231, 0.3065019846, 0.7895644307, 0.1537405401, -0.1266281605, -0.5845409036, 0.7710080147, -0.058372844, 0.2551953793, 0.47747913, 0.2305718064, -0.1089821458, 0.0646652877, -0.4993675947, 0.4679223597, -0.7015200853, -0.5887958407, -0.5767451525, 0.0286107976, -0.311842978, 0.1014088467, -0.3618813455, -0.2920866907, -0.4556671381, 0.124758482, 0.5452579856, 0.5707476735, 0.3400374353, 0.3859994709, -1.1880683899, 0.9296525121, 0.4999755621, -0.1391437203, -0.3222728074, -0.1393968016, 0.0032341373, -0.367685467, -0.4260656536, -1.2313867807, 0.3182998896, 0.4109013975, 0.440067023, 0.7000177503, -0.0580741502, 0.8854683638, -0.2819295228, 0.6145669818, 0.8173813224, -0.6185944676, 0.7626571655, -0.2815940082, 0.2010722905, 0.6816471815, 0.3455993533, 0.0138437971, -0.0916416943, -0.5196441412, -0.2171910852, 0.7805120945, 0.3203981221, -0.1755185574, 0.1642123908, 0.125188902, 0.2259617746, 0.1778498739, -0.9173384905, -0.2375345677, 0.1548321247, -0.126500234, 0.3083140552, -0.2707297802, -0.3140625358, -0.3383826911, 0.2196055949, -0.2611735761, 0.2592969537, 0.1372292787, -0.4491730332, -0.2556245625, 0.2928853333, 0.4039638042, 0.5797687769, -0.2164431065, 0.3089160025, 0.0646686703, -0.0865640268, 0.0831694081, 0.1042450741, -0.0991836414, 0.1749850363, 0.6988916993, 0.6395688057, 0.5697507262, -0.3061826825, 1.1411597729, 0.0970618427, -0.01909706, 0.0428465642, -0.1142588854, -0.0945372507, 0.4358354807, 0.157246843, 0.1963182092, 0.2519415915, -0.8556466699, 0.4243834317, 0.5505252481, -0.262604326, -0.2549203932, 0.3952904642, 0.352432847, 0.075171642, 0.2038308233, -0.1151629388, -0.4536269307, 0.179143697, 0.5194987059, 0.6724276543, 0.3105897307, 0.2115216404, 0.2488265038, 0.1402278394, 0.0249108095, -0.0056628766, -0.2518298626, -0.7733140588, -0.3816122711, -0.4688723683, -0.2085023224, 0.0117477654, -0.4653812051, 0.7192071676, -0.3738802671, -0.2576952279, 0.3334871829, -0.2036948502, -0.7821350098, 0.021885775, 0.4064842165, 0.4724685848, -1.0003743172, 1.0017052889, 0.5524608493, -0.9786636233, -0.480819881, -0.1755491644, 0.3371647298, -0.6236831546, 0.8420215249, 0.1238963306, -0.3876739442, -0.2196665108, -0.4697816372, -0.7538622618, 1.1931377649, 0.4962287247, -0.3836955428, -0.026807854, -0.129791528, 0.1499320269, -0.7131019235, 0.2337101996, 0.5866365433, 0.4538804889, 0.4304634929, -0.7328724265, -0.0206787046, 0.0580472276, -0.0504001118, 0.3205698133, -0.5471246839, 0.5863264203, -0.2707082629, -0.3897651732, 0.0302908979, 0.8047614098, 0.128700614, 0.4258750081, 0.4427945614, 0.3721332252, 0.4181115031, 0.045900844, 1.0789005756, 0.1950470209, 0.4545862675, 1.2981590033, -0.241762504, 1.0387284756, 0.8016819358, 0.0775168985, 0.4844428003, 0.3920791745, -0.0782527775, 0.7206345201, -0.5795654058, -0.2464908212, -0.6830798984, -0.2773948014, -0.1091864035, 0.8901693225, 0.0682096481, -0.5489328504, -0.5019627213, 0.2272292376, -0.1292777508, -0.2442731559, 0.0886500925, 1.2395817041, 0.1446438879, -0.2462993115, 0.3199889362, -0.2183093578, 0.7293869257, -0.4883713126, -0.3084379733, 0.313675195, -0.019662872, -0.377420634, -0.3972297609, -0.0756208748, -0.1631981432, -0.5265854001, 0.2394757122, 1.1195827723, -0.7143978477, -0.5062875152, 0.3335063159, 0.8855499029, -0.1073637456, 0.01852029, -0.5726673007, -0.101428926, -0.3112743199, -0.1301920265, 0.3278545737, 0.3694687784, 0.1750274897, 0.3289733529, 0.6303769946, 0.0795879662, 0.2199836969, 0.0231632702, 1.071865201, -0.8147233725, -0.2563220561, -0.8894580007, 0.5779171586, -0.3035016954, -0.5117182136, 0.4069685936, 0.3615082502, 0.4539686441, -0.1463314444, 0.6685140133, 0.0896335244, 0.2093769461, -0.6750269532, 0.2759439051, -0.5588663816, -0.0751787871, -0.4030589163, -0.9572119117, -0.3537487984, 0.3828064799, -0.1729156673, -0.3160960376, 1.0541477203, 0.648643434, -0.3832089305, -0.0473882034, 0.5218046308, -0.1358333975, 0.1173649654, 0.5542267561, 0.9570379257, -0.6621564627, 0.7919291854, -0.606595695, -0.2410318106, -0.1278903186, -0.8600073457, -1.0430397987, -0.4472557902, -0.4262065589, -0.1221364662, -0.2991372943, 0.9812409878, 0.8517949581, -0.4197086096, 0.1164264679, 0.3829805851, 0.1450655162, 0.0370881632, -0.2643915117, 0.22571446, -0.1128175333, -0.4902646244, 0.4674127102, 0.6449487209, 0.2038408965, -0.1292623878, -0.0306319688, -0.7007406354, -0.3584288955, 0.8202219605, 0.1200874597, -0.8303750157, -0.3176662922, -0.0704192296, -0.2467695773, 0.2889705002, 0.8557241559, -0.781272471, 0.5839189291, 0.7146216035, 0.6080464721, 0.8300248981, 0.1060249954, 0.4598529339, -0.8542720675, 0.4063866138, 0.0739240944, 0.5002339482, 0.1779212356, -0.4380027354, 0.2437991202, 0.5709642768, -0.0511162207, -0.3940714002, 0.276171118, -1.3465943336, -0.0746706203, 1.2880284786, -0.0588091575, -0.3953928351, -0.1437747031, -0.2836917043, 0.0997551084, -0.6455099583, 0.18798168, 0.6539573073, -0.4460327029, -0.6070632339, -0.3621344566, 0.3647179604, 0.1206817031, -0.920643568, -0.2537116408, 0.8105605245, 0.1217399016, 0.2803285122, 0.4910876751, -0.1238033473, 0.4706351459, 0.0997707546, -0.1492212862, -0.0977196768, -0.4660853744, -0.2380216271, 0.3147561848, -0.2160729617, -0.5442904234 ]
http://arxiv.org/abs/2403.00696v1
http://arxiv.org/pdf/2403.00696v1
Self-Consistent Decoding for More Factual Open Responses
2024-03-01T17:31:09
2024-03-01T17:31:09
Christopher Malon, Xiaodan Zhu
cs.CL
cs.CL
Self-consistency has emerged as a powerful method for improving the accuracy of short answers generated by large language models. As previously defined, it only concerns the accuracy of a final answer parsed from generated text. In this work, we extend the idea to open response generation, by integrating voting into the decoding method. Each output sentence is selected from among multiple samples, conditioning on the previous selections, based on a simple token overlap score. We compare this "Sample & Select" method to greedy decoding, beam search, nucleus sampling, and the recently introduced hallucination avoiding decoders of DoLA, P-CRR, and S-CRR. We show that Sample & Select improves factuality by a 30% relative margin against these decoders in NLI-based evaluation on the subsets of CNN/DM and XSum used in the FRANK benchmark, while maintaining comparable ROUGE-1 F1 scores against reference summaries. We collect human verifications of the generated summaries, confirming the factual superiority of our method.
[ -0.2608155608, -0.3677402437, 0.5792845488, 0.2943501472, -0.1295204908, -0.0926270112, -0.3353345394, -0.3781152964, 0.3716716468, 0.4514354467, -0.3081766367, -0.4301811159, -0.3278582096, 0.5816965699, -0.2964782715, 1.0300301313, 0.0025228027, -0.0226395018, -0.3664398789, -0.2372926474, -0.0963031426, -0.6340004802, -0.1827729344, -0.0669038668, 0.5013773441, 0.4320221245, 0.5761423707, 0.8180544972, 0.5969260931, 0.2765836418, 0.2221236527, 0.3927608132, -0.5724733472, 0.1218644008, -0.25113976, -0.4586144686, -0.3514644802, 0.1387200952, 0.4329237938, 0.3125070333, -0.2895739675, 0.1965981275, 0.050532952, 0.7075586915, -0.9445952177, 0.0274602957, -0.5792486668, 0.0233229399, -0.1808588356, -0.3505522311, -0.7674838305, -0.5850275755, -0.233628571, -0.3027852774, 0.710642159, -0.1034228578, 0.7170854807, 0.3879538774, -0.1896461844, -0.5541765094, -0.8452655673, 0.5753634572, -0.701880753, 0.3951132596, 0.3429815471, 0.303920716, 0.0307124257, -0.6314060092, -0.7477678657, -0.1779297292, -0.3074259162, 0.5319295526, -0.0837559327, -0.0016355183, 0.1960006803, 0.4264001548, -0.5811966062, -0.3436344862, -0.5103635788, -0.4509421289, 0.6780877113, 0.1740667969, -0.0019606987, -0.3616197407, -0.2634948194, -0.4140358865, -0.5587407351, 0.1192260161, 0.3873115182, 0.4663231969, 0.1170698628, 0.8807677031, -0.525829792, 0.6039332151, 0.3400353193, 0.0129781282, 0.3461780548, -0.7307499647, -0.2688604593, 0.0992174521, 0.8513096571, 0.3697254956, 0.1333935559, -0.21407938, -0.1064498276, -0.0231141448, 0.198484689, -0.8073309064, -0.3373553455, 0.4587158263, -0.6758241057, -0.0903602839, 0.5933596492, -0.8003270626, -0.0137662617, -0.1985213906, 0.1267174929, -0.2454782724, -0.2800264657, 0.3323706388, -0.1393599212, 0.239061296, 0.3740639091, -0.8117645383, 0.4208844304, 0.3968435526, 0.7938255668, -0.2120256573, -0.1720495671, -1.0447750092, -0.068369396, -0.5768864155, 0.8747102618, -0.2586431205, -0.1498734504, -0.1058915257, -0.2122516334, 0.1106519327, -0.7724081278, 0.4323441684, -0.5500876904, 0.2955280542, -0.6802110672, -0.4393332303, 0.1773215681, 0.3211108148, -0.7895721793, 0.9312132597, -0.0718891248, -0.7715726495, 0.3966207504, -0.3724130392, -0.1512642056, -0.3242275715, -0.3033944964, -0.2431969047, 0.2253738344, 0.4881723821, 0.2413614094, 0.2712639868, 0.002662973, -0.4284056723, -0.3290886581, 0.3953856826, -0.4003454745, 0.6417325735, 0.3720404208, -0.3238404393, 0.1214475483, -0.6866089702, 0.2224300653, 0.0089299306, -0.4477179348, -0.0137985451, -0.139129594, -0.1832861155, 0.2197990566, 0.046205692, -0.8646685481, 0.0272263195, -0.4987250268, -0.0219966285, 0.7453299761, -0.0358754396, 0.2153816521, -0.3815167248, 0.3380490541, 0.175877586, -0.1900533438, -0.3773423135, -0.2681597173, -0.5332651734, -0.3050236702, 0.5831151009, 0.4272677898, -0.5296180844, 0.5853781104, -0.3750859499, -0.1919274479, -0.8021212816, 0.0014269387, 0.2533767521, 0.4374321997, 0.45081532, -0.1741817147, -0.6301235557, -0.6493174434, -0.1871245503, -0.3116303086, -0.1721157134, 0.1911490262, 0.3263175488, 0.2564187944, 1.2508103848, -0.6248379946, -0.1925896853, -0.0838460028, -0.0697477609, 0.1844907999, 0.3157015741, 0.4439893663, -0.6150355339, -0.4894003868, -0.247468099, -0.8647289276, 0.1257909089, -0.0504197143, -0.1482172459, 0.294153899, 0.4845407307, -0.5134381056, 0.5413082838, 0.4406419992, -0.2817830741, 0.3903954327, -0.3115280867, 0.4563230574, -0.9472468495, 0.1816793829, -0.2728068233, -0.5906763673, -0.2927411795, 0.1278381795, 0.0982044116, 0.3166163862, -0.2916277945, 0.4389951527, -0.4307566881, -0.0575803518, -0.29914698, 0.2949950993, 0.0281547587, 0.2722915411, 0.1040322334, 0.9506309032, 0.0205394682, -0.5050412416, 0.3703931868, 0.4646095932, -0.3156138957, 0.0492471829, -0.9171897173, 0.3942130506, -0.4354648292, 0.3294380009, -1.2152167559, -0.2645746469, 0.4482186437, -0.6214205623, 0.0308881383, 0.1574336141, -0.2990012765, -0.2410705537, -0.3621709049, 0.4054442346, 0.5397031903, -0.8473176956, 0.4807677269, 0.0104025537, 0.0740442351, -0.8346605301, -0.6659185886, -0.1393836439, 0.3790184557, -0.4213290513, 0.084901765, -0.4582383633, -0.3137933612, 0.1712764502, -0.3440882862, 0.0838394612, -0.368629843, -0.0894069746, 0.0939280242, -0.3839046061, -0.0624015108, -0.1648318321, -0.0676138178, 0.101925768, -0.0816681162, 0.4496489167, -0.1465934515, -0.5150002241, -0.2443300933, 0.4586089253, 0.3917563856, -0.4952803254, 0.5065287352, 0.2664178312, -0.1114510074, -0.0656054094, -0.5503605604, -0.3944271803, -0.4124062657, -0.0351228416, -0.5133679509, -0.8698775768, 0.5263805389, 0.4650175571, 0.0434934087, 0.3603190482, 0.5568450689, 0.0593837611, 0.9189605117, 0.4298650026, 0.1106126755, 0.0410888866, -0.0402239822, 0.1661509722, -0.4850882292, -0.1682221591, -0.711342454, -0.0904477388, -0.4745632112, -0.439770937, 0.3172930479, -0.0515267849, 0.2964840829, -0.0364982076, -0.4920850694, 0.6558506489, 0.6779105663, 0.4125187695, 0.4267557561, 0.1402395815, -0.078895472, -0.1615555286, -0.565289557, -0.3598255217, 1.1985760927, 0.0983153805, 0.7600656152, 0.238658011, 0.9874194264, 0.3926300704, 0.2388607413, -0.5650326014, 0.4650439322, 0.0443411954, -0.6860808134, -0.4235039651, -0.6062052846, -0.7955613732, 0.3285081387, -0.1887037456, -0.3371903002, 0.2123535573, 0.2662014365, -0.5886228681, 0.1034397408, -0.358856529, 0.6170628071, 0.1676674038, -0.1892437488, -0.1286107153, -0.6754477024, 0.4012985528, 0.2611380219, -0.1664515287, -0.1353150755, 0.196673274, 0.4566502571, -0.2713646889, 0.7120914459, -0.0266200118, 0.0309696402, 0.4984017611, -0.1305613816, 0.3682417274, 0.2125691921, -0.2278740853, -0.0093701314, -0.0100821443, -0.5755161047, -0.9769646525, 0.3756504357, -0.6247691512, -0.5868588686, -0.5828603506, -0.2310171723, 0.0032614998, 0.1381395459, 0.44854936, 0.7047274709, -0.3734693527, 0.3878389001, 0.7877060175, 0.1779222637, 0.4966949522, 0.3721809685, -0.1990020126, -0.7890179157, 0.6134285927, -0.0811660662, 0.2434683889, 0.512616694, 0.1945762187, -0.5399845839, -0.410518378, -0.5894446969, 0.3522718549, -0.7319392562, -0.3703954518, -0.7591745853, -0.2026109248, -0.828574419, 0.1316299587, -0.3277263343, -0.3222593069, 0.0121949092, -0.3521359563, -0.0268112253, 0.7425482869, -0.4457562566, -0.1760394871, -0.9169255495, 0.7555085421, 0.2796488106, 0.3440602124, -0.1470918804, -0.3085986674, -0.0763927028, 0.2061770856, -0.0233868491, -1.0186139345, -0.0317192152, 0.1275176108, 0.6412617564, 0.3864981234, 0.6816669106, 0.5502817035, -0.4289707839, 0.7882826328, 0.0725374147, -0.7979553342, 0.491096735, -0.0074395379, 0.368861109, 0.7603926063, 0.2734138966, -0.1801817715, -0.6517773271, -0.5501564741, -0.4454719424, 0.6101207733, 0.3766040206, 0.1639237404, -0.5216021538, 0.3600537777, 0.1483682692, 0.1853164136, -0.6797397733, -0.1880694777, -0.4793414474, -0.4758118689, -0.0398644321, -0.328423202, -0.326494813, 0.0045344499, 0.5534020066, -0.5080049038, 0.238150537, 0.8871667385, 0.1049233824, -0.1258478612, 0.2821431458, 0.6976388097, 0.7590575814, -0.4085631669, 0.1849781275, -0.0157072898, -0.461461097, 0.1220957264, -0.1834325194, -0.3103055656, 0.2973510325, 0.3848324418, 0.4411739409, -0.1904926449, -0.6694273949, 0.7985434532, -0.2656867206, -0.2257962078, -0.065019615, 0.0922834128, -0.3412017226, 0.1422870159, 0.3026519716, 0.3071897924, 0.3243475854, -0.5755303502, 0.4661861956, 0.3487717509, -0.2582145333, -0.2051029354, 0.6229412556, 0.0292396359, 0.0044645118, 0.8196085691, -0.1958412081, -0.2507807612, 0.4358747005, 0.6559218168, 0.8428826332, -0.1707537323, 0.4205046594, 0.7188872099, 0.4436095059, -0.2067714036, 0.4827692807, -0.2333543152, -0.9268374443, -0.6430482268, -0.5463910103, -0.4749643505, -0.0991101265, -1.053588748, -0.005273663, -0.292657584, 0.0987636223, -0.2777270973, -0.1175823957, -0.3362980783, 0.4320660532, -0.0203754213, 1.0829838514, -0.7104110122, 0.6431441307, 0.3807233572, -0.4324191511, -0.8421791792, 0.4429897964, -0.228609845, -0.4752182662, 0.3407213688, 0.2149329036, -0.373867631, -0.2552337646, -0.6592999697, -0.9441464543, 0.7332942486, 0.4963785112, -0.3043435812, -0.0302924495, -0.0729839057, 0.4073065519, -0.3958506286, 0.4578624368, 0.4659739137, 0.2410438508, 0.2966526151, -0.6444101334, 0.2661016881, -0.1837089807, -0.217337057, 0.0038828372, -0.5691346526, 0.5024046302, -0.4905368686, -0.3208800256, 0.2706962824, 1.3260322809, 0.4705791473, 0.4267709553, 0.5584067702, 0.3329745531, 0.8205414414, 0.0267774947, 0.9122393727, -0.284021318, 0.2484454513, 1.2984155416, -0.2803873718, 1.093293786, 0.3738631308, -0.0481072254, 0.4309321642, 0.318702966, 0.0434034877, 0.623706758, -0.0673315227, -0.1408055127, -0.3051243126, 0.2252453119, -0.3652625084, 0.6056214571, -0.1597528458, 0.0243529007, -0.4722107053, -0.1713881791, -0.0923907384, 0.5834767222, -0.0185788963, 0.8171159625, -0.1667636186, -0.9398282766, 0.5673556328, -0.1358352304, 0.4319183528, -0.6333616376, -0.2104746848, -0.3284007907, 0.1247560158, -0.223331064, -0.8072936535, 0.4849737883, -0.0076722787, -0.5924001932, -0.1134455651, 0.5282986164, -0.5670180917, -0.2285659164, 0.1127746105, 0.4807683825, 0.2223094106, -0.0058991006, -0.2091514021, 0.080001384, 0.0930373669, -0.1394202262, 0.0015493872, 0.2257546037, 0.3363345563, 0.2346945852, 0.7372989655, 0.0506824255, 0.2260254025, -0.0556444786, 0.7548474073, -0.5760006905, -0.6272283196, -0.7834184766, 0.4967067838, -0.3714487255, -0.3262380958, 0.8844596148, 0.7952077389, 1.0666085482, -0.2034055889, 0.8480859399, -0.1371290088, 0.7127199769, -0.7848303914, 0.3804318309, -0.29342255, -0.1170024648, -0.0940126181, -0.8235557675, -0.1525502205, 0.5419300795, -0.0902023241, 0.0487487614, 0.7646798491, 0.7651689649, -0.1149664968, 0.0432971716, 0.3851223886, 0.1427667588, 0.2935564518, 0.1498458087, 0.7171405554, -0.5004128814, 0.7297158241, -0.1466928273, -0.3155422807, -0.1263719797, -0.8117464781, -0.8442605734, -0.4325397015, -0.2591494918, -0.8424500823, -0.0233993493, 0.9453651905, 0.6698664427, -1.035862565, -0.2377517223, 0.1451190263, -0.0023934103, -0.4976193607, -0.2096210122, 0.1995679587, -0.5962799191, -0.6471048594, 0.5032881498, 0.2565279007, -0.1008515656, -0.0972983837, -0.0908563212, 0.1763298362, 0.3331161439, 0.3953254521, 0.3389844, -0.807392776, -0.4210158288, 0.4580538869, -0.2887361944, 0.4791052341, 1.0220185518, -0.8161044717, 0.5185490847, 0.7369903922, 0.6704665422, 0.424705714, 0.4603402317, 0.5577461123, -0.6667016745, -0.1532791406, 0.2016606033, 0.1447084546, 0.355555743, -0.4503768384, 0.4648284912, 0.1747609675, -0.5094268322, -0.6946702003, 0.2604629695, -1.0975307226, -0.1481657475, 0.9197388887, -0.1886488199, -0.3588153422, -0.0072492817, -0.1677410603, 0.0032253917, -0.3585663736, 0.9393979311, 0.6256297827, -0.1961874068, -0.0479770824, -0.1946831644, 0.4703586102, 0.2883011699, -0.7589042187, 0.2022613585, 0.5356065631, 0.3458105624, 0.3893087208, 1.160710454, -0.1425943971, 0.4283340275, -0.0095572099, -0.0303293299, -0.0137123764, -0.6705050468, -0.3040831685, 0.575707674, -0.1600329429, -0.442943275 ]
http://arxiv.org/abs/2403.00686v1
http://arxiv.org/pdf/2403.00686v1
A Bit of a Problem: Measurement Disparities in Dataset Sizes Across Languages
2024-03-01T17:20:11
2024-03-01T17:20:11
Catherine Arnett, Tyler A. Chang, Benjamin K. Bergen
cs.CL
cs.CL
How should text dataset sizes be compared across languages? Even for content-matched (parallel) corpora, UTF-8 encoded text can require a dramatically different number of bytes for different languages. In our work, we define the byte premium between two languages as the ratio of bytes used to encode content-matched text in those languages. We compute byte premiums for 1155 languages, and we use linear regressions to estimate byte premiums for other languages. We release a tool to obtain byte premiums for any two languages, enabling comparisons of dataset sizes across languages for more equitable multilingual model development and data practices.
[ -0.4809608459, -0.3831191063, 0.3264455497, 0.5543215871, -0.172604546, 0.0956231207, -0.1313584298, -0.724716723, 0.3027223051, 0.2259586155, -0.2679831386, -0.227028206, -0.5976907015, 0.3052159846, 0.0033539229, 0.7236620188, 0.0096476106, 0.3988308311, -0.437276274, -0.5509742498, -0.8723521829, -0.2967933416, -0.1629190743, -0.0029465877, 0.5011412501, 0.6734449863, 1.014346242, 0.6231791973, 1.0003135204, 0.2728239, 0.0010057156, 0.261530757, -0.3259675205, -0.0885076895, -0.1679538786, -0.3657811284, -0.2894616425, -0.1301590204, 0.8357648253, 1.051672101, -0.0623871461, 0.4496637881, -0.1594615877, 1.0182806253, -0.8517372608, 0.1000253037, -0.3253160715, 0.3283029497, -0.3185587823, -0.0713629574, -0.4272708297, -0.247916609, -0.2676840425, -0.5116211176, 0.0479004607, 0.4579108953, 0.625561595, 0.0775397941, -0.4204527438, -0.398497045, -0.4819675684, 0.9484423995, -0.4440646768, 0.5342231989, 0.4293908775, 0.1309200674, 0.0224942286, -0.283510983, -0.5501802564, -0.1248968393, -0.3168871701, -0.2611012161, -0.3530909419, -0.1387514323, 0.4544297159, 0.7222607136, -0.8996416926, 0.1308863759, -0.535689652, -0.4032880366, 0.7610031366, 0.3858607709, 0.4753098488, -0.105935365, -0.278701365, -0.2139018476, -0.7600376606, -0.0399160311, 0.8757445812, 0.365062505, -0.2384026945, 0.5435111523, 0.0079094525, 0.8143270016, -0.1531460583, -0.1117334887, 0.4542754889, -0.4785427451, -0.2865620553, 0.3644986153, 0.602042079, 0.457871139, 0.3100499213, -0.1743646413, -0.1654725373, 0.2063385993, -0.0014628752, -0.8287885785, 0.0550610758, 0.1661696285, -0.3757824302, 0.1397051215, -0.139628619, -0.8291703463, -0.5195530057, -0.2439328283, 0.4373455644, -0.1387425512, -0.3885461986, 0.5553609729, -0.3367580175, 0.1934544146, -0.3030276597, -1.0187051296, 0.1914451718, 0.3890466392, 0.7644666433, -0.0336773731, -0.162730813, -0.2743073404, -0.1476195753, -0.6132252216, 0.6227918863, -0.6233979464, -0.3812513947, 0.2090598643, -0.0205724165, -0.0516425893, -0.6341619492, 0.4892807007, -0.5251039267, -0.0336313844, -0.5502901673, -0.6778957248, 0.1032025367, 0.1675640345, -0.9581400156, 0.9846803546, 0.4031205773, -1.1193015575, 0.6152941585, -0.0843377262, -0.3202090859, 0.2483129799, -0.3964247406, -0.5708855391, 0.13931638, -0.0152677232, 0.1700886935, -0.4681113958, 0.0782046095, -0.476914525, -0.6003325582, 0.4235250056, -0.3041802943, 0.9433875084, 0.3402642012, 0.0275954716, -0.1421443522, -0.8781919479, 0.1870539635, -0.075864993, -0.2233201116, -0.5168870687, -0.0209538862, 0.2564528286, 0.011696388, 0.4918335676, -0.6815594435, 0.0982142985, -0.0388310887, 0.4595547318, 0.3083662987, -0.3719733655, 0.431453228, -0.3654288352, 0.3048531413, 0.1562485844, 0.0930025056, -0.1009884328, -0.1244385168, -0.5949335694, -0.4336449802, 0.6171008945, 0.4362850189, -0.4682449102, 0.3264760971, -0.4830733538, -0.3801412284, -0.7727918625, -0.0403973386, 0.4393486977, 0.0408165678, 0.3057954609, -0.4348461032, -0.5934326649, -1.3231681585, -0.0544058233, -0.1733665019, -0.0260658134, 0.0415030308, 0.2964937687, 0.0266368743, 0.7363965511, -0.4017117023, -0.2397806346, -0.3548685908, 0.0194443334, 0.0380029567, 0.5256337523, 0.8374986649, -0.9481359124, -0.9259209633, 0.1050276086, -0.631547749, -0.1085259169, 0.0806969851, -0.1259065568, 0.1930652559, 0.4118338525, -0.2431640923, 0.2095110118, 0.8043372035, -0.5535564423, 0.5433910489, -0.4116154611, 0.6293287873, -0.9755139947, -0.042091798, 0.0810749829, -0.3150856793, -0.3579331636, 0.0428970642, 0.3479376733, 0.0343015641, -0.4399896562, 0.2138560116, -0.682184577, -0.6055978537, -0.0295034032, 0.0335588455, 0.1986175627, 0.0321627371, -0.1153898612, 1.2808818817, 0.5578408241, -0.3861408234, 0.2851932347, 0.4527308047, -0.6222418547, 0.7581331134, -0.638969183, -0.1780968159, -0.1993230283, 0.0377422422, -0.9629403353, -0.0689987466, -0.2315916121, -0.5537849665, 0.2140633315, -0.2344542295, -0.6396806836, -0.1989859343, -0.418065697, 0.6289391518, 0.3587520123, -0.3578569591, 0.0501053706, 0.7313386202, -0.1351375133, -0.935367167, -1.0691198111, -0.0519831106, -0.3060258031, -0.9541122913, 0.382422924, -0.2634769082, -0.2664101422, 0.087663278, -0.0422302224, -0.3157477081, -0.1489355266, -0.1203246787, 0.4109662175, -0.3977747262, 0.3025975227, -0.0234001931, 0.0099129593, -0.0190535448, -0.3549433649, 0.4146149457, -0.1934017986, -0.2965132594, 0.0650847554, 0.8021894097, 0.300655365, -0.1288922727, 1.0249019861, 0.4246176183, -0.2074316442, -0.0246569905, -0.4961202443, 0.2307019085, -0.4988442063, 0.2992459834, -0.4688557684, -0.8676151633, 0.6741342545, 0.6201182604, 0.021526318, 0.3899304271, 0.4868161082, 0.1105556265, 1.0301097631, 1.0017943382, -0.2274281532, 0.3168212473, 0.2683021724, 0.1812660843, -0.3408142924, -0.1031381339, -0.8570861816, -0.3561983109, -1.0682210922, -0.3317140043, 0.2671697438, 0.1118216291, -0.491607964, 0.6185997128, -0.3777817786, 0.7873649597, 0.4338369071, -0.1228055432, 0.3091287911, 0.4193941653, -0.0441387221, -0.3372702599, -0.5409261584, -0.5083533525, 0.8435275555, 0.268340081, 0.6102532744, 0.4597688019, 0.2727334201, 0.6675603986, -0.2288693041, -0.7408288717, 0.1927033067, -0.5371038914, -0.6965742111, -0.2899816334, -0.7517961264, -1.0110378265, 0.2339648753, -0.0637193695, -0.6682114601, 0.3508523107, 0.0634457096, 0.0883098021, 0.1830593497, -0.9152441025, 1.101955533, 0.2310738713, -0.2494058311, -0.3260512948, -0.5476775765, -0.1208781824, 0.1469796151, 0.2834143341, -0.4584614635, 0.1133041382, 0.6652483344, -0.1011498123, 0.422617197, -0.010373625, 0.0521778762, 0.3493388891, 0.2270829529, 0.0629486144, 0.004316024, -0.1232229173, 0.2922857702, 0.4511819184, -0.9272912741, -0.1988714039, 0.4507245719, -0.8122657537, -0.1013591513, -0.4316465259, -0.7453846335, -0.3368460536, 0.0506851301, 0.2998570204, 0.5798659921, -0.3066290319, 0.237132743, 0.849583149, -0.431584537, 0.6674561501, 0.8811674118, 0.0961752683, -0.0087668626, 0.9673659801, 0.1209002808, 0.4118417203, 0.773524642, 0.032050062, -0.3774830401, -0.3220681548, -0.6164080501, -0.100904204, -0.6980268359, -0.3376841247, -0.4608741999, -0.0108154314, -0.368015945, -0.1378578544, -0.4454746842, -0.2865085602, 0.2120802701, -0.0601741187, 0.3318437338, 0.592002213, -0.3407852352, 0.2277614176, -0.9374688864, -0.0623213276, -0.1495024711, 0.3365758955, -0.1844504029, -0.5291201472, -0.4521548152, 0.0144474944, -0.1037474424, -0.8384341002, 0.4841925204, -0.0236033555, 0.5208808184, -0.019165935, 0.0376406945, 0.4843191206, -0.6603156328, 0.7134213448, 0.4377247691, -1.0073267221, 0.0129389344, -0.0465507209, 0.0406545624, 0.5849338174, 0.7139133215, -0.9495637417, -0.137494415, -0.2657412589, -0.7597256303, 0.439882189, 0.1431337595, 0.2019371837, -0.1695195287, -0.1959734559, 0.3453547359, 0.1420331895, -0.702350378, -0.4201519191, 0.0571734123, -0.488231957, -0.2606641054, -0.4000003934, 0.1100596637, 0.0463901088, 0.4213634729, -0.097868368, 0.3494942188, -0.0292459689, -0.3611782789, 0.014555892, 0.5491696, 0.2592211068, 0.6593462229, -0.0657059401, 0.3943184912, 0.0855399966, -0.7871869206, 0.2962830961, 0.1505824476, 0.061842937, 0.0521993712, 0.2599067092, 0.9044240713, -0.0766916052, -0.7561721802, 0.5501458645, -0.2142918259, -0.0513445251, -0.0830267817, -0.3591407537, 0.1669004261, -0.0426910408, 0.0501483083, -0.4005765021, 0.3814418912, -0.3591708243, 0.3508272469, 0.075099647, -0.5689023137, -0.1116825566, 0.1538480818, 0.1974372268, -0.0195644461, 0.8467875123, -0.4415426552, -0.1048782542, 0.8928224444, 0.4675255418, 0.31738621, -0.0890694633, 0.4663384855, 0.4012515247, 0.439955622, -0.1977394819, 0.3203428686, 0.3020790219, -0.9053575397, -0.485876143, -0.6971815228, -0.2529647648, -0.0521915741, -0.8563687801, 0.1552177072, 0.209531486, -0.0082099373, 0.6281985641, 0.3238936365, -0.7218008041, 0.0552304238, 0.2572670281, 0.9636427164, -1.2291909456, 0.605163455, 0.6302378774, -0.7144735456, -0.6948916316, -0.2530100942, -0.2585812807, -0.7458263636, 0.5884756446, 0.3353291452, 0.1121739075, -0.4151958823, -0.2603043318, -0.7853499651, 0.7406035066, 0.6179855466, -0.844972074, 0.4001116157, 0.9045625925, 0.5195243359, -0.2750793099, 0.4006085694, 0.6565093994, 0.3406831324, -0.3733837008, -1.1455459595, -0.3027908504, -0.0535043329, -0.0546461456, 0.549100399, -0.6338766217, 1.0850698948, 0.157167688, -0.1343496442, -0.2671631873, 0.5808017254, 0.034245193, 0.2843657732, 0.4956248403, 0.3112138808, 0.6574040055, 0.0455876067, 1.0329784155, -0.3309694827, 0.5020595193, 0.915383637, -0.3384003043, 0.6681224108, 0.490565747, -0.3975622356, 0.2103390843, 0.7681277394, 0.027793508, 0.4155736864, 0.3810005784, -0.3307683468, -0.2221286297, -0.3125734329, -0.3431767523, 0.13531138, 0.2789391279, -0.0549579263, -0.2299846113, -0.0231452473, -0.1338463277, 0.4768842757, -0.3947532475, 0.5075774193, -0.0556131229, -0.5175706148, 0.3764522672, 0.3346691132, 0.5922782421, -0.420279026, 0.1954912245, -0.6176641583, 0.3501891494, -0.1010874733, -1.1502282619, 0.5824926496, 0.0910130069, -0.5942460895, 0.1623712182, 0.4823190868, -0.6188037395, -0.5367302895, 0.3659570813, 0.4725632071, 0.305886358, 0.1083848774, -0.6319057941, 0.415756315, -0.0454686172, 0.1784421951, 0.5975301862, 0.4717718661, -0.2160521299, 0.4450982511, 0.0562811494, 0.0261552855, 0.245040372, 0.2054426074, 0.5277019739, -0.4362154901, -0.6872068048, -0.7231812477, 0.3519245982, -0.3329969347, -0.2407284826, 0.6680925488, 0.9724294543, 1.2657558918, -0.2171849459, 0.7880899906, -0.4422067702, 0.3813328147, -0.3881540596, 0.2918925285, -0.5633991957, 0.1204895303, 0.1001009122, -0.9039642811, 0.0043345946, 0.7008512616, -0.1241291761, -0.2813674808, 0.6962381601, 0.9613819718, -0.179429397, -0.0487186834, 0.5178067088, -0.2074490041, 0.0884139314, 0.6284456849, 0.6568924189, -0.5191842914, 0.5655660033, -0.0995624736, -0.1782446206, 0.1220015958, -0.9617509842, -0.875467062, -0.6669996381, -0.3296771646, -0.3598435521, 0.2291800827, 0.9136232734, 0.6077745557, -0.8858587146, -0.4294818342, 0.0695853904, 0.047026962, -0.2250640988, -0.1646665335, 0.3130326569, -0.4445490837, -0.8172815442, 0.046327848, 0.1023430079, 0.0628874078, -0.473023802, 0.1737605929, 0.161161989, 0.3302887976, 0.3327737749, 0.129103139, -0.0325776935, -0.2736255527, -0.0505164377, -0.6403506398, 0.2498030812, 0.9652150273, -0.2253683507, 0.2827429771, 0.6442260146, 0.6611018777, 0.3849384785, -0.526705265, 0.4399056733, -1.2732838392, 0.6233789325, -0.104985401, 0.3320156932, 0.6391000748, -0.4471541643, 0.4548864663, -0.0027384791, -0.5222498775, -0.8506167531, 0.4161135554, -0.953576386, -0.4298549294, 1.0403131247, -0.2709774971, 0.0136676896, 0.0384993479, -0.0894671232, -0.0884189531, -0.2236302346, 0.676481545, 0.9553287625, 0.4708321691, 0.2843116522, -0.7041761279, 0.5989929438, 0.1867336184, -0.5965809226, 0.2539930046, 0.4758767784, 0.2785564661, 0.123052828, 0.6243699789, -0.2365708947, 0.1664254814, 0.6904634237, 0.2695372701, 0.1578619033, -0.3642651141, -0.0922968015, -0.0592851043, -0.0740800574, -0.3408130109 ]
http://arxiv.org/abs/2403.00662v1
http://arxiv.org/pdf/2403.00662v1
Modeling the Quality of Dialogical Explanations
2024-03-01T16:49:55
2024-03-01T16:49:55
Milad Alshomary, Felix Lange, Meisam Booshehri, Meghdut Sengupta, Philipp Cimiano, Henning Wachsmuth
cs.CL
cs.CL
Explanations are pervasive in our lives. Mostly, they occur in dialogical form where an {\em explainer} discusses a concept or phenomenon of interest with an {\em explainee}. Leaving the explainee with a clear understanding is not straightforward due to the knowledge gap between the two participants. Previous research looked at the interaction of explanation moves, dialogue acts, and topics in successful dialogues with expert explainers. However, daily-life explanations often fail, raising the question of what makes a dialogue successful. In this work, we study explanation dialogues in terms of the interactions between the explainer and explainee and how they correlate with the quality of explanations in terms of a successful understanding on the explainee's side. In particular, we first construct a corpus of 399 dialogues from the Reddit forum {\em Explain Like I am Five} and annotate it for interaction flows and explanation quality. We then analyze the interaction flows, comparing them to those appearing in expert dialogues. Finally, we encode the interaction flows using two language models that can handle long inputs, and we provide empirical evidence for the effectiveness boost gained through the encoding in predicting the success of explanation dialogues.
[ -0.5315793157, -0.9506841898, 0.8804484606, 0.0907722116, -0.4073723555, -0.0920074582, -0.0949438065, -0.4882292449, 0.1383818388, 0.1862528324, -0.8442088366, -0.2266897261, -0.4968675673, 0.2706923783, -0.415789783, 0.7714906931, 0.0265824776, 0.2855378091, -0.4951479435, 0.0121518383, -0.5518273711, -0.3694555461, -0.7722260952, -0.5071083307, 0.6412071586, 0.3193463683, 0.8087590337, 0.5749419928, 0.2389474362, 0.3764963448, -0.2867168784, 0.1034175903, -0.8424383402, 0.2191520333, -0.236685127, -0.4119957089, -0.2666450441, 0.055373881, 0.2650875151, 0.9990907907, -0.1328002512, -0.0543630309, 0.0024256459, 0.2479915321, -0.162047103, 0.129855141, -0.3345434964, -0.032321196, 0.3021975756, -0.4675727487, -0.3675101101, -0.3735524714, 0.1517215371, -0.6744722128, 0.3653247952, -0.1294553578, 1.0385502577, 0.1705380529, -0.0802444294, -0.4979779422, -0.7696948647, 0.5631966591, -0.805077076, 0.1735512018, 0.3960033655, 0.5729359388, -0.3813961446, -0.5845927596, -0.8214546442, 0.2248552293, -0.2732656598, 0.2700517476, -0.1119105294, 0.1688295156, 0.0582551919, 0.284016639, -0.357989639, -0.0020885074, -0.5578877926, -0.2106329054, 0.637586832, 0.1900431961, 0.3273966312, -0.2813564539, -0.277754575, 0.2456597984, -0.2866632342, 0.3234559298, 0.3517339528, -0.3098330498, -0.0437125117, 0.3162283599, -0.0385460556, 0.7362874746, 0.4333779216, -0.2072264403, -0.2227577269, -0.7177346945, -0.1323427111, -0.3276734054, 0.7138404846, 0.6530489326, 0.4946441054, -0.0158742443, 0.1286934465, -0.2113683373, 0.2724024653, -0.8199009895, -0.1509561837, 0.5458233356, -0.9310247302, -0.308917731, -0.2181097716, -0.7278099656, -0.4384040833, -0.3495528698, 0.5161320567, -0.4777124822, -0.4478719831, 0.1472337842, -0.2163440585, -0.0943277329, 0.5009690523, -0.9528665543, 0.3501476943, 0.5931159854, 0.4549753666, 0.1390191913, -0.1982651651, -0.3850928545, -0.090277642, -0.2151449025, 0.8637923002, -0.5704012513, -0.2913928926, -0.0001399907, -0.0140820034, -0.2788854241, -0.438020885, 0.4777956605, -0.543160677, 0.4196721017, 0.0183179416, -0.9057132602, -0.6443169117, -0.0308513101, -0.4731366038, 0.152368784, -0.1624293178, -0.4376942515, 0.1900500655, -0.9313623905, -0.0495657362, 0.0629759505, -0.0376204066, -0.0622338839, 0.1974034458, 0.2376587987, 0.388164252, -0.0617749356, 0.2683999836, -0.1895405948, -0.4367362559, 0.9423373342, -0.583060205, 0.6832459569, 0.2761817873, -0.0775895342, 0.0335513391, -0.3996310532, -0.0657266304, -0.0249124914, 0.0842047483, -0.1391171515, 0.0592019744, -0.5233815908, 0.1998974383, 0.1927245855, -0.3276785612, -0.1530358195, -0.4184171855, 0.7938783169, 0.3130691648, 0.5072089434, 0.3174107969, -0.1542683244, 0.6346549392, 0.1189791262, 0.4262721837, -0.5755528212, -0.4614203274, -0.6661689878, 0.0781999975, 0.3941762745, 0.0984741971, -0.4379579425, -0.1208251938, -0.2905034125, -0.1288524717, -0.7339566946, 0.1259292662, 0.4132390916, 0.3399414122, 0.2147122622, -0.1745170653, -0.2079857439, -0.8005692363, -0.4306735098, -0.2731390893, -0.1614134014, 0.2426784486, 0.2801337242, -0.0572353341, 1.1661150455, -0.1174134016, 0.3831899762, -0.5058778524, 0.5389025807, 0.2784536481, 0.3287291527, 0.4576024115, -0.8269938231, -0.2096809596, -0.2771520317, -0.736610651, -0.0353005789, -0.2805334628, -0.2176501304, 0.0251396634, 0.4655196667, -0.6257952452, 0.4280572236, 0.4367368817, -0.4525391757, 0.5874854326, -0.2210799456, 0.3377175033, -0.8894930482, -0.2606666684, -0.0594076179, -0.3601756096, -0.8635072112, -0.0480078347, -0.3295672238, -0.1834566593, -0.2988085151, 0.4979184866, -0.3850743473, 0.0465368852, -0.0774093047, 0.2777014673, 0.0853241459, 0.5981938839, 0.0462203287, 0.5926067829, 0.2933939397, -0.5699368119, 0.0666465163, 0.1921825409, -0.005058107, 0.4813134372, -0.9648247361, 0.0576712899, -0.1436828673, 0.2393440306, -1.2215754986, -0.5831421614, 0.297290802, -1.0156162977, -0.1170938909, -0.4407166541, -0.2737379372, -0.3904412687, -0.0017395908, 0.3278028965, 0.495298326, -0.4990013242, 0.7417982817, 0.0951647013, -0.2279886454, -0.2628296018, -0.2979334295, -0.1173160672, -0.4047592282, -0.9031934142, 0.05093069, -0.3609907925, -0.3807244599, 0.0569770001, -0.2146535516, -0.5237820148, 0.1741390824, 0.3768452108, -0.066683799, -0.3013857901, 0.2652763426, 0.0735114887, -0.2736999393, 0.5183674693, 0.102309972, 0.4740620255, 0.138965115, -0.5069639683, -0.9536020756, 0.4480803609, 0.8633867502, -0.064244844, 1.1396259069, 0.5846605897, -0.1732454747, 0.0833714083, -0.5180897713, -0.5719841719, -0.4449704587, -0.0126763303, -0.737007618, -0.6564374566, 0.8418553472, -0.0004944669, 0.1880281568, 0.4591290057, 0.2277870327, -0.4948739409, 1.4602487087, 0.3404710591, 0.4877476692, 0.3040782511, -0.1302940547, 0.7391334176, -0.4576950669, -0.329100877, -0.3852187395, -0.0551865213, -0.4151584208, -0.4490148127, 0.237477079, 0.6183812022, 0.0672730058, 0.2224965245, -0.1468942463, 0.535256803, 0.3925090432, -0.0761537179, 0.3771317601, 0.0988209546, 0.1533335447, -0.0736746714, -1.0248992443, -0.6587466002, 0.5410941243, 0.8214152455, 0.8334674239, 0.1776442081, 0.6883645058, 0.136735037, 0.065966472, -0.5491476059, 0.4399615526, 0.0995856896, -0.3969779313, -0.5170679092, -0.4081162512, -1.0139381886, 0.202418074, -0.2407977432, -0.7012297511, 0.1178394482, 0.3961139023, -0.5745212436, -0.2539514899, -0.9190217257, 1.1257309914, -0.0716772154, -0.4725443423, -0.6528872252, -0.7494570613, 0.3025053442, 0.4412153065, 0.4721774161, -0.0225599539, 0.6343568563, 0.6734944582, -0.5968046784, 0.7706592679, -0.1538292766, 0.046930939, 0.3726095557, 0.2496134788, 0.1232363284, 0.2796019912, -0.0103757307, 0.158104673, -0.0019453849, -0.4825228751, -1.1107157469, 0.3170570731, -0.6729406714, -0.6464911699, 0.2553718388, -0.2713731825, 0.1746766269, -0.2831407487, 0.2850372493, 0.7995942235, 0.060235925, -0.1359671652, 0.7926725149, -0.2363749444, 0.2472542077, 0.6316036582, 0.0042739385, -0.1245091632, 0.9465075731, -0.0980519131, 0.5662133098, 0.0221267454, 0.192898199, -0.4461217523, -0.6314325929, -0.6291643977, 0.4883272648, -0.8750340343, 0.1883917153, -0.7993943095, -0.3680653572, -0.1853281558, -0.229833737, -0.0845035166, -0.5127825737, -0.1478200108, -0.1087983772, 0.3249643743, 0.9138545394, -0.0856506303, 0.1851065755, -0.6270889044, 0.2085200101, 0.583994329, 0.266287297, 0.3840972483, -0.6398919821, -0.3624740243, 0.4123229384, -0.1352401376, -1.1413788795, 0.2872484624, 0.0720063895, 0.6726359725, 0.8454611897, -0.2140884548, 0.8201187849, -0.198595807, 1.0706788301, 0.1528956145, -0.9986326694, 0.5940431952, -0.3686900437, 0.3109083772, 0.3485998213, 0.331867516, -0.6979882121, -0.7093233466, -0.7406589985, -0.7597928047, 0.493442893, 0.462924391, 0.10022825, 0.0356095023, 0.567938745, 0.4069747329, 0.1258053929, -0.67578125, -0.1881483495, -0.4131934047, -0.3124466538, 0.2444930971, -0.6078179479, -0.3474516571, 0.0310978591, 0.5624222755, 0.0002751639, 0.6070045829, 0.1131756604, -0.2670139372, -0.1633457541, 0.3119335771, 0.9748073816, 1.0999723673, -0.0421174504, 0.2953666747, -0.1560723186, -0.0561030582, -0.2355819196, 0.0566284023, 0.3352428079, 0.3410795927, 0.7639833093, 0.7527091503, 0.0790079087, -0.5563064218, 0.3404709995, -0.3010187745, -0.1487034559, -0.1714725345, 0.2284267992, 0.3310062289, 0.1196875349, 0.3063847125, -0.2676957846, 0.3066516519, -0.7318133712, -0.0755511224, 0.2364842892, -0.4199073613, -0.535892725, 0.6441375613, 0.8012289405, -0.5557689071, 0.5020565391, -0.2548416257, -0.7016075253, 0.6866119504, 0.2785135806, 0.4825512767, -0.0212063398, 0.452524662, 0.5458829403, -0.1908893585, 0.2426999211, -0.0332121402, -0.2283688486, -0.7367355824, -0.8078716397, -0.4984888136, -0.5826824307, 0.1423569322, -0.5602140427, -0.2050247788, 0.2005181611, 0.1293005198, 0.4995475411, -0.2635893226, -0.5956088901, -0.0050295913, -0.1879224032, 0.8649744987, -0.9613355398, 0.088382341, 0.4531688392, -0.6812405586, -0.8324435353, 0.0758868232, -0.0630374998, -0.6910400987, 0.5505129099, 0.1868552864, -0.2959268987, -0.1830404699, -0.5928786993, -0.5409203172, 0.6559525728, 0.1064455584, -0.408451736, 0.1906605065, -0.0178131517, 0.9248746037, -0.4929250777, 0.7807592154, 0.5585669875, 0.5355037451, 0.0478713997, -0.9424758554, -0.1491489708, -0.3091038764, -0.1081112698, -0.0056862207, -0.3713237941, 0.3844852448, -0.2688906491, -0.1875641495, 0.2028007507, 0.6032915711, -0.021009922, 0.552890718, 0.5714375377, 0.0989819095, 0.4624673128, -0.1800032109, 1.060872674, -0.4284211695, 0.4070190787, 0.8883066773, 0.4071527123, 0.5331762433, 0.4692385197, 0.1190772504, 0.9976329207, 1.1462702751, 0.4827990234, 0.2979023457, 0.0535611361, -0.1676504314, -0.6321401596, -0.1526438147, -0.1737234592, 0.265738219, 0.5106796026, -0.6597402692, -0.0405473933, 0.0921810344, -0.0637673438, 0.1258596629, -0.2152720988, 0.9857640266, -0.1120835915, -0.9151918292, 0.7678691745, -0.3290557265, 0.0207280666, -0.1799754202, -0.3101028502, -0.4960810244, -0.1104243919, -0.2385063767, -1.0143847466, 0.0915229619, -0.1094074696, -0.4595993757, -0.3609136045, 0.5540372133, -0.7360383868, -0.0984024554, 0.0958966166, 0.6398530006, 0.8370193839, 0.3943307698, -0.4994411767, -0.0168198384, -0.1006707102, -0.0206063353, -0.1241192743, 0.6267638206, 0.0161052812, 0.7680463195, 0.3527394831, -0.3743535578, -0.1040695757, 0.4393302202, 0.6082886457, -0.4961806536, -0.3623606861, -0.7453553677, 0.7805142999, -0.3608785868, -0.1899374872, 0.4743014872, 0.1724032313, 0.379152447, -0.1177492291, 0.4277832508, 0.1555300504, 0.7065662146, -0.5792563558, 0.5267642736, -0.4252901375, 0.2582254708, 0.1851508468, -0.6864245534, 0.2692882717, 0.7535713315, -0.0797589794, 0.0662722066, 0.7627794743, 0.6243060827, -0.1826726049, 0.2606022954, 0.2372327596, 0.7294777632, 0.1749255955, 0.3484191, 0.9698734879, -0.0132312858, 0.5178678632, 0.0061228313, -0.0798199549, -0.5866405964, -0.6131743193, -1.0769585371, -0.4889362156, -0.3395507038, -0.2485649735, 0.3053128719, 0.6145935059, 0.9642183781, -0.5449159145, -0.0539025739, -0.3817175031, 0.5409191847, -0.4607296884, -0.2810001969, -0.0072828066, -0.3344732225, -0.7920113802, 0.2939748466, 0.1551018953, -0.0089880954, -0.4833876491, -0.1592199802, 0.3428039551, 0.4189188182, 0.4692615271, 0.1057084873, -0.9719457626, -0.3677628636, 0.0644055605, 0.280759424, 0.0436935723, 0.7832617164, -0.675175488, 0.7965165377, 0.4869148731, 0.3228188455, 0.4486947954, 0.3482986987, 1.1094374657, -0.1583471745, -0.4466555417, -0.1010363474, 0.1017892957, 0.2767352164, -0.3092044294, 0.4810689986, -0.0238802154, -0.6557548046, -0.5204423666, 0.2632335424, -0.7982473373, -0.3621026874, 1.0689115524, -0.3870207667, -0.031783767, -0.3749715388, -0.2772230208, 0.2534582615, -0.5285791755, 1.0283491611, 1.0864839554, -0.705550313, -0.3786392808, -0.6512150764, 0.5950229764, 0.5072844625, -0.7614126205, 0.037752185, 0.4219011962, 0.3773803413, 0.3276942372, 0.427862525, 0.1089091375, 0.7656110525, -0.1667134315, -0.2784615755, 0.0133385211, -0.1360233426, -0.4818867147, 0.1926575601, 0.2006626725, -0.2045577317 ]
http://arxiv.org/abs/2403.00632v1
http://arxiv.org/pdf/2403.00632v1
Metamorpheus: Interactive, Affective, and Creative Dream Narration Through Metaphorical Visual Storytelling
2024-03-01T16:09:32
2024-03-01T16:09:32
Qian Wan, Xin Feng, Yining Bei, Zhiqi Gao, Zhicong Lu
cs.HC
cs.HC, cs.AI, cs.CL, cs.CY
Human emotions are essentially molded by lived experiences, from which we construct personalised meaning. The engagement in such meaning-making process has been practiced as an intervention in various psychotherapies to promote wellness. Nevertheless, to support recollecting and recounting lived experiences in everyday life remains under explored in HCI. It also remains unknown how technologies such as generative AI models can facilitate the meaning making process, and ultimately support affective mindfulness. In this paper we present Metamorpheus, an affective interface that engages users in a creative visual storytelling of emotional experiences during dreams. Metamorpheus arranges the storyline based on a dream's emotional arc, and provokes self-reflection through the creation of metaphorical images and text depictions. The system provides metaphor suggestions, and generates visual metaphors and text depictions using generative AI models, while users can apply generations to recolour and re-arrange the interface to be visually affective. Our experience-centred evaluation manifests that, by interacting with Metamorpheus, users can recall their dreams in vivid detail, through which they relive and reflect upon their experiences in a meaningful way.
[ -0.3805231452, -0.3932238519, 0.4980663657, 0.2447672784, -0.6563729048, -0.0351297222, 0.0507674627, -0.6333357692, 1.1279258728, 0.3030803502, -0.8895557523, -0.2747843266, -0.2714013457, 0.0944445953, -0.1165628433, 0.7145360112, -0.2421995103, -0.4061219692, -0.1985881478, -0.3335010707, -0.7139415741, -0.2074300647, -0.3390228748, -0.0840544477, 0.6745295525, 0.1740949154, 1.0496424437, 0.16883789, 0.2783297598, 0.2677791119, 0.4453995526, 0.2825629413, -0.2415637225, 0.5084682107, 0.0049265386, -0.3984111547, -0.1769649386, 0.1677578241, 0.4351438284, 0.2378272712, -0.4060072601, 0.2562948763, 0.2530417144, 0.6018099189, -0.8966706395, 0.1298703849, -0.0291152373, 0.6890957952, -0.0532856695, -0.3473692834, -0.1519882977, -0.3751074672, -0.1611703634, -0.7567512989, -0.1752407998, 0.1472534984, 0.5252534151, 0.476890564, -0.3682252169, -0.4098750949, -0.8751268387, 0.4341450632, -0.4629143178, 0.4268849194, -0.0267650541, 0.4947502911, 0.2427078784, -0.6991007328, -1.0065302849, -0.1285417676, -0.217945978, 0.4016548991, -0.2680318952, 0.1320754886, 0.0822374523, 0.4039922357, -0.5961499214, -0.2956725061, -0.2788418233, -0.0882196873, 0.4785629809, 0.7090963721, 0.7811876535, -0.4733807445, -0.1972776949, -0.2209714651, -0.3024116158, -0.1866919249, 0.2282927483, -0.0046589305, -0.2787158489, 0.7676695585, 0.2545286417, 0.7357240319, -0.2851426899, -0.225190863, 0.3642067015, 0.3679763079, -0.4038348198, 0.0074933707, 0.7432706952, 0.7929728031, -0.0858317912, -0.163822338, -0.0441660546, 0.2309410721, 0.712729454, -0.7672028542, 0.0374524035, 0.2795405388, -0.9310489297, -0.2934895754, 0.0353476219, -1.1381390095, -0.610070467, -0.4610985518, 0.4848705232, -0.6475912333, -0.4709813297, -0.0349716544, -0.4158669114, 0.0397924967, 0.3249643445, -0.8609004021, -0.1196357235, 0.4317210913, 0.7323949337, 0.0220543817, -0.3849161863, -0.0301306043, 0.4667300284, -0.1169845462, 0.4458440542, -0.8453353643, -0.5917758942, 0.1090147942, -0.2659655809, -0.1148371994, -0.3609893322, 0.553312242, -0.0425499305, 0.403340131, 0.0394853093, -0.3239859641, -0.2791397572, 0.2913092673, -0.6885579228, 0.3283250034, 0.0166795962, -0.7562128305, 0.1400052011, -0.929580152, -0.2973668277, 0.4044076502, -0.486202389, -0.0216539148, 0.5252129436, -0.1995549649, 0.2597844303, -0.0479747131, -0.2214735448, -0.0068417648, -0.3974476159, 0.1958101541, -0.3580868542, 0.351869911, 0.6234273314, -0.5205391645, 0.2546127439, -0.4567598104, -0.0271317232, 0.1748944521, 0.0508134477, -0.3680393696, -0.1422932893, 0.2777528167, 0.3162579834, -0.1356072724, -0.5549429059, 0.1970028579, -0.0605227835, 0.3877244294, 0.4112903178, -0.1940341294, 0.1204767227, -0.5177727938, 1.0670928955, -0.0127544804, 0.2125393599, -0.5196459889, -0.4400073588, -0.6694435477, -0.1480861455, -0.260055691, 0.3261618912, -0.9824476242, -0.2177005261, -0.2107478231, -0.5132982135, -0.8420693874, -0.1859975308, 0.1103141978, 0.3451660573, 0.2877670228, -0.0866556987, -0.5018299818, -0.8888756633, -0.3058459759, -0.2524032295, -0.3016732931, 0.5813071728, 0.3276120722, -0.707382977, 0.7150371671, -0.6556580067, -0.3566344976, -0.1852090061, 0.5665231347, 0.0576065183, 0.4871468842, 0.6670216322, -0.9161942005, -0.1310091466, -0.2719829977, -1.0713187456, 0.1230612323, -0.5350552797, -0.0568775348, 0.1039750203, -0.0271888468, -1.0107500553, 0.4772208631, 0.6228650808, -0.6540626884, 0.6360347271, -0.3083561659, 0.7244873047, -1.0999295712, 0.3074002862, -0.3842128813, 0.0837918669, -0.2023684978, 0.215621084, -0.2240973711, -0.6072115898, -0.5423419476, 0.5930489302, -0.3746594191, 0.0040069064, -0.3060765862, -0.0103534162, 0.0046933452, 0.4726668596, 0.3566765487, 0.3397701383, 0.4019375145, -0.1322523355, 0.6276629567, 0.3218231797, -0.2245995104, 0.7289922833, -0.2024956197, 0.2700681388, -0.2912989855, 0.224594757, -0.8478288054, -0.1869902015, 0.6374154091, -0.2819291651, 0.0695047006, 0.4413214326, -0.4253978431, -0.5364589691, -0.1497595757, 0.658909142, 0.6315143108, -0.4328831732, 1.4179253578, 0.1730458438, -0.0428263731, -0.1745932251, -0.6772142053, 0.5171246529, -0.5666912198, -0.4699896276, 0.4170714319, -0.3523750603, -0.1644790471, 0.142354697, 0.2241656035, 0.1752516031, -0.2892524302, 0.9959638119, 0.1523716599, 0.111103639, 0.2061030269, 0.2765535414, -0.1418452263, 0.3262291253, -0.0485226586, 0.3286231756, -0.2463512868, -0.4188388288, -0.7039444447, 0.7097183466, 1.0691947937, -0.0118434057, 0.600075841, 0.7252421379, -0.5750513077, 0.0483089089, -0.69306463, 0.0050624604, -0.3913207054, -0.2320266664, -0.6051662564, -0.6219322085, 0.3561282456, -0.0681699589, 0.1030430347, 0.314669013, 0.3863260448, -0.6664162874, 0.7095806599, 0.4615430832, 0.1463607401, 0.412938714, -0.1508851945, -0.0450827219, -0.8499788642, -0.4083890617, 0.0999616459, -0.8750160336, -0.2718264461, -0.5636042356, 0.3973332942, -0.3439075649, -0.0248695314, -0.0308500081, -0.6164770722, 0.1222149953, 0.5686885715, 0.340893656, 0.1854669303, -0.2123993486, -0.0965152234, -0.4243486822, -0.2143895179, -0.6001976728, 0.5812563896, 0.0518874228, 0.7440078259, 0.0345096514, 0.7690527439, 0.5606907606, 0.6270429492, -0.5330960155, 0.5634514093, 0.3372507691, -0.4383177161, -0.2242900133, -0.123802416, -0.8687130213, 0.1992851198, -0.5169938207, -0.6556243896, 0.243105635, 0.3361308277, -0.5431673527, 0.5171049237, -0.3580960333, 0.8378453851, -0.3585746288, -0.1997516155, -0.9081953168, -0.6073620915, 0.260987252, 0.3796762526, 0.1708570421, 0.1689187735, -0.0539725907, 0.5713645816, -0.1971505284, 0.8780667186, -0.1008824408, 0.1054866761, 0.5483141541, 0.6859728694, 0.1212989837, -0.153176561, -0.0455712527, 0.005989647, -0.0288101789, -0.1892200708, -0.7058396935, 0.6083766222, -0.4987677038, -0.6070429087, -0.2794907391, -0.5207930207, 0.0380364023, 0.0207714438, 0.130577147, 0.162866652, -0.6309570074, 0.0048066294, 0.3128660619, -0.4235993624, 0.6199860573, 0.2000691742, -0.481965363, -0.5670413375, 0.7756121159, -0.0644098446, -0.3403942585, 0.3982310593, 0.2907466888, -0.0093809981, 0.0252003912, -0.4231534898, 0.1723946631, -0.4517679811, -0.1699250191, -0.7231181264, -0.0308467038, -0.02864483, -0.328335315, -0.2018653899, -0.3156467378, -0.1651093215, -0.4408047497, -0.0382517911, 0.5085480213, -0.3256546855, -0.1338437498, -0.8940529227, 0.6735213995, 0.8535836339, 0.3245948255, 0.270783931, 0.0661910772, -0.2866058946, 0.2233567089, -0.444534719, -1.0326932669, 0.592250824, 0.1108560562, 0.3531296551, 0.6894021034, 0.0740020126, 0.6218791604, -0.2750981748, 0.8110899329, 0.5233897567, -0.857981801, 0.9379647374, -0.3534408212, 0.3398338854, 0.2962452769, 0.3577153087, -1.0025132895, -0.1956615597, -0.6586334109, -0.5595803261, 0.2623001635, 0.4434311986, 0.4694411457, -0.0812790543, 0.6819016933, 0.355070442, 0.4548769593, -0.863150239, -0.1582517773, -0.6653416753, -0.4173307717, -0.060064882, -0.5871938467, -0.1735748798, -0.1788171977, 0.2456537336, -0.1143731251, 0.5491406322, 0.1641300321, -0.0062767426, -0.3827439249, 0.0184778608, 0.4328512549, 0.4700837433, -0.1172572225, 0.2997355759, 0.0326436274, -0.3723782897, -0.046252314, -0.0934217572, 0.1340384781, 0.143520534, 0.3775711358, 0.8566672802, 0.1455523074, -0.847714901, 0.1800352633, -0.1885095388, 0.033838205, -0.3945610821, 0.1123759672, 0.2725580037, 0.5039260983, 0.3184995651, -0.0154570956, 0.5153233409, -0.7291770577, -0.132019937, 0.1361643523, -0.6501437426, -0.4021186531, 1.0104483366, 0.5696184039, -0.658347249, 0.9744896293, 0.1489947289, -0.2367290705, 0.4796250761, 0.5233339071, 1.3418233395, -0.5612514019, 0.4798894525, 0.3265892565, 0.1440850794, 0.5740988851, 0.5285535455, -0.48466447, -0.6537206173, 0.1402271092, -0.621855557, -0.5580106378, -0.2092354, -0.6995973587, 0.0067326073, -0.0739652142, -0.037115328, -0.2668924332, -0.6195052266, -0.6864728332, 0.4963458478, 0.8557633162, 0.6285387874, -1.0399255753, 0.4115263224, 0.7356187701, -0.3786795437, -0.4761472642, 0.0764834508, 0.0693318471, -0.5389130712, 0.4910981953, 0.5305668712, -0.2383976877, -0.1064251661, -0.1468567401, -0.391633898, 1.2507933378, 0.3890781105, -0.587351501, -0.0850723237, 0.3345329463, 0.7253088355, -0.6575509906, 0.4296729863, 0.286074847, 0.5690836906, 0.2720729709, -0.5116798282, 0.1487135142, -0.4528893232, 0.0089628026, 0.0968870297, -0.7585768104, 0.2820402384, -0.4921967685, -0.3126651347, -0.1097910777, 0.895072937, 0.2119292617, 0.5500109196, 0.7222880721, 0.8010674119, 0.4755428731, 0.0512804575, 1.1114797592, -0.2915977836, -0.016404761, 1.0271780491, 0.1041376516, 0.6488533616, 0.698982358, 0.063648589, 0.8100714684, 0.6723207235, 0.2189496756, 0.4540578425, 0.1838324517, -0.413762778, -0.2983738482, -0.1033460796, -0.2845377326, 0.3073119521, 0.2053707987, -0.2838002145, 0.0554682314, 0.8194139004, -0.2661859989, -0.0365051515, -0.1311303228, 0.6765595078, 0.202190727, -0.6090222597, -0.0276155472, -0.5239396095, 0.2964432538, -0.4191366434, -0.5152014494, -0.3217647076, -0.2005428076, -0.1961734295, -0.8823900223, 0.6294237971, -0.2763589621, 0.0095394021, -0.641944766, 0.5231715441, -0.3025079966, -0.4780957997, 0.1802227199, 0.3155349791, 0.1476018429, -0.2545291483, -0.6587227583, 0.247899279, -0.1055271998, -0.2349550426, -0.0711605176, 0.4729150832, 0.2935542464, 0.9430776834, 0.0940928608, -0.260527283, -0.393094182, 0.0128518622, 0.6695669293, -0.9988290668, -0.7719938755, -0.7658509016, 0.8466566205, 0.209240213, -0.3355886936, 0.4023471773, 0.5050629973, 0.1151379645, -0.3944054246, 0.5944204926, -0.4126033485, -0.0112046376, -0.2233518809, 0.6955577731, -0.6608800888, -0.2606396675, -0.5209282041, -1.073179841, -0.1276119351, 0.4223242402, 0.2129592001, -0.1892468184, 0.5299451947, 0.1508258283, 0.0834147409, 0.158123374, 0.4292367697, 0.2986890674, 0.2106475234, 0.4638530612, 1.1800880432, -0.0434041061, 0.2121017724, -0.1123767272, -0.3053044677, -0.3321140409, -0.8648491502, -0.5696102977, -0.895155251, -0.4380229414, -0.1792981923, 0.0979074612, 0.983080864, 0.4730706215, -0.3860166073, -0.228314057, -0.0395146012, 0.0919796154, -0.3463090062, -0.2651756108, 0.2682684958, 0.0040882258, -0.6877470613, 0.2123187333, 0.6466837525, 0.2910245955, -0.4091754556, -0.1190600544, 0.4353963733, 0.1128949076, 0.5645836592, 0.1872394681, -0.6354385018, -0.2726437449, -0.5624448657, -0.0013635185, 0.0148442406, 1.0378733873, -1.080254674, 0.8533663154, 0.272611618, 0.2289952934, 0.8343367577, -0.2425632328, 0.78619349, 0.0018995266, 0.1426944733, 0.4585524797, 0.3659712374, 0.0220294204, -0.4470655918, 0.5847840905, 0.1298023909, -0.1295157671, -0.5660706758, 0.1480503529, -1.0783532858, -0.4094181955, 0.7384639978, -0.0115957912, -0.0228799228, 0.5337770581, -0.7220872641, 0.1075679138, 0.1570634842, 1.2325794697, 0.5644458532, -0.5809491873, -0.3381172419, -0.2242000252, 0.3594072461, 0.2827811539, -0.8186354637, -0.1051438451, 0.7522462606, -0.0534507409, 0.2424358726, 0.342705369, 0.2042057663, 0.2463933527, 0.2337220311, 0.5228950381, -0.2393515557, -0.2261282206, 0.03557349, 0.3737371862, -0.3562600613, -0.4162731767 ]
http://arxiv.org/abs/2403.00896v2
http://arxiv.org/pdf/2403.00896v2
DiaHalu: A Dialogue-level Hallucination Evaluation Benchmark for Large Language Models
2024-03-01T15:38:55
2024-06-17T15:11:20
Kedi Chen, Qin Chen, Jie Zhou, Yishen He, Liang He
cs.CL
cs.CL, cs.AI
Since large language models (LLMs) achieve significant success in recent years, the hallucination issue remains a challenge, numerous benchmarks are proposed to detect the hallucination. Nevertheless, some of these benchmarks are not naturally generated by LLMs but are intentionally induced. Also, many merely focus on the factuality hallucination while ignoring the faithfulness hallucination. Additionally, although dialogue pattern is more widely utilized in the era of LLMs, current benchmarks only concentrate on sentence-level and passage-level hallucination. In this study, we propose DiaHalu, the first dialogue-level hallucination evaluation benchmark to our knowledge. Initially, we integrate the collected topics into system prompts and facilitate a dialogue between two ChatGPT3.5. Subsequently, we manually modify the contents that do not adhere to human language conventions and then have LLMs re-generate, simulating authentic human-machine interaction scenarios. Finally, professional scholars annotate all the samples in the dataset. DiaHalu covers four common multi-turn dialogue domains and five hallucination subtypes, extended from factuality and faithfulness hallucination. Experiments through some well-known LLMs and detection methods on the dataset show that DiaHalu is a challenging benchmark, holding significant value for further research.
[ -0.47714746, -1.0685323477, 0.5690187812, 0.3645592332, -0.3821907341, 0.0793948323, -0.2511432469, -0.4719814062, 0.1343552172, 0.5201340318, -0.539163053, -0.7573227286, -0.3943005204, 0.4183083475, -0.5972697735, 0.627346158, 0.0957188159, -0.0841627494, -0.2880095243, 0.0199494418, -0.6601223946, -0.5893151164, -0.4362569451, -0.2506830692, 0.3055176735, 0.2202518433, 0.5866500735, 0.1470223367, 0.423306495, 0.3176834285, -0.0018376567, 0.3340550065, -0.6779701114, 0.3318606317, 0.3317148089, -0.3285209835, -0.5187621117, -0.0083927978, 0.7605715394, 0.7091492414, -0.271989435, -0.1496025771, 0.0951317847, 0.4282314777, -0.5379950404, 0.2433570325, -0.6804868579, 0.0825351551, -0.2472118437, -0.2079519629, -0.5838805437, -0.6680659652, 0.0671995878, -0.4500713944, 0.0575582683, 0.0503488965, 0.7735925913, 0.5508545041, -0.0926319361, -0.3762849867, -0.8298700452, 0.8081457615, -0.8146218657, 0.6645989418, 0.4538167417, 0.3130293787, -0.2811295688, -0.3912143409, -0.7192599773, -0.470356524, -0.3019195199, -0.0232965462, -0.2727340162, 0.0234720428, 0.327783972, 0.3143868744, -0.774318099, 0.0351602547, -0.0080268523, -0.2413659692, 0.3736965358, 0.3250438869, 0.231416449, -0.1092232093, -0.2103510648, -0.0198614802, -0.602674067, -0.4321938753, 0.2411687225, -0.0247362889, -0.05193251, 0.2807402611, -0.2556621134, 0.6994817257, -0.2260816842, -0.1465587467, 0.3945547342, -0.3641749024, -0.2275594324, 0.2795162797, 0.8913878202, 0.3721467853, 0.3249432743, -0.2492364347, -0.2382610291, 0.2440714836, 0.2201235741, -0.982870698, -0.3912240863, 0.2355873138, -0.3663783371, -0.2729213834, -0.0491643846, -0.9906656146, -0.5887672901, -0.0836373419, 0.1788970679, -0.4627980292, -0.3628265262, 0.2481637746, 0.3875463009, 0.4096824527, 0.4380472302, -0.7639719248, 0.5466083288, 0.8387311101, 0.8682973981, -0.4549023509, -0.382594645, -0.6270227432, -0.0520780496, -0.5339323878, 0.9017910957, -0.7469815612, -0.4628582299, 0.0407510176, -0.1617092937, -0.1083486527, -0.9195324779, 0.6308627129, -0.4025223851, 0.1172801554, -0.1264333576, -0.5142658949, -0.2099394202, 0.3380817175, -0.6958833933, 0.9227870703, 0.0042489185, -0.6367055178, 0.2968529165, -0.3972860873, -0.3194929361, 0.1789237559, -0.42514503, -0.5889802575, -0.0717353895, 0.0287247524, 0.2896473408, -0.4761699736, 0.6108376384, -0.310118705, -0.7388525605, 0.4025735855, -0.6404386163, 0.4571847916, 0.0023970453, -0.3306708038, 0.0552160181, -0.733448863, -0.3713280857, 0.0468718074, -0.1743819118, -0.3173590899, -0.1071594507, -0.0943730548, -0.0164790768, 0.1111209616, -0.4787223339, 0.2608032525, -0.315674603, 0.1622166634, 0.7085294127, -0.0277502611, -0.1376636326, -0.2838208973, 0.4203669727, 0.1463181078, 0.0904445276, 0.024046164, -0.4879637063, -0.8895784616, -0.3709390163, 0.2554228902, 0.4780100286, -0.47924757, 0.504311502, -0.2349558026, -0.2985495925, -0.6903252602, 0.1303748637, 0.4195905328, 0.2907226682, 0.3218832016, -0.2970785499, -0.5945870876, -0.9371652603, -0.0398329906, -0.5083729625, 0.0470265262, 0.3689688444, 0.4061178267, -0.4400297999, 0.722618103, -0.3918487132, -0.3745799959, -0.2298489064, 0.3038080633, 0.1800267845, 0.1711815447, 0.2603287399, -0.6629880071, -0.3049140871, -0.195844546, -1.1390168667, -0.4057461321, -0.327180773, -0.0793103725, 0.3341788054, 0.5582486987, -0.7520283461, 0.3254877329, 0.5196466446, -0.1705674529, 0.7818400264, -0.0007443567, 0.3651551008, -0.8502180576, 0.0577522889, -0.1560302973, -0.1025545076, -0.7684400082, -0.2425970286, -0.2409302294, 0.1619482934, -0.1598032266, 0.3477397859, -0.1204460636, -0.2397825122, -0.0583949797, 0.3615228534, -0.088062197, 0.4737998247, 0.170477137, 0.795819521, 0.5238892436, -0.4975351691, 0.4775750339, 0.5554341674, -0.649381578, 0.5484933853, -0.7491082549, 0.27363047, 0.1740666777, 0.3274747729, -0.9550640583, -0.011376488, 0.3569939137, -0.1775847822, 0.0603379831, 0.0792634711, -0.6206173301, 0.0115746483, -0.2955837846, 0.6375194192, 0.4072502553, -0.4493951499, 0.3406096399, 0.2908677757, -0.0480265319, -0.3569330573, -0.3119361401, 0.458936125, -0.5274543166, -0.483659029, 0.24209553, -0.3583897948, -0.4277468026, -0.5290647745, -0.0508656837, 0.2931781411, 0.1195037141, 0.2608435154, 0.3452406228, -0.1907670349, -0.0911405385, -0.1302260756, -0.3152664006, 0.2727407217, 0.0544735044, 0.9943248034, -0.1811511666, -0.47172153, -0.7886343598, 0.1349880993, 0.5552559495, 0.0049535264, 0.4309805036, 0.6133377552, -0.4836846292, 0.0295270048, -0.7600536942, -0.364826858, -0.4218578041, 0.3067628443, -0.74462533, -0.6991312504, 0.3922785521, -0.2846646607, 0.124290809, 0.0447913893, 0.7293045521, 0.1687619239, 0.9332604408, 0.2501198053, -0.1578191966, 0.1309337616, -0.1668281406, 0.3756686747, -0.844301641, -0.2845382392, -0.5209759474, -0.1459918469, -0.7081058621, -0.3965364099, 0.422329098, 0.2139757872, 0.1192136183, 0.4448857307, -0.2343356162, 0.1888393462, 0.2602434754, -0.0042314953, 0.6529352665, -0.1117416099, -0.1206635684, -0.1014240459, -0.4220848978, -0.6838529706, 0.7085410357, 0.3099967837, 0.8478018045, 0.2238410562, 0.9204970002, 0.5245477557, 0.1363323182, -0.6538926959, 0.873729229, 0.2092486769, -0.1893906146, -0.4038694203, -0.597566247, -1.0033003092, 0.2534245849, -0.0114768595, -0.8885871172, 0.2041939646, -0.2075397223, -0.3819403946, -0.0156575833, -0.2606295347, 0.9330108762, 0.0655892566, -0.216162324, -0.3758814335, -0.4372873604, 0.547904253, -0.2564508021, 0.2641386986, -0.2381218523, 0.2322160602, 0.7486489415, -0.1355917752, 0.8800500035, 0.008990394, -0.5591683984, 0.0632073283, 0.5623269677, 0.3438589275, 0.3406123519, -0.0477085188, 0.370498538, -0.006875325, -0.0869007707, -0.4619152248, 0.8460518122, -0.6803887486, -0.6760139465, -0.4955839813, -0.4689184725, -0.2814879119, -0.0059548914, 0.0083716698, 0.4010819793, -0.550128758, 0.0514620021, 0.8379432559, -0.4675266743, 0.2313436419, 0.5081360936, -0.5369052887, -0.2555363774, 1.1734323502, -0.3521325886, 0.2269873619, 0.3535650671, 0.1549269408, -0.2308118939, -0.5464326739, -0.617574811, 0.3177400231, -0.5997311473, -0.0672390014, -0.7683148384, -0.4200702012, -0.3110713065, 0.1504749358, -0.3311405778, -0.1384962052, -0.224219799, 0.0668682382, 0.0817498043, 0.7301080227, -0.008379274, -0.1499000043, -0.6601996422, 0.6800858378, 0.3223439157, 0.2816498876, -0.0581513643, -0.54369241, -0.0501227565, -0.0155161275, -0.1990703046, -0.5617879033, 0.2494406402, 0.2043580711, 0.5653671622, 0.6284062266, 0.2078847289, 0.6340091228, -0.3917523623, 0.7709196806, 0.0670759454, -0.8641031981, 0.5103535056, -0.0820829123, 0.1812724769, 0.5045491457, 0.3538161814, -0.6854278445, -0.5346143842, -0.2563997805, -0.2688367963, 0.5080648065, 0.4779287577, 0.0666708648, -0.1306523979, 0.0458389148, 0.4371631444, 0.161606282, -0.4861717522, -0.0964291617, 0.0126848156, 0.0161763448, -0.0336930677, -0.3534271121, -0.1170142815, -0.2726286948, 0.5034999847, 0.0265868865, 0.280146718, 0.0955085084, -0.3568792641, -0.1129274666, 0.1859252453, 0.7021385431, 0.6675748825, -0.3836060762, 0.2069856972, 0.2424288839, -0.5440793037, 0.0761320069, 0.0274943057, -0.1896944642, 0.2825642228, 0.4895241261, 0.8401462436, 0.1946819425, -0.8024707437, 0.3261792064, -0.34852916, -0.0701707155, -0.220933944, 0.0487500243, -0.100125365, 0.2259810418, 0.1566145569, -0.4216695428, 0.3459247053, -0.6811084747, 0.3141098917, 0.4834792912, -0.4279254377, -0.3076935112, 0.531896472, 0.1986923069, -0.4197024703, 0.7985672951, -0.2445371449, -0.541883707, 0.1292099804, 0.433377862, 1.0783680677, -0.3156446218, 0.4040296376, 0.3410716355, 0.3211732805, 0.0964060351, 0.3225754797, -0.1171572432, -0.8152889609, -0.2295911908, -1.0526753664, -0.5098587275, 0.3706855476, -0.5062407255, 0.3961239755, -0.0458725542, 0.0182033852, -0.0748897716, -0.0553369485, -0.2463966459, -0.1546967775, 0.329818517, 0.523555696, -0.6917517185, 0.84833318, 0.1172842458, -0.1740956455, 0.0505846739, 0.2555840313, -0.0467261598, -0.707978189, 0.3862399161, 0.3909097016, -0.328204453, -0.030751897, -0.2827406526, -0.251645267, 0.8681789637, 0.2897976935, -0.6858894825, -0.0063752439, 0.5940950513, 0.455232501, -0.4030179381, 0.3332165182, 1.1297590733, 0.5567132235, 0.0862422511, -0.9447799921, 0.2887203097, -0.2277284116, -0.0016233935, 0.0682943389, -0.6471662521, 0.5775114298, -0.0344930366, -0.2752612531, 0.3336780369, 0.6263605952, 0.5010827184, 0.3037389815, 0.7099835873, 0.6389375329, 0.6210954785, -0.1164396629, 0.5847550035, -0.3800721467, 0.1653142124, 0.8987162709, -0.5790139437, 0.6153253913, 0.3834202886, -0.1835909188, 0.7049549222, 0.6791981459, -0.0372912399, 0.5419605374, 0.3956121206, -0.4301015437, -0.4537746906, -0.2275453061, -0.4351103604, 0.5060138106, 0.5175825953, 0.0348438434, -0.1501487643, -0.0249669086, -0.1392080337, -0.1183496565, 0.3599372208, 1.1451479197, 0.1449375749, -0.56035465, 1.1640760899, -0.1447959393, 0.4272795916, -0.3516966105, -0.4616702497, -0.5883965492, 0.0014436105, -0.1026118919, -0.4216649532, 0.1244910881, 0.0317662507, 0.2783226669, -0.0471993722, 0.473433882, -0.4176892042, -0.3004852533, 0.4133504629, 0.4621897638, 0.686999619, -0.1344195157, -0.5197651982, 0.7014716268, -0.1483328193, -0.134609893, 0.2305847853, 0.5352519751, -0.0247437526, 0.6069621444, 0.4955915809, -0.1212291643, -0.1469505429, 0.6113838553, 0.9311130047, -0.5383551717, -0.0463829041, -1.0432543755, 0.0618279316, -0.1599040329, -0.323007226, 0.7266454101, 0.7767057419, 0.8154481649, 0.1143949851, 0.7452617288, 0.1682698429, 0.1598148942, -0.6524278522, 0.6678899527, -0.4037650526, 0.4906810224, -0.512837708, -1.3325222731, -0.1844674051, 0.7977801561, -0.1426585019, 0.0114165191, 0.8668108582, 1.0064128637, -0.0798587799, 0.3507971168, 0.6615650058, 0.5175257921, 0.3114594519, 0.6855118275, 1.1502524614, -0.4084501266, 0.4823449552, -0.214893505, -0.4236097038, -0.4028559625, -0.5510387421, -1.1366558075, -0.6524358392, -0.4872394502, -0.3725770414, 0.1301742047, 0.7019006014, 0.5110925436, -1.001342535, -0.5427225232, -0.1713699698, 0.1153808311, -0.2411157191, -0.186652422, 0.2709719241, -0.2617206872, -0.827182889, 0.561389327, 0.4612598121, -0.0789830089, -0.8097676635, -0.3067461252, -0.1937656999, 0.131938681, 0.5938541889, -0.124743931, -0.8871092796, -0.2286380082, 0.0651676804, -0.1004922464, 0.2066025138, 0.8322094083, -0.7850914598, 0.4239166677, 0.2911562324, 0.5334342718, 0.4440248907, -0.0894511044, 0.4245632589, -0.4338867664, -0.087057732, 0.2356037796, 0.2384351939, 0.3724300861, -0.0815882832, 0.503410399, 0.3680969477, -0.5360305309, -1.1531742811, 0.1862371117, -0.9307890534, -0.0638207495, 1.2238172293, -0.0362714082, 0.0148580391, -0.3193990588, -0.2918846309, 0.2429419756, -0.299446255, 1.3207458258, 0.8904889822, -0.0908693597, -0.1899715811, -0.6505713463, 0.6333668232, 0.4098676443, -1.0070284605, 0.5349307656, 0.4515298009, -0.2221653759, 0.1690747589, 0.5348271132, -0.0170583185, 0.1094174236, 0.0050465837, -0.0246055853, 0.3214044273, -0.6710811257, -0.2257322371, -0.2022389174, 0.0051466483, -0.0191284865 ]
http://arxiv.org/abs/2403.00894v1
http://arxiv.org/pdf/2403.00894v1
A systematic evaluation of large language models for generating programming code
2024-03-01T14:43:06
2024-03-01T14:43:06
Wenpin Hou, Zhicheng Ji
cs.SE
cs.SE, cs.AI, cs.CL, cs.PL
We systematically evaluated the performance of seven large language models in generating programming code using various prompt strategies, programming languages, and task difficulties. GPT-4 substantially outperforms other large language models, including Gemini Ultra and Claude 2. The coding performance of GPT-4 varies considerably with different prompt strategies. In most LeetCode and GeeksforGeeks coding contests evaluated in this study, GPT-4 employing the optimal prompt strategy outperforms 85 percent of human participants. Additionally, GPT-4 demonstrates strong capabilities in translating code between different programming languages and in learning from past errors. The computational efficiency of the code generated by GPT-4 is comparable to that of human programmers. These results suggest that GPT-4 has the potential to serve as a reliable assistant in programming code generation and software development.
[ -0.2299606353, -0.5035783648, 0.7958384156, 0.4420025349, 0.0324872956, 0.1906137764, -0.3707088232, -0.2388609499, -0.1201919764, -0.0031222245, -0.4140639603, -0.453039974, -0.3372343183, 0.5796636343, -0.3473834991, 1.0870940685, 0.0418958664, 0.1276043653, 0.1966769248, 0.41465047, -0.6500296593, -0.7347337008, -0.6472098231, 0.0221859459, 0.3071289062, 0.2686704099, 0.5949489474, 0.2208016664, 0.7496770024, 0.3956276178, 0.4405677021, -0.2841646373, -0.4661358893, 0.0803084373, -0.1944944859, -0.2793135345, -0.3627888262, 0.1229766011, 0.4394321442, 0.1916005611, -0.2371855527, 0.1609137505, -0.0789652392, 0.4995213151, -0.0942770764, 0.3296555579, -0.5386614799, -0.0962360352, -0.3950371742, -0.3086180091, -0.3943914473, -0.7280106544, -0.1713410914, -0.4998444617, 0.3427232206, -0.0807719454, 0.6028306484, 0.022132922, -0.0394486897, -0.7384306788, -0.5307115912, 0.5724337101, -0.7614654303, 0.2182895988, 0.1166938692, 0.2923871577, -0.1392567754, -0.9628067613, -0.6260309815, -0.5644472241, 0.4531004131, 0.1226241067, -0.2283464372, 0.052101668, 0.6433615088, 0.2799831927, -0.7791684866, 0.0196875185, -0.6163138747, -0.177365914, 0.4062501788, 0.0688331947, 0.5206836462, -0.3527349234, 0.1496229619, 0.0413953252, -0.7379714847, -0.1417534053, 0.6683998108, -0.0037621579, 0.0431890525, 0.5503945947, -0.2112662941, 0.6573631763, 0.0628973022, -0.2476437986, 0.3376332819, -0.6008111835, -0.0354164317, -0.2961642444, 0.7418878675, 0.3986532688, 0.2191746086, -0.1663870364, -0.4809923172, 0.2484292835, 0.3646503687, -0.8176131248, -0.5011098981, 0.0333273113, -0.4900692701, -0.2835522592, -0.0295955464, -0.4461861849, -0.0822366625, -0.137718901, 0.2164191157, -0.4018764496, -0.273676604, -0.058101356, -0.2924181223, 0.2912319303, 0.2073096335, -0.8028949499, 0.1055690199, 0.6170386672, 0.9138611555, -0.2736984789, -0.2932736576, -0.4658074081, -0.1974962056, -0.554946661, 0.4110810757, -0.5400851369, -0.4681004286, -0.0455544293, -0.3575577438, 0.1781908125, -0.4085212052, 0.4316380322, -0.5859460235, 0.015394913, -0.384501636, -0.4984029531, 0.1085102037, 0.1943432689, -0.6597948074, 0.7023171186, 0.5402733088, -0.6746140122, 0.2493841499, -0.8815444112, -0.1588572562, 0.3972747624, -0.428512156, -0.1817551702, 0.1156522632, -0.0427326821, 0.4566751719, -0.4774737656, 0.2038793713, -0.0307383724, -0.4892414808, 0.31337291, -0.1738959849, 0.5384204984, 0.3410528898, -0.6825326085, 0.1121819466, -0.5524067879, 0.0727184862, 0.3197206557, -0.5889615417, 0.1186663583, -0.3915831149, -0.2134389579, 0.3177473545, 0.2215774953, -0.5128111839, 0.5520967245, -0.1076014563, 0.5771647096, 0.7095164061, 0.2095926851, 0.210422501, 0.1082337052, 0.9833874702, -0.4976654947, 0.0928990245, -0.2766044736, -0.8017643094, -0.3105020225, 0.0097823013, 0.3110843003, 0.48869133, -1.206612587, 0.0069442494, -0.0247262232, -0.3536461592, 0.0161796659, 0.2296727002, 0.6015120745, 0.3093316555, 0.0410955623, -0.3010979593, -0.404823035, -0.816021204, -0.0240800902, -0.0920784771, -0.0810888335, 0.1613442749, 0.4585264921, -0.4103702009, 0.5758015513, -0.4067195356, 0.4574911892, -0.4888572395, 0.2407447845, 0.4993365407, 0.4161728024, 0.7078934312, -0.4252278507, -0.6370531321, 0.1025570258, -0.5768709779, -0.2361789048, -0.0929519683, -0.071957849, 0.4243800044, 0.2554314435, -0.6039093733, 0.2659466565, 0.7046371102, -0.2870230079, 0.9777770042, -0.2956266701, 0.4094113708, -0.7000694275, 0.2719724774, -0.2579796314, -0.1094043851, -0.4268732369, 0.2549855709, 0.2197033316, -0.4011378884, -0.0551472194, 0.150189653, -0.5947449803, -0.3375708759, -0.1084480062, 0.0594405793, -0.367526859, 0.3647461236, 0.0231459253, 1.1153358221, 0.6142366529, -0.377383858, 0.6711514592, -0.0288200025, -0.3850896358, 0.2792080641, -0.8851647377, 0.5175849199, 0.2502264977, 0.2290388942, -0.9479469061, -0.3587473929, -0.0971284658, -0.5457440615, 0.4403566718, -0.0579906963, -0.5136306882, -0.9007815719, -0.3200698197, 0.3250692487, 0.8579913378, -0.3000047207, -0.0898341611, 0.0150525421, -0.4951615632, -0.3693961799, -0.2437154502, 0.219905749, -0.0700634271, -0.4807996154, -0.0383244753, -0.14785932, -0.025545951, -0.2904318571, 0.0873420015, 0.2228256315, -0.1306906492, 0.0763534755, 0.3656107187, -0.1050858498, -0.2372693717, -0.3376760781, -0.2339491248, 0.0979630426, -0.4940347373, 0.6907776594, -0.2512152791, -0.4145077765, -0.1631504446, 0.3681561053, 0.3237856925, -0.1323376894, 0.2729375064, 0.3774386644, 0.0323534347, -0.1886164546, -0.475628823, 0.0134808654, -0.4864251316, 0.4709563851, -0.6692441702, -0.6940200329, 0.4311646223, -0.0284924489, 0.185394451, 0.3390409648, 0.8150264025, 0.4438129067, 1.1804897785, 0.5984147787, -0.0283850878, 0.3513679504, -0.2579518259, 0.3049051762, -0.3928702474, -0.1165134683, -0.7188203335, 0.0444690436, -0.636580646, -0.5001106262, 0.3792574704, 0.0269582532, -0.479160428, 0.3417601883, -0.7797029614, 0.5366418362, 0.6926954985, -0.2242460251, 0.1089477539, -0.1079650223, -0.2068957984, -0.0321727842, -0.7237013578, -0.528382659, 1.2210621834, 0.3322422206, 0.7843921781, 0.3459874988, 0.8407606483, 0.1919214278, 0.4728411138, -0.3086568713, 0.3322328031, 0.1314921379, -0.6215440631, -0.1953938454, -0.6938356757, -0.7234047055, -0.2328153849, 0.195437789, -0.6053541303, -0.2609383762, 0.2002822608, -0.4305172861, -0.0798255801, -0.9422940612, 0.9380407929, -0.2524862587, -0.2603654563, -0.0195505973, -0.5658769011, 0.5224472284, -0.4192377925, 0.0749180317, 0.2455223501, 0.0451327264, 0.7153679132, -0.2901227772, 0.4181155264, -0.3212145269, -0.2186991572, 0.4091821313, 0.2765961587, 0.5691760778, 0.1066467911, -0.2134454846, -0.008581087, -0.2007781267, -0.3560020328, -0.4977612495, 0.8870306611, -0.843026042, -0.388454169, -0.3373993039, -0.2817754149, -0.1505932063, 0.3090105057, 0.5999354124, 0.7181860209, -0.1536822468, -0.0319205038, 0.3035438657, -0.6844227314, 0.6688123345, 0.3167950511, -0.3553827703, -0.3350736797, 0.8186809421, -0.0696224645, 0.2939728498, 0.0399613157, -0.012969587, -0.358741641, -0.7147393823, -0.6385549307, 0.153315112, -0.6981300116, -0.3848142922, -0.4942010343, -0.0763569102, -0.4613769352, -0.4248900115, -0.2686613202, -0.3118925393, 0.2682010233, -0.1503296494, 0.13662076, 1.3149260283, -0.0469189286, 0.1344573647, -0.8354924321, 0.2718311846, 0.3016984165, 0.3153772354, -0.1236262619, -0.1003978103, -0.1697347909, -0.2490913421, -0.4024371803, -1.0920722485, 0.2850682437, -0.2263898849, 0.5668606758, 0.1616949439, -0.3324494362, 0.3707205355, -0.7445965409, 1.2723238468, 0.5325899124, -1.1175658703, 0.4396539927, -0.7523019314, 0.469820559, 0.2902305126, 0.2305484563, -0.3040494025, -0.3208543062, -0.7659642696, -0.5634251237, 0.7251088023, 0.5099830627, 0.0902508125, -0.243584618, 0.4782229364, 0.1292488426, 0.3593392074, -0.844859004, 0.1166920811, -0.4628300965, -0.0042559067, -0.0315488428, -0.1189684868, 0.2338447422, -0.0652475059, 0.4528650343, -0.1620983332, 0.6048822403, -0.0764245167, 0.1769944578, 0.0821300894, 0.1600684524, 0.6781929731, 0.9454964399, 0.0858774558, -0.0384002887, -0.1377338171, -0.5076182485, 0.030594945, 0.0031469241, -0.1199283302, -0.0602380745, 0.4441443086, 0.5172340274, -0.0072962507, -0.57566154, 0.6726022363, -0.1825844049, -0.2630251348, -0.1070331782, 0.2324088067, 0.1995232403, 0.0459366441, 0.29727754, -0.011917253, 0.4583344758, -0.6545521617, 0.1303816587, 0.3269012272, 0.2132353187, -0.4456722438, 0.6316447854, 0.5304504633, -0.1998602748, 0.7773278952, -0.7063806653, -0.7181478143, 0.5819262266, 0.8580710292, 0.7232872248, -0.4296133518, 0.2788999677, 0.6434278488, 0.2490681261, -0.1889586151, 0.4754203856, -0.008827243, -0.339227289, -0.7274392247, -0.5915400982, -0.3066154718, -0.0714681521, -0.2478654385, 0.1359326392, -0.4383552074, -0.259845227, -0.094977513, 0.1437500864, -0.7928463221, -0.1874942929, 0.2193259746, 0.8129004836, -0.5336172581, 0.7390486002, 0.764960289, -0.5239624977, -1.3508404493, -0.1552791744, -0.0025914661, -0.4821969867, 0.7265689969, 0.0981573388, -0.0766205043, 0.0923055112, -0.6758203506, -0.8387490511, 0.8583440781, 0.3342085183, -0.6136310101, -0.0693330541, -0.2234429717, 0.3912857771, -0.2738344669, 0.4167191386, 0.7311595678, 0.441978246, 0.2178348154, -1.3155273199, -0.0586797185, -0.3602387309, 0.2919267714, 0.1907826811, -0.3727024794, 0.9806563854, -0.4040301442, -0.136344716, 0.4015412629, 0.3537150919, 0.5310450792, 0.0408614352, 0.0189875718, 0.0669043884, 0.8141253591, -0.1683375984, 1.3641819954, -0.4304328859, 0.3612730205, 0.6037125587, -0.4205605984, 0.4598255157, -0.0493573248, -0.390085876, 0.4522412717, 0.4237011969, 0.0279240999, 0.4279565215, 0.3435655832, 0.070214875, 0.1362873018, 0.6388111115, -0.5606612563, 0.2354294807, 0.126043424, -0.1791678518, -0.0838559568, -0.0426538028, 0.2872220874, -0.2218044847, -0.2975118756, 0.6045141816, -0.0744063854, -1.0536623001, 0.6906071901, 0.2809680104, 0.6311860085, -0.658088088, -0.2467865795, -0.2381587774, 0.2846907973, -0.183184579, -0.6873111725, 0.0618005022, 0.3879719377, 0.0373011157, -0.0865318701, 0.5427763462, -0.1201486439, -0.2932803929, -0.1921284795, 0.4141340256, 0.3218599558, 0.0068671983, -0.7841286063, 0.2224186063, 0.351816088, -0.3967486322, 0.1186677068, 0.5581068993, 0.0129269399, 0.4443292916, 0.7361311913, 0.0843190849, 0.1917120069, 0.1176044494, 0.7835761309, -0.6749959588, -0.8097686172, -0.7257858515, 0.2195623368, -0.2193675488, -0.345389694, 1.1080709696, 0.5910463929, 0.4770130217, -0.4192163348, 1.0015717745, -0.4520834088, 0.3922875226, -0.5184721947, 0.3142406642, 0.0806943253, 0.1889950633, -0.7675700188, -1.2543171644, -0.1803019643, 0.6814568639, -0.2866520882, 0.4772177041, 0.8429640532, 0.6168928742, 0.1195246503, 0.0249923039, 0.3424125016, 0.1772765666, 0.6586614251, 0.7783538699, 0.9511166215, 0.0259515047, 0.3917784393, -0.0369817466, -0.6195585132, -0.0677924678, -0.8653063178, -0.79301548, -0.4525121748, -0.0897763446, -0.4578538537, -0.1052421704, 0.7073350549, 0.6134709716, -0.4729853272, -0.0454191081, -0.168642655, -0.3123749793, -0.111643061, -0.1518260837, 0.2964792252, -0.5070337653, -0.6926885247, 0.3403715193, 0.2164021432, -0.1836070418, -0.3757027686, -0.5399309993, 0.3494038582, -0.0037116113, 0.7105846405, 0.2469312847, -0.4388649464, -0.16200836, 0.2554970086, -0.2357859462, -0.2905658185, 1.1654715538, -0.5350158811, 0.2495785058, 0.5624397993, 0.4840499759, 0.3761635125, 0.2623451352, 0.7544159889, -0.5336575508, -0.0406686589, 0.14151223, 0.337556392, 0.3898775876, -0.4793260396, 0.7173101902, 0.1048260704, -1.0463562012, -0.5250256658, 0.1734743118, -0.7879193425, -0.2787250876, 1.4946813583, -0.1227053031, 0.1070120633, -0.1276460588, -0.5171656013, -0.0806417018, -0.5463464856, 0.4758556485, 0.6559412479, -0.4790215492, -0.0285282377, -0.9602308273, 0.7326290011, -0.072947897, -0.7776885033, -0.2218624502, 0.9163417816, 0.4667144418, 0.3818314672, 1.0400149822, -0.2939119935, 0.656732738, 0.3109499216, 0.3130748868, -0.110881187, -0.1905290335, -0.1447047591, 0.2878843248, 0.4526779056, 0.1441410482 ]
http://arxiv.org/abs/2403.00553v1
http://arxiv.org/pdf/2403.00553v1
Standardizing the Measurement of Text Diversity: A Tool and a Comparative Analysis of Scores
2024-03-01T14:23:12
2024-03-01T14:23:12
Chantal Shaib, Joe Barrow, Jiuding Sun, Alexa F. Siu, Byron C. Wallace, Ani Nenkova
cs.CL
cs.CL
The diversity across outputs generated by large language models shapes the perception of their quality and utility. Prompt leaks, templated answer structure, and canned responses across different interactions are readily noticed by people, but there is no standard score to measure this aspect of model behavior. In this work we empirically investigate diversity scores on English texts. We find that computationally efficient compression algorithms capture information similar to what is measured by slow to compute $n$-gram overlap homogeneity scores. Further, a combination of measures -- compression ratios, self-repetition of long $n$-grams and Self-BLEU and BERTScore -- are sufficient to report, as they have low mutual correlation with each other. The applicability of scores extends beyond analysis of generative models; for example, we highlight applications on instruction-tuning datasets and human-produced texts. We release a diversity score package to facilitate research and invite consistency across reports.
[ -0.5663886666, -0.287247926, 0.1014395952, 0.6120541692, -0.2328180075, 0.1187917367, -0.324503243, -0.7096289992, 0.3990306258, 0.0163920261, 0.0184748881, -0.6200249791, -0.8320359588, 0.4149828851, -0.6374521255, 0.9650460482, 0.2308589816, -0.2010427713, -0.2751155198, -0.3965579271, -0.2743175626, -0.3081659377, -0.1196946353, -0.0893248394, 0.7888758779, 0.3530249894, 0.7663189769, 0.6089354753, 0.5926020145, 0.3206637502, -0.2436992079, 0.0809290409, -0.5739728808, 0.3966962695, -0.2542569935, -0.2352698743, -0.1675759256, 0.2894007564, 0.846339941, 0.8281168342, 0.0312719643, 0.2158390135, 0.5828136206, 0.4972700477, -0.5404906273, -0.2066652626, -0.1306487769, -0.0332972556, -0.2499970943, -0.1236168891, -0.3578628898, -0.5734794736, -0.0948579982, -0.1918957233, 0.2695296705, -0.0416868366, 0.7956705093, -0.0352158025, -0.5116393566, -0.5393568277, -0.6119040251, 1.2575111389, -0.3705600798, 0.3071407378, 0.0778599605, 0.2511594594, 0.1584848762, -0.2807307243, -0.2890580595, -0.0730690584, -0.1690456718, 0.2308258861, -0.1696457416, -0.2203851491, -0.0596318357, 0.8883091807, -0.6979063749, 0.2567929327, -0.4885830283, -0.2003430128, 0.9285366535, 0.2316463143, 0.3670189381, -0.1209737659, -0.1493482292, -0.3542570174, -0.2367367744, 0.1534839123, 0.7741990089, 0.2038324177, -0.1571227461, 0.301002115, -0.1666661799, 0.6695095897, -0.2348497957, -0.0502020605, 0.3926115334, -0.3901312351, -0.1126928255, -0.4513946772, 0.9570973516, 0.3835347295, 0.1497283876, -0.195904851, -0.2354647964, -0.1550091207, 0.1176207066, -0.84004879, -0.1933519691, -0.1302620769, -0.6323463917, -0.167797938, 0.386759311, -1.1023539305, -0.171311751, -0.0441163667, 0.2752762139, -0.2651570737, -0.0471429117, 0.2528685927, -0.5599666238, 0.2218305767, 0.3193313777, -0.9625335336, 0.430737406, 0.4985029101, 0.8663395047, -0.5207317472, -0.454896003, -0.1002590284, -0.401473105, -0.2922890484, 0.7002488375, -0.6326257586, -0.7908837795, -0.1670033932, -0.2865206003, 0.328966707, -0.6409336925, 0.5412506461, -0.1329234838, 0.5358684063, -0.3754352033, -0.6863886118, -0.0041045551, 0.2893349528, -0.6563397646, 1.1271152496, 0.2516330481, -0.6836528778, 0.5082675815, -0.218309015, -0.3397775888, 0.1319919676, -0.2180109918, -0.2156668752, 0.2229503989, -0.0015460372, 0.1874367446, -0.3461381793, 0.0003490041, -0.1274679452, -0.636233449, 0.1134837195, -0.5203042626, 0.7272291183, 0.2065872997, 0.028501099, -0.2482019067, -0.5013585091, 0.1157207862, -0.1396687478, -0.6570594311, -0.4378029406, -0.356231153, 0.1183149144, -0.0878933743, 0.3651002944, -0.489533633, 0.1971262842, -0.2222983986, -0.1486384422, 0.5917329192, -0.2328251898, 0.3012934625, -0.6545063853, 0.530739069, -0.186628297, 0.1549471468, -0.3678706288, -0.8278219104, -0.4112848938, -0.4563227594, 0.694960475, 0.2498149276, 0.0959102958, 0.8257689476, -0.2954849303, -0.8728273511, -0.7045899034, 0.1232247949, 0.0235661715, -0.0911124498, 0.3593919873, -0.5851200223, -0.3642049432, -0.7603641748, -0.8579889536, -0.0067299376, -0.466250509, 0.3983048797, 0.4034543037, -0.0755243376, 1.0473953485, -0.3477556705, 0.074240379, -0.1377108544, 0.6652923226, 0.309122324, 0.5577824116, 0.6678920984, -0.5586428642, -0.6636728644, -0.2445176244, -0.4716335535, -0.4252994061, 0.1038919985, 0.2193393409, -0.1299613118, 0.0744891316, -0.1354931444, 0.1704962552, 1.1464071274, -0.5012139082, 0.5973408222, -0.0830813348, 0.7595742941, -0.8565765619, -0.0960309356, -0.0535792112, -0.296015501, -0.2913395464, 0.1575249583, 0.0289795101, 0.1828989685, -0.0947510749, 0.520557642, -0.4075888097, -0.1071400568, -0.1222084016, -0.0014358968, 0.4425890446, -0.0012532467, -0.5309057236, 0.8296743631, 0.1048797891, -0.4392966926, 0.1384637505, -0.0920969173, -0.4487576187, 0.3564298451, -0.6280180812, 0.2175423503, -0.2714676857, -0.0843905061, -1.0589666367, -0.1048898771, -0.2447902262, -0.6617262363, 0.1378615499, 0.0738732964, -0.4205755293, 0.0081428494, -0.6222134829, 0.7466401458, 0.8659020066, -0.460855633, 0.4239800572, 0.2715621293, -0.110939987, -0.5094280243, -0.9640438557, 0.0282039456, -0.0789354667, -0.6372284293, 0.4063691497, -0.6010203958, -0.3358061016, -0.0137863327, -0.2542709708, -0.0606874414, 0.1297937185, 0.1319485754, 0.0272224639, -0.141683951, 0.3103871346, 0.3032416701, 0.4455157816, -0.0980750695, -0.1206222251, 0.4177293181, 0.0361275338, -0.321721673, 0.1592582166, 0.7649118304, 0.4335303903, 0.0910283327, 0.8063726425, 0.1542774588, -0.1216471046, -0.3185662627, -0.382060051, -0.0930862874, -0.4772331715, 0.0374778993, -0.1051712483, -1.365170598, 0.4670023322, 0.2408861667, 0.2472616136, 0.6127414107, 0.5312486887, -0.1125930697, 0.7928006053, 0.5874198079, -0.0225981902, 0.3136768937, 0.3626807332, 0.2650639415, -0.1600564569, 0.007009137, -0.912452817, -0.5513162017, -0.6942925453, -0.3895561993, 0.2659604847, 0.4023722708, 0.1531706601, -0.0338395461, -0.6004339457, 1.0619841814, 0.2446432561, -0.4587736726, 0.3483804166, -0.1330007613, -0.0571869798, -0.230278492, -0.3621066511, -0.5136131644, 0.9496076703, 0.4285060763, 0.6309898496, 0.2607748806, 1.1477185488, 0.5270670056, 0.4825824797, -0.5967657566, 0.3708738089, -0.7008707523, -0.3965149522, -0.3790927529, -0.8692449331, -1.1289442778, 0.3251817822, -0.1456814855, -0.6876682043, 0.1620488316, -0.0565599389, -0.096715197, -0.125237152, -0.7213277817, 0.7785019875, 0.1261900812, -0.037348669, -0.0638597831, -0.1248556226, 0.4580890834, 0.0395006165, 0.3392825127, -0.2476689517, 0.0774560198, 0.9766114354, 0.1911401302, 0.6942386031, 0.4271202385, -0.1210438982, 0.1684745699, 0.160078004, -0.0537268184, -0.0112791369, -0.2405565381, 0.4900793731, -0.0390122235, -0.4970180988, -0.6644579172, 0.7928954363, -0.8415433168, -0.3829751313, -0.3166011572, -0.6793617606, 0.0669339225, -0.0022824018, 0.4853622317, 0.237619549, -0.4085844755, 0.3522110283, 0.4191324711, -0.2952659428, 0.3971267045, 0.5577489734, -0.2402743697, -0.268592298, 0.7748424411, 0.3527996838, 0.276214838, 0.2304608077, 0.5093064308, -0.0739428028, -0.3544584811, 0.0695529133, -0.0301968772, -0.8460257053, -0.2170743346, -0.5023280382, -0.300496906, -0.3912499547, -0.2222862542, -0.1769041121, -0.388158977, -0.1223824322, -0.1204720438, 0.0895350054, 0.9824854136, -0.0666501224, -0.0544784777, -1.1265006065, 0.0703597963, 0.5948354602, 0.5321455002, -0.0801793039, -0.6546539068, -0.2461955547, -0.3419574797, -0.3346912563, -1.1216921806, 0.2143923193, 0.201499328, 0.5372374058, 0.258367449, -0.052577395, 0.1676624864, -0.081144385, 1.1147066355, 0.1176174954, -1.1940854788, 0.3073321879, -0.0803058892, 0.6069826484, 0.5175055265, 0.5187117457, -0.8194766045, -0.9745842218, -0.4504443109, -0.7362899184, 0.2583375275, 0.2711543441, 0.4544711411, -0.2283451557, 0.0478069931, 0.4845821559, 0.0143750105, -0.7021446228, -0.3166599274, -0.2530012727, -0.7094127536, -0.1890714318, -0.3192166388, -0.0344666652, -0.2270679921, 0.1272633076, -0.0115251075, -0.1922070086, 0.2125286013, -0.1525969505, 0.2216683477, 0.6605201364, 0.4229887128, 0.3622243702, -0.0456468128, 0.4000963271, -0.0283147804, -0.7017475367, 0.2084638923, -0.0875281394, -0.1180491224, 0.2197860181, 0.460801214, 0.1882022768, 0.0835998505, -0.6755101085, 0.4887785614, -0.2899718583, -0.1852232516, 0.3808736205, 0.2423426211, -0.0819175765, 0.0289693661, 0.1291281134, -0.0278468225, 0.5125291944, -0.5904587507, 0.306617409, 0.1755686104, -0.3639247715, -0.2688629925, 0.0116595021, 0.4346113503, -0.3731788397, 0.4198092818, -0.602335453, -0.2529145777, 0.6416113973, 0.4603536129, 0.7027564645, -0.56223768, 0.2158724368, 0.4346525669, 0.5727074146, -0.3360289037, 0.2493002713, 0.0420393683, -0.781453371, -0.2824713588, -0.7809804082, -0.4332307279, -0.1437083185, -0.5944905877, 0.1766644567, -0.3272838891, 0.0506508499, -0.0190480407, -0.1268397123, -0.4911864996, 0.2150120735, 0.1804270297, 1.0230447054, -0.9706225395, 0.5858783722, 0.4204255641, -0.4012359381, -0.6591380835, 0.1984971613, -0.0801227614, -0.3140210807, 0.5286591649, 0.4464432001, -0.0532181486, -0.3509239852, -0.3277412951, -0.5764081478, 0.6644929051, 0.2955926359, -0.6717406511, 0.2703820169, 0.2172248811, 0.6549534798, -0.383440882, 0.6330092549, 0.6932137012, 0.4333844781, -0.2371752411, -0.8211813569, -0.1657155007, -0.4463365376, -0.2418803722, 0.3668658137, -0.4679414928, 1.0424185991, 0.2443109006, -0.4868522882, -0.0357740633, 0.43587327, 0.0576439165, 0.188923195, 0.5850729942, 0.4172923863, 0.9512917995, -0.014405923, 0.9808170199, -0.1364832669, 0.5767638683, 0.794580698, 0.0328252837, 0.6307240129, 0.3121160567, -0.1825640053, 0.6142602563, 0.2734310031, -0.2638097107, 0.0760185644, 0.4377464652, -0.1898550987, -0.1712155789, 0.031505093, -0.1184493005, 0.4884757698, 0.0872856975, -0.4740069509, -0.3689246178, -0.1850398481, -0.240314424, 0.4100574553, -0.1708926558, 0.6546521783, 0.0302663818, -0.7254402637, 0.4862435758, 0.0990659893, 1.0050172806, -0.4525646865, 0.0768149421, -0.5590849519, -0.3684976995, -0.1590504646, -1.1957527399, 0.4643313587, 0.1242634282, -0.6356447339, -0.1825542301, 0.3249092698, -0.583108902, -0.3582419753, 0.4050177336, 0.3846660852, 0.313480109, 0.0917502493, -0.2857564986, 0.1448936015, -0.1522988826, -0.0652370304, 0.3957521021, 0.3131887913, 0.1071391329, 0.1967560798, 0.2835583091, -0.1104664207, 0.3236567676, 0.279030323, 0.5696465373, -0.7040631771, -0.5799900293, -0.8674716353, 0.4163104296, -0.4804218113, -0.7805869579, 0.9084873199, 0.6191853881, 0.7191849947, 0.2006049603, 0.6687183976, 0.1298828423, 0.4764105678, -0.2829052508, 0.5520725846, -0.6239870787, 0.3324120939, -0.0942315534, -0.9381833673, -0.3374333084, 0.2417236865, -0.0696951672, 0.10621766, 0.6262710094, 0.5997834206, -0.1144015715, 0.06032243, 0.4051637948, -0.0333462656, 0.2718779445, 0.2566311955, 0.8920433521, -0.3271017671, 0.7506405115, 0.260309875, -0.3847669363, -0.1700751334, -0.749596715, -0.7271152735, -0.4012435377, -0.2435245663, -0.162822634, -0.0972037092, 0.4936989248, 0.5673770905, -0.735976398, -0.3635185957, 0.1629537046, 0.3796789646, -0.3095948398, -0.2647161782, -0.1687410474, -0.4780500531, -0.640722394, 0.2715632617, 0.4726715088, 0.1720518917, -0.4104791582, -0.2492365241, 0.3068658113, 0.6483334303, 0.2037109286, 0.1367556602, -0.4275897443, -0.3461726904, -0.0791287422, -0.4207361639, 0.2978090644, 0.9065724611, -0.3911364079, 0.4736493826, 0.9268421531, 0.5113262534, 0.0285954271, -0.0706589073, 0.6429230571, -1.2443999052, -0.0242377836, 0.4512844086, 0.2926583886, 0.4749384522, -0.2152464241, 0.117871955, 0.0552653447, -0.6700190902, -0.6581513286, 0.4445117414, -0.816064775, -0.5690137744, 0.8815672994, -0.3736668229, -0.0421469957, -0.0656092465, 0.0988106355, -0.2332468927, -0.4414785206, 1.0881137848, 1.0144940615, 0.327870518, -0.2289728522, -0.0892796963, 0.4879106581, 0.4889631867, -0.9043806195, -0.1015380174, 0.1237290204, 0.287276566, 0.4411124885, 0.3560272157, -0.1682797521, 0.2516517937, 0.1412801296, 0.1828942299, 0.3407592177, -0.2855924964, -0.6049597263, 0.4610871673, 0.1186515465, -0.0381404608 ]
http://arxiv.org/abs/2403.00528v1
http://arxiv.org/pdf/2403.00528v1
Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction
2024-03-01T13:36:04
2024-03-01T13:36:04
Edward Whittaker, Ikuo Kitagishi
cs.CL
cs.CL, cs.CV, H.3.3; H.3.4; I.2.7; I.7.1; I.7.5
Language Models (LMs) such as BERT, have been shown to perform well on the task of identifying Named Entities (NE) in text. A BERT LM is typically used as a classifier to classify individual tokens in the input text, or to classify spans of tokens, as belonging to one of a set of possible NE categories. In this paper, we hypothesise that decoder-only Large Language Models (LLMs) can also be used generatively to extract both the NE, as well as potentially recover the correct surface form of the NE, where any spelling errors that were present in the input text get automatically corrected. We fine-tune two BERT LMs as baselines, as well as eight open-source LLMs, on the task of producing NEs from text that was obtained by applying Optical Character Recognition (OCR) to images of Japanese shop receipts; in this work, we do not attempt to find or evaluate the location of NEs in the text. We show that the best fine-tuned LLM performs as well as, or slightly better than, the best fine-tuned BERT LM, although the differences are not significant. However, the best LLM is also shown to correct OCR errors in some cases, as initially hypothesised.
[ -0.1476081759, -0.7687214613, 0.7655767798, -0.0312393866, -0.2900721729, 0.0403717421, -0.709256947, -0.9182926416, 0.316068083, 0.9852693677, -0.3112943172, -0.6401032209, -0.6318692565, 0.5748817921, -0.498069495, 0.8317930698, -0.0734394416, 0.1888539493, 0.1451421082, 0.1825352013, -0.2102464586, -0.5711676478, -0.9500725865, -0.1216703355, 0.7512680888, 0.1953266859, 0.5880650878, 0.5702961683, 0.339674592, 0.3263057768, -0.1385907978, 0.5657836199, -0.2515973747, 0.2729492188, -0.1200578138, -0.6401104927, -0.5838341713, -0.3510758281, 0.8511796594, 0.6366757154, 0.0085587362, -0.2287725955, 0.0717944875, 0.4184257388, -0.5450728536, 0.1817319244, -0.8152177334, -0.1785680205, -0.3138091564, -0.020795539, -0.8186284304, -0.2828234136, 0.1023620814, -0.5247061849, 0.3742980063, 0.0816714019, 1.0973199606, 0.1153865978, -0.1837910116, -0.5074548125, -0.8402189612, 0.8102525473, -0.9056699872, 0.4728232026, 0.0939453691, -0.0087417923, -0.4207614362, -0.5585362911, -0.6762884259, -0.1128633097, -0.0767490193, 0.0387542322, -0.0208657682, 0.370251298, 0.5842735171, 0.2834175229, -0.1672367156, 0.6217804551, -0.2177925259, -0.2685076296, 0.551418066, -0.123643294, 0.7845230103, -0.2782763839, -0.3013004959, -0.0792449862, -0.8750712276, -0.3356822133, 0.2819716632, 0.6707219481, 0.3975930214, 0.8864665627, 0.1643361598, 0.572542429, -0.1903560609, -0.5835818648, -0.0380662531, 0.114121221, -0.3854631186, 0.4032407701, 0.6847682595, 0.1152396798, 0.291097939, -0.4476352632, -0.5248206854, -0.2383487821, 0.0304336119, -0.5968501568, -0.3483293056, -0.0071331416, -0.4268611372, 0.057054624, 0.0461883172, -0.7675356865, -0.4405505657, -0.4739549458, 0.54922539, -0.4575996399, -0.1730886549, 0.0099060955, -0.1779740453, 0.0621646643, 0.6288340688, -0.9167074561, 0.058987692, 0.6957535744, 0.6966143847, -0.0700617433, -0.1246162057, -0.534909308, 0.1939494312, -0.4750537276, 0.9426445961, -0.3531535268, -0.1641334891, 0.041673068, 0.1404867321, -0.1077077612, -0.6716085672, 0.4657240808, -0.866194129, 0.0814503953, -0.3569045961, -0.8448681235, -0.1182589382, 0.1229974553, -1.0802744627, 0.8439615965, -0.1903121471, -0.5717608929, 0.4993562102, -0.3899341822, -0.5331582427, 0.2455170453, 0.0254924353, -0.3709979653, 0.2662908733, 0.4437283278, 0.5497527122, -0.1270840019, 0.295684129, -0.1606856138, -0.2460382581, 0.1609024405, -0.4960411489, 0.7055214643, -0.0713762641, -0.3600405455, -0.1296249032, -1.0322079659, 0.0344273038, 0.1995806247, -0.7650708556, -0.698707521, 0.2285377085, 0.1240269318, -0.1740467697, 0.3111534715, -0.7658723593, 0.3686086535, -0.385661602, 0.4990622997, 0.7009150386, -0.3030350804, 0.2557014227, -0.0565885119, 0.1905969977, -0.201272741, -0.4564142823, -0.2208811641, -0.4289877415, -1.1883798838, -0.7591466904, 0.7231491208, 0.4959919453, -1.0049475431, 0.5141795278, -0.4275257885, -0.327129364, -0.4980299175, -0.0511184856, 0.2740172446, 0.3738522232, 0.2040756643, -0.208648324, -0.5830728412, -0.8250728846, -0.2968685925, -0.0102996044, -0.0407480448, 0.2046741992, 0.2170904726, -0.114888303, 0.7733926177, -0.2865175903, -0.3851505816, -0.1618431956, 0.2073528171, 0.2087257504, 0.1891792864, 0.2960007489, -0.5789632201, -0.4269714952, -0.0079662083, -0.5751900077, -0.1322051734, -0.107798405, 0.0243440047, 0.8000717759, 0.5877664685, -0.6383864284, 0.3150086999, 0.2966140211, 0.098159723, 0.491376251, -0.548596859, 0.0553921908, -1.0203031301, 0.0146983517, 0.0234117191, -0.3874514401, -0.6145688891, 0.1801811308, 0.3687014282, 0.028692456, -0.117482245, 0.5530105829, -0.8826737404, -0.2922265232, -0.31905514, 0.187744379, 0.0366400704, 0.2959091365, 0.4229430556, 0.8476266265, 0.3632746339, -0.6987048388, 0.2950766981, 0.1467769444, -0.8293606043, 0.4381139874, -0.4071749449, 0.2036827058, -0.5133937001, 0.1000787988, -0.8625066876, -0.3495287001, 0.2335004956, -0.1382976472, 0.7160684466, -0.0981560424, -1.0730651617, -0.3407868147, 0.152195394, -0.0514567904, 0.3879666626, -0.9760919213, 0.6797967553, 0.3528271914, -0.3434202671, -0.3997195661, -0.7835154533, 0.2331911772, 0.0671160817, -0.2937229276, 0.4196104705, 0.0620945431, 0.1322364807, 0.0996280015, 0.0988215134, -0.1208293959, 0.1113196984, 0.0531163216, 0.5278286338, -0.3909034729, 0.3641441464, 0.0876353532, -0.0014561296, -0.1219481006, -0.1580593735, 0.5028907061, 0.3650749624, -0.2956276834, -0.2219573855, 0.2645939887, 0.639021337, -0.1689391732, 0.9196934104, 0.3831542134, -0.7341138124, -0.27368173, -0.839325726, 0.0481050275, -0.3904547989, 0.4485958815, -0.5742337108, -0.9634383917, 0.5884105563, 0.0421239361, 0.2048411369, 0.6360521913, 0.3537074625, -0.1099139675, 1.0587121248, 0.6239293218, -0.0791763514, 0.310698092, 0.05530582, 0.7545599937, -0.941596806, -0.4047288001, -0.6454362869, -0.2413469106, -0.5413523316, -0.1361384541, 0.2230715901, 0.3099051118, 0.0983511508, 0.5169972777, -0.4296791553, 0.565636754, 0.8496550918, 0.3228335679, 0.3932558596, 0.3579237759, -0.2128064036, -0.1360106766, -0.4422474504, -0.6752566099, 0.921887517, 0.2861780822, 0.6142302752, 0.0792302042, 0.9919557571, -0.1499648988, 0.3099010587, -1.0131032467, 0.7364339828, -0.6895080209, -0.6922278404, -0.3265579641, -0.4038899541, -1.0794744492, 0.1617808342, -0.3323637843, -0.8727063537, 0.2336368859, -0.001755403, -0.4206289649, 0.732932806, -0.5374691486, 0.5507301092, -0.4905839264, -0.0072475341, -0.0366779454, -0.1842780709, 0.1860758066, -0.3680397868, 0.1187667251, -0.2586476207, -0.0828098953, 0.6825001836, -0.436177969, 0.664899528, -0.0383136421, -0.5388701558, 0.0772281736, 0.0014285549, 0.4955755174, -0.2898481488, -0.1338763088, 0.4388841987, -0.0076549477, -0.0613205954, -0.4792940915, 0.760093987, -0.7772762775, -0.5442039967, -0.2645731568, -0.2816996872, 0.0422665365, 0.641160965, 0.4030184448, 0.5410791039, 0.0090299184, 0.1272123605, 0.8079537153, -0.377605021, 0.4145224988, 0.584888041, -0.1949284375, -0.448392868, 0.8216039538, 0.3132732809, 0.09059342, 0.6758606434, -0.0615425594, -0.2872247994, -0.5687305331, -0.5792204738, 0.351727277, -0.8233752847, -0.2805151045, -0.7393978834, -0.362600863, -0.3850513399, 0.136329487, -0.3747141957, -0.1375341862, -0.6599820256, 0.2568724155, 0.1494234502, 0.7238575816, -0.0140185086, 0.1122395396, -1.0812618732, 0.4000184536, 0.324563086, 0.3882191479, 0.1284045428, -0.2912726104, -0.0021462832, 0.2366355509, 0.1737207025, -0.806445241, 0.4917828441, 0.2098697424, 0.4814841151, 0.25704211, -0.0556277595, 1.0256155729, -0.7127351165, 0.7625798583, 0.228561759, -0.9339768291, 0.3714044988, -0.0897792354, -0.0591930151, 0.2932324409, 0.2958027124, -0.5286816955, -0.3196121156, -0.4095574617, -0.9130225182, 1.0429202318, -0.0713246167, 0.141084671, -0.3896161318, 0.5107829571, 0.1633225679, 0.1274873167, -0.718047142, -0.1504459679, 0.4912946522, -0.3176033497, -0.0565501489, -0.6092591882, 0.2398972809, 0.0671648085, 0.9620966911, 0.1387102157, 0.3319818079, 0.2909008861, -0.3634772897, -0.2338023484, 0.3225525022, 0.4248001575, 0.4684808254, -0.0593027547, 0.06885764, 0.0024687853, -0.1988416761, -0.1077133045, 0.1997692734, -0.3397307396, 0.2860354483, 0.3888570964, 0.8570339084, 0.540540278, -0.809337914, 0.2388936579, 0.0212159995, -0.1046419293, -0.4104458392, 0.0156574957, -0.0322555602, 0.2956137359, 0.3284082115, -0.0761376992, 0.1179560572, -0.5759245753, -0.0940459296, 0.5475896001, 0.3156239986, -0.030206237, 0.5447744727, 0.0102764638, -0.4513832033, 1.0031473637, -0.1658201367, -0.7288509607, 0.6905664802, 0.6804876328, 0.8004259467, -0.1303594261, 0.0059897564, 0.4693953693, 0.2953213155, -0.6258198023, 0.0256666169, 0.0378203206, -1.0117459297, -0.4977440536, -0.8123123646, -0.3891300857, 0.4679788649, -0.7694063783, 0.4883030951, -0.4157203734, -0.1260314286, 0.3979115784, -0.1914042234, -0.714050293, 0.1406444907, 0.5449877381, 0.6202024817, -0.4892531931, 0.8658744097, 0.8319942951, -0.2380847931, -1.0520365238, -0.0438454337, -0.3605234921, -0.9462736249, 0.7460027337, 0.3124470115, 0.0605170764, 0.17168504, -0.4046476483, -1.1339344978, 0.7547346354, 0.3690420091, -1.1631709337, -0.3500380218, 0.0514186136, 0.5501112938, 0.0408204198, 0.2370151132, 0.4432711899, 0.41782552, 0.0770148933, -1.1330322027, -0.2100782245, 0.0481902063, 0.3010779917, 0.543212235, -0.2766773701, 0.7594357133, -0.1585393101, -0.573661983, 0.556779623, 0.4969892204, 0.2207400501, -0.04567983, 0.5417169929, 0.6875074506, 1.0207856894, -0.1658676863, 0.7711394429, -0.1580621898, 0.3795228601, 1.0726764202, -0.4121348262, 1.1066615582, 0.2345230877, -0.1789372563, 0.5413999557, 0.5398296714, -0.2351231873, 0.4450176954, 0.1177198514, -0.0645638481, -0.3360365629, 0.2846775949, 0.0176586211, 0.4665037692, 0.4556007385, -0.6199427843, -0.2336532176, 0.2688725591, 0.0615483597, -0.106520541, -0.5303797126, 0.933031261, 0.0215545036, -0.8289419413, 0.4422807992, 0.3662163615, 0.772739172, -0.2715049088, 0.0006602448, -0.0075379903, 0.3198440373, -0.0707307905, -0.5944107771, 0.0021684021, 0.1937118918, -0.4109474123, -0.0517226867, 0.9030186534, -0.7840410471, -0.63276124, 0.2776342928, 0.0652883202, 0.3997873068, -0.1060775742, -0.3806151748, 0.1837875545, 0.0212657768, -0.0923470184, 0.1226662248, 0.4507629871, 0.1039246395, 0.3904233277, 0.5257616043, 0.3534615338, 0.2369645983, 0.2277135551, 0.3638935089, -0.5833235979, -0.2644297481, -0.9149509072, 0.2864232957, -0.1181851178, 0.1212972626, 0.579567492, 0.5179204941, 0.9572594166, -0.2510666847, 0.7214689851, 0.0819053203, 0.6048641801, -0.9124265909, 0.5619857907, -0.6916196346, 0.2400145829, -0.298058033, -1.2912404537, -0.4609334469, 0.6907309294, -0.130023703, -0.1081932038, 0.6089550853, 0.7183044553, 0.1219461337, -0.0014416283, 0.3236508071, 0.1990525126, 0.2763330638, 0.5764437318, 0.6231545806, -0.4912099242, 0.3241829872, -0.2162220478, -0.0488654785, -0.3566873074, -0.8423503637, -0.9439288378, -0.5364948511, -0.5257642269, -0.3174746633, 0.1499766707, 0.9374181032, 0.4966432452, -0.9152595401, 0.1550212204, -0.0397629403, 0.0191017911, 0.0895474926, -0.2157193869, 0.4651099145, -0.3332225084, -1.2822027206, 0.3369100988, 0.348210752, 0.1047277451, -0.0251772646, 0.2814349234, 0.1509463042, -0.017766932, 0.6775451899, 0.1449366361, -1.1947951317, -0.4562628567, -0.0336029455, -0.2741945982, 0.0415530838, 0.5889163017, -0.5137203932, 0.6612479687, 0.3612293601, 0.7428793907, 0.2630354166, -0.3501111269, 0.2988621891, -0.6016614437, -0.1581382006, 0.1343618035, 0.6219936013, 0.4079367518, -0.5236675143, 0.0566279888, 0.0788375437, -0.5056647658, -0.8196835518, -0.0454475917, -0.8842973113, -0.3335858881, 1.259375453, -0.2323963791, -0.4223130643, 0.1439936161, -0.349624455, 0.4294647276, -0.256809026, 0.690829277, 0.9507083893, 0.314648211, -0.4307955503, -0.1937645227, 0.1691032797, 0.254398644, -0.6682453752, -0.0044968645, 0.5831054449, 0.5487769842, 0.3816501796, 0.4687711, -0.1331373155, 0.0658974573, -0.2795855403, 0.4464837611, 0.0440025553, -0.4344177842, -0.2402359545, 0.0492238216, 0.2498416156, -0.0812537968 ]
http://arxiv.org/abs/2403.00510v3
http://arxiv.org/pdf/2403.00510v3
ROME: Memorization Insights from Text, Logits and Representation
2024-03-01T13:15:30
2024-06-16T13:53:44
Bo Li, Qinghua Zhao, Lijie Wen
cs.CL
cs.CL, cs.AI
Previous works have evaluated memorization by comparing model outputs with training corpora, examining how factors such as data duplication, model size, and prompt length influence memorization. However, analyzing these extensive training corpora is highly time-consuming. To address this challenge, this paper proposes an innovative approach named ROME that bypasses direct processing of the training data. Specifically, we select datasets categorized into three distinct types -- context-independent, conventional, and factual -- and redefine memorization as the ability to produce correct answers under these conditions. Our analysis then focuses on disparities between memorized and non-memorized samples by examining the logits and representations of generated texts. Experimental findings reveal that longer words are less likely to be memorized, higher confidence correlates with greater memorization, and representations of the same concepts are more similar across different contexts. Our code and data will be publicly available when the paper is accepted.
[ -0.2580204904, -0.7768002152, 0.6993393302, 0.0980225354, -0.1829166263, 0.1560639292, -0.5046383142, -0.3591711521, 0.1246375293, 0.1230372861, -0.1952240616, -0.5262912512, -0.5112764835, 0.1633242667, -0.51409477, 1.2137775421, -0.1771471649, 0.2628917098, -0.5205498338, -0.4093206227, -0.3289887607, -0.6565483809, -0.5907495022, -0.2657805383, 0.7345007062, 0.3794232607, 0.1627858132, 0.9540508986, 0.5994703174, 0.2589426637, -0.2076330036, 0.0856726393, -0.7038904428, -0.2688600421, -0.0504501574, -0.4570257664, -0.2615136206, 0.0314546078, 1.0247379541, 0.6082431674, -0.0129174981, 0.3751552999, -0.0855466053, 0.8739058375, -0.775850594, 0.1500902325, -0.7538589835, 0.0970390588, -0.0968284532, -0.4836556017, -0.7478405833, -0.29682073, -0.0455571711, -0.8136062622, 0.7082733512, -0.0706095174, 0.6366915107, 0.1798963845, -0.2232041955, -0.7155222297, -0.9397873282, 0.5392986536, -0.1443719119, 0.3831007779, 0.3338163793, 0.0578820035, 0.2312910259, -0.8348215222, -0.5499811172, -0.1024027914, -0.3980041444, 0.1704733968, 0.2052838951, -0.0998874754, 0.6232432127, 0.4256225228, -0.449450016, -0.303865999, -0.6721538305, -0.0789767131, 0.5319359303, 0.0143607557, 0.3008486629, 0.1803376228, -0.4566572011, -0.2894169092, -0.6693014503, -0.1864490509, 0.0791053921, -0.0441557094, 0.1934014112, 0.5279170871, 0.1605557203, 0.3881625533, -0.0798866898, -0.1512901038, 0.2548909485, -0.038312111, -0.3687719405, 0.1596558541, 0.5165386796, 0.0937847942, 0.2318231463, -0.5591750741, -0.0754034445, -0.094320789, 0.1990911067, -0.8919091225, -0.0283682831, -0.066445671, -0.243163839, 0.2543855608, 0.2913559079, -0.6624349356, -0.3429504633, -0.294567734, 0.2468509972, -0.7055796385, 0.0747727305, -0.0828140751, -0.2882146537, -0.1543723345, 0.2973692119, -1.0727576017, 0.5274578929, 0.6208857298, 0.922662437, -0.1604904979, -0.3520083725, -0.7227215767, 0.4395797849, -0.5731339455, 0.544904232, -0.4731355309, -0.4841728508, 0.0088199498, -0.1046537161, -0.5198135972, -0.6076152921, 0.4187978208, -0.6108157635, 0.1110080406, -0.3826372325, -0.9519594312, -0.2535177767, 0.3155525625, -1.1183873415, 1.0886573792, 0.0315530635, -1.0895320177, 0.3735359609, -0.5473265648, -0.2991257608, -0.0164208803, -0.4380621612, -0.3751907349, 0.4092213809, -0.0780251175, 0.2735745609, -0.027584549, 0.1617369354, -0.0738318712, -0.7754505277, 0.4106268585, -0.3474229872, 0.3644726276, 0.1318096817, -0.4751150012, -0.1993833184, -0.8284165263, -0.0205558427, -0.0618716441, -0.4087980688, -0.5852799416, 0.1324795187, -0.1123036593, -0.1230828464, 0.3673077226, -0.5089495182, 0.1428654492, 0.0406862833, 0.3119558394, 0.4162409604, -0.1565879285, 0.5860673189, -0.3376094401, 0.0752949268, 0.0738924816, -0.1936316192, -0.1969382614, 0.0021459039, -0.8830333352, -0.255464375, 0.3960155845, 0.5158626437, -0.4939833283, -0.2528226972, -0.6667467356, -0.3096393645, -0.1851605028, 0.3711328506, 0.5634915233, 0.2985979021, 0.4061565697, -0.2555422485, -0.4850886166, -0.8525771499, -0.1870983392, -0.4854187071, 0.0835467577, 0.1122068539, 0.8670613766, -0.1411045194, 0.808054924, -0.6780513525, -0.2088100165, -0.0715458617, 0.4578799009, -0.2147340924, 0.4285529554, 0.3245820701, -1.0307209492, -0.311945647, -0.0139634404, -0.6929867268, 0.5463958383, -0.3878785372, 0.1032809168, 0.322355926, 0.9664785266, -0.3868922293, 0.6010546684, 0.1487779915, -0.1892597675, 0.2827037275, -0.524853766, 0.0807468668, -0.8328294754, 0.4724841416, -0.4232305884, -0.0840271786, -0.5108266473, -0.0604017042, 0.2757251263, 0.0832920745, -0.2133403867, 0.4488888383, -0.6369974017, -0.179028824, 0.1187866703, 0.1034159437, 0.0694507137, 0.4805859923, 0.3965946734, 1.217718482, -0.1691682488, -0.6431010962, -0.0876123756, 0.244264394, -0.4210179746, 0.159896031, -0.5158675313, 0.3213751614, -0.2935978472, -0.023771951, -0.8322158456, -0.1145451367, -0.1841263324, -0.4675062001, 0.2603192329, 0.0081382738, -0.6829727292, -0.1041745469, -0.0960149691, 0.4416609704, 0.2620899379, -0.4038772583, 0.3389053345, 0.1100887582, 0.0276227836, -0.6145023108, -0.6813744307, -0.1729725599, -0.4565379322, -0.2011281401, 0.4189299345, -0.5456789136, -0.5836363435, -0.1083234102, -0.1831531525, -0.5072510242, 0.0785226375, 0.2821007073, 0.1991674751, -0.0170323551, 0.6084465384, -0.3248312473, 0.1813395172, 0.03166252, -0.1622516364, 0.4496932924, -0.3074688911, -0.0879946053, -0.1115609705, 0.4831435084, 0.7014791369, -0.2477097511, 0.921648562, 0.6307762861, -0.4092213213, -0.2153994292, -0.4625730813, -0.0506387092, -0.4119783342, 0.2742101848, -0.2934616506, -0.8001864552, 0.3865685761, 0.0649707317, 0.2493073791, 0.0405766554, 0.3119055033, -0.0782056451, 0.5217785239, 0.8604794145, 0.1178058907, 0.5993005633, -0.4265933633, 0.0315451398, -0.6964861155, -0.415182054, -0.3509678841, -0.0703385398, -0.4735473692, -0.5733337998, 0.107541278, 0.128806144, -0.1652695686, 0.2158521265, -0.217537865, 0.6146399975, 0.5200238228, 0.0475246944, 0.4139477313, 0.2687470317, -0.1586012095, -0.059553083, -0.5570650101, -0.7063250542, 1.0063663721, 0.2445446104, 0.2089462578, -0.118896991, 0.9591361284, 0.3512749672, 0.5860595107, -0.7957866788, 0.606295526, -0.1943993121, -0.9884415269, -0.2797859013, -0.6638955474, -0.6019881964, 0.055839289, -0.0839486346, -0.5993782878, -0.0720051304, 0.0065873466, -0.3983699381, 0.4398722649, -0.8617685437, 0.6857607961, -0.02301367, -0.5547891259, -0.1412322819, -0.4030408859, 0.1497530937, -0.0571162775, 0.3456425965, 0.0269272029, 0.0816408545, 0.9296350479, -0.0795469433, 0.5267589688, 0.1247960329, 0.016728485, 0.5353555083, 0.024539331, 0.1291402578, 0.4354660213, -0.0427122042, -0.2517339289, 0.0074246647, -0.3340705931, -0.7952350378, 0.565213263, -0.6353453994, -0.4160434008, -0.5965274572, -0.5880099535, -0.184954375, 0.1512061805, 0.495341748, 0.5487256646, -0.7993617654, 0.0151356217, 1.0767444372, 0.1137227193, 0.6470224857, 0.5028274059, 0.111770682, -0.6052519679, 0.9222564697, 0.3604957461, 0.1923798174, 0.6740088463, -0.4059442282, -0.1560733616, -0.5402742028, -0.3294846714, 0.3869377375, -0.7700644135, 0.2502034307, -0.3247015178, -0.0770786628, -0.189521268, -0.0328005292, -0.3637727797, -0.4936103821, -0.4813842773, -0.323400557, 0.1246905103, 0.9586406946, -0.050966613, 0.3306420445, -0.6367986798, 0.3653841913, 0.3851891756, 0.499101907, -0.1935222745, -0.0561969429, -0.5717422962, -0.0517813861, -0.0848536566, -0.801894486, 0.1638413519, 0.2648612857, 0.1570462286, 0.5306224823, -0.0789238662, 0.9018340111, -0.7818852663, 0.4904080033, 0.2388789505, -1.0011601448, 0.2056419253, -0.1138024405, 0.0039764722, 1.0669332743, 0.3483093381, -0.5340387821, -0.1527726948, -0.7686659694, -0.687743485, 0.5025980473, 0.4554495215, 0.0277898479, -0.2591243386, 0.5426807404, -0.0219956879, 0.2065793574, -0.6071923375, -0.1830003113, -0.0292060729, -0.1457152218, -0.441712141, -0.3433189094, -0.396791786, -0.3258319199, 0.4766561389, 0.0277008172, 0.4781130552, 0.5391216874, -0.5679495931, 0.332008779, 0.4760511816, 0.8408594728, 0.9119675756, -0.2717033327, 0.3035987318, 0.5200971365, -0.8505459428, 0.1203613579, -0.1199355051, -0.253767997, 0.4608727694, 0.5465098619, 0.6627320051, 0.0781860352, -0.7384955287, 0.2907162309, -0.4453763068, -0.1307175606, -0.9741800427, 0.0281440038, 0.1207658723, -0.0606135391, 0.3424994051, -0.0666370168, 0.0744976923, -0.7076358199, 0.2786198258, -0.0626731962, -0.6019246578, -0.3189178705, 0.5106608868, -0.0636750162, -0.0853577033, 0.766612649, -0.1726422012, -0.2160765976, 0.6874053478, 0.4620064199, 0.5910366178, 0.077305235, 0.427847445, 0.6838088036, 0.2370706648, -0.3157128394, 0.0279218312, -0.0987093747, -0.4602516294, -0.1537109464, -0.3556141257, -0.1818581671, 0.2262265086, -1.0906623602, 0.1341941357, -0.7829229236, -0.2253640592, -0.1112184227, 0.2434466034, -0.5402810574, 0.4694484174, 0.2451882362, 1.0890830755, -0.7352080345, 0.8418921232, 0.8084247112, -0.4839897454, -0.6568998098, 0.1087300926, -0.3102279305, -0.4024871588, 0.7269420624, 0.4853739738, -0.1273663044, -0.0909610987, -0.5097104311, -0.4585120082, 1.2771781683, 0.4697252214, -0.7138528228, -0.276861608, 0.185988158, 0.6004799604, -0.3482889831, 0.3618626595, 0.8267477155, 0.2565642595, 0.1005527973, -0.5738549232, -0.2288840264, -0.5252624154, -0.0312223211, 0.0911762193, -0.66159904, 0.816649437, -0.2903320789, -0.6663523316, 0.1973857284, 0.7451773286, 0.1676561832, 0.6829842925, 0.3647370338, 0.6484125257, 1.0989515781, -0.1040190384, 0.8018206358, -0.1844351739, 0.3266623914, 1.3465383053, -0.0492857546, 0.8671874404, 0.7002153397, 0.1833306849, 0.7837011814, 0.4737811685, 0.0984526128, 0.3717156649, 0.2880967259, -0.566640377, -0.1226172224, 0.099015817, -0.3917795718, 0.2640601993, 0.4440484047, -0.4992211461, 0.0489677452, -0.1593187749, 0.3537120521, 0.398372829, -0.2029586136, 0.9415609837, -0.0220288653, -0.8589822054, 0.7986097336, -0.1881343275, 0.1585556865, -0.6151341796, -0.0302478969, -0.3841908574, 0.394220978, -0.0401763283, -0.3704133928, 0.3864759505, 0.1903536469, -0.4535670877, -0.2548978031, 0.1487183571, -0.5328339338, -0.4416829944, 0.4194020331, 0.2308299243, 0.1923348755, 0.1151418835, -0.2105384022, 0.1261375695, -0.1242546886, 0.0428752713, -0.0614743792, 0.5704645514, -0.0697064027, 0.5425564051, 0.221734494, 0.0223919936, 0.2222202122, -0.1665589064, 0.7563787699, -0.7712323666, -0.3236317933, -1.0040918589, 0.301903367, -0.321538955, -0.4957129359, 0.7154263854, 0.9849707484, 0.940859735, -0.1478690207, 0.7799759507, -0.0746380612, 0.3667443693, -0.61060673, 0.6322717667, -0.4365391433, 0.2135340124, -0.3037326634, -0.6773480177, -0.1865848303, 0.631947875, -0.3912218213, -0.3819111884, 1.1337049007, 0.4649131596, -0.0934503675, 0.1326714158, 0.1251881868, -0.0502725244, 0.1010864228, 0.7557858825, 0.7681603432, -0.4380157292, 0.7900947928, 0.013820135, -0.0968447998, -0.0364652984, -0.5999977589, -1.2488443851, -0.9006601572, -0.1689123809, -0.2215801477, 0.2210835218, 0.5294079781, 0.4522891045, -0.6700618863, -0.3935798109, -0.2645466924, 0.2196909636, -0.1537760645, -0.0963482708, 0.4645791054, -0.4220448434, -0.7938643694, 0.1366630048, -0.1105495021, 0.2570459247, 0.0694755688, -0.1024863422, 0.068400681, 0.1037441939, 0.4378521144, 0.37157166, -0.2303795516, -0.1087316871, 0.1856770068, -0.2345456481, 0.2826565504, 1.308362484, -0.6488516927, 0.3771276474, 0.6268960834, 0.3717361093, 0.7881988883, -0.0108818915, 0.5463753343, -0.7496628165, 0.3382124007, 0.2076686174, 0.3644353747, 0.477999419, -0.2645264566, 0.5636745691, 0.2577988803, -0.1875012964, -0.6759990454, 0.23960419, -0.6464868784, -0.4870637357, 1.1400737762, -0.5021148324, -0.3596699238, 0.0816027373, -0.0932207182, 0.4860369265, -0.1355819255, 0.9482149482, 1.0867116451, 0.2444460392, 0.1076396629, -0.5883160233, 0.6162865758, 0.4866002202, -0.6698768139, 0.2732779086, 0.5650323033, 0.4417365491, 0.6663017869, 0.8096863031, -0.2613892853, 0.2800020874, -0.059481252, -0.0892747939, -0.1220408753, -0.8187674284, -0.194941327, 0.2862842083, -0.0439223237, -0.1235202178 ]
http://arxiv.org/abs/2403.00509v1
http://arxiv.org/pdf/2403.00509v1
Surveying the Dead Minds: Historical-Psychological Text Analysis with Contextualized Construct Representation (CCR) for Classical Chinese
2024-03-01T13:14:45
2024-03-01T13:14:45
Yuqi Chen, Sixuan Li, Ying Li, Mohammad Atari
cs.CL
cs.CL, cs.AI, cs.CY
In this work, we develop a pipeline for historical-psychological text analysis in classical Chinese. Humans have produced texts in various languages for thousands of years; however, most of the computational literature is focused on contemporary languages and corpora. The emerging field of historical psychology relies on computational techniques to extract aspects of psychology from historical corpora using new methods developed in natural language processing (NLP). The present pipeline, called Contextualized Construct Representations (CCR), combines expert knowledge in psychometrics (i.e., psychological surveys) with text representations generated via transformer-based language models to measure psychological constructs such as traditionalism, norm strength, and collectivism in classical Chinese corpora. Considering the scarcity of available data, we propose an indirect supervised contrastive learning approach and build the first Chinese historical psychology corpus (C-HI-PSY) to fine-tune pre-trained models. We evaluate the pipeline to demonstrate its superior performance compared with other approaches. The CCR method outperforms word-embedding-based approaches across all of our tasks and exceeds prompting with GPT-4 in most tasks. Finally, we benchmark the pipeline against objective, external data to further verify its validity.
[ -0.453528583, -0.547236979, 0.610067606, -0.0288473591, -0.2576354742, 0.0267555565, -0.6003771424, -0.2061404437, 0.1108201221, 0.3422557116, -0.5972200036, -0.5110014677, -0.3830918372, 0.0403677262, 0.056971278, 1.0225126743, 0.0746945143, 0.3077333868, -0.1131083742, 0.0213812813, -0.1111780033, -0.9131693244, -0.7621031404, -0.3063756526, 0.3093936741, -0.1098587885, 0.5454310179, 0.3129685223, 0.4326100647, 0.203243807, 0.0348082408, 0.1100470573, -0.5785729885, 0.0239846483, -0.0477990471, -0.239370659, -0.197135672, 0.0575628206, 0.4453414083, 0.8184168339, 0.0765178651, 0.079015106, 0.1256011426, 0.5315400958, -0.8633159995, 0.1693465859, -0.4581024051, 0.354883045, -0.0757465288, -0.5582901239, -0.6135922074, -0.342294246, 0.2696403563, -0.4751060009, 0.5470358133, -0.3333194554, 0.5025350451, 0.2076476365, -0.4364008605, -0.2277928591, -0.5872849226, 1.0576597452, -0.6870438457, 0.2863225043, 0.3894984722, 0.181225121, -0.0864903107, -0.8220690489, -0.4083782434, -0.3724035025, -0.3317648768, 0.4189311266, -0.0339088552, -0.1042429134, 0.2604752779, 0.4582021534, -0.6321808696, -0.1527768075, -0.5323655605, -0.4750303924, 0.7021644711, 0.4051673412, 0.5210497975, -0.1910873801, -0.0550559796, -0.1769377142, -0.3887673616, -0.0658424795, 0.1036524475, 0.27297315, -0.2013345808, 0.266730845, -0.1475487947, 0.651165843, 0.2942032218, -0.1541671753, 0.002942509, -0.2864279747, -0.0665770099, 0.0515525788, 0.904461205, 0.4820718169, 0.2029490769, -0.2809874713, 0.1620047092, 0.2152534872, 0.3099646568, -0.6777928472, -0.6238856316, 0.1326334327, -0.5063712597, 0.0512024835, -0.1939574629, -0.5885332227, -0.5199737549, -0.4277187288, -0.2736504376, -0.6937012076, -0.3376553953, -0.2609227598, -0.2012775689, 0.4090324938, 0.2790065408, -0.9286676049, 0.1378321052, 0.5046467185, 0.95644629, -0.3742535412, -0.1327062249, -0.3954916596, 0.1251364052, -0.4629443288, 0.6577194929, -0.3135591447, -0.2708698809, 0.3109467626, 0.0899466053, 0.1149275675, -0.2966539264, 0.705516398, -0.3835122287, 0.639154017, -0.4199627042, -0.1888242364, -0.0909592807, 0.4067728221, -0.6831318736, 1.0029746294, 0.0272032451, -1.0056306124, 0.1985403597, -0.1175660715, -0.2721900046, 0.1288597584, -0.5169854164, -0.1430878192, -0.085106492, 0.3011113703, 0.6289715171, -0.0140393553, 0.2423481345, -0.2793428302, -0.7350486517, 0.110533908, -0.2186165154, 1.18222785, 0.3305847943, -0.267997086, -0.159097299, -0.7851151228, -0.1019132733, -0.1795666963, -0.09267921, -0.7574689388, 0.254519254, 0.3837500513, 0.1646384299, 0.3611049652, -0.4382989705, -0.1554747075, -0.551158607, 0.2507032752, 0.512483716, 0.0395260267, 0.3226301074, -0.0962854102, 0.3255310655, -0.0361528695, -0.3461068571, -0.1961382776, -0.0472199023, -0.5228809714, -0.0846788436, -0.2642061114, 0.4359125495, -0.8502327204, 0.5546535254, -0.2396290004, -0.6370390654, -0.114236474, -0.1936102808, 0.1540915221, 0.4926591814, 0.4363138676, -0.4042788446, -0.7203081846, -0.7289412618, -0.0852731168, -0.4876661599, -0.5051552057, -0.1038023382, 0.3113088608, -0.0151715837, 0.8407427669, -0.61445117, -0.2547541261, -0.0061790994, 0.3626399636, 0.1302890033, 0.4902556539, 0.4595440626, -0.7695624828, -0.2265368551, 0.1814990193, -1.0038053989, 0.0938500315, -0.2166899294, -0.2492922693, 0.0910704136, 0.4798704386, -0.2237872928, 0.1212788299, 0.3745193481, -0.1228704676, 0.7014927268, -0.0504540205, 0.1952438951, -1.0677582026, 0.3346672952, 0.1592160463, 0.1626701057, -0.6268847585, 0.1848103255, 0.1726678908, -0.2234253138, -0.450388521, 0.2539836168, -0.6880468726, 0.3684590757, -0.2882696688, 0.329811722, -0.6019156575, 0.757034719, 0.6610122919, 0.5061144829, 0.223202765, -0.5702828169, 0.3663268685, 0.115418762, 0.1098770201, 0.8328166008, -0.2239914984, 0.201993525, -0.2606099844, 0.3070415854, -1.0523091555, -0.1649585366, 0.2942000329, -0.6033082604, -0.0050536804, 0.170694977, -0.2646575868, -0.3018217981, -0.3869129419, 0.4391270578, 0.4364136159, -0.3064770103, 0.6264750957, 0.1979751736, -0.090349704, -0.6342096329, -0.8728407025, 0.1428555846, -0.2878595591, -0.2855370641, 0.2969883084, -0.2408058494, -0.2251518518, -0.0869225115, -0.0082530575, -0.3630695939, -0.1695706397, 0.0261032023, 0.4738211632, -0.3685682118, -0.057893008, 0.011472946, -0.076449126, 0.4353966117, -0.0233461484, 0.4053903818, 0.0456684679, -0.2472536713, -0.3065265715, 0.1048890874, 0.3806805015, -0.1959628016, 0.6260231137, 0.7220370173, -0.6193813682, 0.0168362968, -0.6620450616, -0.06149102, -0.3770066798, 0.3857127726, -0.1213454679, -0.8723968267, 0.3647352755, -0.0223461241, 0.1047482491, 0.2861942649, 0.7134355307, 0.088093549, 0.8075519204, 0.726398468, -0.4151097536, 0.5164281726, -0.0549673028, 0.0891610757, -0.6597926021, 0.0936496034, -0.2341053039, -0.0637885854, -0.6783518791, -0.1543888152, 0.4248576462, -0.2811414599, -0.4986458719, 0.1413320005, -0.6635437012, 0.1358833611, 0.2456901222, 0.4204831421, 0.5642334819, -0.0642729998, 0.1308227628, -0.5318878889, -0.1310716569, -0.7101656199, 0.951782763, 0.09942168, 0.3925891221, -0.2353283465, 0.5448753238, 0.3133414686, 0.6429308057, -0.7877426744, 0.3622692823, -0.1216219291, -0.4936175346, -0.1904239804, -0.1405470371, -0.6733462214, 0.4824473262, -0.0055660889, -0.7600784898, 0.2483163774, -0.0337762237, -0.4470449388, 0.2896353602, -0.2690280974, 0.7118381262, -0.1644093096, -0.4166669548, -0.1251378655, -0.7900795937, 0.7995603085, -0.0374928303, 0.0502462722, 0.353346616, 0.000753156, 0.7599987388, -0.1731763631, 0.8097826242, -0.1221798509, -0.2235922217, 0.0873244107, 0.1089258417, 0.29402861, -0.1385017931, -0.255027771, -0.1353863329, 0.4751370847, -0.5753094554, -0.4752029181, 0.6355315447, -0.7059871554, -0.3519156277, -0.6492965817, -0.4554664493, -0.2700918913, 0.1572645158, 0.4463328421, 0.2307853401, -0.7801808715, 0.2280273885, 0.4818830192, -0.2325535119, 0.3860675097, 0.5325291753, 0.1732359231, -0.3753798902, 0.5849604011, -0.0090185143, -0.0337256975, 0.5260504484, -0.213151589, 0.0147263827, -0.4467075169, -0.202771917, 0.2960179448, -0.5392110944, 0.2409785986, -0.4657593369, -0.196801126, -0.2982182205, -0.2451933771, -0.3718781173, 0.2801800966, -0.4140328765, -0.1791828722, -0.053953141, 0.2965167463, -0.2015865147, 0.2378789037, -0.3652767837, 0.3006638587, -0.0474691018, 0.0256182719, 0.2770448625, -0.146669507, -0.5675418377, 0.0431964286, -0.4661827683, -1.0440210104, 0.5658474565, -0.3259049356, 0.3731299341, 0.6482557058, 0.4006491303, 0.7690569162, -0.3846033216, 1.1163643599, 0.1669246852, -0.716791451, 0.4264132977, -0.4761247933, 0.1172565967, 0.6234703064, 0.6842072606, -0.9292867184, -0.5924699306, -0.3880234659, -0.6587477326, 0.5647862554, -0.0239688642, 0.1858844161, -0.2118963599, 0.2834727168, 0.0313039087, -0.1336750388, -0.8370591998, -0.4598158598, -0.3179462552, -0.2674047351, -0.2271936238, 0.1319382936, -0.0309827626, -0.1726462245, 0.3215203881, -0.3255189657, 0.2107055187, 0.4478706717, -0.102208063, -0.1892415881, 0.2651044428, 0.043210391, 0.8645207286, -0.4100114703, 0.3607492447, 0.3584638238, -0.5797320604, 0.0964140221, 0.2917347848, -0.2470126748, 0.0792403519, 0.4864750206, 0.425113678, 0.1897032261, -0.8415745497, 0.4017324448, -0.0596423745, 0.0740277395, -0.9621524215, -0.2257776409, 0.0642022267, 0.1337562352, 0.8267482519, -0.2470883578, 0.3520953953, -0.6720614433, 0.0870780796, 0.4268188179, -0.6778172851, -0.3904314339, 0.7225376368, -0.1591880023, 0.0901662186, 0.7284930944, -0.056351237, -0.4219110906, 0.2621280849, 0.4007766247, 0.8452144265, 0.0262860227, 0.3314535022, 0.7758476138, 0.2592584193, -0.2172850817, -0.1795218587, -0.3436181247, -0.6859523058, -0.4454548359, -0.3178150952, -0.5707259178, 0.413695991, -0.9241734147, 0.2214276195, -0.314145714, -0.0175829455, -0.5354076028, 0.2846987545, -0.6500120759, 0.5232399106, 0.432392031, 0.5288435817, -0.9401737452, 0.5886381269, 0.6777685881, -0.7596212626, -0.3986310661, 0.2316061109, 0.0107751852, -0.4572432041, 0.6926265359, -0.0703258216, -0.0756685063, -0.0206606351, -0.7688384056, -0.6624642015, 1.0806446075, 0.2841205597, -0.3223572969, -0.2214923799, -0.2843858004, 1.071657896, -0.0602915064, 0.5190576911, 0.5601950884, 0.3787103891, -0.3263328373, -0.4637401998, 0.4385639429, -0.4111144841, -0.103881605, -0.0789151266, -0.6178175807, 0.6892448068, 0.0790955201, -0.8367768526, 0.5058583617, 1.1571825743, 0.6637066603, 0.5124634504, 0.1823795736, 0.265607655, 0.7337220907, -0.0646607354, 0.968550384, -0.35727036, 0.1765431613, 0.8826950192, -0.0768036395, 0.9232094288, 0.5797169209, -0.4325447083, 0.8078782558, 0.8217855692, -0.0374389105, 0.4979235828, 0.3018115163, -0.301992029, -0.0768709779, -0.1250852495, -0.5410069227, -0.0170301385, 0.1314257234, -0.3397239447, -0.1340371519, -0.0963125303, 0.0753346235, 0.4451998472, -0.1858433038, 0.4732981324, 0.1635917574, -0.6985525489, 0.638343215, -0.148457244, 1.0236667395, -0.672267139, 0.1153618991, -0.437258184, 0.1689972728, -0.1334130317, -0.3909700513, 0.2288040668, -0.1314434558, 0.0173033327, -0.012391109, 0.5505990386, -0.4944588244, -0.4443321526, 0.2951287031, 0.7075197697, 0.2763932943, -0.1801403761, -0.2728290856, -0.1819650084, -0.1427793652, -0.1658800244, 0.3010773957, 0.6091085076, -0.0979963019, 0.3766261041, 0.5470589399, 0.3660210967, -0.3547806442, -0.039091453, 0.6905283928, -1.1712428331, -0.6514622569, -0.8975802064, 0.3523537517, 0.0102121625, -0.2788717747, 0.7801611423, 0.5668442845, 0.9733973742, -0.2507898211, 0.983821094, 0.0048020906, 0.42747733, -0.2514052987, 0.8635614514, -0.3585215211, -0.1732174456, -0.646345675, -0.5996752977, -0.4320163131, 0.4944024086, -0.4745235145, -0.1925183833, 0.9554793239, 0.6468138695, -0.0225065611, 0.0853213444, 0.1847254932, 0.0615218505, 0.124247767, 0.9191611409, 1.1726708412, -0.4217690825, 0.521045208, -0.2920139134, -0.2877210081, 0.2958999276, -0.8339144588, -0.9165424705, -0.799316287, -0.2396981418, -0.113816902, 0.1383374929, 0.7848872542, 0.3787133396, -0.8735767603, -0.5507554412, 0.2095388025, -0.1012442261, -0.5417050719, -0.3021827936, 0.7556878328, -0.3422058523, -0.8849603534, 0.1611044854, 0.048298642, -0.3127939999, -0.5827869773, -0.1395582557, 0.0745110661, -0.3726867437, 0.6666043997, 0.3318165541, -0.8669965863, -0.1505949795, -0.0570952967, -0.247137785, 0.0162399821, 1.1424957514, -0.8998078108, 0.3712921143, 0.6223903894, 0.6979442239, 0.505833745, 0.0482783057, 0.8099632263, -0.4920368195, 0.0534841903, 0.1982005835, 0.3994881809, 0.6386819482, -0.492972374, 0.6597160697, 0.4462341666, -0.2474414855, -0.7560318112, -0.2303845137, -1.1375609636, -0.5039755702, 0.7616721988, 0.0411097407, -0.0662402362, -0.3294501901, -0.4873962402, 0.667126298, -0.2921547592, 0.9811288714, 0.9201171398, -0.2813397646, -0.3614380062, -0.3896698356, 0.4590363204, 0.2767771482, -0.5474408865, 0.0524518676, 0.8950816989, 0.0528521389, 0.3827748597, 1.0206171274, -0.2258164287, 0.3032691479, -0.1142561808, 0.1795237213, 0.2663714588, 0.4034827054, -0.0530851297, 0.5578795671, -0.2803899348, 0.1146862581 ]
http://arxiv.org/abs/2403.00506v1
http://arxiv.org/pdf/2403.00506v1
PoTeC: A German Naturalistic Eye-tracking-while-reading Corpus
2024-03-01T13:07:39
2024-03-01T13:07:39
Deborah N. Jakobi, Thomas Kern, David R. Reich, Patrick Haller, Lena A. Jäger
cs.CL
cs.CL
The Potsdam Textbook Corpus (PoTeC) is a naturalistic eye-tracking-while-reading corpus containing data from 75 participants reading 12 scientific texts. PoTeC is the first naturalistic eye-tracking-while-reading corpus that contains eye-movements from domain-experts as well as novices in a within-participant manipulation: It is based on a 2x2x2 fully-crossed factorial design which includes the participants' level of study and the participants' discipline of study as between-subject factors and the text domain as a within-subject factor. The participants' reading comprehension was assessed by a series of text comprehension questions and their domain knowledge was tested by text-independent background questions for each of the texts. The materials are annotated for a variety of linguistic features at different levels. We envision PoTeC to be used for a wide range of studies including but not limited to analyses of expert and non-expert reading strategies. The corpus and all the accompanying data at all stages of the preprocessing pipeline and all code used to preprocess the data are made available via GitHub: https://github.com/DiLi-Lab/PoTeC.
[ -0.6389634013, -0.8027170897, 0.4898104966, 0.0543780923, -0.4682366252, 0.2438125908, -0.4172253013, -0.4132295549, 0.1264400631, 0.4585471749, -0.3751277626, -0.9304252863, -0.3456917405, 0.5144333243, -0.4212685525, 0.6897909045, 0.1108592078, 0.3226944506, 0.144634366, 0.1365913153, -0.2599481344, -0.1347943395, -0.2412201464, 0.0859329551, 0.6928155422, 1.0328555107, 0.4003641307, 0.4834710658, 0.7266845107, 0.2137471288, 0.2325108498, 0.0852014348, -0.2463191301, -0.1929977089, 0.0056198779, -0.6852452159, -0.5078624487, 0.1025348678, 0.9272730947, 0.9071817398, -0.0191167612, 0.2400776446, 0.2322123647, 0.6160214543, -0.8089202642, 0.0985775888, -0.0575762093, 0.0105463723, -0.6376442313, -0.5471467376, -0.9016529918, -0.0871899053, 0.3789951205, -1.0068774223, 0.5360491276, 0.2340781242, 0.8923231363, 0.1645503491, -0.3808396757, -0.1933998317, -0.4029389024, 0.6820111275, -0.3851124346, 0.4060558379, 0.7209541202, 0.2040919513, 0.0589410476, -0.8984254599, -0.8068549633, -0.1569385976, -0.1594060957, 0.4422613978, 0.1443642527, -0.117004402, 0.0004701756, 0.1424004287, -0.6903312802, -0.0162201244, -0.5718501806, 0.0038889737, 0.4753582776, -0.2030431181, 0.2895645201, -0.1905996948, -0.3561965823, -0.2109369189, -0.2302007973, -0.0272316486, 0.3804938495, 0.2025301307, -0.1401755959, 0.5515385866, -0.2097915113, 0.7286019325, 0.092049405, 0.0855439901, 0.2648037076, -0.2900280058, -0.1519862115, 0.0669993013, 0.7963452339, 0.3861327469, 0.4551474154, -0.3001003265, 0.284586817, 0.1789425313, 0.5777839422, -0.450533241, -0.4949881732, 0.3332368731, -0.1629500687, -0.4015536904, 0.37231341, -1.2931828499, 0.0407089703, -0.4923936725, 0.0982377753, -0.7014051676, 0.0490211174, 0.0977255553, 0.0389217921, 0.3772876263, 0.377476871, -1.1002300978, 0.4717595875, 0.5289523005, 0.9855451584, -0.4564086795, -0.5711792111, -0.4782792032, 0.0813018456, -0.6043302417, 1.2553329468, -0.5049523115, -0.4863408208, 0.0015502349, 0.4232435822, -0.0975408927, -0.0185707398, 0.5321779251, -0.5779114962, 0.4723967314, -0.3972572684, -0.7428380251, -0.2445182502, -0.0995975882, -0.7666276693, 1.1218879223, 0.0734249577, -0.9676590562, 0.7881492376, -0.8459023833, -0.3520122468, 0.6783427596, 0.0130296592, -0.2852804065, -0.4107084274, 0.1086822897, 0.138386786, 0.0565371215, 0.0092358971, -0.1576901227, -0.3348859847, 0.2711966634, -0.114188008, 1.0323728323, 0.1861194223, -0.4838505089, 0.3215710223, -0.61930269, -0.0638156608, -0.3250081837, 0.1642233878, -0.4058501422, 0.0489801951, 0.166973725, -0.1781096756, 0.1357339174, -0.7660147548, 0.4386771619, -0.0116750877, 0.2900259495, 0.6110473871, 0.0614674836, 0.4877741039, 0.1472677588, 0.2580024898, -0.3965931833, 0.4809351563, 0.0396635011, -0.383108288, -0.6751203537, -0.6818182468, 0.6609023213, 0.8112205863, -0.8110491037, 0.2137194872, -0.0422962122, -0.5022153258, -0.4512718618, 0.0867912844, 0.1332072318, 0.5603809953, 0.2780455649, -0.3236487508, -0.208983168, -0.7693468928, 0.3594530821, -0.2392529845, -0.4197358787, 0.2643403411, 0.7582830191, -0.261762619, 0.6527227759, -0.600050509, -0.4935888052, -0.1122304872, 0.3549656868, -0.3204863369, 0.3280346096, 0.5368897915, -0.8288621306, -0.6859997511, 0.1775500327, -0.9070693254, -0.5200831294, -0.0944008008, -0.7310566306, 0.2581077218, 0.6937279701, -0.4621762633, 0.3924058378, 0.4236531854, -0.7156764865, 0.6853296757, -0.3153011501, 0.5024736524, -0.9507976174, 0.6113385558, 0.0585097149, -0.204748556, -0.5956847072, 0.1948942095, 0.3656793833, 0.3173063397, -0.587086916, 0.37471807, -0.4270253181, 0.051299043, -0.1956800669, 0.2748923004, -0.0340121314, 0.3346914351, 0.3050556183, 1.0481684208, 0.8184012175, -0.7033900023, 0.0776484385, 0.5899657011, -0.380256325, 0.7896947265, -0.5009514093, 0.0818168148, 0.1282336712, -0.0762748122, -0.7831250429, -0.692402184, 0.2375606298, -0.5223546028, 0.359795481, 0.4221827984, -0.5997971296, -0.3044120967, -0.4730440676, 0.3062610328, 0.1081900522, -0.3003171384, 0.5625540018, 0.5264193416, -0.1769744605, -0.6276939511, -0.5906148553, 0.2628002167, -0.2163645923, -0.299346298, 0.3831540644, -0.0560131222, -0.3309611082, -0.0461921766, 0.1444184929, -0.1761538088, -0.2139176875, -0.0324038602, 0.7550463676, 0.0916999951, 0.0691618472, -0.1108905002, -0.1019394845, -0.0373770744, -0.0328763127, 0.3404968381, -0.295781523, 0.190907985, -0.6361166835, 0.3781969547, 0.4185247123, -0.0242999811, 0.497259587, 0.5651736856, -0.1572027206, -0.2748536468, -0.3626343906, -0.3963085115, -0.4475944638, -0.0847326666, -0.3803546131, -0.6012554765, 0.4331336319, 0.1215515882, 0.2021341622, 0.3458587527, 0.7138049006, -0.6430332065, 0.4744931161, 0.9422307014, 0.2199273109, 0.605776608, -0.2536371946, -0.1265398264, -0.8697680235, -0.2957977057, -0.3381052911, -0.1258095354, -0.5418191552, -0.4121422768, 0.1368118972, -0.1299710423, 0.0780941993, 0.610165298, -0.5638275743, 0.4482008517, 0.9435580969, 0.3577971756, 0.5383597612, -0.1052435264, -0.2074009329, -0.0194099657, -0.6989101171, -0.9051903486, 1.5547348261, -0.0100114513, 0.3159127533, -0.1966376305, 0.3615548015, 0.7520002723, 0.6511259079, -0.8532499075, 0.7249245644, 0.0568039194, -0.9016814828, -0.541061759, -0.1313272864, -1.2135447264, 0.1724007279, -0.1313523948, -0.9638557434, 0.4125451148, 0.0225182641, -0.272190541, 0.1931995004, -0.7884960771, 1.2565479279, -0.0973865986, -0.5011751056, -0.1894207448, -1.0437712669, 0.2433954775, -0.3819093406, 0.0032671408, 0.258431524, -0.4372215271, 0.7101127505, -0.3725850582, 0.8589912057, 0.2996237278, 0.1504802853, 0.7430636287, 0.0650224537, -0.0178018883, 0.1516748667, 0.2384230047, 0.5611459017, 0.358046025, -0.734356463, -0.0705507919, 0.3989859521, -0.6962558627, -0.1449023187, -0.9710503221, -0.3829929233, -0.0420507304, 0.5745857954, 0.4445149601, 0.1035406217, -0.3498776555, 0.4036320746, 0.4245089293, 0.1190227494, 0.4577663541, 0.9521446228, -0.0377414152, -0.419016093, 0.7223233581, 0.0747580752, 0.2429451644, 0.4580335617, -0.0549020283, -0.1927665323, -0.4175272584, -0.427577734, 0.3137440979, -0.4488079846, 0.2027036101, -0.4575056732, 0.2574023306, -0.169944182, -0.3069684207, -0.1441088021, 0.0958027542, -0.3487771451, -0.1839873344, 0.0326275304, 0.0604616404, -0.2004078925, 0.5673683882, -0.2655153871, 0.6585857868, 0.2948850989, 0.3350969255, -0.6956970096, -0.1197594926, -0.2078507692, -0.2828886509, -0.3055220842, -1.0601131916, 0.6349753737, 0.2353075147, 0.0860121921, 0.4507230222, 0.2950030565, 0.25706622, -0.4887789786, 0.6856408119, -0.0913643092, -0.8466974497, 0.4248752594, -0.3516878188, 0.4397718906, 0.9735944867, 0.3653311133, -0.1913393885, -0.6723625064, -0.5510228276, -0.7534807324, 0.7585831285, 0.5018330812, -0.5215531588, -0.0757169053, 0.1330852956, 0.5480370522, 0.3641795814, -0.4622837603, -0.1202528104, -0.2243992537, -0.1573596001, -0.1081218496, -0.0084070545, -0.1624558717, -0.4152938426, 0.6832457781, -0.3628808558, 0.1485549062, 0.5790898204, -0.296007514, -0.3184611797, 0.1502060294, 0.3597259521, 0.7833465338, -0.552004993, 0.142798692, 0.0992381275, -1.1309056282, -0.4563636482, 0.1484732777, -0.7272112966, 0.0336187594, 0.364269644, 0.500987649, 0.2522384226, -0.8621492982, 0.1310511976, -0.0776201785, -0.333366245, -0.5818933845, -0.1979188919, -0.3941942751, 0.0184202772, 0.5173646212, -0.0374544002, 0.5891510248, -0.4894936383, 0.6108971238, 0.114035733, -0.1435553581, -0.4055730104, 0.7020736337, 0.276139617, -0.0719400644, 0.3487506509, -0.1410914361, -0.2973994613, 0.5436325669, -0.0342797711, 0.9452739358, -0.1484506428, 0.7306209803, 0.4569383264, 0.472953558, 0.1619424969, 0.4544779956, -0.3567302823, -0.5132293701, -0.6480628848, -0.5447685122, -0.8474104404, 0.0689789951, -0.7044357657, 0.5589898229, -0.1967677623, -0.3920429051, 0.3828377128, 0.0739409626, -0.5413460135, 0.1061930209, 0.2639200687, 0.9184911251, -0.6612734199, 0.9469418526, 0.6182985902, -0.3119128346, -0.4779610932, 0.1483811736, -0.0370679051, -0.3835529089, 0.3115186989, 0.1644531339, -0.0928750709, 0.1962134689, -0.5690761805, -0.5782472491, 0.8947364688, 0.0726022497, -0.6928139925, 0.0026361747, 0.197360009, 0.8620986342, -0.1538156867, 0.1487269998, 0.7238392234, 0.7417294979, -0.1614366025, -0.8538797498, -0.3357109427, -0.2219808847, -0.6613298059, 0.2256973684, -0.8376292586, 0.4782087505, -0.1028662324, -0.4844197035, -0.0532638691, 0.5649734139, -0.241424188, 0.6090630889, 0.3543021977, 0.4059900343, 0.6822993755, -0.1825110465, 1.1896657944, -0.6837378144, 0.3693272769, 0.9036349654, -0.2276804745, 1.0758699179, 0.6936952472, -0.2105516344, 0.6392562389, 0.8773540258, -0.1552079171, 0.6384829283, -0.5156407356, -0.2772193551, -0.2348277569, 0.0673848763, -0.1402895153, 0.3058570325, 0.2774021924, -0.0954939276, 0.1731273085, 0.1927134097, -0.2336172312, -0.1198446825, -0.183648929, 0.6587481499, 0.0713120699, -0.815669179, 0.3617803156, -0.3797606826, 0.2039057612, -0.7150456309, 0.2058266103, 0.1052825898, 0.2484108955, -0.156149745, -1.1180315018, 0.1011649743, 0.1778491437, 0.1470444053, 0.0471383519, 0.2616799772, -0.3617537618, -0.7736420631, 0.1840545982, 0.4884662926, 0.2702503204, 0.2181879878, -0.3712844551, -0.2274541557, -0.2401063591, -0.6431363225, 0.0852478296, 0.5433661938, -0.1450509876, 0.7392379642, 0.7418707013, 0.1488759816, 0.0368178785, 0.2823981345, 0.5521870255, -0.6218265295, -0.719099164, -0.6103690267, 0.504437387, -0.1903972328, -0.6066057086, 0.9809277058, 0.5419586301, 0.7756569982, -0.33442083, 0.4344551265, -0.0309927259, 0.2664379179, -0.2035855651, 0.5139306784, -0.487018466, -0.1871172041, -0.4688321054, -1.1606223583, -0.5067993402, 0.6893939972, -0.4010622203, -0.4760617018, 1.2848279476, 0.27360484, 0.0998491868, 0.0950033218, 0.0640196353, 0.001036593, -0.0936233401, 0.3312148452, 0.1942936778, -0.163647607, 0.3696337044, -0.5121856332, -0.696792841, -0.3546945453, -0.5135452747, -1.0158689022, -0.5323072672, -0.610994041, 0.0398973227, 0.0238372814, 0.4816483259, 0.6548829079, -1.0371514559, -0.340092212, -0.5498465896, -0.4322793484, -0.504501462, -0.3365449309, 0.638115108, -0.3763234615, -1.0801044703, 0.1354685426, 0.3872398138, -0.1102062017, -0.28679353, 0.1707814336, -0.5349236131, 0.0631948709, 0.5674421191, 0.5924485922, -0.4923380017, -0.1427508593, 0.4750907123, -0.2127240747, 0.1392148137, 0.5833147168, -0.5898195505, 0.9440665245, 0.4673988521, 0.2127903402, 0.7065653205, 0.1758051664, 0.4784310758, -0.3855929673, 0.4028491974, 0.4606265128, 0.3181344867, 0.1984327137, -0.299036026, 0.7717867494, 0.4255584776, -0.6968356371, -0.9560260177, 0.0015776367, -1.5816007853, -0.3536067903, 0.8967028856, 0.0526059829, -0.7187182903, -0.1483162344, -0.6036602855, 0.4301774204, -0.5692634583, 1.2571800947, 1.1172708273, -0.0109272571, -0.2328721285, -1.1160829067, 0.4089545906, 0.4181885421, -1.062713623, 0.0109014548, 0.6002612114, 0.1241683662, 0.2496028692, 0.3346433342, -0.1438570321, 0.48262012, 0.2757775486, 0.3761917651, 0.2207446545, -0.6929607987, 0.3185427487, 0.3079710603, -0.4043693244, -0.40098387 ]
http://arxiv.org/abs/2403.00891v1
http://arxiv.org/pdf/2403.00891v1
A Regularization-based Transfer Learning Method for Information Extraction via Instructed Graph Decoder
2024-03-01T13:04:12
2024-03-01T13:04:12
Kedi Chen, Jie Zhou, Qin Chen, Shunyu Liu, Liang He
cs.LG
cs.LG, cs.AI, cs.CL
Information extraction (IE) aims to extract complex structured information from the text. Numerous datasets have been constructed for various IE tasks, leading to time-consuming and labor-intensive data annotations. Nevertheless, most prevailing methods focus on training task-specific models, while the common knowledge among different IE tasks is not explicitly modeled. Moreover, the same phrase may have inconsistent labels in different tasks, which poses a big challenge for knowledge transfer using a unified model. In this study, we propose a regularization-based transfer learning method for IE (TIE) via an instructed graph decoder. Specifically, we first construct an instruction pool for datasets from all well-known IE tasks, and then present an instructed graph decoder, which decodes various complex structures into a graph uniformly based on corresponding instructions. In this way, the common knowledge shared with existing datasets can be learned and transferred to a new dataset with new labels. Furthermore, to alleviate the label inconsistency problem among various IE tasks, we introduce a task-specific regularization strategy, which does not update the gradients of two tasks with 'opposite direction'. We conduct extensive experiments on 12 datasets spanning four IE tasks, and the results demonstrate the great advantages of our proposed method
[ 0.0745345652, -0.6889997721, 0.0382669456, 0.0083849533, -0.3071775138, 0.1322710067, -0.4136758149, -0.5340735912, 0.0817818567, 0.1275327802, -0.2721639872, -0.6565138698, -1.0257778168, 0.2771506906, -0.2184871286, 1.0132181644, -0.4024181068, -0.1904158741, 0.0759769753, 0.3108571768, -0.7212080956, -0.0785882398, -0.602127254, -0.1393505484, 0.3875460923, 0.62926507, -0.0995033085, 1.0005501509, 0.5213671923, 0.1491291076, 0.3699926436, 0.6185734868, -0.9170078635, -0.1765535027, -0.2278250009, -0.375402689, -0.0961249918, 0.1001905799, 0.4046733975, 0.8013205528, 0.1986379474, 0.298738569, 0.5573076606, 0.5118405223, -0.8372142911, 0.848674953, -0.6565095186, -0.018467484, -0.0305747911, -0.4644878209, -0.7449141145, -0.3486011326, 0.1326746047, -1.1509344578, 0.1308087111, 0.0778697133, 1.1519526243, 0.1713416129, -0.4867721796, -0.2762300074, -0.7371804118, 0.6389178634, -0.1893910617, 0.4023058116, 0.4865079224, 0.024370404, 0.1156790257, -0.9703714252, -0.3022116423, 0.34307459, -0.3210489154, 0.3275782764, -0.3370272219, -0.0810944811, 0.0683122128, -0.2503381371, -0.5533588529, 0.0278008152, -0.5330997705, -0.0818645507, 0.318135798, -0.2245512009, 0.2069503069, -0.0041206074, -0.6260741949, -0.2128843814, -0.2984284759, 0.3386217654, -0.1993051916, 0.4192164242, 0.0923908576, 0.1152437329, -0.1265090555, 0.7170596123, 0.422565639, -0.1201432794, 0.1623364091, -0.0012162906, -0.2819862366, 0.3128884435, 0.7472362518, 0.3029841483, 0.532799542, -0.6333643794, 0.0885402784, -0.1845940053, 0.0925074443, -0.7283370495, -0.3129818439, -0.2252034992, -0.2457470894, -0.0590585768, 0.4812023938, -0.7130820155, 0.0540439151, -0.295032531, 0.2319385707, -0.3859438598, 0.1840967983, 0.1639977545, -0.045455303, 0.2320687622, 0.4532289207, -0.6501191258, 0.3488621414, 0.424274832, 0.6109935641, -0.528748095, -0.312469393, -0.8584134579, 0.7077480555, -0.2535502613, 0.7996432781, -0.5345652103, 0.074738957, -0.1120583788, 0.3923664987, -0.5665920377, -0.0804211274, 0.2429410368, -0.6582990289, 0.0512018614, 0.0094339717, -0.7063676715, -0.467798382, 0.388694644, -0.5128410459, 0.7873363495, 0.2010783851, -0.9990532994, 0.1107390299, -0.5104742646, -0.6269791722, 0.1464372426, -0.2540760636, -0.1782948673, -0.5674426556, 0.3104331493, 0.5099990368, -0.2506982684, 0.1903236061, -0.0332860239, -0.6619143486, -0.2461984009, -0.2008315027, 0.7228012085, 0.008516429, -0.5062435269, -0.245572567, -0.6091347337, -0.1203644946, 0.1374814361, -0.4880990982, -0.4091058671, -0.3995690942, -0.2336216867, -0.0704607964, 0.3483785093, -0.6211103201, 0.6561748385, -0.0857961774, 0.1282992214, 0.971565485, 0.2707353234, 0.4173155427, -0.0521719567, 0.4001467526, -0.1771935523, -0.0867142305, 0.1617985219, -0.3505392075, -0.6077239513, -0.3934741914, 0.6651592255, 1.1653709412, -0.7703464031, 0.4857925177, -0.5571093559, -0.1820894331, -0.5128563046, 0.0701895058, 0.3863152266, 0.9948291779, 0.5719144344, -0.0306523573, -0.3804107904, -0.5181866288, -0.203000471, 0.1251352131, -0.0208143443, 0.2920349836, 0.1052230224, -0.1551956683, 0.7526774406, -0.8449234962, -0.6345385909, -0.105167456, 0.4699952006, 0.019973116, 0.6424462199, 0.2347972393, -0.6738753319, -0.7135877609, 0.4334356189, -0.9558076859, 0.0983579755, -0.4015245438, -0.3234138489, -0.4559067488, 0.5576328039, -0.2429800183, 0.5553041697, 0.1833151579, -0.0817832574, 0.1577477157, -0.0122258961, 0.2197969109, -1.1858202219, 0.2291288078, 0.0576125011, -0.4954225719, -0.3762531579, -0.3280741274, 0.0072291587, -0.0647331998, -0.0712005496, 0.4758068621, -0.6592903733, 0.3114272356, -0.1387170702, 0.2976727188, 0.3575762808, 0.8099383712, -0.2990268767, 0.5556538105, 0.7479311228, -0.6218878627, 0.4314005077, 0.5003104806, 0.1475359946, 0.2587183714, -0.3086749911, 0.7007554173, -0.4119944274, 0.0746103525, -0.9769245386, 0.0240585003, 0.5221097469, -0.4518856108, 0.9550048113, -0.444008708, -0.1388468295, -0.096658498, -0.0411376208, 0.0868775249, 0.3995874226, -0.4537602365, 0.6707453132, 0.1782813966, -0.3573608398, -0.7491355538, -0.4940428734, -0.1438290179, -0.0661632046, -0.4978121817, 0.5172284245, -0.0286242776, 0.2982618213, 0.303940028, -0.4069121778, -0.5653731823, 0.2032887489, -0.0329320394, 0.2149705887, -0.0595897883, 0.0300441068, 0.3477859199, -0.1578056216, -0.2582763135, -0.4745305479, 0.0458769463, 0.0636572242, -0.0146817109, -1.0002235174, 0.3551002145, 0.1194717959, -0.390399456, 0.5176939964, 0.7491560578, -0.4977460802, -0.0353554748, -0.1498844922, -0.2494744509, -0.3769395947, 0.4478967488, -0.5357041359, -0.662283659, 0.2229121923, -0.7241239548, 0.1945034266, 0.2663559914, -0.2730964124, -0.2732500434, 0.9041371942, 0.9365077615, -0.3059701324, 0.6463230848, -0.5779483914, 0.0860401392, -0.8000090122, -0.3527824283, -0.4546113014, -0.3926202655, 0.0117328083, -0.0155657222, 0.0079066688, 0.7003631592, 0.0017405852, 0.3725482225, -0.5677425861, 0.3595140576, 0.3547956347, 0.4747457206, 0.2223068923, 0.4832942784, 0.1272478998, 0.165533036, -0.7688005567, -0.2154842615, 0.9531747699, 0.0153363375, 0.7616174221, -0.2399067581, 0.779145658, 0.5986942053, 0.3277952969, -0.7238186002, 0.1607401818, -0.3110462725, 0.4432865083, -0.4081172943, -0.5917586088, -1.387614727, -0.136336416, -0.1477440298, -0.9747102261, 0.5904601812, -0.0422249548, 0.1024531499, 0.209583059, -0.6771898866, 0.6887435913, 0.250263989, -0.2373887748, 0.4205877185, -0.7772821188, -0.1712166071, -0.0088996086, 0.2595048845, 0.1327929795, 0.2499940544, 1.091378212, 0.0901856869, 0.8047624826, -0.3164840937, 0.1427343041, 0.2075114548, 0.2665573955, 1.2987602949, -0.2533772886, -0.063160561, -0.0219192058, -0.4175792933, -0.3908787072, -0.7850986719, 0.2912327349, -0.7943557501, -0.3503214121, 0.020218337, -0.6821383834, -0.1834068, 0.634085834, 0.5326399803, 0.3874664307, 0.1706921458, 0.1303588152, 0.6283493042, 0.4946516752, 0.1159698814, 0.3133846521, 0.5510234237, -0.2639742792, 1.1305574179, 0.2078708708, -0.0393322892, 0.6024623513, 0.2359380871, 0.0496325046, -0.4000395834, -0.2915149629, 0.0404475518, -0.8316512108, -0.5432895422, -0.7634372711, -0.0525991619, -0.5883689523, -0.2694417536, -0.2518358529, -0.1622271389, -0.5637549758, -0.1675210446, 0.2283646017, 0.5808573961, 0.1770167202, 0.0734429955, -0.8119368553, 0.2082184851, 0.3289515674, 0.0011267614, -0.2045571804, -0.5457637906, -0.2534838617, 0.035403084, 0.008920854, -1.115111351, 0.0092067942, 0.3578880429, 0.6313358545, 0.512910068, 0.522508502, 0.6672736406, -0.2695558965, 0.2081428468, 0.0448324382, -0.7767851949, 0.4323576391, -0.0510981306, -0.1936727315, 0.5866823196, 0.6853918433, -0.1612264067, -0.2337263077, -0.503934145, -0.7027800679, 0.8825165033, 0.1805389673, -0.3129841387, 0.0196695235, 0.5357584357, 0.1394848824, -0.0384677611, -0.7701402307, -0.3582448959, -0.1168228909, -0.428358674, 0.369346112, 0.1287446171, -0.1253741384, -0.1378159523, 0.678574264, -0.4219661057, 0.2783443928, 0.5256857276, -0.5272066593, -0.0301942751, 0.1627753377, 0.1804390848, 0.6418110728, -0.264264822, 0.2145909369, 0.002199908, -0.5364647508, 0.157055214, 0.4916866124, -0.295727849, 0.0087747714, 0.4585749209, 0.8116976023, -0.0719910935, -0.1185447201, 0.8080893159, 0.0053441008, -0.149122715, 0.3417592347, -0.223023802, -0.235428825, 0.026378613, 0.4209646583, 0.1365093887, 0.284665525, -0.0745986998, 0.3425507545, 0.0404150262, -0.6181405187, -0.1486335546, 0.291097939, 0.1312464774, -0.1430471092, 0.8101690412, -0.4488895833, -0.3112615645, 0.5867398977, 0.9027553797, 0.7610270381, -0.2617092431, 0.0594486296, 0.4228782058, 0.3306235075, 0.1134695634, 0.1237551197, -0.0931065902, -0.5954551697, -0.5270759463, -0.1181635782, 0.1667843014, -0.0728815049, -1.0648248196, 0.1677146256, -0.1847764999, 0.2094925046, -0.1924960911, -0.2676600814, -0.8471701741, 0.0604652464, -0.1089275703, 0.7240103483, -0.7892548442, 0.7896750569, 0.6274777651, -0.2413288951, -1.1138269901, 0.112415269, -0.4250690937, -0.7264498472, 0.789714992, 0.2558967471, -0.2378307879, 0.4754209518, -0.6024820209, -0.7277433872, 1.2687563896, 0.6722621322, -0.6584179401, -0.3860206604, -0.2696636617, -0.0738087818, -0.4727985561, -0.167642653, 0.1477149427, 0.5109740496, 0.0898807347, -0.6110427976, 0.2292927504, -0.2790332735, -0.2608940601, 0.0813029781, -0.5204965472, 0.6809459329, -0.2001919448, -0.586366415, -0.4347051084, 0.6273006201, -0.257750839, 0.0943868607, 0.4569898844, 0.0605578683, 1.1848590374, 0.2057875842, 0.8720828295, -0.413852185, 0.7506750822, 1.2903300524, -0.0968969837, 0.4823525548, 0.3163845241, 0.0772751197, 0.5089532733, 0.5493038297, -0.1689845622, 0.6343528628, 0.1244537532, 0.0345398411, -0.2358935475, -0.3159978986, -0.2321792841, 0.5012347102, 0.2441068739, -0.1750876904, -0.46083197, 0.2029516399, 0.1337607801, -0.1312855482, -0.3038676977, 1.1397141218, -0.2471802682, -0.3707968593, 0.7498978972, -0.0704892352, 0.3117661476, -0.6912102103, -0.6428278089, -0.1459298134, -0.0925201625, -0.2312064022, -0.4042232633, -0.0326555632, -0.1156457737, -0.2604433, -0.143659994, 0.99165833, -0.5689203739, -0.2203501761, 0.3035990596, 0.2234157473, 0.3854491711, 0.0556471571, -0.5665051341, -0.2157052755, 0.4275245667, -0.1327130198, 0.1022584438, 0.545263648, -0.0684529617, 0.2850722075, 0.6475280523, 0.1346452981, 0.1992328167, -0.3883196414, 0.9248363972, -0.3289312422, -0.6891155243, -0.4725297689, 0.3468422592, -0.1080100536, -0.0118781859, 0.5115140676, 0.5776734948, 0.7811358571, -0.0687900707, 0.9579367042, 0.0062955366, 0.1023951843, -0.6722199917, 0.4194253385, -0.1920345724, 0.0823100358, -0.3157721162, -0.918956399, -0.1520189196, 0.6550917029, -0.1293021441, -0.3142067492, 0.7534710169, 0.342382282, -0.2722513378, -0.2161408216, 0.006648954, 0.1656913161, 0.2942916155, 0.727473855, 0.2325982898, -0.6002845764, 0.8012108803, -0.1313735396, -0.6601822376, -0.0886764526, -0.725835979, -0.6477107406, -0.3577013016, -0.5780414343, -0.3657541871, 0.4092520475, 0.6565494537, 0.8732979894, -0.5851888061, 0.127611205, -0.2355773151, 0.1195961908, -0.5564785004, -0.3418363035, 0.9984418154, -0.369207263, -0.7406689525, 0.4471383095, 0.0938220099, 0.1207356229, 0.5258404016, 0.1968591213, -0.5561965108, -0.2850133777, 0.2399321049, 0.4540032148, -0.2137037963, -0.5501279831, -0.1171902791, -0.1746359318, 0.3850391209, 0.6257354617, -0.4860613048, 0.6788570285, 0.4221880138, 1.1457320452, 0.6891655922, 0.1683321744, 0.3604499996, -1.1272251606, 0.1066523641, -0.0128580937, 0.1286589652, 0.1640950292, -0.9523010254, 0.5000163913, 0.457806468, -0.1778283566, -0.4590356946, 0.0948337093, -1.1402076483, -0.2210424095, 0.9305325747, -0.8243173957, -0.2953046858, -0.345687896, -0.1533256918, 0.758782804, -0.4669517875, 0.6418651938, 0.2925498188, -0.2716040909, 0.0081696352, -0.0756377801, 0.307903111, -0.1490405053, -0.9718837738, 0.1310156137, 0.0464410186, 0.5830609798, 0.3173440099, 0.528480649, 0.2508568168, 0.1153675318, -0.0749730542, 0.216872856, -0.5661893487, -0.6475293636, -0.0149665056, 0.1914393157, -0.3269861639, -0.6451550126 ]
http://arxiv.org/abs/2403.00499v1
http://arxiv.org/pdf/2403.00499v1
Do Zombies Understand? A Choose-Your-Own-Adventure Exploration of Machine Cognition
2024-03-01T12:42:47
2024-03-01T12:42:47
Ariel Goldstein, Gabriel Stanovsky
cs.CL
cs.CL
Recent advances in LLMs have sparked a debate on whether they understand text. In this position paper, we argue that opponents in this debate hold different definitions for understanding, and particularly differ in their view on the role of consciousness. To substantiate this claim, we propose a thought experiment involving an open-source chatbot $Z$ which excels on every possible benchmark, seemingly without subjective experience. We ask whether $Z$ is capable of understanding, and show that different schools of thought within seminal AI research seem to answer this question differently, uncovering their terminological disagreement. Moving forward, we propose two distinct working definitions for understanding which explicitly acknowledge the question of consciousness, and draw connections with a rich literature in philosophy, psychology and neuroscience.
[ -0.5013532043, -0.6207301021, 1.0546078682, 0.0083984928, -0.38636145, 0.1653317064, -0.2603121996, -0.7237740755, 0.312318176, 0.3195617795, -0.7042861581, -0.1357193142, -0.6119692922, 0.3370953798, 0.0033198735, 0.7736554146, 0.0622163452, 0.0004245308, -0.5582897067, -0.0126104774, -0.2528790832, -0.4853727221, -0.8045241833, -0.550133884, 0.7687739134, 0.2414362729, 0.7945263982, 0.3263176978, 0.4006306529, 0.4094898701, -0.050741002, -0.0229764096, -0.4639017284, -0.018121101, -0.1344225258, -0.8877956271, -0.0818256959, -0.1621775478, 0.3483015001, 0.7638438344, 0.1843294799, -0.0452343859, -0.1938794255, 0.5140971541, -0.6535611749, -0.085813731, -0.6924727559, 0.421972543, 0.2183971256, -0.0442308411, -0.5569343567, 0.3080866337, -0.048111055, -0.5029822588, 0.2671848238, 0.0610199869, 0.5287914872, 0.4534038007, -0.3912452459, -0.2884941697, -0.661534667, 0.4549813867, -0.5239885449, 0.3119358122, 0.4466153085, 0.4453828931, 0.009458649, -0.4773611426, -1.0629153252, -0.035519626, 0.0786732361, 0.6184997559, -0.3610002697, 0.1429691613, 0.0126813529, 0.4843125343, -0.4877294302, 0.2613558471, -0.4321295321, -0.1759628952, 0.6161645651, -0.0242989212, 0.6066803336, -0.3356201351, -0.7739523649, 0.1860924959, 0.1673384756, 0.1158224866, 0.3177556396, -0.1051405966, -0.2601124644, 0.652535975, 0.0177775957, 0.9255415797, -0.5547642112, 0.3432616889, 0.2362839133, 0.0201816987, -0.7086367011, -0.0269139111, 0.6463356018, 0.5961815119, 0.4258819818, -0.6068649888, -0.1407462656, 0.0348461419, 0.8005586863, -0.2344553918, -0.5262015462, 0.5853614807, -0.5492453575, 0.0874033943, -0.1916000843, -0.1962456554, -0.6224067807, -0.2528160512, 0.4916037321, -0.4788561761, -0.3696986735, 0.5476688743, -0.677698791, 0.1882282794, 0.8198367357, -0.6447986364, 0.0379256085, 0.6207872033, 1.0814502239, -0.3636829853, -0.1746873856, 0.1718731523, -0.0313933939, -0.4391391277, 1.1243752241, -0.4060474336, -0.7167797685, -0.4141234457, -0.1069567502, -0.2398249954, -0.2631530464, 0.3720319867, -0.49550125, 0.2104109824, -0.2044580728, -0.4330511391, -0.550675869, 0.1851693094, -0.238236323, 0.2499385029, -0.0132860709, -0.5937457085, 0.2183889598, -0.4815491438, -0.0320687592, 0.3141211271, -0.3528035581, 0.3896461129, 0.3135307133, -0.2444308996, 0.304207921, 0.261549294, -0.2760257125, -0.1870386302, -0.3796770275, 0.7127339244, -0.3448093832, 0.9035499096, 0.0252076592, 0.0935012326, 0.0037824139, -0.643915832, 0.270931989, 0.225508824, 0.1301798224, -0.4420415759, 0.3975627422, -0.2485392839, 0.1781024784, 0.3517413735, -0.5916237831, 0.039609842, -0.5876126289, 0.7243055105, 0.9761582613, -0.0604398847, 0.6186408401, -0.4511688352, 0.2961936295, 0.0500379764, 0.0382987522, -0.1880224347, -0.6910507679, -0.8579413891, -0.1019869819, -0.1079435274, 0.5789167881, -0.4724678695, 0.3791809976, 0.0850638822, -0.4885499179, -0.7737369537, 0.0091632977, 0.1415766031, 0.7499372959, 0.601203084, -0.3498539031, -0.4156901836, -1.0916427374, -0.2046062201, -0.435161829, -0.4376512468, 0.6342125535, 0.4655437768, -0.3560832143, 0.9281446934, -0.5633651018, 0.0846957564, -0.2963074446, -0.0215815976, -0.0578349978, 0.3936829567, 0.3905652165, -0.7103807926, 0.1033620089, 0.0665942654, -1.0219976902, 0.3513831496, -0.3262841403, -0.1730057299, -0.5107045174, 0.3111287951, -0.4482189119, 0.5236389041, 0.3170881867, -0.4246615171, -0.1283183396, -0.5891683698, 0.0341402926, -0.7775921822, -0.4717729688, -0.2667017281, -0.1519121677, -0.6279763579, -0.0943748429, 0.1134197041, 0.2807600796, -0.4741734266, 0.3301896751, -0.2696011662, -0.5246321559, -0.464170903, 1.0585186481, 0.0677464604, 0.4409686625, 0.164422527, 0.7419762611, 0.3746478856, -0.7937927246, -0.0487376302, 0.4323101044, -0.5429012775, 0.236267224, -0.6258510947, 0.7324519753, -0.5984307528, 0.2071666867, -1.4146085978, -0.0543215461, 0.5205232501, -0.8931568861, -0.4209661782, -0.0375756323, -0.1947210282, -0.2124228179, 0.1564950049, 0.0902347863, 0.6657119393, -0.1002140939, 0.4970500171, 0.4058776796, 0.3789974451, -0.4877541959, -1.140298605, 0.2504752576, 0.0673480928, -0.4902460277, 0.2686347961, -0.4601389468, -1.101198554, -0.1432702541, -0.1523585767, -0.1604641676, 0.3997350335, 0.5003170371, 0.0477658771, -0.2353071272, 0.4308983088, -0.069128938, -0.0384332091, 0.1484665722, -0.3185812831, 0.4767414927, 0.262141943, -0.3629250526, -0.473754853, -0.0129044121, 0.2596108913, -0.0246196147, 0.5152782202, 0.2003708333, -0.1803000867, -0.3380190134, -0.2553105354, 0.1761398166, -0.4835054278, 0.0431517176, -0.3699988127, -0.6421772242, 0.6333877444, 0.1378438175, 0.1503687352, 0.5983438492, 0.6859670281, -0.6442113519, 0.5367705822, 0.7509146333, 0.3884107769, 0.207248196, -0.0631081015, 0.1204219386, -0.8458881974, -0.4721619487, -0.4992889464, -0.6128207445, -0.2900294662, -0.6276499629, -0.0104788691, 0.0981111452, -0.1371343136, 0.1188592315, -0.4556987882, 0.4583733976, -0.0017907271, 0.4066218436, 0.3195349574, -0.4811494052, 0.1348337978, 0.226380527, -0.5002600551, -0.8273586631, 0.6483931541, 0.02066564, 0.2846385241, 0.2036782801, 0.6563277841, 0.5949833989, 0.1042495444, -0.8981798887, 0.5945337415, 0.3366377652, -0.5105718374, -0.2655099928, -0.0628876165, -1.0489372015, 0.5944335461, 0.0585207678, -1.0065978765, 0.1702620685, -0.2451121956, -0.482457757, 0.7511050701, -1.1206297874, 0.6844374537, -0.2622469664, 0.1638149172, -0.3982816935, -0.7355373502, 0.4245656431, 0.2340431213, 0.4804565609, -0.428824842, -0.8205621839, 0.8406339884, 0.0022766897, 0.7319339514, 0.1255236119, -0.3537308872, 0.3515521288, 0.0689219683, -0.2809667885, 0.3450141549, -0.2511948049, 0.373669982, -0.2053468078, -0.5690684915, -0.7523865104, 0.2081077099, -1.046557188, -0.7799987793, -0.2701367438, -0.5345575809, -0.1014466658, 0.1960430741, 0.2805328667, -0.0942174643, -0.3423272371, -0.085089758, 0.7411760092, -0.1488389969, 0.694681704, 0.6330451965, -0.1638152897, -0.1150685251, 0.5092049837, -0.0605869032, 0.4913767278, 0.5284599662, -0.0142282574, 0.1213805079, -0.6309639812, -0.620213449, -0.1434641927, -1.1392998695, 0.2350787818, -1.2043280602, -0.2853340805, 0.1181758195, -0.4196253419, 0.0188828129, -0.2639774382, -0.5182363987, -0.2835428715, 0.4784792066, 1.0158653259, -0.0519451238, 0.4173337817, -0.6468061805, 0.5241408348, 0.3783873618, -0.0257047098, 0.2991962731, -0.4295085967, -0.137448445, 0.2895250022, 0.015396188, -1.1791679859, 0.0466231294, -0.1986173391, 0.628041327, 0.5181523561, 0.1060460731, 0.4212842882, -0.5910716057, 1.1574503183, 0.1879965365, -1.0779211521, 0.6417966485, 0.0581703968, 0.1651171595, 0.5259586573, 0.3768971264, -0.6587908268, -0.4140748978, -0.8886763453, -0.3389533758, 0.4311822355, 0.3369333148, 0.4808869958, -0.1766663939, 0.526843071, 0.4093438685, 0.1161942706, -0.577998817, -0.2271606773, -0.0453436486, 0.2047014087, -0.6725296974, -0.0034635973, -0.0007581432, -0.0251092464, -0.0723736659, 0.05867498, 0.5895800591, 0.5095088482, -0.228118673, -0.1259610653, 0.0770684257, 0.532022953, 0.9955933094, 0.032259915, 0.4057292938, 0.2078255713, -0.6956111789, 0.0215895399, -0.6427179575, -0.0385885835, -0.0325943232, 0.5208941698, 0.7696617246, 0.176407665, -0.8101517558, 0.2496817559, -0.3074357212, -0.2123327851, -0.3701671064, 0.7227411866, 0.1921985298, 0.3802530468, 0.3103676438, 0.6943356395, 0.0712385923, -0.5659706593, 0.2004116774, 0.427628547, -0.5796935558, -0.2098213136, 0.5156969428, -0.0076028197, -1.1167067289, 0.5552809834, -0.0622402541, -0.3691236675, 1.1566954851, 0.3215662241, 1.0022270679, 0.1628263295, 0.1489619017, -0.0427640863, 0.600697279, 0.3569783568, 0.5086113214, -0.5999351144, -1.3102869987, -0.3139187992, -0.2317404896, -0.7897593379, -0.1153119057, -0.4301649332, -0.0295029469, -0.4821781814, -0.1426088065, 0.2900575101, -0.2781870365, -0.6406069994, 0.3112778664, 0.2727704048, 1.0279374123, -0.3956270218, 0.6242788434, 0.3980299234, -0.6087207198, -0.0350599252, 0.4994141459, -0.261158824, -1.1510570049, 0.5783891678, 0.0979395732, -0.3708501756, 0.1422077268, -0.6978180408, -0.5470142961, 0.8249640465, 0.0853204876, -0.2944218516, -0.0845471919, -0.7162871957, 0.4003956616, -0.3556268513, 0.417722106, 0.111657083, 0.4450864792, -0.2524796128, -0.3853968084, -0.5500978231, -0.0456963181, -0.2405566573, -0.0124058761, -0.8505374789, 0.7696319818, -0.6493800879, -0.2358847111, -0.1800332814, 0.9382654428, -0.5089191794, 0.7121191025, 0.5311093926, 0.3216651976, 0.9357395172, 0.2064507306, 0.8928486705, -0.1420506686, 0.0794398636, 1.0084084272, -0.0652921796, 0.9145413041, 0.2910382152, -0.452358216, 0.6984552145, 1.0233995914, 0.3311598003, 0.3214247525, 0.3204059601, -0.330394417, -0.6728942394, 0.4563259482, -0.2832776904, 0.6144494414, 0.4949359596, -0.3497046232, -0.1093164161, 0.3046735227, -0.318269819, 0.1581631452, -0.3741425276, 1.1027028561, 0.2161754966, -0.4400925636, 0.3127071857, -0.1593174189, 0.3303164542, -0.4589734375, 0.1683326662, 0.0643117577, -0.1646336764, -0.1987238675, -1.0685696602, 0.1613233835, -0.0409443602, -0.1044031531, -0.3895972073, 0.6132362485, 0.1634833515, -0.2060520351, 0.4090740383, 0.9105495214, 0.6685916185, 0.3168809712, -0.5817662477, 0.1749631166, 0.0145828491, 0.1627424657, 0.1666439176, 0.6453425288, 0.5538678765, 0.8440726399, 0.4124691486, -0.2377623916, -0.181417793, -0.3370812833, 0.6608836055, -0.6317901611, -0.4797757268, -1.1829324961, 0.3625639975, -0.1416530311, -0.5393972397, 1.0006642342, 0.4534257054, 0.9904158711, 0.0686990991, 1.0325478315, -0.0852239206, 0.0585409366, -0.42764166, 0.7701500058, -0.6557314396, -0.1826852709, -0.0485524535, -0.3386588693, -0.0753337443, 0.8920327425, -0.5634733438, -0.0710169226, 0.426312536, 0.0799883902, 0.1124944389, 0.6189274192, 0.6370633841, 0.1898641139, -0.224945873, 0.6727258563, 1.0107200146, 0.0621153004, -0.0122979134, 0.0429757386, -0.3191436827, -0.0208922178, -0.5166462064, -1.0533072948, -0.7426370382, -0.1864334643, -0.3065150976, -0.0063646417, 0.899308145, 0.3282870948, -0.2472293973, -0.2504436076, -0.3358841538, 0.6700023413, -0.2724154592, -0.0632690042, 0.0614647493, -0.8012752533, -0.7824821472, 0.4999529719, 0.6398895383, 0.1489688009, -0.5226435065, 0.1157017872, -0.1738345921, 0.4301650822, 0.5353953242, 0.1889934391, -0.8438957334, -0.3946845829, -0.0405738205, -0.0372800566, 0.5663548112, 1.0018532276, -1.0419082642, 0.84503299, 0.536241293, 0.7825374603, 0.3058291078, -0.3307393193, 0.44023633, 0.0988449603, 0.2363677621, 0.4826476276, 0.158645913, 0.0865418389, -0.5386326909, 0.4260475338, 0.2596961558, -0.4468418956, -0.5864837766, 0.5209980607, -1.1147192717, -0.6823474765, 0.8770309091, -0.0096625248, -0.5383173227, -0.4239952564, -0.2756682336, 0.3180904388, 0.0279840026, 0.5411915779, 0.7767617702, -0.4885978997, -0.2053857595, -1.1542652845, 0.4737824202, 0.1937624365, -0.4190936089, 0.0007832597, 0.1222555786, -0.0575501025, 0.0724225938, 0.9721043706, 0.3793211877, -0.0883900523, 0.0434397422, -0.0489867516, 0.3081064224, -0.0077230176, -0.2950154543, 0.095878154, -0.0727255717, -0.4459202588 ]
http://arxiv.org/abs/2403.00888v1
http://arxiv.org/pdf/2403.00888v1
Margin Discrepancy-based Adversarial Training for Multi-Domain Text Classification
2024-03-01T11:54:14
2024-03-01T11:54:14
Yuan Wu
cs.CL
cs.CL, cs.LG
Multi-domain text classification (MDTC) endeavors to harness available resources from correlated domains to enhance the classification accuracy of the target domain. Presently, most MDTC approaches that embrace adversarial training and the shared-private paradigm exhibit cutting-edge performance. Unfortunately, these methods face a non-negligible challenge: the absence of theoretical guarantees in the design of MDTC algorithms. The dearth of theoretical underpinning poses a substantial impediment to the advancement of MDTC algorithms. To tackle this problem, we first provide a theoretical analysis of MDTC by decomposing the MDTC task into multiple domain adaptation tasks. We incorporate the margin discrepancy as the measure of domain divergence and establish a new generalization bound based on Rademacher complexity. Subsequently, we propose a margin discrepancy-based adversarial training (MDAT) approach for MDTC, in accordance with our theoretical analysis. To validate the efficacy of the proposed MDAT method, we conduct empirical studies on two MDTC benchmarks. The experimental results demonstrate that our MDAT approach surpasses state-of-the-art baselines on both datasets.
[ -0.4681847394, -0.7744550109, 0.4601492882, -0.0737034753, -0.0160059929, 0.4899042547, -0.2682061195, -0.2451774627, -0.419262439, 0.2858247757, -0.6422196031, -0.5471081138, -1.109647274, -0.033991389, 0.088298887, 1.1147252321, -0.4128032029, -0.11804948, -0.0300627165, -0.6564941406, -0.4453763068, -0.7648791671, -0.420235455, -0.0706646442, 0.4199516177, 0.3442314863, 0.4902878702, 0.6371011734, 0.5658427477, 0.206515491, 0.0793013573, 0.7814968228, -0.1488981098, -0.0168006811, 0.0395478569, -0.3997781873, -0.2648009658, 0.1836473495, 0.3094675541, 0.339407891, -0.3260948956, -0.3185269237, 0.3715614676, 0.9173336625, -0.8403161168, 0.0675303116, -0.481096983, -0.019169271, -0.2819741666, -0.4084074795, -0.7151437998, -0.3645620644, 0.1824363172, -0.7512267232, 0.7016477585, -0.2115354985, 0.8043587804, 0.2605769038, -0.9683535695, -0.4528405964, -0.8140990734, 0.8722240329, -0.3248337507, 0.3927140236, 0.2981427014, 0.3393655121, -0.0039013103, -0.4954890311, -0.3401946127, 0.096933268, 0.2814626992, 0.2365697473, -0.4312404394, 0.0347145647, -0.052017767, 0.3363865912, -0.7218459845, 0.1269576699, -0.1161349043, -0.0114826756, 0.3468295038, 0.0395670719, 0.0471216701, 0.4520392418, -0.801158011, -0.4832039475, -0.5620007515, 0.0423242971, 0.5562059283, 0.2804934382, -0.0268945862, 0.1290999949, 0.1276172847, 0.3356785774, 0.2124085277, 0.0483870283, 0.1323433369, -0.0274078753, -0.1175677255, -0.0143563226, 0.5904338956, 0.3235608935, -0.0412986949, 0.0295016039, 0.0235855747, 0.1687025875, 0.5369650126, -0.58222574, -0.2812232375, 0.0752980709, -0.2937554717, -0.3594045937, 0.2513036132, -0.8805798292, -0.7658557296, -0.2783825099, 0.3438435197, -0.4959892035, -0.3517372608, 0.1041196361, -0.0572373718, -0.4026956558, 0.4212830961, -0.6091974974, 0.3967804611, 0.5549221039, 0.9028277397, -0.514210999, -0.3435724378, -0.0644389242, -0.0069132159, -0.2019530982, 0.8757957816, -0.2833750844, -0.4034709334, 0.0959395543, -0.3311453164, -0.438334614, -0.4063392878, 0.8872035742, -0.6466451287, 0.1719769984, -0.2188206315, -0.4573739767, -0.5074671507, 0.4868064821, -0.7377992272, 0.5552120209, -0.0108723743, -1.2182226181, 0.4187405109, -0.5580586791, -0.5317146182, -0.3526490033, -0.0881261677, -0.8855562806, 0.0435012691, 0.3973169029, 0.441018194, -0.2230239213, 0.1003530622, -0.3251356184, -0.2257001549, 0.5401076674, -1.0487213135, 0.766960144, 0.2282167673, -0.4336761236, -0.1454709619, -0.7911278605, -0.0624106377, 0.0195922665, -0.3552512527, -0.6230889559, -0.1920181364, 0.0643386245, 0.0308095701, -0.0890181959, -0.3080289066, 0.4145648181, -0.2096017748, 0.1889068484, 0.9875366688, 0.119064942, 0.4952027202, -0.5146463513, 0.4616567492, 0.203937456, 0.0059126709, 0.278119266, -0.2529032826, -0.6244319677, -0.5486386418, 0.5164300799, 0.5657080412, -0.9805628657, 0.2189880162, -0.1110816523, -0.4613271654, -0.2546193302, -0.2914078832, 0.3975892067, 0.119987987, 0.6722605824, -0.2005663067, -0.5459046364, -0.7130385637, -0.2768650949, 0.0492519327, 0.2862889767, 0.1506614536, 0.2746765316, -0.2478930056, 0.6218776703, -0.7466086149, -0.7800283432, -0.1002020314, 0.3951639533, -0.1214951575, 0.3649791777, 0.4563318491, -1.0432186127, -0.5396161675, 0.1802919358, -0.6176823974, 0.4201002419, -0.2489874661, 0.1234124154, 0.4519360662, -0.048866082, -0.4769816697, 0.5832969546, 0.5957942605, 0.0364401825, 0.6639059782, -0.3811510205, 0.5004063845, -0.843397975, -0.2551352978, 0.2512580156, 0.1361064613, -0.8737887144, -0.0376843624, 0.3286775649, 0.2318005264, -0.0957260802, 0.2512097955, -0.422909826, 0.5188550949, -0.4669618309, -0.1644614786, 0.1305568516, 0.638066411, -0.0706886724, 0.9041880369, 0.4745299518, -0.9215270281, -0.0406626128, 0.1633142382, 0.1850042939, 0.8259673119, -0.0946961492, 0.1365357339, 0.2301718444, 0.5350505114, -0.772095561, 0.0799221098, 0.1808777153, -0.6867184043, 0.5925939083, -0.1884931177, -0.3251141012, -0.2065953016, -0.3334307671, 0.4852750897, 0.2036938369, -0.8045712709, 0.6106035709, 0.3440170288, 0.1611235887, -1.1363258362, -0.6983730793, -0.0573661663, -0.3727881014, -0.3893719316, 0.3735990524, 0.0386864692, 0.0116040651, -0.2708919942, -0.4174555838, -0.4062649012, 0.1344095916, 0.3256049156, 0.125009954, -0.1039348766, 0.0047746152, 0.2323669046, -0.0684724972, -0.0769810081, -0.5557376742, 0.2712191939, -0.1571249217, -0.4326909184, -0.4119740725, 0.2713122964, 0.4723924398, -0.2532882392, 0.6630109549, 0.6327722669, -0.2503218949, -0.6080958843, -0.4940005839, 0.2123463303, -0.4478435814, 0.2044525594, -0.5009042621, -0.6690897942, 0.277585566, -0.2846087813, -0.1421509087, 0.5529153347, 0.3388946354, 0.2059892863, 0.9779528379, 0.7546207905, 0.2458216101, 0.1986419559, -0.5684178472, 0.0193419978, -0.7567029595, -0.0150359767, -0.5352423787, -0.0062831091, -0.5624337196, -0.2230993658, 0.0910156146, -0.1806288809, -0.2151517123, 0.5334861875, -0.5956546664, 0.3554772735, 0.6402286291, 0.282974124, 0.2945732176, 0.2164634317, -0.216601789, -0.2144295275, -0.6489735842, -0.2742784321, 1.1833382845, 0.2808153927, 0.6158719659, 0.3255953789, 0.5770677924, 0.57490623, 0.3059590757, -0.4347864985, 0.1324222982, -0.4928932786, -0.4144600928, 0.1169493943, -0.6575371027, -0.8150709271, 0.3150890768, 0.106262669, -0.2940477133, 0.554925561, -0.1268061101, -0.0251302607, 0.7428879142, -0.5869647861, 0.6610934734, -0.0666542649, -0.1540791094, -0.2201101184, -0.5423896313, 0.3734788299, -0.2526632547, 0.2871361673, 0.1475675702, 0.0723979101, 0.7719740272, -0.1692582965, 0.7948074341, -0.468134284, -0.1654466093, 0.2150183469, 0.2515526116, 0.5090095401, -0.0921761468, 0.0597848184, 0.3670785427, -0.1670020968, -0.3751353621, -0.5313493013, 0.6033179164, -0.9896050096, -0.3222663403, -0.8753196001, -0.5077166557, -0.555277884, 0.0645706877, 0.4225378335, 0.4034182429, -0.4077358544, 0.0241736341, 0.7594425678, -0.124040857, 0.2434409857, 0.4185082912, 0.6866445541, -0.6115958095, 0.9863647819, 0.0810176954, 0.2209377438, 0.6103734374, 0.041629646, -0.523516953, -0.8708121181, -0.4438108504, -0.1601966172, -0.8317947388, -0.5483008623, -0.5862526298, -0.2509017289, -0.3143234551, -0.2177636921, -0.3164484203, -0.4215739667, -0.4187918007, 0.0361786261, 0.3180783987, 0.7391303182, -0.1851546466, 0.3816159666, -0.69259727, 0.0804622993, -0.0206651613, 0.3125270307, 0.1047356054, -0.5495875478, -0.3568205833, 0.2922708988, -0.8958202004, -0.6185394526, 0.2720355392, 0.0857987925, 0.5476929545, 0.3638083041, 0.4908087552, 0.456402272, -0.5374117494, 0.3667927682, 0.3760100603, -0.8093882799, 0.3284864426, -0.1812361032, -0.1615671366, 0.5860764384, 0.4592842162, -0.3179925978, -0.3144448102, -0.7642477155, -0.5618566275, 0.5777603388, 0.2812047601, -0.1978206336, 0.3106802106, 0.0449953973, 0.5347518921, 0.0020979801, -0.4905117154, -0.4011072814, -0.2756302655, -0.4509887099, 0.0658595413, 0.0889501274, -0.2615765333, 0.2997276187, 0.7669168711, -0.1811025888, 0.1195228547, 0.2802477777, -0.2635412812, 0.1038534194, 0.4697443247, 0.8155072331, 0.6469994187, -0.1162493005, 0.336925447, 0.1949269921, -0.8227595687, 0.6534737349, 0.5196862221, 0.0741670802, -0.1439187229, 0.3261192441, 0.5606402159, -0.3695979118, -0.2130687088, 0.7714592814, -0.5403305292, -0.5429308414, 0.0113279736, -0.1580727249, -0.544526875, 0.2972947657, 0.7249033451, 0.9256741405, 0.2368879467, 0.1270193607, 0.4921974838, 0.2463685274, -0.5312668681, -0.0294997711, 0.5183205009, 0.0322429612, -0.0772480518, 0.1093689799, -0.1827605218, -0.7339918613, 0.5926184058, 0.1965093315, 0.9456979632, -0.3407091796, 0.3548764288, -0.0753439888, 0.2989745736, -0.2880005538, -0.5312811136, -0.0094971051, -0.5712643266, -0.1908902079, -0.187406674, -0.5856890678, -0.0806744695, -0.6938676834, 0.1066937819, -0.4674399197, -0.1871722937, -0.0680097416, 0.3388678133, -0.3988706768, 0.1606657803, -0.151630789, 0.608738482, -0.6680202484, 0.8411899805, 0.5211181641, -0.3635085821, -0.3829524219, 0.4125120938, 0.2488745302, -0.5212150216, 0.5356744528, 0.3209870756, -0.4025291204, -0.2282123864, -0.0786130652, -0.3456121087, 0.9287876487, -0.069568418, -0.3829123974, 0.2254824638, 0.1814185083, 0.4338790476, -0.163551122, -0.2102513313, 0.2494327575, 0.2486130744, -0.0839726031, -0.5985969305, 0.2219553888, 0.1005403176, -0.0709068328, 0.1376110613, -0.5477845073, 0.8445398808, -0.2483527809, -0.5396232009, -0.0495297238, 0.5248715281, 0.2466947287, 0.6090306044, 0.5378689766, 0.5132293105, 0.8284900784, -0.202245757, 0.8626518846, 0.1055821776, 0.7390723825, 0.8945515752, -0.3959122896, 0.5040530562, 0.1012630463, -0.4102347493, 0.2853812873, 0.7227808833, -0.0711202547, 0.6958375573, 0.1005377248, -0.3904457688, 0.1663520485, 0.1894050837, -0.5683147907, 0.0920918211, 0.2576280832, -0.015787309, -0.2101475, 0.3613100946, 0.0223186016, 0.3605292141, -0.0156439282, 0.6554375887, 0.0613708645, -0.2467848957, 0.7067301273, 0.3318615556, 0.9058532715, -0.4103170633, 0.0759949386, -0.1622141004, 1.0296043158, 0.0742658377, -0.6656827927, 0.208640784, -0.1416913718, -0.197430402, -0.0793324709, 0.6712561846, -0.2700738907, -0.2725220323, 0.2908635139, 0.3763066232, -0.4715599418, -0.3645115197, -0.7626527548, -0.0956019089, 0.0633614287, 0.0095287906, 0.4132689238, 0.831396997, 0.1900552511, 0.5543501973, 0.6302735209, -0.0670832023, -0.1659937352, -0.0848600566, 0.7271165848, -0.3302608728, -0.591109395, -0.8915721178, 0.1479708254, -0.0304972492, -0.3871748745, 0.7428705096, 0.5012019873, 0.8113988042, -0.1341016889, 1.026170969, 0.1497512758, 0.5224899054, -0.5613999963, 0.7065509558, -0.5489397645, 0.2727685273, -0.1069874689, -0.6153744459, -0.6407412291, 0.3345544338, -0.0457019098, 0.0425734185, 1.1282534599, 0.4262926579, -0.2653708756, 0.2037649155, 0.1734637469, -0.0170461759, 0.506167233, 0.6914595366, 0.9490498304, -0.6987971663, 1.0054453611, -0.247722432, -0.3985994458, -0.2223291397, -0.5081941485, -0.9929728508, -0.7110059857, -0.4015690982, -0.6346740723, 0.5550677776, 0.5608038902, 0.7921919227, -0.7962511778, 0.0669992566, -0.1627611369, 0.0846803635, -0.6593556404, -0.2311354131, 0.789736867, -0.1824767739, -0.4566769302, 0.1915499121, 0.018337192, 0.3508476019, -0.0582361035, -0.08139994, -0.266208142, -0.0137955956, 0.270185709, 0.1577127278, -0.5008586645, -0.1150754765, -0.1135813519, -0.290828526, 0.3880141675, 1.0409058332, -0.3378908634, 0.0198654775, 0.0933248922, 1.0711717606, 0.3601588011, 0.0825849026, 0.4158283472, -1.1164550781, -0.1315511465, 0.1497146487, 0.0702063665, 0.3289705515, -0.470728755, 0.4054460227, 0.4046995342, -0.5816810131, -0.7979646921, 0.2179776579, -0.9631088972, -0.5966701508, 0.9340427518, -0.2178378552, 0.0313871466, -0.2157678753, -0.4036694765, 0.2882241905, -0.4339652956, 0.7197791934, 0.8306519389, -0.0200330857, -0.0534332842, -0.4227036238, 0.5349188447, 0.0769943371, -0.7067679763, 0.5312157869, 0.222425133, 0.1565703154, 0.2773757279, 0.276396513, 0.0592442192, 0.239671737, 0.3237166703, -0.0648377314, -0.2710697949, -0.5069114566, -0.5167958736, 0.3598157465, -0.1341860294, -0.3675079942 ]
http://arxiv.org/abs/2403.00462v2
http://arxiv.org/pdf/2403.00462v2
LUCID: LLM-Generated Utterances for Complex and Interesting Dialogues
2024-03-01T11:33:53
2024-05-03T16:57:07
Joe Stacey, Jianpeng Cheng, John Torr, Tristan Guigue, Joris Driesen, Alexandru Coca, Mark Gaynor, Anders Johannsen
cs.CL
cs.CL, I.2.7
Spurred by recent advances in Large Language Models (LLMs), virtual assistants are poised to take a leap forward in terms of their dialogue capabilities. Yet a major bottleneck to achieving genuinely transformative task-oriented dialogue capabilities remains the scarcity of high quality data. Existing datasets, while impressive in scale, have limited domain coverage and contain few genuinely challenging conversational phenomena; those which are present are typically unlabelled, making it difficult to assess the strengths and weaknesses of models without time-consuming and costly human evaluation. Moreover, creating high quality dialogue data has until now required considerable human input, limiting both the scale of these datasets and the ability to rapidly bootstrap data for a new target domain. We aim to overcome these issues with LUCID, a modularised and highly automated LLM-driven data generation system that produces realistic, diverse and challenging dialogues. We use LUCID to generate a seed dataset of 4,277 conversations across 100 intents to demonstrate its capabilities, with a human review finding consistently high quality labels in the generated data.
[ -0.3434984684, -0.7431250215, 0.5809694529, 0.0448869914, -0.2157707065, 0.3073319197, -0.1318996549, -0.4034595191, 0.3972244561, 0.8460940719, -0.5805193186, -0.6580054164, -0.2379850149, 0.1052745134, -0.2924023867, 1.0437492132, 0.2584890723, 0.058138229, -0.4738514721, -0.1069744527, -0.5326144695, -0.5581178069, -0.6062697768, -0.1435230523, 0.3159118593, 0.8272814751, 0.5563284755, 0.28863132, 0.225519672, 0.3034991026, 0.09488675, 0.7923398018, -0.8496217132, 0.6131257415, -0.0355911963, -0.269398421, -0.6420841813, -0.3456785381, 0.5996461511, 0.8233012557, -0.1858321279, -0.0566520952, 0.0376039445, 0.4597001374, -0.0958423913, 0.1035729051, -0.8310368061, -0.1872425377, -0.091725111, -0.1627599895, -0.3909514844, -0.0797246471, 0.1222934201, -0.7008878589, 0.0723395869, 0.1563687474, 0.8393630981, 0.2785913348, -0.196088329, -0.3676614165, -1.1170874834, 0.9012976289, -0.6374199986, -0.0332676619, 0.2299812883, 0.3135257959, -0.3084736764, -0.6953708529, -0.6563604474, -0.2343868017, 0.2326531857, -0.1203541532, -0.0402352884, 0.2983048558, 0.2619569898, 0.1349984705, -0.2968265414, 0.1106207967, -0.2400349081, 0.0924507007, 0.9803974628, 0.6862685084, 0.2990415394, -0.2553682625, -0.0919031799, 0.0986862332, -0.5946882963, -0.1322647035, 0.4323157072, 0.2194389701, 0.0256278366, 0.5785557032, -0.3399055004, 0.7135679126, -0.1116659716, -0.370174408, 0.2138233334, -0.7197531462, -0.0546224974, -0.0013880061, 0.8208031654, 0.5221591592, 0.3317727447, -0.0654867962, -0.3532352448, -0.4025495648, 0.3787223697, -0.8646121621, 0.0499862693, 0.6105536819, -0.0289951302, -0.3013540506, 0.0077358093, -0.4428991079, -0.254314661, -0.4533647895, -0.1170445308, -0.2890446782, -0.2086723596, 0.0567681752, 0.1724386513, 0.1100096256, 0.665058732, -0.8621426225, 0.3400027454, 0.7119492888, 0.6348667741, -0.4220321178, -0.0222623274, -0.5688211322, 0.2257355303, -0.3891592324, 0.7936034203, -0.5910316706, -0.6679921746, -0.0112077454, -0.1625214964, 0.1148701161, -0.7405975461, 0.6267545223, -0.1412654966, 0.0535427779, -0.1592180282, -0.471631974, 0.1353336871, 0.1854730994, -0.4750925303, 0.7681299448, 0.2202235907, -0.6221880913, 0.2740876377, -0.5816814899, -0.3085530698, 0.5281983614, -0.6984021664, -0.3052262068, 0.095249258, 0.1147115231, 0.4399293363, -0.6917794347, 0.5975366831, -0.0620580055, -0.3165772557, 0.5197957158, -0.4658678174, 0.4308421016, 0.2821000218, -0.2452650517, 0.3697177768, -0.7939280272, 0.0608934313, -0.0546998903, 0.0684615001, -0.0727433264, 0.0300610252, 0.2262171805, 0.1405625492, 0.0932024345, -0.6965002418, 0.4020687044, -0.4511660337, 0.5543706417, 0.7244053483, 0.1782223284, 0.0925797746, -0.5422513485, 0.6123183966, 0.1845994145, 0.098595731, -0.2287128717, -0.6175608039, -0.8224162459, -0.3784509897, 0.1309356987, 0.5590587258, -0.8427576423, 0.3590622544, -0.6697200537, -0.4051035047, -0.8442915082, 0.3797761798, 0.2564554811, 0.3413197994, -0.0906932577, -0.3585869074, -0.465023607, -1.0970116854, 0.3231745958, -0.168594569, -0.2652478516, 1.0219701529, 0.260758996, -0.434240371, 1.1498138905, -0.3759208918, -0.1911369264, -0.4674757719, 0.2003926188, 0.1812250018, 0.3899877667, 0.0927155316, -0.9109730124, -0.3579065502, 0.0696758926, -0.8701712489, -0.1809708625, -0.4775748551, -0.0607360676, 0.106468901, 0.2849274576, -0.859556675, 0.0997302979, 0.382717818, -0.0315388888, 0.532220304, -0.2026019692, 0.2142744064, -1.4788591862, 0.0630612448, -0.4160141647, -0.2579771578, -0.7345181108, -0.5123214126, -0.5480621457, -0.3334354162, -0.6146492958, 0.5398800373, -0.3534018993, -0.3236996233, -0.0239511151, 0.3411924541, -0.0244686883, 0.3939074874, 0.0853593946, 1.0157245398, 0.3146154284, -0.4099317193, 0.5753451586, 0.5364233851, -0.5219893456, 0.6250990033, -0.8290743828, 0.2506739497, 0.0207169428, 0.2439917475, -1.0227799416, -0.6125354767, -0.0498098135, -0.4019059837, 0.1186025739, -0.0581703149, -0.5025558472, 0.0218373332, -0.1291943192, 0.6269057989, 0.4842630923, -0.3447690606, 0.5302805305, 0.620857954, -0.6616150141, -0.5646951795, -0.2930101454, 0.5599104762, -0.0886068195, -0.8500168324, 0.3963166177, -0.3893773258, -0.5026609302, -0.2737080455, 0.2818586826, -0.0141651751, -0.0824242607, 0.7483847141, 0.1779002845, 0.0120887263, 0.0055335043, 0.1209065244, -0.1170944199, 0.0356426165, -0.2268423736, 0.4980704784, -0.0936069191, -0.555795908, -0.6749609113, 0.5433824062, 0.9812704325, 0.1544284225, 0.3976466656, 0.3860024512, -0.2351908833, -0.4021368325, -0.6352747083, -0.1190684438, -0.4410477281, 0.1905556023, -0.564507544, -0.8019104004, 0.3503261507, -0.0894256458, 0.2838284671, -0.0930011868, 0.5903247595, -0.1799352318, 1.0383718014, 0.4331886172, 0.1832319796, 0.2173448801, -0.1798172891, 0.2086013556, -0.7818007469, -0.3321601748, -0.053483326, -0.1064538807, -0.4871731102, -0.6287750006, 0.5457924008, -0.1824375391, 0.2946910262, -0.0133219836, -0.4686823189, 0.1928185523, 0.4457826316, -0.0972274095, 0.3473957777, 0.0975866467, 0.2204184681, -0.2325769067, -0.7148630619, -0.8242182136, 1.2415839434, 0.2032189369, 0.7076147795, 0.1098522469, 0.7125545144, 0.4802682698, 0.3025757968, -0.8100654483, 0.7963688374, 0.1277537048, -0.3147170246, -0.3855801225, -0.4629686475, -1.0360072851, -0.0784210563, -0.2823196352, -0.5370383263, 0.0360812582, 0.0800539702, -0.5313208699, 0.1239972115, -0.5548340082, 0.6284717321, -0.2768858075, -0.5925046802, -0.2414539903, -0.5156118274, 0.439501971, -0.1213939413, 0.0850122645, -0.2842029035, 0.0374341123, 0.5378867388, -0.5699499846, 0.8381065726, 0.0451771356, -0.1708721668, 0.5269826651, 0.098287873, 0.406421572, 0.2830656767, -0.0614958555, 0.1176709458, -0.2037211061, -0.4928783774, -0.522028923, 0.8766389489, -0.689376235, -0.7064187527, -0.0909115598, -0.7986503243, -0.3637136221, -0.070741795, -0.0178255066, 0.4489447773, -0.4902552664, 0.2729138732, 0.8575621843, -0.2525479198, 0.1281085461, 0.3505744934, -0.0538818054, -0.4218727052, 1.1894329786, 0.1864843667, 0.4919294119, 0.1443647891, -0.2383812815, -0.0580038503, -0.6812292337, -0.711135745, 0.2640150189, -0.4229058921, -0.1151730195, -0.7479547262, -0.352550894, -0.4583832026, -0.2082134485, -0.3844043612, -0.4499438107, -0.4036495686, -0.1834891737, 0.2337132096, 0.9776291847, 0.0624298416, 0.087972559, -0.6838677526, 0.3085906506, 0.5404118299, -0.0203432217, -0.4520305097, -0.3756040037, -0.1309356987, 0.2189990133, -0.0912328809, -0.5385673046, 0.7171307206, 0.2507303357, 0.4382975399, 0.4614625275, 0.1505531967, 0.4311198592, -0.3736426234, 1.0511679649, -0.0079193059, -0.6053031683, 0.587528348, -0.4763992131, 0.1047134921, 0.5329806209, 0.2920093536, -0.3138333559, -0.3130433559, -0.886732161, -0.9030221105, 0.62423563, 0.3760612607, 0.2440245003, 0.0580516346, 0.4008432925, 0.257209003, 0.4231893718, -0.2528447807, -0.0370317735, -0.0323256105, -0.2516421974, -0.0164514165, -0.5522283912, -0.3418856263, -0.0480856933, 0.4323082566, -0.2052636445, 0.0543439537, 0.2200553119, 0.0615379736, -0.0186476167, 0.4000149071, 0.8013284206, 0.7219058275, -0.1861727089, -0.230930984, 0.1891172975, -0.2665517032, 0.0324313939, -0.094502233, -0.188422814, 0.2144085169, 0.2091500014, 0.8897092342, 0.1152479723, -1.3160918951, 0.525274694, -0.3007659316, -0.2595666945, -0.5238196254, 0.2753138244, 0.0417058766, -0.0646896213, 0.2009065449, -0.2502672672, 0.137514621, -0.4347006083, 0.2877066433, 0.3941458762, -0.1950973272, -0.1842507422, 0.4418821335, 0.6933948994, -0.4976068139, 0.8661898971, -0.2423066497, -0.0592969805, 0.3888882697, 0.1906992793, 0.9056739807, -0.1888729036, 0.3532116413, 0.3014991283, 0.0514510646, 0.2785042524, 0.2668161988, -0.4449150562, -0.7748733759, -0.2739602029, -0.5858765244, -0.86192137, 0.3636136353, -0.6019243598, 0.142481938, -0.4185255766, -0.2050441504, -0.0040487945, -0.128149122, -0.4956658483, 0.0173642877, 0.1397973895, 0.4603973925, -0.6685491204, 0.9245896935, 0.2741746008, -0.3270047307, -0.4965322316, -0.3364389241, -0.195050925, -0.7761282921, 0.8338510394, 0.0742700323, -0.3705781102, 0.0679942742, -0.6310346127, -0.509088397, 1.1276426315, 0.4150861502, -0.8425306082, -0.2119726688, 0.3913734555, 0.5564104319, -0.8027030826, 0.3514541984, 0.5370836854, 0.1987350136, 0.3011941314, -0.99564749, -0.2809082568, -0.4379352927, 0.0432071276, -0.2185941637, -0.4659247696, 0.5747178197, -0.4412300289, -0.3380106688, 0.0848632306, 0.6018375754, 0.240884468, 0.1853201538, 0.5496713519, 0.3987977803, 0.6306825876, -0.0411108769, 0.8847113252, -0.496160239, -0.2161399871, 1.1857391596, -0.5649459958, 0.8493767977, 0.4928232729, 0.2766638696, 0.4577632248, 0.5298663974, 0.2168193758, -0.0280194562, 0.3803627789, -0.6955782175, -0.5570390224, -0.7478165627, 0.0597662814, 0.3048301637, 0.9511973858, -0.1278232038, 0.2745532691, 0.2176796794, -0.2833242714, 0.1943478733, 0.1169500351, 1.1669278145, 0.0391740911, -0.8852393627, 0.8600809574, -0.3493428528, 0.4677666724, -0.5436903834, -0.4270020723, -0.351698786, -0.1384269446, -0.2712616026, -0.7909179926, 0.0374534242, 0.1314845234, -0.0005745076, -0.5750852823, 0.4091807008, -0.7029491067, -0.2656529248, 0.0583348982, 0.5573146343, 0.6209192872, 0.2528114617, -0.67015481, 0.4122068584, 0.1819959879, -0.1706663966, 0.1004364938, 0.5239933133, -0.0219103862, 1.0425965786, 0.5856224298, 0.1497621834, -0.2202865183, 0.1821836829, 0.967412293, -0.5529201031, -0.1614634097, -0.2173679769, 0.6517169476, -0.3948818445, -0.3670660257, 0.5672369599, 0.6143879294, 0.6740826368, 0.1821847856, 0.9558247924, 0.1517729908, 0.5604742169, -0.4807460904, 0.4210948348, -0.2973099053, 0.5565746427, -0.0560566299, -0.6574864984, 0.107580252, 0.4010690451, -0.1298542172, -0.1188618839, 0.2826466262, 1.0578066111, 0.0237153918, -0.1092258617, 0.7556993365, 0.4183508456, 0.6676089764, 0.7161554694, 0.9177888632, -0.1562134922, 0.5693539381, 0.0976225585, -0.1572272927, -0.4299773872, -0.5544366241, -0.8867968917, -0.8494767547, -0.262216121, -0.4000790417, 0.1338597238, 1.0858329535, 0.9897668958, -0.6448963881, -0.4500344396, -0.2239464372, 0.1406108141, 0.2025592774, -0.229052186, -0.0071209422, -0.4051678181, -1.0972160101, 0.7321612835, 0.3831357956, 0.2117468417, -0.5691393018, -0.1706204563, 0.250669241, 0.2948209941, 0.5761477947, 0.3332140148, -0.7408951521, -0.1087934449, -0.2165167183, -0.2883914709, 0.0352921635, 0.8622912765, -0.6686897278, 0.7879477739, 0.2829014957, 0.8713764548, 0.5774491429, 0.0777021796, 0.9466395974, -0.6789702177, 0.0861586034, 0.5382245779, 0.052163247, 0.5226899981, -0.3916394413, 0.317614615, 0.2254951149, -0.5911977291, -1.1563907862, 0.3675607443, -1.2897365093, -0.0917351097, 1.2050868273, -0.1189303324, -0.1402690113, -0.3339722753, -0.5918807983, -0.2498997152, -0.5037020445, 0.7143021226, 0.5592429638, -0.5401210189, -0.0215585083, -0.6913204789, 0.8367041349, 0.5416895747, -1.1088706255, 0.3670987189, 0.6838182211, 0.0838129073, 0.152605027, 0.7984332442, 0.226327613, 0.1456656605, 0.1229977831, 0.0785778463, -0.0983460546, -0.5526291132, -0.0606077462, 0.2861189246, 0.2424742579, -0.0257707965 ]
http://arxiv.org/abs/2403.00887v1
http://arxiv.org/pdf/2403.00887v1
SEGAA: A Unified Approach to Predicting Age, Gender, and Emotion in Speech
2024-03-01T11:28:37
2024-03-01T11:28:37
Aron R, Indra Sigicharla, Chirag Periwal, Mohanaprasad K, Nithya Darisini P S, Sourabh Tiwari, Shivani Arora
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
The interpretation of human voices holds importance across various applications. This study ventures into predicting age, gender, and emotion from vocal cues, a field with vast applications. Voice analysis tech advancements span domains, from improving customer interactions to enhancing healthcare and retail experiences. Discerning emotions aids mental health, while age and gender detection are vital in various contexts. Exploring deep learning models for these predictions involves comparing single, multi-output, and sequential models highlighted in this paper. Sourcing suitable data posed challenges, resulting in the amalgamation of the CREMA-D and EMO-DB datasets. Prior work showed promise in individual predictions, but limited research considered all three variables simultaneously. This paper identifies flaws in an individual model approach and advocates for our novel multi-output learning architecture Speech-based Emotion Gender and Age Analysis (SEGAA) model. The experiments suggest that Multi-output models perform comparably to individual models, efficiently capturing the intricate relationships between variables and speech inputs, all while achieving improved runtime.
[ -0.3371689022, -0.4670378864, 0.5922621489, 0.2393012494, 0.024656361, 0.1400970072, 0.1686552465, -0.4191335738, -0.1514249891, 0.3566096425, -1.064686656, -0.5780531764, -0.6069785357, -0.0972022861, -0.1209584475, 0.4212491214, 0.5046124458, 0.4830627143, 0.0909423307, -0.0177923404, -0.8110823035, -0.5371502638, -0.9788698554, -0.2794671953, 0.5046556592, 0.5955930948, 0.3016637266, 0.1048000678, 0.0199589469, 0.3781917691, -0.0025552877, 0.0631175786, -0.2817051411, 0.4327204823, 0.3924042284, -0.4235299528, -0.483089596, 0.1656566709, 0.4010405242, 0.8367995024, -0.3594070971, 0.0124360267, -0.1583581865, 1.0086320639, -0.5853249431, 0.4074045122, -0.5703314543, 0.3637377024, -0.0099620176, -0.0092124101, -0.3263069987, -0.3872249722, 0.3540482521, -0.2547188401, 0.1770091504, -0.3399415016, 0.3461683095, 0.3514870107, -0.650978446, -0.3906214237, -0.8706507087, 0.6269859672, -0.9235035777, 0.453332305, 0.0954592526, 0.4933587909, 0.0621611439, -0.4514238536, -0.3283515573, -0.0795237422, 0.2798328698, 0.4130607247, -0.4956093729, -0.0472437888, -0.101419948, 0.0445294604, -0.3846226335, 0.3375528753, -0.6387031674, 0.3645176589, 0.5682678223, 0.198260501, 0.4839044809, -0.2404363453, -0.2451412976, -0.2591694891, -0.4473979473, 0.1024490148, 0.6846998334, 0.6459060311, -0.227388978, 0.3527100384, -0.121485576, 0.1311379522, 0.370811671, 0.2686534524, 0.2903757393, 0.2701457143, -0.3909902871, 0.4502934515, 0.941208899, -0.1499189734, 0.1222737283, -0.069008559, 0.3500018716, 0.1085620597, 0.4983585775, -0.8180275559, 0.0383804105, 0.5055327415, -0.6211557388, -0.364664644, 0.1253530234, -1.3699442148, -0.7619592547, -0.5348249674, -0.0108883129, -0.396107465, -0.340721786, 0.060094811, 0.093014136, -0.2856891155, 0.2302442789, -0.8154656887, 0.2520782053, 0.5966961384, 0.4908326268, 0.104297705, -0.0586358719, -0.3283673823, -0.2146896571, -0.4618608952, 0.4445092976, -0.7127858996, -0.2904034853, -0.0796301588, -0.2502223253, -0.1495693028, -0.4120916128, 0.6214170456, -0.2295568287, 0.3902743161, -0.0018492142, -0.4002203047, -0.5433334708, -0.6823694706, -0.7978220582, 0.4690241814, 0.0140773002, -0.4420038462, 0.5629942417, -0.796359241, -0.1532411128, -0.0984329209, -0.1927359253, -0.4786942601, 0.6223750114, 0.3543577194, 0.68249017, -0.4013493955, 0.6874801517, -0.7106135488, -0.2341201305, 0.3751239181, -0.5701169372, 0.5709376931, 0.3797215223, -0.3630676568, 0.2009702772, -0.8719270825, -0.1459743232, 0.0874729306, 0.1121899039, -0.0753683597, 0.2377708852, -0.2184684277, 0.2926294208, -0.0198406707, -0.4617363214, -0.0995797217, -0.2163212299, 0.3156988323, 0.697479248, -0.2665017247, 0.3998098969, 0.22070463, 0.7911996245, 0.3216080666, 0.2149721682, 0.033135917, -0.513718307, -0.2843654454, -0.204910025, 0.0948023051, 0.44882828, -0.1214877144, 0.371858716, 0.0400990844, -0.8825598359, -0.8136402369, -0.090767473, 0.1342551112, 0.301023066, 0.0619171746, -0.3552674949, -0.9465884566, -0.8008372188, -0.1753498167, -0.3446294069, -0.0495456606, 0.5754256248, -0.0455013327, -0.2757570446, 0.643614471, -0.3700859249, -0.3544505835, -0.1606591493, 0.7124533653, 0.151173085, 0.3444215655, 0.4966490865, -0.5963488221, -0.135136649, -0.0695002675, -0.7295895219, -0.2645819783, -0.0140481004, 0.0770603865, -0.0388162248, 0.0846028477, -0.3724855185, 0.3526510596, 0.7755678296, -0.2864265144, 0.3432232738, -0.0281884167, 0.4437358379, -0.8500593305, -0.1086429656, 0.2995710075, 0.2779245079, -0.7815179229, -0.546556294, -0.0478118621, -0.6093403697, -0.4243967533, -0.0165798943, -0.2748839259, -0.4296156168, -0.3459511697, -0.2124151587, -0.1588018984, 0.5150709152, -0.0211940613, 0.7262047529, 0.4785600305, -0.4299089611, 0.3199926913, 0.1068009064, -0.1472436339, 0.6340963244, -0.5507748127, 0.5932086706, -0.5010388494, 0.231496349, -1.1334614754, -0.0974386558, 0.0791262314, -0.7842196226, 0.514028132, -0.0632446408, 0.0366079733, -0.2679967582, -0.1500787139, 0.1164955199, 0.4406438172, -0.414321363, 1.1052010059, 0.5538645983, -0.4769646823, -0.6580030918, -0.262008518, 0.0827475563, -0.5812478065, -0.5876240134, 0.0537081659, 0.0537298359, -0.111012578, -0.0811074078, -0.1039287373, -0.383354336, 0.3854295313, 0.6905652881, 0.2444520444, -0.4019808471, 0.2461243719, 0.2574909627, -0.1749422699, 0.3119163513, 0.2065831125, 0.5125394464, -0.1993856579, 0.0156039558, -0.6298010945, 0.7350791693, 0.8250118494, -0.0292822737, 0.6656314135, 0.9629227519, -0.4006115794, -0.0916136131, -0.3246653676, 0.0215177629, -0.4098674059, 0.4871817231, -0.4008494914, -0.4876191318, 0.4420343637, -0.3299970925, -0.2458110452, 0.6756336689, 0.5405468345, -0.3800849915, 1.5984910727, 0.5655339956, -0.1568088681, 0.5229996443, -0.1445908546, -0.0013322143, -0.9047830105, -0.3133465648, -0.8948639035, -0.3047449589, -0.4639399052, -0.0544909239, 0.1648250371, -0.1721183807, -0.5591005683, 0.0016138317, -0.3840361536, -0.1443528533, 0.4668741524, -0.0620577, -0.0657844841, -0.2178711146, 0.2717533708, -0.302464664, -0.5262100101, -0.5204929113, 0.9434199333, 0.5160089135, 0.8677290678, 0.1942499578, 0.5125914812, 0.3653972447, 0.2453040928, -0.6539282799, 0.2187436521, -0.7890780568, -0.6354012489, -0.1608957052, -0.7304850221, -1.1455619335, 0.3421290517, -0.1681586653, -1.0210050344, 0.6808746457, -0.174992308, -0.5009868741, 0.2531145215, -0.8674644232, 0.7878404856, -0.3945195973, -0.0264489893, -0.2111847997, -0.5988816023, 0.7207022905, -0.1519059241, 0.200842604, -0.5952983499, 0.136902377, 0.8182991147, 0.1842146963, 1.155018568, -0.3142890036, -0.2003981769, -0.0769315213, 0.0611959919, -0.2420448512, -0.0654363856, -0.0861878917, 0.4038234949, -0.0345657617, 0.1344060451, -0.5879856348, 0.7409473062, -1.1729048491, -0.2627406418, -0.4576508403, -0.598790884, -0.5259664059, -0.2879334688, -0.0925416723, 0.4874221981, -0.3498002589, 0.1675553918, 0.4036977887, -0.5502897501, 0.1686411202, 0.4404069483, -0.0684178919, -0.5741640925, 0.57028687, -0.045028694, 0.1325825155, 0.0909117982, 0.4968655109, -0.4574395716, -0.0478092991, -0.4936318994, 0.1104002744, -0.6750198007, -0.0504381694, -0.6846624017, 0.0084765777, -0.6403793693, 0.2694983482, -0.604406774, -0.033955887, -0.7413338423, 0.0001062305, 0.0784643888, 0.9713719487, -0.0937783197, 0.2592377067, -0.8808566332, 0.5063839555, 0.5550686121, 0.1131854504, 0.2718009949, -0.0925456733, 0.2847003639, 0.0951160416, -0.3874285221, -1.4847557545, 0.8165879846, 0.4023403823, 0.3683867455, 0.5849033594, -0.1868940145, 0.6103218794, -0.3210194111, 0.6883593202, 0.3824496269, -1.1976312399, 0.6965959072, -0.0723214522, 0.1385827065, 0.4957331717, 0.3811217248, -0.7782883048, 0.1310151219, -0.7743996978, -0.8000573516, 0.7958881855, -0.0506993905, 0.0742268488, 0.2704093754, 0.1896375865, 0.5210608244, 0.3156184852, -0.0697697625, -0.3402644396, -0.170824945, -0.6043561101, -0.0939143896, -0.2070396543, 0.1897847354, -0.0846237615, 0.657971561, -0.24137263, 0.5891165733, -0.1237203479, 0.1075644791, -0.5161908269, 0.4817847908, 0.4511837065, 0.5404301882, -0.4820460975, -0.039685268, 0.0726345703, -0.2372646332, 0.2757507861, 0.0714242235, 0.2145620137, 0.0531934351, 0.1192529723, 1.2905350924, 0.3479222953, -0.5563216805, 0.1797711104, -0.4246551096, 0.1200513616, -0.3547998965, -0.1498014033, 0.2690305412, 0.3639914095, 0.5044060349, 0.1372495741, 0.4976237118, -0.9164200425, 0.0551069528, 0.1567522734, -0.7971031666, -0.2947053611, 0.8010225296, 0.1505583972, -0.1491238326, 0.6893453598, 0.2163799852, -0.5673635006, 1.0346579552, 0.2996719778, 1.2485269308, -0.5685667992, 0.4433210194, 0.3939664662, 0.0107644424, 0.264882952, 0.3430364132, 0.2632607222, -0.6242044568, -0.393316865, -0.199557662, -0.5217576027, 0.1478040367, -0.9934992194, 0.0425722972, -0.1930081099, -0.4267824292, 0.2308104634, 0.2053022683, -0.9841122031, 0.3762177527, 0.7876853347, 0.2242626846, -1.1552120447, 0.4815161824, 0.3174182773, -0.3870160282, -0.841011405, -0.3623645902, 0.2391484231, -0.6328098178, 0.932279408, 0.2644399703, -0.1526897252, -0.2444288135, -0.4414812326, -0.6977246404, 0.9886034131, 0.5281882286, -0.7018666267, 0.006994253, -0.1003228277, 0.4553991854, -0.6893821359, 0.4528465569, 0.7581318617, 0.4231577814, -0.0202744827, -0.4744263291, -0.1678991467, -0.1201526225, 0.0179429762, -0.0876574069, -0.3668872118, 1.0242533684, -0.1893862486, -0.4612594843, 0.0778668523, 0.9197580218, 0.4003587365, 0.6024375558, 0.7112281322, 0.3805415928, 0.9291425347, -0.1326563358, 0.9572049379, 0.207656458, 0.1660479307, 1.167792201, -0.462471962, 0.6608269215, -0.013431292, -0.4596028924, 0.5678647161, 0.6798359156, 0.1688310802, 0.4891789854, 0.1789675802, 0.0235862732, -0.0803620815, -0.151862964, -0.3975511193, 0.8036338091, 0.5415773988, -0.387368679, 0.0932017863, 0.1666914821, 0.0259634946, -0.3183068037, -0.0797387362, 0.928839922, 0.2208052427, -0.373282969, -0.010418402, -0.3005312383, 0.555295229, -0.5421420336, -0.1742483228, -0.0530853719, 0.0958379954, -0.0235949084, -0.4219963253, 0.0695492551, 0.0264066793, -0.056722369, 0.1492180973, 0.7365938425, -0.5384189487, -0.6343343854, 0.5252500176, 0.7361820936, 0.1553716809, -0.2765126824, -0.9056036472, 0.1338262856, -0.2216629237, -0.0652492493, 0.1886817664, 0.6046680808, 0.439966917, 0.5843743682, 0.5909743309, 0.2008786201, 0.2131339908, 0.4764424264, 0.2047070414, -0.6043646336, -0.4139043391, -0.5610353351, 0.3522818685, -0.0164460186, -0.4493388236, 0.2189641744, 0.1122792363, 0.112931706, -0.1067694351, 0.725469768, 0.2206732929, 0.4375937581, -0.3102325797, 0.6891815066, -0.4540188313, -0.0642311648, -0.4781730473, -0.7051633596, 0.1690006703, 0.5382987261, -0.0597384237, 0.3498302698, 0.552613914, 0.237468034, 0.1427581906, 0.5192540884, 0.2963754535, 0.1661295891, 0.4005289078, 0.7894529104, 0.9994354248, -0.3386084139, 0.0918565691, -0.5005879402, 0.0242004637, -0.2009164244, -0.8149939179, -0.338588953, -0.7486709952, -0.3124333918, -0.0527319871, -0.0943103507, 0.8132641912, 0.9006401896, -0.7682000399, -0.2958770692, 0.2959940732, -0.1654999256, -0.6060192585, -0.1951219141, 0.3585597873, -0.2170163095, -0.9922395945, 0.7578538656, 0.0665885583, -0.1553546637, -0.5099188089, -0.002812101, 0.0029837044, 0.3090295792, 0.397134304, 0.0362838097, -0.771235168, -0.1741938889, -0.2365988791, 0.0505422242, 0.1496143639, 0.8691516519, -0.8508054614, 0.475140214, 0.3766829073, 0.5492805839, 0.3986830711, -0.0108398963, 0.9753956199, -0.5943059325, -0.3352799416, 0.3406943381, 0.6427742243, 0.4851461053, -0.5911309719, 0.6435844302, -0.1751698405, -0.351878196, -0.6435848475, 0.0408941209, -1.2226510048, -0.3861688077, 0.6695938706, -0.1346957237, -0.205233708, 0.0512105227, -0.4034430981, 0.7633563876, -0.7713739872, 0.8932170272, 0.5581024289, 0.0162437353, -0.3413962722, -0.7208459377, 0.0668994635, 0.4455200732, -1.1017662287, -0.0208271053, 0.5145812631, 0.0050727399, 0.0173164308, 0.2660671771, -0.1437432766, 0.3360859752, -0.0625090897, 0.2735338211, 0.0602854639, -0.4826750457, -0.8174256086, 0.5892128348, -0.4545077085, -0.2941396832 ]
http://arxiv.org/abs/2403.00438v1
http://arxiv.org/pdf/2403.00438v1
Your Model Is Not Predicting Depression Well And That Is Why: A Case Study of PRIMATE Dataset
2024-03-01T10:47:02
2024-03-01T10:47:02
Kirill Milintsevich, Kairit Sirts, Gaël Dias
cs.CL
cs.CL
This paper addresses the quality of annotations in mental health datasets used for NLP-based depression level estimation from social media texts. While previous research relies on social media-based datasets annotated with binary categories, i.e. depressed or non-depressed, recent datasets such as D2S and PRIMATE aim for nuanced annotations using PHQ-9 symptoms. However, most of these datasets rely on crowd workers without the domain knowledge for annotation. Focusing on the PRIMATE dataset, our study reveals concerns regarding annotation validity, particularly for the lack of interest or pleasure symptom. Through reannotation by a mental health professional, we introduce finer labels and textual spans as evidence, identifying a notable number of false positives. Our refined annotations, to be released under a Data Use Agreement, offer a higher-quality test set for anhedonia detection. This study underscores the necessity of addressing annotation quality issues in mental health datasets, advocating for improved methodologies to enhance NLP model reliability in mental health assessments.
[ -0.3727041185, -0.5993553996, 0.4389827549, 0.703881979, -0.4200753272, -0.014786738, -0.0141060231, -0.571459353, 0.5757035613, 0.2492558509, -0.5550664067, -0.6236698627, -0.9390249252, 0.4675841928, -0.5115594864, 1.128324151, 0.1451879442, -0.1426263601, -0.2965905964, -0.1808992922, -0.3313517869, -0.5941642523, -0.8012242913, -0.2549314499, 0.3811765015, 0.2704630196, 1.1042188406, 0.291549921, 0.7008268833, 0.0040238029, -0.514836669, 0.2480713278, -0.5871116519, -0.1149048805, 0.021087613, -0.1951093376, -0.48072806, 0.2630752921, -0.0421611331, 0.6191484332, -0.0300663449, 0.3349984288, -0.0328874402, 0.4041001797, -0.5784380436, -0.0262895282, -0.142318055, 0.5338691473, -0.2387367636, 0.0861940905, -0.0739462376, -0.3300808668, -0.0677359477, -0.5967985988, 0.2234445959, -0.0785450488, 0.9227970243, 0.8352419138, -0.2643003464, -0.2043034285, -0.5193795562, 0.6128070951, -1.1048755646, -0.16526483, 1.300467968, 0.1387995929, -0.1352117062, -0.3665546775, -0.4128052592, -0.2048930675, -0.3080760539, 0.0870553628, -0.0250547156, -0.2675747871, 0.6134083867, 0.5462384224, -0.3994206488, 0.0735845491, -0.3877596259, -0.2607939839, 0.9659867883, 0.1593180746, 0.3806953728, -0.6201018095, -0.0975309908, 0.4810785055, -0.1582624465, 0.2890900373, 0.1849012077, 0.0642336756, -0.4253343642, 0.7860404849, 0.0390448868, 0.4892778993, -0.0974912345, -0.2051579505, 0.2741777003, -0.0322656929, -0.1028669402, -0.060455855, 0.8132830262, 0.7479888201, 0.2787109315, -0.1394491643, -0.2452904433, 0.1740314066, 0.6057339311, -0.572222054, -0.6592901945, 0.6188984513, -0.6884443164, -0.2525762916, -0.3739396632, -0.7121768594, -0.7601341605, -0.209209308, 0.2282457054, -0.4963654876, -0.4751806855, 0.0479612164, -0.1545990407, -0.5844182968, 0.4561200738, -0.8094418049, 0.2908564806, 0.5472695231, 1.146966815, -0.036922235, 0.0280520581, -0.0148679344, -0.266734153, -0.6475865245, 0.7438727021, -0.3484355509, -0.3616612554, -0.1997225434, 0.2910363674, 0.0021930339, -0.4809829891, 0.8014977574, 0.1420795321, 0.3297320008, -0.4700033367, -0.4964330792, -0.2639908493, 0.2357967049, -0.7538291812, 1.0046005249, 0.3650467098, -1.3497799635, 0.2965899706, -0.4412698448, -0.4935960472, -0.0133738806, -0.069900468, -0.3956636786, 0.2404174656, 0.2661078274, 0.6025149822, 0.0238774326, 0.4360111058, -0.8449058533, -0.4174605012, 0.4712355733, -0.031102879, 0.9167464375, -0.1116694286, 0.0072340509, -0.3616906404, -0.8156306148, -0.365609169, -0.1270048469, -0.2115918398, -0.4500634372, 0.2607853413, 0.1326144785, 0.4682774544, 0.0665881261, -0.6970005035, 0.0289361533, -0.1218434423, 0.6655387878, 0.3545169532, 0.1341254562, -0.1577697843, -0.3431598544, 0.40481776, -0.0060159583, 0.3165224791, 0.2822645009, -0.873241663, -0.0547424965, -0.5886767507, 0.4249127805, 0.4920284152, -0.4101343155, 0.6288998723, 0.1463667154, -0.5557587743, -0.5856489539, -0.1240729243, -0.0310737714, 0.663025856, 0.6971263885, -0.48830989, -0.4404049814, -0.8641270995, 0.1801742762, -0.2073311061, -0.1340222061, 0.1431009024, 0.5405170918, -0.4397526085, 0.8315628767, -0.2124660909, -0.4463703334, -0.0210729148, 0.5082189441, 0.1859449148, 0.5012501478, 0.5677843094, -0.7205756903, -0.0526212193, -0.374547869, -1.008204937, 0.0167505816, -0.0785002708, -0.1063332558, -0.0888486728, -0.3422490954, -0.6391109228, 0.7112308741, 0.5695769191, -0.2425666898, 0.5220025778, 0.1161642894, 0.0834436789, -0.7711132169, 0.1842986494, 0.2854788601, -0.0394792072, -0.5269031525, -0.7788302302, -0.017658066, -0.226255253, 0.0053386623, 0.2080409676, 0.1868181676, 0.1186967194, -0.4773541093, 0.1311935782, 0.2119124234, 0.1680627912, 0.0962237641, 0.3729446828, 0.6787543297, -0.4288302958, 0.1924171001, 0.6991940737, -0.1210495532, 0.5319814682, -0.5701851249, -0.2311545163, -0.166875869, 0.1948650181, -0.8958904147, -0.4644570053, 0.4371373057, -0.6369922161, 0.0706010461, 0.2688532472, -0.3305497766, -0.4751902819, -0.2274578512, 0.3294997215, -0.0100100413, -0.2700381875, 0.0821857378, 0.4514116347, -0.1153909937, -0.6371575594, -0.9157317281, 0.2784132659, -0.4174272716, -0.4691022038, 0.4393522739, 0.3178378046, -0.2078882903, 0.1222916096, -0.2635456026, -0.3308210671, 0.5469321609, 0.4809243977, 0.0229199808, 0.1211490929, 0.5263311863, -0.0470865406, -0.1315815151, 0.3050379157, 0.565634191, 0.0583133996, 0.5278126001, 0.0979766548, -0.9462606907, 0.274515301, 0.3042447567, 0.0648390055, 0.6844448447, 0.569734633, -0.9952189326, 0.0239737108, -0.3139863908, -0.1165854186, -0.2509226501, -0.0344788209, -0.0382632501, -0.5709087253, 0.7003263235, 0.0664332658, -0.0486844406, 0.4134589434, 0.1035337895, -0.2267912477, 1.2935011387, 0.8040101528, -0.2267751396, 0.1505129635, -0.1746368855, 0.3660106361, -0.7997857332, 0.0203597043, -0.3241477311, -0.2448429316, -0.6560377479, -0.0178914517, -0.174121052, 0.439712435, -0.2912807465, 0.389490813, -0.6647529602, -0.2677861154, 0.2292357534, 0.3669632971, 0.2224152982, -0.1886585057, 0.385699451, -0.4146214724, -0.4412202239, -0.8922807574, 0.7566350698, 0.5341756344, 0.5621342063, -0.0295156538, 0.4787272215, 0.7564900517, 0.5180596113, -0.525537312, 0.1200972199, -0.366463542, -0.7620093226, -0.3635634184, -0.5231109858, -0.6232609749, -0.0568547025, -0.3724584877, -1.0929095745, 0.6287670135, 0.0592379309, -0.7834284902, -0.039806325, -0.3930335641, 1.0329494476, -0.1915747076, 0.0731562376, -0.0283199251, -0.6196275949, 0.7138596773, -0.3608900011, 0.2764127553, -0.8982664347, 0.047851488, 0.9785932899, -0.4550253451, 0.7808101177, -0.0986129045, 0.083352536, 0.2061840594, 0.0802323893, -0.0378465466, 0.5447713733, -0.5386395454, 0.2915454805, 0.3660788536, -0.5499402285, -0.3339887559, 0.2182616144, -0.9737312794, -0.4286421537, -0.2659160793, -0.2627004683, -0.1043254808, -0.1336791962, 0.3221173584, 0.3984456956, 0.0891734734, -0.107969366, 0.0337939523, -0.4116114974, 0.2181252986, 0.0055114417, -0.0865020975, -0.6993530989, 0.7356009483, 0.3168608546, -0.0326269008, -0.0963057578, 0.1183925867, -0.0584384203, -0.2891180217, -0.2869943678, 0.3964151442, -0.5797299743, -0.3220252097, -0.6736956835, -0.0766198635, -0.6507537961, 0.1224976182, -0.394490093, -0.6871460676, -0.5867573619, -0.3459113836, 0.6376101971, 0.7793409824, -0.4729478061, 0.2050947547, -0.4847995639, 0.5470082164, -0.1612264961, 0.2250319123, 0.0874816254, -0.4696341157, -0.3475942612, 0.1859522313, -0.4261275232, -1.0929175615, 0.8121221066, 0.1036114767, 0.3349469006, 0.6049039364, 0.5591318011, 0.7857524753, 0.1131824479, 0.8523607254, 0.0855945647, -1.0712912083, 0.7642646432, 0.0197501704, -0.0941851065, 0.6682133079, 1.076920867, -0.8400180936, -0.5605467558, -0.6609783769, -0.8937542439, 0.7736368775, 0.3985940516, 0.0156133464, -0.2876341045, 0.755854547, 0.3366093934, 0.2942710519, -0.7855175734, -0.3357082009, -0.8069508672, -0.0866442248, -0.3575411439, -0.4239056706, -0.0286582261, -0.2195311487, 0.642221868, -0.0251444038, 0.2255496383, 0.4064719975, 0.2504297495, -0.3653047681, -0.3174214661, 0.2469798774, 0.8436759114, -0.5722932816, 0.2989905477, -0.0538478158, -0.4493501186, -0.0377600826, 0.2606739998, -0.2000181973, 0.3495304883, 0.5667586327, 0.6267149448, -0.1318769157, -0.4975106418, 0.4971796274, -0.1172970608, -0.0331067927, -0.3287624717, -0.0573477373, 0.1578859389, 0.026828276, 0.2586356103, -0.1161325201, 0.4086856246, -0.2198443115, 0.0532547012, 0.1183867902, -0.6322355866, -0.5330986977, 0.5960134268, -0.0576961339, -0.5291897058, 0.8213712573, -0.1507608145, -0.2369778603, 0.6511986256, 0.0982524157, 0.4006747603, -0.1187848598, 0.5894209146, 0.6346578002, 0.3814871907, -0.3932024837, 0.3084615171, 0.1468318552, -0.4737606049, -0.4460658431, -0.6269723177, -0.5797698498, 0.3456186056, -0.7900600433, 0.3222819865, -0.4354617894, -0.8696398735, 0.0976701304, 0.0618338324, -0.2466110587, 0.6643587351, 0.3250998855, 0.7210068107, -1.1488126516, 0.4880338907, 0.5871835351, -0.7347747087, -0.4541120231, 0.1896984577, -0.0507046841, -0.2769479752, 0.4011695385, 0.7215261459, 0.5252434015, -0.3494282961, -0.5690861344, -1.0507310629, 0.9229687452, 0.2746094465, -0.1422507018, 0.228262797, 0.2363333255, 0.7821544409, -0.3980595469, 0.3088851273, 0.2315737307, 0.3907815516, -0.0714643076, -0.7753642201, 0.1906895936, -0.3420680165, 0.0761626288, -0.2353108376, -0.337385118, 0.8082885742, -0.2239273787, -0.5538780093, 0.0619826689, 0.4303235114, 0.0359324962, 0.5474581718, 0.2851650119, 0.8214499354, 0.9259819984, 0.1194653809, 0.9167096615, -0.1178306863, 0.6148594022, 0.9900159836, -0.2980313003, 0.9572854638, 0.0613624491, -0.1202427968, 0.2411395609, 1.5034818649, -0.1443710923, 0.4985106885, 0.3377870619, -0.0631714761, -0.5561063886, -0.2878299654, -0.3195528984, 0.0429414921, 0.5420206189, -0.5757958889, -0.1779046506, 0.1809110641, -0.1264658421, -0.1222103611, -0.0635476038, 0.6401321888, 0.3798532784, -0.1087097675, 0.6542206407, -0.1075664684, 0.453815043, 0.2068232149, 0.0848665759, -0.3719712794, -0.1558026969, -0.6244193316, -0.6378270388, 0.7142233253, -0.0356033221, -0.3383243084, 0.0837304145, 0.616922915, -0.0495436639, -0.6136368513, 0.449193269, 0.590796411, 0.6120875478, -0.1419582963, -0.8409895301, -0.3088988662, -0.2876239717, -0.2651484013, 0.1233170927, 0.7840707898, -0.1793277115, 0.7330628633, 0.300729543, 0.0567132086, -0.4201365411, -0.0181810204, 0.6411970258, -0.74175632, -0.1217276305, -0.7685700059, 0.3751570582, -0.227666989, -0.6431392431, 0.5934507251, 0.2955440581, 0.5313263535, 0.3154643476, 0.6766932607, -0.1631579995, 0.7816014886, 0.0456954837, 0.6822013259, -0.6416683197, 0.0980654135, -0.0382479057, -0.6917827725, -0.5777036548, 0.8866975904, -0.6458291411, -0.156460464, 0.480155021, 0.5649086237, 0.0824942142, 0.5113630891, 0.3002998531, 0.4407614172, 0.0866767615, 0.2641158998, 1.0283516645, -0.1430371404, -0.0297549963, -0.9297656417, -0.1894290298, -0.0693123415, -0.8148332238, -0.9968627095, -0.2750805616, -0.8145403266, -0.3841684461, 0.2269919366, 0.7321049571, 0.4917453527, -0.7326876521, -0.0221300665, 0.1580570638, 0.0625439957, -0.4609731138, -0.2199430168, 0.4431868494, -0.3822860122, -0.1249061003, -0.2599921227, 0.1579153091, 0.0356130786, -0.2543905377, 0.3284143209, -0.3012313843, -0.3468898237, 0.305785954, 0.0973852426, -0.6235004663, -0.2951724529, -0.3654655218, -0.2277031392, 0.2192152143, 0.1543307304, -0.4535634518, 0.0307829026, 0.1190924793, 0.2740787864, 0.1565114409, 0.3495393693, 0.3554981649, -0.3115488291, -0.3583446145, 0.4299982786, 0.3457339704, 0.7870745659, -0.7165851593, 0.742708087, 0.3077860177, -0.6361439228, -0.7568845153, -0.2828363776, -0.8912953138, -0.2943287194, 0.9882840514, -0.683776319, -0.4374787211, -0.5069768429, -0.2911512554, 0.2396231592, -0.4710049033, 1.5465033054, 0.8014038205, -0.5205177069, 0.1256682128, -0.8461869955, 0.7623946071, 0.3155625165, -0.6008453965, 0.2724484205, 0.3547101021, -0.0687001124, 0.3893131912, 0.5516090989, 0.1638682187, 0.3234607577, -0.0743175521, 0.2139447629, 0.1686744839, 0.1388637871, -0.2531288266, 0.110264048, -0.0438216254, 0.0217858609 ]
http://arxiv.org/abs/2403.00435v1
http://arxiv.org/pdf/2403.00435v1
Hierarchical Indexing for Retrieval-Augmented Opinion Summarization
2024-03-01T10:38:07
2024-03-01T10:38:07
Tom Hosking, Hao Tang, Mirella Lapata
cs.CL
cs.CL
We propose a method for unsupervised abstractive opinion summarization, that combines the attributability and scalability of extractive approaches with the coherence and fluency of Large Language Models (LLMs). Our method, HIRO, learns an index structure that maps sentences to a path through a semantically organized discrete hierarchy. At inference time, we populate the index and use it to identify and retrieve clusters of sentences containing popular opinions from input reviews. Then, we use a pretrained LLM to generate a readable summary that is grounded in these extracted evidential clusters. The modularity of our approach allows us to evaluate its efficacy at each stage. We show that HIRO learns an encoding space that is more semantically structured than prior work, and generates summaries that are more representative of the opinions in the input reviews. Human evaluation confirms that HIRO generates more coherent, detailed and accurate summaries that are significantly preferred by annotators compared to prior work.
[ -0.3341178894, -0.5790787339, 0.4815954864, -0.0719758198, -0.2748208642, 0.2852658033, -0.0941156745, -0.5235705972, 0.7530514002, 0.3816067874, 0.038126938, -0.5947233438, -0.4743004739, 0.0642287135, -0.3811567128, 1.4233350754, 0.2224120945, -0.2511506081, -0.1480812728, -0.0354561582, 0.2433053255, -0.6442424655, -0.1899749041, -0.4440841675, 0.5827608109, 0.4403912425, 0.7407939434, 0.5407534242, 0.540228188, 0.2795891762, -0.3407402039, 0.2387445569, -0.5665248632, 0.0234197062, -0.0960499048, -0.4591941535, -0.7567248344, -0.01233075, 0.7347072363, 0.8530094028, -0.3149074614, 0.1177695021, 0.1005023792, 0.9198586345, -0.7374313474, 0.1219790876, -0.5787528157, 0.110899128, -0.0794922039, -0.3379144073, -0.2155388594, -0.5811960101, 0.2899830639, -0.6169040799, 0.0693233237, 0.16332376, 0.5641009212, -0.0599217042, -0.3222673237, -0.3620007038, -0.6504299045, 0.9239982367, -0.6393683553, -0.0413433947, 0.1457402706, 0.2649410963, 0.1660260707, -0.5912181735, -0.3558315039, 0.224968791, -0.1558753252, 0.5534804463, -0.1447052807, 0.0969856232, -0.2254046649, 0.9039456248, -0.3584900796, -0.0610124618, -0.2580795288, 0.0493476689, 0.5482466221, 0.1041587219, 0.0530809313, -0.7096678019, -0.2986643016, -0.0269285832, -0.7487133145, 0.1039807051, 0.3764276206, 0.0156684294, 0.2132420242, 0.7039060593, -0.5434054136, 0.1586400568, 0.2738398612, -0.3077552319, 0.5405440331, -0.3461407423, -0.1198704988, 0.1025748923, 0.8622282743, 0.5307562351, 0.0363408923, -0.1149051487, -0.3758188188, -0.1194378957, 0.3230547011, -0.7896935344, -0.0494414493, 0.2844945788, -0.6952004433, -0.5878894925, 0.3812035024, -1.0468137264, -0.2162353545, -0.0903479978, 0.4094102979, -0.0289966576, -0.1360759586, -0.009413884, -0.3306863308, -0.075077571, 0.3140559196, -1.1141747236, 0.4602174163, 0.8408948183, 0.6841192245, -0.4374591112, -0.2785187364, -0.359611541, 0.1939091384, -0.4641842246, 1.0839782953, -0.6090014577, -0.5096398592, 0.0410513282, -0.1966696233, 0.0575348884, -0.8288260102, 0.1222715527, -0.6108321548, 0.2402740866, -0.0882676393, -0.3681155741, -0.263435483, 0.4243899584, -0.4348460734, 1.1913734674, 0.0289138611, -0.9291069508, 0.2638129294, -0.6741600633, -0.6004732847, -0.0689303279, -0.1858666986, -0.3203690946, 0.3667292893, 0.5116356611, 0.3778289855, 0.0461004935, 0.0930522829, -0.0048936009, -0.3749783635, -0.1480233222, 0.113085106, 0.3302040994, 0.1571628451, -0.1089366674, 0.4496513307, -0.6469413042, -0.1350077242, -0.2879563868, -0.5181974173, -0.6123618484, 0.226446569, -0.1631743908, -0.1133102328, 0.5318222642, -0.5434747338, 0.0756854638, -0.8948807716, 0.3330935538, 0.6491655707, 0.5125954151, 0.555945158, -0.1958046108, 0.3430216014, 0.2586064041, 0.11356657, -0.3979038596, -0.2193551511, -0.6606487036, -0.2743732333, 0.1111181751, 0.4145469666, -0.5282476544, 0.715362072, -0.3233006001, -0.3944729865, -0.6770213842, 0.0065127425, 0.3854576945, 0.5280048847, 0.3780228496, -0.4749771953, -0.6169400215, -1.0215901136, -0.2125083804, -0.5060793161, 0.0475075841, 0.1871887445, 0.858751893, -0.2701174617, 0.8276370764, -0.5524466038, -0.0556355789, -0.3857014179, 0.7464603186, 0.3599263132, 0.1787713468, 0.2295323163, -0.5242001414, -0.2895291746, 0.2503886223, -0.8261024356, 0.1735544652, 0.1563374847, -0.0900056511, -0.070400767, 0.3344652355, -0.3220784366, 0.2370065898, 0.0118208081, 0.3372788727, 0.4173729718, -0.3106443882, 0.4559887052, -1.3547948599, 0.1091489941, -0.1466017962, -0.2425585836, -0.1844778508, 0.2084812224, -0.2500127256, -0.0115631577, -0.2579448819, 0.1213326007, -0.3819583952, -0.3417160809, -0.435547024, 0.162227422, 0.0012900407, 0.6401536465, 0.1788861752, 0.7332474589, 0.1418011039, -0.3588233292, 0.097487554, 0.3441863954, -0.6829442382, 0.3781405091, -0.9525328279, 0.061059311, -0.3951873779, 0.1796359718, -0.9340248108, -0.4244607985, -0.280844003, -0.3359728158, -0.0360300541, 0.0533627309, -0.4456867278, -0.1642100364, -0.881275773, 0.2142873704, 0.5992023349, -0.6622034907, 0.3530629873, 0.9140449762, -0.437100172, -0.7901470065, -0.2722843587, 0.0637230575, -0.1873810738, -0.1189228669, 0.4427793324, 0.050186336, -0.4811567068, -0.0077731386, -0.0249299966, -0.0341286734, 0.1090606377, 0.135753274, 0.2281682491, -0.1864056736, -0.1250375956, 0.2127358913, -0.0440267548, 0.122575596, 0.1237399727, 0.1369216591, -0.443225652, 0.1174171343, -0.1911706477, 0.7512406111, 0.7103857398, -0.2176006883, 0.3312246203, 0.1564252377, -0.4364847243, -0.0578555204, -0.3622873724, 0.023608597, -0.3341238499, 0.6369935274, -0.1618082225, -0.8983356357, 0.5341361761, -0.0807756409, 0.309553057, 0.7415201068, 0.7593467236, -0.4777281284, 1.2977164984, 0.6926292181, -0.4702343345, 0.5511578918, -0.2956343293, 0.2868537605, -0.9753732085, -0.1553684473, -0.5667000413, -0.2426227927, -0.4709975123, 0.0046197316, 0.901705265, 0.0981016085, 0.043160066, -0.1283444017, -0.2383677959, 0.7316887379, 0.3962062001, 0.0724732503, 0.5718724132, 0.1766734719, -0.0241611823, 0.0158449356, -0.491638422, -0.5498342514, 0.8290472627, 0.2116042972, 0.7032018304, 0.0683685765, 0.8223460913, 0.3526019752, 0.4045059681, -1.0521985292, 0.4623959064, -0.0888925567, -0.4233368635, -0.1801880598, -0.3039465845, -0.8623232245, 0.5521999002, -0.403527081, -0.5583791733, 0.4006971121, 0.0005778616, -0.4704597592, 0.1335104555, -0.4453468323, 0.5746765733, 0.144730106, -0.0632622689, -0.6127435565, -0.8013588786, 0.4447877705, 0.0556863435, 0.2057224214, 0.3036369383, -0.0183205865, 1.064261198, -0.6624646187, 0.7580289245, 0.1750982106, 0.1967984736, 0.1949547678, -0.2297964394, 0.0893890187, 0.0164396092, -0.2174420059, 0.0839134157, -0.0233911332, -0.1962314397, -0.8056682348, 0.5866258144, -0.9386755228, -0.6018601656, -0.5334079862, -0.4967360198, -0.2390766144, 0.3507334292, 0.2369289398, 0.6338627934, -0.418664217, 0.3687015176, 0.6025074124, 0.1409237534, 0.4026493728, 0.2920942008, -0.2457078248, -0.7667079568, 0.6888669133, 0.1748879999, -0.0632791892, 0.769115448, 0.4509858191, -0.2178057283, -0.7035775185, -0.3088603318, 0.1990078837, -0.6346503496, -0.0099596363, -0.6270458102, -0.1031124964, -0.2251555473, -0.0596918538, -0.2693408132, -0.6798166633, 0.1103929356, -0.2644108236, 0.0965269879, 1.151715517, 0.0570531599, 0.3158620596, -0.7272335887, 0.3555336595, 0.3021739721, 0.1291821599, 0.2234975696, -0.4499319494, -0.6538582444, -0.2456479222, -0.2338990718, -0.6318312287, 0.4722879529, 0.1814268976, 0.3609443605, 0.4677968323, 0.1224604174, 0.8678343296, -0.4815931022, 0.8006942272, 0.1382558495, -0.6867633462, 0.8061916828, -0.3595719039, 0.3916524649, 0.878785491, 0.6037454605, -0.1897231936, -0.4047192633, -0.5001408458, -0.909609139, 0.19637312, -0.1982175261, -0.1444342285, -0.3882411718, 0.3550594747, 0.4084605575, 0.5947816372, -0.3776248693, 0.0445569977, -0.0644769743, -0.3635272086, -0.1124583706, -0.6469060779, -0.1650206894, -0.2655471861, 0.6264346242, -0.0520870462, -0.0410331972, 0.3671774566, -0.3089955449, -0.1446039677, 0.484229058, 0.0255149752, 0.837927103, -0.4638308585, 0.4061188698, -0.1670562774, -0.5228605866, -0.2146594971, -0.3613846898, -0.3133591115, -0.0021354384, 0.5337952375, 0.5279294848, 0.4684384763, -0.4403921068, 0.6049544811, -0.005440332, -0.1124829724, -0.0857542232, -0.1685488224, -0.2652088106, 0.0441259369, 0.3830870986, 0.224795118, 0.655033052, -1.1004678011, 0.0822296813, 0.3607821465, -0.2618462145, -0.5538651347, 0.3124603927, 0.3684031963, -0.0036913888, 0.3709585071, 0.2025348246, -0.5106835961, 0.2295817137, 0.4372462928, 1.056840539, -0.0070464774, 0.0712698698, 0.4048219025, 0.0972515568, -0.1310454756, 0.182945773, -0.4338208139, -0.4944345653, -0.4886282384, -0.5965931416, -0.7011790872, -0.2750455737, -0.946667254, -0.3387173712, -0.3065627813, 0.1337328851, 0.1879671663, 0.0518937707, 0.1494175941, 0.1366724074, -0.2921020091, 0.4869562984, -0.8089091778, 0.4451617897, 0.776932478, -0.4454756379, -0.2703299522, 0.1529536843, -0.2353516668, -0.5840344429, 0.2476807982, -0.0147117637, -0.5112134218, -0.1465880275, -0.438511312, -0.5800334811, 0.8568238616, -0.0890459493, -0.1910187304, -0.0788845792, -0.2665021718, 0.7629160881, -0.6079018116, 0.4177287817, 0.4842719436, 0.0404975116, 0.0968934223, -0.6458926797, -0.3770612478, -0.5465709567, -0.140086025, 0.2013086379, -0.4642285407, 0.5875658393, -0.3336578012, -0.1535983384, 0.0857008994, 1.0205504894, 0.1121022031, 0.2092448473, 0.5127695203, 0.4589419365, 0.9721198082, 0.116842635, 1.19267869, -0.2258658558, 0.2371492535, 1.0450236797, -0.1241157353, 1.5163321495, 0.4949988723, -0.0268301703, 0.8447456956, 0.6012687683, 0.4718795121, 0.5735398531, -0.1561923623, -0.1392301321, -0.0362171717, -0.2405230105, -0.2695542872, 0.2345728427, 0.1501748413, -0.1117438823, -0.1408832371, -0.2973994911, -0.0277098902, 0.2758635879, -0.6534410119, 1.135043025, 0.080795601, -0.8566893339, 0.3747880459, -0.0913996026, 0.7195678949, -0.4609359801, -0.170464918, -0.2206947356, 0.1400431693, -0.534306109, -0.7782235146, 0.4222379625, 0.2853786647, -0.6372722387, -0.2431233823, 0.3793732822, -0.3887760937, -0.4954487979, -0.1091114208, 0.6068494916, 0.3698535562, 0.2001895905, -0.2232198417, -0.3491189778, -0.2608380914, -0.3763613999, 0.4027216434, 0.2324482352, -0.2334922105, 0.153837055, 0.3906003833, 0.1048280001, -0.3185571134, 0.3414718509, 0.6762014031, -0.667083323, -0.8314242959, -0.767889142, 0.3553158045, -0.257751286, -0.2155532092, 0.9074854851, 0.8873702288, 0.647413075, 0.0098868953, 0.7368059158, 0.2244580686, 0.7784971595, -0.423068583, 0.6390817761, -0.6452574134, 0.2686299086, -0.2768608034, -0.9187332392, -0.2276816964, 0.6695646644, -0.3542571962, -0.0766538307, 0.9988110662, 0.7302132249, 0.0617914274, 0.0585305803, 0.021767009, 0.464046061, -0.0887359604, 0.4651654959, 0.9357872605, -0.4524542987, 0.1719456613, -0.0270386562, -0.4836626351, -0.2439920306, -0.6898578405, -0.8422296643, -0.4519912004, -0.2818737924, -0.1384394765, 0.0862613171, 0.7465104461, 0.6425471902, -0.7961787581, -0.6524192095, 0.1054242551, 0.3471708, -0.3035682738, -0.1810984164, 0.5195025206, -0.2128816843, -0.7773578167, 0.4374371469, 0.5701517463, -0.3780718744, -0.3287411034, 0.1372530907, -0.1322458386, 0.0723663941, 0.8572121859, 0.1011062935, -0.5518399477, -0.3772669137, -0.1271670014, -0.0253482554, 0.4337272644, 0.8122768998, -0.6913804412, 0.5003777146, 0.8483441472, 0.4711469412, 0.6926147342, 0.3559898734, 0.5580429435, -0.6294616461, -0.0820392594, 0.1054603234, 0.4035485387, 0.1252536029, -0.30389449, 0.3498515785, 0.0545981899, -0.5133488178, -0.6474043131, -0.0253074877, -1.0570812225, -0.0636315644, 0.7654878497, -0.0540033542, -0.5831403136, 0.033337459, -0.0982271731, -0.1606665999, -0.4270519912, 0.9844535589, 0.4528121352, -0.2879274786, 0.0466437526, -0.1220710129, 0.2430081517, 0.2219957709, -0.9879119992, -0.0578036048, 0.5262829065, 0.0318905935, 0.3365205824, 0.6963879466, -0.533236444, 0.268111527, -0.2348753214, 0.1259106249, 0.0709395632, -0.5904906988, -0.5225292444, 0.5755231977, 0.1281584203, 0.0084680319 ]
http://arxiv.org/abs/2403.00418v2
http://arxiv.org/pdf/2403.00418v2
LLMs for Targeted Sentiment in News Headlines: Exploring the Descriptive-Prescriptive Dilemma
2024-03-01T10:10:34
2024-05-28T11:04:32
Jana Juroš, Laura Majer, Jan Šnajder
cs.CL
cs.CL
News headlines often evoke sentiment by intentionally portraying entities in particular ways, making targeted sentiment analysis (TSA) of headlines a worthwhile but difficult task. Due to its subjectivity, creating TSA datasets can involve various annotation paradigms, from descriptive to prescriptive, either encouraging or limiting subjectivity. LLMs are a good fit for TSA due to their broad linguistic and world knowledge and in-context learning abilities, yet their performance depends on prompt design. In this paper, we compare the accuracy of state-of-the-art LLMs and fine-tuned encoder models for TSA of news headlines using descriptive and prescriptive datasets across several languages. Exploring the descriptive--prescriptive continuum, we analyze how performance is affected by prompt prescriptiveness, ranging from plain zero-shot to elaborate few-shot prompts. Finally, we evaluate the ability of LLMs to quantify uncertainty via calibration error and comparison to human label variation. We find that LLMs outperform fine-tuned encoders on descriptive datasets, while calibration and F1-score generally improve with increased prescriptiveness, yet the optimal level varies.
[ -0.2652817369, -0.7663190961, 0.8779245019, 0.5874122381, -0.6473407149, 0.2556599379, -0.2657650709, -0.164755255, 0.4175293446, 0.2634071112, -0.5489754677, -0.890634954, -0.7292283177, 0.398209095, -0.2663885653, 1.1810697317, 0.0441871323, 0.1362179071, -0.3608767986, 0.1743252724, -0.2138965726, -0.4098615646, -0.5901238918, 0.1501554549, 0.8936951756, 0.1905267686, 0.8028128147, 0.3637627959, 0.6238772273, 0.1629064679, -0.2465340346, 0.0600566082, -0.2861014605, -0.1568825841, -0.0899608284, -0.5236709118, -0.3967794776, 0.109437272, 0.5727324486, 0.604554534, 0.1589505523, 0.2463575602, 0.0723083243, 0.7762383223, -0.3791297674, -0.1412541717, -0.3771421015, 0.0879272893, -0.1932680458, -0.4311410189, -0.1750225127, -0.6801509261, 0.2974770367, -0.6340921521, -0.032483831, 0.2359014153, 1.0819944143, 0.4548082352, -0.6159858108, -0.5362877846, -0.7127519846, 0.8574766517, -0.5805072784, 0.367759943, 0.1372079849, 0.0647211373, -0.1385385096, -0.3856669068, 0.0202835295, -0.3458609879, 0.0201549642, 0.2865405977, -0.3848054707, 0.0827043056, 0.2745646536, 0.1459496766, -0.6208913326, 0.543094039, -0.3156043887, -0.308562398, 0.3116285503, 0.1054469571, -0.1011516824, -0.3979053795, -0.6013737321, 0.2171458602, -0.8128668666, 0.3003256023, 0.6669639349, 0.5946231484, -0.1250356138, 0.5808086395, -0.4558511078, 0.859389782, 0.2643107474, -0.3007775843, 0.24687998, -0.3087152839, -0.1487281024, 0.1384526789, 0.8773244023, 0.6906241179, 0.31780532, -0.0049388623, -0.4293743372, 0.0496490337, 0.3397370279, -0.5597929955, 0.3829428256, 0.3031659126, -0.4161351621, -0.5339266658, 0.1310393214, -0.9621068239, -0.4323914945, -0.432061553, 0.368370086, 0.0246823449, 0.1454791874, 0.231471926, 0.0001363363, 0.4921132624, 0.3323787749, -0.3595444262, -0.1425353885, 0.4088747501, 0.7751643062, -0.2167738229, 0.0469255522, -0.316267103, -0.2670258582, -0.4561241567, 0.9842725396, -0.4810376465, -0.3924433589, 0.0728348419, -0.2698806524, 0.0778405294, -0.4345808327, 0.8489695191, -0.4845660329, 0.2468723506, -0.4778133929, -0.2907987535, -0.0191636868, 0.5783298016, -0.5690255761, 0.6237659454, 0.1515414417, -0.6442628503, 0.5625727773, -0.4102818966, -0.7560905218, -0.3861501813, 0.0746850669, -0.4068798125, 0.4088689387, 0.5620141029, 0.5092843771, -0.2893730402, 0.376047343, 0.0305100512, -0.2404058725, 0.435510844, -0.2809953988, 0.2086744159, 0.5144799352, 0.0854340494, 0.1244198978, -0.6932810545, -0.3299840093, -0.0651776791, -0.430118829, -0.2833241224, -0.1961464137, -0.1109357402, 0.1973716915, 0.4630196393, -0.4262187481, -0.1565260142, -0.2907762229, 0.1308261603, 0.6717041731, 0.2197631598, 0.567104876, -0.4369964004, 0.8236292601, 0.3887418509, 0.2790251672, -0.0884759501, -0.2098146975, -0.4003578424, -0.0962973833, 0.2326279283, 0.6135168076, -0.5458543897, 0.4388094544, -0.1222067028, -0.3937756419, -0.3024295568, -0.1040167212, 0.3055834472, 0.5628678203, 0.3144235611, 0.0029697681, -0.7476241589, -0.7849525213, -0.769074142, 0.0192302763, -0.0400862843, 0.0731011182, -0.0064712744, -0.0258690584, 1.1235440969, -0.4417039156, -0.440297693, -0.408964932, 0.0383618549, 0.4770519733, 0.1827788353, 0.4792800546, -0.6961082816, -0.2887423635, -0.3269948363, -0.6883538961, -0.3118616045, -0.3191283047, 0.1745655686, 0.0955396071, 0.4538002908, -0.6993788481, 0.1902991235, 0.2398398966, -0.224026382, 0.6403371692, 0.1368124634, 0.2065133154, -1.2228392363, -0.2331058681, 0.493270874, -0.1266781241, -0.6147850752, -0.3034048975, -0.0617093332, 0.0248977672, -0.7887060046, 0.4611370564, -0.3013531268, -0.0914466903, -0.1766790301, 0.1472453773, 0.1424276829, 0.1520187855, 0.0911506563, 0.6576008201, 0.6048507094, -0.7508482933, 0.2787947059, -0.0947399139, -0.4040936232, 0.7750400305, -0.4983008206, -0.2169403881, -0.6111076474, 0.307554096, -0.8971630335, -0.2319635004, 0.2927411795, -0.5743556023, 0.1979195923, 0.1103693023, -0.4234978259, -0.35954386, -0.4525152147, 0.2262370884, 0.6498548985, -0.1876190305, 0.535528779, 0.1344446093, -0.0384257808, -0.6198647022, -0.6666194797, 0.2008355111, -0.5706618428, -0.0451477505, 0.0924317837, 0.1064602882, -0.3870943189, -0.1235625446, -0.2655280232, 0.1957253963, 0.1110498831, 0.0620518215, 0.1102802679, -0.1688925326, 0.0241628978, 0.0611337125, -0.107463181, 0.3198392987, -0.2090027183, 0.3935466707, -0.1068910286, -0.0784255415, -0.5526034832, 0.0391817652, 0.5437404513, -0.0808849335, 0.4721723795, 0.5478799343, -0.2678538263, -0.0010055401, -0.5677264333, -0.1976987869, -0.417773962, 0.352707684, -0.3592846394, -0.526385963, 0.5353347063, -0.1704180092, -0.2197704315, 0.4414461553, 0.3813983202, -0.3756465018, 0.9190526009, 0.3412648737, -0.2412773222, 0.4533605576, 0.0446980372, 0.0680748671, -0.5754970908, -0.2294183969, -0.5631224513, -0.3625617623, -0.4643183947, 0.017027691, 0.4178842008, -0.1380511671, -0.17288284, 0.0152615327, -0.2907795608, 0.5508739948, 0.5603072047, 0.2742076218, 0.2715250552, 0.0181287676, 0.2945270836, -0.036733631, -0.3871228695, -0.7222958207, 1.0592308044, 0.4241167307, 1.1409934759, -0.2113721371, 0.5967524052, 0.2515324354, 0.0300397445, -1.0378779173, 0.5956835747, -0.2696681917, -0.2884666026, 0.014860196, -0.3913511634, -0.8525849581, -0.1523743123, -0.1463277638, -0.2964062989, 0.1088704988, 0.0097250547, -0.7250810266, 0.1646670252, -0.3688293993, 0.6720032096, -0.3797312975, 0.067396149, 0.2025068551, -0.6401966214, 0.1740238667, -0.1411805749, 0.3413845599, -0.3537048101, -0.4221585989, 0.7252470851, 0.1499860883, 1.0851303339, -0.2727441788, -0.4307131469, 0.2747113109, -0.240418449, 0.4562609792, 0.1118825749, -0.0171961356, 0.1686909795, -0.2626049817, -0.3074331284, -0.4653618634, 0.4593381882, -0.8585574031, -0.7489753962, -0.4159285724, -0.5019107461, -0.4537320137, 0.1179879531, 0.7105314136, 0.5281951427, -0.3421371281, -0.0344030447, 0.595036149, -0.1421110183, 0.2736797333, 0.4916843474, -0.1058673337, -0.3830631971, 0.767919302, 0.2731756568, 0.0157961901, 0.8129733801, 0.3195936382, -0.4737445116, -0.8115438223, -0.2925357521, 0.0652444512, -0.6189089417, -0.4412616789, -0.5391941071, -0.0116027128, -0.3045064509, -0.4407424331, -0.2603470981, -0.1490563899, -0.8236117363, -0.3010800481, 0.2485546321, 0.5695144534, 0.1865984499, 0.369966656, -0.857157886, 0.3167238832, -0.0547631197, 0.1997705698, -0.6141557693, -0.7052761316, -0.151026547, 0.0894661397, -0.1973709911, -0.986246109, 0.3120226562, -0.0953699425, 0.402120918, 0.5150280595, 0.4560978413, 0.4581661522, -0.1101696715, 0.927913487, 0.0265511516, -0.7110908031, 0.826457262, -0.4675254822, 0.4641472399, 0.5615344644, 0.6310979724, -0.2207945585, -0.6900855899, -0.1292743981, -0.532987833, 0.4342105985, -0.2081766874, 0.2481432706, -0.2761045992, 0.4045309126, 0.1188038364, 0.3234713674, -0.5881716609, -0.0945816189, -0.2587797642, -0.5016258359, -0.2410759926, -0.4588312507, -0.0529363267, 0.1627402306, 0.3899991512, -0.120719552, 0.0837581754, 0.3322490752, -0.151149556, -0.0960494503, 0.4537431002, 0.8165433407, 0.5269067287, -0.2965005934, 0.1301697493, 0.1190326735, -0.3985951543, 0.374579072, 0.017354589, -0.3338935673, 0.1204484254, 0.332308799, 0.844851613, 0.3857640624, -0.54532516, 0.563801825, 0.0083979741, -0.1255295128, -0.1784122288, -0.3491820097, -0.2735163569, 0.2355315983, 0.5145754218, 0.1807356328, 0.1614648104, -0.3870827258, -0.1413427144, 0.5171747804, -0.2548682392, -0.4901045561, 0.5309235454, 0.32102561, -0.1124718264, 0.311190486, -0.2509806752, -0.4300049245, 0.7329746485, 0.5035724044, 1.0119198561, -0.0898588523, 0.3516332209, 0.327269882, 0.5236462355, -0.0772575513, 0.3374600708, 0.1881091744, -0.8757179976, -0.2456576228, -0.6789964437, -0.4808285236, -0.0988806859, -0.7888367772, 0.35045591, -0.6183264256, -0.4922139645, -0.3780485392, 0.0320625231, -0.7633218765, 0.404292047, 0.0943848416, 0.8299827576, -0.8139224648, 0.373501271, 1.0183542967, -0.2946282029, -0.6006013155, 0.3581591547, -0.0653396025, -0.630025208, 0.5453336239, 0.3869597018, 0.0972386673, 0.2498658001, -0.3335090578, -0.7739856839, 0.8480887413, 0.4014861286, -0.6566489935, -0.2637460232, 0.4757814109, 0.4446555972, -0.3042348325, 0.1178162917, 0.6313209534, 0.682161212, 0.1880480647, -0.840056181, 0.0103556346, 0.4093883038, -0.1904126406, -0.0323759615, -0.6477966905, 0.6274793148, -0.4416216314, -0.283220768, -0.1901790202, 0.7001603246, 0.0793532059, 0.5442162156, 0.391623944, 0.5895104408, 0.5269410014, -0.3255839944, 1.1070296764, -0.2591982484, 0.1804392785, 0.6578115225, -0.1469438821, 0.5476005673, 0.5238258243, -0.3264354169, 0.4719528556, 0.9519811869, 0.1987367868, 0.6147712469, 0.1049753055, -0.21594432, -0.0900979862, -0.3601487577, -0.1267422289, 0.5108283758, 0.3777546287, -0.3272613883, -0.4266036749, 0.3854064643, 0.1043345928, 0.1841724515, -0.8664677739, 0.839758575, 0.2794881165, -0.676471889, 0.2282435745, 0.0300894994, 0.9426439404, -0.6747194529, 0.6997320056, -0.37621966, -0.1533649564, -0.3885585368, -0.9742106199, 0.3995795548, 0.1869000196, -0.1959363371, -0.1405561417, 0.7113984227, -0.3855011165, -0.4654305875, -0.0094301859, 0.6352561116, 0.0216482934, -0.2921642959, -0.5062469244, 0.2989186347, -0.217873022, -0.567008853, 0.2632475197, 0.3766168356, 0.0730633363, 0.4570601881, 0.6236070991, 0.2153679132, 0.0660029575, 0.2058383673, 0.712603569, -0.8712246418, -0.6685104966, -0.9611608982, 0.2687603831, 0.2245551944, -0.3944764137, 0.8268103004, 0.4933270216, 0.5538568497, -0.4317999184, 0.5298417807, 0.2457396686, 0.4560595751, -0.8790632486, 0.285959065, -0.2989927232, 0.2109354287, -0.0875540227, -0.9742242694, -0.7195470333, 0.3358470798, -0.4070612788, 0.1252625734, 0.5331778526, 0.7755014896, 0.3477025926, -0.2241243422, 0.3187001646, 0.0511620939, 0.1628213823, 0.6071455479, 1.161912322, -0.0402075574, 0.4958559275, -0.1012736484, -0.0472494662, -0.2150908262, -1.1704597473, -0.9117925763, -0.1847072691, -0.2870575488, -0.1670292318, 0.1139471307, 1.2050081491, 0.4615837634, -0.6675642133, 0.1756986082, -0.0640355423, 0.3549801111, -0.1238187402, -0.3024263382, 0.3110033274, -0.8078995347, -0.9120560288, 0.3352083266, 0.1780337989, 0.2603639662, -0.182820037, 0.1051843092, 0.1813836247, 0.3273480237, 0.5615749955, 0.1478082389, -0.7902354598, -0.2197959721, 0.1112444848, -0.316216439, -0.0036932928, 0.8713410497, -0.9716194272, 0.1141981855, 0.3709199131, 0.6890105605, -0.1789291352, 0.3697542548, 0.3363152146, -1.078592062, 0.0883433968, 0.3526394963, 0.2257550657, 0.3378751278, -0.611042738, 0.0948377848, 0.0825475305, -0.3795797527, -0.8039707541, 0.1780252159, -1.1892442703, -0.0959132016, 1.4406000376, 0.1914545596, -0.1475353241, -0.022832565, -0.2860139906, -0.0414261669, -0.5751350522, 0.463216573, 0.527748704, 0.1904218346, -0.185255304, -0.2999615967, 0.6723650098, 0.2117482275, -0.7218550444, -0.2751607597, 0.3629505038, 0.1619843692, -0.1048288271, 0.586515069, 0.0280440878, 0.1923089474, -0.3994466364, -0.2296969146, -0.2189687788, -0.5280511379, -0.558062315, 0.1807158589, 0.0099664656, -0.4374453127 ]