id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.12950v1
http://arxiv.org/pdf/2406.12950v1
MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction
2024-06-18T12:54:47
2024-06-18T12:54:47
Yuyan Liu, Sirui Ding, Sheng Zhou, Wenqi Fan, Qiaoyu Tan
q-bio.QM
q-bio.QM, cs.AI, cs.CE, cs.CL, cs.LG
Molecular property prediction (MPP) is a fundamental and crucial task in drug discovery. However, prior methods are limited by the requirement for a large number of labeled molecules and their restricted ability to generalize for unseen and new tasks, both of which are essential for real-world applications. To address these challenges, we present MolecularGPT for few-shot MPP. From a perspective on instruction tuning, we fine-tune large language models (LLMs) based on curated molecular instructions spanning over 1000 property prediction tasks. This enables building a versatile and specialized LLM that can be adapted to novel MPP tasks without any fine-tuning through zero- and few-shot in-context learning (ICL). MolecularGPT exhibits competitive in-context reasoning capabilities across 10 downstream evaluation datasets, setting new benchmarks for few-shot molecular prediction tasks. More importantly, with just two-shot examples, MolecularGPT can outperform standard supervised graph neural network methods on 4 out of 7 datasets. It also excels state-of-the-art LLM baselines by up to 16.6% increase on classification accuracy and decrease of 199.17 on regression metrics (e.g., RMSE) under zero-shot. This study demonstrates the potential of LLMs as effective few-shot molecular property predictors. The code is available at https://github.com/NYUSHCS/MolecularGPT.
[ -0.2640832961, -0.775988996, 0.6435085535, -0.3346303403, -0.221713379, -0.0186461005, -0.4564536214, -0.191707179, -0.210258916, 0.5219493508, -0.6277666092, -0.6601384282, -0.8284819126, -0.1595397741, 0.1344342828, 1.1773990393, 0.0843370631, 0.2775609195, -0.0007944872, 0.0677139312, -0.0710077882, -0.1380953342, -0.3762867749, -0.5463550091, 0.5503585339, 0.673951745, 0.3198667467, 0.8281196356, 0.9015769958, 0.1739884317, -0.0806375071, -0.0333220363, -0.7282987833, -0.1473041326, -0.0199984387, -0.3427559733, -0.631704092, -0.000033551, 0.3250599205, 0.5865692496, -0.0813617706, 0.0282951593, 0.0925040096, 0.6617274284, -0.6510047913, 0.2446508557, -0.7848080397, 0.2852628827, -0.3047038019, -0.274017334, -0.1838098019, 0.1559660733, 0.3312542439, -0.4376180768, 0.2517123818, -0.0155850044, 0.5613535047, 0.3376284838, -0.4613088071, 0.0742169917, -0.4944815338, 0.6269385815, -0.8340663314, 0.1533596367, 0.278875798, 0.6887500882, -0.6486926079, -0.7374859452, -0.28162691, -0.7545676827, 0.1755044013, 0.1562234908, 0.0721813887, 0.4376694858, 0.1605995446, 0.2503676414, -0.7272906303, 0.0797374994, -0.394756794, -0.1107726172, 0.2397573292, 0.1715471745, 0.0932297334, -0.1026061699, -0.5743746758, 0.057247851, -0.8539658189, -0.1628863215, 0.0376925245, 0.7420579195, -0.0380613953, 0.894737184, -0.3351426423, 0.7179079056, -0.0513072722, -0.184538573, -0.1950045228, -0.2649286091, -0.3190365732, 0.3536140323, 0.7897512317, 0.3262161314, 0.2945069075, 0.0926111117, 0.017038919, -0.2175166309, -0.0636359528, -1.3138694763, -0.5067141652, 0.2414163798, -0.1599985212, -0.2299582213, 0.09148065, -0.8595828414, -0.4864079356, -0.0835596249, 0.3857554197, -0.560339272, 0.2986510992, 0.1922950298, -0.2131418884, -0.1472635269, 0.1581021398, -1.145116806, 0.1811666638, 0.8340787888, 1.0187487602, -0.3887092173, -0.4882660508, -0.6914508939, 0.3196726441, -0.0589321665, 0.9539061785, -0.840524137, -0.2320610434, -0.4999231696, -0.0729406476, 0.1493675113, -0.5120210648, 0.1480959952, -0.1321817338, -0.1511510164, 0.016777873, -0.7549086213, 0.0529210903, 0.4157607257, -0.3141429722, 0.4615520239, 0.3793134987, -0.3780807853, 0.5360625386, -0.6867930293, -0.1308558732, 0.244695887, -0.1927096695, -0.3942458034, 0.0378471203, 0.1917764843, 0.5687693954, -0.0600701869, -0.0690703541, -0.457898885, -0.4705495834, 0.1749486625, -0.3773450553, 0.3588068783, -0.0621716492, -0.3105828166, 0.1481959969, -0.8044477105, 0.1055416986, -0.2093492448, -0.5058621764, 0.3595331013, -0.4091685414, -0.0506853051, 0.2420252711, 0.1438573003, -0.5215184093, 0.7855326533, -0.5423355699, 0.4664241374, 0.854808867, 0.2453885078, 0.6281940341, -0.0637089461, 0.8645205498, 0.1222322211, -0.0512018502, -0.1591413766, -0.5969535112, -0.4751063883, -0.3886206448, 0.3244206309, 0.697868228, -0.4869866669, 0.164631173, -0.3131484091, -0.5382192135, 0.0171657261, 0.5770213604, 0.5025793314, 0.4820456207, 0.4656930566, -0.1682243049, -0.3416984975, -0.7251217961, -0.4179418683, 0.0288283397, -0.1922236234, 0.6618663073, 0.7198380232, -0.3391764164, 0.7047458887, -0.806866169, -0.6113934517, -0.4900767505, -0.0392368808, 0.3556727171, 0.3182053864, 0.1563408971, -0.192852214, -0.7290913463, 0.332600832, -0.4185145199, 0.0016466447, 0.0787040666, -0.2685477436, 0.0100089926, 0.3692609072, -0.7355248332, 0.1741119772, 0.4864464402, -0.1428232789, 0.3254971802, -0.0549742617, -0.1824004054, -0.901806891, -0.2345936447, 0.3693056703, -0.1510337442, -0.4629859328, -0.1454464197, -0.2697917521, -0.0650684163, -0.8100661635, 0.7271187305, -0.1651505381, 0.0891527459, -0.4564369321, -0.1112260148, -0.1893289536, 0.5294060111, 0.0135177663, 0.7421845198, 0.5707983375, -0.3128758669, 0.3639082611, 0.0375427678, -0.2436142415, 0.2579821646, -0.5061148405, 0.1610513777, 0.0970430076, 0.3928108215, -0.5996240973, -0.621325314, 0.3545174897, -0.373225987, 0.5716339946, -0.8745270967, -0.2307528853, -0.0054784329, -0.2860326171, 0.0222281404, 0.3472631276, -0.4110647738, 0.4110850692, 0.1020534784, -0.042163644, -0.4554923177, -0.725251615, -0.0222861897, -0.1161210388, -0.4409109056, 0.1659186184, -0.0146015454, 0.1968615353, -0.1391829997, -0.2039624155, -0.2556481659, -0.2247068584, 0.3302825689, 0.1910863072, -0.4050142765, 0.2060765624, -0.2209666818, -0.4461750984, -0.2726982534, -0.7196255326, 0.4174889028, -0.4739209116, -0.0653648451, -0.0407579057, 0.0111652436, 0.2673654854, 0.0111381616, 0.6053851843, 0.6523089409, -0.0611237101, -0.477474004, 0.2335018963, -0.5132873058, -0.518231988, 0.5481859446, -0.3895086646, -1.0055328608, 0.0831690356, -0.3592755795, -0.4624429047, 0.1455574483, 0.7392120361, -0.2187826484, 0.658662498, 0.6169087887, -0.0317288339, 0.3924444318, -0.4630613625, 0.3686386943, -0.7176846266, -0.0372941941, 0.051856827, -0.5742816329, -0.7782955766, -0.5052424073, 0.7898940444, 0.3158271015, -0.4700430036, 0.4172628224, -0.5753512383, 0.9242327213, 0.7342494726, 0.3885284066, 0.0611136518, 0.2102747262, -0.0523655601, -0.0279684309, -0.6537060738, -0.5060484409, 1.5765861273, 0.1005647033, 0.7278901339, -0.0858597159, 0.7812814713, -0.0363069102, -0.0035510086, -1.1719942093, 0.5991694927, -0.3754097819, -0.6317149401, -0.3508279622, -0.4742488265, -0.6676934361, -0.1142597049, -0.1934711039, -0.9765598178, -0.0318889208, 0.501804769, -0.5569884181, 0.3695637882, -0.6674232483, 1.1128017902, -0.2729204595, -0.6424797773, 0.0602945425, -0.8011381626, 0.4569002986, -0.0218172669, -0.4837677181, -0.3692258298, -0.070498161, 0.1972445548, -0.554969728, 0.6512519121, -0.0255595148, 0.2085919827, 0.2147509903, 0.2864323854, 0.5272480845, 0.0458818413, 0.0657754093, 0.2087612003, 0.0279599316, -0.4426893294, -0.6642580032, 0.8814011216, -0.3846351206, -0.3169341981, -0.3903014362, -0.4966104329, -0.2644042373, 0.3443585634, 0.6873699427, 0.087536253, -0.0469248146, -0.004214664, 0.4777205884, -0.1172816902, 0.1893173307, 0.444440484, 0.0044093402, -0.228839606, 1.1886423826, 0.0807153806, 0.3384209275, 0.6176045537, 0.5871812701, 0.1224214807, -0.7000170946, -0.437322855, -0.1927286685, -0.7892402411, -0.2969095111, -0.3822350204, -0.1087263823, -0.234768942, -0.2667147219, -0.5742185116, -0.6638178825, -0.1411634535, -0.2605420947, 0.5877942443, 0.5721624494, -0.0792147294, 0.5300927758, -0.9336788654, 0.5070270896, 0.4007567763, 0.5611950159, -0.5287516117, -0.4627927244, -0.2592404485, 0.1011960953, -0.4250245988, -0.5547106862, 0.311909616, 0.5202993155, 0.2146125436, 0.4654853344, -0.3645488024, 0.356182307, -0.7267926335, 0.687519908, -0.1641579121, -0.6167939901, 0.837993145, -0.7114270329, 0.3734185994, 0.7519638538, 0.278526485, -0.138139382, 0.1012830213, -0.3624020219, -0.780136168, 0.5831127763, 0.1854882091, -0.1235956252, 0.22521092, 0.2971645892, 0.0628949031, 0.1830378771, -0.6713314056, -0.2306760848, -0.2042251378, -0.2229006737, -0.108014062, -0.132961005, -0.0595462024, -0.5115323663, 0.71814996, -0.4463851154, 0.2822363973, -0.1661724001, 0.0849307179, -0.0856204554, 0.5737982988, 0.8200778365, 0.471765399, -0.8625352979, 0.0136734117, 0.1376704276, -0.6915953159, 0.2542066276, 0.1590925306, -0.0497184694, -0.3433888257, 0.3803987205, 0.7595142722, -0.0525785536, -0.7470167875, 0.485530287, 0.3463874161, 0.034147948, -0.0183509979, 0.3123201132, -0.0160821527, 0.3207468092, -0.0891003013, 0.1261914521, 0.2520963252, -0.5836372375, 0.3642822504, 0.3872376978, -0.5965826511, -0.1119600683, 0.5713816285, -0.0621905401, 0.0803022683, 0.5517065525, -0.3300034404, -0.459545821, 0.6483570337, 0.3925212026, 1.0200074911, 0.0067331474, 0.1035010517, 0.3391996622, 0.3283551633, 0.0151150888, 0.1324267387, 0.1665550172, -0.7697734237, -0.0192206949, -0.6547677517, -0.5898527503, 0.0119265243, -0.0379451513, 0.4205606282, -0.8375068307, -0.0700728074, 0.2500433326, 0.1433215737, -0.3471980393, -0.0225084312, 0.2602074742, 0.6987793446, -0.614408195, 1.1164814234, 0.4974260628, -0.3171461225, -0.5502910614, -0.045358669, 0.5013931394, -0.6668579578, 0.7509844303, 0.232634753, -0.196617648, -0.0206684861, -0.8046435714, -0.6315028667, 1.0695236921, 0.6361294389, -0.9059078693, 0.1222661436, 0.4066092074, 0.50998348, -0.4431315958, 0.1882365048, 1.0546575785, 0.6062831283, 0.3099355698, -0.6738457084, -0.2353947908, -0.0212955475, -0.0873924568, 0.2111061662, -0.400441587, 0.7350190282, -0.5102427006, 0.1814740747, -0.0019011692, 0.176491335, 0.6855472326, 0.3059377968, -0.1465117484, 0.6004947424, 0.4760291278, -0.2244298905, 1.3482249975, -0.3766626716, 0.2625285089, 1.4095392227, -0.2560938299, 0.9380136132, 0.4479627311, -0.3345338702, 0.2000870109, 0.5206690431, -0.4374409914, 0.6395825744, 0.5326979756, -0.4799268842, -0.2160430104, -0.0396306403, -0.0431198142, 0.6577470303, 0.475782752, -0.3317992389, -0.1868035048, 0.0102618923, -0.1810149401, -0.2461027205, -0.2572269142, 0.7311697602, 0.3028727472, -0.2327121347, 0.4207127392, -0.0303863101, 0.5937660336, -0.6895659566, -0.3649973571, -0.2255136222, 0.4491111636, -0.249943167, -0.8536090255, -0.1936288029, -0.1861024797, -0.2220924944, 0.1134906039, 0.8153553009, -0.5482654572, -0.7208935618, 0.1207519174, 0.1934395134, 0.1965751201, -0.3597539663, -0.749936223, -0.3263798952, -0.0825682431, -0.4108124375, 0.3540401459, 0.3559841812, 0.1836270541, 0.8195750713, 0.5520510674, 0.2997424901, 0.1248772666, -0.170554772, 0.7882683873, -0.7267965674, 0.0703752488, -0.9870219827, 0.3546798527, 0.2674998939, -0.4344885051, 0.5023946166, 0.7054041028, 0.736040771, -0.248328656, 0.7123826146, 0.4144042432, 0.24592641, -0.8252456784, 0.615742147, -0.207793951, 0.5115325451, -0.0498403646, -1.0884116888, -0.420697242, 0.5358135104, -0.1675406098, 0.3395993114, 0.6826800704, 1.2094786167, -0.3495161533, -0.3731429279, 0.2932624519, 0.3759542108, 0.3608627915, 1.011027813, 0.5540387034, -0.3817155957, 0.4042998552, -0.5962564945, 0.0444585159, -0.2592380047, -1.1045372486, -1.0083451271, -0.0027483043, -0.3297846913, -0.2862117589, 0.1219807044, 1.2786308527, 0.879532218, -1.0592740774, -0.1424779594, -0.5973159671, -0.0885847136, 0.0230677202, -0.2076991796, 0.3149723411, -0.0161333773, -0.5594165921, 0.8117490411, 0.7423007488, 0.4921919703, -0.1272826344, -0.123787716, -0.028653061, -0.1973369569, 0.6047561169, 0.4303846955, -0.6693190336, 0.024654733, -0.1317821592, -0.1815343648, 0.3479994833, 0.8514688611, -0.747364819, 0.5080725551, 0.615419209, 0.4939337075, 0.7742868662, -0.0232810788, 0.6942341328, -0.9882359505, 0.2600170672, 0.4506720304, 0.3139430583, 0.1431977153, -0.4968892336, 0.6129128933, 0.071239844, -0.5394247174, -0.4919746816, 0.2428813726, -1.2898404598, -0.4135789573, 1.2121599913, -0.1102929488, -0.199613288, 0.3193150759, -0.1279619336, -0.0470651612, -0.6064326167, 0.4711689353, 0.552457571, -0.3207372725, -0.633221209, -0.863008678, 0.7322595716, 0.1559368819, -0.8052095771, -0.0256808065, 0.5100371242, 0.2235123217, -0.3067581356, 0.4988647997, 0.1699326634, 0.2146004736, -0.057645943, -0.1798755676, -0.3288922012, -0.6025500298, -0.3910304606, -0.0721549839, 0.0619737692, 0.0327560902 ]
http://arxiv.org/abs/2406.12566v2
http://arxiv.org/pdf/2406.12566v2
RichRAG: Crafting Rich Responses for Multi-faceted Queries in Retrieval-Augmented Generation
2024-06-18T12:52:51
2024-06-21T18:12:15
Shuting Wang, Xin Yu, Mang Wang, Weipeng Chen, Yutao Zhu, Zhicheng Dou
cs.CL
cs.CL
Retrieval-augmented generation (RAG) effectively addresses issues of static knowledge and hallucination in large language models. Existing studies mostly focus on question scenarios with clear user intents and concise answers. However, it is prevalent that users issue broad, open-ended queries with diverse sub-intents, for which they desire rich and long-form answers covering multiple relevant aspects. To tackle this important yet underexplored problem, we propose a novel RAG framework, namely RichRAG. It includes a sub-aspect explorer to identify potential sub-aspects of input questions, a multi-faceted retriever to build a candidate pool of diverse external documents related to these sub-aspects, and a generative list-wise ranker, which is a key module to provide the top-k most valuable documents for the final generator. These ranked documents sufficiently cover various query aspects and are aware of the generator's preferences, hence incentivizing it to produce rich and comprehensive responses for users. The training of our ranker involves a supervised fine-tuning stage to ensure the basic coverage of documents, and a reinforcement learning stage to align downstream LLM's preferences to the ranking of documents. Experimental results on two publicly available datasets prove that our framework effectively and efficiently provides comprehensive and satisfying responses to users.
[ -0.8066781163, -0.8380968571, 0.2615296245, 0.1854189336, -0.0638768002, 0.1777306199, -0.1664735973, -0.4057587981, 0.5445910096, 0.6074695587, -0.321317941, -0.0841259658, -0.5420148373, 0.0210759528, -0.4332911074, 1.474075675, 0.1467788815, -0.3185049593, -0.1939959228, -0.1847717166, -0.3208636343, -0.406144619, -0.5657844543, -0.1910611093, 1.0306330919, 0.3921242654, 0.5376423597, 0.2542905509, 0.2116998285, 0.2606818378, -0.2387230098, 0.5113375187, -0.8425189257, 0.8179070354, -0.4229814708, -0.2344465405, -0.3991146982, -0.2244302183, 0.4033729732, 0.5308733582, 0.076886639, 0.309920609, 0.2903497815, 0.6132829189, -0.8996468782, -0.2901415527, -0.8503993154, -0.0073184851, -0.4362886846, -0.4935026765, -0.2806438506, 0.1050312445, -0.2564789653, -0.6554851532, 0.4800802767, 0.097212635, 0.7417345643, 0.2776833475, -0.3586770296, -0.3441983163, -0.8075274229, 0.5961458683, -0.1878470033, 0.3715554476, 0.4888122082, 0.5991932154, -0.0392417125, -0.6197882295, -0.5908678174, 0.2000479847, -0.1780026257, 0.3249741793, 0.3610881269, -0.1596112847, 0.0811386481, 0.6290296316, -0.6675307155, -0.096070163, -0.2132397145, -0.07440532, 0.6913087964, 0.1126041114, -0.0608742796, -0.3818495572, -0.2712316215, -0.16077739, -0.5763757825, -0.0150061967, 0.5158239603, 0.4248331785, 0.1555404514, 0.9624410868, -0.5378959775, 0.6444907188, 0.3449510336, -0.0162953399, 0.0013575458, -0.3662862778, 0.0226567984, -0.0310091004, 0.4845350087, -0.0341756791, -0.0971041545, -0.180944398, -0.625163734, -0.4140990973, 0.4569678605, -1.0800837278, -0.0101298317, 0.4959506691, -0.2481439561, -0.3202862144, -0.0549525954, -1.0855997801, -0.7318731546, -0.2248316407, 0.5510917902, -0.0648389682, -0.16512613, -0.1042192578, -0.1415013373, 0.3000705838, 0.3111052513, -0.8366615176, 0.1534382403, 0.8337003589, 0.4301872551, 0.0105072362, -0.3447755277, -1.2109899521, 0.3286058009, -0.1626608223, 1.2107275724, -0.7112976313, -0.3306419849, -0.021806214, -0.1662579477, 0.0049710851, -0.668664813, 0.4439172149, -0.947301805, 0.5217013359, -0.3103071749, -0.2705315948, 0.1217862368, 0.6184585094, -0.7119053006, 1.1356793642, 0.2818131745, -1.1048092842, 0.4004233181, -0.4220587313, -0.3292490542, 0.2846807837, -0.3048859835, -0.4920311868, 0.1345481873, 0.2904368639, 0.4667269289, -0.3061397076, 0.3506223559, -0.1234426573, -0.4177663922, 0.1937206835, -0.1805966645, 0.3962771893, 0.3910889924, -0.233724311, 0.4030460715, -0.5050932169, -0.0181687325, 0.0909629688, -0.6048892736, -0.3315103948, -0.0431759097, 0.3195511401, 0.1256615818, 0.2514759302, -0.4667652845, 0.2176284194, -0.3991615772, -0.1970081329, 0.5334765911, 0.1314903647, 0.3800790012, -0.4910306633, 0.6372571588, -0.0349686071, -0.0130013656, -0.1358334273, -0.2238561958, -0.7324674129, -0.3491313457, 0.3557898402, 0.3962829709, -0.9319891334, 0.2660804689, -0.3009547889, -0.3574136198, -0.6404070854, 0.2619107962, 0.3951745331, 0.2765132785, 0.5118384957, -0.1436345875, -0.4077195525, -0.6926311255, -0.3761666715, 0.0719239861, -0.1351686716, 0.7490135431, 0.3671952188, -0.2861922085, 0.758494854, -0.4141781926, -0.3380074799, -0.5177071691, 0.1583600342, 0.0549848154, 0.1914710701, 0.355575949, -1.1429332495, -0.5234995484, 0.0994998142, -0.4759123623, -0.088823162, -0.0356083885, -0.4033731222, 0.0020811409, 0.10880889, -0.7003030181, 0.0938892365, 0.3404873908, -0.3110671043, 0.3589173853, 0.0423754528, 0.2014437467, -1.4216513634, 0.3402207494, -0.3894492686, -0.1049855202, -0.3069639802, 0.4510847032, -0.1670046449, -0.3440431952, -0.1859726906, 0.9648028016, -0.1768596023, -0.4000423849, -0.247514531, 0.1309822351, 0.126283586, 0.303402245, -0.1229370385, 0.9198477268, 0.1514657289, -0.5449799299, 0.1906727105, 0.2824811041, 0.0822338015, 0.6722701192, -0.7613050938, 0.07219892, -0.4516319931, 0.2841961682, -0.7023324966, -0.6356093884, -0.0576497987, -0.4646758437, 0.4614077508, -0.3401825726, -0.3738553822, -0.062928997, -0.4901364148, 0.4930054545, 0.13114582, -0.5408135056, 0.9328460693, 0.4091267586, -0.3651356995, -0.8203508854, -0.1840325445, -0.0568625443, -0.2335588634, -0.4785452783, 0.4207899868, -0.1775611192, -0.1487163603, 0.071900025, -0.0715816319, -0.1003676131, 0.1065083742, 0.0618587695, -0.0865272433, 0.0274625532, -0.0024663636, 0.1763564646, -0.0787548274, -0.3547596335, -0.0774785951, 0.7679752111, 0.1402025074, -0.4080408216, 0.3478302658, 0.623065412, 0.4120596051, -0.8132954836, 0.6350553036, 0.981943965, -0.1950199157, -0.5864911675, -0.4680830836, -0.1878396422, -0.4127182961, 0.2483638376, -0.6146663427, -1.0604431629, 0.5787239075, 0.07875745, 0.2119515836, 0.4382294714, 0.7097432613, 0.0264057219, 0.9633957744, 0.466999948, 0.0622665547, 0.3115564287, -0.3599271178, 0.2286724746, -1.0646916628, -0.3913366199, -0.7255429029, -0.4751248062, -0.691439867, -0.4634671509, 0.6241961122, 0.3746244013, -0.2885083854, 0.0043144552, -0.591817379, 0.2853283882, 0.4447306991, -0.1469217092, 0.2164429277, -0.0131029813, -0.0514680222, 0.2530679107, -0.590528667, -0.2172950208, 0.9251132607, 0.0279038977, 0.9106366634, 0.1205138341, 1.0911781788, 0.1214219853, 0.2784048915, -0.7880404592, 0.3736595511, 0.0065094172, -0.7854470015, -0.3780468106, -0.5650268793, -1.1054232121, 0.590898931, -0.3073062897, -0.233393237, 0.1433551162, 0.0761422068, -0.4104225338, 0.0823665857, -0.1097477302, 0.6510738134, -0.3901533782, -0.7607186437, -0.0733493045, -0.5121865273, 0.4035522938, -0.1163957641, 0.1381877363, 0.1874724478, -0.0329668708, 0.536033392, -0.0905703977, 0.3780484796, -0.2081305683, -0.0096862102, 0.1886652708, 0.2051809877, 0.5044014454, 0.3746420145, -0.1736349165, -0.4381303191, -0.19953987, -0.445119828, -0.5654937029, 0.8015635014, -0.5401459932, -0.451398313, -0.3424344957, -0.6851038933, -0.3121865392, 0.3486363292, 0.2168958038, 0.4399379492, -0.0090642534, 0.3224486709, 0.9975231886, -0.4487318993, 0.1120507419, 0.302690506, -0.4601272941, -0.5066864491, 0.9706350565, -0.0142760715, -0.1786738187, 0.5556382537, 0.2270308286, -0.2263474911, -0.4997879267, -0.7502960563, 0.1493588537, -0.3733841181, -0.4627808928, -0.9792877436, -0.3000921607, -0.3771004081, -0.0291937888, -0.3300187886, -0.3606368899, -0.0021727106, 0.1021418571, 0.3084169924, 0.7250984311, 0.1415140182, -0.1340182573, -0.7410440445, 0.7408748269, 0.6490501761, 0.5138856769, -0.078891471, -0.3770538568, -0.2793668807, -0.0930515528, -0.4143627584, -0.5255486369, 0.3395097554, 0.2409340441, 0.7022157907, 0.0874968842, 0.2681420147, 0.5858199596, -0.3399534225, 0.7785455585, -0.4967631698, -0.2884019315, 0.5730296373, -0.5364664793, 0.072163865, 0.8282238245, 0.4454675019, -0.3630132079, -0.3371948898, -0.4903708398, -1.1307336092, 0.3759736717, 0.0396120362, 0.1872495413, 0.0333621874, 0.1826754957, 0.2842438817, 0.3687489033, -0.3811149001, -0.0000238881, -0.386577934, -0.0901919007, 0.0942704007, -0.2691923678, -0.3118984103, 0.0449363478, 0.6885799766, -0.3206697106, 0.1458660513, 0.1000187248, -0.0215872526, -0.1319039613, 0.6094991565, 0.4300288558, 0.5030950308, -0.205987677, 0.2987344861, -0.2558012605, -0.3143890798, -0.2264070511, 0.5988690257, -0.2897286713, -0.2007020712, 0.2694537342, 0.5657104254, 0.090446502, -0.5827926993, 0.4896169901, -0.0145341568, 0.0032624297, -0.0993821397, 0.0650673732, 0.0201954283, 0.2610246837, 0.4742165804, -0.2123254985, 0.3897599578, -0.5441073179, 0.2015031874, 0.6594939232, -0.1455633193, -0.1776629984, 0.8430027366, 0.1937320679, -0.1762064546, 0.3649663031, -0.4027660489, -0.7752459049, 0.1130657569, 0.3689441085, 0.7925285101, 0.0109329578, 0.2547463477, 0.1563402861, -0.0834039971, 0.0818035454, 0.4919950068, -0.4414252341, -0.460801065, -0.4756940901, -1.1886508465, -0.2986393571, 0.2247366756, -0.5574098825, -0.0745494291, -0.1533938199, 0.1435417831, -0.1466212273, 0.2450822443, -0.6859741211, 0.109800674, -0.2095532566, 0.6021248698, -0.4431348741, 0.4063063264, 0.7897282839, -0.6505863667, -0.7557817101, 0.11377009, -0.3046799302, -0.5149716735, 0.5780402422, -0.076952979, -0.080453299, -0.0494446643, -0.3383148909, -0.6858103275, 0.952814281, 0.1616890132, -0.1284417361, 0.0059437836, 0.0288710222, 0.4263485074, -0.150775671, 0.3681899905, 0.0672911704, 0.4184194505, 0.1891486496, -0.8649428487, -0.1697356403, -0.4214277565, -0.0362697802, 0.396188736, -0.6840547919, 0.9488906264, 0.0520323589, -0.0210195296, 0.0097079882, 0.4736627936, 0.5736601353, 0.5262332559, 0.2823676169, 0.8081552982, 0.6215661168, 0.1866487861, 1.2783280611, -0.3177381158, 0.1985783577, 1.1075048447, -0.344647944, 0.903378129, 0.4139665663, 0.1416593939, 0.3688480556, 0.4200085998, 0.3996311426, 0.56273067, 0.1502364427, -0.5189533234, -0.2945966423, -0.4219938219, -0.4214018881, 0.4748998284, 0.2184179723, -0.1433762014, -0.4046463966, -0.052141238, -0.2269247919, 0.2013651729, -0.1811127365, 1.0005079508, -0.1746187657, -0.682531476, 0.5231915712, 0.0022579764, 0.7727054358, -0.4662164152, -0.1739965975, -0.6633242369, -0.0130840736, -0.3135596216, -0.8285748363, 0.1279137284, 0.1517059207, -0.3113978505, -0.3609663546, 0.9340794683, -0.5077057481, -0.3502405584, -0.0279037841, 0.783443749, 0.1666946858, -0.2450919002, -0.5325793028, 0.1088473126, -0.3288121819, -0.6250311136, 0.6555853486, 0.745657742, -0.1196436584, 0.3997728527, 0.5582379103, 0.2538496554, 0.0074027586, 0.2710486054, 1.1852211952, -0.3705393374, -0.3849112093, -0.1020166352, 0.6317299604, -0.2435567081, -0.2507582307, 0.7210236788, 0.9271406531, 0.945910275, 0.1875711977, 0.6778916717, -0.2341699451, 0.7416511178, -0.2659812868, 0.7906841636, -0.7568648458, 0.3478542566, -0.0613850802, -1.201261878, -0.040501602, 0.410291791, 0.0273468606, 0.2355527282, 0.2856437564, 0.7969442606, -0.271250546, -0.3953920603, 0.1778982729, -0.0801090077, 0.4288580716, 0.3233950436, 0.7881286144, -0.354098022, 0.5380933881, -0.1711573452, -0.0599819794, -0.2594622076, -0.4808715582, -0.7615882158, -0.5112606883, 0.3026804924, -0.2531247735, 0.0968587324, 0.6783300042, 0.5721419454, -0.6607837677, -0.0089514805, 0.1625585109, 0.1586895436, 0.0397869051, -0.2579144239, 0.2763427198, -0.5787139535, -0.5892372727, 0.4240805805, 0.1254113764, -0.2710443139, -0.5437084436, -0.1206926629, -0.0612536594, -0.0037508379, 0.7946975827, 0.1883268803, -0.4340889156, -0.1143681183, 0.1642334163, -0.0653438717, -0.1658514738, 0.9141331315, -1.0190526247, 0.3922318816, 0.7045168877, 1.2196394205, 0.8037391901, 0.3170039058, 0.164744556, -0.9369382262, -0.056340903, 0.5446618199, -0.0370761901, 0.4709339738, -0.5159551501, 0.5429871082, -0.0808471292, -0.701969862, -0.7870543003, 0.25757128, -0.9691614509, -0.2993436754, 1.1591924429, 0.2674248517, 0.0724204853, -0.1357111782, -0.2334083021, 0.1427415907, -0.3741750419, 0.8488441706, 0.2519967258, -0.3414570093, -0.1839561164, -0.7048873305, 0.500459671, 0.3247745335, -0.9755082726, 0.1727841049, 0.7703747749, 0.0656707361, 0.2665769756, 0.6215869188, -0.0910323784, 0.0974455997, -0.0592356212, -0.2126946598, -0.2076013684, -0.6653391719, 0.077527903, 0.6873109341, 0.3347820342, 0.2563789189 ]
http://arxiv.org/abs/2406.12564v1
http://arxiv.org/pdf/2406.12564v1
Low-Resource Machine Translation through the Lens of Personalized Federated Learning
2024-06-18T12:50:00
2024-06-18T12:50:00
Viktor Moskvoretskii, Nazarii Tupitsa, Chris Biemann, Samuel Horváth, Eduard Gorbunov, Irina Nikishina
cs.CL
cs.CL, cs.LG
We present a new approach based on the Personalized Federated Learning algorithm MeritFed that can be applied to Natural Language Tasks with heterogeneous data. We evaluate it on the Low-Resource Machine Translation task, using the dataset from the Large-Scale Multilingual Machine Translation Shared Task (Small Track #2) and the subset of Sami languages from the multilingual benchmark for Finno-Ugric languages. In addition to its effectiveness, MeritFed is also highly interpretable, as it can be applied to track the impact of each language used for training. Our analysis reveals that target dataset size affects weight distribution across auxiliary languages, that unrelated languages do not interfere with the training, and auxiliary optimizer parameters have minimal impact. Our approach is easy to apply with a few lines of code, and we provide scripts for reproducing the experiments at https://github.com/VityaVitalich/MeritFed
[ -0.2012296617, -0.2798902988, 0.3952648044, 0.3168329298, -0.1800519973, 0.1111869365, -0.5320150256, -0.3077380955, 0.3920668364, 0.5473710299, -0.8659731746, -0.5258844495, -0.7207325101, 0.5835573673, 0.0102951294, 1.0431113243, -0.2712421417, 0.3704702854, -0.3903918266, -0.7624977231, -0.4312639236, -0.3274231553, -0.2412547469, -0.4398685098, 0.6869925261, 0.8923166394, 0.3726797104, 0.7215085626, 0.9921159148, 0.3356732428, 0.2669237554, 0.0934762657, -0.7902992368, 0.2368373126, -0.1797553152, -0.6945099235, -0.2203802615, 0.068090722, 0.8927279711, 0.9831818342, -0.0172115508, 0.7279415131, -0.0250178464, 0.6266585588, -0.4915468097, 0.2755987942, -0.5082749128, 0.1883496493, -0.4672943354, 0.0193015803, -0.4243114889, -0.2114066035, -0.1776364297, -0.6348364353, 0.2813622057, 0.254224956, 0.3374632299, 0.6883096695, -0.0654480085, 0.0906199887, -0.5429093838, 1.1868128777, -0.3625609279, 0.4391589165, 0.5387455225, 0.5287384987, 0.0400273725, -0.7006456852, -0.315536201, 0.0568895563, -0.4721176028, -0.1963308007, -0.2426907271, -0.1429703832, 0.2017254978, 0.5614880919, -0.5142763853, 0.107077159, -0.2211855501, -0.1885805726, 0.6122125387, 0.3291429281, 0.0697389171, -0.133267343, -0.4017395377, -0.1035299525, -0.3162155449, 0.0757827461, 0.3433392346, 0.8472083211, -0.4441702664, 0.4318762422, -0.8908170462, 0.5548631549, 0.3361936808, -0.3132890761, 0.7111230493, -0.5736632943, -0.3416382968, 0.0932561681, 0.846688211, -0.1379268318, -0.4599210918, -0.4687655568, -0.3733230233, -0.4276000857, 0.0049883132, -0.6794219613, -0.0362038985, -0.1731854528, -0.6008852124, -0.2429669648, -0.2832930386, -0.5624557734, -0.2588904798, -0.4821519256, 0.276563853, -0.2320503443, 0.0705482215, -0.271299541, 0.2422512174, -0.08584892, 0.36656335, -1.0568618774, 0.3330613971, 0.575394392, 0.9809025526, -0.2383349389, -0.3700922728, -1.2974520922, -0.1045097411, 0.1661181152, 0.5319628716, -0.4917034805, 0.0689841211, -0.1556807458, 0.268231988, -0.1443483531, -0.4023583531, 0.7705182433, -0.392095089, 0.4770926237, -0.6464645863, -0.1976647824, -0.311196208, 0.1769958436, -0.6659161448, 0.7401735783, 0.5730239153, -0.7160407901, 0.3811889291, -0.6407417059, -0.6804044247, 0.2817853987, -0.1066939533, -0.3427707255, 0.2028217018, 0.0740309954, 0.5834570527, -0.630125165, 0.258058697, -0.4481831789, -0.2380657494, -0.1238372922, -0.4426503181, 0.8046271801, 0.4511579871, -0.4951196015, 0.1070861444, -0.6284494996, 0.040833544, 0.1761758029, -0.5848695636, -0.4507073462, -0.3977114558, 0.3308655918, 0.2805194259, 0.4220612049, -0.6387528777, 0.0649664924, -0.4162054658, -0.0340173468, 0.6318463683, -0.3248240352, 0.8553066254, -0.0546980835, 0.5883514881, -0.2708892226, 0.0664939284, 0.2039657831, -0.1897345036, -0.6023119688, -0.4203270376, 0.3687003851, 0.2515601814, -0.9365289211, 0.1070607677, -0.4272847474, -0.1790760309, -0.9295728803, 0.6265560389, 0.7083632946, 0.5720188022, 0.5757559538, -0.4419701099, -0.3611689508, -0.9070648551, -0.0843102187, 0.1739408821, -0.0463042408, 0.2672904432, 0.2260059118, -0.5038079619, 0.662901938, -0.5134248137, -0.5956024528, -0.4406020641, 0.1260457486, 0.2298862785, 0.5452076793, 0.6535505056, -0.7274695039, -0.6009332538, 0.4582543373, -0.698194325, -0.247546196, 0.154703185, -0.3368811607, 0.0344636254, -0.0524806082, -0.2155937999, -0.2582459152, 0.846015811, -0.376023531, 0.1685382128, -0.2074839175, 0.3285967708, -1.1580121517, 0.2223929465, 0.0245641395, -0.4872578382, -0.5270510316, 0.0465251356, -0.1285111606, -0.1091649011, -0.4819874763, 0.5943461657, -0.3291606009, -0.3790057302, -0.1722526401, -0.1043950394, -0.3260065019, 0.5261765718, -0.1196857989, 0.5281385779, 0.0094855502, -0.257335186, 0.3394224048, 0.3610384166, -0.1845185757, 0.7954474092, -0.1995439976, -0.0084674191, -0.009116862, -0.0385895856, -0.4413199723, -0.6903431416, 0.5816908479, -0.266741097, 0.2159861773, 0.0764422491, -0.4108280838, -0.1286491901, 0.0040980345, 0.2886606157, 0.2173887789, -0.738232851, 0.3116347194, 0.4858110845, -0.0086598787, -0.4766650796, -0.6903232336, -0.1031254381, -0.136939317, -0.4687476158, 0.2523084283, -0.0068737632, -0.2269337773, -0.041738756, -0.0709685758, -0.2900176346, 0.3930315971, 0.2668943703, -0.1317626834, -0.2998281121, 0.1952079237, 0.3308169246, -0.1169642061, -0.1772828698, -0.5348494649, 0.5222680569, -0.3393030763, -0.282076925, -0.6491901875, 0.2712880671, 0.3109709322, -0.369928658, 0.871555686, 1.1252179146, -0.3320784271, -0.1790973097, -0.3574198186, -0.1136146486, -0.427580595, 0.2589188814, -0.3586863875, -1.0201861858, 0.3069595397, -0.0428349338, 0.1116503775, 0.50561589, 0.6724828482, -0.1979294866, 0.6925465465, 1.0344625711, -0.5152065754, 0.4897771776, -0.2569963038, -0.1569580138, -0.5782016516, -0.1433123201, -0.5093271136, -0.7711935639, -0.5624091625, -0.6893675923, 0.1023729965, -0.1010256708, -0.1435592771, 0.3665409088, -0.243314445, 0.2401373386, 0.8619852662, -0.1263603717, 0.5172794461, 0.3056896329, -0.0009567591, -0.1701521277, -0.911888361, -0.2202285826, 1.0261260271, 0.1880441755, 0.5989711285, 0.0401958898, 1.0935907364, 0.5362932682, 0.6722752452, -0.5700690746, 0.2238124609, -0.3380833566, -0.4361110926, -0.4066990912, -0.947706461, -0.5929973125, 0.4917201102, -0.2664785087, -0.3452148438, 0.2052115649, 0.3028012812, -0.0668548197, 0.1233861819, -0.8052576184, 1.0313559771, -0.4734302461, -0.3752877414, -0.3619085252, -0.6697896719, 0.5825274587, -0.2267293036, 0.1307816058, -0.155059278, 0.1763351262, 0.8069006205, -0.3997370303, 0.7571726441, -0.2366042435, 0.2479266375, -0.1097198948, -0.2593653798, 0.5630920529, 0.1600432247, -0.1842398196, 0.3905580342, -0.3233152926, -0.7007826567, -0.2753794193, 0.8351346254, -0.72689569, -0.2584864497, -0.2650784552, -0.6681531668, -0.221390456, 0.4006134272, 0.3233047128, 0.1263375282, -0.3052191734, 0.3572206199, 0.3889466822, -0.0567338318, 0.3052985072, 0.7593862414, 0.3184414208, -0.6285184622, 1.0925167799, -0.0964749977, 0.273494035, 0.6569749117, 0.1967106014, -0.0997546613, -0.4709953666, -0.6307050586, 0.2973585725, -0.5331891179, -0.3774507046, -0.7679054737, 0.5668206811, -0.3406593502, -0.1591669619, -0.6233090162, -0.2877752483, -0.2589315176, 0.0727786571, 0.2017048448, 0.3376710117, 0.0792143568, 0.4563592076, -0.7969429493, 0.095733881, 0.0971070156, 0.3742710352, -0.3770719469, -0.3762088418, -0.6494197845, 0.2013490796, -0.0148575185, -0.3984666765, 0.3561884463, 0.103567943, 0.7418725491, 0.4074375033, 0.3717937768, 0.3933746815, -0.3988914788, 0.3112672567, 0.6153156757, -0.7953557968, 0.2541907132, -0.2288994938, 0.4936816692, 1.098826766, 0.3367453516, -0.700914979, -0.4564844966, -0.3948236704, -0.420481652, 1.1275359392, 0.2551234365, -0.0006296459, 0.4162803292, 0.0558213405, 0.3841373622, 0.3863108456, -0.5760375261, -0.3640451431, -0.0194459166, -0.6208555102, -0.4805676937, 0.0963143557, -0.258653909, -0.2086379379, 0.5662622452, -0.5192652941, 0.1945473552, -0.1523625404, -0.464602977, -0.4205730855, 0.2103044987, 0.591567874, 0.1797771752, -0.184773013, 0.0125579042, 0.2352550775, -0.4897832572, 0.2683926523, 0.5561851859, -0.4192830026, 0.1914187223, 0.4643825293, 0.9918307662, 0.429066509, -0.5670244694, 0.2541768253, -0.2077332586, -0.3281095326, 0.2117787898, -0.1209568903, -0.0626905635, 0.4065698683, 0.1463767886, 0.422390908, -0.0277023502, -0.1092824265, 0.0707620755, 0.2913810909, -0.6357469559, -0.7130089998, 0.79858917, 0.6739721894, 0.0288403612, 0.2867855132, -0.4944408834, -0.3812466562, 0.1891443282, 0.3198941946, 1.0558001995, -0.217476204, 0.6174465418, 0.2435409427, 0.5290994048, -0.281378746, -0.1410055757, -0.3037122488, -0.4956683218, -0.3917105496, -0.9461584687, -0.2818184495, -0.0341856144, -0.4724499285, 0.0936107337, -0.3009882569, 0.0364582017, -0.1726538241, 0.3917635977, -1.0577640533, 0.0970698744, 0.0483390018, 0.40114519, -1.0319492817, 0.8329629898, 0.8563223481, -0.5763865113, -0.6295125484, 0.0425690487, 0.0714609772, -0.6015329361, 0.9691222906, -0.0299714692, -0.0014612742, 0.0944264457, -0.0727246925, -1.1791721582, 1.1465528011, 0.7771954536, -0.4599455297, 0.2580271661, 0.2379616052, 0.4396183193, -0.4984455705, -0.2264157534, 0.440223366, 0.5561894178, -0.2093657404, -0.8659335971, 0.0702181235, -0.0213620719, -0.1818996966, 0.219650194, -0.6810382009, 0.7027161121, -0.1882555336, -0.2752335668, -0.2943503857, 0.8140243888, -0.3213403225, 0.5686476827, 0.5306084156, 0.5483067036, 1.1076117754, -0.0134109184, 1.1563267708, -0.0415873043, 0.552302599, 1.2662773132, -0.2626325488, 0.5542663932, 0.5407632589, -0.1443103552, -0.0266545173, 0.455992341, 0.1138528511, 0.8108041883, -0.0946379453, -0.3074605167, -0.209989503, -0.4487782121, -0.2908788621, 0.5018004775, -0.2622607648, -0.549577713, -0.3280463219, 0.4101365507, -0.1112182736, 0.2375217825, -0.3248021603, 0.619564414, 0.1684384048, -0.390016675, 0.7458233833, 0.400605917, 0.7107607126, -0.356649816, 0.3562163115, -0.5714925528, 0.3862512708, -0.100548856, -0.1600266546, 0.2933252752, 0.2356810719, -0.5518583655, -0.7522007823, 0.6482121348, -0.6302769184, -0.6277063489, 0.1369548589, 0.6641287208, -0.1642279029, 0.1254812628, -0.5212188363, -0.1087006554, 0.1969833374, -0.1791771948, 0.6614667773, 0.2955673933, -0.0567470565, 0.5702928305, 0.5391555429, -0.039477855, -0.1893669218, -0.0543744266, 0.7962011695, -0.3094893992, -0.6112015843, -0.373396486, 0.179758817, -0.0319251008, -0.3395242989, 0.8143506646, 0.5126600266, 1.1871027946, -0.3351943791, 0.7506343722, -0.1946668029, 0.4646683931, -0.3649237156, 0.8135142922, -0.6189261079, 0.0085885413, -0.3178243637, -0.913297236, -0.1807458401, 0.2251086831, -0.520155549, -0.4972312748, 0.636772573, 0.3310983777, -0.2345978767, -0.1939142793, 0.3373358846, -0.2854574621, 0.0410172306, 0.4742475748, 0.3187263906, -0.3021092415, 0.5384486318, -0.6510192752, -0.1512340307, -0.5042055845, -0.380726397, -0.7461510301, -0.6057826281, -0.2226961702, 0.1568775773, -0.0528033115, 1.2932795286, 0.6015859246, -0.861241281, -0.1545494348, 0.02457943, 0.5178217888, -0.4387495518, -0.1457192451, 0.0064912792, -0.6488329172, -0.9280734658, 0.4003146887, 0.1566613764, -0.301050514, -0.1406710595, -0.439627409, -0.2129886895, -0.6266900301, 0.6175954342, 0.2294358164, -0.5251930356, -0.1820891798, -0.0201195087, -0.3834506869, -0.0318783633, 0.704674542, -0.6108490229, 0.4322733879, 0.7686221004, 1.1869285107, 0.3122907579, 0.0888471529, 0.7258425355, -1.0107198954, 0.3806287348, 0.1733368039, 0.192805171, 0.4726132154, -0.5027481914, 0.5956593156, 0.7155218124, -0.1337480992, -0.9184922576, -0.1052707955, -0.6412786245, 0.1328291148, 0.89018327, -0.2557224035, -0.2442408949, 0.2033427805, 0.1686900109, 0.1712421626, -0.5325585008, 0.5120106339, 0.4929787219, 0.1185673475, 0.0148666576, -0.5876235366, 0.5657815933, 0.5174973011, -0.9979596734, 0.0016298605, 0.6296600699, 0.1313107461, 0.1924013644, 0.7978162169, 0.2498368472, 0.18682006, -0.2903420031, 0.1182701588, -0.0466083772, -0.0997440293, -0.5672285557, 0.1304085106, -0.1135146245, -0.4169684052 ]
http://arxiv.org/abs/2406.12549v1
http://arxiv.org/pdf/2406.12549v1
MultiSocial: Multilingual Benchmark of Machine-Generated Text Detection of Social-Media Texts
2024-06-18T12:26:09
2024-06-18T12:26:09
Dominik Macko, Jakub Kopal, Robert Moro, Ivan Srba
cs.CL
cs.CL, cs.AI
Recent LLMs are able to generate high-quality multilingual texts, indistinguishable for humans from authentic human-written ones. Research in machine-generated text detection is however mostly focused on the English language and longer texts, such as news articles, scientific papers or student essays. Social-media texts are usually much shorter and often feature informal language, grammatical errors, or distinct linguistic items (e.g., emoticons, hashtags). There is a gap in studying the ability of existing methods in detection of such texts, reflected also in the lack of existing multilingual benchmark datasets. To fill this gap we propose the first multilingual (22 languages) and multi-platform (5 social media platforms) dataset for benchmarking machine-generated text detection in the social-media domain, called MultiSocial. It contains 472,097 texts, of which about 58k are human-written and approximately the same amount is generated by each of 7 multilingual LLMs. We use this benchmark to compare existing detection methods in zero-shot as well as fine-tuned form. Our results indicate that the fine-tuned detectors have no problem to be trained on social-media texts and that the platform selection for training matters.
[ -0.3470226228, -0.8614925742, 0.4495704472, 0.4773660004, -0.4917431772, 0.53231287, -0.3683356047, -0.7121799588, 0.6404844522, 0.1709690839, -0.4756835699, -0.8079921007, -0.7482534647, 0.5691012144, -0.3091177344, 0.8255877495, -0.0907912105, -0.0022789782, -0.0081636608, -0.5051386952, 0.1622761488, -0.5655785203, -0.6859579086, 0.0461379439, 0.8457832336, 0.4919343889, 0.2888202667, 0.1798756272, 0.53529495, 0.3478226662, 0.0211037323, 0.6834149957, -0.4578591287, 0.1181217134, 0.1166963652, -0.0751716346, -0.2576251924, -0.0547228046, 0.8163256049, 0.2445565611, 0.240510121, 0.4333935082, 0.2092667967, 0.5465406775, -0.7414634824, 0.0130087379, -0.5510103703, -0.0815062821, -0.4061740339, -0.3407369852, -0.3184832036, -0.3565206528, -0.6522411108, -0.3442620635, 0.2751802504, -0.1355546564, 0.5666516423, -0.1325430721, -0.6024794579, -0.3893807828, -0.5602070093, 0.6535745859, -0.5008115172, 0.4342077971, 0.4305263758, 0.3327379823, 0.0944936424, -0.5010842085, -0.5753235221, -0.0158477798, 0.0599587373, 0.1541383117, -0.0788791329, -0.3879378438, 0.0168920923, -0.2003867477, -0.6971971989, 0.1776028275, -0.2817972302, -0.3717001677, 0.8372068405, -0.0479232892, 0.1611385494, -0.2127149552, -0.1848896742, -0.0180601273, -0.6420112252, -0.1359471828, 0.5676538348, 0.3115539253, -0.3369347453, 0.4338896275, -0.3253156841, 0.1173423305, -0.3666234016, -0.4123791456, 0.5237872005, -0.6038173437, 0.1801456958, 0.1741390079, 1.2071522474, 0.547478497, 0.5952140689, -0.0125350505, -0.1609637886, 0.2305257022, -0.1273537278, -0.7797702551, 0.0571740828, 0.0143566728, -0.6520380378, -0.6246569157, 0.0452231728, -0.5749437213, -0.4945547581, 0.0318834819, 0.0289909132, -0.2808185518, -0.4451642931, -0.040151, -0.0070147295, 0.0269029792, 0.1281821132, -0.4692090452, 0.140962705, 0.4979371727, 0.9994094968, 0.0532475747, -0.6379470229, -0.6239487529, 0.1296511441, -0.3036422133, 1.1499773264, -0.4097250998, -0.2186604291, 0.2349101752, 0.237841472, 0.1775241345, -0.4297266901, 0.6340208054, -0.284175843, -0.1466255486, -0.4387960434, -0.3421465158, 0.2660078704, 0.2473748475, -0.4944698215, 1.3199133873, -0.2819250226, -0.8457878232, 0.6196963787, -0.4215587378, -0.7284695506, 0.150696829, -0.1450516433, -0.5247697234, -0.0563877746, 0.1773192883, 0.9060300589, -0.205932796, 0.2911701798, -0.9527679682, -0.5559208989, 0.5159323215, -0.551620245, 0.5862593055, 0.2257092893, -0.1569185257, -0.0187008064, -0.9303324223, -0.0945118293, 0.3122145832, -0.3237217665, -0.5205227733, 0.0401956588, 0.4896267951, 0.3718770444, 0.3773031235, -0.9473208785, -0.3366672695, 0.1684265435, 0.6183495522, 0.7219073772, -0.0208768137, 0.1659236103, -0.2367516309, 0.3367967308, 0.0309798494, 0.0829409882, -0.340461731, -0.4780133665, -0.3811020255, -0.2867206037, 0.0914867967, 0.4553197026, -0.9553875923, 0.279320538, -0.1152020991, -0.5785660148, -0.6441906691, 0.3652054369, 0.406275034, -0.0813661665, 0.1379265785, 0.0147671737, -0.5389218926, -0.7673946619, -0.6358423233, -0.1334023774, 0.2050679326, 0.2949400246, 0.596511364, -0.2528473139, 0.4013454318, -0.3121456802, -0.2441758364, -0.1931313127, 0.2161259055, -0.121296145, 0.0717108548, 0.6520368457, -0.8182216883, -1.0497232676, -0.0701974779, -1.0332571268, -0.3495482206, 0.0418609977, 0.0706620663, 0.235325098, 0.8583986759, -0.4054142833, 0.1845735312, 0.6874191761, -0.1355656981, 0.4885044098, -0.321927011, 0.3093284965, -1.4054006338, -0.1203926429, 0.4540303946, -0.4490617812, -0.527215302, -0.1135871485, 0.2812542617, -0.129772082, -0.6396608353, 0.6950284243, -0.5270813704, -0.1885981858, -0.2501677275, 0.5019274354, 0.0411974639, 0.2067055106, -0.1928500086, 0.7853844762, 0.3025853634, -0.5033129454, 0.2550018132, -0.1541267484, -0.2745275497, 0.9934422374, -0.7641470432, 0.2115563005, -0.2301204652, 0.188848123, -1.2648231983, -0.1936414987, 0.1618622094, -0.6921394467, -0.0542179346, 0.1124445796, -1.0312068462, -0.3197034895, -0.6740002632, 0.2485556453, 0.000289095, -0.4062035978, 0.2203441411, 0.6232784986, -0.2473426163, -0.5054997802, -0.5990625024, 0.4216797948, -0.18539913, -0.6338748336, 0.336032778, -0.0314194001, -0.0592916198, -0.0107902298, 0.269682616, -0.1348777711, 0.1377889961, 0.0280607734, 0.0578706972, -0.1670418829, 0.1399320513, 0.2871049643, -0.1896799058, -0.1160439849, 0.1503169984, 0.6142309904, -0.11097157, -0.4061918259, -0.3871832788, 0.5000767112, 0.6322463155, -0.3202100396, 0.727453351, 1.1500133276, -0.4760400653, 0.0733791813, -0.6093975306, -0.1086070016, -0.5282194614, 0.1645055711, -0.3035750091, -1.0642952919, 0.5239661932, 0.014875385, -0.1497443616, 0.2880435586, 0.4984490573, -0.1837104112, 1.1010746956, 0.5092838407, -0.1296447068, 0.4002523422, 0.2986961305, 0.1772766709, -0.4030091465, 0.0125818281, -0.7238761783, -0.25881657, -0.9779546857, -0.3058613539, 0.2320891917, -0.1880639493, -0.1749619246, 0.5152127147, -0.4991385043, 0.6166805625, 0.5685867667, 0.2445642501, 0.3737099171, 0.0024689727, -0.0480394289, -0.086298354, -0.4663254619, -0.8316649199, 1.1077262163, 0.1541780084, 0.5053724647, 0.0902096033, 1.0297154188, 0.4616259634, 0.4027233124, -0.3823083639, 0.6233104467, -0.4954029024, -0.5679792762, -0.0831528604, -0.4061924815, -0.991366744, 0.2171752453, -0.4310701191, -0.6059767604, 0.0465817153, -0.1221126765, -0.1587241143, 0.2149967849, -0.6599431038, 0.8522631526, -0.3255709112, -0.4240059257, -0.1828713119, -0.6361922026, 0.1274941415, -0.3285428286, 0.5784655213, -0.5274181962, -0.0759017617, 0.6086609364, -0.0389011241, 1.1429105997, -0.2099927962, 0.0227274727, 0.3499309421, -0.1280431896, 0.5062690377, 0.1430089325, 0.1325845867, 0.2798113525, 0.1307882816, -0.5135068297, 0.0428270698, 0.7095846534, -0.7101984024, 0.2497384101, -0.2680367231, -0.1413281262, -0.0093249884, 0.4609081447, 0.3721550405, 0.3742294312, -0.6682107449, 0.3733282685, 0.4428029358, -0.4600784183, 0.5709018111, 0.8360847235, -0.1262347251, -0.6143068075, 1.0539003611, 0.0505567119, -0.1058304086, 0.4014908671, 0.0773257539, -0.3787889779, -0.22450459, -0.5225619674, 0.372053355, -0.6487725377, -0.2053376138, -0.9044592977, 0.0084644845, -0.5514529943, -0.2594898939, -0.4506686628, -0.0394212604, -0.2795874774, 0.1018665135, 0.2765776813, 0.632981956, -0.3000303805, 0.3320342004, -0.9849035144, 0.580031991, -0.13686499, 0.3150540888, -0.2748104036, -0.0783670321, -0.2900364101, 0.1362747997, -0.116892606, -0.8748181462, 0.2129735798, 0.3033410609, 0.477286011, 0.5068184733, 0.0010964992, 0.4029481113, -0.5210623741, 0.3399615586, 0.2645446658, -0.7408159971, 0.3922280669, -0.5515038371, 0.2177780122, 0.6946466565, 0.4420313835, -0.9480435252, -0.4493448138, -0.4427976906, -0.5136076212, 0.3960786164, 0.1979179084, 0.3743635416, -0.2610398531, 0.2820801735, 0.059605673, 0.350269556, -0.8963281512, -0.0864668861, -0.0462505035, -0.2741622329, -0.3846761584, -0.3421828747, 0.1445847005, 0.0256092232, 0.393656224, -0.273893714, 0.2929478288, -0.0808264911, -0.1040594578, -0.1463843584, 0.1302489638, 0.6558516622, 0.3949063718, -0.0240226053, 0.3907518089, 0.0899315178, -0.5361360908, 0.3170034587, 0.1300048381, -0.1572552174, 0.2735690176, 0.4252048731, 0.4805321395, 0.3878577352, -0.5962994099, 0.5429666042, -0.1757797599, -0.3605908453, -0.2781953216, -0.2246344537, 0.3694963455, 0.3231855929, 0.2983540893, -0.1056640446, 0.0863750651, -0.6005820036, 0.2554788589, 0.4700392187, -0.3539409637, -0.4239958823, 0.5621122122, 0.3302754164, -0.4932003021, 0.0840604827, -0.5563024879, -0.5098939538, 0.6577369571, 0.4672578275, 0.9798327684, -0.1250597537, 0.7057945132, 0.1637034416, 0.5370311737, -0.0713160485, 0.5029512048, 0.0628220737, -1.1709030867, -0.3434779048, -0.5427569151, -0.4305856526, 0.089014411, -0.4868542254, 0.5062775016, -0.3949213624, -0.229801178, 0.5039266348, 0.0202355459, -0.5726976991, -0.0456744693, 0.2354574949, 0.628647089, -1.11667943, 0.744284749, 0.9379056692, -0.1080467254, -0.2393269837, -0.1358044147, 0.2892260253, -0.8497418761, 0.3091406226, 0.5454514623, -0.4266792536, -0.0444371216, -0.6331774592, -0.4450586736, 0.853314817, 0.3048382103, -0.3916478753, 0.373465687, 0.4618836641, 0.7392459512, -0.328452915, 0.0807126164, 0.0941790268, 0.416567713, -0.1653529853, -0.6851401329, -0.0445092991, -0.4567308128, -0.1115685552, 0.3706502914, -1.0517585278, 0.7507375479, 0.1147325709, -0.245328784, -0.19723396, 0.300211668, 0.4287892282, 0.9049488306, 0.3325650394, 0.2469360828, 0.6735270023, 0.0902322233, 0.6823453307, -0.5723658204, 0.362749815, 0.8275516033, -0.7248436809, 0.8614733219, 0.1807315499, -0.1915975064, 0.3220769167, 0.8626012206, 0.051360026, 0.3557229936, -0.1948677152, -0.4833718538, -0.2668800652, -0.2683699727, -0.2374213189, 0.5981214046, 0.2751924992, -0.3122258782, -0.222175613, -0.0991943032, 0.1069052294, 0.2239099443, -0.0675524175, 0.740427494, 0.1434680372, -0.2687005103, 0.360901624, 0.3241150379, 0.8995858431, -0.4191450179, 0.2682573795, -0.1541822255, 0.3436220586, -0.1002008021, -0.7751906514, 0.2889899611, 0.115395233, 0.1429330558, -0.2753663957, 1.4047099352, -0.3484215736, -0.7088010311, 0.6006522775, 0.8095971942, 0.3731402457, -0.3541230559, -1.0006597042, 0.0700053498, -0.242833674, -0.0038392581, 0.3200258911, 0.9395605922, 0.0167795159, 0.4657946527, 0.7727488875, -0.1120633483, -0.0551556647, 0.3040671647, 0.787768662, -0.5776303411, -0.4046140909, -1.126963377, 0.1159561276, -0.4365434647, -0.4809319973, 0.9406183362, 0.6703366041, 0.9143531919, 0.1929678023, 0.8851194382, 0.0851482674, 0.6011583209, -0.2397641838, 0.7464548349, -0.7667489648, -0.1041418463, -0.6537227631, -0.980342865, -0.2148194462, 0.5159650445, 0.0113947289, 0.0285189636, 0.5891441107, 0.7542180419, -0.1056005433, 0.00900923, 0.3778430521, -0.2346608043, 0.1154362187, 0.3014691174, 0.8411669731, -0.5541495085, 0.609282434, -0.235679388, -0.2258507311, -0.3657894433, -0.9674701691, -1.2421910763, -0.4733166397, -0.1937886178, -0.4092929661, 0.0933198705, 0.7448437214, 0.453853786, -0.6813120842, -0.2809675634, 0.1321700513, 0.074734956, -0.0535292774, -0.1322404146, 0.035338182, -0.1004122868, -0.5542186499, 0.2504825294, 0.5070666671, 0.1055281386, -0.3848453164, -0.0979767144, -0.4346004128, 0.0277144033, 0.9369592071, 0.0458840616, -0.1356563866, -0.2578186095, 0.4851008058, -0.3241529167, 0.0531211384, 0.7350540757, -0.1384653151, 0.1998628527, 0.4784285426, 0.4596520662, 0.5717110634, -0.2743903399, 0.0973410681, -0.9801009297, 0.3086747229, -0.0565696806, 0.3829252422, 0.5472334027, -0.3149163425, 0.5382282734, 0.56460464, -0.6184557676, -0.8871545196, 0.0531951338, -0.6733309627, -0.4628304541, 1.3738723993, 0.0053322772, -0.0135681042, -0.2915737927, -0.13078852, 0.3750036955, -0.5370800495, 0.8106538057, 0.8238504529, 0.3307028711, -0.3111668825, -0.5088561773, 0.1521566659, 0.0863631293, -0.9638622999, 0.0000143818, 0.3333405852, 0.184890002, 0.1271517575, 1.1331727505, 0.0496520661, 0.1835768372, 0.0426039137, 0.0769002438, 0.2018145919, -0.3837032616, 0.0617401935, 0.0609617233, -0.0833917409, -0.0530076176 ]
http://arxiv.org/abs/2406.12548v1
http://arxiv.org/pdf/2406.12548v1
P-Tailor: Customizing Personality Traits for Language Models via Mixture of Specialized LoRA Experts
2024-06-18T12:25:13
2024-06-18T12:25:13
Yuhao Dan, Jie Zhou, Qin Chen, Junfeng Tian, Liang He
cs.CL
cs.CL
Personalized large language models (LLMs) have attracted great attention in many applications, such as intelligent education and emotional support. Most work focuses on controlling the character settings based on the profile (e.g., age, skill, experience, and so on). Conversely, the psychological theory-based personality traits with implicit expression and behavior are not well modeled, limiting their potential application in more specialized fields such as the psychological counseling agents. In this paper, we propose a mixture of experts (MoE)-based personalized LLMs, named P-tailor, to model the Big Five Personality Traits. Particularly, we learn specialized LoRA experts to represent various traits, such as openness, conscientiousness, extraversion, agreeableness and neuroticism. Then, we integrate P-Tailor with a personality specialization loss, promoting experts to specialize in distinct personality traits, thereby enhancing the efficiency of model parameter utilization. Due to the lack of datasets, we also curate a high-quality personality crafting dataset (PCD) to learn and develop the ability to exhibit different personality traits across various topics. We conduct extensive experiments to verify the great performance and effectiveness of P-Tailor in manipulation of the fine-grained personality traits of LLMs.
[ -0.7019733191, -0.7683445215, 0.5743024349, 0.5380083919, -0.072156176, 0.0878080502, -0.4928387702, -0.1765632033, 0.6425372958, 0.6417355537, -0.6278699636, -0.4582355022, -0.4552003741, 0.123524107, -0.0745494366, 0.6986299753, 0.1879927218, 0.0454739071, 0.1007108018, 0.0218611974, -0.6024745703, -0.6208018661, -0.4473891258, -0.4782222509, 0.5987118483, 0.6372529864, 0.4396310747, 0.5307407379, 0.2109329104, 0.3105125725, -0.2184886783, 0.2559060156, -0.5134751201, 0.0321205296, -0.5423300862, -0.3708477914, -1.0213762522, 0.0664131716, 0.2987672389, 0.6695210338, -0.2996290624, 0.1471711695, 0.0662767589, 0.5304926038, -0.6353171468, -0.0304766428, -0.7138011456, 0.0490383133, -0.1928705126, 0.1081420481, -0.3386082053, -0.3982758224, 0.2128990889, -0.407848835, 0.1477274448, 0.0485493839, 0.3947224021, 0.1715258062, -0.5656250715, -0.0103099765, -0.8601329923, 0.90869385, -0.8975844383, 0.0210481472, 0.64502424, 0.3598848879, -0.1635144204, -0.2173146605, -0.5206122994, 0.0966482982, 0.0577374659, 0.0687551126, 0.2276896685, -0.216724202, -0.0797782838, 0.5797960162, -0.3267299831, 0.4773787558, 0.0031558562, -0.0749210268, 1.0393044949, 0.3579174876, 0.0225509405, 0.3492268622, 0.0206378903, 0.1707178801, -0.5308932066, -0.0052171256, 0.64117378, -0.0108788926, 0.0108536351, 0.4996814728, -0.3140151501, 0.4599496722, 0.5191291571, -0.6485420465, 0.1340843439, 0.0721764341, -0.0857943445, -0.1026827097, 0.7498984337, 0.1491086334, 0.6470224261, -0.0831488594, -0.0112882573, -0.3408099711, 0.084475942, -0.6820091009, -0.4318360984, 0.2703100145, -0.5429788232, -0.361263901, -0.1673455387, -0.8581848145, -0.611366868, -0.2986335456, -0.0574749224, -0.6828302741, -0.3850618899, 0.1893981695, 0.0758281425, 0.2630428672, 0.1972493529, -1.040492177, 0.1774054617, 0.4368932843, 0.4168750644, -0.2660013735, -0.4500409067, -0.371779561, 0.2699838579, -0.0545467474, 0.8688017726, -0.9853329659, -0.5927453041, -0.120423086, -0.2659229338, 0.0692908317, -0.3641412556, 0.6875352263, -0.3179959655, 0.3123532236, -0.3976908028, -0.6222258806, -0.0445334129, 0.1222530603, -0.2382554114, 0.6629987359, 0.2905736268, -0.548276186, 0.3446837962, -0.5087196231, -0.4480453134, 0.0335749127, -0.0479430184, -0.4784629047, 0.2571352124, 0.5171840191, 0.7025486231, -0.1062769443, 0.102947779, -0.8192133307, -0.373894304, 0.6381961107, 0.1351798475, 0.3571531475, -0.0388158001, -0.0712337121, 0.2362913787, -0.8974858522, 0.1683107018, 0.0768908337, -0.6085138917, -0.297849685, 0.1158730537, 0.2046800256, 0.1572357863, 0.6251852512, -0.4683983326, 0.4391880035, -0.3332744241, 0.3372162879, 1.1911748648, -0.0460510887, 0.4679647386, -0.4008320272, 0.5346719623, -0.0139057022, 0.0303118508, 0.1966742575, -0.5242494345, -0.6814389229, -0.8076441884, -0.0205834452, 0.4968245327, -0.2661979198, 1.3352767229, 0.0779929683, -0.8051268458, -0.4377577603, 0.4205158949, 0.4122433066, 0.2916133404, 0.1997027993, -0.3441999853, -0.5877104402, -1.0264977217, -0.6919497848, 0.1620990932, -0.2109799683, 0.3588918746, 0.3160406351, -0.338740021, 1.2774027586, -0.824405551, -0.2863367796, -0.5259609818, -0.2899062037, 0.3321501613, 0.3526681364, 0.6783803701, -0.533513248, -0.7134508491, -0.0324837714, -0.2969068885, -0.4705460668, 0.3205876648, -0.1376024783, -0.0621246435, 0.0656614527, -0.2502893209, 0.1033771411, 0.467220068, -0.6687827706, 0.8183799386, -0.2995625138, -0.4079820514, -1.3448365927, 0.2059593797, 0.2219540477, -0.1197907627, -0.4314686656, 0.0291612111, -0.2024563551, -0.0634839013, -0.0798901767, 0.7590702176, -0.1987179965, -0.0358216874, -0.2493880391, -0.1004640013, -0.0399604179, 0.7529098988, 0.1275903136, 0.5168936849, 0.5279438496, -0.5564268231, 0.474948287, 0.5054125786, -0.1785126328, 1.0429632664, -0.6665747166, 0.594179213, 0.014280403, 0.3155021667, -0.4869306982, -0.568582058, 0.0413460881, -0.1080706641, -0.0599561445, -0.237754792, -0.3557856083, 0.0475645997, -0.3062469363, -0.2062810808, 0.783002317, -0.2568201721, 0.7894893885, 0.3283364475, -0.5612868071, -0.2204007357, -0.4723754525, -0.0113611799, -0.5706428289, -0.5390410423, 0.5489978194, -0.5650513768, -0.1689072847, -0.3422732949, 0.2077961564, -0.2394437045, 0.015973771, 0.105942674, 0.0149246035, -0.2641303539, -0.2463169992, 0.1649950296, -0.1400894672, -0.2527223825, -0.127252236, 0.7431657314, -0.2479182631, -0.3009726405, -0.4509863257, 0.5571808815, 0.7483847737, -0.6928833723, 0.9264095426, 0.9140433669, -0.0150763383, -0.2777277231, -0.8588288426, -0.1556337029, -0.5195475221, 0.4733498394, -0.5641605258, -0.9044597745, 0.7779909372, 0.0629433244, 0.0277511571, -0.0326199122, 0.8714014292, -0.0534803458, 1.1048951149, 0.8176848292, -0.2957598269, 0.7060718536, -0.0377405211, 0.3313206434, -1.1436415911, -0.1778004467, -0.2791079283, -0.708252728, -0.5040606856, -0.0207449682, 0.441890955, -0.1304678917, -0.5981287956, 0.0047088368, -0.4384920001, 0.5409728289, 0.6157487035, 0.3359698355, 0.2825283706, 0.027857013, 0.1320322752, -0.2717580497, -0.265437305, -0.6825541258, 1.1195373535, 0.4619623125, 0.9914534092, 0.2994919717, 0.6006044149, -0.0054233107, 0.0958952978, -0.8179087639, 0.7028939724, -0.5381476283, -0.3180487156, -0.1582492888, -0.2668123841, -0.4141284525, 0.154870972, -0.2270026058, -1.0662772655, 0.4349486828, 0.3302766085, -0.2103034109, 0.1489818096, -0.7942941189, 0.5868321657, -0.1903271079, -0.1845556051, -0.2514833212, -0.2616051435, 0.3756390214, -0.3385074437, -0.1413647979, -0.151336208, -0.2178698778, 0.4490849078, -0.3939186633, 0.9453129172, -0.0156855397, -0.1482507586, -0.3499248922, 0.2713654041, 0.6888900399, -0.0035559833, -0.3085972071, -0.2529139817, -0.0187409967, -0.585888505, -0.6556524038, 0.820027709, -1.01489079, -0.4797927141, 0.0639670715, -0.4330162108, -0.6704309583, 0.1788906008, 0.2745528221, 0.1016244888, -0.2582207322, 0.1685625911, 0.7402780056, -0.3417171538, 0.1827020645, 0.8955308795, -0.1711423546, -0.4817010462, 1.0482604504, -0.1362920105, -0.0744802803, 0.1516892463, 0.5899759531, 0.0783963054, -0.6114972234, 0.1252512336, 0.314722389, -0.5340919495, 0.2241212279, -0.4725066125, 0.0995675847, -0.5275366902, -0.4582907259, -0.378649205, -0.0099592255, -0.2783191204, 0.3192009032, 0.4076182544, 0.5238608122, 0.5507109165, 0.6158028245, -0.5076360703, 0.1486094147, 0.3935872316, 0.5445600152, -0.1807894111, -0.585244, -0.0743986517, -0.1808696687, -0.4524389505, -0.8039188385, 0.6224300861, 0.4674173892, 0.5138303638, 0.8026123047, -0.223056674, 0.4824679196, -0.1741030067, 0.5552104115, -0.1967880875, -0.9641265273, 0.5124161839, -0.5189292431, 0.1647208482, 0.275544554, 0.1642038524, -0.4758398533, -0.3458187282, -0.5000907183, -0.6050465703, 0.557362318, 0.0508047603, 0.1532531232, 0.3913848698, 0.533000648, 0.2937828898, 0.2727044225, -0.5349192023, -0.0341455527, -0.1510601044, -0.3796212375, -0.0408333391, -0.3606834114, 0.0579930916, -0.1925295889, 0.7739645243, -0.4959400594, 0.034662772, -0.02100976, 0.1215363368, 0.2377053797, 0.4881005585, 0.4952632189, 0.6305215955, -0.2692317069, -0.2970022559, 0.1272931099, -0.4057900906, -0.0159429908, -0.1133854762, 0.1197308078, -0.3475241661, 0.4027347267, 0.6533358097, 0.0505667366, -0.6512683034, 0.2612353265, -0.0109860953, 0.1037393138, -0.5297302604, 0.464312911, 0.2311152816, 0.2792147696, 0.1396267414, -0.084397018, -0.1485066861, -0.6329112649, -0.2994271517, 0.2549464107, -0.0777395889, -0.5040526986, 0.2475145608, 0.5037380457, -0.5633481741, 0.4962570667, -0.0383826047, -0.3450708091, 0.3954748809, 0.5005530119, 0.8202991486, -0.5451982617, 0.0139680188, -0.1292525083, -0.1647033691, 0.046015732, 0.3613241911, 0.1704262197, -0.9879924655, -0.4974739254, -0.7291143537, -0.4740522504, 0.2935009301, -0.5559870005, 0.3525314033, -0.7683188319, -0.1233505607, -0.2101007253, -0.0434762612, -0.6557103992, 0.0847737268, -0.0717668161, 0.7951783538, -0.7072075605, 0.8195981383, 1.2485516071, -0.2303348631, -0.6722144485, 0.0685992986, -0.0574198402, -0.8687902093, 0.5618207455, -0.3030948937, 0.2843431532, 0.1415680349, -0.3448604941, -0.6313162446, 0.9694211483, 0.7537084222, -0.4925431013, -0.3921233714, -0.0252739768, 0.5928621292, -0.5321996808, 0.2154281437, 0.7524546981, 0.5125465393, 0.0257321429, -0.9865499735, -0.2696302533, -0.3479216695, 0.1342739463, -0.083959192, -0.929754436, 0.7947105765, 0.0725494921, 0.595511198, 0.1828719079, 0.4111039937, 0.4013776481, -0.0774956197, 0.4304479659, 0.4700322747, 0.7210000157, 0.2591658235, 0.7238547206, -0.4822644889, 0.2146431655, 1.1453771591, -0.434440434, 0.7137352228, 0.3752823174, -0.220488593, 0.6747177839, 0.4838659763, -0.0969280377, 0.3818924427, 0.0014120601, -0.2703742981, -0.4515704215, -0.0082818363, -0.1039786637, 0.8146144748, 0.4116689265, -0.4731110632, 0.2310518175, -0.0204244796, 0.0815308541, 0.2145064771, -0.2227775156, 0.7152336836, 0.1288778633, -0.5818206668, 0.1204851791, 0.4299621582, 0.9035458565, -0.7331139445, 0.2570151687, -0.5489862561, 0.5154159665, -0.4316351414, -0.7768841982, 0.1906711012, -0.0550081469, -0.306712836, -0.5144791007, 0.7720959187, -0.301608175, -0.5518888235, -0.1681967825, 0.5328717232, -0.0905580521, -0.45390293, -0.396943748, -0.2205710709, -0.2090456188, -0.3200441301, 0.5945313573, 0.3214786649, -0.0253056474, 0.9269273281, 0.5546790361, 0.355766505, -0.2669504881, -0.0246390328, 0.8098118305, -0.7081923485, -0.8209812045, -0.9369406104, 0.4988646209, -0.076052554, -0.6894909143, 0.6659738421, 0.2984971404, 0.4789766073, -0.3785834014, 0.8888493776, -0.0558438078, 0.5649203062, -0.4458088875, 0.7210932374, -0.2011957318, 0.2137559205, -0.4313808382, -1.0803556442, 0.1509849876, 0.6340326667, -0.5301753283, 0.3859407604, 0.3674233258, 0.7221344113, -0.2154461443, -0.2478457242, 0.3996076286, 0.4596257508, 0.5720275044, 0.7316262126, 0.5485130548, 0.3450352848, 0.1467105746, -0.2927422225, -0.3106489182, -0.5561825633, -0.7494285703, -1.2095687389, -0.5107013583, -0.3004056811, -0.0480928384, -0.2628884315, 0.9494073391, 0.8713644147, -0.4596663713, -0.0828144997, 0.1270862371, 0.0716878846, -0.1132103875, -0.2935901582, 0.22385782, 0.0696050972, -0.7002480626, 0.3801311553, 0.2478676289, -0.1586686075, -0.758800149, 0.0262797028, 0.3468654454, 0.1156778112, 0.5964054465, 0.1176553518, -0.7408676744, -0.2898725271, 0.0616491325, 0.1824912578, -0.1054679826, 0.9024531245, -0.6418767571, 0.2130310386, 0.4405361414, 0.3560549021, 0.1035420373, -0.1191456318, 0.9401519895, -0.7852612734, 0.1668441594, 0.3185350299, 0.5967363715, 0.2688120008, -0.5105721354, 0.1520524472, 0.2201498747, -0.5449790955, -0.5721272826, 0.5469898582, -0.9824371934, 0.0451938324, 1.0890010595, -0.3204115033, 0.0326498225, -0.1119412035, -0.6026621461, -0.1055390239, -0.4755476117, 1.0484224558, 0.8040499091, -0.4097534716, -0.2121779025, -0.0645752102, 0.1458378732, 0.4938778877, -0.8315851092, -0.0826038197, 0.2547555864, 0.6197066307, -0.1185348108, 0.5160521865, 0.1495874673, -0.0702537075, -0.5446673632, 0.1271722168, -0.2600817084, 0.2098393738, -0.1231129691, 0.1396819353, 0.3165709674, 0.2884675562 ]
http://arxiv.org/abs/2406.12546v1
http://arxiv.org/pdf/2406.12546v1
Liar, Liar, Logical Mire: A Benchmark for Suppositional Reasoning in Large Language Models
2024-06-18T12:24:22
2024-06-18T12:24:22
Philipp Mondorf, Barbara Plank
cs.CL
cs.CL
Knights and knaves problems represent a classic genre of logical puzzles where characters either tell the truth or lie. The objective is to logically deduce each character's identity based on their statements. The challenge arises from the truth-telling or lying behavior, which influences the logical implications of each statement. Solving these puzzles requires not only direct deductions from individual statements, but the ability to assess the truthfulness of statements by reasoning through various hypothetical scenarios. As such, knights and knaves puzzles serve as compelling examples of suppositional reasoning. In this paper, we introduce $\textit{TruthQuest}$, a benchmark for suppositional reasoning based on the principles of knights and knaves puzzles. Our benchmark presents problems of varying complexity, considering both the number of characters and the types of logical statements involved. Evaluations on $\textit{TruthQuest}$ show that large language models like Llama 3 and Mixtral-8x7B exhibit significant difficulties solving these tasks. A detailed error analysis of the models' output reveals that lower-performing models exhibit a diverse range of reasoning errors, frequently failing to grasp the concept of truth and lies. In comparison, more proficient models primarily struggle with accurately inferring the logical implications of potentially false statements.
[ -0.0234153494, -0.5540909171, 1.0764807463, 0.0341414921, 0.0259569064, 0.1277110279, 0.2058117986, -0.333930254, 0.0458658449, 0.7588744164, -0.5779988766, -0.2579062581, -0.5020827055, 0.2423524559, -0.0869411007, 0.6092440486, -0.0712846294, 0.2226329893, -0.413213104, -0.2304551452, -0.6539108753, -0.6177158952, 0.0319765955, -0.1870332509, 0.4676547945, 0.5424086452, 0.8975796103, 0.7412475348, 0.8270190954, 0.419873476, 0.0275989342, 0.021718489, -0.3026535213, 0.7489913106, -0.5207084417, -0.9078298211, 0.2222843915, 0.0990979224, 0.4485273361, 0.9253261685, -0.1954523176, 0.3382720053, -0.5589273572, 0.6763055921, -0.752605617, 0.1719047427, -0.6616476774, -0.0361558273, -0.4153386652, 0.1990537047, -0.4036591053, -0.7483691573, 0.1520635337, -0.6831851602, -0.197292909, 0.1081842631, 0.8005232215, 0.2857536972, -0.3958272636, -0.608705461, -0.4454464614, 0.9791865945, -0.9325285554, 0.5674802065, 0.3110422492, 0.6895375848, -0.3659021556, -0.4967845082, -0.741089642, -0.3792409003, 0.0823017731, 0.0435623005, -0.0306432229, -0.3067691028, 0.6438022256, -0.0209676214, -0.6493564844, -0.227065742, -0.093786329, -0.1100323945, 0.5017163157, 0.2126536965, -0.0719029605, -0.3244119287, -0.2928865254, -0.3671440184, -0.5242131948, 0.1785143167, 0.4866952002, 0.1771775633, 0.257137686, 0.5664869547, -0.0243999753, 0.5226637721, 0.0124385515, -0.5502050519, 0.2157332301, 0.0889976248, -0.0164144523, -0.1010265127, 0.3514850736, 0.3981945813, 0.4226658344, 0.0873993337, -0.1988903433, 0.6363773942, 0.1051517576, -0.5231385231, -0.2501096427, -0.0127225202, -0.3097501993, -0.2763914466, -0.1146306917, -0.699370265, -0.7302814722, -0.1872739345, 0.4212993681, -0.3449203074, 0.0068786871, 0.2017726302, -0.1861333251, 0.0690302774, 0.2941876948, -0.6354845762, 0.3339346349, 0.7693038583, 0.2178780735, -0.1129434705, -0.1928839684, -0.6089408994, 0.0836776122, -0.6446357369, 0.9271436334, -0.8657897711, -0.2194946259, -0.1557976604, -0.1144313589, 0.0572619922, -0.6777479649, 1.0642226934, -0.5039020181, 0.0372677632, -1.024749279, -0.6490283608, -0.3894319832, 0.5076522827, -0.4687100649, 0.8041474819, 0.2181919068, -0.6556622386, -0.0400318429, -0.2410635948, -0.3567756414, 0.2071233988, -0.5441247225, 0.0227536298, 0.3457916975, 0.07185065, 0.298846662, -0.8290672898, 0.5194857121, -0.3626922667, -0.2092225999, 0.7124957442, -0.1737437397, 0.767246902, 0.0847233981, -0.2385338545, -0.3081476688, -0.7009756565, 0.1921503395, 0.3653462529, 0.2403410226, -0.5259423256, 0.2747039795, -0.5909178853, 0.2180962712, 0.4053472579, -0.6105216742, 0.1148084924, -0.471814394, 0.2470173687, 0.9156851768, -0.1003261879, 0.1091746166, -0.4732610285, 0.4072929621, -0.0018060099, 0.2820999324, -0.1219760403, -0.3545838594, -0.6460992098, -0.1273855269, 0.5632584095, 0.7136237621, -0.9284338355, 0.0518004484, -0.2045208216, -0.4979841411, -0.586959064, -0.1636608392, 0.5509919524, 0.9713340402, 0.2339044362, 0.1043057516, -0.3091441393, -1.3506958485, -0.5068144202, -0.4954985976, -0.000902621, 0.2407085747, 0.7918624282, 0.0900944918, 0.8476331234, -0.4957317114, -0.0638548732, 0.0157068856, 0.1860711873, 0.5191546082, 0.1613586396, 0.3652760684, -1.070507288, -0.5149729848, -0.2992915809, -0.9572461843, -0.4830909073, -0.07471589, 0.1717478931, 0.1491404325, 0.0397932008, -0.4720202088, 0.3504777253, 0.4880692363, -0.2874933183, 0.920124054, 0.100974977, 0.2536752224, -0.6259089112, -0.0088135293, -0.3192704022, -0.0824868903, -0.3683049381, 0.3686998188, -0.0937732756, 0.069713816, -0.3072611094, 0.3280195296, -0.2523896694, -0.3690011203, 0.0959635824, 0.3523419201, 0.2519290745, 0.4707010984, -0.0798537582, 0.7311333418, 0.3226405382, -0.3829772472, 0.474701345, 0.2940185964, -0.4490697682, 0.9538454413, -0.7987904549, 0.191894725, -0.0414133519, 0.1088421419, -1.075393796, -0.1234696507, 0.124350749, -0.5195351839, -0.3224901557, 0.0540860891, -0.7776401639, -0.426115483, -0.288724333, 0.3517729342, 0.4594065845, -0.5127152801, 0.6400190592, 0.3294459581, -0.1715945303, -0.8405380249, -0.706251204, -0.1864798814, -0.1305665076, -0.693451643, 0.2367157042, -0.3102016449, -0.6048532724, -0.0177525263, -0.445951134, 0.0624129511, -0.0375968851, 0.2457166165, 0.4408600032, -0.2057570368, 0.0519336425, -0.1020366624, -0.4135743082, 0.1705949008, 0.1010111719, 0.3807860315, -0.4939048886, -0.7601211071, -0.3579866588, 0.6043860912, 0.5708068013, -0.2420939058, 0.4592502415, -0.2388476729, -0.2490065694, 0.0251917113, -0.8201259971, -0.0542792045, -0.4936368763, 0.0210363697, -0.6653490663, -0.8985142708, 0.7749896049, -0.3181790411, 0.0126681793, 0.5175173283, 0.2217753828, -0.3858925402, 1.1437762976, 0.1996806413, 0.2369622439, -0.320568949, 0.1100249812, 0.2021977454, -0.5265718102, -0.0776723772, -0.733999908, -0.4342736006, -0.4247314334, -0.4895287752, 0.4934527576, 0.2511744499, -0.4562553465, 0.2754789591, -0.3867047727, 0.832676053, 0.3665014505, -0.3984600008, 0.2948624194, -0.2855108082, -0.5333465934, -0.7047464848, -0.4392933249, -0.6232867241, 0.863276124, 0.3736560345, 0.4882539511, 0.4621031582, 0.3674912155, 0.1870237589, 0.0220821779, -0.5673359036, 0.829854846, -0.1609048098, -0.7765280008, -0.1657060534, -0.6031458378, -0.5397143364, 0.2502200902, -0.1919270158, -0.9634309411, 0.4088045657, -0.0780405253, -0.2889275849, 0.1233075038, -0.346807152, 0.8474872112, -0.2827275991, -0.158463642, -0.1149280593, -0.9625792503, 0.4300882816, -0.0660361946, 0.3498246372, -0.2135246098, 0.1607055366, 0.6008004546, -0.3349992633, 0.6411905885, -0.2095811069, -0.0108611556, 0.1801824272, 0.6834594011, 0.8742437363, -0.1477532387, -0.1978410035, 0.1580640674, 0.4588881135, -0.1761510372, -1.0957366228, 0.4333620071, -0.5814154148, -0.5625385642, -0.7137879133, -0.7350341678, -0.5975583196, 0.2110228688, 0.1342680752, 0.5490272045, -0.0036663858, 0.3308478296, 0.9265871048, -0.123928003, 0.1264747679, 0.9527789354, -0.4474866092, -0.4499778748, 0.8344656825, 0.2378362864, 0.2480258942, 0.4249533713, 0.3880794942, -0.5983636379, -0.4512858093, -0.204103604, 0.500803113, -0.9603868127, -0.3810602427, -0.1967372894, -0.1616768539, -0.1901884228, -0.2879514992, -0.5620320439, -0.5617446899, 0.3110192418, 0.2309468538, -0.0216355473, 0.48644346, 0.0090940278, 0.3806407452, -0.5403572917, 0.5846276283, 0.6275988221, 0.1125553697, -0.2689273357, -0.5217157602, 0.3335805535, 0.0532480329, -0.2742847502, -1.1020222902, 0.0354254842, -0.3500796258, 0.7059434652, 0.324960351, 0.483512044, 0.6053206325, -0.6264932752, 0.7030590773, 0.212322861, -1.1198316813, 0.3733888865, -0.3555414677, 0.0471618772, 0.9421598911, 0.4893084466, -0.6598777771, -0.0808322653, -0.6982727051, -0.3194014132, 0.3892691433, 0.2745651007, -0.3622421622, -0.2274561822, 0.3049955666, 0.2142297775, 0.3572857678, -0.6019479036, -0.1308683455, 0.1198445633, -0.270819068, 0.1164907068, -0.3746804893, -0.3462131321, -0.1276368499, 0.6108011007, -0.0542197712, 0.1479037404, 0.0717070848, -0.2919915915, -0.112533994, 0.324483186, 0.7226224542, 0.8493502736, -0.0166173894, 0.2730346024, 0.161794886, -0.2040340006, 0.2050036043, 0.0784026831, -0.2806936204, -0.0628908426, 0.6050388813, 0.5724269152, 0.3163377047, -0.9313003421, 0.8243480921, 0.1521425843, -0.361869514, -0.2622559667, -0.0455645733, -0.0484382287, 0.8078163266, 0.2819613516, 0.0555657148, 0.2573304772, -0.5640295744, -0.0176076423, 0.3860628903, -0.0836290866, -0.0639648438, 0.4530764818, -0.068181999, -0.5548686981, 0.5465805531, -0.215502575, -0.9326653481, 0.4222092628, 0.7338553071, 0.4504821897, -0.3843051791, 0.5227140188, 0.0071766102, 0.3205453157, -0.2178386599, 0.4948428571, 0.1640020311, -0.7989851832, -0.3900551796, -0.5028004646, -0.5907887816, 0.0453219563, -0.645839572, -0.1173495352, -0.4997632504, -0.0294550676, 0.0559786968, 0.1390330195, -0.2466346323, -0.0555058159, -0.0449855961, 0.7911888957, -0.9232222438, 0.3611534834, 0.4572497904, -0.1389812529, -0.8839495778, -0.0286560524, 0.1420670152, -0.7578979731, 0.7959648371, 0.0480990373, -0.3764604032, -0.3098773956, -0.6616973281, -0.8157749176, 0.7568434477, 0.7897725701, -0.6345795989, 0.0561847538, 0.3815540373, 0.4714815319, -0.3573879898, 0.0750117004, 0.5800380111, 0.6878404617, 0.4795332551, -0.8317685723, 0.0189075805, -0.1626420468, 0.1264840811, 0.1605234593, -0.5515596867, 1.1400169134, 0.0426772125, -0.0563771017, 0.1065634042, 0.744823873, 0.8996962309, 0.1802170128, 0.7912960052, 0.591514349, 0.9998967648, -0.1445609927, 0.8289824128, 0.1693725586, -0.0219827108, 1.2433966398, -0.7155985236, 1.00090909, 0.36680758, -0.212102443, 0.7998023629, 0.2380120009, 0.0070024082, 0.5753393173, 0.3367382884, 0.0815166757, -0.5872942805, -0.2639693916, -0.6239735484, 0.6270223856, 0.4880865812, 0.0474243686, -0.2740653753, -0.0855922401, -0.0134183364, 0.5973175764, -0.0388955437, 0.2911188006, -0.0545936897, -0.7368778586, 0.376334846, 0.0306583866, 0.0521010682, -0.6666401029, -0.3313602507, -0.1188684851, 0.2676979005, 0.2147289068, -0.8896690607, 0.1236011684, -0.100390628, -0.1765019, -0.1878136396, 0.6818401217, -0.0585022494, -0.533008039, -0.0105065964, 0.2371510267, 0.3354816437, -0.0136110755, -0.8503760695, 0.4271692634, -0.100047864, 0.018490022, 0.0359052345, 0.7052862048, -0.207657516, 0.7871268392, 0.5509247184, -0.1343326718, -0.2073288262, -0.0107823992, 0.7466654778, -0.5334740877, -0.6884730458, -0.7448607087, 0.3874886632, -0.1786678433, -0.2883149683, 0.8543972373, 0.4971300066, 0.3680085838, 0.0099243345, 0.4166635275, 0.2228553891, 1.102828145, -0.4902306199, 0.2399116457, -0.4170615077, 0.3028777838, -0.5896635652, -0.9260181189, -0.1510796547, 1.1336760521, -0.6145347357, -0.134094134, 0.8151364923, 0.4676426351, 0.1445270032, 0.4912928939, 0.2944090664, 0.4306735396, 0.1063964143, 0.8061616421, 1.2086302042, -0.4454887509, 0.1165194586, -0.0261297133, -0.1365913302, -0.1279399991, -0.9315172434, -0.8475410342, -0.6633282304, -0.152837649, -0.1071633622, 0.0388292894, 0.6039168239, 0.4302782714, -0.7795897126, -0.1238558218, 0.0834320039, 0.3056515157, -0.2451810092, -0.1650338024, 0.2774186134, -0.0187352356, -0.2218944281, 0.5847816467, 0.2842018902, -0.1110681593, -0.298161447, 0.0377213582, -0.3100340664, 0.3746177852, 0.2686044574, 0.2561943531, -0.9577322006, -0.5465236902, 0.2017568499, 0.0721102133, -0.0959950611, 0.6915332079, -0.8262739182, 0.391525805, 0.3516587615, 0.6807992458, 0.4239403009, 0.1216489449, 0.3815215826, -0.537355125, -0.0427469872, 0.6240795851, 0.1280122697, 0.2093244046, -0.1346705109, 0.5360888839, 0.4773908556, -0.5636022091, -1.2607522011, 0.5258289576, -0.9726508856, -0.4958837628, 0.6047289371, -0.1162117422, -0.2292390466, -0.0585581176, -0.0045580873, -0.1998310834, -0.0231462773, 0.5580045581, 1.1122590303, -0.1158471927, -0.0999446735, -0.9223909974, 0.3193651736, 0.6856408119, -0.6954811215, 0.1963556111, 0.6143243909, 0.0056030164, 0.5208745599, 0.4880645871, -0.0504059121, 0.2498245984, 0.1253151745, -0.3736551404, 0.0310669616, -0.7416241765, 0.1886359304, 0.2773212194, -0.2576678693, 0.0124620525 ]
http://arxiv.org/abs/2406.12534v3
http://arxiv.org/pdf/2406.12534v3
Unified Active Retrieval for Retrieval Augmented Generation
2024-06-18T12:09:02
2024-06-27T15:37:15
Qinyuan Cheng, Xiaonan Li, Shimin Li, Qin Zhu, Zhangyue Yin, Yunfan Shao, Linyang Li, Tianxiang Sun, Hang Yan, Xipeng Qiu
cs.CL
cs.CL
In Retrieval-Augmented Generation (RAG), retrieval is not always helpful and applying it to every instruction is sub-optimal. Therefore, determining whether to retrieve is crucial for RAG, which is usually referred to as Active Retrieval. However, existing active retrieval methods face two challenges: 1. They usually rely on a single criterion, which struggles with handling various types of instructions. 2. They depend on specialized and highly differentiated procedures, and thus combining them makes the RAG system more complicated and leads to higher response latency. To address these challenges, we propose Unified Active Retrieval (UAR). UAR contains four orthogonal criteria and casts them into plug-and-play classification tasks, which achieves multifaceted retrieval timing judgements with negligible extra inference cost. We further introduce the Unified Active Retrieval Criteria (UAR-Criteria), designed to process diverse active retrieval scenarios through a standardized procedure. Experiments on four representative types of user instructions show that UAR significantly outperforms existing work on the retrieval timing judgement and the performance of downstream tasks, which shows the effectiveness of UAR and its helpfulness to downstream tasks.
[ -0.2427019477, -0.7010136247, 0.4523131549, 0.3628606498, -0.30081141, 0.3471331298, -0.0416019969, -0.5798527598, 0.0234257281, 0.5453015566, -0.0003515133, 0.1950746626, -0.0859740451, 0.1207868978, -0.3886191249, 0.894030869, -0.1443982273, -0.086232245, -0.0945479199, -0.2849803865, -0.7079696655, -0.5619202852, -0.4180163443, -0.4463120997, 0.758300066, 0.5002019405, 0.5405468941, 0.520303607, 0.7906317115, 0.3294581473, -0.3697454631, 0.3415087163, -0.099915795, 0.3809014261, -0.0868956298, -0.2516340613, -0.4055158794, -0.0262404047, 0.5959062576, 0.7179337144, -0.2806329131, 0.3144901693, 0.0578940697, 0.7334516048, -0.9860129952, -0.4283645749, -0.5654754639, 0.2790560424, -0.4243603647, -0.4562885463, -0.4622525275, -0.248800844, -0.0359892212, -0.4489080906, 0.580142498, 0.1032279134, 0.7370786667, 0.052007243, -0.8487744927, -0.1433747858, -1.1219981909, 0.7564018369, -0.1235742792, 0.4036266506, 0.1735616773, 0.4854816198, -0.1105271131, -1.025116086, -0.3256469965, -0.1872774214, -0.1343361735, 0.2302167565, -0.2285916954, 0.0859275833, 0.2329421639, 0.6052420735, -0.4429506063, -0.1884305477, -0.4428096116, -0.2268158495, 0.5774924159, -0.0126906037, 0.0806562155, -0.3848643601, -0.7378063798, 0.078353323, -0.5752776861, 0.1312278956, 0.3861301243, 0.3878667355, 0.4889428318, 0.7033420205, -0.2639328241, 0.6880107522, 0.1845356226, -0.0044026496, 0.1690236181, -0.2417812049, 0.1390019506, -0.2377590686, 0.4883524179, -0.2810953557, -0.3655087948, -0.5658720732, -0.6447167397, 0.0434501916, 0.7418413162, -0.4615496695, -0.0327132456, -0.1000019237, -0.471975863, 0.0618246868, 0.3861500323, -0.6393003464, 0.018339783, -0.4305306971, 0.8114870787, -0.0486913845, -0.067992419, -0.3417859077, -0.1769099534, 0.1353767216, 0.2390091419, -0.3354320824, 0.4028657377, 0.4444063902, 0.4669109881, -0.5575810671, -0.0578092486, -1.0217351913, 0.1103096306, -0.1392996311, 1.1440553665, -0.6952807903, -0.5686487556, -0.3503211737, -0.1496951282, -0.0666184425, -0.5510287285, 0.8661386371, -0.8989239335, 0.2150167078, -0.2900451124, -0.0816532895, -0.1275417954, -0.2485382259, -0.7161793113, 1.2237745523, 0.1819663644, -0.4577171803, 0.3989788592, -0.6586000919, -0.7766183019, 0.5369184017, -0.2762678862, -0.4346976876, 0.1995417178, -0.0875361338, 0.2932654619, -0.2258660644, -0.0046669152, -0.0912073553, -0.5385738015, -0.0070089526, -0.5136653781, 0.5904206634, 0.6956509352, -0.4729180038, -0.153330043, -0.7404156327, 0.295351088, -0.0609520823, -0.8337154984, -0.3794881105, -0.0677916482, -0.0040167086, -0.124340184, 0.3151650429, -0.5876449347, 0.2671297193, 0.1846907884, -0.2015432417, 0.6757014394, 0.2002163231, 0.6541432738, -0.1725927442, 0.568774581, -0.3197947741, 0.2397741824, -0.0877455175, -0.5501263142, -0.6399409771, -0.177638486, 0.4608578384, 0.5566532612, -0.6730782986, 0.4513560236, 0.1496693939, -0.2848587334, -0.4363937378, 0.3038830459, 0.9622728825, 0.5347417593, 0.5674529672, -0.4640622437, -0.658360064, -0.4660643935, -0.2216234058, -0.1676390171, -0.1014267206, 0.6943699718, 0.1678770632, -0.1914583296, 0.7685148716, -0.3362369239, -0.3865760267, -0.2295939177, 0.4980663359, 0.1482943147, 0.179526329, 0.2291344404, -1.3222532272, -0.3896796107, 0.0697462782, -0.6987785697, -0.3831550479, 0.0112518705, -0.1435514688, 0.2174353898, 0.2261087447, -0.4350856245, 0.6587977409, 0.1260376126, -0.4518024921, 0.3291977048, -0.4222894311, 0.4151779115, -0.6011090875, 0.4347661436, -0.357875973, 0.0268752407, -0.2944865227, 0.3760873079, 0.1644437909, 0.046476528, -0.1851774007, 0.6138679981, -0.9395013452, -0.3619422317, -0.3008190989, -0.3136566579, 0.1223672852, 0.1512989104, -0.3985158503, 0.9159357548, 0.2011149079, -1.0101908445, 0.3462450802, 0.0504342727, 0.1018458381, 0.4195263684, -0.7222962379, 0.4674936831, -0.1719394624, 0.1750436872, -0.9136567712, -0.2532896996, -0.2729009986, -0.4958583713, 0.6120547056, -0.3098483384, -0.4041089714, -0.601733923, 0.0405155048, 0.3240053356, 0.6677635312, -0.8021082282, 0.9903253317, 0.4696055055, 0.1632872075, -0.7867944241, -0.1204266325, -0.1258058846, -0.0646658614, -0.1902718991, 0.5269025564, 0.0341493636, -0.0710681826, 0.2418832332, -0.47932446, 0.0500131249, 0.0959667116, 0.1263933331, 0.2761462331, -0.0198800191, -0.20179452, -0.0341133028, -0.1876953542, -0.4129103422, 0.2026824653, 0.233019039, 0.1988213062, -0.6026356816, -0.0568565764, 0.524015367, 0.205341205, -0.7145879865, 0.1565084457, 0.8550158739, -0.0216226988, -0.1904056668, -0.8043547869, -0.0419662818, -0.4945251942, -0.1769028008, -0.5224044919, -0.6431096196, 0.4960553646, 0.0935179144, 0.3656400442, 0.4431949258, 0.3539297283, -0.1029929593, 1.5353574753, 0.4176804125, 0.2983008027, 0.4724284112, -0.2677886188, -0.0108691836, -1.0809407234, -0.5659113526, -0.7856934071, -0.3560502231, -0.192231223, -0.3771822155, 0.5792365074, 0.4374018312, -0.1710303128, 0.3825686276, -0.8781933784, 0.3582079113, 0.564892292, 0.0984060168, 0.3575674295, 0.2101280391, -0.4175640047, 0.0909175202, -0.5466245413, -0.3203526437, 0.958220005, -0.1817838103, 0.9102746844, 0.4389686882, 0.7406532168, 0.6156311035, 0.42574808, -0.5766345263, 0.6985920668, -0.4285655916, -0.8382901549, -0.0246346481, -0.977689445, -1.5610704422, 0.3196347058, -0.2474384606, -0.5096449852, 0.1278580129, 0.0381129161, -0.3529568911, 0.2374129891, -0.7609631419, 0.3026512563, -0.4121415019, -0.2558107972, 0.0841451734, -0.7378035784, 0.1835520267, -0.0740095079, 0.1104434207, -0.0680501759, -0.1096644476, 0.7260007858, -0.1182337776, 0.3012695909, -0.3482053578, 0.3768306375, 0.4751209915, -0.0143782152, 0.2394346148, -0.1153724939, -0.0111693284, -0.3996132612, -0.2087019533, -0.3062859178, -0.5775390267, 0.7540823817, -0.6935064793, -0.4300041795, -0.6190007329, -0.2181498408, -0.0819415227, 0.406373173, 0.3146189153, 0.5200408101, -0.0924891904, 0.3123054504, 0.6243761778, 0.2341510803, 0.4014088511, 0.8863885999, -0.1658003032, -0.3032841384, 0.8971715569, 0.1981211305, -0.0201711748, 0.5143608451, 0.2230129093, -0.5089156628, -0.4783895314, -0.5697976351, 0.099092029, -0.4085032046, -0.682341218, -0.767364502, -0.1313636154, -0.3797759712, 0.123554334, -0.3318442702, -0.4908573329, -0.3881346583, 0.2316379547, 0.3530133963, 0.7953986526, -0.292208463, -0.0874361098, -1.0815548897, 1.1083772182, 0.558562696, 0.4737462103, -0.0418743119, -0.8111414313, 0.0527451076, -0.1465873569, -0.6935243607, -0.7452726364, 0.0015822508, 0.3962282538, 1.1692677736, 0.2835039496, 0.3521617055, 0.8783560395, -0.6935084462, 0.4474696815, -0.0477137417, -0.4711153507, 0.6092363, 0.1058120579, 0.1078710556, 0.4756015241, 0.389657855, -0.0446154773, -0.103683725, -0.6723104715, -1.2824846506, 0.6062653065, 0.2412002683, 0.2274739593, -0.073621124, 0.5300179124, -0.1223950163, -0.1822445989, -0.181395933, -0.425714761, 0.2161139101, 0.3072937727, 0.2296298742, -0.1843156517, -0.0655218661, -0.1587220281, 0.4777991176, 0.083118178, 0.4729717672, 0.3258303106, 0.0186780747, -0.6300958991, 0.4559589326, -0.2291741818, 0.5839400291, -0.3154495358, 0.0843397304, -0.0585899353, -0.6465356946, 0.3588480949, 0.5991474986, -0.3402661681, 0.208900407, 0.1006981656, 0.4258244634, 0.3513272703, -0.4376474917, 0.4322426319, -0.1914554983, 0.0407868885, -0.2856526673, 0.3081791103, -0.7118076682, 0.1624505222, 1.1756837368, 0.2948156595, 0.6042520404, -0.7025358677, 0.5506204367, 0.4464697838, -0.2209032029, -0.2955346406, 0.969266057, 0.1530490518, -0.4246643782, 0.5040061474, -0.576127708, -0.4493274093, 0.2501370907, 0.587443471, 0.8171563745, -0.5474560857, 0.095983617, 0.263178885, -0.2270248234, -0.3414210975, 0.584463954, -0.1895932704, -0.3855094612, -0.5293366909, -0.9059895873, -0.4591851532, -0.1884824783, -1.1819486618, 0.0171147548, -0.0960882455, -0.4713257253, 0.2113226652, 0.1328042299, -0.5055306554, 0.0386133865, -0.1116361022, 0.5866599679, -0.3888503313, 0.3673169315, 1.2700031996, -0.5024362206, -0.8829248548, -0.2555840015, -0.03856894, -0.4019477963, 0.5080097914, -0.0411725454, -0.2448514849, -0.0643564388, -0.2749679089, -0.7311835289, 1.0217622519, 0.0503167957, 0.0493455268, -0.2152138799, -0.5653015375, 0.4621036351, -0.1280844212, 0.1809964925, 0.3779518008, 0.3788456619, 0.6143358946, -1.0306600332, -0.0904190242, -0.4231835306, 0.0798998252, 0.578499496, -0.51299119, 0.9605259299, -0.4849313498, -0.5916349888, 0.2880702615, 0.8157675862, 0.4499628246, 0.5293778181, 0.6351018548, 0.6039871573, 0.4699654579, -0.0514562652, 1.0801467896, 0.1349773556, 0.1331645548, 0.6081321836, -0.2425880134, 0.9230160117, 0.3357151151, -0.3648871779, 0.2902290225, 0.1673154533, 0.1383539736, 0.4482828975, -0.2229934335, -0.5722923875, -0.1500328332, -0.2705295682, -0.3638275862, 0.5597456098, 0.2349315435, -0.0264722593, -0.2231443375, -0.0495836884, -0.0418117158, 0.2168292403, -0.3443139195, 0.9771325588, -0.1537120491, -0.9808732271, 0.5572493076, -0.1204332262, 0.5774912238, -0.5122419, -0.5194365978, -0.3875264823, 0.4705452323, -0.3479279876, -0.6931083798, 0.0973955691, 0.2735103071, -0.1472638696, -0.2611660659, 0.7634081841, -0.1369726658, -0.4598231614, 0.3445546031, 0.6217793226, 0.2423279583, -0.0148915136, -0.6427058578, 0.0254662987, 0.0742878914, -0.3785087466, 0.4641117752, 0.6628180742, -0.1716224402, 0.4124504924, 0.8820238113, 0.2290770859, 0.2935532331, 0.2387422472, 1.0382349491, -0.569085896, -0.1490288526, -0.0702746734, 0.4358839393, 0.0522113442, -0.2039165199, 0.8660034537, 0.7642941475, 0.5853028893, 0.3632397354, 0.5510256886, -0.4494697452, 1.1069643497, -0.3743627071, 0.4267132282, -0.8690562844, 0.4875095189, -0.1240475848, -1.153517127, -0.2910737097, 0.5708953738, 0.2573468387, 0.3832526803, 0.4673248231, 0.4572331905, -0.344381541, -0.278844595, 0.1474443525, -0.2089134753, 0.2448256612, 0.147214517, 0.8211390376, -0.384686321, 1.0305440426, -0.4024029672, -0.4010900259, -0.343016088, -0.496278882, -0.5010026097, -0.5417789221, 0.0761062875, -0.3410709798, 0.0998408124, 0.6244142652, 0.577346921, -0.680493474, -0.0409087278, 0.091591984, 0.0194958169, -0.2684580684, -0.2569784522, 0.2505997121, -0.7681378722, -0.4771351814, 0.5353412032, 0.1401761472, -0.0200773664, -0.0317603163, 0.0292029623, -0.2934353054, -0.0936371014, 0.5922805071, 0.7504255176, -0.5821867585, -0.1925822794, 0.3862480521, -0.1925647855, -0.0661350936, 1.1433099508, -0.9208570123, 0.6030558944, 0.4452024996, 0.6022558808, 0.5867886543, 0.395329684, 0.3574954271, -0.9325804114, -0.1863633245, 0.6352763176, 0.2556819916, 0.2519949973, -0.4325897098, 0.6868671775, 0.1601774991, -0.9307664037, -0.9330148101, 0.1150614768, -1.0685321093, -0.1464887559, 1.2571429014, -0.1522198915, -0.0388357267, -0.6029934883, -0.3077476621, 0.431328088, -0.5495402217, 0.7786149979, -0.2117179334, -0.5804187059, 0.0269094314, -0.4543228447, 0.2510712445, 0.2641783655, -0.4253513217, -0.1715058982, 0.6021092534, -0.0912979394, 0.4757287502, 0.64362216, -0.347397387, 0.5323755145, -0.1342388242, 0.10648413, -0.0298039783, -0.6798769236, -0.1491864026, 0.1898565441, -0.0108347135, -0.1877611876 ]
http://arxiv.org/abs/2406.12527v1
http://arxiv.org/pdf/2406.12527v1
FuseGen: PLM Fusion for Data-generation based Zero-shot Learning
2024-06-18T11:55:05
2024-06-18T11:55:05
Tianyuan Zou, Yang Liu, Peng Li, Jianqing Zhang, Jingjing Liu, Ya-Qin Zhang
cs.CL
cs.CL
Data generation-based zero-shot learning, although effective in training Small Task-specific Models (STMs) via synthetic datasets generated by Pre-trained Language Models (PLMs), is often limited by the low quality of such synthetic datasets. Previous solutions have primarily focused on single PLM settings, where synthetic datasets are typically restricted to specific sub-spaces and often deviate from real-world distributions, leading to severe distribution bias. To mitigate such bias, we propose FuseGen, a novel data generation-based zero-shot learning framework that introduces a new criteria for subset selection from synthetic datasets via utilizing multiple PLMs and trained STMs. The chosen subset provides in-context feedback to each PLM, enhancing dataset quality through iterative data generation. Trained STMs are then used for sample re-weighting as well, further improving data quality. Extensive experiments across diverse tasks demonstrate that FuseGen substantially outperforms existing methods, highly effective in boosting STM performance in a PLM-agnostic way. Code is provided in https://github.com/LindaLydia/FuseGen.
[ -0.158802554, -0.5196380019, 0.3408258855, 0.0860830322, -0.3724578917, 0.30733639, -0.2019673884, 0.01215949, 0.0083389841, 0.5043466687, -0.7479261756, -0.6854243279, -0.2803148627, 0.03853653, -0.4760117233, 0.7399407625, -0.057648845, 0.2198831588, -0.6360750794, -0.0795030668, -0.5152865052, -0.2356332392, -0.1373143792, -0.5287950635, 0.3166056871, 0.7525995374, 0.2649286985, 0.6787510514, 0.2939316928, 0.0910216048, 0.6161434054, 0.2803312838, -0.8888418078, 0.2120069563, -0.1107974574, -0.3642141223, 0.1719284356, 0.1395908743, 0.611355722, 0.5920587778, -0.0673478171, 0.1808831096, -0.1590553522, 0.3882723749, -0.8318620324, -0.0836011991, -0.836783886, 0.1538608074, -0.2303031087, -0.2952279449, -0.6910628676, -0.2473037541, -0.0815654993, -0.6507743597, 0.7684217691, 0.0643532723, 0.78973943, 0.3710483909, -0.3712117076, 0.3800987899, -0.8169502616, 1.1122434139, -0.3967703581, 0.2774980366, -0.0158975385, 0.4635126293, -0.174492687, -0.3085104525, -0.5483140349, -0.0000092649, 0.1446750909, 0.4705607891, 0.1576531082, -0.0324601978, 0.1334882826, 0.6081383824, -0.7911811471, 0.0811103731, -0.4655445814, -0.062491633, 0.9052872062, 0.0146165341, 0.063318558, -0.080150336, -0.6007332206, -0.3475005329, -1.1960555315, -0.2476187199, 0.4075136781, 0.5552313328, -0.1516830325, 0.3847653568, -0.3233452737, 1.0498367548, -0.0203701518, -0.0374982841, 0.5308381915, -0.3899064958, -0.2733648717, 0.0861227661, 0.8636782169, 0.038829498, -0.1452153623, -0.1803741902, 0.0151397567, 0.1760086864, 0.0840518475, -0.6861802936, -0.3784114718, 0.2872721255, -0.1249253824, -0.5663715601, 0.2224145234, -0.6390350461, -0.3103521764, -0.1491938382, 0.4886621833, -0.5733280182, -0.2230868489, 0.1664791852, -0.3929247856, 0.4519574344, 0.0610740706, -0.5436609387, -0.1458112746, 0.2408300787, 0.6317924857, -0.2854849994, -0.4116536081, -0.6845498085, 0.3162674606, -0.2712377012, 1.0991203785, -0.4985481799, -0.7604801059, -0.0773256794, -0.3346768022, -0.1746238619, -0.710451901, 0.3513556421, 0.1358374208, 0.4459407628, 0.0047189556, -0.7289520502, 0.1081084609, 0.024519518, -0.3201565444, 1.0660963058, 0.3721753061, -0.3664767444, 0.6485586166, -0.3452919126, -0.7109478712, 0.2888785601, -0.4575244188, -0.5747603178, 0.3097599149, 0.1524969339, 0.4820864201, -0.3406627774, 0.0880795494, -0.5896000862, -0.3437674046, -0.1638800651, -0.1378370523, 0.5691307783, 0.1821247786, -0.0590663478, 0.3171918392, -0.807392478, 0.093240805, 0.2577167749, 0.0164250433, -0.0249202996, -0.0179838557, -0.2426924407, 0.6626909971, -0.1868627518, -0.8788933754, 0.2433649302, -0.6724020243, 0.100093767, 0.4885823131, 0.1468426436, 0.5146345496, -0.6555225849, 0.4612288773, 0.2086563259, 0.0939368159, -0.4988471866, -0.2488969415, -0.6941999197, -0.4160682261, 0.3045680821, 0.5019893646, -1.2759474516, 0.5746355057, -0.2241462469, -0.7367828488, -0.6974359155, 0.5131784081, 0.3076220155, 0.742557466, 0.3784990013, -0.2210192829, -0.563151896, -0.7599895, 0.1111285016, 0.1114677042, -0.2316155732, 0.3340421021, 0.327934444, 0.0971052721, 1.2269774675, -0.6240047812, -0.5092647076, -0.6734971404, 0.2312358171, -0.0346919484, 0.3338215351, 0.6195480824, -0.5042003393, -0.5386907458, -0.2763274014, -0.6966633797, -0.3347024322, -0.3292680681, -0.1091425121, -0.0002361729, 0.0822511092, -0.330429107, 0.1702948362, 0.5479474664, -0.0282904152, 0.4437468648, -0.215682283, -0.2311593443, -1.2385991812, 0.1363137662, 0.0903213546, -0.1576490998, -0.8382325768, -0.1746578962, 0.0888618752, -0.282787472, -0.9863294363, 0.6769263744, -0.1648179889, -0.0412784852, -0.3311439455, 0.1335871667, 0.0179506429, 0.367590934, 0.2682044804, 0.6250208616, 0.8465313315, -0.4497565329, 0.3808570802, 0.3800443411, -0.1938151419, 0.6482561827, -0.4676631987, -0.1202743128, -0.3066021204, 0.3061941266, -0.9072532058, -0.3760959506, 0.0593555458, -0.3872579932, 0.3601736724, 0.1765595675, -0.6126127839, -0.3385976851, -0.472848922, 0.3230460584, 0.7513185143, -0.6039592624, 0.3141392171, 0.2511292994, 0.2659322023, -0.233530432, -0.4119935632, -0.2581335306, 0.0586382449, -0.609869957, 0.4927222729, 0.0264854562, 0.1898526847, -0.1782602668, -0.2020846307, 0.1173306257, -0.0905418396, 0.2704207301, 0.37520051, 0.2787127495, 0.1268148273, 0.0894342214, -0.2824274898, -0.4934365749, -0.4072395861, 0.576941371, 0.4637437761, -0.4240733385, -0.004858268, 0.2122568488, 0.1929279417, -0.1820694357, 0.6411727071, 0.4974118471, -0.0288587026, -0.8910750747, -0.3427935839, -0.312841177, -0.3995995224, -0.109594427, -0.1176196933, -0.8980270028, 0.1577076912, -0.1599184126, 0.2184697092, 0.5098859072, 0.5675598979, -0.2703448534, 1.075748086, 0.4583491981, -0.0157408789, 0.4860148132, -0.393263191, 0.1490411609, -0.4348159134, -0.1885348707, -0.1441757381, -0.4678192139, -0.1624308676, -0.541122973, 0.3503295183, -0.1034267619, -0.0514238589, 0.3663928509, -0.5889489651, 0.5583749413, 0.6925552487, 0.0186719336, 0.1128760576, 0.0228525195, -0.1465593278, 0.2081594467, -1.0655523539, 0.0460686497, 1.1727348566, -0.0655501559, 0.8203626275, -0.3517704606, 0.9763860106, 0.1362467557, 0.3398114145, -0.6063867807, 0.4994450212, -0.4842469692, -0.4682225287, 0.0828376561, -0.8395029902, -0.7294557691, 0.1169914007, -0.2573541999, -0.2870586514, 0.1169432476, 0.3186509311, -0.5834330916, 0.226261124, -0.6399758458, 0.8612130284, -0.4237713814, -0.3972737193, 0.083570838, -0.662925899, 0.5606450438, -0.1831004024, -0.1579589844, -0.4178096652, 0.3104354143, 0.4402969778, -0.4211693406, 0.730019331, -0.3817235231, 0.1430799961, 0.3983494341, -0.1163897067, 0.2017524987, -0.2096917331, 0.1054609939, 0.3195647597, -0.1141311601, -0.5729615092, -0.4376064837, 0.8070180416, -0.6801581383, -0.243872121, -0.4330801368, -0.7726793885, -0.5155259371, 0.1977801025, 0.5856660008, 0.1208151877, -0.0907990858, 0.4088591039, 0.8147288561, -0.3964755535, 0.1659530848, 0.6863694787, -0.1174161509, -0.4180585742, 1.5132745504, 0.0830373988, 0.4188558161, 0.4123981297, -0.0370866209, -0.2661480606, -0.4728181958, -0.4927950501, 0.1944642216, -0.0961619243, -0.5668172836, -0.2292960286, -0.2894144058, -0.3732624948, -0.3332989812, -0.3327459991, -0.2715159655, -0.3448169529, -0.2228143066, 0.113514699, 0.2178179622, 0.0059153344, 0.4360314608, -0.7910217643, 0.4905664027, 0.111573644, 0.4460208118, -0.6266894341, -0.381275773, -0.0001146459, 0.1485594511, -0.4659521282, -0.7900231481, 0.5494604111, 0.5179512501, 0.5487087369, 0.3778091073, 0.281016469, 0.4943856895, -0.3087940514, 0.8643118739, 0.3925854266, -0.6664794087, 0.9203686118, -0.5491477847, 0.6458696723, 0.6396999359, 0.0882011354, -0.2323823422, -0.5122733116, -0.7944934368, -0.7699278593, 0.8973413706, 0.1589100957, -0.0262752715, 0.0809892341, 0.1736459881, 0.4330324233, 0.4077990949, -0.3403714001, -0.3167431355, -0.4556070566, -0.5107785463, -0.1125697345, 0.1208839566, -0.081590876, -0.2083372325, 0.7976551056, -0.3192929029, 0.1369162798, -0.0058488701, -0.2871592045, -0.3015753031, 0.0705396682, 0.4956602454, 0.2869536579, -0.2469300926, -0.0326506272, 0.1537329257, -0.0427223407, 0.3174751401, 0.2492625415, -0.5908679962, 0.1584874839, -0.0332692191, 0.8461021185, 0.4473417699, -0.9584536552, 0.5277163982, 0.1316195726, -0.6508908272, -0.1152691096, 0.5201690197, -0.3275229633, -0.1976765245, 0.4410890043, -0.0551057458, -0.3478905559, -0.2931913733, 0.6490337253, 0.5135138631, -0.2440372854, -0.3402611017, 0.6321043372, 0.3972839713, 0.1068627164, 0.5615212917, -0.2886699736, -0.0475539789, 0.4143294394, 0.5583725572, 0.8358474374, -0.3589687645, 0.7344320416, 0.2791570127, -0.0342175812, -0.066192247, 0.4251414537, -0.1391688138, -0.8004773855, -0.4798646569, -0.7943314314, -0.4265279174, 0.2606026828, -0.3227415979, 0.460429132, -0.5984564424, 0.2006284595, -0.2544030249, -0.1290704459, -0.632156074, 0.0723312497, 0.2225341201, 1.0543589592, -1.0792143345, 1.0858037472, 0.4020499885, -0.5890489817, -0.4817322493, -0.2858391702, 0.1751806736, -0.7541563511, 0.2689768672, 0.1520231962, 0.2452297062, 0.2846672833, -0.4305971563, -0.6840854883, 1.2364990711, 0.6426689625, -0.312024951, 0.0833043903, 0.4758478105, 0.3207761049, -0.5034822226, -0.1384349763, 0.4720225632, 0.0700696558, 0.7906138897, -0.5920538306, -0.3619133234, -0.0644360334, 0.064360559, 0.4444890618, -0.6810523868, 0.5033578873, 0.1217682436, -0.4493870139, -0.1577250957, 0.4698518515, 0.405831188, 0.2512108982, 0.1711746454, 0.8662448525, 0.3611396253, -0.4131071568, 0.9549248815, -0.4112861156, 0.3768237829, 1.1981703043, -0.8787496686, 0.7294479012, 0.3444754183, 0.0892867744, 0.2426148355, 0.4562512338, -0.515011251, 0.7757906318, 0.0716660395, -0.5673891306, -0.4033586085, -0.3771448135, -0.1051880419, 0.418546766, 0.1975610256, -0.3038438857, -0.6737599969, 0.3488399386, -0.3983041942, -0.1566960663, -0.1443518847, 0.7946079373, -0.0419268087, -0.4933835268, 0.2966561317, -0.225469768, 0.653185308, -0.8259032369, -0.0282121394, -0.2196079493, 0.1926347613, -0.31008479, -0.6707114577, 0.4037820995, -0.0988677219, -0.1697408855, -0.6152679324, 1.0818843842, -0.718532145, -0.5666522384, -0.0750209168, 0.7145205736, -0.1900795698, -0.0416747294, -0.5752388835, -0.0282639097, 0.030334888, 0.1888366491, 0.5532296896, -0.2928179801, 0.3524495363, 0.586710453, 0.8588417172, 0.3014068902, -0.0179835483, -0.0024043524, 0.6908733845, -0.3796634972, -0.1954490542, -0.5562775731, 0.639161706, -0.2750207186, -0.1666212231, 1.0267263651, 0.6576884985, 1.2160884142, -0.1378815472, 1.1897006035, -0.0278440155, 0.619378984, -0.1238040552, 0.5442133546, -0.3283994198, 0.0274882223, 0.1922071874, -0.8676034212, -0.5464062691, 0.4648799896, -0.4316499829, -0.0490933806, 0.2433551401, 0.737608552, -0.0905892104, -0.1545243859, 0.6463853717, -0.0532929115, 0.3481647968, 0.7344775796, 0.5753289461, -0.4371183515, 0.6037353277, -0.4645101726, -0.1288299263, -0.1699001342, -0.6408660412, -0.6799328327, -0.4253322184, -0.4751211405, 0.1391643137, -0.0473338552, 0.8970124722, 0.8640909791, -0.8620426655, -0.1284202337, -0.3675181866, 0.0004395496, -0.1912148148, -0.2861409485, -0.070410341, -0.4675626159, -0.5314854383, 0.7942671776, 0.5017971992, -0.0150477421, -0.3153716326, -0.0965065211, -0.1979964226, 0.1000867113, 0.5299054384, 0.6162957549, -0.3198840916, -0.2672034204, 0.0637706369, 0.0575650148, 0.0531698614, 0.7918019891, -1.1760863066, 0.6843523979, 0.665810585, 0.5189977288, 0.4093588889, 0.0874118805, 0.8200426102, -1.5285600424, 0.1576732993, 0.3408346176, 0.2215889543, 0.3026762903, -0.0474400558, 0.4269585907, 0.5147470832, -0.3465211093, -0.8394962549, 0.3506805301, -0.8117032051, -0.2375734299, 1.1099178791, 0.1192679405, -0.1841548383, 0.0730816871, -0.1432378292, 0.1641533077, -0.2794800401, 0.7829471827, 0.3486203551, -0.3990549445, -0.3583155274, -0.2614762783, 0.4955114126, 0.3743918836, -0.9642148018, 0.0527659059, 0.8005300164, 0.2368501872, -0.0360601768, 0.2337498814, 0.0332157835, 0.3382365704, -0.061626453, 0.0195424967, -0.4267446697, -0.4222448766, -0.3860011697, 0.4344263375, -0.3131642044, -0.2905539572 ]
http://arxiv.org/abs/2406.12502v1
http://arxiv.org/pdf/2406.12502v1
Code-Optimise: Self-Generated Preference Data for Correctness and Efficiency
2024-06-18T11:05:37
2024-06-18T11:05:37
Leonidas Gee, Milan Gritta, Gerasimos Lampouras, Ignacio Iacobacci
cs.CL
cs.CL
Code Language Models have been trained to generate accurate solutions, typically with no regard for runtime. On the other hand, previous works that explored execution optimisation have observed corresponding drops in functional correctness. To that end, we introduce Code-Optimise, a framework that incorporates both correctness (passed, failed) and runtime (quick, slow) as learning signals via self-generated preference data. Our framework is both lightweight and robust as it dynamically selects solutions to reduce overfitting while avoiding a reliance on larger models for learning signals. Code-Optimise achieves significant improvements in pass@k while decreasing the competitive baseline runtimes by an additional 6% for in-domain data and up to 3% for out-of-domain data. As a byproduct, the average length of the generated solutions is reduced by up to 48% on MBPP and 23% on HumanEval, resulting in faster and cheaper inference. The generated data and codebase will be open-sourced at www.open-source.link.
[ -0.3334712088, -0.2103167623, 0.4104640484, 0.2331523597, -0.058456365, -0.0362214744, -0.2768038213, -0.2177163661, 0.1215844229, 0.528986156, -0.3995882273, -0.4084540308, -0.0248922538, -0.0942977592, -0.0159648061, 0.8938925266, 0.1253017932, 0.0416495688, -0.393240273, -0.2728440166, -0.1681180298, -0.7006059289, -0.2498472482, -0.4249774218, 0.3799342811, 0.7967601418, 0.6672445536, 0.9213706255, 0.5214199424, 0.081921041, 0.4218302369, -0.0085892025, -0.6203439236, 0.0891961679, -0.1147563607, -0.5668865442, -0.3970802426, 0.0501155034, 0.0101806419, 0.4673404098, -0.2603322566, 0.5007317662, -0.1016301885, 1.1482294798, -1.0654156208, 0.2179741859, -0.5209354758, 0.171704933, 0.0748190805, -0.3945702612, -0.4679231346, -0.6602649689, -0.1909953505, -0.2830629945, 0.1366918087, -0.1669319123, 0.4789074957, 0.5539295673, -0.1450004131, -0.4601815343, -0.3417988718, 0.9351593256, -0.7762460113, 0.4658160508, 0.2159476876, 0.3668392599, -0.1402770579, -0.6286664605, -0.2405477315, -0.3765160441, -0.0275753904, 0.064464882, 0.078455776, 0.0265645366, 0.3628219664, 0.2362565696, -0.6768612862, -0.0626793653, -0.2904496491, -0.3037161827, 0.8747391701, 0.0742782131, 0.0349563248, -0.2742959559, -0.1513710469, 0.0437715352, -0.7113495469, 0.2475276738, 0.6278973222, 0.2344622314, -0.0988994166, 0.3596632183, -0.387932539, 0.7811129689, 0.1915652752, -0.0862095356, 0.4939006865, -0.096754767, -0.1697816849, -0.012512817, 0.5788467526, 0.233009696, 0.5398328304, -0.1558665633, -0.2611021698, 0.3289321959, 0.5337358713, -0.9716267586, -0.6520944834, 0.388695091, -0.6031329036, -0.5709018111, -0.3163508177, -0.5213219523, 0.1217139959, -0.6505880356, 0.2635471821, -0.4255435169, -0.3036129475, 0.5118921399, 0.0689981952, 0.130848974, 0.0684278011, -0.9453468323, 0.0033934705, 0.4443569481, 0.7411111593, -0.4193996787, 0.073866494, -0.59991467, -0.0792831779, -0.5281887054, 0.640424192, -0.3853372633, -0.5809739828, -0.1883241087, -0.4512976706, -0.0361848027, -0.66360569, 0.4228383005, -0.5238827467, 0.0376302712, -0.1429894567, -0.6933875084, 0.2439369857, -0.0195682216, -0.5944287181, 1.1592186689, 0.3734416366, -0.6845491529, 0.644874692, -1.095058322, -0.4012817144, -0.1476249695, -0.2550015748, -0.4808032513, 0.0747397393, 0.2065691948, 0.5389890671, 0.1981187761, 0.2228655815, -0.6834562421, -0.3524471223, 0.0684995055, -0.1156367734, 0.6148008704, 0.7458162904, -0.506852746, 0.0481164791, -1.0541132689, 0.6536333561, 0.1904154867, -0.5145790577, -0.1765855402, 0.1055839211, -0.0137835667, 0.1858599931, 0.2266146988, -0.4268572628, 0.2698251903, -0.3876067102, 0.3520467877, 0.8231262565, -0.2501376569, 0.4203369617, -0.1669099778, 0.761619091, -0.0625533536, 0.4984354079, 0.0438620783, -0.243007198, -0.6791185737, -0.1660030037, 0.2379065305, 0.416514039, -0.7442481518, 0.3134309053, -0.1079876795, -0.2766558528, -0.4040770531, 0.2865853012, 0.4395763278, 0.5354918242, 0.3775984347, -0.3088464737, -0.4327079654, -1.0112285614, -0.3018608689, -0.2209171057, 0.3075671792, 0.3571133316, 0.4008913636, -0.3759111464, 1.3476873636, -0.8613388538, 0.1933913678, -0.1598246396, -0.096348241, 0.3638447225, 0.7043032646, 1.0444324017, -0.9611859918, -0.5462418795, -0.2079569101, -0.67032516, -0.3702450991, 0.0719270557, -0.2550151348, 0.3398922682, 0.2624514401, 0.0761219561, 0.1429673582, 0.6820892096, -0.1863385737, 0.7337884903, -0.1599701196, 0.2294371724, -0.9611704946, 0.3507774174, -0.1939699501, -0.4782711565, -0.1722120345, 0.2062949687, 0.3159840703, -0.1736321747, -0.5398012996, 0.3225967884, -0.2547270656, -0.189757973, 0.0309391301, -0.2585102916, 0.0122183338, 0.6334912777, 0.0860546157, 1.3672705889, 0.3301992416, -0.5736937523, 0.0615531206, 0.0330487154, -0.2994960546, 0.3469124138, -0.5295682549, 0.4001094103, 0.0780425966, -0.4122084081, -0.6772857308, -0.3616129458, 0.1637503505, -0.6022610068, 0.3397762775, -0.5316535234, -0.2895853519, -0.376644671, -0.3582419157, 0.4722978771, 0.5999863148, -0.864562571, 0.1284403503, 0.3179148138, 0.2396773845, -0.7939608693, -0.5738517046, -0.2478550375, -0.0414187089, -0.4852728248, -0.0354722142, -0.4661337435, 0.1065626666, -0.0244183689, -0.2682255507, -0.3799958527, 0.0596007369, 0.0158433169, -0.0504411608, -0.276106596, 0.1638655812, 0.063082777, -0.3427323401, 0.1756108403, -0.4374240339, 0.4021457732, -0.2453803569, -0.4342950583, -0.1736624688, 0.3783438802, 0.6163822412, -0.255666554, 0.4662457108, 0.1712207943, 0.1588390768, -0.50922966, -0.3739258051, -0.0264352858, -0.5376263857, -0.0087027503, -0.5651246309, -0.9295374155, 0.3680125177, 0.1263369471, 0.1245015785, 0.2610663772, 0.4345463514, 0.0638020113, 1.1510206461, 0.6203171611, -0.0975108519, 0.5352734327, -0.4106242061, 0.3166702986, -0.2279530317, -0.0816298053, -0.5415577292, 0.2500313818, -0.4723326266, -0.2830048203, 0.3734780252, 0.0818691179, -0.107743375, 0.4441117644, -0.7558854222, 0.6051122546, 0.4329742193, 0.2661849558, 0.115811035, -0.0711686015, -0.1016675159, -0.2130406052, -1.0204926729, -0.419149518, 1.4075918198, 0.1872843802, 1.0229650736, 0.0554989949, 1.0033471584, 0.7245569229, 0.2981044352, -0.728982687, 0.2577733397, -0.0091713322, -0.6301172376, 0.1322316229, -0.785251081, -0.6008079648, -0.0675811619, 0.014980888, -0.1695101857, 0.1246422008, 0.734797895, -0.4944038689, -0.0633986443, -1.0718823671, 1.1778110266, -0.3550182879, -0.3972732127, -0.2673479021, -0.4103555381, 0.3168793917, -0.2734660804, 0.1189992651, -0.0197226331, 0.1353538632, 0.5475157499, -0.4136214256, 0.5332998037, -0.2263504863, -0.0191654097, 0.433200866, 0.1838762462, 0.2085796893, 0.092790775, -0.3696879745, -0.0074307616, 0.1370376199, -0.6557232141, -0.7122417688, 0.6135024428, -0.5155185461, -0.148136422, -0.2497641891, -0.1756146252, -0.1533144116, 0.2420080751, 0.3090980947, 0.8862249851, 0.1458204389, 0.2315152735, 0.6733794212, -0.1992644966, 0.497348398, 0.5666534901, -0.2829600871, -0.5360772014, 0.8849413395, -0.052486036, 0.6002668142, 0.0018388764, 0.1917790771, -0.5195465684, -0.6098188758, -0.6561579108, -0.0345053375, -0.9046964049, -0.3222723305, -0.625323534, 0.0925403237, -0.457506299, -0.5571174026, -0.6661272645, -0.4536824226, -0.2174728513, 0.0156039195, 0.3025218248, 0.4163293242, -0.3559054732, 0.2106676549, -0.7271494269, 0.3364037573, 0.0274987314, 0.7131968737, -0.3782906234, -0.1968488842, -0.5975818038, -0.0989176035, -0.135623157, -0.6573143005, 0.3074574471, 0.3077650666, 0.5169745684, 0.2780840397, 0.3501937985, 0.5350974798, -0.2209379822, 0.7046815157, 0.2459088713, -1.0896867514, 0.8068755865, -0.2418271303, 0.2895794511, 0.8923723102, 0.3702720106, 0.0394031145, -0.0297775567, -0.6686801314, -0.5064103007, 0.5529543757, 0.2376426756, -0.0177950934, -0.1493425071, 0.5648247004, 0.2543869019, 0.2986309528, -0.6634095311, -0.3407751322, -0.1213784963, -0.3447488844, 0.0576164015, -0.2129424214, 0.3201298416, -0.2626524568, 0.7059585452, -0.7315944433, 0.3990588486, 0.1809906512, -0.1483643502, -0.139264971, 0.1507863253, 0.3759138286, 0.9190667868, -0.2855841517, -0.1855243593, -0.1775280833, -0.3811461926, 0.1767888218, -0.4761879742, -0.17521514, -0.0867425799, 0.1490858644, 0.3697569966, 0.0951081142, -0.7646181583, 0.6093297601, -0.0493667349, -0.0407834426, -0.261869967, 0.5842353106, -0.2006548792, -0.0455026589, -0.0295652337, 0.4878036082, 0.5763671398, -0.3510296643, 0.6506976485, 0.1944056302, -0.1477879584, -0.0382000655, 0.717046082, 0.3120102882, -0.067135945, 0.2085092962, -0.3416797519, -0.5655810237, 0.8150738478, 0.4261272848, 0.8933352232, -0.1086205393, 0.2078177929, 0.3906163573, -0.1996137798, -0.0476751029, 0.6511384845, -0.3458204567, -0.6455283165, -0.6714006662, -0.8356420398, -0.4388331771, -0.111888729, -0.8837476969, 0.3117260635, -0.4052548707, -0.3269010186, -0.1598480791, 0.0165903959, -0.5365188122, 0.4866495728, -0.1375270337, 1.0185064077, -0.5464140773, 1.1216282845, 0.5877426267, -0.3801054657, -0.9443025589, -0.0854898021, -0.3393288553, -0.6805303097, 0.6092416048, 0.2305153161, -0.5439140201, 0.1023882702, -0.6958987713, -0.8203126192, 0.3815036118, 0.7097938061, -0.5182008743, 0.2613677084, -0.037195906, 0.3522825241, -0.4886069, 0.1010786593, 0.7703437805, 0.1784877479, -0.1494524032, -0.8056522608, -0.4007843435, -0.303560555, -0.1544038504, 0.4342374206, -0.5245555043, 0.3852535188, -0.3966630399, 0.0583995879, -0.302877754, 0.2752722502, -0.0852180794, 0.3154150844, 0.364967227, 0.5321854353, 0.3688358963, 0.1324039847, 1.0736925602, -0.790928483, 0.7730752826, 0.7999444604, -0.0763823837, 0.6851551533, 0.3209446073, -0.2047577202, 0.4090246856, 0.6547073126, 0.2791646421, 0.7070868015, 0.0387059897, 0.0621197186, -0.488789767, 0.3445200026, -0.4543451071, 0.4984987676, 0.0894709304, -0.2644039392, -0.0798934624, -0.2011768222, 0.0506110713, 0.2255968302, -0.1600847691, 0.4874895215, 0.0600177385, -0.69507128, 1.0232462883, -0.2631647885, 0.7106995583, -0.6346204877, 0.0188290589, -0.3471600413, 0.4417693317, -0.4472457767, -0.6762847304, 0.5912253857, -0.0479918756, -0.3812752366, -0.3262104094, 0.6716440916, -0.2452130616, -0.2572090328, 0.484844625, 0.427203536, 0.0689688101, 0.040221218, -0.9497542977, -0.0842447728, 0.2885909379, -0.2123701274, 0.1438258737, 0.0499221906, 0.2725926936, 0.8662763238, 0.7593283653, 0.1029323116, 0.0909736007, -0.0767935738, 0.893225491, -0.5423498154, -0.8345575333, -0.6773144603, 0.404266715, -0.2379176915, -0.3756503463, 0.6046555638, 0.9223902822, 1.0556616783, -0.4502978623, 0.8300189376, -0.1544510275, 0.4083023965, -0.7935695648, 0.7505246997, -0.7028310895, 0.0799908713, -0.3332666159, -0.8749408126, -0.3032823801, 0.6611642241, -0.4737936258, 0.0843867511, 0.4910685122, 0.9554703832, -0.3493593931, -0.1103050336, 0.4805351198, -0.5273088217, 0.3587169647, 0.7032994628, 0.5800827146, -0.2141765058, 0.2403167784, -0.5039678812, -0.2928648293, -0.4534493983, -1.052516818, -0.8259557486, -0.3434135318, -0.47615242, -0.3156198859, 0.3225249648, 1.3301669359, 1.0659796, -1.0350297689, -0.2981912494, -0.1307667345, -0.1668956578, -0.0132777188, -0.2458821535, 0.2203629464, -1.0225191116, -0.2228671759, 0.4546146095, 0.2729433477, -0.1668447554, -0.0968460962, -0.4226775169, 0.3490273058, 0.2682267725, 0.6308748126, 0.3206882179, -0.0915585607, -0.334056139, -0.0258765984, -0.1979606301, 0.4933091104, 1.2285453081, -0.8121680617, 0.5826950669, 0.3733219206, 0.6751099825, 0.2473986596, 0.047848139, 0.6195182204, -0.5543384552, 0.1393895596, 0.3712491393, 0.2988275886, 0.1825755388, -0.6314845681, 0.7983034849, 0.3259502053, -0.6758553982, -0.6328167319, 0.4661125243, -0.7450000048, -0.2517357767, 1.0842328072, -0.2571042478, -0.2655596137, -0.1283797771, -0.1682468355, -0.1342385709, -0.6216212511, 0.718390584, 0.2097062021, -0.5865046978, 0.0897931308, -0.5779815316, 0.8980693221, 0.6013627648, -0.7781533599, 0.0607311539, 0.8017715812, 0.5854126811, -0.0806860104, 0.7412347794, -0.0367101766, 0.4553049207, -0.1226035357, 0.1839526296, -0.1231654286, -0.3755541742, -0.3269488215, 0.345589608, 0.2115508616, -0.314173162 ]
http://arxiv.org/abs/2406.12494v1
http://arxiv.org/pdf/2406.12494v1
LightPAL: Lightweight Passage Retrieval for Open Domain Multi-Document Summarization
2024-06-18T10:57:27
2024-06-18T10:57:27
Masafumi Enomoto, Kunihiro Takeoka, Kosuke Akimoto, Kiril Gashteovski, Masafumi Oyamada
cs.CL
cs.CL
Open-Domain Multi-Document Summarization (ODMDS) is crucial for addressing diverse information needs, which aims to generate a summary as answer to user's query, synthesizing relevant content from multiple documents in a large collection. Existing approaches that first find relevant passages and then generate a summary using a language model are inadequate for ODMDS. This is because open-ended queries often require additional context for the retrieved passages to cover the topic comprehensively, making it challenging to retrieve all relevant passages initially. While iterative retrieval methods have been explored for multi-hop question answering (MQA), they are impractical for ODMDS due to high latency from repeated large language model (LLM) inference for reasoning. To address this issue, we propose LightPAL, a lightweight passage retrieval method for ODMDS that constructs a graph representing passage relationships using an LLM during indexing and employs random walk instead of iterative reasoning and retrieval at inference time. Experiments on ODMDS benchmarks show that LightPAL outperforms baseline retrievers in summary quality while being significantly more efficient than an iterative MQA approach.
[ -0.1297788024, -0.9788320661, 0.6821933389, -0.0606998987, -0.5633066297, 0.1871559471, -0.0256536808, -0.4592292309, 0.2683507204, 0.499763459, -0.1763228476, -0.4253520668, -0.3377078176, -0.0007386388, -0.2420389354, 0.9343767166, -0.1203543469, 0.0309518855, 0.0714675784, -0.2638888359, 0.2680282295, 0.1912228912, -0.5293619037, -0.2828210294, 0.5540143251, 0.4107947946, 0.7762663364, 0.0764745995, 0.4463123083, 0.179370746, -0.310597837, 0.176613152, -0.5069980621, 0.1658011824, 0.0260290932, -0.1930579394, -0.6305012703, 0.0116278902, 0.7466193438, 1.2537664175, -0.2560980916, 0.1966882199, -0.1254466325, 0.5792597532, -0.8057049513, 0.0501067415, -0.3439520597, 0.2322649211, -0.3322541118, -0.4126122296, -0.414154321, -0.3181378841, 0.2684453726, -0.6027390361, 0.2541815639, 0.3246667981, 0.1989102662, -0.2269715369, -0.6549995542, -0.1711218506, -0.5284745097, 0.5026125908, -0.7528117299, 0.4268405437, -0.0061162203, 0.5539238453, 0.0935359895, -0.9180258512, -0.5773537755, -0.0929479226, -0.20924896, 0.2151445448, 0.2169588357, 0.0027445729, 0.1567867696, 0.4502046704, -0.6445772052, -0.3669775724, -0.4960545599, -0.0199831109, 0.3261107802, 0.2973513603, -0.0797254667, -0.3370865881, -0.772059083, 0.0263303947, -0.7937274575, 0.2518312335, 0.2074535489, 0.3455422819, 0.0814546943, 0.7110689878, -0.3870299757, 0.9174966216, -0.4027879536, -0.6199203134, 0.1953802258, -0.7196669579, 0.0135273654, 0.053721413, 0.9048847556, 0.4339664578, -0.1767750829, -0.2738027573, -0.3161974251, -0.6912891865, -0.0074556014, -0.9113860726, 0.0527222715, 0.1714974642, -0.8867924809, 0.0432328768, 0.1343681961, -1.0511598587, -0.3604942858, 0.1461081952, 0.3089230061, -0.6090745926, -0.1845083982, 0.1016011313, -0.4936281741, 0.2807896733, 0.9520463347, -0.7331727147, 0.540816009, 0.489628762, 1.2065577507, -0.2084673941, -0.5078595281, -0.9160041809, 0.3572025597, -0.3037063777, 0.5963631868, -0.4899168611, -0.5095097423, -0.2587842643, -0.3123294413, -0.1846031994, -0.228379935, 0.4388356507, -0.685038805, 0.1851159781, 0.0551881269, -0.5657569766, 0.0708678812, 0.2109702229, -0.5823111534, 0.7591261864, 0.3844201565, -0.9089395404, 0.317127794, -0.3330927491, -0.5174155831, 0.2070433795, -0.3724600375, -0.1410623938, -0.0120256608, 0.1594084352, 0.4550301433, -0.4458602965, 0.0658303723, -0.2330776006, -0.4916045368, -0.2330919355, -0.2616705298, 0.7462792397, 0.3020943701, -0.1841085255, 0.0748477578, -0.6799129844, -0.1822701544, 0.2900828421, -0.4576096237, -0.5503406525, 0.0539160781, 0.1302595139, 0.1546571851, 0.0823268965, -0.6156336665, 0.3027015328, -0.1788492352, 0.1290916204, 0.6257976294, 0.1065836176, 0.5302218795, -0.1765953004, 0.6717306376, -0.0322421975, 0.147959426, -0.573530972, -0.9327476621, 0.0342243612, -0.1333527416, 0.0161125902, 0.2337215096, -1.0743274689, 0.0060932171, -0.3576913476, -0.5798435807, -0.6552991867, 0.2188940793, 0.384950608, 1.0723046064, 0.4876863658, -0.3915681839, 0.3236825466, -0.353308022, -0.1631364226, -0.060888052, 0.0056016692, 0.6388119459, 0.5604910851, 0.0683304816, 0.7774170637, -0.8950095773, -0.4581587613, -0.3557367921, 0.1096886471, 0.3338280916, 0.2445491105, 0.7003317475, -1.0073121786, -0.4336547256, -0.2210381031, -0.541403234, 0.1433980316, -0.1443194151, -0.1926668882, -0.0918420702, 0.5638406873, -0.8325980902, 0.4863967597, 0.0361020677, -0.7867100835, 0.5168856978, -0.3665340543, 0.4464711249, -0.8195466399, 0.5312128067, -0.5521442294, -0.3428369761, -0.3246738017, 0.2398676723, 0.2994374335, -0.3137408197, -0.4975212514, 0.8323152661, -0.5743870139, -0.4687591195, 0.0954109579, 0.9157223701, 0.176021263, 0.2656930685, 0.0740111023, 0.7877243757, 0.5249036551, -0.6625195742, 0.3904141784, 0.4358124733, -0.2608814538, 0.6109269261, -0.485709697, -0.2471853942, -0.2007805556, 0.5048840642, -1.1090174913, 0.0608963035, 0.2305098027, -0.2445973307, 0.1156892851, -0.1042943373, -0.4471271634, -0.1807581633, -0.8270328045, 0.6510564089, 0.1957220584, -0.7302923203, 0.5810037255, 0.0718742013, -0.2719350755, -0.7027526498, -0.2698704898, 0.1129309013, 0.285936147, -0.7997738123, 0.3551304936, -0.1550587565, -0.2163621783, 0.0870392919, -0.3564903736, 0.2348081768, 0.140861094, -0.3919099569, 0.0839875266, -0.3662202954, 0.0149747077, -0.0651737973, -0.2026366889, -0.2712221742, -0.220177725, 0.4467014372, 0.0763375014, -0.4122457802, 0.3351713419, 0.6539568901, 0.403306514, -0.404810816, 0.8524399996, 0.6500197053, -0.0315365046, -0.4570861459, -0.0128476061, -0.0981697291, -0.3655244112, -0.1535838097, -0.5044641495, -0.7939153314, 0.4070801735, -0.1195983738, 0.0845510289, 0.3422088325, 0.1161946952, 0.029329475, 0.8287083507, 0.5469874144, 0.050437998, 0.492878288, -0.1356138289, 0.1009250656, -1.0742797852, -0.4117524028, -0.5645906329, -0.1509279907, -0.1708201468, -0.5861545801, 0.6747127771, 0.3751341999, 0.1635477096, -0.0514903516, -0.0738229081, 0.265271306, 0.5745256543, -0.0054869945, 0.9072135687, -0.2666359842, -0.4093469381, 0.3349740803, -0.5645483136, -0.3796804845, 1.1038095951, -0.2585513592, 1.2135901451, 0.6992784142, 0.6688331962, -0.0148166725, 0.0930333957, -0.6226614118, 0.701151669, 0.1504013985, -0.3498858809, -0.407576859, -0.8935343623, -0.9971357584, 0.7863249779, -0.0410297886, -0.9105567932, -0.0317165032, -0.0680835247, -0.2553279102, 0.4643496871, -0.567645669, 0.8728461266, -0.0639824271, -0.2553555965, -0.2257019877, -1.004472971, 0.6996745467, -0.0072148987, 0.1607248336, -0.0259100925, -0.5881624222, 0.603721559, -0.8495091796, 0.3255414367, -0.2178105265, -0.2922094464, 0.1556540877, -0.0439387448, 0.4010384679, 0.3579445183, -0.1235043183, -0.3509190977, -0.1868607104, -0.5436780453, -0.6652308702, 0.5067943335, -0.4443726838, -0.3681617379, -0.4338071942, -0.0577091053, -0.2055391073, 0.6137300134, 0.2097312361, 0.5246308446, -0.2248243093, 0.129806608, 0.6860815287, -0.2035161704, 0.7257761359, 0.7574209571, -0.5278471708, -0.4604929388, 0.5244039297, -0.0006926715, 0.5142463446, 0.5321861506, 0.3112279773, -0.2384847999, -0.6419116855, -0.8434870243, 0.2906840444, -0.8903668523, -0.2161429077, -0.7194947004, 0.1419557184, -0.5620082617, -0.2390971631, -0.2308674902, -0.7265617847, 0.0325889736, -0.0047179107, 0.3151266277, 0.5790612102, 0.2933875322, 0.1073350832, -0.8585482836, 1.0069152117, 0.2106562406, 0.6946956515, 0.1474609524, -0.3291569352, -0.0985937864, -0.4493691325, -0.1217036918, -0.9933856726, 0.0439626984, 0.4324707985, 0.6645501852, 0.6261336207, 0.3820107281, 0.4759503603, -0.6609831452, 0.8740895987, 0.3412267864, -0.7455143929, 0.7280489206, -0.243841514, 0.3375118375, 0.4845154881, 0.4888530672, -0.5662700534, -0.3344765604, -0.6538672447, -1.2261823416, 0.9034429193, 0.3036256433, -0.3120700121, 0.1633531898, 0.3412580788, 0.2678664327, 0.5756329894, -0.4338262081, -0.5219486952, -0.0975415334, 0.0787055939, -0.3799381554, 0.0680630282, -0.1158851907, -0.0051633487, 0.5861458778, -0.561006546, 0.2276196331, 0.4314385355, -0.2119642496, -0.2902755141, 0.2295722812, 0.4940273166, 0.8529056311, -0.630895853, 0.396260798, -0.2763491869, -0.6525412798, -0.0713425875, 0.4103045166, -0.4410526752, 0.2472030371, 0.6831905246, 0.4419246018, 0.1900507659, -0.9580513835, 0.9684527516, -0.2321664393, 0.1343253702, 0.1349094957, 0.0690982863, 0.0658112988, 0.2964883447, 0.6363920569, 0.2058146447, 0.4460330307, -0.7336220145, 0.2021953911, 0.4085063338, -0.213087827, 0.0111322273, 0.9601938128, 0.1552540809, -0.121879667, 0.4616982341, -0.2501626015, -0.0492968708, 0.3727045655, 0.3207120299, 0.6374564767, 0.0069428422, 0.1994821578, 0.0668780431, 0.2571935654, 0.0113518918, 0.6322564483, -0.599008739, -0.3358415663, -0.3103886843, -0.4998224378, -0.6860023141, -0.4684031606, -0.4004555345, 0.10149692, -0.4243758321, 0.2182076275, -0.0573890768, -0.1112092212, -0.2481254488, 0.1061511859, -0.0855145231, 1.1557558775, -0.3990119398, 0.5263033509, 0.4475533962, -0.7114195228, -0.5815824866, 0.069081448, 0.0140637457, -0.5074569583, 0.2029053271, -0.0559833199, -0.4578740597, -0.018287275, -0.3135073483, -0.548037529, 1.4816668034, 0.366145879, -0.0859109312, 0.0603191704, -0.2064476758, 0.3546687961, -0.2313492, 0.7796215415, 0.2242127359, 0.1914328784, 0.3194409311, -0.8497033715, 0.2370399535, -0.2299746573, -0.3627803028, 0.3599859476, -1.0067435503, 1.1578102112, -0.566675961, 0.09775424, 0.0311868638, 0.3189719319, 0.2509026229, 0.4317411184, 0.3307623267, 0.3862586021, 1.0198762417, 0.1749781519, 1.2219194174, -0.0712353215, 0.255661279, 1.136277914, -0.2916921079, 1.0155149698, 0.4569559395, -0.0919789895, 0.0828643739, 0.4491843283, 0.4810130298, 0.7150439024, -0.1312473714, -0.3985951245, -0.0047663874, 0.1072506234, -0.6009182334, 0.1090492755, 0.0896364599, -0.3599870205, -0.6246857047, -0.1702482402, -0.0632350221, -0.2240584195, -0.4183377028, 0.7473779321, 0.3246871829, -0.6048079133, 0.3454748392, 0.1572265625, 0.4654198289, -0.7322448492, -0.0954838321, -0.5262975097, 0.1327731907, -0.1225441247, -0.7978509068, -0.1135335118, -0.1311823577, 0.0823774636, -0.5550515056, 0.6711540222, -0.5162405372, -0.218848452, 0.5135875344, 1.0013464689, 0.09949819, 0.099660717, -0.5410555601, -0.5331045389, -0.2360212058, -0.6617771387, 0.3595422804, 0.7853142023, 0.028682569, 0.7685383558, 0.3488577306, 0.1909205467, 0.1062164605, 0.3172216117, 0.9965776801, -0.8590069413, -0.6650542617, -0.6582330465, 0.2909237146, -0.159034878, -0.5360178947, 0.8803876042, 0.8388772607, 0.6303624511, 0.0174925867, 0.5352517366, -0.0946983695, 0.5880888104, -0.8453266025, 0.6820975542, -0.8066505194, 0.4588814676, -0.7522161007, -1.0434045792, -0.1276923269, 0.5305714011, 0.2137468755, 0.0661218986, 0.899766624, 0.3869175315, -0.4539220035, 0.0293840691, 0.1835118979, -0.0253577642, 0.3891430497, 0.4779009819, 0.6907606721, -0.4093854129, 0.8577986956, -0.0197255574, -0.1797004193, -0.3597466946, -0.820355773, -0.7166202068, -0.3418757021, -0.2440296263, -0.185242638, -0.2989367545, 0.7214512825, 0.4390244186, -0.4861921966, -0.1680276096, 0.1188890859, 0.6288673878, -0.3023663461, -0.2106661499, 0.523365438, -0.5026245117, -0.4613354206, 0.5876728296, 0.4438645542, -0.0840465873, -0.2244192809, -0.2198691219, -0.4176551998, -0.1513727754, 0.4975588322, -0.0074685342, -0.3444626927, 0.0060104309, -0.1614102423, -0.1578421295, 0.1439162195, 1.0346810818, -0.9167545438, 0.6099273562, 0.7025374174, 0.446507901, 0.8253225088, 0.0281176101, 0.4584971368, -0.8527950644, 0.0733884498, 0.3652150333, 0.5432699323, 0.1299256831, -0.0632638335, 0.728951633, 0.5582998395, -0.157819286, -0.5058580637, 0.1070064306, -0.9751996398, -0.5860483646, 0.8298173547, -0.2725110352, -0.3069808185, -0.2449019104, -0.3446980417, -0.146612823, -0.7343478799, 0.2797586024, 0.2592819333, -0.4219879806, -0.3761233091, -0.6013860703, 0.5547270179, 0.0631205812, -0.8069041967, 0.0577617064, 0.7188545465, -0.0440723076, 0.3509706855, 1.393794775, 0.0549750142, 0.3359566629, 0.2809158266, -0.3447133005, 0.1202847064, -0.2591419518, -0.0756423771, 0.705947578, 0.039480228, 0.1452567875 ]
http://arxiv.org/abs/2406.12480v1
http://arxiv.org/pdf/2406.12480v1
The Power of LLM-Generated Synthetic Data for Stance Detection in Online Political Discussions
2024-06-18T10:36:21
2024-06-18T10:36:21
Stefan Sylvius Wagner, Maike Behrendt, Marc Ziegele, Stefan Harmeling
cs.CL
cs.CL, cs.LG
Stance detection holds great potential for enhancing the quality of online political discussions, as it has shown to be useful for summarizing discussions, detecting misinformation, and evaluating opinion distributions. Usually, transformer-based models are used directly for stance detection, which require large amounts of data. However, the broad range of debate questions in online political discussion creates a variety of possible scenarios that the model is faced with and thus makes data acquisition for model training difficult. In this work, we show how to leverage LLM-generated synthetic data to train and improve stance detection agents for online political discussions:(i) We generate synthetic data for specific debate questions by prompting a Mistral-7B model and show that fine-tuning with the generated synthetic data can substantially improve the performance of stance detection. (ii) We examine the impact of combining synthetic data with the most informative samples from an unlabelled dataset. First, we use the synthetic data to select the most informative samples, second, we combine both these samples and the synthetic data for fine-tuning. This approach reduces labelling effort and consistently surpasses the performance of the baseline model that is trained with fully labeled data. Overall, we show in comprehensive experiments that LLM-generated data greatly improves stance detection performance for online political discussions.
[ -0.9177443385, -0.7644960284, 0.6883178353, -0.105203703, -0.5909368992, 0.1382926852, -0.2156136781, -0.359820962, 0.5053722262, 0.4609923363, -0.4214710891, -0.5634939671, -0.6488105059, 0.1578631401, -0.4096120298, 1.0460710526, 0.3680691719, 0.2755844593, -0.0632021576, -0.234816581, -0.1491657495, -0.4931879938, -0.4950881898, -0.5625846386, 0.3636559844, 0.2963919938, 0.6110160351, 0.7485064864, 0.2101279348, 0.3504972458, -0.1682584733, 0.4545737803, -0.7008759975, 0.2185867131, -0.2037066072, -0.7167431116, -0.5321118236, 0.1128036305, 0.6421986818, 0.2331098616, -0.1421052963, -0.1266798973, -0.1684864312, 0.6121074557, -0.3580358326, 0.0328107066, -1.0995963812, 0.0687615573, -0.2208043784, -0.3226737976, -0.3784776628, -0.4832043946, -0.2702997029, -0.591217339, 0.4760822058, -0.1438134462, 0.744177103, 0.1016246155, -0.5149513483, -0.2339446247, -0.9034024477, 0.4609606862, -0.7612451315, 0.3423222601, 0.1043224484, 0.3142948151, -0.3408831954, -0.6292715073, -1.0430599451, -0.0088389451, 0.0791474432, 0.2343242317, -0.3075003028, 0.1206130609, 0.2560825944, 0.2927019596, -0.2180040479, -0.005023825, -0.2999415994, -0.236967966, 0.6590479016, 0.2550755143, -0.0997027755, -0.6091997027, -0.3489332497, -0.2300061882, -0.6475749612, -0.0134929316, 0.8522855639, 0.4975912571, 0.0963522419, 0.6767544746, -0.3538084924, 0.5945888758, 0.7785079479, 0.0124751432, -0.081633158, -0.2683948576, -0.0494727939, -0.0917688981, 0.8180204034, 0.480293721, -0.0127248513, 0.277913928, -0.2154112607, 0.2521779239, 0.3154000938, -0.8013386726, -0.3058695495, 0.3124161959, -0.4513231516, -0.4571081996, 0.5491138101, -0.8110406399, -0.985650897, -0.8273179531, 0.118687205, -0.1024690866, -0.3738089502, -0.0773538202, -0.344735086, 0.5426692367, 0.6519036889, -0.4384032786, 0.0526523404, 0.9647253752, 0.744530201, -0.4488304853, 0.3471929431, -0.4881107509, -0.1468907595, -0.5248523355, 1.1666827202, -0.5292913318, -0.3282131553, -0.0685806796, 0.0273971111, 0.2182991803, -0.943938911, 0.2875893414, -0.5041753054, 0.0943170041, -0.1866345853, -0.826028049, 0.0943128094, 0.7756066918, -0.9015648961, 0.9193331003, -0.2373081595, -0.7701535821, 0.5047367215, -0.4944287539, -0.2248007655, -0.1646076292, -0.3395308256, -0.5471968651, 0.0106322439, 0.3247242868, 0.4529225528, 0.0156065468, 0.3849673271, -0.3790112138, -0.1166116297, 0.637807548, -0.2935481966, 0.5525665283, -0.0440527499, -0.4192035198, 0.3218311667, -0.8129970431, -0.2427388877, -0.0512012057, -0.4290114343, -0.1607587785, 0.1483350247, -0.1720307022, 0.1781958044, -0.0279376116, -0.5690121651, 0.2162778229, -0.5817970037, 0.0326368213, 0.8554401398, 0.3091575801, 0.4590733349, -0.3684416413, 0.5002333522, 0.0742802545, 0.0730855316, 0.2212276906, -0.4534348249, -0.9730041027, -0.0737864152, 0.1167274192, 0.4675474763, -0.7102221847, 0.2859613001, -0.1956691891, -0.5393916368, -0.5223336816, 0.0964695439, -0.0036442862, 0.2107340097, 0.323895514, 0.0936568826, -0.5878428817, -0.8149152398, -0.5665313601, -0.2237281203, -0.0247207135, 0.1885212958, 0.3482483625, -0.1616588384, 1.159116745, -0.3378062844, -0.028577039, -0.5534062982, 0.2410928011, -0.0115624033, 0.0815677792, 0.3274148107, -0.8644536734, -0.4549260736, -0.0120240776, -0.426338017, -0.0675795302, -0.399913162, -0.3198825121, 0.1767652333, 0.3924004138, -0.8686389923, 0.3100990057, 0.283496052, -0.1142674759, 0.2317129821, 0.1629363447, 0.2427142262, -1.4457651377, -0.2334062606, 0.1329443008, -0.5818511844, -0.8285781145, -0.1564335674, -0.1107807234, 0.0385422856, -0.7578725815, 0.4044540823, -0.0826928839, 0.2555111051, -0.5721931458, 0.174206838, -0.0971108153, 0.1487389803, 0.2036705464, 0.4835602045, 0.1615946889, -0.5209812522, 0.3363288343, 0.235892415, -0.0142208394, 0.7059039474, -0.4675281048, 0.5099141002, -0.1836685538, 0.5539836287, -1.0932979584, -0.4683100283, 0.3789506555, -0.4486185908, 0.3027906716, -0.465610683, -0.3471974134, 0.0711558983, -0.6422953606, 0.0351546109, 0.1836973876, -0.7003234625, 0.7023196816, 0.7922427058, 0.2570309639, -0.4211958349, -0.2887995839, -0.0897042155, -0.4567990303, -0.357930392, 0.4381491542, 0.3128891885, -0.5602427125, -0.2796006799, -0.1664435565, 0.2520045638, -0.3812932074, 0.3973143399, 0.1231866851, -0.0390152261, 0.086349085, 0.0386177339, -0.1901994497, 0.2042351514, -0.116499573, 0.6437270045, -0.0036473207, -0.375990361, -0.6648413539, 0.1029335931, 0.677063942, 0.2521523535, 0.7859219313, 0.6386241913, -0.2942959368, -0.622618854, -0.5306751132, -0.380081892, -0.5263741016, 0.0930542499, 0.1838531196, -0.7266795039, 0.4066419303, -0.4286314547, 0.1162825152, 0.4133118093, 0.7370749116, -0.366758734, 1.1027286053, 0.3832588196, -0.0158514958, 0.5083702803, -0.3585401773, 0.103467077, -0.4149619639, -0.288041085, -0.4123923779, -0.4557794929, -0.7303453684, -0.6473755836, 0.4210665226, -0.2829688787, -0.0340887979, 0.1039613783, -0.5140506029, 0.5164681077, 0.1125447601, 0.3294489086, 0.2983312905, 0.1146292835, 0.4122968614, -0.1796453893, -0.3047618866, -0.5100932717, 1.0590898991, 0.1534411907, 0.7387526035, -0.0822318271, 0.5786809325, 0.5282812119, 0.4033499062, -1.1062620878, 0.7415385246, 0.0062254579, -0.4612411559, 0.0129522895, -0.4192454815, -0.827296257, 0.4296143353, -0.3920219541, -0.0804160237, 0.0697678849, 0.434620589, -0.0653516576, 0.5928278565, -0.1673596948, 0.5932326913, -0.151234895, -0.1595660299, -0.45019418, -0.4733741283, 0.199869737, 0.0351388678, 0.0899014324, -0.1458223164, 0.1416619867, 0.7722955942, -0.3813402057, 1.1695560217, -0.4699501693, -0.1128865331, 0.4215719402, 0.0158640314, 0.6080477834, 0.1741151512, -0.037246868, 0.1120155826, -0.368296206, 0.0703210607, -0.5913580656, 0.4437027872, -0.8481313586, -0.9333306551, -0.3312640488, -0.479555279, -0.2563937306, -0.2806975245, 0.2537928522, 0.1807326525, -0.4507830739, 0.5051221251, 0.595398128, 0.0089853266, 0.0788888708, 0.3291605115, -0.0414848328, -0.4726086855, 0.7587807775, 0.0596889928, 0.2535534501, 0.3605927825, 0.4190713465, -0.6477788091, -0.3607304394, -0.1876319647, 0.1362865716, -0.9126579165, -0.4777552783, -0.547603786, -0.161940068, -0.0937691107, -0.1093651503, -0.504211545, -0.8424032331, -0.3153414726, -0.3756034374, 0.5166885853, 0.9000636339, -0.0263499394, 0.5633091331, -0.3716783226, 0.5692362785, 0.2120381296, -0.0246530157, -0.4512330592, -0.5868495703, 0.2042849064, 0.1731459051, -0.7476887703, -1.2037448883, 0.3680069447, 0.1669619083, 0.4967148304, 0.6146410704, 0.2666589916, 0.6190053821, -0.0683561414, 0.7315541506, -0.1779646277, -0.7231859565, 0.8262789249, -0.5466189384, -0.1309569329, 0.2914568484, 0.4247480333, -0.0160483681, -0.7628873587, -0.5725658536, -0.6844953895, 0.7729163766, 0.2700093389, 0.3494724631, 0.0482056402, 0.3862514496, 0.291865021, 0.1758238375, -0.7424709201, -0.1087704748, -0.3877325654, 0.0022822008, 0.2565442622, 0.1760398299, -0.4032985866, -0.5734373927, 0.5856376886, -0.3924229145, 0.0788508356, 0.003831309, -0.0078883925, -0.0499695018, 0.2558194101, 0.4366881847, 0.4200972915, 0.0889266357, 0.202523917, 0.4020617008, -0.293813169, 0.1314020455, -0.1935571134, -0.2062801719, 0.2268504798, 0.0054432191, 0.7599509954, -0.2272021323, -0.2548589408, 0.3180570304, 0.0008264633, -0.1587310433, -0.3943726122, 0.2695769966, 0.4024738371, 0.3790504932, 0.1204912737, 0.0971774012, 0.0335777998, -0.6330374479, 0.339504987, 0.7728432417, -0.0887222961, -0.3843418956, 0.5551127791, 0.1004980206, -0.3501655757, 0.3197425902, -0.0156746153, -0.7127743959, 0.8285626769, 0.6041224599, 0.4444413185, -0.1388758421, 0.5431650877, 0.4028580785, 0.0500776134, 0.0702358186, 0.2490132451, 0.0131177101, -0.9117205143, 0.0638416782, -0.4662797451, -0.6922616959, 0.4203371108, -0.4898015857, 0.4366183281, -0.7775046825, -0.6679854393, 0.0591818057, 0.0526535325, -0.4794588685, -0.0612526834, 0.1428587437, 0.4528867304, -0.9092325568, 0.5643676519, 0.6556780338, 0.0381866358, -0.5164397955, 0.3150064647, 0.4064413011, -0.4855099618, 0.2295587212, 0.1520964056, -0.4334745705, -0.1210920513, -0.7503812909, -0.3778405786, 0.9769403338, 0.7733151913, -0.3780038357, 0.4985322952, 0.6094431281, 0.6615577936, -0.3924977481, 0.1195977926, 0.3995366693, 0.5655074716, 0.1980030388, -0.4004605711, 0.0075328359, -0.159321323, -0.2787691355, 0.2286954969, -0.666801095, 0.8546075821, 0.2266138792, -0.317966789, -0.4424719214, 0.6555147767, 0.4717315435, 0.2795289457, 0.61623317, 0.2778061926, 0.7736655474, -0.142774418, 0.8998558521, -0.2782030404, 0.3235419989, 0.7259442806, -0.3017805219, 0.8833384514, 0.5171681643, 0.0622472987, 0.476472348, 0.5932478905, -0.0046921205, -0.009328776, 0.1370584071, -0.4138678014, -0.6378925443, -0.1734678298, -0.1250119507, 0.4641753435, 0.6174423695, -0.1122454181, -0.2282644808, -0.0777889937, 0.0202256013, 0.2549563944, -0.221689418, 1.0342015028, 0.0707018301, -0.6636939049, 0.4941074252, 0.0175162069, 0.6321769357, -0.4028413594, -0.231662333, -0.3935163915, 0.3113985658, -0.3708676398, -1.0151680708, 0.3567925692, 0.1696348637, -0.0399834625, -0.288731873, 0.9536719322, -0.3582295775, -0.3165771067, 0.1943899095, 0.6647680402, 0.0281939004, -0.0470378064, -0.5668309331, 0.1055435836, -0.1413181275, -0.4531357884, 0.4432771504, 0.3118365407, -0.1400365382, 0.5066101551, 1.0421414375, 0.1103525013, -0.0203544665, 0.1296687424, 1.249917388, -0.3738034964, -0.4332716167, -0.9047513008, 0.4907719493, -0.3476354778, -0.071665585, 0.6313264966, 0.5738099217, 0.9104164839, -0.0435111038, 0.8067917824, 0.0050259116, 0.3340707123, -0.497535944, 0.8788599372, -0.3883993924, 0.1414230615, 0.2269033194, -0.7835257053, -0.2533667386, 0.8171898723, -0.1209929511, -0.1171207055, 0.3018124998, 1.139759779, -0.5034951568, 0.0525393821, 0.088933669, 0.1386316717, 0.585528791, 0.0654342473, 1.1299563646, -0.0954027399, 0.5193142891, -0.3033418953, 0.2274320424, -0.090289928, -0.7962347269, -1.2412388325, -0.4950947165, -0.3304776847, -0.4913663268, -0.2230849564, 1.207192421, 0.7008535266, -1.0041909218, -0.2219514102, -0.1714859307, 0.0642972887, 0.2523354888, -0.2715159655, 0.1712957621, -0.0534777716, -0.7625858784, 0.6196067333, -0.078215085, 0.0417354517, -0.2095638812, -0.1654531509, -0.0858825073, 0.4492916167, 0.4953009486, 0.2984596491, -0.9011145234, -0.3690748513, 0.07083112, 0.015615386, 0.4723823369, 1.0367815495, -0.7469902039, 0.5197612643, 0.6644285321, 0.6040273309, 0.550617218, 0.6370139122, 0.6099178791, -0.9332072735, 0.1573909521, 0.2173392177, 0.1936215609, 0.4977772236, -0.4400272369, 0.1683464944, 0.3963033855, -0.2793466449, -0.7276248336, 0.2005006969, -1.038621068, -0.1613230705, 1.3143242598, 0.2507368028, 0.0554769486, -0.1349424571, -0.5267856121, 0.5359349251, -0.4699868858, 0.8859812617, 0.48960343, -0.5139763355, -0.0292047318, -0.3881524503, 0.6632889509, 0.0360496826, -1.1098903418, 0.0880751014, 0.5901735425, 0.3157682121, 0.0364806727, 0.5411302447, 0.0519806705, 0.0100016715, -0.1451420933, -0.3670129478, -0.0091633713, -0.4085589945, -0.356957823, 0.3384655118, -0.3086340129, -0.0491865128 ]
http://arxiv.org/abs/2406.12474v1
http://arxiv.org/pdf/2406.12474v1
Exploring Intra and Inter-language Consistency in Embeddings with ICA
2024-06-18T10:24:50
2024-06-18T10:24:50
Rongzhi Li, Takeru Matsuda, Hitomi Yanaka
cs.CL
cs.CL, stat.ME
Word embeddings represent words as multidimensional real vectors, facilitating data analysis and processing, but are often challenging to interpret. Independent Component Analysis (ICA) creates clearer semantic axes by identifying independent key features. Previous research has shown ICA's potential to reveal universal semantic axes across languages. However, it lacked verification of the consistency of independent components within and across languages. We investigated the consistency of semantic axes in two ways: both within a single language and across multiple languages. We first probed into intra-language consistency, focusing on the reproducibility of axes by performing ICA multiple times and clustering the outcomes. Then, we statistically examined inter-language consistency by verifying those axes' correspondences using statistical tests. We newly applied statistical methods to establish a robust framework that ensures the reliability and universality of semantic axes.
[ -0.3334112465, -0.5559892654, 0.5477193594, 0.3973243535, -0.2576045394, -0.0332885832, -0.2211781442, -0.4925697148, 0.5636133552, 0.1810376793, -0.3516809642, -0.9197536111, -0.6789650917, 0.1977123022, -0.3611283302, 0.3904388547, -0.4421483278, 0.5048021078, -0.5059121847, -0.9940042496, -0.7859079242, -0.2675067484, -0.11566405, -0.2499502897, 0.407646507, 0.382668376, 0.9296768904, 0.8586334586, 0.5859860778, 0.2823851407, 0.423268348, 0.1746590436, -0.1756844074, 0.1342939138, -0.3449680805, -0.2179287821, -0.2997123003, -0.1398083717, 0.8009887934, 0.7515618205, 0.2224250883, -0.1889611036, 0.3912352324, 0.2775841057, -0.7339488864, 0.698131144, -0.7045907974, -0.1358897984, -0.2765813768, 0.0526701845, -0.1799595803, -0.3928914368, 0.0258742422, -0.6622694135, -0.1459452659, -0.2131705582, 0.9507550001, -0.0467223935, -0.6086223125, -0.4255620241, -0.6261200309, 0.6820661426, -0.515335381, 0.7910585999, 0.5149151683, -0.1350199729, -0.207319811, -0.5392278433, -0.7511805892, -0.2307018489, -0.2780744135, -0.0308788829, -0.3299260437, -0.0865423828, -0.4104209244, -0.2619194686, -0.4340600669, 0.3904628158, 0.160326466, -0.3037224114, 0.4704507887, -0.1085770056, 0.7868537903, 0.0375419632, -0.493201822, -0.4553146064, -0.9417259097, -0.0817388296, 0.4852433801, 0.5323765278, -0.1921301186, 0.8927925229, -0.0403084494, 0.0759428218, -0.236935541, -0.2933502197, 0.3002674878, -0.5255402327, 0.2784709334, 0.2069225013, 0.7869279981, 0.2612243295, 0.0320677347, -0.5272529721, 0.1351231039, 0.451975584, 0.0825933814, -0.3236787021, 0.0101009253, 0.227217555, -0.4165644646, 0.1503317058, 0.2413901687, -0.4586714506, 0.074239634, -0.6434128284, 0.6174182892, -0.7230238914, -0.3104682565, -0.0752177611, 0.1066809669, 0.3805031478, -0.1224749312, -0.7085672021, 0.1792077869, 1.2016983032, 0.4995557666, -0.2111181319, -0.9136803746, -0.1017026976, 0.208741799, -0.6691690087, 1.1196731329, -0.6513518691, 0.0928054154, 0.2394543737, 0.1798803508, -0.0203322787, -0.3869737685, 0.3223241866, -0.3640229404, -0.1985747814, -0.6542416215, -0.8986617327, -0.2477233112, 0.2935625613, -0.4073795378, 0.755789876, -0.1572633088, -0.7610160708, 0.9501129985, -0.0106793223, -0.0789884627, -0.1047343537, -0.9050696492, -0.5855186582, 0.1728258729, 0.1157146841, 0.3218519986, -0.1342487782, 0.2111795843, -0.6533122659, -0.1652673185, 0.2197971642, -0.3231243193, 0.6802833676, -0.2577844858, -0.2559076846, -0.1262320429, -0.7639500499, 0.2212867141, -0.0847554952, 0.1088634804, -0.6787831783, 0.2976847887, -0.2693964839, 0.0515386723, 0.1569647491, -0.9724752903, 0.2990202308, 0.0781567246, -0.1979806274, 0.7638323903, -0.1477422267, 0.1618859619, 0.0581096448, 0.2704102695, 0.4669297338, -0.2583126128, -0.004470116, -0.6650675535, -0.4566185772, -0.4194966257, 0.3331334889, 0.4082081318, -0.630392015, 0.7174370885, -0.4307841361, -0.4471604824, -0.5998317003, 0.0596564114, 0.5076088905, 0.1272929758, 0.1925791651, -0.6326779127, -0.3997217119, -1.0734143257, -0.1438726485, -0.2688213885, 0.1182585284, -0.2490520328, 0.3700400293, -0.4851330221, 1.0883107185, -0.2716422081, -0.458593905, -0.1494287252, 0.2639374733, -0.20550403, 0.6965451837, 0.7437881827, -0.3415272236, -0.6716344357, 0.2378925532, -1.0135191679, 0.004984424, -0.0131279239, -0.3715274334, -0.0693707764, 0.5114752054, -0.3809411824, 0.9299030304, 0.6991715431, -0.4682173431, 0.1706949025, -0.5310431719, 0.1468169689, -0.8037304282, -0.2063984126, -0.2145683765, 0.1352388412, -0.576726377, -0.0294175651, 0.233694911, 0.1880120039, -0.1299063265, 0.3204607368, -0.5360492468, -0.2274141908, -0.2780823112, 0.3823421001, 0.0212136544, 0.4784164727, -0.2449941635, 0.6044563055, 0.6896229982, -0.4470202029, -0.0307511352, 0.4142431617, -0.3878513873, 0.8424989581, -0.5889934301, 0.1889846921, -0.498899281, -0.0563306361, -1.2645076513, 0.1536815614, 0.1637196243, -0.1691382825, 0.3088497818, 0.0271995701, -0.6350537539, 0.405066371, -0.3304634988, 0.61609447, -0.0360357165, -0.611977458, 0.7906830311, 0.6807076931, 0.1070796698, -0.6095517874, -0.4228554368, -0.167616725, 0.0153436298, -0.8470662832, 0.3002210259, -0.0327623561, -0.5897563696, 0.3105039895, -0.0292763785, -0.1642622948, -0.0382627994, 0.2156228274, 0.0706403628, -0.2633040547, 0.2460453808, 0.1241415143, -0.4134775996, -0.2609454393, -0.1829967797, 0.4293035567, -0.050692603, -1.1003754139, -0.8092550635, 0.6081428528, 0.3264933825, -0.1937110126, 0.791893363, 0.5478905439, -0.4888143837, 0.0397911705, -0.2898831666, -0.0870083943, -0.3750562966, 0.2933177948, -0.6675254703, -0.4781588316, 0.8900970221, 0.262732774, 0.144517526, 0.6221434474, 0.3578027785, 0.1213898808, 1.1810293198, 1.0235235691, -0.0804083869, 0.037679024, -0.0334664732, 0.4487431049, -0.6269940138, -0.3877251148, -0.8672407866, -0.3120971322, -0.9173086882, -0.2967275083, 0.4153821766, 0.1656873971, 0.1791515648, 0.2877108455, -0.1758936197, 0.5410515666, 0.4158035219, -0.3303107917, 0.3212950528, 0.0051050163, -0.4771659076, -0.2648406327, -0.4835236967, -0.496276021, 0.8520249128, 0.2207569629, 0.831788063, 0.0374969803, 0.5702472329, -0.0220279787, 0.2382988185, -0.6472029686, 0.3498933017, -0.4433007836, -0.1844330281, -0.1078057215, 0.0405806415, -1.2310720682, 0.6575802565, -0.1911912709, -0.8040457368, 0.6720290184, -0.1367251575, 0.3415310383, 0.4144555926, -0.4012982547, 0.7997691631, -0.0011383301, 0.0029612181, -0.1185869724, -0.4088836908, -0.0385588445, 0.0195464268, 0.1961166263, -0.5494833589, 0.0179076474, 0.4808068871, -0.472673744, 0.7721610069, 0.2432272136, -0.3590476215, 0.3912400603, 0.0685281679, 0.4658435583, 0.0942630097, 0.1772732586, 0.6200245023, 0.1880038381, -0.4863971174, -0.55799824, 0.8505575061, -1.0055351257, -0.107506156, -0.4784010351, -0.5431827903, -0.3964450359, 0.1619573236, 0.0753289387, 0.6689498425, -0.2482939959, 0.2961003482, 0.5301096439, -0.0956115797, 0.1956399977, 0.4329984188, -0.2390472591, -0.2653614581, 0.9061816335, 0.533079803, -0.0258601625, 0.476681143, 0.2661933601, -0.1593207568, -0.5913136005, -0.3362544477, 0.3926590383, -0.8148033619, -0.1238555908, -0.6023647785, 0.1411772519, -0.6520775557, -0.0837295279, -0.6785460711, -0.1901846677, 0.0341696963, -0.1165369675, 0.1255277693, 1.0604507923, -0.3343171775, -0.0738127157, -0.8938326836, 0.2242763937, 0.2631194592, 0.4471377134, -0.0225621872, 0.1883298457, -0.1459328979, 0.1273986399, 0.0440624095, -0.8419267535, 0.0591082014, 0.143145889, 0.8505373597, 0.5138801932, -0.0946904197, 0.6545626521, -0.514539063, 0.6144014001, 0.0161062684, -0.9386627674, -0.0456197187, -0.075713791, 0.5367962718, 0.5825454593, 0.3496280611, -0.5666740537, -0.6675792336, -0.4458545446, -0.9182966352, 0.458131969, 0.1748308539, -0.0323012546, -0.3080440462, 0.1200917065, 0.4360735714, -0.2193520367, -0.2377654463, -0.3618558049, -0.0481071025, -0.5665002465, 0.1262994409, -0.3168346882, -0.3400428295, 0.1266697347, 0.5806381702, -0.4431222975, 0.341750294, -0.0199519396, -0.1038764045, 0.1355763376, 0.0821222812, 0.4136294127, 1.2127867937, 0.1288898885, 0.4329222143, -0.0276895538, -0.5909273624, 0.1594620645, -0.1071918532, -0.2743737698, 0.2305871993, 0.6954883337, 0.5354419351, 0.2044607401, -0.4772397876, 0.5428200364, -0.4631618559, 0.1058007255, -0.2796743214, -0.6116751432, 0.0460685827, 0.0887635797, 0.0439991429, -0.2389663756, -0.3100711405, -0.5713397861, 0.3851677775, 0.6131362319, -0.4654044211, -0.6572846174, 0.126423344, -0.4728143811, 0.2268901616, 0.6437428594, -0.0776345953, -0.2889720201, 0.5212060213, 0.3997942209, 1.0471813679, -0.0288768131, 0.260743469, 0.081659846, 0.4084601402, 0.1118604019, 0.5518007874, 0.3276754916, -1.1052968502, -0.1393173635, -0.3650531769, -0.492849946, -0.4233919382, -0.7431891561, 0.1810450554, 0.0010558098, 0.1260912865, 0.0636714995, -0.2474916279, -0.8928328156, -0.0386124998, -0.125407517, 0.4884852171, -0.8985485435, 1.0802153349, 0.5614808798, -0.419765681, -0.9465872645, -0.0572269596, 0.1052439138, -0.9288916588, 0.5420663357, -0.0572276004, -0.2764442861, -0.780647397, -0.3646904528, -1.3758635521, 1.0746566057, 0.4967901409, -0.0993398577, 0.3126421273, 0.6521404982, 0.5978119373, -0.5186265707, 0.0598460995, 0.3580279052, 0.3465064764, -0.2016520947, -0.7597586513, -0.0403753892, 0.1266845912, 0.182528317, 0.2486189157, -0.5326206684, 0.8023698926, 0.175079152, -0.2915427983, -0.0071881344, 1.1898010969, 0.1831752956, 0.2595595419, 0.377818644, 0.7685976624, 0.6893408298, -0.2280307859, 0.8497169018, -0.6505618095, 0.3111008108, 1.1903162003, -0.3544090092, 0.8539729714, 0.4062406123, -0.0513572991, 0.6303940415, 0.0195504613, 0.4287304282, 0.5009247661, -0.2293570191, -0.1285804212, 0.1415866464, -0.3019800782, -0.2525262833, 1.0350519419, 0.2333903015, 0.0084059266, -0.4016441703, 0.3062113523, 0.4720874727, 0.0719120875, 0.0528359488, 0.8011007905, -0.0733904392, -0.573865056, 0.1897399724, -0.0196389258, 0.3795868754, -1.0188552141, -0.0568219312, -0.3610689342, 0.4995643198, 0.1024411991, -0.8104149103, 0.4555598497, -0.4941827953, 0.1060143635, -0.0651079789, 0.5543553829, -0.8155068755, -0.4326521754, 0.5426434278, 0.4443259537, -0.0145515967, 0.4464309514, -0.3540783525, 0.5376513004, -0.1397540271, 0.223512575, 0.5830118656, 0.8415185213, -0.150720492, 0.4767685235, 0.3039602041, -0.1182285324, 0.2519845665, 0.0445754118, 0.6575023532, -0.3326077759, -0.3136150241, -0.6607565284, 0.4066137373, 0.1559793204, -0.5492137671, 1.232666254, 0.3582721055, 1.1851036549, 0.1829789281, 0.4433830082, -0.039598573, 0.2210221589, -0.4945608377, 0.4759756327, -0.320561707, -0.0204946734, -0.278170228, -0.7665344477, -0.3897230923, 0.4937410057, 0.2262697816, -0.3306145668, 0.8228985071, 0.7147827148, -0.1411522329, 0.0457989648, 0.3822055459, 0.2877375782, 0.6154081225, -0.1795701683, 0.4061552584, -0.4094789922, 0.1674989909, -0.6772108078, -0.1980953962, 0.3284361362, -0.8558452725, -0.3790396154, -0.8370474577, -0.4199797809, -0.4513839781, -0.1557064801, 0.9479019642, 0.4263034165, -0.9978507757, -0.4567831159, 0.2519456446, 0.2888643742, -0.6380572319, -0.1688961834, 0.8778774142, -0.4817461073, -0.7903974652, 0.4660949409, 0.5730119348, -0.1709432006, -0.6933395863, 0.2645596862, -0.337187916, 0.258218646, 0.5689149499, 0.2449892014, -0.6346766949, -0.8603246212, -0.3128099442, -0.1556836516, 0.224406302, 0.8967909813, -0.4876985848, 0.7945458889, 0.8814570904, 0.7627239227, -0.1434539407, -0.2374568433, 0.7706484795, -0.587634027, 0.2342444211, -0.0219171457, 0.771427989, 0.331384778, -0.030823024, 0.3930946887, 0.0023719766, -0.6417919993, -0.516769886, 0.3217523396, -0.9590776563, -0.1691455096, 0.7975023389, -0.5589746833, -0.2646900713, -0.2955701351, -0.0021795172, 0.0959051251, -0.032005012, 0.7077168822, 0.81105721, -0.2444497198, 0.4248722792, 0.0300471764, 0.3110268116, 0.2502417862, -0.7412449121, -0.1528229266, 0.234543547, 0.3601121008, 0.4415684342, 0.5408949852, -0.3920152187, -0.1096385568, 0.2608527541, -0.0665070638, 0.6078470349, -0.5944203734, -0.1717341989, 0.3175145984, 0.0485328659, -0.312522769 ]
http://arxiv.org/abs/2406.12471v1
http://arxiv.org/pdf/2406.12471v1
Fighting Randomness with Randomness: Mitigating Optimisation Instability of Fine-Tuning using Delayed Ensemble and Noisy Interpolation
2024-06-18T10:20:36
2024-06-18T10:20:36
Branislav Pecher, Jan Cegin, Robert Belanec, Jakub Simko, Ivan Srba, Maria Bielikova
cs.CL
cs.CL
While fine-tuning of pre-trained language models generally helps to overcome the lack of labelled training samples, it also displays model performance instability. This instability mainly originates from randomness in initialisation or data shuffling. To address this, researchers either modify the training process or augment the available samples, which typically results in increased computational costs. We propose a new mitigation strategy, called Delayed Ensemble with Noisy Interpolation (DENI), that leverages the strengths of ensembling, noise regularisation and model interpolation, while retaining computational efficiency. We compare DENI with 9 representative mitigation strategies across 3 models, 4 tuning strategies and 7 text classification datasets. We show that: 1) DENI outperforms the best performing mitigation strategy (Ensemble), while using only a fraction of its cost; 2) the mitigation strategies are beneficial for parameter-efficient fine-tuning (PEFT) methods, outperforming full fine-tuning in specific cases; and 3) combining DENI with data augmentation often leads to even more effective instability mitigation.
[ -0.6619558334, -0.7612686753, -0.0168106258, 0.2763210535, -0.3378916979, 0.5643984079, -0.4597539604, -0.4781965613, -0.0200000536, 0.3541551828, -0.6781615019, -0.0627156124, -0.5825459361, 0.05794058, -0.3438687921, 0.842682302, 0.1528750807, 0.2074205279, -0.0551942699, -0.0887371972, -0.180510819, -0.5522738695, -1.1409486532, -0.341409266, 0.5183517933, 0.5477146506, 0.7595806718, 0.4387576282, 0.503806591, 0.2913473547, -0.022559531, 0.1908011585, -0.6525197625, 0.3629959524, 0.3448663652, -0.671830833, -0.0900931656, -0.0205355063, 0.9204341769, 0.5299856067, -0.3129926324, -0.1318660676, 0.2074003369, 0.7202398777, -0.6896813512, -0.0924052298, -0.7928712368, 0.0792750716, -0.5185692906, -0.2734313905, -0.314509362, -0.2566958964, -0.1624909639, -0.6155380011, 0.3674578071, 0.1913487166, 0.9741103053, 0.5111402273, 0.3115683496, 0.0063309148, -0.9924069047, 1.0220389366, -0.8242406249, 0.3429369628, 0.3115561008, 0.249240011, -0.2917046249, -0.3450132012, -0.5225723386, 0.0759369507, 0.2860928178, 0.2075638771, -0.1427950412, 0.1745033562, 0.2666487396, 0.1088257283, -0.4031952024, 0.8627530932, -0.3299896717, -0.340947628, 0.7852817774, -0.067961067, 0.1381342113, 0.634660542, 0.009803866, -0.5010136962, -0.7544508576, 0.1407524943, 1.1997516155, 0.4056138992, 0.0329710431, 0.387254715, -0.2397737354, 0.6329936981, 0.3086653054, -0.0511901714, 0.2368080914, -0.2434008121, -0.0049299616, 0.2722175121, 0.5810360312, 0.2277938575, 0.4590883255, -0.3091309369, -0.4925430715, 0.1451259553, 0.1621922702, -0.8023231626, -0.192475915, 0.4417821765, -0.3522917032, -0.8440429568, -0.2495425642, -0.9224633574, 0.0107402569, -0.223696664, 0.2628202438, -0.3312180936, -0.1661145687, 0.0245504435, -0.116335392, -0.1966017485, 0.3245100975, -1.2090631723, 0.5263600349, 0.6372270584, 0.6441494823, -0.1086800992, -0.2841114402, -0.4402359128, 0.0012803685, -0.5908429623, 0.7806959748, -0.6899251938, -0.4784749448, -0.2158504725, -0.2462720871, -0.1484288275, -0.5725925565, 0.4080367684, -0.3757834136, 0.194767952, 0.0991724208, -0.3573040664, 0.1820655912, 0.0902603641, -0.7202073336, 1.2074929476, -0.0202528443, -0.7899368405, 0.6209521294, -0.3995710909, -0.2884009182, -0.1167377383, -0.2389787287, -0.7740692496, 0.1146923453, 0.2127072364, 0.3969958425, -0.1329019517, 0.1848610938, -0.3856938481, -0.7045497298, -0.0712549686, -0.5298582315, 0.362837255, 0.6673244834, -0.1064223647, 0.1075176597, -0.9848685265, 0.2111614197, -0.057550706, -0.3182509542, -0.4465076327, 0.185485065, -0.0987048894, 0.0626699626, -0.0502061583, -0.3533853889, 0.2457628399, -0.7343502045, 0.5885125399, 0.8536108136, 0.0562382601, 0.5996730328, -0.7421540022, 0.4045060277, 0.339112401, 0.0940462425, 0.1878282726, -0.4468156397, -0.5225219727, -0.1235588938, 0.5722872615, 0.5201812387, -0.7064058781, -0.0347828567, -0.2705665231, -0.6737775207, -0.7161768079, 0.0261666682, 0.3666921556, 0.116542466, 0.0991713479, -0.4340783954, -0.5203917027, -0.6326571703, -0.4495617449, -0.003557612, 0.0591655895, 0.0493649319, 0.0640975162, -0.1727963686, 0.5788827538, 0.0203033946, -0.0252458546, -0.2026689947, 0.6289070845, 0.1386596411, 0.8089185357, 0.631908834, -0.7830269337, -0.2807737589, -0.1201507524, -0.0707038417, -0.1388132721, -0.2389222533, 0.1291134655, 0.469895035, 0.5500848293, -0.2619809508, 0.2677721679, 0.3553965986, 0.2549514472, 0.4346387684, -0.2001322955, 0.2011586428, -0.7394552231, -0.1841300875, -0.1894925237, 0.1551113278, -0.5559314489, -0.0025355658, -0.1678539515, -0.1756191552, -0.2525112033, 0.4236886203, -0.3884845078, 0.4501881301, -0.0509981029, 0.0020222145, -0.366927743, 0.2881619334, -0.037192136, 0.8898794055, 0.5212157965, -0.6408509612, -0.3332625329, -0.2818049192, -0.485634774, -0.0132229095, -0.5390249491, 0.1466826499, -0.4404318929, -0.1824618429, -0.7590354681, -0.2110604346, 0.1449564695, -0.3865957856, 0.6993016601, -0.2001547515, -0.5857155919, -0.4794062078, -0.3657312095, 0.4588596225, 0.524554193, -0.2797223032, 0.1815987378, 0.3804679215, -0.1581395417, -0.7843058109, -0.5691922307, -0.2550626397, -0.3295105994, -0.5280048251, 0.4370569885, -0.3413897455, -0.3976996243, -0.0881660879, -0.1912148297, -0.2428813428, 0.371881932, 0.1191847399, -0.2035798579, -0.0358372852, 0.1034242064, 0.2558975518, -0.1989687532, -0.2717388868, -0.2441223264, 0.8464446068, 0.1762836874, -0.224117443, -0.1326245666, 0.3295029998, 0.3858781159, -0.0280810017, 0.6947847009, 0.6330162883, -0.3833357096, -0.3556986451, -0.6937820911, -0.5070254803, -0.4889572561, 0.2804645002, -0.496103853, -0.9531706572, 0.6567958593, -0.1443502754, 0.2633343041, 0.1780443937, 0.5199109912, -0.1478602737, 1.1918485165, 0.7737541795, -0.2579966784, 0.6326749325, -0.1019183919, 0.3632100523, -0.1953025162, 0.0911996514, -0.7995607257, -0.5721306205, -0.8939452171, -0.2461965829, 0.0881836712, 0.3017301559, -0.2090847939, 0.0765436664, -0.631154716, 0.6062723994, 0.6542308927, -0.055558566, 0.2115317583, 0.402751714, -0.1098317429, -0.1488660425, -1.0707333088, -0.3443067372, 1.0764985085, 0.2772682309, 0.9789615273, -0.1663755476, 1.0496042967, -0.0691161975, -0.0031171574, -0.2834374607, 0.3599718809, -0.140376702, -0.3952865303, -0.6109536886, -0.5461912751, -1.0601186752, 0.163986668, -0.456389755, -0.7844816446, 0.529764533, 0.1970591992, -0.5585380793, 0.4386655092, -0.6213888526, 0.4852981567, 0.1056279913, -0.2699457705, -0.3918159008, -0.6533082128, 0.30335024, -0.2003846169, 0.4834575057, -0.0545597188, 0.2176614702, 0.8833026886, -0.3430239856, 0.6978759766, 0.0678633973, 0.1129651666, 0.3379122019, -0.0412571393, 0.6927611232, 0.058006309, -0.1661012173, 0.2708036304, 0.1634452641, -0.5640730262, -0.6395133138, 0.7842287421, -0.9369371533, -0.4456956685, -0.3271944523, -0.4501156807, -0.1471618712, 0.2221402526, 0.6126238108, 0.280166328, -0.0625254139, 0.1197104156, 0.8531196713, 0.1115647629, 0.7518657446, 0.3902447224, -0.0237499513, -0.3289315701, 0.9357752204, 0.5969054699, 0.4833270013, 0.2714746892, 0.0970615447, 0.2608002424, -0.9556678534, -0.192960605, -0.159064889, -0.2949942648, -0.1136553064, -0.7222960591, -0.4194220006, -0.5090875626, -0.0854541287, -0.4568679333, -0.7418538332, -0.1656602025, 0.0170927122, 0.455604881, 0.3767890334, -0.3799082935, 0.6123535037, -0.6789550185, 0.0100526083, -0.0123601407, 0.4537441134, -0.0243973155, -0.2613354027, -0.2033025026, 0.1293317527, -0.2063192874, -0.5256242156, 0.5213546157, 0.2293583602, 0.6422826648, 0.4537758529, 0.1379983276, 0.8025337458, -0.4419749677, 0.470143348, -0.0043380195, -0.4621395469, 0.4441093206, -0.300057441, 0.0945001468, 0.7615391016, 0.1838229746, -0.0103486953, -0.7086302638, -0.7851656079, -1.0522434711, 0.5682554841, 0.2773902118, -0.0344809443, 0.1282701343, 0.3234136105, -0.072394304, 0.4737679958, -0.5059392452, -0.17281124, 0.0158142578, -0.0916316733, -0.1369584054, -0.3983663023, -0.2496462017, -0.2896918654, 0.8109919429, 0.0466828421, 0.0754202232, 0.0715307444, 0.0534907617, -0.5959572792, 0.2577699721, 0.5680729747, 0.1997833103, -0.3539457917, -0.1397600174, 0.0449315347, -0.7971884608, 0.1022738442, 0.1884238124, -0.5446752906, -0.1106731296, 0.0310443267, 0.7368776798, 0.4801938534, -0.6506980062, 0.1086676717, -0.1312054843, -0.1847590804, -0.0078052483, 0.2718960047, -0.3199434876, 0.0224299002, 0.1435000747, 0.5940849185, -0.0341383405, -0.186973244, 0.2565217018, 0.4746475518, -0.3225577176, -0.1833679527, 0.6964130402, -0.1229306683, -0.339371711, 0.5200572014, -0.1421192884, -0.0748902187, 0.7386713624, 0.5346567035, 0.7661417723, -0.2837030292, 0.0876478031, 0.2868263125, 0.722507298, -0.3636870086, 0.4768303931, 0.1231514961, -0.8183484674, -0.3681823015, -0.660423398, -0.4879707694, 0.0116408942, -0.6064379215, 0.4070234597, -0.7182542086, -0.0247723218, -0.2463592291, 0.1771898419, -0.6362740397, 0.1527879983, -0.1968260258, 0.8838409781, -0.716153264, 0.9683318734, 0.3902797699, -0.3591543138, -0.8286830783, -0.0188374072, -0.150419727, -0.592328012, 0.339040488, 0.0237803981, 0.0857648998, 0.3276802897, -0.7511031628, -1.0786070824, 0.8562295437, 0.2289131433, -1.2125259638, 0.2320677489, -0.0519132949, 0.460133642, -0.1208054796, 0.0961719006, 0.550065279, 0.5250576138, -0.0367791727, -0.6384968758, -0.283475101, -0.3094236553, -0.2146387994, 0.3353997469, -0.7273395658, 0.6890569925, -0.1605259627, -0.4161957502, 0.2946187258, 0.4175669253, 0.1875512749, 0.3655373752, 0.5559834838, 1.0164963007, 0.9302002192, -0.27185449, 0.9150913358, -0.5020496845, 0.0089595029, 1.0852532387, -0.1179854572, 0.8099460006, 0.6156110764, -0.1811953038, 0.0183628444, 0.8436281681, -0.1392240375, 0.7281588912, 0.3652337193, -0.2722788751, -0.0792548209, 0.2940239906, -0.4256453514, 0.0666736737, 0.2263598591, 0.0693061277, -0.3575210869, 0.163277477, -0.0259477459, 0.2117417008, -0.2257170975, 0.6823143959, -0.1366740167, -0.4732985497, 0.6187098026, -0.1018699184, 0.7270823717, -0.5509418845, 0.1309355348, -0.110565722, 0.0520158522, -0.1086956561, -0.2727835774, 0.3062092662, -0.3988204598, -0.3602113724, -0.1832431853, 0.588898778, -0.5974049568, -0.6193797588, 0.0219013579, 0.3375612199, 0.1172066852, 0.1459288001, -0.5003807545, 0.1613148451, -0.2657836378, -0.2243918628, 0.8261870742, 0.5168762207, -0.3877721429, 0.8333348632, 0.8359614611, 0.2430559397, 0.2522954047, 0.3488408029, 1.0619907379, -0.3153552413, -0.3058020473, -0.794323802, 0.2780883908, -0.1173293293, -0.3720621169, 0.729414463, 0.4835112989, 0.9931365252, -0.0328976102, 0.6763182282, 0.2448050082, 0.4104563594, -0.5983473659, 0.9788421988, -0.3033238649, 0.5014676452, -0.360296607, -0.8148043156, -0.6058011055, 0.3504300416, -0.1200101078, -0.1264339238, 0.2574736774, 1.0122191906, 0.0983905569, -0.0357847884, 0.3564474285, 0.3373376131, 0.0968328267, 0.1707785428, 0.7603389025, -0.4554745555, 0.2939240038, -0.7877419591, -0.1761656702, 0.0591337532, -0.853943944, -0.7421489358, -0.324972719, -0.4391571283, -0.3418984115, 0.4723899066, 0.6749626398, 0.7913584709, -1.0960671902, -0.0765879005, -0.3878508806, 0.2906146646, -0.5161786079, -0.199242115, 0.1119054854, -0.800932765, -0.7775534391, 0.4392791092, 0.2604371607, 0.333979845, -0.0947478935, 0.1165138558, -0.0163394827, 0.3118971288, 0.1209116653, 0.3939284384, -0.4526725709, -0.1286987662, -0.2141527981, 0.156068176, 0.0446344353, 0.7020522356, -0.7655792236, 0.5045992732, 0.3022151291, 0.569996655, 0.3288682997, -0.0545450039, 0.5921499133, -0.8112709522, 0.7169403434, 0.5298550725, 0.1690036505, -0.0253522582, -0.4722561836, 0.6454046369, 0.1924088597, -0.7210326195, -1.2978880405, 0.0074344832, -0.6778952479, -0.232376188, 0.7034652829, 0.1650021672, -0.1839782745, -0.1129896119, -0.1395793706, 0.1429689378, -0.4471724629, 1.16583848, 0.8944921494, 0.138218686, -0.2221368402, -0.4821599722, 0.7320181727, 0.6063594818, -0.3266511559, -0.2499698997, -0.0372411013, 0.0027392253, 0.1116017327, 0.6158605218, -0.2510015965, -0.0739105642, 0.0797550827, -0.1576177329, 0.1377329975, -0.5032209158, -0.3794046938, 0.1066653654, 0.023309797, -0.0689079687 ]
http://arxiv.org/abs/2406.12468v1
http://arxiv.org/pdf/2406.12468v1
Adaptive Token Biaser: Knowledge Editing via Biasing Key Entities
2024-06-18T10:18:06
2024-06-18T10:18:06
Baolong Bi, Shenghua Liu, Yiwei Wang, Lingrui Mei, Hongcheng Gao, Yilong Xu, Xueqi Cheng
cs.CL
cs.CL, cs.AI
The parametric knowledge memorized by large language models (LLMs) becomes outdated quickly. In-context editing (ICE) is currently the most effective method for updating the knowledge of LLMs. Recent advancements involve enhancing ICE by modifying the decoding strategy, obviating the need for altering internal model structures or adjusting external prompts. However, this enhancement operates across the entire sequence generation, encompassing a plethora of non-critical tokens. In this work, we introduce $\textbf{A}$daptive $\textbf{T}$oken $\textbf{Bias}$er ($\textbf{ATBias}$), a new decoding technique designed to enhance ICE. It focuses on the tokens that are mostly related to knowledge during decoding, biasing their logits by matching key entities related to new and parametric knowledge. Experimental results show that ATBias significantly enhances ICE performance, achieving up to a 32.3% improvement over state-of-the-art ICE methods while incurring only half the latency. ATBias not only improves the knowledge editing capabilities of ICE but can also be widely applied to LLMs with negligible cost.
[ -0.1986968368, -0.6372849941, 0.3842023611, 0.0448171645, -0.3511379063, 0.4185492694, -0.2573580444, -0.2575191259, 0.3939536214, 0.4594894648, -0.1054604426, -0.6663694978, -0.6247490644, 0.0453176647, -0.3100992143, 0.9601932168, -0.2061974257, 0.2846558988, -0.1069929749, -0.4172562659, -0.5721206069, -0.3731415272, -0.9500625134, -0.1254853159, 0.0255721807, 0.4555904865, 0.7229924202, 0.9058364034, 0.1340882033, 0.229711473, -0.5427090526, 0.3750286102, -0.1881884634, 0.2329580784, -0.3236470819, -0.621462822, -0.8429064751, -0.441221416, 0.7588846087, 0.3948020637, -0.0360574648, 0.1902391613, -0.0844907314, 0.680559814, -0.7984415293, 0.0359336883, -0.9596877694, -0.0867286995, -0.387412101, -0.1430924088, -0.4532627463, -0.1854834706, 0.0781461, -0.8053089976, 0.1045829952, 0.2977815568, 0.4535546899, 0.4654202163, -0.1767113805, -0.3655491471, -0.2231870145, 0.7856817842, -0.7914699316, 0.6225267053, 0.2510898411, -0.1105386391, -0.3279889226, -0.5608292818, -0.4979178905, 0.2344934195, 0.1039051861, -0.2316009253, -0.3080159724, 0.2544705868, 0.2712365091, 0.0954539254, 0.2726504505, -0.0535763577, -0.1321937442, -0.4663800299, 0.2402513176, 0.1412681043, 0.3641823828, -0.2940968275, -0.0931192264, 0.0736187547, -0.7213195562, -0.0787502527, 0.1963417828, -0.0444293618, 0.0135435117, 0.3891051412, -0.0537093058, 0.7821831703, 0.5047614574, -0.2368320078, 0.294100672, -0.068190001, -0.2748020589, 0.2320810705, 0.4533086121, 0.5907779336, -0.0315271281, -0.341337055, -0.3586353362, -0.3104659021, 0.0383506678, -0.5433576703, -0.2294923663, 0.0457666516, -0.6237385869, -0.3739656508, -0.1008368731, -1.0244646072, -0.5922887921, -0.1504480392, 0.126570791, -0.5813709497, 0.0509718843, 0.1336041391, -0.3632669151, -0.1390309781, 0.3411268592, -0.6440271735, 0.2980828583, 0.4145623147, 0.9640986323, -0.1092940718, -0.2134011686, -0.7365594506, 0.3908003867, -0.4177708924, 0.8403609395, -0.838744998, -0.3652040064, -0.0119714681, -0.5262111425, 0.128762126, -0.5961952806, 0.6483021379, -1.0766819715, -0.0868380666, -0.6325460672, -0.6561152935, -0.0072700414, 0.0111299027, -0.6354648471, 0.8605322838, -0.0328936204, -0.9493426681, 0.8590474129, -1.1386122704, -0.5212491751, -0.259647131, -0.0221091453, -0.2660564184, 0.2623242438, 0.8386290669, 0.1279511899, -0.2520488501, 0.2401074171, -0.2764877975, -0.2766508162, 0.3841704726, -0.4027176201, 0.7148797512, 0.2820582092, -0.4349616766, 0.3572789729, -1.0034998655, -0.2232811004, -0.3806132972, -0.5478835106, -0.49900949, 0.2254842967, -0.1194884777, -0.0722588822, -0.0125057148, -0.5033780932, 0.2190092057, -0.2816880345, 0.6969577074, 1.1340112686, 0.2121815383, 0.9009403586, -0.1986471713, 0.4256576896, 0.3195804656, 0.0369905941, -0.1921293885, -0.2009868026, -1.0343897343, -0.6403719187, 0.4837399721, 0.4949244857, -1.1323227882, 0.2383649647, -0.2987968624, -0.13127096, -0.9033232927, 0.3446119726, 0.3370408714, 0.6803913713, 0.5788579583, -0.2827647626, -0.7665675282, -0.6172690988, -0.6556817293, -0.1639728546, -0.1732114404, 0.3681222796, 0.1148327217, -0.1909776628, 1.1727967262, -0.4601900578, -0.3819247186, 0.0121612707, -0.0375583731, 0.0211486593, 0.4453998208, 0.7027879953, -0.3309395313, -0.5612608194, -0.3564343452, -0.748057425, -0.3254011571, 0.0009187143, -0.3580810428, 0.3458730876, 0.9367408752, -0.4514701366, 0.3356387317, 0.1557487994, -0.5876064897, 0.145920977, -0.1099728048, 0.2121676654, -1.0607292652, -0.1299376786, -0.2201741189, -0.2085611224, -0.7316251993, -0.0950999856, 0.252435416, 0.0803713426, -0.5564959645, 0.6290787458, -0.7820298076, 0.2299610674, -0.3219996095, 0.0033934787, -0.0691066906, 0.279256314, -0.0679435283, 0.859601438, 0.8787904382, -0.6180819869, 0.1478420347, 0.4261381924, -0.451356709, 0.6625678539, -0.3147886992, 0.5374783278, -0.4574248791, 0.5467579365, -0.389264971, -0.1095524728, 0.4414146245, -0.2792670131, 0.4157545269, -0.1505867094, -0.3871018887, -0.0437270664, -0.5612881184, 0.7488694191, 0.2590111494, -0.7360448837, 1.0486388206, 0.4696430266, 0.1088302433, -0.9215080142, -0.5895236731, 0.4759974778, -0.39553684, -0.5273570418, 0.4566560686, 0.0429149233, -0.6025497913, 0.1430814117, -0.1658678204, 0.0441017039, -0.1917730272, -0.1260578334, 0.3873766065, -0.1733203828, 0.0674925372, 0.3981478214, -0.047120396, 0.0107110059, -0.7924337387, 0.2373867184, 0.2061530948, -0.1209261715, -0.4128468931, 0.0798084885, 0.8791438937, -0.148344487, 0.8698973656, 0.3712683618, -0.5275962949, -0.0586809851, -0.9293330908, -0.0895739198, -0.4760566056, 0.4675199986, -0.4748238623, -0.7698929906, 0.8449212313, 0.29497841, 0.1252780855, 0.2232376039, 0.3547229469, 0.238840729, 0.7976255417, 0.4587313235, -0.7427888513, 0.832249105, 0.2018127292, 0.1346376091, -1.1559559107, -0.0679971948, -0.3157038987, -0.3134926856, -0.2793841064, -0.6612938643, 0.4084941149, 0.0905582458, -0.1633010507, -0.0095368586, -0.1734081656, 0.6961181164, 0.4891227186, 0.4142827988, 0.2483332455, -0.0615357906, -0.0891105458, -0.0102664717, -0.9120778441, -0.3992757201, 1.5854907036, 0.5390877128, 0.9746783972, 0.0575128496, 0.3809432089, 0.5792841911, 0.4189901054, -0.5325751901, 0.3334349394, 0.0232125409, -0.6497716904, -0.3407559693, -0.196827054, -0.2341164649, 0.0890889093, -0.379045248, -0.8006446958, 0.4008191526, 0.6687488556, -0.4508187473, 0.8336209059, -0.6234904528, 0.3692110181, 0.20384413, -0.5407928824, -0.251649946, -0.577892065, 0.0556615442, -0.1644295305, 0.3881754875, 0.2356238514, -0.2546098828, 1.0427470207, -0.2794675231, 0.7223815322, -0.5523913503, 0.0845863, 0.4296990037, 0.1696265042, 0.7945328355, 0.4958438873, -0.4850238562, 0.181386292, -0.4154962599, -0.4730289876, -0.6319243908, 0.6120393276, -0.6461457014, -0.7336937785, -0.2224757969, -0.7748523951, -0.306378603, 0.2086527348, 0.2901413441, 0.4617713988, -0.1105163768, 0.0039658509, 0.8129386902, -0.2461756468, 0.3078535497, 0.4217436016, 0.1584316641, -0.6535210013, 0.6417444944, -0.0763128921, 0.2092986107, 0.4871911407, -0.0352264568, -0.1767637283, -0.8331686854, -0.7524083853, 0.025635004, -1.0992692709, -0.5284153819, -0.8508827686, 0.1497288048, -0.505392909, -0.4018548429, -0.2517264187, -0.3613010943, -0.4058386087, -0.2153526396, 0.4765284657, 0.6960852742, -0.2253581733, 0.2889893055, -0.6817395091, 0.2488180697, 0.0350129381, 0.4998454154, 0.1603314728, -0.7488467097, -0.3419450223, -0.0864738151, -0.09986756, -1.0244714022, 0.025864901, 0.2260554284, 0.5198330879, 0.4507424235, 0.1009329408, 0.8093035221, -0.5477392077, 0.7045102715, -0.0842930675, -1.549403429, 0.2860763371, -0.2145330906, 0.3440659344, 0.5642613769, -0.2248089015, -0.5445117354, -0.5614327788, -0.3607605398, -0.9213585854, 1.0390460491, 0.0103408098, 0.2130148411, -0.1295220405, 0.7390518188, -0.059737429, 0.4030345082, -0.4602021575, -0.3252432048, -0.3922289908, -0.3322004974, 0.123773098, -0.6483124495, -0.0867034346, -0.3095834255, 0.9631185532, -0.1546909511, 0.3691244423, 0.2593699098, -0.4039767087, -0.3690066636, 0.2809125483, 0.5787890553, 0.7746176124, -0.1686831415, 0.1828231514, 0.9914716482, -0.4871234, -0.0150313899, -0.3021753132, -0.5414028764, -0.0264842845, 0.3828983307, 1.1839253902, 0.2358777076, -0.4444048703, 0.2670359612, 0.010406361, -0.0432015546, 0.0434076563, 0.0082715573, -0.3690012395, 0.2769607306, 0.3555373251, 0.5101181269, 0.194588542, -0.3405066133, 0.1723980457, 0.2726503611, -0.4148834944, -0.3215414882, 0.8403725028, 0.3288049698, -0.3159938753, 0.614387989, -0.0297586285, -0.8033043742, 0.1490136087, 0.5544453859, 0.8479214907, -0.1888450235, -0.2209984213, 0.2108199298, 0.2212696671, 0.1235511303, -0.0588166043, -0.050589025, -0.9120341539, -0.2140445262, -0.4640375972, -0.1415122151, 0.1356829405, -0.5645350814, 0.5242102742, -0.458612293, -0.1401728392, -0.2838276029, -0.6185734868, -0.5285838842, 0.2323441654, -0.1866299063, 1.2420797348, -0.677991569, 0.8076162934, 0.9162147045, 0.0904826596, -0.4919953644, 0.439670682, 0.1601814628, -0.7281753421, 0.3568483889, -0.382016629, -0.0588383898, -0.022782715, -0.2232108265, -1.053597331, 0.8653056026, 0.6071735024, -0.2071058601, -0.3125258386, -0.1495601386, 0.3203876019, -0.4333563447, 0.2801684737, 0.7910431623, 0.4714717865, -0.0956713036, -0.7316654325, 0.2272736877, -0.1188455522, 0.0686420724, 0.1305973083, -0.5475984812, 0.5261315107, -0.1599511057, 0.0379561707, -0.2251065969, 1.0311528444, -0.0342303701, 0.0563511215, 0.7649503946, 0.3421685696, 0.8215946555, 0.1837560534, 0.5957608819, -0.618193686, -0.0872268081, 1.0940159559, 0.1100933999, 0.5347591043, 0.8536856771, 0.1673590541, 0.4999159873, 0.3883210123, 0.3470582664, 0.705581069, 0.1596782804, -0.3628185093, -0.0807302371, 0.0040736576, -0.1337826401, 0.2910962999, 0.3007621467, -0.4645916522, 0.1119309962, 0.2098043114, 0.4216374755, 0.166731447, -0.5086586475, 0.8116647601, -0.1122382656, -0.7937598228, 0.2927981019, 0.3626861572, 0.8466562033, -0.3193888962, 0.2000827342, -0.1237780973, 0.2960017622, -0.2698156834, -0.4489821196, 0.3749160469, 0.2918261886, -0.3270046115, -0.1043597907, 0.8744027615, -0.2713689208, -0.3866736591, 0.3125690818, 0.1804463267, -0.3786253631, -0.009975709, -0.5142070651, 0.3237908185, 0.1981427819, -0.2834529281, 0.0038316317, 0.3898821473, -0.1655324697, 0.6881697774, 0.4068691432, 0.1722119749, 0.2221717685, 0.0100575602, 1.1319292784, -0.4127401412, -0.56746912, -0.952317059, 0.5050880909, -0.0780061707, -0.2384266406, 0.5667643547, 0.5219164491, 0.9045085907, -0.069302544, 0.9941039085, -0.1242346168, 0.3538339436, -0.8702348471, 0.7012904882, -0.3317182362, 0.4379818738, -0.5305458307, -0.9209489822, -0.3217909336, 0.4823958576, -0.2437019795, -0.1659785658, 0.6531673074, 0.7241283059, -0.0115291327, -0.0273126829, -0.0654336438, 0.3002414703, 0.4631132782, 0.2644840479, 0.477727592, -0.5027853847, 0.4027618468, -0.0768014789, -0.4882871509, 0.0326425843, -0.7807477117, -1.1612203121, -0.4260280728, -0.1446519047, -0.5425270796, 0.4826592207, 1.298653245, 0.5547889471, -1.004324913, -0.1341527253, -0.0285125747, 0.2722589076, -0.0911936685, -0.1479747891, 0.5286065936, -0.477740705, -0.8163008094, 0.4785384536, 0.093492955, -0.0347044095, 0.1653394699, -0.2289128155, 0.0564650409, 0.3752372265, 0.4159087539, -0.0241771899, -0.6071644425, -0.5305095911, 0.1194055378, 0.3083190918, 0.18562904, 0.9751791358, -0.655412674, 0.6808667779, 0.3987573683, 0.6106409431, 0.3106524348, -0.0771672875, 0.8435268998, -0.5816137195, 0.2624902427, 0.0404334404, 0.5463549495, 0.332575351, -0.5055712461, 0.0862401426, 0.225067839, -0.366987735, -0.8364663124, 0.02980504, -0.6045001745, -0.0483056828, 1.137237072, -0.0783739612, -0.2748801112, -0.1869867742, -0.4369941056, 0.5537021756, -0.8933805823, 1.1005049944, 0.9312921762, 0.0952031314, 0.1054601371, -0.0697636977, 0.7960518599, 0.5901364684, -0.5412006378, 0.1549080312, 0.4568550587, 0.4338655472, -0.0484579913, 0.7135237455, -0.1789970547, 0.2975458801, -0.1360760182, -0.0214348733, -0.1569804996, -0.3536217213, -0.3152200878, -0.039720308, 0.5005342364, -0.1296581477 ]
http://arxiv.org/abs/2406.12442v1
http://arxiv.org/pdf/2406.12442v1
Abstraction-of-Thought Makes Language Models Better Reasoners
2024-06-18T09:46:44
2024-06-18T09:46:44
Ruixin Hong, Hongming Zhang, Xiaoman Pan, Dong Yu, Changshui Zhang
cs.CL
cs.CL, cs.AI
Abstract reasoning, the ability to reason from the abstract essence of a problem, serves as a key to generalization in human reasoning. However, eliciting language models to perform reasoning with abstraction remains unexplored. This paper seeks to bridge this gap by introducing a novel structured reasoning format called Abstraction-of-Thought (AoT). The uniqueness of AoT lies in its explicit requirement for varying levels of abstraction within the reasoning process. This approach could elicit language models to first contemplate on the abstract level before incorporating concrete details, which is overlooked by the prevailing step-by-step Chain-of-Thought (CoT) method. To align models with the AoT format, we present AoT Collection, a generic finetuning dataset consisting of 348k high-quality samples with AoT reasoning processes, collected via an automated and scalable pipeline. We finetune a wide range of language models with AoT Collection and conduct extensive evaluations on 23 unseen tasks from the challenging benchmark Big-Bench Hard. Experimental results indicate that models aligned to AoT reasoning format substantially outperform those aligned to CoT in many reasoning tasks.
[ -0.4881323278, -0.8103280067, 0.8565919995, -0.1375765055, -0.1884218156, -0.0456601642, -0.0096997637, -0.5481785536, -0.4161962271, 0.3228769004, -0.4249125421, -0.4280540049, -0.6379437447, -0.0770245194, -0.569227457, 0.8804633617, -0.351824522, -0.403304249, 0.0906855464, -0.1167004257, -0.3496963978, -0.2620098591, -0.8386648893, -0.6221573353, 0.2041773498, 0.0337078907, 0.7045175433, 0.7961128354, 0.3451866508, 0.2958258092, 0.0367828272, 0.2945964038, -0.2615320981, -0.0091463123, -0.4315625131, -0.3043032587, -0.7600954175, 0.0603304282, 0.2822637558, 0.9749848247, -0.1886189133, 0.0116175972, -0.0579157323, 0.8150138259, -0.8473726511, 0.3703759611, -0.5917617083, -0.1209267378, 0.1363355666, 0.2004027069, -0.4808603227, -0.1155825257, 0.1709431708, -0.5875932574, -0.1880533546, 0.0345052481, 0.5976090431, 0.3034873903, -0.1174443588, -0.2108495086, -0.9698967934, 0.6312592626, -0.5349515676, 0.4117307365, 0.4491189122, 0.2280936986, 0.1307576746, -0.6894352436, -0.5182089806, -0.1024591401, -0.0446043424, -0.0308910161, -0.4414833486, 0.1615566909, 0.1941528767, 0.4676821232, -0.4011002481, -0.1360704005, -0.2966123521, 0.1048723161, 0.4999269545, 0.1260860562, 0.2189205438, 0.0433459766, -0.383000493, 0.1271482557, -0.5367969871, -0.0922353938, -0.0002084104, 0.1758445799, -0.1354804486, 0.3535100222, -0.477337569, 0.8620446324, 0.1601580083, 0.3884644806, -0.1018456295, -0.2659322917, -0.3936802149, -0.0709031373, 0.6605591178, 0.0764362291, 0.4636256099, -0.1465368718, -0.4930306673, 0.1800594032, 0.2292894721, -0.6621444821, -0.6366394758, 0.6197715402, -0.3032315969, -0.0964981467, -0.033239115, -0.0565140061, -0.1582065225, -0.7267866731, 0.3048003912, -0.6331002712, -0.3981916904, 0.4848936796, -0.0124906125, 0.0057825604, 0.5683050752, -0.7331689, 0.5669093132, 0.8647927642, 0.6335906386, -0.3237711787, 0.0109995268, -0.1886865646, -0.0146237882, -0.4995985627, 1.2631400824, -0.6424123049, 0.0430638567, -0.4731405377, -0.5293473601, 0.0372130834, -0.4344638586, 0.4363381267, -0.2640132606, 0.0212541595, 0.0030631453, -0.5083703995, -0.0688044429, 0.6459709406, -0.6808905005, 0.8958447576, 0.2040247172, -0.5284923315, 0.1174103171, -0.8329532743, -0.1522809863, 0.1063161045, -0.550412178, 0.0328521617, 0.1838280112, 0.3628947437, 0.251163274, -0.4100344479, 0.2810828388, 0.0194403604, -0.226092726, 0.1048272699, -0.5048908591, 0.7426972389, 0.5696786046, -0.3656448424, 0.0484378859, -0.7831797004, 0.3041279316, 0.1074527875, -0.1943059117, -0.4512698054, -0.0994281098, -0.2310108989, 0.5092762113, -0.0514531955, -0.4935189486, 0.2049038708, -0.5593670607, 0.6412376165, 0.7095022202, -0.1291514784, 0.5085911751, -0.3915709555, 0.4615099728, 0.1155205593, -0.1347543746, -0.2940820754, -0.1422514766, -0.6211317182, -0.2915185392, 0.2563953996, 0.3787232339, -0.3575031459, 0.2209074944, -0.1768192798, -0.5763911605, -0.660420835, -0.2381860167, 0.6182234883, 0.3985536397, 0.358225733, 0.013838958, -0.3959694505, -0.840914309, -0.4116255641, -0.1546892524, -0.0560137294, 0.1561128795, 0.4631641805, 0.0607770421, 0.8644495606, -0.5026988983, 0.0954900384, -0.2508624494, 0.36921525, -0.0444356874, 0.5554625988, 0.0694429353, -0.6197028756, -0.1813353896, 0.1637372226, -0.6620494723, 0.0932388306, -0.0167675316, -0.4353260994, 0.0499886721, 0.5697064996, -0.7168956995, 0.3587822318, 0.1721863747, -0.2473402321, 0.5775990486, -0.0859580114, -0.0211371928, -0.7911753654, 0.1676418483, -0.2212138921, -0.2712944746, -0.3529687226, 0.2854619026, -0.0881927833, -0.1462733001, -0.4688163102, 0.7397993803, -0.6181372404, 0.2034222037, -0.3518660963, 0.1727693528, 0.2317508906, 0.5524581075, 0.2876999974, 0.4089138508, 0.588016808, -0.7220540047, 0.1643487066, 0.2153036296, -0.5572875142, 0.465985328, -0.6979552507, 0.4380084276, -0.2839876413, 0.2872813642, -0.9103094339, -0.0471593849, 0.0568826497, -0.0879869908, 0.0112617463, -0.1327025294, -0.347754091, -0.1116738617, 0.0905763581, 0.810565114, 0.3926489353, -0.1930799037, 0.7048386335, 0.4136675894, -0.3399200141, -0.5635825396, -0.5977466702, -0.3080888093, -0.0803625584, -0.3284833729, 0.3389322758, 0.1569321603, -0.6487483382, -0.0065889205, -0.5729745626, -0.0958281159, -0.0068903258, 0.0232985597, 0.1292377412, -0.3956831992, 0.2172219604, 0.0199788585, -0.3041141033, 0.1988577545, -0.6109415889, 0.5649989843, -0.4282767177, -0.4947560132, -0.2907694876, 0.4461902678, 0.4436581433, -0.4485424757, 0.3560104668, 0.0497964621, -0.5643381476, -0.2640025318, -0.3347321153, -0.1176895574, -0.3752050996, 0.2770490646, -0.621052444, -0.4708290696, 0.3602380157, -0.279943496, 0.4321011901, 0.2710265219, 0.2661550045, -0.1246222705, 1.223308444, 0.3569817543, 0.2162149996, 0.2942354679, -0.4917169809, 0.272775352, -0.7999108434, -0.0785112455, -0.4506935179, -0.4107716978, -0.2483478636, -0.3835912645, 0.0637628213, 0.1694428623, -0.483910501, 0.1762494147, -0.6263631582, 0.8300610185, 0.022470884, 0.1505859792, 0.58947891, -0.1294240355, -0.1357872635, 0.4849523902, -0.5564379096, -0.8570318222, 0.8444454074, 0.1957200766, 0.701849103, -0.0578590035, 0.6355971694, 0.0025588709, 0.3717138171, -0.7779402137, 0.5573649406, -0.1252328455, -0.6273695827, -0.3462778032, -0.1281958967, -0.9802680016, 0.4340616465, 0.1369160414, -0.7980201244, 0.2047608793, 0.4274570346, -0.5826238394, 0.2640926838, -0.4551303983, 0.8419662118, 0.0499073416, -0.1575018764, -0.1774256378, -0.533880055, 0.4618189633, 0.0351009704, 0.5241863132, -0.2569760382, 0.0828385949, 0.4910657108, -0.6268086433, 0.4818324149, 0.1173262969, -0.3695143163, 0.586399734, 0.4475162625, 0.6487909555, -0.3197607994, -0.2235035598, -0.0715817511, -0.1516558975, -0.3293860853, -0.7555311322, 0.5593308806, -0.3576419652, -0.6534276605, -0.2806588113, -0.8122690916, -0.2713335752, 0.2538551688, 0.2825080752, 0.5457805991, -0.111605905, -0.1055687293, 0.6229262948, 0.4872288108, 0.2647298276, 0.2319178879, -0.23070544, 0.1847528368, 0.5593034029, -0.079912141, 0.6938570738, 0.4257247448, 0.1679170281, -0.2624926567, -0.6878462434, -0.2842673063, -0.048626788, -0.9170451164, -0.088945657, -0.9152858257, -0.304074496, -0.1128081381, -0.0068691676, -0.621691823, -0.7410823703, 0.3784313202, -0.2991862595, 0.1912833452, 0.6059777737, 0.1667736769, 0.0441505909, -0.5494303107, 0.503354311, 0.2296092361, 0.4193059206, 0.241994977, -0.3517465591, -0.0359416418, 0.2437378019, -0.4707556963, -0.4377536476, 0.0574904792, 0.0695891678, 0.4069799781, 0.2843278646, 0.1257723868, 0.7916046381, -0.6034314036, 0.4641420841, -0.0519654825, -0.8448666334, 0.7025312781, -0.3369007111, 0.5757816434, 0.5576046705, 0.3578803837, -0.2152657807, -0.6316834688, -0.798478961, -0.9712448716, 0.6286625862, 0.4579452276, -0.1077877954, -0.3331876695, 0.120464921, 0.3821708858, 0.0015873594, -0.6712677479, -0.1042220518, -0.1104380116, -0.3103191555, 0.2455151677, 0.3761658669, -0.0138897477, -0.2470349371, 0.3998705149, -0.0183411296, 0.2385543734, 0.1250763983, -0.2108093351, -0.0576689318, 0.5444507599, 0.2590380907, 0.8271105289, -0.0000368271, 0.4104486704, -0.1076762378, -0.3008492589, 0.1642366797, 0.0001535334, -0.085425362, -0.2056332231, 0.2763181627, 0.7982378602, 0.1664055884, -0.7874853015, 0.202348426, 0.1497197598, -0.2209163159, -0.1647026986, 0.3378907442, 0.1173560098, 0.0723427162, 0.1489785314, 0.4256289005, 0.3940573037, -0.6840344071, 0.0459916145, 0.3517869115, -0.3984836936, -0.1539170593, 0.6113219857, 0.1443913132, -0.179325074, 0.762930274, -0.0238168258, -0.0608392879, 0.5839230418, 0.6088581681, 0.8256371617, -0.0497798584, -0.1367203891, 0.2911979258, 0.1831742078, -0.3845665753, 0.478500247, -0.2831954062, -0.7480095625, -0.6173667908, -0.5971759558, -0.1072427258, 0.4565770924, -0.5932613611, 0.1775041819, -0.495246768, 0.0098101711, 0.2198494673, -0.4431515336, -0.7075790763, 0.3525289595, 0.1702338308, 1.0493296385, -0.8276165128, 0.5918247104, 0.7181053162, -0.4339850843, -1.0616830587, -0.0058383243, -0.2072478235, -0.6098710299, 0.5551926494, 0.2096109539, -0.494497478, 0.3507874012, -0.4306139946, -0.7167271972, 0.7653899193, 0.498436749, -0.5347646475, -0.2525697649, -0.0700963289, 0.3555767834, -0.6257903576, 0.20544599, 0.9004330635, 0.4361797869, 0.18853724, -0.844374299, 0.1970148683, -0.4165170491, -0.150583446, 0.43917346, -0.1964204758, 0.9992846251, -0.357139349, -0.3972013593, -0.0077937683, 0.4825950265, 0.7534139156, 0.145394519, 0.4779574871, 0.6244247556, 0.7248948216, -0.1080352738, 1.1716338396, -0.0192970932, -0.1467347443, 1.3840491772, -0.0525409691, 0.9190939069, 0.2566589415, -0.1522397399, 0.8526934385, 0.3921271265, 0.6078413725, 0.4977138042, 0.1895435154, -0.1504084617, -0.544481039, 0.2665856779, -0.2249687165, 0.5580207109, 0.4826430976, -0.1898444891, -0.3338649273, -0.066414386, -0.0916113779, 0.375180006, -0.6324865818, 0.8980708122, 0.2723006904, -0.9345330596, 0.7582368255, -0.2044005543, 0.2949535847, -0.2574502826, -0.2829355299, -0.1224331334, 0.263594389, -0.1830217391, -0.8919160366, 0.4208554327, 0.0693323612, -0.207967326, -0.405238986, 0.5383730531, -0.3330691457, -0.422621578, -0.1909520775, 0.7510246038, 0.4921576977, -0.3676432371, -0.6682297587, -0.120226346, -0.3875861168, -0.244389236, 0.126741305, 0.8357917666, -0.4771644175, 0.7310423255, 0.4172386825, 0.0164850503, -0.2649298608, 0.1161452457, 0.8260877132, -0.5831747651, -0.7031903267, -1.0903357267, 0.8568979502, 0.0853200555, -0.1678576022, 0.1803453118, 0.6023231149, 0.7507840395, -0.0511095338, 0.8558526039, -0.009711138, 0.2764393687, -0.5767724514, 0.6613855362, -0.2609282434, 0.2985328138, -0.3329139948, -0.7251949906, -0.0703853369, 0.9128831625, -0.4276234508, 0.2504905462, 0.9815413952, 0.2648427188, -0.5060409904, 0.2286134809, 0.0929595008, 0.1901767403, 0.2111337334, 0.8131480217, 0.9319174886, -0.4735014439, 0.360509485, -0.0024816841, -0.2322385311, 0.2162499428, -1.0810858011, -0.6005173326, -0.5676730275, -0.4847702384, -0.0350798219, -0.0186324064, 1.0312789679, 0.687740922, -0.7683506012, -0.0830476433, -0.780631423, -0.0353709571, -0.6844465137, -0.1659806073, 0.4737668633, -0.3051432371, -0.6956000328, 0.2096951008, 0.2673541903, 0.0221534465, -0.0580032468, 0.0323790126, -0.2386590242, 0.2930485904, 0.7132564783, 0.2099059969, -0.9726144671, -0.1499773115, -0.1926084161, -0.0746354982, 0.1979528517, 0.8154609203, -1.018289566, 0.2806462348, 0.316216588, 0.3698035777, 0.3146176636, 0.2201005965, 0.7249165177, -0.7177892327, 0.2235990912, 0.4866815805, 0.394136548, 0.0708196089, -0.2022163123, 0.4831046164, -0.3100884259, -0.2781846523, -0.8020611405, 0.5165096521, -0.8110178709, -0.5754218102, 0.9037061334, -0.16914922, -0.1824470609, -0.4446320534, -0.2993474007, 0.177493304, -0.3101488054, 0.9373089671, 0.8593785763, -0.590277791, -0.331915617, -0.2894214094, 0.5632399917, 0.3273556828, -1.0292223692, 0.5437219143, 0.4913673699, 0.1319473088, 0.2252016962, 0.943829, -0.4407871962, 0.423573792, 0.0363213643, -0.184712261, -0.3266125321, -0.3211425841, -0.01574306, 0.2515351772, 0.194332242, -0.0107956026 ]
http://arxiv.org/abs/2406.12430v1
http://arxiv.org/pdf/2406.12430v1
PlanRAG: A Plan-then-Retrieval Augmented Generation for Generative Large Language Models as Decision Makers
2024-06-18T09:25:35
2024-06-18T09:25:35
Myeonghwa Lee, Seonho An, Min-Soo Kim
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7
In this paper, we conduct a study to utilize LLMs as a solution for decision making that requires complex data analysis. We define Decision QA as the task of answering the best decision, $d_{best}$, for a decision-making question $Q$, business rules $R$ and a database $D$. Since there is no benchmark that can examine Decision QA, we propose Decision QA benchmark, DQA. It has two scenarios, Locating and Building, constructed from two video games (Europa Universalis IV and Victoria 3) that have almost the same goal as Decision QA. To address Decision QA effectively, we also propose a new RAG technique called the iterative plan-then-retrieval augmented generation (PlanRAG). Our PlanRAG-based LM generates the plan for decision making as the first step, and the retriever generates the queries for data analysis as the second step. The proposed method outperforms the state-of-the-art iterative RAG method by 15.8% in the Locating scenario and by 7.4% in the Building scenario, respectively. We release our code and benchmark at https://github.com/myeon9h/PlanRAG.
[ -0.4707974195, -0.8861492872, 0.5531615615, 0.3828791678, -0.1912716031, 0.2306476384, -0.1399889439, -0.1538547426, 0.3821661174, 0.5969666839, -0.4542357326, -0.5872611403, -0.0764056891, -0.1112697273, -0.3306298256, 0.7188753486, -0.412076354, 0.0828045234, 0.0192049518, 0.0383829251, -0.6752842069, -0.4065444767, -1.2032539845, -0.178348437, 0.3680495918, 0.3101452887, 0.645753026, 0.3252614439, 0.429974705, 0.3474179506, -0.1141710654, 0.4141869247, -0.6177865863, 0.4130789638, -0.109963581, -0.6976042986, -0.6406135559, -0.2946737409, 0.4118857384, 0.3675189614, -0.4346514642, 0.4704096615, -0.2607137561, 0.976142168, -0.833925426, 0.1690579504, -0.6640950441, 0.416633755, -0.3233780265, -0.464949578, -0.3707637489, -0.3333648443, -0.2361903787, -0.5891066194, 0.1835957617, 0.5185374022, 0.6055070162, 0.5237194896, -0.2057603151, -0.454552263, -0.9647138119, 0.5143525004, -0.5758829713, 0.327126354, 0.3151174784, 0.7324156165, -0.6063016057, -0.8573297858, -0.795653224, -0.0144121228, 0.21731475, 0.2226254791, -0.2650862932, 0.0581688546, 0.4807749093, 0.1236497313, -0.5867824554, 0.1351861209, -0.4609820247, 0.2087224722, 0.8367914557, 0.3677614629, 0.2010951787, -0.3909834921, -0.4226771593, -0.1181120798, -0.9266768694, 0.0395853966, 0.1727140695, 0.029183859, 0.2400545478, 0.982322216, -0.4007741213, 0.6157446504, 0.0390813164, -0.3025543094, 0.088494949, -0.0910748616, -0.4079755545, 0.1978329718, 0.6733366847, 0.418467015, 0.1182070076, -0.1680158377, -0.4455794096, 0.251231432, 0.4335805774, -0.8716718554, -0.4145450294, 0.3520840406, -0.4877067804, -0.1946645975, -0.3290497661, -0.959697783, -0.322247535, -0.2527546585, 0.4100391567, -0.1196091324, -0.1891376674, 0.3212181926, 0.0937869102, 0.5295532942, 0.1758564413, -0.5676183105, 0.2730811834, 0.6031630635, 0.5904204249, -0.4254989922, -0.0769348294, -0.7609029412, 0.286503166, -0.9079757929, 1.2001607418, -0.329921633, -0.5374667048, 0.0066087861, -0.51103127, 0.0367626622, -0.9227535725, 1.0715111494, -0.8671065569, 0.2651686966, -0.2178929001, -0.5687817931, -0.1422817707, 0.3535477221, -0.7720270157, 1.0230511427, -0.094217509, -0.6459496617, 0.5415232778, -0.5202927589, -0.2057614923, 0.300301224, -0.5481491089, -0.6381799579, 0.0300450213, 0.1153478622, 0.510799706, -0.4621225297, 0.5057091117, -0.2521358728, -0.2366876155, 0.1649196595, -0.2297787368, 0.5044113994, 0.2253574133, -0.3467515111, 0.3748850822, -0.5748502016, 0.4992794991, 0.1702969223, -0.7240222096, -0.003469927, 0.4285888672, -0.0704235733, 0.3002604544, 0.0213639382, -0.1565209031, 0.4210600853, 0.1146012619, -0.1090988517, 0.5241199136, -0.1541299075, 0.3190076053, -0.4970270991, 0.8260598779, -0.5146985054, -0.0647511855, 0.3795932829, -0.2643044293, -0.881391108, -0.3202246428, 0.362149626, 0.5226715207, -1.15340662, 0.1467556506, -0.2393302023, -0.4527114928, -0.4044663608, -0.224102512, 0.4189564288, 0.313185662, 0.3783985674, 0.1522554159, -0.861985743, -0.6916072965, -0.221294716, -0.3046781421, -0.1098784581, 0.1505374908, 0.2389672995, -0.2968699932, 0.8825004697, -0.6185884476, -0.3987322152, -0.5679212213, -0.0491822287, 0.365503341, 0.0637775511, 0.3945607841, -1.0294876099, -0.411180079, -0.2607609332, -0.7367408276, -0.1646807045, -0.0534224138, -0.3357823491, 0.2061778903, 0.542537868, -1.0314948559, 0.3823854327, 0.386359483, -0.4372047186, 0.9330663085, -0.2501932979, 0.2170683593, -1.2508472204, 0.1182723343, -0.2600882053, -0.1275081784, -0.5972624421, 0.1809521168, -0.0509039946, -0.0862270072, -0.1983476579, 0.6211051941, -0.4583410323, -0.4440274537, -0.1768044531, 0.232086733, -0.1174865663, 0.4630536139, -0.0736334175, 1.091783762, 0.2480629534, -0.9193683863, 0.318913728, 0.4710168839, -0.6476360559, 0.6019089818, -0.6930870414, -0.0852388591, -0.3311168253, 0.3679182529, -0.7592636943, -0.2498486191, 0.2874781191, -0.3228118718, 0.3773231506, -0.0023768246, -0.5228540897, -0.4525387287, -0.2906303704, 0.2650735676, 0.4291428626, -0.6448588967, 0.7909227014, 0.8411785364, -0.2963880897, -0.4697790742, -0.1371717751, 0.0826660469, -0.4816859663, -0.512285769, 0.8178676963, -0.3839609623, -0.6588091254, -0.0919449702, -0.1436623484, -0.1418764442, -0.1195129231, 0.1458764225, 0.3411466181, -0.0334652849, 0.1227534041, -0.0080120508, -0.3263787627, 0.234006986, 0.1173579171, 0.6834014058, 0.1006874144, -0.181768924, -0.0122640086, 0.3089730442, 0.3741488755, -0.4826532602, 0.2179370672, 0.3189311922, -0.2917377949, -0.7094718218, -0.5681627393, 0.2912517488, -0.478569448, 0.459649533, -0.7679505944, -0.5770435333, 0.4746630788, -0.4488628209, 0.2641462684, 0.3853821456, 0.6908400655, -0.3513554633, 0.9647060633, 0.3962579668, 0.0205256753, 0.229902938, -0.4353494644, 0.2456053644, -0.8419062495, -0.3741077483, -0.5899967551, -0.5594930649, -0.4909757674, -0.8839870095, 0.7013229132, 0.6370517015, -0.2011606544, 0.0303482655, -0.1815924644, 0.3162792623, 0.3340837359, -0.0488051623, 0.347546041, -0.1514251381, -0.039433457, 0.0271883421, -0.930845201, -0.5213381052, 1.0046824217, -0.1262347549, 0.7622303367, 0.317955941, 0.8733279705, 0.2015469968, 0.2466519773, -0.8995580673, 0.8179317713, 0.1617109627, -0.417069912, -0.2465201467, -0.6047897935, -1.255797267, 0.5204732418, -0.4481840432, -0.3684979379, -0.0318430215, -0.1150182635, -0.439624846, 0.4969514608, -0.2437314838, 0.6275527477, -0.4257172048, -0.3657184839, -0.2169345021, -0.0554006435, 0.3753777742, -0.0998575389, 0.2900607288, -0.1486165076, -0.1332950145, 0.7628824115, -0.365980953, 0.1493201852, -0.1682934314, -0.03109264, 0.4108159244, 0.2503590882, 0.8307896256, -0.0663757846, -0.2202086151, -0.3329676688, -0.0627410561, -0.0784883499, -0.6247976422, 0.4910474122, -0.4408110082, -0.5496066809, -0.222494036, -0.3372347355, -0.2218570411, 0.1872575432, 0.2302837372, 0.3905906677, -0.1906169504, 0.0150242811, 0.6995874643, -0.2746129334, 0.5422702432, 0.6625984907, -0.6875622272, -0.3466060162, 0.7226380706, 0.1503768712, -0.29402408, 0.4846038222, 0.1178604215, -0.4968765378, -0.8176984787, -0.5795417428, 0.1681594253, -0.3323620856, -0.528167367, -0.436091274, -0.018865848, 0.2786013186, -0.0785022303, -0.4652596116, -0.2487918735, -0.0081411535, -0.1450706422, 0.0515453294, 0.7537618279, 0.1681287438, -0.0343297608, -0.5111080408, 0.692117691, 0.2550610006, 0.3293340206, -0.3046234548, 0.0105862599, 0.0699970797, -0.1138015091, -0.1855544895, -0.8587812781, 0.5679178834, -0.2530578971, 0.7554388046, 0.0136273801, 0.3805107176, 0.7396723628, -0.6407294273, 0.3073522747, -0.1861600727, -0.5774586201, 0.4159009457, -0.2918542325, 0.1045548469, 0.5873585343, 0.2166679651, -0.2841164172, 0.0407544337, -0.4390715063, -0.8709081411, 0.4349660873, 0.2082188576, -0.249767676, 0.054383155, 0.4161959291, -0.161213994, 0.2724071145, -0.4310150146, -0.391375035, 0.5265273452, 0.1401279271, 0.0788746476, -0.5645292401, 0.0219012108, 0.0156784784, 0.6966153383, -0.1294724196, 0.2915952802, 0.0391135551, 0.1484390795, -0.1613761038, 0.357963711, 0.2757845521, 0.9527193308, -0.0722307563, -0.0671231821, 0.3107595444, -0.0120978476, -0.0227442142, 0.21478118, -0.4065337181, 0.173666209, 0.1479247212, 0.7649797201, 0.2599240839, -0.8479430676, 0.2750555277, -0.3087596893, -0.1923015118, -0.564414978, 0.0182004888, 0.0079207066, 0.6894056201, 0.37515378, -0.1076256856, 0.3484399617, -0.3233645856, 0.2605907023, 0.5551407933, 0.0887464285, 0.0584768876, 0.7430388331, 0.0580153391, -0.4760125279, 0.4397562146, -0.5889437199, -0.6468831301, 0.5091293454, 0.5059674978, 0.9456170201, -0.1408180296, 0.5225649476, 0.4717496932, 0.0475483276, -0.1934068501, 0.8032565713, -0.0510094427, -0.6668089628, -0.6310116053, -0.8297781348, -0.430219382, -0.1021421105, -0.5410932899, 0.3678870201, -0.2474074513, -0.1318683326, -0.4090692103, 0.2900876403, -0.6871823668, 0.1608039737, -0.0529151969, 0.7654269934, -0.0069786566, 0.6137061715, 0.6578676105, -0.0355095714, -1.0350520611, 0.0037192965, -0.1677355319, -0.5903307199, 0.7628283501, -0.1074820086, -0.2249138206, -0.0349814706, -0.2590018511, -0.9357687831, 1.3744506836, 0.3176405132, -0.7120938897, -0.098701261, -0.1124737486, 0.4629962742, -0.152667433, 0.1683634222, 0.5156468749, 0.4328199327, 0.271058172, -0.7930031419, -0.0209875926, -0.2256508768, 0.0418663658, 0.5415514708, -0.5187443495, 0.9418908954, -0.5551128387, -0.6083228588, 0.0121361548, 0.5871600509, 0.8158209324, 0.3080821633, 0.3269805908, 0.87028265, 0.9487057328, 0.0252159443, 1.173440218, -0.1881079525, 0.3149609864, 1.2867239714, -0.28506428, 1.4368219376, 0.2007949352, -0.4840531945, 0.253159821, 0.641079545, 0.3106501102, 0.4650545418, 0.4668743312, -0.3035592139, -0.1673085541, 0.0026957793, -0.3807725906, 0.7320668697, 0.4149308801, -0.0306252334, -0.2543261051, -0.3803353906, 0.2725625634, -0.0778816044, -0.5295135379, 0.899466157, -0.2167176455, -0.7554565072, 0.6955894828, 0.0711467564, 0.5570403337, -0.575191021, -0.0928185433, -0.4105928838, 0.1541221738, -0.2493108064, -0.7723204494, 0.2933552563, -0.0288239382, -0.2148217708, -0.152302891, 0.6258832216, -0.4795865417, -0.516335845, 0.26548931, 0.647649765, 0.0808755979, -0.1816807836, -0.6653764844, 0.3670347631, 0.052963037, -0.3375304937, 0.1372786015, 0.3629723191, -0.1602434069, 0.93705374, 0.5983324051, 0.1966175884, 0.1299795955, -0.0816506967, 0.9572620392, -0.6301796436, -0.2903642058, -0.5903366208, 0.2290514112, -0.0828354135, -0.1474598646, 0.5828319192, 0.8642684817, 0.9061096907, 0.0643625781, 0.6709256768, -0.1402602047, 0.4821874797, -0.9437966943, 0.661585331, -0.3536401093, 0.4287264943, -0.0490560159, -1.3718003035, -0.3024950922, 0.5540548563, -0.2756063342, -0.0362029821, 0.6111025214, 0.8735474348, 0.2376541048, -0.1108419597, 0.2945701182, 0.0967682898, 0.5760425329, 0.5971493125, 0.8765580654, -0.3433992863, 0.5455411673, -0.0292825829, -0.1426116675, -0.0685342178, -0.5742098093, -0.8160922527, -0.5005202293, -0.1225483641, -0.1620091945, -0.0009892115, 0.7869114876, 0.470362395, -0.5377582312, -0.4471383393, -0.1139525175, 0.2753788233, 0.0037938848, -0.2234213799, 0.5272480249, -0.5176645517, -0.6873754263, 0.5774857998, 0.2513974309, -0.203792423, -0.2659557164, -0.3149784207, -0.1128791794, -0.1513045877, 0.8664097786, 0.226640299, -0.539501369, 0.123711288, -0.2345619053, -0.0571735278, -0.0380919054, 1.0331268311, -0.9827461839, 0.6120800972, 0.5583556294, 0.8575789332, 0.8505683541, -0.0832089037, 0.5920299292, -0.1943151653, -0.2963857949, 0.2670139968, 0.3920485973, 0.1921156645, -0.0466890074, 0.7812945843, -0.3634938002, -0.6576076746, -0.5122302771, 0.2467126101, -0.8019332886, -0.2446654439, 1.2611055374, 0.1713778377, -0.1288597584, 0.01169034, -0.7278639674, 0.0678734258, -0.2321734428, 0.9125958085, 0.1813768297, -0.3491579294, -0.0386680923, -0.8298892975, 0.9108721614, 0.3068796396, -1.2774316072, 0.0067739617, 0.7973914146, -0.1095805764, 0.0583787449, 0.8230329752, 0.0084200259, 0.0403777175, -0.0441346392, 0.0162022877, 0.0932625234, -0.4399921298, 0.1139755994, 0.4591594934, 0.070560202, -0.3055139482 ]
http://arxiv.org/abs/2406.12428v1
http://arxiv.org/pdf/2406.12428v1
PSLM: Parallel Generation of Text and Speech with LLMs for Low-Latency Spoken Dialogue Systems
2024-06-18T09:23:54
2024-06-18T09:23:54
Kentaro Mitsui, Koh Mitsuda, Toshiaki Wakatsuki, Yukiya Hono, Kei Sawada
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
Multimodal language models that process both text and speech have a potential for applications in spoken dialogue systems. However, current models face two major challenges in response generation latency: (1) generating a spoken response requires the prior generation of a written response, and (2) speech sequences are significantly longer than text sequences. This study addresses these issues by extending the input and output sequences of the language model to support the parallel generation of text and speech. Our experiments on spoken question answering tasks demonstrate that our approach improves latency while maintaining the quality of response content. Additionally, we show that latency can be further reduced by generating speech in multiple sequences. Demo samples are available at https://rinnakk.github.io/research/publications/PSLM.
[ -0.250425458, -0.7283644676, 0.8031990528, 0.1029337347, -0.3136156797, 0.4199823141, 0.0289704446, -0.2495542169, 0.122620821, 0.6814858913, -0.8613513708, -0.1646917015, -0.3290037513, 0.2467589527, -0.3227387965, 1.0055721998, 0.2369196415, 0.1982819289, -0.5035990477, 0.0542870536, -0.0887098685, -0.9313431382, -0.5811553001, -0.2621604204, 0.631431222, 0.4147133529, 0.6154484749, 0.0856858492, 0.6487538218, 0.2763875127, -0.0201258399, 0.3406118155, -0.5310367942, 0.8574339151, 0.0865195617, -0.2591142654, -0.6303161383, -0.450712055, 0.9294024706, 0.6876937747, -0.1505273432, 0.2232206911, 0.02462711, 0.4880407453, -0.304029882, 0.0192578323, -0.4775659144, 0.2164218426, -0.401343137, -0.3481565416, -0.4282130301, -0.399818629, 0.0938375667, -0.2251407504, 0.214502126, 0.1732768565, 0.4705750048, 0.1930605471, -0.1335882097, -0.1649361551, -0.9175853133, 0.9226339459, -1.1671338081, 0.2464198768, 0.1142753512, 0.3606314063, -0.105488278, -0.9569448233, -0.8095558882, -0.139388442, -0.0069689485, 0.2490818053, 0.0247040223, 0.2625561655, 0.5809541345, 0.4035055041, -0.8671543598, -0.1713454574, -0.4106438458, -0.3334892392, 0.6048365831, 0.8045935631, 0.126445666, -0.2265711129, -0.1442993134, 0.2854740322, -0.6020572782, 0.1131577864, 0.6896299124, 0.6664631367, -0.0659107417, 0.8366215229, -0.2871262133, 0.872048974, -0.3561263382, -0.6535357237, 0.2247717232, -0.6580570936, -0.1703853905, -0.146115914, 0.870493114, 0.2715604901, -0.1997216493, 0.0596206374, -0.3504319191, 0.2833416164, 0.0476873219, -0.9338337779, -0.0184303522, 0.2589286566, -0.5443567634, -0.2344495505, -0.2513430417, -0.832504034, -0.2274063081, -0.3034038544, -0.0092572849, -0.1515246928, -0.1498503238, 0.1297865361, 0.015196505, 0.03899353, 0.3532145917, -0.6735943556, 0.6411603689, 0.2656068504, 0.873152554, -0.2990397215, -0.1908025295, -0.8993808031, 0.2069908828, -0.0248789228, 0.712805748, -0.478438735, -0.5411518216, -0.1186774671, -0.1151746064, -0.0129969269, -0.3797129989, 0.4163779914, -0.4658046365, 0.5279281139, -0.2065293789, -0.5107017159, 0.2790607512, -0.2101679146, -0.3771324754, 0.9992443919, -0.0889705345, -0.9243772626, -0.3713029921, -0.5149413943, -0.5958883762, 0.1480832845, -0.3427037299, -0.4481567442, 0.2081969529, 0.1104655862, 0.4150692821, -0.5973464251, 0.3907156587, -0.2261064798, -0.2743800879, 0.1697132587, -0.4569258988, 0.3987788558, 0.48228544, -0.027447978, 0.3417338729, -0.9704312086, 0.0386203378, 0.3657698929, -0.5514039993, 0.232281521, 0.4682397246, 0.1219041795, 0.4686270654, 0.2352725416, -0.7259168625, -0.0617700592, -0.3908468187, 0.493034631, 0.5722001791, 0.0406311639, 0.2732326686, -0.6284245253, 0.612187922, 0.0639069453, -0.0004488569, -0.6220623851, -0.7623604536, -0.7017895579, -0.0406164415, -0.299212724, 0.7260000706, -1.0622705221, -0.0042106519, 0.0374984108, -0.3415979445, -0.4142638147, 0.1521757096, 0.464366436, 0.8547101617, 0.171026215, -0.4001071453, -0.8086874485, -0.9088817835, -0.0395860299, -0.3838070631, -0.1631929427, 0.5335999131, -0.1757577807, 0.0527111143, 1.0720784664, -0.584861517, 0.2019659281, -0.3217671514, 0.0172991455, 0.1732051075, 0.1260556877, 0.3086419702, -0.5955330729, -0.3719639182, -0.3010010123, -0.7799789906, -0.4142384529, 0.1325373352, 0.2641426325, 0.2348564565, 0.4290800393, -0.5372319818, 0.1600593626, 0.780569911, -0.0310965274, 0.6693911552, -0.0700809434, 0.0777891278, -1.2124820948, -0.039422296, -0.4049590528, -0.5936028957, -0.9776306748, -0.2678978443, -0.3159531653, -0.9188890457, -0.8329384327, 0.2165998369, -0.239253208, -0.6456953287, -0.432233572, 0.4301770031, 0.2043019086, 0.5558072925, -0.0177490301, 1.0883982182, 0.492233187, -0.5667953491, 0.690112412, 0.1192222387, -0.2680616081, 0.3425314426, -0.7829951048, 0.4159697592, -0.1992571801, 0.2269465625, -1.3182560205, -0.0963019505, 0.2090916485, -0.2969457209, -0.0433499031, 0.3738105893, -0.7094766498, -0.5366175771, 0.0026272621, 0.3344623744, 0.5761240721, -0.1020895764, 0.4462514222, 0.2606222928, -1.002603054, -0.1594968885, -0.5930251479, -0.1153537631, 0.0430290997, -0.7852703929, 0.0814899355, -0.3257355988, -0.2724948227, -0.1886410415, 0.1937734783, 0.2625390589, -0.2547027469, 0.1793901026, 0.2104285508, -0.5226531029, 0.1565918475, 0.2738701701, 0.0638399869, -0.2294630706, -0.2230901271, 0.9296494722, -0.0904600918, -0.559443295, -0.5981516838, 0.8687550426, 0.7676938176, -0.2764719427, 0.5609765649, 0.3955175877, -0.1357166022, 0.2166231871, -0.2994430363, -0.2986961603, -0.4680253267, 0.3193570673, -0.4478191137, -1.1339433193, 0.4299300313, -0.0352221653, 0.0132132107, 0.1286988854, 0.8287351727, -0.2094090581, 1.0784898996, 0.5337731838, 0.2161092013, 0.4382816851, 0.4116971195, 0.367701441, -0.7522690296, -0.1349678636, -0.4460112453, -0.0692081898, -0.2825192213, -0.6687273979, 0.1620377302, -0.0079312604, -0.1103149727, 0.1353672445, -0.2694224715, -0.0779310688, 0.5340451598, 0.1096309498, 0.5013239384, 0.1799039543, -0.3382084668, -0.3685303926, -0.8472067714, -0.7192699909, 0.7847887874, 0.3821658194, 0.6644740105, 0.2513799369, 0.6492521763, 0.2202446312, -0.0092846779, -0.4215771854, 0.7891806364, -0.2063887566, -0.2855374515, -0.4873272777, -0.4158459008, -0.5316939354, 0.3521170914, -0.0979957506, -0.6817293763, -0.2150211632, 0.0381148607, -0.585926652, 0.3025814891, -0.5056761503, 0.2167321742, -0.1681841612, -0.3980590701, -0.0714700744, -0.799467802, 0.3575439453, -0.1321510524, -0.0079492079, -0.3361309767, -0.0153597146, 0.7194996476, -0.6028921604, 0.9331728816, -0.0901120752, -0.2758489251, 0.2659649849, -0.1571878195, 0.6724606752, 0.0793831646, -0.0821965784, -0.1738787889, -0.3021544516, -0.4640644491, -0.4215671718, 0.7086442709, -0.5823552608, -0.7403645515, -0.3059457242, -0.9006422758, -0.4172670245, 0.2006191909, 0.1514542699, 0.5004934669, 0.1008563116, -0.1380816996, 0.5834619403, -0.5697908998, 0.6068745852, 0.520852983, -0.5993337035, -0.6268780231, 0.8631361723, -0.0743051991, 0.5898726583, 0.1390924007, -0.0331971943, -0.3243041337, -0.5081358552, -0.2680501938, 0.2921873927, -0.4362502396, -0.0585222952, -0.8145936131, -0.3226109445, -0.6630769968, 0.1435695887, -0.2528633773, -0.5457166433, -0.3497375548, 0.0709604993, 0.201060459, 0.7975460291, 0.1517721713, 0.6351767778, -0.9315891266, 0.6760945916, 0.5119899511, 0.1467688829, -0.1258749068, -0.4016171396, 0.0575903952, 0.0645433813, -0.410457164, -0.961871624, 0.5614649653, 0.1556873769, 0.4963387847, 0.0858205482, 0.0780509859, 0.6054047942, -0.9240741134, 1.092874527, 0.5356687307, -0.8881178498, 0.7985465527, -0.4164175093, 0.5318467021, 0.0704562292, 0.0715256706, -0.6595169902, -0.6863885522, -0.4479983747, -0.7975113392, 0.9359918237, 0.5639544725, 0.0871369392, 0.0855612531, 0.0056575998, 0.0334303379, 0.6419596076, -0.3907389641, -0.2856394947, -0.1923435628, 0.0853461921, -0.3859148026, -0.5092049837, -0.1464660615, 0.0391199179, 0.4900141954, -0.1260845959, 0.4429661334, 0.2622237802, 0.0170052946, -0.3067637086, 0.2165509015, 1.1406191587, 0.6984158158, -0.1295265704, 0.0108378902, 0.0914965719, -0.2002939135, 0.165275678, 0.1981023401, -0.1490586251, 0.374258846, 0.190900743, 1.1645348072, 0.0598057956, -0.7176119089, 0.3481586277, -0.2160275429, -0.0687929168, -0.0723639876, -0.2732604444, 0.2272129208, 0.387878716, 0.404061079, 0.2113341838, 0.0539680049, -0.2526510656, 0.3283313811, 0.1534186602, -0.1531352848, -0.1633513272, 0.7056470513, 0.4183171391, -0.7583868504, 0.5786632299, 0.0775269419, -0.3868488371, 0.308523953, 0.7856665254, 0.5827369094, -0.3126235306, 0.2670577168, 0.1024212241, -0.0391211696, 0.2173990607, 0.7073161602, -0.2444916666, -0.5280200243, -0.6112833619, -0.875690639, -0.5966864824, 0.1759547293, -0.5789729357, 0.0927560925, -0.4420385957, -0.328032881, -0.2635577321, -0.1515412778, -0.3150888085, -0.014320326, 0.4009471834, 0.4724925458, -0.8861115575, 0.9094563127, 0.5143367052, -0.2320015281, -0.5355367661, 0.0315022692, -0.0671327636, -0.5074228048, 0.6285996437, -0.1634582728, -0.3187687695, 0.048327066, -0.2467003018, -0.8363690376, 0.9555575252, 0.548938334, -0.9325327873, -0.1980303079, 0.4321238697, 0.5945696831, -0.4031466544, 0.070569545, 0.220245719, 0.0087144589, 0.1292004287, -1.0147863626, -0.1265480071, -0.1985355616, 0.4582413733, 0.0814632177, -0.5466654301, 1.0875302553, -0.1779647321, -0.2502085567, 0.4540533125, 0.7574566007, 0.7815700769, 0.3633270264, 0.1971367151, 0.3827556968, 0.7422227859, -0.1735825986, 0.9563230276, -0.2171023935, 0.2830941081, 1.327003479, -0.7082712054, 0.9021729231, 0.7324995995, -0.3856393099, 0.3718011379, 0.5468638539, 0.4202898741, 0.6746331453, 0.3029304445, -0.6227557659, -0.3167673945, -0.2602836192, -0.4371719658, 0.0633741915, 0.3791213334, -0.2776816785, -0.3230322003, 0.3355263174, -0.3717755079, 0.2222488374, -0.0238930527, 0.7231695056, 0.2021619529, -0.5043313503, 0.328730166, -0.2547618151, 0.5112748146, -0.6036652327, 0.0669548064, -0.3450149894, 0.0361571349, -0.1165318415, -0.5771605372, 0.440571785, 0.0449997336, -0.4653949738, -0.4323853254, 0.9029529095, -0.5105403066, -0.4114055932, 0.2152616233, 0.7507619858, 0.2866136432, 0.3259216547, -0.613643527, 0.2904388309, -0.120781593, -0.2548780739, 0.253659904, 0.1696664989, 0.1861094832, 0.6066955924, 0.8222230077, 0.2534693778, 0.4886696637, 0.3984850645, 0.9114053249, -0.4467761517, -0.5398555994, -0.6637860537, 0.4867265522, -0.0871178806, -0.0125888633, 0.7724151015, 0.7099460959, 0.481330961, -0.2358119041, 1.0137375593, -0.0244378876, 0.9347792268, -0.4372089803, 0.3860442638, -0.4404568076, 0.2684697509, -0.4227341413, -0.8172588944, -0.252961725, 0.2649750412, -0.160359472, -0.2579495609, 0.6506583691, 0.8503174782, 0.1614273489, 0.0106354719, 0.8194429874, -0.034311261, 0.3872290552, 0.6706851721, 1.1005893946, -0.4499447048, 0.6024727225, -0.2152486593, 0.1151467115, -0.0060150665, -0.6728956699, -0.8064507246, -0.6356777549, -0.0266171619, -0.4142531455, 0.2494834214, 0.4930050373, 0.5670567751, -0.7884812951, -0.4863197803, -0.1299412102, -0.068227008, 0.0346804373, -0.2254761904, -0.0697263703, -0.547008276, -0.8595921397, 0.5466208458, 0.5566102862, 0.2514779568, -0.4035772383, -0.4451752901, -0.2708652318, 0.2304265499, 0.7954458594, 0.2021656185, -0.9684922099, -0.0150648151, 0.2151059806, -0.2638985813, -0.0074021295, 1.2014362812, -0.721031487, 0.3987267315, 0.7111825943, 0.5568264127, 0.5937253833, -0.0691312701, 0.8163733482, -0.9611657262, 0.3544451892, 0.5221248269, 0.3515524268, 0.4599022865, -0.1475497782, 0.0155047867, 0.4566228986, -0.507432282, -1.009436965, 0.7429286242, -0.9162665606, -0.0410853848, 1.0031424761, -0.1883087307, 0.0620067753, -0.1505052149, -0.4082928896, 0.4464020133, -0.3899226785, 0.1450006217, 0.6824091673, -0.5077446699, -0.5597051382, -0.4625845253, 0.3526165187, 0.5737552643, -0.7745357156, 0.018783614, 0.515481472, -0.0968630239, 0.3439352512, 1.0440107584, -0.0496649295, 0.1984650642, 0.005954369, -0.1870507151, 0.0286845677, -0.310898453, -0.4226489663, 0.3768502474, 0.0000338474, -0.2191865444 ]
http://arxiv.org/abs/2406.12422v1
http://arxiv.org/pdf/2406.12422v1
Open-Source Web Service with Morphological Dictionary-Supplemented Deep Learning for Morphosyntactic Analysis of Czech
2024-06-18T09:14:58
2024-06-18T09:14:58
Milan Straka, Jana Straková
cs.CL
cs.CL
We present an open-source web service for Czech morphosyntactic analysis. The system combines a deep learning model with rescoring by a high-precision morphological dictionary at inference time. We show that our hybrid method surpasses two competitive baselines: While the deep learning model ensures generalization for out-of-vocabulary words and better disambiguation, an improvement over an existing morphological analyser MorphoDiTa, at the same time, the deep learning model benefits from inference-time guidance of a manually curated morphological dictionary. We achieve 50% error reduction in lemmatization and 58% error reduction in POS tagging over MorphoDiTa, while also offering dependency parsing. The model is trained on one of the currently largest Czech morphosyntactic corpora, the PDT-C 1.0, with the trained models available at https://hdl.handle.net/11234/1-5293. We provide the tool as a web service deployed at https://lindat.mff.cuni.cz/services/udpipe/. The source code is available at GitHub (https://github.com/ufal/udpipe/tree/udpipe-2), along with a Python client for a simple use. The documentation for the models can be found at https://ufal.mff.cuni.cz/udpipe/2/models#czech_pdtc1.0_model.
[ -0.1916075647, -0.5352945328, 0.3132734597, 0.3908809125, -0.782513082, 0.2025541812, -0.3948487043, -0.5534645915, 0.3559698164, 0.6321150661, -0.6246325374, -1.0274438858, -0.2406570911, 0.4210696816, -0.1582048237, 0.6476980448, 0.1059288532, 0.8390794992, -0.0201727822, 0.2001733631, 0.0775288939, -0.581556201, -0.2598751783, -0.064050667, 0.3162354529, 0.0740545392, 0.3555910885, 0.4199742079, 0.3737829924, 0.3329675794, -0.2274362296, 0.1004401296, -0.0937756598, 0.5907459259, -0.353980571, -0.2733268738, -0.5352794528, -0.4811030626, 0.5459310412, 0.972792387, -0.1865021139, -0.0839937776, -0.027787514, 0.6004456878, -0.5861986876, 0.2578490376, -0.8032261133, 0.0974747688, -0.4998794198, 0.1933356524, -0.2810797989, -0.2618720233, 0.275442332, -0.6073197126, 0.0325863995, -0.4653989971, 0.6667701602, 0.1817449778, -0.2878144383, -0.2206285894, -0.6281565428, 0.5629799366, -0.6570846438, 0.4763048589, 0.3353239298, 0.236747548, -0.1434440315, -0.5929986835, -0.3115012348, -0.2384364754, 0.2552649379, 0.3019987345, -0.2667028308, 0.2663721144, -0.3511263728, 0.5470768213, -0.7045744658, 0.2018418759, -0.419781208, -0.4843867719, 0.3545293808, 0.2065987736, 0.2615901232, -0.1867550164, -0.1608758569, 0.1117652953, -0.4913327396, -0.2853900492, 0.6348927021, 0.7063209414, -0.1491073072, 0.8030270338, -0.4365024567, 0.535413146, -0.0458884761, 0.3315670192, 0.4896278083, -0.4281617999, -0.2645717561, 0.0490240939, 0.8352079988, 0.0304204077, 0.038553264, -0.2742650807, -0.0967423469, 0.2137715071, 0.1356471777, -0.7944518924, -0.650384903, 0.1644835621, -0.246789813, -0.2126299888, 0.0902471393, -1.0227783918, -0.2533802092, -0.2319980413, 0.1202607527, -0.5055499673, -0.4943164289, 0.2711257637, -0.119144164, -0.1140497848, 0.4400050044, -0.9379412532, 0.4477328956, 0.5775186419, 1.1950838566, -0.3833261132, 0.0327615738, -0.4899273515, -0.1395368129, -0.2745472193, 1.1180962324, -0.2482652068, -0.342713356, 0.1241962388, 0.1618117839, 0.1812102497, -0.7859256268, 0.4422239661, -0.3624733686, 0.2096252292, 0.3802532852, -0.4049464464, 0.1013044193, -0.0132757081, -0.8593704104, 1.1103197336, 0.406063199, -0.5772673488, 0.2482913882, -0.4574205875, -0.2061259001, 0.4790940583, -0.0758200139, -0.2193080932, -0.0432495922, -0.1264591664, 0.2243991196, -0.0928154886, 0.1478187442, -0.6644571424, 0.2465768903, -0.1191512868, -0.2589324713, 1.5523321629, 0.2509001493, -0.0760778189, 0.2774583101, -1.1046144962, 0.0913849995, -0.1028141528, -0.658596158, -0.5285630822, -0.1826415211, 0.463640362, 0.1312328428, 0.4482813776, -0.9000615478, 0.3333648741, -0.8860794902, 0.4450413287, 0.6697084308, -0.2068499029, 0.2432248294, 0.4609984457, 0.6226447225, -0.0482117608, 0.2178900987, 0.2203741968, -0.6893514395, -0.3237692416, -0.5861100554, 0.6366546154, 0.615239799, -0.7236927152, 0.775342226, -0.3199455142, -0.6356700063, -0.6506690383, 0.1566457301, 0.496689111, 0.328060627, 0.2624180615, -0.4503292441, -0.9531773329, -0.904049933, 0.2968840003, -0.1280054152, -0.2840724885, -0.0981326252, 0.6630446315, -0.3519664407, 0.9968678355, -0.3037555218, -0.1439998001, -0.1128393412, 0.1586806923, 0.108801499, 0.4706979394, 0.675737977, -0.989305675, -0.7089701891, 0.3360772133, -0.3260920942, -0.451125741, 0.7007939816, -0.1575273126, 0.6178981662, -0.1086735353, -0.7803207636, 0.0776973441, 0.8961394429, -0.5573804379, 0.9851301312, -0.0795755759, -0.1092706919, -1.3961993456, 0.1926323622, -0.1266935319, -0.1718744338, -0.5398465395, 0.0938693434, 0.0283906404, -0.0016661261, -0.7244774699, 0.5545010567, -0.2106407285, -0.2527569234, -0.0377117023, -0.0165180285, -0.0703005865, 0.313170433, 0.1860852242, 0.9470322728, 0.6791970134, -0.4610748291, 0.8055526614, 0.4290673733, -0.6129008532, 0.2170448899, -0.2346564084, -0.0163519904, 0.4954768419, 0.0920727476, -0.8273119926, -0.3520842791, 0.4495970905, -0.6677716374, -0.1118109077, -0.686855495, -0.6556068659, -0.1858978271, -0.353184253, 0.1256411523, 0.2626779079, -0.5305808187, 0.6084491611, 0.4540194273, -0.3940627277, -0.3500736356, -0.8487192392, 0.1348192692, 0.0543501228, -0.759549439, 0.7543073893, -0.1924156994, -0.5603441, 0.3202572763, -0.0872739255, -0.985861361, 0.0756884217, 0.174352482, 0.420591414, -0.3702160418, 0.1327452809, 0.2223766595, -0.0587808341, -0.208269462, -0.6550787091, 0.9264602065, -0.0801400393, -0.1792316139, -0.6908278465, 0.4129844606, 0.6441577077, -0.2063621432, 0.4122106433, 0.3438043594, -0.4413124025, 0.09339495, -0.1735164076, 0.1319304407, -0.4065966308, 0.2904520035, -0.2840810418, -0.7081807256, 0.6759620905, 0.0126165068, -0.0760304779, 0.7331413031, 0.7751162052, -0.1402525604, 0.9950149655, 0.7761853337, 0.0479024053, 0.510497272, -0.3021456897, -0.3379225433, -0.5814297795, -0.2739723027, -0.7707109451, 0.4291320145, -0.6677273512, -0.057648968, 0.1327790916, 0.091960974, 0.125679031, 0.3333596587, -0.4174900055, 0.0456253365, 0.4176077843, 0.0106048817, 0.4017637372, 0.2228852659, -0.4720595181, 0.1159130484, -0.4137979448, -0.6479558945, 0.8887984157, -0.0071566235, 0.7332372069, 0.152824685, 0.7389107943, 0.2022074014, -0.2542992532, -1.0566378832, 0.4526745379, -0.446295321, -0.4493649602, -0.3834556639, -0.4625615776, -1.0810418129, 0.4322234392, -0.2258360088, -0.6675575972, 0.1565786749, 0.339551121, -0.4352256954, 0.3119061589, -0.6938604116, 0.7994491458, -0.1169938818, -0.0855360031, -0.4063302875, -0.3840025961, 0.1418470591, 0.1300984174, -0.0008947554, -0.0065221307, -0.1304628998, 0.597483933, -0.4728772044, 1.0042424202, -0.2167438716, -0.3706719875, 0.0360458903, 0.0899376795, 0.153916955, -0.0319735669, -0.1466846466, 0.4367689788, 0.2897239625, -0.4511019886, -0.4568885565, 0.6356344819, -0.557158947, -0.282692939, -0.3764944375, -0.2526630461, -0.0843328461, 0.2999739945, 0.2711094022, 0.5175444484, -0.2451885492, 0.3425962031, 0.7660022974, -0.0491964258, 0.2044387907, 0.3990000188, -0.3120843768, -0.7186644077, 0.5975543857, 0.2036813945, 0.2174961418, 0.5143591762, 0.222559467, -0.1585720778, -0.8782740831, -0.7320040464, 0.0673139095, -0.5922394395, -0.2552645206, -0.6662404537, -0.1774885654, -0.8770716786, 0.2390283644, -0.5362330675, -0.6449296474, -0.3349185586, -0.0352569818, 0.4132300317, 0.5732573271, -0.1138254851, 0.2064637691, -0.7751886845, 0.0364703871, 0.2706467807, 0.3832376897, -0.4696758986, -0.2371263057, -0.3726510406, 0.0597119853, -0.2811305821, -1.0350604057, 0.4882064164, -0.0531683937, 0.4502845705, 0.4012413323, -0.1948147267, 0.5670014024, -0.5313721299, 1.0302386284, 0.1474378258, -0.8521179557, 0.5082262754, -0.4208296537, 0.249888882, 0.4340875149, 0.258207649, -0.4523350596, -0.4634684324, -0.2383347005, -0.8982557058, 0.5461894274, 0.076724574, 0.1546653062, -0.1239283234, 0.2215296328, 0.4622891247, 0.0267717261, -0.575453639, -0.0640558377, -0.2430037856, -0.3884890378, 0.3264215589, -0.1772482544, 0.0036764462, -0.3144076169, 0.9063036442, -0.1357867569, 0.1699783802, 0.1799901724, -0.4314619303, -0.1777938753, 0.2686110735, 0.773134172, 0.7124208212, -0.2974158823, 0.1016413644, 0.1338037252, -0.8932373524, -0.2368148714, 0.1511179507, -0.1991224438, 0.4369065464, 0.3554480374, 0.4833522141, 0.3241821527, -1.0181152821, 0.3907458484, 0.0830179304, -0.3429838121, -0.5738481879, -0.0838777795, -0.0538365357, 0.4340586364, 0.5931901336, -0.2512952089, 0.2854653299, -0.3849454224, 0.0511497036, 0.6183931828, -0.265108794, -0.6085343361, 0.0448519699, 0.309804678, -0.4379888475, 0.4145209789, -0.0782193765, -0.6668303013, 0.5666233301, 0.5692406297, 0.9449788928, -0.4215114415, 0.3532797098, 0.1839421093, -0.033635769, 0.2986600697, 0.4616538286, -0.2150040269, -0.5017380714, -0.6228935122, -0.8064631224, -0.4045496285, 0.4623233676, -0.7376302481, 0.3393896818, -0.2740517259, 0.015363642, -0.0006209732, 0.179011479, -0.1821120828, 0.0806378722, 0.0022306372, 1.2107115984, -0.7166461349, 1.0642791986, 0.7625210881, -0.3340066671, -0.0017612259, -0.0496217981, 0.036660023, -0.5753492117, 0.8925487399, -0.0954575762, -0.5387761593, 0.0058033364, -0.3584469855, -0.8340405822, 0.9310986996, 0.7450703979, -0.5999627113, -0.2423951626, -0.2593009472, 0.6620513201, -0.2105074376, -0.1606119424, 0.2117236853, 0.3167099357, -0.186621502, -1.2140269279, -0.3379015625, -0.3248411119, -0.0935733989, 0.3694292605, -0.0394272767, 0.8432489038, 0.3134527206, -0.4254478514, 0.5942428112, 0.5187710524, -0.0139908558, 0.0083176894, 0.3987437189, 0.6407701373, 0.6396397948, 0.1658794433, 0.6653927565, -0.2088483721, 0.4568908811, 1.1094971895, -0.0738751218, 0.9225199819, 0.6780036092, -0.2789247632, 0.6229869723, 0.9091922045, -0.2112180442, 0.7504537106, -0.08025527, -0.5349081755, -0.2836456001, 0.0455116555, -0.4321970642, 0.5062187314, 0.3122920096, -0.247444883, -0.5713304877, 0.1444382966, -0.2104570866, 0.1660728604, -0.4504359663, 0.753393054, -0.287343204, -0.2314378321, 0.3160127699, -0.0462003089, 0.7068870068, -0.6275221705, -0.1254284084, -0.0033773126, -0.0158027876, -0.1045947969, -0.708619833, 0.4670597911, 0.1994398534, -0.2557654679, -0.0481260456, 0.407792151, -0.451405853, -0.4665466249, 0.5805565715, 0.4438738525, 0.3433950245, 0.0534824282, -0.6250795126, -0.1726085693, -0.2479407638, -0.1432476491, 0.4002764225, 0.4716925323, -0.1477437764, 0.5824468136, 0.7672902942, 0.5169095397, 0.2228078693, 0.2348153889, 0.9348793626, -0.3455587327, -0.5127170682, -0.9126160145, 0.5551196337, -0.1224349216, -0.3426039517, 0.451580137, 0.9165866375, 1.2939814329, -0.3238739669, 0.8260238767, -0.141599834, 0.420471102, -0.8040901423, 0.572630465, -0.3683999479, -0.3011739254, 0.0349316709, -0.7541162968, -0.5849458575, 0.4479642808, -0.1964390576, -0.4360858202, 0.6572352648, 0.712605834, -0.2387558967, -0.3449811339, 0.4686379433, 0.3085426092, -0.0268091839, 0.1268463284, 0.7237480283, 0.2537785172, 0.7188420892, -0.5521319509, -0.3350150287, -0.3028894067, -0.5633607507, -0.7560207844, -0.9839813709, -0.0876056626, -0.2302719653, 0.198202461, 1.3057119846, 0.5889205933, -1.0626981258, -0.1731984019, -0.2563855946, -0.1321457922, -0.187889874, -0.1983014196, 0.2652976513, -0.5341941118, -0.8460902572, 0.4466691613, 0.5058270693, 0.0943835676, -0.5659326315, 0.0414847061, -0.1938194185, -0.2618203163, 0.6742246747, 0.1802026331, -0.9956932664, 0.1249730438, -0.1097964123, -0.2586567998, 0.4259340167, 0.8562532067, -0.6340042353, 0.4966006875, 0.512655139, 0.4768491089, 0.3152827621, -0.3685126007, 0.3548369706, -0.4170483053, 0.1830240339, 0.4490948319, 0.5544799566, 0.2692573071, -0.4942795038, 0.3024635613, 0.4936481118, -0.1015402749, -0.9592031837, 0.3678893745, -1.0721071959, -0.4704045951, 0.9504114985, -0.3758147061, -0.3125289381, -0.3246828318, -0.296941191, 0.5953438878, -0.3819171488, 1.0010652542, 0.8231866956, -0.0278419219, 0.0191255528, -0.4395028055, 0.3676297069, 0.0260606483, -1.0183415413, 0.2765605748, 0.7299849391, 0.4116137922, 0.3491725624, 0.4266182482, -0.3828061223, 0.50152421, -0.2118769735, 0.4238075316, 0.0268752314, -0.441644758, -0.7749757171, 0.0482134596, -0.2180987597, -0.2202105522 ]
http://arxiv.org/abs/2406.12420v1
http://arxiv.org/pdf/2406.12420v1
MMUTF: Multimodal Multimedia Event Argument Extraction with Unified Template Filling
2024-06-18T09:14:17
2024-06-18T09:14:17
Philipp Seeberger, Dominik Wagner, Korbinian Riedhammer
cs.CL
cs.CL, cs.LG
With the advancement of multimedia technologies, news documents and user-generated content are often represented as multiple modalities, making Multimedia Event Extraction (MEE) an increasingly important challenge. However, recent MEE methods employ weak alignment strategies and data augmentation with simple classification models, which ignore the capabilities of natural language-formulated event templates for the challenging Event Argument Extraction (EAE) task. In this work, we focus on EAE and address this issue by introducing a unified template filling model that connects the textual and visual modalities via textual prompts. This approach enables the exploitation of cross-ontology transfer and the incorporation of event-specific semantics. Experiments on the M2E2 benchmark demonstrate the effectiveness of our approach. Our system surpasses the current SOTA on textual EAE by +7% F1, and performs generally better than the second-best systems for multimedia EAE.
[ -0.6127410531, -0.5576608181, 0.6093148589, 0.096181415, -0.5607516766, -0.2059185803, -0.1214747578, -0.2790728509, 0.0674073696, 0.300637275, -0.8932769895, -0.2699360251, -0.5472385287, 0.2131905109, -0.1259533018, 0.7165648341, -0.0986414775, -0.0172987115, -0.1759360731, -0.2335367501, -0.8020894527, -0.3215761781, -0.6893096566, -0.0749927759, 0.6694325209, 0.8714523911, 0.4010286033, 0.460465461, 0.3926956654, 0.2576160133, 0.4501919746, 0.3274784386, 0.0247540213, 0.1210238636, -0.2806048095, -0.1278987825, -0.2592702806, 0.1657744497, 0.346658051, 0.235980317, -0.0507971309, 0.1502224654, -0.0137125319, 0.2524191737, -0.7896232009, -0.1597178429, -0.6240595579, 0.321004957, -0.3747934997, -0.592171669, -0.4264119565, 0.3959520757, 0.1103383601, -0.7044217587, 0.0033494323, -0.1775999665, 0.8233292699, 0.0118657583, -0.5509101748, -0.1704627275, -0.5848500729, 0.7261257172, -0.4763640463, 0.5837357044, 0.0198793989, 0.339458406, -0.1515166461, -0.913849175, -0.8364526033, 0.081703946, 0.2571784556, 0.4734311104, -0.3451008201, -0.0024006022, 0.1333739012, -0.0145678353, -0.7177915573, 0.1173492745, -0.1932217777, -0.2196745872, 0.3748826683, 0.1922323853, 0.6459258199, -0.7804076076, -0.6869723797, -0.2399183661, -0.3272477984, -0.0687134787, 0.2683209181, -0.0816010088, -0.1092888787, 0.7595924139, 0.1493036449, 0.4885343909, -0.0448419638, -0.2806421816, -0.0997478589, -0.4018451571, -0.4571498334, -0.1021263748, 0.936886847, 0.7337716818, -0.0226732139, -0.0484681502, 0.25224787, -0.0804504827, 0.0250361636, -0.7424948812, 0.0243207645, 0.2148688436, -0.478204906, -0.3147422373, 0.2828245163, -1.3691409826, -0.2508454919, -0.3801679015, 0.4367417991, -0.3411644995, -0.2012067735, 0.0486016832, -0.4399160147, 0.1524561644, 0.5908293724, -0.7517653108, -0.1443404257, 0.4738426805, 0.6587210298, -0.3185539842, -0.0669308156, -0.9180988669, 0.5789775848, 0.0243516341, 1.1484575272, -0.8297176361, -0.3195699155, 0.0644430593, 0.081057772, -0.0666292086, -0.2288039029, 1.0085371733, -0.3581909537, 0.8027717471, -0.2511589527, -0.556446135, -0.1430170387, 0.1478436291, -0.6395374537, 1.1058716774, -0.3006168604, -0.6058989763, 0.5740276575, -1.0165497065, -0.0383735783, -0.086795412, -0.6322083473, -0.1092124656, -0.0003338596, 0.5146107078, 0.4981081784, -0.4067732692, 0.2638073862, -0.4140330553, 0.1440704614, 0.136193037, -0.9124408364, 0.459063828, 0.2167361379, -0.3365585506, 0.1292538941, -0.9030324221, -0.3359004855, 0.0858341455, -0.2732405066, -0.1570693403, -0.056439247, 0.5484643579, 0.6455783844, -0.1651469618, -0.6205752492, 0.4875754416, -0.0739715546, 0.1520947516, 0.8138930798, 0.0718433335, 0.4685728252, 0.0076038865, 0.4444979429, 0.3502708673, 0.0724990591, -0.6184275746, -0.6074752212, -0.2047409266, -0.5827587247, 0.3366322815, 0.6613710523, -0.8876489997, 0.2437146902, -0.112346895, -0.0555080399, -0.291582644, 0.286426574, -0.2278523445, 0.5501715541, 0.2943091989, -0.0467173308, -0.8423407078, -0.6917490959, 0.1314290911, -0.1320009083, -0.1125785708, 0.3179092407, 0.1169318184, -0.2050576061, 0.8365932703, -0.2582181394, -0.5283718109, -0.3204760253, 0.5100464225, -0.0229870714, 0.5780704021, 0.6054152846, -0.9224584699, -0.2551231682, 0.1378998458, -0.9817522168, -0.393728137, -0.4720553756, -0.2442686707, 0.2348898202, 0.7282531261, -0.7081778646, 0.5222402811, 0.453649193, -0.5369876027, 0.4658544064, 0.0540868752, 0.4903988838, -1.4898836613, -0.1324015558, -0.0961990952, -0.2246880829, -0.3099415004, -0.2614321113, -0.1003449857, -0.2896518111, -0.5464242697, 0.844845891, -0.4922825098, 0.2561883032, -0.2909110785, 0.4598767459, 0.3358311951, 0.3499984443, 0.0332213342, 0.4022411108, 0.5833700299, -0.3144952059, 0.4014755189, 0.2278330475, 0.1441530883, 0.8885547519, -0.2564139366, -0.0544256903, -0.1776922494, 0.0574609637, -1.1249657869, -0.3394401371, 0.2475078106, -0.2863066792, 0.5081735849, -0.3022797108, -0.5665481687, -0.132080853, -0.3184091449, 0.4004820883, 0.1858814657, -0.6501241922, 1.1030710936, 0.1615567207, -0.1936641932, -0.5927406549, -0.3974371254, 0.49849841, -0.3498818278, -0.937907815, 0.4036970735, -0.0965885296, 0.179665491, 0.056505952, -0.1126911491, 0.0111807901, -0.1949107051, 0.2232621461, 0.3333555758, -0.7849773765, 0.2460192442, 0.1701525748, -0.3466306031, -0.2887609005, -0.3864122927, 0.3928975761, 0.222373426, -0.782756567, -0.7371250987, 0.9989507794, 0.6074821353, -0.1999311745, 0.4936086833, 1.1772646904, -0.6144679189, 0.378906548, -0.886946559, -0.3194964826, -0.4100858271, 0.4067867398, -0.4260836244, -0.6796950102, 0.4130379856, -0.1885264814, 0.226148963, 0.6827468276, 0.4371497333, -0.4068398476, 1.2618303299, 0.4695841968, 0.2922764122, 0.669342041, -0.0284514874, -0.3064770997, -0.5992127061, -0.1848781258, -0.3704052866, -0.3606650829, -0.1685829312, -0.6381886005, 0.2647964656, 0.2960563302, 0.3128372729, 0.0447804481, 0.0211083815, 0.5008331537, 0.1607048213, -0.3986318409, 0.4806572199, 0.3089101017, -0.4296598732, -0.6237769127, -0.76493752, -0.7430122495, 0.7907672524, 0.1545839608, 0.483271271, 0.3821767271, 0.4965057373, 0.3331435621, 0.465036571, -0.4405413866, 0.3693345189, -0.2701031864, -0.6221352816, -0.1621876955, -0.147323668, -0.9763612747, 0.5087709427, -0.6216344237, -1.1837109327, 0.3532509506, -0.2054743022, 0.0116441846, 0.6032325029, -0.6233195662, 1.1642774343, 0.090664953, -0.3886192739, -0.0225470457, -0.3573429883, 0.2782667577, 0.0087724235, 0.3460955024, -0.2857750654, -0.1899157465, 0.7977600098, -0.2022039294, 0.61790663, -0.0137866018, 0.0501194671, 0.2873773575, -0.0816984475, 0.3321093917, 0.4454665184, 0.185691908, -0.2967767715, 0.0503316931, -0.3840670586, -0.8557054996, 0.385532707, -0.4508430064, -0.4748317301, -0.208893165, -0.2801824212, -0.1220682263, 0.1906446815, 0.4318872392, 1.0652678013, -0.34428671, 0.3459234238, 0.5636139512, 0.0214325413, 0.8675865531, 0.569198668, -0.2731470168, -0.6905816793, 0.8529865742, -0.1173205748, -0.0953532606, 0.4569500089, 0.1991041154, -0.4549888372, -0.1188315377, -1.1391566992, 0.0048697013, -0.8812220693, -0.4127513766, -1.1898726225, 0.1634751558, -0.0601731576, -0.3547746539, -0.371496141, -0.5670272112, -0.5800228119, -0.0987213701, 0.0333856232, 0.3515971303, -0.3300097883, 0.3696668744, -1.3061858416, 0.3795688748, 0.2299257368, 0.1344942302, -0.2657647729, -0.294882983, 0.2800032496, -0.174861744, -0.7672942281, -1.3849292994, -0.0186695941, 0.3452646732, 0.8304046988, 0.717571497, -0.2183858752, 0.8722418547, -0.4672425687, 0.7015922666, 0.719540298, -0.7686493993, 0.5441981554, -0.3070576191, 0.1148544401, 0.4055998027, 0.244757548, -0.5396438241, -0.3080555797, -0.8719198704, -0.6074107289, 0.4897559881, 0.3139820695, 0.1190788001, -0.0725371391, 0.2864356935, 0.2168908566, -0.1590300798, -0.7367660999, -0.0903930739, -0.101701878, -0.5686715841, 0.2774171531, -0.2360449284, 0.0005264365, -0.0610736087, 0.3818606734, -0.3197794259, 0.2644690275, 0.3762204647, -0.2753364742, -0.2427304089, 0.4144349992, 0.7496187687, 0.4486291111, -0.0309795979, 0.2217226923, 0.1063949317, -0.4427132607, 0.1625680923, 0.172939375, 0.1661664695, 0.2663058043, 0.4190145433, 0.4843273163, 0.349793762, -0.7396745086, 0.6536772847, -0.3596693873, -0.3003227413, 0.0298852492, -0.2452525049, 0.0222497955, 0.3933541179, 0.5016852617, 0.2412927896, 0.3404475451, -0.4461081326, 0.6904815435, 0.3931002915, -0.7201651335, -0.3641473055, 0.7774375677, 0.1830538809, 0.1197336987, 0.2031726539, -0.1209447682, -0.1384612918, 0.3213500679, 0.5584981441, 0.7740278244, 0.0700565577, 0.2736633122, 0.281964004, 0.3344400525, 0.3957713246, 0.4784246087, 0.1762822717, -0.5026364326, -0.6935728192, -0.5006877184, -0.1531016082, 0.2745974064, -0.4385451972, 0.5980177522, -0.0858177915, -0.2022356689, 0.2861711085, -0.2143189311, -0.6930545568, 0.1809272915, 0.4704549611, 1.0571229458, -0.9200638533, 0.4598825276, 0.8973297477, -0.6173920035, -0.6522729993, -0.2660480142, 0.2821825743, -0.1873109192, 0.3410197794, 0.1680960804, 0.1473516971, -0.2202377766, -0.3187664151, -0.6232937574, 0.9681823254, 0.4587469995, -0.0044271885, 0.2440918088, 0.0479328297, 0.1479293108, -0.765388906, 0.3859816194, 0.036628034, 0.7384873033, 0.4366029501, -0.5086803436, 0.0125878034, -0.2356341183, -0.2310633808, 0.0972190797, -0.1645978987, 0.4003990591, -0.1980472058, -0.3240502179, -0.1261059642, 1.0880936384, 0.1431427598, 0.6866522431, 0.5261243582, 0.4621723294, 0.6092579365, -0.0065174196, 0.7285262346, 0.3722105026, 0.084234342, 1.0542846918, -0.2456442267, 0.8745135665, 0.6340782046, 0.0757508799, 0.6141188741, 0.5840232372, 0.0683163032, 0.312759459, -0.4977295399, -0.11832086, -0.5258646011, -0.2472638339, -0.3755119741, 0.7879018188, 0.2740050256, -0.0845946893, -0.5746960044, 0.2755809128, -0.0594905913, -0.1188716292, -0.0232937094, 0.9360476732, -0.0272422954, -0.4528885186, -0.0511352569, 0.1557250321, 0.3328697681, -0.483882457, -0.2471455485, -0.0221032258, -0.1195755377, -0.1561037749, -0.7381502986, 0.422280997, 0.0354127325, -0.3786767125, 0.1502565444, 0.8634153008, -0.5116716623, -0.458378762, 0.2489781231, 0.7776113749, -0.0838729143, -0.0020160652, -0.6769115329, -0.0699481145, 0.0170694683, -0.2919249237, 0.3873458803, 0.8465464711, -0.2133968174, 0.2638777494, 0.9508295655, -0.4005753696, 0.2440298349, 0.1949083358, 0.6593797803, -0.6521692276, -0.5404923558, -1.1188126802, 0.9853305221, -0.4234386384, -0.3886585236, 0.3667591214, 0.5578169227, 0.2626354396, -0.172887817, 0.5121907592, -0.0233535655, -0.1430687904, -0.7255327702, 0.3633464575, -0.9476153851, -0.0577789359, -0.4603742957, -0.8448317647, -0.2614114583, 0.1041575968, 0.3376621306, -0.2894911766, 0.6665936112, 0.5503154993, -0.5884906054, 0.4270923436, 0.5527170897, -0.2370047867, 0.617778182, 0.3070589602, 0.9338461161, -0.4640697539, 0.770801425, -0.0048219305, -0.2891056836, -0.4136695564, -1.4349149466, -0.828035295, -0.8040698767, -0.5232340693, -0.0940050781, -0.3844049573, 1.0982533693, 0.7616388798, -0.8902773261, 0.0414730199, 0.3511931002, 0.1381386369, -0.091808036, -0.2180466205, 0.279239893, -0.260492146, -0.6347971559, 0.3623488843, 0.7551448941, 0.2307360619, 0.1560388952, 0.0787643194, -0.5244679451, 0.3171453476, 0.66711092, 0.2250300944, -0.7535513639, -0.3378461301, -0.0480218716, -0.0996470153, 0.2689481974, 0.8908618689, -0.3058010042, 0.5416473746, 0.4650354981, 0.7454661131, 0.3634040654, -0.1663205028, 0.6529117227, -1.0519933701, 0.2482996285, -0.2496956587, 0.7599895597, 0.2195442915, -0.1832888722, 0.395873487, 0.5305108428, -0.0894985572, -0.8368725181, 0.1670323908, -1.5411787033, -0.0746118128, 1.0107015371, 0.2086267769, -0.1036921889, -0.2680256069, -0.6430237293, 0.2573063672, -0.2800672054, 0.3514926732, 0.8522645831, -0.0232759733, -0.4748605788, -0.7868133187, 0.3099863529, 0.389239192, -0.839060843, -0.2788909376, 0.5268188715, 0.1569453031, 0.318312645, 0.6402204037, -0.214521423, 0.6241381168, -0.1186105683, 0.0448567085, -0.1353293806, -0.4107175469, -0.0499665737, 0.5079320669, -0.444074899, -0.1670155078 ]
http://arxiv.org/abs/2406.12419v1
http://arxiv.org/pdf/2406.12419v1
AI-Assisted Human Evaluation of Machine Translation
2024-06-18T09:12:11
2024-06-18T09:12:11
Vilém Zouhar, Tom Kocmi, Mrinmaya Sachan
cs.CL
cs.CL
Annually, research teams spend large amounts of money to evaluate the quality of machine translation systems (WMT, inter alia). This is expensive because it requires detailed human labor. The recently proposed annotation protocol, Error Span Annotation (ESA), has annotators marking erroneous parts of the translation. In our work, we help the annotators by pre-filling the span annotations with automatic quality estimation. With AI assistance, we obtain more detailed annotations while cutting down the time per span annotation by half (71s/error span $\rightarrow$ 31s/error span). The biggest advantage of ESA$^\mathrm{AI}$ protocol is an accurate priming of annotators (pre-filled error spans) before they assign the final score as opposed to starting from scratch. In addition, the annotation budget can be reduced by up to 24% with filtering of examples that the AI deems to be very likely to be correct.
[ -0.4688977897, -0.4736120105, 0.3786315322, 0.4448523223, -0.2418046445, 0.1274255961, -0.0836920962, -0.7607782483, 0.1941636205, 0.3116888702, -0.3637654483, -0.1379340589, -0.885489285, 0.4765014648, -0.4321958423, 0.851123333, -0.3760139346, 0.1285639852, 0.1212335229, -0.1210444868, -0.4139632881, -0.4193479717, -0.8367471695, -0.2023959756, 0.398381263, 0.3799304366, 0.9952421188, 1.0107127428, 0.9922518134, 0.3544662893, 0.1037388965, 0.4591653347, 0.0134983109, -0.1391913444, 0.1396353841, -0.4792257845, -0.7501673102, 0.2990531921, 0.3448004425, 0.7400591969, 0.1898222417, 0.2120592594, -0.0590242632, 0.9622894526, -0.4921847284, 0.0977482572, -0.2839617729, 0.2066106945, -0.2090895921, -0.2551761568, -0.4451642931, -0.2054518312, 0.1869830042, -0.7591692209, 0.0298337284, 0.3869610131, 1.1233330965, 0.8894784451, -0.1081517413, 0.0191981401, -0.6760002971, 0.7340452075, -0.5435880423, 0.1880451143, 0.8308697939, 0.361089468, -0.1652497053, -0.7117493153, -0.5559216738, -0.283049494, -0.3041136861, 0.2395681888, -0.2801518142, 0.3832217157, 0.1924764812, 0.4230354428, -0.3503504097, 0.0830419511, -0.3793746531, -0.452706188, 0.888813138, -0.0243151411, 0.5359380245, -0.0159598049, -0.2655504048, -0.2748457789, -0.3650635481, -0.2788898349, 0.181983605, 0.0621615686, 0.207256034, 0.7085945606, -0.238924861, 0.6192454696, 0.1167161688, 0.1272574365, 0.4655939341, -0.4053041339, -0.4657868743, -0.1555126011, 0.9005827904, 0.5504811406, 0.5256690383, -0.3780634999, -0.4619635642, 0.1991166621, 0.3425771594, -0.5489861369, -0.0398604088, 0.1968432963, -0.4911646843, -0.0652355999, 0.2103197426, -0.5248492956, -0.1513694376, -0.2907315791, 0.6793748736, -0.4379898012, 0.2222208828, 0.0424533673, -0.1174117029, -0.0334658548, 0.5105025768, -0.4390845299, 0.2430863529, 0.2094558477, 0.8703862429, -0.0055868798, -0.5644862056, -0.8853493333, -0.0442332327, -0.4042086601, 0.8972504139, -0.2317925841, -0.3633627892, -0.3890645802, -0.1880573332, -0.1461827308, -0.4364094138, 0.8258055449, -0.4953018129, 0.2463946491, -0.2236824036, -0.5448988676, -0.2422124296, 0.1494330019, -0.8410902619, 1.082926631, 0.1667488068, -0.6539552212, 0.6314916611, -1.1892088652, -0.4967114627, 0.1144512519, 0.1552252173, -0.2633776665, 0.0270351674, 0.6298470497, 0.3061431944, -0.1914682835, 0.1350389272, 0.2471890897, -0.6137189865, 0.2218249887, -0.4086802304, 0.538623035, 0.5051640868, -0.6063905358, 0.4761933088, -0.6497958302, -0.086905621, -0.1842058152, -0.5593748689, -0.3950919509, -0.1195363998, 0.1015514806, 0.1662641019, 0.0021866013, -0.4822948873, 0.2236703336, -0.4978478849, 0.2321297079, 0.7716950774, -0.1361515224, 0.4515005946, -0.381930232, 0.6395502687, -0.2602163553, 0.255972594, -0.225034371, -0.6131279469, -0.9401740432, -0.5352602005, 0.719961822, 0.5927584767, -0.4984360337, 0.7447154522, -0.0261221081, -0.4483192861, -1.2896060944, -0.0054819221, 0.5268744826, 0.2921411693, 0.6845048666, -0.4625519514, -0.5378001332, -0.9481472969, -0.2577313483, -0.3840152323, -0.0838387311, -0.1249468774, 0.527120769, -0.3044234514, 0.8684103489, -0.1866953373, -0.5511240363, -0.090469569, 0.6713840365, -0.3150889277, 0.6135534048, 0.4605849385, -0.70204252, -0.5836932063, -0.160039708, -0.3601387739, -0.5523068309, -0.2579450011, -0.2885504663, 0.2678758204, 0.4396473765, -0.5761607289, 0.6448848248, 0.5255109668, -0.479079634, 0.4767226279, -0.4660731256, 0.6512048841, -0.8780874014, 0.3382396996, -0.0649757385, -0.3639520705, -0.2190024704, -0.0457965732, -0.0089093223, 0.1584346443, -0.1709233522, 0.3364658952, -0.5388376117, -0.1909122318, -0.3236325383, 0.1703677475, 0.1642416418, 0.3055050373, -0.1298107207, 1.1819143295, -0.0383756533, -0.3941850066, 0.1913897544, 0.3759658933, -0.1287498623, 0.5751157403, -0.720507741, 0.1498206109, -0.0851794705, 0.4113752842, -0.9927283525, -0.2144594043, 0.3380452096, -0.7046750188, 0.208976835, 0.0661139116, -0.6776245832, -0.3014317453, -0.2226699889, 0.1802283525, 0.4442317486, -0.363428086, 0.4439727664, 0.4264538586, -0.0392099544, -0.6499066353, -0.9121857882, 0.4610300362, -0.0794591829, -0.4651959836, 0.3283553421, 0.0475442186, -0.3095573485, 0.2661911249, 0.0936206132, -0.0036018975, 0.4292691648, 0.2917010784, 0.119265385, -0.106530942, 0.1217872128, 0.136179015, -0.5823687315, -0.0716724843, -0.2335550636, 0.3684825897, -0.1604983807, -0.6708377004, -0.9398013949, 0.483491689, 0.7726476789, -0.6592704058, 0.7206099033, 0.6557056308, -0.5721325278, 0.2170510739, -0.7020381689, -0.024060037, -0.3354389668, 0.5459208488, -0.2493714243, -0.4588142633, 0.3064185977, 0.0306277778, 0.1723833829, 0.9620508552, 0.1373862028, -0.3817717731, 1.2319879532, 0.560746491, -0.4130176902, 0.3677820861, -0.1558853686, -0.096758306, -0.7366393805, -0.0210161377, -0.8449386358, -0.5946503878, -0.1930030137, -0.4993726611, 0.3671463728, 0.1933141351, -0.1738880575, 0.3752509952, -0.4440592825, 0.3332004845, 0.8532163501, -0.0598758869, 0.4512895048, -0.1781249344, 0.0448021963, -0.2011415362, -0.3613773584, -0.8471903205, 1.0635508299, 0.5330306888, 0.4149165154, -0.1417791843, 0.5537685156, 0.7454771399, 0.7107977867, -0.7421055436, 0.4259071946, 0.0836121589, -0.434235096, -0.4380385876, -0.3561817408, -0.7825751305, 0.0655122548, -0.3347662985, -0.5924602747, -0.1309833974, 0.3925043643, -0.3649844825, 0.250166595, -0.8806999922, 0.8059872985, -0.3578175008, 0.0539542101, -0.2445396483, -0.9494621754, -0.2280985415, -0.2272732109, 0.0528326035, -0.0230600052, -0.0505112484, 1.0968586206, -0.6063622236, 0.6792998314, -0.352353245, 0.3158087432, 0.293851763, 0.0239693765, 0.6729819775, -0.519272387, -0.1970724165, -0.0536374189, -0.2685855925, -0.4003870189, -0.2979336679, 0.0080417413, -0.8768776059, -0.3757680655, -0.3282287121, -0.6629745364, -0.2304717451, 0.2067435831, 0.3449785709, -0.0962127596, 0.027704997, -0.0377587155, 0.0463648364, -0.1512217671, 0.3778865933, 0.2569153309, 0.0055745509, -0.4578794241, 0.5791639686, 0.0833198428, 0.1436969638, 0.3743323982, 0.1043225601, -0.2332476228, -0.6833289266, -0.9656819701, 0.1762203425, -0.4952201843, -0.3825781941, -0.6519288421, -0.0180834588, -0.1203706935, -0.1559412181, -0.5005872846, -0.604840517, -0.0367097259, -0.4094937146, 0.3492444754, 0.4727490544, -0.164928019, 0.5675056577, -1.0279577971, -0.0060574478, -0.1746194512, 0.1364993602, -0.2589810789, -0.596542418, -0.5323993564, 0.0391653739, -0.2028294951, -0.8577010632, 0.3517174125, 0.1654295474, 0.5160756707, 0.2717443705, 0.0506966636, 1.0220749378, -0.4384138286, 0.7597180605, -0.0116191432, -1.2429751158, 0.4550225735, 0.1655890346, 0.0668302551, 0.7525917888, 0.1630769968, -0.5049442053, -0.566323936, -0.4255145788, -1.1088774204, 0.6417126656, 0.4087244272, -0.1956170797, 0.083913438, 0.3391611874, 0.0546859838, 0.112938419, -0.3452308774, -0.2886260152, -0.0349061154, -0.323161453, -0.0392691083, -0.1362772137, -0.0100186048, -0.1041427776, 0.949977994, -0.0580250323, 0.2212093323, 0.3883769512, -0.4542512, -0.5206543803, 0.2242856771, 0.5894960165, 0.7278284431, -0.1718579084, 0.1024734303, 0.263861537, -0.346280843, 0.1182815731, 0.3617402613, -0.2181821316, 0.1090875939, 0.5473069549, 0.7699831724, -0.4696602523, -0.7560760975, 0.5233079791, 0.1189477742, -0.0916258916, -0.1049105972, -0.2530354261, -0.1937726438, 0.1364489347, 0.6034494638, 0.4430839419, 0.2859724462, -0.0535791144, 0.3326499164, 0.1761215329, -0.4570174515, -0.2898282111, 0.803270936, 0.4629273713, -0.4102705419, 0.645111084, -0.1867707521, -0.7025310397, 0.5883014798, 0.3620789051, 0.9582676291, -0.3978267312, 0.116397284, 0.2400057018, 0.7192944884, -0.2001402825, 0.0301304944, 0.0597898141, -0.3878005147, -0.9168893099, -0.5685855746, -0.4930561483, -0.1549485922, -0.6037942767, 0.0768903792, 0.0960881934, -0.239357233, -0.1516242176, -0.0889947861, -0.5913699269, 0.6320267916, -0.0347264558, 1.0123851299, -1.0342309475, 0.6220142841, 0.9668053389, -0.7682869434, -0.8328847289, 0.0670094267, -0.2678586841, -0.7673002481, 0.7970141172, 0.1836506873, -0.2709426284, -0.0458079092, -0.154308185, -0.6330658793, 0.8134338856, 0.3865013719, -0.5697494745, -0.1465784311, 0.2067112029, 0.7388753295, -0.103760846, 0.3033038378, 0.6585793495, 0.8429321051, -0.2935464978, -1.2799538374, 0.0409056544, -0.3014872074, -0.2232720107, 0.4124489129, -0.3914110959, 0.4786396325, -0.2150129825, -0.2021907568, 0.1042765677, 0.7086831331, -0.3139525354, 0.3490282595, 0.7688000202, 0.4340707362, 0.8080614805, -0.1893776655, 1.0467808247, -0.210828051, 0.1872306466, 0.8650470972, 0.0881354436, 0.7722857594, 0.8024194837, -0.3463580608, 0.0250368472, 0.7605844736, -0.0649891719, 0.2626233101, 0.3220726848, 0.0919757113, -0.0756275281, -0.0820011124, -0.2829699218, 0.2950484455, 0.211760819, -0.5077871084, 0.1066877693, 0.0028553247, 0.2044129521, 0.1947616935, -0.0188651886, 0.7860095501, -0.1955637783, -0.8503583074, 0.2057283521, 0.3175368011, 0.5879091024, -0.3920630813, -0.041519504, -0.3629592061, 0.1507812291, -0.292185694, -0.4991957843, 0.6519194245, 0.2744244635, -0.0460129604, -0.1811800152, 0.3415260911, -0.3325091004, -0.3727877736, 0.211407572, 0.620546937, 0.4095801413, -0.3438316286, -0.6584014297, 0.0491247438, -0.1449053884, -0.4688506424, -0.0482013524, 0.2137613744, -0.3256607354, 0.5400465727, 0.5233649611, 0.3050780892, -0.0697138608, -0.047202073, 0.5858108401, -0.5831930041, -0.4775715172, -0.8780742288, 0.6741960645, -0.0850179344, -0.2530826628, 0.5556938648, 0.4513009489, 0.8263186812, -0.0143139316, 0.9161543846, -0.1157744005, 0.3295554519, -0.3531172872, 0.876914978, -0.6698468924, 0.1775755137, -0.503099978, -0.7367082238, -0.692055583, 0.833701551, -0.1880666018, -0.0100850081, 0.7299631834, 0.4665265083, 0.1213829741, -0.0605815537, 0.1490796804, -0.0034353288, 0.4069259763, 0.2401473373, 0.8566709757, -0.596434176, 0.6234585643, -0.1500701606, -0.4624454975, -0.3092521727, -0.8603238463, -0.5358439684, -0.4679308236, -0.4663298428, -0.3747172356, 0.1344703436, 1.3460797071, 0.747507751, -0.801002562, -0.0729658455, 0.0302800611, -0.2667846084, -0.631495893, -0.1574470103, 0.7747537494, -0.4494920671, -1.0746313334, 0.3205948472, 0.3492303193, 0.0315671042, -0.0792584345, -0.22917068, -0.1529992223, 0.0458420366, 0.3303921819, 0.1114772186, -0.6877827048, -0.4918366075, -0.1110838056, -0.3377036452, 0.1476201266, 0.4416701496, -0.4368332028, 0.5444989204, 0.2927069366, 1.2524085045, 0.2768954039, 0.2457722127, 0.6907599568, -0.5768638849, 0.1381012946, 0.2036810815, 0.4635299742, 0.4379635751, -0.2854626477, 0.7945939898, 0.1921652406, -0.6389070749, -0.78158921, -0.1429135203, -0.8239219189, 0.1743346304, 0.7304216027, -0.4583912194, -0.1826100647, -0.0522450283, -0.7993667722, 0.4951457083, -0.4592136443, 0.9835867882, 0.7270430326, -0.261713922, 0.2130714655, -0.3580798507, 0.5159178972, 0.7293203473, -1.0460927486, -0.2966115177, 0.5613333583, -0.1025499031, 0.4284559786, 0.7100464106, -0.0931163877, 0.4248916209, -0.0765091255, 0.3425747156, -0.3344646096, -0.2965406179, -0.0006290186, -0.018215077, 0.4260595143, -0.885920763 ]
http://arxiv.org/abs/2406.12416v2
http://arxiv.org/pdf/2406.12416v2
Beyond Under-Alignment: Atomic Preference Enhanced Factuality Tuning for Large Language Models
2024-06-18T09:07:30
2024-06-27T12:07:55
Hongbang Yuan, Yubo Chen, Pengfei Cao, Zhuoran Jin, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have achieved remarkable success but still tend to generate factually erroneous responses, a phenomenon known as hallucination. A recent trend is to use preference learning to fine-tune models to align with factuality. However, existing work primarily evaluates fine-tuned models on in-domain (ID) datasets and the factuality on out-of-domain (OOD) datasets remains underexplored. In this paper, we conduct a comprehensive evaluation of the factuality of different models tuned by various preference learning algorithms and demonstrate that their performance on OOD datasets either increases minimally or decreases. Subsequently, we reveal that the main cause of model's failure to uphold factuality under a distribution shift is \textbf{under-alignment}, rather than \textbf{over-alignment}, by analyzing the token distribution shift of the models before and after tuning. Finally, we propose \textbf{APEFT} (\textbf{A}tomic \textbf{P}reference \textbf{E}nhanced \textbf{F}actuality \textbf{T}uning), a framework that enhances model's awareness of factuality at the granularity of individual facts. Extensive experiments demonstrate that APEFT improves model performance by an average of $\boldsymbol{3.45\%}$ on both ID and OOD datasets, which is highly effective.
[ -0.4674374759, -0.7887582779, 0.7944875956, -0.3731062114, -0.3321945369, -0.084616676, -0.4125222564, -0.4644942582, 0.0285952576, 0.5888593197, -0.308436662, -0.4315260649, -0.4381439686, 0.1479897946, -0.094599396, 1.06102705, 0.188601613, -0.074728027, -0.2101973742, -0.1951144338, -0.2462488711, -0.5881322026, -0.1564822793, -0.4483437538, 0.1639986187, 0.4172773659, 1.1195145845, 0.9666242003, 0.6338297129, 0.2343138009, 0.0037876603, 0.6366684437, -0.6028122902, -0.146109879, -0.388189286, -0.4657032192, -0.656465888, -0.0299447346, 0.6341810822, 0.6828988791, -0.1171287447, 0.0418950468, -0.1681718975, 0.7730483413, -0.7470632792, 0.0450562537, -1.0649455786, -0.1566985399, -0.1241669431, -0.2454786301, -0.5102003813, -0.5111303926, 0.2613869905, -0.693877697, 0.3029500842, 0.5046672225, 1.0609921217, 0.3907120824, -0.5794329643, -0.2022532374, -0.7316730022, 0.9202435613, -0.8903846145, 0.6303795576, 0.5225386024, -0.0772441253, -0.1649106592, -0.2382713407, -0.6929830313, -0.2965895832, -0.0877559483, -0.1443347186, 0.04928701, 0.1747508049, 0.12190108, 0.6199128032, -0.3615854084, 0.1816799045, -0.0287567489, -0.1220400557, 0.7594666481, 0.0190899502, 0.0782003701, -0.0130377663, -0.3813709915, -0.1535367817, -0.8358036876, -0.3433986604, 0.4061729908, 0.5828209519, -0.0836449862, 0.6933323741, -0.1743882149, 0.5041381717, 0.4575586319, -0.0944873765, 0.4209923446, -0.1865046471, -0.3619942665, 0.3787844777, 0.480832696, 0.3660623431, 0.2634386718, -0.1704697609, -0.3300232589, 0.0976539329, 0.3503871858, -0.7623701692, -0.2136192918, 0.2658981085, -0.4318293631, -0.2835873067, 0.2008471489, -0.5441817641, -0.6531226635, -0.6992712021, 0.3521694243, -0.4765817523, -0.3784211576, 0.318192482, 0.1304406077, 0.0432766005, 0.2741005421, -1.1515114307, 0.1789929271, 0.9301650524, 0.8752065897, -0.4388613105, -0.1826118976, -0.360483855, 0.0486187078, -0.596978128, 0.9811221361, -0.5920068026, -0.1959746778, -0.1253999025, -0.1952679604, -0.1416966915, -0.7930564284, 0.5983268619, -0.7645863891, -0.0941730887, -0.6807197928, -0.8233544827, -0.2468138188, 0.1987771541, -0.5345438123, 0.8698940873, -0.16107741, -0.6322178245, 0.8419161439, -0.6430168152, -0.346252799, -0.3073211312, -0.1977445185, -0.4578576088, 0.4204637706, 0.2137794346, 0.2813427746, -0.3041367829, 0.5580548644, -0.6506419182, -0.3090407252, 0.4872869551, -0.5741557479, 0.5228272676, 0.1647463888, -0.4012291133, 0.1969676763, -0.8872801661, -0.2374461889, -0.0881112665, -0.2237102538, -0.4157796502, 0.1404006928, -0.1954175979, 0.0619486161, 0.0909898579, -0.4870897532, 0.2878039181, -0.734998405, 0.2096944004, 0.9727886319, -0.152905032, 0.4511822164, -0.5802824497, 0.0328302719, 0.0966957211, 0.0725167468, 0.2572914064, -0.2360419184, -0.7474730611, -0.3358666599, 0.2381768525, 0.3464395404, -0.249080807, 0.7554880381, -0.5026891232, -0.1471082717, -0.6138301492, 0.0479420871, 0.2486382872, 0.6963037252, 0.4758615494, -0.3151718974, -0.3302073777, -0.804444015, -0.0645130426, -0.3803650737, 0.267519027, 0.4662751555, 0.4139455855, -0.3545028865, 1.1810172796, -0.5819066167, -0.1062672809, -0.0344157666, 0.1058832705, 0.1819598675, 0.3002921343, 0.447014451, -0.9466536045, -0.2660241425, 0.304458797, -0.5669951439, -0.0102594625, 0.0818353295, -0.1355257034, 0.7247489691, 0.2936771214, -0.7653690577, 0.3136927783, 0.3023829758, -0.2278361917, 0.6509187818, -0.1929503977, 0.2692245841, -0.8846420646, 0.1214196086, -0.1497727782, -0.2516041994, -0.4300073385, -0.0419881344, 0.0719247982, 0.3372787237, -0.4435519576, 0.5609102845, -0.3398955464, -0.1506593972, -0.5179368854, 0.1391697824, -0.1002706811, 0.3030905128, 0.3276897073, 0.8471875191, 0.40272668, -0.7577774525, 0.2010457963, 0.4377263486, -0.4004586637, 0.3438791931, -0.3916382492, 0.1959607303, -0.1111374125, 0.0293332152, -0.9941248298, -0.2718483806, 0.1539900601, -0.2645340264, 0.3510507941, -0.114830181, -0.341368705, 0.2209220082, -0.4030387998, 0.4921679795, 0.4507979751, -0.8361786604, 0.3707861006, 0.4346863329, 0.233707726, -0.7190930843, -0.4551110864, -0.2550138831, -0.4295727611, -0.4126193523, 0.3082513511, -0.098317951, -0.5146707892, -0.0665028766, -0.3296571374, 0.2447064966, 0.0349493511, 0.0890076607, 0.4552599192, -0.4883841276, 0.282792747, 0.0188366696, -0.0888666958, -0.0553630553, -0.255803138, 0.5984943509, -0.230827257, -0.2436981946, -0.2069873512, -0.1774633229, 0.4770616591, -0.015551934, 0.9214766622, 0.1935281008, -0.2258749604, -0.2074114084, -0.579166472, -0.4266965389, -0.5013762712, 0.3265433311, -0.1772190034, -0.7321817279, 0.366981864, -0.0487284213, 0.0338182896, 0.552392602, 0.5672035813, 0.1814565212, 1.0125445127, 0.6686789989, -0.2922234535, 0.4411281049, 0.0505501851, 0.3910155892, -0.717016995, 0.0817386135, -0.3968915343, 0.0133932, -0.7120798826, -0.2710352838, 0.4015374184, -0.0248197261, -0.412971288, 0.0334070884, -0.0685610473, 0.610979259, 0.2272222936, 0.0549349934, 0.4470575452, 0.1534070522, -0.007931116, 0.074724704, -0.5561033487, -0.5012128353, 1.350591898, 0.2454164475, 0.7489593625, 0.1270469278, 0.3260343671, 0.3789884448, 0.1725410819, -0.8843969703, 0.3296462893, -0.2028955966, -0.8024045825, -0.5238139033, -0.4282941222, -0.5840386748, 0.355869323, -0.4885088503, -0.8007100821, 0.5688535571, 0.5224681497, -0.5490595102, 0.3007606268, -0.5331112742, 0.6939311624, -0.2494462281, -0.311312288, -0.4538143277, -0.6715621948, 0.4396677911, -0.2211226523, 0.1038127169, -0.3682501912, 0.2127580345, 0.3006994128, -0.3015306294, 0.7720026374, 0.2045366466, -0.2943032682, -0.1735310704, 0.0035531528, 0.6125320792, 0.2299094349, -0.3846138418, 0.3818612993, -0.2113430053, -0.0255072247, -0.5949823856, 0.6474524736, -0.9777827263, -0.7286762595, -0.4783431888, -0.5462254882, -0.4664531052, 0.3464570642, 0.3772866726, 0.5015524626, -0.2525431812, 0.1679461598, 1.0206005573, -0.0607414953, 0.1490833759, 0.518512547, -0.3002737463, -0.3305335343, 0.9740501046, 0.0856044218, 0.4399612546, 0.4489914179, 0.3634629846, -0.5944726467, -0.6216742396, -0.4397456348, 0.5099517703, -0.7503370643, -0.2447167486, -0.5634349585, -0.1615050584, -0.7463178039, -0.1428901404, -0.5807981491, -0.3888257146, -0.3843942583, -0.283876121, 0.3879350722, 0.4950920343, -0.0355950743, 0.2486317158, -0.5413013697, 0.4968752265, 0.1157332286, 0.4167146683, -0.1665955484, -0.8997517228, -0.26603055, 0.1259857714, -0.2697033286, -0.4491361082, 0.3002749383, 0.3256879151, 0.328805387, 0.7984750867, 0.3651518226, 0.8644779325, -0.4256788194, 0.5523393154, -0.245833829, -1.1378918886, 0.1606964767, -0.2631748915, -0.0527697802, 0.6671488285, 0.4031772912, -0.2533340454, -0.1515650749, -0.6065960526, -0.9160175323, 0.9626798034, 0.0647398829, 0.0505783968, 0.0654626563, 0.4732500613, 0.4861742258, 0.570358634, -0.4920783937, -0.3265961707, -0.1127189547, -0.1133198664, -0.3460459709, -0.2550245225, -0.077958703, -0.3198679388, 1.0737088919, -0.3173421919, 0.0136938831, 0.1303571761, -0.136457935, -0.4165751338, 0.2284836471, 0.6169765592, 0.9300044179, -0.5568638444, 0.2119934559, 0.0431601703, -0.2662571967, -0.0662351698, -0.0214105342, -0.2731908262, -0.2597131133, 0.2259349376, 1.2020647526, -0.0551212728, -0.5759437084, 0.3605877757, 0.2100359946, 0.1018746495, -0.123237893, 0.2462078333, -0.4402558208, 0.1074167937, 0.1517046243, 0.2150760889, 0.3419762254, -0.7060915232, 0.1671882719, 0.7353296876, -0.1762360632, -0.4308247268, 0.5523852706, -0.0750575066, 0.1639670581, 0.6585444808, 0.0432051867, -0.4092739522, 0.4312532842, 0.7846364379, 0.8706101775, 0.0136547005, 0.2614495754, 0.0856992379, 0.3411061466, -0.3531985581, 0.0173200965, -0.1605220735, -1.3862098455, -0.1648998857, -0.6168729663, -0.4238623977, 0.2112032324, -0.6503667831, 0.3274985552, -0.351924777, -0.3158037066, -0.0121940589, -0.024848057, -0.2483310848, 0.404507637, 0.1457222402, 0.5235764384, -1.0379101038, 0.8824676275, 0.7470474243, -0.07120049, -0.5619058013, 0.4937386811, 0.0818984732, -0.8244865537, 0.2756075859, 0.0075829434, -0.3402983546, -0.0029401837, -0.512116015, -1.1713962555, 0.6017968059, 0.8151473999, -0.4540916085, 0.218944326, 0.2555522919, 0.5169506669, -0.4045642912, 0.2502613664, 0.9273604751, 0.4350478351, 0.1385027617, -0.9030480981, 0.0667480603, 0.0493328087, -0.0897810385, 0.335596323, -0.9034729004, 0.8299075961, -0.2362532914, -0.1554971933, -0.19032529, 0.7672001123, 0.4179777205, 0.2789720595, 0.5070937872, 0.4650093913, 1.0786859989, 0.1196193546, 0.8959388137, -0.2265770137, 0.5516700745, 1.02711308, -0.6497155428, 0.8121383786, 0.4934567511, -0.0587110259, 0.2236818075, 0.6105721593, 0.0980887339, 0.6344846487, -0.2645886838, 0.0845082551, -0.608207643, -0.1669600308, -0.4077111781, 0.2907072008, 0.2253675759, -0.2369885296, 0.0347238183, -0.1952961683, -0.0295953751, 0.0553560108, -0.2639017999, 0.820395112, 0.0246867668, -0.5718380213, 0.8394643068, -0.0574776269, 0.5606772304, -0.3926979899, 0.100337334, -0.3128355145, 0.2881214619, -0.305144608, -0.4142533541, 0.2527134717, -0.2459690571, -0.4699881077, 0.102685146, 0.48442325, -0.3617126942, -0.3796589077, 0.0765638351, 0.0122833969, -0.080373466, 0.0044983234, -0.5249909163, 0.1754838377, -0.0470437445, -0.3027148843, 0.2239337564, 0.4655397534, -0.2118465453, 0.5222042799, 0.5609934926, 0.1938707978, -0.0957773179, -0.1324798018, 0.7116559744, -0.5142951012, -0.5259882212, -1.1056091785, 0.1920514107, -0.0462005176, -0.4776235223, 0.920232594, 0.6987329125, 1.0115327835, -0.0636426508, 0.7312397361, 0.1981783807, 0.4020108879, -0.8568642735, 0.5977908373, -0.7220464349, 0.3105484843, -0.3189738691, -0.9826598167, -0.4010378718, 0.5335108638, -0.6215754747, -0.0437748432, 0.7113214731, 0.876765728, -0.3985356688, 0.1457759738, 0.4079739153, 0.325917393, 0.1604468822, 0.0686365813, 0.7323718071, -0.2129456252, -0.1497669518, -0.174358502, -0.1082042083, -0.4851972461, -0.9533908367, -0.9118133783, -0.4836685956, -0.445695132, -0.2379223108, 0.1543275565, 1.4819933176, 0.7977032065, -1.2487796545, -0.1947193891, -0.1114090532, 0.1655830741, -0.1348419189, -0.1850228906, 0.616579473, -0.3590411842, -0.5913743973, 0.4485853314, 0.2392529696, 0.0629958659, 0.1480282098, 0.0029559876, 0.0494371392, 0.5992877483, 0.4808245003, 0.2159137428, -0.6748110652, -0.3966211081, -0.1650739908, 0.1192948446, 0.496891439, 0.8101121187, -0.4802936614, 0.3226626217, 0.3866195083, 0.5948168039, 0.1758737713, 0.5483831763, 0.5779097676, -0.5202661157, 0.2145436853, 0.0500190631, 0.2613402605, 0.2396491468, -0.7281545997, 0.1658079028, 0.3660005033, -0.7498897314, -1.088968277, 0.1398788542, -0.7773760557, -0.3501820862, 1.3084869385, 0.2766661942, -0.18869178, -0.1415250599, -0.1984479725, 0.3579799533, -0.6755506396, 1.2810441256, 0.6549279094, -0.2860725224, 0.2590663135, -0.1819398701, 0.8395249844, 0.584959507, -0.7087349892, 0.4526575506, 0.7531914711, 0.2183274925, 0.0773944482, 0.3864383101, -0.0033284482, 0.1344670057, -0.3950041831, -0.0854392201, 0.0693248957, -0.6608632207, -0.5673245788, 0.0226306338, 0.3574105203, -0.0344440378 ]
http://arxiv.org/abs/2406.12403v1
http://arxiv.org/pdf/2406.12403v1
PDSS: A Privacy-Preserving Framework for Step-by-Step Distillation of Large Language Models
2024-06-18T08:48:14
2024-06-18T08:48:14
Tao Fan, Yan Kang, Weijing Chen, Hanlin Gu, Yuanfeng Song, Lixin Fan, Kai Chen, Qiang Yang
cs.CL
cs.CL, cs.AI
In the context of real-world applications, leveraging large language models (LLMs) for domain-specific tasks often faces two major challenges: domain-specific knowledge privacy and constrained resources. To address these issues, we propose PDSS, a privacy-preserving framework for step-by-step distillation of LLMs. PDSS works on a server-client architecture, wherein client transmits perturbed prompts to the server's LLM for rationale generation. The generated rationales are then decoded by the client and used to enrich the training of task-specific small language model(SLM) within a multi-task learning paradigm. PDSS introduces two privacy protection strategies: the Exponential Mechanism Strategy and the Encoder-Decoder Strategy, balancing prompt privacy and rationale usability. Experiments demonstrate the effectiveness of PDSS in various text generation tasks, enabling the training of task-specific SLM with enhanced performance while prioritizing data privacy protection.
[ -0.1422850192, -0.7173639536, 0.6687986255, 0.3614540994, -0.1961199641, 0.2021133453, -0.2426294088, 0.2234181613, -0.259483248, 0.6431539655, -0.5841837525, -0.5622187257, -0.4574877024, 0.1230156347, -0.5114825964, 1.2924971581, -0.0236525703, 0.0397127308, -0.1588095725, 0.308065623, 0.2037031502, -0.5500664711, -0.8565198183, -0.0598534085, 0.4584426284, 0.1045205146, 0.3623440862, 0.732636869, 0.2111128718, 0.2770884335, -0.2133648843, 0.2736112773, -0.5232021809, 0.5948733687, -0.3559683859, -0.5806825757, -0.5041067004, -0.0689911544, 0.6250990033, 0.7178276181, -0.5164816976, 0.3448475301, 0.3818536699, 0.7139268517, -0.7022452354, 0.1468279511, -0.4156529605, -0.0485606678, -0.2661652267, -0.2491159141, -0.5671301484, -0.4716410041, 0.2832384408, -0.2650724947, 0.3877582848, 0.0312683955, 0.4545770586, 0.1805259585, -0.417884469, 0.0224923212, -0.6092934608, 0.7383517623, -0.6029977202, 0.3854904175, 0.6898628473, 0.388816148, -0.3401841819, -0.7217237353, -0.6693563461, -0.0574623533, 0.0879213139, -0.5047220588, 0.0603568181, 0.2003213763, 0.4807175696, 0.2464908212, -0.583322823, -0.0270042103, -0.0682279766, -0.3129022419, 0.5088293552, 0.1200454831, -0.0471626818, 0.0284318905, -0.4206836522, -0.0062818564, -1.0374009609, -0.0414699763, 0.32148996, 0.3110701442, -0.1571904719, 0.3503774703, -0.2799867988, 0.5332463384, 0.3120386004, -0.8112996221, 0.0607458726, -0.1201957986, -0.522720933, -0.1794461161, 0.8211812973, 0.0525241494, -0.0598122887, -0.3666945398, -0.0986128077, -0.0331065468, 0.0492742099, -1.081302762, -0.3307746053, 0.3359803855, -0.3786330223, -0.3974691927, -0.2812912762, -0.7904250026, -0.7226345539, -0.4494308829, -0.0615496375, -0.2717213631, -0.126716271, 0.1105827987, -0.0577267669, -0.2160777748, 0.4286807179, -1.0024390221, 0.6304435134, 0.7815117836, 0.7652052045, -0.2554143369, -0.3195176125, -0.6843106151, 0.4967310131, -0.1293913275, 0.111839667, -0.293207705, -0.4846407175, 0.0486936681, 0.1434081197, 0.1593827903, -0.3782242835, 0.1126445085, -0.6119177938, 0.0768556148, -0.4814713597, -0.5805027485, 0.1117424518, 0.1828583181, -0.5060126781, 0.686424613, -0.1740274876, -0.7291023135, 0.4063003063, -0.5543752313, -0.4447343647, 0.0538390353, -0.3339248598, -0.4990260601, 0.0682640523, 0.0482910946, 0.5976752043, -0.4165262878, 0.2399162054, -0.3324059844, 0.0859894827, 0.381202966, -0.6498377323, 0.9495500922, 0.3656847775, -0.3827598989, -0.057506863, -0.8938197494, -0.1724144071, 0.1000223756, -0.4868369997, -0.3544155359, 0.1105429158, -0.3101682365, 0.1738941371, 0.4372797906, -0.7020501494, -0.0858293623, -0.1238508672, 0.6451018453, 0.82857728, 0.1063376218, 0.7181639075, -0.1008480713, 0.5764428377, 0.2257857174, 0.1623947918, -0.3077156842, -0.2316929102, -0.4090456665, -0.5296754241, 0.2825802565, 0.4698724449, -0.8061167002, 0.4979562759, -0.2805714607, -0.2760336101, -0.2184111774, 0.2008118778, 0.4482189119, 0.4464091957, -0.0913930833, -0.2085113972, -0.217599988, -0.7522196174, -0.0388320982, 0.0758089274, -0.1680000275, -0.0462327786, 0.2427017987, -0.0410460681, 0.9475153089, -0.5697389841, -0.320864141, -0.1646414697, 0.1013635099, -0.2708718479, 0.6768171191, 0.4834165871, -0.7585018873, -0.6855136156, -0.2630476654, -0.5785230398, -0.0374880061, -0.0082928073, -0.1107751131, 0.2185037285, 0.340682745, -0.7996219993, 0.4553170502, 0.554076612, -0.123098053, 0.2731495798, -0.4691691697, 0.0660496801, -1.1262789965, 0.0124361878, 0.2127698958, -0.5964902639, -0.6802497506, 0.136280328, 0.2204323858, -0.3466269374, -0.4172057509, 0.2130069882, -0.6866547465, 0.2009254992, -0.4402212501, 0.0781263039, 0.2161765546, 0.3617798984, 0.0784785673, 0.7516165972, 0.8448287249, -0.7678266764, 0.281558454, 0.1516530663, -0.1155079678, 0.7941766977, -0.3158643246, 0.4023295343, -0.2691981792, 0.3109924793, -0.7377043962, -0.0397100747, 0.1043000519, -0.0242204498, 0.5073581934, -0.3185892105, -0.7882649302, -0.1293222159, -0.412873894, 0.0585895367, 0.5936755538, -0.6490154266, 0.5624542832, 0.6484724879, -0.4189733267, -0.6399841905, -0.6276314259, 0.148034513, -0.3949529231, -0.256442368, 0.2485000342, -0.1350687444, -0.2660829127, -0.2683323622, -0.2967962623, -0.3632572293, 0.1090365797, 0.3836901188, 0.189180702, 0.2664383054, -0.3312308788, 0.609913826, -0.0503459871, 0.1915113628, -0.3904706836, 0.401936084, 0.3061684966, -0.2999954224, -0.6772189736, 0.4430295825, 0.5750715137, -0.1847369075, 0.9112702012, 0.1663705856, -0.394500345, -0.7835018635, -0.4407418966, -0.2029373199, -0.5756358504, 0.2004679143, -0.5232692957, -1.0402686596, 0.3104206026, -0.3510340154, 0.2358763516, -0.2529509962, 0.4208858609, 0.1741073877, 0.9658387899, 0.7903530598, -0.1710869372, 0.3440558612, -0.0633085668, 0.428184092, -0.6286231875, -0.2148728371, -0.5578884482, -0.0526313521, -0.2839486301, -0.3597498238, 0.1743324846, -0.0375201441, -0.2073573321, 0.4122713804, -0.5249159336, 0.7759829164, 0.2108234912, 0.0940037444, 0.3444029987, 0.2016868591, 0.02290898, -0.1753391623, -0.4383905828, -0.7537490129, 1.2664369345, 0.5091205835, 1.1003134251, 0.3018690348, 1.1479943991, 0.3180111051, 0.0544378608, -0.2979934216, 0.9736703634, -0.1262108982, -0.6079885364, -0.4388590157, -0.622590065, -0.647994101, 0.3807326853, 0.280801475, -0.8961032033, 0.3501172066, 0.3020523787, -0.4828053415, 0.1359072179, -0.5687568784, 0.6518802643, -0.0544436984, -0.7800840139, -0.1093920544, -0.7769089341, 0.2990431786, -0.1767349243, 0.2746175528, -0.061178647, -0.1576547176, 0.4608058035, -0.5775527358, 1.1505055428, -0.575617373, -0.5064128041, 0.0057313247, 0.4889797866, 0.7080922723, 0.2655426264, 0.0920561031, -0.0737114623, 0.1598442346, -0.1000704393, -0.5353813767, 1.0371348858, -0.2092275023, -0.6609044671, -0.5081880689, -0.4338187873, -0.191977635, 0.212783739, 0.011004705, 0.2008319944, -0.1447662115, 0.1277065575, 1.1360197067, 0.0065045441, 0.5123568773, 0.8734456897, -0.2674969137, -0.2624506652, 0.9628731608, -0.0835010186, 0.3853714764, 0.4023228586, -0.0646988302, -0.5771734715, -0.7211480141, -0.4991926849, 0.1333037168, -0.6689103842, -0.1707358956, -0.5098845363, -0.0174348801, -0.3838468194, 0.0520540699, -0.2823665738, -0.4475125372, -0.4869315922, -0.1603635848, 0.2533947229, 0.4833462834, -0.0992365628, 0.1991701275, -0.7284778357, 0.5376042128, 0.3136500418, 0.411157012, -0.0939691067, -0.3172720373, -0.1165745333, 0.197965309, -0.2595789135, -0.8515802622, 0.5359360576, 0.2241244167, 0.3766805828, 0.2927155793, 0.3475532234, 0.6147538424, -0.8839657307, 0.8544711471, 0.1929046363, -1.0925513506, 0.5120900273, -0.1141153425, -0.0951780751, 0.7288607955, 0.3715669513, -0.1138012484, -0.4121858478, -0.417637974, -0.6607792377, 0.8768265247, 0.111118637, 0.0666188821, 0.0222338047, 0.3709820211, 0.3325921893, 0.6767551899, -0.6805531383, -0.3139258623, 0.0186920967, -0.3065428734, 0.1016536057, -0.1355894208, -0.5835641623, -0.1378737539, 0.5980268717, -0.010037791, -0.1963234395, -0.0405398868, -0.1325338781, -0.0165352318, 0.3697599769, 0.3418879509, 0.5194111466, 0.1038169861, 0.2221627235, 0.0137176523, -0.5426208377, 0.4261882305, 0.3270163238, -0.3720337152, -0.1427185237, -0.5055769682, 0.684697032, -0.0019948869, -0.6088915467, 0.5963612199, -0.1969739199, -0.2295716256, -0.1291243136, 0.1570204794, 0.0626190305, 0.1027113646, 0.2165442109, -0.0716136917, 0.2844018936, -0.3623206317, 0.0434182994, 0.3502359092, 0.1894719899, -0.382066071, 0.8226761222, 0.2640636861, -0.2393018305, -0.0862789303, -0.5261000991, -0.1500589848, 0.120710589, 0.6091861129, 1.0538237095, -0.4193808436, 0.3511088192, -0.0842275694, 0.015834637, -0.5056171417, 0.4092512429, -0.5540302992, -0.1820539832, -0.2281874865, -0.7908933759, -0.5288267136, 0.1070499793, -0.640779376, -0.004529024, -0.8054878116, -0.2922403216, 0.0974733904, -0.3118064404, -0.3284763992, 0.1327738166, 0.1678572595, 0.7137352228, -0.5598911643, 1.2258980274, 0.4308398962, -0.2615535557, -0.6176180243, 0.1556363106, 0.2901936471, -0.3150453866, 0.6458803415, -0.2225321531, -0.1749889255, -0.1062938794, -0.4521410465, -0.8091637492, 1.0483883619, 0.7312468886, -1.0040594339, -0.2157667279, 0.4543685913, 0.5725644231, -0.2384367436, -0.6693017483, 0.5856209397, 0.008985647, -0.1783128679, -1.0751091242, 0.4024919271, 0.1271916479, 0.3277416825, 0.2126420736, -0.3599666655, 0.8427573442, -0.0327172503, -0.3670965731, 0.1517291367, 0.3723480701, 0.5037423968, 0.1922999769, 0.3998075724, 0.4014131129, 0.7741798162, 0.0461874194, 0.84610641, -0.4614095688, 0.2924806774, 1.1679360867, -0.8512744904, 0.7023456097, 0.4735536575, -0.4716251791, 0.3864428103, 0.096224688, 0.4817786813, 0.9421543479, 0.4364024699, -0.664090395, 0.0160454344, 0.1901552528, -0.2616263032, 0.1015326679, 0.387794286, -0.540541172, -0.2818525732, 0.1300058216, 0.2509223521, 0.1851423085, -0.0181785859, 0.9178665876, 0.2452701479, -0.5677402616, 0.4320908487, 0.1364313364, 0.5076755881, -0.8024349809, 0.112306051, 0.1071026176, 0.3945662379, -0.1187685728, -0.5391876698, 0.1851064265, 0.3632676899, -0.3188881278, -0.6136994362, 0.52219522, -0.8018372655, -0.1297005117, 0.037725538, 0.3134523928, -0.0164444894, 0.022770483, -0.6052615047, 0.097417362, -0.0050151511, -0.2258170247, 0.8603432178, 0.7404151559, 0.2651149333, 0.5615621805, 0.7498544455, 0.2992720008, 0.1246928945, 0.3153817952, 0.8836946487, -0.4048784673, -0.8474839926, -0.9474602938, 0.4269391298, -0.3435481191, 0.0439262837, 1.0865705013, 0.5792037845, 0.5802921653, -0.0852313936, 1.0469130278, 0.0377823263, 0.8468299508, -0.3780790567, 0.9711948633, -0.166838184, 0.6505144835, -0.1711423397, -0.7974048853, -0.0079982886, 0.5633570552, -0.1203784719, -0.2442607582, 0.6033132076, 0.7724164724, 0.1966985166, 0.1523486972, 0.1503652334, -0.0464551486, 0.5941306949, 0.239984706, 0.4596270919, -0.0898662135, 0.1913689822, -0.5947912931, -0.4703842402, 0.3875930607, -0.9996666312, -1.0586844683, -0.5771303773, -0.5102027655, -0.3471238315, 0.15859209, 0.7721145153, 0.7490288019, -0.6758976579, -0.3341775835, -0.3441571891, -0.224800542, -0.1649877578, -0.1494051665, 0.1993895322, -0.3071376085, -0.7572062016, 0.4677174091, 0.4179978371, 0.2170331478, -0.630830586, -0.035446085, 0.2108118534, 0.0784160569, 0.6727266312, 0.3828754723, -0.5758546591, 0.0922372118, -0.2128438205, -0.2839054465, -0.3097438514, 0.9100064635, -0.583440721, 0.3438593447, 0.3709625602, 0.6024105549, 0.6001680493, -0.0835124403, 0.5716542006, -1.0809175968, 0.2828427255, 0.1842691898, 0.4655292332, 0.3909516335, -0.4512677491, 0.102536194, 0.1285875738, -0.5843222141, -1.2281426191, 0.2570991516, -1.0421031713, -0.2541989684, 1.1147242785, -0.5859187245, -0.2722880244, -0.3521979451, -0.2004225254, -0.042273324, -0.587220192, 0.7585971355, 0.3790117502, 0.21545358, -0.110750109, -0.1758814156, 0.9738314748, 0.0613013059, -0.8039653897, 0.6992599368, 0.7020765543, 0.5184444189, 0.1184407622, 0.8057234287, -0.2317515463, 0.0405097753, 0.0351312086, -0.406172663, -0.1109706983, -0.5175163746, -0.3812683821, 0.5111756921, 0.1119144186, -0.3464528024 ]
http://arxiv.org/abs/2406.12402v1
http://arxiv.org/pdf/2406.12402v1
Flee the Flaw: Annotating the Underlying Logic of Fallacious Arguments Through Templates and Slot-filling
2024-06-18T08:44:45
2024-06-18T08:44:45
Irfan Robbani, Paul Reisert, Naoya Inoue, Surawat Pothong, Camélia Guerraoui, Wenzhi Wang, Shoichi Naito, Jungmin Choi, Kentaro Inui
cs.CL
cs.CL
Prior research in computational argumentation has mainly focused on scoring the quality of arguments, with less attention on explicating logical errors. In this work, we introduce four sets of explainable templates for common informal logical fallacies designed to explicate a fallacy's implicit logic. Using our templates, we conduct an annotation study on top of 400 fallacious arguments taken from LOGIC dataset and achieve a high agreement score (Krippendorf's alpha of 0.54) and reasonable coverage (0.83). Finally, we conduct an experiment for detecting the structure of fallacies and discover that state-of-the-art language models struggle with detecting fallacy templates (0.47 accuracy). To facilitate research on fallacies, we make our dataset and guidelines publicly available.
[ -0.4899458289, -0.764962256, 0.7216919661, 0.0079785315, -0.256663084, -0.0712319836, 0.0958878472, -0.0690081716, 0.0290335156, 0.2792763412, -0.5871261954, -0.1954825073, -0.4937046766, 0.1943958551, -0.5829516649, 1.0328444242, -0.2215842754, -0.1197083294, -0.2441175133, -0.2890584767, -0.4157083035, -0.5554501414, -0.3894981146, -0.1210258454, 0.5021374226, 0.664432168, 0.6565322876, 0.5008103848, 0.302131325, 0.2480968386, -0.0187462643, 0.1931535751, -0.2562904954, -0.2652997971, -0.1917505264, -0.3743290007, -0.1980264038, 0.2619957626, 0.1044954062, 0.6270552278, -0.3356933594, -0.0073192208, -0.5161055923, 0.7772042751, -0.8298702836, 0.0240122117, -0.7401561737, 0.1649716049, -0.2921067178, 0.1905146092, -0.6638562083, -0.6154873371, 0.0565343909, -0.7476148605, 0.3621302843, 0.0779678002, 0.712613225, 0.3012614548, 0.096995756, -0.5758715272, -0.620875001, 0.7521446943, -0.7445796728, 0.0299654901, 0.0679979101, 0.3389323652, -0.2060842812, -0.7447124124, -0.7871283889, -0.1746925563, -0.176453501, 0.1452458501, -0.3756033182, -0.2547203302, 0.5764462948, 0.2992728949, -0.3471734822, -0.160370186, -0.5950029492, -0.1963000894, 0.5252289176, -0.0710099488, 0.4850551784, -0.0830851719, -0.3068362772, -0.0152211543, -0.918381691, 0.0428496003, 0.4966153502, 0.0983710364, -0.1680677384, 0.3832478225, 0.3801318407, 0.7813122869, 0.1415976286, 0.2404875457, 0.141358763, -0.2838788927, -0.3001092374, 0.1808317304, 0.3428990543, 0.36280334, 0.2498081625, -0.101638183, 0.0360167995, 0.3650538921, 0.5956995487, -0.0629475862, -0.2451815009, 0.2335118055, -0.3023118675, -0.6181516647, 0.0310039222, -0.7179603577, -0.4955199063, -0.1418665946, 0.0592839271, -0.6017881632, -0.1342917383, 0.3123212457, -0.6715937853, 0.3608618081, 0.6792443395, -0.560619235, 0.5701879859, 0.8293893933, 0.7333461046, -0.090086773, -0.2666361034, -0.4456943572, 0.1365593374, -0.8411742449, 1.1333192587, -0.6612805128, -0.0708436817, -0.0768627971, -0.1800412685, -0.2248155624, -0.4175402224, 1.1576602459, -0.2070279717, 0.588511169, -0.3189732432, -0.5191271901, -0.4515507817, 0.2362167984, -0.8496889472, 0.7816711068, 0.243048504, -0.9747490287, 0.4813230038, -0.7159724236, -0.3386627138, -0.0492762104, -0.3123834729, -0.3953587413, 0.6162827015, 0.3409584463, 0.0414022617, -0.2117797732, -0.0093285078, -0.4655621052, -0.405387193, 0.4400019646, -0.1430640668, 0.8573477268, -0.125837788, -0.5668627024, -0.150589183, -0.6674386263, -0.3124851882, 0.1716413051, -0.1182415932, -0.5774288774, 0.287327677, -0.1704059988, 0.3738212287, -0.2785865366, -0.5473890305, 0.1838943511, -0.7072033286, 0.6057878137, 1.0139393806, -0.0764108598, 0.1850519776, -0.5125810504, 0.55289644, 0.3250504732, 0.0422162712, -0.0180465877, -0.3175856769, -0.8295263052, -0.2680685222, 0.2094958425, 0.2875288725, -0.4668344557, 0.0063842339, -0.0591015145, -0.4111126363, -0.5223671794, -0.0876804888, 0.3473363817, 0.8460993171, 0.3155803382, 0.0493812375, -0.4872032404, -1.1975976229, -0.5248648524, -0.1753795743, 0.1717319638, 0.2200867236, 0.6081326604, 0.1908620596, 1.1381415129, -0.4292177558, -0.0103300959, -0.2547323108, 0.2027916163, 0.4010272324, 0.3923795223, 0.7634686232, -0.8161373734, -0.1452013403, -0.3631615639, -0.7274961472, -0.1902197599, -0.0701562762, 0.045603659, 0.4820200801, 0.6030134559, -0.6158123612, 0.6374258995, -0.0169713572, -0.2569087446, 0.8190490007, 0.1867568791, -0.0082935877, -0.9523950815, -0.1613064557, 0.0808245838, -0.1400330663, -0.3049199283, 0.0080459407, -0.2661933005, 0.002816787, -0.4052214324, 0.4127706289, -0.2818417847, 0.2626599073, 0.1359203756, 0.2108572572, 0.0941497609, 0.0159277283, -0.0419582054, 0.3334944248, 0.2637123466, -0.3530373275, 0.3020609617, 0.1750763953, -0.0066349711, 0.8218000531, -0.7267871499, 0.1385184526, -0.3558468223, 0.3965653777, -1.1033445597, -0.3575583994, 0.482675761, -0.3444239795, 0.0219084714, -0.7743453383, -0.2567788661, -0.3050811589, -0.5460957885, 0.2479688674, 0.4295603037, -0.7080928087, 0.6515720487, 0.2827721536, -0.0643625781, -0.818785727, -0.675788343, 0.0218483713, -0.6236525774, -0.3990419507, 0.184740752, -0.1509297341, -0.4851637483, -0.1217483506, -0.1375880688, 0.0665744096, 0.0741613209, 0.3458018601, 0.0187366586, -0.3666272461, -0.0502410308, -0.1334362179, -0.3692894578, 0.3503355384, -0.3156313002, 0.2413825989, -0.2092350721, -0.5723353624, 0.0664863437, 0.621815145, 0.692532599, 0.3001582026, 0.4655327201, -0.1046384647, -0.7939878702, -0.4912480712, -0.6427497864, 0.0723645911, -0.4448774159, -0.025076, -0.3080570996, -0.2652001977, 0.3706974685, -0.0697512329, 0.579462111, 0.5609642863, 0.2867034674, -0.2153421789, 0.8238115311, 0.2188064456, 0.1889657974, -0.0485513993, 0.0281318147, 0.4913287461, -0.3755596876, -0.0335659347, -0.6708388925, -0.109324947, -0.319141537, -0.5956428647, 0.0644284412, 0.1598502696, -0.1671312749, 0.0251246244, -0.5124773979, 0.6822493076, 0.3137980103, -0.3185084164, 0.0438091867, 0.3427219987, -0.3006159663, -0.5638390779, -0.777985096, -0.6946417689, 0.542765677, 0.4032607973, 0.6051387191, 0.2187523693, 0.5472822785, 0.5699821711, 0.2884928584, -0.587456882, 0.3856510222, -0.0819752365, -0.7072136998, -0.0954385102, -0.3563144803, -0.5749743581, 0.099344641, 0.0312135238, -0.9152374864, 0.1318863034, 0.4537405074, 0.1043421254, 0.2411107719, -0.710558176, 0.9726842642, -0.022845827, -0.1797578782, -0.0621536747, -0.3394955099, 0.5895426273, 0.0682541281, 0.494812876, 0.0578969494, 0.333468765, 0.8435991406, -0.7477058172, 0.8660255671, -0.1551814675, 0.0348681211, 0.2699638009, 0.4432212114, 0.2879464626, -0.0537538677, -0.197723195, -0.0209717676, -0.068164818, -0.369550705, -0.8155193329, 0.375259757, -0.3447812498, -0.5284500718, -0.6590331793, 0.0605371296, -0.0151596386, 0.1201672107, 0.3446574509, 0.6133885384, -0.254024297, -0.1382713467, 0.5767818093, -0.021027023, 0.4915976822, 0.2149700373, 0.2401864082, -0.4504721165, 0.9291228652, 0.1571864933, -0.1863829941, -0.0566377752, 0.4147948325, -0.3823505044, -0.616666317, -0.5311161876, 0.1793586761, -1.1834205389, -0.1693219095, -0.4656506777, -0.072341606, -0.2835561633, -0.7475592494, -0.4134589136, -0.9112283587, 0.0347827598, -0.2915425003, 0.2376441807, 0.9254373908, -0.2086665779, 0.0296582505, -0.5353377461, 0.2908268571, 0.0217712428, 0.2811691165, -0.0107141938, -0.4240220189, 0.2043450177, -0.231456697, -0.1375394911, -1.1242204905, -0.0428045578, -0.0335517153, 0.8161323071, 0.5342665315, 0.2673417628, 0.7207601666, -0.5485100746, 0.749366641, 0.338519901, -1.1399387121, 0.8679718375, -0.2352148741, -0.2194207311, 0.6004465818, 0.5443296432, -0.3897057474, -0.4257604778, -0.9861351252, -1.0317456722, 0.8604875207, 0.2311591059, -0.2339858264, -0.1358816922, 0.5056326389, 0.2687098682, -0.0002359745, -1.131166935, -0.1643667221, -0.2125704288, -0.3397406936, 0.2277725041, -0.2901572883, -0.6693301201, -0.040790908, 0.6177437305, -0.3555236459, 0.1130963564, 0.1728887558, -0.2439012378, 0.0276565906, 0.3660213649, 0.9072191119, 1.034655571, -0.0569078773, 0.4781904817, 0.0837977752, -0.227963686, 0.3102975488, 0.2259135246, -0.4273497462, 0.2280990034, 0.8310950398, 0.2651860416, 0.0428051092, -0.4969824255, 0.5641102195, -0.3350323737, -0.1623848975, -0.7368662357, 0.0118859503, 0.214074865, -0.1534000635, 0.1325360686, 0.1416440159, 0.0861966163, -0.3483890593, 0.0952133536, 0.236828953, -0.491106838, -0.2152649611, 0.2042313963, 0.2647390366, -0.2963719666, 0.5526191592, 0.0373413227, -0.5834052563, 0.4864732027, 0.518525064, 0.5311712027, 0.1325264126, 0.4202226698, 0.1677301973, 0.7790914178, -0.0251195319, 0.1936799288, 0.1574541926, -0.6082888246, -0.1130939499, -0.4186042249, -0.5068678856, 0.331145823, -0.4948504269, 0.2596313357, -0.712539196, 0.3332967162, 0.2376381308, -0.3731615841, -0.2953234315, 0.2091327757, 0.1680348516, 1.2056409121, -1.0543904305, -0.2048428953, 0.9051113725, -0.6385335922, -0.568200171, 0.1763713062, 0.1288222969, -0.549648881, 0.509419322, 0.2404408455, -0.4075352848, -0.6212627292, -0.788664639, -0.4695474803, 0.3105540276, 0.5834017992, -0.3420527577, -0.0408403836, 0.0326488577, 0.2220192999, -0.5621960759, 0.3457207084, 0.6392300725, 0.5858142972, 0.1168295145, -0.2685285509, 0.4269145429, -0.250674367, -0.3757508099, -0.1004719958, -0.3876106739, 0.6302850246, -0.2417592108, -0.0827698931, -0.4868775308, 0.3822008371, 0.5755729675, 0.6635022163, 0.792840898, 0.8988789916, 0.7359791994, -0.2383960336, 0.9698086381, 0.3282301426, 0.0588125773, 1.1577665806, -0.3333336413, 0.5901644826, 0.5099157095, 0.063820608, 0.8810148239, 0.7389743924, -0.0460563488, 0.3344413936, 0.6220766306, 0.0178100746, -0.4175342619, 0.3491246104, -0.2928439677, 0.3851414919, 0.6767878532, -0.2201546282, -0.3551732302, -0.4586081803, 0.309563905, 0.1925967336, -0.025866298, 0.6406290531, 0.0280066933, -0.7845294476, 0.3828754425, 0.1363796294, 0.0852918103, -0.3263908625, -0.5202072263, -0.2819594443, 0.1845307648, -0.2818259597, -0.5349722505, 0.2923122644, 0.0382893495, -0.2347830683, 0.0980204716, 0.7666147947, 0.4276941121, -0.7095779777, 0.0491993278, 0.340788722, 0.115419589, 0.3203374743, -0.8837324977, -0.0243415441, -0.1927120984, -0.1007580757, -0.2116709203, 0.5614997149, -0.1478266865, 0.4378092587, 0.7309365869, 0.0901385173, 0.0589233302, -0.0743287802, 1.072104454, -0.8010441661, -0.6843526959, -1.0194919109, 0.547688961, -0.668961525, -0.2761162221, 0.4146110117, 0.5331209302, 0.5848881602, -0.1746805012, 1.0656772852, -0.0017020203, 0.7634082437, -0.6465659142, 0.4645178318, -0.4805292189, 0.2751803696, -0.5300599337, -0.6802718639, -0.2997721434, 0.8732084632, -0.3071293533, 0.1044441238, 0.7478437424, 0.392616868, -0.5137944221, 0.0995887667, 0.0325800776, 0.3580374718, 0.4274893701, 0.5737318397, 1.205786109, -0.3330559731, 0.4192585051, 0.1019344628, -0.3072623909, -0.450378567, -1.3937362432, -0.9608948231, -0.2415933609, -0.7114896774, -0.9232278466, 0.1626162231, 0.6689727306, 0.7522553205, -0.760622859, 0.2591072619, -0.4013613462, 0.7159626484, -0.2054436952, -0.2578713894, 0.2726885974, -0.2198266238, -0.3314177692, 0.4709629714, 0.241507262, -0.0312372278, -0.1035874635, 0.1505934745, -0.0403369479, 0.6204485297, 0.0720505193, 0.5846681595, -0.8754224777, -0.4156627655, -0.5181156993, 0.1270487458, 0.1810126603, 1.2582197189, -0.6290091276, 0.3455454111, 0.4496141076, 0.4304714501, 0.1462987661, -0.0263970159, 0.861815691, -0.8534320593, 0.1203251258, 0.3566650152, 0.4648420811, 0.4269568026, -0.1975588948, 0.5262050629, 0.5681161284, -0.0499445572, -1.1688024998, 0.4109447598, -0.9006923437, -0.362952441, 0.7697910666, -0.4105094373, -0.4592002034, -0.4642544985, -0.033747144, -0.1795443594, -0.1993066519, 1.014291048, 1.0697618723, -0.1966468096, -0.2439654619, -0.4153806567, 0.9861086607, 0.3751465678, -0.9485473633, 0.4516623914, 0.7620313764, 0.4920139909, 0.4921528995, 0.673202455, -0.2981832623, 0.895493567, 0.2608011365, -0.4461313486, -0.0468957312, -0.2346919179, -0.3678517044, 0.3689239323, 0.0003709056, 0.0029533696 ]
http://arxiv.org/abs/2406.12399v1
http://arxiv.org/pdf/2406.12399v1
QueerBench: Quantifying Discrimination in Language Models Toward Queer Identities
2024-06-18T08:40:29
2024-06-18T08:40:29
Mae Sosto, Alberto Barrón-Cedeño
cs.CL
cs.CL, cs.AI, cs.CY
With the increasing role of Natural Language Processing (NLP) in various applications, challenges concerning bias and stereotype perpetuation are accentuated, which often leads to hate speech and harm. Despite existing studies on sexism and misogyny, issues like homophobia and transphobia remain underexplored and often adopt binary perspectives, putting the safety of LGBTQIA+ individuals at high risk in online spaces. In this paper, we assess the potential harm caused by sentence completions generated by English large language models (LLMs) concerning LGBTQIA+ individuals. This is achieved using QueerBench, our new assessment framework, which employs a template-based approach and a Masked Language Modeling (MLM) task. The analysis indicates that large language models tend to exhibit discriminatory behaviour more frequently towards individuals within the LGBTQIA+ community, reaching a difference gap of 7.2% in the QueerBench score of harmfulness.
[ -0.2598774731, -0.7395499349, 0.2826535404, 0.3438502848, 0.1456544697, -0.0555074811, 0.0610236265, -0.8420264125, 0.1077699363, 0.4783982635, -0.5022471547, -0.4165267646, -0.5403189063, 0.2810781598, -0.8229976296, 0.7311317325, 0.1756608337, 0.2074251026, -0.2776124775, -0.0073552984, -0.7283561826, -0.5653402805, -0.3284350336, 0.298594743, 0.5841363072, 0.0111873737, 0.7855919003, 0.2157150656, 0.4983021915, 0.2860861421, -0.3500829935, -0.4072210193, -0.5609526038, 0.4217070341, -0.4632734358, -0.7236789465, -0.3342533708, 0.1532094777, 0.5748573542, 0.82983464, -0.0731321722, 0.3132202625, -0.1344185024, 0.5790851116, -0.6886785626, -0.409509033, -0.7267339826, 0.3199014366, -0.4556015432, 0.4041492939, -0.2218892872, -0.4904942811, -0.173957482, 0.0494170226, 0.2051226795, 0.2728892863, 0.5269411802, 0.0927970409, -0.7395502925, -0.1921711564, -0.5962308645, 0.6277055144, -0.8843124509, 0.7640078664, 0.5055927634, 0.1404010653, -0.1135142073, -0.4037232399, -0.5996890664, -0.1606009305, -0.151663512, -0.2069259733, -0.1708172858, 0.0523366071, 0.3989097774, 0.4604277015, -0.933226943, 0.4143662453, -0.6429609656, -0.099232927, 1.024409771, 0.2035173774, 0.4218944609, -0.461727947, -0.4679696262, 0.2718676031, -0.5576733351, -0.0056107724, 0.739151895, 0.2997386158, 0.1067117453, 0.6702887416, 0.3331060112, 0.4218109548, -0.0544665605, 0.3409048021, 0.4643449187, -0.0945422798, -0.2618238628, -0.0553204529, 0.5872882009, 0.5344904065, 0.1842210442, -0.2131059766, -0.0697824582, -0.0193892531, 0.5788958073, -0.5033656955, 0.392634362, 0.469245851, -0.349988848, -0.0597683676, -0.0647552386, -0.8878883123, -0.8916563988, 0.1007730663, 0.0783871263, -0.0990324542, -0.2543607056, 0.3180772066, -0.1644562632, 0.3030670583, 0.3201113343, -0.6252384186, 0.3447319567, 0.7587258816, 0.6192391515, -0.4427495003, -0.0851705819, -0.6378407478, -0.1981399804, -0.2130136192, 0.2790668309, -0.3651319742, -0.4352259934, 0.0203837845, -0.0336285383, 0.0617253482, -0.5293418765, 0.6951271892, -0.4005715847, 0.4884241521, -0.0447999611, -0.8034870028, -0.1114475578, 0.269492954, -0.848741293, 0.981775105, 0.148479566, -1.0186884403, 0.3095247149, -0.5280231237, -0.0959666073, 0.3371148705, -0.2353001833, -0.3179428279, 0.1734943092, -0.3152854145, 0.4970574975, -0.227442354, 0.4685755968, -0.4913012385, -0.2429700643, 0.3064890802, -0.2219585776, 0.8745611906, 0.0307239406, -0.6124346852, 0.4190298915, -0.5859356523, -0.2010992318, -0.083409071, -0.4180080295, -0.4205810726, -0.1053606421, 0.5829831362, 0.5429870486, -0.0448373295, -0.6890108585, -0.1884351373, -0.6888787746, -0.2179948241, 1.0572327375, -0.3322118521, 0.1129886061, -0.1593206972, 0.7914975882, -0.2681884468, 0.3013157248, 0.601213932, -0.6629850864, -0.4253085256, -0.0570065677, 0.3601200879, 0.5085045099, -0.2993048728, 0.6414998174, -0.1348152906, -0.3253066838, -0.2704509795, 0.3178237081, 0.384950608, -0.0611647069, 0.1205284595, -0.4742748141, -0.6507458687, -1.1013867855, -0.6098492146, -0.3458360434, -0.3184320927, 0.0897419155, 0.6452447772, -0.3955674469, 0.9434228539, -0.2468060553, -0.1863055378, -0.1879112571, -0.0414650925, 0.0069185905, 0.3961720765, 0.7277640104, -1.1325170994, -0.4639927149, -0.4880867898, -0.427231431, -0.283585012, 0.0626716167, -0.1872289479, 0.1220886707, 0.6190270782, -0.4823825955, 0.5168519616, 0.5619451404, -1.1030659676, 0.7624059319, 0.5288925767, -0.0340755098, -0.8462594151, 0.1177771464, 0.0379653424, -0.5561847687, -0.5885488391, 0.3759738803, -0.201899156, -0.002119547, -0.7371018529, 0.6812618971, -0.1226914227, 0.1438451409, 0.0395136699, 0.0764948353, -0.1041556373, 0.1544219106, -0.3158755004, 0.4500494599, 0.0568390526, -0.2190965265, 0.4345979691, 0.3649585247, -0.3302091956, 0.4781191051, -0.4664713442, 0.0373291411, -0.3874699175, 0.0725152716, -0.9977177978, -0.1380842775, 0.2110265791, -0.3126963079, 0.0428378433, 0.3650936186, -0.4455581009, -0.4437388778, -0.6721934676, 0.5007869005, 0.1762646288, -0.1870172769, 0.4756471217, 0.4275150001, -0.2560918927, -0.6201787591, -0.8313093185, 0.1122230664, -0.4964178801, -0.4773508608, 0.1277941465, -0.2282362133, -0.582852304, -0.3445325792, -0.024507951, 0.0396706127, 0.5958160758, 0.4419522583, 0.0856366977, 0.0433158949, 0.4898290932, -0.2258532047, 0.3577305079, 0.2911213934, 0.2872939408, 0.704474926, -0.1812808067, -0.4145836532, 0.0993630216, 0.8085719943, 0.328961134, 0.0227515418, 0.9193812609, 0.6535750628, -0.4173105955, -0.1292835772, -0.5742541552, 0.1313440651, -0.4449608922, 0.6283625364, 0.0040132632, -1.3854007721, 0.4022888243, 0.2646386027, 0.2101577967, 0.4706007242, 0.5307844281, 0.0413716175, 0.7144142389, 0.8847153783, -0.0216115955, 0.4436794519, 0.4353311956, 0.1607980579, -0.4866343439, -0.1552746147, -0.6088931561, -0.3913369775, -0.7919778228, -0.5843713284, 0.1921295673, 0.1607823521, -0.273455739, 0.1582242399, -0.2543474138, 0.3789461553, 0.4253080785, -0.146566689, 0.2524040043, -0.0825297236, -0.0278435312, -0.3810887635, -0.2473413348, -0.5475274324, 1.0887649059, 0.5815346837, 0.5046663284, 0.5931995511, 0.4773551524, 0.7548921108, 0.3678380251, -0.5579469204, 0.5632234812, 0.0198155232, -1.2997568846, -0.2279458046, -0.5072742701, -0.9771018624, 0.3587355912, -0.2387664765, -1.3596681356, 0.3483684063, -0.1040098518, -0.0718829185, 0.4237267375, -0.3939228952, 0.7923767567, -0.3572345674, -0.6063545942, 0.016099602, -0.7361742258, 0.6480627656, -0.3914093077, 0.4683986008, -0.3638773859, 0.0166955199, 0.7835709453, -0.2214219719, 0.9746566415, -0.1451747119, -0.6012014151, -0.2624514997, 0.346311748, 0.2156468481, -0.1893559396, -0.6354497075, 0.2210492194, -0.0811309665, -0.3186914623, -0.3179171681, 0.3853757679, -0.4992345572, -0.8477644324, -0.2680234313, -0.4572481215, -0.3841195107, 0.02369106, -0.0215944573, -0.0731011704, -0.5559805036, 0.0131678404, 0.3517071307, -0.7097774744, 0.1321314424, 0.39723441, -0.9032580853, -0.135525465, 0.5157977939, -0.2346102744, 0.2786368728, 0.0236091614, -0.0534706563, -0.3001890481, -0.3879827261, -0.0644636974, 0.3027359843, -0.7789263725, -0.1419285089, -0.5593008995, -0.1020372212, -0.6058588624, -0.1167436093, -0.2370387316, -0.4678718448, -0.0707844868, -0.3134012222, 0.1528045535, 0.8157346249, 0.0657126307, 0.1410008073, -0.7529321313, 0.2823489606, 0.3458445072, 0.4823499918, -0.2248179466, -0.3736371398, -0.1534670144, -0.1871715337, -0.1952064782, -0.9510595798, 0.4160268903, 0.0571831688, 0.4195794761, 0.1746607274, 0.0626979098, 0.2498469204, -0.418143183, 1.0467649698, 0.4253710806, -1.1272311211, 0.4132685363, -0.2403422892, 0.117733188, 0.5546264052, 0.6455414295, -1.0868980885, -0.7380745411, -0.5866770744, -1.0492459536, 0.5173381567, 0.4434519112, 0.298601687, -0.1062222049, 0.2342417687, 0.2681912184, 0.5405060053, -1.1914298534, -0.3720150888, 0.0933876932, -0.2154744416, 0.0118747838, -0.4657452106, 0.0219221767, -0.3401969969, 0.6096888185, 0.1138759106, 0.1807476878, -0.0834497437, -0.2539910078, -0.0762914047, 0.5728539228, 0.2832652628, 0.378631711, -0.2004604638, 0.2052769065, 0.1702578068, -0.3600109816, 0.2318433523, 0.022323912, -0.0320561789, 0.1820670068, 0.4143018425, 0.7538838387, -0.1217464283, -0.9884083867, 0.7807433009, -0.1265856922, -0.0266926251, -0.1798313558, 0.1815749407, 0.1931944042, 0.3462168276, 0.2130937129, -0.1673436165, 0.4450749159, -0.4760069251, 0.2436517477, 0.3904531002, -0.4670855999, -0.1160298958, 0.7776612639, 0.2809404731, -0.4153572917, 0.444594115, -0.1023388207, -0.7240280509, 0.4984861314, 0.362550348, 0.9079648852, -0.5067338943, 0.1676678509, 0.3077890575, 0.416346997, 0.2963388264, 0.2799469829, 0.3368058205, -0.7554406524, -0.0348485783, -0.9889392853, -0.1033250093, 0.0750529766, -0.5184593201, 0.1792788506, -0.5166217685, -0.2847706378, -0.0082207713, -0.0804183781, -0.5644013882, 0.0492098443, 0.7710103989, 0.7753859162, -0.9085547924, 0.306548655, 0.4912413359, -0.2455180436, -0.4063104093, 0.0998646095, 0.3962553442, -0.2951650321, 0.7770893574, 0.4963192046, -0.0829834491, -0.3484594226, -0.4110472202, -0.5953982472, 0.4827097654, 0.6297293305, -0.8378058076, -0.1977942288, 0.7354006767, 0.6867049336, -0.1372335851, 0.226577729, 0.4652579427, 0.4474681318, -0.2531012893, -1.3038454056, 0.2224155366, -0.6207225919, 0.1289810389, 0.0901740044, -0.3217843473, 1.0400679111, 0.2480527163, -0.5179377198, -0.1873582453, 0.3114455342, 0.0708457008, -0.0864930376, 0.6875774264, 0.3447701633, 0.9652699828, 0.3119039536, 0.9307113886, 0.2960272729, 0.4288273454, 1.2637548447, -0.4123152196, 0.801068306, 0.3790280223, -0.4956453741, 0.5717285872, 0.3409619927, -0.060277693, -0.2025902569, 0.7894838452, -0.2635214627, -0.3158041239, -0.2573091388, -0.3193761706, 0.4621027708, 0.4345588088, -0.5313693285, -0.2715772092, 0.3085412979, 0.0220326521, 0.2810685635, -0.2415438592, 0.4296958148, 0.1370548159, -0.0908510908, 0.5006648302, 0.3088683784, 1.1836508512, -0.428136915, 0.1278366596, -0.2186779827, 0.0211908277, -0.4025117755, -0.7531455159, 0.5701799393, 0.1456459165, -0.3845849633, -0.2108390778, 0.479741931, -0.5015960336, -0.6286103129, 0.57620579, 0.7379680872, 0.1710525751, -0.2335429788, -0.7912117243, 0.1227404773, 0.1356659979, -0.2093508244, 0.3160077929, -0.1382281482, -0.2372970283, 0.7013097405, 0.3730930984, -0.0593863726, 0.3483400643, 0.0186507273, 0.5797373652, -0.8795115352, -0.4704830647, -0.8864617348, 0.4586523771, -0.1643755138, -0.3224022686, 0.9495772719, 0.7044677734, 0.7216124535, 0.1348539591, 0.4221445024, -0.1865667105, 0.6540414095, -0.3047885895, 0.8448253274, -0.7468146682, 0.4940841496, -0.4846858084, -0.7505193949, -0.50051862, 0.3873706758, -0.2480393797, 0.0794155449, 0.5814720392, 0.8141198158, 0.1257348061, 0.1148810238, 0.5631698966, 0.3961142898, 0.3333262205, 0.3780408204, 0.9894346595, -0.4219088852, 0.0347825326, 0.1531724185, 0.2320539355, -0.1166215688, -0.5577426553, -0.9143387675, -0.532446444, -0.3967336714, -0.4063615799, -0.2016483396, 1.1042152643, 0.2473234683, -0.7269304991, -0.3877153695, 0.0262465663, 0.3634929955, 0.2584748268, -0.34619838, 0.1621033996, -0.0973412544, -0.7707639933, 0.0673790276, 0.0563813262, -0.2209607214, -0.593791008, 0.0944497287, -0.6251567006, 0.1332846582, 0.6529049873, -0.0748435035, -0.7220514417, -0.236101523, -0.3359617591, -0.2208316028, -0.0443687253, 0.637157321, -0.6166728735, 0.4001597762, 0.4049735069, 0.3916540444, 0.2069578171, -0.1533613503, 0.8463169932, -0.9831694961, 0.0142934276, 0.4256708026, 0.3007355034, 0.420892626, -0.6570742726, 0.5086205006, 0.3009996712, -0.1326892078, -1.0185631514, 0.2604092658, -0.5988688469, -0.553817749, 1.1410448551, -0.1689987481, -0.1647877693, -0.3793806434, -0.1225468889, 0.0912596509, -0.0584210753, 0.709911406, 0.7165296078, 0.087107785, -0.0332644843, -0.6214932799, 0.6099136472, 0.48473984, -0.9166338444, 0.253952831, 0.8250630498, 0.4013914764, 0.0824291855, 0.3804473877, -0.0522121042, 0.1655179858, -0.2546232045, 0.4098272622, 0.2857027352, 0.0522283204, -0.5549488664, 0.2840157747, -0.0467880368, 0.3156452179 ]
http://arxiv.org/abs/2406.12397v1
http://arxiv.org/pdf/2406.12397v1
Unveiling the Flaws: Exploring Imperfections in Synthetic Data and Mitigation Strategies for Large Language Models
2024-06-18T08:38:59
2024-06-18T08:38:59
Jie Chen, Yupeng Zhang, Bingning Wang, Wayne Xin Zhao, Ji-Rong Wen, Weipeng Chen
cs.CL
cs.CL
Synthetic data has been proposed as a solution to address the issue of high-quality data scarcity in the training of large language models (LLMs). Studies have shown that synthetic data can effectively improve the performance of LLMs on downstream benchmarks. However, despite its potential benefits, our analysis suggests that there may be inherent flaws in synthetic data. The uniform format of synthetic data can lead to pattern overfitting and cause significant shifts in the output distribution, thereby reducing the model's instruction-following capabilities. Our work delves into these specific flaws associated with question-answer (Q-A) pairs, a prevalent type of synthetic data, and presents a method based on unlearning techniques to mitigate these flaws. The empirical results demonstrate the effectiveness of our approach, which can reverse the instruction-following issues caused by pattern overfitting without compromising performance on benchmarks at relatively low cost. Our work has yielded key insights into the effective use of synthetic data, aiming to promote more robust and efficient LLM training.
[ -0.2719806433, -1.1365989447, 0.67959553, -0.1027072892, -0.1897219568, 0.586253047, -0.0956368744, -0.3631881177, -0.0790444762, 0.8105595708, -0.6392840743, -0.376002878, -0.3240053654, -0.0485120937, -0.5370663404, 0.7588594556, -0.1405702233, 0.2856270671, -0.5022153258, -0.102821067, -0.5685598254, -0.6954945326, -0.6584969759, -0.2842638791, 0.2788875103, 0.6056774855, 0.6115846038, 0.8877971172, 0.2609189749, 0.2988373637, -0.0351517573, 0.5502628684, -0.754984498, 0.3267243803, 0.0201663133, -0.619178772, -0.1963437498, -0.0136278011, 0.91734761, 0.8770293593, -0.0621155351, 0.1104838774, 0.0914965421, 0.8816604018, -0.4668864906, 0.1718559414, -0.5882893205, -0.120707266, -0.386945188, -0.148659572, -0.3636244535, -0.3850689232, -0.2745693028, -0.4583339989, 0.4668049514, 0.1584066004, 0.5527256131, 0.3397383392, -0.2925635576, -0.2496888489, -1.0378706455, 0.8875540495, -0.8925531507, 0.279845804, 0.3251643777, 0.3167933524, -0.5828819871, -0.4482832253, -0.6519621611, 0.0164811295, -0.0821032673, 0.0270032454, 0.0701055378, -0.0636122525, 0.4316437244, 0.5564214587, -0.7900249958, 0.1080251858, -0.5944170356, -0.1814583093, 0.93120116, 0.276655376, 0.3114283383, 0.0993350297, -0.0370938331, -0.398989439, -1.0519032478, 0.0151540097, 0.7415153384, 0.4268944263, 0.1610983163, 0.7421139479, -0.2449720353, 0.3785048723, -0.2558035254, 0.2484491467, 0.1784851402, -0.4709579945, -0.0962701663, 0.042430196, 0.429150492, 0.0504840091, 0.2922452688, -0.3200156093, -0.3780665696, -0.0178906452, 0.1998561621, -0.611343503, -0.2074208558, 0.436490953, -0.0942807198, -0.2611574829, 0.1406197548, -0.8799324036, -0.4280658662, -0.5885338783, 0.3597770035, -0.294406116, -0.0595319308, 0.0904044956, -0.2407714278, 0.2698158622, 0.1922193915, -0.7128403783, 0.2698158622, 0.7224566936, 0.6628479362, -0.0181930289, -0.1473300159, -0.4881133139, 0.0783977956, -0.5409560204, 0.7231484652, -0.4420603514, -0.5866378546, 0.0166540593, -0.0974917933, -0.0500010662, -0.9005318284, 0.5296455026, -0.3632955551, 0.2122927159, -0.4700857401, -0.630845964, -0.0175199639, 0.2041215003, -0.6723912954, 1.0555647612, 0.1733935624, -0.422423929, -0.0312521346, -0.4423395395, -0.2827462256, -0.1600359827, -0.2298779339, -0.553219974, 0.2842444479, 0.2854167819, -0.0148178805, -0.3819862306, 0.0044202218, -0.2934782207, -0.574508667, 0.6055228114, -0.7027622461, 0.6845698953, -0.0425027534, -0.2223051339, 0.0183584932, -1.0297636986, 0.1911339313, 0.4424667954, -0.230861932, -0.3709663749, 0.0276016556, -0.0824704468, 0.1251574606, -0.0617571957, -0.7278905511, 0.4072814882, -0.5019778013, 0.3536198139, 0.8994241357, 0.1441250741, 0.39002496, -0.6341174841, 0.4950061142, 0.0357062519, 0.1670849025, -0.1984413862, -0.2246686369, -0.9726899266, 0.1066065058, 0.4094487429, 0.4717503786, -0.6109619737, 0.0531505793, 0.0395401157, -0.4745580554, -0.8165224791, 0.3794151247, 0.6468929648, 0.3689052761, 0.4745288789, -0.3244790137, -0.7977576852, -0.8847415447, -0.360774219, -0.0120439595, 0.1038640961, 0.1516819894, 0.3684785962, -0.2572020888, 0.8835024238, -0.565115869, -0.0104059456, -0.2728743851, 0.1621930301, -0.1323958635, 0.6646875143, 0.1964429617, -0.7172790766, -0.3016570508, -0.2804092467, -0.4073527753, 0.0109276548, -0.2147674561, -0.1102321222, 0.4253998399, 0.7656716704, -0.5286256671, 0.3365764916, 0.5456846952, -0.1174753457, 0.6577038169, -0.2053656578, 0.1010430455, -0.9359226227, -0.1188448891, -0.1851358265, -0.0517454557, -0.6729750037, 0.0289835669, 0.0141222207, 0.0523293093, -0.2932661176, 0.5014048815, -0.3090967536, -0.0151525773, -0.0881185979, -0.1383348405, 0.1484308392, 0.3915519714, -0.3320438266, 0.9329457879, 0.1492670476, -0.2583796084, 0.4063171446, 0.2671289742, -0.1879245192, 0.2340855151, -0.6797708869, 0.4680603147, -0.3514901996, 0.0896930769, -1.122764349, -0.4517291784, 0.2142112851, -0.501383245, 0.5552076101, -0.2431359142, -0.6093039513, -0.0661344454, -0.4717032015, 0.546408236, 0.6073227525, -0.5738227963, 0.2932211757, 0.2511357367, -0.0697986856, -0.4671930075, -0.6859636903, -0.13237001, -0.2573916614, -0.5173433423, 0.3416875005, -0.2294966727, -0.290274024, -0.0762010142, -0.2409588248, -0.1743012071, 0.0250245202, 0.1680383831, 0.1657636315, -0.2440607697, 0.1914074272, -0.0870208442, -0.0875158533, 0.2825588286, 0.007170558, 0.7604886889, 0.1199389994, -0.4958232939, -0.2172703892, 0.5245894194, 0.7051743269, -0.2343100607, 0.7935307622, 0.2258560956, -0.4062030911, -0.6033722162, -0.440710783, -0.233441025, -0.5272570252, 0.3669216633, 0.0257841591, -0.4927364588, 0.5045391321, -0.2067964524, 0.033254575, 0.1717094481, 0.1425414681, -0.3185128868, 1.2451558113, 0.5867633224, 0.1088334918, 0.2119570673, -0.4076963961, 0.3998866677, -0.7637386322, -0.4328728914, -0.6264315248, -0.2385031283, -0.6360127926, -0.4925376773, 0.2808229327, 0.2428439111, -0.2805633247, 0.0684532449, -0.0844879746, 0.6609639525, 0.7268331051, 0.0999649465, 0.3186590374, -0.0381696597, 0.0954032242, -0.014335976, -0.5895032287, -0.5215761065, 1.2001758814, 0.2558074594, 0.7359540462, 0.0522393622, 0.613276124, 0.0625894666, -0.1427675933, -0.6304576993, 0.4013440609, -0.1859076321, -0.4648606777, -0.4664314091, -0.5940006971, -0.7143024802, -0.0892171711, -0.2205497175, -0.4011254609, 0.1037192196, 0.42356655, -0.1165859252, 0.3281126618, -0.792254746, 0.8905764818, -0.324041307, -0.2688037753, -0.0351564214, -0.3472296894, 0.3813409805, -0.3715575933, 0.2702513039, 0.1439855844, 0.3074310422, 0.5478546023, -0.3498596251, 0.8736019135, 0.0162899457, -0.1323646009, 0.2160964906, 0.0731749237, 0.7143293023, 0.0529895984, 0.141437754, -0.0074739712, -0.0426232144, -0.7316973209, -0.9529823661, 0.6447368264, -0.6704457998, -0.6305027008, -0.2670795321, -0.7265709639, -0.652643919, -0.0530143753, 0.1650428325, 0.5552935004, -0.1832404435, 0.2443337291, 0.7655834556, -0.409704417, 0.3537935615, 0.4293550849, -0.074237287, -0.2125546783, 1.0001279116, 0.3525450528, 0.555243969, 0.0239273533, 0.1313257366, -0.4268728793, -0.8939417005, -0.4670869112, 0.277880609, -0.5006076097, -0.0717436001, -0.1935923398, -0.436898917, -0.4019738436, 0.0848337784, -0.6643439531, -0.5199725032, -0.0811212957, -0.0455840789, 0.1966813803, 0.8245143294, 0.0638679489, 0.2372512221, -0.9000462294, 0.0845054239, 0.1273697466, 0.3503904045, -0.0611067526, -0.4876715541, -0.1747446954, 0.5411612391, -0.3438906372, -0.6910491586, 0.4867174923, 0.036599312, 0.4843168557, 0.1294839084, 0.2103923112, 0.8682544231, -0.3891963959, 0.5725468397, -0.2695418, -0.7836458683, 0.561756134, -0.3204401731, 0.1003433168, 0.3638180494, 0.4011023045, -0.5553864241, -0.5246532559, -0.6617550254, -0.9586559534, 0.5903204679, 0.2389058024, 0.2520438433, 0.2474634498, 0.5352723598, 0.0882891342, 0.1888213307, -0.3868846893, -0.3402926326, 0.0195045583, -0.2266152203, -0.3361580372, -0.2117177099, -0.1074083075, -0.2581956089, 0.753144443, -0.0104969414, -0.0500374734, 0.0963863805, -0.0805871263, -0.3663444221, 0.3325747848, 0.6487666368, 0.5753026605, -0.1881561577, -0.0125587853, 0.1135013923, -0.4876763523, 0.1437431276, -0.1106532961, -0.3213933706, -0.1207005754, 0.3258972168, 0.4458525479, -0.0847772211, -0.988958776, 0.135306567, 0.1200079396, -0.0826381221, -0.3244643509, 0.3211319149, 0.0227856357, 0.2768633068, 0.3175273836, 0.0368089937, -0.0525439978, -0.973354578, 0.1637351215, 0.4785626233, -0.2437172532, -0.3090782464, 0.128883034, -0.1139409766, -0.345315218, 0.8415154815, -0.1934693903, -0.5746356845, 0.7425024509, 0.6627216339, 0.3657691479, -0.4027962387, 0.2919810116, 0.239432469, 0.3449626565, -0.1975056976, 0.3390159011, 0.322743088, -0.7104083896, -0.4168534875, -0.4091285467, -0.5275446177, 0.512622714, -0.673669219, 0.0401786268, -0.4714836478, 0.3807278275, -0.1702691168, 0.0554347038, -0.4060431421, 0.1526900977, -0.1625764966, 0.5474496484, -0.9548524022, 0.661280334, 0.4531632662, -0.5832061768, -0.8357630968, 0.0886869654, 0.0865644664, -0.797070384, 0.464833945, 0.0322988331, 0.2267414927, 0.0164802093, -0.5800386071, -0.8806502819, 0.7581226826, 0.5099359155, -0.7142474651, 0.0314608328, 0.7767022252, 0.4981394708, -0.0731937885, -0.102517128, 0.9101117849, 0.4210850298, 0.1799216121, -0.6560316682, 0.1124794558, -0.2106350511, -0.2426412255, 0.5045087337, -0.5195611119, 0.8298934698, -0.1284757107, -0.40135777, 0.1302363425, 0.1103556752, 0.2054926306, 0.3737357855, 0.2417009026, 0.5649071932, 0.754873991, -0.2848711908, 0.8984202743, 0.1368560642, 0.2057138383, 1.1592885256, -0.2160282731, 0.9277096987, 0.6396799684, -0.1913579106, 0.2003442645, 0.5121325254, -0.017452145, 0.3931277394, 0.6109637618, -0.1171639413, -0.1995979249, -0.0715992302, -0.2404219657, 0.5426809788, 0.3808940351, -0.0837014318, -0.2639037967, -0.1994677186, -0.1855778545, 0.3130055666, -0.1686347127, 0.6960095167, -0.0145415934, -0.4682186246, 0.6999558806, -0.006279096, 0.3177890182, -0.2585726976, -0.4138691425, -0.6430645585, 0.234290421, -0.1698835492, -0.5443045497, 0.5155518055, -0.077850394, -0.1922858208, -0.1972130686, 0.4122579396, -0.5982827544, -0.490672946, -0.0264699589, 0.6165702343, -0.0243625194, -0.211945951, -0.4841944575, 0.1622110009, -0.0274944156, 0.0418281779, 0.3638458848, 0.3165176213, -0.0936101452, 0.6027736068, 0.9323826432, 0.2354704887, 0.1362976283, -0.0256175864, 0.9406187534, -0.7297450304, -0.0306057148, -0.7986235619, 0.6289379001, -0.2100932449, -0.2214127481, 0.789237082, 0.6952139735, 1.252605319, 0.1333617866, 0.6839632392, 0.5672367811, 0.7797214389, -0.8164541125, 0.6436419487, -0.3808158338, 0.7422572374, 0.0131399222, -1.0466672182, -0.2970864475, 0.2762854397, -0.0949976295, 0.0506097414, 0.6419271231, 1.0216727257, -0.0032182629, -0.0260159187, 0.2718736529, 0.3970876932, 0.4819023907, 0.4043565691, 1.1383314133, -0.6658118963, 0.5260443687, -0.421317935, 0.1363945901, 0.0068427529, -0.5371651053, -0.8174512982, -0.4972648025, -0.3024968207, -0.390940845, 0.3677603602, 0.8109303117, 0.4092097878, -0.9654547572, -0.1136972681, -0.5173295736, 0.0282874238, 0.0837516114, -0.1928737015, 0.3488754332, -0.4540784657, -0.6904554963, 0.600527823, 0.0866844431, 0.5128862262, -0.4230211377, -0.0383428447, 0.1561792493, 0.3663409054, 0.3683647513, 0.5173585415, -0.5141627192, -0.3190832436, 0.1948135346, 0.1162960976, -0.001779843, 1.0104731321, -0.6793842912, 0.3591629267, 0.4363038242, 0.8274516463, 0.262663126, 0.1876311153, 0.9016418457, -1.0900677443, -0.0072957738, 0.2892965972, 0.268612355, 0.372333318, -0.3434275389, 0.3852444589, 0.1448556632, -0.4944587052, -1.288856864, 0.1277143061, -0.6765274405, -0.5682758689, 1.1559977531, 0.030604437, -0.1337067634, -0.3264321983, -0.3385903835, 0.2913836241, -0.1489976645, 1.0901485682, 0.7317496538, -0.0562113263, -0.0899496078, -0.6814650893, 0.6479898691, 0.4821718335, -0.9323037863, 0.3858582079, 0.5363478065, 0.0984329879, -0.0536249839, 0.1387381405, -0.2323801666, 0.2233587205, -0.0292658154, -0.3821866214, -0.2276473939, -0.4032680988, -0.4385147095, -0.0545522496, 0.1155308187, -0.1300125122 ]
http://arxiv.org/abs/2406.12946v1
http://arxiv.org/pdf/2406.12946v1
Instruction Data Generation and Unsupervised Adaptation for Speech Language Models
2024-06-18T08:27:00
2024-06-18T08:27:00
Vahid Noroozi, Zhehuai Chen, Somshubra Majumdar, Steve Huang, Jagadeesh Balam, Boris Ginsburg
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
In this paper, we propose three methods for generating synthetic samples to train and evaluate multimodal large language models capable of processing both text and speech inputs. Addressing the scarcity of samples containing both modalities, synthetic data generation emerges as a crucial strategy to enhance the performance of such systems and facilitate the modeling of cross-modal relationships between the speech and text domains. Our process employs large language models to generate textual components and text-to-speech systems to generate speech components. The proposed methods offer a practical and effective means to expand the training dataset for these models. Experimental results show progress in achieving an integrated understanding of text and speech. We also highlight the potential of using unlabeled speech data to generate synthetic samples comparable in quality to those with available transcriptions, enabling the expansion of these models to more languages.
[ -0.0782101005, -0.8455294967, 0.5103577375, 0.0021543128, -0.070131585, 0.1505527943, -0.4618613124, -0.2578707635, -0.1276200712, 0.7118457556, -0.6860015988, -0.3255746365, -0.1492179036, -0.1414349526, -0.5983524919, 0.9114655852, 0.2063127607, 0.5136265159, -0.1983040869, 0.0965820402, -0.5029776096, -0.6974590421, -0.3511349559, -0.3168301284, 0.090975441, 0.361869514, 0.3696120679, 0.4404051006, -0.181442678, 0.3513189256, 0.3478114903, 0.300201118, -0.3244323432, 0.2859158218, -0.299831003, -0.3477461934, -0.237443924, 0.095218204, 1.0115897655, 1.0433183908, -0.1897189915, 0.1549451053, 0.0159118287, 0.3790978491, -0.5504450798, 0.2861266434, -0.7650362253, -0.1296068728, -0.2266886681, -0.3508032858, -0.7684739232, -0.1164162606, 0.2186809778, -0.516680181, 0.414785713, -0.3300151229, -0.0238089915, -0.0012494093, -0.4536660314, -0.411469847, -1.2244479656, 0.9761109352, -0.6866463423, 0.7145750523, 0.232317403, 0.3686194122, -0.3749321997, -0.9002346396, -0.6589126587, -0.3041447699, 0.2433938533, 0.1339377612, -0.0217210557, -0.0492627621, 0.1623547226, 0.0731653422, -0.4530313611, 0.0925324708, -0.6724062562, -0.1507546902, 0.7906560302, -0.0209766049, 0.4742083251, -0.1302641928, -0.1562446207, -0.4909645617, -0.5707098246, -0.1268370301, 0.5723685026, 0.6171619892, -0.1615708768, 0.670360744, 0.0245913379, 0.8188101649, -0.0634562373, -0.3270119727, 0.3969525993, -0.4772010446, -0.2768176198, 0.381909132, 0.7139540315, 0.0848488435, 0.2700900733, -0.1381994784, -0.1977438778, 0.1134798005, 0.3316872716, -0.5525506735, -0.2181556672, -0.0041153743, -0.2087191343, -0.2387989908, 0.0711059496, -1.1214255095, -0.2597673535, -0.7529447675, 0.3853790462, -0.4822838902, -0.2020224333, -0.0051395413, -0.2988497615, -0.072157748, 0.1391096711, -1.074499011, 0.2802333534, 0.2803403735, 0.3443970382, -0.3812606633, -0.2525658309, -0.6814566851, 0.3873540759, -0.4603157938, 0.7022565603, -0.7994624972, -0.5392146111, 0.1847964376, 0.1025313511, -0.3655572832, -0.5347859859, 0.3940659761, -0.3175073862, 0.4291628003, 0.3226559758, -0.5273074508, -0.2074782699, -0.4560419619, -0.7135657668, 1.0414764881, 0.2560768127, -0.2297926843, 0.0190400872, -0.8137001991, -0.50514853, -0.1387984902, -0.1820031106, -0.0871384218, 0.2575430274, 0.4460421801, 0.4813522696, -0.4848587215, 0.330141902, -0.0083658034, -0.0525896251, 0.5779429078, -0.7652063966, 0.6411663294, 0.1980649531, -0.2372200787, 0.0544214472, -1.1301668882, 0.3426954746, -0.0652832836, -0.4995259941, -0.2446150184, 0.1562158912, 0.4743996561, 0.0494107679, -0.0512478836, -0.6182886362, 0.0348781832, -0.486895591, 0.723682642, 0.6249086261, 0.0765745342, 0.4374697208, -0.1382288039, 0.4951187074, 0.0441765003, -0.1696394533, -0.4479599297, -0.1529921591, -0.7585449219, -0.072849609, 0.5878562927, 0.5180544853, -1.0741980076, 0.2918821871, -0.2514606714, -0.4996793866, -0.5964694023, 0.0983492211, 0.4850756526, 0.2782828808, 0.4181624651, -0.143125847, -0.7728309631, -0.6988075376, -0.0136176171, -0.0017030045, -0.2441406697, 0.0190193616, 0.2883924842, -0.2383906394, 0.7816597223, -0.2848324478, 0.2328359336, -0.3600213528, 0.3009717762, -0.1790141165, 0.733874023, 0.548386395, -0.6666900516, -0.1448033899, 0.0636868253, -0.39338094, -0.0542447604, -0.2472063154, 0.1034459993, 0.3058492839, 0.6114417911, -0.1687018275, 0.1540015042, 0.9293992519, 0.1003387272, 0.4324228168, -0.3310344219, 0.2495315969, -1.324540019, -0.1213559657, -0.0413484611, -0.2762116492, -1.0168415308, -0.1895605773, -0.2663804293, -0.5222654939, -0.631380558, 0.4166584015, -0.5238342285, -0.1986760199, -0.3164561689, 0.088701807, -0.1265892833, 0.3591589034, 0.1246321127, 0.9951987267, 0.5531561375, -0.5769829154, 0.642034471, 0.0428610146, -0.5782791376, 0.1082977429, -0.6364908218, 0.4378056824, -0.1824738234, 0.1987915635, -0.9789181352, -0.5562062263, 0.0582016818, -0.4135979712, 0.4401303232, -0.0155834351, -0.3256185055, -0.0189339891, -0.0230016056, 0.5319392085, 0.6593521833, -0.6187671423, 0.660756588, 0.6515066624, -0.4201930463, -0.2162385136, -0.717912674, -0.0840810761, 0.0599107631, -0.4668450952, 0.4242354631, 0.077924788, -0.1256054491, -0.1428679526, 0.1970786154, -0.2518871129, -0.3982153237, 0.232545808, 0.219923228, -0.2958758771, 0.32716313, 0.3653408587, 0.1246008426, 0.1276475042, -0.3334572017, 0.6211739779, 0.4606493115, -0.5087438822, -0.4941975474, 0.6247446537, 0.720962882, -0.2186717838, 0.4692625105, 0.471706003, -0.2325902879, -0.6134929061, -0.2889389694, -0.2358173877, -0.4583946764, 0.6036590934, -0.2618420422, -0.5456303358, 0.0281356685, -0.1979229599, -0.0534316339, 0.2216067314, 0.8357685208, -0.0047006672, 1.2227844, 0.5523837805, 0.2400172651, 0.5651703477, -0.0715927631, 0.0495273583, -0.739826262, -0.2822701931, -0.5943142176, 0.0043680267, -0.7098327279, -0.9245945215, 0.5065307021, -0.2889791131, 0.1511367559, 0.1562029123, -0.4079291821, 0.3915704787, 0.8127339482, 0.2292922884, -0.0127954707, 0.3428334892, -0.084898442, -0.0880962983, -0.7402746677, -0.4707503021, 1.3123233318, 0.1020405889, 0.7738281488, -0.1281286478, 0.2510766685, 0.2956867516, -0.1016411483, -0.7008848786, 0.3826901913, -0.3534371853, -0.5069200397, -0.348934412, -0.2643597722, -0.7750158906, 0.0758369118, -0.3691698909, -0.513579011, 0.2273542136, 0.0382611044, -0.1065588221, -0.0004329979, -1.0421802998, 0.531237781, -0.0870348662, -0.067636393, -0.2905001044, -0.4139155447, 0.3879196346, -0.4598990679, 0.1775014251, 0.2474600375, 0.2687744498, 0.9406628609, -0.1533730179, 1.0801584721, -0.1771821082, -0.216978237, 0.4500709474, -0.2245790809, 0.2862575054, -0.1688923389, -0.2477338016, 0.0412767567, 0.1652547121, -0.2719654143, -0.7123500705, 0.5489453673, -0.8265429735, -0.4030671716, -0.1819115877, -0.9925958514, -0.5287944674, -0.0043136673, 0.0686993673, 0.7845245004, -0.2946271002, 0.368373692, 0.5206888318, -0.6057396531, 0.4622613788, 0.4089808166, -0.0015870009, -0.5583496094, 0.9069500566, 0.0869250521, 0.5423313379, 0.1793630868, 0.0340661518, -0.4500845075, -0.5050638318, -0.7085007429, 0.1420897841, -0.6365891099, 0.1680242866, -0.4312552512, -0.3935983777, -0.8265772462, 0.2029909492, -0.4780944288, -0.5707543492, -0.2668097019, 0.0835611075, 0.3393939734, 0.7287755013, -0.13307257, 0.3535970747, -0.9246882796, 0.3706128597, 0.4556544721, -0.2156287879, -0.1562705934, -0.6192949414, -0.1598186344, 0.5910019875, -0.2281860709, -0.9491139054, 0.4704077244, 0.4503208101, 0.6356700063, 0.092476204, -0.0124622528, 0.5466641784, -0.8882242441, 0.8840776682, 0.1088761464, -1.1106160879, 0.6937066913, -0.3739587665, 0.1054726169, 0.136486575, 0.3276736736, -0.3148314655, -0.1402504891, -0.3608353734, -0.5411336422, 0.9231052399, 0.1375132501, 0.4687564671, 0.2758617103, 0.2048587948, 0.1888266653, 0.1621881127, -0.4466362, -0.0332094021, -0.3496660888, -0.3501567841, -0.2094420195, -0.1948144287, -0.1073397249, -0.3305440843, 0.7368488908, -0.185768798, 0.3295731843, -0.1416887343, -0.0308769681, -0.0106249014, 0.4438902736, 0.7389780879, 0.7410737872, 0.1143982485, 0.0547755286, 0.0292187575, -0.6106520295, 0.3177432418, 0.123797439, -0.1018055603, 0.1503064036, 0.4261374176, 1.0988018513, 0.2457684577, -0.8886805773, 0.1809403449, 0.1860119998, -0.1449066252, -0.3056055009, 0.3760538995, 0.018666679, 0.2336669862, 0.0826156065, -0.1909610778, -0.011474804, -1.0061188936, 0.2920996547, 0.306081593, -0.3296637833, -0.4462961257, 0.5420487523, 0.1576093286, -0.3186409473, 0.6020593047, 0.2116988599, -0.181646511, 0.4461672008, 1.0522911549, 0.6635873318, -0.6305449009, 0.4556410015, 0.240454942, 0.0106857838, 0.1554481536, 0.2163226902, 0.0153405359, -0.6485066414, -0.5968903303, -0.7084420919, -0.3740667403, 0.4868979156, -0.6954319477, 0.2605424821, -0.0714026764, 0.07252606, 0.4140315354, -0.3966455162, -0.2079957277, 0.2741766274, 0.1659324914, 0.5107035637, -1.034059763, 1.1190816164, 0.7391221523, -0.1158888042, -0.7737935781, 0.0200081281, -0.0789165273, -0.8008613586, 0.7159428596, -0.2466495931, -0.0594321452, 0.0643275902, -0.3806122541, -0.8063560128, 0.6813570857, 0.5312353969, -0.4881828129, -0.0893996283, 0.5575248599, 0.6194477677, -0.489454031, 0.0266407114, 0.7509254217, 0.3217008412, 0.2260767221, -0.7943714857, -0.2138514668, -0.1650485247, 0.2593970895, 0.0546455756, -0.0496851355, 0.9512829781, 0.0595884807, -0.3100321293, 0.0435428061, 0.5862560272, 0.153730616, 0.021901276, 0.5004351139, 0.1293278784, 0.5904398561, 0.0052031432, 0.7402746081, -0.1323046982, -0.067693077, 1.3247039318, -0.3250326812, 0.7894060016, 0.4355556369, -0.085306704, 0.400914818, 0.3091363013, -0.0630207583, 0.5809133053, 0.182405144, -0.4220966697, -0.0940399095, -0.2340520769, -0.3556162715, 0.9268472195, 0.5090482235, -0.5218293667, -0.337190479, 0.4709702432, -0.2936388552, 0.2183759063, -0.1090482026, 0.7656369209, -0.1755929589, -0.7514392734, 0.6948666573, 0.109742187, 0.1557973921, -0.5207337737, -0.2791769803, 0.193715468, 0.1381570101, 0.0635736585, -0.5439148545, 0.2340714037, 0.2423398346, -0.4095051885, -0.2358702421, 0.4888523817, -0.8276775479, -0.8019557595, -0.0536638349, 0.3802802861, 0.1927940398, 0.1890357882, -0.4778496325, 0.0576922782, 0.1581727415, -0.1066270322, 0.322255522, 0.4786401391, -0.1431303173, 0.2635433376, 0.9495087266, 0.2964652479, 0.4207538962, 0.2474408001, 0.8870530128, -0.3475924432, -0.2541295886, -0.5987975001, 0.4434200227, 0.0986927897, -0.1284614056, 0.5733715296, 0.4580954611, 0.9457603097, -0.4212646186, 1.0545073748, 0.0826808438, 0.7765738368, -1.0088902712, 0.4659308195, -0.2820465863, -0.0305408817, -0.2115256637, -0.9244307876, 0.1964272261, 0.4213315248, -0.0682402104, 0.0993433446, 0.6195899844, 0.9133001566, -0.229687199, 0.1766053438, 0.2828777432, 0.0045265243, 0.3313895166, 0.4838293195, 0.8439249992, -0.5380260348, 0.221483171, -0.3004600406, -0.2360145301, 0.1983839571, -0.621909678, -0.9354097247, -0.9107602835, -0.1503730863, -0.1786067188, -0.0253663044, 0.8847531676, 0.9628650546, -0.9689193964, -0.3995145857, -0.0881794915, -0.3879984915, -0.0396280959, -0.2182220817, 0.2828779221, -0.4812611639, -1.4058990479, 1.0359972715, -0.0053953808, 0.3284924626, -0.4559434056, 0.1416677088, -0.1335157752, 0.3234809339, 0.7193651795, 0.2059217095, -0.5736301541, -0.1088251844, -0.0476517454, 0.3103899658, -0.1584685147, 0.9767155051, -0.728509903, 0.6560966372, 0.5002638102, 0.8117186427, 0.4634934366, 0.0069218446, 0.9842131138, -1.0655543804, 0.5514615178, 0.2107393891, 0.0485975854, 0.3122272491, -0.0873422027, 0.2006933242, 0.0279766843, -0.3936094344, -1.0648701191, 0.2953867018, -0.8774145246, -0.3267150521, 1.2763345242, 0.1106434911, -0.2872963846, -0.0072957487, -0.2885930836, 0.6354327798, -0.195967257, 0.6220803857, 0.522079289, -0.2089595348, -0.0831663534, -0.7537708282, 0.4964075387, 0.1601008624, -1.0292077065, 0.2795309126, 0.6994170547, 0.0363691337, 0.2014368773, 0.1882243752, -0.1853912026, 0.2605642378, 0.1523393691, 0.1388398856, 0.0678559318, -0.4981167316, -0.3162549138, 0.0322307795, -0.3761177063, -0.4153437316 ]
http://arxiv.org/abs/2406.12389v1
http://arxiv.org/pdf/2406.12389v1
EMO-KNOW: A Large Scale Dataset on Emotion and Emotion-cause
2024-06-18T08:26:33
2024-06-18T08:26:33
Mia Huong Nguyen, Yasith Samaradivakara, Prasanth Sasikumar, Chitralekha Gupta, Suranga Nanayakkara
cs.CL
cs.CL
Emotion-Cause analysis has attracted the attention of researchers in recent years. However, most existing datasets are limited in size and number of emotion categories. They often focus on extracting parts of the document that contain the emotion cause and fail to provide more abstractive, generalizable root cause. To bridge this gap, we introduce a large-scale dataset of emotion causes, derived from 9.8 million cleaned tweets over 15 years. We describe our curation process, which includes a comprehensive pipeline for data gathering, cleaning, labeling, and validation, ensuring the dataset's reliability and richness. We extract emotion labels and provide abstractive summarization of the events causing emotions. The final dataset comprises over 700,000 tweets with corresponding emotion-cause pairs spanning 48 emotion classes, validated by human evaluators. The novelty of our dataset stems from its broad spectrum of emotion classes and the abstractive emotion cause that facilitates the development of an emotion-cause knowledge graph for nuanced reasoning. Our dataset will enable the design of emotion-aware systems that account for the diverse emotional responses of different people for the same event.
[ -0.4560075402, -0.7662249804, 0.638450861, 0.0949011147, -0.1505167782, 0.0293632206, -0.1452722847, -0.4314194918, 0.7039382458, 0.3059940338, -0.7427173853, -0.451511085, -0.6349684596, 0.1650221348, -0.5186184645, 0.9128513336, 0.0876290277, -0.4167544842, 0.3031505048, -0.059737727, -0.0931509882, -0.0824719667, -0.8753491044, -0.0033137607, 0.9925818443, 0.938762188, 0.2313893139, 0.3187598586, 0.3627876639, 0.0959508643, 0.1986641139, 0.0654094517, -0.733633399, 0.3805242777, -0.0345932543, -0.1634695828, -0.5111260414, -0.3845872283, 0.164956063, 0.3316430151, -0.0650264174, 0.1592271924, -0.3004024625, 0.8853541613, -0.9171596766, -0.1782594025, -0.4741125107, 0.3313849866, -0.1808994412, -0.0325151496, -0.0242192075, -0.4149957299, -0.0808323249, -0.7339045405, 0.0250258967, 0.1095410809, 0.4974730015, 0.2760675848, -0.741243124, -0.3035542071, -0.5482936502, 0.6751400232, -0.3004891872, 0.2681522071, 0.2358071059, 0.2288136631, 0.2152433991, -0.4311050773, -0.4741456509, 0.5897066593, 0.3001464009, 0.3146082759, -0.5354852676, -0.0441126153, 0.4744144678, 0.2773863673, -0.5884939432, 0.0969754308, -0.2939129472, -0.0186278634, 0.9286327362, 0.2450824231, 0.6409189701, 0.0240744408, -0.0804507136, 0.1421724558, -0.8826471567, -0.1580445021, 0.3749952316, -0.2072767764, -0.1757089049, 0.5810486674, -0.1419960409, 0.3355560005, -0.0545251779, 0.3019998074, 0.0937722102, 0.1734700501, -0.2158122957, 0.2228246629, 0.9403631687, 0.5754656792, 0.4826340675, -0.2802288532, -0.2203584611, -0.0614352487, 0.1551888287, -1.0696713924, -0.2457636297, 0.9479681253, -0.3340318799, -0.3250364065, -0.0856099278, -1.2757269144, -0.8827208281, -0.4753281176, 0.526935935, -0.3068838716, -0.5431447625, -0.0183989517, -0.5385486484, -0.2514572144, 0.3889018595, -0.624859333, 0.0587189794, 0.7155761123, 0.6255741119, 0.2185924947, 0.0914920419, -0.3324821591, -0.0150320567, -0.5392246246, 0.7569755912, -0.5800901055, 0.0467443615, 0.2396921962, -0.0538179576, 0.3154922724, -0.3670686781, 0.7603808641, -0.2559694946, -0.1239947379, -0.492944926, -0.5179392695, -0.0452208482, 0.3994662166, -0.692304194, 0.5695208311, 0.0197628718, -0.8728675842, 0.4838526249, -0.8367655873, -0.5016684532, -0.1808835417, 0.1324833483, -0.0339710414, 0.3901116252, 0.3250693679, 0.6730391383, -0.4503247738, 0.4531776309, -0.687451005, -0.0942185745, -0.0831635296, 0.3722532094, 0.6824526787, 0.5160706043, 0.0126972739, -0.0415504016, -0.9384413958, -0.4190253913, 0.0980229527, 0.2538020909, -0.7361018658, -0.0615199879, 0.0034840701, 0.5022449493, 0.1323333979, -1.0373002291, -0.1086749583, -0.0563809834, 0.5377640724, 0.7142060995, 0.3963697255, 0.3316580653, -0.2438718528, 0.626393199, 0.2844417095, 0.2853992283, -0.4851148427, -0.2798200548, -0.4380915761, -0.1606978476, -0.3289189637, 0.2900851071, -0.401828289, 0.2796533704, -0.0875821263, -0.8377034068, -0.3652151227, -0.1828855872, 0.0312048979, 0.5260699987, 0.0931472406, 0.3613916934, -0.82901299, -0.6899815202, -0.4390694499, 0.4212270975, -0.2670087218, 0.2000303715, 0.6423657537, -0.1598448157, 0.8152028322, -0.6063976288, -0.2105066627, 0.2695105076, 0.1170017198, 0.1273423731, 0.260371685, 0.522818625, -0.5492476225, -0.2151049674, 0.0983169824, -0.8442931771, -0.4460597634, 0.0907499492, -0.4034055471, -0.1895712614, 0.2358252406, -0.2354393154, 0.1804222912, 0.6549674869, -0.4642242789, 0.1506359577, 0.2213272452, 0.3222991824, -1.3057641983, 0.1610956043, 0.2342996299, 0.3000712395, -0.4727730751, -0.5612454414, 0.0015781345, -0.4909434319, -0.1764403433, 0.6638147831, -0.1184352189, 0.1044334248, 0.0474097468, 0.3135179877, 0.2784762979, 0.233415857, -0.204269588, -0.0983947814, 0.7450349331, -0.4330788255, 0.5179409981, 0.2001619339, -0.0020142496, 0.7129699588, -0.5409759879, 0.1929610819, -0.3907129765, 0.0017235996, -1.0396826267, -0.7367091775, 0.2314219177, -0.4398404062, 0.1787805557, -0.1506121755, -0.5257549286, -0.3729362786, -0.2722854912, 0.118217051, 0.3117559254, -0.661288023, 0.992543757, 0.6271146536, -0.2284089178, -0.3652214706, -0.426581502, 0.1823429763, -0.4455401301, -0.8838919401, -0.1095761657, 0.1098619998, -0.5150255561, 0.0128785335, -0.0945152193, -0.2173506021, 0.1873975247, 0.6136130691, -0.5315635204, 0.2445755899, 0.8520436287, 0.3909803331, 0.1664328724, 0.4196160436, -0.1205529273, 0.3283836544, 0.2074617147, -0.0583559312, -0.2061776817, 0.5318749547, 0.6975933313, -0.0437306091, 0.6770764589, 0.5638567805, -0.7526161075, -0.4176112115, -0.5404062867, -0.3333857059, -0.3065338135, 0.1441074312, -0.1643905938, -0.8333508968, 0.9503071904, -0.1683547348, 0.2092140913, 0.6323407888, 0.2964200675, -0.2504860759, 0.9270405769, 0.2978941202, -0.0914147571, 0.5424962044, -0.043540813, 0.2622842193, -0.6327968836, -0.2805522084, -0.6307973862, -0.4037709236, -0.6110675335, 0.1179953143, 0.1683329642, -0.3364741802, -0.7971839905, -0.1345696747, -0.3317781389, 0.2211666852, 0.0859741271, 0.2795497179, 0.125970751, -0.0683486611, 0.5334079266, 0.0641842037, -0.5032041073, -0.4117199183, 1.1347045898, 0.2036009431, 0.777982235, 0.0366131738, 0.7987992764, 0.3556967676, 0.6115652323, -0.7540881038, 0.1411381662, -0.1383403838, -0.8844169378, -0.1605175734, -0.4182991087, -0.9653682709, -0.2992317677, -0.1644439548, -0.8116073608, 0.3367107511, 0.2296243012, -0.0665046573, 0.2861913443, -0.9102980494, 0.7548344135, -0.1776796579, -0.2293819785, -0.1488224119, -0.6076533794, 0.6543257236, -0.701679647, 0.5140914917, -0.3361286223, 0.0760508925, 1.1226431131, -0.4958449304, 0.8123838305, -0.2211259604, -0.1692520678, 0.3907833397, 0.192812562, 0.446665138, -0.0378892608, -0.2053816617, -0.0499607623, -0.3078329563, -0.2619242668, -0.6979178786, 0.6110208035, -0.6828802824, -0.1421099752, 0.0988610387, -0.3419562578, -0.0650921315, 0.0709640533, 0.3494129777, 0.4248579741, -0.1369875968, 0.2555844188, 0.504784584, -0.1397700608, 0.3902566433, 0.2535731494, -0.2970588207, -0.5619587898, 0.6432737112, 0.1757167727, 0.0098703727, 0.4137316942, 0.617670238, 0.0096822027, 0.0892570913, 0.0822613463, 0.0717383921, -0.6266710758, -0.321428448, -0.7973889112, 0.4564505517, -0.5570123792, -0.3030649722, -0.4597291648, -0.4181810617, -0.1834765971, -0.2588658631, 0.8585187197, 0.9391360283, -0.3139079809, 0.2773201168, -0.901825428, 0.3534601927, 0.2539362311, 0.4069668949, 0.1708262116, -0.3427898884, -0.2437372506, 0.0434698202, -0.3254276216, -1.1615606546, 0.7264478207, 0.3411483765, 0.122074753, 1.0777511597, 0.5993697643, 0.4335278869, 0.0454785712, 0.4758225679, 0.217970714, -0.918628931, 1.0108163357, -0.7157770991, -0.2097447515, 0.0472197309, 0.5596293211, -0.8916423321, -0.5060296059, -0.9666295648, -0.8568083644, 0.6660321951, 0.1747668087, -0.1048853993, -0.1507256925, 0.238435328, 0.0976607502, 0.1408420801, -0.0439972878, -0.1487180293, -0.2607782185, -0.3924564719, 0.0107215308, -0.1608429998, -0.3879994452, 0.0742002055, 0.5426608324, 0.0159682781, 0.054009743, 0.1806732565, 0.0199174769, -0.6095296144, 0.2025161833, 0.1959488988, 0.50043118, -0.5140224695, 0.1047729254, -0.1171709821, -0.2493706346, -0.068762809, 0.0144728757, 0.1181781143, -0.1811194569, 0.2520022392, 0.5824494362, 0.1471247673, -0.793250978, 0.4237646461, 0.0531697646, -0.1243152469, -0.4050715566, -0.2290468514, 0.2499276102, 0.2055754662, 0.5315945745, -0.1397681236, 0.3675214052, -0.6251469254, 0.243296504, -0.1392934471, -0.4305456579, -0.7280490398, 0.5295139551, 0.3791390657, -0.0824905634, 0.6177482605, 0.0209273361, -0.4986341298, 1.1099839211, 0.1332113445, 0.9202897549, -0.2634941638, 0.0871693045, 0.7680765986, 0.1168994382, 0.074112311, 0.609205246, 0.1398894042, -0.9524972439, -0.2567924261, -0.3733684123, -0.4871871173, -0.0264817476, -0.6926117539, 0.2715862393, -0.4465892315, -0.2905932963, -0.0062535391, -0.1709778905, -0.932328701, 0.5473662019, 0.152445972, 0.7355389595, -1.6390650272, 0.1311277449, 0.8165030479, -0.3203029633, -0.8973989487, -0.3728791773, 0.2077237666, -0.6701290011, 0.7621306777, 0.2594006062, 0.2643958628, -0.0780919418, -0.8560421467, -0.4433344007, 0.9748798013, 0.1301794052, -0.7676026821, 0.3681976795, -0.3337097168, 0.6581722498, -0.728530705, 0.2628355324, 0.5550715923, 0.5344234705, 0.2430983782, -0.3566717505, 0.0881313458, -0.3043629527, -0.4852673709, 0.4808858931, -0.6847605705, 0.6114504337, -0.4441767335, -0.1084068492, -0.7504951358, 0.1282328814, 0.3532654643, 0.8914241791, 0.4078275859, 0.9328331351, 0.8942217231, -0.3173193932, 1.0336382389, -0.2550448477, 0.4319492579, 0.9009476304, -0.2491182536, 0.5477196574, 0.4608071446, 0.1098261029, 0.0554424711, 0.8063642979, 0.1845884323, 0.1861381233, 0.026156459, -0.2985224724, -0.5039752722, -0.3893431723, -0.0425945669, 0.3069902658, 0.653296113, -0.6173881292, -0.2913511992, 0.1511481404, 0.3309326768, -0.4105838239, -0.4610543251, 0.6517852545, 0.1725783646, -0.4080069363, -0.2239497006, -0.8586335778, 0.2412075102, -0.0875979513, 0.0804758072, -0.3711890578, -0.03057798, -0.5637243986, -1.1005088091, 0.2870737314, 0.1196453422, -0.0431570746, -0.1998836398, 0.8274998665, -0.2569224536, -0.3344613314, 0.4121589661, 0.5479665995, 0.3047153056, -0.6072676182, -0.1294647753, 0.0501062721, -0.2096235156, -0.5524255037, 0.1008937508, 1.3863066435, 0.1354761869, 0.6975240111, 0.4461085796, -0.1170535684, -0.0194115303, 0.2622344792, 0.9067298174, -0.8570005894, -0.1818920672, -0.7684267759, 0.7577674389, -0.2400098145, -0.5025619268, 0.2886104882, 0.5103623271, 0.2799134552, -0.0720885843, 0.9436994791, -0.4059181213, 0.5610503554, -0.0404578224, 0.5461249948, -0.9013673663, -0.115652509, -0.3599379063, -0.6917043924, -0.4190820456, 0.1852494776, -0.3040901423, -0.1154175103, 0.3540242016, 0.6185258627, 0.3534659743, 0.2352807522, 0.3818647265, 0.456074059, 0.5368617177, 0.694181025, 0.8871657848, -0.4178243577, 0.4654468298, -0.3528535962, -0.2477403581, -0.5671542883, -1.1017309427, -0.631693542, -0.7030345201, -0.5585654974, -0.2914446592, -0.0614371523, 0.8538560867, 0.282599479, -0.6767749786, 0.4814161658, -0.0593906529, 0.4442106485, 0.1605247259, -0.2469230592, 0.4153530002, -0.3590806723, -0.4326223731, -0.1751633734, 0.2778895199, -0.2741089165, 0.5050644875, 0.1221230328, 0.2353124321, -0.0104015768, 0.7418476343, 0.3848501444, -0.2985404432, -0.436073184, -0.0468642935, 0.1055965573, 0.0120000299, 0.7797368765, -0.2409739941, 0.7629894018, 0.7641550303, 0.3151342273, 0.1604449749, -0.1400196254, 0.677908659, -0.7012563348, -0.3195736408, 0.3842024803, 0.6881451607, 0.2489827424, -0.4367229939, 0.7313431501, 0.0970175415, -0.8554942012, -0.4976259768, 0.0645574033, -1.2171068192, 0.1036679894, 1.1046609879, -0.1811298132, -0.2298799604, -0.0057703471, -0.1599808931, 0.7268048525, -0.927747488, 1.0041271448, 0.7283193469, -0.1575645208, -0.4092624187, -0.3658317327, 0.2004154176, -0.1244582608, -1.1040227413, 0.2771683633, 0.7280259132, 0.31373173, 0.0116893528, 0.1738259494, 0.0054185363, 0.1401515901, 0.0917911008, 0.5058088303, 0.0022651595, -0.2366827875, -0.1692700088, 0.3937669396, -0.3652786016, 0.0014448194 ]
http://arxiv.org/abs/2406.12387v1
http://arxiv.org/pdf/2406.12387v1
Performant ASR Models for Medical Entities in Accented Speech
2024-06-18T08:19:48
2024-06-18T08:19:48
Tejumade Afonja, Tobi Olatunji, Sewade Ogun, Naome A. Etori, Abraham Owodunni, Moshood Yekini
eess.AS
eess.AS, cs.CL, cs.SD
Recent strides in automatic speech recognition (ASR) have accelerated their application in the medical domain where their performance on accented medical named entities (NE) such as drug names, diagnoses, and lab results, is largely unknown. We rigorously evaluate multiple ASR models on a clinical English dataset of 93 African accents. Our analysis reveals that despite some models achieving low overall word error rates (WER), errors in clinical entities are higher, potentially posing substantial risks to patient safety. To empirically demonstrate this, we extract clinical entities from transcripts, develop a novel algorithm to align ASR predictions with these entities, and compute medical NE Recall, medical WER, and character error rate. Our results show that fine-tuning on accented clinical speech improves medical WER by a wide margin (25-34 % relative), improving their practical applicability in healthcare environments.
[ -0.0098154349, -0.408208698, 0.5542776585, -0.0280667488, -0.09113276, 0.2252830863, -0.3977795541, -0.8793047071, 0.4412476122, 0.712539494, -0.1308770478, -0.4875865877, -0.7632309198, 0.2875515223, -0.1191971675, 0.6015145183, 0.107128948, 0.6528292894, 0.0469337441, -0.5580072999, -0.4366568327, -0.748432219, -1.1181148291, -0.2823414803, 0.5032782555, 0.4557382762, 0.7801793814, 0.8013455272, 0.7361779213, 0.292878896, -0.1047502905, 0.3407713771, -0.0766580999, 0.1218616813, -0.141367346, -0.2139854878, -0.5833005905, -0.425404489, 0.4279614091, 1.0771487951, -0.3885012865, -0.2466781139, -0.1009610742, 0.4450873137, -0.3035365939, 0.0696907863, -0.570392549, -0.3396037817, -0.1175926328, -0.182252273, -0.1671895087, -0.3028876185, 0.3926231861, -0.4736271501, 0.4797012806, 0.1460842341, 0.8174392581, 0.3863567114, -0.3433734775, -0.6107657552, -0.7129482031, 0.352053076, -0.8409084678, 0.4927593172, 0.2662980556, 0.3789981306, -0.1283608228, -0.9521808624, -0.3809968531, -0.240488708, -0.1013369784, -0.1487697959, -0.245441705, 0.5121717453, 0.2353740931, 0.4149579704, -0.3025582135, 0.4494012296, -0.5406070948, -0.3693798184, 0.760579288, 0.2672153413, 0.7196241617, 0.1732384562, -0.0739625543, 0.0394205414, -0.6082166433, 0.0080661308, -0.1409177929, 0.8394134641, -0.0028581184, 0.5887909532, -0.1213228777, 0.2642703056, 0.080255501, -0.0393995754, 0.2792264819, 0.0938206017, -0.0941737294, 0.6181619167, 0.7247157097, 0.4414458275, 0.3315030634, -0.2356593013, -0.2567631304, 0.4394073784, 0.5821989775, -0.7773510814, -0.4216942191, 0.3507629037, -0.3967822492, 0.0203939267, -0.3477561474, -0.4504487216, -0.5422658324, -0.2505330741, 0.6759373546, -0.6672616005, 0.0380308852, 0.1362457424, 0.012846102, -0.1710666716, 0.2585428059, -0.8196356893, 0.7419775724, 0.5302090645, 0.6058027744, -0.2560788095, 0.1549046636, -0.5070423484, -0.1411300898, -0.3925547004, 0.7129575014, -0.3994716406, -0.6740598679, 0.113333866, 0.1197830215, -0.2537015676, -0.7804508805, 0.7475482821, -0.268583864, -0.4393739998, -0.4131501913, -0.6228446364, -0.1806998849, -0.179500252, -0.7131820917, 0.2778072357, -0.1054838598, -0.2654141784, 0.4756039381, -0.7831214666, -0.935572505, 0.0423198938, -0.2558970749, -0.683354497, 0.3999099731, 0.3311959803, 0.2104027271, -0.2298229635, 0.1298236847, 0.1298321933, -0.2498283833, 0.3388871253, -0.3926260173, 0.5585818887, 0.2288062721, -0.3267527819, -0.0154211987, -1.013543725, 0.1059231088, -0.0568799935, -0.1786850989, -0.4347054064, 0.1335775703, 0.2461485267, -0.035853181, -0.1200197786, -0.5556071401, -0.2141630203, -0.5576375723, 0.4081888795, 0.0474474914, 0.362575531, 0.1601987034, -0.4121935666, 0.458868295, 0.0513482206, -0.2885031402, -0.1461261064, -0.5386631489, -0.8210246563, -0.5888135433, 0.5455206633, 0.4819827378, -0.4537369907, 0.0822254717, -0.2312463373, -0.3422188461, -0.9406524301, -0.4242064357, 0.6497998834, 0.8871910572, 0.5972385406, -0.5940704942, -0.5969127417, -0.9222754836, -0.6196707487, -0.1325026304, -0.2122343779, 0.6919183135, 0.1661695242, -0.4586303234, 0.4781429172, -0.1963520199, -0.3230739236, 0.0461487621, 0.1123737097, 0.0940047577, 0.6124526262, 0.2043927014, -0.6507095695, -0.4031667709, 0.0571688563, -0.299187839, -0.2230596244, 0.114467375, 0.3015404344, 0.0993324965, 0.3219671845, -0.3745805323, 0.4046761692, 0.3922888339, -0.2111671716, 0.2593895793, -0.4579652548, 0.3912044466, -0.9474265575, 0.0282784402, -0.0207371786, -0.2443720698, -0.9667493701, -0.1615866572, 0.1892391145, -0.0840416774, -0.2089316547, 0.4927193522, -0.7007833123, 0.1443072259, -0.1778264344, -0.135785237, 0.0977428481, -0.0162560325, 0.2259322107, 0.7967429161, 0.6107648611, -0.7781799436, -0.1185277775, 0.5571169257, -0.3594945967, 0.7987319231, -0.8463597298, 0.2399134338, 0.0882304087, -0.1984687448, -0.7817950845, -0.465439558, -0.42036286, -0.5995625257, 0.8192242384, -0.2372644693, -0.058755029, -0.3803904951, 0.4618198276, 0.2778988183, 0.4741244614, -0.3583633602, 0.6096880436, 0.6632018685, -0.4705325663, -0.4406648874, -0.8066331744, 0.221144259, -0.077704221, -0.3621572852, 0.4844501615, 0.3157711029, -0.2652576566, -0.1499677896, -0.2129784077, -0.4054872096, 0.0639349595, 0.3498640954, 0.0619371533, -0.5668837428, 0.0874640867, -0.0638400018, 0.0364957973, 0.0803272799, 0.0233798418, 0.3041965067, 0.1226937771, -0.4646361172, -0.554228425, 0.4426748455, 0.6996740699, -0.3034240603, 0.6655575633, 0.1832580417, -1.0401823521, 0.2079415917, -0.8009753823, -0.3740946651, -0.406175226, 0.5633175969, -0.3398104012, -0.5413020253, 0.8462345004, 0.1931309253, -0.0915618017, 0.4036278427, 0.5106790662, 0.0135016106, 1.1370494366, 0.4365575612, 0.1769521683, 0.0192319956, -0.0075167958, 0.14352341, -0.7560077906, -0.2528249323, -0.5637261868, -0.0629943162, -0.7332575917, -0.3599778116, 0.6843690276, -0.2437052578, 0.0606476106, 0.1275819987, -0.4681140184, 0.2073197961, 0.3064832687, 0.2589481771, 0.2568185627, -0.0033589331, -0.2774692178, -0.1543947011, -0.4988183975, -0.565567255, 0.9321405292, 0.4838440418, 0.6706629395, 0.0932461843, 0.5235400796, 0.0849069804, 0.348089397, -0.7558422089, 0.0088127684, -0.712447226, -0.6540721655, -0.1707023978, -0.2121631801, -0.9143406749, -0.0322777182, -0.2927632034, -0.6376359463, 0.4710733593, 0.5351786017, -0.9681118131, -0.027950203, -0.4732316136, 0.6357192993, -0.1798779368, 0.0793275535, -0.1082000136, -0.7236584425, -0.1189433411, -0.0882463232, 0.0723725185, -0.0528874062, 0.0155011453, 0.5414158106, -0.6759058237, 0.4878396392, -0.2637507319, 0.2859570086, 0.0575001352, -0.2477417737, 0.421576798, -0.0455327183, -0.3112851083, 0.5245960951, -0.0757598206, -0.1640235037, -0.4614014626, 0.5025681853, -0.5594858527, -0.3064421415, -0.2909175158, -0.3643524051, -0.6469342113, 0.1267236173, 0.5502110124, 0.9115296006, -0.5696104169, -0.0620472766, 0.6335582733, -0.2086320221, 0.0394496918, 0.7647458315, 0.4176892936, -0.6412093043, 0.6659041047, 0.3387015462, 0.40701285, 0.1489618272, -0.0495384149, -0.3783736825, -0.9611809254, -0.5879893303, 0.2304759026, -0.5818318725, -0.2041449994, -1.1161079407, -0.4381894767, -0.4633696377, -0.2257560194, -0.4976932406, -0.5310701728, -0.4108280838, 0.0445862897, 0.4685269296, 0.5179157853, 0.1506737918, 0.4986286461, -0.7365885973, 0.3699163496, 0.0163714346, 0.3954004943, -0.4193670154, -0.5675370693, -0.1443907022, 0.2018142194, 0.0054305638, -0.7977301478, 0.6706643701, 0.5864827633, 0.5520586371, 0.3994844258, 0.120524101, 0.9563805461, -1.1688376665, 0.5981604457, 0.0622603931, -0.7267376781, 0.3212146461, 0.0086620962, -0.0094261197, 0.8456264138, 0.3830960989, -0.6229662299, -0.399330467, -0.642752409, -0.9877840281, 0.3883098364, 0.1065512225, -0.0000098766, -0.2141933888, 0.3519348502, -0.0702682212, 0.1655948162, 0.1453917027, -0.5036156774, 0.1951429993, -0.4425599873, -0.3314138949, -0.3116429448, -0.2812234163, -0.0330987871, 0.6390575767, -0.2220000625, 0.3746722639, 0.5631923676, -0.22813797, -0.1700204313, 0.2579692304, 0.6070511937, 0.374660939, -0.0519561172, -0.0323023014, 0.350322336, -0.8349241018, 0.0365049727, 0.6541730165, 0.096112445, 0.2745320201, 0.1212306097, 0.9016970396, 0.3215573728, -0.7148961425, 0.4161798656, -0.2936931551, 0.1435875893, -0.4143996239, -0.0027273586, -0.0572695695, 0.1096267924, 0.214272961, 0.3895925879, 0.6574869752, -0.5217875838, 0.4634722769, 0.619318068, -0.7595697641, -0.2443015128, 1.0913534164, 0.2514548898, -0.6065465212, 0.5676999688, 0.2492419034, -0.6245040298, 0.711602807, 0.7136052847, 0.7813999653, -0.5499420762, -0.3732630014, 0.2868207395, 0.1477946043, -0.2270938456, 0.4595585465, 0.4317721426, -0.8203437328, -0.2464887649, -0.5297566056, -0.6353976727, -0.0047797593, -1.0019854307, 0.4101114273, -0.4054125845, -0.464192301, 0.5982490778, -0.0456731915, -0.6329057813, 0.6597031951, 0.362955302, 0.7451423407, -0.6718139648, 0.6775182486, 0.924133718, -0.1225069985, -0.9813355207, -0.1095592231, 0.2402442694, -0.7824450731, 0.0956883579, 0.2378278077, -0.070054397, -0.0236893166, 0.0051354528, -0.9623081088, 0.6854093075, 0.1540384144, -0.7811092734, -0.0360676199, 0.1849575192, 0.8511052132, -0.5849607587, 0.2527110875, 0.7349137664, 0.0126268864, 0.0204491597, -1.4655604362, 0.0039390381, -0.1932605058, -0.0898479223, 0.1157757267, -0.2415814698, 0.6238294244, -0.6585806012, -0.31535694, 0.2258526385, 0.4169811904, 0.2237931937, 0.6104084253, 0.3875063956, 0.1634214371, 1.147454977, -0.2070855647, 1.0688705444, -0.4817216694, -0.1975894868, 0.9118839502, -0.4931562245, 0.7398469448, 0.1132074893, -0.0283418726, 0.3594242036, 0.3959385157, 0.2730844319, 0.502584815, -0.0144399563, -0.3884289861, -0.0429795608, -0.1858604997, -0.2628007829, 0.5998103619, 0.8490661979, -0.6962571144, 0.5169950128, 0.076273866, 0.1074897498, 0.1871014237, -0.4005559087, 0.8883052468, 0.2969133854, -0.470138669, 0.690074861, -0.2092960626, 0.3059151769, -0.3691816032, -0.0710680336, 0.126357004, 0.3487036526, -0.1332008094, -0.1468742937, 0.2994556129, -0.0756318718, -0.3160506189, 0.2241579443, 0.5702195764, -0.5893028975, -0.4356282949, -0.0714548826, 0.0474901386, 0.2252709121, 0.024472652, -0.3291274905, -0.0854242295, -0.138615042, 0.2562922835, -0.0037594745, 0.3581498265, -0.1720675081, 0.5395992994, 0.4844223559, 0.60870713, 0.0032656339, 0.2717286646, 0.6582874656, -0.5690701008, -0.5706781149, -0.6394031048, 0.5496606231, -0.1500217766, -0.2169780135, 0.3816306591, 0.4977706075, 0.27026245, 0.0651479214, 0.5022076368, 0.2525082231, 1.0094475746, -0.5811501741, 1.0915222168, -0.4301583469, 0.2697840333, -0.2459946424, -0.3803085685, -0.5472136736, 0.5369326472, -0.078121841, -0.11625579, 0.501291275, 0.8003097773, 0.0913284719, 0.2146746069, 0.5197652578, 0.4632990658, 0.2430883944, 0.2600040734, 0.3166884482, -0.5229626298, 0.0403645448, -0.3838047087, -0.0474541932, -0.457538873, -0.5755384564, -0.5709693432, -0.2715103328, -0.4800792038, -0.4731277525, 0.5026029944, 1.2606630325, 0.8391102552, -1.3337811232, 0.2569340467, 0.2819467485, -0.3751784563, -0.5351670384, -0.1053107083, 0.4230586588, -0.184380427, -0.7270443439, 0.7039310336, 0.1958412677, 0.1311140805, 0.348739177, 0.0145963123, 0.2901037037, 0.4467128515, 0.283973515, 0.5107816458, -0.7658160329, -0.2807616293, -0.0078243362, -0.3821811378, 0.3377575874, 0.7678584456, -0.5299320221, 0.6806577444, -0.2642963827, 0.6943874359, 0.1629548967, 0.1785149276, 0.8065783381, -0.5632392764, -0.1043690145, 0.6729954481, 0.5868074298, 0.6897437572, -0.5378529429, 0.2907274961, -0.1981063485, -0.7236664891, -0.9003428221, -0.1155905575, -0.7654241323, 0.302300334, 1.038944006, -0.2357332557, -0.0185208526, -0.4971216023, -0.1156995296, 0.3944820166, -0.3630565405, 0.7662157416, 0.2315225452, -0.3413096964, 0.1449045241, -0.7193261385, 0.9363720417, 0.4101987183, -0.564370513, -0.2309211493, 0.6224450469, 0.5391776562, 0.2629210353, 0.681807518, -0.2052698582, 0.4904226661, 0.0250867121, 0.2068015039, 0.1368191391, -0.2005775273, -0.6906479001, -0.1719464958, 0.3144212961, -0.3587784767 ]
http://arxiv.org/abs/2406.12386v1
http://arxiv.org/pdf/2406.12386v1
IPEval: A Bilingual Intellectual Property Agency Consultation Evaluation Benchmark for Large Language Models
2024-06-18T08:18:18
2024-06-18T08:18:18
Qiyao Wang, Jianguo Huang, Shule Lu, Yuan Lin, Kan Xu, Liang Yang, Hongfei Lin
cs.CL
cs.CL
The rapid development of Large Language Models (LLMs) in vertical domains, including intellectual property (IP), lacks a specific evaluation benchmark for assessing their understanding, application, and reasoning abilities. To fill this gap, we introduce IPEval, the first evaluation benchmark tailored for IP agency and consulting tasks. IPEval comprises 2657 multiple-choice questions across four major dimensions: creation, application, protection, and management of IP. These questions span patent rights (inventions, utility models, designs), trademarks, copyrights, trade secrets, and other related laws. Evaluation methods include zero-shot, 5-few-shot, and Chain of Thought (CoT) for seven LLM types, predominantly in English or Chinese. Results show superior English performance by models like GPT series and Qwen series, while Chinese-centric LLMs excel in Chinese tests, albeit specialized IP LLMs lag behind general-purpose ones. Regional and temporal aspects of IP underscore the need for LLMs to grasp legal nuances and evolving laws. IPEval aims to accurately gauge LLM capabilities in IP and spur development of specialized models. Website: \url{https://ipeval.github.io/}
[ -0.4098105133, -0.4576335549, 0.209235087, 0.9420602918, -0.2085507512, 0.4299689531, -0.1424319744, -0.540155232, -0.1010175943, 0.5642855763, -0.1681223214, -0.5941858888, -0.3922323585, 0.0209173411, -0.2156370133, 0.9744832516, -0.153267473, 0.3080292344, -0.0833462328, -0.1926046461, -0.399895072, -0.402248174, -0.6605979204, -0.3279578388, 0.1746705472, 0.1675060838, 0.407589525, 0.2505733371, 0.7164229155, 0.193231076, -0.1459487975, 0.1105608642, -0.4123989642, -0.0865506604, -0.3460028172, -0.3753528297, -0.6024394035, 0.0410396345, 0.7092315555, 0.5866187215, -0.1648271382, 0.4849458337, -0.0177174527, 0.8208838701, -0.7245572805, 0.0888430104, -0.7946282029, 0.0780108869, -0.3903060555, 0.0176454615, -0.452737987, -0.3199660778, 0.4189363122, -0.2431292981, -0.1514295936, 0.3959208131, 0.9545565248, 0.0018438131, -0.4760068059, 0.1061625928, -0.3273846507, 0.73782897, -0.4707846045, 0.2093208283, 0.3316478729, 0.4019499719, 0.035186749, -1.077712059, -0.4902956784, -0.6348685026, 0.2902442515, 0.154438138, -0.1324824095, -0.1324706376, 0.0494993702, 0.2177817672, -0.4995928705, 0.1479112059, -0.4012333453, -0.0862104818, 0.7428210974, 0.1124034002, 0.5381455421, 0.2333455086, -0.5150145888, 0.2109290361, -1.4214372635, 0.0230123438, 0.4443469942, 0.1670725346, -0.037619561, 0.4913100898, 0.0480978116, 0.3252856731, 0.0179896075, 0.2173759192, 0.274377346, -0.2772118151, -0.0525077656, 0.0887397826, 0.625498116, 0.225092873, 0.2864388227, -0.0582762025, -0.193254739, -0.6475133896, 0.237464875, -0.8825231791, -0.0879707038, 0.2418582588, -0.4454804063, -0.0194500424, -0.0553616099, -0.4101448953, -0.5774224997, -0.3266985416, 0.4442054033, -0.2080733776, -0.4509818852, -0.0599484146, -0.0132421181, 0.6121429205, 0.2279743254, -0.6152732968, 0.4008187652, 0.9001177549, 0.7983542085, -0.3266952336, -0.8015694618, -0.5372353792, -0.1227890104, -0.4909717143, 1.0234251022, -0.4581698179, -0.3663986027, 0.0662966818, -0.0128589645, 0.1077917963, -0.7519930601, 0.4940553308, -0.9256082773, -0.1522073448, -0.3572717607, -0.1915691495, 0.2169519663, 0.5072448254, -0.5894886255, 0.7620071173, -0.0647218451, -0.6681463718, 0.6121069193, -0.7928570509, -0.3395902216, 0.5897215605, -0.2720594108, -0.1857728809, -0.3845407963, 0.2328410298, -0.0036610905, -0.9220365286, 0.2726471126, -0.2229014486, -0.3488484621, 0.0576417744, -0.4366700351, 1.1614860296, 0.264706403, -0.3098164499, 0.058805611, -0.4442361891, 0.1754635721, -0.0249450281, -0.4422667325, -0.0775083899, 0.058723066, 0.0002011336, 0.1155745611, 0.6316378713, -0.531169951, -0.0857924148, -0.3005253375, 0.1733336747, 0.8688098788, -0.0403434969, -0.2292273641, -0.2663616836, 0.7412971854, -0.0411754996, -0.030391613, -0.0733026192, -0.4746183157, -0.6690993309, -0.4681058824, 0.5323742032, 0.5701909065, -0.516905725, 0.3649863303, -0.4215556383, -0.6434332728, -0.9158393741, 0.195039764, 0.5017505884, 0.3483043313, 0.1670396924, -0.1284604222, -0.2564102113, -1.1484607458, -0.4720501602, -0.4861055613, -0.0120785423, 0.3320676386, 0.5584051609, 0.1154980212, 0.7284684777, -0.0133670466, -0.3416419327, -0.2844470143, 0.4567087591, 0.3072282672, 0.0144108701, 0.723331511, -0.7713569403, -1.2513258457, 0.3240736425, -0.4426119328, -0.4880355895, 0.1567206234, -0.1718106717, -0.069569543, 0.1670917422, -0.4029921293, 0.2584446073, 0.2350354344, -0.3810318708, 0.842822969, -0.3355214298, 0.1931615919, -0.7146021724, 0.2522190213, -0.1439619213, -0.0846876204, -0.4279591441, 0.2060805708, 0.2838104665, -0.1865573674, -0.8166612983, 0.7067483068, -0.6730676293, -0.1146689132, -0.1231911927, 0.2171423286, 0.0941250697, 0.0227590129, -0.071655415, 1.3794972897, 0.7597432733, -0.2804796696, 0.4859591126, 0.1813627034, -0.4736486971, 0.9727330208, -0.7793176174, 0.1955774277, -0.0403473675, -0.0526535176, -0.750087142, 0.1805663407, -0.2139193565, 0.0356369764, 0.3071991503, -0.2572937012, -0.4752721488, -0.3801124692, -0.4969055355, 0.4130296707, 0.4734443426, -0.9457529187, 0.3439988792, 0.6944696307, -0.4827952385, -1.0658423901, -0.733804822, 0.4875857234, -0.1969151199, -0.6980119348, 0.4803406, -0.2065339684, -0.4292921722, 0.1068129912, 0.3234682679, -0.4886420965, -0.1390761137, -0.0952310115, 0.2250926793, -0.4847954214, -0.0347529799, -0.0761687085, 0.1264707595, 0.2012683302, -0.1160501912, 0.4416393936, -0.7759569883, -0.6667729616, -0.2485990375, 0.2729654312, 0.795627892, -0.4763341844, 0.5231847763, -0.0801136345, -0.2645944655, -0.4495584369, -0.596347034, 0.5499469638, -0.4925692379, 0.4500215948, -0.6366158128, -0.3074262142, 0.6150991917, -0.1588897109, -0.0222494509, 0.5719201565, 0.8203929663, 0.3416301906, 0.8074569106, 0.481963098, -0.3891368508, 0.1038203388, -0.2260707021, 0.5798923373, -0.8778970242, -0.2359603196, -0.3050397336, -0.1909894049, -0.412294507, -0.3195340335, 0.5424780846, 0.0090173921, -0.3179846704, 0.2738892138, -0.2678306997, 0.8308927417, 0.3240480721, -0.1142115593, 0.415340811, -0.0316762626, -0.3560130894, -0.2422204763, -0.2845018208, -0.8035594225, 1.3027908802, 0.5058177114, 0.6901753545, 0.124238655, 0.4756662548, 0.5279502869, 0.7107089162, -0.6912034154, 0.6124604344, -0.2660309374, -0.7023208737, -0.1113244817, 0.067380242, -0.8099900484, 0.4526114464, 0.258859098, -0.7054383755, 0.1355349869, -0.1725467741, -0.2605134845, 0.3459085226, -0.6680240035, 0.6655508876, -0.7936532497, -0.6956812739, -0.3751450479, -0.2664954662, 0.3014726341, -0.3987258375, -0.0730073303, -0.3062589169, -0.2518388927, 0.4778875113, -0.5286331773, 0.482886672, -0.2213920504, 0.2099199891, 0.374987781, -0.0971550941, 0.3095844984, 0.0939773247, -0.5615878105, 0.3285238445, 0.1438625902, -0.34584108, -0.1031055078, 0.8599062562, -0.9198843241, -0.6732846498, -0.5341446996, -0.4223333895, -0.3853933811, 0.3688157797, 0.0951361209, 0.0996940136, -0.5674164891, 0.2637682855, 0.3047816753, -0.2597116828, 0.2225766927, 1.0592240095, -0.1398969293, -0.2680751085, 0.7916975617, 0.2373881638, -0.02330615, 0.2374524176, 0.1384863406, -0.3878350556, -0.8512203097, -0.2831835747, 0.149617359, -0.8245739937, -0.2178095728, -0.3777897656, -0.6734057069, -0.1313714683, 0.0615198389, -0.564172864, -0.0619120188, 0.0403499119, -0.0389615446, 0.0704672709, 0.5519249439, 0.0403599143, -0.1759821326, -0.3606214225, 0.3242724538, 0.3639796376, 0.5718494654, -0.212092936, -0.5921700001, -0.0489209369, -0.0478268117, -0.3704906702, -0.4911272228, 0.4720881581, 0.3390953839, 0.7457256317, 0.3498223126, 0.1344533563, 0.7405427098, -0.8832322955, 1.0008568764, -0.0406807102, -0.9825553298, 0.374265343, -0.1480830759, -0.1225918904, 0.6727966666, 0.4364650249, -0.3111489713, -0.1321141422, -0.265232861, -1.0259538889, 0.5847841501, -0.1458642483, 0.3791592717, 0.0087216292, 0.1233256981, 0.1917203665, 0.2701662779, -0.9151866436, -0.0311993565, 0.1761297137, 0.1186116263, 0.5902970433, -0.2785171866, -0.2932829559, -0.2567850053, 0.6976591349, 0.0531568564, 0.0651722625, 0.0531593971, -0.3167928755, 0.0170362778, 0.2032212466, 0.2833014727, 1.2925006151, -0.1469388902, -0.0555104688, 0.2907702029, -0.3996812403, 0.0332309045, 0.2141029537, 0.0313576907, -0.2469494194, 0.3267785311, 0.5707648396, -0.5109437108, -0.9941383004, 0.9186666012, -0.1073893309, -0.2277995348, -0.4457147121, -0.2858709395, -0.1350825876, 0.3066308498, 0.5443007946, -0.4196018577, -0.028202856, -0.4787738919, 0.2138610184, 0.5085449815, -0.2897823453, -0.2730951905, 0.5834415555, 0.2818870544, -0.4299910069, 0.5311341286, -0.1374960542, -0.4898591638, 0.663576901, 0.6225863099, 1.1440937519, -0.0187565517, 0.2166877091, -0.0157641843, 0.5126968622, 0.2452022284, 0.4485831857, 0.1012240276, -0.5472202897, -0.2281897366, -0.4701486528, -0.7712746263, 0.3576690257, -0.2449277043, 0.5215432644, -0.6200699806, 0.0358070657, -0.1410440952, 0.155161351, -0.8252167702, -0.1324286163, 0.0479764454, 1.2992969751, -0.616286397, 0.7760035992, 0.6245189905, -0.4575992823, -0.3641155064, 0.215771094, -0.1870439053, -1.111700654, 1.2107491493, 0.0786288008, -0.3348261118, -0.1484954059, -0.4505103827, -0.6140590906, 1.0938403606, 0.5613865256, -0.3227474093, 0.3840798736, 0.6167606115, 0.9023292661, -0.580435276, 0.4301528335, 0.6769916415, 0.4947642684, -0.1734644324, -1.1327062845, -0.2452076226, -0.7028882504, 0.0185838453, -0.118216686, -0.8730641007, 0.7639222741, -0.064625293, -0.1073751226, 0.1559786797, 0.2343790978, 0.4438945949, 0.2778886557, 0.263353765, 0.3538670242, 0.777119875, -0.1179084927, 1.2201626301, -0.807559073, 0.0031384549, 1.1245452166, -0.8681701422, 1.1595990658, 0.5357936621, -0.4964035153, 0.3734570742, 0.5038539171, -0.0784073323, 0.6365059018, 0.3322530985, -0.4403940737, 0.2160123885, -0.5029258728, -0.4826639891, 0.2650954723, 0.4792365432, -0.1617670059, -0.2030927539, -0.2365450114, -0.240193069, 0.0375786126, -0.0440072007, 0.531313777, 0.010546674, -0.7415340543, 0.5298991799, 0.170947358, 0.3063222468, -0.7572135925, 0.0811062157, -0.328122437, 0.1771983951, 0.0965060145, -0.9719651937, 0.0925295427, 0.3209105134, 0.2664506137, -0.3276705444, 0.4590088129, -0.3625847995, -0.350890547, 0.5007320642, 0.3181404471, 0.3018436134, -0.0929311737, -0.9372630119, -0.1674205661, -0.4407152236, -0.2634735107, 0.1904934049, 0.5260426998, -0.2299015969, 0.7041558027, 0.4824729562, 0.6540523171, 0.1726060808, 0.2533849478, 0.8371654153, -0.3747803569, -0.3647303283, -0.7003667355, 0.6795191169, -0.3393385708, -0.5615833402, 0.5431342125, 0.6147078276, 0.5959006548, 0.0048452541, 0.8934885263, 0.0039942185, 0.3919386864, -0.2488514483, 0.9676601887, -0.4375762045, 0.6905784607, 0.0867610276, -0.9514609575, -0.4108268619, 0.339717865, -0.7421609163, -0.1618018299, 0.7385692596, 0.8194506168, -0.0991594344, -0.3590310216, 0.4394360185, 0.1171374395, 0.5589060187, 0.3175526857, 1.1718238592, -0.3628377616, 0.5178913474, -0.198774606, -0.2567307353, 0.0126277013, -1.15858531, -0.9559769034, -0.2391307652, -0.2521429062, 0.0316376872, 0.0680316538, 0.9762336016, 0.7988877296, -0.9881125689, -0.6340435147, -0.046721831, 0.0178929605, -0.0027395142, -0.2573820651, 0.4328836203, -0.3075073063, -0.6488255262, 0.4617060423, 0.812610209, -0.2813939154, -0.4614904523, -0.0345146209, -0.2534777224, 0.1587550342, 0.5662254095, 0.4432060719, -0.8087943196, 0.024727745, -0.180924058, -0.0913708135, 0.1849826127, 0.723282814, -0.2757595778, 0.803332746, 0.626663506, 0.9966012836, 0.4708385468, -0.2403848618, 0.7290710807, -0.5994071364, 0.3710005283, 0.4347904623, 0.4981278181, 0.2660828233, -0.2229116261, 0.3986823857, -0.1949391961, -0.6645157933, -0.8241574764, 0.074828513, -0.3684217334, -0.0329414755, 0.7115327716, -0.4798885286, 0.0360905491, -0.0777332485, -0.4040561318, -0.4401860535, -0.096806936, 0.8304451108, 0.9016441703, -0.093233265, -0.0281995907, -0.5299021006, 0.2305861264, 0.5513271689, -0.9730327725, 0.0203785356, 0.2314472497, 0.1635392457, 0.0003678825, 0.7694830298, -0.3940490484, 0.3548727632, -0.1100975275, -0.1484516114, 0.1387316734, -0.4835376143, -0.2550398409, 0.1705432832, 0.629602313, -0.0428634249 ]
http://arxiv.org/abs/2406.12382v1
http://arxiv.org/pdf/2406.12382v1
From Instance Training to Instruction Learning: Task Adapters Generation from Instructions
2024-06-18T08:14:28
2024-06-18T08:14:28
Huanxuan Liao, Yao Xu, Shizhu He, Yuanzhe Zhang, Yanchao Hao, Shengping Liu, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models (LLMs) have acquired the ability to solve general tasks by utilizing instruction finetuning (IFT). However, IFT still relies heavily on instance training of extensive task data, which greatly limits the adaptability of LLMs to real-world scenarios where labeled task instances are scarce and broader task generalization becomes paramount. Contrary to LLMs, humans acquire skills and complete tasks not merely through repeated practice but also by understanding and following instructional guidelines. This paper is dedicated to simulating human learning to address the shortcomings of instance training, focusing on instruction learning to enhance cross-task generalization. Within this context, we introduce Task Adapters Generation from Instructions (TAGI), which automatically constructs the task-specific model in a parameter generation manner based on the given task instructions without retraining for unseen tasks. Specifically, we utilize knowledge distillation to enhance the consistency between TAGI developed through Learning with Instruction and task-specific models developed through Training with Instance, by aligning the labels, output logits, and adapter parameters between them. TAGI is endowed with cross-task generalization capabilities through a two-stage training process that includes hypernetwork pretraining and finetuning. We evaluate TAGI on the Super-Natural Instructions and P3 datasets. The experimental results demonstrate that TAGI can match or even outperform traditional meta-trained models and other hypernetwork models, while significantly reducing computational requirements.
[ -0.097422123, -0.691033721, 0.501440227, -0.1463258117, -0.1689771116, -0.288472116, -0.2674061954, -0.2272160351, -0.430398047, 0.3524264991, -0.6857850552, -0.2932480276, -0.5488443375, -0.1566108465, 0.016429998, 1.0778331757, -0.0130373659, 0.004595743, -0.2283899635, 0.2591171563, -0.7784785032, -0.3280557394, -0.5652844906, -0.6249059439, 0.319981426, 0.7613818645, -0.062309254, 0.6865733862, 0.1414598376, 0.2723207772, 0.6440122128, 0.3152501881, -0.4920924604, -0.1437112093, -0.3115339279, -0.8853334188, -0.2692350447, 0.077391766, 0.4183555543, 0.6432712674, -0.3421007097, 0.1945682317, 0.4241886139, 0.4619698524, -0.5635948181, 0.3655084968, -0.889280498, -0.1179745048, 0.0968248025, -0.1572055072, -0.4860236645, 0.0199278723, 0.1573713571, -0.8504697084, 0.6601829529, 0.1484721452, 0.7740600109, 0.3025272489, -0.0981108621, -0.3510677516, -0.8455227613, 1.0596426725, -0.7822539806, 0.2596167922, 0.3474796116, 0.3956530988, -0.2879405916, -0.6937996745, -0.3933702111, -0.1856947988, -0.0913063958, 0.1628561467, -0.2478964478, 0.1636007726, 0.3141875863, -0.0792087987, -0.4226106405, 0.2067229152, -0.3334853649, 0.2196325064, 0.3845297992, 0.1552866846, 0.3076584041, 0.1244536266, -0.3879560232, -0.1372183114, -0.686259985, 0.051707074, 0.3139141798, 0.2891424, -0.0194319412, 0.213793084, -0.1525799632, 1.0452326536, 0.2885765433, -0.2309331745, 0.0170243233, -0.1951070726, -0.3329725266, -0.0713792816, 0.4967090487, 0.3780049384, 0.265483588, -0.4678904414, 0.0371018797, -0.0355213545, 0.7316820621, -0.9072548151, -0.2520236969, -0.1092666686, -0.2637656033, 0.0241700243, 0.0219653826, -0.33807078, -0.0635559782, -0.702491343, 0.4184496403, -0.6224981546, 0.2056439817, -0.0130858272, -0.1082953885, 0.2348850518, 0.3369036019, -1.0257254839, 0.3748171031, 0.8067968488, 0.4693984389, 0.036590863, -0.6297482252, -0.4421054423, 0.4313276112, -0.1384463906, 0.5808596015, -0.5224928856, -0.2274870127, -0.2502018511, 0.1545592695, -0.403989166, -0.6746667027, 0.3292054236, -0.3200136125, -0.2050695717, 0.0065434352, -0.7567521334, -0.3378001153, 0.0674859658, -0.3021760881, 0.5945388675, 0.095276311, -0.5838340521, 0.5565737486, -0.7146663666, -0.428894341, -0.0476734303, -0.1600630879, -0.4072296917, 0.2908667028, 0.1621188819, 0.9057671428, -0.5139891505, 0.2342712432, -0.1755438447, -0.4227365851, -0.1370920092, -0.1677042544, 0.2810240388, -0.0267655309, -0.6584304571, -0.0176317897, -0.5949440002, -0.0460102148, 0.1019896343, -0.2612259388, -0.505818367, 0.1992411315, -0.3629971147, 0.1675362736, -0.0755171478, -0.6551839709, 0.2938795984, -0.102724582, 0.6066237092, 0.5917817354, 0.0492612012, 0.3758913875, -0.4575147629, 0.2788561285, 0.2043659985, 0.0262437593, -0.1121217981, -0.3775979877, -0.8515136242, 0.1051693484, 0.0986113548, 0.737082243, -0.8821572661, 0.4395220876, -0.4133939445, -0.5075139403, -0.4707751572, 0.4014286995, 0.703553021, 0.5687375665, 0.4420064986, -0.1312824637, -0.6165685058, -0.8860588074, -0.0644828156, 0.084325552, -0.2341509759, 0.3038132787, 0.4183460772, -0.2079657465, 0.7377980351, -0.4773128927, -0.359454006, -0.3251244724, 0.469639957, -0.0526595823, 0.7579442859, 0.3275049627, -0.5674914718, -0.2674054801, 0.0445901379, -0.6332840323, 0.1293716431, -0.2565142512, -0.1041813418, -0.0018543385, 0.5232362747, 0.0050367769, 0.2933807373, 0.4994689524, 0.1618704945, 0.2620900571, -0.5828709006, 0.1476294696, -1.294636488, 0.0954644904, 0.4584516883, -0.1126589477, -0.7153366208, -0.0942267552, -0.0537621155, -0.1074938104, -0.2806860209, 0.2240930051, -0.6906214356, 0.0172260497, -0.51863873, -0.2002414763, 0.0235932134, 0.6972138286, 0.1772666574, 0.7851495743, 0.5707575083, -0.6500734687, 0.2857460082, -0.0416673981, -0.3187350035, 0.5718805194, -0.8316857219, 0.2981565595, -0.0183754545, 0.1901596934, -0.8384830952, -0.1205332726, 0.1521792263, 0.0101718688, 0.4451830983, -0.43409127, -0.2131090611, -0.2450365871, 0.0793695003, 0.2881756425, 0.8232854605, -0.5065357089, 0.6855356693, 0.1676839292, 0.1825323105, -0.5069980621, -0.6218760014, -0.3409462571, -0.1312376857, -0.2674715817, 0.3194161057, 0.0080588656, 0.1732914895, 0.0355742425, -0.2470978349, -0.3485105932, 0.1349307895, 0.6479868293, 0.2576438785, -0.1315702498, -0.1406488866, 0.2317468971, 0.1146432534, -0.0184425451, -0.5204328895, 0.2806667089, 0.071483396, -0.4481803775, -0.8095620275, 0.2217688113, 0.2135133445, -0.1308046877, 0.6439658999, 0.6154273152, -0.2846140265, -0.6214449406, -0.5047977567, -0.2339963913, -0.4024014771, 0.5580322146, -0.5381320119, -0.7541483045, 0.0298383608, -0.3892476261, 0.3625663221, -0.0815869868, 0.2018544078, -0.2472585142, 0.7859323025, 0.7086493373, -0.0833412483, 0.5431420207, -0.5313760638, -0.095826298, -1.017013669, -0.155395925, -0.2759202719, -0.5096503496, -0.155434534, -0.7418495417, 0.1817919463, 0.2220807225, -0.0240404159, 0.5132552981, -0.5646814704, 0.4572988153, 0.8395305276, 0.507534802, -0.0925279707, 0.0493635051, 0.1636770815, 0.1052018926, -0.9526757598, -0.4410428703, 1.1960194111, 0.0404238179, 0.8297883272, -0.4483563304, 1.0239057541, 0.3801000416, 0.3567017317, -0.5630861521, 0.4575271606, -0.4541149735, -0.254206717, -0.2098669112, -0.432272017, -1.0907657146, -0.0063028107, -0.158796832, -0.6652804017, 0.1826975346, 0.5569939613, -0.3526576757, 0.3948441148, -1.122512579, 1.0285755396, -0.0553569496, -0.3640029132, -0.286860168, -0.6493808031, 0.2487582117, 0.0279425699, 0.0869651809, -0.0347344764, -0.0392062664, 0.6363779306, -0.2041496187, 1.2892206907, -0.4422008693, 0.0119953323, 0.4622571766, -0.1664728075, 0.3725968897, -0.2027175575, -0.0115892384, -0.1032483503, -0.4275438488, -0.6369338036, -0.8785190582, 0.7515081167, -0.909153223, -0.7762761712, 0.1227402687, -0.8533915877, -0.1580634117, -0.0867180973, 0.1707963943, 0.6004167199, -0.3482712209, -0.1411872208, 0.7939509153, 0.2006737292, 0.2529343665, 0.3846614361, 0.3361553848, -0.0256935079, 1.1686645746, 0.0463107042, 0.3128873408, 0.5729675889, 0.0848061144, 0.028745193, -0.6290768981, -0.6536061168, 0.1020282581, -0.4032960832, -0.1316117048, -0.3563866913, 0.0427121893, -0.2438413352, -0.1173322052, -0.0324391536, 0.0769760683, -0.4373067021, 0.1334752887, 0.1170979366, 0.9469601512, 0.1467091441, 0.4751583934, -0.9299802184, 0.3620759249, 0.7447702885, 0.0450325683, 0.0637575015, -0.5696445704, -0.4140135646, 0.3976666331, -0.2149250954, -0.6720942855, 0.0172811765, 0.5710892677, 0.7627012134, 0.2449479252, -0.022330448, 0.9124489427, -0.9791076183, 0.4131649435, 0.1011894271, -0.975533247, 0.6848633289, -0.1385163963, 0.1595640779, 0.4777339399, 0.6917951107, -0.1916281134, -0.1596159786, -0.5138882399, -0.5553622842, 1.0826576948, -0.1080387905, 0.1844689548, 0.1856658906, 0.7173455954, 0.2664601207, -0.0318052061, -0.3419858217, -0.0434364192, -0.3026387095, -0.3572507799, -0.2461899668, -0.036286585, -0.1866254658, -0.2081669867, 0.8208361864, -0.229553178, 0.2347164303, 0.1432598829, -0.3165964484, 0.1493436992, 0.3085528314, 0.5392276049, 0.6365414858, -0.0302237067, 0.0958401635, 0.2710717618, -0.3750288785, 0.3866234422, 0.1864657104, 0.0424748547, -0.2442016155, 0.2632022798, 1.2046699524, 0.4012516439, -0.4865308702, 0.3044033647, 0.0414585508, -0.2436858267, 0.12451756, 0.7235546708, 0.281347543, 0.3020890951, 0.1675561965, -0.0236997996, 0.1182496622, -0.605602026, 0.2488318533, 0.2091925591, -0.3911784887, -0.5283336043, 0.6372250319, 0.3678063452, -0.2288103253, 0.3901256621, -0.3505185246, -0.1793701798, 0.5007525682, 0.8542904258, 0.6286095977, -0.3696762025, 0.1093900651, 0.3084774315, 0.1899190098, -0.1113588139, 0.0010548864, -0.2528853416, -0.5340901017, -0.5259401798, -0.4642191231, -0.3240267634, -0.0025489179, -0.6833444834, 0.0328686498, -0.4363510609, 0.0391377918, 0.077114895, -0.1990203857, -0.6907805204, 0.3579575121, 0.1149467453, 0.5585146546, -1.1109811068, 1.2208470106, 1.1646504402, -0.2855373323, -1.0413565636, 0.18111296, -0.350621134, -0.8368158937, 0.7127969861, 0.203659609, 0.0411368944, 0.2474290431, -0.4219039083, -0.2626321614, 1.271940589, 0.4027316272, -0.8158689737, -0.3868576586, 0.2839771509, 0.3683348596, -0.4943675995, 0.2130868584, 0.5735633969, 0.104463689, -0.0866870359, -0.7132840753, 0.1234614104, -0.2139962614, 0.4184348285, 0.1178032905, -0.3763450682, 0.6465778947, -0.1588749588, -0.0328766517, -0.1373448223, 0.6879225373, 0.2049908042, 0.1060588136, 0.7000222206, 0.701851368, 0.2866613567, -0.0445924252, 0.9598876834, -0.1580364257, 0.0349565521, 1.4122698307, -0.2974818051, 0.6199775934, 0.3658205867, -0.0599353462, 0.7229138017, 0.1481669694, -0.1081780493, 0.3036147058, 0.3897079527, -0.1152454093, -0.3842059076, -0.0382162444, -0.0518035591, 0.4382013083, 0.2734958231, -0.1934951544, -0.3634071648, 0.2559919953, -0.106855087, 0.2146580964, -0.3082732558, 0.9411548972, -0.0564655252, -0.8036616445, 0.7232524753, -0.0952186882, 0.8184015751, -0.7004497647, -0.5271573663, 0.1481122971, 0.2871689796, -0.082683593, -0.4527454674, 0.1505271047, -0.0029680342, -0.4448709786, -0.1438135058, 0.7292810678, -0.5885152817, -0.4110545218, 0.1164566353, 0.4875621498, 0.1895739734, 0.1197305918, -0.7384008765, -0.160180822, 0.048725348, -0.0327529944, 0.5834322572, 0.4133206904, -0.0797515884, 0.510658145, 0.5360171795, -0.1459108442, 0.3147050738, -0.1551916748, 0.7939738631, -0.2365819663, -0.1950525194, -0.5755700469, 0.3983922005, -0.0035195458, -0.1714861393, 0.4914426506, 0.5271931291, 1.0655727386, -0.3746914566, 0.8223139048, -0.2112276107, 0.357406944, -0.5116642118, 0.6163593531, -0.4808751047, -0.0059407214, -0.0782655701, -0.8396595716, 0.0601046979, 0.3590326309, -0.4657396376, 0.0701704696, 0.3908477724, 0.5662721992, -0.5132232308, -0.1641139388, 0.416216135, -0.1616279334, 0.0628214106, 0.9914658666, 0.5768815279, -0.412237525, 0.4746748805, -0.5686003566, -0.3316220939, -0.1128806844, -0.7949151397, -1.0729312897, -0.7279552221, -0.3218540847, 0.2018257231, 0.5704125762, 0.7897123098, 1.1987886429, -0.7236453295, -0.549669385, -0.4930709004, -0.1375168115, -0.5341978669, -0.1620694846, 0.1548285335, -0.6636818051, -0.9720167518, 0.4920130074, -0.2836921811, 0.0463388599, 0.2175359279, -0.0048488774, -0.2665170431, -0.1107355356, 0.3052985668, 0.3290959299, -0.668187499, -0.3001667559, -0.2257887423, 0.040463157, 0.0669215843, 0.9959110618, -0.735963583, 0.3603802025, 0.1629618853, 0.7426688671, 0.4307945967, 0.1065829322, 0.66250211, -0.948240459, 0.2094529271, -0.1000141278, 0.3417264223, 0.1359163821, -0.2213502824, 0.3661468923, 0.1470885575, -0.5968514085, -0.4554720223, 0.268384546, -0.8465895057, -0.3079710901, 0.8834469318, -0.7318967581, -0.4476838708, -0.0790242031, -0.3299535811, 0.7171241045, -0.2753786743, 0.7508102655, 0.2584795654, -0.2825113833, -0.0338532478, -0.5603443384, 0.3493218422, 0.5169426203, -1.1299800873, 0.1054503694, 0.4003072083, 0.5861843824, 0.0560305789, 0.1179275736, 0.4414202571, 0.2975700498, -0.0473319329, 0.5061958432, -0.4368460178, -0.407106638, -0.0732265487, 0.014764512, 0.072701253, -0.6180092692 ]
http://arxiv.org/abs/2406.12381v2
http://arxiv.org/pdf/2406.12381v2
QOG:Question and Options Generation based on Language Model
2024-06-18T08:09:58
2024-07-02T09:21:03
Jincheng Zhou
cs.CL
cs.CL, cs.LG
Question-Options Generation (QOG) is a task that involves generating a set of question-options pairs given context. This task has various applications, including fine-tuning large models, information retrieval, and automated multiple-choice question generation for education. In this paper, we develop QOG models using three different methods based on fine-tuning sequence-to-sequence language models (LMs). Experiments demonstrate that the end-to-end QOG model is computationally efficient and stable during both training and inference, outperforming other methods. Furthermore, our analysis indicates that our QOG models are competitive on the QOG task compared to the large language model Llama 3-8B.
[ -0.4008032084, -1.2144975662, 0.6891438365, -0.4319943786, -0.170963794, 0.2068870366, -0.0369330086, -0.341507107, -0.2865421176, 0.800141871, -0.4739849865, -0.2055522352, -0.1024268344, 0.0781110227, -0.3603649139, 0.9986391068, 0.0063258144, -0.0077569759, -0.4002315402, -0.0198568925, -0.4743517935, -0.4483391941, -1.0639158487, -0.0706343502, 0.3677868247, 0.4562835693, 0.8059857488, 0.3345192671, 0.3727216125, 0.2178477645, -0.0671147779, 0.2316288054, -0.5282564163, 0.3084215522, 0.0125751598, -0.7472289801, -0.2112583816, -0.0689493194, 0.8987315297, 0.3181275725, -0.3476219773, 0.6579853892, -0.135313347, 0.4527837932, -0.5453390479, -0.321003288, -0.702783823, -0.0819627419, -0.0508273691, -0.2437650412, -0.3774400651, -0.6604599357, 0.1121547818, -0.312274158, 0.0415348932, 0.4765011072, 0.6604579091, 0.045350194, -0.5597668886, -0.3283504248, -0.545045495, 0.8541973233, -1.0584499836, 0.4195095301, 0.3758048713, 0.5338842869, -0.3992281854, -0.8461256623, -0.5056016445, -0.1611135155, 0.0704169869, 0.0636546388, 0.1621093452, 0.277441889, 0.3210589588, 0.3675404191, -0.612842977, 0.0929151475, -0.6405786276, 0.1647466421, 0.7047811151, 0.2972804606, 0.2681004703, -0.0695823804, -0.1296938807, 0.0663241073, -0.827105701, 0.3541812897, 0.5482094884, 0.2099050879, 0.4221668243, 0.6305868626, -0.4631825984, 1.1520334482, 0.2061398178, -0.4820106626, -0.2250528187, -0.2066733837, -0.4836808741, -0.0238343365, 0.5072870851, 0.5489341617, -0.016962124, 0.0031939403, -0.2533701062, -0.2830387354, 0.1592339724, -0.6462298632, 0.2158382833, 0.5955397487, -0.5478977561, -0.4310340583, -0.4647094607, -0.4094007909, 0.164845258, -0.3007771671, 0.6449329257, -0.253742069, -0.1748057753, 0.3322783411, -0.1264086813, 0.3562179208, 0.2433022559, -0.7703278661, 0.0886138827, 0.3611349165, 0.4582122862, -0.0535548069, -0.1328241229, -0.5267985463, 0.2440116107, -0.3754749298, 0.8059123158, -0.7372016311, -0.4764081538, -0.0207792614, -0.1489797831, 0.0339517146, -0.5650171638, 0.0455962159, -0.757286787, 0.8025705814, 0.0168883875, -0.9920246601, -0.3139737248, 0.2593404353, -0.5669779181, 1.3516054153, 0.0872996598, -0.4958952963, 0.062683709, -0.5685158372, -0.0542693585, 0.2692273557, -0.1022289842, -0.3611926734, 0.0652607903, -0.0193195492, 0.3939400315, -0.6265037656, 0.4667530656, -0.0795403793, -0.3291969895, 0.236145243, -0.168883726, 0.9239243865, 0.3080455065, -0.2089816481, 0.1303343475, -0.8205425143, 0.4999059737, 0.2428197116, -0.6072568297, -0.1624056101, 0.2488873452, -0.443423599, 0.3320498765, 0.3587360382, -0.18795757, 0.3313949704, -0.175055474, 0.4866551459, 0.503620863, 0.1680553555, 0.2305912673, -0.480962038, 0.8215053678, -0.2774704397, 0.1778047085, -0.274153173, -0.8245952129, -0.8268379569, 0.1698077023, 0.394493103, 0.8216386437, -0.6154251695, 0.1014048085, 0.309799403, -0.4215553999, -0.7396511436, 0.0223999172, 0.3347218633, 0.4034004807, 0.1428668797, -0.0720535368, -0.333102107, -0.8265119791, -0.1910604537, -0.5320339203, 0.0481864475, 0.2607010901, 0.1955043823, 0.1494931579, 0.908986032, -0.5451383591, 0.6087949276, -0.3319390714, 0.2407291532, 0.1170826107, 0.3262214065, 0.5722966194, -0.6538754106, -0.3229701519, -0.2702596188, -0.4600032568, -0.0620516986, -0.2476465255, -0.4579522312, 0.0775328875, 0.5938668251, -0.5375609398, 0.1594437957, 0.5104177594, -0.2143233716, 0.6822781563, 0.0849911347, 0.1959590316, -1.3390057087, -0.0188621543, -0.3901967406, -0.3547321856, -0.9126153588, 0.4342971444, -0.0203417987, -0.3517942727, -0.6651939154, 0.7251155972, -0.3050893843, 0.0622255206, -0.1253448427, 0.106047757, 0.0568865985, 0.4172500074, 0.0040464047, 0.782420218, 0.5666863322, -0.7184523344, 0.472189337, 0.0761151984, -0.3456933796, 0.368776083, -0.5873038769, 0.4131746888, -0.268974334, -0.0537149124, -1.1583936214, -0.2083681971, 0.1880433857, -0.2554255724, 0.0463312231, 0.0962336883, -0.3793057203, -0.4809619486, -0.2239707261, 0.6805633307, 0.7330955863, -0.3533177078, 0.2172943056, 0.2840516865, -0.3692701161, -0.3605010509, -0.1485369354, -0.129810825, -0.4472030103, -0.582868278, -0.001746373, -0.4028919041, -0.3459973633, -0.1093890741, 0.1765231639, -0.1719504148, 0.2008421421, -0.139623329, 0.1300635934, -0.3496829271, 0.3100321889, 0.2692630589, 0.3697635233, -0.0818007886, -0.2960321605, 0.40376845, -0.0725073516, -0.3314465582, -0.0754066706, 0.7455845475, 0.3397870958, -0.4599767923, 0.4474165738, 0.0930777714, -0.3778403103, -0.2328497618, -0.5787584782, -0.112220712, -0.4800102115, 0.2474744171, -0.2351739258, -1.2286061049, 0.3718161881, -0.1497244239, 0.4106342494, 0.1221654862, 0.5919875503, -0.0882785171, 1.387190938, 0.467454195, 0.163754344, 0.4700587988, 0.1146529168, 0.3142504692, -0.5281770825, 0.0057441243, -0.3941415548, -0.1973311752, -0.5309941173, -0.4579477608, 0.3902155757, 0.7080890536, -0.2821576893, 0.0640379861, -0.3288972378, 0.5103541613, 1.0636188984, -0.0214221906, 0.2812356651, 0.0245732125, 0.0024667718, 0.5190807581, -0.7970474958, -0.8406133652, 1.3525840044, 0.1774482429, 0.5041739941, 0.1058230773, 0.8691413999, 0.1012624577, -0.0187478606, -0.6757580638, 0.7929459214, 0.3896721005, -0.9207775593, -0.6665847898, -0.0583706684, -0.9195362926, 0.162434116, -0.2619034946, -0.7764362097, -0.1827545613, 0.3504232168, -0.6526530385, 0.3456418514, -0.5667713284, 0.6377522349, -0.4411249459, -0.2969576418, -0.2155425102, -0.6251682639, 0.4132510424, 0.0417487249, -0.1293932796, -0.0753018409, 0.2552776337, 0.7128138542, -0.057261277, 0.6720554233, 0.078580305, -0.2917423248, 1.056406498, 0.0605873987, 0.5304606557, 0.1793805957, -0.1316922605, -0.0380363986, -0.0551717691, -0.4406290948, -0.4618169069, 0.217612043, -0.4419398606, -1.0146279335, 0.0323780328, -0.5996568203, -0.2507303357, 0.4504056871, 0.2001472265, 0.437564671, -0.0920407623, -0.1354871243, 0.6206141114, -0.4877577126, 0.4256973267, 0.4316574633, -0.5160752535, -0.3037371635, 0.7506865263, 0.16936405, 0.675632298, 0.3187636733, -0.0613007508, -0.1880479157, -0.5882065296, -0.5797794461, 0.1432993561, -0.5752285123, -0.2634727359, -0.3103795648, -0.3819895089, -0.3001257479, -0.1836993545, -0.1472290307, -0.5666610003, -0.2617611289, -0.222840935, 0.1870251745, 0.7087717056, 0.3064225614, 0.4259954691, -0.8865075707, 0.3417228758, 0.8918823004, 0.340720892, -0.1533975154, -0.2208171487, -0.3245607615, 0.1473316848, -0.6616901755, -1.0897722244, 0.1052074581, 0.1531317234, 0.5641165972, 0.4387926161, -0.2477625757, 0.5905327797, -0.6313387156, 1.1856188774, 0.0122188646, -0.8333191872, 0.6356621981, -0.4332832694, 0.2586833239, 0.2308956087, 0.2543943822, -0.5402938724, -0.6660097837, -0.7513188124, -0.7971557379, 0.5786688328, 0.1427148134, -0.1404949278, -0.311176002, 0.5108274817, 0.2227116525, 0.5492882729, -0.5665422678, -0.0276520848, -0.013684568, -0.1311812848, 0.0195572507, -0.3650069833, -0.0851554349, 0.0318190902, 0.6341575384, -0.2292945683, 0.3174063265, -0.0546219721, 0.0158545095, -0.3664099276, 0.569532752, 0.7355237007, 0.7289758325, -0.3661928177, -0.1004816517, 0.3928972185, 0.0168691296, 0.2788636386, -0.1995741278, -0.426758498, -0.0219441894, 0.0662842244, 1.1622444391, -0.0934133679, -1.0341283083, -0.016544072, -0.0222207494, -0.2560718954, -0.0532697476, 0.340642482, 0.1230649799, 0.4679657519, 0.231971845, -0.5448923707, 0.4040273428, -0.5650050044, -0.0713386089, 0.56522578, 0.2046932727, -0.1585728824, 0.7639530897, 0.1694265306, -0.4056269526, 0.5334724188, -0.2502928078, -0.2888794541, 0.7280732393, 0.837908566, 0.7832996845, -0.4582419693, 0.4293812513, 0.4903133214, 0.1381026655, -0.3908073604, 0.6652243137, 0.0062788455, -0.5963144302, -0.5035095811, -0.5700431466, -0.5800178647, 0.469175905, -0.8977574706, 0.2080903053, -0.1619510502, -0.3449412882, -0.4254550636, -0.1473019719, -0.4085095823, 0.5980520248, 0.3096587062, 0.7944898009, -0.512069881, 0.5212366581, 1.0405516624, 0.0380070247, -0.8786725402, -0.0253962018, -0.4232215285, -0.736415565, 0.595382452, 0.0795899332, 0.0362146161, 0.301792562, -0.642542243, -1.2618319988, 1.1049741507, 0.3208881617, -0.8736306429, -0.4539908171, 0.3241611719, 0.3473751843, -0.3852021992, 0.2506804764, 0.6037421227, 0.2261808366, -0.4651112854, -0.8593097329, -0.0130686564, -0.1980102211, 0.2564770579, 0.3763004541, -1.0050977468, 0.8642625213, -0.2087033391, -0.2453382462, 0.2069990784, 0.5959226489, 0.5207597017, 0.1093529984, 0.459461391, 0.4960348904, 0.92008847, 0.0738817975, 0.9162896872, -0.6540441513, 0.3899401426, 0.9294498563, -0.2052170485, 0.8866000175, 0.4980044365, -0.0682344511, 0.3013447523, 0.9597634673, 0.132151261, 0.5327749848, 0.2587447762, -0.2575574219, -0.5435135365, 0.1669924706, -0.3700835109, 0.3991188407, 0.2638769746, -0.1468566209, -0.1196768731, -0.1304442585, -0.2353390604, -0.4493433237, -0.5711733103, 0.8153224587, -0.1322260201, -1.1520929337, 0.6892520785, -0.0566547625, 0.123530373, -0.4423433244, -0.1727264673, -0.1339238882, -0.5277757049, 0.0742371604, -0.7187138796, -0.185343951, -0.1122039706, -0.1369317174, 0.0231090877, 0.7869688869, -0.7453965545, -0.5842574835, -0.2028177083, 0.5626777411, 0.0828946084, 0.4468859732, -0.7440651059, -0.4115624726, 0.1288212985, -0.6213700771, 0.2299911976, 0.1866981089, -0.3920370638, 0.6315714121, 0.4744338095, 0.0481843986, 0.4896034598, -0.1335975826, 0.5342171192, -0.7157361507, -0.4930031002, -0.5980130434, 0.7905225158, 0.0060598222, -0.3202458918, 0.5924578309, 0.4663734734, 0.9617447257, -0.0599013716, 1.1735956669, 0.028355401, 0.5471461415, -0.7868132591, 0.1992594451, -0.6365983486, 0.0451227352, 0.0181115549, -0.8021583557, -0.0610221252, 0.4326051772, -0.0685474798, 0.0825668946, 0.5727416277, 0.7096550465, 0.1459535211, -0.0500014536, 0.3088418841, -0.0985985696, 0.221467644, 0.6349005699, 1.035213232, -0.3714465797, 0.3764963448, -0.0051082354, -0.0258193333, -0.3663213551, -0.769370079, -1.089418292, -0.5599434376, -0.1672553867, -0.2132519186, 0.2087559849, 0.8014056683, 0.5553500056, -0.69643718, -0.4860182703, -0.113696143, 0.106470637, -0.1399482042, -0.1935077608, 0.2224023342, -0.5411173701, -0.8094353676, 0.291582495, 0.1662899107, 0.1689037383, -0.1714604348, -0.0071358159, -0.1244348437, 0.5084634423, 0.6821869612, 0.2643944919, -0.7289467454, -0.4697003365, 0.0533781908, 0.1602264941, 0.0134070059, 0.7469488382, -0.5522822142, 0.4949996471, 0.5240775347, 0.6692560911, 0.1351388246, 0.1416102499, 0.7849828005, -0.6127624512, -0.0504513904, 0.0792464837, 0.3036386669, 0.1356940418, -0.4202649593, 0.3147107959, -0.2564807534, -0.8706376553, -1.0724704266, 0.4826472104, -0.6205383539, -0.439057678, 1.241765976, 0.152942881, -0.0583346076, 0.1478517801, -0.5767507553, 0.4593722522, -0.2820576429, 0.7814358473, 0.7641546726, -0.3329691291, -0.2061046362, -0.8071630597, 0.6321463585, 0.6139795184, -0.8085781932, -0.2756801546, 0.4449107647, 0.2669645846, 0.0590373799, 0.6351620555, 0.2735517323, 0.4102665484, -0.2754949629, 0.0534121469, 0.1553856283, -0.2146221995, -0.1301936805, 0.3606274128, 0.3893013597, -0.0792602822 ]
http://arxiv.org/abs/2406.12373v2
http://arxiv.org/pdf/2406.12373v2
WebCanvas: Benchmarking Web Agents in Online Environments
2024-06-18T07:58:33
2024-06-27T16:56:13
Yichen Pan, Dehan Kong, Sida Zhou, Cheng Cui, Yifei Leng, Bing Jiang, Hangyu Liu, Yanyi Shang, Shuyan Zhou, Tongshuang Wu, Zhengyang Wu
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
For web agents to be practically useful, they must adapt to the continuously evolving web environment characterized by frequent updates to user interfaces and content. However, most existing benchmarks only capture the static aspects of the web. To bridge this gap, we introduce WebCanvas, an innovative online evaluation framework for web agents that effectively addresses the dynamic nature of web interactions. WebCanvas contains three main components to facilitate realistic assessments: (1) A novel evaluation metric which reliably capture critical intermediate actions or states necessary for task completions while disregarding noise caused by insignificant events or changed web-elements. (2) A benchmark dataset called Mind2Web-Live, a refined version of original Mind2Web static dataset containing 542 tasks with 2439 intermediate evaluation states; (3) Lightweight and generalizable annotation tools and testing pipelines that enables the community to collect and maintain the high-quality, up-to-date dataset. Building on WebCanvas, we open-source an agent framework with extensible modules for reasoning, providing a foundation for the community to conduct online inference and evaluations. Our best-performing agent achieves a task success rate of 23.1% and a task completion rate of 48.8% on the Mind2Web-Live test set. Additionally, we analyze the performance discrepancies across various websites, domains, and experimental environments. We encourage the community to contribute further insights on online agent evaluation, thereby advancing this field of research.
[ -0.7716379762, -0.3323344886, 0.386875242, 0.324049443, -0.2012484968, 0.2831048667, -0.2099517733, -0.8457427621, 0.1507867426, 0.0164288785, -0.5946502686, -0.3613560796, -0.1984048039, 0.0634080246, -0.2776207328, 0.7046630979, -0.0034902943, -0.0095364889, -0.7219461203, -0.2062927634, -0.2217221409, -0.0145313395, -0.7630387545, -0.3037118018, 0.4999345243, 0.0772888511, 0.5071175098, 0.2218556404, 0.7687460184, 0.3689652383, 0.3211244345, 0.40433833, -0.6137858033, 0.3546478152, -0.476408124, -0.3933666646, -0.6815261245, 0.0668453574, 0.1504926383, 0.3036719561, -0.3167454004, 0.3705434501, 0.0952673107, 0.318263799, -1.0618703365, 0.2946602106, -0.4212400913, -0.0484011769, -0.0425652079, -0.1986017823, -0.0740813762, -0.7779607177, 0.1841314137, -0.928055644, 0.2947745025, -0.1640320271, 0.732893765, 0.4072858989, -0.2620406151, 0.01078727, -0.614738524, 0.4503221214, -0.1789868623, 0.4140892327, 0.4833969176, 0.916541636, -0.2130756676, -0.8518400192, -0.554887712, -0.1693964601, 0.3895118535, 0.3566015363, -0.4030987322, -0.1512554437, 0.1299162358, 0.0864377692, -0.5461267233, -0.1007581353, -0.050375931, -0.4099933803, 0.6300414801, 0.3572018743, 0.1249491796, 0.4351008534, -0.3216161728, -0.6420587301, -0.2703742683, 0.3770481944, 0.3836810589, 0.083820425, -0.0939559639, 0.1885382384, -0.4597429931, 0.3702839315, -0.0474540032, 0.0656142011, 0.3452898562, -0.1670662761, -0.0230244771, -0.4456209838, 0.5637983084, 0.8909113407, 0.1895666718, -0.421325773, -0.3054945469, 0.4173056185, 0.7045416832, -0.8064457774, -0.1496382058, 0.5215510726, -0.3535105884, -0.2469017059, 0.1763212383, -0.9527888298, -0.7679088712, 0.0006094993, 0.417945534, -0.2090110481, -0.4271990359, -0.0373886898, -0.6396961808, 0.3646240532, 0.6918980479, -0.1666378081, 0.8323565125, 0.7176901102, 0.7190743089, -0.5300488472, -0.3292152286, -0.4515617788, -0.184555307, -0.379678905, 1.240855217, -0.4051184356, -0.1498811245, 0.191357404, -0.0546771586, 0.2664236128, -0.5147300363, 0.303201437, -0.5828234553, -0.2186029553, -0.5189600587, -0.5417746305, -0.0920072868, 0.6152098775, -0.7851499915, 0.9782915711, 0.1209540889, -0.3992179632, 0.5759109855, -0.6872683764, -0.1067853197, 0.1700560749, 0.1496479511, -0.1523200125, -0.0988774821, -0.1711494029, 0.3184146285, -0.6851260066, -0.3267557025, -0.6119621992, -0.5142650604, 0.5682230592, -0.1832335144, 0.5926293731, 0.2513947487, -0.4980278611, 0.1178039908, -0.7659195662, 0.366219312, 0.1875100136, -0.1538432091, -0.3052215576, 0.1826290488, 0.3258045912, 0.193232134, 0.2412654608, -0.845857203, 0.0144503573, 0.1008030772, -0.033030808, 0.6589882374, 0.111180231, -0.2790030837, -0.5319773555, 0.7249330878, -0.4988356829, 0.4897225797, 0.3035268486, -0.4578559697, -0.7193343639, -0.3550786674, 0.1361689866, 0.4117409289, -0.4552195668, 0.2292016745, -0.4237353504, -1.0126225948, -0.4013869464, -0.0186635032, 0.4832468331, -0.1013378501, 0.4306939542, -0.7565246224, -0.2579948008, -0.7293593287, -0.2571416199, -0.0940306857, -0.1639712006, 0.0909855142, 0.3220144808, -0.3228549957, 1.1457066536, -0.4284764528, -0.2844541669, 0.0188349318, 0.2033157349, -0.328487277, 0.1860941052, 0.4811947346, -0.6530344486, -0.293340683, -0.0020628376, -0.6480539441, -0.2356341332, 0.1103709415, -0.1333866566, -0.3452267051, 0.2599730492, -0.5959541798, 0.442722261, 0.2328967005, -0.2391241044, 0.391477406, -0.1803129613, 0.3024807572, -0.5705117583, 0.2388172299, -0.0697939545, -0.5653357506, -0.3493662179, 0.3595451117, 0.1268392056, 0.020482678, -0.6380572319, 0.7136156559, -0.4936713576, -0.4421197772, -0.447532475, 0.395657748, 0.0761472359, 0.6147848964, -0.4784561992, 0.5992716551, 0.2566766143, -0.778267324, 0.7970812321, -0.0150733842, -0.4361029267, 0.7627974749, -0.4668329358, 0.335973978, 0.1333423853, 0.5558590889, -0.8082678318, -0.0697090104, 0.0520903058, -0.3038248122, -0.3265886605, 0.3237304688, -0.493476063, -0.4138472676, -0.607981205, 0.0841617286, 0.2648691833, -0.1792002916, 0.5521883965, 0.5599752665, 0.2993519604, -0.4380998313, -0.3891912997, 0.0655429289, 0.0547311604, -0.286844939, 0.3442220688, -0.1431050003, -0.5107728839, 0.1605561823, -0.1980795711, -0.4545605481, 0.4635179043, 0.3146503568, -0.1448730528, 0.0886544138, 0.0221858211, -0.0837734193, -0.0640696809, 0.1234220788, -0.1656409353, 0.395064801, -0.3713846505, -0.528427422, -0.4799571633, 0.1026814729, 0.7055675387, -0.3980019689, 0.2703310251, 0.7217239738, -0.8150022626, -0.1398094594, -0.6849124432, -0.0499982201, -0.4462350309, 0.2237404287, -0.6210569739, -0.3559058607, 0.6305195093, -0.2581229806, 0.4009510279, 0.4056639671, 0.5235478878, -0.1924313903, 0.7671726346, 0.4738907814, 0.3422898352, 0.3663149178, -0.179350391, -0.3857757747, -0.7012488246, -0.2822459042, -0.3420640826, -0.3265959024, -0.5418188572, -0.6601235271, 0.2511676848, -0.0242466405, -0.0271213539, 0.475982666, -0.300596714, 0.4387945831, 0.32125476, 0.3198240101, 0.0751447082, -0.2153138816, -0.295145452, 0.3657130003, -0.1350488067, -0.4354513288, 1.2381807566, 0.1132856607, 0.505009532, 0.5635333061, 0.1486536115, 1.0500990152, 0.3957774341, -0.5118722916, 0.6434909105, 0.3765336871, -0.6405689716, -0.335213691, 0.0389177278, -1.2568330765, 0.4567966759, -0.2334089875, -0.8402422071, 0.1896837056, 0.0923367366, -0.3231134713, -0.0366243124, -0.4404532909, 0.8720144033, -0.2102996111, -0.7761999369, -0.9651198983, -0.406548351, -0.148323074, 0.0078317085, -0.0528656393, -0.502411902, -0.2612744272, 0.4710108638, -0.574943006, 0.7665365338, -0.3403269947, 0.3034986854, 0.4848303497, 0.1143729389, 0.5248970985, -0.2308727801, 0.0255853105, 0.05530807, 0.1762234122, -0.6280160546, -0.7360982895, 0.5048633814, -0.8539369106, -0.2685291171, -0.6087668538, -0.0148812477, -0.6669517159, 0.0512999184, -0.1178733632, 0.4963639081, -0.6697055697, 0.1216252148, 0.3702465892, -0.050512135, 0.3967290521, 0.8133504391, -0.2661395371, -0.332585007, 0.947781384, -0.2405903041, 0.1297030598, 0.4576961398, 0.0823848546, -0.4564617574, -0.3931542039, -0.5136876106, -0.108338505, -0.8558400869, -0.1585232317, -0.6520918608, 0.2445764244, -0.2804087996, 0.0767673105, -0.6504768133, -0.3344486356, 0.0719414204, -0.0474583395, 0.2844541669, 0.7705445886, -0.0758758485, -0.0309189651, -0.5183824301, 0.1773779839, 0.6480588317, 0.4926579595, 0.1688163728, 0.1211390272, -0.309442997, -0.2301280349, -0.476744324, -0.918305397, -0.0294622611, 0.0498945825, 0.9199626446, 0.5665818453, 0.0050591091, 0.8478340507, -0.1433518678, 0.5767800808, -0.0195681881, -0.903326273, 0.3638936281, -0.3826586306, 0.3494448364, 0.8685408831, 0.3530239165, -0.4904926717, -0.3934382796, -0.3544779718, -0.5147461891, 0.382548362, 0.3560870588, -0.3178046048, 0.0713252425, 0.1285772771, 0.2416342944, 0.2802474201, -0.1769371927, -0.1328624636, -0.3929040134, 0.0882304907, -0.0090793744, 0.2074221075, -0.1580838561, 0.0695145503, 0.4533836544, -0.3974965215, 0.5483261943, 0.1824560612, -0.4654822946, 0.0076487265, -0.0225619953, 0.591665566, 1.1203999519, -0.5013500452, 0.0868608877, 0.367308557, -0.5893238187, 0.2187069654, 0.3015502691, 0.206864357, -0.334335655, 0.3796060085, 0.460391134, 0.0777544677, -1.0954372883, 0.6637590528, -0.5834515095, 0.3233213723, -0.4969178736, 0.2432150692, -0.1096089855, 0.3294472992, 0.5725918412, 0.1001401395, 0.4361409843, -0.4822794199, 0.2395008206, 0.2416858524, -0.6886744499, -0.41523543, 0.5672100186, 0.5896596313, -0.4037628174, 0.2525534928, -0.4665308297, -0.3734158874, 0.9074921012, 0.1782347709, 1.2178999186, -0.1393661201, 0.204960078, 0.1131733283, 0.2858212888, 0.0602986589, 0.3423058689, -0.3988925517, -0.6331463456, 0.0807412416, -0.6718785167, -1.0103384256, -0.1384951621, -0.717805028, 0.1288465708, -0.476957798, -0.4798138142, -0.1884036809, 0.2516864538, -1.0707538128, 0.4897760451, 0.080245845, 0.8398888707, -0.519751668, 0.6150758862, 0.8205860257, -0.2788654566, -0.1265015751, 0.0974429101, 0.3489687145, -0.4311238229, 0.0052274843, 0.3681875467, -0.5498361588, -0.2473781854, 0.0780765936, -0.8904242516, 1.18161726, 0.2684391439, -0.3291714191, 0.4748193026, 0.0177113321, 0.9518797398, -0.2072360516, 1.0260415077, 0.274217248, 0.5432631969, -0.3749361038, -0.9047281742, 0.2822732627, -0.6322920918, -0.050395254, -0.0760852695, -1.0481271744, 0.4369212985, 0.172056213, -0.2756686211, -0.1136530787, 0.6006385088, -0.0176453181, 0.3950769305, 0.8536669016, 0.3352921903, 0.9316382408, -0.0093183843, 1.1210731268, -0.1858489215, 0.2868967652, 0.9874600172, -0.5215200186, 0.8740923405, -0.0613907389, -0.3959483802, 0.5917049646, 0.89326334, 0.1374026686, 0.4674370885, 0.3413788676, -0.1758393645, -0.4592611194, -0.381429553, -0.2312439829, 0.7299521565, 0.1813803166, 0.3934620321, -0.2748523355, -0.0026326445, -0.2449548393, 0.0441130549, -0.0532290079, 0.5151357055, -0.2446801364, -0.9081591368, 0.2390210629, 0.1225767881, 0.2812342346, -0.7275623083, -0.0327913761, -0.2161250114, 0.3538305163, 0.0296684708, -0.5361675024, 0.1832354218, 0.1705343425, 0.1172245815, -0.1600460857, 0.6403448582, 0.2053643018, -0.1585990936, 0.6859442592, 0.5559247136, 0.5134063959, -0.2315963358, -0.7490656972, 0.153509289, -0.3545603454, -0.2287179977, 0.3224317431, 0.1013710797, -0.3450188339, 0.9380331039, 0.7531595826, -0.0824960694, -0.0166480616, 0.1281821728, 0.7433431149, -0.6657347083, -0.4884564877, -0.4652096331, 0.2582406998, -0.4573270977, -0.6432657242, 0.4954420626, 0.8440511823, 0.6684899926, 0.2419466227, 0.7957646251, -0.0787038207, 0.5138446689, 0.0570573434, 0.7271885872, -0.6041696668, -0.2656834722, -0.2329171151, -1.0646914244, 0.1723851264, 0.3593491316, 0.26277861, -0.1506868154, 0.8111409545, 0.5259215832, 0.099875778, 0.0295939501, 0.3720929623, -0.0322187394, 0.4391804934, 0.4022894502, 0.9024351239, -0.3609767258, 0.7054431438, -0.2644346654, -0.4123156965, -0.2724469006, -0.7423290014, -0.9353305697, -0.4459451735, -0.4023114741, -0.2877506912, 0.3978711665, 1.1132611036, 0.6639493108, -0.7660143375, -0.3681382835, -0.0912528038, -0.0075942595, -0.9216006994, -0.2019094676, 0.033150252, -0.0540162437, -0.750635922, 0.3827191591, 0.3283621371, -0.129892081, -0.5728346705, 0.0703828111, -0.0911672637, 0.2853576839, 0.3377109766, 0.32658571, -0.7173557878, -0.2785980403, -0.0733828545, -0.4529924989, -0.1358884573, 0.680065155, -0.8832165003, 0.6849249601, 0.4996818304, 0.8328568339, 0.8745121956, 0.1030314639, 0.5135515332, -0.1920776665, -0.0661126152, 0.2252214849, 0.1678673625, 0.3349461555, -0.0291065425, 0.6685031056, 0.2905094028, -0.2194955498, -0.6670365334, -0.1458902359, -1.0177249908, -0.2603465617, 0.8167832494, -0.4612261355, -0.0489020422, -0.3800480962, 0.3549241722, 0.3680680692, -0.3362576067, 0.8069706559, 0.6529844403, -0.1754072607, 0.2809383273, -0.5519320369, 0.331936717, 0.2260640562, -1.2371375561, -0.1753830314, 0.4416845143, 0.2810646296, 0.1056483015, 0.6277592778, 0.4312410653, 0.6676197648, 0.3885624111, 0.525138557, -0.000573213, -0.2980599403, 0.117963776, 0.3313633204, -0.1458531022, -0.4370394945 ]
http://arxiv.org/abs/2406.12369v1
http://arxiv.org/pdf/2406.12369v1
A Comparative Study of Continuous Sign Language Recognition Techniques
2024-06-18T07:51:44
2024-06-18T07:51:44
Sarah Alyami, Hamzah Luqman
cs.CL
cs.CL, cs.CV
Continuous Sign Language Recognition (CSLR) focuses on the interpretation of a sequence of sign language gestures performed continually without pauses. In this study, we conduct an empirical evaluation of recent deep learning CSLR techniques and assess their performance across various datasets and sign languages. The models selected for analysis implement a range of approaches for extracting meaningful features and employ distinct training strategies. To determine their efficacy in modeling different sign languages, these models were evaluated using multiple datasets, specifically RWTH-PHOENIX-Weather-2014, ArabSign, and GrSL, each representing a unique sign language. The performance of the models was further tested with unseen signers and sentences. The conducted experiments establish new benchmarks on the selected datasets and provide valuable insights into the robustness and generalization of the evaluated techniques under challenging scenarios.
[ 0.1341762394, -0.1052135825, 0.2478117496, 0.0744045153, -0.3615996838, 0.6303107738, -0.3461042047, -0.8462737203, -0.3046108484, 0.1830880642, -0.3729503453, -0.5836586952, -0.729847014, 0.1593674719, -0.4349900484, 0.5153599977, -0.0606036671, 0.7300277948, 0.1842867434, -0.305002749, -0.2536599636, -0.2639940381, -0.9007979631, -0.4260727465, 0.117896907, 0.2301115394, 0.6563252807, 0.1047153994, 0.715534389, 0.1992367506, -0.314602375, 0.0579939336, -0.2655850649, -0.0218942333, 0.4010782242, 0.3043504655, 0.2325483561, -0.0412611254, 0.8410486579, 0.9499499798, 0.0991098732, 0.225585416, 0.1183077171, 0.4601353109, -0.5727581978, -0.1729008406, -0.3096186519, 0.5728231668, -0.2037829906, 0.4559185505, -0.5164954662, -0.5294520259, 0.3251202106, -0.3029943705, 0.221894294, -0.1809098274, 0.8062289953, 0.0379674509, -0.2234860063, -0.7655563354, -0.8007552028, 0.9264027476, -1.0224639177, 1.0057268143, -0.0495114587, 0.5151664019, 0.1192892045, -0.7239325047, -0.468449682, -0.8241704106, -0.1718268245, 0.0775979906, 0.194679603, 0.012450818, 0.3278913498, 0.4584594071, -0.8674556613, 0.5349392295, -0.604303062, -0.3245313466, 0.6722750068, 0.3295827806, 0.3017244637, 0.2396010458, -0.4232072234, -0.3477180004, -0.4126763046, 0.5857977867, 0.0399083532, 0.6218811274, -0.5724927187, 0.3234337866, -0.2275729626, 0.9151650667, -0.0879252777, -0.3298359513, 0.2652918398, -0.105065167, -0.3366994262, -0.3350186646, 0.8331676126, -0.0666570738, 0.4827343225, -0.2996559143, -0.0576355867, 0.0704641864, -0.3996601701, -0.5726496577, -0.1518036425, -0.0006178541, -0.6764689684, -0.1729727834, 0.1450056434, -0.2443800718, -0.8473821282, -0.6634867191, -0.2858483791, -0.2950176299, -0.577046752, 0.2333703786, -0.2726180553, 0.5592842102, 0.2378006428, -0.4156193137, 0.519259572, 0.6285694242, 0.8085173965, -0.6444365382, 0.1584684849, -0.3793632984, -0.5321696401, -0.2806117833, 0.3570440114, -0.841548264, -0.4139152169, -0.0170533974, -0.1463533044, -0.1399087608, -0.2805548608, 0.5044900179, -0.6206130385, -0.1848545671, -0.2706682086, -0.4986429214, -0.0110857431, -0.0653483793, -0.7985254526, 0.8889659047, -0.2281762958, -0.1581116319, 0.8835219741, -0.4286828339, -0.6030429602, 0.3720184863, -0.3007214069, -0.7862145901, 0.1580716223, -0.0898772031, 0.6457974911, 0.0520431846, -0.2764672339, -0.2138988674, -0.515265584, 0.6032692194, -0.4821052253, 0.8126580715, 0.5772647858, -0.4121968448, -0.240347892, -1.0171638727, 0.2727891803, -0.1588727981, -0.4150216579, 0.0315217637, 0.0924647078, 0.1693385541, 0.4174961448, -0.0698370859, -0.700959146, -0.2504378259, -0.1949110627, 0.2888035178, 0.3283549845, -0.1838766634, 0.2007939368, 0.4728875458, 0.6010339856, -0.0469724499, 0.3235349655, 0.1257709414, -0.1962423921, -0.8186345696, -0.285356611, 0.178141579, 0.422837019, -0.0749396309, -0.1146642566, -0.1309849024, -0.5805290937, -0.3184033334, 0.1192111, 1.0583071709, 0.1612924486, 0.2731517553, -0.6315888166, -0.5948415399, -0.2980237007, -0.2091285586, 0.0690500587, 0.2943162024, 0.0776045099, 0.2639344931, 0.4076028764, 0.3598345518, -0.039053306, 0.0337164998, -0.2511871457, 0.088112548, 0.3448014557, 0.3150130212, 0.3246591687, -0.7126803398, -0.8398108482, 0.4725805521, -0.7861344218, 0.450913161, -0.5143661499, 0.6410970688, 0.2190379947, 0.631783545, -0.1526937783, 0.7555411458, 0.6936410069, -0.4319141805, 0.6115434766, 0.160640195, 0.2700603604, -0.1246296093, 0.0996887684, -0.0506572835, -0.1232894063, -0.9539088607, 0.0947593749, 0.2123330832, -0.457082808, -0.8584262133, 0.379971534, -1.1895686388, -0.5858408809, -0.2301910073, 0.0098645771, -0.2930315435, 0.2113331109, 0.4362780154, 0.6561222076, 0.6506293416, -0.8462163806, -0.0704097003, 0.0326067917, -0.6543794274, 0.1448960751, -0.6204914451, 0.4680210054, 0.0010488208, -0.0758020878, -1.3559268713, 0.1959255338, 0.3374687731, -0.5990831852, 0.3525235951, 0.0481622517, -0.1145794243, -0.6701586246, -0.0161090977, 0.1307582259, 0.7100647688, -0.3882615566, 0.5854563117, -0.0962465182, 0.3677822053, -0.7774690986, -0.8630239367, 0.0462331437, -0.1921250373, -0.1577124149, -0.2079247087, 0.0633306205, -0.3016863465, -0.5168212652, -0.116267398, -0.1104618683, 0.2895192206, 0.4244904816, -0.1311333328, -0.198605448, -0.1482739598, -0.1926850677, -0.1113438755, -0.3216764331, 0.1062813476, 0.3873665631, -0.2354210615, -0.6325136423, -0.979003191, 0.0115872007, 0.5605932474, -0.270499438, 0.5319679976, 0.4426410198, -0.1587981284, 0.1222580448, -0.4783639014, 0.114959158, -0.4311736822, 0.021489609, -0.5249037743, -0.9627361298, 0.5308299065, -0.1258482933, 0.398988843, -0.0635558665, 0.3128268719, -0.1993443817, 0.8102223277, 0.5337747931, -0.1032431498, 0.5326990485, 0.0572942868, 0.2663067281, -0.5452906489, -0.2383771986, -0.5107267499, -0.206074357, -0.0951940343, -0.2160358578, 0.0177383497, 0.1405844688, -0.1893842518, 0.7247266173, -0.5996828675, 0.3605307639, -0.1048466936, 0.2058526129, 0.4217459857, -0.0332533792, -0.2028558552, -0.1481927186, -0.2809098363, -0.6419118643, 1.0189348459, 0.3036875427, 0.3308030963, 0.0468335003, 0.3582826257, 0.4078928828, 0.3482296169, -0.5460657477, 0.5240975022, -0.2646057904, -0.2184479535, -0.4238464236, 0.01464359, -1.0443924665, 0.4925575554, -0.3563065827, -0.4082592428, 0.3401777148, 0.193865031, -0.4212180078, 0.1734518707, -0.6424002647, 0.5444570184, -0.5364387631, 0.0984635055, -0.2499599606, -0.6972740889, 0.2133693844, 0.0071747042, 0.3308045864, -0.1455512345, 0.1747959405, 0.4251896143, -0.1466809064, 1.1146509647, -0.3048679233, -0.1986327916, 0.2448300123, -0.0197986457, 0.4745011032, -0.2077739537, -0.4504908025, 0.2948893011, -0.1714750379, -0.2658481896, -0.2762521505, 0.427786231, -0.5976178646, 0.1561507732, -0.5044152141, 0.0036820741, -0.0946899801, 0.1118742824, 0.0671533197, 0.3974606693, -0.6152404547, -0.0690484121, 0.4595628083, -0.098879613, 0.8689162135, 0.802618742, 0.0534827076, -0.3181593716, 0.5014967918, -0.0485595167, 0.5472254157, 0.2388867587, 0.153060481, -0.194451198, -1.0621522665, -0.2780126035, -0.0058369059, -0.8210197091, 0.0890649706, -0.2017159611, -0.0572632514, -0.5905282497, -0.1605068892, -0.0944591984, -0.441014111, -0.1657075286, -0.2456656694, 0.3222189546, 0.4585489035, -0.1638933867, 0.2571737468, -0.4465561807, 0.1596685499, 0.0485928766, 0.0255559161, 0.2740091681, -0.3280864954, -0.194762066, -0.0267594419, 0.0387815386, -0.5092284083, -0.0491639897, 0.5357431173, 0.4535018802, 0.6821013093, -0.1222771406, 0.8640088439, -0.3654333055, 0.9131376147, 0.7216922641, -0.8867976069, 0.2096054405, -0.0302093085, 0.4178265631, 0.7278345227, 0.3166847527, -0.7381072044, -0.2706792951, -0.2738966048, -0.5989003181, 0.023607811, 0.3427631557, -0.0010329003, 0.1196978465, 0.3755857348, 0.3365117311, -0.050385002, -0.8694509268, -0.0665513575, -0.0335906968, -0.1803891957, 0.1934566945, 0.211146906, 0.2895882726, -0.3466501534, 0.2182951719, 0.0241255593, -0.0962266475, -0.0606435388, -0.3974211216, 0.1179522946, 0.1396976262, 0.850571692, 0.8203031421, 0.3746659458, -0.2263215333, 0.632401824, -0.7662181258, -0.029272642, -0.3062535524, -0.1775272042, 0.2797389925, 0.6531282663, 0.9312286377, 0.1669678092, -0.9063380957, 0.3655753732, -0.0881481841, -0.1185280457, -0.8485058546, 0.0126838172, -0.2851881087, 0.1864044964, 0.2676147521, 0.0708574951, 0.1814429015, -0.2575770915, 0.1405141652, 0.6163649559, -0.7738265395, -0.2547843456, 0.3204407096, 0.070264481, -0.3403812051, 0.7124657035, 0.1187661067, -0.2579781115, 0.6607575417, 0.1413345039, 0.7749233246, -0.2510235906, 0.2871814072, 0.6204327345, 0.1493788511, 0.0959515944, 0.4096417427, -0.5994064808, -0.6649216413, -0.592419982, -0.3976277411, -0.6168743372, 0.0231449306, -0.7608302832, 0.3627818227, -0.782065928, -0.0424613133, -0.0425351597, -0.033479616, -0.9014906287, 0.6382242441, 0.5858914852, 0.7367119789, -1.0810658932, 0.574984014, 0.3389661312, -0.2754691541, -0.6750969291, -0.194189474, 0.1307348162, -0.8880515695, 0.9061086178, 0.0909059942, -0.5043991208, -0.2007674277, -0.5269366503, -0.9712696671, 0.9092954397, -0.1661420316, -0.9943112731, 0.3299743831, 0.6518706679, 0.7517395616, -0.1524573117, 0.1756976843, 0.7872623205, 0.4225185215, 0.0753375217, -0.9406413436, 0.1162010133, 0.0425041504, 0.0545772165, 0.0763759613, -0.4825255871, 0.3019340634, -0.2347884029, -0.6933068037, 0.5618991852, 0.9984689951, 0.5799130797, 0.4251365364, 0.4683469832, 0.3585995138, 0.885342896, -0.1367524862, 0.6612747908, -0.1411720663, 0.2918139398, 0.8465211987, -0.5690079331, 0.8726648092, 0.3644637764, -0.3527006209, 0.5555631518, 0.4671284556, -0.1700212359, 0.5978693962, 0.5715764761, -0.3178323507, -0.3678729534, 0.2509127557, -0.2395938486, 0.1940512508, 0.426926136, -0.4307108223, -0.1641948521, 0.5842849016, 0.1054754704, 0.3298009038, -0.3033884168, 0.6765008569, 0.3818956017, -0.3554825783, 0.6054720283, -0.379948169, 0.6712853312, -0.5247365832, -0.0236149859, -0.0694583952, 0.3336080015, -0.3330365419, -0.6291826367, 0.2445492297, 0.0799931511, 0.2699711919, -0.4214943945, 0.838814199, 0.1446139663, -0.4896673858, 0.2049440593, -0.0611365661, 0.5774575472, 0.5375156403, -0.9767095447, 0.4922187328, -0.1722657382, 0.0688981712, 0.039085146, 0.1254540533, -0.0659806952, 0.6160672903, 0.796032846, 0.0090184091, 0.1804940552, 0.3950986564, 0.573679626, -0.6947631836, -0.2684934437, -0.5853223205, 0.7650710344, -0.3610139489, -0.8587605953, 0.9195249677, 0.5356733203, 0.6844647527, -0.3081428111, 0.743886292, -0.0248972438, 0.6832031012, -0.6892871857, 0.5372094512, 0.0410455167, 0.0290439967, -0.4259421229, -0.3414721489, -0.6325255632, 0.6186963916, -0.2486179918, 0.0210014563, 0.5902973413, 0.5047384501, 0.0585331656, 0.0386519618, 0.3543815613, -0.4446500242, 0.2205584943, 0.5973566175, 0.9259819984, -0.6552506089, 0.4495254755, 0.1021284908, 0.1111949757, 0.0871610194, -0.8916322589, -1.1007403135, -0.4740031362, -0.7263744473, -0.3116781712, 0.1965791583, 0.5229658484, 0.8694276214, -1.0663542747, -0.4233514667, -0.2837897837, -0.3508713543, -0.8420261145, -0.1747372448, 0.4471946359, -0.2055001706, -0.3781155348, 0.8552995324, -0.201966539, 0.2409995496, -0.1235861406, -0.5148090124, 0.2402251959, -0.2137514204, 0.5623236299, 0.9387270212, -0.7705227137, -0.2717110813, 0.0322511159, 0.0021136436, -0.102014415, 0.9416680336, -0.7212827802, 0.1368323267, 0.4846005738, 0.4362205863, 0.6004515886, -0.0953270644, 0.2812313437, -0.5538594127, 0.1516634673, 0.2739177346, 0.0473063886, 0.4962039888, -0.2915465832, 0.54448241, -0.0515299216, -0.1068375334, -0.7757979631, 0.4612289667, -1.1220754385, -0.3440725505, 1.071095109, -0.2549574673, 0.2712367773, -0.4901298881, 0.151334241, 0.0286027174, -0.0885487348, 0.2564851046, 0.3915885389, -0.3701346815, -0.5389356613, -0.2856136262, 0.5935608149, 0.2350526899, -0.2103606164, -0.1257958114, 0.4471789598, 0.4447467327, 0.0783435479, 0.6002572775, -0.2990824282, 0.4513274729, -0.3048619926, 0.158888787, -0.1102754399, -0.0427298918, -0.6627807021, 0.2015587837, 0.1475044638, -0.2018526495 ]
http://arxiv.org/abs/2406.12364v1
http://arxiv.org/pdf/2406.12364v1
Does Context Help Mitigate Gender Bias in Neural Machine Translation?
2024-06-18T07:44:13
2024-06-18T07:44:13
Harritxu Gete, Thierry Etchegoyhen
cs.CL
cs.CL
Neural Machine Translation models tend to perpetuate gender bias present in their training data distribution. Context-aware models have been previously suggested as a means to mitigate this type of bias. In this work, we examine this claim by analysing in detail the translation of stereotypical professions in English to German, and translation with non-informative context in Basque to Spanish. Our results show that, although context-aware models can significantly enhance translation accuracy for feminine terms, they can still maintain or even amplify gender bias. These results highlight the need for more fine-grained approaches to bias mitigation in Neural Machine Translation.
[ -0.2228941917, -0.6393787861, 0.4147194326, 0.2954609692, 0.025017174, -0.5182133317, -0.133082822, -0.4107426703, -0.2809426785, 0.5277418494, -0.7711498141, -0.3804627061, -0.7628711462, 0.3417335749, -0.5830899477, 0.8927582502, 0.0585558563, 0.7006005645, -0.1815225631, -0.1707490832, -1.0340138674, -0.719905436, -0.5438505411, -0.6587651372, 0.2547304332, 0.0239170305, 0.6319867373, 0.5590503216, 0.2851466537, 0.2274123728, -0.3607924581, 0.1587944031, -0.2068841159, 0.2767392695, -0.191795662, -0.7021270394, -0.4989663363, -0.003144867, 0.6762343049, 0.9998595715, 0.1512848884, 0.0411593318, 0.0627233237, 0.7205492854, -0.4389281869, -0.1186827794, -0.6549060345, 0.4422866106, -0.0373540521, -0.313811034, -0.5245966315, -0.0516415909, 0.3795134127, -0.3209362328, 0.4954806268, 0.0536981858, 0.4570016861, 0.4404429197, -0.968726635, -0.1125254333, -0.8373102546, 0.8345447779, -0.6279659867, 0.3371504545, 0.3828785717, 0.4577802122, -0.1939775646, -0.2164453566, -0.1401503533, 0.133820802, -0.2890315056, -0.0497673452, -0.3891904354, -0.0869948268, 0.3582624495, -0.1518122554, -0.1350331008, 0.0443809405, -0.4282250702, -0.1718448699, 0.3709053099, 0.1101813316, 0.655616045, -0.2718584538, -0.2817422152, 0.0463916324, -0.8979972601, -0.101577796, 0.5417914987, 0.3740011156, -0.0232853647, 0.4667747915, -0.068855755, 0.6330506802, 0.0375116058, 0.0361872576, 0.1547071785, -0.2443311512, -0.2061545104, 0.366535753, 0.3878517449, 0.5491093397, 0.3456251621, -0.377728194, -0.2082384527, -0.1609176993, 0.5080459714, -0.6381399632, 0.2001914382, -0.0325505063, -0.5071257949, -0.4095745385, -0.1672292799, -0.4962254763, -0.258095026, -0.3699673116, 0.1597980857, -0.1965319812, -0.0620800368, 0.0641687065, -0.4568415284, 0.0557981469, 0.3520585895, -1.0216525793, 0.0608663224, 0.5495486259, 0.6812571287, 0.2513722181, -0.188445136, -0.214563936, 0.2404908389, -0.6019138098, 0.303166002, -0.3248669505, -0.3648036122, -0.128916353, 0.1233802512, -0.2289989144, -0.4739088714, 0.4033474028, -0.3523221314, 0.3237430155, -0.5248052478, -0.1088485792, -0.1996874362, 0.1321023256, -0.5082775354, 0.7463456988, 0.0166430175, -1.0250086784, 0.4959461689, -0.5910565257, -0.6103348136, -0.5289629698, -0.2135574967, -0.1723123789, 0.3175072968, 0.4595549405, 0.2838896811, -0.2119567692, 0.5228102803, 0.0471086092, -0.328717947, 0.5229327083, -0.5882442594, 0.6960434914, 0.0202689096, -0.7060958147, 0.2470839173, 0.038669575, -0.347964108, -0.1040606424, -0.0241148081, -0.6488183141, -0.0333924778, 0.1729214936, 0.6950380802, -0.0858496949, -0.2268051803, -0.0289541427, -0.3944014907, 0.7186591029, 0.6633780599, -0.4124416113, 1.1080867052, -0.100894995, 0.5142830014, 0.2665220797, -0.0674286187, 0.1229761317, -0.5502875447, -0.5468989015, -0.242579028, 0.4465394318, 0.6339372993, -0.7687146068, 0.4216177166, -0.2482884228, -0.1882081777, -0.5828924179, 0.0575854033, 0.7001859546, 1.0227794647, 0.462957412, -0.0683114529, -0.598193109, -1.357260704, -0.5785572529, 0.4015002549, -0.2260086983, 0.4458796382, 0.6270818114, -0.4834650755, 0.9804779291, -0.1812453121, -0.3538138568, -0.1396598071, 0.0524944514, 0.0001773934, 0.7382285595, 0.8906123042, -0.9347890615, 0.0991239622, -0.1684084982, -0.8731589317, -0.2590941191, -0.048241891, -0.6020871997, 0.1622605026, 0.5230884552, -0.4330046773, 0.3207256496, 0.5413010716, -0.6333608627, 0.182356298, -0.2285437435, 0.0744846314, -1.1214259863, 0.3620229363, 0.0006722595, -0.5909790993, -0.7901649475, -0.0675983503, 0.156747371, 0.2029619813, -0.5583078265, 0.7747331262, -0.334934324, -0.2637546659, -0.2931085229, 0.0242033135, -0.0454775356, -0.0697790757, 0.2614367604, 0.9234621525, 0.2595861256, -0.7857102752, -0.4955295026, 0.4765994251, 0.0126932254, 0.7031625509, -0.5137972236, 0.0232683625, -0.4146939516, 0.5485113859, -0.6827812195, -0.2067724913, 0.1849971116, -0.4376291931, 0.1964599043, -0.2576695681, -0.256634742, -0.1320800781, 0.0200003702, 0.2888756394, 0.3428043425, -0.4622724354, 0.2499678284, 0.2640093267, 0.1026205197, -0.9722182155, -1.3227533102, 0.0800383911, -0.3555216789, -0.5479393005, 0.598207891, 0.1258833259, -0.2385786325, -0.2622697949, -0.2924582064, -0.092154935, 0.4023571312, 0.0823568031, 0.2434370071, -0.0396651141, 0.1647936106, 0.3834333718, -0.0223125666, 0.105055511, -0.3452220559, 0.5985395312, 0.0043847742, -0.0790297762, -0.1443163753, 0.4572870135, 0.5682971478, 0.0323195606, 0.9620748758, 0.6839231849, -0.5594761968, -0.1623966843, -0.2690164447, -0.6503750086, -0.4269129932, 0.4011829495, -0.4418297708, -0.9226257801, 0.6268841028, 0.0046968153, -0.1965366453, 0.5706679225, 0.3992346823, -0.3222652078, 1.4298142195, 0.6168834567, -0.0316741504, 0.513476789, -0.056992203, 0.1381187737, -1.1461766958, -0.0052159373, -0.6411287785, -0.703694284, -0.710547924, -0.2417866141, 0.2750479281, 0.1814024597, -0.2899692655, 0.315810442, -0.6213781238, 0.2111186683, 0.6182274222, 0.0994359404, 0.1245780736, 0.0258588456, 0.0562070571, -0.3936241567, -0.8760637641, -0.7352656126, 1.079241991, 0.5211903453, 0.1493516117, 0.202141121, 0.3198171854, 0.3137224019, 0.3158750832, -0.2773037255, 0.3179986179, -0.4747604728, -1.094014287, -0.0647366792, -0.5853602886, -0.8245450258, 0.2600421607, -0.1969074607, -0.6694030166, 0.5130127668, 0.2844039202, 0.2021654248, 0.2435756475, -0.5602419376, 0.9547854066, -0.2062225342, -0.2303585261, 0.0996384621, -0.6548995376, 0.4927893281, -0.0804215819, 0.3202112913, 0.0010849095, -0.079065375, 0.5766251683, -0.1857002079, 1.0331002474, -0.2257149965, -0.1335770935, -0.2301034182, 0.2015659213, 0.2201095521, 0.0068785893, -0.1309388578, 0.4579113424, -0.1719855517, -0.4513319433, -0.2921342254, 0.426009953, -0.7744373083, -0.5159044266, -0.1200253144, -1.0595654249, -0.0410381816, 0.2852329612, 0.5741595626, 0.1472664475, -0.1768869758, 0.1130526587, 0.6613237858, -0.2143757492, 0.2423010617, 0.309938699, -0.0981744453, -0.1048937291, 0.1785638928, 0.1515773088, 0.1960266978, 0.1846295595, 0.128109321, -0.2431544662, -0.1355959475, -0.8065089583, -0.084985055, -0.9634572268, -0.0365261547, -0.9063199162, 0.0866607353, -0.5246472359, -0.3680127561, -0.2915957868, -0.5877581835, -0.1009012759, -0.0199239552, 0.2734348476, 0.4465685189, 0.4049481153, 0.7001764774, -0.4637486935, 0.1267164201, 0.1005856693, -0.1723894924, -0.2406056821, -0.6505007148, 0.1784964949, 0.2232446671, -0.0359470993, -1.0734797716, 0.8166153431, -0.0624852069, 0.524710834, 0.2084666342, -0.2298142165, 0.3204794526, -0.6284983158, 0.654502213, 0.0718609616, -1.1746073961, 0.6662073731, -0.710226953, 0.4672619998, 0.4147608876, 0.2792444825, -0.7570133209, -0.2808480561, -0.3116265535, -0.8909426928, 0.7803373337, 0.2437471002, 0.6111125946, -0.0640402958, 0.4893124998, 0.1254051775, 0.7407670617, -0.7330802083, -0.3178433478, -0.1344736367, -0.1420122087, -0.0770636275, -0.1568491459, -0.4241513014, -0.3770181537, 0.5790364742, -0.1531219631, 0.6042613983, 0.2829072475, -0.3274410665, 0.0778735951, 0.4598447382, 0.9105747342, 0.4815769196, -0.1817364991, 0.1569862962, 0.4151179492, -0.3416998088, 0.1712905765, -0.1575895697, -0.8651225567, 0.2748045623, 0.31529513, 0.832054615, 0.4030309319, -0.3618798554, 0.4090819061, 0.012142567, -0.2539043725, -0.145893544, -0.0171163138, 0.2806143165, 0.3023805618, 0.2959726453, 0.5792834163, 0.3291810155, -0.455321312, -0.1207926795, 0.4298761785, -0.5038742423, -0.098170951, 0.9446485639, 0.2501364946, -0.2248546332, 0.5521851778, 0.180003494, -0.8461896181, 0.9771926999, 0.9610518813, 1.0240545273, -0.3392580748, -0.0222687218, 0.3475901484, 0.573261261, -0.3872115016, 0.0919599235, -0.0125202062, -0.7655590773, -0.0758846924, -0.2578273416, -0.1692575812, -0.3521513641, -0.5545967817, 0.2732700109, -0.057386186, -0.525108099, -0.1967698187, -0.698990941, -0.8617898226, 0.2828102708, 0.0543188564, 0.8346302509, -1.0563004017, 0.9235116243, 0.823679328, -0.2935634851, -0.4033709466, -0.0206185449, -0.0032637219, -0.2167773545, 1.1576256752, 0.3995758295, -0.3021969497, -0.1193891689, -0.1961593926, -0.7151611447, 1.1107742786, 0.6987996101, -0.4887189567, -0.1653399765, 0.2134092152, 0.4824280739, -0.5846680403, 0.3769099712, 0.5366382599, 0.6528957486, -0.4616912603, -1.066146493, 0.0176651664, -0.2963641286, 0.3095877469, -0.1025318429, -0.0451057404, 0.9650006294, 0.2683080435, 0.1371976882, -0.3285571933, 0.2714237273, -0.0338229388, 0.4340456426, 0.3972138762, 0.0500650592, 0.7280393839, -0.2799434662, 1.1334294081, -0.2229858041, -0.0787020847, 1.1824508905, -0.1194197014, 0.5672464371, 0.6690167189, 0.3175977767, 0.2537845969, 0.5157808661, 0.2173002511, 0.4830033183, -0.0026963991, -0.2246241868, -0.1626072973, -0.2959776819, -0.5630568266, 0.579543829, 0.2152741104, -1.0616592169, 0.009137189, 0.2754921913, 0.3371141255, 0.1992980689, -0.2089033425, 0.4868608415, 0.2503801882, -0.7084929943, 0.3825967908, 0.4218606949, 1.0059956312, -0.3352344632, 0.1396072209, -0.2283496708, 0.2240522206, -0.2886803746, -0.3043364286, 0.5978171825, -0.0260547604, -0.7013028264, -0.5696605444, 0.9435327649, -0.5561769605, -0.3880157173, 0.365470767, 0.7209920883, -0.0404011644, -0.1232296452, -0.5297361612, -0.4632661045, -0.0708616599, -0.1265495121, 0.3580109775, 0.0946742296, -0.4979129136, 0.6903534532, 0.5179535747, 0.0000887567, 0.2207038999, 0.0118406117, 0.4698574245, -0.438752532, -0.5615531802, -1.0808471441, 0.4406310022, -0.1565032601, -0.3376984, 0.8545203805, 0.3191082776, 0.7881006598, -0.4279561043, 0.608869195, 0.2487916946, 0.0824620053, -0.388687551, 1.1049146652, -0.4338142574, 0.2223897278, -0.4310114384, -0.9573784471, -0.4255853295, 0.7181338072, -0.8274627924, 0.2467767745, 0.5125666857, 0.6705836654, -0.2211577743, -0.0031351494, 0.2413925827, -0.1345691234, 0.0131048029, 0.2404523194, 0.5644690394, -0.6468550563, 0.2316278815, -0.1925459206, 0.1124054417, -0.2756290138, -1.0921660662, -0.9354179502, -0.2512322366, -0.2256510854, -0.2832680941, 0.2857668698, 0.7437918782, 1.0902442932, -0.5554193854, -0.0699973777, -0.3610344529, 0.2489407659, -0.2983592749, -0.147091046, 0.1620681137, -0.357670635, -0.9168838859, 0.4429462552, -0.2115952522, -0.0149037372, -0.27854231, -0.1482163072, -0.1081790775, 0.1726768315, 0.4763891995, -0.2861178815, -0.613656342, -0.2052098662, 0.2060298324, -0.4694215953, 0.089926593, 0.7895117402, -0.5588200092, 0.49932307, 0.6267501712, 0.5397161841, 0.2810351849, -0.1451469213, 1.1116659641, -1.1981406212, 0.4704217017, 0.0897002742, 0.407582581, 0.4963700175, -0.8219380379, 0.6397894025, 0.1117261574, -0.260027945, -0.7994202375, 0.210779205, -0.3617404997, -0.5965721011, 1.0239436626, 0.0068723387, -0.3281655908, 0.0564078167, -0.3406490088, 0.5699180961, -0.205621317, 0.655302465, 0.8146427274, 0.2889819443, -0.0766077414, -1.342930913, 0.5602662563, 0.9684707522, -0.6238431334, -0.0740432888, 0.3924684823, 0.4403510392, -0.0509172343, 0.4176473022, -0.130409658, 0.3939255476, -0.233684063, 0.3151251078, 0.0703571141, -0.2968990803, -0.4670044184, -0.2453786135, -0.1920688897, -0.0081811212 ]
http://arxiv.org/abs/2406.12354v1
http://arxiv.org/pdf/2406.12354v1
Cross-Lingual Unlearning of Selective Knowledge in Multilingual Language Models
2024-06-18T07:40:18
2024-06-18T07:40:18
Minseok Choi, Kyunghyun Min, Jaegul Choo
cs.CL
cs.CL
Pretrained language models memorize vast amounts of information, including private and copyrighted data, raising significant safety concerns. Retraining these models after excluding sensitive data is prohibitively expensive, making machine unlearning a viable, cost-effective alternative. Previous research has focused on machine unlearning for monolingual models, but we find that unlearning in one language does not necessarily transfer to others. This vulnerability makes models susceptible to low-resource language attacks, where sensitive information remains accessible in less dominant languages. This paper presents a pioneering approach to machine unlearning for multilingual language models, selectively erasing information across different languages while maintaining overall performance. Specifically, our method employs an adaptive unlearning scheme that assigns language-dependent weights to address different language performances of multilingual language models. Empirical results demonstrate the effectiveness of our framework compared to existing unlearning baselines, setting a new standard for secure and adaptable multilingual language models.
[ -0.0857747495, -0.5423616171, 0.0062934798, -0.0701961964, -0.2843739092, 0.3429488838, -0.4352398515, -0.3740874231, -0.199532479, 0.7615019679, -0.4448982477, -0.298186034, -0.4989086986, -0.2201840132, -0.1900013983, 1.0142143965, -0.008665395, 0.2158482373, -0.0738853291, -0.5343708992, -0.3583173454, -0.7583168149, -0.2677237988, -0.4561762214, 0.5827608705, 0.4175991118, 0.5506250262, 0.4421584606, 0.19577007, 0.2414203286, -0.0056753494, 0.0594874956, -0.704665184, 0.1827902049, -0.5001055598, -0.4479324818, -0.027249651, -0.1637263, 0.7522600889, 1.021389842, -0.2678844333, 0.119062379, 0.2739535868, 0.825941205, -1.0700970888, -0.0698172078, -1.0026234388, 0.1730991304, -0.3264634311, -0.0639264286, -0.7166004181, 0.1926207989, -0.048501242, -0.7275744677, 0.1410222054, -0.2385217249, 0.505500257, 0.0730795786, -0.311488688, -0.0919808, -0.7091617584, 1.0399323702, -0.2121016979, 0.8498198986, 0.602103591, 0.1633317322, 0.2607141733, -0.5722458363, 0.0784687176, 0.1619828641, -0.0999155268, 0.0949321166, -0.4194069207, -0.2763951123, 0.0155866984, -0.0431675017, -0.4944421649, 0.3479820192, -0.5649485588, -0.2914114594, 0.3698895276, -0.3459519148, 0.3435569704, 0.0959436446, -0.4580743909, 0.0138483476, -0.8370780349, 0.0047811074, 0.4124399722, 0.501539588, -0.0780446753, 0.3244965672, -0.1869592369, 0.3914909959, -0.134132579, -0.1926353872, 0.3240873516, -0.1218441427, -0.1341460645, 0.0819687843, 0.6749591231, 0.0043392298, 0.4625861347, -0.5658858418, -0.1585571617, -0.1868763715, 0.191950351, -0.7050077915, -0.2750589252, -0.0873175636, -0.4708990157, -0.1115496531, -0.1523294002, -0.8057906628, -0.3928970098, -0.0753234103, 0.3906804323, -0.4767369926, -0.4391275644, -0.1127152368, -0.0629951209, -0.208746627, -0.0091023706, -1.0059002638, 0.1168131828, 0.3303847611, 0.5131136179, -0.0646477789, -0.6979593039, -0.4971698225, 0.3862406611, -0.3152990043, 0.3906762302, -0.6768731475, -0.3729945421, -0.0329893678, 0.2435870469, -0.1624142826, -0.5534558296, -0.0460976884, -0.890006423, 0.1985922158, -0.208033219, -0.3996559381, -0.3562721908, 0.0328154713, -0.7248194814, 0.7099889517, 0.031679146, -0.8660358787, 0.5004597306, -0.4087604582, -0.610157907, -0.1813675761, 0.1325509995, -0.4454636574, 0.0192404427, 0.2453236282, 0.2418166548, -0.2439286858, 0.2599513829, -0.3606629372, -0.0183218475, 0.1574525088, -0.6334354877, 1.0966389179, 0.4716501534, -0.0560354739, 0.0536609367, -0.8523334861, 0.1516727358, 0.1778533608, -0.4490493536, -0.6161425114, -0.1960819364, 0.0657169595, 0.1005859599, 0.4429295361, -0.4971145391, -0.088214308, -0.1642288417, 0.3079246581, 0.7712310553, -0.1278844625, 0.7454848289, -0.3780649304, 0.5504215956, 0.1346223503, 0.1765568107, -0.1359013915, -0.2246313095, -0.499271512, -0.4488844275, 0.4773914218, 0.7098556757, -0.7519295812, -0.0852526352, 0.0312724486, -0.5765282512, -0.7534529567, 0.6574359536, 0.8120648265, 0.3448035419, 0.4393877089, -0.2159646899, -0.5383409858, -0.7473239899, -0.6199643016, -0.0949022919, 0.0585624315, -0.0476041026, 0.3095836341, -0.2302385122, 0.5250287056, -0.1536796838, -0.0593560264, -0.4002426863, 0.1661637872, -0.3134973943, 0.6702234149, 0.440245837, -0.8886150718, -0.5278530121, 0.3307981193, -0.8885647058, 0.016314486, -0.0222205557, -0.2315187603, 0.4213231504, 0.4728612602, -0.1836948097, 0.2191628069, 0.7048091888, -0.0284482967, 0.2116464972, -0.5368350744, -0.0852385238, -0.9271970987, 0.320436269, -0.5030863285, -0.1635563672, -0.8997247219, 0.2694900334, 0.3161377609, -0.1338417381, -0.6477258801, 0.7071133852, -0.8351109028, -0.0327760503, -0.2796105444, -0.130343616, 0.0541003719, 0.6553493142, 0.1870032698, 0.393769294, 0.6727077365, -0.5231509209, -0.0351930372, 0.0492971614, -0.3709232211, 0.3841234148, -0.2674253285, 0.2293150276, -0.3157480061, -0.2628741562, -0.5019307733, 0.0689789355, -0.0351989381, -0.280479461, 0.5159502625, -0.543171227, -0.146088019, 0.3322266638, -0.0963771194, 0.7639453411, 0.5231744051, -0.6073147058, 0.6050325632, 0.8730474114, -0.1863503158, -0.9097790718, -0.6990597248, -0.110474214, -0.2325951308, -0.3358175457, 0.1981759816, -0.1030726731, -0.2303083241, -0.0846082568, 0.0086445939, -0.5918924809, 0.336314857, 0.0987126976, 0.067159161, 0.043106772, 0.128345415, 0.0774079114, -0.2994863987, -0.2029996514, -0.5296587944, 0.5294914246, 0.280569911, -0.551663816, -0.1396199614, 0.6390553117, 0.6341603398, -0.6020777225, 0.7971130013, 0.6781503558, -0.7668938637, -0.3905058503, -0.3064822853, -0.0290564243, -0.4502720535, 0.4749278128, -0.4110417366, -0.7577821016, 0.6567329168, 0.1154687628, 0.3704363704, 0.0678534433, 0.5481914878, 0.2397500426, 1.0420686007, 1.0439094305, -0.278567493, 0.5886051059, 0.1877978146, 0.1224297583, -0.4159226418, -0.3030704856, -0.5131941438, -0.0744794086, -0.679936707, -0.3023471534, 0.1203235388, 0.3589045703, -0.2403428257, 0.2261949182, -0.1628487557, 0.7063412666, 0.7582806349, 0.1102152914, 0.4406293035, 0.1463853568, -0.3607293367, 0.0115715098, -0.8493734002, -0.1873982847, 1.3288429976, 0.0617551692, 0.8376128078, 0.1909630597, 0.5486425757, 0.0105500929, 0.3910434842, -0.2622739673, 0.0922570899, -0.5139939189, -0.8385565281, -0.3876094818, -0.7164568305, -1.0178933144, 0.5283648372, -0.0714394897, -0.8240181804, 0.055665765, 0.0467347987, -0.1509114057, 0.700589776, -0.6851671338, 1.0408632755, -0.3943571746, -0.3448760808, -0.2325124741, -0.4615444541, 0.2849746943, -0.6747638583, 0.5399618745, -0.0229530968, 0.0642172918, 0.8793649077, -0.0418286696, 0.9627460837, -0.3067518175, -0.038247712, -0.0066737016, 0.3219920397, 0.3941156268, 0.0436610579, -0.1892876178, 0.3164048195, 0.0316964164, -0.6397534609, -0.3907275498, 0.4812181294, -0.7438183427, -0.3204022944, 0.013784132, -0.7528387308, -0.3185840845, 0.5509492755, 0.3832493126, 0.0806325525, -0.371723026, 0.1013190448, 0.7415269017, -0.3478818238, 0.4083561599, 0.9569406509, -0.2293221205, -0.4111033976, 1.1232198477, 0.2820686102, 0.4747644365, 0.7454475164, 0.0561037175, -0.1471963227, -0.3683506548, -0.4779819846, 0.1099679023, -0.8651422858, -0.001962723, -0.7104625702, -0.0141794588, -0.3757902086, -0.25589481, -0.6813309193, -0.3771438897, -0.1583282351, -0.1499745548, 0.106050618, 0.5682749152, -0.2932789326, 0.1395217925, -0.9374356866, 0.2998128533, 0.2522405386, 0.3859252632, -0.0728968382, -0.657068789, -0.3864261508, 0.2416594625, -0.1179330945, -0.5860894918, 0.4743992984, 0.2602174282, 0.8024545312, 0.4279592335, 0.2718793154, 0.546782136, -0.4360840023, 0.2649766207, 0.3101627231, -0.9158834219, 0.2624826729, -0.1573856473, 0.4043783247, 0.6316704154, 0.5369244814, -0.7576890588, -0.2865131497, -0.5371682048, -0.8154713511, 0.7545699477, -0.2360103875, 0.0412218273, 0.4861500561, 0.0490522757, 0.4580393434, 0.1952257156, -0.8173264265, -0.088797003, -0.1491892487, -0.1729203612, -0.3478544652, -0.2210268378, -0.1666609049, -0.0809106901, 0.6868259907, -0.1094924062, -0.2016062438, -0.3564886153, -0.658744216, -0.1781630069, 0.3210157752, 0.2580583096, 0.6700129509, 0.0931390822, 0.2254833281, 0.4354770184, -0.4197736382, 0.2480228394, -0.1137226224, -0.4603115618, -0.2422398776, 0.345054388, 0.5737482309, 0.4196498096, -0.6702339053, 0.266841501, 0.0305996072, -0.0851035938, -0.0174395144, -0.1681124419, 0.1142817587, 0.0302155279, -0.0109659377, 0.1522839814, -0.2827314138, -0.5604219437, 0.4744902849, 0.4260806441, -0.6482987404, -0.4277623296, 0.6604102254, -0.054879263, -0.0168514214, 0.6107484102, 0.0836232379, -0.4395765066, 0.2579694986, 0.5484111905, 0.7445530891, -0.5384858847, 0.1865706146, 0.0465032719, 0.5753959417, -0.1451469064, 0.3417459726, -0.0302120112, -0.8818818927, -0.1267398447, -0.5404585004, -0.2899591625, 0.1061327383, -0.7415612936, -0.0205847826, -0.6319597363, 0.1835067123, 0.0672133714, -0.23801893, -0.6248981953, 0.0916694775, 0.0666620508, 0.6203362942, -0.8672493696, 1.0825055838, 0.6586710215, -0.3490011394, -0.5366023183, -0.2905331552, 0.0869472399, -1.0202928782, 0.415795505, 0.0242809709, -0.0086012268, -0.2336304486, 0.0164186675, -0.8833951354, 0.5829079151, 0.8726264834, -0.3801450729, 0.1659881175, 0.3892364204, 0.1792242229, -0.1547941267, 0.0601637661, 0.3454579711, 0.3772337437, -0.4148134887, -0.8543620706, -0.116387479, -0.3467506468, -0.3483253121, 0.2344183773, -0.7081167698, 1.0999543667, -0.2424825132, -0.3099862337, -0.2000585347, 0.4330888987, -0.0589983873, 0.1943404078, 0.5256522298, 0.4309540391, 1.2255724669, 0.2256726027, 0.5312012434, -0.5434142947, 0.1324604601, 1.0254346132, -0.4812901914, 0.6693224311, 0.3195360005, 0.1731647402, 0.1432731003, 0.3992129862, 0.3201134801, 0.7256147265, 0.0363845639, -0.2557674348, -0.4682674706, -0.175993219, -0.1926742345, 0.6676671505, 0.0023809357, -0.3041320145, -0.3035732806, 0.377553761, 0.3133371174, 0.0646659657, -0.1900715977, 0.7803985476, -0.0325400457, -0.6152762771, 0.7327913642, 0.2020912021, 0.500089407, -0.7822464108, 0.2675446868, -0.2880083323, 0.5465096235, -0.151017502, -0.2383940071, 0.2528848052, 0.3371260464, -0.5069856048, -0.5683252215, 0.5769369602, -0.7192948461, -0.6182708144, 0.7766806483, 0.7546105981, 0.0199868716, -0.1027935371, -0.7011575699, -0.1837708801, 0.224344641, -0.2213287801, 0.8381279111, 0.6097011566, -0.3373492658, 0.8648398519, 0.7965750694, -0.009256117, 0.1744889021, 0.3539747894, 0.7735633254, -0.5109194517, -0.7043833137, -0.6123550534, 0.4319250584, 0.2652488649, -0.2470135838, 0.7642999887, 0.6037145257, 1.3589674234, 0.2101564258, 1.0040844679, 0.3935004175, 0.4665369987, -0.6529886723, 1.219984889, -0.6936376095, 0.298361659, -0.2558721602, -0.5138279796, -0.3037744462, 0.2393648922, 0.0705657303, 0.187760666, 0.5073967576, 0.9447278976, -0.1545000672, 0.0304425079, 0.5787668228, -0.0155730415, 0.0620529614, 0.6433563828, 0.7291042209, -0.1510509253, 0.7181127071, -0.5522915721, -0.3425088823, 0.1176901087, -0.6222396493, -0.8767860532, -0.530711472, -0.1069962233, 0.0589747988, 0.3274415433, 0.4850747287, 0.7828316689, -0.9789633751, -0.4641799331, 0.2658829689, 0.4176068604, -0.4590745866, -0.122355476, 0.2615196705, -0.3413498998, -0.4944756627, 0.6306595206, 0.0534068383, 0.0026872393, -0.1915865839, -0.1594063044, -0.1845153719, -0.0919616967, 0.3231768012, 0.5346781611, -0.2553645074, -0.0690123588, -0.0294448566, -0.0145606417, -0.0661318973, 0.9607772231, -0.5314365029, 0.4091501832, 0.4576705992, 0.7199085951, 0.3271419704, -0.4032863081, 0.5539146662, -1.0614625216, 0.4709299803, 0.0397681408, 0.6383501291, 0.3617696166, -0.2999998629, 0.2121890336, 0.2874888182, -0.2263904959, -0.9941068292, 0.2636274695, -0.4471624494, -0.8681927919, 0.8410938978, -0.4209265113, -0.3157441318, -0.3764921427, 0.2041968107, 0.4210861921, -0.1703532934, 0.6488260031, 0.4861463904, 0.4577513635, -0.1718855351, -0.2871338129, 0.308991909, 0.6228827834, -0.6120432615, 0.6964452863, 0.2447084039, 0.424256593, 0.0611653887, 0.5551715493, -0.29977265, 0.3155324757, 0.0899598822, 0.1847712994, -0.1168404222, -0.8147420883, -0.4070994854, 0.4150623977, -0.0785835162, -0.0502288379 ]
http://arxiv.org/abs/2406.12347v1
http://arxiv.org/pdf/2406.12347v1
Interpreting Bias in Large Language Models: A Feature-Based Approach
2024-06-18T07:28:15
2024-06-18T07:28:15
Nirmalendu Prakash, Lee Ka Wei Roy
cs.CL
cs.CL
Large Language Models (LLMs) such as Mistral and LLaMA have showcased remarkable performance across various natural language processing (NLP) tasks. Despite their success, these models inherit social biases from the diverse datasets on which they are trained. This paper investigates the propagation of biases within LLMs through a novel feature-based analytical approach. Drawing inspiration from causal mediation analysis, we hypothesize the evolution of bias-related features and validate them using interpretability techniques like activation and attribution patching. Our contributions are threefold: (1) We introduce and empirically validate a feature-based method for bias analysis in LLMs, applied to LLaMA-2-7B, LLaMA-3-8B, and Mistral-7B-v0.3 with templates from a professions dataset. (2) We extend our method to another form of gender bias, demonstrating its generalizability. (3) We differentiate the roles of MLPs and attention heads in bias propagation and implement targeted debiasing using a counterfactual dataset. Our findings reveal the complex nature of bias in LLMs and emphasize the necessity for tailored debiasing strategies, offering a deeper understanding of bias mechanisms and pathways for effective mitigation.
[ -0.3916598856, -0.8970774412, 0.6086034775, 0.4078351259, -0.0801586062, -0.1540671736, -0.1823457032, -0.4819181561, 0.2487726808, 0.819331646, -0.6953910589, -0.3406884372, -1.0188499689, -0.0479093567, -0.5547201633, 0.9994905591, 0.0680894107, 0.3545601368, -0.0772925392, -0.2802758217, -0.703867197, -0.4535104334, -0.3720903099, -0.7128449082, 0.4507219195, 0.1285247505, 0.7267210484, 0.6702240705, 0.2347372472, 0.1655809134, -0.5103174448, 0.058977183, -0.5875896215, 0.1224234104, -0.2363330275, -0.7103331089, -0.4248741865, 0.0652126521, 0.6108344197, 0.9423667192, 0.0801609382, 0.4808716476, 0.4518523216, 0.557842195, -0.5818356872, 0.1916131526, -0.8895998001, 0.0137157477, -0.334220022, -0.0435347445, -0.3275875747, -0.2272024304, 0.2370904088, -0.168626979, 0.418816179, -0.1233039349, 0.5330252647, 0.4319324791, -0.5418512225, -0.3152077794, -0.6296679974, 0.991401732, -0.5577762723, 0.3239320815, 0.2738007903, 0.0787642002, -0.3002782464, -0.2626776993, -0.4413176775, 0.0215022936, -0.0836240873, -0.4088561237, -0.2088247836, -0.2470041513, 0.3464502096, 0.1387504339, -0.037344981, 0.2971863151, -0.0912672952, 0.034279488, 0.5271265507, -0.055660069, 0.1823710948, -0.0305723343, -0.2636244595, 0.2486370057, -0.9917772412, -0.2076574564, 0.420794338, 0.3213341832, -0.1962023228, 0.5262930989, -0.0077824057, 0.4551049769, 0.2383175194, -0.0251709633, 0.2257742584, 0.117467016, -0.2848987281, 0.1887070388, 0.5837507248, 0.2021565288, 0.3106282055, 0.0585143007, -0.0073995278, 0.2223117799, 0.2162149996, -0.3617649078, 0.2296948582, 0.0843559876, -0.6483570933, -0.7958058715, -0.3129800558, -0.8669324517, -0.9117562771, -0.3108401597, 0.2247050107, 0.1778183132, -0.3494838774, -0.0001475054, -0.0433356836, 0.1102089733, 0.2743764222, -0.8173723817, 0.2346945256, 0.8520872593, 0.6266288161, -0.1335759312, -0.296405375, -0.341950804, 0.1407430619, -0.1829655617, 0.6140416861, -0.7414889336, -0.1448432356, 0.1854507178, -0.1298249662, 0.1053248942, -0.7024326921, 0.578900218, -0.4832036495, -0.1105119735, -0.7493599057, -0.1595498323, -0.2959609926, 0.1167517677, -0.8707404733, 0.9756526947, -0.0065997802, -1.1354076862, 0.7353158593, -0.6172910333, -0.2573034763, -0.5714437366, -0.3806469142, -0.3742986619, 0.2238054574, 0.4979001284, 0.3308614194, -0.6982253194, 0.7422050238, -0.6618055701, -0.31502074, 0.4907668233, -0.7283297777, 0.9360584021, -0.1263287812, -0.8548959494, -0.0238257255, -0.5865089893, -0.5851802826, -0.0042150021, 0.0740455911, -0.379874289, 0.2619988918, -0.062631987, 0.2620699704, -0.0870287493, -0.2274263352, 0.0980782583, -0.0987440348, 0.332149893, 0.7808830142, 0.0579079986, 0.5677179098, -0.0263609141, 0.3879427314, 0.282089591, 0.3828421831, 0.0696535632, -0.4769075513, -0.7443048954, -0.3921993077, 0.0924066529, 0.3621043265, -0.5528162122, 0.3460045755, -0.1325748712, -0.2558013201, -0.7326062918, 0.4033183753, 0.3152699471, 0.5145498514, 0.3421227634, -0.2471338212, -0.4562015831, -1.2110943794, -0.6128197312, -0.0632321909, 0.0437241234, 0.1278742552, 0.3098487854, -0.495457679, 0.9650310278, -0.4392763674, -0.3598905206, -0.4057497382, 0.2903694212, 0.2622816265, 0.179180339, 0.5171695948, -0.5459774733, -0.0102670789, -0.2904595435, -0.6937854886, -0.7648185492, -0.181766659, -0.1865876466, -0.0163512919, 0.4240374863, -0.5238322616, 0.5441550016, 0.5703715682, -0.4278309941, 0.4546823502, 0.3960569203, -0.1495099664, -0.6553537846, 0.07489191, 0.3278739452, -0.1441296786, -0.6599690914, -0.1271199137, -0.3797581494, 0.3682129383, -0.2176830173, 0.5946574807, -0.5213293433, -0.3582051992, -0.3359836638, 0.0265425257, 0.0174383502, 0.2995302081, -0.0312122051, 0.2879579067, 0.400763303, -0.3922502398, 0.0482196696, 0.1940233558, -0.2725262046, 0.5364906788, -0.4825070798, 0.0233033486, -0.3878048956, 0.5046727061, -0.7991627455, 0.0443307012, 0.3860682547, -0.1229415238, 0.0765548795, -0.2921783328, -0.340031147, -0.093532674, -0.3837324679, 0.5066623092, 0.2034456432, -0.5588183999, 0.441670835, 0.4373321235, -0.0971622542, -0.9834033847, -0.7058262229, 0.036508292, -0.5020692945, -0.2882052958, 0.0031171113, 0.3814345896, -0.6743521094, -0.1286695451, 0.0009058838, -0.0718844086, 0.2547076643, 0.4605848193, 0.1504784822, -0.1096476763, -0.0684529543, 0.2195967287, 0.0239041746, 0.3047232926, 0.0791098401, 0.5381075144, 0.3520027101, -0.5554129481, -0.1644867063, 0.1569333225, 0.6775577664, -0.1072789654, 0.8070552349, 0.6227326393, -0.2932765782, -0.4721134901, -0.878821969, -0.3103730381, -0.3790008426, 0.4339120984, -0.0683311, -0.8266273141, 0.6647135019, 0.0121330591, 0.0317046158, 0.4247818887, 0.8453829288, 0.2568380833, 0.9473526478, 0.6847909093, -0.5661915541, 0.4613013566, -0.0750775561, 0.1255163997, -0.9282644987, -0.1483591348, -0.475335747, -0.385753721, -0.5772106647, -0.5907180905, 0.2305098474, 0.1330412179, -0.2635413706, -0.1931385547, -0.2710618973, 0.2350549847, 0.4125790894, 0.1394097805, 0.2115589678, 0.0285481717, 0.0947027653, -0.1381911337, -0.5139660239, -0.588491559, 1.1615755558, 0.8449082375, 0.9095827937, -0.0338619798, 0.2762392759, 0.4545948505, 0.7373664975, -0.4963256121, 0.3457363844, 0.0511777438, -0.7389574647, -0.4089522958, -0.1274391562, -0.6446991563, 0.5777201056, -0.4949712753, -0.7429407835, 0.4854137599, 0.1680587083, 0.1707091331, 0.3018118441, -0.4316258132, 0.661922276, -0.1156587824, -0.5070956945, -0.3302811086, -0.3458556235, 0.6652598381, -0.2864887118, 0.3647864461, -0.2001636177, 0.0465980619, 0.5552737117, -0.0379136615, 1.2906965017, -0.2631345093, -0.5274556875, 0.1249433681, 0.1135561466, 0.3464550376, 0.0674964562, -0.319242388, 0.4461750984, -0.3335171342, -0.1545380801, -0.6215939522, 0.6081339121, -0.7198565602, -0.7376354337, -0.2541586459, -0.5669871569, -0.2331773192, 0.1040164605, -0.0770813152, 0.3534317911, -0.2306239605, -0.1032420471, 0.6376941204, -0.3648506999, 0.1256724894, 0.3771919608, -0.348850131, 0.0338991247, 0.3695119023, 0.2357979268, 0.1570781618, 0.1292921305, 0.3146281838, -0.1633459777, -0.490055114, -0.3339368999, 0.4399005771, -0.6796483397, 0.1077767983, -0.605643034, -0.0766298324, -0.2977808416, -0.0372068696, -0.3054905832, 0.018995991, -0.3083370328, -0.0436606556, 0.087994419, 0.9966164231, 0.1235460117, 0.4233695269, -0.3979629278, 0.3438074291, 0.248642236, 0.234904319, 0.4182684124, -0.5187866092, -0.0976268649, -0.0274471771, -0.2725610137, -1.1014913321, 0.4129124284, -0.2029271126, 0.5762382746, 0.5212099552, -0.2528969049, 0.4540136456, -0.5252404213, 0.6832658648, -0.0031454889, -1.0100295544, 0.4307989776, -0.4806475043, 0.0766849443, 0.3615254462, 0.2112154812, -0.5296314955, -0.6349750757, -0.6611121893, -0.7786406875, 0.6299903393, 0.00401732, 0.11403054, -0.0814648122, 0.506377399, 0.1991265267, 0.4289269149, -0.8259055018, -0.4277848303, 0.1850512624, -0.1314845383, -0.1755108088, -0.7456287742, -0.2543437481, 0.0096412562, 0.4777839184, -0.1211527213, 0.1823849678, 0.0920214057, -0.5397620797, -0.0155575899, 0.3805792332, 0.6372119784, 0.8026220202, -0.1453607678, 0.2282668352, 0.295661062, -0.5407595038, 0.0457501821, -0.0947736055, -0.340249747, 0.1184271127, 0.6497774124, 0.8613913655, 0.1750871986, -0.285820812, 0.6499993801, 0.4123553336, 0.1044798791, -0.0753157511, -0.1356417388, -0.0007230327, 0.6041502953, 0.3695967197, -0.2456709594, 0.3831163943, -0.5482715964, 0.0537008904, 0.5289855003, -0.6982163787, -0.4302024841, 0.6196796298, 0.1664684564, 0.2394304574, 0.1428535283, 0.2163882852, -0.6349927187, 0.6428493857, 0.4268572927, 1.0553710461, -0.2286120355, 0.187509194, 0.0523706116, 0.5575993657, -0.3034276962, 0.0721843764, 0.2809670568, -0.8835924864, -0.6009981036, -0.5927983522, -0.1812260002, 0.2888029516, -0.752974391, 0.3457581401, -0.2115266025, -0.1843577772, 0.1221110076, -0.4010787606, -0.7163459659, 0.090429388, 0.3584460318, 0.7820621133, -1.4022134542, 0.6566413641, 0.5347469449, 0.0339596123, -0.3871224225, 0.2625198662, 0.4511159062, -1.0868543386, 1.0120579004, 0.0838885456, -0.0726874694, -0.4559959471, -0.3737413287, -0.7850180268, 0.7851970792, 0.5150472522, -0.3997679353, 0.0977880508, 0.4348188043, 0.4487531781, -0.5206481814, 0.4678534269, 0.9065816402, 0.38401559, -0.31130144, -0.9870497584, 0.2447822094, 0.259095788, 0.1576379091, 0.0208516475, -0.4986437857, 0.6755518317, 0.109443754, 0.3088746071, -0.4859653711, 0.5139830112, 0.2552832663, 0.2554982007, 0.6815878749, 0.3233839869, 0.6014450788, 0.1159438938, 0.8129689097, 0.0001635123, 0.2815107107, 1.0262098312, -0.4325777888, 0.5686125755, 0.7439033985, -0.1782573611, 0.5151033401, 0.3093156219, 0.1144139692, 0.3193615377, 0.439281106, -0.1301248819, 0.0420226716, -0.4814466834, -0.0920012295, 0.5952524543, 0.268894136, -0.818567574, -0.2657513618, -0.0732490644, 0.3629597723, -0.0707421303, -0.4892351627, 0.4587982297, 0.2196788192, -0.4471308291, 0.2581412196, -0.0509655476, 0.8180472851, -0.331147939, -0.2059042007, -0.1926460713, 0.1779524833, -0.2979722619, -0.6608393788, 0.188774243, 0.126035586, -0.4712907672, -0.2075329125, 0.7821732163, -0.4096248448, -0.4581399858, 0.3258197606, 0.6356768608, -0.1811147481, -0.0653269216, -0.6603552103, 0.4983806908, 0.1198849455, -0.4111575186, 0.3348110914, 0.3263236284, -0.5445275903, 0.7371637821, 0.2841598988, 0.3915367424, 0.0699865595, 0.4621796906, 0.8478277922, -0.5501030684, -0.3051612377, -1.1320258379, 0.3613230884, -0.0280301124, -0.0467687957, 0.7312455177, 0.2127607763, 0.3764585853, 0.135176912, 0.7678768039, 0.3053957224, 0.553397119, -0.3848838806, 0.7056135535, -0.2383144349, 0.5009584427, -0.5455085635, -1.1488980055, -0.2370871305, 0.3872956634, -0.591653347, 0.1087817699, 0.3151607513, 0.6857075095, 0.0133214723, -0.0286759809, -0.0363214463, 0.3866651654, 0.4187222421, 0.1218493059, 0.888433516, -0.1099085733, 0.0469152741, -0.0063153123, -0.3669086099, -0.353646189, -1.0101972818, -1.0144864321, -0.1517904997, -0.217713967, -0.401596427, -0.0835693777, 0.8419038653, 0.3727073669, -0.5563488007, -0.2831437588, 0.2538074255, 0.4386309683, -0.1800121069, -0.2156116515, 0.3930631578, -0.3215120733, -0.5437449813, -0.0980387777, 0.0234705415, -0.3517366946, -0.7519786358, 0.2097244859, -0.0711875632, 0.1562316716, 0.7443435788, -0.0679210424, -0.9667117, -0.3654691577, -0.3083516061, -0.0300081745, -0.1408485621, 0.888156116, -0.6690427065, 0.2482985109, 0.2606697083, 0.5526755452, 0.3184396923, -0.1973896921, 0.7969589233, -0.4806489944, 0.2632649541, -0.1839330196, 0.292825073, 0.3342828751, -0.3824140131, 0.4522474408, 0.246263355, -0.2463404238, -1.0668730736, 0.2357701063, -0.650318563, -0.2713172138, 1.4297428131, 0.2030742317, -0.151126489, -0.2002893239, -0.2379941493, 0.3597377241, -0.1060375944, 1.0188593864, 0.6596940756, 0.0098306555, -0.1331166029, -0.8936242461, 0.5784268975, 0.4600532949, -0.460031569, 0.3515805006, 0.4912827611, 0.4731168151, 0.0411377735, 0.4764462709, -0.2093079835, -0.0221158061, -0.1608868688, 0.2521661818, 0.1678798199, -0.1476032287, -0.6744471788, -0.0669991001, 0.3425919712, 0.2165050805 ]
http://arxiv.org/abs/2406.12336v1
http://arxiv.org/pdf/2406.12336v1
A Compass for Navigating the World of Sentence Embeddings for the Telecom Domain
2024-06-18T07:03:34
2024-06-18T07:03:34
Sujoy Roychowdhury, Sumit Soman, H. G. Ranjani, Vansh Chhabra, Neeraj Gunda, Subhadip Bandyopadhyay, Sai Krishna Bala
cs.CL
cs.CL, cs.LG, 68T50, I.2.7
A plethora of sentence embedding models makes it challenging to choose one, especially for domains such as telecom, rich with specialized vocabulary. We evaluate multiple embeddings obtained from publicly available models and their domain-adapted variants, on both point retrieval accuracies as well as their (95\%) confidence intervals. We establish a systematic method to obtain thresholds for similarity scores for different embeddings. We observe that fine-tuning improves mean bootstrapped accuracies as well as tightens confidence intervals. The pre-training combined with fine-tuning makes confidence intervals even tighter. To understand these variations, we analyse and report significant correlations between the distributional overlap between top-$K$, correct and random sentence similarities with retrieval accuracies and similarity thresholds. Following current literature, we analyze if retrieval accuracy variations can be attributed to isotropy of embeddings. Our conclusions are that isotropy of embeddings (as measured by two independent state-of-the-art isotropy metric definitions) cannot be attributed to better retrieval performance. However, domain adaptation which improves retrieval accuracies also improves isotropy. We establish that domain adaptation moves domain specific embeddings further away from general domain embeddings.
[ -0.2630442977, -0.6661900878, 0.6527786255, 0.1258016229, -0.3464951813, -0.0752218515, -0.2463781387, -0.3595519662, 0.2937751412, 0.1844223291, -0.2001929581, -0.6220443845, -0.653716445, 0.2011698633, -0.146057412, 0.5138351321, 0.0792807713, 0.189706862, -0.2163607627, -0.3936222792, -0.3962387443, -0.5801414847, 0.0185688734, -0.1403347403, 0.1401855648, 0.3777003288, 0.95356071, 0.6129273176, 0.4704421163, 0.1632050276, -0.0380545221, 0.1665278226, -0.4434672892, 0.1472113431, 0.0353850126, -0.4635742605, -0.1575037539, 0.0752301961, 0.4644541144, 0.7266988754, -0.3377871513, 0.060115356, 0.335422188, 0.4763144851, -0.7608221769, -0.1197448224, -0.8102839589, 0.1993959397, 0.0254681278, -0.344928354, -0.4303916097, -0.5686792731, 0.4711157978, -0.9445858598, 0.1044542715, 0.3441680372, 1.1905690432, 0.1984575838, -0.658500433, -0.4219546914, -0.2755325139, 0.8791766763, -0.4946750104, 0.7166842818, 0.3948634863, 0.0558141656, 0.1470576376, -0.6501245499, -0.2220112532, -0.19079566, 0.1994727552, 0.0833755657, -0.2518873513, 0.1045936421, 0.0278397053, 0.0664563254, -0.3618597686, 0.0184016246, -0.1557052284, -0.1232322082, 0.3013825119, -0.0486049019, 0.0833459347, -0.0335664339, -0.4785914421, 0.0580263212, -0.9424644709, -0.144441396, 0.6337117553, 0.2201371491, 0.1374851912, 0.6278080344, -0.1349165887, 0.7463165522, 0.0543897711, 0.2739015222, 0.352635473, -0.2187810093, -0.1595002264, 0.1157192737, 0.4263933599, 0.5826089382, 0.769264698, -0.2449366599, 0.0498684198, -0.3609959781, 0.5877373219, -0.5008322597, -0.2116186917, 0.0149859525, -0.5992107987, -0.0583355241, 0.4526464343, -0.367546618, -0.1514988244, -0.2697947919, 0.4178161621, -0.6855381727, -0.0098652253, 0.3965684175, -0.2901029587, 0.3012990952, 0.2216010988, -0.6491778493, 0.4118400216, 0.8227543831, 0.9726353884, -0.09301202, -0.1208418757, -0.297560364, -0.0045971549, -0.344600141, 0.6040858626, -0.9355502129, -0.3650936484, 0.5771317482, -0.100980565, -0.3404167593, -0.5932118297, 0.786056757, -0.8514932394, 0.1755448878, -0.3438945711, -0.8586652875, -0.4059316516, 0.0771765634, -0.6040822268, 0.8433328271, -0.0374993086, -0.6865304112, 0.4448932111, -0.2707250714, -0.2504779398, -0.2210292518, 0.0156127531, -0.3322235644, 0.3493829072, -0.0112854252, 0.4517191947, -0.2177421898, -0.1478736699, -0.4552120566, -0.5374432206, 0.2786251009, 0.0490837023, 0.8889402747, 0.4335491955, 0.0828835443, -0.433570981, -0.5935314298, 0.4567341208, -0.4334954023, 0.0026970888, -0.7716506124, -0.0429849103, 0.1280594468, -0.046543248, 0.0707647651, -0.6877077222, 0.0859147161, -0.1156230345, 0.6706618071, 0.4687685966, 0.223640576, 0.4937257767, -0.4076362848, 0.3965618014, 0.3690222204, -0.0831833705, 0.1176253557, -0.5801497102, -0.4027075469, -0.0288093835, 0.5360375643, 0.5760760903, -0.4595075846, 0.5147035122, -0.4657449722, -0.4257245064, -0.9692963958, 0.1292575598, 0.3368329406, 0.2019034475, 0.5348173976, -0.2494290322, -0.2209603786, -0.8611807823, -0.7719996572, 0.1104660034, 0.0170885809, 0.3905384243, 0.3643349707, 0.0383583307, 0.945725143, -0.8269404173, -0.4582278728, 0.143195644, 0.0657917336, -0.0342089012, 0.3557546437, 0.4473856091, -0.9282155633, -0.5659441352, -0.2334077358, -0.5675965548, -0.0171271525, -0.1491294056, 0.2702977955, -0.0812694356, 0.4722948074, -0.5205724835, 0.1733085513, 0.4121559262, -0.2381370366, 0.4464173913, -0.3030458391, 0.2471768856, -1.1709578037, -0.2032268494, 0.2732460499, -0.3005888462, -0.4580965638, 0.0629342198, 0.2907120287, 0.0744016394, -0.2813076377, 0.1140407398, -0.7369214892, -0.0702404082, 0.03843119, 0.500748992, 0.1628008336, 0.0758953765, -0.2526769936, 0.9433760047, 0.549061954, -0.6560354829, -0.0109560806, 0.4952144325, -0.7530590892, 0.5586259961, -0.7944840193, 0.1146830022, 0.1124053821, -0.0066987928, -0.803368628, 0.2364563495, -0.2122053355, -0.4003728926, 0.0212974641, -0.2010193765, -0.3370968997, 0.2772730589, -0.4636612535, 0.404832691, 0.5292605162, -0.305387795, 0.0996593162, 0.4767729938, -0.1349221319, -0.8142228723, -0.7194642425, 0.1109195873, -0.2239772379, -0.6000772119, 0.8918004632, 0.3092188537, -0.1850648075, 0.1514802575, 0.0338927433, -0.2695686519, 0.0453544185, 0.1659811288, -0.0107312929, -0.4186301231, 0.3531641364, 0.1590996534, -0.001647456, -0.0448559448, -0.5581923127, 0.2066648304, -0.1167911589, -0.2451707572, -0.4101598561, 0.2518736124, 0.1591900736, -0.0901450068, 0.6991585493, 0.5258921385, -0.2218111306, -0.2818763256, -0.5246751904, -0.1187127605, -0.4607123733, 0.2033951879, -0.7742370963, -0.9947566986, 0.4122874141, -0.3573679328, -0.2518989146, 0.2231461108, 0.1071920916, -0.1186235696, 0.6797297001, 1.0107557774, 0.2110344321, 0.4462198913, -0.1043017283, 0.3622438312, -0.9828172922, -0.1467116475, -0.6643445492, -0.3096292019, -0.9189904332, -0.3415008783, 0.3347721398, 0.0439027287, -0.1413957775, 0.6042953134, -0.3553602099, 0.41915223, 0.3522168696, 0.1751155257, 0.3710090518, 0.2415189892, -0.5341562629, -0.3137653768, -0.8034244776, -0.546348989, 1.0431387424, 0.1367527246, 1.0102620125, 0.2042398453, 0.5829439759, 0.3424259126, -0.2396073639, -0.6373755336, 0.2547059655, -0.3728082776, -0.2851318717, -0.0749471486, -0.4901644886, -0.8615530133, 0.1300789267, -0.2280546427, -0.8587573171, 0.5663523078, -0.1439247429, -0.3832669556, 0.0465509593, -0.7663525939, 0.7000781894, 0.3079823256, -0.1604224443, -0.2952388227, -0.5289905667, -0.1223446205, 0.0443180315, -0.0794655606, 0.0290468615, -0.4498482049, 0.5237879157, -0.1966436207, 0.674458921, -0.0813297331, 0.1076304913, 0.2570363283, 0.2197706252, 0.0990925804, -0.0702296346, -0.4531652033, 0.2136585116, 0.2903593481, -0.3066518009, -0.5713258982, 0.8686419129, -0.9469905496, -0.6127776504, -0.3223573267, -0.3346007466, -0.3413477838, 0.1415939629, 0.4162287116, 0.5428132415, -0.4097697437, 0.5940306187, 0.7267363667, -0.2121789157, 0.2544516325, 0.149626106, 0.3189195991, -0.2702294886, 0.545470953, 0.3089532852, 0.3199739754, 0.7124269605, -0.1223559305, -0.6059032083, -0.4226367474, -0.2287673354, 0.1596958339, -0.783793807, -0.371550709, -0.7220714688, -0.2236323804, -0.5500333905, -0.3519109488, -0.1354181319, -0.8603297472, -0.4947102964, -0.26160115, 0.530710876, 0.5886746049, 0.176317215, 0.4123955667, -0.7312082648, -0.0332292989, -0.2177218199, 0.3909234703, -0.213506788, -0.7515134215, -0.4216426909, 0.1296108216, -0.4223791361, -0.8390369415, 0.2849604487, 0.778581202, 0.3666698933, 0.1789554656, 0.1489272863, 0.7984952331, -0.6777507663, 0.9919114709, -0.0159051009, -1.0506955385, 0.2938600779, -0.0112193068, 0.1043442041, 0.7319430709, 0.916241169, -0.4088527858, -0.1231443509, -0.6584535241, -0.5837593675, 0.0757678002, -0.0587936975, 0.5031989813, 0.0647491291, 0.5418792963, 0.1702561975, 0.137347579, -0.316295296, -0.1791623682, -0.2179665416, -0.351986587, 0.0984435827, -0.1876295209, -0.150456652, 0.065831244, 0.386873275, -0.0360471755, 0.4436712265, 0.4991144538, -0.4996558726, 0.160271734, 0.2798591256, 0.3873942792, 0.7040223479, -0.1517154872, 0.2109166235, 0.0898522139, -0.6785477996, 0.1679660082, -0.0227867719, -0.1381519139, 0.4406579733, 0.2444413155, 0.3994320929, 0.308819741, -0.3637087047, 0.7456250787, 0.1055593193, -0.1902139187, -0.3074311614, 0.0236324165, -0.071419619, 0.0494014248, 0.4639101624, -0.0109464834, 0.2612077892, -0.4226119816, 0.455383718, 0.4049641788, -0.6033782959, -0.1864334047, 0.622202456, 0.1779936552, -0.4546154737, 0.7058827281, -0.0085382359, -0.4040981829, 0.3096971214, 0.5596934557, 0.9858641028, -0.0387007818, 0.3758915067, 0.1672414988, 0.2042434067, -0.2204694301, 0.4129114151, 0.0582882501, -0.8813042641, -0.23147282, -0.2822062671, -0.39395836, -0.5134590268, -0.8984928131, 0.2725354433, -0.2589858174, -0.5210559368, -0.016678758, 0.0656375512, -0.7770186663, 0.0901071057, -0.478082478, 1.2718400955, -0.5697253346, 0.9656990767, 0.7290173173, -0.3497771323, -0.6720770597, 0.3020378947, -0.0362038277, -0.7846516371, 0.6223424077, 0.1063980982, -0.2721138597, 0.3290325701, -0.1617667824, -0.693170011, 1.4087293148, 0.1630880237, -0.4622529745, 0.0418244563, 0.1436977684, 0.4737767577, -0.7792534828, 0.3667637408, 0.1328467578, 0.1292202175, -0.3765431941, -0.823864162, 0.2587299943, 0.026014341, 0.1719833463, -0.0398977101, -0.6160097718, 0.6025937796, -0.329377681, -0.2870460153, 0.0492847562, 0.4625414908, -0.1329832226, 0.1308569014, 0.4086150229, 0.6556041837, 0.668566823, -0.1342606694, 0.979387641, -0.6109498739, 0.4662732482, 0.8100865483, -0.33558622, 1.0894690752, 0.4827449918, 0.0937903821, 0.8120324612, 0.5544461608, 0.0049084434, 0.7263196707, 0.1848518997, -0.0504461415, -0.1073490977, -0.0828026012, -0.4554583132, 0.4244098961, 0.3789621294, -0.5217729211, -0.1800731272, 0.011293564, -0.0796083435, 0.2340332419, 0.090867117, 0.6367251873, 0.5287919044, -0.5773949623, 0.7928848267, 0.111944817, 0.5688970089, -0.4358878434, 0.0523518771, -0.0231528915, 0.1243631169, -0.1617942601, -0.7749091387, 0.2266368121, -0.1475065798, 0.1642757654, -0.4176129699, 0.6500736475, -0.4215557575, 0.0177223273, 0.2204024047, 0.7713364959, 0.1036177874, -0.0399800614, -0.7985171676, 0.1966451406, -0.1093478128, -0.2089182287, 0.2571265101, 0.7634422183, 0.4079543054, 0.7123817205, 0.3623217046, 0.1118271351, 0.0344685763, 0.0961353257, 0.6488795877, -0.7183846235, -0.5592415929, -0.6342935562, 0.1549427509, -0.2324461937, -0.8383597732, 0.7640228271, 0.6435955167, 0.908370316, -0.2374626994, 0.4956036508, 0.0774250403, 0.1272310615, -0.7797347307, 0.5286170244, -0.4544231296, 0.3929221034, -0.0275727026, -1.1866849661, -0.2907039523, 0.8303983212, -0.4015531242, 0.002369456, 0.948572278, 1.0036562681, -0.4397755861, 0.1659305245, 0.3452702463, 0.1083514243, -0.014895075, 0.430516392, 0.7038770914, -0.6694427729, 0.5702934861, 0.1155192405, -0.09404587, -0.500477612, -0.9345223904, -0.4364698231, -0.7847540379, -0.4726483524, -0.3455070853, 0.4545537531, 0.8388961554, 0.8388738632, -0.5857591629, -0.2258655429, 0.111684531, 0.1055041701, -0.4781565666, -0.243411988, 0.2339722514, -0.5662212968, -0.5279429555, 0.1198482215, 0.1409827024, -0.076732181, 0.1213968024, 0.1792930067, -0.3654047549, 0.1233075932, 0.4091919661, -0.0453127623, -0.6047493815, -0.7021112442, 0.392278254, -0.3988325, 0.10328722, 1.119068265, -0.616327405, 0.2077029347, 0.3381061852, 0.8613542318, 0.2745038569, 0.1041460633, 0.7308661938, -0.8810179234, -0.0791784376, 0.2617435157, 0.3297885358, 0.2501558065, -0.4198927581, 0.5676659346, 0.1608390063, -0.7076964974, -0.7004669905, 0.3315803111, -1.1169612408, -0.2948190272, 1.2257163525, -0.4021704793, 0.0972422957, -0.3660477102, 0.1208003014, -0.0259514488, -0.336481154, 0.9027186632, 0.9631006122, -0.0359021127, -0.1010608301, -0.5656509995, 0.6908850074, 0.5096262693, -0.3068567812, -0.0849162489, 0.2433918715, 0.5612919927, 0.1838286668, 0.3024561703, -0.2183596641, 0.142362684, 0.1794646084, -0.5173326731, -0.0516343713, -0.2692311108, -0.3762713969, 0.2469088882, 0.0070160897, -0.3282629848 ]
http://arxiv.org/abs/2406.12335v1
http://arxiv.org/pdf/2406.12335v1
Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters
2024-06-18T07:01:11
2024-06-18T07:01:11
Zhiyu Guo, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.LG
Scaling the context size of large language models (LLMs) enables them to perform various new tasks, e.g., book summarization. However, the memory cost of the Key and Value (KV) cache in attention significantly limits the practical applications of LLMs. Recent works have explored token pruning for KV cache reduction in LLMs, relying solely on attention scores as a token importance indicator. However, our investigation into value vector norms revealed a notably non-uniform pattern questioning their reliance only on attention scores. Inspired by this, we propose a new method: Value-Aware Token Pruning (VATP) which uses both attention scores and the $ \ell_{1} $ norm of value vectors to evaluate token importance. Extensive experiments on LLaMA2-7B-chat and Vicuna-v1.5-7B across 16 LongBench tasks demonstrate VATP's superior performance.
[ -0.3455727398, -0.4262008369, 0.3149113953, 0.4674053192, -0.5425118804, -0.2577678859, -0.3174467385, -0.2341472507, 0.3899787366, 0.289506793, -0.2504985034, -0.4575097561, -0.4889894426, -0.2721546888, -0.3720709682, 0.8755144477, 0.1500388384, -0.1209479496, -0.4491453767, -0.3182936609, -0.8626782894, -0.7644260526, -0.6566689014, 0.0832982138, 0.6834090352, 0.3831779063, -0.0740066841, 0.7871720791, 0.7418572307, 0.1810380816, -0.4405861795, 0.1444507092, -0.7874414325, 0.2261222154, 0.0473326817, -0.7740526795, -0.7230546474, 0.0842547715, 0.6844273806, 0.3317450285, 0.2833788097, 0.5406355262, -0.2834648192, 0.7642068863, -0.9979125261, 0.4268466234, -0.6089348197, -0.07258863, -0.4425693154, -0.3990012407, -0.4742994905, -0.0933035165, -0.2825837433, -0.2712970376, 0.1125480086, 0.0780437812, 0.9937288761, 0.5014290214, -0.3292895854, 0.5343449712, -0.6180406809, 1.0795073509, -0.3700853884, 0.2087814957, 0.341753155, 0.1401454955, -0.0239483509, -0.6713274121, -0.3828073144, 0.2396977246, 0.1738226265, 0.1718420535, -0.1883448958, 0.3044845462, 0.1186788455, 0.4178863168, 0.0423108898, 0.0692882016, -0.5576830506, -0.3825255632, 0.1685824841, 0.3087690175, -0.1009920463, -0.2342432588, -0.4269389808, -0.2669950724, -0.9083520174, 0.4666254222, 0.0285257138, 0.1637896299, 0.2146596014, 0.4189703763, 0.0759593397, 0.5607985258, 0.1188528985, -0.2868685424, 0.0844653919, -0.4141866267, -0.3229032457, 0.0034312198, 0.4172531962, 0.7339585423, 0.3087091446, -0.0809819624, -0.0414788313, 0.1081470773, 0.4842424095, -0.8891266584, 0.0395842642, 0.2830508947, -0.674505949, -0.3575720787, -0.0752440542, -0.5005675554, 0.0977732465, -0.192068249, 0.198149085, -0.0829216912, -0.3203685582, -0.2207033187, -0.3624536693, 0.5070564151, 0.6066443324, -0.8434377313, 0.3359076381, 0.8295248747, 0.8688783646, -0.5273151994, -0.1176869869, -0.9132166505, -0.0314308889, -0.4443585575, 0.6743032932, -0.5771951675, -0.4648343027, -0.3411503732, -0.119667545, 0.0986547694, -0.5908251405, 0.6315792203, -0.5611014962, -0.3898328245, -0.7336357832, -0.4771412611, -0.1080797613, 0.32894364, -0.8069456816, 1.3240778446, 0.3703765869, -0.742554605, 0.6510968804, -0.4613646269, -0.5371644497, -0.0168374553, -0.007261225, -0.4056608081, 0.4905439913, 0.1806592643, 0.4308322966, -0.2969837189, 0.108045876, -0.165210247, -0.6674946547, 0.1361390203, -0.6277302504, 0.3181600273, -0.0451100357, -0.3612500131, 0.2360155731, -0.6543243527, 0.1543318778, -0.1443612278, -0.5725004673, -0.4329462349, -0.1934389174, 0.3314851522, 0.3157572448, 0.1984304339, -0.3470053077, 0.2478093058, -0.5134320855, 0.5907119513, 1.0693640709, 0.067395851, 0.3827556968, -0.2630470395, 0.585046947, 0.12821199, 0.359038651, 0.0187464375, -0.5581582785, -1.2742438316, -0.6654235721, 0.384916544, 0.0365611874, -0.0245161764, 0.3426969945, -0.5393148661, -0.328850776, -0.6992162466, -0.0649417043, 0.467038691, 0.397916317, 0.4237644672, -0.5804089904, -0.5048440695, -0.9395452738, -0.2560070455, -0.4251467288, 0.0958734751, 0.4946018159, 0.2336824089, 0.2105050683, 1.2716382742, -0.2153222412, -0.4284627736, -0.090419054, -0.1459833682, 0.0288270693, 0.2908605635, 0.5307403803, -0.8005405664, -0.3135170937, -0.1946437061, 0.00111558, -0.1102137715, 0.0163561366, -0.0328780711, 0.2055522352, 0.6773722768, -0.7044872046, 0.7652810812, 0.3532893956, -0.1237094849, 0.4174309075, -0.0882472545, 0.1563641429, -0.6647455692, 0.3520139456, -0.2676596045, -0.4821904302, -0.5321480632, -0.2313820869, 0.3304572999, 0.171511963, -0.7404364347, 0.9936441779, -0.2752125561, -0.2216261476, -0.2824462354, -0.0545819215, 0.2386048287, 0.7261850238, -0.1841574162, 0.9273286462, 0.0871005431, -0.8886387348, -0.0394936502, -0.0849013478, -0.158842355, 0.3703881204, -0.5208247304, 0.0025945955, -0.060513895, -0.0046233516, -1.2520076036, 0.2867375314, -0.0050731367, -0.4765288532, 0.487827003, -0.174033761, -0.440813154, -0.1419421285, -0.5180226564, 0.7366927266, 0.5039363503, -0.4637340903, 0.3553258777, 0.6401875615, 0.1112926453, -0.5823129416, -0.5511934757, -0.0720976666, -0.4426221251, -0.2809768617, 0.4673272967, 0.0386122428, -0.1690977514, -0.1002979577, -0.54044348, -0.0096440474, 0.1874120384, 0.3876180947, 0.0581529774, 0.0046585575, 0.6252885461, -0.0707247704, -0.4412721992, 0.0281663109, -0.2909040749, 0.489893496, -0.1570458412, -0.4414415956, -0.2667668164, 0.201897487, 1.0569353104, -0.4856828153, 0.7575861812, 0.6745066643, -0.1743039638, 0.0523307212, -0.7730528712, -0.1432050616, -0.4226229489, 0.3804830015, -0.1020311266, -1.1580406427, 0.541005671, -0.0876244381, 0.0697725192, 0.6485080719, 0.8304821253, 0.2654320896, 0.8082304597, 0.6175073981, -0.4912311733, 0.6562377214, -0.018789988, 0.4796061814, -1.0761173964, -0.0042337435, -0.5121998787, -0.4812002182, -0.4064092338, -0.8037913442, 0.3990260959, 0.0135278683, -0.0180159621, -0.1277347505, -0.8013178706, 0.5786668062, 0.4507128, -0.109486714, 0.1566540003, -0.0359355696, 0.1828356236, -0.3045606911, -0.7114768624, -0.164675802, 1.2583860159, 0.2979812324, 0.2472196519, -0.0285091177, 0.3697202802, 0.1656374335, 0.5102816224, -1.0330561399, 0.4396706223, 0.2110304832, -0.6143454909, -0.5547927618, -0.4562785625, -0.9613693953, 0.3868716359, 0.2950509787, -0.7215466499, 0.0138131212, 0.1448994577, -0.3327123225, 0.0382986926, -0.7443338037, 0.7175729275, 0.052392669, -0.1644817591, -0.4340648651, -0.4533225894, 0.3049879372, 0.0361807756, 0.1580739617, -0.2312100828, -0.2777747512, 1.0245859623, -0.5949484706, 0.9216344357, -0.1280591488, 0.3306663036, 0.3123280704, -0.1001569927, 0.6324886084, 0.1155845299, 0.1901440769, 0.0010653421, -0.1561430246, -0.4864270389, -0.4930458665, 0.8717446923, -0.6876885295, -0.7598705888, -0.1974389106, -0.24399589, 0.0377763659, 0.1473318934, 0.037395481, 0.0629222021, -0.0996341631, 0.2867974043, 0.7806817293, 0.1444727182, 0.46858266, 0.1193625778, 0.17798917, -0.194639191, 0.8269608021, 0.3973617256, 0.3375235796, 0.6042630672, 0.1955980659, -0.0957886577, -0.4816603661, 0.178687349, 0.1514304429, -1.021690011, -0.3286655247, -0.6691276431, -0.200015381, -0.284796983, -0.1551952809, -0.6874294877, -0.5957899094, -0.3919554949, -0.2419237047, 0.8151919842, 0.1094332263, 0.1542530209, 0.2438449264, -0.6691153646, 0.1675614715, 0.5159198046, 0.4200468063, 0.3432798982, -0.4606095552, -0.3090443611, -0.4627468288, -0.0326654576, -0.5224303007, 0.6562171578, 0.0854974464, 0.4993079603, 0.4176693559, 0.0855173692, 0.9047899842, -0.3127960861, 0.6607174873, 0.1503897458, -1.1207664013, 0.3838666677, -0.0985778347, 0.5047205091, 0.71745646, -0.2721126378, -0.7215000391, -0.3369150162, -0.881485641, -1.2789736986, 0.6453143954, 0.3957995474, 0.075638786, -0.3575562835, 0.5557137728, -0.1757559776, 0.4265806079, -0.5524427295, -0.3499812782, 0.052044116, -0.0488945246, 0.0824737251, -0.4897589684, 0.0321874693, -0.5400413275, 0.3044858575, 0.0359240659, 0.4138293862, 0.1822516024, -0.058633402, -0.0567304082, 0.1115723401, 0.4817547202, 0.5352699757, -0.111790508, 0.0688325241, 0.3611945808, -0.635633409, -0.0604035668, -0.6778324246, 0.1068653464, 0.1059773639, 0.2190396637, 0.7001791, 0.5420812368, -0.5850965381, 0.8653535843, -0.3642269373, 0.0832256898, -0.1796835959, 0.0899672955, 0.1627099067, -0.1711992323, 0.0227301307, -0.0694355145, -0.0490582846, -0.2022587955, -0.0223365817, 0.2733790278, -0.7460303903, -0.1378120035, 0.3620289266, 0.3386571109, -0.2983858585, 0.6265898943, 0.0159351565, -0.5016080737, 0.9466711879, 0.1475034803, 0.7569795251, -0.1882382929, -0.2576926351, 0.2834506333, 0.508228004, -0.0338600874, 0.0804852024, -0.4229110777, -0.2238256633, -0.6630249619, -0.6778132319, -0.283764571, 0.2644562423, -0.6384331584, 0.3886770904, -0.6236028075, -0.3191067874, -0.0512050129, -0.0679321364, -0.849488616, 0.1641605496, -0.3761838973, 0.6877161264, -0.6462580562, 0.8039788604, 0.3018418252, -0.1896430552, -0.6937334538, -0.212236315, -0.1172973812, -0.7269640565, 0.8404052854, 0.4502959847, 0.0884662643, 0.0059815636, -0.2479861826, -1.0724177361, 1.0214920044, 0.3044504821, -0.4885094762, 0.1007001325, -0.1743865013, 0.4334654808, -0.1825477928, 0.2384724021, 0.6537011266, 0.6850038171, -0.0328543186, -0.9413806796, -0.039010074, -0.3658109307, 0.0670743063, 0.6482340693, -1.1920907497, 0.9139267206, 0.0890970826, -0.2277126163, -0.4369725883, 0.4334468842, 0.0732673407, -0.14769876, 0.4143335223, 0.5530055165, 0.8143206835, -0.0200216249, 0.8632771373, -0.1858236194, 0.3048346937, 0.69642663, 0.0762186274, 0.7386023402, 1.0682184696, -0.2642140687, -0.1701359749, 0.6719697714, 0.1723185033, 0.5254745483, 0.3900288045, -0.0304957349, -0.5456287861, -0.0459584594, -0.2351342738, 0.5926204324, 0.5499374866, -0.2926648855, -0.0479587838, -0.2698333859, 0.1370904148, -0.5035424232, -0.3971886635, 0.6062788367, 0.1707674414, -0.7292513847, 0.6720927358, 0.1174253449, 0.307867676, -0.4331344962, -0.0594344474, -0.0953689367, 0.3520071208, 0.1368388534, -0.2627615333, 0.2231762558, -0.0416214392, -0.466293782, -0.2122654468, 0.6277573109, -0.0270884428, -0.2682298124, 0.216975674, 0.342291683, 0.2150235325, -0.2707763314, -0.1759739518, 0.1065465361, -0.2000944167, -0.6133378148, 0.7704893947, 0.5141352415, -0.4030993879, 0.7086923122, 0.7659444213, 0.2197539657, -0.0454955846, 0.1451740563, 1.1653786898, -0.68512851, -0.6039369702, -0.8921451569, 0.4499719441, -0.1952612847, -0.7088672519, 0.6856433153, 0.3865291476, 0.6478113532, 0.2475394458, 0.6989892721, 0.3810862899, 0.1003513411, -0.3765689433, 0.6340336204, -0.5918506384, 0.2181148231, -0.1726808697, -0.8133350611, -0.4856852591, 0.5176926255, -0.1462397724, -0.0371954739, 0.8094853759, 0.5141326189, 0.1581408978, -0.4670983255, 0.5016281605, -0.0062029189, 0.5204690695, 0.5452975035, 0.2784757018, -0.3273566663, 0.7187825441, 0.1263945848, -0.3441970348, -0.8186405301, -0.9101534486, -1.0689105988, -0.5065143108, -0.173419714, -0.2090830058, -0.082960017, 0.6312772632, 0.7781540751, -0.5864112377, 0.1422212869, -0.1333081424, 0.2200645506, -0.4135199785, -0.2288353592, 0.714174509, -0.5515938401, -0.4535918534, 0.0731840059, 0.8974872231, -0.1818427891, -0.3417060971, 0.1450771242, 0.0887672678, 0.2045370191, 0.507420063, 0.236007452, -0.8178116679, -0.5037038922, 0.1654324681, -0.2684236765, 0.3640298843, 0.9459663033, -0.8498554826, 0.6514396071, 0.5965656042, 0.5616225004, 0.7778427601, -0.1942516118, 0.5323306322, -1.0058743954, 0.4257515371, 0.4548712075, 0.3522133827, 0.1740946472, -0.4516750574, 0.1562777311, 0.2985487282, -0.527118504, -0.8833136559, 0.1128700078, -1.2082959414, -0.082905598, 1.2360910177, -0.0960558504, -0.859847486, -0.2838370502, -0.2856033444, 0.2001625896, -0.4880292118, 0.8778333068, 1.0390958786, 0.304212749, -0.2471987009, -0.3290756345, 0.6188079119, 0.6945204735, -0.6181897521, 0.5315902233, 0.1358979195, -0.0640333295, 0.1651882231, 0.9293128252, -0.236612767, 0.5051520467, -0.0389869735, 0.1669119895, -0.1331826001, -0.3711287677, -0.2426154017, 0.3184975684, 0.4269117117, -0.1775237769 ]
http://arxiv.org/abs/2406.12331v1
http://arxiv.org/pdf/2406.12331v1
Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
2024-06-18T06:54:28
2024-06-18T06:54:28
Weizhi Fei, Xueyan Niu, Guoqing Xie, Yanhua Zhang, Bo Bai, Lei Deng, Wei Han
cs.CL
cs.CL, cs.AI
Current Large Language Models (LLMs) face inherent limitations due to their pre-defined context lengths, which impede their capacity for multi-hop reasoning within extensive textual contexts. While existing techniques like Retrieval-Augmented Generation (RAG) have attempted to bridge this gap by sourcing external information, they fall short when direct answers are not readily available. We introduce a novel approach that re-imagines information retrieval through dynamic in-context editing, inspired by recent breakthroughs in knowledge editing. By treating lengthy contexts as malleable external knowledge, our method interactively gathers and integrates relevant information, thereby enabling LLMs to perform sophisticated reasoning steps. Experimental results demonstrate that our method effectively empowers context-limited LLMs, such as Llama2, to engage in multi-hop reasoning with improved performance, which outperforms state-of-the-art context window extrapolation methods and even compares favorably to more advanced commercial long-context models. Our interactive method not only enhances reasoning capabilities but also mitigates the associated training and computational costs, making it a pragmatic solution for enhancing LLMs' reasoning within expansive contexts.
[ -0.2453332841, -1.0783647299, 1.3019160032, 0.0017572034, -0.2829438448, 0.3596016467, -0.5028567314, -0.6582072973, 0.1430404633, 0.4639383256, -0.49587816, -0.1530811191, -0.4095207155, 0.1114243567, -0.2729533613, 0.6808590293, -0.2969875634, -0.4852571785, -0.4397514462, -0.253200382, -0.6092425585, -0.3276244104, -0.4416755438, -0.1718974859, 0.6530994177, 0.4237988591, 0.7592671514, 0.5614961386, 0.2113648355, 0.3439767957, -0.6548627615, 0.7294726372, -0.498118341, 0.6778903604, -0.4232084751, -0.3876200318, -0.3689480722, -0.249877587, 0.8763040304, 0.6074486971, 0.1217499673, -0.0320225097, -0.0511022136, 0.5978575349, -0.5558988452, -0.0841003507, -0.955314219, -0.1094426438, -0.2417386919, -0.5114130378, -0.5288048983, -0.1202475056, 0.1485582888, -0.8679477572, -0.3289791346, -0.0218542125, 0.4327476025, 0.4936111569, -0.8174964786, -0.4942214191, -0.5912304521, 0.6608371735, -0.3930486739, 0.5215067863, 0.2288601249, 0.4296200573, -0.513102293, -1.0199350119, -0.6485117078, -0.24961555, -0.1391546875, -0.0949157551, 0.1220399067, -0.1285116076, 0.3982642889, -0.0135776708, -0.0532908998, -0.1998425126, -0.1290789098, 0.1866285801, 0.4387114644, -0.0175149385, 0.0997517034, -0.1575736851, -0.4801419377, 0.2042889297, -0.8080663681, 0.075725697, 0.0186247583, 0.1458107382, 0.3165305853, 0.6521545053, -0.1721673608, 0.7707963586, 0.1039562076, -0.1586990058, 0.0489785634, -0.2532964945, -0.2461933941, -0.0066014477, 0.2190060467, 0.1395920962, -0.1009741277, -0.259771198, -0.2110466659, -0.6084143519, 0.1953077167, -0.620865047, 0.2973198593, 0.2865429819, -0.2374330014, -0.1981243789, -0.1188935339, -0.8428544402, -0.5234488845, -0.4500518739, 0.5022910833, -0.4620460868, 0.0418419614, 0.0095601836, -0.3032259345, -0.0309879631, 0.8458964825, -0.5400887728, -0.1097640395, 0.6881875992, 0.7035452724, -0.1753897667, -0.1997129023, -0.6575372815, 0.7083525062, -0.2098020166, 0.7366541624, -1.0093166828, -0.3834773898, -0.1063870564, -0.0894149989, 0.2123842388, -0.5464339852, 0.5533413291, -1.0701663494, 0.1035939083, -0.2705381811, -0.5986028314, -0.2221164852, 0.4250659049, -0.576073885, 1.2174726725, -0.0193526428, -0.7895131111, 0.3377613127, -0.7264704704, -0.3716647625, 0.0066300677, -0.1842134297, 0.0061693615, 0.0894886106, 0.2982089221, 0.2393175811, -0.0670074075, 0.4622249305, -0.2162512094, -0.4370234907, 0.3935113847, -0.4346479177, 0.4784531593, 0.1177985743, -0.252625674, 0.2647341192, -0.7606194019, 0.0299136825, 0.040919438, -0.7437394261, -0.5522530675, 0.2169825882, -0.3039405048, 0.1787150055, 0.4574002326, -0.298548162, 0.5949324369, -0.2793968916, 0.4042315185, 0.7051472068, 0.0724117085, 0.574138701, -0.1791358739, 0.3293581903, -0.2664724588, -0.0023824058, -0.5184177756, -0.2363542765, -0.6691237688, -0.2610311508, -0.0364309065, 0.5223171115, -0.9516486526, 0.1223007664, -0.3616999686, -0.2229512036, -0.2596122026, 0.160310775, 0.0702843145, 0.641133666, 0.702943027, 0.2292219698, -0.4658593833, -0.5744369626, -0.6056162715, 0.0324444063, -0.0076657105, 0.5927351117, 0.3996779621, -0.5629829764, 1.0638362169, -0.4117115736, 0.0624853596, -0.2906122804, -0.0229807291, 0.2564382255, 0.3026382625, 0.1583858579, -0.8902688622, -0.3565596044, 0.0309691634, -0.8005465269, -0.1898054332, -0.4415312707, -0.4683413506, 0.0402541906, 0.8209688067, -0.8177835941, 0.4150581658, 0.2022836357, -0.3710592091, 0.57243222, -0.2972501814, 0.1728530377, -0.9555618167, 0.0854896009, -0.4408731759, -0.463524878, -0.395506084, 0.3625050187, 0.1954187006, -0.0379624851, -0.2649110556, 0.9360994697, -0.8050029278, 0.0188965946, -0.4656575918, 0.5384826064, 0.2838123143, 0.2105471939, -0.0315546617, 0.9330487847, 0.1126353145, -0.5068628192, 0.3860714436, 0.308350414, -0.5526986718, 0.314243257, -0.331928879, 0.274351418, -0.2608796358, 0.8207874298, -0.6683940291, -0.3479398787, -0.0702721626, -0.1277832836, 0.3879812062, -0.2766239345, -0.5993648767, 0.0170792136, -0.2337063104, 0.7389817238, 0.1429369301, -1.013815999, 0.8083919883, 0.3389545381, -0.1579188854, -0.7218292356, -0.5032374859, 0.3813374341, -0.4185899794, -0.7319046855, 0.6859476566, -0.0703558922, -0.608047545, -0.1404085904, -0.0829986781, -0.0942378938, 0.137221396, -0.1187216043, -0.0054649352, 0.0915845931, 0.4890147746, 0.5062974691, 0.0811159089, -0.1441077143, -0.0793854892, 0.2635403275, 0.0862690881, -0.417425245, -0.2513473928, 0.5621951818, 0.7297221422, -0.3796950877, 0.5333763957, 0.216789633, -0.3555564582, -0.3820409179, -0.6316745281, -0.0560092367, -0.5473054051, 0.2707380652, -0.6296845078, -1.128788352, 0.3874108791, -0.5719641447, 0.1057195365, 0.130556047, 0.3705729544, -0.1653776616, 0.8826467991, 0.5344715118, 0.5473909974, 0.5473069549, 0.0299514495, 0.1136602461, -1.1695851088, -0.4505072236, -0.1038900241, -0.3519820273, -0.4104425907, -0.9713740349, 0.6675117016, 0.4463278055, -0.2906655669, -0.0576020144, -0.2818517685, 0.7208189964, 0.3258387744, 0.2692358494, 0.5165686011, -0.252551347, -0.2440426499, 0.0482347012, -0.4333514869, -0.5034029484, 0.7089468837, 0.3479555547, 0.6560468674, 0.5227131248, 0.4299763739, 0.0768913254, 0.2910823524, -0.8736670613, 0.61644876, 0.2874648869, -0.5558284521, -0.4097323418, -0.3811822832, -0.8992149234, 0.448510617, -0.2647810578, -0.7882227302, 0.1126661375, 0.0848155096, -0.3192455471, 0.4567364454, -0.4467960894, 0.5615867972, -0.4488472342, -0.7911685705, -0.4094605148, -0.7005988359, 0.3932189941, -0.283385843, 0.3935587704, -0.0342476442, -0.4571042657, 0.3781807423, -0.3945581317, 0.5254712105, -0.208125338, -0.180799976, 0.3848882318, 0.381572336, 0.7969682217, 0.4300356805, -0.420951277, -0.4334834814, -0.1081572101, -0.1765961796, -1.02272439, 0.7661907673, -0.1777277589, -0.9009827375, -0.3587063551, -0.8057484627, -0.4783159494, 0.2097426802, -0.3230362236, 0.4315169752, 0.0798291638, 0.3931373954, 0.6167039275, -0.4754338264, 0.3881932199, 0.4114343524, -0.4219045639, -0.2924356759, 0.3446910977, 0.0708620772, 0.1288762093, 0.6746217012, 0.3023194969, -0.3960025907, -0.2944537699, -0.5371252894, 0.2331748754, -0.9289687872, -0.1197069287, -0.7750755548, 0.1778639704, 0.0289410688, -0.3648528159, -0.0618969835, -0.4433574378, -0.2336284667, -0.1483825892, 0.475785017, 0.7126799226, -0.0312040746, 0.2149696499, -0.8432871699, 0.1762004048, 0.4107465148, 0.4023895264, 0.1792196631, -0.6657047868, -0.3035390973, -0.2585961223, -0.2719374299, -1.130035162, 0.1807992011, 0.1331513375, 0.5681260824, 0.1573407799, -0.0385195166, 0.9551810622, -0.7954833508, 0.6956945658, -0.2693274617, -1.0433955193, 0.702398479, -0.4653323293, 0.3949174285, 0.6430305839, 0.3029687405, -0.5438399911, -0.1506672949, -0.3997964561, -1.1795078516, 0.3881256878, -0.0819500685, 0.193866685, -0.1008762419, 0.6558546424, 0.1852378547, 0.1940279752, -0.3833385706, 0.1243586913, 0.1419161856, -0.0270916801, 0.1875805557, -0.5482631326, -0.0997888744, -0.5454721451, 0.6339609027, -0.2445376217, 0.1877265722, 0.3193869591, -0.3048442006, 0.0990265235, 0.4280455112, 0.5447152257, 1.0922945738, -0.2296081036, 0.3184704185, 0.5876879692, -0.0553451851, -0.0278161857, 0.0822185278, 0.0367591865, -0.0208973996, 0.3496303856, 0.7519356608, 0.5301744342, -1.0290323496, 0.3959378898, 0.0064484091, 0.2701592147, -0.4398167729, -0.0456960648, 0.1763050854, 0.6398246288, 0.5761821866, -0.1965160519, 0.0717505291, -0.7138547301, 0.4298240542, 0.4091093838, -0.1053863838, 0.0255988538, 0.7362864614, 0.1879555732, -0.2915107012, 0.4824165702, -0.0751213506, -0.5056657195, 0.3150340319, 0.5469761491, 0.5473461151, 0.1240675151, -0.1505727768, 0.2300079912, 0.0096896617, -0.0247628558, 0.1013113633, -0.4169135392, -0.4879733324, -0.8239054084, -0.480537504, -0.6108515263, 0.1677161455, -0.3715196252, 0.25059852, -0.2612875104, -0.1079622954, -0.2331831753, 0.0067797201, -0.3106853664, 0.1455708742, -0.0175788663, 1.3144283295, -0.129886657, 0.8990688324, 0.6658889055, -0.1486761719, -0.5458682179, 0.3369850516, -0.0122916801, -0.4814867675, 0.6522231698, 0.389475286, -0.2872096598, -0.0532578528, -0.5684626698, -1.0768574476, 1.2232162952, 0.3763455451, -0.4831149578, -0.111682117, -0.2628933787, 0.4645421505, -0.0723660737, 0.3407412767, 0.611553371, 0.658385098, 0.2364415824, -0.7984119654, 0.0903643593, -0.1653104872, -0.2519006133, 0.2378313094, -0.6431994438, 0.6199165583, -0.3192440271, -0.1956367791, 0.1387874633, 0.7885316014, 0.4664369524, 0.3040058613, 0.5433444977, 0.4492304027, 1.017898798, 0.1401549727, 0.9971807599, -0.3242630959, 0.1078407168, 1.4041455984, -0.2053128928, 0.9570931792, 0.7122492194, 0.1162048057, 0.7087623477, 0.4305633008, 0.5731811523, 0.3715173006, 0.0811720043, -0.6977382302, -0.3582532108, -0.0356089585, -0.1609735787, 0.544303, 0.5292279124, -0.2298979312, -0.1399373114, -0.0504900217, 0.2761795819, 0.3161197901, -0.2219825834, 0.7086051106, 0.0268301666, -0.8056128025, 0.4599716067, 0.169458285, 0.6776551604, -0.4663981199, -0.2229457647, -0.0713687837, 0.0687352046, -0.067076318, -1.2390304804, 0.5187780261, 0.2097490728, -0.1257418692, -0.4487944543, 0.7781972289, -0.5181738138, -0.2503536344, 0.4893851876, 0.5691529512, 0.062064033, -0.1086565107, -0.4742682278, 0.1939106137, -0.0917604864, -0.5425972342, 0.290823549, 0.8264304996, -0.2101114243, 0.7869166136, 0.632075727, -0.0842795148, -0.0431592688, -0.1076354012, 1.0601035357, -0.7027606368, -0.4522179365, -0.7513326406, 0.6360969543, -0.3418371677, -0.144957602, 0.4396197498, 0.5193058848, 0.7137711644, 0.2879391611, 0.7502631545, 0.0337044485, 0.6468344331, -0.5819085836, 0.5333101749, -0.9163129926, 0.3675828278, -0.0403004549, -0.7109460235, -0.3019947708, 0.5637885332, -0.4421574473, -0.0307487827, 0.553583324, 0.5367719531, -0.22970061, -0.1484424472, 0.1054959595, 0.3603260219, 0.5556179881, 0.43975842, 1.0210874081, -0.0225468259, 0.5288950801, -0.0677475259, -0.3028496504, -0.142914474, -1.1605417728, -0.6420857906, -0.4979149103, 0.2056137472, -0.2100097239, 0.1715323329, 1.0003999472, 0.3474835753, -0.1895501316, 0.0133685051, 0.1824756861, 0.3337692022, 0.0777301416, -0.2446276993, 0.4358169734, -0.4617758393, -0.7739080191, 1.1268520355, 0.3381907046, -0.2314423919, -0.0372952931, 0.1056894064, -0.4569830596, 0.3689470291, 1.0870205164, 0.192842558, -0.6882768273, -0.5734921694, -0.2394184917, 0.0268475004, 0.079653196, 0.7012629509, -1.1049348116, 0.6294922829, 0.7287530899, 0.9766403437, 0.5498071313, 0.3771750331, 0.3724144101, -0.7449778914, 0.2205449492, 0.2393679917, 0.3407878578, 0.320856452, -0.4640266299, 0.3474344909, 0.1486634463, -0.6624862552, -0.9029518962, 0.4339785576, -1.0435955524, -0.6049610972, 1.4318174124, 0.0081022391, -0.0563948825, -0.0794892386, -0.4610033035, 0.3125497997, -0.2267112136, 0.7124094367, 0.4800698459, -0.368609339, -0.065753527, -0.6027062535, 0.4993622899, 0.3748604357, -0.9619409442, 0.1628419161, 0.6679316759, 0.1259469092, 0.0087670702, 0.4813065231, -0.0066672503, 0.0022472898, -0.4148666859, -0.4920262694, -0.2459340841, -0.5960787535, -0.0607727915, 0.1968952417, -0.0043846108, 0.3652139902 ]
http://arxiv.org/abs/2406.12329v1
http://arxiv.org/pdf/2406.12329v1
SNAP: Unlearning Selective Knowledge in Large Language Models with Negative Instructions
2024-06-18T06:54:05
2024-06-18T06:54:05
Minseok Choi, Daniel Rim, Dohyun Lee, Jaegul Choo
cs.CL
cs.CL
Instruction-following large language models (LLMs), such as ChatGPT, have become increasingly popular with the general audience, many of whom are incorporating them into their daily routines. However, these LLMs inadvertently disclose personal or copyrighted information, which calls for a machine unlearning method to remove selective knowledge. Previous attempts sought to forget the link between the target information and its associated entities, but it rather led to generating undesirable responses about the target, compromising the end-user experience. In this work, we propose SNAP, an innovative framework designed to selectively unlearn information by 1) training an LLM with negative instructions to generate obliterated responses, 2) augmenting hard positives to retain the original LLM performance, and 3) applying the novel Wasserstein regularization to ensure adequate deviation from the initial weights of the LLM. We evaluate our framework on various NLP benchmarks and demonstrate that our approach retains the original LLM capabilities, while successfully unlearning the specified information.
[ -0.2803471386, -0.7838842869, 0.2963812351, -0.1327487677, -0.5333205462, 0.2623670697, -0.5126861334, -0.1286895871, 0.2489773482, 0.8066241741, -0.6043202877, -0.5135880113, -0.5683564544, -0.2881462574, -0.6513841748, 1.1917709112, 0.23145248, 0.0488984063, -0.1066381857, -0.0069810492, -0.2480189651, -0.5201558471, -0.2860171795, -0.5593582988, 0.4491140544, 0.6668794751, 0.5972191691, 0.4739508033, 0.2026971281, 0.2120117247, -0.1682578325, 0.2105626017, -0.9131674767, 0.145753473, -0.2861331999, -0.385353893, -0.1479655057, 0.0514569655, 0.6887250543, 0.7872030139, -0.2105124295, 0.2493361086, 0.4297960401, 0.712585032, -0.8745813966, 0.1539489627, -0.8459573984, 0.100554958, -0.0463105962, -0.2771413624, -0.7588874102, -0.217367813, 0.0813620612, -0.3464193344, 0.2436549366, -0.2492442429, 0.7472461462, 0.2242433131, -0.177428633, -0.2792099118, -0.8159478307, 0.7893432379, -0.6359468699, 0.3177531362, 0.4738526046, 0.2464699745, -0.2916588485, -0.2465064973, -0.2269085199, -0.0401221067, 0.1110313535, 0.2135423869, -0.1536785364, 0.0204840247, 0.161399141, 0.1888675541, -0.477506876, 0.400652349, -0.4747705162, -0.1730661094, 0.5872891545, -0.1149851009, 0.243654117, -0.0825150833, -0.5428872705, 0.1045517251, -0.8670433164, -0.1850167364, 0.3372929692, 0.4635815024, 0.0462617613, 0.9342808723, -0.1913259029, 0.3390523493, 0.0924557894, 0.0947094634, 0.3732733428, 0.1891440004, -0.0558579527, 0.1006882787, 0.7228397727, 0.1807684302, 0.2373055071, -0.4603690207, -0.370025754, -0.0617615916, 0.1124756336, -0.6448658109, -0.0283532478, 0.020677371, -0.2903861105, -0.1511767805, -0.0903740749, -0.5856497288, -0.5823446512, -0.2510138154, 0.4973411858, -0.6198506355, -0.0964275002, 0.1605401784, -0.2124326676, 0.3425277174, 0.4573031962, -0.9038632512, 0.2732652128, 0.7576459646, 0.5711318254, -0.1293815076, -0.3901950717, -0.75543046, 0.1317165494, -0.1366806626, 0.5438193679, -0.6849192977, -0.343841821, -0.0819467604, -0.1966020018, -0.0304416008, -0.5872645974, 0.2076591253, -0.790568471, 0.246048227, -0.1683040559, -0.7946465015, -0.3719248176, 0.4273858666, -0.4195642173, 0.698615253, 0.159204036, -0.5768154263, 0.1812448353, -0.3925945759, -0.3981274664, 0.1556733847, -0.2016307861, -0.3938806653, 0.0859430209, 0.2280145288, 0.4417423308, -0.3005812168, 0.21725972, -0.4347432554, -0.6888167858, 0.1166099533, -0.7048053145, 0.7982134819, -0.0065616453, -0.2445825636, 0.0621241704, -0.7499858141, -0.0608896837, 0.2146080881, -0.6688399315, -0.3219421804, -0.0815459564, -0.3820091486, 0.0445398577, 0.2441308945, -0.6454132199, 0.3119747341, -0.4383847415, 0.3290965855, 0.8872180581, 0.0774102882, 0.5719814897, -0.2727530003, 0.5241000652, 0.1332736015, 0.0855406746, -0.3752309382, -0.4191685617, -0.832703948, -0.259472549, 0.1861502975, 0.5901056528, -0.7909885645, 0.3350928128, -0.1504256874, -0.4115572274, -0.5975267291, 0.4902981222, 0.5072262287, 0.6226961613, 0.5581706166, -0.2007296234, -0.6161196232, -0.659288764, -0.3681838214, 0.0234635621, -0.2899439931, 0.2467063069, 0.314175874, -0.4506346285, 0.8212245703, -0.4990166128, -0.356801033, -0.4535945654, 0.1036326215, 0.3180474937, 0.2463748306, 0.0480258055, -0.6360374689, -0.2148108035, -0.2416874617, -0.5098506212, 0.0507724062, -0.0924522057, 0.050890144, 0.1099188775, 0.4239297807, -0.7077543736, 0.4931277633, 0.4323246181, -0.1025520042, 0.7607575655, -0.1826711893, 0.029718861, -1.1559833288, -0.0535671748, -0.1678338796, -0.1885662228, -0.3754549921, -0.039737381, 0.0609495565, -0.2843410373, -0.6888456941, 0.6022738218, -0.6577238441, 0.0099930298, -0.3262954652, 0.2839470208, 0.042800609, 0.7372522354, -0.0019847401, 0.6432987452, 0.2897439599, -0.6023675203, 0.1502119452, 0.4480882585, -0.2450894564, 0.014987818, -0.3759511113, 0.2653298378, -0.3744873405, 0.0674692392, -0.8682592511, -0.2833316326, 0.1918413192, -0.529068172, 0.3621606529, -0.4987688065, -0.3703278005, -0.2397095114, -0.4653212726, 0.2747327089, 0.8129253983, -0.7125861645, 0.5103853345, 0.4691610634, 0.1683804244, -0.7105453014, -0.6974512339, 0.0731716454, -0.0955613479, -0.2647945285, 0.3214645386, 0.0439679287, 0.0667464137, 0.0146944812, 0.0799045712, -0.1780960113, 0.0137796933, 0.2335588187, 0.1975494772, -0.2054988295, 0.2626236677, 0.083924517, -0.1894062161, -0.1394428462, -0.1721513867, 0.8116220236, -0.0601024479, -0.6959921122, -0.3640919328, 0.1930772662, 0.5203381777, -0.2821471095, 0.7566609979, 0.5614981055, -0.3522893488, -0.362866044, -0.4434241354, -0.3568367064, -0.4977051318, 0.3643262386, 0.0627586916, -1.0230424404, 0.4688272178, -0.2490989566, 0.2290765792, -0.1175994575, 0.4548288882, -0.0335679799, 0.9906305671, 0.6232352257, -0.2524174452, 0.5944346786, -0.2097135633, 0.2533419132, -0.96739012, -0.05236068, -0.2526571155, -0.3603742123, -0.3139370084, -0.3870858252, 0.2157921791, 0.3071050346, -0.3388688266, 0.3690147996, -0.2762864828, 0.8331095576, 0.7170932293, 0.4826587737, 0.2242702246, -0.1849403679, -0.1258894652, 0.2828338742, -0.679140985, -0.4484484792, 1.0384830236, 0.2688657641, 1.0965197086, 0.0400717705, 1.0546858311, 0.2336188555, 0.303835541, -0.9571983218, 0.7077652812, -0.3664268851, -0.3560087681, -0.4123452902, -0.5350511074, -0.8278298378, 0.2976101637, -0.1611064523, -0.9956306219, -0.2547357082, 0.4752182364, -0.3623820543, 0.4834157526, -0.9934027195, 0.5535649061, -0.0771561339, -0.3761261106, -0.0322705023, -0.4826930165, 0.4501822293, -0.093478106, 0.0418844968, -0.1595442891, -0.0038903807, 0.5832681656, -0.3097219765, 1.3461247683, -0.1912849396, 0.1292667538, 0.3439518809, 0.3219434023, 0.7237909436, -0.0285307411, -0.158821255, 0.1015168205, -0.3699080944, -0.3311909437, -0.7007989883, 0.3794163465, -0.6481242776, -0.7338081598, 0.2037253678, -0.4252919853, -0.2843205333, 0.4701662064, 0.3697524369, 0.3048169911, -0.1749171764, 0.1550260186, 0.6965783834, -0.3170711994, 0.3471159637, 0.6450044513, -0.1492429674, -0.3404170275, 0.9945309758, 0.1792429239, 0.162464112, 0.602894783, 0.3856435418, -0.2862675786, -0.5361661315, -0.3151691258, 0.2959294617, -0.7727562785, -0.2865515053, -0.4552963972, -0.4295175374, -0.3085308671, -0.235677883, -0.6664081812, -0.3689125478, -0.6880607009, -0.0206977986, 0.095266372, 0.5500586033, 0.1176573113, 0.3464630246, -1.1511667967, 0.1375002414, 0.0505579226, 0.4220709801, 0.1593978852, -0.7406240106, -0.1353942305, 0.3427123129, -0.2923044562, -0.6712303758, 0.3795930147, 0.1268399358, 0.4505583942, 0.6144574881, 0.4275679588, 0.538053453, -0.5935714841, 0.6173701882, 0.3309173584, -0.8477171063, 0.484870702, -0.3546807766, 0.6360512972, 0.4651328027, 0.3786950111, -0.7084671259, -0.4877192974, -0.5196582675, -1.0417573452, 0.639294982, -0.2603760362, 0.4139487743, -0.0893113315, 0.3296158314, 0.3854126334, 0.2808707058, -0.5707900524, 0.1370926946, 0.0918203443, -0.1713103801, -0.0853733122, -0.4937892854, 0.0816632137, -0.022293644, 0.8428314328, -0.0779307187, 0.0371639952, -0.2161130011, -0.480968833, 0.0522460043, 0.441821754, 0.3846077919, 0.4375892878, -0.0490916185, 0.2779091299, 0.1341931522, -0.5217202902, 0.0712312758, -0.2877109945, -0.5079905391, -0.3856988251, 0.3967950046, 0.5604801178, 0.5065892935, -0.7724140882, 0.6171761751, 0.0844789743, -0.0669810399, -0.2270583808, 0.3501853049, 0.0900212154, 0.2257004231, 0.2048212737, 0.1009754315, 0.0519225076, -0.2968455553, 0.5033424497, 0.4210193157, -0.5243907571, -0.4893579185, 0.3638073802, 0.2331951708, -0.3863677382, 0.8478417397, -0.2547820508, -0.6935341358, 0.2609829307, 0.6896079183, 0.9309036732, -0.164580211, 0.4172502458, 0.168512553, 0.2566437125, -0.069372654, 0.1014611274, -0.1960006505, -1.0025677681, -0.442886889, -0.4386107028, -0.4329345226, 0.3799442351, -0.6935560107, 0.4514580071, -0.5993707776, -0.0356906727, -0.1865362078, -0.3196484447, -0.5273303986, -0.1799216866, 0.1186971739, 0.8087715507, -0.712392807, 0.5558989048, 0.5161122084, -0.4331900477, -0.690675199, 0.0709305778, 0.3240225017, -1.0746482611, 0.2315251678, 0.3023867011, -0.2508511841, -0.0299499352, -0.5823758245, -0.8298456073, 0.6619238257, 0.7081539035, -0.5566651821, -0.0274901725, 0.125750348, 0.238936916, -0.081208095, 0.185546115, 0.3383021355, -0.0428070873, 0.2794148028, -0.5708830953, 0.0130021293, -0.1946047544, -0.3117057681, 0.321205914, -0.6904485822, 0.6506428123, -0.6711602211, -0.4074578285, -0.1443877071, 0.3660900593, 0.0768139213, 0.0275923479, 0.3166708946, 0.4306746721, 0.9226612449, 0.2307521552, 0.5564547777, -0.0348056704, 0.422824353, 1.5558092594, -0.3104309142, 0.9373707175, 0.5302166343, 0.2077041268, 0.0018510901, 0.4798414111, 0.0434157625, 0.4925912619, 0.2403691113, -0.288697958, -0.2888955176, -0.0950168744, -0.0173284877, 0.8436896801, 0.2924196422, -0.3549510539, -0.6761730313, 0.1645634174, 0.0906298682, -0.0272096153, -0.183237657, 0.9016030431, 0.0531238727, -0.4499029219, 0.7919012904, -0.1209452227, 0.5695392489, -0.5335769057, -0.2887617052, -0.1739415228, 0.3192003369, -0.2499546707, -0.6938513517, 0.1067000926, 0.052001223, -0.3434755504, -0.2532216311, 0.7686875463, -0.5722328424, -0.0939028338, 0.4011087716, 0.4378196597, 0.1997619122, -0.0742616579, -0.7317061424, 0.0274687652, 0.2267363816, -0.4404445589, 0.4330452979, 0.3318061829, 0.00278119, 0.9917291999, 0.5899666548, -0.0425359979, -0.1321553588, 0.3265930712, 1.2166231871, -0.6117398739, -0.4462302923, -0.9703251123, 0.385658592, 0.0709601045, -0.2062599212, 0.731751442, 0.6686123013, 0.900637269, 0.0156952441, 0.8096274137, 0.3549377322, 0.6504608393, -0.6105720997, 0.8572511077, -0.2966201007, 0.6644628048, -0.2356489748, -0.88221699, -0.3189977109, 0.0413304418, -0.4565145075, 0.0360208601, 0.2268147916, 0.8076518774, -0.1892396957, 0.1792004108, 0.5427747965, 0.1867665648, 0.3787724972, 0.4607578814, 0.9483556151, -0.0926800743, 0.6103803515, -0.1951913536, -0.4444473684, -0.362947613, -0.781203866, -1.0055155754, -0.3928689063, -0.1527422071, -0.1472467035, 0.1266392469, 1.1444326639, 0.5659783483, -0.697471261, -0.0862836093, 0.0424726978, 0.4020789862, -0.0351495072, -0.1922498792, 0.3621346653, -0.3748133481, -0.3620532453, 0.5466349721, 0.3431073129, 0.22755301, -0.1326050311, -0.0367641114, -0.0459889621, 0.0045650089, 0.6954103112, 0.3885755539, -0.4553221464, -0.3597975373, -0.0128856385, 0.1317495704, 0.0841760188, 0.7414046526, -0.7560746074, 0.3751657903, 0.3914228976, 0.874104619, 0.3727977872, 0.0838055834, 0.4973304868, -0.9597616196, 0.1307567954, 0.5185908675, 0.3104555905, 0.3018724918, -0.5015306473, 0.1789145023, -0.0064865951, -0.2867070138, -0.8370292187, 0.2262230217, -0.5808093548, -0.4883741736, 1.3014690876, -0.1896979511, -0.5116405487, -0.0620957725, -0.1185426712, 0.2114435881, -0.557357192, 0.8764742613, 0.4215445518, -0.1764636785, -0.2669122815, -0.1280782074, 0.1452353746, 0.0929134861, -0.4140944183, 0.4669614434, 0.4156527221, 0.3223167658, -0.0164838284, 0.6827697754, -0.1999403983, 0.2402988821, -0.0762018785, 0.1937484443, -0.2780030072, -0.4522123933, -0.2556824088, 0.0982789248, -0.0004270802, -0.3398737311 ]
http://arxiv.org/abs/2406.12321v1
http://arxiv.org/pdf/2406.12321v1
Automatic benchmarking of large multimodal models via iterative experiment programming
2024-06-18T06:43:46
2024-06-18T06:43:46
Alessandro Conti, Enrico Fini, Paolo Rota, Yiming Wang, Massimiliano Mancini, Elisa Ricci
cs.AI
cs.AI, cs.CL, cs.CV
Assessing the capabilities of large multimodal models (LMMs) often requires the creation of ad-hoc evaluations. Currently, building new benchmarks requires tremendous amounts of manual work for each specific analysis. This makes the evaluation process tedious and costly. In this paper, we present APEx, Automatic Programming of Experiments, the first framework for automatic benchmarking of LMMs. Given a research question expressed in natural language, APEx leverages a large language model (LLM) and a library of pre-specified tools to generate a set of experiments for the model at hand, and progressively compile a scientific report. The report drives the testing procedure: based on the current status of the investigation, APEx chooses which experiments to perform and whether the results are sufficient to draw conclusions. Finally, the LLM refines the report, presenting the results to the user in natural language. Thanks to its modularity, our framework is flexible and extensible as new tools become available. Empirically, APEx reproduces the findings of existing studies while allowing for arbitrary analyses and hypothesis testing.
[ -0.3893199861, -0.7148860097, 0.5595629215, 0.3391296268, 0.049056448, -0.0558034778, -0.4709773362, -0.3317263424, -0.1234175712, 0.1133558825, -0.4259548485, -0.5421605706, -0.4656432271, 0.4354887903, -0.5136653781, 0.438234359, -0.2845824659, 0.166915834, -0.5440196395, -0.2697064877, -0.1594670117, -0.1344378889, -0.4131453037, -0.2069283575, 0.2984364927, 0.2571710348, 0.6058285236, 0.6790422201, 0.5937330723, 0.4161194265, 0.3742285371, 0.2437361032, -0.382811904, 0.1062569022, -0.2050766647, -0.1738791168, -0.2437478602, -0.0261347368, 0.8264078498, 0.7618787289, -0.0097465469, 0.3744010925, -0.0071522733, 0.239863351, -0.9077643156, 0.4611813724, -0.5202980638, 0.0192537084, 0.1196769774, -0.2192573994, -0.3999015689, -0.5150330663, -0.2299078852, -0.5793996453, -0.042530071, 0.1732949018, 0.5383521318, 0.3507980704, -0.6067917943, -0.2346155792, -0.6850119829, 1.0578939915, -0.868273437, 0.4237545729, 0.3657939732, 0.4696255028, -0.069987312, -0.7298886776, -0.5873405933, -0.7526230812, -0.0582350045, -0.1207642183, -0.3497826457, -0.1925781369, 0.1570539325, 0.3125043213, -0.7008336186, 0.0949951932, -0.3776355088, -0.1275904775, 0.9514586926, 0.4704621434, 0.0907682776, -0.0134687014, -0.2219498158, -0.4775225818, -0.4744074345, -0.0608727895, 0.0953484252, 0.5198560357, 0.1565355211, 0.6901385784, -0.473777324, 0.7582481503, -0.3970198929, -0.1057252213, 0.467988193, -0.4481597841, -0.2605701089, -0.0998106673, 0.9071015716, 0.5979130268, 0.0495516732, -0.1421093643, -0.3468276858, 0.3384994864, 0.284499377, -0.8194596171, -0.2160524577, 0.2992430925, -0.1930132061, -0.1528407633, -0.2678660452, -0.7046543956, -0.2262342274, -0.4973835051, 0.8158778548, -0.4581699073, -0.3275950849, -0.0053981058, -0.0036493288, -0.2961419225, 0.2144308239, -0.5916830897, 0.5798461437, 0.4986586571, 0.8116958737, -0.4260362983, -0.4616698027, -0.7759233713, 0.0435174257, -0.4694240391, 0.9889125228, -0.757309556, -0.6526835561, -0.0185601749, -0.1097801179, -0.1166567877, -0.5438646078, 0.3192470372, -0.246672973, -0.0426196568, -0.0805065408, -0.6899486184, 0.0363427512, 0.4360814095, -0.5419211388, 1.3906172514, 0.2072381526, -0.3762592971, 0.4509835839, -0.7221350074, -0.1788052768, -0.0135643929, -0.5170938373, -0.3291938603, -0.027225595, 0.1789356321, 0.2470027804, -0.5423436165, 0.1741017252, -0.501560092, -0.1353393793, 0.0673007667, -0.0669015497, 0.4541947842, 0.3014957011, -0.3852147162, 0.5780134201, -0.8528584242, 0.4564329386, 0.0897525549, -0.3021936715, -0.2546388507, 0.1080257595, 0.2500536442, -0.0145280939, 0.0368505307, -0.5657086968, 0.5690248609, 0.004349079, 0.418672204, 0.7237848639, -0.2617473602, 0.3795086145, -0.3296351433, 0.4758944511, -0.4282702506, 0.2940849364, -0.3448285758, -0.1519763172, -0.4374260902, -0.337202549, 0.3022300005, 0.310402751, -0.5203222036, 0.1666441113, -0.1874164492, -0.6041001678, -0.2696288228, 0.2842090428, 0.3151116073, 0.3225949109, 0.3238518834, -0.2513155341, -0.4747653306, -1.3019659519, -0.1393500566, -0.1343949735, -0.1202190742, 0.3309156895, 0.751518786, -0.164628759, 1.0777695179, -0.714643836, -0.3517121673, -0.0452947319, 0.714048624, -0.0680213794, 0.412725091, 0.5352194905, -0.7509491444, -0.3807807565, -0.2213073671, -0.8092759848, -0.3868784606, 0.054652486, 0.0078547169, -0.244115144, 0.6898491979, -0.2357993424, 0.220622316, 0.6002142429, 0.011034512, 0.8598574996, -0.195486784, 0.2872126997, -0.688904345, 0.311753422, -0.0064708809, -0.191759035, -0.0928416401, 0.1817938685, 0.2638086975, -0.1863320172, -0.3291222453, 0.8455537558, -0.5918198824, -0.2421732396, -0.3068293333, -0.1564344913, -0.0632488057, 0.350782752, 0.0477368198, 0.8579770327, 0.5675075054, -0.7081757188, 0.4286387563, 0.1716470271, -0.4736778438, 0.4964328706, -0.7365211248, 0.0920199379, 0.0679690987, 0.1246443167, -0.8845521212, -0.1500287503, -0.1890558749, -0.3035775423, -0.0263285358, -0.1355825365, -0.6239991784, -0.341180414, -0.4705005884, 0.2990612686, 0.300701499, -0.2127536535, 0.9063503742, 0.3633467853, -0.2310980409, -0.3212977946, -0.2425229698, 0.2080783248, 0.1528490931, -0.6050781608, 0.3417896628, -0.5245020986, -0.6149355173, 0.1584987491, -0.0169831812, -0.1528253257, 0.0422456451, 0.35830459, 0.023169456, -0.2056420147, 0.179122746, -0.2038702816, -0.0798037723, 0.0961546525, 0.0907463506, 0.5076059103, -0.2922640145, -0.6345047951, -0.1194509938, 0.527359724, 0.4252769351, -0.4130287766, 0.1953838468, 0.395293355, -0.3465008438, -0.5575646758, -0.393460393, -0.1296248436, -0.5189515948, 0.3255432546, -0.32994923, -0.5137495399, 0.1693489254, -0.4367555082, 0.3063208163, 0.2974376976, 0.7056832314, 0.3531623483, 1.4086511135, 0.8548849225, 0.2329918593, 0.4204516113, -0.2142338306, -0.2356986851, -0.672070384, -0.0233135428, -0.529617846, -0.1919288635, -0.0252692923, -0.4158183634, 0.8327008486, -0.2491293252, -0.1493307948, 0.3302551508, -0.4396515489, 0.4987205863, 0.5700390339, -0.2127952576, 0.5486539602, -0.4283570945, -0.209942475, 0.1245169863, -0.4723987877, -0.5299932957, 1.2933667898, -0.1445024759, 0.895676434, -0.0883484781, 0.4513030648, 0.5668330789, 0.7171594501, -0.6483286619, 0.6381406188, 0.2792904079, -0.5315791368, -0.2043529898, -0.4709072411, -0.8262041807, 0.3507758379, -0.2755176425, -0.6982908249, 0.0445757546, 0.2954814136, -0.4520176351, 0.0629442781, -0.7016776204, 0.9509888887, -0.4023828804, -0.6845078468, -0.2821362317, -0.2317316085, 0.2449939847, -0.0509134866, 0.3091456294, -0.2807028592, 0.1401181668, 0.6282923222, -0.2163231522, 0.5423589945, -0.1171187088, -0.1120757759, 0.0318557359, 0.4195141494, 0.4421479702, 0.1864313781, -0.2887176573, -0.1184125021, 0.1918794811, -0.2620411813, -0.3975888789, 0.8955997825, -0.5544940233, -0.4211354554, -0.5678657293, -0.7072201967, -0.4285750687, 0.4777577519, -0.0716236904, 0.6693481207, -0.5262072086, 0.1665000916, 0.3545903265, -0.3078413904, 0.4140809476, 0.823417902, -0.6085782051, -0.0427115485, 0.5982847214, -0.027201822, 0.1419171542, 0.1755904555, 0.2095834762, -0.1672767699, -0.8448110223, -0.6153513789, -0.1743630767, -0.6945638061, -0.2364426851, -0.7240921855, 0.2027544826, -0.4471426606, -0.1768040359, -0.8090498447, -0.1582329571, 0.3556528389, 0.109941043, 0.2678820491, 0.7596575022, -0.3190941811, -0.0359642804, -0.6787714362, 0.4534344971, 0.4301578104, 0.4361915886, -0.0407220684, -0.0568680838, -0.2350553572, -0.0783403441, -0.2605185807, -0.4326056242, 0.4771489799, 0.4226642549, 0.630672276, 0.2092059851, 0.2235687226, 0.5493013859, -0.7249878645, 0.694214642, -0.0913323015, -0.9468365908, 0.5274463296, -0.3222318888, 0.4077814817, 0.7565840483, 0.5241214037, -0.281909436, -0.353756994, -0.1094157398, -1.205876708, 0.4932847619, 0.1422106326, -0.0668273643, -0.0539456382, -0.2513400018, 0.4281496704, 0.3053820729, -0.445109129, -0.0018409208, -0.0597658493, 0.0099169202, -0.252233386, 0.0808701888, -0.7063422799, -0.3207096756, 0.5146707892, -0.4332822263, 0.1822627485, 0.1369539201, -0.5963375568, -0.2973791659, 0.0670599639, 0.460038662, 1.3292107582, -0.5484408736, 0.2802503407, 0.1423936635, -0.0553044118, -0.1105650589, 0.2651614249, 0.1492024958, -0.1188760176, 0.5135656595, 0.5459501147, 0.4555112422, -1.3046371937, 0.4896906912, -0.2420194, -0.188670367, -0.6850458384, 0.1678033918, 0.0475781485, 0.2249640971, 0.729834497, -0.1100340188, 0.2471222132, -0.7197566628, 0.523588419, 0.4341827631, -0.0302569121, -0.3301140964, 0.8622227311, 0.234448269, -0.1410539001, 0.5020388961, -0.3682201207, -0.2918821573, 0.6585822701, 0.4558450878, 0.6200283766, -0.1718878448, 0.0522474125, 0.5646957159, 0.2783833146, -0.1947715878, 0.2345846891, 0.0319924206, -0.4882506132, -0.4909110367, -0.7257841825, -0.7804062963, 0.0308044814, -0.7311387658, 0.2902903855, -0.4412104189, -0.0229385179, 0.4999307394, -0.2647625506, -0.7623137236, 0.1393831819, 0.351372689, 1.0253506899, -0.9133509994, 0.6239299178, 0.7539995909, -0.2602936327, -0.384637922, -0.5121085644, 0.3914829195, -0.9082009196, 0.8107449412, 0.1385411769, -0.2601792216, -0.0738112107, -0.7038690448, -0.9797487855, 1.0016235113, 0.2597074807, -0.5333682895, 0.3200766444, -0.0154475737, 0.4898594916, -0.4787787199, 0.6844293475, 0.3245909512, 0.787122786, -0.1000471637, -1.3592011929, 0.0803276226, -0.8628824353, -0.2047785372, 0.2454732209, -0.4178091586, 1.2218788862, -0.1073381975, -0.100453794, -0.0743133798, 0.4923939109, 0.0248797853, 0.3375688195, 0.7271246314, 0.5043114424, 0.4849233329, 0.0809853822, 1.1980448961, -0.4261858165, 0.4197262228, 1.2078454494, -0.8497514129, 0.8571375012, 0.2599112689, -0.2542822957, 0.3103206456, 0.446477741, -0.3321719468, 0.4326444864, 0.3654441535, -0.1598820835, -0.3559730947, -0.1531903148, -0.3829885721, 0.4922082126, 0.1334733665, -0.1715403348, -0.6264471412, 0.1198984757, -0.0196542945, 0.195226863, -0.2670225501, 0.6186846495, -0.0465664752, -0.6325440407, 0.7274797559, 0.081018813, 0.7104391456, -1.1085797548, -0.1347406805, -0.1450473666, 0.4665436745, -0.1289337873, -0.516102612, 0.3538829386, 0.0336295143, 0.0274975616, -0.339979589, 0.3508968055, -0.2709348202, -0.6243235469, 0.4098413885, 0.4846539795, -0.0799556449, -0.2232947648, -0.6426672339, 0.4210421443, -0.3114108741, -0.5293542147, 0.5025370717, 0.0411534943, -0.2578099072, 1.0085296631, 0.7899048924, 0.0149312327, -0.1090419367, 0.0188780557, 1.1186680794, -0.6711782813, -0.500674963, -0.8398452997, 0.3551460505, -0.1215924174, -0.4311344326, 0.953371644, 0.9289750457, 0.7613868117, -0.0096521769, 0.9886023998, -0.2788966596, 0.4369128942, -0.3765578866, 0.4372988641, -0.8229630589, 0.1138962582, -0.1977941543, -0.9399178624, -0.1667053849, 0.4066783786, -0.2944276631, -0.1170786619, 0.8330133557, 0.8309536576, -0.3018968105, -0.1395292729, 0.0620616563, 0.3356385231, 0.3947381377, 0.4551150501, 0.7513249516, -0.0366917998, 0.5258997083, -0.3219268322, -0.438819021, -0.275556922, -1.3068736792, -0.7200844884, -0.5360217094, -0.4449849725, -0.0471398272, 0.0196003243, 1.3114187717, 0.8049407005, -0.8324096799, -0.5208674669, 0.3436754644, -0.2530646324, -0.5765218139, -0.226628989, 0.4732267857, -0.0974145308, -0.9514120221, 0.7681501508, 0.2823892236, -0.4701806307, -0.3559364378, 0.2565430403, -0.3469507694, -0.0132435672, 0.6186324954, 0.3741000891, -0.1617455781, -0.2428812534, -0.0285732187, 0.0939181894, 0.0676747188, 0.892008245, -0.7586447597, 0.6418520212, 0.3765843809, 0.5119085312, 0.5200129151, -0.0852004588, 0.9232062697, -0.7063120604, 0.0581761301, 0.5068693757, 0.3052636385, 0.3047313392, 0.121374242, 0.6523962021, -0.0591337867, -0.5484939814, -1.3581066132, 0.12399441, -0.9686329961, -0.5619921088, 1.240930438, 0.0504929721, -0.2381164581, -0.0256328788, -0.2022162527, -0.0111709749, -0.4112190902, 1.0500515699, 0.6328651309, -0.3567367196, 0.1080054343, -0.8982844353, 0.478983283, 0.3182558715, -0.9016715884, 0.1983473152, 0.4112744629, 0.4208708704, 0.1377515644, 0.529311657, -0.0418668687, 0.1469967067, 0.219665885, 0.4707717299, -0.6414543986, -0.0454084575, -0.0035242264, 0.2212761343, -0.0419238582, 0.1994099021 ]
http://arxiv.org/abs/2406.12319v1
http://arxiv.org/pdf/2406.12319v1
PRePair: Pointwise Reasoning Enhance Pairwise Evaluating for Robust Instruction-Following Assessments
2024-06-18T06:43:04
2024-06-18T06:43:04
Hawon Jeong, ChaeHun Park, Jimin Hong, Jaegul Choo
cs.CL
cs.CL
Pairwise evaluation using large language models (LLMs) is widely used for evaluating natural language generation (NLG) tasks. However, the reliability of LLMs is often compromised by biases, such as favoring verbosity and authoritative tone. In the study, we focus on the comparison of two LLM-based evaluation approaches, pointwise and pairwise. Our findings demonstrate that pointwise evaluators exhibit more robustness against undesirable preferences. Further analysis reveals that pairwise evaluators can accurately identify the shortcomings of low-quality outputs even when their judgment is incorrect. These results indicate that LLMs are more severely influenced by their bias in a pairwise evaluation setup. To mitigate this, we propose a hybrid method that integrates pointwise reasoning into pairwise evaluation. Experimental results show that our method enhances the robustness of pairwise evaluators against adversarial samples while preserving accuracy on normal samples.
[ -0.152797088, -0.823798418, 0.5714039207, 0.3739739358, -0.0633706003, 0.3663488925, -0.4169150889, -0.0873316303, -0.0014533979, 0.3306531906, -0.1143622026, -0.6798553467, -0.6437894106, 0.0144962566, -0.3202688694, 0.8337605, -0.0073011927, 0.1375421137, -0.5552355647, -0.1923877299, -0.5716118813, -0.4517946541, -0.7878988385, -0.3509162068, 0.1418152601, 0.265172869, 0.7409060597, 0.3422690332, 0.2843049169, 0.3051574826, 0.0134065934, 0.3258446455, -0.4767954648, 0.2222042233, 0.0393996909, -0.1796745807, -0.5725474954, 0.0255319979, 0.5463413596, 0.6347486973, -0.0174925514, -0.0809360519, 0.2905758619, 0.6641298532, -0.9056805968, -0.1704015434, -0.6643071175, -0.1742462218, 0.1799388379, -0.2297120988, -0.5912182927, -0.5380170345, 0.2629112303, -0.5639103055, 0.0124570066, -0.1545645744, 0.529990375, 0.4148725867, -0.1371623874, -0.1354024559, -0.5260010362, 1.0215146542, -1.0310000181, 0.4548986256, 0.4329498112, 0.021251753, -0.3509106338, -0.6440736055, -0.4835649133, -0.4388136268, -0.091935277, 0.316210717, -0.1449922472, 0.2148748785, 0.1183724403, 0.1747640073, -0.5963911414, 0.3388080597, -0.215211004, -0.281167835, 0.8206372261, -0.0645602867, 0.2388279438, -0.5149384737, -0.4037602842, -0.1982089281, -0.8432132602, 0.1209815443, 0.5263860822, 0.204431355, 0.0791407228, 0.3650719523, 0.0333014093, 0.9902273417, 0.3266774416, -0.2250975519, 0.073615469, -0.4211706817, -0.2226201445, 0.0452269055, 0.994805932, 0.6681182981, 0.0929746777, -0.2322135866, -0.2234170586, 0.1439156681, 0.3267906904, -0.5909568667, -0.3573975861, 0.2944504917, -0.5002077222, -0.4219099283, 0.1995420903, -0.8299235702, -0.3142358959, -0.2312352359, 0.565082252, -0.4474771619, 0.0078324387, -0.1113412902, -0.0847610384, 0.214089945, 0.1620393693, -0.7534966469, 0.2732090652, 1.0136432648, 0.6418737769, -0.4800974131, -0.313675642, -0.9316486716, -0.0096120723, -0.3461176455, 0.7669124007, -0.688292563, -0.6808677316, -0.1521393508, -0.4669410288, -0.213029325, -0.6425807476, 0.5561393499, -0.4131920338, 0.52576828, -0.1363562793, -0.4214890897, -0.0521334894, 0.2563483119, -0.3874046504, 1.3187348843, 0.1787299812, -0.8722058535, 0.5384508967, -0.3293612003, -0.6913143992, 0.0708889514, -0.4013016224, -0.3628762662, -0.0526878498, 0.4662201107, 0.4828930199, -0.0391413011, 0.3743301928, -0.433465451, -0.5542048812, -0.0476488471, -0.3425967395, 0.5507439375, -0.2023697048, -0.5605590343, 0.5447576642, -0.7625032663, 0.1429087967, 0.0286176465, -0.2707360387, -0.6197788119, 0.160738647, -0.4613102973, 0.0123075601, 0.2974122465, -0.2620213032, -0.0318938419, -0.5038008094, 0.2656549513, 0.8795393705, 0.1085300371, 0.6397544742, -0.3697955906, 0.5145714879, -0.3361510634, 0.241824761, 0.2592953146, -0.5375282168, -0.7492776513, 0.0221569445, 0.2189572304, 0.7271722555, -0.9485080242, 0.6416531205, -0.1058144122, -0.3883429766, -0.3809521496, 0.550180614, 0.7776468992, 0.9458947778, 0.326477617, -0.0918616429, -0.4511980414, -0.6871374249, -0.340975821, -0.3399013877, -0.1667557061, 0.0123161171, 0.115057461, 0.0962810963, 0.7137292027, -0.0593327545, 0.5544191599, -0.5302078724, 0.2052063495, 0.1209224239, 0.470759064, 0.4891726971, -0.6097120643, -0.2976795137, -0.4096570611, -0.5417045355, -0.2836658657, -0.1569155306, -0.3765745461, 0.3225109875, 0.2689515948, -0.226756677, 0.5091996193, 0.6679793, -0.3390903473, 0.5672036409, -0.1352006942, 0.1809214056, -0.9875377417, -0.1703486443, 0.2640858293, -0.0869583711, -0.6022743583, -0.0525071807, -0.1079168618, 0.2320007831, -0.2685132623, 0.4791275561, -0.2802392244, -0.2649257481, -0.2323593199, 0.4547344446, 0.4358766973, 0.2015746385, 0.1171270981, 0.9220688939, 0.3559952974, -0.5288997293, 0.2796986699, 0.2862507105, -0.1443433017, 0.7465193272, -0.8716549873, 0.4499203563, 0.2240709662, 0.2305351794, -0.6980522275, 0.0261152815, 0.4045271277, -0.492534399, 0.4382605255, -0.0309694931, -0.3754361272, -0.2972584665, -0.8876345754, 0.0945690051, 0.5327576995, -0.8276715875, 0.3000913858, -0.0059686187, -0.1289925873, -0.5415551066, -0.544665575, -0.0967751667, -0.3792431056, -0.800704658, 0.2034573853, -0.0664702654, -0.6024006605, -0.1955029517, -0.3826352656, 0.2145488858, 0.1770664304, 0.1804030389, 0.7020727992, -0.2058019042, -0.1519648284, 0.1865472347, -0.2005194128, 0.3698142469, -0.2848643661, 0.3625115156, -0.2342142463, -0.3813853264, -0.0788383931, 0.3252496719, 0.2154602557, -0.2755172551, 0.4682281017, 0.5577164292, -0.2570558786, -0.4763481617, -0.5354624987, -0.2836450934, -0.5134193301, 0.158771202, -0.0671492219, -0.6360911727, -0.0010285061, 0.2080858052, 0.051370997, 0.3132913709, 0.3195880949, -0.137745589, 0.9488610625, 0.2288783938, 0.1154646501, 0.2433671504, -0.1181676984, 0.4297039211, -1.0151185989, -0.2553874254, -0.2988641262, -0.3733286858, -0.3735500872, -0.2786851227, 0.6445291042, 0.4360343516, -0.1149923876, 0.1569125205, -0.6729117036, 0.313097477, 1.0111460686, 0.3310759068, 0.1755812168, -0.0838314742, -0.1141108125, 0.0103088235, -0.8189177513, -0.8811425567, 1.3912543058, 0.013206698, 0.4379453659, -0.115252167, 0.8363898993, 0.1412648559, 0.2672024369, -0.7945744395, 0.7236050963, -0.2567174137, -0.0673233718, -0.2295313776, -0.5652983785, -0.6371071339, 0.0311889835, -0.4791639447, -0.9788717628, -0.1208455935, 0.3880775869, -0.6769621968, 0.4013226032, -0.8117359877, 0.8343262076, -0.7437944412, -0.6918615699, -0.2096866816, -0.6291537285, 0.4557754099, -0.0044700806, -0.0594405234, 0.1756577492, 0.0299767777, 1.0564600229, -0.5568789244, 0.637182653, -0.1473593861, 0.0870620236, 0.3349424303, 0.3160078824, 0.3575946689, 0.1120187864, -0.2610721886, 0.0480086245, -0.0498165376, -0.4422186911, -0.8884702325, 1.0098360777, -0.588341713, -0.943697989, -0.1560685635, -0.6093173027, -0.7109833956, 0.0629750714, 0.3780036271, 0.5556687713, -0.0072799735, -0.1024159715, 0.5746997595, -0.3644548655, 0.5083020329, 0.0664207563, -0.1023215801, -0.495311141, 0.902289927, -0.2259721011, 0.6149085164, 0.385676533, 0.583452642, -0.2934838831, -0.9425041676, -0.4690949023, 0.0706948712, -0.7321071625, -0.172088176, -0.2062145323, -0.0782666057, -0.4755835533, -0.4185890853, -0.0835893899, -0.495351553, -0.0972143039, -0.2158863395, 0.2878890932, 0.8213086128, -0.0167753473, 0.3456473649, -0.7387399673, 0.2400387079, 0.4530662894, 0.2186791003, -0.2268133461, -0.4732401371, 0.2713024914, -0.1364131421, -0.3575135767, -0.8996606469, 0.0537578091, -0.1030808762, 0.6641981602, 0.618912816, 0.1883309931, 0.4731730819, -0.0214966778, 0.823988378, 0.1634350866, -1.0514786243, 0.7571515441, -0.2086621076, 0.1554224938, 0.7410152555, 0.2963349819, -0.0802057162, -0.2922151387, -0.6610310078, -0.7683020234, 0.3897757828, -0.0663338602, -0.3504073918, 0.02305777, 0.1590732485, 0.1615601629, 0.0862425342, -0.3873099387, -0.0889968947, -0.3909350336, -0.2575645745, -0.0556431264, -0.3065547049, -0.2053442299, -0.2311767638, 0.5748496652, -0.0873817727, -0.0827436373, 0.0685051382, 0.0674368143, 0.0804994777, 0.3977392912, 0.4856100976, 0.8988766074, -0.2661294341, 0.1191188022, 0.4204162359, -0.2710152566, -0.1292501092, 0.2162495255, -0.5696681738, -0.051780276, 0.7709940672, 0.7736456394, 0.5735480785, -0.6585235596, 0.7864136696, 0.030273648, -0.0323098786, -0.061069306, 0.0378018729, 0.0204288196, 0.0554975457, 0.0501023382, 0.1428502053, 0.0528456531, -0.2559270263, 0.0640918389, 0.5491486788, -0.0752361789, -0.2930032015, 0.6056861877, 0.4104148149, -0.3712346256, 0.5580494404, -0.277835995, -0.7348991632, 0.4835158288, 0.5315990448, 0.8542940617, -0.2150635272, 0.1688675135, 0.3247790933, 0.3081769943, 0.1122028381, 0.3425323069, -0.2147273272, -0.6902105808, -0.3901056349, -0.4770943224, -0.6382575035, -0.007792457, -0.7204148769, 0.1206983402, -0.8701983094, 0.0474464409, -0.4651691616, -0.1310983598, -0.3964109123, 0.1009245217, 0.2512497902, 0.7915685773, -0.6849623919, 0.7186545134, 0.7421135902, -0.1680475324, -1.0388712883, 0.1833609939, 0.0965130106, -0.9747036099, 0.3799396157, 0.0514190271, -0.3359792531, -0.4391483366, -0.1676707119, -0.4072985053, 1.0541471243, 0.1484107524, -0.6404221654, -0.0207606629, -0.0959148407, 0.3441341519, -0.1034622565, 0.3723596632, 0.8810902238, 0.6878683567, 0.1636199057, -0.8664932847, 0.1651872694, -0.1860840172, -0.072532557, 0.2383513898, -0.4479517043, 0.4021589756, -0.3519127369, -0.1258932352, -0.0472920462, 0.53196311, 0.6731477976, 0.6973076463, 0.7587776184, 0.5212118626, 0.7320407629, -0.1839278936, 1.0534350872, -0.4251398146, -0.325027138, 1.3051341772, -0.2967278957, 1.0823904276, 0.5416395068, -0.2112168521, 0.4680054784, 0.5091773868, 0.1623027623, 0.2754280567, 0.2524826229, -0.2792836726, -0.3804018199, 0.1075039729, -0.2120078355, 0.4440176785, 0.1735520959, -0.1274973154, 0.0502937995, -0.374640584, 0.298232913, 0.6886560321, -0.434453398, 0.6025779843, 0.0483095013, -0.9536814094, 0.4654392898, -0.1322004199, 0.9653775096, -0.5804524422, 0.0159115866, -0.3159804642, 0.0100939851, -0.4841598272, -0.7053819895, 0.3637126982, 0.2075275779, 0.1777636558, -0.3730903864, 0.9213386178, -0.1568247825, -0.5526898503, 0.5080434084, 0.5404549837, -0.2445212305, 0.068810232, -0.5787270069, 0.0869009569, 0.0406420752, -0.0857204944, 0.1578731388, -0.1186252534, -0.2416050583, 0.4227632284, 0.7186726332, 0.3019278049, 0.1758890748, 0.1413914114, 0.7141211033, -0.4337307811, -0.2121533155, -0.8554317355, 0.2229212523, -0.1631584764, -0.3813268244, 0.9016570449, 0.4608160853, 0.9207293391, 0.3440272212, 0.8662859797, 0.1148790866, 0.485996902, -0.7052018642, 0.5715506077, -0.19084768, 0.4781500697, -0.3509093225, -0.9373494387, -0.2727852464, 0.4843904674, -0.8475285172, 0.1025706753, 0.6360428333, 0.7529550195, -0.0208403599, 0.0528141521, 0.2160476744, -0.0236179847, 0.1759196222, 0.7661399841, 1.1648350954, -0.1326588243, 0.5633848906, -0.6095938087, -0.4081858099, 0.2010937482, -0.9716559649, -1.1935133934, -0.1292448342, -0.2640603185, -0.4982964396, 0.1763782203, 0.9567050338, 0.6478050947, -0.8221516013, -0.185755685, -0.0442712754, 0.3222084343, -0.1346980929, -0.2481421232, 0.4846917391, -0.0752132908, -0.670352757, 0.9320013523, 0.3414815068, -0.2217243016, -0.4163518548, -0.4764375985, 0.0463403575, 0.0205173474, 0.4647994339, 0.2024291903, -0.793612361, -0.4105557203, -0.097687386, 0.0708515048, 0.0534174591, 0.7709685564, -0.8369646668, 0.4213884175, 0.7526016831, 0.6924881339, -0.048541341, 0.3060946465, 0.880137682, -0.5193152428, 0.0868861675, 0.3843132854, 0.4631508887, 0.6061064005, -0.2647916973, 0.3176425695, 0.1396767795, -0.4210927486, -0.5970090628, 0.0604465716, -1.1034207344, -0.0449512228, 1.2766940594, -0.3239166141, -0.0058263377, 0.3458660543, 0.002655766, 0.2359111309, -0.3474017978, 0.6652038097, 0.4478009045, -0.3407917619, -0.071458526, -0.2919820547, 0.259485662, 0.7438744903, -0.9567158222, -0.5495491028, 0.4650307894, 0.1952831447, -0.0215166751, 0.2205521762, 0.068720594, 0.2800535262, -0.0583387204, -0.285772413, -0.2251960784, -0.2092615664, -0.4556182921, 0.0338250063, 0.1985827386, -0.3297882378 ]
http://arxiv.org/abs/2406.12317v1
http://arxiv.org/pdf/2406.12317v1
Finding Task-specific Subnetworks in Multi-task Spoken Language Understanding Model
2024-06-18T06:39:41
2024-06-18T06:39:41
Hayato Futami, Siddhant Arora, Yosuke Kashiwagi, Emiru Tsunoo, Shinji Watanabe
cs.CL
cs.CL, eess.AS
Recently, multi-task spoken language understanding (SLU) models have emerged, designed to address various speech processing tasks. However, these models often rely on a large number of parameters. Also, they often encounter difficulties in adapting to new data for a specific task without experiencing catastrophic forgetting of previously trained tasks. In this study, we propose finding task-specific subnetworks within a multi-task SLU model via neural network pruning. In addition to model compression, we expect that the forgetting of previously trained tasks can be mitigated by updating only a task-specific subnetwork. We conduct experiments on top of the state-of-the-art multi-task SLU model ``UniverSLU'', trained for several tasks such as emotion recognition (ER), intent classification (IC), and automatic speech recognition (ASR). We show that pruned models were successful in adapting to additional ASR or IC data with minimal performance degradation on previously trained tasks.
[ -0.2091821879, -0.5673003197, 0.3179589212, 0.1240516007, -0.3775823712, -0.2915963829, -0.2958550751, -0.1102194861, 0.2501121163, 0.4413392246, -0.820106864, -0.413682282, -0.3864795864, -0.2331001014, -0.3123579919, 0.7203917503, 0.0561113805, -0.2810873091, -0.3434647918, -0.332547754, -0.7186781168, -0.6513275504, -0.7533083558, -0.6438453197, 0.4042529762, 0.5574259162, 0.1486565024, 0.1516307145, 0.1401120722, 0.3771018684, -0.3634167612, 0.0858694538, -0.4810028672, 0.192533493, -0.0176662877, -0.7080997229, -0.3328952193, -0.3166032732, 0.9126645327, 0.7223008871, -0.3616954386, 0.2784332037, 0.1233646497, 0.5365743041, -0.5111886263, 0.2023221105, -0.6664953232, 0.2455593497, -0.1541537046, -0.1933390349, -0.5001418591, 0.3875931799, 0.2263389826, -0.6477771401, 0.4565224051, -0.265665859, 0.6830868125, 0.3745339811, -0.2571783066, 0.0305716675, -0.5854210258, 0.7892679572, -0.887172401, 0.4665950537, 0.3794800341, -0.0867744461, -0.2069953382, -0.5387353301, -0.2225298882, -0.3057098389, -0.1791583598, 0.287352711, -0.585036695, 0.2000319064, 0.2021051049, 0.0326692574, -0.5270845294, 0.1413763613, -0.4703104198, -0.2581345141, 0.3441473544, 0.016304452, 0.2716244757, 0.0140081616, -0.1116930097, 0.2167800665, -0.5779678226, 0.1517340839, 0.3348833025, 0.3292979896, 0.1575574726, 0.3103506267, -0.1374920905, 0.6832877398, -0.152422443, -0.0926957205, 0.4117474854, -0.3296436071, -0.4481341839, -0.0395170003, 0.4664465785, -0.1291512251, 0.4459725022, -0.2131508887, -0.1921443939, 0.0032615489, 0.4917547405, -0.202736333, -0.5185949206, 0.1825751215, -0.5297317505, 0.1016785875, -0.4126748443, 0.0885286555, -0.1196744442, -0.3818055093, 0.2337101847, -0.4637179673, -0.5368852019, -0.046406351, -0.1142231375, -0.2740727663, 0.3109333515, -0.4330122769, 0.2865174413, 0.4772699475, 0.9101840258, -0.0861294195, -0.7624831796, -0.3934929371, -0.1380246431, -0.1501551121, 0.5444670916, -0.2602367103, -0.1523232609, -0.3275493681, 0.2079739422, -0.605342567, -0.63418293, 0.5105580091, -0.3076333404, -0.3852058053, -0.088721171, -0.3716883361, -0.460472405, 0.2264057547, -0.7815577984, 0.8117137551, -0.293237716, -0.7652575374, -0.1767881364, -0.6228001118, -0.7061407566, -0.0548565798, -0.0047095148, -0.5575067401, 0.7078427076, 0.1246026382, 0.4571947455, -0.1099675223, 0.4290725887, -0.0788057521, -0.3538993001, 0.2191420943, -0.2424389422, 0.5848621726, 0.0598872937, -0.1313673705, 0.5219135284, -0.4102241695, -0.1281285584, 0.0672471896, -0.3014475405, -0.5228953958, 0.0923838541, -0.1050399095, 0.1653462648, 0.0957993791, -0.5613905787, -0.0344813578, -0.0876881704, 0.717649281, 0.6632548571, -0.0930345654, 0.3801763058, -0.4729308188, 0.5461137891, 0.5030557513, 0.1367985606, -0.2345935404, -0.4301908314, -1.0672471523, 0.2095075846, 0.1401977539, 0.5781505704, -0.5404540896, 0.0083685927, -0.1531294733, -0.6314588785, -0.6527913809, 0.1261023581, 0.4954723418, 0.5220676661, 0.3827446699, -0.4133406878, -0.4912007749, -1.1217513084, -0.282943368, -0.0506881736, 0.0654842556, 0.5036482215, 0.4317429066, -0.093392916, 0.7851364613, -0.2928346097, -0.4741403461, -0.4960078895, 0.4315609336, 0.25984326, 0.6030389071, 0.1437247694, -1.0292161703, -0.0825166926, -0.053117685, -0.4364125431, -0.0210834965, -0.4780127704, 0.3583036661, -0.2952518165, 0.3777663112, -0.7264965773, 0.4497047067, 0.5054080486, 0.0712203085, 0.7313579321, -0.3528677523, -0.1677619368, -0.8096574545, 0.0775132254, 0.2629891634, -0.1296014488, -1.2095504999, -0.0006014313, 0.0688170493, -0.2256089151, -0.5549657941, 0.2271333337, -0.7636118531, -0.3453482985, -0.2462931275, 0.0893442482, -0.0691671371, 0.8576936722, 0.3331081271, 0.5396154523, 0.8085772395, -0.7461896539, 0.2269657403, 0.0505045056, -0.2259906232, 0.1108336747, -0.6731271744, 0.490073055, -0.4005658329, 0.3102704585, -0.7569935918, 0.3165235817, -0.110984534, -0.3994425237, 0.2587994635, -0.5321176052, -0.0094163436, -0.1278056651, 0.2240581661, 0.4084543586, 0.177970469, -0.188667953, 0.9541011453, 0.5457066298, -0.3177523613, -0.6457386017, -0.7816287279, -0.0159054771, -0.2136384547, -0.5583761334, 0.5397230387, -0.0280726347, -0.0350033715, 0.0290751345, -0.3880726993, -0.1641140878, 0.281252563, 0.4349870682, -0.1318493932, -0.2352103889, 0.1417164356, -0.075084731, -0.1959328055, -0.121925883, -0.3042390645, 0.6324750185, -0.2061331421, -0.4890013933, -0.6585093141, 0.5460789204, 0.6763256788, -0.5481811166, 0.450215131, 0.7508252263, -0.5223306417, -0.3074872196, -0.5312322378, -0.2955080569, -0.4234773517, 0.7715672255, -0.6758350134, -1.0013840199, 0.5985969305, -0.2808383405, 0.2083778679, 0.0390821546, 0.3832199872, -0.1024661511, 0.7408879995, 0.7322260141, -0.2147759795, 0.6177890301, -0.1935397983, 0.1167960018, -1.0756534338, -0.151176244, -0.5058547258, -0.6011518836, -0.0600998774, -0.3916430175, 0.227953732, 0.0988358706, 0.2368124872, 0.5550201535, -0.4276798368, 0.2096056044, 0.8815582991, 0.2607641518, 0.1300902516, -0.1458753943, -0.086542286, 0.1215765998, -1.091711998, -0.0393959284, 0.5546043515, 0.3730310798, 0.4922659993, -0.0191556998, 0.6449393034, 0.1382623613, 0.169135496, -0.700676024, 0.5527822971, -0.4638670385, -0.2743063867, -0.3339684904, -0.699907124, -1.0182218552, 0.405415386, 0.0777842551, -0.9321850538, 0.2887663841, 0.3903788626, -0.2851638198, 0.3281039596, -0.8548475504, 0.8892724514, -0.1556399018, 0.2659120858, -0.4143972993, -0.4875127673, 0.168412298, 0.0960367993, 0.2911606431, -0.2829241455, 0.3461821675, 0.9738497138, 0.0050289375, 1.0459902287, -0.4412678778, 0.2634688914, 0.2666114569, 0.1369670033, 0.4715672135, -0.1830280721, -0.0084631015, 0.1108076274, -0.1565959454, -0.3393597305, -0.5342635512, 0.7323620319, -0.6536004543, -0.5590003729, -0.1581943333, -0.9272791147, -0.1970372349, 0.065548718, 0.1923918277, 0.622507453, 0.0500474609, 0.2054210156, 0.8187534809, -0.203758508, 0.4556180835, 0.4606568217, 0.2896465063, 0.0885853544, 0.8988208771, 0.2135616839, 0.1582072079, 0.3371960521, 0.2126059979, -0.0960940123, -1.0160508156, -0.176453501, 0.1437540203, -0.6166729331, -0.1651651412, -0.4809063077, -0.074038066, -0.3655077219, 0.2651214004, -0.4955248833, -0.0998619199, -0.5449818969, -0.1062494069, 0.2131948024, 0.593221426, 0.0977647081, 0.4492218196, -0.856105864, 0.2539345026, 0.1259367317, 0.0908938944, 0.2537895441, -0.7155864835, -0.1896132082, 0.1429142803, 0.1715202183, -1.0801327229, 0.4726700783, 0.5874284506, 0.745824039, 0.0559170172, 0.0524481609, 0.9651764035, -0.4758351445, 0.508367002, 0.3419088125, -1.0128448009, 0.597830236, -0.0376142226, 0.8254246116, 0.4355289936, 0.2559814155, -0.8824150562, -0.2297341228, -0.6069865227, -0.9125055075, 0.8712430596, 0.2159569263, 0.0710562319, 0.3383702934, 0.4060648978, -0.264752686, 0.1321637779, -0.761941433, -0.3563939631, -0.1066667959, -0.1813627034, -0.1622406542, -0.088191919, -0.0907998905, -0.169694677, 0.7070073485, -0.1461390555, 0.3586077094, 0.3943944573, -0.6154918075, 0.0633579195, 0.4073818326, 0.5685519576, 0.5810018778, 0.1175173074, 0.2715735137, 0.4097204208, -0.5596068501, 0.1005263552, 0.0153361969, -0.1286812276, 0.2166801691, 0.3972637057, 1.2373377085, 0.3956080973, -0.6508170366, 0.2633671761, -0.1255912483, -0.1476428509, -0.2821176946, 0.070340842, 0.3699121773, 0.2568208277, 0.5912362933, 0.2401898801, -0.02231309, -0.5338560343, 0.3865750432, 0.2492139041, -0.524271071, -0.3356798887, 0.1722293496, -0.0167214032, -0.5813139677, 0.8027679324, -0.1330618113, -0.6844872832, 0.8326906562, 0.7620518804, 0.6223974824, -0.3305937052, 0.1096003801, 0.1073095277, 0.4925804436, -0.0583415404, 0.2657685876, -0.0567809865, -0.8405097723, -0.6022184491, -0.4383807182, -0.2111825645, 0.2822188437, -0.8443055153, -0.1702827364, -0.1739302278, -0.2930314243, 0.0143108107, -0.1807272434, -0.5859302282, 0.4298871756, 0.1205456555, 0.7975896597, -0.9891919494, 1.2369616032, 0.8751344681, -0.0007973689, -0.9901168942, -0.2881172895, 0.1197617576, -0.47799173, 0.3706182837, 0.0895255655, -0.1072433069, 0.1426851749, 0.0060840254, -0.8570479751, 1.0391969681, 0.4340469539, -0.9772817492, -0.0989777222, -0.1929490268, 0.2389437705, -0.2433061302, 0.298899889, 0.526553154, 0.2196347713, -0.1265689433, -1.1839374304, -0.0287724528, -0.6159713268, -0.2854266465, 0.3690728545, -0.4750544131, 0.9922446012, -0.1954690367, -0.1195808873, -0.2165575176, 0.6946691275, 0.2538275123, 0.3686650395, 0.9629926085, 0.716663897, 0.785263896, -0.1490083635, 0.3810480535, 0.1070503443, 0.4625244737, 1.3316191435, 0.0534234941, 0.6984127164, 0.4152124226, 0.0706619769, 0.151391238, 0.6342343092, 0.1714089662, 0.3687330484, 0.3186114132, -0.1041416824, -0.4030936062, -0.2302624136, 0.0276056882, 0.4629181325, 0.4744310379, -0.0425507315, -0.0534048267, 0.3382046819, 0.076752007, -0.2756170034, -0.4357290268, 0.7419002652, 0.2361425459, -0.819719553, 0.5732363462, 0.0568863265, 0.6459174156, -0.7237383723, 0.1752195656, -0.2782515883, 0.0959685072, -0.2356027812, -0.5021478534, 0.4518373311, -0.1961830556, -0.1448343992, -0.24667795, 1.0860906839, -0.5721880198, -0.213497594, 0.4679197967, 0.4445108771, 0.2403796017, -0.4191139042, -0.9916314483, 0.2182617337, 0.2851237953, -0.2441776097, 0.4875126779, 0.1492019147, 0.0962882265, 0.8755668998, 0.7346812487, 0.0466081165, 0.141912207, 0.4435875714, 0.7375665903, -0.5079447627, -0.5619386435, -0.5386264324, 0.360022068, -0.0284927599, -0.394946754, 0.5821200013, 0.1936902404, 0.7078412175, -0.0373007916, 0.6994588375, 0.0606723316, 0.1870504469, -0.3627449274, 0.5247082114, -0.6109247208, -0.0320521481, -0.138352111, -0.4852455854, -0.2155340761, 0.6910316348, -0.2319912612, -0.2148703337, 0.6074526906, 0.720218122, -0.2353246063, 0.1283744127, 0.2760080993, 0.3020492494, 0.0362674557, 0.8698917627, 0.5216971636, -0.0824323073, 0.5945209265, -0.5760774016, -0.2017597556, -0.0021909163, -0.7838047743, -0.7665982842, -0.8465359807, -0.477914691, 0.0211653542, 0.1392676681, 0.5171088576, 1.0312856436, -0.7323799729, -0.3262165487, -0.2179059535, 0.1559220254, -0.6215379238, -0.1330831349, 0.3629484475, -0.2031664848, -0.4750374556, 0.906439364, 0.2376092225, -0.1934524328, -0.1001288444, -0.0450769477, -0.5583648086, -0.2405705601, 0.2042927146, 0.3936736584, -0.6904246211, -0.1169227064, 0.0348769613, 0.5039447546, -0.0085362606, 1.1926054955, -0.6383644938, 0.2078223228, 0.3648892045, 0.507409811, 0.8324236274, -0.0184141919, 0.4978298843, -1.1902710199, 0.2484738082, 0.4561806619, 0.755307436, 0.294675678, -0.2471328825, 0.0736421794, 0.2002329379, -0.4664813876, -0.7789006829, 0.4660977423, -0.9699423909, -0.4919938445, 0.9223203063, -0.5545139313, -0.3034814298, -0.3890920281, -0.0245455299, 0.4099035561, -0.184293285, 0.3194541037, 0.4858817756, -0.2291579694, -0.5514225364, -0.4057734609, 0.2072226703, 0.8829359412, -0.6260586381, 0.2824760377, 0.1124883443, 0.2843852341, 0.2176246941, 0.6607649922, 0.480753243, 0.2909581065, -0.1076824069, -0.0516854189, -0.3578942418, -0.6914234161, -0.3086673021, 0.2615167201, -0.102242142, -0.3612247109 ]
http://arxiv.org/abs/2406.12307v1
http://arxiv.org/pdf/2406.12307v1
Can Tool-augmented Large Language Models be Aware of Incomplete Conditions?
2024-06-18T06:28:06
2024-06-18T06:28:06
Seungbin Yang, ChaeHun Park, Taehee Kim, Jaegul Choo
cs.CL
cs.CL
Recent advancements in integrating large language models (LLMs) with tools have allowed the models to interact with real-world environments. However, these tool-augmented LLMs often encounter incomplete scenarios when users provide partial information or the necessary tools are unavailable. Recognizing and managing such scenarios is crucial for LLMs to ensure their reliability, but this exploration remains understudied. This study examines whether LLMs can identify incomplete conditions and appropriately determine when to refrain from using tools. To this end, we address a dataset by manipulating instances from two datasets by removing necessary tools or essential information for tool invocation. We confirm that most LLMs are challenged to identify the additional information required to utilize specific tools and the absence of appropriate tools. Our research can contribute to advancing reliable LLMs by addressing scenarios that commonly arise during interactions between humans and LLMs.
[ -0.278432548, -0.9204832911, 1.1121532917, 0.2552753687, -0.1852341741, 0.3994095623, -0.4457427561, -0.6617426872, 0.0169200413, 0.4777802527, -0.7003458738, -0.2323648632, -0.6052671075, 0.1137972623, -0.6259568334, 0.6468371749, -0.2826257944, -0.1513524652, -0.711879313, -0.056348294, -0.7865879536, -0.4772121012, -0.525083065, -0.6186269522, 0.3643087745, 0.4443500638, 0.8191031218, 0.3449311256, 0.5048900843, 0.3506677747, -0.2373185009, 0.1200805083, -0.3151435852, 0.1859161109, -0.0899335518, -0.1532258838, -0.5920931101, -0.0609257594, 0.4792810977, 1.250295043, -0.1951215565, 0.1278242171, 0.4922116995, 0.1602570266, -0.5524783731, 0.0858255401, -0.6284329295, 0.2935932577, -0.227931872, -0.2417143136, -0.3660425544, 0.0307234339, 0.195000127, -0.5629624724, 0.191430971, -0.0291372165, 0.6133256555, 0.4287026823, -0.4904821813, -0.2551421225, -0.9487099648, 0.5919032693, -0.6901067495, 0.2917746305, 0.731281817, -0.0240115635, -0.7762360573, -0.3712465763, -0.7324981689, -0.014297707, -0.3473570347, -0.0109683881, -0.0952762663, 0.1243115216, 0.605245471, 0.1138754264, -0.2139417827, 0.5197379589, -0.4867521524, -0.4176200032, 0.2030062377, 0.413890332, 0.3919516206, -0.470597893, -0.131238699, 0.334323585, -0.9667143226, -0.0628132224, 0.2888218164, 0.2838532627, -0.355465889, 0.8888372183, 0.2203072309, 0.8974704146, -0.2120744884, -0.2787381411, 0.280870229, -0.3123493791, -0.540350616, -0.0702350736, 0.5854368806, 0.0951375067, 0.0818647668, -0.444167465, -0.6410908103, -0.4500355422, 0.0604049005, -0.1596753746, 0.0669181198, 0.6512203813, -0.0503048226, -0.0392859876, -0.1373502761, -0.4138569534, -0.8665992022, -0.4244038761, 0.6306654811, 0.0302963275, -0.6614233255, -0.1541181207, -0.2102092057, 0.1591984332, 0.500597477, -0.3330349624, 0.2443788946, 0.6180499196, 0.9705366492, -0.0562048256, -0.2808734775, -0.759303391, 0.295976311, -0.4172402322, 0.3356930912, -0.5616172552, -0.6221844554, 0.0504243411, 0.3264479339, 0.1667317748, -0.6478789449, 0.4242699742, -0.4127230048, 0.1810439825, -0.3862282932, -0.4855931699, -0.0967293829, 0.175325036, -0.8736129999, 1.0703411102, 0.2607303262, -0.8180583715, 0.3214051425, -0.4091159701, -0.5432251096, 0.0919977576, -0.1485910863, -0.4731186628, 0.1248569563, -0.0020125932, 0.5856628418, -0.3458699882, 0.5099151731, -0.7287153602, -0.5603603721, 0.1833093017, -0.397873044, 0.5616514087, 0.0739084333, -0.197677061, -0.0518408529, -0.5518115163, -0.1457117498, 0.2139571905, -0.4377410114, -0.3280037045, 0.2666330934, 0.0525873452, 0.3009281158, 0.431078285, -0.5439369678, 0.1536262631, -0.3604255021, 0.4541467726, 0.9219915271, 0.0225687288, 0.3991553187, -0.0960532799, 0.5809428096, 0.1790940017, -0.0546405613, 0.0787914619, -0.0839350969, -1.2193086147, -0.1531319916, 0.2982241809, 0.6949529052, -0.9473974109, 0.531583488, -0.2239365876, -0.0854431689, -0.4371049702, 0.3561537564, 0.3391256928, 0.331625104, 0.1285992861, 0.0159285944, -0.7668753862, -0.8265784979, 0.0607622117, 0.0636494905, -0.1454953849, 0.3887917399, 0.3226759434, -0.0827035457, 1.0542238951, -0.0097429538, -0.1623084843, -0.5442268252, -0.110095121, 0.4539015293, 0.2445703596, 0.3791165948, -0.6624718308, -0.0990390033, 0.0582559258, -0.9415028691, -0.1310269833, -0.3064464331, 0.3779724538, 0.2671979368, 0.7395119071, -0.6114714742, 0.6643297672, 0.6878070235, 0.0312513523, 0.4413132966, -0.4404854178, -0.1014584228, -0.7469741702, 0.1998109072, 0.1665293425, -0.535607338, -0.5578616858, -0.3210673928, 0.0958822742, -0.1128650233, -0.4793337286, 0.9021743536, -0.757489264, -0.2868025601, -0.339428544, 0.3358576, -0.104651913, 0.2321463376, 0.1689904034, 0.7813749909, 0.6374408603, -0.5642800331, 0.0994183943, -0.0411365442, -0.3926439881, 0.3196785748, -0.9351203442, 0.1233785003, -0.1315824687, 0.0987198949, -0.7547277808, -0.6157170534, 0.5850018859, 0.0058173495, 0.2793170214, -0.4869916439, -0.950556457, -0.4285978377, 0.0962182954, 0.2609166503, 0.5677477121, -0.4123498499, 0.7855209708, 0.3311827183, -0.4215626717, -0.4989235699, -0.5112905502, 0.3247407377, -0.3219723403, -0.1960548311, -0.0680541396, 0.0662118942, -0.3026661277, 0.1256525964, -0.2122053206, -0.190061301, 0.3530688882, 0.709087491, 0.4924991131, 0.2379643023, 0.2997754216, 0.0208839662, 0.2212927043, 0.1586582959, 0.3981514871, 0.3977196813, 0.3778573573, -0.8847200274, -0.3512167633, 0.2489704639, 0.6518419385, -0.054134246, 0.6798625588, 0.4965437651, -0.5985459685, 0.0833875388, -0.8744493723, -0.0506832264, -0.5193981528, 0.3074314296, -0.4191780686, -0.7996735573, 0.7381811142, -0.1438900679, 0.1336760074, 0.1223571002, 0.5640953779, -0.2628606558, 1.0649888515, 0.6549207568, -0.2053974569, 0.2552655041, 0.1804961413, 0.171215266, -1.1175031662, -0.2637259066, -0.3122960925, -0.1583792418, -0.2864115238, -0.1729844511, 0.5821518302, 0.1387582123, 0.0583799519, 0.0661647841, -0.1197138503, 0.5506972671, 0.2181234062, 0.3355722427, 0.123548761, -0.1712904125, -0.2905077636, 0.3099931479, -0.7201254368, -0.4270268083, 0.9605089426, 0.2717311382, 0.5353353024, 0.0439060442, 0.5436512232, 0.3491919935, 0.2373687029, -0.7791454196, 0.4784207344, 0.3065382242, -0.482837081, -0.1636349857, -0.3748175502, -1.1724110842, 0.1231240481, -0.2485539019, -0.834274888, 0.1393510401, 0.2286065519, -0.4906105399, 0.0789085999, -0.8169187903, 0.6962993145, -0.1652351171, -0.2657304108, -0.054692734, -0.5594328642, 0.400164932, -0.4349241257, 0.686825037, -0.2710965276, 0.0597468838, 0.6334701777, -0.5168480873, 1.068739295, -0.1934822649, -0.1622860879, 0.1190984473, 0.1895312518, 0.8252161741, -0.0597314797, -0.0675773919, -0.0317294113, 0.01173859, -0.4721879661, -0.4557075799, 0.8961725831, -0.7228407264, -0.8411788344, -0.5796802044, -0.4987951219, -0.4166751802, 0.2421821803, -0.2045160532, 0.4389984608, 0.0878702998, -0.017693704, 0.4111127853, -0.342597425, 0.6575005651, 0.603965044, -0.2199719846, 0.1533174217, 0.698599577, 0.1472247541, 0.3087589145, -0.3886670172, -0.1626254171, -0.0253214203, -0.7811014652, -0.218706727, 0.3059763312, -0.7470983863, -0.1363546848, -0.2978739142, -0.2680262029, 0.0448669381, 0.1231068894, 0.0176221766, -0.076261431, -0.7218877673, -0.0792632923, 0.3198102713, 0.8433199525, 0.0699917749, 0.2210362852, -1.0582355261, 0.1303192228, 0.0285958368, 0.2691953182, 0.2252492309, -0.50318259, -0.2285776436, 0.1737073958, 0.1894399822, -0.6844860911, 0.0965960696, 0.1523506194, 0.7481626868, 0.2073332369, 0.0934012532, 0.8765178919, -0.5843875408, 0.6242831349, -0.0440090932, -0.9888862967, 0.4044246674, -0.4593566656, 0.3353587985, 0.1495487243, 0.4315606952, -0.6820073128, -0.6152175665, -0.3620619774, -0.8865358829, 0.8261834383, 0.0388230011, 0.1727048308, 0.0302709062, 0.5130977035, -0.0111116543, 0.1493638158, -0.692982316, 0.0388677046, 0.3393073082, 0.0563040599, 0.065248169, -0.2558709085, -0.2255698591, -0.2233314514, 0.3295523524, 0.203740567, -0.1736772954, -0.0420528501, -0.4153332114, -0.2779268324, 0.3511145413, 0.3823822439, 1.0174895525, -0.2004465312, 0.0333087817, 0.4334565103, -0.1150723547, 0.1679844707, -0.1694476455, 0.1802190095, -0.1925693452, 0.6350581646, 0.6596748829, 0.2648359835, -1.0904114246, 0.5220773816, 0.0906958953, 0.1477183551, -0.6427160501, 0.1192055568, 0.2126764655, 0.2157370895, 0.273573041, 0.0742754787, -0.0019960639, -0.530941546, -0.0766310543, 0.5837387443, -0.6058650613, -0.40999192, 0.1988907307, 0.3364730179, -0.2311554551, 0.8247307539, -0.2630964816, -0.4124416411, 0.5186137557, 0.237525776, 0.6314321756, 0.2280521542, -0.0843630806, -0.0794649199, 0.486171484, -0.1338057369, 0.2146153301, 0.2219523489, -0.6825639009, -0.8451542854, -0.5385700464, -0.4087969959, 0.3392531276, -0.7165514231, 0.4968898296, -0.4039013684, -0.1940032244, -0.0782599896, -0.4316063523, -1.0312994719, 0.0236736462, -0.0495211557, 0.5718898773, -0.9900497198, 0.8744299412, 0.6109184027, -0.1745565832, -0.8098415732, -0.115895927, 0.3523338139, -0.6644846201, 0.4367224574, -0.16789864, -0.1368208528, -0.3233505785, -0.4007362723, -0.7286576629, 0.7714613676, 0.5434759855, -0.6423134804, 0.1394062191, 0.0067412243, 0.4553225935, 0.2201914638, 0.1180739775, 0.7069870234, 0.7741732001, 0.2704862952, -1.4865577221, 0.1697035581, -0.0732713491, -0.2892382741, 0.4453307688, -0.3392276764, 0.6495102644, -0.301612705, -0.4730753303, 0.1296942085, 0.2471833527, -0.0243442655, 0.2837197483, 0.6270784736, 0.5088828802, 0.639154911, -0.140828535, 0.9848120213, 0.0794522315, 0.2175401449, 1.2160874605, -0.6052311659, 0.8794896603, 0.5051799417, -0.2776733339, -0.068227455, 0.9354766011, 0.1755144298, 0.1680308431, -0.1047493517, -0.4361615479, -0.7539023161, -0.1135002673, -0.3496525884, 0.5793181658, 0.5407186151, -0.0978441462, -0.2313494086, 0.2219797224, 0.1168280914, -0.2901343405, -0.0961093977, 0.8902349472, -0.0637442023, -0.5721386671, 0.616179049, -0.057546474, 0.4627003074, -0.5390532613, -0.1274568886, -0.1661861688, -0.2026266158, -0.4397298992, -0.8969939351, 0.1806050837, -0.1035848185, -0.2119016647, 0.0358013175, 0.488384217, -0.4480772316, -0.6975915432, 0.1023983434, 0.8643213511, 0.1551866978, 0.0987090021, -0.3840783238, 0.4206022322, -0.1635401547, -0.1960454136, 0.5278631449, 0.5181670785, -0.0098187048, 0.9451586008, 0.554101944, 0.3350208402, -0.3163999617, 0.0042339396, 0.8891064525, -0.5490423441, 0.199041903, -0.9774015546, 0.2973982394, -0.1641941518, 0.0929862037, 0.8219994307, 0.3228879571, 0.4519503117, 0.1510389, 1.0934203863, -0.1114597842, 0.8187839985, -0.7738196254, 0.509706378, -0.9263925552, 0.7474153638, -0.2524244487, -0.9407210946, -0.1611997038, 0.22451666, -0.2525055707, 0.08322303, 0.5715819597, 0.5854601264, -0.3027384877, -0.4463843405, 0.13640441, 0.193612963, 0.4615214169, 0.3629314303, 0.8294175267, 0.1724977493, 0.5161350369, -0.0120057566, -0.0874069259, -0.0610998906, -1.0538140535, -0.8866866827, -0.5205445886, -0.2559058368, -0.1705982834, 0.053606227, 1.074078083, 0.4802884161, -0.5000607967, -0.2080252767, 0.2554894984, 0.5006976724, 0.1886398196, -0.1530031562, 0.3101308048, -0.246593073, -0.7647615075, 0.4382617176, 0.5246040821, 0.3352980912, -0.5766806602, 0.0675688013, -0.0463795364, -0.0028918823, 0.5339136124, 0.3946838379, -0.9866249561, -0.6684090495, -0.2115549892, 0.1591557115, 0.0130375493, 0.7485503554, -0.8530905843, 0.4717240036, 0.183786571, 0.4700257778, 0.1155574173, -0.1820896566, 0.6617686152, -1.1961374283, 0.4559619129, 0.2458299696, 0.638019681, 0.5191156864, -0.2405796498, 0.33688429, -0.0176187884, -0.4580226243, -1.1106653214, 0.0881174877, -0.8897429109, -0.1876797229, 1.3583369255, -0.203189075, -0.0689995661, -0.5926225781, -0.1934747547, -0.1670824587, -0.121462062, 0.67148, 1.1524072886, -0.0541978478, -0.2687734365, -0.7446815968, 0.3082573712, 0.2519297004, -0.8284239769, 0.1016621292, 0.6743053794, 0.4246553183, -0.0889526233, 0.5031545758, 0.2603723109, 0.2381112874, -0.3870890439, -0.137911126, -0.0585501343, -0.150691703, 0.0277936719, -0.0041177953, 0.4863633215, 0.3093550503 ]
http://arxiv.org/abs/2406.12304v1
http://arxiv.org/pdf/2406.12304v1
COT: A Generative Approach for Hate Speech Counter-Narratives via Contrastive Optimal Transport
2024-06-18T06:24:26
2024-06-18T06:24:26
Linhao Zhang, Li Jin, Guangluan Xu, Xiaoyu Li, Xian Sun
cs.CL
cs.CL, 68U15, I.2.7
Counter-narratives, which are direct responses consisting of non-aggressive fact-based arguments, have emerged as a highly effective approach to combat the proliferation of hate speech. Previous methodologies have primarily focused on fine-tuning and post-editing techniques to ensure the fluency of generated contents, while overlooking the critical aspects of individualization and relevance concerning the specific hatred targets, such as LGBT groups, immigrants, etc. This research paper introduces a novel framework based on contrastive optimal transport, which effectively addresses the challenges of maintaining target interaction and promoting diversification in generating counter-narratives. Firstly, an Optimal Transport Kernel (OTK) module is leveraged to incorporate hatred target information in the token representations, in which the comparison pairs are extracted between original and transported features. Secondly, a self-contrastive learning module is employed to address the issue of model degeneration. This module achieves this by generating an anisotropic distribution of token representations. Finally, a target-oriented search method is integrated as an improved decoding strategy to explicitly promote domain relevance and diversification in the inference process. This strategy modifies the model's confidence score by considering both token similarity and target relevance. Quantitative and qualitative experiments have been evaluated on two benchmark datasets, which demonstrate that our proposed model significantly outperforms current methods evaluated by metrics from multiple aspects.
[ -0.659758389, -0.6499403119, 0.332972765, -0.1847680509, -0.4337579012, 0.1905187964, -0.0249145254, -0.2557108104, 0.4414722621, 0.4048282802, -0.5436825156, -0.5140542984, -0.5835854411, -0.0772577152, -0.7836617231, 1.114526391, 0.1964249462, 0.0149071617, 0.2239591628, -0.5382937789, -0.4220920801, -0.5728174448, -0.5804445148, 0.1499935389, 0.5155887008, 0.2403132021, 0.7461898327, 0.6160225272, 0.2600613832, 0.2196292877, -0.2400500774, -0.1917456537, -0.8542650342, 0.33365345, -0.659242928, -0.3979959786, 0.1327836066, -0.2220723629, 0.4190665185, 0.2153805792, 0.0891864598, -0.0535705164, -0.0364857689, 0.1409090608, -0.8062845469, -0.6315048337, -0.8739511371, 0.1490928531, -0.3117872179, -0.0076354756, -0.2884892821, -0.1178899705, -0.1028669551, -0.5550712347, 0.580593586, 0.1621120125, 0.5431129336, 0.1043844298, -0.6977651715, -0.4105178714, -0.7462098002, 0.9697486758, -0.4519292712, 0.2480215281, -0.0359227695, 0.2298264354, 0.2089752853, -0.3711204529, -0.6065663099, -0.0642854497, -0.0336739682, 0.2151416987, -0.462526083, -0.0633137971, -0.3180104792, 0.3000450134, -0.6590519547, 0.3722658455, -0.5342541933, -0.2098188698, 0.6720349193, 0.5180291533, 0.3263920248, -0.1757267267, -0.8530468941, 0.0686983243, -0.6136619449, -0.3065851629, 0.7257176042, 0.47172454, -0.3606894016, 0.4812906981, -0.0340746418, 0.3617115617, 0.1317550689, 0.1331839561, 0.1914544255, -0.2731505334, 0.0217218027, 0.0924622491, 0.787902534, 0.3354232013, 0.0783461854, -0.3771626055, -0.1824840754, 0.3399279714, 0.7756069303, -0.6264324784, 0.1162378863, 0.1334409863, -0.4695143998, -0.6712694168, -0.3273848295, -1.3772448301, -0.536391139, -0.1197748706, 0.3625096679, -0.6606964469, -0.366448313, -0.3868377209, -0.1746857017, 0.1590582877, 0.126251325, -0.9254293442, 0.3795858324, 0.3280626833, 0.9108736515, -0.7986793518, 0.1334833652, -0.4541204274, 0.2181304693, -0.3526102602, 0.759562254, -0.7789572477, -0.6273466945, -0.0232715905, -0.4141160548, 0.1416595727, -0.4763568044, 0.7260184884, -0.4348522127, -0.0006956058, -0.0762588903, -0.4436374605, 0.0568734556, 0.3014726937, -0.4087683856, 0.6461659074, 0.3773949146, -0.7166383862, 0.144760564, -0.4647122622, -0.4229032397, 0.0659233481, -0.2545469105, -0.469168514, 0.1084505916, 0.0029169382, -0.0771847144, -0.2943304181, 0.2411674559, -0.1189054623, -0.2409759015, -0.1386659145, -0.421951592, 0.7315165997, 0.6303156614, -0.5888525844, 0.4194708467, -0.543469429, -0.609356463, 0.2096427977, 0.0499199592, -0.4044211209, -0.2238313258, 0.2331496924, 0.1837421209, -0.1568449587, -0.8519659638, -0.3351914287, -0.595173955, -0.1020064652, 1.0994622707, -0.0797038972, 0.4252133071, -0.240361467, 0.8873950839, 0.5070253015, 0.3842741847, 0.241507113, -0.3551799655, -0.5419934392, -0.1010391042, -0.2232744098, 0.3455312848, -0.6288031936, 0.1179211736, 0.0865762606, -0.4464488328, -0.3167109489, -0.133408621, 0.4182626903, 0.769731164, 0.8727774024, -0.2956759036, -0.8680443764, -0.9123950005, -0.1960261464, -0.1131744385, 0.2238372266, 0.149880752, 0.2043671757, -0.2135466784, 0.8288673759, -0.5486726165, -0.2735472023, -0.4692487419, 0.2975781858, -0.3348056078, 0.4553873837, 0.9757379293, -1.222966671, -0.6304936409, -0.2987937629, -0.3808093965, -0.1648914218, -0.0805653483, -0.5136095881, 0.0739634857, 0.4436266422, -0.1595938951, 0.7071408629, 0.4626094997, -0.5735052824, 0.6515728831, 0.4253253043, 0.3588434458, -0.9965336323, -0.0960652083, -0.2136582136, -0.1049466953, -0.7313461304, 0.1053529009, -0.6167547107, -0.0949605405, -0.6467001438, 0.5591405034, 0.1686413288, 0.3244768083, -0.4655222297, 0.3822396398, -0.2451367974, 0.3983074725, -0.0586304367, 0.5652337074, 0.3546701074, -0.5168033242, 0.4071267843, 0.3548502326, -0.0250444505, 1.099850893, -0.2048413604, -0.0403483286, -0.4262359738, 0.0108906412, -1.2594966888, 0.4660177827, 0.415156275, -0.2592580318, 0.0275732111, -0.1273883432, 0.017523814, -0.1658251286, -0.2411734313, 0.8360404968, 0.6313465238, -0.5170279145, 0.7178188562, 0.457732439, -0.1525677443, -0.5436139703, -0.7381860614, 0.0593188144, -0.6940463185, -0.109732002, 0.7188401818, -0.1764144301, -0.2926642001, 0.0734654441, -0.145975247, 0.0774369463, -0.2375056446, 0.1541220099, 0.1353694797, -0.1552402079, 0.1428414732, 0.0886691362, -0.0387851745, -0.1296624839, -0.2357997894, 0.6585288644, 0.2509128749, -0.0035745096, -0.0044086757, 0.6826233268, 0.3996270597, 0.0548092201, 0.9327179193, 0.9132177234, 0.0768303201, -0.1491730213, -0.5475754738, -0.023136748, -0.420805037, 0.3134531677, -0.4626580775, -0.7292543054, 0.4907599092, 0.0119309844, 0.0233860668, 0.687531054, 0.6603105068, 0.227498129, 0.7290035486, 0.4744744897, -0.1063815877, 0.4932489395, -0.0975251645, 0.3255863786, -0.6742383242, -0.2205952257, -0.6125695109, -0.2390037626, -0.4995771945, -0.4889509678, 0.3820725083, -0.3037489951, -0.4756492376, 0.3936393261, -0.4915853143, 0.2233654708, 0.275749445, 0.0528499559, 0.161091283, 0.068343237, -0.5173362494, -0.1030129418, -0.6987151504, -0.1975707263, 1.0916233063, 0.0851786211, 0.5988058448, 0.459905684, 0.6604602933, 0.5610676408, 0.5300300717, -0.3966722488, 0.5014312267, -0.4834569991, -0.6384964585, -0.2748644948, -0.5815486312, -0.9916347861, 0.3496100903, -0.2332992107, -0.7921327949, 0.3130827546, 0.1222444922, -0.2194182277, 0.7299463749, -0.5092678666, 0.802971065, -0.0928728506, -0.5395834446, -0.6245856881, -0.631410718, 0.2996428013, -0.0486212038, 0.4130650461, 0.0280338377, -0.061667867, 0.6450607181, -0.3098765314, 0.690300703, -0.0693362057, -0.0731399283, 0.359482497, 0.3641541898, 0.2505322099, -0.4493245184, -0.3777519763, 0.0927775726, -0.3419261575, -0.4890398383, -0.4937119782, 0.6599746943, -0.6483430266, -0.5847306848, 0.0295278449, -0.5219610929, -0.1176199466, 0.0752802715, 0.3878472447, 0.3943730593, -0.6217304468, -0.024461709, 0.4925976694, -0.5655965209, 0.2793659866, 0.3800836205, 0.0167406797, -0.4337259531, 0.8834460378, -0.071787864, 0.4692400396, 0.4947566092, 0.3955055177, -0.5782780647, -0.6277342439, -0.3224729002, -0.0038364143, -0.8080337644, -0.316876173, -0.904943645, -0.1338392943, -0.5270854831, -0.6189334989, -0.4765090048, -0.0981814787, -0.1009849012, -0.1729329675, 0.2093794048, 0.7631040812, -0.3494489491, 0.2996859848, -0.009698702, 0.8344038129, 0.2304099351, 0.2815849781, 0.174596414, -0.8766638041, -0.2783904374, -0.0525214374, -0.496075809, -0.9837369323, 0.5238018632, -0.4792702794, 0.5937873125, 0.3140209019, 0.588127017, 0.5410624146, -0.3246325552, 0.7257941961, 0.3852331042, -0.877779901, 0.6061371565, -0.1053502336, 0.0147018516, 0.4023903906, 0.6132877469, -0.2161807865, -0.8795790672, -0.853503108, -1.1421587467, 0.5269892216, 0.4988789558, 0.2941400409, -0.2917991877, -0.1649521589, 0.169319585, 0.0573046878, -0.7955723405, -0.2448416054, -0.5206539631, -0.5162882209, -0.0391554125, -0.4102436006, -0.0937700719, 0.0717010722, 0.7161352038, 0.2081094831, 0.0155598978, 0.1266461164, 0.0029425267, 0.115101777, 0.3327221274, 0.5773994327, 0.3744299412, -0.1227227971, 0.4513213634, 0.2526946366, -0.4765086174, 0.3529657423, -0.2638442814, -0.248820141, 0.1609018147, -0.0100972122, 0.7354568839, -0.0147831496, -0.6667810678, 0.4983609617, 0.1667610109, 0.0540177561, -0.2306297123, 0.0013087483, -0.2067442238, 0.2257857472, 0.1588780433, 0.069086194, 0.3231743872, -0.3461721241, 0.2479725927, 0.3284519613, -0.468721807, 0.0962222964, 0.8226239085, 0.3467685878, -0.3356537819, 0.2839934826, -0.3313448727, -0.4683567286, 0.5663982034, 0.6265293956, 0.879863143, -0.5639920235, 0.4158462882, 0.576671958, 0.1371172667, 0.508128345, -0.3207030594, -0.1328246742, -0.8065891266, 0.2477632165, -0.632974267, -0.1952801198, 0.0931910649, -0.5809175372, 0.3694584668, -0.3229081929, 0.1234350279, -0.1617030054, -0.3970595002, -0.5233473182, 0.3799158037, 0.2594780922, 0.5847648978, -0.8054864407, 0.3205989003, 0.0265448112, -0.4887558818, -0.3650212586, 0.2289604843, 0.1788201183, -0.6327745318, 0.6488179564, -0.0611765534, -0.5134016871, -0.0842638314, -0.29344666, -0.6519888639, 0.5801690817, 0.3000255823, -0.510874629, 0.2682215273, 0.3560416996, 0.5821069479, -0.7083852887, 0.2314914763, 0.4317036569, 0.0894832313, 0.372666657, -0.4541608393, 0.2853478789, 0.1028363854, 0.0618408471, -0.0596422106, -0.7753725052, 0.6505851746, -0.0239688233, -0.1523020566, 0.0395882539, 0.4178296626, 0.1500123143, 0.1147602275, 0.7617347836, 0.5701819658, 0.279022485, 0.4251441061, 0.8336520791, -0.0355613083, 0.1324697435, 1.0321327448, -0.0359148011, 0.4388593137, 0.3652585745, 0.0259619672, 0.6682604551, -0.0345553569, 0.0259837732, 0.6458175182, 0.7529203296, -0.5724531412, -0.0226763934, -0.4382553995, -0.1091340929, 0.5979950428, 0.2641706169, -0.4516820312, -0.485678345, 0.3253926039, -0.0262742378, 0.6151164174, -0.3778131902, 0.7342231274, -0.2140720487, -0.3704775572, 0.532305181, 0.156719923, 0.8507162929, -0.5568758249, 0.2051884085, -0.3783738017, -0.0517382622, 0.0269079357, -0.5637862086, 0.7579597831, 0.2834431827, -0.1039949581, -0.2419257462, 0.3009344339, -0.4723552167, -0.3622930944, 0.5003344417, -0.0046928884, 0.1425993592, 0.1769736558, -0.6480884552, 0.3913952708, 0.1422467083, 0.0226447582, 0.3522349298, 0.3936862946, 0.098567009, 0.4974020123, 0.2113810331, 0.1725799143, -0.0688783154, 0.2883440554, 0.9225407839, -0.6832723618, -0.8733651042, -0.8349025249, 0.5329218507, -0.16777955, -0.3842658699, 0.4054701328, 0.840957582, 0.7559673786, 0.0758164674, 0.8006283641, -0.0580241717, 0.695733726, -0.4004415274, 0.3037917912, -0.47855407, 0.2590772212, -0.5120773315, -0.546759367, -0.0338435918, 0.5171399713, -0.4117428064, 0.0597605631, 0.6339808702, 1.0507438183, -0.2002619356, -0.0760490149, 0.4732593596, 0.4150229394, 0.4591321647, 0.6803179383, 0.7458081245, -0.450917393, 0.9115951061, -0.0589845441, -0.0279616248, -0.1137587205, -0.4994165599, -0.7424539328, -0.6069806814, -0.401895076, -0.4636000693, 0.2965646386, 0.6510747075, 0.7398968339, -0.8508960009, -0.1809393317, -0.3011890054, 0.3817405403, 0.1054505929, -0.3347194791, 0.2046505809, -0.4603241384, -0.6035091877, 0.089927353, 0.3196204603, 0.1194345281, -0.2200251669, -0.0701347515, -0.338139832, 0.3886500895, 0.5652424693, 0.0493871868, -0.7086027265, -0.274926126, -0.4461506903, -0.0899610668, 0.0611292385, 1.0191688538, -0.9227079749, 0.4662339091, 0.0688502118, 0.5919920206, 0.575216651, 0.2527841032, 0.6268222332, -0.6728543639, 0.510696888, 0.5397910476, 0.0235602446, 0.2286646366, -0.4955931604, 0.4177708924, 0.4527161717, -0.033296328, -0.7457559109, 0.6174495816, -0.8444230556, -0.5863755941, 1.2043056488, -0.0654724538, 0.096708715, -0.4984284341, -0.3088829815, 0.3795598447, -0.2194981277, 0.9680606127, 0.3466525376, -0.1259354353, -0.2431120723, 0.1279767305, 0.4625580311, 0.5082072616, -0.5711781979, -0.0089073861, 0.3612815142, 0.1422071308, 0.1034162492, 0.5364785194, -0.3283688426, -0.1349180639, 0.4241588414, -0.1200443059, 0.2020624131, -0.3508948386, -0.0527435802, 0.4177524745, -0.4728141129, -0.1642420292 ]
http://arxiv.org/abs/2406.12295v1
http://arxiv.org/pdf/2406.12295v1
Fast and Slow Generating: An Empirical Study on Large and Small Language Models Collaborative Decoding
2024-06-18T05:59:28
2024-06-18T05:59:28
Kaiyan Zhang, Jianyu Wang, Ning Ding, Biqing Qi, Ermo Hua, Xingtai Lv, Bowen Zhou
cs.CL
cs.CL
Large Language Models (LLMs) demonstrate impressive performance in diverse applications, yet they face significant drawbacks, including high inference latency, expensive training cost, and generation of hallucination. Collaborative decoding between large and small language models (SLMs) offers a novel approach to address these challenges. Inspired by dual-process cognitive theory, we integrate these methods into a unified framework termed Fast and Slow Generating (FS-GEN). This paper explores several techniques within the FS-GEN framework, including speculative decoding, contrastive decoding, and emulator or proxy fine-tuning. We provide a comprehensive analysis of these methodologies, offering insights into their similarities and differences under this framework. Our study delves into the differential knowledge capabilities of LLMs versus SLMs through the FS-GEN lens, revealing that fewer than 20% of collaborative interactions are required across various methods. These interactions adhere to a scaling law relative to the parameter ratios, thereby facilitating predictable collaboration. Furthermore, we investigate the specific positions where collaboration is most effective from an uncertainty perspective, yielding novel insights that could refine FS-GEN methods. Our findings reveal that the essential difference between models of different sizes lies in the uncertainty of the next token prediction, where interventions by larger models are most needed to assist the smaller ones. Code for Reproduction: https://github.com/TsinghuaC3I/FS-GEN
[ -0.2962245345, -0.7941974401, 0.7423627973, 0.0893698335, -0.1421141624, 0.342184782, -0.5337546468, -0.5796703696, 0.1133515239, 0.3822900355, -0.6294752359, -0.0510952584, -0.5758118629, 0.1477244943, -0.2303194255, 0.6231539845, 0.074339129, 0.2956471741, -0.2064801455, 0.1313998997, -0.1062242091, -0.3615587056, -0.9810985327, -0.359224081, 0.4874287844, 0.4084795415, 0.9443138242, 0.7331601977, 0.4774790108, 0.3148524165, -0.1474989802, 0.1528382599, -0.6705394387, 0.1620709896, -0.1315975487, -0.4346691072, -0.2674998045, -0.1329018474, 0.423820585, 1.0257894993, -0.0226794034, 0.2960650325, 0.1781783849, 0.6170988679, -0.6393093467, 0.1571670175, -0.792609334, 0.0009749184, -0.262124896, 0.0784272552, -0.4920104444, -0.2838481963, 0.1958513558, -0.4938519001, 0.5786391497, 0.2656359375, 0.3146007657, 0.3490510881, -0.1502732337, -0.6438997388, -1.0193178654, 0.9508764148, -0.6731114388, 0.3857182264, 0.2711607218, 0.0777289495, -0.30648157, -0.8361888528, -0.4222037494, -0.1259219348, 0.0229029264, -0.3400059342, -0.1344907135, 0.1194909438, 0.2559079826, 0.5420490503, -0.4498442709, 0.3732724488, -0.2061678171, -0.3902411461, 0.6987403631, 0.4778353274, 0.0380723514, 0.0345300324, -0.0345959961, -0.0342698656, -0.6990936995, -0.0659503266, 0.3021710515, 0.3759855926, -0.2062193453, 0.4686422348, -0.1779331565, 0.4761552811, 0.2640212774, -0.2076978832, 0.1346448958, -0.7525562644, -0.1529132277, -0.1802960634, 0.9718891382, 0.1521128565, -0.0838056281, -0.3994011283, -0.3050094545, 0.2360654026, -0.2020990551, -0.6957481503, -0.0160735492, 0.1289396435, -0.6229034066, -0.2982668579, -0.07308162, -0.886175096, -0.3625529408, -0.2837525904, 0.2354568392, -0.315420568, -0.3492023051, 0.1938180029, -0.0503133126, -0.0211284161, 0.2769038975, -1.1197080612, 0.2834108174, 0.6749315858, 0.7407934666, -0.1015145108, -0.4329214096, -0.7351576686, 0.1831611097, -0.3278689981, 0.394715637, -0.203188464, -0.4371344745, -0.0933096111, -0.1866955012, -0.0535719357, -0.3854920566, 0.1718100011, -0.3855730891, -0.1237217039, -0.4364998639, -0.4567330182, 0.3024089932, -0.307446301, -0.8271876574, 0.8001778126, 0.0079117846, -0.8573665619, 0.3681414723, -0.2924037874, -0.4116734266, 0.1386990547, -0.3955488801, -0.2543866038, 0.5682370663, 0.0524486303, 0.6634125113, -0.7695643902, 0.2857862413, -0.4951802492, -0.4831060469, 0.2240808606, -0.2114280313, 0.4699006975, 0.5668262243, -0.2184913456, 0.0221164636, -0.7478492856, -0.0040947418, 0.4007362723, -0.2454102188, -0.2235743552, 0.194024533, -0.2551548779, 0.1399146169, 0.4304895699, -0.2721600831, 0.0159118157, -0.2909171283, 0.6762762666, 0.5879116058, -0.0012666986, 0.824070394, -0.1971900463, 0.4079470038, -0.1502972394, 0.220885247, -0.1223674119, -0.2672350109, -0.68277812, -0.1110288203, 0.2778850198, 0.1793344915, -1.1671808958, 0.0858847648, -0.269457072, -0.3972954452, -0.6304585934, 0.3457610011, 0.5348766446, 0.0208888911, -0.0045669228, -0.3537550569, -0.5757786036, -0.5938665271, -0.1912830621, -0.1586997807, -0.0243626554, 0.0933787227, 0.4012768865, -0.1912422329, 0.6495375037, -0.3850682974, 0.091435045, -0.4379100502, 0.2861937881, -0.0972890556, 0.282129705, 0.5339243412, -0.5168123245, -0.420792073, -0.3126579523, -0.7431258559, 0.1048047543, 0.0044933734, 0.1367837489, 0.2995220423, 0.6679132581, -0.5425149798, 0.1888001263, 0.7305611968, -0.2110744864, 0.533324182, -0.2810622156, -0.0758626983, -0.916885376, -0.2300129682, -0.1288326383, 0.2200425118, -0.6950122714, 0.2606136501, -0.258341372, 0.0821107104, -0.3760544062, 0.2009419948, -0.7856145501, -0.3557762802, -0.1335215569, 0.1105540991, -0.2125453502, 0.2854526937, 0.0064626602, 0.8384520411, 0.3662622571, -0.409981221, 0.1480270922, -0.1206247061, -0.3684672117, -0.004517857, -0.4645165205, 0.3635900319, 0.162472412, 0.1384972036, -0.5708068013, -0.2731140852, -0.0837282985, -0.2479749918, 0.1842240244, -0.125085488, -0.9371863008, -0.6325089335, -0.3284490108, 0.499556005, 0.5924094319, -0.3240940273, 0.3672864735, 0.3288986683, -0.1197552234, -0.3487909734, -0.8798341751, -0.1209978163, -0.1087029725, -0.8751642704, 0.1686004251, -0.178489089, -0.556902945, 0.0146853058, 0.0968820602, 0.0168847498, 0.083806321, 0.2417797446, -0.064471826, -0.4085715413, -0.1250327379, 0.0634677783, -0.1280266196, 0.0082716309, -0.240148142, 0.5963706374, -0.1991497725, -0.1479174942, -0.2216327488, 0.4580602348, 0.698730886, -0.1467905343, 0.8371471167, 0.7600133419, -0.1594863981, -0.3236024678, -0.5189937949, -0.3114335835, -0.499352783, 0.064434059, -0.4555318356, -1.1148617268, 0.7281193733, -0.2173285484, -0.2916322351, 0.2811371386, 0.7490271926, 0.2334360331, 1.0567067862, 0.9682356715, -0.0618827865, 0.463083744, -0.3300119638, 0.1221907362, -0.5325829387, -0.1436972171, -0.5300859213, 0.0307608247, -0.5142618418, -0.5923862457, 0.0736295283, 0.4478620589, 0.0030513119, 0.0266915392, -0.3382908106, 0.3647579253, 0.6724904776, -0.1527892053, 0.4576506615, 0.1620656848, -0.4199284017, -0.1668051183, -0.9819620252, -0.3765915036, 1.0653475523, 0.2267083228, 0.8190277219, -0.0106845936, 0.8535271883, 0.1026960611, -0.0252166577, -0.6795333028, 0.6611712575, -0.3101870418, -0.3199875057, -0.2620528638, -0.594262898, -0.8968654275, 0.1365242898, -0.462898165, -0.6393776536, -0.0076446007, 0.119298242, -0.5172056556, 0.3592482805, -0.8136983514, 0.5052684546, -0.1346923113, -0.6585944295, -0.3361138105, -0.8638769388, 0.4879492223, -0.3742657006, 0.4388763011, -0.0075059384, 0.1947848052, 0.5939487219, -0.4424479008, 0.7283141017, -0.1237279475, -0.1584980488, 0.4652631581, 0.1521899551, 0.4707338512, 0.0397338048, -0.3154209256, 0.1755001545, -0.1771975905, -0.2236537635, -0.2295292765, 0.7968767881, -0.7523553967, -0.3808813095, -0.1654022485, -0.6892685294, -0.1632970572, 0.2268164009, 0.5211024284, 0.2278312296, -0.3576855361, -0.0017230402, 0.6467839479, -0.1307469606, 0.621265769, 0.5579277277, -0.1569023132, -0.3904391527, 0.7601830959, 0.0401858799, 0.4929371476, 0.2162164003, 0.0227220338, 0.019963434, -0.8838292956, -0.323541373, 0.3902299702, -0.411686182, -0.0992454514, -0.3140960932, -0.096598655, -0.537504375, -0.3882788718, -0.5239266753, -0.3501282632, -0.3581896722, 0.0674140453, 0.2481798977, 1.0280647278, -0.3410826325, 0.4365513921, -0.8443135619, 0.281940043, 0.075040549, 0.204537794, 0.2904259264, 0.0255784765, -0.5458033085, 0.2054560333, -0.0973992422, -0.6067758799, 0.1488802135, -0.2097955197, 0.4790095687, 0.358384639, 0.0373096764, 0.5665684938, -0.501619637, 1.0612421036, 0.3198295832, -1.0760248899, 0.265134871, -0.2657361627, 0.1969701052, 0.5612459183, 0.0369141027, -0.1759843528, -0.4673811793, -0.6186152101, -0.8657950163, 0.8569508195, 0.1816399246, -0.2212920189, 0.0999787077, 0.3828258514, 0.3314406872, 0.2492492944, -0.2676935196, -0.1324815899, 0.2133668661, -0.2570886612, -0.3640169799, -0.3197730482, 0.0256455857, -0.0313886963, 0.3127881587, -0.1094229072, 0.3310498893, -0.1616787612, -0.1592667252, -0.5305631757, 0.1461746842, 0.4875464439, 0.4101974666, -0.0439792126, 0.1240766719, -0.0061502396, -0.3773374557, 0.0804338679, 0.1002722308, -0.1320710927, -0.0866927952, 0.4875890017, 0.8830054998, 0.1886278093, -0.4475310147, 0.43531394, -0.3346765339, -0.3185023069, -0.0492299311, 0.0602487139, 0.1802672744, 0.5273838639, 0.4313881993, 0.1426960379, -0.0600984544, -0.4882807136, 0.0181948617, 0.3338017762, 0.2065842897, -0.6086493134, 0.7325164676, 0.3326184154, -0.2885822654, 0.5139249563, -0.5218666196, -0.1518411934, 0.5907552242, 0.3430919051, 0.8368433118, -0.1658138484, 0.1916973293, 0.0564645976, 0.2764595449, -0.5852799416, 0.3022526801, -0.0950113162, -0.7512691617, -0.6475223899, -0.7138127685, -0.4316629767, 0.2673348188, -0.8074755669, 0.089379847, -0.4452381432, -0.2099351287, -0.0248075593, 0.3054872155, -0.8762152791, -0.1264798343, 0.1285632253, 0.6822497845, -0.8096903563, 0.8916739225, 0.4766642451, -0.4064545929, -1.0273662806, 0.1427189708, 0.191295892, -0.576277554, 0.4403421879, -0.0984719396, -0.3730679154, 0.0597099215, -0.5079502463, -0.9347062707, 1.2987959385, 0.4193531275, -0.7628333569, -0.4123232365, 0.2088785321, 0.672650516, -0.5281599164, -0.2619077563, 0.64136374, 0.1052476987, 0.0912085474, -1.0182785988, 0.3636054993, 0.2412996143, 0.1993149668, 0.2549131811, -0.7895060778, 0.9728867412, -0.5983086824, -0.2206731588, 0.5734010935, 0.4572983682, 0.2629973888, 0.6464742422, 0.3808248043, 0.4595293403, 0.5803488493, 0.0135460952, 0.7227509618, -0.565446198, 0.3792638183, 1.1134320498, -0.4076085389, 0.7246334553, 0.6864476204, -0.1543037146, 0.2905572057, 0.5237386823, 0.0913567841, 0.6271487474, 0.077931121, -0.0695424825, -0.0944400504, 0.1173551977, -0.3814502358, 0.2144716978, 0.7165514827, -0.5779649019, 0.0020330232, 0.0147619043, -0.0183647405, -0.0331093557, -0.3461439908, 0.7722719908, 0.3017778695, -0.5902708173, 0.4593016505, 0.0198997427, 0.7799676657, -0.5534886718, 0.3432256281, -0.1430764049, 0.3705041707, 0.0230292473, -0.4863656163, 0.1813628525, -0.1311386228, -0.3663031757, -0.2482297868, 0.6793208122, -0.4039982259, -0.1692366302, 0.5692142844, 0.9469856024, 0.0558374934, 0.3268381059, -0.714376092, 0.5876947045, 0.0673672333, -0.1418036669, 0.2855733335, 0.6189108491, -0.0220660046, 0.4746795297, 0.6673796773, 0.3233071864, 0.1483056396, 0.1001390144, 0.6858966947, -0.5300773978, -0.3146399856, -0.7282449007, 0.1515866518, 0.1931972802, -0.020306956, 0.927194953, 0.3520849645, 1.0071963072, -0.1782533526, 0.7651497722, -0.0190037806, 0.3533747196, -0.6990018487, 0.5718299747, -0.3938374817, 0.4116996527, -0.2824712098, -0.7178040743, -0.1247442886, 0.2836947143, -0.1591870189, -0.1128207594, 0.7898303866, 0.7494570017, 0.1252650321, 0.1973348558, 0.2433954924, 0.3157085776, 0.1134709418, 0.751191318, 0.8686600924, -0.1797281206, 0.5538935661, -0.389681071, -0.0350576453, -0.3113245964, -0.6634397507, -0.8636853099, -0.5287393928, -0.1409980506, -0.3700546622, 0.0376570225, 0.8100308776, 0.6428517103, -0.3862630129, -0.3522655964, -0.3779243231, 0.0282359812, -0.1783856004, -0.1858774871, 0.1051835418, -0.2048168629, -0.6741208434, 0.4648996294, 0.0457675494, 0.281683445, -0.5659102201, -0.2912767529, 0.1539953202, 0.1579508781, 0.5717963576, 0.2046205401, -0.7631466389, -0.0453939699, -0.0563105978, -0.2302913368, -0.3788313568, 1.2351484299, -0.6960793734, 0.2352280021, 0.6329857707, 0.4092702866, 0.6743631959, -0.3989117146, 0.6787720919, -0.6568956375, 0.4594141841, 0.0402947851, 0.3398510814, 0.4697139859, -0.4322814047, 0.5315673351, 0.3548699319, -0.6132817268, -0.96815449, 0.5109804869, -0.6464679241, -0.4090846777, 1.1587554216, -0.0782025456, -0.0839955807, 0.0189883895, 0.0789313465, 0.3118992448, -0.4118890166, 0.4764113426, 0.61536479, -0.1384910792, 0.0911802575, -0.3201057017, 0.6318220496, 0.2939628363, -0.351803422, 0.1270631552, 0.588683784, 0.2825751305, 0.3108235598, 0.8374156356, 0.1636978984, 0.028807776, 0.4292558432, -0.1262385398, -0.0270382669, -0.3309009075, -0.5099734664, 0.2646468878, 0.2727076113, 0.1373914182 ]
http://arxiv.org/abs/2406.12277v1
http://arxiv.org/pdf/2406.12277v1
What Matters in Learning Facts in Language Models? Multifaceted Knowledge Probing with Diverse Multi-Prompt Datasets
2024-06-18T05:11:35
2024-06-18T05:11:35
Xin Zhao, Naoki Yoshinaga, Daisuke Oba
cs.CL
cs.CL
Large language models (LLMs) face issues in handling factual knowledge, making it vital to evaluate their true ability to understand facts. In this study, we introduce knowledge probing frameworks, BELIEF(-ICL), to evaluate the knowledge understanding ability of not only encoder-based PLMs but also decoder-based PLMs from diverse perspectives. BELIEFs utilize a multi-prompt dataset to evaluate PLM's accuracy, consistency, and reliability in factual knowledge understanding. To provide a more reliable evaluation with BELIEFs, we semi-automatically create MyriadLAMA, which has more diverse prompts than existing datasets. We validate the effectiveness of BELIEFs in correctly and comprehensively evaluating PLM's factual understanding ability through extensive evaluations. We further investigate key factors in learning facts in LLMs, and reveal the limitation of the prompt-based knowledge probing. The dataset is anonymously publicized.
[ -0.4286163151, -0.6522180438, 1.0690288544, 0.2897406518, -0.0991538465, 0.1163956821, -0.1167376339, -0.0720862076, -0.4490491748, 0.2023724169, -0.3598402739, -0.6284592748, -0.6580002904, 0.2105719894, -0.0587128438, 0.9565030336, 0.1110615134, 0.1565731764, -0.5427272916, -0.2358625382, -0.3822203875, -0.4255354404, -0.4733625948, -0.3213837445, 0.5681779981, 0.5722233057, 0.4547251165, 0.4192455113, 0.195777148, 0.2709606886, -0.1002523452, 0.4828748107, -0.3830829263, 0.1113205105, -0.2856001556, -0.8215016127, 0.2085159123, 0.0450983718, 0.8334767222, 0.7278179526, -0.060109701, 0.3022190332, 0.0392989442, 0.4575078487, -0.4905556738, 0.3696124852, -0.6923462152, 0.0404252335, -0.0857871994, -0.0367729105, -0.6511547565, -0.5404571295, 0.3301757276, -0.3552469611, 0.2510988414, 0.2658357024, 0.6397265792, 0.0383512639, -0.9475674629, -0.6176410317, -0.4754229486, 0.8631163836, -0.7359598875, 0.6919850111, 0.3540120721, 0.2610176504, -0.1009030342, -0.3200454414, -0.738430202, -0.3786084056, -0.105143331, -0.0661932901, 0.0792271271, 0.1590681076, 0.5491753221, 0.2734134197, -0.4931132793, 0.0622247048, -0.2019534558, -0.33976987, 0.2354059219, 0.0602119863, 0.3615398407, -0.2243804932, -0.5228021145, -0.0641104206, -0.9940266013, 0.3722407222, 0.2741683125, 0.0332725868, -0.4205146432, 0.3899348378, -0.0395074934, 0.6916254163, -0.070207566, -0.6975877285, 0.211114794, -0.269960165, -0.254514128, -0.0144278258, 0.5535345674, 0.0801355168, 0.0274613127, -0.3039174974, -0.2120100856, -0.0019773205, -0.2786276639, -0.5877484679, 0.1140740514, 0.2345965207, -0.3328953087, 0.2134772092, 0.2146068811, -0.557250917, -0.666044414, -0.3968095481, 0.4008117318, -0.6820362806, -0.1404199153, 0.1923901737, -0.1825783402, 0.273116678, 0.5853713751, -0.6767015457, 0.0125416657, 0.6086590886, 0.6131045818, -0.0335342102, -0.3827428818, -0.5529108644, -0.0051656989, -0.3178271651, 0.7739267945, -0.4145398438, -0.1633530706, -0.0964408219, -0.0898898914, -0.5054429173, -0.443677634, 0.5173690915, -0.6734044552, 0.1264349967, -0.8378419876, -0.9564416409, -0.6603845954, 0.412714988, -0.5333445668, 0.458121419, -0.2973535061, -0.7896750569, 0.5712525845, -0.6115058064, -0.246873036, 0.0200682022, -0.3275412619, -0.0996667519, 0.1580644101, 0.0659263432, 0.4466154873, -0.2917898893, 0.720626235, -0.4680119455, -0.0372314081, 0.7253289223, -0.7475591898, 0.7920632958, 0.3262742758, -0.2248681784, -0.0571380854, -0.5796619654, -0.3051961362, -0.0268050656, -0.5020441413, -0.2250266224, 0.1905049831, -0.5641801357, 0.2235205919, 0.1379592717, -0.8386521339, 0.0231615957, -0.3641529679, -0.1033148617, 0.7225037813, 0.1770338714, 0.101154983, -0.5244811773, 0.3621912599, 0.3242620528, 0.0951038077, -0.3956228793, -0.6209163666, -1.0170253515, -0.021515226, 0.0853719562, 0.4113233387, -0.6757990718, 0.135903731, -0.0607119463, -0.3588083088, -0.4963696599, 0.1012326851, 0.357494086, 0.7778306007, 0.1148376092, 0.2486732751, -0.462274909, -0.9221313596, -0.2387698889, -0.270861268, 0.2134528309, 0.3059295118, 0.6129319072, -0.0365723707, 1.0376588106, -0.3561684191, 0.14646025, -0.2895294428, 0.3512814045, 0.2432402223, 0.2489215285, 0.5872078538, -0.8449889421, -0.5090171695, -0.0479207188, -0.8989682794, 0.1539991796, -0.3129057884, 0.383559823, 0.1785502434, 0.1197828054, -0.7841560245, 0.2882785797, 0.6582772732, -0.416585654, 0.5406351089, -0.1993197948, 0.2988819182, -0.7832249403, -0.1595680863, 0.195983246, -0.188727349, -0.6059122682, 0.0662956834, 0.2212319374, 0.2618737221, -0.378991574, 0.488285929, -0.3506843448, -0.1197034642, -0.0792647973, 0.1043257639, 0.0627004653, 0.3112865388, 0.192503497, 0.9339308739, 0.8043163419, -0.8304453492, 0.267483443, 0.1610934734, -0.7417362928, 0.0993606746, -0.3422239125, 0.1659435332, -0.2593000829, -0.051481083, -1.0224969387, 0.022581337, 0.2310512066, -0.3059501946, 0.107340306, -0.185804233, -0.7221419811, 0.0806315541, -0.0297169723, 0.0277056247, 0.3288101852, -0.8127399087, 0.5105594397, 0.3395409882, -0.1278741807, -0.6521601081, -0.2615814805, 0.0724814832, -0.2754248679, -0.5169398189, -0.0848284811, -0.4466729462, -0.6259219646, -0.2053314894, -0.0501781553, 0.0910618976, 0.1500663012, 0.0255732629, 0.1893060654, -0.3479531109, 0.4451518059, 0.0108168088, 0.1040393859, 0.3349537849, -0.2467309386, 0.4411329925, -0.3041746914, -0.7697159648, -0.1332777143, 0.0036727481, 0.6918101311, -0.1414834559, 1.0119917393, 0.41336146, -0.162678346, -0.4619786143, -0.7969197631, -0.2552589476, -0.4277011454, 0.2370054573, -0.4008767903, -1.0037997961, 0.6596305966, -0.1301106215, 0.0401395448, 0.3921940923, 0.4323459566, -0.2035057098, 0.9850311279, 0.4425949156, 0.160658434, -0.1684484929, 0.1053356081, 0.2198540717, -0.6741625071, -0.5087897182, -0.391928941, 0.2457211018, -0.3615770042, -0.4310496449, 0.6588472724, -0.1131676137, -0.3145946264, -0.3859863877, 0.2231618762, 0.364030242, 0.3543227017, 0.179565832, 0.4479954839, -0.1693103909, -0.3910091817, 0.0016020694, -0.6872658134, -0.5385020375, 0.9869573116, 0.5396637321, 0.6739871502, 0.4699394703, 0.1969656646, 0.2642819881, 0.1620079726, -0.958329916, 0.4053883851, -0.0368759967, -0.6831846237, -0.1196784824, -0.4401013553, -0.4385685027, 0.365521431, -0.109334372, -0.447483629, 0.3271284401, 0.0517210811, -0.455966413, 0.5613421798, -0.6795486212, 0.5995473862, -0.4632074535, -0.0017059363, -0.3378254175, -0.4943816364, 0.546508491, -0.2036325932, 0.3101970851, -0.0734532401, 0.1148471758, 0.6914864779, -0.1267374456, 1.2316641808, -0.3023343682, -0.2956127822, 0.2836843729, 0.0244541969, 0.3433542252, 0.3724572659, -0.0703905672, 0.0359684378, -0.0603874214, -0.1112214923, -0.7574288845, 0.3899190128, -0.802359283, -0.9148759842, -0.4475387633, -0.6076595187, -0.4468011558, 0.0013360002, 0.0951313749, 0.7519955635, -0.0567438789, 0.5128480792, 1.294020772, -0.4440266788, 0.18224819, 0.9012646675, -0.2214027047, -0.0413346067, 0.9122307301, 0.1692035496, 0.3387740254, 0.5156615973, 0.3290849924, -0.6325378418, -0.714836061, -0.3431125581, 0.3136713207, -1.2056263685, -0.1662082225, -0.7507225871, -0.0841091499, -0.3501751125, 0.2707098722, -0.0758706257, 0.0963520184, -0.2101258337, -0.3366679251, 0.4592531323, 0.7968205214, 0.0117170364, 0.1367716789, -0.854069829, 0.4281838536, 0.4771481156, 0.2368198633, -0.1748711914, -0.5765752196, -0.2400860041, 0.1999423802, 0.1736079603, -0.9466008544, 0.1950734556, 0.1985749304, 0.9485231042, 0.554956913, 0.0770098642, 0.3138799071, -0.1433552504, 0.5714119077, -0.043329794, -1.036342144, 0.4176080823, -0.1383973658, 0.2427928895, 0.3371025324, 0.5223576427, -0.6912831068, -0.2482112944, -0.3804199696, -0.1358567774, 0.7879018188, -0.1794877797, -0.0878998712, 0.0400132872, 0.189810276, 0.5910288692, 0.3887951076, -0.6613891721, -0.5001193881, -0.1318510473, -0.2397569865, 0.0177820269, -0.4093876779, -0.2054585069, -0.211625129, 0.5260047317, -0.4119484723, -0.0089582847, 0.0500078872, -0.4169591069, 0.1735161096, 0.5673931837, 0.5049151778, 0.9395941496, -0.1884785295, 0.4094756544, 0.320229739, -0.3631921709, 0.0643092319, -0.0293479897, -0.3888968229, -0.0868831277, 0.3478717208, 1.1863992214, 0.2657044828, -0.748460114, 0.5194087029, -0.0933959484, 0.0066557666, -0.1201882437, 0.1078414768, 0.0883490667, 0.0167867336, 0.40658167, 0.4625539184, 0.0476680547, -0.6115011573, 0.2688477933, 0.2261688262, -0.078757517, -0.5215908289, 0.1041522399, -0.017863974, 0.26864627, 0.6056047678, -0.4146200418, -0.6703464389, 0.6027052402, 0.6675825119, 0.3750254214, -0.3059271872, 0.6140130162, 0.2760465145, 0.4359968901, 0.0564849861, 0.2795009017, 0.0062377793, -1.3701924086, -0.6006980538, -0.5258646607, -0.4337651134, 0.2579762936, -0.365498513, 0.0995323136, -0.5328511, 0.0826704204, -0.359708935, 0.0833949223, -0.8533925414, 0.4030968249, 0.3249853253, 1.1026600599, -0.9885611534, 0.8269500136, 0.5575199723, -0.501960814, -0.9067768455, 0.0246980432, 0.1521871537, -0.9201229215, 0.9897933006, 0.0430494733, -0.241084829, -0.0494433269, -0.7051520348, -1.028924942, 0.7987657785, 0.7372988462, -0.4223888218, 0.1789472252, 0.1299918294, 0.2054393739, -0.4707554579, 0.336842984, 0.3883858025, 0.6897681355, 0.1217467934, -0.7994478941, -0.1362431049, 0.0105151786, -0.4889378846, -0.2927905023, -0.6292957664, 1.0779412985, -0.3562191427, -0.3997392356, -0.3521778882, 0.6187747121, 0.714497149, 0.3635626733, 0.576610744, 0.3841196895, 1.0764088631, -0.0365675688, 0.9979106188, -0.1915243119, 0.3699095845, 0.8929181695, -0.2527893484, 0.4402289987, 0.2624087036, -0.2059794664, 0.6248667836, 0.6842700839, -0.0460306108, 0.3920839429, -0.1765892059, -0.3256367147, -0.5512503386, -0.2637448609, -0.1549730748, 0.6065062881, 0.7850465775, -0.1408139765, -0.3761253059, 0.0953209251, 0.1169479415, -0.0102693141, -0.0772963092, 0.7368161082, 0.1237377301, -0.6491466761, 0.3117316663, 0.003498659, 0.6343426704, -0.8203145266, -0.2172484696, -0.1044582203, -0.2063456625, -0.1018850133, -1.0051337481, -0.1068796217, -0.0279881731, -0.2105863988, -0.158792153, 0.8389322162, -0.4365542829, -0.2560077906, 0.0999009684, 0.7526475787, 0.0967824459, -0.1383840442, -0.6440701485, 0.1158854216, 0.2717568576, -0.1076020747, 0.2319874167, 0.5931589007, 0.2179352939, 0.9078796506, 0.5947772264, 0.1523177177, 0.0939064324, 0.2454849482, 0.7789518833, -0.4103536606, -0.431691736, -0.8108994961, 0.5029864311, 0.0173206143, -0.2053399831, 1.1752676964, 0.5145527124, 0.6301276684, -0.0516814217, 1.1237411499, 0.182117641, 0.671530962, -0.9620056152, 0.7542942762, -0.1386855841, 0.3503040373, 0.301004678, -0.571295023, -0.0871836841, 0.46858868, -0.5310741067, 0.0807180181, 0.6774157882, 0.4979501665, 0.0258279089, 0.3893499374, 0.4442555904, 0.4876001179, 0.3639519215, 0.2315378189, 1.1061688662, -0.1298798174, 0.1370351017, -0.1186283603, -0.1824447066, 0.0192905888, -0.9096429348, -0.838026762, -0.7755349874, -0.2821998, -0.0183655694, -0.1450396478, 1.0253458023, 0.5947138071, -1.0518791676, -0.2018921226, 0.0527022518, 0.5920760632, 0.1077988893, -0.2366779447, 0.4586121738, -0.6716928482, -0.5080749989, 0.6659507751, 0.2970030606, -0.0684434548, -0.3887178004, -0.1777683198, -0.2458259314, -0.0970430821, 0.7399685979, 0.1797068864, -0.8190216422, -0.402790904, 0.1028875113, 0.0766534284, 0.0908272862, 0.7778593302, -0.9312707782, 0.5989763141, 0.4834965467, 0.6635832787, 0.0633852482, -0.0282548927, 0.5864214897, -0.6101047397, -0.1311969161, 0.0228379443, 0.6757509708, 0.6152667403, -0.4454798996, -0.0570977405, 0.5202753544, -0.4184157848, -0.5670835972, 0.3508636951, -0.653676331, -0.3180686533, 1.2686015368, -0.4051854312, -0.1846957058, -0.6022698879, -0.0328469016, 0.0824362636, -0.3899626732, 0.5301876664, 0.8001281023, -0.1367694587, -0.389077872, -0.6417028904, 0.5341919065, 0.2250790745, -0.6612234712, 0.0820180327, 0.4578594267, 0.494838655, 0.207357198, 0.2948558629, 0.0877207443, -0.049836833, -0.1148087904, -0.2195060998, 0.0414452441, -0.4904559553, -0.1909825057, 0.3153259158, 0.2805519104, 0.1310276538 ]
http://arxiv.org/abs/2406.12276v1
http://arxiv.org/pdf/2406.12276v1
CodeNav: Beyond tool-use to using real-world codebases with LLM agents
2024-06-18T05:10:38
2024-06-18T05:10:38
Tanmay Gupta, Luca Weihs, Aniruddha Kembhavi
cs.AI
cs.AI, cs.CL, cs.SE
We present CodeNav, an LLM agent that navigates and leverages previously unseen code repositories to solve user queries. In contrast to tool-use LLM agents that require ``registration'' of all relevant tools via manual descriptions within the LLM context, CodeNav automatically indexes and searches over code blocks in the target codebase, finds relevant code snippets, imports them, and uses them to iteratively generate a solution with execution feedback. To highlight the core-capabilities of CodeNav, we first showcase three case studies where we use CodeNav for solving complex user queries using three diverse codebases. Next, on three benchmarks, we quantitatively compare the effectiveness of code-use (which only has access to the target codebase) to tool-use (which has privileged access to all tool names and descriptions). Finally, we study the effect of varying kinds of tool and library descriptions on code-use performance, as well as investigate the advantage of the agent seeing source code as opposed to natural descriptions of code. All code will be made open source under a permissive license.
[ -0.2199693322, -0.190272063, 0.2748535275, 0.0970744342, -0.1446655542, 0.6357680559, -0.1191496626, -0.421217531, 0.3793033361, 0.6766143441, -0.3860582411, -0.747730732, 0.0974947214, -0.0669028759, -0.5001681447, 0.4745383263, 0.0434978269, -0.0736825094, -0.4986565709, -0.1455149949, -0.2928195, -0.9323395491, -0.1062908396, -0.2237074673, 0.7335981727, 0.6689345241, 0.8761478066, 0.6433574557, 0.6576121449, 0.224922061, 0.2121540755, 0.0655958131, -0.5030976534, 0.4326300621, -0.0966563076, -0.8900347948, -0.3097645342, -0.0288314279, 0.1864191294, 0.3085253537, -0.1206234172, 0.3060277998, -0.0706158057, 0.6167836189, -0.6813806891, 0.0155888759, -0.5681861043, 0.0644571483, -0.2266743928, -0.5565220714, -0.1737402081, -0.4970830083, 0.0559715331, -0.5708887577, -0.0246305354, -0.0149330087, 0.6842970848, 0.5686144233, -0.4296852648, -0.4017196, -0.6299307942, 0.4941748977, -0.4571100771, 0.1534665823, 0.2113059908, 0.6089892983, -0.2343960851, -0.9513795376, -0.2462719232, -0.4732543528, 0.0295557342, -0.0109589463, -0.2946811318, -0.0309278667, 0.2955228686, 0.2780109048, -0.5095953345, 0.0735699162, -0.3898348212, -0.4373778701, 0.6227693558, 0.2743166387, 0.2457713634, 0.2527134418, -0.5020688772, 0.0070910617, -0.9288604259, 0.1925699264, 0.2809110284, 0.0374947488, 0.2993685305, 0.7633569837, -0.1015006155, 0.5917257667, -0.5325074792, 0.1352715194, 0.4631735981, -0.2835445702, -0.119639948, -0.1236283109, 0.2698112428, 0.4786912203, 0.4680406749, -0.4771335423, -0.3099127114, 0.0034353251, 0.5156302452, -0.7056644559, -0.3006283939, 0.1508252919, -0.4712757468, -0.4344069362, 0.2055038363, -0.43059659, -0.9205967784, -0.1409974098, 0.1679946631, 0.1554755121, -0.3542609513, -0.1458859742, -0.2786842287, 0.4918223023, 0.3195775151, -0.0136102438, 0.3309370875, 0.4971507192, 0.8584039807, -0.3538838625, -0.2489562333, -0.7055350542, -0.0003198492, -0.3057982028, 0.6677413583, -0.6213128567, -0.6522591114, 0.064674817, -0.0252629723, 0.3911662996, -0.7419913411, -0.0891713724, -0.8043814898, -0.3635545373, -0.2235248238, -0.3383046091, -0.2701768279, 0.3491988778, -0.8017421961, 1.0882633924, 0.2373164147, -0.2316999584, 0.3386292756, -0.7315277457, -0.308781445, 0.2354244143, -0.3374665976, 0.0413676761, -0.0106835421, -0.1696162522, 0.3700000048, 0.0004880878, -0.0637065843, -0.1240129471, -0.6569330096, 0.4115535319, 0.1396603435, 0.5883243084, 0.5344610214, -0.3627984822, 0.2327652276, -0.5424465537, 0.062921837, 0.1581095606, -0.484459132, -0.1895756721, 0.2053833306, -0.0459427051, 0.1757383794, 0.3423177302, -0.2833849192, 0.6908265352, -0.463530153, 0.3770990074, 0.3793056607, 0.012537946, 0.5744080544, -0.2579568923, 1.0879250765, -0.1610206515, 0.2129270285, -0.2191342562, -0.3880268037, -0.5432686806, -0.1154501513, 0.2786438763, 0.7357424498, -0.9428156614, -0.0573587604, -0.0970897228, -0.6082649827, -0.2748385072, 0.3411051035, 0.3921279609, 0.0732866302, 0.128402859, -0.5250756145, -0.6497783661, -0.7781569362, -0.4663998187, -0.2677418292, 0.0236347169, 0.600967586, 0.4398357868, -0.483795464, 1.0581231117, -0.6388427019, -0.2942383885, -0.3255751431, -0.3282145262, 0.1197067797, 0.1563016176, 0.3473210335, -0.892242074, -0.2577371597, 0.0658942461, -0.6836346984, -0.251555562, -0.1267090887, -0.1575330049, 0.2075975835, 0.8408575058, -0.2695205808, 0.6505737305, 0.3927063346, -0.2147059143, 0.389434278, -0.0606948733, -0.0187095795, -0.8758175373, 0.1176029444, -0.3055341542, -0.5622731447, -0.4220111966, 0.6734333038, 0.2276283354, -0.2164962739, -0.7468756437, 0.4990933836, -0.7335903049, -0.6800000668, -0.2037627399, 0.2111296356, 0.0243589655, 0.3955692351, -0.3035774231, 1.4497019053, 0.4399653077, -0.5317062736, 0.5346962214, -0.0830806196, -0.0473261364, 0.0343183912, -0.5525228977, 0.2392299175, 0.3992089927, 0.2095775455, -0.6999834776, 0.0386084318, 0.3154377043, -0.3847928047, 0.0140510742, -0.5948867798, -0.8213518262, -0.2849211395, -0.4419108629, 0.0993722826, 0.6126893163, -0.4767973125, 0.6868920326, 0.4911822081, 0.3169454038, -0.6771638989, -0.6891452074, 0.476038903, -0.1578633636, -0.5129201412, 0.0692603365, -0.2160391659, -0.4199573398, -0.023820946, -0.4658620059, -0.4272134304, 0.5317254663, 0.5518736243, 0.22776784, -0.1962858737, 0.4770944417, -0.2368193716, -0.0578268692, 0.0752661899, -0.2433050126, 0.4011898339, -0.4308691621, -0.4493074715, 0.2378267497, 0.1208491251, 0.3428251743, -0.5389480591, 0.2800410688, 0.2002375573, -0.1734369993, -0.3490683138, -0.4797958434, 0.0276710652, -0.5191470981, 0.1437180042, -0.512009263, -0.8639346957, 0.7108932137, -0.3364699483, 0.0835632011, -0.081384711, 0.5658186078, -0.0944271162, 0.5463598967, 0.6961126328, 0.0426151864, 0.6227594018, -0.4251744449, -0.0623588562, -0.4696864188, -0.385222733, -0.4590108693, -0.4153152108, -0.2594554126, -0.7909856439, 0.2285515517, 0.16472359, 0.1659993827, 0.8003197312, -0.7109758854, 0.8986256123, 0.4934997261, 0.0015139719, 0.6601015925, -0.2549853027, -0.0269103125, 0.2761707306, -0.6673992276, -0.6902352571, 1.3544758558, 0.1783380806, 0.8943500519, 0.10124062, 1.0783845186, 0.6999217868, 0.3088768423, -0.974332571, 0.7039788365, 0.3512717485, -0.6583115458, -0.0556392968, -0.249717921, -1.1580492258, 0.3343640566, 0.1346863508, -0.5011650324, 0.2781005502, 0.1931727082, -0.1499116868, 0.1184152737, -0.8725803494, 0.7727139592, -0.2846159935, -0.1867931932, -0.2171612531, -0.6028319001, 0.0582363866, 0.0909233317, 0.0609551445, 0.0141981663, -0.7341390252, 0.2987416685, -0.4447415173, 0.6803074479, -0.3005705476, -0.1241748482, 0.383538574, 0.4772658348, 0.5257431865, 0.1036703959, -0.0053815888, 0.0903463811, 0.1404097676, -0.3482607901, -0.6051325202, 0.7603625655, -0.6226783395, -0.6812614202, -0.4153343439, -0.2870087624, 0.0568511523, 0.2999369502, -0.0648999661, 0.6144636869, -0.1598854065, 0.2759131789, 0.5656106472, -0.0849758908, 0.4516481161, 0.6955429316, -0.5486444235, 0.1670375913, 0.8609076142, 0.1248557568, 0.0652047321, 0.3165231347, -0.1456803083, -0.0811603442, -0.6053985953, -0.3109672964, 0.053519886, -0.8284223676, -0.3984947205, -0.4488779902, -0.0009110484, 0.1762272567, -0.3039752245, -0.3384610713, -0.5776802897, -0.4425642192, -0.0324051492, 0.3998979926, 0.7568721771, 0.2102615386, 0.1562328339, -0.7558762431, 0.2563484907, 0.1258454323, 0.5270796418, -0.3571041524, -0.0658898354, -0.5753222704, -0.2728453577, -0.2176826745, -0.9713512659, 0.3269988298, -0.0244284607, 0.775747478, 0.0585459657, 0.3132125735, 0.3115414083, -0.278609544, 0.8196992874, -0.2174142152, -0.7906989455, 0.5621201396, -0.0489848703, 0.1742448658, 0.7343313098, 0.2545838654, -0.2529446483, -0.5672338009, -0.3147355616, -0.7918288708, 0.3883759081, 0.4469585419, 0.0658830255, 0.2332780659, 0.3688398302, -0.0873362273, 0.3850900829, -0.5300249457, -0.4923773408, -0.298031956, 0.2613656223, -0.0142886369, 0.0083121378, -0.3375656903, -0.0734897703, 0.2380948663, -0.2650316358, 0.168920517, 0.3457424641, -0.8362677693, 0.05409877, 0.2421318591, 0.428116709, 1.078543067, -0.1920074373, 0.1271701753, 0.1065156087, -0.3807999492, -0.0903320834, -0.0159715042, 0.321963191, -0.082935743, 0.1779992133, 0.0635600388, 0.2090048045, -1.0491577387, 0.6408781409, -0.1550585926, -0.2029595226, -0.4647246301, 0.4797857404, 0.2036604881, 0.7116839886, 0.5039910078, 0.191209957, 0.439764291, -0.5302978754, 0.3090091348, 0.2486381084, -0.4110979438, 0.0403468199, 0.64243716, 0.4952837229, -0.556181252, 0.2472782582, -0.0938135535, -0.5797342658, 0.9628110528, 0.08084061, 0.9044961929, 0.2940596044, 0.089511916, -0.2951236367, 0.339202404, 0.2502067089, 0.4748493731, -0.4351224303, -0.4380570948, -0.3431000412, 0.1043563038, -0.6944634914, -0.4823362827, -0.7069738507, 0.190969497, -0.538787365, -0.2057400495, -0.3557163477, 0.2806325257, -0.7204371095, -0.2962600291, 0.0755988508, 1.4152659178, -0.2954953611, 1.1191008091, 1.0539710522, -0.6546860933, -0.7143744826, 0.0239998791, 0.2173894495, -1.0167716742, 0.5125898719, 0.1840307862, -0.4363919795, 0.1007135287, -0.8161574006, -0.6559739709, 1.5728496313, 0.1314174235, -0.4317231476, 0.1553118229, -0.3431634605, 0.6795148253, -0.4646477997, 0.1816657335, 0.6668516994, 0.2605194747, -0.0830432996, -0.6037998796, 0.0578086525, -0.4266507328, 0.0576007403, 0.106449306, -0.3599872589, 0.488027364, -0.2809782028, -0.176419884, 0.0336951092, 0.3084317744, 0.2450708151, 0.3794987798, 0.4737819433, -0.0971594453, 0.5474795103, 0.1099348143, 1.1333862543, -0.4921154976, 0.2403952628, 0.8521007895, -0.3471311331, 0.6898763776, 0.4179832041, -0.1874749511, 0.5704658628, 0.3690107763, -0.1024493799, 0.1881240606, 0.4906001985, -0.1103570238, -0.1767300665, -0.0645836219, -0.5739274621, 0.1695252061, 0.1715334058, -0.0562551096, -0.1512778252, -0.2015360445, 0.0032692975, 0.2986343801, -0.1859623343, 0.7412411571, 0.1233870313, -0.315100193, 0.5461931825, -0.2290198058, 0.5548657179, -0.6889510751, -0.1500314027, -0.4239819944, 0.0503222682, -0.4213913977, -0.9169245958, 0.2174933106, 0.1016525105, -0.0060203574, -0.35663715, 0.9637430906, -0.0522957593, 0.0911655724, 0.5109930038, 0.7205372453, 0.4788998961, -0.2889064252, -0.7063506246, 0.0129537303, -0.0428455211, -0.3734576106, 0.4796101451, 0.2925263643, -0.0723841786, 1.1592105627, 0.5970439911, 0.1378510892, 0.1117621064, 0.1950920373, 1.2829358578, -0.7607333064, -0.3319714963, -0.5672751069, 0.478461951, -0.071960628, -0.0434104912, 0.7936047316, 0.6948512793, 0.8371747136, -0.1337979436, 0.6685134172, 0.0435856096, 0.4401855171, -0.3956605792, 0.6083638668, -0.6587725282, 0.7740157843, -0.1025321186, -1.0414835215, -0.5160233974, 0.3635338843, -0.0986519009, -0.234109655, 0.4931061864, 1.1216455698, 0.1576365083, -0.505110085, 0.4959565401, -0.1797219962, 0.4312634766, 0.3007992506, 1.2562115192, 0.0253489111, 1.1897877455, -0.039285671, -0.0742350146, -0.5223954916, -0.7921705246, -0.9962183237, -0.1990169436, -0.0959193036, -0.4075871408, -0.0118999165, 1.103136301, 0.5962184668, -0.5370603204, -0.565695107, 0.1469902396, 0.5521313548, -0.1402643472, -0.2208939195, -0.2593045235, -0.3737405837, -0.2134636343, 0.5675926805, 0.2671824396, -0.1924591362, -0.474825114, -0.2169221193, 0.0587687753, -0.0474253446, 0.3904425502, 0.5209239721, -0.6112524867, 0.028208999, 0.2115258276, -0.3670533895, 0.3499517739, 1.3307163715, -1.2097318172, 0.5897935629, 0.38682428, 0.6586514115, 0.4868600965, 0.1131099984, 0.6417430043, -0.8336568475, -0.0643280596, 0.3590595126, 0.1689410657, -0.173976168, -0.4227422476, 0.8592546582, -0.0734142959, -0.5175340176, -0.9148924351, 0.3351278305, -0.9970076084, -0.3856712282, 1.1397765875, -0.2556890249, 0.098227948, -0.5149056315, -0.4683083594, -0.1574043483, -0.6570788622, 0.0703068152, 0.2345027626, -0.1220390424, -0.2156899869, -0.7028192282, 0.3481087685, -0.1054066345, -0.7127831578, -0.138360709, 0.5478287339, 0.2635696232, -0.0355117731, 0.6629493833, 0.0195691474, 0.3743798733, -0.106519632, 0.2777249813, -0.6055107713, -0.4419834614, -0.4755866528, 0.057704255, 0.4410765171, -0.2672344744 ]
http://arxiv.org/abs/2406.12274v1
http://arxiv.org/pdf/2406.12274v1
SafeInfer: Context Adaptive Decoding Time Safety Alignment for Large Language Models
2024-06-18T05:03:23
2024-06-18T05:03:23
Somnath Banerjee, Soham Tripathy, Sayan Layek, Shanu Kumar, Animesh Mukherjee, Rima Hazra
cs.CL
cs.CL
Safety-aligned language models often exhibit fragile and imbalanced safety mechanisms, increasing the likelihood of generating unsafe content. In addition, incorporating new knowledge through editing techniques to language models can further compromise safety. To address these issues, we propose SafeInfer, a context-adaptive, decoding-time safety alignment strategy for generating safe responses to user queries. SafeInfer comprises two phases: the safety amplification phase, which employs safe demonstration examples to adjust the model's hidden states and increase the likelihood of safer outputs, and the safety-guided decoding phase, which influences token selection based on safety-optimized distributions, ensuring the generated content complies with ethical guidelines. Further, we present HarmEval, a novel benchmark for extensive safety evaluations, designed to address potential misuse scenarios in accordance with the policies of leading AI tech giants.
[ 0.0363904499, -0.7436228395, 0.0273046829, 0.2805584371, -0.2319955379, 0.0748781562, 0.0469419062, -0.6329650283, -0.3641342521, 0.3753283024, -0.3051525354, -0.5236006379, -0.4098547697, -0.0318425223, -0.5655896068, 0.9317361116, 0.1732466966, -0.0867912024, 0.0235733911, -0.1939988136, -0.7565592527, -0.5516206026, -1.0445125103, -0.031740658, 0.3768267334, 0.3427990675, 1.0149363279, 0.8949469924, 0.6084163189, 0.2912454903, -0.1608070135, 0.0672186986, -0.2551089227, 0.4165095985, -0.3593094051, -0.072291933, -0.7717139125, -0.3185444474, 0.4543791711, 0.6211848855, -0.3862940073, -0.1865480393, 0.2513491511, 0.3769730628, -0.9424419403, -0.1430715621, -0.6003599763, 0.0710883588, 0.0452722125, -0.2398159355, -0.6538068652, -0.6471344233, 0.063099362, -0.5251261592, -0.1145828664, 0.4315630794, 0.5158069134, 0.3583794832, -0.6088921428, -0.0935465023, -0.5244140029, 0.6442814469, -0.8011192083, 0.4206549227, 0.4117946327, 0.3697985113, -0.527225554, -0.7065912485, -0.4807828069, 0.0551312044, -0.0347269103, -0.2856166065, -0.0797154605, 0.1962238997, 0.1156666651, -0.0967511311, -0.5116667747, 0.1989789754, -0.0786342025, -0.522234261, 0.7878260612, 0.2328701615, 0.5314495564, -0.2970409095, -0.3651477098, -0.4540026188, -0.676922977, -0.0991241634, 0.2328651249, 0.3653107882, -0.0760057718, 0.3825691342, -0.3474411368, 0.6288993955, 0.1194026172, 0.0184386689, 0.3089495599, -0.3658851683, -0.2169539481, 0.6560806036, 1.0363955498, 0.7414803505, 0.117492795, -0.1544132978, -0.1205664352, -0.295045644, 0.5257065296, -0.8446478844, 0.0232967343, 0.4184425473, -0.2565187812, -0.7916835546, -0.0721427798, -0.8977981806, -0.6591036916, 0.3333612084, 0.4798744023, -0.466488868, -0.1627783924, 0.3758920133, 0.1419064701, 0.1002661288, -0.0761778727, -0.7394952774, 0.0861725584, 0.7350772023, 0.6692886949, -0.1281244308, -0.3891937137, -1.0411741734, 0.2964678407, -0.7041936517, 0.559122622, -0.2928240001, -0.4594300389, 0.342443645, 0.3312234282, 0.0850744322, -0.230292514, 0.9606088996, -0.8490253687, 0.0109389704, -0.1879975945, -0.4309325814, -0.0869171694, 0.0806267112, -0.6475575566, 0.7053453326, -0.077576153, -0.965292871, 0.6703050137, -0.8805675507, -0.8125047088, -0.1066306978, 0.3495508432, -0.4072960913, -0.1990314126, 0.3476402462, 0.3999750316, 0.0648183748, 0.4038134813, -0.3764657974, -0.2065861076, 0.4014977515, -0.5356861353, 0.847548008, 0.4155456722, -0.4431873858, 0.4294066429, -0.7701058984, 0.0517955646, 0.086724773, -0.3540094793, -0.5956807137, 0.3627565503, 0.1379579306, 0.1524842829, 0.1071788222, -0.5912937522, -0.2536468208, -0.4921230972, 0.4282842278, 0.8022591472, 0.196063742, 0.4777733982, -0.1631234586, 0.0928673297, 0.0611237399, 0.5418707132, -0.0240355283, -0.0058580325, -0.6017876863, 0.2156042904, 0.4402256608, 0.7852497101, -0.5144190788, 0.4743964672, -0.3607416451, -0.1820626259, -0.3797085881, 0.0082661118, 0.5712400079, 0.7319678664, 0.3969363868, -0.1735670418, -0.3621966839, -0.8453740478, -0.5030472875, -0.3336195052, 0.1054266393, -0.0287046954, 0.2016537189, -0.2944800854, 0.6737508774, -0.2468408793, 0.056712877, 0.0646647364, 0.1487793326, -0.3543907702, 0.9148609638, 0.6497974396, -0.8198222518, -0.2247594297, 0.1188779101, -0.7841696143, 0.0328584276, -0.0617183521, -0.4579814672, 0.3877974451, 0.7343601584, -0.2940727174, 0.2254663408, 0.3710742295, -0.807107687, 0.0723674819, -0.1244281903, 0.4887354076, -1.244740963, 0.0984182283, -0.4507628679, -0.5217890143, -0.7433801889, 0.1692456454, 0.4210630953, -0.0244374666, -0.8998034, 0.5172395706, -0.1753342599, 0.1940472573, -0.2358669341, 0.2528963089, -0.0264414418, 0.0694389194, -0.1990231723, 0.8039538264, 0.3772239387, -0.4886714816, 0.2417731285, 0.4188334644, -0.5369307399, 0.3923619092, -0.7518127561, 0.3515920043, -0.0369833186, -0.0802893639, -0.6104057431, -0.671503067, 0.2906802595, -0.2555404902, 0.3219831288, -0.1480281502, -0.3371140063, -0.1052337736, -0.1673097163, 0.7124695182, 0.4577177763, -0.4486660659, 0.3415989578, 0.5192739964, -0.4318661392, -1.0330116749, -0.7212578654, 0.2106522471, -0.263586849, -0.6109560132, 0.2420566529, -0.1334641874, -0.3208487928, 0.1128118485, -0.0455205105, -0.1162962243, 0.4326573014, 0.2964832783, 0.1444871426, 0.0647225305, -0.1065988615, 0.5241873264, -0.1640488505, 0.0521911532, -0.085313499, 0.3134879172, -0.0470035672, -0.4150286019, -0.4826645553, 0.6816732883, 0.7913502455, -0.2128665149, 0.7195209861, 0.3457887769, -0.6710337996, 0.0413647667, -0.3569802344, -0.0890655145, -0.5422437787, 0.4067935646, 0.0798731744, -0.8445520401, 0.3016376495, 0.2713625133, 0.5489577651, 0.3598630428, 0.2428444922, 0.0336211473, 1.3403021097, 0.5896046758, -0.0503879152, 0.4190562069, 0.4449533224, 0.145329237, -0.2793166041, -0.4108290672, -0.5315903425, -0.0391448215, -0.4674182236, -0.1613722742, 0.2529738545, 0.1985408366, -0.5005316138, 0.2265759557, -0.3087390363, 0.557712853, 0.4575609863, 0.04168934, 0.2234633565, -0.0328773968, -0.1394375861, 0.1151368618, -0.6970279217, -0.4438532293, 0.8021191359, 0.1619028151, 0.8451484442, 0.2183104455, 0.408246845, 0.5682759285, 0.1735771596, -0.486543715, 0.4778251648, -0.1880884916, -0.9261687994, -0.2283243835, -0.2996859848, -0.7821158171, -0.0171494, -0.5699168444, -0.6485116482, 0.1648563445, 0.3240767717, -0.6038961411, 0.1636214256, -0.6276413798, 0.9746178985, -0.4579424262, -0.4448662996, -0.2969195247, -0.8377046585, 0.2483460009, -0.2186698914, 0.3896967769, -0.0478758924, 0.0494332649, 0.7016056776, -0.3149682581, 0.6832457781, -0.1251982898, 0.1356815398, 0.3468337059, 0.423771739, 0.6229108572, 0.1099102646, -0.3391885757, 0.0462336503, 0.2686255574, -0.4217122793, -0.3222464621, 0.7498013973, -0.4351890087, -0.5037121177, -0.5257545114, -0.6504873633, -0.3200072944, 0.5236532092, 0.2163979113, 0.5384551883, -0.3470205367, 0.4698222578, 0.5570932627, -0.4449237287, 0.8827407956, 0.2715930343, 0.0734113976, -0.5951052904, 0.5445945859, -0.3140437305, 0.2674653232, 0.2489508241, 0.0496501736, -0.4667443335, -0.6808267832, -0.4757622778, -0.24814789, -0.883253932, -0.3233252764, -0.7996174097, -0.2094780058, -0.4364319742, -0.2938918769, -0.423597753, -0.366705358, -0.0398011394, -0.3116616607, 0.437240839, 0.4090650976, -0.2706303, 0.2239846736, -1.0341959, 0.1145562902, 0.2967038155, 0.5403214097, -0.3818856776, -0.1582556218, -0.2045934349, 0.0368291885, -0.0838490352, -0.7985502481, 0.1041459367, 0.2627318501, 0.5175333023, 0.3608085513, 0.6826403737, 0.4861826301, -0.6800705194, 0.8893459439, 0.1575405896, -1.0139318705, 0.5777733326, -0.307227999, 0.1000974402, 0.6782317758, 0.2056446671, -0.5864029527, -0.178527534, -0.2050682157, -0.9049409032, 0.5129497647, 0.2114866227, 0.300735116, -0.3047092855, 0.3698583245, 0.125847891, 0.0881983563, -0.4068947136, 0.0758539364, -0.2892955542, -0.4066799283, 0.1425873935, -0.6153337359, -0.3865969181, 0.2281589359, 0.6328056455, -0.2305723727, 0.1763234884, 0.1015094668, -0.1248021871, -0.2050213814, 0.5105387568, 0.526691258, 0.4883266985, -0.1516380161, 0.1387340277, 0.3743515909, -0.4886766374, 0.1729813814, 0.3044168055, -0.1857244223, -0.1942126304, 0.3391453922, 0.6304729581, 0.1602815688, -0.7374466658, 0.5140148401, -0.3962618709, -0.0658416972, -0.0022788397, 0.4802213013, -0.2125960737, 0.2282633483, 0.2951891124, 0.101643987, 0.1465794146, -0.1557583809, 0.4207850695, 0.2922957242, -0.5564100742, -0.1143522188, 1.0786777735, 0.4772256017, -0.4301765561, 0.4039750099, 0.0828563869, -0.1956626922, 0.424746573, 0.4963718951, 1.1805080175, -0.5011220574, -0.058252655, 0.3883039355, 0.3916602433, -0.1631109267, 0.354183197, 0.3475580215, -0.5954595208, -0.3914240003, -0.6260068417, -0.2529037595, 0.0527928621, -0.6513195634, 0.0563112535, -0.4664643705, -0.2413985729, -0.2395845801, -0.3936140835, -0.298683852, 0.3870325089, -0.3284788132, 0.9756298065, -0.5857448578, 0.4900785089, 0.7232338786, 0.0602289587, -0.7325122356, 0.1463288367, 0.1516287476, -0.2122577429, 0.1624315083, -0.0365472436, -0.2902224362, -0.2517282069, -0.4601535499, -0.7483959198, 0.9821511507, 0.5387391448, -0.622656703, 0.0650897399, 0.1487168521, 0.2139172703, -0.247418046, -0.3597652316, 0.3548091352, 0.1544092745, -0.256593883, -0.8988674283, 0.3684922159, -0.2726781666, -0.0622425862, 0.2353554219, -0.4074083269, 0.3822101057, -0.2004029602, -0.3270699382, 0.1389882565, 0.6987634301, 0.0071001952, 0.437002033, 0.7939008474, 0.1133970097, 0.6807475686, -0.1154969484, 0.9782574773, -0.6492829323, 0.1235444173, 1.0485233068, -0.0766987652, 0.8770980239, 0.392015934, 0.3940113485, 0.2614405453, 0.6978378892, 0.5329238772, 0.8535873294, -0.4388050735, -0.343203038, -0.4099909961, -0.2037510425, -0.5029922724, 0.4175729752, 0.2055448741, -0.3187541068, 0.0223540273, 0.0830596834, 0.2961927056, -0.1780272573, -0.0581034534, 0.7554349899, -0.1289564967, -0.8651646972, 0.5269890428, 0.0346888676, 0.3279978633, -0.3979141414, 0.0027901186, -0.2861738205, 0.2647870779, -0.0720384121, -0.8984109163, 0.4984864593, 0.1603348404, 0.0578142032, 0.0211329218, 0.8516420126, -0.2671151757, -0.3491207063, 0.3434457779, 0.0536979884, -0.2341210991, 0.3690284789, -0.6098524928, 0.1023567021, -0.1982919425, -0.1681226492, 0.2296403646, 0.1860549003, -0.2938146591, 0.6841868162, 0.6124660969, -0.3387650847, 0.2112376839, 0.0972511247, 0.6178115606, -0.7007072568, -0.6564871669, -0.6670205593, 0.7463030219, -0.1913376451, -0.1621046364, 0.3742837906, 0.1777928323, 0.7392778397, 0.0920742825, 0.852660656, -0.2206786573, 0.1201976687, -0.6186956167, 1.1458637714, -0.7169846892, 0.1689609289, -0.4906669557, -0.698105514, -0.6502210498, 0.3572084606, 0.0003145927, -0.1292168796, 0.5245885849, 0.9121069312, -0.0221306812, 0.1048895866, 0.1970081478, 0.1066805273, 0.5070596337, 0.4567095637, 0.7456665635, -0.5250030756, 0.7977203727, -0.3814227581, -0.1843032241, -0.2620231509, -1.4300320148, -0.8166565299, -0.467179805, -0.4415874183, -0.5218024254, 0.5251584649, 1.0264761448, 0.8080010414, -1.0594049692, 0.0913705453, -0.0115074543, 0.0472056903, -0.3193069398, -0.1347615868, 0.3787699938, -0.2614273727, -0.7286672592, 0.7131372094, 0.2078183293, 0.144825235, 0.2566737235, -0.0430979282, -0.0028689031, 0.1008243784, 0.5054600239, 0.2966299057, -0.4424020052, -0.8275052309, 0.0934877023, -0.269393146, -0.2625593543, 0.6208924651, -0.1771309823, 0.5710200071, 0.6305192113, 0.9492950439, -0.1525551528, 0.0822539106, 0.697403729, -0.6356064081, 0.2526787221, 0.0508299768, 0.4549321532, 0.4969595671, -0.6081681252, 0.3443806469, -0.1758066416, -0.646017313, -0.8907635808, 0.2031476945, -0.9505878091, -0.2790867984, 1.1655490398, -0.0480484366, -0.2595852613, -0.2924105227, -0.1064209715, 0.3913772702, -0.4700599313, 0.8268912435, 0.4526319206, 0.0516585521, -0.0222162381, -0.4352156222, 0.6738872528, 0.5102625489, -0.805205822, 0.2071424276, 0.6927035451, 0.5016120076, 0.0737243965, 0.228226006, -0.3831077218, 0.4979321957, -0.0274736956, -0.2526311278, -0.0807906687, -0.3558296859, -0.2752991915, 0.3806926608, 0.2067312449, -0.415197283 ]
http://arxiv.org/abs/2406.12269v1
http://arxiv.org/pdf/2406.12269v1
Unveiling Implicit Table Knowledge with Question-Then-Pinpoint Reasoner for Insightful Table Summarization
2024-06-18T04:55:09
2024-06-18T04:55:09
Kwangwook Seo, Jinyoung Yeo, Dongha Lee
cs.CL
cs.CL
Implicit knowledge hidden within the explicit table cells, such as data insights, is the key to generating a high-quality table summary. However, unveiling such implicit knowledge is a non-trivial task. Due to the complex nature of structured tables, it is challenging even for large language models (LLMs) to mine the implicit knowledge in an insightful and faithful manner. To address this challenge, we propose a novel table reasoning framework Question-then-Pinpoint. Our work focuses on building a plug-and-play table reasoner that can self-question the insightful knowledge and answer it by faithfully pinpointing evidence on the table to provide explainable guidance for the summarizer. To train a reliable reasoner, we collect table knowledge by guiding a teacher LLM to follow the coarse-to-fine reasoning paths and refine it through two quality enhancement strategies to selectively distill the high-quality knowledge to the reasoner. Extensive experiments on two table summarization datasets, including our newly proposed InsTaSumm, validate the general effectiveness of our framework.
[ -0.3853511512, -0.5434365869, 0.9387344718, -0.0808783025, -0.3746970892, -0.0705656409, 0.1445165873, -0.2531483471, -0.1272023469, 0.4326037169, -0.5349023342, -0.5562207699, -0.4378869534, -0.2050773501, -0.8262866735, 1.2353423834, -0.1681352407, 0.0182973985, -0.5663191676, -0.0387164429, -0.5177718997, -0.2282885164, -0.285333097, -0.5157318711, 0.3820627928, 1.191161871, 0.2697727382, 0.6958482862, 0.2727664709, 0.1549945027, 0.0338566229, 0.356325835, -0.323369801, 0.2943311036, -0.2899703979, -0.7446438074, -0.3922182024, -0.2692541778, 0.3098308742, 0.762558341, 0.0930492431, 0.3355214894, 0.2419006675, 0.7958775163, -0.4220525622, 0.5952146053, -0.7843922973, -0.0792314559, -0.1866903603, -0.0036700373, -0.3341705799, -0.6839091778, 0.1198034063, -0.4469506741, 0.3079134226, 0.0057173544, 0.6309735179, 0.3029922843, -0.5548952222, -0.1896299869, -0.8302779794, 0.2658498883, -0.5660718083, 0.3753873408, 0.1286536008, 0.5528287292, -0.2469002753, -0.9074257016, -0.7355948687, -0.1828941107, -0.3366042376, 0.0364729352, 0.1213823333, -0.1703325063, 0.2812809348, 0.2981174588, -0.7165951729, -0.3552445471, -0.1259005219, 0.1241667047, 0.5156987309, 0.0206601955, 0.2146441787, 0.1435796171, -0.3190882802, 0.1513486207, -0.8051953316, 0.2783178389, -0.1364525855, -0.0711166263, 0.2074966729, 0.5794174075, -0.3687514961, 0.6291216016, 0.1165369377, -0.0182876308, -0.4529563189, -0.1728341877, 0.2719833255, 0.4390810132, 0.3440844119, 0.4146786928, 0.3354485333, -0.359190613, -0.154013887, 0.259367317, -0.1205286086, -0.8316126466, -0.5388801098, 0.3355696201, -0.086264506, -0.0838619024, 0.0921356902, -0.6884387136, -0.3537179828, -0.286162585, 0.4719622135, -0.2934453189, -0.2421647608, -0.1507216096, -0.2480774522, 0.3612121642, 0.4701789618, -0.9495184422, 0.28213498, 0.7715524435, 0.7024163604, -0.0431034938, -0.1252047569, -0.489834398, 0.631439805, -0.5108138919, 1.1991722584, -0.1850068122, -0.1968418956, -0.0860257596, -0.1892297566, 0.2518361211, -0.4036677778, 0.5621141791, -0.3942661285, 0.3776887357, -0.7981094718, -0.5809713602, -0.172226727, 0.4698230922, -0.3427385986, 0.9341165423, -0.0774324015, -0.5883178711, 0.8952977657, -0.6428034902, -0.3359868228, 0.16969423, -0.4478577375, -0.391320318, 0.1839060932, 0.4670564532, 0.43909356, -0.2557933629, 0.517608285, -0.2043737024, -0.4389198124, 0.2373979688, 0.0119819939, 0.2952149212, -0.1324157268, -0.4112749994, 0.3354577422, -0.7245037556, 0.129166916, 0.2502376139, -0.2320640236, -0.1590428054, 0.2693641186, -0.413174659, 0.3641861975, 0.0373438038, -0.4088004827, 0.0235825554, -0.1827760935, 0.3145942688, 0.5386317968, 0.2313717753, 0.4216786325, -0.4645751119, 0.200693965, -0.0022104455, 0.0895227939, -0.209928602, -0.3094467819, -1.0161013603, 0.0783922598, 0.1052239612, 0.3124797046, -0.7349315882, 0.2189296335, -0.3139637411, -0.5564190745, -0.2941474915, -0.001240489, 0.4183822572, 1.1038122177, 0.7135980725, 0.365771383, -0.3194106221, -0.8027575016, -0.5283665657, -0.254524976, -0.0751376227, 0.0984971002, 0.615532279, 0.2844782174, 1.2890876532, -0.6724601984, -0.3136376739, -0.6935389042, 0.1645168811, 0.3731715083, 0.6586541533, 0.2548252344, -0.5333461165, -0.4144615531, -0.2957526147, -0.7632561922, -0.2225115746, -0.0213114023, -0.3660551608, -0.1082688645, 0.730858326, -0.6793542504, 0.3534626663, -0.1458093226, -0.4918150604, 0.6313185096, -0.1680467725, -0.0152720101, -0.8217625618, 0.1064190269, -0.2940938473, -0.1296610385, -0.5525653362, -0.1428102702, 0.1561995149, -0.1143794358, -0.1341714263, 0.3443878591, -0.5383250117, 0.029091062, -0.254727155, 0.1759825498, 0.2961049974, 0.5535784364, -0.0001788255, 0.5939232707, 0.1851107925, -0.7230120301, 0.0603885576, 0.5441592932, -0.3591712415, 0.691726923, -1.0362840891, 0.0763458982, -0.338835448, 0.1697089821, -1.3342992067, -0.2185048163, 0.1339380145, -0.4235906303, 0.4186050296, -0.4818128645, -0.4987565279, -0.2557569444, -0.1071414948, 0.2394882441, 0.2915363312, -0.852081418, 0.594076097, 0.3940643072, -0.1268341243, -0.609888196, -0.5862442851, -0.0817142352, -0.2349977195, -0.7116562128, 0.4775671363, -0.1701626629, -0.4229338169, -0.0863233656, -0.6935254931, 0.062759079, -0.0324438289, 0.2352810204, 0.1237221509, -0.093501091, 0.2796507776, 0.4951724708, -0.568426609, 0.6392861009, -0.4697065651, 0.4257290065, -0.3739710152, -0.3858169317, -0.0397185273, 0.4811724126, 0.4182412624, -0.3507702649, 0.5391106606, 0.3131211996, -0.4174978137, -0.3689537942, -0.7019281983, -0.5315195918, -0.4138565063, 0.3280292153, -0.4381848276, -0.7536427975, 0.6335996985, -0.275266856, 0.2628805339, 0.4288677871, 0.1481901109, -0.3782602847, 1.2179188728, 0.3334111869, 0.2662464678, 0.0290984306, -0.2721927464, 0.1082790047, -0.4763429761, -0.7708064914, -0.686093986, -0.1948975623, 0.0428719744, -0.0258881114, 0.5250136852, 0.170870766, -0.1694152951, -0.0553765073, -0.3637827039, 0.828284502, 0.6123231053, 0.1597607881, 0.4620659053, -0.322055459, -0.1355295479, -0.0284558795, -0.8012834191, -0.4818791151, 0.5699745417, 0.1545793265, 0.5693329573, 0.1392797828, 0.570311904, -0.0032982584, 0.2791285217, -0.4607168138, 0.6942805648, 0.1819264591, -0.7371909022, -0.3331180811, -0.3619993925, -0.4121385813, 0.434309572, -0.2584160268, -0.4125490189, 0.2804531455, 0.464240849, -0.0738757178, 0.1936614662, -0.7124898434, 1.221103549, -0.2410570234, -0.544654727, 0.160091117, -0.6693845987, 0.5456309319, 0.1947107017, 0.1155134514, -0.3115413785, 0.0618686751, 0.6598846912, -0.9562678933, 0.4065595567, -0.404743284, -0.0783670545, 0.2353467792, 0.3905504346, 0.5745144486, 0.3718942702, 0.2046976388, -0.0360631421, -0.1169699878, -0.1430838853, -0.8890132308, 0.5567419529, -0.2849757671, -0.6798264384, -0.3643309772, -0.5757598281, -0.4004778564, 0.2689800858, 0.3756516874, 0.3931295276, 0.075381726, -0.0244481638, 0.8128625751, 0.4089568257, 0.4032760262, 0.721413672, -0.0754936561, -0.1390775293, 0.8734314442, 0.2796268165, -0.0888194144, 0.5472749472, 0.4155969918, -0.6932454705, -0.7334176898, -0.5229813457, 0.151844278, -0.7208592296, -0.3130708635, -0.6217010617, -0.0411889702, -0.0449588746, -0.1637314558, -0.1158788428, -0.6816366911, -0.0952986628, -0.3929468095, 0.5012375116, 0.5084112883, 0.0507205613, 0.3990370929, -0.6447181106, 0.2652902603, 0.7098446488, 0.4694084227, -0.1893821806, -0.5714054704, -0.1168020219, -0.1968814433, 0.093480818, -1.2368860245, 0.3027162552, 0.2041686326, 0.7034851313, 0.439244777, 0.1916224808, 0.7378162742, -0.4063861668, 0.4046192765, -0.0115407817, -1.000159502, 0.9138165116, -0.2442188263, 0.3848493695, 0.8800723553, 0.3634732664, -0.1713344157, -0.4370106757, -0.3769729733, -1.1335963011, 0.6688217521, 0.0433760248, -0.3968113363, 0.2082886249, 0.6760839224, 0.4380066097, 0.2121005356, -0.9294515848, -0.2910834551, -0.310120523, -0.1645954847, 0.1132061407, -0.6725351214, -0.1441490054, -0.3227510452, 0.6742910743, -0.2290812433, -0.0034041675, 0.1409975737, -0.5146471858, -0.0339862257, 0.5405037999, 0.3530645669, 1.094096899, -0.3844618201, 0.528275609, 0.3207108974, -0.3026593626, 0.1415608078, 0.2319527417, -0.4800638855, 0.0934938937, 0.3224096298, 0.2242246419, 0.195496887, -0.3977069855, 0.5322865844, -0.3099017739, -0.2806587815, -0.3854644597, 0.2734707296, 0.0247006211, 0.2808913887, 0.3811305463, -0.262716949, 0.2802450657, -0.212763235, 0.3120597601, 0.3965387046, -0.566891253, -0.093535006, 0.8427769542, -0.0902942196, 0.108429797, 0.531999886, -0.1650194079, -0.5303955674, 0.3634455204, 0.6089654565, 0.5525760651, -0.2441333383, 0.206115678, 0.3568219244, 0.4485109448, 0.0466637202, 0.7060171366, -0.4359121025, -0.4965985715, -0.3645554185, -0.0084225964, -0.4040471315, -0.0024428021, -0.6136395931, 0.0929733366, -0.4214145243, 0.2302743793, -0.2542649209, -0.2410714477, -0.2705971599, 0.1303857863, -0.191426605, 0.7764495015, -0.8364664316, 0.4946549535, 0.390514493, -0.5378221273, -0.9052414298, -0.0991550386, -0.1617897898, -0.68123281, 0.347784847, 0.1360048205, -0.0812412128, 0.082471326, -0.6726459861, -0.8193699121, 1.1414374113, 0.5773633122, -0.5912943482, 0.0479062833, 0.331569314, 0.3551973999, -0.0793394819, 0.5441823602, 0.9360880852, 0.511064589, 0.3967808783, -0.1609389037, 0.3647947013, -0.4067938328, -0.3922789693, 0.4014818072, -0.2042720914, 0.5754951835, -0.5621740818, -0.101789102, -0.5546240211, 1.0130820274, 0.5021958947, 0.5254745483, 0.606597662, 0.4495696127, 0.6234054565, -0.5717439055, 0.5745577812, -0.25810197, -0.1638814062, 1.4693746567, -0.124952361, 0.5309922695, 0.4680720866, 0.0705255568, 0.7252539992, 0.4405727983, 0.0974058658, 0.46976915, 0.1792824417, -0.133850798, -0.3865220845, -0.2222847492, -0.6460219622, 0.4453911185, 0.4814184308, -0.0331123061, -0.4532390833, -0.4546890557, 0.1287211627, 0.0993602052, -0.4938934445, 0.893815577, -0.0100609967, -0.6040478349, 0.2011740357, -0.2120272517, -0.0198517591, -0.534460187, -0.4176517725, -0.5941268206, 0.122101225, -0.3837854862, -0.8505165577, 0.2854003608, -0.0212154798, -0.2253843546, -0.1556682885, 0.7152891755, -0.7264297009, -0.2148832977, -0.1290986091, 0.695392251, 0.0817730799, -0.42918697, -0.5084248781, -0.4186644256, -0.2494173199, 0.1437167525, 0.0320367403, 0.5827128291, 0.0210700985, 0.7145754695, 0.8182185888, -0.1751068681, -0.248022601, 0.2397202849, 1.0486619473, -0.5491709113, -0.8691924214, -0.9635497928, 0.8283723593, -0.1525187343, -0.1992126852, 0.8595502377, 0.7102409601, 0.5496122241, -0.0170862209, 0.4197171628, 0.273050189, 0.7034605145, -0.5261420012, 0.9058596492, -0.5095549226, 0.3708767295, -0.4047321081, -0.9355580807, -0.3280474842, 0.5058178306, -0.3271281421, 0.063257888, 0.7527091503, 0.5797460079, 0.1754042655, 0.2025906742, -0.0139689706, 0.3896815777, 0.5769940019, 0.5985301733, 1.2055422068, -0.1323682964, 0.991609931, -0.334820807, -0.4127616286, -0.1127819568, -0.9672798514, -0.8962728977, -0.6485024691, -0.3028414249, -0.2830526829, -0.0345501825, 0.7385472059, 0.6701948047, -0.8290950656, -0.0895018727, -0.5853925943, 0.4750357568, -0.1844798774, -0.2459864765, 0.7512519956, -0.1496833414, -0.0916251242, 0.3572223485, 0.2440663576, 0.1109520122, -0.0083980206, 0.1602465957, -0.0185211468, -0.1750643104, 0.5375273824, 0.3593981862, -0.3196993172, -0.0473020524, -0.0285833552, 0.257770896, -0.0820017084, 1.0115920305, -0.6927748919, 0.3471010029, 0.5222797394, 0.2252474129, 0.7891051173, 0.015935462, 0.5542261004, -0.8094716072, -0.111230135, 0.3351199925, 0.6128441691, 0.0058298758, -0.4278316498, 0.4094753265, 0.0402650312, -0.5763939023, -0.7501117587, 0.1374131441, -0.9497783184, -0.1681371033, 0.6434309483, -0.16214481, -0.1973235309, -0.4822804332, -0.2315483391, 0.2944447696, -0.3806926608, 1.104686141, 0.2086763829, -0.3071477413, -0.4129253626, -0.0008461639, 0.8359722495, 0.3823410273, -1.2605605125, 0.007291059, 0.5312359929, 0.059431918, -0.1310076565, 0.4061620235, -0.2657029629, 0.4266755879, -0.1009790972, 0.0146802822, -0.5541969538, -0.795381248, 0.0044653392, 0.5072715282, 0.1324199438, -0.0455696173 ]
http://arxiv.org/abs/2406.12266v2
http://arxiv.org/pdf/2406.12266v2
Towards a Client-Centered Assessment of LLM Therapists by Client Simulation
2024-06-18T04:46:55
2024-06-20T22:06:47
Jiashuo Wang, Yang Xiao, Yanran Li, Changhe Song, Chunpu Xu, Chenhao Tan, Wenjie Li
cs.CL
cs.CL
Although there is a growing belief that LLMs can be used as therapists, exploring LLMs' capabilities and inefficacy, particularly from the client's perspective, is limited. This work focuses on a client-centered assessment of LLM therapists with the involvement of simulated clients, a standard approach in clinical medical education. However, there are two challenges when applying the approach to assess LLM therapists at scale. Ethically, asking humans to frequently mimic clients and exposing them to potentially harmful LLM outputs can be risky and unsafe. Technically, it can be difficult to consistently compare the performances of different LLM therapists interacting with the same client. To this end, we adopt LLMs to simulate clients and propose ClientCAST, a client-centered approach to assessing LLM therapists by client simulation. Specifically, the simulated client is utilized to interact with LLM therapists and complete questionnaires related to the interaction. Based on the questionnaire results, we assess LLM therapists from three client-centered aspects: session outcome, therapeutic alliance, and self-reported feelings. We conduct experiments to examine the reliability of ClientCAST and use it to evaluate LLMs therapists implemented by Claude-3, GPT-3.5, LLaMA3-70B, and Mixtral 8*7B. Codes are released at https://github.com/wangjs9/ClientCAST.
[ -0.4206168056, -0.5004409552, 0.5322277546, 0.3819812238, -0.1911614835, 0.3776297569, -0.1786538661, -0.5241723061, 0.337587893, 0.2491092533, -0.4912164211, -0.2856301665, -0.5147558451, 0.0914698392, 0.066048488, 0.5703172684, -0.1208877936, 0.8585609794, -0.4047144353, -0.2088187635, -0.5518060923, -0.5086272955, -0.6510156393, -0.6608532667, 0.5061686635, 0.3120605946, 0.2617288232, 0.136418581, 0.3605498374, 0.2092340738, 0.1250649542, -0.0517086312, -0.6107994318, -0.0379855521, -0.0257946234, -0.256311208, -0.9504554868, 0.5355594754, 0.5915262699, 1.0396243334, -0.5147849917, 0.3866722286, 0.043746464, 0.2625805438, -0.3808666766, -0.3609743416, -0.4963093698, 0.3046128452, 0.0691409037, -0.2702167034, -0.4685954154, -0.5411483645, 0.304138273, -0.1149679795, 0.2844956815, 0.0532080196, 0.180189088, 0.0182933193, -0.6105404496, 0.0215045586, -0.6470476985, 0.5644955635, -0.5516157746, 0.3673850596, 0.048957523, 0.5763078332, -0.2282468975, -0.5985812545, -0.2124346495, -0.3735851347, 0.2625063658, 0.5031762719, 0.2362528294, 0.2039780021, 0.4751857221, 0.0855469331, -0.517054081, 0.4512014091, -0.1065757573, -0.1581530422, 0.6003298163, 0.3923405409, 0.1045012176, 0.2568460703, -0.6637175083, 0.2483190149, -0.7840710878, 0.1694040149, 0.2517297268, -0.0523116551, 0.1827409565, 0.563714087, 0.344247818, 0.3088165522, 0.0616083778, -0.4966038167, -0.0965680107, 0.2969492674, -0.3972119987, 0.4756537974, 0.5602400303, 0.933595717, -0.0718992427, -0.1411175132, 0.0803010836, -0.0011739233, 0.6869117618, -0.9659394622, 0.1809566468, 0.5571640134, -0.7052301764, -0.3442088664, -0.1908794194, -0.5921315551, -0.4580308497, -0.3009518385, 0.2913822234, -0.2367061973, -0.4843724966, 0.1815532148, 0.0528442673, 0.3577447534, 0.7226810455, -0.4187101424, 0.7689250708, 0.5596293807, 0.4089811742, -0.3173071146, -0.2784645259, -0.4025371373, 0.2267795205, 0.0267932434, 0.5877861977, -0.0467693247, -0.8816791773, 0.0478134491, 0.0656762719, -0.0655791238, -0.5339185596, 0.2663800418, -0.4221417308, 0.1676226407, -0.4579481781, -0.9657718539, 0.1062499806, 0.7236946225, -0.216952607, 0.5170688033, 0.3195827901, -0.6853635907, 0.4302081466, -0.6292924881, 0.0226601195, 0.375852406, -0.2163057029, -0.2484091669, 0.1177848876, -0.2249504775, 0.2652423084, -0.1773428768, 0.0656291768, -0.7801390886, -0.7046312094, 0.799441278, -0.3940942883, 0.6596209407, 0.0905746892, -0.0240342263, -0.0045031728, -0.514224112, 0.2189888507, -0.0403263085, -0.1559904218, 0.0989477783, -0.2272207439, 0.2596786618, -0.0347403437, 0.1688371301, -0.8198838234, 0.4249760211, -0.1616542488, -0.0789743736, 0.6143186092, 0.2229769081, 0.1509780288, -0.6061650515, 0.9473567009, -0.2747696638, 0.6537617445, 0.3753550649, -0.2916980386, -0.332237035, -0.4740525782, 0.0515323952, 0.202821508, -0.3872023821, 0.0508360378, -0.0035641459, -0.7803256512, -0.4419584572, 0.0966033414, 0.4330185056, 0.5826676488, 0.0823670998, -0.8403630257, -0.349242419, -0.6049989462, -0.3326441944, -0.1458978653, 0.0467911474, 0.2504930198, 0.1915497929, -0.2479390204, 0.7692418098, -0.1708192378, -0.3279614151, -0.304012835, -0.2461439073, 0.1437279433, 0.5430518985, 0.6140800118, -0.3656148016, -0.5983246565, -0.1103099883, -0.8356235623, 0.002411576, -0.04780332, 0.1844125837, -0.2895587683, 0.2255598605, -0.2548488677, 0.4746855795, 0.3124192953, -0.2311800569, 0.713255465, -0.5159941316, 0.1082563624, -0.6295172572, 0.196027413, -0.2131754309, -0.3820002079, -0.6142188311, -0.272270292, -0.2429080606, 0.0013193485, -0.7611692548, 0.53837502, -0.3718019724, -0.4630870819, -0.3373361528, 0.1844305098, -0.0572262444, 0.28044945, -0.2971141636, 0.6028878093, 0.435283035, -0.2384526879, 0.394336313, 0.0012488802, -0.071470812, 1.021597147, -0.5655827522, 0.4588366747, 0.112637192, 0.3130167723, -0.5331699848, -0.0820670873, 0.3108661473, -0.2285379618, 0.4023816586, -0.3346164525, -0.3310358822, -0.2713433206, -0.4335942566, 0.645911634, 0.393956989, -0.1763149202, 0.5149463415, 0.2311414331, 0.0733083561, -0.5697040558, -0.2940673232, 0.055365283, -0.5276529789, -0.445443958, 0.0651634708, -0.3657438457, -0.1939617246, -0.2529941201, 0.0155972168, 0.1703059077, 0.3634610176, 0.4970242381, 0.3842751682, 0.171408698, -0.230149135, 0.05968979, -0.1116987839, 0.3425003886, -0.166353941, 0.4142451286, -0.4639626741, -1.0671538115, -0.5562163591, 0.2537988424, 0.4408102632, 0.1653548032, 0.4808494747, 0.7302034497, -0.2728247643, 0.0649196878, -1.0085821152, -0.1453698575, -0.3823152781, 0.0979095623, -0.2408594638, -0.9775053263, 0.696713388, -0.3966456056, -0.0376805142, -0.1251242608, 0.9720884562, -0.3670662642, 0.9421106577, 0.3401113749, 0.2245345712, 0.133836478, -0.4782676995, 0.0453624502, -1.0676347017, -0.3329402804, -0.0387308709, -0.4151249528, -0.4313229322, -0.4692075253, 0.6542961597, 0.0338643342, -0.2591449618, -0.061604917, -0.4162106216, 0.2079571933, 0.2679773569, 0.2661364079, 0.38115412, -0.2552902997, -0.4602760971, -0.2718418241, -0.4916989207, -0.7001309991, 1.2232826948, 0.8025137782, 0.4739575982, 0.1261136383, 0.828002274, 0.0502713583, 1.337443471, -0.8119363785, 0.5425081253, 0.4707117081, -0.6803757548, -0.1244635582, -0.0967997387, -0.8444453478, 0.5282874107, -0.0005726039, -0.8916177154, 0.1771815121, -0.1127677634, -0.2499171197, 0.1341916919, -0.3953536153, 0.7792183757, -0.411547333, -0.4199019372, -0.4426246583, -0.6743450761, 0.3541991413, -0.1445965916, 0.2493509352, -0.3650826514, -0.0213620812, 0.4529676139, -0.4840555191, 0.8877714872, -0.5963285565, 0.0815720186, 0.2370198816, 0.439042598, -0.0023357423, 0.4148260355, -0.121995613, -0.2326769829, 0.6062449813, -0.704146564, -0.8520120978, 0.5802384615, -1.008310914, -0.5346272588, -0.4590606689, -0.4291608334, -0.7184609771, 0.0439599119, -0.0606720299, 0.4292310476, -0.8375331759, -0.1496196687, 0.2621384263, -0.1949805319, 0.1065538228, 0.8437294364, -0.6410828829, -0.7112312317, 0.6241371632, -0.0537585728, 0.3245021403, -0.4447393119, 0.0127013978, -0.3314128816, -0.7186537385, -0.0627294481, 0.3806827366, -0.6522313356, -0.0237532444, -0.1944061816, -0.1546205133, -0.1249258965, -0.1745507717, -0.38039276, -0.025649555, -0.1888722628, -0.239148289, -0.241624698, 0.7002628446, 0.0460833237, 0.3831157088, -0.5379359722, -0.3078700304, 0.3394666612, 0.3459499478, 0.0410782732, -0.170003742, -0.1988915354, 0.018937299, -0.7560956478, -0.6380650997, 0.3540976644, -0.3477589488, 0.6979270577, 0.8982252479, -0.0848657414, 0.666834116, -0.3300924003, 0.653917551, 0.6343827248, -0.6714591384, 0.2448156029, -0.419798702, -0.3017969429, 0.740803957, 0.2361721992, -0.4499134719, -0.380559355, -0.9278999567, -0.0806020945, 0.3881424069, -0.0602798648, 0.0656582192, 0.091726087, 0.7037412524, 0.0951447561, 0.2252771407, -0.6615484357, -0.069324635, -0.1087945178, -0.00474614, 0.0496528484, -0.4574202895, -0.6750871539, -0.115147911, 0.3005806804, -0.253233552, 0.4192660451, 0.5945132375, 0.0822104663, -0.4103864133, 0.1267645061, 0.5005431175, 0.7457405925, -0.6540870667, 0.3077629805, 0.6564750671, -0.3805140555, 0.3043137789, -0.0687475577, 0.4979436398, -0.2541956306, 0.5050252676, 0.2391427457, 0.2252840251, -0.7472339272, 0.8137632012, -0.382899195, -0.5262233019, -0.4864545763, -0.0910951719, 0.1745471507, 0.427610904, -0.0543538146, -0.0373226851, 0.1369267404, -0.3566883206, 0.1675953269, 0.5146068931, -0.9070022702, -0.3255822659, 0.405210346, 0.0348180085, -0.3684895933, 0.4857881367, 0.0471919887, -0.3632562757, 0.6619369984, 0.467829138, 0.7803459764, -0.1611954868, 0.0121470559, -0.1029423997, 0.0444678478, 0.0758797899, 0.2488189638, 0.1616273522, -0.7157387137, -0.4032809734, -0.3098275363, -0.9668784738, -0.3102695346, -1.0402474403, 0.126541689, -0.723122716, -0.5972011089, -0.5795913935, 0.554587841, -0.6442245245, -0.1215621829, 0.1992694587, 1.1236714125, -0.6170474887, 1.1073285341, 1.0221369267, -0.1883419305, -0.8346908689, -0.3344932497, 0.0764333308, -0.950137496, 0.6133856773, 0.1585147828, -0.0697351098, -0.166909039, -0.5020002127, -0.2733027041, 1.6268913746, 0.5600249171, -0.1059486791, 0.0944862664, 0.4006663859, 0.796490252, -0.5972614288, 0.7086430192, 0.3444997668, 0.3336575031, 0.2510793805, -1.1037392616, -0.0159894153, 0.0006794606, 0.1458511353, -0.6468923688, -0.7167001963, 0.3394168019, -0.1811445653, 0.1959026307, 0.2305552363, 0.3477331698, 0.6623827815, 0.5484477282, 0.7474383116, 0.4006481171, 0.7286568284, 0.3235222399, 0.8879740834, -0.4234239161, 0.5994479656, 0.8825377226, -0.7827134728, 0.35430336, 0.7987152338, -0.4573529959, 0.1549642831, 0.6437464952, -0.1432434022, 0.0822121873, 0.4715929329, -0.4531054497, -0.2948491275, -0.5762224197, -0.3129988909, 0.3462912738, 0.2362622023, -0.0038393277, -0.2202169895, 0.273352921, -0.071542412, 0.0375946723, -0.0605616719, 0.5171204805, 0.630746603, -0.2368335575, 0.2414338291, -0.0994782373, 0.0164559148, -0.3405301571, 0.0473097898, -0.2113951892, 0.3952495456, -0.1474646479, -0.3006512523, 0.0030096434, -0.1975375414, 0.3785536885, -0.6924869418, 0.7314870954, -0.2315304577, -0.2725374401, 0.48364079, 0.8797137737, 0.3036606312, 0.289280355, -0.7231808305, 0.1448783278, -0.3285872638, -0.3954995871, 0.9436326623, 0.2986986637, 0.3195778728, 0.9547929168, 0.6234468222, 0.4114647508, -0.2368724495, 0.437466532, 0.8499462605, -0.2231807858, -0.0973308012, -0.6275069714, 0.1099010184, -0.0235841572, -0.0476947911, 0.629648149, 0.5326467752, 0.3128693998, 0.1088334396, 0.3310011029, 0.2804274261, 0.5937238336, -0.2320658863, 0.6581961513, -0.6166629195, 0.4785268009, -0.2826029658, -0.8969874382, -0.2243892699, 0.3936698437, -0.2390781939, -0.139976725, 0.5363482237, 0.5556589961, 0.1510094851, 0.1191954762, 0.514010489, 0.02803302, 0.7545620799, 0.5042700171, 1.2586660385, -0.1613886952, -0.0150187947, -0.313118875, -0.3283771873, -0.2572703063, -0.84176898, -0.9225720167, 0.0394981466, -0.283259511, -0.439312309, -0.3134488463, 1.24426651, 0.568502903, -0.2993255854, -0.7607042789, 0.342117995, 0.0073622894, -0.2482124269, -0.1606635749, 0.2242028266, -0.0760940611, -0.451014936, 0.3783861399, 0.2522098124, 0.2154368758, -0.6491969228, -0.2770807743, 0.3137696683, -0.2906624675, 0.2643511891, -0.0190900285, -0.6617029905, -0.4959514737, -0.0629996136, -0.2758842707, -0.0481899939, 0.8826500177, -0.7352804542, 0.4226279557, -0.3387801647, 0.468324244, 0.6150121689, 0.0932934061, 0.6409852505, -0.1103448793, 0.1687051803, 0.4160951972, 0.365681231, -0.0095915534, -0.2530905604, 0.32597211, 0.3103580773, -0.5890522599, -1.0421460867, -0.1510309279, -1.3898941278, -0.0196160953, 0.7685894966, -0.5930415988, 0.0458636433, -0.192255199, -0.4882708192, 0.2087363154, 0.0504242666, 0.5915405154, 0.3818587959, -0.4660750329, 0.0392413475, -0.683442235, 0.414760828, 0.5582909584, -0.4637145102, -0.2804001868, 0.1196126863, 0.8534775376, -0.1600257456, 1.0349258184, -0.1369934082, 0.1144680828, -0.3905827999, 0.3844547272, -0.2492729574, 0.1615697891, -0.3112693131, 0.225203976, 0.5358681679, 0.2172774076 ]
http://arxiv.org/abs/2406.12263v1
http://arxiv.org/pdf/2406.12263v1
Defending Against Social Engineering Attacks in the Age of LLMs
2024-06-18T04:39:40
2024-06-18T04:39:40
Lin Ai, Tharindu Kumarage, Amrita Bhattacharjee, Zizhou Liu, Zheng Hui, Michael Davinroy, James Cook, Laura Cassani, Kirill Trapeznikov, Matthias Kirchner, Arslan Basharat, Anthony Hoogs, Joshua Garland, Huan Liu, Julia Hirschberg
cs.CL
cs.CL
The proliferation of Large Language Models (LLMs) poses challenges in detecting and mitigating digital deception, as these models can emulate human conversational patterns and facilitate chat-based social engineering (CSE) attacks. This study investigates the dual capabilities of LLMs as both facilitators and defenders against CSE threats. We develop a novel dataset, SEConvo, simulating CSE scenarios in academic and recruitment contexts, and designed to examine how LLMs can be exploited in these situations. Our findings reveal that, while off-the-shelf LLMs generate high-quality CSE content, their detection capabilities are suboptimal, leading to increased operational costs for defense. In response, we propose ConvoSentinel, a modular defense pipeline that improves detection at both the message and the conversation levels, offering enhanced adaptability and cost-effectiveness. The retrieval-augmented module in ConvoSentinel identifies malicious intent by comparing messages to a database of similar conversations, enhancing CSE detection at all stages. Our study highlights the need for advanced strategies to leverage LLMs in cybersecurity.
[ -0.1922965944, -0.8803128004, 0.3668246865, -0.0600528046, -0.095539026, 0.7788729072, 0.038879998, -0.4951540232, 0.3925828934, 0.4179235697, -0.6990145445, -0.482056886, -0.5806810856, -0.0943096131, -0.6411812901, 0.681923151, 0.4021059573, 0.0794601664, -0.1301661134, 0.2202715129, -0.3027863801, -0.7403030992, -0.934022069, -0.2567566037, 0.4751931727, 0.4301916659, 0.5611871481, -0.2214733064, 0.3828387558, 0.4147410393, -0.1539853066, 0.0650700405, -0.8551473022, 0.3804774284, -0.1567471474, -0.5248916745, -0.1793146133, -0.198134467, 0.1259416938, 0.3315406442, 0.0192872249, 0.0515625812, 0.3281518817, 0.582560122, -0.6917696595, -0.1789503843, -0.9632882476, -0.3048472106, -0.1941892356, 0.0261407215, -0.6155508161, -0.4442833662, 0.1494917125, -0.3806556165, 0.0674286336, -0.0270827748, 0.536583066, -0.0375314318, -0.3271807432, -0.2829820216, -0.499194324, 0.5013678074, -0.6081601381, 0.2557780147, 0.1258706897, 0.492087096, -0.5429935455, -0.7213566899, -0.1528086364, -0.3458971977, 0.031114893, -0.069515489, -0.4374007881, 0.2229474038, 0.1648074538, 0.0736643299, -0.578279376, 0.3338938057, -0.6173006892, -0.5641825199, 0.9124734998, 0.2124113441, 0.5088152289, 0.0064956448, -0.2929864824, 0.0845884308, -0.730283618, 0.0902909487, 0.5462591648, 0.1608288735, -0.3387084603, 0.3117284179, 0.0386243276, -0.0178656951, 0.1544036567, 0.1571391672, -0.2316613942, -0.0754777864, -0.243728891, 0.2257684767, 0.8307077289, 0.0879364163, 0.3252714276, -0.1503669769, -0.0570545606, 0.4499017, 0.5720803738, -0.8656930923, -0.204780519, 0.3454661667, -0.4394065142, -0.6863747835, 0.0248154774, -0.6370241642, -0.8357409239, -0.1400248557, 0.1396046579, -0.4086960554, -0.3212438226, 0.2373831421, -0.2613295019, 0.2295744568, 0.1202766001, -0.3926103413, 0.6296239495, 0.9340106845, 0.916018188, -0.207752645, -0.009557914, -0.4145627022, -0.0691265911, -0.4482991397, 0.579982996, -0.4438201785, -0.7788543701, 0.2210564613, 0.0241561551, 0.249109298, -0.3060000241, 0.5537568331, -0.7814338207, -0.2832370996, -0.2108931988, -0.4421439171, 0.0584474877, 0.3806942105, -0.479916364, 0.8232833743, -0.1674205214, -0.8659344912, -0.1253341734, -0.406665355, -0.3887127638, 0.3100720644, -0.4265353382, -0.3259533942, 0.2231828719, -0.2713691592, 0.6320494413, -0.3785203695, 0.2183205783, -0.7902297974, -0.509544909, 0.3548127711, -0.4634665549, 0.830396533, 0.2752686143, -0.194975093, 0.0309341624, -0.4458670318, -0.2359823138, 0.184630096, 0.0774806365, -0.5243355632, 0.3378405571, -0.4352647662, -0.1000704542, 0.3423691392, -0.7769010067, -0.1279187053, -0.5492084622, 0.409514159, 0.88390553, 0.1708223969, 0.4735087156, -0.1918695718, 0.5803741813, -0.1594966203, 0.4368374646, 0.247142598, -0.1433738023, -0.4306044877, -0.3272381425, -0.1477517486, 0.7357311249, -1.1186840534, 0.0325565301, -0.2203861624, -0.8360346556, -0.210207656, -0.0866695568, 0.3292712569, -0.1754695922, 0.0013652549, 0.1535553932, -0.5807964206, -1.12642169, -0.3024721146, -0.168426916, -0.0443933345, 0.1348820329, 0.3657292724, -0.2445984781, 0.7075443268, -0.4765202701, 0.1262585819, -0.2533906698, -0.1483592987, -0.0061598131, 0.2647905052, 0.6208658814, -0.6822256446, -0.4354524016, 0.0368929617, -0.8490033746, -0.254745245, -0.1323440373, -0.0727037266, -0.2285898477, 0.7885283232, -0.3897942305, 0.2850829065, 0.540122211, -0.3763746917, 0.806356132, 0.2316523939, 0.2882102132, -1.236042738, -0.3952766955, 0.1792050749, -0.1827690154, -1.0282241106, 0.1305983067, 0.0384216793, -0.4532731473, -0.8986410499, 0.4368109703, -0.4548006356, 0.2222108245, -0.4092126191, 0.3378240168, -0.1221690923, 0.189234212, -0.5370203853, 0.8579653502, 0.8421607614, -0.6095703244, 0.4863500595, 0.0511367284, -0.2603204548, 0.8316056728, -0.9476152062, 0.3598940074, -0.0710994974, 0.3107498884, -0.8579897285, -0.1615842432, 0.040626131, -0.5824423432, 0.4749597311, -0.2501677871, -0.2923841178, -0.3971191347, -0.8696150184, 0.219542563, 0.119734548, -0.4841614366, 0.8686951399, 0.6590412259, -0.2194288522, -0.643473506, -0.8194829226, 0.3482560515, -0.2792966068, -0.8915088773, 0.435713321, -0.0250403509, -0.5996094942, -0.4663023651, -0.139354974, 0.1791667193, 0.6005844474, 0.3424117863, 0.4072194397, -0.0403821878, -0.156593129, 0.0394774824, -0.016946137, 0.4107855856, -0.1650621146, 0.6490866542, 0.1899009347, -0.6017808914, -0.510238409, 0.4676089585, 0.6231978536, 0.1584276855, 0.5966858268, 0.1085310429, -0.3191757798, -0.3183982968, -0.6482431889, -0.5424830317, -0.6422206759, 0.4433206618, -0.2691838443, -1.1279104948, 0.4716350436, -0.2428012341, 0.2563292086, -0.0075409845, 0.2664448023, 0.002211222, 0.7379935384, 0.3256319761, -0.3784023523, 0.5131911635, -0.2324619889, 0.4371067286, -0.5893493891, -0.2495045066, -0.4635790884, -0.2679833174, -0.8412032723, 0.0857484341, 0.3844047487, -0.1862653196, -0.2262102962, 0.5383775234, -0.5562737584, 0.5165995955, 0.2196888477, 0.4345445931, -0.1288024634, -0.1078072563, 0.1863891929, 0.128462851, -0.4792176783, -0.7589064837, 0.8331134915, 0.4826815426, 0.9503977299, 0.3702889681, 0.6737833619, 0.7141808271, 0.0684268102, -0.5194451809, 1.0698100328, -0.2374377996, -0.5285642743, 0.067973204, -0.2494335175, -0.8914670348, 0.3211761415, -0.2367372811, -0.9066303372, 0.3457145095, -0.046930518, -0.4013106525, 0.3881039023, -0.7166008353, 0.5881202221, -0.3416002095, -0.6152285337, -0.5065069795, -0.3449905813, 0.319462955, -0.0538635366, 0.2531519532, -0.2123552263, 0.1578071117, 0.4638575017, -0.1013953388, 1.400549531, -0.0624500178, -0.0347407833, 0.3272710443, 0.5415410995, 0.8118677735, 0.0999682024, -0.1058569029, 0.2812424898, 0.2104625702, -0.4790359139, -0.3152853847, 0.9531936646, -0.6559866667, -1.03010571, -0.4955316484, -0.1295333058, -0.0310553629, -0.1262715459, 0.0685972869, 0.4587163031, -0.8154665232, 0.4163253605, 0.8130743504, -0.392645359, 0.3109472096, 0.4607658386, 0.073953867, -0.3591644168, 0.7011899352, 0.0296065789, 0.5695180297, 0.1377714425, 0.1181490868, -0.1045184955, -0.5237144828, 0.1406430453, 0.1615580171, -0.5006944537, -0.3658582568, -0.7284682393, -0.4528647661, -0.5641804934, -0.5783607364, -0.1285612732, -0.1995543838, -0.1424204558, -0.2739715576, 0.3620454073, 0.6569982171, 0.0165634546, 0.3970386088, -0.4081145525, 0.0210210942, 0.3369154334, -0.0652546361, -0.0787388831, -0.3656544387, -0.0944409519, 0.2129225433, -0.4043436348, -1.1363885403, 0.0281570628, -0.2182589918, 0.5380749106, 0.2907120883, 0.3141957521, 0.2075984031, -0.3387040794, 0.9582224488, 0.0641924217, -0.7118410468, 0.4222742021, -0.3469474912, -0.0589407161, 0.4805292785, 0.3780196011, -0.5607724786, -0.6098691225, -0.7126270533, -0.6115521789, 0.4334963262, 0.2714960873, 0.4294940829, -0.1115693673, 0.3029717207, -0.3011966348, 0.0034056583, -0.5692412257, -0.1457024515, 0.1880995929, -0.2186607867, 0.3884029686, -0.560554564, -0.1914560646, 0.2177891135, 0.9599998593, 0.055608809, 0.0481336154, 0.0347498916, 0.0594015568, 0.5256571174, 0.350903064, 0.321344316, 0.1133549213, 0.2632204592, 0.1723318994, 0.6337723136, -0.4707278609, 0.3114597201, -0.1214958504, -0.2607268989, -0.1430667192, 0.1767948419, 0.3772232831, 0.3550156653, -0.5144691467, 0.6434605718, 0.0672310442, -0.2449184358, -0.5619910955, 0.2271385789, 0.1426721215, 0.5003422499, 0.2810204923, -0.2873262167, 0.2589322329, -0.5745809674, 0.0959188268, 0.9472068548, -0.2816496193, -0.3255376816, 0.527379632, 0.2852630615, -0.6362351775, 0.0933541134, -0.0671766177, -0.6348931193, 0.6729384065, 0.3211658895, 1.08875525, -0.4012967944, 0.1956183463, -0.0085542556, 0.471434325, 0.0380240232, 0.1228439435, 0.1914495081, -0.6831954122, -0.1848336011, -0.1643013656, -0.4630823731, 0.0195933189, -0.3038714826, 0.6219388247, -0.6051510572, -0.2297036052, 0.0791605636, -0.1386626065, -0.398301512, -0.312033236, 0.194737047, 0.9778324962, -0.7373666167, 0.617990613, 0.3210020363, -0.0531770959, -0.4397484958, -0.2285413444, 0.5880662799, -0.4952014387, 0.4933453202, 0.1211327389, -0.7330428958, -0.2378151715, -0.8804309964, -0.4827824235, 1.1568362713, 0.5302665234, -0.6853021979, 0.0316727944, 0.324826628, 0.4652813971, -0.1973072737, 0.1135956794, 0.5033658147, 0.0620751716, -0.0516520068, -0.5186397433, 0.0672744736, -0.1298414916, -0.0529191941, 0.2516562939, -0.8344849944, 0.3566857576, 0.2389908731, -0.5818831325, -0.3055470884, 0.5317806602, 0.3623353243, 0.4616693556, 0.3590340912, 0.0788627639, 0.5927011967, -0.033535175, 0.8985490203, -0.3939418197, 0.0284743551, 0.9559242129, -0.4519138932, 0.5493994355, 0.2268723398, -0.0571592189, 0.5343052149, 0.6188143492, 0.1325694323, 0.222296387, 0.4267556369, -0.5636723638, -0.2355241627, -0.1709747463, -0.0683660656, 0.1657429785, 0.4743973315, -0.0166157782, -0.1269924492, 0.1437822282, 0.4235489666, 0.4530867934, -0.2861703634, 0.8142869473, 0.3711682558, -0.2166781127, 0.2632721663, -0.1347932816, 0.8480622768, -0.8283330202, 0.3409515321, -0.1784808487, 0.3262797594, -0.1625630707, -0.6502255797, 0.4213135839, -0.1017722562, 0.180719316, -0.016110165, 1.0866323709, -0.0967479721, -0.2844172716, 0.6598939896, 0.1760537773, -0.1092730835, -0.1540633887, -0.8358679414, 0.2464410365, -0.1423291862, 0.0239433404, 0.3692025244, 0.483825624, -0.0410065204, 0.9647949338, 0.6947643161, -0.0211210083, -0.1503787637, 0.1592073292, 1.0888129473, -0.1485970169, -0.481990695, -1.350528717, 0.2282171994, -0.7269303799, 0.2510163784, 0.8402538896, 0.656946063, 0.6017497778, 0.2385510504, 0.7033960819, 0.1594033241, 0.4442312419, -0.3642403781, 0.5889593959, -0.2740445137, 0.6113449335, -0.1897898465, -0.3796381354, 0.0939468816, 0.0204925817, -0.3745715916, -0.447683543, 0.499699682, 1.2625591755, -0.0743468776, 0.2628890872, 0.4209972322, 0.2713762224, 0.6964318156, 0.4348753095, 1.0248246193, -0.2937965989, 0.5570739508, 0.2011672407, -0.2728729844, 0.0573561341, -0.5393230319, -1.3898975849, -0.2235685736, -0.2686778307, -0.6999284625, 0.4236342609, 1.0322051048, 0.5471455455, -0.8374775052, -0.2868974805, 0.2354686111, 0.1130903065, 0.0589103065, -0.2075076699, -0.0617800951, -0.2533451915, -0.4145466983, 0.7695099115, 0.4148940146, 0.0942370445, -0.6511172652, 0.1318310797, -0.3770025074, 0.6763786077, 0.7123121619, 0.196117416, -0.5393335223, -0.4195495546, 0.22834225, -0.277677238, -0.3896034956, 0.9479845762, -0.4127171338, 0.0301419497, 0.6041360497, 0.9840934277, 0.2227794081, -0.2634707689, 0.5882089734, -0.7733789086, 0.2417224348, 0.1000058427, 0.4396190643, 0.2355901748, -0.7013667822, 0.5722429752, 0.2037529945, -0.5390777588, -0.7484158874, 0.4027385116, -0.5451417565, -0.6542329192, 1.2186299562, 0.1078667641, -0.1642733216, -0.4572819471, -0.3956413865, -0.062438298, -0.4718352258, 0.8702467084, 0.6202139258, 0.5187966228, 0.0775891393, -0.5805193782, 0.446492523, 0.0937048644, -0.6717217565, 0.1576849371, 0.4548110962, 0.2639214694, 0.2180546075, 0.47434026, -0.003084735, 0.1490343511, -0.2284335643, -0.0936296806, 0.0389835089, -0.2128934562, 0.0631093755, 0.2283891737, -0.1478704512, -0.2908111513 ]
http://arxiv.org/abs/2406.12260v1
http://arxiv.org/pdf/2406.12260v1
Self-Supervised Time-Series Anomaly Detection Using Learnable Data Augmentation
2024-06-18T04:25:56
2024-06-18T04:25:56
Kukjin Choi, Jihun Yi, Jisoo Mok, Sungroh Yoon
cs.LG
cs.LG, cs.AI, cs.CL
Continuous efforts are being made to advance anomaly detection in various manufacturing processes to increase the productivity and safety of industrial sites. Deep learning replaced rule-based methods and recently emerged as a promising method for anomaly detection in diverse industries. However, in the real world, the scarcity of abnormal data and difficulties in obtaining labeled data create limitations in the training of detection models. In this study, we addressed these shortcomings by proposing a learnable data augmentation-based time-series anomaly detection (LATAD) technique that is trained in a self-supervised manner. LATAD extracts discriminative features from time-series data through contrastive learning. At the same time, learnable data augmentation produces challenging negative samples to enhance learning efficiency. We measured anomaly scores of the proposed technique based on latent feature similarities. As per the results, LATAD exhibited comparable or improved performance to the state-of-the-art anomaly detection assessments on several benchmark datasets and provided a gradient-based diagnosis technique to help identify root causes.
[ -0.351574719, -0.6506482363, 0.2779516578, -0.0783616602, -0.3933867812, 0.1222683266, 0.4002488852, -0.6566318274, 0.2922464907, 0.4083887637, -1.0225422382, -0.4224818945, -0.2880622745, -0.0643626451, -0.4525338113, 0.9573985338, -0.2042753696, -0.4379859567, 0.0942328274, -0.2328786999, -0.3741285801, -0.6548284888, -0.5858223438, -0.1845061183, 0.2254867852, 0.1741026789, 0.2410570681, 0.7248308063, 0.4792747796, 0.24332349, 0.2381629497, 0.6656247377, -0.1438676119, 0.2381277233, 0.12803936, -0.2711348832, -0.5343676805, -0.2783994675, 0.4038902819, 0.6618116498, -0.1548680365, 0.1588950008, 0.2035604268, 0.672360301, -0.4471596777, 0.1628235728, -0.3104046881, 0.524861455, -0.3527764082, -0.3087520003, 0.1898643821, -0.1818667799, -0.2849330306, -0.6059660912, 0.8288301229, -0.0884380862, 0.5011186004, 0.6732530594, -0.1501996517, -0.1743264496, -0.7103224397, 0.8857452273, -0.7708594203, 0.1475301385, 0.0945974067, 0.5296700597, 0.0130972946, -0.6602071524, -0.4311452806, 0.2051347941, -0.1285955906, 0.1203159019, -0.1074126661, -0.4202884734, 0.2290115952, 0.5493506789, -0.6136101484, 0.7734093666, -0.1931666732, -0.2099600285, 0.4362430274, 0.6671546102, -0.1614868343, -0.1330678612, -0.4388743043, -0.0448643304, -0.2018971741, 0.0745335445, 0.646949172, 0.5359792709, -0.3440067768, 0.0302676074, -0.5128276944, 0.4261392355, 0.0757114291, 0.1535813808, 0.6939301491, -0.2127975225, -0.2260008007, 0.2016024888, 0.4432581663, 0.0287295319, -0.2486079782, 0.0491151102, -0.4041664004, -0.0231627338, 0.1408896297, -0.5153377056, -0.4553428888, 0.3618909717, -0.4674306512, -0.5115259886, -0.0045549902, -0.8947315216, -0.5518017411, -0.2253765762, 0.4917825758, -0.1136722341, -0.5875180364, -0.1030720845, 0.0833116323, 0.164111346, 0.2323935926, -0.7536225319, -0.1727604121, 0.6080040932, 0.7780931592, -0.5264361501, -0.0129497517, -0.6318787336, 0.0624856949, -0.3504034579, 0.7939000726, -0.1865299493, -0.6654749513, -0.2019823492, 0.2069809139, 0.1974252313, -0.9445920587, 0.4192326963, -0.4495593607, -0.04003115, 0.0704881772, -0.3273516595, 0.049222704, 0.4091959596, -0.6198946834, 1.1233395338, 0.3524621129, -0.7216532826, 0.5747237802, -0.7264242768, -0.3551630378, 0.0346541107, -0.2539246082, -1.0519226789, -0.1813666672, 0.5788828731, 0.77186203, 0.0914450511, 0.2146217078, -0.5773480535, -0.1396430731, 0.2700914145, -0.7536018491, 0.4878415465, 0.3583523929, -0.4303699136, -0.1710426658, -0.9123666286, -0.0219932962, 0.0978986919, 0.0656076223, -0.2779344916, -0.3158189654, -0.2922456563, 0.038950935, 0.1865730286, -0.5230109096, 0.126166746, -0.2916216254, -0.1194152012, 0.8854919076, 0.489667207, -0.0766559839, -0.4089837968, 0.5352912545, 0.7461671829, 0.1528998613, -0.3736710548, -0.0699137673, -0.8329212666, -0.4050660729, -0.00288849, 0.5759811997, -0.7473381758, 0.5815272331, -0.0178146847, -0.2910954058, -0.3870682418, 0.3389082253, 0.0928288847, 0.9599938393, 0.5454509258, -0.2151555568, -0.6029751301, -0.8915423751, -0.3122795224, 0.5272067785, -0.0420754291, 0.0570293255, 0.2856144607, -0.3234048486, 0.8432940841, -0.8188480139, -0.7365540266, 0.2176337391, 0.4253246784, 0.762771666, 0.7392828465, 0.5666297078, -0.5486590862, -0.3532217741, 0.1984440684, -1.0712822676, -0.095594503, -0.0999389738, 0.5110691786, 0.3762015104, 0.7457212806, 0.2249612212, 0.5445432067, 0.3509210944, -0.0283295903, 0.4322697222, -0.3022003174, 0.1695177704, -1.1747970581, -0.0807527453, 0.1599874347, -0.1474440247, -0.6287564635, -0.434705019, -0.0322893411, -0.098199673, -0.3767192662, 0.1910711527, -0.1955519915, 0.0428798534, -0.2072787881, -0.4179736078, 0.0142512638, 0.518103838, -0.1378500015, 0.8240318894, 0.4808053076, -0.8012595773, 0.5063829422, -0.301099956, -0.5406355262, 0.5966968536, -0.3592927754, 0.1450517774, -0.2195723653, -0.2009120435, -0.9044705629, -0.2984485924, 0.4976028502, -0.2650833428, 0.5389720798, -0.095871903, -0.1656703353, -0.2220375389, -0.2475281358, 0.5492414236, 0.3888505399, -1.0427600145, 0.4797611237, 0.1415731609, 0.0876511335, -0.7553887963, -0.8687195182, -0.6420222521, -0.6020242572, -0.2338137627, 0.209840551, 0.1085779816, -0.0956469551, -0.0598669089, -0.4062050283, -0.3689014912, 0.2904731631, 0.178797394, 0.1628712267, -0.2693620622, 0.1650259346, 0.0659590587, -0.2081079334, 0.1397060156, -0.1036677584, 0.3424724936, -0.1483889967, -0.6645085812, -0.6508443952, 0.2981778085, 0.2020994425, 0.2445579022, 0.4500335157, 0.8177840114, -0.360593766, -0.4693960547, -0.4442870915, -0.263048321, -0.5982037783, 0.3577944934, -0.1927771717, -0.5545173883, 0.7071045041, -0.2365722656, -0.1722893566, 0.5816063881, 0.0335635729, -0.4227989912, 0.6878603697, 0.4243208766, -0.1785293519, 0.4404530525, -0.631812036, 0.2718672752, -0.84232831, -0.4427154362, -0.2127584964, -0.2710351646, -0.5801723599, -0.2499710172, 0.7717272043, -0.2820815146, -0.2329907268, -0.023521902, -0.4861995876, 0.194331333, 0.2663294971, 0.4811130762, 0.2845543623, 0.2259905934, 0.1410074383, -0.3426725566, -0.5138532519, 0.121228829, 0.7987397909, 0.2901678681, 0.7643260956, 0.0433320217, 0.7347350717, 1.1590967178, 0.045989573, -0.4896211028, 0.112456426, -0.2907869518, -0.2530812621, -0.3730746508, -0.4826527834, -0.9853282571, -0.0774277821, -0.1749986112, -0.4163061678, 0.6768906713, 0.4450242519, -0.4903340638, 0.4497370422, -0.7542812824, 0.7321285009, -0.6318312883, -0.3708299398, -0.0687923729, -0.2655447125, 0.2918200195, -0.4693124294, 0.2909711897, -0.1267524213, -0.0265109427, 0.640497148, -0.4800957143, 1.0858608484, -0.3946036398, -0.2480206937, 0.1986964494, -0.0722079054, 0.5154601336, 0.0499951132, -0.041348692, 0.2933588922, -0.3501770198, -0.4604413807, -0.6927492619, 0.7481452823, -0.5768358111, -0.6207327247, -0.6516379118, -0.4004282653, -0.2567168176, 0.0568809994, 0.1184299886, 0.6438372135, 0.0240216143, 0.1895778626, 0.5945734382, 0.0009914902, 0.7658127546, 0.599794209, 0.1594753116, -0.150248915, 1.2365086079, 0.2149666995, -0.0814892128, 0.2265624851, 0.0527538061, -0.2790664732, -0.4412662685, -0.0818077102, 0.0044762483, -0.5613877773, -0.3324152827, -0.5162503719, -0.33732602, -0.2876789272, -0.0332793556, -0.3392805159, -0.4520852268, -0.8212519288, 0.1938040555, 0.3829022646, 0.488550216, -0.3792500794, 0.4066851139, -0.8487694263, 0.3938216865, 0.6363828182, 0.3951689005, 0.0799982846, -0.7154045105, -0.2511187792, -0.0056571565, -0.4650563598, -0.2944667041, 0.6191048026, 0.0994579047, 0.7226873636, 0.7779355645, 0.4014967084, 0.6013122797, 0.1495112479, 0.4932417572, 0.1335773766, -0.6146063209, 0.547190547, -0.56721735, 0.2028030902, 0.0636940226, 0.3198058307, -0.0621517375, 0.160403952, -0.6509459615, -0.9277641177, 0.7415806055, -0.0439200997, -0.1275233179, 0.249796465, 0.4476544261, 0.4278230667, 0.2706817985, -0.4984644353, -0.3472329676, -0.3384693861, -0.0634866357, -0.1278487742, 0.067237027, 0.0713557303, -0.0154430391, 0.553689599, -0.1876423806, 0.1588276476, 0.2732900381, 0.0739766881, 0.0466488078, 0.2541232705, 0.4091380537, 0.4835958779, -0.3306591809, -0.2170752138, 0.4217840135, -0.3980161846, 0.0451877229, 0.3339306712, 0.1903707236, -0.1713289618, 0.2376850098, 0.5667899251, -0.2496670336, -0.3663195372, 0.2391030639, 0.4019290507, -0.0116409836, -0.7109028697, 0.379662931, -0.5253686905, 0.6226121783, 0.7090438008, 0.1136359349, 0.3207672536, -0.4105276167, 0.1947398931, 0.4936987162, -0.4178046286, -0.0686851963, 0.4805481434, 0.1737130582, -0.1346246898, 0.5531713367, -0.1100011244, -0.4423924387, 1.0978341103, 0.3530203402, 0.6388679743, -0.379671216, -0.0344927832, 0.0881232396, 0.3653610349, 0.0690600425, 0.2521137595, -0.2108103037, -0.7621120214, -0.1896929741, -0.215511173, -0.383910656, 0.813934505, -0.7900998592, 0.3496026695, -0.4780057669, -0.0106840646, -0.1125997156, -0.0978007093, -0.560844779, 0.3575390279, -0.1309036016, 0.461114198, -1.1326738596, 0.6015499234, 0.1749579757, -0.1077938825, -0.4445603788, 0.0332205892, -0.1189965904, -0.775488019, 0.4827347696, 0.3392807841, -0.117612645, -0.0308207031, -0.0719786584, -0.5769519806, 1.0902980566, 0.0782925338, -0.5260161161, 0.3991270661, 0.1388125718, 0.4767466486, -0.3185985386, -0.1293463707, 0.7064989209, 0.1645792276, -0.2342835665, -0.4068318307, -0.1385228336, -0.2297718823, -0.4421208203, 0.7059551477, -0.683028996, 0.6641839743, -0.1405386627, 0.0486370027, -0.1935781687, 0.8477025032, 0.027109284, 0.9277864695, 0.5571140051, 0.612894237, 0.8547345996, -0.0504446998, 0.6832435131, -0.0045032958, 0.2907625437, 1.1167126894, -0.1759546995, 0.4086230695, 0.1850793511, -0.217284441, 0.500344336, 0.730250597, -0.3554552197, 0.6778542995, -0.1959353983, -0.3822613955, -0.37107566, -0.1373575479, -0.8548036218, 0.3983774781, 0.7430446148, -0.336122334, -0.177593708, -0.08570382, -0.3123234808, -0.0657181144, -0.477974385, 0.4474441111, -0.0697085634, -0.1910681129, 0.6059797406, -0.4870729446, 0.7918373346, -0.4872021377, -0.3426723778, -0.4599713683, 0.3143417239, -0.3896749616, -0.7070543766, 0.4500537813, -0.1806894094, -0.1627132446, -0.0639382079, 0.6531715989, -0.0442355126, -0.4079212248, 0.0013440561, 0.4974679053, 0.1213178039, 0.2296055555, -0.2384467423, -0.2503322363, -0.0267735124, 0.1560102254, 0.2506388724, 0.2692515254, -0.1221499145, 0.7602995634, 0.5711479187, -0.0347828716, -0.1529067606, -0.0492764302, 0.9137935638, -0.4637227654, -0.7659540176, -0.5634505153, 0.4003072977, -0.375934422, -0.0943799242, 0.4742251933, 0.5802109838, 0.7112009525, -0.3161902726, 0.8777313828, 0.3205563724, 1.0507739782, -0.7294651866, 0.5392789245, -0.6507608294, 0.8654167056, 0.0237038638, -0.6186593175, -0.2952787578, 0.1661512852, -0.3025020957, 0.2913625538, 0.4650447071, 0.726765871, -0.5175410509, 0.0266078636, 0.2387898266, 0.2528682947, 0.0880840719, 0.3407683372, 0.8716434836, -0.288050741, 0.6177137494, -0.4693748653, -0.1110470518, -0.4027763307, -1.201233983, -0.9814050794, -0.295235455, -0.3707341552, -0.2311998755, 0.0116950162, 0.8622702956, 0.5072153807, -1.1438236237, 0.109346509, -0.0393283702, -0.1064643338, -0.4374340475, -0.2881585062, 0.6849710345, -0.2758269906, -0.5857634544, 0.6464850307, 0.0292687826, 0.3776325881, -0.2729578912, 0.2881484926, 0.2868083715, -0.4573793411, 0.1436726153, 0.6716761589, -0.2294949144, -0.1561859995, -0.0437775739, 0.5607925057, 0.1505550444, 0.7627096772, -0.9812117219, 0.5947412252, 0.244867757, 0.7160096169, 0.6626495123, 0.0988280624, 0.1994945407, -1.0219012499, 0.5029145479, 0.0445281826, 0.2881014645, 0.459277153, -0.8813652396, 0.4458919466, 0.4535022974, -0.4849479795, -0.9199175835, 0.2320231497, -0.6453015804, -0.0427805968, 0.482726723, -0.083305575, 0.1197508648, -0.5991413593, 0.335264504, 0.3789337575, -0.5317286253, 1.2153862715, 0.0301017221, -0.7642197013, 0.0586228333, -0.3085434437, 0.3384885788, 0.187994957, -0.9249981046, -0.177989617, 0.1571115106, 0.32062307, 0.0998996422, 0.1231297925, 0.1615210176, 0.4109675586, -0.2018492222, -0.4177860022, -0.5048056245, -0.1990640908, -0.6829057336, 0.142371282, -0.265198946, -0.6745129824 ]
http://arxiv.org/abs/2406.12255v1
http://arxiv.org/pdf/2406.12255v1
A Hopfieldian View-based Interpretation for Chain-of-Thought Reasoning
2024-06-18T04:07:13
2024-06-18T04:07:13
Lijie Hu, Liang Liu, Shu Yang, Xin Chen, Hongru Xiao, Mengdi Li, Pan Zhou, Muhammad Asif Ali, Di Wang
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
Chain-of-Thought (CoT) holds a significant place in augmenting the reasoning performance for large language models (LLMs). While some studies focus on improving CoT accuracy through methods like retrieval enhancement, yet a rigorous explanation for why CoT achieves such success remains unclear. In this paper, we analyze CoT methods under two different settings by asking the following questions: (1) For zero-shot CoT, why does prompting the model with "let's think step by step" significantly impact its outputs? (2) For few-shot CoT, why does providing examples before questioning the model could substantially improve its reasoning ability? To answer these questions, we conduct a top-down explainable analysis from the Hopfieldian view and propose a Read-and-Control approach for controlling the accuracy of CoT. Through extensive experiments on seven datasets for three different tasks, we demonstrate that our framework can decipher the inner workings of CoT, provide reasoning error localization, and control to come up with the correct reasoning path.
[ -0.355235219, -0.8748386502, 0.9053951502, -0.118608281, -0.2278492302, 0.3718183637, -0.0925700739, -0.5395563245, 0.1086085588, 0.6272456646, -0.4568687379, -0.3046337366, -0.7098626494, 0.0893854722, -0.2881298959, 0.9873555899, -0.5272952318, -0.4450672865, 0.2103680968, 0.1041355282, -0.6109886765, -0.3922391832, -0.5884346962, -0.213753745, 0.7116615772, 0.3316245675, 1.0301201344, 0.551428318, 0.5326468349, 0.0871973485, -0.5880120993, 0.414600879, -0.5214650035, 0.0522136874, -0.4401396811, -0.9603905082, -0.4849851727, 0.0244686082, 0.3084821403, 0.7179327607, 0.0885391608, 0.0034281206, -0.0664422363, 0.637825489, -1.1856964827, -0.2699420154, -0.585328877, 0.0709798411, 0.1418256164, -0.3203366101, -0.7156490684, -0.2149789631, 0.0555159152, -0.2050647438, 0.0354726836, 0.2853074968, 0.3447775245, -0.0261691995, -0.6651152372, -0.3945758045, -0.8266203403, 0.7161822915, -0.6030670404, 0.358962208, 0.5806247592, 0.0709257945, -0.3991172612, -0.3099512458, -0.7286040187, -0.1073442325, -0.2639145553, 0.1163488254, 0.0661846846, 0.1328126043, 0.4314056039, 0.2943840921, -0.3590520322, -0.3644789755, -0.2550054789, 0.1897813529, 0.5108881593, 0.184642449, -0.0499688759, 0.0430109985, -0.4771347046, 0.0138635449, -0.5872029066, 0.1639464796, -0.0355256163, 0.2676652074, -0.0249998122, 0.490213424, -0.1336562186, 1.0096468925, 0.1049416289, 0.1910499334, -0.2053284049, -0.291017592, -0.5342744589, 0.0046890252, 0.5576674938, 0.1237173676, 0.2270205021, -0.2290729433, -0.02616168, -0.0507736802, 0.599398613, -0.4992406964, 0.1601127684, 0.6231315136, -0.2768653035, -0.613914907, 0.0829743892, -0.4435688257, -0.3806030452, -0.1826082766, 0.3451373577, -0.4173291922, -0.2971721292, 0.2943277657, -0.0523518063, 0.3007108569, 0.5095495582, -0.8069266081, 0.422157526, 0.6950136423, 0.8906117678, -0.2981031239, -0.3879536986, -0.6007061005, 0.2876344919, -1.1806638241, 0.8219391108, -0.4862582684, -0.0950139314, -0.2333644032, -0.3056958914, -0.1965265572, -0.1958964318, -0.1209534407, -0.6381148696, 0.057324864, -0.4419561327, -0.5131394863, -0.0421765707, 0.5263121128, -0.4449676871, 0.6535169482, -0.1811947227, -0.9696355462, 0.5232406855, -0.3604449332, -0.1441511661, -0.1595119238, -0.4250725806, 0.2459682971, 0.3423561156, 0.3037314713, 0.1832568944, -0.2734519541, 0.2004491985, -0.1723997444, -0.5224326849, 0.4096054733, -0.4789182246, 0.8665083051, 0.2657043934, -0.6080254912, 0.1010356322, -0.5313014984, 0.3612958491, -0.1499477327, -0.0275353864, -0.2760053277, 0.051365111, -0.4835670292, 0.2135904878, -0.3132157326, -0.2398873568, 0.3448996842, -0.3354052007, 0.0813963562, 0.5997738242, 0.3145891726, 0.415719837, -0.4255877435, 0.6663484573, 0.176451087, 0.3322605491, -0.0484637953, -0.2715218365, -0.516741991, -0.1084693447, 0.0920304433, 0.3172809184, -0.6304063201, 0.1167272702, 0.2162756473, -0.2825378776, -0.3323863745, -0.0634183362, 0.3365851939, 0.5986590385, 0.3487387598, -0.1899966151, -0.051094491, -0.5433141589, -0.4467322528, -0.3525476754, 0.2333970368, 0.0815606192, 0.4551608264, 0.0483182706, 0.8676787019, -0.3815900981, 0.3000965714, -0.4194712937, 0.1016086116, 0.5547432899, 0.3425887823, 0.037498828, -0.6263573766, -0.1346837878, 0.1152364165, -0.6950296164, 0.1406825483, -0.4647527337, -0.7931346893, 0.0308896266, 0.4717477858, -0.5489997268, 1.0004197359, 0.0792922452, -0.5323998332, 0.6940765381, -0.1580474377, 0.4113348126, -0.6886191964, -0.1595080197, -0.4968675673, -0.3232633471, -0.4564218223, 0.4820393622, 0.0728181005, 0.4070363939, -0.4296573997, 0.0382001251, -0.3012176156, -0.0309059843, -0.4920529425, 0.3751367927, 0.2584634721, 0.3784816265, 0.2411229312, 0.754457891, 0.5091065764, -0.7407504916, 0.1777621508, 0.4675653577, -0.1681257039, 0.3851371706, -0.4181509912, 0.3101938367, -0.2300117314, 0.5386552215, -0.9036456347, 0.0338877663, 0.251703918, -0.2830200493, 0.0078355307, 0.0757345855, -0.147531867, -0.132774055, -0.2707862258, 0.3997732401, 0.1809466928, -0.7656383514, 0.506374836, -0.135180667, 0.2708469331, -0.7842858434, -0.7644042969, -0.1410428584, -0.0591262281, -0.1601067483, 0.1161174923, 0.1286462396, -0.5525826812, -0.1753743887, -0.5301932693, 0.0294201355, -0.1106637418, -0.0354886949, 0.4791389704, 0.0521325804, 0.4553909302, 0.0065192925, -0.0115585662, 0.1487533152, -0.4835401475, 0.4227706492, -0.1866415739, -0.1729287803, -0.3230589926, 0.2980028391, 0.5553169847, -0.2295227051, 0.8643145561, -0.1085083783, -0.2174762338, -0.4624585211, -0.2609620094, 0.1278268397, -0.3590154052, -0.1384097934, -0.568128109, -0.4973085225, 0.3491943777, -0.1650444865, 0.0856816471, 0.3161206543, 0.6126513481, -0.428463906, 0.7524499893, 0.4151318371, 0.1585142761, 0.1729562432, -0.5949656963, 0.3582190573, -1.0664726496, -0.3555097282, -0.3435293138, -0.2934578955, -0.5756514668, -0.5740399361, 0.1249523237, 0.561793983, -0.4884145856, 0.5049443841, -0.3472633064, 0.564432621, 0.2499584109, 0.3364661634, 0.6010146141, -0.3032856286, -0.5486843586, 0.5162326694, -0.7864617705, -0.6895997524, 0.8675858974, 0.1414131671, 1.0735281706, 0.112819016, 0.6813112497, 0.1861213744, -0.0378911197, -0.8361092806, 0.2556192577, 0.3810414672, -0.8630532026, -0.1990173459, -0.3783756793, -0.6025537848, 0.4482060969, -0.2121345103, -1.1166151762, 0.4107958674, 0.4565233886, -0.4279402196, 0.6408392787, -0.4735645652, 0.6692399383, -0.4550925195, -0.6834053993, -0.3677175045, -0.6253734827, 0.2707961202, 0.0546791963, 0.3707502484, 0.4605534077, -0.0735150799, 0.4758091569, -0.6842556596, 0.5923312306, 0.3187886477, -0.2502511144, 0.7189147472, 0.5187153816, 0.6677744985, -0.1020336822, 0.025510909, 0.0320815146, 0.3883915246, -0.4603422284, -0.9316225052, 0.348677814, -0.4751534164, -0.6732419729, -0.6506586671, -0.7113947272, -0.5375230908, 0.0070604361, 0.3145259619, 0.5082892179, 0.2490571588, -0.061193794, 0.3745292723, -0.1961537749, 0.2434363067, -0.0160878692, -0.8646702766, -0.1301575452, 0.284629494, -0.0426642969, 0.8743401766, 0.5615370274, 0.1425394416, -0.1294418126, -0.3898148239, -0.2768102288, 0.1270410568, -0.738719821, 0.0958825648, -0.4782674611, -0.0255023111, -0.1903915107, -0.2708262503, -0.3391783834, -0.3055867553, 0.1847665161, -0.4318061769, 0.2648792565, 0.9094651341, 0.0863244534, 0.3892885149, -0.2595943511, 0.344958216, 0.1186746359, 0.630889833, 0.2789840698, -0.2753994465, -0.1829230785, 0.0186147243, -0.3601672947, -0.901938498, -0.0102906628, -0.4751988649, 0.1374996454, 0.3058253825, 0.025539238, 0.9232079387, -0.34869349, 0.5628114939, 0.1626511961, -1.0481885672, 0.8842273951, 0.0500542894, 0.3333368301, 0.545937717, 0.4890069067, -0.3751920462, -0.50089854, -0.6104663014, -0.5586439967, 0.6478580832, 0.484669894, -0.2777204216, -0.202505216, 0.5110758543, 0.1507004201, -0.0170612596, -0.3279541433, 0.1449455321, 0.2261703014, 0.1285849214, 0.1505576223, -0.0529191084, 0.0239750408, -0.087954469, 0.6307815909, -0.079800874, 0.2145029306, 0.587997973, -0.1240217462, -0.4043597877, 0.3972627819, 0.3271042109, 1.1978924274, -0.4795055985, 0.451836884, 0.250908047, -0.4278015494, 0.1955246329, -0.73471421, -0.1979213208, -0.1400617808, 0.9654756784, 0.9165343046, -0.2656536996, -0.554084003, 0.3324840069, 0.0198290758, -0.0918451473, -0.0834844708, 0.4219752848, -0.1550003886, 0.3890935183, 0.0978637487, 0.2888850868, 0.076883927, -0.8088998795, 0.1370672882, 0.3325735033, -0.5537996888, 0.0724129528, 0.546487391, -0.2352260202, -0.3597726822, 0.508693099, 0.1333937794, -0.4268064797, 0.5572170019, 0.6215328574, 0.6617569327, 0.3663701415, 0.2702305615, 0.1592754871, 0.473634541, -0.0804112479, 0.4370039999, -0.3952200413, -0.887648046, -0.7547158003, -0.302939266, -0.6414961219, 0.1243620813, -1.0261011124, 0.1380742937, -0.5773968697, -0.2121579051, -0.1199421436, -0.1690615416, -0.6207828522, 0.5106752515, 0.0635267422, 1.2733228207, -0.464223057, 0.5621901155, 0.2052730918, -0.5000298023, -1.1340332031, 0.570278585, -0.2161651999, -0.6040420532, 0.4506046772, -0.0374418534, -0.6622824669, -0.1635871828, -0.6831973195, -0.7980342507, 0.9170507789, 0.0214371774, -0.9738750458, -0.1659604013, -0.2903168797, 0.4542038441, -0.5177463293, 0.5768666267, 0.8380108476, 0.028251145, 0.413518846, -0.826253593, -0.0173429325, 0.172497794, 0.0704905614, 0.3248480856, -0.397651732, 0.4909898341, -0.6872109175, 0.1679812372, -0.2899331152, 0.4058910906, 0.4782794714, 0.2512558103, 0.5256454945, 0.2403579652, 0.8010783195, 0.285690248, 1.5749783516, 0.0092062894, 0.4491626918, 1.3108977079, -0.2594524026, 0.9653410912, 0.730872035, -0.4145984352, 0.784153223, 0.4751379192, 0.5990614891, 0.569585681, 0.1608962268, -0.1317584515, -0.3573330343, 0.1980778277, -0.037594948, 0.571552515, 0.2085961848, -0.5432035923, 0.0009732811, -0.1182251349, -0.1087511331, -0.0945528597, -0.5155664086, 0.6046484709, 0.0267400779, -0.759753406, 0.7635719776, -0.478815645, 0.1461358219, -0.3044451773, -0.0661618337, -0.0238500554, 0.2556006908, -0.1066415533, -0.816912353, 0.4056665301, 0.4477247596, -0.0412734076, -0.1022675633, 0.4719899297, -0.1118891835, -0.5674203038, 0.4076197147, 0.67512393, 0.3509051204, 0.1005865932, -0.3780233562, 0.258703649, -0.1472520977, -0.3177289069, -0.2014072388, 0.5043874383, -0.4490376711, 0.4761489034, 0.3351840079, 0.592143774, -0.1182558164, 0.0751151964, 0.7190942764, -0.9661880136, -0.4569323957, -1.020123601, 0.3829475939, -0.0976717249, -0.3369093239, 0.0728259236, 0.2922644019, 0.982670784, 0.2034005374, 0.8341709971, -0.2720262408, 0.4202948511, -0.5990472436, 0.5308737159, -0.3500894904, 0.2803411186, -0.3855268657, -0.7133352757, -0.2513434589, 0.9536400437, -0.6796684861, 0.0556738935, 1.3030616045, 0.4934760928, 0.0832364559, 0.2741603851, 0.4571362734, 0.5724827647, 0.4008930027, 0.6494221091, 0.9509444833, -0.4415217936, 0.2973087132, -0.2794876099, -0.5430324078, 0.365209341, -1.0111774206, -0.8448019028, -0.2027368397, -0.2898436785, -0.4891983271, 0.0937712863, 1.0989795923, 0.5167009234, -0.9977734089, -0.3397535384, -0.6681999564, 0.209409669, -0.5953543782, -0.1196270436, 0.4521877468, -0.6043852568, -0.326507628, 0.1279581785, 0.4806075692, -0.3979487717, 0.0860580504, 0.0100383041, -0.5782415271, 0.3618140519, 0.5985050797, -0.2067896724, -0.9580594897, -0.4236737192, 0.0085941581, -0.0326658338, 0.0078479126, 0.9344234467, -1.04243958, 0.8242849112, 0.2985923588, 0.4973424673, 0.6793972254, 0.2279679626, 0.6491453648, -0.1270019114, -0.0827109069, 0.1578142345, 0.2071930468, -0.1535551995, -0.5691615939, 0.6401908398, -0.0037444767, -0.445340246, -0.5029118657, 0.3580261767, -0.9051018953, -0.4061620831, 0.9368315935, -0.1068840474, -0.3423279524, 0.0704116002, -0.5077931285, 0.4172193706, 0.1073507965, 0.8088726997, 0.8603061438, -0.7400792837, -0.291405797, -0.4091667831, 0.3380616307, 0.2086639702, -0.7520649433, 0.2824062109, 0.3691212535, 0.1082485467, 0.1302838475, 0.7540978193, -0.1163791865, 0.2536220849, 0.0381115824, -0.3432011008, 0.13042216, -0.6000378132, -0.1712797433, -0.0105332052, 0.1342584193, -0.2371123284 ]
http://arxiv.org/abs/2406.12252v1
http://arxiv.org/pdf/2406.12252v1
Language and Multimodal Models in Sports: A Survey of Datasets and Applications
2024-06-18T03:59:26
2024-06-18T03:59:26
Haotian Xia, Zhengbang Yang, Yun Zhao, Yuqing Wang, Jingxi Li, Rhys Tracy, Zhuangdi Zhu, Yuan-fang Wang, Hanjie Chen, Weining Shen
cs.CL
cs.CL
Recent integration of Natural Language Processing (NLP) and multimodal models has advanced the field of sports analytics. This survey presents a comprehensive review of the datasets and applications driving these innovations post-2020. We overviewed and categorized datasets into three primary types: language-based, multimodal, and convertible datasets. Language-based and multimodal datasets are for tasks involving text or multimodality (e.g., text, video, audio), respectively. Convertible datasets, initially single-modal (video), can be enriched with additional annotations, such as explanations of actions and video descriptions, to become multimodal, offering future potential for richer and more diverse applications. Our study highlights the contributions of these datasets to various applications, from improving fan experiences to supporting tactical analysis and medical diagnostics. We also discuss the challenges and future directions in dataset development, emphasizing the need for diverse, high-quality data to support real-time processing and personalized user experiences. This survey provides a foundational resource for researchers and practitioners aiming to leverage NLP and multimodal models in sports, offering insights into current trends and future opportunities in the field.
[ -0.3095016181, -0.5919795036, 0.124259159, 0.3532368243, 0.1461047977, 0.3697567284, -0.1530007273, -0.7464552522, 0.2908690572, 0.148239553, -1.0006738901, -0.4948500693, -0.5159561634, -0.080743134, -0.3481084406, 0.9763317704, -0.2061000317, 0.2949729562, -0.4980868399, -0.5526745915, -0.7547132373, -0.8989105225, -0.5350464582, -0.2946562171, 0.1705639809, 0.0469084308, 0.5174705982, 0.421153605, 0.9453388453, 0.2927432358, 0.344004333, 0.256452471, -0.3469148874, 0.6438024044, 0.0256822091, -0.1208434179, -0.7331941724, 0.2298228145, 0.6707196236, 0.9821821451, 0.0015717819, 0.177837044, -0.3248445392, 0.5214354992, -0.5600733161, 0.4298223555, -0.0545075871, 0.2537201047, -0.262916863, -0.5044752955, 0.0365302153, -0.1867447346, -0.0042522508, -0.620415926, 0.2569822073, 0.0556485057, 0.2055747509, 0.1032902226, -0.5771026015, -0.3472524881, -0.9709042311, 0.9933019876, -0.5620943308, 0.8663227558, 0.2896071374, 0.5208127499, 0.0751849115, -0.2491931468, -0.224881053, -0.0806655213, 0.0715188012, 0.3555354774, -0.1438574195, 0.0185282417, 0.1194037125, 0.1044141576, -0.7090443969, 0.1344070137, -0.2275636494, 0.1333248019, 1.0270223618, 0.6550140381, 0.3641862571, 0.2334014922, -0.0927221105, -0.1006831303, -0.3757157624, 0.1677701175, 0.2440965921, 0.3116680384, -0.2341696769, 0.7016277313, -0.6672766209, 0.8162183166, -0.5167085528, -0.4451616704, 0.3726359308, -0.7105223536, -0.1186160669, -0.0547005981, 0.6749280095, 0.7019765973, 0.126123637, -0.4979157448, 0.004445245, 0.0048873327, -0.2909400463, -0.562728703, -0.2095975578, 0.3680261672, -0.6639233828, -0.246686846, 0.0761218593, -0.975481689, -0.5083745122, -0.6107308269, 0.0263612196, -0.3098032176, -0.2919295728, 0.4122387767, -0.4128651023, 0.2594747841, 0.1413044333, -0.8245389462, 0.4782890081, 0.4624018073, 0.5686684847, -0.0872288421, -0.2555628419, -0.3427383006, 0.2452856004, -0.3129447997, 0.9770543575, -0.7250496745, -0.1081687883, 0.6096518636, -0.1535543501, -0.0603744313, -0.3554970622, 0.3165237904, -0.3118561804, 0.2323456705, -0.0540805422, -0.4858644009, -0.4002211094, 0.5133854151, -0.9140284061, 0.9240070581, -0.1554976702, -0.4674713016, 0.7280513644, -1.0973827839, -0.6234163046, -0.207127437, -0.0548232868, -0.3574851751, 0.1140455902, 0.2945894897, 0.6285315752, -0.4592719376, 0.1513618976, -0.7149674296, -0.0856891274, 0.4224515557, -0.4117055535, 0.5335361362, 0.1113194749, 0.2744801044, -0.1417563707, -0.7483543158, -0.0296381488, -0.065945372, -0.2254446447, 0.0311929695, 0.5464923382, 0.4069966078, 0.4850693643, 0.0470160395, -0.4569240808, 0.1760611087, 0.0656343997, 0.1697430611, 0.3346212506, -0.0606516115, 0.4740563333, -0.1577610672, 0.8537161946, 0.0538784899, 0.3580752015, -0.2483636439, -0.5109469295, -0.075945504, -0.1046600044, 0.157531485, 0.5585566759, -0.7595849037, 0.0058396268, -0.5685812831, -0.605522573, -0.2577506304, 0.1178278923, -0.1299783587, 0.3967131078, 0.2629619539, 0.1726506352, -0.7965237498, -0.7389093637, -0.3506008089, -0.1811082214, 0.3891929686, 0.3433087766, 0.376948446, 0.0821017474, 0.8413951397, -0.65323174, -0.2725853026, -0.5403417349, 0.1491381973, 0.2113126367, 0.5411374569, 1.0842411518, -1.0637003183, -0.4963895679, -0.0246582981, -1.1078544855, -0.0176124796, -0.0270261131, 0.292434305, -0.1429452002, 0.1764407903, -0.290019989, 0.3861069977, 1.0318208933, -0.5428160429, 0.5491667986, 0.0207137633, 0.7543788552, -0.7122173309, 0.2687308192, 0.1377667785, -0.237731263, -0.9431602359, -0.3219813406, -0.4567410648, -0.1358081549, -0.4001937211, 0.6277859211, -0.4604982138, -0.2418638021, -0.391305685, -0.2924647629, 0.086397104, 0.1018643528, 0.397375226, 0.558303535, 0.6397593021, -0.6748325229, 0.8264513612, 0.386045903, -0.3862533271, 0.4694545567, -0.3405994773, -0.2736217976, -0.4179250598, 0.2929629087, -0.795422852, -0.5541900396, 0.3640973866, -0.2280725539, 0.150707677, 0.0289811715, -0.4697853923, -0.4325845838, -0.4361728132, 0.831425488, -0.0423451141, -0.0539491437, 0.6132923365, 0.664894402, -0.2349848449, -0.4335220754, -0.6928961277, 0.1756237, -0.2131476104, -0.3825435936, 0.1514632106, -0.3845734, -0.1947792917, -0.0063646748, 0.1176444441, -0.7516036034, 0.1522230059, 0.0022074864, 0.4013476372, -0.2498262078, 0.1831036955, -0.3003341258, 0.1552947164, -0.2350376397, 0.1020234451, 0.3682441413, 0.1435531676, -0.043521408, -0.5384587049, 0.8679814935, 0.2382885665, -0.165008679, 0.7578774095, 0.5388473868, -0.1802308261, 0.1318916827, -0.3756519556, -0.1128341779, -0.3339727521, 0.5290417075, -0.2504401207, -0.8000603318, 0.4658665955, 0.0740616471, 0.1502892226, 0.219638899, 0.5399779081, -0.6244108677, 1.3295769691, 0.3100759089, -0.1649528593, 0.5459648967, -0.1750843525, 0.0649039, -0.424793601, -0.423430264, -0.5999237299, -0.5945965052, -0.4352026284, -0.1196591109, 0.1453047991, -0.3109178841, -0.0172361489, 0.3391534388, -0.132258907, 0.6266155839, 0.1841517091, -0.0594150797, 0.3015563488, -0.2623589933, 0.7720745802, -0.4474417567, -0.8417564631, 0.0613104776, 0.9928774834, 0.2499354184, 0.7260544896, 0.4114950895, 0.2805417776, 0.5872074366, 0.2013103366, -0.8509668112, 0.1939161122, -0.4075762033, -1.2364127636, -0.1784021407, -0.2905605435, -0.7211672664, 0.0125776017, -0.4488785267, -0.3284145296, 0.3703142405, 0.1724046916, -0.2262291461, 0.3362387419, -0.5471737385, 0.4803397655, -0.2769360244, -0.3168475628, 0.2791777253, -0.2617280483, 0.6353520155, -0.0488141887, 0.5302992463, -0.4131217897, -0.1349122375, 0.9840456247, 0.0328017734, 0.6636096835, -0.2042219341, 0.0493485294, 0.1726969182, -0.0433307812, 0.0000985311, -0.0160848629, -0.1658289284, 0.1587096155, 0.3142411411, -0.4502593577, -0.6817547083, 0.4376614392, -0.353451699, -0.1450635344, -0.5774227381, -0.6230852604, -0.7398517132, 0.0003067603, -0.2065285295, 0.7218310833, -0.2761523128, 0.5736737251, 0.2804272473, -0.0149987601, 0.7895653248, 0.4235466421, -0.3045107424, -0.3620660603, 0.8615991473, 0.2792291939, -0.2788821161, 0.4092290103, 0.0090917116, -0.6360768676, -0.7696384788, 0.0361832418, 0.0570060648, -0.4668852389, -0.3823541701, -0.1640430242, 0.0867305472, -0.7208132148, 0.2058238536, -0.4432037175, -0.4487041235, 0.0172661189, -0.1977080405, 0.4034819901, 0.8317707777, -0.1825822145, 0.3854061663, -0.825006485, 0.4653080702, -0.0680371672, 0.8299018145, -0.2726479769, -0.1824240386, -0.4143183529, 0.0644061491, 0.0524286926, -0.8108845353, 0.4877821505, 0.4401933551, 0.6188014746, 0.408867538, -0.414373517, 0.6073002815, -0.6024383307, 1.055003643, 0.3932180405, -0.3609957099, 0.2932211757, -0.7091748714, -0.023370998, 0.7779717445, 0.4837771058, -0.8829170465, 0.4333170652, -0.1638673693, -0.4061607718, 0.8622679114, -0.0507826172, 0.1617766917, 0.1326253116, 0.0875676423, 0.2782912552, 0.4617955685, -0.402684778, -0.2103871852, -0.3189041913, -0.3018494844, -0.37989977, 0.2374800295, -0.0929901525, -0.2999511361, 0.5003232956, -0.2005961388, 0.2272908092, -0.2960606515, -0.0015461959, 0.2404239029, -0.0825031772, 0.6767688394, 0.6791702509, -0.3327145875, -0.2653264701, -0.0938703343, -0.378262639, 0.147940442, 0.0063722739, -0.00910623, 0.1586284637, 0.6682066917, 0.6606040001, 0.4324809611, -0.7678055763, 0.4774652421, 0.1221714541, -0.4336738586, -0.0508501567, -0.3888404071, -0.1425058693, 0.1448208839, 0.1126060262, 0.1040121689, 0.5500179529, -0.7211800218, 0.0650995597, 0.4407049417, -0.361648798, -0.5937372446, 0.8163301349, 0.2122088075, 0.0584244989, 0.2777710855, 0.4871679246, -0.1522480994, 0.1727767885, 0.2868468761, 0.5558545589, -0.0515352301, 0.4230481088, 0.0591380112, -0.2220837325, 0.023682978, 0.3453249037, 0.0330775157, -0.7938507795, -0.6001102924, -0.5101267695, -0.3428687751, 0.0268999599, -0.5714324117, -0.0369962268, -0.0758712962, -0.5135020614, 0.2808552384, -0.0833554715, -1.151001215, 0.5195708275, 0.5356627703, 0.9318929911, -1.0009280443, 0.6241109371, 0.8574047089, -0.8359356523, -0.1092276797, -0.4966561198, 0.1284878403, -0.426043421, 0.9099015594, -0.410649538, 0.1911515445, -0.2141644359, -0.459418118, -0.3733644485, 0.8424441814, 0.0404221714, 0.0380650833, -0.3277638555, 0.6737928391, 0.2194615155, -0.3211923242, 0.277683109, 0.7338413, 0.5197789073, -0.0380234495, -0.7171618342, -0.6088162661, -0.1452591121, -0.0833067819, 0.0159791224, -0.7477397919, 0.5269508362, 0.4576978683, 0.2097869515, -0.1375685334, 0.5714953542, 0.1020630971, 0.2846099436, 0.1073055044, 0.278268218, 0.3521199226, -0.2221244723, 1.0885182619, -0.0660021827, 0.3456206322, 0.8728917241, -0.5588098764, 0.5733758807, 0.4160865545, -0.3122948706, 0.241697073, 0.3417681456, -0.1075609922, 0.4327677786, -0.2737194002, -0.3551933467, -0.4330120087, -0.2501653731, -0.3122887313, 0.9522312284, 0.2225884944, -0.1659327447, -0.5378303528, 0.3682925403, -0.0155246165, -0.0231189728, -0.2184314579, 0.963589251, -0.4009970427, -0.4521282911, -0.2344990224, -0.0889867246, 0.6042268872, -0.8542404175, -0.2181990594, -0.117493473, 0.0636612549, -0.0714056939, -1.1301953793, 0.34710747, -0.0309093371, -0.42118752, -0.5544983149, 0.8037421703, -0.3201542199, -0.5531369448, 0.0155683672, 0.5843384266, 0.1725494266, -0.0036734189, -0.7514987588, 0.2486903369, -0.2813687921, -0.2115451247, 0.2024560124, 0.1707309783, 0.0558494851, 0.6302450299, 0.5815166235, 0.3352620006, 0.4453422427, 0.1361910105, 0.5663970113, -0.6782690883, -0.2324523628, -0.5819352269, 0.5390631557, -0.1827239692, -0.3498725891, 0.7634232044, 1.0605410337, 0.4411836863, -0.4061786532, 0.9662263989, -0.0864069611, 0.6372910142, -0.5181804895, 0.6828730106, -0.4901135862, -0.2913868427, 0.0416441709, -0.6187558174, -0.7381045222, 0.1513523906, -0.1347526461, 0.0251214243, 0.2019835562, 0.102650322, -0.082154125, 0.2614748776, 0.3371226192, -0.2780179381, 0.5893506408, 0.1721578985, 0.648409307, -0.6889150739, 0.3716731966, -0.2251721323, -0.2333644927, -0.4804571569, -0.7759509683, -0.7934293747, -0.6889584064, -0.378467679, -0.0511034988, 0.1021180153, 0.851931572, 0.8086903691, -1.0804260969, -0.4296728373, 0.4518314898, -0.4679768682, -0.4308809042, -0.1725617051, 0.1917250305, -0.397764504, -0.9455880523, 0.5229583979, 0.1507732421, -0.0388673246, -0.1286408603, 0.0061555402, -0.4889152944, 0.0107101267, 0.96167624, 0.7671521306, -0.3872438371, -0.1724956483, 0.3056940138, 0.2772580385, 0.1077486277, 0.9846824408, -0.7943993807, 0.5847379565, 0.8545432091, 0.5003359914, 0.2987134755, 0.0716324821, 0.69604671, -0.6705443859, 0.2013924867, 0.4979348183, 0.1761974096, 0.0534426793, 0.2409323305, 0.5222008228, 0.5672902465, -0.1516906619, -0.7557279468, -0.0161505882, -0.9531484246, -0.1883323938, 1.0072811842, 0.4332146943, -0.1080165282, -0.3250254393, -0.0088476958, 0.0896206126, -0.1585109532, 0.3902681768, 1.1552292109, -0.6247417331, 0.0857988372, -0.9369046688, 0.7508362532, -0.1791387349, -0.8843337893, 0.268229723, 0.6897761226, -0.0679062456, -0.2607890964, 0.5674057603, -0.0512980409, 0.1863776892, 0.0426025204, 0.0058336551, -0.2747891843, -0.4948151708, -0.0876257718, 0.304340601, -0.4383894205, -0.2330123186 ]
http://arxiv.org/abs/2406.12251v1
http://arxiv.org/pdf/2406.12251v1
Mitigate Negative Transfer with Similarity Heuristic Lifelong Prompt Tuning
2024-06-18T03:57:49
2024-06-18T03:57:49
Chenyuan Wu, Gangwei Jiang, Defu Lian
cs.CL
cs.CL, cs.AI, cs.LG
Lifelong prompt tuning has significantly advanced parameter-efficient lifelong learning with its efficiency and minimal storage demands on various tasks. Our empirical studies, however, highlights certain transferability constraints in the current methodologies: a universal algorithm that guarantees consistent positive transfer across all tasks is currently unattainable, especially when dealing dissimilar tasks that may engender negative transfer. Identifying the misalignment between algorithm selection and task specificity as the primary cause of negative transfer, we present the Similarity Heuristic Lifelong Prompt Tuning (SHLPT) framework. This innovative strategy partitions tasks into two distinct subsets by harnessing a learnable similarity metric, thereby facilitating fruitful transfer from tasks regardless of their similarity or dissimilarity. Additionally, SHLPT incorporates a parameter pool to combat catastrophic forgetting effectively. Our experiments shows that SHLPT outperforms state-of-the-art techniques in lifelong learning benchmarks and demonstrates robustness against negative transfer in diverse task sequences.
[ -0.3021096587, -0.508587122, 0.4386049807, 0.2610283494, -0.3303849697, 0.0867168978, 0.0143698491, -0.3593972921, 0.1445457935, 0.2271805853, -0.9934595227, -0.1391461939, -0.471457094, -0.21892263, -0.1520896256, 0.9523112178, -0.0080247344, -0.1580293924, -0.2441104949, -0.3880898952, -0.9327545762, -0.3281040788, -1.0037240982, -0.5274107456, 0.7100467682, 0.5948158503, 0.2289837599, 0.44219625, 0.6488287449, 0.1500580758, 0.2946569622, -0.1797890663, -0.7353601456, 0.3372423053, -0.6297185421, -0.2587834299, 0.0802368, -0.1762336195, 0.4984294772, 0.4729356766, -0.0238354802, 0.4405671656, 0.2779857516, 0.8397507668, -0.8080598116, -0.069047153, -0.7511383295, 0.2400784045, -0.3737538159, -0.4892123938, -0.2300453484, -0.6165828705, 0.0460392907, -0.5806859136, 0.2596720457, 0.0526310131, 0.6381291151, 0.481898874, -0.2585153878, -0.0653522611, -0.5712415576, 0.7619969845, -0.5395685434, 0.1885534823, 0.2582068443, 0.4839279354, 0.1939353645, -0.0815898031, -0.3158145845, -0.3673647344, 0.2807982266, 0.1678745747, 0.2417278141, -0.0733860582, 0.1807358712, 0.0486526005, -0.6778571606, 0.2045384645, -0.4369462729, -0.4677378237, 0.2521717548, 0.2304012924, 0.316647172, 0.1070958003, -0.5749263763, 0.0793105513, -0.8521152139, -0.1015236229, 0.0785033479, 0.371779263, 0.0860571116, 0.225928545, -0.0608450845, 0.5518023968, 0.1739200354, 0.0141968196, 0.069024682, -0.3361585736, 0.2093446255, -0.0001541443, 0.4033173919, 0.4972885251, 0.2737114131, -0.4409340024, -0.0482302867, 0.1377040893, 0.448939532, -0.6090943813, -0.2505038679, -0.2957192957, -0.3335929513, -0.1378353536, -0.0886780545, -0.7601582408, -0.3543058038, -0.4478042424, 0.8990975618, -0.5762752891, 0.1317489594, -0.0779357329, -0.150159359, 0.2326038629, 0.2061958462, -0.870908916, 0.1602375656, 0.8318423629, 0.9454294443, -0.6493621469, -0.714618206, -0.9462328553, 0.3355583251, -0.0239921287, 0.8178287148, -0.4017212689, -0.1836761087, -0.249816373, -0.0597727112, -0.4507434666, -0.5971140265, 0.438798219, -0.4931082428, 0.1467017978, -0.7443887591, -0.6138345003, -0.1723662615, 0.2195312977, -0.4722995162, 0.793857038, 0.3288577795, -0.5282304883, 0.4160982668, -0.5284266472, -0.7500007153, 0.1176929548, 0.2344061285, -0.6016563177, 0.1544328779, -0.317687571, 0.2708913386, -0.2433771342, 0.0440427735, -0.7121090293, -0.8557347059, -0.1681045443, -0.3796985745, 0.7359492183, 0.2086773813, -0.522546351, 0.098080501, -0.5325478315, -0.179847151, -0.2090948969, -0.0201249998, -0.4514817894, -0.3684194088, -0.1449556351, 0.4699951708, 0.3936039507, -0.5024735928, 0.2832749486, 0.0497768782, 0.5775683522, 1.0182875395, 0.3545711339, 0.5510669351, -0.8551296592, 0.5539628863, -0.004241392, 0.2636030018, 0.0054365587, -0.22199139, -0.4725365639, -0.0662647039, -0.176687181, 0.9396758676, -0.4328742325, 0.4963469505, -0.0487479195, -0.370490849, -0.274181515, 0.2120667696, 0.2608509362, 1.1268396378, 0.5779708624, -0.4555963874, -0.4307583272, -0.7741910815, -0.4047737718, -0.0126562566, 0.2249540538, 0.2178082317, 0.4007959068, -0.1368049383, 0.5575459003, -0.416374594, -0.5361919999, 0.1667257696, 0.0330921784, 0.3297052681, 0.8765306473, 0.4993581474, -0.6029397249, -0.705354929, -0.2366259992, -0.5485653281, -0.0615771897, -0.8736056685, -0.3081169724, 0.0118663916, 0.5717115402, -0.8096499443, 0.1712122709, 0.1581175923, -0.4890387952, 0.716103971, -0.3142569661, 0.2941809595, -1.0037887096, 0.4142640829, -0.1793201864, -0.248343572, -0.1318057925, 0.1817564964, 0.2437341958, -0.0401793495, -0.414878279, 0.7689329982, 0.0059659691, 0.098164767, -0.1403086782, -0.1735696197, -0.2369133383, 0.6061924696, -0.4077107906, 1.0097023249, 0.6426613331, -0.6542791724, 0.3674534857, 0.304566294, 0.1094145998, 1.2907155752, -0.5280122757, -0.0138265174, -0.0793734416, 0.2677449286, -0.8890131116, 0.2784597576, 0.4757314026, -0.2193414867, 0.2269451171, -0.0405849703, -0.0696338564, -0.4115816057, -0.4329707026, 0.4033588767, 1.0202125311, -0.4205890894, 0.2202622294, -0.3987463713, -0.3424377441, -0.543451488, -0.4300353527, 0.081310913, -0.6950585842, -0.1814691722, 0.6019249558, -0.461014092, 0.3358267546, 0.0416435935, -0.5073296428, -0.0745868385, 0.3334666491, 0.3119141161, 0.2419615388, -0.2153179497, 0.1408162862, 0.2032131255, -0.4206759632, -0.1020674482, -0.6507400274, 0.4008738399, 0.131929636, -0.6582565904, -0.7917051315, 0.2932107747, 0.7067602277, 0.0919125453, 0.6955638528, 1.0177083015, -0.0566663295, -0.0765609369, -0.696054101, -0.457804352, -0.4728735089, 0.1292294115, -0.2981636226, -0.9354375005, 0.6683399677, -0.1670109183, 0.1711735874, 0.3271102309, 0.2470881194, -0.5359752774, 0.3957242072, 0.6129747629, -0.4283432961, 0.8086319566, 0.1256088018, -0.0633053258, -0.659244597, 0.0501013026, -0.5100189447, -0.550870955, -0.1819082201, -0.1429486126, 0.1403719783, 0.2639225423, -0.8159760237, 0.5668244958, -0.3914047778, 0.6560764313, 0.7860313058, 0.2132969052, 0.1494463235, -0.013307536, -0.0689352304, -0.2712322772, -0.467209518, 0.0994103402, 0.7976150513, -0.0144534996, 0.5417517424, -0.0511606, 1.1490315199, 0.8075606227, 0.2527293265, -0.3638970852, 0.4797572196, -0.3833209276, -0.326782763, -0.479049623, -0.5884325504, -0.6616954207, -0.034132272, 0.0390030853, -0.7924160957, 0.058848951, 0.5030889511, -0.4205359221, 0.3465839922, -0.563924849, 0.7476692796, 0.0680567771, -0.6737260222, -0.5219699144, -0.7936823368, 0.015742423, -0.350939244, -0.1547966003, -0.2244855165, 0.009304435, 0.5150886178, -0.0977112353, 0.780161798, -0.6166748405, -0.0517824851, 0.0086140409, 0.3467572033, 0.7137436867, 0.0545037873, -0.1934732497, -0.0835703835, -0.0359335877, -0.877548337, -0.5851554871, 0.8438051343, -0.5148797631, -0.5744857192, -0.0433848388, -0.5018317699, -0.2580043077, 0.5396924019, 0.4940964282, 0.2365741134, -0.0312869661, -0.1881710291, 0.8588837385, 0.0589595065, 0.3609745204, 0.4067985415, 0.4823844731, -0.1607185006, 1.5509928465, 0.0089959372, 0.3085084856, 0.6097736955, 0.2808936536, -0.3061319888, -0.5026160479, -0.3567015529, 0.2847613692, -0.5776745081, -0.3261831701, -0.2343924642, -0.1258044392, -0.2100691795, -0.7714450359, -0.3601699173, -0.4677511156, -0.4679902792, 0.0722321123, 0.2060929537, 0.3213703334, -0.4550016224, 0.1524625868, -0.9405001998, 0.6143305302, 0.7353506088, 0.4676555097, 0.1366517991, -0.7466939688, 0.1488146931, -0.0821672976, -0.4159545302, -0.7196208239, 0.1713921726, 0.5403959751, 0.6861096025, 0.2506387234, 0.2383943647, 0.8213921785, -0.4540723562, 0.5914225578, 0.3786171079, -1.0215373039, 0.2649386227, -0.4538995922, 0.6620915532, 1.2249852419, 0.4669003487, -0.7550242543, -0.1709361523, -0.3955122232, -0.8423137069, 0.3474170268, -0.2536255419, 0.1309432834, 0.2620542347, 0.5583797693, 0.7106190324, 0.0545940772, -0.5177803636, -0.0484380908, -0.1487199962, -0.1604702175, -0.1280517876, 0.1403800696, 0.0328261219, -0.1618629098, 0.7274692655, -0.1675391644, 0.3312557042, 0.0572995767, -0.3638722003, -0.2578774393, 0.2758460045, 0.5748831034, 0.5199747682, -0.3176935911, 0.1699243337, 0.3103325963, -0.4107603729, 0.5582320094, -0.0118091824, -0.3580440283, -0.4287112653, 0.3881172836, 0.5667199492, 0.4016075432, -0.368414849, 0.3354431987, 0.1941589117, -0.1997702718, -0.1921380311, 0.2938517034, 0.1791914254, 0.28241992, 0.4320944548, 0.7573316097, 0.1478128135, -0.2072500139, 0.5449515581, 0.2753300369, -0.7953350544, -0.3781662583, 0.56340307, 0.3160600066, -0.5166860819, 1.046672821, -0.33193174, -0.479529649, 0.6018038392, 0.7062697411, 0.9028481245, -0.2218631506, 0.3949601352, 0.5269816518, 0.0909239873, -0.2890917063, 0.2379392534, -0.6424406767, -0.3643084466, -0.3496384621, -0.331020534, -0.2606473565, -0.1357154101, -0.9018544555, -0.0270854328, -0.4102109969, 0.1292159408, -0.4888493121, -0.1480495781, -0.7184167504, -0.2559974194, 0.1173089296, 0.9075546861, -1.0377633572, 0.7170965672, 0.4123244882, -0.1258343607, -0.2371149212, 0.1009553, 0.0742999837, -0.8762745261, 0.3944473267, 0.3220961392, -0.101671204, 0.152244553, -0.1213562191, -0.8501288295, 1.1321380138, 0.3947670758, -0.8695597649, -0.2786560357, -0.1885053366, 0.2291894406, 0.1560013741, -0.2217005938, 0.5109097958, 0.5840175152, 0.2255494595, -0.905483067, 0.4236278236, 0.0243665837, -0.2173323482, 0.3908843696, -0.748480916, 0.5581815243, -0.5570275784, -0.2651233375, 0.2435248792, 0.3048518598, 0.4283453822, 0.3891080916, 0.3997229934, 0.6933859587, 0.6767580509, 0.2608147264, 0.5185946822, -0.2949183881, 0.4082232416, 1.1281993389, -0.4519259632, 0.5351809859, 0.7132546902, -0.1494974643, 0.1361120045, 0.5935437083, -0.1689628214, 0.9019691348, 0.2379503697, -0.1895060092, -0.3646171093, -0.0687372759, -0.5199918151, -0.1013692841, 0.1627777666, 0.0674163848, -0.4976314902, 0.2056755424, -0.2457354069, 0.0519365557, -0.3238657713, 0.8007965684, 0.1531602442, -0.8215992451, 0.6048392057, -0.6202282906, 1.0665341616, -0.6501198411, -0.1985931993, -0.3825478852, 0.1613789499, -0.102905646, -0.4011566043, 0.4958440363, -0.7849344015, -0.1722531021, -0.4500910342, 0.7100211382, -0.166955322, -0.086833328, 0.1132545769, 0.4469192326, -0.3186936378, -0.0095549161, -1.0104718208, -0.1251558065, 0.2050523162, 0.0413892306, 0.5790611506, 0.1908910871, -0.1331914812, 0.9304190874, 0.5042168498, 0.3059360683, -0.0401164144, -0.1109599024, 0.6009938121, -0.9046524763, -0.8414354324, -0.8668779731, 0.1201506853, 0.174851954, -0.4781598151, 0.6679495573, 0.2111345083, 0.6066094041, -0.2576621175, 0.6400699615, 0.0037649742, 0.3758403659, -0.4224795699, 0.636619091, -0.2981697023, 0.1700237989, -0.3197972775, -1.2320774794, -0.294980377, 0.4671173692, -0.2598626018, -0.0620249622, 0.6905055046, 0.6039461493, -0.2338349819, -0.0577536598, 0.3091093898, -0.0949491337, 0.300832063, 1.1138421297, 0.8320209384, -0.1106028035, 0.3204650879, -0.2323277742, -0.1469894797, -0.366794765, -1.0457475185, -0.5547544956, -0.7622475028, -0.4672749639, -0.1276760399, 0.6048400998, 0.8829578161, 1.0337405205, -0.8361757994, 0.0188335385, -0.4927249849, 0.1475481838, -0.6679276824, -0.259993732, 0.4386268556, -0.4249509871, -0.0185073093, 0.1953786016, 0.2733044922, 0.0017963548, -0.1065729782, -0.0809404179, 0.1557390988, -0.088565737, 0.4252752364, 0.7555905581, -0.3218799531, -0.4583957791, -0.1897400767, -0.0487706549, 0.0065111634, 1.0928964615, -0.8878572583, -0.0219219197, 0.5192085505, 0.9874813557, 0.2964638472, -0.0521229059, 0.365880549, -0.4440541565, 0.0082674911, 0.5589616895, -0.0368206799, 0.1768155694, -0.6356859803, 0.1960399598, 0.3723450899, -0.6656592488, -0.5695699453, 0.3552311659, -0.9879475236, -0.4587406218, 0.7064295411, -0.1685089767, 0.0029296295, -0.2353444099, -0.163784951, 0.0545147769, -0.6176226735, 1.1738532782, 0.3983890712, -0.3518257737, -0.2081607282, -0.2452791482, 0.3726532757, 0.7174317837, -0.7041819692, -0.0605465025, 0.2940416634, 0.7278572917, -0.1104118079, 0.6462496519, 0.1012462452, 0.6968281865, -0.1239238456, -0.3023456335, -0.2094863504, -0.4212904572, -0.4544868171, 0.4584865272, 0.0180072747, -0.038059514 ]
http://arxiv.org/abs/2406.12246v2
http://arxiv.org/pdf/2406.12246v2
TroL: Traversal of Layers for Large Language and Vision Models
2024-06-18T03:42:00
2024-06-19T21:40:03
Byung-Kwan Lee, Sangyun Chung, Chae Won Kim, Beomchan Park, Yong Man Ro
cs.LG
cs.LG, cs.CL, cs.CV
Large language and vision models (LLVMs) have been driven by the generalization power of large language models (LLMs) and the advent of visual instruction tuning. Along with scaling them up directly, these models enable LLVMs to showcase powerful vision language (VL) performances by covering diverse tasks via natural language instructions. However, existing open-source LLVMs that perform comparably to closed-source LLVMs such as GPT-4V are often considered too large (e.g., 26B, 34B, and 110B parameters), having a larger number of layers. These large models demand costly, high-end resources for both training and inference. To address this issue, we present a new efficient LLVM family with 1.8B, 3.8B, and 7B LLM model sizes, Traversal of Layers (TroL), which enables the reuse of layers in a token-wise manner. This layer traversing technique simulates the effect of looking back and retracing the answering stream while increasing the number of forward propagation layers without physically adding more layers. We demonstrate that TroL employs a simple layer traversing approach yet efficiently outperforms the open-source LLVMs with larger model sizes and rivals the performances of the closed-source LLVMs with substantial sizes.
[ -0.3066098392, -0.4846278131, 0.5717635155, 0.2414258569, -0.5600465536, 0.3584406078, 0.0044260141, -0.7658684254, -0.1602646261, 0.9609463811, -0.4127394855, -0.6134708524, -0.4131507874, -0.3424304724, -0.3561069965, 0.5716854334, 0.0854106247, -0.2013381869, -0.0954649895, -0.1010175422, -0.1836687475, -0.2410086393, -0.6974309087, -0.2618617117, 0.8520339131, 0.2759984136, 0.6259545088, 0.832901001, 0.6252545714, 0.3481354415, -0.1680058688, 0.4142634273, -0.3634851873, 0.0701915398, -0.1216980293, -0.3185563684, -0.3581726849, -0.0596501045, 0.8538822532, 0.5816245079, -0.1736584306, 0.2641566098, -0.164209187, 0.8304162621, -0.7264850736, -0.0375948995, -0.5386679769, 0.1692430377, -0.1599932909, -0.1874697655, -0.6718635559, -0.1016612574, 0.5658628345, -0.6242078543, 0.1991043687, 0.1406430602, 0.5381255746, 0.1248556376, -0.2523835003, 0.1600313485, -0.6862649322, 0.8930157423, -0.7151067853, 0.7746132016, -0.0167118572, 0.4389128387, 0.2150340229, -1.0978144407, -0.3941470385, -0.3459356129, 0.1794334799, -0.1247416735, -0.1990117431, 0.270608604, 0.3406162858, 0.1832376868, -0.519744873, 0.0127396798, -0.5263271928, -0.1359660476, 0.3225948811, 0.0308471266, 0.2633686364, 0.0308013894, -0.623460114, -0.3029926121, -0.7321490645, 0.0046646288, 0.0346086286, 0.1444274783, -0.0373390242, 0.3671104014, -0.0357438996, 1.0461941957, -0.1894582957, -0.3135321736, 0.3172815144, -0.2278276831, -0.450474143, -0.1191415489, 0.4161181748, 0.2192191631, 0.2382489443, -0.2105293423, -0.1910928488, -0.260822624, 0.2887813151, -0.7811789513, -0.1001051292, 0.1091888472, -0.3111014664, -0.3823909163, -0.1545165926, -0.8682770729, -0.1536613852, -0.0851958022, 0.4513553083, -0.3429406285, 0.0128827719, 0.1886800528, -0.0789187625, 0.5719898343, 0.6304323673, -0.5192421079, 0.2990138233, 0.5513584018, 1.0468683243, -0.0674735457, -0.3096603453, -1.0705177784, 0.306042999, -0.3511200249, 0.5272169709, -0.7888402939, -0.2546477914, -0.056928128, -0.1446577162, 0.0540637188, -0.541724205, 0.4241107702, -0.7235912085, 0.1335611045, 0.0446198024, -0.188128382, -0.4242280126, 0.3493905663, -0.7692393661, 0.7370294929, 0.1800119281, -0.673943758, 0.0191493109, -0.4119480848, -0.4334316254, 0.2334119827, -0.0253972374, -0.4641818702, 0.2682866752, 0.4851135612, 0.2017067522, -0.4285328686, -0.1643567532, -0.1035795212, -0.4406013191, -0.2862164676, -0.2164589167, 0.8208953738, 0.2080249786, -0.2352955192, 0.232645005, -0.6905468106, 0.2091008574, -0.0039562974, -0.4868254364, -0.4852262139, 0.0064795506, -0.2733785212, 0.2455140203, 0.1318758577, -0.5521746278, 0.2066863924, -0.5285640955, 0.5903693438, 0.7819478512, -0.2147329599, 0.3781361282, 0.0376048014, 0.5759737492, 0.2780562341, 0.3742225468, -0.1591263115, -0.5138371587, -0.8917325139, -0.2489203513, 0.0149036031, 0.3857809007, -1.2202422619, -0.1188952997, -0.3450006545, -0.453799665, -0.3725686371, 0.2684811652, 0.5411375761, 0.6163454652, 0.3902269304, -0.302220732, -0.5193393826, -0.922524631, -0.0355160087, -0.3079697192, -0.1046365723, 0.5944321752, 0.4548027813, -0.0682511628, 0.5193247199, -0.4751753807, -0.0546780601, -0.3735607564, -0.1715054363, -0.0178303346, 0.2960419655, 0.4540754259, -0.6368761063, -0.3020712137, 0.3106324971, -0.4890298843, -0.0927880928, 0.1189770252, -0.1766974181, 0.1230007038, 0.3766462207, -0.5237099528, 0.1552050263, 0.7959685922, -0.24118267, 0.4592031837, -0.2432174683, -0.2430140823, -0.7400510311, -0.0311772041, 0.1047271565, -0.5070909262, -0.7695858479, 0.5298521519, 0.1049099565, -0.1109918803, -0.830848217, 0.5657924414, -0.6430366039, -0.4374952912, -0.0169433895, 0.2296592444, 0.329090476, 0.5301836133, 0.0400420055, 0.7123976946, 0.7523037195, -0.4149237275, 0.67559582, -0.0677691549, -0.3503376245, 0.1707798243, -0.6815243363, 0.4388406873, -0.0353838801, 0.2153119445, -0.5628234744, 0.1495781392, 0.2350926101, -0.0404494405, 0.2211797833, -0.2174664438, -0.1921484768, -0.474912703, -0.5235282183, 0.6760834455, 0.5828831196, -0.9810801744, 1.138792038, 0.2073255628, 0.2570824623, -0.7446559668, -0.887245357, 0.3571065068, -0.2314849645, -0.9696856141, 0.1876400411, 0.01295882, -0.1160940528, -0.122663185, -0.1290462017, -0.0218096897, -0.2172073126, 0.0001910533, 0.329559058, -0.3944870532, -0.1590770036, -0.2965439856, 0.2071525902, 0.042495925, -1.0442075729, 0.6275516748, -0.2984996736, -0.1623648107, -0.0461755954, 0.1376825571, 0.6441755295, -0.7006556988, 0.5766102076, 0.3812109232, -0.1836006641, -0.6570475698, -0.6581106186, 0.1524024904, -0.5287403464, 0.4912054539, -0.3812509179, -0.932730794, 0.4722704589, 0.1897162795, 0.0680138022, 0.1190839037, 0.3071967065, 0.0275799874, 0.8220604658, 0.4468147755, -0.0000141513, 0.5715620518, -0.4315811396, -0.0041890671, -0.9252145886, -0.2655117512, -0.1830161959, -0.4453776479, -0.4616653919, -0.9482732415, 0.3101318181, -0.2702559531, -0.183140263, 0.1086601689, -0.4337635636, 0.6165640354, 0.8219522238, 0.3818607628, 0.4356063902, 0.3870286942, -0.2250134945, 0.3978658915, -0.7362917662, -0.185354352, 0.8579210639, 0.5866031051, 0.9130313396, 0.1357523948, 0.4750783443, 0.0785860866, 0.0783958957, -0.6409870982, 0.9875266552, -0.635368526, -0.3264294565, -0.3361363113, -0.5753099322, -0.5843684077, 0.3853481114, 0.1689731181, -0.6760274172, 0.3007180393, 0.226152882, -0.1422730684, 0.8401908278, -0.6301826835, 0.5648394823, -0.2819485664, -0.6223141551, -0.1635480374, -0.7933964133, 0.5345104337, 0.0275331438, -0.2164976448, 0.2578784525, -0.189944908, 0.5101780295, -0.4921916127, 0.8641175032, -0.2668627799, -0.141241923, 0.5351495743, 0.1271738559, 0.6623488069, -0.2295500487, 0.2317270935, 0.2099574804, -0.2967329621, -0.3675266206, -0.7258240581, 0.8066772223, -0.7432045341, -0.7450324297, -0.255384177, -0.5845695138, -0.1230211109, 0.1706658155, 0.0143361837, 0.6114583015, 0.27681005, 0.3191872239, 0.6337274909, -0.526781559, 0.2751461864, 0.3294271827, -0.4388127625, -0.2214405537, 1.0486924648, -0.0555363558, 0.6038486362, 0.6154716611, 0.3037337065, -0.3534404933, -0.9242060781, -0.4968264401, 0.2193949819, -0.6222817898, -0.0672167614, -0.3722633719, -0.5804920793, -0.0929738879, 0.0512843728, -0.3253045082, -0.390473038, 0.0213991031, -0.144316256, 0.0502887927, 0.5238982439, 0.0826056004, 0.3081744909, -0.7620543242, 0.285069406, 0.6383321881, 0.6469542384, 0.2006461471, -0.5483977795, -0.2977722585, -0.2338722497, -0.1449610442, -0.564997375, 0.4577265084, 0.2388380915, 0.3414494991, 0.3055097163, -0.2946678698, 0.7597516179, -0.6690263748, 0.6965562105, 0.2107240409, -0.8890991211, 0.4549113214, -0.210563153, 0.3531009853, 0.0902999043, -0.1577244997, -0.3997283876, -0.4074831605, -0.3523040414, -0.7967860103, 0.6485504508, 0.1154722348, -0.0530902259, 0.2561546266, 0.5045468807, -0.1963486671, 0.0873288214, -0.7032722235, -0.0224457644, -0.4457908571, -0.0684372261, 0.0012103942, -0.3674560785, 0.0242475308, -0.0579342432, 0.4601279795, -0.0512626022, 0.0309775323, 0.3641862571, -0.1379642189, -0.1243163869, 0.1055618823, 0.6192907691, 0.7306885123, -0.3470029533, 0.6475293636, 0.1994113475, -0.7664640546, 0.0453188866, -0.1120305806, -0.4343592227, -0.180076465, 0.5477308631, 1.144428134, 0.0610158592, -0.737644732, 0.3425611258, 0.0735470057, -0.2914840877, -0.0096752113, 0.2463452816, 0.1118397266, 0.6028800607, 0.1410776973, -0.158878684, 0.0484647714, -0.414647758, 0.1704558283, 0.4907901287, -0.2342740446, -0.242375046, 0.6221278906, 0.4038500786, -0.4005649686, 0.7567208409, 0.1494705677, -0.5217308402, 0.5058483481, 0.5510280132, 0.936681211, -0.174972564, 0.2836809456, 0.2155158222, 0.4758931696, -0.0155815305, 0.0973568559, 0.1075106263, -0.7533791065, -0.7321689725, -0.6661375761, -0.4616784155, 0.2404648364, -0.2740653455, 0.0309433267, -0.7370779514, 0.1602423936, -0.272903651, -0.0364620052, -0.6115018725, 0.2897660434, 0.4978161454, 1.2886248827, -0.3701099455, 1.1306678057, 0.6176506281, -0.1908305734, -0.8321281075, -0.0144342221, -0.2535471022, -1.11223948, 0.9796854258, 0.1494537443, -0.5885845423, 0.1943601519, -0.7034636736, -0.652017653, 1.1381217241, 0.4244717062, -0.7655073404, -0.585796833, 0.2525734007, 0.4930688143, -0.5545686483, -0.0032574148, 0.3688172996, 0.3313278556, 0.4656994045, -0.6000465751, -0.0033472253, -0.1051284075, 0.310125798, 0.1448537409, -0.7298785448, 0.8132974505, -0.5182704926, -0.2535926402, 0.013649351, 0.6164040565, 0.4787804484, 0.207597211, 0.9663068056, 0.5731706023, 0.3948733211, 0.0291873775, 1.0888912678, -0.2692713439, 0.1644739658, 1.0715898275, -0.1466626525, 0.7971445918, 0.620064497, 0.0229443498, 0.4406376183, 0.3191082776, -0.0968699306, 0.4958626628, 0.2593112886, -0.2937087119, -0.4119086862, -0.0055183228, -0.134833172, 0.4409705698, 0.0870636553, -0.3987673223, -0.1970951706, -0.1340976954, -0.5965304971, -0.2340383083, -0.610032618, 0.2923136353, 0.1525185853, -0.4272152483, 0.3665871918, -0.1169820875, 0.3194898069, -0.6501042247, -0.1284421533, -0.2742154896, 0.1286545992, -0.0159223955, -0.9612150192, 0.0355225988, 0.0178456679, 0.1237359196, -0.0739706904, 0.8354857564, -0.3639482558, -0.7629420757, 0.5480694175, 0.6049574614, -0.0166135337, -0.0068516815, -0.3881162107, 0.1096826419, 0.107654348, -0.4734949172, 0.0723490193, 0.3839594424, -0.1149067432, 1.115858078, 0.6879829764, 0.3944990933, 0.3985189497, 0.3126851022, 1.0514435768, -0.7504643202, -0.4931388199, -0.7259927392, 0.4516175091, -0.0091641396, -0.0334940441, 0.4121069908, 0.5260858536, 0.9522818923, 0.0049764491, 0.5081188083, 0.3401680291, 0.3209582269, -0.6959331036, 0.2410355657, -0.8223528266, 0.5229904652, -0.1922329515, -1.0633863211, -0.5784407258, 0.6336034536, -0.2872230709, 0.1646154821, 0.3853159845, 0.4892636836, -0.1832645386, -0.1602015495, 0.5376894474, 0.5476462245, 0.6261992455, 0.8765689135, 0.8156257868, -0.0643921867, 0.764800787, -0.3640139997, -0.04673329, -0.0648265332, -0.9949114919, -0.9025646448, -0.2675240636, -0.0680837408, -0.1934982985, 0.2926822603, 0.5099272728, 0.8453016877, -0.4283635318, -0.213991195, -0.0975218192, 0.150504753, -0.1098731905, -0.1550136358, 0.3406460583, -0.0397277735, -0.6933563948, 0.320895195, 0.5179163814, 0.0108860303, -0.6623543501, -0.1926056296, -0.0965039507, 0.014069587, 0.9180652499, 0.2132026702, -0.9198092818, -0.6529340148, 0.1160103157, 0.0505528636, 0.2848206162, 0.6685344577, -0.9510881305, 0.4660025835, 0.6235095859, 0.6125386953, 0.8128765821, -0.0327319615, 0.5805419683, -0.862193644, 0.1375891119, 0.218584612, 0.369064182, 0.3174688816, -0.0446007997, 0.569811523, 0.1568099856, -0.3113247454, -0.8028321862, 0.3642265797, -1.3387912512, -0.2020929456, 0.9993255734, -0.0834351629, -0.3536264598, 0.2962314785, -0.1459664851, -0.0242882296, -0.1892984062, 0.4724570811, 0.4201136529, -0.0078210635, -0.8789293766, -0.6804282665, 0.0881346464, 0.0782191828, -0.6829795241, 0.1860519499, 0.3315209448, 0.2581032217, 0.1349692047, 0.3661215603, -0.0548883788, 0.1292666495, -0.159928903, -0.055561427, -0.4658833146, -0.6395974159, -0.0855999738, 0.2313936204, -0.0114953462, -0.2743479311 ]
http://arxiv.org/abs/2406.12238v1
http://arxiv.org/pdf/2406.12238v1
PFID: Privacy First Inference Delegation Framework for LLMs
2024-06-18T03:27:09
2024-06-18T03:27:09
Haoyan Yang, Zhitao Li, Yong Zhang, Jianzong Wang, Ning Cheng, Ming Li, Jing Xiao
cs.CL
cs.CL
This paper introduces a novel privacy-preservation framework named PFID for LLMs that addresses critical privacy concerns by localizing user data through model sharding and singular value decomposition. When users are interacting with LLM systems, their prompts could be subject to being exposed to eavesdroppers within or outside LLM system providers who are interested in collecting users' input. In this work, we proposed a framework to camouflage user input, so as to alleviate privacy issues. Our framework proposes to place model shards on the client and the public server, we sent compressed hidden states instead of prompts to and from servers. Clients have held back information that can re-privatized the hidden states so that overall system performance is comparable to traditional LLMs services. Our framework was designed to be communication efficient, computation can be delegated to the local client so that the server's computation burden can be lightened. We conduct extensive experiments on machine translation tasks to verify our framework's performance.
[ -0.1616189331, -0.8462510705, 0.5259479284, 0.3353956044, -0.1310536563, -0.1127277389, 0.160022065, -0.1175681502, 0.1028720662, 0.6941256523, -0.5036478043, -0.6182989478, -0.3436153829, -0.2210089117, -0.3748972416, 0.6741536856, -0.0297192261, -0.0175961498, -0.5835548043, 0.2937970161, 0.3880423307, -0.9196449518, -0.4131924212, -0.200778529, 0.2275642902, 0.5013083816, 0.6609787941, 0.6340230703, 0.4280548692, 0.2765455246, -0.0925423354, 0.3152726889, -0.7371507883, 0.2831007838, -0.3711902201, -0.3364337683, -0.6203072071, -0.1602043509, 0.7763743401, 0.7419756055, -0.1452118605, 0.2835769653, 0.0323908739, 0.4009425044, -1.0393695831, 0.1781644672, -0.1886461526, 0.1334016174, -0.2308957428, -0.0391468033, -0.5196899772, -0.1834741384, 0.0629500449, -0.4333113432, 0.2994381189, 0.1086785495, 0.7199395299, 0.3231246471, -0.5765333176, 0.4551036656, -0.7024509907, 0.4355135262, -0.4740892947, 0.3803171813, 0.6716149449, -0.0045630396, -0.3240135908, -0.9900283217, -0.3321635127, 0.0977734923, -0.2952547371, -0.1471014172, -0.2367611527, 0.4115757346, 0.1368502825, 0.6113011241, -0.1545985639, 0.1621266454, 0.082059525, -0.5825254321, 0.7346931696, 0.1831290275, -0.2135753036, 0.0768935382, -0.8289323449, 0.0848520324, -0.9419233203, 0.147989437, 0.4205477834, -0.2143899798, -0.2549071312, 0.4545652568, -0.5552479625, 0.3203856945, 0.1790271997, -0.2898242176, 0.1396821439, -0.1752024442, -0.5943812728, -0.3053079844, 0.7702488303, 0.3988230228, -0.3674085736, -0.4064652622, -0.3321828544, -0.3629668653, -0.125698179, -1.0363277197, -0.3046758771, 0.1780588776, -0.8701468706, -0.4606964886, 0.3651684821, -0.5571235418, -0.6761564016, 0.1376349032, 0.1917459518, 0.0594227426, -0.4885875881, 0.1293344796, 0.1693213284, 0.2981472611, 0.3483625352, -0.7824695706, 0.838439703, 0.8876623511, 0.6277237535, -0.5553072095, -0.221556589, -0.3891909719, 0.2407167703, -0.1013275832, 0.3960013092, -0.2051883936, -0.8106681705, -0.0443511419, 0.2543215156, -0.0037693188, -0.6002836227, 0.6561436057, -0.5575997233, -0.0207166262, -0.4730966389, -0.7595030665, -0.2079890072, -0.1091408581, -0.6493638158, 0.7634137869, 0.0275823716, -0.7176300287, 0.0290398691, -0.712882936, -0.2814805806, 0.2650528252, -0.1082410887, -0.686838448, 0.2360250205, 0.1936676502, 0.8073691726, -0.1980593652, 0.1917650104, -0.5913638473, -0.4202381074, 0.4253516495, -0.5598813891, 0.828114748, 0.6257532239, -0.2283436656, 0.0857785046, -0.4136437774, -0.041598551, 0.0769498423, -0.2575753331, -0.011867254, 0.1566305757, 0.0854554251, -0.3577845693, 0.506937027, -0.5784356594, -0.0349659547, -0.3741925955, 0.3956481814, 0.8573976159, 0.5370172858, 0.7722691894, -0.5190652609, 0.5913881063, 0.191369161, 0.361841619, -0.1475863457, -0.4776246846, -0.3203128576, -0.6854899526, 0.1836378276, 0.6411738396, -0.3789600134, 0.2658872902, -0.1620711982, 0.0035776428, -0.3371093571, 0.2296592295, 0.5167871118, 0.5027171969, -0.2203141302, 0.0234369077, -0.0835517123, -1.4605813026, -0.0105690621, -0.133930847, -0.2423776984, 0.3573753536, 0.3640524149, -0.105524525, 0.8932484388, -0.4534472227, -0.1690979898, 0.2053641677, -0.1868431568, -0.1406000257, 0.8329835534, 0.1071832329, -1.1051012278, 0.0760308802, -0.1979920864, -0.6290079355, -0.1192580089, 0.0028999562, -0.4786736667, 0.0603091344, 0.4477995634, -0.4574341178, 0.6222980618, 0.4917001724, -0.5203549862, 0.3352953196, -0.3475793898, 0.2175615579, -1.0485808849, 0.0568773821, -0.4063213766, -0.7744514346, -0.5174533129, 0.4560459852, 0.2782215178, -0.4338475168, -0.6735807061, 0.5891539454, -0.5822883248, -0.2026798874, -0.0962171853, -0.2885015607, -0.0426423363, 0.3365829289, 0.1803001463, 0.9504466057, 0.5769889951, -0.683124423, 0.2140749693, 0.1239852384, -0.0887174159, 0.6255959272, -0.4223295152, 0.4536776543, 0.1625833362, 0.0608530082, -0.9218449593, -0.3901169598, 0.3607516289, -0.3901011646, 0.2219734937, -0.272543788, -0.6304925084, -0.0004216065, -0.3618180454, 0.3265748322, 0.4851834178, -0.5446997285, 0.7182300687, 0.5894298553, 0.0399197899, -0.2625878453, -0.7010311484, 0.1128637046, -0.2621571124, -0.8409515619, 0.6968583465, -0.1943750232, -0.5289949775, 0.0730496496, -0.1164596751, -0.4725435674, 0.6216467023, 0.8150006533, 0.0091095231, -0.2072077245, -0.1565570682, 0.3256306052, -0.1492145509, 0.2295423299, -0.318798244, 0.1660362333, -0.2115189135, -0.6670080423, -1.0259790421, 0.7832500935, 0.3612119853, -0.2627592683, 0.8320122361, 0.436050415, -0.5346968174, -0.2889432907, -0.660657227, -0.2783673108, -0.5416878462, 0.1306445897, -0.5675137043, -1.0132610798, 0.6337528825, -0.3747206926, 0.1191810519, -0.1205322146, 0.6517954469, -0.1796863377, 0.8280138969, 0.8701692224, -0.1052066088, 0.4769845009, -0.179086417, -0.023250822, -0.6797834635, -0.2729921639, -0.3169235587, -0.2484531552, -0.454300642, -0.5010536313, 0.315464586, 0.311098963, -0.0506724082, -0.3585032523, -0.3705331683, 0.6892309189, 0.5999647975, 0.4941678643, 0.187442705, 0.0967895836, 0.0702021345, 0.096840553, -0.3923366964, -0.6239162087, 1.0232114792, 0.4941346645, 0.9493713379, 0.2745860219, 1.2246364355, 0.4383250475, 0.2094649076, -0.5864723325, 0.6819963455, 0.1800500453, -0.5222420692, -0.0510017015, -0.4837574363, -0.6831160188, 0.4113455713, 0.0042986926, -0.9322432876, 0.5219647884, 0.1873206049, -0.4856030345, 0.4081234932, -1.041711688, 0.5867974758, 0.1143430397, -0.8848858476, 0.1191183999, -0.5711485147, 0.5418866873, 0.1635882258, -0.0248867702, 0.0051059034, -0.4090906978, 0.7786687016, -0.6876564622, 0.9540858865, -0.6723201871, -0.0891256407, -0.0341395847, 0.5550521612, 0.6510685682, 0.5127215981, -0.122855179, 0.1572729498, 0.2247005999, -0.4758355618, -0.4500133395, 0.9085842967, -0.5584154129, -0.8460349441, -0.1360599101, -0.5439351797, -0.0927436873, 0.2640164793, 0.0420577638, 0.032507211, -0.1106589735, 0.4027217329, 1.0771921873, 0.0006356707, 0.4898756444, 0.727850318, -0.2074745744, -0.2900134623, 0.549292326, -0.2310046852, 0.3369035423, 0.4191020429, 0.0899330676, -0.4287769496, -0.6597563624, -0.2941427529, 0.1721010953, -0.7666602731, -0.1785137355, -0.3568180799, 0.0525958166, -0.485296309, -0.2549279332, -0.3521696925, -0.4055840373, -0.502645731, -0.3316722512, 0.0751387328, 0.5266287923, -0.0574698746, 0.3065748215, -0.2702845633, 0.3499585092, -0.0936725065, 0.3103689253, -0.473361671, -0.2128545642, 0.1956458092, 0.0453213416, 0.014557397, -0.8981062174, 0.1346885711, 0.1132964194, 0.8100670576, 0.611789763, 0.5202869773, 0.497612685, -0.0202633776, 1.0001482964, -0.2340093553, -1.0709971189, 0.2568379641, -0.1004524827, 0.0226478539, 0.5253337026, 0.09409751, -0.1635687947, -0.1778054237, -0.7209069133, -0.7719908357, 0.7107852101, 0.0917926431, 0.1571183205, 0.2817829251, 0.628421545, 0.0110398913, 0.2692355812, -0.5693976879, -0.6675788164, 0.1256080121, -0.0385413207, 0.2493914962, -0.5834446549, -0.3973927796, -0.1564377993, 0.5555687547, -0.0058738738, 0.673771143, 0.4118588865, -0.2093574852, 0.1686373949, -0.1379501373, 0.4900092781, 0.6164013743, 0.0626132712, 0.3484895527, 0.1325900704, -0.3426942825, 0.1629904211, 0.0734980404, -0.6142770648, -0.258199811, 0.0296916012, 0.5850602388, 0.3562178612, -0.0920842215, 0.8883223534, -0.1048318222, -0.4199382067, -0.3201753497, 0.1201290861, 0.1708758771, 0.2315237075, 0.2416702211, -0.0075913044, 0.2784572542, 0.0358003043, 0.2800234854, 0.4978989363, 0.0685600042, -0.1944579929, 0.9057537317, 0.1851793677, -0.4754205942, 0.2811594903, -0.4345771968, -0.2736556232, 0.2629581094, 0.5441852212, 0.9479486346, -0.2948712111, 0.214002043, -0.2108532488, 0.0758161619, 0.0760285333, 0.4136698842, -0.8177224994, -0.4836288095, -0.0275671277, -0.5626128912, -0.5041005611, 0.0299671572, -0.8458455205, 0.0405440256, -0.7465094924, -0.1056417301, -0.3768537045, 0.0653173178, -0.512385726, -0.2798659503, 0.2783123255, 0.8161723614, -0.6167892218, 1.0912754536, 0.4697511494, -0.0653027669, -0.6170660853, -0.0787453279, 0.3915470243, -0.652775228, 0.4924587011, -0.2488362342, -0.448882848, 0.1158380583, -0.6360138655, -0.6955859661, 1.2560251951, 0.7641144991, -0.3295827806, 0.1216188148, 0.0609526038, 0.1040189341, -0.1742274612, -0.0807989985, 0.3477201462, 0.4308947921, -0.0904798359, -0.8303689957, 0.2118955255, -0.0767118037, 0.0450953804, -0.1388655901, -0.530793786, 0.8400865793, -0.1019832194, -0.5052981973, 0.2427636981, 0.8404197097, -0.0171875879, 0.367932111, 0.2211408913, 0.186288178, 1.1114102602, -0.0581908077, 1.1566443443, -0.2978683114, 0.4036141634, 0.9682457447, -0.5022262931, 0.7650923729, 0.5980238914, -0.1491853893, 0.1452071071, 0.5774037838, 0.2596647739, 0.5360178947, 0.1237558722, -0.7167398334, -0.2772147954, 0.0114623588, -0.2563701868, 0.2333802134, 0.1904431432, -0.5730542541, -0.2029013187, -0.0282239541, 0.3173679113, 0.0702483431, -0.2282668501, 0.8492423296, 0.0306175854, -0.2406122833, 0.5223103166, 0.6077125669, 0.6942581534, -0.5791009665, 0.1486185044, -0.4616732001, 0.4078349173, -0.4908418357, -0.4134272635, 0.097201027, -0.2450344414, -0.2934203744, -0.8255801797, 0.7421423793, -0.2102934569, -0.308927387, 0.0000724815, 0.2910012603, 0.227661863, -0.1323162466, -0.6362463236, 0.1049710065, 0.015997624, -0.4242674708, 0.4942515492, 0.2054813057, -0.2085078657, 0.7345548868, 0.7420936823, 0.1698098332, 0.1129249707, -0.074042283, 0.7931656241, -0.2531718016, -0.7449011207, -0.904296577, 0.2334699929, -0.1839603186, -0.1152246967, 0.8785829544, 0.730646193, 0.7171245217, 0.0484640487, 0.4305403531, 0.1845247746, 0.4539512694, -0.6105282307, 1.0433336496, -0.0136531815, 0.3428713381, 0.0598659776, -0.4309584796, -0.2877955437, 0.5028026104, -0.2445479184, -0.2618158162, 0.5075169802, 1.3063739538, -0.1944102347, 0.0586412996, 0.4903330505, 0.0556331426, 0.4534624815, 0.536213696, 0.6593064666, -0.2648642659, 0.018483514, -0.6954811811, -0.3204165995, -0.0360586047, -0.8006948233, -0.7354124784, -0.5952755809, -0.352789849, -0.1277171671, -0.040155258, 0.7394824028, 1.1118609905, -0.7326544523, -0.2471363991, 0.0156357456, 0.367849201, -0.1408153921, -0.2518298626, 0.3423860073, 0.1678661853, -0.5766593814, 0.6087450981, 0.121760942, 0.0084903687, -0.6450007558, -0.2670860887, 0.0349227414, -0.2412191033, 0.2477993369, 0.1690634638, -0.8014654517, -0.0995573029, -0.1677782983, 0.0056480514, -0.2709774375, 1.004319787, -0.6866298318, 0.3318305016, 0.3790406585, 0.8277167082, 0.7257099748, 0.4219412506, 0.4216439128, -0.8818898201, 0.4466744661, 0.3200690746, 0.3766673505, 0.1915378422, -0.9042059183, 0.0457842611, 0.392341584, -0.5783005953, -1.0361548662, 0.2367499173, -0.640976727, -0.101113826, 1.0723290443, -0.80559659, -0.6569666862, -0.1619469225, -0.104827486, -0.2760555148, -0.3663029075, 0.2122520804, 0.452021569, -0.144415766, -0.2213840187, -0.2739342749, 0.5985641479, 0.3465663493, -0.6819142103, 0.3672231436, 0.7418521643, 0.6188605428, -0.288176775, 1.0348153114, -0.3981183469, 0.2618998289, 0.0618140362, -0.2219945192, -0.6661109328, -0.157840386, -0.6575165987, 0.5473384261, 0.0991980955, -0.5535143018 ]
http://arxiv.org/abs/2406.12233v1
http://arxiv.org/pdf/2406.12233v1
SyncVSR: Data-Efficient Visual Speech Recognition with End-to-End Crossmodal Audio Token Synchronization
2024-06-18T03:14:22
2024-06-18T03:14:22
Young Jin Ahn, Jungwoo Park, Sangha Park, Jonghyun Choi, Kee-Eung Kim
cs.AI
cs.AI, cs.CL, cs.CV
Visual Speech Recognition (VSR) stands at the intersection of computer vision and speech recognition, aiming to interpret spoken content from visual cues. A prominent challenge in VSR is the presence of homophenes-visually similar lip gestures that represent different phonemes. Prior approaches have sought to distinguish fine-grained visemes by aligning visual and auditory semantics, but often fell short of full synchronization. To address this, we present SyncVSR, an end-to-end learning framework that leverages quantized audio for frame-level crossmodal supervision. By integrating a projection layer that synchronizes visual representation with acoustic data, our encoder learns to generate discrete audio tokens from a video sequence in a non-autoregressive manner. SyncVSR shows versatility across tasks, languages, and modalities at the cost of a forward pass. Our empirical evaluations show that it not only achieves state-of-the-art results but also reduces data usage by up to ninefold.
[ -0.0328131616, -0.438557893, 0.0395923518, -0.0479178876, -0.4945423603, 0.0657688454, -0.040866185, -0.3210781217, 0.2350326329, 0.0507552885, -0.4416778982, -0.3710588217, -0.5078270435, -0.1138816178, -0.687777102, 0.5164123774, -0.0400154889, 0.3307713568, -0.5667728186, -0.4051699638, -0.3143440187, -0.3457604647, -0.2855632603, -0.0790672377, 0.1833420694, 0.2966129482, 0.6170226336, 0.9479157925, 0.4681226015, 0.3692002594, -0.0016693855, 0.0924787149, -0.334312737, 0.2911051214, 0.0255635921, -0.3359899819, -0.2591602802, -0.2586062849, 0.4761258662, 0.3731993437, -0.325217545, 0.4194381535, -0.1074354425, 0.5197253227, -0.6452178359, 0.1899066269, -0.4988085926, 0.3791828752, -0.3889298737, -0.4588607848, -0.0412409492, -0.0316882096, 0.4339493513, -0.7134337425, 0.1057808697, 0.0350516587, 0.6408357024, 0.5537486076, -0.2553294599, -0.0600773878, -0.6729607582, 0.656018436, -0.0218713153, 1.0647177696, 0.2658820152, 0.5776855946, 0.2712059617, -1.0399791002, -0.7168925405, 0.3027253449, 0.4798260331, 0.3930471241, -0.3075498939, -0.0568958819, 0.2235713303, 0.5001610518, -0.8678532839, -0.1609641612, -0.3397622108, -0.4416062236, 0.2410565615, 0.0812225193, 0.2572856843, -0.1542751938, -0.7977563739, -0.3958691359, -0.0776789188, 0.4178126156, -0.0942604542, 0.1337874234, -0.3164979815, 0.6516155601, 0.0010610559, 0.7637193203, 0.133478865, -0.2063975781, 0.4377661347, -0.4253956974, -0.6381143928, 0.3977051973, 0.7253698111, 0.4532140493, 0.1658597291, -0.123140648, -0.3158809245, 0.3989824057, -0.0309097692, -0.5904613137, -0.0629466176, 0.109644644, -0.3155947924, 0.2145104706, 0.0177911054, -0.501591444, -0.0243534707, -0.5697003603, 0.5576246381, -0.4451350272, 0.0191385075, -0.0306072142, -0.4129482508, 0.4210294485, 0.3000859916, -0.6637311578, 0.3730432987, 0.5766403079, 0.930244565, -0.008866109, -0.0421402007, -1.0196896791, 0.2875738442, -0.313387841, 0.3750698566, -0.6660821438, -0.5479630232, -0.0591413341, -0.2033992112, 0.1312909275, -0.7219740748, 0.1581971198, -0.122592546, 0.3776501715, -0.3184020221, -0.5582756996, 0.1239552051, -0.211468488, -0.2436978072, 0.8527158499, -0.0638713092, -0.6472696662, 0.8043867946, 0.0715091527, -0.3343807757, 0.2942028046, -0.4601547718, -0.5927735567, 0.0572506376, 0.0960785598, 0.3242443502, -0.2799044549, 0.1782455146, -0.1007943749, -0.3054645956, 0.0240778103, -0.429928571, 0.3084362745, 0.2785055637, -0.1908096075, 0.3673902154, -1.0340467691, -0.1263194829, -0.1767285764, 0.0094869006, -0.4928269386, 0.0271218009, 0.3856394291, 0.2774719, 0.1502506286, -0.6944976449, -0.2644760311, -0.0043663741, 0.6270550489, 0.6921375394, -0.4397011101, 0.5111657977, -0.3369364738, 0.3565562367, 0.1876691282, 0.4721008539, -0.5401954651, -0.4316500425, -0.6888771057, -0.7004808784, -0.006287952, 0.6305945516, -0.8149725795, 0.4280730188, -0.4709209502, -0.1693685651, -0.7616633177, 0.0694633797, 0.6553346515, 0.5408631563, 0.4259069562, -0.7406554818, -0.8240672946, -0.5807673931, -0.0304974839, -0.0834152326, -0.0313454196, 0.3082168102, 0.3000052571, -0.2087731808, 1.1732950211, 0.2243952155, -0.7197678089, 0.3223718703, -0.0009953622, -0.1415960342, 0.496099025, 0.208609134, -1.1615307331, -0.3797145486, 0.2283121943, -0.7345722914, 0.0747209638, -0.1444975436, 0.091785945, -0.1048113927, 0.7168474197, -0.1274046004, 0.2902892232, 0.7095258236, -0.2681908607, -0.0176760741, -0.0672489852, -0.0109530753, -1.0401039124, -0.0764686093, 0.0226435438, -0.68339926, -0.4893702865, -0.7306860685, -0.1484260112, -0.3230279684, -0.5802541971, 0.2919893563, -0.4648880064, -0.4333917499, 0.1649619341, 0.2583066821, -0.2470572591, 0.357196182, 0.1768036932, 0.8801919818, 0.8300279379, -0.1524012536, 0.5835695267, 0.3954305351, -0.1281640977, 0.8048152924, -0.693541646, 0.0183055066, -0.2259764373, -0.082455121, -0.9392747879, -0.128240481, -0.0363927335, -0.691670537, 0.2642974257, -0.1677577943, -0.074994877, 0.0136795584, -0.2135995626, 0.4679080546, 0.69309479, -0.6865658164, 0.7482094169, 0.482139051, 0.0914636403, -0.5410971045, -0.996075213, 0.0419575647, 0.0316102467, -0.4142455757, 0.2818889618, 0.1184091344, -0.0138844745, 0.1073015332, -0.6690095663, -0.1441053152, -0.5766823292, 0.6979269385, 0.1675475389, -0.087555401, -0.2014719546, -0.2260710299, -0.139708057, -0.0499849878, -0.588552177, 0.3273429275, -0.0318473689, -0.4731145799, -0.7637900114, 0.3457082212, 0.9088532925, -0.3891305327, 0.1176324934, 0.6368473768, -0.2267689556, -0.0512567796, -0.306452632, 0.1653337032, -0.4836673141, 0.3698637187, -0.3642618358, -1.025006175, 0.4840078056, 0.0893386453, -0.1062091142, -0.1777794808, 0.3715245426, -0.1316514015, 0.7127529979, 0.4699604511, -0.0322143212, 1.1307399273, -0.1513279229, 0.0139329704, -0.766397655, -0.6800329089, 0.0180367902, -0.1240509525, -0.5355808139, -0.8949447274, 0.334426254, -0.0808691904, -0.0715920329, 0.394449532, -0.4030022323, 0.4346573055, 0.6813790202, 0.1597007811, 0.0598113984, 0.156671837, -0.0868277773, -0.1656800359, -0.5603702664, 0.0160298944, 0.6320511699, 0.166645959, 0.7787617445, -0.0973313153, 0.6072579026, 0.434302479, -0.4427480698, -0.6129789352, 0.6268948317, -0.0831133872, -0.0508915335, -0.277621001, -0.5135455132, -0.5126039982, 0.3253562748, -0.2983988822, -0.4935554564, 0.5824148059, 0.3781591654, -0.0305205546, 0.2340608835, -0.3734585941, 0.6870779395, -0.1536287069, -0.532697618, 0.0171468984, -0.9925775528, 0.0208625291, 0.0496215969, 0.1683297306, 0.0622688271, -0.1411097348, 0.5161226392, -0.3464278281, 0.6987350583, -0.1913765818, 0.0545809343, 0.1870601177, -0.0423255824, 0.2788994014, -0.1578702778, 0.4281787276, 0.0933340564, -0.1501799822, -0.2389619648, -0.3669716716, 0.3190424144, -0.4071239531, -0.0017502557, -0.3697930574, -0.4714941382, -0.093415603, -0.0066806474, 0.1650651246, 0.8170753121, -0.1577218026, 0.2154211849, 0.640248239, -0.2168755978, 0.5123510361, 0.1607696563, -0.3037312329, -0.9680668116, 1.1798126698, 0.0020946828, 0.3539654315, 0.6220487356, -0.0949320421, -0.225763455, -0.1390925795, -0.4243684709, -0.1265394986, -0.5990815163, -0.0405077972, -0.3694727421, -0.0002266869, -0.2980532348, -0.2384519726, -0.6310519576, -0.352996856, -0.309989959, 0.0954366103, 0.2588838339, -0.0489923321, -0.2324383855, 0.2871728241, -0.759737432, 0.6612864733, 0.874710083, 0.2301345915, -0.3504872322, -0.5423403978, -0.2687295675, -0.1770217419, 0.2072021961, -0.5302658677, 0.4675769806, 0.55298841, 0.3123447895, 0.6444829702, -0.0782608092, 1.2509839535, -0.6514529586, 0.7051902413, 0.8086916804, -1.450594306, 0.4351809621, -0.0625100359, 0.205166012, 0.1705640256, 0.2675522566, -0.7118035555, -0.1217921898, -0.2098515332, -0.9960594177, 0.3516481221, 0.137241587, -0.1084452197, 0.0330599248, -0.0916961879, -0.0014279677, 0.3266898692, -0.3271739483, -0.1314647347, -0.6437426805, -0.2815939784, 0.0743453875, 0.0112255365, -0.0187142827, -0.4079589844, 0.1812595874, -0.1857885122, 0.2125767171, 0.6699652076, -0.3507455587, -0.3167657256, 0.2628550231, 0.4625297785, 0.2843986452, 0.0545826592, 0.2370266765, 0.1348383278, -0.481205821, -0.040776372, 0.0470435545, 0.1488849968, 0.1081377342, 0.4161422253, 1.1225481033, 0.1763359904, -1.0087114573, 0.9038798213, -0.1537130326, -0.2354567349, -0.4213235676, -0.2567738593, -0.2753385305, 0.6966254115, 0.3086580038, 0.1941419095, 0.2301646322, -0.4950855076, 0.5896580815, 0.4150613546, -0.8458713889, -0.4594492316, 1.0922341347, 0.2474671304, -0.2776765823, 0.4849162102, 0.2220023572, -0.3426208496, 0.2169210464, 0.3490100801, 0.9016283154, -0.3826711774, 0.0862048343, -0.0315163694, 0.0441162549, 0.2942530513, 0.88636446, -0.8704565167, -0.2814215124, -0.4043158591, -0.6759670377, -0.5050023198, -0.5961780548, -1.0089273453, 0.1500048637, -0.3913409412, -0.2051664591, -0.1777950227, -0.8342368007, -0.2949252129, 0.2528702915, 0.577506423, 0.6620411277, -0.838973403, 0.8650246263, 0.5034814477, -0.3392432332, -0.3330890834, -0.2813975513, 0.2370822579, -0.7415861487, 0.6688722372, 0.0736323744, -0.2595871985, -0.038775526, -0.2584115565, -0.6788792014, 1.1040309668, 0.3794111013, -1.221411705, -0.0176695213, 0.2379273623, 0.4678950608, 0.0528147817, -0.0060700453, 0.1726688594, -0.003812846, 0.4003390372, -1.2569975853, -0.3049424887, -0.2980892658, 0.2139416486, 0.3349524736, -0.4990516603, 0.8593896031, -0.300765872, -0.3480394483, -0.2608180046, 0.9994646907, -0.0275272541, 0.4860673547, 0.6097080112, 0.6293691397, 0.6295012832, -0.1100937128, 0.7096841335, -0.210204348, 0.142620191, 1.0372481346, -0.3434838951, 0.9870470166, 0.9085817337, 0.0664740428, 0.1933838874, 0.2996270061, -0.0543298945, 0.9160938263, 0.1280277073, -0.3596057296, -0.4792262316, -0.490421921, -0.2215669602, 0.6068753004, 0.1169723943, -0.2241512537, 0.1259787828, 0.5714113712, -0.4759971499, 0.0713231191, -0.2860603631, 0.9160004258, 0.2425615042, 0.0797720924, 0.4259839654, -0.8703247905, 0.7151145935, -0.5772919059, -0.2526507378, 0.1597753763, 0.2991451025, -0.1958886087, -0.677609086, 0.1914929152, 0.0564781018, -0.2559915781, -0.5467495322, 0.2041412443, -0.7937310338, -0.0524479561, 0.3871029019, 0.3577482104, -0.0702269003, 0.2481404692, -0.4161010981, 0.1727991253, -0.1454616189, 0.0180132203, 0.1310536712, 0.5722594857, -0.0668561086, 0.7097976208, 0.8101426363, 0.1262295991, 0.3508600295, 0.1050099134, 0.7144883871, -0.6192768812, -0.654540956, -0.6236417294, 0.4894128144, 0.0500070974, -0.2627484202, 0.7934885621, 0.8746124506, 1.2460763454, 0.1550735831, 0.5725972056, 0.0303131249, 0.2647563517, -0.4975820482, 0.154513374, -0.7372543812, 0.0272741355, -0.3825234175, -0.5642955303, -0.322876364, 0.559992075, 0.2643916011, -0.2483967543, 0.2894644141, 0.4239373505, -0.1986166388, 0.0552465953, 0.5712803006, -0.0091489647, 0.0966016501, 0.5272177458, 0.8862250447, -0.5528781414, 0.5643462539, -0.236534372, -0.0384201743, 0.1008462235, -0.4950713813, -0.7368811965, -0.856943965, -0.3764127493, -0.0236196592, 0.4272705019, 1.0940202475, 0.9717933536, -0.5022384524, -0.379335165, -0.1012152657, -0.3211620152, -0.3369010389, -0.106931828, 0.161859408, 0.0164871905, -0.7620611191, 0.5188470483, 0.5470952392, 0.2846833467, 0.1403342336, -0.3554415405, 0.2315838188, -0.0781225264, 0.5641655922, 0.3766354322, -0.6867758632, -0.1290956736, 0.0883561671, 0.065007396, 0.2670789659, 0.8099013567, -0.9337598681, 0.9239571095, 0.7487339377, 0.4642354846, 0.7325987816, -0.0932501405, 0.5059344769, -0.8299795985, 0.2325822562, 0.1211397573, 0.4988463223, 0.424125582, 0.1935153157, 0.2039697915, 0.4883210063, -0.4252412319, -0.9617390633, 0.0267345682, -1.4733059406, 0.0348385014, 0.6653566957, 0.0433885492, -0.36979568, 0.0451859832, -0.1665594578, 0.4383696914, -0.5041569471, 0.0798568055, -0.0388934016, -0.1121761575, -0.4314109385, -0.3615211248, 0.3959203959, 0.3099918365, -0.4852521718, 0.26061064, 0.6178236604, 0.1997971982, 0.0542394668, 0.3939192891, -0.1822980046, 0.5630121827, 0.1849015653, 0.1822685599, -0.2998128831, -0.4053079784, -0.5465265512, 0.0338665321, -0.6397974491, -0.8449522257 ]
http://arxiv.org/abs/2406.12232v1
http://arxiv.org/pdf/2406.12232v1
"You Gotta be a Doctor, Lin": An Investigation of Name-Based Bias of Large Language Models in Employment Recommendations
2024-06-18T03:11:43
2024-06-18T03:11:43
Huy Nghiem, John Prindle, Jieyu Zhao, Hal Daumé III
cs.AI
cs.AI, cs.CL
Social science research has shown that candidates with names indicative of certain races or genders often face discrimination in employment practices. Similarly, Large Language Models (LLMs) have demonstrated racial and gender biases in various applications. In this study, we utilize GPT-3.5-Turbo and Llama 3-70B-Instruct to simulate hiring decisions and salary recommendations for candidates with 320 first names that strongly signal their race and gender, across over 750,000 prompts. Our empirical results indicate a preference among these models for hiring candidates with White female-sounding names over other demographic groups across 40 occupations. Additionally, even among candidates with identical qualifications, salary recommendations vary by as much as 5% between different subgroups. A comparison with real-world labor data reveals inconsistent alignment with U.S. labor market characteristics, underscoring the necessity of risk investigation of LLM-powered systems.
[ -0.1077439934, -0.3307189941, 0.9007693529, -0.1386716962, -0.0835531428, -0.0209451951, -0.1309215426, -0.6317163706, 0.5666264296, 0.3701393902, -0.4831427932, -0.2290308475, -0.7895553708, -0.0672794655, -0.4285692573, 1.0621620417, 0.328071028, 0.6066262722, 0.1781440079, 0.1230577454, -0.4369514585, -0.4168015122, -0.7260394096, -0.2045221031, 0.8131782413, 0.281278789, 1.0224815607, 0.5820708275, 0.2330832034, 0.1767975092, -0.1675928086, -0.1649669856, -0.3203040957, 0.2351233065, -0.3716032505, -0.4427300096, -0.398519814, 0.3705355823, 0.1199983433, 1.0323110819, -0.079764463, 0.5031630993, -0.4965659678, 0.7693852782, -0.5809055567, -0.176529184, -0.7287566662, 0.0051918677, -0.2235387564, 0.0936618, -0.2185943872, -0.8140541315, 0.4479906857, -0.2179456651, 0.3074716926, 0.2501628697, 1.0127717257, -0.048498325, -0.5699752569, -0.1206707433, -0.862562716, 0.5454482436, -0.6035988927, 0.4810764194, 0.52427423, 0.4119561017, 0.0923281312, -0.4463939667, -0.3679499328, -0.2289525121, -0.1100686491, -0.1735976189, 0.0907534137, 0.0918178707, 0.5031133294, 0.1977212578, -0.3718008101, 0.4884253144, -0.7251107693, -0.0849298835, 0.8503599167, 0.3398222625, 0.3318310678, 0.3697780371, -0.0963242725, -0.0322422348, -0.8151311278, -0.0183001012, 0.9037663341, 0.1788511723, -0.017614238, 0.4900235832, -0.2975867391, 0.7077014446, -0.0180545058, -0.0738610104, 0.0444342196, -0.0282215979, -0.3198388815, 0.3196061254, 0.7271144986, 0.5805906057, 0.7327797413, -0.2093209177, -0.0051107253, -0.0517299026, 0.4503159523, -0.4875474274, -0.1069745421, 0.0171455983, -0.4098406136, -0.4019257128, -0.0631420389, -0.7697538137, -0.7989643216, -0.2916355431, 0.0346223861, 0.0322904848, -0.2468853593, -0.0914328322, -0.0719002262, 0.1563350111, 0.3187199235, -1.1784906387, -0.0074163019, 0.6320486665, 0.3955339193, -0.1170698553, -0.2307152748, -0.3265446424, 0.0592620559, -0.3819118738, 0.4827535152, -0.6502841711, -0.533449173, -0.0765786916, 0.1335434169, 0.0587646775, -0.4790956378, 0.3322486281, -0.4603542387, 0.0707232952, -0.5541213751, -0.3168976605, -0.0547851324, -0.0301633794, -0.4404672682, 0.6289716959, 0.3707181811, -0.5343376398, 0.9306460023, -0.3164710104, -0.3927800953, 0.1043371111, -0.6446694732, -0.2930181623, 0.1908994615, -0.0462759733, 0.3085767329, -0.4902538657, 0.5592638254, -0.2292232364, -0.4118687212, 0.2425670028, -0.1901145726, 0.9463837147, 0.012611649, -0.4567571878, -0.0294441562, -0.3740322888, -0.1439574063, 0.0441350713, -0.059294913, -0.4217330217, 0.051685784, -0.1900250316, 0.0574816838, -0.15156883, -0.679541707, 0.418649137, -0.281324178, 0.0319157988, 0.9682456255, -0.3510348797, 0.2171312571, -0.3862636387, 0.7707823515, -0.1516523063, -0.0387420319, 0.4380222261, -0.5754339099, -0.5281279087, -0.075739257, 0.5213887095, 0.5500143766, -0.3298739493, -0.0412041768, -0.0838397145, -0.6656366587, -0.5636862516, -0.0265812259, 0.0923079327, 0.4382701516, 0.0030533972, -0.0332485139, -0.73730129, -1.2774326801, -0.6880581379, -0.3657737076, -0.1148497462, 0.6444105506, 0.3455623388, -0.4218043685, 1.0120272636, -0.74492836, 0.011531204, 0.0748576298, -0.1700094044, 0.6920617819, 0.1620392352, 0.7288999557, -0.3351415098, -0.4384177029, -0.0389878415, -0.2382787466, -0.2695265114, 0.085394688, -0.44762519, -0.1394441128, 0.4162936509, -0.238994658, 0.3635017276, 0.7198334932, -0.5905730128, 0.9727609158, -0.1504081935, -0.2928576171, -0.9378426075, 0.1238626838, 0.2764387131, -0.237387225, -0.4502846897, -0.2473290861, -0.0640979111, -0.1905305982, -0.3117901385, 0.7391983867, -0.4827471673, -0.1211879253, -0.1347990334, -0.1269741356, -0.30314219, 0.0164886024, -0.1387945563, 0.7239684463, 0.5027778149, -0.9396341443, 0.44948861, 0.1024793983, -0.4827281535, 0.7461236715, -0.725923121, 0.2702060342, -0.0951270908, 0.2682307661, -0.7722209096, -0.2615447342, -0.1510226429, 0.0125254029, 0.0597946532, -0.1090918854, -0.2432959676, -0.7296145558, -0.0505772829, 0.6034861207, 0.3732017875, -0.4508207738, 0.1716208309, 0.6139013767, -0.4509910941, -0.633838594, -0.7180945873, -0.0653626844, -0.1769021004, -0.3781758845, 0.3519043624, -0.1393109709, -0.4166954458, -0.2825172246, 0.0225728452, -0.4563771784, 0.1114054695, 0.2849501371, 0.7021786571, -0.0856819674, 0.0358515047, -0.2102845013, 0.0173706599, 0.27985847, -0.0387773775, 0.2923098505, 0.3509228826, -0.3403607905, -0.065359883, 0.028662445, 0.7276576757, 0.1675364375, 0.544885993, 0.4693513215, -0.1701180041, 0.0131143825, -0.7526277304, -0.3585913479, -0.4539975226, 0.3936269283, 0.0946287662, -0.8519352078, 0.4087953568, 0.0409354717, 0.1315349489, 0.3103729486, 0.7155821323, -0.0158850607, 1.0124672651, 0.5710338354, -0.4338745773, 0.2575258613, 0.161250338, 0.4430474043, -0.629843533, -0.0571642183, -0.4407067895, -0.7810283303, -0.7742725611, -0.1332708001, 0.3738723993, -0.5307071805, -0.2607604563, 0.0077105537, -0.6858419776, 0.5720412135, 0.5103026032, -0.0911309645, 0.0058943131, -0.1079645753, -0.231310457, -0.1038904041, -0.1973302364, -0.2911665142, 1.2037130594, 0.5194479227, 0.8360360265, 0.2216839641, 0.4132062793, 0.2403301597, 0.347966224, -0.4886672199, 0.3193171918, -0.3946014345, -1.0792111158, -0.5031987429, -0.1846808344, -0.962205112, 0.3038084507, -0.2026063353, -0.8664503098, 0.4168420434, 0.0287888069, -0.3902539313, 0.4229822457, -0.4180010855, 0.4467878044, -0.5347637534, -0.0675385818, 0.120640412, -0.3184501827, 0.7308140397, -0.1973577738, 0.353592068, -0.4785450101, 0.1148321107, 0.5550810695, -0.6957390904, 0.7076727152, -0.1864814907, -0.057095442, -0.33412081, 0.1594816595, 0.6514665484, 0.2338684797, -0.6876726151, 0.4440416098, 0.0809363797, -0.1323862523, -0.1654037088, 0.571831286, -0.7120653391, -0.6442257762, -0.4429794252, -0.5953959227, -0.2822757065, 0.2487929761, 0.4729318619, 0.0051248511, -0.1819907725, -0.0416352749, 0.2231503874, -0.3588490486, -0.1998593956, 0.5417255759, -0.4278788567, -0.0767134726, 0.6243482232, 0.2306637913, 0.104314059, -0.4532395601, 0.2536382377, -0.1652727723, -0.0619615801, -0.5033198595, 0.556030333, -0.2983608246, -0.009708819, -0.4967429042, -0.3961907327, -0.3577071726, -0.2654744685, -0.14923051, -0.0524619967, -0.025614433, -0.2444509566, 0.3331017196, 1.0618523359, 0.3450744152, 0.143377319, 0.0487223454, 0.2694950998, 0.7317498326, 0.6759209633, -0.1680014431, -0.3482451439, -0.1261556298, 0.0506418757, -0.0553545468, -0.8532668948, 0.3678898513, -0.0272287894, 0.7752561569, 0.4491145313, -0.069925867, 0.2384582013, -0.5314334631, 0.7648604512, 0.2256287038, -0.5443136692, 0.314206332, -0.4112812281, 0.019744914, 0.7579950094, 0.2869847715, -0.6615264416, -0.4104368389, -0.4814044833, -0.9794302583, 0.9308671355, -0.086597167, 0.3079373837, -0.1209467128, 0.2812311649, 0.2777421176, 0.2921380997, -0.6932744384, -0.7106829882, 0.3439146876, 0.049196355, 0.0053494759, -0.7294605374, -0.2302485406, -0.3377657831, 0.5138759017, 0.1327565163, 0.0939039737, 0.0572469868, -0.0128265759, -0.0544857942, 0.3226676881, 0.9533051848, 0.6983092427, -0.0883768946, 0.0587620214, 0.5221583843, -0.5183108449, 0.3592058122, -0.115807265, -0.0068271933, 0.4772062302, -0.0901277736, 0.8725460768, 0.1355037093, -0.4248278439, 0.3491854072, -0.1015239507, -0.5391385555, -0.374196291, 0.0473854728, 0.1622384489, 0.0665230304, 0.2493854612, -0.3385596275, -0.0504325628, -0.6144946218, -0.2986238003, 0.5806658268, -0.5401126146, 0.0650609583, 0.8415805697, 0.4409967065, -0.4098498225, 0.6074596643, -0.2547258139, -0.4698108137, 0.733507812, 0.3585211635, 0.7387559414, -0.3678436279, 0.2352463752, 0.3292461932, 0.1834124178, -0.3015018106, 0.1239857972, 0.424341172, -0.6412898898, -0.1570783406, -0.636819303, -0.7120274305, 0.0234314464, -0.3699110448, 0.5018263459, -0.65348351, -0.4619728923, 0.1381492317, -0.5023339391, -0.9205277562, 0.2405194938, 0.4009415209, 0.6912629008, -0.8318954706, 0.6995273232, 0.8958456516, -0.1015466154, -1.1097474098, 0.0260035954, 0.1553350389, -0.8735682368, 1.2904247046, -0.0505803227, 0.2172739357, -0.2590482533, -0.1078451052, -0.9579465389, 1.1538062096, 0.823552072, -0.7367666364, -0.3616060913, 0.146529302, 0.2300604135, -0.4076145887, 0.8750063181, 0.6082417369, 0.6488905549, -0.3487548828, -1.4101961851, -0.1494143456, 0.1260541528, 0.1758373678, 0.0488518924, -0.5445938706, 1.1744619608, -0.4578432441, 0.0286501776, -0.2887775898, 0.2191901654, 0.5472128391, 0.3049488664, 0.713724196, 0.0592345148, 1.198450923, 0.0011478058, 1.1320924759, -0.4772489965, 0.3880367577, 0.7774035335, -0.5285797119, 0.0719658509, 0.226305455, -0.4472515583, 0.8909878135, 0.6073525548, -0.2395059764, 0.1541826874, 0.4894518256, -0.0777021423, 0.0548671596, -0.3201335669, -0.6975223422, 0.4385498464, 0.1822871119, -0.8145487309, 0.0323562063, -0.2941396236, 0.0420089513, -0.1924056411, -0.2741461992, 0.3023293614, 0.237617895, -0.5427181125, 0.1897275448, -0.1363180429, 0.8894119859, -0.5353696346, 0.0863203034, -0.0785519257, -0.1350208223, -0.4785366952, -0.6317769885, 0.0049741119, -0.0247975234, -0.5365207791, 0.0023303642, 0.5158125758, -0.3559568524, -0.7054436207, 0.2553019226, 0.3235228956, 0.2934964597, 0.0477313474, -0.4523593783, -0.2952768803, 0.1338322163, -0.1065403596, 0.3793412447, 0.0986936241, -0.0309424289, 0.5929406285, 0.6488519907, 0.7321391702, 0.0193954222, 0.3337201476, 0.4267118871, -0.755243659, -0.8288119435, -1.0164325237, 0.1818058193, -0.1476003081, -0.3530245423, 0.3450739384, 0.3974499404, 0.5276022553, -0.1467546076, 0.6766896248, 0.2385540605, 0.6732940078, -0.4394350648, 0.8310865164, -0.474588722, 0.348995477, -0.5580742955, -1.0979623795, 0.1925574392, 0.3463155627, -0.5169167519, 0.5965427756, 0.6520899534, 0.6638239622, -0.0580833182, -0.1105745733, 0.5804510713, 0.1084666625, 0.0962280482, 0.284466356, 0.3088474274, 0.0434098095, 0.2719624937, -0.0647013038, 0.1214679256, -0.8300228119, -0.7509582639, -0.4988870025, -0.0100648077, -0.3892373443, -0.3760464489, 0.0288503896, 0.7585828304, 0.9473868012, -0.6999801397, -0.3891386092, 0.444431901, 0.2733278275, -0.0225480348, -0.2447093278, -0.0180347152, 0.0706184432, -0.6657118201, 0.4352312982, 0.0118614258, -0.2069617808, -0.31888327, -0.0129877245, -0.0384685956, -0.0510560423, 0.2369320989, 0.3850337863, -0.9311541915, -0.4087423682, -0.3037768602, -0.5207235217, -0.3343777061, 0.8882459402, -0.5323355198, 0.5446295142, 0.1059926897, 0.5372114182, 0.1672451049, 0.0015018689, 1.0063376427, -0.671203196, 0.1140991151, 0.0269092023, 0.4780349135, 0.0444836542, -0.8119513392, 0.7673772573, 0.1490923911, -0.8227194548, -0.9237524867, 0.1948650926, -0.6703152061, -0.217479676, 1.3306150436, 0.4763685167, 0.1429815441, -0.1320132613, -0.2532380223, 0.0874517113, -0.4834536016, 0.6719740629, 0.814606607, -0.1411914527, 0.0297357719, -1.1579222679, 0.438739568, 0.6110960841, -0.1805212349, -0.0487072878, 0.1855568588, 0.5890653729, -0.1517053992, 0.8705316782, 0.2393266857, 0.4662998617, -0.3196471632, 0.3278457224, -0.1273716092, 0.2339993417, -0.2750437558, -0.2735644579, 0.5241699815, 0.0733264461 ]
http://arxiv.org/abs/2406.12230v1
http://arxiv.org/pdf/2406.12230v1
MCSD: An Efficient Language Model with Diverse Fusion
2024-06-18T03:08:01
2024-06-18T03:08:01
Hua Yang, Duohai Li, Shiman Li
cs.CL
cs.CL, cs.AI
Transformers excel in Natural Language Processing (NLP) due to their prowess in capturing long-term dependencies but suffer from exponential resource consumption with increasing sequence lengths. To address these challenges, we propose MCSD model, an efficient language model with linear scaling and fast inference speed. MCSD model leverages diverse feature fusion, primarily through the multi-channel slope and decay (MCSD) block, to robustly represent features. This block comprises slope and decay sections that extract features across diverse temporal receptive fields, facilitating capture of both local and global information. In addition, MCSD block conducts element-wise fusion of diverse features to further enhance the delicate feature extraction capability. For inference, we formulate the inference process into a recurrent representation, slashing space complexity to $O(1)$ and time complexity to $O(N)$ respectively. Our experiments show that MCSD attains higher throughput and lower GPU memory consumption compared to Transformers, while maintaining comparable performance to larger-scale language learning models on benchmark tests. These attributes position MCSD as a promising base for edge deployment and embodied intelligence.
[ -0.6943216324, -0.8420631886, 0.3602204025, 0.2349560857, -0.0540595464, 0.3976571858, -0.1615677774, -0.3270709217, 0.2098591924, 0.5672050714, -0.6444586515, -0.4536091089, -0.6010228992, -0.1374083757, -0.4149491191, 0.8370666504, 0.3902262151, -0.1181195974, -0.0211210009, -0.2500385642, -0.157924369, -0.1421384364, -0.6377281547, -0.3434071541, 0.2907138467, 0.1452111006, 1.0429981947, 0.9323854446, 0.3936112225, 0.3587714434, -0.1100165099, 0.0609117635, -0.4260027409, 0.169205904, -0.3545506597, -0.1735457778, -0.5320512056, -0.1655887067, 0.6284148097, 0.9740458727, -0.2070115954, 0.1211299598, -0.1494615674, 0.3812533319, -0.6706359386, -0.1184258685, -0.811927855, -0.1857595146, -0.0906372666, 0.3181152642, -0.5002629161, -0.0630657673, 0.1090318561, -0.3029366732, 0.3940666616, -0.2670039237, 0.6258594394, 0.368753165, -0.3585935831, -0.2806625664, -0.7788058519, 1.0273424387, -0.5911232829, 0.8636612296, 0.1932065934, 0.5378531218, -0.1140959114, -0.9758611321, -0.6324737072, -0.1107987911, 0.2192165107, -0.0626600981, -0.0398328416, 0.175920859, 0.1713730991, 0.3464396596, -0.3741599321, 0.3079919517, -0.115861319, -0.3554124832, 0.5362330079, 0.2571669519, 0.5098828673, -0.5053569078, -0.3709399402, -0.2072492689, -0.3490474224, 0.067640014, 0.2509988844, 0.6146444082, -0.2280100435, 0.5562705398, -0.048543226, 0.7596590519, -0.3091650009, -0.4509204924, 0.2150224596, -0.4010121524, -0.0666746125, -0.1315289438, 0.6653651595, 0.0451913476, -0.1022480503, -0.1462899894, -0.1394160688, 0.4011922181, 0.3144079149, -0.7424939871, -0.2249514908, 0.2993042767, -0.4858787656, 0.1419958919, -0.1536082476, -1.1683585644, -0.4194819331, -0.1856371611, 0.0209592208, -0.6113325953, -0.5156980157, 0.0085805757, -0.2937209308, 0.0259019695, 0.1044378057, -0.9869977236, 0.5491294265, 0.7549420595, 1.0097110271, -0.3839032352, -0.2697764933, -0.5344253778, 0.0373645015, 0.0960806161, 0.6952386498, -0.8563444614, -0.5505781174, -0.3034979701, -0.3739920259, 0.0616599284, -0.343685627, 0.4917449057, -0.2162602544, -0.2511855662, 0.0690064952, -0.2540730536, -0.0357109345, -0.1004818827, -0.8719141483, 1.1610865593, 0.2041296959, -0.6545830965, 0.1636765897, -0.6090479493, -0.41708529, 0.1571794897, -0.2014182657, -0.2417007983, 0.1234780774, 0.381131798, 0.5443570614, -0.3510406017, 0.3269050419, -0.5811294317, -0.1543120146, -0.0107199969, -0.5832805634, 0.6346509457, 0.3262297809, -0.2287839651, -0.0483407304, -1.0727739334, -0.0889329836, 0.0379867069, -0.2435514927, -0.3359230757, 0.1964543164, -0.038666252, 0.3421275914, -0.0578055009, -0.7316223979, 0.0600565486, -0.109390147, 0.4584137499, 0.5751547813, -0.1409211308, 0.708093226, -0.0438139364, 0.4654535353, 0.0156355631, 0.0137634296, -0.5311214924, -0.5991068482, -0.5346153378, -0.9165185094, 0.1782965958, 0.3315984309, -0.9176974893, 0.2879291773, -0.5244888663, -0.6806705594, -0.9701142907, 0.1928682029, 0.3014322817, 0.551841557, 0.601552248, -0.0202199928, -0.4604658484, -1.0212129354, -0.105968155, 0.1148119047, -0.2847682536, 0.1601643264, 0.2596865594, -0.537432611, 1.1469714642, -0.5632505417, 0.0155533683, -0.6244407892, 0.2520337999, 0.0475637577, 0.3405945301, 0.3588179946, -0.8587489128, -0.1766272336, -0.0640227273, -0.3983709812, -0.1576166302, -0.2405590415, -0.0879679099, 0.0624905452, 0.4335104823, -0.683382988, 0.2562987208, 0.8312449455, -0.1351572424, 0.2029082626, -0.0825800225, -0.1577105522, -1.0620658398, 0.087766923, 0.0428316668, -0.2108553648, -0.7419647574, 0.0486769788, 0.144878611, -0.3889524639, -0.5309448838, 0.5878466368, -0.4380614161, -0.2594694197, -0.1885674745, 0.52308321, -0.1196570694, 0.5722434521, 0.0162566882, 0.5431147814, 0.4155235589, -0.9219615459, 0.1675711423, 0.0314244851, -0.0565806441, 0.6110526323, -0.4264569879, -0.1281479597, -0.2328027934, 0.2534272075, -0.9433582425, 0.0332053937, -0.2615291476, -0.236878261, 0.3093990088, -0.0037282666, -0.3529073894, -0.474327147, -0.2420524806, 0.3421779871, 0.599298656, -0.6403462291, 1.1746203899, 0.5907609463, -0.1881206483, -0.6000913978, -0.6406263113, -0.0613742545, 0.1221535876, -0.631911099, 0.5294821262, 0.1215899959, -0.0808608606, 0.0185494535, -0.0009860767, 0.181693837, 0.1838525832, 0.3798404932, 0.0696025193, -0.1577455699, 0.2542058825, 0.2699526548, -0.3868231773, -0.3470006287, -0.0028615633, 1.0851353407, -0.1433442533, -0.590005517, -0.2896132171, 0.5371293426, 0.8100143075, -0.402269572, 0.7088350654, 0.7533057928, -0.43258214, -0.5075085163, -0.5728123784, -0.0185368787, -0.4755139053, 0.7140650153, -0.560321033, -0.6144961119, 0.7443677187, -0.3760692179, 0.1017403454, 0.7219408751, 0.3977010846, 0.125415653, 1.2804254293, 0.7190858722, 0.0644517541, 0.3731794953, -0.428022176, 0.3055182099, -1.0632278919, -0.2577885389, -0.618721962, -0.2960851789, -0.571316123, -0.4037578702, -0.0071357149, 0.0589037091, -0.186118573, 0.3324535191, -0.3240512908, 0.2344237268, 0.2876653075, 0.0612888001, 0.2098100334, -0.145592317, -0.3072001934, -0.246883586, -0.6154022217, -0.4246160686, 0.8173322082, 0.6078185439, 0.8671498895, 0.1391662359, 0.490945369, 0.1774484068, 0.1844833344, -0.5526992679, 0.7277069092, -0.4900007546, -0.2009067535, -0.219485566, -0.4687320888, -0.6592345834, 0.3183411062, -0.3496640623, -0.7119541168, -0.1138389111, -0.0544719249, -0.0774172768, 0.6501913071, -0.6907026768, 0.6389756799, -0.1857442707, -0.0770306811, -0.3965896368, -0.6578461528, 0.4367287755, 0.0449365526, 0.2354983538, -0.2307514101, -0.1447755545, 0.5027300715, -0.2509429455, 0.7083711624, -0.0817916617, 0.138618052, 0.084393166, 0.170968011, 0.2159829885, 0.0286854524, -0.1476408392, 0.2604599297, -0.4879198968, -0.4199124575, -0.7836164236, 0.825571239, -0.6273603439, -0.3024255335, -0.0720852092, -0.7156009674, -0.1418176591, 0.2005552053, 0.1672642082, 0.6598895788, -0.1419795752, 0.1277309209, 0.6575730443, -0.3609423637, 0.8774869442, 0.0571652912, -0.5486320257, -0.5084012747, 0.9918925166, 0.1478653401, 0.8252376318, 0.1942884028, -0.1015231386, -0.3651179075, -0.4457269013, -0.6008656025, 0.3765819669, -0.7944805026, -0.1833702922, -1.2480865717, -0.4176341891, -0.250910759, -0.321331799, -0.8507024646, -0.4620055556, -0.1132720113, -0.0933059379, 0.1745362729, 0.6536226869, 0.1327824146, 0.418515563, -0.766962409, 0.8607954979, 0.2649548352, 0.5888695121, 0.200168103, -0.1656904817, 0.0385602824, 0.2230665982, -0.2683428228, -0.706443727, 0.2915958464, 0.2784813344, 0.9180989265, 0.3073482215, -0.0706897527, 0.7733249664, -0.3457774222, 0.9959203005, 0.2435532212, -1.1451538801, 0.3084565997, -0.0190319493, 0.6446294785, 0.3926901817, 0.4291742444, -0.6247555017, -0.7128738761, -0.7175664902, -0.8511344194, 0.4723918736, 0.0071102935, 0.2189801335, -0.183562398, 0.0000924243, 0.263576299, 0.0409431756, -0.4870066345, -0.2630189955, -0.3443242908, -0.4552518129, -0.1227779016, -0.1714887917, 0.3004082739, -0.1502232254, 0.4854447842, -0.2594942749, 0.1919359267, -0.0407800376, -0.4098485112, 0.3808000088, 0.1551978141, 0.6442602873, 0.4644178152, -0.0726107433, 0.4845544696, 0.3196804821, -0.7403862476, 0.037917655, -0.0322540812, 0.0785513148, 0.1201612055, 0.3540067375, 0.7455649376, 0.4443508387, -0.6193093061, 0.1804871112, -0.1379189044, 0.3017399311, 0.2279458493, 0.0809972733, 0.4050340354, 0.1533481628, 0.4793030322, 0.287742883, -0.029256681, -0.4521614015, 0.4722596705, 0.4925071001, -0.4305574298, -0.083300516, 0.5470266342, 0.2693530917, -0.4592145383, 0.8752478957, -0.1435069144, -0.4939213097, 0.4746238589, 0.709185183, 0.7325541973, -0.4718565047, 0.4767847359, 0.1938190907, 0.1527907401, -0.0004756451, 0.1436517686, -0.0605830513, -0.5769507885, -0.447894752, -0.9115813375, -0.2332962155, -0.2771163881, -0.4818850458, 0.3138917983, -0.6203237772, -0.3075474799, 0.0665274262, -0.3045395315, -0.5639893413, 0.0846628249, 0.2383003831, 1.0800045729, -0.8622536063, 0.7506119013, 0.188017875, -0.286580503, -0.4493144751, -0.3541599512, 0.0308222175, -0.5723142624, 0.5942844152, 0.3274641931, -0.4384059012, 0.1797787845, -0.3387108147, -0.9582283497, 1.1041656733, 0.5588870645, -0.2328723669, 0.1625323296, 0.1570170224, 0.4861309826, -0.6435126066, 0.4605844915, 0.6760356426, 0.1803730279, 0.3689385056, -0.7734076381, -0.0161795244, -0.1714919955, 0.3895336986, 0.6025881767, -0.2699486911, 1.1281709671, -0.2510538101, -0.5038689971, -0.1686475724, 0.8820980191, 0.2539836764, -0.0501850434, 0.4128524065, 0.7523198724, 0.8347455859, -0.1536802799, 1.0478249788, -0.0615687408, 0.2465324253, 0.9050158262, -0.1744731069, 0.9935364723, 0.2725447416, -0.0397235788, 0.7543349266, 0.2403206229, 0.2088142186, 0.5595989227, 0.0914806426, -0.210186556, -0.2178481221, -0.2619452477, -0.2167321444, 0.5001562834, 0.5864607692, -0.2197922468, -0.4661900997, 0.2556137443, 0.1229601502, 0.1787332296, -0.4168052077, 0.5738713741, 0.0747073665, -0.5763167739, 0.2843664587, 0.0650358051, 0.7841745615, -0.8056489229, -0.141373381, -0.1401140243, 0.3669441044, -0.1528433114, -0.7573230863, 0.3574133813, -0.2256132215, -0.2037124485, -0.2308036387, 0.5519114137, -0.4555000961, -0.5589607954, 0.5250912905, 0.2050989419, -0.2038655579, 0.1422904432, -0.5780333281, 0.2728296518, -0.156232208, 0.0426840261, 0.2612789571, 0.0294506494, -0.001952566, 1.2181731462, 0.7270357609, 0.0986283422, 0.3853309751, 0.0271805767, 0.8059500456, -0.7051121593, -0.5853666067, -0.9096018672, 0.9267276525, -0.339653939, -0.2353729755, 0.4870680571, 0.3608129025, 0.5583791137, 0.1666393131, 0.6188386083, 0.0407021232, 0.4771846533, -0.6142451167, 0.5935993195, -0.2269538045, 0.250883013, -0.334998697, -1.0737022161, -0.3421780765, 0.2939758599, 0.08504498, 0.1396262199, 0.6898264289, 0.6078265905, -0.3622354567, 0.2551409006, 0.2059195042, 0.0376263782, 0.6910873652, 0.4221063852, 0.3438429534, -0.2275765538, 0.4587699175, -0.3070332706, -0.2677205205, -0.0557429306, -0.9530658722, -0.7532988191, -0.7379378676, -0.147884652, -0.2416646183, -0.4171651006, 0.8853510022, 0.6552725434, -0.6584047079, -0.127899304, 0.0172001347, 0.3379768133, -0.2684143186, -0.2088271827, 0.3515713513, -0.3758862913, -0.664458096, 0.3189011812, 0.5710883141, 0.0880276039, -0.7172112465, -0.1840422302, -0.4465112686, 0.0361228883, 0.6261240244, 0.223707661, -0.809252739, -0.240693897, 0.124825649, -0.3765712082, -0.0627723485, 0.7638929486, -0.9698076248, 0.6281552911, 0.4702387452, 0.9742039442, 0.5673184395, -0.0408395156, 0.7622492313, -0.5882522464, 0.235703975, 0.187583372, 0.3311956823, 0.5472098589, -0.0744970217, 0.3154288828, 0.1308757067, -0.1829690039, -0.8472394943, 0.579767406, -1.0403487682, -0.3210718632, 0.945189774, 0.0839737803, -0.2319579571, -0.2236403972, -0.102092348, 0.2284980863, -0.2331049293, 0.3969935477, 0.4511906505, -0.003694921, -0.3573885858, -0.4138543606, 0.4696782529, 0.1733978242, -0.6166792512, -0.0401039347, 0.1885310113, -0.0435662232, 0.6159807444, 0.3329120874, -0.0431646705, 0.0252523776, 0.3967919946, 0.1636534631, -0.0858035982, -0.4691987634, -0.3127349615, 0.3991397321, -0.3620543778, -0.0483075827 ]
http://arxiv.org/abs/2406.12223v1
http://arxiv.org/pdf/2406.12223v1
ToxiCloakCN: Evaluating Robustness of Offensive Language Detection in Chinese with Cloaking Perturbations
2024-06-18T02:44:56
2024-06-18T02:44:56
Yunze Xiao, Yujia Hu, Kenny Tsu Wei Choo, Roy Ka-wei Lee
cs.CL
cs.CL, cs.CY
Detecting hate speech and offensive language is essential for maintaining a safe and respectful digital environment. This study examines the limitations of state-of-the-art large language models (LLMs) in identifying offensive content within systematically perturbed data, with a focus on Chinese, a language particularly susceptible to such perturbations. We introduce \textsf{ToxiCloakCN}, an enhanced dataset derived from ToxiCN, augmented with homophonic substitutions and emoji transformations, to test the robustness of LLMs against these cloaking perturbations. Our findings reveal that existing models significantly underperform in detecting offensive content when these perturbations are applied. We provide an in-depth analysis of how different types of offensive content are affected by these perturbations and explore the alignment between human and model explanations of offensiveness. Our work highlights the urgent need for more advanced techniques in offensive language detection to combat the evolving tactics used to evade detection mechanisms.
[ -0.0347197689, -1.0496404171, 0.0063267383, 0.2144743502, -0.4546781182, 0.1055227071, -0.1308407485, -0.6268938184, -0.0659370497, 0.64903754, -0.2665204406, -0.6108970046, -0.8400906324, 0.0922459289, -0.5583461523, 0.8617831469, 0.1985972971, 0.0089963581, 0.5208500624, -0.2314565927, -0.0610196069, -0.7143769264, -0.7719764709, -0.05119735, 0.7609624267, 0.2007974237, 0.8707951307, 0.4214617312, 0.5929815173, 0.2833778262, -0.3894129395, 0.0041893763, -0.700181663, 0.3941178024, 0.1653069407, -0.2421472371, -0.3388497531, -0.2565205991, 0.4910791814, -0.0388025045, -0.0158168674, -0.1310486048, -0.0580605268, 0.2528506219, -0.9277134538, -0.0625605434, -0.8130114675, 0.2575776875, -0.5517299771, 0.3009762764, -0.5565832853, 0.0242432822, -0.1000772193, -0.4065976739, -0.368730098, -0.3020627201, 0.5826681852, 0.0322516076, -0.3902681768, -0.4481717944, -0.5818657279, 0.7697945833, -1.1226540804, 0.3662921488, 0.4027507603, 0.1044801995, -0.1272051483, -0.6054195166, -0.7060912251, -0.5891094208, 0.0818672851, 0.369238615, -0.3875226676, 0.0353198946, 0.2231983393, 0.3155495822, -0.4450432658, 0.5311704278, 0.1355232894, -0.488532722, 0.822435081, 0.3257331848, 0.868314743, -0.1999078095, -0.2501084208, -0.1519080549, -0.6297900081, -0.0994977802, 0.8707016706, 0.4368844628, -0.1663146168, 0.3804542422, 0.1012903601, 0.4393841922, -0.1308834404, 0.0203953739, -0.0091512548, -0.2154702842, 0.0279231369, 0.0351925492, 0.9566456079, 0.2992351949, 0.217257008, 0.0478158481, -0.3981620371, 0.1012672111, 0.1703474224, -0.6648057103, -0.4175648689, 0.1335116029, -0.271295011, -0.6735583544, -0.0265210234, -0.7865152955, -0.9445062876, 0.2771130502, 0.0685693473, -0.333437413, -0.4895118177, -0.1541338116, -0.11808718, 0.2280763835, 0.1902200133, -0.7704157233, 0.0896153003, 0.6522798538, 0.7169095278, -0.3713827729, -0.2060168535, -0.3450376689, 0.0278266799, -0.438560158, 0.4323013425, -0.7423235774, -0.2059509456, 0.386533469, 0.0461088158, 0.3728505075, -0.7440372109, 0.7545350194, -0.6065970063, -0.0521518588, -0.1765271872, -0.1560946405, -0.0484739318, 0.3179771006, -0.7224996686, 0.8435587883, 0.1706207544, -1.200245142, 0.0978360325, -0.5250546336, -0.6246285439, 0.1873968989, 0.2291903794, -0.6337584853, -0.0506250747, -0.073434189, 0.25001809, 0.0953131244, -0.1101956218, -0.5733600259, -0.3897995353, 0.4141125977, -0.4282459319, 1.0783526897, 0.5310189128, -0.4920052886, 0.3857110441, -0.4635148644, -0.4872822762, 0.5342595577, -0.4651219547, -0.654188931, 0.1676672697, 0.4806267619, 0.1135138795, 0.1742743403, -0.7285217643, -0.2980403304, -0.5420700312, 0.431629926, 0.9249085784, -0.3522821069, 0.0425470211, -0.2285947055, 0.5203966498, 0.2157171071, 0.344861567, -0.1271773428, -0.4852996767, -0.2716201246, 0.0137230055, -0.1486309916, 0.7411206961, -0.8227784038, 0.2672850192, 0.0973647982, -0.3969368339, -0.1077650562, 0.0087484969, 0.3983891308, 0.2365598381, 0.0391626693, -0.1884041131, -0.6492165327, -0.704076767, -0.6167672873, -0.3871575892, -0.2140325159, 0.4139255881, 0.2059907168, -0.3507065177, 0.2567578852, 0.0037314871, -0.095753774, -0.2105588168, 0.0399828851, -0.0539356209, 0.1819516867, 0.5293812752, -1.046764493, -0.9736744761, 0.1670103371, -0.5792074203, -0.538521409, 0.1140214652, 0.1619957387, 0.2047856003, 0.4840222001, 0.0140680736, 0.3442099988, 0.9762992859, -0.3091060817, 0.7801730037, 0.3703229129, 0.2366823703, -0.6918153167, -0.0830866098, -0.0700964928, -0.2150795758, -1.1098035574, 0.6244770885, -0.0323679782, -0.0146067571, -0.8185306191, 0.4491658807, -0.0862449855, 0.443102628, -0.3845925331, 0.3031541407, -0.4188359082, 0.1638161987, -0.0976569057, 0.5006672144, 0.3131990433, -0.3454961181, 0.6785811186, 0.1430025548, -0.210071221, 0.1458678246, -0.4087780416, 0.327654779, 0.0035866052, 0.1327271014, -1.2237126827, -0.3428948224, 0.7040482163, -0.326962769, 0.2309655845, -0.1901063025, -0.5993890166, -0.3572964668, -0.5779109001, 0.7812765837, 0.3471026421, -0.6891217828, 0.4850986898, 0.6551672816, 0.1213603467, -0.7257767916, -0.8631978631, 0.267119348, -0.5441075563, -0.5834933519, -0.0497537479, -0.1614819318, -0.2785978615, -0.5712533593, 0.0343345776, -0.1508581936, 0.3611161411, 0.0899469182, 0.2216670215, -0.3063471615, -0.2900097668, -0.1713995785, 0.4504164159, 0.3613444865, -0.0485304967, 0.5150383115, -0.0070430562, -0.1265979558, -0.3791655898, 0.0079009142, 0.7637056708, 0.096217595, 0.6287969351, 0.6259784698, -0.361428678, -0.0103303557, -0.4433470368, -0.0701528043, -0.5701862574, 0.723654449, 0.1084472016, -0.8745170236, 0.8343808055, 0.2303305417, -0.0023121047, 0.379095614, 0.6067224741, 0.1721086353, 1.0978964567, 0.2017616183, -0.3298602104, 0.7659783959, 0.345051527, 0.2734884918, -0.764752388, -0.0968012959, -0.360338062, 0.0068823765, -0.925888896, -0.0577460863, 0.1478618085, -0.430531919, -0.5309907198, 0.4046620429, -0.3770919442, 0.4786215425, -0.2343741208, 0.4080329537, 0.1037232354, 0.1008651257, -0.0772475377, -0.1418080181, -0.5458363295, -0.3170295358, 0.8962897658, 0.7250909805, 0.7412665486, 0.3397538066, 0.152219072, 0.3994995952, 0.5163290501, -0.8034332991, 0.4072670341, -0.8304265141, -0.9322434068, -0.4031087756, -0.4407888949, -0.7870816588, 0.2011061162, -0.250539422, -0.9745937586, -0.0525578335, 0.2142800093, -0.07467518, 0.8731896281, -0.3926661611, 0.6495623589, -0.3661523461, -0.5818746686, 0.1249984875, -0.3443176746, 0.6985169649, -0.3191432357, 0.3970244229, -0.0304200612, -0.1986721754, 0.6756082177, 0.0703611225, 1.0489127636, -0.0228058491, -0.7191616297, 0.256619662, 0.5170396566, 0.5379347205, -0.2348777205, -0.3199504018, 0.5589246154, -0.1552745402, -0.4509943426, -0.3346641362, 0.5521209836, -0.2972240746, -0.7165020704, -0.2399238646, -0.6215748191, 0.0905397385, 0.3457570672, 0.5020213127, -0.0074112406, -0.2580978274, 0.015458703, 0.5421401262, -0.7857192159, 0.1414197534, 0.4891230166, -0.4752499163, -0.122066088, 0.8896849751, -0.0260824151, 0.3605462909, 0.2400771528, 0.5854415894, -0.0937930718, -0.6890692115, -0.1639958322, 0.0332306139, -0.7346181273, 0.0399189256, -0.4109425247, -0.4197459221, -0.4892293513, 0.137659654, -0.411564976, 0.0487730168, -0.1445728838, 0.287568599, -0.0993649587, 1.0202592611, -0.0434546284, 0.4290644228, -0.6254982948, 0.1568248719, 0.1340719014, 0.3889936805, 0.1736814231, -1.0762997866, -0.2139313966, 0.2557152808, -0.3455348611, -1.0938981771, 0.3615411222, -0.1228850409, 0.4213371873, 0.9395619631, 0.325045377, 0.2445980012, -0.2842838764, 0.966113925, 0.1353689581, -0.8830491304, 0.5001425147, -0.6806503534, 0.3191145957, 0.0082896892, 0.5632240176, -0.7287576795, -0.8270148039, -0.3357034326, -0.7267677188, 0.5966204405, 0.2367698401, 0.7114075422, -0.0870478973, 0.321892947, -0.0242353212, -0.1444412321, -1.0730093718, -0.472684443, -0.4073265493, 0.0692085549, 0.0447850227, -0.627135396, -0.05433321, -0.1038513854, 0.3769666255, 0.1543582827, 0.0911700726, 0.0045763021, -0.0780037269, -0.2195042521, 0.0436802134, 0.743891418, 0.309263289, -0.0047510406, 0.1778986007, 0.452404201, -0.8451254964, -0.0328083634, -0.434542805, -0.1120899916, -0.1599066556, 0.5512313247, 0.5681684613, 0.0216697156, -0.8276720047, 0.6755859256, -0.0575373061, 0.0877004713, -0.2854851782, 0.0601038896, -0.2480805218, 0.0035469607, 0.0708311349, -0.2416053861, 0.2716184556, -0.6041274667, 0.1892133206, 0.4894371033, -0.4935628474, -0.5046349764, 0.6352782845, -0.0604897477, -0.4811738133, 0.563551724, 0.1055255607, -1.1112964153, 0.5404653549, 0.7780528665, 0.7608698606, -0.6807284951, 0.1727514416, 0.4964778125, 0.4633725584, 0.3390407264, -0.0557698309, 0.1003052518, -0.9979602098, -0.1067195162, -0.3214116991, -0.2623561919, 0.6255843043, -0.3292627931, 0.2262200564, -0.9197583199, -0.1605671793, -0.1020629331, -0.4216305912, -0.0211051572, -0.0095409108, 0.718287468, 0.7884741426, -0.9298321605, 0.4790509343, 0.4712255299, -0.1082490161, -0.6238649487, 0.3257859647, 0.3526952267, -0.8128046393, 0.5648493767, -0.1251929551, -0.1100623384, -0.4819555581, -0.9558137655, -0.362983793, 0.3619980812, 0.4509589076, -0.3888971508, 0.2361139357, 0.2442777604, 0.7592760921, -0.139271155, 0.2615094483, 0.628700912, 0.5658019185, 0.0213051401, -0.684145391, 0.2510276735, -0.2516080737, -0.1186841577, 0.0136604477, -0.7683941722, 0.9459581375, 0.1170263663, -0.5423176289, 0.1090527996, 0.3127381802, 0.0470417626, 0.3666737378, 0.5734548569, 0.2409171909, 0.4229633808, 0.0220161937, 1.0571650267, 0.0832529142, 0.1483391672, 0.9003648758, -0.1634650975, 0.8346446157, 0.1781215966, -0.1775531769, 0.6892986298, 0.5741470456, -0.1336711943, 0.1629292667, 0.5072849989, -0.4374460578, -0.1646137238, -0.2446290702, -0.224541977, 0.73871243, 0.4304718077, -0.197037667, -0.0409836583, 0.0792081729, 0.170621559, 0.2755280733, -0.2654672265, 0.8318380713, -0.0246463064, -0.1773555577, 0.7407491803, -0.0047401125, 1.0629805326, -0.5015922189, 0.1437600106, -0.2732061744, -0.0252367761, -0.3946774304, -0.811488986, 0.3238929808, 0.0406759791, 0.4005981088, 0.1925658137, 0.8035565615, -0.3211490512, -0.1625167131, 0.7978782058, -0.2781551778, 0.2253351212, -0.070309706, -0.7544231415, 0.3321063221, -0.0025368768, -0.076276727, 0.3318585753, 0.3431212306, 0.0197081827, 0.6902893782, 0.6466231942, 0.2806215584, 0.2313873321, 0.1510578841, 0.8383461237, -0.2884117663, -0.4606564343, -1.0007688999, 0.3387923241, 0.0466213264, -0.0139962295, 0.9260041118, 0.3963471949, 0.986240685, -0.0373642929, 0.6825524569, 0.1278626919, 0.13205567, -0.4095959961, 1.1835672855, -0.5990434289, 0.483625263, -0.6271893382, -0.7127038836, -0.695037961, 0.3964003921, -0.2412123978, -0.0119969202, 0.3436934948, 0.8970319033, -0.0318886638, 0.0279645734, 0.7580451965, 0.6893748045, 0.4528361261, 0.4356572032, 1.2466412783, -0.6239824295, 0.6097737551, -0.3711960614, -0.2054460049, -0.0750853196, -0.8661226034, -0.9688848853, -0.5173293948, -0.1946740448, -0.6091604233, 0.3558299243, 0.4650489986, 0.4388735294, -1.3140695095, -0.3652455509, 0.1589720696, 0.335051626, 0.1876555979, -0.233322382, 0.1103190035, -0.0245648939, -0.7558739781, 0.206177026, 0.1543966979, 0.0777517632, -0.1671470106, -0.2258872688, -0.2438974082, 0.2186770439, 0.8234273195, 0.3620994985, -0.9122593999, -0.3773997724, 0.0023802731, -0.1488521397, -0.0187734049, 0.8710787892, -0.0687833056, 0.6500233412, 0.5198674202, 0.7288935781, 0.0431631617, -0.0807427689, 0.294588536, -0.5314267278, 0.347985059, 0.3018054366, 0.1652049124, 0.3366635144, -0.7072502971, 0.1404650509, 0.1477741748, -0.5294488668, -0.9383558035, 0.3221459985, -0.6953257322, -0.4116832316, 1.3645079136, -0.4182874262, -0.1692385823, -0.3900880516, -0.3060924113, 0.3657953441, -0.3431071639, 1.0583688021, 0.7973672152, 0.1977229416, -0.2546019256, -0.2378677428, 0.4923396111, 0.4934482574, -0.4086303711, 0.4198689163, 0.2900156975, 0.1890042275, 0.1637729406, 0.1386408359, -0.3036989868, 0.4783247411, 0.0181941874, -0.3945063055, 0.0993678942, -0.1023818478, -0.4842633605, -0.0166239496, -0.0114080226, 0.0375408269 ]
http://arxiv.org/abs/2406.12221v1
http://arxiv.org/pdf/2406.12221v1
On-Policy Fine-grained Knowledge Feedback for Hallucination Mitigation
2024-06-18T02:43:49
2024-06-18T02:43:49
Xueru Wen, Xinyu Lu, Xinyan Guan, Yaojie Lu, Hongyu Lin, Ben He, Xianpei Han, Le Sun
cs.CL
cs.CL
Hallucination occurs when large language models (LLMs) exhibit behavior that deviates from the boundaries of their knowledge during the response generation process. Previous learning-based methods focus on detecting knowledge boundaries and finetuning models with instance-level feedback, but they suffer from inaccurate signals due to off-policy data sampling and coarse-grained feedback. In this paper, we introduce \textit{\b{R}einforcement \b{L}earning \b{f}or \b{H}allucination} (RLFH), a fine-grained feedback-based online reinforcement learning method for hallucination mitigation. Unlike previous learning-based methods, RLFH enables LLMs to explore the boundaries of their internal knowledge and provide on-policy, fine-grained feedback on these explorations. To construct fine-grained feedback for learning reliable generation behavior, RLFH decomposes the outcomes of large models into atomic facts, provides statement-level evaluation signals, and traces back the signals to the tokens of the original responses. Finally, RLFH adopts the online reinforcement algorithm with these token-level rewards to adjust model behavior for hallucination mitigation. For effective on-policy optimization, RLFH also introduces an LLM-based fact assessment framework to verify the truthfulness and helpfulness of atomic facts without human intervention. Experiments on HotpotQA, SQuADv2, and Biography benchmarks demonstrate that RLFH can balance their usage of internal knowledge during the generation process to eliminate the hallucination behavior of LLMs.
[ -0.5087830424, -1.2320599556, 0.5677331686, 0.1637101769, 0.1557707638, -0.1310216039, -0.4498018622, -0.4006104767, 0.1981409043, 0.6199948788, -0.717703104, -0.2838586271, -0.1246350259, -0.1907391697, 0.0663056672, 1.0706710815, 0.1123277321, 0.0307087973, -0.35273844, 0.1275713444, -0.3486360312, -0.4474270046, -0.5560855865, -0.6618559361, 0.4568190277, 0.518758893, 0.4972030818, 0.4276115894, 0.3746319711, 0.2271630168, -0.0750487223, 0.4548460245, -0.7488433123, 0.1489359885, -0.2207665443, -0.2262659073, -0.2856502831, -0.3390957713, 0.4631732404, 0.4978136718, -0.556887269, -0.173669681, 0.163604036, 0.5884742141, -0.7500974536, 0.2549914122, -0.6508515477, 0.2410346419, 0.1790353209, -0.5021457076, -0.5040114522, -0.6670694947, -0.0372634269, -0.4390103221, 0.1041010618, 0.0838240162, 0.8624815941, 0.4168455601, 0.0965034142, -0.417031914, -0.9239094853, 0.9003072977, -0.6530381441, 0.5468940139, 0.7295719981, 0.3929533958, -0.3489925563, -0.4811492562, -0.4934063554, -0.4470478892, -0.2097802013, 0.0110715218, 0.1166885123, 0.214826405, 0.2372045964, 0.3457580209, -0.2166424692, 0.2245763987, -0.2346832752, -0.5605932474, 0.4512887299, 0.0648896694, -0.1399907917, -0.1477234066, -0.4604977071, -0.2158713043, -0.7505825162, 0.0690528005, 0.269620508, 0.5032139421, 0.1126614213, 0.4019753635, -0.4864618778, 0.4040466845, 0.1030838341, -0.0528837182, 0.1475764662, -0.0865058228, -0.0416075625, 0.2948560715, 0.563629508, 0.2816364169, 0.1739100367, -0.4259787202, -0.6737957597, -0.0030289609, 0.2594045997, -1.0213791132, -0.008992224, 0.1576741934, -0.4447704256, -0.2730305493, 0.1065551639, -1.1382279396, -0.5831018686, -0.1788377166, 0.664675951, -0.3477047384, -0.2637693286, -0.0189076737, 0.0060318233, 0.3595815897, 0.2548710406, -1.0566035509, 0.457279563, 0.5750793815, 0.8450202346, -0.1553867459, -0.3848751783, -0.9583851695, 0.0529586226, -0.0062435344, 0.8840247393, -0.3606372774, -0.2518579066, 0.2443397343, -0.0879763067, 0.1173561662, -0.8233359456, 0.1972495914, -0.3111139834, -0.0750449151, -0.298350364, -0.5923284292, -0.2292771488, 0.5152531266, -0.4961165786, 0.838173151, 0.1065671146, -0.5138861537, 0.2242513001, -0.5874373317, -0.4126346409, -0.0661363602, -0.3789406717, -0.5450294614, 0.1490094662, 0.1776928306, 0.5630370975, 0.0079122987, 0.3616670966, -0.4730797708, -0.3768744469, 0.2585073709, -0.450034678, 0.2102551013, 0.1479490399, -0.6591069102, 0.4553284645, -0.8126555681, -0.0157435909, 0.0782810599, -0.3564144969, -0.1028971374, 0.1923287064, -0.0507929549, 0.1617722064, 0.0630444214, -0.5195118785, 0.066159375, -0.4283725321, 0.2301904857, 0.7693517804, 0.3145253658, 0.220022887, -0.6905668974, 0.3334985971, -0.1560945809, 0.2560452521, 0.1632554829, -0.2567037344, -0.7619974613, -0.0509160459, 0.0859909803, 0.4652162492, -0.6462338567, 0.4547191262, -0.0351364203, -0.226268962, -0.4165208936, 0.0276495833, 0.4850557148, 0.1758549809, 0.5831241608, -0.1416774839, -0.3278760612, -0.5417014956, -0.0640280619, -0.0102514066, 0.1322501749, 0.3754719198, 0.4203115404, -0.3791119158, 0.9379778504, -0.5099955797, -0.6350260377, -0.2764193416, 0.369317174, -0.2699009478, 0.3908319771, 0.0498480052, -0.3808293045, 0.1061013043, 0.1871874779, -0.5645082593, -0.1398244649, -0.3324580789, 0.0547256358, 0.5273965597, 0.5870836377, -0.5183432102, 0.4011156261, 0.3067788482, -0.2924081683, 0.574192524, -0.2880745828, 0.046140179, -0.4603439867, -0.0639291108, -0.2299080193, -0.3359207809, -0.4495378137, 0.1690162867, -0.2901828587, 0.3891081512, -0.5419106483, 0.6162228584, -0.1203236207, -0.3000790775, -0.4383172095, 0.1807683557, -0.3066189587, 0.8834155798, 0.1828770936, 0.52339077, 0.1963082105, -0.9158594012, 0.2677857876, 0.1164684594, -0.373829186, 0.4021580815, -0.2724919021, 0.095739767, -0.0429371186, 0.1440900117, -0.5120999217, -0.2179884911, 0.3456836939, -0.3401708007, 0.1206058413, 0.3226190209, -0.3141078353, -0.0337002091, -0.483414799, 0.1361172646, 0.3519273698, -0.6564521194, 0.5676781535, 0.3608539999, 0.0577922165, -0.3654558659, -0.574952662, -0.4829373956, -0.086674735, -0.2491884083, 0.2896146774, -0.2014314085, -0.3506012261, 0.0260577016, -0.1210272312, 0.012278459, 0.194780916, 0.1409561336, 0.0383039601, -0.0271032527, 0.1204180941, 0.0586742796, 0.0695044398, 0.2597425878, -0.0151823871, 0.9073122144, -0.1562632024, -0.2755396664, -0.3455917537, 0.0181524716, 0.4415036738, 0.0999858901, 0.6328810453, 0.8024678826, -0.4705402851, -0.5520784855, -0.5026601553, -0.8990448713, -0.4324303567, 0.3587796092, -0.3055977225, -0.9467697144, 0.5283046365, -0.2147682756, 0.1391669065, 0.3232457936, 0.6493771672, 0.2959729731, 0.8403693438, 0.2912183106, 0.0760545284, 0.3087700605, -0.2931140959, 0.1576837003, -0.6683145165, -0.5308819413, -0.3714473248, -0.159880355, -0.4946204126, -0.3411485255, 0.1023986563, 0.2000048161, -0.2297566533, -0.1729016453, -0.3538433909, 0.4221185148, 0.4914886057, 0.4840852916, 0.3626448512, 0.1003737524, -0.1623418033, 0.1628006399, -0.7353714705, -0.0570237823, 0.8140845299, 0.5477308631, 1.0523462296, -0.0025738399, 0.7910129428, 0.5601573586, 0.1295000166, -1.1136213541, 0.5614004731, 0.2782646716, -0.2394478172, -0.5720418096, -0.798786819, -0.6487216949, 0.1485075355, -0.3852818608, -0.7748049498, 0.0871562213, 0.2183489799, -0.6876679659, 0.3113392293, -0.1931233108, 0.5915552378, -0.2795803845, -0.5312363505, -0.6536866426, -0.4077020288, 0.392416507, 0.0424484983, 0.3505728543, 0.1641072333, 0.5673026443, 0.6996473074, -0.4482584596, 1.0165559053, -0.5351079702, -0.1817587018, 0.1769548953, 0.1179327592, 0.8870491385, -0.0578644946, 0.2303618491, 0.0139862625, -0.1448597163, 0.0430674069, -0.5786794424, 0.7817079425, -0.7136167288, -0.5750414133, -0.2985714972, -0.7020994425, -0.2908451259, -0.0647781342, 0.1358882636, 0.3991912901, -0.1712531447, 0.2730297744, 0.9721916914, -0.3502652347, 0.3487228155, 0.3936544359, -0.7999764681, -0.5482847691, 1.3850574493, -0.0413804688, 0.3709573448, 0.3138353527, 0.6114485264, -0.4046562314, -0.3325597644, -0.3380440474, 0.2015314549, -0.6776975393, -0.3427997231, -0.5976809859, -0.5198792219, -0.3737550676, -0.0641960576, -0.364266336, -0.3290165067, -0.1003336236, -0.0762406588, 0.4198572636, 0.8407883048, -0.3042335808, 0.2887794971, -0.6413357258, 0.369671315, 0.428594172, 0.4214464128, 0.2406944633, -0.4405097365, -0.3461815119, 0.1451939195, -0.5442922115, -0.6132162213, 0.1716194451, 0.2488028854, 0.6326468587, 0.6928540468, 0.1807651818, 0.5507321358, -0.1842546314, 0.499316901, -0.067539908, -0.8779330254, 0.4419215024, -0.0908843204, 0.0569978915, 0.3713326752, 0.132497862, -0.4128079116, -0.6031264663, -0.4430953264, -0.8313887715, 0.8250007033, 0.0821535662, -0.2249908, 0.1020347178, 0.2132040709, 0.2388344556, 0.2673751116, -0.8673040867, -0.0164770205, -0.1913265884, -0.0285021439, 0.3506435752, -0.1784382612, -0.1107725725, -0.2305472791, 0.9418432117, -0.2805820107, 0.2524112761, 0.1654895544, -0.2592530251, -0.2959122956, 0.3291037083, 0.830201149, 0.4202779531, -0.4130583405, 0.0851406083, 0.2290860564, -0.2654842138, -0.0440024287, -0.1381810457, -0.3321831822, -0.2235355973, 0.1022736058, 1.0373601913, 0.2687871158, -0.6791840792, 0.3960405886, 0.1165973395, -0.3480990529, -0.207311973, 0.1683450192, -0.3971999884, 0.4250796139, 0.1326497644, -0.1896770597, 0.0593895167, -0.7147556543, 0.5916119814, 0.5598263741, -0.5600448847, -0.0895040855, 0.3857730925, 0.1612352133, -0.207835108, 0.5609224439, -0.5169852972, -0.6832326651, 0.4591425359, 0.7914786935, 0.8229242563, -0.3361482024, 0.513884902, 0.3514594138, 0.3074689507, -0.3668608367, 0.4534104168, -0.1938757449, -0.7373253703, -0.2648798525, -0.9134864807, -0.4187306166, 0.391343087, -0.7145469189, 0.13890405, -0.7372953892, -0.0164116882, -0.5044214725, -0.1315146983, -0.3705343604, 0.0411885008, 0.0877422467, 0.4934611917, -0.8264951706, 0.734069705, 0.3250001669, -0.4917000532, -0.6650575995, 0.4114478827, -0.0343116783, -0.7812799215, 0.4948857427, 0.3750988841, -0.2788135409, 0.2338871211, -0.2659848928, -0.6247012019, 0.901761353, 0.080402337, -0.5782935619, 0.1165877655, 0.1938379109, 0.2084420919, -0.2372670919, 0.1687956303, 0.7302026153, 0.7498306036, 0.2037303597, -0.6971386671, 0.2883272171, 0.3238000274, -0.190025866, 0.3375355899, -0.5619637966, 0.5699386001, -0.3009235561, -0.1196955442, -0.0547766648, 0.7805832028, 0.4492705762, 0.3698706627, 0.6292176843, 0.7491208911, 0.800119698, -0.0873437524, 0.7059395313, -0.1542282701, 0.545814693, 0.9462126493, -0.23425439, 0.9123803377, 0.6794300675, -0.0140276756, 0.5941173434, 0.454308629, -0.1308623552, 0.7972640395, 0.549603343, -0.1820806265, -0.2414008081, -0.4638589621, -0.1973870993, 0.3320331872, 0.4817071855, 0.150930658, -0.3636002839, 0.3574831784, 0.0316610597, 0.0998860002, -0.551517725, 0.9657837152, -0.022065904, -0.7663466334, 0.7135205269, -0.1193215325, 0.7102603912, -0.5850148201, -0.3289013207, -0.3978012204, 0.4167833924, -0.4020736814, -0.4279402494, 0.4764296412, -0.1873301119, -0.1181905121, -0.0180823654, 0.6308985353, -0.6346933246, -0.1920072734, 0.4569637477, 0.326077193, 0.1854415387, -0.1290246546, -0.3474878371, 0.1419180185, 0.0460113287, -0.2939449847, 0.3861482143, 0.2692089975, -0.1491826326, 0.5901027918, 0.4741171002, 0.3903540969, -0.0125706419, 0.3294046521, 0.7420533895, -0.7074904442, -0.4522687793, -0.7889984846, 0.1292501241, 0.0507893935, -0.0038084721, 0.5108905435, 0.4202486277, 1.019375205, -0.0742196664, 0.6792601943, -0.0554333553, 0.2160153389, -0.9263620377, 0.8876604438, -0.6488339305, 0.2806198299, 0.0702566206, -0.999986887, -0.2304268628, 0.8455269337, 0.0394182578, 0.0105892513, 0.8785198927, 1.1167972088, 0.046295695, 0.0614584051, 0.435634017, 0.4514712989, 0.064562954, 0.3390765786, 0.9725740552, -0.0328471474, 0.4274701178, -0.3631219268, -0.2473620027, -0.4767302275, -0.5759741068, -0.9226903915, -0.4169376194, -0.21104756, -0.5326273441, 0.1115060672, 1.2653691769, 0.4041971266, -0.9867988825, -0.4057720304, -0.3967508078, 0.2143090963, -0.4898749888, -0.348400861, 0.2930009365, -0.7156632543, -0.3410311937, 0.4440101385, 0.1203825548, -0.1322772503, -0.7364619374, -0.5558117628, -0.0944609493, 0.1707382053, 0.5727161169, 0.3452706039, -0.8423050642, -0.3671401441, -0.1968086511, -0.0459144413, -0.0776247755, 0.8503107429, -0.8824945688, 0.1274178177, 0.4530158341, 0.9293048382, 0.3199388087, -0.140384391, 0.3459506035, -0.7150329351, 0.0373830721, 0.1372689456, 0.1984177679, 0.2071397007, -0.5030021071, 0.2740192711, 0.3426727057, -0.7286368012, -0.8468563557, 0.2313929051, -0.6995370984, -0.4751884639, 1.3616678715, 0.0145501867, -0.3133081496, -0.0271441564, -0.0929567441, 0.3777728677, -0.5530902147, 1.3798122406, 0.6062620878, -0.1763222218, -0.0945421532, -0.4814571738, 0.8035840988, 0.4613073468, -1.197685957, 0.2922314703, 0.6636217237, -0.1713941097, 0.0543493368, 0.4116547108, 0.1775508523, 0.1557851881, -0.1928072125, 0.296143502, -0.1490734667, -0.8454493284, -0.2873491943, 0.1588708758, 0.1329068393, -0.1627631634 ]
http://arxiv.org/abs/2406.12216v1
http://arxiv.org/pdf/2406.12216v1
Is persona enough for personality? Using ChatGPT to reconstruct an agent's latent personality from simple descriptions
2024-06-18T02:32:57
2024-06-18T02:32:57
Yongyi Ji, Zhisheng Tang, Mayank Kejriwal
cs.CL
cs.CL, cs.AI
Personality, a fundamental aspect of human cognition, contains a range of traits that influence behaviors, thoughts, and emotions. This paper explores the capabilities of large language models (LLMs) in reconstructing these complex cognitive attributes based only on simple descriptions containing socio-demographic and personality type information. Utilizing the HEXACO personality framework, our study examines the consistency of LLMs in recovering and predicting underlying (latent) personality dimensions from simple descriptions. Our experiments reveal a significant degree of consistency in personality reconstruction, although some inconsistencies and biases, such as a tendency to default to positive traits in the absence of explicit information, are also observed. Additionally, socio-demographic factors like age and number of children were found to influence the reconstructed personality dimensions. These findings have implications for building sophisticated agent-based simulacra using LLMs and highlight the need for further research on robust personality generation in LLMs.
[ -0.3051172495, -0.5060904026, 0.9430369735, 0.4508258104, 0.0249318574, 0.2617184222, -0.440988034, -0.3029722869, 0.3362399042, 0.7058078647, -0.5761110783, -0.0382314958, -0.3821118176, -0.1416287869, -0.1277515739, 1.1513082981, 0.4504074156, -0.0523678511, -0.2708400786, 0.1505102515, -0.3307998478, -0.7408794165, -0.8524546623, -0.5304635763, 0.7715536356, 0.5396242738, 0.6787530184, 0.4101332128, 0.1571537554, 0.2642371655, 0.0324951969, 0.0030614752, -0.608923614, 0.1508423388, -0.3591622412, -0.3675332367, -0.7869919538, 0.2415748686, 0.6694680452, 0.9198408723, -0.1170388386, -0.1017672643, 0.2496770322, 0.4736518264, -0.423754245, 0.3440884352, -0.6309813857, -0.1582423449, 0.0112120491, -0.1388879716, -0.5121123791, -0.2539385259, 0.2280324101, -0.1693774611, 0.2184052318, 0.0889693052, 0.6672282219, -0.03312416, -0.7670071125, -0.1837198287, -1.3023912907, 0.7279596329, -0.4383513927, -0.0650551841, 0.609017849, 0.555357635, -0.3440286219, -0.3618349135, -0.6411926746, -0.3399939537, -0.3019760251, 0.1037236825, -0.0969957188, -0.1956541389, 0.3742184639, 0.1838579178, -0.3482471406, 0.1407667398, -0.243989408, -0.479660362, 0.7516476512, 0.5017306209, 0.2834741175, -0.2181672305, -0.1580210626, -0.1522437036, -0.7957648039, 0.1770087928, 0.6147273779, 0.2192385048, -0.1805229932, 0.5757152438, -0.109814845, -0.0451969914, 0.2184127271, -0.5650299191, 0.012483052, -0.1113944426, 0.2176055312, -0.1060793027, 0.6329844594, 0.1226033494, 0.6336275339, -0.2155391127, 0.009089265, 0.0929731652, 0.5451087952, -0.8380764723, -0.2143600434, 0.4644289315, -0.3734976947, -0.1013744622, -0.0357537419, -0.8154361844, -0.5958320498, -0.231903404, -0.1220012158, -0.532574594, -0.3074872792, -0.1786025316, 0.1885197312, 0.6912373304, 0.5244035125, -0.7922097445, 0.2295303941, 0.669893086, 0.4867938161, -0.2464974225, -0.3565968573, -0.2971066236, 0.1039532125, -0.2382298857, 0.7969586253, -0.5311601162, -0.3928977549, -0.1076670587, 0.19345285, 0.0935412645, -0.333630681, 0.4984816313, -0.327424258, -0.0137742907, -0.6138902903, -0.3763264418, 0.1698720902, 0.2708029747, -0.5426552296, 0.4597694576, 0.2980799079, -0.5018962026, 0.1252615452, -0.0875148624, -0.2521350682, 0.2265536338, -0.3736441731, -0.4524249136, 0.1302141249, -0.1498814821, 0.6919572949, -0.0797957852, 0.1842154562, -0.4599305987, -0.0673062056, 0.7797909975, -0.257414937, 0.6243203878, 0.0882935375, -0.0697401986, 0.0014243504, -0.7571225166, -0.0224915016, 0.2533125579, -0.4511447251, 0.1488022357, 0.2871196866, -0.0338194072, 0.2082214504, 0.5312136412, -0.819868505, 0.3464001715, -0.0239465795, 0.4541654885, 0.7755710483, 0.0104440441, 0.4867237806, -0.571800828, 0.5123525858, -0.0280736051, -0.2719275653, 0.0042705648, -0.2540481389, -0.6502523422, -0.6085904837, -0.2098512352, 0.5356647372, -0.6771700978, 0.588591516, -0.4176452458, -0.6580067873, 0.0295355879, -0.0744673237, 0.3771467805, 0.1958048344, -0.1766285151, -0.3521998525, -0.6382984519, -1.1031467915, -0.0328353941, -0.3633801937, -0.2727056742, 0.6115058661, 0.5087049603, -0.4030684233, 0.917606473, -0.4911398888, -0.0177827403, -0.5728790164, -0.2870201766, -0.1585452855, 0.2538014948, 0.8715688586, -0.4522778094, -0.4727036953, -0.1240491271, -0.6437644958, -0.1186307669, -0.106737867, -0.0690618455, -0.1413042396, 0.1086330712, -0.7492951751, 0.456101954, 0.2663204074, -0.497497201, 0.6995275617, -0.3098924756, -0.1276553273, -0.9180471301, 0.0695911124, -0.0437336229, -0.4981102943, -0.6525908709, -0.0349625312, -0.1241233572, -0.121611312, -0.1952619851, 0.7357478142, -0.3754323423, -0.3476630449, -0.5383682847, 0.1394128948, -0.0750096962, 0.6522505283, 0.1051761135, 0.6248438954, 0.5143216848, -0.4656174779, 0.2395737767, 0.2906470895, -0.0281063672, 1.0687966347, -0.5814825296, 0.5546962619, -0.5664461851, 0.5587174296, -1.0144789219, -0.7008154988, -0.0339563563, -0.3004966974, 0.1237249598, -0.056499064, -0.3963670433, -0.1357751042, -0.1901773512, -0.066251196, 0.66579175, -0.2135739028, 1.0789552927, 0.2646850348, -0.5146122575, -0.0256905761, -0.3181702197, 0.0471275039, -0.1997715533, -0.4114085436, 0.1947757453, -0.4449168444, -0.3638049662, -0.3883093596, 0.1482803226, -0.19933635, -0.0173198879, 0.4142542183, 0.4138434529, 0.0256228577, -0.0555456653, -0.290315479, -0.0078046783, -0.0661956072, 0.1126966625, 0.8804078102, -0.3834195137, -0.0512608588, -0.1109795496, 0.2354578972, 0.6901039481, -0.0789483413, 0.8640549183, 0.5376942158, -0.2716593742, -0.1168453917, -0.4231384397, -0.1999729425, -0.3882469535, 0.2665398121, -0.4755406678, -0.9086896181, 0.9329141974, 0.0983353257, -0.1569215357, 0.3005096316, 0.7305858731, -0.3585576117, 0.7895130515, 0.6140829325, 0.0847883597, 0.3035156131, 0.1431461573, 0.0067597441, -0.9690825343, -0.3319423795, -0.4698145986, -0.2688201964, -0.6628075242, 0.0059566949, 0.0798006281, -0.4956219494, -0.407859087, 0.2585971057, -0.1280143708, 0.386425972, 0.1421076357, 0.2836317122, 0.0703634396, -0.0197554994, 0.3007671535, -0.2656720281, -0.1902173907, -0.9662876129, 1.1932351589, 0.4238796234, 0.7667201757, 0.4107496142, 0.5111677647, 0.1851273626, 0.3315945268, -0.8414658308, 0.76983428, -0.1782328188, -0.6089399457, -0.2620005906, -0.4643287063, -1.0876078606, 0.1293030679, -0.4437300563, -1.2423795462, 0.3030723333, 0.1718120724, -0.543051362, -0.1045147404, -0.3962626457, 0.3126319051, -0.2573241591, -0.3960536718, -0.0960139111, -0.5611756444, 0.2738345861, -0.3093910515, -0.2181951702, -0.3354952037, 0.0203194153, 0.3669329584, -0.4768683314, 1.0378551483, -0.0067804921, -0.1912804842, 0.1697881669, 0.2648450434, 0.4844028354, 0.0164621845, 0.0597011968, -0.0776766539, 0.4113671482, -0.631282866, -0.8211911321, 0.6930028796, -1.0664249659, -0.5365123749, -0.2526315153, -0.5513883233, -0.3731167614, -0.0357010476, -0.0145056602, 0.1543713957, -0.6039131284, 0.4688791633, 0.8138442039, -0.3729485273, 0.2081031203, 0.6040105224, -0.2867002785, -0.0637449399, 0.844884932, 0.063439548, 0.2499272078, 0.016372541, 0.2866889536, 0.1689282507, -0.1742582619, 0.0867788121, 0.4427175224, -0.4407592118, 0.267139405, -0.6668157578, -0.3498368561, -0.4294705987, -0.0406367816, -0.5986015797, -0.1836374104, 0.0262826961, 0.2528686225, -0.0843902528, 0.7031735778, 0.2595967054, 0.7748405933, -0.3386656046, 0.3073821664, 0.5236949921, 0.0963987708, 0.1607184261, -0.4592205882, 0.0561693907, 0.1452879161, -0.3603993058, -0.852897346, 0.4925521314, 0.3353478312, 0.606033802, 0.4907261133, -0.2997834384, 0.1551606953, -0.3602760732, 0.6702578664, -0.3073925376, -0.6052559018, 0.4115155041, -0.4766883254, 0.3495297134, 0.3401322961, 0.3456424177, -0.4283317029, -0.0895008445, -0.7530938387, -0.4586722851, 0.4641207159, 0.5617378354, 0.4084648788, -0.0401119739, 0.7861805558, 0.0810323432, 0.2717071176, -0.6638929248, -0.0960269049, -0.2235049605, -0.2652201653, -0.1255580336, -0.5346230865, -0.1217155829, 0.0412751026, 0.3585212231, -0.3353957832, 0.5965655446, -0.1564586759, 0.0945987105, 0.2487930804, 0.5228090286, 0.4459647238, 0.4271112382, -0.2359547913, 0.178655684, -0.1332291067, -0.5567042828, 0.1734046787, -0.3409710228, 0.0079268357, -0.5570127964, 0.567291379, 0.6569740772, 0.053511817, -0.6553530097, 0.6744823456, -0.1707606018, 0.0780284479, -0.8380978703, 0.2694041431, 0.2851392627, 0.3476608694, 0.2832680047, -0.1381343752, -0.3052261174, -1.1458292007, -0.021733975, 0.5571112037, -0.1588036567, -0.6827881336, 0.372695744, -0.0564143993, -0.3994184434, 0.7811754346, -0.1491236389, -0.3282189369, 0.657147944, 0.5068320036, 0.8386722207, -0.2563178837, 0.2759889364, 0.2251829505, 0.0516009852, -0.0693011433, 0.3707747757, 0.095376119, -1.1864557266, -0.2077870667, -0.6877205372, -0.3810346723, 0.0805988237, -0.4538407922, -0.0470922962, -0.9510045052, -0.242693603, 0.0411273353, 0.0088958303, -1.0089373589, 0.1527120471, 0.1545725763, 0.3508896232, -0.7832387686, 0.8766887188, 0.5793752074, -0.5049415827, -0.8644410372, 0.1238714084, 0.1597637534, -0.7430424094, 0.5880745053, -0.138188079, -0.1130211353, -0.1157994941, -1.0150310993, -0.7870923877, 1.1840087175, 0.5785243511, -0.3182642758, -0.2769836485, 0.242019251, 0.9171253443, -0.8691812158, 0.1847541034, 0.501178205, 0.371886462, 0.463437885, -0.8382223248, -0.0900139734, -0.0261582918, 0.103656292, -0.3977797031, -0.8906986117, 0.9868025184, -0.2961416841, -0.2023302913, 0.3875895441, 0.6146656871, 0.3102540076, -0.2046714127, 0.3764543831, 0.066618897, 0.7348632216, -0.0731813088, 1.1720514297, -0.205490455, 0.1646485478, 1.2824077606, -0.479867667, 0.7137486339, 0.2116729021, -0.168201074, 0.7442704439, 0.4097928703, 0.1487817019, 0.1966371387, -0.1205330417, -0.0519209616, -0.4404673278, -0.1485611349, 0.2506129444, 1.0388455391, 0.3446795642, -0.355915606, 0.0563529693, 0.0433999561, 0.2383186668, 0.0265603084, -0.165215984, 0.7942005992, 0.1461417228, -0.6286392808, 0.0110260891, -0.1386176199, 0.4502178431, -0.6024947166, 0.0489696302, -0.4796193838, 0.1504104435, -0.2780168355, -0.8482266068, 0.2746231258, -0.3241397738, -0.2036877722, -0.2806023657, 1.0196863413, -0.4284009039, -0.1864520311, -0.0557432473, 0.7861151695, 0.4522708058, -0.1663568914, -0.1412193328, -0.154814437, -0.0091357017, -0.1725075096, 0.4636690319, 0.4454177916, -0.2380363494, 0.9221221805, 0.3678301275, 0.2061676979, -0.3652411699, -0.0585271753, 0.5752200484, -0.7653625011, -0.3447453678, -0.7990264297, 0.5349102616, -0.0997169986, -0.0298677161, 0.7018568516, 0.3120105565, 0.4671823978, -0.1559193581, 0.7661340833, -0.0250549819, 0.4930248857, -0.2227350026, 0.6998056173, -0.1609743983, 0.251324892, -0.2433234602, -1.2198174, 0.3848795891, 0.5252891779, -0.3481980562, 0.3431198001, 0.5726884604, 0.6223894954, 0.1166878939, -0.2997178137, 0.5586572289, 0.3280070424, 0.3886932135, 0.5588257909, 0.7482540011, 0.1442780793, 0.3562960625, 0.0531266369, -0.3901257515, -0.0742674246, -0.6911953688, -1.0277471542, -0.4989058077, -0.315752089, -0.6270565391, -0.350014478, 0.7940411568, 0.5134218335, -0.3379459381, -0.1251146793, 0.543322444, -0.0883276984, 0.0607859083, -0.2210853845, 0.0119633377, 0.1280436069, -0.6937043071, -0.0251124818, 0.4056374431, 0.2755327225, -0.996368885, -0.1248024106, 0.2702633142, 0.5634806156, 0.7644394636, 0.430842042, -0.7373579741, -0.814345181, 0.0438647233, -0.4239312708, 0.0976174995, 0.9206708074, -0.6248176098, 0.0989637524, 0.2127856612, 0.348897934, 0.3902668059, -0.0304805096, 0.5748471618, -0.937271595, 0.1422606409, 0.0797121748, 0.5471730828, 0.5593814254, -0.5069372058, 0.4043626189, 0.1494537592, -0.5567142963, -0.2781815231, 0.7667606473, -1.4496096373, -0.1332179457, 1.5182409286, -0.2813075483, -0.4062392712, -0.1020005941, -0.4611823559, -0.1473714709, -0.314632982, 0.8150286078, 0.8901500702, -0.2845340669, -0.4705688357, -0.3081443012, 0.2339125872, 0.0213543866, -0.8347441554, 0.0472402982, 0.6322075129, 0.4905112684, 0.1897592396, 0.9179489613, 0.011690245, -0.0469551943, 0.1325334907, 0.1220163032, 0.3704238832, -0.1718196273, 0.0961969197, 0.2429570854, 0.3601002991, 0.5767700076 ]
http://arxiv.org/abs/2406.12213v3
http://arxiv.org/pdf/2406.12213v3
LLM-Oracle Machines
2024-06-18T02:25:33
2024-07-03T12:59:21
Jie Wang
cs.CL
cs.CL, cs.AI, cs.FL, F.1.1; F.4.1; I.2.0
Contemporary AI applications leverage large language models (LLMs) to harness their knowledge and reasoning abilities for natural language processing tasks. This approach shares similarities with the concept of oracle Turing machines (OTMs). To capture the broader potential of these computations, including those not yet realized, we propose an extension to OTMs: the LLM-oracle machine (LLM-OM), by employing a cluster of LLMs as the oracle. Each LLM acts as a black box, capable of answering queries within its expertise, albeit with a delay. We introduce four variants of the LLM-OM: basic, augmented, fault-avoidance, and $\epsilon$-fault. The first two are commonly observed in existing AI applications. The latter two are specifically designed to address the challenges of LLM hallucinations, biases, and inconsistencies, aiming to ensure reliable outcomes.
[ -0.3973117471, -1.1126585007, 1.063121438, 0.0561295301, 0.0312631913, 0.0436141901, -0.087523587, -0.8788560629, 0.4407599568, 0.9242337346, -0.6789339185, -0.3894539475, -0.4775512218, 0.4337551892, -0.5695317388, 0.5779678822, 0.0839836001, -0.1933869421, -0.2395963967, -0.0733367279, -0.4642495513, -0.5361840129, -0.7412130237, -0.596129775, 0.3881629109, 0.3255634308, 0.8265072703, 0.8764737248, 0.4899414182, 0.3217419982, 0.2253141254, 0.2654471397, -0.0352385342, 0.2895903289, 0.0869604051, -0.8105623126, -0.6871249676, -0.2382230759, 0.5555336475, 0.9074042439, -0.056978453, -0.0312516689, -0.3096301854, 0.633769691, -0.472537905, 0.2819232941, -0.7255676985, 0.0559512042, -0.0956060961, 0.1497015953, -0.4878605306, -0.5880094767, 0.0309069045, -0.543839395, -0.2965259552, 0.2806575298, 0.5198748708, 0.8250604868, -0.1287261546, -0.3832997382, -0.9575930834, 0.7538942099, -0.6179127097, 0.1399667263, 0.1400451213, 0.5786697865, -0.0974697322, -0.5261727571, -0.7129917145, -0.3680106401, -0.0982215405, -0.1163440272, -0.1253078878, 0.1976756006, 0.0736957565, 0.3936789334, -0.4574615359, 0.4671093225, -0.3652109206, 0.0667739213, 0.5473006368, 0.6008889079, 0.2359707952, 0.1666633934, -0.18145594, 0.1384657174, -0.861477375, -0.3133913875, -0.022374481, 0.2225653976, 0.2715872824, 0.9167531133, -0.1181952655, 1.0973863602, -0.0913921818, -0.253054589, 0.001284458, 0.0232357066, -0.4973889589, 0.2329266071, 0.6524647474, -0.1341884285, 0.1705819815, -0.3749471605, -0.2233051658, 0.2220478952, 0.4122953117, -0.3327002823, 0.1114121154, 0.4447486103, -0.3864918053, -0.2298657596, -0.0466642641, -0.7844187617, -0.6426279545, -0.4738811553, 0.6280001402, -0.5335987806, -0.0101736933, 0.0595741384, 0.0398486182, 0.5002087951, 0.3223843277, -0.5588784814, 0.5123807788, 0.8328814507, 0.51232934, -0.440231353, -0.3766593337, -0.5315422416, 0.368068397, -0.3629196882, 0.8485320807, -0.8829733133, -0.2006791383, 0.2018588185, -0.1786343157, 0.0379244499, -0.737337172, 0.500577569, -0.4347414672, 0.1945243776, -0.0543556474, -0.6018584967, -0.4601977766, 0.461545825, -0.7259385586, 1.0425308943, -0.0500817075, -0.2257542312, 0.2069440931, -0.9884926081, -0.5399253368, -0.0123641929, -0.2534983456, -0.3205216825, 0.1177212968, 0.1167222559, 0.3787803948, -0.7179145813, -0.1498938054, -0.3651618659, -0.5219882131, 0.0287809931, -0.0757965073, 0.5068470836, 0.1524916738, -0.2798036337, 0.33881706, -0.9556196928, -0.1359280944, 0.2376633435, -0.2598802745, -0.428245455, 0.1392725408, -0.5227701664, 0.0005165654, 0.4978012741, -0.3220263422, 0.3358559906, -0.5826817155, 0.420791477, 0.7504333854, -0.3344812691, 0.5451484919, -0.4426922798, 0.4672753215, -0.2265348881, 0.0641540214, -0.2961235046, -0.6469007134, -1.2301524878, -0.2841767669, -0.127116397, 0.900796175, -0.8736561537, 0.660841763, -0.0261206459, -0.3914983869, -0.7565280199, 0.0900573656, 0.2300095111, 0.2467876226, 0.3499704301, 0.1603087634, -0.5805407763, -0.9939109087, -0.2269099057, -0.3567125499, -0.1560056061, 0.4779214263, 0.2105201483, -0.406332016, 0.9502474666, -0.3061892688, -0.2813048065, -0.2692587972, -0.0280268658, 0.4318090379, 0.0889288485, 0.2298184484, -0.4976308644, -0.357188195, 0.0568006188, -1.1290820837, -0.1984559447, -0.1941045076, 0.2405647337, 0.614728868, 0.710382998, -0.8300898075, 0.3121222854, 0.3060366809, -0.1757104844, 0.5883030295, -0.2005320191, 0.061494939, -1.0231078863, -0.1727519184, -0.4473839104, -0.0416704603, -0.7304415703, 0.096209541, -0.2922094762, -0.0297306906, -0.4847367406, 0.6275705099, -0.4466429949, -0.4624704123, -0.4842319489, 0.1564300507, -0.3329661489, 0.3741223812, 0.1175052598, 0.7478453517, 0.6564397216, -0.7986844182, 0.5812929273, 0.0243074428, 0.1197503805, 0.7122907043, -0.742390275, 0.3330072761, -0.2026456445, -0.2970496416, -0.6752003431, -0.1748294979, 0.208882764, -0.2110528499, 0.1522704959, 0.211464107, -0.6932026148, -0.5541026592, -0.1944447309, 0.3032956719, 0.6938107014, -0.596572578, 1.0041472912, 0.3576010764, 0.015192152, -0.5362451077, -0.8103681803, 0.2758252919, -0.4419906437, -0.7269739509, 0.1924922466, 0.085444741, -0.6449008584, 0.2802012563, 0.2387293726, -0.1869038194, 0.0057821251, 0.4149733484, 0.2781595886, -0.5360925794, 0.0720211491, -0.1714007109, -0.1628875881, 0.1059357747, -0.4711968899, 0.7095179558, -0.3549005687, -0.6633006334, -0.3029841781, 0.2983134985, 0.6661711335, 0.0312268138, 0.8761926293, 0.1955989003, -0.7203610539, -0.2027062923, -0.7578157187, -0.3158595562, -0.4782565832, 0.2469669282, -0.3595576882, -1.0360827446, 0.4193573892, 0.0605055913, 0.0766311884, 0.4152761698, 0.7563893795, -0.0409180559, 0.5576353669, 0.8753944039, -0.3307232261, 0.0677764341, 0.1595424414, 0.3228046, -0.5663843751, -0.1801787019, -0.7265786529, -0.1120211482, -0.4206251502, -0.4470263422, 0.3737055063, -0.2329928428, -0.4171407521, 0.4442583919, -0.4959539175, 0.5005180836, 0.6770115495, -0.1861523092, 0.4496586323, -0.1562274992, 0.063447766, 0.1133231893, -0.6646223068, -0.6836518645, 0.937972188, 0.2381854951, 0.8158404827, -0.045409359, 0.5838797688, 0.3994365335, 0.2799854279, -0.5719529986, 0.7493814826, -0.101805307, -0.6598178744, -0.5330072045, -0.2184760273, -1.0839509964, 0.0988032743, -0.2386454791, -0.9556549191, -0.1990604103, -0.0047101495, -0.3034490049, 0.4358164072, -0.6217612624, 0.6875090599, -0.3357433379, -0.0361224525, -0.3294350505, -0.4389715493, 0.701176703, -0.1303928047, 0.1389812827, 0.088842243, -0.1544289738, 0.3241456449, -0.3910788894, 0.928258121, 0.2370605469, 0.111331597, 0.3702229559, 0.1835032403, 0.5089774132, -0.1134916469, -0.1813257784, 0.0712790638, -0.4407040179, -0.30466488, -0.3319731355, 0.6276869774, -0.7619581819, -0.8010639548, -0.4307144284, -0.651309967, -0.2130027413, 0.3859048784, -0.2388730496, -0.2305184454, -0.1661600173, -0.0423501134, 0.6902822852, -0.5654688478, 0.4891279638, 0.5413329601, -0.3025747836, -0.1197005957, 0.7666330338, -0.2118720263, 0.3143455684, 0.5558171868, -0.1469092071, -0.1966283321, -0.6420523524, -0.2941892147, 0.2383285761, -0.5754514337, -0.0517855734, -0.6384994984, -0.541939795, -0.1029229537, -0.2041576803, -0.4576103091, -0.489844352, -0.1134215891, -0.000375163, 0.4762722552, 0.9541574121, 0.1418336332, 0.3105166852, -0.7295684218, 0.5131540298, 0.6821796894, 0.4010590911, -0.1388827562, -0.1959721595, 0.1846043617, -0.0987222493, -0.1870351881, -0.8404589295, 0.3360624313, 0.0590527058, 0.700130105, 0.2123893201, -0.0597723797, 0.4855317473, -0.6748087406, 0.7873884439, 0.0823647901, -0.7116225362, 0.5272879004, -0.1200097129, -0.0166344289, 0.353672415, 0.1141071096, -0.3534653187, -0.5588071346, -0.4014001191, -0.6459524035, 0.6829628348, 0.3537407219, -0.2888953984, 0.0528085865, 0.5352885723, 0.3769875169, 0.2871913314, -0.7071665525, -0.5082189441, 0.1120478138, -0.098199591, -0.0032935792, -0.1054872498, -0.0022142928, 0.255979836, 0.4448950887, -0.034062352, 0.4798043966, 0.0371603705, -0.1784757823, -0.0812774524, 0.2146606445, 0.4654980302, 0.447938621, -0.119853653, 0.225151062, 0.3506502807, -0.0682319775, -0.0141112329, 0.0214754082, -0.4715538323, -0.1210697517, 0.2353015095, 0.660276711, -0.2647182941, -0.897388339, -0.129243359, 0.047441449, -0.0323780291, -0.6342769861, 0.3279375732, 0.2628786862, 0.4262735248, 0.3525904119, -0.0085937623, 0.1555436254, -0.7976049781, 0.1763615012, 0.5748900771, -0.4154026806, -0.0730281472, 0.8171741962, 0.0755051896, -0.8370055556, 0.6104272604, -0.1209435165, -0.3807033598, 0.8932390213, 0.4664473832, 0.8734046817, -0.0843634233, -0.0380792581, -0.1159516573, 0.7620876431, 0.0456771739, 0.259010911, 0.4177324474, -0.680342555, -0.6523471475, -0.681073308, -0.6857606769, 0.1862422526, -0.2574029863, 0.3585134149, -0.4574755728, 0.1700010002, -0.0962604433, -0.263084501, -0.574280858, 0.0300246086, 0.423207432, 0.9253032804, -0.4837055504, 1.0187975168, 0.7987317443, -0.3959704936, -0.3920883834, -0.2412215918, -0.0494258329, -1.1563800573, 0.3248845637, 0.0797296464, 0.1897983104, -0.4115001261, -0.2377705276, -0.6894100904, 1.1304454803, 0.5108457208, -0.3001946211, 0.1395500004, 0.7863264084, 0.5789381862, -0.6130252481, 0.1514934152, 0.9730825424, 0.7691115141, -0.1115230545, -1.040356636, 0.0335862823, -0.013977116, -0.3040187061, 0.2767943144, -0.5543108582, 0.8383404613, -0.1129067615, 0.2608835995, 0.2947163284, 0.5982422233, 0.646214962, 0.3874092698, 0.5393894911, 0.6682863832, 0.7378478646, -0.3452252448, 1.1575828791, -0.1891773939, -0.3512890041, 0.957711041, -0.3943015635, 0.5972943902, 0.5071320534, -0.3645452261, 0.3204178214, 0.5001147985, 0.0374175906, 0.1577686965, 0.0952276811, -0.0340790153, -0.2269320041, -0.0646918938, -0.3171736896, 0.2293953449, 0.664560616, -0.0363917574, -0.0892772377, -0.2483457476, -0.1754713506, 0.1828231364, -0.4396214485, 0.9087809324, 0.2001167238, -0.6758179665, 0.4756864011, -0.015515252, 0.5540313721, -0.3529233932, -0.1180436388, -0.1255069822, 0.2049351782, -0.0263638198, -0.7930268645, 0.635915935, -0.1524074972, -0.3010333776, 0.0148931332, 0.8120911717, -0.33420223, -0.6763307452, 0.4080185592, 0.5630987287, 0.2799048126, -0.152251929, -0.6060193181, 0.1342532635, -0.247712031, 0.1321920007, 0.1975604594, 0.612631917, -0.1647518277, 0.936806798, 0.3539372683, 0.1256303042, 0.502358973, -0.1956484318, 0.7616249323, -0.8348498344, -0.3325625658, -0.9483555555, 0.2322988361, -0.0959311575, -0.0174090732, 0.511637032, 0.3296134472, 0.3240123391, -0.1627608538, 0.911745131, -0.0605697744, 0.5555558801, -0.6103780866, 0.443459332, -0.6613128185, 0.5628163815, -0.2060219049, -1.1578420401, -0.4779196382, 0.5495467782, -0.1576692015, -0.1058512628, 0.7459256649, 0.5585591793, 0.1784718186, 0.1591185778, 0.3906265199, 0.5595933795, 0.3537231088, 0.8957854509, 0.9601686001, -0.2462738454, 0.6919870377, -0.1063031182, -0.1056201607, -0.2978540957, -0.8721014857, -1.1189050674, -0.236914739, -0.1184352487, -0.1708590835, 0.3125624955, 0.7065625191, 0.6928831935, -0.873565197, -0.3170321286, -0.1648746729, 0.5059463382, -0.2000402659, -0.1245329753, 0.3106173575, -0.5476523042, -0.7105448842, 0.5381458402, 0.6444458961, -0.1823670268, -0.3521214724, -0.3316989839, 0.1526281536, 0.3327045739, 0.5071279407, 0.4420911968, -0.8973481655, -0.2337470353, 0.2980756462, 0.0307990424, 0.0713528395, 0.5825445056, -0.7641040683, 0.1561012566, 0.174526155, 1.1233433485, 0.3848924637, -0.335562855, 0.7674660087, -0.3106666207, 0.4489549994, 0.4246025383, 0.5373769403, 0.1494847834, -0.3112676442, 0.6053523421, 0.108221963, -0.4609100521, -0.7809976339, 0.3486435413, -0.9749705791, -0.4385409951, 0.9696327448, 0.2238746881, -0.329287827, -0.2357949167, -0.1444855928, -0.1468248367, -0.2624552548, 1.094124794, 0.6700922847, -0.4022834003, -0.2367645502, -0.5382633805, 0.322006315, 0.4533360004, -1.1396068335, -0.1639422029, 0.3014260232, -0.2271117419, 0.3496389091, 0.4916937947, -0.201556012, 0.3530778289, -0.1080606058, 0.2229584605, 0.0003397686, -0.4931171536, -0.170947507, 0.397028923, 0.2718711793, -0.0494605862 ]
http://arxiv.org/abs/2406.12209v1
http://arxiv.org/pdf/2406.12209v1
Interface Design for Self-Supervised Speech Models
2024-06-18T02:13:48
2024-06-18T02:13:48
Yi-Jen Shih, David Harwath
cs.SD
cs.SD, cs.CL, eess.AS
Self-supervised speech (SSL) models have recently become widely adopted for many downstream speech processing tasks. The general usage pattern is to employ SSL models as feature extractors, and then train a downstream prediction head to solve a specific task. However, different layers of SSL models have been shown to capture different types of information, and the methods of combining them are not well studied. To this end, we extend the general framework for SSL model utilization by proposing the interface that connects the upstream and downstream. Under this view, the dominant technique of combining features via a layerwise weighted sum can be regarded as a specific interface. We propose several alternative interface designs and demonstrate that the weighted sum interface is suboptimal for many tasks. In particular, we show that a convolutional interface whose depth scales logarithmically with the depth of the upstream model consistently outperforms many other interface designs.
[ -0.61267519, -0.4021920562, 0.4020099044, 0.27595222, -0.2317148596, -0.0880719274, 0.2588335276, -0.7334463596, 0.3485040665, 0.5588587523, -0.5536281466, -0.0884261131, -0.4401593804, -0.3346762061, -0.6206191182, 0.9550172687, 0.25817734, -0.0838074461, -0.2771463692, -0.0537063926, -0.4218558371, -0.677206099, -0.7674915195, -0.6364465356, 0.5585029125, 0.2970528901, 0.5428743958, 0.4271044731, 0.5228988528, 0.2959032953, 0.1238448694, -0.1896117926, -0.2343347669, -0.0355819277, -0.0624837689, -0.0497350469, -0.57693398, 0.3289820552, 0.4678558111, 0.9629420042, -0.1732720435, 0.4283903241, 0.3279666007, 0.7791308165, -0.7251971364, -0.0427249856, -0.1631133109, 0.1296699494, -0.2240978926, -0.0396467261, -0.3188250065, 0.0752920583, 0.4859915078, -0.3186256289, -0.0905323699, -0.23199597, 0.1375595331, 0.4141933918, -0.3596378863, -0.1515344977, -0.7761796117, 0.6909657717, -0.9017652869, 0.5101065636, 0.2391710281, 0.2512935996, 0.1788527519, -0.7171453238, -0.1204075143, -0.2159294039, -0.418384403, 0.3309905827, -0.3418647647, 0.0808002278, -0.0182600971, 0.3153564632, -0.5195515156, 0.4671261013, -0.5956833363, -0.0337119028, 1.0467196703, 0.171718806, 0.1406293213, 0.0552442633, -0.5749909878, 0.2029839903, -0.6101815701, 0.5797153711, 0.5652546287, 0.467354387, -0.4894914329, 0.3960368633, -0.4735372066, 0.9011898637, 0.302339226, -0.0056718909, 0.2423577458, -0.1640509963, -0.2195941508, 0.3830106258, 0.5739530921, -0.0219043475, 0.4408239126, -0.010845365, -0.2452885211, -0.2879377306, 0.403429836, -0.6621471643, -0.6073726416, 0.6107934713, -0.6583367586, -0.3619651496, -0.2841881514, -0.2655599415, -0.0808153749, -0.7098283172, 0.5801244974, -0.0259369258, -0.6187072992, -0.2516054213, -0.3687447608, 0.2786805034, 0.0950103998, -1.0846550465, 0.4428943992, 0.6049062014, 0.9154109955, -0.3776281476, -0.1053713113, -0.7346943021, 0.1558790207, -0.3185297847, 0.63528198, -0.5261417031, -0.5566405654, -0.2329663932, -0.3513323665, 0.0296249054, -0.3509694934, 0.3680085242, -0.1280701756, 0.2360510677, 0.0145447385, -0.7207362056, 0.1831823289, -0.4792361856, -0.5203813314, 0.5942323208, 0.1704382896, -0.8555362821, -0.0484951772, -0.6801499128, -0.7092971206, 0.3458451033, -0.2411132008, -0.4991334975, 0.2623155415, 0.0413184091, 0.494920671, 0.0837005675, 0.2717561126, -0.6067746282, -0.4958907664, 0.1333341897, -0.1542212665, 0.9487433434, 0.6161212325, -0.1089724451, 0.0663214251, -0.9295040965, -0.0427776314, -0.2491885722, -0.3258554935, -0.7068602443, 0.1240913495, -0.0422859974, 0.0919576362, 0.3029257953, -0.6437202096, -0.312119782, -0.1718685329, 0.7823835015, 0.6868826747, -0.1809771061, 0.5500521064, 0.0223201104, 0.255864799, 0.3335781991, 0.4384322464, 0.1175986454, -0.3723770082, -0.6396659613, -0.2913391292, 0.4092095792, 0.4387819767, -0.3856979907, 0.2482857555, -0.0067596314, -0.6770935059, -0.6276279092, 0.2279352546, 0.5238471031, 0.8189102411, 0.5716127753, -0.2560047507, -0.3312024474, -1.337220788, -0.369422406, -0.1137883142, -0.4377787709, 0.2875255346, 0.0510649011, 0.4224496782, 1.1123259068, -0.2338945866, -0.4499643445, -0.241467312, 0.3502686024, 0.329728812, 0.8948756456, 0.5483462811, -0.81308496, -0.3875871897, -0.2095117122, -0.8550687432, -0.1811552495, -0.0150337582, 0.1578948051, -0.1913139224, 0.3754038513, -0.4691428542, 0.4689426422, 0.7032185793, 0.1045739874, 0.1247960702, -0.1665322036, -0.2731766403, -0.7204363942, -0.1866509914, 0.4354766309, -0.0760635361, -1.1848199368, -0.0824947655, 0.2396768928, -0.2075137198, -0.8079896569, 0.5117026567, -0.410325557, -0.3041218519, -0.4557910264, 0.0679090247, -0.1293604821, 0.6525253057, 0.349270165, 0.7104972601, 0.5934742689, -0.7199318409, 0.2411922514, 0.0416461527, -0.020074252, 0.6666520238, -1.0870536566, 0.0779425353, -0.1802191585, 0.2171397358, -1.2441232204, -0.0881504714, -0.0472129993, -0.5176259279, 0.3283177018, -0.299266845, 0.4302045703, -0.2592022419, -0.3280462921, 0.5543664694, 0.6293485165, -0.5595930219, 0.9992766976, 0.7661171556, -0.2386921495, -0.2386680245, -1.2259134054, -0.0687580183, -0.5269652009, -0.6814823747, 0.4136377573, 0.0790972039, -0.1179943457, -0.1044780165, -0.0965503082, 0.030280428, 0.0761575848, 0.3996577263, 0.0807510987, -0.2776217461, 0.0501641519, 0.1788856834, -0.1934548169, 0.0822857022, -0.2900876701, 0.1566866636, 0.1043452471, -0.4152106941, -0.7384403348, 0.6797565818, 0.1767614931, -0.3712812364, 0.2584837973, 0.4591797292, -0.2643191218, 0.0270939376, -0.6914321184, -0.054237444, -0.521887362, 0.0381888747, -0.7772238255, -0.9582826495, 0.5069228411, 0.0783103406, 0.2556260228, 0.4515129626, 0.2870323956, -0.609406352, 1.1361997128, 0.7493790984, -0.2877809703, 0.4644905627, -0.1944027841, 0.2943923473, -1.3780864477, 0.1277021915, -0.4311544597, -0.4242190421, -0.7926129103, 0.5191907287, 0.3297526538, -0.0302652735, -0.2523881793, 0.4447952807, -0.5201467872, 0.0405810252, 0.9599713683, 0.130178377, 0.0866434202, -0.2661686242, 0.1852378845, 0.2231801152, -0.6340769529, -0.0459287576, 0.7819917798, 0.5231491923, 1.0644304752, 0.0866970345, 0.9317559004, 0.5899080634, 0.1106171608, -0.3056899011, 0.2902493477, -0.6138539314, -0.4406657219, -0.6551996469, -0.3073635697, -0.7521734834, 0.361969471, 0.0657194778, -0.6926571131, 0.6935369968, 0.5504804254, -0.5151698589, -0.1925704926, -0.927790761, 0.6903784275, -0.25103423, -0.1511276066, -0.2235776782, -0.6481238604, 0.5129727721, -0.1218362376, 0.2685949504, -0.1266995519, 0.3011393249, 0.62141186, -0.4281909764, 1.0612891912, -0.4434836209, -0.2475335747, 0.379355818, -0.0732796341, 0.3436115086, -0.1216333434, 0.1426403224, 0.3692476749, -0.0800096467, -0.3067426085, -0.359510541, 0.8733683228, -0.7607704401, -0.7147938609, 0.0066252719, -0.2731289566, -0.2505023479, -0.128130421, 0.0722379088, 0.9197620153, 0.294716239, 0.1834619194, 0.374184221, -0.0133512923, 0.6449363828, 0.5070009828, 0.0652389973, -0.0962407142, 1.1517660618, 0.3769338429, 0.5149724483, 0.2365403473, 0.4781831503, -0.5228068829, -0.6533021927, -0.3614624739, -0.2781968415, -0.541056931, -0.0373414271, -0.4852750301, -0.9302628636, -0.6107445955, 0.1307061613, -0.3087432086, -0.6409710646, -0.2456971705, 0.0023458845, 0.0715892762, 0.322229892, -0.3266012967, 0.4430567622, -0.408988148, 0.5412108898, 0.8854515553, 0.351218611, 0.1912404746, -0.7452340722, -0.1621282995, 0.0600635223, -0.0523480587, -0.5531190038, 0.2584117651, 0.350237608, 0.7515452504, 0.3458729088, 0.1318096817, 0.7790977955, -0.5078905225, 0.736407876, 0.2585547268, -0.9001021981, 0.750469327, -0.1309579611, 0.458586216, 0.3041414917, 0.4512832463, -0.3957439661, -0.7957379222, -0.5847754478, -0.5393814445, 0.3133182526, 0.2497359961, 0.2456380725, 0.2377347648, 0.2264140695, 0.0774376914, 0.0402952544, -0.7473552227, -0.2545750737, -0.5410017371, -0.3502993584, 0.0108020902, -0.2054568231, 0.0152418893, -0.2547803521, 0.4656021297, -0.1237013265, -0.1460059434, 0.3762391508, 0.0364547856, 0.0507061183, 0.0509987846, 0.5311684608, 0.7273256183, -0.1159629449, 0.4273787737, 0.0400329493, -0.1777933985, -0.0911704525, -0.0646526441, -0.2994316518, -0.2640562952, 0.5048561692, 0.7862999439, 0.2707373798, -0.1150868237, 0.3683491945, -0.0667554662, -0.3701236844, -0.4475212991, 0.3045368195, 0.3324435353, 0.527341485, 0.5828383565, -0.156535387, 0.7152460814, -0.3256870806, 0.2218476832, 0.8308247924, -0.4085354805, -0.0280302446, 0.913600564, 0.5496957302, -0.5791355968, 0.5732581615, 0.3064579964, -0.1861501783, 0.4998925626, 0.2863162458, 0.9384612441, -0.3637101948, 0.0101289582, 0.2026794106, 0.0132437814, 0.4393965006, 0.030970566, -0.4602003396, -0.4722574353, -0.6053797603, -0.7059982419, -0.484269917, 0.2117843181, -0.618419826, 0.0694366693, -0.2573751211, -0.1376198083, 0.4837527871, -0.3216618896, -0.593895793, 0.4614459872, 0.3860968649, 0.7100555301, -0.9121118784, 1.0496451855, 0.073045738, -0.4066782892, -0.6563325524, -0.5164223313, -0.1375033706, -0.893320322, 0.7798583508, -0.0233861934, -0.3455118239, 0.1344205141, -0.4088764787, -1.058836937, 0.7159027457, 0.0202921778, -0.7138656378, 0.1398852915, 0.3199853003, 0.4311967194, -0.7025542855, 0.1548752338, 0.4254760742, 0.2220896631, 0.1496363133, -0.8522468805, -0.1194798648, -0.2057231516, 0.2884042561, -0.1064182147, -0.8233745098, 0.9261621833, 0.0954451188, -0.1831187457, -0.2045821249, 0.9654797316, 0.1315842122, 0.2093197256, 0.8612352014, 0.4425936937, 0.2362585664, 0.0752972662, 0.7012280822, -0.2003093511, 0.204357326, 1.404540658, -0.1121766269, 0.8543256521, 0.4346033931, -0.2655674219, 0.2237686962, 0.8770359755, 0.1251375377, 0.7818466425, 0.3046929836, -0.0281954147, -0.3701066077, -0.1053542867, -0.5046101809, 0.6182098389, 0.0912162662, -0.1151544377, -0.0928568393, 0.0479556061, -0.6627520919, -0.3357124031, -0.4863013327, 0.9041127563, 0.3214399517, -0.5586938262, 0.2530508339, -0.3313822448, 0.5796147585, -0.4361111522, -0.02145271, -0.5883669853, -0.0508834496, -0.422860384, -0.9430427551, 0.2525578737, -0.2958754301, 0.0555702634, -0.2086946964, 0.7726073265, -0.5378857255, -0.6170212626, 0.3769799173, 0.3735861182, 0.2124249488, -0.0500801355, -0.3895505369, -0.0839408562, -0.3656617403, -0.2159497738, 0.5178354383, 0.099251762, -0.0167141613, 0.8419753313, 0.6210964322, 0.072440207, 0.3171140254, 0.5941597223, 0.8017147183, -0.4456206858, -0.6377153993, -0.7981240749, 0.6414018273, -0.2222746611, -0.2281785011, 0.4631987512, 0.4801908433, 0.8448168039, 0.0788768604, 0.8433874846, 0.3655090332, 0.7302933931, -0.6153438687, 0.4011584818, -0.6984578371, -0.0757742301, -0.1885486394, -0.7514939904, 0.1806556135, 0.5115514398, -0.0253257211, 0.1326919198, 0.2593182325, 0.2231116146, -0.388500005, 0.2286716998, 0.4402979612, -0.0429209955, 0.3983022869, 0.5677713156, 0.8338130713, -0.1188324317, 0.2184331864, -0.4923517108, -0.3700190485, -0.077762045, -0.9088419676, -0.8497394919, -0.7128525972, -0.4033820033, 0.3634782732, -0.1083387062, 0.2435707003, 1.1246228218, -0.7791993022, -0.3956365585, 0.0095974132, -0.0347656012, -0.1734105647, -0.230862096, 0.1939183027, -0.498901993, -0.5440533757, 0.5624786019, 0.4964838028, 0.1847538799, -0.853515327, 0.071160607, 0.0129065458, -0.0067271218, 0.5653823018, 0.4469016492, -0.8135359883, -0.4765033722, -0.3907608688, 0.067201145, 0.0007191019, 0.9002797008, -0.8328213096, 0.1198040023, 0.3654380441, 0.6698895097, 0.8186094165, 0.3190616369, 0.4761298001, -0.8373419046, 0.0676258877, -0.2061602175, 0.3211423755, 0.1927359104, -0.4523801804, 0.6317657828, -0.2309916466, -0.455350101, -0.5455183387, 0.3395297527, -0.9897440672, -0.3693698049, 0.5885685086, -0.0526465587, -0.1439369023, -0.0383762456, 0.1762325913, -0.0093555562, -0.1232760698, 0.6623570919, 0.6161181331, -0.7666662931, -0.4636552632, -0.3923315704, 0.3862215877, 0.2117453814, -0.5583224893, -0.0466765724, 0.1812744588, 0.3141596317, 0.1889021248, 0.8106458783, 0.1314494163, 0.0938760787, -0.1907541454, -0.1831823438, -0.135076642, -0.4620884955, -0.4254632294, 0.1677186489, -0.1433506012, -0.4209012389 ]
http://arxiv.org/abs/2406.12208v1
http://arxiv.org/pdf/2406.12208v1
Knowledge Fusion By Evolving Weights of Language Models
2024-06-18T02:12:34
2024-06-18T02:12:34
Guodong Du, Jing Li, Hanting Liu, Runhua Jiang, Shuyang Yu, Yifei Guo, Sim Kuan Goh, Ho-Kin Tang
cs.CL
cs.CL, cs.AI, cs.CV, cs.NE
Fine-tuning pre-trained language models, particularly large language models, demands extensive computing resources and can result in varying performance outcomes across different domains and datasets. This paper examines the approach of integrating multiple models from diverse training scenarios into a unified model. This unified model excels across various data domains and exhibits the ability to generalize well on out-of-domain data. We propose a knowledge fusion method named Evolver, inspired by evolutionary algorithms, which does not need further training or additional training data. Specifically, our method involves aggregating the weights of different language models into a population and subsequently generating offspring models through mutation and crossover operations. These offspring models are then evaluated against their parents, allowing for the preservation of those models that show enhanced performance on development datasets. Importantly, our model evolving strategy can be seamlessly integrated with existing model merging frameworks, offering a versatile tool for model enhancement. Experimental results on mainstream language models (i.e., encoder-only, decoder-only, encoder-decoder) reveal that Evolver outperforms previous state-of-the-art models by large margins. The code is publicly available at {https://github.com/duguodong7/model-evolution}.
[ -0.4296179414, -0.4865263104, 0.2433229536, -0.1698131859, -0.0298063979, 0.3167598844, -0.3591941893, -0.4653175473, -0.0850731954, 0.5411432981, -0.3997200727, -0.1378030181, -0.634552896, -0.2223141342, -0.4033521712, 0.795563221, 0.1517250687, 0.1713836193, -0.531933248, -0.1904897541, -0.3192570508, -0.2104486823, -0.1922836155, -0.7826983929, 0.0459688529, 0.2196660042, 0.7812983394, 0.7727912068, 0.2898702025, 0.281585902, -0.1184627786, 0.4296762049, -0.7071277499, 0.0513538942, -0.3359561861, -0.146175459, -0.1737665832, -0.3631691337, 0.5870068073, 0.8412712216, -0.1793806255, 0.0013002672, 0.1285096854, 0.4377533197, -0.6773001552, -0.1825918108, -0.660551548, -0.1858766228, -0.1503024995, 0.0550926104, -0.3129003942, -0.4347272217, 0.3310529292, -0.4133958519, 0.0305049904, -0.0814035684, 0.7568892241, 0.0465823971, -0.2477902025, 0.0434786044, -1.066395402, 0.8467158079, -0.7907974124, 0.7570020556, -0.1433922201, 0.2441666424, -0.3251416385, -0.6536659598, -0.744990468, 0.0392059311, -0.0683486313, -0.0141652683, -0.4186725914, -0.0263782982, -0.23904109, 0.4411090016, -0.5491752028, 0.2987833023, -0.5140103698, 0.0624002479, 0.6592293978, -0.1441247314, 0.6831358671, 0.3293312192, -0.1304148585, -0.2946156561, -0.7191538811, -0.2312640101, 0.3808524013, 0.5170987844, -0.0694499314, 0.5198404789, -0.2709698081, 1.0054694414, 0.1401301324, -0.0404040217, 0.2638756931, -0.3172318041, -0.0662123039, -0.1053359583, 0.7369243503, 0.013686629, 0.1607015431, -0.4955191612, -0.1402828842, 0.1065831631, 0.2001520097, -0.4641909003, -0.4634808898, 0.0424104333, -0.2950921953, -0.2996948361, -0.2379471362, -1.0150296688, -0.5060901046, -0.2801192999, 0.7413573265, -0.6066969633, -0.5663826466, 0.4729653001, -0.3404411972, 0.2672777772, -0.0460511073, -1.0598270893, 0.2801150382, 0.6825300455, 0.4511443377, -0.2046518624, -0.4698745906, -0.2653591633, 0.1022741199, -0.0708459541, 0.8230018616, -0.7530664802, -0.4202722013, 0.0342381746, -0.3900577128, -0.3393001556, -0.5070002079, 0.3323656917, -0.7015253901, 0.3981153667, 0.1256148517, -0.796028614, -0.272426039, -0.0907039344, -0.5564088225, 0.9894009233, 0.4625644982, -0.5519894361, 0.5207102895, -0.9702567458, -0.5937114954, 0.395616293, -0.0767638385, -0.2622047067, 0.0544676408, 0.4458474815, 0.3692410886, -0.4925020337, 0.2243254632, -0.3755064011, -0.0581488609, -0.0679395497, 0.1309302598, 0.7067421675, 0.3821618855, -0.1883712709, 0.0446432456, -0.6829916239, 0.1550730616, 0.3059402108, -0.3841228187, -0.5515511632, 0.0682628304, -0.2752259076, 0.1738289595, 0.3254788816, -0.4503852129, 0.3957694769, -0.4583872855, 0.3457480669, 0.2324856222, 0.0078686103, 0.7899425626, -0.3872600794, 0.413640976, 0.0031860042, 0.158987686, -0.0544949546, -0.5141072869, -0.9076634049, 0.0895160064, 0.484547168, 0.2706114054, -0.6739820242, 0.7576141953, -0.8425465226, -0.6826136112, -0.9060277343, 0.4455913007, 0.3074095249, 0.3057010174, 0.4898054302, -0.2370010912, -0.6343454719, -0.7675566673, -0.3075561523, -0.0993234813, 0.0440281108, 0.0831661448, 0.274641335, -0.5103625059, 1.1505471468, -0.4137551188, 0.2242132425, -0.6455371976, 0.059450537, -0.1325137764, 0.7571050525, 0.5119242668, -0.8479425311, -0.0719859973, 0.5394536257, -0.6715497971, 0.0527851544, 0.0366166756, -0.2036803663, -0.2838981748, 0.1999825835, -0.343562901, -0.2249992341, 0.8249632716, -0.1813073903, 0.289003104, -0.2421067059, 0.1437798887, -1.2449948788, 0.0079917843, -0.0827346146, 0.0398717821, -1.157119751, 0.4070580602, 0.1624161899, -0.0501679778, -0.3743781447, 0.7462109327, -0.4136669636, 0.0834598467, -0.1380303353, 0.1395022273, -0.0725210682, 0.1520300359, 0.0183875188, 0.5589053631, 0.7384078503, -0.8266069889, 0.4159714282, 0.254106909, -0.4790500104, 0.138386488, -0.3727825284, 0.2075516582, -0.1966544539, -0.1363994628, -0.5994533896, -0.1964686662, -0.074817434, -0.311886102, 0.3760626316, -0.2638726532, -0.2734276354, -0.5745993853, 0.0764789358, 0.330209434, 0.8921898007, -0.9240830541, 1.0521888733, 0.5090445876, -0.1681050062, -0.2930010855, -0.4636156261, -0.0444329605, -0.3375285268, -0.9255099893, 0.4503839314, -0.1184559539, -0.1437776685, 0.0954950377, 0.121972844, -0.0368489772, -0.1186536103, -0.2276664227, 0.2077009827, -0.4208205044, 0.1584186405, 0.4659849107, 0.2648539245, -0.3838450015, -0.7241563201, 0.7614303827, 0.0439826995, -0.33401829, 0.0251551233, 0.0884397477, 0.7681381702, -0.4028698802, 0.9155442119, 0.3710097373, -0.3583955467, -0.349394232, -0.792645514, -0.0303942692, -0.4570989311, 0.3973878026, -0.3380588889, -0.9790691137, 0.4890632331, -0.6144015193, 0.2047007233, 0.6089949012, 0.3697377443, 0.3210456669, 1.2458295822, 1.0500551462, -0.1430382133, 0.4642326236, -0.1954296678, 0.1628843844, -0.8808916807, -0.3872806132, -0.4391991794, -0.2226158679, -0.2716622353, -0.3231502473, 0.0110632526, 0.358934015, -0.1819310039, 0.5499125719, -0.5202720165, 0.610432744, 0.309881866, 0.0495744869, 0.293723017, 0.0072172019, -0.253878504, 0.1829296201, -1.104634285, -0.1782444715, 1.1044808626, 0.2278953642, 0.8345024586, 0.226465404, 0.7196135521, 0.0765308365, 0.1989464015, -0.3750302792, 0.2611117661, -0.4139323533, -0.2897040844, -0.242521286, -0.6446247101, -0.8649556637, 0.3708240986, -0.4684165716, -0.7356020212, 0.4286181629, 0.0393304639, -0.3621325195, 0.3395474553, -0.8010462523, 0.7285180092, -0.4548652768, -0.015497514, -0.2214988172, -0.3369680941, 0.7748199701, -0.4884324968, 0.2929995954, 0.131433323, 0.276668936, 0.8260586858, -0.1526629925, 0.4210380614, -0.0866155028, -0.097980231, 0.0562703013, -0.0050871982, 0.495585978, -0.380051136, -0.1676951349, 0.1170594618, -0.3549085557, -0.3246574998, -0.6729676723, 0.6505376101, -0.9730846286, -0.4411966205, 0.2309944183, -0.5382121205, -0.4777789116, 0.3442780375, 0.272867471, 0.3688317835, -0.157179296, 0.1341056973, 0.6631495357, -0.1460568756, 0.1570764482, 0.6283385754, -0.3254916966, -0.3556824923, 0.9255338311, -0.2162072957, 0.4674906731, 0.340996474, 0.4005978405, -0.2527479827, -0.6656637192, -0.4828940034, 0.0960688144, -0.6355945468, -0.3380432129, -0.8816777468, -0.3154476285, -0.5888698697, -0.1830026805, -0.4696260989, -0.1713286936, -0.0156768188, 0.1430494785, 0.4951978624, 0.908828795, -0.0946574211, 0.5106464028, -0.9307915568, 0.1516550183, 0.5027735233, 0.4130484462, 0.1512241513, -0.64489007, -0.2766817212, 0.364267379, -0.0740384907, -0.5985454321, 0.3906344473, 0.4908099174, 0.8664084077, 0.495411545, -0.0852105096, 0.7852526307, -0.2565408349, 0.7772068381, 0.2439079732, -0.9015873075, 0.583917141, -0.3064440191, 0.5077183843, 0.5219402313, 0.3221923113, -0.4294326007, -0.3461328149, -0.4897685647, -0.6663010716, 0.5988630056, 0.0203244984, 0.2160530239, 0.3994839787, 0.3897159994, 0.3094235659, -0.1336882114, -0.4899315536, -0.099063769, -0.0686766058, -0.3605598211, -0.0501526967, 0.0689385384, -0.0859922767, -0.5606700182, 0.7123581171, -0.0183737706, -0.0377180502, -0.4396803677, -0.4410633445, -0.207871452, 0.1810236275, 0.3791027069, 0.6029346585, 0.1630146652, -0.0009907226, 0.3910433054, -0.4508585334, 0.0514497422, 0.337127924, -0.1271796972, -0.3294319212, 0.2640601099, 0.8473339677, 0.4387354851, -0.5794126987, 0.2656852603, -0.1569657624, -0.2196284533, 0.3650212586, 0.3859840631, 0.1868201345, 0.39060992, 0.2974015176, 0.1874797642, -0.1744578481, -0.3796301782, 0.3260353208, 0.3379588723, -0.1176415309, -0.3320162594, 0.4984183311, 0.2768022418, -0.0563456044, 0.6023619771, -0.1539610922, -0.7225807905, 0.1799293458, 0.8211839795, 0.8359357715, -0.4828858376, 0.1233646646, 0.0673401579, 0.1366474032, -0.3671178222, 0.1153677925, 0.0356227644, -1.2551887035, -0.4586336017, -1.0281752348, -0.2845263779, 0.1890369356, -0.3020316362, 0.3084640801, 0.0622456968, 0.1841192842, 0.0683783218, -0.2341551334, -0.7128075361, 0.0831286237, 0.2792741358, 0.7845447659, -0.896808207, 0.9833938479, 0.9238106608, -0.2309871465, -0.6478922367, -0.0864399299, -0.1687933505, -0.9307678342, 0.5456209779, -0.2589579225, -0.1825245023, 0.4279656112, -0.4210904539, -1.1431819201, 0.9088609815, 0.4007230401, -0.4393199086, 0.0757239684, 0.0420467667, 0.4684146941, -0.7098771334, -0.0615103245, 0.8864741325, 0.3803792, 0.2048266232, -0.7033396363, -0.2304196358, -0.38492167, 0.0894234106, 0.424292028, -0.2510106266, 0.6463593841, -0.3210809529, -0.4093305767, -0.0705037564, 0.6766784191, 0.0596089102, -0.3577950299, 0.5005156398, 0.6725955606, 0.7644851208, -0.0552521385, 0.8075321317, -0.6057201028, 0.3051007688, 0.8773764372, -0.2706807554, 0.6968124509, 0.0714822188, -0.1678413302, 0.5516138673, 0.2713024318, -0.146770373, 0.5438988209, 0.0988186523, -0.3120773137, -0.2585573196, -0.0546180271, -0.3750207126, 0.6266879439, 0.3211171031, -0.1490280777, -0.3034514487, 0.2126870006, -0.0380940586, 0.0019273231, -0.2094186246, 1.0883300304, -0.280148834, -0.7095749974, 0.4754809737, -0.068779245, 0.9772706032, -0.7911022902, 0.1543651521, -0.1456689835, 0.3060391247, -0.1007185653, -0.5496566892, 0.0495369993, -0.1222994328, -0.0442156419, 0.0038624962, 0.9266554713, -0.8272887468, -0.4768792689, 0.48424685, 0.7118934393, -0.2535447776, 0.310282737, -0.4690068066, 0.1618192941, -0.0105597945, 0.0900642723, 0.4844019115, 0.1153571457, 0.3259242177, 0.6598245502, 0.785147965, 0.1890342981, 0.258336544, 0.1417132169, 1.0754351616, -0.3427205086, -0.4106758237, -0.8326835036, 0.6349139214, -0.1578200161, -0.3778044581, 0.5145015717, 0.5091753602, 0.8384357095, -0.0429493561, 1.0132136345, -0.1121692136, 0.3294597864, -0.3782036901, 0.9662870765, -0.5534520745, -0.0529672951, -0.2004443109, -1.0247009993, -0.2708360255, 0.1924100965, -0.2128449231, 0.2240779996, 0.336530745, 0.6384536624, -0.2173637897, 0.1812999696, 0.2943591475, 0.0315364674, 0.2456986606, 0.4466046393, 0.7224771976, -0.3053508401, 0.4197461307, -0.236202985, -0.3336206675, -0.1545764953, -0.6465952992, -0.7058846354, -0.6335939765, -0.3295113444, 0.0263609309, 0.2330455035, 0.7583450079, 0.9270631671, -0.7805823088, -0.2202284634, -0.1299450248, -0.0216229707, -0.2918196023, -0.1953536272, 0.0772625133, -0.3717103004, -0.6520366073, 0.7312867641, 0.1143418774, 0.1426004171, -0.3442236483, -0.3984746635, -0.12292061, 0.1302226186, 0.4678710103, 0.4518805444, -0.4773687422, -0.1680060327, -0.0888586715, 0.2834308743, -0.1823860854, 0.6740240455, -0.9307998419, 0.8230327964, 0.4273082912, 0.8991469741, 0.2923768759, 0.0344357304, 1.0555064678, -0.6156755686, -0.2128619552, 0.1592859328, 0.3986999989, 0.4918985367, -0.2865367532, 0.2438197434, -0.0010726623, -0.466129899, -0.8361907005, 0.2644884288, -0.466614604, -0.2756894231, 0.9952192307, 0.2200074196, 0.0658786818, -0.1363414675, 0.3658234477, 0.2786936164, -0.285644114, 0.7527270317, 0.4655789435, -0.1724186391, -0.2463226914, -0.0093718842, 0.4616231322, 0.1596369445, -0.9233871698, 0.203806594, 0.0730665177, 0.246178627, 0.3492491841, -0.0183009859, -0.100466758, 0.1759476811, 0.1671009362, 0.3798086643, -0.0364737548, -0.1506002843, -0.6431061625, 0.0084605431, 0.0993151069, 0.1458737999 ]
http://arxiv.org/abs/2406.12197v1
http://arxiv.org/pdf/2406.12197v1
Debate as Optimization: Adaptive Conformal Prediction and Diverse Retrieval for Event Extraction
2024-06-18T01:53:49
2024-06-18T01:53:49
Sijia Wang, Lifu Huang
cs.CL
cs.CL, cs.AI
We propose a multi-agent debate as optimization (DAO) system for event extraction, where the primary objective is to iteratively refine the large language models (LLMs) outputs through debating without parameter tuning. In DAO, we introduce two novel modules: the Diverse-RAG (DRAG) module and the Adaptive Conformal Prediction (AdaCP) module. DRAG systematically retrieves supporting information that best fits the debate discussion, while AdaCP enhances the accuracy and reliability of event extraction by effectively rejecting less promising answers. Experimental results demonstrate a significant reduction in the performance gap between supervised approaches and tuning-free LLM-based methods by 18.1% and 17.8% on ACE05 and 17.9% and 15.2% on CASIE for event detection and argument extraction respectively.
[ -0.666230619, -0.8211539388, 0.4621621966, 0.0062624998, -0.3494832218, 0.1722619534, -0.4427641034, -0.5518194437, 0.3661040068, 0.3882882893, -0.7075029612, -0.1349303424, -0.6002271175, 0.1047785878, -0.0246793088, 0.9748535156, 0.1234384775, 0.0763171017, -0.0779651031, -0.2207419872, -0.2325835824, -0.2503363192, -0.8847869635, -0.1778361797, 0.4348352551, 0.6465072036, 0.3427406549, 0.6846114397, 0.2855772674, 0.3837693036, -0.4228852093, 0.3983929157, -0.4013058245, 0.5699790716, -0.1864815652, -0.2949216068, -0.4500150979, 0.0184641574, 0.9108265638, 0.2832213044, -0.5360326171, -0.0574025065, -0.1577295661, 0.748005569, -0.8576177955, -0.0782652944, -1.3349092007, -0.2509621978, -0.2305245996, 0.007265063, -0.3638368249, -0.2311611176, 0.2542195916, -0.7947238684, 0.2690281868, -0.0467703491, 0.9521906376, 0.2803177536, -0.4123290479, -0.4408604205, -0.7098349929, 0.9052451849, -0.654594183, 0.0887493417, -0.0341077521, 0.3455875516, -0.3070738912, -0.8934496641, -0.6467775106, -0.030051671, 0.3753274381, 0.3127171397, -0.3591045737, 0.0496406443, -0.0203232076, 0.137126714, -0.1516421139, 0.3164878488, -0.4493436515, -0.0562605448, 0.9321385622, 0.1970940679, -0.0388141386, -0.1387140453, -0.2287196964, 0.0533274263, -0.336165309, -0.0311089419, 0.4655219316, 0.2772991657, 0.0746242553, 0.0693948418, -0.2382350862, 0.4689257443, 0.2961641252, 0.0484974533, 0.0795002282, -0.2145064026, 0.0271705873, -0.1899496466, 0.9652321935, -0.0458895043, -0.0416074544, -0.1622913629, -0.1002744883, -0.1164538041, 0.4305934012, -0.7239311934, -0.2989593446, 0.1925737858, -0.2659780681, -0.3605810404, 0.1500750929, -1.4571572542, -0.3470747769, -0.2100832462, 0.0315304659, -0.0284853317, -0.3629927635, 0.126540333, -0.4377928972, 0.1349395812, 0.932675004, -0.6316510439, 0.4116076529, 0.7233672142, 0.6487342715, -0.8461815715, -0.0333299041, -1.0581507683, 0.2684356868, -0.2148212492, 1.2889180183, -1.0904474258, -0.3804720938, -0.2807685137, -0.1409240216, -0.1258135885, -0.6684480906, 0.8583323359, -0.768258512, 0.1554635614, -0.2998396158, -0.6516174674, -0.127433911, 0.0694227964, -1.0706120729, 0.7818137407, -0.4799957275, -0.479357034, 0.3152811825, -0.8970967531, -0.2588638067, 0.0298247319, -0.372604996, -0.6616821885, -0.0330344848, 0.4102682471, 0.050118722, -0.3754476905, 0.1183111966, -0.6687425971, 0.0007799705, 0.116346702, -0.1860464662, 0.603053987, 0.4925569296, -0.3618339598, 0.2876100242, -1.04322052, -0.1841436177, -0.0419750735, -0.6340400577, -0.0609224476, 0.5076370835, -0.0662868246, 0.0088741379, 0.1008296981, -0.8232315183, 0.3581228554, -0.527207911, 0.269956708, 1.0726110935, 0.050071165, 0.5512472987, -0.2132054269, 0.8203234076, 0.1308083385, -0.1535201967, 0.1816871911, -0.6520382166, -0.5384813547, -0.4581331015, 0.1404659003, 0.335980773, -0.7252554893, -0.0032702619, 0.0033280395, -0.3258857727, -0.5151254535, 0.1233706772, 0.1631077826, 0.3064823449, 0.1430440545, -0.0261568762, -0.6468610764, -0.4850035906, -0.3148564696, -0.395144999, 0.1862015426, 0.3704383075, 0.151872471, -0.030723827, 0.7913316488, -0.6801846623, 0.0300790388, -0.3234643936, 0.4403967261, -0.0371808819, 0.2074638754, 0.5603729486, -0.9540146589, -0.7149491906, 0.4792227149, -0.227297321, -0.2354813963, 0.026402235, -0.1193811446, 0.6183899641, 0.371868968, -0.4536070228, 0.3979714215, 0.2531250715, -0.1438304484, 0.6531031132, 0.1726703644, 0.0201547109, -1.0567003489, 0.0298563614, -0.1580044925, -0.1869109273, -0.6309272647, 0.10506735, -0.0649403632, 0.0321773663, -0.1650774628, 0.7322545648, -0.6085489392, 0.2139341533, -0.6607191563, 0.4642493725, 0.1678310037, 0.3992927074, 0.2245984226, 0.5636875033, 0.4999575615, -0.6761059165, 0.4357754886, 0.2693534493, 0.0428975411, 0.3770307899, -0.3536619842, 0.5860907435, -0.3303676546, -0.0374021232, -1.0914481878, 0.080170311, 0.1377730668, -0.4124618471, 0.4036665261, -0.2903310061, 0.1906027198, -0.2104416937, -0.5265933275, 0.2940156758, 0.2242164165, -0.3428760469, 0.6065323353, 0.9758307338, -0.4667338133, -0.8778732419, 0.1157375127, -0.0126865376, -0.3679418266, -0.3037634194, 0.0212312415, -0.1999932826, -0.2942495942, -0.1545255035, -0.2861689329, -0.3783459961, 0.1201841757, -0.0619824305, 0.1974889487, -0.351626873, 0.2644100189, 0.0595948696, 0.1152730063, -0.1237999499, -0.1334374547, 0.1429654807, -0.1923668087, -0.1459549963, -0.2405746281, 0.6688959599, 0.3579275906, -0.2390298247, 0.3943271935, 0.6655008793, -0.1989200115, -0.3516890705, -0.8247821331, -0.1046075895, -0.5315599442, 0.4770331085, -0.4597661197, -1.0347391367, 0.7448425889, -0.2502490282, 0.4261142313, 0.6428959966, 0.724116087, -0.067174904, 0.8087549806, 0.5819692016, 0.0027149564, 0.7040838599, 0.128042087, -0.4407769442, -0.755998373, -0.0870503932, -0.9940239787, -0.325399071, -0.434063226, -0.3108808994, 0.3385160565, 0.0956878662, 0.033292409, 0.077387847, -0.4443462789, 0.3931791484, 0.2820413709, -0.2339582592, 0.4775596559, -0.0686427951, -0.000521437, -0.1496527195, -0.5791730881, -0.4676536918, 1.1097146273, 0.0836985186, 0.8157650232, 0.2006500065, 0.6596031189, 0.1137301773, 0.5080701113, -0.8908286095, 0.4429151714, -0.1628596038, -0.7852110267, -0.5399782658, -0.5894002914, -1.2830293179, 0.5757929683, -0.1252266169, -0.9962065816, 0.558232367, -0.050797049, -0.2190505564, 0.5220488906, -0.3264142871, 0.6180176735, 0.3359004259, -0.1141051501, -0.5286645293, -0.4840063751, 0.1192941964, -0.220775947, 0.2564947903, -0.2015687674, -0.3022249043, 0.9230272174, -0.1889887452, 0.4506070316, -0.0266161971, -0.0491777062, 0.6199667454, 0.0277524181, 0.60712713, 0.1000593826, -0.5394641161, -0.141346395, 0.183635816, -0.1246731728, -0.6036376953, 0.4757795632, -0.9599282146, -0.9628922939, -0.1318695098, -0.4473176599, -0.0855787769, -0.0847603977, -0.0292931963, 0.3964505494, -0.3591905832, 0.1912216991, 0.3433850706, 0.1291572005, 0.7026262283, 0.9526831508, 0.1321447045, -0.7223330736, 0.7875642776, -0.0407787338, 0.1968715191, 0.3386304975, 0.4546274841, -0.191125527, -0.716293335, -0.5566689372, 0.1782840341, -0.8142971396, -0.401953578, -0.9049769044, -0.0162199717, -0.3725880384, 0.0881323367, -0.6325412989, -0.8349729776, -0.5681491494, -0.0495816395, 0.2848055959, 0.9271737933, -0.2602537572, 0.2417792827, -0.8150503635, 0.2668165565, 0.2306200415, 0.1153656021, -0.0133201564, -0.6463971734, -0.201101467, -0.1317695379, -1.1021739244, -1.1390852928, 0.336078316, 0.6457722187, 0.9237460494, 0.6639655828, 0.258030206, 0.8236351609, -0.5743315816, 0.6033734083, 0.0813990906, -0.8697658777, 0.7988915443, -0.1868077368, -0.1438958496, 0.5753649473, 0.4078366458, -0.2145468444, -0.6482408047, -0.6041100621, -0.6534770131, 1.1923772097, 0.0841021314, -0.1883655488, -0.0248235483, 0.6568447351, 0.3503019512, 0.2273020446, -0.709030509, -0.2096685618, 0.137021035, 0.0826030225, 0.2470197082, -0.2188622952, -0.292178005, -0.1993416697, 0.5824205875, -0.3296509981, 0.0290669091, 0.2458328307, 0.23040241, -0.669033587, 0.2388932556, 0.5943952799, 0.7805793881, -0.1085932404, -0.0827516392, 0.2808326185, -0.5691903234, 0.1445969641, 0.2257846892, 0.0792161226, 0.123717986, 0.1932447404, 0.7391196489, -0.211767897, -0.6023144126, 0.2297846973, -0.192231968, -0.2509203553, 0.0707832724, 0.1059245542, 0.0118578514, 0.4834704101, 0.4100391865, -0.1092352793, 0.5239859819, -0.4190308452, 0.5938228369, 0.7278589606, -0.4765891731, -0.4598653018, 0.803191483, 0.4118558764, -0.2254725546, 0.2749707103, -0.1349042058, -0.3367491961, 0.8473563194, 0.3915565014, 1.0562831163, -0.4436807036, 0.2942611575, 0.3645663857, 0.1076810434, 0.2504805624, 0.2891015708, -0.0950670689, -0.9017056227, -0.5148496032, -0.6994503736, -0.6637563705, 0.1843466908, -0.8143832684, 0.4220542908, -0.3531883359, -0.1801340729, 0.4054171145, 0.4402965009, -0.1415469944, -0.3185920417, 0.4125858843, 0.7669213414, -0.5567163825, 0.9301556945, 1.0888006687, -0.0105926953, -0.5035687089, 0.0816892609, 0.1300350726, -0.4229261577, 0.4275535643, -0.1724177897, -0.1757377237, -0.222795099, -0.4862881899, -0.903214097, 0.7948789597, 0.7247431278, -0.4744621217, 0.114437297, -0.2596077621, 0.3793920875, -0.427582562, 0.2688494027, 0.3252331614, 0.4612609446, 0.720577836, -1.0728569031, -0.0323644355, -0.1988239437, -0.2400967926, 0.1364876926, -0.8794726729, 0.8691323996, -0.1349708587, -0.493411243, 0.0767337903, 0.8051187396, 0.2364533693, 0.4445922077, 0.4545546174, 0.2793441415, 0.8525285721, 0.0612566322, 0.774315536, 0.1121772677, 0.3877298236, 0.9932606816, -0.3639110923, 0.7951487303, 0.453430593, -0.1834942251, 0.5723885894, 0.5134939551, 0.4552800357, 0.4301323891, 0.0759885237, -0.3023116887, -0.5677733421, 0.3322288692, -0.092669867, 0.6216368079, 0.4296050966, 0.3225024343, -0.3262603879, -0.2826184034, 0.0037019823, 0.2038946301, -0.2211683542, 1.2825418711, 0.1214099973, -0.8113913536, 0.5826208591, 0.1024018824, 0.3703623116, -0.5826940536, -0.0940643102, -0.1904199868, 0.1712179929, 0.1341883093, -0.4516605735, 0.4724804759, -0.2869065106, -0.0732125342, 0.2072578818, 0.7821017504, -0.4779621959, -0.3485468924, 0.2741787732, 0.5664359331, 0.1618293822, 0.0353960954, -0.9386866093, 0.2092814147, -0.0052630967, -0.7056334019, 0.2519530058, 0.8486852646, -0.0303549636, 0.7600601912, 0.3945801258, 0.3074697256, 0.0425940976, -0.0974829346, 1.3197768927, -0.5543022156, -0.5819318891, -1.0240002871, 0.3205672801, -0.2665465772, -0.1691452861, 0.2704545259, 0.4374020398, 0.364176333, 0.1349539608, 0.5937013626, 0.1903003752, 0.480209142, -0.3385464251, 0.4575068057, -0.7962309122, 0.177268669, -0.4555989206, -0.5625728965, -0.0369295478, 0.466119647, -0.0292787291, -0.1776173711, 0.6665728092, 0.5863980651, -0.0249841604, 0.3676074147, 0.1902322769, 0.1169320196, 0.5956882238, 0.556193769, 0.9790155292, -0.1695473045, 0.8250315189, 0.2535249591, -0.3378172815, -0.1771111339, -0.826888442, -0.8315801024, -0.7263872027, -0.5995315313, -0.0096728401, 0.1289315075, 0.7416170835, 0.6109300256, -1.1088173389, -0.5525988936, 0.1954077333, 0.5671551228, -0.2516733408, -0.2486548275, 0.2692678571, -0.8251250982, -1.1292403936, 0.4121074677, 0.3698047698, -0.3104545474, 0.2046672404, -0.043980822, -0.4634792805, 0.2866235375, 0.3814253807, 0.414717108, -0.707493484, -0.4844087958, -0.2413831055, 0.0928881019, 0.3675934374, 0.7807243466, -0.5909298062, 0.6037253737, 0.4651141167, 0.8593173623, 0.7481050491, 0.0873606503, 0.8414416909, -0.6624906063, 0.2884818614, 0.3068750203, 0.2098107189, -0.1441295445, -0.3669787049, 0.3788158894, 0.5070515275, -0.6645316482, -0.8940989375, 0.3719213605, -1.1756424904, -0.3384415209, 1.3071671724, -0.2672667205, -0.0921551287, -0.4032146931, -0.3330566287, 0.2391237468, -0.6849091649, 0.9571193457, 0.7429460287, -0.2678861916, -0.2504141927, -0.3535898924, 0.7882570624, 0.3067609966, -0.792008996, 0.188594684, 0.5505914688, 0.2293601185, 0.1980115324, 0.7678997517, -0.1671827286, 0.3096415699, -0.1407536566, 0.0140110152, 0.1047660634, -0.3997873962, -0.3681063354, 0.3970721662, -0.03714348, -0.195017904 ]
http://arxiv.org/abs/2406.12182v1
http://arxiv.org/pdf/2406.12182v1
Aqulia-Med LLM: Pioneering Full-Process Open-Source Medical Language Models
2024-06-18T01:30:07
2024-06-18T01:30:07
Lulu Zhao, Weihao Zeng, Xiaofeng Shi, Hua Zhou, Donglin Hao, Yonghua Lin
cs.CL
cs.CL, cs.AI
Recently, both closed-source LLMs and open-source communities have made significant strides, outperforming humans in various general domains. However, their performance in specific professional fields such as medicine, especially within the open-source community, remains suboptimal due to the complexity of medical knowledge. We propose Aquila-Med, a bilingual medical LLM based on Aquila, addressing these challenges through continue pre-training, supervised fine-tuning (SFT), and reinforcement learning from human feedback (RLHF). We construct a large-scale Chinese and English medical dataset for continue pre-training and a high-quality SFT dataset, covering extensive medical specialties. Additionally, we develop a high-quality Direct Preference Optimization (DPO) dataset for further alignment. Aquila-Med achieves notable results across single-turn, multi-turn dialogues, and medical multiple-choice questions, demonstrating the effectiveness of our approach. We open-source the datasets and the entire training process, contributing valuable resources to the research community. Our models and datasets will released at https://huggingface.co/BAAI/AquilaMed-RL.
[ 0.0370672718, -0.5929199457, 0.6496972442, 0.4105385542, -0.3395064175, 0.0681945011, -0.5329299569, -0.3788669109, 0.3851181567, 0.5572871566, -0.7262613773, -0.5203318596, -0.4465534985, 0.0787580311, 0.0649145246, 0.8372359872, -0.3670288324, 0.8665833473, 0.0112942178, -0.4388572872, -0.1073629484, -0.5687311292, -1.0271189213, -0.4041653574, 0.8553888202, 0.4078844488, 0.8524273634, 1.0226908922, 0.2088416368, 0.1481162906, 0.1606699377, 0.2326074392, -0.4768930972, 0.0915544927, -0.3219195902, -0.4646728933, -0.3573071659, 0.0158321671, 0.4585372508, 0.448014766, -0.5388217568, 0.0732376501, -0.3184778094, 0.704821825, -0.2293889523, 0.0861352831, -0.4222210348, 0.223328203, -0.1142687723, -0.2173300833, -0.1073362231, -0.663369298, 0.1947588623, -0.7352941036, -0.2189693004, 0.066470243, 0.8532208204, 0.3987512887, -0.3044748902, -0.4170980453, -0.6653612256, 0.7842515111, -0.7441945672, 0.4031204879, 0.1938040107, 0.2550983429, -0.2368867397, -0.4674936235, -0.2949165106, -0.3230799437, 0.1757830828, 0.1814662963, -0.0970314145, 0.0925933942, -0.1589746773, 0.3978126347, -0.3988499343, 0.4853411615, -0.4583982527, -0.0299827866, 0.4053236246, 0.2384744138, 0.5342959166, 0.5690014958, -0.4349074364, 0.2183633298, -0.8465479016, 0.1184296757, -0.0660840124, 0.0577186085, -0.2360402495, 0.592502296, -0.1403800994, 0.3710022569, -0.2533690333, -0.152653873, 0.3199746609, -0.1842465997, -0.2429154813, -0.0646474734, 1.2059599161, -0.0128393639, 0.2914478481, -0.3035925031, -0.0573086403, -0.1043271497, 0.23030743, -0.8231393099, -0.3023920655, 0.5613399744, -0.465192169, -0.3515485525, -0.3732570112, -0.3529325128, -0.3986849189, -0.5284618735, 0.4084501863, -0.3588925898, -0.2250273377, 0.366247952, 0.4726450741, -0.0292313248, 0.4989601374, -0.6925905943, 0.3065434098, 0.3846545517, 0.791875422, -0.4912632704, -0.4252602756, -0.3683715761, -0.0432133675, -0.3140039444, 0.63363868, -0.1178644449, -0.3573276699, -0.0691346526, 0.1778013408, -0.0697940439, -0.6636709571, 0.4628553689, -0.3060074449, 0.3945582509, -0.2098690718, -0.2207721472, -0.086391449, 0.3040032983, -0.6008974314, 0.4380631149, 0.1578027159, -0.7214850783, 0.0735526979, -0.5982676148, -0.3313884139, -0.0590830296, -0.3583290577, -0.443815887, -0.1256315559, 0.3373831213, -0.0136525966, -0.7342404723, 0.5061265826, -0.2543008327, -0.2075557411, 0.3695836961, -0.2965092659, 1.1130335331, 0.1467485428, 0.0821246505, 0.5975051522, -0.6028234959, -0.1224041805, 0.1306727678, -0.5915313959, -0.0652913898, 0.1701464951, -0.1013151482, 0.5764975548, 0.376606971, -0.8306120634, 0.206247434, -0.5743753314, 0.4861047864, 0.5571968555, 0.0173152331, 0.2306557298, -0.5201711059, 0.7266296148, 0.0957053602, 0.6594306827, 0.1159613132, -0.5529543161, -0.595975101, -0.7414918542, 0.3695223331, 1.0016605854, -0.7705180049, 0.0955092832, 0.0323842876, -0.304977566, -1.1993424892, 0.2745891809, 0.3988212645, 0.7806391716, 0.5119870901, -0.4369607568, -0.3809348345, -0.9489859343, 0.0726536363, -0.2392226607, -0.1483562887, 0.4128707647, 0.0940328985, -0.583915174, 0.7679203749, -0.477569133, -0.5306985378, 0.0163746048, -0.124951005, 0.3187951446, 0.3507745564, 0.4250328243, -0.4372298717, -0.3385184705, 0.1940103024, -0.7570011616, -0.2386753261, 0.3010415435, -0.4744507968, 0.1196652427, 0.0947566032, -0.4673839211, -0.0451132692, 0.640776217, -0.1969809085, 0.4858950675, -0.527893126, 0.2591642141, -1.2268785238, 0.1192866713, -0.1824734956, 0.0231547616, -0.6298273206, 0.0126847988, 0.1122710183, -0.043104548, -0.7760896087, 0.725407958, -0.0161501393, 0.3207599819, -0.1952560395, -0.2817642093, -0.2781215012, 0.4983899593, 0.2144776732, 0.6211618185, 0.6534072161, -0.4172829092, 0.6118300557, 0.3095435798, -0.0456925668, 0.2769624889, -0.6137068272, -0.1208920479, -0.0490821823, 0.1130102202, -0.5089841485, -0.2618828118, 0.3484167755, -0.3596171141, 0.0068621538, 0.0073562902, -0.5345814824, -0.2960853875, -0.3425576389, 0.4551754594, 0.3691105247, -0.5759682059, 0.2456420958, 0.4716206491, -0.3072420359, -0.4703085721, -0.486918807, -0.1381980926, 0.1646103263, -0.4932169616, 0.0838278159, -0.1867919862, -0.1288992614, 0.1510580927, 0.221546039, -0.4477964044, -0.0588154569, 0.0913336948, 0.4858233929, -0.3411500156, 0.3101682365, 0.2704846561, 0.0449563712, 0.0603743792, -0.3661878705, 0.3050560355, 0.1150202155, -0.2150080651, -0.3969756663, 0.2608882189, 0.6113980412, -0.5066146255, 0.6744238138, 0.3575671911, -0.4052222371, -0.0840647519, -0.4268817604, 0.0926998556, -0.3575973213, 0.2140347511, 0.144964397, -1.0310851336, 0.5389760137, -0.0538208149, 0.2885164618, 0.2737293541, 0.9665261507, -0.1729811728, 0.994354248, 0.3780535161, -0.1414401233, 0.3368619978, 0.1098066419, -0.1357936114, -0.3777717352, -0.4275526404, -0.2760836482, -0.0601527877, -0.4480979145, -0.6040859818, 0.6640239358, -0.0883641243, -0.2209926099, -0.1874911785, -0.2890509665, 0.2672106624, 0.5711081028, 0.4873384833, 0.4999763668, -0.2461382896, -0.321644634, 0.0492947958, -0.5890276432, -0.1062474176, 1.1561501026, 0.5348437428, 0.8295570612, -0.0395902134, 0.7235459089, -0.0569235496, 0.5521401763, -1.0019030571, 0.2110731155, -0.4091465175, -0.4397338927, -0.3928806186, -0.6320625544, -1.0754556656, 0.2586645782, -0.4162507653, -0.2152929008, -0.1494763047, 0.2183950096, -0.3982290328, 0.3185324967, -0.4172644913, 0.804432869, -0.5087949634, -0.373390466, -0.1957101077, -0.5623723865, 0.6461960673, -0.344291538, 0.4116165042, -0.30972296, -0.2981011569, 0.3442161977, -0.4174915552, 0.6004959941, -0.1051327363, -0.2757428288, 0.0827809796, -0.0272602215, 0.0266700145, 0.2778362632, 0.0578434616, 0.2678373456, 0.0698538646, -0.4891090691, -0.3509749472, 0.7633731365, -0.9655454159, -0.414960593, -0.2880302072, -0.4835314751, -0.5248181224, 0.2377991825, 0.2115441859, 0.2723611593, -0.3637300134, -0.0985275432, 0.8577964306, -0.6519882679, -0.1318934262, 1.0370361805, -0.3597799242, -0.7157060504, 0.8224382401, -0.0345172398, -0.1126004606, 0.3207449019, 0.3971426785, -0.2250964195, -0.5411186814, -0.8698384762, 0.4945579171, -0.1930297613, -0.1050454453, -0.603362143, -0.4077455997, -0.2606782317, -0.012621888, -0.3957170248, -0.3087357581, -0.367749095, 0.1722640991, 0.2236815989, 0.7872952223, 0.1392102242, -0.0254912842, -0.9666969776, 0.5429035425, 0.2864952981, 0.6573220491, -0.1035598367, -0.206439212, -0.4696887434, 0.0644487441, -0.1976462901, -0.9189372063, 0.5522924066, -0.0434073098, 0.6892827153, 0.2775755525, -0.1932523698, 0.1916527003, -0.6903889775, 0.5653218627, 0.3075323701, -0.4262459576, 0.7556353807, -0.4681319594, 0.463429302, 0.659470439, 0.6280531287, -0.3956750333, -0.5920758843, -0.0705280602, -0.619196713, 0.7898533344, -0.0315774493, -0.1783427745, -0.0165144894, 0.2360681444, 0.1614366025, 0.278837949, -0.5343668461, -0.1198909655, -0.0037797221, -0.425691098, -0.0404537842, 0.019417597, -0.4447781146, -0.4887154996, 0.8303006887, -0.0263743605, -0.0461806692, 0.2091753632, 0.0624158643, -0.2588229179, 0.3480866253, 0.6080094576, 0.5289590955, -0.0617626533, -0.320340246, 0.0603667311, -0.5623398423, 0.2900849581, 0.162991643, -0.1555315256, -0.0935321674, 0.081378907, 0.6238998771, 0.234379828, -1.0887949467, 0.5198040605, -0.1925396323, -0.3409599066, -0.1379692852, -0.0988648161, 0.008373661, 0.2806043327, 0.0782169849, -0.1764071882, 0.1608400941, -0.4811299145, 0.1562488824, 0.174982205, -0.5248558521, -0.3424745798, 0.7576903105, 0.2273000479, -0.0614971109, 0.4220009148, 0.1029305384, -0.2893304229, 0.4388632178, 0.4066858292, 0.7905513048, -0.4719254076, 0.2062827349, 0.4251537323, 0.138185665, -0.5123226643, 0.5393592715, 0.1015388072, -0.6100117564, -0.3997467458, -0.6612701416, -0.8383781314, 0.0928461552, -0.6398566365, 0.3724731505, -0.5685273409, -0.1101293936, -0.3808170557, -0.0354304761, -0.3925228119, 0.2975064814, -0.09360715, 0.8210419416, -0.6317700744, 1.2569419146, 0.8781782389, -0.4536257684, -0.650254488, -0.1634429097, 0.0292794202, -0.9260902405, 0.1724828333, -0.2784594595, -0.0620264113, -0.2063843906, -0.4123154581, -0.6942614317, 1.1175019741, 0.7295300364, -0.4034968019, -0.3949387074, -0.0915463343, 0.8443855643, -0.419100672, -0.0628420785, 0.4838697612, 0.0009601315, 0.1446088552, -1.3135871887, -0.0516259521, -0.1680536121, -0.253679812, 0.0886948556, -0.9146526456, 0.7941101193, -0.3789688945, -0.0368664972, 0.1183524653, 0.2766254246, 0.4150617123, 0.1748304665, 0.2306443602, 0.5328009725, 0.6789834499, 0.0391395353, 0.724686563, -0.5972876549, 0.0469713435, 1.016271472, -0.1596709639, 0.9976101518, 0.4112261236, -0.1274521649, 0.3937058747, 0.5421746969, 0.1481047422, 0.4314942956, 0.2609328628, -0.5068675876, -0.1154491752, -0.3076417446, -0.3967989981, 0.322889775, 0.4465983212, -0.5449932218, -0.0030614117, 0.0753611252, 0.0624911562, 0.1142311692, -0.3844488561, 0.864205718, 0.1763903946, -0.7562716603, 0.4793312848, 0.0688708723, 0.7161363363, -0.8283133507, 0.1686652303, -0.3046499491, -0.0797290131, -0.1741534024, -0.4884190261, 0.0681059286, -0.0370322391, -0.1744151115, -0.2259132564, 0.4452555478, -0.8692436814, -0.4141325653, 0.4443285465, 0.6152379513, -0.0313780531, 0.2746724486, -0.6054289937, -0.1519830823, -0.116287671, -0.0270623993, 0.4626919925, 0.4125877023, -0.074915044, 0.7215451002, 0.6532952189, 0.6396605372, 0.0415909477, 0.140705511, 1.0333846807, -0.4567109942, -0.4548853934, -0.6095731258, -0.0407466926, 0.3054806888, -0.3456314206, 0.2821113765, 0.7282822132, 0.6365996003, -0.1511025429, 0.653845787, 0.5545387268, 0.7767934203, -0.5636547208, 0.9601249695, -0.5622509718, 0.0297351517, 0.3989230096, -0.5228101015, -0.2911776602, 0.244203493, 0.1352121085, -0.3092924356, 0.4486048222, 0.6648374796, 0.1083683744, -0.2000315636, 0.3571957052, 0.389834553, 0.1521827281, 0.9695101976, 0.7001653314, 0.034028329, 0.4584143758, -0.1068249568, -0.5034915209, 0.0058819912, -0.4759649336, -0.8204327226, -0.1472115368, -0.1776573807, -0.3166527152, 0.1052822247, 1.4196047783, 0.4811534286, -0.9141976237, -0.4146240056, 0.2797560096, -0.0771024078, -0.0279803555, -0.0986897573, 0.1893406212, -0.4550330937, -0.5729392171, 0.6282453537, 0.4651126266, 0.0685423389, -0.5419186354, -0.2547851503, -0.1141657829, 0.2697851062, 0.4353693724, 0.7135673165, -0.762549758, 0.2826319933, 0.1198832467, -0.4846895635, 0.126786232, 0.8749133348, -0.6872864366, 0.6756188869, 0.2887434661, 0.6348583102, 0.3153296411, -0.1742040217, 0.8896118999, -0.3088494539, 0.0472489521, 0.4281256795, 0.2876747549, -0.0141985491, -0.2011395544, 0.4732592106, 0.0709982589, -0.4217372239, -0.5957875848, 0.0919088423, -0.8570567369, -0.2614972293, 1.1821116209, -0.3129480481, -0.1159710065, -0.2005141526, -0.6019213796, 0.4812874794, -0.3949358165, 0.8562030792, 0.5803982019, -0.3294650018, -0.0005466284, -0.6172800064, 0.6745527983, 0.3390874863, -0.9096630216, -0.2780215144, 0.4179761112, 0.443148315, -0.3147962987, 1.3354173899, -0.4412324727, 0.4299728572, -0.6105268598, 0.1933223009, -0.1743027419, -0.2691443563, -0.5298054814, 0.0926894173, 0.3424045742, -0.245486334 ]
http://arxiv.org/abs/2406.12168v2
http://arxiv.org/pdf/2406.12168v2
BPO: Supercharging Online Preference Learning by Adhering to the Proximity of Behavior LLM
2024-06-18T00:41:40
2024-06-19T05:25:27
Wenda Xu, Jiachen Li, William Yang Wang, Lei Li
cs.LG
cs.LG, cs.AI, cs.CL
Direct alignment from preferences (DAP) has emerged as a promising paradigm for aligning large language models (LLMs) to human desiderata from pre-collected, offline preference datasets. While recent studies indicate that existing offline DAP methods can directly benefit from online training samples, we highlight the need to develop specific online DAP algorithms to fully harness the power of online training. Specifically, we identify that the learned LLM should adhere to the proximity of the behavior LLM, which collects the training samples. To this end, we propose online Preference Optimization in proximity to the Behavior LLM (BPO), emphasizing the importance of constructing a proper trust region for LLM alignment. We conduct extensive experiments to validate the effectiveness and applicability of our approach by integrating it with various DAP methods, resulting in significant performance improvements across a wide range of tasks when training with the same amount of preference data. Even when only introducing one additional data collection phase, our online BPO improves its offline DAP baseline from 72.0% to 80.2% on TL;DR and from 82.2% to 89.1% on Anthropic Helpfulness in terms of win rate against human reference text.
[ -0.5664548278, -0.4328991771, 0.6268063784, -0.0928820893, -0.0896485671, 0.0332807489, -0.2140299976, -0.6143444777, 0.3798556328, 0.2457521558, -0.671777308, -0.0871408731, -0.4960431755, -0.0388401076, 0.3333554268, 0.9559008479, 0.1442387551, 0.0913457051, -0.3825278282, 0.0692219362, -0.337828666, -0.8538993597, -0.7356744409, -0.4074454904, 0.2480429262, 0.4132920504, 0.5072342157, 0.9178878665, 0.4628057778, 0.2949790061, -0.0416342355, 0.5085052252, -0.6579546332, 0.0919412076, -0.1138190106, -0.4294332564, -0.7322586775, -0.0042260652, 0.3379139006, 0.4858659208, -0.3484638929, 0.051001139, 0.0785060972, 1.092746973, -0.5980178118, 0.0691341087, -0.6878860593, 0.1458396763, 0.0960860252, -0.1942158937, -0.1204344183, -0.7400941253, 0.6296905875, -0.7342661619, 0.0311235897, 0.1387574822, 1.0653650761, 0.4107300043, -0.2816322744, -0.0806970373, -0.581377089, 0.8702569604, -0.4814487696, 0.4188030362, 0.6400695443, 0.0687351227, -0.2444607317, -0.1748859584, -0.6341516972, 0.0201734342, 0.294664681, 0.0135332467, 0.0842430592, 0.211288318, 0.0056573972, 0.2497258931, -0.1382150352, 0.1784322113, 0.1492798775, 0.0325732306, 0.6263281703, -0.1336847097, -0.0377077684, 0.2135302573, -0.3814214468, -0.0644347966, -0.4637721181, 0.2854036689, 0.5406848192, 0.3286525011, -0.1159569547, 0.308870852, -0.0088264607, 0.7473663688, 0.8339383602, -0.2927463651, 0.3027105033, -0.3082383871, 0.0561033264, 0.2146804333, 0.4832765758, 0.7419435382, 0.305295676, -0.2648317814, 0.0475580618, -0.1070603505, 0.5368682146, -0.5570804477, 0.1472905427, 0.5128406882, -0.2832014859, -0.2914265394, 0.0634820461, -0.7191127539, -0.4932880402, -0.7511770725, 0.1928883046, -0.1706885993, -0.2271184921, 0.0465128943, -0.0479578711, 0.3104369938, 0.1611519158, -1.4542570114, 0.3055348992, 0.859860301, 0.975812912, -0.4467132092, -0.0936901644, -0.6701693535, 0.3943733871, -0.2816064656, 0.770788908, -0.6380752325, -0.2620432973, 0.2155545205, -0.3557555974, 0.0933068693, -0.6497927904, 0.6037968397, -0.6409469247, 0.1223968416, -0.4141539037, -0.8641006947, 0.0033367367, 0.2897386551, -0.4460969567, 1.0588366985, -0.0897358358, -0.6403844357, 0.559694171, -0.7439523935, -0.1315248907, -0.4942674935, -0.1270431727, -0.5256040096, 0.134207651, 0.2430071086, 0.5239991546, 0.1757843345, 0.0995169133, -0.650859952, -0.2361827791, 0.1935238242, 0.3482452333, 0.6039323807, 0.0072676903, -0.593963027, 0.2500366569, -0.6037969589, -0.0175987538, 0.0529910028, -0.2192174792, -0.5645163059, 0.0959167331, -0.3430863619, 0.3561933041, 0.4810177386, -0.6845727563, 0.5060937405, -0.7254671454, 0.2401451319, 1.3570433855, -0.2721827626, 0.6869641542, -0.4880595505, 0.3869365752, -0.337113142, 0.3006663024, 0.5279935002, -0.3693356514, -0.5322239995, -0.3964150846, 0.0246752258, 0.3253238201, -0.2902229428, 1.0113910437, -0.4541217387, -0.2872807086, -0.5471845865, 0.1230660602, 0.4201192856, 0.6926951408, 0.3336844444, -0.4395470619, -0.4712694883, -0.8190094829, -0.0285026841, -0.0168316439, -0.0251490641, 0.542465806, -0.1436050534, -0.2334417552, 1.3458565474, -0.6762430072, -0.6094844341, -0.1810428649, -0.2412047833, 0.0827892497, 0.1209398806, 0.5793523192, -0.8073707819, -0.7271596193, -0.1118610725, -0.3656818271, -0.2090229243, 0.2588510215, -0.3028688729, 0.6188765764, 0.0446264707, -0.2675027549, -0.1162828729, 0.7875151038, -0.0583408102, 0.1351566762, -0.4196236134, 0.2039812952, -1.1449759007, -0.0310488306, 0.0181767195, -0.2260024101, -0.7097836137, 0.0041892338, -0.1949570626, 0.0949968472, -0.3896963298, 0.5185582638, -0.4096287191, -0.2459037602, -0.4300083816, 0.3459631503, -0.1284732521, 0.5599191785, 0.5992011428, 0.5925742984, 0.4425289929, -0.872682631, 0.3126701117, 0.478161484, 0.0302065555, 0.5875342488, -0.2946518064, 0.6576941013, -0.066920653, 0.2615000606, -0.8641622066, -0.1218048185, 0.1155831665, -0.2826773822, 0.4052706063, -0.2022704482, -0.1521404833, 0.1423172951, -0.643661201, 0.2511000335, 0.4412758946, -0.8082178831, 0.4790571332, 0.8870472312, -0.0666892603, -0.7031243443, -0.2878107727, -0.3979019821, -0.3927464783, -0.4485552609, 0.4189456403, -0.0981970727, -0.2302702367, -0.5690490007, -0.2364282012, -0.0804793835, 0.0598176271, 0.3574519455, 0.4222048521, 0.3518874943, 0.0271020737, -0.2450970262, -0.2821196616, -0.0571792349, -0.4063660502, 0.7334287167, -0.0338534638, -0.1121787056, -0.5174164176, 0.2524707615, 0.127157703, 0.0350887328, 0.7557207942, 0.2368737608, -0.1580271125, -0.106973052, -0.5975244045, -0.3272633553, -0.548371613, 0.1557891667, -0.3218363822, -0.6379861236, 0.1022859514, 0.0420731977, 0.146527186, -0.1666926295, 0.4193151891, -0.2756040394, 0.931229949, 0.8939114213, -0.3855749071, 0.845995605, -0.039400775, 0.1393427551, -0.68542099, -0.2065643221, -0.4377439618, -0.3269640505, -0.6207458973, -0.3174737096, 0.365247041, -0.1130079702, -0.1841659844, 0.2966704667, -0.4746055901, 0.4046289921, 0.7030993104, 0.4242399037, 0.274310261, 0.363768518, -0.0469397306, -0.4527111053, -0.4805290103, -0.4642711878, 1.3848922253, 0.3129564822, 0.3070108593, 0.2134834975, 0.8575179577, 0.2483507693, 0.0428555086, -0.9883545637, 0.4458917975, 0.0053042984, -0.5115531683, -0.2705092132, -0.2849026918, -0.9688634872, -0.076485768, -0.210872978, -0.7414089441, 0.0771689862, 0.6694673896, -0.4843171835, 0.2430933416, -0.6960886121, 0.6943436265, -0.3854380548, -0.5762194991, -0.4457319379, -0.7793744802, -0.0151613681, -0.1549331695, 0.2396073192, -0.0709285885, -0.2990659773, 0.535811007, -0.2763889134, 0.6257205606, -0.1804273725, -0.2950151563, -0.1070350334, -0.0709845573, 0.6874725819, -0.3982875645, -0.1908048987, 0.4430056512, -0.0909077823, -0.4353747666, -0.5237883329, 0.7093029022, -1.0014599562, -0.5546372533, -0.6755108237, -0.3786607683, -0.6998972297, -0.1438081264, -0.0171701536, 0.1833715737, 0.0772164986, -0.0494994, 0.7967865467, -0.0158639271, 0.3551718295, 0.5489398241, -0.1391688734, -0.4262507558, 1.0586358309, -0.062486168, 0.527461946, 0.7198837996, 0.4942851961, -0.8053315282, -0.510273397, -0.2370194495, 0.228872478, -0.4015854001, 0.2121392936, -0.4779171944, 0.3951661885, -0.5188208818, -0.4537951052, -0.4515679181, -0.2162532657, -0.235987395, -0.0607599057, 0.2619996071, 0.4596815705, -0.2270009518, 0.1835694462, -0.8212604523, 0.4609120488, 0.3734886944, 0.4414710104, -0.1806851923, -0.7730406523, -0.2031672746, 0.0840670913, -0.4366278052, -0.6634978056, 0.3074308038, 0.2661552727, 0.6026626825, 0.8708438277, 0.2355944514, 0.9318038225, -0.4672152698, 0.5003390312, 0.120628193, -0.8851121664, 0.6011267304, -0.3932057321, -0.1723284125, 0.742805779, 1.0752818584, -0.3644910753, -0.0318280868, -0.5766156316, -0.7675791979, 0.8358878493, -0.0056631761, 0.0554032326, 0.1534813046, 0.5141466856, 0.2005063295, 0.4359879494, -0.6394276023, -0.5414844751, -0.1130271703, -0.1531282514, -0.029933922, -0.1060904488, -0.2288890779, -0.0663808659, 0.8675671816, -0.3159002662, 0.1916212887, 0.0914591327, 0.2682790756, -0.1459334642, 0.0750292316, 0.3714224398, 0.7862334847, -0.5831840634, -0.1378432512, -0.025742162, -0.4222774506, 0.2923598886, -0.0444913581, -0.2436477989, -0.4820695817, -0.0767136589, 0.4301442504, -0.128011167, -0.6676673889, 0.4761389196, -0.0096355276, 0.1211470887, -0.2566476762, 0.1179483905, -0.0738322437, 0.0743634552, 0.2111706138, -0.1022939757, 0.1629586816, -0.636983335, 0.1589787751, 0.7398286462, -0.4987410307, -0.1727783829, 0.4517074525, 0.575822711, -0.2437883615, 0.2735241055, -0.1601978242, -0.4734698236, 0.4065279365, 0.4408013225, 0.8280548453, -0.1911845952, 0.0796812549, 0.4031049907, -0.1458238363, -0.1172814593, 0.0499980561, -0.2435762733, -1.003621459, -0.2450087816, -0.6807649732, -0.7357812524, 0.0683781803, -0.7369401455, 0.411296308, -0.6124599576, -0.2683702111, -0.2992636263, 0.1633252203, -0.1886695772, 0.1037211269, 0.2693014145, 0.3410163522, -0.6234431863, 0.8481837511, 0.7648142576, -0.2163227946, -0.6087722182, 0.335372299, 0.2023482621, -0.9892462492, 0.5892346501, 0.2120034099, -0.377112776, 0.2267160416, -0.2852414548, -0.8887601495, 0.797955811, 0.5328784585, -0.8206916451, -0.0943410024, -0.0101767089, 0.4502388239, -0.3524459004, 0.3425217867, 0.5543192029, 0.3000757098, -0.0596893877, -1.1389209032, -0.0145507976, 0.2713672519, -0.127291441, 0.2979581058, -0.9446689487, 0.0788963288, -0.3003518283, -0.0093463063, -0.2860185504, 0.5349166989, 0.4206856489, 0.0408204421, 0.6322300434, 0.569568038, 0.6585440636, -0.0110719241, 0.956500113, -0.301047951, 0.1969796121, 1.2118140459, -0.5003852248, 0.9442047477, 0.7988630533, -0.3928106427, 0.2877113819, 0.9635198116, 0.1961514503, 0.6723939776, 0.1035571098, -0.2388737798, -0.2881935239, -0.5334696174, -0.4680708051, 0.3242004812, -0.1212761849, -0.0205671843, 0.2303733975, -0.3242499232, -0.0331222787, 0.3557696044, -0.3685127497, 1.0463505983, -0.1454667002, -0.798491776, 0.4866318107, -0.1822483987, 0.8234112859, -0.9046491385, 0.0952539071, -0.2706153989, 0.4390619397, -0.2727560997, -0.4288289845, 0.2684687972, -0.2216385901, -0.197241351, -0.4944148958, 0.2778682709, -0.3085859418, 0.0001789092, 0.5871244669, 0.2083659023, 0.1271166205, -0.2047065645, -0.5712742209, -0.1482903212, 0.0096656149, -0.1119492128, 0.8154249191, 0.1071119159, 0.2774801552, 0.7670063972, 0.75140661, 0.3022212982, -0.0443728305, -0.058433868, 0.7184605002, -0.362881124, -0.7886735797, -0.8739914298, 0.0973152071, -0.1818094701, -0.2725256383, 0.8330857754, 0.6959071755, 1.1491209269, -0.0916352049, 0.6750679016, -0.0042138631, 0.6035618782, -0.5060540438, 0.3670505583, -0.5634565353, -0.0040973327, -0.3436038196, -1.0676646233, 0.1181499436, 0.6654615402, -0.4241303504, -0.0657871962, 0.6026768088, 0.6989975572, 0.0185288563, -0.1998320818, 0.2413488179, -0.1994679868, 0.1118855178, 0.5402194262, 0.4534668028, -0.0441183932, 0.5611360073, -0.4815476239, -0.4773111939, -0.2307903469, -1.2091767788, -0.9189040065, -0.5118162036, -0.3106019497, -0.4020477831, 0.0103561953, 1.6931855679, 0.9012727141, -0.862650156, -0.3845964372, -0.1281355768, -0.0226819701, -0.4178583324, -0.1971708983, 0.3463904858, -0.3933954835, -1.1254441738, 0.2791854441, 0.1900111586, 0.1606396586, -0.1425029486, -0.3673251569, -0.3559318185, 0.0093355021, 0.4740463495, 0.2739162147, -0.6696495414, -0.3311045766, 0.0797092393, -0.0626031533, 0.3924641311, 0.8171662688, -0.4427732527, 0.6907220483, 0.4924404323, 0.9827053547, 0.406047076, 0.4993535578, 0.8730854988, -0.7098425627, 0.0450857729, 0.1113546938, 0.1552792639, 0.258259356, -0.4890009761, 0.3483346105, 0.3274751604, -0.7028480768, -0.5150361657, 0.3247287571, -1.1131558418, -0.0689484924, 1.2980378866, -0.2592933476, -0.0498563685, -0.4394796789, -0.3981878459, 0.2843212783, -0.8595470786, 1.4710767269, 0.7277029157, -0.6434755921, 0.1938583553, -0.2347529083, 0.9196718335, 0.5239374638, -0.9864123464, 0.0568905286, 0.5440081358, 0.1437065303, 0.191656962, 0.7284965515, 0.2880866826, -0.0096109034, -0.4130714536, 0.2060237676, -0.1291798651, -0.1825817674, -0.5654767156, 0.1842053533, 0.1164681762, -0.4480853677 ]
http://arxiv.org/abs/2406.12165v1
http://arxiv.org/pdf/2406.12165v1
Statistical Uncertainty in Word Embeddings: GloVe-V
2024-06-18T00:35:02
2024-06-18T00:35:02
Andrea Vallebueno, Cassandra Handan-Nader, Christopher D. Manning, Daniel E. Ho
cs.CL
cs.CL
Static word embeddings are ubiquitous in computational social science applications and contribute to practical decision-making in a variety of fields including law and healthcare. However, assessing the statistical uncertainty in downstream conclusions drawn from word embedding statistics has remained challenging. When using only point estimates for embeddings, researchers have no streamlined way of assessing the degree to which their model selection criteria or scientific conclusions are subject to noise due to sparsity in the underlying data used to generate the embeddings. We introduce a method to obtain approximate, easy-to-use, and scalable reconstruction error variance estimates for GloVe (Pennington et al., 2014), one of the most widely used word embedding models, using an analytical approximation to a multivariate normal model. To demonstrate the value of embeddings with variance (GloVe-V), we illustrate how our approach enables principled hypothesis testing in core word embedding tasks, such as comparing the similarity between different word pairs in vector space, assessing the performance of different models, and analyzing the relative degree of ethnic or gender bias in a corpus using different word lists.
[ -0.1589565128, -0.9659944773, 0.5931869149, 0.1265976578, -0.2014659196, 0.1359587908, -0.0575299151, -0.1251094043, 0.285390228, 0.18665497, -0.3426093459, -0.7591894865, -0.9839764833, -0.1567990184, -0.3272871375, 0.3452005684, -0.1640578508, 0.2757924199, -0.353782177, -0.2847808897, -0.2872354984, -0.1973778456, 0.1022316813, 0.2221103758, 0.0109264608, 0.3766572773, 0.9375072122, 0.4869998395, 0.3892057538, 0.1851775795, 0.2366669923, 0.2340458184, -0.2628215253, 0.2028184533, 0.105184868, -0.5426258445, -0.4222765267, 0.1307264119, 0.2482548654, 1.0121538639, -0.0613974221, 0.3170522153, 0.0837741494, 0.3311517537, -1.0703103542, 0.0595416799, -0.4103695154, 0.2056975216, -0.1815155596, -0.0661106855, -0.2545005381, -0.3646816611, 0.2240702063, -0.5560629964, 0.504519105, 0.3565149605, 0.6248838902, 0.2446950823, -0.0763389319, -0.3863651454, -0.5437033772, 0.8871251345, -0.5065039992, 0.6964613199, 0.9425520301, -0.114269577, -0.137027815, -0.267285496, -0.398431927, -0.3308829665, 0.2711388171, 0.2024093866, -0.2319613546, -0.1794808358, 0.1131210402, 0.0318243317, -0.2947930694, -0.1293424517, -0.1936764568, -0.2250246704, 0.5940944552, -0.0538600944, 0.2958020568, 0.031751208, -0.1101732999, -0.2883351743, -0.4550360739, -0.0298239309, 0.6049044132, 0.2579861283, -0.2869283259, 0.8628176451, 0.0829298496, 0.4825505614, -0.0649965107, -0.0463349782, 0.4125924408, -0.1701226234, -0.0931266397, -0.1946781725, 0.4819360971, 0.5913341045, -0.0650928169, -0.2149662822, 0.1006347239, 0.0450524762, 0.3943734765, -0.2532627583, -0.1048304737, 0.3110808134, -0.3130976558, -0.281765759, 0.3412459791, -0.9875326157, -0.7311769128, -0.1047678515, 0.4561264515, -0.4417927265, -0.2038910389, 0.3004606962, -0.5645693541, 0.1916953921, 0.3320128322, -0.4431630671, 0.5719327927, 0.5741827488, 0.7419584394, -0.0425925404, -0.0236204322, -0.3087887168, -0.0234696381, -0.6934565306, 0.4789824486, -0.668251574, -0.8834035993, 0.2297901362, -0.2524184287, 0.1665397286, -0.1233149618, 0.6216244102, -0.0934450775, -0.2068734914, -0.6586040854, -0.8088863492, 0.0520737655, 0.1308403611, -0.490211606, 1.0195753574, 0.238361761, -1.2186675072, 0.7713001966, -0.1203899384, -0.1151576266, -0.2395693809, -0.2412037402, -0.7191878557, 0.4351525605, 0.3620982468, 0.7496888638, -0.256745249, -0.3063430786, -1.1905972958, -0.2929846346, 0.535132885, -0.3190156221, 0.4955222309, -0.119947888, -0.3943594694, -0.2332588881, -0.6153622866, -0.2046599537, -0.0828461871, 0.4795996845, -0.7126080394, 0.3694788516, -0.0835728943, -0.33641994, 0.123837091, -0.6658331752, 0.1258796453, 0.1240720153, -0.0731183663, 0.590284884, -0.0464159586, 0.5093862414, -0.3594897091, 0.523633182, 0.013652443, 0.0480467267, 0.5764837265, -0.5994061232, -0.477460593, -0.5194747448, 0.3724510074, 0.5608415008, -0.5228077769, 0.5047593117, -0.2829397023, -0.7653845549, -0.6660109162, -0.0481418632, 0.2697336376, 0.0417938456, 0.336686939, -0.1718976498, -0.4223328233, -0.7818653584, -0.4934667647, -0.0267734509, -0.1241569147, 0.2337431312, 0.6341691017, -0.3118432462, 0.8715027571, -0.7020019889, 0.0552633591, 0.0452595539, 0.5408720374, -0.0796221346, 0.379134506, 0.387213707, -0.4337758124, -0.342894733, -0.2439535558, -0.5224234462, 0.0906088203, 0.1056064144, -0.0329728387, -0.1620685905, 0.4789310098, -0.3176825941, 0.9750930667, 0.5891953111, -0.2507083714, 0.6924363971, -0.409850657, 0.2644840479, -0.90363729, -0.1052721664, 0.3775650859, -0.1859610677, -0.3647132218, -0.0104587078, 0.2404336035, 0.1712338179, -0.0407961309, 0.2515477538, -0.7746228576, -0.2820335925, -0.1315379292, -0.079076916, -0.3554341793, -0.2019135058, -0.018359594, 0.7882139683, 0.6387860179, -0.5200712681, -0.1571997702, 0.1046602651, -0.3720760643, 0.5498396754, -0.7786614299, -0.1038036346, -0.2829457521, 0.1605145931, -1.0493446589, -0.3408530056, 0.1638861597, -0.5142527819, 0.3412974775, 0.0603481531, -0.3075505793, -0.4214669466, -0.8528334498, 0.1563103497, 0.5485274196, -0.0401724204, 0.0854867324, 0.9601826072, -0.1012085527, -0.7603032589, -0.4995759726, -0.2708775997, -0.1566174179, -0.2482697368, 0.2022186816, 0.0446672887, -0.5081750751, 0.040349476, -0.3715377152, -0.212178573, 0.2407066822, 0.4518307745, 0.1940552145, 0.0476074293, 0.0733923241, 0.2340319008, 0.0834497586, -0.0444085784, 0.0594988018, 0.0786800906, -0.0205915049, -0.8157357574, 0.0711499006, 0.3465001285, 0.4496549666, 0.136783883, 0.4830188155, 0.8212444186, -0.7213500738, -0.3023964763, -0.6546419859, -0.0366227031, -0.3888093829, 0.4412832856, -0.2819053233, -0.7009527087, 0.4349751174, 0.0352330729, 0.0256284326, 0.4011797309, 0.5274921656, -0.3970298469, 0.8599671125, 0.5625262856, -0.0295711942, 0.0468882956, -0.0549494699, 0.0828269795, -0.7145496011, 0.1804106236, -0.6947433352, -0.0899220258, -0.7513651848, -1.1143208742, 0.467776835, 0.0269195773, -0.0615611747, 0.2711700201, -0.2307045013, 0.0750065595, 0.6288555264, 0.3838960826, -0.2669761181, 0.0259141866, 0.0336735956, -0.2534250319, -0.4815971553, -0.4665173888, 1.2665216923, 0.4150792956, 0.9301819801, 0.0593739636, 0.8238033056, 0.3860028982, 0.2563098073, -0.5532378554, -0.1156941056, -0.1334471256, -0.4338907897, -0.3947301209, -0.1739746034, -0.8895885348, 0.3615107834, -0.6609115005, -1.145475626, 0.3429501057, 0.1659648865, -0.3897776306, 0.424148649, -0.4703382254, 0.3781090677, 0.4300196469, -0.3430980146, 0.0057406155, -0.5130714774, 0.373936981, -0.012402596, 0.7010092139, -0.2001768649, -0.3308380842, 0.8189091086, -0.3549364805, 1.1156822443, -0.1764445156, 0.0514771827, 0.3147895932, 0.240138948, 0.4654222429, 0.0778758451, -0.2063492984, 0.166972667, 0.2780859172, -0.5153626204, -0.3851740062, 0.2641614377, -0.7976123691, -0.5594421625, -0.6052183509, -0.4778947234, -0.538829267, -0.1708295345, 0.4503219426, 0.3251742721, -0.4646175206, 0.4245717824, 0.7799170017, -0.3385021985, 0.1288035512, -0.0824131593, 0.1912505478, -0.1945194751, 0.6907144189, 0.4689685404, -0.1134405658, 0.3215291798, 0.4816177487, -0.3956473172, -0.4858219922, -0.2004755884, 0.0089021837, -0.3516315222, -0.0670457706, -0.7197362185, 0.183585003, -0.501932323, -0.4252945185, -0.4913350046, -0.268234551, -0.2797537744, -0.37768507, 0.3315593004, 0.8046547771, -0.2690553069, 0.0551806688, -0.721517086, 0.2518481314, 0.0388418473, 0.2966411412, -0.3140177131, -0.2657761872, -0.1403035969, 0.233535856, -0.1338928342, -1.3061255217, 0.3143549263, 0.0891039595, 0.6174119115, 0.2017529011, 0.3447106183, 0.5641462207, -0.5307917595, 1.0089805126, 0.2292178422, -1.0837638378, 0.1154689938, -0.325335741, -0.2576886415, 0.4788205624, 0.6581545472, -0.1478496641, -0.4989277422, -0.9283921123, -0.7405250072, -0.0968560427, 0.0995893404, 0.0054817772, -0.1091720015, 0.1289363205, 0.339482218, 0.1268841326, -0.0178776905, -0.3581031263, -0.0816776678, -0.2982474267, -0.2630333602, -0.4064347446, -0.274890244, -0.2126924843, 0.3703476787, -0.1280973554, 0.5672895312, 0.2866061926, -0.2863901556, 0.0916691348, 0.0883908644, 0.6171091795, 0.6446211934, -0.2950620353, 0.3816643655, 0.5200887918, -0.6891676784, 0.179855749, -0.0880564526, 0.0561378226, 0.3001900017, 0.6544436812, 0.4030923247, 0.4337855577, -0.3742222488, 0.9975506067, -0.0836252123, -0.2231628597, -0.2770095468, -0.3612588942, 0.1460762322, -0.0210128911, 0.1136627048, 0.136941582, 0.3817714155, -0.2199562788, 0.4742162526, 0.4392260909, -0.5639685392, -0.2858781517, 0.4355638027, -0.0494879223, 0.1701039821, 0.0149756139, -0.2071202844, -0.3276005983, 0.4102613926, 0.2510946095, 0.7481396794, -0.0065418552, 0.3443434536, 0.4943403602, 0.4147509336, -0.2264607698, 0.5048792362, 0.161803171, -0.8899866343, -0.0566690415, -0.4402842224, -0.6487899423, -0.5566313267, -1.0470080376, 0.0207905956, -0.3225440681, -0.4533902109, -0.1514233202, -0.1112930775, -0.9728296995, 0.0895300135, -0.1446692348, 0.7477158904, -1.0411278009, 0.4246843457, 0.4146863818, -0.1956887394, -0.6002606153, 0.2106779367, 0.3197556734, -0.9355232716, 0.2313784212, -0.176600799, -0.029415274, -0.5048185587, -0.6174923182, -0.8703542352, 0.8813145161, 0.1976581514, -0.4215722382, 0.3269205093, -0.0095313685, 0.0924776569, 0.1779881865, 0.3445936441, 0.39194116, 0.4348382652, -0.3995102644, -0.5437608361, 0.284182936, 0.0955138803, 0.0202459283, -0.0231404379, -0.0919085294, 0.7868127823, -0.2547380924, -0.0268970393, 0.0161553454, 0.8765755892, 0.336805284, 0.1438811123, 0.6457616687, 0.4766194224, 1.109385252, -0.023633752, 1.2235972881, -0.3220732212, 0.5093810558, 0.9730650783, -0.1290698946, 0.8902468681, 0.5053498745, -0.5517110229, 0.1146110743, 0.6035245657, 0.1914337873, 0.1927802265, 0.6229760647, -0.1735990942, -0.1583071202, 0.0837082416, -0.5079439878, 0.2968524694, 0.7593665123, -0.0375031047, -0.0401326492, -0.213840574, 0.1061865613, -0.0207065884, 0.101445362, 0.4122566879, 0.1745458394, -0.2273687571, 0.0240304638, 0.0173505768, 0.8079643846, -0.4708915055, 0.009787838, 0.2022272199, -0.0724713579, 0.0009079278, -0.7207576036, 0.3711986244, -0.0921581239, 0.1558158398, 0.1335132569, 0.7067975402, -0.3116258383, -0.8428906202, 0.0336073153, 0.6622724533, 0.0306985639, 0.0861544535, -0.5133756995, 0.2945756614, -0.2678166926, -0.2735367417, 0.1763347834, 0.3893101215, 0.103368178, 0.4932338893, 0.4564250112, 0.2590782642, 0.2748449743, -0.2051091939, 0.3294391036, -0.2846732736, -0.3470148444, -0.7063313127, 0.4954202771, -0.2604554296, -0.5819829106, 0.9376760721, 0.1791024059, 0.5190735459, -0.3751182854, 1.0632964373, -0.0663837269, 0.431001693, -0.4131392241, 0.6182590127, -0.5170672536, -0.2730559409, -0.7331852913, -0.4970001578, -0.4555270076, 0.8753790855, -0.1612974256, -0.1476848423, 0.5787711143, 0.81334728, -0.1626178473, 0.1401706189, 0.6255660653, 0.0100646643, 0.0916632488, -0.2354055196, 0.4030350447, -0.5216602087, -0.2967856526, -0.4899214506, -0.6110937595, -0.2565939128, -0.9511555433, -0.4899752438, -0.6848959327, -0.4738933146, -0.6304991245, 0.0570107698, 1.1483631134, 0.704985261, -0.7259092331, -0.1521946788, 0.1839883029, 0.1381483227, -0.5992226005, -0.1152949482, 0.7359555364, -0.1834774762, -0.6095545292, 0.1671234369, -0.1096493825, -0.0237091724, -0.0042656087, 0.1953510791, -0.0168881807, 0.340929091, 0.3725554645, 0.0886846855, -0.5816794038, -0.6740859151, -0.1085735559, -0.1327565163, -0.5135267973, 0.687201798, 0.0950267017, 0.5537663698, 0.6574708223, 0.9755838513, 0.3528800309, -0.2499050945, 0.8793423176, -0.7806780934, 0.016184723, 0.0726104677, 0.7597756982, 0.1836058795, -0.2631813586, 0.3828689456, 0.34371984, -0.1673159152, -0.8091275096, 0.0905214474, -1.078417778, -0.3817935586, 1.2320605516, -0.2998870909, -0.4012494981, -0.2502095997, -0.0657553002, 0.383960247, -0.20702447, 0.6971929669, 0.8553964496, 0.3106455207, 0.1801280081, -0.7328184843, 0.4239067137, 0.1923377812, -0.3381924629, 0.0710581467, 0.10215801, 0.4023762345, 0.1614592075, 0.4593277574, -0.0396394096, 0.2601554394, 0.6653875709, 0.1591151506, 0.2452497929, 0.0489930026, 0.1254748851, 0.1964555383, 0.0316071063, -0.4506798387 ]
http://arxiv.org/abs/2406.12159v1
http://arxiv.org/pdf/2406.12159v1
Exploring the Impact of a Transformer's Latent Space Geometry on Downstream Task Performance
2024-06-18T00:17:30
2024-06-18T00:17:30
Anna C. Marbut, John W. Chandler, Travis J. Wheeler
cs.CL
cs.CL, cs.LG
It is generally thought that transformer-based large language models benefit from pre-training by learning generic linguistic knowledge that can be focused on a specific task during fine-tuning. However, we propose that much of the benefit from pre-training may be captured by geometric characteristics of the latent space representations, divorced from any specific linguistic knowledge. In this work we explore the relationship between GLUE benchmarking task performance and a variety of measures applied to the latent space resulting from BERT-type contextual language models. We find that there is a strong linear relationship between a measure of quantized cell density and average GLUE performance and that these measures may be predictive of otherwise surprising GLUE performance for several non-standard BERT-type models from the literature. These results may be suggestive of a strategy for decreasing pre-training requirements, wherein model initialization can be informed by the geometric characteristics of the model's latent space.
[ -0.3754065931, -0.5849965811, 0.5798467398, 0.0703609586, -0.0535625815, -0.1893212348, -0.0812606066, -0.1599726081, 0.1549926549, 0.2686948776, -0.5588156581, -0.2093279213, -0.7785226703, -0.4174250662, -0.3245134056, 0.9719665051, -0.1152122989, -0.2344004363, -0.3803033233, 0.123981908, -0.3940610886, -0.602343142, -0.1198063716, -0.1638905853, 0.7952685356, -0.1792022884, 0.86676687, 0.5994059443, 0.6106200814, 0.3501695395, -0.1380853802, -0.5255350471, -0.5981231332, -0.0438605882, 0.1047628522, -0.7556405663, -0.5712955594, 0.4249660075, 0.7443267107, 1.0531573296, -0.0715831667, 0.0234520826, 0.4167357385, 0.5995692015, -0.6924445033, 0.1885295808, -0.472728312, 0.0867204368, -0.4032280147, -0.0757884681, -0.3501481116, -0.3641929626, 0.4798657298, -0.7888275385, 0.3976881802, -0.1367461532, 0.9818258286, 0.7292945385, -0.2892848551, -0.130599454, -0.8904054761, 0.8164786696, -0.5567346811, 0.5163419843, 0.3293033242, 0.3062476814, -0.1063360199, -0.741263628, -0.0624049492, -0.0006528283, -0.5058994293, 0.1573893577, -0.1290558726, -0.1008368358, 0.3870602548, 0.3930177093, -0.5304775238, -0.0380860269, -0.5266478062, -0.1775646061, 0.309248507, 0.0242210273, 0.1994351894, 0.1047495902, -0.2573116124, -0.358294338, -0.7637462616, 0.4830548167, 0.3925766051, 0.2354651839, -0.1955002695, 0.5193669796, 0.1194872633, 0.428304553, 0.0218364559, 0.1285918206, 0.0325050093, 0.0134765273, -0.0589150488, -0.2487405092, 0.5707613826, -0.2933561206, 0.0521347374, -0.3438206017, -0.1610270739, 0.1204133183, 0.736028254, -0.86288625, -0.6682417989, -0.2746951282, -0.5743966103, 0.1574448496, 0.1660278887, -0.2139664739, 0.1038211361, -0.4108567238, 0.419724673, -0.4765838981, -0.1503158659, -0.3121055663, -0.0469116829, 0.1976762861, 0.1395005882, -0.8124730587, 0.2342653424, 0.8498466015, 0.9240268469, -0.2441917658, -0.0983231813, -0.4927180409, 0.138792187, -0.347060442, 1.0888324976, -0.6843512058, -0.3513226509, -0.0807558969, 0.0822886899, -0.4104260504, -0.5949588418, 0.3519695103, -0.5078747869, 0.2966872454, -0.420578897, -0.6370235085, -0.1740923375, -0.2624450326, -0.9201753736, 1.0073503256, 0.487875253, -0.5032648444, 0.7656502128, -0.4701286852, -0.5038253665, 0.0998809338, -0.3317368031, -0.5368608832, 0.5828059912, -0.0044498732, 0.5496075749, 0.0809794217, 0.2774356902, -0.4177767634, -0.5426141024, 0.2018411905, -0.2370684892, 0.2397248, -0.0259620287, -0.3205403388, 0.1073753759, -0.4924929738, -0.1114389673, -0.2903386652, -0.3645693362, -0.348172754, 0.1781712323, -0.1367406994, 0.3548201919, 0.2581521273, -0.3811215162, 0.0743978694, -0.4465091228, 0.0352242589, 0.5791859627, -0.3200286329, 0.6928162575, -0.2356975675, 0.4309878349, 0.1073306948, -0.0232999027, 0.0430183038, -0.5474322438, -0.7952614427, -0.3183014393, 0.1058793366, 0.1924435496, -0.5857355595, 0.4584564567, -0.3316434324, -0.7114431262, -0.2850628495, 0.1359557807, 0.4174962342, 0.3413390517, 0.1980629265, -0.3478711247, -0.2266268283, -1.0725077391, -0.3034931421, -0.010913399, -0.3602462411, 0.4686637819, 0.3471266329, 0.1100773662, 1.2349165678, -0.9102404118, -0.4530578852, 0.036278747, 0.2338715643, 0.58359164, 0.4253234863, 0.6972268224, -0.5798559189, -0.423370719, -0.1782073081, -0.535356164, -0.1268355101, 0.209978804, -0.1344117671, 0.2238231897, 0.5782468915, -0.5640659332, 0.7202184796, 0.860884726, -0.5734069347, 0.6616224051, -0.3459022343, -0.0070312428, -0.8407095671, 0.2184140086, 0.0571315251, 0.162095964, -0.6028650403, -0.5788288116, -0.0313558951, -0.2667779922, -0.6269903779, 0.2081926167, -0.2704382837, -0.3598292768, -0.2996724546, -0.0265527982, -0.1855999827, 0.6533499956, 0.3175943196, 1.1454859972, 0.3092500865, -0.5841608644, -0.2580653131, 0.271381557, -0.41120556, 0.2740612328, -0.8952230811, -0.0953079462, 0.1061225161, 0.274769187, -1.2369344234, 0.0199369546, -0.4993780553, -0.2770316601, 0.2613998353, 0.0432650447, -0.2667029798, -0.3296670914, 0.1088594422, 0.4756090343, 0.7489230633, -0.2524839938, 0.6013935804, 0.2980469167, -0.195838958, -0.1952886432, -0.4239742756, -0.540922761, -0.4401104152, -0.8448937535, 0.5099087358, 0.210667178, 0.2057162225, 0.0113826375, -0.3100542724, -0.2634078562, 0.1510935575, 0.4596823156, 0.2411911488, -0.5645300746, 0.0467070714, 0.1160478517, -0.2777280807, 0.3218855858, -0.3238203526, 0.4318976402, -0.2682730556, -0.2680929303, -0.28438434, 0.0719306916, 0.3032940626, 0.0131524988, 1.0974135399, 0.787507534, -0.129227832, -0.0108164772, -0.4938063323, -0.4105424583, -0.5246943831, 0.416456461, -0.4101827741, -1.0034906864, 0.579631865, -0.2880502641, -0.1191150919, 0.5537742972, 0.489682883, -0.4612803757, 0.7087336183, 0.9674916863, 0.1739613861, 0.5465644002, -0.3793510497, 0.5130088329, -0.9583814144, -0.1216222495, -0.496589303, -0.4829725921, -0.6325702667, -0.6373676062, 0.4045680165, 0.235861972, -0.180821687, 0.6574923396, -0.3037514091, 0.2609823048, 0.4983270168, -0.0865797922, -0.1350715011, -0.0966241583, -0.0885573849, -0.3172287047, -0.8071124554, -0.7423451543, 0.8164978027, 0.3082973659, 0.6974550486, 0.011210274, 0.2241064608, -0.0995661095, 0.2137057036, -0.4059167802, 0.3139938116, -0.6106540561, -0.3558619618, -0.310159564, -0.3850215375, -1.0989189148, 0.1659554094, -0.1181411445, -0.9519803524, 0.0806697011, 0.2519244552, -0.3068705201, 0.3178210258, -0.6954430938, 1.0375273228, -0.1459168047, -0.2642634809, -0.2369911969, -0.3862888813, -0.0122808618, -0.2261450887, -0.1042189077, -0.1364854276, 0.0380030759, 0.9478071928, -0.4555053711, 0.8686916232, -0.3008314967, -0.2688999474, 0.154468894, 0.0562434271, 0.2653257549, -0.1668345928, 0.2980523407, 0.4305156171, -0.1215017587, -0.4511436522, -0.726344943, 0.5898626447, -1.1361783743, -0.6434506774, 0.1243241504, -0.9558613896, -0.3932106495, -0.0438922495, 0.4220224023, 0.4352455437, -0.1569589376, 0.6532050371, 0.5882037878, -0.2860993445, 0.7068555355, 0.2223429978, 0.1297388226, 0.215705812, 0.6698989272, 0.3185857236, 0.1385163069, 0.4856886566, 0.0850627273, -0.4306662083, -0.2303169072, 0.1843581349, 0.3015775084, -0.3623642921, 0.1063582227, -0.6163788438, -0.355114311, -0.2431629449, -0.4058749974, -0.7283892035, -0.4841772914, -0.2962514758, 0.2611681223, -0.0258275885, 0.8680401444, 0.3516406715, 0.6594766974, -0.801291585, -0.1029992253, 0.3357299566, 0.8004549146, -0.0318734758, -0.5678308606, -0.5394141078, -0.1040046439, -0.6139501333, -0.3692603111, 0.3168388903, 0.1464360654, 0.7249624133, 0.4487520754, -0.284409374, 0.6295278668, -0.6865059733, 0.8463452458, 0.1673953086, -0.9231795669, 0.7276967764, -0.5644100904, 0.4638209045, 0.0797036663, 0.5050416589, 0.0275814254, -0.6317141652, -0.6743286848, -0.6897452474, 0.6977021098, 0.529658854, -0.0289234333, 0.2376612723, 0.1978866458, 0.1439023465, 0.0627865121, -0.6706348658, -0.0378899798, -0.2164946198, 0.0999587551, -0.3419722915, -0.1882712692, 0.2216169536, -0.1458947212, 0.3902049661, -0.0789159164, 0.406083107, -0.1496425569, -0.2211945504, 0.1330254078, 0.0010720746, 0.6591739655, 0.5228071213, -0.1722718924, -0.1783877313, 0.0889418274, -0.6334255338, 0.0478207208, 0.0264257826, 0.2488075495, -0.0510144047, 0.6039082408, 0.9671820402, 0.4097470641, -0.185164392, 0.4043847919, -0.013671862, -0.271410048, -0.1147512794, 0.3133127093, 0.0712976456, 0.2381792665, 0.5058568716, 0.1051748544, 0.0378412679, -0.1117573529, 0.3485352993, 0.323812902, -0.7718812227, -0.7143259645, 0.5330848694, 0.1619659364, -0.2438334078, 0.664573431, 0.275151968, -0.3568644226, 0.6363289356, 0.3753193319, 0.7756243944, -0.3976183534, -0.0826264098, 0.2008176297, 0.1871003062, 0.3743548393, -0.260363549, -0.0977256, -0.4587322474, -0.7758466601, -0.643814683, 0.1224619672, 0.1225920841, -0.690933764, 0.1086780056, -0.0946698636, -0.3517066836, -0.0703641549, -0.0637432784, -0.8514236808, 0.2490826696, 0.2521182001, 0.6080595851, -0.9891937971, 0.869423151, 0.7764240503, -0.0376931801, -1.0922031403, -0.014660269, -0.1408242732, -0.3351836205, 1.061468482, 0.370531261, -0.0174577981, -0.348706156, 0.0676464215, -1.3900147676, 1.0300447941, 0.5372250676, -0.5105394721, -0.1844725758, 0.4748040438, 0.6533299685, -0.453967005, 0.4649755657, 0.6036934257, 0.1216156259, 0.1829739362, -0.9890499711, -0.1040518656, -0.3005430996, 0.4516961575, 0.5789846182, -0.3811493516, 1.0350170135, 0.0438586771, -0.3501918018, -0.1952186674, 0.8969461322, 0.2543014586, -0.1446556002, 0.5326992273, 0.5769652128, 0.3335506916, -0.579675734, 1.1160987616, -0.4167892635, 0.4538864493, 0.8761736155, -0.0289474986, 0.9613402486, 0.5824325085, -0.3422473669, 0.7431639433, 0.335192591, 0.0433959514, 0.6000378132, 0.2662439644, 0.2248956561, -0.1001652181, -0.0399890095, -0.3429672718, 0.6437364817, 0.5061030984, -0.0313255712, -0.2503317595, -0.0577565618, -0.2601627111, 0.0249451566, -0.0593773648, 0.8077988029, 0.1562280208, -0.8211228251, 0.4377874732, -0.6898623109, 0.5115453005, -0.435985595, 0.070186682, -0.0651799142, 0.3043497801, -0.1902837306, -0.8766906261, 0.8293476105, -0.2856972814, -0.3734444082, -0.3782138228, 0.5889740586, -0.2685147524, -0.312004745, 0.4363571107, 0.5452557802, 0.150125131, -0.0544190668, -0.385538429, 0.0500079915, -0.3361622393, -0.4249739051, 0.3318628073, 0.4060203731, 0.0523468778, 0.4986791015, 0.5996413827, 0.0597627871, 0.1149255484, 0.0936499834, 0.9384377599, -0.4417797625, -0.6915897727, -0.5988282561, 0.7403675318, 0.0851757675, -0.2137643248, 0.6887514591, 0.6472666264, 0.7444663644, -0.2745407224, 0.3129853904, 0.0231452063, 0.3967794776, -0.5736497045, 0.9236608744, -0.4929094017, 0.2155663073, -0.4597507119, -1.4513181448, 0.0986204594, 0.6954883933, -0.794069767, 0.2909917235, 1.0164679289, 0.4869750738, -0.2721307576, -0.0717161894, 0.5299353004, 0.1340538114, 0.4959205687, 0.8149569631, 0.9925115108, -0.3890458941, 0.5572986603, -0.2113190442, -0.2186691016, -0.0107169254, -0.840040803, -1.0852262974, -0.9527974725, -0.3094078302, 0.0581200533, -0.393206358, 0.0371467136, 1.2130008936, -0.6192783117, -0.3630899191, -0.0549257249, -0.3498853743, 0.1374929845, -0.2002113461, 0.546076417, -0.7171772122, -0.4836940467, 0.0834321305, 0.3560502827, 0.0294552259, -0.0097510237, 0.177331537, -0.0925775394, -0.068911463, 0.5399210453, -0.2184531391, -0.794870913, -0.1238058209, 0.0958675817, -0.1024505273, 0.190244168, 1.1929811239, -1.0415972471, -0.0812332109, 0.2677566111, 0.4906706512, 0.6198952198, -0.0695345029, 0.8740171194, -1.0599002838, 0.4721237719, 0.1122682169, 0.3745828569, 0.1035026461, -0.5360675454, 0.4063363075, 0.0132635031, -0.6597498655, -0.3439735472, 0.0779105797, -0.6718825698, -0.2409980893, 0.7137998343, -0.4964095056, -0.3872056603, 0.1288199872, 0.1547787637, 0.3126447499, -0.2357537299, 0.7039441466, 0.729624033, -0.197341308, 0.0430141315, -0.415533185, 0.6445616484, 0.764927268, -0.8478363752, -0.1181845441, 0.226536274, 0.0899407491, 0.5358130932, 0.1827036291, -0.0088200094, 0.2415010333, -0.0792415664, -0.2707938254, 0.3503349721, -0.5218169093, -0.1268964261, 0.2392177433, -0.1581735909, 0.1072083786 ]
http://arxiv.org/abs/2406.12158v1
http://arxiv.org/pdf/2406.12158v1
LLMs Are Prone to Fallacies in Causal Inference
2024-06-18T00:14:07
2024-06-18T00:14:07
Nitish Joshi, Abulhair Saparov, Yixin Wang, He He
cs.CL
cs.CL, cs.AI
Recent work shows that causal facts can be effectively extracted from LLMs through prompting, facilitating the creation of causal graphs for causal inference tasks. However, it is unclear if this success is limited to explicitly-mentioned causal facts in the pretraining data which the model can memorize. Thus, this work investigates: Can LLMs infer causal relations from other relational data in text? To disentangle the role of memorized causal facts vs inferred causal relations, we finetune LLMs on synthetic data containing temporal, spatial and counterfactual relations, and measure whether the LLM can then infer causal relations. We find that: (a) LLMs are susceptible to inferring causal relations from the order of two entity mentions in text (e.g. X mentioned before Y implies X causes Y); (b) if the order is randomized, LLMs still suffer from the post hoc fallacy, i.e. X occurs before Y (temporal relation) implies X causes Y. We also find that while LLMs can correctly deduce the absence of causal relations from temporal and spatial relations, they have difficulty inferring causal relations from counterfactuals, questioning their understanding of causality.
[ -0.046535939, -1.0880427361, 1.1242153645, 0.1228943914, -0.1933643818, -0.2870341241, 0.2196269333, -0.5431244373, 0.1127997264, 0.4931131899, -0.7856307626, -0.2903864682, -0.5664741993, 0.1521194279, -0.3694332242, 0.9076887369, -0.06504336, 0.2503353953, -0.5580375195, -0.0794313475, -0.1930262893, -0.7901797295, -0.4074184, -0.7738952637, 0.8178750277, -0.0031127261, 0.4997577071, 0.4462251365, 0.4872984588, 0.3226356804, 0.0934108421, 0.2219169438, -0.7335705757, -0.0201151371, -0.4516908526, -0.9421365857, -0.1956520677, 0.1864680201, 0.4699829519, 0.6892765164, -0.1534765661, 0.0720598325, -0.0332715064, 0.6810082197, -0.4910341799, 0.1979152858, -0.8204632401, -0.0309772752, -0.1786797196, -0.4060956836, -0.529391408, -0.4083903432, 0.118086867, -0.6972117424, 0.4097205102, 0.2995516956, 0.9436742663, 0.4094108343, -0.7332401872, -0.2825697958, -0.8600572348, 0.614775002, -0.5844564438, 0.2351567, 0.4116369784, 0.0818162486, -0.3946142495, -0.7726899385, -0.7389894724, -0.2797281742, -0.5312012434, 0.194427669, 0.0473132208, -0.1277174801, 0.7701872587, 0.2054058164, -0.3927162588, -0.0526626185, -0.193576023, 0.0233791079, 0.4196842015, 0.4348886609, 0.3457939029, -0.1919727027, -0.6506596208, 0.2945481539, -1.1937391758, -0.1990977079, 0.2606810331, 0.1522161663, -0.1421196163, 0.5933700204, 0.2663803995, 0.2448461354, 0.0053221229, -0.0743543729, 0.0192995388, -0.328643918, -0.3087847829, 0.2246109098, 0.8421519399, 0.2444932014, 0.4060731232, -0.2672970593, 0.1944908053, 0.2982458174, 0.1293815076, -0.494773984, -0.0881091729, -0.0380845219, -0.3081187308, -0.051868014, 0.1451999992, -0.3817276359, -0.4017443359, -0.4055018723, 0.5569335222, -0.1221506968, -0.0391403809, -0.2183257192, -0.2440788448, -0.147423774, 0.3521164358, -0.5706602931, 0.2890911698, 0.4205388129, 0.5945677161, -0.1870339662, -0.6499302983, -0.1350758076, 0.5641679764, -0.388913095, 0.8343392611, -0.3389460742, -0.5270926356, -0.1897871047, 0.3043739796, -0.5060066581, -0.5045343041, 0.3246169984, -0.7259351015, 0.1879740953, -0.5604286194, -0.7805519104, -0.1514413357, 0.1332967877, -0.6160274148, 0.8606951237, -0.1476015598, -1.1865805387, 0.5454578996, 0.1517259181, -0.6051042676, -0.5345299244, -0.5191235542, -0.4484792352, 0.0699688718, -0.0362933427, 0.2854506075, -0.4135653973, 0.6729582548, -0.7178111672, -0.2095467597, 0.6393415332, -0.403470248, 0.839936316, -0.0502850562, -0.3648890257, -0.1563045233, -0.8378789425, -0.558680892, 0.2608697414, -0.3540408909, -0.6257756948, 0.390655905, -0.488669306, 0.2871108055, -0.1580307484, -0.4782616198, 0.0641744435, -0.1530484557, 0.0567760691, 0.7337793112, 0.4081628919, 0.2960565686, -0.6121584773, 0.0736932456, 0.4876116514, -0.1458788514, 0.0394607373, -0.2918968499, -0.6781116128, -0.0199811719, -0.1826364249, 0.7010089755, -0.8491638303, -0.0192068201, -0.211183399, -0.3783742785, 0.3027571142, -0.03740317, 0.4640128911, 1.0490686893, 0.316250056, 0.177864477, -0.693541944, -0.6088367701, -0.5286815166, -0.4351651669, 0.0770157278, 0.4630769193, 0.6937179565, -0.0774102584, 0.8875504136, -0.645370841, 0.082684353, 0.0238414668, 0.171961993, 0.3817308545, 0.3417477906, 0.5769987106, -0.5211015344, -0.0340044126, -0.5558526516, -1.2377521992, -0.1291945279, -0.2203035355, -0.0790116712, 0.2355977297, 0.9055268168, -0.9514037371, 0.5884956717, 0.0970310122, -0.3815289438, 0.7070137858, -0.1991423368, 0.0677182153, -0.8311151862, -0.1531828642, -0.1398676485, -0.0861401036, -0.5629866719, -0.7046752572, -0.2330266833, 0.514847219, -0.5118686557, 0.5358617902, -0.3298794627, -0.0186352301, 0.0244961716, 0.1674600989, -0.074152559, 0.3435615003, 0.2700832784, 0.3282550573, 0.3303004205, -0.9935774207, -0.0264738854, 0.20918262, -0.3268117011, 0.5687537193, -0.5823075771, -0.2588798106, -0.3598265052, 0.277382791, -1.101023078, -0.0395665541, 0.2008135766, -0.3582183719, 0.1993171126, -0.182212919, -0.6482967138, -0.2551273108, 0.000690117, 0.2576911747, 0.3628341258, -0.657435894, 0.2256677449, 0.353400439, 0.185460493, -0.452534914, -0.9577510953, -0.3258754313, -0.4557142854, -0.325391084, 0.0926636159, 0.0294733867, -0.601639986, 0.0545498095, -0.1793343574, -0.1040054411, 0.1047461554, 0.6054794192, 0.2114602923, -0.2219228148, 0.4038888216, -0.206785351, -0.0907379761, 0.5790265203, 0.1375225037, 0.0181306154, 0.5103020072, -0.5271795988, -0.1654151827, 0.0127616674, 0.3546869159, 0.5442969799, 0.9303349257, 0.2188140303, -0.522936821, -0.1781911552, -0.4996205568, -0.41432935, -0.3828835785, 0.1368884444, -0.1733937413, -0.6123090982, 0.6208539605, -0.245928973, -0.2304812223, 0.5308001637, 0.4378532171, -0.4455115497, 0.5555713773, 0.2786453664, 0.0799016953, 0.3054985404, -0.1685793847, -0.0314296596, -0.6327458024, -0.3633398414, -0.4176636934, -0.0479310565, -0.7573460937, -0.2078851908, 0.2100322098, 0.1700717956, -0.5727199316, 0.0637878701, 0.2588439882, 0.3365176618, 0.4682587087, 0.4234633446, 0.45119977, 0.1208329052, -0.171088472, -0.304182142, -0.8510217667, -0.3778639138, 0.9949809909, 0.0504930243, 0.9330257177, 0.1629514992, 0.5439668298, 0.0560855381, 0.5258564949, -0.3127192259, 0.5003699064, 0.1109975204, -0.9444762468, -0.2460235804, -0.6386284828, -0.9833215475, 0.2473082691, -0.3389589787, -0.8085556626, 0.274829179, 0.2373844832, -0.0573364161, 0.3030927181, -0.4706361294, 0.5512857437, -0.0951399803, -0.7130025625, -0.1054186374, -0.8238434196, 0.7650995851, 0.0348357931, 0.4046892822, -0.3098568618, 0.2608194649, 0.9682360888, -0.73526752, 1.1967117786, -0.0602683723, -0.0192403905, 0.5242945552, 0.2357734889, 0.5119433999, 0.3202772737, 0.0537384115, 0.2072787732, -0.0165534485, -0.2284584641, -0.6873136759, 0.6108715534, -0.7982647419, -0.6874600649, -0.6004295349, -0.471778065, -0.2344967276, 0.3097414672, 0.3508301973, 0.3551580608, -0.3692401052, -0.2159575075, 0.5462847948, -0.0486365519, 0.6321343184, 0.780272305, -0.1761785597, -0.3644036353, 0.5127412081, 0.3016725481, 0.2749898136, 0.5520601273, 0.3035124838, -0.403876394, -0.3818769455, 0.1509740353, 0.6715943217, -0.8112715483, 0.0611821376, -0.4961271584, -0.1265873462, -0.0569463633, 0.0706726313, -0.1600702107, -0.4856507182, -0.4983267784, -0.3097450435, 0.3534411192, 0.8503099084, -0.1280778199, 0.2746256292, -0.8326747417, 0.5003415942, 0.3596135974, -0.1412063986, 0.0301479418, -0.5662061572, 0.0349385254, -0.0688935965, -0.1416364759, -0.982339561, 0.0583685376, -0.0823226124, 0.7908623219, 0.605463326, 0.223085016, 0.8734961748, -0.7700506449, 0.6443497539, 0.2431508303, -0.4987432361, 0.4223131239, -0.4566437006, -0.064046897, 0.3287786543, 0.6592947245, -0.1672038585, -0.4765717387, -0.9497742057, -0.6141585112, 0.7076473236, 0.1524793804, -0.1503984332, -0.4764897227, 0.6209246516, 0.0105496459, 0.3046680689, -0.993216753, -0.6797914505, 0.2492798269, 0.0402433313, -0.2759316862, -0.5662534237, -0.3164419234, -0.1096802503, 0.4871318638, 0.3373106718, 0.0642064735, 0.5703441501, -0.347950846, -0.1985986233, -0.1191551313, 0.6421036124, 1.1530704498, -0.2040870488, 0.7029992342, 0.3278321624, -0.3392596245, 0.3168596327, -0.0205266494, -0.4196890593, 0.1042694226, 0.941227138, 0.6377281547, 0.5136132836, -0.3179920614, 0.2982016206, 0.0296351127, -0.1189255416, -0.2154610604, 0.0161389057, 0.3944703341, 0.3200917244, 0.1466819048, -0.0080177989, -0.1533050835, -0.731328547, 0.3036486208, 0.3161376119, -0.2049974948, -0.4474666119, 0.8143103719, -0.0973668918, -0.0420528054, 0.4600726068, 0.0964919031, -0.2876583338, 0.7395294905, 0.7934439182, 0.4988623559, -0.2859825492, 0.0542725511, 0.6678107381, 0.4564833939, -0.0402954072, 0.259991169, 0.2034234852, -0.8409950733, -0.2249711156, -0.2759177983, -0.299073875, 0.0992552042, -0.4748797417, 0.1905620694, -0.3202969432, -0.3475733101, -0.2198078632, -0.2419997901, -0.4524122775, 0.2525803745, -0.0669001043, 0.5163968205, -1.0527946949, 0.6396511197, 0.2941289842, -0.4412760437, -0.5827745199, -0.090758644, 0.0775869042, -0.7657543421, 1.1200091839, -0.0169336367, -0.156461969, -0.2833385468, -0.3711973727, -0.8374628425, 1.1037560701, 0.6131763458, -0.5800343156, -0.133056879, 0.3263360262, 0.3842352927, -0.1045230553, 0.3183331192, 0.3534622192, 0.3182576597, 0.213585794, -0.5270068049, 0.3895022273, 0.2501575053, -0.2691352069, 0.0869497359, -0.6063508391, 1.0043811798, -0.59432441, -0.3446758091, -0.456700474, 0.4939310551, 0.5357064009, 0.8531066179, 0.4185495079, 0.5917133689, 0.7508343458, 0.0396821126, 0.9845038652, 0.0227374602, 0.2598855197, 1.4984041452, -0.3269247115, 0.4807715714, 0.8128311038, -0.5328984857, 0.5447466373, 0.8106962442, 0.2046212852, 0.5715114474, 0.1986397952, -0.0218632761, -0.2719277442, 0.1820646375, -0.3848975301, 0.0279324241, 0.4415189028, -0.5135669708, -0.3053119481, -0.5581464171, 0.4117608964, 0.0070852195, -0.2299752086, 0.7564250231, 0.5440191627, -0.6001969576, 0.3752413094, -0.4719031453, 0.0694633946, -0.5426543355, 0.0107310871, -0.2160600424, 0.2775430381, -0.3190720081, -0.4154098332, 0.496948719, -0.3309834301, -0.3452235758, 0.0705245659, 0.5984172225, -0.3547825813, -0.6228624582, 0.3832677901, 0.7823136449, 0.0987576246, 0.2343037277, -0.4224039614, -0.3901619911, -0.2102234513, -0.4735378921, 0.247060284, 0.6721634269, -0.2475016862, 0.6110019684, 0.5669221878, 0.1108129099, 0.2623590231, 0.0631176904, 0.6886782646, -0.868722558, -0.3764191568, -1.4391833544, 0.1981414407, 0.0581461005, -0.0774567798, 1.1008323431, 0.3211548626, 0.6694882512, -0.1932716668, 0.6449337602, 0.3082856536, 0.5743160844, -0.9243284464, 0.6275664568, -0.3978636861, 0.3864571154, -0.3151654005, -0.6713199019, -0.2826376855, 0.1961755753, -0.7320443392, 0.0139162717, 1.1432195902, 0.6295775771, 0.1258243769, -0.0815583989, 0.1997650564, 0.4277896881, 0.1806703061, 0.614438355, 1.0902389288, -0.344770968, 0.4342754781, 0.0058624581, 0.2159273773, -0.100684762, -1.0363326073, -1.3053935766, -0.4106497467, -0.5094356537, -0.2602879107, -0.0891446769, 0.3094463348, 0.2822197378, -0.5625250936, -0.1411266923, -0.3641938865, 0.812471807, 0.1147559211, -0.199299261, 0.4304033816, -0.1324039847, -0.3041994572, 0.171113506, 0.0624601059, 0.3852186203, 0.2251159251, 0.0212508738, -0.4513446391, 0.2199257612, 0.5116739273, 0.1328235865, -0.6091560125, -0.3332096934, -0.3207404017, -0.072215654, -0.0196349397, 1.0674915314, -0.6981551647, 0.1137800366, 0.5993070602, 0.147767067, 0.5701614022, 0.001467891, 0.442918092, -0.629312396, 0.2795565128, -0.1973187327, 0.5542405248, 0.143491298, -0.3833068013, 0.4802556038, 0.8488640785, -0.5197111368, -0.8123813868, 0.3985753059, -0.5284093022, -0.3895597756, 0.9909749031, -0.3652210832, -0.3922762275, -0.1922277659, 0.1451017112, 0.4854111075, 0.1764736027, 0.7162185907, 0.717345953, -0.502528429, 0.0919914469, -0.6561518908, 0.5513206124, 0.1592240781, -0.8039625883, 0.0248610936, 0.551150322, 0.4174863994, 0.0482538268, 0.9193860888, 0.0188968144, 0.1345657408, 0.215498209, -0.4852777421, -0.0225056522, -0.1390669644, 0.1832514405, -0.0191532802, -0.0060401587, -0.1096894667 ]
http://arxiv.org/abs/2406.15487v1
http://arxiv.org/pdf/2406.15487v1
Improving Text-To-Audio Models with Synthetic Captions
2024-06-18T00:02:15
2024-06-18T00:02:15
Zhifeng Kong, Sang-gil Lee, Deepanway Ghosal, Navonil Majumder, Ambuj Mehrish, Rafael Valle, Soujanya Poria, Bryan Catanzaro
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
It is an open challenge to obtain high quality training data, especially captions, for text-to-audio models. Although prior methods have leveraged \textit{text-only language models} to augment and improve captions, such methods have limitations related to scale and coherence between audio and captions. In this work, we propose an audio captioning pipeline that uses an \textit{audio language model} to synthesize accurate and diverse captions for audio at scale. We leverage this pipeline to produce a dataset of synthetic captions for AudioSet, named \texttt{AF-AudioSet}, and then evaluate the benefit of pre-training text-to-audio models on these synthetic captions. Through systematic evaluations on AudioCaps and MusicCaps, we find leveraging our pipeline and synthetic captions leads to significant improvements on audio generation quality, achieving a new \textit{state-of-the-art}.
[ -0.504663229, -0.4415787756, 0.3566000462, 0.1475301981, -0.332316041, 0.5246298909, -0.3254705667, -0.4463126361, 0.4886875749, 0.4838159382, -0.9228663445, -0.4123079479, -0.4747800231, 0.2906636596, -0.728987813, 1.0037420988, -0.0013563191, 0.2558592856, -0.1219660416, -0.1887136102, -0.8744753003, -0.1876867414, -0.6921053529, 0.0403613225, 0.176105231, 0.4855079353, 0.505253315, 0.6784992218, 0.4969641566, 0.1607777774, 0.1819456816, 0.3790585399, -0.1867445856, 0.2265425622, 0.0928356797, -0.2052699327, -0.5418288112, 0.275860399, 0.6375284195, 0.4871616364, -0.0799305588, 0.2466263622, -0.3072322905, 0.4590555131, -0.2397896498, 0.159932062, -0.6955267787, 0.1572110951, 0.108479917, -0.4635985494, -0.4847190082, 0.0873819664, 0.3342402577, -0.9286307693, 0.5248263478, 0.5812423229, 0.7383337021, 0.4583928883, -0.1550338417, -0.2213910222, -0.960285604, 0.7394747734, -0.7532866001, 0.5991978645, 0.1463418454, 0.7345887423, 0.3948390782, -0.9918413758, -0.5684264898, -0.2714914083, 0.0241667517, 0.1373131126, 0.07167501, 0.0339092501, 0.207536146, 0.921408236, -0.2795932889, -0.1076916829, -0.5033218861, -0.3451730013, 0.8608743548, -0.0598178208, 0.6456804872, 0.0694505721, -0.3044854105, -0.4342237413, -0.6988040209, -0.2380062491, 0.492616415, 0.533813715, -0.3319881558, 0.6792818904, -0.1312994957, 0.4445521832, 0.1751179099, 0.2421791553, 0.3467609882, -0.6396734118, -0.1563079357, 0.2711792588, 0.7881600261, 0.3526532948, 0.3770707548, -0.401894927, -0.3895582855, 0.1201596335, 0.3855639398, -0.5899261236, -0.484631896, 0.4235952795, -0.1430949271, -0.2659831047, 0.1901433468, -0.5902658105, -0.1694702655, -0.8264850974, 0.6999521852, -0.3361921012, -0.2446699589, 0.0090960786, -0.3821231425, -0.0935769305, 0.0353365019, -1.0205160379, 0.3456331491, 0.3291053474, 0.8971111774, -0.2851276994, 0.0367254205, -0.9721707106, 0.1963192523, -0.2832031846, 0.8241562843, -0.3443847299, -0.1841492802, 0.102617301, -0.2961215973, 0.2750455439, -0.6258612871, 0.4853490591, -0.2068773508, 0.3627040684, 0.0023809019, -0.5970083475, 0.0572760291, -0.0397977792, -0.9427338243, 0.799159646, 0.0389186591, -0.477665931, 0.5631711483, -0.9954875708, -0.6055135727, -0.1376303136, 0.0163208563, -0.5534839034, 0.1505828947, 0.7540614605, 0.3325112164, -0.3183784783, 0.3903059661, 0.0246082433, -0.4291172922, 0.2390780002, -0.4992339909, 0.3288920224, 0.189499259, -0.0670454055, 0.3195299804, -0.9387831092, -0.1749810576, -0.0690606162, -0.1370512545, -0.0154166827, -0.0318019316, 0.5658270717, -0.1982299387, -0.1199541911, -0.6808714271, -0.2440648973, -0.6979113221, 0.9068570733, 0.4413734674, 0.0322821587, 0.8577917814, -0.6131525636, 0.5410996675, -0.2181940973, -0.0973426774, -0.6322595477, -0.1750632823, -0.6510000229, -0.7032161951, 0.5317775011, 0.3710189462, -0.4344091713, 0.539562583, -0.4000234008, -0.459238559, -0.7928732038, -0.1049943492, -0.012873468, 0.2036931962, 0.6315599084, -0.4876964688, -0.8379948139, -0.7537145019, -0.2392274588, -0.0052409749, -0.4279261529, 0.3347814977, 0.0943115875, -0.2047470361, 1.3280060291, -0.238854602, -0.4283142388, -0.0398913734, 0.2310543805, 0.0617512986, 0.727756381, 0.478928566, -0.7469450831, -0.367418319, -0.237430945, -0.4326689541, -0.205100596, -0.2809913456, -0.1448874027, -0.1485646963, 0.7520524263, -0.6574009061, -0.2405163348, 0.654600203, -0.0327196531, 0.6353643537, 0.1407766342, 0.2259956747, -1.1643331051, 0.0282586273, -0.1794086844, -0.472656846, -0.5863413811, -0.1163349971, -0.3393224776, -0.495207876, -0.539680481, 0.6410701275, -0.4416171014, -0.2950728238, -0.0726430938, 0.167559877, 0.1201548949, 0.3948765397, 0.3353352547, 0.8611546159, 0.6167613864, -0.188809216, 0.5100700855, 0.4538577497, -0.4922928214, 0.4318122268, -0.6279421449, 0.1217539087, -0.0395437069, 0.3632492423, -1.2289222479, -0.4074400365, -0.053584747, -0.6757680774, 0.5347923636, 0.0468557887, -0.5881180167, -0.0803433731, -0.0925883427, 0.5946139693, 0.3785554469, -0.7105228901, 0.7362784147, 0.3545209765, -0.3116499186, -0.1581094563, -0.6021328568, 0.2470317334, -0.3397788703, -0.543789506, 0.4389370382, -0.1477438658, -0.0006559681, -0.2745105922, -0.3310823739, -0.3566951752, -0.3567488492, 0.0904759988, 0.1757941395, -0.3352360129, 0.2855115831, 0.4688681364, -0.0064550205, 0.2075555474, -0.4971247315, 0.4916736484, 0.1651096493, -0.0372987427, -0.5647017956, 0.3713156879, 0.6570960879, -0.5916205645, 0.3034879565, 0.4351513684, -0.2318188846, -0.4059638083, -0.4994623661, -0.7857732773, -0.4855920374, 0.3121231794, -0.10950955, -0.876726687, 0.2784693241, -0.0881009325, 0.3625939488, 0.3646781147, 0.252412647, -0.505538106, 1.006206274, 0.2843495309, 0.1593292058, 0.652146101, -0.548805356, 0.0997562781, -0.6061992645, -0.0283351466, -0.3606630564, -0.2299560457, -0.5288071036, -0.42410478, 0.2746495306, -0.418713063, -0.4679963589, 0.7095763087, -0.5162028074, 0.4286457002, 0.6139352322, 0.2055926025, 0.3655529022, 0.5958526134, 0.0988563895, -0.0679753721, -0.7829181552, -0.2706745565, 1.2884117365, 0.6173774004, 0.455367893, -0.088802211, 0.6142023206, 0.6568595767, 0.3308955431, -0.753169179, 0.1544186622, -0.2981780767, -0.8262015581, -0.6052734852, -0.3612397015, -0.4855901301, -0.0166956857, -0.5923500657, -0.1728517264, -0.165873751, 0.1786417067, -0.3350380957, 0.086857371, -0.5486516356, 0.847155571, 0.0253413916, 0.0093226703, -0.0161823966, -0.5811436176, 0.0950855091, -0.2233071774, 0.3817105591, -0.0752566457, 0.2246687561, 0.6847586632, -0.4594484568, 0.6208419204, -0.031789355, -0.220216617, 0.6777753234, 0.0349413194, 0.2318692207, 0.2293157429, 0.2361391932, 0.3707306087, 0.0063491259, -0.2616122365, -0.5516570807, 0.3886042535, -0.7347406149, -0.2723922133, -0.1009890363, -0.9828362465, -0.517734468, 0.0739229694, 0.3755653203, 0.7428054214, -0.0856384113, 0.3210709989, 0.516554296, -0.3311474621, 0.4683869183, 0.2233798951, -0.0130819064, -0.8871457577, 0.7839606404, -0.1932852417, 0.5505700707, 0.5835935473, 0.1095322594, -0.6591852903, -0.5221235752, -0.6754011512, 0.1654680818, -0.3707912266, -0.1882161945, -0.5204227567, -0.2481778115, -0.4254908264, -0.0294416361, -0.7481905818, -0.6545670629, -0.2128213942, -0.3301107287, 0.5039522648, 0.0935577154, -0.145367682, 0.6287879944, -1.0843297243, 0.522139132, 0.3186914623, 0.2646276951, -0.2866733968, -0.7465001941, -0.2947826385, 0.263230592, -0.0371185504, -0.5777398944, 0.4593972564, 0.4538052082, 0.1646857858, 0.0496134646, 0.1550388932, 0.3020437658, -0.7960376143, 0.7936961055, 0.4379286468, -1.0048412085, 0.6032706499, -0.7369232774, 0.2358498871, 0.6061215401, -0.11417, -0.3658619225, -0.673407197, -0.3993616104, -0.8768343925, 0.4376570284, 0.7162698507, 0.6005172133, 0.1327626109, 0.2323259562, 0.1737118512, 0.4416993558, -0.9049933553, -0.0715287179, -0.5726456046, -0.5104358196, -0.238338992, 0.1930171996, -0.1060718819, -0.1283528805, 0.7485364676, -0.1455604583, 0.2746155858, 0.1270861179, 0.1065629199, -0.2718855739, 0.2040416002, 0.3937719762, 0.2515097558, -0.2668880522, -0.1068153232, 0.1143663526, -0.3791491687, 0.352601558, 0.0374913923, 0.0264637899, 0.1219184399, 0.5087866783, 0.9433117509, 0.1086660028, -0.9502129555, 0.3552299738, 0.1140706763, -0.2443896085, -0.6011561751, 0.0391104706, -0.0128691467, -0.0514408797, 0.2751903236, 0.3897197843, 0.2522053123, -0.5603507161, 0.4265692532, 0.0401935652, -0.5817949176, 0.0088676224, 0.9746524096, 0.5203480124, -0.3774626851, 0.6138178706, 0.3598825634, -0.015521042, 0.6005693674, 0.4316011071, 1.0167851448, -0.0719069913, 0.0962651372, 0.5746526122, 0.2669281363, -0.1303485483, 0.0431336164, -0.2667253911, -0.5359203815, -0.8068761826, -0.6596719623, -0.4898405969, 0.1395199448, -0.5252720714, 0.5152017474, -0.3943659067, -0.0999079943, -0.0966316536, -0.4071087837, -0.3874851167, 0.6724980474, -0.0041247089, 0.8645378947, -1.0887364149, 0.384265393, 0.5833866596, -0.60977, -0.811809659, -0.0170026384, -0.4202469885, -0.2374900877, 0.2547099292, 0.406945318, 0.0974403769, 0.1317389607, -0.6733192205, -0.7787534595, 0.9019058943, 0.3466041684, -0.9659565687, -0.0375477634, 0.5864064097, 0.7235050201, -0.6753440499, -0.1376615018, 0.4666564167, 0.4370044172, 0.1754367054, -0.9092020392, -0.2758240104, -0.1103173047, -0.2899919748, 0.0284103267, -0.2288905978, 0.5435791016, 0.0333684869, -0.1427270323, 0.2984882891, 0.8367618918, 0.3629443347, 0.4110254049, 0.7784113884, 0.4787546694, 0.2260554135, -0.2941876352, 1.0235470533, -0.1434493512, 0.2101235688, 1.3238484859, 0.1423549056, 0.8141773343, 0.4884212017, 0.0025391483, 0.3427392542, 0.6617155075, -0.2430646718, 0.7399654388, 0.3877087235, -0.2402453572, -0.4330901504, -0.131960988, 0.0070560365, 0.527864337, 0.023255771, -0.5263878703, 0.2599717081, 0.2368306369, -0.4694077373, 0.4218059778, -0.1029500142, 0.6622212529, 0.0607900023, -0.4827747643, 0.3176007271, -0.2844191492, 0.5431904197, -0.2661382854, -0.1313970983, -0.0335319899, -0.2545803189, -0.0463345982, -0.4413336217, 0.3762741387, 0.1590965837, -0.5201299787, -0.2036230564, 0.2681312859, -0.871460557, -0.5677953362, 0.1119165644, 0.1925678849, 0.0510045663, -0.3151735961, -0.2125345916, -0.0858947486, -0.1781514138, 0.2478051633, -0.2479757369, 0.1458436102, 0.1080929413, 0.3777111173, 0.9390323162, 0.2740502059, 0.0007091593, 0.4377049506, 0.3848976195, -0.2877019346, -0.7327714562, -0.4536301792, 0.7114937901, -0.0559358746, 0.1217742711, 0.2870560884, 0.7913229465, 0.9167715311, -0.4950062931, 0.9844915271, 0.1142142266, 0.7694756389, -0.6760676503, 0.8800824881, -0.6929802895, 0.3354709744, -0.391906023, -1.3765530586, -0.3254048228, 0.3998533785, 0.1843227744, 0.0326751135, 0.4560540915, 0.798966527, -0.4503387809, 0.2383280843, 0.1302430481, 0.150261879, 0.389442265, 0.1788627356, 0.8161010146, -0.8872932196, 0.7274528146, -0.1488335729, 0.0633144155, 0.1452403218, -0.8801054358, -0.8719034195, -0.6611740589, -0.6542342901, -0.1572752297, 0.0283371229, 0.8946116567, 1.027780652, -1.1770868301, -0.1998821646, -0.4124855399, -0.4505350888, -0.313880533, -0.2526317239, 0.2601469159, -0.2551091611, -1.089099884, 0.6745381951, -0.0158044547, 0.2831142545, -0.1915477514, -0.2254252732, 0.1864333749, 0.4480555058, 0.605068326, 0.1004941911, -0.543277204, -0.4528838098, -0.0196984019, 0.2829816043, 0.1454680711, 0.794025898, -0.3621571958, 0.7125828266, 0.4547511339, 0.5700704455, 0.7115903497, -0.1175942793, 1.035379529, -1.2045150995, -0.026639659, 0.2181872874, 0.1769711673, 0.6636530161, 0.0265813246, 0.5774922371, 0.1578151733, -0.3231832981, -0.9169510007, -0.0388132893, -1.2185479403, 0.0928509459, 1.1535925865, 0.0925283507, 0.3096213937, 0.2714032829, -0.5830886364, 0.6187807322, -0.53486377, 0.822778523, 0.588589251, 0.2638314068, -0.3083045483, -0.473043412, 0.690828979, 0.3431023359, -0.7499323487, 0.1158313602, 0.7871774435, 0.2755456865, 0.288700521, 0.1107793823, -0.2079054117, 0.4969184399, 0.0255293269, -0.0214357469, -0.399445504, -0.6400324106, -0.0194383003, -0.0102711227, -0.2551642358, -0.4457457662 ]
http://arxiv.org/abs/2406.12141v1
http://arxiv.org/pdf/2406.12141v1
A dual task learning approach to fine-tune a multilingual semantic speech encoder for Spoken Language Understanding
2024-06-17T23:07:53
2024-06-17T23:07:53
Gaëlle Laperrière, Sahar Ghannay, Bassam Jabaian, Yannick Estève
cs.CL
cs.CL, cs.SD, eess.AS
Self-Supervised Learning is vastly used to efficiently represent speech for Spoken Language Understanding, gradually replacing conventional approaches. Meanwhile, textual SSL models are proposed to encode language-agnostic semantics. SAMU-XLSR framework employed this semantic information to enrich multilingual speech representations. A recent study investigated SAMU-XLSR in-domain semantic enrichment by specializing it on downstream transcriptions, leading to state-of-the-art results on a challenging SLU task. This study's interest lies in the loss of multilingual performances and lack of specific-semantics training induced by such specialization in close languages without any SLU implication. We also consider SAMU-XLSR's loss of initial cross-lingual abilities due to a separate SLU fine-tuning. Therefore, this paper proposes a dual task learning approach to improve SAMU-XLSR semantic enrichment while considering distant languages for multilingual and language portability experiments.
[ -0.1469500214, -0.5047369599, 0.4112090468, -0.1760983169, -0.3960265815, 0.1744570732, -0.4737823308, -0.5914135575, 0.1137378663, 0.5007254481, -0.7458643913, -0.2491178513, -0.6758844852, 0.1424509883, 0.198656857, 0.9058489203, 0.0498475581, 0.4277909994, -0.1670318544, -0.3509666026, -0.4550824761, -0.3929451704, -0.7933190465, -0.1781515181, 0.4282019138, 0.4871385694, 0.4441741705, 0.4292325974, 0.1452463269, 0.2828728855, -0.1279612184, 0.3168672025, -0.3918529451, 0.2689427733, -0.5058842301, -0.4568817914, -0.120470196, -0.3513837755, 0.9510010481, 0.5295695066, 0.0828390792, 0.3505424857, 0.1957212687, 0.4615296125, -0.5516979098, 0.4381709695, -0.8780016899, 0.0172247719, -0.2937598825, 0.0051133474, -0.406847626, 0.3221517205, -0.1067321002, -0.4622685611, 0.112455219, -0.451731503, 0.792501092, 0.624489367, -0.7043272853, -0.2707203031, -0.6328189969, 1.012244463, -0.4718189538, 0.8994147778, 0.3892328441, 0.2101903558, 0.2348115742, -0.4407495558, -0.3345102072, -0.1833178401, -0.3393821418, 0.2720154226, -0.0361152105, -0.0449528135, 0.0017276743, 0.0587135144, -0.6549760103, 0.1651921421, -0.3868292272, -0.2016190439, 0.6486805081, 0.0112724714, 0.3360016346, -0.230931282, -0.3248365819, 0.012257087, -0.5176699758, 0.1766932458, 0.2715066969, 0.728533864, -0.1034485623, 0.3570213318, -0.0796206146, 0.5956845284, -0.015706338, -0.3068143427, 0.4562363327, -0.6452414989, -0.0373276249, 0.2667390704, 0.4023157656, -0.2164793015, -0.199195087, -0.4194412231, -0.0836111382, 0.2779725492, 0.1669148803, -0.397631377, 0.1916394234, 0.1370874047, -0.1993129104, 0.2988966405, -0.0274536274, -0.3090763092, 0.16434066, -0.8687992692, 0.5361941457, -0.4057393372, -0.5076560974, -0.0050672968, -0.0226297248, -0.0266050976, 0.0000471958, -0.8053799868, 0.3042826951, 0.6846577525, 0.5766183138, -0.124090679, -0.5408068299, -0.9108998179, 0.5182423592, 0.1492132843, 0.4660378993, -0.5621414781, -0.2648109496, -0.309437573, 0.2584877014, -0.3337799013, -0.3476499021, 0.5376447439, -0.3644276261, -0.1415192485, -0.15793401, -0.3298841417, -0.2228921652, -0.2718137801, -0.4576589167, 0.9108558893, 0.0508749075, -0.5817213058, 0.55914253, -0.4939203858, -0.7272244096, 0.1530074328, -0.3966544867, -0.3425914645, 0.0159085393, 0.0767913833, 0.5542347431, 0.1822542846, 0.3643127084, -0.0244850013, -0.3484407961, 0.0192981455, -0.0636297986, 0.6600400209, 0.3775720596, -0.4968971014, 0.1635510474, -0.657346487, 0.1932082027, -0.0873946622, 0.0483415984, -0.6130355597, -0.1217880324, 0.0706698522, 0.4653653502, 0.329447329, -0.8530709147, -0.4872379005, -0.3907543123, 0.6093037724, 0.5301383138, -0.3454710543, 0.4398760498, 0.0179551933, 0.3152463734, 0.2400723845, -0.0774178207, -0.0136509836, -0.2054881155, -0.7095753551, -0.2225198448, 0.1495893598, 0.6832213402, -0.6378540397, 0.4018214941, -0.3915586472, -0.2594893873, -1.0051091909, 0.3582297564, 0.7445058227, 0.2878144085, 0.5970631242, -0.1587051749, -0.6262325048, -1.0129250288, -0.3150283694, 0.154734239, 0.1628410518, 0.3161656857, 0.3790189624, -0.496203959, 0.7942454815, -0.1024818718, -0.6593922973, -0.4645142257, 0.074594602, -0.1624099612, 0.550970614, 0.1184353158, -1.0505423546, -0.6419254541, 0.3710230291, -0.5980732441, 0.2619262338, -0.1944223642, -0.086701408, 0.3621415496, 0.4032172561, -0.5486718416, 0.3437473178, 0.5786240101, -0.1448204815, 0.2636305392, -0.4475260377, 0.1474695504, -1.0399553776, -0.1159194857, -0.0430505723, -0.276794225, -0.8015468717, 0.3421841264, 0.3756174743, -0.2244181782, -0.4003000557, 0.3906176388, -0.5273376703, -0.1721553802, -0.3151606917, 0.5103725195, -0.0856820866, 0.4085293412, 0.4619951844, 0.8482359648, 0.7098921537, -0.460247606, -0.0190164819, 0.1760350615, -0.0142833106, 0.4288809001, -0.4690645337, 0.1535900235, -0.3935543001, 0.0832791328, -0.8937140107, 0.0310181808, 0.1168703362, -0.4142204821, 0.7277613282, -0.2517080009, -0.3121207654, -0.0732678846, 0.1849055588, 0.3957877755, 0.3921854198, -0.5221619606, 0.6342682838, 0.5518103242, -0.2767932713, -0.7016146779, -1.0623208284, 0.0164108966, -0.1852733046, -0.6336207986, 0.4154184163, 0.0913504511, -0.128353104, 0.0291033983, -0.1602893472, 0.086922504, -0.1908064932, 0.3011665642, -0.0478933044, -0.2366593331, 0.3403654397, 0.5148327351, -0.3847346008, -0.0389366858, -0.4268449247, 0.1800256371, -0.2876957655, -0.4109942615, -0.7847262025, 0.5878658295, 0.1284238994, -0.5289415717, 0.7482414246, 0.7826920748, -0.0458804816, -0.0997308716, -0.6025280952, -0.1330284923, -0.4447489977, 0.3681084812, -0.9472140074, -1.1378501654, 0.3694927692, 0.0179816131, -0.0962555334, 0.4234907627, 0.3579995334, 0.1921637505, 0.7733432651, 0.5921349525, 0.0181992147, 0.175959006, -0.1948724836, 0.1206615567, -0.7383357286, -0.1646520346, -0.4443805814, 0.0505660586, -0.6163589954, -0.5401617885, 0.1655091345, -0.2094227076, -0.0756621212, 0.5632250905, -0.2672615647, 0.204617992, 0.4920385778, 0.3302336335, 0.3029280007, 0.0448604636, -0.2433229089, -0.2144647539, -0.6029183865, -0.3430648446, 0.6960490346, 0.2063419521, 0.5310513973, 0.1611932367, 0.9985522628, -0.0070565678, -0.3995739222, -0.4278151691, 0.4272353947, -0.5434913635, -0.3078512847, -0.6109329462, -0.6253172755, -0.8899974823, 0.6076427102, 0.1071038619, -0.6105323434, -0.0235438943, 0.1066251844, -0.1239589527, 0.2224173546, -0.7916094661, 1.0172960758, -0.2991973758, -0.3649366796, -0.6666946411, -1.0444624424, 0.0134708099, -0.1686929017, 0.5920351148, -0.0525609739, -0.1633693576, 0.4829468131, 0.0544044189, 0.9503535628, -0.3217727244, -0.2440497726, -0.0155284191, -0.2054184079, 0.3844414353, 0.2662558854, -0.0489090756, 0.1655962914, 0.1121638939, -0.5120265484, -0.4016956687, 0.8137223721, -0.7840115428, -0.4543249905, -0.2650265992, -0.4379166067, -0.2950883806, 0.0446260162, 0.1789853126, 0.5293384194, -0.0130022923, -0.1295027435, 0.6887928247, -0.0470816605, 0.155545041, 0.5696382523, 0.2021038681, -0.1996732503, 1.0626958609, 0.062253546, 0.5729875565, 0.6386282444, 0.0450580083, -0.3995738924, -0.4502711892, -0.7559619546, 0.5107492805, -0.6912516356, 0.0069290902, -0.7541115284, -0.1334487051, -0.6623464227, 0.1384233534, -0.387327373, -0.3354498446, -0.5211727023, -0.0316480882, 0.1540646404, 0.5420737863, -0.2594442368, 0.0596763045, -0.9452956915, 0.3777080774, 0.0976219848, 0.161554724, -0.1165602282, -0.7147769332, -0.3381815553, 0.4296041727, 0.1995866597, -0.5503159761, 0.1798273027, 0.5705212951, 0.7893672585, 0.2585708797, 0.0474559925, 1.063598156, -0.6198439598, 0.6990824342, 0.1278216988, -1.0653837919, 0.8174920082, -0.0065152147, 0.5849951506, 0.6550650597, 0.5135723948, -0.6196051836, -0.6192820668, -0.5215499401, -0.5421007872, 0.9141756892, 0.0752550215, 0.1419022232, 0.0979455858, 0.269305706, 0.5571742654, -0.1893187314, -0.7199058533, -0.3441821337, -0.2201622128, 0.0106680263, -0.4209224582, -0.2907806933, 0.1273600757, -0.3012762368, 0.9167241454, -0.1167330369, -0.0039068959, 0.0546428189, -0.5338819623, -0.1787249297, 0.5771415234, 0.4656353593, 0.5970084071, 0.1490955502, 0.1970446706, 0.3316968381, -0.4090653956, 0.0880920067, 0.4059002399, -0.1170482188, 0.0504057445, 0.1032505035, 1.0279127359, 0.5332117677, -0.753203094, 0.2562257349, -0.0646474287, -0.0223378465, -0.4143217802, -0.068119064, 0.0722532198, 0.1487953812, 0.2526017725, 0.0275145192, 0.166824922, -0.4825502932, 0.3665945828, 0.6385333538, -0.5329952836, -0.2324639112, 0.6084188819, -0.066432409, 0.1246466488, 0.2744769752, -0.531897068, -0.35983482, 0.2207910717, 0.6797115207, 0.6519093513, -0.5593584776, 0.1893504411, 0.3506239355, 0.0950964093, 0.2847905457, 0.296043545, -0.5132744312, -0.5160920024, -0.6893208623, -0.6392509937, -0.116721876, -0.1577218771, -0.884626627, 0.2590475082, 0.3472091556, -0.0811522976, 0.0878705531, -0.0712995827, -0.4986293912, 0.2027423233, 0.2200648934, 0.4074893892, -0.7035526037, 1.1850117445, 0.8981463909, -0.2473846376, -0.6673517823, -0.1995591372, -0.1084579378, -0.616699338, 1.100967288, 0.1412590593, -0.6722828746, -0.0167434122, 0.245476082, -1.0824273825, 0.9746178985, 0.3982970715, -0.5237327218, 0.0306300744, 0.4762248993, 0.4450392425, -0.1132890061, 0.0831064507, 0.4433729351, 0.1621502936, 0.1299160719, -1.1919137239, -0.0617884621, -0.0471480526, 0.1068804413, 0.4672460258, -0.6407631636, 0.4413135648, -0.2525504529, -0.3535161912, 0.0542264618, 0.8987551332, -0.1875436753, 0.3853889108, 0.4930335879, 0.4960928261, 0.5680964589, 0.0733206123, 0.4534341097, -0.1721503884, 0.3430985212, 1.3542337418, -0.3268091083, 1.0457900763, 0.5190421343, -0.1548351645, 0.4109884799, 0.3676510155, 0.2798187733, 0.6045120955, -0.0831835344, -0.5232982039, -0.4351867735, -0.0974909738, -0.3700737357, 0.7419911027, 0.6063294411, -0.1769439578, -0.337549746, 0.6309810281, -0.0665498301, 0.1979016215, -0.346745342, 0.8642134666, 0.1503501087, -0.5563204885, 0.5458478332, -0.0230932813, 0.6544196606, -0.760951519, 0.133708775, 0.1044057235, 0.2661882639, -0.1419330984, -0.5719124675, 0.5719921589, -0.2817027867, 0.0828103647, -0.3372486234, 0.7928711772, -0.7880023718, -0.3234187365, 0.6103765965, 0.4598865509, 0.2737293541, 0.0323748812, -0.7394583225, 0.0348134525, 0.0823764727, 0.3406639099, 0.6639363766, 0.3540428877, 0.2700000405, 0.5712525249, 0.3876665533, -0.0671163276, 0.0454966314, 0.2124961764, 0.59708184, -0.4847736061, -0.8256660104, -0.6704446077, 0.3995914161, 0.0220425148, -0.0810769424, 0.9038738012, 0.7328326106, 1.1737017632, -0.2393612117, 0.8300589919, -0.0042306669, 0.6988947988, -0.6593026519, 0.4819477201, -0.7553600073, -0.0692253932, -0.1675888747, -0.3744551241, -0.2486979216, 0.5346114635, -0.1551909298, -0.177134335, 0.7161216736, 0.7886610627, -0.2559400201, 0.3110043108, 0.5629171729, -0.0269315988, -0.274722904, 0.5691857934, 0.6702430248, -0.2410366237, 0.5094681382, -0.5269163847, -0.2280764878, 0.1273523718, -0.5353789926, -0.9338517785, -1.0407836437, -0.4073407948, -0.1215721592, 0.3299472928, 0.7601373196, 0.7301604748, -0.8130713701, -0.3914829195, 0.1265579015, -0.1280642748, -0.5139095187, -0.1461268663, 0.4792206287, -0.8888478875, -0.6309112906, 0.6689304709, 0.194364652, -0.1785718054, -0.1201707423, -0.1735386997, -0.1695392281, -0.4624390006, 0.7486578822, 0.18701832, -1.1120120287, -0.1204885542, -0.168688044, 0.0912731513, 0.1003762558, 0.752736032, -0.8771857619, 0.4134434462, 0.1483016908, 0.7362397313, 0.7233074903, -0.206324324, 0.2269167602, -0.8149291277, 0.2668235302, 0.0579958297, 0.4099329412, 0.2166018337, -0.5929483771, 0.4020995796, 0.0468759239, -0.5662353039, -0.4661611021, 0.3689609766, -1.1712509394, -0.3409737945, 1.2025657892, -0.2193477601, 0.0189232249, -0.3453885615, -0.2418659031, 0.4985471666, -0.4256923199, 0.1947734654, 0.3324976265, -0.2249858975, -0.2138314247, -0.5785024762, 0.4343616366, 0.6312751174, -0.5508105159, 0.2787353992, 0.2706796229, 0.2192939967, 0.1355438232, 0.2639489174, -0.0611691438, 0.4216835797, -0.0857734606, -0.286675632, 0.0876801834, -0.1971998811, -0.5727393031, -0.1329155564, 0.1313087195, -0.2162445188 ]
http://arxiv.org/abs/2406.12138v1
http://arxiv.org/pdf/2406.12138v1
Bias in Text Embedding Models
2024-06-17T22:58:36
2024-06-17T22:58:36
Vasyl Rakivnenko, Nestor Maslej, Jessica Cervi, Volodymyr Zhukov
cs.AI
cs.AI, cs.CL
Text embedding is becoming an increasingly popular AI methodology, especially among businesses, yet the potential of text embedding models to be biased is not well understood. This paper examines the degree to which a selection of popular text embedding models are biased, particularly along gendered dimensions. More specifically, this paper studies the degree to which these models associate a list of given professions with gendered terms. The analysis reveals that text embedding models are prone to gendered biases but in varying ways. Although there are certain inter-model commonalities, for instance, greater association of professions like nurse, homemaker, and socialite with female identifiers, and greater association of professions like CEO, manager, and boss with male identifiers, not all models make the same gendered associations for each occupation. Furthermore, the magnitude and directionality of bias can also vary on a model-by-model basis and depend on the particular words models are prompted with. This paper demonstrates that gender bias afflicts text embedding models and suggests that businesses using this technology need to be mindful of the specific dimensions of this problem.
[ -0.1454959065, -0.5979396701, 0.6078453064, 0.3416167498, 0.033358302, -0.0237426907, 0.1819419116, -0.5527012348, -0.0717774555, 0.490883708, -0.6217738986, -0.3630359769, -0.9180060029, 0.1976137012, -0.2964016795, 1.0175340176, 0.1275061816, 0.6007446051, -0.6877073646, -0.3644655347, -0.7718730569, -0.7268103361, -0.210708797, -0.5446207523, 0.159102574, -0.0718467757, 1.1142517328, 0.755834043, 0.4366617203, 0.2204718888, -0.0838059783, 0.0480308123, -0.07526806, 0.1354511082, -0.1884670854, -0.540428102, -0.4915696084, 0.2645277679, 0.3061009943, 0.866509378, 0.1882628798, 0.2745188475, 0.1868203878, 0.7290356159, -0.4627211988, 0.2511031926, -0.3765873611, 0.1466114521, 0.0957049057, 0.2428027987, -0.3447387218, -0.3816410303, 0.7708539963, -0.2229741514, 0.2874722183, 0.29668051, 0.5816468596, 0.1685284823, -0.7543591857, -0.5611716509, -0.7942401171, 0.8556805253, -0.365663588, 0.595416069, 0.5599070787, -0.0052143703, 0.3434010744, -0.1168441325, -0.1123400629, -0.0818079337, -0.0241779443, -0.3453864157, -0.271802783, -0.0675241947, 0.3568325341, 0.0324401297, 0.025443878, 0.2733157277, -0.1218948513, 0.3405077159, 0.5087785125, 0.0383658186, 0.4653677642, -0.0523541532, -0.2765073776, -0.0532281026, -0.5994150639, -0.1804172397, 0.8116391301, 0.2421251386, 0.0664660186, 0.5891661644, 0.337303251, 0.6037735939, 0.1988644898, -0.0074293762, 0.206730336, -0.2645174861, -0.276597172, 0.3284944892, 0.6600220203, 0.4133650661, 0.4246018231, -0.0319109038, -0.0888635442, -0.129346624, 0.7698601484, -0.4604409933, 0.1710868627, 0.2277508527, -0.7548173666, -0.4930025339, 0.1082986072, -0.54099828, -0.7914857864, -0.0875087529, 0.2794785798, -0.1253746152, -0.1467532367, -0.2695046663, -0.5831645727, 0.0497585163, 0.1145591438, -0.9902257919, 0.0639986098, 0.8246013522, 0.7198476195, 0.2488523573, -0.1707615554, 0.0231890865, 0.3153747916, -0.459659934, 0.5062340498, -0.947573185, -0.6241109967, 0.2547608018, -0.1810978651, -0.0524041578, -0.4675973654, 0.2970702648, -0.1584190577, 0.3671413362, -0.6098878384, -0.6017850637, -0.2637235522, 0.244197309, -0.8708619475, 0.744233191, -0.0498921908, -1.0702580214, 0.8049471974, -0.5739032626, -0.1419050545, -0.3562864065, -0.7046080828, -0.750987947, 0.1144255623, 0.2587953806, 0.6309431791, -0.4890236259, 0.442997545, -0.3666340709, -0.1194297522, 0.3845561445, -0.4356762469, 0.7831724882, -0.1940372884, -0.4742698967, -0.0880024284, -0.2660642564, -0.6321917176, -0.1492508948, 0.0080722198, -0.8836752176, 0.3537954688, 0.0563017167, 0.17978625, 0.1105071604, -0.4894064665, 0.1752998084, -0.1494017988, 0.4462061822, 0.8588023782, -0.1447331309, 0.8559966683, -0.6204519868, 0.4889514446, 0.1212733239, -0.1138043702, 0.1755535603, -0.7323429585, -0.1534038335, -0.37964347, 0.3937810957, 0.478836, -0.3088257909, 0.3742685318, -0.2220126837, -0.5828449726, -0.7592263818, 0.027578989, 0.4563312829, 0.1038346887, -0.030829275, -0.0355798528, -0.1094069406, -1.337028861, -1.0224938393, 0.1256155819, 0.0125705553, 0.6995096803, 0.5699272752, -0.5201484561, 1.107545495, -0.57200104, -0.6460323334, -0.2471090853, 0.0350541249, 0.2012419701, 0.482858479, 0.8747993708, -0.8308427334, -0.2598023713, -0.1985534728, -0.5832757354, 0.0583539456, -0.3696318269, -0.1881327331, 0.1819204837, 0.3300493658, -0.5035902858, 0.6718111038, 0.5446760654, -0.6237318516, 0.3467320502, -0.1855148673, -0.1876415759, -1.0922532082, -0.0916339159, 0.5635945797, -0.4071243703, -0.5785477161, -0.0921862274, -0.0302889887, -0.0219821222, -0.0425743051, 0.4358543158, -0.7017971873, -0.3655770421, -0.2525530159, 0.0246199295, 0.1139519438, 0.003200666, 0.1576951593, 0.4779310822, 0.4285711944, -0.675554812, -0.0360923596, 0.58847785, -0.3300526142, 0.6043307185, -0.7895497084, 0.1492996514, -0.2336397916, 0.4314946532, -0.7409542203, 0.2297777534, 0.124032937, -0.2717530429, 0.1929032505, 0.0252983831, -0.4537914097, -0.2181203365, -0.3772521019, 0.5208393335, 0.2135709971, -0.4042284489, 0.7670783401, 0.4714160264, -0.0124964025, -0.7144665122, -1.1298488379, -0.271240294, -0.089074403, -0.552446723, 0.5678129196, 0.2019560933, -0.4134389162, 0.0361945108, -0.019027289, -0.1875632554, 0.0558493137, 0.477628082, 0.1812726408, 0.2354194969, 0.0714160353, 0.1753559709, 0.0908937752, 0.223422274, -0.0616097376, 0.417119652, 0.2632017136, -0.5734949112, -0.361853838, 0.5036450028, 0.6471785307, -0.1082207188, 1.0980490446, 0.5319030881, -0.7068943977, -0.1835367084, -0.4046030343, -0.2297384292, -0.454639852, 0.5761334896, -0.0086872969, -0.7082569599, 0.509141326, 0.0325360894, 0.2992677391, 0.4043422639, 0.5903658271, -0.0011069245, 1.4468176365, 0.9336948991, -0.4113577604, 0.3956362605, -0.1688242257, 0.4869765639, -0.7474442124, -0.3650316298, -0.8988941908, -0.5493514538, -1.2002829313, -0.076154612, 0.0145708043, -0.475856185, -0.3119608164, -0.0793941468, -0.6444537044, 0.0248530675, 0.8370816112, 0.1702349037, -0.1185048297, -0.0340300761, -0.1070548594, -0.2537553012, -0.6237754822, -0.697289288, 0.9764730334, 0.7730000019, 0.7414782643, 0.2613453567, 0.4551144242, 0.6381056905, 0.1847014427, -0.6185273528, 0.0190543421, -0.5110011101, -1.1594713926, -0.0656759664, 0.0064951549, -0.6433163881, 0.0603003055, -0.4006697237, -0.6466507912, 0.6087270379, 0.0439634025, -0.0534744188, 0.4818482399, -0.4460426569, 0.683062315, 0.1050562561, -0.3594949245, -0.0437663682, -0.2665009201, 0.1402287185, -0.0555540994, 0.4616437852, 0.0661517829, 0.0702299476, 0.7931173444, -0.3830749094, 1.1879392862, -0.1120051593, -0.2207793593, -0.1026177928, -0.0030182824, 0.490188092, 0.0274953619, -0.2268668264, 0.3432394266, -0.0552039072, -0.3614277244, -0.2418080866, 0.4378841221, -0.9870145917, -0.6381370425, -0.8270730972, -0.3981715143, -0.2605141401, 0.0263742991, 0.3797783554, 0.571500361, -0.3016636968, 0.2074330151, 0.6788246632, -0.5715143085, 0.2538096309, -0.1082975268, -0.1564962119, -0.0215935335, 0.5341255665, 0.3295231164, 0.0367172845, 0.2495825589, 0.1511795819, -0.1201820299, 0.0652624816, -0.4057721794, 0.1362149864, -0.476744473, -0.0651341453, -0.7722482681, -0.2832095325, -0.4514297545, -0.4082795978, -0.3374396861, -0.1524936855, -0.6765450835, -0.2066349685, 0.3597068191, 1.0362528563, 0.5927442908, 0.3508229256, -0.5599024892, 0.2015169561, 0.2750101984, 0.3226322234, 0.2214660794, -0.2523346245, -0.0907228589, 0.0928799659, -0.3206580579, -1.222017765, 0.3558468521, 0.0428152457, 0.6665330529, 0.6659513116, -0.2526241839, -0.0061425162, -0.551789999, 0.9864297509, -0.0292685516, -1.0015817881, 0.2417027354, -0.5543945432, 0.1318399161, 0.3301413357, 0.8339576721, -0.4650760293, -0.3747595549, -0.5599295497, -0.732855618, 0.6821331978, -0.019091798, 0.6426597834, -0.1201582253, 0.360042721, 0.5194956064, 0.6866118312, -0.8720849752, -0.5367593169, -0.0570866764, -0.317982018, 0.3315547407, -0.7173252702, 0.1298995167, -0.1857272983, 0.5736065507, 0.2133967131, 0.8842650652, 0.0740342662, -0.1366529316, 0.2831908166, 0.1321952045, 0.3639100194, 0.8069275618, -0.3117277622, -0.0721982047, -0.1507387161, -0.6886864901, -0.0156164523, -0.2130166143, -0.3309770525, 0.2500447035, 0.4158470631, 0.9282073975, 0.0407647826, -0.1873600781, 0.7156672478, 0.1410047561, -0.4251942933, -0.3263019621, -0.0638178289, 0.00632626, 0.4127748907, 0.4413678944, 0.1948918998, 0.2171814144, -0.6995018721, -0.2964368761, 0.7088341713, -0.7440656424, -0.0003774928, 0.8933139443, 0.3682917655, -0.4747212529, 0.6081718206, 0.1498368382, -0.7788063884, 0.7586729527, 0.5250092745, 1.2022173405, -0.1445922405, 0.2179121077, 0.0370942391, 0.6010394692, -0.180500105, 0.3069682717, 0.4496967494, -0.853638351, 0.1497831792, -0.2503277063, -0.4723495841, -0.3339862227, -0.5908331275, 0.4226606786, -0.5832082629, -0.6716433764, 0.048117023, -0.3269393742, -1.0901608467, 0.2191574126, 0.0262331571, 0.7525096536, -0.8760656118, 0.4425200224, 0.9189017415, -0.186556071, -0.3106454611, 0.2237091213, 0.0181164276, -0.5780208111, 0.7067795396, 0.4374111593, 0.1357745081, -0.226003021, -0.2287739068, -0.5813521147, 1.1360726357, 0.0755212381, -0.6790060997, -0.3409573138, 0.2974219322, 0.3452945352, -0.7813891768, 0.5735933781, 0.2330103815, 0.3256205022, -0.9202647805, -0.8470302224, 0.1084234864, 0.1090227813, 0.392716527, -0.1721850783, -0.6815477014, 0.7243627906, -0.0016616912, 0.3227061927, -0.4012576342, 0.3956227899, 0.1738667041, 0.5314278007, 0.3746709228, 0.2632823288, 0.7815083861, 0.0462710187, 1.0468430519, -0.3264303803, 0.0646641999, 0.8710017204, -0.1675072163, 0.5038176179, 0.1880936623, -0.0822043046, 0.9284059405, 0.4051583409, -0.3450320363, 0.3678033054, -0.0262850672, 0.0371636264, 0.0623188801, -0.3056667447, -0.49264884, 0.6173805594, 0.2527405024, -1.2174198627, 0.2918033302, 0.0940232947, 0.1576156467, -0.0206786022, -0.1994683295, 0.5223568678, 0.2475727499, -0.2722132206, -0.3834216893, 0.4170542359, 0.8875665069, -0.3562712073, 0.133883521, 0.0482419059, 0.0332182981, -0.2551452219, -0.6352365017, 0.2293293476, -0.007553495, -0.6227220297, -0.474413991, 0.8590533137, -0.3224034905, -0.5540186167, 0.207136333, 0.7393350601, -0.3265244067, -0.2648559809, -0.58045578, -0.1632256061, 0.1497645676, -0.1627180427, 0.3679329157, 0.2445153445, -0.1754225045, 0.6691243649, 0.286772728, -0.2323578745, -0.0975163728, 0.1143981591, 0.5109991431, -0.6831894517, -0.7504228354, -1.1244274378, 0.205233112, -0.0690174997, -0.3643245995, 0.8126665354, 0.4425110817, 0.4565906525, -0.1767822206, 0.8946449757, 0.4533606172, 0.2906383872, -0.1840441525, 1.0833054781, -0.4367512465, 0.3145802021, -0.6153222322, -1.276356101, 0.1345993131, 0.5146200657, -0.5040275455, 0.6558185816, 0.4203563929, 0.2470889091, 0.0492141694, 0.2931092978, 0.0673546791, 0.037543904, 0.1423516124, -0.1281375289, 0.4683380127, -0.2473501712, 0.0336725898, -0.1234926432, -0.1500802636, -0.4292941093, -1.1528819799, -1.0852600336, -0.480068475, -0.6361202002, -0.2619295418, -0.0001906918, 0.9585155845, 0.553463161, -0.3362047374, -0.1381847113, 0.0979958847, 0.4730601013, -0.1899131685, -0.2442531288, 0.1629192531, 0.1913997233, -0.7538847923, -0.3615444899, 0.0341510698, -0.1057668328, -0.5604429245, 0.3709174097, -0.3379796445, 0.4379033148, 0.3197266757, -0.3976717889, -0.5114911795, -0.2012916356, -0.016332129, -0.2221452445, -0.1464437991, 0.7725363374, -0.6402914524, 0.3445134461, 0.4485761225, 0.6408907175, 0.0229191463, 0.0449597612, 0.8595572114, -0.9565718174, 0.0262136851, 0.009767089, 0.2348475158, 0.4228361249, -0.7975486517, 0.2717520297, 0.2907876074, -0.5127725005, -0.8069292307, 0.1612896621, -0.435011059, -0.6404107809, 1.1640474796, 0.3725579083, -0.1886388958, -0.0350335203, -0.1833089441, 0.1852376163, -0.4153964221, 0.6361857653, 0.9325924516, 0.0432051718, 0.067160897, -0.8215238452, 0.5548642278, 0.3742197156, -0.3125136197, -0.0321933776, 0.3817107677, 0.3123939931, 0.0877882689, 0.3995376229, 0.0414323285, 0.0665067807, 0.0751451552, -0.0148243578, 0.0579602569, -0.1840458512, -0.2337329537, -0.1049323976, 0.2527180314, -0.1038759127 ]
http://arxiv.org/abs/2406.12131v1
http://arxiv.org/pdf/2406.12131v1
Gram2Vec: An Interpretable Document Vectorizer
2024-06-17T22:42:14
2024-06-17T22:42:14
Peter Zeng, Eric Sclafani, Owen Rambow
cs.CL
cs.CL
We present Gram2Vec, a grammatical style embedding algorithm that embeds documents into a higher dimensional space by extracting the normalized relative frequencies of grammatical features present in the text. Compared to neural approaches, Gram2Vec offers inherent interpretability based on how the feature vectors are generated. In our demo, we present a way to visualize a mapping of authors to documents based on their Gram2Vec vectors and highlight the ability to drop or add features to view which authors make certain linguistic choices. Next, we use authorship attribution as an application to show how Gram2Vec can explain why a document is attributed to a certain author, using cosine similarities between the Gram2Vec feature vectors to calculate the distances between candidate documents and a query document.
[ -0.1721354574, -0.5921775699, 0.876942277, 0.0972564071, -0.0194004271, -0.0583011694, -0.2360318452, -0.2856282294, 0.3228605092, 0.2078951746, -0.4608268738, -0.70897609, -0.9289343953, -0.1405645311, -0.5007347465, 0.7400990725, 0.0752684027, 0.0727805123, -0.9056591392, -0.09973187, -0.5561305285, -0.4089492261, -0.3846780062, -0.1942250729, 0.3919726014, 0.6531289816, 0.7963409424, 0.5701566935, 0.4211123288, 0.2633794546, -0.3404888213, 0.030736167, -0.7303455472, 0.1329059154, -0.2204313576, -0.8313587308, -0.3956388235, 0.2583214343, 0.6104384065, 0.2333234102, 0.0311453063, 0.043648839, 0.1699853092, 0.3411743343, -0.5233887434, 0.5682761073, -0.2698890865, -0.0439720191, -0.2613122761, -0.3043165207, -0.5302445292, -0.8590875268, -0.2056256235, -0.7173522711, 0.3104296327, -0.1234224886, 0.7669709921, -0.0147049772, -0.387894243, -0.7510026693, -0.6143023372, 0.6579279304, -0.1436631829, 0.4902155995, 0.5755447745, 0.3979221284, -0.0700607523, -0.8692191839, -0.5938107371, 0.1699944586, -0.3210946321, 0.3303282857, -0.2407116443, -0.1952322125, -0.0332467705, 0.3938046694, -0.5604320168, 0.0153718349, -0.3833458424, -0.0415478349, 0.3155996501, -0.1760302335, 0.5458127856, -0.4378194213, -0.228140533, -0.1430483162, -0.5511649251, 0.2982518673, 0.7108137012, -0.06795948, 0.1228580922, 0.6246509552, 0.3524777293, 0.4890333712, -0.2464371175, 0.1034226716, 0.2450715452, -0.1392968446, 0.1889860481, 0.0695798025, 0.5259673595, 0.4756016731, 0.4424714744, -0.1231691986, -0.0340895578, 0.1095528454, 0.6496275663, -0.658176899, -0.3816372156, -0.0783203095, -0.7719535232, -0.5555171371, 0.5992914438, -1.0742013454, -0.4641580582, -0.2633304298, 0.2191026807, -0.5632264614, -0.1992135346, -0.256490916, -0.6235375404, 0.431045562, 0.1953766644, -1.1349157095, 0.3957501054, 1.2058845758, 0.9868835807, 0.0470282175, 0.0368733406, -0.7586599588, -0.081406936, -0.2905614674, 0.8850413561, -1.0940135717, -0.7067455053, 0.3381031454, 0.0789441615, 0.1712432504, -0.247673586, 0.6848551035, -0.5470625758, 0.2213947326, -0.2664059997, -0.6166906357, -0.2914440632, -0.0818828568, -0.6560084224, 1.120716691, 0.4478972554, -0.6116172671, 0.2256082147, -0.4517274201, -0.3388537169, 0.1053064093, -0.4470716417, -0.3492023051, 0.2393491864, 0.151391834, 0.4808610976, 0.0626793578, -0.1340595484, -0.228114903, -0.1818675846, 0.1871287972, -0.121583946, 0.6849483848, 0.3018060029, 0.0692912042, 0.2243274599, -1.0322545767, -0.0075476998, 0.1324994862, -0.3653064072, -0.619271934, 0.2616326213, 0.3596987128, 0.0233163889, 0.2327515632, -0.4149309397, 0.2647206485, -0.30012995, 0.4720121026, 0.7191835642, 0.0133045977, 0.7686645389, -0.0024663499, 0.8121872544, -0.729806304, -0.025252983, 0.079865694, -0.8773133755, -0.5321774483, -0.4012479186, 0.1927001774, 0.733117342, -0.5861488581, 0.5193913579, -0.5774368048, -0.37301898, -0.5376849174, 0.4583331943, 0.5563462377, 0.3472986221, 0.2707490921, -0.1141393259, -0.3330793679, -0.8404476047, -0.3011293411, -0.3823914826, -0.2941588461, 0.2962917984, 0.2451059371, -0.106322661, 0.8019861579, -0.8307675123, -0.3960655332, -0.2192976773, 0.3383566737, -0.2537029088, 0.3543526232, 0.7443153262, -0.7776150107, -0.3736124039, 0.0511620902, -0.8729389906, -0.3185935915, -0.0297990125, -0.4603242576, -0.0265630204, 1.0419327021, -0.1544949114, 0.5356165171, 0.6317539215, -0.7793796659, -0.0974267349, -0.3872850239, 0.0389226601, -1.1982761621, -0.0904170647, 0.0521542355, -0.3988090456, -0.4104141891, -0.0414475203, 0.374802947, -0.0558538064, -0.1068023145, 0.2990634441, -0.5126435757, -0.3040122092, 0.0463596657, 0.380265981, 0.350979507, 0.0738850012, -0.1821208447, 0.6110136509, 0.1908707619, -0.0822637677, 0.3911828101, 0.8371081352, -0.4412806332, 0.7222838402, -0.4036390781, 0.3196344376, -0.3228995204, -0.0064091678, -1.2852425575, -0.1794567257, 0.1363990456, -0.776398778, 0.4425166845, -0.3199536204, -0.2966988981, -0.0096518118, -0.5213136673, 0.0914573669, 0.6588028669, -0.7217845321, 0.957455337, 0.1415081173, -0.3987190425, -0.0071028699, -0.9325584173, 0.106003575, 0.1851009429, -0.9352499247, 0.2955161333, 0.3033119738, -0.3837584555, 0.455588758, 0.4104360342, 0.1369415522, 0.0816196278, 0.7726863027, 0.206001237, -0.0988120288, 0.3491275012, 0.2667800784, -0.2606818378, 0.120082505, -0.3323550224, 0.3233869076, -0.1073344424, -0.1743706614, -0.2397891581, 0.5675089955, 0.3725764751, -0.4001258016, 0.6408448219, 0.8174650669, -0.2883522213, -0.277376622, -0.2938174009, 0.2317992002, -0.450831145, 0.3109612167, -0.6051061749, -0.7384466529, 0.5058708787, 0.0091350609, -0.2915853262, 0.7683444023, 0.576002717, -0.0615406707, 0.5591698885, 0.7732491493, 0.0863381848, 0.6919710636, -0.3753985763, 0.1555063277, -0.7680804133, -0.8823124766, -0.67825073, -0.4213633835, -0.5903460979, -0.734624505, 0.1318636984, 0.0683682784, 0.3694743812, 0.3114526272, -0.6030400395, 0.5502276421, 0.7646238208, -0.211076647, -0.0231052916, 0.0622357167, -0.1500925571, -0.0930272788, -0.2932112813, -0.6286328435, 0.7816277742, 0.4968550205, 0.7939912677, 0.5400176048, 0.5329508185, 0.3818001449, -0.1367452592, -1.180029273, 0.2335711569, -0.4488693774, -0.2306564599, -0.1446583122, -0.0543566085, -0.6296592951, -0.0016986714, -0.496113658, -0.7233998775, 0.6929607987, 0.0146114537, -0.2401502281, 0.1466815919, -0.910071373, 0.9571334124, 0.0249445029, -0.0790201947, -0.1605411619, -0.3867454827, -0.2288166732, 0.2176004797, 0.2628243864, 0.3149780929, -0.0858452469, 0.6729853153, -0.3938894272, 0.6640189886, -0.2280451506, -0.0299027916, 0.2661006451, 0.3590415716, 0.6201974154, 0.2092802376, -0.1877299994, 0.1309799254, -0.1265091896, -0.2432810068, -0.9950517416, 0.9047141075, -0.7000421882, -0.323738724, -0.3387496173, -0.1315631717, -0.055211693, 0.0370890908, 0.3784340024, 0.6116775274, -0.6019414067, 0.2960304022, 0.4379146993, -0.2530522645, 0.1656467915, 0.0425023101, -0.1642318666, -0.3805496395, 1.0444692373, 0.0283618141, 0.0832487941, 0.4448800683, 0.2598082125, -0.3452578783, -0.5212452412, -0.2344317138, 0.0032630484, -1.0519444942, 0.2246402204, -0.8169220686, -0.1526360065, -0.6259053349, -0.5882373452, -0.141069755, -0.6980608106, -0.7751937509, -0.3586298525, 0.5039586425, 1.2701212168, -0.0586921163, 0.3650687039, -0.5461116433, 0.3106742203, 0.4437998533, 0.3168600798, -0.4875090122, -0.7154112458, -0.0371240303, -0.5829778314, -0.1253526509, -0.7272167206, 0.2414285094, 0.3281339407, 0.3894571662, 0.7754118443, -0.5561920404, 0.2752123475, -0.6320477128, 0.9726015329, 0.025560746, -0.9252759814, 0.8827688098, -0.0648908913, -0.0257322378, 0.4904074967, 0.3745189607, -0.7027984262, -0.2110566348, -0.3929753006, -0.773552537, 0.4792202413, 0.289950788, 0.1183846667, 0.0080742845, 0.6470612884, 0.0684498325, -0.3563320041, -0.1267673224, 0.0109599084, -0.5657804012, -0.6776383519, -0.4504057765, -1.1472109556, -0.0769342855, -0.1419394761, 0.5281066895, -0.0468421802, 0.4788686037, 0.0123063447, -0.1843032837, 0.1982363164, 0.2579666674, 0.6229661107, 0.5751239657, -0.2866066098, 0.3437103331, -0.2501054108, -0.6305324435, -0.1345926076, 0.1704212427, -0.1148238033, 0.086554043, 0.8080049753, 0.9068865776, 0.063343972, -0.0420737378, 0.905148387, -0.2305962592, -0.5046211481, -0.529804647, 0.0728659555, 0.2340491116, 0.3033517897, -0.1774867028, 0.1245843396, 0.2818368375, -0.5584869981, 0.1393282861, 0.2339525074, -0.9036046863, -0.4671409726, 0.8666638136, 0.3916999102, -0.3765254319, 0.6102295518, -0.2438658327, -0.6062342525, 0.5347998738, 0.3542428613, 1.0528140068, -0.0955024362, 0.2967655957, 0.2763106823, 0.3804385364, -0.0019978664, 0.3904679418, 0.1992234439, -0.4766539633, -0.0073080692, -0.6303564906, 0.011736651, -0.4390311837, -0.7659538388, 0.3013332486, -0.5576930046, 0.0139493626, 0.4541102946, -0.3895069063, -0.5516323447, -0.2081808299, 0.3449244797, 0.6434177756, -1.0405608416, 0.853320837, 0.8103734255, -0.4628534913, -0.5843716264, -0.0781288594, 0.6584296227, -0.8288039565, 0.7742048502, 0.0335449502, -0.238278836, -0.1547444761, -0.2952990234, -0.6851177216, 1.1884652376, 0.1582963914, -0.3199582994, -0.0271651875, -0.00745244, 0.5471677184, -0.2935652733, 0.1364498883, 0.569534421, 0.6297194362, 0.1899282485, -0.2855678499, 0.0022024012, -0.6268868446, 0.5082266927, 0.073890239, -0.3439938426, 0.7258195281, 0.0651358068, -0.27347368, -0.0106471321, 0.7978838086, -0.7378415465, 0.1050532758, 0.4199604988, 0.5717259645, 1.0590857267, -0.1570519656, 1.3518037796, 0.021755781, 0.3774853945, 1.2766156197, 0.2187432051, 0.8480277061, 0.3865566552, -0.0396966562, 0.8537650108, 0.1975034475, -0.5003550053, 0.5261291862, 0.1722610742, -0.2523536384, -0.1650410146, -0.0627700239, -0.0756297633, 0.617451489, 0.2733961344, -0.6981663108, 0.0837114975, 0.1145274937, 0.1013788655, 0.7412188053, -0.1378959417, 0.8726422787, 0.1777145118, -0.3596744835, 0.0992718637, 0.1913809329, 0.509511292, -0.4409359992, -0.3322945833, 0.002188806, 0.3245403171, -0.618383944, -1.101077199, 0.4411365986, 0.0790526271, -0.4297200441, -0.4494772851, 0.9178282619, -0.4429124892, -0.7785609365, 0.4888573885, 0.2489099205, 0.1554208249, -0.0869845673, -0.1029261202, -0.0319399759, -0.1213068664, -0.2678185701, 0.0279373843, 0.6092550159, -0.0792375952, 0.4389226139, 0.4297809005, 0.0621433221, 0.0053675286, 0.3832027316, 0.7216701508, -0.514636755, -0.5455238223, -0.7977403402, 0.2661808431, -0.0506254174, -0.1796185672, 0.7096883655, 0.6613307595, 0.6645193696, -0.1681522727, 0.7566261888, -0.20103845, 0.3084008098, -0.7284757495, 1.0459965467, -0.5587502122, -0.0404982045, -0.0313601829, -0.8427993655, -0.3336462677, 0.6635613441, -0.2663956881, -0.1589722186, 0.7436731458, 0.9077793956, -0.0675566345, 0.003914163, 0.3214607537, 0.153442204, 0.6228940487, 0.1028607935, 0.6609668732, -0.2079583108, 0.6719146967, -0.0667048916, -0.2883583009, -0.4031655192, -0.675834775, -1.0239063501, -0.7385505438, -0.143413499, -0.486048609, 0.0060075349, 0.7526970506, 0.187930584, -0.6931090355, 0.2179052383, 0.0628371239, 0.1124897078, -0.1602692157, -0.2441028059, 0.5713558793, -0.2921620607, -0.8220458627, 0.2932198942, 0.2870188653, -0.0877277404, -0.1828218699, -0.0773912445, -0.2420667261, 0.0677231401, 0.7815627456, 0.016389817, -0.6433401704, -0.6843855977, -0.2585226595, -0.1468278766, 0.1068539023, 0.8739888668, -0.3430840075, 0.9480487108, 0.9021881819, 0.5739921331, 0.504365921, 0.221698001, 0.5495863557, -0.802528441, 0.1995998323, -0.0630482733, 0.3202464581, 0.2733182311, -0.6944582462, 0.5801512003, 0.2806536257, -0.3171727359, -0.1774655879, -0.1133417338, -1.2930315733, -0.3351051509, 1.6067457199, -0.375287503, -0.4356292784, 0.0464433469, -0.2954674363, 0.2148506343, -0.4617690742, 0.1903755963, 0.9679669142, 0.3166617155, 0.0832940638, -0.8953860998, 0.6932250857, 0.102759406, -0.5730936527, -0.1149103194, 0.6425794959, 0.3044577837, 0.2082798779, 0.4722063243, -0.449637413, 0.0261896998, 0.2632818222, 0.3530493677, -0.3724404275, -0.4548857212, -0.6346454024, 0.1418505013, 0.2124645412, -0.3792354465 ]
http://arxiv.org/abs/2406.12128v1
http://arxiv.org/pdf/2406.12128v1
AI "News" Content Farms Are Easy to Make and Hard to Detect: A Case Study in Italian
2024-06-17T22:19:00
2024-06-17T22:19:00
Giovanni Puccetti, Anna Rogers, Chiara Alzetta, Felice Dell'Orletta, Andrea Esuli
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly used as "content farm" models (CFMs), to generate synthetic text that could pass for real news articles. This is already happening even for languages that do not have high-quality monolingual LLMs. We show that fine-tuning Llama (v1), mostly trained on English, on as little as 40K Italian news articles, is sufficient for producing news-like texts that native speakers of Italian struggle to identify as synthetic. We investigate three LLMs and three methods of detecting synthetic texts (log-likelihood, DetectGPT, and supervised classification), finding that they all perform better than human raters, but they are all impractical in the real world (requiring either access to token likelihood information or a large dataset of CFM texts). We also explore the possibility of creating a proxy CFM: an LLM fine-tuned on a similar dataset to one used by the real "content farm". We find that even a small amount of fine-tuning data suffices for creating a successful detector, but we need to know which base LLM is used, which is a major challenge. Our results suggest that there are currently no practical methods for detecting synthetic news-like texts 'in the wild', while generating them is too easy. We highlight the urgency of more NLP research on this problem.
[ -0.4588137269, -0.7392084002, 0.5659080744, 0.1219331101, -0.4566921294, 0.2669976056, -0.3299876153, -0.7887620926, 0.3744677007, 0.4777883887, -0.734521389, -0.6304520965, -0.7053153515, 0.4901334047, -0.9188170433, 1.2257304192, 0.1237027422, -0.0843228102, 0.0052075898, -0.1155003905, -0.0466969758, -0.3140327632, -0.9688026309, -0.1498660296, 0.6614867449, 0.2259470075, 0.7870485187, 0.8591845036, 0.2940401435, 0.292490989, -0.2360293865, 0.7643896341, -0.6133352518, -0.0881291404, -0.1937218457, -0.5697325468, -0.0229451749, 0.20687069, 0.6430608034, 0.5398791432, 0.2544890344, 0.0520290732, -0.0146451248, 0.7401450872, -0.3694247305, -0.1221433431, -1.0862711668, 0.1230451316, -0.3341265023, -0.2210976034, -0.4756416976, -0.1487156451, -0.2552621961, -0.5912670493, 0.3527081609, 0.1836831421, 1.0448257923, 0.2378829718, -0.6198585033, -0.5342109203, -0.8977065682, 0.7731801271, -0.6677894592, 0.0909911543, 0.2650106549, 0.0120026441, -0.6045741439, -0.6244503856, -1.0338792801, -0.3109855652, -0.1845389307, -0.0825634152, -0.2576383352, -0.1998003721, -0.0047328332, 0.4367813468, -0.4260536134, 0.3714990914, -0.2945328653, -0.2839154303, 0.6676790118, 0.1931506544, 0.3392989337, 0.0127999093, -0.1594190896, 0.0517957509, -0.7491224408, -0.1802508682, 0.592427671, 0.300468117, 0.0156938527, 0.6664696336, -0.2228259444, 0.6816090345, 0.0341802575, -0.3820422292, 0.0914381221, -0.3527499735, 0.0048806728, 0.1651923507, 0.9144915342, 0.2035060674, 0.452429831, -0.0948686078, -0.4151399434, 0.3026836514, 0.4005501866, -0.5028374791, 0.0690499619, 0.1454572529, -0.2117104083, -0.4833374023, 0.0044860146, -0.3731026649, -0.4900818765, -0.1961398721, 0.3359379172, -0.1624217033, -0.103041552, 0.0487536043, -0.1347116977, 0.2686615586, 0.2641913593, -0.7244798541, 0.074393101, 0.7199949622, 0.9370788336, -0.4507517219, -0.2507400811, -0.6603178978, 0.1022118106, -0.6677942276, 1.1631795168, -0.2487638444, -0.147142604, 0.1398222744, 0.1855276227, 0.0335394368, -0.59322083, 0.5833598971, -0.5492863655, 0.1145172119, 0.0275673401, -0.5457050204, 0.0081031695, 0.4756662846, -0.8971809149, 0.80553931, 0.0540176854, -0.6836526394, 0.4414983094, -0.1307849735, -0.9846943617, -0.2764203548, 0.0019774784, -0.4641681314, 0.2292219102, 0.1708728075, 0.3631528914, 0.0711072907, 0.2671636343, 0.1323050261, -0.4590898752, 0.2760605514, -0.7665296793, 0.3053741753, 0.3724960089, -0.3480037451, -0.2213888019, -0.9328306913, -0.3244713545, -0.1123457998, -0.7282291055, -0.2660518587, 0.3598808646, -0.0359677598, -0.0411284082, 0.1704149246, -0.4421116412, 0.1153881475, -0.5849232674, 0.3956831992, 0.5355128646, -0.2467178851, 0.3700655401, -0.6784363389, 0.3055056036, 0.2057970017, -0.1881516725, -0.4175035059, -0.4643265009, -1.0628300905, -0.2563565075, 0.2128431499, 0.4262494743, -0.8449324965, 0.2289479375, -0.1858257055, -0.6865252256, -0.6500532627, 0.422488153, 0.2335572541, 0.2223957777, 0.1874583066, -0.0670900494, -0.3939347267, -0.8975034356, -0.672490418, 0.097629346, 0.047794994, -0.0561154298, 0.2215701789, -0.2224784791, 0.8679981232, -0.1799215674, -0.3690721989, -0.3252353966, 0.2791040838, 0.5638558269, 0.3823899031, 0.4933455586, -1.0213394165, -0.3812222481, 0.1181974113, -0.6830364466, 0.0615648739, -0.3365726471, 0.0638263524, 0.4466025233, 0.4927281439, -0.9128972292, 0.2362284958, 0.651335597, -0.122707665, 0.4411610067, -0.1711890548, 0.0618076958, -1.1769329309, -0.2057160288, 0.1868873686, -0.5367534161, -0.6804828644, 0.1514420807, -0.2827441096, -0.0197123419, -0.7649154663, 0.690985918, -0.4156427681, -0.0227780864, -0.5626826882, 0.0236718263, -0.0148006938, 0.3109734356, 0.1919332743, 0.8397677541, 0.0679319948, -0.7193151116, 0.3620858788, -0.0506772995, -0.6820147038, 0.259549439, -0.4611402452, 0.1027780026, -0.3823246658, 0.5091052055, -0.8368077278, -0.3790796399, 0.2437129021, -0.3733890653, 0.0609348379, 0.0267332699, -0.7557541728, -0.268302232, -0.2671013176, 0.1837480068, 0.3381321728, -0.6319523454, 0.4581743181, 0.334317863, -0.0797176063, -0.2874354422, -0.8321301341, 0.3686133623, -0.1094617918, -0.5569127798, 0.3299151659, 0.0792271718, -0.2303603888, 0.1308134943, -0.1528990567, -0.161715731, 0.1608288288, -0.0312420968, -0.1458460242, -0.2510558963, 0.1821513176, 0.284930706, -0.0635153353, -0.0840196088, -0.4449568689, 0.4764696062, 0.0861996412, -0.2132204324, -0.6527336836, 0.3243931234, 0.7133823037, -0.1121385247, 0.8614785075, 0.758228898, -0.4607613683, -0.5662126541, -0.5392559767, -0.15960446, -0.4852030575, 0.2017348111, 0.007719289, -0.7212411165, 0.216434449, -0.0463480428, 0.196687758, 0.6609739661, 0.6307446957, -0.1545402855, 1.3835937977, 0.4799726307, -0.1510487497, 0.370633781, -0.2270983309, 0.2122512013, -0.187292397, -0.1926996559, -0.6407991648, -0.5683714151, -0.9117627144, -0.1571319401, 0.4585683048, -0.2458647937, -0.0198039189, 0.2733526826, -0.4645261467, 0.7295701504, 0.843383193, 0.0427298322, 0.8583285213, 0.2478695512, 0.2312847674, 0.2510404289, -0.7015838027, -0.7748237848, 0.7559497356, 0.1362557709, 0.7732255459, -0.1973505467, 0.5290244222, 0.5923983455, 0.4622370899, -0.9303504825, 0.3523999453, -0.7395359874, -0.5279625058, -0.0185562279, -0.3335971236, -0.8898713589, 0.0277565848, -0.533721745, -0.2636198401, -0.0141061554, 0.1330651045, -0.2736080885, 0.392398417, -0.601650238, 0.4533113837, -0.1774742454, -0.2912667692, -0.3132961392, -0.1565643251, 0.3148860633, -0.276065886, 0.6693995595, -0.3066697419, -0.0739480779, 0.4280707538, -0.3877276182, 1.0909664631, 0.3127548695, -0.3078813851, 0.5589988828, 0.1693119109, 0.7457260489, 0.3080056906, -0.1620372236, 0.2637924552, -0.054905884, -0.4026474357, -0.3459176421, 0.8521235585, -0.9085352421, -0.7699530125, -0.4908969998, -0.4761732519, -0.040305756, 0.2387305796, 0.539214313, 0.2122650594, -0.0505454205, 0.1674923301, 0.4547577798, -0.2230939716, 0.3602799475, 0.6336730123, 0.2094082832, -0.044950597, 1.1011545658, 0.0413816608, 0.0553985052, 0.3406979144, 0.0737306252, -0.0431482568, -0.6389656663, -0.8140989542, -0.0083487844, -0.2178273648, -0.335596621, -0.6194658279, -0.5044261217, 0.0738558024, -0.2612399459, -0.5018383265, -0.2861145139, -0.7069990635, -0.0606410578, 0.1738855392, 0.7662495375, -0.0258213524, 0.4854043722, -0.9978919029, 0.5234237313, 0.2252103537, 0.1073862687, -0.3366940618, -0.3330105543, -0.4404651523, 0.6550188065, -0.3541375399, -0.7245308757, 0.6312388778, 0.3859312832, 0.2500632107, 0.5541865826, 0.1140137687, 0.3090381622, -0.4874011874, 0.8310406208, -0.1477124691, -0.7898545861, 0.5897294283, -0.5353643894, 0.1178133562, 0.4718509614, 0.6314980388, -0.3324935436, -0.8962844014, -0.2306873798, -0.6441429853, 0.5395970345, 0.1156172678, 0.8323767185, -0.6070465446, 0.427728653, 0.2389096022, 0.3979641199, -1.0122381449, 0.0503564365, 0.0375443734, -0.2884232402, -0.0478825644, -0.1468942314, 0.0434555225, -0.1199840382, 0.6477068067, -0.2359309793, -0.051429186, 0.3187213838, -0.1063722372, -0.3500009775, 0.0873369277, 0.4124111235, 0.4205449522, 0.2121012062, 0.243475154, 0.0057701129, -0.2776135206, 0.2441305816, -0.0816197097, -0.5332819223, 0.2987882793, 0.7043287158, 0.7254104018, 0.3080739081, -1.0400259495, 0.4945172071, 0.0793547183, -0.2771238983, -0.6074371934, 0.3886766732, 0.0604828224, 0.2913909256, 0.4834609628, 0.0279645007, -0.0378124267, -0.9516227841, 0.0135988006, 0.5371848941, -0.2993186116, -0.292031467, 0.6421281099, 0.2595886886, -0.3949078321, 0.8012022376, -0.4463983774, -0.4833414853, 0.8792532086, 0.6612901092, 0.4433408678, 0.1886591762, 0.5290876627, 0.0772212148, 0.4549623728, -0.3652742803, -0.0000418214, 0.392254889, -1.1683591604, -0.640897572, -0.8458855152, -0.2587789893, 0.320884496, -0.3221123219, 0.4999758601, -0.4657260776, -0.0799672902, 0.2414446771, 0.0680851415, -0.646818161, 0.2273572534, 0.2534042001, 1.0778397322, -0.8351984024, 0.7052466273, 0.803312242, -0.0462159738, -0.6087778211, 0.0041155629, 0.0777489245, -0.8332930207, 0.3426018059, 0.3922840059, 0.1404421628, 0.1636176258, -0.7646059394, -0.469769001, 0.8759680986, 0.4293904006, -0.7910538912, -0.1687710583, 0.3507135212, 0.8009312153, -0.4295078814, -0.0515726618, 0.6102359891, 0.6572541595, 0.1925322115, -0.6730878353, -0.2670080066, -0.0392926894, -0.362467438, 0.1543600261, -0.9342558384, 0.8102163672, -0.3244747221, -0.4538181722, 0.211079523, 0.6415417194, -0.0057929233, 0.7167360187, 0.5704458356, 0.5321722627, 0.555439353, -0.0916598439, 1.1313362122, -0.3913688958, 0.013450183, 0.7788225412, -0.0145821106, 0.8096051812, 0.3441230953, 0.1019623876, 0.6830145717, 0.7736680508, -0.2318238169, 0.3776271939, 0.4285395443, -0.5036729574, -0.4969074428, -0.5154585242, -0.0619879439, 0.7690679431, 0.3494248688, -0.4168107212, -0.1318131387, 0.0376317874, 0.2170805335, 0.3175314069, -0.4315871596, 0.9450469017, 0.2232791185, -0.8668534756, 0.4423870146, 0.3190180063, 0.7217010856, -0.5030105114, 0.0733803138, -0.5676562786, -0.0433780625, -0.2466576695, -0.5768222213, 0.5614480376, 0.3232595623, -0.3344550133, -0.0529826805, 0.6610355973, -0.4549564421, -0.8023458123, 0.0879597738, 0.6488694549, 0.0114427377, -0.2710325122, -0.1340305358, 0.0950144157, -0.115182355, -0.4522767961, 0.2822543979, 0.4745230079, -0.135462597, 0.6398255825, 1.1017043591, 0.3119291067, -0.0275639296, -0.185576275, 0.9237415791, -0.5292093158, -0.2955383658, -0.8924951553, 0.0239451174, 0.0555590205, -0.2369282097, 0.4466428459, 0.4932342768, 1.0864263773, -0.022215195, 0.816083312, 0.2085944265, 0.3488669097, -0.7743493319, 0.7683408856, -0.7515812516, 0.3483623862, 0.160217315, -0.9699616432, -0.168132931, 0.3328314722, 0.1090423614, -0.2647016048, 0.5116089582, 0.8517158628, -0.0978826657, 0.049911879, 0.2117216289, 0.5509293079, 0.164066419, 0.4768100679, 1.0463863611, -0.1381992698, 0.8178731203, -0.1166396067, -0.0269149113, -0.0383142456, -1.1226955652, -0.9507082105, -0.3260565698, -0.0865562409, -0.1838435531, 0.4043732584, 0.7767266035, 0.7660570145, -0.778504014, 0.1444867998, -0.2202732414, 0.4378767312, -0.2006467879, -0.1952920854, 0.1406806856, -0.479668498, -1.2275328636, 0.5344502926, -0.0062189423, 0.0507522784, -0.3149949014, 0.1427521855, -0.0864312574, 0.2632306516, 0.5505821109, 0.2251074761, -0.4558162689, -0.3078636825, -0.1343441904, -0.2183933705, -0.1595965773, 0.6915646195, -0.9949034452, 0.128194049, 0.3700182438, 0.7264176011, 0.4808400869, -0.0959094316, 0.5892503262, -0.8388212323, 0.195100531, 0.1130249202, 0.1065632328, 0.3536769152, -0.5229871273, 0.348688513, 0.3868284225, -0.3151765466, -0.5779154897, 0.1297691166, -0.6287804246, -0.314383924, 1.3168036938, 0.0847376361, -0.343249619, 0.031047225, -0.1739760935, 0.1112453341, -0.2196540833, 1.0695607662, 0.6639717221, 0.2716460824, 0.1559337974, -0.6403517127, 0.6461535692, 0.1972949654, -0.753015101, -0.4814381301, 0.4800234139, 0.2833171487, 0.1746940464, 0.4652555287, 0.2024852037, 0.1860237569, -0.1487317979, -0.4974886179, -0.1736661941, -0.5350878239, 0.1205154136, -0.0087582879, -0.0250074565, 0.1831170619 ]
http://arxiv.org/abs/2406.12125v1
http://arxiv.org/pdf/2406.12125v1
Efficient Sequential Decision Making with Large Language Models
2024-06-17T22:13:22
2024-06-17T22:13:22
Dingyang Chen, Qi Zhang, Yinglun Zhu
cs.LG
cs.LG, cs.CL
This paper focuses on extending the success of large language models (LLMs) to sequential decision making. Existing efforts either (i) re-train or finetune LLMs for decision making, or (ii) design prompts for pretrained LLMs. The former approach suffers from the computational burden of gradient updates, and the latter approach does not show promising results. In this paper, we propose a new approach that leverages online model selection algorithms to efficiently incorporate LLMs agents into sequential decision making. Statistically, our approach significantly outperforms both traditional decision making algorithms and vanilla LLM agents. Computationally, our approach avoids the need for expensive gradient updates of LLMs, and throughout the decision making process, it requires only a small number of LLM calls. We conduct extensive experiments to verify the effectiveness of our proposed approach. As an example, on a large-scale Amazon dataset, our approach achieves more than a $6$x performance gain over baselines while calling LLMs in only $1.5$\% of the time steps.
[ -0.2758489549, -0.709913671, 0.8731841445, 0.5752594471, -0.1085379645, 0.3569169939, -0.59464252, -0.3394435346, 0.1021127775, 0.4866367579, -0.6097055674, -0.3559484482, -0.3123579919, 0.2082492262, -0.237508595, 0.5541698337, 0.0390942916, 0.2694151402, 0.0276556127, 0.0477348305, -0.2194343805, -0.2133612484, -1.4232699871, -0.4882188141, 0.5869621634, 0.2074672878, 0.6330307722, 0.603048861, 0.4000204504, 0.4194988012, -0.0570322014, 0.2321585715, -0.4922965765, 0.272277534, -0.1773749739, -0.5984506607, -0.3851744235, -0.2308055162, 0.7299357653, 0.7321750522, -0.405765146, 0.1249504983, -0.0449173003, 0.7678479552, -0.5266407132, 0.0224936865, -0.7011167407, 0.3550932705, -0.0208520573, -0.2011630684, -0.8258036375, -0.580414176, 0.2641888559, -0.592422843, -0.0762235671, 0.2008948326, 0.1246915981, 0.2590526938, -0.1911129504, -0.1741043329, -0.9024291039, 0.9326730967, -0.7897212505, 0.577608943, 0.3229266703, 0.3211587667, -0.3708121777, -0.9655998349, -0.4088474214, -0.5572213531, 0.0986966863, -0.0924515948, 0.11114005, -0.0287881996, 0.4151287377, -0.0634163171, -0.4562730491, 0.6932867169, 0.0347710922, 0.1511214674, 0.6587819457, 0.2173071057, -0.0896017849, 0.2608460784, -0.2206540704, -0.0741304308, -0.8102494478, -0.0914236754, 0.260499686, 0.3774153888, 0.1073980778, 0.3076906502, -0.2766774893, 0.7980779409, 0.2487647086, -0.3197636604, 0.2939500213, -0.2047336251, -0.2383066267, -0.1756703258, 0.8001781106, 0.1955670863, 0.3607546687, -0.1068515331, -0.4484134316, -0.2985209227, 0.0755775198, -0.9297146797, 0.0833298489, 0.4377522767, -0.5542783737, -0.209167555, -0.303150326, -0.7674761415, -0.6259722114, -0.4641544223, 0.214873597, -0.0420462489, 0.0163486451, 0.1225929186, -0.0179503728, 0.1080172062, 0.7944936752, -0.9194186926, 0.3527320623, 0.6032329202, 0.9878572822, -0.1924628168, -0.2262224704, -0.7433081865, -0.0608087182, -0.6876682043, 0.7640274763, -0.6084835529, -0.4564655721, 0.0561409444, -0.2421210259, 0.1505783796, -0.6290977597, 0.414493531, -0.8864359856, 0.0407513119, -0.0174944159, -0.4696028531, -0.0040683262, 0.1741654724, -0.8200032115, 0.9918937683, -0.1328470111, -0.4609049857, 0.4284338057, -0.3270035088, -0.4487175047, -0.0319446176, -0.2158325911, -0.3814891577, -0.0590884984, 0.1730570495, 0.6396923065, -0.5653570294, 0.2592983246, -0.548853457, -0.2113830596, 0.1742437035, -0.0788522661, 0.6347097754, 0.285969615, -0.3221132159, 0.2664340734, -0.7644838691, 0.0689469203, 0.1517017335, -0.6091893315, -0.1903783977, 0.5126536489, -0.2862779498, 0.2399263829, 0.1735263765, -0.2035535276, 0.5079666376, -0.2643754482, 0.4183856249, 1.0103540421, -0.2677408755, 0.7383244038, -0.4800794721, 0.5525727868, -0.4489645958, 0.1260610223, -0.0021754645, -0.4458650351, -1.0738166571, -0.4799563289, 0.564214766, 0.6409226656, -0.8413524032, 0.5138736963, -0.2642622888, -0.3472944498, -0.3344331384, 0.0985544324, 0.0433660708, 0.0312598683, 0.1400226653, -0.2548741102, -0.6666454673, -0.6416745186, -0.0579511411, -0.0471424237, -0.1510125101, 0.1333046257, 0.3329489827, -0.363761276, 0.9730396867, -0.4330434203, -0.0520050153, -0.3202517927, 0.1568698585, 0.4302483797, 0.2087859809, 0.4513767958, -0.3938443661, -0.5698419213, 0.1544142663, -0.6512940526, -0.0780554116, -0.5580979586, -0.0513787754, 0.2057659775, 0.6461771727, -0.7593525648, -0.0013638141, 0.2389375269, 0.0840779617, 0.2156585157, -0.350289464, -0.1005854532, -0.7010971308, -0.1023066193, 0.0667720512, -0.5116090178, -0.6369962096, 0.0485658608, -0.064911738, 0.172402665, -0.4832844734, 0.8046874404, -0.7089247704, -0.3344345391, -0.1182127967, 0.1280962527, -0.4961555898, 0.6023731232, 0.1942124218, 0.4904420078, 0.5702729821, -0.7188145518, 0.2807833552, 0.0573344193, -0.7520858645, 0.0386759602, -0.5513799787, 0.3502770066, -0.4492341578, 0.6522618532, -0.688760519, 0.0607670285, 0.2450506687, -0.0935570449, 0.1988373101, -0.0335227847, -0.5264138579, -0.3338450193, -0.5084548593, 0.1599439383, 0.551792264, -0.6852595806, 0.8264276981, 0.280674994, -0.4742303789, -0.4664161205, -0.6283372641, -0.0381962769, -0.2331275493, -0.4698568285, 0.1855867356, -0.353551209, -0.5462831259, -0.2950033545, 0.2504091859, 0.1821788549, 0.2372240126, -0.1105043888, 0.235661298, -0.0819371268, -0.0163068194, -0.3198569417, -0.1036655977, -0.1722888649, -0.6053828597, 0.6559009552, 0.2138852626, -0.1673643142, -0.2906852961, 0.1829615384, 0.5611835122, -0.2740549445, 0.7093234062, 0.2803764939, -0.2676049471, -0.8896589875, -0.6410697103, -0.214054361, -0.4974611998, 0.3307776451, -0.2072575092, -0.8355304003, 0.5140493512, -0.330763191, 0.3133829236, 0.0967972577, 0.7928712964, 0.0750406757, 1.1630749702, 0.279358089, 0.0076453011, 0.9132065177, -0.1491920352, 0.1656250507, -0.4805569947, -0.1270401925, -0.4326082468, -0.2520001233, -0.6987274289, -0.7620761991, 0.3516414762, -0.0549302138, -0.4090508223, -0.0968597531, -0.0037918726, 0.5213466883, 0.5467799306, 0.1467945874, 0.3589056134, 0.0500351861, -0.1185676679, 0.2309242934, -0.7644522786, -0.3937672377, 1.1927785873, 0.3545362949, 0.7835304737, 0.2786308229, 0.5930428505, 0.4002954662, 0.5503626466, -0.8765391707, 0.7813253999, 0.0023103391, -0.2567381561, -0.4367327988, -0.5734175444, -1.1252917051, 0.6522388458, -0.5174859166, -0.5508140326, 0.0728945136, 0.0161324367, -0.7405552864, 0.126741007, -0.4941684604, 0.4584134221, -0.536262095, -0.4918572903, -0.5575169325, -0.5858666301, 0.295666337, -0.5829746127, 0.404836297, -0.0183059033, -0.2470893711, 0.77082479, -0.5585274696, 0.7961252928, 0.0752655417, -0.0412722863, 0.2388386279, -0.0036189777, 1.0569714308, -0.1789822131, -0.4074387848, -0.0028826015, -0.5392760634, 0.032594502, -0.7079053521, 0.7816329002, -0.6903377175, -0.6058353782, -0.5060675144, -0.043122787, -0.5026627779, 0.3429380655, -0.097832635, 0.4145456851, -0.1237291247, 0.1307522953, 0.4593484104, -0.3826107085, 0.7255003452, 0.8342664838, -0.5330688357, -0.5480389595, 0.7348026633, 0.2110670954, 0.357963264, 0.5010812879, 0.4513265491, -0.5338762403, -0.9540759325, -0.269731611, 0.2353711277, -0.6743662953, 0.0007661186, -0.4923974276, 0.1504068226, -0.2603280246, -0.0635160059, -0.1703818738, -0.4207033217, -0.231449157, -0.1382500231, 0.0941083133, 0.9053344727, -0.076955758, 0.3977192044, -0.7919173241, 0.3343127966, 0.393017143, 0.3966459632, 0.4159640074, -0.435203135, -0.1741943061, -0.1888555139, -0.2760073245, -0.6722369194, 0.4414946437, 0.1316742897, 0.7264674902, 0.3818912506, -0.1202633083, 0.6551226377, -0.9135624766, 0.3925522566, 0.1266616881, -0.7014074326, 0.3964178264, -0.476842612, 0.1960378289, 0.5304484367, 0.4830860496, -0.4212549925, -0.1805112362, -0.4756160378, -0.8487696648, 0.8246449828, 0.1010088697, -0.2694745362, 0.0264514051, 0.0576943681, 0.0695410594, 0.3023196459, -0.5152730942, -0.3647194207, 0.4979505241, 0.0866859555, -0.2284026295, -0.031655021, 0.1327696741, -0.334513098, 0.6444484591, -0.1718247831, 0.0339103267, -0.0639968589, -0.0364079587, -0.0732702017, 0.082554087, 0.4129659534, 0.7726425529, -0.1083952263, -0.2588089705, 0.3713648915, 0.0059987502, 0.0652181953, 0.0702095851, -0.2388813943, -0.1310929656, 0.4040308893, 0.9330607057, 0.3854161799, -0.8215867877, 0.2759973407, -0.162485525, 0.024108408, -0.5354835987, -0.2095663249, 0.0647174641, 0.5384569764, 0.2716781795, 0.2008167207, 0.0628760532, -0.6841043234, 0.1748989969, 0.440328449, 0.3935287297, 0.0492657311, 0.3633432388, 0.5878247619, -0.4467758536, 0.7166416645, -0.2698196173, -0.4417063594, 0.5367285609, 0.3372421563, 0.8388134241, -0.2407164723, 0.3085945249, 0.3409177065, 0.0764132142, -0.8225840926, 0.1552664191, 0.063384369, -0.9101866484, -0.6228352189, -0.6236044168, -0.6036141515, 0.0608887449, -0.2619217634, 0.5100539327, -1.0043311119, -0.3189167678, -0.1963858902, -0.051635582, -0.6868777275, 0.1891299486, 0.4694162309, 0.9337570667, -0.4091397524, 0.8448944688, 0.3811164796, -0.056150645, -0.5912676454, -0.1662743837, 0.0826098248, -0.8687590957, 0.6914745569, 0.0457864814, -0.1922176927, 0.2259335965, -0.3490705192, -0.9933760166, 1.0819579363, 0.5307442546, -0.9935389161, 0.1012322232, -0.1611081362, 0.4633923769, -0.3763738871, 0.7463362813, 0.6806656718, 0.520382762, 0.4371671081, -0.9909981489, -0.0424028374, 0.0606609434, -0.0531051457, 0.3721555769, -0.7599385977, 0.99586308, -0.563202858, -0.4234205186, 0.173421815, 0.7368240952, 0.4967027307, -0.086691387, 0.6764710546, 0.5956349373, 1.1722947359, 0.1882964671, 1.2386243343, -0.1032020524, 0.3196394742, 1.2904367447, -0.6127607226, 1.2451159954, 0.1514242887, -0.3537617922, 0.4520782828, 1.0546820164, -0.0314900205, 0.6088839173, 0.3596656024, -0.3884040713, -0.6587000489, -0.024339769, -0.1717071831, 0.1592641473, 0.2064096779, -0.208195433, -0.0326049328, -0.2893261909, 0.0546156801, -0.2665452659, -0.4268245697, 0.7178856134, 0.1713561714, -0.9176396728, 0.4322029054, 0.1682384163, 0.7372543812, -0.7837130427, 0.053842105, -0.1408393979, 0.4184892178, -0.197415933, -0.5911130309, -0.2467193753, -0.1543334126, 0.0292563252, -0.6482661963, 0.4791257083, -0.4934076071, -0.6734884381, 0.4352849126, 0.6014521718, -0.1562128514, 0.062628068, -0.5796689391, 0.2436280847, -0.1062979475, -0.2763922513, 0.3273696005, 0.1262855381, -0.3484247625, 1.0885791779, 0.8912108541, 0.4327334464, -0.0054873605, 0.3113774657, 0.5955110192, -0.717510581, -0.8451026082, -0.9364919066, 0.3206275105, -0.1343142539, -0.0981475711, 0.5734696388, 0.3494517505, 0.9136091471, -0.1279085875, 1.0505937338, 0.2128296643, 0.356423527, -0.8922306299, 0.3139198422, -0.3513100445, 0.498211652, 0.0920178443, -0.9523527026, -0.3513959348, 0.8216125369, -0.4939625263, 0.1466758251, 0.8615413308, 0.8127191067, 0.3303014338, 0.1437388957, 0.1538013965, 0.4361483753, 0.2819399536, 0.5644672513, 1.1933116913, 0.0896596089, -0.0566183217, 0.106848143, -0.3504741788, -0.1446991712, -1.1375635862, -1.1024522781, -0.1539090723, -0.2428240329, 0.0204314739, -0.0803743079, 1.5884740353, 0.6817042232, -0.7555388808, -0.4884396791, 0.1492873132, 0.2438871711, -0.1290976405, -0.0521327779, 0.061260961, -0.3504912555, -0.7303612232, 0.7267304659, -0.0165384635, -0.0312938653, -0.2561372221, -0.3366647363, -0.2930877507, 0.1296864003, 0.8955159187, 0.1769399047, -0.6860728264, -0.0611744002, -0.3757668436, 0.0342089608, 0.009822295, 1.1762139797, -0.8679441214, 0.2615911961, 0.7371152043, 0.9587666988, 0.6148508191, -0.0785107017, 0.7725090384, -0.3091872334, 0.1320995986, 0.2837784588, 0.5932686925, 0.4302686155, 0.0243258495, 0.4417366683, 0.1974555254, -0.5065945387, -0.5692492127, 0.074575901, -0.8167325258, -0.3349357247, 1.5454080105, 0.1123315617, -0.0164787825, -0.0150243053, -0.1876689196, -0.2035062015, -0.6189832687, 0.4147837758, 0.5945959091, -0.2003056556, -0.0295668095, -0.6369901299, 0.4968301058, 0.3100285828, -0.7804664969, -0.0117453067, 0.6199893951, 0.1285254657, -0.1362273544, 0.9333260655, 0.3513104916, -0.1254579425, -0.3488614857, -0.2343382686, 0.2317854315, -0.5185756683, -0.5315839648, 0.1605921388, 0.3746365309, -0.0406016372 ]
http://arxiv.org/abs/2406.12117v1
http://arxiv.org/pdf/2406.12117v1
Decoding the Narratives: Analyzing Personal Drug Experiences Shared on Reddit
2024-06-17T21:56:57
2024-06-17T21:56:57
Layla Bouzoubaa, Elham Aghakhani, Max Song, Minh Trinh, Rezvaneh Rezapour
cs.CL
cs.CL
Online communities such as drug-related subreddits serve as safe spaces for people who use drugs (PWUD), fostering discussions on substance use experiences, harm reduction, and addiction recovery. Users' shared narratives on these forums provide insights into the likelihood of developing a substance use disorder (SUD) and recovery potential. Our study aims to develop a multi-level, multi-label classification model to analyze online user-generated texts about substance use experiences. For this purpose, we first introduce a novel taxonomy to assess the nature of posts, including their intended connections (Inquisition or Disclosure), subjects (e.g., Recovery, Dependency), and specific objectives (e.g., Relapse, Quality, Safety). Using various multi-label classification algorithms on a set of annotated data, we show that GPT-4, when prompted with instructions, definitions, and examples, outperformed all other models. We apply this model to label an additional 1,000 posts and analyze the categories of linguistic expression used within posts in each class. Our analysis shows that topics such as Safety, Combination of Substances, and Mental Health see more disclosure, while discussions about physiological Effects focus on harm reduction. Our work enriches the understanding of PWUD's experiences and informs the broader knowledge base on SUD and drug use.
[ -0.3798598051, -0.6675958037, 0.7596011162, 0.1876327693, 0.0026065211, 0.2383116335, 0.0579865798, -0.7462482452, 0.3774664998, 0.5821440816, -0.4741318226, -0.9108029008, -0.9288399816, 0.3584493697, -0.2493254989, 1.5500888824, -0.2191214561, -0.1955801696, -0.0699079409, -0.0071728197, -0.7403199673, -0.8248556852, -0.6097922325, -0.0655305833, 1.0526192188, 0.1195930988, 0.038991224, 0.0862241015, 0.6205455661, 0.215490669, 0.1396605223, -0.1896246076, -0.6793991327, -0.095411852, -0.2625797987, -0.228777349, -0.3439357579, 0.0904696807, 0.0629907399, 0.5909897089, -0.2631773651, 0.1465349495, 0.1650589705, 0.1449836791, -0.6103175879, -0.1176224947, -0.1247416586, 0.0643672645, -0.1318444312, -0.3406429589, -0.4168965816, -0.4108400047, 0.013085288, -0.7763890624, 0.3034642339, 0.1306312084, 0.6666725278, -0.0265562534, -0.7257006168, -0.4918753505, -0.7500335574, 0.4029324949, -0.5414010286, 0.2228970379, 0.4778150916, 0.1417873949, -0.0941177756, -0.9578711987, -0.5387039781, 0.3973066509, -0.6953642368, -0.1365711987, -0.054272566, 0.204790771, 0.2182742357, 0.4437761009, -0.6666631103, -0.0298456103, -0.7099403739, -0.3975800872, 0.4284182489, 0.4660840034, 0.5985704064, -0.2659485936, -0.763378799, 0.3406538367, -0.4924560189, 0.0704787523, 0.1839287579, 0.0541399941, -0.1613572091, 0.6194526553, 0.0797196776, 0.4672768116, -0.2896709442, -0.4533678293, 0.4916588664, -0.6421051621, 0.0227731559, -0.0145877376, 0.9565778375, 0.9262379408, -0.1225017309, -0.0808475986, -0.1479280591, 0.0690747425, 0.4889086485, -0.9194251299, -0.5781186819, 0.2298898697, -0.8842570782, -0.2699527144, -0.0300745387, -0.7931761146, -0.9914911985, -0.1353210956, 0.5146936178, -0.1904536784, -0.4557725191, 0.0832438618, -0.2692973912, -0.2515503168, 0.1871043593, -0.8731016517, 0.662024498, 0.6042659879, 1.0740971565, -0.511485219, -0.2745664716, -0.1366203576, 0.2284494638, 0.2042530626, 0.9319534898, -0.3393920064, -0.3793669045, -0.0111469114, 0.3823707402, -0.0299942326, -0.4966081083, 0.8731846213, -0.4188580513, 0.1529686004, -0.4974188805, -0.7293995023, -0.3120208383, 0.2396091819, -0.6051838398, 0.344671905, 0.0570312142, -1.1389305592, 0.6193435192, -0.8214212656, -0.2669868171, 0.0573225319, 0.0575443655, -0.0738936961, 0.14046821, 0.0031243905, 0.3096633554, 0.0241351109, 0.1797953397, -0.083068721, -0.3442343175, 0.3169313967, -0.2805759609, 0.7590787411, 0.2495750785, 0.1804524511, 0.2691533566, -0.6191945076, -0.2787188292, -0.2425941527, -0.5074813366, -0.6884950399, -0.2981868684, 0.2086905539, 0.2789934576, -0.0247300118, -0.8152936101, 0.0296117794, -0.2139219642, 0.3081746399, 0.5319874883, 0.7520815134, -0.0512971319, -0.3714122176, 0.6082341075, 0.1804228574, 0.1519879252, -0.2468484193, -0.6136517525, -0.1329452097, -0.272369951, 0.2695227563, 0.5032248497, -0.5846017003, 0.2092093825, -0.043714527, -0.2890803516, -0.4900139868, 0.141797334, 0.350015223, 0.6926771402, 0.7925693989, -0.3298302293, -0.4245042801, -0.926661849, -0.4347262681, 0.1421120912, -0.225465402, 0.2488036901, 0.628723979, -0.4235569537, 0.7514938116, -0.8465980887, -0.6565374136, -0.0916112959, 0.7111360431, -0.0523123406, 0.1349838376, 0.3164387345, -0.674454391, -0.6496828198, -0.0473888703, -0.6775920391, -0.1018830761, -0.0977751464, -0.0606678165, -0.3673835099, 0.1853282303, -0.2569807768, 0.4494032264, 0.3131129146, -0.6769768, 0.5051804781, -0.2627661824, 0.3563645184, -0.7663581967, -0.1442682594, 0.2325983047, 0.2423631847, -0.7789269686, -0.4138524234, -0.1851121187, -0.0761517212, -0.2486139387, 0.2830808461, -0.4292464256, -0.0568050481, -0.2803220153, -0.1157721579, 0.0514536202, 0.2781898975, 0.2420209199, 0.364328891, 0.5880555511, -0.4270563722, 0.2291508466, 0.099920705, -0.4678797126, 0.5541275144, -0.4278963506, 0.0119171282, -0.1004121378, 0.2991203666, -1.2200737, -0.5730141997, 0.5419614315, -0.3817671537, 0.1370966285, -0.087987721, -0.4346287549, -0.2596887052, -0.1117550135, 0.5773140192, 0.108237341, -0.217392236, 0.3074138165, 0.8729614019, -0.3465998173, -0.3941958249, -0.4651500285, 0.1824069917, -0.5891492367, -0.2490812987, 0.3487331867, -0.1056922451, -0.3027875721, 0.1742763072, 0.167760089, -0.1947006434, -0.0409503542, 0.1836548448, 0.0325991437, 0.1106578112, 0.2932683229, 0.1785880029, -0.1773734987, 0.3521318138, 0.2878909111, 0.5519160628, -0.1792935133, 0.2769714892, -0.634123385, 0.6213028431, 0.2664642334, -0.059505634, 1.1472209692, 0.5765841007, -0.3901245594, -0.1680226773, -0.2415821701, -0.2866791785, -0.4261247516, -0.0466134883, -0.2935388088, -0.7570900917, 0.3948310018, -0.1588017493, 0.1042297557, 0.0330657586, 0.5382328629, -0.5026336312, 0.6744615436, 0.433665365, 0.5617719889, -0.0748001933, -0.0884199962, 0.3352699578, -0.6490121484, -0.3385651708, 0.096711047, -0.4447921813, -0.3582451642, -0.3855167031, 0.5397318006, -0.1071476266, -0.1164001152, 0.1506901979, -0.5961127877, 0.5859827399, 0.2579972446, 0.1394646317, 0.4915289879, -0.0267269444, 0.3399942815, -0.5335867405, -0.3678768575, -0.3933803141, 1.0669273138, 0.6176353693, 0.6107993722, 0.1235482767, 0.8464927673, 0.5570252538, 0.8488323689, -0.7228986025, 0.349538058, -0.096199587, -0.6226217747, -0.0027875674, -0.5135139823, -1.1469963789, 0.3754668534, -0.4035481811, -0.6643490791, 0.1304469854, -0.1653885841, -0.5982782245, 0.308013767, -0.9389175177, 0.9635592699, -0.3429557681, 0.0088528004, -0.160234496, -0.8478854895, 0.9275717735, -0.3333148658, 0.8315229416, -0.0397601165, -0.0619499311, 1.074464798, -0.278655529, 0.84397012, -0.2541021407, -0.2303959727, 0.362826407, -0.0351067334, -0.2283066958, -0.1097075567, 0.4274584651, 0.1955824643, 0.1831060797, -0.0643604398, -0.5781817436, 0.8044981956, -0.8458560109, -0.2369680405, -0.2597281933, -0.308890909, -0.3216283321, 0.270968318, 0.3559511304, 0.4077437818, -0.0087494953, 0.0683767647, 0.5071362853, -0.6183089614, 0.0511980429, 0.1573226005, -0.4527690709, -0.4434835017, 0.801933229, 0.3166825473, 0.099849008, 0.1657252759, 0.4166816473, -0.4531587362, -0.6471773982, 0.0763188154, 0.5967068076, -0.7305720448, -0.097281158, -0.7378355265, -0.019581683, -0.4827765822, 0.2148413807, -0.0676474422, -0.2242175043, -0.1232520118, -0.5426693559, 0.2301886529, 1.1878390312, -0.2495039254, 0.2577437162, -1.0490019321, 0.7231007218, 0.2046665102, 0.5326523781, -0.0298554543, -0.1140779555, -0.0818682089, -0.2474494129, -0.2666591704, -1.2742607594, 0.3117859662, -0.0317079276, 0.693343401, 0.334220171, 0.6411035061, 0.3177764118, -0.1625247747, 0.7580852509, 0.5102236271, -0.4551427364, 0.5074624419, -0.4521814287, -0.290243119, 0.588245213, 0.9377828836, -0.8762231469, -0.0839804038, -0.297244966, -0.9397010803, 0.6145715714, 0.2225526124, 0.100963667, -0.2303336859, 0.1325472593, 0.4991343021, 0.1287347823, -1.0770554543, -0.5379514694, -0.1806759685, -0.1367370933, 0.2299954593, -0.4571808875, -0.4142114222, -0.207876429, 0.3308248222, 0.2725303173, 0.2581568062, -0.0185298398, -0.0366608649, 0.2333171815, 0.4167515039, 0.341309607, 0.6699102521, -0.1198471263, 0.4583177865, -0.1164810583, -0.6023982167, 0.2808876038, -0.3220709562, -0.0853358582, -0.2934455276, 0.2661485672, 0.8341739774, 0.1203274876, -0.6512289643, 0.4320258796, -0.4920559227, -0.2785803974, 0.0028536362, -0.0559173115, 0.1043545753, 0.0256442204, 0.2480569631, 0.1163531914, 0.3716595173, -0.9824590683, 0.4749282897, -0.2935314775, -0.2657282948, -0.3408387005, 0.5163664222, 0.3758803904, -0.5027381182, 0.4489817321, -0.2425539196, -0.2946956456, 0.1198793277, 0.452621609, 0.6735037565, 0.0523484983, 0.4361992478, 0.8696841002, -0.0928864256, 0.1829392165, -0.2185165584, -0.0168428253, -0.8317847252, 0.0551370122, -0.764508605, 0.1572689712, 0.2961292267, -0.6955247521, 0.1286518127, -0.4883973598, -0.4893649817, -0.0596997626, -0.2667808533, -0.3078525066, 0.1825921834, 0.1114237458, 0.3069962263, -1.0354510546, 0.5430809855, 0.3690455854, -0.4484154284, -0.5969212055, 0.1845245808, 0.0814701915, 0.0146420524, 0.4303050339, 0.2662878931, -0.2992402315, -0.011762606, -0.1779279113, -0.4988404512, 0.9800309539, -0.2930023968, -0.3526391685, -0.0081163179, 0.1197932437, 0.8172744513, -0.4802508056, -0.0674670339, 0.7516111732, 0.3051911592, 0.2230103761, -0.8991910219, 0.005688224, -0.2249381989, -0.1916449815, 0.0553587154, -0.2917608917, 0.9178751707, -0.4397040904, -0.6318368912, -0.1644850969, 0.2456558943, 0.370113492, 0.4462625086, 0.5611427426, 0.3712718785, 1.0075771809, 0.0396661311, 1.0566459894, -0.0610623956, 0.5145177841, 1.2051432133, -0.1243895665, 0.72591573, 0.3217615187, -0.162599057, 0.7725699544, 0.7391852736, 0.0057110689, 0.8056129217, 0.1954769194, -0.2935539782, -0.0917530432, -0.0941318348, -0.4095374644, 0.0709500164, 0.7168442011, -0.567561686, -0.2164048553, 0.4516495466, -0.1022499651, 0.061722409, -0.3829559982, 0.9543367028, 0.100603655, -0.4991610348, 0.4018153548, -0.0415753238, 0.6728954315, -0.1877921075, 0.0300543997, -0.0181338377, 0.2090549767, -0.4520961642, -1.1417524815, 0.5113189816, -0.0109566683, -0.0255065095, -0.3992310762, 0.9425356984, -0.5762442946, -0.4828796387, 0.4253220558, 0.4985448718, 0.3423285186, 0.2058170736, -0.5258934498, -0.0087776436, -0.1161855683, -0.0551057123, 0.4338384569, 0.45643273, 0.096263513, 0.5002965927, 0.4628870487, 0.2085909694, 0.1531795561, 0.1470653266, 0.5122920275, -0.578135848, -0.5316179991, -0.5488697886, 0.5675033927, -0.1424438357, -0.5518142581, 0.8606098294, 0.5712295771, 0.7244321704, -0.1631703824, 0.8153846264, -0.0232888144, 0.9867277145, -0.2857569456, 1.0652449131, -0.478027463, 0.4345924854, -0.2395167947, -0.5408957601, -0.3092053831, 0.6807209253, -0.3960433006, -0.0696488842, 0.7338176966, 0.5729060173, 0.1722128391, 0.0196141396, 0.0693272948, 0.4014750421, 0.2723481655, 0.4314350188, 1.1095386744, -0.3005711734, 0.5695070624, -0.2961866558, -0.0222200267, 0.228561461, -0.3723775446, -0.9306301475, -0.6626856923, -0.23237966, -0.3591926396, -0.3710827231, 0.5688163042, 0.2650886774, -0.702703774, -0.1933498085, 0.0543408431, 0.2039069235, 0.0838567987, -0.3279763162, 0.0258221608, -0.1388611048, -0.3911147118, 0.1264223903, 0.1363267452, -0.1334056556, -0.2157892734, -0.1825795919, -0.2232842892, -0.2912611365, 0.6889901161, 0.0271303132, -0.6043801904, -0.152366057, -0.0601930134, -0.0994322598, 0.1449883729, 1.2333134413, -0.4894364774, 0.4589161575, 0.5894578099, 0.3202167451, 0.461659193, 0.4042099118, 0.4857457578, -0.5509143472, -0.6226698756, 0.3428691924, 0.251742959, 0.3035057187, -0.3514310122, 0.3450260758, 0.5111945868, -0.4670673013, -0.8008586764, 0.0042372327, -0.7574014664, -0.8481055498, 1.1481975317, -0.4317118227, 0.0983300582, -0.869207263, -0.6245114803, -0.0304641295, -0.3751347959, 0.9440491199, 0.971381247, -0.6197668314, -0.3084473312, -0.731103301, 0.7900204062, -0.6000715494, -1.083029747, 0.3474368155, 0.7478078008, 0.7267693877, 0.3450749815, 1.0097064972, -0.0299781375, 0.0308126565, 0.1592028141, -0.2929785848, 0.0961808711, -0.4459668994, 0.0274302717, 0.680737257, -0.417658478, 0.0664734319 ]
http://arxiv.org/abs/2406.12114v1
http://arxiv.org/pdf/2406.12114v1
Enhancing Text Classification through LLM-Driven Active Learning and Human Annotation
2024-06-17T21:45:48
2024-06-17T21:45:48
Hamidreza Rouzegar, Masoud Makrehchi
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
In the context of text classification, the financial burden of annotation exercises for creating training data is a critical issue. Active learning techniques, particularly those rooted in uncertainty sampling, offer a cost-effective solution by pinpointing the most instructive samples for manual annotation. Similarly, Large Language Models (LLMs) such as GPT-3.5 provide an alternative for automated annotation but come with concerns regarding their reliability. This study introduces a novel methodology that integrates human annotators and LLMs within an Active Learning framework. We conducted evaluations on three public datasets. IMDB for sentiment analysis, a Fake News dataset for authenticity discernment, and a Movie Genres dataset for multi-label classification.The proposed framework integrates human annotation with the output of LLMs, depending on the model uncertainty levels. This strategy achieves an optimal balance between cost efficiency and classification performance. The empirical results show a substantial decrease in the costs associated with data annotation while either maintaining or improving model accuracy.
[ 0.0448400714, -0.648278296, 0.463391304, -0.0610694289, -0.2714776397, 0.1936378032, -0.3683559299, -0.7695431113, -0.2555817664, 0.5128957629, -0.0914732367, -0.4870477319, -0.3478068709, 0.0724654272, -0.3109591901, 1.0086599588, -0.4895354509, 0.0034477788, 0.0610237382, -0.2193276137, 0.0951895118, -0.7592812181, -0.6071318984, -0.1541467607, 0.6842247844, 0.2360477298, 0.7514224648, 0.8633870482, 0.4525402784, 0.1787040383, -0.0692946315, 0.445091933, 0.0594302379, 0.2467463762, -0.017477259, -0.4854680598, -0.3424149454, 0.4318812788, 0.6442907453, 0.5082719326, -0.071752429, 0.0457333662, -0.0056153499, 0.3194506168, -0.6893647313, 0.3077283502, -0.5365860462, 0.1312319338, -0.3208126724, 0.0355590917, -0.3257244229, -0.3089129329, 0.0726059079, -0.5371097326, 0.256675601, 0.0342913158, 0.9402256012, 0.4344083369, -0.3321316242, -0.4065333009, -0.8062220812, 0.6771120429, -0.3592342436, 0.2436218262, 0.5832203627, 0.1618202627, 0.2535357773, -0.5494588017, -0.6760274768, -0.0707179457, 0.0670418218, 0.1253553182, 0.1150477156, 0.1136235967, 0.093288064, 0.4451340735, -0.0506955124, 0.4140002131, -0.2303933054, -0.3812893927, 0.6183944345, -0.345682323, 0.1423807442, -0.2402973026, -0.4635750651, -0.101771459, -0.5543128252, -0.2034422308, 0.5167476535, 0.4053992033, 0.295134455, 0.5802552104, -0.0350408852, 0.4923178852, -0.2971716225, -0.2289277911, 0.4371498525, -0.1654131413, -0.1843318641, 0.1715729982, 0.6903473139, 0.1003617942, 0.2394873947, -0.1600475609, -0.5563031435, 0.0643453971, 0.2220018208, -0.5490866303, -0.2821389437, 0.0944897234, -0.1018834859, -0.6747421622, 0.2340802848, -0.4997622967, -0.6513069272, -0.3061553836, 0.6555265784, -0.0776610896, -0.2317327261, -0.1162853539, 0.1891965717, -0.0099757714, 0.763574481, -0.6420507431, 0.1184464097, 0.2861236334, 0.9467350245, -0.33600384, 0.0960027352, -0.3994834125, 0.3713540137, -0.1577904373, 0.8740760088, -0.2891597748, 0.0019672972, 0.1419278383, -0.0986727476, 0.2262693942, -0.3497799337, 0.809836328, -0.5215328336, 0.3156429529, 0.1982366741, -0.3599805832, -0.4724127054, 0.383690238, -0.9993489385, 1.2787547112, 0.1846329719, -0.7629990578, 0.5741556287, -0.6865051985, -0.4390957654, 0.253602922, -0.2029010355, -0.8377978802, -0.1821539849, 0.2758361697, 0.9148467183, -0.1156896129, 0.3640106916, -0.201688394, -0.3976172507, 0.4384295046, -0.7232367396, 0.3623496592, 0.2204952836, -0.5042257905, 0.0281001478, -0.8273211122, -0.3347199857, -0.1511290967, -0.8466318846, -0.36787498, 0.0926188752, 0.2332453579, 0.1060242131, 0.1310130507, -0.3919470906, 0.343644321, -0.1461248547, 0.181657806, 0.7377818227, 0.186811015, 0.6063385606, -0.1365647316, 0.4107378125, -0.1046387628, -0.0423483588, -0.2097536623, -0.4620121419, -0.7446748614, -0.680087924, 0.6580081582, 0.7456545234, -0.62002635, 0.4735510051, -0.1452343762, -0.4942442775, -0.5837657452, 0.338457644, 0.1267828047, 0.219053492, 0.4199776053, 0.003739665, -0.3247690499, -0.6929110289, -0.1103167385, -0.485996604, -0.2159865052, 0.1421007216, 0.1846626401, -0.3470791876, 0.831376195, -0.2947820127, -0.3750440776, -0.2053293288, 0.4771410525, -0.0928634852, 0.2779641747, 0.1965855509, -1.0002243519, -0.3678668737, 0.062681064, -0.6060587168, -0.1810816973, -0.376300633, 0.1187862083, 0.4469886422, 0.3709864616, -0.2870709896, 0.4327267408, 0.25954777, -0.098449856, 0.1311080009, -0.0864462256, 0.1052925587, -0.7554531097, 0.0212210342, 0.2532092631, -0.2471660525, -0.3541448116, -0.3219928443, 0.2901421189, -0.0039552003, -0.225393489, 0.606128931, -0.6270084381, 0.1587724388, -0.3037786186, 0.2080036402, -0.1284572035, 0.429605782, 0.2163332552, 0.6694726944, 0.3556594253, -0.5454728007, 0.340462029, -0.081698969, -0.3903390467, 0.1342739761, -0.12086723, 0.0627316087, -0.1227396354, 0.2648205757, -0.9913563728, -0.4695728123, 0.3677718341, -0.3304605782, 0.4684598446, -0.1840672344, -0.7547377348, -0.0329672918, -0.288947016, -0.0809062198, 0.4792280793, -0.5086953044, 0.748154819, 0.4136344492, -0.2083242685, -0.5450721383, -0.789083004, 0.1501308233, -0.2854694128, -0.0504829362, 0.2176177055, 0.3261757791, -0.2928766608, -0.0388318859, -0.2125396878, -0.2209618241, 0.426505506, 0.2344170511, 0.3054911494, 0.1777432412, 0.5383549333, 0.1604435891, -0.0875815526, -0.1570842266, -0.3279863596, -0.0482703298, 0.1978630126, -0.2896814346, -0.4368776977, 0.000916256, 0.388353467, -0.3657792509, 0.5976504087, 0.9780672193, -0.482319504, -0.388489157, -0.662825942, 0.0132218152, -0.3950845897, 0.3763433099, -0.0059556989, -0.7977137566, 0.1546505094, -0.1659248322, 0.2991802096, 0.5248586535, 0.5324489474, -0.1294875741, 0.8425670862, 0.4691381156, -0.0309757181, 0.7824431062, -0.009729363, -0.047783237, -0.3938002884, -0.1232236251, -0.3840896487, -0.2572697401, -0.3421381712, -0.8316863775, 0.0963682011, 0.1731659919, -0.1251103133, -0.0582269207, -0.4964460135, 0.4267642796, 0.5199207664, 0.2801907957, 0.3956406415, 0.2155146152, 0.1828865558, 0.0797243565, -0.48518911, -0.9618455172, 1.1527881622, 0.7312611341, 0.801990211, 0.2882366478, 0.5259882808, 0.4527707398, 0.9784694314, -0.889855504, 0.4204030037, 0.0623913743, -0.784650147, -0.36945346, -0.5679672956, -0.5752587318, 0.0905420408, -0.5669211149, -0.3937837481, 0.0807689354, 0.1809596866, -0.3464952409, 0.4823479652, -0.7552232146, 0.4583634734, -0.4785144329, -0.512906909, 0.166534394, -0.5135536194, 0.1213126704, -0.6527982354, 0.3591848314, -0.1537662297, -0.5642213821, 1.0751240253, 0.1261265129, 1.1247093678, -0.3418296576, -0.1168543696, 0.4635729492, -0.2138663977, 0.6423703432, 0.163851127, -0.3486834168, 0.0361419618, -0.6143702269, -0.2850095332, -0.3858094513, 0.3635970652, -0.9006012082, -0.2268287987, -0.6446048617, -0.3664879203, -0.2575124204, 0.1154674515, -0.2214528173, 0.1629864573, 0.1740394086, 0.1911643893, 0.7958846688, -0.0999650657, 0.4219452143, 0.3709455431, 0.048224017, -0.7346250415, 0.6428963542, 0.2956721187, 0.1414999962, 0.464810431, 0.1450887173, -0.3615677655, -0.9000533223, -0.4283874631, 0.1597395837, -0.8843542337, -0.4706211388, -0.71763134, -0.0397535712, -0.1511993408, -0.0947107896, -0.1037516072, -0.5877860785, -0.4455346465, -0.6098272204, 0.5800585747, 0.7279573083, 0.1203296036, 0.5296555161, -0.6497274041, 0.1226110309, 0.4456848502, 0.4253970385, -0.1806004941, -0.4235424399, -0.4816068709, -0.119949095, -0.3105050623, -0.8662763238, 0.1991642118, 0.4182754457, 0.6815993786, 0.4620638788, 0.2438786328, 0.2202979177, -0.1944000274, 0.6632769108, 0.0571622252, -0.885936439, 0.4638170302, -0.4207758307, 0.0374010801, 0.7537973523, 0.6155776381, -0.1705671996, -0.3563343287, -0.5703702569, -1.1075704098, 0.6904261708, 0.227853328, -0.0579930097, 0.0605824627, 0.7329187393, 0.0446489342, 0.1214228868, -1.0667939186, -0.0128227929, -0.059366487, -0.6284700036, -0.1577606201, -0.176834166, -0.0057925414, -0.1420959085, 0.9350336194, -0.2470069379, 0.0499492735, 0.261043638, -0.2579197288, -0.1232779026, 0.1022659168, 0.1784045845, 0.2827385366, -0.2815841138, 0.3338415623, 0.2822602689, -0.6764672399, 0.2453927398, 0.214903757, -0.2407701463, -0.0482446924, 0.4644637108, 0.7187220454, 0.2112344652, -0.6671033502, 0.5530057549, -0.0234262124, -0.1784561574, -0.3448863029, 0.137199387, -0.1223245114, 0.1943709105, 0.7522185445, 0.1085257754, -0.0000566719, -0.4311152399, 0.251765281, 0.0003213201, -0.7044140697, -0.1695942283, 0.5353296399, 0.4217375815, -0.1668352783, 0.5159527063, -0.2386780381, -0.7693786025, 0.1252144277, 0.1527054161, 0.8644903302, -0.2437778562, 0.0976363793, 0.2830017209, 0.3672278523, -0.5628676414, 0.0114297764, -0.2166361511, -0.7040570974, -0.6161932349, -0.8020886779, -0.7783750296, -0.1531859934, -0.4969500303, 0.5919222236, -0.4100040495, -0.1240937039, -0.1811346859, 0.275967747, -0.2786470354, 0.4360152185, 0.425039649, 0.6429572105, -1.064150095, 0.9101070762, 1.0840617418, -0.5203551054, -0.6125069857, 0.0911738575, -0.1449423134, -0.3418045938, 0.5254821181, 0.4433827698, 0.0795935616, 0.0368205495, -0.5559309125, -0.5755189061, 1.1266027689, 0.0495789945, -0.4289433658, -0.0049447888, -0.2111113518, 0.4276922345, -0.1626337171, 0.0370193087, 0.1626726687, 0.5533187389, 0.1089662835, -0.6974639297, -0.0051324414, -0.1287671328, -0.4339908659, 0.4317024946, -0.3739043176, 0.5314327478, -0.0562086813, -0.2527617812, -0.2785325348, 0.8245280385, 0.1716861129, 0.3076739609, 0.8261035681, 0.227636531, 1.0932942629, -0.1930004507, 0.7465002537, 0.0796447694, 0.349786967, 0.6562251449, -0.3165814281, 0.9871445894, 0.3281812072, -0.3152511418, 0.2483966053, 0.8410981297, -0.3128425777, 0.2256738394, 0.2632299066, -0.5570904613, -0.3941232562, 0.0946576819, 0.1874289513, 0.3143154383, 0.4337607324, -0.386888057, 0.0153186247, 0.2225230187, 0.3355813026, 0.1253372282, -0.305292964, 0.8629053235, -0.1861159056, -0.3554100394, 0.1543205529, 0.0634724498, 0.9005194306, -0.6200454235, 0.0605966449, 0.0929622874, 0.2561633587, -0.2656838596, -0.6923875809, 0.1127779931, 0.2692229152, -0.1474823356, -0.4001983106, 0.6281318069, -0.5233985782, -0.6249324679, -0.0191618688, 0.2422501147, 0.1423460543, -0.2332678139, -0.5014176369, 0.0024633759, 0.0635528788, -0.4008187056, 0.2223335952, 0.6321622729, -0.286267221, 0.523655951, 0.7145177722, 0.2484048605, -0.1476825178, -0.0673544407, 0.7792087793, -0.6667891145, -0.3969372511, -0.6872399449, 0.4147456586, -0.2204889506, -0.1590013206, 0.750264883, 0.5208553672, 0.5930434465, 0.2108067423, 1.0587152243, 0.1321820468, 0.6886368394, -0.5097333193, 0.7881362438, -0.4651877582, 0.49977988, -0.2835030854, -1.0343319178, -0.7955513, 0.7958653569, -0.3247084916, -0.0058476403, 0.4757600725, 0.4294953644, 0.0341791995, -0.0813966468, 0.0760589764, -0.0386480577, 0.4310233593, 0.0333042406, 0.8094484806, -0.3871769905, 0.6472725272, -0.2579461634, -0.493904978, -0.1027938724, -0.879110992, -0.9190763831, -0.4377086759, -0.6681744456, -0.1981149018, 0.0158390552, 0.952618897, 0.6164439917, -0.6382110715, 0.0765607953, 0.1098435298, -0.0253654588, -0.1474355459, -0.2062292099, 0.6141036153, -0.3434980512, -0.8316953182, 0.1162380129, 0.1342233121, 0.4067815542, -0.4100371599, 0.1616851985, -0.337150991, -0.0004565623, 0.4370460808, -0.0015041173, -0.5393022895, -0.237939477, -0.253000617, -0.1120733917, -0.0887868479, 0.5523810387, -0.7856004834, 0.2541435361, 0.206795007, 0.9137508273, 0.4624754786, 0.2862792611, 0.3910642564, -0.8924769759, 0.0603030808, 0.4343623817, 0.1458743811, 0.659899354, -0.4482161105, 0.6451436877, 0.2609718144, -0.6042830944, -1.0000064373, -0.1017049551, -1.0664036274, -0.2422717065, 1.3846445084, -0.2380616516, -0.3005845845, -0.4759168029, -0.3367212713, 0.3170318007, -0.3592336476, 0.6363011003, 0.7260277867, -0.0092837801, -0.2337023914, -0.5948667526, 0.4415733516, 0.0680434331, -0.8240303993, 0.3445700109, 0.5313304067, -0.0213259254, 0.2818108201, 0.2510751486, -0.1195727587, -0.0411812924, -0.2589672506, 0.5460115671, -0.2328794301, -0.2742090821, -0.4324915707, 0.3657110333, 0.2491566986, -0.0323890597 ]
http://arxiv.org/abs/2406.12109v1
http://arxiv.org/pdf/2406.12109v1
Can LLMs Learn Macroeconomic Narratives from Social Media?
2024-06-17T21:37:09
2024-06-17T21:37:09
Almog Gueta, Amir Feder, Zorik Gekhman, Ariel Goldstein, Roi Reichart
cs.CL
cs.CL, cs.CE
This study empirically tests the $\textit{Narrative Economics}$ hypothesis, which posits that narratives (ideas that are spread virally and affect public beliefs) can influence economic fluctuations. We introduce two curated datasets containing posts from X (formerly Twitter) which capture economy-related narratives (Data will be shared upon paper acceptance). Employing Natural Language Processing (NLP) methods, we extract and summarize narratives from the tweets. We test their predictive power for $\textit{macroeconomic}$ forecasting by incorporating the tweets' or the extracted narratives' representations in downstream financial prediction tasks. Our work highlights the challenges in improving macroeconomic models with narrative data, paving the way for the research community to realistically address this important challenge. From a scientific perspective, our investigation offers valuable insights and NLP tools for narrative extraction and summarization using Large Language Models (LLMs), contributing to future research on the role of narratives in economics.
[ -0.2177867591, -1.0544832945, 0.7201854587, 0.2513239384, -0.4112802446, 0.4651578367, -0.1411765963, -0.7447482944, 0.6436052918, 0.5733317137, -0.7189412713, -0.4599235058, -0.6956709623, 0.1326245517, -0.3532796204, 1.0188772678, 0.1584384292, -0.2468692213, -0.0049398821, 0.1987857223, 0.0925747678, -0.0707519054, -0.7222767472, -0.0209627971, 0.8578701019, 0.2794061005, 0.81539464, 0.7145588994, 0.2015150785, 0.1988680065, 0.1305749714, 0.4183988869, -0.573567152, 0.0047160382, -0.1704667956, -0.3234876692, -0.3167058825, 0.0432644635, 0.6243390441, 0.4743383825, -0.0786772668, 0.5827312469, 0.3410246372, 0.5022593737, -0.3260419071, 0.4443592429, -0.615794301, -0.2258302718, 0.1585743278, -0.2506755292, -0.2150736153, -0.7761745453, 0.2431222796, -0.2443639189, 0.0511826463, 0.1542508155, 0.8000258207, -0.1172196567, -0.6953520179, -0.3381669819, -0.949598074, 0.57400769, -0.5578346848, -0.026459476, 0.299474895, 0.323669076, 0.2559871972, -0.8707080483, -0.2690400481, 0.20619452, -0.0572573245, 0.2119232863, -0.5585446954, -0.2212316543, 0.1899163574, 0.1999485195, -0.2763932049, -0.0591193847, -0.73246032, 0.1264469028, 0.729834497, 0.2202016264, 0.2120289803, -0.3750889301, -0.2069343477, -0.0192675516, -0.6208002567, 0.0967768356, 0.2644932568, 0.4371212721, -0.4001705647, 0.6215944886, 0.0532486998, 0.1577849537, -0.2455385476, -0.4169492126, 0.1230452135, -0.3215247393, -0.2647989988, 0.2272548974, 0.7535523176, 0.8125398159, 0.5186660886, -0.1045870781, -0.2875552773, -0.2832652926, -0.0302129276, -0.6377886534, 0.1550363749, -0.0684049428, -0.5105008483, -0.5341973305, 0.0222701933, -1.2696173191, -0.5329194069, -0.2035877407, 0.2096177936, -0.0910986289, -0.119092837, -0.0810032785, -0.4895751774, 0.1497482657, 0.0392573774, -0.9850796461, 0.3322534263, 0.769141078, 1.1894780397, 0.2911908627, -0.0898858607, -0.2957683504, 0.4255885482, -0.3133449852, 1.0984936953, -0.2451258898, -0.4269032776, 0.4524840713, -0.0716499612, -0.2718892694, -0.424313724, -0.0516911335, -0.287907809, -0.2221650332, -0.3455448151, -0.5101927519, -0.0346444882, 0.1650016159, -0.7622813582, 0.6279236674, 0.0258785877, -0.8386263251, 0.3751161993, -0.418148458, -0.4912464619, -0.3853659332, 0.0843292102, -0.2156590372, 0.2194841504, 0.5112887621, 0.4640180767, -0.4089583158, 0.5478306413, -0.5538955331, -0.0771396458, 0.354916811, -0.775568068, 0.910856545, -0.1500215828, -0.1971182227, -0.2869585454, -0.7517825961, -0.4940783679, 0.1668708771, -0.0484903306, -0.0427325666, 0.3011836708, -0.0420643948, -0.1541682631, 0.0833178982, -0.3730611503, 0.3491497338, -0.1967579871, 0.6236197948, 0.9275959134, 0.5843198895, 0.2652952075, -0.727473557, 0.5713641047, -0.4205090702, 0.002131514, -0.3335472345, -0.4112938344, -0.2258428633, -0.0388696827, -0.064749606, 0.5151370168, -0.6572623849, -0.3808621168, -0.0802087113, -0.6140286922, -0.0906688869, 0.1404337138, -0.22344248, 0.4894524217, 0.2034126222, 0.556826055, -0.9462507963, -0.716409266, -0.5941342115, -0.3726613224, -0.2141131759, 0.4042024016, 0.40626809, -0.3981852233, 0.991518259, -0.7149344683, 0.097720392, -0.7556596398, 0.6869215965, 0.4956407845, -0.2118176222, 0.676373601, -0.598115027, -0.4979337156, -0.0647744909, -0.6075229049, -0.2509537041, -0.3603076339, 0.4699883759, 0.464625746, 0.4336265922, -0.6212247014, 0.496471405, 0.58414042, -0.3183179796, 0.7752233148, -0.1905474067, 0.0241288561, -1.0799242258, -0.5449470282, 0.5025886893, -0.4072600007, -0.1850530654, -0.6546694636, -0.3185113668, 0.2803331614, -0.2488541454, 0.4973026514, -0.2837063968, -0.2772575021, -0.1195447892, 0.050144054, 0.0011527687, 0.0236621052, 0.1376750022, 0.6032256484, 0.3557603061, -0.3970644176, 0.3823568821, -0.0015240962, -0.5399188995, -0.0838214755, -0.707863152, -0.2747172117, -0.1396664083, 0.2698444128, -0.9433621764, -0.4043947756, -0.1103431284, -0.3323429525, -0.0014165402, 0.0294836983, -0.7527267933, -0.2283749431, -0.4090426266, -0.4186602831, 0.5541504025, -0.4414134622, 0.5857878923, 0.4665520191, -0.5594853163, -0.1956749856, -0.6012512445, 0.1994068921, -0.4688394964, -0.4541136324, 0.0579958223, 0.1795580834, -0.758879602, -0.0194554012, -0.0968404487, -0.054747723, 0.1051767468, -0.0152048422, 0.5510009527, -0.3954507411, 0.19148615, 0.1284591407, -0.0462299287, 0.6368108392, -0.2953922749, 0.3426861167, -0.068570748, 0.3774882555, -0.0280332603, -0.0680385679, 0.3653394282, 0.4218735993, 0.9511093497, 0.6628853083, -0.3485757113, -0.1033030599, -0.5639781356, -0.029807914, -0.455763489, 0.062657319, 0.2827650905, -0.9086783528, 0.4526098073, -0.1903295666, 0.1140114889, 0.7001725435, 0.3847690821, -0.4691643119, 0.8550612926, 0.8582103848, -0.2544210553, 0.4169655144, -0.4399231374, 0.3158272207, -0.3139891028, -0.0579773895, -0.3029757738, -0.2036444545, -0.6448258162, -0.2035518885, 0.245738402, -0.1303916723, -0.2074098289, 0.1914186776, 0.3256244063, 0.691257596, 0.3747109175, 0.2329228222, 0.3652225435, -0.0172911733, 0.3363798261, -0.1038126796, -0.3971898258, -0.9044310451, 1.0254718065, 0.2648703158, 0.5468020439, -0.1002111509, 0.5845834613, 0.5935468078, 0.3058610559, -0.3083606958, 0.3493185639, -0.0782284811, -0.2293152958, -0.3545896113, -0.5511778593, -0.6483592391, -0.2997736633, -0.416285634, -1.1070961952, 0.1194653139, -0.1530112028, -0.6338034868, 0.5125712156, -0.5330594182, 0.8129936457, -0.2974536419, -0.4056451917, -0.2214870155, -0.522557795, 0.3798637986, -0.2173367739, 0.6588653326, -0.2067396343, -0.0166553576, 0.6471396089, -0.1687696576, 1.2994065285, 0.2727758884, -0.0319960304, 0.484734863, -0.0089589842, 0.4106600583, 0.4955293238, 0.0182871372, 0.1215499938, 0.0929948986, -0.3746469915, -0.3167321384, 0.4626937807, -0.7263373137, -0.4913575351, -0.1265991181, -0.6614754796, -0.2275565267, -0.136551097, 0.2194399685, 0.3898504078, -0.5304375291, 0.2067751139, 0.4576988816, -0.1000757888, 0.9256136417, 0.1644920409, -0.4991995096, -0.5085166693, 0.7867503762, 0.5018413663, 0.2965253294, 0.4918247461, 0.6103541255, -0.1825845987, -0.1815536767, 0.0088945739, 0.3343887329, -0.4617303312, -0.2007868439, -0.6595802307, -0.1942672729, -0.700381577, -0.6018835902, -0.1243696585, -0.3618669808, -0.5197618008, -0.9794691801, 0.5009045005, 1.1356903315, -0.7084985375, 0.3473652601, -1.1311250925, 0.430277586, 0.3615409434, -0.0922622755, 0.0907068625, -0.0555489324, -0.5493856072, 0.3593978882, -0.1561262012, -0.9142711759, 0.9882422686, 0.0502675325, 0.0289707985, 0.7307738662, -0.0331730917, 0.7375670075, -0.3500282168, 0.6662821174, 0.1304362565, -0.7747306824, 0.5113477111, -0.8136249185, 0.1161503866, 0.309369117, 0.6162568331, -0.4255659282, -0.5088019371, -0.7908977866, -0.9437045455, 0.4742401242, 0.0486637168, 0.3550734222, -0.3951283991, 0.2605272532, 0.3746049702, 0.3885115981, -0.69272995, -0.0870344713, 0.0568313301, -0.1006412432, -0.411924243, -0.7259243131, 0.3964184523, -0.3031583726, 0.3127441704, 0.1914141625, -0.0896616504, 0.0757554024, -0.0315711014, -0.3083864152, -0.2540724576, 0.2813445926, 0.9591705799, -0.5869919658, 0.2698054016, 0.1296562105, -0.2558648586, -0.2101599425, -0.0446939655, -0.0980022922, 0.2569096982, 0.6226987243, 0.5394682884, 0.5527510047, -0.9198020697, 0.2970994711, -0.1387951225, -0.3763046265, -0.575429976, -0.3072874546, 0.4621762037, 0.8219488859, 0.4715562463, -0.0316107199, 0.1643970311, -1.0528297424, 0.1572479606, 0.0884830058, -0.1636641771, -0.5911440253, 0.7665154934, -0.1473111957, -0.2423278242, 0.394788146, -0.0006755607, -0.282132417, 1.0181533098, 0.7996375561, 0.8564395905, 0.1145279333, 0.6780215502, 0.3084201515, 0.4672374427, -0.4476031065, -0.0465782732, 0.0992750227, -0.6167740822, -0.4666163921, -0.5970616341, -0.4596709907, -0.0152602112, -0.6381289363, 0.4562622309, -0.3841840923, -0.0010402948, 0.1199186966, -0.1766738147, -0.4172924459, 0.1523834169, 0.4923951328, 0.761970222, -1.0285909176, 0.470179379, 0.1202201322, -0.5013613105, -0.6221865416, 0.0783485323, 0.1422110945, -0.8001146913, 0.6027094722, 0.3241076767, -0.0271682125, -0.0589210726, -0.639901042, -0.8397008181, 1.1854562759, 0.3915804625, -0.4263855219, -0.2989654839, 0.3865858614, 0.3912599385, -0.7800509334, 0.20500049, 0.7299315333, 0.4490951598, 0.1970905513, -0.5275880098, -0.2786623538, 0.0165905971, -0.3555361331, -0.067864567, -0.4851870835, 0.8002823591, -0.4508439302, -0.1411534101, -0.1988246292, 0.7322559953, 0.0508197546, 1.0217599869, 0.2807796597, 0.1630803943, 0.7005329728, 0.2655583918, 1.2660087347, -0.3646034598, 0.5213701725, 0.9133205414, -0.1521020234, 0.807872653, 0.207760781, -0.1774856448, 0.7303512096, 0.8042867184, -0.0266610552, 0.3741045296, -0.1139263958, -0.1465497315, -0.1477968544, -0.0638875663, 0.1169600487, 0.2542034984, 0.4438888729, -0.3983897567, -0.2527915239, -0.0679494441, 0.3108667135, 0.0348574035, -0.7062400579, 0.8861236572, 0.4372919202, -0.201309815, -0.1918328553, -0.4217012227, 0.3995545805, -0.3307444155, -0.0349737704, -0.2873411477, -0.0096337805, -0.0095118415, -0.545620203, 0.8664132357, 0.2666411102, -0.1048366725, -0.7509961724, 0.8906990886, -0.3005886078, -0.869268775, 0.3253477216, 0.7917718291, -0.1179829463, -0.2088086158, -0.1164151058, -0.4380604029, 0.0763002709, -0.4336782098, 0.3833043873, 0.6544906497, 0.4346555471, 0.5024738312, 0.2721325159, 0.0679290295, -0.0772717446, -0.0691911653, 0.6903487444, -0.9255867004, -0.4816968739, -1.4514279366, 0.2352611423, -0.1826277822, -0.0628789961, 0.7620426416, 0.5781254768, 0.6131039262, -0.0420650207, 1.0213780403, 0.2907111645, 0.6605956554, -0.569426477, 0.555521369, -0.340248853, 0.3106016219, -0.1975415945, -0.6951791048, -0.0572828837, 0.3015436828, -0.4677116275, -0.2847097814, 0.744913578, 0.1873127371, 0.1953472942, 0.3616926968, 0.1896060854, 0.4734043479, -0.0404853374, -0.1325865239, 0.6479955316, 0.203615889, 0.6663275957, -0.4088265598, 0.1150278375, -0.33114779, -0.9545066357, -0.9739180803, -0.2310196757, -0.3725390732, -0.5006566644, 0.2866258621, 0.9801508784, -0.1998440027, -0.1729899347, -0.6671731472, -0.0185254421, 0.5298087001, -0.1157117337, -0.2897036076, 0.3545072973, -0.4114618003, -0.610130012, 0.048041705, 0.5937211514, 0.1185056567, 0.0377098396, 0.4259597063, -0.2581228316, 0.5546336174, 0.6698727012, -0.0595525727, -0.1818086803, -0.269007504, 0.2817237973, 0.0260887053, 0.0326234475, 0.8990067244, -0.6228140593, -0.1209299266, 0.2638463676, 0.3865441978, 0.5152342319, 0.0016886272, 0.7174203396, -0.4169622362, -0.1981368959, -0.0357256122, 0.6067550182, -0.1187446043, -0.3057916462, 0.5051863194, 0.4757480621, -0.4320559204, -0.6217771173, -0.1390654594, -0.7366828322, -0.5579879284, 1.2847361565, -0.1261185706, -0.6371836066, -0.0396241732, -0.0003028291, 0.2574605048, -0.4795677066, 1.157566905, 0.6889641285, 0.2289166301, -0.4834281206, -1.0029705763, 0.1358145773, -0.5888265967, -0.5158830285, 0.2681967914, 0.3990069628, -0.0236067101, -0.3632125258, 0.7699387074, 0.355807811, 0.0329224989, 0.2302228808, -0.2435919493, 0.1112366617, -0.059401378, 0.091252096, 0.1695193201, -0.3940242231, 0.2857532501 ]
http://arxiv.org/abs/2406.12104v1
http://arxiv.org/pdf/2406.12104v1
End-to-end Text-to-SQL Generation within an Analytics Insight Engine
2024-06-17T21:33:01
2024-06-17T21:33:01
Karime Maamari, Amine Mhedhbi
cs.CL
cs.CL, cs.AI, cs.DB, cs.LG
Recent advancements in Text-to-SQL have pushed database management systems towards greater democratization of data access. Today's language models are at the core of these advancements. They enable impressive Text-to-SQL generation as experienced in the development of Distyl AI's Analytics Insight Engine. Its early deployment with enterprise customers has highlighted three core challenges. First, data analysts expect support with authoring SQL queries of very high complexity. Second, requests are ad-hoc and, as such, require low latency. Finally, generation requires an understanding of domain-specific terminology and practices. The design and implementation of our Text-to-SQL generation pipeline, powered by large language models, tackles these challenges. The core tenants of our approach rely on external knowledge that we extract in a pre-processing phase, on retrieving the appropriate external knowledge at query generation time, and on decomposing SQL query generation following a hierarchical CTE-based structure. Finally, an adaptation framework leverages feedback to update the external knowledge, in turn improving query generation over time. We give an overview of our end-to-end approach and highlight the operators generating SQL during inference.
[ -0.2396319211, -0.8218050003, 0.6624807119, 0.0465992019, -0.199430719, 0.1649887562, -0.0975307524, -0.4947988689, 0.1195011586, 0.5180294514, -1.0053297281, -0.5291337371, -0.3943827748, 0.1707584858, -0.4754730165, 1.1169711351, 0.2918060422, -0.1706410348, -0.3949711323, 0.0651126355, -0.5051433444, -0.7845358253, -0.8561427593, 0.237085253, 0.2151076496, 0.3127697408, 0.2037096024, 0.5989043117, 0.2842829227, 0.2773571312, 0.1164129153, 0.395452559, -0.7711381912, 0.6298607588, -0.2064096481, -0.5072907209, -0.649987936, -0.4050826728, 0.1744156927, 0.7103281021, -0.3644050062, 0.1536419392, -0.1305862814, 1.0491025448, -0.7000668049, 0.1969722956, -1.070333004, -0.1691168398, -0.1824129075, -0.2524745464, -0.7305182815, -0.1409775615, 0.2243500203, -0.4503088593, 0.1464521587, 0.1838509142, 0.5794016123, 0.482904762, -0.5736425519, -0.5908113718, -0.6939171553, 0.5017178655, -0.4764134288, 0.1696502119, -0.0447270013, 0.5365808606, -0.1992056221, -1.0939127207, -0.3642625809, 0.1149251163, -0.0510746017, 0.1848184466, -0.1933951527, -0.1558806598, -0.0434532389, 0.1029678658, -0.4042158127, -0.0180551521, -0.2086732537, 0.2726868987, 0.9351629615, 0.4498333931, -0.0999840796, 0.1561117321, -0.1321086437, 0.2230279893, -0.6777072549, -0.3993817568, 0.2463760823, 0.3717723787, 0.1755972952, 0.4825083017, -0.3373517692, 0.5916080475, 0.1498937607, 0.706826508, -0.0524396934, -0.4830988944, -0.2481928021, 0.2719128728, 0.7121415138, 0.3177259862, 0.165358603, -0.2710345685, -0.0914831758, -0.2034074068, 0.3833494782, -1.0082368851, -0.1504443884, 0.4395904541, -0.2563553751, -0.341170907, -0.2228980064, -0.9130368233, -0.5823099017, -0.4674917459, 0.1917747408, -0.4184627235, -0.3388349116, -0.1202705577, -0.1978687644, 0.4349187911, 0.2629607618, -0.8208221197, 0.4716537297, 0.5331447721, 0.679394424, -0.1341730207, 0.1443113387, -0.4981070757, 0.2992260456, -0.4848272502, 0.7692308426, -0.3435926735, -0.4105252624, 0.1151731461, -0.2633629739, 0.152251631, -0.4099795222, 0.2129004896, -0.6107503176, 0.4139739871, -0.1232161298, -0.925934732, 0.1141717508, 0.0809534639, -0.268576473, 0.9018313885, 0.065468505, -0.6715985537, 0.6674456596, -0.7871723175, -0.4920371473, 0.3139654994, -0.3900416195, -0.4245002866, 0.4274157882, 0.2652864456, 0.3867482841, -0.7361255288, 0.127635166, -0.0628550425, 0.0988549963, 0.0269796327, -0.2110580802, 0.6697880626, 0.4550893605, -0.2577079237, 0.0013076526, -1.0345007181, 0.1855563521, 0.5158025622, 0.1666990519, -0.3509256542, 0.4844162762, 0.0789043978, -0.0724468306, 0.3181088865, -0.2535689771, 0.1372333467, -0.3055273592, 0.6129232049, 0.7172845602, 0.2954499424, 0.1661971211, 0.3066076338, 0.3950252831, 0.229419902, 0.1498684585, -0.5041656494, -0.1028065383, -0.6642574668, -0.0938450396, -0.0049039777, 0.4909516573, -0.5259091854, 0.5457500815, -0.3690697849, -0.615015626, -0.2998328209, -0.150913313, -0.0388251767, 0.3827372789, 0.2471945435, -0.0192665793, -0.6431833506, -0.8577168584, -0.2565660775, -0.117239885, -0.0340878367, 0.285631299, 0.3559859991, -0.065135017, 1.2096905708, -0.9921172261, -0.2401939481, -0.3107720613, 0.0419039316, 0.1854127198, 0.2433822304, 0.5101585388, -0.860081017, -0.6573283076, 0.156788975, -0.7992507815, -0.0080979308, -0.0738016143, -0.4464472234, 0.5306783915, 0.4659591913, -0.4237956405, 0.2203160971, 0.0694209039, -0.4518026412, 0.4346373677, -0.1292552352, -0.0414564312, -1.5465552807, 0.0238979217, -0.0068438766, -0.1251115203, -0.7305310965, -0.1265400052, -0.2412615716, -0.2724848688, -0.1641271263, 0.1745867282, -0.6611466408, -0.0583438985, -0.0834708959, 0.0236814804, 0.1488958001, 0.1576438099, 0.2089833319, 0.7089536786, 0.6912734509, -0.7782049179, 0.4201698601, 0.2931228578, -0.216281414, 0.8193695545, -0.6583150029, 0.4209658206, -0.1866558045, 0.0542324595, -0.717330873, -0.3469387889, -0.2082560211, -0.6410203576, 0.368460089, -0.2021847516, -0.375680536, -0.0024214108, -0.1159798577, -0.0319115296, 0.5472863913, -0.6018581986, 0.6627836227, 0.4722928107, -0.3922002316, -0.420972079, -0.6193842292, 0.4328895211, -0.3372069597, -0.7507659793, 0.1542201936, 0.0926684812, -0.4233016074, -0.0446888618, 0.1453405023, -0.4090881348, 0.0230499338, -0.1732622385, 0.2545045614, -0.2698410451, 0.0950125307, 0.4110620916, 0.0940399915, 0.4588231444, -0.5688335299, 0.3745774925, 0.3972947001, -0.2218157649, -0.2124388665, 0.7280258536, 0.5445360541, -0.4195551574, 0.9832082987, 0.1697473824, -0.4558340013, -0.5599555969, -0.2829069197, -0.2433252335, -0.4359555244, 0.8180877566, -0.4192984402, -0.287337333, 0.2771285474, -0.2077970654, 0.3626136184, 0.5471293926, 0.5972073078, -0.1586496532, 1.2669385672, 0.7959620953, 0.2420846373, 0.3194314837, -0.2245175838, 0.4414722025, -0.5048434138, -0.460357368, -0.6345181465, 0.0902746394, -0.3916039467, -0.0776181221, 0.4959217012, 0.0440571606, -0.1325975358, 0.0473051444, -0.5573732257, 0.3251905143, 0.1176534593, -0.1994191855, 0.2958326936, 0.1748279929, 0.5802559853, -0.1603543311, -0.5911446214, -0.2179537863, 1.1261712313, 0.0140609052, 0.716003716, 0.2807675302, 0.6258739829, 0.4808270335, 0.067109473, -0.626303494, 0.5336040854, -0.2279079705, -0.6012077332, -0.0818759799, -0.4281470776, -0.4634519815, 0.037135303, -0.1132586226, -0.5025606155, 0.10784439, 0.3031401038, 0.1035895273, -0.0040847911, -1.0323349237, 0.736897409, -0.2977534831, -0.7206907272, -0.1581338346, -0.6576130986, 0.2923376858, -0.1119014546, 0.1350246072, 0.3386288285, 0.024324825, 0.3798167408, -0.6407974362, 0.688152194, -0.4539293945, -0.14247787, 0.5517448783, 0.0481630079, 0.7124572396, 0.0186704192, -0.1471890509, -0.0419336595, -0.0957168564, -0.1894270629, -0.6152386665, 0.3583154082, -0.3352639973, -0.4287822545, -0.3213391006, -0.3961226642, -0.2822158039, 0.0089527182, 0.4728660583, 0.5270063877, -0.3377642035, 0.2439026982, 0.5688397288, -0.0747197494, 0.2482395321, 0.3363560438, -0.2629829645, -0.1580452472, 0.8829120994, 0.0525790676, 0.3114733696, 0.4185566008, -0.1181433722, -0.8419581652, -0.7452188134, -0.6415619254, -0.0831210986, -0.619574368, -0.162852183, -0.5568556786, -0.1597130448, -0.6128094792, -0.1132848039, -0.4026255906, -0.3759531975, -0.2821442187, -0.0915556848, 0.6050338149, 0.7733772993, 0.3300347328, 0.2585778236, -0.7257205844, -0.2511637211, -0.1218837723, 0.048068665, -0.1422229558, -0.1784550548, -0.6020896435, -0.1033626497, -0.2019426227, -0.9406353831, 0.3422671556, 0.536754787, 0.1993954778, 0.154215619, 0.1600390822, 0.4746592045, -0.5487751365, 0.8850960732, 0.0205483269, -0.8645996451, 0.8765730858, -0.181817919, -0.0349205695, 0.4856436253, 0.3248010874, -0.2042187899, -0.2095640898, -0.3506348133, -1.1943019629, 0.5627812743, 0.1384763271, -0.0234442391, -0.0789577514, 0.5293889642, 0.3394720852, 0.5486661792, -0.3911694884, -0.193243593, -0.3025190234, -0.4455948472, 0.0418793745, 0.0332372896, 0.0246098414, 0.06453114, 0.5998485088, -0.4667296708, 0.0000911566, 0.1111068279, -0.1856710017, 0.3737004101, 0.3590375483, 0.0434256569, 0.8779413104, -0.0862608999, -0.3599410653, 0.0042672046, -0.3072482049, -0.2218545377, -0.0290084127, -0.2688959539, -0.0318396688, 0.2018864006, 0.9283842444, -0.5545998812, -0.7314221263, 0.2778938413, -0.2133158594, -0.2912195921, -0.5050227046, -0.0077741416, 0.0247885529, -0.0251984019, 0.6301754117, -0.3801077604, 0.439365983, -0.5163279176, 0.0989310741, 0.5530347824, -0.2404481173, -0.3429309428, 0.9825280905, 0.4158055782, 0.080413118, 0.7303929925, -0.14990592, -0.1567172259, 0.5800108314, 0.5887775421, 1.1226524115, -0.1048601195, -0.0621371791, 0.2425130904, 0.13970384, 0.5137320757, 0.4145841599, -0.1059914231, -0.3254950345, -0.6149128675, -0.631783843, -0.298322916, -0.1428887993, -0.8170015216, 0.4406307936, -0.1637824029, 0.0180986673, 0.0320847854, -0.1645266712, -0.424733907, 0.2473123819, -0.209024474, 0.9560490847, -0.6831291914, 0.5437215567, 0.7192355394, -0.3497138917, -0.453740716, -0.2729464471, 0.0619892105, -0.5015671253, 0.5620375872, 0.0299857948, -0.1233226433, 0.2590761185, -0.5048004985, -0.2455183119, 1.0790758133, 0.2809731066, -0.7011464834, -0.2097235322, 0.2247243822, 0.6944578886, -0.7165340185, 0.2811652124, 0.8463022113, 0.1886003762, 0.1841823906, -0.2317174673, -0.0850707442, -0.1577324718, -0.0433803312, 0.4896757603, -0.3856953382, 0.6166957617, -0.2877041698, -0.2449035048, -0.3866513669, 0.7952619791, -0.0161591768, 0.4084433913, 0.4432327449, 0.4112649858, 0.5294750929, -0.0228397585, 0.8951847553, -0.3642150462, 0.0625163913, 1.3173480034, -0.5870409608, 0.8784022927, 0.4655135572, -0.2054748088, 0.373640269, 0.6414750814, 0.2261793613, 0.5600466728, -0.0141379042, -0.2536251247, 0.0372254625, -0.295031935, -0.3651713431, 0.4150976539, 0.6110862494, -0.1741882116, 0.0076072379, -0.4945295751, -0.0842306241, 0.2426526546, -0.2424097657, 1.2309590578, -0.0645774081, -0.516830802, 0.143830806, -0.356674552, 0.1878795177, -0.7831820846, -0.0990456343, -0.2311225981, 0.2008524537, -0.2180338651, -0.7572548985, 0.6336190104, 0.2355846763, -0.2336906791, 0.0150044309, 0.5212016702, -0.3944949806, -0.3461383283, 0.3001177609, 0.5845992565, 0.088642478, -0.2077835351, -0.3745148182, -0.1075325608, 0.1927669197, -0.4236281514, 0.3001084328, 0.8026164174, 0.0964457765, 0.448284328, 0.5163831711, 0.2047336549, 0.3155391216, 0.2095288932, 0.7580392361, -0.4696367085, -0.5884190798, -0.8823388219, 0.7197594047, -0.3788927197, -0.1652527153, 0.3943862021, 0.8201285005, 0.2895960212, 0.1152774841, 0.9396067858, -0.3450663388, 0.4550097287, -0.6661918163, 0.807136178, -0.8641831875, 0.2560826242, -0.0256916638, -1.0604310036, 0.2117417604, -0.0803294033, 0.1724633425, -0.0362991169, 0.7436850071, 0.6041587591, 0.2314702272, 0.1803345382, -0.0390266031, 0.4621342421, 0.6855306029, 0.4459821582, 0.5655563474, -0.3202902675, 0.6469974518, 0.1050422043, -0.2988057435, 0.0683101043, -0.8644066453, -0.5285186172, -0.8114155531, -0.2009613812, -0.1655865759, 0.1443966776, 0.7083075047, 0.6466732025, -0.5531338453, -0.2390052527, -0.526491344, -0.3522365391, -0.0614163354, -0.2715640664, 0.3922415972, -0.628143847, -0.9233133197, 0.3895833194, 0.4057143629, -0.2611400485, -0.3899234533, 0.1871947646, 0.0166679565, 0.1282186806, 0.7797353268, -0.0360588133, 0.035179615, 0.0254546218, 0.10303431, 0.2146765739, -0.0575379394, 0.7318245769, -0.6465349793, 0.3138601184, 0.4116283953, 1.0350773335, 0.7510044575, 0.020054752, 0.8992886543, -0.9659035802, -0.0002400829, 0.3378707469, 0.1812453866, 0.3372468352, -0.6116164923, 0.5881611705, 0.1205775365, -0.6216790676, -0.9813237786, 0.4113325775, -0.5871037245, -0.2735786736, 0.5726315379, 0.2835837603, -0.3075783551, -0.0650189519, -0.1284101158, 0.1123914346, -0.4482696056, 0.5249469876, 0.539178431, -0.4857024848, -0.0410449542, -0.4738123119, 0.4026045799, 0.4372926056, -1.2985560894, 0.5513632298, 0.8021348119, 0.020479681, -0.0648080409, 0.5773651004, -0.0078516714, -0.1757638305, 0.2695637941, -0.0155631071, -0.004493075, -0.364418298, -0.0541882701, 0.0378472209, 0.1105106622, -0.2759766877 ]
http://arxiv.org/abs/2406.12094v1
http://arxiv.org/pdf/2406.12094v1
Who's asking? User personas and the mechanics of latent misalignment
2024-06-17T21:15:12
2024-06-17T21:15:12
Asma Ghandeharioun, Ann Yuan, Marius Guerard, Emily Reif, Michael A. Lepori, Lucas Dixon
cs.CL
cs.CL, cs.AI
Despite investments in improving model safety, studies show that misaligned capabilities remain latent in safety-tuned models. In this work, we shed light on the mechanics of this phenomenon. First, we show that even when model generations are safe, harmful content can persist in hidden representations and can be extracted by decoding from earlier layers. Then, we show that whether the model divulges such content depends significantly on its perception of who it is talking to, which we refer to as user persona. In fact, we find manipulating user persona to be even more effective for eliciting harmful content than direct attempts to control model refusal. We study both natural language prompting and activation steering as control methods and show that activation steering is significantly more effective at bypassing safety filters. We investigate why certain personas break model safeguards and find that they enable the model to form more charitable interpretations of otherwise dangerous queries. Finally, we show we can predict a persona's effect on refusal given only the geometry of its steering vector.
[ -0.2264152169, -0.7444691658, 0.7108077407, 0.136926204, 0.105101712, 0.0801217183, 0.4320004284, -0.5927485824, -0.125774622, 0.663197875, -0.7537274361, 0.180740118, -0.5387117267, -0.1839096546, -0.2554041147, 0.9314032197, 0.4437652528, 0.0050043617, -0.2758048475, 0.0892912745, -0.6491740942, -0.6093322635, -0.5603458285, -0.4015555382, 0.8755460382, 0.3065722585, 1.0910141468, 0.4035569131, 0.2949460745, 0.2979975641, -0.1398935765, -0.4648973346, -0.5444952846, 0.4655267596, -0.4721248448, -0.6888099313, -0.3994955122, 0.3167500496, 0.2017061412, 1.0054428577, 0.0149128092, -0.2877102494, 0.2333644629, 0.4279847145, -0.8850690722, -0.3736070693, -0.4566999972, -0.1871039271, -0.3356225193, -0.3589387834, -0.5992649198, -0.2950633764, 0.3590332568, -0.5434345603, 0.1003973186, 0.2912902832, 0.7433509231, 0.49292624, -0.7954860926, 0.0184825491, -0.9198730588, 0.7588988543, -0.3261168897, 0.4468070865, 0.8785806298, 0.3629291654, -0.283772856, -0.516648531, -0.5384907126, 0.0513813831, -0.2106085122, 0.0158632416, -0.4078731239, 0.2278987914, 0.3963318467, -0.1200640351, -0.6596236229, 0.3567097783, -0.5693922639, -0.3776637614, 0.735304296, -0.0191496983, 0.4359714389, -0.5363265276, -0.606687367, -0.1569781154, -0.953175962, 0.0199560821, 0.8533270955, 0.0433037169, -0.0146362679, 0.6646107435, 0.121159412, 0.5547814369, 0.4831431508, 0.1266094893, -0.0746332109, 0.0135197788, -0.0963727981, -0.0051027811, 0.742461741, 0.5305091143, 0.2646827698, -0.1452671885, -0.1502978355, -0.2537701428, 0.7849815488, -0.35362795, -0.3206138015, 0.2715510428, -0.5636665225, -0.4496078193, 0.1653300524, -0.702442348, -0.7954807878, -0.2335049808, 0.4455409646, -0.3960073888, -0.318423003, 0.1379826069, 0.0620912053, 0.2616499662, 0.1609591246, -1.0100297928, 0.0337349623, 0.680426836, 0.2928140163, -0.0203205757, -0.1369910836, -0.7420281768, 0.2267504781, -0.212291643, 0.8439415693, -0.5716017485, -0.7296788096, -0.1784882247, 0.1049868241, -0.2213995606, -0.5191552639, 0.432363838, -0.7918955684, 0.4954807162, -0.7901352048, -0.2084243298, -0.2428420335, 0.1217826381, -0.6411602497, 0.6942863464, -0.0371471941, -0.8368987441, 0.2614940703, -0.541470468, -0.3333728015, 0.0428491719, -0.215272963, -0.2011691034, 0.202205047, 0.0107495561, 0.4026980698, 0.0712952465, 0.2948279679, -0.4173527658, 0.0072278841, 0.6657199264, -0.486812979, 1.035849452, 0.2856443524, -0.1188014373, 0.0720503405, -0.311642617, -0.1602659523, -0.022418417, -0.176980719, -0.4716117382, 0.1608413905, 0.0161872581, 0.4075528681, 0.0944572091, -0.29613778, -0.2084287852, -0.3711380959, 0.2232208997, 0.8286673427, 0.4513204396, 0.7129721045, -0.4895084798, 0.7820738554, 0.057666298, 0.2964037657, 0.1182218939, -0.7009728551, -0.4918560982, 0.5340083241, 0.0478004031, 0.6663392186, -0.759770453, 0.2169830948, 0.0926769078, -0.1488903463, -0.2367341518, -0.120686233, 0.6208292246, 0.8666456938, 0.2089651525, -0.2504549026, -0.2338809818, -1.0592663288, -0.5201753974, -0.8259938955, -0.1137409732, 0.2330832332, 0.2063270211, 0.0837869048, 0.8902504444, -0.4850403368, 0.2671023309, -0.1375871152, 0.3930146396, -0.5304445028, 0.7550142407, 0.7986103296, -1.1621489525, -0.2265385389, -0.3870508075, -0.646643281, -0.2740541101, -0.2468670458, -0.2858664989, 0.1224062592, 0.6858274937, -0.5692270398, 0.571636498, 0.2367292941, -0.541331768, 0.5480728745, -0.2182065994, 0.1663386077, -0.8921117783, 0.2264645249, 0.1058917418, -0.2114901394, -0.8111514449, 0.0088658417, 0.0926545933, -0.1558928639, -0.6953883171, 0.1808583587, -0.3649017513, -0.0044074869, -0.3343212008, 0.1133599803, 0.0776161924, 0.1929737031, -0.2267102152, 0.8513514996, 0.3746237755, -0.9906714559, -0.0536705814, 0.4043347239, -0.1283892393, 1.1759710312, -0.775708437, 0.4206190705, -0.4503411055, -0.0910302401, -1.0405400991, -0.5800414085, 0.6413215995, -0.6290183663, 0.4059101343, -0.2993666232, -0.2530232072, -0.2524604201, 0.1445539743, 0.3088925779, 0.4968544245, -0.1781383902, 0.5107821226, 0.722727716, -0.2758630216, -0.5926187634, -0.6738801599, -0.116977416, -0.5662899613, -0.6432772279, 0.4035899639, -0.3640666604, -0.5060502887, -0.124582544, -0.2228134125, -0.237164855, 0.4630242288, 0.5490361452, 0.1463910639, 0.0727469921, 0.2693146467, 0.3597487509, -0.3602669239, 0.3470495641, 0.0005362517, 0.2665166855, 0.1022394001, -0.5550606251, -0.5624137521, 0.5006267428, 0.4852875769, -0.2611804903, 0.7370558977, 0.1920981407, -0.4565999806, 0.4385855794, -0.5207363367, -0.5345802307, -0.5422956347, 0.0505988635, -0.1487410665, -0.7960714102, 0.4713618159, 0.0209791288, -0.0025878677, 0.2527165413, 0.1847285181, -0.4593681097, 1.2153100967, 0.8564317226, 0.0407982804, 0.1708515286, 0.105907023, 0.2601470351, -0.5167608857, -0.5712897778, -0.7719534039, -0.5191038251, -0.4302569926, -0.2384884357, 0.438462317, 0.0401029363, -0.2369225621, 0.3921965957, -0.1466839612, 0.5826390386, 0.267786324, 0.1221282035, 0.2459744811, -0.185621053, -0.0376245268, -0.4763388336, -0.4756202996, -0.6757713556, 0.6456552744, 0.3476949632, 1.0243196487, 0.4341973066, 0.2419945002, 0.1869050115, 0.0168784857, -0.5283879638, 0.5633077025, 0.3504168689, -1.2837991714, -0.0910589248, -0.0202161521, -1.1081018448, 0.191152975, -0.419310987, -1.0495671034, 0.5412522554, 0.4087264836, -0.772069633, 0.2340297401, -0.6910294294, 0.7139025331, -0.5118320584, -0.5478879809, -0.1555800885, -1.1455903053, 0.2579205334, 0.0488618687, 0.0469584204, -0.0516613908, -0.1360260993, 0.6537123322, -0.2583471835, 1.0578752756, -0.383628428, -0.1212717667, 0.0924443677, 0.4162798524, 0.3087536991, -0.0341823064, -0.0443225801, -0.2824304998, -0.1474915743, -0.3165253699, -0.7611556053, 0.6796875, -0.5996789336, -0.9804193974, -0.3855440617, -0.3601379097, -0.4185240567, 0.3003787994, 0.5314965844, 0.0491775349, -0.2259943932, 0.2168597728, 1.0912926197, -0.3051711321, 0.4333209097, 0.4762961566, -0.1181245074, 0.2794648707, 0.5573219657, 0.0290693548, 0.4707172215, 0.2460900545, 0.0436927006, -0.4840811491, -0.4325912893, -0.3965537548, 0.2621389329, -0.5196729302, 0.0383780301, -0.7914327383, -0.1058662683, -0.4024582505, -0.0841866583, -0.2820785046, -0.4329299629, -0.6533043385, -0.3372524083, -0.0878312364, 0.7738028169, -0.0322481431, 0.7525886297, -0.4381403923, 0.0441071354, 0.4567486346, 0.1207271367, -0.2105304599, -0.4191594124, 0.2613007724, -0.142869547, -0.7277159095, -1.3503252268, 0.2826317251, -0.2398935556, 0.8133916855, 0.7838310599, 0.4417026937, 0.4283416271, -0.2005502284, 0.649353981, 0.0800888985, -0.6507796049, 0.6674733162, -0.5230030417, -0.041038502, 0.641892314, 0.8744280338, -0.5796512961, -0.1584025025, -0.7369717956, -0.5273560286, 0.7316083312, 0.174867779, 0.3793145418, 0.1809060425, 0.5318099856, 0.1860655695, 0.1701626927, -0.743924439, -0.3646622598, -0.1511370093, 0.1472952813, 0.1094763502, -0.6448444724, -0.1426053196, 0.1514100283, 0.4502054751, -0.0414614715, 0.2042516768, -0.0552019216, -0.0893408284, -0.4560674131, 0.313454777, 0.5012838244, 0.702598691, 0.0439203307, 0.0759602115, -0.1462115198, -0.4090310633, 0.0754181519, -0.0054754005, -0.3615972102, -0.5103396177, -0.0045582252, 0.7384679914, 0.5833370686, -0.3235295415, 0.5626170039, -0.0754506811, -0.1801323891, -0.1433748156, 0.4001107514, -0.0382242091, 0.156897828, 0.3504392505, 0.3735170364, 0.1261398941, -0.3241514266, 0.0641040727, 0.4185798764, -0.615032196, -0.6373010278, 1.0956426859, 0.2498527616, -0.493385613, 0.6643113494, 0.2136260718, -0.4498316944, 0.2372672409, 0.3533940613, 0.7017768025, -0.503865242, 0.4094375372, 0.2857707739, 0.399505198, 0.1300984174, 0.3218586743, 0.0214152802, -0.6686890721, -0.2515569329, -0.0744241476, -0.4353168607, 0.3452424705, -0.8969378471, -0.0140785091, -0.6105946302, -0.4989052713, 0.0217586756, -0.4340311587, -0.3320108056, 0.172418952, -0.0523359142, 0.6406744719, -0.8786814809, 0.3453868926, 0.7626018524, -0.3955101073, -0.7920091748, 0.506308496, 0.4448367357, -0.4490627348, 0.4030314386, 0.0375389233, -0.0147282118, -0.134420082, -1.0001591444, -0.8812155128, 0.811686039, 0.6127691865, -0.2408547103, -0.3721852005, 0.0715585276, 0.251353085, 0.0472768806, -0.1846230626, 0.3193852007, 0.5072522163, 0.1644653827, -0.8363654017, -0.1114242598, -0.2154378891, -0.0669545829, -0.07257393, -0.5810676813, 0.8653267622, -0.3897990882, -0.3350080848, 0.0607974753, 0.6332340837, 0.2803285718, 0.3205032945, 0.7402223349, 0.2358277142, 0.9394295812, -0.1238443181, 1.2734640837, 0.0786931291, -0.1746868491, 0.8682870865, -0.1001425087, 0.5639306903, 0.5829460621, 0.0472993776, 0.6462441087, 0.6774298549, 0.5022698045, 0.5369678736, -0.2983839512, -0.2353124768, -0.696439147, 0.0163563043, -0.4121649265, 0.5943837166, 0.5096852183, -0.2506396472, -0.0750642344, 0.1395175159, 0.2226488888, 0.2586091161, 0.0760950074, 0.5755969286, 0.1252816767, -0.9846374393, 0.046230115, 0.1443531364, 0.2765032649, -0.4059880376, 0.3876623809, -0.0703967214, -0.0689089, -0.1045513377, -0.8075562119, 0.458840847, -0.2272990942, -0.1501522958, -0.4295198619, 1.1230741739, 0.0063117607, -0.1370559782, 0.0615283512, 0.8378420472, 0.2262394875, -0.053133443, -0.8732434511, -0.1121125594, -0.1438654214, -0.1803997606, 0.3948313296, 0.1790579259, -0.3315612078, 0.911741972, 0.544750154, -0.2912181616, 0.1035418883, -0.0396723375, 0.7774258852, -0.6270118356, -0.7789945602, -0.5191764832, 0.8586756587, -0.0070725023, -0.2808130085, 0.7982484698, 0.2391767055, 0.9219612479, -0.0296614803, 0.6414391398, -0.0661015213, 0.4700905085, -0.4396540523, 1.3060230017, -0.5970531106, 0.3450537622, -0.3587638438, -0.6051467061, -0.1635186821, 0.6837499142, -0.7000994682, 0.367736876, 0.4013209939, 0.8499546051, -0.0437239259, 0.2737409174, 0.2737223506, 0.0632974356, 0.365688622, 0.4628821313, 1.1758788824, -0.2405874431, 0.334327668, -0.1541658342, 0.0433920175, -0.3169019818, -0.8600173593, -0.8292336464, -0.8036679029, -0.4539346993, -0.4528551102, -0.0183588527, 0.3826700747, 1.0730415583, -0.5516862869, 0.080089964, -0.0035437772, 0.3435205817, 0.3174315095, -0.1579424143, -0.2187170833, 0.0476218797, -0.7503125668, 0.5144580603, 0.1854534745, 0.5588065386, -0.5562443733, -0.1135309711, -0.282153368, 0.0560381301, 0.2619859576, 0.6432493329, -0.5323745608, -0.4060521722, 0.198126331, -0.1876030117, -0.0026879783, 0.9817969799, -0.8546978831, 0.4411216378, 0.3859980702, 0.3571433723, 0.0849757269, 0.3349748552, 0.7301404476, -0.7260594964, 0.0658035204, 0.3057696521, 0.2042141855, 0.4863888621, -0.7578376532, 0.1393666714, 0.3965140581, -0.5732349157, -0.6498883367, 0.5271894932, -0.7930105329, -0.2811665833, 0.8995773792, 0.1259641796, -0.2526137829, -0.5399166942, -0.2565523982, -0.0163810793, -0.1779678315, 0.6795148849, 0.561473906, -0.3159969449, -0.3457933664, -0.6481497884, 0.5723864436, 0.6271672845, -0.6428079605, -0.0963739902, 0.7446445227, 0.4329013228, 0.1399903893, 0.6121561527, -0.1972009391, 0.3811229169, -0.2532529235, -0.588092804, 0.0243451484, -0.6375238895, -0.2722705305, 0.2998957634, 0.1619926095, 0.0639994219 ]
http://arxiv.org/abs/2406.12091v2
http://arxiv.org/pdf/2406.12091v2
Is poisoning a real threat to LLM alignment? Maybe more so than you think
2024-06-17T21:06:00
2024-06-19T17:56:17
Pankayaraj Pathmanathan, Souradip Chakraborty, Xiangyu Liu, Yongyuan Liang, Furong Huang
cs.LG
cs.LG, cs.CL, cs.CR
Recent advancements in Reinforcement Learning with Human Feedback (RLHF) have significantly impacted the alignment of Large Language Models (LLMs). The sensitivity of reinforcement learning algorithms such as Proximal Policy Optimization (PPO) has led to new line work on Direct Policy Optimization (DPO), which treats RLHF in a supervised learning framework. The increased practical use of these RLHF methods warrants an analysis of their vulnerabilities. In this work, we investigate the vulnerabilities of DPO to poisoning attacks under different scenarios and compare the effectiveness of preference poisoning, a first of its kind. We comprehensively analyze DPO's vulnerabilities under different types of attacks, i.e., backdoor and non-backdoor attacks, and different poisoning methods across a wide array of language models, i.e., LLama 7B, Mistral 7B, and Gemma 7B. We find that unlike PPO-based methods, which, when it comes to backdoor attacks, require at least 4\% of the data to be poisoned to elicit harmful behavior, we exploit the true vulnerabilities of DPO more simply so we can poison the model with only as much as 0.5\% of the data. We further investigate the potential reasons behind the vulnerability and how well this vulnerability translates into backdoor vs non-backdoor attacks.
[ 0.0282128323, -0.6221215129, 0.579046011, 0.0091822445, 0.1600678116, -0.037821319, 0.0347306281, -0.3806845546, -0.3015056551, 0.8324315548, -0.6452638507, -0.3935510218, -0.3422668874, -0.0341972299, -0.075057894, 1.0322757959, 0.1150185615, -0.1026337072, -0.024129048, 0.1648100317, -0.7208218575, -0.8187850118, -0.5715342164, -0.3905592263, 0.7645292282, 0.4574348032, 0.8189820647, 0.5754362941, 0.5312733054, 0.2569662929, -0.0425571874, -0.1048642695, -0.6384379268, 0.3855835497, -0.3161215484, -0.5120251775, -0.5250942707, 0.0397081524, 0.2914842367, 0.1171325967, -0.3028456569, -0.2909787297, -0.087165609, 0.8985587955, -0.8470001221, -0.4395309687, -0.9557138681, 0.2713467777, -0.0530217662, -0.2616763413, -0.7702271342, -0.2068310976, 0.3064126968, -0.5498152971, -0.4208059907, 0.1583952159, 0.7613322139, 0.5855964422, -0.4433223605, -0.1935778409, -0.5597122312, 0.8951244354, -0.5805231929, 0.0874499902, 0.2842741609, 0.3369489312, -0.701603353, -0.2476005554, -0.5469273329, -0.4210381508, 0.0277577676, 0.0486808345, -0.2234309614, 0.3354468346, 0.0438981876, 0.283210367, -0.7185432911, 0.6085203886, 0.2039721608, -0.2887267172, 0.8267106414, 0.4536189735, 0.5711658597, -0.3273961246, -0.7672379613, -0.3970624804, -1.0087502003, -0.1827488989, 1.0087952614, 0.1680232137, 0.125939846, 0.2769984603, 0.224644199, 0.6794582605, -0.0153970486, -0.1855340153, -0.2269625515, -0.2176156193, -0.1170212105, 0.3205642402, 0.913920939, 0.6215217113, 0.3646829724, -0.2170953155, -0.0504912138, -0.1472604722, 0.5772307515, -0.5163419843, -0.3390029371, 0.6127099991, 0.1101618707, -0.8312240243, -0.1684740186, -0.9628813267, -0.5712039471, 0.2554321289, 0.3240537643, -0.2878420949, -0.3273295164, 0.0513515137, 0.0294165425, 0.4223317802, -0.028313823, -1.1110128164, 0.0964272618, 1.0669817924, 0.5482496023, -0.4221435785, -0.4976433218, -0.485496223, 0.2441017032, -0.3227065504, 0.5672520995, -0.3621406555, -0.5463299155, 0.075568974, -0.2424998134, 0.0471380241, -0.8116185665, 0.5859228373, -0.7265545726, 0.0867519751, -0.1715715379, -0.2808727324, 0.0588524565, 0.2762271762, -0.6041974425, 0.7247759104, -0.2296246588, -0.9523396492, 0.1763796657, -0.1039844826, -0.3400515616, -0.3848472834, -0.0062254639, -0.572281599, -0.2828742862, -0.00210684, 0.2052764297, 0.0178627353, 0.4194231331, -0.472048074, -0.1927139461, 0.5706903934, -0.5311254263, 0.733953774, 0.3236433864, 0.0367938504, 0.3926166296, -0.6451868415, -0.0253398512, 0.2233461142, -0.3740297258, -0.3675633073, 0.1455645859, -0.2123958021, 0.374428302, 0.1988604665, -0.319938153, 0.4637720287, -0.5685213208, 0.4398600459, 1.1847280264, 0.4417979121, 0.5216742754, -0.4170452058, 0.5694844723, 0.0243376177, 0.6143761873, 0.1412535012, -0.1426511705, -0.2766445279, -0.3061957061, 0.1318661124, 0.9046955705, -0.5013028383, 0.6403114796, -0.1330937743, -0.571321249, -0.2338238806, -0.0897183865, 0.7991620302, 0.8053027987, 0.1808050573, 0.0023747471, -0.3395056129, -0.9013380408, -0.4194861054, -0.2802300453, 0.2338873148, 0.249769032, 0.4157902598, -0.3550517261, 0.8752978444, -0.6545889974, -0.2215278, -0.1038173139, -0.4259301722, 0.1296888888, 0.557957232, 0.5275033116, -0.4213718176, -0.3997477889, -0.0934531018, -0.6612987518, -0.3208157718, -0.1610732228, -0.465326786, 0.2424900681, 0.1401335746, -0.3380741179, 0.2346197814, 0.6244704127, -0.0051968438, 0.8024399877, -0.0286589544, -0.1730824262, -0.8944203854, -0.0328635201, -0.0992798805, 0.0110580921, -0.9270672202, 0.2023978978, 0.0639384165, -0.2719715834, -0.8646402955, 0.4810651243, -0.0993027315, 0.1727343351, -0.1019756645, -0.0656327084, 0.051879745, 0.498811245, -0.0747288689, 0.9168201685, 0.5136614442, -0.5659128428, 0.4418947697, 0.1337562352, -0.0603523701, 0.2911966741, -0.4635469913, 0.3123858571, 0.2623093724, 0.251506567, -0.7994993925, -0.4004737437, 0.5679091811, -0.2146015912, 0.6324314475, -0.1820129752, -0.3363873363, -0.018335253, -0.7661867142, 0.2669186592, 0.2781910598, -0.7001569867, 0.1651491523, 0.3656543493, 0.1850977093, -1.098857522, -0.4797607958, 0.0872150362, -0.6164265871, -0.7419275045, 0.387881577, 0.0630212724, -0.4756998718, -0.2623662651, -0.3163351119, 0.1680137366, 0.5124689937, 0.1947336495, 0.3247117996, 0.3620512784, -0.2282420099, -0.0279798638, -0.2967312038, 0.1079982892, 0.0256237015, 0.6795691252, 0.1833460629, -0.344758451, -0.8065001965, 0.452478677, 0.4253323972, -0.0272356812, 0.5492691994, -0.2514865994, 0.016405914, -0.2685321569, -0.1503232419, -0.2616811693, -0.5214087963, 0.476580143, -0.2322045118, -0.4212395847, 0.5064763427, 0.1150262728, -0.0511288382, 0.157676369, 0.4246054292, 0.0873812512, 0.8832480907, 0.4396002591, -0.3837980926, 0.6147203445, 0.0166892484, 0.1242153496, -0.9326511025, -0.106349349, -0.1270340681, -0.1768143624, -0.6798947453, 0.0366497859, 0.4067416489, -0.0268358756, -0.4320733249, 0.2838983834, -0.4714210331, 0.6889455914, 0.462405324, 0.0843128487, 0.298327148, -0.0340826958, -0.2138886601, -0.146856606, -0.4901042879, -0.5297127366, 1.2143058777, 0.5326578617, 1.1835230589, 0.2427383959, 0.9536404014, 0.2032309175, 0.0558415465, -0.9039321542, 0.4772775471, 0.1480270475, -0.7018991113, -0.2079211324, -0.360319078, -1.0804796219, 0.3558571041, 0.0103347907, -0.7682350278, 0.1244207099, 0.3089910746, -0.4228332937, 0.2138203532, -0.8664048314, 0.9251599908, -0.6554077864, -0.6328054667, 0.0147378379, -0.6876972914, 0.6174329519, -0.0885285437, -0.0405901149, -0.1456370354, -0.0022880908, 0.5947304964, -0.5614260435, 0.8307923675, 0.0037833482, -0.5059791803, 0.0085222144, 0.2510244548, 0.5554136038, 0.0427189134, -0.152484104, 0.1768306345, -0.0101199988, -0.3055804968, -0.5215901732, 0.8916708231, -0.9612321854, -1.0896681547, -0.9098045826, -0.2812801898, -0.3220952153, -0.0108746868, 0.243927449, 0.0935440287, -0.0292920507, -0.4505872726, 0.6684754491, -0.5280143023, 0.3838750124, 0.5249071121, -0.2381042093, -0.5897315145, 0.9635728002, -0.0159905069, 0.6323635578, 0.3882124722, 0.4134578109, -0.0950323567, -0.5746712685, -0.3077712953, 0.445409596, -0.6407505274, -0.3050103486, -0.3238746226, -0.0992844477, -0.539085269, -0.0753201097, -0.2871016562, 0.0313512385, -0.4050386548, -0.1743153781, 0.3568707705, 0.5510860085, -0.0191124808, 0.4700058699, -0.6422250867, -0.2179917395, 0.4148102403, 0.0352165177, 0.013669746, -0.3839618266, 0.2150691599, -0.2998633385, -0.6390129328, -1.4983823299, 0.5532246232, -0.1217322201, 0.5260698795, 0.5446794629, 0.3019658625, 0.520996809, -0.6077035666, 0.7516709566, 0.1502599567, -0.6874361038, 0.5721558332, -0.4256046712, -0.201099515, 0.6088479757, 0.5018277168, -0.6676642895, -0.1602225006, -0.3188199997, -1.0588519573, 0.7416929603, -0.1454642564, 0.0813324153, -0.0389232673, 0.4473285079, 0.109527126, 0.0632623732, -0.5948576331, -0.1782885343, 0.1536818594, -0.0190041475, 0.2906996906, -0.5167393684, -0.2425627261, -0.0065279729, 0.7748778462, 0.2155260891, -0.0751601979, 0.1644929349, -0.0742206126, -0.08612784, 0.3860084713, 0.7054963708, 0.3948532343, -0.2838366628, 0.203135699, 0.0513881594, -0.5085010529, 0.3574807346, -0.2428196967, -0.0454716943, -0.7348618507, 0.5334332585, 0.5992776155, 0.1618347466, -0.8246738315, 0.4551951289, -0.0995021164, 0.1633822918, -0.3928471506, 0.3028713465, -0.2600847185, 0.0148373675, 0.1781723499, -0.3737729788, -0.1148777157, -0.7192211151, 0.1943611801, 0.5502117276, -0.2970873713, -0.2824030817, 0.3767208159, 0.2754046321, -0.3578644991, 0.514387548, 0.1901324838, -0.9212973714, 0.3565964699, 0.5866748691, 0.785176754, -0.6160610318, -0.0955786556, 0.1205281615, 0.2723211646, 0.2014418244, -0.0067748441, 0.0244462993, -0.8241360188, -0.2513518929, -0.5175622702, -0.6007515788, 0.2374935895, -0.5652446151, 0.0598567426, -0.6420292854, -0.1898254603, -0.2362713069, -0.0600432158, 0.1918459684, -0.227597177, -0.0189652536, 0.4499723315, -0.9346847534, 0.7115873694, 0.3035434484, -0.3193312287, -0.6459608674, 0.4808513224, 0.2433464229, -0.9563911557, 0.7151129246, 0.0460327081, -0.1381693929, -0.0657810718, -0.3920274079, -0.7035556436, 0.8671892881, 0.402843684, -0.6633772254, -0.1839013994, 0.0340893231, 0.3581851125, 0.149575457, -0.1753201336, 0.8015730977, 0.492998302, -0.1121638566, -0.8355486989, 0.06312868, 0.1289541572, -0.0548890829, 0.3673443496, -0.6826095581, 0.5711401701, -0.166775316, -0.2530068755, -0.2391435206, 0.3407692909, 0.2843118608, 0.0883464813, 0.3841172755, 0.9637015462, 0.6167860031, 0.0657945573, 1.2314972878, -0.0136208693, 0.1709002256, 1.1712185144, -0.8060081601, 0.9816095829, 0.7634642124, -0.3037344515, 0.3497836292, 0.7087064385, 0.1619016677, 0.881367445, 0.5100616813, -0.3231267631, -0.1222973466, 0.0220211521, -0.2398566753, 0.2163066566, 0.3033869267, -0.1776578277, -0.0616182089, 0.0226109736, 0.5526356101, 0.1710370183, -0.0448301919, 1.0595171452, 0.0336087123, -1.043000102, 0.6337668896, -0.1729987264, 0.6621257067, -0.4814102352, 0.2123852074, -0.2332394123, 0.4378839433, -0.4196332097, -0.9062847495, 0.3589608371, -0.092679143, 0.0624610968, -0.0332677066, 0.5988011956, -0.1898641735, 0.2950435281, 0.5259028077, -0.0993781313, -0.1236523464, -0.100407891, -0.6058787704, 0.2428869307, 0.0049681221, -0.3201034963, 0.6749468446, -0.0826394409, -0.0522923656, 0.8044083118, 0.6852570176, 0.2371239811, 0.2639212012, -0.2627493143, 0.8542625308, -0.4177057743, -0.2176700979, -1.2876852751, 0.2119041979, -0.096423462, -0.1158106178, 0.8310539722, 0.3496323824, 0.7329631448, 0.0570679195, 0.5423488617, 0.3944482207, 0.0537817441, -0.6565952301, 0.8165905476, -0.4193985164, 0.4281643331, -0.1635605693, -0.7148263454, -0.3450151086, 0.2934110165, -0.726968646, -0.3288001716, 0.6635285616, 1.0252289772, 0.4168006182, -0.2411235422, 0.2008245587, 0.1279784888, 0.5884635448, 0.7014467716, 1.2249060869, -0.070008263, 0.586144805, -0.385104239, -0.249612689, -0.4449346066, -1.001912117, -0.8020563722, -0.2960548401, -0.2560119629, -0.6021028161, 0.188324526, 0.7377225161, 0.4482254386, -0.5969142914, -0.0863349438, -0.0954373404, 0.4837789237, -0.0159174316, -0.2732117474, 0.2808662951, -0.2375480831, -0.5395411253, 0.389126718, 0.3097928762, 0.0299992468, -0.4457495511, -0.0974183455, -0.2903366983, 0.0320362784, 0.2506614923, 0.5048199892, -0.804518342, -0.4429523051, -0.2097693533, -0.2588108182, 0.0300411936, 0.5904972553, -0.3758188188, 0.4588955045, 0.6852278113, 0.6692923307, -0.0269959997, 0.125550732, 0.6173798442, -0.8124238253, 0.1400456429, 0.4372626841, 0.2549600899, 0.2286528051, -0.8043943644, 0.2583411932, 0.0647102743, -0.7994585633, -1.1274853945, 0.7361810207, -0.9985526204, -0.3103541136, 1.3326132298, -0.1317156255, -0.6234171391, 0.0443154387, -0.3220938444, -0.002997454, -0.5685640574, 0.7603907585, 0.6168006659, -0.2223493606, 0.2898217142, -0.5691813827, 0.6598457098, 0.396720171, -0.7996246219, 0.3361308277, 0.4061093628, 0.4918310046, 0.0801512599, 0.3252991736, -0.2144733816, 0.1021583974, -0.2352318168, -0.0866192132, -0.0246254466, -0.3941368461, -0.6408736706, 0.0148992846, 0.2740339935, -0.1725039482 ]
http://arxiv.org/abs/2406.12084v1
http://arxiv.org/pdf/2406.12084v1
When Reasoning Meets Information Aggregation: A Case Study with Sports Narratives
2024-06-17T20:49:35
2024-06-17T20:49:35
Yebowen Hu, Kaiqiang Song, Sangwoo Cho, Xiaoyang Wang, Wenlin Yao, Hassan Foroosh, Dong Yu, Fei Liu
cs.CL
cs.CL, cs.AI
Reasoning is most powerful when an LLM accurately aggregates relevant information. We examine the critical role of information aggregation in reasoning by requiring the LLM to analyze sports narratives. To succeed at this task, an LLM must infer points from actions, identify related entities, attribute points accurately to players and teams, and compile key statistics to draw conclusions. We conduct comprehensive experiments with real NBA basketball data and present SportsGen, a new method to synthesize game narratives. By synthesizing data, we can rigorously evaluate LLMs' reasoning capabilities under complex scenarios with varying narrative lengths and density of information. Our findings show that most models, including GPT-4o, often fail to accurately aggregate basketball scores due to frequent scoring patterns. Open-source models like Llama-3 further suffer from significant score hallucinations. Finally, the effectiveness of reasoning is influenced by narrative complexity, information density, and domain-specific terms, highlighting the challenges in analytical reasoning tasks.
[ -0.2471360117, -0.8978893161, 1.0049412251, 0.1360600889, -0.1984641999, 0.3110970855, 0.1547011733, -0.6736109853, 0.0143453442, 0.1309775412, -0.3522591591, -0.4879389405, -0.7149367332, -0.0624680966, -0.4422495961, 0.7538025379, -0.2467080206, -0.121790722, -0.5844677091, -0.3415448666, -0.5171693563, -0.6048179269, -0.5855441093, -0.3881182373, -0.0785502046, 0.3138750494, 0.6868979931, 0.7706006169, 0.7466242909, 0.3771581054, 0.2044611126, 0.605694592, -0.737090826, 0.5281631947, -0.2291347384, -0.6655211449, -0.5801491737, 0.2062499523, 0.3094428778, 0.6543679237, -0.2006890327, 0.2618143559, -0.1235985383, 0.5857380033, -0.4345384538, 0.1257951558, -0.3523182273, 0.0551038682, -0.0134147629, -0.5507803559, -0.1506025344, -0.4307385087, -0.0384187549, -0.695672214, 0.1674492508, 0.0410048291, 0.6799246073, 0.3708666563, -0.3104637861, -0.4098562896, -1.0671151876, 0.6947982311, -0.4460344911, 0.2382674813, 0.4328072965, 0.2342974395, -0.1478231847, -0.3415654004, -0.4149609804, 0.032008674, 0.0177382194, 0.3803771436, -0.4168950617, -0.160022676, 0.329798162, 0.1367797554, -0.4602191448, -0.2075063884, -0.7063622475, 0.2051166296, 0.9087776542, 0.5298579335, 0.2418372333, 0.156519115, -0.4342553616, 0.4014751911, -0.4671579003, 0.275367707, 0.322026372, -0.1772889346, 0.1282876283, 0.7240977883, -0.2112980485, 0.5165775418, 0.1005066782, -0.4442977905, 0.05593336, -0.185156405, -0.2254439443, 0.5805112123, 0.6787328124, 0.7443934083, 0.0757659897, -0.4348083436, 0.1299692243, 0.0940501764, 0.2884830832, -0.3833171129, -0.0483875349, 0.6399900913, -0.4918040633, -0.1630617231, 0.1315564215, -0.4685143828, -0.5085749626, -0.5332064629, 0.4386593699, -0.6365842223, 0.1679598987, 0.1082360819, -0.6511514187, 0.3068058193, 0.4422232509, -0.7054997087, 0.1955739558, 0.7847092748, 0.7981964946, -0.1892575026, -0.4013967216, -0.4723398685, 0.5809637904, -0.5766713023, 1.224247098, -0.4833712578, -0.1925839335, -0.2542566955, -0.6857590079, 0.2077359557, -0.5313392282, 0.4187414646, -0.0786427706, -0.1024580523, -0.0418793932, -1.0216155052, -0.062118791, 0.4223110378, -0.4253810048, 0.9216495156, 0.0854839385, -0.3998755813, 0.6145431399, -0.4076454341, -0.4345324636, 0.1207726672, -0.3425580859, -0.0258509982, 0.3691312373, 0.1511297822, 0.2722479403, -0.4252256751, 0.2108352184, -0.2802665234, -0.5654543042, 0.3926632106, -0.0214799326, 0.3882124424, 0.1976920068, -0.0134285437, -0.2319042236, -0.5068474412, -0.1345611513, 0.1160845682, -0.3503929675, -0.2774112225, 0.4698578417, -0.9443587065, -0.117737934, -0.0678180754, -0.0406440645, 0.3252049685, -0.1484268308, -0.0225757342, 0.6312584281, -0.0357381478, 0.6317548156, -0.4213801026, 0.5151563287, -0.1803376973, 0.350299269, 0.0265937969, -0.6510323286, -0.1365532577, -0.0542880371, -0.1861929148, 0.730784297, -0.6818974614, 0.1492144167, -0.3063803613, -0.8298825026, -0.1524832398, 0.1233229637, -0.1444292068, 0.7727659941, 0.2233396173, 0.1131229773, -0.4224668443, -0.5328940749, -0.6430452466, -0.4027513862, 0.1212596372, 0.3395476341, 0.2012170404, 0.2108738422, 0.7471575737, -0.6948440671, -0.2398722321, -0.5822315812, 0.2321383655, 0.413667053, 0.1491590291, 0.7627425194, -0.6055196524, -0.0523890629, -0.2354042083, -1.3587663174, -0.2157474607, -0.1897970289, -0.3088392913, -0.4050227404, 0.4632855654, -0.9847450256, 0.6411671042, 0.4276101589, -0.6386855245, 0.4586877525, -0.2555641234, 0.5765736103, -0.3636058271, -0.3900514245, 0.2552184463, 0.1061877459, -0.891420424, -0.0702777058, -0.5591532588, 0.2963427603, -0.057700336, 0.4293058813, -0.3744261861, -0.2733765244, -0.4825004637, 0.3281013966, 0.1647382975, 0.1431809515, -0.0781668052, 0.4346622527, 0.5132108927, -0.9084025025, 0.8867764473, 0.2074081898, -0.6579977274, 0.6326523423, -0.2423376441, -0.162208885, -0.4521850646, 0.2780196965, -0.7432923317, -0.4000879824, 0.2024409473, -0.5434619188, 0.0071215956, 0.155093357, -0.3712673187, -0.3347324729, -0.3102111816, 0.5333142281, 0.28527987, -0.1858626902, 0.9883477688, 0.7209972143, -0.0948045626, -0.2694704533, -0.6984229088, -0.0443066396, -0.4882880151, -0.6791114807, 0.1379088163, -0.2815059721, -0.8930607438, 0.0232352559, -0.374945581, -0.3560919762, 0.1950992048, 0.1441821456, 0.378341645, -0.1765825003, 0.2713652253, -0.0699178353, 0.0965268463, 0.1915722191, 0.0198966246, 0.1966005713, 0.142553851, -0.1971096545, -0.0822473019, 0.3788662255, 0.2230723798, 0.2084283978, 0.759162128, 0.2164472342, -0.1363110095, -0.1575824022, -0.5271182656, -0.0540539995, -0.3436565399, 0.0549852252, -0.3589029014, -0.8128421903, 0.3693613708, -0.0459655784, 0.1200323477, 0.5145312548, 0.5544993877, -0.4867518544, 1.2931725979, -0.1411884725, 0.1537344158, 0.0079945773, -0.0052958466, 0.3284914196, -0.4942854345, -0.4680869877, -0.2352021933, -0.5527951121, -0.1485363096, -0.4269797206, 0.3850226104, 0.3665961921, -0.2095005065, -0.0843525082, -0.3727734685, 1.0421830416, 0.5627216101, 0.3362233937, 0.3876124322, -0.2435547113, 0.4713356495, 0.1677133441, -0.6868268251, -0.3845529854, 0.8023145199, 0.0953458399, 0.603472352, 0.4883443713, 0.7183855176, 0.3716830611, 0.2262030542, -0.9218361974, 0.4533241093, -0.1065287143, -0.6610079408, -0.3199673891, -0.5280684829, -0.7642223239, 0.0528414883, -0.3294536769, -0.8179671764, 0.0450820029, 0.1662997007, -0.6588110328, 0.2994529307, -0.7728568316, 0.3167420626, -0.4594818056, -0.4650120139, 0.1049578935, -0.2960493267, 0.8602950573, -0.0629429221, 0.6586952209, -0.46189183, -0.082361348, 0.6295082569, -0.3760848939, 0.3296951354, 0.230960235, 0.1124580875, 0.8894894719, 0.4786106348, 0.2644088566, -0.1025850177, -0.1087570935, 0.2201436758, -0.1284946054, -0.4512538314, -0.8028142452, 0.4857160449, -0.5911134481, -1.0526298285, -0.4643854797, -0.6476562619, -0.4817470312, -0.3218574524, 0.2375781983, 0.2012421191, -0.0323881246, 0.1163143516, 0.4067520201, 0.1326599419, 0.2268266827, 0.1449914128, -0.031538859, -0.0394962057, 0.6462812424, 0.1822315454, -0.1059453264, 0.2301349789, 0.4349573553, -0.1141390502, -0.7359109521, -0.0218211878, 0.1047806814, -0.977537632, -0.350938499, -0.1433414072, -0.0946956873, -0.3186952174, -0.1446928382, -0.0734355375, -0.281670481, -0.1071209833, -0.7584024072, 0.2202635407, 0.9187356234, -0.3675195873, 0.0794338435, -1.1679799557, 0.3863435686, 0.2303030938, 0.2196225226, -0.0492343269, -0.419842571, -0.1539680958, -0.2148897648, -0.1346085966, -1.0126017332, 0.272616148, -0.1936710626, 0.9806478024, 0.5098047853, -0.2602404356, 0.7499080896, -0.3964610696, 0.9735456705, 0.2627791166, -0.6932266355, 0.5794348717, -0.4446594417, 0.3582179844, 0.3842913806, 0.3479736745, 0.0634590015, -0.4678261578, -0.6565752029, -0.5896279216, 0.8204051852, 0.2970984876, -0.0611078702, -0.2773911357, 0.4214243591, 0.2012426555, 0.0955763012, -0.2919980884, -0.2822984159, -0.0431496203, -0.1908028126, -0.0755778924, -0.3511953056, -0.1548789442, -0.3414001465, 0.5846657157, 0.246963039, 0.008894098, 0.1681188047, 0.0303210691, -0.0805419832, -0.2170666158, 0.6460072994, 0.9637287259, -0.0546781346, 0.2586212158, 0.2323592752, -0.1414603591, 0.1968282908, -0.1647476703, 0.0873916969, -0.1254585087, 0.8434464335, 0.714989841, 0.1115261391, -0.8688194752, 0.3944959044, -0.0506327972, -0.6671819687, 0.1023987681, 0.3462076783, 0.1472279727, 0.6436581612, 0.4853958488, 0.1879575849, 0.2080823034, -1.0486074686, 0.0607251599, 0.0893509686, -0.1329826713, -0.0437676311, 0.7290174961, -0.063136369, -0.0333371125, 0.4594874084, -0.0078906994, -0.5259487033, 0.6704174876, 0.159705326, 0.2682309747, -0.3535736799, 0.2989628911, 0.3890148401, 0.1791257262, -0.3849516809, 0.0462306775, 0.0530898124, -0.8610234261, -0.5913259387, -0.3506058156, -0.3414528668, -0.1320089251, -0.107204102, -0.1268673092, -0.1840315014, -0.1601802558, 0.0262937862, -0.4688608348, -0.4443057179, 0.3006801605, 0.3326002955, 0.6430568099, -0.6967189908, 0.0189303271, 0.4234652221, -0.6335754395, -0.9537166357, -0.317216903, 0.255567193, -0.8606977463, 0.9474055171, -0.2229602039, -0.0118500879, -0.1713264734, -0.8436533809, -0.5726832151, 1.2055448294, 0.3756561279, -0.2662177682, -0.0532668866, 0.0626604035, 0.4640331566, -0.4100067914, 0.2589934766, 0.9421713948, 0.4224713743, 0.7334306836, -0.4584775269, -0.2298217565, 0.0529403947, -0.7210723758, 0.1453434378, -0.7383505106, 0.7453967333, -0.4300612211, -0.0427387543, -0.2315115333, 0.6264652014, 0.5496495962, 0.6892833114, 0.2021968067, 0.542992413, 1.0824644566, -0.2257179767, 1.2751209736, -0.0537472032, 0.0433333963, 1.0461058617, -0.4938562512, 0.3240897655, 0.2958979309, -0.2005753964, 0.1918662637, 0.3927993476, -0.1380335093, 0.2144883722, 0.1421443075, -0.2899677753, -0.6080933213, -0.0532940254, 0.0792677552, 0.9823891521, 0.2905092537, -0.3692375422, -0.2865480483, -0.3932488859, 0.1336601228, 0.1667659581, -0.6491186619, 0.9014539719, 0.0805805251, -0.8960137963, -0.3449639678, -0.3831332326, -0.1355485618, -0.3434532583, -0.2280986309, -0.5029127598, 0.0775635391, -0.2606706917, -0.9797605872, 0.3406323493, 0.2992869616, -0.0593612604, -0.0843511224, 0.8458158374, -0.1892290264, -0.4962350428, 0.0418336764, 0.8979811668, 0.4247342944, -0.195703581, -0.5333920717, 0.1941448897, -0.0845310315, -0.2436106354, 0.3088980019, 0.8794965148, 0.1046216562, 0.6903922558, 0.5508497953, 0.3561032116, 0.1609644294, 0.0753937587, 0.5027871132, -0.6515464187, -0.2960665822, -1.3195883036, 0.2926755548, -0.4627160132, -0.0727121904, 0.799660027, 0.9263920188, 0.2592462003, 0.0552541725, 0.9444881082, 0.2476196885, 0.4299298525, -0.6670041084, 0.3134716749, -0.3366916478, 0.4000841081, 0.1302711368, -0.8824239969, -0.4279027283, 0.433188349, -0.3385416567, -0.1375352889, 0.6086889505, 0.0214768406, 0.1774792224, 0.2440720499, 0.2849976122, 0.280960381, 0.327360332, 0.5519496202, 1.0405781269, -0.1567653567, 0.8781856298, 0.0753689706, -0.4162523448, -0.1162238568, -0.7076446414, -0.9346808791, -0.169620946, -0.3729069829, -0.3191213906, -0.0031806275, 0.6172702909, 0.1412092, -0.4324261546, -0.2223912328, 0.0654816628, 0.3392075002, -0.2655758262, -0.2831032276, 0.2615310848, -0.3174972832, -0.5106076598, 0.4535139501, 0.615392983, -0.0303035323, 0.3091757298, -0.1283811778, -0.2285294086, 0.4555679858, 0.8066711426, 0.1113755405, -0.4779478908, -0.3124438822, -0.0608026087, 0.0153766647, 0.2083000392, 0.8540700078, -0.6837893724, 0.4464741945, 0.6359857321, 0.3614477217, 0.3420378566, 0.5563456416, 0.6417132616, -0.3128109276, -0.2303023487, 0.1393422335, 0.3908965588, 0.0162733663, -0.2413849533, 0.8445048928, 0.4732968807, -0.4846028686, -0.4937554002, -0.1078512743, -0.8250579834, -0.6279781461, 1.1562958956, 0.147433266, -0.3188985884, -0.1330655962, -0.2090326846, 0.1417363137, -0.3101283312, 0.9064987898, 1.1820331812, -0.9035317898, -0.1530984789, -0.5828511119, 0.5730392337, -0.4529257119, -0.8625728488, -0.1728971899, 0.6567550302, -0.251016289, 0.1445298791, 0.8042311668, 0.3018503785, 0.2186556756, 0.4623007178, -0.6027870178, -0.1879765838, -0.1399308294, 0.4998658597, 0.4767075181, -0.2699492872, 0.1788537502 ]
http://arxiv.org/abs/2406.12074v1
http://arxiv.org/pdf/2406.12074v1
COMMUNITY-CROSS-INSTRUCT: Unsupervised Instruction Generation for Aligning Large Language Models to Online Communities
2024-06-17T20:20:47
2024-06-17T20:20:47
Zihao He, Rebecca Dorn, Siyi Guo, Minh Duc Chu, Kristina Lerman
cs.CL
cs.CL
Social scientists use surveys to probe the opinions and beliefs of populations, but these methods are slow, costly, and prone to biases. Recent advances in large language models (LLMs) enable creating computational representations or "digital twins" of populations that generate human-like responses mimicking the population's language, styles, and attitudes. We introduce Community-Cross-Instruct, an unsupervised framework for aligning LLMs to online communities to elicit their beliefs. Given a corpus of a community's online discussions, Community-Cross-Instruct automatically generates instruction-output pairs by an advanced LLM to (1) finetune an foundational LLM to faithfully represent that community, and (2) evaluate the alignment of the finetuned model to the community. We demonstrate the method's utility in accurately representing political and fitness communities on Reddit. Unlike prior methods requiring human-authored instructions, Community-Cross-Instruct generates instructions in a fully unsupervised manner, enhancing scalability and generalization across domains. This work enables cost-effective and automated surveying of diverse online communities.
[ -0.4876997471, -0.5639490485, 0.5875973701, -0.1007754058, -0.1313222498, 0.5974447727, -0.5340625048, -0.1948463321, 0.6203243732, 0.4480758309, -0.5042006373, -0.5802484155, -0.5834769607, -0.3133607805, -0.4649567008, 0.8742007017, 0.1749842912, 0.3065263331, -0.6172260642, -0.0263979249, -0.0140142925, -0.5095775127, -0.2675594687, -0.3951427341, 0.2920876443, 0.6557261944, 0.5719100237, 0.3850380778, 0.102671802, 0.2584042847, 0.2198170125, 0.2906691134, -0.7010665536, -0.1282068342, -0.3241989911, -0.390635401, -0.0732150376, 0.1120263934, 0.5120443702, 1.0673478842, -0.1320535392, 0.4611816704, 0.3584113419, 0.6493376493, -0.755356729, -0.0777438283, -0.5757383704, -0.3162035942, -0.0127155231, -0.187982589, -0.3613101244, -0.789090693, 0.0609838292, -0.3583734035, 0.4752596915, -0.1323529482, 0.2484468669, 0.0073946915, -0.5187059641, -0.3533303738, -0.7471223474, 0.8895540237, -0.4000013471, 0.4641980827, 0.2678710818, 0.2922669947, -0.2231153101, -0.4376397431, -0.5068858266, 0.2716684341, 0.0321487375, 0.1140721068, -0.0882901326, -0.1173962876, -0.1157822609, 0.1766862422, -0.3824656606, 0.2399649471, -0.3709935844, 0.0885626525, 0.7348954678, 0.172963798, 0.1646468788, -0.0482521057, -0.1347396672, -0.1159201562, -0.8857021928, -0.1515545249, 0.4993388355, 0.304422766, -0.0712478906, 0.6321558356, -0.0760511309, 0.4204508364, 0.6877980232, 0.1363773197, 0.1642313004, -0.2887224257, 0.005720546, 0.1244421527, 0.666495502, 0.6267408133, 0.2914296091, -0.0667012706, 0.0144929197, 0.2806248069, 0.1228021085, -0.5912789106, -0.2336942255, 0.1270975769, -0.5245326757, -0.3503164053, 0.3507124782, -1.1107976437, -0.5466712117, -0.3715092242, 0.1740379333, 0.1876027435, -0.3735013604, 0.1251283139, 0.0302839354, -0.0149929998, 0.4157354534, -0.9638849497, 0.3993466794, 0.7661083937, 0.5822347999, -0.2315217108, -0.1562740505, -0.4180701971, 0.3358911276, -0.1221540123, 0.7883996367, -0.9292305708, -0.3666423857, 0.323004812, -0.0066652652, 0.1590615809, -0.406973511, -0.3793598115, -0.4834246635, 0.4621383548, -0.2698738277, -0.7596846223, 0.1721007824, 0.2957403958, -0.5328869224, 1.0240119696, 0.1077447608, -0.6311530471, 0.154687807, -0.6689682603, -0.2702047825, -0.1331636608, -0.2511785924, -0.2183277309, 0.0612417646, 0.4204437733, 0.4217579067, -0.2795904875, 0.0513618477, -0.4695979655, -0.1402507275, 0.3999257982, -0.2135670334, 0.889233768, -0.0533053316, -0.5695520043, 0.121839419, -0.3293708265, -0.0485309064, 0.0174770933, -0.2855735421, -0.5393836498, 0.3395811915, -0.1315615028, -0.1821492016, 0.2902347445, -0.753769815, 0.3293145895, -0.4077537954, 0.5296254158, 0.7571493387, 0.0603957027, 0.6606032848, -0.2517744899, 0.4945895374, -0.3498878777, 0.3634724617, 0.2513988316, -0.5229887366, -0.7177478075, 0.0736759827, 0.2220777571, 0.2799182236, -0.6218832731, 0.3882735372, -0.2619963884, -0.5939657092, -0.5710505247, 0.2120198905, 0.284761548, 0.061068546, 0.4157588482, -0.1562316865, -0.4737192094, -0.5399977565, -0.159855336, -0.0716106668, -0.1536476314, -0.0247950684, 0.3641242683, -0.4606663287, 0.7533297539, -0.6163759232, 0.1380578727, -0.2591203153, 0.3933825791, -0.3074558377, 0.2070350647, 0.380330503, -0.4604402483, -0.6889625192, 0.0118467882, -0.2838730216, -0.2466359884, 0.0553294308, -0.2646511197, -0.0114156073, 0.3895367384, -0.2071782947, 0.3329290748, 0.7594445348, -0.0080660973, 0.110256061, -0.0643314719, 0.4418032169, -1.3037068844, -0.3133658469, 0.0843077898, -0.293725878, -0.3525874019, 0.1897813827, -0.2046757042, 0.048558794, -0.2464933544, 0.305280745, -0.6846727729, -0.1377134472, -0.3667960465, 0.2942591608, -0.1450568438, 0.2458717823, 0.1032535955, 0.4493237138, 0.2186663598, -0.3596539795, 0.4017542601, 0.2395463139, -0.3606387079, 0.4903818071, -0.3097067475, 0.5135800838, -0.2288690954, 0.4011606574, -0.8485566974, -0.417529285, 0.1347988397, -0.4505551755, -0.0647687986, -0.2654147446, -0.4274127483, -0.2844988108, -0.3951955438, 0.5395305753, 0.5588034987, -0.8585076928, 0.5375068188, 0.7879296541, 0.0677381679, -0.2616446614, -0.6468121409, -0.1813715547, -0.0911804214, -0.3191590011, 0.0223283842, -0.108808659, -0.4866419137, 0.1173288673, 0.2821196318, -0.2338261157, -0.2367877215, 0.2472274601, 0.1782159209, -0.0796681494, 0.1750941575, 0.3092914522, 0.1205067337, 0.1771289855, -0.4502060115, 0.7017282844, 0.0446308926, -0.9080670476, -0.1979321688, 0.8319044113, 0.4514994919, -0.3087669909, 0.5203040242, 0.1272516996, -0.4514503777, -0.4448913634, -0.6206877828, -0.3749096096, -0.4958788157, 0.2114972621, 0.5213273168, -1.1642580032, 0.1557617038, -0.3084453344, 0.3000603914, 0.249712944, 0.7169114351, -0.3729285598, 0.9463911653, 0.4756358564, 0.038696073, 0.363535732, 0.0188989304, 0.0471487902, -0.3286834955, -0.3017193973, -0.5348536968, -0.5588424802, -0.3777307868, -0.8497784734, 0.3716888428, -0.2078357786, -0.3690233529, 0.2099322677, -0.7554239035, 0.7450927496, 0.4934300482, 0.2985499799, 0.1505197883, 0.2918751538, 0.2161826938, -0.2017870098, -0.6729965806, -0.4667349458, 1.353120923, -0.0256147813, 0.8997253776, 0.2223688215, 0.992656827, 0.4970580339, 0.6973546743, -0.6019931436, 0.3227667511, -0.3324057162, -0.5136907697, -0.1273207664, -0.344907701, -0.9910414219, -0.1261744052, -0.5608654618, -0.4384199679, 0.2634974718, 0.424554348, -0.4118188024, 0.5859917402, -0.4795084, 0.6201112866, -0.4791605175, -0.1074081585, -0.6974676847, -0.4210346639, 0.2466122508, -0.2094997019, 0.3287390769, 0.2494468838, 0.099445872, 0.5209433436, -0.3349024355, 1.3697488308, -0.1178841963, 0.0818691328, 0.4264308512, -0.0283901095, 0.2974368334, -0.176219821, 0.0627132133, -0.0415925868, 0.0003855836, -0.3023381829, -0.6545177102, 0.841011107, -0.9607458711, -0.5728729963, 0.0268885735, -0.2626383603, -0.2247155309, -0.1011091918, 0.0791959688, 0.3487872481, -0.4585469663, 0.2091193348, 0.9712538123, -0.2466795743, -0.0348633789, 0.2831225693, -0.3545484841, -0.5576292872, 0.828613162, -0.0300514419, 0.710785985, 0.5177829862, 0.3395016789, -0.295265615, -0.1275102645, -0.2765847743, 0.1296071112, -0.8178316951, -0.2062256485, -0.3831501007, -0.0009671567, -0.4469488263, -0.4709886014, -0.4642260373, -0.3732458353, -0.2149743587, -0.0352014974, 0.2909758687, 1.317656517, -0.232905969, 0.4122471213, -0.8086360097, 0.1003337204, 0.619304657, 0.1158712208, 0.089017801, -0.2034931481, -0.230806157, 0.5379107594, -0.1086074635, -1.1524968147, -0.0341545716, 0.0905081853, 0.5850652456, 0.4579301476, 0.3422120214, 0.6985449791, -0.3139185011, 0.5415588617, 0.4114474356, -0.900676012, 0.5386936665, -0.0794477165, 0.0818701163, 0.7141331434, 0.6149126887, -0.6689140797, -0.5326357484, -0.4305194914, -0.5484861732, 0.2703139484, -0.1925104111, 0.3293207586, -0.2585260272, 0.2535605431, 0.2981482148, 0.0909600481, -0.524911046, -0.0825651139, -0.5004652143, -0.325391829, 0.2261481732, -0.0989153311, -0.4262214899, -0.4042883515, 0.4372933805, -0.2976384163, 0.2481479347, -0.0946274847, -0.0126705244, -0.5104623437, 0.1202212796, 0.3530406356, 0.6189353466, 0.2055076808, 0.2604958713, 0.1136411875, -0.1121753454, 0.0366416648, -0.2809396088, -0.2338117659, -0.0937717482, 0.4203191996, 0.35155195, 0.3673234582, -0.3788458705, 0.7915081382, -0.0076016109, -0.2139533609, -0.2932761014, -0.0013728796, 0.5248854756, 0.2876093984, 0.1465385854, -0.0946571976, -0.3003417552, -0.6733856797, 0.0687424093, 0.6417108774, -0.2724687457, -0.3265131712, 0.6663931012, 0.5972577929, -0.3345379829, 0.5875669122, -0.1182443351, -0.6311067343, 0.4742940366, 0.2351543158, 0.8783910275, -0.1983697861, 0.3302620947, 0.5254506469, 0.3292506933, -0.1445496827, 0.1573519558, 0.0073497654, -0.7464900613, -0.4625893831, -0.5299122334, -0.5787741542, -0.0879155621, -0.7420643568, 0.0745019764, -0.6858343482, -0.0072859875, -0.0075859567, -0.1736761779, -0.4979918897, -0.0197040495, 0.2024387866, 0.6564728618, -1.1826162338, 0.7433673739, 0.747379601, -0.1709210724, -0.7569620013, 0.4000952542, 0.2956397533, -0.7620417476, 0.3753086925, -0.0251591466, -0.4003930688, -0.1064860001, -1.0789198875, -0.5724708438, 0.860969007, 0.424433291, -0.6870152354, 0.1630678177, 0.5464199781, 0.5394251347, -0.6990192533, 0.0339071266, -0.0073323483, 0.429063797, -0.0924304649, -0.6991578341, -0.044415582, 0.0376771688, -0.3821900785, 0.2646415532, -0.6551450491, 0.5378869772, -0.1621211171, -0.2988811135, -0.1510823518, 0.7760297656, 0.0381854475, 0.0966887623, 0.7396513224, 0.2696190774, 0.7767675519, 0.1455052048, 0.6365393996, -0.4044796824, 0.4046652913, 1.0417313576, -0.2183274329, 0.9188834429, 0.4256972969, -0.2119189948, 0.708760798, 0.6563639045, 0.0292530768, 0.2975252569, 0.1295126677, -0.407179594, -0.6862089634, -0.0084973723, -0.3038368523, 0.3762596548, 0.3384766579, -0.304726243, -0.2984015048, -0.245788902, -0.2217931449, 0.7007640004, -0.3870212436, 0.6523115039, -0.0797563344, -0.7540771365, 0.2580091357, -0.1650180072, 0.6942160726, -0.4645914435, -0.2798719704, -0.2257031351, 0.1861691028, -0.3837741613, -1.0049524307, 0.3502192795, 0.1329497397, -0.1991824806, -0.3877120614, 0.4799303114, -0.7941424251, -0.6618474126, 0.4424093068, 0.4563571215, 0.2283469737, 0.1906090975, -0.5140716434, -0.0763143525, 0.2343575805, 0.1050425619, 0.4294576049, 0.2710136175, -0.3174687326, 0.3597933054, 0.6525651813, -0.0666867122, 0.1467475593, 0.2800316215, 1.0324146748, -0.2224746346, -0.1358753294, -0.6226418614, 0.2671527863, -0.2185411304, -0.1417545974, 0.6420001984, 0.6414185762, 1.1813769341, 0.078156732, 1.0177115202, -0.0698317289, 0.5832204819, -0.2398030013, 0.8038977981, -0.5934459567, 0.0663774088, -0.0565039217, -0.9587165713, -0.1309996545, 0.3227728605, -0.2448845357, -0.161876902, 0.4575242698, 0.9846788049, -0.3756088018, 0.0267454125, -0.1052215844, -0.1174182519, 0.0442949347, 0.5140247941, 0.875615418, 0.2378222346, 0.5607914925, -0.283110261, -0.4384566247, 0.1393745542, -0.7211978436, -1.2353999615, -0.3463355303, -0.4777580202, -0.4284836054, 0.0348501876, 1.4064526558, 0.482770741, -0.8863476515, -0.496486932, 0.1892892569, -0.0891084149, -0.0842360407, -0.1674895883, 0.2505823374, 0.1637491733, -0.8962913752, 0.3275763094, 0.1008375511, -0.2079187483, -0.8629515767, -0.2957049906, -0.3847048283, 0.0924761966, 0.3633060157, 0.3856911361, -0.696475327, -0.4578492641, 0.0349777155, -0.2385379225, 0.0028637981, 0.9021878242, -0.4008695185, 0.4728290737, 0.5033308864, 0.9360868931, 0.4226641357, 0.1610312313, 0.5672104955, -0.659263432, -0.3005996644, 0.0891648382, 0.0966744348, 0.5098303556, -0.3462664485, 0.2163393795, 0.3688635826, -0.5418489575, -0.3578426242, 0.3488619924, -0.7089529037, -0.4019416273, 1.1427441835, 0.0845187008, -0.200608328, -0.1737337559, -0.0165500958, 0.3298707604, -0.3141020536, 1.048355937, 0.385027051, -0.0509213582, -0.1630408615, -0.2209260762, 0.0674245805, 0.2783225179, -0.9260078073, 0.2363547534, 0.5607813597, 0.3504033685, 0.067536965, 0.4518131018, 0.2085529417, 0.243928805, -0.1708540916, 0.2902805209, 0.1193524823, 0.046587117, 0.0493647419, 0.1670300364, -0.1809909642, -0.0283297151 ]
http://arxiv.org/abs/2406.12069v1
http://arxiv.org/pdf/2406.12069v1
Satyrn: A Platform for Analytics Augmented Generation
2024-06-17T20:14:16
2024-06-17T20:14:16
Marko Sterbentz, Cameron Barrie, Shubham Shahi, Abhratanu Dutta, Donna Hooshmand, Harper Pack, Kristian J. Hammond
cs.CL
cs.CL
Large language models (LLMs) are capable of producing documents, and retrieval augmented generation (RAG) has shown itself to be a powerful method for improving accuracy without sacrificing fluency. However, not all information can be retrieved from text. We propose an approach that uses the analysis of structured data to generate fact sets that are used to guide generation in much the same way that retrieved documents are used in RAG. This analytics augmented generation (AAG) approach supports the ability to utilize standard analytic techniques to generate facts that are then converted to text and passed to an LLM. We present a neurosymbolic platform, Satyrn that leverages AAG to produce accurate, fluent, and coherent reports grounded in large scale databases. In our experiments, we find that Satyrn generates reports in which over 86% accurate claims while maintaining high levels of fluency and coherence, even when using smaller language models such as Mistral-7B, as compared to GPT-4 Code Interpreter in which just 57% of claims are accurate.
[ -0.0947126821, -0.8625720143, 0.5703908801, 0.21302028, -0.1060542911, 0.2698630989, -0.5145446062, -0.3559931219, 0.8047480583, 0.6743362546, -0.3897040486, -0.5988800526, -0.4323556423, 0.0507945828, -0.442935288, 1.2795990705, 0.1845998913, 0.0892187357, -0.3127659261, -0.0052111326, -0.2996080816, -0.6478072405, -0.5586326122, -0.4571875334, 0.4742560089, 0.4029792845, 0.7958446145, 0.6773508191, 0.5377321243, 0.2966897488, 0.2040346265, 0.4959901571, -0.4002148509, 0.5938144922, -0.1078532264, -0.4136837721, -0.8406550288, -0.0694500282, 0.5040533543, 0.6421352625, -0.466201365, 0.3126806915, -0.0309770145, 0.5090639591, -0.4594580829, 0.304595679, -0.5404492021, -0.2894099653, -0.2537648976, -0.3005323112, -0.4087613821, -0.4912659526, -0.1190542802, -0.8335772753, 0.4619035721, -0.0382775851, 0.783056438, 0.3434624374, -0.4184818268, -0.6572331786, -0.5693378448, 0.5736803412, -0.8023729324, 0.2150874138, 0.4255955219, 0.1701751202, -0.546726346, -0.95725739, -0.5890765786, -0.5014042258, -0.1037150249, 0.2294210047, 0.1661529839, 0.0056367363, 0.2757926881, 0.1833779365, -0.5536830425, -0.1306708306, -0.1420393884, 0.0418524295, 1.0095168352, 0.2914119363, 0.2340678722, -0.6490504146, -0.1119946018, -0.0869226009, -0.5987012982, -0.5724775195, 0.213882342, 0.5143743753, 0.0895617306, 0.8167254925, -0.1364413053, 0.6536030769, 0.3339549601, -0.3372797668, 0.2246166617, -0.1526848674, -0.0682124272, 0.4997921288, 0.6444097161, 0.1857611388, -0.0559315085, -0.2541999519, -0.2255301774, 0.2652507424, 0.4739887416, -0.8111667633, -0.5998176932, 0.2302290499, -0.2368628681, -0.3078780174, -0.1742576063, -0.8011633158, -0.8954014182, -0.5943326354, 0.3598924577, -0.5306168199, -0.3817135692, -0.0774409249, -0.0096554803, 0.0310901869, 0.3139232397, -0.7373326421, 0.4466174543, 0.6828719974, 0.8103222251, -0.4634697139, 0.0491168238, -0.6618177891, 0.2991167605, -0.4840529859, 0.9289311767, -0.3264121413, -0.0130512873, -0.1749224961, -0.4647667706, -0.184208408, -0.4098292887, 0.3727062047, -0.5407302976, 0.1029103398, 0.0619097389, -0.6074671745, -0.098244898, 0.4864754677, -0.6888733506, 1.1953897476, -0.0464112274, -0.69967556, 0.6174456477, -0.641048491, -0.5239366889, 0.4854056835, -0.518429935, -0.2002022713, 0.3206073344, 0.2883470058, 0.4454822242, -0.3929412365, 0.667758286, 0.0486032329, -0.0899109766, 0.3842855096, -0.2736332119, 0.4931025505, 0.2134293914, -0.4450057745, -0.0468271896, -1.1927820444, 0.2174046338, -0.0302582793, -0.6571537256, -0.2570947111, 0.1278364807, 0.0941274539, -0.0998242944, 0.3755010664, -0.6739130616, 0.0084225778, -0.5733262897, -0.0469674841, 0.4722337723, 0.025675863, 0.1982614696, -0.0721916482, 0.6802197695, -0.265437752, -0.476171881, -0.1258214712, -0.0737508759, -0.782757163, -0.462521255, 0.5867397189, 0.4602796137, -0.954788208, 0.3690001667, -0.6317287087, -0.2733996511, -0.2332510203, 0.0061309654, 0.1236084402, 0.5042960048, 0.0615448207, 0.0842794627, -0.6986173391, -0.7484692931, -0.5298396349, -0.0868308619, 0.0137811275, 0.3432289064, 0.3329052329, 0.0197702106, 0.751234293, -0.5026350021, -0.0537281558, -0.4137868583, 0.2295051813, 0.5579364896, 0.4366827905, 0.318998158, -0.7704169154, -0.553199172, 0.3424215317, -0.946901679, -0.0872925222, -0.2481029034, 0.1277987659, 0.382910192, 0.2956577539, -0.811557591, 0.5584256053, 0.4505904913, -0.3721528649, 0.3904268444, -0.2439763397, 0.2118167579, -1.4021323919, 0.2093595415, -0.0317094848, -0.4954586923, -0.5559145212, 0.0287413895, -0.2237954289, -0.4029114842, 0.2134679705, 0.3295592666, -0.4352760613, -0.0108002443, -0.5364363194, 0.2897015512, -0.0475851707, 0.1621027589, -0.1085871235, 0.8963909149, 0.4126128554, -0.439786613, 0.5841892362, 0.4753736556, -0.3268166184, 0.6295897365, -0.535800159, 0.0806479752, -0.1668103933, 0.1216199845, -0.8527372479, -0.8914799094, 0.0175023768, -0.7780631185, 0.4632828236, -0.0703561231, -0.7035554647, -0.0505064242, 0.0780194327, -0.1017591283, 0.3656470776, -0.8193287849, 1.2070635557, 0.4897656143, -0.4367108345, -0.426802516, -0.7108432651, 0.5399303436, -0.2242053598, -0.9183207154, 0.0833278447, 0.3222019076, -0.2786712348, -0.0894677192, -0.3773708642, 0.0481253713, -0.1757178009, 0.3503023982, 0.3110987544, -0.3444056511, 0.231298402, -0.043823991, -0.1090207845, 0.1821811497, -0.298171252, 0.493285805, 0.0473388471, 0.0779927447, -0.0969433561, 0.2847551107, 0.355806917, -0.1478342265, 0.8689443469, 0.2038808763, -0.341316402, -0.6468092203, -0.5623114705, -0.122392647, -0.5082248449, 0.1594145298, -0.3381937146, -0.6125087738, 0.4494804442, -0.331422478, 0.0468775071, 0.4375456274, 0.5060734749, -0.1248288602, 1.3295731544, 0.6189625859, 0.5597776175, 0.2684657872, -0.2474336326, 0.4011215568, -0.4652549922, -0.3763206899, -0.4571754336, -0.1716145873, -0.5211976767, -0.1329989582, 0.6793296337, 0.012956256, -0.0784490481, 0.2455978394, -0.3974916041, 0.5569109321, 0.3548136353, 0.1953069568, 0.266830951, 0.4466401637, 0.0457020737, -0.0762244388, -0.962818563, -0.5330960155, 1.3020778894, -0.0784525126, 0.9419214725, -0.0011383106, 0.8024030328, 0.5457360148, 0.5482862592, -0.7538915277, 0.6149362326, -0.2421361655, -0.821346581, 0.0907339677, -0.7223531008, -0.8104972243, 0.2333824337, -0.4980388284, -0.6622704268, 0.2466628551, 0.2413797975, -0.3030325472, -0.0625284538, -0.6514366865, 0.4847681522, -0.312256068, -0.4757063985, -0.3185364902, -0.3888896406, 0.357139498, -0.0912449285, -0.1691832542, 0.1159812436, 0.0864024833, 0.8495227695, -0.5005736947, 0.703766942, -0.1320624501, 0.1217687801, 0.412989974, 0.2966415584, 0.5777081847, 0.1268986166, -0.3226298988, -0.1467368305, -0.0524060242, -0.3236134052, -0.6509789824, 1.0020908117, -0.5643677711, -0.4675471783, -0.799158752, -0.989248693, -0.3069250882, 0.2987320721, 0.0567934886, 0.6621863246, -0.1331651807, 0.4069477916, 0.6554346681, -0.0139750261, 0.1400680095, 0.3886993825, -0.2782481909, -0.918633163, 1.0336354971, 0.2759466767, -0.1133246198, -0.2602756917, 0.0233958121, -0.3209463656, -0.6178714633, -0.4958830774, 0.4009579122, -0.6891084313, -0.5516527295, -0.5804536939, -0.1025093496, -0.4215688109, -0.0568215139, -0.2674606144, -0.7747409344, 0.0040118545, -0.2631989419, 0.6056873202, 0.8580430746, -0.1488099992, 0.7695242763, -0.4999649227, 0.5195881128, -0.2106537372, 0.3359470665, -0.2996012866, -0.1734000742, -0.4918536842, 0.1718195826, -0.196881175, -0.7962738872, 0.5643466711, 0.2181372941, 0.4007664919, -0.0478693321, -0.109122701, 0.6455860138, -0.1996433735, 0.8215472102, 0.3076657057, -0.8128127456, 0.4758603275, -0.60563761, -0.0581681021, 0.6135650277, 0.2058997452, -0.1666368991, -0.1686028987, -0.830324173, -0.8528410196, 0.8685962558, 0.2628673315, -0.0547741093, -0.1607579589, 0.6762006283, 0.0350991637, 0.4220022261, -0.4905304313, 0.045537807, -0.2127688974, -0.5555553436, -0.1090256348, 0.1151232496, -0.3905478418, -0.0430390947, 0.73907727, -0.3890617192, -0.1883601248, 0.2889886498, -0.135626018, -0.0077798748, -0.0644201636, 0.0511688739, 1.0265761614, -0.0352940187, 0.2065605819, -0.0053429236, -0.7683211565, -0.1014525965, 0.3460172415, -0.3741018176, 0.0963673815, 0.2265228629, 0.6662894487, -0.3135490716, -0.7301787734, 0.3059467077, 0.1884900928, -0.2282115966, -0.4391560256, 0.2355773151, 0.0451010726, 0.2558220029, 0.3845852613, -0.0086439569, 0.058372695, -0.3867736459, 0.3449294567, 0.2479274571, 0.0039351205, -0.134913072, 0.6273326278, 0.0894483328, -0.1975695193, 0.6685817838, 0.068312712, -0.3102898896, 0.6341004372, 0.8656159043, 0.8542829752, -0.0609347187, 0.4940727949, 0.3743827343, 0.1281169653, -0.0950502008, 0.5780165195, 0.0118620908, -0.4764221609, -0.8250619769, -0.8546735048, -0.1050540805, 0.0688586906, -0.6011016369, 0.0225740504, -0.738634944, -0.4502372146, 0.2608353198, 0.1456892937, -0.311203748, 0.38929528, 0.0362146012, 0.7263728976, -0.6269481778, 0.4595602155, 0.7812038064, -0.4625808895, -0.9345439076, -0.0592770129, -0.1684212238, -0.509596169, 0.6769337654, -0.0852140412, -0.231531918, -0.0092053972, -0.9934644699, -0.8997217417, 1.0299725533, 0.5135803819, -0.1628682166, 0.1443380266, 0.2546795011, 0.8187867403, -0.6752972603, -0.1546816826, 0.7056379914, 0.5136467218, 0.205077827, -0.5627233982, 0.0382893607, -0.2682896554, -0.1126078069, 0.5272194743, -0.3797038198, 0.6214603186, 0.0232638549, -0.3558630049, 0.1068056226, 0.7050486803, 0.4429813027, 0.5343308449, 0.185960874, 0.6519608498, 0.8569946885, 0.0217532422, 1.1551795006, -0.2818121612, 0.0542246625, 1.2986514568, -0.3851859272, 0.726428628, 0.4427314103, 0.2744350135, 0.6341254115, 0.142380774, -0.0256281979, 0.1379113346, 0.1350898296, -0.2826801538, -0.461981833, -0.2119676918, 0.0388276204, 0.4986490309, 0.6804705858, -0.2865963578, -0.3000993431, -0.0166187286, 0.1917500049, 0.4125209451, -0.3452320099, 0.8835527301, -0.010653764, -0.8044742942, 0.700428009, -0.0556793623, 0.1601841152, -0.6271203756, -0.3686575294, -0.2425534129, 0.382606864, -0.5757627487, -0.6148859262, 0.2426637113, 0.3319126666, -0.1169116423, -0.0743563473, 1.0333002806, -0.3995548189, -0.6854341626, -0.1348074377, 0.5084212422, 0.1476876289, 0.1380813718, -0.3993643224, -0.0251798518, -0.1163925305, -0.2808083594, 0.089464128, 0.3250489831, -0.061944019, 0.5927516818, 0.8585214615, 0.3900123239, 0.2616274953, -0.1814709753, 1.0468864441, -0.6090431213, -0.606094718, -0.3998508453, 0.4653787613, -0.4241870046, -0.2624709606, 1.1133421659, 0.813418746, 0.1745764166, 0.1913123429, 0.7666679025, -0.4320480525, 0.6648570299, -0.4762322605, 0.759737432, -0.4328252971, 0.243930459, 0.1101609766, -1.10551548, -0.3802671731, 0.5186623931, -0.3390660286, -0.1181411147, 0.5573506951, 0.872702539, -0.3081305325, 0.2344329357, -0.0532330535, 0.4808299839, 0.2897596061, -0.0273090433, 0.7794194221, -0.4466057122, 0.4681614935, 0.1355912834, -0.3616590202, 0.0254851393, -0.6897589564, -0.9956506491, -0.2331128269, -0.2953067124, -0.9715804458, 0.2671815753, 0.778411448, 0.5897023678, -0.7757487297, -0.3733844459, -0.2681951225, -0.2567747533, 0.1072518826, -0.2515414357, 0.6496686935, -0.4406604469, -0.2973772585, 0.6894472241, 0.1029519886, -0.3850466013, -0.1444628239, -0.0827078819, -0.239411816, 0.3120886087, 0.4522279203, 0.0876845941, -0.2402770966, -0.1230860278, 0.1405696273, -0.0325843953, 0.0538730249, 1.0241508484, -1.0557588339, 0.4068291485, 0.7058214545, 0.8271318078, 0.8884211183, 0.294061929, 0.6989324093, -0.7006812692, -0.0586894713, 0.4849798381, -0.036186561, 0.4803445339, -0.5313290358, 0.5015377998, 0.1024839059, -0.7009431124, -0.9529765844, 0.103862159, -0.9170201421, -0.2215280235, 1.0849577188, 0.0294581763, -0.56445539, 0.0432932042, -0.1617689431, 0.1511882544, -0.3061586022, 0.7910214067, 0.4362186193, -0.4157930613, 0.1155017242, -0.5556457639, 0.505133152, 0.3761290908, -0.8672269583, 0.316622287, 1.0642117262, 0.2881706953, 0.5368120074, 0.2626779974, -0.0995167121, 0.2911296189, 0.3869496286, 0.0801060721, -0.0634042621, -0.6144438982, -0.2600097954, 0.2197632194, -0.2087905705, 0.119624801 ]
http://arxiv.org/abs/2406.12066v2
http://arxiv.org/pdf/2406.12066v2
Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks
2024-06-17T20:09:24
2024-06-19T03:59:41
Jack Gallifant, Shan Chen, Pedro Moreira, Nikolaj Munch, Mingye Gao, Jackson Pond, Leo Anthony Celi, Hugo Aerts, Thomas Hartvigsen, Danielle Bitterman
cs.CL
cs.CL
Medical knowledge is context-dependent and requires consistent reasoning across various natural language expressions of semantically equivalent phrases. This is particularly crucial for drug names, where patients often use brand names like Advil or Tylenol instead of their generic equivalents. To study this, we create a new robustness dataset, RABBITS, to evaluate performance differences on medical benchmarks after swapping brand and generic drug names using physician expert annotations. We assess both open-source and API-based LLMs on MedQA and MedMCQA, revealing a consistent performance drop ranging from 1-10\%. Furthermore, we identify a potential source of this fragility as the contamination of test data in widely used pre-training datasets. All code is accessible at https://github.com/BittermanLab/RABBITS, and a HuggingFace leaderboard is available at https://huggingface.co/spaces/AIM-Harvard/rabbits-leaderboard.
[ 0.1455884278, -0.6559506059, 0.5263931751, -0.1363982409, 0.0183289312, 0.2365332246, -0.2579194307, -0.7983614802, -0.1487935781, 0.4336665273, -0.2991248071, -0.4524292648, -1.031580925, 0.3457994163, -0.2454990149, 1.037592411, -0.2338998616, 0.3238812983, -0.2079607844, -0.8031780124, -0.2631703317, -0.5793445706, -0.3096714616, -0.4602656066, 0.4235610664, -0.1456429064, 0.9678348899, 0.8402741551, 0.9064536095, 0.2983710468, -0.0488840155, 0.0001419072, -0.3182668984, 0.3081024289, -0.3937333524, -0.5905359387, -0.4585340023, -0.0212093089, 0.2362196594, 0.7998416424, -0.1336533129, 0.0109278336, -0.1891098768, 0.4656429291, -0.5755759478, 0.255159229, -0.9104052782, -0.2984369993, -0.3325792849, 0.0931674987, -0.2326256484, -0.3318709731, 0.1775216162, -0.7474518418, 0.0995445102, -0.0064163143, 1.4945092201, 0.5583660603, 0.0455948226, -0.3685444593, -0.2140254378, 0.8005856872, -0.6816728711, 0.3824940622, 0.4972779155, 0.4387280941, -0.4370221794, -0.6595717072, 0.0360169709, -0.2391000539, 0.0502877422, -0.1737305224, -0.1883847564, -0.1213068068, 0.1529842913, 0.2263628095, -0.2699354887, 0.0929767117, -0.3394368589, -0.3485902548, 0.4074987769, 0.1432730108, 0.4105722606, -0.0263001304, -0.5650494099, -0.230698511, -0.7820997834, 0.1362250447, -0.1852303445, 0.6351683736, 0.102506049, 0.4277119637, -0.0172796696, 0.4428783357, -0.0207361393, -0.2213110626, 0.7816432714, -0.1457488537, -0.5240568519, -0.0460537151, 0.8046863675, 0.4926661551, 0.3224544525, -0.3344306648, -0.1232864857, 0.2681237459, 0.2266471386, -0.6521456242, -0.6759884357, 0.4909903407, -0.3615913987, -0.4014885426, -0.4171362221, -0.5253356695, -0.6980258226, -0.0418385826, 0.5185186267, -0.7242549658, -0.1888780892, 0.2400478721, -0.0583994314, -0.0334437899, 0.1348298788, -0.7279322147, 0.4098176062, 0.6977122426, 0.6181994677, -0.341958493, -0.2934397161, -0.45976457, 0.020561995, -0.4563865066, 1.0480852127, -0.5891002417, -0.5433769226, -0.1023066193, 0.1940968484, -0.1891888231, -1.3636553288, 0.5350974202, -0.1247927174, -0.1115327105, -0.5284900069, -0.7546252012, 0.1307581663, 0.1889796555, -0.671872735, 0.7321493626, 0.154534176, -0.8340089321, 0.9306516051, -0.1972876191, -0.3825551867, 0.1070749313, -0.4976810813, -0.5893831253, 0.0383193828, 0.1552564949, 0.1943275183, -0.0428913459, 0.3618236482, -0.646903038, -0.1682462394, 0.6946749091, -0.0017274981, 0.7245541215, 0.1235677302, -0.1167778745, -0.2282287031, -0.8567607999, 0.002634523, 0.1024151444, -0.3950481117, -0.4873025715, 0.0216403324, 0.1430257559, 0.1002988443, -0.1268316209, -0.3625442386, 0.1469967216, -0.3392545581, 0.543592453, 0.7783099413, -0.0807105377, 0.0571902469, -0.6894650459, 0.3901541233, 0.1620333642, 0.2449091524, 0.1890993267, -0.5346667767, -0.3881511092, -0.4954535961, 0.7057712674, 0.6002233624, -0.4840522408, -0.0068693403, -0.3177058995, -0.3402800858, -0.664617002, 0.2951154113, 0.5672784448, 0.6612693667, 0.5788020492, -0.2919716835, -0.2849887908, -1.1491214037, -0.989867568, -0.4406298101, -0.1487438977, 0.3878774941, 0.3941562176, -0.6166111231, 0.6370311379, -0.3123512566, -0.1942092776, -0.0086048357, -0.0239421222, 0.1686503291, 0.3441832364, 0.560104847, -0.3669276237, -0.0617100708, -0.4289451838, -0.5602924824, -0.2740311623, -0.0305146277, -0.348100841, 0.0377956443, 0.4015812874, -0.6814308167, 0.1229538918, 0.5448844433, -0.1373727173, 0.5847508311, 0.0306076296, 0.1065278202, -1.1061555147, 0.0600150339, 0.2594299912, -0.0866884142, -0.5122112036, -0.0421847664, 0.0308584347, 0.2800479233, -0.6242465973, 0.615346849, -0.2182102799, 0.3298822641, 0.2065553367, 0.0621138103, 0.1104770526, -0.1288701743, -0.1547105461, 0.7017531395, 0.698633194, -0.4997502863, 0.0598661117, 0.4812319875, -0.3443317711, 0.6552588344, -0.6421502829, -0.494201839, 0.5329287052, -0.0562975071, -0.5196478367, -0.5273814201, 0.2823337018, -0.4519300461, 0.5913288593, -0.1065318882, -0.6927698255, -0.1478629708, -0.1925255358, 0.3763843477, 0.4961045086, -0.4215016365, 0.0900941789, 0.7090574503, -0.0498355292, -0.4785527289, -1.0568255186, 0.1274427623, -0.3414033651, -0.3417952955, 0.1753365546, -0.1987680048, -0.5355210304, 0.0479143932, -0.2811841369, -0.4065019488, 0.0817590132, 0.3551024795, 0.316801697, -0.0235574953, 0.6600023508, -0.0333633311, -0.1252288222, 0.3433958888, 0.2722290754, -0.1319992542, -0.1347283125, -0.0948285833, -0.1691989601, 0.066846475, 0.7264559269, -0.0278711673, 0.6005300879, 0.127415508, -0.4946746528, -0.3046550453, -0.3781812787, -0.0706158653, -0.4264597297, 0.1834674329, -0.3109209239, -0.4638245702, 0.5558014512, -0.3853421509, -0.1048526019, 0.4333153963, 0.6966918707, -0.0744711235, 0.7014265656, 0.3735500574, 0.1374406964, 0.0171279591, 0.1453659832, 0.0833407268, -0.534058392, -0.2987863123, -0.3651562333, -0.146181494, -0.5169980526, -0.5615855455, -0.0101049654, -0.0979963318, -0.1652955413, 0.3740935028, -0.6200540066, 0.2003779411, 0.2090758085, 0.1620016545, 0.3094508648, -0.0700522885, -0.4005622566, -0.1602316797, -0.3607046008, -0.544255197, 1.3707283735, 0.4107696414, 1.0414180756, -0.1890235543, 0.6642792821, 0.0726646483, 0.4857689142, -0.5110432506, 0.3944576085, -0.3654658496, -0.680473268, 0.2215427458, -0.4753319025, -1.0370312929, -0.0840039402, -0.3712507188, -0.6318862438, 0.147939086, -0.0611833967, -0.4579332471, 0.3160773218, -0.6324941516, 0.7651628852, -0.3987669647, -0.3310824335, 0.3554863632, -0.6580440998, 0.2719711661, -0.4079660177, 0.4686230719, -0.614833951, -0.1726776212, 0.5766205192, -0.78858459, 0.4480597973, 0.2082648426, 0.002213093, -0.1805221885, 0.2048810273, -0.0088797407, 0.1415728033, -0.1618061215, 0.551830411, 0.3797571659, -0.5083816051, -0.1740745753, 0.8725281954, -0.7000880837, -0.2027389854, -0.4867091775, -0.5747165084, -0.6483487487, 0.2095214725, 0.4675255716, 0.3791652918, -0.0090220515, 0.0855729431, 0.778539598, -0.4536701739, -0.1439031512, 0.6546617746, 0.0140681425, -0.465373069, 0.4909413755, 0.2765048742, 0.2900623381, 0.114352949, 0.164910242, -0.3208275735, -0.542324543, -0.3879428208, 0.288638413, -0.643864572, -0.3338935673, -0.5916243196, -0.0691626295, -0.2298587263, -0.20714055, -0.7157444954, -0.1877872646, 0.0470747687, -0.0083990889, 0.5173612833, 0.6791245937, 0.069609493, -0.1831950545, -0.7394179702, 0.2583598495, -0.0029149521, 0.7456037402, -0.7660904527, -0.2345653772, -0.1414306462, -0.0668775737, -0.0085181538, -0.8348133564, 0.1061607078, 0.2677788734, 0.8993787169, 0.2569389045, 0.2234736532, 0.4358621538, -0.4062607586, 0.5908740759, 0.0640483126, -0.6768069267, 0.7051139474, -0.3650854528, 0.3140272498, 1.1133259535, 0.191847235, -0.1145985052, -0.7854141593, -0.4869615138, -0.9791938663, 0.2899700403, 0.3217837811, -0.2923992574, -0.1365009546, 0.3104535043, 0.4285921752, 0.1120456606, -0.4023087323, -0.2921676934, 0.1917589009, -0.3593343794, -0.0396571755, -0.0257501062, -0.5551931858, -0.2023778707, 0.4949798882, 0.1145354286, -0.1197671145, 0.1542078853, -0.1532756537, -0.1457821429, 0.2266186625, 0.2798313498, 0.6802067161, -0.3353659809, -0.0270000026, 0.1110440493, -0.6236801744, 0.0392720476, 0.3536663651, 0.062186107, 0.1721911877, 0.4370393753, 0.2582821846, 0.6303696036, -1.2439755201, 0.380094707, -0.37530303, -0.3303559422, 0.0658985525, -0.0372612812, -0.0856229067, 0.1574288011, 0.0842615217, 0.4164645672, 0.0812361985, -0.4610930979, 0.5459195971, 0.1336972117, -0.3863197863, -0.0843539834, 1.0100471973, 0.0403767116, -0.0481836274, 0.3470206857, 0.1448440403, -0.2143172473, 0.5068906546, 0.0496334918, 0.7594008446, -0.2089026719, 0.0455358215, 0.1513752788, 0.2293256819, -0.0831243917, 0.0593062267, 0.4058127999, -0.3418951929, 0.0181845855, -0.5715884566, -0.5994530916, 0.1655371189, -0.6387643814, 0.362675041, -0.4499702156, -0.7220566273, 0.2001138479, -0.0371239968, -0.6101886034, 0.2529372871, 0.0735286102, 0.8991600275, -0.9623358846, 0.8525950909, 1.1507689953, -0.3881037533, -0.8262059093, -0.039963726, 0.1562452316, -0.7017468214, 0.4816689789, 0.2279568017, 0.1749742478, -0.8621475697, -0.33612293, -0.8596485257, 1.0265880823, 0.3660150766, -0.4521521926, 0.0871217251, 0.1769208014, 0.7501349449, -0.1955918074, 0.0455964319, 0.6446883082, 0.1844103336, 0.0243222695, -1.0494053364, 0.14108935, -0.5596707463, -0.2299355865, 0.0528022349, -0.5480049253, 1.0202896595, -0.2378339022, -0.1849644631, 0.2868669927, -0.1889159828, 0.5735579133, 0.4571782649, 0.2922585905, 0.754907012, 0.8045175076, -0.3600588143, 0.8962085843, -0.5664430261, 0.4823918939, 1.1649872065, -0.3760719895, 1.0342811346, 0.4363263547, -0.4025628269, 0.5672941208, 0.828666091, -0.2997472286, 0.590932548, 0.2444014549, 0.0852113217, -0.3754158914, 0.0890791565, -0.5713993907, 0.3304297924, 0.5563847423, -0.4850181341, -0.3558177948, -0.0120369401, 0.2890301943, 0.0402833745, 0.145475924, 0.5677779913, 0.1360753775, -0.3612443805, 0.9084048271, -0.3994545341, 0.3038968742, -0.566516757, 0.1315557212, -0.2000151426, 0.6818393469, -0.1812523901, -0.6288125515, 0.1433849186, -0.1143034026, -0.0590172336, 0.0937876999, 0.5280098915, -0.3223585486, -0.514746964, 0.6309797168, 0.498722136, 0.2425468862, 0.2100004256, -1.0842195749, 0.4843954444, -0.439419806, -0.078940399, 0.5244030356, 0.3726787269, 0.0994889736, 0.9984042048, 0.29182145, 0.4137736559, 0.0688875839, 0.0511236675, 1.0643737316, -0.1965179741, 0.0307967365, -0.6193332076, 0.2382651567, -0.0463764332, -0.4663100243, 0.7422956824, 0.6023224592, 0.6378793716, 0.0625807419, 0.58376652, 0.2734929919, 0.7795590758, -0.3539557755, 1.1245228052, -0.7605343461, 0.5329475999, -0.2904386818, -0.4743880928, -0.5907741189, 0.0937334374, -0.1765293181, 0.0227829069, 0.7105649114, 0.6847974062, 0.1047108099, -0.3161521554, 0.3301559985, 0.5519766808, 0.4726407528, 0.8680715561, 0.4274522662, -0.5783373117, 0.6745105982, -0.31328547, -0.3028665483, -0.37904796, -0.67872715, -0.9920312166, -0.2437606603, -0.6251809597, -0.6132898331, 0.5651829839, 0.7370824814, 0.8580797911, -1.0857173204, 0.214937523, 0.1191927567, -0.2615512311, -0.1932210773, -0.1821411252, 0.4786055684, -0.5856299996, -0.4768894613, 0.3440955877, 0.2452759743, -0.0947259888, 0.0904317498, 0.0587850921, -0.0515838861, 0.3074937463, 0.1913375854, 0.4084379971, -0.9842954874, -0.280087471, -0.0899819806, -0.5091437697, 0.1170012802, 0.533246696, -0.8596876264, 0.9557011127, 0.1755719632, 0.6679958105, -0.2925825119, 0.1953408867, 0.5178331733, -0.2992425561, -0.179594636, 0.1897891462, 0.4919112623, 0.4952317476, -0.0830441713, 0.4666950107, 0.4874927402, -0.6657133698, -0.9156521559, -0.0222548619, -1.0417084694, -0.4750373662, 1.2693891525, -0.1946675479, -0.4333978295, -0.2250740826, 0.0752180815, 0.0705740154, -0.4131848216, 0.9547132254, 0.7948352098, -0.293674171, 0.2208538204, -0.8406982422, 0.8442271352, 0.3505422473, -0.6823362708, 0.1459805071, 0.3254604042, 0.7006745934, 0.0303199254, 0.6077807546, -0.5162463188, 0.1587316841, 0.2379418015, -0.0260204058, 0.0688621029, 0.1118052304, -0.2310749292, -0.1027607098, 0.1921502054, -0.343372196 ]
http://arxiv.org/abs/2406.12060v1
http://arxiv.org/pdf/2406.12060v1
Not Eliminate but Aggregate: Post-Hoc Control over Mixture-of-Experts to Address Shortcut Shifts in Natural Language Understanding
2024-06-17T20:00:04
2024-06-17T20:00:04
Ukyo Honda, Tatsushi Oka, Peinan Zhang, Masato Mita
cs.CL
cs.CL, cs.LG
Recent models for natural language understanding are inclined to exploit simple patterns in datasets, commonly known as shortcuts. These shortcuts hinge on spurious correlations between labels and latent features existing in the training data. At inference time, shortcut-dependent models are likely to generate erroneous predictions under distribution shifts, particularly when some latent features are no longer correlated with the labels. To avoid this, previous studies have trained models to eliminate the reliance on shortcuts. In this study, we explore a different direction: pessimistically aggregating the predictions of a mixture-of-experts, assuming each expert captures relatively different latent features. The experimental results demonstrate that our post-hoc control over the experts significantly enhances the model's robustness to the distribution shift in shortcuts. Besides, we show that our approach has some practical advantages. We also analyze our model and provide results to support the assumption.
[ -0.3291302025, -1.0223915577, 0.570366025, 0.0648836419, -0.4789965451, 0.3077371716, -0.1422483623, -0.3059121668, 0.345328927, 0.6432911158, -0.4239291847, -0.4607926011, -1.1229654551, 0.0851617455, -0.4181503952, 1.2079681158, 0.0345066488, -0.4933867753, -0.1605225652, -0.3089018762, -0.3109735548, -0.2907349467, -0.4491705, -0.2522462606, 0.4303981066, 0.2102464139, 1.1275992393, 0.6040115356, 0.429979682, 0.2934322953, -0.5264934301, -0.0322464034, -0.3696967959, -0.1733850986, -0.362242192, -0.4837721288, -0.5824624896, 0.0826704875, 0.3986139596, 1.1964229345, -0.4060512185, -0.241894871, 0.1967765391, 0.3738416433, -0.5249940753, -0.1585147828, -0.9648568034, -0.2578463256, -0.2950870097, -0.1531900167, -0.1779236048, -0.292081207, 0.3663119376, -0.5615919232, 0.3479046524, -0.0437118448, 0.52751261, 0.4349338412, -0.499982655, -0.284001857, -0.5200779438, 0.9540861845, -0.6952996254, 0.1655821502, 0.6083619595, 0.2875377536, -0.0533331707, -0.233720988, -0.226487577, 0.155681625, -0.2350308001, -0.0456245504, 0.0996285975, -0.0087633459, -0.2719793916, 0.2661628723, -0.2959938347, 0.2851626277, -0.2402039617, -0.2010158002, 0.6799302697, 0.1866336763, 0.173981443, 0.0604626387, -0.1639653593, 0.2488643974, -0.6150987148, 0.1223727986, 0.0825912654, 0.3403937519, -0.2345021218, 0.6334474087, -0.1326423138, 0.8896161914, 0.2184745371, -0.3096936643, 0.172014758, -0.3803020716, -0.1824209392, 0.1042829826, 0.7202911377, 0.0860385671, 0.0748221651, -0.5183233619, -0.2319002599, 0.0894583687, -0.096061185, -0.2304842174, -0.5765039921, 0.0671137124, -0.3977288604, -0.4851506054, -0.0770257711, -0.6388038397, -0.2739867568, -0.3112924099, 0.3463744819, -0.2667304873, -0.383164376, 0.0709261224, -0.2119808495, -0.1331002563, 0.4346332252, -0.856321454, 0.4920005202, 0.7669495344, 0.7805137038, -0.2285903692, -0.3675710857, -0.6087414026, 0.3764424324, -0.3169045746, 0.7571158409, -0.8631198406, -0.6819860339, -0.2762444317, -0.3986829817, -0.2356576025, -0.6085135937, 0.263867259, -0.3823914826, 0.5188711286, -0.1393420845, -0.5185586214, -0.0100605628, 0.1074901, -0.3516203165, 0.9150288701, 0.1242085919, -0.9678667188, 0.4458973408, -0.2662506104, -0.5972889066, -0.2811605334, -0.4070307016, -0.4208814204, 0.3061371446, 0.4332582057, 0.13008973, -0.0902095437, 0.6854829788, -0.5169573426, -0.0668779984, 0.2976448536, -0.2874226272, 0.6577118039, 0.0033887341, -0.2884830534, -0.0757221803, -0.6411224604, -0.338735193, -0.1027146429, -0.243176356, -0.9141192436, 0.1080293506, -0.4666854441, 0.4605413973, -0.0171879381, -0.0226140507, 0.251331389, -0.5454983115, 0.1771515012, 0.934741199, 0.4110291898, 1.1122564077, -0.1615918875, 0.506993711, 0.2070697099, 0.1482340097, 0.2221460789, -0.60264045, -0.5433658361, -0.2549585998, 0.0912107825, 0.324450165, -1.1026893854, 0.6234712601, -0.2756404579, -0.4395818412, -0.3747909069, 0.4249259531, 0.477468878, 0.7607342005, 0.4907138944, -0.24760741, 0.0312028453, -0.7952752709, -0.8683131337, -0.0430089608, -0.2134908438, 0.2076076567, 0.2068173438, -0.0859071612, 1.1438785791, -0.7266125679, -0.0033799214, -0.3758680224, 0.6947264671, 0.3281155527, 0.4371576905, 0.6022825837, -0.7508094311, -0.5938053727, -0.1969460249, -0.3144512475, -0.2199366838, -0.0983580053, -0.3312086165, -0.1677050442, 0.2509121597, -0.6712933779, 0.4661121666, 0.359474659, -0.3557169735, 0.3871328831, 0.0176668316, -0.1844327301, -0.8501261473, -0.2483933866, 0.0326032899, -0.0567885824, -0.731795013, -0.4216325283, -0.1070097461, 0.127081424, -0.3121213019, 0.4936841726, -0.4042322934, 0.0713774636, -0.3081426322, -0.1121638641, 0.0963180661, 0.4168419838, 0.3702481687, 0.6318802834, 0.6672921777, -0.9573537707, -0.4917807877, 0.3505794406, -0.1500376165, 0.4309484065, -0.5497274399, 0.2003198862, -0.2103140056, 0.0486653559, -0.6881409883, -0.1993735284, 0.3359804451, -0.5036168098, 0.2208588868, 0.0164981056, -0.191437155, -0.0464637391, -0.1599166691, 0.139342308, 0.5562825203, -0.0827930346, 0.7565582991, 0.5065448284, -0.5484107733, -0.3963395655, -0.7129254341, -0.1734187007, -0.5169202685, -0.3660694063, 0.3880114257, 0.1402146071, -0.5733429193, 0.0888705701, -0.2701447606, -0.3994573355, 0.3452079892, -0.0656051859, 0.0800487027, 0.1337065995, 0.2030810267, 0.4913018048, -0.2027125508, 0.0338454358, -0.1431892961, 0.1448459327, 0.3714376688, -0.3422243893, -0.1349615306, 0.580940485, 0.451529026, -0.3411247134, 0.9118882418, 0.3336129487, -0.1718289852, 0.0944257006, -0.4488561451, -0.3381251693, -0.5136529803, 0.3162574172, -0.127781406, -0.8667359948, 0.523653686, -0.0591311343, 0.1459654421, 0.4086282253, 0.2503838837, -0.3038243949, 1.0150003433, 0.750767231, -0.3561680317, 0.4339394569, -0.0146820918, 0.3327123821, -0.4945447147, -0.0585880205, -0.6799913049, -0.1350157559, -0.303951025, -0.3898934722, 0.4671258628, 0.1755207777, 0.163402319, 0.0499780737, -0.2986390591, 0.3354494572, 0.3908321857, 0.1927012652, 0.1094348356, -0.1111832336, -0.003102629, -0.0585720278, -0.7642379999, -0.2271225303, 0.7927513719, 0.0605316497, 0.8012025356, 0.0711802989, 0.8359094858, 0.242557928, 0.249761194, -0.566908896, 0.4311647713, -0.0370482318, -0.4331340492, -0.399746567, -0.5862210393, -0.7771592736, 0.3019581735, -0.1747276336, -0.7332180142, 0.4709380269, 0.5210434198, -0.4982652068, 0.2476383895, -0.7142439485, 0.7184904814, -0.330573976, -0.3436962366, -0.1615538448, -0.9345631003, 0.3391623795, -0.2912628949, 0.6865649819, -0.0968080685, -0.0688193291, 0.9192959666, -0.6878654957, 0.7785487771, -0.187283054, 0.0327410586, 0.5034058094, 0.1457434744, 0.9828810096, -0.1443477124, -0.0079741273, -0.1012987345, -0.5094789863, -0.5725498796, -0.6624792218, 0.3048092127, -0.8817082047, -0.5186562538, -0.1137236133, -0.2899241745, -0.4038855135, 0.0561972223, 0.4115269482, 0.3633809388, -0.0171144363, -0.0107127177, 0.5376311541, -0.0091276914, 0.5036404133, 0.3699241579, 0.0576940179, -0.4293960631, 0.8349137902, 0.213835001, 0.5401963592, 0.4103816748, 0.4351548851, -0.4330595434, -0.8896685243, 0.162302196, 0.1051083729, -0.6364023089, 0.0798640028, -0.9607585669, 0.2318219841, -0.6937227249, -0.4138177633, -0.3974192441, -0.3803246617, -0.6398578882, -0.2856851518, 0.2394163013, 0.5237661004, 0.1191403791, 0.8850228786, -1.0484570265, 0.2904101014, 0.5544890165, 0.0472127311, 0.0047370233, -0.5819997191, -0.4897158742, -0.0225600842, -0.232413739, -1.1935112476, 0.6448375583, 0.3829255104, 0.8637083173, 0.6873359084, 0.13243559, 0.6679342389, -0.2309567481, 0.6940551996, 0.3390979767, -1.0304906368, 0.5077213049, -0.5271631479, 0.3850080669, 0.9165209532, 0.3430320024, -0.3398912549, -0.8729601502, -0.9086710215, -0.8761931062, 0.6699981689, 0.3730776608, -0.1816044897, 0.0025955341, 0.0160956457, 0.5064874291, 0.498019278, -0.4409492612, -0.1121807992, -0.0940295458, -0.1531355828, -0.2435224652, -0.4207384586, -0.0827793106, -0.3129901886, 0.4776421189, 0.1102307439, -0.1432478577, -0.1252285838, -0.4108293951, 0.0807427093, 0.4348419309, 0.3361742198, 0.8506516814, -0.2875006497, 0.3944436014, 0.0783950388, -0.3638577163, 0.085207127, 0.0429430455, -0.1663885862, 0.2301859111, 0.4278153479, 0.6518149376, 0.4185382426, -0.1673362106, 0.3327799439, 0.2234410793, -0.0782167763, 0.2576915324, 0.040103469, -0.0021711371, -0.1596531272, 0.3696351051, 0.6213614941, 0.3332289159, -0.2124295682, 0.2741760314, 0.179338038, -0.2450548112, -0.6219723821, 0.4993427396, 0.3474616706, -0.2136826962, 0.4298125505, -0.1725494713, -0.5521972179, 0.6230162382, 0.0335248932, 0.8855647445, -0.3807196915, 0.2626329362, -0.0555454083, 0.3592739701, 0.0272007994, -0.1205524281, -0.2620132864, -0.7440694571, -0.4193805456, -0.1991687119, -0.3902206123, -0.2354228944, -0.8362753987, 0.2755679488, -0.1450086534, -0.2296652347, -0.0041128104, -0.4699495137, -0.726380527, 0.2013828605, -0.2447079718, 0.6786184311, -1.5207853317, 0.9771390557, 0.6849381924, 0.0270815678, -0.6781919599, 0.2395931035, 0.0272599608, -0.3952638805, 0.0839947164, -0.0767293721, 0.1891177297, -0.2205663323, -0.4564819634, -0.8711263537, 0.537797749, 0.0604430996, -0.4768551886, -0.006687704, 0.0196855366, 0.3588922024, -0.1386008412, 0.2485470623, 0.8738597035, 0.3527054787, 0.2030269653, -0.9652500749, -0.2739491463, -0.0256314185, -0.3110107481, 0.3139289021, -0.2436618805, 1.1947196722, -0.063444145, -0.0577635951, -0.5114751458, 0.6865324974, 0.3102588356, 0.480758816, 0.7425703406, 0.4343019426, 0.8059695363, 0.2733147442, 1.0443029404, -0.0064986018, 0.3469758332, 1.5868066549, -0.1023140997, 0.5107762218, 0.7316029072, -0.3383298218, 0.1507250369, 0.819514215, 0.707793355, 1.2460209131, -0.4687491655, -0.2595748901, -0.5235285759, 0.0414360575, -0.5824556947, 0.3640878797, 0.6308445334, -0.5203687549, -0.5158646107, -0.1791302115, 0.0923471898, 0.1440459192, -0.3312396407, 1.0048729181, 0.1838694513, -0.7647266984, 0.3805777729, -0.1847508848, 0.7797902822, -0.4787867665, 0.1740369648, -0.2164655179, -0.1216326803, -0.0335494615, -0.6637817621, 0.6482208371, -0.2594124675, -0.0437951349, -0.2447638065, 0.7660335302, -0.608795464, -0.6873481274, 0.0947725847, 0.6899145246, 0.1465814412, -0.2897668481, -0.781336844, -0.2641636729, 0.1505652368, -0.1112053096, 0.38140589, 0.5747547746, -0.1531215608, 0.3120784163, 0.2855870128, 0.1750012934, 0.2298214138, -0.154529348, 1.1215097904, -0.4294381142, -0.8255957961, -0.9878881574, 0.5375374556, -0.1602125615, -0.2796461582, 0.6370222569, 0.2463923991, 0.4389122725, -0.0650362894, 0.908893466, 0.1996209919, 0.7441202402, -0.4483669996, 0.540135324, -0.5294662714, 0.2469256818, -0.4075936079, -0.719245851, -0.2456157357, 0.2543863058, -0.864851892, -0.1031058058, 0.5228026509, 0.4997427762, -0.1282423288, -0.0942644477, 0.1565842181, 0.1730988622, 0.4798278809, 0.420561403, 0.6773087978, 0.3147681355, 0.4045767486, -0.5175411105, -0.2105976641, -0.2562024593, -0.7916309834, -0.8929934502, -0.0186456721, -0.4692111015, 0.0647743195, -0.0554782785, 0.8040531278, 0.4748658538, -0.820184052, 0.1174821705, -0.3520804048, 0.5605970025, -0.3039572835, -0.1797539741, 0.481914103, -0.2020570636, -0.474745363, 0.2869030237, 0.4177418351, 0.3096120656, 0.0615883954, -0.0859436914, -0.1261241734, 0.1049712971, 0.3119253218, 0.0879325345, -0.705565989, -0.097365126, -0.0825524405, -0.029427303, 0.1698027849, 0.8263631463, -0.6223068237, 0.431548059, 0.7080128193, 0.4401422739, 0.0233286005, 0.3477168381, 0.6662046909, -0.9344776273, 0.5754060149, 0.3996681571, 0.2671128809, 0.2386462539, -0.4766842723, 0.1993473023, 0.2115385085, -0.3610157967, -0.5338008404, -0.0280435607, -0.7494283319, -0.3292214572, 0.9596428871, -0.1492955685, -0.3660341501, -0.4709807634, 0.0363064185, 0.2986631989, -0.4301720262, 0.8992469907, 0.5053198934, -0.1495877653, -0.247595191, -0.1351479143, 0.4572613835, 0.5493395925, -0.7644076943, -0.2515540421, 0.3979406059, 0.1659318358, -0.0336050726, 0.9875476956, 0.0685283989, -0.0706670135, -0.1837313324, -0.1856510341, 0.2436862737, -0.4475491047, -0.2226098031, 0.1113873422, 0.2816331983, -0.4122790992 ]
http://arxiv.org/abs/2406.12058v3
http://arxiv.org/pdf/2406.12058v3
WellDunn: On the Robustness and Explainability of Language Models and Large Language Models in Identifying Wellness Dimensions
2024-06-17T19:50:40
2024-06-28T04:08:12
Seyedali Mohammadi, Edward Raff, Jinendra Malekar, Vedant Palit, Francis Ferraro, Manas Gaur
cs.AI
cs.AI, cs.CL
Language Models (LMs) are being proposed for mental health applications where the heightened risk of adverse outcomes means predictive performance may not be a sufficient litmus test of a model's utility in clinical practice. A model that can be trusted for practice should have a correspondence between explanation and clinical determination, yet no prior research has examined the attention fidelity of these models and their effect on ground truth explanations. We introduce an evaluation design that focuses on the robustness and explainability of LMs in identifying Wellness Dimensions (WD). We focus on two mental health and well-being datasets: (a) Multi-label Classification-based MultiWD, and (b) WellXplain for evaluating attention mechanism veracity against expert-labeled explanations. The labels are based on Halbert Dunn's theory of wellness, which gives grounding to our evaluation. We reveal four surprising results about LMs/LLMs: (1) Despite their human-like capabilities, GPT-3.5/4 lag behind RoBERTa, and MedAlpaca, a fine-tuned LLM fails to deliver any remarkable improvements in performance or explanations. (2) Re-examining LMs' predictions based on a confidence-oriented loss function reveals a significant performance drop. (3) Across all LMs/LLMs, the alignment between attention and explanations remains low, with LLMs scoring a dismal 0.0. (4) Most mental health-specific LMs/LLMs overlook domain-specific knowledge and undervalue explanations, causing these discrepancies. This study highlights the need for further research into their consistency and explanations in mental health and well-being.
[ -0.2954874635, -0.6931148171, 0.8857215643, 0.0847238302, 0.0017403855, -0.1320241988, -0.3233802617, -0.5648424625, 0.0257500764, 0.1591050327, -0.7234556675, -0.5241872072, -0.7370151281, 0.0510606617, -0.0222333204, 1.0384539366, 0.2617094517, 0.0101345982, -0.2743825316, -0.2196083069, -0.5691287518, -0.4441335499, -0.4854800999, -0.6512734294, 0.534480691, 0.0611225292, 1.0433034897, 0.4355313778, 0.6641449332, 0.1877461523, -0.2334248871, 0.0098490287, -0.8394476175, -0.1235995665, -0.3341627419, -0.253480792, -0.6965559125, -0.1302924752, 0.3678839207, 0.9549783468, -0.1223614439, 0.3102567792, 0.3410108685, 0.6240572333, -0.7480306029, -0.0437780954, -0.2067887485, 0.0680572316, -0.0264981613, 0.057479281, -0.144433111, -0.3106373549, 0.106795989, -0.4806287885, -0.0343090668, -0.0523567721, 0.9416347742, 0.6436661482, -0.3617396057, -0.2032681704, -0.8418832421, 0.8824407458, -1.0182983875, 0.4977706373, 0.6124954224, 0.0942317024, -0.0397021286, -0.4790243506, -0.4100744724, -0.0613662191, -0.1885581613, 0.3239174187, -0.4241864681, 0.1624380201, 0.5999535918, 0.5950555205, -0.7359237671, 0.1459061801, -0.0291886646, -0.3730263412, 0.5843303204, 0.331430465, 0.2603414655, -0.2664249837, -0.1812184751, 0.3690730929, -0.4651765227, 0.3493940234, -0.2790391147, 0.0367657579, -0.2811922729, 0.6672356129, -0.038455151, 0.5856573582, -0.0380667895, -0.9143947363, 0.0866035521, -0.2637732327, -0.3828985095, -0.0182159748, 0.738288939, 0.6660940647, 0.2102527767, -0.3717334569, -0.1390361786, 0.1852124035, 0.2445143759, -0.746737957, -0.1904681772, 0.5033355355, -0.820813179, 0.2315789461, -0.1512380689, -0.6762057543, -0.5717621446, -0.3805978, 0.3975640237, -0.548343122, -0.3504205346, 0.4461820424, 0.2857788503, 0.0016458114, 0.0511604249, -0.751704514, 0.2124351114, 0.7797275782, 0.7178452015, -0.4634042978, -0.1483424306, -0.3182674944, -0.0080625582, -0.28086707, 0.5401874781, -0.3330890536, -0.2310407013, -0.0021625704, 0.1337484717, -0.0865072533, -0.4861496389, 0.6903946996, -0.2022050321, 0.1357603222, -0.7105402946, -0.5766989589, -0.0140705323, 0.3253585398, -0.5057224631, 0.7666887641, 0.2302862704, -1.0858045816, 0.3553253412, -0.5575773716, -0.4661495388, -0.0517270379, 0.1836265773, -0.3540117145, 0.2548179328, 0.0507538356, 0.4687868357, -0.2221597731, 0.4118243158, -0.675377965, -0.4415595233, 0.616464138, -0.545904696, 0.8926542401, 0.3154887855, -0.1127736419, 0.0108589921, -0.8761703968, 0.1263954192, 0.0721959472, -0.2079175413, -0.4433708191, -0.0547143705, -0.2600355744, 0.2536803782, 0.2821122408, -0.2143888175, -0.4797881544, -0.3976858854, 0.2787925303, 0.3867960572, 0.0203007553, 0.1989051104, -0.1830029935, 0.7970836163, -0.2825631499, 0.3298287094, -0.2851857841, -0.3615329862, -0.1423418075, -0.7355643511, 0.0658475459, 0.3986572325, -0.2072932422, 0.3839403987, -0.4003479779, -0.0996409804, -0.5660120249, 0.0946798846, 0.398888737, 0.6107345223, 0.2786566317, -0.3194458485, -0.2540451288, -0.965649724, -0.5164495111, 0.0086089466, -0.1380251646, 0.0919851065, 0.336040616, -0.4750844836, 0.8558291793, -0.2127892226, 0.1028143838, -0.1827493608, -0.1135983095, 0.1418330818, 0.0223549139, 0.5560513139, -0.4112274349, -0.1530572176, -0.2911784351, -0.8406239748, -0.0277182907, 0.0998974442, -0.0244729538, -0.3217148781, -0.0768895447, -0.7254755497, 0.4248306751, 0.4554354548, -0.2924624979, 0.6010917425, -0.099031277, -0.1775534451, -1.0088895559, -0.0274754874, 0.2556025088, -0.2882591188, -0.6794114709, 0.0665104017, -0.0757607445, -0.1295968145, 0.0044412129, 0.367593497, -0.3450022936, -0.0663203299, -0.3379153907, 0.1224709526, 0.2425201982, 0.1982119679, -0.3552975059, 0.3850257695, 0.8324813247, -0.4874938428, 0.3799071312, -0.0195612498, -0.2999875546, 0.8216522336, -0.7121711969, -0.11003685, -0.1820324063, 0.1146041229, -1.0513131618, -0.4387256503, 0.1682617068, -0.3061481118, 0.3019988835, 0.2776369452, -0.3546820283, -0.5002495646, -0.1778451055, 0.1740291566, 0.4218696058, -0.3302972317, 0.268458873, 0.5554286838, -0.0421632566, -0.3879878223, -0.7156318426, 0.1332328469, -0.7185069323, -0.4506538212, 0.1631807834, -0.0574253313, -0.6399074197, -0.0021013021, -0.4230862856, 0.0290004611, 0.5658757687, 0.2764272988, 0.1602544039, -0.324429512, 0.5278252363, -0.2040263563, -0.2190851122, 0.5784451365, -0.077402167, 0.1372645944, -0.2307091653, -0.3330901563, -0.5759102702, 0.3846733272, 0.5998023748, -0.455571264, 0.9641013741, 0.6912806034, -0.7968814373, 0.1046340466, -0.3356562555, -0.3439076841, -0.3383831382, 0.4407979548, -0.3264884949, -0.860974133, 0.5659803748, -0.0848095119, -0.0858085677, 0.4795936048, 0.6290071607, -0.1574424058, 1.237451911, 0.7811780572, 0.0610879809, 0.0950880125, -0.0042755487, 0.8195975423, -0.8055335283, -0.2222496718, -0.4097984731, -0.2099984139, -0.654307425, -0.0291520972, 0.3069221079, 0.2763912082, -0.2368202657, -0.2502796948, -0.4441638291, 0.2021580637, 0.0352024026, 0.063332282, 0.2752490044, -0.0878956467, 0.0042848163, -0.4185453653, -0.6325917244, -0.7276663184, 0.8574726582, 0.8854690194, 1.2566195726, 0.2873366475, 0.5401485562, 0.1607817262, 0.5328727365, -0.967100203, 0.2166781723, 0.0438307077, -0.6147077084, -0.5325655937, -0.3613481522, -0.8554596901, 0.11654374, -0.1194990724, -1.2458935976, 0.1634765118, 0.144274205, -0.7501524091, -0.0759719238, -0.6813879609, 0.9468856454, -0.4154996276, -0.4173832238, -0.2002076805, -0.6746905446, 0.7422869205, -0.1689364314, 0.3820645809, -0.3659663796, 0.3162092566, 0.6126279831, -0.2199825197, 0.667650938, 0.1775069386, -0.5403365493, -0.1456045806, 0.0169751998, 0.0998741165, 0.3340333402, -0.2180998474, 0.0379934609, 0.287676245, -0.2360843271, -0.8384447098, 0.8400773406, -0.6917784214, -0.6764858961, -0.2116027623, -0.6524685621, -0.592748642, 0.1394981742, 0.1580248475, 0.5284115076, -0.1268808246, 0.1069402173, 0.9004355669, -0.318158865, -0.0358328335, 0.3511635065, -0.3256895542, -0.2069125175, 0.8527188897, 0.005285352, 0.3234908283, 0.1243534535, 0.3555331826, -0.393304348, -0.250005573, 0.0792918578, 0.3908981085, -0.8073827624, -0.0046093427, -0.5439080596, -0.1779853553, -0.3462162614, 0.2273412794, -0.4049638212, -0.1594690531, -0.2101856023, -0.2249192894, -0.0145949684, 0.7288422585, -0.1789970547, -0.0958246738, -0.5485266447, 0.575258553, 0.2630845904, 0.548807323, 0.3640820384, -0.4822104275, -0.6656329632, 0.3185478151, -0.4364304245, -1.2588801384, 0.1020981073, 0.140206933, 0.7890606523, 0.8479119539, 0.1158291772, 0.7098717093, -0.1743379235, 0.7158406973, 0.2314498425, -0.8871052265, 0.5345438719, -0.0749610364, 0.4387308359, 0.3370526135, 0.5610886216, -0.3439632952, -0.4187887907, -0.5399485826, -0.481974721, 0.4952969849, 0.0522247739, -0.0435408652, -0.0466401614, 0.5556254387, 0.1954308599, -0.1144146025, -0.6644722223, -0.3946135044, -0.3792108297, -0.1608090401, -0.2695085406, -0.6650351286, -0.4512325227, -0.255623728, 0.4577410221, -0.2313117534, 0.3710576594, 0.3299326301, 0.1195332259, -0.2403727323, 0.5551536679, 0.6806564927, 1.1247023344, -0.2021235377, 0.5648680925, 0.118520759, -0.1946767718, -0.022984609, 0.1628481448, 0.1242541671, -0.0258604363, 0.7259113193, 0.7851993442, 0.1352895349, -0.5694689751, 0.2278128564, 0.0325106047, 0.0109622749, 0.155431971, 0.0743654966, 0.4430231452, 0.2644396722, 0.0900316238, -0.1798758209, 0.3727313876, -0.7351220846, -0.1223342791, 0.6574112177, -0.5845903754, -0.5643409491, 0.6751999855, -0.3074671328, -0.3538615108, 0.3706223965, -0.1092278212, -0.4658377469, 0.3637534678, 0.6087880731, 0.718000114, -0.2287151814, 0.3386380076, 0.3881135881, 0.4136089683, -0.10665185, 0.3550193608, 0.043579191, -0.6661567092, -0.562207222, -0.6846507192, -0.1554733217, 0.567737639, -1.0522857904, -0.4426491559, -0.1177095473, -0.6548255682, -0.0110725779, -0.0175321233, -0.7733023763, 0.2959757745, 0.3738842309, 0.6405636072, -0.8295527697, 0.4909718335, 0.7410873771, -0.0738935694, -0.9008277655, 0.6084694266, 0.0848511681, -0.5591461658, 0.2014668882, 0.2124023438, -0.1901898235, -0.3004485369, -0.4276300073, -0.9567970037, 0.9083664417, 0.7664887309, -0.3334770501, 0.0841141269, 0.2002536058, 0.8630845547, -0.1813597977, 0.1557584107, 0.6327189803, 0.6815705895, -0.0824749842, -1.0124928951, 0.144535169, 0.0483863652, 0.1931045502, -0.3649967611, -0.5274134874, 0.5654895306, -0.7127926946, -0.3788780868, -0.1261306107, 0.5031228662, 0.4465022683, 0.4716746509, 0.1531035602, 0.7187759876, 1.1209405661, -0.110170193, 1.323481679, -0.2726293802, 0.7786087394, 0.9564157128, -0.4090133011, 0.4576322436, 0.383530587, -0.4326416552, 0.2949092686, 0.9855831861, 0.3318569958, 0.7118970156, 0.2997798622, 0.0123942178, -0.5116987824, -0.3454400301, -0.2673321962, 0.2075980902, 0.3716216981, -0.2982358336, -0.2807286084, 0.248435095, -0.0204603039, -0.0284872204, -0.1464017928, 0.5559738874, 0.521625936, -0.4894742072, 0.6934699416, 0.0927681774, 0.1260458231, -0.3697736859, 0.0982150212, -0.2089805603, 0.3542062938, -0.3160950243, -0.7753110528, 0.3785307407, -0.0869617984, -0.3584352434, -0.1896902919, 0.8689115644, -0.3038122654, -0.4982478321, 0.250174284, 0.681702137, 0.2000957578, 0.0078388788, -0.7594431639, 0.1718774736, -0.2639904618, -0.2985797822, 0.3792640269, 0.8546457887, -0.0461404398, 0.8720188141, 0.3551012874, -0.0099797696, -0.1079794988, 0.1800213456, 0.5038425326, -0.4433096945, -0.2531368434, -1.0535104275, 0.442692101, 0.1368348598, -0.2064613253, 0.8584879637, 0.3866812885, 0.2487642467, 0.042221725, 0.7114849687, 0.3143586516, 0.3760885, -0.5185414553, 0.7384765744, -0.8483874202, 0.2146769911, -0.0635095537, -0.8170701861, -0.1890221685, 0.7072321177, -0.3833220899, 0.2353818566, 0.8596815467, 0.5204954743, -0.0639143735, -0.0223389324, 0.5429588556, 0.5929757357, 0.2834933698, 0.6425815821, 0.7700748444, 0.0170537829, -0.0680738315, -0.209572345, -0.2449695021, -0.1667288542, -0.8100631833, -0.9832134843, -0.2714690864, -0.3965268731, -0.4579164684, 0.1538632959, 0.5568833947, 0.6427406073, -0.6339702606, 0.1782554835, 0.3577390909, 0.4335650802, -0.4632559121, -0.2325777262, 0.4374256432, -0.1637635231, -0.163662523, 0.13677077, 0.514667213, -0.2314945906, -0.7323516011, -0.2659747601, 0.349442631, -0.0061727404, 0.6085003614, 0.1599692702, -1.2183012962, -0.2030420154, 0.0718723312, -0.3322361708, -0.0023187269, 0.468814224, -0.5571682453, 0.3769513667, 0.0238297619, 0.5550279021, -0.0566078536, 0.0155712552, 0.3824453652, -0.1200499162, -0.4569057524, 0.067251496, 0.4525127113, 0.4652567506, -0.5759872794, 0.2388324142, -0.0155922398, -0.4731975496, -0.8192234039, 0.2101347148, -0.989402771, -0.0452275835, 1.2208669186, -0.3964110613, -0.2218378484, -0.0921799392, -0.05809962, 0.0513760187, 0.0288502611, 1.1091405153, 1.0631276369, -0.1939856559, -0.3857866228, -0.8105473518, 0.4919293523, 0.3951202333, -0.7960089445, 0.2011983693, 0.406986624, 0.4837737381, 0.2799487412, 0.4883539379, -0.0726262778, 0.3841510117, -0.3930364847, -0.1002172306, 0.2278319597, -0.0465930775, -0.3494989872, -0.0084800562, 0.1692814529, 0.1649917811 ]
http://arxiv.org/abs/2406.12053v1
http://arxiv.org/pdf/2406.12053v1
InternalInspector $I^2$: Robust Confidence Estimation in LLMs through Internal States
2024-06-17T19:46:05
2024-06-17T19:46:05
Mohammad Beigi, Ying Shen, Runing Yang, Zihao Lin, Qifan Wang, Ankith Mohan, Jianfeng He, Ming Jin, Chang-Tien Lu, Lifu Huang
cs.CL
cs.CL
Despite their vast capabilities, Large Language Models (LLMs) often struggle with generating reliable outputs, frequently producing high-confidence inaccuracies known as hallucinations. Addressing this challenge, our research introduces InternalInspector, a novel framework designed to enhance confidence estimation in LLMs by leveraging contrastive learning on internal states including attention states, feed-forward states, and activation states of all layers. Unlike existing methods that primarily focus on the final activation state, InternalInspector conducts a comprehensive analysis across all internal states of every layer to accurately identify both correct and incorrect prediction processes. By benchmarking InternalInspector against existing confidence estimation methods across various natural language understanding and generation tasks, including factual question answering, commonsense reasoning, and reading comprehension, InternalInspector achieves significantly higher accuracy in aligning the estimated confidence scores with the correctness of the LLM's predictions and lower calibration error. Furthermore, InternalInspector excels at HaluEval, a hallucination detection benchmark, outperforming other internal-based confidence estimation methods in this task.
[ -0.3174098432, -0.3955266774, 0.7156773806, 0.1118928716, -0.0534878857, 0.296831578, -0.315099448, -0.5992876887, 0.1534167975, 0.2087233961, -0.4312941432, -0.4318730831, -0.5865760446, 0.1380246729, -0.3474722207, 0.3958410621, 0.0899679139, 0.3339124024, -0.4955879748, 0.3345690668, -0.2966937125, -0.4265658855, -0.5548173785, -0.6537155509, 0.148124665, 0.6248798966, 0.416503042, -0.0719058365, 0.3288443387, 0.4100402296, -0.0459727049, 0.5053741932, -0.5081393719, 0.3266199529, -0.1294509023, -0.4422396421, 0.0761125088, -0.2161634117, 0.7672539949, 0.4026602507, -0.0153857451, -0.129665792, 0.5801348686, 0.5763320327, -0.9646311402, 0.2446204424, -0.8663737178, 0.1179731265, 0.0318825766, -0.2381994724, -0.4043496251, -0.6181186438, -0.012613574, -0.1977535337, 0.0411019213, -0.1418691725, 0.6868260503, 0.4570460618, -0.2021396458, -0.2782408595, -0.3928392529, 0.6664972305, -0.6965003014, 0.4495019615, 0.6488881111, 0.2015153617, -0.3870119452, -0.8251318932, -0.6046944261, -0.6114599705, -0.2092918605, 0.1708521694, -0.0319800153, 0.2151870728, -0.0253539011, 0.5666377544, -0.4771683514, 0.3141263723, -0.018316403, -0.4493048787, 0.3325305581, 0.0090489406, -0.1036209911, -0.0459252894, -0.2545363009, -0.0494890362, -0.4873265624, 0.202070564, 0.4085440636, 0.3025206327, 0.0622453392, 0.5098606944, -0.2746297419, 0.2803486884, 0.4526712894, -0.2412064075, 0.3439459503, -0.0943805575, -0.3323720396, 0.3400970399, 0.5810685754, 0.1365875155, 0.205464378, -0.3440606296, -0.3054713309, 0.302454561, 0.4406766593, -0.9667491317, -0.3993824422, 0.5188302398, -0.157709077, -0.2859662771, 0.4200502634, -0.7416135073, -0.7425559163, -0.33676669, 0.5926580429, -0.6795420051, -0.3136775792, -0.1255665869, 0.1904342473, 0.2833688855, 0.1516982019, -0.4385764897, 0.5508472323, 0.78798908, 0.8767580986, -0.5533690453, -0.2102248818, -0.7426169515, -0.0989844128, -0.5053448677, 0.9203373194, -0.548509419, -0.2262175381, 0.1503361017, 0.1439952552, -0.0698235258, -0.7904812694, 0.5256798267, -0.114074178, 0.1253727376, -0.0532102957, -0.8930771947, -0.2446369678, 0.479388535, -0.3879107833, 1.3859952688, 0.1181894466, -0.7343395948, 0.2375156134, -0.2271762043, -0.2542973161, 0.1419348717, -0.3390115201, -0.305170089, 0.3188326359, 0.0934832767, 0.6505507827, -0.1387546957, 0.0267021637, -0.185974583, -0.7446704507, 0.5817062855, -0.1329115927, 0.4480827749, -0.0993138105, -0.503328979, 0.5086756349, -0.6920744777, 0.1473686993, -0.2468055934, 0.0206544455, -0.1878957897, -0.1263878793, -0.192394942, 0.1060160026, 0.19013533, -0.6106823087, -0.2966363728, -0.4795865715, -0.0778528303, 0.8619794846, 0.2086285204, 0.3282074332, -0.1626890451, 0.475484699, 0.2014955282, -0.101500161, 0.0190590471, -0.3556716144, -0.6445021629, -0.4835034013, -0.0697257966, 0.4808763862, -0.5533750653, 0.7457447648, 0.0075178659, -0.6195703149, -0.4795158803, 0.2734890878, 0.5910032988, 0.8500503898, 0.3205637038, -0.1537628025, -0.4260047376, -0.9300789237, -0.1822740883, -0.1707191169, -0.1823707521, -0.2256618142, 0.4275949299, -0.3521851897, 0.4973470271, -0.2530798316, -0.4917944968, -0.1738649458, 0.1181175858, 0.2020603269, 0.4568959773, 0.0892359912, -0.4839808047, -0.6526637077, 0.0583832972, -0.7419194579, 0.0900312588, -0.0440834872, -0.1907069832, 0.2838255167, 0.7636393905, -0.4057095945, 0.3267792165, 0.5411333442, -0.2194839269, 0.4573522806, -0.1044806316, 0.0959039554, -1.1103048325, -0.141637519, 0.3123700619, -0.2340647131, -0.5320099592, 0.1927951723, 0.379922539, 0.4417663813, -0.1723135561, 0.4325148761, -0.5586676598, -0.0343341194, -0.3308836818, 0.2661234438, -0.228640765, 0.3713732362, -0.0332810953, 0.9092449546, 0.5321787596, -0.502399683, 0.0730910078, 0.10709209, -0.8859115243, 0.7345991135, -0.4462466836, 0.2498392761, -0.1775429845, -0.0135215977, -1.3542978764, -0.36466524, 0.2541595995, -0.5290001631, 0.6016831398, 0.056411989, -0.5918428302, -0.0688112676, -0.4577976763, -0.1710121781, 0.5078529716, -0.6465399265, 0.6625213027, 0.4868967831, -0.0404607244, -0.6345769167, -0.7667835355, 0.102557756, 0.0059909089, -0.3031073511, 0.3014861941, -0.2527302802, -0.5018221736, -0.1291399598, -0.2519257069, -0.3238195479, 0.020062197, 0.5240927339, 0.0844461694, -0.0154763218, 0.3138755858, 0.0782002732, -0.0957554281, 0.1909048259, 0.0196680203, 0.5046752095, -0.2541384101, -0.3964093924, -0.6471738815, 0.128248468, 0.3404924572, -0.0178785324, 0.619125247, 0.5879926085, -0.6989328265, -0.4507049918, -0.7833738327, -0.5012524128, -0.5130032301, 0.5840560794, -0.5719877481, -0.7179477215, 0.398642242, 0.1243226975, -0.1327405274, 0.2785268128, 0.535314858, -0.1070590839, 0.7692896724, 0.5317627192, -0.0392718539, 0.2855014205, 0.0091505535, 0.0421620123, -0.8673644066, -0.4909559786, -0.4639219046, -0.2753010094, -0.4671351314, -0.4623837769, 0.4369583726, -0.0433894545, -0.3550700843, 0.0384400487, -0.6264051199, 0.5172085166, 0.4858253598, 0.3651862741, 0.3485229313, 0.1699808985, -0.1988994032, -0.4879542887, -0.3406318128, -0.3097519279, 0.8502401114, 0.4594853818, 0.9079038501, 0.0825107396, 0.7377215028, 0.0121712815, 0.5722165704, -0.9205887318, 0.512668848, 0.0354888998, -0.2908394337, -0.183135286, -0.3071834743, -0.3670489788, 0.313159734, -0.2016042173, -0.9261699319, 0.3970761001, 0.1285705715, -0.154993847, 0.3181382418, -0.4609617591, 0.4723952115, -0.1286276281, -0.5193488598, -0.2528870106, -0.5452946424, 0.5579289198, -0.0872534588, -0.2881052494, -0.1587774605, -0.2419499755, 0.1595834047, -0.1002933085, 1.0518298149, 0.0051613552, -0.2611043453, 0.1831098795, 0.3537983894, 0.7238361835, 0.0921724066, -0.4938113689, 0.1697053313, -0.2311784327, 0.018950101, -0.3810327351, 0.9948777556, -0.5596038103, -0.2411560118, -0.579762578, -0.4320703745, -0.6516880989, -0.1351866871, 0.5360777378, 0.3145031929, -0.2020290941, 0.385905534, 0.816888392, -0.0936347395, 0.3166223466, 0.1879007667, 0.1328086555, -0.5046436191, 0.8252316713, -0.0953613445, 0.2780708075, 0.5611612797, 0.1949778497, -0.4896488488, -0.4434277415, 0.1490935087, 0.2501645684, -1.0394176245, -0.4110104442, -0.6035267711, -0.570328474, -0.302894026, -0.033991728, -0.4233154058, 0.0128659774, -0.2358019501, -0.3562881351, 0.0802875161, 0.6345579624, -0.0173121784, 0.152567178, -0.3255647719, 0.343290925, 0.3343856037, 0.4253817201, -0.1799310446, -0.8366861939, -0.2630938888, -0.2578555644, -0.1637996882, -0.8710413575, 0.3940399289, 0.267216742, 0.8237225413, 0.6278444529, 0.0538092032, 0.8944476843, -0.1673966795, 0.664639473, 0.0622982569, -1.0327585936, 0.1572452337, 0.401480794, 0.4556391239, 0.932099998, 0.5076006651, -0.2033399493, -0.6910869479, -0.197596252, -0.530878067, 0.2440640777, 0.1179589182, -0.0711284429, -0.0557763651, 0.2719641626, 0.3448888361, 0.3381927609, -0.806581676, -0.0263689645, -0.1412720531, -0.4444162846, -0.1988453418, -0.5319164991, -0.0795442984, -0.2689265013, 0.926854074, -0.4769872129, 0.3102377951, 0.476775974, -0.3457540572, -0.2846391201, 0.0462754034, 0.5047467351, 0.8057451844, -0.4843462408, 0.3377495706, 0.1173974872, -0.4433180094, -0.0282173697, 0.1088252366, -0.0392921716, 0.1930039525, 0.4088748097, 0.4403617084, 0.4813316762, -0.6811767817, 0.487082243, -0.0603432916, -0.1642575711, -0.8249878287, -0.0863194242, -0.0720576122, 0.4879595041, 0.3173772097, -0.1689458638, 0.2812077403, -0.4026533961, 0.2254531085, 0.5919989347, -0.9635808468, -0.2309331149, 0.4596760571, 0.0471797623, -0.1008858904, 0.5377851129, -0.1641505212, -0.4048760831, 0.4019839466, 0.6387094855, 1.5133094788, -0.5195603371, 0.1585634351, 0.671592772, 0.5911833048, -0.1616236567, 0.4899208844, -0.0222161654, -0.9608098865, -0.3990271389, -0.5831873417, -0.6499120593, 0.3694401085, -0.5839035511, -0.0979686752, -0.4703523815, 0.0540531315, -0.4848181307, 0.0361911505, -0.490789026, 0.1004874855, 0.2384786904, 0.8534847498, -0.5182740092, 0.9336184263, 0.3684434295, -0.3315765262, -0.4303168058, 0.543112278, 0.1702991277, -0.6530437469, 0.5336090326, 0.5509909987, -0.694809258, -0.1425928622, -0.6362816691, -0.754904151, 0.9471571445, 0.4274464846, -0.5654774904, 0.2077788264, -0.1918799877, 0.3612534106, -0.4673739672, 0.1763529778, 0.5156014562, 0.5078201294, 0.0295954477, -0.4941618443, 0.2045345455, -0.1773528606, -0.0729473606, 0.0293202922, -0.2949779332, 0.7523770332, -0.123950392, -0.336345762, 0.3295846879, 0.8316314816, 0.3883944154, 0.0101632411, 0.640190661, 0.3415664434, 0.8840048909, -0.1203816682, 1.0367000103, -0.6563135386, -0.1400596797, 1.6141377687, -0.3065021932, 1.0017054081, 0.6453575492, 0.117970936, 0.7562953234, 0.6167840362, 0.1111441702, 0.4695016742, 0.1482206583, -0.4267493486, -0.3175098598, 0.0032827854, -0.2609502673, 0.3516759574, 0.5439671278, -0.2630669475, 0.2506448328, -0.2692905068, -0.038029559, 0.2491451353, -0.1723973304, 0.8015271425, 0.1815292537, -0.7377750874, 0.3249157667, -0.2916746736, 0.8036527038, -0.8564022183, -0.1688259989, -0.3591857255, 0.6444991231, -0.1493973434, -0.8379135132, 0.0127078444, -0.3874998689, 0.3831657171, 0.1144825071, 0.7484298348, -0.6000160575, -0.5565132499, 0.4847281873, 0.2863759398, -0.0660630167, -0.5450201631, -0.4101037085, -0.0515644066, -0.2748174965, -0.2001494914, 0.156913206, 0.325596571, 0.2974760532, 0.725898087, 0.3196310103, 0.1357134283, -0.1547993869, 0.0041392334, 0.6565991044, -0.4991131425, -0.5075198412, -0.6825085282, 0.6576706767, -0.4796125591, -0.4642595649, 0.9322320223, 0.5038415194, 0.8657355309, -0.1263873875, 0.6316285133, 0.4401973486, 0.6065702438, -0.4706250429, 0.5173060894, -0.5171325207, 0.0769768208, -0.2971752584, -1.0333286524, -0.2427476346, 0.7187364101, 0.1034020856, -0.1311824769, 1.0191081762, 1.1901589632, 0.0441460833, -0.1741701514, 0.5810602307, 0.536488533, 0.0597853027, 0.2925460637, 0.8649442196, -0.2405569851, 0.274143666, -0.748732686, -0.222612679, -0.1624855101, -0.8220393658, -1.1240570545, -0.6711833477, -0.1897406131, -0.4649645984, -0.1123304218, 1.0150821209, 0.6490383148, -1.0660543442, -0.6063343883, -0.0979306027, -0.0450568125, -0.3576817214, -0.2622143924, 0.1996925771, -0.6121742725, -0.8356366158, 0.7765648365, 0.4742634892, -0.0901670083, -0.6014068723, -0.1998735219, -0.099831976, 0.225933969, 0.560131371, 0.1107554585, -0.8688009381, -0.2635103762, -0.2009282857, -0.1696329415, 0.0926738977, 0.6391870975, -0.8114001155, 0.5841241479, 0.4226980507, 0.7441507578, 0.5392892957, -0.0940333754, 0.4492665231, -0.7989569902, 0.3842040598, 0.2814282179, 0.451472193, 0.6370655298, -0.5455169678, 0.7655321956, -0.1278195381, -0.4629123211, -0.9339248538, 0.1857603341, -0.71750319, -0.3576567173, 0.955581665, 0.1988937259, -0.0707017034, -0.1144739315, -0.0418071039, 0.0274462663, -0.4399814904, 0.8668637872, 0.4451005459, -0.1796345264, -0.3603276014, -0.4699204862, 0.7630463839, 0.3056637049, -1.0437873602, -0.2676444054, 0.4014521539, 0.1587031633, 0.1887623519, 0.3616743386, -0.0893944129, 0.0558078364, -0.1017542258, 0.2083543986, 0.0712589547, -0.4278191924, -0.4532380998, 0.4323831797, -0.0223914441, -0.2375981212 ]
http://arxiv.org/abs/2406.12052v1
http://arxiv.org/pdf/2406.12052v1
UniGLM: Training One Unified Language Model for Text-Attributed Graphs
2024-06-17T19:45:21
2024-06-17T19:45:21
Yi Fang, Dongzhe Fan, Sirui Ding, Ninghao Liu, Qiaoyu Tan
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Representation learning on text-attributed graphs (TAGs), where nodes are represented by textual descriptions, is crucial for textual and relational knowledge systems and recommendation systems. Currently, state-of-the-art embedding methods for TAGs primarily focus on fine-tuning language models (e.g., BERT) using structure-aware training signals. While effective, these methods are tailored for individual TAG and cannot generalize across various graph scenarios. Given the shared textual space, leveraging multiple TAGs for joint fine-tuning, aligning text and graph structure from different aspects, would be more beneficial. Motivated by this, we introduce a novel Unified Graph Language Model (UniGLM) framework, the first graph embedding model that generalizes well to both in-domain and cross-domain TAGs. Specifically, UniGLM is trained over multiple TAGs with different domains and scales using self-supervised contrastive learning. UniGLM includes an adaptive positive sample selection technique for identifying structurally similar nodes and a lazy contrastive module that is devised to accelerate training by minimizing repetitive encoding calculations. Extensive empirical results across 9 benchmark TAGs demonstrate UniGLM's efficacy against leading embedding baselines in terms of generalization (various downstream tasks and backbones) and transfer learning (in and out of domain scenarios). The code is available at https://github.com/NYUSHCS/UniGLM.
[ -0.0468358062, -0.4877000153, 0.255679965, -0.0827898681, -0.5836957097, 0.5691556334, -0.0051535745, -0.2077588588, 0.1047521606, 0.5046112537, -0.2199161649, -0.896912694, -0.3404580951, -0.2854735255, -0.1484627128, 1.1551806927, -0.1235801056, 0.1325164437, -0.3020012379, -0.3926894665, -0.305375278, -0.5724554062, -0.3605645001, -0.8613844514, 0.5374718904, 0.0770967305, 0.3969253004, 0.4519349039, 0.3361848295, 0.2214127034, 0.1326715648, 0.4256961644, -0.5151370168, -0.1805963218, -0.2429977208, 0.1361949742, -0.3296613693, -0.1106872559, 0.7074253559, 1.1355304718, -0.0802387893, 0.0110924467, 0.3915540874, 0.5190138817, -0.3643235564, 0.1858989, -0.7656316757, -0.150414288, -0.0460266583, 0.0470940173, -0.6691961288, -0.0068357592, 0.0713958219, -0.7077558637, 0.1080045104, 0.2548984587, 0.891523242, 0.1574660987, -0.6041278839, -0.0659179688, -0.2747012079, 0.5060259104, -0.4110608101, 0.5205776691, 0.2031487674, 0.0453836359, -0.2111655623, -1.1618189812, -0.0588363223, 0.0666132793, -0.4267489016, -0.0657668412, -0.4302280247, 0.228756696, -0.3313853741, 0.0343800969, -0.6494073272, 0.2469985187, -0.1171211377, -0.2353292257, 0.3571102321, -0.0319381095, 0.262353152, -0.0263262708, -0.8004237413, 0.195719257, -0.6446728706, -0.1041839197, 0.2896023989, 0.660443902, 0.0872983336, 0.2477730215, -0.0136445407, 0.7332603931, -0.2550845742, 0.3680290878, 0.402480036, -0.0349531509, -0.4774813354, -0.0813458189, 0.9711068869, 0.2252519429, 0.3438628614, -0.544836998, -0.0701677576, 0.1748458743, 0.2029004991, -0.6369082332, -0.6621151567, -0.1917977929, -0.3585121632, -0.1245645881, 0.053382881, -0.4717141688, -0.2704848349, -0.0088253003, 0.3074463308, -0.3636218607, -0.1143147051, 0.2040128559, -0.1936827451, -0.3165775537, 0.0709872544, -0.6445413828, 0.3797871768, 0.3952242732, 0.734601438, -0.1651269644, -0.478522718, -0.2964315116, 0.3533953428, -0.1705597639, 1.0459215641, -0.8020695448, -0.3368352652, 0.1424366981, 0.1185401678, -0.1852753311, -0.0428554937, 0.6131346226, -0.5037587881, 0.0015526388, -0.0368616767, -0.8169465661, -0.308100611, 0.0820234865, -0.5642112494, 1.2150149345, 0.3900357485, -0.9574465752, 0.259408772, -0.6613801122, -0.5327404737, 0.274027288, -0.0782706812, -0.4635951817, -0.1310849488, 0.2447128594, 0.6798405647, -0.2771017551, 0.1467457712, -0.5430617929, -0.2929224968, -0.0000803334, -0.1630431563, 0.7121879458, 0.1390603483, 0.1588627398, 0.1743669361, -0.6686825752, 0.331394285, 0.2895611227, -0.2340630889, -0.7722315192, -0.1068965197, 0.2452663183, -0.1250008047, 0.1762379557, -0.8527941108, 0.4071507454, -0.3585293293, 0.6170980334, 0.7149762511, -0.0251640156, 0.3702445626, -0.1010648087, 0.12530002, -0.1842539757, -0.215609923, -0.3430396318, -0.349296093, -0.3567309976, -0.4294101298, 0.5986200571, 0.1200344488, -0.5841762424, 0.4498810172, -0.2761553526, -0.4518585801, -0.6196663976, 0.3215025961, 0.7325224876, 0.53412956, 0.4066773653, -0.4083964527, -0.515316844, -0.5257068276, -0.317273587, -0.1196302325, 0.1589516103, 0.2024525851, 0.4144484699, -0.4559374154, 0.9426105618, -0.7197458148, -0.7146832347, -0.1748387814, 0.3778173625, -0.048624862, 0.4441092014, 0.6526226401, -0.6247082949, -0.8513832092, 0.3058862388, -0.6078265309, -0.0624967478, 0.165517807, -0.0972139984, 0.2027610093, 0.4088067114, -0.290682137, 0.2701468766, 0.6986099482, -0.4585473239, -0.0215947703, -0.5227178931, -0.3263400197, -0.974709034, 0.0536014512, -0.0513665751, -0.5187398195, -0.4805331826, -0.022759838, 0.1023208871, 0.0006813616, -0.1268457621, 0.6596460342, -0.7587326169, -0.0591519512, -0.1396994293, 0.2255680263, 0.3158218563, 0.7861711979, -0.3224126101, 0.3799287975, 0.7574084401, -0.3480257988, 0.2812877893, 0.2304066569, -0.1416046172, 0.4614842534, -0.7113065124, 0.4605241716, -0.1031008214, 0.227801159, -1.4496846199, 0.0010400948, 0.0691791624, -0.4533984661, 0.5432161689, -0.4418651164, -0.4227133691, -0.4635410905, -0.1721508652, 0.2733732164, 0.4368833303, -0.8656424284, 0.7493240237, 0.6090192199, 0.2765716612, -0.614336431, -0.6487274766, -0.2589792609, 0.0557108149, -0.3450249732, 0.4838663936, -0.0415978655, 0.4119694531, 0.5345253944, -0.0374357738, -0.2022288144, 0.2283363789, 0.363112092, 0.0975390077, 0.0885967761, 0.5486845374, 0.1509381235, -0.328661412, -0.2562766075, -0.8392682076, 0.6698966026, -0.1711253226, -0.5408002734, -0.1769741029, 0.3725861907, 0.2031471133, -0.4791975617, 0.4239146709, 0.7177963257, -0.3216666281, -0.4880777299, 0.0032485072, 0.3443992138, -0.4577703774, 0.5209550858, -0.3206680119, -1.0175507069, 0.5201112032, -0.4845932126, -0.0172224771, 0.4270100594, 0.4387385249, -0.3067581356, 1.1782399416, 0.8539306521, -0.2396797538, 0.3743160665, -0.2921386361, 0.0771685615, -0.9639232159, -0.3353269994, -0.4953664243, -0.1770447642, -0.5232026577, -0.4087401927, -0.0106716761, 0.189716056, -0.4637950957, 0.22456792, -0.9067589045, 0.7474858761, 0.3024650812, -0.0597603284, 0.3120892048, 0.2518986464, -0.6573629379, 0.1023782045, -0.6986883283, -0.4154518247, 1.2409876585, 0.2342604101, 1.2385048866, -0.1675851792, 0.6112610698, 0.5191091895, 0.6058030725, -0.5651728511, 0.1977576762, -0.7169901133, -0.3398453891, -0.2085572481, -0.3222874403, -1.1762287617, 0.4145936966, -0.0543251336, -0.9033743143, -0.1104822159, 0.233506605, 0.0335235856, 0.5881461501, -0.6986563206, 0.9445175529, -0.2382324934, 0.1028952077, 0.2378894687, -0.651475966, -0.2851932347, 0.0544340909, 0.113652803, -0.3320685625, 0.1131354049, 0.6401177049, 0.088934496, 1.0938662291, -0.1452301741, 0.196133554, 0.2862884998, 0.1095490977, 0.5106990337, -0.0679977015, 0.1461234987, 0.2824516296, -0.2140639275, -0.3872338831, -0.4340660572, 0.7405548096, -0.9350811839, -0.1142662019, -0.2809865177, -0.5860419273, -0.2664805949, 0.5368852019, 0.2563561499, 0.626752615, -0.6491043568, 0.1301970482, 0.4962434471, 0.2777522206, 0.3595249951, 0.379365176, -0.4318683147, -0.4843293726, 0.9139118195, 0.0129638687, 0.097307533, 0.5572514534, 0.146717608, -0.4284894168, -0.5186098814, -0.3997894824, 0.321189791, -0.9980000257, -0.5239197016, -0.8321441412, -0.022129463, -0.5235604644, -0.2414355725, -0.3504242599, -0.2862266004, -0.3936400414, -0.2383458614, 0.2342322618, 1.0371025801, 0.0991918445, 0.4402325749, -0.5648309588, 0.011722466, 0.2175691724, 0.7236850262, -0.1686168313, -0.4232174158, -0.2851508856, -0.0304889623, -0.1661045998, -0.782940805, 0.3042326272, 0.4133087695, 0.8917092085, 0.2720428705, 0.0725394636, 0.4042623341, -0.5999997854, 0.3878758848, 0.3530405462, -0.9293370843, 0.1294348389, -0.3008205295, 0.0481377281, 0.4374341667, 0.599724412, -0.5005775094, -0.0947265625, -0.4658287168, -0.6731535196, 0.4031271636, -0.1095343381, 0.3388826847, 0.1153064147, 0.2824781537, -0.019453954, 0.1223093271, -0.8793205023, -0.4849038124, -0.3085213304, -0.4773795605, -0.0776143372, -0.122081019, -0.2725351751, -0.3813900948, 0.5071828365, -0.6520698071, 0.3609078526, 0.1322431266, -0.2339996547, -0.1463142931, 0.1669220179, -0.1155427247, 0.503844142, -0.1649027914, 0.4294027388, 0.0674675331, -0.086676836, 0.0394837409, 0.3802373111, -0.1165040061, 0.1371792257, 0.3767187297, 0.9309239984, 0.3241440952, -0.3344898224, 0.4247703552, 0.0583890118, -0.1269105226, 0.2243876457, -0.3313233852, 0.2554170191, 0.0092240358, 0.2818811238, -0.1098192781, 0.0240465607, -0.5559269786, 0.3503382206, 0.7026035786, -0.8054252267, -0.3178898692, 0.6035871506, 0.2813311815, -0.2222010344, 0.4302482307, -0.5101933479, -0.8207010031, 0.2467143834, 0.9629184604, 0.8253517747, -0.2184088975, 0.5580307245, 0.0741620436, 0.2231168598, 0.3133752048, 0.1046441719, 0.2169132978, -0.8564751148, -0.1064934283, -0.5657634139, -0.2036386132, -0.4905109704, -0.5391589403, -0.0172311682, -0.4062666595, -0.0594323203, 0.1906562895, 0.0183420759, -0.6187281609, -0.0033417905, -0.029665444, 0.5939643383, -1.0379744768, 1.1286623478, 1.1645514965, -0.395211637, -0.829194665, -0.4087149203, -0.2273216397, -1.013649106, 0.4850183725, 0.101879701, -0.2221836746, 0.3750109673, -0.6678705215, -0.8093084097, 1.031539917, 0.5064611435, -0.1932400018, -0.0497476347, -0.0018138088, 0.6605997086, -0.948463738, 0.0412873067, 0.231048584, 0.087409161, 0.1692476124, -0.6483398676, 0.1139079332, -0.1691452116, 0.0681509301, 0.5540673137, -0.665350914, 0.994273603, -0.2865340412, -0.4477779269, -0.0613035969, 0.4843951762, -0.1998045444, 0.1754549742, 0.3032251596, 0.7488127351, 1.115231514, -0.1338008642, 1.0187900066, -0.1915605664, 0.8680487871, 1.3036789894, -0.3847292364, 0.5479839444, 0.1597197801, 0.0045414916, 0.9147020578, 0.5198312998, -0.0722766444, 0.6783766747, 0.0581888109, 0.0986970887, -0.3970798552, -0.4866776168, -0.2925715148, 0.3352875412, 0.1742492467, -0.3864141703, -0.5463214517, -0.031577535, 0.0979543552, 0.2585215271, -0.1991797835, 0.6936249137, 0.0362686925, -0.2123170495, 0.4369556308, 0.0112878634, 0.4520350695, -0.7609226108, -0.1199103296, -0.1078353375, 0.2707460225, -0.0921251327, -0.8786351085, -0.0828974098, -0.1839126199, -0.0035843325, -0.2185639441, 1.0848165751, -0.6450479627, -0.417757839, 0.7887895703, 0.3737616241, -0.1191105098, 0.0625717342, -0.8104209304, -0.1461415738, 0.0499875247, -0.0012499326, 0.3203047514, 0.647546947, -0.0360059105, 0.6829366088, 0.6986032724, -0.1577582061, -0.0760889277, 0.3856353164, 1.2916725874, -0.4244507849, -0.5609630346, -0.705072701, 0.5045027733, -0.1211361587, -0.3383644223, 0.7472625375, 0.3741655648, 0.9510717392, 0.2635859251, 0.6754374504, 0.1458336562, 0.3528274894, -0.3784891963, 0.678334713, -0.6322231293, -0.0870111212, -0.356485635, -0.708784461, -0.5338917375, 0.4991370142, 0.226658687, 0.0423301756, 0.7600029707, 0.4278458953, 0.0200768244, -0.2728702724, 0.3740228415, 0.086449109, 0.2106812, 0.6978365779, 0.5797899961, -0.372315973, 0.5912858844, 0.0419890434, -0.0329289809, -0.0019372674, -0.9138279557, -1.3260064125, -0.6921257377, -0.204453066, -0.1153238788, 0.0274376851, 0.8486811519, 0.6731252074, -0.5849823356, 0.0001639384, 0.0501372926, 0.3108048737, -0.0244583935, -0.1024548635, 0.5926041603, -0.3770136237, -0.4645529687, 0.1871778816, 0.444518894, 0.1855360866, -0.1721358746, -0.1118545532, -0.395144403, -0.0867555737, 0.3672296703, 0.1637839824, -0.4600687921, -0.4979611337, -0.1374673247, -0.2323374301, 0.2834949791, 0.9961730242, -0.6854247451, 0.6814094782, 0.3999683857, 0.7631143332, 0.4997940958, 0.0446298383, 0.2394193113, -1.2854830027, 0.1012025923, 0.119580254, 0.6892749071, 0.547201097, -0.2721903026, 0.6499619484, 0.3486623168, -0.4895787835, -0.9508282542, 0.2329959124, -0.9567866921, -0.5112089515, 0.9646031857, -0.5689880252, -0.0493003391, -0.3658354282, -0.143437773, 0.4874726832, -0.3350422978, 0.2789635062, 0.4349220097, 0.0051295436, 0.1526985019, 0.1786969602, 0.27386415, 0.089510493, -0.6479593515, 0.3169875741, 0.2750526071, 0.3375620246, 0.1586714089, 0.8702156544, 0.1633595228, -0.1680571437, -0.0279260986, 0.2274125218, -0.4312981665, -0.5165783763, -0.313159734, 0.2134741545, 0.0457023419, -0.1643175036 ]
http://arxiv.org/abs/2406.12050v1
http://arxiv.org/pdf/2406.12050v1
Learn Beyond The Answer: Training Language Models with Reflection for Mathematical Reasoning
2024-06-17T19:42:22
2024-06-17T19:42:22
Zhihan Zhang, Zhenwen Liang, Wenhao Yu, Dian Yu, Mengzhao Jia, Dong Yu, Meng Jiang
cs.CL
cs.CL
Supervised fine-tuning enhances the problem-solving abilities of language models across various mathematical reasoning tasks. To maximize such benefits, existing research focuses on broadening the training set with various data augmentation techniques, which is effective for standard single-round question-answering settings. Our work introduces a novel technique aimed at cultivating a deeper understanding of the training problems at hand, enhancing performance not only in standard settings but also in more complex scenarios that require reflective thinking. Specifically, we propose reflective augmentation, a method that embeds problem reflection into each training instance. It trains the model to consider alternative perspectives and engage with abstractions and analogies, thereby fostering a thorough comprehension through reflective reasoning. Extensive experiments validate the achievement of our aim, underscoring the unique advantages of our method and its complementary nature relative to existing augmentation techniques.
[ -0.6986575127, -0.8415898085, 0.6401121616, -0.0212642588, -0.0652125701, 0.2870259881, -0.3910203874, -0.364417702, -0.0890021846, 0.8029794693, -0.9156633615, -0.2064932734, -0.4672335684, -0.0991806686, -0.1471178532, 1.0523426533, -0.0134750307, 0.3407360315, -0.5410789847, -0.044690799, -0.4811967313, -0.2506127059, -0.4907091856, -0.3772784173, 0.1759427637, 0.4732206762, 0.5186075568, 0.2622435391, 0.5330222249, 0.2969846427, 0.2001435757, 0.7606184483, -0.4842661619, 0.223059848, -0.2230509222, -0.840068996, -0.1528911293, 0.1408869475, 0.6418292522, 1.1266443729, -0.1567248255, 0.3321104348, 0.0342893712, 0.7785641551, -0.7633545995, 0.3017934859, -0.72568959, 0.1029685512, 0.210690558, -0.0548610352, -0.3420467973, -0.6396903992, 0.1837439984, -0.8373664021, 0.2567539811, -0.3758289814, 0.4014427662, 0.3486966789, -0.2144654095, 0.04129529, -0.7547813058, 0.8972794414, -0.620616138, 0.3436852992, 0.3489440382, 0.3809001744, 0.1511452049, -0.5205141902, -0.4749998748, -0.0410201624, -0.1246580929, 0.2336716056, 0.3391301036, 0.0796662271, 0.5478817821, 0.4788946807, -0.3775999248, -0.5620310903, -0.4804629385, 0.2259614766, 0.7693516016, 0.2033634037, 0.1930903345, 0.383279264, 0.1079678908, -0.010895675, -0.5588567257, 0.1366738975, 0.169425115, 0.4138945043, 0.4131339788, 0.3765874803, -0.2782693207, 0.8630279899, -0.0650426522, 0.2463388443, 0.2088861614, -0.2051188201, 0.0262458734, -0.0874115899, 0.118207939, 0.1762087345, 0.4986078441, -0.192248106, -0.2062224597, 0.101999335, 0.4400641918, -0.7681147456, -0.3757602274, -0.0304193627, -0.0468402877, -0.3254330158, 0.2250601202, -0.6263145804, -0.1949460059, -0.8509867191, 0.5406581163, -0.2982057333, -0.569206059, 0.5541776419, -0.1205763444, 0.0990417153, 0.4777017832, -0.9766743779, 0.558821559, 1.0507011414, 0.5282819271, 0.2868345082, -0.139500007, -0.7308579087, 0.0579550192, -0.6520543694, 0.821485877, -0.9513363242, -0.3394984603, 0.1872171462, -0.1260940731, -0.1058156639, -0.7362570763, 0.3944991231, -0.5598471165, 0.5811038017, -0.4158454239, -0.5543863773, -0.4131788909, 0.3662312031, -0.4962084591, 1.3305331469, 0.2627191842, -0.4139932394, 0.3561176658, -0.9099169374, -0.3533400297, 0.094421424, -0.1292658299, -0.3385276496, 0.4915745556, 0.5843617916, 0.2195816785, -0.0354757346, 0.0605278313, -0.5194221735, -0.3371733427, 0.1812548786, -0.2643841505, 0.6992428303, 0.003957334, -0.0761587173, -0.0993401185, -0.7843521237, 0.4567710459, 0.0411414653, 0.0801826492, -0.542834878, -0.1769042462, -0.2620398402, 0.261747241, 0.231607303, -0.7568570375, 0.3505077064, -0.8074315786, 0.1246996671, 0.636033237, 0.1031034142, 0.3879917562, -0.453543514, 0.47807464, -0.0673082024, 0.1904922575, -0.3500762284, -0.3245356679, -0.8450414538, 0.0195251945, 0.014665775, 0.6546126008, -0.9330701232, -0.1624778509, -0.1549999118, -0.3366527855, -1.0503964424, 0.4337351024, 0.6420886517, 0.8394904733, 0.694896698, -0.1317417473, -0.7339443564, -0.8044033051, -0.4748093486, 0.2756719887, -0.0158140045, 0.369064182, 0.496178031, 0.2022534758, 0.8932834268, -1.0275132656, -0.1409281641, -0.0789787173, 0.1369022429, 0.255969584, 0.6507496238, 0.2658478618, -0.8471354246, -0.5353368521, -0.0190370735, -0.9228000641, 0.1689892262, -0.1512774676, -0.0353438333, -0.1155901104, 0.4036656618, -0.2997006476, 0.3286556005, 0.0793439075, -0.0074666063, 0.5155275464, -0.3014394045, 0.2813497484, -0.8085858226, -0.255977273, 0.1289917529, -0.2789797187, -0.831731379, 0.3353942931, -0.130174458, -0.1078392118, -0.2938766181, 0.4287678599, -0.4523692429, 0.2183087468, -0.308513701, 0.3368697464, 0.2879161239, 0.2694982588, 0.2716032267, 1.1170605421, 0.6167487502, -0.4802725315, 0.336748898, 0.3823947012, -0.5417284369, 0.6213950515, -0.7249016166, 0.3493188024, -0.4254966676, -0.0800912678, -1.0503816605, -0.0148943458, -0.075284563, -0.5052679777, 0.2663501203, -0.0942625031, -0.3474510312, -0.335144937, -0.3627918363, 0.5153107643, 0.5294932723, -0.674326241, 0.5786328316, 0.3100935519, -0.1717620492, -0.5814894438, -0.790045023, -0.0346531123, -0.1324586272, -0.7403495312, 0.0715924352, -0.0933031589, -0.4835780263, -0.2379001081, -0.0408679098, -0.21079202, 0.1288675219, -0.149343878, 0.3204109669, -0.3309674263, 0.281314224, 0.3287370801, -0.2914694548, 0.3119941652, -0.3374186456, 0.3055784702, -0.3848865926, -0.4432217181, -0.2967414558, 0.6694527864, 0.037263304, -0.660353899, 0.8296816945, 0.4732441604, -0.4128358662, -0.4780939221, -0.726090014, -0.5471657515, -0.5228513479, 0.3770138323, -0.6079399586, -0.7844693065, 0.5936006308, -0.1229866073, 0.1157896742, -0.0132002626, 0.2221676409, -0.1920466721, 1.6243737936, 0.6275190115, 0.4549822509, 0.5015119314, -0.5563738942, 0.1700337529, -1.2121105194, -0.2259305865, -0.211561054, -0.0184538811, -0.2875530124, -0.4154182673, 0.3856977522, -0.0017754842, -0.2579307258, 0.1425280422, -0.7453902364, 0.7544865608, 0.3555012941, 0.5602651238, 0.4498976767, -0.2361463457, 0.143504709, -0.2951470912, -0.4505906701, -0.3980030715, 1.0722347498, 0.0876966417, 0.5025283098, -0.077359207, 0.6370486021, -0.2934977114, 0.6133700013, -0.6114407182, 0.4905198216, -0.1125883684, -0.8190335631, -0.309709847, -0.3376247585, -0.543869853, 0.5491073132, -0.0935390592, -0.5643411279, -0.0154339746, 0.0691390634, -0.4520859122, 0.2229125947, -0.635489881, 0.684451282, -0.0351370238, -0.3800769746, -0.3482695222, -0.4789192975, 0.4807612896, 0.0945836604, 0.2800656557, 0.2434593886, -0.1168812737, 0.3491525948, -0.3478234112, 0.7147865891, -0.4531629384, -0.3171897829, 0.334151268, 0.1865945011, 0.3266122937, 0.2820715606, -0.0151895313, -0.3007627726, 0.1493771672, -0.5430839062, -1.3704032898, 0.4739072323, -0.3450417221, -0.9059724212, -0.1402982175, -0.8699332476, -0.7504133582, 0.1233731806, -0.2148485333, 0.5227536559, 0.1092810854, 0.0681887344, 1.3163713217, 0.1661374718, 0.1460739672, 0.4762795269, -0.4276428223, -0.4032736421, 0.9864413738, 0.1502522081, 0.5212624073, 0.3414729238, 0.1039375663, -0.333635509, -0.5060720444, -0.3221678138, 0.1438999325, -0.7551214695, -0.0033804828, -0.3307746947, -0.1815814078, -0.3659980297, -0.0458199978, -0.3921972513, -0.7349780798, -0.2495085448, -0.2783733606, 0.3192671835, 0.4218107462, -0.0037780316, 0.1271368414, -0.834926486, 0.2331184447, 0.5221550465, 0.4779317677, 0.0799842924, -0.5850206614, -0.2426237911, 0.5343220234, -0.3189424872, -0.5069045424, 0.1091936603, 0.3418872952, 0.5602642894, 0.3410505652, -0.0270731747, 0.9186647534, -0.6706437469, 0.6510667205, 0.021091748, -0.9738100171, 0.8144975901, -0.3651134074, 0.2175227106, 0.9851757288, 0.2549476624, -0.3288125396, -0.4157695472, -0.5151725411, -0.4066532552, 0.4655898511, -0.1281817257, 0.5483853817, 0.0082987277, 0.6920550466, 0.1562018692, 0.3263556957, -0.5175731182, -0.1496627778, -0.2501856387, -0.2206861675, -0.1723635793, 0.1996011138, -0.444310993, -0.7906734943, 0.7828375697, -0.3804008067, -0.0248578619, 0.2012341022, -0.1108436361, -0.1796915382, -0.0503352582, 0.6786918044, 0.91922158, -0.0070629437, 0.0677452311, 0.5684034824, -0.3443584144, -0.1258036047, 0.0658417195, -0.0669087693, -0.1319294125, 0.3684751987, 0.627636373, 0.1679137349, -0.7350343466, 0.3953584433, 0.1643226594, -0.3912030458, -0.2847708762, 0.4297009706, -0.1389197707, 0.2975582778, 0.430201292, 0.0721517429, 0.3996806741, -0.5460777283, 0.3346262872, 0.7856513262, -0.6756006479, -0.1985787898, 0.4186998904, -0.2366116494, -0.2855550051, 0.5071225166, -0.0039269836, -0.6827998161, 0.5009073019, 0.6191276312, 0.7003322244, -0.2092392594, 0.3243890703, 0.3686035872, 0.2144479156, -0.1301600486, 0.6263597608, -0.3816242814, -0.7256737947, -0.89878124, -0.1471331716, -0.414103508, -0.1466449946, -1.0931998491, -0.0558391213, -0.3831214607, 0.1437832266, -0.0504480191, 0.1798927635, -0.365631938, 0.3439815342, 0.0672037974, 0.9224449992, -0.8719440699, 0.5534796715, 0.7951855659, -0.6001746058, -0.7092048526, -0.2835610509, -0.3699826002, -0.9594224691, 0.6147865653, 0.1421897858, -0.3730886877, -0.0267296527, -0.8515719175, -0.6085679531, 0.6759198904, 0.4360419512, -0.2169216722, 0.1008667126, 0.2694753408, 0.7246248722, -0.4264832437, 0.4241131246, 0.6666377187, 0.4843451381, 0.2518773973, -0.7194220424, 0.0374621674, -0.3818127215, 0.163040325, 0.3815100193, -0.5612190962, 0.6186602712, -0.3332950771, 0.0655037314, 0.0049112383, 0.653419435, 0.1502301991, 0.3105511069, 0.2791092098, 0.7773469687, 0.6574042439, -0.1782706082, 0.8634675741, -0.0945214778, 0.4899294376, 1.3188967705, -0.1328541785, 0.6454264522, 0.6446864009, -0.2729724348, 0.6827080846, 0.3105237782, 0.0590896048, 0.7525247931, 0.1452503204, -0.5428457856, -0.7867158055, -0.0617813803, -0.5860423446, 0.2073273063, 0.5369462967, -0.0366639271, -0.2780942917, 0.324480623, -0.2290281057, 0.7461793423, -0.5120546222, 0.9082021713, 0.2085939646, -0.8607423306, 0.6648263931, -0.460973978, 0.2232544869, -0.223995477, -0.4248707294, -0.0189622715, 0.4361296892, -0.3074359298, -0.988550663, 0.5467866063, -0.4118184149, -0.23358199, -0.3628029525, 0.4014085233, -0.6244639158, -0.745192349, -0.1152391508, 0.5727683902, -0.1623044461, -0.1794601679, -0.7461730838, -0.30243963, -0.1287835985, -0.0720267445, 0.1757435501, 0.5209796429, 0.3091683686, 0.9002898932, 0.7345622778, 0.0267315675, -0.067892164, 0.3459740579, 1.1783733368, -0.2604198456, -0.2952466607, -0.7203285098, 0.7285535932, -0.3921352923, -0.3142105043, 0.8475337625, 0.6813687086, 0.9564263225, -0.1771565527, 0.7071405649, 0.5757430792, 0.9693095684, -0.4959623516, 0.2398450375, -0.4948516786, 0.3086957037, -0.4524530768, -0.7637240887, -0.6601493955, 0.9863957763, -0.9294525385, 0.0712477937, 0.4554849565, 0.6937859654, -0.1638580561, 0.4281716347, 0.1716193557, -0.1707089394, 0.3753730059, 0.7080233097, 1.1502330303, -0.5509545803, 0.3087270856, -0.437496841, -0.2214394659, 0.3094123304, -0.5577262044, -1.1000347137, -0.5419180989, -0.3183507621, -0.3192343116, 0.0686288923, 0.8101120591, 0.8204889297, -0.8987068534, -0.0503789522, -0.4189788997, 0.0068637757, -0.408454746, -0.2757917941, 0.1868928224, -0.8719081283, -0.6437414885, 0.2437793314, 0.2028732449, -0.2969407439, -0.4882616401, 0.1237704381, -0.2378072143, 0.3204424083, 0.521907568, 0.1102161482, -0.3546657562, -0.3578120768, 0.1905335188, 0.4229729772, 0.2435673773, 0.9487905502, -0.9062235355, 0.7118533254, 0.2109848857, 0.8961097598, 0.7924849987, 0.2613735199, 0.5501928926, -0.6201821566, 0.094103381, 0.5577462316, 0.0405704975, 0.3017215729, -0.4067408741, 0.3841278255, -0.0434928164, -0.3235247433, -1.1288918257, 0.4083994031, -0.5297641158, -0.3586001992, 0.6626750231, -0.1386982352, 0.0829547271, -0.17059879, -0.3205907941, 0.0666807443, -0.0758561417, 0.9439154863, 0.8314168453, -0.3236947954, -0.44117558, -0.7339579463, 0.5603367686, 0.7540549636, -0.9946597219, 0.1428180188, 0.2521143854, 0.2528173625, 0.2285120338, 0.2254244238, -0.1787966341, 0.4289115071, -0.1307080984, -0.42309618, -0.3237808347, -0.3971422017, -0.3224261999, 0.058466915, -0.1312563419, -0.0867159292 ]
http://arxiv.org/abs/2406.12045v1
http://arxiv.org/pdf/2406.12045v1
$τ$-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains
2024-06-17T19:33:08
2024-06-17T19:33:08
Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan
cs.AI
cs.AI, cs.CL
Existing benchmarks do not test language agents on their interaction with human users or ability to follow domain-specific rules, both of which are vital for deploying them in real world applications. We propose $\tau$-bench, a benchmark emulating dynamic conversations between a user (simulated by language models) and a language agent provided with domain-specific API tools and policy guidelines. We employ an efficient and faithful evaluation process that compares the database state at the end of a conversation with the annotated goal state. We also propose a new metric (pass^k) to evaluate the reliability of agent behavior over multiple trials. Our experiments show that even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks, and are quite inconsistent (pass^8 <25% in retail). Our findings point to the need for methods that can improve the ability of agents to act consistently and follow rules reliably.
[ -0.410605073, -0.9718640447, 0.4667912722, 0.1087231115, -0.0800730661, 0.4065762758, -0.17815575, -0.6946101785, 0.087266095, 0.1092365161, -0.5409728885, -0.3723369539, -0.1661889553, -0.0562622659, -0.2664324343, 0.5770798922, -0.1185775101, -0.0833771974, -0.1099137515, -0.2683263421, -0.4436882734, -0.5778054595, -0.8794788122, -0.5598018169, 0.3856391311, 0.099612914, 1.1107106209, 0.4961155653, 0.4117811024, 0.3045903146, 0.348770231, 0.1236394644, -0.4665390551, 0.2956759334, -0.2448339909, -0.4213900268, -0.7029979825, 0.2261006832, 0.4517702758, 0.4570058286, -0.2128278166, -0.044383131, -0.1844122261, 0.1568195224, -0.5940600634, 0.3771798313, -0.382209748, -0.1734043509, -0.0233706646, -0.0845511332, -0.3370474875, -0.5933672786, -0.0272396281, -0.7996387482, -0.2003341168, 0.0362007804, 1.2447435856, 0.1765981168, -0.2602443695, -0.0326133184, -0.7010487914, 0.7893813252, -0.6726216078, 0.434981674, 0.6972581744, 0.634182632, -0.3772333264, -0.978484273, -0.7267269492, -0.6052676439, -0.0021165158, -0.0268037077, -0.186022222, -0.0802836195, 0.1936889887, -0.0505166613, -0.0780899972, -0.1334304959, 0.253978312, -0.031930875, 0.5356398821, 0.240205124, 0.2001082599, 0.3416860104, -0.3132699728, -0.6250858307, -0.5664462447, 0.1656981558, 0.2958896458, 0.2638069391, -0.0424582586, 0.1895511001, -0.2375756353, 0.4437268674, -0.208438158, -0.1415167004, 0.4046435654, -0.3511587679, -0.0123400753, -0.4052943587, 0.6461110115, 0.4748174548, 0.5189899206, -0.6390473843, -0.40699175, 0.1508529186, 0.6523388028, -0.5922920108, 0.180601269, 0.2211244553, -0.0543355905, -0.1502824426, -0.0098816557, -0.5866528749, -0.3096463084, -0.4052142501, 0.5043151975, -0.5478611588, -0.4777286947, -0.331825614, -0.075327538, 0.570174396, 0.2559548914, -0.5176195502, 1.0664805174, 1.0215040445, 0.6532544494, -0.2374599725, -0.8095998764, -0.7028597593, 0.0699495375, -0.4119473696, 0.7804412842, -0.6857705116, -0.5923108459, 0.1839848012, 0.0537078008, -0.1144677699, -0.5695214868, 0.6776459813, -0.3493361473, -0.4713276327, -0.7023536563, -0.5361140966, 0.1761876494, 0.6000316143, -0.2973415554, 1.2690360546, 0.4844719768, -0.0536541641, 0.6461969614, -0.6178089976, -0.4576975703, 0.1419425756, -0.3580905795, -0.2640659809, -0.2218057513, -0.1978582442, 0.015373108, -0.423417449, 0.0653905198, -0.5117433667, -0.682032764, 0.5677974224, -0.2054470181, 0.3390436172, 0.1465348601, -0.8242284656, 0.0183666125, -0.6116571426, 0.2690479755, 0.1924949139, -0.0622334518, -0.163752839, 0.1020250842, 0.3619410992, 0.0480022952, 0.1297121346, -0.7069782019, 0.1332126409, -0.0892398953, 0.0327629931, 0.6905333996, -0.1937982738, 0.1070092097, -0.6115474701, 0.5891688466, -0.4712049067, 0.3041931689, 0.4027808309, -0.260081321, -0.4944632649, -0.2261309028, 0.3377310336, 0.293756336, -0.5847728848, 0.4576202929, -0.3869886994, -0.8525964618, -0.3279513121, -0.1159073189, 0.6363207102, 0.5091756582, 0.1946365833, -0.6452929378, 0.0064020189, -0.6769369245, -0.3785721958, -0.4324087799, 0.2239857614, 0.6724037528, 0.2341315597, -0.291316241, 1.0922738314, -0.0846127868, -0.1442371756, -0.1168366149, 0.2440862954, -0.1684583873, 0.3307515085, 0.7090616226, -0.5834470391, -0.6146874428, -0.0629376471, -0.7876942754, -0.2795914412, 0.2445853353, -0.1853220165, 0.2924098074, 0.3665096462, -0.6628143191, 0.4906494319, 0.1911726147, -0.397952348, 0.6802358627, -0.2441341579, 0.3953928351, -0.549074173, 0.2727650404, -0.0321294069, -0.3804503083, -0.604239583, 0.1815669537, 0.0360030197, -0.1939930171, -0.6349084377, 0.9537175894, -0.2839876413, -0.5459415913, -0.3753159046, 0.1213235334, -0.1443497092, 0.5492251515, -0.1215544492, 1.0219646692, 0.4115076959, -0.6372272968, 0.3716493249, 0.236529246, -0.2978895605, 1.0379667282, -0.7759771943, 0.235284701, 0.4527107477, 0.3689065278, -0.8292473555, 0.0832527429, 0.1340221912, -0.1344450861, 0.0393744037, -0.0563112125, -1.0399768353, -0.2412898391, -0.3192092478, 0.3670689762, 0.5701806545, -0.3249698579, 0.6663451195, 0.5133505464, 0.2097720653, -0.6548914909, -0.5014804006, 0.1800697744, 0.019705832, -0.3487641513, 0.1736086607, -0.0016881168, -0.3741190732, 0.0994139835, -0.189915508, -0.0259000883, 0.2757511735, 0.2413434833, -0.1252280623, -0.1055479497, -0.0135328136, -0.2399300188, -0.1434912533, 0.1010003239, 0.1274838746, 0.7220445275, -0.3473044038, -0.6801253557, -0.5753026605, 0.0507234633, 0.6480857134, -0.1728080958, 0.462892592, 0.4926722646, -0.2440720648, -0.1431370676, -0.5749313235, -0.4481511712, -0.5118281245, 0.1021138951, -0.8958291411, -0.2863138616, 0.5324082375, -0.4532741904, 0.3686906993, 0.1068136171, 0.4840999842, -0.0731575713, 0.8014281392, 0.5023310781, 0.047387749, 0.4555125535, -0.1234806851, 0.0631406978, -0.4422509968, -0.0245887861, -0.4763652384, -0.4675593972, -0.3414842188, -0.2090353072, 0.2244976014, -0.1579481214, -0.3529102206, 0.6594106555, -0.2993929684, 0.3120687008, 0.6647909284, -0.1321209818, 0.0737301111, -0.2808437645, -0.1983333975, 0.0037720418, -0.3217155635, -0.5697792768, 0.9085555077, 0.2401987761, 0.9410821199, 0.4533253312, 0.5311751962, 0.6865457296, 0.4589594901, -0.598839879, 0.7960010171, 0.2295164168, -0.4765914381, -0.453329891, -0.277970612, -1.2397755384, 0.3739897609, -0.0898651779, -0.9581874609, 0.2437320352, 0.0728446171, 0.007851135, 0.0995668098, -0.7715435624, 1.2015094757, -0.3326132596, -0.5519760251, -0.3136749268, -0.3624038696, -0.1068387255, -0.0102159744, 0.2074066997, -0.6866046786, -0.2320566624, 0.3670066297, -0.9368088245, 0.8636983037, -0.4349761903, 0.19944942, 0.3195905387, 0.2117533684, 0.6989665627, -0.2000155449, -0.1161752045, -0.1332455873, 0.4095551372, -0.5456548333, -0.6191521883, 0.685392797, -0.9594705105, -0.2752461731, -0.6319547892, -0.4750241339, -0.731797874, 0.174392134, -0.3639303744, 0.504170537, -0.6966705322, -0.0566758178, 0.0424171053, 0.1486848295, 0.3222971857, 1.0205688477, -0.0455550887, -0.036432717, 0.9059332013, 0.0280020293, 0.2849074304, 0.0671129152, 0.0758847222, -0.5907422304, -0.0834209025, -0.4110876322, 0.3353625536, -0.6945992112, -0.0096532237, -0.4618298709, 0.016471792, -0.2461875826, -0.0987845734, -0.5003265738, -0.2633198798, 0.3234723508, 0.1526904404, 0.3520522118, 0.4867150486, 0.0767773986, 0.3108361661, -0.4912126362, 0.1142377406, 0.3029744923, 0.6251773238, 0.0593795963, -0.2210657299, -0.2265129536, -0.1533887386, -0.334107399, -0.662296474, 0.0420315191, 0.1728224158, 1.0144326687, -0.0405751392, 0.3611986339, 0.453312099, -0.4539545476, 0.5109345317, -0.2211832404, -0.8942420483, 0.3333574533, -0.2955605388, 0.3429172933, 0.9593632221, 0.1818771064, -0.5521695018, -0.6517897844, -0.8672484159, -0.6944112778, 0.7256850004, 0.3158040047, 0.1005504653, -0.0512008145, 0.2838552296, -0.0166124012, 0.3046362996, -0.2119793594, -0.3308165371, -0.1138974354, -0.0799950361, -0.0153630292, 0.1318527609, -0.364091903, 0.1133613959, 0.5835337639, -0.223651439, 0.1180874258, -0.0345126539, -0.1113436818, -0.1046401858, 0.244353354, 0.4261462688, 1.1481095552, -0.4519588351, 0.0495049432, 0.0771847144, -0.4756949246, 0.2148473561, 0.4937172234, -0.0598858669, 0.0138972579, -0.1575022787, 0.4409287274, 0.4398006797, -1.0793782473, 0.4935612082, -0.4554573894, -0.1313942969, -0.4461734593, 0.1036135554, -0.110126704, 0.1499695629, 0.3056707978, -0.3415024281, -0.0852118507, -0.9882004261, 0.5394507647, 0.3771701157, -0.5500941873, -0.3221268952, 0.6369894743, 0.4614822567, -0.7135340571, 0.2917441428, -0.421218127, -0.2045279145, 0.6326149106, 0.3601362109, 0.8006960154, 0.0292666536, 0.1717001498, 0.0248841587, 0.1220970154, -0.1684215963, 0.4203028679, -0.1415832192, -0.6966328025, -0.1585042775, -0.3855520785, -1.1432859898, -0.0816006362, -0.4455281794, 0.0771553144, -0.5377980471, -0.658413291, 0.133102417, 0.3349784315, -0.7293673754, 0.0679957494, -0.2664562464, 1.0260602236, -0.5152776241, 1.1559302807, 0.7307101488, -0.5687634349, -0.5906043649, -0.15487279, 0.1391265839, -0.8637094498, 0.3569515944, 0.0339341946, -0.2938600183, -0.1463534683, -0.1618136913, -0.4794863462, 1.1578941345, 0.3194245994, -0.2280805558, 0.4484396577, 0.2683830857, 0.7527603507, -0.2844924927, 0.5121311545, 0.9226866961, 0.6050155163, -0.0791136101, -1.1979755163, 0.1655666828, -0.3844615519, -0.2805686891, 0.2419854403, -0.9702767134, 0.5584254265, 0.2970681787, -0.1334511191, 0.1899719387, 0.4136843979, 0.4066065252, 0.4272645712, 0.9028711319, 0.5218316317, 0.7694355845, -0.3456051052, 1.4439057112, -0.5990567803, 0.2121448964, 1.062913537, -0.7777680159, 0.9714755416, 0.2311507165, -0.3400557637, 0.4924119413, 0.3935125172, 0.0136368815, 0.4177365005, 0.2851680517, -0.2956830263, -0.0327060148, -0.4123853445, -0.1507464945, 0.2549067736, 0.2896262109, 0.3979296386, -0.1082617417, -0.3343626559, 0.1936009824, 0.3042851388, 0.1273505837, 0.6863618493, 0.1301743388, -0.8274626732, 0.7208650708, -0.0387870856, 0.4376142025, -0.8349856734, 0.0003186078, -0.3152247965, 0.4329997599, 0.1696024686, -0.6905891299, 0.0530228578, -0.0332013741, 0.347745955, -0.1364408135, 0.537699163, -0.0588753186, -0.0868666247, 0.4729242325, 0.7330716848, 0.537609756, 0.1206045821, -1.0460193157, 0.361156702, -0.7264894843, -0.1746159494, 0.471883893, 0.3417291045, -0.2175747603, 0.8682636619, 0.4657946527, -0.1107093617, -0.1434357911, 0.5959974527, 0.6581309438, -0.6166280508, -0.5195181966, -0.3845125437, 0.1436246634, -0.3950763047, -0.3988758922, 0.5687101483, 0.5316441655, 0.581669867, 0.3084459305, 0.6190772653, -0.104970105, 0.6374772191, 0.0809666738, 0.7161594629, -0.5616011024, 0.1871603876, -0.1852167845, -0.9423260093, 0.2251608521, 0.3257030249, -0.1272956729, 0.3192463219, 0.7148544788, 0.7608805895, -0.2282399088, -0.1461339742, 0.5508611202, -0.0471412055, 0.5033331513, 0.2076212615, 0.8244481683, -0.3705374599, 0.7765857577, -0.2618482709, -0.322023958, -0.2238779515, -0.464310348, -0.6866753101, -0.3669469357, -0.2704300284, -0.5223234296, 0.5082503557, 0.7995060682, 0.8998440504, -0.6389561296, -0.5959339142, 0.0151792318, -0.1508996338, -0.8786643147, -0.1901566386, 0.3510915935, -0.7368400693, -0.866642952, 0.3892816007, 0.1092845723, -0.0381809957, -0.1758471578, -0.3343007267, -0.1185716838, 0.2650672495, 0.2672714591, 0.8219097257, -0.8119860291, -0.434517622, -0.0592548028, -0.5129351616, 0.060700763, 0.7952516675, -0.7861722708, 0.4169547558, -0.0108110672, 0.9997781515, 0.6478286386, 0.2110123485, 0.8856525421, -0.6997794509, 0.0603658408, 0.2378029972, 0.2709982693, 0.2773634195, 0.1450429708, 0.9439167976, 0.2093136609, -0.6319257021, -0.7778252959, 0.1208896264, -1.1087944508, -0.1688667387, 1.0475157499, -0.3511967063, -0.2375597507, -0.479478687, -0.1449142247, -0.0263831299, -0.7073457241, 0.6255711913, 0.4419483542, -0.2226456255, -0.145235613, -0.5638310313, 0.6559002995, 0.519156754, -1.0038506985, 0.1853766888, 0.2999074161, 0.1595190614, 0.0136226295, 1.1215583086, 0.0012933322, 0.5704686046, 0.307451427, 0.0622571036, 0.0191590395, 0.1086907238, 0.2276718616, -0.0351547524, 0.5173282623, -0.2921845317 ]
http://arxiv.org/abs/2406.12038v1
http://arxiv.org/pdf/2406.12038v1
Soft Prompting for Unlearning in Large Language Models
2024-06-17T19:11:40
2024-06-17T19:11:40
Karuna Bhaila, Minh-Hao Van, Xintao Wu
cs.CL
cs.CL, cs.AI, cs.LG
The widespread popularity of Large Language Models (LLMs), partly due to their unique ability to perform in-context learning, has also brought to light the importance of ethical and safety considerations when deploying these pre-trained models. In this work, we focus on investigating machine unlearning for LLMs motivated by data protection regulations. In contrast to the growing literature on fine-tuning methods to achieve unlearning, we focus on a comparatively lightweight alternative called soft prompting to realize the unlearning of a subset of training data. With losses designed to enforce forgetting as well as utility preservation, our framework \textbf{S}oft \textbf{P}rompting for \textbf{U}n\textbf{l}earning (SPUL) learns prompt tokens that can be appended to an arbitrary query to induce unlearning of specific examples at inference time without updating LLM parameters. We conduct a rigorous evaluation of the proposed method and our results indicate that SPUL can significantly improve the trade-off between utility and forgetting in the context of text classification with LLMs. We further validate our method using multiple LLMs to highlight the scalability of our framework and provide detailed insights into the choice of hyperparameters and the influence of the size of unlearning data. Our implementation is available at \url{https://github.com/karuna-bhaila/llm_unlearning}.
[ 0.0363436826, -0.7198810577, 0.4219562709, -0.1116086319, -0.3927876055, -0.1894582063, -0.7466349006, 0.2103367448, -0.3701810539, 0.7007257342, -0.6687093377, -0.4541378319, -0.3695099354, -0.06652987, -0.2117521167, 1.3385545015, 0.1166399866, -0.0100125168, -0.3919450641, -0.2847370803, -0.5460037589, -0.5049212575, -0.5585657954, -0.4152006805, 0.6964013577, 0.6906032562, 0.3168208897, 0.5429103971, -0.1655362695, 0.3431478739, -0.3026516736, 0.2846764624, -0.6921257377, 0.4487566948, -0.3525677621, -0.4320764244, -0.1708056778, 0.064075388, 0.726479888, 0.9580181837, -0.4417020082, 0.3326849043, 0.6074353456, 0.8805855513, -0.9332331419, 0.2720997632, -0.9261879325, -0.0772918537, -0.1547604352, -0.4925296605, -0.8085980415, -0.1547456086, 0.0122784199, -0.2545316517, 0.2411560863, -0.2224153727, 0.5973453522, 0.4133989215, -0.2954806387, -0.3855240941, -0.3845148385, 1.0379830599, -0.3725716472, 0.391957283, 0.5187348127, 0.0111854626, -0.1863821894, -0.7313470244, -0.3682492077, -0.1262063533, 0.087660864, 0.1571667343, -0.0521530211, 0.0204136819, 0.2343745232, 0.2459254712, -0.1844085455, 0.5088321567, -0.4009553492, -0.1366250962, 0.5123620629, 0.056046173, -0.0170130786, -0.0213063229, -0.3920314014, -0.0298204757, -1.1842554808, 0.109466657, 0.5253559351, 0.4643450677, 0.1143289953, 0.4405198097, 0.0630106255, 0.2791754603, 0.0462610498, 0.0339803733, 0.3363880515, 0.2968120277, -0.2333123982, 0.1260846257, 0.6969781518, 0.3319336474, 0.5473999977, -0.2382384688, -0.480701685, -0.3519924581, 0.0793586522, -0.8198897243, 0.0743436366, 0.1545654535, -0.5959405899, -0.1570696533, -0.0016533118, -0.6903568506, -0.5966027975, -0.3844873309, 0.4763195813, -0.3409225941, -0.4101610184, 0.3384248614, -0.0170627404, 0.0850201324, 0.1007803828, -1.0179960728, 0.1045485884, 0.6448889375, 0.5662773252, 0.000205138, -0.5168067813, -0.8603380919, -0.0258392561, -0.1259530038, 0.4419685304, -0.219764635, -0.5343960524, 0.3140989542, 0.2722079754, -0.1945592314, -0.6529031396, 0.489244014, -0.458232373, 0.3512136936, -0.2218095511, -0.7432620525, -0.3198117316, -0.0549506247, -0.463226974, 0.9063503742, -0.0877992958, -0.6178609729, 0.7866925597, -0.4834657013, -0.4510591328, 0.242413342, -0.1420960873, -0.7541571259, 0.2508360445, -0.0587888956, 0.8869097233, -0.1962581575, 0.5934700966, -0.3847202063, -0.4835099578, 0.3370445967, -0.9405733347, 0.9702593088, 0.1944737136, -0.3986416757, 0.1896459013, -0.5950078964, -0.055331666, 0.1974103004, -0.4675940275, -0.3853925765, 0.0798534974, -0.1525589526, -0.0795806423, 0.2338120937, -0.3964096606, 0.2606268525, -0.4239716828, 0.5473659635, 1.2168762684, -0.029845329, 0.5856305361, -0.2323317528, 0.2599777281, 0.0077503989, 0.0417844951, -0.3763221502, -0.1331845373, -0.7129024267, -0.3338139057, 0.3792526722, 0.4120623171, -0.5836305022, 0.386007905, -0.0510762781, -0.2152510285, -0.5210134983, 0.7495489717, 0.485766083, 0.4241685271, 0.157978341, 0.1198416725, -0.3609711826, -0.5666348934, -0.4043527842, 0.0131054828, -0.2095912844, 0.4502061605, 0.3459109664, -0.1741457731, 0.8462741375, -0.2571511567, -0.2565219104, -0.6229147315, 0.0754005462, 0.2945995927, 0.46353212, 0.2782218158, -0.842707634, -0.2127873003, -0.3767524362, -0.7252754569, -0.2222016752, -0.2179944217, 0.2101151347, 0.5130853653, 0.7683609128, -0.6271220446, 0.4329587221, 0.1736333072, -0.1270498782, 0.5532049537, -0.5261438489, -0.2213585228, -0.9588404298, 0.1440450996, -0.1930524409, -0.076666683, -0.3922951519, -0.2013476342, 0.2208774835, -0.1023112833, -0.7887414098, 0.7112067342, -0.6179972291, 0.214114517, -0.4059310257, -0.2101831138, -0.0819338113, 0.6267297268, 0.085950762, 0.7830200195, 0.7001241446, -1.0226466656, -0.1541007012, 0.0603226982, -0.2103447318, 0.369245857, -0.7021297812, 0.3274741471, -0.4191706777, 0.2006279826, -0.6137626171, -0.0570221469, -0.0135458801, -0.2807650566, 0.4091939032, -0.4760173559, -0.6444994807, -0.0629696622, -0.4134607017, 0.29323861, 0.7249789238, -0.9263191819, 0.3801815212, 0.3346904516, -0.1445001811, -0.6050251722, -0.4495185018, -0.0944292322, -0.6768895984, -0.1469501257, 0.0539441407, -0.1210259646, -0.097253263, -0.1652694941, 0.0063623586, -0.00323819, 0.1869674921, 0.485383451, 0.3337637782, -0.1609745622, 0.3499402106, 0.1016245112, -0.4593060017, 0.0374780148, -0.4128763974, 0.438021332, -0.085977003, -0.3094708323, -0.3702423573, 0.2192083746, 0.642179966, -0.1286494434, 0.9272027612, 0.5200153589, -0.3996188939, -0.6086581945, -0.5063151121, -0.2628946304, -0.6535443068, 0.0776938722, -0.1628253013, -0.9795820117, 0.2520460188, -0.3656013608, 0.2772421539, 0.1915026307, 0.7318623066, 0.0016430523, 1.0471537113, 0.7424314618, -0.1291068941, 0.4279852509, -0.171752736, 0.038805265, -0.5182698965, -0.4176265895, -0.4314828217, -0.0491820984, -0.5012763143, 0.0087394295, 0.2166690081, 0.1631404161, -0.2592223585, -0.02908439, -0.4179730415, 0.8105742335, 0.6425963044, 0.0779413879, 0.0756365955, 0.090014182, -0.0228421818, 0.0711795688, -0.7984364629, -0.4589188695, 1.0024427176, 0.3966532648, 0.8604388237, -0.062594831, 0.6795396805, 0.2784499228, 0.1534530073, -0.8865295649, 0.6636381745, -0.3396046162, -0.2674966455, -0.1998607367, -0.7451115847, -1.2670732737, -0.0234745163, 0.0232703555, -0.818639636, 0.047308933, 0.3048789799, -0.34407565, 0.4355161786, -0.8378741741, 0.7352969646, -0.2610723972, -0.4846267998, -0.1534363031, -0.3987763226, 0.1665361673, 0.0023934434, -0.0203868225, -0.1270688772, -0.0064433045, 0.8343780637, -0.4294252992, 1.2588354349, -0.4395551682, -0.0973303989, 0.3497637808, 0.1107128263, 0.4309761226, 0.1407240033, -0.2572496533, 0.0880576968, -0.2238936573, -0.3838406503, -0.3554458916, 0.6462675333, -0.4164209068, -0.4957073927, -0.3266742229, -0.5477112532, -0.2928415835, 0.3709480762, 0.487682879, 0.4574111104, 0.1139002666, 0.5244176984, 0.9840637445, -0.4155471325, 0.5169190168, 0.8044900298, 0.1403731555, -0.0728627816, 1.2172619104, 0.1246893108, 0.0841895342, 0.1401497722, 0.5631539226, -0.66558218, -0.5987336636, -0.4582338333, 0.1687813401, -0.6570764184, -0.484886229, -0.4156708121, -0.1354317516, -0.3156366944, -0.2892584503, -0.2178657055, -0.1065136716, -0.5406742096, -0.2186923325, 0.5822361708, 0.7978675365, 0.0271411221, 0.3063858449, -0.8192474246, -0.1412642747, 0.1461259574, 0.5863012671, 0.0430368781, -0.7235360146, -0.1324268878, -0.1685099453, -0.0945513919, -0.3704940975, 0.2708440423, 0.3341422975, 0.6197858453, 0.5809744596, 0.3050432801, 0.3403475285, -0.5208961368, 0.4534260929, 0.2442388386, -0.9109573364, 0.3968359828, -0.4945641756, 0.3044659495, 0.9674161673, 0.3267481923, -0.5371692777, -0.133398816, -0.7594342828, -1.2296802998, 0.6194428205, -0.4023885429, 0.4517782331, 0.0051193596, 0.5308552384, 0.5290281773, 0.4195581377, -0.5121977329, -0.1152525544, 0.1143253595, -0.3339557648, -0.0032496052, -0.444968164, 0.1611976922, -0.0994177237, 0.6753150225, -0.1541278809, -0.2590180337, -0.229494065, -0.4916278124, 0.0322411507, 0.3946766257, 0.089832969, 0.5051637292, 0.0617221333, 0.2113170177, 0.4953956604, -0.3810921013, 0.0716047585, -0.1979038268, -0.3674882054, -0.2536566854, 0.1070640981, 0.5166044831, 0.5666571856, -0.8777695894, 0.608618319, 0.1098060459, -0.3980284929, -0.1660839617, 0.1779825389, -0.0884601325, -0.1130132601, 0.3020237684, -0.2861916125, 0.0100079421, -0.4563307762, 0.4887925386, 0.2274247855, -0.4790793061, -0.1849995703, 0.4732681215, 0.2559533417, -0.2268136591, 0.8163394928, -0.3379301727, -0.5249724984, 0.2382156998, 0.5446738601, 0.8391156793, -0.1838677377, 0.1352157295, 0.0908382237, 0.0207837541, -0.279979825, 0.0947948024, -0.2140991092, -0.4280355573, -0.4096531272, -0.5708975792, -0.3462586999, 0.4440529943, -0.6294252276, 0.2426751852, -0.6413294077, 0.2000002712, -0.2119533718, -0.0216758773, -0.5104552507, -0.0151130995, 0.0587584935, 0.9229688644, -0.7600536346, 0.5916879177, 0.5101544261, -0.3666983247, -0.7692520022, -0.026191961, 0.3926564157, -0.9260668159, 0.4029823244, 0.4234518409, -0.2931511998, -0.0659632459, -0.5971619487, -0.2023661435, 0.857565999, 0.6110928059, -0.5465941429, 0.3074036837, 0.0547755994, 0.0374474674, 0.0448572226, 0.0368334092, 0.4967786372, 0.1811312586, -0.0573541522, -0.6322630644, 0.1800740361, -0.144477278, -0.5204113126, 0.3361564577, -0.6926560402, 0.7258762717, -0.3354352415, -0.3595537543, 0.0373554043, 0.4778483212, 0.2507376373, 0.5821437836, 0.9046403766, 0.1913751215, 1.0124228001, 0.1071335971, 0.6971760392, -0.0299630854, 0.3800926507, 0.9739441872, -0.362724483, 0.6816052794, 0.3957446218, 0.1593323201, 0.1636815667, 0.5960067511, 0.11207816, 0.342271179, 0.3694376945, -0.454169482, -0.2131253034, -0.2855219543, -0.0928483084, 0.4645265043, 0.3657664061, -0.1904984713, -0.3288538456, 0.2378279567, 0.4052678347, 0.0601263717, -0.4738382101, 0.9037684798, 0.3113123477, -0.5961825848, 0.5556833148, -0.1429686546, 0.8132431507, -0.7273917198, 0.0457679667, -0.1906618774, 0.5685496926, -0.1853147745, -0.7230141759, 0.0188481305, 0.2687968314, -0.2123362273, -0.692599833, 0.7830955982, -0.6215916276, -0.3065113425, 0.2814459205, 0.5203611851, 0.2581593692, -0.0802127793, -0.8933752179, -0.1338377446, -0.1143895537, -0.3879886866, 0.6793010235, 0.7550804615, 0.0268312711, 0.7723680735, 0.8446142077, -0.0200975481, -0.3967279494, 0.6097666621, 0.7770812511, -0.5947006345, -0.6196669936, -0.9771007895, 0.4228906333, 0.1220193282, -0.417822212, 0.8301920295, 0.4757838845, 0.6400724053, 0.2188264877, 0.6854116321, 0.320243001, 0.4259964824, -0.8769884706, 1.0267561674, -0.6799041629, 0.3998999596, -0.0428632386, -0.5466281772, -0.1107461154, 0.1573256701, -0.2189127058, 0.2662540376, 0.4367052019, 0.7114277482, -0.1908411235, -0.0394643433, 0.3248457313, 0.0191048216, 0.0250743032, 0.3636054695, 0.8720932007, 0.2490345538, 0.6401780844, 0.046279978, -0.3009774387, -0.2872306705, -0.9763071537, -0.9168234468, -0.5930413008, -0.2055308074, -0.5149302483, 0.2422910333, 1.0209025145, 0.6516595483, -0.6570963264, -0.19444637, -0.1104462072, 0.176873669, -0.1749631464, -0.2112606913, 0.6210666299, -0.6370951533, -0.521658659, 0.4601727426, 0.1764980704, 0.0300261062, -0.239222154, -0.1371894032, 0.1496302783, -0.0635739416, 0.5132861733, 0.5479427576, -0.1576214433, -0.0493250079, -0.064370431, 0.2468109131, -0.2495341599, 1.193782568, -0.7894823551, 0.0356372334, 0.2836488187, 0.8942331076, 0.2601881027, -0.2464260161, 0.5995208621, -1.1055227518, 0.3196287155, 0.2173700482, 0.5910155177, 0.3737437427, -0.5911905766, 0.1853555143, 0.0244406108, -0.6689081788, -1.1192032099, 0.0776697546, -0.5363022089, -0.4712766409, 1.2751921415, -0.1108669639, -0.4914622009, -0.265539974, -0.2109137326, 0.1386766732, -0.6292636991, 0.7269025445, 0.361000061, 0.2519312203, -0.0835664347, -0.4996603131, 0.5923461914, 0.7484331727, -0.5164557695, 0.817982018, 0.3481914997, 0.4780994952, -0.367508024, 0.6430458426, 0.0193149708, 0.4454447925, -0.2525632381, -0.2027920932, -0.30734694, -0.5463115573, -0.6897589564, 0.0518102907, 0.0336666331, -0.2829308808 ]
http://arxiv.org/abs/2406.12036v4
http://arxiv.org/pdf/2406.12036v4
MedCalc-Bench: Evaluating Large Language Models for Medical Calculations
2024-06-17T19:07:21
2024-06-30T15:12:10
Nikhil Khandekar, Qiao Jin, Guangzhi Xiong, Soren Dunn, Serina S Applebaum, Zain Anwar, Maame Sarfo-Gyamfi, Conrad W Safranek, Abid A Anwar, Andrew Zhang, Aidan Gilson, Maxwell B Singer, Amisha Dave, Andrew Taylor, Aidong Zhang, Qingyu Chen, Zhiyong Lu
cs.CL
cs.CL, cs.AI
As opposed to evaluating computation and logic-based reasoning, current benchmarks for evaluating large language models (LLMs) in medicine are primarily focused on question-answering involving domain knowledge and descriptive reasoning. While such qualitative capabilities are vital to medical diagnosis, in real-world scenarios, doctors frequently use clinical calculators that follow quantitative equations and rule-based reasoning paradigms for evidence-based decision support. To this end, we propose MedCalc-Bench, a first-of-its-kind dataset focused on evaluating the medical calculation capability of LLMs. MedCalc-Bench contains an evaluation set of over 1000 manually reviewed instances from 55 different medical calculation tasks. Each instance in MedCalc-Bench consists of a patient note, a question requesting to compute a specific medical value, a ground truth answer, and a step-by-step explanation showing how the answer is obtained. While our evaluation results show the potential of LLMs in this area, none of them are effective enough for clinical settings. Common issues include extracting the incorrect entities, not using the correct equation or rules for a calculation task, or incorrectly performing the arithmetic for the computation. We hope our study highlights the quantitative knowledge and reasoning gaps in LLMs within medical settings, encouraging future improvements of LLMs for various clinical calculation tasks.
[ -0.1254877597, -0.6931762695, 1.1926929951, 0.296620369, -0.1051794365, -0.1249360293, -0.3694680929, -0.2398169339, -0.0492852964, 0.3914113045, -0.4625399411, -0.7681150436, -0.6575661898, 0.1218819246, -0.2184176445, 0.5665224195, -0.0802182481, 0.8002517819, -0.6128386259, -0.3555579782, -0.3922800124, -0.5066167712, -0.6556236148, -0.4734184146, 0.5175444484, 0.3139271736, 0.6793923974, 0.3640881777, 0.8951917887, 0.2573438287, 0.1944541186, 0.309905678, -0.3284544349, 0.0072663771, -0.2560014129, -0.6107936502, -0.5763661861, -0.0030825622, 0.5549271703, 1.0657584667, -0.2713436484, 0.0476135574, -0.6349798441, 0.7936199903, -0.6426214576, 0.4058909416, -0.3392722309, 0.0760789663, -0.1057377681, -0.1970778555, -0.4779564142, -0.7411369681, -0.0373347402, -0.4158581197, -0.0304386001, -0.0555812269, 0.4391442537, 0.3060518205, -0.2730049789, -0.2099064291, -0.4439245462, 0.7588428259, -0.8074031472, 0.3598541617, 0.7790054679, 0.7808773518, -0.3372297585, -0.7161489129, -0.2699886262, -0.486438632, 0.1104159355, 0.145385474, -0.0923185423, 0.070979245, 0.3578879535, 0.3308699429, -0.5457565188, 0.2207966447, -0.314043045, -0.0641672164, 0.6663814187, 0.5758066177, 0.245250091, 0.0444778949, -0.1276753992, -0.0491103381, -0.8992210031, -0.2582418919, -0.6063418388, -0.0150183719, -0.2216496319, 0.6354840398, 0.0686522648, 0.7158626914, -0.2193871588, -0.3362115026, 0.1775656939, -0.2684825063, -0.2458247095, 0.1208536923, 0.8272494674, 0.6355511546, 0.3102101088, -0.1855285019, -0.1294893622, 0.1640390456, 0.3441980481, -0.8951407075, -0.0338166207, 0.1968339533, -0.4901275039, -0.3267962635, -0.3753846288, -0.446143657, -0.7039400935, -0.3842290044, 0.1491959542, -0.4503148794, 0.079850316, 0.1515873075, 0.2578109205, -0.1159885824, 0.4514552653, -0.3996821642, 0.7096375823, 0.5131242871, 0.6340587139, -0.0750988573, -0.0557089895, -0.3869835734, -0.3097658455, -0.4992320538, 0.9410396218, -0.43203637, -0.509850502, -0.0202573761, 0.0816286281, -0.1571001112, -0.9602556825, 0.7486389279, -0.2195297182, -0.1427661777, -0.3868676424, -0.6987370849, 0.1052402034, 0.2031608075, -0.7169311047, 0.7122522593, 0.4025759399, -0.4521782994, 0.3165821731, -0.5356017351, -0.4254134893, 0.1091605127, -0.5912107825, -0.2586475909, 0.1444577724, 0.2638073862, 0.2488458157, -1.1674948931, 0.5002243519, -0.2936273813, -0.2488007247, 0.7373946905, -0.3312472105, 0.5209691525, 0.3583984077, -0.0871824771, -0.1275328249, -0.7771615386, 0.2937175035, 0.1045026183, -0.2363200635, -0.2645341754, 0.1230940223, -0.072144933, 0.3107147217, 0.0579299778, -0.5460976958, 0.0306987278, -0.3911100328, 0.3188014925, 0.4776738286, 0.0037839557, 0.0625817701, -0.6399970651, 0.5456796885, -0.2327300906, 0.1665775329, 0.0455229543, -0.2583651245, -0.2680653334, -0.375993073, 0.4765217304, 0.529317677, -0.4418376684, 0.1234093681, -0.1851388216, -0.5701221228, -0.523152411, -0.2544948757, 0.5818035007, 0.7732735276, 0.2445241809, -0.0332898535, -0.4891445339, -1.0968908072, -0.2562333047, -0.0958374664, -0.0030695666, 0.6976866722, 0.3491303921, -0.2533236444, 0.8610191941, -0.5208078027, -0.2567548752, -0.0708295777, -0.0012510782, 0.365360707, 0.3321936429, 0.7132065892, -0.467620641, -0.2190436572, 0.1193746626, -1.0563294888, -0.5790745616, 0.0894532725, -0.0001967988, 0.0139772939, 0.545614779, -0.5640615225, 0.4760844409, 0.4833585322, -0.0868473947, 0.7007471919, -0.4274042249, 0.5930861235, -0.6969967484, 0.2343529463, 0.061461851, -0.2747656107, -0.2726466358, -0.054020986, 0.3079743981, -0.0348495431, -0.2684040964, 0.7023135424, -0.0627504587, 0.0447543971, -0.2024193406, 0.244072482, -0.1140002608, 0.0134801371, -0.2037505805, 0.7774264812, 0.2364606708, -0.3881498575, 0.3413955271, 0.1053595766, -0.60461694, 0.719635129, -0.6055255532, 0.0012581281, 0.0420704596, 0.2411860973, -0.8023099303, -0.1788692772, -0.2765369415, -0.3104219735, 0.1835517436, -0.0110437414, -0.7686818242, -0.6343283057, -0.1091925353, 0.8594546318, 0.280706495, -0.2557574511, 0.3430740833, 0.5820522904, -0.3005799949, -0.3158723414, -0.7184842229, 0.0424522087, 0.2010215074, -0.6754422188, 0.2705265582, -0.1678225398, -0.4915510416, -0.1616204381, -0.105789654, -0.3171387613, -0.1132602245, 0.4082987607, 0.4218327105, -0.2006903738, 0.3616789281, 0.0185043998, -0.1278649122, 0.4640173912, 0.1205030531, 0.5530740619, -0.1943597943, -0.7273916006, -0.3094892204, 0.2713275254, 0.9750166535, -0.2208556533, 0.6245213151, 0.0639000759, -0.7761441469, 0.1219325066, -0.9855633378, -0.0437039845, -0.316896826, 0.5758504272, -0.3410033882, -0.6003292203, 0.5814529657, -0.4185441732, 0.0711839423, 0.4820083082, 0.9650292397, 0.014136523, 1.3351984024, 0.0834231228, 0.2459787726, -0.1033952683, 0.0118172271, 0.048202455, -0.6497171521, -0.4157671928, -0.5782729983, -0.1322274208, -0.2789639831, -0.6786293387, 0.7141819, -0.3861712813, -0.2812191844, -0.0211738292, -0.1403797865, 0.3553759456, -0.0029170192, 0.4608314037, 0.2068987489, -0.1646413356, -0.7029299736, -0.2293619215, -0.5647261739, -0.3338697851, 1.3268239498, 0.286942184, 0.9402987957, -0.0531972349, 0.432425946, 0.4396752417, 0.6128019691, -0.9327487946, 0.634790659, -0.386680305, -0.5652810931, 0.0432552472, -0.71462816, -0.8776185513, 0.2309159189, -0.1522575766, -0.4964386821, -0.1628213525, -0.2354191691, -0.3721970618, 0.1187204272, -0.7923637629, 0.8373372555, -0.4836758673, -0.3691150546, -0.4284959435, -0.4102215171, 0.2996887267, -0.3586555421, 0.6159723997, -0.2403125912, -0.0787656456, 0.6188156009, -0.8094649911, 0.5641836524, -0.1882850081, 0.025730988, -0.0074586556, 0.2619257569, 0.1197883785, 0.1194095016, -0.3439232409, -0.1711824685, 0.5392974615, -0.3855323792, -0.7445452809, 0.7877029181, -0.5542422533, -0.319874078, -0.4977886081, -0.7463493347, -0.6935161948, 0.1562158465, -0.1298503131, 0.6157574058, -0.5365205407, 0.1944954693, 0.3111717403, -0.246140182, -0.1099090725, 0.9165231586, -0.3212580085, -0.5769729018, 0.3874735534, 0.0187857822, 0.2248501629, 0.2065909654, 0.4354566634, -0.3409129977, -0.5725857615, -0.3625216782, 0.491764605, -0.7951353788, -0.2820139229, -0.3970710635, -0.2871557772, -0.1221278161, -0.082923755, -0.3861127496, -0.3470802307, 0.2631757855, 0.1436386704, 0.2945692837, 0.5170248151, 0.0916499868, 0.075983271, -0.8510729074, 0.2665396035, -0.0174258463, 0.4848136604, -0.1577893347, -0.358229816, -0.2999949157, 0.0652568191, -0.0142208589, -0.7275875807, 0.3766239882, 0.0086203152, 0.6495540142, 0.2865152061, -0.0925945267, 0.7226677537, -0.7245031595, 0.2726554871, 0.5193052292, -0.503247261, 0.409894675, -0.0642303601, 0.4877558947, 0.8206374645, 0.2034047395, -0.4840934873, -0.0403207131, -0.3620552123, -0.4298403561, 0.6194976568, 0.0996109471, -0.4037424922, -0.127962485, 0.4086513519, 0.0360298902, 0.1003268585, -0.1342142671, -0.1499884725, 0.4593803883, -0.525826335, -0.1048051715, -0.0431577489, -0.4530754089, -0.5612893701, 0.2791289687, -0.1304650158, 0.1739080697, 0.3000834584, -0.1395613253, -0.2989064157, 0.315297991, 0.648930788, 1.1456843615, -0.3306604624, 0.1352656037, 0.5110793114, -0.7015685439, -0.1244688034, 0.3137572408, 0.2524328232, -0.0605645105, 0.1991178095, 0.3241197169, 0.6270967722, -1.2717087269, 0.6981196404, -0.3635216951, -0.3753814399, -0.3911326528, -0.1904996186, 0.1314981878, 0.1113914102, 0.0665846094, 0.196900934, 0.0559504479, -0.5362684131, 0.2813192904, 0.322045207, -0.3793102503, 0.0585135408, 0.4504662454, -0.0480273068, -0.1506923735, 0.6109603643, 0.2572709918, -0.3162027299, 0.7916357517, 0.7493767142, 0.4375646114, -0.1251024753, -0.0559382029, 0.3984526098, 0.1602648795, -0.0278995596, 0.339727968, 0.1952008605, -0.3917383254, -0.4903292954, -0.5568830371, -0.5975549221, 0.1083367243, -0.5457492471, 0.3140602112, -0.6438989639, -0.4907935262, 0.2713303566, 0.0016464945, -0.703111589, 0.3509485722, 0.1623267978, 1.0958909988, -0.4331004322, 0.709713459, 0.6981753707, -0.1989228278, -0.6987146735, -0.6145785451, 0.09584333, -1.0412372351, 0.5335549116, 0.0105958637, -0.1272316426, -0.5173727274, -0.5148021579, -0.4507716298, 1.0465335846, 0.5783447027, -0.6018180251, -0.0042010257, 0.3464848101, 0.6860705018, -0.5740261674, 0.6015708447, 0.8291243315, 0.460567385, 0.1540251225, -1.3150525093, 0.1780167669, -0.4413249195, -0.3761745393, 0.2842792869, -0.3598339856, 0.8822526336, -0.3589741886, 0.096901387, 0.2300830781, -0.1976064444, 0.5236070156, 0.5952896476, 0.3267212212, 0.7055505514, 0.8719314933, -0.2169265747, 1.3235223293, -0.3817811608, 0.2390151918, 0.9134575725, -0.5905869007, 0.6742369533, 0.2231647372, -0.6435299516, 0.3651167452, 0.4457970262, 0.037936043, 0.2554454207, 0.5493738055, -0.4139325023, -0.4755673707, -0.1705483794, -0.4797421992, 0.205324769, 0.7468758225, -0.6608800888, -0.3267011642, -0.1928258091, 0.1878090799, 0.1235241592, -0.3957411051, 0.5467897654, 0.3928914368, -0.7112258077, 0.9268925786, 0.0476366915, -0.1046131253, -0.7636927366, -0.1819148511, -0.0816022009, 0.4886255264, -0.3980659544, -0.7402088642, -0.019982025, 0.1839936227, -0.1733298004, 0.1909515262, 0.5786159039, -0.0789217576, -0.6390945315, 0.1535176039, 0.6052415371, 0.3573883772, -0.1177307516, -0.6047177315, 0.0083348183, -0.2872137129, 0.3307263851, 0.4270817637, 0.3876104355, -0.1848757863, 0.8025580049, 0.6202964783, 0.1098234802, -0.1306315213, 0.7172537446, 1.0078961849, -0.6550137997, -0.0660386384, -0.7634171844, 0.0273202229, -0.0004235188, -0.1825731993, 0.2011168599, 0.7139667273, 0.0944824889, 0.0082500512, 0.5535361171, 0.1620032191, 0.5829425454, -0.4947316349, 0.8389260769, -0.6494142413, 0.2658926845, -0.021110896, -0.5555590987, -0.4938616157, 0.561065793, -0.6394789219, 0.0506633259, 1.1459364891, 0.6336519718, 0.0968498588, 0.3166850209, 0.4323054552, 0.364161998, 0.2093016356, 0.8882536292, 0.7052133083, -0.2706058621, 0.2851331532, -0.2083517313, -0.6765965223, -0.1930939853, -0.5641878247, -0.8613157868, -0.1921995431, -0.0912824869, -0.4046183228, 0.0560991615, 1.1758726835, 0.7243664265, -0.8646327257, -0.3347511292, 0.0001241056, -0.2400235683, -0.0985799283, -0.1300819516, 0.5476392508, -0.2907382548, -0.3698709607, 0.5458703041, 0.3350424469, -0.3633230031, -0.1226321161, -0.0052583385, -0.1442221701, 0.0485259071, 0.6651780605, 0.20285514, -0.6076142192, 0.1745337248, 0.1551333368, -0.4249992967, 0.1818941534, 1.0063595772, -1.0150252581, 0.6228042841, 0.1690827012, 0.7717657685, 0.5758304, -0.1303658783, 0.5791575909, -0.0802407488, -0.083731927, 0.5421154499, 0.6372705102, 0.0912258625, 0.0679769665, 0.5061932206, 0.1470766664, -0.757471621, -0.717517674, -0.0862685218, -1.0841240883, -0.2018426061, 0.8945671916, -0.1129162088, -0.4030139148, -0.0375250541, -0.4167481363, 0.0530591719, -0.1885527968, 0.6641695499, 0.5512537956, -0.2975985706, 0.0672619492, -0.9853321314, 0.2449792624, 0.6046048999, -1.0067511797, 0.0371093303, 0.6295141578, 0.3492394686, -0.0753167197, 0.6249661446, -0.7722379565, 0.7136784196, -0.0961652473, -0.1310647428, 0.0516239032, 0.0576891229, 0.0025454129, 0.08056885, 0.1801286191, 0.1230700091 ]
http://arxiv.org/abs/2406.12034v1
http://arxiv.org/pdf/2406.12034v1
Self-MoE: Towards Compositional Large Language Models with Self-Specialized Experts
2024-06-17T19:06:54
2024-06-17T19:06:54
Junmo Kang, Leonid Karlinsky, Hongyin Luo, Zhen Wang, Jacob Hansen, James Glass, David Cox, Rameswar Panda, Rogerio Feris, Alan Ritter
cs.CL
cs.CL, cs.LG
We present Self-MoE, an approach that transforms a monolithic LLM into a compositional, modular system of self-specialized experts, named MiXSE (MiXture of Self-specialized Experts). Our approach leverages self-specialization, which constructs expert modules using self-generated synthetic data, each equipped with a shared base LLM and incorporating self-optimized routing. This allows for dynamic and capability-specific handling of various target tasks, enhancing overall capabilities, without extensive human-labeled data and added parameters. Our empirical results reveal that specializing LLMs may exhibit potential trade-offs in performances on non-specialized tasks. On the other hand, our Self-MoE demonstrates substantial improvements over the base LLM across diverse benchmarks such as knowledge, reasoning, math, and coding. It also consistently outperforms other methods, including instance merging and weight merging, while offering better flexibility and interpretability by design with semantic experts and routing. Our findings highlight the critical role of modularity and the potential of self-improvement in achieving efficient, scalable, and adaptable systems.
[ -0.5239217877, -0.6892952919, 0.4995174706, 0.3572759032, 0.1798511893, 0.2298208028, -0.4034211636, -0.391536057, 0.6806899905, 0.6381005645, -0.5344188809, -0.3608502448, -0.4891055524, 0.0556835085, -0.3599374592, 0.6477968693, 0.2512806356, -0.0806096643, -0.2266620398, 0.0234053079, -0.6400463581, -0.4294194281, -0.3602616787, -0.2305689007, 0.5717878938, 0.563557744, 0.4857174456, 0.7495889068, 0.1713641882, 0.3997841477, 0.3255467415, 0.1946407557, -0.4557921886, 0.3787541389, -0.5102981925, -0.5031909347, -1.0068116188, -0.1722085923, 0.5456439257, 0.730866909, -0.1891276836, -0.0290856995, 0.0118355379, 0.6511321068, -0.583914876, 0.0671167523, -0.7125117183, 0.1036032736, -0.3540183902, -0.0412335955, -0.3620569408, 0.3720277548, 0.1046191528, -0.4862035215, -0.0414981097, -0.0398247354, -0.1323549002, 0.4733705819, -0.4297774434, -0.1297287345, -0.5447692871, 0.9232541323, -0.9734489322, 0.3979984522, 0.1476158649, 0.2506795824, -0.316444993, -0.4223531485, -0.3266972005, -0.0173926335, 0.1465766877, 0.386121273, 0.0385349877, -0.0197763313, -0.2146861851, 0.5145266652, -0.4454886913, 0.3632847369, -0.4357281923, -0.1896487027, 1.0697948933, 0.3341861665, 0.4945904016, -0.1339533925, -0.3833786249, 0.3821826279, -0.5962385535, -0.2360771298, 0.3614577651, 0.0572490953, 0.1094030216, 0.619564116, -0.4634549916, 0.627561152, 0.2959462106, -0.1268634349, 0.0649886876, -0.2128728479, -0.1645795256, -0.001794113, 0.99165833, -0.02951614, 0.1868696362, -0.4400486648, -0.3284386992, -0.4417364597, 0.4665367603, -0.3813233972, -0.6282911301, 0.2397613227, -0.3759096563, -0.2058983296, -0.1922572851, -0.6843069196, 0.0303996652, -0.4666767716, 0.6204973459, -0.3681107759, -0.4929371178, 0.2315324992, 0.121027559, -0.1798440963, 0.4108467102, -1.3220251799, 0.3532861173, 0.6645588279, 0.6283336282, -0.6731240153, -0.5354355574, -0.0562612079, 0.6352434158, -0.457378, 0.6946167946, -0.5676879883, -0.6734137535, -0.4339645505, -0.4920496643, -0.0933720693, -0.7125672102, 0.1240238175, -0.4694587886, 0.0845293328, 0.0513597317, -0.7326304913, -0.0794459656, 0.2302910089, -0.4263527393, 1.072460413, 0.1545525342, -0.4433424473, -0.0425474197, -0.7196347117, -0.7169608474, 0.1303913295, -0.2895889878, 0.2192730755, 0.3810633421, 0.2136899531, 0.7038571835, -0.1140048057, 0.2118939012, -0.433021754, 0.1119900644, 0.2300845385, -0.2789469361, 0.4797427356, 0.339166671, -0.2020344436, 0.1528538465, -0.77512604, 0.1648623645, -0.1503370106, -0.602016151, -0.435603261, 0.2376201451, -0.3364844918, 0.1129177511, 0.8296449184, -0.3828072846, 0.5238070488, -0.3171656728, 0.4012992084, 1.1322411299, -0.3710353673, 0.8118412495, -0.2614074051, 0.3983678222, 0.1288813204, 0.1464401186, -0.3988908529, -0.61247015, -1.0817489624, -0.6405485868, 0.1448024064, 0.3256947398, -0.559166193, 0.7388681769, -0.3021893799, -0.4592366517, -0.5312795043, 0.5309992433, 0.189899236, 0.5669459105, 0.6266020536, -0.381480515, -0.3565552235, -1.2843621969, -0.1578229964, -0.0356123745, 0.1011479571, 0.0750032589, 0.1699274033, -0.5284966826, 1.255625844, -0.5439295769, -0.2271826118, -0.1972100586, 0.0645020232, 0.0948646218, 0.8126959801, 0.3354085386, -0.3677590489, -0.7142361999, 0.2158940732, -0.9183908105, -0.2597924173, 0.1404050142, -0.3200508952, -0.0093246195, 0.4986746311, -0.4802669287, -0.1524755657, 0.6456728578, -0.0238185264, 0.6045529246, -0.3572896421, -0.1400659978, -1.2962657213, -0.320453316, -0.2576800287, -0.2736288607, -0.6844246387, 0.2558509111, 0.0186921209, 0.0625091791, -0.0976365656, 0.7077303529, -0.5352469087, -0.09401346, -0.3223320842, -0.2892029881, -0.321113646, 0.4866944849, -0.1579390764, 0.9335033894, 0.9642502069, -0.679843843, 0.4641281068, -0.0279315952, -0.1392666548, 0.6008650661, -0.6053251028, 0.1603537202, 0.062173795, -0.0423175544, -0.8744624257, -0.4588696361, 0.1745808423, -0.2390116602, 0.3817330003, -0.089431949, -0.461102128, -0.1503623277, 0.0073758173, 0.5626541376, 0.5470100641, -0.2080360651, 1.0782395601, 0.4743435681, -0.4876756072, -0.4001308382, -0.9430690408, 0.2952285111, -0.047914546, -0.9217574596, 0.2567840517, -0.5240180492, -0.0870000497, 0.0439007394, -0.1087562144, -0.2293770015, 0.2173856348, -0.0077586984, -0.1509090662, -0.5257416964, 0.2916695476, 0.4338643849, -0.2682613134, 0.1570131928, -0.5605313182, 0.4143672884, -0.0214599948, -0.7078946829, -0.3828140497, 0.7056534886, 0.6353850365, -0.3743416667, 0.3756191432, 0.3286849856, 0.021218542, -0.6015494466, -0.8707690239, -0.0592176132, -0.5317095518, 0.2259688824, -0.6487319469, -1.067833066, 0.6172534227, 0.0304770749, 0.0411100723, 0.5876303315, 0.7387013435, -0.247063145, 0.8912699819, 0.4651163518, -0.2685266137, 0.3978237212, -0.1763309836, 0.1770916581, -0.8475532532, -0.1539923996, 0.0488399826, -0.5036668181, -0.3749996722, -0.6698141694, 0.4848003685, -0.1888948977, -0.035450846, 0.263958782, -0.304916352, 0.4314795434, 0.6347043514, 0.0941767767, 0.4070052207, -0.2566851377, -0.0324116573, 0.0636761487, -1.0427197218, -0.3612637818, 1.3228565454, 0.2892868817, 1.1360504627, 0.1467762291, 1.018827796, 0.4132098556, 0.3285152018, -0.7985812426, 0.8002455831, -0.1419595033, -0.767787993, -0.416379571, -0.5114229321, -0.6619238853, 0.4575535655, -0.0844714269, -0.4543500543, 0.024989225, 0.1473363042, -0.143940717, 0.2699243128, -0.774215579, 0.6795315742, -0.4754526913, -0.1272972524, -0.55590415, -0.3906133175, 0.4398491383, -0.4962423146, 0.2743225694, -0.2712605298, -0.3767202199, 0.4839539528, -0.1977895349, 0.9921286702, 0.3027134538, -0.3645559549, 0.1762612909, 0.4887995422, 0.2579606175, 0.0723480433, -0.4012922943, 0.2817721963, -0.2856470346, -0.6817086339, -0.7737985253, 0.993070066, -0.9058713913, -0.9098092318, 0.142713055, -0.7875988483, -0.3169320524, 0.3484951556, -0.0043199477, 0.5789403319, -0.1144232899, 0.2128237337, 0.7533880472, 0.1986483783, 0.3773171902, 0.6859942675, -0.0878977254, -0.5569109321, 0.9471744895, 0.4253495336, 0.3374482095, 0.4021533132, 0.2758963406, -0.0031983308, -0.6457698345, -0.4751275778, 0.0931578949, -0.8089846373, -0.0049096281, -0.8436954021, -0.0512649342, -0.4074755609, -0.327206552, -0.8890408278, -0.4293008149, -0.4510963857, 0.0512683354, -0.1650143713, 1.0588605404, -0.1677665412, 0.3008532226, -0.813426435, 0.0964497551, 0.7340028882, 0.3688366413, 0.2334123701, -0.4156222343, -0.4748036563, -0.0665117577, -0.2350403219, -0.7390604615, 0.13169007, 0.1244360283, 1.0646084547, 0.4359561205, 0.0763179213, 0.6667155623, -0.6998585463, 0.6464774609, 0.2435136586, -1.1148272753, 0.5253255963, -0.6801941395, 0.2060167342, 0.4011058509, 0.1704320759, -0.1694395393, -0.6182570457, -0.5127213001, -0.6617492437, 0.532069087, 0.1499052197, 0.5347951651, -0.1279949993, 0.2453816533, 0.3810419738, 0.2428554446, -0.7139884233, -0.2669122517, -0.0715005696, -0.3977489471, -0.0549008958, -0.3094178736, -0.1679650694, -0.2601456344, 0.5253718495, -0.2507438064, 0.1315430701, 0.1973534226, -0.2394209057, 0.0530544929, 0.3230587542, 0.5409077406, 0.9536299706, 0.3070823252, 0.3611656725, 0.3360794187, 0.1563848704, 0.0093043167, -0.4507263303, 0.0104843099, -0.3293096125, 0.4782711565, 0.4427314997, 0.6903085113, -0.496932596, 0.2999760211, 0.4657408297, -0.0611942969, -0.0682636946, 0.4991051555, 0.1736102402, 0.3997192979, 0.4703634679, 0.0547985286, 0.2733058631, -0.5914597511, 0.214127019, 0.3833362162, -0.0091697779, -0.5900740623, 0.4631756842, 0.6282755136, -0.3996054232, 0.0552504659, 0.0776620954, -0.3708436787, 0.3788071871, 0.5453056693, 0.8542969823, -0.6032274961, 0.011953366, -0.0134079726, 0.2490694523, -0.1240351498, -0.0508005321, -0.3080428243, -0.6427472234, -0.5338212252, -0.3957198262, -0.2940361202, -0.3517955542, -0.5109995604, 0.0524326824, -0.5587453246, -0.0623781644, -0.2123199999, -0.4748264253, -0.3525685966, 0.1488599628, 0.0073417258, 0.8205292225, -0.5817969441, 0.7327003479, 0.9246348739, -0.1356274188, -0.5457060933, -0.0121454466, -0.4028716385, -0.8459146619, 0.8238319755, -0.1030302867, -0.1130120531, 0.1804381907, -0.3729121685, -0.9366435409, 0.9605989456, 0.3346480727, -0.3921890855, 0.044015158, -0.0219475888, 0.5646237731, -0.5486230254, 0.1346755177, 0.1661323756, 0.3959204555, -0.0887573585, -1.130931735, -0.2409067601, -0.1594596654, 0.0085590873, 0.228956759, -0.935279429, 1.0080690384, 0.2296322286, 0.137740761, -0.1049443111, 0.9132063985, -0.2363341004, 0.0236747675, 0.3531682789, 0.7167223096, 0.6181806326, 0.3809649646, 0.8010070324, -0.504698813, 0.3377403617, 1.0144901276, -0.0969389379, 0.8987547159, 0.3822733462, -0.1304877549, 0.7065784931, 0.3358905911, 0.3247457743, 0.3961173594, -0.0943378359, -0.4425602853, -0.8476602435, 0.4702835083, -0.3480717838, 0.5882703066, 0.3678962886, -0.1358203441, -0.3119043112, -0.0050856522, -0.2365261167, 0.0154423993, -0.3779163659, 0.8778239489, 0.0520809554, -0.680595696, 0.158735916, 0.0774315149, 0.8408240676, -0.6218162179, 0.4199637175, -0.2531128824, -0.0113526387, -0.2918809652, -0.9946568608, 0.3512935638, -0.4133988023, -0.4057691097, -0.424284339, 0.7794522643, -0.512712121, -0.555113852, 0.3861270249, 0.8304319382, 0.0784102604, 0.0360117964, -0.6475853324, -0.198019743, -0.2659726441, -0.2709113657, 0.4214405417, 0.7083005309, 0.1048328057, 1.1013411283, 0.5989585519, 0.0227536, 0.4655031562, -0.3141160309, 1.0562182665, -0.5967313051, -0.7415528297, -0.7871388793, 0.6454489827, 0.0514435284, -0.1083376482, 0.8773398995, 0.5547302365, 0.8642325401, -0.2996005714, 0.8725234866, 0.0942198932, 0.2944856286, -0.6309152842, 0.6142668724, -0.8634744287, 0.2402677089, 0.0069427108, -0.8281222582, 0.0034590282, 0.4745015204, -0.3971776366, 0.1755512953, 0.3259121776, 0.7055417299, -0.6023997664, -0.3207706511, 0.6831335425, 0.2220411599, 0.2733820677, 0.3392715454, 0.812460959, 0.0336384326, 0.2343997955, -0.0406239182, -0.1995344311, -0.4891548157, -0.6337201595, -1.0477695465, -0.4136508703, -0.2673946917, 0.4086200297, -0.2030064017, 0.9305689931, 1.1995532513, -0.6175267696, -0.4703985453, 0.0092883203, 0.1877448261, 0.28401196, -0.1908195913, -0.2608273029, -0.7434093952, -0.762589395, 0.9267366529, 0.8759481311, -0.0686535239, -0.8269783258, -0.1551003009, 0.1723042279, 0.2911356688, 0.7970052361, 0.0979377925, -0.9126525521, -0.0700959191, 0.0468396172, -0.1859993637, 0.1404540241, 0.8932055235, -0.4962132275, 0.8141213655, 0.630006671, 0.9661371708, 0.2052320093, -0.1060917228, 0.7761183977, -0.5570604801, -0.083665207, 0.1695973873, 0.4322081804, 0.0914321467, -0.3568488359, 0.3459656239, 0.2329217941, -0.6374031901, -0.3640855551, 0.4757012129, -1.1624187231, -0.3282077909, 0.9873465896, -0.1825021654, -0.1408823431, -0.0988915041, -0.1040116176, -0.3242560625, -0.35991624, 0.7942116857, 0.8485070467, -0.270105958, -0.2238572538, -0.4309486747, -0.1527151018, 0.6897664666, -0.9012881517, -0.1950613409, 0.3894115984, 0.7167816162, 0.1977619231, 0.8632009625, 0.1449930221, 0.0044020051, -0.2956607044, 0.1840904057, -0.2576661706, -0.4186250269, -0.0722773597, 0.1037183776, 0.0441565141, 0.1138739064 ]
http://arxiv.org/abs/2406.12033v2
http://arxiv.org/pdf/2406.12033v2
Unveiling and Mitigating Bias in Mental Health Analysis with Large Language Models
2024-06-17T19:05:32
2024-06-19T18:28:22
Yuqing Wang, Yun Zhao, Sara Alessandra Keller, Anne de Hond, Marieke M. van Buchem, Malvika Pillai, Tina Hernandez-Boussard
cs.CL
cs.CL
The advancement of large language models (LLMs) has demonstrated strong capabilities across various applications, including mental health analysis. However, existing studies have focused on predictive performance, leaving the critical issue of fairness underexplored, posing significant risks to vulnerable populations. Despite acknowledging potential biases, previous works have lacked thorough investigations into these biases and their impacts. To address this gap, we systematically evaluate biases across seven social factors (e.g., gender, age, religion) using ten LLMs with different prompting methods on eight diverse mental health datasets. Our results show that GPT-4 achieves the best overall balance in performance and fairness among LLMs, although it still lags behind domain-specific models like MentalRoBERTa in some cases. Additionally, our tailored fairness-aware prompts can effectively mitigate bias in mental health predictions, highlighting the great potential for fair analysis in this field.
[ -0.358191222, -0.7111181021, 0.9544341564, 0.2233427167, 0.153532505, -0.1080885902, -0.277592808, -0.4207704961, -0.1210225746, 0.3103136122, -0.7924649715, -0.3779721856, -0.9342877865, 0.1040705219, 0.0619428866, 1.3294248581, 0.3063579202, 0.5553945899, -0.0578323007, -0.0197414346, -0.602478981, -0.7003370523, -0.9033084512, -0.6808740497, 0.5472288728, 0.0959095731, 0.782035172, 0.1681839675, 0.3992555439, 0.2047063261, -0.116524078, -0.1624827087, -0.6734133363, 0.0655419976, -0.4057900012, -0.4341351688, -0.7477226257, 0.1807438582, 0.5270529985, 0.8200803399, -0.2615079284, 0.31206882, 0.1550779194, 0.7212100029, -0.483040601, 0.13535586, -0.5719829798, 0.2198685855, -0.5260254145, -0.0767447576, -0.1859320998, -0.5047760606, 0.1025639027, -0.2997902334, 0.3065872788, -0.0195350666, 0.4421569109, 0.3932732642, -0.577128768, 0.0605284721, -0.4975773394, 0.9088560343, -0.8572756648, 0.2646149099, 0.402747035, 0.3877267241, -0.3024595976, -0.3927238286, -0.4099412262, 0.2344464213, 0.1784735024, 0.0214255434, -0.3478153944, 0.168619141, 0.7100637555, 0.1900782138, -0.4698323309, 0.1185024455, -0.4169392586, -0.4454607666, 0.4932923019, 0.3565233648, 0.413526088, -0.0550934412, 0.1498411447, 0.2843596935, -0.7158192992, 0.1209495366, 0.4044679999, 0.1460654587, -0.1094256863, 0.5844109058, -0.0073351674, 0.1850025505, 0.1012966037, -0.2409089804, 0.3582553864, -0.0528937094, -0.1445698291, 0.0356171802, 0.6795381904, 0.8323177695, 0.4265453815, -0.1694328487, -0.1838351339, 0.3540109396, 0.0985417515, -0.94866395, 0.0412263684, 0.2005816996, -0.6402716041, 0.0596144125, -0.2957905531, -1.1308960915, -0.6703904271, -0.3252928257, 0.0183787066, -0.2229831368, -0.2986248434, 0.2757112384, -0.0122174043, 0.0726933852, 0.349050045, -0.7923503518, 0.4491097033, 0.7191460133, 0.7055350542, -0.2114690989, 0.0705040246, -0.7954906821, 0.2156624347, -0.1329139173, 0.537078917, -0.7007104158, -0.2527404726, -0.0040686782, -0.0991064832, 0.2525664866, -0.3457089961, 0.7358965874, -0.143249765, 0.4830416441, -1.0085120201, -0.4676099718, -0.1027769148, 0.0263455641, -0.6139605045, 0.6470204592, 0.1934154481, -1.1740566492, 0.5687175393, -0.7289010286, -0.4216684103, -0.0730861723, -0.5503857732, -0.4560917616, 0.2955625653, 0.6029083729, 0.3457164466, -0.4629205763, 0.6519547701, -0.6226424575, -0.5117260218, 0.1119281873, -0.6032068729, 0.7758851647, 0.2119202465, -0.6715636253, 0.1526765078, -0.2015219331, -0.1150941625, 0.1194600388, 0.0704655498, -0.1565544903, -0.0677502453, -0.0331617594, 0.4062508941, 0.0543212257, -0.4529979825, -0.1508274525, -0.4662794173, 0.3640010953, 1.0364726782, -0.2129418105, 0.3070440292, -0.4529807866, 0.8166720271, -0.1574534774, 0.4640517831, 0.3034410179, -0.7811051011, -0.0182208885, -0.5905883312, 0.1141940802, 0.438783884, -0.5867008567, 0.1500704885, -0.2024092078, 0.0122487415, -0.6601005197, -0.0003344193, 0.3290481865, 0.3807702661, 0.1707127243, -0.3324832916, -0.3431051075, -0.9567159414, -0.5545768142, 0.075349465, -0.0548310727, 0.2050745338, 0.3226369023, -0.3332876861, 0.7995188832, -0.3092184961, -0.2686012387, -0.2290644646, -0.0440098457, 0.2523915768, 0.0902543217, 0.7712581158, -0.4384295344, -0.2318883687, -0.349485755, -0.6565653086, -0.7167480588, 0.443695128, -0.1631198078, -0.0402018018, 0.1581889987, -0.497169435, 0.3820756078, 0.6444596648, -0.4924113154, 0.3847201467, 0.109083131, 0.1496033221, -0.6519474387, 0.0049026976, 0.1586653143, -0.144819364, -0.4701313972, -0.2799066603, -0.0698012933, -0.0387793779, -0.2444316149, 0.6876444221, -0.2616322339, -0.1506661624, -0.2865963578, -0.0722236559, -0.1369307041, 0.1162622571, -0.3965138495, 0.7247578502, 0.4647865593, -0.0715868622, -0.0879473835, -0.1575662047, 0.0239436366, 0.6494365931, -0.5959286094, 0.1088948101, -0.3397330642, 0.5680899024, -0.7358907461, -0.1401666999, 0.3350336552, -0.3608053923, 0.1383164376, 0.0942021981, -0.3996464312, -0.4591165781, -0.5710493326, 0.626454711, 0.454995513, -0.1860221624, 0.408184886, 0.7180080414, -0.4677326381, -0.6717537642, -0.3663582504, -0.0498088524, -0.6397152543, -0.5435820818, 0.304797262, -0.3373472691, -0.4979346395, -0.2038377374, -0.1840689331, 0.1825615615, 0.0842677578, 0.2812410891, 0.369022727, 0.155608356, 0.1321736276, 0.0401950367, -0.1541588157, 0.347207278, -0.0882211551, 0.5057173967, -0.1991927475, -0.2905515134, -0.2325499505, 0.5233825445, 0.467846781, -0.2476773113, 0.5590478778, 0.654391408, -0.6685310006, -0.011982969, -0.7954699993, -0.3157432675, -0.4591315985, 0.3352463543, -0.111124143, -1.2412980795, 0.5305362344, 0.2188980132, -0.0152185373, 0.2567637861, 0.7941533327, 0.2521699369, 1.3933358192, 0.6577202082, -0.3668017089, 0.4140040576, 0.2512508035, 0.5470852256, -0.6144228578, 0.0272763968, -0.4533871412, -0.134452194, -0.7603052855, -0.4901172817, 0.4766494036, -0.1943956912, -0.4387457073, -0.6396000385, -0.516656816, 0.2850255072, 0.2176115513, 0.1793368459, 0.2839448452, -0.119376868, -0.172473073, -0.4784300625, -0.4713049233, -0.5217511058, 1.4026391506, 0.6927408576, 0.7810232043, 0.0929246694, 0.5072852373, 0.316129446, 0.7339018583, -0.4561165273, 0.3390280008, -0.1175146699, -0.9126935005, -0.3605188131, -0.7320659161, -0.8810963631, 0.252638489, 0.0260878336, -0.8724741936, 0.0173120871, 0.0867898837, -0.4019653201, 0.1711914241, -0.6694110632, 0.478895992, -0.2781820893, -0.3494925797, -0.2082831264, -0.4701548517, 0.6755299568, -0.3038859367, 0.6595543623, -0.7251397967, 0.1766967773, 0.7600911856, -0.1052311584, 0.6542147994, -0.3211856484, -0.3273971081, -0.2402642667, -0.0983391702, 0.2598684132, 0.384334296, -0.2613292933, 0.2525854111, 0.0681462809, -0.4870087802, -0.6345204711, 0.8600410819, -0.6989096403, -0.7776240706, -0.5173686743, -0.6451003551, -0.5484623313, 0.2191183269, 0.1226229891, 0.1835200638, -0.0485720299, -0.3248874545, 0.7031844258, -0.5469205379, 0.1596752405, 0.4998022914, -0.5093653202, -0.4507991076, 0.4931929708, 0.1841902137, 0.0521641336, -0.261213243, 0.4196042418, -0.3242078424, -0.3984217346, 0.0043397276, 0.5031296611, -0.5970675349, -0.1996011138, -0.5751896501, -0.0260307118, -0.6768263578, -0.0287624039, -0.228651762, 0.0159410741, 0.1816331297, -0.3370370865, 0.2876635194, 0.7593740225, -0.0881812647, 0.1172033176, -0.341578871, 0.3804080486, 0.3089158237, 0.6400116682, 0.267870605, -0.2625849247, 0.1374114007, -0.0532491766, -0.3843228221, -0.8762902021, 0.3154286444, -0.1970555335, 0.7842108011, 0.4959238172, 0.0438694097, 0.4466192424, -0.7105525136, 0.686422348, 0.5541716814, -0.9697752595, 0.6024726033, -0.4801677465, 0.267863065, 0.4094025493, 0.3114286959, -0.5319827795, -0.5267791152, -0.5633410215, -0.7087711692, 0.5190944076, 0.2483795881, -0.0576685667, -0.1853486151, 0.3025210798, 0.3052524328, 0.1699902415, -0.8425173759, -0.194208473, -0.1660492867, -0.3499918878, -0.0837069973, -0.3403187096, -0.4668890238, -0.4344597161, 0.4363943636, -0.1949329823, 0.3674748242, 0.091743134, 0.1943412721, -0.3424123526, 0.4053904414, 0.4575125575, 0.7445448041, -0.2258925885, 0.1684215814, 0.2562475204, -0.5487525463, 0.2426052988, 0.2023029178, -0.0569930337, -0.220754832, 0.3485870063, 0.5853942633, -0.0749415606, -0.6581169963, 0.6633848548, -0.2291692346, 0.0043385355, 0.1242955849, 0.0314790495, -0.0044808108, 0.5304844379, 0.2457389683, -0.4449086487, 0.4399843514, -0.4866970181, 0.1195771918, 0.6260953546, -0.4012914002, -0.3771165013, 0.7763510942, 0.1551408768, -0.1132562235, 0.4477064312, -0.0074648429, -0.4240320027, 0.4837186635, 0.4789275825, 0.6505728364, -0.2847681046, 0.1744662076, 0.1482181698, 0.482706517, -0.128439039, 0.460141331, 0.5336435437, -0.6883164048, -0.5725967884, -0.5263155103, -0.1729569435, 0.3151699901, -0.7510029078, 0.0278548431, -0.405942142, -0.8331537247, -0.0948372334, 0.3051493764, -1.14483881, 0.2221141756, 0.4519340098, 0.6655868888, -0.9293034077, 0.6257100105, 0.4041078389, -0.1929206997, -0.5935959816, 0.3259194791, 0.3158679903, -0.701161921, 0.3328787684, 0.443685025, -0.0611951649, -0.2841953635, -0.4933575988, -0.7191277742, 0.9262109995, 0.9597611427, -0.6409657598, -0.1117230877, 0.1046759412, 0.400100857, -0.2266221941, 0.4531735182, 0.8403577805, 0.756393671, -0.3765499294, -1.0525895357, 0.2474252135, -0.1370764524, 0.2185087651, -0.0658699572, -0.5187315941, 0.6677524447, -0.2673220634, -0.1051862016, -0.3927579522, 0.3806799948, 0.5626776814, 0.5159984231, 0.5163414478, 0.4369398057, 1.1957297325, -0.0729355291, 1.0723558664, 0.0415038913, 0.279206723, 1.1319385767, -0.7192831039, 0.1644158661, 0.4729960859, -0.4494599998, 0.0636473224, 0.6380482912, 0.2475679368, 0.5233855247, 0.504083097, -0.2557404637, -0.0628749952, -0.2824557424, -0.5109999776, 0.1428459287, 0.4509054124, -0.3125107288, -0.193310082, 0.1026873887, 0.3734685779, -0.0076613985, -0.3552998304, 0.3375806212, 0.2877611518, -0.410520345, 0.0844660103, 0.0434743688, 0.9805458784, -0.5008060932, -0.0055149565, -0.4247379601, -0.1106808111, -0.1028444245, -0.6886180043, 0.1659236699, -0.041242592, -0.4851824641, -0.0696388781, 0.7653698921, -0.2123108506, -0.5281091332, 0.7193893194, 0.7146208882, -0.026896216, -0.1703413278, -0.6551458836, 0.2289774418, -0.061031919, -0.1512354463, 0.6362344623, 0.7666188478, -0.377296567, 0.7312133908, 0.5205830932, 0.3134548366, 0.0115120392, 0.403231591, 0.6896437407, -0.7643486261, -0.3765418828, -1.0461622477, 0.2708462477, -0.1152582988, -0.1067361012, 0.7681722641, 0.2208870053, 0.39329952, 0.2400496751, 0.872941792, 0.4001092017, 0.4734011889, -0.304397136, 0.8648971915, -0.3465464413, 0.2752803266, -0.5552853942, -0.7638190389, -0.2532058954, 0.4882465005, -0.6499224305, 0.3909650147, 0.6378718615, 0.7344546318, 0.3289346397, 0.0486491881, 0.2744402587, 0.1655178517, 0.7301625609, 0.616892457, 0.7353606224, 0.0732052773, -0.0459289774, 0.1234959662, -0.4861122668, 0.0759520754, -1.0607402325, -0.9909182787, 0.0324768052, -0.0745333955, -0.3108996451, 0.3231728077, 0.7321118712, 0.5225995183, -0.6877515316, 0.001186022, 0.4335846603, 0.2265422493, -0.1490348428, -0.2243498266, 0.291397959, -0.1131911129, -0.4861277044, -0.0395448916, 0.2628392279, -0.3418809772, -0.3454396725, -0.1073170602, 0.2463609576, 0.1894529015, 0.6105126143, -0.2498045713, -0.927046299, -0.3705132604, -0.3613382578, -0.1232622936, 0.0035023591, 0.7776927948, -0.5815247893, 0.2239376903, 0.223169148, 0.5797786713, 0.0138102463, -0.2630335689, 0.9112627506, -0.3764235973, -0.177548632, 0.2619642913, 0.5577737093, 0.4214049578, -0.7263432741, 0.5402336121, 0.1034459099, -0.6136044264, -0.8033898473, -0.0301211886, -0.6530106664, -0.29228881, 1.1702541113, 0.1053160131, 0.0035609978, -0.1654784828, -0.36258322, 0.317990154, -0.6947928071, 0.984438777, 0.9339331388, -0.1502073854, -0.1604806334, -1.1527056694, 0.5636440516, 0.5821567178, -0.8534356952, 0.136487484, 0.5686218739, 0.5421948433, -0.4704751074, 1.0949219465, -0.4204525054, 0.2838915288, -0.6399137378, 0.0589372665, 0.349342078, -0.1225678027, -0.5496433973, 0.0427340344, 0.0496816561, 0.461438179 ]
http://arxiv.org/abs/2406.12031v1
http://arxiv.org/pdf/2406.12031v1
Large Scale Transfer Learning for Tabular Data via Language Modeling
2024-06-17T18:58:20
2024-06-17T18:58:20
Josh Gardner, Juan C. Perdomo, Ludwig Schmidt
cs.LG
cs.LG, cs.AI, cs.CL
Tabular data -- structured, heterogeneous, spreadsheet-style data with rows and columns -- is widely used in practice across many domains. However, while recent foundation models have reduced the need for developing task-specific datasets and predictors in domains such as language modeling and computer vision, this transfer learning paradigm has not had similar impact in the tabular domain. In this work, we seek to narrow this gap and present TabuLa-8B, a language model for tabular prediction. We define a process for extracting a large, high-quality training dataset from the TabLib corpus, proposing methods for tabular data filtering and quality control. Using the resulting dataset, which comprises over 1.6B rows from 3.1M unique tables, we fine-tune a Llama 3-8B large language model (LLM) for tabular data prediction (classification and binned regression) using a novel packing and attention scheme for tabular prediction. Through evaluation across a test suite of 329 datasets, we find that TabuLa-8B has zero-shot accuracy on unseen tables that is over 15 percentage points (pp) higher than random guessing, a feat that is not possible with existing state-of-the-art tabular prediction models (e.g. XGBoost, TabPFN). In the few-shot setting (1-32 shots), without any fine-tuning on the target datasets, TabuLa-8B is 5-15 pp more accurate than XGBoost and TabPFN models that are explicitly trained on equal, or even up to 16x more data. We release our model, code, and data along with the publication of this paper.
[ -0.1835456789, -0.879596889, 0.2938061357, 0.109384045, 0.0821363851, -0.0162805263, -0.3523477614, -0.5592234731, -0.1722940058, 0.8143846989, -0.1335324794, -0.6487967968, -0.5107588768, -0.2741244435, -0.5868760943, 1.1144483089, -0.1478399783, 0.0021229188, 0.1070239246, 0.1266786307, -0.680532217, -0.1461502761, -0.1875002682, -0.2075427473, 0.5475838184, 0.7223447561, 0.4379526675, 0.9434688091, 0.7216827869, 0.1386203319, 0.0653116554, -0.032176327, -0.7168284059, -0.2313562036, -0.1024470255, -0.6123885512, -0.5979763269, -0.1333466768, 0.857026875, 0.7719006538, -0.354398489, 0.4901822805, 0.0530903675, 0.6347426772, -0.2830668092, 0.5410121679, -0.9898289442, 0.2419628799, -0.3575887084, 0.0814100206, -0.8383886814, -0.4341754615, -0.0081174634, -0.310474515, 0.106619291, 0.335698694, 0.7061449289, -0.070644021, -0.3140339553, 0.1595853418, -0.7782370448, 0.5051258206, -0.424543649, 0.4618162811, 0.4712486565, 0.5190588832, -0.3329760134, -0.5228876472, -0.6297652721, -0.4636054933, 0.1681833416, -0.188560769, 0.0774888247, -0.0630415604, 0.3272981048, 0.1115116626, -0.9175162315, 0.2738485038, -0.7164620161, -0.0046688449, 0.3965613246, 0.0848213658, 0.0670278966, 0.0777194798, -0.4465918243, -0.1976584494, -0.7584165931, 0.1441301703, -0.0224948414, 0.6032004952, -0.077218622, 0.3755920529, -0.2714059651, 0.9204283953, 0.040110033, -0.1716657132, 0.1981386542, 0.0293692406, -0.3183609545, -0.1019741148, 0.4462389052, 0.2787214518, 0.1602329761, -0.2486127019, -0.1286023706, 0.1321222037, 0.2953070998, -0.7612276673, -0.3721303642, 0.0090542529, -0.2501426339, -0.3249731958, -0.0240407716, -0.8312196732, -0.4352618456, -0.3588595688, 0.4630770981, -0.2371510565, 0.1264859885, -0.102448225, 0.4588178098, 0.242107898, 0.5034577847, -0.8661348224, 0.3098969758, 0.4422738254, 0.6554481983, -0.5427010655, -0.3929314911, -0.8506324291, 0.2532463372, -0.717030108, 1.1822916269, -0.5868472457, 0.0579220392, 0.0351323858, 0.0927719995, 0.0818810835, -0.6288858652, 0.3728217781, -0.2944023609, -0.2828762829, 0.0174614098, -0.4566513002, -0.2454241514, 0.234640345, -0.850605309, 0.8706072569, 0.4252146184, -0.2424449325, 0.6722038984, -0.3591704071, -0.3677915335, 0.2950478196, -0.2387753576, -0.6934883595, -0.0788151771, 0.0151480511, 0.6557410955, -0.3236449659, 0.4966471195, -0.629137814, -0.1620910764, 0.3502036035, -0.1458261311, 0.150773257, 0.1210119575, -0.1679262668, 0.1299191713, -0.8476815224, 0.1453755647, -0.2012502551, -0.4426639974, 0.3879736066, -0.544270575, 0.3239421546, 0.3149353266, -0.0189089663, -0.4229204655, 0.459452033, 0.0140067199, 0.1502332836, 0.6321893334, -0.3152640462, 0.7642129064, -0.3655383587, 0.5152499676, 0.1204149872, 0.0128058866, 0.0765224323, -0.2395047396, -0.3752349615, -0.0779932067, 0.5386884809, 0.4478882849, -0.5557991266, 0.2514949739, -0.4194554985, -0.7123958468, -0.1388308257, 0.3109428287, 0.2989435494, 0.640732646, 0.3629507124, -0.1281021833, -0.4331522286, -0.8072226644, 0.0406412818, 0.0014454203, 0.2300781608, 0.1371651888, 0.4252491891, 0.0223039612, 0.5121030807, -0.5930017233, -0.7342148423, -0.849421978, 0.1768832505, 0.3643903136, 0.5039694309, 0.4234697521, -0.6311355829, -0.9822453856, 0.5211925507, -0.5061939359, 0.0426097065, -0.2183857858, -0.2471684217, 0.2298811227, 0.3529988825, -0.5559070706, 0.6440679431, 0.5156106353, -0.2935099602, 0.6932315826, -0.0092435293, -0.079451479, -1.0351376534, 0.1803135574, 0.172215119, -0.2829901576, -0.938485086, -0.1976988614, 0.3736520112, -0.2316764444, -0.44710356, 0.6416891217, -0.5510526896, -0.3085675836, -0.3305735886, -0.1106896996, -0.0315744765, 0.612000525, 0.0829698443, 0.6985007524, 0.5226513147, -0.3706817329, 0.3732659221, 0.506398201, -0.6727004051, 0.4296286702, -0.1587111205, -0.1902819425, -0.0153054791, 0.6173527837, -0.9020884633, -0.242990613, -0.0700279325, -0.4047469795, 0.6472226977, -0.2408542484, -0.0812833831, -0.4752152264, 0.0127161527, 0.1425722539, 0.3400865793, -0.3535557091, 0.5603191853, 0.5630736351, -0.2329736501, -0.7284341455, -0.7379662395, 0.0143082784, -0.2150841653, -0.2705488205, 0.3244400918, 0.1088918447, 0.1807197928, -0.0405539423, -0.212369442, -0.4158405662, -0.1358781308, 0.2617085278, 0.5688771009, -0.0702666342, 0.1211457849, -0.1945042014, 0.056787204, -0.0903424919, -0.272279501, 0.5174613595, -0.0909183472, 0.1623772532, -0.3347964883, -0.0106400261, 0.3718566597, -0.2314325571, 0.920435071, 0.8040115237, -0.5599042773, -0.6260948181, -0.5596792698, -0.0860336497, -0.37145257, 0.6729806066, -0.495039165, -0.5330092311, 0.7713921666, 0.1420551836, 0.0512190983, 0.0097677428, 0.5959234834, -0.1012723595, 0.5283410549, 0.7475547194, -0.2786803246, 0.7894752026, -0.5632202029, 0.0917103663, -0.7401530147, -0.2525393963, -0.6637721658, -0.4058306813, -0.5904203057, -0.4432389438, 0.2707112432, -0.2824234366, -0.1410229206, 0.6347438097, -0.0821750015, 0.5032827258, 0.3066087067, 0.4468704462, 0.1702984124, 0.2507883012, 0.1319238544, 0.2509166002, -0.5574551821, -0.2335019708, 1.3179795742, 0.3624492288, 1.1210727692, -0.256993562, 0.3597584069, 0.4279410541, 0.6530187726, -0.6572952271, 0.450660944, -0.2884344757, -0.5240297318, -0.6027123928, -0.7206906676, -1.0163499117, 0.0904105082, -0.3402119875, -1.0851066113, 0.0771243572, 0.3102441728, -0.3011210263, 0.4251577854, -0.6846025586, 1.1218158007, -0.0484250523, -0.7158841491, -0.0509384833, -0.6226315498, 0.2378198355, -0.1773161292, 0.1843709648, -0.2672008276, 0.4962109923, 0.7167480588, 0.0023543027, 0.6173246503, -0.1462890059, -0.031950824, 0.2368652374, 0.4121528566, 0.6521648765, -0.3784562051, -0.0270529054, 0.0336646922, -0.131362319, -0.3341140747, -0.595836103, 0.6657466888, -0.6867214441, -0.2556455433, -0.0272922739, -0.9402236342, -0.3712335527, 0.1554617584, 0.0056217792, 0.6739318371, 0.0307069179, 0.6016865969, 0.6339435577, -0.1057281569, 0.0811722204, 0.3253712058, -0.3641240597, -0.2793279588, 1.0100860596, 0.5548221469, 0.1515066773, 0.6764369011, 0.1734390259, -0.4063716233, -0.6886348724, -0.5820410848, 0.1902174652, -0.4789890647, -0.7218836546, -0.3770214617, -0.2266707718, -0.5305437446, 0.007142663, -0.3212774694, -0.2982839346, -0.0883898064, -0.3427730203, 0.2535456717, 0.6796156168, 0.1934589744, 0.4520952702, -0.8296423554, 0.3757114112, -0.1379693002, 0.5984797478, -0.0070321974, -0.9619526267, -0.5643894672, -0.2212689668, -0.3761043251, -0.868583262, 0.7665285468, 0.262734741, 0.5254202485, 0.1245729998, -0.109749034, 0.7380113602, -0.5455719233, 0.1752958149, 0.1818122715, -0.6391632557, 0.2723719776, -0.4041532278, 0.2012471855, 0.4726209044, 0.2526860535, -0.3116788268, -0.126961574, -0.3304153979, -0.4956307709, 0.8341426849, -0.216311872, -0.3235228956, 0.5580620766, 0.3308961391, 0.49812603, 0.2410168052, -1.1493326426, 0.1680857539, 0.2498798221, -0.3782022595, -0.0379297063, 0.0925687477, 0.3186210692, -0.1411601603, 0.5505439043, -0.3097479939, 0.1426169723, -0.1804793924, -0.4382216632, -0.3260881603, 0.2694844902, 0.3817553818, 0.8232062459, -0.2791012228, 0.0174343977, 0.1751988381, -0.670683682, 0.2264497876, 0.1011050269, -0.0672725961, -0.3871623278, 0.0378481708, 0.89166224, -0.0675793961, -0.5094774961, 0.3166464865, 0.1581666023, -0.2399511486, -0.10433653, -0.1924562007, -0.1819397956, 0.2573863268, 0.2829808891, -0.378713876, 0.4341056645, -0.7560982108, 0.3256964982, 0.3564307094, -0.144909218, -0.3299631178, 0.4605124295, -0.0912587941, 0.0861521661, 0.552307725, -0.0058447532, -0.3630109131, 0.6413874626, 0.7090903521, 0.3991420269, -0.3466517925, 0.4545622468, 0.439008981, 0.2222327292, -0.1792467237, 0.2435571253, 0.0361801758, -0.5902263522, -0.4024158716, -0.8393492103, -0.5226634741, 0.4497120678, -0.6994099021, 0.39530164, -0.284712702, -0.1687950641, -0.0106575666, 0.28851372, -0.8598144054, 0.1563229561, 0.4037071466, 0.8571829796, -1.0511143208, 0.9743824601, 0.4913640916, -0.2765913606, -1.09575665, -0.3721124828, -0.5728418231, -0.7091758251, 0.6423714161, 0.3576980829, 0.4738925397, -0.2029200792, -0.5357670784, -0.9508834481, 0.8165880442, 0.5366348624, -0.7787385583, -0.2690832019, 0.4694856107, 0.3981936574, -0.3568280935, 0.2194745839, 0.853787899, 0.455733031, 0.1421405673, -1.1195845604, -0.0494142398, 0.0718557462, 0.0715445951, 0.3187655509, -0.4780584276, 0.6965066195, -0.2465779036, 0.1645422727, -0.1966291666, 0.7273406386, 0.0142979631, 0.2054134458, 0.1107565388, 0.5488421917, 0.547942102, -0.0144014079, 0.5880569816, -0.0347083397, 0.3161205053, 1.3177312613, -0.6316934228, 1.126540184, 0.2805183232, -0.240842104, 0.3351632357, 0.4324729741, -0.2623253167, 0.4182077646, 0.2065160424, 0.218886286, -0.1094838455, -0.0938739032, -0.1037044078, 0.5793515444, 0.5826039314, -0.1558808386, -0.2402491271, 0.1880738437, -0.2635610104, -0.073750414, -0.4906035662, 0.8037688732, -0.1352879852, -0.620049417, 0.6360619068, -0.3966171145, 0.0402552411, -0.2367056161, -0.2306307554, -0.3402007222, 0.2499535084, -0.3515515029, -0.8952730298, 0.0477639288, -0.1465665698, -0.0838074759, -0.1653236896, 0.6373393536, -0.836738646, -0.5683888793, -0.0431469269, 0.5014432073, 0.2938750386, 0.0560190454, -0.4612448812, 0.2192913592, 0.0356387496, -0.2112432867, 0.6353234649, 0.4290553629, -0.292517066, 0.9608879685, 0.4923884869, 0.4483111501, 0.2777935266, -0.0304674637, 0.898381412, -0.5840911269, -0.5670459867, -0.4844859838, 0.3214350045, 0.1754761189, 0.0380292498, 0.2377393395, 0.6516429782, 0.7755227089, -0.3082234561, 0.6151428223, 0.0669434294, 0.5077694058, -0.4830232859, 0.626997292, -0.1885995567, -0.0771997571, -0.1498626173, -1.1070693731, -0.38977018, 0.6702471972, -0.4558357596, -0.1314326823, 0.6290899515, 0.7275750041, -0.0190584324, -0.3651917577, 0.7137156725, 0.4716078639, 0.3267256021, 0.6282275915, 0.586984396, -0.3993400335, 0.8062186241, -0.117268838, -0.3453072309, -0.4316651523, -0.6205353141, -0.7343454957, -0.6381486654, -0.0927569494, -0.2346836776, 0.0843278393, 0.892490685, 0.8293890357, -0.7641787529, -0.6136204004, -0.0908248872, -0.084836483, -0.1625814885, -0.2373345047, 0.4098547101, -0.2025002986, -0.3862878978, -0.0070521701, 0.1491808891, 0.0868593454, -0.1268810779, 0.417216599, -0.0407633074, -0.3243212998, 0.5022159815, 0.2099868655, -0.42965886, -0.1333584189, -0.0160096828, -0.071591571, 0.4981202185, 0.3808873594, -0.6920200586, 0.1522192359, 0.274390161, 0.707370162, 0.8285928369, 0.0937925801, 0.4060688615, -0.3868865669, -0.0475139841, 0.1981027722, 0.4291492701, 0.2648248672, -0.4385671616, 0.4052978456, -0.1739258915, -0.7932832241, -1.0557557344, 0.009464452, -1.2325277328, 0.0880177617, 1.1952729225, -0.1817921102, -0.7297250032, 0.1846290976, -0.2700014114, 0.3032222092, -0.6716766357, 1.0233507156, 0.4067387283, -0.0736675709, -0.3714224696, -0.6325085759, 0.3863170147, -0.0390738361, -1.2098314762, 0.5438467264, 0.5976362228, 0.2625367641, 0.0010203482, 0.1457910687, -0.0146754561, 0.435988307, -0.0346289501, 0.3096615374, 0.0783192515, -0.9039312601, -0.1834005564, 0.3751340508, 0.2341141254, 0.0799495429 ]