id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
listlengths
768
768
http://arxiv.org/abs/2402.10790v2
http://arxiv.org/pdf/2402.10790v2
In Search of Needles in a 11M Haystack: Recurrent Memory Finds What LLMs Miss
2024-02-16T16:15:01
2024-02-21T03:07:42
Yuri Kuratov, Aydar Bulatov, Petr Anokhin, Dmitry Sorokin, Artyom Sorokin, Mikhail Burtsev
cs.CL
cs.CL, cs.AI, cs.LG
This paper addresses the challenge of processing long documents using generative transformer models. To evaluate different approaches, we introduce BABILong, a new benchmark designed to assess model capabilities in extracting and processing distributed facts within extensive texts. Our evaluation, which includes benchmarks for GPT-4 and RAG, reveals that common methods are effective only for sequences up to $10^4$ elements. In contrast, fine-tuning GPT-2 with recurrent memory augmentations enables it to handle tasks involving up to $11\times 10^6$ elements. This achievement marks a substantial leap, as it is by far the longest input processed by any neural network model to date, demonstrating a significant improvement in the processing capabilities for long sequences.
[ -0.2413473725, -0.6942229271, 0.8903436661, 0.0267540552, -0.5069981813, 0.0244232267, -0.2177672982, -0.4878144562, -0.1494373232, 0.4643993974, -0.3627463579, -0.3235910237, -1.0515098572, 0.4492861331, -0.7927858233, 1.0031206608, -0.0236810986, -0.3484856188, 0.176325053, -0.3313121498, -0.5015866756, -0.3768899739, -0.4767112434, -0.4335431457, 0.8578898311, 0.0301592052, 0.681204319, 0.6950721741, 0.7250993252, 0.2619713843, -0.5821784735, 0.5971831083, -0.559427917, 0.268797487, -0.3321019411, -0.3933593929, -0.3039521873, 0.0652677789, 0.8380171061, 0.6473200917, -0.2261606157, 0.1844224334, -0.1752082705, 0.8825801015, -0.2705403566, -0.1260303855, -0.6428486705, -0.0372859538, -0.350417465, -0.0346499309, -0.5489479303, -0.3661253154, 0.1759073585, -0.3381156623, 0.6592965126, -0.2056758106, 1.0641719103, 0.223097682, -0.4340673089, -0.4241618812, -0.7859074473, 0.6663665771, -0.5395740867, 0.1712347716, 0.3693107069, 0.2330174893, -0.2636550367, -1.1491771936, -0.4061615169, 0.0092850449, -0.2279541194, 0.149741143, -0.3816605508, -0.2332981825, 0.8204381466, 0.6052233577, -0.7714726925, -0.0919221863, -0.6965209246, 0.2800805271, 0.4929682016, 0.052777268, -0.059447486, -0.2649378181, -0.3285509348, 0.1106749997, -0.4703514576, -0.4559533894, 0.1954871863, -0.2021556348, 0.0360834859, 0.601657629, 0.0048249462, 0.6623756886, 0.0318056419, 0.1373807788, 0.1102209538, -0.1434062868, -0.2563651502, -0.1170521677, 0.584469676, 0.0849216431, 0.037750341, -0.19493936, -0.3327408135, -0.0101380758, 0.5253289938, -1.076805234, -0.3588094711, -0.1964875311, -0.6575858593, -0.0486490242, 0.1101209819, -0.836651504, -0.5373948216, -0.1565276235, 0.4072676897, -0.7453337908, 0.0015417009, 0.1228261739, -0.4651235044, 0.0027026911, 0.264071852, -0.8476605415, 0.1012031958, 0.76312536, 1.443547368, -0.2388663441, -0.2646153867, -0.4903140962, 0.0676489472, -0.5676939487, 0.9024272561, -0.4582484066, -0.5639639497, -0.2925537229, 0.2821231484, -0.0346544087, -0.7560647726, 0.5482426286, -0.5700775385, 0.1993261576, -0.116319187, -0.6894503236, -0.4985290468, -0.0410071984, -0.9862800837, 1.1651347876, 0.5982277989, -0.5224320292, 0.0842650011, -0.4206796288, -0.702452898, 0.0052822581, -0.0831009969, -0.7760774493, 0.4899475276, 0.0116047766, 0.4702757895, -0.812782824, 0.4419080317, -0.0103902677, -0.9117693901, 0.3045655191, -0.8910608292, 0.7944961786, 0.2650595903, -0.5591638088, 0.0052579278, -0.8196319938, -0.4681228995, 0.0176772196, -0.5817298293, -0.0891088396, -0.1536875069, -0.1468639076, -0.0911761299, 0.1856304407, -0.420401901, 0.3459779024, -0.3032834232, 0.6299071312, 0.7778523564, -0.2892588377, 0.1887674928, -0.5759860277, 0.3695451021, 0.2148180306, -0.236558497, -0.7497421503, -0.4477238655, -0.7843818069, -0.2638527453, 0.3122810423, 0.1674503833, -0.6590594649, 0.4723762572, -0.3192130029, -0.7948032022, -0.5664244294, 0.0413803346, 0.0907240808, 0.3471718132, 0.6101362109, -0.6001694798, -0.5066985488, -0.8413820863, -0.1072361693, 0.0994251296, -0.3322595954, 0.2514809668, 0.351269722, -0.5943001509, 0.562210083, -0.4252058566, -0.1873003244, -0.157222271, 0.717233479, 0.8536412716, 0.2254354954, 0.3190610707, -0.7551676631, -0.3315187395, 0.1768295616, -0.906041801, 0.081023626, -0.3967094719, 0.2153131962, 0.542129159, 0.307759732, -1.1730438471, 0.6371548176, 0.4347604811, -0.1500489861, 0.3447564542, -0.383801043, 0.0407069102, -0.9718108773, 0.3212830722, -0.0929082036, -0.2504571676, -0.3238380253, -0.040336296, 0.4327200055, -0.1608695388, -0.0386717469, 0.2463949323, -0.8123595119, -0.1815228909, -0.539277792, -0.0942524523, 0.0450360402, 0.2020653635, 0.0361702405, 0.9835999608, 0.3741018474, -0.4155398309, 0.719206512, -0.0498957038, -0.78748101, 0.3109958172, -0.6138653159, 0.246779561, -0.2514363527, 0.3330934942, -0.8670759797, 0.0046246229, -0.2246681452, -0.3524993956, 0.4534099996, -0.2912239134, -0.4362122118, -0.5074231625, -0.0714772567, 0.398290664, 0.8322306871, -0.6318047643, 0.8379453421, 0.0069570541, -0.0458589345, -0.5743018985, -0.4536448419, 0.1969285756, -0.4403238297, -0.3521723151, 0.5214263797, 0.1729293764, 0.2672546208, -0.0899169967, -0.1526722014, 0.2033896595, 0.0275101997, 0.2979432046, 0.2160749286, -0.3363863528, 0.0828830153, -0.1937571615, -0.3974053264, -0.0159883499, -0.2277840972, 0.6699869633, 0.0152633125, 0.0125095621, -0.1250706464, 0.3731130958, 0.562482357, -0.0531348735, 0.5763662457, 0.7310256362, -0.3017659187, -0.322234869, -0.6623539925, 0.0412154645, -0.4885675609, 0.5069756508, -0.3996684551, -0.8909680843, 0.4496519566, -0.509524107, -0.2355487496, 0.4987359643, 0.5161018968, -0.0466362238, 0.5628941655, 0.4117308855, -0.2899944484, 0.1724795401, -0.3746875525, 0.3838433027, -0.8150804639, -0.0153995249, -0.1853724718, -0.4018452168, -0.7363132834, -0.7119591236, 0.4382332861, 0.0617976785, -0.2227891982, 0.6996029019, -0.6942691207, 0.4347583652, 0.6587388515, 0.1566796005, 0.1640240699, -0.1763836145, 0.0867497921, 0.2707242072, -0.5536431074, -0.2645908892, 0.9274975061, 0.412514478, 0.8279956579, 0.1215348318, 0.4680641294, 0.0924585611, 0.3803400993, -0.8437379003, 0.4986465275, -0.5646723509, -0.5654690266, -0.507165432, -0.3693751097, -1.2851377726, 0.0699409917, 0.2369119078, -0.3690472245, 0.1145953014, -0.2581044734, -0.2706894577, 0.4702249169, -0.2979981303, 0.5680568814, -0.0616105236, -0.3335898817, -0.4172183573, -0.7084344625, 0.3083376586, -0.1462298632, -0.1596042216, -0.117017962, 0.163815394, 0.6299933791, -0.1326414943, 0.4671676457, 0.1626725495, 0.1396854222, 0.3619303107, 0.1086136922, 0.5718676448, -0.262306422, -0.3092621565, 0.5333893895, -0.1040663645, -0.2511937916, -0.451441884, 0.5924280882, -0.5441234112, -0.6598412395, -0.8113127947, -0.3858023584, 0.2737230062, 0.1433759928, 0.5110955238, 0.4323564768, 0.0827711672, 0.6054535508, 0.8068462014, -0.2564755678, 0.7646975517, 0.3747656047, 0.0045563015, -0.3283891678, 0.6695992351, 0.4136559963, -0.0556843132, 0.308550328, 0.2003626376, -0.1507374942, -0.5243834853, -0.7236589193, 0.4136176407, -0.590036869, -0.6287685037, -0.6247060299, -0.6572124362, -0.1572450697, 0.1347984374, -0.4401638508, -0.2094759047, -0.2880181372, -0.2622834444, 0.6550047398, 1.0182527304, -0.0650372878, 0.3087361753, -1.001875639, 0.4668812454, 0.2233683914, 0.5446078181, 0.2964173555, -0.8274982572, -0.5414363146, -0.3996443152, -0.5426325202, -0.76116997, 0.4426208436, -0.1797878444, 0.2626955211, 0.1439007223, -0.2283456326, 0.8224534392, -0.8209958076, 0.7405585051, 0.1156084538, -0.7588852644, 0.332983911, -0.4428155422, 0.4076169729, 0.1767403334, 0.6081084013, -0.7824319601, 0.1135256961, -0.693688035, -0.8402762413, 0.6075103879, 0.1705907881, 0.1535078287, -0.3931241035, 0.449175328, 0.3694946766, -0.0256003588, -0.3877183795, -0.1208237857, -0.0670301691, -0.0833976269, -0.1128392965, -0.6427986026, 0.1575223655, -0.0723735839, 0.5009447336, 0.1791523695, 0.4537817538, 0.2302641124, 0.0287942477, -0.1036010757, 0.0246461295, 0.5784144402, 0.8277631998, -0.2043256164, 0.3650739491, 0.2049812227, -0.5191092491, 0.1242234036, 0.3487482369, -0.1900310367, 0.5052754879, 0.410497725, 0.7733410597, 0.1538487971, -0.4944224656, 0.2894609272, 0.0507131219, -0.0440213941, -0.4836221337, 0.0587737858, 0.2861951292, 0.1206119135, 0.5708008409, -0.1341755688, 0.1762522757, -0.7671191096, 0.526755631, 0.2329086214, -0.2287991643, -0.2991536558, 0.5530606508, -0.0045921993, -0.4902097285, 0.9974164367, -0.0238899309, -0.3413525224, 0.5966126919, 0.6322894692, 0.7642201185, -0.3394395113, -0.0090111177, 0.6078779697, 0.0524900965, -0.4849009812, -0.0911033303, -0.0339991152, -0.5241656303, -0.4181743562, -0.5897992849, -0.1491084546, 0.467923522, -0.6370314956, 0.3923636377, -0.3805965483, -0.2011029422, 0.2135506719, -0.1574836671, -0.5708453059, 0.2442525476, -0.1465549171, 0.7537480593, -0.4853334129, 1.0381637812, 0.2705081999, -0.2875834405, -0.6271035075, -0.312474668, -0.2490765303, -0.684297204, 0.493981123, 0.584880352, 0.0715816915, -0.2044890821, -0.151420325, -0.8265534043, 1.2984621525, 0.0610787012, -0.9254575968, -0.2330692559, 0.0313672535, 0.5567732453, -0.0471302457, 0.4466371536, 0.9749504924, 0.366487056, -0.0196590368, -0.8316536546, 0.044272095, -0.2006866634, 0.0793120861, 0.5297640562, -0.8018226027, 0.9615822434, 0.0361352861, -0.360788852, 0.5394223332, 0.6228535771, 0.3474717438, 0.5788226128, 0.2196852416, 0.7345056534, 0.8550418615, 0.0369813144, 1.0172543526, -0.0156237036, 0.3213914931, 1.0547604561, -0.2478344142, 0.5715690851, 0.3126240075, -0.3051032424, 0.6175681949, 0.6810592413, -0.3087891638, 0.4526224732, 0.3040822446, -0.4490053058, 0.0305691361, 0.1614936888, -0.305054307, 0.2888759673, 0.3051281273, -0.6892700195, -0.1552765965, -0.2387020439, 0.0134549048, 0.2560876608, -0.1016968489, 0.8931882977, 0.3715063632, -0.8242208362, 0.5326451063, 0.1816970408, 0.7497660518, -0.3692452312, -0.2746006548, -0.5450692177, 0.2414262444, 0.0372363813, -0.7813726664, 0.4794251025, 0.1012839824, -0.410071373, -0.0447061472, 0.7605587244, -0.3662959933, -0.570825398, 0.3525420725, 0.2084431499, 0.33730793, 0.0090402737, -0.2971725166, -0.0694377646, -0.1193869933, -0.4033172727, 0.2364775985, 0.9410402179, -0.0651169792, 0.5290833116, 0.4985504448, 0.1665166616, -0.0476974733, 0.0244511645, 0.7823493481, -1.0920760632, -0.0854042619, -1.0805212259, 0.2542697787, -0.1303965747, -0.2988127768, 0.4725061059, 0.9443908334, 0.8479303122, -0.2277109027, 0.6766750813, 0.1020779237, 0.9083146453, -0.4612439573, 0.6499142051, -0.2044289261, 0.2381830364, 0.1592363119, -1.0472420454, -0.1299666166, 0.8502441049, -0.0502938554, -0.0063359626, 0.8775278926, 0.7035490274, -0.1484642178, 0.0898316577, 0.4423078299, 0.0575103536, 0.2744522393, 0.6826995015, 0.8771697283, -0.670014739, 0.3995442092, -0.125891, 0.0189514607, -0.0435884148, -0.9316092134, -0.9735193253, -0.6252374649, 0.1672295034, -0.2572399974, 0.2590971589, 0.5817442536, 0.5595284104, -0.4992065728, -0.2384775132, -0.1932875067, 0.1305679977, -0.2831570804, -0.1928163469, 0.6106256843, -0.2330922782, -0.6553435922, 0.4816373587, 0.4298513234, 0.054327812, 0.1114660427, 0.1057520434, -0.098062627, -0.0256329682, 0.6653296351, -0.0679208189, -0.5425790548, -0.3604310453, -0.0137455268, 0.0504618362, 0.2567250431, 0.9220845699, -0.8987609744, 0.4044436812, 0.3272066116, 0.8298650384, 1.0316909552, 0.2899729908, 0.5804775953, -0.4311466515, 0.0507826693, 0.3273158967, 0.2616768181, 0.4423051178, -0.4126135409, 1.0509436131, 0.3169927299, -0.8552063704, -0.789368391, -0.0503515601, -1.0183359385, -0.4979703128, 1.0532691479, -0.3397500813, -0.1086352989, 0.0517421737, -0.0871956572, 0.5146254897, -0.1666460484, 1.1283502579, 0.7842903733, -0.1541555077, -0.4183791578, -0.3690968156, 0.4509572387, 0.4774141014, -0.3576291203, 0.2066164166, 0.3758010864, 0.1399281025, 0.2631214261, 0.4445254505, -0.2220941782, 0.5330621004, 0.0177818108, -0.3612617254, -0.091351293, -0.5146906376, -0.4567964375, 0.0434954949, -0.0850223303, 0.1111898422 ]
http://arxiv.org/abs/2402.10787v1
http://arxiv.org/pdf/2402.10787v1
EdgeQAT: Entropy and Distribution Guided Quantization-Aware Training for the Acceleration of Lightweight LLMs on the Edge
2024-02-16T16:10:38
2024-02-16T16:10:38
Xuan Shen, Zhenglun Kong, Changdi Yang, Zhaoyang Han, Lei Lu, Peiyan Dong, Cheng Lyu, Chih-hsiang Li, Xuehang Guo, Zhihao Shu, Wei Niu, Miriam Leeser, Pu Zhao, Yanzhi Wang
cs.LG
cs.LG, cs.AI, cs.CL
Despite the remarkable strides of Large Language Models (LLMs) in various fields, the wide applications of LLMs on edge devices are limited due to their massive parameters and computations. To address this, quantization is commonly adopted to generate lightweight LLMs with efficient computations and fast inference. However, Post-Training Quantization (PTQ) methods dramatically degrade in quality when quantizing weights, activations, and KV cache together to below 8 bits. Besides, many Quantization-Aware Training (QAT) works quantize model weights, leaving the activations untouched, which do not fully exploit the potential of quantization for inference acceleration on the edge. In this paper, we propose EdgeQAT, the Entropy and Distribution Guided QAT for the optimization of lightweight LLMs to achieve inference acceleration on Edge devices. We first identify that the performance drop of quantization primarily stems from the information distortion in quantized attention maps, demonstrated by the different distributions in quantized query and key of the self-attention mechanism. Then, the entropy and distribution guided QAT is proposed to mitigate the information distortion. Moreover, we design a token importance-aware adaptive method to dynamically quantize the tokens with different bit widths for further optimization and acceleration. Our extensive experiments verify the substantial improvements with our framework across various datasets. Furthermore, we achieve an on-device speedup of up to 2.37x compared with its FP16 counterparts across multiple edge devices, signaling a groundbreaking advancement.
[ -0.1831644177, -0.6245109439, 0.4631492496, 0.0183673222, -0.5968504548, -0.0233416352, 0.0718111768, -0.1631496549, 0.1611979604, 0.1361913979, -0.5019850135, -0.4706100225, -0.6522712111, -0.4101724625, -0.2152205259, 0.7593384981, 0.0230129901, 0.042468559, -0.2196169049, -0.4096532166, -0.0700485632, -0.1805806905, -0.879142642, -0.0595106333, 0.1396905184, 0.1712043285, 0.757361114, 0.8654435873, 0.3834405541, 0.2327306569, -0.116554983, -0.1486187279, -0.3810651302, 0.2700225413, 0.2399259508, -0.416513741, -0.6676232815, -0.5665591955, 0.5781364441, 0.2194540501, -0.1115222424, 0.2969700098, 0.0917085335, 0.7572727799, -0.9472876787, -0.335958302, -0.5178343654, -0.052234482, -0.2327755541, -0.1425118148, 0.0686416328, -0.3989183903, 0.0564359501, -0.6293908358, -0.0198274851, -0.0395188369, 0.3525637984, 0.7128069401, -0.6080484986, -0.0236487221, -0.4635585845, 0.59674716, -0.5782446265, 0.9701094031, 0.0825690553, 0.0827397779, 0.0937334001, -1.1187850237, -0.2509983778, 0.2979539931, 0.7156425118, 0.1704328209, -0.2488321662, 0.3231272399, 0.0855082199, 0.2959500253, -0.640761137, 0.2213250995, 0.0921519771, -0.2912496626, 0.3462873399, 0.0374505594, 0.2234334052, 0.2949070334, -0.5934289694, -0.2705030143, -0.9289264679, 0.1979153603, 0.2219746113, -0.1002245545, -0.071730271, 0.0585152097, -0.6379520297, 0.5043930411, 0.0962669551, -0.2484880239, 0.2818078399, -0.1945297867, -0.1155649871, 0.4106242955, 0.7279137373, 0.3027338386, -0.2572078109, 0.0510329083, -0.3686853349, -0.4117669165, -0.2885021567, -1.2972990274, -0.2870683968, 0.4252429605, -0.4748564363, 0.0935954005, -0.4133041799, -0.5388940573, -0.3917443454, 0.1326206326, 0.7716885805, -0.4744473398, -0.3702865839, 0.1675545275, -0.3410770893, 0.307133913, 0.2732734084, -1.0155310631, 0.2325582951, 0.544636488, 0.9601153135, -0.0881328434, 0.0458084829, -0.7048734426, 0.091280818, -0.1675470024, 0.6740953922, -0.3599148989, -0.0967844576, -0.1420852989, -0.465334475, 0.1391156465, -0.2673365176, 0.820329845, -0.6320269704, -0.3008178473, -0.2271360159, -0.490293324, -0.0837512463, 0.0525609367, -0.5749429464, 1.2157728672, 0.0158970859, -0.9462809563, 0.5265532732, -0.7188391089, -0.3347050548, 0.2901458442, 0.0186477285, -0.5897387266, 0.279425174, 0.4843656123, 0.3337275088, -0.2181961685, 0.0475085899, -0.4042588174, -0.5114243031, 0.0427943915, -0.602152288, 0.7496655583, 0.192489326, -0.6435467005, 0.1924115419, -0.6743817925, 0.3750529885, -0.0520713516, -0.1473726779, -0.6565297842, 0.0586094335, -0.1203327999, -0.0075244694, 0.3114953637, -0.4753125012, 0.0988844931, -0.1839154661, 0.6453052759, 0.8721750379, 0.0305721201, 0.5021247864, 0.1207704917, 0.5602081418, -0.1359739602, 0.2597620487, 0.0300499108, -0.3470318019, -0.5512053967, -0.5943341851, 0.5710368156, 0.5392912626, -0.9810096025, 0.1968381554, -0.5614851117, -0.3974254429, -0.715986371, 0.1746041328, 0.0974454507, 0.1761757284, 0.1979767382, -0.1133824214, -0.2385304421, -0.6183934808, -0.5712163448, -0.0706687793, -0.2491377592, 0.0259205271, 0.1665837169, -0.2099730521, 0.8086233735, -0.2727982402, 0.0195457377, -0.0867295563, 0.0983057395, -0.2844739854, 0.540440321, 0.290741384, -0.8022099137, -0.2334442139, -0.1222266704, -0.2822648585, -0.2980742157, 0.0242159721, -0.1904102564, -0.2136564553, 0.4723929167, -0.5285039544, 0.2885196805, 0.6492298245, -0.1492308676, 0.1881260425, 0.131695509, -0.0441959836, -1.1631240845, -0.3388137817, -0.0445346162, -0.443138063, -0.429100275, -0.0227665734, 0.2773247361, -0.044144582, -0.6365565062, 0.747048974, -0.3835458159, -0.1494961977, -0.3292841315, 0.0919543132, -0.0203259941, 0.4057748914, -0.0627002567, 0.7900652289, 0.8956025243, -0.8410446048, 0.298723042, -0.1453454345, -0.0579171367, 0.7612911463, -0.6164019108, -0.0338045657, 0.1076571643, 0.1135618687, -0.7943561077, 0.1715986431, 0.0789823905, -0.3395079672, -0.061074499, -0.23319529, -0.5970160365, -0.0054609883, -0.6069092155, 0.8596735597, 0.8187814951, -0.6934362054, 0.7494183183, 0.184192583, -0.0368276387, -0.4932651818, -0.5882764459, -0.1271580756, -0.616016984, -0.7034775019, 0.4388710856, -0.0800554082, -0.1780716777, -0.1016930938, -0.391336292, -0.0884759277, 0.3372861445, 0.2593471408, -0.5451359749, -0.2474201769, 0.544202745, 0.4519150853, 0.0179190636, 0.0054301256, -0.9396468997, 0.3359520137, -0.2230411321, -0.3386655152, -0.628483355, -0.0680149496, 0.3186866641, -0.2348772585, 0.3265295625, 1.1979342699, -0.4143232405, -0.2762579322, -0.348903805, -0.3282154799, -0.6044688821, 0.3883253336, -0.5571773648, -0.9657880068, 0.5161476135, -0.5662184358, -0.1012610272, 0.4351998866, 0.6030867696, -0.0653564632, 1.0007519722, 0.64332968, 0.1204289794, 0.9296492338, -0.2252916843, 0.0093373619, -1.0318951607, 0.1806666106, -0.1814487427, -0.507130444, -0.6633887887, -0.3208269179, 0.6229911447, 0.2149277627, -0.2406276762, -0.1251725852, -0.5415979624, 0.2634221315, 0.8304906487, 0.307153374, 0.2098734975, 0.0228707641, -0.0029438797, 0.0682397336, -0.9228726625, 0.0188583881, 1.1269193888, 0.3512330353, 1.0015922785, 0.0308810212, 0.752191484, 0.4174936414, -0.0343734287, -0.7095117569, 0.4833216965, 0.1867398769, -0.1350159496, -0.4053008854, -0.6391996741, -0.7261957526, 0.1867080778, 0.2124449313, -0.5771018267, 0.2944435775, 0.2066464871, -0.3816001117, 0.3166725934, -0.6649814844, 0.9858474135, -0.5531050563, -0.407600075, -0.1598132104, -0.5309711099, 0.2790099382, 0.089803569, -0.0616758801, -0.1732623577, -0.4328330755, 1.0839003325, -0.6795890331, 0.7004616857, -0.4165069759, -0.0994618014, 0.5160942078, 0.0821680948, 0.710906446, 0.2436248213, 0.0522744209, 0.03153136, -0.0341632739, -0.6440742612, -0.67518121, 0.4564913213, -0.6803069711, -0.5267495513, -0.1024626121, -0.5184720755, -0.1735450029, 0.2774465978, 0.3580289483, 0.6040741801, 0.0638255551, 0.1993015409, 0.9614629745, 0.1214152426, 0.5918182731, 0.2366631925, 0.1872000396, -0.5186262727, 1.0917313099, 0.0981206968, 0.5192046762, 0.4914006293, 0.2838257253, -0.4941893816, -1.0385469198, -0.7290450931, -0.2757409513, -0.7507306337, -0.4523441792, -0.7966507077, 0.119134821, -0.3972199559, -0.0267663319, -0.6066348553, -0.7245568633, -0.1963581294, -0.1225835904, 0.9152680635, 0.2440837175, -0.250623256, 1.1001343727, -0.5015769601, 0.1839093268, 0.4431942403, 0.3229057193, -0.1092477813, -0.7247236967, -0.476734221, 0.2204717994, -0.4882732928, -0.5596007705, 0.1332703829, 0.5177470446, 0.2509922981, 0.6804520488, 0.3450662196, 0.7216944695, -0.0592460856, 0.6163857579, -0.0109833516, -1.2261531353, 0.3947189748, -0.1431971043, 0.497100383, 0.4573097825, 0.3271738887, -0.4194736481, -0.3138949871, -0.6152364612, -1.0069149733, 0.2151836902, 0.0148534365, 0.1322597414, 0.3725323677, 0.3188171685, -0.0367008708, 0.1677373052, -0.6425383687, 0.0464132279, -0.309228301, -0.4354034066, 0.5243391395, -0.1397417337, 0.1054379717, -0.0150917266, 0.5834595561, -0.4637692273, 0.2844012678, 0.3635825813, -0.2582451105, 0.0621729083, 0.0921878219, 0.3551500142, 0.4862813652, -0.1009814665, 0.296138376, 0.2914824486, -0.6866545081, 0.1462923586, 0.1971902996, -0.2209895849, -0.1254566312, 0.1221036538, 1.0731158257, -0.043992281, -0.6278777719, 0.5365254283, -0.181034863, 0.0361631438, 0.0015020568, -0.0147039648, 0.088318117, 0.5234770775, 0.6876240373, -0.2655321062, 0.5752724409, -0.211987868, 0.3273268342, 0.7914937735, -0.4508465528, -0.3307700753, 0.8303876519, 0.2461246252, -0.1359096467, 0.3967528343, -0.448508352, -0.5946345925, 0.5063718557, 0.3687834442, 1.2000855207, -0.3349600136, -0.0515384786, -0.0593676865, 0.4215666056, 0.0349385627, 0.4330754876, -0.3594275117, -0.5541771054, -0.3918006122, -0.6059678197, -0.311018914, -0.2782840729, -0.3464382887, 0.0983527154, -0.3082259595, -0.2712073326, -0.5798881054, -0.038504757, -0.6547724009, 0.3759343028, -0.0120861176, 0.687174499, -0.7174978852, 0.727006793, 0.364638865, 0.194224, -0.4999237061, 0.2242180258, -0.3108082414, -0.9538123608, 0.4406056702, 0.0290792789, -0.1124060825, 0.53336972, -0.4221161604, -0.9618658423, 1.4093617201, 0.2546102405, -0.2555610538, 0.2384660095, 0.1106429026, 0.3545720577, -0.1813586354, 0.5582559109, 0.2283990383, 0.1817157567, 0.1119759008, -0.6009332538, 0.2443829626, 0.1030533835, 0.0814179778, 0.3853754699, -0.7365359664, 0.6663488746, -0.1636742204, -0.2382337153, -0.1371819973, 0.8143494725, 0.2473918349, 0.4628379047, 0.4356085956, 0.7998805046, 0.7241725326, 0.0121822301, 0.8016655445, -0.3586879373, 0.145306766, 0.6495957375, -0.0314776003, 0.7109289169, 0.4537833035, 0.0521670245, 0.241522029, 1.1317328215, 0.4999763966, 0.6923404336, 0.2013492286, -0.5052511096, -0.1408128887, -0.2267119288, -0.4047920108, 0.1120882779, 0.4916652739, -0.111468114, -0.184462592, 0.2943100631, -0.1540270001, -0.6103201509, -0.6717050672, 0.6901787519, 0.1691302359, -0.0247585867, 0.785826087, 0.1513547003, 0.69258219, -0.4240522981, 0.1662206203, -0.3464584351, 0.0697495341, -0.1876337528, -0.4689490497, -0.2030806243, -0.3213146925, 0.2384309471, -0.299061209, 0.7611313462, -0.1859540045, -0.4529415667, -0.0856989771, 0.6237957478, 0.1637045443, -0.4723573029, -0.6566743851, 0.2959662974, -0.121138975, -0.5897805095, 0.545266211, 0.9556353688, -0.2166167945, 1.0283544064, 0.5442222357, -0.1466907263, 0.4764135182, -0.2901584208, 0.924873054, -0.5266968012, -0.6560139656, -1.015920043, 0.3945197761, 0.2261755466, -0.3683825731, 0.6336875558, 0.5371237993, 0.5470574498, 0.4648857415, 0.7330146432, 0.0223951023, -0.1070172042, -0.7513283491, 0.405759275, -0.7808690071, 0.2007220834, 0.0622679256, -0.9517136812, -0.0799506903, 0.1522408277, -0.1319538355, 0.2265069336, 0.5380538106, 0.4453705549, -0.0998930186, -0.2461470664, 0.2779121995, 0.0512143746, 0.2214630246, 0.6859532595, 0.5262587667, -0.7030925155, 0.7214035988, -0.1140650213, -0.1909340024, -0.3344612718, -0.7658740878, -0.5826739073, -0.4502231181, -0.5181156397, -0.1606434733, 0.4197123647, 0.6194870472, 0.8021082878, -0.1981596798, 0.1521548927, -0.3016371429, 0.3781560659, -0.3923764229, -0.2305850238, 0.6496941447, -0.1601669192, -0.6459878087, 0.2198330313, 0.2448948473, 0.203720808, -0.1637303531, -0.1724334657, 0.2833792865, -0.0737452209, 0.3976069391, 0.2102167308, -0.3852155805, -0.0614752248, -0.0615363307, -0.0854869485, 0.1759498566, 0.6829101443, -1.0111486912, 0.3345634639, 0.6336551905, 0.9420297742, 0.4950515926, 0.3011992276, 0.4265451729, -0.7392327189, 0.2042199075, 0.4368346035, 0.1079132184, 0.2585606873, -0.4246072769, 0.2593613267, 0.26365152, -0.6737392545, -1.013805747, 0.2521511912, -0.837433219, -0.0746926144, 1.1210412979, 0.0669252723, -0.5265496373, 0.2040327638, 0.165233165, 0.2177461684, -0.6060603857, 0.4632886946, 0.1645004004, -0.204095915, -0.6495698094, -0.6046727896, 0.7214744091, 0.5777073503, -0.6696301103, -0.0035983282, -0.0034781673, 0.2598885894, -0.299134165, 0.7386369109, 0.3326607347, 0.3929185271, 0.2331279814, 0.4887992442, 0.161097154, -0.00618672, -0.3990468085, -0.1046131998, 0.3871320784, -0.4871577024 ]
http://arxiv.org/abs/2402.10779v1
http://arxiv.org/pdf/2402.10779v1
A Condensed Transition Graph Framework for Zero-shot Link Prediction with Large Language Models
2024-02-16T16:02:33
2024-02-16T16:02:33
Mingchen Li, Chen Ling, Rui Zhang, Liang Zhao
cs.CL
cs.CL
Zero-shot link prediction (ZSLP) on knowledge graphs aims at automatically identifying relations between given entities. Existing methods primarily employ auxiliary information to predict tail entity given head entity and its relation, yet face challenges due to the occasional unavailability of such detailed information and the inherent simplicity of predicting tail entities based on semantic similarities. Even though Large Language Models (LLMs) offer a promising solution to predict unobserved relations between the head and tail entity in a zero-shot manner, their performance is still restricted due to the inability to leverage all the (exponentially many) paths' information between two entities, which are critical in collectively indicating their relation types. To address this, in this work, we introduce a Condensed Transition Graph Framework for Zero-Shot Link Prediction (CTLP), which encodes all the paths' information in linear time complexity to predict unseen relations between entities, attaining both efficiency and information preservation. Specifically, we design a condensed transition graph encoder with theoretical guarantees on its coverage, expressiveness, and efficiency. It is learned by a transition graph contrastive learning strategy. Subsequently, we design a soft instruction tuning to learn and map the all-path embedding to the input of LLMs. Experimental results show that our proposed CTLP method achieves state-of-the-art performance on three standard ZSLP datasets
[ 0.0051716324, -0.4829731584, 0.7047069073, -0.2920732796, -0.4293575883, 0.1675620526, -0.310772121, -0.5001643896, 0.0948605537, 0.4120563865, -0.7953420877, -0.9334068894, -0.3703101873, -0.1621942371, -0.0977659822, 0.9031147957, 0.1593068689, -0.0913134366, 0.3148500919, -0.0090815742, -0.1950997412, -0.0699043423, -0.4891032577, -0.5553900003, 0.4590308666, 0.1894487739, 0.6473082304, 0.7970489264, 0.0102104582, 0.1288594902, -0.087667942, 0.1168547794, -0.6736020446, 0.3185330927, -0.1283041239, -0.3987196684, -0.2557667792, -0.4575748146, 0.7175274491, 0.9220322371, -0.0257238448, 0.0705780312, 0.0518717393, 0.5648849607, -0.8546996117, 0.5398807526, -1.0471484661, 0.3609022796, -0.2808566689, -0.2919179797, -0.7398257852, -0.0327017196, -0.0166400634, -0.4858046472, 0.2093709111, 0.0712904856, 0.7670611143, 0.0019410159, -0.5749433041, 0.0124931755, -0.8487920165, 0.44024387, -0.6449512243, 0.6886883974, -0.1861715466, 0.3401875496, -0.3533630371, -0.5509519577, -0.4049809873, -0.1886255443, 0.0156524517, 0.1137654036, -0.0085693123, 0.5103735924, 0.1195533425, 0.0644432902, -0.6540219784, 0.0635160431, -0.3015074432, -0.1076895669, 0.2462493479, 0.3497894108, 0.1828756034, 0.0887603015, -0.1899009198, 0.0049333279, -0.8441457748, -0.1894672364, 0.1329219192, 0.733422339, -0.2248939723, 0.4588870704, -0.2290159464, 1.0051480532, 0.2738516033, -0.0565042682, 0.3200433552, 0.0187476501, -0.2954615355, 0.3023860753, 0.8173485398, 0.2635566294, 0.251583308, -0.5795093775, 0.1858349442, 0.148925364, -0.1809786856, -0.9520409107, -0.132608071, 0.0638019666, -0.0452483334, 0.0564299747, -0.1256062984, -0.4409721494, -0.2224783152, 0.0078763869, 0.0956595317, -0.7976027727, -0.1852741688, 0.3673435152, 0.018651953, 0.3883497715, 0.4520021379, -0.6807274818, 0.351572156, 0.5917802453, 1.0218629837, 0.159735024, -0.3438829482, -0.6577801108, 0.8741544485, -0.4170311689, 0.4742335081, -0.6986723542, -0.2828792036, 0.2877957523, -0.0645191893, -0.192481041, 0.0455891229, 0.4321741462, -0.5946857929, -0.3080512285, 0.2464647591, -0.8684208393, -0.1016539261, 0.2565670907, -0.756839335, 0.2049895078, 0.0586954802, -0.8438254595, 0.0672249049, -0.3586502075, -0.6011782289, 0.2239741087, -0.4002275467, -0.3053553998, -0.1349404007, -0.1164168641, 0.4230686128, -0.3000227809, 0.0964193568, -0.7473093271, -0.4075549245, -0.1329461634, -0.0512401499, 0.6455554366, 0.0705178604, -0.0621694066, 0.0124081094, -0.7357473373, 0.1600975692, 0.086274527, -0.1630494893, -0.2143943161, -0.0408054627, -0.3250468373, 0.4020151198, 0.1994880438, -0.8147103786, 0.2737899125, -0.469622463, 0.3679715693, 0.730666101, 0.105471395, 0.6797004938, 0.1344987601, 0.5244984627, 0.2537495792, 0.0049977815, -0.3048706353, -0.4069030881, -0.7177585959, 0.4528960288, 0.2768378854, 0.2391410321, -0.8589725494, 0.3832275271, -0.425578177, -0.583563447, -0.2775635421, 0.1191443875, 0.4697945118, 0.9376571774, 0.3820930123, -0.148114115, -0.4436862469, -0.6005968451, 0.0512950793, -0.2750604153, -0.0699169859, 0.3957303762, 0.1732513011, 0.0985470265, 0.7386103272, -1.0750701427, -0.4377044737, -0.4009310007, 0.0666240677, 0.3606623113, 0.3404497504, 0.3918699324, -0.4257801473, -0.6279349327, -0.086316362, -0.5159834027, 0.3139390051, -0.0668784305, -0.2616763711, 0.0014343902, 0.4221815765, -0.6696951985, 0.0460678823, 0.4667013884, -0.3500993252, 0.4642174542, -0.102048561, -0.2595788538, -0.7325025201, -0.0523687266, 0.2729170024, -0.026769409, -0.7653023601, -0.0050925543, 0.3249530494, -0.3484128714, -0.5579852462, 0.4513878226, -0.49467659, 0.0074420841, 0.2074928433, 0.1688529104, -0.080051519, 0.7156214118, 0.425103724, 0.3705910444, 0.6324527264, -0.4563376009, -0.0930378065, 0.2716589272, 0.0106213782, 0.3879370987, -0.5488801003, 0.2869002521, -0.355373323, 0.5119171739, -0.7645343542, 0.1581315994, 0.174884811, -0.5046024323, 0.6978495717, -0.6103615165, -0.4483441114, -0.0810497254, -0.4377402365, 0.2785185874, 0.4816003442, 0.0499173217, 0.7000969052, 0.0770486742, 0.4195619524, -0.6325162053, -0.4502948523, 0.0294932127, 0.2830980718, -0.6909651756, 0.5059974194, -0.2211261094, 0.4925212264, 0.279604286, -0.1262689233, -0.3077180088, -0.1716314405, 0.4829908013, 0.3994196951, -0.4065988064, 0.209809497, -0.0307646319, -0.2657977641, -0.2220078558, -0.4103626907, 0.8601372242, -0.0993935913, -0.3603626192, -0.0374718159, -0.1752419025, 0.3842388988, -0.0996923149, 0.8124094009, 0.5492555499, -0.2362036705, -0.4329691529, -0.1010363325, 0.0075693424, -0.4454073608, 0.4654960334, -0.3108872473, -0.7925778031, 0.3343113363, -0.1485249698, -0.0577851236, 0.3670869768, 0.1480118334, 0.2173520774, 0.7268928289, 0.7522126436, -0.1246559992, 0.2941596508, -0.5841584206, 0.1952666193, -0.9574416876, -0.542688489, -0.3518323898, -0.0795234516, -0.6098411679, -0.287989676, 0.3464986086, 0.2110428512, -0.5677276254, 0.5926756859, -0.2924492359, 0.402761966, 0.2170336843, 0.2873281538, 0.2445121855, -0.1911070794, -0.1503923386, -0.0751686096, -0.7353584766, 0.1613211632, 1.1646435261, 0.1722853333, 0.942433238, -0.0190799609, 0.8340524435, 0.1043348536, -0.1738342941, -0.8597002625, 0.6443498731, -0.3937240541, -0.2089171857, -0.3185019195, -0.352096796, -0.9169574976, -0.0822657123, -0.3736664057, -0.6333465576, 0.076901637, 0.1415208727, -0.3512414396, 0.5476555228, -0.2130001932, 0.4480401874, 0.0641250387, -0.4723568857, -0.0736106187, -0.9288554192, 0.4393180907, 0.1696057469, -0.0702230111, -0.2539874613, 0.0553330258, 0.5393385887, -0.2006889582, 0.7844386697, -0.0327174552, 0.1119390577, 0.0512459166, 0.5151215792, 0.3783525229, -0.2943901122, -0.2868604958, 0.2022729367, -0.3662365377, -0.1086154953, -0.7498158216, 0.7026056051, -0.677218616, -0.3068992496, -0.1479756832, -0.3598052561, -0.4362882674, 0.3654637337, 0.0514728837, 0.4833479524, -0.0333472826, 0.2434701473, 0.6819366813, -0.0659417808, 0.3899972737, 0.7905367613, 0.1400726736, -0.3505478799, 0.7380678058, 0.22562626, 0.2829963863, 0.6947971582, 0.0400092863, -0.5222638249, -0.4723351896, -0.5334413052, 0.4076093137, -0.7679730058, -0.5458828807, -0.4515793025, -0.7319816351, -0.4952945709, -0.3379732072, -0.3670647144, -0.2984578907, -0.2271006554, -0.0997829512, 0.0604345314, 0.4615822136, -0.0088302102, 0.0739749074, -0.7907124758, 0.203589797, 0.0406934656, 0.5614625216, 0.2846170664, -0.3303947151, -0.0741423517, -0.1273387372, -0.2962983251, -0.9986667633, 0.159760803, 0.606353879, 0.3499106169, 0.6600223184, 0.5063445568, 0.6485139132, -0.9333462715, 0.5476730466, 0.6811852455, -0.8536897302, 0.6189840436, -0.2331333309, 0.1903370917, 0.4805033207, 0.4571997225, -0.4971844852, -0.299862653, -0.684530139, -0.814868927, 0.618616581, 0.1406744868, 0.1292551607, -0.121179603, 0.3542973399, -0.154490307, 0.3686387837, -0.6509670019, -0.3842402101, -0.011418961, -0.2566772401, 0.1332927048, -0.177446872, 0.1192645133, 0.0280527249, 0.4576378763, -0.222291857, 0.0009651687, -0.0059414194, -0.0690583587, -0.4134841263, 0.3319116831, 0.2116718888, 0.725015521, -0.5717440248, 0.3305462003, -0.0268902872, -0.2249139249, 0.3408575356, -0.1215666309, -0.6199656129, 0.1590446979, 0.5292660594, 0.8918733001, 0.4009066522, -0.5311824679, 0.6495284438, 0.3767686784, 0.030683035, -0.2379078567, 0.2468835711, 0.2077874243, 0.0878498405, 0.1957511902, -0.3786162734, 0.1471125931, -0.7152918577, 0.2289499342, 0.4724052548, -0.7226050496, -0.4177211225, 0.5690907836, 0.194587782, -0.2333570421, 0.6072534323, -0.2968375981, -0.4104374051, 0.5131168365, 0.7866338491, 0.8280822039, -0.3023917377, 0.5369636416, 0.5378696322, 0.1265712082, 0.2171096802, -0.0960526466, -0.0966527611, -0.8728774786, -0.3822102547, -0.7614195943, -0.4094996154, 0.3121213913, -0.5794282556, 0.5511901975, -0.7680712342, 0.1620259285, -0.0452514291, 0.0553361997, -0.6942073107, 0.1188809946, 0.3064582348, 1.0446105003, -0.9426118135, 1.0344179869, 0.3502125144, -0.7000207901, -0.7447732687, 0.0074750921, -0.2052945793, -0.9115455151, 0.8281111717, 0.0646122396, -0.3964365423, 0.0567218773, -0.5279716849, -0.6619343758, 1.1738381386, 0.6791158319, -0.793266058, -0.4952480793, 0.1897738576, 0.3664045334, -0.4657853842, 0.2444580048, 0.2239269316, 0.1154524609, 0.7104614377, -0.5992398858, 0.429731667, 0.0862880349, 0.106197767, 0.3921139538, -0.6288956404, 0.9234672189, -0.3601434529, -0.4302043021, -0.3106966019, 0.5320485234, 0.2750920355, 0.1243844852, 0.4896326363, 0.4452655911, 0.2606360912, 0.2602495253, 0.4844101965, -0.8326846957, 0.4372021854, 1.4979892969, -0.4881442189, 0.9012019634, 0.079205066, -0.070802249, 0.8216105103, 0.3865666687, -0.1235836297, 0.7070883512, 0.1568806767, -0.1994306594, -0.4432433248, -0.3054301739, -0.3976981044, 0.2751036584, 0.4338105321, -0.4636900127, -0.7952201366, -0.6454045773, 0.1422226727, -0.1917399168, -0.3926843703, 0.5704596043, -0.0239676163, -0.133666873, 0.4417724609, -0.0488781445, 0.4144197702, -0.9602071643, -0.3111115396, 0.0642364547, -0.0376516469, -0.1651094109, -1.1849611998, 0.0731333643, -0.5465503931, 0.0967467204, 0.3141177595, 0.9111615419, -0.7206702828, -0.2820566595, 0.595023036, 0.3455481529, -0.1294884682, 0.1792097986, -0.6682230234, -0.042139478, -0.0623963661, 0.1107912809, 0.4105739892, 0.4479221702, 0.3097699583, 0.7279016972, 0.4487716854, 0.441170305, -0.0951645151, -0.0564601347, 0.9761912227, -0.7133814096, -0.496227026, -0.9019391537, 0.306381017, -0.137857601, 0.0178886019, 0.3635909557, 0.6256506443, 0.6796543598, 0.0577615239, 0.7015595436, 0.0928590745, 0.0407714695, -0.7202060223, 0.4784936309, -0.2901848555, -0.0845721886, -0.3186949492, -0.8197113872, -0.2066047788, 0.1276127845, 0.0416055098, -0.1100811884, 0.6195554137, 0.5465186238, -0.2261277288, -0.4214285612, 0.6234152913, 0.3874189556, 0.2211540639, 1.159383297, 0.1263900101, -0.1700945199, 0.8170881271, -0.3690354228, 0.0555475838, -0.1858493835, -1.0992897749, -0.8272919059, -0.656449914, -0.3018701375, -0.4064565301, 0.2487964183, 0.7318972945, 0.689688921, -0.4682097137, -0.2810710669, -0.1985692978, 0.1236633509, 0.2459072918, -0.1869234294, 0.5102525353, -0.2790514529, -0.3745684326, 0.2338066548, 0.6052160263, 0.0614202917, -0.4415229261, -0.2769318223, 0.0214560758, 0.0046682195, 0.5404620767, 0.4952566028, -0.5399258137, -0.2862195373, -0.1111987904, 0.1796690822, 0.1312489361, 0.7638109922, -0.6505403519, 0.3691564798, 0.4169481397, 0.3804486394, 0.755102694, -0.3048127592, 0.6116634607, -0.729162693, 0.2249772996, 0.2810913324, 0.5152570009, 0.2238646001, -0.3800495565, 0.6778799295, 0.1284000278, -0.0684000552, -0.6000739336, 0.723502934, -0.9955277443, -0.3014377356, 1.116594553, -0.5199111104, -0.4922562242, -0.1472363919, 0.231938675, 0.5073744655, -0.6078852415, 0.4686416388, 0.1058969796, -0.4079365134, -0.2580412328, -0.2786129713, 0.3420087695, -0.2809617519, -0.3913246691, 0.1204914674, 0.5028243065, 0.4577472806, 0.2642169893, 0.7676566243, 0.1450435966, -0.0024079911, -0.0151892491, 0.0278631654, -0.4152206481, -0.4080277979, -0.0723427981, 0.4402479231, 0.1428830028, -0.1663918942 ]
http://arxiv.org/abs/2402.10772v1
http://arxiv.org/pdf/2402.10772v1
Enhancing ESG Impact Type Identification through Early Fusion and Multilingual Models
2024-02-16T15:54:24
2024-02-16T15:54:24
Hariram Veeramani, Surendrabikram Thapa, Usman Naseem
cs.CL
cs.CL
In the evolving landscape of Environmental, Social, and Corporate Governance (ESG) impact assessment, the ML-ESG-2 shared task proposes identifying ESG impact types. To address this challenge, we present a comprehensive system leveraging ensemble learning techniques, capitalizing on early and late fusion approaches. Our approach employs four distinct models: mBERT, FlauBERT-base, ALBERT-base-v2, and a Multi-Layer Perceptron (MLP) incorporating Latent Semantic Analysis (LSA) and Term Frequency-Inverse Document Frequency (TF-IDF) features. Through extensive experimentation, we find that our early fusion ensemble approach, featuring the integration of LSA, TF-IDF, mBERT, FlauBERT-base, and ALBERT-base-v2, delivers the best performance. Our system offers a comprehensive ESG impact type identification solution, contributing to the responsible and sustainable decision-making processes vital in today's financial and corporate governance landscape.
[ -0.5455764532, -0.6738255024, 0.3506570756, 0.1125898734, -0.2013428509, 0.629866302, 0.0307442732, -0.784781754, 0.3290931284, 0.6084931493, -0.445010066, -0.3594318926, -0.9371606708, -0.084351033, -0.3782907426, 1.2792373896, 0.2295039147, -0.0402785875, 0.0213110335, -0.0469296537, -0.0845278725, -0.3637101054, -0.4932273626, -0.3076936603, 0.5986297727, 0.2025061101, 0.2749503255, 0.0617971346, 0.3613261282, 0.279070586, -0.3704066873, 0.2769223452, -0.6613405347, -0.4080886543, -0.0432638936, -0.0445985831, -0.1566573083, -0.0044676797, 0.5989322066, 0.4028906822, -0.3012570739, 0.3395778239, 0.3655816615, 0.2225777805, -0.8622604012, 0.3816277981, -0.5961023569, 0.2007847726, -0.3227920532, -0.0616819225, -0.4467555583, 0.144463405, 0.480053097, -0.6290313005, -0.2230119258, 0.0856816098, 0.7569394708, 0.1209410951, -0.681245625, -0.2271318585, -0.6170998812, 0.6455476284, -0.1416706145, 0.4674136937, -0.0493309982, 0.1726150662, -0.0612147301, -0.7941191792, -0.2535609901, 0.3723148108, -0.2682927251, 0.354624033, -0.1307358295, 0.1915102005, -0.1089953557, 0.2651202381, -0.4753667712, 0.3347716928, -0.7485296726, -0.524297297, 0.5549656749, -0.1758252382, 0.000579434, -0.1627990156, -0.6327849627, -0.1437330842, -0.7879188657, 0.0266762972, 0.5475401282, 0.4107651114, -0.2339279354, 0.3597320914, 0.0115466202, 0.4588980377, 0.2864192426, 0.1162392646, 0.2958129644, -0.2170554698, -0.2424623519, 0.3632113338, 0.3807938397, 0.0136659956, -0.3166712523, -0.0307497885, -0.3707120121, -0.1532040387, 0.1988405436, -0.6373851895, -0.0700366348, 0.164680481, -0.6369518042, -0.5113255978, 0.3106677532, -1.0224411488, -0.6880854368, -0.3971247971, 0.8543860912, -0.1202614605, -0.3789410591, -0.1003988236, -0.2961398959, 0.6322190166, 0.241478771, -0.8382014036, 0.1292385906, 0.8906728029, 0.7251888514, -0.1603543609, -0.1308066398, -0.802067399, 0.4630720019, 0.2942309678, 1.1855435371, -0.765637219, -0.8666713834, 0.0564469509, -0.0100852512, 0.0485518426, -0.4000083804, 0.589353919, -0.4457076192, 0.1992510408, -0.2221866548, -0.4521264136, -0.4174352288, -0.1090370119, -0.6451165676, 1.151473403, -0.0568092503, -0.5972018838, 0.7202106118, -0.8206087947, -0.4768854678, 0.5093194246, -0.4823545516, -0.332788974, 0.1967509091, 0.0984886289, 0.5557447672, -0.1489389241, 0.1063561961, -0.3348732591, -0.1365526021, -0.6915505528, -0.2216415703, 0.5687299967, 0.1647821963, -0.0875150114, 0.2629744112, -1.0747418404, 0.014329873, -0.1093930155, -0.1510827243, -0.3038274944, 0.3567148745, 0.3460424542, 0.218124181, 0.5387496948, -0.2417812645, -0.0151963159, 0.0802032202, 0.3327132165, 1.0988360643, 0.2718200982, 0.2761709988, -0.0608950667, 0.2500270307, -0.0383843109, 0.2685475349, 0.0075461306, -0.6088824868, -0.2219126523, -0.3732572496, 0.0575435013, 0.7941752076, -0.5380843282, 0.5210357308, -0.2871528864, -0.9954093695, -0.2065385431, -0.0641445145, 0.3230177462, 0.2240149081, 0.3010620177, -0.1819885373, -0.6374871731, -1.1327325106, -0.611395359, -0.4652445614, -0.1838627458, 0.44585374, 0.7272145748, -0.0843693316, 0.8489638567, -0.3954122663, -0.1921821088, 0.00823115, 0.4865159392, 0.1741710901, 0.2024272382, 0.4080556631, -1.0882406235, -0.197440818, 0.1873918027, -0.4056145549, -0.0314618424, 0.0003901929, 0.0254876036, -0.2285932899, 0.2187753469, -0.0918177143, -0.035712637, 0.7634625435, -0.4894019067, 0.255268842, -0.0384644084, 0.1694894135, -0.9402833581, 0.127712816, 0.1922905892, 0.187499091, -0.7532844543, -0.261592418, 0.1832767725, -0.1104960218, -0.7763484716, 0.4962109029, -0.2307800055, -0.5063756704, 0.230371207, -0.1560084075, 0.0207612235, 0.241548419, 0.1558998972, 0.6091467738, 0.3953358233, -0.6618725061, 0.0305079445, 0.2947770953, -0.5256563425, 0.7097904682, -0.7320736647, 0.2823418677, -0.2739526927, 0.4310534894, -0.7937050462, -0.3801140189, -0.0806904957, -0.1454950869, 0.3775878847, -0.3408494592, -0.4888520837, -0.2454953939, -0.2675735652, 0.0416824557, 0.215944916, -0.6832566261, 1.2856068611, 0.8038605452, -0.235170275, -0.7052987814, -0.5562813282, -0.1150031015, -0.490432471, -0.8249051571, 0.6561470628, 0.4264431298, -0.1477604806, -0.0946935713, -0.1623931378, -0.0571398549, 0.4039096534, 0.2055620104, 0.3605781198, 0.1105341986, 0.0720565245, 0.1897129864, 0.0272984523, -0.3053283393, -0.0586927868, 0.4676209986, -0.5252559781, -0.2694275975, 0.1646992862, 0.4075243473, 0.6957034469, -0.6551319361, 0.7907463312, 0.9086996913, -0.6294692755, 0.0157507528, -0.469545275, -0.1244410202, -0.5124179125, 0.7549613714, -0.2843154073, -0.879730463, 0.8476524353, -0.2832790911, 0.2633505762, 0.9922425151, 0.5150386691, 0.0836836398, 0.8012441993, 0.5810164213, -0.0878641829, 0.7036422491, -0.1702289134, 0.0952975377, -0.7718173265, -0.5515992641, -0.3847445548, -0.1431086212, -0.6807983518, -0.0695899501, 0.7970253229, 0.0856638253, -0.2684568465, 0.233804062, -0.3901306689, 0.3558938205, 0.3092903793, 0.0297254678, -0.0475011915, 0.0277015846, 0.0927052721, 0.3783262074, -0.4695186317, -0.6587813497, 1.0963680744, 0.4787532985, 0.6571189165, 0.3617235124, 0.8932514787, 0.5917626023, 0.4263656139, -0.5856731534, 0.3174647391, -0.355535835, -0.7612758875, -0.2161239386, -0.2756316662, -0.6868085265, 0.4807896018, -0.6626618505, -0.9326907992, 0.2431664914, -0.0620064884, -0.9136355519, 0.1443453431, -0.8737812638, 0.6908595562, -0.4449509978, -0.2753243744, -0.2746364474, -0.5752058029, 0.2500425279, -0.3013280332, 0.4234619737, -0.0610089712, -0.1329621375, 0.8916509151, 0.0633506626, 1.0566184521, -0.4009757936, -0.2766548395, 0.3336392641, -0.4477199316, 0.99052912, 0.0538566373, 0.0305168293, 0.4171621203, 0.0333407782, -0.1797787994, -0.3962170184, 0.5445466042, -0.85201478, -0.2911156118, -0.2675251663, 0.0244457293, -0.2306595594, 0.1340932548, 0.2608288229, 0.2557590008, -0.502155304, 0.2010716945, 0.4946510494, -0.1906164289, 0.3768953383, 0.6068675518, -0.1425313503, -0.6334010959, 0.8704358935, 0.3887139857, 0.1103592068, 0.0590200461, 0.1469674855, -0.4823380113, -0.3309795856, -0.3468056619, -0.1360279918, -0.7489625216, -0.0723185912, -0.8400805593, -0.1099257693, -0.3643678725, -0.0749258474, -0.309574306, -0.0623995364, -0.4094613791, -0.2380785197, 0.2444223613, 0.748996079, -0.082294248, 0.5028927326, -1.1731352806, 0.1122554839, 0.408087194, 0.4742577076, -0.4689792991, -0.3577393889, -0.1355047822, -0.3161424696, -0.3788926005, -0.944088161, 0.0930186063, 0.5763064027, 0.8744234443, 0.7481105924, -0.3178012371, 0.2560823262, -0.441005975, 1.016864419, 0.0975817665, -1.0137891769, 0.3912333846, -0.3524400294, -0.1564605981, 0.6225528717, 0.3558220267, -0.6306732893, 0.1241869777, -0.7446503639, -1.0030105114, 0.4502211809, 0.0657787099, -0.1814027429, -0.0268883333, 0.0795790479, 0.214478299, 0.1205067411, -0.5685761571, -0.1611896306, 0.0882112533, 0.0009130751, -0.0956333205, -0.1980284005, -0.1677117646, 0.1646015793, 0.8974330425, -0.0861682966, 0.1707519293, -0.0824580044, -0.1424867809, 0.1031603068, 0.2393821627, 0.7153012156, 0.0913807377, -0.2066630423, 0.0169265792, 0.4002846181, -0.4104230404, -0.0649342164, 0.2867001891, -0.0339988768, -0.2464810759, 0.4277595282, 0.7988912463, 0.2978251874, -0.5109125972, 0.3222002387, 0.3173616827, -0.2080968022, -0.3607161641, -0.2375005484, -0.1370645463, 0.3861336708, 0.683259964, 0.0438243002, 0.326505363, -0.4862166047, 0.4519221783, 0.2506257296, -0.4361775815, -0.2408351004, 0.2871073186, 0.6442269087, -0.0182247385, 0.221668914, -0.1234800443, -0.8525536656, 0.8429671526, 0.335988611, 1.0592683554, -0.455606848, 0.070533812, 0.3491533101, 0.4047448039, -0.2546869218, 0.3939964771, 0.1796285063, -0.8150069714, -0.4460060596, -0.6323285699, -0.2954631448, 0.16654405, -0.7491787672, 0.6494805813, -0.4806773067, -0.0168036446, 0.2596184313, 0.0030314219, -0.7474068403, -0.0334875733, 0.6612989306, 0.5828124881, -1.2575775385, 0.3495103717, 0.7773641348, -0.2446599156, -0.4459974468, -0.3244268894, 0.5533542633, -1.0223789215, 0.5324773788, 0.3755927086, -0.2723553479, 0.1837065369, -0.2462937087, -1.0225952864, 1.2717189789, -0.0412611254, -0.7093482018, -0.0591194034, -0.1359932721, 0.3023620248, -0.4000117481, 0.3312431276, 0.5635598302, 0.8766855001, 0.0007734452, -0.9918169379, -0.3970197737, -0.1099617928, -0.2000298351, 0.5689142346, -0.8633334041, 0.5167888999, -0.0515289605, -0.4573928118, -0.5129258633, 0.6768344641, 0.1413861215, 0.2145689577, 0.8137183189, 0.5251090527, 0.9308108687, -0.0112281032, 1.0914485455, -0.5681610703, 0.6118683219, 1.0684839487, -0.2983008921, 0.9037384987, 0.5775564313, -0.247186929, 0.1470590085, 1.0531830788, -0.3032711744, 0.7499060631, 0.3657819033, -0.513604939, -0.1878037006, -0.3155690134, -0.2882705629, 0.7878759503, 0.8412530422, -0.496723026, -0.3034341633, 0.0068743229, -0.2329713106, -0.4432145655, -0.5988285542, 0.7936632037, -0.1544700414, -0.2979094982, -0.181525439, 0.0193094481, 0.8503059149, -0.557744503, -0.0428775139, 0.2537807822, -0.2459678799, -0.4394478202, -0.8497134447, 0.336614579, -0.0538844801, 0.160871163, -0.122348994, 0.7703255415, -0.4421845973, -0.4741877913, 0.6131361127, 0.5586330295, -0.0547794178, -0.197912544, -0.3884521425, -0.0643268004, -0.2466043979, -0.376612097, 0.0832757279, 0.1691975147, 0.0652496442, 0.1574065238, 0.3969104886, -0.2706590891, -0.0233859289, 0.0360829718, 0.5828278661, -0.2480874658, -0.4127981961, -0.659380734, 0.4815162718, -0.2062122375, -0.4155179858, 0.3065844476, 0.6869373918, 0.7688575387, 0.1082157046, 1.0177454948, -0.2942629755, 0.1606980413, -0.4937393665, 0.796720922, -0.4896987975, 0.2117829025, -0.3929059505, -0.9671791196, -0.1198906898, 0.2658819854, -0.2906576097, -0.0307736434, 0.3189828992, 0.6490741372, -0.1291020364, 0.1614119411, 0.3223678172, 0.109036386, 0.4687022567, 0.4024061561, 0.7542745471, -0.274982363, 0.6114166379, 0.0860122442, -0.3611437678, -0.1848398447, -1.00088799, -0.4203766286, -0.6208300591, -0.2636879385, -0.2956646979, -0.0829205662, 1.1065564156, 0.579179287, -0.6369953752, 0.2025661021, 0.2434737235, -0.183363691, -0.0760639086, -0.1915317029, 0.5060116053, 0.1077278927, -0.5011270046, 0.5108056664, 0.5952051282, 0.0796611607, -0.2190613598, -0.1118244156, -0.1506039351, 0.1545635462, 0.856243372, 0.241716519, -0.7354288697, -0.9002021551, -0.2802339494, 0.1482656747, -0.2616407871, 0.6041352749, -0.4246609509, 0.2122197598, 0.3729865551, 0.8514925838, 0.3793753386, -0.3520141542, 0.4187998176, -0.5504178405, -0.0128887203, 0.19577986, 0.5803793073, -0.1086697727, -0.5996851921, 0.6497237682, 0.3098334074, -0.2960281074, -0.5660422444, 0.3922996223, -0.9874724746, -0.0019219932, 1.2215294838, -0.1279562861, 0.0169681963, -0.1190970987, -0.0460462533, 0.1216447353, -0.5030237436, 0.7748423219, 1.0861668587, -0.0663353726, -0.1273186207, -0.06868276, 0.3135454953, 0.2585311234, -0.9307188988, -0.2087629288, 0.435803324, -0.0117317177, 0.3747675419, 0.2118684649, -0.2401730567, 0.1244334653, 0.0109325442, 0.2042515278, 0.1371976137, -0.3840810061, -0.5188913345, 0.3704747856, -0.404488951, 0.0381961949 ]
http://arxiv.org/abs/2402.10770v3
http://arxiv.org/pdf/2402.10770v3
How Reliable Are Automatic Evaluation Methods for Instruction-Tuned LLMs?
2024-02-16T15:48:33
2024-07-02T11:46:09
Ehsan Doostmohammadi, Oskar Holmström, Marco Kuhlmann
cs.CL
cs.CL, cs.AI
Work on instruction-tuned Large Language Models (LLMs) has used automatic methods based on text overlap and LLM judgments as cost-effective alternatives to human evaluation. In this paper, we perform a meta-evaluation of such methods and assess their reliability across a broad range of tasks. We observe that while automatic evaluation methods can approximate human ratings under specific conditions, their validity is highly context-dependent. Specifically, the simple ROUGE-L metric correlates well with human ratings for short-answer English tasks but is unreliable in free-form generation tasks and cross-lingual transfer. The effectiveness of the more advanced method of using GPT-4 as a judge diminishes significantly if reference answers are not included in the prompt, which is the scenario where this method has the potential to provide the most value compared to other metrics. Our findings enhance the understanding of how automatic methods should be applied and interpreted when developing and evaluating instruction-tuned LLMs.
[ -0.2307644188, -0.7056408525, 0.8134479523, 0.2943056524, -0.180050388, 0.1096414104, -0.4361382127, -0.4694387615, -0.1547468454, 0.1112951189, -0.3716697991, -0.3394837677, -0.5946063995, 0.3949530125, -0.4289755523, 0.8639907241, -0.268101126, 0.1664205641, -0.379285872, -0.0637115017, -0.5178186893, -0.3285781741, -0.4572181404, -0.2837050259, 0.3615770042, 0.5256916881, 0.6844856739, 0.8421179056, 0.579603374, 0.3814579844, 0.1644166857, 0.4710513651, -0.1870081574, -0.0748464614, -0.1737228036, -0.2905541956, -0.6060561538, 0.3407821953, 0.6411273479, 0.5537492037, -0.1567064375, 0.2799671292, 0.5092163682, 0.576391995, -0.7935872674, 0.0830488428, -0.5984715819, -0.0602824464, -0.1079131141, -0.1871275455, -0.5228476524, -0.4346560836, 0.1807817519, -0.3572197855, -0.0055737221, -0.2357501835, 0.6553720236, 0.5491585135, -0.5805703402, -0.585940063, -0.8813240528, 0.7340004444, -0.5621014237, 0.2664877772, 0.6420854926, 0.4619039893, -0.0313289762, -0.6441444755, -0.3190758228, -0.5663480163, -0.3887074292, 0.2250384986, -0.0265022479, 0.1658863127, 0.3742828965, 0.2464832366, -0.3819574118, 0.1880241632, -0.2483782619, -0.3166247606, 0.6047843099, 0.3335404694, 0.4142903686, -0.3641728163, -0.2593613863, 0.1644302458, -0.651399374, 0.0289847013, 0.6348496675, -0.0047713569, 0.0980600342, 0.4777725339, -0.0829181671, 1.0409134626, 0.2769794762, -0.2363531739, 0.0165577512, -0.5092329979, -0.1299432516, -0.3977815211, 0.7877378464, 0.5007604361, 0.4022218883, -0.4620096385, -0.3898409009, -0.1579354405, 0.4015491903, -0.5627234578, -0.0413033441, -0.0282507762, -0.0043638251, -0.0075587574, 0.2050229609, -0.5641948581, 0.1796824783, -0.3960862458, 0.6678490639, -0.1541292965, 0.3410599232, -0.1965627372, 0.0259773713, 0.1933124363, 0.3815739155, -0.885427177, 0.3870104253, 0.4900635481, 0.7437363863, -0.5459949374, -0.5136510134, -0.9815991521, -0.09414386, -0.3166781962, 0.8187619448, -0.544970572, -0.3441275358, -0.1490222663, 0.3926405609, -0.3521567583, -0.576405406, 0.6663705707, -0.5320330858, 0.3431034386, -0.2184024751, -0.7479481101, 0.0922737643, 0.1129746139, -0.8030177951, 0.9002497196, 0.2241469026, -0.4712152779, 0.3332857788, -0.3720403016, -0.5726113915, -0.0643914789, 0.0272790827, -0.2886948287, -0.0532251187, 0.1803586483, 0.2832962275, -0.2425291836, 0.1733414531, -0.0977111161, -0.84679389, 0.278646946, -0.9839750528, 0.4820214212, -0.1268373281, -0.7764538527, -0.0255524721, -0.6864063144, 0.4101339877, -0.2565552294, -0.5224064589, -0.1699090302, -0.0474793836, -0.2372327447, 0.0415877551, 0.2650306225, -0.1628800929, 0.0413947329, -0.2779349089, 0.2548150718, 0.8188154101, -0.0422280431, 0.4242307246, -0.3378398418, 0.7251724005, -0.4629772902, 0.0669737309, -0.2278287411, -0.4051611125, -0.7627037764, -0.1478806883, 0.4286046326, 0.7583894134, -0.5195457935, 0.6127282381, -0.0844737366, -0.4871813655, -0.4249991775, 0.3753782213, 0.5870389938, 0.3722085953, 0.510664463, -0.2067050487, -0.3189278841, -0.8432053328, -0.598413229, 0.0533127747, -0.1114829555, 0.3741229773, 0.4558498859, -0.3529659212, 0.941219151, -0.1160966754, 0.3264627755, 0.0337000713, 0.1966516972, 0.0725022629, 0.1022067294, 0.3499101102, -0.2081839144, -0.8235615492, -0.3092973232, -0.5530187488, -0.4542964697, -0.0235730056, 0.0816422179, 0.5414593816, 0.2105165869, -0.5489726663, 0.5201442838, 0.6292782426, -0.1240949184, 0.8195457458, -0.3090727627, 0.4390081763, -0.579980433, 0.0506545082, -0.0227265693, -0.4084279835, -0.3873280287, -0.0877186656, 0.2699197233, 0.3498500586, -0.3370080888, 0.8443404436, -0.5410369039, -0.2807705402, -0.5020292401, 0.4315880537, -0.0349589884, 0.226927489, -0.2744596601, 1.0433440208, 0.2071658969, -0.6618497372, 0.4813105464, -0.2325096428, -0.6500636339, 0.6862725616, -0.7210112214, 0.5011869669, 0.2930515707, 0.3660928011, -0.9031126499, -0.3145058453, 0.2925411165, -0.0410197563, 0.3092378974, -0.1422224343, -0.4189288616, -0.2741771638, -0.2165491134, 0.348156333, 0.4626865685, -0.6829808354, 0.3059546947, 0.030230673, -0.0252677463, -0.7830112576, -0.469856441, 0.0795737058, -0.1641273797, -0.4310820103, 0.2511992455, -0.1976689994, -0.3680078387, 0.0571198836, -0.4402227402, -0.0525811613, 0.1523699015, 0.1200319305, 0.1673731655, -0.0672266409, 0.0752290785, 0.0388075635, -0.1434977651, 0.0816682875, -0.0472697802, 0.2054525912, -0.3086544275, -0.7773414254, -0.4348973036, 0.0314265378, 0.5736792088, 0.0622842461, 0.3801633716, 0.5568179488, -0.1630446911, -0.2735761404, -0.5736558437, -0.1576664001, -0.4826486111, 0.3442317843, -0.1690451503, -0.642346859, 0.2788055241, 0.1281154454, 0.1486344337, 0.5085414648, 0.4455931783, -0.2502810061, 0.8730384111, 0.3172135353, 0.0317456611, 0.1079487801, 0.0582159758, -0.1441146135, -0.8027923703, 0.0878237188, -0.3982000649, -0.3273976743, -0.4448161125, -0.4933255315, 0.3847371936, 0.0950649679, -0.1280137599, 0.295555383, -0.2567517459, 0.73062253, 0.3417059183, 0.0518554896, 0.5160770416, -0.1143158525, -0.0823187754, -0.0232477151, -0.586810708, -0.8569881916, 1.0794407129, 0.2792185843, 0.7496308684, -0.018570397, 0.5138659477, 0.3699855208, 0.6316376925, -0.9190787077, 0.6022037864, -0.1977883279, -0.4624048173, -0.6256287694, -0.4548130631, -0.8265451193, 0.2427973449, 0.072367236, -0.6246468425, -0.3473994732, 0.168423295, -0.2840625048, 0.1145097315, -0.75772506, 0.6833339334, -0.7331538796, -0.5320824385, -0.1963819265, -0.4786858857, 0.3066966236, -0.3471410871, 0.1588632017, 0.1201224923, -0.2233683765, 0.7996115088, -0.4997341633, 0.8638775349, 0.034753751, -0.3377443552, 0.3280627131, -0.0726260766, 0.5216395855, -0.058310058, -0.0956657082, 0.1208558455, -0.0305017624, -0.214560166, -1.0009428263, 0.5854780674, -0.7144625187, -0.8284369111, -0.3660126328, -0.3940815926, -0.4112359881, 0.1245818287, 0.3397377431, 0.4939830005, -0.166512236, 0.0562791675, 0.2119570673, -0.15368931, 0.4454670846, 0.685626328, 0.1532147378, -0.5588297248, 0.6553330421, 0.2542079389, 0.4918606281, 0.2462987751, 0.2524757683, -0.1729554534, -0.1604126692, -0.8327208161, 0.0872846469, -0.954146266, -0.1729232222, -0.2838543057, -0.2666872442, 0.1188488528, -0.0664464906, -0.3141491115, -0.3819159269, -0.1114964038, -0.1739327163, 0.0065199407, 0.9540792108, 0.0015007765, 0.1484388113, -0.9632575512, 0.1798903942, 0.6586722136, 0.3785597086, -0.0470344797, -0.8141621351, -0.4679432511, 0.1864716709, -0.2434562594, -0.8962320685, -0.2086614221, 0.2738458812, 0.8487591147, 0.1796060354, -0.1317062229, 0.5995687246, -0.7974291444, 0.6893773675, -0.3303542435, -1.0956714153, 0.262621969, -0.0935182646, 0.4093751907, 0.5740910769, 0.4213193357, -0.2374893427, -0.5570828319, -0.3465948999, -0.7566751242, 0.6423021555, 0.0394278988, 0.0752227604, -0.140876025, 0.5844957829, 0.1587839425, -0.0233332571, -0.6560730338, -0.2397486866, 0.0402268581, -0.1845209152, -0.1255515218, -0.2172483206, -0.0534268916, -0.3242567182, 0.5466948748, -0.1602606028, 0.0941651091, -0.1402671784, -0.3268677294, -0.2799979448, 0.4389338791, 0.8331718445, 0.9988432527, -0.0813457519, 0.0949701592, 0.4969281554, -0.4288377464, 0.4735943973, -0.1475962847, -0.1368616223, 0.1699524969, 0.7209278345, 0.8017123938, 0.5084617138, -0.5291635394, 0.51636374, -0.013897758, -0.1598891616, -0.181691438, 0.3332214653, -0.0869765058, 0.1122569218, 0.0923187137, 0.0088431938, 0.0634009615, -0.5238086581, 0.441742599, 0.6013827324, -0.3701215088, -0.2958038449, 0.39367643, 0.3967781663, -0.489243418, 0.5955043435, -0.1524884254, -0.6063327789, 0.6473541856, 0.4286587238, 1.1037442684, -0.3175598681, 0.220323652, 0.3320646286, 0.6423497796, -0.2931270599, -0.1595057398, -0.1401676536, -0.471991539, -0.7838060856, -0.5078197122, -0.7377047539, 0.0932520702, -0.5942166448, 0.3156236112, -0.0639646649, -0.3650801182, -0.5689956546, -0.0524051934, -0.6839732528, 0.2147550583, -0.1055296063, 0.8738808632, -0.8771314621, 0.68950665, 0.6458343267, 0.0195401777, -0.9988261461, 0.5105788112, -0.0925078169, -0.7493619919, 0.6888706088, 0.3019612432, -0.6798394918, -0.3063285947, -0.1088727936, -0.8579536676, 1.0348733664, 0.4193089008, -0.7300061584, -0.0890939832, 0.0449211933, 0.7112787962, -0.1528942138, 0.7840964794, 0.802896142, 0.8000223041, 0.0650243312, -1.371989131, 0.099405773, -0.0767576396, -0.3926729858, -0.022861382, -0.6011519432, 0.4321626425, -0.3211469948, -0.2640400529, 0.1882723868, 0.2381085902, 0.0683089569, 0.2711840272, 0.8196105957, 0.3933169842, 0.8953242898, -0.0412765183, 0.949698925, -0.5678705573, 0.4330114424, 1.0789136887, -0.2366725057, 0.6656246185, 0.0972974673, -0.2736620009, 0.5476206541, 0.5433790684, -0.048396714, 0.3160637021, 0.1823904961, -0.034501791, -0.1871981323, 0.5376029015, -0.0652779043, 0.4848905802, 0.1299178004, -0.2513747215, -0.1234085709, -0.2110715508, -0.0815742612, -0.0765372515, -0.1152744368, 0.7270201445, 0.0758739784, -1.0614881516, 0.7904483676, 0.0405720212, 0.540194273, -0.4241591394, -0.0105662346, -0.302390784, 0.0162664, -0.321996063, -0.6640629172, 0.2923068404, 0.3037500083, -0.089555569, -0.1631749868, 0.5480197072, -0.4334932864, -0.3440791965, 0.1927081347, 0.6612496972, 0.1360268146, 0.3645641506, -0.4572331905, -0.2050971091, -0.1613899469, -0.3415990472, 0.1938877404, 0.2697955668, -0.0265822019, 0.5783872008, 0.1167014465, 0.0703552812, -0.133262381, -0.0240054522, 0.4137822092, -0.5876564384, -0.1534108669, -1.1679399014, 0.4779218137, 0.0415211096, -0.0848440602, 0.9646964073, 0.382671535, 0.7639604211, 0.0576247424, 0.9297329783, 0.3350087702, 0.3411321938, -0.8090053201, 0.5259439349, -0.5615081191, 0.5864437222, -0.3892311156, -1.2278587818, 0.0446917973, 0.5776694417, -0.4986325204, 0.4902371168, 1.0426814556, 0.479499191, -0.1706632227, -0.1438939422, 0.2485812008, -0.1081933007, 0.1141524985, 0.3804194331, 1.0640683174, -0.2276680022, 0.5948920846, -0.1040062457, -0.4464136958, -0.2793882787, -0.939094305, -0.8599749207, -0.2327131182, -0.1602574438, -0.1910713911, 0.1321916282, 0.7598975301, 0.5391646624, -0.571349144, -0.3333261013, 0.2416383624, 0.3440253437, -0.245400846, -0.2262937576, 0.5122733712, -0.6639040112, -0.9032506347, 0.556884706, 0.3676368296, -0.213718906, -0.4276833534, -0.1585393101, 0.3681304753, 0.2280405909, 0.5146265626, 0.1309494972, -0.7954906821, -0.5782747865, 0.1852743775, -0.4302566648, -0.169416815, 0.7385587692, -0.5664460659, 0.3374008536, 0.2989980578, 0.7477608323, 0.0722823068, 0.3757646084, 0.7149154544, -0.5298568606, -0.3002757132, 0.0351656973, 0.2971066236, 0.3231646419, -0.151205793, 0.5488898754, 0.2581988573, -0.8880853057, -0.6010848284, 0.1502536982, -0.5148665309, 0.0396143608, 1.431411624, -0.2436417192, -0.0190521125, -0.0526401252, 0.0417834073, -0.0016692802, -0.0552363284, 0.863521874, 1.0023719072, -0.3925181031, -0.0128348907, -0.7375612259, 0.5319597721, 0.4560841918, -0.8989231586, -0.0555738136, 0.5072792172, 0.4802688956, 0.0908238068, 0.5387396812, 0.1136501878, 0.4874269664, -0.433976084, -0.3466317952, 0.0235318001, -0.5111668706, -0.3112921417, -0.1896695644, 0.1916446984, -0.0107187452 ]
http://arxiv.org/abs/2402.10769v1
http://arxiv.org/pdf/2402.10769v1
Distillation Enhanced Generative Retrieval
2024-02-16T15:48:24
2024-02-16T15:48:24
Yongqi Li, Zhen Zhang, Wenjie Wang, Liqiang Nie, Wenjie Li, Tat-Seng Chua
cs.CL
cs.CL, cs.AI, cs.IR
Generative retrieval is a promising new paradigm in text retrieval that generates identifier strings of relevant passages as the retrieval target. This paradigm leverages powerful generative language models, distinct from traditional sparse or dense retrieval methods. In this work, we identify a viable direction to further enhance generative retrieval via distillation and propose a feasible framework, named DGR. DGR utilizes sophisticated ranking models, such as the cross-encoder, in a teacher role to supply a passage rank list, which captures the varying relevance degrees of passages instead of binary hard labels; subsequently, DGR employs a specially designed distilled RankNet loss to optimize the generative retrieval model, considering the passage rank order provided by the teacher model as labels. This framework only requires an additional distillation step to enhance current generative retrieval systems and does not add any burden to the inference stage. We conduct experiments on four public datasets, and the results indicate that DGR achieves state-of-the-art performance among the generative retrieval methods. Additionally, DGR demonstrates exceptional robustness and generalizability with various teacher models and distillation losses.
[ -0.1892611682, -0.5731639862, 0.7331454158, 0.0227533076, -0.3800875843, 0.392265439, -0.1550490409, 0.0186058041, -0.1446028352, 0.3105445802, 0.0114626782, -0.4429493546, -1.0427638292, 0.3336050212, -0.8310953975, 1.1001735926, 0.2433613092, 0.0506879762, -0.3478922248, 0.2871637344, -0.2746482491, -0.5728797317, -0.5186089873, -0.5247194767, 0.5642837286, 0.0462006256, 0.5285964608, 0.5469359159, 0.6753237247, 0.3158047497, -0.6618728042, -0.110343039, -0.8515082002, 0.416359663, -0.1061451659, -0.5261771083, -0.2933936715, 0.046602793, 0.6284125447, 0.7042793036, -0.5195724368, -0.1517417431, 0.4502162933, 0.8770147562, -0.6332018971, 0.1089846045, -0.9134225249, 0.1292120218, -0.3604605496, -0.1839068085, -0.5314558744, -0.5749252439, 0.2448377907, -0.3798880577, 0.4298789501, -0.2006705403, 0.4515200257, 0.3711617589, -0.4559010267, -0.2314172983, -0.7436356544, 0.5011825562, -0.4616683722, 0.2706347406, 0.4123917818, 0.6438888907, -0.1388965547, -1.2676054239, -0.6050035954, -0.1871948838, -0.2215694189, 0.3329119086, -0.0722389445, 0.2425111979, 0.1476479024, 0.9754827023, -0.3850790858, -0.2250448167, -0.2677406669, 0.2950241268, 0.5028415322, 0.0582303442, -0.0307448842, -0.1409615874, -0.5158027411, -0.2551392913, -0.4178377092, -0.2816590667, 0.4183908701, 0.3144246042, 0.4282622039, 0.3054366708, -0.1847802252, 0.9456853271, 0.3056686223, -0.1154872477, 0.0917783901, -0.3752987683, -0.0559312478, 0.2278804928, 0.4521919787, 0.1764881462, -0.2007277906, -0.1586773098, -0.3590569198, -0.3898616135, 0.3303698003, -1.0422422886, -0.5804416537, -0.2191837281, -0.57514292, -0.5811886191, 0.2322746515, -0.9456166625, -0.4268464744, -0.2985707819, 0.4627404213, -0.2400138974, -0.2996656597, 0.0448010899, -0.5836298466, -0.1654209197, 0.3767679036, -1.2140864134, 0.2541057467, 0.6582999229, 1.0030487776, -0.3639619052, 0.1420166343, -0.3220986426, 0.0933824033, -0.0345177613, 0.3603660166, -0.9221605062, -0.6255882978, -0.2730264366, -0.2495508641, 0.0710911006, -0.7391764522, 0.5242266655, -0.7700683475, 0.0338594802, -0.2343090475, -0.4886952937, -0.176160872, 0.1057358086, -0.9033495784, 1.2282266617, 0.1054694876, -0.7264786959, 0.434075743, -0.2209039479, -0.258356899, 0.4218449891, -0.2522470057, -0.2685999572, 0.239751786, 0.176173538, 0.2362375408, -0.4392175376, 0.5994389653, 0.0220266506, -0.6121669412, -0.1147614717, -0.8466604948, 0.637134552, 0.3918581307, -0.2393906116, -0.4983041286, -0.6408772469, -0.0639316663, -0.0621535555, -0.8502935171, -0.7552416325, 0.0223154463, 0.0577605516, -0.1168051511, 0.151278317, -0.6030367017, 0.5049396157, -0.0120931892, 0.4029988945, 0.548286736, -0.0029448185, 0.4416363835, -0.0438803397, 0.4713501632, -0.0193792377, 0.0489904992, 0.1253309399, -0.5525709391, -0.4388886392, -0.4244991243, 0.6544437408, 0.2522375286, -1.0569841862, 0.3913946748, -0.4852688611, -0.4098090231, -0.7086113095, 0.0617617667, 0.4016897678, 0.5743227601, 0.5471288562, -0.1138070673, -0.4118413925, -0.4776501954, -0.0426137559, -0.2539685071, -0.1298863441, 0.0542264991, 0.3453162313, 0.0340270624, 0.9252247214, -0.9248629808, -0.2562628388, -0.4274021089, 0.1746175736, 0.4023230672, 0.2892874479, 0.6448390484, -1.2568949461, -0.7615454793, 0.0185401756, -0.5015924573, 0.0049938941, 0.1889166832, -0.3109924197, -0.3754921854, 0.4208919108, -0.1122270525, 0.3558947444, 0.4430351555, -0.0852245539, 0.0013377112, -0.3473319411, 0.3544046879, -1.1022816896, 0.1685092598, -0.2330386043, -0.1454818547, -0.5626904368, -0.0731497779, 0.0036713902, -0.1371619105, -0.0919384286, 0.1671857834, -0.4207542837, 0.2244764715, -0.3976661563, 0.0239133053, 0.3729641736, 0.0683014318, 0.0147881722, 0.8614422083, 0.4650043547, -0.602551043, 0.4249488413, 0.4315553606, -0.3321708441, 0.4808789194, -0.7417395115, 0.0773820505, -0.6947265863, 0.4222832024, -1.0576423407, 0.1548326313, -0.020625582, -0.2783723176, 0.7082545757, -0.466455698, -0.3473663926, -0.325861603, -0.1474870294, 0.335113138, 0.6885527968, -0.863861084, 0.2813489437, 0.2419756204, -0.2195321769, -0.6146509051, -0.6694597602, 0.2853744924, -0.2630775273, -0.0081379227, 0.8729122877, 0.1034940928, -0.0233054776, -0.0742382631, -0.2084436566, -0.1369947493, 0.1816243082, -0.1766434908, 0.0993329361, 0.206255734, 0.2826515734, 0.2276754826, -0.1520685107, -0.360468328, -0.3514018953, 0.3188721538, 0.3247513175, -0.1820222884, -0.0106895808, 0.4970452189, 0.3796654642, -0.2360428572, 0.6523153782, 0.3794004917, -0.2044253945, -0.2326472551, -0.3466697037, -0.2771826982, -0.5179253817, 0.3466728926, -0.5066165924, -0.6822912693, 0.2720741034, -0.0545337014, -0.2580987513, 0.2677797973, 0.2923671901, -0.003997399, 0.9651094675, 0.5722526908, -0.0732300133, 0.6449972391, -0.3645596206, 0.1404232085, -0.8025379777, -0.524345994, -0.5836955309, -0.4491754472, -0.6630371213, -0.4195454419, 0.6085907817, 0.4166446626, 0.2549719214, 0.3427072465, -0.9956789613, 0.5259689093, 0.5672509074, 0.2664435506, 0.6541851163, 0.2220969349, -0.3497610092, -0.000947018, -0.70009166, -0.5556527376, 1.0094343424, 0.1038694233, 1.0661435127, 0.3560402095, 1.1249536276, 0.3352843523, 0.3646474779, -0.4994307458, 0.4165549278, -0.5209854245, -0.8040064573, -0.3373835385, -0.5394545197, -0.9924509525, 0.712813139, 0.0868127793, -0.3933198452, 0.2653925717, 0.0446383506, -0.2261793613, 0.1590789109, -0.531912148, 0.6785227656, -0.2603873014, -0.2373777628, -0.0346211717, -0.514816761, 0.0911471397, 0.0625973269, -0.4397833645, 0.1337162405, 0.031639941, 0.4164880812, -0.4324991405, 0.5834359527, -0.4452545643, -0.2004219294, 0.4017005861, -0.2537864149, 0.4139100909, 0.1131900847, -0.4645431936, -0.0133310482, -0.1086748019, -0.1185418889, -0.8440077305, 0.8150212765, -0.4275708199, -0.8783944249, -0.5321863294, 0.0073291371, 0.1144609004, 0.1492912471, 0.3248396218, 0.2829796672, -0.1546582878, 0.4951486886, 0.8009694815, -0.0194030944, 0.5011447668, 0.2895691395, -0.0980802551, -0.383692354, 0.8826118112, 0.2260553092, 0.3165977895, 0.7846574187, 0.198019594, -0.6988471746, -0.9056620002, -0.6151043177, -0.2743769288, -0.7616915107, -0.3698802292, -0.6859935522, -0.2909644842, -0.367181927, 0.3349994719, -0.1025156751, -0.3342066109, -0.4125127792, -0.3545122445, 0.6796938777, 0.6909664869, 0.1707620621, -0.0338590071, -0.8950579762, 0.2654616237, 0.4598300755, 0.4770642221, 0.3147521913, -0.5868217349, -0.0466976911, -0.0093687624, -0.5005928874, -0.9633801579, 0.3136893809, 0.5826519728, 0.878929019, 0.1662952304, 0.321602881, 0.7623208761, -0.5571447015, 0.6550472975, 0.1097657979, -0.6905480623, 0.6607267857, -0.2429611683, 0.1973436922, 0.9878475666, 0.6314882636, -0.4004134834, -0.2366390824, -0.1181301028, -1.035910964, 0.4395724535, 0.4609872699, 0.2875718176, -0.329113096, 0.5594193339, 0.4653867185, 0.4187777936, -0.6130058169, -0.4045751095, -0.3078630865, -0.3039332032, -0.1609275341, -0.186189279, 0.0268636961, -0.4235695899, 0.3961278796, -0.0142918136, 0.0647195578, 0.3323040307, 0.0170971006, 0.3665948808, 0.3139029145, -0.0173443183, 0.4379919469, -0.3220576942, 0.3732711375, -0.050702814, -0.8483695388, 0.5167205334, 0.4238414466, -0.4394928515, 0.3151763976, -0.0036668018, 0.6759881377, 0.0258289166, -0.1891443431, 0.4671851397, -0.060218025, -0.0414171629, -0.0867787898, 0.121936731, -0.0396342501, 0.2591014802, 0.9188805223, -0.4356077015, 0.7346009612, -0.4958150387, 0.391446054, 0.2522489429, -0.3088588119, -0.1106019169, 0.8498973846, 0.437930733, 0.0937100202, 0.7431187034, -0.2377653122, -0.4498204589, 0.3897521496, 0.5654390454, 0.9108641744, -0.1124442443, 0.3741983175, 0.4942194819, -0.078203477, -0.4049891531, 0.1661786437, -0.5131434202, -0.2259030491, -0.1515326798, -0.9404571652, -0.1372362524, -0.0968620479, -0.8974527121, -0.0063866088, 0.0376756638, -0.5202960968, -0.0700259432, -0.1575318277, -0.3384232521, 0.0857731998, 0.1576959193, 0.633345902, -0.5187504292, 0.7988559604, 0.5649330616, -0.5287111998, -0.3655509353, 0.2478207946, -0.2382615954, -0.2775417864, 1.0148632526, 0.0512937047, -0.0405967645, 0.3807423413, -0.009387604, -0.900116086, 1.5350905657, 0.3426238298, -0.8614298701, -0.1609054804, 0.007311888, 0.7265476584, -0.0410314091, 0.4664702713, 0.5025469065, 0.3861078024, 0.5387988091, -0.8755535483, 0.13006486, -0.2586972117, 0.6873033047, 0.3436223567, -0.471447438, 0.7753680348, -0.0356556401, -0.4255591929, 0.0422306992, 0.5066182613, 0.0458829291, 0.2949057519, 0.2171864212, 0.7161464095, 0.7207792401, -0.3930702806, 1.0730336905, -0.0829498395, 0.2978445292, 0.8967679143, -0.1853313595, 0.802220583, 0.6010612845, -0.4143811464, 0.3764566779, 0.3973754346, -0.0025694589, 1.1856458187, 0.4473137856, -0.6830810905, -0.090412125, -0.1201728433, -0.6228170395, 0.4136609733, 0.079366833, -0.6973141432, -0.3464919925, 0.1443873793, -0.3685921133, 0.2799885571, -0.1694248915, 0.9300615191, 0.1049495786, -0.8365657926, 0.8032623529, -0.1596331596, 0.7721652389, -0.3092094064, -0.4718889296, -0.3382351398, 0.2668727934, -0.1301143914, -0.6457288861, 0.0779477432, 0.0510917753, -0.2518669665, -0.6016100049, 0.5493468046, -0.8580281734, -0.4333177209, 0.27747491, 0.3363521993, 0.1141073406, 0.030493604, -0.4733102918, -0.1202291325, -0.0568987727, -0.2214354575, 0.4787200391, 0.4989784658, 0.2891196012, 0.3379015923, 0.3793261349, -0.04265384, 0.0219750293, 0.4763286114, 1.1166642904, -0.4023825526, -0.3564478755, -0.9317480922, 0.4827741385, -0.3014548421, 0.024189949, 0.8289299011, 0.5609047413, 0.8811610341, -0.0457260683, 0.8580812812, -0.1982116401, 0.2475395054, -0.4253373444, 0.8731142879, -0.5012755394, 0.3011823595, -0.2819297612, -1.0328868628, -0.0357721671, 0.5734955668, -0.163288936, 0.2093227506, 0.3950733542, 0.7030695677, 0.0003407695, -0.2650764585, 0.3765438497, -0.3056173623, 0.3748755753, 0.3759051859, 0.877872169, -0.5797699094, 0.7181464434, -0.0257764831, -0.2586886287, -0.3191895187, -0.7626220584, -0.7482964993, -0.6988496184, -0.2628537714, -0.0701683164, 0.3629532754, 0.4884073138, 0.5649956465, -0.5444581509, 0.2181942761, -0.3410580158, 0.0260855183, -0.2909359932, -0.2508628666, 0.096976839, -0.3270694017, -1.1465623379, 0.350710839, 0.1062602326, 0.3604020178, -0.2485972941, -0.0290892813, -0.2552897632, -0.351821214, 0.5996143222, -0.2277877033, -0.5041059852, -0.0948154554, 0.0005311013, -0.2837737501, -0.0261439662, 0.886421144, -0.7397859693, 0.7429968715, 0.8287649751, 0.6629554629, 0.7225235105, 0.3720472753, 0.6307579279, -0.8093857765, -0.0442372635, 0.552775085, 0.0444922708, 0.3466770649, -0.4761789143, 0.4330796897, 0.1293587834, -0.3233017623, -0.797924161, 0.0895070583, -0.5860203505, -0.2279873043, 1.0463172197, -0.3396432698, 0.2086975873, -0.0516594015, -0.1675302833, 0.3026402891, -0.4470160604, 0.9874866009, 0.6416732669, 0.1276126802, -0.0654318333, -0.3294157684, 0.5979558825, 0.1931066066, -0.5227698684, -0.0084368419, 0.5512595773, 0.025546113, 0.0631750301, 0.6004428267, -0.4069755673, -0.1658483297, 0.1667446494, -0.206420809, -0.1679365784, -0.4508766532, -0.375505209, 0.2296555042, 0.2224808633, -0.3470620811 ]
http://arxiv.org/abs/2402.10767v1
http://arxiv.org/pdf/2402.10767v1
Inference to the Best Explanation in Large Language Models
2024-02-16T15:41:23
2024-02-16T15:41:23
Dhairya Dalal, Marco Valentino, André Freitas, Paul Buitelaar
cs.CL
cs.CL, cs.AI, I.2.7
While Large Language Models (LLMs) have found success in real-world applications, their underlying explanatory process is still poorly understood. This paper proposes IBE-Eval, a framework inspired by philosophical accounts on Inference to the Best Explanation (IBE) to advance the interpretation and evaluation of LLMs' explanations. IBE-Eval estimates the plausibility of natural language explanations through a combination of explicit logical and linguistic features including: consistency, parsimony, coherence, and uncertainty. Extensive experiments are conducted on Causal Question Answering (CQA), where \textit{IBE-Eval} is tasked to select the most plausible causal explanation amongst competing ones generated by LLMs (i.e., GPT 3.5 and Llama 2). The experiments reveal that IBE-Eval can successfully identify the best explanation with up to 77\% accuracy ($\approx 27\%$ above random), improving upon a GPT 3.5-as-a-Judge baseline ($\approx+17\%$) while being intrinsically more efficient and interpretable. Additional analyses suggest that, despite model-specific variances, LLM-generated explanations tend to conform to IBE criteria and that IBE-Eval is significantly correlated with human judgment, opening up opportunities for future development of automated explanation verification tools.
[ -0.4959624708, -0.9212316275, 1.0353950262, 0.2759929895, -0.0875902101, -0.1327214241, -0.4217316508, -0.4613595605, -0.1805379242, 0.2308434248, -0.3587133288, -0.3695766926, -0.5901834965, 0.1381389648, -0.5496984124, 0.9122350216, -0.0520729497, 0.0091733607, -0.2298364043, 0.1494153142, -0.2619715929, -0.134458676, -0.7386376262, -0.565851748, 0.678561151, 0.1535594314, 0.7079466581, 0.6771763563, 0.3715880811, 0.2412385345, -0.1297892779, 0.0528778397, -0.472492069, -0.127599135, -0.6949615479, -0.6144958138, -0.1964170188, -0.087597467, 0.4966770411, 0.839905858, -0.2726751864, -0.0363783464, 0.0232532974, 0.5223135352, -0.6489632726, 0.0769569427, -0.5909716487, -0.3089657724, 0.1431238949, -0.0858201683, -0.7041876912, -0.5147950053, 0.1460844576, -0.3788914382, 0.0561766215, 0.3646646738, 1.0232076645, 0.0991718099, -0.5113341212, -0.2939943075, -0.9181081653, 0.731107533, -0.8657516837, 0.4466035366, 0.3201659918, 0.5187771916, -0.2715214491, -0.735930562, -0.7858986259, -0.3584136367, -0.0656258538, 0.2087979615, -0.2390989214, 0.3418016732, 0.1794602871, 0.3466733694, -0.6045721173, 0.3645663857, -0.085506998, -0.1628341675, 0.75154531, -0.0731902122, 0.2993867993, 0.0177096501, -0.5317604542, 0.134336561, -0.8854724169, 0.0753950328, 0.1311332434, -0.2614167035, 0.0048077968, 0.4235921502, -0.1116589606, 0.643765986, 0.0795327798, -0.0277241394, -0.3350729346, -0.0399562158, -0.4335967302, 0.0260898191, 0.7969735265, 0.3082734644, 0.2479972094, -0.2634188235, -0.3221696317, 0.175760299, -0.0735715479, -0.6621286869, -0.0798898563, 0.407844156, -0.433552295, -0.1284469068, 0.0226122141, -0.7108579874, -0.3683095574, -0.6342869401, 0.4766540527, -0.4226531386, -0.175842762, 0.1506124586, 0.0092460671, 0.3202374279, 0.3849640787, -0.7986446023, 0.2413877696, 0.8333163857, 0.4916798174, -0.0490805842, -0.2772853673, -0.5808243155, 0.1961612105, -0.5645234585, 1.0640226603, -0.6944446564, -0.0149003835, -0.2465525866, -0.2029643059, -0.0696646571, -0.4327250123, 0.7324454188, -0.6253254414, 0.2618136406, -0.2383420467, -0.905156374, -0.5280649662, -0.1414806098, -0.3373402655, 0.8796693087, -0.1542609483, -0.4115278125, 0.3639285564, -0.8493967056, -0.1453046352, -0.0067025181, 0.0563504063, 0.0640952066, 0.4755074084, 0.351221621, 0.4151936173, -0.7495636344, 0.9317253828, -0.4282862246, -0.1832008064, 0.5069838762, -0.895837009, 0.79826051, 0.3931444883, -0.3466537297, -0.0705704093, -0.6292429566, -0.0135265114, 0.0809475183, -0.0404387452, -0.2993734479, 0.2236565351, -0.274815768, 0.0099420473, 0.1037875935, -0.4771628082, -0.1543744504, -0.5597222447, 0.1455346495, 0.897284925, 0.0470919162, 0.3360358775, -0.1178478971, 0.5447186232, -0.3120611012, 0.1282524318, -0.2039091885, -0.268805474, -0.2614114881, -0.4278124869, 0.1733368635, 0.430499047, -0.540851593, 0.3614996374, -0.2211339176, -0.3794039488, -0.4467957914, 0.1899148077, 0.5484349728, 0.5750164986, 0.1362472475, 0.1154604629, -0.3672302067, -1.1967014074, -0.6339809299, -0.5029172301, -0.2290411443, 0.1336477399, 0.5675612092, -0.1322520226, 1.186365366, -0.3254120946, 0.6008415818, -0.4314424396, 0.2507891059, 0.3844717741, 0.1127700433, 0.4833211899, -0.8629158735, -0.4262516201, 0.0448202975, -0.7100824714, -0.6574553847, -0.2568030655, -0.3789634705, -0.1049691215, 0.1870692521, -0.3532864153, 0.2162408233, 0.4472387135, -0.2752263844, 0.8019687533, -0.1686019599, 0.0244336948, -0.7911089659, 0.0368547849, 0.1175655574, -0.2677631676, -0.670396626, 0.2606677115, 0.0455201752, 0.2453702837, -0.2431885749, 0.8821728826, -0.3458898664, 0.0386657193, -0.28901577, 0.4822691679, 0.2484119385, 0.3015886545, 0.0782894492, 0.5435721278, 0.6677880287, -0.5665631294, 0.358912468, 0.012647761, -0.3590109646, 0.5705725551, -0.5896424055, -0.1178620979, -0.4046086967, 0.3186792731, -1.0977998972, -0.5708144903, -0.0235907342, -0.3859289289, 0.19963938, 0.0549623929, -0.3175630867, -0.4043319523, -0.0810928345, 0.2128182799, 0.4257864058, -0.9786362052, 0.7902004123, 0.1108159646, -0.1453338563, -0.5174853206, -0.542301774, 0.1438999921, -0.3579799235, -0.7061355114, -0.0864378586, -0.2491083294, -0.7601226568, -0.2015231103, -0.2136898637, -0.2327943593, 0.3705467284, -0.0380123928, 0.3673459291, -0.5856303573, 0.1787591577, 0.1466492563, -0.1420170963, 0.3212364018, -0.0890990645, 0.1994394064, -0.2725010216, -0.5146372914, -0.5192700624, 0.3116725683, 0.554207027, -0.0428212211, 0.9606240392, 0.1912326664, -0.3274191022, -0.22504282, -0.7006007433, -0.2271346003, -0.4359461069, 0.1456293166, -0.3935531974, -0.4239035547, 0.6595846415, -0.147984162, 0.0877075344, 0.4649828672, 0.5094640851, 0.0237587318, 1.2066777945, 0.2467090636, 0.0791838318, 0.326744318, 0.0507152118, 0.689419806, -0.8770652413, -0.1191353723, -0.4704526067, -0.0450187325, -0.3644429445, -0.2637878954, 0.2891966701, 0.4091952741, -0.2256740928, -0.0356341861, -0.1539647281, 0.8165478706, 0.3248121142, -0.057209935, 0.2934912443, -0.1670312732, -0.0863946751, 0.2718259692, -0.4827998877, -0.8791649342, 0.7396408319, 0.3961950839, 0.8748716712, 0.210815981, 0.5277707577, 0.0331035256, 0.7314879298, -0.5694600344, 0.5201240182, 0.2237648964, -0.795373559, -0.2821798027, -0.3259687126, -0.8565836549, 0.5277429223, -0.042573709, -1.1921180487, 0.0471716076, 0.3931329846, -0.2327534407, 0.2391762137, -0.9845671058, 0.816704452, -0.4277619123, -0.6216109991, -0.2181794941, -0.5415514112, 0.6649982333, -0.1151466668, 0.528873086, -0.0598945357, 0.0292965807, 0.4655299187, -0.2986696362, 0.6409184933, -0.2313650399, -0.4138301015, 0.4025983512, 0.182164982, 0.6737344861, 0.1334195584, -0.3394697607, 0.121914275, -0.0743568987, -0.3631190062, -0.9886723161, 0.5259433985, -0.3978869915, -0.8172084689, -0.1251975, -0.4565061927, -0.2117586136, -0.1240169033, 0.1559455544, 0.5911370516, -0.0803322718, 0.2416253239, 0.6520199776, -0.5961860418, 0.3147541881, 0.7817221284, -0.4669208825, -0.0843141079, 0.8225257397, -0.3178203106, 0.4614716768, 0.6951428652, 0.7752022743, -0.5839853287, -0.6768374443, -0.4111891985, 0.3348586559, -0.7568769455, 0.0982425064, -0.4863855541, -0.0103411376, -0.1022915095, -0.3967159092, -0.1910516918, -0.1367127597, 0.0882023722, -0.4265980721, 0.0993253142, 0.6916976571, -0.2097330242, 0.4144382477, -0.5508514047, 0.4122100174, 0.1341541559, 0.2698444128, 0.2281779945, -0.5609996319, -0.0950434059, 0.2852977514, -0.0946054757, -0.9504344463, 0.3089065552, 0.2303241044, 0.6368325949, 0.7906224728, 0.0062295492, 0.8335811496, -0.4092556238, 0.8617374301, 0.288482368, -1.0877346992, 0.5801203251, -0.3202321827, 0.1028309688, 0.2041006386, 0.2149499953, -0.5833461881, -0.8491607308, -0.637578249, -0.9796034098, 0.4710554481, 0.1551604271, -0.1629663408, -0.2190607339, 0.4693021476, 0.5297791958, -0.0306273028, -0.915394187, 0.0706655905, 0.3836200535, -0.4454090595, -0.0129143884, -0.2261098027, 0.0372962169, -0.0287007503, 0.8009831905, -0.2156906128, 0.4190666974, 0.1603105664, -0.2903500497, -0.1092061996, 0.3649170697, 0.614790082, 1.2292408943, 0.1831492335, 0.4019599855, 0.2356213629, 0.033118289, -0.0627650321, -0.0436645746, -0.0177573375, -0.1902817488, 0.866435349, 0.9547887444, 0.0693662688, -0.9112608433, 0.5050109029, -0.0206563007, 0.0638768747, -0.2162302434, 0.2006285489, 0.1482741684, 0.3015206158, 0.5294722915, -0.2552930117, 0.2659233809, -0.5527399182, 0.0697344393, 0.5483421683, 0.1168724224, -0.493065834, 0.9135760069, -0.0635099411, -0.1940177828, 0.0356950089, 0.0041558482, -0.5061450005, 0.7960045338, 0.500944674, 0.7836691737, -0.3834367394, 0.2460398227, 0.2740834951, 0.1024787351, -0.2395112514, 0.1103689, 0.0778077692, -0.6595897675, -0.8286135793, -0.8270205259, -0.4137151539, 0.0762156695, -0.7811607718, -0.0014995565, -0.0120026888, 0.4491195083, 0.2007197589, -0.4319120944, -0.5625425577, 0.2414304912, 0.1337254196, 0.9585958123, -1.0520293713, 0.4753247499, 0.380669415, -0.1831441373, -1.0627512932, 0.0417170525, 0.0258911774, -1.0191925764, 0.7407337427, 0.0010565633, -0.1466435939, -0.1317866892, -0.8038218021, -0.7889248729, 0.7706499696, 0.7688401937, -0.7717639208, 0.2335767895, -0.1355748326, 0.6797968745, -0.216783613, 0.6812849641, 0.688154459, 0.718673408, 0.1055974737, -0.7981754541, 0.0224271957, 0.1323109716, 0.0860444456, 0.2669787407, -0.4182033241, 0.2050800323, -0.3157519698, -0.0997453034, 0.0904609859, 0.6883174181, 0.0753538162, 0.5818921924, 0.3627498448, 0.2878289819, 1.0524638891, -0.1512682885, 1.5345641375, -0.395526737, 0.4263940454, 1.0293695927, -0.2109279484, 0.7166054249, 0.4979251325, -0.2030211687, 0.6690574288, 0.8617690802, 0.40461573, 0.4228307009, 0.1351135671, -0.4526812434, -0.3714566827, -0.0488845408, 0.1917899847, 0.3654164374, 0.3062851131, -0.5070273876, -0.3111416101, 0.1946020722, -0.0042035561, 0.0478413664, -0.3234283924, 0.7223454118, 0.187669456, -0.9820071459, 0.5245703459, -0.1641803831, -0.026751034, -0.5720695853, -0.0199084319, -0.3393036723, 0.2342575043, -0.0740757212, -0.9527897239, 0.1003564969, 0.2496328801, -0.0222072285, -0.301954776, 0.6070862412, -0.4179562628, -0.3588214815, 0.3343535066, 0.481518358, 0.4307110906, 0.098414436, -0.3836046457, -0.1699544936, 0.0571371354, -0.6004080772, 0.1686326861, 0.6872683167, -0.1836569011, 0.9022865891, 0.5192008018, 0.1091952398, 0.0367246866, -0.0338158756, 0.51506567, -0.5495501757, -0.4184879065, -1.2622151375, 0.5701972246, 0.0529359765, 0.0546841882, 0.4872820675, 0.5028493404, 0.4194675684, 0.0913363174, 0.8379613757, -0.096260041, 0.3464711905, -0.7743762732, 0.1977381408, -0.5509306192, 0.5121141076, -0.057487186, -0.9837556481, -0.172901988, 0.7520200014, -0.5745175481, -0.0617489368, 0.9793337584, 0.7501718402, -0.2226011157, 0.314050436, 0.3439429402, 0.7195939422, 0.5309900641, 0.5523221493, 0.913520515, 0.1049279645, 0.3049683869, 0.0897024497, -0.4230230451, -0.2128606588, -1.122087121, -0.6716546416, -0.1803273112, -0.3170493543, -0.1640767455, -0.0265984684, 0.9481320381, 0.35507828, -0.8150746822, -0.0554969981, -0.3073450625, 0.4435694516, -0.4100999236, -0.2870393693, 0.4038178325, -0.2263941765, -0.7659537196, 0.4747969806, 0.4182103574, -0.3676297665, -0.142844364, -0.1816201955, -0.0063713142, 0.5107795, 0.6956053376, 0.16933842, -1.1350195408, -0.6913431287, -0.295183301, 0.1774697006, 0.0374937281, 0.6294712424, -0.5428282619, 0.5256951451, 0.3809022009, 0.7325329781, 0.2090548873, 0.1113774702, 0.831178546, -0.326790899, -0.2852059603, 0.1512373388, 0.5650616288, 0.0937207043, -0.2253040969, 0.5999773741, -0.015971167, -0.5732293129, -0.9607471824, 0.3389760554, -0.8327278495, -0.3813995421, 1.3776510954, -0.2652449012, -0.4531077445, -0.0122939451, -0.3155312538, 0.0125910649, -0.3557690084, 0.8328496814, 0.9793140888, -0.3906833827, -0.262506187, -0.7450896502, -0.0320468731, 0.4019750953, -0.9288945794, 0.2842397392, 0.6225351691, 0.2250278145, -0.0088893352, 0.2235605717, 0.1962715834, 0.2826121747, -0.20089522, -0.1445836872, 0.2067922354, -0.2110249549, -0.3259342015, 0.085629791, 0.3245954514, 0.2091891319 ]
http://arxiv.org/abs/2402.10753v1
http://arxiv.org/pdf/2402.10753v1
ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stages
2024-02-16T15:19:46
2024-02-16T15:19:46
Junjie Ye, Sixian Li, Guanyu Li, Caishuang Huang, Songyang Gao, Yilong Wu, Qi Zhang, Tao Gui, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Tool learning is widely acknowledged as a foundational approach or deploying large language models (LLMs) in real-world scenarios. While current research primarily emphasizes leveraging tools to augment LLMs, it frequently neglects emerging safety considerations tied to their application. To fill this gap, we present $ToolSword$, a comprehensive framework dedicated to meticulously investigating safety issues linked to LLMs in tool learning. Specifically, ToolSword delineates six safety scenarios for LLMs in tool learning, encompassing $malicious$ $queries$ and $jailbreak$ $attacks$ in the input stage, $noisy$ $misdirection$ and $risky$ $cues$ in the execution stage, and $harmful$ $feedback$ and $error$ $conflicts$ in the output stage. Experiments conducted on 11 open-source and closed-source LLMs reveal enduring safety challenges in tool learning, such as handling harmful queries, employing risky tools, and delivering detrimental feedback, which even GPT-4 is susceptible to. Moreover, we conduct further studies with the aim of fostering research on tool learning safety. The data is released in https://github.com/Junjie-Ye/ToolSword.
[ 0.0129433023, -0.7763488889, 0.5596184134, 0.0032123455, -0.3826069832, 0.2579428256, -0.0358643457, -0.4352881908, -0.6318156719, 0.6249579787, -0.4071284235, -0.7983874083, -0.6162366867, -0.0339048877, -0.7417708635, 1.0462015867, -0.1587585211, 0.1128741503, 0.0020845595, 0.1317391694, -0.5661731958, -0.6330165267, -0.7180710435, -0.0079042194, 0.6769374013, 0.3395065963, 0.4484509826, 0.6353423595, 0.4801382422, 0.315744102, -0.0572077632, -0.2728718519, -0.4944535792, 0.4146463275, -0.1557453126, -0.639560461, -0.3387892544, 0.2732059658, 0.3320852816, 0.6249716282, -0.2281711251, -0.1629116833, 0.3048510253, 0.0672916621, -0.606197238, -0.0166145992, -0.8848170638, 0.0402378775, -0.3598199189, -0.1068180948, -0.5107941628, -0.4841419458, 0.0266936235, -0.4213818908, 0.1235852093, -0.0130970217, 0.5086947083, 0.1772304177, -0.4796581268, -0.366658181, -0.2731752992, 0.7311862111, -0.7916334271, 0.3398361504, 0.4562644958, 0.4805183113, -0.4992646575, -0.8159116507, -0.4303621352, -0.0747874603, 0.2541764081, -0.1687884927, 0.3276084661, 0.1874667406, 0.587469697, 0.0654212385, -0.3392384946, 0.4707458615, -0.6978011131, -0.3655657172, 0.7157880068, 0.2499997765, 0.2704815269, 0.0427824706, -0.2837257087, -0.3790921569, -1.0026270151, -0.2992064953, 0.6417714953, 0.32174173, -0.4372561872, 0.2468677759, 0.2869569063, 0.554504931, -0.3971140683, -0.5107879043, 0.4381237924, -0.2412670106, -0.1743309498, 0.0802508295, 0.8656855226, 0.4577569067, 0.0549815036, -0.3988518417, -0.3042698503, -0.2591874301, 0.506713748, -0.8322342634, -0.2590573728, 0.2445292473, -0.0549035482, -0.836719811, -0.175671488, -0.4791670144, -0.9160961509, 0.1383505613, 0.510248065, -0.2999302745, -0.3842645586, 0.0133406445, -0.0057449169, 0.4898468256, 0.1620839387, -0.4170224071, 0.0571031086, 0.7698888183, 0.8436650634, -0.2706608772, -0.454778105, -0.741792202, 0.1764807105, -0.4100626111, 0.3002915084, -0.2619659305, -0.9079497457, 0.1871218979, 0.3473594785, 0.1775611341, -0.3797622621, 0.4272451401, -0.3882058859, 0.2123055309, -0.1841288954, -0.3293001056, -0.3733685911, 0.2245315611, -0.6618663669, 0.89616853, -0.2056002766, -0.8512791991, 0.6800650954, -0.4893348515, -0.6437225938, -0.0982887149, -0.304984957, -0.5451876521, -0.0003494601, -0.2841356993, 0.6329323053, -0.1108176187, 0.3165676892, -0.6087135077, -0.1701217741, 0.1545924246, -0.3336642683, 0.8091742396, 0.0792602673, -0.4069389105, 0.3943487704, -0.4487251639, -0.3207472265, 0.2864921689, -0.3362088799, -0.1968162656, 0.1266106516, 0.0769505799, 0.4617662728, 0.0379920006, -0.7901756167, -0.0860538855, -0.567856133, 0.4363358319, 0.8605158329, -0.0264263786, 0.2254288495, 0.1456743926, 0.5824625492, 0.2127513885, 0.3232429624, -0.1473111659, -0.0840590522, -0.3089897037, 0.4269077778, 0.2860791385, 0.5333830118, -0.8068609834, 0.0276105125, 0.1535094678, -0.5006740689, -0.1373694539, 0.3531500399, 0.6016855836, 0.3279864192, 0.0597925633, -0.3541429341, -0.3885191679, -0.6733436584, -0.3789584935, -0.1401699334, 0.0205017887, 0.021240849, 0.3865778446, -0.0457831435, 0.5828595161, -0.4280801713, -0.137199536, -0.3691768944, 0.0347760133, -0.1440845728, 0.5515685081, 0.5473824143, -0.7240440845, -0.2168505043, -0.090916045, -0.660387218, 0.2367514223, 0.0118217524, 0.0820793509, 0.299382925, 1.1367263794, -0.2436161041, 0.3030798435, 0.4473199248, -0.089218013, 0.5589877367, 0.0524330437, -0.5551422238, -1.3857854605, -0.0138991205, 0.0010408942, -0.2193468362, -0.4563879073, 0.2253613025, 0.1854786277, -0.0616749413, -0.9151351452, 0.3934942782, -0.3586716354, 0.0784692913, -0.3376803398, 0.3306114078, -0.3348018229, 0.0332480222, -0.2605822384, 1.0549246073, 0.6309899688, -0.2792142928, 0.22846587, -0.1806689948, -0.2339024544, 0.1618623883, -0.8511354923, 0.2614358664, 0.2536175251, -0.0785222799, -0.5996820927, -0.438277483, 0.2018847466, -0.308440119, 0.3627738059, -0.1539854258, -1.0627866983, -0.2251885682, -0.3902468085, -0.0195216592, 0.3836209774, -0.2529266775, 0.4141976833, 0.7594508529, -0.3073889315, -0.7162028551, -0.195766747, 0.1025865674, -0.4817520678, -0.1507277042, -0.3358790278, -0.0133046545, -0.2191092223, -0.2944661677, -0.3754091859, 0.0662720352, 0.8174342513, 0.4526247382, 0.2272536308, 0.3719395697, 0.3161136806, 0.1389693618, -0.0427980348, 0.6571707129, 0.1232574582, 0.4519847333, -0.1387548298, -0.4258042872, 0.3547309935, 0.0958270133, 0.4908730984, -0.1859508604, 0.5349108577, 0.9090685248, -0.3740098178, -0.3167608082, -0.4824040234, -0.3424241245, -0.5567557812, 0.5780971646, -0.2240886539, -1.0201812983, 0.3317151964, -0.3950080872, 0.6932118535, 0.0832950696, 0.4647786617, -0.1135588065, 1.1861060858, 0.9681745768, -0.075549528, 0.3199397027, -0.0556443594, 0.2907233536, -0.5810930729, -0.4206593633, -0.4326851666, -0.0968939364, -0.5316882133, -0.399143815, 0.6085491776, 0.1742829084, -0.0359261706, 0.3301917911, -0.138322264, 0.586920023, 0.4353675544, -0.1267237365, 0.0968958884, -0.1593508422, -0.7046465278, 0.2018506527, -0.528444469, -0.533800602, 1.2662141323, 0.4639944434, 0.9172572494, 0.1021370366, 0.9283989072, -0.0063877064, 0.2439840436, -0.8056184649, 0.7689074874, 0.2095504552, -0.7106552124, -0.2487285435, -0.1306699216, -0.98951298, 0.1699505299, -0.205521524, -0.6955243349, -0.288552314, 0.1002007201, -0.1753713787, 0.4175121188, -0.7276880741, 0.9799070358, -0.6212475896, -0.6755074859, -0.2892820239, -1.1034115553, 0.4342415035, -0.4000991583, 0.4058335423, -0.1776535511, 0.0068043307, 0.841824472, -0.1540088207, 1.1565042734, -0.140401125, -0.3589053452, -0.0169563852, 0.3698352277, 0.4812299013, -0.0489460491, 0.1003828049, 0.0244145654, 0.2829638124, -0.1179491505, -0.1066861451, 0.6895240545, -0.5152109265, -0.7393203378, -0.5382267237, -0.6956894994, -0.335296303, 0.604131341, 0.0151845366, 0.4404784441, -0.0085799936, 0.2024027109, 0.7546302676, -0.5197682977, 0.552148819, 0.4075642228, -0.4365008473, 0.0152434809, 0.9790527821, -0.03252884, 0.3416478038, -0.3691344857, -0.0337375402, -0.1740064472, -1.0932626724, -0.2690974772, 0.280239135, -0.7841520309, -0.2401405126, -0.5693394542, -0.1360555291, -0.0730416104, -0.0795201734, -0.1526637524, -0.0069560548, -0.1225620136, -0.5216342807, 0.360992521, 0.9140701294, -0.0269724075, 0.3494262695, -0.8659111857, -0.1269601136, 0.0263418537, 0.5842557549, -0.1905749291, 0.0353569984, -0.4948698878, -0.3536112309, -0.6457104683, -0.8453797102, 0.1823604852, -0.1245857179, 0.6752700806, 0.3928221166, 0.2168106139, 0.2414080352, -0.5447100401, 0.7247862816, 0.3081176281, -0.6618593931, 0.6994315982, -0.4363407195, 0.1078811213, 0.6173457503, 0.5665026307, -0.4855410159, -0.5944480896, -0.635423243, -1.1769477129, 0.6112725139, -0.2182698697, 0.1348919421, -0.1818718165, 0.0922382101, 0.4105327725, 0.347745955, -0.7043122649, 0.026250653, 0.0845371932, -0.0204528179, 0.0609479249, -0.0915040374, -0.5099107623, 0.0581812039, 0.5530286431, -0.1787285656, -0.2524548769, -0.4573044777, -0.4647376537, -0.0857470781, 0.3328946531, 0.3609525263, 0.7183040977, -0.1490985304, 0.300075531, 0.363137424, -0.6806285977, -0.0003497757, 0.0674119145, 0.0346056558, -0.2396781892, 0.3659185469, 0.6514562964, 0.3352109194, -0.9151402712, 0.6249710917, -0.0123868594, -0.2043512315, -0.4349113107, 0.3619250655, 0.2758968771, 0.0482001007, 0.166863665, -0.2709026337, 0.2441775352, -0.5138006806, 0.1704140753, 0.5041956306, -0.6161891222, -0.4231047034, 0.6386001706, 0.4861623645, -0.1851011664, 0.2877418399, -0.2405054271, -0.4894280732, 0.3081849813, 0.314168632, 0.9752055407, -0.1351029277, -0.0279265605, 0.2242956907, 0.6637816429, -0.0887838975, 0.3409518301, 0.1068324819, -0.4105076492, -0.4930444062, -0.6196934581, -0.449772954, 0.2690305114, -0.4809626639, 0.2406549156, -0.6648591161, -0.2025863677, -0.2719160616, -0.2075198442, -0.4747505784, -0.0154645536, -0.0034240708, 1.0134423971, -0.9203439951, 0.8981505632, 0.796723485, -0.3423199952, -1.0332558155, 0.0502744466, 0.6188611388, -0.6773533821, 0.6042608023, 0.3335827291, -0.3902110755, 0.0353814028, -0.77322644, -0.4971588254, 1.129945159, 0.2285935581, -0.6156295538, -0.2476916462, -0.0605553351, 0.1429161131, 0.1010828316, -0.1224405766, 0.7199585438, 0.1473496854, -0.1146389022, -1.2177602053, 0.0883178413, -0.068660222, -0.2028493285, 0.3526993096, -0.0622221269, 0.4819855094, -0.3790697753, -0.3941342533, -0.1498565376, 0.1196659803, 0.2637471259, 0.2540354133, 0.5897573233, 0.5550565124, 0.3358285427, -0.2258892953, 1.0258998871, -0.2308377326, 0.0927911326, 1.0865769386, -0.3432074487, 0.8289150596, 0.5677392483, -0.1671370119, 0.1550122648, 0.7764155865, 0.2155160308, 0.3222655058, 0.2670122683, -0.1446655393, -0.3352653384, 0.1117136329, -0.4248433709, 0.4802083969, 0.561316371, -0.4184898436, -0.4353164136, 0.2423284352, 0.4465623796, -0.2171754688, -0.0711291283, 1.0026650429, 0.3258395791, -0.1976624429, 0.3406351805, -0.0575935543, 0.6078488827, -0.5178205967, -0.232546702, 0.122170791, 0.2056726813, -0.0361036658, -1.0528764725, 0.1942158341, -0.0836738274, 0.4692842662, 0.0717738792, 0.7192963958, -0.1093062684, -0.3538848162, 0.3930382729, 0.465759635, 0.2089327723, 0.2288504988, -0.6995876431, 0.3806624115, -0.275639981, -0.009983656, 0.5842829943, 0.3895328939, -0.1813218445, 0.8045808673, 0.5153121948, 0.1423874199, 0.2374934256, 0.0206331853, 1.0334165096, -0.439148128, -0.3657620847, -0.6632493734, 0.5467557311, -0.2924298942, -0.1514795423, 1.0290660858, 0.3867451847, 1.1029238701, 0.0828811675, 0.9058955908, -0.0625448227, 0.5821986794, -0.5273412466, 0.9462929964, -0.5034000874, 0.4482397437, -0.4709483385, -0.7167413831, -0.4080421925, 0.356749773, -0.5955159664, 0.0834948868, 0.7319173217, 0.6758981347, -0.0464323685, -0.1507059038, 0.2976102829, 0.3223225176, 0.3997262418, 0.1982841641, 0.6538493633, -0.2470131665, 0.7669435143, -0.2598620057, 0.0573438965, -0.283816278, -0.8995386958, -1.0244740248, -0.5708315372, -0.1359734684, -0.4663678408, 0.238807261, 0.854691267, 0.4857770205, -0.5775298476, -0.4120146036, -0.049138248, 0.1910393387, 0.1259713918, -0.1288974434, 0.1699694544, -0.4318527281, -0.4650166631, 0.4500279725, 0.1700017303, -0.0489274673, -0.3888103366, -0.0144284945, 0.0114233028, -0.3747798502, 0.6263577342, 0.2449158728, -0.7323940396, -0.469433099, -0.1289709508, 0.0692621768, -0.3745217323, 0.7947726846, -0.645260334, 0.5498515368, 0.1833403111, 0.6897266507, 0.2607889771, -0.4269502759, 0.7360708117, -0.9500994682, 0.1247859672, 0.2335801125, 0.3243601918, 0.4632123113, -0.1378197819, 0.6077461839, 0.0651747212, -0.4696424901, -1.2103613615, 0.5519430637, -0.7695608735, -0.3023994863, 1.0898079872, -0.1011924148, 0.1504013538, -0.5487221479, -0.1783310175, 0.3080691099, -0.1447733492, 0.7153368592, 0.5232560039, 0.2327596098, -0.295257628, -1.0539351702, 0.6646498442, 0.0875228643, -0.7248818874, 0.1972746402, 0.5998335481, 0.7055172324, 0.0108348345, 0.0097360853, -0.4573417306, 0.4112077355, -0.1059529036, 0.0853635892, -0.2592739761, -0.3880569339, -0.2054390162, 0.2041544318, 0.6353675127, -0.0503374301 ]
http://arxiv.org/abs/2402.10744v1
http://arxiv.org/pdf/2402.10744v1
GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Models
2024-02-16T15:01:24
2024-02-16T15:01:24
Pengcheng Jiang, Jiacheng Lin, Zifeng Wang, Jimeng Sun, Jiawei Han
cs.CL
cs.CL, cs.AI
The field of relation extraction (RE) is experiencing a notable shift towards generative relation extraction (GRE), leveraging the capabilities of large language models (LLMs). However, we discovered that traditional relation extraction (RE) metrics like precision and recall fall short in evaluating GRE methods. This shortfall arises because these metrics rely on exact matching with human-annotated reference relations, while GRE methods often produce diverse and semantically accurate relations that differ from the references. To fill this gap, we introduce GenRES for a multi-dimensional assessment in terms of the topic similarity, uniqueness, granularity, factualness, and completeness of the GRE results. With GenRES, we empirically identified that (1) precision/recall fails to justify the performance of GRE methods; (2) human-annotated referential relations can be incomplete; (3) prompting LLMs with a fixed set of relations or entities can cause hallucinations. Next, we conducted a human evaluation of GRE methods that shows GenRES is consistent with human preferences for RE quality. Last, we made a comprehensive evaluation of fourteen leading LLMs using GenRES across document, bag, and sentence level RE datasets, respectively, to set the benchmark for future research in GRE
[ -0.5558700562, -0.5118022561, 0.6122727394, 0.1445734203, -0.1984815449, 0.2296777666, -0.5231990218, -0.537050724, 0.4155849814, 0.5464559793, -0.4823708236, -0.7607434392, -0.7741192579, 0.2408750802, -0.402225554, 1.2642128468, 0.0550812706, -0.4792073071, -0.6622654796, -0.1770882607, -0.411028266, -0.386508286, -0.4303696454, -0.2628529668, 0.6495862007, -0.1084540039, 0.5971367955, 0.4612601995, 0.8587620854, 0.2492839396, -0.0388333835, -0.0297648199, -0.6177249551, 0.3300525546, -0.1231257319, -0.2754505873, -0.3492654562, 0.1427375972, 0.4676814079, 0.7871412635, -0.1521257907, 0.416960299, -0.2144634128, 0.5814076662, -0.8429383636, 0.1341736764, -0.7157444358, 0.1108827665, -0.2920644283, -0.325080812, -0.4945131838, -0.2619953752, 0.2255806774, -0.5267550945, 0.5577798486, 0.0653030649, 1.1860280037, 0.1047636196, -0.3064625561, -0.3164804578, -1.0769505501, 0.4916358292, -0.3804755807, 0.6795411706, 0.4909141362, 0.273850292, -0.0753536224, -0.9519728422, -0.2986854911, -0.4516758323, -0.0002803206, 0.1907852143, -0.177292183, -0.0396573357, 0.5551733971, 0.7942298055, -0.4224743843, -0.0279268753, -0.2969483733, -0.1386673301, 0.7630896568, 0.2127818018, 0.385574609, -0.3904409707, -0.3878129125, 0.1094774157, -0.7482500672, 0.0131060695, 0.3353856206, -0.0691470206, 0.2775546908, 0.3959101737, -0.0864593536, 0.73974365, -0.0966737121, -0.4416705072, 0.1611546427, -0.3710071445, -0.1160191819, -0.4859540761, 1.2528364658, 0.4365317225, 0.2986789644, -0.7318297625, -0.166358307, 0.0849666968, 0.5578992963, -0.4503288865, -0.3931525946, 0.0705379695, -0.4173726439, -0.1762059927, 0.151328519, -1.048068881, -0.4470718205, -0.4103241265, 0.1945475489, -0.3914055824, -0.1997821927, 0.0313709714, -0.2817314565, 0.0144616114, 0.1237734407, -1.0845983028, 0.4276888669, 0.8607134223, 0.8331320286, -0.2117354423, -0.1976937056, -0.3585638106, 0.0685981289, -0.2774118781, 0.9265005589, -0.7071246505, -0.6789343357, -0.18072474, -0.0788104758, -0.0557491481, -0.6824136376, 0.7944111228, -0.531406343, 0.1772000045, -0.389084518, -0.4224639535, -0.1428544968, 0.1086917669, -0.9016960263, 0.9679598808, 0.2088408321, -0.5897295475, 0.6837754846, -0.2258912474, -0.2523023188, 0.143728286, -0.44231534, -0.2950781286, 0.1667259336, 0.1181848422, 0.4790360332, -0.6747558713, 0.5377433896, -0.3801087737, -0.3839856684, 0.1908591688, -0.1948920786, 0.4709920287, 0.2312158942, 0.0081111835, 0.177007556, -0.7983517647, -0.2298861444, 0.0006106076, 0.0139169404, -0.5487894416, 0.2238513529, 0.1463807821, 0.1929095089, -0.1892690063, -0.5481167436, 0.1434182376, -0.3438964188, 0.4460957944, 0.3252365887, 0.2493303567, 0.3864406645, -0.3582589626, 0.8498635888, -0.3781657219, -0.2989135385, -0.0561596565, -0.1339761317, -0.2334837615, -0.3791560531, 0.6080688834, 0.3913754821, -0.44727391, 0.681129694, -0.6587925553, -0.6522030234, -0.591721952, 0.0650447458, 0.1023079529, 0.1803369969, 0.1340879798, -0.6480442882, -0.4631213844, -0.8602327108, -0.3149049282, -0.1454210281, -0.2329820246, 0.2249394655, 0.375436604, -0.0889048204, 1.3104451895, -0.8127501607, -0.2891640365, -0.2116250992, 0.2146577388, -0.0968829393, 0.0877284706, 0.5845772028, -0.6848557591, -0.2373088747, 0.001401228, -0.9288158417, -0.0688961893, -0.1365067661, 0.1548520774, -0.0640290678, 0.388548255, -0.6648839116, 0.1967833489, 0.257253468, -0.0338385217, 0.7642306089, 0.2336691469, 0.242128402, -1.011269331, 0.1654542834, 0.2592712641, 0.0086367512, -0.3344088197, 0.2149402797, -0.1852097064, -0.1847748756, 0.2399480045, 0.421515882, -0.5966036916, -0.3148787916, -0.0502437875, 0.5240004659, 0.2497964799, 0.1554054916, 0.0344789885, 0.6689844728, 0.3414665461, -0.1842921674, 0.4809117913, 0.1306947768, -0.6271135807, 0.4705661833, -0.4142662287, 0.2890501916, -0.3856747746, 0.3863202929, -0.9236983061, -0.2029460818, 0.2114326656, -0.3833613992, 0.3858471811, -0.207081452, -0.4209358394, -0.1151011586, -0.3637402356, 0.322671026, 0.4847846329, -0.1447968185, 0.5763536692, 0.3808633089, -0.3996396065, -0.733741641, -0.1969026923, 0.2632143199, -0.665500164, -0.5327037573, 0.4197210968, 0.1899282187, -0.621788919, 0.286072731, -0.2316634506, -0.1705021411, 0.1404854953, 0.1687536836, 0.1099229231, -0.1634614319, 0.3251581788, -0.1318228543, -0.0018522522, 0.2502180934, 0.1445675939, 0.4943100214, 0.0251178183, -0.036323864, -0.1167535931, 0.2405708134, 0.638538003, -0.5480385423, 0.3333898187, 0.7054886818, -0.4460103214, -0.0480879508, -0.6512624025, -0.1149000749, -0.33290869, 0.6500837207, -0.733148694, -0.8665507436, 0.6997917295, 0.0095588788, 0.041125007, 0.6875446439, 0.2805464864, 0.0129800234, 0.1290076822, 0.504657805, -0.1003682166, 0.2814303041, -0.2500960529, 0.4679653943, -1.147923708, -0.3595570028, -0.6133695841, -0.0545527637, -0.5864526033, -0.1128312796, 0.1580137163, 0.2841952145, 0.1939706355, 0.4315468967, -0.1540746242, 0.530646503, -0.0623531267, -0.3125299215, 0.5405326486, 0.1875030547, 0.3751345277, -0.4269180894, -0.4229508042, -0.7386766672, 1.1787201166, 0.3877689838, 0.6932862401, 0.0795564577, 0.8068568707, 0.1702897847, 0.623208046, -1.2975599766, 0.4341949522, -0.2977209985, -0.5970010757, -0.2968944311, -0.4256157279, -1.1098707914, 0.6418424845, -0.3729285002, -1.1178667545, 0.1516371518, -0.345166713, -0.5606373549, 0.3075459301, -0.4690896273, 0.7752119303, 0.2470257431, -0.349857837, 0.0521829836, -0.6282814741, 0.6100372672, -0.1615518928, 0.2390617579, -0.2695560157, 0.1606555432, 0.9514977932, 0.245280087, 0.4995275736, 0.3500487506, -0.3514564335, 0.2348632514, 0.3579367101, 0.0432019196, 0.3138943613, -0.0816884115, 0.1977254897, 0.1893118769, 0.012532318, -0.9911730289, 0.6735371351, -0.5686190724, -0.7051964402, -0.4586994648, -0.6446771622, -0.4885436594, 0.0815318003, 0.4238616526, 0.7636888623, -0.6297729015, 0.2071149051, 0.3500998616, 0.0261740535, 0.2681298554, 0.1524901986, -0.431637466, -0.6168384552, 0.9469658136, 0.22868976, 0.42106089, 0.3322539628, -0.1949048489, -0.3384627104, -0.4071467221, -0.3534969687, 0.3365063667, -0.6879967451, 0.0907940269, -0.9130465984, -0.0990886539, -0.4206786454, 0.01403399, -0.1794510186, -0.0389129557, -0.1427857131, -0.1017012522, 0.1345745921, 0.7609701753, 0.3379336894, 0.0740638301, -0.9377256632, 0.2870281935, 0.007620302, 0.3720050752, 0.0002210002, -0.4792870581, 0.0563294031, -0.4294497669, -0.364367336, -0.9827439189, 0.1632607132, 0.1087573394, 0.3840335608, 0.3536503911, -0.1869232208, 0.6291713715, -0.5650487542, 0.7383540273, 0.0799665153, -0.7317932844, 0.1601659656, -0.4204843342, -0.127403602, 0.8626962304, 0.533492744, -0.8668838143, -0.262784481, -0.906082809, -0.8977936506, 0.4094025493, 0.1262350827, 0.1014861465, -0.1258914024, 0.6045672894, 0.3068611324, 0.3917164803, -0.7293559313, -0.2340610623, 0.3547583818, -0.1159879491, -0.3164990842, -0.501314044, -0.0982391015, -0.0372801945, 0.1438881755, 0.2393462509, 0.413564235, 0.0844867602, 0.1596559733, -0.16025801, 0.5396572351, 0.3361078799, 0.9757559299, -0.488601476, 0.1375973225, -0.2334379852, -0.3687898219, 0.118417643, 0.1091158986, -0.1572331339, 0.091445528, 0.7764726877, 0.8241179585, 0.1331174821, -0.4981773198, 0.3201224506, 0.1884042472, -0.1133900732, -0.3341391981, -0.1056450754, 0.1752020568, -0.2405255884, 0.0585477911, 0.072064653, 0.3923818469, -0.8019083738, 0.3250296414, 0.4535220563, -0.5473495722, -0.3875110149, 0.4979058802, 0.0681466237, -0.3900938034, 0.597591579, -0.2848296463, -0.1644994766, 0.6472481489, 0.5647491813, 1.1851890087, 0.0784257352, 0.3518233895, 0.5187324882, 0.5120017529, -0.0676516443, -0.2806811333, -0.0087610409, -0.7992069125, -0.8453404307, -0.7834433913, -0.1308088452, 0.4051997662, -0.9626743197, 0.1759768277, -0.2122323513, -0.1219934374, 0.0805187747, -0.0798105821, -0.2980819046, 0.2084622085, -0.244055301, 0.563462615, -0.9646291733, 0.5665397644, 0.7854842544, -0.5632271171, -0.5794001222, 0.4971584678, -0.0985872075, -0.1395324767, 0.5804491639, 0.0171711575, -0.2269494236, 0.0918375477, -0.1655260324, -0.8369063139, 0.8981918693, 0.2312550545, -0.5732588172, 0.1211405173, -0.395706594, 0.8291524649, -0.3880273104, 0.2248966098, 0.806732595, 0.1378534436, 0.0195050836, -0.8821386695, -0.0078950673, -0.108243458, 0.0253555849, 0.6716216207, -0.4640128911, 0.4105989635, -0.121859096, -0.4893476963, -0.0651678294, 0.7021684051, 0.1515789777, 0.4316987693, 0.3993338943, 0.7301232815, 0.6399917603, -0.259460777, 1.2342784405, 0.1899310648, 0.6714432836, 1.2368247509, -0.5572934747, 0.8298252821, 0.368888855, -0.5850206614, 0.599488318, 0.8542064428, -0.1329701096, 0.2953794003, 0.296888262, -0.32843557, -0.3151177764, -0.1523713171, -0.3686408103, 0.514554441, 0.35722965, -0.3856186569, -0.3177417517, -0.1625883132, 0.0118938349, 0.4794453382, 0.1186888143, 0.8157782555, 0.2713784873, -0.6448818445, 0.3368302286, -0.0191536397, 0.4185411036, -0.487953186, 0.0073039499, -0.074116081, -0.3394142091, -0.2485567778, -0.6534965634, 0.3764266968, -0.1137911975, -0.4496366084, 0.2616452873, 0.6154553294, -0.5862416029, -0.4077699184, 0.3176924884, 0.5383608937, 0.1678487211, 0.0513075329, -0.2995197177, 0.0326910168, -0.1156021208, -0.0476154946, 0.4001755714, 0.4255601764, -0.1762673855, 0.6667764187, 0.4266963899, 0.2329905033, -0.3515869081, 0.1492885053, 0.4324406981, -0.7202880979, -0.165667057, -0.9548452497, 0.198744297, -0.0166169852, -0.4887487888, 0.6981764436, 0.5475037098, 0.7777205706, -0.238899067, 0.8269847035, -0.409208715, 0.2181312442, -0.5108247995, 0.4796818495, -0.5128056407, 0.3150123954, -0.5600001216, -1.2460234165, -0.4710261524, 0.4572810233, -0.6511178017, 0.1744474918, 1.0764275789, 0.5517880321, 0.0381697565, 0.0463285632, 0.3157857358, -0.0737371817, 0.3270922005, 0.4252612591, 0.9733000994, -0.4034235179, 0.2111030966, -0.2266898304, -0.1637226939, 0.2076065689, -0.8087477684, -0.6676744223, -0.7287310362, -0.4340921938, -0.1520629972, -0.1996721625, 1.0078992844, 0.0949368104, -0.4541014433, -0.3828020692, 0.3082256317, 0.1687884778, -0.2599935532, -0.2794976532, 0.4638109803, -0.3426495492, -0.8499279022, 0.2459816188, 0.4332146347, -0.3059386313, -0.3460478783, 0.3793724179, -0.0493550673, -0.4322663248, 0.8080223799, 0.0737552345, -1.1066629887, -0.3981494606, -0.1365415752, 0.0018064111, 0.0800615326, 1.0062744617, -0.4722745717, 0.5703550577, 0.5030257702, 0.6551474929, 0.1745096594, 0.3512068093, 0.6371417046, -0.4721557796, -0.1548709124, 0.1931899637, 0.2541221678, 0.2320100963, -0.3311681151, 0.7335556746, 0.52765131, -0.5641384125, -0.8259198666, 0.4098407924, -1.1092370749, -0.1614957452, 1.2957653999, -0.2699722052, 0.0950271562, -0.3348346353, -0.2074911743, -0.0795207694, -0.0626995414, 0.9235755801, 1.0436725616, -0.0702529401, -0.027724864, -0.8165679574, 0.5680931211, 0.3007011116, -0.6482138038, 0.129050836, 0.7172467113, 0.4861570597, 0.5373818874, 0.694550097, -0.4427204728, 0.0718360841, -0.1275005788, 0.3467967808, 0.1720191091, -0.5337417126, -0.2550938427, 0.5973161459, 0.4024322331, 0.1358178556 ]
http://arxiv.org/abs/2402.10743v1
http://arxiv.org/pdf/2402.10743v1
Construction of a Syntactic Analysis Map for Yi Shui School through Text Mining and Natural Language Processing Research
2024-02-16T14:59:55
2024-02-16T14:59:55
Hanqing Zhao, Yuehan Li
cs.CL
cs.CL
Entity and relationship extraction is a crucial component in natural language processing tasks such as knowledge graph construction, question answering system design, and semantic analysis. Most of the information of the Yishui school of traditional Chinese Medicine (TCM) is stored in the form of unstructured classical Chinese text. The key information extraction of TCM texts plays an important role in mining and studying the academic schools of TCM. In order to solve these problems efficiently using artificial intelligence methods, this study constructs a word segmentation and entity relationship extraction model based on conditional random fields under the framework of natural language processing technology to identify and extract the entity relationship of traditional Chinese medicine texts, and uses the common weighting technology of TF-IDF information retrieval and data mining to extract important key entity information in different ancient books. The dependency syntactic parser based on neural network is used to analyze the grammatical relationship between entities in each ancient book article, and it is represented as a tree structure visualization, which lays the foundation for the next construction of the knowledge graph of Yishui school and the use of artificial intelligence methods to carry out the research of TCM academic schools.
[ -0.0099806916, -1.1143760681, 0.6309722066, -0.4276238382, -0.3731785715, -0.0761701241, -0.2334927768, -0.61383605, 0.1678779721, 0.5510612726, -0.4165200293, -0.8872430325, -0.3629952967, -0.014846866, -0.2233109474, 0.7724476457, -0.0409615263, 0.3058649302, 0.0542142168, -0.2629588246, -0.3865011334, -0.2031782269, -0.9301348925, -0.0244499277, 0.1725007445, 0.0966402814, 0.564706862, 0.8963246346, 0.6793742776, 0.5256733894, -0.0561058931, -0.142376408, 0.1089407355, 0.2305428237, -0.2431285232, -0.624894917, -0.5166168213, -0.1185160652, 0.9340179563, 0.5243045688, -0.1312171817, 0.1362093091, -0.1561555266, 0.4723505378, -0.2643906474, 0.491460681, -0.4796724319, 0.0927621424, -0.6569367051, -0.2558784485, -0.1859561801, -0.4945162535, 0.5427267551, -0.6157439351, 0.1128375158, 0.19809331, 1.2833856344, -0.0563782565, -0.5172573924, -0.289196372, -0.3963918686, 0.6538056731, -0.9262727499, 0.138520211, 0.1039328575, 0.1865491718, -0.4160203338, -0.8416154385, -0.7493383288, 0.0865273252, -0.3002756536, 0.0226909928, 0.0525960289, 0.2620588839, 0.1383851022, 0.4691381454, -0.5410420895, -0.1245646179, -0.5280849934, -0.0255365074, 0.5253735185, 0.2582971454, 1.1973241568, -0.5865394473, -0.3631867468, -0.1392568052, -0.1970462203, 0.2601568401, 0.1553290933, 0.1414104849, -0.0751077607, 0.3549111187, 0.0237776693, 0.8848144412, -0.233496055, -0.5410131216, 0.0743261278, -0.6122333407, -0.4311730862, 0.2127353847, 1.1120607853, 0.1713683456, 0.4103195369, -0.2890956998, -0.0479629673, 0.1628650874, 0.2202836275, -0.6385885477, -0.3819705248, 0.0148032168, -0.7105883956, -0.2697630525, -0.0358427316, -0.759303093, 0.0141822556, -0.2199813128, 0.1067064852, -0.9548190236, -0.4168833196, -0.2994161248, -0.1782991886, 0.2071071267, -0.024704434, -0.7074978948, 0.5357249379, 0.488622278, 0.8913195133, -0.339266628, -0.1506046355, 0.0014301988, 0.3085823059, -0.1072280705, 0.629755497, -0.606292963, -0.2134308517, 0.1065491065, -0.0205518194, -0.4611000121, -0.4682605863, 0.9382935762, -0.677416563, 0.2853892148, -0.0756009817, -0.7592563033, -0.8129538298, 0.277630806, -0.8552895784, 0.6789966226, 0.4350413382, -0.8353070617, 0.2243920416, -0.481523186, -0.4680855572, 0.5380389094, -0.3639322817, -0.4667729437, -0.1933139265, 0.1647545248, -0.002188137, -0.3917590082, 0.648019731, -0.1107202917, -0.2622139156, 0.1404216886, 0.1134022251, 1.2332507372, 0.2142968178, -0.392072916, 0.0950053632, -0.9573556185, 0.521910131, 0.24332425, -0.2146005929, -0.969707787, 0.3134529591, 0.2274423987, 0.2617581785, 0.0960788131, -0.3229331672, 0.3997625113, -0.7575669885, 0.2604742348, 0.2902023494, 0.4342718422, 0.550778985, -0.2131572068, 0.4943194091, 0.2443736643, -0.2711771727, -0.1280602515, -0.3018717468, -0.7499811053, -0.0306053199, 0.4630931318, 0.4833795726, -0.7935046554, 0.5461327434, -0.3136471808, -0.2499485463, -0.660377264, -0.033978574, 0.2356697172, 0.7932420373, 0.374797076, -0.1792524159, -0.5550495386, -0.8867200613, -0.2673516273, -0.3619846702, 0.3529600799, -0.2070257813, 0.3367910981, 0.0649405271, 0.9513011575, -0.645637393, -0.5830258727, -0.547311008, 0.1553248018, 0.0495785214, 0.256723851, 0.7600728869, -0.9771062136, -0.4204064012, 0.0652529374, -0.7787441015, -0.0976498425, -0.1136311367, -0.2871842384, 0.0082241436, 0.034710411, -0.6134636402, 0.5378296971, 0.1382776499, -0.4448469281, 0.3161744475, -0.0213750917, 0.4106112719, -1.1630921364, 0.0549962372, 0.434643507, 0.1834394932, -0.7242758274, 0.4278174043, 0.1197201014, 0.0254682805, -0.1223231331, 0.4427494705, -0.6977162361, 0.3455246985, -0.4322574437, 0.3186224103, -0.1682224721, 0.5312369466, 0.348254472, 0.2126087546, 0.4940060079, -0.4784395993, 0.0471499786, 0.0528009459, -0.2076365501, 0.2806866467, -0.3103154898, -0.183547467, 0.2555846572, -0.2340835035, -0.5323462486, -0.0190567579, 0.6887515187, -0.2048098743, 0.3293946981, -0.0518277362, -0.5176756382, -0.1729668975, -0.1548024565, 0.4571057856, 0.1880558133, -0.2238231897, 0.8347088099, 0.7071195841, -0.2257725, -0.0489946306, -0.279145658, -0.1437508315, -0.2332945019, -0.916011095, 0.5800223947, 0.0479786731, -0.5095099807, 0.5511108041, -0.1393221915, -0.5264988542, 0.181507796, 0.3479786515, 0.8949580193, -0.5306949615, -0.0079228096, 0.1916639358, 0.1431177706, 0.3634819984, -0.227057308, 0.330511719, 0.1543531269, 0.0089435931, -0.5346190333, 0.2099153101, 0.191916883, -0.3568100333, 0.6141141653, 0.3270120621, -0.8384904265, -0.434334904, -0.2023418844, 0.1114677563, -0.4492631555, 0.3927390277, -0.2296412587, -0.3812998533, 0.1436980963, 0.0789979771, 0.0358959623, 0.7450905442, 0.3599293232, 0.1965290308, 0.6188271642, 0.6088166833, -0.4044529796, 0.3354084492, -0.1929921806, 0.3227906227, -0.4620552659, -0.3721737266, -0.4686360657, -0.47679618, -0.6195926666, 0.0413533486, 0.2223656029, -0.1077289209, 0.2872031331, 0.2967919409, -0.6451902986, 0.1856745481, 0.6821208596, -0.1737337857, 0.3300083578, 0.1607537121, -0.2111392766, -0.1847535074, -0.2450121343, -0.4442015588, 0.6935178638, 0.1238192171, 0.2542366087, -0.0939878002, 0.8639596701, -0.1410470456, 0.1541935951, -0.9233883023, 0.7429722548, -0.1420015842, -0.5639236569, -0.4095441699, -0.4851574004, -0.8025925159, 0.2704824507, -0.3657211661, -0.8032759428, 0.0490117483, -0.4228559136, -0.467430979, 0.4657409787, -0.8090094924, 0.5924507976, -0.2821167707, -0.0646440834, -0.0567784309, -0.5945700407, 0.4882230163, 0.0087131262, 0.1877470016, 0.2222873718, 0.4462508261, 1.1201331615, -0.3474249542, 0.3794459999, -0.0831282884, 0.2078012675, 0.7353603244, 0.052384872, 0.0800466686, -0.0287052039, -0.1869406998, 0.1023345664, 0.3440999687, 0.0645231381, -0.5637879968, 0.6938421726, -0.6494526863, -0.576625824, -0.8677637577, -0.5539157391, 0.1045994163, 0.6337400675, 0.0709173307, 0.1819754839, -0.1148626804, -0.3047347069, 0.3485505879, -0.0444318727, 0.5702612996, 0.6031817198, 0.0326354131, -0.2770721614, 0.8488561511, 0.5778546333, -0.4103790224, 0.4302964509, 0.2336701751, 0.0776846781, -0.8697331548, -0.2655892074, 0.2142497301, -0.2936560512, -0.1856425256, -0.6152226925, -0.9107401967, -0.5896013975, 0.1633670032, 0.1610090733, -0.1120000482, -0.2906154692, -0.0057639992, -0.0850613043, 0.5905973315, 0.6287207603, 0.4936216474, -0.9833241105, 0.4427575469, -0.1995508224, -0.0901590362, 0.0841067731, -0.038377095, -0.3516038358, -0.1599291414, -0.5551039577, -1.2651566267, 0.8164170384, 0.1372217387, 0.5656594634, 0.7396733165, -0.0583814643, 0.7157505155, -0.4547804296, 0.6102535725, 0.1858020425, -0.6563763618, 0.5904179215, -0.1346977353, 0.1988450289, 0.4418444932, 0.1851776093, -0.4866985083, -0.5174949765, -0.842536509, -0.8971790075, 0.9809755683, 0.0833711997, -0.4900551736, -0.0941260383, 0.649516046, -0.0732207447, -0.0830646828, -1.005350709, -0.6333317757, 0.2643076479, -0.5981804132, 0.4238525629, -0.2701427937, 0.0793666467, -0.2349709272, 0.6432182193, 0.3166743219, -0.2604142725, -0.0141412755, -0.2058975548, -0.3294571936, 0.4249494076, -0.1305512339, 0.4332749546, -0.1080250591, 0.1156661063, 0.0057691061, -0.7496386766, -0.0784322023, 0.4597918987, -0.6897800565, 0.1156493127, 0.5335709453, 0.5469780564, 0.2272641659, -0.4572823942, 0.3522510827, -0.007163194, 0.0681295842, -0.5163183808, 0.5146505833, 0.1255545318, 0.2695286274, 0.4156195223, -0.0938771814, 0.5295501351, -0.5513833761, 0.2511452436, 0.3463109732, 0.0076706223, -0.4859127402, 0.4559705555, -0.2393526286, -0.4382103384, 0.9461225271, -0.1596590877, -0.622777164, 0.7730767727, 0.6597003937, 0.7087954879, -0.3002210557, 0.4012481868, 0.6655758023, 0.1247214973, 0.0745164305, 0.1425993145, 0.0060929037, -0.4092247486, -0.0882752389, -0.8397449255, 0.1771579236, 0.2303662598, -0.5870637894, 0.608158946, -0.3404849172, -0.2435838729, 0.2131672353, 0.5241313577, -0.7118222713, 0.6888039708, 0.0661746562, 0.5482403636, -0.5266653299, 1.2470200062, 0.8327509761, -0.4539229572, -1.3440341949, 0.1593980193, 0.0393895172, -0.65349406, 0.8806563616, -0.0897278115, 0.1878472418, -0.1060709804, -0.3025360107, -0.8075873852, 1.2238901854, -0.0018462323, -0.9307373166, -0.6530877948, 0.0273780674, 0.7386816144, -0.2277848572, 0.3544437289, 0.6568017006, 0.4882434011, -0.234928295, -0.2830174565, 0.3051870763, -0.4196579754, -0.1226820424, 0.5350596905, -0.3926591277, 0.6552947164, -0.0677940324, -0.8381560445, 0.1194255278, 0.7687254548, 0.1818329245, 0.6189885139, 0.4899728298, 0.7587307096, 0.5799878836, -0.1083463803, 0.6755843759, -0.4071282148, 0.0462187976, 1.0241860151, -0.0918006524, 0.663082242, 0.5063288212, -0.0885704979, 0.7951831222, 0.6408861876, -0.357263267, 0.5370915532, 0.1975059211, -0.2545987368, 0.1198029295, -0.1002494693, -0.3245088458, 0.4193983078, 0.3345016241, -0.6600849032, -0.3055610061, -0.2777791917, 0.0200448018, 0.0624308251, -0.1336354017, 0.6560957432, 0.3630743921, -0.8459531069, -0.091664128, 0.4037207961, 0.1362977326, -0.7080999613, -0.2197725475, 0.0240109619, -0.1719353199, -0.1920799315, -0.4296179116, 0.0525969118, -0.2742820084, -0.1505856961, 0.1951973736, 1.0129859447, -0.7174223661, -0.655264318, 0.3912789822, 0.5500336289, -0.1539956182, 0.5040191412, -0.6389392614, -0.1644019932, -0.0172843188, -0.4234679043, 0.3737976551, 0.7814858556, -0.2598391175, 0.4165921807, 0.6145866513, 0.7726889253, -0.150056079, 0.0750548095, 0.7670965195, -0.8198058009, -0.5947852135, -1.0588029623, 0.2298305184, -0.1686915606, -0.3608016074, 0.6471076608, 0.3991249502, 0.4155543447, 0.2563900352, 0.6661777496, -0.1795909554, 0.2384016663, -0.5131029487, 1.1660015583, -0.4672661126, 0.2347077578, -0.4229075015, -0.7410207391, -0.1837577224, 0.4716913104, -0.4026277065, -0.1914347261, 1.0868698359, 0.3053812385, 0.1302838027, 0.2469098419, 0.0823999271, 0.1571288407, 0.0971875787, 0.5221174359, 0.3633581102, -0.4197452366, 0.472687006, -0.4523549676, -0.2224433124, 0.2669472098, -0.3558362722, -0.841052115, -0.8420760632, -0.4689614773, -0.1762444526, 0.1759144962, 0.751216054, 0.2270992398, -0.8554240465, -0.1974482238, 0.0879359841, 0.3667380214, -0.2943213284, -0.3849578202, 0.9614537358, -0.3471099138, -0.8586030602, 0.2860542536, 0.3894487023, -0.0864027739, 0.0677172467, 0.1472892612, -0.4479452372, -0.3049329519, 0.0290717203, 0.1371042579, -0.503508687, -0.0721565709, 0.0407178439, -0.3357163966, 0.1822525412, 0.8578218222, -0.5875344872, 0.58685112, 0.4940698445, 0.550511241, 0.1016091034, -0.0514515936, 0.4861681163, -0.1418628097, -0.1397722661, 0.1578181535, 0.5182210207, 0.0313579254, -0.4092313349, 0.5117049813, 0.3965991437, -0.3893683851, -0.4973295033, -0.3073504269, -1.1360070705, -0.3784649074, 1.0054688454, -0.2741381824, -0.7206681371, -0.1750295609, -0.3133665919, 0.9592930079, -0.1942985803, 0.9983304143, 0.8667961359, 0.1292513013, -0.1117237434, -0.5359226465, 0.3913073838, 0.2284020036, -0.9180101752, -0.596673727, 0.2597054243, 0.4791609347, 0.2627029419, 0.7380951643, -0.2854862809, -0.0098222969, -0.1142792627, 0.1751767993, 0.1154938638, -0.0214935187, 0.1285569668, 0.5351653099, -0.1810287088, -0.2750421762 ]
http://arxiv.org/abs/2402.10738v2
http://arxiv.org/pdf/2402.10738v2
Let's Learn Step by Step: Enhancing In-Context Learning Ability with Curriculum Learning
2024-02-16T14:55:33
2024-06-16T13:26:10
Yinpeng Liu, Jiawei Liu, Xiang Shi, Qikai Cheng, Yong Huang, Wei Lu
cs.CL
cs.CL
Demonstration ordering, which is an important strategy for in-context learning (ICL), can significantly affects the performance of large language models (LLMs). However, most of the current approaches of ordering require high computational costs to introduce the priori knowledge. In this paper, inspired by the human learning process, we propose a simple but effective demonstration ordering method for ICL, named the few-shot In-Context Curriculum Learning (ICCL). The ICCL implies gradually increasing the complexity of prompt demonstrations during the inference process. The difficulty can be assessed by human experts or LLMs-driven metrics, such as perplexity. Then we design extensive experiments to discuss the effectiveness of the ICCL at both corpus-level and instance-level. Moreover, we also investigate the formation mechanism of LLM's ICCL capability. Experimental results demonstrate that ICCL, developed during the instruction-tuning stage, is effective for representative open-source LLMs. To facilitate further research and applications by other scholars, we make the code publicly available.
[ -0.4662638605, -0.6458488703, 0.5369594693, 0.1435782015, -0.2706569433, 0.1000731885, -0.2021204978, -0.2858681381, -0.518476367, 0.3889515996, -0.4945657253, -0.7670494914, -0.3880145848, 0.0340683796, -0.3097569942, 0.8114691973, 0.2408992499, 0.1509173959, -0.2220171094, -0.2258493304, -0.0864146575, -0.2008863389, -0.6119784117, -0.3350785673, 0.3713956773, 0.9808221459, 0.2321680933, 0.7651331425, 0.2979084253, 0.2534707189, -0.123932451, 0.1781100184, -0.5076188445, -0.1207852885, -0.1479669809, -0.5121581554, -0.0068268292, 0.0409822427, 0.6485571265, 0.7823858857, -0.0303948317, 0.1678009331, 0.3175209761, 0.5049926043, -0.703674674, 0.2206415683, -0.5938618779, -0.1305017024, -0.1599591076, -0.0234489255, -0.8912735581, -0.2341587842, 0.3964380622, -0.2649483383, 0.0200426076, 0.2461761683, 0.3302071691, 0.0238175131, -0.4038310051, -0.2077378184, -0.3670627773, 0.9320411682, -0.6153386235, 0.2459853441, 0.3347962499, 0.4640617967, -0.3442674875, -0.8885701299, -0.4970067143, -0.3570578396, -0.0802945718, 0.1227081418, 0.2377692908, 0.0546480156, 0.4613160491, -0.0900604129, -0.5215359926, 0.4826309383, -0.3372918665, 0.0694968253, 0.2623461485, 0.1663690805, 0.1641402692, -0.1757377237, -0.5595185757, -0.2563824356, -1.0717821121, 0.3051995933, -0.0359859504, 0.5540720224, -0.2933685482, 0.3926609457, -0.3636833429, 0.4851792753, 0.1587657034, -0.2748553753, -0.0024935023, -0.0400252938, -0.2603772581, 0.256634146, 0.5237730145, -0.1223776489, -0.3356336355, 0.22394979, -0.0503743254, -0.1935472786, 0.1673039645, -1.0523450375, 0.0861340761, 0.0666048527, -0.2478476018, -0.2006890476, -0.0117261503, -0.5438949466, -0.2977198362, -0.3074613214, 0.589636147, -0.6739923954, 0.2387295067, -0.1761317104, 0.3443369567, 0.360047996, 0.461760819, -0.7998998165, 0.4766213, 0.7240541577, 0.7725298405, -0.2476678789, -0.407528162, -0.7689569592, 0.0379509963, -0.392087996, 0.6278420687, -0.2961577177, -0.396589309, 0.076057598, -0.4145100117, 0.2204051167, -0.4901477098, 0.3261042237, -0.5660101175, 0.0925155133, -0.1577030569, -0.8196539283, -0.1428512186, 0.1445175707, -0.228327781, 0.6981793642, -0.1467221975, -0.6113236547, 0.4599888921, -0.7412117124, -0.4424733222, 0.2646553218, -0.4889300168, -0.3840329945, -0.0403982885, 0.2380110174, 0.7269631624, -0.0499011353, -0.0592655167, -0.0654564127, -0.6374300122, 0.1909518689, -0.3795197904, 0.9534300566, 0.1896399558, -0.6368939877, 0.1431943029, -0.663913548, 0.0235697553, -0.1064281538, -0.354154259, -0.1657094359, 0.1376466751, -0.3192958534, 0.209544152, -0.154522121, -0.2045087963, 0.195630163, -0.6389982104, 0.1274408549, 0.6635535359, 0.0599641912, 0.7763336301, -0.1891388148, 0.3567756414, -0.0097598182, 0.1466949582, -0.436509341, -0.4036698639, -0.7836657763, -0.346802026, 0.0279242359, 0.3869992495, -0.6310631037, 0.0680365935, -0.0043176226, -0.4370421767, -0.2477099895, 0.2757334411, 0.7566437125, 0.6431214213, 0.4877162874, -0.2255244404, -0.2268384844, -0.673076272, 0.1292895079, -0.3089215159, -0.1580724567, 0.1780703664, 0.4389032125, 0.1578512788, 0.8659684062, -0.4722180367, -0.1304022372, -0.4214010537, 0.5390850306, 0.1790537536, 0.356546104, 0.4059360921, -0.567104578, -0.5483409762, -0.0016550176, -0.5243487954, -0.0171837658, 0.0124021815, -0.1400945485, 0.2675696015, 0.7950342894, -0.1362619549, 0.5266820788, 0.183533445, 0.2166327238, 0.5727870464, -0.3485185504, -0.040243756, -0.8354068398, -0.6083347797, -0.1203100383, -0.1709574312, -0.4472932816, 0.3122103512, 0.3889790177, -0.0259422045, -0.9310323596, 0.5164974928, -0.5040284991, -0.0519456491, -0.2314240038, 0.1897059828, -0.3494731486, 0.5174992085, 0.1211813614, 0.8962520957, 0.6587491632, -0.8022356033, -0.4104437828, 0.2563125491, -0.9313398004, 0.6045036912, -0.1224963516, 0.1145994142, -0.1326191127, 0.2936824262, -1.1461014748, -0.3015370965, -0.0211643819, -0.0779006779, 0.4518491626, -0.2817085683, -0.3410624862, -0.0214237627, -0.1815487742, 0.2258940786, 0.6114146709, -0.9784361124, 0.2074760348, -0.080158323, 0.0852451846, -0.4796872139, -0.4883491099, -0.0086012585, -0.1981166005, -0.3173968792, 0.4385136664, -0.4331570566, -0.4345261455, -0.5823882222, 0.0695586279, -0.0977434292, 0.1053885072, 0.3265765905, -0.0178392828, -0.419275403, 0.2942679226, 0.3191729784, -0.0670263544, -0.2030328661, -0.1524023116, 0.253862381, -0.2506566048, -0.6348966956, -0.6541417837, 0.353241235, 0.4987633228, -0.0429485068, 0.6145780087, 0.2723885179, -0.1191603243, -0.6618454456, -0.3537474573, -0.3023372591, -0.5495215058, 0.3626171649, -0.340519011, -0.6723080873, 0.0590508878, -0.4641275108, 0.3110390306, -0.1772415638, 0.4099440873, -0.2518711388, 1.0478228331, 0.6818408966, 0.0181956682, 0.6383857727, -0.3468919098, -0.0569853671, -0.6330199242, -0.0180124305, -0.431679666, -0.1720022857, -0.3627313375, -0.4770038724, 0.5476586819, 0.4183644354, -0.5722575188, 0.3283081055, -0.1718709767, 0.9092888236, 0.5214001536, 0.5108218789, 0.406873703, 0.0818192735, -0.5166938901, -0.0985813737, -0.6712788343, -0.6738123894, 0.7806529999, -0.0418921709, 0.6959629655, 0.3014585674, 1.1152464151, -0.0349149182, 0.6046301723, -0.7517277002, 0.7886713147, -0.1084316969, -0.228768304, -0.4239334166, 0.0600020103, -0.6682583094, 0.3040170074, -0.2459362447, -0.9310136437, -0.0418782867, 0.0254974198, -0.4001016915, 0.0937109515, -0.8432852626, 0.5845014453, -0.3290784955, -0.6541057825, -0.4503486156, -0.899828434, 0.2712885141, 0.1312848181, 0.3281659782, 0.2246995419, -0.0748134702, 0.4517509639, -0.4406661093, 1.0484138727, 0.0393073931, 0.0769768655, 0.3868331313, 0.3949638605, 0.5281903148, 0.1238586456, -0.2334115356, -0.1705189645, -0.5549429655, -0.3787125051, -0.6246010065, 0.649202764, -0.6174790263, -0.7800804377, -0.0321404561, -0.3903901875, -0.2859405577, 0.0269751716, 0.3443301022, 0.6767687798, -0.0838713199, 0.1924766153, 0.7022003531, -0.2399014235, 0.7917689681, 0.5280778408, -0.1320097446, -0.1440119594, 0.8264310956, 0.1346601695, 0.6792088151, 0.6076046228, 0.4460003972, -0.0660849065, -0.8499038219, -0.3980857432, 0.0206009485, -0.9655008912, -0.1040700302, -0.5278040171, -0.0516237281, -0.2456956655, -0.6608914733, -0.2994838655, -0.0678618774, -0.4443350732, -0.1935870945, 0.0754088387, 0.7799898386, 0.2079640478, 0.5738071203, -0.4498073459, 0.055260092, 0.5944206119, 0.1639364362, 0.1454871893, -0.5735994577, -0.1522170752, -0.1155200079, -0.5216180682, -0.5443121791, 0.2338926345, 0.2148140222, 0.5109818578, 0.8811045885, 0.1679991335, 1.0613152981, -0.7164717317, 0.6970936656, 0.1089415625, -1.0098481178, 0.5757141709, -0.0683209896, 0.3687998652, 0.5888667703, 0.4234685302, -0.0778047442, -0.5205515027, -0.5405140519, -0.8533327579, 1.0033705235, 0.1761101782, 0.1896239221, -0.1032553613, 0.245541364, 0.2666297257, -0.0668794513, -0.6101923585, -0.3332599401, 0.0617770813, -0.0128033217, 0.0417896882, -0.2258378714, 0.0010211024, -0.3884949684, 0.6432679296, -0.4405178726, -0.1115264967, -0.0060427571, -0.4327079058, 0.1863278747, 0.4585046768, 0.8399271369, 0.8975770473, -0.1748336852, 0.25181216, 0.4762430489, -0.0979821682, 0.0680836737, -0.4262978733, -0.0025924328, -0.4648159444, 0.5873461366, 0.6265925169, 0.6489622593, -0.7346727252, 0.7658265233, 0.0594902113, -0.0200023595, -0.2067421973, 0.1607653797, 0.0369398668, 0.636063993, 0.4524098933, -0.2786267102, 0.0791941732, -0.6030109525, 0.5099908113, 0.2440030426, -0.444930315, -0.0334772393, 0.4405435622, -0.0150258755, -0.4621455073, 0.6553767323, -0.3591854274, -0.366499573, 0.6818522215, 0.9686670303, 0.5530096292, -0.0794565827, 0.4069043696, 0.4510663748, 0.0535542145, -0.3155907691, -0.1459192336, -0.3613731861, -0.5577897429, -0.4279956818, -0.4360671937, -0.7298595309, -0.2249203622, -0.5268326402, 0.6493074894, -0.6505464911, 0.2655899227, -0.1010936648, -0.0601968467, -0.5822785497, 0.0053908997, 0.2370130718, 0.8613843918, -0.6727117896, 0.9093860388, 0.4536885321, -0.4435976446, -0.7436724901, 0.2152018696, 0.2200697511, -0.6608916521, 1.0983459949, 0.3571729064, -0.1087033004, 0.2289506048, -1.0245239735, -0.584535718, 1.1348469257, 0.3707800508, -0.5128908753, 0.2444566786, -0.2372069061, 0.4720550478, -0.6135469079, 0.529540658, 0.1680441499, 0.1941177398, 0.3637598157, -0.3607326448, -0.104952164, 0.4810464978, -0.1205994114, -0.1498038322, -0.5417348146, 0.5758163929, -0.6200767756, -0.3475069106, 0.212364763, 0.9826231003, 0.39870134, 0.3205598891, 0.5140737891, 0.1381274909, 0.6190505624, 0.1340404898, 1.1528505087, 0.1711471975, 0.1381300837, 1.3394249678, -0.4079696834, 1.0707844496, 0.5282941461, -0.3607933819, 0.6945393085, 0.5182653666, 0.464784801, 0.5659765601, 0.3204732537, -0.5001810193, -0.4923812449, -0.0016548559, 0.0677145272, 0.3630697131, 0.4517970979, -0.0606023856, -0.4244852364, 0.2412817329, -0.1148963422, 0.1715214103, -0.2153941542, 0.8318572044, 0.2639847398, -0.4428574443, 0.5547719598, -0.3057422042, 0.5735009909, -0.5701286197, -0.3520846665, -0.2930941582, -0.0216973554, -0.0556549206, -0.586037159, -0.2004420608, -0.0993659422, -0.0903433412, -0.3431774378, 0.1870200783, -0.3000103533, -0.323723197, 0.4029324949, 0.3332810104, 0.3378182948, 0.2795162797, -0.3884503841, -0.355237335, -0.2879962921, -0.2240074426, 0.7604649067, 0.1834344268, -0.4599871039, 0.7458539009, 0.4743845761, -0.3350836933, 0.0936579332, 0.1247620732, 0.5808034539, -0.4095039666, -0.3232228756, -0.8686460853, 0.5775091052, -0.0080737472, -0.1012062579, 0.5254989266, 0.3754889369, 1.1383949518, 0.0330017209, 0.5460145473, 0.0082078539, 0.2293976247, -0.5775995255, 0.5877001286, -0.5287872553, 0.4497695267, -0.3445904553, -0.5103381276, -0.7173194885, 0.4510581493, -0.183784321, -0.3034145534, 0.9561699629, 1.0015538931, -0.2040612847, 0.0272751693, 0.6535731554, 0.2507074475, 0.3058386743, 0.2678623199, 0.804276824, -0.1626519561, 0.5928124785, -0.6175493598, -0.3474684954, -0.1469094455, -1.0604116917, -1.0130544901, -0.4745136499, -0.3378214538, -0.1193703339, 0.0112634096, 1.4696338177, 0.7605668902, -0.7505712509, -0.5480235219, -0.1646137983, 0.4854890108, -0.5180757046, -0.1466839314, 0.6031701565, -0.584474504, -0.917416811, 0.7611370683, 0.2854142487, -0.0636393055, -0.0053262184, -0.1442221403, -0.36190328, -0.0959136933, 0.8791620135, 0.244268775, -0.8399553299, -0.3797633052, -0.2880307734, -0.1933799237, 0.1863885075, 0.9165697694, -0.8503258228, 0.5654748678, 0.5052868128, 0.6950995326, 0.5354517102, -0.190764457, 0.2311983705, -1.0175771713, 0.1526187509, -0.1218977496, 0.3305746615, -0.0278497841, -0.1445458084, 0.3746938109, -0.0220047887, -0.4143912494, -0.6162468791, 0.3331969976, -0.9875477552, -0.2972977757, 0.8905130625, -0.172680214, -0.1759797186, -0.1174507663, -0.3854065537, 0.2338124067, -0.4451107085, 0.8092757463, 0.3588055372, -0.4052849412, -0.1131972447, -0.3759867549, 0.2824360132, 0.2587024868, -0.7788752913, -0.1285000443, 0.3424403071, 0.2599637508, -0.0106444648, 0.4914819598, -0.0976833627, 0.2276925594, -0.3425138295, -0.1497600675, 0.0628893003, -0.4880767465, -0.4309915602, 0.3756548762, 0.2119184434, -0.0236811955 ]
http://arxiv.org/abs/2402.10735v2
http://arxiv.org/pdf/2402.10735v2
Assessing the Reasoning Abilities of ChatGPT in the Context of Claim Verification
2024-02-16T14:52:05
2024-03-20T19:14:54
John Dougrez-Lewis, Mahmud Elahi Akhter, Yulan He, Maria Liakata
cs.CL
cs.CL
The reasoning capabilities of LLMs are currently hotly debated. We examine the issue from the perspective of claim/rumour verification. We propose the first logical reasoning framework designed to break down any claim or rumour paired with evidence into the atomic reasoning steps necessary for verification. Based on our framework, we curate two annotated collections of such claim/evidence pairs: a synthetic dataset from Wikipedia and a real-world set stemming from rumours circulating on Twitter. We use them to evaluate the reasoning capabilities of GPT-3.5-Turbo and GPT-4 (hereinafter referred to as ChatGPT) within the context of our framework, providing a thorough analysis. Our results show that ChatGPT struggles in abductive reasoning, although this can be somewhat mitigated by using manual Chain of Thought (CoT) as opposed to Zero-Shot (ZS) and ZS CoT approaches. Our study contributes to the growing body of research suggesting that ChatGPT's reasoning processes are unlikely to mirror human-like reasoning, and that LLMs need to be more rigorously evaluated to distinguish between hype and actual capabilities, especially in high-stakes real-world tasks such as claim verification.
[ -0.4745462537, -0.6928267479, 0.6854967475, -0.0855211616, -0.204162389, 0.3383928835, -0.2631001174, -0.5857027769, -0.0486809127, 0.3187232912, -0.6227428317, -0.2218178958, -0.679361403, 0.1153772399, -0.3646161854, 1.1084160805, -0.1568969041, -0.3591551185, -0.1476340145, 0.1330761313, -0.4440603256, -0.5907312036, -0.4767150879, -0.284943521, 0.4770722687, 0.3092596233, 0.7864899635, 0.2430270612, 0.5300063491, 0.2210543156, -0.1246473342, 0.4344131351, -0.5073060989, 0.1341946423, -0.2207222283, -0.6016955972, -0.3756865263, 0.1495910734, 0.3621407449, 0.2502590418, -0.2267872393, 0.1459444165, -0.0496122874, 0.5098879933, -0.519718349, 0.2711933851, -1.100088954, 0.0615696125, -0.2649618685, -0.17052643, -0.399895668, -0.3068573177, 0.3623404801, -0.3091098368, 0.2598852217, 0.3248549998, 1.0093334913, 0.1845750511, -0.2840302885, -0.3784745336, -0.677136898, 0.3042240441, -0.5437220335, 0.2174742818, 0.3372128308, 0.6975378394, -0.1576606482, -0.6452766061, -0.5321185589, -0.4533727467, -0.1234377697, 0.1517569423, -0.1315854937, 0.1276108176, 0.606769681, 0.5197099447, -0.6816694736, -0.145066008, -0.5649399161, -0.7198203802, 0.4833622277, -0.1535209566, 0.2981676459, -0.1094560772, -0.6746530533, 0.3355424106, -1.0163198709, -0.3192153573, 0.1979433298, -0.0160033051, -0.0404801071, 0.7151694894, -0.3201736212, 0.3006542623, -0.2220283449, -0.1419849992, -0.1065391824, -0.2893333435, -0.3064649999, 0.3437955379, 0.6736913919, 0.2654072046, 0.346470058, -0.4068216085, -0.2683841586, 0.3231893182, 0.1677194387, -0.7694016099, -0.1550230533, 0.2259645611, -0.1830718815, -0.2977630794, 0.0179836042, -0.353109926, -0.5094415545, -0.0389177985, 0.4941860437, -0.5291398764, -0.502761066, 0.2789625227, -0.294739753, 0.3739289343, 0.562816143, -0.5198351145, 0.2082958966, 1.0305330753, 0.6661660075, 0.0012374197, -0.2088890523, -0.0988412127, 0.0418473221, -0.3343782127, 1.3463823795, -0.1300369054, -0.0851197094, -0.1115199625, -0.2845716178, -0.0809342712, -0.4190067649, 0.8674414158, -0.5184457302, 0.2954474986, -0.5633012056, -0.6769220829, -0.1899019033, 0.796579957, -0.4182784855, 0.7765598297, 0.0640014857, -0.8796256781, 0.5448042154, -0.5116065145, -0.3018420637, 0.1550356746, -0.460582912, -0.0688746795, -0.1356416494, 0.1599318236, 0.1809748709, -0.6623042226, 0.1556717008, -0.2953999341, -0.3522348106, 0.5550283194, -0.8394711614, 0.6351437569, 0.353135258, -0.5000193715, -0.201238364, -0.4365348518, 0.0764420703, 0.0764297172, -0.0708216503, 0.3473845124, 0.2233682871, -0.6183061004, 0.2392700762, 0.0421624333, -0.557441175, 0.3689254224, -0.309135288, 0.4841497838, 0.6835287809, 0.0650133044, -0.001415492, -0.6439527869, 0.503610909, -0.1063786, -0.0626216754, -0.1075975671, -0.6183847785, -0.7015736103, -0.3121881783, 0.3015065789, 0.6266567707, -0.7887461185, 0.061906185, -0.2269144058, -0.5290486217, -0.304300338, -0.0971332565, 0.2366112322, 0.6447660923, 0.2454639077, 0.0937148035, -0.4741978049, -0.9355197549, -0.4275790453, -0.784901917, -0.1203022376, 0.1126876548, 0.3207328022, 0.0196106806, 1.0881894827, -0.353073597, -0.0172928721, -0.3053753674, 0.2541370988, 0.1064529046, 0.1367152333, 0.3663497269, -0.6026151776, -0.1153505743, -0.0221165791, -0.9231789112, -0.1660157442, -0.161289081, -0.1921066344, 0.2746130526, 0.0882002115, -1.1279844046, 0.6377446651, 0.0525664501, -0.4167280793, 0.918245852, 0.1345721483, 0.2935875058, -0.4399504662, -0.3497603834, -0.1458485126, -0.2488481104, -0.2765770555, -0.0745928511, -0.1663583368, 0.0926614329, -0.3804093003, 0.2979457676, -0.4514861405, -0.0783651918, -0.469332546, 0.3330272436, -0.0208265278, 0.2410702407, 0.0329045504, 0.7886237502, 0.5874587297, -0.503739953, 0.4241347611, 0.0087006483, -0.4255489707, 0.6837796569, -0.4822583795, 0.0912184939, 0.0654626712, 0.5513658524, -1.135804534, -0.1059653163, 0.4985368848, -0.6829701662, -0.1056918129, -0.3266147375, -0.718742311, -0.5000337958, -0.119548969, 0.0198092051, 0.7393857837, -0.472832948, 0.6095846295, 0.1873117834, 0.004215973, -0.4373701215, -0.520206809, 0.2401910871, -0.4417443275, -0.8559318781, 0.2246150076, 0.2138742059, -0.643733561, -0.040217679, -0.5072706342, -0.0139844045, -0.0599279813, 0.1436287314, 0.4133330584, -0.40614447, 0.0590393245, -0.2008318901, -0.3327252269, 0.4632658362, -0.300856024, 0.1978771389, -0.5287644267, -0.6592415571, -0.203426376, -0.1620601565, 0.5134717226, -0.0371275209, 0.4334008992, 0.7047609091, -0.4592430592, -0.2064644992, -0.9559057355, -0.1894565821, -0.4402021468, 0.0635420382, -0.5099169612, -0.8028983474, 0.5330585241, -0.1758643538, 0.1331308186, 0.6657156944, 0.7450665832, -0.055814039, 0.6882549524, 0.0880643502, 0.0861244425, -0.3308573067, -0.110651046, 0.2746522725, -0.6687799692, -0.1624089628, -0.3302938342, -0.1502353698, -0.444596678, -0.6329739094, 0.1926485151, 0.0878953412, -0.2895520031, 0.2454594672, -0.3881838322, 0.5362483263, 0.0917317793, 0.2364049703, 0.5459299684, -0.1250898838, -0.1527762264, 0.1948778331, -0.6796705723, -0.7593547702, 0.9220916033, 0.5118310452, 0.5722196102, 0.2783860564, 0.426043123, 0.4417797923, 0.7125377059, -0.8547580242, 0.7804496884, 0.5249119997, -0.9552983642, -0.1018771082, -0.5375820398, -0.4249452353, 0.5644758344, -0.1926176101, -0.9716050625, -0.2516897321, 0.0536070168, -0.3618658483, 0.5787850022, -0.6897385716, 0.5242882967, -0.4276579022, -0.3929478824, -0.3769165874, -0.5591107011, 0.6973006129, 0.1926282644, 0.1588317305, -0.610776186, 0.0734966919, 0.5573274493, -0.6580092311, 0.7121328712, -0.2356870323, -0.4160885811, 0.8834093809, 0.3109236956, 0.5125952959, 0.2796590924, -0.1094089225, 0.1784013808, 0.1211839318, -0.2118556648, -0.6439990997, 0.324495852, -0.4797902703, -0.8713085055, -0.5991317034, -0.3619628251, -0.3995620608, 0.0703374669, 0.3342243433, 0.1666879058, -0.2662593424, -0.0550555401, 0.6360113621, 0.0322635137, 0.1138099283, 0.4411059618, -0.3657428622, -0.3211614192, 0.7757276297, 0.1184698641, 0.4341665506, 0.1431499124, 0.3290290534, -0.3965173364, -0.6197677851, -0.4066898227, 0.0448485836, -0.811121881, -0.2460428029, -0.3369320929, -0.5819336772, -0.0997169241, 0.0087289112, -0.5278832912, -0.5931417346, 0.4521270692, -0.278316021, 0.4469794333, 0.6266428232, -0.0791518465, 0.0511363111, -0.5335065722, 0.4630032778, 0.2690491974, 0.222833842, -0.2534882724, -0.4725823998, 0.0806422755, 0.2239934802, -0.2465901822, -0.7852856517, -0.0966904908, -0.2233564109, 0.657089591, 0.5144780874, 0.16581963, 0.6279854178, -0.417673856, 0.779620409, 0.0535359196, -0.6055406928, 0.4417847097, -0.4822543561, -0.2304768562, 0.4076726735, 0.3371870816, -0.3896431029, -0.3752139211, -0.9330491424, -0.5001089573, 0.3444117904, 0.4726645648, -0.3646413684, 0.0029128406, 0.3192584813, 0.1793190241, 0.0205485821, -0.6146528125, -0.0880329609, 0.0855694562, 0.1806556135, 0.5007622838, -0.3887506425, -0.3204398453, -0.1672413349, 0.6274859309, -0.0949868932, 0.4858696163, 0.275683552, -0.1759244949, 0.1948349029, 0.3992927372, 0.3848486543, 0.9683693051, -0.2999536693, 0.3194009662, 0.2959591746, -0.3200953007, 0.2195463479, 0.2018336952, -0.0390475169, -0.1072511673, 0.4165190458, 0.5676829219, 0.1579785794, -0.6532307863, 0.6091751456, -0.1692344099, -0.50871104, -0.4065446258, 0.1958431304, -0.0001349268, 0.2711586654, 0.3757118285, 0.2399667948, -0.0197502635, -0.5089561343, 0.2667823732, 0.3190495074, -0.1089050695, -0.2240724117, 0.4880627096, 0.0714221001, -0.0439025089, 0.6448209882, -0.4624654055, -0.7433610559, 0.5935184956, 0.4737719893, 0.8339285254, 0.3655335009, 0.3121275306, 0.216040656, 0.7001230121, -0.2616409361, 0.0539530553, -0.1711683571, -0.9947254658, -0.5403213501, -0.0764961541, -0.7912803292, -0.0342586935, -0.2535923123, 0.4262999892, -0.4312495887, -0.0432424061, -0.1636701524, -0.0113659995, -0.4835067093, -0.056213554, 0.5199095011, 1.0376133919, -0.5184642673, 0.5475484729, 0.29451105, -0.3978717327, -0.8437447548, 0.2650199234, 0.4765723348, -1.1251915693, 0.5726997256, 0.3627589345, -0.3366310298, -0.2087892145, -0.5497464538, -0.6437255144, 1.1385300159, 0.6262521148, -0.2505940497, -0.0367120691, 0.1576523334, 0.1970877796, -0.215984419, 0.5561545491, 0.6315506101, 0.4985193312, 0.5619416237, -1.1364604235, 0.1353444457, 0.0350993797, -0.3855911195, -0.1756132394, -0.6579524875, 0.5410987139, -0.4989739358, -0.4837850332, -0.0922352672, 0.7081463337, 0.7220246792, 0.1993614584, 0.5570090413, 0.650161922, 0.9687054157, -0.3448651135, 1.0099298954, -0.2491077036, 0.2875271738, 1.0063090324, -0.5034610033, 0.6575464606, 0.1642468423, -0.5335302353, 0.5453862548, 0.7205913663, 0.0850842446, 0.2020876706, 0.4655636251, -0.4270693064, -0.3279122412, 0.1707647592, -0.519382596, 0.491312921, 0.7014937401, -0.0301961899, -0.5435387492, -0.3708964586, 0.2272982299, -0.3872592449, -0.2084812075, 0.5678392649, 0.0999988839, -0.8885396123, 0.6640557647, -0.1633344591, 0.4988550544, -0.5257656574, -0.1135693118, -0.0439083055, 0.1059970483, -0.2719877958, -0.8665168285, 0.3116205633, 0.2110577971, 0.3158358634, -0.2093582302, 1.2511081696, -0.0928204656, -0.2960717976, -0.1305376589, 0.786347568, 0.377918452, -0.315392077, -0.6606941819, 0.0178011209, 0.0399219319, -0.2606899142, 0.1518412977, 0.8500908613, 0.1511339247, 0.878960073, 0.6247195601, 0.2160609663, -0.1243499219, -0.007534279, 0.9434838891, -0.608043611, -0.2619786859, -1.1333588362, 0.3640495241, -0.0783354267, 0.0094564119, 0.8548805714, 0.6006512642, 0.5352064967, 0.3347092569, 1.0892157555, -0.3305805922, 0.5323648453, -0.6831573248, 0.7028931975, 0.0678413361, 0.661616385, -0.077915512, -0.6518747211, -0.0532690696, 0.729850471, -0.5518298745, 0.0025657301, 0.9924994111, 0.7632585764, 0.1174067557, 0.5786109567, 0.0450669192, 0.2805768251, 0.3932244778, 0.7202165723, 1.4143147469, -0.2502576709, 0.7200931311, -0.1283916086, -0.3422279358, 0.0767586157, -1.2537523508, -0.8779547215, -0.0975311473, -0.5508157611, -0.705401957, 0.0763205886, 0.8236575723, 0.4990038276, -0.4004272819, 0.0096432539, -0.2078353763, 0.3280861378, -0.2134490758, -0.2467739582, 0.2322596014, -0.4089952707, -0.0035562846, 0.3145472109, 0.3506502211, -0.194356218, -0.3845840693, -0.0754245296, -0.0152973998, 0.0245272443, 0.6912367344, 0.4128008485, -0.8197030425, -0.4964594841, -0.2450596392, 0.0249812119, 0.1782105863, 0.81110847, -1.0357606411, 0.0179562271, 0.3301052153, 0.7591694593, 0.3865248859, 0.0190692227, 0.5854634047, -0.2633732259, 0.0052001057, 0.2982087731, 0.5327740312, 0.0580238514, -0.3004485071, 0.8061156869, 0.6174651384, -0.580907464, -0.775082171, 0.2016583383, -1.077732563, -0.0303232744, 1.2644321918, -0.1769458503, -0.1283238679, -0.1182196215, -0.3680334687, -0.0641119257, -0.1690698415, 0.8808239698, 1.0949299335, -0.4366687238, -0.1496063322, -0.7948634028, 0.5060116053, 0.0905003473, -0.8114997149, 0.3995093703, 0.515910387, 0.2988320291, 0.0827783942, 0.9581861496, -0.3613891006, 0.2465729862, 0.2575465441, -0.2431096137, -0.0707618967, -0.1156712919, 0.2819090188, 0.1611881107, 0.1815137416, 0.0842595175 ]
http://arxiv.org/abs/2404.04261v1
http://arxiv.org/pdf/2404.04261v1
A Novel BERT-based Classifier to Detect Political Leaning of YouTube Videos based on their Titles
2024-02-16T14:44:30
2024-02-16T14:44:30
Nouar AlDahoul, Talal Rahwan, Yasir Zaki
cs.CL
cs.CL, cs.AI
A quarter of US adults regularly get their news from YouTube. Yet, despite the massive political content available on the platform, to date no classifier has been proposed to identify the political leaning of YouTube videos. To fill this gap, we propose a novel classifier based on Bert -- a language model from Google -- to classify YouTube videos merely based on their titles into six categories, namely: Far Left, Left, Center, Anti-Woke, Right, and Far Right. We used a public dataset of 10 million YouTube video titles (under various categories) to train and validate the proposed classifier. We compare the classifier against several alternatives that we trained on the same dataset, revealing that our classifier achieves the highest accuracy (75%) and the highest F1 score (77%). To further validate the classification performance, we collect videos from YouTube channels of numerous prominent news agencies, such as Fox News and New York Times, which have widely known political leanings, and apply our classifier to their video titles. For the vast majority of cases, the predicted political leaning matches that of the news agency.
[ -0.6631546021, -0.5513589382, 0.2369447201, 0.0722189844, -0.6080123782, 0.4429699183, -0.6343666315, 0.2218415439, 0.4092534781, 0.2439170629, -0.439779669, -0.3628842533, -0.8031634092, -0.2899568379, -0.7364760637, 1.2357641459, 0.8467203975, 0.2233582139, 0.2176264524, 0.0201005396, 0.2257088274, -0.2282082886, -0.3268595636, -0.2767292559, 0.3968419135, 0.4154060781, 0.760307312, 0.5157200694, 0.1484626532, 0.2860769033, 0.0174297448, -0.1395095438, -0.4575069845, -0.5565513968, -0.2513180971, -0.3434410393, 0.1281485856, 0.0650215447, 0.4211719334, -0.0630747601, -0.0852284282, 0.187191993, -0.1887976676, 0.7031036019, -0.4542272389, -0.0547966138, -1.207867384, 0.2109831274, -0.140852809, -0.1340022534, -0.5265315771, -0.861825943, 0.2596791387, -0.0127646169, 0.5749548674, -0.229661271, 0.9802052379, 0.1251190603, -0.2589891255, -0.2056763172, -0.5983632803, 0.9040102363, -0.6690137386, 0.6645179391, 0.074761346, 0.4741971195, 0.1405676305, -0.0828310773, -0.8222977519, 0.1479034275, 0.6439777613, -0.1494673789, -0.201176703, -0.1685194075, -0.2447493076, 0.2642842531, -0.4107258618, 0.0031282529, -0.4177904725, -0.224963814, 0.5344393253, -0.5312523246, 0.3999479413, -0.7443001866, -0.4512583613, -0.154729709, -0.4069085717, 0.4436598718, 0.8151103258, 0.6315992475, 0.316185981, 0.6107828021, 0.1075383574, 0.6411852837, 0.5047370195, -0.1702748984, 0.1359069645, 0.2328408509, -0.455096364, 0.561003685, 0.8733499646, 0.7382822037, 0.5753701329, 0.0560522303, 0.0682030395, 0.1529294103, 0.4942842722, -0.5864431858, -0.5344932675, 0.1089041159, -0.4419175982, -0.4374072254, 0.3276250064, -0.7483504415, -0.7834935188, -0.2347368449, 0.2892242968, -0.4578848481, -0.3663845956, -0.0350969024, -0.0492431521, 0.4717594087, 0.5426611304, -0.7860637307, -0.2005753964, 1.1053373814, 0.8379144073, -0.126967907, 0.2243427336, -0.5634167194, -0.2441151738, -0.3989512324, 0.7292283773, -0.6724115014, 0.4619198143, 0.3782504201, 0.076464951, 0.4961152375, -0.2929559946, 0.4684702158, -0.7793359756, 0.3004656136, -0.3580210209, -0.7208504677, -0.2997978628, 0.4136157334, -0.7932388783, 0.5301994681, -0.4258930683, -0.8693760037, 0.678755641, -0.4046474695, -0.2230303437, -0.2835596502, -0.3994728029, -0.5632171035, -0.1839193553, 0.2450737357, 0.590726912, 0.0838986412, 0.7562588453, -0.3240000904, -0.0367499143, 0.192069158, -0.3730545044, 1.0121088028, -0.0380196199, -0.3929985762, 0.144162938, -0.5599058867, 0.1142090932, -0.3816873729, -0.0473162979, -0.3394834101, 0.3144084215, 0.0944482759, 0.2894704044, 0.2216681987, -1.0415397882, -0.0539541543, 0.0872185826, 0.4095801413, 1.2493056059, -0.4463980198, 0.5169067979, -0.048755195, 0.2143746912, -0.2599699199, 0.1818960011, 0.6165398955, -0.8191350102, -0.6172379255, -0.2338110358, 0.4630725384, 0.5960021615, -0.4819114506, 0.7997923493, -0.4558236003, -0.6090488434, -0.2709590495, 0.1399234384, -0.0381535403, 0.2932583094, 0.371065259, 0.0967325196, -0.5836133361, -1.0035326481, -0.2552905083, -0.4886682332, -0.1769155115, 0.3126737177, 0.3234025836, 0.0763530433, 1.0830215216, -0.1145762578, -0.4476720095, -0.0941319317, 0.4431086481, 0.2691870034, -0.0642159879, 0.2614271343, -1.2020184994, -0.4641723633, 0.0566752627, -0.3479151726, 0.173848778, -0.1712377667, -0.0138770603, -0.0653673038, 0.1655957103, 0.0345967188, 0.0026417514, 0.56839329, -0.1778326631, 0.1420689672, 0.1847616881, 0.0799579471, -0.8094207048, -0.4699605107, 0.2341207564, -0.2072088271, -0.4024888873, -0.6676316857, 0.1981632113, 0.1518130153, -0.7814862132, -0.0378298201, 0.2809233963, -0.0566262379, -0.0860247687, -0.0313300118, -0.6552260518, 0.240541935, 0.4256708622, 0.4520444572, 0.4382843077, -0.4128166735, 0.6608461738, 0.1018180326, -0.7216112018, 0.5035827756, -0.1510370076, -0.075946942, -0.2922815084, 0.2077687532, -1.2690435648, -0.3109638691, -0.252161324, -0.813519299, -0.0315730497, -0.4291307926, -0.3904522359, -0.3187599778, -0.5489048958, -0.2563407421, 0.4441200495, -0.6675517559, 0.531842947, 0.7343361974, -0.1255777329, -0.9633869529, -0.4338832498, 0.0229087826, -0.2792310417, -0.5948360562, 0.2223919928, 0.1637959331, 0.1769861728, 0.4074877203, -0.2279223651, -0.5443643928, -0.461173594, 0.0234230999, -0.0903611034, -0.1149919704, 0.3695577383, -0.0663041323, 0.36372298, 0.1630789787, -0.1672562212, 0.5318773389, -0.291685462, -0.0589868315, -0.5447052121, 0.226547569, 0.753030479, -0.2812868059, 0.219881162, 0.9578903913, -0.3456016779, -0.4436136484, -0.6747130156, -0.1095428318, -0.4436334968, 0.5499847531, 0.2941572368, -0.4942690432, 0.4886415899, 0.4097413123, 0.1560429633, 0.1832012683, 0.7047713399, -0.1325825751, 0.9620735645, 0.6113765836, -0.5344620347, 0.8428350091, -0.5107955933, 0.2610252798, -0.1839271188, -0.1773241758, -0.3671898842, -0.7068023682, -0.7526652813, -0.3661710322, 0.09484303, -0.6998078227, -0.5146959424, 0.4235171378, -0.6768057942, 0.6236746907, 0.5667518377, 0.1967835426, -0.0591339432, 0.3121109605, 0.3014805913, -0.3456358016, -0.5392497778, -0.5108116865, 1.1654596329, 0.4152430594, 0.923813045, 0.3216638863, 0.8832934499, 0.8712674975, 0.5762678385, -1.0242741108, 0.636918664, -0.7413662076, -0.7981923223, -0.5231181383, -0.2530581653, -0.7314844728, -0.2376379967, -0.041209206, -0.3777780533, 0.0474360734, -0.1557449698, -0.4045655429, 0.9811831117, -0.2722534239, 0.7265354991, -0.6130875945, -0.3336953819, -0.1464783251, -0.6458631754, 0.3159576356, 0.050462123, 0.4116792083, -0.2221730351, -0.0949192271, 1.023855567, -0.1940701902, 0.702018559, -0.5367251039, -0.0771623328, 0.2732262015, -0.4616506398, 0.0041145878, 0.1194169372, 0.1605282873, -0.1210781634, -0.3757060468, -0.177415967, -0.4559855759, 0.7248008847, -0.9894610643, -0.3904548585, -0.5792508721, -0.169222042, -0.1816364378, 0.1559494585, 0.3067335486, -0.0308281668, -0.1801998913, 0.8927522302, 1.0896311998, -0.084782511, 0.3949755132, 0.1265082508, -0.1110221893, -0.7756912708, 1.1682971716, 0.164636597, -0.0604199208, 0.5537008047, 0.3520023823, -0.6415998936, -0.3518020213, -0.5088886023, 0.0103065921, -0.5797252655, -0.3175832033, -0.2959490716, -0.382179141, 0.0279224776, -0.3007597625, -0.6495184898, -0.1586439759, -0.1453156173, -0.0681811422, 0.2518919706, 0.5008906126, 0.0676604956, 0.1423448622, -0.386198312, 0.4643188417, 0.8880636096, 0.5292883515, -0.4089734256, -0.4846923351, 0.1850390285, 0.0728538781, -0.4499326944, -1.1141848564, 0.2571306527, 0.4297403991, 0.4014310837, 0.8608506918, 0.3029680848, 0.4370610416, -0.6306016445, 0.9192773104, 0.3025410175, -0.8571184874, 0.5818895698, -0.326941371, -0.4479885995, 0.4634713531, 0.7056105733, -0.0400657319, -0.5403974056, -0.6386059523, -0.3973636329, 0.3319244087, 0.2273223251, 0.4826087654, -0.1425557733, -0.1581969857, 0.2825720906, 0.3576781154, -0.9399293065, -0.0963270515, -0.5515229702, -0.239778623, 0.0100902589, 0.096040912, 0.0065878378, -0.2403486967, 0.6792902946, -0.2017385066, 0.3020863533, -0.047683768, 0.0869185925, -0.1063347682, 0.3890154362, 0.5140711665, 0.4862183332, -0.8139364123, 0.0244748425, -0.4186618328, -0.3715741038, 0.3588306308, -0.1004308015, -0.3576541841, 0.5275895596, -0.1441877782, 0.3644309044, 0.0022632761, -0.5696447492, 0.6651983857, -0.1082737371, -0.1441745907, -0.636176765, -0.1706026644, 0.0438342504, 0.2511669993, 0.5842634439, 0.1159084961, 0.1486525238, -0.8360566497, 0.5994271636, 0.8805831075, -0.3844177127, -0.1394748539, 0.5507112741, 0.4866630137, -0.5274788737, 0.2787801623, -0.3200313151, -0.9873377681, 0.695364058, 0.1279574037, 0.8836698532, -0.2793699205, 0.7211096883, 0.3588458598, 0.2659964561, -0.2056364864, 0.2499568313, 0.0087114703, -0.8106177449, -0.4523760974, -0.5036094189, -0.5325522423, 0.5241213441, -0.8008167148, 0.6151207089, -0.6771366, -0.5489079356, 0.3764747679, 0.3106535375, -0.2992606163, 0.3284634948, 0.6357021332, 0.8000535965, -1.2596993446, 0.9336301088, 0.8510150313, 0.104792431, -0.2043110281, 0.109396711, 0.0839492828, -0.5600084662, 0.5174401999, 0.2631590664, -0.2955797017, -0.3096119463, -0.578014791, -0.3551283777, 0.5699249506, 0.3116362691, -0.5141226053, -0.2899003327, 0.0919996798, 0.3743421733, -0.4863998294, -0.1742232144, -0.0440587476, 0.3590376079, -0.068503283, -0.7376192808, -0.5686137676, -0.1252889186, -0.3250504136, 0.3775538504, -0.7326806188, 0.9543380141, -0.0996446535, 0.1231785268, -0.1701908261, 0.6425699592, -0.0182638224, 0.4855813086, 1.0326256752, 0.4537468255, 0.7379543185, -0.1582098752, 0.4967136979, -0.2562156916, 0.7306194901, 0.7948191762, 0.2891339362, 1.0700315237, 0.3106732368, -0.3629977703, 0.8751089573, 0.5904091597, -0.3140749335, 0.8720806837, 0.2381292284, -0.1781362295, -0.6296554804, 0.1016173065, -0.1863654554, 0.5937499404, 0.4334816933, -0.4988547564, -0.2268003672, 0.1232564002, 0.0242116563, 0.2628138959, -0.392696172, 0.4315437078, -0.4382264316, -0.6708972454, 0.4970135689, -0.3291628361, 0.8407457471, -0.4563386738, 0.2854389548, 0.2033872008, 0.3055474758, -0.3186465502, -1.1883127689, 0.0176790841, 0.4608894587, -0.1711538285, -0.1614505649, 0.2704633176, -0.634529531, -0.5118497014, 0.1851009876, 0.2235774547, 0.0466505662, -0.1352007091, -0.7422761321, 0.1157215387, 0.1931665391, 0.139521271, 0.2013436854, 0.5439274311, 0.1066091433, 0.6712189913, 0.593272984, 0.0836509541, 0.2107630521, -0.1992728263, 0.7915369272, -0.665109396, -0.5838229656, -0.7939788699, 0.2916256785, -0.4142832756, -0.0300660487, 0.6262132525, 0.7825609446, 0.8737493753, -0.2232196927, 0.8965585828, -0.3664225638, 0.3668354154, -0.3342465162, 0.7229726315, -0.6341945529, -0.1764209419, -0.3002494574, -0.5815958977, -0.3170078099, 1.0438071489, -0.3315774202, -0.2190633416, 0.2308700681, 0.5375708938, -0.3794202209, 0.1865629852, 0.037176352, 0.0189007036, 0.5809367299, 0.6047660708, 0.7910522223, 0.0425742008, 0.8901032805, -0.7484298348, -0.2906399965, -0.510902524, -1.1568773985, -1.1998796463, -0.7080709338, -0.4067629278, -0.3971366584, 0.0313196331, 0.8976025581, 1.0499960184, -0.9703603983, -0.2699254751, 0.0041513029, 0.3129811883, -0.0736412033, -0.2972052693, 0.3384552002, -0.0981633142, -0.91499722, -0.1291549057, -0.0136473412, -0.4405190051, -0.4836835563, 0.0936276391, -0.4613504708, 0.1803575903, 0.5697349906, 0.4187222719, -1.281416297, -0.7400997281, 0.2613551915, 0.1563851386, 0.2536606193, 0.8407837749, -0.5777288079, 0.6070380807, 0.6067947745, 0.6908585429, 0.2642494142, 0.3985421658, 0.1227305457, -0.7511758804, -0.1216194332, 0.5667697787, 0.1128838062, 0.5674856901, -0.053320121, 0.0933973342, 0.0713080466, -0.5539433956, -0.7598122358, 0.1717122048, -1.2731682062, 0.0336189643, 1.0683858395, 0.0561509654, -0.1781101376, 0.0097290054, -0.2035014331, 0.2441896796, -0.8317856193, 1.0333435535, 0.8511918187, -0.0551853068, -0.3172328472, -0.5969206095, 0.6406846642, 0.1159953997, -0.2990393639, -0.0718251318, 0.3653068542, 0.5601331592, 0.5933368206, 0.1374334395, 0.1834064573, 0.5505976677, -0.7056332231, -0.2853153944, 0.2812494636, -0.4161940217, -0.0972374082, 0.4132203758, -0.4918038249, -0.5144351721 ]
http://arxiv.org/abs/2402.10992v1
http://arxiv.org/pdf/2402.10992v1
"Understanding AI": Semantic Grounding in Large Language Models
2024-02-16T14:23:55
2024-02-16T14:23:55
Holger Lyre
cs.CL
cs.CL, cs.AI
Do LLMs understand the meaning of the texts they generate? Do they possess a semantic grounding? And how could we understand whether and what they understand? I start the paper with the observation that we have recently witnessed a generative turn in AI, since generative models, including LLMs, are key for self-supervised learning. To assess the question of semantic grounding, I distinguish and discuss five methodological ways. The most promising way is to apply core assumptions of theories of meaning in philosophy of mind and language to LLMs. Grounding proves to be a gradual affair with a three-dimensional distinction between functional, social and causal grounding. LLMs show basic evidence in all three dimensions. A strong argument is that LLMs develop world models. Hence, LLMs are neither stochastic parrots nor semantic zombies, but already understand the language they generate, at least in an elementary sense.
[ -0.3677696586, -0.8058587909, 0.9356431365, 0.0530081987, -0.2730045915, -0.0079805274, -0.1542448699, -0.3484395146, -0.1510637105, 0.6434244514, -0.5084558129, -0.4331816137, -0.8307269216, 0.052811645, -0.6110456586, 0.849638164, 0.1503048092, 0.1336011589, -0.6615676284, -0.1730097979, -0.170366019, -0.5243697166, -0.6444733739, -0.6202015877, 0.2464268059, 0.1827884763, 0.6989888549, 0.9555304646, 0.4594684839, 0.3654728532, -0.1695808023, -0.164854452, -0.4488080442, 0.1586448699, -0.1164903492, -0.9471639395, -0.0542977042, 0.3827652931, 0.5553826094, 1.0752491951, 0.2469923943, -0.0713193566, -0.0407502465, 0.7922019362, -0.2904480994, 0.2838989198, -0.6823886633, 0.2391002625, 0.1342269629, -0.1632158756, -0.2651403248, 0.0991222262, -0.0992336571, -0.4821445942, 0.1862639934, 0.1550435126, 0.6230272055, 0.5209073424, -0.4907932878, -0.3966861367, -0.6104898453, 0.7554641962, -0.4424405098, 0.368065238, 0.5057392716, 0.1553307176, -0.219035849, -0.5932148099, -0.7728274465, -0.5383081436, 0.0184662249, 0.1885155588, 0.1692958772, 0.1534041911, 0.2882275283, 0.6958568096, -0.2454865426, 0.2743518949, -0.3542812467, 0.1175625771, 0.5780745149, -0.0891564786, 0.6428955793, -0.0197902936, -0.4936043322, 0.1464833468, -0.7520296574, -0.313590914, 0.2094604969, 0.0740850568, -0.1995594352, 0.7029854059, -0.1414986849, 0.6633965373, -0.0482317246, -0.2317521125, -0.1123195589, -0.1669196635, -0.3931768537, -0.1037212536, 0.5010522604, 0.2651478052, 0.4854353368, -0.6278042793, -0.0912335068, 0.3122401536, 0.3106091619, -0.3275437057, -0.0277323872, 0.340052247, -0.6507267952, -0.4035040438, -0.0911147892, 0.0680209994, -0.3797346056, -0.6911494732, 0.22909832, -0.5542577505, -0.3052320778, 0.0495831147, -0.1679357141, 0.889298737, 0.4384503365, -0.8991376162, 0.3846243024, 0.9319096804, 0.5828852057, -0.1189417392, -0.6134182811, -0.127772361, 0.3121966124, -0.6103602648, 0.8240025043, -0.3281792104, -0.3212298155, -0.0705825761, -0.1553112566, 0.1579660624, -0.5018046498, 0.3372144699, -0.5373696685, 0.3094088733, -0.2533000708, -0.6763254404, -0.3333485425, 0.4029543698, -0.3283332288, 0.6621528864, -0.3323007226, -0.5077462196, 0.2814537585, -0.544939816, -0.3731501997, 0.1263446957, -0.371277988, 0.2047531754, 0.4810938239, 0.0156446174, 0.6477530003, -0.3828470707, 0.4382286668, -0.2187579721, -0.0973814949, 0.2892665267, -0.3730786443, 0.8177673221, 0.2539063096, -0.2688362896, -0.1018213704, -0.843008697, -0.057059139, 0.3215888739, -0.1353504211, -0.2921543717, 0.4417730868, -0.3429598808, 0.3467989564, 0.1712240577, -0.2002689689, 0.0665563419, -0.536724031, 0.6711246371, 0.5743751526, -0.2752813101, 0.5630248785, -0.178263247, 0.103683047, 0.1652537435, -0.290640831, -0.3367162049, -0.398991853, -1.2107205391, 0.0844381824, 0.1252100915, 0.4936555326, -0.4152386785, 0.7019529343, 0.003081813, -0.2554745078, -0.4823443294, 0.2143329233, 0.2637491822, 0.3544876873, 0.3565252423, 0.0474567711, -0.1410127431, -0.8763934374, -0.2419360429, -0.3479377627, -0.1126545295, 0.3372718394, 0.7587022185, -0.4437365532, 0.8357696533, -0.2444398403, -0.0158883445, -0.3278924823, 0.1986250132, -0.0358415917, 0.4082850814, 0.3450834155, -0.8739088774, 0.0034385636, -0.0596920736, -1.3759269714, -0.0031269486, -0.1612805426, -0.0943819061, -0.0882428586, 0.7121382356, -0.7906851768, 0.318690002, 0.2871931195, -0.2555957437, 0.11589697, -0.3222264647, -0.1919884533, -0.9258908629, -0.2677164674, -0.1221003234, -0.3201436102, -0.6974583268, 0.3505367637, -0.2876470387, -0.0683630928, -0.2811591327, 0.4365954697, -0.5740089417, -0.3812572956, -0.5299423933, 0.5902581215, -0.0348002724, 0.1347126514, 0.1929944158, 0.5653719306, 0.4918921888, -0.7844973207, 0.5268604755, 0.0265716687, -0.2577502131, 0.5763689876, -0.5600700378, 0.2684288323, -0.5302529931, 0.2555078864, -1.0145256519, -0.1652114242, 0.2344245017, -0.6349939108, -0.1630980223, -0.0861461684, -0.3785303235, -0.1572973132, 0.1158147007, 0.3224731088, 0.5187322497, -0.4561200142, 0.586532414, 0.491240561, 0.236379534, -0.2460343838, -0.7519974113, 0.419364363, -0.4652197659, -0.6351255178, 0.3412853479, 0.1053962111, -0.9433232546, 0.0394908935, 0.0627916381, 0.0535816923, 0.5793071389, 0.3438402116, -0.2890061438, -0.3159886897, 0.2598999739, -0.1798169613, -0.5167403817, 0.5229187012, -0.6822824478, 0.4645715058, -0.083568871, -0.3797153234, -0.3733761311, 0.2902197242, 0.6364403367, -0.1656262875, 0.7404898405, 0.3222029507, -0.5255122185, -0.206146121, -0.4559051692, -0.0694600418, -0.3987043798, 0.0441413186, -0.5353388786, -0.6894881129, 0.558626771, -0.2411835939, -0.1681493372, 0.8216286898, 0.8249110579, -0.3990923464, 0.8832865953, 0.9617355466, -0.1538784504, 0.0670919567, -0.4785448909, 0.1732449234, -0.6166105866, -0.1808625013, -0.5318319798, -0.0389936045, -0.679772079, -0.42752105, 0.1899693906, 0.420463711, -0.1573512405, -0.2507441044, -0.1161402985, 0.5015934706, 0.5621833205, -0.1038824171, 0.1856869608, -0.0993759036, 0.0088520627, 0.2402905673, -0.4475661516, -0.833162725, 0.7563752532, 0.5170956254, 0.8156977892, 0.0077976598, 0.5553265214, 0.2038689107, 0.1908920556, -0.8349922895, 0.5001980066, 0.0825352222, -0.4267691076, -0.2780908644, 0.030331824, -0.6682807207, 0.4862866998, -0.2454879284, -0.5049197078, -0.2498798668, -0.0086739296, 0.0904515237, 0.3116372526, -0.380807519, 0.8234961033, -0.5333917737, 0.0219856985, -0.4445392489, -0.8741509914, 0.4579594731, 0.2048028857, 0.4171169698, -0.3208173811, -0.1285317838, 0.7739800215, -0.2372892201, 0.8553078175, -0.0591594949, -0.4529353082, 0.2768690288, -0.1585358977, 0.1565254182, 0.1120432764, 0.0547138453, 0.2008715421, -0.136603713, -0.5696543455, -0.8244678378, 0.5258140564, -1.1112968922, -0.8079768419, -0.3578300178, -0.4893175364, -0.1281822622, 0.2513659596, 0.1967060715, 0.1655592769, -0.3458598554, 0.0512128547, 0.7649159431, -0.1312979758, 0.1678147465, 0.316773206, -0.2388000488, -0.1293863952, 0.7703065872, -0.0658537373, 0.2436947078, 0.5601060987, 0.2402890325, -0.1947864592, -0.6591999531, -0.423568815, 0.292540431, -1.0890336037, 0.333137244, -0.7440929413, -0.2891786098, -0.2556536198, -0.2463079989, -0.0807318389, -0.1542736143, -0.489749372, -0.3674978316, 0.1920654923, 1.1544282436, 0.0808930844, 0.5088620186, -0.5181900263, 0.4994812906, 0.3207320869, 0.0039925817, -0.198118329, -0.4028835893, -0.1227968857, 0.2342866212, -0.1286321282, -0.9352675676, 0.1088808104, 0.0736727193, 0.5592681766, 0.550586164, -0.1515784711, 0.5126453042, -0.6218262315, 0.9463828802, -0.1753745228, -1.0762052536, 0.6314992309, -0.4361502528, -0.0397921316, 0.2944482565, 0.4282889664, -0.6157029271, -0.6016243696, -0.8028143048, -0.5939443707, 0.3425226212, 0.07658007, 0.6213726401, -0.2520049512, 0.7915076017, 0.034387283, 0.2055858076, -0.997377336, -0.4119510055, -0.1253009588, -0.1855025291, -0.5225292444, -0.5476706028, -0.2255423516, -0.0766842663, 0.2622437179, -0.3093322814, 0.4100200832, -0.070907928, -0.4007778168, 0.046445284, 0.0415390171, 0.4856820405, 0.8909295797, 0.1594140828, 0.5541890264, 0.092284292, -0.0167864617, 0.2538990378, -0.4124846458, -0.0328714028, -0.3665511608, 0.8068813682, 0.797408998, -0.0333885998, -0.3500219882, 0.3800218105, 0.003945888, -0.2111515105, -0.5336937308, 0.2751421332, 0.0572060347, 0.1581018567, 0.2680983841, -0.3869758546, 0.0444184169, -0.6920564175, 0.0421120934, 0.6066915393, -0.1280907542, -0.369099766, 0.5351314545, 0.158030957, -0.3349764943, 0.6470745206, 0.0323740318, -0.5870239735, 0.7932310104, 0.8828128576, 0.9527902603, 0.1282117218, -0.0628958121, -0.1763613969, 0.3984931409, 0.0610169657, 0.0650770962, -0.3719879091, -1.1746780872, -0.4158365726, -0.5052177906, -0.5659520626, 0.1166825742, -0.6497184634, 0.1048471183, -0.3152668774, 0.298553437, 0.146854803, -0.0524056517, -0.4354975224, 0.5252033472, 0.4393488765, 0.7679133415, -1.1161823273, 0.6873934269, 0.7680196762, -0.295147121, -0.267498821, 0.3568001688, -0.2225224823, -1.1508392096, 1.0867345333, 0.3571078181, -0.2271452248, 0.4149777889, -0.949179709, -0.9131684303, 0.8235978484, 0.1636100262, 0.0902856365, -0.0248473268, 0.1325144321, 0.4274676442, -0.4482029974, 0.2520035505, 0.5665838718, 0.4147552252, -0.1228626668, -0.2940789461, -0.2838941216, -0.083691746, 0.1431045681, -0.0828605294, -0.5433716178, 0.7599070668, -0.1568055451, -0.2585365176, -0.0506197438, 1.0581364632, -0.0501292124, 0.2571513653, 0.2415300906, 0.8201461434, 0.6015643477, -0.1158376485, 1.0513226986, -0.5743697286, 0.2628731728, 0.61874336, -0.1437832564, 0.4931392074, 0.315967083, -0.3414162695, 0.4061421752, 0.6596341729, 0.2966902554, 0.3473425508, 0.4360927045, -0.1619425267, -0.5438027382, 0.0664227009, -0.2159753442, 0.7772654295, 0.608833313, -0.2923660576, -0.2877765596, 0.2411109656, -0.0604685396, 0.1989338547, -0.354139924, 1.2732297182, 0.3545918465, -0.5947978497, 0.4984297454, 0.3174022436, 0.2196132988, -0.1333632618, 0.0041445601, -0.2290697396, 0.0356859192, -0.0001582948, -0.6796095967, 0.312153846, -0.0705824718, -0.4297960997, -0.3750751317, 0.7260394692, -0.1497315764, -0.4440339804, 0.4062749743, 0.849060595, 0.5112349391, 0.2936199903, -0.7744634748, 0.0359566733, -0.3726867139, -0.0358390212, 0.2928403616, 0.7238725424, -0.113480486, 0.8894729018, 0.5415779352, 0.0113784019, -0.0088475775, -0.1277983636, 0.6682849526, -0.9710973501, -0.3753100932, -1.2807041407, 0.2739742398, 0.2545771599, -0.1238073185, 0.7287417054, 0.2448942959, 0.8087999225, 0.1619671136, 0.8106694221, 0.0348813087, 0.0689551532, -0.8504031301, 0.4188968241, -0.515404582, 0.0150950998, 0.039602302, -0.7092761397, -0.461224854, 1.0209695101, -0.5876022577, 0.1144146472, 0.4767736793, 0.1604349315, 0.117181845, -0.1164196432, 0.5577737093, 0.3631363213, 0.3232814968, 0.0638704896, 1.3472725153, -0.1327743381, -0.2625013292, 0.0114133479, -0.2601766586, 0.157025516, -0.810761869, -0.9630159736, -0.5144042969, -0.1120961756, -0.2185673714, 0.0062249498, 0.8492338657, 0.5782794356, -0.5948652029, -0.4018075764, -0.5529774427, 0.4386612177, 0.0318506844, -0.1494047046, 0.2618663311, -0.9516352415, -0.6288214922, 0.3605232537, 0.3990029991, 0.1359721571, -0.6386460662, 0.0067160954, 0.1030878648, 0.0993540585, 0.7567129135, 0.0369563811, -1.1674621105, -0.4395548105, -0.2843731046, -0.0813500285, 0.0338582546, 0.6218182445, -0.8809469938, 0.0609350987, 0.3119523823, 0.7686854601, 0.123737596, 0.088007018, 0.600802958, -0.2255252153, 0.3620692194, 0.0652038381, 0.3696502447, 0.2403746843, -0.3039756715, 0.4596159458, 0.5426204801, -0.6129426956, -0.7596330047, 0.3227469027, -0.4530697763, -0.2940759063, 1.1428707838, -0.0170987956, -0.3571492732, -0.0994174033, 0.0776411965, 0.1617327034, 0.4500533342, 0.5816300511, 0.7474207282, -0.2044581473, -0.1386652291, -0.7479119301, 0.4611717165, 0.3433482647, -0.883222878, 0.0619279519, 0.5114291906, 0.3060625792, 0.2107251585, 0.7537949681, 0.2100492418, 0.0028025052, -0.1178686097, -0.0101596583, 0.3712050021, -0.4770732522, -0.4339433908, 0.0113392128, 0.4252912402, -0.1278053075 ]
http://arxiv.org/abs/2402.10712v2
http://arxiv.org/pdf/2402.10712v2
An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inference
2024-02-16T14:15:15
2024-06-17T12:00:02
Atsuki Yamaguchi, Aline Villavicencio, Nikolaos Aletras
cs.CL
cs.CL, cs.AI
The development of state-of-the-art generative large language models (LLMs) disproportionately relies on English-centric tokenizers, vocabulary and pre-training data. Despite the fact that some LLMs have multilingual capabilities, recent studies have shown that their inference efficiency deteriorates when generating text in languages other than English. This results in increased inference time and costs. Cross-lingual vocabulary adaptation (CVA) methods have been proposed for adapting models to a target language aiming to improve downstream performance. However, the effectiveness of these methods on increasing inference efficiency of generative LLMs has yet to be explored. In this paper, we perform an empirical study of five CVA methods on four generative LLMs (including monolingual and multilingual models) across four typologically-diverse languages and four natural language understanding tasks. We find that CVA substantially contributes to LLM inference speedups of up to 271.5\%. We also show that adapting LLMs that have been pre-trained on more balanced multilingual data results in downstream performance comparable to the original models.
[ -0.2363324463, -0.6176841259, 0.3998248875, 0.525903821, -0.3143283129, 0.0716272295, -0.3569912314, -0.5003429651, 0.0884497911, 0.3831975162, -0.2910548151, -0.4620940685, -0.3873136342, 0.1640829742, -0.0847748742, 0.6019717455, 0.0501687378, 0.4188385606, -0.18656452, -0.1915017664, -0.5289436579, -0.6724612713, -0.5578976274, -0.2596746087, 0.5145269632, -0.0212414432, 0.3492894769, 0.3685854673, 0.0574359521, 0.3311622441, -0.0506286323, 0.1864868701, -0.5633182526, -0.2471653223, -0.431058228, -0.851039052, -0.3199819326, -0.3470990956, 0.7615712881, 0.7716594338, -0.0399593227, -0.0545319505, 0.0996589139, 0.5529005527, -0.9013687968, 0.0135854892, -0.9433345199, 0.1644980162, -0.2423011512, -0.3523590565, -0.6899108291, 0.1047593877, 0.3272918165, -1.0848956108, 0.215622887, 0.1276869625, 0.6377190948, -0.0168885086, -0.2295915931, -0.3190896213, -0.5763583183, 1.0588011742, -0.6611596346, 0.6683214307, 0.0139563978, 0.079159677, -0.087253809, -0.5433731079, -0.4593141973, -0.0467939563, 0.0737057552, 0.3595265746, -0.2777992487, -0.0371134318, 0.0571042933, 0.1673935801, -0.4909614325, 0.7421960831, -0.1768067181, -0.1444345564, 0.4634340107, -0.0930384248, 0.2769031823, -0.2950267196, -0.5559474826, -0.1776839197, -0.7285804152, 0.0054996568, 0.2566867471, 0.4741490185, -0.4300399125, 0.4149290025, 0.1618784219, 0.8593276143, -0.1663017571, -0.2048536539, 0.3372766078, -0.6618183851, -0.2650123835, -0.0786428973, 0.5359569192, 0.2531865239, 0.6559445262, -0.4009125531, 0.0263593774, -0.085628435, 0.1174799204, -0.6571379304, -0.024051182, -0.0625789538, -0.3205986917, 0.1765474528, -0.2898310423, -0.6897924542, -0.1859469861, -0.2306957692, 0.4009360969, -0.5107421279, -0.2250261158, 0.109119989, -0.282477349, 0.5890724659, 0.3625114858, -0.8285301328, 0.0230554305, 0.693215549, 0.9740583301, -0.4612516165, -0.5590636134, -0.6521254182, 0.0897942036, -0.6479701996, 0.859495461, -0.3192598224, -0.3779547811, -0.0069576409, 0.0446181633, -0.4902054667, -0.5200244784, 0.3361998498, -0.7347385883, 0.1292257458, -0.2849968374, -0.4369905889, -0.2919725776, 0.0798161477, -0.7114828825, 0.7070938349, 0.0257040225, -0.6665518284, 0.7609008551, -0.4214285314, -0.5753400922, 0.0790866092, 0.0505160615, -0.05905018, 0.3540647924, 0.4936622381, 0.51660043, -0.5243752599, 0.0403865948, -0.3177095354, -0.18880786, 0.1255787909, -0.5123046041, 0.8745875955, 0.0780849904, 0.0628124103, 0.0301270839, -0.6442024708, -0.168788746, -0.0128730349, -0.3331947923, -0.887381196, 0.0007223482, 0.0525543876, 0.1418436319, -0.0521370247, -0.2959489226, -0.1472158581, -0.4817321897, 0.1322140843, 0.8655912876, -0.3082045913, 0.4241017401, -0.259429127, 0.7099842429, 0.214336127, -0.3139243722, 0.0492734648, -0.2721624076, -0.8674367666, -0.6660482287, 0.593967557, 0.6171386242, -1.1785045862, 0.1594560593, -0.6230769157, -0.3887354732, -0.5071265697, 0.2887015641, 0.4665359557, 0.2461472154, 0.2510823309, -0.5267659426, -0.3211569488, -0.7322640419, -0.6293023825, -0.2711349428, -0.2136766315, 0.3041954935, 0.3794314563, 0.090893127, 0.648637414, -0.025832152, 0.1682533324, -0.483477354, 0.1416609138, -0.0484026931, 0.0830112174, 1.0046806335, -0.676386714, -0.5605689883, 0.2135201246, -0.5490315557, -0.2769976258, -0.4017385542, -0.3983801901, 0.4949373305, 0.286655575, -0.3438695073, 0.0794836432, 1.054676652, -0.2542096972, 0.3935331404, -0.3707270026, -0.0276874695, -1.1316052675, -0.143376708, 0.133849442, -0.1408593357, -0.7514930367, -0.0173182208, 0.104760766, 0.3350820839, -0.5504694581, 0.7051684856, -0.8498401046, -0.3335999846, 0.0589421093, 0.2229469717, 0.0033083945, 0.3819779158, 0.3407410383, 0.919941783, 0.5934993625, -0.7928686738, -0.1540305465, -0.0344361737, -0.4511085749, 0.5072151423, -0.3678949177, -0.1940810978, -0.2460476458, 0.0984950215, -0.7711347938, 0.1556202769, -0.1252674758, -0.109793365, 0.3523851931, -0.1792268008, -0.1767516732, 0.0846423656, -0.2112443298, 0.4015656114, 0.3347609341, -0.8755646944, 1.0827502012, 0.2996021211, -0.1640603393, -0.5173704624, -0.8690348268, 0.0806383789, -0.2826042175, -0.6103470922, 0.4102917612, 0.0697375312, -0.3464834988, -0.2232988775, 0.0623852089, 0.1023295298, 0.2610761821, -0.2024713457, 0.1986219138, -0.3655926585, 0.2546976209, 0.0502809174, 0.1692153811, 0.1316154152, -0.1738825142, 0.5334163308, 0.0793720558, -0.2702214122, -0.0997351632, 0.1693404615, 0.556012094, -0.2645568848, 0.963021934, 0.543384254, -0.1337066591, -0.5378436446, -0.4802171588, 0.0460447781, -0.3776196837, 0.6358690262, -0.7421828508, -0.6152094603, 0.5863577724, 0.0295025185, 0.187741518, 0.5012030005, 0.7146853209, 0.3669581115, 0.4662857354, 0.5179405808, -0.1203893498, 0.5000706911, -0.0305013843, 0.208352685, -0.6655753851, -0.0559438467, -0.4669152796, 0.1225032955, -0.9943112731, -1.0000636578, 0.2229584008, 0.0879509524, 0.3287948966, 0.1485012472, 0.1439359486, 0.0523392186, 0.3934603333, -0.1468534768, 0.4936567247, 0.3435400426, -0.1215119958, 0.0399454758, -1.2472264767, -0.145841822, 1.1291511059, 0.2474659979, 0.7100375295, 0.2838664949, 0.3301402032, -0.1087831259, 0.6527407169, -0.7364281416, 0.2247911096, -0.5764659643, -0.4753712118, -0.1789709777, -0.5538191795, -0.8806666136, 0.6972944736, -0.2285400331, -0.4070854485, 0.306959033, 0.0494183265, -0.0433523729, 0.2855154276, -0.7985174656, 0.8004612923, -0.3974912465, -0.3174006343, -0.2450913489, -0.1697099656, 0.4613179266, -0.6417672634, 0.4515236914, -0.0424531102, -0.1501875818, 0.7575612664, -0.2562449574, 0.755551517, -0.0721828341, -0.3825815618, 0.1207538918, -0.3208110929, 0.4255896509, -0.1250208914, -0.2475889921, 0.6257939339, -0.0259061046, -0.5604100227, -0.5633136034, 0.5431192517, -0.7519478202, -0.5749555826, -0.3446066082, -0.8284243345, -0.3467902839, -0.1072362512, 0.2943861783, 0.2188582122, -0.3766190708, 0.1320651919, 0.4031640589, -0.6201593876, 0.3901469111, 0.6966254711, -0.1100200489, -0.1142484397, 0.7529939413, 0.356416434, 0.6804090142, 0.6944204569, 0.1969793439, -0.2376269996, -0.7509579659, -0.6781150103, 0.3071932495, -0.626655519, 0.2426959127, -0.7455996871, 0.0509461947, -0.4450002015, -0.2259377092, -0.3108175397, -0.2238281816, -0.3055864871, -0.0089212162, 0.4815291762, 0.1612353325, 0.0201335791, 0.1468349546, -0.6589483619, 0.3960958123, 0.2320903987, -0.0894830003, 0.1014449075, -0.7972691655, -0.140846312, -0.0189945977, 0.2044975162, -0.5397722721, 0.444866538, 0.5362839103, 0.6286720037, 0.0802690312, -0.2117259502, 1.0073806047, -0.4226987958, 0.6617719531, 0.1173779145, -0.9249336123, -0.1384548694, -0.1084994674, 0.3838970363, 0.1277089417, 0.4583949149, -0.4938390851, -0.1686514616, 0.0210968591, -0.8478226066, 0.474101156, -0.0944292024, 0.3159668446, 0.07246124, 0.1888056993, 0.3218423426, -0.1553586125, -0.6074956059, -0.0371349864, -0.0932406932, -0.0389585309, -0.5359980464, -0.0679709017, 0.1934617609, -0.1542679965, 0.7173532844, -0.5396078825, -0.1028466523, -0.0036515484, -0.4711945057, 0.2435050011, 0.3669942915, 0.3564825952, 0.8244576454, 0.2248528898, -0.0585515276, 0.6811287999, -0.3505852818, 0.0053556333, 0.2297348976, -0.1230267063, 0.0612663031, 0.69320786, 0.9459970593, 0.2648769617, -0.735879302, 0.2450924814, -0.1816308647, -0.0903954059, -0.1976059675, 0.0432569683, 0.3524641693, 0.1010224745, 0.2859006822, -0.3398242891, -0.1208767369, -0.5763068795, -0.2337294817, 0.6582207084, -0.0119068697, -0.2132002562, 0.3831872642, 0.1002105623, 0.0307530686, 0.3046908677, -0.020408066, -0.3417357206, 0.4690766037, 0.5562629104, 0.8540170789, -0.1973611861, 0.1604012102, 0.1603087485, 0.3010255694, 0.0770610496, 0.2538636923, 0.0329405926, -1.0418504477, -0.8553985953, -0.9268308282, -0.237967357, 0.0013344779, -0.6085925102, -0.0134084253, -0.0807043314, 0.0719168484, 0.2643184066, -0.1415299475, -0.7788320184, 0.0733690783, 0.0368012451, 1.1773853302, -0.9617395401, 0.6951798201, 0.5821959376, 0.1064248458, -0.6948239207, -0.0246930569, -0.1719739884, -0.9237694144, 0.680054903, -0.0379656628, -0.3261418343, 0.0400343686, 0.0097484812, -0.7535216212, 0.9122796059, 0.4601145983, -0.7081818581, -0.0756849796, 0.1652918756, 0.6793353558, -0.440772146, 0.1233593151, 0.59584409, 0.381175667, -0.1260440648, -0.8615425825, -0.0840335116, -0.1186163351, 0.4919801056, 0.0880570486, -0.479580164, 0.7058950067, -0.0858704224, -0.1406876594, 0.1053324863, 0.8163973093, 0.4321438074, 0.1487399042, 0.7847936749, 0.5564749837, 0.6591384411, 0.0614010803, 1.1384575367, -0.4091948271, 0.0153219085, 0.9435890317, -0.3190223277, 0.7935877442, 0.6946755648, -0.0738165006, 0.6353554726, 0.5325997472, 0.0888831019, 0.3712670207, 0.2124597728, -0.2859473228, -0.3957231939, -0.2680018842, -0.1633762866, 0.7999952435, 0.5302602053, -0.4981042445, -0.0988858342, 0.0249585528, -0.0080736428, -0.1189590916, -0.4475538433, 0.6855220199, 0.0650954992, -0.9296109676, 0.802408278, 0.1051147133, 0.8262096047, -0.6071622968, 0.2616563737, -0.0995397642, 0.1562545747, 0.013415697, -0.2587482929, -0.0470326692, 0.178730309, -0.0877727717, -0.0307581201, 0.4828031659, -0.4180079699, -0.7134390473, 0.7278852463, 0.8697240949, 0.2185132802, 0.1699166596, -0.586355567, -0.0529667661, -0.1031126082, -0.3994130194, 0.3428822458, 0.5210236311, -0.3387964368, 0.4714325666, 0.7920755148, 0.4012009501, 0.369748354, 0.3844200075, 0.6003708839, -0.4173326194, -0.4100240469, -0.6678645611, 0.3422830701, 0.0897715762, -0.3432510793, 0.9588641524, 0.401156038, 1.2714562416, -0.1377591789, 0.8569155931, 0.1794213802, 0.2379424572, -1.0562987328, 0.4433554411, -0.8187040687, 0.1898099035, -0.1930351257, -0.7831497788, -0.1058876514, 0.3080078661, -0.4425598085, 0.3399531841, 0.5584414005, 0.8002775311, -0.1576805115, -0.2581088841, 0.4587373435, 0.2798276544, 0.1588554084, 0.5525618792, 0.4933637679, -0.2249790728, 0.2496515214, -0.2933285534, -0.1952527314, -0.1044928133, -1.0753047466, -0.9233903289, -0.2504524887, -0.1774407625, -0.0789205357, 0.2180898488, 0.555042088, 0.7311630845, -0.7810766101, -0.3310512602, -0.1610064656, 0.1187179238, -0.2276371717, -0.1977725625, 0.335773766, -0.4765984118, -0.9521132112, 0.4530643821, 0.2666041255, -0.1196196005, -0.2977273762, -0.1758001745, -0.3011794686, 0.3057709932, 0.8577516675, 0.1125921533, -0.8251546621, -0.1618958414, -0.0189818889, 0.0359432623, 0.0652856454, 0.7908553481, -0.6060580015, 0.6471524239, 0.6978887916, 0.8609544635, 0.5261393189, -0.011214572, 0.8972257972, -0.5554035902, 0.2508900762, -0.1217708811, 0.4129242599, 0.4967848063, -0.057736095, 0.2907637358, 0.2488098592, -0.1594008803, -0.6767889261, 0.1151071638, -0.6655709147, -0.504024446, 1.1923747063, -0.4098871052, -0.4079700112, -0.1788215041, 0.2335623503, 0.3357108831, 0.0458442681, 0.4877833724, 0.6740294099, 0.1117646545, -0.1302444786, -0.5126564503, 0.2088516951, 0.7616271973, -1.0379177332, 0.1363882422, 0.2826018035, 0.3804530203, 0.1229462922, 0.4344875813, 0.1163256988, 0.2600411177, 0.0179297477, 0.0756922737, 0.3128239214, -0.2790257633, -0.5438663363, -0.0137776164, 0.1705067754, 0.0956140384 ]
http://arxiv.org/abs/2402.10699v1
http://arxiv.org/pdf/2402.10699v1
Rethinking Human-like Translation Strategy: Integrating Drift-Diffusion Model with Large Language Models for Machine Translation
2024-02-16T14:00:56
2024-02-16T14:00:56
Hongbin Na, Zimu Wang, Mieradilijiang Maimaiti, Tong Chen, Wei Wang, Tao Shen, Ling Chen
cs.CL
cs.CL
Large language models (LLMs) have demonstrated promising potential in various downstream tasks, including machine translation. However, prior work on LLM-based machine translation has mainly focused on better utilizing training data, demonstrations, or pre-defined and universal knowledge to improve performance, with a lack of consideration of decision-making like human translators. In this paper, we incorporate Thinker with the Drift-Diffusion Model (Thinker-DDM) to address this issue. We then redefine the Drift-Diffusion process to emulate human translators' dynamic decision-making under constrained resources. We conduct extensive experiments under the high-resource, low-resource, and commonsense translation settings using the WMT22 and CommonMT datasets, in which Thinker-DDM outperforms baselines in the first two scenarios. We also perform additional analysis and evaluation on commonsense translation to illustrate the high effectiveness and efficacy of the proposed method.
[ -0.3679104745, -0.6309859157, 0.7639780641, -0.0316445902, -0.5741770864, 0.2315218151, -0.5266174078, -0.1507175416, 0.1670130938, 0.4647102058, -0.6165046692, -0.3603122234, -0.5961282849, 0.3539286256, -0.395051688, 0.9984662533, -0.3688203096, -0.0324262269, 0.0572253466, -0.1611507684, -0.4841621518, -0.1881558448, -0.6042374372, -0.6344807744, 0.446274668, 0.2564258277, 0.9965913892, 0.632653594, 0.4465872049, 0.2163631767, -0.4340747595, -0.0621255413, -0.4930091798, 0.0949808434, -0.2894375622, -0.6738810539, -0.5801686645, 0.2312652022, 0.5434511304, 0.3837613761, -0.479814738, 0.0997258723, -0.0947608575, 0.6213007569, -0.3091309369, -0.3007358909, -0.7172070742, 0.2247558087, -0.1927386522, 0.0690766796, -0.3705557287, -0.2604751587, 0.286943078, -0.5268397331, 0.388086915, 0.2467527241, 0.3239851296, 0.5497935414, -0.4506123364, -0.1247185543, -0.746394217, 0.9639509916, -0.9373187423, 0.4468638599, 0.1387186944, 0.1918619424, -0.2058492601, -0.3397314847, -0.8593420386, -0.029918626, 0.0938280672, 0.1330726296, -0.1427319497, -0.3083800673, -0.0112227006, 0.196527943, -0.3098076582, 0.2793979645, -0.123515673, -0.0376461186, 0.7481948137, 0.1923705637, 0.2825781107, -0.1994511485, -0.5204795599, -0.2098629624, -0.5175568461, -0.4044805467, -0.1189600602, 0.2143542022, -0.2642504871, 0.4562281072, -0.2703744471, 0.5726771951, 0.1355457157, -0.0081680054, 0.4239702225, -0.244538039, -0.2174782008, -0.1086810678, 0.8624052405, 0.6431572437, 0.2532462478, -0.3515802026, -0.5161423087, -0.1785970032, 0.405946821, -0.6686909199, -0.086763531, 0.1672364771, -0.5450216532, -0.4965564311, -0.509909451, -1.0504704714, -0.3214999139, -0.3864984512, 0.2382792979, -0.2498219758, -0.5653030872, 0.1977602839, -0.0210737176, 0.3009509146, 0.448338151, -0.7935901284, 0.1736807674, 0.4386426508, 0.9929848909, -0.7245367765, -0.3129889369, -0.3010472059, 0.1922611743, -0.3877394497, 0.7007070184, -0.3964685202, -0.5751205087, -0.2151879072, -0.3059663773, -0.0619290769, -0.7349009514, 0.6545531154, -0.6892430782, 0.2449651659, -0.2517399788, -0.3913001716, -0.0396363251, 0.3667434156, -0.5883719921, 0.5645756721, 0.0584411174, -0.5537363887, 0.4802902341, -0.8789006472, -0.5301929712, 0.1988639981, 0.0115299579, -0.3667847514, 0.255790174, 0.1365020424, 0.3964871764, -0.4741084874, 0.253046304, -0.1364361644, -0.1804120094, 0.5968015194, -0.508366406, 0.5275212526, 0.5593718886, -0.2762230933, 0.0527746789, -0.159951508, -0.0173337758, 0.268665731, -0.6197541952, -0.1870928258, 0.1117284819, 0.1686367691, 0.5389633775, -0.0568686128, -0.4754150808, 0.228984192, -0.3707222044, 0.7377066016, 0.4611326456, -0.065746896, 0.8982991576, -0.2447213233, 0.7422847748, 0.0375394672, -0.0460704714, 0.2786783278, -0.3823483884, -0.73276335, -0.0983597338, 0.1755319387, 0.7531000376, -0.6970080137, -0.0285977107, -0.5646352768, -0.1356624216, -1.0383807421, 0.3289814889, 0.3113580346, 0.4807078838, 0.6185587645, -0.2572697997, -0.2768566608, -0.7192137837, -0.2810205519, 0.0930652246, -0.0130546317, -0.1430853754, 0.2916874886, -0.7464103699, 0.7381739616, -0.6154070497, -0.1152779311, -0.5830888152, 0.0265209768, 0.2756774127, 0.3964231312, 0.0463848971, -1.0239804983, -0.4663210511, 0.0715277717, -0.4940291345, -0.0695682019, -0.2009831965, -0.297349751, 0.1921868473, 0.6236621737, -0.9165663719, 0.2872883379, 0.5037872791, -0.0218990613, 0.2605237067, -0.3669380844, 0.0976940021, -1.2906825542, -0.038293533, 0.1347587109, -0.3787712157, -0.6038416028, 0.3557811677, 0.1293061972, -0.0607803874, -0.7975759506, 0.5337941051, -0.3626515269, 0.0884055197, -0.3996677995, 0.3932751715, -0.3212499917, 0.1913453639, 0.0277464967, 0.883066833, 0.0353140868, -0.5708081126, 0.1824656427, 0.3421378732, -0.2424148023, 0.6972183585, -0.6062474251, 0.2078524828, -0.1503788531, 0.4822382927, -0.7280936837, -0.2252884954, 0.2795173526, -0.1321681142, 0.4196535945, -0.1127009541, -0.5248010755, -0.3848980963, -0.1086180806, 0.4307717085, 0.8833654523, -0.1204715371, 0.4887291193, 0.294929117, -0.1909551173, -0.0899328664, -0.88639009, 0.4757570028, -0.6079694629, -0.4399612844, 0.6425138712, -0.1709370464, -0.366376698, -0.240901053, -0.0392123647, 0.0853678584, 0.2281527817, -0.2493939847, 0.3487594724, 0.1548975557, -0.1295122057, -0.0232680012, -0.3827291131, -0.0319353417, -0.5228504539, 0.5230366588, 0.1617405862, -0.1746941209, -0.4299994111, 0.2369716018, 0.7886944413, -0.2592982948, 0.5391367078, 0.6966669559, 0.0844658837, -0.3461271226, -0.4842039943, -0.0844298825, -0.4072399735, 0.5835309029, -0.3741108775, -0.7089207172, 0.3570556045, -0.4574365616, 0.2165867984, 0.3599309921, 0.8755119443, -0.5774351358, 0.9650774598, 0.3854288459, -0.1300768554, 0.3440152705, -0.2875927389, 0.0729934648, -1.1163343191, -0.0980445445, 0.0402508527, -0.8779094815, -0.6019238234, -0.8176534772, 0.2794876993, -0.0183403455, 0.0510678887, 0.3864949048, -0.2130805403, 0.4272813797, 0.2750307322, 0.0310805198, 0.4784187376, -0.1455951184, -0.2728177905, -0.1303609014, -0.7120735049, -0.6751140356, 1.0425059795, 0.2344704717, 0.6467323899, 0.3650674522, 0.7348439097, 0.5649189949, 0.5618854165, -0.6868145466, 0.6188181043, -0.146103099, -0.5410746336, -0.2360022217, -0.4908321202, -0.9065204859, 0.5677476525, -0.1635663062, -0.0933489576, -0.2371739, 0.1983097196, -0.0875708535, 0.3803869486, -0.6991332173, 0.7119094133, -0.292277813, -0.0486204103, -0.63019979, -0.6472051144, 0.2390454412, -0.4066742957, 0.3722937107, -0.0281748064, -0.5076683164, 0.4632062614, -0.0397550389, 0.7282322049, -0.0062780133, -0.445691824, 0.1515273154, 0.3345403671, 0.6820945144, -0.2554478645, -0.2376541048, -0.064960435, -0.4954525828, -0.5263040662, -0.5353246331, 0.4375171959, -0.7089902759, -0.7349491119, 0.0352762006, -0.5927152038, -0.011805065, 0.28392452, 0.4499406517, -0.0650222823, -0.3979497254, -0.1468506902, 0.7928187251, 0.0696397424, 0.5314407945, 0.7447084785, -0.3153570592, -0.4394272864, 0.8231569529, -0.0322573595, 0.6530029774, 0.5594309568, 0.2194413543, -0.3032531738, -0.8094030619, -0.9377189875, 0.3091304004, -0.3056479394, -0.0134423329, -0.527207315, 0.1477007419, -0.0235001668, -0.2501473725, -0.3461860716, -0.2268066108, -0.27875489, -0.0208655111, 0.0054128249, 0.6265134811, 0.2401021719, 0.3221995533, -0.589333117, 0.2741833031, 0.2822126746, 0.1035467908, 0.2162141055, -0.7976390719, -0.4599080682, 0.3107526302, -0.5395088196, -0.8697264791, 0.5220988393, -0.1125488654, 0.631177187, 0.1923278272, -0.0716645047, 0.3722857833, -0.7336414456, 0.4205359519, 0.2021519542, -0.7850298882, 0.447535336, -0.5076901317, 0.548564136, 0.4962094128, 0.2016099095, -0.7933399677, -0.4004009366, -0.3325253427, -0.5865752101, 0.4753510356, 0.2450626343, 0.2289457321, -0.007702786, 0.3597888052, -0.0116375247, 0.1651009768, -0.5827097893, 0.04961114, 0.0467744134, -0.222096011, -0.2293766737, 0.0480369143, 0.1228305846, -0.1817486435, 0.4534993768, 0.1365560591, -0.0178756379, 0.0259964373, -0.413082242, -0.2438387573, 0.6436704397, 0.5854696035, 0.4484874308, -0.1835270226, 0.0874550417, 0.6740075946, -0.3259477913, 0.5969019532, -0.269149214, -0.6039009094, -0.2145274878, 0.2195365578, 0.530505836, 0.3631429076, -0.6583939791, 0.2461678386, 0.2700361609, -0.2664625943, 0.0110796271, 0.2687481046, 0.5026350617, 0.2768322527, 0.2277621776, 0.3762386143, -0.1556941718, -0.3072882891, -0.0254227519, 0.1998431832, -0.4582404196, -0.5607526302, 0.7714336514, 0.6839940548, -0.6676012278, 0.6887863278, -0.5626342297, -0.6975800395, 0.160308823, 0.6875921488, 1.0873439312, -0.2320894599, 0.2727635205, -0.0067124432, 0.3046317995, -0.42591694, -0.0027635584, -0.0398068801, -0.7353976369, -0.8017182946, -0.3103262186, -0.2986964285, -0.1455292851, -0.6499044895, 0.2536314726, -0.0713451579, -0.4451893568, -0.2937322855, -0.1318489164, -0.7784993052, 0.0361804664, 0.2079835832, 1.0532085896, -0.7964585423, 0.9263037443, 0.9105337858, -0.3425296545, -0.0969464406, 0.4084336162, 0.1467771828, -0.5949653983, 0.5835160017, -0.2292085588, -0.2590712607, 0.2772998214, -0.394064486, -0.8247173429, 1.2212324142, 0.2290488631, -0.735547781, -0.0851157457, -0.0806114227, 0.5974351764, -0.3026883602, -0.2695869207, 0.720543921, 0.3770079017, -0.0430990718, -0.8794620037, 0.0162630323, 0.0144680543, 0.2474578917, 0.5232946277, -0.8058868647, 0.5943371058, -0.4606633484, -0.4324911535, -0.1213568002, 0.6210363507, -0.0250851084, 0.1422227621, 0.6318147182, 0.9159625173, 0.6763209701, 0.561237216, 1.0896131992, 0.2477775514, 0.1938109547, 0.9990814924, -0.3694756627, 1.2501008511, 0.5522301197, -0.4490176141, 0.5691506267, 0.262689352, 0.1967114657, 0.6946707964, 0.2531186044, -0.2700537443, -0.3509833217, 0.0988947973, -0.0914604813, 0.2708050311, 0.206352964, -0.3236013651, -0.0904138982, -0.0492617153, 0.3572076857, 0.2547096312, -0.1211169958, 0.8591902256, 0.1469573379, -0.7837585211, 0.6953428984, 0.3522707224, 0.9917949438, -0.1493107677, 0.2802450359, -0.3305550516, 0.1398734897, 0.1572998464, -0.9491904974, 0.2925770581, 0.2458426207, -0.5523017645, -0.6353145242, 0.3447167873, -0.5333673358, -0.4808107913, 0.1682196259, 0.881652534, 0.1075644866, 0.0246210136, -0.7734368443, -0.0065540103, 0.4728388488, -0.0421778448, 0.4672567546, 0.5078727007, -0.0516179912, 1.08824265, 0.6106353402, 0.2876046896, -0.1643069685, 0.0733302906, 0.7309737206, -0.8972988725, -0.4362415373, -1.109803915, 0.2942926586, 0.0016816458, -0.3868422508, 0.6956528425, 0.3419428766, 0.7874754667, -0.0146148913, 0.6628667116, 0.099247925, 0.4620656073, -0.3784393072, 0.7875964642, -0.3676294982, 0.2817828655, -0.298884958, -1.0809447765, 0.0079714786, 0.4300590158, -0.3758216798, -0.0406240374, 0.4181192517, 0.6858466268, -0.1731267869, -0.0832766593, 0.1466506124, 0.1709044874, 0.4596063793, 0.6422139406, 0.9147058725, -0.1086455509, 0.7464569807, 0.2135682851, -0.160073638, -0.296132803, -1.0415835381, -0.7691961527, -0.4143114686, -0.3721343875, -0.0398997627, -0.281534791, 1.1202358007, 0.7136478424, -0.4888213575, -0.2444884181, -0.13965635, 0.1188590825, -0.1625896394, -0.1450763494, 0.0220269337, -0.3164901435, -0.6619442701, 0.407975316, 0.0651725307, 0.3122255504, -0.4927510321, -0.4826549888, -0.1134464443, 0.0053209029, 0.5864903927, -0.0934796035, -0.9585607648, 0.255535692, -0.0162016954, -0.3082621992, -0.0855340213, 0.7767071724, -0.8500999212, 0.5009794235, 0.364182651, 0.6918442845, 0.524261117, 0.1183097288, 0.8069248199, -0.342189461, 0.032093551, 0.2467834353, 0.0331495926, 0.5635640025, 0.0465251096, 0.3918644786, 0.1788581759, -0.4498834312, -0.4760498703, 0.316310823, -0.5664662719, -0.2581502199, 1.1968977451, 0.1545127928, -0.1260969639, -0.1144347042, -0.1964180619, 0.1820090413, -0.5224484205, 0.9721797705, 0.6477578282, 0.1622050107, -0.1435721964, -0.6785168052, 0.3753875494, 0.4907788336, -0.5894717574, 0.2189699113, 0.2443735152, 0.3680936396, 0.0535363927, 0.6545089483, 0.1235121638, -0.0214338079, -0.3964032829, -0.1084916741, 0.1294840723, 0.1028596759, -0.2251191437, -0.3217235506, 0.1091508269, -0.131099239 ]
http://arxiv.org/abs/2402.10693v3
http://arxiv.org/pdf/2402.10693v3
Exploring Precision and Recall to assess the quality and diversity of LLMs
2024-02-16T13:53:26
2024-06-04T11:33:27
Florian Le Bronnec, Alexandre Verine, Benjamin Negrevergne, Yann Chevaleyre, Alexandre Allauzen
cs.CL
cs.CL, cs.LG
We introduce a novel evaluation framework for Large Language Models (LLMs) such as \textsc{Llama-2} and \textsc{Mistral}, focusing on importing Precision and Recall metrics from image generation to text generation. This approach allows for a nuanced assessment of the quality and diversity of generated text without the need for aligned corpora. By conducting a comprehensive evaluation of state-of-the-art language models, the study reveals new insights into their performance on open-ended generation tasks, which are not adequately captured by traditional benchmarks. The findings highlight a trade-off between the quality and diversity of generated samples, particularly when models are fine-tuned on instruction dataset or with human feedback. This work extends the toolkit for distribution-based NLP evaluation, offering insights into the practical capabilities and challenges that current LLMs face in generating diverse and high-quality text. We release our code and data.
[ -0.3428121507, -0.4264913499, 0.2599354684, 0.1000606343, -0.1291376948, 0.0022295944, -0.4245055318, -0.3700549304, -0.1512542367, 0.5450499654, -0.2992195487, -0.812928915, -0.7340140939, 0.2832815647, -0.6907128692, 0.7407426834, -0.0619493537, -0.2349302024, -0.1439824998, -0.2475069761, -0.4325340688, -0.4836444259, -0.2878969312, -0.2562460899, 0.1926572174, 0.3378904462, 0.7491309047, 0.7009959817, 0.6534774899, 0.2249318808, -0.1977321357, 0.3597101867, -0.8369517922, 0.1160577238, -0.2256529033, -0.3290299475, -0.3251972198, -0.2152082622, 1.0162757635, 0.6321678162, -0.1936770678, 0.3103075922, 0.142503038, 0.6893126369, -0.7950203419, -0.2162578106, -0.9494745135, 0.0325429477, -0.0945195556, -0.1266023368, -0.4894394875, -0.5275686979, 0.1001819149, -0.3861550093, 0.3955202103, -0.0711915791, 0.9347119927, 0.0827725008, -0.3118180633, -0.5198131204, -0.8324242234, 0.9427742362, -0.6374972463, 0.1998208016, 0.1000220999, 0.3788557947, -0.1844666302, -0.8167308569, -0.538865149, -0.0031854794, 0.2902101874, 0.1087296456, -0.2639101446, -0.2334959954, 0.0638945401, 0.7607908249, -0.3132003248, 0.4517855346, -0.2766667902, 0.0306779873, 0.8034351468, 0.3464397788, 0.1850297004, -0.0501562431, -0.1608108282, -0.3295208216, -0.77189821, -0.1468531787, 0.3724617064, 0.2073773444, 0.0173474159, 0.7513420582, -0.116995126, 0.5323623419, -0.2010081261, -0.2402175367, 0.3532238007, -0.4239371419, -0.2285591364, -0.4086076915, 1.0190559626, 0.5190579891, 0.3406977952, -0.0108544258, -0.4525063336, -0.2461405694, 0.3166823089, -0.6872834563, 0.0471419543, -0.0642181709, -0.6146508455, -0.3020932674, 0.150728479, -0.8756623268, -0.1861274391, -0.1027414277, 0.2282555252, -0.4009996355, -0.2217801362, 0.3261005282, -0.1905971617, 0.098885648, 0.2059984505, -1.1731494665, 0.3504004776, 0.6829532385, 0.7141615748, -0.6307759285, -0.3123972118, -0.1737905741, 0.0368656293, -0.5943962336, 0.7150841951, -0.2559713721, -0.6137484908, 0.184022069, -0.3800116777, 0.2783269584, -1.0198992491, 0.5928608775, -0.4402393997, -0.1130116954, -0.4017827213, -0.6055672765, -0.1989412904, 0.2833680212, -0.836758554, 1.3959327936, 0.2904952168, -0.5972085595, 0.6189922094, -0.1542138755, -0.2649175525, 0.2676581144, -0.2926864028, -0.4262178242, 0.288064003, 0.2164299637, 0.4838113785, -0.5338024497, 0.470969677, -0.2865011096, -0.3545052707, 0.2720369697, -0.6480436921, 0.4554895163, 0.2074366808, -0.310733825, 0.0313074924, -0.7414423823, 0.001356282, 0.0827144012, -0.4863739014, -0.1686646491, -0.092784375, 0.0573047511, 0.042969957, 0.3010805249, -0.1905932724, -0.0546233952, -0.2401503474, 0.1961328834, 0.6198146939, -0.0469102077, 0.4986623824, -0.4523709714, 0.4553298652, -0.2408387214, 0.0559149832, -0.4225744605, -0.4450883269, -0.6573182344, -0.4118202925, 0.1680874974, 0.5244907141, -0.2910791636, 0.7506274581, -0.4561099112, -0.7345182896, -0.4323845208, 0.3749565184, 0.2346089333, 0.3006851673, 0.0210981742, -0.5806388855, -0.3527056575, -0.9047170281, 0.0169961136, -0.0462346412, -0.175289467, 0.3518823385, 0.4347491562, -0.3112772703, 1.0124456882, -0.2948534787, 0.0991303101, -0.3042062223, 0.168237105, 0.1513849646, 0.2591807842, 0.6270706058, -0.5900663733, -0.1430218518, -0.0433270261, -0.9159414768, -0.1548697501, -0.1131186336, -0.2399309278, 0.2916984856, 0.315734446, -0.5562283993, 0.3927738667, 0.6904565096, 0.0577894971, 0.7806817293, -0.1377147734, 0.3391124308, -1.1408393383, 0.3220894635, -0.2394952774, -0.0074795987, -0.3862975538, 0.1519592553, 0.1860982031, 0.0495053157, -0.4569259882, 0.5593124032, -0.4959074259, -0.4935187697, -0.037319012, 0.1582836062, 0.1168836132, -0.0454474986, 0.0389551558, 0.8486948609, 0.2217057794, -0.6018235683, 0.1812161803, 0.1709242314, -0.7229394317, 0.4937280715, -0.6364995837, -0.0851976052, 0.0259819776, -0.0402450524, -1.1092112064, -0.1932810843, -0.1391196698, -0.35299927, 0.3154805899, 0.2179954052, -0.8347685933, -0.4184732139, -0.2183528095, 0.3678092659, 0.8377794623, -0.5015394688, 0.1604973078, 0.2596323788, -0.2825557292, -0.8538565636, -0.5657482147, 0.0789710507, -0.1784855574, -0.4391770661, 0.1647540778, 0.0080412449, -0.3405124843, -0.1871733963, 0.1167154163, 0.1239125431, 0.2468897104, 0.0776950419, 0.1765690148, -0.2678983808, 0.3140466809, 0.2512428164, 0.2115288377, -0.088181749, -0.2824985385, 0.5049137473, -0.132765457, -0.5620369911, -0.1677027345, 0.2595599294, 0.3425919414, -0.1672530174, 0.4683903456, 0.4499862194, -0.4050502181, -0.2655403018, -0.5957716703, -0.0343851745, -0.4609808028, 0.6257933974, -0.1888047755, -1.0162489414, 0.5352278948, -0.0978881195, 0.3455639482, 0.6392288804, 0.8930196762, 0.0165991746, 0.5517904162, 0.559412539, 0.1491810977, 0.2874887586, -0.1632217616, -0.0024662192, -0.5130313635, -0.1812850237, -0.5222713351, -0.2583604455, -0.3414026201, -0.5843674541, 0.1702625006, 0.486707598, -0.2771320343, 0.1018888652, -0.5180798173, 0.5991077423, 0.5278381705, -0.2121247202, 0.5164509416, 0.3678928614, -0.0439398661, -0.2169191539, -0.5358759165, -1.0367583036, 1.4161719084, 0.386572659, 0.6589451432, 0.0650414601, 0.9057639241, 0.2124702781, 0.5247850418, -0.7436511517, 0.479528904, -0.5056108832, -0.4741581678, -0.3779013753, -0.5338324308, -1.0215172768, 0.1027540863, -0.3884761631, -0.6310713887, -0.1456439793, -0.0390315764, -0.2450969517, 0.4935409129, -0.4184468091, 0.618216753, -0.1708810776, -0.0827732831, -0.1082650721, -0.317176193, 0.7123333216, -0.2717967629, 0.0533590727, -0.2887135446, -0.1473312378, 0.5177764297, 0.0879673809, 0.7492451668, 0.3201525807, -0.3984409869, 0.5504374504, 0.355895102, 0.0504700281, -0.0669332147, -0.4546144009, 0.4425309896, -0.2318544239, -0.1613527685, -0.5759655237, 0.6485692859, -0.8192478418, -0.1779175103, 0.0736782923, -0.7460362315, 0.162981078, 0.2842782438, 0.451441586, 0.3303238451, -0.5311462879, 0.0793675482, 0.7062214017, -0.5675491691, 0.4192867577, 0.1485979259, -0.2662176192, -0.7201351523, 0.7598633766, 0.1235584319, 0.6230528355, 0.5161749125, -0.0088869659, -0.3425573707, -0.7389713526, -0.6389978528, 0.2295839041, -0.9845743179, -0.2832645476, -0.6193417907, -0.2111635953, -0.3910094798, -0.2279158533, -0.4887545705, -0.5291836262, -0.5868359804, -0.0162360892, 0.2555602491, 1.1388124228, -0.0400336571, 0.4269968569, -0.9399359226, 0.204196021, 0.2027527839, 0.3758789599, 0.0740794986, -0.5338068604, -0.0961085781, -0.0854251534, -0.6005284786, -0.7401813865, 0.5862931013, 0.2689878941, 0.6888970137, 0.1887856424, -0.1314121038, 0.2510330379, -0.4185459614, 0.993547976, 0.2777138054, -1.0415072441, 0.386372745, -0.2311915308, 0.3894684613, 0.5826999545, 0.2615578473, -0.4590669274, -0.4273800254, -0.5937095881, -0.9447284937, 0.3331378698, 0.1953452229, 0.240102008, -0.2874945104, 0.4912485182, 0.4364487529, 0.3171950579, -0.4907107055, -0.1437951922, -0.0541076064, -0.5597400665, -0.2770982385, -0.4049459994, -0.015569197, 0.1610272974, 0.261375159, -0.055150006, 0.0783472285, 0.0257799551, -0.1257061958, 0.0482111573, 0.3130463362, 0.6671080589, 0.6715776324, -0.1636407077, 0.1011854559, 0.3101764917, -0.5331255198, 0.145401448, -0.266071558, -0.3594007194, 0.1570116132, 0.4397877455, 0.5847610235, 0.1288640499, -0.91305691, 0.510776639, -0.0124325128, -0.2705847919, -0.0604821965, 0.0189494081, 0.097913228, -0.0318208858, 0.4017379284, -0.0318913013, 0.2663209438, -0.1569823474, 0.4420832992, 0.456654042, -0.1401121467, -0.1551290751, 0.3538870811, 0.1337161511, -0.3503064215, 0.8060843349, -0.2627338171, -0.2055675089, 0.7481184006, 0.5823380351, 0.8339439631, -0.0216237456, 0.1818548143, 0.6494987011, 0.4507797658, -0.4278900325, 0.2906444073, 0.1504121423, -0.8179038167, -0.3366350532, -0.6362335682, -0.4490589797, -0.007186241, -0.7807015181, 0.3822470903, -0.4837710261, -0.3365552127, -0.3995125592, -0.3529058695, -0.6177105904, 0.0969152972, 0.2766650319, 0.9946240187, -0.8547362089, 0.5243652463, 0.288833499, -0.0922638699, -0.6886479259, -0.1591788381, -0.2010189891, -0.8134320378, 0.6520358324, 0.2793703973, -0.0799310282, -0.1603303552, -0.4745310247, -0.8386787772, 1.211124897, 0.5279440284, -0.6723672748, 0.2299780846, 0.2644527853, 0.6834704876, -0.4279172719, 0.3973628581, 0.7199746966, 0.0020633326, 0.1425261348, -1.0377753973, -0.1021211222, -0.2057459801, 0.393268168, 0.1428600848, -0.345661521, 0.7886919975, -0.3276859522, -0.4482069612, 0.3359308541, 0.737220943, 0.6555631161, 0.2021393776, 0.1725943685, 0.6754641533, 0.9734344482, 0.0451635011, 1.0997854471, 0.0255786292, 0.3418911994, 1.1683170795, -0.3803042769, 1.1330938339, 0.393515259, -0.1712673157, 0.297228992, 0.5391692519, -0.1158171669, 0.2672938406, 0.4606131613, -0.2055341601, -0.0710158199, -0.1116385907, -0.2608570755, 0.2757842243, 0.4583927095, -0.5898154974, -0.2068903148, -0.3162501156, -0.2547924519, 0.3703267574, -0.1060449556, 0.7980009317, 0.0315352492, -0.6916009784, 0.8594328165, -0.0208978858, 0.906157136, -0.3094393611, 0.0572472736, -0.2680206001, 0.1325812787, 0.0121214101, -1.18658638, 0.3826283514, -0.00755614, -0.353785038, -0.1080097631, 0.4491866529, -0.3592930436, -0.5474396348, 0.2346964628, 0.3360034227, 0.3349548876, 0.2432504296, -0.5150375962, 0.2459372729, -0.064733766, -0.1393382251, 0.1375563294, 0.6049119234, -0.0808482915, 0.6325427294, 0.3741315305, 0.074321717, 0.3322851956, 0.2382460684, 0.3482020199, -0.4860057235, -0.0469333082, -0.9215669036, 0.365228802, -0.0184736568, -0.6133226156, 0.5513935089, 0.6073614955, 0.8978900909, -0.1782620251, 0.921708405, 0.1577645838, 0.3769825995, -0.4413006902, 0.6585128903, -0.4668594301, 0.2379012853, -0.4243146479, -1.005638957, -0.4465847909, 0.3758575916, -0.1199242473, 0.0457715653, 0.5148957968, 0.8885554075, -0.048905354, 0.0003906955, 0.468927145, -0.1710129529, 0.3792854846, 0.6824973226, 1.0642006397, -0.6471325159, 0.6893169284, -0.0068132905, -0.3094368875, -0.1545080692, -1.0207337141, -0.7799893618, -0.5150426626, -0.130526498, -0.2154383659, -0.1248459369, 0.7289527655, 0.6095273495, -0.5540861487, -0.4959769547, -0.0655707121, -0.0091511328, -0.150963366, -0.1761403978, 0.2426566482, -0.3939953446, -0.7589665651, 0.0365741849, 0.3460083604, 0.3894189, -0.3242332637, -0.2321549803, 0.2211501598, -0.0540875793, 0.5905919671, 0.0238492433, -0.7946258187, 0.0078444686, 0.1564314514, -0.431587249, 0.0575275347, 0.6433820724, -0.3722546697, 0.4065914452, 0.6073017716, 0.8467338085, 0.383539319, -0.1138605028, 0.8119858503, -0.6850246787, -0.003672071, 0.1828465611, 0.1554592401, 0.6427949667, -0.2203429639, 0.3628044724, 0.0674622282, -0.5655812025, -0.8563175201, 0.3647598028, -0.8223085403, -0.0900608748, 1.3268771172, -0.270093441, 0.0006919575, 0.190599218, -0.216211915, 0.23677966, -0.2552296817, 0.7795336246, 0.6870699525, 0.3934949934, -0.2258371115, -0.4560056925, 0.2630293071, 0.4388511479, -0.9073274732, 0.0901162028, 0.5714735389, 0.2772710323, 0.0964147523, 0.5577187538, -0.3690815568, 0.2118079662, 0.0177472308, 0.5375278592, 0.2996191084, -0.2592788041, -0.4913027883, 0.1912921816, 0.3200320899, 0.1368583441 ]
http://arxiv.org/abs/2402.10691v2
http://arxiv.org/pdf/2402.10691v2
Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughts
2024-02-16T13:48:06
2024-06-16T12:29:50
Xianzhen Luo, Qingfu Zhu, Zhiming Zhang, Libo Qin, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che
cs.CL
cs.CL
Program of Thoughts (PoT) is an approach characterized by its executable intermediate steps, which ensure the accuracy of the logical calculations in the reasoning process. Currently, PoT primarily uses Python. However, relying solely on a single language may result in suboptimal solutions and overlook the potential benefits of other programming languages. In this paper, we conduct comprehensive experiments on the programming languages used in PoT and find that no single language consistently delivers optimal performance across all tasks and models. The effectiveness of each language varies depending on the specific scenarios. Inspired by this, we propose a task and model agnostic approach called MultiPoT, which harnesses strength and diversity from various languages. Experimental results reveal that it significantly outperforms Python Self-Consistency. Furthermore, it achieves comparable or superior performance compared to the best monolingual PoT in almost all tasks across all models. In particular, MultiPoT achieves more than 4.6% improvement on average on ChatGPT (gpt-3.5-turbo-0701).
[ -0.114308238, -0.718996048, 0.5126947761, 0.9342674613, 0.0485845692, 0.1636800468, -0.6470443606, -0.2005240768, 0.0118461931, 0.0341893472, -0.3599827886, -0.1136703119, -0.6542594433, 0.3796010017, -0.0177140664, 0.7098383307, 0.0106547633, 0.0913928896, -0.0010733361, -0.2136902511, -0.5474469662, -0.3589062393, -0.4869551063, -0.7471138239, 0.4506469071, 0.4162572324, 0.5193842053, 0.1836525798, 0.6306390166, 0.3742400408, 0.5862731338, 0.1939964443, -0.1692653, 0.0903020725, -0.1790664196, -0.6577017307, -0.0562721118, 0.0099401651, 0.2134149522, 0.3013344407, -0.2840256691, 0.0981488228, 0.0272321105, 0.5453768373, -0.9127999544, 0.3696680367, -0.7379584312, 0.1792090833, -0.1166499928, -0.4311920404, -0.6762294769, -0.1247256994, -0.1053955182, -0.6767249107, -0.2143513858, -0.1851550341, 0.4291974008, 0.4636200368, -0.1219441295, -0.2453118265, -0.8679189682, 1.0817822218, -0.6480382085, 0.3507124782, 0.2054438293, 0.2565101385, -0.3315714598, -0.3425959647, -0.7708116174, -0.1806530952, 0.1139695719, 0.2646365762, -0.2382235527, 0.0571873821, 0.2611682117, 0.3280304074, -0.6394389272, -0.2508887649, -0.2636615634, -0.0243255831, 0.4503868818, 0.0426078103, 0.4020269215, -0.2294206023, -0.1878526807, -0.0800097063, -0.4791408181, 0.2662175596, 0.396484822, 0.4898287654, -0.0298626013, 0.7017301321, -0.1921619624, 0.8742192984, -0.2571498156, -0.4521468878, 0.0948441178, -0.3231097758, -0.367774725, -0.152334258, 1.1028804779, 0.0674521923, 0.4067697823, -0.2911596, 0.2415338159, 0.6726698279, 0.2577821612, -0.4964734614, -0.7242245674, 0.6575608253, -0.1644750237, -0.0349394493, -0.2832864821, -0.2302206457, -0.4207691252, -0.4430731237, 0.3010526597, -0.8803815246, -0.58799088, 0.1563511193, -0.1245689243, -0.0312109962, 0.2639070153, -0.8761798739, 0.235003531, 0.7012429237, 0.9964879751, -0.4155854285, -0.8617112041, -0.3347680569, 0.0632566586, -0.493486315, 0.9971535802, -0.6284641027, -0.060214974, -0.5341348648, -0.4280558228, -0.2183329612, -0.2697968483, 0.1882468015, 0.1517393291, 0.2544643581, -0.4820591509, -0.4353655577, -0.027666783, 0.4179912508, -0.3926696777, 1.0368829966, 0.0047921324, -0.9844474196, 0.8168818355, -1.0630515814, -0.5106334686, 0.0125384023, -0.3720328212, -0.2193277031, -0.0731684119, 0.0791826397, 0.2132150233, -0.0081733707, 0.2671744227, -0.3104026914, -0.6044902205, 0.0762174129, -0.6175157428, 1.1145670414, 0.4710123837, -0.430262804, 0.4525083899, -0.4784627855, 0.3319468796, 0.1151875332, -0.371281445, -0.3410195708, 0.0438578203, 0.1061464623, 0.2522517443, -0.0761689097, -0.7320301533, 0.5998219252, -0.3253616691, 0.7359890342, 0.6066895127, -0.4454155266, 0.2931088805, -0.0614184737, 0.477787137, 0.0401713215, 0.0892852172, -0.2106727809, -0.6095960736, -0.706120193, -0.4148153365, 0.3327862918, 0.8569937944, -0.7254828811, 0.0690916553, 0.0036263317, -0.5143347383, -0.763246417, 0.2332874537, 0.1437368095, 0.0020705303, 0.1956572533, -0.0735003054, -0.5148982406, -0.9615876079, -0.5416096449, -0.3159918487, 0.218784079, 0.0718066692, 0.3478981256, -0.0282202624, 0.8076614738, -0.4536483288, -0.0448702201, -0.6378324628, 0.2692864835, 0.4227718413, 0.4993936718, 0.4499292076, -0.6737020016, -1.0433766842, 0.3246442378, -0.8384993672, 0.1495343745, -0.3017658889, -0.1802340299, 0.2561785281, -0.2127021104, -0.7550492287, 0.3056079745, 0.5380169153, -0.0126703065, 0.7489082217, -0.5638278723, 0.2635346651, -0.8663375974, 0.1488086283, -0.0567448102, -0.219448328, -0.6696150303, 0.1738627106, 0.3739115298, 0.0192357861, -0.4329114556, 0.2837574184, -0.4762606621, 0.1798756272, -0.6160145402, -0.3234792948, -0.1068005189, 0.6085466743, 0.1450660527, 1.1746321917, 1.1215119362, -0.5363197923, 0.6474530697, -0.1202260032, -0.237506941, 0.3963357806, -0.4852669537, 0.2650819421, 0.0384565964, -0.1574689448, -0.8879127502, -0.0391101427, 0.2987565994, -0.3721422553, 0.2278144956, 0.2639943361, -0.5406887531, -0.6077783704, -0.0677493811, 0.148187533, 0.0267661829, -0.3073029518, 0.4894786775, 0.3924410939, -0.0436096601, -1.2347593307, -0.6361287236, 0.2976716161, -0.3234888017, -0.3799622953, -0.0969943255, -0.1077479497, -0.4159323573, -0.1810791641, -0.0123000937, -0.0169784632, -0.1558392495, 0.1132017151, -0.0919735134, 0.1511800736, 0.0306666102, -0.2372335196, -0.1856725663, -0.1975501329, -0.4854169488, 0.7539082766, -0.5186124444, -0.3798975348, -0.2816915512, 0.6079024076, 0.6971408129, -0.3868924379, 0.5698342323, 0.4054937661, -0.1518157274, -0.3822288215, -0.5023388863, 0.1577894986, -0.4682723284, 0.3571703434, -0.7954756618, -0.2198204547, 0.3881006539, 0.1697691828, 0.2084507644, -0.1605614722, 0.8073722124, -0.0330369398, 0.7507960796, 0.9336736202, -0.2456281632, 0.3590103388, -0.210229218, 0.4770492911, -0.5572370291, 0.0443771295, -0.249167338, -0.1226088107, -0.4950499833, -0.4371590316, 0.4481440187, -0.3291015327, -0.0443838425, 0.8303639889, -0.8021313548, 0.6703817248, 0.9622548819, 0.0290031303, 0.3842468262, -0.1192706376, -0.197908476, -0.061953336, -1.0620775223, -0.4323504567, 1.3920373917, -0.1286953241, 0.7262000442, -0.1031295881, 0.5997756124, 0.2145867944, 0.3398050666, -0.7230840921, 0.3083467484, 0.0731955618, -0.6698241234, -0.7123039365, -0.3454501033, -1.0542293787, 0.8003470302, -0.0318290778, -0.7689922452, -0.3245999515, 0.1314624399, -0.3657650948, 0.41559273, -0.9766106606, 1.1759388447, -0.3778930306, -0.5347570181, -0.3341956437, -0.4334528148, 0.3598391414, -0.0001729955, 0.0686085373, -0.1064910218, 0.3892649412, 0.1249231324, -0.1342126429, 0.3013544083, 0.0249005947, -0.0113975611, 0.4008683264, 0.0071864384, 0.2484732717, 0.0133406417, -0.1928721815, 0.2318973094, 0.1349271834, -0.6043175459, -0.5736721754, 0.7642660141, -0.8101146221, -0.7077639699, -0.6353635788, -1.040864706, -0.1588886976, 0.4768408239, 0.3788202703, 0.0161729213, -0.1310885996, -0.1339318752, 0.2433729321, -0.3847968578, 0.5152124166, 0.2883183062, -0.2274719626, -0.0861600414, 0.8654552102, 0.1426486373, 0.2986852229, 0.3688565195, 0.2967016697, -0.2743242681, -0.2775062025, -0.7802770138, 0.0360735059, -0.6398740411, 0.0245358925, -0.8866435885, 0.2541569471, -0.617980361, 0.020165287, -0.7401117682, -0.28122136, 0.4623795152, 0.1291852146, 0.0696522072, 0.3802099824, -0.057498686, -0.0803738981, -0.2128308117, 0.5016083717, 0.2017035931, 0.3471493125, -0.2051644176, 0.2211132199, 0.0009772184, 0.1594610065, -0.6278485656, -0.9894752502, 0.2661383152, 0.1939649731, 0.6515048742, 0.2875274122, 0.165845722, 0.8467677236, -0.5718340278, 0.5760390759, 0.4037663341, -0.9167515039, 0.7183756232, -0.3356394172, 0.6156221628, 0.5407775044, 0.1329659522, -0.6773095727, -0.8190306425, -0.3596636951, -0.5204725862, 0.6067953706, 0.5812328458, -0.0928893611, 0.1209485382, -0.1806699932, 0.5460273027, 0.5171715617, -1.1273487806, -0.3801296651, -0.5070846081, 0.0843201056, -0.1190057918, 0.4859316051, -0.026781965, -0.3912420571, 0.519290626, -0.1716594994, 0.3837161958, 0.0005313503, 0.0044034552, -0.2480774671, 0.4868291318, 0.3351278305, 1.0730987787, 0.0961807594, 0.2765917778, 0.0844894946, -0.3962115347, 0.2346001118, -0.3543969989, -0.2729820907, -0.0378994457, 0.132526055, 0.6012442112, -0.2238104641, -0.6656060815, 0.3473982811, -0.0431368537, 0.1491497606, -0.4057317674, 0.4103916287, 0.2474753708, 0.1364209801, 0.0937796608, 0.4226020575, 0.302768141, -0.8440945148, -0.0368729979, 0.6605805755, 0.0797740817, -0.1244633123, 0.6914438009, -0.0284359418, -0.3344989121, 0.7501648664, -0.348372668, -0.6451300979, 0.5567778349, 0.7265503407, 0.6920385957, -0.2229598016, 0.2880032063, 0.315472275, 0.5225169063, -0.0913248137, 0.6766133904, -0.1757703125, -0.7048922777, -0.8221852779, -0.3513391912, -0.5212195516, 0.1192575321, -0.0518142208, 0.3183620274, -0.1338827014, -0.2240860313, -0.1105357185, 0.0927977338, -0.5827152729, 0.0422864519, 0.1110262722, 0.6591069102, -0.8492431045, 1.3536574841, 0.8547030091, -0.1968644857, -0.9607586861, -0.3398055732, -0.2304314524, -0.4355553985, 0.3493987322, 0.2585963309, -0.1587094516, -0.2588433921, -0.2753501236, -0.6404768229, 0.6134187579, 0.6421756148, -0.1605694145, 0.2647328377, 0.4255482256, 0.3984407485, -0.0970213264, 0.462880373, 0.4776616395, 0.7416425347, -0.1054280549, -1.2949367762, -0.3345972002, -0.6162840724, -0.2470403016, 0.2642145753, -0.8599916697, 1.0961641073, -0.5143075585, -0.2232051492, -0.1922908127, 0.5971503258, 0.4820784628, 0.2854734659, 0.346558094, 0.4310704768, 0.8740389943, -0.2580802441, 1.1252821684, -0.5860909224, 0.337600559, 1.0232666731, -0.1709553301, 0.66296345, 0.6860953569, -0.6597642899, 0.2150286287, 0.5635255575, -0.0249379836, 0.5163491964, 0.2450394034, -0.0159878153, -0.4193937182, 0.385910362, -0.3806706369, 0.6498431563, 0.1257243752, 0.1512506157, 0.010884515, 0.2767808437, -0.1014704928, 0.0667148456, 0.020981852, 0.2895353734, 0.0167030226, -1.1991189718, 0.573947072, -0.0683874413, 0.8447075486, -0.6654785872, -0.0923286006, -0.0270306561, 0.5601533055, -0.1102405116, -0.6699758172, 0.3011486828, -0.0670824423, -0.0662258416, -0.2374574691, 0.6997749805, -0.4513014257, -0.7765752077, 0.1142200157, 0.5565565825, 0.3420440257, -0.4184238017, -0.8336023092, -0.0438222326, -0.0981178433, -0.1617528647, 0.1221320108, 0.590431273, 0.1874490082, 1.2449874878, 0.5837752223, 0.6341159344, 0.1308443695, -0.2221966237, 0.5367048979, -0.3087716997, -0.8575397134, -1.0204987526, 0.3733708262, -0.0580263957, -0.3633760214, 1.2019287348, 0.7217518687, 0.9384070039, -0.2362355143, 1.1954647303, -0.307705611, 0.1873994619, -0.0979489386, 0.6439582705, -0.5590624213, 0.0323822685, -0.7146114111, -1.1270809174, -0.2425536066, 1.0987279415, -0.3104682863, -0.2499129921, 0.9394664168, 0.4069666862, -0.1802756041, 0.1085766777, 0.4369841516, -0.2437064052, 0.341850698, 0.9198866487, 0.7986230254, -0.2161791027, 0.4261853099, -0.5243909359, -0.3751142025, 0.2435747236, -0.800470531, -0.8546450734, -0.4067625999, -0.255400449, -0.0296479203, -0.0006323899, 1.017570138, 0.7948644757, -0.9320414066, -0.7033672929, -0.2373356521, 0.015615657, -0.8739865422, -0.138685748, 0.2052069604, -0.6860302687, -1.0765908957, 0.3035504818, 0.6269693375, -0.5416875482, -0.5388767719, -0.1732682288, -0.2402694374, -0.0891281143, 0.6143704653, 0.2926203012, -0.9121569991, -0.088757582, 0.3669047058, -0.0863252431, 0.4207769036, 1.0634924173, -0.5447392464, 0.8126958013, 0.4296779037, 0.2669667304, 0.2390691489, -0.0694145486, 0.7862912416, -0.1944226027, 0.4761041403, 0.1970909834, 0.5893950462, 0.3270245492, -0.4294750988, 0.5709405541, 0.0626991764, -0.5631365776, -0.7492364049, 0.2954583764, -0.8493695855, -0.7087777853, 1.1714388132, -0.3417564929, -0.0800627694, -0.3845690191, -0.4156172574, 0.3418570161, -0.2854449451, 1.0989234447, 1.1063239574, -0.6436219811, -0.1278346181, -0.4939141572, 0.2458189577, 0.5822438002, -0.5590927005, 0.3669580817, 0.2302681953, 0.2895553708, 0.4564282, 0.9262259007, 0.1469999254, 0.0968987346, 0.3678925931, 0.1385294646, -0.1428461075, -0.7102748156, 0.3069889247, 0.3604014814, 0.0587223135, -0.1313118339 ]
http://arxiv.org/abs/2402.10689v2
http://arxiv.org/pdf/2402.10689v2
Multi-Cultural Commonsense Knowledge Distillation
2024-02-16T13:46:38
2024-04-17T14:12:07
Tuan-Phong Nguyen, Simon Razniewski, Gerhard Weikum
cs.CL
cs.CL
Despite recent progress, large language models (LLMs) still face the challenge of appropriately reacting to the intricacies of social and cultural conventions. This paper presents MANGO, a methodology for distilling high-accuracy, high-recall assertions of cultural knowledge. We judiciously and iteratively prompt LLMs for this purpose from two entry points, concepts and cultures. Outputs are consolidated via clustering and generative summarization. Running the MANGO method with GPT-3.5 as underlying LLM yields 167K high-accuracy assertions for 30K concepts and 11K cultures, surpassing prior resources by a large margin. For extrinsic evaluation, we explore augmenting dialogue systems with cultural knowledge assertions. We find that adding knowledge from MANGO improves the overall quality, specificity, and cultural sensitivity of dialogue responses, as judged by human annotators. Data and code are available for download.
[ -0.3801967204, -0.8250535131, 0.3757926226, 0.1338067353, -0.2366470248, 0.4793252647, -0.4483050704, -0.1280336231, 0.3396575153, 0.5102882385, -0.2097644061, -0.3382807672, -0.6873081326, 0.1092063189, -0.1982639879, 0.7688454986, 0.0493673049, -0.4142077267, -0.0776658952, -0.4635121822, -0.6696556807, -0.5655029416, -0.416768074, -0.3451833725, 0.2196425945, 0.7181332111, 0.5591025949, 0.2449802607, 0.1203917786, 0.3575192988, -0.2819039226, 0.5897518396, -0.5276594162, 0.2755247355, -0.242207706, -0.5334207416, -0.1630500108, 0.1427451819, 0.0774502307, 0.3979329169, -0.4315724671, 0.3957073987, 0.220818311, 0.5430704355, -0.558103919, 0.3304665089, -0.8667550683, 0.0408643708, -0.16041179, -0.0116235744, -0.3734524548, -0.5950446725, 0.0123597691, -0.5510103106, -0.1589178145, -0.0644079894, 0.6366884708, 0.3579002023, -0.6750270724, -0.1290473193, -0.7444626689, 1.008620739, -0.5579351783, 0.1118910536, 0.6031038761, 0.6514148116, -0.028300697, -0.645029366, -0.769726038, 0.0556469448, 0.0800971538, 0.2161051929, -0.0864211544, -0.232158035, 0.2632969618, 0.3133561611, -0.0078824311, 0.0293382481, -0.5398767591, -0.1614209116, 0.6613668203, 0.1079712883, 0.1817009151, -0.2972170711, -0.23424986, 0.2044455558, -0.801101923, -0.1520032287, -0.093317166, -0.0745122284, -0.1207406595, 0.6000313163, -0.4736605287, 0.4760437012, 0.039820347, -0.7096794844, 0.1767702401, -0.4564270377, -0.1119741872, -0.0893188193, 0.7413488626, 0.6945115924, 0.4433582723, 0.3651817441, 0.1999367923, -0.1293999851, -0.1649829894, -0.614998877, -0.2907080054, 0.3240049779, -0.3145321012, -0.2284964621, -0.3076542318, -0.6975603104, -0.8622300625, -0.3212966919, 0.0684718639, -0.4871902764, -0.4749184549, -0.3203731477, -0.5394961834, 0.2264475226, 0.340562284, -0.7707129717, 0.00542905, 0.5859775543, 0.7977346778, -0.0433977544, -0.1607569903, -0.3425474763, 0.3130867779, -0.5290493965, 0.4698365629, -0.5461021066, -0.5024954081, -0.267357111, -0.2040156126, 0.1951190382, -0.851616621, 0.6767455339, -0.1032968238, -0.0553813875, -0.5942605734, -0.240178138, -0.2998100817, 0.393153429, -0.4128604233, 0.9257411957, 0.0896484405, -0.5077137947, 0.4266052246, -0.5827336907, -0.58984828, 0.2295325994, -0.2934426665, 0.0758607015, 0.3863354027, 0.509652853, 0.5174383521, -0.5570386052, 0.6421560645, -0.2371719033, -0.2687846124, 0.4329721332, -0.7574326992, 0.9253337383, 0.8627066016, -0.0979060382, -0.2110714912, -0.5869827271, -0.3128345907, 0.2188114375, -0.2392874062, -0.6144729257, -0.0815757364, -0.6866278052, 0.1568915248, 0.1037920117, -0.5686749816, 0.0814625919, 0.0639729276, 0.7800136805, 0.6672698259, -0.0704519749, 0.1067351177, -0.430136919, 0.2634543478, 0.2820554972, 0.1471498162, -0.3915522099, -0.7190541029, -0.5430303216, -0.3783475161, -0.1062536016, 0.5209161043, -1.1601874828, 0.2899826169, -0.3547216058, -0.6672762632, -0.4270617366, 0.2893351912, 0.075418815, 0.6846718192, 0.1360908747, -0.3929216266, -0.4192665219, -0.7280429006, -0.278247267, -0.2139796764, 0.0852380097, 0.2775765955, 0.1945272237, 0.1631837189, 1.0736033916, -0.6926454306, -0.0542299002, -0.3584961891, 0.3191602528, 0.2860322595, 0.2135357559, 0.3261144459, -0.6923427582, -0.7468796968, 0.1515870243, -0.8538687825, -0.0585797653, 0.4499424696, 0.090095818, 0.282427758, 0.3095763028, -0.4305544794, 0.1484633088, 0.3826553226, 0.0519607477, 0.5522770286, -0.0643092021, 0.5919001698, -1.4305938482, -0.1932443976, 0.065000914, -0.043062456, -0.4765178859, 0.0020783739, 0.0991604775, -0.243273899, -0.4455204606, 0.5379733443, -0.2380295396, 0.3643845618, -0.0286040194, 0.1366027594, 0.161274001, 0.4266685545, 0.2614208162, 0.645352006, 0.2327589095, -0.5422220826, 0.7740817666, 0.1941946149, -0.769754529, 1.2402908802, -0.3333160281, 0.080887422, -0.3064168096, 0.4314109385, -1.1203770638, -0.3496970832, -0.1233564317, -0.2932894826, -0.1349105239, -0.4743833244, -0.3971141279, -0.6345363855, -0.2038162649, 0.3163500726, 0.8807491064, -0.6581485271, 0.6204481125, 0.5188647509, -0.679348886, -0.9463950992, -0.863521874, 0.3264439404, -0.7949444056, -0.5461056828, -0.405839324, 0.0106689604, -0.5433695316, -0.4034977555, 0.0208676681, -0.2445930541, 0.3848444819, 0.0628059357, 0.1631226242, -0.0496377945, 0.1488126516, 0.1134770811, 0.1497989744, 0.0077755353, -0.4773035049, 0.4462712407, 0.1039911807, -0.4074444175, -0.2378142476, 0.1529507041, 0.7012138367, -0.4609565139, 0.6254982352, 0.5379675627, -0.2340893745, 0.169679597, -1.0345497131, 0.0256855693, -0.4628745914, 0.3831984103, -0.5877703428, -0.7026273608, 0.5814108253, -0.3517181277, 0.1135708615, 0.3801810443, 0.480638355, -0.0761836618, 0.7017838955, 0.1353217214, -0.1142366529, 0.2014070898, -0.164553389, 0.3859150112, -0.7150030732, -0.1849638522, -0.5927631855, -0.3215754628, -0.3179425895, -0.7959088683, 0.4948097765, -0.0263043847, -0.293584764, 0.0048293844, -0.1719146073, 0.9452288747, 0.4641096294, -0.2176253349, 0.8530595303, 0.0609464161, -0.240873307, -0.0232164375, -0.6849983931, -0.3266116083, 1.1825671196, 0.3713260293, 0.8880847096, 0.5056084991, 0.7313411236, 0.0923845097, 0.6372693181, -0.5576835275, 0.3326588571, -0.2907392085, -0.6354501843, -0.3071044087, -0.5099039674, -0.4501156211, 0.3155813217, -0.0083139734, -0.870300889, 0.0406653285, 0.1845448613, -0.482892096, 0.2490907758, -1.01124084, 0.6127653122, -0.1159405932, -0.3372226954, -0.2943604887, -0.5369294882, 0.9921922684, -0.2816167176, 0.6957184076, -0.4527524114, 0.2768087387, 0.6301737428, -0.5113790631, 0.9929961562, -0.2974251211, -0.3691561222, 0.6025919914, 0.1540175229, 0.4640949965, 0.0326397754, -0.1138516217, -0.006988524, 0.1459712833, -0.3431998491, -0.6105380654, 0.7075971365, -0.7185518742, -0.7432884574, -0.0738089755, -0.586412549, -0.2483889759, -0.0363543332, 0.0832128003, 0.3250596821, -0.3357958794, 0.1714479774, 0.752112329, -0.5163660049, 0.2833685279, 0.4092074931, -0.3358956277, -0.3495177031, 1.000028491, 0.2427548021, 0.4892275929, 0.0963958278, 0.4807427227, -0.6256799102, -0.365511477, -0.5105364323, -0.0869070739, -0.9128069878, -0.207836166, -0.547932744, 0.0177451801, -0.5100549459, -0.0136445938, -0.2987989485, -0.7113285065, 0.3323835135, -0.254062295, 0.6036757827, 0.7594155073, -0.1934860796, 0.1589687318, -0.9971219897, 0.3798058331, 0.4644215703, 0.2084560543, 0.059627004, -0.5175242424, -0.1172297373, 0.3020828366, -0.3284068704, -0.7914284468, 0.3705628216, 0.1923894435, 0.6312348843, 0.4197672904, 0.2981708348, 0.7804982662, -0.1229034215, 0.9959090948, 0.3613380194, -0.8489879966, 0.6183076501, -0.1395547688, 0.3881372809, 0.6110261679, 0.4568012059, -0.9183086753, -0.6124628782, -0.3478265405, -0.66715765, 0.3144538403, -0.297213912, 0.3692804873, -0.2944207788, -0.0465627685, 0.3279051781, 0.1351886392, -0.4529481828, -0.0882991403, -0.1994416863, -0.3263303638, -0.2483246922, -0.2250272483, -0.483599335, -0.4275394082, 0.4936281145, -0.2435332686, -0.4578928053, -0.0463993549, -0.4564488232, 0.3016946018, 0.5714145899, 0.3510161042, 0.7771510482, 0.133838743, 0.3684181273, 0.4544839561, -0.3308050334, 0.5303615928, -0.0575211123, 0.0956289321, -0.3341068327, -0.1070569456, 0.4420928061, -0.0992707461, -0.5375301242, 0.3148319125, -0.2444733232, 0.0531676672, -0.1294215024, -0.0120704379, 0.3929950893, 0.0768273845, 0.3487736583, -0.1442797184, -0.078923896, -0.7834081054, 0.0540290438, 0.2279038578, -0.1662164181, 0.2064260393, 0.4826278389, 0.6937312484, 0.1282021552, 0.8104498982, -0.2585319877, -0.3617351949, 0.5200284123, 0.3271224797, 0.5021057129, -0.4277639091, 0.4136927724, 0.4276773334, 0.1442144513, -0.0955287218, 0.1062940657, -0.2271718234, -0.8860602975, -0.7938498259, -0.6794276237, -0.3469907641, -0.1562727541, -0.3490454853, 0.0875604078, -0.2133613229, 0.0403686874, -0.2001908869, 0.0199151319, -0.5831302404, -0.0425046273, 0.0226549618, 0.9929721951, -1.0666673183, 1.0599638224, 0.2373777032, -0.3917071819, -0.8324990869, -0.2305693328, 0.4339221716, -1.0016256571, 0.5663787723, -0.1009533405, 0.1406983286, -0.1096936241, -0.3737418056, -0.7204962373, 1.1430499554, 0.2384411842, -0.4668173492, 0.5012661219, 0.1958952844, 0.3221103549, -0.1524537951, 0.4073891938, 1.0528337955, 0.4851213694, 0.536139071, -1.2023769617, 0.0143057331, -0.1828707457, -0.0928441212, 0.078303352, -0.6894123554, 0.5775209665, -0.3809869587, -0.1290014684, 0.0149728302, 0.6417674422, 0.4983495474, 0.2309881002, 0.2323053628, 0.518433094, 1.3221671581, -0.2858328819, 0.8992863297, -0.0847281739, -0.0204939488, 1.3204228878, -0.4928309619, 0.6486974359, 0.4062511623, -0.2349516898, 0.4200275242, 0.5760771632, 0.2466814071, 0.1529269814, 0.3089014292, -0.353386879, 0.1930499077, -0.5362457037, -0.3187001646, 0.6372554302, 0.6458653808, -0.1082729325, -0.0182908103, 0.0459083095, 0.2901885808, 0.2343564183, -0.3334471881, 0.9982158542, 0.1504226625, -1.2016824484, 0.7537217736, -0.167437166, 0.8215959072, -0.4227285981, -0.0232144129, -0.6592074633, -0.1267555654, -0.1557574272, -0.9288857579, 0.4132183194, 0.0630859211, 0.235305205, -0.084759295, 0.6223272681, -0.6464038491, -0.241199404, -0.2287783027, 0.7040391564, 0.3026692271, -0.1117184311, -0.2392923236, 0.0599481799, 0.020556381, 0.2397633791, 0.0381653719, 0.612049222, -0.2840662897, 0.6132395267, 0.3107081354, -0.0721499249, 0.056079492, 0.073036395, 0.3629278839, -0.5626140237, -0.3524206281, -0.968998909, 0.5035427213, -0.4888352454, -0.0182056781, 0.6757798791, 0.4632977843, 0.7139092088, 0.1007904559, 1.2123029232, -0.1822958142, 0.3791038394, -0.4658709168, 0.7114956379, -0.287391901, 0.3764844835, -0.0844426528, -0.9295627475, 0.1710746735, 0.2595425844, -0.2835084498, -0.0473538786, 0.6524264216, 0.597540617, -0.0434373356, 0.3625265956, 0.3336583078, 0.4774487615, 0.4548897743, 0.5933824778, 1.2779700756, 0.2127465904, 0.5119250417, -0.3333805799, -0.4904967546, -0.0177124664, -0.9946064949, -0.5233264565, -0.6619203687, -0.3133207858, -0.2899700999, -0.1732476354, 0.9009950161, 0.6499761343, -0.5952474475, -0.3903498948, 0.4922190607, 0.4989970624, -0.3270237148, -0.1976877153, 0.0359959677, -0.1920558214, -0.7337588072, 0.2482336611, 0.3125901222, 0.0573887527, -0.1275150478, -0.1159641519, 0.1178245917, 0.22326231, 0.8671300411, 0.2109914869, -0.7923554182, -0.2837242186, -0.3883697391, 0.2117309123, 0.041078385, 0.7579900622, -0.6461957693, 0.5018652678, 0.3911112547, 0.3822290599, 0.5162325501, 0.0165152736, 0.875805974, -0.9712610841, 0.1765130907, -0.0881212875, 0.5682182312, 0.4038397372, -0.0489283241, 0.5460092425, 0.1636923403, -0.2711712122, -0.5453139544, 0.4696360528, -0.5893796086, -0.4395217597, 1.0084434748, -0.3857744634, -0.119956471, -0.5507383347, -0.4041059017, 0.0404045433, -0.25992468, 0.8143225908, 0.9632266164, 0.1292939484, -0.1812335104, -0.2941972911, 0.4374533892, 0.2650310099, -0.8444166183, 0.3681629002, 0.5299611092, 0.490766257, 0.2948848903, 0.8332751393, -0.2203164399, 0.0891821608, -0.1389404684, -0.2033105791, -0.0304243527, -0.1463013291, -0.0682506561, 0.1868519634, 0.5271241069, 0.1148023978 ]
http://arxiv.org/abs/2402.10688v2
http://arxiv.org/pdf/2402.10688v2
Towards Uncovering How Large Language Model Works: An Explainability Perspective
2024-02-16T13:46:06
2024-04-15T18:43:12
Haiyan Zhao, Fan Yang, Bo Shen, Himabindu Lakkaraju, Mengnan Du
cs.CL
cs.CL
Large language models (LLMs) have led to breakthroughs in language tasks, yet the internal mechanisms that enable their remarkable generalization and reasoning abilities remain opaque. This lack of transparency presents challenges such as hallucinations, toxicity, and misalignment with human values, hindering the safe and beneficial deployment of LLMs. This paper aims to uncover the mechanisms underlying LLM functionality through the lens of explainability. First, we review how knowledge is architecturally composed within LLMs and encoded in their internal parameters via mechanistic interpretability techniques. Then, we summarize how knowledge is embedded in LLM representations by leveraging probing techniques and representation engineering. Additionally, we investigate the training dynamics through a mechanistic perspective to explain phenomena such as grokking and memorization. Lastly, we explore how the insights gained from these explanations can enhance LLM performance through model editing, improve efficiency through pruning, and better align with human values.
[ -0.2101865709, -0.7080440521, 1.0308204889, -0.1021891907, -0.1139737368, 0.0811535418, -0.3748579323, -0.4427201748, -0.1798892915, 0.4183132052, -0.565640986, -0.2910116315, -0.6695385575, -0.2019953132, -0.3629263639, 0.8541920781, -0.1453691572, 0.0277081896, -0.1886625588, -0.1423553079, -0.2636120319, -0.6629539132, -0.5460544825, -0.7198652029, 0.4135757387, 0.2727027237, 0.7866742611, 0.9646112919, 0.1101938486, 0.313747704, -0.458130151, -0.0804677829, -0.6191638708, 0.0191035029, -0.2958964705, -0.9036127925, -0.2105815411, -0.0887853429, 0.7908325195, 0.8994565606, -0.2169748545, -0.1335165948, 0.2728038728, 0.6366810203, -0.317394197, 0.3333785534, -0.68284446, -0.1614143699, -0.1355491132, -0.2254824042, -0.2998357117, -0.0772692561, 0.1718352139, -0.4762414098, 0.1399122775, 0.0368133299, 0.5843088031, 0.1633365601, -0.2754707634, -0.6614898443, -0.7836684585, 0.7713993192, -0.800475955, 0.4576368332, 0.2027509362, 0.4699045718, -0.1854240894, -0.444228977, -0.518071115, -0.3811809123, -0.1929515302, -0.2841847539, 0.0032908916, 0.2957753837, 0.1925593317, 0.5697537065, -0.5638312697, 0.3110623062, -0.1844990253, -0.1812653989, 0.3494036496, 0.1585196108, 0.5351670384, -0.0205128733, -0.085971877, 0.0533180051, -0.8503511548, 0.0851325467, 0.5260745883, 0.0061537204, 0.0211059768, 0.523956418, -0.0079262815, 0.4970639348, -0.2118164748, -0.2253835648, -0.0728932694, -0.0467116982, -0.2678232193, -0.0747766569, 0.4989370704, 0.0852286443, 0.3744557798, -0.3269846141, -0.208917141, -0.2160018682, 0.291166544, -0.6996116638, 0.0343691073, 0.3196865916, -0.6933612227, -0.2698090076, -0.1700710356, -0.373914808, -0.535290122, -0.4989333451, 0.39045766, -0.6100393534, -0.4650165737, 0.2605236769, -0.0890713185, 0.3238672018, 0.3905774355, -1.2636493444, 0.1945861876, 0.9742767215, 0.6694707274, 0.0919912606, -0.3807814121, -0.0085257823, 0.3245272338, -0.2653998733, 0.3495234549, -0.5023372173, -0.121641919, -0.0450076088, 0.1333880126, -0.1207787916, -0.6973506808, 0.1794921905, -0.5205646753, -0.0755498111, -0.2277723551, -0.7388129234, -0.541496098, 0.2583484948, -0.5982701778, 0.4814793468, -0.0869689584, -0.6265017986, 0.0785019323, -0.6385731697, -0.112284489, -0.0035066616, -0.1288975477, -0.0382095724, 0.5128532052, -0.0439671203, 0.6355642676, -0.2542734146, 0.3534819186, -0.2250454724, -0.3839049935, 0.4554865062, -0.5583119988, 0.73764956, 0.3115547597, -0.1528734863, 0.1689445078, -0.5459170938, -0.2430922985, 0.274654299, -0.3404867351, -0.2902382314, 0.0101791741, -0.4551047385, 0.0643137395, 0.2019724846, -0.1201093495, 0.1350664347, -0.5287524462, 0.7159966826, 0.7496045828, -0.0857052431, 0.7715750337, -0.1045419797, 0.6282672286, 0.0179655068, 0.1595859975, -0.4702041149, -0.2176599801, -0.5182166696, -0.0393994562, -0.0335096829, 0.2226377428, -0.4313959479, 0.0170931369, -0.1106529385, -0.3389851749, -0.5365792513, 0.4145566225, 0.4124340415, 0.5024374127, 0.0212594364, 0.0553956069, -0.3480976224, -1.1496363878, -0.4384218156, -0.2636427581, -0.0904396698, 0.1441796571, 0.503816843, -0.2696514726, 0.5472735763, -0.2188744098, 0.2493868321, -0.5518231988, 0.1391139627, 0.3076749444, 0.314337492, 0.2666837275, -0.5760221481, 0.0226296019, 0.1219668761, -1.0098434687, -0.1057355404, -0.1618978083, 0.1053540707, 0.1137766168, 0.7317713499, -0.5673500299, 0.2624363005, 0.4206599295, -0.2291799486, 0.7572765946, -0.550129652, -0.0560344681, -0.6512779593, -0.1263533533, -0.1893009692, -0.2373209149, -0.6019228101, 0.4124947488, 0.0618067048, -0.0449774042, -0.2605384588, 0.4442938566, -0.7405110598, -0.1931676716, -0.4185614288, 0.1628399044, 0.126197651, 0.3848391175, -0.2500867248, 0.5974575877, 0.6174215674, -0.6201528907, 0.2180575877, -0.0876281261, -0.4524342716, 0.2909874022, -0.7828996778, -0.0527167059, -0.4618222415, 0.1170540825, -0.9218524694, -0.3208072782, 0.0663841218, -0.2947781086, 0.3946882486, -0.2243890166, -0.6893274188, -0.1162579209, -0.1561975479, 0.2994192839, 0.5346667767, -0.6026040912, 0.6475582123, 0.4326324165, -0.1215630472, -0.4453254938, -0.6622099876, 0.1239574552, -0.5424906015, -0.7675424814, 0.1126264557, -0.1875289083, -0.7084861398, -0.1783211231, -0.1434648484, -0.0664150044, 0.4677690268, 0.3577277064, -0.0214650072, -0.3345046341, 0.4667416513, 0.0540491492, -0.1812588274, 0.453764379, -0.3028280735, 0.5537782311, -0.2500730753, -0.569801867, -0.5054821372, 0.2183231115, 0.6867886186, -0.0162947942, 1.0315742493, 0.3301106989, -0.292911917, -0.4270053208, -0.4991314411, -0.3400494158, -0.4768319428, 0.4861212075, -0.4900848866, -0.9835878015, 0.7787246108, -0.2450355291, -0.0757784992, 0.2732480168, 0.6562042236, -0.0576860793, 1.0069946051, 0.6835522652, 0.0778005496, 0.3136222959, -0.145577684, 0.4447368383, -0.6315380335, -0.4288060069, -0.3481875658, -0.172811076, -0.3778295219, -0.494220525, 0.1740266681, 0.6045345068, -0.1074342057, 0.0733421221, -0.2319954336, 0.7073225379, 0.357103914, -0.0391044691, 0.5197681189, -0.2763505578, -0.1655686647, 0.0556434542, -0.6290313005, -0.8269165754, 0.7760406137, 0.89255476, 1.0516484976, 0.1348131746, 0.5306889415, -0.0938365981, 0.1059659347, -0.7753068805, 0.5208092332, 0.1142502353, -0.6364778876, -0.4530183375, -0.2084549963, -0.6074559093, 0.433136344, -0.0956259891, -0.924934864, -0.1574542224, 0.3256683946, 0.1089470237, 0.4421399236, -0.9716304541, 0.7014256716, -0.3445457816, -0.311873287, -0.4863628745, -0.5910274386, 0.5498411059, -0.073651135, 0.487187326, 0.033364363, 0.0734959319, 0.5526502132, -0.3933169842, 0.9025957584, -0.1069637835, -0.5305827856, 0.0371008664, 0.2116037011, 0.4549499452, -0.0223456062, -0.0863271803, 0.1322851777, -0.1367659718, -0.2571464181, -0.9595655203, 0.7773146033, -0.5291000605, -0.8641768694, 0.1607640833, -0.8912681341, -0.1874969304, 0.0082031712, 0.0571903512, 0.3884081542, -0.0729637071, 0.1562632322, 1.0462332964, -0.5137944818, 0.4326427281, 0.416182965, -0.5200411081, 0.2557711005, 0.8759162426, 0.1353748888, 0.3644794226, 0.4376609921, 0.3320406079, -0.4155907035, -0.8538451791, -0.2158432901, 0.4626018405, -0.9678322077, 0.4908801317, -0.498906672, -0.1771059483, -0.1420516074, -0.203357473, -0.1770259291, -0.3614324629, -0.2334606946, -0.4686704874, 0.063583605, 1.2503312826, -0.0850863829, 0.5285663605, -0.5439002514, 0.2015217692, 0.3763762414, 0.5127687454, 0.4691583812, -0.6557363868, -0.4339955747, 0.0309709255, -0.0431082956, -0.779636085, 0.1400912106, -0.109494403, 0.8231406808, 0.6783339977, -0.4212220609, 0.5633464456, -0.4823762774, 0.6007518768, -0.015447597, -1.1902817488, 0.4690337181, -0.4512169361, 0.1492250562, 0.1787969023, 0.3509890139, -0.4017884433, -0.5915297866, -0.5443941951, -0.9016616344, 0.6088459492, 0.0130658457, 0.2287893593, 0.3301675916, 0.6835718751, 0.364485234, 0.1268325299, -0.8463070393, -0.1645188332, -0.055153463, -0.1402031928, -0.1602348238, -0.6790550351, -0.1311548352, -0.1342348307, 0.5573985577, 0.0396593735, 0.150886938, -0.112466529, -0.5329908729, 0.0978219062, 0.4793835282, 0.7201595306, 1.0937550068, -0.130303964, 0.4704918265, -0.0510414168, -0.0637560412, 0.0000615143, -0.1877608001, 0.1555467844, -0.2102722526, 0.8015684485, 0.8362303972, 0.2550105751, -0.7312188148, 0.2408191413, 0.1106598228, -0.274920702, -0.1322192401, 0.2563340068, 0.4951377511, 0.5456598401, 0.3464236557, -0.474263519, 0.1370255351, -0.8970707655, -0.0993310213, 0.5881879926, -0.3252436519, -0.5527154207, 0.7380464673, -0.1311243474, -0.2311760187, 0.3139359355, 0.0332970954, -0.495775938, 0.5817052722, 0.5171904564, 0.5889625549, -0.2730564475, 0.2450493127, 0.0845315009, 0.5679808855, -0.0668406412, -0.0613897219, -0.0075421366, -0.7268394828, -0.5553147197, -0.5268691182, -0.4896070063, 0.3913384378, -0.6270914078, -0.1928411275, -0.3613757193, 0.5292981267, 0.1959912628, -0.3620463908, -0.4080203474, 0.0959783047, 0.1640178859, 0.8918300271, -1.0064586401, 0.6695616245, 0.4996001422, -0.3627867699, -0.9020419121, 0.0221974365, 0.0974198133, -1.2861936092, 0.5727980137, 0.264506191, -0.061887458, -0.1911208034, -0.7422806621, -0.5234088898, 1.0342025757, 0.7513324022, -0.5498042703, -0.0834129006, 0.2139112055, 0.6326425076, -0.3272959888, 0.2599749267, 0.738217175, 0.634517014, 0.0434816182, -0.6605679393, 0.2057007104, -0.0807943568, 0.008343433, 0.0167992357, -0.3038691282, 0.7144083381, -0.4369215667, -0.180661723, -0.1905171871, 0.3791365623, 0.1879246235, 0.2558425963, 0.3782689571, 0.4484085143, 0.9274085164, 0.0203487203, 1.2586483955, -0.1650493741, 0.1295829266, 0.9356742501, -0.0286148172, 0.4245176911, 0.6464797258, -0.0510347597, 0.5361257195, 0.4196092784, 0.2514245212, 0.3366682529, 0.5453723669, -0.2079659104, -0.2152242512, -0.0626618043, -0.1156806871, 0.4747710228, 0.4253098369, -0.6743679047, -0.2868416011, 0.1246272177, 0.1297037899, 0.0122582745, -0.4758493602, 0.8744356632, 0.1878843904, -0.4528331459, 0.4947467446, -0.1417096853, 0.3345061541, -0.6035500765, -0.1440319419, 0.0095833251, 0.1191353798, -0.1568932831, -1.0075272322, 0.4557624459, -0.3134384453, -0.4651198685, -0.409668833, 0.7161386013, -0.4234679341, -0.0524569973, 0.4686329961, 0.6511819363, 0.348670572, -0.2481985092, -0.4455134273, 0.2511514127, 0.0528593734, -0.3035272062, 0.5086880326, 0.8502801657, -0.034903083, 1.067185998, 0.4364988208, 0.1324897856, -0.036422845, 0.1260005832, 0.8066598773, -0.8187609315, -0.2946275771, -1.182331562, 0.5888077617, 0.2001506835, 0.1233738586, 0.7113374472, 0.1756899506, 0.461329639, -0.0803881958, 0.7448023558, 0.3022155166, 0.3314642012, -0.7266998887, 0.9294842482, -0.4660739899, 0.6391239166, -0.0135848252, -0.7229517698, -0.2162076086, 0.4607760906, -0.3752811551, -0.0430369042, 0.7241895795, 0.7773411274, -0.0710722283, 0.0266483109, 0.5496011972, 0.7359853387, 0.3679034114, 0.4664923549, 0.9902051091, 0.1470158845, 0.5687586069, -0.0160838962, -0.2521566749, -0.2126477957, -0.9869816899, -0.9518197775, -0.6232747436, -0.021189129, -0.2153792381, 0.0438270941, 0.3667701483, 0.7347570062, -0.6116283536, -0.271540761, -0.3295554817, 0.5475338101, 0.1262450814, -0.2455151379, 0.2559645772, -0.3402497172, -0.4556652606, 0.4512617886, 0.3464541137, 0.1360764056, -0.498090744, -0.2034040987, 0.1983503252, 0.0927275941, 0.5314958692, 0.2192448527, -0.9050753713, -0.1400097907, -0.3352974951, 0.237891227, -0.144337073, 0.8721449375, -0.5527685285, 0.4448501468, 0.3767451942, 0.6568825245, 0.2790878415, -0.254809767, 0.8633543849, -0.4539830685, 0.0077910153, -0.0656075403, 0.5983647108, 0.404792726, -0.404728651, 0.4923829734, -0.0929232165, -0.6732230186, -0.8412011266, 0.3690467477, -0.7851828337, -0.4983327091, 1.0367115736, -0.2311954647, -0.2486748993, -0.2491458356, -0.0708959773, 0.1445641816, -0.089454636, 0.7578199506, 0.9059832096, -0.1051427424, -0.4305197299, -0.7759087086, 0.3865698874, 0.1784059852, -0.8350901604, 0.3988683522, 0.4063261151, 0.5308618546, 0.0639294609, 0.4019674659, -0.2118617743, -0.0852076188, -0.1584763229, -0.035841547, -0.2057435215, -0.1934610754, -0.7295127511, 0.2594090998, 0.3118084967, 0.1265524328 ]
http://arxiv.org/abs/2402.10685v2
http://arxiv.org/pdf/2402.10685v2
LongHeads: Multi-Head Attention is Secretly a Long Context Processor
2024-02-16T13:39:34
2024-03-25T11:50:32
Yi Lu, Xin Zhou, Wei He, Jun Zhao, Tao Ji, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have achieved impressive performance in numerous domains but often struggle to process lengthy inputs effectively and efficiently due to limited length generalization and attention's quadratic computational demands. Many sought to mitigate this by restricting the attention window within the pre-trained length. However, these methods introduce new issues such as ignoring the middle context and requiring additional training. To address these problems, we propose LongHeads, a training-free framework that enhances LLM's long context ability by unlocking multi-head attention's untapped potential. Instead of allowing each head to attend to the full sentence, which struggles with generalizing to longer sequences due to out-of-distribution (OOD) issues, we allow each head to process in-distribution length by selecting and attending to important context chunks. To this end, we propose a chunk selection strategy that relies on the inherent correlation between the query and the key representations, efficiently distributing context chunks to different heads. In this way, each head ensures it can effectively process attended tokens within the trained length, while different heads in different layers can collectively process longer contexts. LongHeads works efficiently in linear time, fits seamlessly with many LLMs that use relative positional encoding. LongHeads achieves 100% accuracy at the 128k length on passkey retrieval task, verifying LongHeads's efficacy in extending the usable context window for existing models. We release our code at https://github.com/LuLuLuyi/LongHeads .
[ -0.5441778898, -0.6634789109, 0.8552447557, 0.6104367971, -0.5893201232, -0.0006102993, -0.7369005084, -0.6606670618, 0.4098444879, 0.5460414886, -0.8682405353, -0.1894433647, -0.7127752304, 0.1698266268, -0.3022680581, 0.7248914242, 0.2516076267, -0.4546115994, -0.2893266976, -0.1075995639, -0.5564374924, -0.3668747842, -0.7709364891, -0.2496091127, 0.8210297823, 0.2040839791, 0.4167937338, 0.9535028934, 0.4430804849, 0.2105274498, -0.189912647, 0.1873798668, -0.7334153652, 0.371480763, -0.3990077376, -0.0374342687, -0.6670432687, -0.3616900444, 0.6413915157, 0.6706321836, 0.2165538669, 0.1385945976, 0.2414616048, 0.9720129371, -0.8966110349, 0.1742683947, -0.6121029258, 0.0264318231, -0.6553552151, -0.4257035553, -0.4173111618, 0.3163694739, 0.2727018297, -0.4222021699, -0.2806928158, -0.0605443083, 0.2582638264, 0.4347166717, -0.4119916856, -0.1249270514, -0.2598979473, 1.0146899223, -0.3361665606, 0.6162874699, 0.244634226, 0.4642401338, -0.1603782922, -0.6175876856, -0.363632977, 0.2756101489, 0.1433015019, -0.0461780168, 0.0205256753, 0.2962156236, 0.045885928, 0.2251762152, -0.491859436, 0.0495506041, -0.1994638741, -0.0284049362, 0.3380845487, -0.195031479, -0.1316655427, 0.0606534854, -0.4358221591, 0.0645664856, -0.9134225845, 0.131437242, 0.1481494457, 0.6805850267, -0.1512863487, 0.4408891797, -0.5338427424, 1.14272964, 0.3500005603, -0.2930334508, 0.1998320669, 0.064301163, -0.4299167097, 0.0310319792, 0.648211062, 0.2273168862, 0.2600173056, -0.3569692671, -0.1308410019, -0.2605085969, 0.2521929145, -0.9669423699, 0.3741713762, 0.6439441442, -0.1015499458, -0.0760977566, -0.2852101028, -0.6197736263, -0.2257249206, -0.4373913109, 0.2184587121, -0.2626755238, -0.1387585104, 0.2495495379, -0.09485019, 0.1179715171, 0.1166176349, -0.9647512436, -0.1327578872, 0.9484279156, 0.9765594602, -0.6114116907, -0.5198950768, -0.7056002021, 0.4905641377, -0.0941096395, 0.7246548533, -0.4596029818, -0.0341235623, 0.0358654596, 0.0862669051, 0.0581099316, -0.5758288503, 0.1533129811, -0.6848938465, -0.2956033051, -0.1495889872, -0.3974270225, -0.0828576311, 0.2686834037, -0.4631433785, 0.5029963851, 0.3495734334, -0.8063169718, 0.19334732, -0.7854338288, -0.6049428582, 0.1971085221, -0.2888757885, -0.197483182, 0.0213178638, 0.354723841, 0.7932682037, -0.1351590306, 0.3027426004, -0.4774444997, -0.5178312063, -0.0680527538, -0.0867729485, 0.9300320745, -0.0444159396, -0.4505543113, 0.5328216553, -0.3900877535, -0.011227618, 0.0962404907, -0.3378255069, -0.226929605, -0.1735459268, 0.0683907419, 0.208632201, 0.0680029392, -0.335830301, 0.1012492254, -0.3561436236, 0.6510004997, 0.7300852537, -0.0327895172, 0.3518955112, -0.1581420004, 0.3868201077, 0.260548532, -0.1393655241, -0.3659775853, -0.1425490379, -0.5677015781, -0.6327342987, -0.0061723161, 0.1197725907, -0.7258015275, 0.6210601926, -0.6217172742, 0.0057270168, -0.2481565177, 0.2203042507, 0.4001019299, 0.3542540669, 0.2404065728, -0.511367619, -0.5593227744, -0.9507329464, -0.2393582165, 0.308301568, -0.0981330201, 0.1877788007, 0.3221082687, -0.3799028695, 1.3086972237, -0.5198614597, -0.5692334771, -0.3417254686, -0.3104689419, 0.2300880402, 0.3566517234, 0.4420036077, -0.5155481696, -0.4539629519, -0.2421886772, -0.7113749981, 0.2405930012, -0.0742396042, -0.5028012395, -0.1104069576, 0.4575698674, -0.9417778254, 0.1302563995, 0.5673214197, -0.1357078254, 0.3707163632, 0.2527477443, -0.2981285155, -0.8260802031, 0.1420794874, -0.030622717, -0.7570521832, -0.5331388116, 0.4582479894, 0.4489341974, -0.1142066196, -0.8522500992, 0.6952136159, -0.6759304404, -0.0639553294, -0.5577501059, 0.1945778877, -0.0775518417, 0.8728809357, 0.2293915898, 0.8979665637, 0.8450101018, -0.8342285156, 0.3457944095, 0.1209231243, -0.3944675326, 0.9638410807, -0.4622329473, 0.5252191424, -0.3091499507, 0.4511140287, -0.5136117339, -0.5843881965, 0.1263992041, -0.2678409517, 0.5957323909, -0.2095218897, -0.1610040069, -0.4672370851, -0.5040902495, 0.613209188, 0.0475599095, -0.5700002909, 0.2389144003, 0.6579225659, -0.1512446702, -0.9048339725, -0.7879721522, 0.1961281449, -0.2900647223, -0.5826641917, 0.4000187516, -0.3401808441, 0.009275292, -0.4012640119, -0.1294263601, -0.2571569979, -0.111975044, 0.0709975362, -0.3120193779, -0.1259933114, 0.0275586676, 0.2421396077, 0.0391520113, 0.0687578022, -0.5878534913, 0.6102057695, 0.2225059718, -0.086916022, -0.2499502003, 0.4385251999, 0.8788911104, -0.3913654685, 0.4579000473, 0.4167550206, -0.3017234206, -0.3678400815, -0.3902972639, -0.2104078233, -0.5086013675, 0.7285634875, -0.3501282632, -1.2371445894, 0.1106601655, 0.1403357089, 0.0860986114, -0.0129368808, 0.5913375616, 0.2920432687, 0.5383815169, 0.6388642788, -0.3350662589, 0.4250441194, -0.1165825874, 0.0990258902, -1.2729567289, 0.0909225643, 0.0804296061, -0.2576231658, -0.0144436006, -0.5558843613, 0.3958167434, -0.0779037625, -0.0181162283, 0.3419110477, -0.5699843168, 0.7434436083, 0.4202607572, 0.1846671402, -0.10371764, -0.1248864904, 0.2408021986, 0.2012676597, -0.147857517, 0.0407609344, 1.2156059742, 0.4944548309, 0.4101328552, 0.0356836691, 0.5759361386, 0.1556969434, -0.1310340911, -1.1167274714, 0.5650500059, 0.1408373266, -0.7424561977, -0.6019585729, -0.3401254117, -0.9571996331, 0.486482501, 0.3673510253, -0.6445049644, -0.0894699842, 0.1161282733, -0.8889892101, 0.1691771597, -0.1914908737, 0.8717607856, -0.1744247973, -0.542229712, -0.2442691028, -0.8549000025, 0.4064899981, -0.288703084, 0.1201539189, -0.3312704861, -0.02195655, 0.8308523893, 0.1105822101, 0.7240272164, -0.1460287273, -0.0376367085, 0.3277510107, -0.1588483751, 0.437277019, 0.2181025445, 0.3689564764, 0.2064622939, -0.375761658, -0.3668188155, -0.2007753402, 0.8482995033, -0.4470811188, -0.6928290725, -0.3860915303, -0.8612719178, -0.4995419681, 0.619489193, 0.0546062738, 0.3194969594, 0.0880101845, 0.5758444071, 0.603654623, 0.08792945, 0.6840781569, 0.0901902094, -0.3491257131, -0.5063510537, 0.4984842539, -0.0253095459, 0.2513615191, 0.5161491632, 0.0737193078, -0.1921284944, -0.5093596578, -0.5832865834, 0.3122677505, -0.7215496898, -0.3413351178, -0.8239365816, -0.1391772479, -0.597410202, -0.0089466674, -0.4458367229, -0.153941825, -0.1683279276, 0.0849385932, 0.1319280118, 0.3430368304, 0.1363369226, 0.6921408772, -0.4288159609, 0.4557202756, 0.6274896264, 0.4973688424, 0.156000182, -0.4349139631, -0.4099394381, -0.1109872758, -0.4323220849, -0.717150569, 0.4238604307, 0.1256418824, 0.0768666416, 0.7044550776, -0.1203855127, 1.0112973452, -0.8017343879, 0.4180307388, 0.2396430969, -0.8480008245, 0.1742481589, -0.5799447298, 0.814432025, 0.6608130336, 0.2720991671, -0.6305531263, -0.3626076579, -0.0046608569, -0.9851025343, 0.8568643928, 0.0991251692, 0.02674428, -0.1831538379, 0.2328413725, 0.175461337, 0.4963378906, -0.642763555, -0.1907298118, 0.0846270248, -0.0121204853, 0.0780447647, -0.4485950172, -0.1323035955, -0.2038802654, 0.4691981971, -0.3722062409, 0.4857968092, 0.1024808213, -0.3698958457, -0.1834317297, 0.2155820876, 0.7640429139, 1.2456743717, -0.3917147815, 0.2349983007, -0.0621097125, -0.4203034341, -0.1425884217, -0.1112114489, -0.0194829386, -0.0261888113, 0.2530831397, 0.7554160953, 0.3525575697, -0.6237344742, 0.6994922757, 0.2338684499, 0.1703171879, -0.6217451096, -0.3336170912, 0.4554077983, 0.2210382521, 0.5184934735, -0.0607121326, 0.172539115, -0.4968294203, 0.2955074012, 0.5860524774, -0.5390123725, -0.3383581042, 0.3973082602, 0.3114243746, -0.1344052553, 0.4410533309, -0.0904625207, -0.3881464601, 0.350551337, 0.6076725125, 0.987133801, -0.034016721, -0.3643344939, 0.0636075139, 0.0175701696, -0.1322255731, 0.0264010783, -0.2482642382, -0.3791832924, -0.7560939789, -0.6452929378, -0.2880516946, 0.5784370303, -0.6136237383, 0.297716856, -0.4364942908, -0.3469911814, -0.0927587226, -0.277022928, -0.5823097229, 0.214288339, 0.4293574691, 0.717104435, -0.2462654114, 1.033390522, 0.2913502455, 0.0641012043, -0.1466269344, 0.1132169291, 0.1030113176, -0.7163571715, 0.4630771279, 0.8701356649, -0.2288378477, -0.0203488357, -0.3634003103, -1.0165400505, 0.9572194219, 0.5144857764, -0.9310663342, -0.4219963253, 0.060402412, -0.0595936477, -0.4217077196, 0.2547925711, 0.5789118409, 0.2557404637, -0.0275936238, -1.0366318226, -0.0456217565, 0.3875867724, -0.0482399836, 0.2664581537, -0.9138063192, 0.9033902287, -0.1038597748, -0.2034712434, -0.255464375, 0.9057969451, 0.4769196808, 0.1236161962, 0.6923294663, 0.3506554365, 0.4627382159, 0.2090554833, 0.795933485, -0.5581162572, 0.3153956234, 1.1005749702, -0.2419972867, 0.8727048635, 0.9648399949, -0.0522440448, 0.2137145996, 0.4554736614, 0.6370962858, 0.7918394208, 0.2730164528, -0.2337337583, -0.2467461526, 0.1075237915, -0.3030554354, 0.4370328188, 0.1494494826, -0.2162194848, -0.1635821015, 0.1553553492, 0.2396700084, -0.2771122158, -0.4211507738, 0.4188284278, 0.4435916841, -0.7817614675, 0.6439834237, -0.0160158277, 1.1906943321, -0.7828118205, 0.3596815765, -0.1246440411, 0.4234294295, -0.0219044089, -0.5796649456, 0.2856528759, -0.1607706696, -0.2823587954, -0.2957752943, 0.4485017657, -0.6006161571, -0.0990075395, 0.4422775209, 0.2865382433, 0.1395977587, -0.9163640141, -0.4029650688, 0.3266839385, -0.0956782848, -0.4765426219, 0.5972002149, 0.4187318683, -0.0083616218, 0.5917945504, 0.436034441, 0.2059550285, -0.0712053254, -0.1437207907, 0.7949376702, -0.7903106809, -0.8128111959, -1.098090291, 0.2714936137, -0.1327854395, -0.3196196258, 0.4806174636, 0.5710952282, 0.9950964451, -0.2764971256, 0.6624419689, 0.1337907612, 0.6166481972, -0.2820215225, 0.8655609488, -0.5302026272, -0.3327614069, 0.0941988379, -1.0786798, -0.385902077, 0.4140962064, -0.0421241187, 0.0147706373, 0.8672409058, 0.2917258143, -0.3964818418, -0.3922779858, 0.4783571362, -0.1200109199, 0.2832907438, 0.9956590533, 0.3991376162, 0.0566532351, 0.3728099763, -0.354914695, -0.1755136698, -0.3389404416, -0.9147082567, -1.1770379543, -0.3021284044, -0.1304290146, 0.0245552883, 0.3005131781, 1.151154995, 1.1661672592, -0.6506245732, -0.5843402147, 0.2661218941, -0.1987664551, -0.3068831861, -0.1750571281, 0.4315995574, -0.495413512, -0.7983101606, 0.839482367, 0.6871534586, -0.2569419146, -0.348228246, 0.002468732, -0.0172094218, -0.0278103966, 1.0928275585, 0.2549389005, -0.7543097734, -0.4108205736, -0.0418085083, -0.1294383109, 0.2828458846, 0.7279159427, -0.7826412916, 0.3417095244, 0.2255665064, 0.9054182768, 0.3976706564, -0.0944922715, 0.3426731229, -1.0701388121, 0.5837833881, 0.3119623065, 0.3590444922, 0.4916369617, -0.4672375917, 0.3751889765, 0.0666852668, -0.5213465691, -0.9436681271, 0.3491566181, -1.2092818022, -0.4122954905, 1.2339221239, -0.0993288532, -0.6930112243, 0.0736872256, 0.0683326051, 0.2402009368, -0.5180830956, 0.5816837549, 0.5666801333, -0.0675649047, -0.0332534686, -0.5456473827, 0.5695238709, 0.3503133655, -0.6020847559, 0.4502684176, 0.2794663608, 0.2268327773, 0.1982911229, 0.7561340332, -0.0608180352, 0.1717364639, -0.5420891047, -0.0307501126, -0.3530562222, -0.771936357, -0.34713763, 0.3640239835, -0.0038575935, -0.2665870488 ]
http://arxiv.org/abs/2402.10675v1
http://arxiv.org/pdf/2402.10675v1
German Text Simplification: Finetuning Large Language Models with Semi-Synthetic Data
2024-02-16T13:28:44
2024-02-16T13:28:44
Lars Klöser, Mika Beele, Jan-Niklas Schagen, Bodo Kraft
cs.CL
cs.CL, I.2.7
This study pioneers the use of synthetically generated data for training generative models in document-level text simplification of German texts. We demonstrate the effectiveness of our approach with real-world online texts. Addressing the challenge of data scarcity in language simplification, we crawled professionally simplified German texts and synthesized a corpus using GPT-4. We finetune Large Language Models with up to 13 billion parameters on this data and evaluate their performance. This paper employs various methodologies for evaluation and demonstrates the limitations of currently used rule-based metrics. Both automatic and manual evaluations reveal that our models can significantly simplify real-world online texts, indicating the potential of synthetic data in improving text simplification.
[ -0.3017188013, -1.0143499374, 0.7975081801, 0.0934635773, -0.4364136159, -0.1358565986, -0.2912840247, -0.4666362405, -0.1047867537, 0.1977070719, -0.7127179503, -0.5642207861, -0.2470411807, 0.5939415097, -0.5580633283, 1.1145330667, -0.2141964585, 0.3457551897, -0.1434215605, 0.2266110033, 0.0991009772, -0.6909025908, -0.4449406564, -0.4381387532, 0.2897936106, 0.3113642037, 0.7418420911, 0.8353004456, 0.4468938112, 0.3660677373, -0.3202287257, 0.2446594983, -0.7449986935, -0.1049933434, 0.0146586141, -0.2640506625, -0.3564087749, 0.017332226, 0.8033083081, 1.0012654066, -0.0654072389, 0.0431360379, -0.1035315767, 0.4181976318, -0.2127788365, 0.4637796581, -0.313645184, 0.1185815558, -0.0581444129, -0.1533645838, -0.3194496036, -0.5910781622, 0.0633371994, -0.845790267, 0.7436798215, -0.0536643341, 0.9468973875, 0.1568423659, -0.4322508276, -0.3716008365, -1.2381266356, 0.7816311121, -0.8300840259, 0.2959643304, 0.0684705004, 0.2561734915, -0.0680124089, -1.1106466055, -0.6546711326, -0.2854637504, -0.3341325223, 0.1205174997, -0.1592139304, 0.2654913366, 0.559910059, 0.5857979655, -0.5182337761, -0.1761366129, -0.8679866195, -0.2493067682, 0.667375505, 0.0504858233, 0.363373816, -0.1199986413, -0.1419357061, -0.1995565891, -0.731151998, -0.5145834088, 0.5728654265, 0.2862406969, -0.0387485623, 0.626499176, -0.472345978, 0.4917016327, -0.1864946932, -0.1136248633, 0.3816950619, -0.6195584536, -0.3179806471, -0.0025581159, 0.661580205, 0.3831848204, 0.3768052161, -0.3675761223, -0.3906772435, 0.0868640989, 0.1507080495, -0.9726749063, -0.1208912507, 0.1354254335, -0.3664458394, -0.3116653264, 0.1974339783, -0.6503558755, -0.0907873213, -0.6517070532, 0.3620786369, -0.388232708, 0.0764702633, 0.3399040997, -0.457926333, 0.0293023884, 0.549746871, -0.6617488265, 0.253459841, 0.5411602855, 0.7459664345, -0.064751409, -0.2463985533, -0.0576284453, 0.2712033093, -0.4800249636, 0.5179743767, -0.2302440703, -0.3511561453, 0.0808363408, -0.0140822437, 0.3422482014, -0.6697198749, 1.0867909193, -0.303381741, 0.4177104533, 0.1764771491, -0.8414883614, -0.1429462582, 0.1132152528, -0.9933971167, 1.0775271654, 0.1786990464, -0.6690678, 0.2124211639, -0.5254917145, -0.6689395308, 0.0819938406, 0.1092696786, -0.5302303433, 0.2104631066, 0.114224337, 0.4968984425, -0.4794152379, 0.4356175363, -0.1871897727, -0.4517752528, -0.0675881207, -0.6481814981, 0.4395938218, 0.4777456224, -0.2229369432, -0.0799463689, -0.9595088363, 0.1165025979, 0.1591059417, -0.5248503089, -0.4164755046, -0.2401158214, 0.4855822921, 0.2472994477, 0.1861064434, -0.5840075612, 0.1482617855, -0.6033923626, 0.4539637566, 0.2554415762, 0.1060054898, 0.4723025262, -0.3914719224, 0.5443664193, -0.2020073682, 0.0693904012, -0.0728144646, -0.2421559691, -0.8180477023, -0.3273052871, 0.7016189098, 0.443549037, -0.6936784983, 0.3202210367, -0.595107913, -0.7463977933, -0.5677651167, 0.0502917431, 0.3121606708, 0.1555578709, 0.4104391038, 0.0390046537, -0.6248979568, -1.0949574709, -0.3467061222, 0.2623517513, -0.3960312903, -0.1597232521, 0.3771167994, -0.3703781068, 0.8135532141, -0.4509641826, -0.1640902013, -0.4735167623, 0.4366916418, -0.1141359732, 0.4985667765, 0.3817165494, -1.0606639385, -0.4674246013, -0.0938776359, -0.8068019152, -0.1540507227, -0.2491899729, 0.3264458477, 0.1437058598, 0.9259210825, -0.7292529345, 0.2267897576, 0.5288959146, 0.0242173001, 0.23899813, -0.6148108244, -0.0327419266, -0.9570837617, 0.0619330071, 0.2118728608, -0.5595123172, -1.0682469606, 0.2605370581, 0.1554147303, -0.2877530754, -0.5421570539, 0.652020216, -0.5121719241, 0.1871794164, -0.0269405078, -0.0085194474, -0.2201640457, 0.33948645, -0.0591174513, 0.719476223, 0.0837141275, -0.5335581303, 0.3381957412, 0.0899108574, -0.3237143457, 0.0169277415, -0.6883126497, -0.1592902392, -0.3203948438, 0.5014386773, -0.8926842809, -0.6870557666, -0.0719943866, -0.0497785956, 0.1823406965, -0.0729323179, -0.8937999606, -0.1538893282, -0.3015294075, 0.6034096479, 0.6482286453, -0.3952884674, 0.6201931834, 0.2418433428, -0.3767664135, 0.2221208215, -0.6340247989, 0.0181467179, -0.3505115807, -0.5188109279, 0.7206137776, -0.1857364476, -0.2002153844, -0.2193175405, -0.0223849099, -0.0137544051, -0.1029426306, -0.0298406202, 0.2709321678, 0.175750196, 0.1152789295, 0.2645064294, -0.0731605962, -0.1347717196, -0.0500362627, 0.6578691602, 0.0416954979, -0.1019305512, -0.6037538648, 0.4878552556, 0.5228876472, 0.2819311023, 0.587688148, 0.4940539598, -0.4582920074, -0.4338638186, -0.3548614383, -0.3443664014, -0.4859628379, 0.1252257824, -0.4820958078, -0.8517442346, 0.4926126301, -0.6130349636, -0.1696196347, 0.8051469922, 0.5645202398, -0.0996383652, 1.1331076622, 0.6735782623, 0.3598743081, 0.2676784694, -0.2299356461, 0.3778216243, 0.0204702746, -0.1660974175, -0.4439714849, -0.0036071648, -1.0819221735, -0.3046995401, 0.444489181, 0.2680745125, -0.0589314885, 0.2109410167, -0.3086707592, 0.5383621454, 0.6029763818, 0.1408874691, 0.4322744608, 0.2036887854, -0.1068066359, -0.0387638249, -0.5813441873, -0.6683867574, 1.0172343254, 0.3296700418, 0.6425241828, -0.1189241335, 0.7383263707, 0.2845157087, 0.1636089832, -0.6579532623, 0.5248727798, -0.1724824011, -0.6979814172, -0.3385706544, -0.6527307034, -0.6809945703, -0.0186837967, -0.191420868, -0.0878054276, -0.3400080204, 0.1759205908, -0.050730262, -0.1234799251, -1.2137688398, 0.6820812821, 0.2292276025, -0.0893078446, -0.1912948042, -0.4733368754, 0.2098579109, -0.6560396552, 0.3256642222, 0.1146489605, -0.0040070005, 0.5668183565, -0.7585070729, 0.8871293664, 0.1563975662, -0.2231783122, 0.1981369555, -0.0009022265, 0.9277204871, -0.2567455769, -0.0520631485, 0.1659062058, 0.0394569263, -0.4592997134, -0.5321905017, 0.6233515739, -0.6357062459, -0.4701006711, -0.2329556942, -0.4969227314, -0.1547913998, 0.4293624461, 0.3205716312, 0.3057967126, -0.4160763919, 0.1919904798, 0.2950470448, -0.0607482754, 0.3008210659, 0.274089545, -0.0060520777, -0.2812442183, 0.8715080619, 0.2607996464, 0.4302030206, 0.2102469206, 0.1050482094, -0.4547530711, -0.5688884854, -0.4017237723, 0.377397567, -0.8844976425, -0.0114378352, -0.5538745522, -0.3499402106, -0.3291437924, -0.1801429242, -0.121219635, -0.9011483192, -0.230346337, -0.3822565079, 0.1448915005, 0.851207912, 0.0388717428, 0.5033558011, -0.7274803519, 0.4382839203, 0.0978419483, 0.1880529225, -0.30066818, -0.2985485196, -0.0806716457, 0.11673785, -0.2066989839, -0.7394706011, 0.6268000007, 0.0952763781, 0.4257870615, 0.1181187853, 0.1231956705, 0.4810987413, -0.765576005, 0.5303782225, 0.0639270693, -1.0260711908, 0.255990237, -0.8100212216, 0.2864119112, 0.3162370026, 0.5751995444, -0.4801666737, -0.5650203824, -0.990430057, -0.9947012067, 0.7383493185, 0.6240076423, 0.4404742718, 0.349860996, 0.4670607448, 0.1777175367, 0.2456467301, -0.7812594175, -0.3371917605, 0.0763590932, -0.6247538328, -0.1164678857, -0.2862745225, -0.1383026093, -0.3352249861, 0.7814378142, -0.0575721152, 0.1023461744, 0.0510797575, 0.06077829, 0.0638304874, 0.3810413778, 0.6969663501, 0.5425800681, 0.013242892, 0.1175385192, 0.4555909932, -0.2820915282, 0.2564283311, 0.3844488263, -0.7767716646, 0.411645174, 0.3802455068, 0.6733034849, 0.1139312014, -0.7213199735, 0.2880784571, 0.0421441756, -0.4678970873, -0.3753969967, 0.0628680587, 0.2126633227, -0.1032000333, 0.312356323, -0.0391068421, 0.3607957363, -0.617272675, 0.1478760988, 0.0719587356, -0.0562167652, -0.3547491133, 0.4542395771, 0.01135075, -0.1692934632, 0.2250164896, -0.3748689592, -0.4328615665, 0.4853979051, 0.5723307133, 0.5290250778, -0.1077906415, 0.3037763834, 0.4493701458, 0.142326504, -0.5156931281, 0.2422326058, 0.2014041841, -0.453381449, -0.3961293995, -0.8136831522, -0.3165632188, 0.4620499909, -0.2479800135, 0.5662702918, -0.4373379648, -0.0538650453, 0.4563408196, -0.0685304031, -0.6185410023, 0.4750371277, -0.0485426225, 0.7174580693, -1.0346125364, 0.8290462494, 0.5996016264, -0.5972746015, -0.9329141974, 0.2163015157, 0.0190267004, -0.3127101064, 0.5176392794, 0.1370278597, -0.0544256978, 0.396792829, -0.555151701, -0.6541996598, 0.7488850951, 0.525134027, -0.4370367825, -0.2990795672, 0.5246094465, 0.9794566631, -0.0913631767, 0.1963585317, 0.5477852821, 0.6251165867, 0.1671650857, -0.868586421, 0.0742881, -0.1971026957, 0.0790329874, 0.2884529829, -0.3716876805, 0.8304685354, 0.1065201983, -0.6332294941, 0.0898843855, 0.4785576165, -0.2053640932, 0.1224778146, 0.3079258502, 0.472268641, 0.7245592475, -0.2399851233, 1.2100770473, -0.1600646228, 0.6257807612, 0.8412386179, 0.0106905038, 0.5921126604, 0.4573513269, -0.1154342666, 0.2366858274, 0.5778917074, -0.1549348235, 0.4537459016, 0.3922275305, -0.3997253478, -0.2866196632, -0.0780241042, 0.0392943509, 0.3386999965, 0.1423278004, -0.3379848003, -0.6097767949, 0.056266997, 0.1895437688, 0.2097442597, -0.1904174834, 0.9459584355, -0.121392034, -0.6321793795, 0.7398482561, 0.5487329364, 0.5182359219, -0.5045793056, -0.067044206, -0.2845214903, 0.5183343291, -0.0810140818, -0.4723187983, 0.2704573274, 0.2354399413, -0.1899287999, -0.5014705658, 0.5803360343, -0.6611099839, -0.7124491334, 0.0882547423, 0.5447716713, 0.2814804912, -0.0313867107, -0.4026192427, -0.1380914599, 0.2078350186, -0.1955315769, 0.2083740979, 0.675167501, -0.3105617166, 0.6753313541, 0.8662618995, 0.124999769, 0.1014559567, 0.0505353287, 1.0683424473, -0.6569114923, -0.5472800732, -0.8235103488, 0.2817443311, -0.2779362798, -0.1086557433, 0.8345100284, 0.9257774353, 1.2187498808, -0.3630720973, 1.0653868914, 0.1187007576, 0.7006916404, -0.5989473462, 0.6853349209, -0.5686838627, 0.0404992439, -0.1313102096, -0.8803688884, -0.517005384, 0.3092349172, -0.2406621724, 0.1919299215, 0.6843156219, 0.7834529281, -0.4926815927, 0.0329984389, 0.4083798528, 0.1516244411, 0.3287487924, -0.0287682042, 0.4943720996, -0.5282457471, 0.7697924376, -0.3351727426, -0.0051827049, -0.1796807647, -0.8284714222, -0.7812820673, -0.6819017529, -0.279489994, -0.0645608008, -0.0383601636, 0.808814466, 0.5908910632, -0.8079517484, 0.0398960747, -0.5372222662, -0.318231076, -0.0082610734, -0.2130747885, 0.3844079673, -0.4596262574, -1.1679173708, 0.4041671157, -0.1711697429, 0.7101662755, -0.2445867807, -0.0556098185, 0.071609661, 0.3272580206, 0.5277154446, 0.0291562025, -0.6516060829, -0.0368946902, -0.2551897168, -0.4783653915, -0.0619981699, 0.8611181974, -0.5547939539, 0.3556183279, 0.660215795, 0.3788918853, 0.6571826339, 0.3131200671, 0.8908644915, -1.009544611, 0.3896749914, 0.1178558096, 0.1416771859, 0.547580421, -0.1608044654, 0.5750597119, 0.309889853, -0.1901499182, -0.7730901837, 0.0316993408, -0.7274330854, -0.4180568755, 1.4280591011, -0.0416094139, -0.1392141879, -0.0378002524, -0.3260902166, 0.4779269993, -0.2304719388, 0.7181221247, 0.8042298555, 0.3188527524, 0.0368779339, -0.7850567698, 1.0890022516, 0.3162783682, -1.1265691519, 0.299605757, 0.8186737299, 0.1915564388, 0.1541027427, 0.2181800902, 0.0459524952, 0.0647881106, 0.0415929295, 0.0990171283, 0.0006689939, -0.2715597749, -0.4831343591, 0.2395161688, -0.1995206028, 0.4309274852 ]
http://arxiv.org/abs/2402.10671v3
http://arxiv.org/pdf/2402.10671v3
Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm
2024-02-16T13:24:05
2024-07-03T04:45:29
Yuanzhen Xie, Xinzhou Jin, Tao Xie, MingXiong Lin, Liang Chen, Chenyun Yu, Lei Cheng, ChengXiang Zhuo, Bo Hu, Zang Li
cs.CL
cs.CL
In-context learning of large-language models (LLMs) has achieved remarkable success in the field of natural language processing, while extensive case studies reveal that the single-step chain-of-thought prompting approach faces challenges such as attention diffusion and inadequate performance in complex tasks like text-to-SQL. To improve the contextual learning capabilities of LLMs in text-to-SQL, a workflow paradigm method is proposed, aiming to enhance the attention and problem-solving scope of LLMs through decomposition. Specifically, the information determination module for eliminating redundant information and the brand-new prompt structure based on problem classification greatly enhance the model's attention. Additionally, the inclusion of self-correction and active learning modules greatly expands the problem-solving scope of LLMs, hence improving the upper limit of LLM-based approaches. Extensive experiments conducted on three datasets demonstrate that our approach outperforms other methods by a significant margin. About 2-3 percentage point improvements compared to the existing baseline on the Spider Dev, Spider-Realistic, and Bird Dev datasets and new SOTA results on the Spider Test dataset are achieved. Our code is available on GitHub: \url{https://github.com/FlyingFeather/DEA-SQL}.
[ -0.1109570712, -0.9445218444, 0.5722854137, 0.1714146286, -0.3772999346, 0.1370693296, -0.4555289149, -0.2561199665, 0.1610251963, 0.7141105533, -0.736971736, -0.5093532801, -0.2826814353, 0.4299165308, -0.4122031927, 0.7378824949, -0.0070189969, -0.0274829995, -0.3085647821, 0.0307448339, -0.6459340453, -0.417455703, -0.6798512936, -0.085668765, 0.4876218438, 0.3789325655, -0.0272713844, 0.8358350992, 0.6716368794, 0.2158161253, -0.4964687228, 0.2719676495, -0.6748472452, 0.434152633, -0.5307341814, -0.5092341304, -0.4763484597, -0.421053499, 0.6760200262, 0.775339663, -0.291436851, 0.319270283, 0.3173847497, 1.1405888796, -0.8789902329, 0.2548524737, -0.5992385149, 0.0269902851, -0.2094334662, -0.3499101996, -0.641767621, 0.1142380908, 0.1434050798, -0.3633381426, 0.0476098023, 0.1421551108, 0.3916727006, 0.6373093128, -0.3983964026, 0.1157807335, -0.7000203133, 0.6038517952, -0.6814222932, 0.2748741508, 0.0334231853, 0.2198777795, -0.3454372585, -0.5626477599, -0.4685954154, 0.1856283396, 0.161408931, 0.1216954514, -0.1085447073, 0.0021750745, 0.3299387395, 0.4199525416, -0.4959929585, -0.0317201391, -0.2477466762, 0.0725111663, 0.4561032057, 0.3566925824, -0.0686604306, -0.140298605, -0.3381356299, 0.2194476426, -0.7540665865, -0.2158545405, -0.2857343256, 0.5106139779, 0.103716135, 0.6246353388, -0.5481500626, 0.9755630493, 0.1692878753, -0.1776751727, 0.2938484848, -0.3811430037, -0.709325254, -0.2166556716, 0.4572829008, 0.2477787733, -0.0855407566, -0.3586571813, -0.2749430239, -0.0035092528, 0.3283555508, -0.7768327594, 0.140877381, 0.3707403541, -0.5095217228, -0.2007633001, -0.4497126043, -0.6331446767, -0.5743846297, -0.6602638364, 0.2303604931, -0.2390737087, -0.2063032985, -0.0693370923, 0.0655914545, 0.1793459803, 0.5511577725, -0.5843886733, 0.1713677645, 0.6155959964, 0.7927336097, -0.7607445717, 0.1045182422, -0.5895726085, 0.4365946949, -0.3566847146, 0.9855148792, -0.5116997957, 0.1569482833, 0.0606589057, 0.0099133523, -0.2777977884, -0.9187170863, 0.3955236971, -0.665145576, 0.1862429231, -0.1056373194, -0.6867272854, -0.2777487636, 0.5201852918, -0.5264856815, 1.0490142107, 0.2184120417, -0.783126533, 0.279209286, -1.1171553135, -0.5499424338, 0.2248515785, -0.0118329823, -0.2137511373, 0.0247280411, 0.0874850079, 0.6862131953, -0.5407886505, 0.2226543128, -0.1379154027, -0.3511232436, 0.0836880729, 0.0917168111, 0.6916256547, 0.21050331, -0.4825700521, 0.3060660064, -0.9228796959, -0.1151326522, 0.1433359087, -0.3983323574, -0.1301894039, 0.0067305681, -0.0585439578, 0.203918606, -0.0013462389, -0.2352573723, 0.0006481615, -0.8860982656, 0.4743664265, 0.5973268747, 0.3671497703, 0.7160665393, 0.0015306154, 0.5036239624, 0.3100969791, -0.0019505168, -0.176851362, 0.0176110137, -0.9739766717, -0.4390206635, 0.1343459338, 0.6226122379, -0.7729339004, 0.4357081354, -0.0752282068, -0.1165261716, -0.1948412806, 0.2399083823, 0.29953596, 0.8131011724, 0.3456307948, -0.3719978333, -0.6280280352, -0.6862716675, -0.2942784727, 0.1224602461, -0.064532198, 0.2196248025, 0.4166385233, -0.3720546365, 0.8978142142, -0.5605860949, -0.7816051245, -0.4043767154, -0.212652266, 0.2680251002, 0.1494995356, 0.0770766735, -0.6794261336, -0.5278964043, -0.3043292761, -0.5424564481, 0.1204265505, 0.1791924089, -0.2689597011, 0.6593310833, 0.4444308877, -0.541136086, 0.4734988809, -0.047092706, -0.2893063128, 0.3397214711, 0.1123192459, -0.1211366951, -1.15893507, 0.2384987622, 0.0304450914, -0.1449339986, -0.6338695288, 0.0516809821, 0.0487676449, -0.0641947463, -0.4859620333, 0.4459747672, -0.7143287063, -0.1189536527, -0.3802401125, 0.3916978538, -0.2841069698, 0.7378908992, 0.1247620955, 0.7403227687, 0.7983952761, -0.9139629006, 0.2879231274, 0.1800828576, -0.2747426629, 0.7084536552, -0.2786663771, 0.1110694036, -0.3386714458, 0.1673650593, -1.1358804703, -0.347020179, 0.4646134675, -0.2512505352, 0.4066348374, -0.135212332, -0.6328089833, -0.022586016, -0.3630048335, 0.101839669, 0.3804560006, -0.4280109704, 0.6972306967, 0.4891813695, -0.1219285652, -0.5618337989, -0.638856709, 0.2319308817, -0.3249358535, -0.3309161365, 0.3832157254, -0.0881634876, -0.3370252848, -0.1793181747, -0.240169391, -0.2159440964, -0.042772498, 0.0198817533, 0.1910280734, 0.0884399638, 0.434684366, -0.1742279232, -0.179911837, 0.188196674, -0.4137994647, 0.3547392488, 0.3350133896, 0.2112123221, -0.4130100608, 0.3306133747, 0.4986742437, -0.4930890501, 0.7288339734, 0.433588177, -0.4846464396, -0.6827901006, -0.4480193853, -0.3011889458, -0.420575738, 0.3802499473, -0.0534536541, -0.9030870199, 0.2337632477, -0.3583560586, 0.1276696622, 0.1941514909, 0.8025238514, -0.2300638855, 0.7562944889, 0.899269104, -0.0202431101, 0.7043590546, -0.3175184429, 0.248556748, -1.1888107061, -0.3790948987, -0.4604617953, -0.025693031, -0.094553411, -0.7204006314, 0.3250340819, -0.2193450034, -0.226744473, 0.1687756628, -0.8404151797, 0.4541441798, -0.0267360732, 0.2934448123, 0.3508623242, 0.1890889853, -0.0474134199, -0.0063193347, -0.7476024628, -0.4126723707, 1.1401048899, 0.1763072461, 0.652205348, 0.1059212461, 0.7888637185, 0.3280850947, 0.4150604606, -0.9457399845, 0.7418177128, 0.1199961379, -0.4302430451, -0.4370286465, -0.463566035, -0.8578796387, 0.3765968084, 0.0410423279, -0.9172020555, -0.0481718145, 0.1822916269, -0.1258504689, -0.0609878637, -0.64153862, 0.848666966, 0.2052099407, -0.7723124623, -0.291721493, -0.5755103827, 0.3261329234, -0.0531718619, 0.2217457443, -0.0938100144, -0.3829005659, 0.914429009, -0.5177708864, 0.9140049219, -0.1703782082, -0.4836850166, 0.3475398719, -0.0923908427, 0.7207663059, 0.0153808445, -0.0942189619, -0.2547041178, -0.3648945987, -0.1390549093, -0.6089955568, 0.4125856757, -0.1523484439, -0.6463465691, -0.2928991616, -0.6134718657, -0.3717273176, 0.2478758544, -0.0524217151, 0.3887344897, 0.1378801912, 0.1937133968, 0.9467683434, 0.355494529, 0.761048317, 0.6512741446, -0.0883751214, -0.3827323616, 0.4660303891, 0.1360969543, 0.0712948665, 0.7311494946, -0.1589558274, -0.5529817343, -0.7344589233, -0.2100268155, 0.2689887583, -0.9174541235, -0.4758571982, -0.726536274, 0.0847939774, -0.2225340307, 0.2584567368, -0.0843911543, -0.1753477901, -0.5212062597, 0.1957454979, 0.2812387049, 0.3814702034, 0.5291637182, 0.1095915139, -0.4596409798, 0.2701622546, 0.0808111802, 0.3833512366, 0.2062433809, -0.71883744, -0.3849572241, -0.2936134636, -0.2116181403, -0.9774335623, 0.3467718959, 0.1540131718, 0.4487871528, 0.066369459, 0.2178410292, 0.7458029389, -0.3493000567, 0.4812413156, -0.022620488, -1.030077219, 0.7467861772, -0.2671902478, 0.4382764399, 0.5347913504, 0.0942896754, -0.1455164701, -0.4984094203, -0.4667387903, -0.8536694646, 0.9894769192, 0.2948901355, -0.25791803, 0.2038960308, 0.5823355317, -0.2234275788, 0.2887131274, -0.8053417206, -0.2750476897, 0.4618372321, -0.1761432141, -0.0764875039, -0.3461612761, -0.0543411672, -0.355730176, 0.5978887677, -0.3810870647, 0.3463414013, 0.2400248349, -0.3869245946, -0.0681899413, 0.428032726, 0.3766153753, 0.9399639964, -0.0501353852, 0.1479584873, 0.4222100973, -0.2818483114, 0.1188756898, -0.2672421038, -0.1007049307, -0.2078219801, 0.273876816, 0.4601967931, 0.1611092836, -0.8322723508, 0.4207045734, -0.0384477638, -0.1231560633, -0.1487129033, 0.4053344131, 0.2683805525, 0.3891468048, 0.4798522592, 0.0895391032, 0.5716619492, -0.5506818295, 0.0410225913, 0.2551438212, -0.3073112667, -0.0148493825, 0.4204896092, 0.2975939512, -0.3445079327, 0.1856687367, -0.2271194756, -0.4344108403, 0.5761331916, 0.8053476214, 0.9649808407, -0.1232977435, -0.0970041081, 0.4073618054, 0.1708944142, 0.0063786171, 0.6131153107, -0.4636237025, -0.3011861145, -0.6548501253, -0.4301932752, -0.3971680105, 0.060122408, -0.438555479, 0.2661523819, -0.3967246711, -0.1206454709, -0.051156912, 0.0312949419, -0.4241051972, 0.2531560957, -0.0808437094, 0.8647375107, -0.4758919775, 0.7277154326, 0.9671546817, -0.2629008293, -0.5762052536, 0.3855673671, -0.2112291902, -0.2484330684, 0.7645545006, 0.347091198, -0.1468499899, 0.1364844441, -0.4901669025, -0.9222899675, 1.0033518076, 0.4646435678, -0.6480116844, 0.2349415123, -0.0574865341, 0.6276404262, -0.6024742126, 0.1330147684, 0.5788844228, 0.358610779, 0.1374583691, -0.6747692823, 0.2828730643, -0.0801573843, 0.2557619214, 0.3235932887, -0.6474594474, 0.482986331, -0.3358978629, -0.4775444865, -0.431335777, 0.591150403, 0.1125118211, 0.1907452792, 0.5229465365, 0.3922926486, 0.6852176189, 0.0402090736, 0.5535841584, -0.1732570678, 0.3368287683, 1.0518945456, -0.5729647875, 1.0731818676, 0.7201020122, -0.1158161685, 0.5389267802, 0.6051096916, 0.2146860361, 0.656719327, 0.3613052368, -0.1393439323, -0.2156472504, -0.2046001554, 0.0230717976, 0.3672788739, 0.3510198593, -0.2740758657, -0.2424388379, 0.1693867892, -0.0758608058, 0.1325210631, -0.3862254322, 1.244833827, -0.0629177392, -0.7642296553, 0.9892093539, -0.0494675487, 0.5763220191, -0.2163004279, -0.1384821087, -0.2545192838, 0.5076180696, -0.4460947812, -0.5608713031, 0.3526020348, 0.2066603899, -0.5027427673, -0.1973626316, 0.7698524594, -0.5823941231, -0.1190702915, 0.3533253372, 0.3078867495, 0.032457877, -0.2627524436, -0.5875939131, 0.1818207651, 0.0348911099, -0.2961655259, 0.2270948142, 0.4645557106, 0.0220061801, 0.8267912865, 0.4336912036, -0.171873793, -0.2998026013, 0.0779015869, 0.9648609161, -0.7213302255, -0.6751226783, -0.9851433039, 0.5775129199, -0.3071472049, -0.0146261808, 0.6401904225, 0.7738522887, 0.5885048509, -0.2232833952, 0.5504587889, -0.0580662079, 0.7632752657, -0.4842139184, 0.5018330812, -0.6352685094, 0.4273674488, -0.343680948, -1.0548735857, -0.4740099907, 0.393887043, -0.064416565, 0.0515755862, 1.0664488077, 0.8004556298, 0.2908560336, -0.2904593647, 0.1088582277, 0.1750602871, 0.0418471135, 0.7486574054, 0.76132828, -0.348562479, 0.5140803456, -0.0632351637, -0.4449476302, -0.4528006315, -0.8412026763, -1.2630348206, -0.6163880825, -0.5419213772, -0.1935110837, 0.0718618035, 0.9019932151, 0.7036964297, -0.5573709011, -0.2583482862, -0.2302244455, 0.2461210489, -0.4096289873, -0.2582847774, 0.5030376911, -0.9285353422, -0.556219101, 0.4021522105, 0.8551958203, -0.2195366621, -0.1577718109, 0.0842454508, -0.196428135, 0.0351000987, 1.0202126503, -0.1316095591, -0.6173447371, 0.1935601383, 0.1387906373, -0.1517575532, 0.2652518153, 0.691470325, -0.8559665084, 0.3222035766, 0.576983273, 0.6663511992, 0.5666704178, -0.1179827973, 0.4399122, -0.7816755176, 0.1141236797, 0.3793743551, 0.2748011053, 0.2148721069, -0.6552816033, 0.8335599899, 0.2420030236, -0.2499613166, -0.9902804494, 0.057812497, -1.0774497986, -0.1366066486, 1.198107481, 0.0868819579, -0.7021002769, -0.2400165349, -0.3327557147, 0.3043221533, -0.3634603322, 0.871907413, 0.4062995315, -0.2574094236, -0.2992676198, -0.2785104215, 0.634636879, 0.6242209673, -1.3763939142, 0.7166148424, 0.5235958099, 0.333255887, 0.0117384223, 0.6268475056, -0.2591120005, 0.3096017241, -0.450647682, 0.0067131249, -0.0539032668, -0.4699080586, -0.4660156071, 0.2112717927, -0.0339530706, -0.1747530401 ]
http://arxiv.org/abs/2402.10670v2
http://arxiv.org/pdf/2402.10670v2
OpenFMNav: Towards Open-Set Zero-Shot Object Navigation via Vision-Language Foundation Models
2024-02-16T13:21:33
2024-03-25T02:52:43
Yuxuan Kuang, Hai Lin, Meng Jiang
cs.CL
cs.CL, cs.RO
Object navigation (ObjectNav) requires an agent to navigate through unseen environments to find queried objects. Many previous methods attempted to solve this task by relying on supervised or reinforcement learning, where they are trained on limited household datasets with close-set objects. However, two key challenges are unsolved: understanding free-form natural language instructions that demand open-set objects, and generalizing to new environments in a zero-shot manner. Aiming to solve the two challenges, in this paper, we propose OpenFMNav, an Open-set Foundation Model based framework for zero-shot object Navigation. We first unleash the reasoning abilities of large language models (LLMs) to extract proposed objects from natural language instructions that meet the user's demand. We then leverage the generalizability of large vision language models (VLMs) to actively discover and detect candidate objects from the scene, building a Versatile Semantic Score Map (VSSM). Then, by conducting common sense reasoning on VSSM, our method can perform effective language-guided exploration and exploitation of the scene and finally reach the goal. By leveraging the reasoning and generalizing abilities of foundation models, our method can understand free-form human instructions and perform effective open-set zero-shot navigation in diverse environments. Extensive experiments on the HM3D ObjectNav benchmark show that our method surpasses all the strong baselines on all metrics, proving our method's effectiveness. Furthermore, we perform real robot demonstrations to validate our method's open-set-ness and generalizability to real-world environments.
[ -0.260679096, -0.7888751626, 0.5585012436, -0.2644122839, -0.3335253596, -0.1478996873, -0.326166749, -0.2546968162, -0.1179853454, 0.8213651776, -0.6461465955, -1.047440052, -0.2782473266, -0.3824005425, -0.2043480277, 0.5392976999, -0.2314903438, -0.3817515671, -0.3743044436, -0.3495115042, -0.4435508847, -0.3299102783, 0.0244145934, -0.1787740439, 0.3999761045, 0.6997737885, 0.8802525401, 0.8689774871, 0.5850573182, 0.0912550911, 0.0358236954, 0.1201918349, -0.5994229317, 0.1172845364, -0.5270318389, -0.4883143008, -0.0825992748, -0.1862176061, 0.3527998328, 0.7220551968, -0.1569185108, 0.1808501631, -0.3933135271, 0.6843506098, -0.9852693081, 0.3511988819, -0.3782767355, 0.4099233449, -0.1008395255, -0.1931000352, -0.3147597909, 0.0374794044, 0.2268774509, -0.8041426539, 0.109877266, 0.0272523239, 0.9026537538, 0.4186849594, -0.3265742064, 0.0275007673, -0.9580105543, 1.053745389, -0.3428456485, 0.5218735933, 0.1894940287, 0.6801837683, -0.3709038496, -0.3563828468, -0.3491977751, -0.3795598745, 0.3342932761, -0.0358328484, -0.1790456176, 0.0326374359, 0.0118059246, 0.189809382, -0.6473841071, -0.0980103686, -0.2112920731, 0.0590784475, 0.3597869575, 0.0545033589, 0.3251539767, 0.1822681874, -0.5546377897, -0.2419113964, -0.7790027261, 0.4030613601, 0.0329628699, 0.6776386499, 0.0071650073, 1.0257285833, -0.9019591212, 1.2270805836, -0.4378727078, -0.0067456858, 0.1793920994, -0.2494741827, -0.4486792088, 0.1085517928, 0.4187210798, 0.5788017511, 0.7247031927, -0.3434188068, -0.2113379538, 0.0863015428, 0.2564415932, -0.6796646714, -0.0874304175, 0.2397107035, -0.3627457023, -0.42405954, 0.2139492631, -0.5351442099, -0.2464869767, -0.3230240941, 0.5920351148, -0.2515058517, -0.4293848574, 0.7395372987, -0.1029343009, 0.5290269852, 0.552716136, -0.5103839636, 0.1101509854, 0.6006551981, 0.7851605415, 0.1830655187, -0.1068344116, -0.8992782831, 0.3123807907, -0.5945400596, 0.6974993944, -0.7931265831, -0.4172556102, -0.0314823948, -0.1209576949, 0.0876530483, -0.3003742993, 0.0499365367, -0.1147488579, 0.1465086043, -0.0182346236, -0.106069915, -0.6024744511, 0.6682220697, -0.2895703912, 0.8798643351, 0.1135358289, -0.1066196933, 0.2848127484, -0.9846113324, -0.4597584605, -0.0930419341, -0.2948273718, -0.0289675314, 0.1640004367, 0.3844742179, 0.6191952229, -0.1309271455, 0.0321184583, -0.3267789185, -0.5622241497, -0.1767759919, -0.1591351777, 0.6658361554, -0.0867500231, -0.4598350823, 0.1920319498, -0.574541986, -0.1032048389, 0.3840431273, -0.319506377, -0.3237980008, 0.2867534459, -0.3714431226, 0.3140937388, 0.0306329448, -0.7574878335, 0.3489980698, -0.6475255489, -0.146971941, 0.4545595348, 0.1685052365, 0.6597169042, -0.1677875072, 0.6058598757, 0.1788209677, 0.2778030336, -0.5701603293, -0.8596591353, -0.7134516239, -0.084285669, -0.1178613678, 0.554028213, -0.8665438294, 0.1696472317, -0.2003088742, -0.3475699127, -0.4312368333, 0.0674765408, 0.6090034246, 0.7625681758, 0.6427150369, -0.1857939959, -0.2554478347, -0.5584446788, 0.1002576128, -0.0178994611, -0.2033821642, 0.5060543418, 0.6013442874, 0.0678989887, 1.1075825691, -0.7275214195, -0.6301971674, 0.0024972747, -0.2673541009, 0.0174355172, 0.422344774, 0.5457749367, -0.8350476027, -0.0000416767, 0.3180991113, -1.153717041, 0.3032315671, 0.0933998451, -0.4385280311, 0.1390213668, 0.4996618629, -0.4748629928, 0.9835186005, 0.0975072607, -0.3717247844, 0.1552537084, -0.0123301884, 0.0273677129, -0.6772635579, 0.1439848095, 0.0777192712, -0.21992293, -0.6857386827, 0.5976436734, -0.2753634751, -0.2098133266, -0.9678411484, 0.6686590314, -0.5322346091, -0.3309734762, -0.1278406531, 0.3970188797, -0.0141507089, 0.8480243683, 0.280805856, 0.1875264794, 0.7558481693, -0.6399071813, 0.3572512269, 0.2542244792, -0.3089583516, 0.6898061633, -0.3084504008, -0.034424115, -0.408282578, 0.2097762078, -0.6983986497, -0.0073628239, 0.650524199, -0.488942802, -0.0550839528, -0.377583921, -0.2651907206, -0.2133553177, -0.134561643, 0.0238025207, 0.3705155849, -0.5665801167, 0.7702299953, 0.0731747299, 0.4987415075, -1.0121459961, -0.6201912165, -0.0406372137, 0.3558146954, -0.5787249804, -0.1185996309, -0.0995510593, -0.2186868191, 0.1641424149, -0.5179374814, 0.0361925624, 0.3492590785, 0.543638587, 0.4221138358, -0.6004591584, 0.0117038814, -0.297906667, -0.1475463808, -0.1842175126, -0.5811889768, 0.5164074898, -0.3607747257, -0.6600004435, 0.0582358167, 0.176368475, 0.3966446817, -0.7069257498, 0.5180495977, 0.2480097115, -0.5453228354, -0.269113481, -0.0683635548, 0.0649778619, -0.4052047729, 0.2045273185, -0.6029937267, -0.8814215064, 0.1250050217, -0.1424960047, 0.4278611839, 0.0826432705, 0.4459282756, -0.0543666966, 0.8288064599, 0.6653928161, 0.3120566308, 0.2279057503, -0.5604906082, 0.1385129541, -0.5590907931, -0.729655087, -0.4536860287, -0.4788572788, 0.2792470753, -0.9853861332, 0.0834231675, 0.3440905213, -0.1846821606, 0.3616092205, -0.6054205894, 0.9040676355, 0.5148056149, 0.2899827957, 0.415001452, 0.0148386722, -0.5663012862, 0.3835155368, -0.5862408876, -0.3403885961, 1.2163813114, 0.0999109522, 0.4821840525, 0.2020382732, 0.7203112245, 0.1414518952, 0.1845694333, -1.1107703447, 0.8899552822, -0.0329694897, -0.6844960451, -0.5335398316, -0.2665337026, -0.7975780368, 0.4982575178, -0.1288393438, -0.8274050951, 0.2246297002, 0.1046146527, -0.1640659422, 0.5252088904, -0.3554004431, 1.1117274761, -0.2064355016, -0.2059463859, 0.0140518732, -0.8231552243, 0.5221511722, 0.1995836496, -0.0669446364, -0.485809356, -0.2940015793, 0.1885094643, -0.3391734958, 0.7340739369, -0.5807888508, 0.0070984131, 0.3954802752, 0.4708305299, 0.1563831568, -0.2452261746, 0.1869035959, 0.362313211, -0.3941901326, -0.4368490577, -0.5728709102, 0.5845733285, -0.3907034099, -0.3062855601, -0.3454209864, -0.2527243197, -0.2151940614, 0.2565253675, -0.0697614178, 0.3888111413, -0.4716513753, 0.444344759, 0.8006147146, -0.2595928609, 0.5055319071, 0.8327999711, -0.6989290714, 0.1799681932, 1.0625011921, -0.0870470405, 0.0883237496, 0.8118047714, 0.1094897613, -0.1868568361, -0.4847170115, -0.8998683095, -0.1041382104, -0.6174489856, -0.4017936587, -0.3531391025, -0.0706255212, 0.0022384503, -0.4558677971, -0.4184683561, -0.3692851961, -0.4437755346, -0.0898408368, 0.2016067654, 0.3773017824, -0.0041790851, 0.1548749655, -0.5521175265, 0.6814851165, 0.1796066463, 0.5821222067, -0.0102811363, -0.1809854358, -0.1221219674, 0.2874602079, 0.0602410957, -0.6178063154, 0.0343833864, 0.0587145165, 0.6611036658, 0.6754366159, 0.2914907336, 0.4976509809, -0.4035159647, 0.6379558444, 0.2006701082, -0.699948132, 0.8619837165, -0.4981613457, 0.5348619223, 0.3877813816, 0.3424646556, -0.4158318937, -0.1514434218, -0.2441216409, -0.5939009786, 0.8311335444, 0.2571717501, -0.268180877, 0.0791253299, 0.1919330359, -0.2406801879, 0.3570427597, -0.4083330929, 0.0376908146, -0.4893764555, -0.2489150465, -0.1475673914, 0.3397122324, -0.2488375753, -0.0230499431, 0.4001515806, -0.4478579164, 0.1337421983, 0.1776638627, -0.4077816606, -0.4091368914, 0.0308629237, 0.8841184378, 0.3271102607, -0.6428461075, -0.1685409397, -0.2938593328, -0.1800962389, 0.2308281362, -0.0569379963, -0.2588767111, -0.0329008885, 0.1107985824, 0.7879309654, 0.5468636155, -0.932772398, 0.9134696126, 0.1861290485, -0.4884988666, -0.087381199, 0.4134604931, -0.0007352632, 0.2356334329, 0.1841404289, 0.4781502783, -0.1517531127, -0.51964432, 0.2229872793, 0.4630268216, -0.6906252503, -0.0848031119, 0.6964190006, 0.1852567792, -0.46560359, 0.5383701324, -0.0484646782, -0.1231207773, 0.7504700422, 0.1814154088, 0.8204324841, -0.2448144704, 0.4780655801, 0.1114166752, 0.5153890848, -0.3808961511, 0.4024432003, -0.3594568372, -0.7563726306, -0.3536891639, -0.7161744833, -0.6505826712, -0.2013707161, -0.574518919, 0.1711865515, -0.7177954316, 0.3432591259, -0.3447153866, -0.465863198, -0.7413491607, 0.2920999229, 0.2435607463, 1.1185133457, -0.4418932498, 0.8013754487, 0.8137814999, -0.6002831459, -0.4287603199, -0.1059611291, 0.277066201, -1.0386698246, 0.4119603038, 0.4992421865, -0.5696527958, 0.024811646, -0.6693991423, -0.8068904877, 1.1111609936, 0.2017886341, -0.3919994831, -0.2457975894, 0.1488762945, 0.3274897039, -0.6477815509, -0.1181643903, 0.2939324379, 0.4859378934, 0.4358351231, -0.500854969, -0.0595960841, -0.0323751047, -0.0361819528, 0.4684505761, -0.377768755, 0.5946698189, -0.5681937337, -0.144109413, 0.0745050833, 0.457044065, 0.1169116572, 0.4464706481, 0.5335633755, 0.7398828268, 0.3575570881, -0.1199967638, 0.8101343513, -0.0138177434, 0.1240550503, 1.1821967363, -0.5466639996, 1.1742035151, 0.288770169, 0.3570529819, 0.5697245002, 0.0855436251, -0.0415424332, 0.6653425097, 0.3649359047, -0.268383801, -0.3801516891, -0.1300508827, -0.0540268794, 0.8403625488, 0.3093276918, -0.1367711425, -0.6630183458, 0.4382070303, -0.1902250946, 0.1634286344, -0.4348535538, 0.5990710258, -0.1652387232, -0.5215798616, 0.4429537952, 0.1465902776, 0.3113358617, -0.6109952331, -0.3831242621, -0.1684786975, 0.1927840561, 0.0003866718, -0.872423172, 0.1665920019, 0.0674301982, 0.0351256505, -0.2076041102, 0.8341429234, -0.2926746011, -0.253720969, 0.3256109953, 0.6903493404, 0.2156736851, -0.4604125321, -0.3992171586, -0.1979717016, 0.1679926515, -0.3196624815, 0.3342145383, 0.180261299, -0.1315934956, 0.9633378386, 0.8873214126, -0.2210119665, 0.0045627281, -0.2047584802, 0.7326526046, -0.8079876304, -0.3254909813, -0.5480655432, 0.7106685638, 0.1576164812, -0.1971079558, 0.3100339472, 0.5760585666, 1.1349657774, -0.2149399966, 0.4193241596, 0.2508795559, 0.3561191857, -0.5867568851, 0.5621026754, -0.694141984, 0.0380853377, -0.0030758758, -1.0361565351, -0.6549648643, 0.8360753655, -0.0674335137, -0.2479723841, 0.3158163428, 0.8720296025, -0.3980274796, -0.2750251889, 0.6732908487, -0.0878655314, 0.2405569851, 0.7442767024, 0.6335631013, -0.1230645329, 1.0811064243, -0.2435311973, -0.2368343025, -0.4622496665, -0.8852672577, -0.930629611, -0.1726686954, -0.2376087159, -0.0936294869, 0.2440769523, 0.7279648185, 0.8028664589, -0.4988184571, -0.2720479071, -0.2141780853, 0.2003613114, -0.3273093104, -0.2313438505, -0.135664925, 0.1275121123, -0.3886544704, 0.983068943, 0.7676279545, 0.1699763834, -0.4810674489, -0.3188281953, -0.4840123951, 0.2253576219, 0.5125874281, 0.8262090683, -0.8376935124, -0.4096178114, 0.1526226401, 0.1313779801, 0.2842315137, 0.6906016469, -1.3019214869, 0.8840007782, 0.2528739572, 0.5463915467, 0.4944161475, -0.1317941695, 0.5407108068, -0.9962791204, 0.322930932, 0.180279091, 0.2774177492, 0.2661462128, -0.0221119616, 0.835830152, 0.2099490762, -0.0788911358, -0.7860844731, 0.4094873965, -1.166867137, -0.5115998983, 0.7645817995, -0.2506936491, -0.4599330425, -0.0627840012, -0.2322856486, 0.041568201, -0.4557685554, 0.242852658, 0.3710629642, 0.0203191228, -0.2785619199, -0.5860031247, 0.0834583417, -0.0160642192, -0.6633998156, -0.1322649866, 0.6849017739, 0.1168801412, 0.1796912998, 0.5230305195, 0.0061409287, 0.4779495597, -0.0241907593, 0.1017362103, -0.7276569605, -0.8581125736, -0.3702165484, 0.4625935256, -0.3514828086, -0.7781582475 ]
http://arxiv.org/abs/2402.10669v4
http://arxiv.org/pdf/2402.10669v4
Humans or LLMs as the Judge? A Study on Judgement Biases
2024-02-16T13:21:06
2024-06-16T12:30:34
Guiming Hardy Chen, Shunian Chen, Ziche Liu, Feng Jiang, Benyou Wang
cs.CL
cs.CL
Adopting human and large language models (LLM) as judges (a.k.a human- and LLM-as-a-judge) for evaluating the performance of LLMs has recently gained attention. Nonetheless, this approach concurrently introduces potential biases from human and LLMs, questioning the reliability of the evaluation results. In this paper, we propose a novel framework that is free from referencing groundtruth annotations for investigating Misinformation Oversight Bias, Gender Bias, Authority Bias and Beauty Bias on LLM and human judges. We curate a dataset referring to the revised Bloom's Taxonomy and conduct thousands of evaluations. Results show that human and LLM judges are vulnerable to perturbations to various degrees, and that even the cutting-edge judges possess considerable biases. We further exploit these biases to conduct attacks on LLM judges. We hope that our work can notify the community of the bias and vulnerability of human- and LLM-as-a-judge, as well as the urgency of developing robust evaluation systems.
[ -0.2685921192, -0.3209910095, 0.5590820312, 0.1949168444, 0.0162987281, -0.0129531026, -0.2942123413, -0.5734586716, 0.0093672061, 0.734485507, -0.4776816964, -0.4362431765, -0.6577920914, 0.1724830121, -0.3424688578, 0.8682549596, 0.3697005212, 0.5351880193, -0.3861373365, -0.1380266547, -0.3830940425, -0.7409830689, -0.0634769127, -0.4122091532, 0.6954445243, 0.4075556397, 0.8562235236, 0.1376204193, 0.7424662113, 0.0950302631, -0.2562462986, -0.1014533266, -0.3230481744, -0.1014934033, -0.730294764, -0.7551136613, -0.4513306022, 0.516050756, 0.2694516182, 0.7390683889, -0.110791795, 0.3648495078, -0.1413679123, 0.761420846, -0.8905928135, -0.185528174, -0.802867651, 0.2186724544, -0.3361011147, -0.1851611584, -0.5335581303, -0.3094055653, 0.0463279821, -0.2973581254, 0.1693463326, 0.2054540813, 0.7340622544, 0.2272007316, -0.4212608039, -0.0946958661, -0.6238597631, 0.819052279, -0.5522673726, 0.3010047078, 0.4634864628, 0.4207214713, -0.1083300039, -0.2909261584, -0.4953145683, -0.4495506883, -0.2327083051, 0.1567281187, -0.0865226015, -0.1274358183, 0.2686541677, 0.4660539627, -0.1684466898, 0.3026151359, 0.0345627107, -0.1917746514, 0.8576828837, -0.0003098224, 0.1922407597, -0.517133832, -0.442158103, -0.0470163822, -0.7759987116, -0.3201728165, 0.5613369346, 0.543412149, 0.1255801022, 0.5060399175, -0.055198133, 0.3866832256, -0.1197793111, -0.0690014958, 0.0758368745, -0.0105499811, -0.2207897305, -0.2900174558, 0.8181080818, 0.7037368417, 0.425780654, -0.4002628922, -0.3132815659, 0.3279485703, 0.5580773354, -0.4190559685, 0.1974220276, -0.0626744851, -0.528871417, -0.8443226814, 0.4343831837, -1.2431858778, -0.9028912783, -0.1934881657, 0.5063604712, 0.0244468842, -0.2357386947, -0.0867484286, -0.0699399859, 0.3829367757, 0.4215904474, -0.7267748713, 0.5484387875, 0.6189926863, 0.3406408429, -0.2123213708, -0.2967490256, -0.46597296, -0.1197783053, -0.2849617898, 0.6304502487, -0.5663616061, -0.5585206747, 0.0074013839, -0.2237136364, 0.0986822397, -0.6592668891, 1.036237359, -0.6945711374, 0.0799949467, -0.6188010573, -0.2819207013, -0.0274420213, 0.2440792769, -0.6012917161, 0.8209995031, 0.0345238, -1.0116895437, 0.776426971, -0.7960851789, -0.2339323908, -0.0431779139, -0.4968534112, -0.3520806432, 0.0837934911, 0.4677760601, 0.1688941419, -0.3850643337, 0.4288048744, -0.5079408884, -0.4037341475, 0.2664960027, -0.5459641814, 0.7281323075, 0.2296916097, -0.4914302528, 0.2963755429, -0.7063904405, -0.2733469009, 0.1898293048, -0.3830736876, -0.1046037376, 0.3161990345, 0.3133991659, 0.1051851958, -0.198214978, -0.3109287322, 0.0796687156, -0.2164194733, 0.4641951323, 1.0670540333, -0.0598897226, 0.3897716701, -0.5072614551, 0.4150259495, -0.0686380789, 0.1962817013, -0.1495163888, -0.2752175629, -0.7205256224, 0.0360509939, 0.4385772645, 0.502402842, -0.196060285, 0.384062916, -0.419403553, -0.6166267991, -0.4936668873, 0.1502675712, 0.2804914117, 0.3623200059, 0.1249083951, -0.5623064041, -0.4048801959, -1.1103715897, -1.0107117891, -0.4016161561, -0.0757252723, 0.480237633, 0.6800406575, -0.3469767272, 1.3205180168, -0.000131363, -0.1835950315, 0.0986121893, -0.0261960868, 0.0792630985, 0.4313009679, 0.7333420515, -0.8041085005, 0.1901893467, -0.3156064749, -0.6709380746, -0.3091354072, 0.1171331853, -0.4025535882, 0.0473717824, 0.1284077466, -0.5416874886, 0.5983991623, 0.09984456, -0.577139318, 1.0191550255, 0.3468774557, 0.224028632, -0.6086350679, 0.139581725, 0.1976972967, -0.3506430686, -0.3926745057, 0.4115081131, -0.0460785776, 0.2677439153, -0.3620319366, 0.5023441911, -0.2511775792, -0.3391246498, -0.1129892915, 0.1784086078, 0.0319725163, 0.2113023549, -0.1055177301, 0.4960037768, 0.2577110231, -0.5438289642, 0.285322845, 0.2663691044, -0.3870385587, 0.8680114746, -0.1708606184, 0.3860092163, -0.1284532547, 0.3306079507, -0.6316254139, -0.4219223261, 0.4126134515, -0.3661291301, 0.1600607187, -0.2892268002, -0.7614971399, -0.587508142, -0.4857128263, 0.0926905721, 0.2380333394, -0.6781124473, 0.5631816387, 0.3314634264, 0.1801230758, -0.6147716045, -0.7895317674, 0.4826351106, -0.5133731365, -0.6873847842, 0.1508638412, 0.0149815902, -0.8832496405, -0.2832678258, -0.1042716652, 0.1825060397, 0.3819163144, 0.3894444704, 0.0703616813, -0.0101827169, 0.1480511278, -0.4872114062, 0.2060552537, 0.3095237017, -0.0807277933, 0.2835687101, -0.158863619, -0.8282152414, -0.4426266849, 0.0864845738, 0.7101529241, -0.147796616, 0.4045805633, 0.2255999595, -0.3455233276, -0.003756331, -0.9454366565, -0.2875396311, -0.3628226519, 0.3508857489, -0.1894445121, -0.7211300135, 0.2503341436, 0.0142696593, 0.1932062656, 0.609844923, 0.8183783889, -0.0367161073, 0.5266465545, 0.6841595769, -0.4914706051, 0.3999461532, 0.1036216095, -0.1810343564, -0.7073744535, -0.2094118893, -0.5721401572, -0.4235154986, -0.4480076432, -0.5012462139, 0.0066185696, 0.1471757293, -0.3184525669, -0.1446197033, -0.3400115371, 0.338075906, 0.5223547816, 0.1818366498, 0.5392586589, -0.0423779786, -0.3358778656, -0.1292472035, -0.3694798052, -1.193793416, 1.4120577574, 0.6058060527, 0.8519585729, 0.1818711758, 0.4033989906, 0.6569771171, 0.6475654244, -0.6544232368, 0.4106579423, 0.1858129948, -0.8592250347, -0.0009059805, -0.308848083, -0.4145872295, 0.7225777507, -0.1880684942, -0.9440587759, 0.34303087, -0.0164882801, -0.2652567029, 0.4771315455, -0.5630272627, 0.5814808011, -0.6198884249, -0.5586229563, -0.1504221559, -0.7615104318, 0.4908077717, -0.0465500653, 0.6442946196, -0.2622484267, 0.1947896332, 0.8353541493, -0.3934155107, 1.0410399437, -0.3188599348, -0.2336424738, 0.0997567549, 0.1115866378, 0.2842520773, 0.2353695482, -0.278958708, 0.1464474201, -0.27952829, -0.2248922586, -0.4557417929, 0.4275389314, -0.84379673, -0.7340629697, -0.6249832511, -0.2083686739, -0.6126686335, -0.0230443124, -0.0199051294, -0.1690645963, -0.3893903494, -0.3114716709, 0.21865049, -0.0763656944, 0.134770155, 0.7001954317, -0.4904823005, -0.4166288972, 0.3724011183, -0.1557794809, 0.117640011, 0.1919586211, 0.1396463662, 0.0230054483, -0.401559025, -0.3467077017, 0.1394325346, -0.7028885484, -0.0136022149, -0.3008060753, -0.0809627473, -0.1792848259, 0.1541886032, -0.2609112263, -0.1757147163, -0.4236745536, -0.1388902962, 0.314840883, 0.837343514, 0.1236405969, 0.4189803898, -0.329022795, 0.1830284745, 0.4561607838, 0.5301811099, 0.0217629969, -0.6016859412, 0.1459655911, 0.0791574046, -0.5894135833, -0.8895983696, 0.0218340475, -0.0569869727, 0.7482017875, 0.711771667, -0.2222483307, 0.6036027074, -0.6051335931, 0.7419887185, 0.0386812352, -0.92604357, 0.6657230854, -0.3243235052, -0.2435648143, 0.6987789273, -0.0153336469, -0.6702595353, -0.3909965158, -0.5468296409, -0.6883193254, 1.0080925226, 0.1928861439, 0.1277904958, 0.101375781, 0.5698126554, 0.2437161207, 0.4718767405, -0.8989812732, -0.0771694928, 0.0061305468, 0.2980469465, -0.0459485278, -0.6021669507, -0.3304477036, -0.1876950562, 0.5184980631, -0.0635618865, 0.0526399724, 0.3565642536, -0.4614065588, -0.3003542721, 0.5368446112, 0.3706637919, 0.7650142312, -0.2928799391, 0.2303592414, 0.1247170195, -0.1982278824, 0.0065947417, -0.3041118979, -0.2365984917, -0.2083354443, 0.5307976604, 0.7330390811, 0.363068223, -0.8415099978, 0.622928381, 0.0936839432, -0.1448369175, -0.3261268139, -0.1699847281, 0.145314306, 0.2337839007, 0.4927558303, 0.3813362718, 0.0260273088, -0.6111467481, 0.3533370197, 0.472219348, -0.5361058712, -0.3244382739, 0.8624138236, 0.2265302539, -0.2451403141, 0.3079810739, -0.0982329845, -0.6018254161, 0.2456249595, 0.1127128378, 0.74754107, 0.079753004, -0.0881429836, -0.0901712999, 0.5986692905, -0.2456449419, 0.0734151378, 0.0300899968, -0.882332623, -0.0944892615, -0.9284099936, -0.5948290825, -0.0021315406, -0.6800858378, 0.3975734413, -0.516489923, -0.5198093057, -0.1743153185, -0.0003875685, -0.5829890966, 0.069633387, 0.5734382272, 1.1986656189, -0.763046205, 0.2742319107, 0.7976178527, -0.4110459387, -0.3442972004, 0.3839833438, 0.2984285951, -0.6533783078, 0.7765324712, 0.2429106385, -0.0482843667, -0.579130888, -0.5937283635, -0.5166870952, 1.0407567024, 0.6831593513, -0.7031577826, -0.088610895, 0.0736207142, 0.439892143, -0.364615649, 0.5661774278, 0.979118824, 0.728300035, -0.0227366462, -1.1639293432, -0.1956933737, -0.259178102, 0.1517719924, -0.4078194797, -0.9310712218, 0.6854044199, -0.1631539762, -0.0797266662, 0.0559692383, 0.5146112442, 0.3378912807, 0.2321815938, 0.5080537796, 0.7383541465, 0.8426277637, -0.1665097177, 0.9869951606, -0.0449756086, 0.4756252468, 1.008983016, -0.5565214753, 0.7021051645, 0.5653397441, -0.7530812025, 0.4900768399, 0.7405087948, -0.3102976084, 0.27656582, 0.6799949408, -0.1167104468, -0.3206709027, -0.0416979864, -0.0083984379, 0.5128825903, 0.1844334304, -0.5240898728, -0.3533174694, -0.1900274903, 0.1477181613, 0.4321607649, -0.5388237834, 0.500272274, 0.2427221537, -0.3631063998, 0.0177570041, 0.4216516018, 1.0616277456, -0.1906520575, 0.2662602663, 0.0075587006, -0.0164622013, -0.5366613865, -0.427339226, 0.1187302694, 0.3355176449, -0.3536137044, -0.0584876314, 0.6835052371, 0.2596670687, -0.7595906854, 0.5266624093, 0.5939026475, 0.161146, -0.2891037762, -0.5841850638, -0.0127036227, -0.2059851587, -0.3883276582, 0.271528542, 0.1103898808, -0.4253466129, 0.8311238289, 0.5192854404, 0.2124976218, 0.1653301567, 0.5777167678, 0.800042212, -0.9096793532, -0.3437447846, -1.1913113594, 0.161323607, -0.0786097944, 0.0043443046, 0.6772003174, 0.555025816, 0.5662817955, 0.0961602703, 0.8705580235, 0.1298039705, 0.6599662304, -0.3298439384, 1.1361122131, -0.4588386714, 0.5269005299, -0.5959809422, -0.7443304658, -0.2932031155, 0.5193144083, -0.4881395698, 0.5018566251, 0.2306610048, 0.6404505372, 0.1474246681, 0.2256712466, 0.2345290035, 0.2455540299, 0.3765665293, 0.300886333, 1.0461161137, -0.2046124637, 0.2852604091, -0.0358278118, -0.1662068516, -0.5705958605, -0.8141617775, -0.9099683762, 0.1843773276, -0.096355319, -0.1051142141, -0.0048204367, 0.9387192726, 0.6356339455, -0.8164770603, -0.3461749554, 0.0537867099, 0.2388570607, 0.0442913286, -0.2787048817, 0.2363296747, -0.2471266687, -0.5769852996, 0.3085778654, 0.1586309969, -0.3704018891, -0.5586323142, -0.0915427133, -0.0187658202, 0.0413999856, 0.4081124663, -0.2113123685, -1.1423447132, -0.4665465951, -0.4672017992, -0.0975345299, 0.1826303303, 0.6536844969, -0.8950366974, 0.3278380632, -0.1670005322, 0.3943566382, -0.0065369825, 0.2454281449, 0.466735661, -0.5751168132, 0.0493788123, 0.4378148317, 0.4566267133, 0.381421864, -0.1869773269, 0.4472667873, 0.5730291009, -0.3788388669, -1.012675643, 0.2891862094, -0.8837872148, -0.0118807917, 1.1865628958, 0.1306895018, -0.2168567479, 0.2335781455, -0.1360799968, -0.1748601794, -0.3578633368, 0.9100842476, 1.0846853256, 0.0180265419, 0.2000588477, -0.7663881183, 0.2793167531, 0.4079881608, -0.6891950965, 0.1454110742, 0.3374564648, 0.5928747058, 0.283945322, 0.5233268142, -0.5764668584, 0.261559546, -0.1152455956, 0.3533942103, 0.1779940128, -0.0436016917, -0.5016213059, 0.1147869453, 0.4147622287, 0.2645606995 ]
http://arxiv.org/abs/2402.10666v2
http://arxiv.org/pdf/2402.10666v2
Multi-Hop Table Retrieval for Open-Domain Text-to-SQL
2024-02-16T13:14:35
2024-06-19T15:19:16
Xuanliang Zhang, Dingzirui Wang, Longxu Dou, Qingfu Zhu, Wanxiang Che
cs.CL
cs.CL
Open-domain text-to-SQL is an important task that retrieves question-relevant tables from massive databases and then generates SQL. However, existing retrieval methods that retrieve in a single hop do not pay attention to the text-to-SQL challenge of schema linking, which is aligning the entities in the question with table entities, reflected in two aspects: similar irrelevant entity and domain mismatch entity. Therefore, we propose our method, the multi-hop table retrieval with rewrite and beam search (Murre). To reduce the effect of the similar irrelevant entity, our method focuses on unretrieved entities at each hop and considers the low-ranked tables by beam search. To alleviate the limitation of domain mismatch entity, Murre rewrites the question based on retrieved tables in multiple hops, decreasing the domain gap with relevant tables. We conduct experiments on SpiderUnion and BirdUnion+, reaching new state-of-the-art results with an average improvement of 6.38%.
[ -0.2492295057, -1.1429727077, 0.590254724, -0.0064241178, -0.1440373212, 0.0393235907, 0.2142663598, -0.4628240168, 0.5678258538, 0.5266964436, -0.4468923211, -0.2699538767, -0.4286822379, 0.0805267915, -0.2482825667, 0.9818809032, 0.1209868863, -0.172091946, -0.0991199911, -0.3153519332, -0.4231192768, -0.4527874887, -0.5019161105, -0.0695182085, 0.6671508551, 0.5565181375, 0.8995031714, 0.531093359, 0.8376355171, 0.1685677767, -0.2178579867, 0.3071188033, -0.4691677094, 0.2853678465, -0.4396460354, -0.15132083, -0.8114647269, -0.2013531327, 0.6670210361, 0.9194143414, -0.0877600461, 0.0892457217, -0.0340720974, 1.0145555735, -0.7413913012, 0.0665838644, -0.7882656455, 0.0466834418, -0.7276992202, -0.6038102508, -0.7158674002, -0.3583258092, 0.0529839844, -0.6595374942, 0.3610208333, 0.621884644, 0.6106221676, 0.0284272265, -0.9394848347, -0.1308011711, -0.7001873255, 0.381862551, -0.2834579945, 0.8233821392, 0.1011003777, 0.2577988803, -0.5645727515, -0.7868779898, -0.430663377, -0.1334496886, -0.3968901932, 0.0205734689, -0.017061485, -0.1976635456, 0.2513911426, 0.2528283298, -0.9466065764, -0.410858959, -0.3080602884, -0.2551338375, 0.4920759499, 0.1205016822, -0.1433664262, -0.0353528634, -0.6044104695, -0.1415443122, -0.7380567789, -0.2327549309, 0.0105545977, 0.7224673629, 0.5395025015, 0.8036600947, -0.3608864248, 0.781200707, -0.0933513492, 0.0564960688, 0.417396456, -0.5400505066, -0.0214421209, -0.0236973669, 0.602891326, 0.0244872645, -0.0873200297, -0.4419599771, 0.1661914438, -0.2334299833, 0.2059997916, -0.5772567987, -0.0107081402, 0.2312452197, -0.6591509581, 0.0967849195, 0.0231093951, -1.1397289038, -0.2816910744, 0.0821220726, 0.654211998, -0.5664392114, -0.3143429756, -0.1629570127, -0.2169351578, 0.1369998008, 0.4127492905, -0.4957988858, 0.1970807165, 0.5859310031, 1.023607254, -0.3824760616, -0.6780081987, -0.9487190843, 0.5340533853, -0.2523782551, 0.8887868524, -0.5251909494, -0.4438671172, -0.099104546, -0.0254603755, -0.3124682307, -0.3728793561, 0.5924718976, -0.8056583405, 0.1389673501, -0.0775321424, -0.6492088437, 0.047857862, 0.0617335103, -0.8692513704, 0.7115430832, 0.0220631529, -0.8831210732, 0.43632254, -0.8217425942, -0.7239796519, 0.0774216056, -0.1026002094, -0.5939558744, 0.1074944958, 0.1861981004, 0.1346408278, -0.2354979813, 0.0535397157, -0.3401906788, -0.3403304517, -0.2978135943, -0.1747240573, 0.6074916124, 0.2202881575, -0.1108859405, -0.049993854, -0.5572784543, 0.1959214807, 0.3622365296, -0.6338508725, -0.5262346864, 0.2567659616, -0.158471033, 0.1380332261, -0.1163811907, -0.6150591969, 0.463380307, -0.293789953, 0.0451876558, 0.2662402987, 0.1232905909, 0.4897692204, -0.4392852783, 0.1881064922, 0.189541012, 0.0313887894, -0.2334162295, -0.6086109877, -0.4651153982, -0.0771679804, -0.0162448958, 0.3382952809, -0.7305440903, -0.0760209262, -0.3968879282, -0.5224021673, -0.5873251557, -0.3428074121, 0.3125837147, 0.5649383068, 0.9095921516, -0.1524273455, -0.1926248223, -0.6756945848, -0.6745367646, 0.1472375989, 0.2242600173, 0.4786908627, 0.5519140959, -0.0481373221, 0.797231853, -0.7590625882, -0.7231936455, 0.1694756448, 0.0006405407, 0.2230253667, 0.4755163491, 0.4271160662, -0.9016906619, -0.6804668903, 0.0058135521, -0.5276090503, 0.4991676509, 0.1159190312, -0.3582530022, 0.3257636726, 0.6041147709, -0.8480426669, 0.5203474164, 0.1441141665, -0.5105910897, 0.528444767, -0.0505866446, 0.6441281438, -0.9417627454, 0.3127852976, -0.4629987478, -0.1292941868, -0.6983835101, 0.2639766335, 0.3041654229, -0.4330824912, -0.5547044277, 0.3184861243, -0.6699367762, -0.1037094817, -0.0180236176, 0.5990744829, 0.1347571462, 0.4152004123, 0.0579319261, 0.9431763291, 0.4784673452, -0.777728796, 0.2508313656, 0.7263525128, 0.0268698353, 0.7282206416, -0.4081479907, 0.3589052558, -0.149055928, 0.4308992922, -0.9264758229, -0.1083156988, 0.2263160199, -0.5191491842, 0.3476367891, -0.3551106155, -0.2145789415, -0.2945182323, -0.3415677845, 0.5186674595, -0.2589428723, -0.6816680431, 0.6858927608, 0.2364573479, 0.040409185, -0.9441960454, -0.5662293434, 0.0501524396, -0.0707141757, -0.6970952749, 0.7035284638, 0.0498265736, 0.1293222606, -0.0001671367, -0.3347423971, -0.1426191479, -0.2448415458, -0.0861624032, 0.2569704652, -0.3564089537, 0.2828768492, 0.081382148, -0.2447871119, -0.1915024519, -0.3618466556, 0.6150889993, -0.0712337717, -0.5221152902, -0.1544453204, 0.8318942785, 0.5822000504, -0.7267232537, 0.9657769799, 0.166582942, -0.2597914934, -0.0692750141, -0.3687698841, -0.2534126937, -0.4041748643, 0.422200799, -0.8830823302, -1.025596261, 0.1947891265, -0.2845814228, 0.0821560845, 0.5822443366, 0.1963499337, -0.1224165112, 0.6544015408, 0.5804941654, 0.0843222365, 0.1332936585, 0.0186166931, 0.4685925543, -0.8162183166, -0.3977058232, -1.0778608322, -0.0320409462, -0.4480641782, -0.40270257, 0.2871804535, -0.06119835, -0.3011147976, 0.8362159133, -0.5530910492, 0.460618794, 0.6037293673, 0.0605885573, 0.872826457, 0.0223088618, -0.3510029018, -0.0507290922, -0.5527348518, 0.081185177, 1.1243731976, -0.2109313011, 0.9785957336, 0.534643054, 0.6354680657, 0.267573595, 0.0459890738, -0.5511692762, 0.3639322817, 0.1314011663, -1.0795822144, -0.5101357102, -0.8291630149, -1.0280587673, 0.6814709306, -0.3108043969, -0.7359955311, 0.1409082264, 0.1415001899, 0.1310664564, 0.4039573073, -0.5495439768, 0.9294326901, -0.0528923199, -0.30111444, -0.3106408715, -0.8204035759, 0.3873110712, -0.3334997594, 0.1520975381, 0.0092987856, 0.096603848, 0.5495857, -0.4220326543, -0.0364042111, -0.0635888875, 0.1603962183, 0.1907209903, 0.487026155, 0.6895678639, -0.0177019294, -0.224052906, 0.1527867466, -0.1081259996, -0.2226216942, -0.4648763239, 0.6656966805, -0.269783318, -0.4935512245, -0.6934041381, -0.4746289849, -0.2611211836, 0.5487982035, 0.1498205215, 0.1699379832, -0.2010748684, 0.4081804752, 0.3831656277, 0.0595025197, 0.3058327138, 0.6511465311, -0.3020776808, -0.1868630648, 0.5608486533, -0.0012168651, 0.2887316346, 0.6989287734, -0.0844439194, -0.5242259502, -0.2815955579, -0.4937532544, 0.4394224584, -0.3863118291, -0.6626105905, -0.6613458395, -0.0439014025, -0.521761179, 0.0170367509, -0.56923455, -0.4898111224, 0.0578691363, 0.2110242099, 0.3448518515, 0.2508547902, 0.2100612223, 0.2335575968, -0.9918768406, 0.2456387728, -0.1845645756, 0.7733595371, 0.132552743, -0.5194600224, -0.2334253639, -0.1731980443, -0.4462944865, -1.1229889393, -0.0397738256, 0.5826412439, 0.5805128813, 0.2408534139, 0.2288529873, 0.8967172503, -0.9038597941, 0.2553114295, 0.1989118308, -0.9396013618, 0.8819269538, -0.1410295814, -0.1862264723, 0.5620343089, 0.7725347281, -0.5644884706, -0.2518074811, -0.4330720007, -0.8257669806, 0.9121309519, 0.5180052519, -0.3547942638, 0.0506880283, 0.3735322356, -0.085525766, 0.1530442238, -0.6662201881, -0.5747430921, 0.0720982328, 0.5116432905, 0.1236787587, -0.0693093538, 0.0613647588, 0.1650136709, 0.625767529, -0.0734315142, 0.4630825818, 0.2660058737, -0.1421719342, -0.3863827884, 0.3166989684, 0.0535189733, 0.5979260802, -0.4281049371, -0.0422940999, 0.0222157668, -0.3479039967, 0.1003024429, 0.1692835987, -0.1657280177, 0.2111247033, 0.2266601324, 0.3197100163, -0.1929524392, -0.4175124168, 0.6222006679, -0.0077364394, -0.1879323274, 0.1626066417, 0.0423481166, 0.1676441133, 0.2307676524, 0.5063449144, 0.2419623882, 0.3385760188, -0.5559558272, 0.6892152429, 0.6569654942, -0.3213770092, 0.2184651196, 1.0168101788, 0.0877948627, -0.6225454211, 0.8340039849, -0.0888262615, -0.1241127178, 0.1823932976, 0.8276786804, 0.4794392884, -0.460711062, -0.006508817, 0.4221447706, 0.4081796706, 0.1351928115, 0.323094815, 0.1364532709, -0.4789874852, -0.4328385293, -0.3823571801, -0.4770216942, -0.2149240822, -0.5136788487, 0.3233357668, 0.0624779016, -0.1891224831, 0.1450242251, -0.1067206636, -0.2087124735, -0.0910626575, -0.4355432391, 1.0795038939, -0.5747134089, 0.7903602719, 0.5483050346, -0.7074620128, -0.7726792693, 0.016427068, 0.1475930512, -0.293915689, 0.2543337643, -0.0998388678, -0.2661672533, 0.0453111604, -0.1198499799, -1.1172487736, 1.041727066, 0.1790506095, -0.2780224681, -0.0947683752, 0.1894181669, 0.2222695649, -0.2348481715, 0.3479581773, 0.5398896337, 0.4261201322, 0.1061425433, -1.008518219, 0.0652966499, -0.0225716215, -0.12522012, 0.7659434676, -0.7004172206, 1.0162330866, -0.3217188716, -0.2838657498, -0.2586236596, 0.8739980459, 0.3027684987, 0.5474924445, 0.4640372097, 0.4513398111, 0.6755667329, -0.0821012259, 0.5387086868, 0.0156327095, 0.8415451646, 1.3176301718, -0.6759219766, 1.0171501637, 0.6141397953, -0.3309980631, 0.1341812611, 0.2460091412, 0.176408112, 0.6315914989, 0.0204199944, 0.0386148989, 0.1046531647, 0.1263137758, -0.6197926998, 0.4713765383, 0.1498423666, 0.0232895613, -0.7237840891, -0.072755672, 0.1577571929, -0.0945543274, -0.0514952354, 0.5794452429, -0.1034114957, -0.5284006596, 0.2848983407, 0.0732863173, 0.4067730606, -0.6907821298, -0.1167511567, -0.5114930868, 0.2684952021, -0.3269252479, -0.5888621807, 0.6059712768, -0.3075879514, -0.0537363812, 0.2099542171, 0.6556225419, -0.4448886216, 0.0529117323, 0.6506444216, 0.8356603384, 0.2956081927, -0.5013840795, -0.614964664, -0.1989834458, 0.0639977232, -0.4204145074, 0.2256601304, 0.5179197192, 0.0397665836, 0.6854981184, 0.6951149702, -0.1325221062, 0.1590794027, -0.1063358188, 0.9479178786, -0.705472827, -0.3388332725, -0.6321462393, 0.2517431974, -0.0292011555, -0.3083891273, 0.683722496, 1.1809939146, 0.8027451038, -0.2491395772, 0.2482716888, -0.3283815384, 0.8437364101, -0.3385367095, 0.762721777, -0.9773397446, -0.0423831865, -0.6251235604, -1.3729327917, -0.5319215059, 0.4474993348, 0.383756429, -0.0542947203, 1.2219498158, 0.9909114838, -0.2958441377, 0.0672055706, 0.2250413448, 0.0137227662, 0.5036476254, 0.5799126625, 0.5658809543, -0.7386093736, 1.0914214849, 0.0915030465, -0.2085672468, -0.5150879025, -0.6812847853, -0.4625145197, -0.579018712, -0.2474209368, -0.5386720896, 0.1303318292, 0.7350533605, 0.4821300209, -0.7623440623, -0.1462123245, 0.2461355478, 0.2173940539, -0.4558407366, -0.1856303215, 0.8574000597, -0.5047892928, -0.494238615, 0.601768136, 0.6040692329, -0.2651469707, 0.3490506113, 0.0952403843, -0.8631634116, -0.1171699911, 0.6720112562, 0.0861124843, -0.2889155447, -0.4185913801, 0.1731026918, -0.1812871993, 0.2836476862, 0.9609394073, -0.6664850116, 0.1511823535, 0.3940988779, 0.6580713987, 0.745716393, 0.1326966137, -0.0274189562, -0.7367572784, -0.1108624637, 0.3761612177, 0.3696505129, -0.1495092213, -0.3034932315, 0.8269565105, 0.4104267955, -0.7801965475, -0.4170031846, 0.3628343642, -0.9368655682, -0.2768637836, 0.6689491868, 0.0724777207, 0.0264131464, -0.2922261953, -0.1467755139, 0.2243897021, -0.2428743094, 0.4905796349, 0.3639823794, -0.4337966442, 0.1713105291, -0.3615432382, 0.4444799423, 0.4251539409, -0.7403048277, 0.3368930519, 0.5708024502, 0.0416323654, 0.3683471978, 0.88290447, -0.2452043295, 0.1904066652, 0.2456665039, -0.1585461795, -0.0205258261, -0.7569981813, 0.2406196147, 0.3611119688, -0.1593800187, -0.308489114 ]
http://arxiv.org/abs/2402.10663v3
http://arxiv.org/pdf/2402.10663v3
Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL
2024-02-16T13:13:18
2024-06-26T06:54:35
Dingzirui Wang, Longxu Dou, Xuanliang Zhang, Qingfu Zhu, Wanxiang Che
cs.CL
cs.CL
Currently, the in-context learning method based on large language models (LLMs) has become the mainstream of text-to-SQL research. Previous works have discussed how to select demonstrations related to the user question from a human-labeled demonstration pool. However, human labeling suffers from the limitations of insufficient diversity and high labeling overhead. Therefore, in this paper, we discuss how to measure and improve the diversity of the demonstrations for text-to-SQL. We present a metric to measure the diversity of the demonstrations and analyze the insufficient of the existing labeled data by experiments. Based on the above discovery, we propose fusing iteratively for demonstrations (Fused) to build a high-diversity demonstration pool through human-free multiple-iteration synthesis, improving diversity and lowering label cost. Our method achieves an average improvement of 3.2% and 5.0% with and without human labeling on several mainstream datasets, which proves the effectiveness of Fused.
[ -0.6091140509, -0.572981596, -0.0384177677, 0.37015751, -0.4020213783, 0.2617418468, -0.2905279398, -0.2959119678, 0.1119306237, 0.3310195804, -0.5935159326, -0.7509849668, -0.266700387, 0.1807721257, -0.8336995244, 1.1101093292, 0.0486035943, -0.2310204208, -0.5499569774, -0.3785131574, -0.4635457397, -0.1975682378, -0.1945548803, -0.2914883792, 0.2416456342, 0.7745707631, 0.4374153018, 0.4766184986, -0.0824884996, 0.3309172094, -0.1040591821, 0.4289865494, -0.7371454835, 0.0365443677, -0.3734507263, -0.391805917, -0.0397698842, -0.0074924128, 0.9839498401, 0.7935193777, 0.0684965253, -0.0706939846, 0.2592850327, 0.6333872676, -0.5512715578, -0.3451265991, -0.7326032519, 0.048249688, -0.1377995759, 0.1138113216, -0.5744727254, -0.2989792228, 0.0196734741, -0.3794627488, 0.4717300832, 0.1882922202, 0.5405128002, 0.0049300739, -0.5637939572, 0.1888597757, -0.8489332199, 1.2082526684, -0.4162659049, 0.3783868551, 0.0281642955, 0.4414734542, -0.2831885815, -0.4634108543, -0.608327806, -0.1158726886, -0.1525616646, 0.0703153759, -0.1239833683, -0.2759573162, 0.1536147296, 0.4488231242, -0.3720718026, 0.3042931557, -0.2124996781, -0.3227431178, 1.0493541956, 0.215201363, 0.2435132563, -0.1092361286, -0.6250818968, -0.3834472299, -0.5359258652, -0.1003658921, 0.1976124644, 0.2297171801, -0.0813854411, 0.5598631501, -0.4748889804, 0.6941784024, -0.3307869732, -0.0294878874, 0.259328723, -0.6759140491, -0.3543972075, -0.2662352026, 0.772116363, 0.2277930826, -0.4314925671, -0.3517726958, -0.0782845989, 0.037318211, -0.0658260882, -0.7737377286, -0.1315000057, 0.2053038478, -0.439565897, -0.0273878351, 0.1109465212, -1.125970006, -0.5233843923, -0.0850597918, 0.4637917578, -0.3936655819, -0.3506539464, -0.2065311074, -0.537783742, 0.2293333858, 0.3995028138, -0.6399376392, 0.423625052, 0.4983200729, 0.6624328494, -0.7222107053, -0.452652812, -0.39049384, 0.2568085194, -0.1528746635, 0.9598713517, -0.0788780376, -0.7800405025, -0.323993504, -0.1697118431, -0.1558355391, -0.7857121229, 0.2971358001, 0.0128948987, 0.5165943503, -0.3449085653, -0.9597131014, -0.0924715921, 0.1245422512, -0.5039006472, 0.8843874335, 0.2662271261, -0.4707598686, 0.553194046, -0.7299820781, -0.5487654805, 0.194837302, -0.438952893, -0.7209637165, -0.1080005467, 0.4234216511, 0.1757927239, -0.3166482747, 0.3251654804, -0.1534468681, -0.8083920479, 0.4327100515, -0.2757232785, 0.8893131614, 0.0973711535, -0.6526001096, 0.5131945014, -0.7968228459, -0.127219826, -0.0739336163, -0.3443832994, -0.0566616617, 0.2271722406, -0.0423358753, 0.0576575138, -0.3654981256, -0.292838186, 0.0930846259, -0.7453148365, -0.0817616358, 0.6174431443, 0.1105172485, 0.5303077102, -0.5284335613, 0.3389976621, -0.0253376998, 0.1409856826, -0.1992932707, -0.5997989178, -0.9235941768, -0.6118007302, -0.0060388064, 0.2741057575, -0.696805656, 0.6943299174, -0.1320785135, -0.4896170497, -0.3868088722, 0.4569075406, 0.2594937384, 0.4968698025, 0.4459017217, -0.3317519724, -0.4509314299, -0.9497215748, -0.5190085769, -0.0593921803, -0.2877295613, 0.2819886804, 0.519828856, -0.3032124043, 1.166413784, -0.1797635406, -0.3945870399, -0.2919693589, 0.2790774703, 0.0793829784, 0.4653350711, 0.4883618951, -0.6252499819, -0.4093039036, -0.0614190847, -0.5255371928, 0.1561559439, -0.1083546951, -0.1801223755, 0.310016185, 0.2090614438, -0.0204954185, 0.4783215523, 0.4558336139, -0.2808177471, 0.3539931774, 0.0381130576, 0.3899958432, -1.0343972445, -0.2877434194, -0.0625684112, 0.1189341247, -0.4476986527, -0.0926323831, 0.0590194203, -0.1935474873, -0.5973550081, 0.5316084623, -0.5019120574, -0.1827489287, -0.1383617073, 0.3008434772, -0.141040042, 0.2731624544, -0.1437461078, 0.8901717663, 0.4854719937, -0.6523449421, 0.4308932424, 0.3318625987, -0.5549102426, 0.5943790674, -0.2981716096, 0.0464948863, -0.0169896539, 0.3972851634, -1.4642660618, -0.4605745971, -0.1235370785, -0.167986691, -0.1269805729, 0.1287308037, -0.3962842226, -0.3768441081, -0.6506499648, 0.1183042228, 0.8108251691, -0.9762055874, 0.5392694473, 0.0781199038, 0.1769101769, -0.3853056729, -0.5155090094, 0.1794020832, -0.3194568455, -0.9134867191, 0.581620872, -0.0747979209, -0.1211641058, -0.4909935594, -0.0608655512, -0.1570180655, 0.0975926369, 0.1802793592, 0.1965660453, -0.1014470607, 0.4959391952, 0.4635208845, 0.181206882, -0.1775972098, -0.0699362755, 0.2454830408, -0.066746451, -0.6528941393, -0.563547194, 0.6749019623, -0.0077821189, -0.0527201816, 0.7385175228, 0.5564184785, -0.1901405156, -0.4533543587, -0.5079293251, -0.2267048061, -0.5195399523, 0.4848879278, 0.0673725009, -1.0930101871, 0.27049312, -0.4226314723, 0.3547074795, 0.4742786288, 0.5038099885, -0.2459560037, 0.9494224787, 0.4147136211, 0.1562494487, 0.446528405, -0.1502482146, -0.0816581696, -0.3238486052, -0.4039467871, -0.817271769, -0.4870342016, -0.1428430974, -0.6084016562, 0.5331945419, 0.1464660764, -0.1622089893, 0.1147502661, -0.6104041934, 0.6988224387, 0.4312615097, 0.3355496824, 0.5273146629, 0.4432803094, 0.1694655716, -0.2563101947, -0.4857921004, -0.3087496758, 0.8663674593, 0.0702172965, 0.7288841605, 0.2915290594, 0.9884729385, 0.1621858478, 0.6247910857, -0.50889045, 0.7227087021, -0.3047131896, -0.4348694086, -0.4505646527, -0.5338466763, -0.8823550344, 0.4823748171, -0.4800498486, -0.8940836787, 0.0876513273, 0.3174654245, 0.1843012869, 0.164886713, -0.8282251358, 0.8400242329, -0.2899792492, -0.272733897, -0.3260534406, -0.4703826606, 0.4688998163, 0.089938283, 0.3079335988, 0.1360690892, -0.0248444322, 1.0161141157, -0.4597871006, 1.0042278767, -0.1364326179, -0.270614773, 0.4124627113, -0.1520028412, 0.3974722028, -0.2538839877, -0.1933487505, -0.3305541873, -0.7559359074, -0.4676507711, -0.6103234291, 0.6930916309, -0.5808894634, -0.5716124773, 0.349170059, -0.5739751458, -0.5328757167, -0.2425199896, 0.2922328711, 0.1194593161, -0.4040897787, 0.4881997705, 0.7365139723, -0.3996624649, 0.4677999616, 0.1064956114, -0.281372875, -0.4860442877, 1.1026260853, -0.1275933534, 0.4647095501, 0.2559012771, 0.3848876357, -0.5364474058, -0.4972940981, -0.5700809956, 0.1518550813, -0.8282145262, -0.0228331331, -0.7938815355, 0.166640088, -0.4381035864, -0.141542837, -0.1355110854, -0.6308740377, -0.4137526155, -0.0936995223, 0.5364385247, 0.4427700639, 0.4402241707, 0.6449894309, -0.6442452073, 0.2295169681, 0.7004666328, 0.4298844337, 0.0353132375, -0.4981518686, -0.0382441208, -0.0317439139, -0.5981661677, -1.1291050911, 0.039685864, 0.5145251155, 0.8103458881, 0.3240307868, 0.1443367898, 0.7762882113, 0.1553138047, 1.0434888601, 0.427257061, -1.2149585485, 0.8855742216, -0.1706031412, -0.0495849252, 0.3775987923, 0.274024725, -0.2495293319, -0.6264402866, -0.5457608104, -1.0423448086, 0.6151047349, 0.2356806844, 0.0893371254, 0.1847913861, -0.1905194372, 0.4021188617, 0.0032251109, -0.7348964214, -0.2485840023, -0.1587800533, -0.1365621686, -0.0579985566, 0.1230665296, -0.3893706203, -0.7201502919, 0.5890023112, -0.2853488028, -0.0563217811, -0.1530251205, -0.1676916927, 0.1783524603, 0.7317263484, 0.4194609821, 0.5057677627, 0.1232714131, -0.0570972711, 0.5806959867, 0.1267515123, 0.2274067849, -0.0357918404, -0.186127767, 0.1257864088, 0.2460588068, 0.9411756396, 0.1437195241, -0.852058053, 0.62049824, 0.0686671063, -0.3484173417, 0.2111221999, 0.577789247, 0.3111753166, 0.0662437677, 0.3397326469, -0.1741815805, 0.211836949, -0.4314644337, 0.4393649995, 0.5487733483, -0.3817828298, 0.2298030257, 0.5328885913, 0.6047737598, -0.3397868574, 0.7866985798, -0.0359937288, -0.2588467598, 0.64714849, 0.7684789896, 0.64509058, -0.1780176312, 0.3481250107, 0.3618148863, 0.1839457154, -0.1805972457, 0.1636342704, -0.3130639195, -0.4831488431, -0.2335189283, -0.2069687247, -0.5599157214, -0.3714624941, -0.452813983, 0.5410661697, -0.2490105778, 0.104049556, -0.0948512182, -0.1717616469, -0.2551390529, 0.1631598473, -0.2522031963, 0.9419714808, -1.1741577387, 0.6564735174, 0.4614854455, -0.2631345689, -0.5749588609, -0.2540570498, -0.0661196187, -0.3342836797, 0.2354599833, 0.2976633608, 0.0790623873, -0.1515050232, -0.780988276, -0.1993334889, 1.1346901655, 0.4565737844, -0.4736092687, 0.381958127, 0.1249221042, 0.4462323189, -0.5936226845, 0.1411755383, 0.4992123544, 0.3658794463, 0.2654666305, -0.6275591254, -0.0795086697, -0.1186223179, 0.0547023863, 0.1719229519, -0.4131503999, 0.815764308, -0.3781696856, -0.3804942966, 0.1522120386, 0.9103420377, 0.4796063602, 0.5571787357, 0.8129286766, 0.1592747122, 0.9602861404, -0.1484085768, 1.006937623, 0.6835576296, 0.477866739, 1.0521818399, -0.4776872098, 0.7402302623, 0.62464118, -0.4860046506, 0.7531390786, 0.2888288498, -0.2238998115, 0.0922229066, 0.40655002, -0.6771895885, -0.475890249, -0.0466723852, -0.3369756043, 0.1713116914, 0.2945530713, -0.3935415447, -0.3505768478, 0.1942283958, -0.3751776218, 0.4061559141, 0.0785028636, 1.0287076235, -0.3065881133, -0.6092470884, 0.8276682496, -0.1636685282, 0.9405763149, -0.4143407047, -0.0813653469, -0.3448048234, 0.055922389, -0.4298235178, -0.7574672103, 0.2897395492, -0.0055820136, -0.1389364749, -0.0653004795, 0.609777391, -0.6100538969, -0.3012174964, 0.2880369723, 0.3372988403, 0.361710459, 0.0714006126, -0.3379938304, 0.01125596, 0.3600697815, 0.148527801, 0.5589787364, 0.0102016404, -0.4142821431, 0.5229537487, 0.4363071918, -0.34642905, 0.1258946955, 0.332675457, 0.9166746736, -0.7151088715, -0.4534411132, -0.8808988333, 0.7065443993, -0.6621476412, -0.1140032485, 0.7366446853, 0.7679018378, 0.7503685355, -0.1510151476, 0.6999890804, 0.0600892417, 0.7004019618, -0.1656706482, 0.7190486193, -0.7072708011, 0.4159628153, -0.3242137134, -0.8309446573, -0.1818584055, 0.3733391166, 0.4088681638, 0.0306346398, 0.5694909096, 0.8706062436, -0.1102268025, 0.4676820934, 0.2369082272, 0.0124945622, 0.4513342977, 0.5926186442, 0.9331952333, -0.4414328039, 0.8534121513, -0.3002609909, -0.6986647248, -0.0265855957, -1.0083265305, -0.9828885198, -0.4656699002, -0.5523861647, -0.3904047906, -0.1814368367, 0.9570820928, 0.6629810333, -0.8670597672, -0.6686987281, 0.123142153, 0.4176510274, -0.5598950982, -0.2314947546, 0.2330625057, -0.2697707415, -0.6054075956, 0.5902770162, 0.1625288427, 0.1518730968, -0.0802726373, -0.0907631889, -0.0665401667, -0.1686851084, 0.7092936039, 0.2138428986, -0.5947936773, -0.1284909248, -0.1998448521, 0.1647350192, 0.15416269, 0.8471676111, -0.859395206, 0.3725680709, 0.487968713, 0.8349519372, 0.5477303863, 0.0526017584, 0.5781311989, -1.393045783, 0.1158937514, 0.1457915306, 0.178599149, 0.4384553432, -0.1538831443, 0.3995816112, 0.4987826645, -0.2800675929, -0.695866406, 0.2977404594, -0.9920043349, -0.351331085, 1.0060760975, 0.0890259445, -0.067924045, -0.2621232271, -0.4029893279, 0.2420443594, -0.2893210053, 0.9034913778, 0.3473283052, -0.4137420356, -0.1448114067, 0.1960159689, 0.3042096198, 0.4932222664, -1.3882015944, 0.2821435332, 0.661555469, 0.213086009, -0.0813986063, 0.5879177451, -0.1442727745, 0.3408647776, -0.1625658423, -0.0302678198, 0.1820145547, -0.1102085114, -0.2492224574, 0.3245076537, -0.1388445497, -0.094507508 ]
http://arxiv.org/abs/2402.10662v1
http://arxiv.org/pdf/2402.10662v1
Fine Tuning Named Entity Extraction Models for the Fantasy Domain
2024-02-16T13:11:13
2024-02-16T13:11:13
Aravinth Sivaganeshan, Nisansa de Silva
cs.CL
cs.CL
Named Entity Recognition (NER) is a sequence classification Natural Language Processing task where entities are identified in the text and classified into predefined categories. It acts as a foundation for most information extraction systems. Dungeons and Dragons (D&D) is an open-ended tabletop fantasy game with its own diverse lore. DnD entities are domain-specific and are thus unrecognizable by even the state-of-the-art off-the-shelf NER systems as the NER systems are trained on general data for pre-defined categories such as: person (PERS), location (LOC), organization (ORG), and miscellaneous (MISC). For meaningful extraction of information from fantasy text, the entities need to be classified into domain-specific entity categories as well as the models be fine-tuned on a domain-relevant corpus. This work uses available lore of monsters in the D&D domain to fine-tune Trankit, which is a prolific NER framework that uses a pre-trained model for NER. Upon this training, the system acquires the ability to extract monster names from relevant domain documents under a novel NER tag. This work compares the accuracy of the monster name identification against; the zero-shot Trankit model and two FLAIR models. The fine-tuned Trankit model achieves an 87.86% F1 score surpassing all the other considered models.
[ -0.7288861871, -0.7443777323, 0.2591763139, -0.2296076715, -0.1603574008, 0.1459703594, -0.1079768315, -0.9123513699, 0.2555373311, 0.8594337106, -0.7258292437, -0.4847235084, -0.5076265335, 0.6297103763, -0.2498607934, 1.2916718721, 0.0655658767, -0.172508195, 0.0051392722, -0.0127752004, -0.5465850234, -0.3312105238, -1.0676966906, -0.2343320847, 0.6249753833, 0.1236430034, 0.6009947658, 0.9551650882, 0.9269871712, 0.2437453866, -0.1629961878, 0.4917036891, -0.821380198, 0.3317326307, -0.6067873836, 0.0139018279, -0.7063236237, -0.3078118563, 0.441213727, 0.3000457883, -0.0924464315, 0.2032431215, 0.1436267942, 0.2960494757, -0.6374780536, 0.0231315196, -0.7349920869, 0.0845802128, -0.2995115221, -0.35599491, -0.2535804212, -0.4734259844, 0.4564425349, -1.0382996798, 0.5884100199, 0.1807264388, 1.2581505775, 0.2354563475, -0.2089612037, -0.3299071491, -0.9533244371, 0.798561573, -0.7034679651, 0.4657900929, 0.3419410586, 0.4462469816, -0.252386719, -0.6881091595, -0.8294225335, 0.0311053172, -0.1875385046, -0.334397167, -0.2960988879, 0.1124246567, 0.594163835, 0.3490174413, -0.4405482113, 0.2894724011, -0.4231898189, -0.1691721678, 0.8602747321, 0.5032740831, 0.397903353, -0.1300633252, -0.3450184464, -0.2185497582, -0.7029958963, -0.2029751241, 0.4478430748, 0.3944341242, 0.2295452058, 0.498098284, -0.2179703265, 0.8364232183, 0.6650285125, -0.600104332, 0.1303509623, 0.0905172229, -0.399371624, 0.2457224429, 0.5579223633, 0.3997279704, 0.3186390102, -0.4801565409, -0.6146409512, -0.0429673009, 0.4608500004, -0.961093843, -0.3652279377, -0.1149891466, -0.6265464425, -0.3616433442, -0.0816594213, -1.0996009111, -0.7077201009, -0.475251466, 0.6514652371, -0.575420022, -0.4802617729, 0.1220261082, -0.1780049503, 0.306202352, 0.548817873, -0.9103513956, 0.3736187518, 0.8516008258, 0.6396430731, -0.6255813837, -0.090001978, -0.4471293688, 0.2428534329, -0.224432528, 0.9855042696, -0.7234643102, -0.5412371755, -0.3804468513, 0.3851220608, -0.0510612801, -0.7554616332, 0.6868725419, -0.817828536, 0.0541226976, -0.0482603386, -0.7337602973, -0.5405144691, 0.41377303, -1.033940196, 0.5764533877, 0.0238774419, -0.7831023335, 0.5409839749, -0.4958311021, -0.3462615609, 0.4538643062, 0.0469212309, -0.1711358279, 0.2016814947, 0.1028141752, 0.4658572078, -0.6036321521, 0.2039914876, -0.2868353426, -0.3021175563, 0.1091500446, -0.2322521508, 0.5080701709, 0.203179881, -0.1685738564, -0.3490665853, -0.8269404173, 0.2909309268, -0.1088968962, -0.1216834933, -0.8152163625, 0.0355078541, 0.0679551214, 0.125569284, -0.1547349393, -0.4708862305, 0.2899065614, -0.5686666965, -0.0461034738, 0.4898190796, 0.2874598205, 0.4450403154, -0.2665744424, 0.6308629513, -0.1240523085, -0.1105278656, 0.0866429433, -0.1798989326, -0.634370327, -0.4916775227, 0.6519095302, 0.3876128197, -1.0701562166, 0.4082921147, -0.4715355635, -0.7002257109, -0.5912443399, -0.325026989, 0.3018265069, 0.7095420957, 0.3919756711, -0.3159566224, -0.5407683253, -0.8439679742, -0.3473137021, 0.0594127551, -0.0001435668, 0.4280791879, 0.4465941787, -0.4250652492, 1.1234242916, -0.6886368394, -0.3805542886, -0.2149743885, 0.1686601937, 0.3711433709, 0.5180841684, 0.4280438125, -1.0227160454, -0.5437077284, 0.3550349772, -0.5614788532, 0.0090872077, 0.0664671883, -0.0804858729, -0.1628653705, 0.1617511511, -0.5391094685, 0.6105237007, 0.1744022369, -0.239877671, 0.6069095731, 0.0295077804, 0.3234514296, -1.0706349611, 0.2305688262, 0.1369332671, -0.1860196888, -0.780813098, -0.0385598838, -0.1149470955, 0.0839784071, -0.3476106226, 0.9984058738, -0.7151561975, 0.2424521148, -0.3309540749, -0.1368308812, 0.0726730153, 0.2379932851, 0.3635382652, 0.6887497306, 0.5674660802, -1.2572208643, 0.5096441507, 0.1067638472, -0.3523007929, 0.9917102456, -0.6864065528, 0.3152958155, -0.0422417596, -0.1753256768, -0.3173015118, -0.3400176466, 0.2962323129, -0.3292382061, 0.7417929769, -0.3152473569, -0.2624052465, -0.1837863326, 0.1368923187, 0.414277494, 0.3278496265, -0.6425840259, 0.6795168519, 0.7776243687, 0.0416047685, -0.6626727581, -0.1778264791, -0.0529019758, -0.5257638097, -0.2412177771, 0.733101368, 0.0857888386, -0.2210537791, 0.1987107545, -0.2258748412, -0.5715472698, -0.0249782316, 0.1589221358, 0.2467576414, -0.3790432215, 0.0056295879, 0.0468943901, -0.2415608466, -0.2025964558, -0.1084105819, 0.2858470976, 0.2316087931, -0.0800650343, -0.5182617307, 0.0558616966, 0.4867133498, -0.1587236822, 0.529343605, 0.4110148251, -0.8225899339, -0.5842596889, -0.6276006103, -0.2589235902, -0.4509823918, 0.3602891564, -0.6447888017, -0.827177763, 0.5058719516, -0.2762996554, 0.007943375, 0.8893252015, 0.0568215623, 0.1177534163, 0.94294554, 0.9646590352, 0.0972468257, 0.0868171304, -0.2818366885, 0.2398469746, -0.8513361812, -0.3533198535, -0.6501529813, -0.6023858786, -0.7256585956, -0.2518494427, 0.0711635947, 0.1924124658, 0.0185097009, 0.7660505176, -0.6549600363, 0.8415091038, 0.1490337402, -0.1412867606, 0.2893445194, 0.2666324377, 0.0640661493, -0.3225106895, -0.1157810837, -0.6293510199, 0.7530785799, 0.1719722152, 1.0713287592, 0.1328626722, 0.7037813067, 0.4328916371, 0.1226599067, -0.7642515898, 0.407622695, -0.3742079139, -0.8635495305, -0.3143287301, -0.4269553125, -0.8949104548, -0.0065170918, -0.4006679356, -0.8722435832, 0.7295444608, -0.1032259613, -0.6736139655, 0.6010234356, -0.2665779293, 0.7042239308, 0.0503491722, -0.1463296413, -0.0042003407, -0.400581181, 0.2976689339, -0.269358933, -0.246937722, -0.1057559326, 0.0671098381, 0.6938691735, -0.1176527664, 0.4951409698, 0.0363650508, -0.2709414065, 0.2218063772, 0.5597223043, 0.5087617636, 0.1373822987, -0.2650113404, 0.4140449464, 0.2275031507, 0.3120789826, -0.6249918342, 0.7342104316, -0.6494189501, -0.2715076506, -0.4095744789, -0.1409810483, -0.1217899919, 0.358633399, 0.5901560187, 0.6193643808, -0.5454795957, 0.1064197645, 1.129347086, -0.1857305467, 0.3177728951, 0.6696538329, -0.0763492286, -0.6128771901, 1.0098195076, 0.0778391883, -0.0280267894, 0.6273195148, -0.3064368367, -0.2759039104, -0.3339444697, -0.5406611562, 0.2787399292, -0.4813231528, -0.6616063118, -0.957398057, -0.6402230859, -0.2592462599, 0.0519277677, -0.1675639302, -0.3130073547, -0.6917610765, -0.0275792312, 0.4002484083, 0.9524201751, 0.0228356197, 0.3768680692, -0.9554751515, 0.4931706488, 0.1189667955, 0.4051753581, -0.0066700648, -0.6419909, 0.0628467053, 0.0042750789, -0.1444271058, -1.1228846312, 0.851508379, 0.3592558801, 0.542368412, 0.6184127927, -0.0034943277, 1.1443912983, -0.5483020544, 0.4072650969, 0.1346669346, -0.6872742176, 0.4066475928, -0.1896287501, -0.2590600252, 0.6937811971, 0.4760634303, -0.7498716712, 0.0967579186, -0.6449839473, -0.4300835729, 1.1092960835, -0.0078303032, 0.0578259192, -0.0141151706, 0.719747901, 0.715420723, 0.2488569021, -0.5811244249, -0.2604138851, 0.3890375793, -0.0772119984, -0.0596842989, -0.3395524025, 0.3315399885, -0.3016298115, 0.7599824667, 0.1133534536, 0.0996913314, 0.1207232177, -0.0949710757, -0.212439239, 0.0593458675, 0.1964989752, 0.5429905653, -0.0025242639, 0.0569766611, 0.311337471, -0.8404787183, 0.0515231825, 0.0436815023, -0.4867758155, 0.3059646189, 0.2322478443, 0.9151952863, 0.0481839664, -0.3370762765, 0.2217862457, -0.2764967978, -0.0041923705, -0.0100825634, 0.4254546165, -0.5117772222, 0.2537891865, 0.2371014804, 0.2081838548, 0.4752172828, -0.0740887374, 0.1755453497, 0.3406177461, -0.5406430364, -0.5758259296, 0.3756257892, 0.1518747509, -0.4942815602, 0.7101848125, -0.5219439864, -0.3992973268, 0.7137283683, 0.7704947591, 1.3486051559, -0.3221655786, 0.3422440886, 0.740113914, 0.3774985373, -0.2300136536, 0.1256682724, 0.1125032008, -0.6872009039, -0.2637480795, -1.0707067251, -0.1420799643, 0.3674051464, -0.576166451, 0.6628341079, -0.3109112978, -0.3877465129, 0.1643013805, 0.2093141079, -0.9526174664, 0.3501841128, 0.0801329017, 0.7653872371, -0.491317749, 0.665056169, 0.7921544313, -0.1300225407, -1.0053569078, 0.0304647181, -0.1050930247, -0.2634675801, 0.8517353535, 0.0956276804, -0.0979204848, 0.3811336756, -0.522015214, -1.2231292725, 0.9731997848, 0.2338325828, -0.8374780416, -0.252074331, -0.1577399373, 0.6486563087, -0.4660470188, 0.2353899926, 0.4289060533, 0.4028560221, 0.1556942463, -1.1037467718, -0.1483983696, -0.1426795572, 0.0850233138, 0.4675032496, -0.0262750704, 0.8417211175, -0.2082086056, -0.6240506172, -0.010639349, 0.6791809797, 0.0928635076, 0.4191683233, 0.6046988964, 0.7248364091, 0.8803281188, -0.21021083, 0.7948375344, -0.0505969077, 0.3490681052, 1.1337711811, -0.5522842407, 0.5842302442, 0.0747857168, 0.1245680898, 0.5280787349, 0.7321761847, -0.2480446398, 0.8624790907, 0.1092653349, -0.1769212484, -0.2812975943, -0.3140210509, -0.5208175778, 0.5402198434, 0.3869043589, -0.2404199094, -0.1605078876, -0.0085303178, -0.0378720053, -0.2634595335, -0.5044599175, 1.223246336, 0.0383521691, -0.6850782633, 0.2697736025, 0.1634964794, 0.7159436941, -0.5031868815, -0.3101930618, -0.1055228263, 0.3625154793, -0.2744351625, -0.4396886528, 0.2891462445, 0.2953754961, -0.4009667337, 0.0131555619, 1.1215068102, -0.3878368139, -0.4836069942, 0.1963577271, 0.529953301, 0.1625708789, 0.0186837222, -0.5399619341, -0.2128639668, -0.1406303793, 0.0323835164, 0.1458829194, 1.097260952, -0.0456176251, 0.4243454933, 0.5974047184, 0.2893840969, -0.1863700449, -0.2376441061, 0.7596078515, -0.6550187469, -0.5024799109, -1.0630072355, 0.0741438866, -0.282553494, -0.5636110902, 0.756136775, 0.5699221492, 0.857819736, -0.1937553734, 0.3545284867, -0.3233182728, 0.697924614, -0.2363450378, 0.9664391875, -0.5633369684, 0.0241579395, -0.5070832372, -1.2253227234, -0.1480929554, 0.5453162789, -0.1210891902, -0.0401995964, 0.5121243, 0.8521865606, -0.2291682512, 0.170374319, 0.2915726602, 0.0622135289, 0.0880847797, 0.3032757342, 0.9384960532, -0.2890827656, 0.1709107161, -0.3142161965, 0.0617666282, -0.0799965486, -0.9846583605, -0.9102237821, -0.5094971657, -0.5301671028, -0.291834265, 0.1867014319, 0.6778582931, 0.7625341415, -1.0311857462, -0.0308618806, 0.2685087919, 0.2084508985, -0.3451106846, -0.298465699, 0.2474502176, 0.0097768223, -0.6869502664, 0.2328411043, 0.2753118575, 0.1240817085, 0.0348506421, -0.1179716066, 0.0648109317, -0.0293306243, 0.3046698272, 0.3281289637, -0.6270797849, -0.2896247804, 0.3264511824, -0.2204299569, -0.1928595155, 0.6380810142, -0.9285314679, 0.5107553601, 0.5187937617, 0.624686718, 0.1443060935, -0.007567775, 0.5436197519, -0.5010028481, -0.3782740533, 0.4874104261, 0.0016976916, 0.319558531, -0.614166677, 0.6372494102, 0.2501096129, -0.4639478922, -0.9801250696, -0.1707233042, -0.6769727468, -0.0447207056, 1.1623547077, 0.1292883158, -0.2785236537, -0.2115329206, -0.2238718569, 0.2799519002, -0.1555735469, 0.6243137121, 0.581355989, 0.1110739633, 0.1792174131, -0.4742047489, 0.9685920477, -0.3558588028, -0.782638371, -0.0733368173, 0.5861454606, 0.3582535386, 0.2891189754, 0.5084865689, -0.0339540243, 0.1396448612, -0.2894389629, 0.2235696167, 0.1692298502, -0.6102567911, -0.3930562437, 0.127692908, -0.4773171246, 0.0352806151 ]
http://arxiv.org/abs/2402.10659v3
http://arxiv.org/pdf/2402.10659v3
Network Formation and Dynamics Among Multi-LLMs
2024-02-16T13:10:14
2024-06-02T13:50:14
Marios Papachristou, Yuan Yuan
cs.SI
cs.SI, cs.AI, cs.CL, cs.MA
Social networks shape opinions, behaviors, and information dissemination in human societies. As large language models (LLMs) increasingly integrate into social and professional environments, understanding their behavior within the context of social interactions and networks becomes essential. Our study analyzes LLMs' network formation behavior to examine whether the dynamics of multiple LLMs are similar to or different from human social dynamics. We observe that LLMs exhibit key social network principles, including preferential attachment, triadic closure, homophily, community structure, and the small-world phenomenon, when asked about their preferences in network formation. We also investigate LLMs' decision-making based on real-world networks, revealing that triadic closure and homophily have a stronger influence than preferential attachment and that LLMs perform well in network formation predictions. Overall, our study opens up new possibilities for using LLMs in network science research and helps develop socially aware LLMs by shedding light on their social interaction behaviors and exploring their impacts on social dynamics.
[ -0.4865367711, -0.9020951986, 0.4203582704, 0.178366974, 0.0729392394, 0.178408742, -0.2450756729, -0.356682539, 0.7699540854, 0.4467737675, -0.6278824806, -0.226317957, -0.2889801562, 0.2772215307, -0.2407973707, 0.7718231678, 0.248997882, 0.1026065126, -0.1463061422, -0.2158835679, -0.2335880995, -0.7839243412, -0.8653284311, -0.7195966244, 0.9460417628, 0.2896484733, 0.6493196487, 0.6478787661, 0.533346355, 0.406571418, -0.3092996478, 0.2471836358, -0.7833902836, 0.1215801686, -0.1066914052, -0.4129638672, -0.4615038633, 0.0139785884, 0.8843021989, 0.7940645218, -0.115351297, 0.1512857825, 0.3548604548, 0.9032897949, -0.0353335254, 0.0913871452, -0.4599526227, 0.1096304581, -0.3420028985, -0.2195290476, -0.2211086452, -0.5199685693, 0.3267402351, -0.2367482483, 0.1374362409, 0.2704716027, 0.6424144506, -0.3320091963, -0.9108898044, -0.1107848361, -0.526248455, 0.2541216612, -0.2267682999, 0.1598412097, -0.0253626574, 0.3259601295, -0.5556842685, -0.5176153183, -0.490165174, -0.0175296422, 0.0993149877, -0.2142394781, 0.3316403925, 0.261929214, 0.1363658011, 0.0440803841, -0.2618200183, 0.2090893984, -0.7231635451, 0.1337920874, 0.4442400932, 0.4233955145, 0.2834284604, -0.1767888665, -0.2793817222, 0.2273653448, -0.915553987, 0.0749471486, 0.4438955486, 0.4467986226, -0.2785604298, 0.6875146031, 0.0498731732, 0.3242778778, -0.088914685, -0.1841626763, 0.226917088, -0.3480061889, -0.2519052923, 0.0186212733, 0.8742492795, 0.5235176682, 0.7619658709, 0.1474641412, 0.0817097425, -0.0166518427, 0.092791006, -0.5627379417, 0.1964823157, -0.1795076877, -0.9607237577, -0.5614373684, 0.1419893056, -0.39834553, -0.6555514336, -0.4157261252, 0.1031592935, -0.0703116208, -0.6837751269, 0.0096174907, -0.1735198945, 0.2411214858, 0.3729870021, -0.5540626645, 0.6981549263, 0.5595738292, 1.1934767962, -0.2178130001, -0.7363755703, -0.076352194, 0.272274226, -0.2872063816, 0.4909945726, -0.323635608, -0.3680281341, 0.2647924125, 0.2447705716, -0.163125664, -0.3498167694, -0.0811466575, -0.6864495873, -0.3363859355, -0.4530016482, -0.5430270433, -0.150300473, 0.2726801634, -0.6755516529, 0.5854333639, -0.4187841713, -0.7426825762, 0.1684648395, -0.9373463392, -0.3459528685, -0.1917717457, -0.2673084438, 0.1161811575, 0.1518416852, -0.5962525606, 0.7139909863, -0.1883394718, 0.2410401404, -0.8509653807, -0.161665827, 0.5321304202, -0.1785367876, 0.657833755, 0.0122481855, 0.0831981003, 0.1146851107, -0.3744619191, -0.4557557404, 0.2025758326, -0.3473453224, -0.213499099, 0.320322752, -0.4747287333, 0.3167489171, -0.1073621362, -0.2889602482, 0.5680008531, -0.2633677721, 0.5975179672, 0.8443943858, 0.392675519, 0.3580650389, -0.5160599351, 0.3739484251, 0.1479961425, 0.2007385492, 0.1216697246, -0.5681633353, -0.7102488279, 0.1956126541, -0.1296000332, 0.1949011832, -0.4733443856, -0.1990453601, -0.3480080962, -0.3210614026, 0.0012461622, 0.2209388912, 0.3722091317, 0.1014160588, -0.108429864, -0.1670794338, -0.5184497237, -0.8689933419, 0.0553937592, -0.2255525738, 0.6083881259, 0.4347376525, 0.5298350453, -0.4020526409, 0.881423831, -0.4790686965, -0.1895757914, -0.2394737005, -0.1353674382, 0.2984905839, 0.0298940055, 0.6028482914, -0.5613562465, -0.4314975739, -0.090107955, -0.6768581271, 0.2027066648, 0.2206210047, -0.1146164984, -0.0089248605, 0.6417928934, -0.4555934966, 0.1477631032, 0.7675052285, -0.2969980538, 0.7027449608, -0.0364719033, 0.0639496222, -1.2095252275, -0.5078958869, 0.1755449474, -0.0769840479, -0.7530896664, -0.1923504919, -0.4207550883, 0.1417970657, -0.6430528164, 0.4290671051, -0.8002165556, -0.3683744371, -0.0994298607, 0.3745290041, -0.2286487967, 0.1955184639, -0.1549135298, 0.6434751749, 0.8597952724, -0.8932919502, 0.4233944714, 0.1533511877, -0.2241891176, 0.085375011, -0.7152158022, -0.0358197391, -0.0732077584, 0.3199521601, -1.0900059938, -0.3124620616, -0.0070900079, -0.2105963677, 0.0425575078, -0.2949568033, -0.6807566881, -0.3088952601, -0.4482477903, 0.353102386, 0.1113599166, -0.3537839353, 0.2522381246, 0.7301678658, 0.0498549268, -0.2911322117, -0.8031458855, 0.0990670547, -0.2791843414, -1.0761859417, 0.0512064882, -0.052278351, -0.5932277441, -0.3193038404, 0.2587257326, -0.065008305, 0.1252563447, 0.5294970274, 0.0637788028, -0.3384869397, 0.1981314868, 0.1197469309, 0.3294570446, 0.2713722587, 0.0470062606, 0.752687037, -0.4632302821, -0.3401094973, -0.2188684046, -0.0063917795, 0.8790088892, 0.00748921, 0.9959719777, 0.2337132394, -0.1058568954, -0.1115217358, -0.3914805651, -0.4160721302, -0.5640287399, 0.135997951, -0.4482322633, -1.1655580997, 0.7655768394, -0.4276112318, -0.2002379149, 0.0804291293, 0.6613503098, -0.2179801911, 0.7959107161, 0.5051886439, 0.0357873216, 0.4631167948, -0.2413461059, 0.0054993709, -1.147736907, -0.2165623605, -0.1911360919, -0.4207837582, -0.7834035158, -0.3253393471, 0.4745379686, 0.1677483916, -0.0923496708, 0.101892814, -0.1855967939, 0.4536572695, 0.1063793451, 0.1005095914, 0.1349884272, -0.037346229, -0.4418429732, 0.2867085934, -0.6029339433, -0.7097666264, 0.9581868649, 0.3628887236, 0.7488760352, 0.7895900607, 0.7904960513, 0.2750711143, 0.273683399, -0.5465688705, 0.7030417919, 0.0835975632, -0.3851333559, -0.3560269177, -0.2643697262, -1.3220728636, 0.1869722456, -0.519179225, -0.9297935963, 0.1070554107, 0.1677330285, -0.1416821331, 0.2267630249, -0.3437638283, 0.3820455074, 0.033348307, -0.2570663095, -0.2894211411, -0.8661824465, 0.6346854568, 0.0206304286, 0.5277826786, -0.4176848829, -0.063099958, 0.4761690497, -0.2367111295, 1.1337339878, 0.1620258242, -0.0690623671, 0.4356786311, 0.2780019343, 0.462939024, 0.1301755607, -0.1352539212, 0.2664310634, -0.0789995193, 0.2608248293, -0.3772979379, 0.8656820059, -0.9826775193, -0.5871179104, -0.1503885537, -0.2574466765, 0.0443362929, 0.2254164666, -0.0687283948, 0.6272547245, -0.4451011717, 0.232972309, 0.7127943039, 0.1745525002, 0.6373481154, 0.3401881754, -0.7835136056, -0.3450495601, 0.6696940064, 0.2568734288, 0.634689033, 0.0730194673, 0.4718634784, -0.2049457282, -0.4173785746, -0.1255583912, 0.6257826686, -0.4945262671, 0.0139842732, -0.6412854195, -0.2461497635, -0.470315963, -0.0723356605, -0.0874713957, -0.3734850287, -0.2617497742, -0.051221855, 0.3354896009, 1.0252070427, -0.0871302336, 0.4447633326, -0.8558380008, 0.1374695748, 0.2387348861, 0.3647697866, 0.0892602652, -0.1205594391, -0.2797930837, -0.1822749078, -0.2421886176, -1.3208222389, -0.0065150443, 0.489112556, 0.4859741926, 0.8173731565, -0.1961667538, 0.4007639289, -0.6065236926, 0.8557595015, 0.3460624218, -0.754011035, 0.3520587087, -0.7714614868, -0.1623672992, 0.2894652486, 0.2277243286, -0.7637713552, -0.2691345811, -0.4641310573, -0.4782877266, 0.6482621431, 0.2032520324, 0.2904278338, -0.1937537342, 0.6082512736, -0.4633421302, 0.3669779003, -0.9551038742, -0.7351351976, 0.227144137, 0.3140487671, 0.1931719631, -0.3751529753, -0.305514276, -0.1429791301, 0.2118294388, -0.2492061406, 0.1713159978, -0.059462484, 0.2817319036, -0.1850955188, 0.0670745149, 0.8659584522, 0.6706118584, -0.0549087264, 0.369889468, 0.131499961, -0.256228745, 0.4170348644, -0.7685577273, 0.1276652664, -0.1894528121, 0.1166869849, 0.5924055576, 0.1123912036, -0.1521970779, 0.6017439961, -0.2459281683, -0.3863183558, -0.1774985492, 0.3151847422, 0.6073397994, 0.3957062066, -0.0456966572, 0.0600429811, 0.0579771101, -0.7786642313, 0.0505729727, 0.4692265391, -0.1579815, -0.4706770778, 0.1074936762, 0.4486720264, -0.5389964581, 0.3518690467, -0.2438066304, -0.4931182265, 0.684140265, 0.6145700216, 0.7522020936, -0.2952504158, 0.2831424773, 0.0704092234, 0.4371584356, -0.2308145165, 0.2701615989, 0.2967514098, -1.1952605247, -0.2241802812, -0.4122753143, -0.2721084356, -0.2242818028, -0.519179225, 0.5387108922, -0.5196057558, -0.6036036611, -0.0683842227, -0.10967087, -0.4289636314, -0.1675221473, 0.0123162288, 0.6820032597, -0.7493271232, 0.8073987961, 0.8715263009, -0.1756401062, -0.8952757716, -0.1628468782, 0.5856819153, -0.6492933035, 0.8384201527, 0.3232966661, -0.6113857627, -0.016986154, -0.4363321662, -1.211504221, 1.1273988485, 0.2070365548, -0.4896903634, 0.0161804147, 0.0683776811, 0.4658400416, -0.6452217698, 0.089754194, 0.0788809583, 0.4105778933, 0.0832246393, -0.8896738887, 0.0837331414, -0.0966719687, 0.1506048292, 0.4529573321, -1.2470442057, 0.9500303268, -0.3720247149, -0.3055256903, -0.2148732543, 0.5066315532, 0.4080074131, 0.2045640051, 0.4210680723, -0.0539803356, 0.6643964052, 0.2822387218, 0.6582437158, -0.5929545164, 0.2268382013, 0.9145287275, -0.4158195853, 0.5607323647, 0.464897573, -0.1014042273, 0.6287873387, 0.7334732413, 0.0938663408, 0.0822159573, 0.5343564749, 0.0162487384, 0.0532510243, -0.2510768473, -0.3208376765, 0.4811597764, 0.4122619033, -0.3536076844, 0.1553955972, -0.2023287416, 0.0894902721, -0.3370323181, -0.4197896421, 0.7330254316, 0.3233662844, -0.3503078222, 0.0796598792, -0.0821764991, 0.4923749864, -0.5775344968, 0.0893597901, 0.0965934619, -0.0624150783, -0.4074354768, -0.8815133572, 0.2512798905, -0.3751617074, -0.3372773528, 0.0447449237, 0.688703835, -0.2795017064, -0.0394434296, 0.5637623072, 0.7234920263, 0.4438433349, 0.4037960768, -0.6082583666, 0.1833310425, -0.131050691, -0.3928185105, 0.5151728392, 0.6895653605, -0.0202064961, 0.7845172286, 0.7226125598, 0.3781140447, 0.271797657, 0.2942034602, 0.8155834079, -0.4218495786, -0.0910029858, -1.0968761444, 0.2203612626, -0.2252533138, -0.347722888, 0.910235703, 0.2354991734, 0.4783450663, 0.3340568542, 0.4911346436, 0.1651697755, 0.0483662486, -0.4576926231, 0.7100694776, -0.4998255372, 0.3570435643, -0.4814870656, -0.8916208744, -0.0668952093, 0.3635571599, 0.0578834526, -0.0254203845, 0.750831008, 0.8837813139, 0.1361967474, -0.0001319995, 0.2062031329, 0.2503600121, 0.3645919859, -0.0310045723, 0.9774047136, 0.0938813835, 0.3789117634, 0.0809895024, -0.1629960835, -0.186259076, -0.9961714745, -1.1017600298, -0.4405765235, -0.2489692271, -0.4430401623, -0.2879732847, 1.2383834124, 0.582881391, -0.2661193013, -0.881581068, -0.0137388958, 0.4232685864, 0.0708486438, -0.2839354873, 0.0377867185, -0.2895487249, -0.1761588305, 0.3650803566, 0.4431847036, 0.1732491851, -0.4784334898, -0.2657190859, -0.4444772303, 0.3591313958, 0.7685879469, 0.084923692, -0.6275655627, -0.1866187751, -0.0969930962, -0.2438485473, 0.1252880394, 1.0063127279, -0.1037715003, 0.2670535445, 0.4172403514, 0.1725937426, 0.1556080878, -0.2433815151, 0.6104818583, -0.7107874155, -0.2271483392, -0.2643159032, 0.5030480027, 0.1234486625, -0.2231056243, 0.5151478648, 0.4076415002, -0.7857455611, -0.7846226096, 0.4713019729, -0.6486616135, -0.1488526911, 1.440454483, 0.2007980645, -0.2388262451, -0.1340336651, -0.1859609187, 0.2691673636, -0.4674675465, 0.3506101966, 0.6166476011, -0.6405043006, -0.1503570974, -0.248733446, 0.456404984, -0.1507462114, -0.6661342382, -0.0646134168, 0.4581498206, 0.2702479064, 0.3246747851, 0.7588185668, 0.2725841701, -0.2465713024, -0.3671028316, -0.18943578, -0.0367760211, -0.5324624181, -0.1770026982, 0.341538161, 0.2461389899, 0.1253063977 ]
http://arxiv.org/abs/2402.10654v1
http://arxiv.org/pdf/2402.10654v1
Enhancing Numerical Reasoning with the Guidance of Reliable Reasoning Processes
2024-02-16T13:02:11
2024-02-16T13:02:11
Dingzirui Wang, Longxu Dou, Xuanliang Zhang, Qingfu Zhu, Wanxiang Che
cs.CL
cs.CL
Numerical reasoning is an essential ability for NLP systems to handle numeric information. Recent research indicates that fine-tuning a small-scale model to learn generating reasoning processes alongside answers can significantly enhance performance. However, current methods have the limitation that most methods generate reasoning processes with large language models (LLMs), which are "unreliable" since such processes could contain information unrelated to the answer. To address this limitation, we introduce Enhancing NumeriCal reasOning with Reliable procEsses (Encore), which derives the reliable reasoning process by decomposing the answer formula, ensuring which fully supports the answer. Nevertheless, models could lack enough data to learn the reasoning process generation adequately, since our method generates only one single reasoning process for one formula. To overcome this difficulty, we present a series of pre-training tasks to help models learn the reasoning process generation with synthesized data. The experiments show that Encore yields improvement on all five experimental datasets with an average of 1.8%, proving the effectiveness of our method.
[ -0.2662035823, -0.6309748292, 0.7801241279, 0.4232821167, -0.2511866689, 0.0814165697, -0.1467362642, -0.2403400987, 0.0276782028, 0.8402082324, -0.531396091, -0.3002390862, -0.4921534061, 0.2941942513, -0.0428223498, 0.8343989849, 0.1077164784, 0.1485127211, -0.4935736358, 0.0251898468, -0.3636534512, -0.4972397089, -0.9095059037, -0.4986510575, 0.3214254975, 0.5599535704, 0.730512619, 0.5819142461, 0.6203006506, 0.2557657659, -0.1632878631, 0.7560924888, -0.5770115852, 0.5179497004, -0.271317035, -0.3545549512, -0.5164778829, -0.4329800904, 0.6878785491, 0.7555348277, -0.2199200243, 0.1001829579, 0.1547967046, 0.7836508751, -0.5256219506, 0.2049033642, -0.9252223372, -0.0175396856, 0.1415115148, -0.5408530235, -0.6734339595, -0.6861276627, -0.2425699383, -0.7051407099, -0.0639062524, -0.1198521703, 0.3746836483, 0.6939809918, 0.0428181626, 0.1035745367, -0.8306129575, 0.8066116571, -0.9027751684, 0.0321059935, 0.4062892497, 0.1077273786, -0.4372439086, -0.7968461514, -0.3333007991, -0.1936366111, 0.1745815724, -0.0111705679, -0.0026539201, 0.1445640773, 0.9110780954, -0.2025384605, -0.3785873055, -0.2052997053, -0.2933907807, -0.2207497656, 0.7836747169, 0.2132866383, 0.1719470471, -0.0248708259, -0.1115617678, -0.1480015516, -0.8230019212, -0.1681396812, 0.1765777469, 0.4429099262, 0.4535436034, 0.596442163, -0.1584866345, 0.6041980386, -0.2447957247, -0.1656410843, 0.4276112914, -0.2011871636, -0.1119209379, 0.1661708951, 0.4965482056, 0.0176136643, 0.2806117833, -0.1171076521, -0.2703815997, 0.0733477846, 0.5730513334, -0.7367802262, -0.2478377223, 0.2187502533, -0.0813004375, -0.1215602532, 0.0153481672, -0.2814474702, -0.0227377787, -0.6491319537, 0.3508128226, -0.6320851445, -0.3990799189, 0.2997655869, -0.2289267033, -0.1148321331, 0.4315440953, -0.6706210375, 0.1818515956, 0.9602211118, 0.5224143863, -0.0293258969, -0.1183895394, -1.0660611391, -0.0087686703, -0.6758703589, 0.9095950127, -0.7750548124, -0.3799040318, -0.3346502483, -0.1961661726, 0.0934472308, -0.7293775678, 1.0697786808, -0.4714743495, -0.4122902453, -0.4659622014, -0.5676664114, -0.1342064887, 0.1853408515, -0.4544577897, 1.2793929577, -0.1858663112, -0.6531569362, 0.245115146, -0.7971525192, -0.3188112676, 0.0244831741, 0.0372555368, -0.4499450326, 0.3294317424, 0.5301773548, 0.2711425424, 0.0366825908, 0.4108866751, -0.6390496492, -0.2458504289, 0.1213458851, -0.5543100238, 0.5481402874, 0.2109205574, -0.1165484041, 0.0765976757, -1.0656073093, 0.4929705262, -0.0309505686, -0.1710706949, -0.1848552376, 0.0150605766, -0.6068150997, 0.1513997316, -0.0253268331, -0.3268300891, 0.2267155498, -0.5466843247, 0.1022302061, 0.6012168527, 0.3988640904, 0.4227200449, -0.2733424902, 0.7737684846, -0.0536177456, -0.130107522, -0.4700444639, -0.5101158023, -0.6705086827, 0.2024431974, 0.1691419333, 0.5975851417, -1.1375486851, 0.1313645989, -0.184526965, -0.4675536454, -0.0924079791, 0.0974228308, 0.3534328043, 0.8237975836, 0.4858101904, 0.1687405854, -0.8696495295, -0.5796701908, -0.3367700279, -0.1699708551, -0.1111458242, 0.1721637398, 0.4535764158, 0.0180599447, 0.7086629868, -0.477478534, 0.304695636, -0.108024925, 0.4695668519, 0.3843599558, 0.552161932, 0.3002498746, -0.5285937786, -0.4051097929, -0.0597814284, -0.9184214473, -0.2609368265, -0.1504218429, -0.2997846603, 0.2281829119, 0.5004498959, -0.2756930292, 0.3693186939, 0.313424021, -0.1161930114, 0.8251289725, -0.508027494, 0.0234691855, -0.6317578554, -0.0226585902, 0.0455648378, -0.3385033906, -0.4510235488, -0.0249518566, -0.2478133887, -0.2019025981, -0.3991662264, 0.3796440661, -0.4212478101, -0.0668302923, -0.453071177, -0.0527525693, 0.1307931393, 0.1220907494, 0.5350550413, 0.8426185846, 0.6328908205, -0.7049016356, 0.2341030985, 0.1722632051, -0.3466365337, 0.2271381617, -0.8338114619, 0.2673108876, -0.2140888274, 0.0855997652, -0.7583483458, -0.2383322865, -0.0037710655, -0.5965367556, 0.12615183, -0.2999115586, -0.5027220845, -0.3834199011, 0.0534816869, 0.0749035329, 0.6043559313, -0.623795867, 0.8354528546, 0.1990754902, -0.5678150058, -0.7918868661, -0.4309071898, 0.0503048934, -0.2278573811, -0.8491317034, 0.1628757864, 0.0731606036, -0.3629575074, -0.06158714, -0.1562422216, -0.1409213394, 0.06916859, 0.1242180392, 0.113517262, -0.2135958672, 0.4171338081, 0.4146710336, -0.4793241918, 0.4397515953, -0.3181133866, 0.1519925892, -0.1621763259, -0.2748143971, -0.3361026943, 0.2029285729, 0.5124237537, -0.2322911024, 0.8565681577, 0.5511068702, -0.4243209064, -0.5216915011, -0.4002735615, -0.6186822057, -0.4416049421, 0.0948756561, -0.5083087087, -0.5297319889, 0.5303338766, -0.3466271162, 0.1276552677, 0.4692057073, 0.167224735, 0.0680346042, 1.4091014862, 0.3105165064, 0.4667699337, -0.0350350849, -0.2102866322, 0.0347891487, -0.7575570345, -0.4067761302, -0.6645138264, 0.0417293981, 0.0179447215, -0.5202983022, 0.5324195027, 0.3697192371, -0.2601326406, 0.1108039171, -0.783534348, 0.6788875461, 0.5289247632, 0.1726302803, 0.3216511309, 0.264937669, -0.20070526, -0.3700612783, -0.9158875942, -0.6946979761, 1.008035779, 0.2270106673, 0.7861434221, -0.1215799525, 0.6739630699, 0.0880026668, 0.3655334711, -0.2761944532, 0.5468344688, -0.1344659328, -0.2458176613, -0.3186232746, -0.7931014895, -0.5289657712, 0.1872874051, -0.5078645349, -0.5173170567, -0.0360060371, 0.4527968168, -0.5892051458, 0.2615984082, -0.5370268226, 0.6587712169, -0.4647330046, -0.7954164743, -0.1839662641, -0.3992201686, 0.4339764118, -0.0835832581, 0.0744869187, -0.0699646249, 0.2763688266, 0.5580880642, -0.8058816791, 0.606936872, -0.3819051981, -0.0699370354, 0.5462536812, 0.1479090154, 0.7603756189, 0.3593063653, -0.5799816847, -0.0187630896, -0.0720340088, -0.2166388184, -0.9189557433, 0.5945531726, -0.3084352911, -0.5991979837, -0.3524667919, -0.4614630938, -0.2635117173, 0.0676064938, 0.0201533139, 0.4269173145, 0.2797705829, 0.4070598483, 0.8410850763, -0.1987200677, 0.1863479316, 0.1217588037, -0.2966411114, -0.6376820803, 0.7344079614, -0.0049241865, 0.2077759504, 0.1957582086, 0.2219078243, -0.7267692685, -0.6426897645, -0.2463898659, 0.0686412305, -0.697244823, -0.2988925576, -0.693587482, -0.2747289836, -0.3625812829, -0.029791085, -0.5150834322, -0.7390405536, -0.3577135801, -0.2062147558, 0.4675238431, 0.3711127341, -0.4894880652, 0.0211005434, -1.1803554296, 0.3869730532, 0.1974761635, 0.2218176574, 0.0654913336, -0.7104183435, 0.0777880028, 0.3763217032, -0.2161354423, -0.4848611653, 0.5517782569, 0.3247783184, 0.6656876206, 0.3783925772, 0.2146472186, 0.7683771253, -0.6126506925, 0.7129788995, 0.0123982523, -0.7916003466, 0.8109805584, -0.4349617362, 0.3949238956, 0.5241366029, 0.4434012771, 0.090870142, -0.2547813952, -0.7435973883, -0.8384429216, 0.6359132528, 0.2870617211, 0.0925704315, -0.2925669253, 0.7169318199, 0.1322146207, 0.0426440276, -0.4937832355, 0.0532519184, -0.0897334665, 0.1504667103, 0.2381777167, -0.2702758908, -0.0294249803, -0.455296427, 1.1228513718, -0.343980819, -0.1324849129, 0.0950767174, 0.3417812586, 0.0131998044, 0.06149197, 0.7119508982, 0.9606113434, -0.0940740556, 0.0788187161, 0.2707040906, -0.1679759473, -0.0533064157, -0.016140053, -0.0970652476, 0.0781846568, 0.2162518799, 0.7505158782, 0.1241380051, -0.6953654289, 0.0204372387, -0.0560922399, -0.3579803705, -0.6197796464, 0.431637913, 0.1157700643, 0.1643208712, 0.4422926903, 0.4329708219, 0.0310931988, -0.0902055725, 0.4527373016, 0.3110633194, -0.137517646, -0.0167372804, 0.8118494153, 0.1259744167, -0.1977046877, 0.9330742955, -0.4238343835, -0.5046525598, 0.7162364125, 0.7067435384, 0.6973981261, -0.0588509776, 0.3856800199, 0.90947932, 0.1960780323, -0.7720823884, 0.5635105371, -0.0109973364, -0.7545651197, -1.0702109337, -0.6444852352, -0.6443027258, -0.0443733111, -0.6721087694, 0.1633866131, -0.3601304889, -0.2967884839, -0.0571169704, -0.4125169516, -0.2881957889, 0.2863883376, 0.0368391983, 0.8995098472, -0.7918364406, 0.5195224285, 0.4946963191, -0.3807610273, -1.0240677595, -0.45456779, -0.3134444654, -0.4154119492, 0.8160245419, 0.0288470499, -0.3215880692, -0.1414540112, -0.6837235689, -0.9311795831, 0.3979072869, 0.805138886, -0.471600771, 0.1760339886, 0.0450773276, 0.6390324235, -0.4067327976, 0.3263609707, 0.4529963434, 0.5902841091, 0.6196924448, -0.5800585151, -0.1292200089, -0.3165671229, -0.0442644395, 0.1219318658, 0.0446715467, 0.380322665, -0.6680378318, -0.1377281696, 0.0634797141, 0.7314312458, 0.8126996756, 0.3278631568, 0.3665949106, 0.8848519325, 0.9486907721, -0.3800163865, 1.0723477602, -0.3273056746, 0.0344919562, 1.4268280268, -0.3178832829, 1.05851686, 0.2265883237, -0.0745251179, 0.5927361846, 0.3525688052, 0.1260633171, 0.1663490683, 0.1366917491, -0.3604774773, -0.8909850717, -0.0259206537, -0.365601629, 0.2973002791, 0.6181584597, -0.4499364197, -0.1357176006, -0.0948555395, -0.1042878032, 0.4698534906, -0.4518075287, 0.6053349972, 0.2235895544, -1.0685218573, 0.691154182, -0.3303151429, 0.0940962955, -0.6307486892, -0.5855382681, 0.0252342131, 0.2002456188, -0.472686559, -0.7837061882, 0.7087842226, -0.0097616874, -0.1870827079, -0.4322602153, 0.869677484, -0.3039980829, -0.9102227092, -0.0725673586, 0.2791651189, 0.3643070161, -0.2345713973, -0.5599071383, 0.0681059808, 0.104857862, -0.0460560769, -0.1440773904, 0.5038632154, 0.1239476055, 0.9255882502, 0.9309307933, 0.317377001, 0.0512760431, 0.2688258588, 0.7092083693, -0.4671469033, -0.2327075303, -0.8200868368, 0.7587430477, -0.4436083436, -0.0691192895, 0.7107631564, 0.4990124702, 0.5704234838, -0.0886651501, 0.826613009, 0.4661487639, 0.690641284, -0.7355810404, 0.3085428178, -0.2906088233, 0.6338614225, -0.1259638071, -1.2254385948, -0.6139718294, 0.8314085603, -0.3122537136, 0.1183981895, 0.5054135919, 0.6984767914, 0.0714233667, 0.272300452, 0.1773328632, 0.1620668471, 0.3461849093, 0.4505884945, 0.7863119245, -0.1508729607, 0.432882607, -0.2936572134, -0.1380005926, 0.154623419, -1.3694640398, -0.531028986, -0.0592766516, -0.5062243938, -0.54237324, 0.0221872758, 0.8396440148, 0.6518572569, -0.5439337492, 0.2942059338, -0.4680763483, 0.2106838673, -0.4636183083, -0.2508833706, 0.2246552259, -0.752327621, -0.4902341664, 0.6691474915, 0.4644099176, -0.2326675951, -0.1430417299, -0.1186133698, 0.2597761154, 0.1522914767, 0.5229215622, 0.5996745825, -0.4792298377, -0.2463353127, 0.180705905, 0.5751300454, 0.1408488005, 0.6234971881, -0.8660000563, 0.5758630633, 0.6930422783, 0.7976503968, 0.5181961656, 0.4796220064, 0.7391495109, -0.6014741659, -0.1052905843, 0.5079246759, 0.4339534342, 0.3883123398, -0.1865077317, 0.7036142945, -0.0592756085, -0.8061733842, -0.9769355655, 0.2143262476, -0.7494072914, -0.0694225803, 1.2050303221, -0.1767528802, -0.1283049136, -0.0221110508, -0.1522387415, -0.03226576, -0.4087175429, 0.6836804152, 0.4344483018, -0.5176209807, -0.2837710083, -0.2298348993, 0.5049902201, 0.4347805083, -0.9334557056, 0.0111914063, 0.4452492297, 0.1327877194, 0.3798058629, 0.5343085527, -0.3127783835, 0.2635208666, 0.329336822, -0.1407085806, -0.2467000932, -0.5522261858, -0.1468418688, 0.3345321119, 0.1180895269, 0.3686560392 ]
http://arxiv.org/abs/2402.10646v2
http://arxiv.org/pdf/2402.10646v2
AbsInstruct: Eliciting Abstraction Ability from LLMs through Explanation Tuning with Plausibility Estimation
2024-02-16T12:47:11
2024-06-17T16:39:02
Zhaowei Wang, Wei Fan, Qing Zong, Hongming Zhang, Sehyun Choi, Tianqing Fang, Xin Liu, Yangqiu Song, Ginny Y. Wong, Simon See
cs.CL
cs.CL
Abstraction ability is crucial in human intelligence, which can also benefit various tasks in NLP study. Existing work shows that LLMs are deficient in abstract ability, and how to improve it remains unexplored. In this work, we design the framework AbsInstruct to enhance LLMs' abstraction ability through instruction tuning. The framework builds instructions with in-depth explanations to assist LLMs in capturing the underlying rationale of abstraction. Meanwhile, we introduce a plausibility estimator to select instructions that are more consistent with the abstraction knowledge of LLMs to be aligned. Then, our framework combines abstraction instructions with general-purpose ones to build a hybrid dataset. Extensive experiments and analyses demonstrate that our framework can considerably enhance LLMs' abstraction ability with strong generalization performance while maintaining their general instruction-following abilities.
[ -0.241653055, -0.5746082664, 0.5796461701, 0.0902607813, -0.1636977345, 0.2240607888, -0.1100560129, -0.3566273749, 0.1309636384, 0.2449005991, -0.721122086, -0.6310498714, -0.3977192044, -0.0692885667, -0.4872480631, 0.844175458, -0.1141015738, -0.1361296773, -0.7535295486, 0.1351492256, -0.3849460483, 0.0217800345, -0.2991119921, -0.5811806321, -0.0875913575, 0.512735188, 0.4856193364, 0.9483988285, 0.2435283512, 0.3813031018, -0.0388198048, 0.4343776703, -0.214084059, -0.1373921335, -0.4534897804, -0.6724912524, -0.6728454828, -0.3658638, 0.5076311231, 0.814764142, 0.0018015932, 0.1070762202, 0.2647641897, 0.7037793398, -0.8430597782, 0.2005454153, -0.5859851241, 0.0037551092, -0.0078801978, -0.2634836435, -0.393986553, -0.1709987968, 0.0263585858, -0.7056818008, 0.2154460102, 0.071373634, 0.4742712379, 0.4452386796, -0.2139710635, -0.2478910983, -0.5441012979, 0.68980515, -0.7831819654, 0.0927285925, 0.4714768529, 0.0707203895, -0.2431613803, -0.698338449, -0.2074685246, 0.0379880331, -0.1628172994, 0.3399980664, -0.0125115328, 0.4605246186, 0.093530409, 0.715678215, -0.4442453086, 0.3923063576, -0.2048748881, -0.433578372, 0.6981483698, 0.2187201679, 0.3416911066, 0.1431107968, -0.4496273994, 0.4197327495, -0.676420033, -0.03677468, 0.4634954631, -0.0054863081, -0.2360881716, 0.6868642569, -0.2348731905, 0.886839509, 0.1808273196, 0.0234599467, 0.2727526128, -0.3632092178, -0.1991156489, 0.248590529, 0.3867323101, 0.1167927384, 0.191215679, -0.3642211556, -0.2915661633, 0.0909266472, 0.2736068666, -0.7041078806, -0.3050492406, 0.5451068282, -0.4422349334, 0.0891060531, 0.2365080267, -0.5659934282, -0.3351162374, -0.6306116581, 0.4856933057, -0.7398971319, -0.3983762264, 0.3922584653, -0.1009973884, 0.290414542, 0.2217030972, -1.0658819675, 0.461895287, 0.8516734242, 0.8057757616, -0.3742011786, -0.2071515918, -0.4189035594, 0.3391781747, -0.203725487, 1.0742843151, -0.5482127666, -0.3318834603, -0.2174774706, -0.1812448651, -0.2991158366, -0.6449195147, 0.5948678851, -0.2028111666, -0.0194041561, 0.1080530882, -1.0527408123, -0.4067486823, -0.2383380681, -0.4216920435, 0.7789823413, 0.1656338274, -0.6507841945, -0.0495148711, -0.9164230824, -0.6894018054, 0.2572403848, -0.3029149175, -0.3557908535, 0.4871451259, 0.2887151539, 0.3389922678, -0.0689748377, -0.0277318303, -0.0086748367, -0.7617632151, 0.1844171584, -0.2845137715, 0.9679394364, -0.1421715617, -0.3572944105, 0.1685563326, -0.7790240049, 0.1830922365, -0.2680283487, -0.2788746655, -0.1959157288, 0.1734142452, -0.6822140217, -0.2347888947, 0.3336604238, -0.3857592642, -0.1056160182, -0.9245199561, 0.220957607, 0.8887693286, 0.1626975238, 0.7305383086, -0.5321645737, 0.6416348219, -0.0726186186, -0.0880527794, -0.1805448532, -0.481256783, -0.6923258305, -0.682411015, 0.1817681491, 0.790381074, -0.5982504487, 0.8314929605, -0.0883358866, -0.229761973, -0.7249153852, 0.5425726175, 0.5438563824, 0.683468163, 0.5356474519, -0.1718840152, -0.6716641188, -1.1782106161, -0.2647018135, 0.0083592627, -0.5335725546, -0.0795116648, 0.599429369, -0.0000924772, 1.019928813, -0.2584808767, -0.1667814404, -0.1714447737, 0.2119265646, 0.2102980316, 0.4505113363, 0.3642165363, -0.5208727121, -0.080968596, -0.0653797239, -0.8365240097, -0.3310899138, -0.0740231648, -0.2794359624, 0.0266654082, 0.4916860759, -0.4381304085, 0.5238617063, 0.340064615, -0.1896548122, 0.6914277673, -0.219100222, -0.1368877888, -0.9320676923, -0.099631235, -0.0119356783, 0.0074334876, -0.4331376851, -0.0579737797, -0.0191799048, 0.2421189994, -0.4198117256, 0.3896037638, -0.6365585923, -0.231515035, -0.3904612958, 0.0202652644, 0.0109058507, 0.4879891276, 0.1715913713, 0.7819135189, 0.766035378, -0.7932568789, 0.209257409, 0.2824887335, -0.7369483709, 0.7189355493, -0.8651970625, 0.0407622233, -0.1594224125, -0.0780986622, -1.0408196449, -0.3914067149, 0.1912551969, -0.2090232968, 0.216585815, -0.1893842518, -0.3618832827, 0.0287461355, -0.2700005472, 0.0802229196, 0.4171176255, -0.4942286909, 1.1390588284, 0.1623084247, -0.1528370082, -0.5577456951, -0.7915866375, -0.2961024046, -0.1564723104, -0.4862145782, 0.8037425876, -0.2847848535, -0.3206624091, 0.1167367697, -0.2736254036, 0.0336377621, 0.2489417493, 0.4213575125, 0.2593926787, -0.3463090956, 0.0382330716, 0.5719864964, -0.2334514707, 0.297331363, -0.0627881438, 0.23404257, -0.1954183578, -0.7399556637, -0.8995749354, 0.2230228335, 0.3586582541, -0.2468337566, 0.6381524205, 0.2045698613, -0.1360017508, -0.4850908518, -0.0952219591, -0.3590203822, -0.5432491899, 0.4920481443, -0.3260139823, -0.4699982703, 0.4586298466, -0.4303019047, 0.5393403172, 0.0196198188, 0.4576368928, -0.2643651366, 0.8761505485, 0.3774165213, 0.2508021295, 0.3674789667, -0.38034302, -0.1114282608, -0.8882715702, -0.3078480065, -0.2048428357, -0.6308200359, -0.0459960885, -0.263294667, 0.1771648079, 0.2053394318, -0.3907234371, 0.0049726581, -0.5307967663, 0.7254013419, 0.4773164988, 0.4278012514, 0.4924204946, 0.2682956457, -0.0915392712, -0.0715186074, -0.7060934901, -0.3883168697, 0.8498178124, 0.3252671659, 0.5835496783, 0.2572540641, 0.5958521366, 0.1734798253, 0.4469738901, -0.8970721364, 0.690466702, -0.2177822292, -0.4532057941, 0.0301946197, -0.3014216423, -0.5040742159, 0.1762870699, -0.379075557, -0.7249265909, 0.024454806, 0.4013553262, -0.2204435766, 0.1689808071, -0.789866209, 0.4804779887, -0.561694622, -0.3387428522, -0.1621191055, -0.5088062882, 0.5592038035, 0.0268276446, 0.1700289845, -0.0999714136, -0.4483285546, 0.6183653474, -0.3727134168, 1.2095315456, -0.1000311747, -0.1425338537, 0.173429057, 0.1231285259, 0.2928615212, 0.0484418906, -0.431476742, 0.1052014679, -0.4071198702, -0.3481858373, -0.8605226278, 0.5715587735, -0.6098680496, -0.765922308, 0.0869516283, -0.8597097397, -0.4397295713, 0.0390694402, 0.4304955304, 0.3849958777, 0.0364786983, 0.1388745606, 0.8626872301, 0.028817324, 0.4338504672, 0.448182255, 0.166023761, -0.422314018, 0.8523306251, -0.072306715, 0.3674059212, 0.6009576917, 0.1448226273, -0.4128527045, -0.9464330673, -0.4280280173, 0.20234631, -0.6959123015, -0.2986012995, -0.1610511839, -0.3197427988, 0.0307708401, -0.4193223119, -0.3361365199, -0.4500555098, -0.3173336387, -0.4892481565, 0.4304238856, 0.4606734216, -0.0636839122, 0.3934119344, -0.4040059745, 0.3651316166, 0.1637514383, 0.3547506928, 0.0445182137, -0.8448082209, -0.2006286085, 0.2097217143, -0.0891863331, -0.7193772197, -0.070364207, 0.4953116477, 0.9958574772, 0.7033375502, 0.2938567996, 0.6914528608, -0.2167129964, 0.3075913787, 0.0573093332, -1.1675107479, 0.6316536665, 0.0231031161, 0.3572860956, 0.5490826964, 0.3610669374, 0.313634336, -0.4938205183, -0.4787929356, -1.0700874329, 0.6129846573, 0.3055427372, 0.0525460951, 0.2909114957, 0.5434846878, 0.3008016944, 0.2008382976, -0.4981219471, -0.3166007102, -0.1679698825, -0.5817842484, 0.3065797985, -0.1439913213, -0.3729586601, -0.2947321534, 0.6696004868, -0.1636146307, 0.2116426378, -0.1216943711, -0.2042197585, 0.1152844504, 0.1193190813, 0.5074365735, 1.0348910093, -0.1540897489, 0.1413600594, 0.1690497845, -0.3876615465, 0.1106329039, 0.098610878, -0.301453054, -0.1657175869, 0.7813447714, 0.6806154251, 0.320782721, -0.6991110444, 0.3066423833, 0.20961079, -0.4842968881, -0.3679399192, 0.5134071708, 0.355638355, 0.1241905913, 0.4511222839, 0.0558346398, 0.0746010989, -0.2085260004, 0.3177363575, 0.3995773196, -0.0592037477, -0.3020215631, 0.6440083385, 0.3898536265, -0.3783065379, 0.5926266313, -0.0705138296, -0.0898791254, 0.6980749965, 0.6440432072, 0.8019055128, -0.2948695123, 0.3081334829, 0.0885187313, 0.1849894822, 0.0224637091, 0.2892378867, -0.2703075707, -0.9004427195, -0.835796535, -0.6005109549, -0.3894440234, 0.1152429879, -0.7188172936, 0.010125869, -0.612128973, 0.2910909057, -0.0269384012, -0.2283508778, -0.3144517541, -0.0430500619, -0.2133771777, 0.9359326363, -1.0551577806, 0.3742884398, 0.8271244168, -0.2870139778, -0.4370112419, -0.0161859784, 0.1456241608, -0.7681289315, 0.4846710861, 0.226122424, -0.4577551186, 0.2089230418, -0.570546329, -0.5108398795, 1.2252976894, 0.8408387899, -0.4420790076, 0.1828044504, -0.0648684651, 0.417119205, -0.6016223431, 0.164219901, 0.6501840353, 0.4967048466, 0.1612916142, -0.5173826218, 0.0760530233, -0.1556175202, -0.0280064195, 0.0806294829, -0.1232212856, 0.3336303234, -0.3996336162, -0.408110261, 0.2429673076, 0.9481576085, 0.544039309, 0.3579162359, 0.5033096075, 0.5242552161, 0.6980944872, 0.0632044598, 0.8723134995, -0.4016857147, -0.2696340978, 1.3098813295, 0.0157061797, 0.6853186488, 0.3699908257, -0.0388824455, 0.8915627003, 0.5233358145, 0.1864423156, 0.5321887136, 0.0996271819, -0.5714167356, -0.3346614242, 0.0246426724, -0.1367579699, 0.5925348401, 0.7189564705, -0.5118963122, -0.1191089526, -0.1946084201, -0.1167791784, 0.4087999165, -0.6128724813, 0.7914872766, 0.0614309497, -0.5027064085, 0.5147711039, -0.0505678393, 0.6401306391, -0.6826984286, -0.2090211064, -0.2716031671, 0.260995239, -0.7177541256, -0.8496673107, 0.4512240589, -0.3972479701, -0.2023245245, -0.0739240199, 0.5624859333, -0.2844033539, -0.5118023753, 0.1035301015, 0.6100155711, 0.259121865, 0.1769213825, -0.7702649832, -0.1364247203, 0.1121814996, -0.083755821, 0.3027555943, 0.3606105447, 0.1042588949, 0.7596963048, 0.45788908, 0.1411348134, -0.3500801623, -0.0826056302, 0.7049863935, -0.2519095838, -0.2475454509, -0.8870939016, 0.8338007927, -0.2445659488, -0.1807470471, 0.6709023118, 0.6383388042, 0.5986691117, -0.1256049424, 0.8942043185, 0.0224696882, 0.3683017194, -0.8912032843, 0.3445124626, -0.3473065197, 0.7282122374, 0.0755415857, -0.7928684354, -0.2461914271, 0.6947604418, -0.3996932805, 0.0411901027, 0.4486579895, 1.0517030954, -0.3621166348, 0.1109513491, 0.068154566, 0.1536242068, -0.0914216787, 0.5628211498, 0.6342906952, 0.0279731285, 0.4321862757, -0.3502732813, -0.5147805214, 0.0551252067, -0.9844831228, -1.0481625795, -0.3105053604, -0.4821271598, -0.1412851214, 0.0749408826, 0.6676512957, 0.6067478061, -0.8918620944, -0.2794999182, -0.4984182119, 0.4022987783, -0.7025289536, -0.2491621077, 0.5993896127, -0.1695057005, -0.7453785539, 0.6975994706, 0.4299863875, 0.0416455641, -0.2261730283, -0.1055924967, -0.1958886385, 0.0038319903, 0.5178264976, 0.4714364111, -0.5702683926, -0.0603607856, -0.1595678329, 0.408023864, -0.0532411411, 0.8181454539, -0.68040061, 0.2888987958, 0.4191645682, 0.8257396221, 0.1250335425, 0.4537833333, 0.8623096943, -1.0321593285, 0.1615282297, 0.2935963273, 0.4379372299, 0.3687677979, -0.4529457986, 0.5547667742, 0.0752721578, -0.3479388952, -0.5592924356, 0.5475158095, -0.7269358635, -0.5696110725, 0.9431595206, -0.1892657131, -0.2553293407, -0.6024301648, 0.0113162613, -0.0801355243, -0.2480220795, 0.7986840606, 0.3780869842, -0.9057468772, -0.36829862, -0.3997164667, 0.4137932658, 0.4212234914, -0.9011836052, -0.0254557393, 0.4919644594, 0.3090207577, 0.0933896601, 0.4325788021, -0.0732153952, 0.3490871191, 0.0609003417, -0.037782371, -0.5097925067, -0.1240810007, -0.105926998, 0.1321995556, -0.0781462938, -0.3358258307 ]
http://arxiv.org/abs/2402.10645v1
http://arxiv.org/pdf/2402.10645v1
Can Separators Improve Chain-of-Thought Prompting?
2024-02-16T12:46:16
2024-02-16T12:46:16
Yoonjeong Park, Hyunjin Kim, Chanyeol Choi, Junseong Kim, Jy-yong Sohn
cs.CL
cs.CL, cs.AI
Chain-of-thought (CoT) prompting is a simple and effective method for improving the reasoning capabilities of Large language models (LLMs). The basic idea of CoT is to let LLMs break down their thought processes step-by-step by putting exemplars in the input prompt. However, the densely structured prompt exemplars of CoT may cause the cognitive overload of LLMs. Inspired by human cognition, we introduce CoT-Sep, a novel method that strategically employs separators at the end of each exemplar in CoT prompting. These separators are designed to help the LLMs understand their thought processes better while reasoning. It turns out that CoT-Sep significantly improves the LLMs' performances on complex reasoning tasks (e.g., GSM-8K, AQuA, CSQA), compared with the vanilla CoT, which does not use separators. We also study the effects of the type and the location of separators tested on multiple LLMs, including GPT-3.5-Turbo, GPT-4, and LLaMA-2 7B. Interestingly, the type/location of separators should be chosen appropriately to boost the reasoning capability of CoT.
[ -0.8312957287, -0.9333207607, 0.8200292587, -0.0073246877, -0.6171957254, 0.5067595243, -0.3646657169, -0.541031003, 0.2342073768, 0.475707531, -0.3093395233, -0.2249892056, -0.5239260197, 0.3031854928, -0.3289940059, 1.0093138218, -0.154580906, -0.0460134596, 0.0397853181, 0.1344513595, -0.7170756459, -0.6947753429, -0.7637095451, -0.1797884554, 0.7842140198, 0.3117076755, 0.4525800347, 0.4146683812, 0.4447770119, 0.3125216663, -0.6630132198, 0.5415688157, -0.317119509, 0.4134644866, -0.4273331165, -0.6878650784, -0.2182231694, -0.2064650059, 0.4817489982, 0.533821404, -0.1729303747, -0.1456718147, 0.030642122, 0.823585391, -0.8875267506, -0.1741634458, -0.5913441777, -0.0551358312, -0.0971601754, -0.1649487466, -0.6084672809, -0.3695973456, 0.1645640284, -0.209538132, 0.0990725905, 0.1509488672, 0.5295246243, 0.214296788, -0.3305583, -0.2221048623, -0.7697626352, 0.6362187266, -0.3039712012, 0.2449079752, 0.0622854605, 0.4155685902, -0.3947574496, -0.5252823234, -0.6857479811, 0.0889038146, -0.0147732254, -0.0618402511, 0.1552335173, 0.2467414439, 0.6078888178, 0.2206580043, -0.0720965862, -0.0934432149, -0.8005709648, -0.0886638835, 0.3652275801, 0.2410970628, 0.446444422, 0.1158147082, -0.5293801427, -0.0036014901, -0.8580471277, 0.257522583, 0.0927390754, 0.2690857053, 0.2014056891, 0.2700504363, -0.0439909026, 0.7668724656, 0.2200094461, -0.2755334675, -0.1077759266, -0.2216708064, -0.1544962972, 0.321947813, 0.6501092911, 0.2146079838, 0.3155439198, 0.1485671699, -0.3197795451, 0.0803402886, 0.1416887939, -0.6844978333, -0.398575753, 0.2470088154, -0.2649133503, -0.250619173, 0.1019395068, -0.7169203162, -0.4494119585, -0.4398300052, 0.1865622252, -0.3291397691, -0.2587873936, 0.1373581886, -0.3280895948, 0.2465664297, 0.5361461043, -0.8475680351, 0.4262861609, 0.5855615139, 0.7372879386, -0.2842030227, -0.2372961789, -0.8510021567, 0.0846451744, -0.3662788272, 1.2619798183, -0.7860215306, -0.3272631466, -0.2759822011, -0.0966301262, -0.2857846916, -0.7070834041, 0.4630846381, -0.5288479924, 0.2027959675, -0.9673927426, -0.4103682339, -0.1907138079, 0.3168850839, -0.8763729334, 0.8096473217, -0.1760515422, -0.5812276006, 0.4347651303, -0.583403945, -0.4131738842, -0.1197236553, -0.4850401878, 0.039922677, 0.0526442043, 0.6608102322, 0.0037095135, -0.6539092064, 0.2241389155, -0.2354095578, -0.3344871998, 0.5014573932, -0.3579633236, 0.7278155684, 0.1935068369, -0.2514776886, 0.163504526, -0.4931411147, 0.1300208271, -0.2749752104, -0.2092013806, -0.2438589633, -0.0446175821, -0.4351435006, 0.6722901464, -0.0643501878, -0.4753356278, 0.1542568356, -0.1442845464, 0.4310986698, 0.8530186415, 0.1655783653, 0.4500032365, -0.3190056384, 0.7812408209, 0.3087613583, 0.1190925911, -0.1323195696, -0.6099467874, -0.7662819624, -0.6704286337, 0.2200879604, 0.3743304014, -0.7347376943, 0.5381859541, 0.3200653791, -0.2724564373, -0.3717101216, 0.0753778592, 0.4431195557, 0.5599921942, 0.4777590036, -0.3076355755, -0.5696486831, -0.391892463, -0.0908263624, -0.1547373831, 0.2065798044, -0.2681028545, 0.3774059415, 0.2566002309, 0.9856161475, -0.6742256284, 0.0360173844, -0.5107015967, -0.0903059989, 0.1135817841, 0.2218305767, 0.1836069375, -0.4829062521, -0.2160257697, -0.0975318104, -0.5337963104, -0.1965006143, -0.2693050504, -0.6867306232, 0.0160399955, 0.496525228, -0.9204169512, 0.4601996839, 0.1396748126, -0.3297984302, 0.9715809226, -0.1943039447, 0.0342157669, -0.8932895064, -0.0927495733, -0.4600716233, -0.1196767464, -0.515503943, -0.1447869092, 0.0482294969, 0.1572257876, -0.6210385561, 0.3288136423, -0.5846440792, 0.0107524749, -0.4012605548, 0.3649823666, 0.4402176738, 0.2755199671, 0.1044879407, 0.9156247377, 0.6233619452, -0.6937372088, 0.1410338283, 0.3769465387, -0.2442986965, 0.4019734859, -0.4801481664, 0.3025498092, -0.2429267466, 0.7925934792, -1.0131778717, 0.0100788558, 0.1465256214, 0.0560884736, -0.1032822728, -0.0345998704, -0.4050775468, -0.4361298084, -0.422447443, 0.5856733918, 0.4273473918, -0.9514809251, 0.5045182705, 0.2414596677, -0.008873608, -0.5169822574, -0.5980152488, 0.0379233323, -0.3373245299, -0.3668884635, 0.0251649376, -0.0267339144, -0.342549026, -0.3010987639, -0.2815549076, 0.0286183301, -0.0585026704, 0.0267221294, 0.4807219505, 0.0065435637, 0.2575946748, 0.3953464627, -0.1669508964, 0.3002309501, -0.3750707805, 0.7620622516, -0.1965938061, -0.2880320847, -0.3445125222, 0.2229983211, 0.5817670226, -0.4842421412, 0.9178100824, 0.3029193282, -0.1516098529, -0.272120595, -0.8135492802, -0.1805263311, -0.5091326833, -0.3087674677, -0.5437757373, -0.9061649442, 0.6482970715, -0.2729225159, -0.1826753616, 0.118385002, 0.503685832, -0.1063028723, 1.0129745007, 0.2058532834, -0.0384041481, 0.4548084438, -0.273096025, 0.6161681414, -1.3604104519, -0.2409540862, -0.2953362465, -0.5115033388, -0.4371486902, -0.5905809402, 0.1802610755, 0.5619308352, -0.2371421158, 0.082548067, -0.8210833073, 1.1363916397, 0.2451785654, 0.1916706413, 0.3397669792, -0.0375330932, -0.573586762, 0.3803375959, -0.5650889277, -0.5631437898, 0.6632128954, -0.0195343811, 0.8138389587, 0.0251950733, 0.8722829223, -0.0447336622, 0.1769769937, -0.621172905, 0.7370088696, 0.0775209442, -0.4996623099, -0.1040050089, -0.3840506077, -0.9122508168, 0.4719350636, 0.0788926408, -1.0059678555, 0.4547562003, 0.0258350633, -0.6514373422, 0.5909975767, -0.7408468127, 0.4326127172, -0.3147808611, -0.1584249884, -0.089933455, -0.6472111344, 0.282409966, -0.0424717851, -0.0194973201, -0.071609363, -0.1604333967, 0.7278303504, -0.857129097, 0.729308188, -0.1434684396, -0.1939423233, 0.8554766774, 0.1942956746, 0.6495516896, -0.2101072967, -0.0532936715, -0.1860346049, -0.1181860939, -0.1985988319, -0.8743564487, 0.4283187687, -0.642619729, -0.7809174061, -0.2612406909, -0.5734601617, -0.0396276601, 0.0439847447, 0.2940892875, 0.4950831234, 0.3754549026, -0.0622611456, 0.5635783672, -0.0550658368, 0.4500136971, 0.1401095539, -0.300105989, -0.8361718059, 0.5768324733, 0.1591318101, 0.6276664138, 0.2996690869, 0.3432094157, -0.5165569186, -0.3163668513, -0.364990741, 0.2663075626, -0.9878362417, -0.2209472358, -0.7418251634, -0.2066512108, 0.0054232911, -0.4351970553, -0.0257687438, -0.7396689057, -0.0508384705, -0.536010921, 0.5141009092, 0.7654295564, 0.083961077, 0.1674227566, -0.7253527641, 0.1782316118, 0.4208213687, 0.1029255837, 0.1839221567, -0.2304442227, 0.0110778389, -0.1250503659, -0.3509080708, -0.6798789501, 0.1385062039, -0.2863773406, 0.3955018818, 0.5763036609, 0.2313383222, 1.1153615713, -0.3308748603, 0.8220230937, 0.4062519372, -1.0275266171, 0.6936324239, -0.2333420217, 0.4906659722, 0.6681489348, 0.0293349735, -0.3768059909, -0.7929262519, -0.4208200872, -0.8458841443, 0.6846908927, 0.2509939373, -0.4199516475, -0.5526434183, 0.2608941495, 0.1188584864, 0.0882116184, -0.31723544, 0.170799315, 0.4203653038, -0.069188185, 0.364292115, -0.2215135843, -0.1442467719, -0.2581870556, 0.389700532, -0.0035023137, 0.1025063321, 0.4134032428, -0.2084780782, -0.133184731, 0.3673408926, 0.54895854, 0.7730902433, 0.0986214578, 0.5601997972, 0.6302710772, -0.4196488261, 0.4881743789, -0.3390346467, -0.184502542, -0.2674422562, 0.2026883066, 0.5867728591, -0.2145608664, -0.6893897653, 0.1249944046, -0.2805271447, 0.0681437105, 0.0343937911, 0.3903272748, 0.0471288227, 0.290132612, 0.0656145737, 0.2457076311, 0.0769662783, -0.4140620828, 0.0109830583, 0.01998128, -0.3164908588, -0.176183939, 0.5040061474, 0.4721762836, -0.344195962, 0.4723362029, -0.1526276171, -0.8113368154, 0.7529837489, 0.8253894448, 1.0024039745, -0.1978317648, 0.0498649292, 0.2380181998, 0.3162462413, -0.4093363881, 0.4160350859, -0.5333305597, -0.6897601485, -0.6625251174, -0.2754649222, -0.5439680219, -0.220704183, -0.6198244095, 0.372386843, -0.6452583671, -0.3296528161, -0.3924613893, -0.1248347461, -0.5385083556, 0.1243843734, 0.4120375514, 0.9459735751, -0.6303815246, 0.7021835446, 0.57799685, -0.3915429711, -1.0492440462, 0.1394122243, -0.0437642001, -0.1649226844, 0.5233000517, 0.5865513086, -0.6013359427, -0.4111130536, -0.3951358795, -0.9410201311, 1.0330051184, 0.3228258193, -0.742716372, 0.1566401273, 0.2516741157, 0.627019465, -0.4504036009, 0.7277864814, 0.8276817799, 0.293428421, 0.0262841545, -0.7907757163, 0.4262294471, -0.1356366426, 0.1434785426, 0.6175372005, -0.7496145368, 0.8339657784, -0.4741492569, -0.1705479026, -0.0153265372, 0.4294361174, 0.8936083913, 0.1538100243, 0.8099977374, 0.4741245508, 1.2921345234, 0.0173147973, 0.8144093156, -0.2473955601, 0.0689269379, 1.3260681629, -0.6239975095, 0.8415797949, 0.6422788501, 0.0393518917, 0.939838469, 0.3539647758, 0.5193030238, 0.3065721095, 0.3497325778, -0.5570749044, -0.3286452889, -0.1015684083, -0.2749609947, 0.175389424, 0.4852645993, -0.283801496, -0.1413554996, 0.1172190234, 0.1259185672, -0.2348601967, -0.0965665355, 0.8328148127, 0.2892354429, -0.9717212319, 0.748237431, -0.5822125077, 0.2122932971, -0.2960551679, 0.0251941402, -0.1351731122, 0.2544148862, -0.286328584, -1.0046995878, 0.1372039914, 0.2549978197, -0.0634747148, -0.1882790327, 0.8286502361, -0.5075970888, -0.3697874546, 0.5778657198, 0.5042717457, 0.2291553617, -0.1204771772, -0.3987935483, 0.201557681, -0.0472531654, -0.2367060632, 0.171680361, 0.845656991, -0.3914511502, 0.7379966378, 0.8925865889, 0.0655015633, -0.125329569, 0.5069508553, 1.3046563864, -0.9860268235, -0.6189275384, -1.0878880024, 0.5494004488, -0.3239942193, -0.2330004722, 0.365865469, 0.5408599973, 0.663775444, 0.2103295624, 0.791153729, -0.1144152135, 0.1113661155, -0.5223684907, 0.3931506872, 0.0457683317, 0.6201243997, -0.2571875155, -0.9816209674, -0.2471764982, 0.4695514441, -0.5978634953, -0.0611125529, 1.246571064, 0.7962693572, 0.2056964636, 0.4916225672, 0.1895256341, 0.0779305995, 0.6881967187, 0.5383683443, 1.4677577019, -0.0465546511, 0.6789506078, -0.2596795857, -0.1808587611, 0.0742348209, -0.5016742945, -1.213531971, -0.2033184618, -0.2439903021, -0.290068537, 0.0591245778, 1.3493192196, 0.4799255431, -0.6712730527, -0.212097317, -0.4407339096, 0.351228714, -0.262506783, -0.2022785842, 0.2601182759, -0.6216239333, -0.2460879534, 0.2935335338, 0.4666897058, -0.2404564023, -0.0739547536, 0.1059242114, -0.2295913398, 0.1497267038, 0.8437812328, -0.1276593953, -0.8557940125, -0.4055099785, -0.1810751557, 0.127331242, 0.225833714, 0.9972323179, -1.0497674942, 0.5933616161, 0.8481582403, 0.2837768793, 0.3658450544, 0.2778123617, 0.679851532, -0.4328451455, 0.1584523767, 0.1322656423, 0.5185161233, 0.1343676001, -0.5119833946, 0.4456778467, -0.0421859212, -0.6528992653, -0.6361420155, 0.2895959318, -0.9213284254, -0.1500929296, 1.2214467525, -0.0246507861, -0.623103559, -0.2587664723, -0.7911565304, 0.084960781, -0.6728536487, 0.9066568017, 0.8158285022, -0.3245654404, -0.2358705997, -0.0182178672, 0.2748765647, 0.4505749643, -1.2079713345, 0.2380969375, 0.1742383987, 0.1048706099, 0.2715907395, 0.6351153255, -0.2451044172, 0.4317561984, -0.0660466924, -0.0461773425, 0.2339849472, -0.5499774218, -0.1484263837, 0.0036715982, 0.0571639575, -0.1893120408 ]
http://arxiv.org/abs/2402.10644v2
http://arxiv.org/pdf/2402.10644v2
Linear Transformers with Learnable Kernel Functions are Better In-Context Models
2024-02-16T12:44:15
2024-06-05T14:13:22
Yaroslav Aksenov, Nikita Balagansky, Sofia Maria Lo Cicero Vaina, Boris Shaposhnikov, Alexey Gorbatovski, Daniil Gavrilov
cs.LG
cs.LG, cs.CL
Advancing the frontier of subquadratic architectures for Language Models (LMs) is crucial in the rapidly evolving field of natural language processing. Current innovations, including State Space Models, were initially celebrated for surpassing Transformer performance on language modeling tasks. However, these models have revealed deficiencies in essential In-Context Learning capabilities - a domain where the Transformer traditionally shines. The Based model emerged as a hybrid solution, blending a Linear Transformer with a kernel inspired by the Taylor expansion of exponential functions, augmented by convolutional networks. Mirroring the Transformer's in-context adeptness, it became a strong contender in the field. In our work, we present a singular, elegant alteration to the Based kernel that amplifies its In-Context Learning abilities evaluated with the Multi-Query Associative Recall task and overall language modeling process, as demonstrated on the Pile dataset.
[ -0.2212780714, -0.684271574, 0.3739511073, -0.0612190142, -0.0250283666, 0.0840572417, -0.1600645483, -0.3933098316, 0.26339221, 0.1941468865, -0.1311771274, -0.0661650598, -0.5846683979, 0.0000175747, -0.828450799, 0.9381563067, 0.1421039551, -0.0644463524, -0.5021288991, -0.3539145291, -0.2963902354, -0.5305355787, -0.3626274765, -0.5178770423, 0.2132431567, 0.0709080547, 0.8428372145, 0.2290433496, 0.1753842384, 0.2940140665, -0.1493647546, -0.0023513841, -0.5220896006, 0.1479751766, -0.0027487129, -0.3563675582, -0.3345791996, -0.267980814, 0.6876794696, 0.9266490936, -0.2934032381, -0.1609248668, 0.1738123149, 0.583696425, -0.59491539, 0.1516125202, -0.8677558303, -0.0378844291, 0.0732640475, -0.1291476488, -0.7544308305, -0.2055422366, 0.2675382495, -0.6685893536, 0.2402959764, -0.0757365972, 0.6770111322, 0.2144533694, -0.3855700791, -0.3979502022, -0.9272409081, 0.7840052843, -0.6305490136, 0.8169928193, 0.0178183746, 0.4599542618, -0.277884841, -0.9768139124, -0.6288201213, -0.2903503478, -0.3705390692, 0.0877545327, -0.2069161236, -0.1346735805, 0.1094015017, 0.5750763416, -0.2258697301, 0.1442039311, -0.4184873104, -0.2382460982, 0.1685049385, 0.0359114185, 0.1381134987, -0.1784783155, -0.5530451536, -0.1455750167, -0.7602632642, 0.4734401703, 0.0407163128, 0.4002999067, -0.1164350733, 0.3042087257, -0.0687208548, 0.6240121722, 0.0982530862, -0.0533934645, 0.1588296294, -0.0212444738, -0.2640538514, -0.2145582736, 0.4016558528, -0.1300349236, -0.0126570472, -0.2109513432, -0.500330627, 0.1259388328, 0.4749220312, -0.492384553, -0.4434782863, 0.1803130507, -0.3909725249, 0.0596700162, 0.0011542505, -0.4663933516, -0.3095059991, -0.318241626, 0.5287132859, -0.634272635, -0.1530981511, 0.0854560286, 0.0529767275, 0.3014442325, 0.259644866, -0.9162307978, 0.5139346123, 0.7196984291, 0.7482820153, -0.102815859, 0.1452807188, -0.6399303675, -0.1238097399, -0.3480746448, 0.7013966441, -0.7372236848, -0.5965517759, 0.243296355, -0.2022801191, -0.157939896, -0.623516202, 0.5828394294, -0.7731187344, 0.4074648321, -0.2087546885, -0.6662166119, -0.275883168, -0.0164597388, -0.8165713549, 1.3256701231, 0.3385531306, -0.5240636468, 0.4188210368, -0.7730855346, -0.5308364034, 0.5410398841, -0.1814911962, -0.4717462063, 0.1664930582, 0.2456889749, 0.4822692871, 0.0412186533, 0.3959023356, -0.1805769801, -0.3299235404, 0.0792643428, -0.0913452432, 0.745454073, -0.00724599, -0.1275414526, 0.2628569007, -0.7457375526, -0.2890525162, -0.1215326861, -0.3223950267, -0.6695197225, 0.242203176, -0.001654141, 0.1822500825, 0.12288028, -0.6153642535, -0.0789004639, -0.5316611528, 0.4608414471, 0.4803668559, -0.3542037308, 0.9175516367, -0.2053078413, 0.4974953532, 0.0457222909, 0.0363341086, -0.4733654857, -0.3837216496, -0.9645785689, -0.462551564, 0.1414810568, 0.4712379575, -1.0119558573, 0.3002559543, -0.3922322989, -0.504699111, -0.4655849934, -0.0676365271, 0.2443828136, 0.8435780406, 0.6106157899, -0.1605193913, -0.4015432596, -1.0800528526, -0.195649907, 0.0443979986, -0.0014573536, 0.4307940602, 0.4350498319, -0.2028269917, 1.2368843555, -0.218486011, -0.2922014892, -0.4883688688, -0.1239871606, 0.3727397621, 0.3616445065, 0.456590116, -0.9201171994, -0.4275790751, 0.1411320567, -0.7120267749, 0.0683576316, 0.0770376697, 0.1432134807, 0.2794465721, 0.5886766315, -0.6408380866, 0.2090801746, 0.4269739985, -0.1624443084, 0.3920999765, -0.2836786211, -0.191028595, -1.0408476591, 0.0896602347, 0.0523484312, -0.3064233661, -0.9009265304, 0.160023123, 0.4938352704, -0.0100708725, -0.5331025124, 0.4602075219, -0.2126340866, -0.1139921173, -0.1470000297, 0.0356566869, -0.2401999682, 0.5176099539, -0.1307978183, 0.7757178545, 0.6822220683, -0.6887136102, 0.1547403187, 0.2821370661, -0.4568913281, 0.3579847813, -0.576880753, 0.1384752244, -0.4534719884, 0.6400182247, -1.0551738739, -0.0986998528, -0.1876478195, -0.0455972664, 0.2040964514, 0.053359367, -0.458914876, -0.2475049198, -0.0582508035, 0.5132043958, 0.5534830689, -0.7604877949, 1.0059527159, 0.4897139072, -0.0405281633, -0.4494573176, -0.2341478914, -0.0411063395, -0.2596717477, -0.4402391315, 0.4936125875, 0.1964323819, -0.1738224626, -0.1263034493, -0.0903985053, -0.0052449391, -0.0588155836, -0.0258087274, 0.3092321455, -0.2748203278, 0.2184114605, -0.0542082563, -0.2351419032, -0.0949185342, -0.4291622043, 0.4628993869, -0.3237544596, 0.0003401709, -0.2626061141, 0.2214827389, 0.6108928919, -0.2583794892, 0.7859950066, 0.2248877287, -0.5306639671, -0.5779443979, -0.2116377801, -0.3893446326, -0.5052936673, 0.4089363813, -0.4222116172, -1.208353281, 0.4952067435, -0.0487402156, 0.1524689645, 0.5727804303, 0.3871942163, -0.1987059265, 0.5675372481, 0.9000163078, 0.0284444764, 0.5214618444, -0.2471679747, 0.4187488556, -0.8360593915, -0.3984139264, -0.3430502415, -0.4187578559, -0.5758159161, -0.2006720006, 0.7360185385, -0.2447114587, 0.0719249472, 0.7416145205, -0.2334472686, 0.2464475632, 0.4299427867, 0.0998738855, 0.1230461895, -0.1038283557, -0.4702184796, -0.0946011171, -0.9832641482, -0.3971984982, 0.7953703403, 0.4933409989, 0.6941290498, 0.0048272298, 0.2115742862, 0.1752048284, 0.4306391776, -0.7627070546, 0.4749100804, -0.4905847609, -0.307901144, -0.2846601009, -0.2824869156, -0.8051040769, 0.5655689836, -0.3564537168, -0.66887784, 0.2549996376, 0.3815333545, -0.5196821094, 0.4110304713, -0.7785164118, 0.7177039981, 0.0229021255, -0.0901957676, -0.2181186527, -0.4978776276, 0.3244117796, -0.1464919597, 0.4573328495, 0.2774781883, -0.0293846466, 0.4156654775, -0.2932912111, 0.76941818, -0.2037077099, -0.3445991874, 0.1440113783, 0.3676241934, 0.5992480516, -0.1539753675, -0.06607759, 0.0866924599, -0.2195586562, -0.2520495355, -0.7711846232, 0.6229647994, -0.4478231668, -0.4619745314, -0.0008861232, -0.7286703587, -0.3289646506, 0.030283086, 0.1887002736, 0.8927938938, -0.0751297176, 0.5779247284, 0.7502263784, -0.2884094417, 0.7194722891, 0.2233812362, -0.2167171836, -0.1731232405, 0.6838771105, 0.0289960057, 0.3538722694, 0.866178453, 0.2168766409, -0.4739309251, -0.2036789656, -0.2358498424, -0.107670173, -0.8195007443, -0.0375335999, -0.8150470257, -0.3040013909, -0.1544182003, -0.1739719808, -0.4017845392, -0.6152529716, 0.0811092928, -0.0705139339, 0.160549894, 0.8606297374, 0.4153247476, 0.4186771512, -0.5089221001, 0.2031250596, 0.4404299557, 0.4755059183, 0.1906347126, -0.6421029568, -0.3318695724, -0.0827301145, -0.3262808621, -0.4837201834, 0.361612767, 0.4208794534, 0.5474455357, 0.0757654086, -0.1220506132, 0.539162159, -0.6661102176, 0.6270532012, 0.0166225675, -0.9287545681, 0.2460451871, -0.2567831278, 0.4293469191, 0.1069647968, 0.267547965, -0.5880181193, -0.4737493098, -0.5317070484, -0.9852036834, 0.6097714901, 0.3519340158, 0.3564112782, 0.1065090671, 0.1883966327, 0.4941527545, -0.0284441393, -0.9772648811, -0.1927524209, -0.3280419111, -0.1176122129, -0.1746035069, -0.1200171858, 0.3423805535, -0.4386398196, 0.7330330014, -0.1730261594, 0.1497742832, 0.0961811617, -0.3108896911, -0.1702867895, 0.3041954041, 0.62105757, 0.6494915485, 0.0403220206, 0.3777429163, 0.4065045118, -0.232012704, -0.2163301408, 0.054311946, -0.184975341, 0.1693081707, 0.2945256829, 0.7531020641, 0.7536049485, -0.4950663447, 0.3831588328, 0.1297956109, -0.033013802, -0.3371254802, 0.1124541312, 0.0785908327, 0.1243139654, 0.7941806316, 0.2480222285, 0.202775836, -0.3300889134, 0.5189443827, 0.628405273, -0.612292707, -0.4247232676, 0.6915142536, 0.2177245766, -0.5431405902, 0.3274047375, 0.1476869434, -0.6016343832, 0.296051383, 0.7520309687, 0.7546522021, -0.1549206227, 0.025173746, 0.3366749585, 0.2825187147, 0.0385135077, -0.028862346, -0.2859297693, -0.835963428, -0.3774143159, -0.7628765106, -0.1773744524, 0.2192177773, -0.4448034763, 0.2100632787, -0.3129656315, 0.137894839, -0.0136805745, -0.4930160642, -0.3676559329, 0.2805639803, 0.0367898494, 1.0032590628, -0.6967201829, 1.0446124077, 0.6994426847, 0.0714775845, -0.4696220458, -0.0773383453, -0.4433304667, -0.670928061, 0.5414950252, 0.1658298075, -0.1685944796, 0.0017036045, -0.4335560203, -0.8113902211, 0.8646147251, 0.299284339, -0.6280747652, 0.2084138244, 0.1202432066, 0.6855998039, -0.5162845254, 0.1914221197, 0.3496057987, -0.1144880652, 0.1071115509, -0.99845016, -0.1374506205, -0.1257866323, 0.1626526117, 0.7040635943, -0.3226895928, 0.8926447034, 0.0451456644, -0.2797159851, -0.0347462855, 0.9470018148, 0.0575795621, -0.0061780144, 0.6972178817, 0.6824482083, 0.4863508642, -0.0630894378, 1.1937203407, -0.1645864546, 0.4499889612, 0.9390720129, -0.0797094032, 1.1801737547, 0.4817169905, -0.0629771054, 0.8254398108, 0.077381894, 0.4535166025, 0.5888431072, -0.1481065154, -0.3416346312, -0.3509691656, 0.1070997342, -0.0956338197, 0.4190340042, 0.5878599286, -0.2550178766, -0.5870744586, -0.0537837781, -0.1846048683, 0.444729954, -0.2552551627, 0.6289234757, 0.3162001371, -0.5769585967, 0.4622456431, 0.0136395562, 0.791605711, -0.4893046618, -0.0431230552, -0.2337754369, 0.2586595416, -0.1180203333, -0.5889940858, 0.38178128, -0.230517447, -0.1101301685, -0.5754352808, 0.6072741747, -0.5489445329, -0.469909519, 0.4143691361, 0.3051980734, -0.2318470031, 0.3008149266, -0.401392132, -0.2009364516, -0.332778573, 0.1428806931, 0.0550317764, 0.0966183394, -0.2140879035, 0.7509405017, 0.6553570628, -0.28656739, 0.1846379042, 0.1001124755, 0.7678491473, -0.4642083049, -0.6734243631, -0.7782039642, 0.662029624, 0.1401131749, -0.2228241414, 0.5641545653, 0.7263586521, 0.9410914779, -0.1591653824, 0.6056959033, -0.2127067447, 0.5965389609, -0.4083839357, 0.6286559105, -0.5035459995, 0.2176394463, -0.1663336158, -0.9359084964, -0.2880498767, 0.5482438803, -0.2788929939, 0.1276463717, 0.6436217427, 0.7358273268, -0.3439772725, 0.1642617285, 0.5471208096, 0.391015172, 0.3135752678, 0.6780419946, 0.9232341647, -0.6476014853, 0.2073902339, -0.2465990037, -0.4007998705, -0.0779450536, -0.9410290718, -0.7781769037, -0.9659559727, 0.0378343165, -0.0692415535, -0.2004099637, 0.868313849, 0.7106126547, -1.1242756844, -0.3612112403, -0.1774492413, -0.0223693419, -0.2124356478, -0.2501218915, 0.2718478441, -0.5222746134, -0.6618415117, 0.5389044881, 0.5717173815, -0.2454550117, -0.1659283787, -0.1690665036, -0.1908801049, 0.0883578882, 1.002378583, 0.196363464, -0.8241331577, -0.3024127781, 0.1776835024, -0.0955253392, 0.1598646045, 0.8106777668, -1.2731624842, 0.6029748321, 0.2314587384, 0.7773433924, 0.2770614922, -0.1535008848, 0.6773193479, -0.7399880886, 0.2452128232, 0.2251186371, 0.6587569714, 0.5255230069, -0.2963755429, 0.0924935341, 0.183655858, -0.2260678858, -0.6005057693, 0.275038749, -0.8169695139, -0.1557042152, 1.1269079447, 0.2321350873, -0.093265608, -0.2020172328, -0.062252827, 0.0977040827, -0.3431191146, 0.999729991, 0.4947297275, -0.0361591429, -0.1124581173, -0.4141990244, 0.4723265171, 0.6224552989, -0.5458076596, -0.1933217198, 0.2322936654, 0.0700670034, 0.2135627717, 0.2772211134, -0.1424219459, 0.2260314226, -0.3794914186, -0.2058855444, 0.2074555606, -0.5176503658, -0.4319397807, 0.4128363132, -0.2108031511, -0.0861677378 ]
http://arxiv.org/abs/2402.10643v1
http://arxiv.org/pdf/2402.10643v1
`Keep it Together': Enforcing Cohesion in Extractive Summaries by Simulating Human Memory
2024-02-16T12:43:26
2024-02-16T12:43:26
Ronald Cardenas, Matthias Galle, Shay B. Cohen
cs.CL
cs.CL, cs.AI
Extractive summaries are usually presented as lists of sentences with no expected cohesion between them. In this paper, we aim to enforce cohesion whilst controlling for informativeness and redundancy in summaries, in cases where the input exhibits high redundancy. The pipeline controls for redundancy in long inputs as it is consumed, and balances informativeness and cohesion during sentence selection. Our sentence selector simulates human memory to keep track of topics --modeled as lexical chains--, enforcing cohesive ties between noun phrases. Across a variety of domains, our experiments revealed that it is possible to extract highly cohesive summaries that nevertheless read as informative to humans as summaries extracted by only accounting for informativeness or redundancy. The extracted summaries exhibit smooth topic transitions between sentences as signaled by lexical chains, with chains spanning adjacent or near-adjacent sentences.
[ -0.5424126983, -0.8383657336, 0.3461126387, 0.3165074885, -0.4598942697, 0.178306818, -0.1774080396, -0.275390774, 0.9326514006, 0.4308896065, -0.6634125113, -0.2920798659, -0.4919536412, 0.1780525744, -0.4138086736, 1.4527099133, -0.0280756522, -0.6534793377, -0.7830956578, -0.2318535745, -0.4159846306, -0.4612702429, -0.1792862862, -0.3772848547, 0.6168195605, 0.5839999318, 0.9821751118, 0.9538094997, 0.7935471535, 0.2428453118, -0.2900687158, 0.2208530903, -0.6431325674, 0.3928373754, -0.414093554, -0.2793458402, -0.3385729194, -0.1841448396, 0.4662833214, 0.6103827953, -0.3518251479, -0.0693458989, 0.2786604166, 0.678982079, -0.5948922038, -0.0090582334, -0.2239033729, -0.1203557625, -0.1055163741, -0.2724100053, -0.0796962455, -0.3789020181, 0.3355049789, -0.4379271865, 0.1476663202, 0.091944024, 1.3048393726, 0.2976814508, -0.09058512, -0.2916804552, -0.4790964425, 0.5010746717, -0.1411363333, 0.0671339408, 0.5856425762, -0.212817654, -0.0839048326, -0.5817049146, -0.2295396924, 0.1162537634, -0.1443303078, 0.456954211, 0.0337596498, -0.1522862762, -0.1912133843, 0.1559097469, -0.6271486878, -0.3488796949, -0.8205764294, -0.0559936799, 0.8152161837, -0.0109561179, 0.8292595148, -0.0442765765, -0.5501208305, 0.0234825648, -0.4564245045, -0.1982047111, -0.0155315837, 0.1629235893, -0.0872301757, 0.732642591, -0.0541876405, 0.1892254353, 0.1429327726, -0.0853654221, 0.0238904823, -0.497328341, 0.0164705794, 0.4485617578, 0.8320922852, 0.6898508668, 0.4270758629, -0.4431887567, 0.202614516, 0.2838430107, 0.5833418965, -0.4848848283, -0.5247712135, 0.3131076097, -0.5133683085, -0.1787825078, 0.2071520239, -0.7087963223, 0.1025724933, -0.2858362496, 0.3330606818, -0.5405389667, -0.1675437391, -0.0139998598, -0.600906074, -0.1885208189, 0.2292328626, -1.0387927294, 0.7458699942, 0.8128672242, 1.2408107519, -0.6620118022, -0.8010820746, -0.5923264623, 0.4641857445, -0.0007442185, 0.8332478404, -0.3290245533, 0.0059580961, -0.3500871062, 0.043335259, -0.016744554, -0.4882668257, 0.1536863297, -0.428691417, 0.302124083, -0.4072847366, -0.6296436787, -0.1837303042, 0.321780026, -0.6889705062, 0.5725405216, -0.0472097807, -0.8541959524, 0.2760110795, -0.164835453, -0.5082738996, -0.3355323374, -0.0994031131, -0.476952076, 0.3342222571, -0.2231889367, 0.002781641, 0.078889057, 0.411422044, -0.3817272186, -0.4686456025, 0.0787630156, 0.0204113461, 0.5346226692, 0.3291502297, 0.2549991608, 0.2130246609, -0.3673924506, -0.4613097012, -0.1671678871, -0.1893842816, -0.5410587192, 0.102275759, -0.3106786311, 0.3535421789, 0.247195676, -0.3048641086, 0.2824856043, -0.0207480844, 0.2716679871, 0.3979934752, 0.3676092625, 0.5843682289, -0.7849233747, 0.4335292876, 0.3219947219, -0.3820143044, -0.3892878592, -0.3309415579, -0.5064578056, -0.2147180438, 0.3172303438, 0.6446270943, -0.3226619959, 0.5796044469, -0.1721906364, -0.2406201512, -0.1262339056, 0.1449259967, 0.1315062493, 0.284853369, 0.3442045748, -0.6051317453, -0.585508883, -0.7722513676, -0.1230285987, -0.1391467154, 0.1517048031, -0.4386819303, 0.6208212376, 0.1025906578, 1.2315578461, -0.6057384014, -0.2080113441, -0.3883860409, 0.3353483379, 0.0084841633, 0.625690937, 0.2500629425, -0.7767001987, -0.1400748342, -0.3463045955, -0.9763706326, -0.0488548204, -0.5490607023, -0.4643096328, -0.084643431, 0.5727515221, -0.8333641887, 0.5038110614, 0.3554700017, -0.6195992827, 0.3926212192, -0.6677208543, -0.1724720448, -1.2293109894, -0.1111669317, -0.0103550917, -0.3660856187, -0.3456635773, -0.0814802796, -0.0129449293, -0.0103724999, -0.1211807504, 0.2931198776, -0.5784336329, -0.038974978, -0.1383351833, 0.4069056809, 0.2485807836, 0.5453370214, 0.2268724442, 0.6669650078, 0.1343731433, -0.8114288449, -0.0541124158, 0.7025461793, 0.1488515288, 0.5429215431, -0.7242553234, -0.1899181604, -0.3915820718, -0.0771661028, -0.9349502921, -0.3638981879, -0.1598567516, -0.1417141706, 0.1982881874, 0.1535542905, -0.293510139, 0.1616071612, -0.5547902584, 0.0677988753, 0.4573979974, -0.326336354, 0.5168687701, 0.710226357, -0.6094561219, -0.414850682, -0.6213769913, 0.1554291099, -0.4494285882, -0.6599785089, 0.3732170761, -0.1364311576, -0.5667458773, 0.2948649526, -0.3305651844, -0.4375778735, 0.3551169336, 0.3988163173, 0.4267227352, 0.1744582206, 0.3676949441, 0.3317306936, 0.0752194449, 0.0291505177, -0.3149246275, 0.4595272541, -0.0028374591, -0.0294659045, -0.4883365631, 0.7427034974, 0.7313418984, 0.0376828872, 0.6851897836, 0.1373533458, -0.2568589747, 0.0312528089, -0.1921910793, -0.2741216421, -0.4261499345, 0.2561286688, -0.3698874712, -0.7018653154, 0.6052081585, -0.0428194813, 0.1570551842, 0.447930932, 0.2520966828, -0.5332499743, 0.3302194774, 0.6956207156, -0.2299223095, 0.2953284383, 0.0759260356, -0.1581411064, -0.4874900579, -0.0309548154, -0.160892576, -0.4851269424, -0.3432366848, -0.1553312838, -0.0299746841, 0.7252056003, 0.0724238604, 0.4706601202, -0.4541403353, 0.8190047145, 0.3157424629, 0.2456883937, 0.391718775, 0.11645706, -0.007269314, -0.0501179174, -0.47901842, -0.5829382539, 0.3814537823, 0.0657317564, 0.8145698309, 0.2795229256, 1.2107232809, 0.449424088, -0.0102202743, -0.3624398708, 0.5070738792, -0.0828946084, -0.2196581215, -0.3260963857, -0.3511095047, -1.0622614622, 0.2326509356, -0.1201135889, -1.0209213495, 0.0874718204, 0.1884180009, -0.3615438938, 0.2027380764, -0.6612941027, 0.6972173452, -0.1803300083, -0.6778557301, -0.1791025698, -0.7630349994, 0.2518966496, 0.1873309016, -0.065228425, -0.0802132413, -0.1353254765, 0.7761473656, -0.6011585593, 0.8634717464, 0.3843580782, 0.004889017, 0.491625756, 0.2354689687, 0.2739038765, -0.1266985834, 0.1962393969, 0.0674531981, 0.0789578483, -0.5131543875, -0.4750781953, 0.3068454862, -0.7503777742, -0.7163276672, -0.44983688, -0.7714599371, 0.3381994963, 0.19097054, 0.3282440603, 0.3101484478, -0.4266884625, 0.0648295432, 0.6430408955, 0.2435468137, 0.6878082752, -0.3286607862, -0.3241050541, -0.4925942719, 1.0740633011, 0.2199383378, 0.4544087648, 0.4127506912, 0.3807729185, -0.1743076593, -0.3846602738, -0.0977131873, 0.4169678986, -0.2966295481, 0.0395858474, -1.0606856346, -0.2116400748, -0.1080229506, -0.4463008642, -0.2375594527, -0.8056325316, -0.3316319287, -0.0940141976, 0.3891063035, 0.7620551586, -0.2236916274, 0.0478188582, -1.0776073933, 0.5020902753, 0.2414053977, 0.0442775711, -0.3107405007, -0.3267843127, -0.180102095, -0.3849309385, -0.3709073961, -0.7915527821, 0.6606417298, 0.2487900406, 0.094179742, 0.4209330678, 0.267618984, 0.8159176111, -0.2025256008, 0.630564332, 0.3639392555, -0.7836659551, 0.5765867233, -0.6476746798, 0.6310065985, 0.9699555635, 0.2865874767, -0.56401968, -0.748945415, -0.7672128081, -0.9083822966, 0.3900457323, 0.3297969997, -0.2027765065, -0.2498294115, 0.391551882, 0.1588340998, 0.247893244, -0.2949122787, 0.0615639351, -0.0325374268, -0.4956029058, 0.1043834612, -0.4136913717, -0.3526746333, 0.1972073019, 0.2076630443, 0.119083032, 0.0158656705, 0.3585428894, -0.3399237692, 0.137756601, 0.1846618354, 0.8956796527, 0.6855682731, -0.5370020866, 0.5139610767, 0.0465215892, -0.8122585416, 0.2058168054, -0.2100809216, -0.4226599932, 0.0983900726, 0.3597244322, 0.3967285156, 0.1614098996, -0.5244378448, 0.250998348, -0.3134048283, -0.2363469303, -0.2875176072, 0.2548217475, 0.3953772783, 0.1899749935, -0.0207126215, 0.4337817729, -0.3151625395, -0.8387355208, 0.7342767715, 0.0720781833, -0.394528836, -0.4790787995, 0.6665504575, 0.1933516711, -0.5205159783, 0.7053923607, -0.3472451568, -0.5539262891, 0.6449626088, 0.6191375852, 0.7854087949, 0.1625241488, -0.0020693208, 0.4499912262, 0.1946425587, -0.6376105547, 0.4350847602, -0.3305114508, -0.7367258668, -0.2674701214, -0.1368819475, -0.6853838563, -0.4865702391, -0.8567091227, 0.1891869605, -0.3138998449, 0.0083161071, -0.3780703545, -0.1389094591, -0.0264987703, 0.1493138671, -0.0431791991, 0.9296070933, -0.8372483253, 0.8215575814, 0.2973822057, -0.6541514993, -0.3825927377, 0.2161546797, 0.2903434932, -0.0709027946, 0.5352630019, 0.29393664, -0.0325659811, -0.3380223215, -0.3284700811, -1.0468473434, 1.2401692867, 0.3669190705, -0.5312358141, -0.1469158381, -0.4088795781, 0.3640865386, -0.4561315477, 0.1268610507, 0.6016895175, 0.2403824031, 0.0927116722, -0.7166697979, -0.0209193751, -0.4498867393, -0.5386649966, 0.3810563982, -0.8666021228, 0.7618210912, -0.4490775168, -0.5120618343, 0.0645169616, 0.919985652, 0.6634575129, 0.4266240895, 0.3499635756, 0.7281965017, 1.0836874247, -0.1617484838, 1.0174362659, -0.1400874257, 0.2367131859, 1.8414407969, -0.3692202568, 0.9108931422, 0.5599813461, 0.1845254153, 0.5313252211, 0.4497667253, -0.0405612327, 0.6885091662, 0.0767898113, -0.046020817, 0.0382685326, -0.3054309189, -0.0341124497, 0.6469606757, 0.1032177731, -0.080975078, -0.120213747, -0.4887153804, 0.1886806339, 0.1619374454, -0.089559719, 0.9209133387, 0.0680649057, -1.1062612534, 0.2005336434, -0.6901641488, 0.5225426555, -0.584192276, -0.1188864559, -0.1478151679, 0.1551969945, -0.2742004693, -0.7469661832, 0.6730876565, -0.1321063936, -0.4506840408, -0.1596930623, 0.8157609105, -0.9384296536, -0.204794243, 0.3159521818, 0.4713429213, 0.1814946383, 0.24621135, -0.0981167257, 0.0879588574, 0.0531338118, -0.1434186846, 0.6210919619, 0.6651465893, -0.111607708, 0.4850889146, 0.4775391221, 0.3206737339, -0.3012298644, -0.1272926629, 0.8482863903, -1.0608621836, -0.733204484, -1.1739935875, 0.5559655428, -0.6331297755, -0.4182864428, 0.6746332049, 0.6466390491, 0.4612316489, 0.1539774835, 0.5790641904, 0.0774590522, -0.0421722978, -0.3826942742, 0.9064388871, -0.2597675323, 0.1552594304, -0.2455268204, -0.8525864482, -0.3227355778, 0.5426856875, 0.2148468196, -0.4398986995, 0.9670909047, 0.4315240979, -0.1389398724, 0.2128426731, 0.277549237, -0.1819099635, 0.004250193, 0.3896403313, 0.7459719181, -0.0760481581, 0.5102151632, -0.2181788087, -0.0876288265, 0.0594098419, -0.950676918, -0.9950423241, -0.4304946363, -0.5850628018, -0.5023809671, -0.0984471962, 0.9844344258, 0.7164199352, -0.6055122614, -0.5266829133, -0.3749890029, 0.3000134826, -0.4711357355, -0.2714676559, 0.3393850327, -0.3606019616, -0.3637693226, 0.141857937, 0.7554095387, 0.0370682217, 0.0307549164, 0.1444977522, -0.4531583488, -0.059839692, 0.3209830225, 0.4345604181, -0.3526822627, -0.2834076285, -0.2715948522, -0.0926406384, 0.2359422594, 0.9006394148, -0.6574978828, 0.4405728877, 0.6960008144, 0.6419785023, 0.6157042384, 0.3861512244, 1.0293297768, -0.826862216, 0.1354997754, -0.1473770738, 0.3820591867, 0.039851632, -0.5394445658, 0.832321763, 0.0985253155, -0.6418796182, -0.3773596883, 0.0845609754, -1.1720949411, -0.3949294388, 0.6230779886, -0.327142179, -0.3987340033, -0.4625118673, -0.0708557442, 0.417969197, -0.6306427717, 1.0938245058, 0.8197143078, -0.3054920137, -0.3282638192, 0.000128511, 0.3643700182, 0.3698664904, -1.0821508169, 0.1775496006, 0.438046664, 0.156404525, 0.64411515, 0.533076942, 0.2422561347, 0.4201427996, 0.105603382, -0.1262563765, 0.0317401588, -0.5124478936, -0.3478735983, 0.7043765187, -0.3498921394, -0.2699033916 ]
http://arxiv.org/abs/2402.10639v2
http://arxiv.org/pdf/2402.10639v2
Generalizability of Mixture of Domain-Specific Adapters from the Lens of Signed Weight Directions and its Application to Effective Model Pruning
2024-02-16T12:39:10
2024-06-06T04:52:09
Tuc Nguyen, Thai Le
cs.CL
cs.CL
Several parameter-efficient fine-tuning methods based on adapters have been proposed as a streamlined approach to incorporate not only a single specialized knowledge into existing Pre-Trained Language Models (PLMs) but also multiple of them at once. Recent works such as AdapterSoup propose to mix not all but only a selective sub-set of domain-specific adapters during inference via model weight averaging to optimize performance on novel, unseen domains with excellent computational efficiency. However, the essential generalizability of this emerging weight-space adapter mixing mechanism on \textit{unseen, in-domain examples} remains unexplored. Thus, in this study, we conduct a comprehensive analysis to elucidate the generalizability of domain-specific adapter mixtures in in-domain evaluation. We also provide investigations into the inner workings of the mixture of domain-specific adapters by analyzing their weight signs, yielding critical analysis on the negative correlation between their fraction of weight sign difference and their mixtures' generalizability.
[ -0.5682629347, -0.5091084838, 0.3730430603, 0.38739568, -0.4006207287, -0.1299799681, -0.2385606617, -0.3193278015, -0.0282255802, 0.3774956465, -0.4577853978, -0.2936031818, -0.6652621627, -0.0613265671, -0.2879859209, 0.8818895221, -0.1398700327, 0.1397573352, -0.1664846241, -0.589048624, -0.6434242725, -0.5625247955, -0.2976089716, -0.2701665163, 0.1737816185, 0.2052280158, 0.6133976579, 0.1497232169, 0.7089661956, 0.2676764131, -0.0844394639, 0.2296133339, -0.5477913022, -0.0360529758, -0.3828010857, -0.4180183709, -0.6494449377, 0.0364360213, 0.7197704315, 0.9269470572, -0.2510803044, -0.0207623187, 0.2851903439, 0.4336310029, -0.8211054802, -0.3221814632, -0.9725349545, -0.0427982248, -0.1389743239, -0.2370145619, -0.261169374, 0.0415503159, 0.2016294748, -0.7815816998, 0.403727293, 0.0622515716, 0.7935418487, 0.0886114836, -0.2797314823, -0.1797540486, -1.0245162249, 1.1973993778, -0.9004474282, 0.3341705501, 0.0561384223, 0.4918222427, -0.2630366981, -0.6425964832, -0.6527910829, 0.2194155902, 0.0943782553, 0.0979923308, -0.0371228456, 0.3659352958, -0.0804936439, 0.6188154817, -0.516443789, -0.0781268328, -0.0660884082, -0.0733786821, 0.4752388895, -0.0017045406, 0.565957725, 0.5788324475, -0.2349825948, -0.0045430069, -0.6845862865, -0.235616073, 0.2214381844, 0.0739255026, -0.2059885561, 0.5233002305, -0.185199216, 1.2578274012, 0.2967711985, -0.0548863932, 0.0122861685, -0.5341747999, -0.4833530486, -0.6601369977, 0.3769517839, 0.4500345886, 0.6343316436, -0.3775686026, -0.247453928, 0.0847199038, 0.1807045043, -0.9368656874, -0.4340658188, 0.2522170842, -0.6043941975, -0.0803516954, 0.1909726262, -0.33313936, -0.2587641478, -0.3341596127, 0.6747015715, -0.3523305058, -0.4393652678, 0.5535296202, -0.4530223012, 0.4553346634, 0.2725962996, -0.7322379947, 0.5069687963, 0.7399827838, 0.648432374, -0.4290316105, -0.2567654252, -0.2816666067, 0.0130822901, -0.1111914665, 0.6919952631, -0.8315267563, -0.4088078737, -0.0448896922, 0.0989627466, -0.6848583221, -1.1294794083, 0.5183660984, -0.7223880291, 0.028765101, 0.0120558785, -0.8083893657, -0.2573530078, 0.0542474613, -0.2779904604, 0.4984044433, 0.3903761804, -0.3865404427, 0.6466018558, -0.1684224755, -0.5240471363, 0.0443807356, -0.1457074583, -0.3706533909, 0.4870370924, -0.0120042274, 0.3862707913, -0.3172914386, 0.4203844965, -0.5837498903, -0.4995343387, 0.4445529282, -0.0960652009, 0.7796123028, 0.1442895383, -0.0691893771, 0.1612436771, -0.987795651, -0.0918448642, 0.1871422529, -0.2706703246, -0.6638298631, 0.0496484004, -0.143406719, 0.1820279658, -0.016412003, -0.2962975502, 0.1702370644, -0.21784468, 0.2372885495, 0.5334410071, 0.3836111426, 0.6697918773, -0.3478788733, 0.5988309383, 0.3004070222, 0.1286880076, 0.0600918531, -0.6356679201, -0.8726396561, -0.2429661006, 0.4992486835, 0.2393063158, -0.5821711421, 0.6838382483, -0.0185636394, -0.5226970911, -0.4050147831, 0.292092979, 0.3075968623, 0.3845627606, 0.3347264826, -0.531106174, -0.2299221754, -0.8222939372, -0.6791287661, 0.3055266142, -0.1897859275, 0.2704527974, 0.3293612003, -0.1058104411, 0.8993669748, -0.5206417441, -0.1000306457, -0.307813704, -0.1361486465, 0.1739086211, 0.7042514682, 1.0377658606, -0.8570930362, -0.6779595017, 0.0404788442, -0.5928512812, -0.1418516636, -0.0953678936, -0.1885190308, -0.6163831353, -0.0848367959, -0.3003409803, 0.2189679593, 0.7355260849, -0.3197590113, 0.5094890594, -0.3139006793, -0.0781012401, -0.6391421556, -0.1492498964, 0.4223852158, -0.0576759055, -1.1143937111, 0.2743420005, 0.0469853282, -0.0121241771, -0.405757755, 0.5080292821, -0.3930520713, 0.0395415984, -0.4064995348, 0.0752663016, 0.0696562007, 0.5076560378, -0.04871713, 0.7325463891, 0.7878838778, -1.0843350887, -0.1515553445, -0.0594394431, -0.1551665366, 0.6054317355, -0.7713162303, -0.0058320845, -0.0913922712, 0.0353575312, -1.022770524, 0.1258971542, 0.4403460026, -0.0764731094, 0.3450967669, -0.3563206792, -0.0127703762, -0.0224438272, -0.2002508938, 0.6287328601, 0.386479646, -0.3710217774, 0.8280191422, 0.4521003664, 0.0211404189, -0.1755581349, -0.4328264594, -0.3605951965, -0.4336117804, -0.6730819941, 0.4769882858, -0.6058818698, -0.3635909855, -0.2584060729, -0.4561225176, -0.4297172725, 0.210026145, 0.0468320698, 0.1420285404, -0.238432169, -0.5952031612, 0.343297869, 0.0593572967, -0.191224426, -0.5558481216, 0.4318256676, 0.1218193546, -0.6034972668, -0.3671991825, -0.0037797499, 0.4076792598, -0.0880749002, 0.7568590045, 0.3909435868, -0.3412193358, -0.432995528, -0.4133424163, -0.0608836599, -0.5269840956, 0.293766439, -0.5405389071, -0.7010411024, 0.641598165, -0.2309308052, 0.1132384837, 0.4820634425, 0.3258166313, 0.2220980227, 0.9400373101, 0.5801025033, -0.0645537749, 0.3681401908, -0.1345243305, 0.1988394707, -0.8622208238, 0.1638146788, -0.547190547, -0.4691684544, -0.4033788443, -0.4824014604, -0.0211960413, 0.1174425557, 0.0480266921, 0.3021725714, -0.515355587, 0.5667514801, 0.221504584, -0.2508212924, 0.3327415586, 0.1540574282, -0.1917648613, -0.1305617392, -0.6974955201, -0.0789584965, 1.017629385, 0.2428738028, 0.5014030933, 0.0181888845, 0.3287456036, 0.1899905801, 0.2477935702, -0.7658528686, 0.503514111, -0.4911083579, -0.51088202, 0.1331911385, -0.3368764222, -0.6125597954, 0.7621765733, -0.0886156484, -0.5001179576, 0.7781808972, 0.1692900658, -0.2151075602, 0.1701224446, -0.8887803555, 0.7883925438, -0.1335505694, 0.0592875108, -0.3358327448, -0.3823082447, 0.3097323179, -0.2660582066, 0.1860533506, -0.0404858291, 0.1729218513, 0.7744714022, -0.2948614061, 0.6422632337, -0.577871263, -0.2309952974, 0.5000079274, 0.220943734, 0.2936467528, -0.1630412489, 0.1000742167, 0.3568847477, -0.1386101246, -0.3846154809, -0.7012210488, 0.5756361485, -0.7970858216, -0.4653508365, -0.0278373454, -0.5692259073, -0.4966941774, 0.2779219449, -0.0189065449, 0.4820286334, 0.02807853, 0.136994645, 0.7682340145, -0.1988741755, 0.1133541688, 0.9669268727, -0.1569764018, -0.3549530208, 1.4729832411, 0.0072251367, 0.349008739, 0.4891909659, 0.1280989945, 0.3517714143, -1.0648630857, -0.2367008328, 0.4425342679, -0.4436569512, -0.1239524558, -0.2339608371, -0.1376027614, -0.0744929016, -0.1819431335, -0.1031957194, -0.5468910336, -0.2044245303, 0.1758205295, -0.23444812, 0.5977316499, 0.4226108789, 0.9204570651, -0.5651523471, 0.4610112906, 0.2900469601, 0.4490939975, 0.0604824871, -0.7123259902, -0.218409881, 0.1325104088, -0.2585474253, -0.7479763627, 0.1835095435, 0.570450604, 0.6331474781, 0.9190976024, -0.1886934191, 0.7571519017, -0.1633595377, 0.7041317225, 0.0018627158, -0.7842633724, 0.1681932062, -0.3804657757, 0.0439256392, 0.5581344962, 0.1344957501, -0.2897632718, -0.4940545857, -0.494887352, -0.9176641107, 0.6356141567, 0.1750192046, 0.0110650025, 0.3419981897, 0.4870973527, 0.3141775429, 0.2650133371, -0.4127857685, -0.4117094278, 0.0967865884, -0.1969860196, 0.0967279896, -0.2796220183, -0.2320360988, -0.3860183656, 0.6787366271, -0.1218568161, 0.0835715681, -0.1759035736, -0.4502130151, -0.0289731026, 0.1400290132, 0.7350716591, 0.8944303393, -0.3673335612, 0.063779965, 0.0895773247, -0.5922242403, 0.0617702976, 0.021113161, -0.3592728078, -0.0901056156, 0.119164817, 0.6117309332, 0.1262077838, -0.538623035, 0.4420938194, -0.2680271268, -0.225034982, 0.0697456971, 0.4440411925, -0.0711772516, -0.0693708137, 0.4514557123, 0.4368242919, 0.1869226694, -0.13991566, 0.0512354635, 0.7067314982, -0.3606542945, -0.7801283002, 0.4735682905, 0.3146716058, 0.0143098729, 0.2278573066, -0.1701786518, -0.2054143846, 0.5223644376, 0.7320747972, 0.9397986531, -0.2303299457, -0.0745144635, -0.089987874, 0.1353512704, 0.1508388966, 0.0527027622, -0.1772044599, -1.1667170525, -0.5138937235, -0.6723767519, -0.3214618564, -0.0047196671, -0.5273029804, 0.0542292669, -0.5780454278, -0.2308492213, 0.0475393422, -0.2535672188, -0.6678083539, 0.4839296639, -0.1493427306, 0.9074503183, -1.015131712, 0.8118418455, 1.0280530453, -0.1669016331, -0.6074408293, 0.2225452363, -0.2237374187, -0.9100703597, 0.2326710224, -0.2099900991, -0.0273582879, -0.1025406495, -0.3519731462, -0.5278012156, 0.8600772619, 0.3224655986, -0.5332127213, -0.0373090878, 0.3713489771, 0.3472549021, -0.4629841149, 0.1995238662, 0.75123173, 0.57408005, -0.0120392097, -0.7732827067, 0.0362993032, -0.2718439698, 0.058993686, 0.0252618864, -0.6166605353, 0.7476950884, 0.3770633936, -0.17707479, -0.0914512947, 0.6524707675, 0.2000217438, 0.2811509669, 0.6114245653, 0.5512896776, 0.6258581877, 0.0575026833, 0.8215608597, -0.6888236403, 0.3473685682, 0.9508290291, -0.3102979958, 0.3401895761, 0.4039409459, -0.4560491741, 0.3567683101, 0.1560504436, 0.0088488692, 0.4539823234, 0.1131016761, -0.3170952499, -0.2806006372, -0.0109319855, -0.3232159615, 0.0540759414, 0.4883843958, -0.2236634046, -0.119718276, -0.1906556785, -0.262124747, -0.2407817692, -0.2273012847, 0.8271542788, 0.3500105143, -0.5526881218, 0.6310110688, 0.1972670406, 1.0078005791, -0.8792507052, 0.083074443, -0.0681439713, 0.4136673212, -0.2971583009, -0.5593864918, 0.275996238, -0.4265289307, -0.1806814969, -0.0660328045, 1.2553156614, -0.3367826045, -0.2092561126, 0.3342340291, 0.4618077576, -0.1867021173, -0.3433744907, -0.4814370275, 0.0131086921, 0.0933614746, -0.0702697113, 0.8046589494, 0.2996930778, 0.1423599124, 0.527161479, 0.4066494107, 0.3308245242, 0.0944900364, 0.2503050864, 0.9291651845, -0.2953237593, -0.260014236, -0.6402261853, 0.5980424285, 0.0924972072, -0.2123768479, 0.9728928208, 0.4096301496, 0.7886232138, -0.2852448821, 0.9845125675, 0.0313195065, 0.1451168209, -0.2591405213, 0.5958119631, -0.566704154, 0.113078177, -0.2312101424, -1.1937736273, -0.3941963911, 0.4314557314, -0.262547344, 0.1924563646, 0.477663517, 0.5945599079, -0.431265682, -0.0249343161, 0.2892130315, -0.0654782429, 0.2997107208, 0.1236386895, 0.3771869838, -0.2926728129, 0.306284219, -0.2590061128, -0.2107203305, -0.1972709149, -0.6798914075, -0.7155534625, -0.5011550784, -0.4782420993, -0.1576341689, -0.0058279177, 0.4466437101, 0.7070322037, -1.1471152306, -0.3770378828, -0.1348460615, 0.1130089313, -0.5004556775, -0.2835078835, 0.0335954167, -0.1072060466, -0.612375319, 0.4829947352, 0.2817367613, 0.1468541473, -0.1117516011, -0.1892179996, 0.177632153, 0.3865849674, 0.4687058628, 0.3717734814, -0.3992671072, 0.0194700453, -0.2434084266, 0.4174584448, 0.0322350934, 1.1939668655, -0.4936096668, 0.4911766946, 0.5631104708, 0.4887288809, 0.2079573125, 0.3550833762, 0.872377336, -0.8999585509, 0.2926861644, 0.0723123699, 0.6115145683, 0.1734050363, 0.0689169839, 0.2584522069, 0.4369138181, -0.6029621959, -0.5337148905, 0.2289952189, -1.1117116213, -0.2527503371, 1.2092652321, -0.056504935, -0.0533565804, -0.0190091543, -0.1711593419, 0.0359047167, -0.3109717667, 0.3824941516, 0.5214731097, -0.124785617, 0.3134457171, -0.2244665623, 0.2782954276, 0.5100823045, -0.4741339982, -0.0231963471, 0.3095396161, 0.6467831135, 0.0571448766, 0.6538280249, 0.2033438236, -0.1675313115, -0.2745277584, -0.2545838654, 0.1164436042, -0.3900519907, -0.540902257, 0.2298268527, 0.4548458457, -0.1124556959 ]
http://arxiv.org/abs/2402.10631v1
http://arxiv.org/pdf/2402.10631v1
BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation
2024-02-16T12:27:15
2024-02-16T12:27:15
Dayou Du, Yijia Zhang, Shijie Cao, Jiaqi Guo, Ting Cao, Xiaowen Chu, Ningyi Xu
cs.CL
cs.CL
The upscaling of Large Language Models (LLMs) has yielded impressive advances in natural language processing, yet it also poses significant deployment challenges. Weight quantization has emerged as a widely embraced solution to reduce memory and computational demands. This paper introduces BitDistiller, a framework that synergizes Quantization-Aware Training (QAT) with Knowledge Distillation (KD) to boost the performance of LLMs at ultra-low precisions (sub-4-bit). Specifically, BitDistiller first incorporates a tailored asymmetric quantization and clipping technique to maximally preserve the fidelity of quantized weights, and then proposes a novel Confidence-Aware Kullback-Leibler Divergence (CAKLD) objective, which is employed in a self-distillation manner to enable faster convergence and superior model performance. Empirical evaluations demonstrate that BitDistiller significantly surpasses existing methods in both 3-bit and 2-bit configurations on general language understanding and complex reasoning benchmarks. Notably, BitDistiller is shown to be more cost-effective, demanding fewer data and training resources. The code is available at https://github.com/DD-DuDa/BitDistiller.
[ -0.1363810748, -0.4804939032, 0.7015737295, 0.3390388489, -0.4598529935, 0.4594391286, -0.1478608251, -0.0117220972, 0.0881545097, 0.249901861, -0.152615577, -0.2908582687, -0.7469641566, 0.0234960597, -0.5057688951, 0.7735794783, -0.115923427, -0.0525714345, -0.3241388202, 0.0121459672, -0.3750954568, -0.4864005148, -0.5379282236, -0.3977274001, -0.0037430678, 0.3109021485, 0.4863967597, 0.5742229223, 0.2264518291, 0.3471549153, -0.0922950059, -0.2051861435, -0.2988973558, 0.2575238645, -0.0009104503, -0.7036350369, -0.1531202942, -0.0161939114, 0.4780807793, 0.3731419146, -0.5918150544, 0.0442136638, 0.1124911904, 0.9066342115, -0.8431656957, -0.0196782872, -0.5666152239, -0.1146498397, -0.1710929722, 0.103567645, 0.0207722876, -0.4185059071, 0.0503915064, -0.4898233116, 0.2720183134, -0.1568999738, 0.4656189084, 0.5606040359, -0.330134511, -0.3832841516, -0.7786951661, 0.9292294383, -0.8356479406, 0.5111207366, 0.3148846626, 0.3215109706, 0.1377034783, -0.8314419389, -0.7304146886, 0.250461787, 0.1953200698, -0.0314857736, -0.4882502556, 0.173441276, -0.0111181196, 0.8568601608, -0.3111759722, -0.0644198805, -0.3222594261, -0.2562877238, 0.3243146837, 0.0222529303, -0.2203760445, 0.0098756822, -0.3329342604, -0.2136042118, -0.4733151495, -0.0189076588, 0.2058432102, -0.0856187791, -0.0803132728, 0.3966373801, -0.3793925643, 0.4297035635, 0.4526703954, -0.2796700597, -0.0246077329, -0.4301239252, -0.4085019827, 0.4018279314, 0.8439164162, 0.2360579669, 0.0516432114, 0.1108752713, -0.3627886772, 0.1078493074, 0.0682844743, -1.3300334215, -0.747977078, 0.2380408049, -0.0551689975, -0.3355019987, -0.262662977, -0.5328412652, -0.4194455743, -0.1580151021, 0.5440797806, -0.5425075889, -0.122356616, 0.4754659534, -0.1842786819, -0.0520488694, 0.09558779, -0.944470346, 0.2891898453, 0.5101447701, 0.9404181242, -0.0135882776, 0.1593190432, -0.2646394074, 0.1933741868, -0.3939702511, 0.4863048792, -0.1600188613, -0.4233223796, -0.378516227, -0.3640998304, 0.3036314547, -0.609692812, 0.4544506371, -0.6463861465, -0.0175222214, -0.1700471044, -0.646158576, -0.0472791977, 0.1995602995, -0.6918051243, 1.0673344135, 0.1819650382, -0.6620258689, 0.4618526995, -0.3222111762, -0.3344980478, 0.2994615734, -0.3277256787, -0.5686156154, 0.5184644461, 0.2360735983, 0.3220663965, -0.4917084277, 0.362449795, -0.0719441324, -0.285559535, 0.1559561491, -0.660964787, 0.6861224174, 0.2219962478, -0.2154974341, -0.1309341639, -0.7692077756, 0.0772467628, 0.138078481, -0.5153948665, -0.7108978033, -0.3323852122, -0.2748702466, 0.0755873546, 0.3893744349, -0.7622587681, -0.0129514439, -0.4528564513, 0.6075837612, 0.7375342846, -0.0351036489, 0.5541424751, -0.0270024315, 0.5666245818, 0.2127473205, 0.0279396344, -0.0701367036, -0.0924787372, -0.8442951441, -0.6098822355, 0.6617354751, 0.2345721275, -1.0366374254, 0.5701307058, -0.2871508002, -0.4056250453, -1.054138422, 0.3020050228, 0.3943562508, 0.2200584114, 0.3449425399, -0.151448071, -0.4646424353, -0.712859273, -0.0507516153, -0.0236893278, -0.1329944581, -0.3895958364, 0.2274317145, -0.0381121226, 1.1399793625, -0.5293639302, -0.4209400117, -0.3095375299, 0.3335878253, 0.1744569689, 0.4018014371, 0.2565592825, -0.7631374002, -0.6346251369, -0.163820982, -0.5420203209, -0.1216189489, 0.0791308954, 0.0907734409, 0.3606449664, 0.5642223954, -0.5269373655, 0.3670503199, 0.9415782094, -0.1498007625, 0.5212159157, -0.4994615912, 0.0433300883, -1.1913362741, -0.2930538058, -0.0311795622, -0.349622488, -0.4846886396, -0.2222492993, 0.3068377972, 0.2112517506, -0.2884563208, 0.1629569829, -0.5322488546, 0.2262720168, -0.5421647429, 0.0586696565, 0.3611682355, -0.0109986607, -0.1119574234, 0.8852934241, 0.4901100099, -0.5548579693, 0.5350903869, -0.0855848491, -0.4212242365, 0.6726141572, -0.8748729825, -0.0390183628, 0.0308518652, 0.0768866614, -0.9739983678, 0.2270340174, -0.2017715424, -0.2189190686, 0.2945049703, -0.2193710357, -0.5494908094, -0.4361423552, -0.7316439152, 0.6163253188, 0.5593196154, -0.5501974821, 0.6445965767, 0.387473762, -0.0056772083, -0.2653726637, -0.8823757768, -0.0068907575, -0.3981021941, -0.1414238214, 0.3788764179, -0.3286754191, -0.1987523735, -0.002056269, -0.5665098429, 0.036559239, 0.0005457518, 0.0814493671, 0.0871606022, 0.0355738141, 0.1579484195, 0.3545873761, -0.3442846537, 0.004598455, -0.7089116573, 0.5306740999, -0.1560610235, -0.1999303102, -0.4735935628, -0.0587613285, 0.2686979473, -0.0491365008, 0.5676578283, 0.5158462524, -0.1605942845, -0.1866177469, -0.615676403, -0.2548084557, -0.5711965561, 0.2230427265, -0.6265751719, -1.2333865166, 0.0326441862, -0.191775322, -0.215974912, 0.0945731252, 0.663441062, -0.1854262203, 0.5799736977, 0.9339237809, -0.2091201842, 0.2099216729, -0.3424093127, 0.4456511736, -0.6829904914, 0.1679411978, -0.1318117976, -0.3674260676, -0.6431442499, -0.6154171228, 0.4498287141, 0.4594222307, 0.0952674672, 0.3404389322, -0.481375277, 0.8549560308, 0.6747460365, -0.3084522486, 0.5488491058, -0.1555168778, -0.2016602308, -0.1423197687, -0.6742498279, -0.2320883721, 0.9667292833, 0.2015338838, 1.1689511538, 0.0585052632, 0.8928262591, 0.3562896252, -0.1817327887, -0.8037559986, 0.3638691008, -0.1073141173, -0.3890440464, -0.4880473912, -0.509711206, -0.7090751529, 0.4025620222, 0.082299374, -0.4230428636, 0.2870949805, 0.3652278483, -0.7820836902, 0.2809650302, -0.6961788535, 0.6843143702, -0.0555427, -0.0938984752, -0.2236053348, -0.4645991325, 0.377543062, -0.3938861489, 0.1919517219, -0.1197092161, -0.1680244058, 0.6656831503, -0.3955721557, 0.7649542689, -0.1252036989, -0.5781540275, 0.3573023379, 0.5394979119, 0.391589433, 0.1034803316, 0.1229952127, 0.3356630802, 0.3796104193, -0.2664067447, -0.6530476809, 0.7396997213, -0.5160448551, -0.5058018565, -0.3659111261, -0.4945527613, -0.0524839684, 0.1876609176, 0.1752776355, 0.2687402964, 0.1113737747, 0.2664377391, 0.7936624885, 0.0902299359, 0.6260282993, 0.5754033923, -0.1943724304, -0.6149889231, 0.989782691, 0.055756297, 0.4885372818, 0.4726206362, 0.385964632, -0.4177936614, -0.6031891704, -0.2990249395, 0.1461282223, -0.4836945236, -0.5776782632, -0.611266315, -0.1791585088, -0.4770563543, -0.0377197675, -0.773933351, -0.6837373376, -0.0862392858, -0.2018430382, 0.4398118854, 0.6378797889, -0.3685893714, 0.6668764353, -0.6026940346, 0.2820239663, 0.5644021034, 0.3920775056, -0.2013642192, -0.5413766503, -0.4871210456, 0.0546599664, -0.3182668984, -0.3802605569, 0.4006042778, 0.2125275135, 0.0132792201, 0.3871037662, 0.3002552986, 0.6123049855, -0.2489076257, 0.5528574586, 0.2862650454, -1.0873771906, 0.4644988477, 0.2154882103, 0.5317435265, 0.8093374968, 0.5238893628, -0.4600523412, -0.4341900647, -0.3363974988, -0.8790569305, 0.5421586037, 0.1681159884, 0.0807113722, 0.0178550892, 0.179365322, 0.0435052626, 0.392198652, -0.5810585022, -0.2144308537, -0.0616138987, -0.4715198576, -0.1012152433, -0.5335225463, 0.168771565, -0.3192576766, 0.7282727957, -0.2807624042, -0.1541301608, 0.1368237138, -0.2347075939, -0.0238172058, 0.4164620638, 0.126189217, 0.3139912784, -0.1778033078, 0.5912654996, 0.0744491071, -0.6169320941, 0.4275666773, 0.1975613236, -0.1728866249, -0.3018667698, 0.0684074238, 0.5663527846, 0.2654517293, -0.5679808855, 0.6731457114, -0.3225432336, -0.2185602486, -0.000680708, -0.0276867747, 0.1891765594, 0.4817537069, 0.2565353513, -0.4518930614, 0.3760166168, -0.1972188205, 0.1927672476, 0.3218635023, -0.4323727787, -0.404741317, 0.5651810765, 0.086344853, 0.1381513625, 0.3950329721, -0.5780201554, -0.4634186327, 0.0599104166, 0.5655837059, 0.787525475, -0.3661339581, 0.0624335445, 0.0502304323, 0.1656316519, -0.0561846271, 0.2503856421, -0.4352354705, -0.8372103572, -0.5670185685, -1.034873724, -0.14023754, -0.0925270095, -0.5362727046, -0.0444554575, -0.3651918769, -0.2350483686, -0.0783673078, 0.0063431021, -0.2193802148, 0.0102762375, 0.1614941806, 0.6939634681, -0.5333192945, 1.0437079668, 0.4945297539, -0.1483892649, -0.4863149524, 0.1225816831, -0.0839718357, -0.6587723494, 0.4192246199, 0.0478303209, -0.2888892293, 0.4835949838, -0.2802917361, -0.7272979021, 1.2999844551, 0.38891837, -0.8397282362, 0.0268438905, 0.3350076079, 0.3623440266, 0.1088373363, 0.0673160553, 1.1443219185, 0.109005861, 0.2612020075, -0.8832179308, 0.1033651307, 0.1067620292, 0.3907003701, 0.4907582104, -0.5951604843, 0.7632228732, -0.2381130308, -0.2209441513, -0.1188331991, 0.8728173375, 0.4298472703, -0.0324769206, 0.5083706975, 0.9228782058, 0.6293956041, -0.0173592437, 0.7050071955, -0.4079428613, 0.3398551047, 1.2145336866, -0.1916968524, 0.6086440682, 0.7839809656, -0.55587852, 0.5006065965, 0.1171822697, 0.3498312533, 0.7623409033, 0.3271941543, -0.5459083319, -0.1923053414, -0.0421016552, -0.0361571275, 0.4031296968, 0.1057412699, 0.0596582778, -0.3383271098, 0.0947387144, -0.0404966734, 0.1100454852, -0.0700213686, 0.8568459749, 0.298199743, -0.1931166053, 0.6911195517, 0.1156690642, 1.0797157288, -0.5299845338, 0.008847652, -0.3289062381, 0.4347285628, 0.1951217502, -0.8066666126, 0.1949970424, -0.0942150652, -0.0831474736, -0.3102220297, 0.6740369797, -0.5790516734, -0.5160904527, 0.130417496, 0.4009071887, -0.0950742215, -0.4641035795, -0.4840864241, 0.131295532, -0.019370243, -0.1053864956, 0.2612733543, 1.002269268, 0.1855764836, 0.7610560656, 0.4564203024, 0.2612051368, 0.0890217498, 0.137243405, 0.9480023384, -0.6284666657, -0.5740637779, -1.2347019911, 0.1359687746, 0.0686940625, 0.1160132661, 0.9351177216, 0.7567524314, 0.7823812962, 0.1319072992, 0.7017839551, -0.1568944752, 0.2991101742, -0.4577933252, 0.6615560055, -0.2615694702, 0.2030968666, 0.0686578825, -0.5868027806, -0.0820388272, 0.4632874727, -0.1670905799, 0.0018279887, 0.5356465578, 0.5686185956, 0.0630624443, -0.090601325, 0.6014031172, 0.1681331396, 0.362529546, 0.5435934067, 0.7743797898, -0.5144705772, 0.5158939958, -0.6715875268, -0.3344969749, 0.0169696845, -0.9511190653, -0.8266319036, -0.5884867907, -0.3052695692, 0.0400159284, 0.0028184473, 0.8675107956, 0.795583427, -0.7462241054, -0.2643150091, -0.2587281764, -0.0419301093, 0.0766179264, -0.2426641434, 0.1622274369, -0.335505724, -0.5708695054, 0.3056563139, 0.4298997223, 0.4498955011, -0.4741432667, -0.0299276821, -0.0112402504, 0.1948433816, 0.6223242283, -0.1133294478, -0.3709410429, 0.1977899373, -0.4266989529, -0.0545763969, -0.0160947591, 0.8035469055, -1.0556502342, 0.4698756635, 0.1211915836, 0.6340098381, 0.6340507865, 0.1844582707, 0.4671300948, -1.0057998896, 0.0850082934, 0.1617223918, 0.1956085712, 0.419056505, -0.301907748, 0.3387580812, 0.3166081905, -0.4449953437, -0.6953914762, -0.0167191084, -0.5867364407, -0.2836036682, 0.8910465837, 0.0336612016, -0.305441916, 0.0470244735, -0.1527007818, 0.1500596404, -0.5720158219, 0.8691319227, 0.6435412169, 0.0463897139, -0.2910373211, -0.2449409366, 0.5936926007, 0.2748639286, -0.6272078753, 0.4035100043, 0.312259376, 0.3353776932, 0.0899287239, 0.8701687455, -0.0304473806, -0.0620650053, -0.0453431234, 0.377928555, -0.0311871842, -0.3218647838, -0.5421782136, -0.1951724142, 0.2472528517, -0.2530977428 ]
http://arxiv.org/abs/2402.10618v2
http://arxiv.org/pdf/2402.10618v2
Enhancing Role-playing Systems through Aggressive Queries: Evaluation and Improvement
2024-02-16T12:12:05
2024-06-15T13:51:38
Yihong Tang, Jiao Ou, Che Liu, Fuzheng Zhang, Di Zhang, Kun Gai
cs.CL
cs.CL
The advent of Large Language Models (LLMs) has propelled dialogue generation into new realms, particularly in the field of role-playing systems (RPSs). While enhanced with ordinary role-relevant training dialogues, existing LLM-based RPSs still struggle to align with roles when handling intricate and trapped queries in boundary scenarios. In this paper, we design the Modular ORchestrated Trap-setting Interaction SystEm (MORTISE) to benchmark and improve the role-playing LLMs' performance. MORTISE can produce highly role-relevant aggressive queries through the collaborative effort of multiple LLM-based modules, and formulate corresponding responses to create an adversarial training dataset via a consistent response generator. We select 190 Chinese and English roles to construct aggressive queries to benchmark existing role-playing LLMs. Through comprehensive evaluation, we find that existing models exhibit a general deficiency in role alignment capabilities. We further select 180 of the roles to collect an adversarial training dataset (named RoleAD) and retain the other 10 roles for testing. Experiments on models improved by RoleAD indicate that our adversarial dataset ameliorates this deficiency, with the improvements demonstrating a degree of generalizability in ordinary scenarios.
[ -0.1737241894, -0.705054462, 0.0305082016, 0.1904016584, -0.0760314986, 0.0668485239, -0.2018865645, -0.3461660445, 0.0532628968, 0.7340629697, -0.5833897591, -0.539947629, -0.4682876766, 0.0457729176, 0.0024954304, 0.9090413451, 0.3093540072, 0.3151814938, -0.1185361221, -0.15498887, -0.7650616765, -0.3659093976, -1.0222707987, -0.1702308208, 0.2252339572, -0.0560822785, 0.9866018891, 0.4565011263, 0.5891213417, 0.3240252733, 0.0544861704, 0.5604370832, -0.7474575043, 0.5406352282, -0.2602552176, -0.5448603034, -0.7438208461, -0.1754473746, 0.5655625463, 0.2617493272, -0.3361105621, -0.2035977989, 0.074094601, 0.2383259088, -0.6374354362, 0.3147124648, -0.7671917677, 0.1701524109, -0.0607806258, -0.1550845206, -0.5834951997, -0.1796576977, 0.1353208572, -0.6856960654, -0.0221215095, -0.0306457933, 0.6260007024, 0.2743288279, -0.3100958467, -0.194715187, -0.5930898786, 0.6416530609, -0.9511118531, 0.0985676944, 0.372787863, 0.3150699139, -0.554651618, -0.1101013348, 0.1379375011, -0.1044123396, -0.1872221828, 0.2345475107, 0.1493775696, 0.2533623874, 0.3796076179, 0.04688574, -0.6675275564, 0.2222551405, -0.2237434387, -0.1904977858, 1.2125897408, 0.5206215382, 0.3864037097, -0.1236367449, -0.3384943008, -0.1428059936, -0.6532701254, 0.3936513662, 0.5589811206, 0.4826137424, 0.1106132194, 0.5551481843, 0.0680086985, 0.8115392923, 0.1768068075, 0.1219190881, -0.3468571901, 0.0933355764, -0.2023058683, -0.1569076926, 0.6993452907, 0.5015333891, 0.36769858, -0.116361469, -0.4869980216, 0.1129484624, 0.748046279, -0.6067709923, -0.024986336, 0.1764311492, -0.1452252269, -0.4993183613, 0.1596023291, -0.7690693736, -0.7182839513, 0.0531323329, 0.6327430606, -0.4269003272, -0.1592385024, 0.1467960328, -0.0655811355, 0.4005295038, 0.1903121769, -0.8311852813, 0.5301948786, 0.9026976824, 0.5650070906, -0.2689240277, -0.0241981409, -0.8549705744, 0.2525479794, -0.599365592, 0.6168279648, -0.777144134, -0.729983449, 0.1851634979, 0.0221546013, -0.3583287001, -0.9271869063, 0.4821746647, -0.7569153905, -0.013294654, -0.0617278069, -0.342605412, 0.3077910244, 0.5923601985, -0.5915383101, 1.008474946, -0.1809842587, -0.3877517879, 0.166742608, -0.6187979579, -0.3502041996, 0.0669640601, -0.4460110962, -0.4412227571, 0.0822864622, 0.4544661343, 0.3633003533, -0.1892286539, 0.389867872, -0.2318849713, -0.9069207311, 0.2313082665, -0.0506925099, 0.8144769073, -0.0328453034, -0.3108789921, 0.1773103476, -0.2069390118, 0.014398871, 0.0576210693, -0.2979389727, -0.3804395199, 0.3620247245, -0.679864645, 0.0781028718, -0.0815045163, -0.1938832402, 0.5461384058, -0.4334569871, 0.0621136054, 0.8185527921, -0.0015166001, 0.3872397244, -0.3417210877, 0.8725150824, -0.1073309556, 0.3223298192, -0.0179432761, -0.3602969646, -0.3663727045, -0.2692202032, 0.1848875582, 0.7952992916, -0.8673251271, 0.5253321528, -0.2639067471, -0.2677845359, -0.4107469022, -0.0519179367, 0.5910669565, 0.0891132951, 0.1832998395, -0.6208962798, -0.4863411486, -0.8628556132, -0.4167870879, -0.2491410673, -0.0732697397, 0.7748738527, 0.0809016377, -0.0017868876, 0.5808095336, -0.5300397277, -0.2862488031, -0.1418618411, 0.0172863714, -0.0598134622, 0.4114886224, 0.2655842602, -0.5636685491, -0.5115895271, -0.2824737728, -0.7749157548, -0.2864659131, 0.0538954884, -0.4619302154, 0.0419679172, 0.5272783637, -0.6078252196, 0.3821023405, 0.4405872822, -0.133228451, 0.6064943671, 0.3318811655, 0.3378368914, -0.9094817042, 0.1081779152, -0.2313208729, -0.0568722747, -0.6199735999, 0.3871404529, -0.0742321834, -0.4083652198, -0.1576609612, 0.3615285456, -0.6392959952, -0.1974972785, -0.1891277581, 0.4484083951, -0.067741178, 0.469198674, -0.096940428, 0.9910399318, 0.5964670777, -0.545899272, 0.3996191919, 0.444653511, -0.2351110131, 0.5726506114, -0.5448338389, 0.0541851223, 0.0009414006, 0.5209453702, -1.077093482, -0.2604330778, 0.1156585291, -0.3120120466, 0.5904544592, -0.6277421117, -0.1628066897, -0.2045835853, -0.5076138377, 0.4815771282, 0.5598294735, -0.1552262157, 0.6454337835, 0.4646221101, -0.1574035734, -1.1592646837, -0.2671789527, 0.1709929109, -0.3354229331, -0.7285093665, 0.232371226, 0.0907364935, -0.1804263145, -0.2318337858, -0.2641285658, -0.0846513584, 0.082877785, 0.0615375303, 0.2723431885, -0.2787726223, 0.1653423011, -0.0647348315, 0.0718737021, 0.290756017, 0.0960522443, 0.4957688153, 0.2337745577, -0.3733498156, -0.1065383255, 0.33860448, 0.4279227853, -0.4775826037, 0.4231062233, 0.2831455767, -0.134851709, -0.5038504601, -0.4978246093, -0.2849217355, -0.4987758696, 0.3144680858, -0.2836372554, -0.8878433108, 0.8416341543, -0.105777435, 0.2767074406, 0.2030358762, -0.0025706238, 0.1714485735, 1.3194825649, 0.3312923908, -0.0011549761, 0.4563280642, -0.2226586938, 0.1161819473, -1.1846089363, -0.1284029335, -0.2989492714, -0.4513807595, -0.4816267192, -0.5333092213, 0.6139567494, 0.0768395066, -0.2148686349, 0.385099262, -0.3849891424, 0.3818928301, -0.0542893559, 0.2308214158, 0.0174426399, -0.2910515368, -0.1025509015, -0.1366375238, -0.7950478792, -0.5103606582, 0.8979313374, 0.0649597123, 1.051082015, 0.479111284, 0.570469141, 0.18386136, 0.4089644849, -0.7503679395, 0.8629680872, -0.2869230807, -0.8119617105, -0.4090871215, -0.2403232455, -0.9831982255, 0.3652874231, -0.3134937584, -0.7845017314, 0.0846978053, 0.1015631557, -0.6581753492, 0.238189131, -0.3443127573, 0.7549542189, -0.1605786532, -0.7974939942, -0.0024658476, -0.6378905177, 0.6789243221, 0.2793776691, -0.0592702813, 0.0281266253, -0.0312021635, 0.400641948, -0.0927773267, 1.1873211861, -0.4038059115, -0.3831052184, 0.3907188177, 0.5098667145, 0.7707689404, 0.2370529771, -0.4924384654, -0.3368328214, -0.1943656653, -0.2550638616, -0.7200272083, 0.7991108894, -0.6102724075, -1.1780431271, -0.1735182256, -0.6224902868, -0.4945289195, -0.0811687708, -0.1453699023, 0.6352526546, -0.696395874, 0.2727244496, 0.961227417, -0.3504014611, 0.1706548184, 0.5267999768, -0.1671748757, -0.1656739116, 0.5063433051, 0.0869535655, 0.3180418313, 0.2239088118, -0.110363245, -0.1746988744, -0.3174358904, -0.5819999576, -0.0710746273, -0.1870879978, -0.4981810153, -0.693565011, -0.4306399226, -0.6720981598, -0.105918631, -0.2315352559, -0.1169585884, 0.1478430033, 0.0155096129, 0.0002570346, 0.5987671614, -0.0630816743, 0.3166044354, -0.8055974245, 0.0588241331, 0.3760332763, 0.5769382119, 0.0578805022, -0.5540983677, -0.2700789869, -0.1454285085, -0.3855630159, -0.9806239605, 0.1693009138, 0.1617302895, 0.7896487117, 0.4373178482, 0.1347766817, 0.796502471, -0.5575563908, 1.0080878735, -0.5416975617, -0.7569804192, 0.5437222123, -0.8065782785, 0.1709282994, 0.4271289408, 0.2761767805, -0.4103490412, -0.3439941406, -0.536901474, -0.7530514002, 1.0778956413, 0.1089090481, 0.229601711, -0.0709728897, 0.4360410869, -0.1451405138, 0.1788404435, -0.4275711477, 0.1183987409, 0.0557919554, 0.0252444781, -0.0742336661, -0.1375948787, -0.574144125, 0.1012282446, 0.8110154271, -0.0556110889, 0.1501441151, 0.0742039159, 0.0644820333, -0.2575990558, 0.2560998201, 0.5924853683, 0.3209322095, -0.2318729758, -0.0384739339, 0.2606755793, -0.1574455351, 0.0681178644, 0.0809836611, 0.0499038845, -0.3471221924, 0.3814560473, 0.5232720375, 0.4544421434, -0.8239044547, 0.6128478646, 0.0139296371, 0.0937777758, 0.0172477607, 0.5892474055, 0.1287980676, 0.251888901, 0.0618242659, -0.2568055689, 0.2522988319, -0.6398181319, 0.340462029, 0.8770410419, -0.3982621431, -0.1652652919, 0.4153302908, 0.4662427306, -0.6059195399, 0.5444028378, -0.0358049721, -0.5907566547, 0.6779351234, 0.535943985, 0.763481915, -0.7883438468, 0.2999202013, 0.4128957689, 0.4669936299, -0.0676124021, 0.2713541687, -0.0362737998, -0.7307011485, -0.4530030489, -0.1806359887, -0.3158581257, 0.2366660833, -0.9170078039, 0.3127858639, -0.4524609149, -0.2476303875, -0.4246555865, 0.2296973616, -0.2999500334, 0.0788705349, -0.2371691167, 0.7171369791, -0.756377995, 0.256177187, 0.8095983267, -0.0682360232, -0.534714222, 0.0115364492, 0.0794821605, -0.8494974375, 0.3438673019, 0.0809253976, -0.2122552991, -0.1290733218, -0.8124032021, -0.5506752729, 1.0090352297, -0.0257592704, -0.3165691495, 0.0651056245, -0.0456161872, 0.7756906748, -0.5908896327, 0.2358541042, 0.4373038709, 0.3680599928, -0.1566580832, -0.7131928205, 0.137275666, -0.3601116538, -0.0145688755, 0.3293892443, -0.8848488927, 0.4729621708, -0.0475527011, -0.3917828798, 0.1963657588, 0.3285132945, 0.2849976122, 0.1542773545, 0.674942255, 0.4723474085, 0.1693779379, -0.1185024008, 0.7554895878, -0.2051466107, -0.1192278042, 1.1863678694, -0.743299067, 0.644235611, 0.0842691809, 0.161030978, 0.2622859776, 0.4879355431, -0.0245866664, 0.3256595135, 0.6882343888, -0.3221709728, -0.599388361, -0.0652383119, -0.1604005992, 0.540830195, 0.5632940531, -0.0809290931, -0.2783840299, -0.3434814215, -0.1006581336, 0.3034649491, 0.0211008806, 1.0196059942, -0.046620138, -0.995087266, 0.2072743177, 0.0234110113, 0.5700415969, -0.8692871928, -0.1742838174, -0.3488062024, 0.1365360171, -0.1531829238, -0.5609269142, 0.1778387874, 0.0123722069, 0.1460377127, 0.1751057059, 0.6587524414, -0.5020033717, -0.0781169161, 0.4689796269, 0.4712992907, 0.1844626516, 0.2446960062, -0.8911491632, 0.3393082023, -0.1475374252, -0.2336586863, 0.3381917775, 0.4765934944, -0.3768296838, 0.4680345953, 0.3800024986, 0.0355805159, 0.0101408726, 0.0753610209, 1.0594406128, -0.5033106804, -0.3313784301, -0.5078522563, 0.6494401097, -0.3219071329, -0.2411881685, 0.5501518846, 0.5864660144, 0.6018731594, -0.0008569066, 0.604616642, 0.0530003309, 0.1558283567, -0.3851677477, 0.4247175157, -0.3560530841, 0.5221477151, -0.1695486903, -0.9423872828, -0.2320303619, 0.517242372, -0.2648854554, 0.2664756477, 0.2606013715, 1.256717205, -0.3056094646, -0.2104504555, 0.6029236913, 0.2643732429, 0.5243496895, 0.4980109036, 0.9869379997, -0.650724411, 0.4695863724, 0.204173848, -0.4179296792, -0.3143598139, -0.7258002162, -0.9504823685, -0.1729780734, -0.0489876419, -0.2690393925, 0.526201129, 0.7863750458, 0.6309034228, -0.5594390035, -0.5632205009, 0.4141392708, -0.1323580742, -0.4521526992, -0.312589556, 0.2069599181, -0.5646263361, -0.794975996, 0.7825770378, 0.2271977514, -0.2903746367, -0.3617786467, 0.1141492724, -0.2854967713, 0.6670264602, 0.5324985981, 0.25999704, -0.5811277032, -0.3859761357, 0.19984442, -0.2226545066, -0.1419528574, 1.1869833469, -0.4037327468, 0.5088333488, 0.3399240375, 0.7630056143, 0.053846892, 0.4365724623, 1.013786912, -0.7929787636, -0.1090706661, 0.3784444928, -0.0173298828, 0.2768212557, -0.7334073186, 0.7506209612, -0.3266062438, -0.7023007274, -0.8847014308, 0.4093701243, -0.802964747, -0.185403198, 1.1006394625, -0.388207376, 0.0581765175, -0.155926466, -0.2679522932, 0.1760858446, -0.3772080243, 1.0272727013, 0.8415542245, -0.3329842985, 0.2047541291, -0.4551720321, 0.8160020709, 0.7144651413, -0.5063324571, 0.4023238122, 0.7216988206, -0.0498604625, 0.055850178, 0.5244081616, -0.4740177095, 0.105249919, -0.177213788, -0.1049771085, 0.0339539498, -0.4147427082, -0.3719415665, 0.0355759338, -0.214168027, 0.0423333459 ]
http://arxiv.org/abs/2402.10614v2
http://arxiv.org/pdf/2402.10614v2
Can LLMs Speak For Diverse People? Tuning LLMs via Debate to Generate Controllable Controversial Statements
2024-02-16T12:00:34
2024-06-07T20:19:09
Ming Li, Jiuhai Chen, Lichang Chen, Tianyi Zhou
cs.CL
cs.CL, cs.AI, cs.LG
Making LLMs speak for different, especially minority groups of people, and generate statements supporting their diverse or even controversial perspectives is critical to creating an inclusive environment. However, existing LLMs lack sufficient controllability to the stance of their generated content, which often contains inconsistent, neutral, or biased statements. In this paper, we improve the controllability of LLMs in generating statements supporting an argument the user defined in the prompt. We find that multi-round debates between two LLMs with opposite stances generate higher-quality and more salient statements for each, which are important training data to improve the controllability of LLMs. Motivated by this, we develop a novel debate & tuning (DEBATUNE) pipeline finetuning LLMs to generate the statements obtained via debate. To examine DEBATUNE, we curate the largest dataset of debate topics so far, which covers 710 controversial topics and corresponding arguments for each topic. Evaluations by the GPT-4 judge with a novel controversy controllability metric show that LLMs' capability of generating diverse perspectives is significantly improved by DEBATUNE. Moreover, such controllability can be generalized to unseen topics, generating high-quality statements supporting controversial arguments.
[ -0.7941841483, -0.5633649826, 0.1241767108, 0.2545655072, -0.527554512, 0.4596552849, -0.3601275086, -0.2668348849, 0.3535170257, 0.3961566091, -0.4280779958, -0.4506568909, -0.8325805664, 0.0250753071, -0.1426774263, 1.1214929819, -0.0846675187, 0.0574889444, 0.2187508494, -0.4785434008, -0.5719797015, -0.3062084019, -0.4087384343, -0.3272650838, 0.9536335468, 0.5851202607, 0.8659092784, 0.4250239432, 0.3193620741, 0.3002015054, -0.392457813, 0.4700317681, -0.7660024762, 0.3975114822, -0.7068707943, -0.5187553167, -0.0376988463, 0.0680890083, 0.4822199941, 0.3947681487, -0.1847990602, -0.1580749154, 0.1731209308, 0.3619838357, -0.4298612177, -0.5327480435, -1.2602421045, 0.3007750213, -0.585095644, -0.2238007486, -0.1181635186, -0.4788604975, -0.3294550776, -0.5036624074, 0.2747614086, 0.1988407224, 0.7746961713, 0.4440876842, -0.5823124051, -0.2885060012, -0.7408286333, 0.5943193436, -0.8193997145, 0.0521840788, -0.0350843966, 0.3258418143, -0.2779034078, -0.3613522053, -0.6115058064, 0.1871534735, 0.2386148423, 0.1739492863, -0.2216961682, -0.0212448426, 0.2760177851, 0.3028799593, -0.2141107321, 0.719597578, -0.2796263695, -0.3617019951, 0.7220424414, 0.2839635611, -0.0875930637, -0.3513472974, -0.2619816363, 0.2251976579, -0.6638060808, 0.000205225, 0.8932560682, 0.1895243227, 0.0324154869, 0.5334733129, -0.3558111489, 0.5768142343, 0.3910599947, -0.0454180017, -0.0440373793, -0.0466503687, -0.2619533241, 0.0084607452, 0.7247638106, 0.5632618666, -0.0289582703, -0.0240616556, 0.011430664, -0.0349384211, 0.1864279509, -0.7674372792, -0.3477514684, 0.2415712774, -0.2054718137, -0.3761513531, -0.024772387, -0.8666284084, -0.969974339, -0.4407962263, -0.0923367813, -0.0924890488, -0.3568448722, -0.0580193289, -0.1951529384, 0.1172380298, 0.7255152464, -0.8976021409, 0.1378361434, 0.6185098886, 0.5981460214, -0.7042921185, 0.1898274422, -0.6167005897, 0.2563352585, -0.2299809456, 0.6182451248, -0.7660421133, -0.4413920045, -0.3549083769, -0.2928204238, 0.2784727216, -0.8178181052, 0.5638337135, -0.435728997, 0.1798832268, -0.551433742, -0.5020073056, 0.2649954259, 0.4221133292, -0.4495465159, 0.3167984188, -0.0391998366, -0.9052672982, 0.650524199, -0.499376446, -0.1707711518, 0.2188480049, -0.7967075109, -0.4477941394, 0.0253690202, 0.1822715253, 0.0280533042, -0.0528155081, 0.4429571331, -0.3602477014, -0.2205050737, 0.5191634893, -0.4916594923, 0.673912406, 0.426936239, -0.5642113686, 0.1854000837, -0.4472075105, -0.1486373842, -0.173468858, -0.5215916634, -0.0491899997, 0.1183169633, -0.1705396771, 0.1506118178, -0.1379809678, -0.5832304358, 0.3623204529, -0.2061421275, 0.4414764941, 1.0687968731, 0.019393431, 0.2829471529, -0.3313333392, 0.7151858211, 0.3205293119, -0.0927785337, 0.2202623636, -0.4113795161, -0.8231085539, -0.2743501365, 0.1996685714, 0.5325322151, -0.568554759, 0.1841647625, 0.1598436683, -0.3777091801, -0.6216399074, 0.5001932383, 0.1201660633, 0.6048441529, 0.3200536668, -0.0169171337, -0.6081332564, -0.9897577167, -0.5891831517, 0.0457664393, 0.0546774305, 0.575130105, 0.0751462802, -0.0964622572, 0.7883637547, -0.2576059103, 0.1301239133, -0.1813229918, 0.4472738802, 0.1071425974, 0.4784879684, 0.3078576326, -0.8221407533, -0.4574664533, -0.1308716238, -0.3955294788, -0.34929052, -0.2940581143, -0.4708241224, 0.1020056084, 0.2447148561, -0.380675137, 0.0588435717, 0.2813139856, -0.4181814492, 0.3882347643, 0.3086595535, 0.2234354019, -1.0950205326, -0.4158680141, -0.109334901, -0.3289172053, -0.0577319339, -0.1858650148, -0.1550931633, 0.0781765804, -0.6819170713, 0.3589298129, -0.2509805858, 0.4599641562, -0.2283892035, 0.270232141, -0.1099756733, 0.3029755354, -0.2005399913, 0.337825954, 0.4761681557, -0.5927113891, 0.5449097753, 0.4420446455, -0.2297303826, 0.8896861672, -0.4253872931, 0.1414789557, -0.1250713915, 0.2395791262, -1.136182189, -0.3062528968, 0.4345909655, -0.1382545382, 0.4409351051, -0.1520028114, -0.0855406448, -0.3834599853, -0.2903936505, 0.1369609386, 0.3735767901, -0.4741173387, 0.1421854347, 0.527548492, -0.3957006633, -0.6598450541, -0.8179521561, 0.3535344005, -0.6285087466, -0.433619976, 0.3187576234, -0.2170905471, -0.5060201287, -0.2463348508, -0.2926729023, 0.2741619051, 0.2139356285, 0.2701584399, -0.1433764845, 0.0300905239, 0.3816833496, 0.629273057, 0.017665457, -0.085390687, -0.0553312153, 0.344845444, -0.0481578112, -0.6405457258, -0.0645534769, 0.5486866832, 0.1273559481, 0.0350415446, 0.3377869427, 0.4209871888, 0.082959719, -0.4586412907, -0.5873883367, -0.0608569756, -0.4919227958, 0.3084692657, -0.2021102309, -1.4327683449, 0.4197933674, -0.3263994157, 0.4930812716, 0.4489819109, 0.9514455795, -0.3183533251, 0.7486696839, 0.2496345341, 0.0592103414, 0.2863412201, 0.1535242498, -0.0118259108, -0.5546780229, -0.2190203369, -0.5770326853, -1.1564712524, -0.7365233898, -0.3798307776, 0.2915755212, 0.2073636949, -0.3458147049, -0.2029523104, -0.7432385087, 0.6586218476, 0.1793065071, 0.0469194092, 0.5035993457, 0.136602208, -0.2472221106, -0.5977135301, -0.3832422495, -0.6021957397, 0.7085024118, 0.3705900013, 1.1245316267, 0.3899011612, 0.848731339, 0.4629122317, 0.6375623941, -0.6711424589, 0.4185400307, -0.019248629, -0.6921095252, -0.1603877544, -0.6189993024, -0.7675961256, 0.608201921, -0.2166054547, -0.7013934851, 0.2038225532, 0.3862482309, -0.1601525396, 0.6523988843, -0.2772659659, 0.5632715821, -0.3830601275, -0.3939546943, -0.1765637398, -0.5290948749, 0.5253250599, -0.0478278473, 0.0482085198, -0.4247637987, -0.1139364243, 0.6823432446, -0.3062117994, 0.9543820024, -0.3046244681, -0.4968765676, 0.2683770359, 0.161777243, 0.195021078, 0.5041964054, -0.2229541987, 0.211418435, -0.6401715279, -0.2205912173, -0.3956224322, 0.8496057391, -0.9344938993, -1.2001572847, -0.0899024904, -0.5953693986, -0.2790754139, 0.1009601057, 0.4295363724, 0.056345664, -0.2093544602, 0.1761663109, 0.8178379536, -0.082982786, 0.3511953354, 0.4559824467, -0.136414662, -0.5744873881, 0.7093155384, 0.1390299946, 0.1846508235, 0.1803975403, 0.2051765919, -0.3014788628, -0.6662726402, -0.483638078, -0.0881695673, -0.7170727253, -0.5032106638, -0.7916710973, -0.0293328092, 0.0180287547, -0.1893792599, -0.2215074897, -0.988773644, -0.2708394825, -0.3200935721, 0.3512661159, 0.4070002139, -0.0839040354, 0.3668493629, -0.4141882062, 0.4775147736, 0.5644299984, 0.1851862669, -0.527816236, -0.7251461744, 0.1321582943, 0.1076070294, -1.0829027891, -0.9637851715, 0.0679658204, 0.0775196329, 0.7617450356, 0.4599989057, 0.2109082788, 0.460849762, -0.2572775185, 0.8164848089, 0.3552432358, -0.9653888345, 0.8011968136, -0.3854686618, 0.08173161, 0.4846424162, 0.3034419715, -0.3949149847, -1.059087038, -0.4876361787, -0.8368557096, 0.643781662, 0.1690796912, 0.3701287508, 0.0491335839, 0.1217129156, 0.609947443, 0.5317361355, -0.7478154302, -0.2413190901, -0.5730916858, -0.083258763, 0.3103347421, -0.1177058816, -0.8871123791, -0.3641419113, 0.3742034733, -0.1459738016, -0.2576893568, 0.004959567, 0.1590233147, -0.2907617986, 0.7601238489, 0.5998886228, 0.6905929446, 0.0532575771, 0.4627164006, 0.0727581754, -0.1727487147, 0.3987465203, 0.0965230241, -0.3410775959, 0.011420113, -0.2240133435, 1.0584409237, -0.2361783832, -0.2580313683, 0.1057133749, -0.1524250358, -0.4329961538, 0.2645182312, 0.5022855401, 0.4415318668, 0.5040128827, 0.040100906, 0.3696137965, -0.0670936331, -0.0600651279, 0.0823808089, 0.514197588, -0.1765965372, 0.1018007547, 1.0931046009, 0.6834833026, -0.187997818, 0.3266600966, -0.1587693393, -0.2257272154, 0.5364806652, 0.4587119818, 0.7614063621, -0.07090801, 0.4657886624, 0.1313486844, 0.2570547163, 0.3911755085, 0.2778312862, -0.277882874, -0.9253929257, -0.1975815296, -0.4432722628, -0.9618492723, 0.1979770958, -0.4443797767, 0.1505292803, -0.8661611676, -0.3535042107, -0.0276969224, 0.0204640795, -0.3964467347, -0.0166783128, 0.371560514, 0.8590699434, -0.6936153769, 0.494622916, 0.5868749022, -0.1015764847, -0.4115519226, 0.0278510768, 0.0662203282, -0.3569248915, 0.4732483029, 0.0897958502, -0.1898865998, -0.2978794873, -0.9779214263, -0.3159948587, 0.9072819948, 0.8330042362, -1.0275686979, 0.4870153368, 0.194644466, 0.1781037748, -0.3027510047, 0.0947425365, 0.3175475597, 0.6336941123, 0.420229286, -0.6461340785, 0.0783660561, -0.1621891409, -0.1454472542, -0.0225458853, -1.0628576279, 0.9747630954, -0.2424452156, 0.0109095164, -0.3972839415, 0.7611771822, 0.5898749232, 0.3074826896, 0.4878481328, 0.4271017015, 1.3470351696, -0.249366641, 0.6650076509, 0.0715571418, 0.1263565123, 1.2844851017, -0.38561216, 0.2986872196, 0.4692752659, -0.0001692225, 0.383462131, 0.7406817675, -0.1129471436, 0.3160049021, 0.672278285, -0.3453928232, -0.4957610071, -0.0739905238, -0.4817251563, 0.2781254351, 0.3482850492, -0.0915445611, -0.2501392961, -0.1083392799, 0.2563351989, 0.4046029449, -0.2408306301, 0.6305734515, 0.1171348318, -0.4920350313, 0.742651403, 0.1244759038, 0.9397768378, -0.520095408, 0.1725828648, -0.5145737529, 0.0338744484, -0.4424885809, -0.7755823731, 0.2307125628, 0.171443969, -0.1120492816, -0.366268903, 0.5597011447, -0.5327849984, -0.2981778085, -0.0877447873, 0.4491131008, 0.1543388069, 0.2822215855, -0.7479290366, 0.1618206948, 0.2826062143, -0.4011895061, 0.1955224276, 0.6631613374, -0.1369512826, 0.4658602774, 0.2424497455, 0.2562275231, 0.1487398446, 0.2998340726, 1.3282288313, -0.5992523432, -0.4107269645, -0.912809968, 0.562214613, -0.4538348615, -0.6101985574, 0.7791583538, 0.4003505707, 0.7903125286, 0.1677383929, 1.0027838945, -0.04665263, 0.5256052017, -0.4825499356, 0.6652638316, -0.5450385809, 0.2062842846, -0.1387732178, -0.6237821579, -0.1152786538, 0.4710382223, -0.0508767255, -0.0528793223, 0.3031898141, 0.7889818549, -0.2648710608, 0.1949738711, 0.2042168677, 0.4323437512, 0.8611907959, 0.6006608605, 1.0744838715, 0.2635074556, 0.5228467584, 0.1943648905, -0.2195867598, -0.0806044787, -1.078163147, -0.8852888942, 0.1698181182, -0.5676158071, -0.2603006959, -0.2560555339, 0.880761683, 0.4192331731, -0.9466944933, -0.0374752283, -0.127960071, 0.6006942987, 0.1403135955, -0.2201039642, -0.1180706173, -0.2547681928, -0.8185964823, 0.3233332336, 0.2516926527, -0.1076461449, -0.3396673799, -0.2783893645, 0.0531152152, 0.2047834396, 0.2568038702, 0.3880639672, -0.7309659123, -0.1603375673, -0.4635165334, -0.1973544508, 0.2524235249, 0.9788252711, -0.5239627361, 0.5448395014, 0.3219671547, 0.649111867, 0.485330373, 0.210049808, 0.3922303319, -0.8274504542, 0.3077667356, 0.5359892249, 0.2724883556, 0.4554947913, -0.4041396677, 0.1485883445, 0.3465200961, -0.482889086, -0.528059721, 0.584051311, -1.1377944946, -0.2181847394, 1.2080911398, -0.0617834926, 0.3764308095, -0.1838475317, -0.6756427884, 0.1868513376, -0.5476773381, 0.9952248931, 0.7417951822, -0.3439708948, -0.0475767069, -0.1905378252, 0.5659662485, 0.6448142529, -0.832565546, 0.1246464252, 0.6022338867, 0.3346605897, -0.0566178933, 0.7679178119, -0.1511700749, -0.1498675048, -0.2218969017, -0.2830315828, -0.2418739051, -0.1186026335, -0.106346488, 0.2269811034, 0.0509030446, -0.0371390805 ]
http://arxiv.org/abs/2402.10612v1
http://arxiv.org/pdf/2402.10612v1
Retrieve Only When It Needs: Adaptive Retrieval Augmentation for Hallucination Mitigation in Large Language Models
2024-02-16T11:55:40
2024-02-16T11:55:40
Hanxing Ding, Liang Pang, Zihao Wei, Huawei Shen, Xueqi Cheng
cs.CL
cs.CL
Hallucinations pose a significant challenge for the practical implementation of large language models (LLMs). The utilization of parametric knowledge in generating factual content is constrained by the limited knowledge of LLMs, potentially resulting in internal hallucinations. While incorporating external information can help fill knowledge gaps, it also introduces the risk of irrelevant information, thereby increasing the likelihood of external hallucinations. A careful and balanced integration of the parametric knowledge within LLMs with external information is crucial to alleviate hallucinations. In this study, we present Rowen, a novel approach that enhances LLMs with a selective retrieval augmentation process tailored to address hallucinated outputs. This process is governed by a multilingual semantic-aware detection module, which evaluates the consistency of the perturbed responses across various languages for the same queries. Upon detecting inconsistencies indicative of hallucinations, Rowen activates the retrieval of external information to rectify the model outputs. Rowen adeptly harmonizes the intrinsic parameters in LLMs with external knowledge sources, effectively mitigating hallucinations by ensuring a balanced integration of internal reasoning and external evidence. Through a comprehensive empirical analysis, we demonstrate that Rowen surpasses the current state-of-the-art in both detecting and mitigating hallucinated content within the outputs of LLMs.
[ -0.3540968001, -0.7128082514, 0.6372640133, 0.4497647583, -0.1047331989, -0.3088369668, -0.5416979194, -0.5760297775, 0.5574505925, 0.7441672683, -0.37213099, -0.3813276589, -0.4005897045, 0.2095237076, -0.2538778186, 0.7253264189, 0.142418623, 0.2134675682, -0.1733339131, -0.1925241798, -0.5953857899, -0.4365000725, -0.5392252207, -0.2612745464, 0.7854101062, 0.0281728022, 0.7875295877, 0.3331255615, 0.4148579836, 0.2895280123, -0.0543686934, 0.6422259808, -0.6746547818, 0.4789734781, -0.1839634031, -0.1326950639, -0.1500127017, -0.557151556, 0.6445005536, 0.6881546974, -0.3262766898, -0.2917820215, 0.1951026469, 0.5994393229, -0.9234333634, -0.0435786918, -1.0926275253, 0.1011377424, -0.0581493452, -0.3626678884, -0.6144032478, -0.2059933096, -0.0139419343, -0.5542853475, 0.1811968684, -0.0565739386, 0.4743008912, 0.4347923994, -0.3360224068, -0.4224435091, -0.5744435787, 0.7451725006, -0.5130659938, 0.6388274431, 0.485281229, 0.1947401762, -0.3433479667, -0.6204855442, -0.4964211881, -0.5989043117, -0.227679655, 0.1315138787, 0.0720916763, 0.0549498983, 0.2672178447, 0.1408273131, -0.6038271189, -0.0661257207, -0.3442039192, -0.5775237083, 0.565387547, 0.1309185922, 0.1956607848, -0.2868546844, -0.2741529942, 0.0389721766, -0.5553527474, -0.3848416805, 0.4069881737, 0.4132368863, 0.4519039989, 0.7324125767, -0.0063995947, 0.5419093966, -0.0298894569, 0.2027388215, 0.2194781303, -0.1368312091, -0.0557927489, 0.3898357749, 0.5803744197, 0.1339762956, -0.0794604272, -0.5506201386, -0.415478766, -0.0240500811, 0.529990077, -0.5551392436, -0.3087635636, 0.3908819556, -0.2678079903, -0.0470107049, -0.0074168989, -0.695909977, -1.0119863749, -0.4224093556, 0.6767666936, -0.5500352979, -0.4517237544, 0.2332595289, -0.1316475719, 0.2405186743, 0.3080435395, -0.6561869979, 0.0626822636, 0.4631402791, 0.9055386782, -0.5548099279, -0.3395643234, -0.7633451819, 0.4704416394, -0.5213455558, 0.8079656363, -0.4180701077, -0.1943828315, 0.2246297896, 0.1365996152, 0.0140137644, -0.8244202137, 0.5761211514, -0.7195137739, -0.0025983988, -0.3436587155, -0.4783176184, -0.069898054, 0.1443834603, -0.834258616, 1.042083025, 0.0676780716, -0.8555958867, 0.1397554725, -0.3038465679, -0.5554700494, -0.0047527738, -0.0159058701, -0.1446802914, 0.3097322881, 0.2683030069, 0.1997892857, -0.0484444983, 0.3809251487, -0.3928176165, -0.433165729, 0.1353546977, -0.3849576712, 0.6456642747, 0.0359732956, -0.1272093058, 0.5071913004, -0.7634970546, 0.0180055182, -0.0116699785, -0.1676805615, -0.4783470631, -0.0209402442, 0.1653898358, 0.1063281149, 0.3202426434, -0.300159663, -0.0689975172, -0.5222116709, -0.0692485124, 0.8512021303, 0.0131895998, 0.4144622982, -0.5054088831, 0.2485098988, -0.010431964, 0.0932384804, -0.0104830433, -0.0969950333, -0.9431686401, -0.2593258023, -0.1299395412, 0.5899072289, -1.1078401804, 0.5759163499, -0.0815138519, -0.1813077033, -0.6009235978, 0.1654151529, 0.0665438101, 0.4037931561, 0.6286510825, 0.2056632191, -0.8778433204, -0.8378774524, -0.293100208, -0.1019012183, -0.3318281472, 0.1638482511, 0.2530236542, -0.2665617764, 0.4406178594, -0.3068003654, -0.7475075722, -0.2422585189, -0.0211103689, 0.114703536, 0.213217929, 0.194523558, -0.7475114465, -0.397254467, 0.3557071388, -1.0421088934, -0.2249827832, -0.3759607673, -0.2831549644, 0.2073413432, 0.4333684444, -0.6961672902, 0.3162186146, 0.138133049, -0.1477273256, 0.6082036495, -0.4210241735, 0.0310287196, -0.903576076, -0.2636293769, -0.301966846, -0.1206086427, -0.4221733809, 0.0933426619, 0.1765544266, 0.2485191077, -0.1979462057, 0.6579882503, -0.4402244389, 0.0242943577, -0.5502945781, 0.4423662722, 0.0372955352, 0.2236426622, 0.200691402, 0.6467188001, 0.5099746585, -0.6162029505, 0.5584565997, 0.2135867923, -0.261434257, 0.4476442337, -0.3540549278, 0.1929076612, -0.4485290051, 0.0491689816, -0.8574602604, -0.2760308981, 0.1833839566, -0.2808789015, 0.224550426, 0.2001082897, -0.2337790877, -0.1934264451, -0.5186939836, -0.0479176901, 0.1477078497, -0.8873713613, 1.1939419508, 0.294483006, -0.058720734, -0.5586701632, -0.6354279518, 0.3234714866, -0.1251127124, -0.719517231, 0.5408393741, -0.2391433418, -0.1153108478, -0.171799168, -0.1467711776, 0.0956917703, -0.285430789, -0.0938715115, 0.2407723814, -0.2479064912, 0.1764747053, 0.0659787506, 0.0302819721, 0.1616940498, -0.4127568901, 0.5444718599, 0.3183449209, -0.3258155584, -0.3525640666, 0.496522218, 0.492613405, 0.1204062849, 1.1177208424, 0.8335815072, -0.6240143776, -0.3570003808, -1.0295248032, -0.5396822691, -0.4673446119, 0.6762335896, -0.550842762, -0.5260776877, 0.8023955822, 0.2765346766, -0.2204260975, 0.257745862, 0.6071288586, 0.1040337831, 1.0224168301, 0.2188729346, 0.0992664471, 0.3704124987, 0.067616187, 0.2543930709, -1.1797311306, -0.5258598328, -0.2987832129, -0.0437224507, -0.3946675062, -0.3632488549, 0.3679761291, -0.1010562405, -0.1106090769, 0.079536818, -0.4340178967, 0.5378127098, 0.2979291379, 0.6073542237, 0.3614110649, 0.0580487587, -0.2143080831, -0.2102121562, -0.6105309129, -0.2223233879, 0.9219720364, -0.0056278664, 0.8714245558, 0.1612603366, 0.4440652728, 0.4903106093, 0.3763137758, -0.7033036947, 0.5393775702, 0.0201781467, -0.4883288145, -0.3897589147, -0.639531076, -0.7340071797, 0.682113409, -0.2117479891, -0.7975795865, 0.2991624773, -0.0342973806, -0.2330022454, 0.2466048151, -0.542078197, 0.5397334695, -0.2467308491, -0.7754961848, -0.2681283653, -0.4115080535, 0.3683210015, -0.3477306664, 0.0068356921, 0.1075128019, -0.0849226788, 0.467461735, 0.0011577678, 0.6525628567, -0.2656634152, -0.2908048928, 0.0575191714, 0.3020597994, 0.9548921585, 0.0671239495, -0.4178240299, 0.0444750451, -0.0871316344, -0.2325058728, -0.7972308993, 0.9418436885, -0.4988052249, -0.9240145087, -0.3620768785, -0.9089967012, -0.271659404, -0.0854906663, 0.1588667929, -0.0146510787, -0.0608279258, 0.3297931254, 0.7296431661, -0.4025721848, 0.2252842039, 0.5327015519, -0.5395168066, -0.6488906741, 0.8800873756, 0.1936512142, -0.022573296, 0.1957604587, 0.2447399497, -0.5728583932, -0.65420717, -0.1818426102, 0.3055417538, -0.9848982692, -0.2731476426, -0.8752992749, -0.4133427739, -0.5704208016, 0.1115428433, -0.2776407301, -0.1307542473, -0.1536130905, -0.0930326432, 0.3008497059, 0.4912089407, -0.0900326371, 0.0757216439, -0.6523500681, 0.6263156533, 0.1713031977, 0.2069951892, 0.2152288109, -0.7856997252, -0.2421936542, -0.0084165167, -0.0717165694, -0.8247273564, 0.4101762772, 0.1147616059, 0.7087222338, 0.4331531823, 0.385507226, 0.8537306786, -0.3689162433, 0.5796324611, 0.0380574316, -0.7982594371, 0.3762557507, -0.249161765, 0.0797107145, 0.3149920702, 0.375869751, -0.4649105072, -0.5241472721, -0.0206555333, -1.0147019625, 0.6218711734, 0.2126450092, 0.3139257431, -0.1044961512, 0.4187990129, 0.1688946337, -0.0074044089, -0.9621448517, 0.1653481275, -0.0147734154, -0.2200545967, 0.4701490998, -0.3172398806, -0.1721564233, -0.3766084015, 0.9423620105, -0.0334987193, 0.1104806215, 0.2536801696, -0.4795899093, 0.0044908952, -0.2624704838, 0.4539887905, 0.6419427395, -0.1512472928, 0.2483113706, 0.488185674, -0.4276411533, -0.051509086, -0.0054487251, -0.1620388031, -0.0172648262, 0.4667146504, 0.8424289227, 0.0409320742, -0.5924937725, 0.3196620941, 0.0859329477, 0.0803324431, -0.5468497872, 0.0876863822, -0.1797223538, 0.5243265629, 0.5548560023, -0.009779131, 0.1779844761, -0.1382371485, 0.3901036382, 0.5373004675, -0.4170294702, -0.1766629517, 0.6460651159, -0.2282355577, -0.1894687414, 0.591175139, -0.0599757433, -0.3434977531, 0.2382294536, 0.8426076174, 0.9100482464, -0.5038002729, 0.0618617795, 0.3319083452, 0.4592202604, -0.1991838962, 0.2744722366, 0.095498018, -1.016977787, -0.4363000691, -0.645083189, -0.0292653684, 0.3023830652, -0.5914954543, 0.3450796902, -0.1423315853, -0.1512670368, -0.184096396, -0.4830054939, -0.244221434, -0.1467838883, 0.0393561199, 0.6282644868, -0.5845547915, 0.810051322, 0.3033317029, -0.5209802985, -0.3123464286, 0.2605941892, -0.213536039, -0.60177356, 0.4270917773, 0.0623774752, -0.2749707401, -0.1575319022, -0.1890668124, -0.6786358356, 0.6660530567, 0.692599833, -0.3246168196, -0.1152126491, 0.0811757669, 0.3768999875, -0.2933701873, 0.201789543, 0.5275135636, 0.7368326187, 0.4239122868, -0.5526772141, 0.1936734766, -0.131553188, 0.2332792729, 0.0411180109, -0.2567862272, 0.4682301879, -0.1557960361, -0.0830752179, 0.1354980469, 0.7913134694, 0.309679538, 0.1534018964, 0.4866698384, 0.2355757952, 1.0908868313, 0.0717557818, 1.0060728788, -0.2673366368, 0.0833444372, 1.2188476324, -0.6948150992, 0.8041618466, 0.7301065326, 0.0102604674, 0.1997330785, 0.4743436873, 0.1229213104, 0.6276981235, 0.2186222076, -0.4964901805, -0.3123632669, -0.3278823793, -0.3961220086, 0.2590045035, 0.3708795011, -0.2007413357, 0.0961923003, 0.5908324718, -0.200627774, 0.1364938021, -0.1754347235, 0.9113397002, -0.1101306155, -0.6487540007, 0.7565046549, -0.2330906391, 0.5787445903, -0.6732146144, -0.09932556, -0.3710686862, 0.3547310233, -0.3333520293, -0.434486717, 0.6241018176, -0.3574947715, -0.2525404692, 0.0826458484, 0.804812789, -0.6905886531, -0.6081273556, 0.930469811, 0.3206856251, 0.0166862719, -0.5527725816, -0.2584337592, 0.314245522, -0.0059694895, -0.185393095, 0.2246605605, 0.7210847735, 0.0099343406, 0.6431165934, 0.64634794, 0.3852464557, 0.1091725677, 0.4409680963, 0.9963719845, -0.5686106682, -0.2872059345, -0.784054637, 0.38578704, -0.2836110294, 0.2464582324, 0.7422327399, 0.6528013945, 0.6281709671, -0.2097008973, 0.5609643459, 0.3016008139, 0.2575163543, -0.7470238805, 0.8838041425, -0.6285477877, 0.5986412764, -0.0901437476, -1.2080618143, -0.5770487189, 0.957913816, -0.2458291203, 0.0849755183, 0.8151603341, 1.241902113, 0.012327618, 0.0783093423, 0.6217813492, 0.4411307871, 0.1146609858, 0.3733132184, 1.1194176674, -0.3093775213, 0.6294454336, -0.01572497, -0.011754551, -0.096705094, -0.6747049689, -0.8255679607, -0.6485029459, -0.2036716491, -0.6835595369, 0.228303507, 0.9743058085, 0.5654431581, -1.1311292648, -0.1683517992, 0.0980382785, 0.3259586096, -0.0724371746, -0.2922278047, 0.5391050577, -0.6252614856, -0.5206586123, 0.5781165957, 0.4114622176, -0.208236739, -0.4519061446, -0.2359737009, -0.1900649071, 0.1587944627, 0.7593464851, -0.3098139465, -0.9345653057, -0.3247674704, 0.269253999, 0.0056540766, 0.1186921746, 0.7923700213, -0.7786679864, 0.5522115231, 0.4563087225, 0.8331302404, 0.4745496213, -0.440107882, 0.4347110093, -0.767133534, 0.4391715229, 0.3193935156, 0.3715335429, 0.4414808452, -0.6649788618, 0.4042922258, 0.0518812053, -0.266379416, -0.9101631045, 0.1303855032, -0.6583694816, -0.3468613327, 1.0757730007, 0.0763656497, -0.1263006181, -0.2900642455, -0.5007789135, 0.1602145731, -0.1637048423, 1.3320450783, 0.8329091668, -0.026758289, -0.2730150819, -0.5269302726, 0.354894489, 0.3382154405, -0.7343361974, 0.3587847948, 0.51292485, -0.1499636024, 0.1622552872, 0.2404523343, -0.1062452346, 0.099401772, -0.1650943011, 0.0752895325, 0.0570100173, -0.4937038422, -0.2383485138, 0.2724287212, -0.2026964724, 0.0987773985 ]
http://arxiv.org/abs/2402.10601v1
http://arxiv.org/pdf/2402.10601v1
Jailbreaking Proprietary Large Language Models using Word Substitution Cipher
2024-02-16T11:37:05
2024-02-16T11:37:05
Divij Handa, Advait Chirmule, Bimal Gajera, Chitta Baral
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are aligned to moral and ethical guidelines but remain susceptible to creative prompts called Jailbreak that can bypass the alignment process. However, most jailbreaking prompts contain harmful questions in the natural language (mainly English), which can be detected by the LLM themselves. In this paper, we present jailbreaking prompts encoded using cryptographic techniques. We first present a pilot study on the state-of-the-art LLM, GPT-4, in decoding several safe sentences that have been encrypted using various cryptographic techniques and find that a straightforward word substitution cipher can be decoded most effectively. Motivated by this result, we use this encoding technique for writing jailbreaking prompts. We present a mapping of unsafe words with safe words and ask the unsafe question using these mapped words. Experimental results show an attack success rate (up to 59.42%) of our proposed jailbreaking approach on state-of-the-art proprietary models including ChatGPT, GPT-4, and Gemini-Pro. Additionally, we discuss the over-defensiveness of these models. We believe that our work will encourage further research in making these LLMs more robust while maintaining their decoding capabilities.
[ -0.2262987942, -0.9951835275, 0.8041870594, -0.0242405254, -0.5652552843, 0.2133823782, -0.1198261902, -0.5591788292, 0.2132464051, 0.8384622931, -0.5233881474, -0.5021779537, -0.7888918519, 0.3309572935, -0.1810592264, 0.8679741621, -0.3197668195, 0.3755968511, 0.2155808806, -0.0665010214, -0.8445170522, -0.8317061067, -0.4333590865, -0.0084383674, 0.2259186208, 0.2067289054, 0.674728632, 0.5025183558, 0.4632943571, 0.3214757442, -0.2721529901, 0.01954397, -0.3876109719, 0.2508699596, -0.2340576351, -0.4445323646, -0.1922544688, 0.1225762069, 0.1919461787, 0.1132309958, -0.133165583, -0.1621250957, -0.1346440166, 0.5246272087, -0.4993917942, 0.1476359665, -1.0853691101, -0.0337360911, -0.2883972824, -0.1242052242, -0.4375271201, -0.6157146096, -0.0702334866, -0.3883748949, -0.2046166956, 0.2701636553, 0.3458898962, -0.0524414442, -0.0402652659, -0.7953912616, -0.3769671917, 0.7380304337, -0.8462896943, 0.1591113508, 0.586063087, 0.2469554245, -0.3752929866, -0.4661242962, -0.4869996309, -0.5626710057, 0.2577525973, -0.1524370313, -0.2100048959, 0.124213025, 0.1558044106, 0.1492435336, -0.4349397123, 0.3557206094, -0.4120134115, -0.3347505033, 0.4049515724, 0.2362006307, 0.7124687433, -0.2856219411, -0.2400809377, -0.1344795674, -1.1082230806, -0.1738590896, 0.6929389238, 0.2767728269, -0.0110349124, 0.6884869337, 0.3278522193, 0.5464527011, -0.1328161657, -0.1265881211, 0.0546143763, -0.2443652004, 0.0173299685, 0.2504341006, 0.8405328393, 0.5011312366, 0.449023664, -0.220777899, -0.2537935376, 0.0490534268, 0.1879145801, -0.7259108424, 0.0199077185, 0.2763623297, -0.2934674621, -0.5338346362, 0.0080117378, -0.5606959462, -0.7343736291, 0.1549511999, 0.299636811, -0.8440721035, 0.1014969721, 0.3399925232, -0.1388521343, 0.3841396272, 0.2031274438, -1.0011552572, 0.176847741, 0.8735228181, 0.8218595982, -0.0088563533, -0.1213285848, -0.4502086639, 0.1594590843, -0.1715245247, 0.397179991, -0.5161325932, -0.7881857753, -0.0065345927, -0.0067407084, 0.147997275, -0.4550057948, 0.6264810562, -0.7001057863, 0.0080808122, -0.3907446265, -0.782916069, -0.1060394123, 0.5158809423, -0.7975897789, 0.3015394509, -0.2428195775, -0.8430020809, -0.0277522933, -0.4151859283, -0.3259340227, 0.0771078765, -0.112106055, -0.3411394358, -0.0006091347, 0.4498159587, 0.2963126898, -0.1442163736, 0.2708952725, -0.3706746697, -0.4289766848, 0.6558377147, -0.5742548704, 0.8058513999, 0.3486229479, -0.3695967495, -0.0547489338, -0.4304586053, -0.2031480074, 0.3857678771, -0.1712911725, -0.4401038885, -0.0293122754, -0.0676152706, -0.0713393614, 0.5098909736, -0.7568576932, 0.3479056656, -0.4375825822, 0.8748363853, 0.8925557733, 0.1334339678, 0.2814191282, -0.141461432, 0.6954969168, -0.1497536451, 0.1440101862, -0.2286337316, -0.6361940503, 0.019786261, -0.1987536997, 0.0932396501, 0.8451238871, -0.5529723763, 0.294529736, 0.1672225893, -0.3819984496, -0.479777962, 0.1645132452, 0.3190083504, 0.4110098481, 0.4671109617, 0.0716083795, -0.5828531981, -0.6519421935, -0.6313428283, -0.2098673731, 0.1783910394, 0.1062939465, 0.5360431075, -0.2946445644, 0.5743470788, -0.4288609922, 0.1339574754, -0.5473694205, 0.0575434715, 0.3565042615, 0.5305863023, 0.3994967341, -0.5052655935, -0.2856606543, -0.4139786065, -0.5527908206, -0.0618044622, -0.1527506262, 0.1687977165, -0.0472094864, 0.6859203577, -0.7720463872, 0.2364519835, 0.5999253392, -0.4544802606, 0.8859093785, -0.3116921484, 0.1504612863, -1.1616442204, -0.3056383133, -0.1770574301, -0.222065568, -0.7118937969, 0.4694615602, 0.1855143458, -0.1802474558, -0.4515721798, 0.3418273926, -0.6146657467, 0.2751528025, -0.299689889, 0.1854865253, -0.2984881401, -0.0823609978, -0.0916379765, 0.8808991313, 0.4412310719, 0.0186283942, 0.4737592936, 0.5648473501, -0.4497829378, 0.0660744607, -0.822011292, 0.5148186684, -0.1041466519, 0.2365464568, -0.775693357, -0.1200051606, 0.3592399955, -0.2336502075, 0.179894045, -0.2402597815, -0.6921938062, -0.2843536735, -0.6792549491, 0.2987655103, 0.6423872709, -0.5622765422, 0.0187290814, 0.2521958649, -0.1568052173, -0.5604621172, -0.7104384303, 0.4154809117, -0.4602074027, -0.704100728, 0.2859587371, -0.0726663023, -0.3232975602, -0.3172053695, 0.0835714936, 0.1333104819, 0.1709353477, 0.2514142096, 0.6755543351, 0.0280260276, -0.4896495044, 0.055017069, -0.0141799878, 0.2380442023, -0.1891632974, 0.6633903384, -0.2330299318, -0.2818390429, -0.4588666856, 0.3928427994, 0.720641911, -0.2952291369, 1.0087206364, 0.0860605761, -0.3416077495, -0.062409915, -0.610604763, -0.1783649474, -0.5888447762, 0.0691256374, -0.2152873278, -1.2572591305, 0.6431723237, -0.0941635668, -0.0699494854, -0.261585623, 0.4535871744, 0.1597758085, 0.9313319325, 0.3170784116, -0.4053075016, 0.3944115043, 0.0953523889, 0.4067231417, -0.5978953838, -0.0342569128, -0.4470223784, -0.0050808201, -0.7133525014, -0.4371582866, 0.3509704173, 0.3049300611, -0.1100530326, 0.5131545663, -0.3268645406, 0.6075025201, 0.173124373, 0.1386695504, 0.3420284986, -0.240638569, -0.128254801, -0.1348284781, -0.1709601879, -0.6361277699, 1.1214290857, 0.4912903607, 1.0240215063, -0.0384752154, 0.9907072186, 0.0441772938, 0.003861811, -0.6886699796, 0.641494453, -0.1014836878, -0.6209589839, -0.198964566, -0.4369390905, -0.7913101315, 0.0033559937, -0.209427774, -1.1479585171, -0.25004372, -0.0236682463, -0.3203918636, 0.5996857285, -0.5566651225, 0.6882290244, -0.3259638846, 0.0778915957, -0.1108112335, -0.5315987468, 0.6336346865, -0.1809754223, 0.4221417904, 0.0895033553, 0.115794614, 0.6119965315, -0.7486684918, 0.8058989644, -0.1686359942, -0.2577804029, 0.3049952388, 0.3147672713, 1.0575942993, 0.2023032308, -0.168520391, 0.0900829658, -0.0523958132, -0.0286738686, -0.4853828251, 0.7494280338, -0.5914523602, -0.9337330461, -0.3157241344, -0.6004645228, -0.3429023623, 0.1714332551, 0.4780154228, 0.2965364158, -0.1699112058, -0.1112483218, 0.6487764716, -0.6262235045, 0.3509619534, 0.2324219048, -0.140751496, -0.4643369019, 0.6043701172, 0.007750107, 0.2578108609, 0.0927981883, 0.3614401519, -0.3847940564, -1.1129533052, -0.3271346092, 0.2963803709, -0.5918298364, -0.2165677547, -0.4131913185, -0.1928089857, -0.4582150877, -0.5288592577, -0.2572408915, -0.2915361226, -0.1658104807, -0.4169787467, 0.501335144, 0.5657129884, 0.0059419102, 0.1677420586, -1.1197599173, 0.3784675896, 0.1686960757, 0.0826222673, -0.2909994125, -0.3984178305, 0.1494945139, -0.1334742159, -0.0734507069, -1.3562049866, 0.3417769969, -0.4096366465, 0.3723307848, 0.3469091654, 0.1190191507, 0.550645411, -0.8666788936, 0.7876609564, 0.4264575243, -1.2470300198, 0.5341870785, -0.5784010291, 0.0718290731, 0.733625114, 0.1484428644, -0.6504487395, -0.7933074236, -0.2964156568, -0.801035583, 0.3358460069, 0.1079780161, 0.5059162378, -0.1998498291, 0.5486317277, 0.3594867885, 0.0737304911, -0.7568377256, -0.1521228701, -0.1735578626, -0.2054173946, 0.2508943379, -0.4024059176, -0.1068195924, -0.1371096969, 0.4246811867, 0.2429519445, 0.0935805663, -0.0107637784, -0.1502059996, 0.2297747731, 0.6816343069, 0.528185904, 0.4015582204, -0.2016300857, -0.0000942498, 0.2015903592, -0.7880142927, 0.3145475686, 0.0050216978, -0.3272654116, -0.1491233855, 0.3493048251, 0.6527626514, 0.055949796, -0.7402957082, 0.5664327145, -0.1170987412, -0.2053815424, -0.3808826208, 0.1120414361, 0.141663, 0.1541634053, 0.0676348954, -0.2795842886, 0.1075389683, -0.7397343516, 0.0443809666, 0.7161120772, -0.0695093796, -0.217474252, 0.7779169083, 0.0698562488, -0.2172787488, 0.6853846312, -0.2903689742, -0.660512805, 0.4863834977, 0.9845458269, 0.861445725, -0.2830915451, 0.3324739635, 0.1997616291, 0.7112510204, -0.4111489356, 0.4612575769, 0.2857754827, -0.912355125, -0.4182461202, -0.4524300098, -0.5986841321, 0.3802487254, -0.5737430453, 0.194184944, -0.8902492523, 0.0187533107, -0.4178876877, -0.3768336773, -0.1209433153, -0.0449416935, 0.4525942504, 1.0948858261, -0.4509740174, 0.80059582, 0.5090637803, 0.0427506529, -0.9915167689, -0.0656098276, 0.1465296894, -0.9489791393, 0.2857093513, 0.3931599557, -0.0817093477, -0.2457075715, -0.8556759357, -0.665890336, 0.937626183, 0.4925915897, -0.8288857937, -0.2276901007, 0.3230046928, 0.1663004011, -0.1931573451, -0.1639093757, 0.8320483565, 0.6652295589, -0.1585267335, -0.6317073703, 0.4727846384, -0.0430910885, -0.077050522, 0.3203571439, -0.2034997344, 0.7961330414, -0.3991585374, -0.0786268562, 0.5397815704, 0.3564955294, 0.7642524838, 0.1005320475, 0.4031392336, 0.6011020541, 0.7751587033, -0.1172097921, 0.8792887926, -0.4288878739, 0.2203650177, 0.8642043471, -0.2630084157, 0.647510767, 0.7074291706, 0.1297627538, 0.5034204125, 0.2261591703, -0.2567413747, 0.6030083895, 0.5228680372, -0.3017950356, -0.0668666363, 0.3964723945, -0.3372947276, 0.487044096, 0.4937847257, -0.3604430258, -0.121738106, 0.2655017376, 0.565544188, 0.0325697698, -0.4610595703, 0.6333188415, 0.3195938766, -0.3662869036, 0.5702078342, 0.4665616751, 0.8474743366, -0.7250440717, 0.1417379379, 0.0058591482, -0.1680927277, -0.0110388175, -0.7722044587, 0.1929578781, 0.4978693426, 0.3660346568, -0.3004027605, 0.7311930656, -0.117477335, -0.2928717434, 0.2860895991, 0.2305913568, 0.0317602307, -0.0955522954, -0.6670552492, 0.3126189113, -0.0481051356, -0.2685159445, 0.2646885812, 0.0986812264, 0.0375294648, 0.5889915228, 0.6926541924, 0.2322821319, 0.1518601924, -0.1304847598, 0.9091852903, -1.0147303343, -0.7557764053, -1.2413316965, 0.32580176, -0.0149276899, -0.0748116747, 0.9342527986, 0.1742502004, 0.4996053576, -0.0608687699, 0.9561538696, 0.1780789793, 0.0001717961, -1.041000843, 0.8973813653, 0.0125889778, 0.5601442456, -0.479162842, -0.7887910008, -0.0972289219, 0.3511876762, -0.5851005912, -0.2331449091, 0.755115509, 0.7047639489, 0.2069594413, 0.4224982858, 0.2511657178, 0.2553388178, 0.4714925587, 0.5825663805, 0.9737401605, -0.2054242641, 0.50784868, -0.0772439241, -0.2107373774, 0.106920369, -0.8293656707, -1.0072962046, -0.2625476718, -0.0214348081, -0.4937909842, 0.2212176472, 0.825696826, 0.1579525918, -0.7939476967, -0.0576668717, -0.4295089245, 0.1236019656, 0.1590191573, -0.1342945248, 0.1102781817, -0.0810511634, -0.4061734676, 0.8925516009, 0.2553364336, 0.2120278478, -0.2068255693, -0.012532915, 0.2170356214, 0.3684957922, 0.3202308118, 0.2199058682, -0.6214287877, -0.4596424699, -0.049051173, -0.0548855215, -0.0887571573, 1.023696661, -0.3202211261, 0.1855112314, 0.4668523073, 0.7169368267, 0.3073815703, 0.0549552217, 0.6145107746, -0.3759056926, 0.2137245685, 0.320543319, 0.7838411331, 0.4688827991, -0.5805703998, 0.0843061879, 0.2169431597, -0.5116418004, -0.7426441312, 0.5772335529, -0.8532658219, -0.5713366866, 1.209127903, -0.287111491, -0.3904044032, -0.166425705, -0.3419770896, -0.062464036, -0.4091622233, 0.8266031146, 0.9341451526, 0.0756101608, -0.1074398682, -0.4598561227, 0.3340710998, 0.2341505736, -0.7992091775, 0.1506802291, 0.4215112329, 0.5516592264, 0.0101739308, 0.4280528128, -0.6874893308, 0.2543370724, -0.0010066316, -0.3309800923, -0.3946668506, 0.0577250794, -0.6119674444, 0.136539191, 0.1314927787, -0.0403511152 ]
http://arxiv.org/abs/2402.10597v1
http://arxiv.org/pdf/2402.10597v1
Efficiency at Scale: Investigating the Performance of Diminutive Language Models in Clinical Tasks
2024-02-16T11:30:11
2024-02-16T11:30:11
Niall Taylor, Upamanyu Ghose, Omid Rohanian, Mohammadmahdi Nouriborji, Andrey Kormilitzin, David Clifton, Alejo Nevado-Holgado
cs.CL
cs.CL, cs.AI
The entry of large language models (LLMs) into research and commercial spaces has led to a trend of ever-larger models, with initial promises of generalisability, followed by a widespread desire to downsize and create specialised models without the need for complete fine-tuning, using Parameter Efficient Fine-tuning (PEFT) methods. We present an investigation into the suitability of different PEFT methods to clinical decision-making tasks, across a range of model sizes, including extremely small models with as few as $25$ million parameters. Our analysis shows that the performance of most PEFT approaches varies significantly from one task to another, with the exception of LoRA, which maintains relatively high performance across all model sizes and tasks, typically approaching or matching full fine-tuned performance. The effectiveness of PEFT methods in the clinical domain is evident, particularly for specialised models which can operate on low-cost, in-house computing infrastructure. The advantages of these models, in terms of speed and reduced training costs, dramatically outweighs any performance gain from large foundation LLMs. Furthermore, we highlight how domain-specific pre-training interacts with PEFT methods and model size, and discuss how these factors interplay to provide the best efficiency-performance trade-off. Full code available at: tbd.
[ -0.1300745755, -0.8115387559, 0.8005960584, 0.1674038172, -0.1373166293, -0.2264502198, -0.5147721171, -0.4006447792, 0.0002471518, 0.5744427443, -0.1864397526, -0.1484530866, -0.771902144, 0.1243046969, -0.2994373441, 0.5264334083, -0.0005232668, 0.2968606353, -0.1316005737, 0.0319325291, -0.0418354236, -0.4997407496, -1.070933938, -0.5537264943, 0.4686605036, 0.5182437897, 0.8596047759, 0.8104609251, 1.0494855642, 0.2740210891, -0.0729342699, 0.0779639781, -0.6002450585, -0.2323058844, -0.0707225204, -0.448913306, -0.9409341216, 0.0056290892, 0.5308355689, 1.2767233849, -0.3524186313, 0.014255452, -0.0956087112, 0.7931261659, -0.6915309429, 0.0335689075, -0.5340180993, -0.1103207543, -0.1160590723, 0.0985415727, -0.3897343874, -0.102080591, 0.2842738032, -0.4490099251, 0.1951621771, -0.0719336942, 0.5710952282, 0.3499778211, -0.369412154, -0.3200613558, -0.7157070637, 0.8309121728, -0.7800875306, 0.4581949413, 0.6496223211, 0.1786218882, 0.1034608632, -1.0303071737, -0.0281395148, -0.4098381102, -0.2528268099, -0.3185533583, -0.4327525198, 0.5291751027, 0.4333570004, 0.3925522566, -0.3139927983, 0.4221759439, -0.3156192899, -0.0534858108, 0.5985341072, 0.3560734987, 0.111567907, 0.258237958, 0.2425691932, 0.1291289479, -0.8660168648, -0.1449028999, -0.1014286652, 0.467351824, -0.0577385984, 0.5468346477, -0.2681132257, 0.8181942701, 0.2954470217, -0.419921428, -0.1511458606, -0.2990412712, -0.510315299, -0.1706255078, 0.6673870087, 0.2308081836, 0.2096199393, -0.2483256608, -0.1610039026, -0.0152488351, 0.4640816748, -1.0120428801, -0.4219427109, 0.1853210181, -0.5995470881, -0.288898468, -0.6085581183, -0.4643705785, -0.1835746914, -0.3664880991, 0.5347175002, -0.4495024383, 0.0255941562, 0.4112102389, 0.3176113367, -0.1455709636, 0.6309087873, -0.9177150726, 0.5654745698, 0.4217893481, 0.7462820411, -0.070317097, 0.0035641447, -0.7227689028, -0.1960354, -0.4124349654, 0.5932290554, -0.4695637524, -0.5633132458, -0.1449527442, -0.0839339867, -0.4517301619, -0.6670072675, 0.7378304005, -0.1956834793, -0.1998177469, -0.2177600265, -0.4398737252, 0.2980247438, -0.0769114643, -0.5525553823, 0.6042086482, 0.3832478821, -0.4920824766, 0.481901437, -0.6069681048, -0.6539104581, 0.074734427, -0.1197023764, -0.4426383674, 0.4754308462, 0.087712504, 0.6881859303, -0.5313405991, 0.1835545599, -0.204934746, -0.3836540282, -0.0500152074, -0.1727243364, 0.3369865417, 0.4867630899, -0.2254796922, -0.1587468535, -0.8246668577, 0.0236700755, 0.0933961868, -0.3472320735, -0.4188021123, -0.0729869157, -0.0501085259, -0.0297424421, 0.3631215096, -0.358060956, 0.1017058268, -0.362760812, 0.6691971421, 0.2015158385, -0.2143129557, 0.3946701586, -0.3227253854, 0.6357987523, -0.4916442633, 0.4830261469, 0.2071988732, -0.2185363024, -0.6180534959, -0.6281536222, 0.5007147193, 0.0496362858, -0.2805198133, -0.0654076561, -0.033908125, -0.5633407235, -0.5364899635, 0.0538249798, 0.4915455878, 0.4347936511, 0.1153609827, -0.1500488967, -0.0060651931, -1.2680768967, -0.3082419038, -0.1142634079, 0.0997196138, 0.5368099213, 0.4853779972, -0.1569414884, 0.6159051061, -0.4595465064, -0.1912661493, -0.3413776755, -0.0056830267, 0.2824693322, 0.5054604411, 0.7292873859, -0.7408491373, -0.710549891, 0.2339565754, -0.280025214, -0.3209603727, -0.0039652893, 0.1877898872, 0.0352679677, 0.501865685, -0.5654141307, 0.2825420499, 0.505851984, -0.2276948839, 0.4541153908, -0.844650805, 0.3334855139, -0.3060674667, 0.2905717492, -0.1283603609, -0.4624437094, -0.8269221187, 0.004711444, 0.3471801877, 0.0236198734, -0.35565871, 0.3203117847, -0.3956750333, 0.2426098585, -0.2790146768, 0.0466409884, -0.0555164441, 0.2924407721, 0.0510222055, 0.9200639129, 0.4499185383, -0.4609736502, -0.1882071942, 0.0395806916, -0.3079477847, 0.4577672482, -0.8705121875, 0.0686899126, 0.1935627013, -0.3285748959, -0.9233289957, -0.3892020285, -0.3040023744, -0.023377778, 0.5733175278, -0.0083409343, -0.6237047911, -0.3530166447, -0.1909219027, 0.3227558732, 0.5865471363, -0.316192925, 0.4532993734, 0.4723529816, -0.4254594445, -0.1799016148, -0.6049752831, -0.118184641, -0.3769631386, -0.4407697618, 0.4425532818, -0.1052609906, -0.4617087543, -0.3719969094, -0.1186692342, -0.1871224791, 0.2094567418, 0.0302679427, -0.1844703555, -0.2401200384, 0.2554906905, 0.3591680527, 0.1685149968, 0.0761967972, 0.1055631861, 0.4004405141, -0.2986254096, -0.3613301814, -0.4569326341, 0.3405798078, 0.8032732606, 0.0056949737, 0.8311004043, 0.1842895448, -0.4518556893, -0.1716697961, -0.6107962132, 0.0061830673, -0.4458214045, 0.5715469122, -0.4018411934, -0.8457356691, 0.3772509098, -0.3883639574, -0.0462486446, 0.5126578212, 0.7968252301, 0.1042818576, 1.2061357498, 0.8226152658, 0.3712703586, 0.3213674128, -0.1254192144, 0.2239622623, -0.5672246218, -0.0438909233, -0.6934735179, -0.1572075784, -0.3601480722, -0.4960298836, 0.5976145267, 0.3044950068, -0.34268713, 0.1935624629, -0.4599134922, 0.4910080731, 0.2557871938, 0.2255226225, 0.5163413286, -0.1586543024, 0.0161769092, -0.0047402359, -1.0638623238, -0.4964808226, 1.4788426161, 0.4784281552, 0.8022705317, -0.0410155095, 0.5129353404, 0.1895618141, 0.3926948011, -0.7579385638, 0.3415563703, -0.5985818505, -0.2865705788, -0.4013531208, -0.2431033552, -1.0368099213, 0.238724947, -0.127066642, -0.8280379176, 0.2452727407, 0.2599570453, -0.8164258003, 0.1727568358, -0.8816184402, 0.8437985182, -0.3307323456, -0.3993283808, -0.4202825427, -0.5613259077, 0.1058839709, -0.771592319, 0.1993920952, -0.0446809381, -0.3375751972, 0.813124299, -0.611876905, 0.7065830231, 0.0100183673, -0.1291554719, -0.140727818, 0.1103346348, 0.4919342399, 0.0801715329, -0.1729938537, 0.1382797062, 0.3791222572, -0.4036576748, -0.4509711266, 0.737264514, -0.7152395844, -0.4356908202, 0.0155593082, -0.5008453131, -0.6502214074, 0.176577419, 0.4238834679, 0.548156023, -0.2909348309, 0.3365785182, 0.7063226104, -0.166197896, 0.0673965812, 0.5994961858, 0.0072818855, -0.1183274016, 0.4148843288, 0.2336821854, 0.5618547797, 0.4363010228, 0.3587186635, -0.179683581, -1.0996630192, -0.0294181723, 0.5174788833, -0.5059337616, -0.0395562686, -0.6474313736, 0.0209327955, -0.3327588141, -0.404287219, -0.7049438953, -0.5610310435, -0.2303428501, 0.2149829865, 0.2340019941, 0.6120284796, -0.110407576, 0.7782710195, -0.4935792685, 0.1430595666, 0.1775311828, 0.4548527002, -0.1190353036, -0.6381677389, -0.4618164301, -0.2067121565, -0.2820585966, -0.5068824887, 0.5098568797, 0.3179234862, 0.5450201631, 0.5352219343, -0.0356720611, 0.6322910786, -0.4719054103, 0.5271232724, 0.3436633945, -0.8658649921, 0.5296317935, -0.5106689334, 0.0679093376, 0.7414951324, 0.3426271081, -0.0939427614, -0.1118862405, -0.666156292, -0.7074589133, 0.7100020051, 0.214503482, -0.0866730139, 0.0311007556, 0.6581172347, 0.3194052279, 0.3051641583, -0.1662720889, -0.1040736586, 0.5175634623, -0.0902724192, -0.2766574919, -0.1332639754, -0.3202718496, -0.4485328794, 0.3575628698, -0.3624273539, 0.3342222571, 0.3686875999, 0.0004670001, -0.3100928664, 0.1452887654, 0.5111448765, 0.9535025954, -0.2097516954, -0.0881476998, 0.3329100013, -0.5724940896, -0.1574925035, 0.072219491, 0.3024336994, -0.1564357728, 0.4888838828, 0.6776282787, 0.3094937503, -1.0199543238, 0.5116830468, -0.1268507242, -0.4184604585, 0.0240927264, 0.175319463, 0.0042642774, 0.3858816326, -0.1327157468, -0.01177641, 0.2856194377, -0.3452275693, 0.03194087, 0.4626061916, -0.1775118411, -0.2580753863, 0.7465918064, 0.1294745952, -0.4726504982, 0.5547398925, 0.2799925208, 0.0426178239, 0.6371646523, 0.439103812, 0.5998919606, -0.0006346874, 0.1751080602, 0.044001054, 0.2180991322, -0.3282982707, 0.1156920865, -0.0058493274, -0.4158090651, -0.5142543912, -0.6661414504, -0.552756846, 0.4277244508, -0.734757483, 0.1500267684, -0.6334025264, -0.4989355206, 0.1355160475, 0.1400695443, -0.9491322041, 0.2869450152, 0.14325203, 1.1670417786, -0.5205128193, 0.8216565847, 0.7256314754, -0.0201194286, -0.9066777229, -0.2270205319, -0.2586926222, -0.8912674785, 0.630910933, -0.267747432, -0.0939550996, -0.0930007026, -0.4053214788, -0.7192621827, 0.9622698426, 0.7247226834, -0.8672455549, -0.3667639494, 0.2181035876, 0.8176707029, -0.4611816406, 0.278137058, 1.2575478554, 0.2385323346, -0.1787577718, -1.5772612095, -0.0449986123, 0.0180023611, -0.1229327023, 0.3115363419, -0.8481759429, 0.9820622802, -0.4275824726, 0.1820399314, 0.3069111705, -0.1376268417, 0.088615343, 0.2511224449, 0.3767126203, 0.3900243342, 0.8803805709, -0.1080968976, 1.1886795759, -0.4962379634, 0.5718379021, 0.6501449943, -0.2923710942, 0.6452999711, 0.5775353312, -0.6801072955, -0.0336785764, 0.6251555085, 0.2306086272, 0.5049357414, 0.16174604, -0.0209363177, -0.6087659597, -0.0221923534, -0.2640403807, 0.4125022292, 0.455344528, -0.6098204851, -0.1207218096, -0.0227167476, 0.024620004, 0.0158467516, -0.5607331991, 0.5886464119, 0.325609684, -0.576662302, 0.7437350154, -0.0180800371, 0.2963859439, -0.8981236219, 0.2142636478, -0.2229140401, 0.4897172153, -0.0762875602, -0.2615071237, 0.2351640314, -0.1030220389, 0.0030676452, -0.2853763402, 0.6776583791, -0.1212486327, -0.3871934414, 0.2669102252, 0.7560353875, 0.2370895445, -0.166210264, -0.6957571507, 0.0522316135, -0.2058638632, -0.3595204055, 0.6757250428, 0.3914857507, -0.0422026329, 0.6306411624, 0.3050950468, 0.4906677008, -0.3436323404, 0.1775770038, 0.7246544361, -0.4836466908, -0.4440689385, -0.7775089741, 0.049485106, 0.0221457072, -0.395542562, 0.4535721242, 0.3607141674, 0.5133715868, -0.0599064417, 0.5248252749, 0.1007525623, 0.4259565771, -0.4939896166, 0.6376841068, -0.9444257617, 0.2921359241, -0.3487327099, -0.3974424303, -0.4793754518, 0.5919809341, -0.6664834023, 0.0391569585, 0.7469373941, 0.5900848508, -0.0986580476, 0.1088671684, 0.742998898, 0.1769922078, 0.2142968476, 0.7508684397, 0.455747664, -0.1263644099, 0.0912277475, -0.3602353632, -0.5657638311, -0.3233298957, -0.7350803614, -0.8183652163, -0.2292558104, -0.5082054138, 0.0323406793, 0.108343713, 0.905375421, 1.0833085775, -0.6634764671, -0.2279416621, 0.0006654192, -0.2927071452, -0.3117043972, -0.0628877133, 0.7135691643, -0.3654313684, -0.8088853359, 0.2879915535, 0.3698857725, -0.1365127861, -0.0197824668, 0.0352311917, 0.1490731537, 0.2893550098, 0.7048923969, 0.0448636152, -0.5443219543, 0.0997079536, -0.0153651359, -0.1181651205, 0.0735025704, 1.0311609507, -0.611781776, 0.3052451909, 0.2133856714, 0.6285513043, 0.4546616375, -0.1218531057, 0.6051021218, -0.2935955226, -0.0901825503, 0.326891005, 0.5563778877, 0.1429563314, -0.5085722804, 0.630559504, 0.1361928582, -0.8862761259, -0.9730117917, -0.0626708195, -0.9397592545, -0.4422187209, 1.0298950672, -0.1190490872, -0.0233597457, -0.0563373417, -0.3142927587, -0.1509655267, -0.2015145272, 0.6437579393, 0.5315994024, -0.8016020656, 0.114298813, -0.6344957352, 0.7086985111, 0.5906364322, -0.678313911, 0.275393635, 0.3458864093, 0.3993278444, 0.1042762995, 0.9085065722, -0.2005873919, 0.2667659223, -0.028970575, -0.4014904797, 0.0662043318, -0.3718113303, -0.5247020125, 0.3353035748, 0.4287419021, 0.2810644209 ]
http://arxiv.org/abs/2402.10588v4
http://arxiv.org/pdf/2402.10588v4
Do Llamas Work in English? On the Latent Language of Multilingual Transformers
2024-02-16T11:21:28
2024-06-08T11:15:14
Chris Wendler, Veniamin Veselovsky, Giovanni Monea, Robert West
cs.CL
cs.CL, cs.CY
We ask whether multilingual language models trained on unbalanced, English-dominated corpora use English as an internal pivot language -- a question of key importance for understanding how language models function and the origins of linguistic bias. Focusing on the Llama-2 family of transformer models, our study uses carefully constructed non-English prompts with a unique correct single-token continuation. From layer to layer, transformers gradually map an input embedding of the final prompt token to an output embedding from which next-token probabilities are computed. Tracking intermediate embeddings through their high-dimensional space reveals three distinct phases, whereby intermediate embeddings (1) start far away from output token embeddings; (2) already allow for decoding a semantically correct next token in the middle layers, but give higher probability to its version in English than in the input language; (3) finally move into an input-language-specific region of the embedding space. We cast these results into a conceptual model where the three phases operate in "input space", "concept space", and "output space", respectively. Crucially, our evidence suggests that the abstract "concept space" lies closer to English than to other languages, which may have important consequences regarding the biases held by multilingual language models.
[ -0.0803776011, -0.5266312957, 0.5687701106, 0.3019611537, -0.2331998646, 0.467746824, -0.1423711777, -0.4041795731, 0.3251281977, 0.3115715384, -0.3714633584, -0.1496882141, -0.7177653313, 0.3595929146, -0.5208054781, 1.016451478, -0.1783471406, 0.1549484879, -0.2397264093, -0.034602847, -0.4570616186, -0.532335639, -0.4598554671, -0.4971483648, 0.5357033014, 0.647793591, 0.8522782922, 0.4482967556, 0.2780407071, 0.2960803211, -0.1633137614, -0.0638437718, -0.20022735, 0.2327782959, -0.0584861822, -1.009414196, -0.0022018799, 0.1259532422, 0.4898013175, 0.8952595592, -0.2189101875, 0.1149275824, 0.0893602595, 0.1481153369, -0.396166116, 0.1686178595, -0.7921839952, 0.1944897324, -0.3122364283, -0.1955947429, -0.4606162012, 0.0315020308, -0.1862967908, -0.3146179914, 0.0418963581, 0.1134689301, 0.8390216231, 0.3998118043, -0.8119931221, -0.3402282894, -0.6814315319, 0.9017319679, -0.6264938116, 0.4069186151, 0.4232072532, 0.1515071392, -0.0015159713, -0.5151286125, -0.7816238403, -0.315779686, -0.3451070487, 0.1293497384, -0.3587014079, -0.314354986, -0.0705483183, 0.2541302443, -0.4330883622, 0.4655022919, -0.586371243, -0.0218514428, 0.496953994, -0.0209652651, 0.3637205958, -0.1085843071, -0.2966701686, 0.1285892278, -0.888045311, 0.1243593097, 0.5720618367, 0.2997899652, -0.3522595167, 0.8719379902, 0.4215772748, 0.2885862291, 0.1932995021, -0.5543333292, 0.2778976262, -0.0795698687, 0.2671820223, 0.0541595444, 0.7012364268, 0.2584720254, 0.3468437791, -0.3381592333, -0.2584852278, 0.3076058328, 0.1625027657, -0.2967630029, 0.1271123141, 0.2014698386, -0.225918442, -0.2784249187, -0.1337821484, -0.4205436707, -0.1622852832, -0.0647067577, 0.0332787335, -0.0459844694, -0.3400992453, -0.0032567894, 0.1108189821, 0.2736302614, -0.1464326084, -0.9371211529, 0.2225991637, 0.6290266514, 0.6084827185, -0.5652623773, -0.6743894219, -0.2437194884, 0.3810801506, -0.4392092824, 1.1153942347, -1.0122119188, -0.4247123897, 0.3274413347, 0.3715099096, -0.0832013711, -0.3904762268, 0.4148403108, -0.4594753385, 0.5622700453, -0.0400582366, -0.2272179127, -0.1402247399, 0.0247572605, -0.5697368979, 1.2120827436, -0.3098265827, -0.7779762149, 0.32459566, -0.496578902, -0.8107295632, -0.1665692329, -0.3410492837, -0.0538023561, 0.2225119323, 0.1944528669, 0.509934485, -0.3137977421, 0.3491792381, 0.1360680908, -0.3314736485, 0.4052853584, -0.6146137118, 0.6169768572, -0.0487467572, -0.5159504414, -0.2180623263, -0.6398963928, -0.4952571392, 0.5183609724, -0.3085007071, -0.4236470163, 0.2091748416, -0.1712215245, 0.270290345, 0.2357651442, -0.7646651864, 0.2755667865, -0.4097386301, 0.7096233964, 0.5724596977, -0.2651113868, 0.725594759, -0.0041713957, 0.7997534275, 0.3546361029, -0.2253513485, -0.5683624148, -0.8657526374, -0.8656721115, -0.029037714, 0.0700444803, 0.7335925102, -0.5630487204, 0.1290688068, -0.0467513576, -0.3295668364, -0.7279522419, -0.0685790032, 0.11298161, 0.4089466333, 0.1775374115, -0.0295434631, -0.2987579405, -1.4013861418, -0.0719976798, -0.3139987588, 0.0778193101, -0.0641833171, 0.6055627465, -0.2073828876, 0.6987039447, -0.2875209451, -0.0951245651, -0.350258857, -0.102577731, 0.3503251374, 0.0167946387, 0.5160967708, -0.6606804729, -0.3092573881, 0.1326520443, -0.6677278876, -0.2192325294, -0.111198917, 0.0914147347, 0.2245226502, 0.4165951908, -0.7553107142, 0.2924751639, 0.9541757703, -0.3578160405, 0.2191096395, -0.0135418829, -0.0969322696, -1.2992794514, -0.1856742054, -0.2972014546, -0.0359001867, -0.6184358597, 0.0053582368, 0.0793289393, 0.0197772849, -0.5236369371, 0.5734675527, -0.313239187, -0.2433585227, -0.3592309654, 0.2883577645, 0.1089982316, 0.5137034655, 0.0243611429, 1.1344336271, 0.3590026796, -0.5219564438, -0.0432731248, 0.0845143422, -0.0982155949, 0.4761278927, -0.7151674032, 0.2404298931, -0.312184751, 0.1985397488, -1.310564518, 0.2189510316, 0.1594475955, -0.2112164497, 0.4257186651, 0.018498905, -0.4792684913, -0.4090935886, -0.0926520377, 0.4420872927, 0.267518729, -0.5146583915, 0.4708506763, 0.6844428778, -0.2760520577, -0.8358148932, -1.18539083, 0.0432649367, -0.1498939395, -0.5300455689, 0.4861970246, 0.0086076837, -0.514426589, -0.0077231885, -0.0111496067, -0.1661175042, 0.0721297637, 0.1828041226, 0.2071556896, -0.2323900014, 0.0221792832, 0.3968709707, -0.1301499456, -0.0050872341, -0.2903984785, 0.6133756042, 0.0872236937, -0.6210873127, -0.1696558297, 0.5541923642, 0.6479479074, -0.3118678033, 0.7720636725, 0.3752451241, -0.3927459121, 0.0025452957, -0.5066781044, -0.1000328958, -0.4395662546, 0.6646803617, -0.4995349348, -0.9976400733, 0.6099408865, 0.317063868, 0.3267488182, 0.757853508, 0.9254405499, -0.159815982, 0.9466072917, 0.8862614036, -0.0116920779, 0.0774523839, -0.2107649744, 0.5295746326, -0.7986603379, -0.3567146659, -0.5931843519, -0.3275024295, -0.6650221944, -0.4387863576, 0.294903934, -0.0916473344, -0.1564916819, 0.3391998708, -0.2756780386, 0.6545796394, 0.2702822983, -0.5610538125, 0.350904882, 0.2436146885, -0.3880413771, -0.3039887249, -0.7105484605, -0.8328572512, 1.0354628563, 0.4263651371, 0.4439047873, 0.1273999512, 0.4061487913, 0.0148792733, 0.2430770248, -0.6933827996, 0.180998385, -0.0812049955, -0.5897512436, -0.0323153362, 0.2721374929, -1.2468448877, 0.4866081178, 0.043166358, -0.5779839754, 0.1089569777, -0.1247583106, 0.0894748643, 0.6237409711, -0.6572121978, 0.4199536145, -0.4879060984, -0.1719393134, -0.2830900848, -0.3651931286, 0.410081476, -0.3114078641, 0.711732924, -0.1773723513, -0.3646404743, 0.7681930065, -0.1073134467, 0.9447187781, 0.1023550704, -0.7134459615, 0.2358025461, 0.2246130556, 0.4397936463, 0.0666314885, 0.0142167266, 0.590056777, -0.0619454943, -0.395147264, -0.3599131107, 0.4228427112, -0.9514521956, -0.61746943, -0.4720189273, -0.5654699802, -0.2509136796, -0.0074753128, 0.3854811192, -0.0349198729, 0.084457241, -0.0308798812, 0.0363791548, -0.3204039931, 0.6648103595, 0.7011728287, -0.3552585244, -0.0129575636, 0.5720112324, 0.1282509118, 0.0918864012, 0.5578712821, 0.1670552492, -0.1970077753, -0.0762149915, -0.499417752, 0.4975199699, -0.7589336634, -0.1100601405, -0.5995643139, -0.0657113567, -0.0476912186, -0.1043162197, -0.4438962042, -0.4924391508, -0.1771887839, -0.360624671, 0.0109712118, 1.21616745, 0.2110531479, 0.428466469, -0.5213261247, 0.1542767137, 0.3657126129, 0.0203511938, -0.0041752141, -0.8630912304, -0.3581043482, 0.1383308619, -0.3264296353, -1.1204067469, 0.2756220102, 0.1702211499, 0.7640967369, 0.2219409943, -0.5122731328, 0.4512947202, -0.9914723635, 1.1950266361, 0.1131701246, -0.7658816576, 0.3069829345, -0.0722031891, 0.0823223516, 0.1808037311, 0.4544036984, -0.7438691258, -0.6142217517, -0.4506792128, -0.9136537313, 0.5310302377, 0.1283665299, 0.5716013312, -0.3964256048, 0.1628597826, 0.4763451219, 0.3945734799, -0.9998027086, -0.6167451739, -0.1054969952, -0.102283448, -0.2226348221, -0.3966498077, 0.0408531427, -0.1174894646, 0.4478243887, -0.1798138469, 0.4834597707, -0.2140992731, -0.3504630327, -0.1541250944, 0.380063802, 0.7149148583, 0.6395926476, 0.4057248235, 0.3253130019, 0.2735604942, -0.515198648, 0.4218345582, -0.1846494377, -0.2417252362, 0.1570130438, 0.615624845, 0.7997350097, 0.4318427444, -0.4202323854, 0.5781570673, -0.023197297, 0.0692531094, -0.5371056795, -0.3920884728, 0.209340468, 0.3220647573, 0.7068921328, -0.1090847999, -0.1583182365, -0.555862844, -0.0770806074, 0.3870917261, 0.0207087044, -0.8069501519, 0.8694856763, 0.0802731887, -0.4415558577, 0.3238720596, -0.1406406611, -0.7274312377, 0.5725418329, 0.9338923693, 0.8329721689, -0.3090967238, 0.215778023, 0.0895139873, 0.7251486182, 0.1897610128, 0.2357475162, 0.2323066145, -1.0664353371, -0.8219999075, -0.6205816269, -0.4259865582, 0.0402864739, -0.3304036856, 0.2724342346, -0.067931287, -0.0504818223, -0.1739574969, -0.4380118549, -0.8557428718, -0.0452859476, 0.5430631042, 0.6257609725, -1.1180266142, 0.8169852495, 0.9366976023, -0.5178380013, -0.8610044718, 0.1724777967, -0.0537877008, -1.1962797642, 0.8473602533, 0.1445782781, -0.1552052051, -0.199655354, -0.5731215477, -1.26882267, 0.920805335, 0.5505337119, -0.3879814744, -0.0835658386, 0.5123912692, 0.510555625, -0.6630200148, 0.4956904352, 0.5333385468, 0.4243796766, -0.2019610703, -0.9912840724, -0.3384445012, -0.4121969342, -0.0784688145, -0.023266362, -0.6525008678, 1.1119586229, -0.117054604, -0.1186084971, -0.2813872397, 0.6890693307, 0.1788127124, -0.1350215375, 0.3522326946, 0.3619682789, 0.8364173174, -0.0884245262, 1.143358469, -0.7892446518, -0.0092327632, 0.8209764957, -0.5332067013, 1.0985569954, 0.7247021794, -0.5049759746, 1.0556964874, 0.5476830602, 0.196568653, 0.3944386244, -0.1236118451, 0.1257730275, 0.1003426686, -0.30182603, -0.1523136795, 0.7486336231, 0.3610337675, -0.1583911926, 0.0800147802, 0.1274888068, 0.3615352809, -0.0956488326, -0.0830695406, 0.5172719359, 0.1554668397, -0.6228928566, 0.4154630601, 0.2773914635, 0.9899495244, -0.4789351523, 0.2499732375, -0.595920682, -0.2127754092, -0.3559674025, -0.9530501962, 0.3171087205, 0.1668882072, -0.1259526461, -0.2108533233, 0.3509159982, -0.6606035233, -0.7174059749, 0.4118424654, 0.6458407044, 0.3256126344, 0.3346122205, -0.4044673145, -0.0816134885, 0.040583659, -0.3377248347, 0.1287307739, 0.3714525402, -0.292822212, 0.4848096073, 0.4486880302, 0.275742352, 0.312214613, 0.2785936594, 0.5651710629, -0.4226918221, -0.4841069281, -0.7774773836, 0.762062788, 0.3169573247, -0.3400512636, 0.6220089197, 0.5519676805, 1.0859825611, 0.0705741197, 0.7523967028, 0.2491098046, 0.3764327466, -0.4561809599, 0.3747901022, -0.7862341404, 0.2606393397, -0.1907885671, -1.219457984, -0.1921367943, 0.7526957989, -0.2343443036, -0.1316192448, 1.056221962, 0.4944081903, -0.0293446817, -0.1828843653, 0.201358214, 0.2026540637, 0.179016605, 0.3185555339, 0.9556948543, -0.462187171, 0.4857694507, -0.2867903709, 0.1387161314, 0.2100919485, -0.7036625743, -0.7357518077, -0.6600922346, -0.1726602316, -0.0252876524, -0.3332004249, 0.7366458774, 0.4122874141, -0.8412004709, -0.558429122, 0.4795406759, 0.1150818616, 0.13970007, -0.1691099554, 0.2735190988, -0.2920507789, -0.8911114335, 0.600025177, 0.4804008305, 0.0356443003, -0.6285945177, -0.055554077, -0.2185528725, 0.0502438061, 0.6820735335, -0.1322232485, -1.0767439604, -0.2143593431, 0.3163041174, -0.1926124096, 0.2029493302, 0.7143450379, -0.7688041925, -0.0379570797, -0.0052267737, 0.4830398262, 0.3085095286, -0.5208579302, 0.642090261, -1.0040476322, 0.8719007969, 0.0541879684, 0.6778532863, 0.5645358562, -0.2135414481, 0.5140078068, 0.2002454847, -0.3000697196, -0.7924941778, 0.2561752498, -0.3609692752, -0.1783031821, 1.4080520868, 0.2481476814, -0.2859040797, 0.0320453085, -0.1365948766, 0.178534016, -0.1919469982, 0.5281196237, 0.8466914296, 0.1973050237, -0.229131937, -0.5547876954, 0.0875224695, 0.57062608, -0.4100488424, -0.3356503546, 0.0215715282, 0.081887655, 0.3733696342, 0.4503960013, -0.0315118395, -0.1260320097, -0.1716540009, 0.142738387, 0.2942740619, -0.3908126354, -0.4872796535, 0.0299178045, 0.2943129241, -0.0515239425 ]
http://arxiv.org/abs/2402.10586v2
http://arxiv.org/pdf/2402.10586v2
Threads of Subtlety: Detecting Machine-Generated Texts Through Discourse Motifs
2024-02-16T11:20:30
2024-06-06T20:04:52
Zae Myung Kim, Kwang Hee Lee, Preston Zhu, Vipul Raheja, Dongyeop Kang
cs.CL
cs.CL, cs.AI
With the advent of large language models (LLM), the line between human-crafted and machine-generated texts has become increasingly blurred. This paper delves into the inquiry of identifying discernible and unique linguistic properties in texts that were written by humans, particularly uncovering the underlying discourse structures of texts beyond their surface structures. Introducing a novel methodology, we leverage hierarchical parse trees and recursive hypergraphs to unveil distinctive discourse patterns in texts produced by both LLMs and humans. Empirical findings demonstrate that, although both LLMs and humans generate distinct discourse patterns influenced by specific domains, human-written texts exhibit more structural variability, reflecting the nuanced nature of human writing in different domains. Notably, incorporating hierarchical discourse features enhances binary classifiers' overall performance in distinguishing between human-written and machine-generated texts, even on out-of-distribution and paraphrased samples. This underscores the significance of incorporating hierarchical discourse features in the analysis of text patterns. The code and dataset are available at https://github.com/minnesotanlp/threads-of-subtlety.
[ -0.0827129781, -1.0332618952, 0.7617628574, 0.061566893, -0.2390057594, 0.5713666081, 0.1006711051, -0.5400719643, 0.1366101652, 0.7237355709, -0.4820089936, -0.6020868421, -0.5350853801, 0.2048620731, -0.5048178434, 0.9978182912, 0.1486069411, -0.2704760134, -0.146353364, -0.1189877242, 0.0618623085, -0.5609535575, -0.1727344692, -0.472560972, 0.8430247903, 0.039183069, 0.7192519307, 0.9802732468, 0.5436994433, 0.3412480056, -0.3784230053, 0.4441307187, -0.256991148, 0.3522781134, -0.2076265663, -0.4081606865, -0.0993548036, -0.1098484024, 0.8808786273, 0.8383246064, 0.385709852, 0.2909905612, 0.6578000188, 0.5544738173, -0.4522657692, 0.0754949301, -0.6822776198, 0.0605627708, -0.7813606262, -0.5476269722, -0.534709394, -0.3281107545, -0.0317741521, -0.2098809481, 0.3613424599, 0.2512837946, 1.0272768736, 0.1886818409, -0.3900133073, -0.5666465163, -0.906101346, 0.8529952765, -0.5391511917, -0.1201173738, 0.1104827449, -0.0500821732, -0.2045776695, -0.7521643639, -0.2784620523, -0.1657661349, -0.4040242136, -0.2349674702, -0.1645132154, -0.1217619628, 0.3686881959, 0.3325322568, -0.4857799411, -0.0202379227, 0.1008784845, -0.2112427205, 0.4263279438, 0.4249574542, 0.4668753445, -0.4135731459, -0.1344964504, 0.2867696881, -0.7045138478, 0.1145222187, 0.5684305429, 0.184370622, -0.049912069, 0.4378355145, 0.1943301857, 0.3608952165, 0.0642171428, -0.4628555477, -0.068333216, -0.2571440637, 0.0662618205, -0.0591023192, 0.9962325692, -0.1021146327, 0.1717587709, -0.1007360891, -0.2562443018, -0.0672838613, 0.0961330086, -0.5682324171, -0.2732803524, -0.2389438599, -0.7275227308, -0.8412803411, 0.0900706872, -0.3757598698, -0.8019749522, -0.3460376263, -0.1986844391, -0.2847329676, -0.2069313675, -0.1402705312, -0.3573541343, 0.3145597875, 0.066119045, -0.768525064, 0.4215192497, 0.965724647, 0.7629680037, -0.1777095646, -0.2423018664, -0.0611706898, 0.2974317968, -0.4765415788, 0.8317216039, -0.757053256, -0.1931561828, -0.1348061115, -0.2186844796, 0.1910374612, -0.635905683, 0.7953224182, -0.178374216, 0.0413659476, -0.2960858345, -0.4271296263, 0.1004838198, 0.0576059557, -0.6469718218, 1.2235578299, 0.1091521084, -1.4240012169, 0.2514682412, -0.2679787278, -0.5629268885, 0.1684445888, -0.6447493434, -0.6189421415, 0.2908506989, 0.0332683958, 0.4212536514, -0.4513877928, 0.6047953367, -0.2119070292, -0.5408973694, 0.650888741, -0.6886208057, 0.8377944827, 0.1209854186, -0.5635427237, 0.0631415546, -0.8384388089, -0.1903797388, 0.0379912257, -0.3366396427, -0.4536374509, 0.2885928452, 0.0269398969, 0.0858884826, 0.2200764716, -0.3103792667, 0.0836409181, -0.3549546897, 0.6020988226, 0.8710879087, 0.1835445464, 0.3917320371, -0.6464733481, 0.4115774632, 0.3857064843, -0.0188080221, -0.4945483804, -0.797722578, -0.6607060432, -0.3643049002, 0.3023278713, 0.5187191963, -0.7937502265, 0.5711339712, -0.1784478873, -0.3186755776, -0.6261911392, 0.1478184164, 0.7457817197, 0.2434008569, -0.2554294169, -0.3631762564, -0.6766477227, -0.8958577514, -0.7045330405, -0.2673211694, -0.1532049626, 0.5324853659, 0.5777410269, -0.2703664601, 1.0965094566, -0.5011539459, 0.1767212152, -0.0502730608, 0.7009106874, -0.0144086834, 0.3334163725, 0.4490170479, -0.5095037818, -0.5252422094, 0.2440945953, -0.8969784975, -0.2993605435, -0.4665867388, -0.1053924039, 0.0930775329, 0.6525537372, -0.4848834872, 0.2269940376, 0.1771568209, -0.2110334188, 0.5433957577, 0.1011064276, -0.0811630562, -0.9726483226, 0.2444654852, -0.1999761015, -0.3197593093, -0.3524264097, 0.1471140981, -0.1405125409, 0.0651799664, -0.1744010299, 0.4249907136, -0.5773045421, -0.1329060644, -0.0388905592, 0.0101777157, 0.1486848146, 0.513915956, -0.2920176983, 0.65147084, 0.3188231289, -0.3610357046, -0.232641235, -0.2031404525, -0.2890841365, 0.5279231071, -0.5283412933, 0.4264232218, -0.182375595, 0.101099439, -1.1508363485, -0.3498054445, 0.3083303869, -0.4433276057, 0.2836479247, -0.1331787705, -0.7090856433, -0.2880866528, -0.5955471992, 0.3265047669, 0.4185577929, -0.1162298098, 0.4041370749, 0.5948056579, -0.3559777141, -0.493350625, -0.7088266611, 0.348672986, -0.2015266865, -0.6048541665, 0.2563425601, 0.0186210163, -0.4168266356, -0.2294910848, 0.1706104726, -0.342027247, 0.3133290112, 0.4598969817, 0.0700785369, -0.3972194791, -0.0487713553, 0.4229967594, 0.0401543751, 0.2016406357, -0.3963415027, 0.4874572158, -0.0336206928, -0.2880896032, -0.563855052, 0.4844949543, 0.7015732527, 0.1233952418, 0.4546242952, 0.6538546085, -0.1786970794, -0.1111260876, -0.3849437237, -0.2129496336, -0.5114949346, -0.0481305718, -0.4122923613, -1.0349675417, 0.427983433, -0.3890376985, -0.0301839635, 0.3084166348, 0.4708674848, -0.3689599931, 1.1601868868, 0.6434730887, -0.2377117574, 0.3192074299, 0.1771693379, 0.1911454946, -0.8280196786, 0.0643447414, -0.8659294248, -0.4371967614, -0.9955590963, -0.4511019289, 0.0472634286, -0.1152493805, -0.1320707649, -0.0385002159, -0.8000952005, 0.7791749835, 0.5705871582, 0.04842747, 0.3781631887, 0.0087269172, -0.4785068333, -0.3063115478, -0.3659190238, -0.9986199141, 0.8954424262, 0.4265924394, 0.4972770214, -0.2118095458, 0.9255214334, 0.5023258328, 0.1209017262, -0.5907655954, 0.607948184, -0.0864253342, -0.2827468514, 0.035874106, -0.498821795, -1.2392879725, 0.1457472444, -0.0141037637, -0.5172514915, 0.0130521012, -0.0385403596, -0.0460152663, 0.3763063252, -0.4394491613, 0.5081442595, 0.0458927229, -0.2582227886, 0.3437749743, -0.7465505004, 0.403552264, -0.0056796232, 0.3270713389, 0.027543379, -0.195277974, 0.5387550592, -0.0127964616, 1.3729506731, 0.254570961, -0.4141373336, 0.5631964207, 0.3082696497, 0.567856133, -0.1067544222, 0.2626155615, 0.2125496119, -0.6028475165, -0.3714505136, -0.1750570834, 0.7240155339, -0.7220406532, -0.4765576422, -0.3025287092, -0.5969064236, 0.1848796606, 0.4199578762, 0.3848585486, 0.3679991961, -0.4216426313, 0.0163751207, 0.8891662359, -0.1646514982, 0.576902926, 0.1598629951, -0.0835950449, -0.1682506353, 1.0060837269, -0.0351560898, -0.051466316, 0.5754778981, 0.4378917515, 0.1352594495, -0.5726249218, -0.3800603747, 0.3378956616, -0.4664183259, -0.0285500661, -0.7458564639, -0.4908216298, -0.2427691966, -0.2807584405, -0.0004561307, -0.5120934844, -0.4901798368, 0.0771418586, -0.0954316407, 1.1643658876, 0.3190563917, 0.2647872567, -0.7327324152, 0.3200884461, 0.3014348745, -0.1808535308, -0.0550720356, -0.4211968482, 0.0995418653, -0.1697616428, -0.6989340782, -0.7067126036, 0.3234490752, -0.0548146628, 0.1736349612, 0.5481066108, -0.1713133156, 0.3962209225, -0.6990180612, 0.863971889, 0.072579518, -1.0747798681, 0.5512673855, -0.805257082, 0.5698522329, 0.1805425584, 0.2889359593, -0.3741384149, -1.0483430624, -0.7729314566, -0.6898085475, 0.4830441773, 0.5184643269, 0.237934351, -0.093529582, 0.388802588, 0.1844641566, 0.3722974956, -0.706046164, -0.2545781434, 0.3357066214, -0.2772509456, 0.354372412, -0.5373747349, -0.1519842893, -0.1100294888, 0.0205928907, -0.1721018106, 0.1107930988, 0.0233160425, -0.0614018179, -0.1266874075, 0.3273089826, 0.6198334098, 0.4943139851, 0.1592570394, 0.5471397042, -0.2038013041, -0.6218880415, -0.005258543, -0.4345285296, -0.7237551212, 0.4296809435, 0.716822207, 0.5673262477, 0.5734267235, -0.2963119149, 0.3045621812, 0.0141264917, -0.1735296845, 0.0316250138, 0.0434302278, 0.247750476, 0.2879194617, 0.1879908293, 0.5019845366, 0.4493969381, -0.6889107823, 0.1361189187, 0.3000159264, -0.4401950836, -0.6565562487, 0.2969408929, 0.2521700859, -0.5175950527, 0.2160051763, -0.3747984767, -0.4004693627, 0.3919515908, 0.4261529744, 1.1799092293, -0.1579756439, 0.4332756698, 0.0292902775, 0.3907517791, 0.1812148392, 0.2090522349, -0.3193282485, -0.4827985764, -0.2475452572, -0.5916762948, -0.3709961772, -0.1089233756, -0.4576631188, 0.2674553692, -0.6486105323, -0.194275409, 0.4000983536, -0.0967664346, -0.1543917358, -0.4212222099, 0.3192213178, 0.1896562874, -0.7388724089, 0.7815229297, 0.4689419568, -0.0117939673, -0.4322830439, 0.2782090604, 0.2883181274, -0.5057295561, 0.4583540261, 0.2355540097, -0.4025380611, -0.1441855133, -0.7899786234, -0.6009932756, 0.9599943757, 0.4926328659, -0.5716922879, -0.2085436881, 0.6332302094, 0.5777863264, -0.2673482597, 0.1225634217, 0.7178458571, 0.3556269407, -0.0090475567, -0.7206159234, 0.0698288828, -0.1157522127, 0.2516466081, 0.3760993779, -0.4302771688, 1.0619883537, 0.0105374996, -0.4897455275, 0.1157677695, 0.4363137484, 0.3172646165, 0.4506335855, 0.0632636324, 0.2818259895, 1.1829248667, -0.0324389115, 0.9474003315, -0.2364710271, 0.144370839, 1.0906974077, -0.3131269217, 0.5180729628, 0.4685411751, -0.0861450285, 0.9210080504, 0.2197310477, 0.3173514009, 0.121881634, 0.4398860037, -0.3461379111, -0.0090373177, -0.2576939464, -0.0501578972, 0.2978903651, 0.3391701579, -0.4995698333, -0.1470130682, -0.2386898398, 0.340700984, 0.3135415614, -0.1169659123, 1.0077621937, 0.3253006935, -0.5559405684, 0.4921353757, 0.0168361235, 0.7311987877, -0.2707247436, -0.0355649889, -0.088981919, 0.2393601239, -0.2526672482, -0.8893587589, 0.3802534342, 0.1246374175, -0.4045611918, -0.4092859328, 1.0622279644, -0.1797019243, -0.5684222579, 0.0122742476, 0.5667070746, 0.1289717555, -0.1509807706, -0.8298903108, 0.0957011133, -0.0512989573, -0.0900781602, 0.3336823881, 1.170502305, -0.2710492909, 0.3696857095, 0.7260050774, -0.1175183654, 0.0725954771, 0.256094873, 0.9411672354, -0.9037948251, -0.286373049, -1.1838493347, 0.4766265154, -0.2782210708, -0.4497252703, 0.8048579693, 0.5361621976, 0.418756187, -0.0132498182, 0.6854683161, 0.2283938825, 0.5432817936, -0.2842248082, 0.8197590709, -0.0309706666, 0.4387000799, -0.5538386703, -0.5612520576, -0.269146353, 0.2914589942, 0.1694728434, -0.1108959019, 0.8330165148, 0.7882916331, 0.0490573011, 0.1418941319, 0.3154112399, 0.2548364401, 0.1950533837, 0.3060081005, 1.2186604738, -0.3242723644, 0.4404312074, -0.0414973423, -0.1569040269, -0.117987223, -0.7620940804, -1.251881361, -0.6048045158, -0.4074982405, -0.0330807753, -0.1404165328, 0.2686887383, 0.4641371965, -0.5713757277, -0.3654194772, -0.4235766828, 0.4959889054, -0.0613269024, -0.2940202951, 0.2120589465, -0.5031647682, -0.5710662007, 0.0369159058, 0.6595448256, 0.0174227711, -0.417146951, 0.1395131201, -0.1771359295, 0.530154109, 0.6835315824, -0.1446448565, -0.7435875535, -0.2337214053, 0.0737257674, -0.562779367, 0.1255105287, 1.4669995308, -0.6470908523, 0.0346229151, 0.6156324148, 0.4029682875, 0.1268968433, -0.2109864354, 0.2780678272, -1.3229635954, 0.1215095147, 0.4707470834, 0.1711479723, 0.3642750978, -0.4390817583, 0.2812005281, 0.4240487814, -0.5373458266, -0.9731354117, 0.3129882514, -0.7481472492, -0.5622003078, 0.9865540862, -0.2176285386, -0.4726910591, -0.5653114915, -0.5443988442, 0.0523889102, -0.1970204711, 0.8477749228, 0.6766083837, 0.0593340807, -0.1114572436, -0.1622616798, 0.5850200057, 0.1447128952, -0.7919968367, 0.2321116477, 0.3714474142, -0.0235411711, 0.3785777986, 0.7083999515, -0.2129160613, 0.065138258, 0.2016308606, -0.3574571311, 0.3469674587, -0.4579797387, -0.1252100021, 0.3640188277, 0.1811670065, 0.100005202 ]
http://arxiv.org/abs/2402.10573v2
http://arxiv.org/pdf/2402.10573v2
LinkNER: Linking Local Named Entity Recognition Models to Large Language Models using Uncertainty
2024-02-16T11:02:29
2024-02-27T15:08:02
Zhen Zhang, Yuhua Zhao, Hang Gao, Mengting Hu
cs.CL
cs.CL, I.2.7
Named Entity Recognition (NER) serves as a fundamental task in natural language understanding, bearing direct implications for web content analysis, search engines, and information retrieval systems. Fine-tuned NER models exhibit satisfactory performance on standard NER benchmarks. However, due to limited fine-tuning data and lack of knowledge, it performs poorly on unseen entity recognition. As a result, the usability and reliability of NER models in web-related applications are compromised. Instead, Large Language Models (LLMs) like GPT-4 possess extensive external knowledge, but research indicates that they lack specialty for NER tasks. Furthermore, non-public and large-scale weights make tuning LLMs difficult. To address these challenges, we propose a framework that combines small fine-tuned models with LLMs (LinkNER) and an uncertainty-based linking strategy called RDC that enables fine-tuned models to complement black-box LLMs, achieving better performance. We experiment with both standard NER test sets and noisy social media datasets. LinkNER enhances NER task performance, notably surpassing SOTA models in robustness tests. We also quantitatively analyze the influence of key components like uncertainty estimation methods, LLMs, and in-context learning on diverse NER tasks, offering specific web-related recommendations.
[ -0.4993687272, -0.7727123499, 0.5821826458, -0.216722548, -0.1430863589, 0.0189334732, -0.4328627586, -0.7665494084, 0.1447001845, 0.2494018823, -0.3741975725, -0.3500534594, -0.7404056787, 0.5358566046, -0.2740049064, 1.0519012213, -0.1263585836, -0.0310717132, -0.1877896935, 0.051097136, -0.1335857958, -0.2113606036, -1.05370152, -0.1332042366, 0.7821750641, 0.2797619998, 0.8678331375, 0.5672836304, 0.8678978086, 0.2857010961, -0.101693891, 0.1696709543, -0.5389772654, 0.2663251162, -0.3996373117, -0.38151142, -0.3650416136, -0.3737965524, 0.6566896439, 0.5918890238, -0.02892063, 0.0709277615, 0.0033939702, 0.3774999678, -0.6889403462, 0.0942407027, -0.8905879855, -0.4010997117, -0.1867463291, 0.0272992756, -0.1172871217, -0.3479468226, 0.2319596708, -0.5717051625, 0.4480866492, 0.2804741859, 1.1906335354, 0.4485280812, -0.3541997075, -0.2022117376, -0.9656413198, 0.6231825948, -0.7042489648, 0.6840671301, 0.6459456086, 0.3231496513, -0.3902616501, -0.5719206929, -0.699246943, 0.0382943191, 0.1766722202, -0.3248887062, -0.4365054667, 0.0269934349, 0.2552177012, 0.1913913786, -0.4037425816, 0.1800283641, -0.3156488836, -0.1905549467, 0.363863796, -0.0128441434, 0.1451220363, -0.1046828628, -0.2044291645, 0.1180521399, -0.8558402658, -0.2021944523, 0.4365338981, 0.6219365597, -0.0936101526, 0.4238105714, -0.4347993135, 0.7544748783, 0.3289652169, -0.0539559349, -0.0302419588, -0.1831951886, -0.1162484065, 0.0849188939, 0.8695429564, 0.0778385624, 0.0431695655, -0.3492390215, -0.3347994089, -0.0851760656, 0.1237330809, -0.8825023174, -0.3596107066, 0.1201883852, -0.0956967548, -0.1568049341, -0.0297703668, -0.6752853394, -0.327917099, -0.3865442276, 0.6086257696, -0.5356289148, -0.0765376836, -0.0028110777, 0.3386369348, 0.0241232868, 0.4664679468, -0.7532499433, 0.4240409136, 0.6217175126, 0.7231499553, -0.0965563655, -0.1685934812, -0.6671259999, 0.2800947726, -0.1237504408, 0.800016582, -0.5913236141, 0.0679451004, -0.136918366, -0.0351302139, 0.109204866, -0.3627707362, 0.3269162774, -0.9031807184, -0.0512522012, -0.3209817708, -0.6041817665, 0.0282980241, 0.1979127675, -0.9607257247, 0.8619108796, -0.0206924584, -1.0517805815, 0.5027116537, -0.252109468, -0.4944824278, 0.040817596, -0.1531488448, -0.453833282, 0.1711633205, 0.2685625851, 0.583147943, -0.5656589866, 0.2544508576, -0.5027392507, -0.3640776873, 0.2094641328, -0.376447618, 0.2323272675, 0.0743596852, -0.3076791465, 0.0307796095, -0.754371345, -0.012191236, -0.0928575024, -0.2432685345, -0.5382000804, 0.0554614849, 0.0193268154, 0.2107556164, 0.2581073642, -0.2930017114, -0.1924608052, -0.3412990868, 0.4384976625, 0.5511846542, 0.0717999339, 0.4560888112, -0.1051704213, 0.4086351395, -0.1756471843, -0.1178647056, 0.3644980788, -0.4121781886, -0.9747164845, -0.0516181439, 0.6489640474, 0.1858233213, -0.7516221404, 0.3605183065, -0.6336607933, -0.4514499009, -0.428116709, 0.1108143404, 0.2317042798, 0.2832948267, 0.4523760378, -0.1579660475, -0.5606049895, -0.6099866033, -0.1869578809, -0.1256599128, -0.2496786863, 0.2863303721, 0.6416554451, -0.2919228375, 0.9306431413, -0.2966863811, -0.33099702, -0.1798957884, 0.3411855996, 0.1170657277, 0.191222325, -0.0228171628, -0.9873265028, -0.4563970268, 0.0654790029, -0.4263889492, 0.1704167128, -0.0080225589, 0.1108682826, 0.0583542399, 0.4751806557, -0.5759590268, 0.279778868, 0.529601872, -0.0930386186, 0.400206089, -0.2282786071, 0.0221537501, -1.0970582962, -0.2039531767, 0.3125436306, -0.1950330287, -0.4905600846, -0.0205446687, 0.0520391464, 0.0897248685, -0.2218536735, 0.5781099796, -0.7480790615, -0.0340744853, -0.172186777, 0.2149820477, -0.2149139941, -0.0156036615, 0.0854389668, 0.7926285267, 0.4398760796, -0.7349823713, 0.1049774215, 0.0919483453, -0.3680231869, 0.6991045475, -0.7280173302, 0.119261235, -0.0637147054, -0.0406019501, -0.4423929453, -0.5608323812, 0.0844186246, -0.3510576189, 0.6071904302, -0.1809815764, -0.5217208266, -0.1582499892, 0.1341092288, 0.3825879693, 0.1461822242, -0.3927943707, 0.6785954833, 0.4201268554, -0.2167581916, -0.402636975, -0.4304905236, 0.1970295459, -0.2633124292, -0.3845734596, 0.4491938055, 0.1005539224, -0.1835116595, 0.1376626194, -0.5610870123, -0.4548285604, -0.0667709038, 0.4029221833, 0.1255397797, -0.2154703736, 0.1815533638, -0.1094134748, -0.1622552127, -0.0164727513, -0.2035463899, 0.2277272493, -0.2655477822, -0.3683739007, -0.2629588544, -0.0179883149, 0.2108647227, -0.2514389157, 0.6705034971, 0.7553287745, -0.5918258429, -0.1498791724, -0.7406117916, -0.2877136171, -0.4515105188, 0.28088516, -0.630772531, -1.344245553, 0.4182718694, -0.1685979068, -0.5647025108, 0.251036942, 0.3430076241, -0.1351530999, 0.5121251941, 0.7813225985, -0.2711681724, 0.4082459509, 0.1270966679, 0.5546184778, -0.7458298802, -0.0200395826, -0.6125890017, -0.2870786488, -0.7432588935, -0.7313693166, 0.0774230659, 0.2062137574, -0.3407288194, 0.6366065145, -0.2711038291, 0.5289943218, 0.5784054399, 0.1758849174, 0.4508594573, 0.1079438254, -0.046684213, -0.1751586348, -0.5153146982, -0.4747962952, 1.0350202322, 0.1854201108, 1.050678134, 0.2825380266, 0.7922722697, -0.0414088666, 0.000051168, -0.5198594332, 0.410409987, 0.1447966993, -0.7176946402, -0.4587245286, -0.6293920279, -0.9208147526, -0.1197014153, -0.4545232356, -1.0015208721, 0.41147843, 0.0349908732, -0.3834570348, 0.4969340861, -0.2635951042, 0.652586937, -0.1304084063, -0.5169872046, 0.0100923236, -0.7739290595, 0.076884754, -0.3332266808, 0.2178392112, -0.2020849735, -0.1180493757, 0.4407216311, -0.0421253443, 0.7637440562, 0.3486812711, -0.0494210348, 0.0981910452, 0.3174131513, 0.9870914817, 0.2350234985, -0.1715118885, 0.4602094293, -0.2372567058, -0.0339110084, -0.5921163559, 0.8766425252, -0.6102991104, -0.3222289979, -0.4623036087, -0.5599813461, -0.1937506497, 0.4457478225, 0.343609333, 0.1652023345, -0.197457388, 0.2382233143, 0.8556335568, 0.0236203242, 0.2611421943, 0.370282799, 0.2338596284, -0.4813822508, 0.8810590506, -0.0220202897, 0.2837255299, 0.9197003841, -0.1223058999, -0.2364954203, -0.7895057797, 0.0809982717, 0.1723747402, -0.5579792857, -0.4386895895, -0.6476949453, -0.1173786744, -0.2087205946, -0.0721164271, -0.3947594762, -0.2452537566, -0.4592578411, -0.1117269099, 0.5233083367, 0.7050573826, -0.0198006332, 0.2726153135, -0.4309433103, 0.4343421459, 0.27516222, 0.654669404, -0.2728403509, -0.2822438478, -0.2226463258, 0.0480167679, 0.2071343511, -0.7627414465, 0.2343247533, 0.2220771015, 0.1787795275, 0.5102103353, 0.3458142877, 0.8926945329, -0.6021731496, 0.2417564392, 0.134576723, -0.8303198814, 0.5353466868, -0.5014120936, -0.0024310786, 0.8347851038, 0.679738462, -0.2070942968, -0.3077850342, -0.4909968674, -1.0160988569, 0.3967273235, 0.3457000554, -0.0230974834, -0.1412712932, 0.3307704926, -0.1318563521, 0.2187764347, -0.818482399, -0.1288051754, 0.25935027, -0.1642065644, -0.0621488169, -0.3560668528, 0.0524690896, -0.0938538536, 0.7486045957, -0.1770883501, 0.2351764739, 0.0957949758, -0.2590380013, -0.2835801244, 0.4647942781, 0.1108296141, 0.5893290043, -0.3508063257, 0.2799641192, 0.3361231983, -0.3051768243, 0.0989377722, 0.3371664882, -0.3529215157, 0.0793835893, 0.2462329268, 0.8069581389, 0.69381392, -0.3258420825, 0.2799439728, -0.1716069579, 0.0910707191, -0.2474513203, -0.0512831919, 0.2157854587, 0.3363053203, 0.1445296109, 0.0955344364, 0.0520733148, -0.0306727607, 0.3322264254, 0.5055070519, -0.6997135282, -0.2733153403, 0.8186762929, -0.0809366778, -0.2161808461, 0.4662986696, -0.4228393734, -0.2402188927, 0.326701045, 0.69857651, 0.7790295482, -0.1960029453, 0.0444835052, 0.5271044374, 0.426543504, -0.2788482606, 0.1159417555, 0.0360680409, -0.7882556319, -0.3741126359, -0.7763579488, -0.5019712448, 0.0963872224, -0.7040842772, 0.3672347963, -0.4274476171, -0.4051590562, 0.0767697915, 0.0173486024, -0.911021769, 0.2368102968, -0.023023665, 0.5863596201, -0.559234798, 0.8417099118, 0.7425720096, -0.6029779911, -1.0573072433, 0.2051633745, 0.0951779857, -0.2671900094, 0.7674530745, 0.002436596, -0.2040515542, 0.2330409735, -0.1843540221, -1.3249664307, 1.085350275, 0.3799034655, -0.7489272356, -0.2744837105, 0.0915290713, 0.3823072016, -0.2020250261, 0.4051074982, 0.2134656012, 0.4587044418, 0.2242670506, -0.8905653358, 0.3800896108, 0.058956977, 0.2723946869, 0.4041171372, -0.3917172849, 0.8366442919, -0.4787376523, -0.2764109373, -0.0344656594, 0.7931053638, 0.0983386338, 0.0456490442, 0.3153119683, 0.5658115745, 0.98329252, -0.1298504174, 0.8344598413, -0.2883861065, 0.4739795029, 1.5362131596, -0.4269953072, 1.2188091278, 0.4877049625, -0.3516073525, 0.4618266523, 0.6093694568, -0.2127693594, 0.4138151407, 0.205780521, -0.4406792819, -0.4074143469, -0.1187587157, -0.2428968996, 0.4054619372, 0.2158141881, -0.1707591563, -0.2591158748, -0.3682875931, 0.0022010326, -0.0879061446, -0.209671393, 0.7240610123, 0.2160587013, -0.1906213015, 0.3093666434, -0.0645073801, 0.8244566917, -0.5166985393, 0.0599157661, -0.0036406389, 0.1139919013, -0.1256976575, -0.2979800701, 0.1803060323, -0.0311697479, -0.3061185479, 0.1598995924, 0.9588105083, -0.4017012417, -0.612347424, 0.3615444899, 0.4607273042, 0.1226897389, -0.3549281657, -0.4570660591, 0.0332755223, -0.2012740672, -0.1030864567, 0.5321513414, 0.7825981379, -0.0211167894, 0.9357164502, 0.7662479877, 0.3463643789, -0.1714225858, -0.020270545, 0.6212025285, -0.6897331476, -0.1981436014, -0.7929123044, 0.1611083001, 0.014200598, -0.0871289074, 0.8158633113, 0.4781414568, 1.1327522993, 0.1117916182, 0.5557476878, -0.1660814881, 0.2634544969, -0.3309804499, 0.7891936302, -0.4502018094, 0.2222844213, -0.5153853297, -0.9071928859, -0.5307241678, 0.7558628917, -0.4862658978, 0.0949121118, 0.7208163738, 0.8351698518, -0.2280143797, -0.093686156, 0.3945021927, 0.1755246371, 0.0409618802, 0.4874558449, 0.4951909781, -0.5856445432, 0.6552225351, -0.302975595, 0.2154832631, -0.1477305442, -1.0464787483, -0.9566015005, -0.5020529628, -0.5056464076, -0.2929727137, 0.3087997437, 0.8740497231, 0.7184137702, -0.9566770196, 0.0491992161, -0.2820607424, 0.3323236108, -0.0950239375, -0.1714490652, 0.3111785352, -0.1816039234, -0.716920495, 0.2458313555, 0.1843369007, 0.066228129, 0.1508260667, -0.110215649, -0.2750349939, -0.2772734463, 0.2161799818, 0.2305223793, -0.9893758297, -0.415713042, -0.1426209658, -0.066777654, -0.076896213, 0.3723187149, -0.6441394091, 0.3394538164, 0.2545300126, 0.8400259018, 0.4606911838, -0.0690146014, 0.6626064777, -0.5730138421, -0.2801867127, 0.2317568958, 0.4844419062, 0.4459390044, -0.470590204, 0.5100105405, -0.0566729195, -0.5924815536, -0.6277256608, 0.2596172392, -0.7897177935, -0.0555720478, 1.2219930887, -0.0599094108, -0.05191724, -0.2233677953, 0.3169264197, 0.3909852207, -0.4827231169, 0.6339108944, 0.5504043698, 0.0762443915, -0.223097831, -0.7319883108, 0.4963630736, 0.0034223758, -0.7286129594, -0.15350236, 0.523491323, 0.6277680397, 0.0989101306, 0.4341507256, 0.1931737959, -0.1195281744, -0.0132919718, 0.2079026848, 0.01166014, -0.3945905268, -0.3122180104, 0.1151826456, 0.1965602189, 0.1442342252 ]
http://arxiv.org/abs/2402.10571v2
http://arxiv.org/pdf/2402.10571v2
Direct Preference Optimization with an Offset
2024-02-16T10:55:38
2024-06-06T12:02:37
Afra Amini, Tim Vieira, Ryan Cotterell
cs.CL
cs.CL, cs.AI, cs.LG
Direct preference optimization (DPO) is a successful fine-tuning strategy for aligning large language models with human preferences without the need to train a reward model or employ reinforcement learning. DPO, as originally formulated, relies on binary preference data and fine-tunes a language model to increase the likelihood of a preferred response over a dispreferred response. However, not all preference pairs are equal. Sometimes, the preferred response is only slightly better than the dispreferred one. In other cases, the preference is much stronger. For instance, if a response contains harmful or toxic content, the annotator will have a strong preference for that response. In this paper, we propose a generalization of DPO, termed DPO with an offset (ODPO), that does not treat every preference pair equally during fine-tuning. Intuitively, ODPO requires the difference between the likelihood of the preferred and dispreferred response to be greater than an offset value. The offset is determined based on the extent to which one response is preferred over another. Our experiments on various tasks suggest that ODPO significantly outperforms DPO in aligning language models, especially when the number of preference pairs is limited.
[ -0.5153159499, -0.529399693, 0.4456127286, 0.279348135, -0.3287742734, -0.0322751477, -0.2152198851, -0.4002830684, 0.1603018194, 0.4106462002, -0.6093438268, -0.1407191008, -0.7237465382, 0.2806702256, 0.4578412175, 0.5948575139, 0.0173936374, -0.0938975811, 0.0621248335, -0.0508352704, -0.6815851331, -0.2266110778, -0.6058344245, -0.4086983204, 0.4862424731, 0.7234929204, 0.8969003558, 1.1905039549, 0.4414380193, 0.2817801833, -0.1192322522, 0.2825761735, -0.556601882, 0.033329539, -0.1374622732, -0.2816225588, -0.5343959928, -0.0653593019, 0.3968860805, 0.9810025692, -0.0186313614, -0.323029995, -0.0956319124, 1.1037304401, -1.0922739506, -0.3252877295, -0.6759858131, -0.0109360442, 0.1604848504, -0.0918084532, -0.1523812413, -0.5836762786, 0.2971770167, -0.8019532561, -0.2743279338, 0.0082084397, 0.6455344558, 0.5401181579, -0.4566728473, -0.181579411, -0.8217180967, 1.039180398, -0.4852313101, 0.0469349623, 0.3598628342, 0.1018990874, -0.3601552546, 0.0198981464, -0.7196811438, 0.0349623151, -0.0296879653, 0.0068123164, -0.0173549075, 0.2315127552, 0.0180781949, 0.3484791815, -0.2542169988, 0.6096549034, 0.1344099939, 0.1612019539, 0.6083165407, -0.0052482509, 0.0602284521, -0.0844249278, -0.7269880772, -0.129036516, -0.5498114228, 0.2862425148, 0.76973629, 0.2349043041, 0.3370209038, 0.3466844559, -0.3992808461, 1.0000998974, 0.7066170573, -0.1027248949, 0.1137188748, 0.0094720582, -0.1375251263, 0.311796695, 0.8544037342, 0.6673148274, 0.2592557371, -0.0538612083, -0.1804461032, 0.1231436357, 0.2367542535, -0.7030078769, 0.213357687, 0.3239424825, -0.08198338, -0.5281677246, -0.0650700033, -0.9475001097, -0.2755432129, -0.4409099817, 0.194251284, -0.3566800952, -0.2047786713, 0.5422392488, -0.12631464, -0.1014627889, 0.1380117685, -1.4796373844, 0.3755467832, 1.0631734133, 0.6665065885, -0.4539578855, -0.1777103841, -0.6157547235, 0.1355113387, -0.367533505, 0.691291213, -0.9318681955, -0.5724577308, -0.0201544724, -0.2000182867, 0.1143353283, -0.4373158813, 1.0640782118, -0.5852956772, 0.207224831, -0.4365578294, -0.5874435902, 0.1685784012, -0.0275734197, -0.5773255229, 0.9859933853, -0.135739401, -0.847284317, 0.6387670636, -0.4044098258, -0.2367251366, -0.2286238968, -0.2241581976, -0.276401937, 0.2343877703, 0.1585691571, 0.0703910664, -0.0798406526, 0.2684594989, -0.58356148, -0.531272769, 0.1001229584, 0.0521483123, 0.6075546145, 0.1973301172, -0.4253401458, 0.1824035048, -0.8775279522, -0.1746879965, 0.1569558531, -0.3348203301, -1.0726983547, 0.367008239, -0.5799639225, 0.1229788959, 0.2656303346, -0.8195363283, 0.6458040476, -0.5894417167, 0.3776341975, 1.2138718367, -0.1812613904, 0.8346819282, -0.279717803, 0.2307555526, -0.2226393521, 0.1890322119, 0.3832845092, -0.1897119433, -0.5554382205, -0.3261432648, 0.0712469816, 0.3792084157, -0.379214704, 1.1468554735, -0.370478183, -0.1483228654, -0.3503932059, 0.0383709185, 0.3737640381, 0.8837988377, 0.1591255218, -0.2664678395, -0.3772857785, -1.0796780586, -0.0275745708, -0.0574033298, 0.0669671372, 0.3950569034, 0.0077665523, 0.1447821856, 1.0758664608, -0.9983513355, -0.1340792477, 0.1069640517, -0.1598842442, 0.2657702267, 0.5116519332, 0.6304494739, -0.9847770333, -0.7085037231, 0.0217296388, -0.1831659675, -0.1882646084, 0.2065120786, -0.6746584177, 0.1398353428, -0.0996294618, -0.2345350832, -0.0888766646, 0.6145000458, -0.15777722, 0.2332162708, -0.2089057267, 0.0672855824, -0.8354133964, 0.2527402341, -0.2110631168, 0.1579253674, -0.6857115626, -0.2041159421, 0.1595387161, -0.0306315199, -0.2612268627, 0.7317407131, -0.3118239641, 0.2449626029, -0.4972099364, 0.0211630873, 0.1169397086, 0.5166053176, 0.4281794131, 0.6076523662, 0.4927903414, -0.7778839469, 0.2662037611, 0.3399504423, -0.048863221, 0.6391417384, -0.6814683676, 0.6331891418, -0.1778179556, 0.0044922344, -1.2213865519, -0.1035584062, 0.3012862206, -0.0812936723, 0.4847703874, -0.2242629081, -0.0756709576, -0.3872584999, -0.5803732276, 0.5013700128, 0.3657384813, -0.5985147953, 0.0110566616, 0.3293662667, -0.0742286593, -1.1707930565, -0.0834728703, -0.5166990757, -0.3049737811, -0.4216411114, 0.6189755797, -0.0500131138, -0.2550092936, -0.2035386562, -0.4410682023, 0.0380848013, 0.0780691728, 0.1617050171, 0.2698238194, 0.1845502108, 0.251011014, 0.2282847166, -0.3496163487, -0.3756818771, -0.2733490467, 0.736048162, 0.2927663922, -0.1301018894, -0.1023955271, 0.4662855864, 0.3360426128, -0.185471192, 0.3605814874, -0.024039967, -0.137043789, 0.0023548906, -0.4594335556, -0.1038210765, -0.5454828143, 0.1650626212, -0.470315963, -0.4737257957, 0.1678665429, 0.0751850456, 0.1058036685, 0.2853571475, 0.2361062169, 0.1774956584, 1.0814625025, 0.7633734941, -0.3641888797, 0.8345865011, 0.2184141874, -0.1587175578, -0.7581216693, 0.2382970899, -0.6746587753, -0.7363444567, -0.6875966191, -0.0102702687, 0.032899797, 0.1806429774, -0.4485386312, 0.2154287845, -0.8958930373, 0.4979918897, 0.812422812, 0.2746012807, 0.467707932, 0.0657214597, -0.154791519, -0.1460748911, -0.4231987298, -0.4764836133, 0.9646751285, 0.1896868944, 0.6665805578, -0.0535417087, 0.7902925014, 0.0944598541, -0.0840056613, -0.8753579855, 0.2839595973, -0.4630261958, -0.6810878515, -0.529956162, -0.3620813787, -0.9631585479, 0.1576462984, 0.0532829314, -0.746196568, 0.7935878038, 0.3262367845, -0.4254280627, 0.154243201, -0.721726656, 0.7824642658, -0.5277913809, -0.6636815071, -0.0209410917, -0.6785565615, 0.0543399751, 0.0833792984, 0.068268843, -0.5270781517, -0.4109957218, 0.3462742269, -0.1694813669, 0.7318271399, -0.3286260664, -0.0965702459, -0.1596991867, 0.0722232834, 0.669775486, -0.0547152683, -0.5375216007, -0.1339042336, -0.2140300125, -0.5391089916, -0.477373302, 0.9570574164, -0.9488806129, -0.7642618418, -0.4101423621, -0.3428245485, -0.4363274276, 0.421441108, 0.1834035814, -0.1238819882, -0.2894994318, -0.3095395863, 0.4415110648, -0.276892066, 0.446359694, 0.5712769628, 0.0621035062, -0.5577988625, 0.5439628959, -0.2447713315, 0.701222837, 0.8430229425, 0.6161902547, -0.22300753, -0.3942610323, -0.5684147477, 0.1213311702, -0.3954977691, -0.0342780203, -0.3866845071, 0.4738200009, -0.3380483091, -0.3783084154, -0.5139182806, -0.4167813957, -0.0493814684, -0.0047760815, 0.2916093171, 0.2407589108, -0.1073012426, 0.1670044065, -0.3278532624, 0.4150252938, 0.4915029407, 0.7251040936, -0.2544555068, -0.3117089868, 0.3075515628, 0.3157683015, -0.5172761083, -0.7962424755, 0.275166899, 0.1824656278, 0.6534994245, 0.6832613349, 0.5230585933, 0.6484444141, -0.5423550606, 0.2603811324, 0.2428562194, -0.8592745066, 0.7282348871, -0.42915833, 0.1036651433, 0.8782591224, 0.8590457439, -0.5476080775, 0.0696509778, -0.2609294951, -0.8442669511, 0.7631918192, 0.0095761465, 0.3252362311, -0.0890029296, 0.5740110278, 0.4879019558, 0.2964794934, -0.3975035548, -0.4015671909, -0.1072399095, 0.0860637203, -0.1048291028, -0.4301388562, -0.397878319, -0.0167992227, 0.4642454684, -0.1788038909, 0.225027591, 0.1793716401, 0.2967709005, -0.5129916668, 0.2720963657, 0.7156536579, 0.5617646575, -0.7673386335, 0.0089206388, -0.3202485144, -0.4530002177, 0.3718046248, 0.255875349, -0.3292476535, -0.266441375, -0.12809515, 0.9402316809, 0.078960605, -0.4228114486, 0.4125844538, 0.0580278225, 0.0153125357, 0.1873476356, 0.0905762017, -0.2461870015, -0.1793975234, 0.3401300907, -0.0270421784, 0.267342329, -0.5520048738, 0.029628247, 0.4970267713, -0.5415183902, -0.1907292157, 0.5065842271, 0.5496537089, -0.3160479665, 0.2626262903, -0.0088882186, -0.3515002429, 0.625916481, 0.4558673799, 0.7710452676, -0.2907840312, -0.0191178471, 0.4589716494, -0.1021187529, -0.0090933656, 0.0023986485, -0.1468905509, -1.0864276886, -0.4506646991, -0.6348264217, -0.5313563347, -0.0923952237, -0.8793405294, 0.4915730357, -0.4801600575, -0.1621452272, 0.3157716691, 0.0673731193, -0.4805105329, 0.104499422, -0.0384889841, 0.6273959875, -0.7364282608, 0.8299635649, 0.8113489151, -0.1264248788, -0.4471478462, 0.1576039493, -0.1318864226, -1.236880064, 0.7070057392, 0.0890768319, -0.0576253906, -0.0061495728, -0.0821181312, -0.8910982609, 0.705163002, 0.5298358798, -0.8270270824, -0.0062992442, 0.069265984, 0.4224203229, -0.2363142222, 0.1307378262, 0.6604737639, 0.3534031212, 0.2980743945, -1.0726826191, 0.1937490553, 0.0642146766, 0.0737194791, 0.5632825494, -0.8610432744, 0.5135017037, -0.110106647, -0.1065198332, -0.0448930301, 0.0355961733, 0.162966311, 0.0025469817, 0.813465178, 0.5224506855, 0.4548273087, -0.1326746494, 1.1422277689, -0.2742647529, 0.2458052635, 1.1979403496, -0.4529082775, 0.8146256804, 0.8161259294, -0.2813815176, 0.0590941198, 0.7795932889, 0.3607888222, 1.0075831413, 0.1749611497, -0.1441227198, -0.1651624441, -0.1625338942, -0.4225725532, 0.5182138085, -0.0119949924, -0.3403035104, 0.050632596, -0.2261655927, -0.0177967176, 0.3746256232, -0.1995996684, 0.9829801917, -0.2095244229, -1.1751030684, 0.7648117542, -0.2487415671, 0.8181760311, -0.5566402674, 0.1558454633, -0.5037334561, 0.4827476144, -0.1196566969, -0.765486598, 0.2530195713, -0.3322835565, -0.2247112244, -0.3130293489, 0.5120199323, -0.2085850686, -0.3049872816, 0.4506041408, -0.0718971044, -0.4405165315, -0.1823713779, -0.4000495374, 0.076283291, 0.0419431478, -0.2720872164, 0.4023626447, 0.5081962943, 0.1907870919, 0.4828522205, 0.5574796796, 0.2195105851, -0.1863627285, -0.1798918247, 0.9342027903, -0.3030706644, -0.6029183269, -1.10970819, 0.4114476144, -0.2085609734, -0.4813639224, 0.5220100284, 0.5565885305, 0.6881914735, -0.0826905593, 0.6303218007, -0.1029919386, 0.4698003829, -0.3364729583, 0.0532751158, -0.5777816772, 0.1854948252, -0.5951681137, -1.0556607246, -0.3035488129, 0.7127845287, -0.7636014223, -0.2797625065, 0.3531219661, 0.5702153444, 0.005288708, -0.2502714694, 0.2558988035, -0.1967627108, 0.2091212273, 0.6904928088, 0.6266465187, -0.005187883, 0.4572357833, -0.7125447392, -0.5560240746, -0.3214601576, -1.2007497549, -0.5169528127, -0.2058339119, -0.1092964038, -0.0425126664, 0.1663574725, 0.9209575057, 0.7243579626, -0.69890064, -0.1629226953, -0.3204150796, 0.3332648277, -0.4302786589, -0.1540799886, 0.2440846413, -0.2752985358, -1.3454521894, -0.0057411031, 0.3239923418, 0.0781265572, 0.054249756, -0.0975493193, -0.2490246743, -0.015843844, 0.2499021441, 0.397008419, -0.6234602928, -0.5356696248, 0.2634387314, -0.1227224618, 0.4111265838, 0.7068698406, -0.3238146007, 0.9063073397, 0.4742740095, 0.4513522089, 0.4059598446, 0.2776100636, 1.0082262754, -0.9344558716, 0.5310053825, 0.2952991128, 0.1537215859, 0.1015534177, -0.5845068097, 0.3619235158, 0.1068942994, -0.6314707994, -0.624812901, 0.4949423075, -1.2218830585, -0.2507218122, 1.3883669376, 0.0333497934, 0.059531305, 0.2039246559, -0.4885273874, 0.1221764311, -0.851396203, 1.0519394875, 0.5946426392, -0.301785171, 0.2692819834, -0.1967098862, 0.6121611595, 0.6256622076, -0.4363131523, 0.0490801968, 0.4526910186, 0.3845496774, 0.240109846, 0.5896008611, 0.203225553, -0.0011335235, -0.1061416343, 0.118929863, -0.1339138597, 0.102320388, -0.3671776056, 0.0175483283, 0.3118864, -0.803188324 ]
http://arxiv.org/abs/2402.10567v4
http://arxiv.org/pdf/2402.10567v4
InSaAF: Incorporating Safety through Accuracy and Fairness | Are LLMs ready for the Indian Legal Domain?
2024-02-16T10:54:10
2024-06-17T17:46:07
Yogesh Tripathi, Raghav Donakanti, Sahil Girhepuje, Ishan Kavathekar, Bhaskara Hanuma Vedula, Gokul S Krishnan, Shreya Goyal, Anmol Goel, Balaraman Ravindran, Ponnurangam Kumaraguru
cs.CL
cs.CL, cs.AI
Recent advancements in language technology and Artificial Intelligence have resulted in numerous Language Models being proposed to perform various tasks in the legal domain ranging from predicting judgments to generating summaries. Despite their immense potential, these models have been proven to learn and exhibit societal biases and make unfair predictions. In this study, we explore the ability of Large Language Models (LLMs) to perform legal tasks in the Indian landscape when social factors are involved. We present a novel metric, $\beta$-weighted $\textit{Legal Safety Score ($LSS_{\beta}$)}$, which encapsulates both the fairness and accuracy aspects of the LLM. We assess LLMs' safety by considering its performance in the $\textit{Binary Statutory Reasoning}$ task and its fairness exhibition with respect to various axes of disparities in the Indian society. Task performance and fairness scores of LLaMA and LLaMA--2 models indicate that the proposed $LSS_{\beta}$ metric can effectively determine the readiness of a model for safe usage in the legal sector. We also propose finetuning pipelines, utilising specialised legal datasets, as a potential method to mitigate bias and improve model safety. The finetuning procedures on LLaMA and LLaMA--2 models increase the $LSS_{\beta}$, improving their usability in the Indian legal domain. Our code is publicly released.
[ 0.0810549855, -0.5355045795, 0.4876441956, 0.3218125701, -0.4950526953, 0.1142164543, -0.0601878539, -0.5631272793, -0.1915525496, 0.3995358348, 0.0866578966, -0.561367929, -0.7541065812, -0.0256196856, -0.7532314658, 0.8721126318, 0.182024315, 0.2017948478, -0.3353659213, -0.3332583308, -0.6141026616, -0.7487533092, -0.4740764201, -0.3476830721, 0.0621231869, 0.1105136424, 0.7812618613, 0.7645936012, 0.5594946146, 0.2734906375, -0.1876149774, -0.2089414746, -0.1988863349, 0.2330024689, -0.3009688854, -0.7237908244, -0.4376286268, -0.0176586788, 0.7145990133, 0.4558299482, -0.6227151155, 0.1747580022, 0.0380962752, 0.5158619881, -0.69781214, 0.3109532893, -0.711540699, -0.0812084973, -0.3750114143, 0.0506564714, -0.2692143321, -0.5827019811, -0.3555488586, -0.2457669973, -0.237420857, 0.3763507605, 0.8373004198, 0.6853441596, -0.5588408113, -0.412337631, -0.4607725441, 0.6650066376, -0.9102293849, 0.2232786566, 0.4601137042, 0.6120980978, -0.1614510119, -0.5944695473, -0.5001395345, -0.2619432807, 0.0857018828, -0.140663594, 0.0449438766, 0.0347336642, 0.2904149294, 0.1056154519, 0.0048571168, 0.4276444912, -0.4060680866, -0.2973814607, 0.9773991108, 0.3267183304, 0.2920795083, -0.2527367473, -0.0229056273, 0.1143912673, -0.8751990795, 0.2128411829, 0.5638774037, 0.4672952294, -0.4713678658, 0.636199832, -0.1810297519, 0.3533314168, -0.0242856499, -0.4312645197, 0.213348031, -0.0590900593, -0.2943634689, 0.2929939032, 0.6943064928, 0.3806211352, 0.6417432427, -0.0381718464, -0.4930942953, 0.1765086651, 0.0282637812, -0.7183920741, 0.4371757507, 0.1441245675, -0.6600299478, -0.4546137154, -0.1744892299, -0.4965170026, -0.6483507752, -0.5089581013, 0.2536463141, -0.1611798108, -0.2827877104, 0.0241208337, 0.2900933623, 0.6671488881, 0.1174040958, -0.7730500698, 0.2496278882, 1.0048595667, 0.6937665343, 0.204482466, 0.1138996854, -0.886472702, 0.29896456, -0.2774057388, 0.5879737139, -0.6209436059, -0.5374035239, 0.3095635176, -0.2759791613, 0.298935324, -0.3233557343, 0.6244232059, -0.5613604188, -0.4029183686, -0.3093294501, -0.4254321456, -0.288749069, 0.2247925699, -0.2204975784, 0.6117005944, -0.2627968788, -0.6980683804, 0.8322193027, -0.6959241033, -0.6552865505, 0.089969568, -0.4984388053, -0.2941623032, -0.0500164554, 0.0666042715, 0.5575865507, -0.3813861012, 0.6250033975, -0.6930194497, -0.5689920187, 0.2248681337, -0.4692775905, 1.029640317, 0.4476211071, -0.2408294678, 0.0690004528, -0.6023697257, -0.1120804623, -0.2110678405, -0.4011843204, -0.3409979343, 0.0970917791, -0.0951717496, 0.43327865, 0.0877990723, -0.647974968, -0.4495421648, -0.3727998435, 0.4559735358, 1.0903674364, -0.1947689354, 0.539729774, -0.184392944, 0.5121434927, -0.247883305, 0.3720782101, 0.3857484758, -0.4418020844, -0.5773937106, -0.3713391125, 0.7511067986, 0.7717925906, -0.2307437211, 0.2549506426, -0.3961217999, -0.3089592457, -0.6689715385, 0.1009281203, 0.4822308421, 0.3561273217, -0.2737593949, -0.2091483772, -0.2577073574, -0.8047440648, -0.411485225, -0.2420704663, 0.1823233664, 0.0684792474, 0.4579083622, -0.1135658696, 0.9770624042, -0.0218360312, -0.3340522349, 0.0946117416, -0.2106700391, 0.1826886237, 0.3322924078, 0.5520985723, -0.942056179, -0.4879478514, 0.0159254987, -1.2485715151, -0.2120644152, 0.283634305, -0.076828748, 0.3704284132, 0.7187233567, -0.5684674978, 0.5500738025, 0.0726589039, -0.5170852542, 0.3371098936, -0.1767173558, 0.1397073865, -0.8838415146, -0.1814874858, 0.1353570968, -0.4108140469, -0.315987736, 0.4772365987, 0.0566528179, 0.0076847901, -0.9369168282, 0.722779274, -0.2039799392, -0.2506801188, -0.3028418422, -0.0300675202, -0.5729176998, 0.1624974459, -0.3941731155, 0.7571147084, 0.8066025972, -0.5733600259, -0.063978456, 0.0575616173, -0.1903016567, 0.9374701381, -0.6638730168, -0.015626248, -0.3517615795, -0.0980663374, -0.4248623848, -0.4637675881, 0.1921829581, -0.2790546715, 0.2524747849, -0.3364402652, -0.755787015, -0.0784029588, -0.0997710451, 0.2029080093, 0.9220322371, -0.2262676209, 0.8925665021, 0.9948703051, -0.1008579135, -0.9491800666, -0.9352964759, 0.0338027291, -0.5885370374, -0.6815251708, -0.2492212504, 0.1122968346, -0.8343179822, 0.0126343891, 0.0102398535, 0.0713876411, 0.0816725343, 0.8890952468, 0.1723846942, 0.233676374, 0.0481279567, 0.3040229678, -0.1368382722, 0.322933197, 0.2497300506, 0.2050541192, -0.3410179019, -0.5625742078, -0.2379654944, 0.3214080036, 0.5551973581, -0.2081306875, 0.6041859984, 0.331060499, -0.7658590674, 0.1233757213, -0.7099069357, 0.1192832291, -0.5311873555, 0.1098779589, -0.1323705614, -0.9943522811, 0.5579226017, 0.0910772383, 0.3525330126, 0.4227550626, 0.6698394418, -0.0915327445, 0.946151793, 0.8737927079, 0.0603786558, 0.1611557007, 0.2151529491, 0.4957110584, -0.4445854425, -0.4097729325, -0.6804445386, -0.0373688154, -0.7712186575, -0.2111494541, 0.5928955078, -0.0577214919, -0.6482361555, -0.2058816552, -0.2477054298, 0.6408282518, 0.5427624583, 0.0343049765, 0.3983493149, 0.2179248631, -0.190517813, 0.0077927122, -0.3734072745, -0.9186325073, 1.3477131128, 0.4770816863, 0.8100277781, 0.0874147937, 0.7379245758, 0.5896384716, 0.6437308788, -0.5263037682, 0.7843247056, -0.487491399, -0.7969892621, -0.1920392215, -0.193180874, -0.5648487806, 0.1312520355, -0.4427243173, -0.4660063684, 0.1597149372, 0.1250494868, -0.4975855947, 0.2918666601, -0.6336644888, 0.3046982586, -0.3483964503, -0.3965410888, -0.5471867919, -0.7630948424, 0.619889617, -0.304820776, 0.7561035156, -0.5876520276, -0.0752345398, 0.6783753037, -0.5584520102, 0.8561572433, -0.3798847795, 0.0851609409, 0.5622891784, 0.1450179219, 0.3394790888, 0.2762788534, -0.5040161014, 0.4232530594, -0.0121137155, -0.3249117732, -0.2388971597, 0.8158065677, -0.6133288741, -0.6930099726, -0.8123942614, -0.5823436975, -0.1794366539, 0.2200348228, -0.2618596554, 0.0699651018, 0.2161075473, 0.0512845181, 0.4929438233, 0.0196218453, 0.7547986507, 0.5048030615, -0.0299155265, -0.0532024838, 0.5012492537, 0.1664033383, -0.0200824961, -0.080040358, -0.030407507, -0.6868454218, -0.7818356752, -0.2339642495, 0.2225319445, -1.0785446167, -0.4502013922, -0.6082818508, -0.3789002597, -0.1703373492, -0.1869734377, -0.0748026147, -0.2243896127, 0.1351138204, -0.1412408054, 0.4352107942, 0.8123616576, -0.3575024903, 0.0681015775, -0.6725383401, 0.0428075418, 0.4399873316, 0.6721405387, -0.1240337491, -0.5991688967, 0.0997612998, 0.0391738191, 0.0858081207, -0.2391130179, 0.1381863058, -0.1994433105, 0.6619079113, 0.1581436992, 0.0290599242, 0.3654027879, -0.5699515939, 0.5213862062, 0.1926549375, -0.8642295003, 0.3532544076, -0.3263129592, -0.2180080265, 0.5844651461, 0.2144507319, -0.1664808691, -0.504088521, -0.1723199338, -0.7556831837, 0.3151753843, 0.2348505706, 0.4584730268, 0.1180029884, 0.6380274296, 0.1889624, 0.1824502498, -0.7759877443, 0.2119097412, 0.103920266, -0.3905992806, 0.3251822293, -0.1167209297, -0.1799871773, -0.1776343137, 0.5612959862, 0.0556343123, -0.1928641796, -0.155388236, -0.1581990421, -0.0561059006, 0.419906795, 0.2615967691, 0.7425661683, -0.1392233968, -0.1239682138, 0.3321023285, -0.5928736329, 0.4451630414, 0.0918236226, -0.3274638951, -0.3676552176, 0.0559634864, 0.3451788723, -0.0820162967, -0.8020487428, 0.4498753548, -0.1388287842, 0.0070876987, -0.5120514631, 0.2563263178, -0.0095365075, 0.462027967, 0.3042320013, 0.266043365, 0.1379587352, -0.4615950882, 0.0047345152, 0.5020154715, -0.369748652, 0.2312330455, 1.0841025114, 0.4403747916, -0.533649087, 0.4571943879, -0.2873513401, -0.0698092207, 0.564355135, 0.1096498966, 0.627620697, 0.1503778547, -0.1941620111, 0.1692771614, 0.3700852394, -0.3336799145, 0.1731437594, 0.3009395599, -0.3679613769, -0.4799128771, -0.9484701753, -0.1216621995, -0.3264397979, -0.1849681735, 0.3877521753, -0.7182516456, -0.4262343645, -0.4216951132, -0.2425789535, -0.7230120301, 0.2935352921, 0.3056507111, 0.9222857952, -0.8771591187, 0.5755777359, 0.4960097075, -0.5251310468, -0.8664512038, 0.0339903943, 0.1306156218, -0.7398567796, 0.6142237186, 0.006364292, -0.2698297501, -0.4293619692, -0.6215906739, -0.7308821678, 1.1091916561, 0.723731339, -0.8007616401, -0.0396521538, 0.3889688849, 0.5478766561, -0.3863690197, 0.0024370404, 0.6705327034, 0.2875531316, -0.2087727189, -1.1056027412, 0.2587587237, -0.1749791354, 0.1278151274, -0.0329527818, -0.735630095, 0.695840776, -0.4017579854, -0.0883006752, -0.2097689956, 0.6997358799, 0.6566683054, 0.4345299006, 0.7193944454, 0.5062448978, 0.8111150861, -0.1783903837, 1.3719297647, -0.2201975584, 0.0019394078, 0.7835403085, -0.5532391071, 0.8028120399, 0.4255367219, -0.186634168, 0.3105912209, 0.5743011832, 0.3050793409, 0.434106946, 0.2191194445, -0.1332201809, -0.4878662229, -0.2732437849, -0.3038173318, 0.6558764577, 0.3608487844, -0.0696495771, -0.0235183463, -0.0210925806, 0.1912573278, 0.4297339022, -0.6254125834, 0.4357064962, 0.4938148558, -0.509358108, 0.1637404263, 0.129404068, 0.9718164206, -0.3711594939, -0.0455376133, -0.2364600897, 0.1272504032, -0.1861528605, -1.2196143866, 0.377420485, 0.2742236853, 0.0180527214, -0.0307196267, 0.8406690359, -0.0934672281, -0.6931698322, 0.3313094079, 0.3381466568, 0.1984523237, 0.2516798973, -0.5775876641, 0.1302969307, -0.4103956223, 0.3856087029, 0.4422511458, 0.3840380311, -0.5539923906, 0.9635717273, 0.4487509131, 0.096322909, 0.3650802076, 0.1927248687, 0.4860727787, -0.4132413864, -0.7987201214, -0.8181639314, 0.6384754777, -0.3014136553, 0.054529313, 0.4615858197, 0.298579663, 0.6620898843, 0.0445363596, 0.7858404517, -0.2520116866, 0.3237306476, -0.6296690702, 1.1668807268, -0.4810201526, 0.4174325466, -0.0861791, -0.8208239079, -0.3017877042, 0.1725883037, -0.2290176898, 0.2254516929, 0.2841121256, 0.9140959382, -0.1424815059, -0.0485650524, 0.1858710498, -0.0167227592, 0.3575552702, 0.4025867581, 0.6254306436, -0.3044235706, 0.6849969029, -0.0697391331, -0.2307739258, -0.1414663792, -1.1056975126, -0.9020349383, -0.1354581118, -0.2202841789, -0.4126316905, 0.4275268316, 0.9266893864, 0.9441149831, -0.8328346014, -0.4129663408, 0.1958279759, 0.0682018697, 0.3572028279, -0.1670916528, 0.2184495479, -0.2939770222, -0.5339251757, -0.1055383757, 0.3377374411, -0.033645913, -0.1390592903, -0.3868074119, -0.2050926685, 0.2488843501, 0.6602914929, 0.2386548817, -0.6671026945, -0.4288394153, -0.5178822875, -0.1937202811, -0.1769548059, 0.5698167086, -0.4491956532, 0.2553127408, 0.2711027563, 0.6040492654, 0.2140501738, -0.2097444832, 0.4586580396, -0.54441154, 0.4446479976, 0.1756147444, 0.6544120312, 0.5456402302, -0.5396197438, 0.750120163, -0.0218653753, -0.6235828996, -0.9454719424, -0.0506756082, -0.7042580843, -0.0318016857, 1.2804217339, 0.0516749956, -0.3017369509, -0.1078190282, 0.0229619052, 0.4360328615, -0.5304936171, 0.9917978048, 0.5889012218, 0.1196865886, 0.1983276755, -0.7283502817, 0.5323139429, 0.2987366319, -0.8582193255, -0.2340548038, 0.4277061522, 0.7389830351, -0.0580008328, 0.7781871557, -0.5282604098, 0.5088991523, -0.0855349004, -0.1798945367, -0.0999863967, -0.0678762943, -0.4657609761, 0.2634968162, 0.2689523399, -0.0028691462 ]
http://arxiv.org/abs/2402.10558v1
http://arxiv.org/pdf/2402.10558v1
Neural paraphrasing by automatically crawled and aligned sentence pairs
2024-02-16T10:40:38
2024-02-16T10:40:38
Achille Globo, Antonio Trevisi, Andrea Zugarini, Leonardo Rigutini, Marco Maggini, Stefano Melacci
cs.CL
cs.CL
Paraphrasing is the task of re-writing an input text using other words, without altering the meaning of the original content. Conversational systems can exploit automatic paraphrasing to make the conversation more natural, e.g., talking about a certain topic using different paraphrases in different time instants. Recently, the task of automatically generating paraphrases has been approached in the context of Natural Language Generation (NLG). While many existing systems simply consist in rule-based models, the recent success of the Deep Neural Networks in several NLG tasks naturally suggests the possibility of exploiting such networks for generating paraphrases. However, the main obstacle toward neural-network-based paraphrasing is the lack of large datasets with aligned pairs of sentences and paraphrases, that are needed to efficiently train the neural models. In this paper we present a method for the automatic generation of large aligned corpora, that is based on the assumption that news and blog websites talk about the same events using different narrative styles. We propose a similarity search procedure with linguistic constraints that, given a reference sentence, is able to locate the most similar candidate paraphrases out from millions of indexed sentences. The data generation process is evaluated in the case of the Italian language, performing experiments using pointer-based deep neural architectures.
[ -0.1496727616, -0.6502302885, 0.6120368838, 0.1799880415, -0.4815509021, -0.2354462147, -0.1188229695, -0.0844009891, 0.4533436596, 0.479170084, -0.5335999727, -0.5989175439, -0.141904369, 0.3238337338, -0.7293043733, 0.9759092927, -0.0440518223, 0.0388146676, -0.3787050843, -0.1795133352, -0.1304100007, -0.3361192644, -0.5520405769, -0.110693492, 0.492112577, 0.0938981324, 0.8841292858, 0.944848299, 0.62785393, 0.3137423694, -0.051239159, 0.3797181249, -0.1703564078, 0.4491949677, -0.2816857696, -0.1937416494, 0.0890343785, -0.0861369446, 0.6726025939, 0.6252102256, -0.0945489779, 0.1039077789, 0.367217809, 0.4335514605, -0.4714444876, -0.002068022, -0.8094888926, 0.1546956599, -0.0254615359, -0.4689658284, -0.0476943515, -0.7768847346, 0.1668905765, -0.5410032272, 0.3800463378, 0.0007992142, 0.8486419916, 0.293469727, 0.0160369687, -0.5972002745, -0.2171210647, 0.5370617509, -1.0057343245, 0.050854899, 0.0971145034, -0.2065401226, -0.1407181919, -1.0149686337, -0.6273190379, -0.25036484, -0.3296182156, -0.1816660911, 0.0836340263, -0.2391088754, -0.0056557017, -0.0363569334, -0.7511561513, -0.1323724091, -0.2680104971, -0.0249705222, 0.5280868411, 0.1918253005, 0.3907827437, -0.6164126992, -0.4854394197, -0.1163278222, -0.6956775784, -0.3596488237, 0.5425661206, 0.1932222247, 0.3114371598, 0.5565623045, -0.3994377255, 0.7101206779, 0.1908709854, 0.1348650604, 0.2059158683, -0.5713567138, -0.0501060672, 0.3455818295, 1.0835534334, 0.7889666557, 0.3638242483, -0.4725809991, -0.0604645573, -0.0539269075, 0.3855893016, -0.4923242629, -0.1617438942, -0.2630955279, -0.4462762177, -0.3968699872, -0.0215559453, -1.1083220243, -0.0686428025, -0.5719081759, 0.3387115896, -0.5449398756, 0.3690451384, -0.1271144003, -0.3022206724, 0.3559265733, -0.3144261241, -0.7113937736, 0.307063669, 0.8157010674, 1.0098065138, -0.3150154352, -0.5583681464, -0.6414573789, 0.2820224762, -0.3200823069, 0.6306344867, -0.5470041633, 0.016295569, 0.1176179424, -0.2377295345, -0.3110758662, -0.4777332246, 0.6782653332, -0.5331753492, 0.3330318034, -0.0222743265, -0.6559216976, 0.1450029165, 0.279701978, -0.360789746, 0.8342772126, -0.3974894881, -0.8269453049, -0.0986377448, -0.2543679774, -0.5680450201, -0.0402134396, -0.3223860264, -0.4089592993, 0.1414569616, 0.3854115903, 0.570045948, -0.2102317661, 0.6128070951, -0.2381326109, -0.243294239, 0.140862748, -0.2025842071, 0.8245712519, 0.2545738518, -0.6240296364, -0.11630404, -0.7204544544, 0.0925585628, 0.0030198055, -0.1562245637, -0.6359223127, 0.1321197152, -0.1009661928, 0.2231128365, 0.4646873772, -0.448941946, -0.1173145175, -0.5666475296, 0.7405999899, 0.4301064312, 0.2996032834, 0.4418604374, -0.4618056715, 0.302958101, -0.1931347251, -0.1426597983, -0.1805482805, -0.2113227844, -0.5434877872, 0.425955683, 0.263821125, 0.464926213, -0.6760449409, 0.6628433466, -0.6068224311, -0.3858690858, -0.6232550144, 0.4962549806, 0.4926376939, 0.8213601112, 0.4215976596, 0.0068407306, -0.5269731283, -1.0791202784, -0.3453653157, 0.1601114422, 0.0414993614, -0.0574615076, 0.151887998, 0.2175175399, 0.7097719312, -0.4137316942, -0.1187248752, 0.0655417293, 0.2455606461, -0.093218267, 0.597843349, 0.4291751981, -1.1081850529, -0.5604401231, -0.1674585044, -0.9930685163, -0.0902884826, -0.3545747995, -0.2195205092, -0.0891113877, 1.2058776617, -0.7229603529, 0.0682965294, 0.3643830419, 0.0732504129, 0.3077842891, -0.2659839094, 0.0192668885, -1.540817976, 0.1722156107, 0.1134922579, -0.0618982241, -0.2780435085, 0.4455008209, -0.0715499073, -0.1037984863, -0.3734253049, 0.2356911749, -0.5645783544, -0.0124505265, -0.4498284757, 0.6179427505, 0.099038735, 0.5517356396, 0.1066127494, 0.6613452435, 0.4261725545, -0.5120978951, 0.5798462629, 0.5305172801, -0.3546175659, 0.5154313445, -0.6440665126, 0.1402974427, -0.2134701461, 0.1997491568, -0.9101959467, -0.0508141443, 0.0832896009, -0.4047405422, -0.0537589751, 0.0418892838, -0.4153697193, -0.1126169562, -0.289378196, 0.2972078919, 0.4101149142, -0.5326210856, 0.1665729433, 0.0950011835, -0.6397746801, -0.490064621, -0.5106487274, 0.6704446673, -0.6186298132, -0.5033735633, 0.5110354424, 0.0710153654, -0.2580972016, 0.0958077535, 0.1617931724, -0.0661357716, -0.0456810147, 0.001631108, 0.0649559423, -0.38872841, 0.1372548789, -0.0206069462, 0.1178664118, 0.1832018048, -0.492638588, 0.7646450996, 0.0141016189, -0.1227937862, -0.5646319389, 0.685013473, 0.5385355949, -0.3604796231, 0.52430439, 0.4624662697, -0.2712082863, 0.033304479, -0.4251270592, -0.1064626724, -0.4569872618, 0.0918581113, -0.2463956326, -0.3058368564, 0.2409031838, 0.1082386523, 0.0867816284, 0.5059213638, 0.4093740582, -0.2481423169, 0.8232742548, 0.0853818581, -0.0628467053, 0.2441278845, 0.1399990618, 0.1803630888, -0.685274303, -0.2173109949, -0.5352329612, -0.8338535428, -0.5701172948, -0.2194715887, 0.1327691525, -0.026805114, 0.1141906753, 0.619958818, -0.5723647475, 0.4505979419, 1.1821880341, 0.289536953, 0.246943295, 0.0693860799, -0.2814408839, 0.0529704578, -0.6340184808, -0.6213007569, 0.9807716012, -0.3783406317, 0.4879485965, -0.3113404512, 1.0994386673, 0.0274166465, -0.2454408109, -0.4759375155, 0.7234047651, -0.2587034702, -0.272051841, -0.1440214664, -0.3163165748, -0.9243997335, -0.3202046752, -0.0135929454, -0.5341407657, 0.2189066112, -0.0385647714, -0.5834538937, 0.1718300879, -0.466622144, 0.763943553, -0.1829481125, -0.3422657549, -0.1328762323, -1.0216801167, -0.041000925, 0.0561430044, -0.3197910786, 0.1787751317, -0.0748262703, 0.8809964657, -0.2335285246, 0.6551846862, 0.093945995, 0.2403303981, 0.5524820089, 0.0885030702, 0.442887187, -0.0602353588, -0.2158113718, -0.1690834761, -0.0714271441, -0.292401582, -0.5300269723, 1.1561465263, -0.3642890155, -0.6560075879, -0.0933155343, -0.5625139475, -0.1698008329, 0.1708067656, 0.5628246069, 0.409507364, -0.3446805179, 0.452691853, 0.4787742794, 0.0774801448, 0.7910827994, -0.1522693485, 0.2834565938, -0.4070425332, 0.7744034529, -0.2074028552, 0.131022349, 0.6125398874, 0.0365316272, -0.2525119185, -0.6577912569, -0.2807365656, 0.2192382216, -0.3028879166, -0.4301609993, -0.7919790745, -0.3047188818, -0.6414211988, -0.4064067304, -0.1121508107, -0.4523492157, -0.3462407291, -0.1217505112, 0.1663377732, 0.3507147729, -0.096564211, 0.4504770339, -0.8547997475, 0.4355297089, 0.3248923123, -0.0470842794, -0.1153599992, -0.2172016501, -0.0034852109, 0.3525766432, -0.5411980748, -0.8252276182, 0.6846576333, 0.2810151577, 0.3493199944, 0.3547754288, 0.004655113, 0.7355099916, -0.9146183133, 0.5625086427, 0.1695117503, -0.800231576, 0.586779952, -0.55545789, 0.0979247168, 0.83050704, 0.6514536738, -0.4769195616, -0.4036463797, -0.8557134867, -0.8187305927, 0.2758821547, 0.2503051162, 0.3485530913, -0.4469295144, 0.5740197301, 0.1172897369, 0.3359971642, -0.7638652921, 0.0508753136, -0.020206023, -0.7712119818, -0.2456260473, 0.0884133577, -0.2550927401, 0.0559801161, 0.4542051554, -0.14509435, 0.1840683967, 0.4188649058, -0.2320588976, 0.076795429, 0.1050976664, 0.362123847, 0.6182607412, 0.0682329834, 0.3090476692, 0.0431995466, 0.0819308311, 0.1024067476, 0.4459130764, -0.369034797, 0.4075419009, 0.1834188104, 0.6317014694, 0.3731016517, -0.7620865703, 0.4105326831, 0.2413281649, -0.304551214, -0.1963573396, 0.0082189161, 0.5150081515, 0.4614494145, 0.2684913278, 0.0792093351, 0.2358051986, -0.5691382289, 0.5774842501, 0.397081852, -0.2365469784, -0.1304841191, 0.6985930204, 0.0850247741, -0.7167935371, 0.8413934112, 0.0260603074, -0.3699679077, 0.6276455522, 0.6311371922, 0.8364678025, -0.1040159613, 0.2749898136, 0.3337718248, -0.0901604593, -0.2183227688, -0.2294363678, -0.0472935103, -0.5217552185, -0.2444186509, -0.7594912052, -0.0435249247, 0.1498402059, -0.7093111277, 0.2496057451, -0.3939004838, 0.1573155671, 0.1381076872, -0.4196224511, -0.3868459761, 0.1941594929, 0.3134646416, 0.5862580538, -0.699385643, 0.5457222462, 0.6932257414, -0.1605288386, -0.5672855973, 0.3479383886, -0.3453695774, -0.9307204485, 0.6306656003, 0.2348339707, 0.0990033895, 0.122467123, -0.399720192, -0.6924276352, 0.9399368763, 0.3694136441, -0.5746323466, -0.9051671624, 0.1464387178, 0.7780234218, -0.4063058496, -0.3328150511, 0.3863887191, 0.1911113262, -0.0849774331, -0.7441932559, 0.06792631, -0.221068278, -0.1071843132, 0.261636883, -0.5738822222, 0.7003660798, 0.1759339124, 0.1523628831, 0.4421872795, 0.7038811445, -0.0587882847, 0.3006144166, 0.375734508, 0.8153207898, 0.3493464589, 0.1698390096, 0.7615490556, -0.5090534091, 0.1691347361, 1.3352975845, -0.1973584443, 0.9597626925, 0.6277179122, 0.3386293352, 0.4733464718, 0.3186395168, -0.1207419857, 0.6966733932, 0.0881055221, -0.1945649832, -0.2846731842, 0.0575570092, -0.0712246075, 0.5968650579, 0.1786006093, -0.8269081712, -0.5500127077, 0.0014629783, -0.0258852877, 0.6441697478, -0.2220819443, 1.0319575071, 0.118827939, -1.2691400051, 0.46453017, -0.110742189, 0.4420431256, -0.3476314843, 0.0690253526, -0.2503991425, 0.1422464997, 0.0171314236, -0.6408687234, 0.5906397104, 0.0386264473, 0.0864098668, -0.4934304655, 0.4183866978, -0.5773011446, -0.5531250834, 0.202236861, 0.4759856164, 0.0275081769, -0.1184792519, -0.7637867928, -0.4946074784, 0.2258661687, -0.1199465618, 0.2991161346, 0.4673830271, 0.1122178435, 0.4311300814, 0.4375949502, -0.0008181178, 0.4156356454, -0.4071322083, 0.6539444327, -0.6725318432, -0.550568521, -1.0566056967, -0.0158563368, -0.3607888222, -0.4075584114, 0.742092371, 0.7135375738, 0.4972975552, 0.1158729047, 0.5309375525, -0.0646019503, 0.5504431129, -0.5477882028, 0.4573330581, -0.3756420314, -0.2263746113, -0.2505507767, -1.1063165665, -0.1525033116, 0.7743643522, -0.203941375, -0.3211972117, 0.7468424439, 0.8841525316, -0.2887111008, 0.0867679939, -0.0402841642, 0.0024053492, -0.0247006062, 0.5739238262, 0.6035735011, -0.4848977029, 1.0253776312, -0.2635460496, 0.2865304351, -0.1501084715, -0.7786729336, -0.7155754566, -0.7773740888, -0.4406748116, -0.2647944987, 0.5137816072, 0.7521170378, 0.2804606557, -0.6338884234, -0.0315372199, -0.6494227052, -0.0999753103, -0.1398403049, -0.2251636386, 0.5287631154, -0.6643887758, -1.0873872042, 0.5455042124, 0.0182669777, -0.1998238117, 0.073361814, 0.3077066839, -0.8475978971, -0.0963169783, -0.0594377071, 0.1833888292, -0.3444119394, -0.2748109996, -0.0458923355, -0.3773741722, 0.2435928583, 0.7591959834, -0.7629494071, -0.0504667945, 0.5032442212, 0.9211220741, 0.3239250183, 0.2906023562, 0.9125235677, -0.8926443458, 0.0370171219, 0.4453148246, 0.3837178648, 0.4513373971, -0.1556189656, 0.1440179199, 0.0824360251, -0.6099496484, -0.4424690008, -0.0326796286, -0.8906883597, -0.3385558128, 1.3042658567, -0.1936427355, -0.12218979, 0.1843458712, -0.139175415, 0.4524669647, -0.0411559194, 0.8361535072, 0.5886505842, 0.1617505252, 0.3160806, -0.1511348635, 0.4860625267, 0.7161428332, -0.5669697523, -0.0447903611, 0.4834420979, 0.3202861547, 0.4381126761, -0.0705836266, 0.0225520469, 0.2562068105, -0.0569048859, -0.1959642321, 0.0688042864, -0.1441452205, -0.1325534433, 0.5893096328, -0.5119256973, -0.3795858026 ]
http://arxiv.org/abs/2402.10555v2
http://arxiv.org/pdf/2402.10555v2
SPAR: Personalized Content-Based Recommendation via Long Engagement Attention
2024-02-16T10:36:38
2024-05-22T02:44:40
Chiyu Zhang, Yifei Sun, Jun Chen, Jie Lei, Muhammad Abdul-Mageed, Sinong Wang, Rong Jin, Sem Park, Ning Yao, Bo Long
cs.IR
cs.IR, cs.CL
Leveraging users' long engagement histories is essential for personalized content recommendations. The success of pretrained language models (PLMs) in NLP has led to their use in encoding user histories and candidate items, framing content recommendations as textual semantic matching tasks. However, existing works still struggle with processing very long user historical text and insufficient user-item interaction. In this paper, we introduce a content-based recommendation framework, SPAR, which effectively tackles the challenges of holistic user interest extraction from the long user engagement history. It achieves so by leveraging PLM, poly-attention layers and attention sparsity mechanisms to encode user's history in a session-based manner. The user and item side features are sufficiently fused for engagement prediction while maintaining standalone representations for both sides, which is efficient for practical model deployment. Moreover, we enhance user profiling by exploiting large language model (LLM) to extract global interests from user engagement history. Extensive experiments on two benchmark datasets demonstrate that our framework outperforms existing state-of-the-art (SoTA) methods.
[ -0.5174872279, -0.6081901193, 0.5920193195, 0.1095658913, -0.1303421408, -0.0345383808, -0.2653226256, -0.044846002, 0.4521431923, 0.9749014974, -0.73530972, -0.6597073674, -0.3158921599, -0.1803515255, -0.2609168291, 1.3956240416, 0.0145408316, -0.4600220919, -0.2358888984, -0.219201833, -0.9119157791, -0.6953808069, -0.6693770289, -0.2621772885, 0.9135614038, 0.2999171019, 0.5330491066, 0.3910922706, 0.2793448865, 0.2083546072, -0.2631830275, 0.3237571418, -0.9274157286, 0.2562739253, -0.4003276825, -0.0205734763, -0.3003108203, -0.2971264422, 0.3118145764, 0.4238245785, -0.1665609628, 0.0521263331, 0.1293558627, 0.9132897854, -0.4892662764, -0.1585524529, -0.2367838472, 0.0176228341, -0.3217489421, -0.3873194456, -0.5501331091, -0.1720665544, 0.4811832011, -0.6088021994, 0.2288639098, 0.2741738558, 0.5290774107, -0.0679571629, -0.4869687259, -0.2682116926, -0.875202179, 0.7810360193, -0.2843595445, 0.5414196849, 0.7979143858, 0.2553371489, -0.4603141844, -0.5349878669, -0.1709455103, -0.2570032775, -0.0607423112, -0.0994907916, -0.1315224469, -0.1159397289, 0.2025317997, 0.3062004745, -0.7682617307, -0.2298454791, -0.0803543106, 0.164266333, 0.581854105, 0.0987737849, 0.2722445726, 0.2671025395, -0.7257939577, 0.0071566957, -0.6330781579, 0.178897351, 0.3714800179, 0.0942059532, -0.1991914958, 0.7018887997, -0.1650325507, 0.5576351285, 0.5396896601, 0.1589459777, -0.0455199033, -0.2764162719, 0.0380211957, 0.1585225165, 0.7594445348, 0.3517702222, 0.4582830369, -0.4023190141, 0.0591278113, -0.2429921627, 0.2204492539, -0.7865411043, -0.006071772, 0.0834887847, -0.2932768762, 0.3072851896, 0.3185352981, -0.7678771615, -0.6914131045, -0.0550701693, 0.199743852, -0.404683888, -0.1357172281, 0.4332835078, 0.1481473595, -0.3270441592, 0.108030431, -1.0009852648, 0.4809537232, 0.9151714444, 0.7865943313, -0.5465142727, -0.3018954694, -0.8695805669, 0.416950345, 0.0389827341, 0.9174187183, -0.8531543612, -0.3987975121, 0.3351674676, 0.1960784048, 0.198505789, -0.4033750594, 0.3724199235, -0.8827715516, 0.2889892459, -0.2531299293, -0.6697798371, -0.2256397605, 0.0394781232, -0.6065989137, 1.2497661114, 0.3205158114, -0.5696717501, 0.4767683744, -0.8100976944, -0.5979071856, 0.3448662162, 0.1575582772, -0.3412133455, -0.0100149633, 0.2159114331, 0.6247895956, -0.1617038399, 0.7139445543, -0.5637339354, -0.6127695441, -0.0050444533, -0.0751158521, -0.021173792, 0.0019830903, -0.1861576289, 0.4292568266, -0.4429246783, -0.6192137003, -0.0864769891, -0.1782185286, -0.6335561275, 0.206989184, 0.2422653735, 0.1102173626, 0.4080176055, -0.4308609664, 0.0438726097, -0.7803167701, 0.245408088, 0.7251440883, 0.3273569047, 0.6123800874, -0.2221483141, 0.4562409222, -0.0196178928, -0.2412310541, -0.5900681615, -0.0683544874, -0.5116500854, -0.0825868919, 0.2345168889, 0.1254291981, -0.0881072208, 0.9071000218, -0.3215735853, -0.1312819123, -0.1508515328, 0.5518929958, 0.0862561092, 0.0675853863, 0.3577130139, -0.5597409606, -0.5596287847, -0.4533547759, -0.2112838179, -0.0184319094, -0.0945752561, 0.8100947142, -0.0486284159, -0.5882006288, 1.0962178707, -0.5504459143, -0.8018163443, -0.4720990956, 0.0357883722, 0.4010985196, 0.1549222022, 0.2099099755, -0.6879466772, -0.7803262472, 0.1588572562, -0.2599551976, 0.2144411653, -0.402382195, -0.3974207044, -0.0318783, 0.1976311356, -0.4396605194, 0.4425522387, 0.3659901023, -0.7283767462, -0.0675397441, -0.2236031592, 0.1228024065, -1.2214282751, 0.1267743558, 0.6944648027, -0.4638928175, -0.3579406738, -0.6269256473, -0.0780609101, -0.2710449994, -0.291016072, 1.1158803701, -0.2219857275, 0.0864382014, -0.2949897945, -0.010631646, -0.1065846458, 0.6026459336, 0.3199034035, 0.4275503457, 0.0994775444, -0.5532311797, 0.1295069307, 0.4705432355, -0.2563762069, 0.4061459303, -0.6924259067, 0.4029800594, 0.0806294829, 0.2906942964, -1.118383646, -0.1472633779, 0.0564791523, -0.0871666744, 0.0876787156, -0.5739811659, -0.3014428318, 0.0243444443, -0.5206865668, 0.3546215594, 0.2147407383, -0.5407862067, 0.8126413226, 0.4161804616, -0.3863682449, -0.4762042165, -0.0032598048, 0.1623603553, -0.2613004446, -0.5316664577, 0.6678350568, -0.408052057, 0.3016324639, -0.0036911785, -0.145399332, 0.0392951481, -0.1259150505, 0.6347239614, 0.1915259361, -0.1531724036, 0.0610480048, -0.1394196004, -0.342402041, -0.3326473534, 0.1370868832, 1.005048275, 0.1265670806, -0.3549303412, -0.5773379207, 0.6222984195, 0.4300584793, -0.3864278197, 0.5418477654, 1.0065429211, -0.1556102335, -0.0369309112, -1.1304059029, -0.1829496026, -0.4810688794, 0.5987111926, -0.0739869624, -1.501873374, 0.2557810247, -0.0940648615, 0.0705002323, 0.2353469282, 0.7664476037, -0.2246184498, 1.0412832499, 0.8069368005, -0.5782482624, 0.9959814548, -0.0769558623, 0.0875229836, -0.8362973332, -0.1795315593, -0.0310063753, -0.2481777072, -0.1992907077, 0.0818982422, 0.0502453335, -0.0546544529, -0.2928482592, 0.1389776915, -0.3270702958, 0.4898717105, 0.4410304427, 0.1943259537, -0.0181090366, -0.1100637764, 0.4946444333, -0.2550590336, -0.378362447, -0.2190354913, 0.8660131097, 0.3746185899, 0.9345774055, 0.057018742, 0.6480308771, 0.9464871883, 0.0995896682, -0.8528702259, 0.4055434465, -0.1933993697, -0.3709876239, -0.2880273163, -0.0618324392, -1.2831406593, -0.2231555879, -0.3180419207, -0.7547498941, -0.0071671735, 0.2352913916, -0.62516886, -0.0453606732, -0.5488595366, 1.1132341623, -0.3948872387, -0.6808241606, -0.2954543233, -0.3650605083, -0.0730412006, 0.0301997457, 0.0372128487, -0.2284720987, 0.1317801923, 0.7377348542, 0.1601861268, 0.9422137141, -0.2364649624, 0.3601643741, 0.0091624642, 0.3495979309, 0.8214601874, 0.270483464, 0.0993112549, -0.0962582454, -0.1847043037, 0.0488706157, -0.3775721192, 0.99454844, -0.5320035815, -0.7304688096, -0.5154871345, -0.386732012, -0.1245313883, 0.3492043912, -0.2729144692, 0.3060450554, -0.5602830052, 0.6178284883, 0.8386824727, -0.0470538922, 0.3992524445, 0.4833773971, -0.1459404081, -0.5580950379, 1.0349596739, -0.2821899652, -0.4803175628, 0.405118078, 0.1660439521, -0.498146683, -0.4875963032, -0.3890816271, 0.3979936242, -0.1689375043, -0.0508620329, -0.897980988, 0.2708560824, -0.3101195395, -0.4310132861, -0.1878633797, 0.4733328521, -0.6616315246, 0.1734316647, 0.2983182967, 0.6598728299, 0.5157067776, 0.3072986901, -0.6650850773, 0.5417004824, 0.1186892316, 0.5654966831, -0.226121977, -0.4460044205, -0.6746430993, -0.3584665954, -0.2632832527, -0.6149021983, 0.6265223622, 0.3235303164, 0.7424146533, 0.6523185968, 0.2094740272, 0.6117464304, -0.676135242, 0.7473303676, 0.2263320088, -0.6850785613, 0.5364141464, -0.3142506182, 0.3746894002, 0.6530868411, 0.6512182355, -0.8924793005, 0.167086333, -0.2521532178, -1.0022118092, 0.6384376287, -0.4712708294, 0.2894789875, -0.0002851121, 0.4676179886, 0.3627827764, -0.1307967603, -0.629412353, 0.1287284791, 0.1605817825, -0.3928547502, -0.3185629249, -0.7370544672, 0.0100264465, 0.2603954375, 0.7090271115, -0.1065384373, -0.2156599909, 0.1446774453, -0.3164744079, -0.2457826883, 0.1967826039, 0.2793207169, 0.6872064471, -0.342893213, -0.2795032561, 0.0096944654, -0.2091400027, 0.1086141691, 0.1828324348, 0.170717299, -0.1386717707, -0.1221720874, 0.6962090135, 0.643912971, -0.8336260319, 0.7795550227, -0.2977679074, 0.2250716537, -0.683303237, 0.0679167435, 0.2412738502, 0.2501933277, 0.2549577951, -0.2189644128, 0.1976038963, -0.4455453157, 0.2292829901, 0.4566518366, -0.870251894, -0.3167295456, 0.3782933652, 0.3707532287, -0.4893256724, 0.1691180915, 0.3199792206, -0.1510319412, -0.2319226861, 0.5522353053, 0.8501275778, -0.1539393216, 0.0749066025, 0.1757301837, -0.3808315992, -0.2890862226, -0.289706707, -0.4138034582, -0.4504415393, -0.5690982938, -0.6558839083, -0.3754675686, 0.2279596329, -0.7912593484, 0.5317433476, -0.4565722048, -0.3947846591, 0.0948705822, 0.1558339447, -0.6407345533, -0.0745213181, 0.162920326, 0.5126150846, -0.7845594287, 0.6012862921, 0.6889207363, -0.0933633968, -0.0437855944, -0.1875940114, -0.1842712611, -0.2791681886, 0.3590455651, 0.200478062, -0.2591710687, -0.0073987981, -0.1055087596, -0.8257961869, 0.865772903, 0.3579570353, -0.6392180324, -0.0233939961, -0.0609455742, 0.5337072611, -0.5212084055, 0.1602561772, 0.275031209, 0.0947014838, 0.0820747092, -0.4453044236, -0.0988519862, -0.1253114492, 0.0453456156, 0.3260096312, -0.6617724299, 0.1166423187, -0.0312828496, -0.2855535746, -0.0742146745, 0.9810828567, 0.3479358256, 0.5936347842, 0.5490939021, 0.3084376752, 0.1350057423, 0.2485396415, 1.0422365665, -0.3633518219, 0.1952940375, 1.1797531843, -0.7110399604, 1.0126693249, 0.4832340777, -0.04494562, 0.6114505529, 0.8836452365, -0.1304699033, 0.8319867253, -0.1070872173, -0.2077186555, -0.3253037632, -0.2431340814, -0.273498863, 0.0988351479, 0.2539701462, -0.4237287343, 0.1260383427, -0.0425530337, 0.0828912556, 0.1749760062, -0.1775545031, 1.2700897455, -0.1435846686, -0.8651789427, 0.159579888, -0.0927259922, 1.1006577015, -0.920024097, -0.2621434033, -0.2938437164, 0.1668587327, -0.1468636096, -0.7308715582, -0.1669359505, 0.1243818253, -0.5539702177, -0.2133328766, 0.9435694218, -0.6082593799, -0.1681040376, 0.319104135, 0.2742345035, -0.1628201008, -0.2119375169, -0.4173793793, 0.0392317064, 0.1852749437, -0.3989272416, 0.6840632558, 0.1110741943, 0.0126966117, 0.6933871508, 0.8385139108, 0.0265948065, -0.3330280185, 0.0300093554, 0.7138304114, -0.9214755893, -0.7435590029, -0.9684768915, 0.4653632939, 0.1155979782, -0.5104070306, 0.4335760772, 0.7883326411, 0.8534991145, 0.1208362952, 0.729807198, 0.4059158266, 0.585771203, -0.2636100352, 0.4860697985, -0.4199927151, 0.418874681, 0.0136672407, -0.9725627899, -0.0801456422, 0.2403292656, -0.3409001529, 0.2308444679, 0.2142385542, 0.5860074162, -0.3280869722, -0.2322481722, 0.3980035484, -0.1711123437, 0.1956579983, 0.6035298705, 0.7491061687, 0.1741103083, 0.3554096222, -0.1575612128, -0.0788420141, -0.6531453729, -0.7379347086, -1.1205062866, -0.7536103725, -0.2453125268, -0.3929192722, 0.4529283345, 1.3189086914, 0.873200357, -0.8273515701, -0.4370587468, 0.4007899463, -0.0906775296, -0.059819106, -0.1951208115, 0.7415056825, 0.0457879119, -0.5770400763, 0.6465560794, 0.6145693064, -0.0197045691, -0.4345127642, -0.273301065, -0.1835525483, -0.2389393896, 0.6676948667, 0.4955586493, -0.7886656523, -0.1606139839, 0.0818937495, 0.016051596, 0.176764071, 0.986502111, -0.7855703831, 0.4655539393, 0.2581600845, 0.8327102661, 1.1279246807, 0.2662377656, 0.778243959, -0.7190457582, -0.10265854, 0.3804233372, 0.3774442971, 0.3558913171, -0.8077397943, 0.3829445541, -0.1962217987, -0.5835071802, -0.8426606655, -0.1389799714, -1.4236264229, 0.2307166755, 1.3853037357, -0.4984339476, -0.124665983, -0.3764523864, -0.5084514618, 0.0602126718, -0.8723205924, 0.8697036505, 0.5031330585, -0.1899322122, -0.1958573759, -0.3761033416, 0.3566925824, 0.4605210721, -0.431001395, 0.3204193115, 0.4034665227, 0.2477692813, -0.1711992621, 0.5160947442, 0.11663647, 0.3041359484, -0.6491240263, 0.0415618047, -0.2553878427, -0.3419971168, -0.2068004608, 0.4036241174, -0.01337016, 0.2438858449 ]
http://arxiv.org/abs/2402.10554v2
http://arxiv.org/pdf/2402.10554v2
Disordered-DABS: A Benchmark for Dynamic Aspect-Based Summarization in Disordered Texts
2024-02-16T10:35:18
2024-06-17T20:06:04
Xiaobo Guo, Soroush Vosoughi
cs.CL
cs.CL
Aspect-based summarization has seen significant advancements, especially in structured text. Yet, summarizing disordered, large-scale texts, like those found in social media and customer feedback, remains a significant challenge. Current research largely targets predefined aspects within structured texts, neglecting the complexities of dynamic and disordered environments. Addressing this gap, we introduce Disordered-DABS, a novel benchmark for dynamic aspect-based summarization tailored to unstructured text. Developed by adapting existing datasets for cost-efficiency and scalability, our comprehensive experiments and detailed human evaluations reveal that Disordered-DABS poses unique challenges to contemporary summarization models, including state-of-the-art language models such as GPT-3.5.
[ -0.2157658637, -1.144346714, 0.6487041712, 0.3391513526, -0.3612205684, 0.6520601511, 0.2028065324, -0.373465836, 0.6682731509, 0.2625533342, -0.4713029563, -0.6019940376, -0.4850491583, -0.0524816923, -0.6219459772, 1.2742908001, -0.0926653817, -0.3659687936, -0.4339523017, -0.0377942696, -0.2599712014, -0.7727016211, -0.392264992, 0.0770868212, 0.440299809, 0.1625633091, 0.8100246787, 0.5566599369, 0.8527558446, 0.3087258041, -0.494462043, 0.2412425727, -0.3663899004, 0.8612366319, 0.0801614448, -0.1680763811, -1.3664191961, -0.0476885512, 0.7415227294, 1.1161991358, -0.3461155593, -0.1038964316, 0.1936757118, 0.8069675565, -0.5338497758, 0.1637677699, -0.4391794205, -0.0193068366, -0.1873115897, -0.1888396591, 0.1127732769, -0.315095365, -0.0225791521, -0.548370719, 0.4354633391, -0.2921412587, 0.6956662536, 0.30035308, -0.7580016851, -0.2836104333, -0.7690700889, 0.4023784101, -0.5670719743, 0.1527527571, 0.3591442108, 0.133319512, -0.3630761802, -0.8864926696, -0.2770532966, 0.1439469755, 0.125446409, 0.2722308636, 0.0022243029, 0.0270450171, -0.027840076, 0.7659721375, -0.4063175321, 0.1825751811, 0.0549116246, 0.014178047, 0.8071596026, 0.5491070151, 0.0863720104, -0.1613121331, -0.1149159297, -0.090316765, -0.0044075167, -0.0692378208, 0.4172284901, 0.190958187, -0.5068036914, 0.2501508594, -0.4246677458, 0.4514680505, 0.3370739818, -0.0808469132, 0.3993607759, -0.2763781548, 0.034861058, -0.1274727285, 0.5433157086, 0.7703495622, -0.3799884915, -0.3576464355, -0.3953306675, -0.4005687535, 0.3002973199, -0.9385473728, -0.6693710685, 0.6754018664, -0.5719588995, -0.5930909514, -0.0063493405, -1.1750923395, -0.8933182359, 0.2261343449, 0.1934008747, -0.2260461301, -0.4736531377, -0.2336315513, -0.3843355477, -0.4101835191, 0.3792558014, -0.9582413435, 0.3337604403, 0.776081264, 1.1315410137, -0.6189873219, -0.3883432746, -0.297077626, 0.1842116863, -0.382214725, 1.2170048952, -0.4327688217, -0.3598461151, -0.2896511853, -0.1857485324, 0.2881284058, -0.690282464, 0.4317078292, -0.3789771497, -0.0067411349, -0.3305376768, -0.3510918319, -0.2071982026, 0.3713283241, -0.4679737091, 0.9496030211, 0.3334762454, -0.7077363729, 0.6974005699, -0.3832941353, -0.7461594939, 0.0937817022, -0.0677408129, -0.6612263918, 0.4845044911, 0.0726107508, 0.5488833785, -0.0373767391, 0.4470172524, -0.8245803118, -0.1134472489, 0.5113723278, -0.7357463241, 0.2891520262, 0.2835196555, -0.0554738753, 0.2892274261, -1.1183416843, -0.1112311631, 0.23267667, -0.4339414537, -0.6204300523, 0.4509810507, 0.2484727353, -0.097770609, 0.3800304234, -0.236843273, 0.3742085695, -0.3957737684, 0.4109166265, 0.5697765946, 0.286922574, 0.3634158373, -0.3780031502, 0.3919025362, 0.4196867049, -0.0541734993, -0.3900877833, -0.2558536828, -0.2254008651, -0.7268144488, 0.1720482856, 0.2768445909, -0.4397095442, 0.4437392652, -0.1907932311, -0.6593567133, -0.0956242383, -0.268473804, -0.0052942755, 0.2159120142, 0.385601759, -0.5808360577, -0.0495493822, -0.7192764878, -0.2814896703, 0.1094057858, -0.2128624767, -0.0347095318, 0.2780375779, -0.2180833668, 0.7513357401, -0.5828795433, -0.3104298115, -0.1552289277, 0.4634653628, -0.0009163009, 0.2695952654, 0.6146149635, -0.8434169888, -0.3765774667, -0.2221743613, -0.5933380723, -0.2504178286, -0.237172544, 0.3640093207, 0.2714808583, 0.4632901251, -0.2323800176, 0.4831402302, 0.7361630201, -0.70072788, 0.3717386127, -0.7337455153, 0.530710876, -1.2266203165, -0.0916820988, -0.3600046039, -0.3063363731, -0.3898047507, -0.0817914531, 0.2322695404, -0.1485902071, 0.0257091168, 0.2105505913, -0.7147706151, -0.0048934072, -0.5721647739, 0.081441015, -0.0815999508, 0.3410251141, -0.3817183971, 0.5385045409, 0.615676403, -0.7252485752, 0.4793418944, -0.1048612595, -0.211819604, 0.7557745576, -0.4324898124, 0.073736541, -0.2762454748, 0.3731428981, -0.8403314352, -0.5545767546, -0.0874756202, -0.015563962, 0.3195472062, -0.0338028632, -0.3356816173, -0.2482827604, -0.5715594888, 0.6806106567, 0.3049972057, -0.2674583495, 0.811789453, 0.8515964746, -0.3389669359, -0.1557978243, -0.6674574614, 0.4020404816, -0.3021511137, -0.2594151795, 0.8934077621, -0.1893989742, -0.3725886941, 0.1341604143, -0.6878787875, -0.368845731, 0.4044049382, 0.3565651476, -0.2163426727, 0.069992803, -0.3824175596, 0.4478769004, 0.0307244044, 0.0867509246, 0.1251051128, 0.5665283799, -0.0920198709, -0.3670326769, -0.3719645739, 0.6389790177, 0.826967597, -0.0589616671, 0.5119037628, 0.1553467363, -0.3986800313, -0.2369305193, -0.2998172343, 0.0768442228, -0.4923593402, 0.9228452444, -0.2819823325, -0.4535575509, 1.0173308849, 0.140519172, 0.1689179391, 0.1996484697, 0.6892623901, -0.3197116554, 1.042108655, 0.651973784, 0.1339271516, 0.4634753466, 0.1796084046, 0.1945720613, -0.3214213252, -0.2830685377, -0.2190214694, -0.6577046514, -0.7268276215, -0.2634024918, 0.5025552511, 0.1269214153, 0.2152100801, -0.0985587612, -0.3391369581, 0.5645384789, 0.3125573993, 0.1254902333, 0.5083798766, -0.2135887295, 0.244293794, 0.1512250453, -0.3481477797, -0.4072294533, 0.930817008, 0.2797489464, 0.7494782209, 0.4326687753, 0.6972919703, 0.5073338151, 0.0589117855, -0.7405884862, 0.557888031, -0.2803631723, -0.4722859859, -0.0738300085, -0.5554141402, -0.9716261029, 0.2082550675, -0.1611980498, -0.7938722372, 0.3270274997, 0.4279842675, -0.4175074697, 0.4997060299, -0.6261674762, 0.7182475328, -0.1838233322, -0.0733310431, -0.3853943348, -0.3311027586, 0.0447375886, -0.3567471802, 0.3605897725, -0.2778878212, -0.2287082225, 0.8463236094, -0.5770753622, 0.6440374851, -0.1633783579, -0.2935777605, 0.0856444538, 0.4576865435, 0.3296718299, 0.2462941408, 0.1818694025, 0.1785747111, 0.4821587801, -0.6028805971, -0.5983929634, 0.821442306, -0.3193100691, -0.3819222748, -0.7530352473, -1.0640090704, -0.4249715805, 0.2575145066, 0.084893629, 0.6672895551, -0.4048950374, 0.2346998304, 0.3744859993, -0.1001605168, 0.8693277836, 0.6788107157, -0.3368858397, -0.4080506265, 0.8077916503, 0.2914294302, 0.0985305831, 0.2167184502, -0.0695531294, 0.1172605008, -1.0929157734, -0.2244835049, -0.106136933, -0.4434393048, -0.1148399264, -0.8342200518, -0.0173682887, -0.5131456852, -0.1961606443, -0.7344383597, -0.4328339696, -0.1060669497, -0.0130357407, 0.1117933393, 0.9332607985, -0.1889808923, -0.0399251096, -0.6840150356, 0.4989101589, 0.0281320009, 0.7877947092, 0.0929266885, -0.4714598358, -0.2342134118, 0.012606144, -0.549623251, -0.9824948311, 0.371896863, 0.0350895822, 0.2682215571, 0.3659923375, 0.4287927151, 0.551104784, -0.2126075476, 0.8099285364, -0.1350052804, -0.4820751548, 0.3601098955, -0.6734820008, 0.346539855, 0.5065136552, 0.2401842922, -0.4719471335, -0.7483885288, -0.5434813499, -1.4052708149, 0.555739522, 0.0567739382, 0.1985729933, -0.0481833741, 0.3705574572, 0.3336993754, 0.2109272033, -0.3754523695, -0.3851133287, -0.14251104, -0.3388242424, -0.0145719443, -0.6019572616, 0.037867371, -0.1134314984, 0.4019266963, 0.2142899334, 0.0169160403, 0.121545665, -0.0208526496, 0.0562733449, 0.2371595353, 0.5805916786, 0.6318584085, -0.7265638113, 0.1667599231, -0.0819541588, -1.0877884626, 0.0875393525, 0.4199610949, -0.4196451306, -0.2966432869, 0.1971227378, 0.5591439009, 0.0773128048, -0.5979459882, 0.4832848608, -0.2211508602, -0.0488422029, -0.0717377961, 0.0096406573, -0.3406148255, 0.2747855186, 0.5786885619, 0.1834730059, 0.2378217876, -0.6966900826, 0.1499313116, 0.2228565365, -0.4750680625, -0.5870609283, 0.8829635978, 0.5025541782, -0.4837386012, 0.2862035632, -0.572996974, -0.1652171165, 0.471645534, 0.4450463057, 1.0958342552, 0.0431368276, 0.1543411314, -0.1819457859, 0.1231477484, 0.0847263783, 0.2835417986, -0.1819690168, -0.332421422, -0.1886776984, -0.6584767103, -0.547817409, 0.1548229307, -0.8646900058, 0.0353609771, -0.3676938713, -0.3164381087, 0.0793909952, -0.1942921728, -0.0866538882, 0.075115703, -0.1565830857, 0.4421543777, -0.6668763757, 0.4976416826, 1.0847073793, -0.3101834357, -0.2245964408, 0.6228576899, 0.2852453589, -0.1644377261, -0.1081630066, -0.0779639706, 0.0887268931, -0.0208483618, -0.0475206599, -0.8578768373, 0.8775503635, -0.0219186656, -0.3001145124, -0.1775025427, -0.0839578658, 0.6384910941, 0.1133191288, 0.2606524527, 0.5668101311, 0.093497403, -0.2385071069, -0.9110469818, 0.0297527593, -0.3666276932, -0.2834683657, 0.3512234986, -0.7323822975, 0.7415990233, -0.1347717047, -0.2400948107, -0.1470440775, 1.0145684481, -0.1618893892, 0.6473085284, 0.4674531817, 0.3126624525, 0.9303339124, -0.1104880795, 0.82277596, -0.1731006652, 0.2901407182, 1.1752382517, -0.2036143988, 0.5797920823, 0.1851028949, -0.1768295318, 0.4346394837, 0.6917103529, 0.0931269601, 0.7542718053, -0.1199158654, -0.119195044, 0.0021490946, 0.2448189706, -0.4665282369, 0.4654458165, 0.2732736468, 0.1103055254, -0.280390054, -0.0153121613, 0.1438354254, 0.2159009427, -0.290992111, 0.9263828993, -0.0974820182, -0.4769828618, 0.4056430757, 0.1059807688, 0.9517360926, -0.3272891939, 0.4350228012, -0.6623594761, 0.2800379097, -0.1757464409, -0.8892495632, 0.7824867964, 0.1985402107, -0.6324020624, -0.3951275349, 0.2470336407, -0.3706091642, -0.3346693218, -0.0307743065, 0.2142698616, 0.1008818075, -0.4066052735, -0.4428607225, -0.023472853, -0.2596363425, -0.5239236951, 0.7172417641, 0.7916225791, -0.1130468324, 0.6819037795, 0.0488171093, 0.0449108779, -0.388686955, 0.1536322236, 0.7562770247, -0.914093852, -0.8555909991, -0.7042138577, 0.5293540955, -0.1158713549, -0.507288456, 0.7294510603, 0.8364569545, 0.5564803481, 0.2445324957, 0.5674852729, -0.2807677686, 0.5724974275, -0.2566423416, 1.2527623177, -0.8435355425, 0.4448722899, -0.449700743, -0.8743032217, -0.2605736852, 0.0652119964, -0.0659269765, 0.132462889, 0.8878185153, 0.5521144271, -0.1303097308, -0.0465603806, 0.1450063586, 0.5962166786, 0.5121485591, 0.1216440797, 0.5885078311, -0.214729771, 0.6117428541, -0.381834805, -0.6663794518, -0.1836110353, -1.1565711498, -0.8601464629, -1.0204585791, -0.7844521999, -0.5077590346, 0.0400775559, 0.6392003298, 0.2912844419, -0.855851531, -0.0237223376, -0.0015209058, -0.0277326759, -0.5273471475, -0.2019446045, 0.433627516, 0.0381525569, -0.7432650924, 0.4339428246, 0.6038771272, 0.4132121205, -0.0110546974, 0.5220912099, 0.2510284483, 0.0311309956, 0.5774825811, 0.0439786091, -0.4318635464, -0.010082298, -0.2194132656, -0.1429570913, -0.0052768732, 0.7079383135, -0.48756513, 0.2346273363, 0.5593276024, 0.416710645, 0.4794713259, 0.1801034659, 0.5108944178, -0.5617325902, 0.1774176359, 0.3117951453, 0.0151091525, 0.1768570095, -0.2657344341, -0.0347892344, 0.4695160091, -0.5834997892, -1.2197630405, -0.0206467006, -1.3231116533, -0.5238475204, 0.9934535027, 0.1038212553, -0.0426483974, -0.3217972815, 0.0439220406, 0.1141639352, -0.4712562859, 1.3419510126, 0.5411553383, -0.1326820403, 0.2933457494, -0.0409518965, 0.5847436786, 0.3901119232, -0.9404623508, 0.6050437689, 0.6831988692, 0.1701435149, -0.2444074452, 0.8147586584, 0.0234102793, 0.0246360432, 0.2042208314, -0.176912114, -0.2309374213, -0.3177078366, -0.2505543828, 0.5788921714, -0.1728828996, 0.0417263843 ]
http://arxiv.org/abs/2402.10553v1
http://arxiv.org/pdf/2402.10553v1
A novel integrated industrial approach with cobots in the age of industry 4.0 through conversational interaction and computer vision
2024-02-16T10:35:01
2024-02-16T10:35:01
Andrea Pazienza, Nicola Macchiarulo, Felice Vitulano, Antonio Fiorentini, Marco Cammisa, Leonardo Rigutini, Ernesto Di Iorio, Achille Globo, Antonio Trevisi
cs.RO
cs.RO, cs.CL, cs.CV, cs.LG
From robots that replace workers to robots that serve as helpful colleagues, the field of robotic automation is experiencing a new trend that represents a huge challenge for component manufacturers. The contribution starts from an innovative vision that sees an ever closer collaboration between Cobot, able to do a specific physical job with precision, the AI world, able to analyze information and support the decision-making process, and the man able to have a strategic vision of the future.
[ -0.6218111515, -0.6087704301, 0.8351359963, -0.0738289207, -0.049721051, 0.4127358496, 0.5043990016, -0.9499286413, 0.3773868084, 0.5443738699, -1.1854355335, -0.2210152894, -0.1354818344, 0.05153431, -0.2452097833, 0.4870171249, -0.0725830346, -0.4134348035, -0.37417081, 0.0173888169, -0.8791685104, -0.6606150866, -0.5563547611, -0.467296809, 0.2135144621, 0.3873226643, 0.7119516134, 0.2528077066, 0.984549284, 0.5470403433, 0.5106415749, 0.0580392815, -0.063253887, -0.00460723, -0.3557298183, -0.4910986722, -0.8371393085, 0.1812793314, -0.1562769562, 0.8740552068, 0.1663743109, 0.0019374866, -0.0319623612, 0.3866172135, -0.2566128671, 0.5259384513, -0.4537266493, 0.3942442238, 0.1182291135, -0.5444366336, -0.1284154803, -0.1919984668, -0.0121777896, -0.7839124203, 0.174153313, 0.1223453134, 1.0104043484, 0.4622994661, -0.1453043967, 0.0257329606, -1.1587666273, 0.7030777335, -0.3526628017, 0.2728117406, -0.0991495848, 0.8205680847, -0.3990942538, -1.0539540052, -0.7057839632, 0.2874373794, 0.2562993765, 0.5448099375, -0.2270810306, 0.2946627438, -0.1975801438, 0.2789298892, -0.1040732935, 0.3237067163, -0.6667976975, -0.3969582617, 0.7064170241, 0.3232346773, 0.3037804365, 0.1705740541, -0.7783846855, 0.0099953385, -0.1318818778, -0.1405654103, 0.5147354603, 0.1175781116, -0.1637221575, 0.2109432518, -0.6132509112, 0.5446915627, 0.187192753, 0.0969433337, 0.6502264142, -0.6916118264, -0.2807821631, -0.0737105384, 0.8231804967, 0.7070778012, -0.2277218997, 0.032718949, 0.0856130943, 0.3233899474, 0.5218262672, -0.0929510072, -0.3116120398, 0.451277554, -0.1989724189, -0.1756692529, 0.2103404999, -0.807520628, -0.1790308356, -0.6101617813, 0.5031483173, 0.2279610932, -0.1013902053, 0.203248173, -0.6032819152, 0.6026991606, 0.8758528829, -0.7243730426, 0.042683553, 0.9219771028, 0.785515368, -0.0117964093, -0.0034831094, -0.2375433743, 0.4828665853, -0.5108571649, 0.831746161, -0.2467135489, -0.2682889104, -0.2536213696, 0.2463554591, 0.3600738347, -0.6467393637, 0.0744778812, -0.5028744936, 0.4152924716, 0.2648581862, 0.1846723408, -0.5640854239, 0.5760700107, -0.846077919, 0.546775043, 0.1930579096, -0.2884266376, 0.4467501938, -0.9161704779, -0.1983443946, 0.6140380502, -0.8235276937, -0.4606812596, -0.3707486093, -0.2387833893, 0.552590251, 0.0660770386, 0.0868419483, -0.6126756072, 0.1452293247, 0.1725068688, -0.2965729833, 0.7038798332, 0.1002396718, -0.4277122915, 0.3570334315, -0.5646004677, -0.1837702841, -0.2075354457, 0.2481801957, 0.067764543, -0.225862965, -0.249052003, 0.6014912724, 0.8749264479, -0.6068536043, 0.014702295, -0.5383091569, 0.3846488297, 0.8436255455, 0.3469938338, 0.6570327282, -0.3291725814, 0.7427914143, -0.0784136131, 0.6752795577, -0.2445600182, -0.472194612, -1.0304806232, -0.2112610191, -0.5061861277, 0.4148946702, -0.9700416327, 0.692281127, 0.1464331597, -0.4251050651, -0.2939353883, -0.127573669, -0.0887407809, 0.564234376, 0.1953350604, -0.9834033847, -0.5956133604, -1.0741978884, 0.2052275538, -0.0542602651, -0.2142824382, 0.194298625, 0.3138513267, -0.4463506043, 0.9323113561, -0.3761233389, -0.5892987251, -0.3444783688, 0.1659464985, 0.7461214662, 0.5007343888, 0.1296773106, -0.9735850096, -0.3219658434, 0.6236840487, -1.1692618132, 0.3646404743, -0.1042895913, -0.1880579591, 0.3003638387, 0.9558687806, -0.5269331932, 0.6107900143, 0.3899373412, 0.0696686804, 0.3265060186, -0.2522213459, 0.1756464839, -1.0825098753, 0.0931190327, -0.0389195718, -0.1381652057, -0.7808730602, -0.0356817953, -0.7052474618, -0.2221262008, -0.5729686022, 0.1006284356, -0.3320838213, -0.4102004766, -0.1739179045, 0.2701886296, 0.2971722782, 0.6170520186, -0.0916471779, 0.5151548982, 0.0549860746, -0.690371871, 1.0355541706, 0.5485734344, -0.2836408913, 0.7367655039, -0.5491933823, 0.2724131644, 0.2180252671, 0.4500844777, -0.8041075468, -0.4603715241, 0.6351253986, -0.6010245681, -0.2204528451, 0.7542098165, -0.4284102321, -0.8477497697, -0.2411846519, 0.2589224875, 0.1765525937, -0.2554178536, 0.993585825, 0.5575389266, -0.485391587, -0.2912180722, -0.7932394743, 0.3361825347, -0.162908867, -0.6989448667, 0.4707207978, -0.0518482514, -0.4167311192, -0.2498623729, -0.1299183518, -0.3118089139, 0.1045786813, -0.0087773288, 0.6976525784, 0.2136458308, -0.2296723276, -0.1115201116, -0.6285502911, 0.3373186886, 0.0132131893, 0.8109331727, 0.1200242117, -0.4114730954, -1.4894117117, 0.3068142831, 0.7091753483, -0.0441625342, 0.1112704352, 0.204765588, -0.3433465064, 0.0070541753, -0.1723955423, -0.3614693582, -0.682117641, 0.5344077945, -0.3802328706, -0.4214146137, 0.4070305526, -0.4409267902, 0.0668461397, 0.5213354826, 0.756583631, -0.4373362958, 0.8539899588, 0.971532464, 0.1127352938, 0.3136063218, -0.4268816113, 0.7895141244, -0.4926785231, -1.0651711226, -0.4847796857, -0.5110007524, -0.69503057, -0.3089009225, 0.622284472, -0.4658966959, -0.4382223189, 0.4710989594, -0.6846525073, 0.0404901654, 0.9803698063, 0.274336189, 0.5352604389, -0.6785336137, 0.367328763, 0.2410549968, -0.7648897767, -0.5626244545, 0.1865058392, 0.4148358703, 0.349153161, -0.1755026579, 0.3635722995, 0.4473190904, -0.3846748769, -1.0591975451, 0.8363623619, 0.3369977176, -0.7795315385, -0.2366550118, 0.1994749308, -0.96809268, -0.3272510767, -0.0178312194, -0.5313476324, 0.5144579411, 0.3715613186, -0.4799595177, 0.204779312, -0.7752427459, 1.101018548, -0.4712068737, -0.2080153823, -0.4817297757, -0.9973078966, -0.0017869415, -0.1474566907, 0.49308002, -0.3185748756, -0.0875266343, 0.5676258206, -0.4499459565, 0.967635572, 0.0164910164, -0.0406665951, 0.3860748708, -0.291477412, 0.1654500812, -0.5687932968, -0.0184651613, 0.6002178788, -0.2862070203, -0.1165160239, -0.6008380651, 0.1364067495, -0.6096377373, -0.4526830018, -0.8370215297, -0.7070044279, -0.2412093282, 0.3282061219, 0.1841212213, 0.0748171359, -0.2632704675, 0.2095850855, -0.025740305, -0.473467499, 0.7849775553, -0.0294423997, 0.1905034184, -0.2665599585, 0.6856328249, -0.1528825313, 0.3613485992, 0.5959723592, -0.2454658598, 0.0350525789, -0.0674079582, -0.3743202686, -0.3555357158, -0.7009909153, -0.3466828465, -0.4922141433, -0.2735772431, -0.0836788788, -0.6896438599, -0.3442807794, -0.2495873719, -0.3591950536, 0.1002386808, 0.2457254678, 0.9230903387, 0.1008756012, 0.3494509757, -0.6025797725, 0.0973976851, 0.4727160931, 0.2575899065, -0.1905398965, 0.1439245492, -0.4143061042, -0.0392105244, -0.6232159138, -0.2315210402, 0.4574375749, -0.1858481318, 0.6234972477, 0.4388759136, 0.0504134744, 0.3941326439, -0.5047479868, 0.9061462879, 0.7633098364, -0.9409103394, 0.3690696061, -0.5498820543, 0.323972404, 0.3003883362, 0.4093025327, -0.4269994199, -0.3068507314, -0.8046504259, -1.0182727575, 0.5917503834, -0.1531426758, 0.0618135147, 0.4942843914, -0.1293872893, 0.3534870148, 0.3788733184, -0.3858400881, 0.0614263043, 0.00225882, -0.4859597087, 0.0350684412, 0.3642802238, -0.164353326, -0.0202969629, 0.2976997793, -0.1163085625, 0.8875834942, -0.2192923129, 0.6195177436, -0.0512746349, 0.0030483184, 0.1395448148, 0.5786780715, -0.0967054367, -0.0444070734, 0.06762629, -0.3318478465, 0.0137831541, -0.3235243857, 0.3287378848, -0.282476604, 0.2641252279, 0.4341638386, -0.0972669646, -0.2924200892, 0.3687164783, 0.3801754415, -0.3504041135, -0.772223711, 0.2706288695, -0.2064283788, 0.7909018993, 0.5101292729, 0.5513634086, 0.4060434699, -0.8864908218, 0.4563412368, 0.4187572598, -0.6810705662, -0.6838197112, 1.0199594498, 0.7832717299, -0.6886675358, 0.115470767, -0.1385371536, -0.6726552248, 0.954585135, 0.1984811425, 0.8105688095, -0.0037539487, 0.0475903377, 0.1123718396, 0.2227322608, 0.1436254978, 0.1915854067, 0.1037394181, -0.8632053137, -0.4269039631, -0.0488518551, -1.1894671917, -0.0231830403, -0.2700276077, 0.6540004015, -0.7298746109, 0.1280084252, 0.0998842642, -0.1222333834, -0.7794522643, 0.6726406813, -0.113860257, 0.1119715124, -0.746512413, 0.426212281, 0.4037471712, -0.6872372031, -0.2669005096, -0.1614023447, -0.097138688, -0.979878366, 0.8268404603, 0.4019323587, -0.4586035609, 0.0339949019, -0.6794358492, -0.5615676045, 1.142047286, 0.0427855775, -0.6938050985, -0.0317899995, 0.1951819658, 0.3833998442, -0.3005490899, -0.0799001083, 0.2558529079, 0.4418689311, 0.1588780284, -0.9085970521, -0.1382541955, -0.2375297099, -0.1768115014, 0.2802236676, -1.0725405216, 0.5932090878, 0.3351506591, -0.0672605336, -0.0355280563, 0.8710669279, -0.0492523164, 0.9629888535, 0.4712570012, 0.2272260636, 0.5071688294, 0.035831932, 0.6104081869, -0.2475094646, -0.0684610605, 0.8900709152, -0.2028944045, 0.5639888048, 0.3937847018, -0.2126948088, 0.9225658178, 0.344636023, -0.1598465592, 0.4763188958, -0.4350633025, -0.5477792621, 0.043079704, -0.1418725252, -0.0940805078, 1.0222678185, 0.3021227121, 0.1986976415, 0.4242765307, 0.2430805266, -0.2154893428, 0.2576442957, -0.3669490516, 0.8140057921, -0.1614224613, -0.3225708008, -0.1505451202, -0.4368952513, 0.6007835269, -0.1262494922, -0.4136868715, 0.1359819174, 0.4661165178, -0.1994750202, -0.7807111144, 0.6941735148, -0.567650497, -0.0184493195, -0.3617711365, 0.6756759286, 0.1164341941, -0.320908159, 0.2080544978, 0.2975133955, 0.2641360164, 0.2157377601, -0.3615009189, 0.1765113026, 0.0351055786, 0.4331270754, -0.141394034, 0.59340626, -0.0776902735, 0.6706023216, 0.1604757309, -0.5015074015, -0.3848459423, -0.2808740139, 0.6675409675, -0.9016217589, -0.4562153816, -0.4361656606, 0.714577198, -0.3686719835, 0.0313057788, 0.8639814854, 0.5298827887, 1.2450635433, 0.0245326683, 1.1934367418, -0.1857851595, 0.3852245808, -0.1267169118, 0.3910694718, -0.6158021092, -0.1318571419, -0.4635095298, -0.5776981711, -0.5380238891, 0.6615983844, -0.2332171947, 0.2654588819, 0.5377762914, 0.5681704283, 0.0236896463, -0.1485001743, 0.489543438, 0.0454326086, 0.6038398147, 0.3493452668, 0.6621592045, -0.4567029774, 0.4611018598, -0.1202236116, -0.4720599949, -0.4906642437, -0.8661988378, -0.3083106875, -0.6698508263, -0.1818960458, 0.0127749108, -0.3153388798, 0.8492751122, 0.610342741, -0.6751102209, -0.422115922, -0.5414936543, -0.3830021024, -0.4270458519, -0.1801501215, -0.1256206483, -0.2256104648, -1.0829991102, 0.2744584978, 0.9546587467, -0.2194984555, -0.5883547068, 0.116936408, -0.2202000767, 0.1699588448, 0.7003577948, 0.2286344767, -0.3522696793, -0.5432606339, 0.0425133854, 0.2767467797, 0.364374876, 0.1199141517, -0.7591183186, 0.7660761476, 0.4644164741, 0.6338425279, 0.3814482689, -0.0265520792, 1.134388566, -0.4231207669, 0.5455382466, 0.3469774127, 0.0814778879, 0.447956264, -0.3861719072, 0.5869974494, 0.4517454803, -0.6890318394, -0.2947704792, 0.6291849613, -1.3366436958, 0.0169982444, 0.3236745, 0.2519279718, -0.3121376336, -0.6331923008, -0.2714371681, 0.6387873888, -0.3088864684, 0.8606509566, 0.3611030281, -0.5662606359, 0.056861002, -0.6510010958, -0.0578893013, 0.1517739445, -1.1922463179, -0.598654747, 0.6087967753, -0.5739421248, 0.5761401653, 0.5412074327, -0.0446099751, 0.1877342314, 0.3948118985, 0.7172062397, 0.3445291221, -0.5348519087, -0.1313815713, 0.0702293888, 0.0941579491, -0.7898849845 ]
http://arxiv.org/abs/2402.10552v3
http://arxiv.org/pdf/2402.10552v3
Conversational SimulMT: Efficient Simultaneous Translation with Large Language Models
2024-02-16T10:32:16
2024-06-21T07:18:13
Minghan Wang, Thuy-Trang Vu, Yuxia Wang, Ehsan Shareghi, Gholamreza Haffari
cs.CL
cs.CL
Simultaneous machine translation (SimulMT) presents a challenging trade-off between translation quality and latency. Recent studies have shown that LLMs can achieve good performance in SimulMT tasks. However, this often comes at the expense of high inference cost and latency. In this paper, we propose a conversational SimulMT framework to enhance the inference efficiency of LLM-based SimulMT through multi-turn-dialogue-based decoding. Our experiments with Llama2-7b-chat on two SimulMT benchmarks demonstrate the superiority of LLM in translation quality while achieving comparable computational latency to specialized SimulMT models.
[ -0.0851313248, -0.7753388286, 0.6087292433, 0.6647670865, -0.6882193089, 0.4882642329, -0.1842492819, -0.4017519057, 0.1947988719, 0.7478683591, -0.5569017529, -0.4059481621, -0.534072876, 0.1312799007, -0.3080925345, 0.5038601756, 0.1094861478, 0.4365657866, -0.3091701567, -0.0406690128, -0.3879734278, -0.6995778084, -0.6929711699, -0.3674023151, 0.3218868673, 0.2957848012, 0.9303100705, 0.514960885, 0.453964442, 0.2858698368, -0.0524142012, 0.6145788431, -0.5784448385, 0.2341233343, 0.4102219641, -0.7708625793, -0.5641263723, -0.3412317336, 0.5962836742, 0.7378743291, -0.1519512832, -0.2265837342, -0.052022092, 0.4511744678, -0.157158047, 0.3991196156, -0.4545427561, -0.2140394896, -0.0850108042, -0.4697222412, -0.7032231688, -0.5257071257, -0.3079321086, -0.4084776044, 0.0597586073, 0.3127833605, 0.5151365399, 0.5602059364, -0.4861025214, -0.1000296175, -0.7329298258, 0.9209395647, -0.9796190262, 0.5606991649, 0.1208937243, 0.4191142619, -0.5239108205, -0.6513538957, -0.5274027586, -0.2004831433, -0.1024079844, 0.3439477384, -0.071763657, 0.2351730764, 0.0990039185, 0.4827847183, -0.5254771709, -0.0990619436, 0.0608158223, -0.023092201, 0.4740912616, 0.3924178481, 0.1236849651, -0.0210447703, -0.3530153036, -0.1107300967, -0.5173888206, -0.2074695975, 0.4485591352, 0.2535914183, -0.1775354445, 0.602428019, -0.2610066235, 0.3612216711, -0.2305366397, -0.423293978, 0.2807503045, -0.5140474439, -0.1156718731, 0.0062483363, 0.8059365153, 0.4481011629, -0.0914105698, -0.316803813, -0.0294794552, -0.0011670808, 0.119648695, -1.0356057882, 0.0182741024, 0.4247724712, -0.3822261095, -0.0501225069, -0.0429074354, -0.6508663297, -0.0713599995, -0.1458067894, 0.0192400962, -0.552372098, -0.2628909349, 0.4470324814, 0.130599767, 0.2252851278, 0.705596745, -0.4600068629, 0.3860526979, 0.5905156732, 1.0502634048, -0.4772295356, -0.0799494013, -0.6477031708, 0.2635724247, -0.2732928395, 0.6938177347, -0.4071074128, -0.5951988697, -0.2406918257, -0.3555943668, -0.2973054051, -0.5416995287, 0.4775294065, -0.430108726, -0.0972915515, 0.0203572512, -0.4312833846, -0.2670073211, 0.1672441065, -0.5917606354, 0.9420132041, -0.303635329, -0.6153516173, -0.218696937, -0.5307908654, -0.6699825525, 0.1425728053, -0.092600815, -0.332267642, 0.2811235189, 0.432967633, 0.389929384, -0.5828081369, 0.4469367862, -0.2360163033, -0.5440638065, 0.6790714264, -0.8621567488, 0.5069382191, 0.4494813681, 0.0053895884, -0.0846289843, -0.5906193256, 0.0425011143, 0.1427208781, -0.5049213171, 0.147927165, 0.0347570889, 0.0599578433, 0.1855970323, 0.1057769358, -0.3608658016, 0.286773324, -0.4810846448, 0.1780323088, 0.2907911539, -0.0309210401, 0.1834761351, -0.4814544618, 0.5110390782, 0.4047993124, -0.0917192027, -0.3292648494, -0.6015706062, -1.168941021, -0.5738770366, 0.189440161, 0.6868267655, -1.1028797626, 0.0055187154, -0.3790643811, -0.3782111406, -0.870690167, 0.0969691873, 0.386210531, -0.0576611087, 0.5185484886, -0.2657028139, -0.3804701865, -0.7173311114, -0.3741784096, -0.1648261547, 0.1372148395, 0.5440425873, 0.0056381193, -0.2285548598, 0.5917654037, -0.3825851381, 0.0257593337, -0.5814865828, 0.3547054529, 0.3960785568, 0.4179136455, 0.1868967861, -0.7257409692, -0.336401552, 0.0552458093, -0.7192311287, -0.3783802092, -0.4473235607, -0.2822674215, 0.1270755827, 0.6714121699, -0.6837933064, 0.3598649502, 0.7409268022, 0.1416598409, 0.3801211417, -0.2020471096, 0.3796465695, -1.2860455513, -0.1315489113, -0.5766021609, -0.5554454923, -0.7188801765, -0.188858211, -0.0186526477, 0.2639841735, -0.6332883239, 0.3029377162, -0.4987433851, -0.2737462819, -0.1413646936, 0.0040993122, -0.0134826889, 0.6401227713, 0.1128400192, 1.193125844, 0.0398774035, -0.5103129148, 0.2278263122, 0.3170422018, -0.0836166367, 0.5854297876, -0.5369812846, 0.1871262342, 0.2246526629, 0.5299721956, -1.0952935219, -0.36084342, 0.1388462931, -0.3371424675, 0.2751277685, -0.2354335636, -0.7591979504, -0.1143004, -0.095826894, 0.5726003051, 0.5338202715, -0.6431776881, 0.7047597766, -0.004598015, -0.2516072989, -0.4130560458, -0.8290997744, 0.4311506748, -0.0928683951, -0.8363469243, 0.1245585456, -0.1659148932, -0.038303446, -0.5029138327, -0.031190522, 0.0820068568, 0.0344942734, 0.4933995903, -0.0638743713, -0.2345177829, -0.15311037, 0.3783889115, -0.2653965056, -0.0168557167, -0.1508539319, 0.8032979369, -0.1865783632, -0.7703416944, -0.5414447188, 0.5789909363, 0.7272003293, 0.0819252133, 0.8205716014, 0.5009895563, 0.0992332995, -0.0849202871, -0.8653473258, -0.1356650591, -0.4368039072, 0.2542255521, -0.632770896, -0.8115279078, 0.4291892946, -0.5813382268, -0.115489386, 0.0022306854, 0.8540036082, -0.1221820936, 1.189871192, 0.2658005357, 0.406293869, 0.3258430362, -0.0499605797, 0.2757775187, -0.7561400533, -0.272654891, -0.3480559289, 0.035710372, -0.4556884766, -0.9253652096, 0.3446686268, 0.2213372737, 0.0979532227, 0.1953035444, 0.1355789602, 0.300236553, 0.6180598736, 0.2748135924, 0.843973279, 0.169908002, -0.2885413766, -0.0834121928, -0.8301230073, -0.6014547348, 0.6860638857, 0.3445079625, 0.9494641423, 0.3730975986, 0.6202212572, -0.0721852407, 0.1846338063, -0.7876123786, 0.6489343643, -0.0103042033, -0.3572152555, 0.0890164673, -0.6673771739, -0.7331461906, 0.5696439743, -0.0238256771, -0.4754160047, -0.2227777541, 0.133738786, 0.0584921986, 0.2534300089, -0.5469045043, 0.5525343418, -0.388864696, -0.3634819388, -0.3904953599, -0.6481149793, 0.481869638, -0.1460306048, 0.1436628848, -0.3661380112, 0.0137038454, 0.3579955995, -0.3924297988, 0.7736214399, 0.2040792257, 0.0559376106, -0.0328747965, 0.2692278922, 0.4229027629, 0.2343841642, -0.1378183365, 0.4280539155, 0.043689236, -0.4498054385, -0.5557554364, 0.4595789909, -0.801857233, -0.581740737, -0.3802997768, -0.9998040199, -0.3537782431, 0.0491130613, 0.1880212575, 0.2277003974, -0.2794772387, 0.144851476, 0.4918245971, -0.2870253623, 0.3035147488, 0.3469006121, -0.4259951711, -0.4779662192, 0.7800244093, -0.1739814878, 0.6585937142, 0.4549927413, -0.1277759373, -0.3717841804, -0.6900244355, -0.7281349897, 0.4759596884, -0.6554913521, -0.3215343952, -1.0355728865, -0.1749932617, -0.2025899887, -0.0374224931, -0.6915689707, -0.387262404, -0.1916770488, 0.2952906191, 0.28247118, 0.5765001774, 0.0524383113, 0.8116278648, -0.8434208632, 0.4983000457, 0.0841021389, 0.0658839718, -0.2323642075, -0.488132596, -0.1170477942, 0.2078520209, -0.0512485616, -0.7357208133, 0.5795322061, -0.0980384052, 0.4679971337, 0.1781913638, 0.0881847739, 0.8270287514, -0.4457506537, 0.6122421026, 0.3715131581, -0.9857037663, 0.1538482904, -0.1764999628, 0.5623661876, 0.4442664981, 0.0496829562, -0.6703653932, -0.525668323, -0.3247147202, -0.7048253417, 0.9747676849, 0.6580450535, 0.1605143845, -0.0162082296, 0.1521448046, 0.1779408604, 0.3201503754, -0.4167063832, -0.3252871633, -0.0806278214, -0.2848403454, 0.0383332297, -0.4933651686, 0.0155741256, -0.0317443274, 0.7329999208, -0.3117414713, 0.4372993112, -0.0590171702, -0.306219101, 0.2114014328, 0.4027256966, 0.4408695996, 0.2593715489, -0.2229543924, 0.2834029496, 0.5052495599, -0.4284049273, 0.3222078681, 0.0409856141, -0.0535278171, 0.1394292563, 0.2857574522, 1.0220630169, 0.3978962898, -0.4831332266, 0.4838410318, -0.3546461761, 0.0179572292, 0.1200937033, 0.1892835498, 0.483337611, 0.4632925391, 0.20969069, -0.0488343984, 0.1335364282, -0.140457049, -0.0923509821, 0.2818686962, -0.0369885899, -0.0546619073, 0.6077550054, 0.2897616625, -0.3923573792, 0.5193495154, -0.0429166481, -0.5272974372, 0.3411063254, 0.7129064798, 0.7322024107, -0.2629107535, 0.0849817544, 0.1335159689, 0.1242917776, -0.2941708863, 0.3050532937, -0.1244398206, -0.5291011333, -0.7503423095, -0.7449426055, -0.9335517883, -0.1131138951, -0.6025063396, 0.1487928927, -0.018967431, 0.0023489404, -0.3998653591, -0.2637219429, -0.461813271, -0.0491030477, 0.0364024751, 0.6440387368, -0.420955956, 0.9628322124, 0.3503822684, -0.109110035, -0.5073987246, -0.0260917377, -0.1420337111, -0.712600112, 0.3809743822, 0.3104707301, -0.7157017589, 0.2183048427, -0.4395389557, -0.6573546529, 1.0771862268, 0.7991788387, -0.6648948789, 0.2039818913, 0.7198255062, 0.329926461, -0.3944446445, 0.4428887963, 0.7756766081, 0.33449018, 0.6016663909, -0.8794612885, -0.0987848267, -0.1040857136, 0.1484485269, 0.0611058585, -0.7570304871, 0.5345429778, -0.1256028265, -0.4077326357, 0.2110358179, 0.7608287334, 0.1951986849, 0.2377549708, 0.299425602, 0.2815638483, 0.4666473866, -0.1698880494, 1.1591874361, -0.2107750326, 0.2431146055, 1.1638816595, -0.0960660949, 0.8907171488, 0.7290366888, -0.2695034742, 0.0449065305, 0.4350359738, 0.4464408755, 0.3798693717, 0.0720322132, -0.4481661618, -0.7706976533, -0.1905582696, -0.3855579793, 0.3459522724, 0.5002431273, 0.0007885987, -0.0803141668, -0.1869899482, 0.2165437341, -0.0736783072, 0.2213867158, 0.8912150264, 0.327082485, -0.5410314798, 0.6087684035, 0.0727852434, 0.5145609975, -0.377794385, -0.13750799, -0.6935560703, 0.2030392587, -0.0152584892, -0.4512384236, 0.167552501, -0.1931214631, 0.0655413941, -0.1747828424, 0.3664995134, -0.7840771079, -0.552400291, 0.4149758816, 1.0153981447, 0.6410979629, -0.0581339411, -0.6574288011, 0.5524049997, 0.0270345565, -0.3201048672, 0.0523200668, 0.4979110062, 0.0643619075, 0.751140058, 0.8811018467, -0.0398438014, 0.2035128772, 0.2956179678, 0.9038438797, -0.576120317, -0.5367816687, -0.8451189995, 0.2666255236, -0.1177899987, 0.0896698087, 0.729054749, 0.5636493564, 0.5525701046, 0.1009675711, 0.6353473067, 0.4082732201, 0.2619524896, -0.7986594439, 0.3766745329, -0.5083889365, 0.5399135351, -0.1570752263, -0.9501268268, -0.4689816236, 0.5396437049, -0.0962363705, -0.0570360832, 0.7613157034, 0.9527291059, -0.3316183984, 0.1383670717, 0.6829372048, 0.2636939883, 0.6006093621, 0.7314634323, 1.0569452047, -0.51276052, 0.757447958, -0.0813117027, -0.0299902745, -0.7122019529, -0.9055252671, -1.1040021181, -0.1824610233, -0.2360755503, -0.4442210197, 0.1896791309, 0.9914444685, 0.724722743, -0.7034668922, -0.3895694911, 0.0391094051, 0.1499350369, -0.239954114, -0.1281751543, 0.1133268997, -0.4452076554, -1.0479615927, 0.5865290761, 0.5422750711, 0.1633952707, -0.0457635075, -0.4557178915, -0.2340190411, 0.4862578511, 0.531545639, -0.1929054409, -0.9199025631, 0.0849286541, -0.0709099174, -0.3548884094, 0.3313820362, 0.9036142826, -0.4883296192, 0.4462807477, 0.2692375779, 0.9223754406, 1.0717983246, 0.1388824582, 0.6312975883, -0.6333546638, 0.3822897077, 0.0855394602, 0.284971565, 0.5262675285, -0.2514660954, 0.5796208978, 0.2182624191, -0.3384085596, -0.7289216518, 0.2155848891, -1.2814255953, -0.0832323059, 1.3180017471, -0.2344212681, -0.1733441204, -0.3076921701, -0.6378178, 0.4068147838, -0.4964495897, 0.1779339314, 0.530192256, -0.2708975375, -0.3745467067, -0.6734290123, 0.2589516044, 0.7131899595, -1.0581632853, 0.071127221, 0.4209365249, -0.1210652664, -0.055621542, 0.5615083575, -0.0436653458, 0.1128467545, 0.2034674883, -0.0649665743, -0.3887741864, -0.2440318912, -0.2003562897, 0.1559893042, 0.0714593455, -0.1349816024 ]
http://arxiv.org/abs/2402.10543v1
http://arxiv.org/pdf/2402.10543v1
Strong hallucinations from negation and how to fix them
2024-02-16T10:11:20
2024-02-16T10:11:20
Nicholas Asher, Swarnadeep Bhar
cs.CL
cs.CL, cs.AI, I.2.7
Despite great performance on many tasks, language models (LMs) still struggle with reasoning, sometimes providing responses that cannot possibly be true because they stem from logical incoherence. We call such responses \textit{strong hallucinations} and prove that they follow from an LM's computation of its internal representations for logical operators and outputs from those representations. Focusing on negation, we provide a novel solution in which negation is treated not as another element of a latent representation, but as \textit{an operation over an LM's latent representations that constrains how they may evolve}. We show that our approach improves model performance in cloze prompting and natural language inference tasks with negation without requiring training on sparse negative data.
[ -0.3900674284, -1.0918194056, 0.7689966559, -0.1064793542, -0.2041172236, -0.3109776974, -0.2740783989, -0.6489459872, 0.454782784, 0.9434328079, -0.5584387183, -0.1632311046, -0.7565485239, 0.1467955858, -0.4356838763, 0.9217176437, 0.4008500874, 0.2812755704, -0.0596695617, -0.098862797, -0.8754783869, -0.8498203158, -0.4603194296, -0.5993041396, 0.4177159965, 0.2791129053, 1.1745752096, 0.1968749613, 0.2435211241, 0.299593091, -0.0070892209, 0.2303640097, -0.5373485088, 0.4857226312, -0.3815228045, -0.4906049967, -0.1644996703, -0.2909819484, 0.2074926496, 1.0200818777, -0.1436693519, -0.4211393893, -0.0029658529, 0.4342828989, -0.3200407326, -0.1168888286, -0.9234498739, 0.2595172524, 0.0739075094, -0.1716865897, -0.6568036079, -0.2800309956, 0.1354372203, -0.2669136226, 0.2090387493, -0.1537918746, 1.0093312263, 0.5068362951, -0.4182603359, -0.4985291362, -0.8103506565, 0.7438290715, -0.8377076983, 0.3582157791, 0.5006625652, 0.2007221729, -0.5520113111, -0.3869666457, -0.6263937354, -0.5909831524, -0.2419788092, -0.3562796116, 0.0497954525, 0.1535603255, 0.5256061554, 0.2269665897, -0.4238830209, 0.1104765832, -0.3528602719, -0.4573862851, 0.4567118883, 0.2195545435, 0.3389038444, -0.1722880602, -0.0619461946, 0.0473482125, -0.6712455153, -0.4151616395, 0.4819467962, 0.3597606421, 0.303894192, 0.7999777198, 0.1633902341, 0.8342959881, 0.2071442604, 0.1393815577, 0.265522331, 0.1205212772, -0.1973044425, 0.1831142604, 0.2590254843, 0.05298407, 0.3771929443, -0.4244040847, -0.4045759439, 0.6074063778, 0.5096055865, -0.5986596942, -0.4646521509, 0.2923586965, -0.3998587132, -0.011506754, -0.1414007694, -0.6894373894, -1.0650110245, -0.5803268552, 0.8065093756, -0.4375188053, -0.2906782627, 0.2583783865, -0.0361393653, 0.0684346855, 0.3982506394, -0.886179328, 0.4975772202, 0.4185548723, 0.5298269987, 0.1936689764, -0.0832244679, -0.8591998219, -0.3256070912, -0.580168128, 0.6641578078, -0.7114276886, -0.1528643966, -0.1307577044, 0.1968467683, 0.0522823669, -1.0501106977, 0.3643208146, -0.2596120536, 0.227871865, -0.1719332188, -0.5425692201, -0.4014726877, -0.0262903329, -0.6815125942, 0.7333840132, -0.0168962441, -0.4017294347, 0.0797383934, -0.2943180799, -0.6017155647, -0.0645836741, -0.2571709156, -0.2643887699, 0.5835592747, 0.0922483131, 0.4817575812, 0.0457746871, 0.4100745618, -0.3816995025, -0.3894179463, 0.3563154638, -0.0436030403, 0.851251781, -0.0851438567, -0.5949704647, 0.5468634367, -0.6439262033, -0.2388321757, 0.3099991679, 0.3757731616, -0.4415856004, 0.2339717448, -0.4820563495, 0.1965562254, 0.0817590207, -0.2543030381, 0.2916458249, -0.648455739, 0.3676233292, 0.8683249354, 0.1040307209, 0.5454822779, -0.1181207672, 0.2581065893, 0.1360675544, -0.1648972183, -0.0367516652, -0.4859706163, -1.063368082, 0.0541299917, -0.146562174, 0.2821615636, -0.7598395944, 0.2475256771, 0.3431645632, -0.3500075936, -0.3535102904, 0.3010474741, 0.0568222143, 0.7757273912, 0.5796999931, -0.0830724686, -0.6346819997, -0.913399756, -0.1885071695, -0.1290394813, 0.0591096953, 0.0961941332, 0.6328924298, -0.5099074244, 0.3441200554, -0.4454694092, -0.2783932388, -0.2608605027, 0.3273288012, 0.4433297515, 0.3009999096, 0.2122589946, -0.5980603099, 0.0944446027, -0.2311029285, -0.9581577182, -0.2076279968, -0.3440434337, 0.041166421, 0.4279708862, 0.5925084352, -0.6193984747, 0.5206624866, 0.3441593945, -0.5523706675, 0.7370375395, -0.1143182889, -0.1086085364, -0.4902966619, -0.3610957265, -0.2859085202, -0.114722468, -0.6202215552, 0.1331908107, -0.2474666536, -0.1503536999, -0.1657071114, 0.4389677942, -0.466687113, 0.1992990673, -0.4386471808, 0.1179067865, -0.1729813516, 0.4511651397, 0.2874843478, 0.2319437563, 0.8771126866, -0.9005636573, 0.3265340328, 0.0406180285, 0.0748796016, 0.3108549118, -0.6851361394, 0.2997027636, -0.5243384838, 0.0238522254, -0.6484079957, -0.4126265645, 0.3692746758, -0.3112351, 0.1425511688, 0.0641359016, -0.5611703992, -0.2755470872, -0.0936285928, 0.1012300402, 0.4797070622, -0.6269934773, 0.5915138125, 0.235941425, 0.1843481809, -0.3219574392, -0.775243938, 0.283775568, -0.2513435781, -0.5028781891, 0.1961580664, -0.2060192823, -0.6502061486, 0.1464263201, -0.112727426, -0.0761799887, 0.1146542802, 0.3652338088, 0.0633824095, -0.2172939777, 0.3789793253, -0.0713927448, -0.0771125555, 0.2252736241, -0.1801882088, 0.7886132598, -0.0620470047, -0.3879483342, -0.3924937546, 0.2792394161, 0.5123996735, -0.0563685149, 0.8953158259, 0.3958436847, -0.928412497, -0.5947170258, -0.5021326542, -1.1080679893, -0.4114359319, 0.210024491, -0.3248601556, -0.8505164385, 0.6917427778, 0.3862161934, -0.2669884562, 0.4522113204, 0.473823458, 0.0617526993, 1.127961278, 0.2870926857, 0.3832213581, 0.202231735, -0.0520299673, 0.6087869406, -0.331343919, -0.3157188892, -0.4465191066, -0.1496700048, -0.4574366808, -0.2980968356, 0.1304860711, 0.2948079705, -0.1295065731, 0.3681775331, -0.7108439803, 0.4248992801, 0.1557537019, 0.1483986974, 0.0585197769, -0.034607958, 0.0165462345, -0.3764084876, -0.5787738562, -0.6065302491, 0.7544505596, 0.400693208, 0.8584015965, 0.2041457295, 0.707875669, 0.1868308336, 0.1425809711, -0.6847571731, 0.8582385182, -0.0073346854, -0.6531698704, -0.3010179102, -0.4715317786, -0.7773283124, 0.4450334311, -0.4783803225, -1.0654212236, 0.2105099857, 0.0959466174, -0.2106072754, 0.318643719, -0.8085641265, 0.7805848718, -0.2212477475, -0.6186711788, -0.3640683591, -0.3814882934, 0.5821463466, 0.1741657257, -0.0494636707, -0.0021283093, 0.1992886662, 0.5763287544, -0.6866133809, 0.9399392605, -0.3194743991, -0.2613290548, 0.5110206008, 0.4699806571, 0.6281147003, 0.1703686267, -0.2021981478, 0.0570216253, -0.3802734911, -0.4091859758, -0.9140075445, 0.6847633123, -0.4429445565, -0.7643437982, -0.5889389515, -0.4182933569, -0.2014306039, 0.1949453056, 0.3423753381, 0.5501123667, 0.2389464378, 0.0766649023, 0.8874437213, -0.2617191076, 0.2983579636, 0.0565288328, -0.470484525, -0.154158026, 0.8119958043, 0.3887334466, 0.1948930919, -0.0062975576, 0.1669047177, -0.3779920638, -0.5953785777, -0.1710395515, 0.3086115122, -0.9369024038, -0.080914259, -0.6969145536, -0.2874345779, -0.3187302053, -0.1356125027, -0.1972665042, -0.3360497952, -0.4771492481, -0.1436097026, 0.158339113, 0.9823780656, -0.0231257007, 0.0595946833, -0.3517945111, 0.7204447985, 0.5036067963, 0.1021328196, 0.359480679, -0.4831961095, -0.1230129674, -0.0220043752, -0.1738865525, -1.3288019896, 0.4369308352, -0.2063194513, 0.4221876264, 0.3860376775, 0.1344343573, 0.8592920899, -0.2163519412, 0.8366841674, 0.1579575241, -1.1049201488, 0.4380994141, -0.1687590331, 0.2286757678, 0.3326985836, 0.2201832235, -0.2724713087, -0.7389243245, -0.5343513489, -0.8329063654, 0.3162541986, 0.2034284472, 0.2950581312, -0.2782724798, 0.2767132521, 0.3377824128, 0.1681228429, -1.0132879019, -0.0366007425, -0.4235848486, 0.1792513281, 0.014465983, -0.3772604465, 0.0297340248, -0.3210433424, 0.7663148642, -0.050676316, 0.3783367276, 0.3640805781, -0.5142207742, -0.0105084097, 0.1714807153, 0.6208677888, 0.6439259052, -0.1235019267, 0.6102192402, 0.2353194505, 0.0811838508, -0.01253701, -0.1475663483, 0.100651361, 0.0560041927, 0.6178005934, 0.8048180938, 0.0487040281, -0.6968945861, 0.3166597784, 0.1264649183, -0.0494641028, -0.3288330436, 0.2171193361, -0.0728738979, 0.0692309216, 0.4368499815, 0.1195850596, 0.1703100353, -0.7256851196, 0.223868385, 0.4307363033, -0.540017724, -0.3630755246, 0.6085345149, -0.1698963642, -0.3503782153, 0.7640861869, -0.5018286109, -0.7165540457, 0.5275855064, 0.8026941419, 0.9450310469, -0.0367948934, 0.1993107945, 0.4561051726, 0.5467467308, -0.0070208772, 0.3828056455, 0.1991380602, -0.7928387523, -0.3913025856, -0.2773761153, -0.3103293777, 0.473415792, -0.2855188847, 0.3702470064, -0.6981236339, -0.1609736979, -0.1358323246, -0.2352987379, -0.47948578, 0.2766706645, 0.3320662975, 0.4923292696, -0.7520545721, 0.6133287549, 0.4621032774, -0.5603833199, -0.5824286938, 0.0493404269, -0.1539049894, -0.3550719619, 0.5314180255, 0.3352345526, -0.3022382259, -0.3468132615, -0.8519945145, -0.432595253, 0.253921181, 0.6213703752, -0.5119073987, 0.1558778435, -0.054875154, 0.6375104785, -0.3022358418, 0.1686019152, 0.1990030557, 0.5938745737, -0.3008420467, -0.6392501593, 0.2777329087, -0.0685694441, -0.4056378603, 0.2448831946, -0.1382492036, 0.9201722741, -0.4589124918, -0.2139713317, 0.0491406508, 0.7707404494, -0.0043096752, 0.2308003604, 0.5260445476, 0.6533772349, 1.1199499369, -0.1350373626, 0.7887984514, -0.045500163, 0.0701862648, 1.3011267185, -0.3454224169, 0.6211705804, 0.7004581094, 0.4543048739, 0.7935850024, 0.3381776512, 0.0207259115, 0.2633239925, 0.363694936, -0.066802375, -0.5696610212, -0.2500751317, -0.4449733496, 0.2910258472, 0.4617602229, -0.2009202391, -0.2580610514, 0.1882405728, 0.1191265211, 0.532034874, -0.300868392, 0.6943254471, 0.2161449641, -0.7898087502, 0.9267958403, -0.1637221128, 0.4722033441, -0.5042623281, -0.5268229842, -0.0937301666, 0.1672419161, -0.5737889409, -0.4827927947, 0.6668972373, -0.2637187839, -0.1161670089, -0.1876519769, 0.830958128, -0.3133602738, -0.2741354108, 0.6754636168, 0.1884238273, 0.2406690717, -0.0846529603, -0.3350123465, 0.2074748129, -0.088219054, -0.0289369915, -0.0382114649, 0.4269986451, -0.3418869078, 0.580776155, 0.5339980125, 0.0603271164, 0.2368336469, 0.1519948542, 0.6715011597, -0.9438092113, -0.3213344812, -1.0352131128, 0.4817843139, 0.0007947354, -0.2625788152, 0.68654567, 0.3240799904, 0.5866186023, -0.157750383, 0.5393336415, 0.0424646363, 0.1582595557, -0.5766906738, 0.6095929742, -0.5340439081, 0.2553679049, -0.2312184721, -1.0418844223, -0.5690473914, 0.8589818478, -0.6300534606, -0.155942291, 0.8881232738, 1.0764365196, 0.0507835671, 0.0572343208, 0.4008410871, 0.7894968987, 0.1140378937, 0.7063401341, 0.9481937885, -0.2520104349, 0.0993051678, -0.2643567026, 0.1307935268, -0.2926989496, -0.8576999307, -1.1760963202, -0.5720740557, -0.4518396258, -0.8084599376, 0.0168349836, 0.875439465, 0.6330131888, -0.9793843031, -0.1602722108, -0.3579180241, 0.6315109134, -0.2412268668, -0.2871216238, 0.1616021395, -0.5170147419, -0.4174442887, 0.4766883254, 0.1863654703, 0.1540973634, -0.5482228398, -0.3713314533, 0.042461507, 0.3534948528, 0.5229741931, 0.100567922, -0.8442148566, -0.2969989777, -0.0015354907, -0.0423870943, 0.0375007167, 0.5484972596, -0.9807687402, 0.5706012845, 0.4928300381, 0.5197325945, 0.4929341972, -0.4774340391, 0.4483550489, -0.1966188252, 0.2963141799, 0.6579008698, 0.2855558097, 0.5244901776, -0.3209747672, 0.2885429263, 0.2578440011, -0.2431127727, -1.1058202982, 0.4917566776, -0.5865339637, -0.6067439318, 0.8737992048, 0.4136481285, -0.1790131032, -0.1459391415, -0.2884496748, 0.0618053004, -0.1976559758, 0.8531680703, 0.86001122, -0.2560456097, -0.0788927451, -0.5630578399, 0.4170707166, 0.783513248, -0.504294157, -0.0694466904, 0.6351259351, -0.0554400496, 0.2825356126, 0.3293842673, -0.1163334921, 0.1303639412, 0.0513353124, 0.0052049905, 0.1391201764, -0.6569414139, -0.527620554, 0.4767236114, 0.172786355, 0.1811127216 ]
http://arxiv.org/abs/2402.10532v1
http://arxiv.org/pdf/2402.10532v1
Properties and Challenges of LLM-Generated Explanations
2024-02-16T09:37:54
2024-02-16T09:37:54
Jenny Kunz, Marco Kuhlmann
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
The self-rationalising capabilities of large language models (LLMs) have been explored in restricted settings, using task/specific data sets. However, current LLMs do not (only) rely on specifically annotated data; nonetheless, they frequently explain their outputs. The properties of the generated explanations are influenced by the pre-training corpus and by the target data used for instruction fine-tuning. As the pre-training corpus includes a large amount of human-written explanations "in the wild", we hypothesise that LLMs adopt common properties of human explanations. By analysing the outputs for a multi-domain instruction fine-tuning data set, we find that generated explanations show selectivity and contain illustrative elements, but less frequently are subjective or misleading. We discuss reasons and consequences of the properties' presence or absence. In particular, we outline positive and negative implications depending on the goals and user groups of the self-rationalising system.
[ -0.5773180723, -0.7916436195, 0.6264827251, 0.0775608122, -0.0723269805, -0.2768158913, -0.5013970137, -0.272818774, -0.0729333088, 0.6130433679, -0.8086410165, -0.3286444843, -0.4745929837, 0.3214986324, -0.2432365268, 1.0735861063, -0.2612795532, -0.1262875199, -0.352111578, -0.0503014103, -0.4532918632, -0.8668317795, -0.2498556077, -0.4792340696, 0.8118282557, 0.7406486273, 0.7867352366, 0.8594988585, 0.1017964706, 0.3292833269, 0.2849735618, 0.2404972017, -0.4887961149, 0.248755917, -0.2839430869, -0.4459685385, -0.2998442948, 0.3368202746, 0.6078330278, 0.8891041279, 0.1453460604, 0.0272125434, 0.28189677, 0.6920928955, -0.4468750954, -0.0833002478, -0.680252552, 0.0812742561, -0.2048842609, -0.4561212063, -0.3436558247, -0.0264045727, 0.1025680378, -0.6252009273, 0.7397466898, 0.1122179404, 0.8315437436, 0.3223265111, -0.4814533591, -0.6415003538, -1.030616045, 1.0105028152, -0.5919654965, 0.0745069161, 0.3866713941, 0.3835836947, -0.2835869193, -0.4261669815, -0.4611415565, -0.0777273551, -0.3271403611, -0.0056426656, 0.1051336005, 0.1774416119, 0.3812073469, 0.399094671, -0.3241654634, 0.4916913211, -0.5060742497, -0.3568562865, 0.8344162703, 0.3213966191, 0.0078155212, -0.131611079, -0.2224782258, 0.1549591124, -1.1544114351, -0.0008175981, 0.5638004541, 0.2954899669, 0.080104202, 0.5935922265, -0.2076280564, 0.8029081821, 0.0445173867, -0.1011115164, -0.1399761438, -0.3019068241, -0.250797987, 0.1140917763, 0.6908420324, 0.2492506951, 0.6180140376, -0.2351133078, -0.3229153454, 0.0073160399, -0.006004672, -0.7454535365, -0.1332535893, 0.4075508118, -0.3160054088, -0.0963860527, -0.1174819395, -0.5219547153, -0.306509912, -0.751041472, 0.2479556054, -0.1764748693, -0.1622496545, 0.1670737118, -0.0255526882, 0.2533306777, 0.5802057981, -1.3605582714, 0.097344853, 0.4725659788, 0.2174672484, -0.37846452, -0.4400551021, -0.3651664853, 0.1640697718, -0.1713255644, 0.8007477522, -0.3817761838, -0.2388019115, -0.0636426508, 0.0110919923, -0.0260359719, -0.7156280875, 0.0590458773, -0.2909127772, 0.3394900262, -0.5688279271, -0.6953385472, -0.1219710335, -0.0676612258, -0.4036732912, 0.6384776831, -0.115128763, -0.4778314531, 0.6061497331, -0.5638552904, -0.5325770378, -0.0996185541, -0.1988348365, -0.0424512401, 0.1988301575, 0.2010443062, 0.7745976448, -0.2441370338, 0.3997258246, -0.2782568932, -0.3383589983, 0.6593414545, -0.8376134038, 0.5054311752, 0.4997432232, -0.3134101331, 0.0846860334, -0.813872993, -0.2072941065, 0.2770439982, -0.341241926, 0.0069605368, 0.1256298572, -0.4724348783, 0.1653172374, 0.4897993207, -0.2043499053, -0.0112904096, -0.065550372, 0.5388334394, 0.9469817877, 0.0684163645, 0.3931259513, -0.2869660854, 0.7881266475, 0.2139805108, 0.1193568632, -0.5206586123, -0.2330152839, -0.5901821852, -0.2117770016, 0.1838811189, 0.1708724201, -0.1229158789, -0.0064480286, 0.055523742, -0.1693622321, -0.552544713, 0.5069341063, 0.3705216348, 0.3686054051, 0.1205409169, 0.2092530131, -0.4935133457, -1.0758509636, -0.3361164033, 0.2780492008, -0.0448797308, 0.455360949, 0.2544293106, -0.3177213371, 0.876752317, -0.2946248055, 0.0744659603, -0.3087242842, 0.112137571, 0.0803981051, 0.3779947758, 0.2806813717, -0.5920888782, -0.0899716094, -0.270807296, -0.834915936, -0.3490277231, -0.5921667218, 0.0440747142, 0.2543812692, 0.5314142108, -0.5683327317, 0.3062444329, 0.4843585491, -0.0579086021, 0.8887475133, -0.4290978611, -0.0878710151, -0.804540813, -0.2513782382, 0.0852844492, -0.1064030305, -0.3427731097, -0.0354172997, -0.3115617335, 0.0139997881, -0.3626746833, 0.4967325926, -0.5796641707, -0.2366755307, -0.1020828038, 0.6078207493, 0.3534687161, 0.5028059483, -0.0768862739, 0.8770448565, 0.4648390412, -0.9261994362, 0.252301991, -0.0599421002, 0.1239985079, 0.1907258928, -0.7404822707, 0.0461644717, -0.1713630706, -0.1612761617, -1.0926525593, -0.6670770049, 0.1040086672, -0.3682387173, 0.2820775509, -0.1900259256, -0.4985803366, -0.3401412964, -0.1141515449, 0.2156687677, 0.3644024432, -0.7318181992, 0.4115301073, 0.1244462356, 0.1449326128, -0.5136587024, -0.6348172426, -0.0859277397, -0.4809716642, -0.5600647926, 0.2133328617, -0.3014658689, -0.4770433307, -0.1572793722, -0.1681613475, 0.0701486394, 0.4659321308, 0.5364057422, 0.1260355711, -0.4035683572, 0.3130505383, 0.2794927657, -0.0390694551, 0.3965350389, 0.0701878741, 0.2441250682, -0.1430735141, -0.4387560189, -0.3940575421, 0.3464925289, 0.497148782, -0.0797603428, 0.7920352817, 0.2885812521, -0.1406912208, -0.4782751799, -0.4012328982, -0.395904392, -0.5266945958, 0.0343425572, -0.4753374457, -0.9653329849, 0.7170078754, -0.1322915256, 0.1401685327, 0.6615535021, 0.7112447619, -0.2244001031, 1.172244668, 0.1944182217, 0.3826275766, 0.151416406, -0.0511017554, 0.2761021554, -0.6061694622, -0.3045551181, -0.4920803607, -0.1470219791, -0.8112238646, 0.0704082176, 0.0043984787, 0.37505427, -0.1821577251, -0.0078912387, -0.6799606681, 0.5511782169, 0.6942551732, -0.1841183901, 0.2048561573, 0.0781950429, -0.1129481941, -0.0133499885, -0.7483235002, -0.8660203815, 1.1355588436, 0.3397422433, 0.9780921936, -0.0737914741, 0.8636429906, 0.2434239835, 0.4349984825, -0.7307351232, 0.5197510719, -0.0245292298, -0.8318746686, -0.4753367007, -0.3509576023, -1.2377250195, 0.2188425213, -0.2587763369, -0.5660389662, -0.1633817703, 0.5586918592, -0.4522583187, -0.0084852995, -1.0757129192, 0.879989624, -0.4640045166, -0.4688255489, -0.1848715842, -0.3302351236, 0.5028176904, -0.0783206448, 0.1340762526, -0.1838834286, 0.3122886717, 0.6917505264, -0.3415188491, 1.0393513441, -0.2045163959, -0.2149765044, 0.3927657604, 0.1302669048, 0.1196271703, 0.0309259426, -0.1129604056, 0.0271207523, -0.1418145895, -0.4564154744, -0.5658185482, 0.8293313384, -0.8977894783, -1.2803398371, -0.1699467301, -0.5508396029, -0.1635081917, 0.1981420964, 0.2030637413, 0.7422213554, -0.0346527435, 0.1414917707, 0.7473214865, -0.5386413932, 0.3159430623, 0.5632265806, -0.3764046431, -0.0346581414, 0.9627829194, 0.2216971666, 0.4042960107, -0.0480473563, 0.3093062043, -0.2797617912, -0.6822529435, -0.5689305067, 0.3214110434, -0.9159792662, 0.0427584536, -0.3070936799, -0.1751270145, -0.2061894685, -0.3431018293, -0.031673722, -0.423227489, -0.7678083777, -0.2317224592, 0.2944519818, 1.1561888456, -0.1354969293, 0.3860472143, -0.5813943744, 0.39539361, 0.5066447258, 0.1876921356, 0.0481730662, -0.6054339409, -0.4042955041, 0.2670131624, -0.3539728522, -0.6807777286, 0.1222168952, 0.1379114389, 0.6295397282, 0.6450031996, -0.1339310706, 0.5418570042, -0.381003648, 0.8693090081, -0.1045842469, -0.7400169373, 0.6002939343, -0.4181981087, 0.2862683237, 0.305421263, 0.3996531963, -0.0992693156, -0.5381510258, -0.5247900486, -0.5120175481, 0.7480903268, -0.102866143, 0.3154172599, -0.1709096432, 0.7320677638, 0.4872587621, -0.0038728588, -0.6748000383, -0.3215685189, -0.3254155517, -0.0850945637, 0.0048900009, -0.390111655, -0.176363185, -0.0810925663, 0.4988487065, -0.1786056608, 0.1763189137, 0.2091002613, -0.1629904956, -0.2605510354, 0.3684439659, 0.9698495865, 0.8665952682, -0.0195409749, 0.2409471273, -0.0544009693, 0.0859486163, -0.0391508974, 0.1184676513, 0.1185564026, -0.1695953608, 0.5775105953, 0.805993855, 0.0494080819, -0.5387781858, 0.2552261353, 0.0167543739, -0.3422645926, -0.3418803513, 0.469366312, 0.1768327802, -0.0674462318, 0.4361773431, 0.0290870517, -0.0676150769, -0.5006001592, -0.1327693909, 0.4641702771, -0.0219431352, -0.650908947, 0.7257634997, 0.0475183204, -0.221197173, 0.3847495019, -0.2048879713, -0.3949607313, 0.5349881649, 0.5850625038, 0.5665649176, -0.085993059, 0.3036294281, 0.1349329352, 0.2727058232, 0.2114130706, 0.0755898654, -0.286301285, -0.9298864007, -0.6350799203, -0.5135655999, -0.5982921124, 0.3053246737, -0.5948629975, 0.0640461966, -0.4880152047, 0.0600203983, 0.2863160372, -0.236530304, -0.9171597362, 0.3605797589, 0.2320549935, 0.5670831203, -0.8077884912, 0.7360718846, 0.4133803844, -0.4637059569, -1.0001734495, -0.1315398663, -0.1866407841, -1.0300080776, 0.7958071828, 0.1774034649, -0.2085186094, -0.2027931213, -0.6414151788, -0.6746976972, 0.785695076, 0.5997246504, -0.5374576449, 0.0268222298, 0.5189945698, 0.7548745275, -0.4022403061, -0.0842089951, 0.5595393181, 0.5276029706, -0.1741169244, -0.5059508681, 0.0821550786, 0.2029407471, -0.3053723574, -0.070526503, -0.4453644156, 0.7517060637, -0.3887739778, -0.1787037551, -0.2833603323, 0.6276282668, 0.2037567049, 0.2841107249, 0.2159928679, 0.2904282808, 0.7167580724, -0.1437722296, 1.2347468138, -0.331576705, 0.0386561863, 1.0649397373, -0.2077352852, 0.3346073627, 0.504165411, -0.027860621, 0.5448566675, 0.854596436, 0.1297209561, 0.2302178442, 0.4404223561, -0.1351445168, -0.4069579542, -0.0488492884, -0.0552141331, 0.5720787048, 0.5181338787, -0.4843105376, -0.1442647278, -0.0396241061, -0.1455847025, 0.128453061, -0.4035170674, 0.7108479142, 0.1857814342, -1.0221681595, 0.9161635637, -0.1749721915, 0.3723423481, -0.3704223633, -0.0275511686, -0.3026660383, 0.1066704914, -0.3289306462, -0.8453752398, 0.2613150179, -0.1039822176, -0.3240598142, -0.6092933416, 0.7236513495, -0.4328946769, -0.0831471533, 0.1248899922, 0.7147396207, 0.3690160513, 0.0847016498, -0.5468078256, 0.0114700375, 0.1287250519, -0.4792566001, 0.4186447859, 0.9354202151, -0.0871842206, 0.5563024879, 0.4258657694, 0.0170606263, 0.0750207901, 0.1323960274, 0.7276912928, -0.6525335312, 0.0293201972, -0.9615842104, 0.3185851872, 0.2030241191, -0.4366742373, 0.8805633187, 0.3460136354, 0.6809939146, -0.0619645864, 0.8076951504, 0.3878289163, 0.3587304056, -0.7548262477, 0.4141759276, -0.5207293034, 0.5041195154, 0.1314954609, -0.8832221031, -0.0480207056, 0.302747339, -0.3556845784, 0.1876388937, 0.5538893938, 0.8230397105, -0.0774443969, 0.1114391834, 0.4910956025, 0.3024891019, 0.1171393692, 0.2547394931, 0.9270883203, 0.1249909475, 0.3719827533, -0.1692760736, -0.0113623049, -0.2235454917, -1.0000931025, -1.1976875067, -0.5054425001, -0.3023586273, -0.1915157586, -0.2143300027, 0.7418403029, 0.6350905299, -0.9323048592, -0.0601722226, -0.0660802126, 0.3464512229, 0.1163337901, -0.238035053, 0.2127078176, -0.4615315497, -0.403093338, 0.3701896369, 0.1286553144, 0.1936168671, -0.7019863725, -0.2119517922, 0.406577915, 0.2756286263, 0.570899725, 0.3442943692, -0.9820915461, -0.4552181065, 0.0676251054, -0.0289974231, 0.1501740515, 0.8682749271, -0.8005376458, 0.3283206224, 0.0929387957, 0.4748244584, 0.3803367913, -0.1066974029, 0.7784314752, -0.6730058193, -0.1023282632, -0.0873507336, 0.4892853498, 0.5366846323, -0.5178868175, 0.2459213734, 0.0577856451, -0.6356130838, -0.7532294989, 0.1652821898, -0.626054883, -0.3043032885, 1.2985756397, -0.3284370601, -0.1457778364, -0.082225129, -0.2349671423, 0.2682712376, -0.2177704871, 0.8798933029, 0.8008713722, -0.2652063966, -0.1324457675, -0.4880074561, 0.5471695662, 0.4783583283, -0.8440086246, 0.4635033607, 0.696608007, 0.2982478738, 0.003924476, 0.3355116248, -0.0490957424, 0.2999145985, -0.3158077598, 0.0208179057, -0.1983073354, -0.4572910368, -0.4170773923, 0.0756703541, 0.4035174847, 0.0988007188 ]
http://arxiv.org/abs/2402.10528v2
http://arxiv.org/pdf/2402.10528v2
Can We Verify Step by Step for Incorrect Answer Detection?
2024-02-16T09:29:50
2024-06-15T16:53:58
Xin Xu, Shizhe Diao, Can Yang, Yang Wang
cs.CL
cs.CL, cs.AI
Chain-of-Thought (CoT) prompting has marked a significant advancement in enhancing the reasoning capabilities of large language models (LLMs). Previous studies have developed various extensions of CoT, which focus primarily on enhancing end-task performance. In addition, there has been research on assessing the quality of reasoning chains in CoT. This raises an intriguing question: Is it possible to predict the accuracy of LLM outputs by scrutinizing the reasoning chains they generate? To answer this research question, we introduce a benchmark, R2PE, designed specifically to explore the relationship between reasoning chains and performance in various reasoning tasks spanning five different domains. This benchmark aims to measure the falsehood of the final output of LLMs based on the reasoning steps. To make full use of information in multiple reasoning chains, we propose the process discernibility score (PDS) framework that beats the answer-checking baseline by a large margin. Concretely, this resulted in an average of $5.1\%$ increase in the F1 score and $2.97\%$ improvement in AUC-PR across all 45 subsets within R2PE. We further demonstrate our PDS's efficacy in advancing open-domain QA accuracy. Data and code are available at https://github.com/XinXU-USTC/R2PE.
[ -0.3525594175, -0.9497256279, 0.8828553557, 0.0655378923, 0.0608752556, 0.2582596242, 0.0837792084, -0.6610345244, -0.2667084336, 0.5270949006, -0.5496254563, -0.5440576673, -0.6338841319, 0.1580163836, -0.3095608354, 0.6412591338, -0.4712625444, -0.1752464771, -0.3086144924, -0.076531373, -0.3365472257, -0.312925458, -0.698948741, -0.5908997059, 0.3309682906, 0.3371140063, 0.6005565524, 0.5201691985, 0.2496622056, 0.1589561403, -0.1070824713, 0.770065546, -0.2583873868, 0.1767118573, -0.652628839, -0.6088799834, -0.6362965703, 0.1511829793, 0.3083046675, 0.40481022, -0.0620355345, 0.324118942, 0.1691554934, 0.9239946008, -0.845636189, -0.060426645, -0.647936821, -0.085286133, 0.0772350058, -0.3976479769, -0.8598715663, -0.4568025172, -0.0935364068, -0.3316294253, 0.435392499, 0.2088335752, 0.7037476897, 0.2441478074, -0.3573475182, -0.3928554952, -0.7415866256, 0.5217422247, -0.4817154408, 0.358951658, 0.6033598185, 0.2133338898, -0.4010725319, -0.601864934, -0.6528386474, 0.1056017354, 0.0442689732, 0.0214167759, -0.2072203755, 0.0115871681, 0.6162673235, 0.2802310288, -0.6107444763, -0.1615965813, -0.1982304901, -0.2715914249, 0.5742949247, 0.0073348554, 0.1863766313, 0.2691157758, -0.501029253, -0.1623042673, -0.7135702968, 0.1927657574, 0.3847132325, 0.1605352163, 0.1441285759, 0.7017528415, -0.2827102542, 0.5287235379, 0.1237550154, -0.0111622391, 0.2651488185, -0.4798163176, -0.1609041095, -0.1129403189, 0.6351608038, 0.3381980062, 0.3448748887, 0.0219326187, -0.3367472589, 0.1613356471, 0.4382917285, -0.5724651217, -0.4566121995, 0.5079308748, -0.0469853245, 0.0257230103, 0.0874387547, -0.5171070695, -0.5020760894, -0.0108101089, 0.3620492816, -0.3904768527, -0.412943393, -0.0108067673, -0.0087332483, 0.1159717068, 0.5545959473, -0.2533913851, 0.6336916685, 0.9534617662, 0.9095406532, -0.1905651987, -0.4277109802, -0.9586669803, -0.2852018774, -0.8931623697, 1.058077693, -0.2760547996, -0.0641064718, -0.226473704, -0.0811957717, -0.0954771861, -0.8416131139, 0.5446682572, -0.6035629511, -0.1933297366, -0.6051190495, -0.6436203718, -0.1295556426, 0.3864750862, -0.5550020337, 1.4465845823, 0.0474289693, -0.697495997, 0.2888368666, -0.2302728295, -0.2618763745, -0.2955845296, -0.2142696232, -0.3902699947, -0.0217442047, 0.2586954534, 0.1963983923, -0.3574204445, 0.047559645, -0.2965993881, -0.5312848091, 0.4904953539, -0.4879841805, 0.6151242852, -0.048193071, -0.5452850461, -0.0150518222, -0.8292946815, 0.5622988343, -0.2625904083, -0.2881124318, -0.0998360589, -0.0251107197, -0.6030278206, 0.6364905238, -0.1159760058, -0.554130733, -0.0924773961, -0.1941771805, 0.0420425981, 0.9562826157, 0.1457303464, 0.073381789, -0.3241446018, 0.6555126309, 0.1534354389, -0.1217744499, 0.0659844354, -0.8451930881, -0.7231336832, -0.063970983, 0.2121782154, 0.6993222237, -0.7459041476, 0.5589745641, 0.0471175276, -0.5468700528, -0.3639393449, 0.1606287658, 0.7472828627, 0.6253246069, 0.4559626579, -0.6145429015, -0.4076782763, -0.6241954565, -0.4700393081, -0.6396968365, -0.1133294106, 0.152659744, 0.5918650031, 0.0726760179, 0.654145956, -0.4160511792, 0.0847404525, -0.074181132, 0.2745797038, 0.281678021, 0.3713510633, -0.1032099128, -0.3215282559, -0.3209274113, -0.0248971432, -0.6351901293, -0.0890278593, 0.0498258024, -0.2849792242, 0.4577551484, 0.3491083086, -0.3714312315, 0.6402383447, 0.5295157433, -0.5788397193, 0.8303415775, -0.4246737063, 0.4390618205, -0.3765051961, 0.1673830599, 0.204560101, -0.3533618152, -0.4383426607, 0.0655628443, 0.3246113658, 0.2243546844, -0.3225494921, 0.2645695508, -0.2252459228, -0.462685734, -0.2351397276, 0.2473915815, 0.2417069525, 0.5557661653, 0.0876776353, 1.1198465824, 0.3326697946, -0.6958292723, 0.1845006347, 0.0349692181, -0.5499081612, 0.7092965245, -0.5967459679, 0.3850443959, 0.1024175286, 0.5655950308, -1.2956413031, 0.0710801333, 0.3187475801, -0.4961417317, -0.0579977743, -0.1381156743, -0.6578252316, -0.4084888101, -0.1795404106, 0.2945430279, 0.4052124619, -0.6793452501, 0.4494938254, 0.0813013688, 0.1123063713, -0.6652750969, -0.5718096495, -0.2237755656, 0.3110333681, -0.5801336765, -0.0076186452, -0.1080095619, -0.1714530438, -0.2677745819, -0.5957513452, -0.2905034125, 0.0107152425, 0.2546076179, 0.162637651, -0.1271287352, 0.1432622224, -0.0638224706, -0.2635896206, 0.4773529172, -0.1205585599, 0.4281657934, -0.2407327592, -0.5411159396, -0.5358749628, 0.0374271981, 0.6204612255, -0.2400606573, 0.4587702155, 0.3134506047, -0.4599335194, -0.4516498446, -0.4695365131, -0.1019840911, -0.4005274773, 0.0202200003, -0.7435358167, -0.2934254706, 0.5712940693, -0.3133904636, -0.0760722756, 0.3233453035, 0.2001832426, 0.0881472081, 1.1119400263, 0.160242483, 0.5697259307, -0.1488666087, -0.2976167798, 0.4749315977, -1.0143800974, -0.3363776803, -0.5770426989, -0.0188850109, -0.6037450433, -0.9373520613, 0.441567421, 0.5304207206, -0.2871688902, 0.2971800268, -0.4067823291, 0.5784014463, 0.4228342175, 0.4156806171, 0.519502759, -0.2125210911, -0.4702187479, 0.2555567622, -0.5559917688, -0.7344301343, 1.033364296, 0.5237112641, 0.5832850933, 0.015867075, 0.4994354248, 0.4683197141, 0.012132396, -0.5318225026, 0.6957617402, 0.1315801889, -0.462335825, -0.3010780513, -0.2700306475, -0.3992199004, 0.326762706, 0.0034829127, -0.7663168311, 0.1621301621, 0.3097313941, -0.2246616781, 0.3785919249, -0.4538530111, 0.8036054373, -0.1000199169, -0.7431710362, -0.3032158911, -0.570374608, 0.3343205154, 0.1034749448, 0.3037544489, -0.2509013414, -0.0542316772, 0.630946815, -0.6327476501, 0.7026116848, -0.0524306931, -0.4819523394, 0.6057472825, 0.3830988407, 0.9174954295, 0.0571262538, -0.31609568, 0.0868731365, 0.0184653308, -0.4563831091, -0.7579142451, 0.7183925509, -0.486092031, -0.4828650057, -0.6649416685, -0.1204991341, -0.4561313987, 0.0509388074, 0.0640145913, 0.3474657238, 0.1734941602, -0.4350678921, 0.9827649593, -0.0790382773, 0.0056183059, 0.4480801225, -0.1609064788, -0.2894753218, 0.7137712836, -0.0633622333, 0.5344717503, 0.2742568552, 0.0610296577, -0.4676258862, -0.4550970793, -0.690215528, 0.1870986968, -1.0443216562, -0.1599216312, -0.4873650968, -0.1552229673, -0.1195396706, 0.1685408503, -0.6136412024, -0.3383866549, -0.0546542667, -0.3170190454, 0.1667859256, 0.8645943999, -0.1118679419, -0.3895657361, -0.4070464969, 0.4788342714, 0.2575386167, 0.5867465138, 0.1179183722, -0.3016600907, 0.1530812681, 0.1838528216, -0.4304690063, -0.6667163968, -0.1894523203, -0.0913927928, 0.4307251871, 0.0982512683, 0.279250145, 0.7002282739, -0.3624121845, 0.8272795081, 0.1902798563, -1.110247016, 0.8502206802, 0.1692916155, 0.1076806858, 0.4058795571, 0.3369271159, -0.2313139886, -0.6315024495, -0.6787858605, -0.7383372784, 0.6387026906, 0.1658886373, -0.4730988741, -0.2025898695, 0.4035651982, 0.2405441552, -0.1013411582, -0.3925314248, -0.3843027353, 0.2036504745, 0.1529909521, 0.1738618463, -0.2275819927, 0.0069191051, 0.0649716482, 0.9381614923, -0.3830294907, 0.1650662869, 0.6647292972, 0.1106765196, -0.5984222293, 0.3173748851, 0.4153956175, 1.3215364218, -0.1636838913, 0.5059359074, 0.2175531536, -0.3323174715, 0.3213281631, -0.3704822361, -0.0222142488, -0.0062419348, 0.5746235847, 0.503249824, -0.0815329701, -0.7856183648, 0.5377904177, -0.0562669411, -0.1471615732, -0.123295635, 0.2592790127, -0.2080377042, 0.281776309, 0.2299204618, 0.4216073453, 0.0795303434, -0.7210783958, 0.3464967012, 0.1516046971, -0.4473161995, -0.1886744797, 0.4235798419, 0.157119289, -0.3493124545, 0.607865572, -0.2485426068, -0.5313894153, 0.6173955202, 0.4644145072, 0.633323431, -0.1396161318, 0.37818259, 0.6319234967, 0.2346468717, -0.333629787, 0.5242828131, -0.1757657677, -0.6544134617, -0.556319952, -0.3447178006, -0.673273325, 0.0548653454, -0.8390116692, 0.1126123369, -0.5661289692, -0.0620103851, 0.0307279658, 0.1812944114, -0.5534366965, 0.4805487394, -0.1250172555, 0.9959015846, -0.9063004255, 0.8877221346, 0.5412982106, -0.1999502033, -0.805449903, 0.1404146254, -0.0642561093, -0.6985428333, 0.4688107073, 0.2456046343, -0.5836414099, -0.3756249547, -0.1984668672, -0.6172339916, 1.0377182961, 0.1149277389, -0.6852827668, 0.1275441945, 0.0373862535, 0.6608276963, -0.2900313139, 0.4161711037, 0.7783577442, 0.2748633027, 0.2090908587, -1.0341970921, 0.4480953813, -0.0659634918, -0.0039526867, 0.2995942235, -0.1712394953, 0.6037967801, -0.5721787214, -0.3342209458, 0.1333670318, 0.4335324466, 0.7659209967, 0.5854412317, 0.6026091576, 0.5313714147, 1.0407061577, -0.0568705313, 1.0050364733, -0.1130737439, 0.2351813465, 1.3133300543, -0.4331541359, 1.1350030899, 0.542212069, -0.5902402401, 0.8548243046, 0.4975928068, 0.4506037235, 0.3490219414, 0.4665238857, -0.1581170112, -0.4314671755, 0.0676298067, -0.1647908092, 0.0776693374, 0.4147687852, -0.4139143825, 0.0066266079, -0.4486249685, -0.2137525529, 0.5117288232, -0.2102017105, 0.6205394864, -0.0535609238, -1.0991754532, 0.8546261787, -0.2354281247, 0.2459231615, -0.2558709681, -0.4054435492, -0.0475864708, 0.3606621027, -0.2261071801, -1.2034387589, 0.2858014405, 0.0572936013, -0.2324066758, -0.1819111258, 0.6325820684, -0.1970932782, -0.379009068, 0.4649014175, 0.7295185924, 0.2250044793, -0.090548858, -0.6733763814, 0.1731231362, -0.0621905103, -0.0735680535, 0.0369094275, 0.42226547, -0.2363832742, 0.8345661163, 0.5122138262, 0.1058391705, -0.0350635163, 0.0907779112, 0.5884337425, -0.4490547478, -0.3518022299, -0.6282058954, 0.3315293789, -0.1201237887, -0.3913992941, 0.5283330679, 0.6259939075, 1.0821948051, 0.1405670196, 0.7427858114, 0.0566823035, 0.7661151886, -0.5632081032, 0.1117145121, -0.2157361954, 0.6275594234, -0.3204571009, -0.7223109603, -0.0828329697, 0.6097463965, -0.2342066318, -0.1097162291, 1.1516685486, 1.0060671568, 0.0839456916, 0.1788795739, 0.131994307, 0.1869146079, 0.3305784166, 0.7003498673, 0.7314689755, -0.8552075624, 0.495438993, -0.538967669, -0.3743391037, 0.0727018416, -0.8976151943, -0.8609479666, -0.4545273483, -0.8118342757, -0.9391903877, 0.3636141121, 0.5860875845, 0.4569735825, -0.9692137837, -0.182740286, -0.6821943521, 0.4565339088, -0.9348561168, -0.1967635602, 0.3132953644, -0.1669376194, -0.4209299982, 0.4407165945, 0.3460353613, -0.1467230469, -0.1661272049, -0.2280659676, -0.4243248105, 0.1487559527, 0.4357863367, 0.2364227772, -1.0888233185, -0.6398056746, -0.1537121534, -0.0309388991, 0.0993898064, 0.9008184075, -0.8890634179, 0.4117283821, 0.6814891696, 0.2770411074, 0.402830869, 0.1311776191, 0.740762651, -0.6204840541, -0.5699964762, 0.070179373, 0.2854386568, 0.2227162123, -0.3559938073, 0.8753300905, 0.1086927354, -0.6244511008, -0.7869812846, 0.3371663094, -0.8929597139, -0.2198622376, 1.1075313091, -0.5420184135, -0.204701364, -0.3285082281, -0.1816737801, 0.111232549, -0.3147859871, 0.6640667915, 0.5906180739, -0.552480042, -0.0666521117, -0.3272164464, 0.3556524813, 0.2481717318, -0.8610125184, 0.533772409, 0.4195595086, 0.4761971235, 0.4495037198, 0.7860697508, -0.057337977, 0.6956703067, 0.0385574661, -0.3109764159, 0.0600356609, -0.4415522218, -0.0529542379, 0.2741130292, 0.3542533219, -0.1946816295 ]
http://arxiv.org/abs/2402.10527v1
http://arxiv.org/pdf/2402.10527v1
Zero-shot sampling of adversarial entities in biomedical question answering
2024-02-16T09:29:38
2024-02-16T09:29:38
R. Patrick Xian, Alex J. Lee, Vincent Wang, Qiming Cui, Russell Ro, Reza Abbasi-Asl
cs.CL
cs.CL, cs.CR, stat.AP
The increasing depth of parametric domain knowledge in large language models (LLMs) is fueling their rapid deployment in real-world applications. In high-stakes and knowledge-intensive tasks, understanding model vulnerabilities is essential for quantifying the trustworthiness of model predictions and regulating their use. The recent discovery of named entities as adversarial examples in natural language processing tasks raises questions about their potential guises in other settings. Here, we propose a powerscaled distance-weighted sampling scheme in embedding space to discover diverse adversarial entities as distractors. We demonstrate its advantage over random sampling in adversarial question answering on biomedical topics. Our approach enables the exploration of different regions on the attack surface, which reveals two regimes of adversarial entities that markedly differ in their characteristics. Moreover, we show that the attacks successfully manipulate token-wise Shapley value explanations, which become deceptive in the adversarial setting. Our investigations illustrate the brittleness of domain knowledge in LLMs and reveal a shortcoming of standard evaluations for high-capacity models.
[ -0.2719344497, -1.1044188738, 0.92895329, -0.3790614307, 0.0325988159, -0.0481370091, 0.0004426605, -0.2985400856, 0.2752991617, 0.6777176857, -0.4248266816, -0.3835324347, -0.7762585282, -0.1559722275, -0.3752915561, 1.1163836718, 0.1009673625, 0.1963153332, -0.4828231633, -0.3327370286, -0.0210410282, -0.5220197439, -0.5443048477, -0.2077637166, 0.7972680926, -0.2058355808, 0.7703698277, 0.5236058235, 0.5499538779, 0.1696440279, -0.1765996665, 0.1252422184, -0.4427898228, 0.3370918036, -0.2926085293, -0.6198058724, -0.2259798348, 0.0802969486, 0.3481663465, 0.9930567741, 0.0044886461, 0.0023147913, -0.2948465347, 0.3347840309, -0.8520878553, -0.2326887399, -0.8730560541, 0.0779461637, -0.3116555214, -0.2814330161, -0.4027530551, 0.047533676, 0.1894995272, -0.6703401804, 0.4592352509, 0.0009240385, 0.9928548336, 0.596123457, -0.1855040044, -0.2941153646, -0.4823500514, 0.9086889625, -0.4249114394, 0.0255909916, 0.3624306619, 0.318664968, -0.1667379886, -0.4999759495, -0.3800643682, -0.253290385, 0.0783406943, -0.1133657098, -0.5132287145, 0.0925148875, 0.1970497966, 0.0410726704, -0.5805058479, -0.0221533421, -0.4800157845, -0.1571845859, 0.4802549481, -0.0341358706, 0.3287167251, -0.0359963737, -0.5305873156, -0.0272428803, -0.7632815242, -0.264373064, 0.2606379688, 0.158053875, 0.1698120683, 0.4351541698, 0.1079180837, 0.7834301591, 0.1259236187, 0.1978087872, -0.0886230022, -0.1173908189, -0.3737751544, -0.1989374757, 0.6168784499, -0.0051394491, 0.0969327688, -0.5399481654, 0.1542688906, -0.4522410929, 0.6894561648, -0.8279577494, -0.2175886035, 0.4741597772, -0.1142679974, -0.3984820843, -0.2193462551, -0.6624830365, -0.6290177107, 0.2394153178, 0.4034253061, -0.731323123, 0.100244835, -0.0084254276, -0.3178834617, 0.1140782386, 0.2172833979, -0.5161270499, 0.0813986287, 0.4975843728, 0.6052267551, -0.0323655829, -0.2241210341, -0.6281934977, 0.0901727825, -0.2238435, 0.6466859579, -0.3448989987, -0.4263967574, -0.1827778816, -0.1751335114, -0.126846686, -0.5947748423, 0.3253166378, -0.8558307886, 0.0471871831, -0.4555788338, -0.5447452068, -0.2398117036, 0.483569324, -0.675222218, 0.6143526435, 0.2961185575, -0.9608912468, 0.3339878321, -0.4629233479, -0.3051660657, 0.2498741001, -0.2703054249, -0.4822624922, 0.0358212776, 0.4412461519, 0.6554478407, -0.0144687342, 0.1497537643, -0.7856900692, -0.1811193079, 0.5779089332, -0.4574048519, 1.0303404331, 0.2332112342, -0.1970878839, -0.0755038485, -0.6149086356, 0.0224671569, 0.3666255474, 0.1758958101, -0.6969663501, -0.1449655592, -0.3100424409, 0.0354559086, 0.105275251, -0.6753828526, 0.0441575907, -0.4963017106, 0.2520415187, 0.4090792537, 0.4567871094, 0.3922532499, -0.3888860941, 0.7403519154, 0.1419402212, -0.0568214841, 0.0098600211, -0.2800448835, -0.239598766, -0.5792273283, 0.2672268152, 0.3869780898, -1.1544451714, 0.1762956381, -0.1174986362, -0.5713863969, -0.656627357, -0.0102039287, 0.5328535438, 0.4953450561, 0.7491424084, 0.108537674, -0.1817474663, -0.8393512964, -0.314221859, -0.0407149345, -0.4089163244, 0.6021009684, 0.7102900147, 0.0487504043, 0.7538009286, -0.6372123361, -0.1209525838, -0.1506586373, -0.0811952427, -0.3275521696, 0.1137062162, 0.7347208858, -0.8702635169, 0.0865378454, -0.6845673919, -0.7925879359, 0.0645973086, -0.2021712065, -0.2250224203, -0.3459468782, 0.4524563253, -0.7768197656, 0.1560861915, 0.4815579355, -0.1431092173, 0.3840029836, -0.1866853833, 0.071247749, -1.1480125189, 0.2464815825, -0.031316936, -0.186577782, -0.8092210889, 0.5882433653, 0.0212065894, -0.0497543328, -0.6986729503, 0.6465365887, -0.4334463179, 0.1851172894, -0.1140635461, 0.4254876077, 0.3162022233, 0.2191645503, -0.0648157746, 0.5646210909, 0.5517254472, -0.5809757113, 0.2994020879, 0.2230607718, 0.0055505256, 0.7963660359, -0.7510082126, 0.1015810519, -0.3571566939, 0.3346504569, -0.7049773932, -0.2717208862, 0.0544649921, -0.7454813719, 0.4923210442, -0.1236381158, -0.240202412, -0.1561149955, -0.3591604233, 0.533454299, 0.2859272659, -0.3265098631, 0.2097550184, 0.672776103, -0.007529615, -0.7415297031, -0.8751195669, -0.0932490975, -0.2317414135, -0.3850472271, 0.3777014017, 0.1348540187, -0.4666881263, 0.1163413599, 0.0691875145, -0.1796303391, 0.3319779634, 0.3942905068, 0.2380462885, -0.0126211857, 0.16098167, -0.2863906324, 0.2192580104, 0.1424614489, -0.3067260683, 0.3543836176, 0.2699224651, -0.8043265343, 0.055810526, 0.220442012, 0.5361118913, -0.1994866431, 0.8975043297, 0.4682770073, -0.694006443, -0.3212765753, -0.404661268, -0.2575929761, -0.3949975669, 0.7130768895, -0.1706302464, -0.8292975426, 0.5134142637, 0.2888459861, -0.0969877169, 0.4415170252, 0.6614498496, 0.0420480147, 0.6392396092, 0.2741664052, -0.1316652447, 0.0467545278, -0.2592621446, 0.2430438846, -0.8429899812, -0.2923383415, -0.3878859282, -0.1804312021, -0.1495028287, -0.9016746879, 0.5165085196, -0.0067013088, 0.093058981, 0.2508193254, -0.3641810119, 0.3449844718, 0.4228270054, 0.2762441635, -0.1674508005, 0.0148257203, -0.1544053257, 0.0502900667, -0.6075869203, -0.2201451063, 1.1750130653, 0.3295629919, 0.766343534, -0.1429176629, 0.6750769019, -0.0230481606, 0.2080400884, -0.679908812, 0.3467251658, -0.0543222316, -0.908223331, -0.3445319831, -0.5143339634, -1.0918672085, 0.116150707, 0.1524277031, -0.6933577061, 0.0958598182, -0.0580221117, -0.9962406158, 0.7182064652, -0.2202517539, 0.5044017434, 0.0343979374, -0.1772373319, 0.1183168069, -0.5515494943, 0.32284832, 0.0413594618, 0.1960130483, -0.0903925598, -0.0482071191, 0.5669254661, -0.3198011518, 0.6470379233, -0.3697494864, -0.0544281453, 0.4713405967, 0.1952072978, 0.2431691736, 0.2061192542, -0.2498252541, 0.1804378629, 0.0963388234, -0.7797169089, -0.5622245669, 0.7331635952, -0.524897635, -0.4623416364, -0.3182022572, -0.8533364534, -0.4951578677, -0.0198666342, 0.3981755674, 0.2383509874, -0.3585025966, 0.4236270487, 1.0529857874, -0.3899140656, 0.187482506, 0.5997813344, 0.3350014687, -0.2807774246, 0.7528566122, 0.0824954584, 0.4565937221, 0.6091026068, -0.3345616758, -0.2316951752, -0.6905183196, -0.6801805496, 0.0728303194, -0.4218707681, -0.377931565, -0.7886610031, -0.2619365752, -0.4169000983, -0.3026031852, -0.3044633567, -0.3407036066, -0.276900053, -0.1643649936, 0.3160104156, 0.3223308921, 0.1927534342, -0.0417055115, -0.6943259835, 0.3701106012, 0.3396911025, -0.0509275943, -0.1877871752, -0.5688098073, -0.137330398, 0.3390218019, -0.277066946, -1.1894888878, 0.4938863814, 0.0630321652, 0.6307415962, 0.3466394544, 0.1471950263, 0.492819041, -0.458181113, 0.9128648639, -0.1802921742, -0.3733249307, 0.4450684786, -0.2373103648, 0.2697547078, 0.6185828447, 0.6257862449, -0.3527237475, -0.7118592858, -0.9708523154, -0.8043572307, 0.4269257188, 0.2340233475, 0.0563716181, -0.1408321559, 0.5875208378, -0.2345719635, 0.1215271577, -0.3177007735, -0.4814368188, 0.1321076006, -0.0974480212, 0.0708303601, -0.0177664645, -0.6024622917, 0.2078410238, 0.6991428733, -0.1888013929, 0.2684663534, 0.436263293, -0.270629257, -0.0665800571, 0.3303868175, 0.3327890933, 0.3178192079, -0.0837785155, 0.2871648073, 0.3669272661, -0.4431726336, 0.0994243771, 0.6315451264, -0.3824132979, -0.0597225018, 0.470751375, 0.4353903234, 0.1755520254, -0.8496696949, 0.7689490318, 0.0340150818, -0.2183789015, -0.0982221961, -0.0628803074, 0.0918576494, 0.1960092932, 0.3902105391, 0.0671639889, 0.22585769, -0.3954931796, 0.5065616965, 0.9008119106, -0.7988755703, -0.2274826318, 0.7813072801, -0.2506135106, 0.0400248393, 0.2948147655, -0.314494431, -0.3622567058, 0.8142775893, 0.2576178014, 0.6920598745, -0.1671942025, 0.2856853306, 0.0138581963, 0.216599673, 0.3389728665, 0.0560477003, 0.1161470488, -0.6879966855, -0.1010971442, -0.7145650983, -0.5205238461, 0.4630157351, -0.8429029584, -0.1755700111, -0.4832907617, -0.1521862745, 0.4053344131, 0.0685328245, -0.52126652, 0.2663725615, 0.2761152089, 0.6792765856, -0.5389298797, 0.768083334, 0.6457384229, -0.5004913211, -0.6333062053, 0.150504753, 0.1242289841, -1.0128655434, 0.5121366382, -0.1574932486, 0.0658081397, -0.3318928778, -0.5975141525, -0.826905787, 1.0325672626, 0.3936875463, -0.164650619, -0.3187016249, -0.0016712674, 0.5991648436, 0.0611133166, 0.2704112828, 0.3725981414, 0.0263330005, 0.0522939265, -0.5392305851, 0.3169160187, -0.1338754147, -0.2106143832, 0.1159440577, -0.6197769642, 0.7363551259, -0.5284924507, -0.066949673, 0.1294846237, 0.530697763, 0.6058769822, 0.217081219, 0.3322433233, 0.6218571663, 0.8450676799, 0.0210175626, 1.2352970839, -0.4757015705, 0.2712197602, 0.8703217506, -0.2035523653, 0.5481374264, 0.6302468181, -0.3137707412, 0.2406047732, 0.3741724193, -0.2282531112, 0.3723145425, 0.4496591687, -0.3669305742, -0.1139017418, -0.1527371407, -0.2687880397, 0.2408047765, 0.5104774833, -0.4507929981, -0.4896256924, 0.1349443793, 0.3898837268, -0.0814364105, -0.0679494143, 0.5261183977, 0.1687300205, -0.51415205, 0.5347832441, 0.1132104695, 0.5495749712, -0.679527998, 0.1131222099, 0.0498191901, 0.172655493, 0.0780469552, -0.633062005, 0.261269927, 0.0189927109, -0.1056454033, -0.1601639539, 0.6638288498, -0.4517372847, -0.3170212805, 0.1806559563, 0.5105584264, 0.1869014055, -0.5155783296, -0.7618994117, -0.6211090088, -0.2109115869, -0.3794048429, 0.6270853877, 0.463948369, 0.1811273247, 0.7889313102, 0.5483179092, 0.4302728176, -0.0904620588, 0.0349125192, 0.7526436448, -0.2862258852, -0.1817827821, -0.9266707897, 0.0348507427, -0.122264035, -0.1421210617, 0.9489576817, 0.4615520835, 0.6682355404, 0.0943178311, 0.7060275674, 0.0304868631, 0.5135285854, -0.2560822368, 1.0542707443, -0.5415340662, 0.1666885018, 0.0339236781, -0.1477257311, -0.3424000442, 0.126302287, -0.5257806778, 0.0617824793, 0.6550999284, 0.7957840562, 0.1044287905, -0.2092916667, 0.6062112451, 0.1695539355, 0.393768698, 0.7067095637, 0.4271946549, -0.4703829288, 0.743896246, -0.3618766963, -0.0915639326, -0.1432052553, -0.5604954958, -0.8812142611, -0.2880316377, -0.3117827177, -0.5143746138, 0.3331618309, 0.5053420067, 0.8821789026, -0.9118369818, 0.6713986993, 0.2177906632, 0.1183072478, -0.0368334092, -0.2858463228, 0.454375267, -0.2840003669, -0.6640427709, 0.4461283684, 0.2662183344, 0.0499053821, -0.5185881257, 0.4047111869, -0.1895889044, 0.4677644074, 0.1763610244, 0.3531766534, -0.6167788506, -0.1620218903, 0.2009475231, -0.3756231368, -0.3005597889, 0.6979942918, -0.8321082592, 0.3031113148, 0.2372856885, 0.8835451603, 0.1830964535, 0.1093387082, 0.3254295588, -1.1162953377, 0.1453082114, 0.625280261, 0.3629889488, 0.482921958, -0.6839782596, 0.091466777, 0.3240592182, -0.4694749117, -0.7765359282, 0.2086559385, -0.6938843131, -0.6534070969, 1.2605788708, -0.4788001776, -0.3408040106, -0.0881525055, 0.162361607, 0.2178518474, -0.0289716925, 0.7775347829, 0.6480028629, -0.032991305, 0.3339577019, -0.7808654904, 0.636161387, 0.4822430909, -0.8286790848, -0.0294306409, 0.2309712768, 0.467328161, 0.3315320611, 0.6352779865, -0.3285223544, 0.2353750318, 0.2850187421, -0.1285236031, -0.1947909147, -0.1714641303, -0.3887720406, 0.6534578204, -0.2362226695, -0.2232439369 ]
http://arxiv.org/abs/2402.10524v1
http://arxiv.org/pdf/2402.10524v1
LLM Comparator: Visual Analytics for Side-by-Side Evaluation of Large Language Models
2024-02-16T09:14:49
2024-02-16T09:14:49
Minsuk Kahng, Ian Tenney, Mahima Pushkarna, Michael Xieyang Liu, James Wexler, Emily Reif, Krystal Kallarackal, Minsuk Chang, Michael Terry, Lucas Dixon
cs.HC
cs.HC, cs.AI, cs.CL, cs.LG
Automatic side-by-side evaluation has emerged as a promising approach to evaluating the quality of responses from large language models (LLMs). However, analyzing the results from this evaluation approach raises scalability and interpretability challenges. In this paper, we present LLM Comparator, a novel visual analytics tool for interactively analyzing results from automatic side-by-side evaluation. The tool supports interactive workflows for users to understand when and why a model performs better or worse than a baseline model, and how the responses from two models are qualitatively different. We iteratively designed and developed the tool by closely working with researchers and engineers at a large technology company. This paper details the user challenges we identified, the design and development of the tool, and an observational study with participants who regularly evaluate their models.
[ -0.579482913, -0.7638711333, 0.6357693076, 0.4553606212, -0.4776400626, 0.3728922009, -0.1848508716, -0.4313489199, 0.2293166369, 0.2491369545, -0.6363110542, -0.6135557294, -0.7353174686, -0.0556240268, -0.5558895469, 0.5811992288, -0.0538107082, 0.2224275321, -0.8237081766, -0.3376024961, -0.7180271149, -0.3033360839, -0.968705833, -0.410440594, 0.323846072, 0.365827769, 1.0989648104, 0.3692217767, 0.8290994763, 0.5027187467, 0.1689554453, -0.336943239, -0.5856679082, 0.3427030444, 0.0079603391, -0.2787670195, -0.5539088845, -0.0832077339, 0.4561773539, 0.6126756668, 0.1051474512, 0.5397538543, 0.2702645659, 0.6028648019, -0.2992527783, 0.4877755046, -0.2742342651, 0.1389844716, -0.087837562, -0.3172152936, -0.2290416062, -0.4503456354, -0.0522440635, -0.4367898107, -0.1804109961, 0.2058131099, 0.5808471441, 0.572619617, -0.3741968572, -0.1492360383, -0.1702166796, 0.8026209474, -0.7263780832, 0.385168165, -0.287189573, 0.8211479187, -0.0366951674, -0.789513886, -0.6038531065, -0.2892746627, -0.2594748139, 0.2593177855, -0.6792970896, -0.2728669643, 0.2776673138, 0.4465527534, -0.8663398027, 0.4742521644, -0.0158929229, 0.0181687064, 0.8624020815, 0.5752494931, 0.5567906499, -0.1457396448, -0.2135790288, -0.2282015085, -0.361748755, 0.1855163127, 0.3820129931, -0.0536691882, -0.4097901881, 0.7201188803, -0.3855377138, 0.7379706502, -0.0733384639, 0.1850942969, 0.3772012293, -0.1280812025, -0.2627938986, -0.3268781602, 1.0257949829, 0.7254196405, 0.0726911128, 0.1278242618, -0.4401270151, 0.0041182693, -0.0136254365, -0.9463297725, -0.403434217, 0.2568634748, -0.7105018497, -0.3567696512, -0.2814106345, -0.9351369143, -0.7280100584, -0.3599162102, 0.6093223691, 0.3112528026, -0.2228277475, -0.1611852497, -0.2057221085, -0.1013810113, 0.5288828015, -0.4474869072, 0.2372594774, 0.7102906704, 0.8176855445, -0.5276259184, -0.3076565862, -0.9370764494, -0.3962123096, 0.0061602616, 1.0451295376, -0.682284236, -0.5168265104, -0.1837190241, -0.3119190335, 0.1594875306, -0.6969044209, 0.1858279109, -0.4624931812, -0.0489643142, -0.1496080309, -0.4562735558, 0.1711672843, 0.2273590714, -0.9482263923, 0.9376717806, 0.000105967, -1.0816756487, 0.5196669102, -0.5455604196, 0.0227809791, 0.3794228733, -0.7120857835, -0.5550032258, 0.1536671221, 0.2982414961, 0.4486438036, -0.5536035299, 0.1309403181, -0.7470257282, -0.3268655837, 0.3281401098, -0.4231001437, 0.8649367094, 0.2135231197, -0.1951990277, 0.7608836293, -0.8824670315, 0.1698253751, 0.2351823002, -0.2485985309, -0.137297973, 0.0255637299, 0.0407228991, 0.2543039024, 0.5142458081, -0.2720339894, 0.0911858156, 0.0338712335, 0.2067111433, 0.4987585545, -0.036726322, 0.2369997203, -0.1214666441, 0.8670790195, -0.2523141801, 0.3381357789, 0.2922827899, -0.4373978376, -0.9111264944, -0.3092389703, 0.1120903268, 0.3941222429, -0.9338920712, 0.270129174, -0.5035495758, -0.5946125388, -0.5444630384, 0.2586343288, 0.2014403641, 0.2985289097, 0.1650570482, -0.3782176971, -0.3978121579, -1.0867587328, -0.4487967193, -0.1802081764, -0.2964232564, 0.0444768518, 0.4411026835, -0.1323256344, 0.7978988886, -0.3976106048, 0.0909726992, -0.3543785214, 0.529301703, 0.1745042503, 0.1162023023, 0.3786144853, -0.5802750587, -0.6250115037, 0.1175037995, -0.8294296861, -0.6262364984, 0.0904931948, 0.0904981047, -0.0377734974, 0.7091331482, -0.2767105103, 0.4698146582, 0.9110328555, -0.1843426228, 0.4627397358, -0.1362234652, 0.3239298165, -0.7698749304, 0.1904046535, -0.0419262536, -0.2406426668, -0.218715772, 0.2197817415, -0.0813265741, -0.2636465132, -0.3381514251, 0.6995316148, -0.4657622576, -0.4656437337, -0.3241823614, 0.2831583321, 0.0164170545, 0.1584478468, -0.0325105414, 0.7416877747, 0.3347443044, -0.0862162039, 0.7796263695, 0.1867732257, -0.736530304, 0.7052053809, -0.8737952709, 0.1557762623, 0.1974241138, 0.0590208992, -1.0573093891, -0.0086584175, 0.0148496171, -0.4400795698, -0.0757068545, -0.1784650236, -0.627117753, -0.509986937, -0.4970734715, 0.4043849111, 0.315248251, -0.7675815225, 0.7754969597, 0.4065045416, -0.4988028705, -0.229894653, -0.6292793751, 0.2319983989, -0.402105093, -0.9612303972, -0.2118910551, -0.4148459435, -0.819498837, -0.0686535239, -0.1715993881, -0.1026184112, 0.1275365353, 0.4568477869, 0.2778604627, -0.1399710625, -0.2294100821, -0.0147427451, -0.2902544737, 0.3163351715, 0.33545506, 0.3521152735, -0.187715739, -0.5514523387, -0.3744263947, 0.2974317074, 0.4333162606, -0.1832576096, 0.4042798281, 0.3299647868, -0.0407973751, -0.1865540147, -0.6078514457, 0.2108223289, -0.5261234641, 0.2269973159, -0.6440526247, -0.7409650087, 0.5722050667, 0.0431548469, 0.0180910248, 0.4015356898, 0.8375942707, 0.1556297988, 1.3895922899, 0.7256749272, 0.0734164119, 0.3818603158, -0.1836615205, 0.246628195, -0.2837859392, -0.2676500678, -0.4132630229, -0.3175166845, -0.4731064141, -0.2954936326, 0.6173706055, -0.1274875849, 0.0407508127, 0.1030805185, -0.2427444905, 0.5319091678, 0.3405106068, -0.2880299091, 0.6569852233, -0.1042464525, -0.0446277708, -0.0495358482, -0.4700532258, -0.4442810416, 0.622707963, 0.3521311879, 0.8928752542, 0.0325827822, 0.6318494081, 0.454339087, 0.4748618305, -0.9637529254, 0.7270068526, -0.0339729376, -0.0783282667, -0.3674953282, -0.5332821608, -0.8734468222, 0.5028640628, -0.2651945353, -0.7531297207, -0.0031461956, 0.1896999031, -0.288425833, -0.0348400176, -0.85505265, 1.1157047749, -0.3817659914, -0.4758844078, -0.263109982, -0.3884273171, 0.0469653904, -0.168698743, 0.2830424607, 0.0332698636, 0.0597831383, 0.592675209, -0.5627372265, 0.3726649284, -0.0958541855, -0.2711027861, 0.0777899548, 0.2782251239, 0.4513474703, 0.1074508876, -0.232225731, 0.1965907216, 0.1089444458, -0.2515614033, -0.9799961448, 0.9936006069, -0.406399399, -0.8486052752, -0.3748347461, -0.6491352916, -0.2693249285, 0.2054103017, 0.0989924148, 0.2719276547, -0.1702063382, 0.1988670528, -0.0655641183, -0.4124970138, 0.4664951563, 0.5415368676, -0.623329699, -0.2739714682, 0.775401473, -0.002715864, 0.2290592045, 0.3324777186, 0.1128869653, -0.3423198462, -0.6861824393, -0.528293848, -0.1470795572, -0.9660021067, 0.0226091146, -0.4358815849, -0.0220037457, -0.0526269972, -0.0914715156, -0.1918596327, -0.4069316387, 0.1166955978, 0.1578382701, -0.0048932405, 0.9631655812, 0.1224647388, 0.241556555, -0.3899126351, 0.2242604345, 0.5518491268, 0.4135128558, 0.0426074602, -0.1783697754, -0.3661375046, -0.2478746474, -0.1184920594, -0.4757737219, 0.4441850185, -0.5262516737, 0.4579778612, 0.2545799315, -0.1586986184, 0.6545448303, -0.3354232311, 0.5925872922, 0.2185336053, -0.9685202241, 0.2437848896, -0.0816020295, 0.6155567765, 0.5854290724, 0.1880460232, -0.2520383298, -0.447437197, -0.2715132833, -0.8283143044, 0.3273667395, 0.2265397757, -0.340750128, 0.2920901179, -0.416654706, 0.3527559638, 0.2258164734, -0.6810272336, -0.1533329189, 0.0274734627, -0.2043456435, -0.2582054138, -0.0806215927, -0.0171182845, -0.1012594402, 0.3343992829, -0.1049436554, -0.0859634727, -0.4095543027, -0.3757765889, -0.0752665251, 0.2546239495, 0.0614951737, 1.143206358, -0.1213880703, 0.1368694603, 0.407348305, 0.0952219516, -0.2420567721, 0.3911538124, 0.1638090163, -0.0569240041, 0.4886007905, 0.781483829, 0.018342467, -0.7274577022, 0.7979214191, -0.3993944526, 0.1297786534, -0.2353916317, -0.1154545471, 0.2094990611, 0.6433085203, 0.2179377377, -0.2927521169, 0.6379444003, -0.3674662411, 0.0205275603, 0.5921869278, -0.1611638665, 0.0021391988, 0.6544146538, 0.3907304108, -0.4404705465, 0.1556582898, -0.0893005878, -0.3208473921, 0.6710339189, 0.0629138723, 0.7790261507, 0.0667511746, 0.0387955457, -0.1206725612, 0.0863634124, 0.2111323178, 0.2622466385, -0.1164512411, -0.0842996538, -0.4572179615, -0.5483547449, -0.7630534768, 0.2932582796, -0.8995569348, 0.50423944, -0.1458760351, -0.2003764063, 0.486230433, 0.0835045278, -0.9508930445, 0.2777091265, 0.129286617, 0.7132816911, -0.8164131045, 0.6275266409, 0.7308974266, -0.4491117001, -0.3980893791, -0.0382765606, 0.2429584563, -0.9250652194, 0.7651010156, 0.1477311105, -0.3910472393, -0.1841065735, -0.3326531649, -0.6166599989, 0.8962718844, 0.4706898928, -0.7780721188, 0.4143621922, 0.2696070671, 0.8306927681, -0.2438461483, 0.6661049724, 0.4740799665, 0.4376965761, -0.1999306381, -1.1212232113, 0.2204718143, -0.5367504358, -0.0147283245, 0.29554829, -0.7365468144, 0.5923767686, 0.0758694634, -0.1335223615, 0.0957179591, 0.6442518234, 0.0615359321, 0.6901655793, 0.6821507812, 0.5754510164, 0.3351565599, 0.133799836, 0.9910820723, -0.182436347, 0.4753267765, 1.3415449858, -0.2783386409, 0.9436487556, 0.6041623354, -0.1818717718, 0.3426856101, 0.4706268311, -0.290365994, 0.1859041005, 0.5452699661, -0.1034636423, -0.3118849695, 0.0120339403, -0.2607179582, 0.2738229632, 0.0022982946, -0.1126592755, -0.3598187268, -0.0608867779, -0.1203478277, 0.136474669, -0.27628842, 0.5702352524, 0.0720987171, -0.5727005005, 0.4286740124, -0.2175938487, 0.5155128837, -0.2384199649, -0.1195905134, -0.3395340443, 0.1653824449, -0.3142521083, -1.1220564842, 0.1716405004, 0.1705181003, 0.0603653491, -0.2804465592, 0.4367333055, -0.1364340633, -0.5423790812, 0.6111556888, 0.7189173102, 0.2749156654, -0.014135262, -0.9176498652, 0.7104254961, -0.1491875052, -0.4423867762, 0.233652249, 0.3306081593, -0.2006473094, 1.1955187321, 0.3452928364, -0.0622365028, -0.0348756239, 0.5787000656, 0.9175323248, -0.4586727917, -0.4531110227, -0.9235098958, 0.5758063793, -0.3963829875, -0.0681342855, 1.1209965944, 0.925704658, 0.8030189872, 0.0596345253, 0.7612558007, 0.1814197004, 0.3767193258, -0.4727936685, 0.7432658076, -0.8243012428, 0.6166222095, -0.1501636058, -0.9944698811, -0.2911225557, 0.1548337936, -0.4920089245, 0.0248503238, 0.7766899467, 0.5548318028, -0.1663315296, -0.0921364054, 0.4327626228, 0.3552483022, 0.3320795, 0.2881546021, 0.9996788502, 0.0636259392, 0.7185504436, -0.216418311, -0.300245136, -0.1916381419, -0.9557586908, -1.2654495239, -0.3326981962, -0.4709739983, -0.2031503916, 0.0213117152, 0.8224396706, 0.2881650627, -0.8270644546, -0.6750616431, 0.2440452725, 0.0486177802, 0.0927854478, -0.1904968172, 0.1920386255, 0.0236057881, -0.8328321576, 0.4222288132, 0.438978076, -0.1706665456, -0.426559329, 0.0865837187, 0.3865366876, -0.0419451781, 0.5536833405, -0.007797536, -0.5442239046, -0.0976540074, -0.460921526, 0.0196188018, 0.1395946294, 0.6916230917, -0.628318429, 0.706933558, 0.8748654723, 0.6144097447, 0.5984432697, -0.0738438889, 0.5931445956, -0.3331956565, -0.1248444617, -0.1383459568, 0.5250203609, 0.4264631271, -0.1618579328, 0.4599297643, -0.1963497549, -0.6184014082, -0.8953284025, 0.0941264927, -1.0639023781, -0.0934553817, 0.95863837, -0.0457547046, -0.0679389015, 0.1456166506, -0.2471651137, 0.1692158282, -0.4305709004, 0.8194660544, 0.7186684608, -0.357919395, 0.0220379978, -0.8179053068, 0.2094163448, 0.5002987385, -1.0959954262, -0.1823551655, 0.5795725584, 0.3901083767, -0.1281637251, 0.2366745621, 0.1448719352, 0.1612432748, 0.1138240695, 0.1304336786, -0.0855991393, -0.0469651483, -0.7614488006, 0.1127947345, 0.3224451244, -0.022831751 ]
http://arxiv.org/abs/2402.10500v2
http://arxiv.org/pdf/2402.10500v2
Active Preference Optimization for Sample Efficient RLHF
2024-02-16T08:19:34
2024-06-05T15:10:08
Nirjhar Das, Souradip Chakraborty, Aldo Pacchiano, Sayak Ray Chowdhury
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning from Human Feedback (RLHF) is pivotal in aligning Large Language Models (LLMs) with human preferences. Although aligned generative models have shown remarkable abilities in various tasks, their reliance on high-quality human preference data creates a costly bottleneck in the practical application of RLHF. One primary reason is that current methods rely on uniformly picking prompt-generation pairs from a dataset of prompt-generations, to collect human feedback, resulting in sub-optimal alignment under a constrained budget, which highlights the criticality of adaptive strategies in efficient alignment. Recent works [Mehta et al., 2023, Muldrew et al., 2024] have tried to address this problem by designing various heuristics based on generation uncertainty. However, either the assumptions in [Mehta et al., 2023] are restrictive, or [Muldrew et al., 2024] do not provide any rigorous theoretical guarantee. To address these, we reformulate RLHF within contextual preference bandit framework, treating prompts as contexts, and develop an active-learning algorithm, $\textit{Active Preference Optimization}$ ($\texttt{APO}$), which enhances model alignment by querying preference data from the most important samples, achieving superior performance for small sample budget. We analyze the theoretical performance guarantees of $\texttt{APO}$ under the BTL preference model showing that the suboptimality gap of the policy learned via $\texttt{APO}$ scales as $O(1/\sqrt{T})$ for a budget of $T$. We also show that collecting preference data by choosing prompts randomly leads to a policy that suffers a constant sub-optimality. We perform detailed experimental evaluations on practical preference datasets to validate $\texttt{APO}$'s efficacy over the existing methods, establishing it as a sample-efficient and practical solution of alignment in a cost-effective and scalable manner.
[ -0.2564706504, -0.843629837, 0.383983165, -0.0421614498, -0.1995497495, -0.182199657, -0.4779610932, -0.2998128533, 0.0136584351, 0.4555018246, -0.7789471745, -0.2329928577, -0.084446311, -0.1560165435, 0.1415958852, 0.8709743619, -0.1770470291, -0.1701046675, -0.0652425289, -0.230962351, -0.3162180781, -0.161641255, -0.6112907529, -0.3280460536, 0.6144816279, 0.6863365173, 0.8774707913, 0.9436841607, 0.1232208237, 0.2084865272, -0.0466150716, 0.4058701098, -0.4672676325, 0.4763436615, -0.0213345401, -0.301592052, -0.2286720574, -0.021561902, 0.548599422, 0.4391127527, -0.6334043741, -0.0628496557, -0.1385413557, 0.7216684222, -0.8091414571, 0.0050022784, -0.6525442004, 0.2028838396, -0.112728402, -0.1118934676, -0.4904816747, -0.5671854019, 0.3671760857, -0.8603346944, 0.24167566, 0.3159277737, 1.0781902075, 0.4195862412, -0.2972610891, -0.2684569955, -0.6723082662, 0.9009354115, -0.454076618, 0.2845901251, 0.4434989989, 0.3729583621, -0.1406246424, -0.4102570713, -0.4707883596, -0.2313618958, 0.0984539092, 0.3097630441, -0.0362570137, 0.2423057258, 0.2020348608, 0.2139027864, -0.4311163425, 0.2455970794, -0.1488395035, -0.2923841178, 0.7157287598, -0.0214387663, -0.0340495072, -0.2077149749, -0.4498196542, -0.4175614715, -0.6436436772, 0.3931716681, 0.6856257915, 0.4562324584, -0.0016591973, 0.4544583857, -0.1689192057, 0.9068353772, 0.3001756072, -0.1637554318, 0.092002973, -0.2294121534, -0.0829012468, 0.0721149817, 0.7361692786, 0.1336190999, 0.3000224829, 0.0975502729, -0.4712350368, -0.1705110371, 0.4334338903, -0.4657004178, -0.2061152011, 0.2829612792, -0.2682347, -0.307280153, -0.0322327018, -0.8028980494, -0.2752245367, -0.1979860663, 0.3195612729, -0.1357808113, -0.0644633919, -0.1458129138, 0.2259179652, 0.1764007956, 0.4018558264, -1.0446562767, -0.096386686, 0.3903950155, 0.5909183621, -0.3682021201, -0.2890233397, -0.6886357069, -0.067468971, -0.4077926576, 0.7921299338, -0.4492417872, -0.5400195122, 0.225420922, -0.2148515433, -0.1284203529, -0.6468282938, 0.730522573, -0.7394967079, 0.2652666569, -0.3722518682, -0.4062891901, 0.0516088866, 0.0585837774, -0.7207238674, 0.9844625592, 0.234460175, -0.4111733437, 0.691215694, -0.4908944368, -0.2286647111, -0.0842508227, -0.1244933829, -0.906476438, -0.1389104724, 0.3375895023, 0.1895538419, 0.0400247276, 0.3290579319, -0.4992699623, -0.2873216271, 0.3055494726, -0.4363614023, 0.6516168118, 0.4213980734, -0.3481616974, 0.6175992489, -0.4550964236, -0.0260142926, -0.0072634765, -0.6322678328, -0.1042537466, 0.1486734003, -0.0723673105, -0.155487448, 0.1797520816, -0.3416639566, 0.370256871, -0.3257261515, 0.281106174, 1.1213086843, 0.0675008819, 0.6174299717, -0.3233950436, 0.7650811672, -0.3049538136, 0.3089550138, 0.0469806567, -0.1254370213, -0.4043226838, -0.2995637059, 0.5731869936, 0.4298846424, -0.5396392345, 0.5212546587, 0.0135316299, -0.0445751697, -0.5775119066, 0.1190264747, 0.522044003, 0.6832808852, 0.3492655456, -0.0764523894, -0.4633713067, -1.0851317644, -0.1508948803, -0.3043338358, 0.1948564053, 0.7018477917, -0.0985517353, 0.100279212, 1.1454654932, -0.6003727913, -0.0159911904, -0.2992041409, 0.0834473595, 0.0902910233, 0.3565787375, 0.3685281873, -0.7971663475, -0.6063566208, -0.1590916067, -0.3620664775, -0.2170691043, -0.0305852778, -0.2810463309, 0.374148339, 0.1289578229, -0.4975615442, 0.1069978923, 0.5437632203, -0.2333238721, 0.339951992, -0.2101332098, -0.0715873763, -0.7481199503, 0.008385146, -0.0363091566, -0.2364127338, -0.3083339036, -0.0168608148, 0.1889253706, 0.0613660663, -0.4021095335, 0.6940620542, -0.4306115508, -0.054541558, -0.3278820515, -0.0504739173, -0.3195213079, 0.704986155, 0.2278586179, 1.0145142078, 0.2243651748, -0.5037539601, 0.3037283123, 0.1348453909, -0.2724662721, 0.3661265671, -0.5415289402, 0.0511551946, -0.0675785542, 0.3747680485, -0.8332685828, -0.4072103798, 0.2979864478, -0.3982614875, 0.401620239, -0.1365043819, -0.0109670674, -0.1048356667, -0.1842085123, 0.4572039545, 0.6850670576, -0.6988978982, 0.4680482745, 0.5122129321, 0.0820161477, -1.0319210291, -0.0393300839, -0.4633107483, -0.2698840797, -0.2938820124, 0.2136622965, 0.1715883613, -0.1873425543, 0.1076927632, -0.3581885099, 0.2615693808, 0.0393529534, 0.0075955265, 0.4205177426, 0.0712424442, 0.0403598174, -0.0481121875, -0.2125805467, -0.2139428407, -0.2740810215, 0.3210220933, 0.1036289558, -0.3878750205, -0.0899048373, 0.0365748256, 0.3222584426, -0.1058046222, 0.2407104671, 0.4072468877, -0.1241989657, -0.5165413618, -0.4509141445, -0.2195769995, -0.4233185947, 0.3166284859, -0.2206202447, -0.7438277602, 0.3144097924, 0.1975419074, 0.4631451368, 0.2987126708, 0.4327366948, -0.1254477799, 0.9526811242, 0.2867554724, -0.0060238168, 0.8120657802, -0.074808538, -0.06062961, -0.6383239031, -0.062559016, -0.3957021236, -0.3933451474, -0.4793625772, -0.2936500013, 0.5076134801, 0.1863220185, -0.2498666048, 0.0760497227, -0.4805474877, 0.336222142, 0.8178617358, 0.2287351042, 0.0120271211, -0.0417178012, -0.2201277018, -0.0094888201, -0.9123342037, -0.3750819564, 1.1509150267, 0.2758846581, 0.9742134213, 0.1247492507, 0.6557919979, 0.3719443679, 0.2772304714, -0.9777982235, 0.4181024134, 0.0697214007, -0.5558760166, -0.7446883917, -0.5212404728, -1.1967973709, 0.329346329, -0.3859000504, -0.4536007047, 0.4713687897, 0.7890013456, -0.6964126229, 0.0915235132, -0.734847188, 0.7646411061, -0.2079049498, -0.6999490857, -0.0515530184, -0.7687475085, 0.402171582, 0.1175809577, 0.0187828578, -0.144158259, -0.0457982123, 0.7720282078, -0.3868418336, 0.7015968561, -0.5297290683, -0.0843891874, 0.3791261017, -0.1663363427, 0.8385589123, 0.165975064, -0.0328810662, -0.4490876794, -0.1771392971, -0.5862910748, -0.5101139545, 0.5288847685, -1.0217967033, -0.6059304476, -0.4409872591, -0.4245750606, -0.4889780879, 0.0525840111, 0.2577773631, 0.2910067737, -0.133686319, 0.1268977225, 1.0263897181, -0.0551700369, 0.5261315703, 0.3993114531, -0.0811976492, -0.6492105126, 0.711089313, -0.038348835, 0.4102929831, 0.3825956285, 0.4570326507, -0.5839534402, -0.4510780275, -0.7818975449, 0.1138361543, -0.4147618711, -0.2354587764, -0.4306969047, 0.0648391023, -0.2794387341, -0.2255975604, -0.4469869435, -0.3979187012, -0.1477725059, -0.1259183437, 0.275701344, 0.2468356937, -0.1469899267, 0.2225659341, -0.5976809263, 0.2381283045, 0.6999415159, 0.105574578, 0.0852595344, -0.3592473865, -0.2170620859, -0.0098109329, -0.3130050898, -0.8158408403, 0.2407200634, -0.0414646938, 0.7884088159, 0.574768424, 0.5428474545, 0.6635445356, -0.2496614903, 0.6209007502, -0.0711743832, -0.6955415606, 0.4593608677, -0.4304528236, 0.248670876, 0.8395831585, 0.1662054807, -0.3485408723, 0.0342310332, -0.7626377344, -1.0836158991, 0.9340461493, -0.027410714, -0.0957994759, 0.268242538, 0.4770435095, 0.0643445924, 0.1668787003, -0.5538637638, -0.1876688451, -0.1857788563, -0.2139797211, -0.028394144, -0.1815567613, -0.448397845, 0.1174517199, 0.9034346342, -0.2946290374, 0.1078243479, 0.1873880476, 0.1227659732, -0.5214853883, 0.3859859705, 0.6716649532, 0.5518019795, -0.4302757978, 0.0314646214, 0.0066945669, -0.3832309246, 0.2442248613, 0.1497920454, -0.6135348082, -0.2377761602, 0.2952881157, 1.034145236, 0.1686642468, -0.8315301538, 0.4693300724, 0.0116305696, -0.2252966315, -0.2331178933, 0.3287768066, -0.2313381881, 0.0995347053, 0.4279785156, 0.0256736148, -0.1411719173, -0.495084554, 0.2650913298, 0.6625546813, -0.5985393524, -0.1503794193, 0.4448264837, 0.3300827742, -0.3951208889, 0.5283391476, -0.1968831271, -0.5083591342, 0.5221546888, 0.4105080366, 0.8159044385, -0.2331761271, 0.168348521, 0.5009461045, -0.054991696, -0.3284190893, 0.1532255411, -0.3955791295, -0.9863636494, -0.1459283829, -0.6221737862, -0.7159392238, -0.097702913, -0.8600074649, 0.1859640032, -0.352540642, -0.0743918419, -0.4100455642, 0.2004037201, -0.2712817192, 0.1396817863, -0.3198944032, 0.5982582569, -0.7368260622, 0.7861505747, 0.7601364851, -0.1648528874, -0.9874484539, 0.250526458, 0.0011460352, -1.1215020418, 0.2575086057, -0.3430264294, 0.0388337672, 0.0403202847, -0.4653457999, -0.8842071891, 0.9961604476, 0.1566387266, -0.5606819391, -0.1369962692, -0.6421562433, 0.1838291287, -0.2868004143, 0.1031414643, 0.4850191474, 0.6080377102, 0.3683495224, -0.7756103873, 0.0822943673, 0.1124426872, -0.0835693404, 0.4873538911, -0.8447269797, 0.5700139403, -0.3511151373, -0.2680921257, -0.047121942, 0.7806364298, 0.744662106, 0.2307311296, 0.8727462292, 0.5763266683, 0.7160320878, -0.0073502031, 0.872633636, -0.1779787689, 0.4431191087, 0.9727398157, -0.2382432222, 0.8110927343, 0.5570952296, -0.4181904197, 0.208427161, 1.0254508257, 0.053224884, 0.8428453803, 0.1967915148, -0.3068901002, -0.3951660693, -0.0815332606, -0.1941513121, 0.1557787806, 0.0185923446, -0.1829725802, -0.133562386, -0.2900986969, -0.0180223268, 0.272177279, -0.1096417084, 0.9783951044, -0.2802379131, -1.2601501942, 0.5634391308, -0.0899720043, 0.6886377931, -0.7539681196, 0.0970727652, -0.2920291126, 0.1229885519, -0.0910377502, -0.4961339235, 0.0272685066, -0.2303222567, -0.2254855335, -0.3721809685, 0.4000017643, -0.4373163581, -0.1056091785, -0.1041652039, 0.3559189737, -0.2200722992, 0.5335624814, -0.728836894, -0.0536034815, 0.2539170086, -0.5131305456, 0.3936537206, 0.1812606603, -0.1383977979, 0.4020306766, 0.7655462027, 0.3393730819, -0.1453368962, -0.0666550696, 0.5580358505, -0.5209997296, -0.570602715, -0.6066704988, 0.2839138806, -0.0196080003, -0.5745906234, 0.4977151155, 0.4788125455, 0.7652903795, 0.1367125064, 0.8546729088, 0.0619830601, 0.532755971, -0.7438304424, 0.3042639196, -0.5282402635, 0.3642937541, 0.0659816787, -0.8763347864, -0.0190598331, 0.7497776151, -0.2502045631, 0.152548179, 0.5044677854, 0.7975159883, -0.0400645919, -0.1192877665, 0.1431188285, -0.1781185269, 0.1359919161, 0.4917181134, 0.7689747214, 0.018231282, 0.5875661969, -0.3312579393, -0.3780936599, -0.2576921284, -0.8080856204, -0.5003099442, -0.4672623873, -0.1711875796, -0.5610876679, 0.3103247881, 1.3704191446, 0.885501802, -0.7642038465, -0.2649302185, -0.199431181, 0.3669172823, -0.5152006149, -0.2668991685, 0.5448320508, -0.4363770485, -0.8499383926, 0.3222770393, -0.0168881677, 0.141677022, -0.3320633769, -0.3425027132, -0.129022032, 0.1231932193, 0.2099216133, 0.7340351343, -0.9375101924, -0.2570365667, 0.1448186487, -0.1234996095, 0.0114856558, 1.0017110109, -0.6300464869, 0.4118229747, 0.4660120308, 0.7897164226, 0.4990167916, 0.5097556114, 0.7266682386, -0.668332994, -0.1293783188, 0.3707029521, 0.2561403811, 0.1268249601, -0.5407065749, 0.4356898069, 0.2698936462, -0.8050857782, -0.9662256241, 0.4623256922, -1.0298959017, -0.3914385438, 1.3657011986, -0.1899129003, -0.1679635495, -0.038154088, -0.2317452431, 0.1696775407, -1.0005556345, 0.9396112561, 0.5484371781, -0.5887682438, -0.3132018447, -0.2539923489, 0.7713978887, 0.6462157369, -0.4632892609, 0.2646265924, 0.6803608537, -0.0000489156, -0.1713620573, 0.7369887233, 0.2242196202, 0.3709079623, -0.2292018533, -0.0292020794, -0.1078211293, -0.2118788213, -0.4418322146, 0.3673006892, 0.3230392039, -0.2742402852 ]
http://arxiv.org/abs/2402.10496v2
http://arxiv.org/pdf/2402.10496v2
Comparing Hallucination Detection Metrics for Multilingual Generation
2024-02-16T08:10:34
2024-06-16T00:44:28
Haoqiang Kang, Terra Blevins, Luke Zettlemoyer
cs.CL
cs.CL, cs.AI
While many hallucination detection techniques have been evaluated on English text, their effectiveness in multilingual contexts remains unknown. This paper assesses how well various factual hallucination detection metrics (lexical metrics like ROUGE and Named Entity Overlap, and Natural Language Inference (NLI)-based metrics) identify hallucinations in generated biographical summaries across languages. We compare how well automatic metrics correlate to each other and whether they agree with human judgments of factuality. Our analysis reveals that while the lexical metrics are ineffective, NLI-based metrics perform well, correlating with human annotations in many settings and often outperforming supervised models. However, NLI metrics are still limited, as they do not detect single-fact hallucinations well and fail for lower-resource languages. Therefore, our findings highlight the gaps in exisiting hallucination detection methods for non-English languages and motivate future research to develop more robust multilingual detection methods for LLM hallucinations.
[ -0.5709339976, -0.5874372125, 0.6383610368, 0.3685451448, -0.0167038739, 0.214623794, -0.2726664245, -0.7775338292, 0.8466700912, 0.4345725775, -0.5280203819, -0.6186340451, -0.4347191453, 0.6087036729, -0.3133680224, 0.9169235826, 0.1697660387, 0.1034568772, -0.3659068346, -0.3799297214, -0.4421830177, -0.7393351197, -0.5559183359, -0.0976320878, 0.5250067711, 0.0095754135, 0.7036184669, 0.0709650293, 0.438451618, 0.2664973438, -0.0034326452, 0.7481889725, -0.3203649223, 0.354378283, 0.0919474214, -0.2865207791, -0.330294013, -0.1649926156, 0.4905300438, 0.7809989452, -0.0301169604, -0.0175761506, -0.0997318923, 0.5848254561, -0.8226116896, -0.1040544286, -0.5390748978, 0.4348751307, -0.0313085578, -0.5222240686, -0.5352894664, -0.5239849687, -0.1412903816, -0.2026049793, 0.5494354963, 0.0266332775, 0.694449544, 0.352950871, -0.4083222151, -0.7436512709, -0.6625519991, 0.6372001171, -0.62926054, 0.826233685, 0.3865731359, 0.2349926531, 0.0719797537, -0.3036417365, -0.6440722942, -0.5003154874, -0.558005929, 0.1121565327, -0.0867832676, -0.2531938553, 0.3889133632, 0.3017118275, -0.9091804624, 0.1443152279, -0.4030492604, -0.7087894082, 0.5869754553, 0.0921145752, 0.3924314976, -0.4414069057, -0.0338188075, 0.176360786, -0.5276443362, -0.3805614412, 0.8172249198, 0.269123286, -0.2139879912, 0.350371182, -0.1233575642, 0.427259624, -0.3647306263, -0.5504996181, 0.5491718054, -0.5447286367, 0.2549181879, 0.2602669001, 0.8895166516, 0.5195182562, 0.4826569259, -0.7105435729, -0.0580235347, 0.1634687632, 0.1045366898, -0.5509545803, -0.2152410895, 0.3286580741, -0.3128876388, -0.0253046006, 0.3367022872, -1.0752332211, -0.7026603818, -0.1389263868, 0.1542763561, -0.4417060316, -0.4216373861, -0.0827230588, -0.3244108558, 0.3069653809, 0.1174663231, -0.8011871576, 0.1189812347, 0.58912462, 1.1595392227, -0.681018889, -0.5467243791, -0.5802354813, -0.1342201531, -0.4558445811, 0.8887203932, -0.1668582708, -0.2658692896, 0.1751191914, 0.2389938086, -0.0910331234, -0.8482289314, 0.5187215805, -0.0075531574, 0.2933645546, -0.2759102285, -0.1658687741, -0.2848604321, 0.1066012532, -0.8024062514, 0.93839252, -0.1641384959, -0.7897673249, 0.698079288, -0.0795297697, -0.6341193318, -0.0492300689, -0.2209820002, -0.4252650738, 0.16765742, 0.1339011043, 0.5932037234, 0.0717724413, 0.3893019855, -0.1466892511, -0.5565075874, 0.1733675301, -0.5075501204, 0.7711031437, -0.038882304, -0.5407651663, -0.0838793069, -0.8574860692, -0.262717098, -0.0707328096, 0.0807358176, -0.2475794554, -0.0301393885, 0.050977461, 0.0162342247, -0.0343658887, -0.3091763258, -0.2002187669, -0.2546405196, -0.1283973902, 0.2139982432, 0.1648358554, -0.0814112723, -0.3253951371, 0.3510135114, -0.0191192571, -0.3102710247, -0.0740884319, -0.463413924, -0.8032847047, -0.3700883985, -0.0765533969, 0.680605948, -0.5122233629, 0.7901309729, -0.2831109166, -0.3352665007, -0.3958181739, 0.0144767156, 0.1356020868, 0.2781787217, 0.3918542266, -0.1583462209, -0.7124978304, -1.0473598242, -0.3456594944, -0.4379775226, 0.0163518097, 0.1656455845, 0.6842052937, -0.2459751517, 0.4833910167, -0.2294384837, -0.4239414334, -0.2857042253, 0.215319559, -0.1137981638, 0.0410907827, 0.7196344733, -0.6529497504, -0.3265661597, 0.1658385396, -1.3047078848, -0.1514185071, -0.5051189661, 0.1437254399, 0.7388976812, 0.4747994542, -0.4808386862, 0.5428330302, 0.4278836548, -0.3999895453, 0.8790338635, -0.1238638684, 0.6278548241, -0.8795017004, 0.0166137535, -0.116138801, -0.1956792474, -0.6191589832, -0.0029826155, -0.03636178, 0.4035245478, -0.2995039523, 0.3890748918, -0.5660158992, -0.2944065332, -0.0368984379, 0.4695222378, -0.1435244828, 0.3405024707, 0.2118309289, 0.8260185719, 0.4987325668, -0.5903303027, 0.2995257974, 0.1070313007, -0.442033112, 0.6330292225, -0.1027563214, 0.0278776642, -0.1521216333, -0.0308063477, -1.0574270487, -0.3991980255, 0.2025485784, -0.5547825098, 0.1263132393, 0.3610804975, -0.5410179496, -0.1526872367, -0.5902122855, 0.0772915483, 0.3307634294, -0.6834478378, 0.605979681, 0.3344449997, 0.1021514237, -0.6759630442, -0.8015576005, 0.4902230203, -0.4326184392, -0.4204162061, 0.0976130515, 0.0116821621, -0.5495995283, -0.3556642532, -0.0955643207, -0.1391918361, 0.0272659305, 0.2295835763, 0.2000203282, -0.2479230464, -0.1192414984, 0.0744822472, 0.0427512303, 0.2699532509, 0.1702278852, 0.5597076416, 0.0153473439, -0.3133709431, -0.6588767767, 0.4044767618, 0.7650751472, 0.1434523612, 1.0709042549, 0.8627195358, -0.6277500987, 0.0424077921, -0.9450942278, -0.352039516, -0.3205941319, 0.4796521366, -0.4257974327, -0.49099195, 0.7587972879, 0.2871064842, -0.0006977796, 0.3881792724, 0.6567006111, 0.2429874092, 0.8740734458, 0.4101445079, 0.0406781808, -0.1587764472, -0.163913995, 0.5779063106, -0.6230732203, -0.3222948909, -0.3653095365, -0.0490984581, -0.8529452085, -0.0941138566, 0.1901509464, -0.138182953, 0.3274187744, 0.2865405977, -0.4173592627, 0.5181565285, 0.0675629303, -0.164442271, 0.6504317522, 0.1549827605, 0.145962581, -0.3530254066, -0.2810292244, -0.7188630104, 0.6937860847, -0.0011292592, 0.2081062347, 0.4262726605, 0.7102484107, 0.4206677675, 0.1001130641, -0.7701650858, 0.5113174319, -0.0474303029, -0.5108578205, -0.2707782984, -0.4719161093, -0.7633954883, 0.5519839525, -0.3601821661, -1.0220843554, 0.1694501191, -0.1115528569, -0.4247769117, 0.5042089224, -0.6346116066, 0.6667445898, -0.2108394504, -0.2031364739, -0.1599214375, -0.4329091609, 0.5993339419, -0.2356972396, 0.3791986108, -0.1410224587, -0.0434087589, 0.7279632688, -0.0628620163, 0.7112298608, -0.0722825006, -0.2272498757, 0.0993732736, 0.2164780945, 0.0854719728, 0.2755347192, 0.0303272754, 0.5727897286, 0.1224036813, -0.0783677921, -0.5312852859, 0.7638735771, -0.3678444922, -0.5702643394, -0.5219216943, -0.5282746553, -0.2426535189, -0.1258334368, 0.6502462626, 0.3143108487, -0.424770385, 0.0177822094, 0.3253331184, -0.34817487, 0.4047090411, 0.3987675607, -0.3174828589, -0.2951976061, 1.1230282784, 0.1372484267, 0.050999634, 0.2468935549, -0.0175246578, -0.2497778535, -0.5150929093, -0.458792448, 0.6463433504, -0.8322163224, 0.077429302, -1.1569039822, -0.2817402482, -0.6127373576, -0.1447585523, -0.1890163273, -0.2718607783, -0.0032268441, -0.1847856045, 0.140205428, 0.6743158102, -0.2357019931, -0.1344115734, -0.4474453926, 0.5339003205, -0.1434440166, -0.0975600928, 0.1201569289, -0.5640346408, -0.144536674, -0.2890329659, -0.1191153973, -1.0890212059, 0.4494172335, 0.1875236779, 0.4826950729, 0.654807806, -0.0418697931, 0.7336326241, -0.3965812922, 0.8886635303, 0.0476287752, -0.6654617786, 0.2012235522, 0.1126513109, -0.0480098501, 0.7033991218, 0.7032794952, -0.7787721753, -0.919628799, -0.1804531962, -0.5920311809, 0.3610571027, 0.1927434802, 0.0818926767, -0.1829089671, 0.2985864282, 0.6893085241, 0.0776005685, -0.9523756504, -0.4313554168, 0.1529801786, -0.0118822884, -0.1731081903, -0.1478150338, 0.1982726902, -0.3438060582, 0.5457065105, -0.0666434169, 0.1904804111, 0.249952361, -0.3802404106, 0.0696251839, -0.0810941607, 0.8061876297, 0.9044322371, -0.2722076774, 0.3146734834, 0.5320778489, -0.6963163018, 0.125814721, -0.2518332601, -0.0642112419, 0.5813890696, 0.9137759209, 0.8387496471, 0.101765126, -0.7468730807, 0.4516906142, -0.1403537393, -0.2911841273, -0.5810964704, -0.0211850163, -0.0625075921, 0.0448814221, 0.2861559689, -0.0577450953, 0.385263592, -0.7017118931, 0.366091311, 0.660777986, -0.2685663998, -0.4725114107, 0.6304402351, -0.0885961428, -0.5681527853, 0.4698874354, -0.5857779384, -0.5944879651, 0.5255047679, 0.4906893075, 1.0086236, -0.08292225, 0.3846494853, 0.6498502493, 0.5473167896, -0.0005901611, 0.1233412847, -0.0201228391, -0.8311668634, -0.3999162316, -0.5914015174, -0.2573001385, 0.3360078931, -0.5588189363, 0.4051199853, -0.0667785779, 0.0020930048, 0.1907782704, -0.2586874366, -0.5606765747, -0.1503032148, 0.3612592816, 0.3553433716, -0.9737525582, 0.3590398431, 0.3042193949, -0.3055520654, -0.1250145584, 0.5492542982, 0.3277207017, -0.4850089252, 0.4766551852, 0.6285572648, -0.5123391151, -0.2786133587, 0.0464720353, -0.4760284424, 0.7103654146, 0.238271907, -0.2179509103, -0.0762641206, 0.170310542, 0.720394671, -0.2652597129, 0.3268473446, 0.9056660533, 0.5486636162, -0.0910985544, -0.6605862379, 0.0794785246, 0.0573647581, -0.5229754448, 0.2549091876, -0.4476223886, 0.3979477584, -0.454508096, -0.6329939961, 0.1989820749, 0.660864234, 0.1620775461, 0.5529217124, 0.5918495655, 0.3910154998, 1.0014878511, 0.0085411752, 0.9378719926, -0.5405962467, 0.1512606442, 0.809330523, -0.4025994241, 0.5507873297, 0.4261978865, -0.2000607103, 0.6331398487, 0.526735723, -0.1069646925, 0.2596753538, -0.1485918909, -0.2040657252, -0.0410568304, -0.123308979, -0.2202789336, 0.3580539227, 0.201036945, -0.0299712364, -0.0794818848, 0.1888690591, 0.0723528787, 0.0065115276, 0.2319384366, 0.8116539717, -0.0700351149, -0.8656555414, 0.7118666172, -0.3249769211, 0.9170700312, -0.3177909851, -0.0381331928, -0.5342089534, -0.1691192985, -0.4958637953, -0.4114421606, 0.6898496151, 0.1817165315, -0.0390717201, 0.2576145232, 0.3422803879, -0.5042147636, -0.3782171607, 0.722420752, 0.8510273695, 0.799697876, 0.0124782249, -0.1363809109, -0.1368926764, 0.0213047415, 0.1093644202, 0.0347095579, 0.5186050534, -0.0258740671, 0.4568888247, 0.4260748029, 0.4169292152, 0.0154404743, 0.4209505916, 0.0404369235, -0.7423853874, -0.34091416, -1.2138727903, 0.1614584476, -0.2783846557, -0.3285004199, 0.9930564761, 0.8319377899, 0.8544424176, -0.1019392982, 0.5700960755, 0.079045862, 0.3519979119, -0.5876772404, 0.8806508183, -0.7730410099, 0.0781206042, -0.2933356762, -1.1700712442, -0.4334464371, 0.6791263223, 0.0793899894, 0.0680021346, 1.2213312387, 0.9896591902, 0.0740471557, 0.0460846499, 0.6387296319, 0.12434268, -0.1296159476, 0.1683415323, 0.9308934808, -0.179404512, 0.275763005, -0.2804733515, -0.0659393072, -0.1215020567, -0.6489388943, -1.216991663, -0.7693615556, -0.4360084832, -0.2836176455, 0.0372714102, 0.725866437, 0.4987010062, -1.1707447767, -0.2906506658, 0.2692600787, 0.3574424088, -0.2739470005, -0.3163363934, 0.3773064017, -0.442863524, -0.8436807394, 0.3143433332, 0.4871924222, -0.0133190528, -0.6511580944, -0.098449789, -0.1043988913, 0.0669584721, 0.6667737961, 0.0099840583, -1.1396455765, -0.3569433987, 0.054002475, -0.0714540407, 0.2013672143, 0.9544109106, -0.6777566671, 0.2528594434, 0.3856847882, 0.4489527941, 0.0557689629, -0.2366813719, 0.164840132, -0.7427170277, 0.4008166194, 0.0512528121, 0.4674060941, 0.652349174, -0.6214612126, 0.7142779827, 0.510301888, -0.3627319932, -1.1966508627, 0.0635449588, -0.7041167021, -0.390737921, 1.0210872889, 0.3659058213, 0.0574636124, -0.4514537752, -0.0197969563, 0.15939942, -0.0258271769, 1.1267619133, 0.919332087, -0.3834563494, 0.1391337663, -0.9501423836, 0.6833103299, 0.3459765017, -0.9052937627, 0.1514599472, 0.458472997, -0.2012848556, 0.6520929337, 0.4357633293, 0.1602365673, 0.2814542055, 0.0031800326, 0.1643961072, 0.3223908544, -0.6683861613, -0.2834527791, 0.0266233236, -0.3312941194, 0.1444870681 ]
http://arxiv.org/abs/2402.10481v2
http://arxiv.org/pdf/2402.10481v2
Emoji Driven Crypto Assets Market Reactions
2024-02-16T07:05:49
2024-05-04T14:32:44
Xiaorui Zuo, Yao-Tsung Chen, Wolfgang Karl Härdle
q-fin.CP
q-fin.CP, cs.AI, cs.CL, cs.LG, q-fin.ST
In the burgeoning realm of cryptocurrency, social media platforms like Twitter have become pivotal in influencing market trends and investor sentiments. In our study, we leverage GPT-4 and a fine-tuned transformer-based BERT model for a multimodal sentiment analysis, focusing on the impact of emoji sentiment on cryptocurrency markets. By translating emojis into quantifiable sentiment data, we correlate these insights with key market indicators like BTC Price and the VCRIX index. Our architecture's analysis of emoji sentiment demonstrated a distinct advantage over FinBERT's pure text sentiment analysis in such predicting power. This approach may be fed into the development of trading strategies aimed at utilizing social media elements to identify and forecast market trends. Crucially, our findings suggest that strategies based on emoji sentiment can facilitate the avoidance of significant market downturns and contribute to the stabilization of returns. This research underscores the practical benefits of integrating advanced AI-driven analyses into financial strategies, offering a nuanced perspective on the interplay between digital communication and market dynamics in an academic context.
[ -0.1482758075, -1.0531256199, 0.1837198436, 0.1144689322, -0.5698488355, 0.6006803513, -0.3584646583, -0.4038761854, 0.7868358493, 0.2371714562, -0.5197113156, -0.4847681224, -0.6681159735, 0.1081405431, -0.3365674615, 1.2599551678, 0.2068876028, -0.1004122719, 0.3350134194, -0.0028868737, -0.0754151419, -0.5816758871, -0.8034466505, 0.1088952571, 0.5942601562, 0.3253321946, 0.9318400621, 0.0705740601, 0.77971071, 0.3032586277, 0.2026167065, -0.2221293896, -0.2766757309, 0.1899991632, 0.519862771, -0.0607439429, -0.4150129855, -0.0442611463, 0.0741336718, 0.0536363274, -0.3072663248, -0.057584811, -0.1468984783, 0.5354610682, -0.5273768902, 0.4473275244, -0.7263569832, 0.0848849937, -0.2107539922, -0.1520313621, -0.1680981964, -0.3712204993, 0.2780240178, -0.4289377034, -0.3211618364, 0.0378969982, 0.6966917515, -0.191275537, -0.1614991426, -0.7679659128, -0.4146780968, 0.8958460093, -0.4477607012, 0.366887629, 0.065235436, 0.3577269614, 0.4114738703, -0.6212466955, -0.5479050875, -0.0798764527, 0.2127512693, 0.0354688801, -0.2623912394, -0.1740758866, -0.0495654605, 0.1688018292, 0.0176530126, -0.2201960832, -0.4490520358, -0.0672972128, 0.6064778566, 0.0226793438, 0.5659009814, -0.2763024569, -0.3530748785, -0.1846181154, -0.5515745282, -0.09385892, 0.7054477334, 0.3924780786, -0.1794625819, 0.518361032, 0.3137417138, 0.2409537435, 0.0927887708, -0.1163936853, 0.2910627127, -0.5555154085, -0.0930068567, 0.3352691829, 0.9398851991, 0.4717655182, 0.4547797143, -0.1239410192, -0.2506417036, -0.020745445, 0.4763917327, -0.8319169283, -0.2725044489, 0.2831889987, -0.5648595095, -0.7203193307, 0.1209600866, -1.059394598, -0.3308299184, -0.0118776411, 0.3438290954, -0.5269777775, -0.2668638825, -0.322211653, -0.5816115141, 0.2783935368, 0.2521879375, -1.2904274464, 0.2927521169, 0.9435786009, 0.7432491183, 0.5388863087, 0.2279524505, -0.0405011438, 0.0282520168, -0.4597798586, 0.4439928532, -0.6789695621, -0.4249359965, 0.2411830425, -0.3236034513, -0.0361219905, 0.066736348, 0.2135064155, -0.4706019759, -0.0801407918, -0.3702642322, -0.2204638273, -0.0197924301, 0.3838010728, -0.6507820487, 0.4466068447, 0.0446198173, -1.1680465937, 0.4533387125, -1.0794965029, -0.4924715459, 0.0533446297, -0.2448652983, -0.4897772372, -0.0215446372, 0.4265816808, 0.5004173517, -0.2644557357, -0.1673576832, -0.6960265636, -0.127687484, 1.0653098822, -0.3121890724, 0.4020918608, 0.2775989473, -0.5028423667, -0.0167496838, -0.4924195707, -0.161797598, 0.170960784, 0.2724550366, -0.5623574257, 0.1522967815, 0.6257694364, 0.0611611046, 0.3576464951, -0.6958627105, 0.2717331946, -0.2541978955, 1.1873087883, 0.9935611486, 0.0036595454, 0.3675434589, -0.1214717701, 0.3828679621, -0.0953455493, 0.5572906137, -0.1255566478, -0.5456944704, -0.2821901143, -0.5371140838, 0.2341181189, 0.3595627546, -0.6796840429, 0.2238472104, -0.3451650441, -0.4209976196, -0.8911573291, 0.1265795082, -0.3085491061, -0.1052096188, -0.0313155837, -0.0152425375, -0.4138203859, -0.7861431837, -0.2956852615, -0.1588094383, 0.0915068984, 0.370413065, 0.4486826062, -0.534080863, 0.6392036676, -0.2704158127, -0.2193199396, -0.1664941609, 0.3614353538, 0.0736187324, 0.0386672094, 0.6415866613, -1.0473484993, -0.4233021736, 0.5372874141, -0.5720410347, 0.3953464925, -0.5035838485, 0.1380926371, 0.4051907659, 0.1486948431, -0.5235789418, 0.3627570271, 0.4965088367, -0.4156216383, -0.2299038917, 0.0897979736, 0.5549810529, -1.101318121, 0.0549558327, 0.2567289472, 0.1875917315, -0.4996565878, -0.1680387557, -0.1356066316, -0.1230575219, -0.3904698193, 0.2594700754, -0.0393167846, 0.0326274931, -0.166217804, 0.2649303377, -0.3013896346, 0.0125834569, -0.3026710749, 0.7494468093, 0.7481192946, 0.0395338908, 0.3953105211, 0.1467167586, -0.1200535074, 0.2133256942, -0.7538301945, 0.350993365, 0.3732376397, -0.1350181401, -1.3656548262, -0.1558135301, 0.7892815471, -0.7457395792, 0.3610987365, 0.2524437308, -0.7399693727, -0.3860971332, -0.8669676185, 0.2244637161, 0.3514508605, -0.3050051928, 0.946957469, 0.3070575893, -0.3652526736, -0.7596343756, -0.7865793109, 0.27025792, -0.391228497, -0.6712901592, 0.1165943593, 0.0175356418, -0.5502862334, -0.141869083, 0.16902785, 0.0085054152, 0.250674516, 0.425031662, 0.6209726334, 0.2201785892, 0.0442963205, 0.0251365341, -0.0648318902, 0.3323507011, -0.2218454778, 0.457159102, -0.3734106123, 0.0064437967, -0.6823775768, 0.0376469605, 0.8790161014, 0.1569694728, 0.962454319, 0.5705178976, -0.1402627975, 0.3826393485, -0.4315513372, -0.1335803419, -0.5617729425, 0.0355706476, -0.2221045643, -0.839315176, 0.7958760858, 0.2082083374, -0.0688679889, 0.5346396565, 0.8258904815, -0.1262806654, 1.2240632772, 0.5576192141, -0.4383536279, 0.7255548835, -0.2593615651, 0.7819357514, -0.4608958364, -0.2700362802, -0.3266939819, -0.4148196876, -1.1178201437, -0.0224054493, 0.0064900047, -0.3768050969, -0.0762298331, 0.1921412498, -0.4595612288, -0.1821690351, 0.2216801941, 0.0860364512, -0.1858498156, 0.2372989804, 0.1458975077, -0.1503131688, -0.3600678444, -0.4534341097, 1.3392708302, 0.7050738335, 0.9505535364, -0.0183741339, 0.6440052986, 0.6239039302, 0.6621353626, -0.825099051, 0.0674141422, -0.0178751964, -0.3442462087, -0.2797156572, -0.4033923447, -0.6388329268, -0.239161849, -0.4116654992, -0.4254710674, 0.0464878716, -0.3786568642, -0.2300394475, 0.1672006845, -0.5695061684, 0.9105024934, -0.4559296668, -0.0864263847, -0.4777148366, -0.4857143462, 0.0259482544, -0.4288106859, 0.5109112263, -0.1708328575, -0.2684276998, 0.5593162775, -0.3130015433, 0.9145585299, 0.1758207083, -0.143425554, 0.3633176088, -0.3491635025, 0.3994205594, 0.3218009174, 0.0904025733, 0.4875497222, -0.1083836555, -0.5582531691, -0.4771561623, 1.0788203478, -0.9454774857, -0.1434879899, -0.2576210201, -0.1807136983, 0.2743571401, -0.1696442068, 0.1606182605, 0.0089783221, -0.454012394, 0.0799080878, -0.0161765832, 0.1185602844, 0.6911540031, -0.1010999754, 0.0320847072, -1.1856817007, 0.9514403939, 0.1898802221, -0.1002886444, 0.4672626555, 0.344214201, -0.4721094072, -0.0089687724, -0.3011404574, 0.1330682039, -0.6866172552, -0.0348176397, -0.5992854238, 0.2422893047, -0.8751200438, -0.417632848, -0.2393083721, -0.4873200059, -0.3766263127, -0.3612805307, 0.6410765052, 0.6946772337, -0.005742372, 0.1726447046, -0.8465136886, 0.1045419425, 0.4146887362, 0.2235704362, 0.0612720586, 0.0124674356, -0.280082196, 0.2515520751, -0.4468708038, -0.9336609244, 0.5299721956, 0.1420573294, 0.0884178504, 0.9250788093, -0.0793620124, 0.5167825818, 0.0004223536, 0.5374890566, 0.5374729633, -1.155834794, 0.6890553832, -0.4414641261, -0.2968327403, 0.2243410349, 0.3734920025, -0.7160594463, -0.4685772061, -0.825740099, -0.8750498295, 0.336198777, 0.6095054746, 0.592137754, -0.4776663184, 0.4757584631, 0.1074428186, 0.6730508804, -0.6865323782, -0.2922326922, -0.738463819, -0.4758779109, 0.2651958466, -0.2443381697, -0.0808245987, -0.2063233405, 0.2817302644, -0.1777712405, 0.4231099784, -0.2106385678, 0.2707384527, -0.117875129, 0.2374466807, 0.2801180482, 0.5430123806, -0.2745212615, -0.2866711915, -0.0527651012, -0.2773401737, -0.3317984045, 0.1011298746, 0.0559832528, -0.1114043668, 0.1774200946, 0.5682573318, 0.334620297, -0.7560680509, 0.6987278461, -0.3278360069, -0.1567614228, -0.4111193419, -0.3580459952, -0.2008703053, 0.1943188906, 0.7199121118, 0.1892695874, 0.2921130657, -0.9293507934, 0.2928648889, 0.5089868307, -0.5862234235, -0.8262532353, 0.6443452835, 0.3439734578, -0.0854360759, 0.8685175776, 0.4508796036, -0.506785512, 0.7346394062, 0.1516614854, 1.2677471638, 0.0455183126, 0.3393816054, -0.069620803, 0.5052925944, 0.2732980251, 0.4747387767, -0.158254683, -0.7599710226, -0.1383851171, -0.3460125029, -0.222573489, -0.3833077848, -0.3382659554, 0.434289515, -0.825697124, -0.6735062003, 0.5021703839, -0.1611344218, -0.6804802418, 0.3337613046, 0.4013825655, 0.2865208387, -0.8305496573, 0.6316354275, 0.8054847121, -0.5189884305, -0.2399330437, 0.0629111826, -0.2567555904, -0.920126915, 0.6513405442, 0.4887486398, 0.1026680246, -0.2361977696, -0.7405064106, -0.4605676532, 0.7908132076, -0.0062758448, -0.4670934975, 0.4832224846, 0.1494503915, 0.7985172868, -0.7151671052, 0.5505023599, 0.3087241352, 0.5486946702, 0.1931569129, -0.4428113401, 0.0051533813, -0.4550085366, 0.0736869201, 0.6245872378, -0.6795424819, 0.5724367499, -0.3473045528, -0.3571535349, -0.0653290898, 0.4120337963, -0.1539494842, 0.6095573306, 0.2936375737, 0.4651057124, 0.2512418032, -0.1554049551, 1.1101907492, -0.9330134988, 0.6207891107, -0.0217863638, -0.0453077294, 1.0615565777, 0.602807343, -0.0711232275, 0.6256930232, 0.6714576483, -0.1659454703, 0.6635981202, -0.0618990809, -0.1592681408, -0.2045023292, -0.0813633651, -0.2742563784, 0.3295545876, 0.5729298592, -0.5842499137, 0.3777616322, 0.1867135465, -0.0922979936, -0.2247445136, -0.2138351947, 0.6996069551, 0.121070087, 0.0395825654, -0.0860501453, -0.0950431228, 0.6963815093, -0.3407573402, 0.1202155575, 0.1363197714, 0.2181022167, 0.0587580055, -0.7014034986, 0.3868774474, -0.2971220911, 0.1798842996, -0.3285861313, 0.7131376863, -0.1124491915, -0.8067035079, 0.390068084, 0.1768307239, -0.2147671431, -0.1490845382, -0.9780020118, 0.1608200073, -0.0741600394, -0.1646821946, 0.3803988099, 0.8283392191, 0.2973463833, 0.7195066214, 0.8644801974, -0.4656417966, -0.2923468351, 0.0147143435, 1.0800372362, -1.0323500633, -0.4653847516, -1.0708892345, 0.2827691436, -0.1122839376, -0.1067270786, 0.6436281204, 0.2621241808, 0.45382303, -0.167893976, 0.8923401833, -0.1577419639, 0.0003048006, -0.2798756063, 0.9103584886, -0.4519784749, 0.3055306077, -0.4378491044, -0.4680074155, -0.1829958409, 0.4838360548, -0.3648833632, 0.1374275088, 0.3225237429, 0.3796703815, 0.4019768536, 0.3508569002, 0.1517306864, 0.0347678587, 0.2053499371, -0.0659642145, 0.8933140635, -0.7249653339, 0.4739252925, -0.4438428283, 0.0935141668, -0.4855765104, -0.735109508, -1.059743762, -0.2088938057, -0.5879252553, -0.3653550148, 0.0915927663, 0.9124256372, 0.0767800659, -0.8367208242, -0.0469467975, 0.1341547221, 0.1241361573, -0.272470057, -0.3308046162, 0.4522430003, -0.3417834342, -0.4688123465, -0.3150976598, 0.6449791193, 0.1933190525, -0.11415115, 0.0560071431, 0.1408471465, 0.3763509989, 0.6521794796, -0.1647261977, -0.6893205643, -0.1472656131, 0.2756548822, -0.2604762316, 0.0939300135, 1.0089834929, -0.1502837241, 0.6137379408, 0.479372412, 0.403080523, 0.0743468702, 0.0835889429, 0.518905282, -0.2806889713, 0.0636756867, 0.1254037321, 0.2562149465, 0.3439059556, -0.5046319366, 0.1611337811, 0.404864043, -0.4502131343, -0.2708683312, -0.4510245323, -0.8290941715, -0.3375053108, 0.7914501429, 0.0178532079, -0.6678728461, 0.2003758848, -0.0937132537, -0.035252016, -0.9933046699, 1.3073518276, 0.8167330623, 0.2150822431, -0.3585655689, -0.2377260774, 0.2619297504, 0.0562802739, -0.454146415, -0.1214201823, 0.1971221566, 0.0718060583, 0.2026625127, 0.5829748511, 0.0280890148, 0.2232157588, 0.0805132836, 0.1250079572, 0.193539232, -0.1808187664, 0.0193330497, 0.2387583405, -0.1168211401, -0.4468258619 ]
http://arxiv.org/abs/2402.12170v2
http://arxiv.org/pdf/2402.12170v2
Where is the answer? Investigating Positional Bias in Language Model Knowledge Extraction
2024-02-16T06:29:16
2024-05-23T06:52:31
Kuniaki Saito, Kihyuk Sohn, Chen-Yu Lee, Yoshitaka Ushiku
cs.CL
cs.CL, cs.AI
Large language models require updates to remain up-to-date or adapt to new domains by fine-tuning them with new documents. One key is memorizing the latest information in a way that the memorized information is extractable with a query prompt. However, LLMs suffer from a phenomenon called perplexity curse; despite minimizing document perplexity during fine-tuning, LLMs struggle to extract information through a prompt sentence. In this new knowledge acquisition and extraction, we find a very intriguing fact that LLMs can accurately answer questions about the first sentence, but they struggle to extract information described in the middle or end of the documents used for fine-tuning. Our study suggests that the auto-regressive training causes this issue; each token is prompted by reliance on all previous tokens, which hinders the model from recalling information from training documents by question prompts. To conduct the in-depth study, we publish both synthetic and real datasets, enabling the evaluation of the QA performance w.r.t. the position of the corresponding answer in a document. Our investigation shows that even a large model suffers from the perplexity curse, but regularization such as denoising auto-regressive loss can enhance the information extraction from diverse positions. These findings will be (i) a key to improving knowledge extraction from LLMs and (ii) new elements to discuss the trade-off between RAG and fine-tuning in adapting LLMs to a new domain.
[ -0.380743593, -0.8990402222, 0.6936234236, -0.0815095678, -0.2940500677, 0.104952395, -0.0324653201, -0.3638672233, 0.0365849026, 0.5333251357, -0.6155192852, -0.3906905651, -0.9780203104, 0.1199434623, -0.3157995045, 0.9210205078, 0.0550938956, 0.109485507, -0.3545258045, 0.1153873578, -0.5363901258, -0.7756892443, -0.5199907422, -0.1772064865, 0.4527846277, 0.5237317085, 0.5806354284, 0.6389323473, 0.4666803479, 0.2457036078, -0.1558981836, 0.0481270254, -0.4410862923, 0.2861921787, -0.039015945, -0.8354660869, -0.2566021383, 0.2621006668, 0.6103371978, 0.7092145681, -0.0119982185, 0.2453925163, -0.0306719337, 0.4958963394, -0.5408098102, -0.0028642477, -0.9245827794, 0.0183567367, -0.3082191348, -0.3413289487, -0.1009205356, -0.3585825562, 0.4112625718, -0.5478239059, 0.4525093138, 0.0203242265, 1.0598592758, 0.5782140493, -0.4442243576, -0.3276259601, -0.5617563128, 0.6816970706, -0.6512069702, 0.3066505492, 0.4974061847, 0.0919990093, -0.2034108192, -0.2877272666, -0.5885804892, 0.0620108135, 0.0247986726, -0.022567112, -0.1437222511, -0.2435570657, 0.4381466806, 0.2701984048, -0.3096284866, 0.2967774272, -0.252785027, -0.1207572967, 0.5598248839, -0.0341484174, 0.2350937426, -0.35056144, -0.3848427236, -0.1216717958, -0.8806241751, 0.2136281729, 0.4576745033, 0.0894463882, 0.2472259998, 0.4610742927, 0.0570621602, 0.50981915, 0.2158995122, -0.0088349674, 0.1151465774, -0.0838302225, -0.1674140096, 0.0026163175, 0.6100481749, 0.0448973365, 0.3229615688, -0.2139863968, -0.2998813391, -0.3553165793, 0.2697212696, -0.5400410891, -0.1136373505, -0.0264679305, -0.3274047673, -0.4008903503, 0.0898269117, -0.6955795288, -0.5925332308, -0.1631235182, 0.1152980104, -0.189241603, -0.3027939796, 0.0090079652, -0.0852472037, 0.4184781611, 0.2660853267, -0.8831858635, 0.1198314428, 0.6485130191, 0.4261062741, -0.5571076274, -0.1626616269, -0.4172991216, -0.0613487251, -0.1935879737, 0.9567370415, -0.6115530729, -0.4212594628, -0.0744247586, 0.105632022, -0.1697083116, -0.8065097928, 0.3456359804, -0.7432671189, 0.4991105199, -0.5468007326, -0.5687133074, -0.0140403379, 0.2611545622, -0.515869081, 0.9530903101, -0.0334310159, -0.7091200948, 0.3905662894, -0.3122268915, -0.2786644995, -0.2877722383, -0.4042980075, -0.3603453636, 0.3055675626, 0.3740949035, 0.243615061, -0.4810239673, 0.225903064, -0.3013330102, -0.1967125833, 0.6054736972, -0.5957903862, 0.6526420712, 0.1741520911, -0.2750611305, -0.2035083771, -0.7367969751, -0.3633088171, 0.3260672688, -0.414196074, -0.6065462232, -0.1412879229, -0.5458115339, 0.3910109401, 0.4198857248, -0.4157797694, 0.391741097, -0.4635627866, 0.0804876238, 0.9280433655, 0.2813660204, 0.5684014559, -0.195050627, 0.9512842894, 0.132563591, 0.1024423391, 0.0317486227, -0.3364403844, -0.6943259239, 0.1476443112, 0.3694844842, 0.5500721335, -0.5220760107, 0.1634756625, -0.0489871874, -0.0132970568, -0.6392396092, 0.3138558865, 0.4366068244, 0.6852731705, 0.1879810989, -0.2933733761, -0.4451865256, -1.0814731121, -0.3132106662, -0.0940525383, -0.0026133575, 0.2327354848, 0.2390610278, 0.1511357576, 1.0591058731, -0.6132751703, -0.05472105, -0.1056841761, 0.1946024001, 0.2791286409, 0.3602941632, 0.1847952306, -0.9496586919, -0.2054530382, -0.3982849717, -0.7812920809, -0.3481718898, -0.0103826644, -0.1538308561, 0.2130455971, 0.6334187388, -0.751655519, 0.1037882343, 0.2301107347, -0.284244746, 0.5943099856, 0.0681415573, -0.2516766489, -1.0284959078, 0.0906274915, -0.1797635555, -0.0368116125, -0.4514134824, -0.2176954448, -0.1366368234, 0.2179495394, -0.0085111912, 0.5847256184, -0.6056667566, -0.1381984055, -0.3011307418, 0.5395416021, 0.0736095756, 0.4114142358, -0.0782120079, 0.8383425474, 0.2909264565, -0.5611032248, -0.0605345368, 0.406986475, -0.2025980502, 0.2363036871, -0.3990780115, 0.3540342748, -0.2383716851, -0.0706281811, -1.0158014297, 0.0137387617, 0.1178963631, -0.6497712135, 0.5437932014, -0.2263137847, -0.2884835899, -0.1736584008, -0.0964243039, 0.2394219637, 0.503236413, -0.207925126, 0.2973481119, 0.8029144406, -0.4482133985, -0.9313969612, -0.3009333611, -0.1462285668, -0.2709535956, -0.3664937615, 0.0219665244, 0.1033115834, -0.4685560167, -0.2344392836, -0.5576452613, 0.072982043, 0.4644054472, 0.0548957065, 0.2663827538, -0.1745830178, 0.3003628254, 0.0593604818, -0.1182324067, 0.4643584192, -0.2387563735, 0.4475747943, 0.1285045147, -0.3274261355, -0.0915349945, 0.1198692098, 0.4968197346, -0.1995655298, 0.483043015, 0.3397340178, -0.3094791472, -0.1445753276, -0.8892387152, -0.3647525907, -0.4119474888, 0.4481791556, -0.451341331, -0.7686027288, 0.6825897098, -0.1404601038, -0.0671677738, 0.4489576817, 0.3095278144, -0.1115370765, 1.0823862553, 0.6928674579, -0.2178114653, 0.5262240767, -0.2695414424, 0.1502512693, -0.8571146131, -0.2563695014, -0.5481925011, -0.1938145459, -0.3919426501, -0.1777832061, 0.3157441616, 0.4450432658, 0.1584562957, -0.0471689701, -0.3244135976, 0.4013178945, 0.4980228543, -0.0442680046, 0.358132571, -0.0264671091, -0.3250888586, -0.1072015911, -0.7464119196, -0.5538910627, 1.0783746243, 0.4570622444, 0.5452359319, 0.0321202055, 0.5911986232, 0.0227152072, 0.1843622625, -0.5940034986, 0.3705151379, -0.1194099188, -0.6321998835, -0.3928230405, -0.2258191854, -1.0172531605, 0.3465947211, -0.1720968187, -0.5783782005, 0.4095225334, 0.1156914979, -0.3830910325, 0.0514568612, -0.5618345141, 0.8156614304, -0.2359500378, -0.3805569112, 0.2051846087, -0.8017164469, 0.2508413792, -0.0300857183, 0.2792710662, -0.0683943778, 0.1464170069, 0.7939921618, -0.2399883568, 0.7851102948, -0.4480150342, -0.5370228887, 0.0427978151, 0.2357876301, 0.7295671701, 0.0347485878, -0.0783064812, -0.1277902871, 0.0092290966, -0.2434143722, -0.6941389441, 0.4840429425, -0.8134792447, -1.0960776806, -0.3749787211, -0.5934147835, -0.5852212906, 0.1438512355, 0.2739862502, 0.2327784598, -0.0179141108, -0.0486927852, 1.1174262762, -0.4165270925, 0.2052977532, 0.6935673356, -0.1810423434, 0.0538244434, 0.7094727755, 0.1488455981, 0.2076445073, 0.4609221518, 0.2123506069, -0.4120963216, -0.8118308187, -0.2661342025, 0.3309018612, -0.7965494394, -0.1598499268, -0.7217926979, -0.2762483954, -0.6501343846, 0.2094182521, -0.2706984878, -0.5349029303, -0.4657466412, -0.3139605224, 0.0995767713, 0.7683996558, 0.2247901857, 0.1810695827, -0.7132117152, 0.0894505158, 0.2426679134, -0.0842729658, -0.084611088, -0.7459840178, -0.1699927151, -0.2156439275, -0.3312436342, -0.9889876246, 0.3906348348, -0.2825020254, 0.7662447691, 0.3204725385, -0.0272844844, 0.6237214804, -0.2593292296, 0.6851260066, -0.2403903008, -0.5588352084, 0.457921803, -0.2840798497, 0.4144273698, 0.5537922978, 0.3977378309, -0.4284464717, -0.5767834783, -0.673558116, -0.8079708219, 0.6092638373, -0.1514029205, -0.0732885003, -0.1096796244, 0.7113194466, 0.3385309279, 0.3999891877, -0.6935310364, -0.2363794744, 0.1363550723, -0.1307540238, 0.0610877946, -0.5987368226, -0.0765495077, -0.0492694601, 0.6231554151, -0.055800207, 0.2760911882, 0.3818466365, -0.3529325724, -0.1834223717, 0.2579117119, 0.4730964601, 0.7992777824, -0.1128806844, 0.240110606, 0.227768749, -0.3635672927, -0.1284868419, 0.2686177194, -0.3287988305, -0.1164157167, 0.324827224, 0.7583428025, 0.1892711222, -0.3173266053, 0.6128341556, 0.0067144483, -0.04603488, -0.4366146922, 0.0304049514, -0.160322234, 0.334130913, 0.6563061476, -0.0791179165, 0.1171684042, -0.3523605764, 0.1623298824, 0.668413043, -0.3269533515, -0.2792523503, 0.6321878433, -0.0586102977, -0.2451921999, 0.5217300653, -0.0955704972, -0.6696511507, 0.6017931104, 0.5454772711, 0.7369017601, -0.1465694904, 0.1003208607, 0.2290699035, 0.20537965, 0.1039188355, 0.2522574961, 0.0674958453, -0.8293889761, -0.3294084072, -0.673079133, -0.2200878561, 0.2808655202, -0.5836755037, 0.111996077, -0.3219580054, -0.0525496714, -0.2857062817, 0.0445178188, -0.5501669645, 0.0732914954, 0.1577292532, 0.7684640288, -0.5708414912, 0.9225999713, 0.5856095552, -0.4320457876, -0.7385966182, 0.1522502601, 0.0313529149, -1.0202602148, 0.6481081247, -0.0836232454, -0.1324665248, -0.0453556702, -0.7837370038, -1.0490131378, 1.052531004, 0.4320355356, -0.5028921962, -0.4255684018, 0.0555023141, 0.4949369431, -0.2705863118, 0.0432691835, 0.6531134844, 0.3069519997, 0.0040752878, -0.6989921331, 0.2146291733, -0.2621322274, -0.0923083276, 0.022832308, -0.5685074925, 0.8274079561, -0.1359916776, -0.1664101779, -0.143758297, 0.3824759722, 0.2777096331, 0.082433112, 0.4823524356, 0.2877707183, 0.981626153, -0.0067491634, 1.1308107376, -0.2824138999, 0.1222937554, 1.1853115559, -0.1938246042, 0.6665819883, 0.8208918571, 0.0196124502, 0.5168524384, 0.7308080196, 0.1531478763, 0.5227975845, 0.3125194013, -0.0429399833, -0.2589243054, 0.0277617238, -0.2106389552, 0.4557515979, 0.3489695489, -0.4594594538, 0.010575207, -0.0004672244, 0.1452109069, -0.0803198069, -0.0147871245, 0.9530828595, 0.2340328991, -0.9711784124, 0.6078036427, -0.0587213747, 0.4745799601, -0.5828765631, -0.1037916169, -0.4904553294, 0.0137713822, -0.0308140814, -0.479950279, 0.126343444, -0.0858174041, -0.3295448124, -0.2877186835, 0.8388778567, -0.3775278926, -0.1813841611, 0.1451655626, 0.7670654058, 0.2195013463, -0.1202911362, -0.6183937788, -0.2363704741, 0.0262337141, -0.3759554923, 0.5136891007, 0.7174369097, -0.1263549328, 0.5986645818, 0.6078745127, 0.2414033413, 0.2519322932, 0.0461383872, 0.8322054148, -0.6176249981, -0.3100284636, -0.8531073332, 0.2401968241, -0.0982511416, -0.4772901535, 0.8965903521, 0.3986372948, 0.7542607188, 0.0812490284, 0.8524608612, 0.1325078905, 0.6060183644, -0.7086884379, 0.6132440567, -0.6079853773, 0.6715049744, -0.1442409009, -0.753651917, -0.2272524387, 0.6651763916, -0.7130942345, -0.1188966781, 0.7936163545, 0.7076721191, 0.1340419799, -0.0381585285, 0.1854546368, 0.5742824674, 0.2149306238, 0.3684919477, 0.8802530169, -0.3386052847, 0.5576340556, -0.122756198, -0.1312365979, -0.0951194912, -0.6618219018, -0.629978478, -0.5223973393, -0.1527378261, -0.3331361711, 0.0431968123, 0.8827866316, 0.3533399999, -0.7840755582, -0.1700939238, -0.0842540115, 0.562682271, 0.0711592287, -0.265928328, 0.4052730501, -0.5664313436, -0.6969771385, 0.3865213692, 0.0411808565, 0.1120028719, -0.2724010348, 0.1072757691, -0.4561730325, -0.1802443564, 0.3139920533, 0.2843863368, -0.6408612132, -0.2594989836, 0.270786196, -0.1376735866, 0.2237548828, 0.8711839914, -0.6260851622, 0.3643221259, 0.2869926691, 0.7661076784, 0.4498839378, 0.1813437641, 0.880428791, -0.8648576736, -0.1185235605, 0.0740481392, 0.255313307, 0.3245682716, -0.5263906717, 0.3457448184, 0.4145099521, -0.6173859835, -0.8409917951, 0.1668411791, -0.6039992571, -0.4372906685, 1.2979772091, -0.0706961155, -0.1953688115, -0.2766450047, -0.2036768496, 0.3989757895, -0.1890934259, 1.1667129993, 0.9939729571, -0.1125359982, -0.2102864534, -0.689660728, 0.665892899, 0.6910279989, -0.614127934, 0.1556530446, 0.4495144784, 0.5255900621, 0.0900092348, 0.6043875813, -0.3546741009, -0.0137934955, -0.2430908233, -0.0574853048, 0.0313876495, -0.3166506886, -0.631016314, 0.21165815, 0.3900156617, -0.115814127 ]
http://arxiv.org/abs/2402.10466v4
http://arxiv.org/pdf/2402.10466v4
Large Language Models as Zero-shot Dialogue State Tracker through Function Calling
2024-02-16T06:13:18
2024-05-30T04:19:54
Zekun Li, Zhiyu Zoey Chen, Mike Ross, Patrick Huber, Seungwhan Moon, Zhaojiang Lin, Xin Luna Dong, Adithya Sagar, Xifeng Yan, Paul A. Crook
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are increasingly prevalent in conversational systems due to their advanced understanding and generative capabilities in general contexts. However, their effectiveness in task-oriented dialogues (TOD), which requires not only response generation but also effective dialogue state tracking (DST) within specific tasks and domains, remains less satisfying. In this work, we propose a novel approach FnCTOD for solving DST with LLMs through function calling. This method improves zero-shot DST, allowing adaptation to diverse domains without extensive data collection or model tuning. Our experimental results demonstrate that our approach achieves exceptional performance with both modestly sized open-source and also proprietary LLMs: with in-context prompting it enables various 7B or 13B parameter models to surpass the previous state-of-the-art (SOTA) achieved by ChatGPT, and improves ChatGPT's performance beating the SOTA by 5.6% average joint goal accuracy (JGA). Individual model results for GPT-3.5 and GPT-4 are boosted by 4.8% and 14%, respectively. We also show that by fine-tuning on a small collection of diverse task-oriented dialogues, we can equip modestly sized models, specifically a 13B parameter LLaMA2-Chat model, with function-calling capabilities and DST performance comparable to ChatGPT while maintaining their chat capabilities. We have made the code publicly available at https://github.com/facebookresearch/FnCTOD
[ -0.2317014486, -1.0309650898, 0.6312866807, 0.1415788978, -0.42473948, 0.1954915076, -0.5681167245, -0.3103533685, 0.1523814797, 0.7182263136, -0.7074708939, -0.500764668, -0.3062339127, -0.0911172032, -0.1535006464, 0.8894125819, -0.0029508399, 0.0262244008, 0.0834623724, 0.0416867286, -0.4494969845, -0.3980590701, -0.5524638891, -0.0455066636, 0.3318492174, 0.3826061189, 0.2967527807, 0.275467366, 0.2201621979, 0.2235207111, -0.1995363086, 0.1580234021, -0.7727510333, 0.2770344019, -0.2028522193, -0.5222187042, -0.53538692, -0.4483295083, 0.6292790771, 0.4938316345, -0.2365262657, 0.1206729487, 0.218139872, 0.1143976226, -0.5029379725, 0.6282706857, -0.8095667958, -0.2780689895, -0.1200272664, -0.4468392134, -0.5110563636, -0.2178743184, 0.0500845499, -0.3445883691, -0.0318470746, -0.2537275255, 0.3901807368, 0.2929240763, -0.2984751165, -0.2279714793, -0.8104158044, 0.8492017984, -1.0950461626, 0.1638052464, 0.0753053203, 0.273162663, -0.437207371, -0.325958997, -0.4694350958, -0.5002474785, 0.4071504474, -0.1250327229, -0.2599171102, 0.2378536165, 0.455824852, 0.2866252363, -0.2855006158, 0.0956110284, -0.0332688726, -0.0999459103, 0.5994416475, 0.3815059066, 0.0724758953, 0.1066410467, -0.2240868062, 0.2219122052, -0.7303833365, 0.0994460061, 0.004602782, 0.8891843557, -0.1848910749, 0.4536851943, -0.5959747434, 0.8981961012, 0.1792040318, -0.2539857924, -0.0834754407, -0.3428068161, -0.3094122112, -0.1097284555, 0.7130836844, 0.3350346684, 0.2640903294, -0.0057029361, -0.1652142555, -0.1964736879, 0.1232800558, -1.1578991413, 0.0787035525, 0.0398307182, -0.2174945474, -0.2166129947, -0.4393927753, -0.5237839222, -0.3042243123, -0.3727664649, 0.4993273318, -0.4796967208, -0.3639785945, 0.009722651, 0.5953620672, 0.25356251, 0.711407423, -0.9687515497, 0.2660250366, 0.7480349541, 1.211468935, -0.0915694907, 0.2539299428, -0.7824298143, -0.0470981188, -0.3877776861, 0.5921771526, -0.4767251015, -0.4654890299, -0.0019856791, -0.1182912439, -0.1683597863, -0.278070569, 0.1588112414, -0.2958625853, -0.2215508372, -0.2113578916, -0.5195926428, -0.1006599441, 0.3899363279, -0.2653045058, 0.763566792, 0.0412992053, -0.5023208261, -0.0085737826, -0.7483200431, -0.3194844723, 0.1637975574, -0.2072675824, -0.1226967052, 0.2780546546, 0.1609260291, 0.6355546713, -0.4532218277, 0.420498848, -0.5723848343, -0.4801084101, 0.2188717872, -0.4827671349, 0.7361186147, 0.1506702453, -0.3414737284, 0.2711882889, -0.4640751481, 0.0777909011, 0.0748686343, -0.1406659484, -0.1742719561, -0.0052700466, -0.0570433177, 0.2024937421, 0.1342969984, -0.8065202236, 0.3745436966, -0.468208909, 0.564326942, 0.5813341737, 0.0786856264, 0.0965272635, -0.1575631499, 0.6526984572, -0.0844879225, 0.015025679, -0.2564322352, -0.4964498878, -0.6087139845, -0.5889243484, 0.1227229685, 0.504465878, -0.9041141272, 0.2820003331, -0.3598180413, -0.4402060509, -0.1612167656, 0.0168736484, 0.4233151972, 0.4027421474, 0.225837335, -0.3652677834, -0.0589835607, -0.570733428, -0.1097479016, -0.0787791386, -0.1375820935, 0.5090594292, 0.3813458085, 0.0925128534, 0.9701756835, -0.6384536624, -0.439360708, -0.4317358136, -0.138775751, 0.3056798875, 0.1796143502, 0.4820008278, -0.3838147223, -0.6970643401, 0.0980801284, -0.323158443, -0.2453102618, 0.103679508, 0.0519145876, 0.3733662665, 0.3713597357, -0.5014143586, 0.5871421099, 0.5294486284, -0.202014789, 0.4014869034, 0.1038687453, 0.0565247647, -1.3402611017, 0.1577729136, 0.0788082927, -0.4424517155, -0.8570354581, -0.1741541326, -0.1035520062, -0.1822891533, -0.5948597789, 0.740172863, -0.2907351851, -0.1000590473, -0.47293818, 0.1094850749, -0.5387957692, 0.73499614, 0.0626221001, 0.6600220203, 0.6025329232, -0.4124810994, 0.3689007163, 0.2445047647, -0.4040323198, 0.5980701447, -0.4231190383, 0.1678858548, 0.1913515776, 0.6993100643, -1.2143739462, 0.0068653915, 0.2092845887, -0.2978733182, 0.3031062484, -0.3884679973, -0.380176872, -0.1426356882, -0.2002598792, 0.3057436645, 0.2293454409, -0.3521440327, 0.5772513151, 0.1919017285, -0.4590070248, -0.4193995297, -0.4025421143, 0.1178437173, -0.0312626772, -0.5342144966, 0.2328828275, -0.1975476295, 0.0611913577, -0.3844118714, -0.4903430343, -0.036778897, -0.0224165004, 0.1775778532, 0.2913821936, -0.3168771863, -0.1481972337, -0.039477922, -0.0890385062, -0.2352418154, -0.4215430617, 0.8984376788, -0.0642276332, -0.3347501457, -0.6997902393, 0.3507781327, 0.6168844104, -0.2432615906, 0.5600389242, 0.4459062517, -0.2314672619, -0.4523907006, -0.5254290104, -0.3850681782, -0.4529267251, 0.3455011249, -0.5171524882, -1.4419797659, 0.556735456, -0.0205412917, 0.2904233336, -0.0264772028, 0.9096795321, 0.1712576896, 0.9407631755, 0.6171482801, -0.1030580923, 0.8501653075, -0.1637047529, 0.4237174392, -0.799746573, 0.0865373015, -0.4630544782, -0.1177276969, -0.4978407919, -0.7319766283, 0.3870117962, 0.0831040889, -0.1796306223, 0.370785147, -0.2542751729, 0.3621578515, 0.2866639793, 0.1079189107, 0.5406492352, -0.0093543325, -0.0732026622, -0.0021821563, -0.6705822945, -0.3266972601, 1.0687214136, 0.2839056253, 0.8714825511, 0.1532825679, 0.6881706715, 0.1104421839, 0.5030930638, -1.0261051655, 0.8198453784, -0.3340273499, -0.4397546649, -0.4001989663, -0.5565339327, -0.5111348629, 0.3672350347, 0.1815805584, -1.4530923367, -0.127291292, 0.1956317872, -0.6321125031, 0.3033319116, -0.4866941869, 0.7282442451, 0.0232499707, -0.3774482906, -0.2936235666, -0.4206421673, 0.4744488299, -0.0572164953, -0.1375716925, -0.4772685766, 0.2485317737, 0.4801140726, -0.5575162768, 1.2420061827, -0.4279640913, -0.5086705089, 0.4012232423, 0.24957183, 0.5518997312, 0.0241767988, 0.1260082275, 0.148827523, 0.3907739222, -0.2728922665, -0.6476793885, 0.9885577559, -0.3726243079, -0.7269622087, -0.1546981484, -0.7704845667, -0.3964380026, 0.1572329253, -0.1570910066, 0.7453439236, -0.2468865663, 0.4292053878, 0.5868288279, -0.1810860187, 0.6052692533, 0.8224486113, -0.3841791749, -0.1145492941, 0.9057666063, 0.0559975207, 0.7154031992, 0.5381845832, 0.0530091152, -0.5785492659, -0.4766118228, -0.517608285, 0.184087038, -0.393527478, -0.487136513, -0.6700270176, -0.2293502688, -0.37390697, -0.0087534618, -0.4307914674, -0.3525011539, -0.1687049419, 0.1225606874, 0.5321155787, 0.3059621453, 0.1708030552, 0.4050465226, -0.5789932013, 0.3390626013, 0.16979146, 0.5122137666, 0.0649168342, -0.4500646889, -0.0891135484, 0.360041827, -0.4208553731, -0.7434297204, 0.2900646031, 0.1364089251, 0.3691523075, 0.2685654759, 0.2897855043, 0.7071892023, -0.4200042486, 0.7702721953, 0.2459339052, -1.1759530306, 0.4756706059, -0.7891286612, 0.5263017416, 0.3049137592, -0.0322239622, -0.5771396756, -0.5569550991, -0.2230289131, -0.5792152882, 1.1102280617, 0.2245858908, 0.3084158003, 0.1172580943, 0.1953079104, -0.1799262464, 0.133667022, -0.4327707291, 0.104796581, -0.1151536554, -0.2398381084, -0.0389855504, -0.0640458167, -0.1300134957, -0.0755918622, 0.5525236726, -0.6317954659, 0.4186972678, 0.0349448659, -0.0622288473, -0.1674118489, 0.4929344952, 0.8788674474, 0.6108722091, -0.2706088424, -0.3975119591, 0.3345888555, -0.3013155758, 0.0356772542, 0.2113678753, -0.1604421437, -0.1262825727, 0.0388316549, 0.9943551421, 0.505864799, -0.671826303, 0.5993584394, 0.0586890616, -0.2056961507, -0.0415760763, 0.3252188563, 0.1030518413, 0.5736455321, 0.3741816878, -0.2974413335, -0.1244885549, -0.5697401166, 0.1732027382, 0.6612672806, -0.5449957252, -0.3589008152, 0.5371035933, 0.413993746, -0.34213081, 0.3060460389, 0.0293607078, -0.4412223697, 0.438700676, 0.7270751595, 0.8944951892, -0.4368258119, 0.39453125, 0.179223001, -0.1141514257, -0.110204801, 0.3430504799, -0.3950605392, -0.7702065706, -0.9312503338, -0.7310454845, -0.4964295328, 0.298994422, -0.6289824247, 0.2429804802, -0.5107684135, -0.2157758921, -0.0044933748, 0.2083148211, -0.3510806561, -0.0376986898, 0.2477060109, 0.9144400358, -0.3805111647, 1.122956872, 0.3323548734, -0.1581064761, -0.734485507, 0.1269816011, 0.30489856, -0.6450917125, 0.2793703973, 0.2188856453, -0.4097777307, 0.2866460681, -0.4946963787, -0.7801593542, 1.1265300512, 0.4438512325, -0.8820434213, 0.1209641621, 0.0246013105, 0.5656327605, -0.6183473468, 0.3183869123, 0.6348406076, 0.1427558959, 0.4934343994, -1.3700703382, 0.2172682732, 0.1017445922, 0.1782503575, 0.4747361243, -0.8767060637, 0.4627811611, -0.3010913432, -0.1524758637, 0.3972318769, 0.3997495174, 0.3624457717, 0.1128930449, 0.5399106741, 0.1809124947, 0.3443419337, -0.145476535, 0.7664869428, -0.2458718568, 0.5747843385, 1.2067790031, -0.57478863, 0.9316134453, 0.3496748507, 0.0706147477, 0.0453268811, 0.2915302217, 0.1285334826, 0.5617748499, 0.4150856733, -0.4304957986, -0.3312933743, -0.2412594259, -0.1601778567, 0.530145824, 0.62183249, -0.1017880514, -0.424335897, -0.079302974, 0.1666938066, -0.1537080854, -0.2808079422, 0.8030328155, 0.2414555401, -0.6906531453, 0.7684036493, -0.0471575558, 0.671661675, -0.7397040725, -0.0011136025, -0.3447285593, 0.3427174985, 0.0646257848, -0.4548015296, 0.2528277338, 0.2391052693, 0.1383090913, -0.2599654198, 0.4784322679, -0.6373564005, -0.3655541837, 0.324082464, 0.3334811628, 0.0106820455, -0.195801422, -0.5256330967, 0.2884992957, 0.4147853553, -0.1707573086, 0.3986148238, 0.21395877, -0.4318023026, 0.7759379148, 0.7037089467, -0.0660006776, -0.1140941009, 0.1829293966, 0.9187130332, -0.626178205, -0.547426641, -0.7524046302, 0.4097723961, -0.0125464341, -0.2911784947, 0.4697552323, 0.3324247599, 0.6751668453, -0.042784337, 0.6145783663, -0.1645253301, 0.6363882422, -0.5033898354, 0.5623574853, -0.3767952621, 0.2458836138, -0.4365962446, -1.1019283533, -0.3875672817, 0.490359664, -0.4830669761, -0.0376755148, 0.3863295913, 1.023801446, -0.1398106366, 0.2225363851, 0.6257205606, 0.4039661586, 0.7243638635, 0.6307539344, 0.9183929563, -0.0683282465, 0.5692806244, 0.0628538504, -0.4020825624, -0.5432643294, -0.7728238106, -1.0695254803, -0.6211588383, -0.4199496806, -0.1284775883, 0.0420188718, 0.9139652252, 0.8518887162, -0.8045121431, -0.327839613, 0.0930190682, -0.2328653634, -0.1795784831, -0.2680403888, 0.0672929212, -0.3533265889, -0.8194958568, 0.5532844663, 0.4627311826, -0.084505178, -0.262732178, 0.053020943, -0.0817097351, 0.3008366823, 0.7890112996, 0.3008111119, -1.0965982676, -0.3628539741, -0.0985059366, 0.1233441904, -0.0815720856, 1.0835504532, -0.4195088744, 0.4211999476, 0.3001301289, 0.5271027684, 0.892475605, 0.0621130392, 0.7001951933, -0.79402107, 0.1532253176, 0.2830742598, 0.1274379641, 0.3206076622, -0.1697473973, 0.3160036206, -0.0058747092, -0.4309737384, -0.9214532971, 0.429479748, -1.245321393, -0.0875367895, 1.1850897074, -0.3259735107, 0.0218435824, -0.0770719275, -0.3533319235, 0.1216461882, -0.7589151859, 0.6638088822, 0.6032820344, -0.2823391259, -0.2818763852, -0.7333974242, 0.4612880051, 0.2267258614, -0.7274085283, 0.4068115354, 0.607029438, 0.5657941699, -0.022911841, 0.9850272536, 0.0421256013, -0.1067592576, -0.4277887344, -0.2606455982, 0.0091316774, -0.2292856425, -0.2673165798, -0.076159589, -0.083035633, -0.2812298238 ]
http://arxiv.org/abs/2402.10462v1
http://arxiv.org/pdf/2402.10462v1
QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning
2024-02-16T05:42:17
2024-02-16T05:42:17
Hossein Rajabzadeh, Mojtaba Valipour, Tianshu Zhu, Marzieh Tahaei, Hyock Ju Kwon, Ali Ghodsi, Boxing Chen, Mehdi Rezagholizadeh
cs.LG
cs.LG, cs.CL
Finetuning large language models requires huge GPU memory, restricting the choice to acquire Larger models. While the quantized version of the Low-Rank Adaptation technique, named QLoRA, significantly alleviates this issue, finding the efficient LoRA rank is still challenging. Moreover, QLoRA is trained on a pre-defined rank and, therefore, cannot be reconfigured for its lower ranks without requiring further fine-tuning steps. This paper proposes QDyLoRA -Quantized Dynamic Low-Rank Adaptation-, as an efficient quantization approach for dynamic low-rank adaptation. Motivated by Dynamic LoRA, QDyLoRA is able to efficiently finetune LLMs on a set of pre-defined LoRA ranks. QDyLoRA enables fine-tuning Falcon-40b for ranks 1 to 64 on a single 32 GB V100-GPU through one round of fine-tuning. Experimental results show that QDyLoRA is competitive to QLoRA and outperforms when employing its optimal rank.
[ -0.2784017622, -0.8629545569, 0.4875656366, 0.1891310364, -0.4968324602, 0.4935719669, -0.2893964648, -0.2010981888, -0.1134493425, 0.165082857, -0.3713594675, -0.5921221375, -0.3310329914, -0.1838905364, -0.1100649461, 1.0111032724, 0.2451238632, -0.3380008042, 0.2856381238, -0.3626722097, -0.5217265487, -0.3379624784, -1.0195615292, 0.1678079665, 0.9081727266, 0.4147943854, 0.9838202, 0.5499706268, 0.4113771915, 0.3809487224, -0.3241591454, 0.2132955343, -0.934289813, 0.3540530503, -0.2718894184, -0.7557474971, -0.9212456942, -0.1085896194, 0.9620636106, 0.3946350217, -0.2723644078, 0.413100183, -0.08075241, 0.8021000028, -0.9639630318, 0.1814299524, -0.8703865409, 0.0913128704, -0.2588327229, -0.3550317287, -0.0279085208, -0.5413541198, -0.2376769632, -1.0731662512, -0.2976442873, 0.0263416525, 0.619969964, 0.5810686946, -0.5423777103, 0.0295271873, -0.8921492696, 0.5333068371, -0.7351481915, 0.2544826567, 0.1074367464, 0.598739624, -0.1068767533, -0.7452668548, -0.4070745409, -0.0039527025, 0.5624709725, 0.0911019817, -0.1456432045, 0.2121929079, 0.4507615268, 0.4909636974, -0.4825312495, 0.3864666522, -0.2159612775, 0.2739585638, 0.4351412356, 0.1179020032, 0.2363431901, 0.2398135811, 0.057024803, -0.311901927, -0.6608430743, 0.1182259545, 0.4135709107, 0.4405273199, -0.1737872362, 0.1905834079, -0.2889575958, 0.6822564006, 0.4321008325, -0.3452959061, -0.1570333391, -0.0647669658, -0.4532661736, 0.3540375531, 0.189646244, 0.0284066964, 0.254802227, 0.0118407663, -0.2221133709, 0.090182431, 0.1554525495, -1.1247981787, -0.5401223302, 0.2242212892, -0.3994455636, -0.3705349267, -0.1459501684, -0.8381029963, -0.3873704076, -0.210610196, 0.6057627201, -0.0805921406, -0.2571882904, 0.0315446518, 0.1382871866, 0.1030288115, 0.6010163426, -0.9722722173, 0.306419611, 0.5906456709, 0.9254502058, -0.2361658216, -0.1136960462, -1.1332058907, 0.1280387342, -0.5052527785, 0.6968955994, -0.4098743796, -0.2003994733, -0.1752362251, 0.1382906139, -0.2553014457, -0.7581134439, 0.3190411031, -0.8726402521, -0.1383841038, 0.012438708, -0.3444320858, -0.0139800422, -0.1477415264, -0.684679985, 0.7215575576, 0.5780866742, -0.5653560758, 0.2054567635, -0.4490802288, 0.0032158385, 0.170049578, 0.2399117202, -0.454613924, 0.4589045942, -0.0418959521, 0.0163210165, -0.1233238652, 0.1420450211, -0.6268069148, -0.7597609758, 0.2572048008, -0.521407783, 0.7795177698, 0.5247407556, -0.1867714077, 0.3585259318, -0.8253724575, 0.2821262777, 0.046491392, -0.6377892494, -0.4516803622, -0.1000500768, -0.0743406862, 0.1362540722, 0.1567143649, -0.0614383146, 0.5569446087, -0.494225204, 0.5580668449, 0.7147516608, -0.0321896523, 0.4650402367, -0.1541838348, 0.8395848274, -0.0728443041, 0.1771441102, 0.3239639103, -0.1679870188, -0.8556123376, -0.2668049932, 0.4970827401, 0.4213727117, -0.9779525399, 0.1989829391, -0.3848351538, -0.4406227767, -0.5897032022, 0.2148196101, 0.195618242, -0.0960466862, 0.208928749, 0.0319801793, -0.3138901293, -0.465860635, -0.1757110357, -0.0681010336, 0.1514799297, -0.0212924834, 0.1882178932, 0.0548631065, 0.6277268529, -0.4954965413, -0.3652376235, 0.0470620617, -0.1403589547, 0.4164718091, 0.5513830185, 0.81822896, -0.6350557208, -0.6461353898, 0.1516287476, -0.4017709792, -0.0730057955, -0.0576425456, -0.2989067435, 0.1821265668, 0.5738224387, -0.5020460486, 0.2074376941, 1.1245040894, -0.4776024222, 0.2981370389, -0.636081934, 0.0021053387, -0.9699646235, 0.0661528558, -0.3193857968, -0.5214727521, -0.4725991189, 0.2384562641, 0.1116838977, -0.3908090889, -0.5475509167, 0.5008738637, -0.326529175, -0.2048867494, -0.4794659019, 0.4678674936, -0.1425092518, 0.5142820477, -0.4279140234, 1.0762150288, 0.4191868901, -0.5121079683, 0.4760604203, 0.0801948309, -0.3821150959, 0.6862131953, -0.4153154492, 0.0858493969, 0.0747811273, 0.1749996841, -0.6988498569, 0.1554117352, 0.1365615726, 0.167390883, 0.2468561977, -0.5711477995, -0.2682273388, -0.0353741907, -0.3139098287, 0.8433631659, 0.5324520469, -0.7471707463, 0.147577256, 0.3282167614, -0.3462906182, 0.032264106, -0.2425178885, 0.1097545102, -0.6010020971, -0.1507038325, 0.5035039783, -0.4921970367, -0.3361932039, -0.2779865861, -0.0199707467, 0.1495020688, 0.5534870625, 0.260810107, -0.0663596019, -0.5509420037, 0.1627726108, 0.3092867434, -0.1477353871, -0.3316448033, -0.2734579146, 0.4267755151, -0.3312860131, -0.0314362608, -0.5836078525, 0.0170014072, 0.78964293, -0.197604686, 0.6880078316, 0.7063897848, -0.2123884708, -0.5346326232, 0.0090848617, -0.0339653455, -0.5485072732, 0.5315734744, -0.5241693258, -0.7758929133, 0.4812115431, -0.3962798119, -0.3114381135, 0.4329348803, 0.4960778356, -0.0514556356, 1.1289509535, 0.5001983643, -0.0417700522, 0.7763553262, -0.3169350028, 0.1586501598, -0.7689662576, 0.3680766821, -0.4641852975, -0.5045983195, -1.1221743822, -0.4067345262, 0.5518296957, 0.4744787514, -0.5014403462, -0.0890419334, -0.3860717416, 0.4115632474, 0.4359568059, 0.0280593038, 0.4535861909, -0.0208398364, 0.4098731279, 0.1663746089, -0.7746068835, -0.1141547635, 0.7568457723, 0.221063301, 0.7300437093, 0.5547330379, 0.5740641952, 0.4946730435, 0.0058082473, -0.7718238831, 0.4151163399, -0.5792431235, -0.1399015337, -0.5562077761, -0.3414184749, -0.9444978833, 0.4061233103, -0.3838193417, -0.5455359221, 0.365380168, 0.1553326398, -0.8769078851, 0.2347334474, -0.5017234087, 0.854355216, -0.0916528627, -0.3760813177, -0.4892151356, -0.0789114535, 0.364433527, -0.4045346081, 0.0451339893, -0.4451502562, 0.1061116308, 0.804590404, -0.5082728863, 0.6449351311, -0.4502388835, -0.5654398799, -0.0487976335, 0.2624147534, 0.75917238, 0.3215304911, -0.1399678439, -0.1888385117, 0.694396019, -0.5921904445, -0.8777707815, 1.0771702528, -0.9569254518, -0.6134362221, -0.4446521997, -0.6756982803, -0.3253169954, 0.1237669587, -0.2296405137, 0.3113430142, -0.006326702, 0.1914798915, 0.5811468959, -0.4148481488, 0.3872671425, 0.4391077161, -0.2895552516, -0.4940139949, 1.2170438766, 0.2332895398, 0.2249013782, 0.3177130222, 0.1925976276, -0.0081230197, -0.8690589666, -0.4697044194, 0.2648334503, -0.5727296472, -0.3336922526, -0.0792545453, -0.3612236381, -0.1542106718, -0.0340892859, -0.5548862815, -0.6782835126, -0.5516527295, 0.3017295599, 0.4271167517, 0.423045218, 0.269248873, 0.5732676983, -0.5551089048, 0.5457416773, 0.6480009556, 0.257876724, -0.0053530638, -0.7727342844, -0.4649578929, 0.1860623062, -0.2125661671, -0.5433285832, 0.5317454934, 0.6933683753, 0.3858982325, 0.4286800921, 0.4043980241, 1.0860784054, -0.2400783449, 0.3325608075, -0.3666630089, -0.992425561, 0.451318711, -0.477868855, 0.5132357478, 0.5444030762, -0.0092320647, -0.3308691382, -0.3302809894, -0.2252150029, -0.564250052, 0.7236732841, -0.0304280072, 0.0128562422, 0.3902479708, 0.7165703773, -0.10052412, 0.1388844699, -0.3227539659, -0.0218893327, -0.2011810541, -0.2502707243, -0.3577914536, -0.3175974786, -0.1789014041, -0.4083257914, 0.6272575259, -0.6835005879, 0.0953124091, -0.3454663455, -0.3460227549, -0.2266853899, 0.1232167333, 0.8979386091, 0.7545355558, -0.5575195551, 0.3289405406, 0.375988245, -0.3925299942, 0.32172364, -0.0934452862, -0.0164553411, -0.4638387263, 0.1371747106, 1.0919017792, 0.5078759193, -0.6040555239, 0.2659824491, -0.1449871659, -0.0406480767, -0.0705836713, 0.5440527201, 0.1321882457, 0.6812744141, 0.271525681, -0.3621065915, -0.2886300981, -0.6935301423, -0.1778416187, 0.3776547313, -0.2073451281, -0.4348836243, 0.7121921778, -0.0007659842, -0.20658198, 0.6093037128, -0.2807885408, -0.0447626635, 0.5611388683, 0.6844428182, 0.7679936886, -0.3386675715, 0.3114746809, 0.1835144907, -0.2905551493, 0.0049482258, 0.3870401084, -0.0136044035, -0.4679909647, -0.2000802606, -0.9374293685, -0.3545117676, -0.1038463935, -0.6948030591, 0.1332899928, -0.6607291102, -0.338493377, -0.0705881491, 0.4310175776, -0.339255929, -0.0218466427, 0.1660109013, 0.7967956066, -0.5953524113, 1.5748161077, 0.4052753747, -0.1491294652, -0.4747499526, 0.0423765257, -0.3121367693, -0.682339251, 0.7729862332, -0.427321732, -0.1381879598, 0.6519259214, -0.1609364003, -1.1298795938, 1.5183317661, 0.7834110856, -0.7629153132, -0.1345980614, -0.0971448347, 0.7310627103, -0.2279847115, -0.0495518818, 0.6144710779, 0.5233310461, -0.1859763414, -0.8752720356, 0.0658750832, 0.0056139566, 0.3720496893, -0.0771120638, -1.0169420242, 1.0726292133, -0.193269521, -0.278418541, 0.3622560501, 0.6351600885, 0.4487577379, 0.1517429948, 0.564664185, 0.2285635769, 0.9710279703, 0.0484516658, 0.640106976, -0.539460659, 0.5489734411, 0.9303269386, -0.298238039, 1.0472077131, 0.40861696, -0.4247077405, 0.5370567441, 0.6721336842, 0.0762486458, 0.6797137856, 0.4217548966, -0.1733929515, -0.3608328998, 0.1099201441, -0.3460846543, 0.6304599643, 0.322358042, 0.1049482673, -0.143335402, 0.2588794231, -0.0911181495, -0.1875246316, -0.6252361536, 0.7689934373, 0.1030272543, -0.4928771257, 1.4617948532, 0.080228135, 0.4315179586, -0.398417592, 0.0030753149, -0.5735096931, 0.3668963313, -0.0973473415, -0.1692379117, -0.073788777, -0.3028258085, -0.1401437521, 0.0500230007, 0.4534316957, -0.5484771729, -0.4661363065, 0.0901318043, 0.4464576244, -0.0571978353, -0.4190464318, -0.6638196111, 0.5252999067, -0.3008778691, -0.2704707384, 0.9264038205, 0.4914934039, -0.4016076028, 0.8424515128, 0.6487465501, 0.3819197714, 0.0556787848, 0.0264937077, 0.9300676584, -0.7565501928, -0.6582229137, -0.4658265114, -0.1782076955, 0.3124865294, -0.0556515492, 0.5468341708, 0.3625122309, 0.4945588112, -0.0618436821, 0.5193530321, 0.4129733145, 0.109211944, -0.912525475, 1.0077102184, -0.7756187916, 0.3142789006, -0.0080199726, -1.1708897352, -0.2225972116, 0.5695121884, 0.0084877415, 0.0680200309, 0.7092292309, 0.722205162, -0.2344890386, -0.2842671573, 0.8201093078, 0.5814791322, 0.4456594288, 0.8110920787, 0.6710218191, -0.4947206676, 0.3505659103, -0.1070609465, -0.1174301356, -0.5316982269, -0.9386963248, -0.6346715093, -0.3985795081, -0.6183807254, -0.240415886, 0.5887620449, 0.7363883257, 0.8715664148, -0.9708109498, -0.1497693807, 0.1072367132, 0.1570862979, -0.4884241819, -0.2268898189, 0.7251970172, -0.3645817339, -1.1311980486, 0.6169469953, 0.3218192756, 0.1267662644, -0.5132800937, -0.2899039686, 0.04751084, 0.002964122, 0.690967679, 0.3882020414, -0.4578436613, -0.3285443485, -0.5834239721, -0.1993774474, 0.0742091909, 0.7381581664, -0.9300588369, 0.2276913524, 0.4782315791, 0.3749377728, 0.628459096, 0.1599200368, 0.3031735718, -0.292068541, 0.3481554389, -0.0047876271, 0.0209082905, -0.0330648683, -0.1469369233, 0.1310363859, 0.2836264372, -0.6194847822, -1.0388796329, -0.059781123, -1.4169636965, -0.4712717235, 1.3163682222, -0.2388685793, -0.3290052116, 0.0037637115, -0.4054116905, 0.2262610048, -0.2563016713, 0.9334083796, 0.0249811523, 0.2161143571, -0.4048000574, -0.6435182095, 0.9180731177, 0.1491729319, -0.9336848855, 0.2635678947, 0.1017462239, 0.3119881749, -0.3530550301, 0.4368753135, 0.2077494711, 0.2381326556, -0.1206681132, -0.2670937777, -0.1249442995, -0.3129765987, -0.6035857201, 0.4353806674, 0.7452635765, -0.0605591089 ]
http://arxiv.org/abs/2402.10987v2
http://arxiv.org/pdf/2402.10987v2
WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editing
2024-02-16T05:29:59
2024-06-05T07:44:30
Chenhui Hu, Pengfei Cao, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Knowledge editing aims to rectify inaccuracies in large language models (LLMs) without costly retraining for outdated or erroneous knowledge. However, current knowledge editing methods primarily focus on single editing, failing to meet the requirements for lifelong editing. This study reveals a performance degradation encountered by knowledge editing in lifelong editing, characterized by toxicity buildup and toxicity flash, with the primary cause identified as pattern unmatch. We introduce a knowledge editing approach named Wise-Layer Knowledge Editor (WilKE), which selects editing layer based on the pattern matching degree of editing knowledge across different layers in language models. Experimental results demonstrate that, in lifelong editing, WilKE exhibits an average improvement of 46.2% and 67.8% on editing GPT2-XL and GPT-J relative to state-of-the-art knowledge editing methods.
[ 0.2193043083, -0.7571353316, 0.7583858967, 0.1675178558, 0.0041987193, 0.2246387601, -0.1110899076, -0.5343844891, 0.0149529483, 0.8023093939, -0.3219560981, -0.6987817883, -0.3852680027, -0.21381253, -0.2860296667, 0.7858203053, -0.0161013175, 0.1218644604, -0.4492530823, -0.3491457701, -0.9538219571, -0.0902725682, -1.1299108267, -0.3837320805, 0.4953982532, 0.6551795602, 1.0437847376, 0.5517676473, 0.1838120222, 0.376242429, -0.3371205926, 0.300200969, -0.3198327422, 0.3996248841, -0.3782576621, -0.3500349224, -0.8826882243, -0.0211908538, 0.5639002919, 0.5247221589, 0.026792556, 0.0105530415, 0.1393796653, 1.0395858288, -0.6855829358, -0.2240965068, -0.5639827847, 0.0884422734, -0.3680742979, -0.1962840855, -0.3183380663, -0.3918777704, -0.0035208305, -0.8399476409, -0.2188398093, -0.0503326766, 0.1305871457, 0.2305767834, -0.3122330606, 0.1454219818, -0.7126085162, 0.5933920145, -1.2195887566, 0.3975674212, 0.3955158889, 0.0218626447, -0.4193932414, -0.7443016768, -0.6265267134, -0.0780341849, 0.0940324068, 0.180950731, 0.1956513375, 0.2941531241, 0.2913135886, 0.0708325133, -0.4223005474, 0.019142827, -0.0536317937, -0.3931780756, 0.7535793185, 0.1832819581, 0.5818421841, -0.2325376123, -0.1603003293, 0.2509839833, -0.6928849816, -0.2159085721, 0.5062776804, -0.2766302824, 0.4526847303, 0.5023164749, -0.2106388956, 0.9117561579, -0.1793171912, -0.5436767936, 0.0473603792, 0.0140245762, -0.3874921501, 0.0774353892, 0.7892583609, 0.6968156695, 0.2717984319, -0.4158168137, -0.2579910457, -0.412235409, 0.139046669, -0.4348638058, -0.3585433066, 0.3397965431, -0.2285093367, -0.6687915325, -0.0875786096, -0.7759670615, -0.6510856748, -0.1144204214, 0.7776020169, -0.6119274497, -0.0874281004, 0.340113014, -0.3369451165, -0.3254668415, 0.4910303056, -0.3294249475, -0.1766972393, 0.43969962, 0.8610903025, -0.1348766685, -0.6133739948, -0.4728184044, 0.4593113363, -0.4725829661, 0.9353687763, -0.6854708791, -0.3863294125, -0.2418947369, -0.2478046268, 0.0177805964, -0.5357794166, 0.5081702471, -0.9223168492, 0.392883867, -0.4282842577, -0.8524953127, -0.1309182644, 0.0476922281, -0.7251843214, 1.2309125662, 0.2431398332, -1.0392080545, 0.4452118576, -0.8819526434, -0.4252788723, 0.154534772, 0.4475207627, -0.4106859267, -0.0799607262, 0.067446366, 0.2686544657, 0.1928892136, 0.3502309322, -0.3621532321, -0.2973736823, 0.1118607819, -0.2047092766, 0.8214536905, 0.0340607427, -0.2683148086, 0.3705813587, -0.9899353385, 0.1575111598, 0.0222563483, -0.4275562167, -0.7609777451, 0.1853206903, -0.0656041205, 0.4645014703, 0.237154752, -0.6267025471, 0.5074632764, -0.1186140478, 0.4047068059, 1.1272147894, 0.4040590525, 0.3582423627, -0.645825386, 0.5200504661, 0.1588754803, 0.4034398794, 0.5560789704, -0.7580225468, -0.7225971818, 0.2053369433, 0.341786921, 0.8567193151, -0.8748733997, 0.1858474463, -0.1813032329, -0.3922306895, -0.2195577472, 0.7266654372, 0.3080841601, 0.7961878777, 0.5116919875, -0.3178423047, -0.3396085501, -0.7170886397, -0.7706431746, -0.0271508396, 0.1430695653, -0.0512477271, 0.2092755139, -0.514537096, 1.058790803, -0.329011023, -0.364145577, -0.2120095789, -0.0050440682, -0.2708100677, 0.3423008323, 0.4025601447, -0.3450535834, -0.7600662708, 0.0068004294, -0.6164842844, -0.3276594579, -0.1552840769, -0.4761532843, 0.2981155813, 0.7447599173, -0.280066967, 0.2404610664, 0.6773306727, -0.4336718023, 0.6841410398, -0.3309496343, 0.4135199189, -1.1028374434, -0.0305930357, -0.2430670261, -0.3465481997, -0.7876297832, -0.1329976022, 0.3558941782, 0.1778042018, -0.5360190272, 0.5230984092, -0.3869955242, 0.1959412545, -0.1384870112, 0.1659073979, 0.0644752681, 0.3287392557, -0.2896361947, 0.8882695436, 0.3861199915, -0.4410757422, 0.371480912, 0.1361485571, -0.5250858665, 0.5523315072, -0.4217303991, 0.5490000844, -0.0181825291, -0.043735221, -0.6141271591, -0.2207525671, 0.0926180407, 0.0646811947, 0.311706543, -0.0611582398, -0.6600781679, -0.1649788171, -0.590806365, 0.3738660514, 0.2536492944, -0.3682944477, 0.6354917288, 0.2004056126, -0.0643980801, -0.7616637945, -0.7718474865, 0.3210403025, -0.2272780389, -0.9307569265, 0.3865112066, -0.4195692241, -0.3198495507, 0.1514986008, -0.2200077772, 0.0089444751, 0.0273992885, -0.0417876355, 0.1094253212, -0.0457900241, 0.0853426531, 0.3158980906, -0.1306919008, -0.0740926266, -0.368264854, 0.0428274423, 0.2760722935, -0.2100553662, -0.2439985275, 0.4086232185, 0.9115540385, -0.398189187, 0.8412930369, 0.2828730941, -0.2081248164, -0.345943749, -0.9807190299, 0.3831121624, -0.5368173122, 0.4637914598, -0.1882016659, -0.8341587186, 0.7821882367, -0.1390558183, 0.1847408414, 0.6466076374, 0.0340401754, -0.2501374781, 0.798913002, 0.6166557074, -0.3393630087, 0.4728315175, 0.1070442796, 0.0122340964, -1.0228328705, -0.1156924665, -0.0483317785, -0.4369858205, -0.2291914076, -0.1766121984, 0.5734463334, 0.4432130456, -0.2987560928, 0.2063425779, -0.4363670647, 0.9766467214, 0.3629323244, 0.3944709003, 0.8047100902, -0.3061397672, -0.1943278462, 0.0350327455, -0.7507879138, -0.3646754026, 1.2229162455, 0.0923768803, 0.6621814966, 0.4300456643, 0.5923109055, 0.400336206, 0.3087638617, -0.3382796049, 0.6982876658, -0.1350536346, -0.5242051482, -0.4371031523, -0.3568680584, -0.3701159656, -0.1210762709, -0.1288887858, -0.5761168003, 0.019230416, 0.4681392908, -0.2296649218, 0.8932473063, -0.8168837428, 1.0596530437, -0.2969501615, -0.4576953351, -0.2468430102, -0.6001634598, 0.4405306876, -0.3261454999, 0.4321914017, 0.3168193996, -0.0461001582, 0.9594270587, -0.4494727254, 0.4574110508, -0.3518522978, -0.2691640258, 0.1434430033, 0.5803591013, 0.7982906699, 0.2411203533, -0.2292069197, 0.1153615043, -0.0002803067, -0.1407913119, -0.6671911478, 0.7329400182, -0.672649622, -0.5914433599, -0.2118961215, -0.7898010015, -0.6159120798, 0.3830842078, 0.3622265756, 0.3536063731, 0.0008923966, -0.1773506105, 0.8021194935, -0.4964845479, 0.2314831316, 0.4593401253, -0.3158580959, -0.242898941, 0.858830452, 0.2877416313, 0.7218702435, 0.1826482117, 0.4393338263, 0.1079037264, -0.6523631215, -0.298348546, -0.0226724446, -1.0418747663, -0.3227454126, -0.7789580822, -0.2997342944, -0.3859033287, -0.2614949346, -0.350294143, -0.3875612319, -0.0684605166, 0.1855563372, 0.6676137447, 1.1326640844, -0.3181555271, 0.052924227, -0.6601685286, 0.3825617135, 0.6462666988, 0.7809904218, -0.1066541299, -0.6516084671, -0.2507248223, -0.0412409827, -0.2974101007, -1.2954595089, 0.0890729353, 0.3798105717, 0.4909596443, 0.0222823601, -0.232695967, 0.8525096774, -0.4171717167, 0.6290928721, -0.2213721573, -1.1252788305, 0.7022935748, -0.3865482211, 0.5262417793, 0.675106883, 0.0422659181, -1.0745273829, -0.7948470712, -0.5006349087, -0.7078128457, 0.5604986548, -0.2436623871, -0.1250307262, 0.1726589203, 0.5221791267, 0.0022150683, -0.0408411771, -0.5780839324, -0.2676329911, -0.2915425301, 0.0329766981, 0.1668175161, -0.5851774216, 0.0882720128, -0.5712223649, 1.0985162258, 0.037785694, 0.0966769084, 0.183878392, -0.4898430109, -0.5782822371, 0.6227958202, 0.6804498434, 0.8332297206, -0.3079272211, -0.028935533, 0.5374923348, -0.5954992175, -0.0478786044, -0.3445459008, -0.2790191472, -0.2850567698, 0.5627971292, 0.4119839072, 0.4212509394, -0.3970039785, 0.3750380278, 0.1688321978, -0.3122490644, -0.0171795376, 0.4083525538, 0.3897601962, 0.1452332139, 0.0713474005, 0.5725845695, 0.052932404, -0.3477381468, 0.1146940663, 0.3897429109, 0.0300671998, 0.2524905801, 0.7646688223, 0.0304882582, -0.2184665203, 0.6865622401, -0.2757602036, -0.6215533614, 0.2698697746, 0.3074047863, 0.9012872577, -0.2474068999, 0.1533821225, 0.3364746869, 0.2609700263, -0.1908056587, 0.0341157541, 0.2796498537, -0.8338788748, -0.7561546564, -0.4339483678, -0.3884176016, 0.4379048347, -0.4723723829, 0.0701950416, -0.4703647494, -0.0121540744, -0.1874926388, -0.1291592717, -0.5240488648, 0.0064905742, -0.3357796669, 0.9283742905, -0.6804160476, 1.1208297014, 0.7377663255, -0.1840379238, -0.9067481756, 0.1081597954, 0.248519063, -0.5857649446, 0.4010456204, -0.2265954167, -0.0996740758, 0.3161095679, -0.4521173239, -0.6962861419, 1.2542847395, 0.439810276, -0.7418997884, -0.0374315642, 0.0910442546, 0.4026048481, 0.2617387474, 0.0651452914, 0.6857528687, 0.68504107, -0.2312918752, -0.8704953194, -0.0481984727, -0.189423129, 0.1608084142, 0.1460492909, -0.5867879391, 0.5194400549, -0.2448498309, -0.1485674679, -0.006678944, 0.4079705179, -0.2210698575, -0.1144217625, 0.6095041633, 0.8631449938, 0.61253649, 0.2130022645, 0.6336737871, -0.4312942326, 0.341592133, 1.0093981028, -0.0745863616, 0.5818711519, 0.1933975965, -0.0849286169, 0.883085072, 0.3521866202, 0.2328733355, 0.4454461038, -0.2373054624, -0.4698135555, -0.3452577889, 0.4602035284, -0.2966776788, 0.081243515, -0.0101757916, -0.0333495624, -0.0872174725, 0.1342761815, 0.2394157946, -0.0330273211, -0.3264354467, 0.8295610547, -0.1616129577, -0.5800666809, 0.0478994586, 0.2761074901, 0.8389368057, -0.6521178484, -0.0038276212, -0.4084650278, 0.0402803011, -0.4747286737, -1.1516504288, 0.418969065, -0.0937933102, -0.1467314959, -0.2201884687, 1.0433124304, -0.5506214499, -0.4275847971, 0.4809243977, 0.4235531092, -0.3580812216, -0.2850700021, -0.976213336, -0.0337059349, -0.0020829998, -0.5202408433, 0.3096108437, 0.474291265, -0.1248943061, 0.6961936355, 0.6626254916, 0.3082280755, 0.0605551526, 0.2304157317, 0.6924036145, -0.6983299255, -0.3634179831, -0.7912920713, 0.807897985, -0.0702343509, -0.3158058524, 0.6547003984, 0.3983722329, 0.878749609, -0.0090710586, 0.8464094996, -0.1348886639, 0.2914274037, -0.7421183586, 1.0943256617, -0.686680913, 0.3185725212, -0.6844790578, -1.0856471062, -0.5332587957, 0.4467405677, -0.2655495107, 0.236307919, 0.9309588671, 0.9890515208, -0.0568240359, 0.0284463186, 0.4938684106, 0.5775146484, 0.2405242473, 0.649158299, 0.5479853749, -0.3413880467, 0.1502239257, -0.7128154635, -0.1703985929, 0.2065048814, -1.0254495144, -0.9485091567, -0.4432391226, -0.3722268045, -0.3999125659, 0.2833934426, 0.5923776627, 0.3397944868, -0.61353755, 0.1888796836, -0.2270804942, 0.1409047544, -0.4183941782, -0.2681771517, 0.3966443539, -0.2929653823, -0.1842664331, 0.5890328288, 0.488160342, -0.2878822088, -0.2915436327, -0.1619434804, -0.2141591907, -0.0450943895, 0.6834723353, 0.1947815716, -0.4075159132, -0.5996256471, -0.1457669884, -0.1567101032, 0.0389813036, 0.787088275, -0.5751703978, 0.7797750831, 0.4762016535, 0.5909873247, 0.1151686087, -0.3231106699, 0.3062848449, -0.6384042501, -0.1614530534, 0.0756633356, 0.2547074854, 0.3595990241, -0.6296736002, 0.2550819516, 0.4379001856, -0.8647034764, -0.3915856481, 0.0041571674, -1.1176760197, -0.2883351445, 1.3757337332, 0.1913629472, -0.0413051955, -0.3039920926, -0.3027682602, 0.2432426959, -0.0175511576, 0.6840148568, 0.857121408, -0.0971206874, -0.1408226788, -0.9748246074, 0.6514697671, 0.5967425108, -0.910189867, 0.1668097675, 0.6101209521, 0.8198104501, -0.3228698969, 0.6650322676, -0.2858330309, 0.445984453, -0.3217480183, -0.0055141607, -0.4377228618, -0.3414455056, -0.0685668513, -0.0805997252, 0.348886162, 0.4049988687 ]
http://arxiv.org/abs/2402.10986v3
http://arxiv.org/pdf/2402.10986v3
FinTral: A Family of GPT-4 Level Multimodal Financial Large Language Models
2024-02-16T05:05:12
2024-06-14T13:26:47
Gagan Bhatia, El Moatez Billah Nagoudi, Hasan Cavusoglu, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
We introduce FinTral, a suite of state-of-the-art multimodal large language models (LLMs) built upon the Mistral-7b model and tailored for financial analysis. FinTral integrates textual, numerical, tabular, and image data. We enhance FinTral with domain-specific pretraining, instruction fine-tuning, and RLAIF training by exploiting a large collection of textual and visual datasets we curate for this work. We also introduce an extensive benchmark featuring nine tasks and 25 datasets for evaluation, including hallucinations in the financial domain. Our FinTral model trained with direct preference optimization employing advanced Tools and Retrieval methods, dubbed FinTral-DPO-T&R, demonstrates an exceptional zero-shot performance. It outperforms ChatGPT-3.5 in all tasks and surpasses GPT-4 in five out of nine tasks, marking a significant advancement in AI-driven financial technology. We also demonstrate that FinTral has the potential to excel in real-time analysis and decision-making in diverse financial contexts. The GitHub repository for FinTral is available at \url{https://github.com/UBC-NLP/fintral}.
[ -0.2000274658, -0.8379852176, 0.2346425503, 0.3723144531, -0.2014131397, 0.2500315607, -0.4107272923, -0.7195987105, -0.0578685626, 0.8394062519, -0.4362996519, -0.7187105417, -0.5168749094, -0.0714687258, -0.3698184788, 1.0542906523, 0.1774470508, 0.0777231455, 0.2955945432, 0.0223034546, -0.2352634519, -0.828273952, -1.0442512035, -0.3471385241, 0.4864694476, 0.1700125337, 0.5938604474, 0.3197080493, 0.7664926052, 0.2767496407, 0.2727881074, -0.0245492049, -0.513047576, 0.1444887072, -0.017128367, -0.143011108, -0.7283607721, -0.0916650668, 0.4711710513, 0.5486738682, -0.4922139049, 0.2961042821, -0.2509996891, 0.634709239, -0.4253096581, 0.8814760447, -0.3723031878, -0.0144417435, -0.3419127762, -0.075631693, -0.4266182184, -0.0351744331, 0.3448539972, -0.605214119, 0.143631503, 0.2685829997, 0.4911343753, 0.3016137481, -0.6464478374, -0.2817444205, -0.747811377, 0.4448559582, -0.6078062057, 0.9414092898, 0.2278617024, 0.42998752, -0.0383957997, -1.1767200232, -0.3551103175, -0.3684245944, 0.1302682757, 0.1472868621, -0.3788784444, 0.5278849602, 0.0392753854, 0.3186543286, -0.5314511657, -0.1400470734, -0.6501160264, -0.3197924793, 0.5343191624, 0.1724073291, 0.0184556581, 0.0272039734, -0.5565037727, -0.4469437599, -0.4705037177, -0.0082274126, 0.4432032108, 0.6685725451, -0.1968609095, 0.3598836958, -0.0817594603, 0.9362547994, 0.106727317, -0.6010494828, 0.1924204975, -0.3945403695, -0.3746884167, 0.3473294973, 0.7206830978, 0.2113468349, 0.1100001186, 0.0162495747, -0.5196946859, -0.1754815429, 0.1630948782, -0.5270596743, -0.4768613875, 0.2104839981, -0.3746744394, -0.299741298, -0.1601748765, -0.8237086535, -0.3042218685, -0.3769449294, 0.480317682, -0.3668594956, -0.3195890486, 0.7011641264, -0.199942559, 0.1657978743, 0.164199695, -1.2558004856, 0.6481624842, 0.8781180382, 0.6518604159, 0.2387138903, -0.2832306623, -0.6011466384, 0.1983650029, -0.4041664898, 0.947208941, -0.5753494501, -0.2102234811, -0.064745158, -0.3588278294, -0.3164390028, -0.3050322533, 0.3400393128, -0.562876761, 0.1961794943, -0.1010208353, -0.2741593122, -0.5161707997, 0.1479438394, -0.8860920668, 0.8956218958, 0.4080045819, -0.7995473742, 0.5359374285, -0.9351611733, -0.1881329566, 0.1882736832, -0.2154177129, -0.2247294635, -0.2380601913, 0.1377609819, 0.4726466238, -0.5857969522, 0.4123251438, -0.4572680295, -0.1976640821, 0.1530976444, -0.661075294, 0.2695989013, 0.141889289, -0.5412017107, 0.4156315923, -0.7107521892, -0.3218802214, -0.006094656, 0.0464873612, -0.3469593823, -0.406863302, 0.574321568, 0.246130988, 0.3822692037, -0.3118699789, 0.1830466986, -0.2897033691, 0.6438177824, 0.9251672029, -0.1035764813, 0.1785562187, -0.2359235436, 0.5795471668, -0.2674410641, 0.6058869362, 0.0883389711, -0.1910255402, -0.3997910619, -0.6618283987, 0.2831074893, 0.357560128, -0.5754707456, -0.1622167677, -0.2251411527, -0.5068240166, -0.1739983112, 0.2128541321, 0.1701703519, 0.3062939644, 0.0786515325, -0.1533619314, -0.2730613351, -1.1563432217, 0.091387637, -0.4310275316, 0.4491631985, 0.2367910892, 0.2140983194, -0.2205419391, 0.6490627527, -0.5223166347, -0.3283165991, -0.6102651954, 0.1447034478, 0.4012225866, 0.060606733, 0.8894606829, -1.08373034, -0.1687715352, 0.1960368454, -0.5494172573, 0.0198498983, -0.3830949664, -0.0924812704, 0.0519328527, 0.4950523376, -0.5624434352, 0.0323181003, 0.6483798027, -0.7427153587, 0.6346942782, -0.3225370944, 0.0479523093, -0.8745760322, 0.2482759804, 0.1103916019, -0.2490068674, -0.6659142375, -0.0024305568, 0.0435639992, -0.0561653189, -0.1775376797, 0.8918791413, -0.2204036713, -0.4494099319, -0.0626869798, 0.1864110976, -0.0150132813, 0.6026153564, -0.0887536407, 0.8031498194, 0.5108236074, -0.3030133247, 0.8163686395, 0.2558774352, -0.2984115779, 0.3019140065, -0.5084563494, -0.2842762172, 0.0228137691, 0.2896936834, -0.9378539324, -0.3766393065, 0.5664948225, 0.0462319218, 0.3504232168, 0.0598633662, -0.3993099928, -0.3604227006, -0.1129290983, 0.5388704538, 0.0004369636, -0.497176528, 0.8947073817, 0.1470176429, -0.717161715, -0.9743458629, -0.2725327909, 0.3646514714, -0.3525272906, -0.4800006449, 0.2049168199, 0.0432017148, -0.5371572971, -0.0586769432, -0.1640206873, 0.0640870929, 0.1005517766, 0.2765475512, 0.7582401037, -0.3258846104, 0.2788555324, -0.1906435043, -0.319468677, -0.0956479162, -0.7232275605, 0.7248491049, -0.4942804277, -0.2850167751, -0.3011381626, -0.1227225587, 0.7666130066, -0.4334525466, 0.5388996005, 0.6775916815, -0.1841721684, -0.0543180965, -0.771368444, 0.1313180178, -0.5093166828, 0.3371305168, -0.3691327274, -1.1344066858, 0.5803663135, 0.1360216439, 0.2690382004, 0.5602747798, 0.6217743158, 0.4513660669, 0.4095527232, 1.0994398594, -0.1414312273, 0.7124360204, -0.202236712, 0.3194694221, -0.2309163958, -0.2844062448, -0.1813489348, 0.00187652, -0.2430693954, -0.212098971, 0.3569845259, 0.0304350667, -0.5455322266, 0.1770718545, -0.146045804, 0.1985572577, 0.3588761091, -0.2048542351, 0.3668324351, -0.001308436, -0.2536663413, 0.3392953575, -0.7489215136, -0.3104489148, 1.361243248, 0.5363517404, 0.9224818349, -0.0665161535, 0.4367799163, 0.6143990159, 0.5130152702, -0.6446725726, 0.1866715401, -0.2722572088, -0.6817927361, -0.3982952535, -0.5915378928, -0.51228863, 0.2680466175, -0.2762820721, -0.5007103086, 0.1949915439, -0.0580726415, -0.986782074, 0.4244709015, -0.5246454477, 1.0798313618, -0.6361172795, -0.2323546857, -0.1738715768, -0.2977452576, 0.6679711342, -0.5373969078, 0.4526166022, -0.0539431199, -0.0264164675, 0.6366869211, -0.0998860821, 0.9010031223, -0.0491704307, -0.574216783, 0.0949111283, -0.1127214432, 0.1338909566, 0.2032653391, -0.0589676872, 0.2547866702, 0.2237106413, -0.3611194789, -0.5949365497, 0.5874831676, -0.6683087349, -0.3997915983, -0.402102828, -0.51649791, -0.1519713104, 0.2359238267, -0.2062714249, 0.912470758, -0.2296483815, 0.0709843263, 0.2681754529, -0.2166622579, 0.3309094906, 0.1877291948, -0.5734131932, -0.8847276568, 0.8320806623, -0.2056594342, 0.2847621143, 0.3448896706, -0.0473887771, -0.7223371863, -0.3916913867, -0.4267989099, 0.4485984147, -0.8193960786, -0.1724378169, -0.601323843, -0.1612489969, -0.5754519701, -0.1190434098, -0.4973784387, -0.4300726652, 0.2297932059, -0.4398279488, 0.5742488503, 1.0476396084, -0.4165424705, 0.4095575213, -0.8272725344, 0.3498831689, 0.3999236524, 0.617595911, 0.0695766658, -0.1160911098, -0.2731487155, -0.1470963508, 0.1764293164, -0.2563245893, 0.4698557556, 0.1621125489, 0.5589826107, 0.7690881491, -0.0921425894, 0.6393151283, -0.0652699918, 0.5902096033, 0.375039041, -0.7302880883, -0.0631950647, -0.569974184, -0.15219751, 0.4487557113, 0.0231877808, -0.9094315767, -0.2638642192, -0.537180841, -0.9303696156, 0.549859643, 0.0522353202, -0.0666117147, 0.1161655709, 0.6450932026, 0.4796382189, 0.50292629, -0.7287169099, -0.1245656684, -0.4829137027, -0.340233624, -0.4358565211, -0.287776351, -0.1111513302, 0.0800313875, 0.4909590185, -0.2584553659, 0.077134423, 0.1037648916, 0.2006869316, -0.0128120333, 0.0306482799, 0.7056507468, 0.8578203321, -0.4040137529, 0.06916783, -0.0937227085, -0.7029880881, 0.0211908706, 0.4353204966, 0.3589732945, -0.1200521067, 0.6524712443, 0.8898978233, 0.7309959531, -0.9104822278, 0.4340254664, -0.4104479253, -0.4862061739, -0.7018219829, 0.0018168931, -0.116281569, 0.8429179192, 0.6189719439, 0.0475720502, 0.0923393145, -0.5006892681, 0.3614652753, 0.2371183038, -0.4425984621, -0.2898613811, 0.8631061912, 0.1166065186, 0.2864480019, 0.6540637016, 0.1795541048, -0.5455318689, 0.3462360203, 0.4230862558, 0.9223804474, 0.0726741701, 0.5026346445, 0.0500994511, 0.2661620378, -0.4639235139, 0.2876094878, -0.1448978931, -0.6976832747, -0.4495655596, -0.9442340136, -0.4469363987, 0.1141484156, -0.5892330408, 0.1085463986, -0.7682411075, -0.4739641249, 0.1549399048, -0.0381108671, -0.6109759212, 0.0208344031, 0.469462961, 0.9495744705, -0.5580627918, 0.5316082239, 0.4414763749, -0.3973651826, -0.5046417713, -0.2412773669, -0.0105060386, -0.6700531244, 0.8688391447, -0.0762970597, -0.3017823696, 0.1435938179, -0.4539461434, -0.8722411394, 1.1949057579, 0.487478435, -0.5807167888, -0.3545665443, 0.1573000997, 0.3447527587, -0.4301845431, 0.0642035976, 0.5811634064, 0.7268745899, 0.1391867697, -1.043612957, -0.4006217718, -0.2261695415, -0.3164221048, 0.416110158, -0.9071611762, 1.0077553988, -0.0914351344, -0.0769845918, -0.2076292634, 0.4987967014, 0.2465395331, 0.3087484837, 0.6145589352, 0.3458726406, 0.7774714828, -0.0831102505, 1.125975728, -0.7012619376, 0.3548264503, 0.8446310759, -0.391464889, 0.7793180943, 0.123600632, 0.0632769093, 0.3225187361, 0.87059021, -0.0502225198, 0.3993352652, -0.0725628808, -0.4338558912, -0.6581773162, 0.0913731158, -0.2268718779, 0.6806312203, 0.4291557968, -0.0069669979, -0.2496397197, 0.1837884784, -0.251622349, -0.2289590091, -0.3756185472, 0.5784976482, 0.3790629804, -0.0930924937, 0.3678858578, 0.1382958293, 0.6808089018, -0.9851773977, 0.0413840041, -0.2484985888, 0.3550261557, 0.1399403811, -0.3876925409, -0.0857540444, -0.1368636787, 0.1856147498, -0.3493126333, 0.7697377801, -0.3258671463, -0.6757745743, 0.6650006771, 0.5538673401, -0.0939526856, -0.0744303018, -0.6613680124, -0.1242041886, -0.0536425486, -0.263358593, 0.0970873535, 0.5297813416, -0.1549061537, 1.0297335386, 0.9921263456, 0.0239623804, -0.1956500411, 0.2367710471, 0.8495717645, -1.0368840694, -0.5446685553, -0.7760974765, -0.0665357858, 0.1655593067, -0.3684325814, 0.34473598, 0.733612597, 0.7895191312, 0.0193008259, 0.834353745, 0.3544932008, -0.0402017795, -0.607922852, 0.7440268397, -0.3918694258, 0.1131420508, -0.4755297601, -0.9822070599, -0.4668764472, 0.461820662, -0.4020491838, -0.0502094068, 0.4414390326, 0.4866632819, -0.1340109706, 0.2684101164, 0.4634588063, 0.147780478, 0.2827112675, 0.3454592526, 0.6559292674, -0.1505260468, 0.5670929551, -0.1691496372, -0.1774474084, -0.2919452786, -0.5142531395, -0.9642631412, -0.6125099063, -0.0326841697, 0.1296279579, 0.1698063165, 1.2284758091, 0.342895925, -0.3773506284, -0.6372249722, 0.4403406084, -0.1894261241, -0.3256322742, -0.1055438221, 0.3839609623, -0.3573752344, -0.3676505685, 0.3142790496, 0.8099969029, 0.2809489667, -0.4473786056, 0.0373485871, 0.1591572464, 0.0238253381, 0.7615292668, -0.0245299526, -0.54506284, -0.254850626, 0.0971503183, -0.0825119913, -0.1502263397, 0.832098186, -0.2654250264, 0.1880293339, 0.0884121209, 0.4216463864, 0.5717105865, 0.0437973514, 0.8412795067, 0.0129076615, 0.3627485037, -0.0299283136, 0.4686227739, 0.0293702967, -0.3096833527, 0.5246741772, 0.1698135883, -0.2343672812, -0.5605657101, -0.1796402931, -0.9821206331, -0.3067659736, 0.9542708993, 0.0820978358, -0.4608538747, -0.1370367557, -0.3200813234, -0.0324679464, -0.565979898, 0.7028880715, 0.7903640866, -0.0274309181, -0.2569797635, -0.9770594239, 0.6496813893, -0.1447923183, -0.4857572615, 0.5056321621, 0.68080616, 0.2704224288, 0.0022177461, 0.8512615561, -0.1534032971, 0.3075139523, 0.3422286808, 0.3112130165, -0.3534816802, -0.5034838319, -0.2151355296, 0.3244849443, 0.098770678, 0.329447329 ]
http://arxiv.org/abs/2402.10453v1
http://arxiv.org/pdf/2402.10453v1
Steering Conversational Large Language Models for Long Emotional Support Conversations
2024-02-16T05:03:01
2024-02-16T05:03:01
Navid Madani, Sougata Saha, Rohini Srihari
cs.CL
cs.CL
In this study, we address the challenge of consistently following emotional support strategies in long conversations by large language models (LLMs). We introduce the Strategy-Relevant Attention (SRA) metric, a model-agnostic measure designed to evaluate the effectiveness of LLMs in adhering to strategic prompts in emotional support contexts. By analyzing conversations within the Emotional Support Conversations dataset (ESConv) using LLaMA models, we demonstrate that SRA is significantly correlated with a model's ability to sustain the outlined strategy throughout the interactions. Our findings reveal that the application of SRA-informed prompts leads to enhanced strategic adherence, resulting in conversations that more reliably exhibit the desired emotional support strategies over longer conversations. Furthermore, we contribute a comprehensive, multi-branch synthetic conversation dataset for ESConv, featuring a variety of strategy continuations informed by our optimized prompting method. The code and data are publicly available on our Github.
[ -0.2539913654, -0.7223467827, 0.8393504024, 0.6658357382, -0.2755541205, 0.1762965322, -0.4662201405, -0.2095549554, 0.513674736, 0.5167278647, -0.9900648594, -0.3735069335, -0.4227449596, 0.036797639, -0.0490798615, 1.0567858219, -0.2007922828, -0.0110622486, -0.2013941705, -0.4290815592, -1.0621436834, -0.2812569439, -1.0044224262, -0.2499159724, 0.9676947594, 0.8133749962, 0.4379116297, 0.5209944248, 0.5006691217, 0.2245386392, -0.297372669, 0.1399092525, -0.6980593801, 0.6487005353, -0.2467591166, -0.676687777, -0.3854155838, -0.4041904807, 0.6771485806, 0.3401307166, -0.6990328431, 0.3042108417, 0.0458454825, 0.69763273, -0.4572870135, -0.0014558962, -0.7398504019, 0.0834071562, -0.1448152661, -0.2550970018, -0.6004546881, -0.0088607669, 0.3337949216, -0.4458495677, -0.4957155287, -0.0026904114, 0.6486307979, 0.4151713848, -0.5256144404, -0.4206436872, -0.6696408987, 0.8479835391, -0.5664052367, 0.3675638735, 0.2432216257, 0.1908279955, -0.2091015875, -0.3725110888, -0.194648847, -0.3624571562, 0.1443316191, 0.3046658933, -0.504606545, 0.1688141078, 0.3321741223, -0.410359472, -0.0893794075, 0.3047349453, -0.2436235398, 0.2346921861, 0.4904808998, 0.2530212104, 0.0609504767, 0.1412674338, -0.378002733, 0.1040411517, -0.7166468501, 0.2741197944, 0.2244793475, 0.0598042905, -0.3589734733, 0.6514220238, -0.1363627315, 0.3465471566, 0.4479247332, 0.1343981475, -0.1272391677, -0.2411226332, 0.0658533126, 0.2723700702, 0.42147699, 0.582095921, 0.522942543, -0.007840937, -0.0079641948, 0.0441944413, 0.4374631345, -0.5911759138, 0.1688575894, 0.3706180751, -0.4927730858, 0.0892567486, -0.373811692, -0.8951140046, -0.3910048604, -0.5590173006, -0.16392456, -0.0855188966, -0.1171427071, -0.0115647363, 0.2225150168, 0.4702153504, 0.1142695248, -0.9031305909, 0.0861251727, 0.9268293381, 1.0046876669, -0.1582704633, 0.0659022406, -0.5774695277, 0.3673302829, -0.5423642397, 0.8142230511, -0.6811706424, -0.3732401133, 0.1784185171, 0.0572699681, -0.0663989708, -0.3853233457, 1.0628199577, -0.2519606352, 0.0670662299, -0.4213884771, -0.2660439312, -0.042131152, 0.5965055823, -0.3740917444, 0.7062439322, -0.376549542, -0.3446645737, 0.1385892332, -0.5665184259, -0.426561743, -0.2068032473, -0.0649795979, -0.3420945406, 0.1531747431, 0.3115659058, 0.6473697424, -0.3595528007, 0.2656969428, -0.4307945669, 0.053757526, 0.3242150545, -0.2700858116, -0.012563617, 0.243787095, -0.3993753493, 0.3416547477, -0.4598010778, 0.0199158899, 0.1823295057, -0.1152107492, -0.3685890138, 0.2450433224, -0.2276792526, 0.3296779692, 0.149710834, -0.2828666866, 0.1475173831, -0.2381079495, 0.593231976, 1.0299445391, 0.1921316683, 0.2345020622, -0.1321457177, 0.9197844863, -0.1053883061, -0.0273968223, -0.2326200604, -0.4085606337, -0.8568821549, -0.2595978081, -0.1611617953, 0.482459873, -0.4502104223, 0.1976463944, -0.4014308155, -0.5682806373, -0.4161831737, -0.0796805099, 0.3422802091, 0.4640685618, 0.1306730956, -0.1953775883, -0.6287817955, -1.1511602402, -0.2088348716, -0.2225017399, 0.2737531364, 0.6189053059, 0.1963199526, -0.1932840049, 0.7001470923, -0.3448592424, -0.1398252845, -0.498395443, -0.0249744859, 0.1411450505, -0.0080585983, 0.4740200043, -0.483369112, -0.7591876984, -0.1110712215, -0.5423229337, -0.3242336512, -0.3935905099, -0.3465656936, 0.2297929376, 0.6610082388, -0.7087856531, 0.1237166226, 0.8424426317, -0.487270087, 0.2725222707, 0.1306246817, 0.3512742519, -1.1808845997, -0.0348656662, 0.3390756845, -0.1903097034, -0.8185895085, -0.3976183832, -0.1383938193, 0.0835205317, -0.3434839249, 0.42751652, -0.3624964058, -0.0319940597, -0.0615747347, 0.3580143452, -0.2731706798, 0.4230796397, 0.4624738693, 0.6239660978, 0.5032148957, -0.4640917182, 0.2618045509, 0.3980175555, -0.112543188, 1.1143699884, -1.0675132275, 0.1979172677, -0.137548089, 0.5094979405, -1.1155883074, 0.0783889666, 0.2574450672, -0.1444956362, 0.1725642681, -0.1072411686, -0.0656813532, -0.3388200402, -0.0766325966, 0.1097766832, 0.2787802219, -0.2881493568, 0.8933939934, 0.3313838243, -0.8147143722, -0.5090920925, -0.4118882418, 0.2790253758, -0.5554062128, -0.6747089624, 0.1813650578, -0.2075421065, -0.3293723166, -0.224382624, 0.0154798944, 0.4014196098, 0.002951348, 0.418145448, 0.2557768822, -0.1838248223, 0.3315484524, -0.3278710544, 0.0309004877, 0.3181907237, 0.0352879204, 0.7246773243, -0.1327614784, -0.4069431424, -0.677500546, 0.5217666626, 0.7353871465, -0.1792807877, 0.8239593506, 0.3026065826, -0.1232954934, -0.1839367598, -0.6943433285, -0.4423079789, -0.4010772705, 0.619027853, -0.2448619753, -0.6829174757, 0.6617226601, 0.1292616427, 0.2299121469, -0.008060596, 0.5580539703, -0.2484121472, 1.3927670717, 0.5268176794, -0.2711543143, 0.7459883094, 0.1347398013, 0.4210295379, -0.8408882022, -0.2624769211, -0.3715213537, -0.7074881792, -0.1374081373, -0.132781297, -0.0022036701, -0.3434915543, -0.1764787883, 0.0822101459, -0.3181234896, 0.1804860234, 0.0773267671, -0.0903189927, -0.139025569, -0.0115852952, 0.3810735941, -0.3294672668, -0.8621816039, -0.3742641509, 0.7337533236, 0.9357049465, 0.8418537974, 0.241546005, 0.2930227816, 0.1242898554, 0.32813555, -1.0262849331, 0.6826511025, 0.4088932276, -0.2312136292, -0.0953026488, -0.4469756782, -0.9932755232, 0.0406318046, -0.1689789444, -0.7733950615, -0.0800095797, -0.0353969149, -0.4176400006, -0.1398971081, -0.6847091317, 0.7873676419, -0.4769828916, -0.1928890944, -0.4937975705, -0.4719440937, 0.0508026741, 0.0214315318, -0.0207445081, -0.1975334287, -0.1462071538, 1.0287257433, 0.027465431, 0.924287498, 0.1490264535, -0.3476374447, 0.3659098148, -0.2436880171, 1.1363289356, -0.1435343474, 0.3074929714, -0.1657273322, -0.2211599797, -0.2210184485, -0.5721177459, 0.7638661861, -0.5397549868, -0.8876284361, -0.3340902328, -0.4722734392, -0.5918375254, -0.1000999808, -0.1601409614, 0.0366686583, -0.1026459858, 0.6610718966, 0.9392527938, 0.081943363, 0.3223997056, 0.6221030951, 0.1945164204, -0.2888488173, 0.4188522995, 0.1465870738, 0.4616689384, 0.1278293282, 0.0801293775, -0.3968429267, -0.2876017988, -0.2567702532, 0.4468940794, -0.6640537977, -0.0980222523, -0.6967493296, 0.1627514958, -0.2496097982, -0.2835240066, -0.4294084907, -0.0323082432, -0.4793243408, -0.5040562749, 0.5611155629, 0.5474916697, 0.2982667685, 0.1767768562, -0.7923130393, -0.1088712364, 0.1182910725, -0.0548489243, 0.226800859, -0.6752702594, -0.20895271, 0.0227191951, -0.1498079449, -1.1560480595, 0.2931587398, 0.1490317434, 0.7757748365, 0.3885988295, -0.0395771191, 0.8529332876, -0.4287250638, 0.8675484657, 0.4170538783, -0.8037222028, 0.7411108613, -0.6110751033, 0.427062571, 0.3940642774, 0.4572516978, -0.9170134068, -0.3214805722, -0.4891038835, -0.9687197804, 0.6842123866, -0.1654740125, 0.18337062, -0.0341668501, 0.2593053281, -0.6637194157, 0.2166470587, -0.5894447565, -0.2750561535, 0.4114475846, -0.5695338845, 0.2286512554, -0.5203418732, -0.4799969196, 0.4592494369, 0.8093915582, -0.3084796369, 0.0348386057, -0.0338668339, 0.4508505464, -0.326864928, 0.4595535696, 0.6393803954, 0.6777468324, 0.2135862708, -0.3325635493, 0.5007314086, -0.300470531, 0.1170890182, -0.1338813305, 0.0101256873, -0.2800405622, 0.1522348076, 0.798180759, 0.4559165537, -0.8869672418, 0.2037194669, -0.0692611933, 0.0101560466, -0.2948080599, -0.2430978715, 0.3319971263, 0.3965089321, 0.1044292748, -0.4206857383, -0.2416218519, -0.7231082916, 0.1485280991, 0.5983758569, -0.9742061496, -0.0710631385, 0.3007950783, 0.4181585014, -0.2952160537, 0.4421820939, 0.2738397121, -0.5899404883, 0.6874351501, 0.4569708407, 0.6529229879, -0.2780433297, 0.3173816204, 0.1270366013, 0.1145277694, -0.1533597708, 0.2170490324, 0.0597357713, -0.3630612791, -0.3704553246, -0.14627707, -0.4648643136, -0.1215366051, -0.7723437548, 0.3306418061, -0.4399704635, -0.4517389536, -0.2021721303, -0.1262002587, -0.4017645717, -0.1305873096, 0.3045889139, 0.8765124679, -0.7032800913, 0.3738517463, 0.6888870001, -0.1990615875, -1.0496892929, -0.2020960599, 0.1562954783, -0.7150299549, 0.594286859, 0.1081849411, -0.2693863511, -0.238996312, -0.4697082937, -0.9849868417, 1.2788882256, 0.2981832027, -1.0707770586, 0.1921202242, -0.112331003, 0.6523874402, -0.6116631031, 0.2116784751, 0.4904778302, 0.4647398889, 0.2686785161, -0.7546501756, -0.0011806119, 0.0257471893, -0.1651395112, 0.258888185, -1.1723049879, 0.0907792374, -0.3537329733, -0.3769504428, 0.1929585338, 0.9162558317, 0.6266641021, 0.3389380872, 0.6276211143, 0.7655729651, 0.6571365595, -0.1582222581, 0.6552526355, -0.3461858332, 0.0963690653, 1.1080352068, -0.6309438348, 1.0966835022, 0.7764661908, 0.2205630541, 0.6900584698, 0.690292716, 0.1164040044, 0.4248585403, 0.1552448422, -0.1107909158, -0.3239867389, -0.6424429417, -0.3162992299, 0.1710007191, 0.5123537779, -0.5503998399, 0.1827063411, -0.0365021154, 0.3241383135, 0.0745633319, -0.4564960003, 0.8873187304, 0.3640386164, -1.1367918253, 0.2519078553, -0.275277704, 0.4594014585, -0.9892655015, 0.0711068884, -0.169152841, 0.2041811049, -0.0914004818, -0.8817201853, 0.0766047314, 0.2084353566, -0.1807128936, -0.2972207963, 0.45289886, -0.7348106503, -0.1930442899, 0.3662747145, 0.3059397936, -0.2296168059, 0.177077949, -0.872954309, 0.2324979305, 0.0501836427, -0.6555126309, 0.3339730203, 0.5870533586, 0.0022006992, 1.0452071428, 0.6492617726, 0.064628318, -0.2585002184, 0.2206383049, 0.6541261077, -0.572096467, -0.770111382, -0.7292275429, 0.5100644827, -0.0815926492, -0.4152721465, 1.0307461023, -0.1165161505, 0.2847182751, 0.1474342048, 0.4743101001, 0.2397840172, 0.1583561301, -0.6973287463, 0.3984907269, -0.3187897801, 0.258179754, 0.044675082, -0.9667140841, 0.2209954262, 0.4895563126, -0.5421914458, -0.0021957776, 0.4222888947, 0.8305290937, 0.2372061312, 0.061896231, 0.0872683674, 0.2505705953, 0.5851512551, 0.8154093623, 1.0657368898, 0.253334254, 0.5870639086, 0.2942891717, -0.116780363, -0.1938512623, -1.05146873, -0.8360425234, -0.3994276226, -0.3951207995, -0.3163310289, 0.3147712052, 1.2650002241, 0.8114562631, -0.6731745601, -0.0931129456, -0.0531736463, 0.008815418, -0.1256909817, -0.2018852085, 0.0745094121, -0.3381663859, -0.5996577144, 0.3010317683, 0.3858993351, -0.0098312926, -0.3781161904, -0.1133743897, -0.3804117441, 0.5290957689, 0.5433535576, 0.414041698, -0.63272506, -0.303483963, 0.2890491188, -0.1706973016, -0.0841308609, 0.8053526878, -0.4230889082, 0.2682854533, 0.381580472, 0.8727937341, 0.0282474216, 0.2245365977, 0.8085327148, -0.6534766555, -0.0432011932, 0.4310773313, 0.5145972967, 0.4365981221, -0.5401283503, 0.6058146358, -0.2142906338, -0.8289518952, -0.744736135, 0.3048663735, -1.0303093195, 0.1839714944, 1.6597901583, -0.2919811904, -0.2288859934, 0.0817199349, -0.4759763181, -0.17762734, -0.8671700954, 0.5531352162, 1.0489780903, -0.1363456398, -0.5925580263, -0.483134985, 0.438459307, 0.9179506302, -0.8178635836, 0.3789460659, 0.4752091765, -0.0632698089, 0.279653728, 0.5791785121, 0.2938192189, -0.0172168706, -0.4905749261, -0.4731771052, 0.3463052809, -0.6008466482, -0.3541582525, -0.085618943, -0.0431674235, 0.0786047503 ]
http://arxiv.org/abs/2402.10447v2
http://arxiv.org/pdf/2402.10447v2
Incremental Sequence Labeling: A Tale of Two Shifts
2024-02-16T04:41:33
2024-05-27T15:23:17
Shengjie Qiu, Junhao Zheng, Zhen Liu, Yicheng Luo, Qianli Ma
cs.CL
cs.CL, cs.LG
The incremental sequence labeling task involves continuously learning new classes over time while retaining knowledge of the previous ones. Our investigation identifies two significant semantic shifts: E2O (where the model mislabels an old entity as a non-entity) and O2E (where the model labels a non-entity or old entity as a new entity). Previous research has predominantly focused on addressing the E2O problem, neglecting the O2E issue. This negligence results in a model bias towards classifying new data samples as belonging to the new class during the learning process. To address these challenges, we propose a novel framework, Incremental Sequential Labeling without Semantic Shifts (IS3). Motivated by the identified semantic shifts (E2O and O2E), IS3 aims to mitigate catastrophic forgetting in models. As for the E2O problem, we use knowledge distillation to maintain the model's discriminative ability for old entities. Simultaneously, to tackle the O2E problem, we alleviate the model's bias towards new entities through debiased loss and optimization levels. Our experimental evaluation, conducted on three datasets with various incremental settings, demonstrates the superior performance of IS3 compared to the previous state-of-the-art method by a significant margin.The data, code, and scripts are publicly available at https://github.com/zzz47zzz/codebase-for-incremental-learning-with-llm.
[ -0.0533806421, -0.5467698574, 0.3707764447, 0.2022428662, -0.1973838657, 0.031545721, 0.2653158605, -0.6443066597, -0.2394500822, 0.5038662553, -0.742677927, -0.4276292026, -0.7780817151, 0.1465012282, -0.546658814, 1.0563209057, 0.0430173278, 0.1633554399, -0.1011922061, -0.2090989798, -0.5223425627, -0.1146179065, -0.8552119732, -0.5959558487, 0.4934651852, 0.5402935743, 0.4081740379, 0.9886062741, 0.3109327555, 0.1150091887, -0.1824789494, 0.0727689117, -0.4540368021, 0.1948843002, -0.3178913295, -0.6106435061, -0.2542366385, -0.2819578648, 0.7042359114, 0.673048079, -0.1080836505, 0.3386192024, -0.0444386564, 1.0155178308, -0.6765535474, 0.2793072462, -0.9195138812, 0.2536143363, -0.3921793997, -0.08949662, -0.5161159039, -0.1828486919, 0.2691152096, -0.7427254319, 0.2626870871, -0.1797598749, 0.8284307718, 0.6609283686, -0.3420543373, -0.2652690113, -0.5885145068, 0.4762922227, -0.5681881905, 0.3086718321, 0.0021058272, 0.0507068746, 0.0387229435, -0.5562596321, -0.6514942646, 0.1304992288, 0.3551750183, 0.1193361208, 0.1193629429, -0.3399843276, 0.3563038111, 0.3193493187, -0.2408218384, 0.5658159256, -0.2766260803, -0.0334469937, 0.5456776619, -0.0483888425, 0.0878938287, 0.282651782, -1.0072433949, -0.0927377716, -1.0707658529, -0.2629925609, 0.3190964162, 0.2863285244, 0.0565265864, 0.4819675088, 0.05952188, 0.5298965573, 0.1224093959, -0.2962932289, 0.5033233762, -0.0424569622, -0.0334797539, 0.4152638316, 0.2479987592, 0.2670427263, 0.0027866459, -0.0946450531, 0.0282361321, -0.002315762, 0.1492786258, -0.5435557365, -0.1061740071, 0.0473737717, -0.0506052971, -0.1787639707, -0.1180018857, -0.5214787126, -0.6065689921, -0.4654305279, 0.4911702275, -0.5077545047, -0.2135896981, 0.0044775293, -0.2253278345, 0.3184196651, 0.588804841, -0.9021283984, 0.130895406, 0.5962063074, 0.8589237332, -0.3284389973, -0.2455213964, -0.1645297855, 0.4161606431, -0.2120264769, 0.7010396123, -0.4227574468, -0.4442643225, -0.2013663352, 0.1158729792, 0.126504004, -0.795915246, 0.0344128832, -0.657063365, -0.1027621701, -0.1250187159, -0.7252913713, -0.3349824846, -0.0142918164, -0.690053761, 1.121258378, 0.012096311, -0.6420465708, 0.5257872343, -0.4503788352, -0.3672937453, -0.1066606566, -0.169097051, -0.7317198515, -0.0923476815, -0.1908677965, 0.0833021551, -0.3655262887, 0.1922880411, -0.3833825886, -0.2739393413, -0.0044613373, -0.0782448277, 0.6990684867, 0.2272407413, -0.4619561136, -0.083044894, -0.9324332476, -0.0929072648, 0.0364938378, -0.3611866534, -0.2550162077, 0.1663568169, -0.3696557283, 0.1682114899, -0.0206342712, -0.3389774561, 0.4636852145, -0.1525606066, 0.4513833225, 0.7570330501, 0.1444478035, 0.6831963658, -0.1239732802, 0.0476179607, 0.5131338239, -0.0243963227, -0.3394729495, -0.6113293171, -1.0420458317, -0.1070670038, 0.2360412031, 0.8736029267, -0.7860053778, 0.2460476458, -0.3659727573, -0.1962572038, -0.2657756507, 0.1001115218, 0.283408612, 0.7400226593, 0.7291833758, -0.1760263741, -0.4505530596, -0.9421256185, -0.147583127, -0.1734544188, -0.0874158442, -0.2805460095, 0.3467367887, -0.3391116261, 0.5890434384, -0.383929193, -0.3659051955, 0.0799216032, 0.2826942503, -0.0807763189, 0.6633689404, 0.0589735657, -0.7108210325, -0.2474232465, -0.2481625229, -0.7604097128, -0.0522822216, -0.3590838015, -0.2850368917, 0.4979190528, 0.5904217362, -0.2515518963, 0.4473150969, 0.0180567503, -0.0482801385, -0.0157792736, 0.0871814191, -0.2137640566, -0.7742196918, -0.143626675, 0.0390123241, 0.0325564332, -0.4935037196, -0.3156476617, 0.3590532839, 0.0715321153, -0.5355374813, 0.5508258343, -0.4602739513, -0.0092584537, -0.1693081409, -0.0470765606, 0.1794707328, 0.3625349998, 0.3024736941, 0.2602486014, 0.3785896003, -0.8475041389, -0.1474599391, 0.2993212044, -0.3833031356, 0.5019400716, -0.1883073747, 0.4574253857, -0.3247443438, 0.2413283288, -0.8823159337, 0.030649865, 0.5034309626, -0.3060219884, 0.708153069, -0.2597587407, -0.5924363136, -0.218202129, -0.1670600623, 0.3376377821, 0.2682274878, -0.5210270882, 0.1127476022, 0.3660795689, -0.13318488, -0.5270307064, -0.8415116072, -0.1258787811, -0.2464579344, -0.5560206175, 0.6905331612, 0.2028095722, -0.0684630126, 0.1730055511, -0.483034879, -0.0395662934, 0.0529278852, 0.1068508998, 0.410199523, 0.0242828969, 0.6847831607, 0.1489643306, -0.3894852698, -0.1316628456, -0.7124795318, 0.0559894033, 0.1742014885, 0.0043096934, -0.394055903, 0.4201155007, 0.2418679148, 0.0494155623, 0.6286851168, 0.4298380911, -0.4227100313, -0.3295886219, -0.3729785979, -0.0219085794, -0.3703140914, 0.5209984779, -0.3060916364, -0.7876136899, 0.1514537781, -0.2543052137, 0.086364001, 0.4794311523, 0.4509995282, -0.1025748923, 0.6564610004, 0.6576045156, 0.2406112552, 0.4173523486, -0.2056831419, 0.1744814813, -0.9663861394, -0.5018953085, -0.1468556225, -0.3757981956, -0.363732785, -0.5293661952, 0.5126704574, 0.2870781124, -0.4824175835, 0.1955436319, -0.5876469612, 0.4153578579, 0.4515177608, 0.1219712719, 0.4702885449, -0.0040391516, 0.3979469538, 0.1582463533, -0.5278856158, -0.5182571411, 0.9681538343, 0.2754604816, 0.6125501394, 0.2272686511, 0.6770808697, 0.5122106075, 0.5413872004, -0.7597538829, 0.4401446879, 0.0717977732, -0.6893607974, -0.4823917449, -0.3095314801, -0.9474887848, 0.4597058892, -0.1459159702, -0.7304661274, 0.247563839, 0.3611039221, -0.3170504272, 0.4293320477, -0.6071313024, 0.6136093736, -0.1913197339, -0.6455026865, -0.0265689939, -1.0391005278, 0.412468791, -0.0930309296, 0.2129033357, -0.5671252608, -0.2880708277, 0.5035098195, -0.6529979706, 0.655246675, -0.2981693149, -0.2923786044, 0.5442953706, -0.0857685879, 0.8772852421, 0.091649048, -0.0570553057, 0.2277970165, -0.0138152875, -0.3526488245, -0.4519077837, 0.5665565133, -0.583424449, -0.4724199474, -0.5415844917, -0.2631404996, -0.2847304344, 0.2128232569, 0.434871614, 0.1112046614, 0.2248819619, -0.3123525679, 1.0194681883, -0.3431675732, 0.2366437465, 0.6496098042, -0.1309674382, -0.3932248652, 0.7345201969, 0.3737393618, 0.4959720671, 0.6006321311, 0.0576428995, -0.5019750595, -0.6243155003, -0.5893430114, 0.2270942628, -0.9838631153, -0.3624050617, -0.6608234048, 0.0281743389, -0.4405107498, 0.1377776712, -0.4044056237, -0.5983656049, -0.3926186562, -0.2193573117, 0.3066269755, 0.7053515315, -0.1436656564, 0.0982367694, -0.6526943445, 0.2557563484, 0.2241946459, 0.1473868191, -0.0143615333, -0.5606926084, -0.2244586349, 0.0270879585, -0.4872002006, -0.9675175548, 0.059713982, 0.2966494262, 0.2469449341, 0.0935200453, 0.0109966751, 0.6360320449, -0.6649050713, 0.4645420611, 0.2902225554, -1.0207052231, 0.6177828312, -0.1721478552, 0.5244894624, 0.6395923495, 0.4461213648, -0.480427593, -0.0404744782, -0.476918608, -1.5003693104, 0.9151543379, -0.0914893374, -0.1675004512, -0.1503272802, 0.5992193222, 0.4623014033, 0.3538716435, -0.7960883379, -0.5702618361, -0.1524201334, 0.0240235999, 0.2525850832, -0.2943095267, 0.0707796589, -0.0516676754, 1.0686465502, 0.0591771156, 0.3346318603, 0.2337999344, -0.4246439636, 0.0352161378, 0.1536068916, 0.4695313573, 0.3142214715, -0.1336232275, 0.3315446079, 0.1906860173, -0.2721479535, 0.4404637814, 0.0324735865, -0.4680475891, -0.156842351, 0.2031611353, 0.8763650656, 0.304987669, -0.3458765745, 0.236889258, 0.5260689259, -0.0922111198, -0.4467540681, 0.0495725684, 0.0039429162, 0.2602700293, 0.2469372749, 0.4380691648, 0.3383120596, -0.5845877528, 0.2229554504, -0.1624331325, -0.5111609101, -0.2498848289, 0.7935479283, 0.1607870609, -0.0086577488, 0.8025320172, -0.1943337768, -0.0850528106, 0.6755321622, 0.6231028438, 0.7511819005, -0.1831300408, 0.1893183291, 0.6037026644, 0.0662219301, -0.360586524, 0.0298804846, -0.2363182306, -0.7626767755, -0.1443347931, -0.3341302872, -0.2878398597, 0.1138127297, -0.9490212798, 0.4298422635, -0.5001679659, -0.1524315178, 0.1830298156, -0.6403372884, -0.5015359521, 0.1537514329, 0.6229205728, 0.8722652197, -0.4907432497, 0.9806904197, 0.5596613884, -0.2896840274, -0.3313526511, -0.1103728935, 0.495600462, -0.8545808792, 0.8208401799, 0.448965013, -0.2969421446, 0.3236052692, -0.4372016788, -1.2180606127, 1.3027458191, 0.2641931176, -0.7310615778, -0.0250779856, 0.1190457642, 0.2020283341, -0.1527311951, -0.1438243687, 0.4657618403, 0.4025584459, 0.422754705, -0.4597231746, 0.0340228826, -0.2295826972, 0.2469629347, 0.521302104, -0.794733882, 0.7133963108, -0.6317741275, -0.6653394103, 0.1722230762, 0.5206235051, 0.194130823, 0.471653223, 0.3640854955, 0.8898944855, 1.009115696, -0.3742409945, 0.8373481035, 0.1982238144, 0.3139478266, 1.6739836931, -0.6529084444, 0.6401214004, 0.458083123, -0.3808386028, 0.3987585604, 0.8475190401, -0.0298050083, 0.7560902834, 0.5170068145, -0.3917357326, -0.1663806736, 0.2086726129, -0.6262199283, 0.067966491, 0.4523394704, -0.3458976746, -0.2762745321, -0.007639966, 0.3287127316, -0.3011726737, -0.2513481677, 0.9376145005, 0.0095991064, -0.7366930842, 0.4749913216, -0.1669145375, 0.3360596299, -0.5619375706, -0.1531823725, -0.1444784552, 0.4487741292, -0.2063802183, -0.4891387522, 0.3233321905, -0.2982175946, -0.4666191638, -0.2504924834, 0.1645547897, -0.5113086104, -0.4041779339, 0.2280668318, 0.1297130287, -0.0901722834, 0.1320444345, -0.6322402954, 0.1880218238, 0.0911881402, -0.0449861027, 0.2528176308, 0.5552400947, -0.1649405062, 0.6139135361, 0.2114918679, -0.3237753808, 0.2840252221, 0.0240704138, 0.4945774078, -0.8313926458, -0.1837590188, -0.8335697651, 0.5580090284, 0.1169439256, -0.3158714473, 0.6443802714, 0.667768836, 1.1307380199, -0.1820329875, 0.9775940776, 0.0094819376, 0.4847021997, -0.8684127331, -0.0002270011, -0.4931783378, 0.7625269294, -0.0687094554, -0.8105230927, -0.5582202673, 0.417956084, -0.1809616089, -0.3579575717, 0.6533553004, 0.6302087903, 0.4743202627, 0.1184821576, -0.0029694282, 0.158249706, 0.1347911358, 0.5962778926, 1.0926003456, -0.5176748633, 0.0977042466, -0.1026222035, -0.147374481, 0.0203722995, -0.8444752693, -0.3803221881, -0.5862352252, -0.9160658717, -0.4255206287, 0.2439328581, 0.9239539504, 0.495046854, -0.7448784113, 0.0374774896, -0.3374215662, 0.2656255066, -0.2290181667, -0.229485333, 0.1322758347, -0.60448879, -0.7401652336, 0.2004722655, 0.6368279457, 0.3177651465, 0.1558193713, 0.1829571277, -0.3454264402, -0.087240085, 0.5723769069, 0.3954439461, -0.6789252758, -0.1818603873, -0.3329060674, 0.1583366394, 0.3882554471, 0.8015224338, -0.7108062506, 0.604534328, 0.3286869228, 0.525729537, 0.8582928777, -0.1665914506, 0.2757489979, -0.4991510808, 0.1446017027, 0.1463814974, 0.1565694213, 0.4269197881, -0.403131634, 0.7828656435, 0.4054868817, -0.3272077143, -0.6545338631, 0.4532482624, -0.756177485, -0.336420387, 1.0882495642, -0.0683015734, 0.0402763709, -0.1522085369, 0.1274425834, 0.4128699005, -0.2342677414, 0.827636838, 0.4972095191, -0.5377880335, 0.0717564374, -0.2756697834, 0.3733818531, 0.2646356225, -0.656925261, -0.1871758401, 0.5272378325, 0.4546913207, 0.041569192, 0.6266755462, -0.4534990489, -0.041216705, 0.0265656281, 0.1682439446, 0.0621834882, -0.4980823994, -0.1781202406, -0.0592244379, 0.0284313671, -0.2392813861 ]
http://arxiv.org/abs/2402.10436v1
http://arxiv.org/pdf/2402.10436v1
I Am Not Them: Fluid Identities and Persistent Out-group Bias in Large Language Models
2024-02-16T03:54:48
2024-02-16T03:54:48
Wenchao Dong, Assem Zhunis, Hyojin Chin, Jiyoung Han, Meeyoung Cha
cs.CL
cs.CL
We explored cultural biases-individualism vs. collectivism-in ChatGPT across three Western languages (i.e., English, German, and French) and three Eastern languages (i.e., Chinese, Japanese, and Korean). When ChatGPT adopted an individualistic persona in Western languages, its collectivism scores (i.e., out-group values) exhibited a more negative trend, surpassing their positive orientation towards individualism (i.e., in-group values). Conversely, when a collectivistic persona was assigned to ChatGPT in Eastern languages, a similar pattern emerged with more negative responses toward individualism (i.e., out-group values) as compared to collectivism (i.e., in-group values). The results indicate that when imbued with a particular social identity, ChatGPT discerns in-group and out-group, embracing in-group values while eschewing out-group values. Notably, the negativity towards the out-group, from which prejudices and discrimination arise, exceeded the positivity towards the in-group. The experiment was replicated in the political domain, and the results remained consistent. Furthermore, this replication unveiled an intrinsic Democratic bias in Large Language Models (LLMs), aligning with earlier findings and providing integral insights into mitigating such bias through prompt engineering. Extensive robustness checks were performed using varying hyperparameter and persona setup methods, with or without social identity labels, across other popular language models.
[ -0.4908576906, -0.7566307187, 0.2756178379, 0.0948662981, -0.0075102374, 0.7346878052, -0.4126660228, -0.2777359486, 0.4491383433, 0.4826403856, -0.5724003911, -0.0803276673, -0.5902814865, 0.227998957, -0.3543553948, 0.9928090572, 0.0113567542, 0.1602717042, 0.1563820094, -0.3599471152, -0.1110650375, -0.7136633396, -0.0635554343, -0.5130192041, 0.1597889662, 0.4515920579, 0.7946670651, 0.0560003631, 0.2738948464, 0.2707542181, 0.0194052923, -0.1762949824, -0.622295022, 0.1283072233, -0.3333068788, -0.2652803659, 0.2543212175, 0.3285825849, 0.6582838893, 0.7258970141, 0.1564291865, 0.4222158492, 0.1312443465, 0.8602664471, -0.5632728338, 0.2778513432, -0.7954603434, 0.0406565554, -0.4615327418, 0.0458824299, -0.5667061806, -0.485907793, 0.2096560299, -0.306405127, 0.3115391135, 0.0265103579, 1.0491038561, -0.0951739103, -0.6436830163, -0.3713770509, -0.7344567776, 0.7817605734, -0.5065118074, 0.215103507, 0.4092614651, 0.3242949843, -0.2403218001, -0.3534865975, -0.6365366578, 0.0120097026, 0.0451905355, 0.3860403895, -0.3895270526, -0.1449015886, 0.1247185245, 0.2067593932, -0.4952562749, 0.2893268466, -0.5939742923, -0.1929653585, 0.6252734661, -0.0746784583, 0.4160514772, 0.1310217381, -0.4476676583, 0.1170017421, -0.9606631994, 0.2965459228, 0.8035057187, 0.305036366, -0.3819782138, 0.7992302775, -0.1258999705, 0.175391227, 0.2546623945, -0.0480139144, 0.1069883779, -0.228873238, -0.0109209307, 0.0976331159, 0.9802684188, 0.0376692861, 0.7821492553, -0.3153283298, 0.0304084346, 0.1888977885, -0.0498857461, -0.6516923904, -0.1521460712, 0.0296410304, -0.7073966265, -0.226610288, -0.1545902491, -0.8286752105, -0.6075723767, -0.1178793311, 0.3672175109, -0.2318081707, -0.4418787658, -0.3147683144, -0.2230334878, 0.4559418559, 0.2994032502, -1.2135554552, 0.3401110172, 0.4577745497, 0.844145, -0.15301615, -0.2500578165, -0.3090908527, -0.096018061, -0.5423320532, 0.7957137227, -1.0045853853, -0.8071151376, 0.0815696716, 0.074167572, -0.136031732, -0.6584345698, 0.1904230565, -0.3465250432, 0.5100286603, -0.7431726456, -0.3567121327, -0.1918407381, -0.0253721494, -0.2869067192, 0.7269918919, 0.1395644695, -0.6386996508, 0.3069418669, -0.5612779856, -0.160746038, 0.3492954671, -0.6322992444, -0.0995715261, 0.2004653513, -0.096173428, 0.295653522, -0.3787351549, 0.0879090503, -0.6634547114, -0.3998017013, 0.5405294895, -0.429256767, 1.0015690327, 0.1673291624, -0.6518812776, 0.0540730953, -0.1981141418, 0.1017431468, 0.200331822, -0.206198737, -0.3482072055, 0.0416151658, -0.0003185676, 0.6711045504, -0.0049200179, -0.5515714288, 0.1603377312, -0.1817735434, 0.5181770921, 1.3344373703, 0.0211156681, 0.5753519535, -0.2238346338, 0.693768084, 0.3195189834, -0.2045611441, 0.0828128979, -0.7448060513, -0.64181602, -0.2008205652, -0.0307900086, 0.6868343949, -0.7581429482, 0.3329933584, -0.2983997464, -0.5126951933, -0.3575200737, 0.145754382, 0.2709981501, 0.3977642953, 0.120906502, -0.2604488432, -0.217835471, -1.3389234543, -0.6105601192, -0.7974461317, 0.0626631007, 0.0140152555, 0.7924408317, -0.239496246, 1.0811296701, -0.2708866596, -0.0103199873, -0.259731859, 0.002270055, 0.0644731522, 0.2569317818, 0.2401900887, -0.5485051274, -0.9200085998, 0.2706881762, -0.5534048676, -0.3838965595, -0.1252652109, -0.0125527568, 0.3071742654, 0.4220229685, -0.3357612193, 0.3912762702, 0.8880362511, -0.6540616751, 0.6203721166, 0.0691448599, 0.0250243004, -1.1820483208, -0.0830345154, 0.1353190094, 0.1266262382, -0.5167809725, -0.2499769479, 0.0573270209, -0.0197949316, -0.2341896296, 0.8250614405, -0.6507669687, 0.2519422472, 0.0000949337, 0.1403156519, -0.0997669995, 0.3634367287, -0.0121559529, 0.8360590935, 0.5226321816, -0.4899428785, -0.0281610265, 0.1818124652, -0.3514145613, 0.831543684, -0.4948222339, 0.1842959523, -0.5041510463, 0.2398963273, -1.0901914835, -0.1614083648, 0.4152088165, -0.2852971554, 0.1720156223, -0.4466415644, -0.3503582478, -0.1772767305, -0.0793129429, 0.1716825068, 0.7777263522, -0.5585648417, 0.3547150493, 0.5597510338, -0.2368652821, -0.6383100152, -0.8867439032, 0.1117643341, -0.6618897915, -0.6697530746, 0.0047254539, -0.3302023709, -1.0661127567, -0.1222515851, -0.0158445965, -0.3493896425, -0.126649648, 0.2129181027, -0.1152530313, -0.1665596962, 0.1588994265, 0.0699378476, -0.0598325133, -0.2457924187, -0.0243373942, 0.5063616633, -0.4225841165, -0.3120424151, -0.2710584402, 0.6087208986, 0.5979540944, -0.508523941, 0.9224065542, 0.5171559453, -0.1220301762, -0.0346354023, -0.7336366773, -0.3427630067, -0.4847086072, 0.2638333738, -0.3725415766, -1.0668076277, 0.9888366461, 0.1463758945, 0.1922212988, 0.2226647437, 0.7405930161, 0.0606317818, 0.7839397788, 0.4158474505, -0.19256787, 0.4961571395, 0.087170437, 0.5723612905, -0.6555888653, 0.0614425354, -0.6562296748, -0.3470879793, -1.1701225042, -0.3343119919, 0.4614300728, -0.3064653277, -0.3542718887, -0.2388927788, -0.2327114791, 0.4013359547, 0.3551022112, -0.2883969843, 0.2030878663, -0.1053579748, 0.43563357, -0.3651944399, -0.4776137769, -0.7832953334, 0.8715382218, 0.3441082239, 1.0550256968, 0.5383329988, 0.7398707271, 0.2831085026, 0.3810436726, -0.5311563015, 0.4354688525, -0.0190804955, -0.9585086107, -0.0657081008, -0.3003615737, -1.0025285482, 0.8336591125, 0.026885977, -0.9470883012, 0.432746321, -0.0068455874, -0.0634660423, 0.4357572496, -0.9269388318, 0.7503625751, 0.0938016549, -0.4180686772, 0.0641389415, -0.647393465, 0.6876130104, -0.1147269383, 0.3546621799, -0.4050742984, -0.1182972714, 0.5229942203, -0.3990417719, 1.2409499884, 0.0138526997, -0.1239442676, 0.5049164295, 0.2033048719, 0.5756902695, 0.1044584289, -0.0447184965, 0.4005981684, 0.1097089425, -0.7761783004, -0.1371192485, 0.8420192599, -1.0616105795, -0.4804759622, -0.3866650462, -0.1350582093, 0.0225829184, 0.3280412555, 0.5871374607, 0.2574050128, -0.4631616473, 0.1944584996, 0.6765950918, -0.1895048916, 0.7368064523, 0.5292115808, -0.0758202523, -0.2115178704, 0.7073190212, 0.5515881181, 0.6727674603, 0.0478127263, 0.3108992577, -0.2740805745, 0.10707663, -0.5482419729, 0.1692851037, -0.7511987686, 0.3463599384, -0.768568635, 0.1129584014, -0.424683243, -0.2484152615, -0.5339204073, -0.3037802577, 0.1261438131, 0.2195823044, -0.1260967106, 0.7270019054, 0.1191786602, 0.5100172758, -0.5377007723, 0.0069221403, 0.185572803, 0.1258406639, -0.3678207099, -0.435359776, -0.1422331184, 0.0671663359, -0.3544096351, -1.1896727085, 0.3130963147, 0.0354073457, 0.6149758101, 0.4529623687, 0.2178982943, 0.4828951359, -0.4972578585, 0.9697975516, -0.1868939549, -1.0817315578, 0.0304660294, -0.4288777411, 0.4139012992, 0.486464411, 0.09173242, -0.9120324254, -0.6369663477, -0.7376660705, -0.7585120201, 0.5293123722, 0.1331432313, 0.6059526801, -0.0845492929, -0.0025626065, 0.3736975789, 0.2410898656, -1.1423395872, -0.4593966007, -0.1634229273, 0.0902205929, -0.1346875578, -0.1188326403, -0.0382022746, 0.1025111973, 0.8609642982, -0.4931783676, 0.1314637363, 0.0911348015, 0.1851644069, -0.3429643214, 0.4371112287, 0.5997104645, 0.8085175157, 0.3312425613, 0.0894666016, 0.0004070672, -0.4567889273, 0.3126674294, -0.3756285906, -0.2436048239, 0.1467098147, 0.3172945678, 0.6483893394, -0.3233231008, -0.4912602901, 0.5198445916, -0.2054170072, 0.0899104699, -0.6849981546, -0.2683486938, -0.0447045453, 0.1444101185, 0.165963605, 0.1237750277, -0.1887119859, -0.6147449017, -0.3437749147, 0.7181912661, -0.6735287309, -0.7873857617, 0.520976603, 0.0642288253, 0.055190146, 0.6744773984, -0.2278871387, -0.3195264339, 0.3178334534, 0.5545622706, 1.1621527672, -0.4710992277, 0.4858986139, 0.2424146682, 0.7409468889, 0.130712986, 0.0530443713, 0.0984584689, -0.9887984991, -0.2450892925, -0.2130108327, -0.3851844966, 0.0464621261, -0.4715989232, 0.2439180762, -0.4000815451, -0.0869262218, -0.3258269131, -0.0627847239, -0.4558953047, -0.1510181725, -0.0325402692, 0.4803399742, -1.2398656607, 0.7704387903, 0.4907264113, -0.3593619764, -0.4419780672, 0.4532117546, 0.4814953804, -0.6358655095, 0.4844093323, 0.0646862388, 0.187925145, -0.1373232603, -0.5341108441, -0.9426600933, 0.6008056402, 0.4143015742, -0.2142020166, 0.2586337924, 0.0832944512, 0.484895885, -0.1715493649, 0.1874343306, 0.182110846, 0.5285596251, -0.1672496349, -0.9931072593, -0.149624899, -0.2416709214, -0.1939620525, 0.2689278126, -1.366125226, 0.9863654375, -0.056936387, -0.2519734204, -0.2140923589, 0.4947723448, 0.0575125031, -0.035493046, 0.2713787258, 0.0674773753, 0.7651554346, -0.1516216993, 0.8973395824, -0.2255702466, 0.0051779016, 0.9498365521, -0.4380455017, 0.3574991822, 0.7275868654, -0.040910434, 0.4773974419, 0.6674383283, 0.3600875735, 0.3830992877, 0.1118321419, -0.6361585855, -0.2661642134, -0.0349079631, -0.5026556849, 0.7910815477, 0.3079533279, -0.3861070275, -0.2060735077, -0.3425692916, 0.4631149471, 0.2674576044, 0.0130011886, 0.5682439804, 0.094397001, -0.6044749022, 0.3714535236, 0.0275322385, 0.5015363097, -0.7756931782, 0.3215253651, -0.2332455367, 0.1813451201, -0.2026649117, -0.5890163183, 0.0980468467, -0.1072222888, -0.1507818252, -0.4004812837, 0.2421817929, -0.3676144183, -0.4346256852, 0.0038861351, 0.8255060911, 0.1526075751, -0.0342546478, -0.5709504485, 0.032047946, 0.2599604428, -0.2977787256, 0.4067294598, 0.4783986211, -0.6467009187, 0.8023725152, 0.4545054436, -0.1687476337, 0.1833209246, -0.1271028966, 0.6933330297, -0.5028706193, -0.4252552986, -1.2864795923, 0.5332346559, 0.090966098, -0.5304338336, 0.9552641511, 0.6945428848, 0.9673441052, -0.1090385616, 1.1238861084, -0.1489951313, 0.4052379727, -0.2392305732, 0.8191922903, -0.1769391, 0.1004368588, -0.5750770569, -0.8607514501, 0.0749189556, 0.3883782923, -0.4774087369, 0.3218793571, 0.500736475, 0.762567997, 0.0673012733, 0.1192553341, 0.4158116579, 0.3617079556, 0.8031096458, 0.1154127046, 1.0502448082, -0.0502068624, 0.1007809713, -0.2937377691, -0.2736465633, 0.1329645962, -0.547452569, -1.0030688047, -0.781439364, -0.5237491131, -0.5624895692, -0.3399986327, 1.0614218712, 0.5544838905, -0.6777841449, -0.447031498, 0.3781609833, 0.2957933545, 0.0684735104, -0.2580160797, -0.0021495847, -0.3228507936, -0.9447494149, 0.1954833418, 0.3480504453, 0.1264628321, -0.5872907043, -0.0209974628, -0.0727275759, 0.2691771388, 0.6043469906, 0.4242540598, -0.8112021685, -0.4650703371, -0.0532095879, -0.0456964634, 0.0936106667, 0.6281476021, -0.5855144858, 0.6340193748, 0.5143469572, 0.1383792162, 0.0420663431, 0.1165238768, 0.5772994161, -0.4720050991, 0.3926669061, 0.1364858001, 0.3635049462, 0.4076032341, -0.2440161556, 0.4897069633, 0.4278526902, -0.7494680285, -0.862570107, 0.4934285283, -0.397756964, -0.0212990828, 1.2340658903, -0.09092246, 0.0142284278, -0.3877001703, -0.2648663521, -0.0546516888, -0.3374156654, 0.8986580968, 0.862623632, -0.2690140009, 0.1014208794, -0.7125092745, 0.3550194502, 0.3809628785, -0.655223608, 0.1035671085, 0.4401891828, 0.37269333, 0.0937430412, 0.7498052716, -0.2677351832, -0.1335159242, -0.0979951322, 0.0006842776, 0.6851220131, 0.243554607, -0.2859601378, 0.0099196807, 0.2091720998, -0.0959635898 ]
http://arxiv.org/abs/2402.10430v1
http://arxiv.org/pdf/2402.10430v1
Smaller Language Models are capable of selecting Instruction-Tuning Training Data for Larger Language Models
2024-02-16T03:39:37
2024-02-16T03:39:37
Dheeraj Mekala, Alex Nguyen, Jingbo Shang
cs.CL
cs.CL
Instruction-tuning language models has become a crucial step in aligning them for general use. Typically, this process involves extensive training on large datasets, incurring high training costs. In this paper, we introduce a novel training data selection based on the learning percentage of the samples. We assert that current language models possess the capability to autonomously select high-quality training data, leading to comparable or improved performance compared to training on the entire dataset. Our experiments span different-sized models, revealing that this characteristic holds for models ranging from 1B (small) to 13B (large) in size. Moreover, we demonstrate an interesting finding that the data hardness transfers across model sizes, and a smaller 350M model can effectively curate high-quality training data with hard samples for a larger 13B model, resulting in an equally or superior instruction-tuned model compared to training on the complete dataset. Utilizing open-sourced OPT and Llama-2 models up to 13B in size, two publicly available instruction-tuning training datasets and evaluated by both automatic metrics & humans, our paper introduces a novel approach to training data selection, showcasing a more efficient alternative.
[ -0.2843230069, -0.5312496424, 0.4035120308, -0.1188803166, -0.0854863003, -0.0509774014, -0.6357467175, -0.2231160253, -0.0495173968, 0.3973136246, -0.5367912054, -0.3912690282, -0.4384315014, -0.0976569206, -0.3458677232, 0.821066916, 0.2093326002, 0.3188462257, -0.2365911454, -0.0440723114, -0.4548168778, -0.1935810745, -0.7730033398, -0.3016079962, 0.4192788303, 0.7840090394, 0.5196815729, 1.3034610748, 0.5771694779, 0.2273999602, 0.2118783295, 0.2733175159, -0.5356764793, -0.1294121593, 0.0007287303, -0.8312816024, -0.4847384095, 0.094851017, 0.5990588665, 0.8400011063, -0.189305827, 0.4763072431, -0.1208645105, 1.004842639, -0.6452534795, 0.0969889909, -0.8781576753, 0.0254211053, -0.1252569407, 0.1395279467, -0.6436421871, -0.3933647573, -0.2051244229, -0.5225657821, 0.4318677783, 0.1957328916, 0.5858734846, 0.4561825395, -0.1990185082, -0.1779689193, -0.5077940822, 0.9196782112, -0.5327659249, 0.4733659923, 0.6537188888, 0.3470717072, 0.317067951, -0.320472002, -0.2051440328, -0.3006403148, 0.1161127687, -0.2340120673, 0.0655295551, -0.0582892857, 0.2214451283, 0.4541826546, -0.6062854528, 0.6065256, -0.3946308792, -0.0829711035, 0.6673238277, 0.1148546562, 0.1161062196, 0.2111988962, 0.0263666436, -0.3931181431, -1.0088391304, -0.0697768256, 0.5572668314, 0.66338557, -0.1663760394, 0.5096080303, -0.4175347984, 1.0111432076, 0.1240547448, -0.2658469975, 0.1182968318, -0.1893167496, -0.1992773861, 0.0408675261, 0.69157058, 0.0577068403, 0.3652692735, -0.1165098995, -0.2846488655, -0.1720147282, 0.1830459684, -0.8947588801, -0.6627595425, -0.1794870645, -0.2956204414, -0.2298843414, -0.048065193, -0.64196527, -0.2200931013, -0.6039306521, 0.2161415666, -0.3129501343, -0.0072271321, 0.1038594097, 0.1927324533, 0.0610157587, 0.1446028501, -1.3642046452, 0.1399185508, 0.7239949703, 0.7396131754, -0.2690625191, -0.0985076427, -0.6037266254, -0.1312229782, -0.7712026834, 0.6210817099, -0.8575125933, -0.2026343197, -0.2497318685, -0.019765459, -0.2275521457, -0.637203455, 0.1871698052, -0.4935205877, -0.0014154902, -0.0783341378, -0.4826702476, 0.0762538388, -0.1223157421, -0.8842662573, 1.042277813, 0.3671888709, -0.4551455379, 0.5860913992, -0.1626788676, -0.4683254957, -0.1597995013, -0.1572656333, -0.6791757345, 0.2741293013, 0.3498700857, 0.3560502827, -0.4543082416, -0.1714217365, -0.3804553151, -0.4731325209, 0.0819655061, -0.4908940494, 0.5569329858, 0.2059245706, -0.1577956527, -0.121346727, -0.8154281378, 0.2673538327, 0.0085785771, -0.6575602889, -0.3253896534, -0.1361711323, -0.5053517222, 0.0139885321, 0.4318601787, -0.4773952067, 0.4021112323, -0.441773504, 0.2645744085, 0.7573207021, -0.2763204575, 0.7919251919, -0.3312737942, 0.6128177047, -0.3172856271, 0.2112267315, 0.1346779019, -0.1849368662, -1.0910117626, -0.3397084773, 0.7369341254, 0.4250253737, -0.625462532, 0.5051612854, -0.5823816061, -0.5454812646, -1.0864169598, 0.637932837, 0.4244651496, 0.3241229355, 0.2776162326, -0.1163799241, -0.3340979517, -0.9166257381, 0.1516489834, -0.0890424177, -0.1385252476, 0.4673846066, 0.1763355583, 0.2961386144, 0.8708671927, -0.5480058193, -0.1792034954, -0.3538301289, -0.0882289186, 0.1810520142, 0.4682120383, 0.5544044375, -0.4586767852, -0.7417601347, 0.2684900761, -0.3031670153, 0.0296670273, 0.0781834647, -0.2883591354, 0.1597029269, 0.5623788834, -0.2673795819, 0.101555489, 0.6141190529, 0.033562649, 0.1693540215, -0.3328927457, -0.0199278295, -0.8272363544, -0.1005922332, -0.0070075016, -0.2492543906, -0.1789129823, -0.1362610906, 0.4969180524, 0.1104974598, -0.3005434573, 0.3831956387, -0.5298255086, 0.038581267, -0.2799283862, -0.2714207172, -0.1755886972, 0.5638104677, 0.0740924999, 1.0330713987, 0.552749157, -0.5209080577, 0.360270828, 0.2569729686, -0.8292021751, 0.305649519, -0.4462149143, 0.4805748463, 0.0911544263, -0.0464213677, -0.5811518431, -0.3549037278, -0.2358743548, -0.290487498, 0.4262600839, -0.6184829473, -0.4394202232, -0.2213945538, -0.2240224779, 0.206891343, 0.6909072995, -0.6545695662, 0.1301535517, 0.3842336833, -0.3348450661, -0.5084347129, -0.543477118, -0.2751069367, -0.2786351144, -0.2545404732, 0.0515398048, -0.0803665742, -0.0131874112, -0.1939597279, -0.1082687899, -0.1217229515, 0.1189164966, 0.0766132325, 0.440554589, -0.5539150834, 0.2486018687, 0.3024519384, -0.0749286264, -0.222614333, -0.3108833432, 0.442363292, 0.1015290469, -0.4201017916, -0.2584205866, 0.0112804677, 0.1740790904, -0.3596045971, 0.869807601, 0.333960712, -0.0256158486, -0.7637458444, -0.4332948625, -0.4021096826, -0.5101453662, 0.6018658876, -0.2051890939, -0.7348599434, -0.1640806198, 0.1637955904, 0.0476131663, 0.0969957635, 0.5100291967, 0.0662066266, 1.3576306105, 0.8491796255, -0.5035326481, 0.7329738736, -0.2074302882, 0.0719656795, -0.625036478, -0.016406998, -0.7958935499, -0.3322454095, -0.5114055276, -0.3650054932, 0.3137845397, -0.1064653248, -0.3972479701, 0.2681856453, -0.5410505533, 0.8833765984, 0.6388597488, 0.2158473432, 0.1807032526, 0.3411542177, 0.2440429479, 0.0187566075, -0.685043335, -0.4321470559, 1.4349082708, 0.1790271997, 0.9677294493, 0.0410090983, 0.4070712328, 0.1509861946, 0.2902580798, -0.819011569, 0.4474383593, -0.7326976061, -0.5870556235, -0.4620274007, -0.7268535495, -0.9809979796, 0.0300379656, -0.1053475365, -0.5832172632, 0.0502127931, 0.2666933537, -0.3648892939, 0.2727994323, -0.9396813512, 0.652362287, -0.2948838174, -0.0498734489, -0.25271523, -0.3922680318, 0.1418689638, -0.2818933725, 0.1213397011, -0.3702945709, -0.0231985766, 0.7102643847, -0.2243715227, 0.7072131634, -0.1903999597, -0.1467197835, 0.0884013772, 0.2300257087, 0.3723494709, -0.0981418118, -0.2665692568, -0.0400503576, -0.2603791952, -0.423048377, -0.6270492673, 0.6556767225, -0.8659015298, -0.4325901866, 0.1801715642, -0.5125954151, -0.5502363443, -0.0312902033, 0.2694944441, 0.397451371, 0.1684430838, 0.6917285919, 0.7373812199, -0.0533192717, 0.2418351024, 0.6226438284, 0.1254501343, -0.1969401985, 1.4314807653, 0.1232581213, 0.5175884366, 0.4972952008, 0.1150799617, -0.1704036891, -0.7112621665, -0.5842325091, 0.2140787095, -0.489295274, -0.4345009327, -0.2086772472, -0.2467201054, -0.1975637227, -0.0296481997, -0.6661332846, -0.456148535, -0.2455078661, -0.2387633026, 0.4191014767, 0.4712088108, 0.0050316737, 0.5126762986, -0.4416455925, 0.1685650349, 0.5398588181, 0.4063746929, -0.0429866016, -0.8240841031, -0.5098697543, 0.2830123007, -0.0122175915, -0.3347720206, 0.3704438508, 0.614251256, 0.3604409695, 0.2731358111, -0.0559004322, 0.4047469795, -0.5264188647, 0.4301765859, -0.0113852853, -0.5828187466, 0.6684804559, -0.1523487121, 0.0725013316, 0.9222616553, 0.3667319417, -0.112738423, -0.1206348464, -0.3047611713, -0.7259069085, 1.024273634, -0.1774824262, 0.2668026984, 0.25649786, 0.2915784121, 0.3743541539, 0.1540007591, -0.4862029552, -0.1130415425, 0.146603331, -0.6553308964, -0.1333648711, 0.1171608865, -0.1211951301, -0.36758551, 0.8416386843, -0.4123847187, 0.0841374248, -0.5633257627, -0.2470133305, -0.1190975234, 0.1717952341, -0.0493967161, 0.6199207306, -0.1254255474, -0.048811987, 0.185353741, -0.5994663239, 0.2780230641, -0.05911934, -0.301852107, -0.3216303587, 0.2497116029, 1.0970184803, 0.2176419199, -0.6471446753, 0.56017977, -0.0735718608, -0.0853011161, 0.046910245, 0.8187078238, -0.101279147, 0.0652608052, 0.120661214, -0.2462314963, -0.2610419691, -0.3138895333, 0.0274801869, 0.3696426153, -0.4574899077, -0.2374894917, 0.4374744594, 0.057539966, -0.3130634129, 1.0181233883, -0.1450964361, 0.0541206673, 0.7711951137, 0.3680829108, 0.3583546579, -0.1408497244, 0.4453785717, 0.4406361282, 0.2487513274, -0.3258456886, 0.0164648946, -0.0457209684, -0.7098774314, -0.6293990016, -0.8574483991, -0.3734120727, 0.3075165451, -0.9975114465, 0.3156760335, -0.4192323089, -0.0095201964, -0.0458220504, 0.1750544459, -0.7323611379, 0.3489855528, 0.3065304756, 0.9043357968, -0.8968027234, 1.2139925957, 0.5017847419, -0.1215593442, -0.9966183305, -0.1231083572, -0.1835860312, -1.0415364504, 0.4168632627, 0.0136845391, 0.1283615679, 0.1905356944, -0.7502983809, -0.9067322016, 0.8768006563, 0.8826951981, -0.7599936724, -0.0774111003, 0.1218732223, 0.4638835788, -0.4050904214, 0.0342030376, 1.0600389242, 0.0992964506, 0.0317936912, -0.7931838036, -0.2251566499, -0.1205144227, -0.1004606262, 0.2384006381, -0.7966523767, 0.8332151175, -0.1618407071, 0.0673928186, 0.1563930809, 0.6729550958, 0.2671909034, -0.0673851892, 0.5546220541, 0.4156804085, 0.7938400507, -0.1091850698, 0.9426184297, -0.2692344487, 0.2822817862, 1.1567971706, -0.0647706911, 1.0142111778, 0.108532846, -0.4281719029, 0.3974973559, 0.6907600164, -0.116329059, 0.6847118735, 0.0211484451, -0.049473539, -0.5775324702, 0.0562013201, -0.2178736627, 0.626321137, 0.3023792207, -0.1584882587, 0.1177793592, -0.1617085338, -0.0804656744, -0.0283760633, -0.3410868347, 0.8873922825, -0.0078063235, -0.7244216204, 0.6632763147, 0.0487123281, 0.5277056694, -0.6808636189, 0.1187904999, -0.4191475511, 0.0680412203, 0.0181336515, -0.4830404818, -0.1379119009, 0.1949584931, -0.1083848104, -0.1590974778, 0.3150798678, -0.542273283, -0.6282184124, -0.1303753108, 0.3655147254, 0.0879315361, -0.0204392076, -0.4856437445, -0.0926681682, 0.1919433922, -0.2404322773, 0.6670835018, 0.3626308143, 0.0062514762, 0.6967235804, 0.593762815, 0.5651051402, 0.1099176556, 0.0240495838, 0.6282026172, -0.3887604177, -0.5783460736, -0.5848551989, 0.230664596, -0.2093367577, -0.3445885181, 0.4356553555, 0.6218479276, 1.0025166273, -0.0655336231, 0.8254150748, 0.0131097063, 0.7028467059, -0.7490996718, 0.5880978107, -0.4729648829, 0.2064122856, 0.3146980405, -0.8670266867, 0.1974697709, 0.7702032328, -0.588185966, 0.1132800356, 0.3724900484, 0.9584064484, -0.3163278699, 0.0000149446, 0.2408752143, -0.0205528457, 0.0857933611, 0.6906984448, 0.5626635551, -0.0274693072, 0.5404663086, -0.4889245033, -0.2381704152, -0.2698955238, -0.5609737635, -0.976002574, -0.5195478797, -0.2477447391, 0.1129906103, -0.1005108878, 0.9156298041, 1.1108540297, -0.8549574018, -0.1331807971, 0.1420559734, 0.0309013147, -0.1743603051, -0.1308567673, 0.4976496994, -0.3778580129, -0.8605188131, 0.6415764093, -0.0451126546, 0.0724991858, -0.1579090804, 0.0066972603, 0.2033237517, 0.0858640969, 0.2341305614, 0.3004473448, -0.2009635419, -0.2494808733, -0.1157315522, -0.3007709086, 0.163663581, 0.7952010632, -0.6223059893, 0.2344546467, 0.1312892586, 0.9430071712, 0.5783628225, -0.071420081, 0.4920699894, -1.1883307695, 0.3127559423, 0.0968585685, 0.125864014, 0.5387866497, -0.3518413603, 0.6216823459, -0.1604588628, -0.4496622086, -0.9345021248, 0.1014941409, -0.5776903629, -0.2598893642, 1.168763876, 0.0207075644, -0.2318432629, 0.3492615819, -0.0845757872, 0.0790972188, -0.3067017794, 0.9127066135, 0.5786126852, -0.0044391379, -0.0377104655, -0.7777907252, 0.5616331697, 0.4461161792, -0.8271327615, 0.175393194, 0.4483393133, 0.3307497203, -0.3365548253, 0.2388730794, 0.1917173862, 0.1934887916, -0.011307084, -0.2149505019, -0.1653517783, -0.5955764055, -0.2350451648, 0.0860825181, 0.2728909254, -0.2355748862 ]
http://arxiv.org/abs/2402.10427v1
http://arxiv.org/pdf/2402.10427v1
Evaluating and Improving Continual Learning in Spoken Language Understanding
2024-02-16T03:30:27
2024-02-16T03:30:27
Muqiao Yang, Xiang Li, Umberto Cappellazzo, Shinji Watanabe, Bhiksha Raj
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Continual learning has emerged as an increasingly important challenge across various tasks, including Spoken Language Understanding (SLU). In SLU, its objective is to effectively handle the emergence of new concepts and evolving environments. The evaluation of continual learning algorithms typically involves assessing the model's stability, plasticity, and generalizability as fundamental aspects of standards. However, existing continual learning metrics primarily focus on only one or two of the properties. They neglect the overall performance across all tasks, and do not adequately disentangle the plasticity versus stability/generalizability trade-offs within the model. In this work, we propose an evaluation methodology that provides a unified evaluation on stability, plasticity, and generalizability in continual learning. By employing the proposed metric, we demonstrate how introducing various knowledge distillations can improve different aspects of these three properties of the SLU model. We further show that our proposed metric is more sensitive in capturing the impact of task ordering in continual learning, making it better suited for practical use-case scenarios.
[ -0.0545577444, -0.7832137346, 0.5997250676, 0.2839290798, -0.330514133, 0.2401842177, -0.5894715786, -0.3283669353, -0.1465302855, 0.1614067107, -0.3258317709, -0.3417151272, -0.6496303678, -0.1362721771, -0.1681180745, 1.0785990953, 0.1860852838, 0.0925995857, -0.4460784793, -0.4439805448, -0.9283673763, -0.321218431, -0.8270737529, -0.7730339766, 0.501855731, 0.3219340742, 0.5192766786, 0.2497960478, 0.2164029032, 0.388065666, -0.3107830882, -0.0808063895, -0.5883299112, 0.1905429363, -0.2062776834, -0.3524495363, -0.2603770196, 0.0497093089, 0.877610445, 1.1210831404, -0.4924868047, 0.209571749, 0.6622191668, 0.6759813428, -0.4097846746, 0.2675846219, -0.8128496408, -0.1896003038, 0.122882098, 0.0458348989, -0.3215205073, -0.3223294318, 0.5936409235, -0.4919400513, 0.0174448937, -0.3792393208, 0.8975687623, 0.4072854221, 0.1008700728, -0.3993481398, -0.9678165913, 0.8311966658, -0.6303986907, 0.5652270317, 0.1705380082, 0.3273929954, 0.1317455471, -0.7092568278, -0.4915373921, -0.599326551, 0.11407502, 0.3645835519, -0.1992136091, 0.127339676, -0.2630195916, 0.3551507294, -0.5929455161, 0.157682389, -0.3427675068, -0.1864213496, 0.3720646799, -0.0266147833, 0.3784956336, 0.2944531739, -0.262098521, 0.1598271728, -0.2880408764, 0.0046180794, 0.0025935799, 0.1414019912, -0.0991035402, -0.0111282961, 0.0624255016, 0.6152039766, 0.0776079968, -0.4172954559, 0.3917515874, -0.3029391468, -0.1353081316, -0.2628256083, 0.3389729261, 0.2002492696, 0.2101420611, -0.7717459798, -0.2121282369, 0.0395719446, 0.5584515333, -0.1793180108, -0.0845505074, 0.2386856824, -0.3368067741, -0.0846742243, 0.1687694937, -0.3898753226, 0.0148819899, -0.7543783784, 0.3504700363, -0.5202490091, -0.5249137282, 0.11365024, -0.2295711786, 0.0464887992, 0.2802329361, -0.9420161247, 0.5021598935, 0.9112639427, 1.0225987434, -0.4989245534, -0.5119066238, -0.4757295549, 0.1481384337, -0.1555618197, 0.5441949964, -0.521037221, -0.3425143361, -0.1487063915, -0.1862946004, -0.3771630824, -0.7754555345, 0.2704826593, -0.2055826485, 0.1245372221, 0.0609156229, -0.4606127143, -0.3506307602, 0.1987976432, -0.3537578881, 0.9594413638, 0.1670375913, -0.303350091, 0.7106758952, -0.6038287878, -0.1350663304, 0.4110525548, -0.0359262638, -0.4429273903, 0.3735115528, -0.312572211, 0.3472284377, 0.1961577535, 0.6382032037, -0.1862828881, -0.3803172112, 0.1736578643, -0.5196807981, 0.4154428542, 0.0710276067, -0.472769767, 0.0718935058, -0.6877908707, -0.0291760769, -0.0622597449, -0.5156684518, -0.4205261469, 0.2327595949, -0.1893149018, -0.1543003619, 0.2741179168, -0.4212622046, 0.0844371393, -0.5695341825, 0.4906018972, 0.7805508375, 0.1668569744, 0.4560240209, -0.2906195819, 0.3193854392, 0.0459014066, 0.352385968, 0.3905299902, -0.2854542434, -0.9811694622, 0.1254108995, 0.1171175912, 0.5570701361, -0.6142151356, 0.2208332717, -0.4591003656, -0.499756813, -0.2396775782, 0.6586791277, 0.7242449522, 0.309376508, 0.3685556948, -0.6701593995, -0.2059246302, -0.3069805503, -0.0069717001, -0.3931850195, -0.0755098984, 0.263804704, 0.3914158344, -0.4506442249, 0.8172911406, -0.1909982711, -0.013647127, -0.4438223243, 0.4346247315, 0.3048300147, 0.4792155921, 0.5729789734, -0.5444602966, -0.3126971126, 0.3622579575, -0.7316566706, 0.0693014786, -0.3594580591, 0.1160186306, 0.168440491, 0.1610984653, -0.3461363018, 0.1719134897, 0.5059040189, -0.1087907329, 0.8971149325, -0.3823545873, -0.0649746507, -0.4882537425, 0.0313996002, 0.0640761033, -0.1678721607, -0.9682877064, 0.032322865, -0.1557864845, 0.0010915485, -0.4033897221, 0.3844636977, -0.3765794337, 0.0507826395, -0.0837365314, 0.5493611693, -0.131824702, 0.3835244179, -0.0004398165, 0.6535893083, 0.48501724, -1.0100533962, 0.279581368, -0.1850402951, -0.3090436757, 0.6157041788, -0.8450763226, 0.4964280725, -0.189293161, -0.1046310887, -0.7791830301, 0.1890784949, 0.1536722034, -0.5925864577, 0.6228139997, -0.2019573748, -0.0742488876, -0.3361356854, 0.224854514, 0.0459919013, 0.3415763378, -0.3473949432, 0.5966009498, 0.4169177711, -0.267247349, -0.5962150693, -0.3776627481, 0.0372543, -0.3815067708, -0.4075304866, 0.2668381333, -0.3427829742, -0.5801430345, -0.1464230269, -0.5336708426, -0.2280537486, 0.2821678817, 0.2085123062, 0.2365373075, -0.0830129385, 0.4161891043, -0.0528551675, -0.3456909657, 0.0270108134, -0.6289197803, 0.5700420737, -0.4333791733, -0.025246812, -0.5714359879, -0.0562531129, 0.5896237493, -0.0059450534, 0.6664000154, 0.5363496542, -0.1088924184, -0.1758089364, -0.8157598972, 0.1211138219, -0.5068627, 0.3130820692, -0.3132941425, -0.8864722848, 0.3745716512, -0.1004756391, 0.3607827425, 0.3343279958, 0.4472742975, -0.499536097, 0.5315976143, 0.7786594033, -0.4231517017, 0.3472738266, -0.2396257371, -0.0973813161, -0.5469509363, -0.4153203368, -0.4964464605, -0.0543349683, -0.0552085415, -0.1457998306, 0.2675482929, 0.2446830571, 0.0490566157, 0.3352710009, -0.5114478469, 0.3317232132, 0.0997863039, 0.1761650741, 0.2264456153, -0.0955849215, -0.1917160451, 0.059956409, -0.5695391893, -0.5268782377, 0.7353637218, 0.5311558843, 0.4715130925, 0.2162224799, 0.7758756876, 0.41488868, 0.2064077407, -0.7260359526, 0.4251360595, -0.2115342617, 0.0016298478, -0.5586075187, -0.6704351306, -1.1538670063, 0.2557043731, 0.171152249, -0.9308773279, -0.0339969285, 0.3574413359, -0.1514220089, 0.0408965871, -0.8524233699, 0.7374039888, -0.4987381399, -0.0967817679, -0.6547663808, -0.3368896842, 0.0363590606, 0.0203563422, 0.2036067247, -0.0988516137, -0.0024697031, 0.7708662152, -0.2177122533, 0.9518398046, -0.4596673548, -0.0203417204, 0.2205486745, -0.2155843675, -0.010635199, 0.1113739163, 0.0274328478, 0.292340368, 0.1278997511, -0.4601110518, -0.8343880177, 0.510637641, -0.7238988876, -0.5358344913, -0.2646076381, -0.3911483884, -0.3258122206, 0.0107306205, -0.0445253439, 0.4643151462, -0.4501351416, 0.0392267257, 0.8331525922, -0.1577876508, 0.3845055103, 0.6506382227, -0.0177908242, -0.1775751412, 1.2225028276, 0.2372095436, 0.6308990717, 0.1740647554, 0.4231325984, -0.3313313127, -0.9097855091, -0.1675433815, 0.3080132008, -0.6376395226, 0.1435316205, -0.2449636608, -0.196961537, -0.3355065882, -0.0317087173, -0.1237652451, -0.1552126408, -0.4873993397, -0.1517287046, 0.1403341442, 0.9741942286, -0.2177323848, 0.2345825136, -0.7023314238, 0.1322293729, 0.5621708632, 0.4477086067, 0.1495594382, -0.7952356339, -0.3033277392, 0.08011318, -0.3628224432, -0.7003151774, 0.1359256506, 0.8051764965, 1.0854238272, 0.5946674347, -0.3425302505, 0.8396184444, -0.45661062, 0.819950819, 0.4415060878, -1.2031379938, 0.8071898222, -0.117334567, 0.49992764, 0.8535237908, 0.3880895078, -0.7525847554, -0.6294150949, -0.5795984268, -0.7151867151, 0.1864422113, 0.1021104679, 0.3660127223, 0.0344050154, 0.5977044702, 0.255051285, 0.0009357508, -0.7643947005, -0.2962367535, -0.2167752236, 0.0644540265, -0.1170906574, -0.3300996125, 0.0693239942, -0.499701947, 0.7646235228, 0.0930976942, 0.0114528863, -0.2247500122, -0.5870283842, 0.4317604899, 0.4533695877, 0.4455026388, 1.1246958971, -0.2309422493, -0.153666541, 0.4518281519, -0.8900346756, 0.0730642751, -0.2491874844, -0.1373935491, 0.1863926351, 0.1962943673, 0.7243697643, 0.4988778532, -0.5642006993, 0.0821720064, -0.0334985368, -0.1743114889, -0.3835072815, 0.3386821449, -0.0659234598, -0.0317499489, 0.3209586143, -0.0920040905, -0.0605862439, -0.7302153111, 0.48838377, 0.1528220177, -0.7412053943, -0.2520977855, 0.1027393118, 0.2890363932, -0.23489438, 0.8248243928, -0.3335643709, -0.4893011153, 0.3767122328, 0.4954612255, 0.7915014625, -0.4096755981, 0.4030313492, 0.466709435, 0.3633425534, 0.0426697619, 0.050996799, -0.4629089236, -0.7760160565, -0.3364888132, -0.7421070337, -0.5476945043, 0.1449924707, -0.9600841999, -0.2147178948, -0.4223253131, -0.3081540763, -0.0021049178, 0.0512960181, -0.6032489538, 0.2777656913, -0.0032875042, 0.4768331647, -0.801035583, 0.9066894054, 0.5089923143, -0.5242258906, -0.5350760221, -0.0662755743, 0.1509018987, -0.6953171492, 0.491427809, 0.2237817347, -0.3302577436, -0.1892843395, -0.3910014927, -0.7476212978, 1.1125061512, 0.2226157486, -0.8313375115, 0.1712394506, -0.0441264547, 0.5613059402, -0.1645662785, 0.1747921407, 1.1528302431, 0.4124239981, 0.0163165443, -1.0618489981, -0.4957467318, -0.358382225, 0.0741044357, -0.0487790219, -0.3004299402, 0.0941230133, -0.0901080668, -0.7097635865, 0.0166770127, 0.8124595284, 0.0871067494, 0.538449645, 0.7865129709, 0.7177259326, 1.0472289324, -0.5139862895, 0.5367277265, 0.0375759713, 0.5254114866, 1.3263208866, -0.0006935801, 0.827660203, 0.3383268416, -0.4182790816, 0.5960847735, 0.3742472827, -0.0964569077, 0.3668419719, 0.3841461539, -0.3367518187, -0.0793400258, 0.0092906207, -0.2445340753, 0.5003490448, 0.7490392923, 0.0944767967, -0.1109635308, 0.2969837487, 0.0710228831, 0.1922732741, -0.374322474, 1.0888835192, 0.1165211201, -0.6367831826, 0.8939114809, -0.4598479569, 0.7312163711, -0.7211045027, 0.0898465142, -0.2300627232, -0.0484550707, -0.1265111864, -0.7529243231, 0.6115801334, 0.1257782727, -0.2138285339, -0.2101296782, 0.4333254397, -0.4590450525, -0.3073902726, 0.4990514815, 0.1646757275, 0.4577066302, 0.1804752946, -0.9379243255, 0.2048452348, -0.0838790238, 0.2993823886, 0.3048838377, 0.100930348, 0.5200784206, 0.9134300351, 0.429756552, 0.1894056499, -0.0425177477, 0.6288133264, 0.6572210193, -0.2271551043, -0.1513288021, -0.6808053255, 0.6067403555, -0.1841112673, -0.4667657912, 0.6987637281, 0.1716398299, 0.8832374215, 0.1303611696, 0.7544722557, 0.0218050517, 0.213811934, -0.6668149233, 0.8403063416, -0.5219775438, 0.3050635755, -0.3629710674, -0.9118064642, -0.115464963, 0.6306137443, -0.2327274233, -0.1286587715, 0.7064678669, 0.3455724716, 0.219475776, -0.098013632, 0.500243783, 0.2797191739, 0.0694476217, 0.4498083889, 0.6490250826, 0.0230687242, 0.4584189653, -0.2577813864, -0.3753481507, 0.3771398067, -0.6422711611, -0.7310373783, -0.7895730138, -0.5547312498, -0.29537341, 0.47606498, 0.3814350367, 0.7200382352, -0.7610343695, -0.4336581826, -0.2239658833, 0.1855934113, -0.6290924549, -0.2093001902, 0.1299411505, -0.9149793386, -0.6099230647, 0.5725964308, 0.5461961627, -0.1245248094, -0.3068088293, -0.3359004259, 0.0202412661, -0.1221136749, 0.6683205962, 0.5942038894, -0.8920366764, -0.5388949513, -0.3691368997, 0.3978260756, 0.0214096531, 0.5936539173, -0.5769455433, 0.7228432298, 0.1368951052, 0.6890586615, 0.5111973286, -0.1170691252, 0.6119373441, -0.6762331724, 0.0378439315, 0.2902818918, 0.3322009146, 0.1764857322, -0.2064545304, 0.4729590118, 0.242377609, -0.7727535367, -0.548025012, 0.1909872442, -1.0948562622, -0.1596116275, 1.0273705721, -0.4670182168, 0.1800665706, -0.6596096754, 0.2483386695, 0.191370517, -0.1939607114, 0.7985886335, 0.6741461158, 0.0592525713, -0.2606354356, -0.5477907062, 0.1649414152, 0.5142099857, -0.7337570786, -0.0927705392, 0.3292925954, 0.5787017345, 0.242001906, 0.5356762409, -0.0280820411, 0.3746849597, -0.162673533, -0.2836279571, 0.2807358205, -0.5721086264, -0.495203495, -0.2153431326, 0.151506111, -0.1392160654 ]
http://arxiv.org/abs/2402.10426v1
http://arxiv.org/pdf/2402.10426v1
DELL: Generating Reactions and Explanations for LLM-Based Misinformation Detection
2024-02-16T03:24:56
2024-02-16T03:24:56
Herun Wan, Shangbin Feng, Zhaoxuan Tan, Heng Wang, Yulia Tsvetkov, Minnan Luo
cs.CL
cs.CL
Large language models are limited by challenges in factuality and hallucinations to be directly employed off-the-shelf for judging the veracity of news articles, where factual accuracy is paramount. In this work, we propose DELL that identifies three key stages in misinformation detection where LLMs could be incorporated as part of the pipeline: 1) LLMs could \emph{generate news reactions} to represent diverse perspectives and simulate user-news interaction networks; 2) LLMs could \emph{generate explanations} for proxy tasks (e.g., sentiment, stance) to enrich the contexts of news articles and produce experts specializing in various aspects of news understanding; 3) LLMs could \emph{merge task-specific experts} and provide an overall prediction by incorporating the predictions and confidence scores of varying experts. Extensive experiments on seven datasets with three LLMs demonstrate that DELL outperforms state-of-the-art baselines by up to 16.8\% in macro f1-score. Further analysis reveals that the generated reactions and explanations are greatly helpful in misinformation detection, while our proposed LLM-guided expert merging helps produce better-calibrated predictions.
[ -0.5309795141, -0.7666816115, 0.9552254081, 0.1436131597, -0.241680488, -0.1293060631, -0.0436054952, -0.5132334232, 0.0233329143, 0.2860500515, -0.7864126563, -0.7212469578, -0.5534831882, 0.3799349368, -0.8065248132, 0.9845879078, 0.1925269067, 0.0915539041, -0.0300908908, 0.3802837133, -0.2819757164, -0.2260698825, -0.6341041327, -0.0649052262, 0.6578267813, 0.5859171748, 0.6147627234, 0.3266656995, 0.0214239322, 0.2637884021, -0.0710687786, 0.4570645392, -0.3529977798, 0.1280006617, -0.1585989147, -0.7591480017, -0.2129911333, 0.1465655416, 0.4425355196, 0.2659757137, 0.0415398479, -0.0793347806, 0.1595927775, 0.6636478305, -0.5076959133, -0.2130689919, -1.0264725685, 0.1897038519, 0.033764217, -0.1777779311, -0.4506270587, -0.3425855935, -0.1671528071, -0.2604507804, 0.4128516912, 0.1950230151, 0.4363061786, 0.1969276518, -0.4960711002, -0.1456963271, -0.6836843491, 0.5735489726, -0.7509701848, 0.3774407804, -0.1155259088, 0.2995574772, -0.3365801573, -0.2676239908, -0.9163349271, -0.0692109317, -0.0044888142, 0.2397199124, -0.300920248, -0.2120414525, 0.2845113575, 0.107414186, -0.544295907, 0.3038313389, -0.4734363556, -0.4047857225, 0.6361576319, 0.1119984165, -0.0528123453, -0.2269408554, -0.4371211827, 0.2991291583, -0.8711279631, -0.4646460712, 0.5132417083, 0.2471904755, 0.0465566628, 0.6236531734, -0.2085110396, 0.7930194736, 0.3031321168, -0.3256368935, -0.0028784745, -0.2828906178, -0.320222348, 0.416510433, 0.7177336812, 0.4790897369, 0.143943429, -0.1545443088, -0.2837361395, 0.1563887149, 0.3699771762, -0.5489883423, 0.0221842173, 0.3377130926, -0.3227299154, -0.5802919269, 0.1858914346, -0.9252960682, -0.7013805509, -0.4881933928, 0.4890615344, -0.2033130825, -0.3821473122, -0.0864972919, -0.1751966476, -0.1437999308, 0.776616931, -0.3283930719, 0.0341775268, 0.6597385406, 0.7054283023, -0.5873860717, -0.1877732426, -0.7506402135, 0.1348300725, -0.5209982991, 1.0481990576, -0.2891414464, -0.2157604992, 0.269847542, -0.1443491727, -0.1242206767, -0.6288111806, 0.6089834571, -0.3767539561, 0.4666347504, -0.1885556728, -0.724768579, -0.1929311454, 0.435017854, -0.5751098394, 1.0092369318, -0.1459505558, -1.0203967094, 0.4846044183, -0.3257610202, -0.3068614602, -0.1303099692, -0.2260819376, -0.2000095695, 0.4355386794, 0.2913622558, 0.5820011497, -0.0588337369, 0.1138775647, -0.1977391094, -0.4728315473, 0.4609440267, -0.5272725821, 0.2959709167, 0.3854102194, -0.4105857313, 0.0542126931, -0.7310423851, -0.3949168921, -0.3620148897, -0.5610492826, 0.0149425892, 0.1296535879, -0.3021460474, 0.1695518941, 0.1128794029, -0.4667563438, -0.2445324063, -0.0672722757, -0.1894806176, 0.6428486705, 0.0572654568, 0.1482804567, -0.2940080762, 0.2931652069, 0.7357078195, 0.1607841998, -0.2319606245, -0.6504374146, -0.8402036428, 0.0382992029, -0.1662656516, 0.6197199225, -0.7233621478, 0.4845437109, -0.0030267888, -0.4390900433, -0.2532958984, 0.1312283576, 0.1303741485, 0.8255888224, 0.3988267183, 0.3334684074, -0.5637865663, -1.0090292692, -0.9567799568, -0.3132863045, -0.0829436183, -0.0378171317, 0.1891796887, -0.0516311042, 1.0694129467, -0.2753787935, -0.18159163, -0.3350809216, 0.270222187, 0.4992941618, 0.0650206283, 0.19387649, -0.8501355648, -0.3695863187, 0.0529563129, -0.6185621619, -0.1601902097, -0.1198119447, 0.3715056777, 0.694932878, 0.6882274747, -0.7117120028, 0.6683911085, 0.3574302793, -0.1311062574, 0.9222258329, 0.1579038948, 0.4618396163, -1.2450677156, -0.4127733707, 0.3645434976, -0.3952607512, -0.7743837833, -0.487311393, -0.0804429352, 0.0879992843, -0.6713166833, 0.1340184957, -0.2230286747, -0.1915524006, -0.4342967868, 0.4822010696, -0.304761976, 0.1123939604, 0.0261413977, 0.7424832582, 0.3424271643, -0.9697988033, 0.372919023, -0.2761230171, -0.4775921702, 0.6129107475, -0.3998687863, -0.2600801587, -0.187679112, 0.1434363723, -1.2786355019, -0.2732453346, 0.4387405813, -0.6936433911, -0.0703685656, -0.1856789142, -0.923214972, -0.4618211091, -0.2345596254, -0.2260825932, 0.363288641, -0.5529488325, 0.618388772, 0.040181011, 0.0759621933, -0.4599016607, -0.7727436423, 0.1204795912, -0.4472826421, -0.6545601487, 0.1995586902, 0.0300406609, -0.4410242438, 0.1352957785, -0.4398934543, 0.023068741, 0.0724945813, 0.1593757421, 0.3059026003, -0.2193298489, 0.4192374349, 0.1504608542, -0.0673811361, 0.2173818499, -0.3271299005, 0.0732520148, 0.1531196833, -0.5137191415, -0.7202455401, 0.1574171484, 0.7226705551, 0.4215120971, 0.8124400377, 0.904106319, -0.5774267912, -0.1794695705, -1.0278024673, -0.3961315751, -0.3938373327, 0.3188308477, -0.0443092957, -0.8471984863, 0.2437784672, -0.2910699546, -0.0075749233, 0.7192793489, 0.6125079989, -0.0651704296, 1.1772116423, 0.4405607283, -0.3407118917, 0.2343360186, 0.2686097622, 0.4462828338, -0.2816701829, -0.4421461821, -0.6369491816, -0.3652997613, -0.5709365606, -0.4348480999, 0.6799982786, 0.0590686835, 0.047990799, 0.0611898899, -0.3571082056, 0.5419070125, 0.3521082401, -0.0389213115, 0.5358319283, 0.4272929132, -0.1074326411, 0.0009274191, -0.7703565955, -0.4556781054, 0.85827595, 0.3822523057, 0.955096364, -0.0218871105, 0.703001976, 0.5490496755, 0.3515138626, -0.6329970956, 0.5011899471, -0.0682720095, -0.5816489458, -0.0432943217, -0.3560585678, -0.3552831113, 0.3209720552, -0.5619705319, -0.8626903892, -0.0655209944, 0.1606305987, -0.2546385825, 0.4246023893, -0.6609810591, 0.5030243993, 0.033071842, -0.3504593074, -0.6570692062, -0.2471733987, 0.7436187863, -0.1874606162, 0.5407252312, -0.1194770187, -0.154883787, 0.5429044962, -0.2057934105, 0.9926156998, -0.2942929566, -0.2512013316, 0.3075944781, 0.1212386191, 0.6213619113, 0.248455748, -0.1884095669, -0.0716965497, -0.3580569029, 0.2344566435, -0.3471753597, 0.8310489655, -0.514069736, -0.8550277948, -0.3933800757, -0.5642868876, -0.2323701084, -0.093833819, 0.4034900665, -0.0189238247, -0.010109826, -0.0788793787, 0.9635653496, -0.0655044019, 0.3469139934, 0.6940425038, -0.4038819373, -0.2116661072, 0.556512773, -0.0949136838, -0.1972538382, 0.215264082, 0.0537117869, -0.343752563, -0.5910926461, -0.3030679226, 0.0772053823, -0.7358084917, -0.400785774, -0.5075238943, -0.3267523348, -0.1851124167, 0.1515436172, -0.1540343761, -0.3838181496, -0.6539453864, -0.2571900189, 0.3604444563, 0.988209486, -0.184412092, 0.4165498614, -0.9465575218, 0.3038707972, 0.2707772255, -0.0743795559, -0.1522157937, -0.5187590718, -0.49096784, 0.135552898, -0.3826123476, -1.2987359762, 0.2595877349, -0.172871694, 0.6507848501, 0.7147369385, -0.2538406551, 0.6541181207, -0.2686456442, 1.0180698633, 0.3927312493, -0.8325141072, 0.739207387, -0.2013888508, 0.0036148194, 0.2307717055, 0.7256101966, -0.4716598094, -0.6758890748, -0.4057238698, -0.3370909691, 0.8369252086, 0.0491746664, 0.0699028969, -0.2105934322, 0.4742617905, 0.2988530993, 0.2356155664, -0.7901340723, -0.1499545574, 0.1211256981, -0.0849623829, 0.0587919094, -0.4749495089, -0.2364804149, -0.0746063888, 0.8113130331, -0.1396844387, 0.2008214891, 0.3699212968, -0.3516720831, -0.148056671, 0.1683741212, 0.6123487353, 0.843536675, 0.2492010295, 0.3010754883, 0.2614475787, -0.0606060661, -0.1719263494, -0.090100117, 0.0692024007, 0.4395315647, 0.3598088026, 0.4477873743, 0.0127072046, -0.409249723, 0.4795727134, 0.011217528, -0.3265219331, -0.3855565488, 0.3414519727, 0.2879068255, 0.5006493926, 0.7993372679, 0.1355682462, 0.2377482057, -0.4640151262, 0.2724162638, 0.402739197, -0.3717279136, -0.353499949, 0.5019826889, 0.0672006756, -0.0156410411, 0.4294004142, -0.1222404018, -0.6641178131, 0.5226711631, 0.4873835146, 0.7374434471, -0.2421887964, 0.3174259365, 0.342381835, 0.4784273803, -0.0596497133, 0.2531120181, 0.027557265, -0.8600847125, -0.3774394095, -0.4949116707, -0.1919343919, 0.3489950895, -0.2330007851, 0.5931338668, -0.2248954773, -0.1119190305, 0.068127811, -0.2739374936, -0.5640904903, 0.3039579391, 0.514377892, 1.3313088417, -0.9488916993, 0.4861408472, 0.5348923206, -0.1627535522, -0.5118582845, 0.5386847258, 0.4753738046, -0.6812542081, 0.7448937893, 0.3907090425, -0.0236519501, -0.2667028904, -0.6191464663, -0.4499588609, 0.9963284135, 0.34365803, -0.8390343189, 0.2203288078, 0.1280319542, 0.2846704423, -0.7138632536, 0.2010901421, 0.6235990524, 0.700320363, 0.1461948007, -0.6323274374, -0.1060779914, 0.2825379372, -0.1935245544, -0.1713241637, -0.2018419057, 0.8100303411, -0.2249280959, -0.0840109065, -0.1213337407, 0.7437258959, 0.3168567419, 0.5715751648, 0.7459672689, 0.7069813013, 0.6988028884, -0.2065951377, 0.7955717444, -0.4050016105, 0.0617095791, 0.8271975517, -0.0065389844, 0.7379627824, 0.4848303497, -0.1777076125, 0.8460206985, 0.983296454, 0.037536189, 0.2415981591, 0.2006558776, -0.7072725892, -0.4619875848, -0.1163271964, -0.3286804855, 0.1385170966, 0.6660630703, -0.4473534822, -0.3765744269, -0.134455964, 0.2294238359, -0.093678765, -0.6497199535, 0.7515375018, -0.0508398749, -0.8420332074, 0.3242508173, -0.003031746, 0.6483591199, -0.3704477251, 0.0752211213, -0.3435946703, 0.1833177954, -0.6605326533, -0.9599678516, 0.4455812275, 0.2438709885, -0.247031644, 0.1439476311, 1.0776891708, -0.6179885864, -0.4875205159, 0.1532479078, 0.8127852678, 0.3933700621, -0.5311492085, -0.5119611621, 0.3273560405, 0.0961017758, -0.191025272, 0.0924553573, 0.6488984823, 0.072889097, 0.4377427101, 0.5291861296, -0.1086898446, 0.1758942902, 0.1287342459, 0.9822301269, -0.3666934073, -0.2824143469, -0.9393894076, 0.550493896, -0.3293794692, 0.1932161599, 0.7969954014, 0.7088028789, 0.5369756222, -0.2887116373, 1.0850999355, 0.2235200256, 0.5388555527, -0.6771354079, 0.5182725191, -0.7474337816, 0.3137202561, -0.1017079428, -1.2050712109, -0.2805189788, 0.3213881254, -0.0399008244, 0.0795323253, 0.9094333053, 0.8775261045, -0.0678704157, 0.2162509263, 0.3778150678, 0.4927490652, 0.0893747956, 0.2912302911, 0.9377784133, -0.0823789537, 0.6104650497, 0.0858954713, -0.1985738873, -0.5821513534, -1.1054542065, -0.8850580454, -0.3018811941, -0.4342633486, -0.3482005298, 0.1315811276, 0.5551943779, 0.6406911016, -0.8043931723, 0.0237234458, -0.3757477403, 0.6478753686, 0.0212737639, -0.2874689996, -0.1593022197, -0.7041531205, -0.7537893653, 0.71347332, 0.3913632035, 0.0675160363, -0.3529517651, -0.0699867159, -0.0125471102, 0.1511357278, 0.6122857332, -0.0414453484, -0.8852772117, -0.3413721621, -0.1946616024, 0.1216814294, -0.28966856, 0.7625485659, -1.0513920784, 0.1204936057, 0.4661186039, 0.4582971632, 0.4712438285, 0.0063448041, 0.375456214, -0.7322139144, -0.1401403546, -0.0287580732, 0.2725094855, 0.2759969234, -0.6107901931, 0.4235588908, 0.5377340317, -0.3117880523, -0.6098341346, 0.2373628765, -0.7674051523, -0.3281514645, 1.1955481768, 0.0389610641, -0.1842369139, -0.0607828461, -0.0793895721, 0.1982722729, -0.3980102241, 0.9170242548, 0.7969378829, -0.316215992, -0.0755929202, -0.4711453915, 0.625056386, 0.2465586215, -1.002281189, -0.013227433, 0.7482506633, 0.4565928578, 0.2239184529, 0.3020880818, -0.1247004569, 0.5328831673, -0.245639056, -0.2077392191, -0.106545493, -0.5902904272, -0.1248175129, -0.0310261864, -0.1815603524, -0.1399176121 ]
http://arxiv.org/abs/2402.10424v1
http://arxiv.org/pdf/2402.10424v1
Understanding In-Context Learning with a Pelican Soup Framework
2024-02-16T03:20:14
2024-02-16T03:20:14
Ting-Rui Chiang, Dani Yogatama
cs.CL
cs.CL, cs.AI
Many existing theoretical analyses of in-context learning for natural language processing are based on latent variable models that leaves gaps between theory and practice. We aim to close these gaps by proposing a theoretical framework, the Pelican Soup Framework. In this framework, we introduce (1) the notion of a common sense knowledge base, (2) a general formalism for natural language classification tasks, and the notion of (3) meaning association. Under this framework, we can establish a $\mathcal{O}(1/T)$ loss bound for in-context learning, where $T$ is the number of example-label pairs in the demonstration. Compared with previous works, our bound reflects the effect of the choice of verbalizers and the effect of instruction tuning. An additional notion of \textit{atom concepts} makes our framework possible to explain the generalization to tasks unseen in the language model training data. Finally, we propose a toy setup, Calcutec, and a digit addition task that mimics types of distribution shifts a model needs to overcome to perform in-context learning. We also experiment with GPT2-Large on real-world NLP tasks. Our empirical results demonstrate the efficacy of our framework to explain in-context learning.
[ -0.1043299288, -0.9093983173, 0.5729524493, 0.2090357542, -0.0782524943, -0.1880392879, -0.2806200087, -0.2455306947, -0.3323608637, 0.2564457953, -0.1920503229, -0.2921161056, -0.4838239253, 0.0498073883, -0.3476603925, 0.9650260806, -0.1319921911, 0.0039983862, -0.0999924913, 0.0226938911, -0.5592862964, -0.4341665804, -0.623858273, -0.4840581715, 0.3813768327, 0.3783642054, 0.4737291932, 0.791998744, 0.294469744, 0.2044702619, -0.0861615688, -0.1888550818, -0.4548518956, 0.0496626273, -0.3471742272, -0.5070255399, -0.3801372051, 0.2518631518, 0.6904294491, 1.2284792662, -0.042067945, -0.1135332584, 0.3931903243, 0.4468712807, -0.7806350589, 0.28392452, -0.6003890038, 0.1998709887, -0.2657880485, -0.1580380797, -0.4746341407, 0.1222325265, 0.5699794888, -0.666077137, 0.2841156721, -0.1420657784, 0.6486979723, 0.1546695828, -0.7432796955, -0.4033896327, -0.5332024693, 0.8365246654, -0.4442381859, 0.5009515882, 0.5857396722, 0.332939446, -0.1348765194, -0.756593585, -0.6601582766, 0.1063281, 0.0123256603, -0.0889229476, 0.0519527979, 0.0524753742, 0.0269980822, 0.529221952, -0.5345720053, -0.2856194973, -0.1339982897, 0.0461665802, 0.3428929746, 0.0042047272, 0.3486755788, 0.1424218565, -0.4291586876, 0.0101326182, -0.8056231737, 0.1232213378, -0.0719391406, 0.2846065164, -0.3829989433, 0.2252555341, 0.1010010764, 0.9939804673, 0.063520506, -0.0226891432, 0.2640250325, -0.3251575232, -0.5067651272, 0.0660447776, 0.4453117549, 0.2999635041, 0.3248720765, -0.4266994894, 0.0228011739, 0.001490636, 0.0914346203, -0.6056543589, -0.3288503289, -0.2394113541, -0.2515652478, -0.264134258, 0.200178653, -0.2673406303, -0.1913810223, -0.3707307279, 0.3779553175, -0.4686559141, -0.2868900001, 0.1921718568, -0.3413404524, 0.3070769012, 0.2324678153, -1.0966145992, 0.7893016934, 0.779802382, 0.9632005095, 0.0766556785, -0.4680030048, -0.5808346272, 0.4491615593, -0.2925321758, 0.6730768681, -0.7152330279, -0.1313429475, -0.1964488029, 0.0392436385, -0.4407806993, -0.462702632, -0.1695744842, -0.3006515205, 0.4530227184, -0.1482914388, -0.8151404262, -0.4300794303, 0.3930971324, -0.4061616659, 0.7198175788, 0.2984347641, -0.7639995813, 0.389305681, -0.7935198545, -0.4932664335, -0.0002980091, -0.2601636052, 0.1745249778, 0.158975333, -0.2471611947, 0.6089283824, -0.3330560029, 0.308542788, -0.3013068736, -0.5482931137, 0.4364005327, -0.485381186, 0.7202570438, 0.052339159, -0.4317771792, -0.1537919343, -0.4108645022, -0.2445525229, 0.0179606285, -0.6539523602, -0.5463995337, -0.0271933861, 0.0455936082, 0.0108201755, -0.1324492246, -0.3194938302, 0.1857059896, -0.932421267, 0.7342717648, 0.5179006457, 0.0963150561, 1.1653877497, -0.1358426958, 0.2677990198, -0.1186861545, -0.0228634924, -0.2494776845, -0.3449107707, -0.4454104602, 0.0985556021, 0.2867557406, 0.4967178404, -0.4934828579, 0.1485366076, -0.0991611108, 0.0335856713, 0.0230625719, 0.1859333068, 0.42352283, 0.9043843746, 0.2970506251, -0.2018345594, -0.3285014927, -0.8899151087, -0.3420493603, 0.0110195875, -0.3466635346, 0.3049525917, 0.4371910095, -0.0869704559, 1.1160172224, -0.2330296636, -0.228614524, -0.288033247, -0.0720101073, 0.2782793641, 0.4739481807, 0.4403876066, -1.2349567413, -0.6415592432, -0.0180396084, -0.7396370769, 0.0196045265, 0.0365534797, 0.1289554536, 0.045931872, 0.3622556329, -0.1512963027, 0.2956312299, 0.3626075387, -0.4815989733, 0.0575823858, -0.0680820867, -0.1734538823, -1.1911542416, -0.1726421267, 0.2595402896, -0.1747333705, -0.9161199331, 0.0080712745, 0.1928829253, -0.0453001633, -0.608071506, 0.6625183225, -0.1685317457, 0.0429972932, -0.1734494418, 0.09496741, 0.2206778377, 0.3251682222, 0.1663918346, 0.8516272902, 0.5660569072, -0.917975843, 0.1191428527, -0.1262635291, -0.0143248392, 0.4484175742, -0.6641774178, 0.1560965925, -0.0690458119, 0.342056632, -0.596986413, -0.3397589922, 0.727162838, -0.2804971933, 0.3058993518, -0.2339909375, -0.2996197939, 0.1192318797, -0.140711844, 0.5285779834, 0.1787652373, -0.4599833488, 0.533225596, 0.531606555, 0.0985766947, -0.3486381769, -0.768004179, -0.0248520058, -0.4962141812, -0.4723228514, 0.7108240128, -0.1261831969, -0.5973774791, -0.0004804698, -0.2105891705, -0.3975370228, 0.4080799222, 0.316414237, -0.2178401649, -0.1872709394, 0.4477704763, 0.0483257025, -0.164166823, 0.0420537665, -0.4035129249, 0.5174379349, -0.5834012628, -0.1021181792, -0.0827907547, 0.2778396904, 0.1985970885, -0.0201761443, 0.6342389584, 0.2444666326, -0.5503541827, -0.2808567882, 0.0268347822, -0.139380306, -0.4159628153, 0.3163273931, -0.471701026, -0.5111976266, 0.3014665544, -0.1319067329, -0.1527390182, 0.1959632188, 0.2986213863, -0.1512135565, 0.8682234287, 0.7565649748, 0.075566344, 0.5273479223, -0.5424876213, 0.1352268159, -0.8811978698, -0.1438868344, -0.179978013, -0.2353775799, -0.0853723288, -0.4325965345, 0.2071616054, 0.4589186609, -0.4101723135, 0.2998227179, -0.2384986132, 0.8694774508, 0.5545480251, 0.0542163029, 0.1302910596, -0.1635987759, -0.1044459715, 0.195946902, -0.886030376, -0.6077718735, 1.0108371973, 0.3522719443, 0.46960482, 0.1395284235, 0.6238234639, 0.2387501895, 0.2671951354, -0.8518589139, 0.2332816571, -0.0007735381, -0.4830024838, -0.3209098876, -0.327966243, -0.8529280424, 0.3116832972, 0.0055499738, -0.7249689698, 0.1138517335, 0.360832423, -0.138595894, 0.1118587554, -0.9100581408, 1.1231279373, -0.2301735729, -0.4187076986, -0.0319207646, -0.6871460676, 0.1982473731, 0.0710594952, 0.3649931848, 0.0723710507, -0.1472231597, 0.6274818182, -0.3344598711, 0.9707052708, -0.1843096316, -0.0127840182, 0.1411593556, 0.1227559894, 0.3307809234, 0.2423534542, -0.1160121337, 0.0288835373, 0.092714183, -0.4730210006, -0.7420832515, 0.4260729253, -0.5587665439, -0.1280115247, -0.5535479784, -0.6510022879, -0.1806119084, 0.0914315954, 0.3750077188, 0.5899757743, -0.1934530139, 0.343228519, 0.7670608163, 0.0576999858, 0.3541697264, 0.5431198478, 0.0180752315, -0.0283560418, 0.9010645747, 0.1644022614, 0.1864524633, 0.7334092259, 0.4945170879, -0.2300300002, -0.4582140744, -0.2916825712, 0.0290939491, -0.7883399725, 0.0372382738, -0.3033531308, 0.1586548388, -0.3722441494, -0.3267701864, 0.0555006526, -0.0290916413, -0.355512768, 0.1351373494, 0.0168136433, 0.8304294944, 0.184501335, 0.4962887466, -0.5229591727, 0.1392154694, 0.4237569571, 0.4199667275, 0.1087315381, -0.4205925763, -0.4421091974, 0.2977842093, -0.4160307646, -1.1745728254, 0.3216024637, 0.6556242108, 0.5425278544, 0.5525624156, 0.0343422554, 0.5256334543, -0.4217878282, 0.7465188503, 0.0089010997, -1.1734005213, 0.6110756397, -0.4667556584, 0.209442988, 0.4756410718, 0.3093697429, -0.8634729981, -0.2025885433, -0.691871345, -0.9100721478, 0.5677814484, 0.0399632044, 0.1967948824, -0.3351961374, 0.3517962098, 0.22871463, 0.2366618216, -0.8187118769, -0.0805634335, -0.3240893483, -0.3710944951, -0.1728984714, -0.0459156744, -0.0599541105, -0.239367947, 0.5756219625, -0.4409444332, 0.0485675894, 0.0210344493, -0.7233774662, 0.0552048832, 0.2361032516, 0.3882457018, 0.8706567287, -0.2063063383, 0.5577782393, 0.2315918505, -0.2101910412, -0.0304279253, -0.0596210174, -0.0488472693, -0.3317854702, 0.6118026972, 0.6262638569, 0.8947458863, -0.5803787112, 0.6472207308, -0.1967573762, -0.061288707, -0.2744377255, 0.2678695619, 0.159537077, 0.2985548079, 0.4816781878, -0.0007648158, 0.4016740024, -0.7518040538, 0.2410151064, 0.1984102279, -0.3699972034, -0.5004148483, 0.1994411051, 0.183753401, -0.5902591944, 0.4864023328, -0.279104352, -0.5319516659, 0.6108195782, 1.0115609169, 0.5872746706, 0.0365698114, 0.1290894598, -0.1505427361, -0.1376232207, -0.167869404, -0.0161846317, -0.594514668, -0.9199637771, -0.2700152397, -0.4913671911, -0.4623960257, 0.1379027069, -0.5866295099, -0.0122282971, -0.4386599064, 0.2219928354, -0.033774633, -0.0542611033, -0.7016355991, -0.0565285608, 0.1396271586, 0.7829349041, -1.1134960651, 0.8977270126, 0.9234548211, -0.3899940252, -0.9582775235, 0.2504302859, 0.0589671917, -0.4945873618, 0.7770200968, 0.3356127739, 0.0758526027, 0.0386385694, -0.4497019053, -0.8576242328, 1.0328423977, 0.450856179, -0.3720311821, -0.1744130552, -0.1138198823, 0.2980635464, -0.7307879925, -0.0045820586, 0.5709641576, 0.2872111499, -0.0827755406, -0.9854699373, -0.1972097903, -0.3640486896, 0.0104224375, 0.1543841511, -0.0929466039, 1.1228160858, 0.0874188915, -0.3805973232, -0.3449468315, 0.3459880352, 0.1391608566, 0.7132597566, 0.4335845113, 0.3098678291, 0.7248746157, 0.0689267516, 1.1970962286, -0.0370356143, 0.452196002, 1.2637389898, -0.1598916948, 0.6907025576, 0.7163524032, -0.2734079957, 0.4388515055, 0.8276612759, 0.3357523978, 0.5378901362, 0.1133349612, -0.2943693399, -0.1463568956, -0.1301411092, -0.3608854115, 0.4778557718, 0.5525096059, -0.5395377278, -0.4802950919, 0.2737315297, -0.0717017427, 0.315207094, -0.3255734742, 0.8990710378, 0.1968384832, -0.2439606786, 0.5694912076, -0.1169109717, 0.5962275267, -0.3571271598, -0.3339696229, 0.0156938117, 0.2962334454, 0.0413239449, -0.7584955692, 0.3370736837, -0.2695459425, -0.5772228837, -0.3422425091, 0.6515851617, -0.4694707096, -0.246307373, 0.2178263366, 0.3917546868, 0.2903716564, -0.28013888, -0.7292063832, -0.0934676826, -0.377573669, -0.2099522948, 0.5858363509, 0.4671545029, -0.0094207739, 0.5649188161, 0.3006096184, 0.0886353776, -0.1176092401, 0.0416870452, 0.6604145765, -0.3984192014, -0.6154159307, -0.8560382128, 0.1672873199, 0.016645262, -0.297065258, 0.7238111496, 0.4366320074, 1.2411906719, -0.0113434074, 0.7150204182, -0.0780693442, 0.2970807254, -0.4681676626, 0.5515949726, -0.3573738337, 0.3017873168, -0.2183497548, -0.946315527, -0.4958115518, 1.1166311502, -0.6825171709, -0.2333199978, 0.7126219273, 0.5194672346, -0.3446735144, 0.0447766408, 0.1342847496, 0.0373001173, 0.2067881525, 0.7620357275, 0.6469800472, -0.4762289524, 0.2161373198, -0.4728485942, -0.2082206458, -0.074223198, -0.822312355, -0.7136397362, -0.8462739587, 0.0209385604, -0.2090293616, 0.1113785878, 1.1808100939, 0.893868506, -0.5723406076, -0.4059899747, -0.5652384758, 0.3557173312, -0.3516955972, -0.2854119837, 0.2188634574, -0.5243285894, -0.6913798451, 0.6512301564, 0.280143261, 0.0798283517, 0.2070320994, -0.5159268379, -0.2582593858, -0.2549677491, 0.6610346437, 0.3533503711, -0.708224833, -0.2820707262, -0.1560713798, 0.2651854753, -0.0287916362, 0.8704511523, -1.1165962219, 0.2945485115, 0.4229532182, 0.5210984349, 0.2583317161, -0.114515163, 0.9310359359, -0.8780383468, 0.1771291345, 0.2882019281, 0.3276635706, 0.3330064118, -0.24673298, 0.4675822854, 0.4095641375, -0.3467042148, -0.9758344889, 0.4421221912, -0.5634548068, -0.5256263018, 0.9688109159, -0.1158173829, -0.4081408978, -0.3118127286, 0.0030311518, 0.3560006022, -0.3860686719, 0.5488298535, 0.4435925484, -0.2423594892, -0.0833656639, -0.2741143107, 0.438583523, 0.1162710711, -0.519334197, 0.1410627067, 0.3355099559, 0.5823795199, 0.076405704, 0.6040677428, 0.2666013241, 0.3151944578, -0.1469046324, -0.32439363, -0.2141146958, -0.6372456551, -0.5737652779, 0.2985861301, -0.0135181472, -0.1351883262 ]
http://arxiv.org/abs/2402.10422v2
http://arxiv.org/pdf/2402.10422v2
Pushing the Limits of Zero-shot End-to-End Speech Translation
2024-02-16T03:06:37
2024-06-05T20:56:20
Ioannis Tsiamas, Gerard I. Gállego, José A. R. Fonollosa, Marta R. Costa-jussà
cs.CL
cs.CL
Data scarcity and the modality gap between the speech and text modalities are two major obstacles of end-to-end Speech Translation (ST) systems, thus hindering their performance. Prior work has attempted to mitigate these challenges by leveraging external MT data and optimizing distance metrics that bring closer the speech-text representations. However, achieving competitive results typically requires some ST data. For this reason, we introduce ZeroSwot, a method for zero-shot ST that bridges the modality gap without any paired ST data. Leveraging a novel CTC compression and Optimal Transport, we train a speech encoder using only ASR data, to align with the representation space of a massively multilingual MT model. The speech encoder seamlessly integrates with the MT model at inference, enabling direct translation from speech to text, across all languages supported by the MT model. Our experiments show that we can effectively close the modality gap without ST data, while our results on MuST-C and CoVoST demonstrate our method's superiority over not only previous zero-shot models, but also supervised ones, achieving state-of-the-art results.
[ -0.1549097151, -0.650365293, 0.4455699325, -0.3659980893, -0.7389776707, 0.1124886274, -0.4322501421, -0.4643138349, 0.265622139, 0.4354553223, -0.6396766901, -0.5594756007, -0.5793225169, 0.0259922687, -0.4612292349, 0.9705349803, -0.0740584657, -0.0886978582, -0.2283286601, -0.33668679, -0.6224642992, -0.5619485974, -0.3718900979, -0.1177591085, 0.3383489251, 0.4069342017, 0.6042718887, 0.7622455955, 0.1469381303, 0.0660371557, -0.0397865735, 0.0450970531, -0.5204684138, 0.4307907522, -0.1265219748, -0.3680463135, -0.1285669953, -0.1639606357, 0.3739039302, 0.8206977248, -0.0251852032, 0.1160335317, -0.3088234365, 0.1457452178, -0.4433832467, -0.2477302998, -0.5362329483, 0.1286719888, -0.5821335912, -0.3253418505, -0.4921643734, -0.1742744595, -0.1281737387, -0.3011389673, 0.0618236996, 0.0258322563, 0.9111311436, 0.4907213748, -0.8297059536, 0.036404945, -0.7362368107, 0.662212193, -0.564491272, 0.6241767406, 0.1528425366, 0.2872323096, -0.066676639, -0.1428331882, -0.5971376896, -0.1966401935, 0.4059417248, 0.2161729634, -0.3362044096, 0.0678581968, -0.0542028621, 0.1682159007, -0.8651283383, 0.175211966, -0.5041928887, 0.0847771317, 0.4515106678, -0.1169665307, 0.20257999, -0.1571153402, -0.3903896511, -0.1441282034, -0.6037610769, 0.0138955675, 0.0949192718, 0.41062814, -0.221932143, 0.7387447357, -0.1282462776, 0.6352033019, -0.1557611525, 0.3647956252, 0.347181797, -0.2179997116, -0.3529717028, 0.2775549591, 0.9013704062, 0.2456229478, 0.0242407974, -0.5658874512, -0.0860232338, 0.1798754185, -0.1073233187, -0.6230304241, 0.3892130554, 0.2128678262, 0.0954316407, -0.174249649, -0.2661881447, -0.3758047521, 0.1147928759, -0.2803019583, 0.4847120941, -0.38595137, -0.2368726134, 0.1314214915, -0.1651789844, 0.3451481462, 0.1183866337, -0.561744988, 0.209781304, 0.271142453, 1.1570546627, -0.1497325152, -0.028176358, -0.516585052, 0.4311671257, -0.7346935868, 0.7301464081, -0.6057469845, -0.3957653344, -0.2059468925, -0.1901285201, -0.143319115, -0.1750191897, 0.8719836473, -0.1378068775, 0.3268904388, -0.0913789272, -0.5069767237, -0.1103877053, 0.0203887187, -0.2184579372, 0.7931351066, 0.1882783473, -0.1634017676, 0.1912054271, -0.7514513731, -0.7432595491, 0.0975169092, -0.2555742562, -0.1836804897, 0.6418985724, 0.1583427042, 0.3273565173, -0.4967972636, 0.3112213016, -0.2635921836, -0.3295580745, 0.1736032814, -0.6410578489, 0.6514596939, 0.1860914677, -0.2440033555, 0.1737692952, -0.3714387119, -0.0395947248, 0.363481164, 0.0747551247, -0.4524762332, -0.2591929734, 0.2391685545, 0.4686872959, 0.0325560197, -0.9752027392, 0.1571587622, -0.4177146852, 0.7914254069, 0.7637861967, -0.2838428617, 0.4850126207, -0.3268240392, 0.4606672525, -0.1053080261, 0.0301706716, -0.2639519572, -0.3174389899, -0.522167623, -0.2226960063, 0.3532409668, 0.4807453454, -0.790047586, 0.513566494, -0.6839758754, -0.3723282218, -0.8161081672, -0.4865468144, 0.0881368741, 0.5512696505, 0.5006597638, -0.4204958081, -0.2238983512, -0.7283883095, 0.0057338797, 0.1741441786, -0.3298961818, 0.1382864714, 0.1905356348, 0.0314601324, 0.7650108933, -0.2491802424, -0.3624094129, -0.2870077491, 0.0597867928, 0.170800373, 0.565535903, 0.3610775769, -0.5111222863, -0.4495536387, 0.2306067944, -0.5662452579, -0.2645293474, -0.4082012773, -0.0221976005, 0.1481958628, 0.2821260989, -0.6397804618, 0.536921978, 0.6586865187, -0.2994900048, 0.2026251405, -0.145248875, 0.2787997425, -0.9105749726, 0.2067840546, -0.3015523255, -0.5340544581, -1.0822474957, 0.0793720335, -0.065567784, -0.5122657418, -0.4766480029, 0.4180411994, -0.2238515764, 0.1007925048, -0.1926044226, 0.336035043, -0.1001388878, 0.6490229964, 0.1204327196, 0.6277038455, 0.4626246393, -0.2469976693, 0.1278853416, 0.4810667634, 0.2137193233, 0.8441941142, -0.6478393674, 0.4058757722, -0.1216369793, 0.2994528413, -0.9251480699, -0.1133097336, 0.2863131166, -0.8847195506, 0.4732901156, -0.0994679555, -0.343478024, -0.0237579271, -0.1459288299, 0.4916442633, 0.6205334067, -0.1624001414, 0.1810330749, 0.1275075674, -0.1982186586, -0.1979957372, -1.0443915129, 0.6364737749, 0.0628099144, -0.6491612792, 0.3598250747, -0.1612806767, 0.3620776832, -0.0819358081, -0.4621322453, -0.1994799972, -0.2671539187, 0.1347008497, 0.1775246561, 0.0117442822, 0.0158409756, 0.4299245775, -0.3311156631, -0.4213152826, -0.4605410695, 0.5998243093, 0.2712172568, -0.6418685913, -0.4275093377, 0.7386825085, 0.846884191, -0.2708090246, 0.5576071143, 0.4114929736, -0.3116624951, -0.0321241803, -0.3730637431, 0.0386316106, -0.3635712564, 0.1939154863, -0.3594281971, -1.0725626945, 0.0736774132, -0.0012429123, 0.0977066457, 0.2399065942, 0.2109191865, 0.0542813241, 0.8512405753, 0.6372845173, 0.0754678398, 0.332626611, -0.0383574218, 0.4080830812, -0.747762382, -0.2403548658, -0.5061891079, -0.358832866, -0.2279606313, -0.8925461173, 0.4598545134, 0.0216335338, -0.2587594688, 0.7585250139, -0.7670798898, 0.3888037503, 0.5527115464, -0.0315430872, 0.2604611516, 0.1011463702, 0.0015090106, -0.261380136, -0.7337030768, 0.0221366733, 0.9306260347, 0.1163489074, 0.3005277812, 0.2866540253, 0.5890668035, 0.2709504962, -0.0997807756, -0.8127942681, 0.4638985991, -0.3610177934, -0.4897958636, -0.4669152498, -0.5138394833, -0.6825566888, 0.3844771981, 0.0466078594, -0.4293245077, 0.2871394157, -0.3281525373, -0.0416896306, 0.3239293993, -0.3429670036, 0.6710346341, -0.323964715, -0.4183321595, -0.0717998222, -0.9366193414, 0.0590535551, -0.1018732563, 0.2369778603, -0.2796648145, -0.1961539835, 0.4519625902, -0.4748065472, 0.5794529319, -0.09663295, 0.0928529948, 0.1114175096, 0.3651946485, 0.4843388796, -0.6567097902, 0.0006660226, 0.6080519557, -0.0422593579, -0.5554014444, -0.3312383592, 0.330874294, -0.6033009291, -0.218626067, -0.3987565041, -0.6523663402, -0.1569737196, 0.2069727033, 0.3821820319, 0.3869688213, -0.047634013, 0.3686300814, 0.4980263412, -0.1132029966, 0.5369496346, 0.5255469084, 0.3646627963, -0.5831125379, 0.8920583725, 0.3635564446, 0.5428606868, 0.4639894962, 0.0963880643, -0.5706083179, -0.6306981444, -1.008738637, 0.2594359815, -0.3418132365, -0.4155302644, -0.552100718, -0.2299482822, -0.577069819, -0.8716695905, -0.5937223434, -0.5659446716, -0.2087087482, -0.1105509847, 0.230217427, 0.3111366332, -0.4357971251, 0.3917139471, -0.661558032, 0.1329153329, -0.1839468032, 0.2044353634, -0.1849758029, -0.9056622982, -0.1094156727, 0.1026335582, -0.0643878579, -0.9508434534, 0.6302461624, 0.3265399933, 0.2129018754, 0.3311850131, 0.4062360525, 1.2160202265, -0.6330910921, 0.8579257131, 0.7246655822, -1.2409318686, 0.5211010575, -0.4224226177, 0.4818383753, 0.4605309665, 0.1949333102, -1.0892214775, -0.4306819141, -0.4056321084, -1.0660122633, 0.5126745105, 0.4602650404, 0.2147512138, -0.0493861064, 0.0624012575, 0.1446526945, 0.3861913383, -0.625399828, 0.024296999, -0.3462841511, -0.238199234, 0.035333205, 0.1221257001, -0.042209018, -0.0966577381, 0.3330601156, -0.0782291815, 0.3297381401, 0.3746378422, -0.2365993857, -0.4688458741, 0.5668257475, 0.7699545026, 0.1556286663, -0.0673484802, 0.0667115599, 0.3146059513, -0.1027246639, 0.3872078657, 0.0778912976, -0.3275817931, 0.253498286, 0.2872134447, 0.7651218772, 0.2115755379, -0.7563897967, 0.8410573602, 0.2765493393, -0.3093966842, -0.1093875468, -0.4456425011, -0.2112028897, 0.0218647048, 0.3654061556, 0.2406883091, -0.004106015, -0.272893399, 0.4145223498, 0.3404977322, -0.8088924885, -0.447024703, 1.00849998, 0.2148359865, -0.2355295569, 0.4105091691, -0.166302979, -0.1202746034, 0.1514811367, 0.6978148222, 1.02859056, -0.3775056005, 0.249536857, 0.0862777904, 0.4094040692, 0.1169280708, 0.0185955744, -0.4074204266, -0.1567388624, -0.7543947697, -0.4784028828, -0.4347874522, -0.1616391242, -0.6095965505, 0.3437618315, -0.2004180104, 0.0795371011, -0.5256465077, -0.4003406465, -0.4745741785, -0.0974507853, 0.3631107211, 0.7519770861, -0.8283193707, 0.8719062805, 0.2197739482, -0.4458818734, -0.3736536205, -0.4217948318, 0.0821133107, -0.683152318, 0.2072519362, 0.0749333054, -0.2717286348, 0.0321009196, -0.6503059864, -0.8445232511, 0.9973909259, 0.6222461462, -0.7752423882, -0.0342365578, 0.5050094128, 0.4451974928, -0.1635132134, 0.2439167649, 0.2379085124, 0.2797230482, 0.7055203319, -1.1007431746, 0.0822225586, -0.0257910714, -0.0599259324, 0.3903856874, -0.541264534, 0.6362680197, 0.0174715258, -0.4923912585, -0.0472641774, 0.4495346844, -0.0471384153, 0.3771258891, 0.2607200444, 0.6208583117, 0.406755507, -0.0361768752, 0.6002128124, -0.0874314234, 0.1961287111, 1.2129936218, -0.4537345469, 0.9946398139, 0.4328023791, 0.1933794171, -0.0190740265, 0.4601929486, 0.0723491982, 0.5503391623, 0.1143680736, -0.3905692697, -0.3616638184, -0.7141956687, -0.3590548933, 0.5189586878, 0.2299362719, 0.0581776649, -0.4518686831, 0.2788172662, 0.4106475711, 0.1219689026, -0.0641114935, 0.4823067188, 0.0478298552, -0.1865095496, 0.8694595695, -0.0158313736, 0.7772936225, -0.7821940184, 0.167565465, -0.2803195119, -0.3255006671, 0.0061436486, -0.4446548223, 0.5509194732, 0.1369548291, 0.2422005683, -0.5195023417, 0.445949614, -0.703330934, -0.2363558561, 0.2745800316, 0.5648961663, 0.3737834394, -0.1846469641, -0.3725765347, 0.0897234157, 0.1002671197, 0.0846334174, 0.2656480372, 0.5417699218, 0.0301610548, 0.4872779548, 0.9631975889, 0.2610674798, 0.0310004298, -0.1411590874, 0.8449887633, -0.8235055208, -0.4048412144, -0.7640749216, 0.5314317346, 0.0047098855, -0.2786359787, 0.5552269816, 0.5766332746, 0.7999554276, 0.3092103302, 0.900947988, -0.2190000117, 0.3420628607, -0.030580217, 0.5602772236, -0.6312442422, -0.1865331978, 0.0178572107, -0.4759091139, -0.615729928, 0.3521936834, -0.2110532373, -0.5481093526, 0.6007556915, 0.5889143348, 0.0168151874, -0.0738792643, 0.9718352556, 0.136552766, 0.5098716617, 0.7982293367, 0.4873935878, -0.562345624, 1.0044380426, 0.0880829245, -0.2878468633, -0.0706761926, -0.6729630828, -0.7089337707, -0.4984950721, -0.2216304988, -0.0313754082, 0.220382899, 0.9637342095, 0.8265002966, -0.4875358641, -0.2626931667, -0.1391894817, -0.1618196815, -0.273049742, -0.1232634336, 0.2274841964, -0.1187086552, -0.6478420496, 0.7250099778, 0.650673449, 0.1982646734, -0.057044901, 0.0561430044, -0.0280841161, 0.3406325877, 0.7159648538, 0.3267188668, -0.6262232065, -0.4699537754, 0.2881998718, 0.2615766525, 0.2068882734, 0.7351695895, -0.6571108103, 0.5651906133, 0.2809881568, 0.7286442518, 0.6054416299, -0.2475905865, 0.6177835464, -0.8124758005, 0.168095395, 0.4768993556, -0.113661088, 0.2663968503, -0.1342089474, 0.4865914583, 0.3313511908, -0.4703371525, -0.9927533269, 0.3578982651, -1.1941334009, -0.3351128399, 0.9469228983, 0.1383619159, -0.2200012058, -0.2379943877, -0.0063273632, 0.4895276427, -0.6360961199, 0.3712365329, 0.311624378, -0.2106711119, -0.3317583203, -0.8048947453, -0.1137644723, 0.4667497575, -0.4462580681, 0.2044144869, 0.4523461163, 0.0937827155, -0.0718970224, 0.6126099825, -0.0357155912, -0.0187448412, 0.189574182, 0.156489864, -0.3897388577, -0.2135243416, -0.5294092894, 0.2631860673, -0.3593898118, -0.4949986041 ]
http://arxiv.org/abs/2402.10416v1
http://arxiv.org/pdf/2402.10416v1
Grounding Language about Belief in a Bayesian Theory-of-Mind
2024-02-16T02:47:09
2024-02-16T02:47:09
Lance Ying, Tan Zhi-Xuan, Lionel Wong, Vikash Mansinghka, Joshua Tenenbaum
cs.AI
cs.AI, cs.CL
Despite the fact that beliefs are mental states that cannot be directly observed, humans talk about each others' beliefs on a regular basis, often using rich compositional language to describe what others think and know. What explains this capacity to interpret the hidden epistemic content of other minds? In this paper, we take a step towards an answer by grounding the semantics of belief statements in a Bayesian theory-of-mind: By modeling how humans jointly infer coherent sets of goals, beliefs, and plans that explain an agent's actions, then evaluating statements about the agent's beliefs against these inferences via epistemic logic, our framework provides a conceptual role semantics for belief, explaining the gradedness and compositionality of human belief attributions, as well as their intimate connection with goals and plans. We evaluate this framework by studying how humans attribute goals and beliefs while watching an agent solve a doors-and-keys gridworld puzzle that requires instrumental reasoning about hidden objects. In contrast to pure logical deduction, non-mentalizing baselines, and mentalizing that ignores the role of instrumental plans, our model provides a much better fit to human goal and belief attributions, demonstrating the importance of theory-of-mind for a semantics of belief.
[ -0.5665173531, -0.6675836444, 1.1105624437, -0.0735660195, -0.1723712981, 0.0998109505, -0.2099159509, -0.1740325987, 0.1711370796, 0.4422625303, -0.5054709911, -0.5427826047, -0.5368685722, -0.3126470447, 0.2249415815, 0.7421115041, -0.0134722404, -0.2853196859, -0.3454011381, 0.141772151, -0.4508160949, -0.304323256, -0.3772139847, -0.6120407581, 0.4851441383, 0.1706195921, 0.9488004446, 0.5127589703, 0.1784356087, 0.12103533, 0.1045825258, -0.2035386413, -0.3049986959, 0.235829249, -0.6756035089, -1.018414259, -0.1304856688, 0.2030016929, 0.4537805915, 0.7379120588, -0.3168957531, -0.1721314192, -0.1114766598, 0.2770659029, -0.7329236269, 0.5932155252, -0.6335983276, 0.2241770625, 0.4500030875, -0.1150961667, -0.2114080638, -0.2988820076, 0.172318235, -0.4415530264, 0.3574573398, -0.1103649512, 0.8776011467, 0.41422382, -0.4496228695, 0.045829758, -0.5085064173, 0.7057843804, -0.457005471, 0.3710076809, 0.7871115208, 0.251575321, -0.312550962, 0.0441218503, -0.8591384888, -0.2615202069, -0.1732604504, 0.2724968791, 0.0467116535, 0.3440793753, 0.5591005683, 0.2106480449, -0.3430188, -0.4632417262, 0.2874230742, 0.0026646447, 0.4385083914, -0.1019410044, 0.2995178103, 0.1193597838, -0.1431313455, -0.2347721159, -0.5963009596, -0.0324576311, 0.0273753367, 0.078887254, 0.063865006, 0.4693226218, -0.6088085771, 0.4229980111, 0.1031380594, -0.146521911, -0.1706962585, 0.2377357334, -0.2818060219, 0.1645681113, 0.0436545275, 0.5515021086, 0.2417305708, -0.4456226528, -0.1826291084, 1.1911447048, 0.4400803745, -0.5467625856, -0.2397154868, 0.1042026654, -0.4268612564, -0.1683175415, 0.2217220515, -0.3230088353, -0.5917995572, -0.3271772861, 0.6900479198, -0.3379461169, -0.538018167, 0.4927463233, -0.4463366866, 0.2565904558, 0.4667415619, -0.8419759274, 0.705921948, 0.9106330872, 0.3583757877, 0.2535370588, -0.4261395335, -0.2073577344, 0.6913300157, -0.5881945491, 0.7132491469, -0.7511443496, -0.3768220544, -0.1771824509, -0.0198655743, -0.0148081761, -0.0810548663, 0.5165702105, -0.2020143718, -0.0238342993, -0.8553123474, -0.9478597641, -0.4051623344, 0.2345386893, -0.1684730649, 0.3219794631, -0.074778378, -0.5779207945, 0.7522199154, -0.6761280894, -0.3274666369, 0.0420231931, -0.7094532847, 0.1283626109, 0.6341657639, -0.1713374555, 0.4485738873, -0.3774271309, 0.452657342, -0.3688545227, -0.2584728301, 0.565309763, -0.3879460692, 0.5803906918, 0.0970997214, -0.7131465673, -0.2921923399, -0.5549604297, 0.1364976913, 0.0978670791, -0.0443697982, -0.5657891631, 0.7626971006, -0.672480166, 0.1540196389, 0.1700476408, -0.6704945564, 0.2820446789, -0.4449408054, 0.1447781026, 0.5983876586, 0.067955859, 0.5637305379, -0.5428915024, 0.0609016977, 0.1094155386, 0.0803958103, 0.0290044807, -0.7861857414, -0.5289060473, -0.0231561735, -0.0646661147, 0.3751593232, -0.1270220429, 0.6234529614, -0.0913339779, -0.2089749873, -0.3313345313, -0.3009245694, 0.3233073652, 0.4120205045, 0.1425665021, -0.1907433122, -0.1598219126, -1.0456273556, -0.2899651825, -0.5934997201, -0.1460478455, -0.0783651546, 0.653306663, -0.2729484439, 1.1929875612, -0.9620175958, 0.0804804116, 0.0757466629, 0.2664101422, 0.1720217913, 0.5988728404, 0.3700323999, -0.924413085, -0.2230659723, 0.2162309885, -0.9117984772, 0.0817506537, -0.1353317648, -0.3396033645, -0.1615612507, -0.1703585982, -1.062625885, 0.9170739651, 0.0081049325, -0.7489478588, 0.2899874747, -0.0820306093, 0.2831451595, -0.8723137379, -0.4963588417, -0.0301070083, -0.0917434096, -0.4345568419, 0.3635835648, -0.1129699424, 0.0823106244, 0.177408576, 0.1826725602, -0.2716153264, -0.1643860936, -0.4305637777, 0.0004162426, 0.1499080807, 0.6246256232, 0.6100087762, 0.2944500148, 0.7952990532, -0.5581840873, 0.0848484933, 0.3070707023, -0.1743494421, 0.7671679258, -0.3584019244, -0.141404435, -0.3918782771, 0.3406915367, -0.7932485342, -0.1004630998, 0.4131580293, -0.637324512, 0.1218227074, -0.2980525494, -0.4429506361, 0.044228524, 0.0783174634, -0.0565125085, 0.5466814637, -0.2602903843, 0.5050979853, 0.5796613693, 0.0677287355, -0.2248822451, -0.5574545264, 0.1309163272, -0.3325302005, -0.4292349219, 0.6683450937, 0.0527619869, -0.9709014297, 0.1867917627, -0.5917532444, -0.1894368529, 0.2924416363, 0.5237964392, 0.1045316234, -0.161534965, 0.3741480112, 0.4172287881, -0.3270137012, 0.4373856485, -0.84449929, 0.0973647088, -0.2438576967, -0.5378623605, -0.1386811286, 0.7448095083, 0.3718019426, 0.1168144047, 0.9228395224, 0.1165651008, -0.8051433563, -0.2884303629, -0.4172738791, -0.3474075794, -0.346706897, -0.0220305678, -0.722648561, -0.6067900658, 0.3892439306, -0.0256334376, -0.1503982991, 0.3264229894, 0.4697238207, -0.353566885, 1.1025499105, 0.6574954391, 0.2033778578, 0.0133265657, -0.0739161819, 0.0725431219, -0.4345781803, -0.0180031192, -0.2983342111, -0.0303317681, -0.5327630043, -0.5343829989, 0.2195739746, 0.327907443, -0.3228348196, 0.1215583906, -0.2886443436, 0.6490482092, 0.2897910178, 0.3209894896, 0.1419988573, -0.0431378894, -0.3709508479, -0.0135261416, -0.4813870788, -0.8157948256, 0.7951655388, 0.4095159471, 0.7093362808, 0.3708767891, 0.6499449015, 0.4291994572, 0.118389532, -0.8594132662, 0.4382371306, 0.361282289, -0.9236413836, -0.208339572, -0.1269157827, -0.4746468365, 0.652954638, -0.2057922632, -1.0899442434, 0.3391625881, 0.084758535, -0.2125893831, 0.3740001917, -0.5503094196, 0.9865823388, -0.0169532858, -0.3629558086, -0.7481098175, -0.7606495023, 0.0396384709, 0.2769038975, 0.0612308942, -0.0528533906, -0.008639669, 0.6637217999, -0.5020340085, 1.0597683191, -0.3753024936, -0.4335902929, 0.4325177073, 0.1264928281, 0.5348661542, 0.2760513127, 0.2277580053, 0.0604845211, 0.2479910403, -0.4927827716, -1.0132579803, 0.4209286869, -0.8847703338, -0.9185789824, -0.4306276441, -0.3124528527, -0.3921249509, 0.0064667817, 0.0530623049, 0.3612261713, -0.3189282417, -0.1155298427, 1.0931141376, -0.0152833015, -0.0896474645, 0.6475234032, -0.316531837, 0.0336994827, 0.8851715922, -0.1643605083, 0.3780519366, 0.8337619305, 0.357565403, -0.3714999259, -0.2513328195, 0.1699812859, 0.2261876762, -1.0503280163, 0.3172780573, -0.6245903969, 0.2785714865, -0.2314554155, -0.2001927346, -0.2898790538, -0.3306503296, 0.0075883549, -0.4085668027, 0.0735417902, 0.6597983241, -0.1896280348, 0.3527959585, -0.5323503017, 0.4709715843, 0.5801817179, 0.2063735574, -0.1401686519, -0.1300258636, -0.3190361261, 0.5214986801, -0.1787653565, -1.2641686201, 0.0546774194, -0.0822647288, 0.8439630866, 0.5439417362, 0.0546080694, 0.6752217412, -0.3393802941, 0.3402973711, 0.0975983292, -1.0772895813, 0.7511739731, -0.5677325726, -0.064386569, 0.4888207316, 0.3070489764, -0.5410781503, -0.4197508395, -0.8678838015, -0.0229112357, 0.2868775725, 0.2607819736, -0.206028536, -0.3245916963, 0.4392150939, 0.2757299542, 0.4633783996, -0.4970316887, -0.2218801528, -0.4485406578, 0.0049583805, -0.1708189845, -0.0005412434, -0.4500186443, -0.3443015218, 0.3222980499, -0.4375707507, 0.7209380269, 0.2176014632, -0.1668674648, -0.4709143937, 0.4369087815, 0.416798979, 0.8028305173, -0.2183727175, 0.4034103453, -0.0502910949, -0.1508992463, 0.1605111659, -0.1896279752, -0.2718260586, -0.2821398079, 0.2191768289, 0.8251360059, 0.2938943803, -0.3604482114, 0.3556997478, -0.0130030522, -0.1497012377, -0.3204122782, 0.1550384164, 0.1429811269, 0.4679591358, 0.3839897811, 0.3127276301, 0.0026047037, -1.1287332773, 0.2829605639, 0.3653998971, -0.2637126744, -0.6137199998, 0.5080281496, -0.2832151651, -0.0010195416, 0.0334016867, -0.3738307357, -0.8787904382, 0.523022294, 0.6437929869, 0.993142128, 0.1282599568, 0.5936896801, -0.1122675985, 0.3782655299, -0.2004723251, 0.4375258088, -0.394077003, -1.3507753611, -0.3797841668, -0.7132276893, -0.4881560504, -0.2116059214, -0.6841973662, -0.1847411543, -0.3165373504, -0.2604872882, -0.2188742459, 0.1259275228, -0.4705414772, 0.4513897896, 0.3780038059, 0.4855299592, -1.054970026, 0.7580133677, 0.7987704277, -0.4958531857, -0.6498779655, 0.4759459496, -0.1094149947, -0.5288718939, 0.6331452727, 0.0273327678, -0.1364660859, 0.1144085824, -0.7004842758, -0.8920150399, 0.8571196795, 0.2539388239, -0.2995727062, -0.1013044566, -0.2103972882, 0.4787221551, -0.6665392518, 0.033605773, 0.4840087891, 0.645616591, -0.0891902819, -0.5230658054, 0.1744019985, 0.0094810473, -0.1988891661, 0.1633932441, -0.4586240351, 0.9122592211, -0.1188410372, -0.2714892924, -0.2953900695, 0.6778536439, 0.3171665072, 0.2347499281, 0.4100257754, 0.6978025436, 0.7733752728, -0.0321316756, 1.0123745203, -0.010000756, 0.2989368141, 0.8754602671, -0.4224399328, 0.6160241961, 0.374053061, -0.501486659, 0.7199454904, 0.5052033067, 0.3210711777, 0.7547112107, 0.2014622986, -0.2610549033, -0.6979114413, 0.0333121568, -0.2127692848, 0.4246667922, 0.7834282517, 0.0014293097, -0.1176429167, -0.1877111942, -0.3374880254, 0.157478556, -0.3261041343, 0.6323566437, 0.0793896466, -0.8301877379, 0.3143551648, -0.023699129, 0.2547155321, -0.3637027144, -0.2722143233, 0.2568055391, 0.1577361077, -0.0554295927, -0.7598973513, 0.2477121353, -0.2481028289, -0.3225835562, -0.1897812784, 0.9719595909, -0.2137514353, -0.0707667395, 0.1401366591, 0.5911425352, 0.2301666141, -0.3915509284, -0.5653029084, -0.1437495351, -0.1590527147, -0.0194878131, 0.4360753, 0.5673955679, -0.1963293701, 0.585614264, 0.4624199867, 0.2851048708, -0.1596861631, -0.0459563062, 0.7865788937, -0.8535206318, -0.8799826503, -0.8245539069, 0.357743144, -0.0128356125, 0.0818900764, 0.6013705134, 0.1108955517, 0.7574356794, -0.1250863969, 1.1691012383, -0.1544935405, 0.2509109378, -0.4112129509, 0.7775874734, -0.3528957963, 0.0674138442, -0.5028944612, -1.0894665718, -0.0228602886, 1.388638258, -0.3421406746, -0.2617259622, 0.7907755375, 0.3658903241, 0.3040219247, 0.3720847964, 0.6294597387, 0.2754230499, 0.1381746978, 0.5156780481, 1.3064892292, -0.1719323993, -0.2830461264, -0.1871776581, -0.4500465989, 0.0333102942, -0.5847462416, -0.9273178577, -0.5350963473, -0.5404461622, -0.1111336574, -0.1077604294, 0.9845907688, 0.4049042165, -0.6591418982, -0.3606677055, -0.4581366181, 0.4331263304, -0.5103852749, -0.227188915, -0.1633296311, -0.1690246612, -0.3133060336, 0.5276759863, 0.5033609867, -0.0054962537, -0.3257275224, -0.1958097368, -0.115758121, 0.2022010535, 0.5433318019, 0.1019163653, -1.0087908506, -0.7441407442, -0.328625381, 0.1004606336, -0.0310309343, 0.7622693181, -0.9343716502, 0.3290637732, 0.3342927992, 0.2404135168, 0.2655034065, 0.0170442667, 0.7575808764, -0.2533365786, -0.0763942599, 0.236564517, 0.4266459942, -0.1164066195, -0.2724587619, 0.4029688537, 0.5722244978, -0.242344588, -0.717358768, 0.6554325223, -0.7285402417, -0.4209561646, 0.7378613949, -0.3502771854, -0.3110709786, -0.2583104372, -0.1543783098, 0.3374016285, -0.4513985217, 0.7000590563, 0.8389384747, 0.0168870296, 0.0035186568, -0.3763307929, 0.4784173071, 0.317951113, -0.6121218204, 0.1109136343, 0.6315182447, 0.1408348531, 0.3920994997, 0.5769176483, 0.3801496327, 0.1395222843, 0.5921301246, -0.1958194822, 0.4132130444, -0.4436190128, 0.0104626678, 0.2524209619, 0.0363243781, -0.0926122814 ]
http://arxiv.org/abs/2402.10412v2
http://arxiv.org/pdf/2402.10412v2
Measuring and Reducing LLM Hallucination without Gold-Standard Answers
2024-02-16T02:32:06
2024-06-06T18:33:02
Jiaheng Wei, Yuanshun Yao, Jean-Francois Ton, Hongyi Guo, Andrew Estornell, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
LLM hallucination, i.e. generating factually incorrect yet seemingly convincing answers, is currently a major threat to the trustworthiness and reliability of LLMs. The first step towards solving this complicated problem is to measure it. However, existing hallucination metrics require having a benchmark dataset with gold-standard answers, i.e. "best" or "correct" answers written by humans. Such requirements make hallucination measurement costly and prone to human errors. In this work, we propose Factualness Evaluations via Weighting LLMs (FEWL), an innovative hallucination metric that is specifically designed for the scenario when gold-standard answers are absent. FEWL leverages the answers from off-the-shelf LLMs that serve as a proxy of gold-standard answers. The key challenge is how to quantify the expertise of reference LLMs resourcefully. We show FEWL has certain theoretical guarantees and demonstrate empirically it gives more accurate hallucination measures than naively using reference LLMs. We also show how to leverage FEWL to reduce hallucination through both in-context learning and supervised fine-tuning. Extensive experiment results on Truthful-QA, CHALE, and HaluEval datasets demonstrate the effectiveness of FEWL.
[ -0.4726077914, -0.7014086843, 0.8107841015, 0.0372120552, -0.0896206573, -0.1384248883, -0.1633675694, -0.453135699, 0.3785079718, 0.4241385758, -0.7854112983, -0.6151177287, -0.4707805216, 0.4750136733, -0.2549755275, 1.0704088211, 0.2194259465, 0.0983879492, -0.5144804716, -0.404535085, -0.2328329086, -0.3751431704, -0.1688396782, -0.5688045025, 0.6073365211, 0.3955466151, 0.685337007, 0.2369862795, 0.6245230436, 0.1587354392, -0.0762673393, 0.5924104452, -0.80301404, -0.360363096, 0.0318922624, -0.6193428636, -0.6018838882, 0.0913619548, 0.2049404383, 0.912065804, -0.1222676486, 0.4628231823, 0.1578529626, 0.9270682335, -0.6324861646, -0.1411749274, -0.7836558819, 0.3620687723, -0.0413621888, -0.5804315805, -0.3260979354, -0.5228713751, -0.1507441849, -0.5270475149, 0.439712435, 0.1061939523, 0.7149495482, 0.8167315722, -0.1171957627, -0.3814525604, -0.7682239413, 0.8325129151, -0.6947888732, 0.4741695523, 0.7046422958, 0.2369811833, -0.0546476617, -0.4898779392, -0.4479148388, -0.4775379598, -0.3170686364, 0.0874930844, 0.0572686531, -0.0933521017, 0.4851111472, 0.178391546, -0.7609121799, -0.1766620576, -0.3005657792, -0.4201152027, 0.5215077996, 0.2579194903, -0.1004876792, -0.2052677274, -0.2827204466, 0.2635553181, -0.8091083765, -0.3740415275, 0.2452479303, 0.1700375825, 0.1844572127, 0.6428188682, -0.1939008087, 0.2935223579, 0.1701952964, -0.4578488171, 0.2399924248, -0.3384693563, -0.2471612543, 0.3541939557, 0.3510840535, 0.3630317748, 0.2351812422, -0.6983295679, -0.2665091753, 0.3015941381, 0.3082162738, -0.7791029215, -0.3291908205, 0.3544257879, -0.444742173, -0.2103185058, 0.0173416957, -0.6306816339, -0.6999733448, -0.2228757739, 0.5614698529, -0.3573871255, 0.068694599, 0.0832603797, 0.0389729217, 0.2386718243, 0.4165697992, -0.7362745404, 0.6107727885, 0.685090661, 0.9684458971, -0.515111804, -0.1428766549, -0.8323314786, -0.0499442928, -0.5375370383, 0.82514745, 0.0494467169, -0.3618401885, -0.2147546411, -0.1059090719, 0.197655499, -1.0072559118, 0.7692248821, -0.4697888196, -0.0805172995, -0.6065120697, -0.690595448, -0.2046854645, 0.5328797102, -0.6173945069, 0.8008575439, -0.0227544177, -0.6636645794, 0.4617753029, -0.2702140212, -0.2877939939, 0.0979206041, -0.2379126847, -0.4501765966, 0.3395457268, 0.1838605851, 0.2858196497, 0.0365146734, 0.0829408169, -0.3783124387, -0.8290996552, 0.5389081836, -0.4881487489, 0.5572084785, 0.0814318135, -0.4146664739, -0.0541521311, -0.8394424319, -0.1191331744, -0.172175169, -0.0337629318, -0.1891204268, -0.0972474664, -0.1618005782, 0.0618465617, 0.2270822972, -0.4283525646, -0.1646004766, -0.5243880749, -0.2349039763, 0.8144496083, -0.0754620954, 0.2689498961, -0.7643675208, 0.2198272198, -0.1426654011, 0.0921399817, 0.5212161541, -0.2877539694, -0.950737834, -0.2317531258, 0.0152311893, 0.5889230371, -0.3899589479, 0.61281991, -0.3044990599, -0.2955223322, -0.8136583567, 0.6584833264, 0.249545306, 0.6469202042, 0.6072211862, -0.202185452, -0.4624825418, -0.7025738955, -0.2390910983, -0.2811208069, -0.2531566918, 0.3650771081, 0.5925756693, -0.3031480014, 0.8894681931, -0.4870110452, -0.8640586734, 0.071058549, 0.1608148217, 0.1769553423, 0.2051451653, 0.3231570423, -0.5057423115, -0.0534618236, -0.2140351683, -1.1289558411, -0.105427362, -0.2481868714, 0.1112662628, 0.4417084157, 0.2256057262, -0.6671645641, 0.3619835377, 0.3493262231, -0.1834825724, 0.6724279523, -0.0843584612, 0.1733174175, -0.4492788613, 0.0589573942, -0.1448809206, -0.2772970498, -0.403976351, -0.1604844183, -0.1378008127, 0.3643279672, -0.423203975, 0.4564186931, -0.1324605197, -0.3464750051, -0.1945165545, 0.4099596441, 0.0075777932, 0.3820188642, 0.006329908, 0.6582468152, 0.1236429438, -0.5720082521, 0.3371023536, 0.3629037738, -0.3032968342, 0.6665481925, -0.5420923233, 0.3214459121, -0.008590417, 0.0548115857, -0.9624842405, -0.0666778833, 0.3327047527, -0.477486968, -0.1870921999, 0.066888243, -0.6149260998, -0.0382289402, -0.4444188178, 0.1146440357, 0.6317576766, -0.6487224698, 0.3590933681, -0.1455369443, 0.1200551614, -0.4458622038, -0.90587008, 0.1549617052, -0.3297540545, -0.5535674095, 0.3741126955, -0.5302045345, -0.4482266307, -0.0096046757, -0.6637563109, 0.167815119, 0.1035342067, 0.1304783076, 0.2336651683, -0.1947313249, 0.1971633583, -0.1169763505, -0.3668890297, 0.4051868021, -0.0938836411, 0.3335427046, -0.378380686, -0.6479455829, -0.6737699509, -0.1021497324, 0.4565621614, 0.272652179, 0.6514618397, 0.6975764632, -0.5452489257, -0.1247076094, -0.8493981361, -0.7002680898, -0.4554891586, 0.1486669332, -0.384123534, -0.7397722602, 0.5833334923, -0.1666360348, 0.1089967415, 0.030304268, 0.5835379362, -0.1730611473, 0.944717288, 0.2838670909, 0.2238167673, -0.2048334479, -0.0861308798, 0.2766048312, -0.5671655536, -0.3245587349, -0.2928857207, -0.373682797, -0.5420582891, -0.4118933976, 0.5256878138, -0.1102187037, -0.010157112, -0.2828146219, -0.4390091002, 0.5625092387, 0.2005023211, 0.5167794228, 0.7109490037, 0.0211750567, 0.2712076902, -0.2813298404, -0.4827739298, -0.9146951437, 1.0727695227, 0.1573869437, 0.9265865684, 0.064070791, 1.0496901274, 0.4462039769, 0.3001066148, -0.9518700242, 0.6458982229, -0.0230370965, -0.6080352068, -0.4716663063, -0.6809851527, -0.5744715929, 0.2401845306, -0.3155215979, -0.6049492955, -0.0691792294, 0.1431097686, -0.6832073927, 0.2635467649, -0.1730944365, 0.5380105376, -0.3278256953, -0.5632357597, -0.1980811208, -0.5563892126, 0.6286684871, -0.256029129, 0.0807641596, -0.2179477811, -0.1364965737, 0.9325525165, -0.3495949805, 0.9393550754, -0.0402422585, -0.1282529533, 0.1559727341, 0.2481057495, 0.6378877759, 0.3141835928, -0.1325561702, 0.1746611297, 0.0930673778, -0.4157218337, -0.7855604887, 0.9068861008, -0.8495112062, -0.5415486097, -0.4195003808, -0.5792631507, -0.3525825441, -0.0958947316, 0.3603691161, 0.0199354179, -0.3286652863, 0.0176577289, 1.1603156328, 0.0113455616, 0.1034148782, 0.3070576191, -0.0239295438, -0.3726156652, 0.8919644952, 0.3335014284, 0.0182542261, 0.0937137231, 0.331798315, -0.3740820587, -0.5138904452, -0.1830063164, 0.4037975371, -0.8784572482, -0.1800473779, -0.7346166968, -0.1019817963, -0.4297105074, -0.2866377831, -0.416729629, -0.4079467952, -0.4943726957, -0.3579277396, 0.4299394786, 0.4480516016, -0.1427118331, 0.0275460463, -0.6614322662, 0.7903988957, 0.607354939, 0.2386823744, -0.0755183101, -0.7121911645, -0.054203514, -0.0204008669, -0.1436654031, -0.7273102403, 0.3659681082, 0.0949105993, 0.4512134492, 0.6738666296, 0.4710204899, 1.0547825098, -0.2206215411, 0.8126974106, 0.0493327044, -0.9745132327, 0.323389709, 0.3572632968, -0.0904429182, 0.8701504469, 0.2700832486, -0.333309561, -0.3670164049, -0.5456956625, -0.4718787074, 0.4103026092, 0.3810388148, -0.0462377742, 0.1258324236, 0.4133193195, 0.4656769931, 0.150755614, -0.8356970549, -0.2631275058, -0.114338398, -0.1171865687, -0.0468530916, -0.2558983564, -0.5706222653, -0.3463706076, 0.783980906, -0.258880794, 0.0338968448, 0.3284273744, -0.4660982788, -0.310697794, 0.1028680801, 0.6546244621, 0.8103539348, -0.5331213474, 0.5049334764, 0.779003799, -0.2650373578, 0.1416807324, -0.3497056365, -0.3203437626, 0.2175993621, 0.5369392633, 0.4461629987, -0.0173123982, -0.6718176603, 0.4807463288, 0.0654021353, -0.366063565, -0.5755055547, 0.0661298707, -0.0094869994, 0.1581591964, 0.4051730335, 0.0737508163, 0.2581290603, -0.2298056483, 0.5427975059, 0.4352081716, -0.5534830689, -0.2907522619, 0.6084793806, 0.070733048, -0.2678450942, 0.7413927913, -0.3655821979, -0.1702070981, 0.5086144209, 0.5372007489, 0.9330875874, 0.1417993158, 0.2670494318, 0.2712829411, 0.6703823209, -0.1108597144, 0.254545629, 0.0069053653, -0.7185262442, -0.2149971575, -0.6442673206, -0.4690619707, 0.2164546996, -0.6369014978, 0.2575727403, -0.5169406533, -0.1569108814, -0.504744947, 0.3109980524, -0.6605345607, 0.0781411082, 0.2541595399, 0.6765466332, -1.081253767, 0.5201164484, 0.4111717641, -0.3737923801, -0.2275928259, 0.2523034811, 0.2264581323, -0.7344020009, 0.513035953, 0.3358981311, -0.4979808927, -0.0570339076, -0.7845807076, -0.5118465424, 1.1354571581, 0.402038753, -0.4604750574, 0.1415048838, 0.205050841, 0.4739244282, -0.1067094058, 0.0160256643, 0.8765237927, 0.7081630826, 0.2753572464, -0.5566090941, 0.235093534, 0.1217203215, -0.2823641598, -0.2448818535, -0.5850077271, 0.3282609582, -0.5208313465, -0.1999066919, 0.1321428716, 0.7379169464, 0.7422700524, 0.7488455176, 0.5501660705, 0.6414753795, 1.2237461805, 0.0470506214, 0.6238164306, -0.1374329776, 0.2796847224, 1.0649307966, -0.5752562881, 0.5202176571, 0.9371736646, -0.1643944085, 0.1331392527, 0.6642612219, -0.1196448207, 0.5238063335, 0.3059111536, -0.3819933832, -0.6305276155, -0.0653544217, -0.1625299454, 0.1150194928, 0.2437558323, 0.1764466316, -0.1530314684, 0.0143700941, -0.0367792957, 0.116551213, -0.0443115681, 0.8366237879, 0.4164819717, -0.3132067919, 0.9187778234, -0.3209181726, 0.7841023803, -0.3778779805, -0.0502288043, -0.6999032497, 0.0356930234, -0.703500092, -0.2611505389, 0.4120154679, 0.1817695498, -0.1093387753, 0.0163884684, 0.5119631886, -0.2562353611, -0.6827665567, 0.2820286751, 0.7077842951, 0.6141101718, -0.0346824564, -0.4140872061, -0.1256355494, -0.2979512811, -0.1489901692, 0.3173588216, 0.5458276868, 0.1925949007, 0.8564506769, 0.6024373174, 0.3490697145, 0.0713726729, 0.1044028997, 0.6292925477, -0.6206021309, -0.147389695, -0.9917973876, 0.0166090932, 0.0658842847, -0.1392352134, 0.8021637797, 0.5987167954, 0.7156288624, -0.0337193795, 0.618088603, 0.2242951989, 0.230699718, -0.676969707, 0.8933134079, -0.8111894131, 0.603476882, -0.3026047945, -0.967192173, -0.5823385119, 0.8378035426, -0.0103386519, -0.1470008343, 0.9343984127, 1.1881227493, -0.0038317451, -0.1197156161, 0.7511233687, 0.1730687469, 0.0251199063, 0.5527839065, 0.8533169031, -0.3394763172, 0.7111417651, -0.4114844203, -0.2518524528, -0.4438571632, -0.8190186024, -1.0798801184, -0.1141975895, -0.57399261, -0.5422505736, 0.1771213412, 0.9942219853, 0.4365478158, -0.9652574062, -0.2215539068, 0.0718116313, 0.4011188149, -0.6002966762, -0.1808748543, 0.5335951447, -0.52930969, -0.3785212338, 0.3761372268, 0.2242718637, 0.0079484014, -0.4186778665, -0.3951191008, 0.3006635904, 0.2028508782, 0.6092326045, -0.044746805, -0.9981099963, -0.4596771002, 0.3090767264, -0.2639380693, 0.296299547, 0.5223411918, -0.9306306839, 0.2038116455, 0.4231858253, 0.6346230507, 0.2827591598, 0.0940581784, -0.1065127403, -0.6811777949, -0.0640977919, 0.4383586049, 0.0720040202, 0.3800462782, -0.5046679378, 0.6749894619, 0.4838487804, -0.4944825768, -0.9279078245, -0.0030007409, -1.0184547901, -0.1810848862, 1.0415809155, 0.0483524539, -0.2164968252, -0.2258069217, -0.0602337122, 0.1986747533, -0.1807221025, 1.4363207817, 0.715217948, -0.4800497293, -0.0520343706, -0.4913202822, 0.635063231, 0.6240031123, -0.8741911054, 0.1171833724, 0.5572775602, 0.2219973356, 0.3315740824, 0.6613967419, -0.0699395984, 0.2769645452, -0.0275532529, 0.0773344189, 0.051630497, -0.5025236011, -0.2895669937, 0.2610776424, 0.1974231303, -0.0597773418 ]
http://arxiv.org/abs/2402.10409v1
http://arxiv.org/pdf/2402.10409v1
Understanding Survey Paper Taxonomy about Large Language Models via Graph Representation Learning
2024-02-16T02:21:59
2024-02-16T02:21:59
Jun Zhuang, Casey Kennington
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
As new research on Large Language Models (LLMs) continues, it is difficult to keep up with new research and models. To help researchers synthesize the new research many have written survey papers, but even those have become numerous. In this paper, we develop a method to automatically assign survey papers to a taxonomy. We collect the metadata of 144 LLM survey papers and explore three paradigms to classify papers within the taxonomy. Our work indicates that leveraging graph structure information on co-category graphs can significantly outperform the language models in two paradigms; pre-trained language models' fine-tuning and zero-shot/few-shot classifications using LLMs. We find that our model surpasses an average human recognition level and that fine-tuning LLMs using weak labels generated by a smaller model, such as the GCN in this study, can be more effective than using ground-truth labels, revealing the potential of weak-to-strong generalization in the taxonomy classification task.
[ -0.4313643277, -0.3893695474, 0.5286960602, -0.3119600415, -0.3198689818, 0.5155957937, -0.1789130569, -0.6421198249, 0.4319594502, 0.6029553413, -0.0562848561, -0.718655467, -0.7391260266, 0.2062633336, -0.3183538914, 1.1394699812, -0.0281252973, -0.0356636085, -0.4487259984, -0.0002716642, 0.0410038568, -0.4950391948, -0.625074029, -0.4682739973, 0.9914267659, 0.1507125646, 0.5024774075, 0.69879812, 0.5283002853, 0.3098383546, -0.1579495072, 0.1959124804, -0.6613546014, -0.1842502654, 0.1232638881, -0.6997485161, -0.5323159099, 0.1535322666, 0.6033086181, 1.0544309616, 0.059647087, 0.4053013623, 0.2396806628, 0.1195865124, -0.5041124821, 0.4962406754, -0.7644881606, -0.2431970239, -0.3200399578, -0.2547062933, -0.5529597998, -0.3206828237, -0.0583869554, -0.4955120981, 0.3851293027, 0.1237559319, 0.921077311, -0.1560694128, -0.7104978561, -0.3515927494, -0.5752177238, 0.4391397238, -0.4412126243, 0.2081955969, 0.4273780584, 0.2136137784, -0.0681421161, -0.7954409719, -0.1198995709, -0.2177097499, -0.1154074967, 0.124310106, -0.1799479574, 0.2011066079, 0.2225476503, 0.3166252077, -0.6288477182, 0.4532659054, -0.3455679119, -0.2780975103, 0.5844572783, 0.279519707, 0.031151114, -0.2870768905, -0.0772482529, -0.0270728283, -0.6172963977, -0.0795254707, 0.2382956296, 0.6162711382, 0.0590705536, 0.5036591291, -0.0073633641, 1.0174610615, -0.0244177636, -0.2283993959, 0.2812706232, -0.1319097131, -0.1840997189, -0.3248302937, 0.7365999818, 0.0881412327, 0.1266644746, -0.3267327845, -0.2896938622, 0.0362554193, 0.1829655319, -0.4748782218, -0.3326746225, -0.2770550847, -0.3852784038, -0.3052152395, -0.0461046025, -0.2863349915, -0.3723441064, -0.5128427744, 0.252163738, 0.0471372604, -0.2456459403, 0.0917295814, -0.1404118091, 0.1625864804, 0.555208981, -0.9050897956, 0.5353269577, 0.8284754157, 0.8645473719, -0.2301101983, -0.1452580243, -0.2735719681, 0.2497583628, -0.5074924827, 0.9667075872, -0.5332677364, -0.2812156677, -0.0452788919, 0.0010217181, -0.1490732431, -0.6761686802, 0.1581336409, -0.8008540869, 0.3079961836, -0.017307438, -0.5088652372, -0.1469718814, 0.5825318694, -0.5983068347, 0.7938911915, 0.3379032612, -0.7662763, 0.4955615997, -0.2245251685, -0.0598727539, 0.1921560913, -0.1357774734, -0.5719539523, 0.1880012155, -0.1021819562, 0.6300259829, -0.3019653261, 0.2770946324, -0.5726959705, -0.1615600586, 0.0075273798, 0.1026735157, 0.953494668, 0.267139703, 0.3489254713, 0.1890556216, -0.5411297679, -0.0801854432, 0.1451530308, -0.4833580852, -0.6275567412, -0.1609277278, -0.0878428966, 0.0580855124, 0.1717738211, -0.4067336321, 0.5959043503, -0.3337163925, 0.2623291314, 0.5072792768, -0.0288363285, 0.4619639814, -0.3150777519, 0.649330616, -0.211034745, -0.1766329855, 0.169021666, -0.4003804326, -0.6239275336, -0.189450562, 0.7325229645, 0.3735203445, -0.4515774548, 0.3741965592, -0.6967560649, -0.638479054, -0.0738923773, 0.287668705, 0.0712452903, 0.4584411085, 0.0245234668, -0.6467524171, -0.5494092703, -0.7355628014, 0.0174252521, -0.5876355767, -0.1551202536, 0.3794510365, 0.6026981473, -0.2450279593, 0.9335206747, -0.7760674357, -0.3345722854, -0.2362164557, 0.5573427677, 0.1260718703, -0.0471234545, 0.5300039649, -0.5023861527, -0.3733103573, -0.2161871195, -0.5426317453, -0.1874903738, -0.0047562253, 0.1442761868, 0.0759255663, 0.5499283075, -0.4005544186, -0.0228428673, 0.4635487199, -0.077197656, 0.4339221418, -0.0488440432, -0.4927383065, -1.1191569567, -0.1501810849, 0.1695459634, -0.354355067, -0.3365068436, 0.0510471277, -0.148134321, -0.1998817176, -0.1294481903, 0.4997692108, -0.7204450369, -0.1702317595, -0.2329287231, 0.0296135116, -0.0459675752, 0.3887022436, 0.1923282743, 0.3557915092, 0.4064832628, -0.5336599946, 0.1966789663, 0.2108044624, -0.2378055602, 0.1607347876, -0.3174046874, 0.2548466027, -0.4239205122, 0.5833778977, -1.2137513161, -0.2489132434, 0.2468990386, -0.4844872952, 0.3680126667, -0.3366163671, -0.5758794546, -0.5322010517, -0.1236096546, 0.2698983848, 0.3250186741, -0.3830710649, 0.6075424552, 0.7766028047, -0.1348289996, -0.2029569, -0.4866037965, 0.2583762109, -0.3427417576, -0.3067499697, 0.2249855548, 0.3207531869, -0.1336551756, -0.05405977, 0.0215628855, -0.0551189668, 0.3062008619, 0.1402641088, 0.1185715497, -0.1993080229, 0.4707083404, -0.3971554041, -0.1654881239, 0.2491732538, -0.3286009133, 0.5845635533, -0.0689084977, -0.2853438258, 0.2049802244, 0.0398870669, 0.2125362903, -0.2932478487, 0.2911480665, 0.4127052724, -0.3011912704, -0.1190396696, -0.1984994709, -0.091656059, -0.4166951478, 0.5407342315, -0.3847086728, -1.14531672, 0.4724977314, -0.405026406, 0.0118743014, 0.5639047027, 0.559984982, -0.2405759692, 0.9771470428, 0.7288925648, -0.3214333653, 0.3568893671, -0.4265818, 0.1099316627, -0.7229289412, -0.2263585925, -0.9351063967, -0.2748139501, -0.7754454017, -0.4499929547, 0.4145881832, 0.0529641658, -0.3371963799, 0.2007078677, -0.4464871585, 0.384481132, 0.4263110459, -0.0035110451, 0.4371852577, 0.2359289527, 0.1129034385, 0.1366540939, -0.8532761335, -0.5851063728, 1.091381669, 0.4413373172, 1.0799574852, 0.030307278, 1.0923076868, 0.1400756687, 0.6857286692, -1.0925681591, 0.5501875877, -0.4089550674, -0.4795130491, -0.1923326105, -0.3994897008, -1.3022663593, 0.2144281119, -0.1616248935, -0.7861671448, 0.1792178899, 0.1747285724, -0.1464565247, 0.3137382269, -0.51263237, 0.5465251803, -0.3726300299, -0.0535120182, 0.0063831676, -0.4549181759, 0.3542453051, -0.0233405773, 0.2310741395, -0.0412926227, -0.1424518824, 0.9638572931, -0.0078325747, 1.1687742472, -0.1415777802, -0.3368985653, 0.3046178818, 0.101110734, 0.4531240165, -0.0259290561, 0.1675222367, 0.1582261026, -0.0953542218, -0.2670516372, -0.5233777165, 0.2276422232, -0.8797568679, -0.6388392448, -0.5534281135, -0.442972064, -0.5267467499, 0.3128976524, 0.2430100292, 0.3238048553, -0.3115574718, 0.1349574476, 0.5419564247, 0.0816200748, 0.0435816161, 0.3900953829, -0.7069534659, -0.2360330373, 0.964938283, 0.4513055682, 0.1312089264, 0.5472710133, 0.1710998714, -0.3993069828, -0.8337059021, -0.0464472622, 0.310824126, -0.7313039899, -0.3584839702, -0.6359590292, -0.2871575356, -0.4511380792, 0.1001127213, 0.0606502406, -0.3669249117, -0.3770007193, -0.0798518732, 0.2115392089, 0.9032247066, 0.0129497154, 0.463010937, -0.5493534803, 0.3615838289, 0.5835415125, 0.4717607498, 0.0438932106, -0.5503099561, -0.3553337753, -0.0339633785, -0.2306105942, -0.7683667541, 0.0613400079, 0.1591888219, 0.4938660264, 0.3608426154, -0.1980857998, 0.5506551862, -0.2396262437, 0.5745239854, 0.2499670237, -0.5998422503, 0.1134012267, -0.7683012486, 0.4285775423, 0.4380982816, 0.5508682728, -0.5926074982, -0.479416132, -0.636945188, -0.7548902631, 0.4858784378, -0.4161942303, 0.3498521447, -0.0015923713, 0.3152904212, -0.0056186481, 0.1007705703, -0.8434877396, 0.118981868, 0.0026854887, -0.2086165398, -0.3911033869, -0.2516220808, -0.3127479255, -0.4507836401, 0.4237958491, -0.5379803777, 0.2736977637, -0.3433427215, -0.2115394026, -0.0344558395, 0.2661842704, 0.3306849301, 0.8393487334, -0.262103349, 0.6161726713, 0.1081602201, -0.3512834013, 0.1902853101, -0.0010241232, -0.2612893283, -0.0119153475, 0.6453522444, 0.846293509, -0.1621532291, -0.2077757865, 0.2822181284, 0.0641292185, -0.4160173237, -0.1360691488, 0.0839098394, 0.3583734035, -0.1714784801, 0.3969240189, -0.0516834185, 0.0293230657, -0.5946592689, 0.0478619859, 0.7033891082, -0.2783326507, -0.2319116741, 0.4293230772, 0.0282306466, -0.2171238959, 0.3990827501, -0.2891303599, -0.5527148247, 0.6116406322, 0.7263296247, 0.7523763776, 0.1020073146, 0.6187382936, 0.3504901528, 0.2518993616, -0.0391993187, 0.068565473, 0.092703633, -0.8579528928, -0.5196807981, -0.7154061198, -0.5438332558, 0.3883291483, -0.6328129172, 0.2726268768, -0.4632480741, -0.2311105579, 0.1601420641, 0.1451357156, -0.556114316, 0.2728119195, 0.492241472, 0.7724493146, -1.1428319216, 0.6883584261, 0.8920434117, -0.2679983675, -0.9826391339, 0.010788559, 0.0449112877, -0.8123815656, 0.6789907813, -0.1518675983, -0.2708143294, 0.1288605034, -0.817579329, -0.9668594599, 0.7582299113, 0.4052526951, -0.6104074121, -0.1084492952, 0.1484471262, 0.8585489392, -0.5498383641, 0.2450585812, 0.1137136668, 0.2726663947, 0.1408176124, -0.8408693671, -0.0994844735, -0.1085704491, 0.1611745209, 0.2374203205, -0.5994352698, 0.833006084, -0.0129379285, -0.1783653498, -0.305654645, 0.6050884724, 0.2284745276, 0.2603551745, 0.6678417325, 0.5937570333, 1.0021992922, -0.1247798577, 0.8591852188, 0.0569641367, 0.5230015516, 1.1523764133, -0.2733982205, 0.7258249521, 0.2631069422, -0.3380877674, 0.557991147, 1.0301281214, -0.2425570637, 0.3295407891, 0.5839136839, -0.1256086975, -0.428298533, -0.1527799964, -0.3232566714, 0.8104012609, 0.414653033, -0.3035551012, -0.6296249032, -0.0422402397, 0.1109033525, -0.0514863618, -0.6145426035, 1.1186485291, 0.1422369629, -0.6445057988, 0.8637559414, -0.0123373782, 0.5284012556, -0.5413869619, 0.1875878274, -0.0015762566, -0.0246650018, -0.3202185333, -0.7566767335, 0.3125686944, -0.1668368876, -0.0644435585, -0.3716822267, 0.8439533114, -0.4407123625, -0.6309794784, 0.2424963266, 0.7012432218, 0.1553259939, 0.2373178601, -0.5099545121, -0.0626680404, -0.243298009, -0.0558581725, 0.5037932396, 0.2762393057, -0.4351147115, 0.5418262482, 0.3120683134, 0.3952608705, -0.1421595514, 0.1961421669, 0.9477386475, -0.5624480844, -0.4705842435, -0.6759870648, 0.0337311663, 0.0305763781, -0.2290824503, 0.7806403637, 0.8551366925, 0.9672890902, -0.084870331, 0.8803591132, -0.0594829619, 0.5165879726, -0.4906061292, 0.562584579, -0.5348909497, 0.1275876164, -0.1863200814, -0.8476974368, -0.71537745, 0.3480594158, -0.6302480102, 0.0108218873, 0.4418133795, 0.7218999267, -0.1826110035, -0.2988133132, -0.031159088, 0.1187807098, 0.2155966461, 0.5141667128, 0.8521552682, 0.0202237684, 0.5291233659, 0.0605380945, -0.0640865415, -0.1465282738, -0.7717990875, -0.8523964882, -0.7456911802, -0.4154013693, -0.484949708, -0.072904326, 0.6689253449, 0.6395243406, -0.5828285217, -0.5315128565, 0.1117662638, 0.1244534552, 0.088611953, -0.1800785959, 0.4181916118, -0.3380816877, -0.5491099954, -0.0568169132, 0.2074435651, 0.0752405822, -0.3258817494, -0.0314680599, -0.2424121648, -0.2752831876, 0.545142293, 0.3031478524, -0.5516216755, -0.4147593975, -0.0200800076, -0.3077866733, 0.3414123058, 0.964831531, -0.8355982304, 0.3484303355, 0.612904489, 0.5825667381, 0.7562393546, 0.0127793942, 0.2103382945, -0.8203108311, -0.1202912927, 0.4813174009, 0.2419946939, 0.2791801393, -0.0878233165, 0.4686036706, 0.2370728403, -0.3447982967, -0.8903760314, 0.3759419024, -1.016669631, -0.3414322734, 1.1126573086, 0.08035817, -0.3001765311, -0.3267210126, -0.1680548191, 0.3297565877, -0.0052386755, 0.9513112307, 0.7410883307, -0.311887145, -0.4760225117, -0.1372114718, 0.4036845565, 0.01029862, -0.7920002937, -0.0696921945, 0.5715184212, 0.4289775789, 0.4337322116, 1.0235692263, 0.0535122007, -0.0944004357, -0.2999437749, -0.0127168735, 0.0046700179, -0.1869326532, -0.3947484493, 0.4882642627, 0.5405630469, 0.15636985 ]
http://arxiv.org/abs/2402.10400v2
http://arxiv.org/pdf/2402.10400v2
Chain of Logic: Rule-Based Reasoning with Large Language Models
2024-02-16T01:54:43
2024-02-23T18:55:23
Sergio Servantez, Joe Barrow, Kristian Hammond, Rajiv Jain
cs.CL
cs.CL
Rule-based reasoning, a fundamental type of legal reasoning, enables us to draw conclusions by accurately applying a rule to a set of facts. We explore causal language models as rule-based reasoners, specifically with respect to compositional rules - rules consisting of multiple elements which form a complex logical expression. Reasoning about compositional rules is challenging because it requires multiple reasoning steps, and attending to the logical relationships between elements. We introduce a new prompting method, Chain of Logic, which elicits rule-based reasoning through decomposition (solving elements as independent threads of logic), and recomposition (recombining these sub-answers to resolve the underlying logical expression). This method was inspired by the IRAC (Issue, Rule, Application, Conclusion) framework, a sequential reasoning approach used by lawyers. We evaluate chain of logic across eight rule-based reasoning tasks involving three distinct compositional rules from the LegalBench benchmark and demonstrate it consistently outperforms other prompting methods, including chain of thought and self-ask, using open-source and commercial language models.
[ -0.1971289217, -0.9918547869, 1.0412927866, 0.2952670157, -0.2033281028, -0.0938187838, 0.0198203828, -0.2553056777, -0.0277204961, 0.7764038444, -0.7627509832, -0.3531489372, -0.2644864023, 0.1202809587, -0.6310994029, 0.8615051508, -0.1832371205, 0.0658843145, -0.1977716535, -0.2362516224, -0.8306062818, -0.2703226209, -0.5822404027, -0.4222972989, 0.8345559239, 0.3577444553, 0.4551295936, 0.7746289372, 0.41977337, 0.3155756891, 0.0429410525, 0.0537347943, -0.1834329516, 0.4146672487, -0.5738050938, -0.615700841, -0.1815833002, -0.085883081, 0.2301215976, 0.7252324224, -0.5302746296, -0.0155098988, -0.7651904821, 0.9165156484, -0.8358374834, 0.0638323799, -0.5501895547, 0.0467954762, 0.0503451191, -0.2796962261, -0.8231117725, -0.4674625099, 0.0284217447, -0.5283259153, -0.2191654891, 0.3219774067, 0.3494769335, 0.1758767664, -0.5575800538, -0.6349059343, -0.7410469055, 0.5571974516, -0.6156052351, 0.4980310798, 0.292517066, 0.318626225, -0.1816378981, -0.779853344, -0.6818652153, -0.3530083299, -0.039955873, 0.1722554117, -0.1899767816, -0.0000944432, 0.5072236657, 0.0819337368, -0.5088820457, -0.1157580316, -0.3712945879, 0.1913814396, 0.6630802751, 0.1451273263, 0.4500725567, 0.1358504146, -0.2643813491, 0.0408688039, -0.9489690661, -0.1779038161, 0.353651166, 0.1094845384, 0.1546093225, 0.4688292146, -0.3585552871, 0.8657741547, 0.253747195, -0.1981493831, -0.2892235219, -0.2085524648, -0.1959405541, 0.3852181733, 0.6325333118, 0.3090579212, 0.504961729, -0.0363436379, -0.0730141774, 0.0110613517, 0.0147598591, -0.5210207105, -0.1821783036, 0.2103247643, -0.536137104, -0.1526366025, 0.3342925608, -0.421315372, -0.2678478062, -0.6818165779, 0.4053690732, -0.2174757719, -0.1428306997, 0.5785021782, -0.1600135416, 0.2723440826, 0.5098341703, -0.7272320986, 0.5423870683, 0.7704222202, 0.4538009465, 0.3008802533, -0.1726465076, -0.7627583146, 0.3523483574, -0.4460180402, 0.918237865, -0.5330811739, -0.077997461, 0.0180028956, -0.1723680794, -0.0966174752, -0.5033361316, 0.6310003996, -0.6782308221, 0.1883214861, -0.5687900186, -0.6025446653, -0.3740680516, 0.2060771435, -0.7698702216, 0.5021990538, -0.2133053541, -0.5064775348, 0.4903072417, -0.5719829202, -0.9003975987, 0.0285307709, -0.2466777116, 0.1296968758, -0.0339320637, 0.0804916993, 0.2490425408, -0.6217728257, 0.4941629767, -0.2391583323, 0.0450223945, 0.2436385006, -0.102184847, 0.9865269661, 0.4082135856, -0.5182033181, 0.2916035652, -0.6614848971, -0.0772624835, -0.0529353172, -0.0930976644, -0.3378911316, 0.5408293009, -0.6377843618, 0.5844747424, -0.1371248811, -0.2566025257, 0.2716194391, -0.0238594636, 0.4756062925, 0.825763762, 0.2228072137, 0.1874819696, -0.5180510879, 0.4131998718, 0.0585783236, 0.1075175032, -0.3846637905, -0.5076500773, -0.7444060445, -0.0269501507, 0.0026002533, 0.6804693341, -0.5070737004, 0.6079357862, 0.0247706156, -0.2613099217, -0.16422382, -0.0776615888, 0.2772416174, 0.5508765578, 0.3257392645, 0.0503031313, -0.5892077088, -0.6349257231, -0.3928856254, -0.484046191, 0.3100627959, -0.0937871411, 0.7137156129, 0.0359627791, 0.7539161444, -0.5634929538, 0.127162233, -0.3503085077, 0.2953638732, 0.2453291267, 0.0801243857, 0.1556603014, -0.531793952, -0.4088761508, 0.0738209337, -0.8292255998, -0.4389041066, -0.2857030034, -0.2573576272, -0.1058555841, 0.8760456443, -0.4425852597, 0.4363139868, -0.0490100645, -0.5801417828, 0.9509409666, -0.1003211737, 0.2165444046, -0.494692862, 0.0192215946, -0.129191041, -0.2038493901, -0.4232031405, 0.2470552921, -0.3750733733, 0.1116899773, -0.3220074475, 0.3620995581, -0.3058428168, 0.2208968699, -0.4059622884, -0.0038019961, 0.1168128029, 0.2531063259, 0.0819887072, 0.3987712562, 0.5447425246, -0.6812502146, 0.8211547136, 0.0153420372, -0.3129936457, 0.8334636092, -0.6716192961, -0.0663773343, -0.2687589526, 0.5302115679, -0.6692426801, -0.1006328762, 0.3520826995, 0.3238597512, -0.2567213774, -0.1021869406, -0.8016636372, -0.4918167293, 0.0393403396, 0.4760076404, 0.4250200987, -0.4524459541, 0.799859643, -0.0743479058, 0.110547021, -0.359909296, -0.525914073, -0.1279614419, -0.106791757, -0.6411724687, 0.0316729397, -0.2490202934, -0.9080930948, 0.1604465395, -0.2046745569, -0.0505972691, -0.0106900884, 0.219689399, -0.121994026, -0.1664353013, 0.0454158522, 0.1114578694, 0.0226077288, 0.6741190553, -0.4368363321, 0.4253888428, -0.1186585873, -0.6171390414, -0.4660567641, 0.6991829872, 0.6747758985, -0.3741805255, 0.5702700019, -0.2476238906, -0.1873575449, -0.4349956512, -0.674058795, -0.2218521535, -0.3869948387, -0.3588303924, -0.4986837208, -0.6779902577, 0.6390499473, -0.2184564322, -0.1476189792, 0.5560383201, 0.5695641637, 0.1245946586, 0.9960935116, 0.0650927201, 0.0665903687, 0.3288162053, 0.0933688432, 0.4129336476, -0.2665696442, -0.345572859, -0.4965621233, 0.0054194327, -0.3019915819, -0.1599090546, 0.1501819491, 0.1314736605, -0.4213359952, 0.2793847024, -0.1586352885, 0.8820984364, 0.5812357664, 0.1688874662, 0.3862633109, -0.2911459506, -0.4362998009, 0.6212195754, -0.6481829286, -0.2049771547, 0.6585492492, -0.0128034027, 0.9203736782, 0.2458191812, 0.5361559391, 0.2730074525, -0.0277031399, -0.8201147914, 0.8582466245, 0.0366538502, -0.813352406, 0.0363964811, -0.5846617222, -0.6190380454, 0.0847402439, -0.0844447166, -0.8380981088, 0.0674001649, -0.0853854194, -0.4417483509, 0.3947938979, -0.525695622, 0.6589564085, -0.2633492649, -0.4113210142, -0.4618941545, -0.8942381144, 0.6215916276, 0.111618638, 0.302538842, -0.1383361369, 0.5134732723, 0.5810154676, -0.9795528054, 0.6746617556, 0.1304821372, -0.2617995441, 0.8088256121, 0.4166364074, 0.5698077083, -0.2885586917, 0.0616899878, -0.4964745045, 0.2006682903, -0.0181179997, -1.0473451614, 0.5336554646, -0.2312490642, -0.6036058664, -0.4502413571, -0.321125567, 0.1627021879, 0.3102316558, 0.0125052053, 0.5123643279, 0.1719834656, 0.0128193451, 0.5586813688, 0.1705897897, 0.2203979492, 0.4939697683, -0.293802917, -0.3702107966, 0.6604496837, -0.070604153, 0.2829216719, 0.5888478756, 0.6482880712, -0.4494200349, -0.0828498527, -0.1211619005, 0.3102505505, -1.0460609198, -0.0842655897, -0.4227852821, -0.1546036303, -0.2143763751, -0.308845818, -0.0873459801, -0.3126657903, 0.1683561802, -0.1138795614, 0.347053647, 0.8809047341, -0.0876293108, 0.0703293756, -0.5850317478, 0.3512436748, 0.7024083734, 0.3274545074, 0.1384452283, -0.0205780342, 0.1473912448, -0.2678022981, -0.0644495338, -0.9746575952, -0.1890503913, -0.2548345029, 0.4578225911, 0.759196341, 0.1963222176, 0.7868022323, -0.8295203447, 0.4992562234, 0.3502429724, -1.1176815033, 0.923954308, -0.5500943065, 0.0760413483, 0.5971139073, 0.2453365922, -0.6958747506, -0.3954518735, -0.6324753761, -0.6327509284, 0.342787981, 0.0028217726, -0.313977778, -0.3672049344, 0.522323966, -0.0214408562, 0.1311027855, -0.6620203853, -0.1266054511, 0.0841353759, -0.1718203425, 0.6701373458, -0.1671142131, -0.2160538584, -0.3845196962, 0.6317169666, -0.0107461326, -0.0681314245, 0.248220697, -0.0680920482, -0.1971098334, 0.3744074702, 0.8801890612, 0.9911379218, -0.0465997383, 0.370308727, -0.131632179, 0.1027718186, 0.4371380806, -0.2706032395, -0.1949690431, -0.3095940053, 0.5975333452, 0.5879881382, 0.0232207719, -0.8005515337, 0.4387934208, 0.0000166955, -0.5076541305, -0.1566425115, 0.1396402568, -0.1121257693, 0.2544893622, 0.2104820758, -0.1356476396, 0.3403474092, -0.7772721648, 0.3823012114, 0.0586172752, -0.2888321877, -0.1426133662, 0.7484001517, 0.0670300052, -0.0510044359, 0.6141272783, -0.0810447484, -0.4749481678, 0.4980813861, 0.6191359162, 0.7079556584, 0.0009383577, 0.2300196439, 0.2587525249, 0.2088695019, -0.6894543767, 0.4000397325, -0.1445574015, -0.727719903, -0.9057304859, -0.0560570434, -0.3881421685, -0.250312835, -0.6010905504, 0.0949847102, -0.7997409701, 0.2105454952, 0.0142819062, -0.3267650604, -0.2665143907, 0.1842997521, -0.0933774486, 1.008251667, -0.9659500718, 0.359936744, 0.4465755522, -0.7372886539, -1.1124228239, -0.0934460238, 0.2281983942, -0.4773762822, 0.9671747088, 0.1655153036, -0.5341174603, -0.1603461653, -0.7763118744, -0.37479949, 0.8072713017, 0.276227206, -0.5237067342, 0.2091889083, -0.1744841188, 0.3511965573, -0.3632018566, 0.2771925628, 0.5539223552, 0.6407868266, 0.5306682587, -0.5085813403, 0.4528592527, -0.2349134684, -0.3096091747, 0.3378661275, -0.4188554883, 0.8216735125, -0.2395907491, -0.1460495293, 0.0220174864, 0.5350953937, 0.5523326397, 0.2355313748, 0.649564147, 0.7751244903, 0.8184777498, -0.063009277, 1.1048020124, -0.2991073132, 0.0286702905, 1.2230647802, -0.7071500421, 0.5632836819, 0.4527470767, 0.0178371593, 1.3835784197, 0.2005566359, 0.0661839247, 0.4377838075, 0.5246082544, -0.6340138912, -0.4944836199, -0.2930643857, -0.1393816471, 0.3878371716, 0.102601245, -0.3745540082, -0.2217184156, -0.3003887534, 0.0525370426, 0.1633609235, -0.3788467348, 0.7649187446, 0.0025484727, -1.0023818016, -0.068644993, 0.1391979754, -0.2000900805, -0.5951556563, -0.2753299177, -0.0036578251, 0.2186058164, -0.2128724903, -0.8446522951, 0.1836245358, -0.1115395129, -0.3195511401, -0.3376775384, 0.6817007065, -0.2909354866, -0.4225664139, 0.3120257854, 0.4614587426, 0.0507821739, 0.0204363167, -0.5714299083, -0.0884419307, -0.3765947819, 0.1717513055, -0.3214807808, 0.8653771281, -0.4650201201, 0.8339096904, 0.7973744273, 0.086403437, 0.0959148705, 0.4867155254, 0.778947711, -0.7803163528, -0.5945452452, -1.0760549307, 0.6374079585, 0.0136089912, 0.0505177416, 0.5469588637, 0.4218990505, 0.607376039, -0.051786162, 0.6004234552, -0.1421849281, 0.2056071758, -0.8641186953, 0.2647737563, -0.2106044441, 0.1067840531, -0.2556895912, -0.572168231, -0.5832075477, 0.6980226636, -0.4629220963, 0.1084544361, 1.1201223135, 0.4962927103, 0.0348196812, 0.2643593848, 0.1255909503, 0.0179433487, 0.3899535537, 0.4919601381, 1.0800238848, -0.2070596814, 0.2384169996, 0.1305634677, -0.0769684538, -0.139790222, -1.0230563879, -0.7965407372, -0.3449783921, -0.4837291539, -0.3776751161, -0.0071185306, 0.9875721335, 0.6404213905, -0.7840772867, -0.5418794155, -0.8013485074, 0.5139293075, -0.5250678062, -0.2105270922, 0.0966625512, -0.3277493417, 0.0743375644, 0.4306483269, 0.4081164002, -0.3342359662, -0.0547315739, -0.0724948645, -0.7081615925, 0.2990792692, 0.7548004985, 0.4263879657, -0.8850334287, -0.3713492453, -0.2346283346, 0.1838584244, -0.1270289719, 1.3878991604, -0.5729748011, 0.5202173591, 0.8354629874, 0.3383015692, 0.2876062393, 0.0135688614, 0.7823593616, -0.4012138844, 0.0187561624, 0.0178073514, 0.5694336295, -0.2597092688, 0.0109755667, 0.5319946408, 0.3846215606, -0.4456892908, -0.3802390397, 0.6722396016, -0.9370891452, -0.5351457, 1.0018752813, -0.0296784155, -0.3882953823, 0.0538879894, -0.1793007404, 0.0279136766, -0.2840619683, 0.4126506448, 0.8339772224, -0.2156531811, -0.4043768644, -0.2848951221, 0.1162323952, 0.1187617332, -1.0096999407, 0.0403746553, 0.771713078, 0.3128853142, 0.1496621519, 0.6462110281, -0.0909092054, 0.2371789813, 0.0154130282, -0.0794734731, 0.1473779529, -0.6559919119, -0.002356475, 0.0614177398, -0.1253035367, 0.2285291404 ]
http://arxiv.org/abs/2402.10380v1
http://arxiv.org/pdf/2402.10380v1
Subgraph-level Universal Prompt Tuning
2024-02-16T00:25:24
2024-02-16T00:25:24
Junhyun Lee, Wooseong Yang, Jaewoo Kang
cs.LG
cs.LG, cs.AI, cs.CL
In the evolving landscape of machine learning, the adaptation of pre-trained models through prompt tuning has become increasingly prominent. This trend is particularly observable in the graph domain, where diverse pre-training strategies present unique challenges in developing effective prompt-based tuning methods for graph neural networks. Previous approaches have been limited, focusing on specialized prompting functions tailored to models with edge prediction pre-training tasks. These methods, however, suffer from a lack of generalizability across different pre-training strategies. Recently, a simple prompt tuning method has been designed for any pre-training strategy, functioning within the input graph's feature space. This allows it to theoretically emulate any type of prompting function, thereby significantly increasing its versatility for a range of downstream applications. Nevertheless, the capacity of such simple prompts to fully grasp the complex contexts found in graphs remains an open question, necessitating further investigation. Addressing this challenge, our work introduces the Subgraph-level Universal Prompt Tuning (SUPT) approach, focusing on the detailed context within subgraphs. In SUPT, prompt features are assigned at the subgraph-level, preserving the method's universal capability. This requires extremely fewer tuning parameters than fine-tuning-based methods, outperforming them in 42 out of 45 full-shot scenario experiments with an average improvement of over 2.5%. In few-shot scenarios, it excels in 41 out of 45 experiments, achieving an average performance increase of more than 6.6%.
[ -0.5331399441, -0.80267483, 0.2729000747, -0.0112455888, -0.561748445, -0.0411184952, -0.1362143755, 0.0261036102, 0.0855934918, 0.0243340414, -1.1697356701, -0.516006887, -0.3550171256, 0.3262179196, 0.1989605725, 1.0547481775, 0.3167369664, -0.0825380161, -0.1212820709, -0.1475185603, -0.749987185, -0.3393794596, -0.9420881867, -0.3528490663, 0.9271057844, 0.4037753344, 0.5075278282, 0.5647343397, -0.0287157986, 0.2526418269, -0.1762972027, 0.3860163093, -0.6693285108, -0.1036527082, -0.2699623704, -0.1526379287, -0.2368747592, 0.0926686302, 0.3296548724, 0.8308464289, 0.2612475455, 0.1384714097, 0.3581555784, 0.5839596987, -0.6162852049, 0.1911403537, -0.6805866957, 0.1375710517, -0.1055038497, -0.554484129, -0.5658605695, -0.1007560194, 0.0739372522, -1.0241719484, 0.5306863785, 0.2156900018, 0.8319834471, 0.3107181191, -0.3889540434, 0.1466216892, -0.0913363993, 0.1859032363, -0.3273420632, 0.0800563395, 0.0897316709, 0.2288523465, -0.397928834, -0.8500093222, -0.0769946948, -0.0341953821, -0.1912222803, 0.2814460695, -0.5371802449, 0.4705683887, 0.6791155338, -0.1666190475, -0.4967442155, 0.4912230372, 0.0132105509, -0.4488729537, 0.3161198795, 0.1938082725, 0.2763002813, -0.1654534936, -0.0928196386, -0.0354954153, -0.7000856996, 0.5638045073, 0.4046571255, 0.9433466792, 0.085008204, 0.1528336406, -0.3157055676, 0.9401834011, 0.1873043478, 0.3719935715, 0.0827997103, -0.5061469674, -0.2140839249, -0.0793548748, 0.7221235037, 0.3559988737, 0.7398804426, 0.1739033014, 0.0810796991, -0.0669979826, 0.1187960953, -0.7307055593, -0.5097593665, -0.2411183119, -0.1671853364, -0.1576883495, -0.2447391748, -0.487518996, -0.5717254877, -0.4022627175, 0.3368055522, -0.6165271997, 0.0500264652, -0.210311085, -0.3619380891, -0.0086209737, 0.3923642635, -0.9408609271, -0.0510540083, 0.2496467382, 0.8049977422, 0.0651824772, -0.4216758013, -0.9377137423, -0.2387669533, -0.5321887136, 0.9465891719, -0.637057066, -0.5131874681, -0.136606887, 0.1984616071, -0.4671962261, -0.2225057036, 0.4044129848, -0.3251354992, 0.0250245742, -0.5913318396, -0.2895426452, 0.0060350066, -0.1336219013, -0.2370201051, 0.881414175, 0.4796156287, -0.8328408003, 0.6253288388, -0.7516784668, -0.8202934861, 0.2053787708, -0.0489814803, -0.4897638857, 0.2020319551, 0.849075377, 0.3752032518, -0.0703005344, -0.1469212174, -0.3749126196, -0.5960456133, -0.0806124657, -0.1834208667, 0.7158706188, 0.0496970303, -0.0671139583, 0.7504329681, -0.5447661877, 0.2209255695, -0.0155247496, 0.271605432, -0.2627399862, -0.5510079265, -0.4758688807, -0.056482017, 0.0095472988, -0.3903364539, 0.3779027164, -0.3329046667, 0.7655101418, 0.9550768733, 0.297790736, 0.3926585317, 0.0345202796, 0.6394839287, -0.0034276899, 0.293389082, -0.5990757346, -0.4234159291, -0.4013687074, -0.4502838552, 0.7838516235, 0.6002684832, -0.5024587512, 0.6505683661, 0.0578122139, -0.3187796175, -0.3444252312, -0.0213559568, 0.3865379691, 1.1899373531, 0.5155806541, -0.0918388739, -0.5989020467, -0.6990430355, -0.3972130418, 0.1456215531, -0.1128787473, 0.7211918831, 0.0984869003, -0.0162714049, 1.0980603695, -0.3751311004, -0.3950698376, -0.5836190581, 0.1124038175, 0.5668923855, 0.3520789146, 0.6222316027, -0.3738965988, -0.5665402412, -0.2305502295, -0.5943076611, -0.425060153, -0.0911393836, -0.0689308047, -0.0504148975, 0.6710674763, -0.5294860005, 0.6344825625, 0.0661088452, -0.3375587165, 0.3088331819, -0.4420492649, 0.0576975718, -0.7876855135, -0.1484969705, 0.0711720139, -0.2162861377, -0.2400895357, -0.2647862434, 0.1946067363, -0.4205969572, -0.3276674151, 0.4092532992, -0.4518647194, -0.0879065618, -0.1233497337, 0.150071919, -0.0707759857, 0.6088692546, -0.4819710255, 0.8134788275, 1.0590974092, -0.8569358587, 0.3015977144, 0.1393610835, 0.0023635956, 0.6653729081, -0.9760810733, 0.2936831117, -0.3596771657, 0.4737637639, -1.4408807755, -0.2240523249, 0.2027728558, -0.6093989611, 0.4325771034, -0.5352067351, -0.2688086927, -0.5641472936, 0.0105436603, 0.2930833697, 0.7011594772, -0.6318307519, 0.6903166175, -0.1028276607, 0.0298285037, -0.4374752343, -0.0440073609, -0.2272284329, -0.0911618918, -0.5161404014, 0.0846396014, 0.0301006455, 0.5637162328, -0.2025912851, -0.2615718544, 0.5618494153, 0.2414567918, 0.3908925056, 0.0515465178, -0.0096422434, -0.0274382606, 0.5800333023, -0.6889930367, -0.4217721224, -0.6405242085, 0.7409306765, 0.0026031444, -0.2070335448, -0.6971622109, 0.0220897216, 0.0087203113, -0.2488689423, 0.2259082794, 0.5337248445, -0.0673374534, -0.4726854563, 0.3053995967, -0.234411642, -0.5731300116, 0.5153739452, -0.6935991049, -0.8148166537, 0.608404398, -0.6625956297, -0.1290099174, 0.341599822, 0.265530169, -0.4498544633, 1.2667747736, 0.6455885768, 0.0293723103, 0.6919335127, -0.2970661819, -0.0061533498, -0.8142057061, -0.0746814162, -0.5443972945, -0.7851442695, -0.2852419913, 0.2084883004, 0.7193532586, 0.3467978537, -0.4228584468, 0.4007696807, -0.659855485, 0.7888585329, 0.7411267757, 0.139341116, -0.1478714794, 0.0813842416, -0.6042710543, -0.0876159295, -1.0515578985, 0.0957617685, 0.7406515479, 0.0401593521, 0.7459051609, -0.5468660593, 0.3946683705, 0.3911143839, 0.0743153691, -0.5557195544, 0.664098978, -0.2639844418, -0.0631796122, -0.7866183519, -0.416261524, -1.3419783115, 0.1513836831, -0.150159508, -0.908836782, 0.0603011027, 0.6627672315, -0.5055248737, 0.0351760909, -0.733237505, 1.1244337559, 0.0418763869, 0.1127667427, 0.2289876789, -0.8353886008, -0.2829446793, 0.3325274289, -0.1521862149, -0.2838790417, 0.1657151729, 0.3424293697, -0.3090434074, 1.0455392599, -0.531893611, 0.1573387086, 0.122747913, 0.1587995887, 0.6132096648, 0.3244418204, 0.0698466226, 0.1491189748, -0.2267862558, -0.4569782019, -0.8239661455, 0.3960924149, -0.9828668833, -0.4501338899, -0.0485853814, -0.5133503079, -0.5889571905, 0.6256169081, 1.1004878283, 0.8066164851, -0.0050807325, -0.0933509022, 0.6428436041, -0.0390027612, 0.5763065219, 0.2019811571, -0.025951745, -0.4728961885, 0.7960321307, 0.096362412, -0.0065864418, 0.3345189393, 0.4266852736, -0.5310491323, -0.4776290655, -0.8050168753, -0.00466135, -0.6526151896, -0.3874857128, -0.5273812413, -0.1661109328, -0.7164097428, -0.2926726043, -0.0695381314, -0.2557834089, -0.6712302566, -0.3247129917, 0.4401196241, 0.134973377, -0.0313109085, 0.5440325141, -0.4671235979, 0.2697715759, 0.3370012939, 0.2411194891, -0.3482642472, -0.7155604959, 0.0933318362, -0.0735751837, -0.020266233, -0.6746145487, -0.0017043356, 0.5386921763, 0.6258487105, 0.2398269773, 0.3097990155, 0.7327642441, -0.4912285805, 0.5392240286, 0.2253457457, -0.9436805248, 0.9272696972, -0.5116436481, 0.4953276813, 0.7468349338, 0.4480310082, -0.3571684361, -0.0574591458, -0.4655000269, -0.8166253567, 0.7784893513, -0.2404465824, 0.3627386987, 0.2459842861, 0.5754773617, 0.1353682727, 0.1652137786, -0.2772623301, -0.2048987299, -0.6200063825, -0.2342899591, -0.2487524599, 0.2819790542, -0.2953959405, -0.5752674341, 0.2489569634, -0.8149300814, -0.0104988189, 0.2308155149, -0.0473136231, -0.2214387655, 0.1047957763, 0.4007499218, 0.895291388, 0.0780007616, 0.16140306, 0.4578672051, -0.1596084386, 0.2003704756, 0.1334931105, -0.5689589381, -0.1752349734, 0.4223333001, 1.2835245132, 0.0653238893, -0.2060387433, 0.474799782, -0.1248722523, -0.2793702781, 0.1301587075, 0.5773881078, -0.1813479364, 0.078221418, 0.3939424455, 0.2517320812, -0.1955010593, -0.3231633306, 0.2075106651, 0.470064193, -0.8503255844, -0.3546014428, 0.6365724206, 0.1885156333, -0.5334839821, 0.9191767573, -0.2016910315, -0.3467341065, 0.7135797739, 0.8247725368, 0.8772434592, 0.0643561631, 0.35351035, 0.411498785, 0.2085645199, 0.5410232544, 0.2498175949, -0.1235884875, -0.702827692, -0.2064312845, -0.3656357825, -0.1146208793, -0.1027421653, -0.5628294349, 0.2245166004, -0.7648536563, -0.3724372089, -0.0635225102, -0.1143076867, -0.6519265175, 0.2481033206, -0.1714912951, 1.2085833549, -0.8108730316, 0.5632005334, 0.8597445488, -0.1640775949, -0.9367853403, -0.1088002846, -0.1827898175, -0.9120519757, 0.2475794405, 0.2387440801, -0.0897451639, 0.5722373128, -0.7919718027, -0.6658737063, 0.9400764704, 0.6305497885, -0.481814146, -0.0534273684, -0.1439578235, 0.6019486785, -0.5310836434, 0.3074322343, 0.5866149068, 0.3581530154, 0.2989442647, -0.6845905185, 0.3164614439, -0.3195289373, 0.2864966094, 0.1120298803, -0.9103218317, 0.8904717565, -0.5646894574, -0.2948445976, -0.0963818431, 0.7902752161, 0.4435167015, 0.314332664, 0.7742812037, 0.3437568545, 0.9528520107, -0.2462214231, 0.9575949907, -0.41264382, 0.0888774768, 0.8033712506, -0.0575011261, -0.0793273523, 0.0462332182, 0.0411646739, 0.3863236904, 1.274520874, 0.0593169108, 0.7451079488, 0.3476311564, 0.2805918157, -0.668775022, -0.3113394976, -0.5466744304, 0.0515956692, 0.1930352896, -0.0484247282, -0.2998800576, 0.0434568785, -0.2163256556, -0.1304955781, -0.6726511717, 0.7724883556, 0.0710713193, -0.7547268867, 0.4968852103, -0.2748199403, 0.3019201159, -0.8246700764, 0.0960363001, -0.4746620655, -0.1377391368, -0.1696637422, -0.4743220508, -0.3614937365, -0.4257410765, -0.0733453631, -0.161988914, 0.7602142096, 0.1474318653, -0.1704600304, 0.2352345139, 0.3200696111, -0.2027799487, 0.0948394015, -0.7207465768, -0.0964454561, -0.0343381837, -0.2344131172, 0.5175313354, 0.8200340271, 0.0370436348, 0.557477057, 0.778986454, -0.0854703858, -0.1627812684, 0.5875765085, 1.0582755804, -0.6258038282, -0.9777371883, -0.787119925, 0.4567472339, -0.0724875107, -0.9682891369, 0.7896772623, 0.2832056582, 0.6721016169, 0.1299104095, 0.8354535103, 0.164483577, 0.3311521709, -0.6726713181, 0.3433336318, -0.461761266, -0.0454102457, -0.4646244347, -0.766017437, -0.2543955445, 0.4332410395, -0.1376950145, 0.3173601329, 0.5230184197, 0.6558734775, -0.1450781673, 0.2192540765, 0.268328011, -0.0257755108, 0.1611980796, 0.4698694944, 0.852304399, 0.0202652607, 0.4782592952, 0.0763597935, -0.5146682262, -0.1804402322, -1.0010410547, -1.1090470552, -0.3019892871, -0.0884494931, -0.3874297738, 0.0258602109, 0.7530540228, 0.8867000341, -0.7351992726, 0.3720888793, -0.2969615459, 0.1485412419, -0.4524527788, -0.1347837001, 0.4290658236, -0.775428772, -0.4087916315, 0.6343509555, 0.4062318206, 0.0963117108, 0.1185627803, 0.0896168649, 0.3065464199, 0.0792206451, 0.3142679632, 0.5237857699, -0.1720253974, -0.518899262, 0.2011336535, 0.0537243485, 0.0740151182, 1.1870061159, -0.9497861862, 0.3629907072, 0.5628620982, 0.4557530284, 0.6124068499, 0.3905241489, 0.5549532175, -1.3053210974, 0.2198485881, 0.056834992, 0.421410799, 0.074877888, -0.5380606651, 0.4798606038, 0.5474426746, -0.3843738437, -0.7286188602, 0.5643266439, -0.8289638758, -0.4110597372, 0.7454062104, -0.1136043146, -0.2691586912, -0.1169528291, -0.4114061892, 0.4750221074, -0.4902645051, 0.4290021658, 0.1113418266, -0.8471308947, -0.1696574539, 0.1957844049, 0.6589323878, 0.2736223638, -0.5332999229, 0.0403273739, 0.3924856186, 0.2392293215, -0.0906186178, 0.9585205913, 0.3574010134, 0.3830753565, -0.054006137, -0.440777272, -0.6491740942, -0.8120746613, -0.3902337849, 0.340324074, -0.2698037028, -0.152970165 ]
http://arxiv.org/abs/2402.10379v2
http://arxiv.org/pdf/2402.10379v2
DataDreamer: A Tool for Synthetic Data Generation and Reproducible LLM Workflows
2024-02-16T00:10:26
2024-05-27T19:54:44
Ajay Patel, Colin Raffel, Chris Callison-Burch
cs.CL
cs.CL, cs.LG
Large language models (LLMs) have become a dominant and important tool for NLP researchers in a wide range of tasks. Today, many researchers use LLMs in synthetic data generation, task evaluation, fine-tuning, distillation, and other model-in-the-loop research workflows. However, challenges arise when using these models that stem from their scale, their closed source nature, and the lack of standardized tooling for these new and emerging workflows. The rapid rise to prominence of these models and these unique challenges has had immediate adverse impacts on open science and on the reproducibility of work that uses them. In this paper, we introduce DataDreamer, an open source Python library that allows researchers to write simple code to implement powerful LLM workflows. DataDreamer also helps researchers adhere to best practices that we propose to encourage open science and reproducibility. The library and documentation are available at https://github.com/datadreamer-dev/DataDreamer .
[ 0.0669520274, -0.5065028071, 0.3842199743, 0.392806977, -0.0847529545, -0.0425939225, -0.2844444215, -0.2723579109, 0.2169580758, 0.7268753648, -0.3406897485, -0.4620148838, -0.372076124, 0.2589477301, -0.7456564903, 0.9542348981, -0.3745429814, -0.0458095483, -0.3075000346, 0.1180586368, 0.0863258615, -0.8120940328, -0.5418977141, -0.4440506399, 0.7940319777, 0.1552333236, 0.9441021681, 0.7522069216, 0.7538478374, 0.244306609, 0.0309894569, 0.1386886984, -0.6882665157, 0.6049670577, -0.3322883546, -0.4291530848, -0.3175157309, -0.0921382159, 0.655649364, 0.7151200771, -0.4537608624, 0.3726632297, -0.2360545844, 0.689776063, -0.4144363999, 0.1480450928, -0.7139521837, 0.0273446478, -0.6989722848, -0.21196872, -0.1442261636, -0.7650651932, 0.1507559419, -0.3971346915, 0.5042151809, 0.087431863, 0.4540105164, 0.3694183528, 0.2155892551, -0.1987737119, -1.168174386, 0.7306697369, -0.8465721011, 0.3292381167, 0.1209728718, 0.4830199182, -0.6754150391, -0.9189668298, -0.7796653509, 0.0686215535, 0.1745216399, -0.3585646152, -0.505620122, -0.2529977858, 0.3808116615, 0.4450788796, -0.6168762445, 0.1105175987, -0.7409754992, 0.1019762531, 0.5467792749, 0.5532812476, 0.0354518741, 0.2133837938, 0.1574269831, 0.0693942308, -0.7658101916, -0.3862915039, 0.3623551428, 0.316931814, 0.062212307, 0.9601008296, -0.168983072, 0.7029306293, -0.3411974311, -0.0170920547, 0.285884887, -0.0923506469, -0.2746590376, 0.0795090273, 0.8698780537, 0.1750890315, 0.1394934356, -0.3779059649, -0.2215298712, 0.0854205415, 0.3412024975, -0.9228636026, -0.2855382264, 0.6813959479, -0.1867506802, -0.5020383, -0.160589844, -0.7975206375, -0.4437873363, -0.3218224049, -0.0354951695, -0.1145431027, -0.4233874083, 0.2550557256, -0.1783214808, 0.0934228078, 0.4470973313, -0.6101702452, 0.1329710484, 0.9026340246, 1.238620162, -0.4517471492, -0.43740049, -0.0929211453, 0.0161028057, -0.6396312714, 0.3482876122, -0.4737195671, -0.1103524417, -0.0305870753, -0.0082359314, -0.1062216312, -0.6257657409, 0.4366485775, -0.6619514227, 0.1211069897, 0.3762424588, -0.5145516992, -0.0554550253, 0.0529173203, -0.9332300425, 1.1448690891, 0.2844862044, -0.8016494513, -0.0274959132, -0.8439821005, -0.0847956911, 0.129091233, -0.0169229321, -0.4159553647, 0.2821525037, -0.1520731151, 0.5059565306, -0.3765572309, 0.4837374389, -0.3146041632, -0.2944526374, 0.5000710487, -0.3860371709, 0.6638893485, 0.2468021959, -0.0192782506, 0.2034535557, -0.8114278913, 0.0672110543, 0.3254119456, -0.2502777576, -0.1921419352, -0.0539890714, 0.1977785528, 0.0449963324, 0.0044542439, -0.7476679683, 0.3357433677, -0.4045790136, 0.6780438423, 0.5525268316, -0.1913145036, 0.1747582108, -0.6612583399, 0.637301445, -0.0582542345, -0.0333483145, 0.0675316304, -0.4459498525, -0.4901550412, -0.4021189213, 0.1016444042, 0.3555110693, -0.6421251893, 0.269849062, -0.4299557805, -1.0414372683, -0.8277537823, 0.1639137864, -0.0390867889, 0.3695922196, 0.1041066721, 0.1266261041, -0.9296819568, -0.463506043, 0.0780989379, 0.0384785868, -0.2175323963, 0.0301343892, 0.6765451431, -0.5061222911, 1.0522851944, -0.4377236962, -0.0860638693, -0.2722992003, -0.044914864, 0.678748548, 0.4792073369, 0.376018852, -0.514714241, 0.004319109, -0.3788509667, -0.8038608432, -0.1726061851, 0.1902505606, -0.165366739, 0.3356223404, 0.1930852085, -0.9300044179, 0.2560246885, 0.7953009009, 0.0595800318, 0.8088065386, -0.1375545263, -0.1346991062, -1.1465821266, 0.2557091713, -0.0976554975, -0.103015691, -0.7627691031, 0.0229975879, -0.2599403262, -0.4309071004, -0.5738916397, 0.5222736001, -0.0708572865, -0.0094307875, -0.3475566208, -0.0768057406, 0.0332610197, -0.218400687, 0.4183849096, 0.7963293791, 0.7228161097, -0.5666154623, 0.7926444411, 0.275647819, -0.4972336888, 0.1240020245, -0.9949586987, 0.4249448478, -0.1094602346, 0.3010002673, -0.4637444019, -0.4061596394, 0.4101982415, -0.2816137671, -0.1745957434, -0.3154543936, -0.8361378312, -0.5669536591, -0.2761986852, 0.3113464415, 0.5156520009, -0.8089787364, 0.2225227952, 0.3295599222, -0.2403768599, -0.305734694, -0.5482771397, 0.1874371469, -0.3293317258, -0.7515406013, 0.3608818352, -0.1111364737, -0.4525105357, -0.1064280197, 0.0846472159, -0.2238215953, -0.1758015901, 0.3646344244, 0.3968505263, -0.1676514, -0.0278231613, -0.3835045993, -0.0459544696, 0.2717733979, -0.4231219888, 0.5047917366, 0.0587523729, -0.3676476181, -0.2544113696, 0.1688895077, 0.8107972145, -0.0883137062, 0.756812036, 0.3248381019, -0.5396487713, -0.4867314398, -0.2788740396, -0.1136873737, -0.4942506552, 0.0986650214, -0.0746512562, -0.8061085939, 0.3125641644, -0.234166503, 0.3958622813, -0.1344078481, 0.8421314359, -0.0567049049, 0.4603639841, 0.5092933774, -0.0878665224, 0.2001318783, -0.2128655761, 0.3941331208, -0.8275201917, -0.2075982988, -0.6547600627, -0.239142403, -0.4203914106, -0.9554960132, 0.2033356875, -0.011865194, -0.080661118, 0.3055081666, -0.7631385922, 0.390206039, 0.5783703327, -0.1445106417, 0.2493116856, 0.006021149, 0.3157880902, -0.1768098772, -0.6811664104, -0.9236650467, 1.2453950644, 0.2198939025, 1.330658555, -0.0385706685, 0.8235828876, 0.2053902298, 0.1551439613, -0.706125319, 0.3913028836, 0.1562066972, -0.4432502687, -0.3189888895, -0.351965487, -1.2047359943, 0.19470945, 0.1244622916, -0.7531639934, 0.0220867004, 0.2354964912, -0.0757957622, 0.4653641582, -0.0325375311, 0.5935446024, -0.0748264119, -0.384557128, 0.2727288902, -0.2349324524, 0.3524862528, -0.327953577, 0.0709959716, -0.2332628965, 0.1821603924, 0.7986373305, -0.4921551943, 0.7591239214, -0.0873606578, -0.2540587783, 0.2513409555, 0.3104843795, 0.676538527, 0.0143819777, -0.4622191787, 0.5611721277, 0.0089847958, -0.1616910994, -0.4333949387, 0.8970134258, -0.517463088, -0.502122283, -0.5753781796, -0.8993059397, 0.1958694756, 0.0668222979, -0.0842075199, 0.2409826368, -0.1450509131, 0.1698274314, 0.54959023, -0.1891897619, 0.1917392761, 0.591609776, -0.5045773387, -0.375472188, 0.8052129745, -0.0626752302, 0.1531700939, 0.1111046895, 0.2198357284, -0.0852608904, -0.7977380753, -0.3211238086, 0.1469067633, -0.3619857132, -0.139488712, -0.5508829355, -0.3603900969, -0.4181030691, -0.2617253363, -0.5651993155, -0.6416673064, -0.2835351825, -0.0950754806, 0.7988715172, 0.6801249981, -0.1752984524, 0.073570393, -0.6069182754, 0.3895790279, -0.3562202454, 0.1588299572, -0.3139556646, -0.3513543904, -0.1308784932, 0.1261298358, -0.0655585974, -0.3778707683, 0.6706931591, -0.0678410232, 0.4569987953, 0.0225210115, 0.2507891953, 0.3990102112, -0.5397314429, 0.713774085, -0.1486341953, -0.5304691195, 0.596183002, -0.2422025353, 0.1269789636, 0.186230123, 0.5732690096, -0.5700811148, -0.6717398763, -0.3794936538, -0.9381746054, 0.5525086522, 0.4722331464, 0.0492042936, 0.2248615324, 0.2342308164, 0.3038876057, 0.3374142647, -0.3964264691, -0.1857797205, -0.254491061, -0.2676370144, -0.0177035779, 0.0583821312, -0.3193035722, -0.2029384077, 0.7152345777, -0.0128218066, 0.1649268568, 0.2333264053, 0.0314601064, -0.1626883447, 0.2950853109, 0.3855922222, 0.825204134, -0.4783623219, 0.1529223174, -0.3219384849, -0.5071383119, 0.1603417248, 0.3132281899, -0.6491238475, 0.3603254259, 0.2419838756, 0.4475565553, -0.1664195955, -0.6948621869, 0.1440716982, -0.0402530581, -0.1899141371, -0.5984922647, 0.1880073398, 0.1868448853, 0.3056186438, 0.1606710702, -0.0238755737, -0.1687112898, -0.2050509453, 0.1284517199, 0.1439006329, -0.0913441405, -0.3144336939, 0.6447799802, 0.0057819537, -0.4829036593, 0.8547535539, 0.0113980649, -0.2826388478, 0.5790698528, 0.7624693513, 0.8224002719, -0.0423097312, 0.1118351594, 0.2352267653, 0.3703109324, -0.2114911228, 0.5798963308, 0.4228522778, -0.7700737715, -0.2061246037, -0.800772965, -0.8212814927, 0.4189502597, -0.5304399729, 0.1410936564, -0.3777612746, -0.0468882397, 0.355855912, -0.3611608446, -0.7038988471, -0.3064314723, 0.008190793, 1.1195734739, -0.4776533544, 1.0178377628, 0.7399600148, -0.0368039496, -0.538435936, -0.2634358704, 0.2538278997, -0.5485044718, 0.7349241972, 0.1528036445, -0.0846200883, 0.0483867899, -0.5643342733, -0.9014785886, 1.1397851706, 0.5199171901, -0.6197371483, 0.0500682332, 0.4725750089, 0.7332497835, -0.4615665674, 0.1672286093, 0.4411989152, 0.3808669448, 0.2524141967, -0.8884481192, 0.0719957128, -0.2031160742, 0.1957306713, 0.1368424296, -0.2459953725, 0.7530245185, -0.4493684769, -0.1225215867, 0.1854300946, 0.4479462504, 0.6459849477, 0.3223356307, -0.0145195276, 0.5282436013, 0.8955342174, -0.1569773257, 0.8513112068, -0.2847401202, 0.2135114223, 1.2953232527, -0.7324179411, 0.76921767, 0.6761318445, -0.2284810245, 0.3523211479, 0.3696547449, -0.3625642061, 0.3472590446, 0.8044478893, -0.3765991628, 0.2455857247, -0.2314331383, -0.2248307914, 0.2685880065, 0.4067152739, -0.4181236327, -0.4216633141, 0.0512220487, 0.1273770481, -0.0395493023, -0.1288409084, 0.4752484262, 0.094866246, -0.3728984594, 0.6556236744, -0.0892838836, 0.6001337767, -0.7253560424, -0.2365567833, -0.1543141603, 0.4437329769, -0.3025707304, -0.9146652818, 0.6104739308, 0.4321815968, -0.2633747756, -0.2414491773, 0.6879168749, -0.3808420897, -0.5829927921, 0.1767134517, 0.3544565439, 0.5729364157, -0.0676804781, -0.5398430228, 0.3723146915, -0.3306644261, -0.4777586162, 0.137423411, 0.5046259165, 0.0907485262, 1.1496815681, 1.071269989, 0.5151380897, 0.2357230783, 0.0746650025, 0.9133301973, -0.7160550952, 0.069093205, -0.9935953617, 0.077790454, 0.0847241282, -0.1123660728, 0.7410972118, 0.9156187773, 0.9286745191, -0.2448049486, 0.9763367176, -0.2492115498, 0.6962083578, -0.2432986051, 0.599821806, 0.0303255729, 0.235541448, -0.0176119227, -0.8159597516, -0.2859850824, 0.4822098613, 0.0686940253, -0.4791761041, 0.4452513158, 1.1653629541, -0.0781838223, 0.0516814813, 0.0720893666, 0.1042535529, 0.5570142269, 0.444146812, 0.9165267348, -0.1152092591, 0.5019099116, -0.637947619, -0.1465074867, -0.0305858254, -1.084151268, -1.0104449987, -0.3116475642, -0.4127990901, -0.4397106767, 0.1774222404, 1.1005612612, 0.6516535282, -0.7426162958, -0.4004933834, -0.247557655, 0.1393428445, -0.2575837076, -0.284809202, 0.1673959345, -0.0530138463, -0.7745983005, 0.5340350866, 0.1304838359, 0.1673467308, -0.4922532141, -0.0260533132, 0.1866634041, 0.1121604666, 0.3717915416, 0.3899016678, -0.542026937, 0.1824290454, -0.1563498974, -0.216249451, -0.1274336129, 0.9287460446, -0.5542078614, 0.3625302911, 0.424807936, 0.6245573759, 0.3367384672, -0.1810680926, 0.8900177479, -0.5210245848, 0.0314849094, 0.4116697013, 0.3600815833, 0.3630798459, -0.3999292254, 0.8613420129, 0.1498071849, -0.6962540746, -1.1286090612, 0.0031608203, -0.8865894079, 0.1525438875, 1.1040444374, -0.2807381749, -0.3055613339, -0.0855979994, -0.1279059947, 0.0227978155, -0.4460809529, 0.8442221284, 0.4363779426, -0.2059694231, -0.0380752385, -0.7430614233, 0.459205687, -0.2809698284, -0.9217613935, 0.5838538408, 0.371229142, 0.390401274, 0.1609277874, 0.6184385419, -0.2676282823, -0.0867145285, 0.0110352086, 0.2364559919, -0.4969545007, -0.2561255395, -0.1541000009, -0.1081105173, -0.0169832055, -0.1053038314 ]
http://arxiv.org/abs/2402.10373v2
http://arxiv.org/pdf/2402.10373v2
BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domains
2024-02-15T23:39:04
2024-06-09T15:19:09
Yanis Labrak, Adrien Bazoge, Emmanuel Morin, Pierre-Antoine Gourraud, Mickael Rouvier, Richard Dufour
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have demonstrated remarkable versatility in recent years, offering potential applications across specialized domains such as healthcare and medicine. Despite the availability of various open-source LLMs tailored for health contexts, adapting general-purpose LLMs to the medical domain presents significant challenges. In this paper, we introduce BioMistral, an open-source LLM tailored for the biomedical domain, utilizing Mistral as its foundation model and further pre-trained on PubMed Central. We conduct a comprehensive evaluation of BioMistral on a benchmark comprising 10 established medical question-answering (QA) tasks in English. We also explore lightweight models obtained through quantization and model merging approaches. Our results demonstrate BioMistral's superior performance compared to existing open-source medical models and its competitive edge against proprietary counterparts. Finally, to address the limited availability of data beyond English and to assess the multilingual generalization of medical LLMs, we automatically translated and evaluated this benchmark into 7 other languages. This marks the first large-scale multilingual evaluation of LLMs in the medical domain. Datasets, multilingual evaluation benchmarks, scripts, and all the models obtained during our experiments are freely released.
[ 0.1627403796, -0.5311164856, 0.8449060321, 0.0426671803, -0.3829845488, 0.1745100319, -0.2977406979, -0.5163659453, 0.2031077147, 0.5065852404, -0.5225526094, -0.7911731005, -0.5572603941, 0.4146843553, 0.0725965127, 0.9580975771, -0.1816861928, 0.8066926003, -0.5604143143, -0.516754508, -0.0163369551, -0.8401534557, -0.5292751193, -0.4153577089, 0.3989648819, -0.4148325026, 0.5127916336, 0.2871160805, 0.6053261757, 0.334366858, -0.1041446999, -0.0292736478, -0.3442005515, 0.3363765478, -0.665604353, -0.3603522778, -0.4746935666, -0.2882528007, 0.5521328449, 0.7713692784, -0.3208411336, 0.4572930038, -0.1308217645, 0.6365549564, -0.4469618201, 0.105497539, -0.3619346023, -0.1254855841, 0.0248795059, -0.0067338455, -0.0788664967, -0.5598938465, 0.1915638, -0.5108256936, -0.0355709866, -0.2819748819, 0.3707313836, 0.3847801387, -0.3065645397, -0.0453313328, -0.6838020682, 0.6621150374, -0.6745551825, 0.7733235955, 0.143822968, 0.6111962795, -0.0520008057, -0.9699327946, -0.0719790459, -0.0618439019, 0.3649786711, 0.1615720987, -0.5811192393, 0.1578769833, -0.3118988574, 0.2096691728, -0.7436514497, -0.1805542111, -0.5211445093, -0.2272952646, 0.3511529565, 0.2545058131, 0.3265703619, 0.1312310696, -0.1052569672, 0.05986486, -0.620788455, -0.0641552806, -0.4304902554, 0.2312627435, -0.2160184532, 0.6009426117, -0.1166888997, 0.4452158511, -0.1428943276, -0.2490439713, 0.2352006286, -0.5094245672, -0.2676735222, 0.1179172173, 0.8205142617, 0.1410312057, 0.0802957267, -0.2506392896, 0.0024963073, 0.0043813316, 0.2168878615, -1.069791317, -0.2031245828, 0.723775208, -0.5242339969, -0.0818915218, -0.5315321088, -0.3852957487, -0.4007149041, -0.2301576436, 0.4427482486, -0.5316738486, -0.1437709779, 0.3844757676, 0.1314400584, -0.0515660979, 0.3867043257, -0.3383921385, 0.3467696607, 0.6195077896, 0.9172174335, -0.1558399051, -0.1111173704, -0.2197637409, 0.1659564078, -0.2884635031, 0.8303705454, -0.4427997172, -0.4264656007, -0.1350383908, 0.2926594317, 0.0222686492, -0.7400771379, 0.1744940579, -0.460675925, 0.1329704672, -0.134164229, -0.3268263042, -0.0348056108, 0.0813195556, -0.5502296686, 0.6177548766, 0.3669891655, -0.6421636343, 0.0349095762, -0.4796979725, -0.3331997693, 0.3156890869, -0.2731578648, -0.2504950166, 0.1800810844, 0.103485547, 0.1588359624, -0.7834140658, 0.3719139695, -0.3503127694, -0.1040147245, 0.4991374612, -0.1923012286, 0.951023221, 0.1966629028, -0.0700525045, 0.4092060328, -0.6202255487, 0.1683761925, -0.0016252622, -0.2955640256, -0.5571959019, 0.0966417566, 0.0736030638, 0.1704896837, 0.382452637, -0.6734896898, 0.0335659049, -0.7468412519, 0.7037649751, 0.5150984526, 0.1362336278, 0.1664918363, -0.2860075235, 0.8066546321, -0.1213787869, 0.2682591975, 0.1715101004, -0.3323992491, 0.0112425415, -0.7689365149, 0.2710109651, 0.70247823, -0.7967382669, 0.2085956484, -0.3229633272, -0.6906380653, -0.9863325357, 0.178601265, 0.4567444623, 0.2610635161, 0.4197869003, -0.0215984192, -0.1940460354, -0.7860509157, -0.3076022565, -0.2034350932, -0.074740231, 0.2543297112, 0.47815907, -0.7235411406, 0.6182892919, -0.406601131, -0.0755274892, -0.0629522949, -0.2606244385, 0.4503604174, 0.1953892559, 0.5443091989, -0.4046875536, -0.269285351, 0.2790748179, -0.7593562007, -0.192866832, 0.4947866499, -0.3302204013, -0.1551294178, 0.4249364436, -0.66667521, -0.0054359268, 0.9579717517, -0.1534190476, 0.5249471664, -0.400662452, 0.1896589249, -1.5184402466, 0.3986831009, -0.0765315741, -0.4598854184, -0.4831010997, 0.4473319352, 0.0929689333, -0.5520539284, -0.7406642437, 0.849450171, -0.2252492905, 0.1645379663, -0.1566164941, -0.2722461224, -0.0547579862, -0.0013753556, 0.1276242435, 0.8879220486, 0.6176187992, -0.4797623158, 0.4754968286, 0.3445562422, -0.2685230076, 0.6746149659, -1.0704848766, -0.1088650227, -0.3004571199, 0.3467742801, -0.7988875508, -0.3777247965, 0.1987132579, -0.2721995413, -0.1120845675, -0.0785676911, -0.2881243229, -0.373862952, -0.2626002431, 0.606066525, 0.5674881935, -0.3350929916, 0.6414582133, 0.2900275588, -0.6346188188, -0.2733222246, -0.6511262059, -0.2193160057, 0.2439277917, -0.2892799377, 0.2506086528, -0.3053206205, -0.3406865895, 0.0392802842, -0.2170238644, -0.3921519518, -0.0012940173, 0.2843260765, 0.2526175082, -0.4576803744, 0.3212489188, 0.4091204107, 0.05145007, 0.1780915409, -0.4400737584, 0.3501425385, 0.0358270258, -0.5326094627, -0.3242771626, 0.2512454987, 0.8837245107, -0.449549675, 0.7898051143, 0.1781759709, -0.5291383862, -0.04570264, -0.2991840541, -0.0673464835, -0.4273183048, 0.6560891271, -0.0824137479, -0.9429293871, 0.3404911757, -0.3901774585, -0.0035438156, 0.3867231607, 0.780230701, -0.0029552227, 0.9523922205, 0.4805840254, -0.0482215136, -0.1773104668, 0.2545039952, -0.0815364495, -0.4553145766, -0.2506382763, -0.6218816638, 0.0724581182, -0.422082752, -0.6054490805, 0.9529135227, 0.0470955558, -0.3289578259, 0.0103503736, -0.4981676936, 0.275403887, 0.073375769, 0.4617542624, 0.2790849805, 0.1764824241, -0.3355973363, 0.0108563676, -0.5826264024, -0.3428512514, 1.0776195526, 0.3536750376, 0.8961035013, 0.363781929, 0.5478064418, 0.0019660476, 0.5480961204, -0.659348011, 0.2384821624, -0.4280534983, -0.7208749056, -0.1783646792, -0.4739868939, -1.1212005615, 0.2718097568, -0.2816654146, -0.4949495792, 0.0047644526, -0.0447934307, -0.5489563346, 0.1569736302, -0.2628426254, 0.7695100904, -0.4623323977, -0.3811391294, -0.218749851, -0.5046025515, 0.2391924709, -0.6687139869, 0.4378470778, -0.1736590862, -0.1949771494, 0.4039655924, -0.5211256742, 0.7974503636, -0.0314517766, -0.3386228979, 0.0327552631, -0.0024978621, -0.0752743781, 0.1276843101, -0.230594486, 0.5116881132, 0.7698757648, -0.4122965634, -0.2624261677, 0.5775176287, -0.9985141754, -0.4062096477, -0.4788280129, -0.1709208786, -0.4573408961, 0.3490038514, 0.2641397417, 0.4693536162, -0.6611654162, 0.123069562, 0.7070599198, -0.8104650378, -0.1467210799, 0.8573252559, -0.5033010244, -0.8525745869, 0.7385060191, -0.3267469406, 0.1668654978, 0.4373763502, 0.2634807527, -0.4163329005, -0.3602695465, -0.576767683, 0.5443904996, -0.6017215848, -0.2552187443, -0.7707765698, -0.3511562347, -0.6306830645, -0.0265502315, -0.3316050768, -0.0704798773, -0.0880015343, 0.3072725236, 0.4850239158, 0.7551588416, 0.1871693879, 0.042516645, -1.277441144, 0.4680888653, 0.2470205724, 0.5437950492, -0.2134553641, -0.2618549466, -0.2180892527, 0.0873661414, 0.0283412635, -0.9948834777, 0.3787670732, 0.3907821774, 0.6516703963, 0.1399402022, -0.171473369, 0.228762567, -0.792083621, 0.6804893613, 0.3138128519, -0.6803283691, 0.5370701551, -0.3346289992, 0.5924583077, 0.8073268533, 0.7827342153, -0.3849280179, -0.3984790146, -0.1006772667, -0.6307595968, 0.2680104077, -0.1721244007, 0.168777898, -0.1926182806, 0.4736220539, 0.2729920447, 0.439066112, -0.4722018838, -0.0649336949, -0.0977199599, -0.540986836, -0.327519089, 0.0323559828, -0.192662999, -0.4755598307, 0.4573186934, -0.137870729, 0.2883621752, 0.2810968459, -0.2899248898, -0.1087721288, 0.448594451, 0.4479796886, 0.7077050805, -0.1497250646, 0.014069695, 0.1273717433, -0.7247650027, 0.3519799411, 0.4185269177, 0.1590200961, 0.1450946629, 0.4138326645, 0.3123189509, 0.4436314702, -1.1475324631, 0.6245520711, 0.0540737621, -0.2463795245, -0.1033232883, -0.2118565738, 0.3140664399, 0.4724628627, 0.1814564466, -0.1813211292, 0.132771045, -0.4375547767, 0.1087591872, 0.4404652715, -0.4458162189, -0.5628527403, 0.9790865183, 0.2204185575, 0.0146584194, 0.2451633662, 0.3015882969, -0.4664450884, 0.220909372, 0.6118642688, 0.7734417915, -0.640664041, 0.2069700509, 0.3125138879, 0.1597322673, -0.0910454169, 0.6345969439, 0.168522194, -0.3887665272, -0.7138907909, -0.9442030787, -0.5165259838, 0.0333524495, -0.4964877665, -0.0391852669, -0.5861318707, -0.5473868847, 0.15035142, -0.3556033373, -0.6097674966, 0.117028825, -0.0266356152, 0.9305723906, -0.7383314967, 0.7563745975, 1.2584557533, -0.4045038521, -0.3933062851, -0.243165195, -0.1655801386, -0.9489190578, 0.6555652022, -0.3234190047, -0.1520521641, 0.0604341701, -0.5740603805, -0.8246551752, 0.9814158082, 0.7043063641, -0.5376771688, -0.1651736945, 0.3362468779, 0.8423672915, 0.0174275897, 0.0929402784, 0.2187792957, 0.1552396864, -0.1743131131, -0.986656189, 0.1128919125, -0.3470824361, -0.1232897118, 0.1583388448, -0.5691510439, 0.8682115078, 0.0106347948, -0.0203493591, 0.4203030467, 0.2433230877, 0.5157737136, 0.1776730865, -0.0107971206, 0.2878445685, 0.7629464269, 0.1578997374, 1.225894928, -0.7461490035, 0.1028461084, 0.716953218, -0.6476625204, 0.8860368729, 0.1520868689, -0.4841282964, 0.5061243773, 0.4468468428, 0.2561582029, 0.5151561499, 0.2271712124, -0.6380254626, -0.2552035153, -0.2817206085, -0.6601649523, 0.2005725056, 0.2975036204, -0.3751339614, -0.2466531098, 0.1878990829, -0.0787551627, 0.0579940006, -0.4551928639, 0.7976615429, 0.3416067362, -0.2221630812, 0.7387922406, 0.0598412417, 0.3969347179, -0.8117212653, -0.0313324928, -0.1055930182, 0.239365533, -0.0140852556, -0.4345547557, -0.0538544357, -0.0300103016, -0.1974216849, 0.0714612156, 0.8180651665, -0.5470998883, -0.6559336782, 0.3535075784, 0.8864212632, 0.3176616132, -0.1438865513, -0.7249483466, -0.002570292, -0.2928317487, 0.1634209752, 0.2981776595, 0.521040082, -0.1297395229, 0.6132273078, 0.6135036945, 0.4881549776, -0.264868021, -0.0266407859, 0.7534321547, -0.5695319772, -0.3180518746, -0.7287986875, 0.1227563024, 0.3722212613, -0.1366618723, 0.4712257385, 0.5574889779, 0.4250870943, -0.3381685913, 0.9603117108, 0.6509537697, 0.6453945637, -0.4200986922, 0.9955096245, -0.7066384554, -0.1653133482, -0.1723573357, -0.839050889, -0.2090403289, 0.312155962, -0.0297389999, 0.1098556966, 0.819558382, 0.4093286395, -0.002444746, -0.2526715398, 0.3295740187, 0.3277449608, -0.0518109165, 0.7113162279, 0.721570909, -0.1097096354, 0.122164987, 0.0650505126, -0.3174591064, -0.1223753169, -0.6236661077, -0.9194453955, -0.2947677374, -0.2177944034, -0.4499122202, 0.415040344, 1.3183636665, 0.5830127001, -0.9462551475, -0.1060027182, 0.3091826737, -0.419090122, -0.1449995339, -0.055743739, 0.3047740161, 0.0067535527, -0.355376035, 0.5819299817, 0.3756100833, 0.2237606794, -0.2788828909, -0.0616731457, 0.1314440519, 0.390394181, 0.8079811335, 0.3615446985, -0.6337639689, 0.0902802646, 0.3015857935, -0.4595155716, -0.1770693362, 0.6244297028, -0.7819091082, 0.399099797, 0.2282660306, 0.9993882775, 0.1665267944, -0.1172663271, 0.6964815259, -0.3173660934, 0.0494173542, 0.143674463, 0.2524774373, 0.2142582834, -0.1290305555, 0.4249251485, 0.218190074, -0.2807912827, -0.7024413347, -0.143780455, -0.7980935574, -0.7503709197, 1.1647098064, 0.0549248606, -0.4153770804, -0.0331405587, -0.2208244652, 0.2615300417, -0.0277737975, 0.3973862231, 0.4957108498, 0.1395116746, 0.1476014405, -0.5368625522, 0.3434300125, 0.3309581578, -0.9928356409, -0.0537834242, 0.6231645346, 0.5989617705, -0.1415547431, 1.0208890438, -0.4055237174, 0.3960476518, -0.4295675457, 0.4518646896, 0.2085446864, 0.0060809846, -0.7103489041, 0.0329575092, 0.3342168033, 0.3027704954 ]
http://arxiv.org/abs/2402.10359v2
http://arxiv.org/pdf/2402.10359v2
Can we Soft Prompt LLMs for Graph Learning Tasks?
2024-02-15T23:09:42
2024-03-16T19:56:04
Zheyuan Liu, Xiaoxin He, Yijun Tian, Nitesh V. Chawla
cs.LG
cs.LG, cs.CL
Graph plays an important role in representing complex relationships in real-world applications such as social networks, biological data and citation networks. In recent years, Large Language Models (LLMs) have achieved tremendous success in various domains, which makes applying LLMs to graphs particularly appealing. However, directly applying LLMs to graph modalities presents unique challenges due to the discrepancy and mismatch between the graph and text modalities. Hence, to further investigate LLMs' potential for comprehending graph information, we introduce GraphPrompter, a novel framework designed to align graph information with LLMs via soft prompts. Specifically, GraphPrompter consists of two main components: a graph neural network to encode complex graph information and an LLM that effectively processes textual information. Comprehensive experiments on various benchmark datasets under node classification and link prediction tasks demonstrate the effectiveness of our proposed method. The GraphPrompter framework unveils the substantial capabilities of LLMs as predictors in graph-related tasks, enabling researchers to utilize LLMs across a spectrum of real-world graph scenarios more effectively.
[ -0.0820555612, -0.9104205966, 0.7833139896, -0.2162237763, -0.3831351995, 0.223682642, -0.2538504899, -0.1846818328, 0.0986259058, 0.1876512468, -0.8467194438, -0.6027670503, -0.5640416741, 0.3222782016, -0.0686540678, 1.0002676249, -0.2161101401, 0.1797094643, -0.348932147, 0.0611257963, -0.5946855545, -0.2253572792, -0.7440225482, -0.5520782471, 1.0168642998, 0.3159373999, 0.4483739138, 0.2970725894, 0.2221281826, 0.4064804912, -0.0897625163, 0.5140525699, -0.5653175116, 0.4013786614, -0.1329458505, -0.4510935247, -0.2746495605, -0.0130460206, 0.5175518394, 1.1975541115, 0.3362575471, 0.0294845253, 0.5516024232, 0.4925419092, -0.1727390736, 0.637196362, -0.4522862732, -0.0816340372, -0.0244846344, -0.0657609999, -0.4045649171, -0.4791302383, -0.0418269262, -0.6559967399, 0.3542383313, 0.2219850868, 0.7906501293, 0.0835747793, -0.5764178038, -0.1530244499, -0.4364275932, 0.2252546698, -0.3046628833, 0.3797852695, -0.0356546976, 0.3071163297, -0.4751881063, -1.0886005163, -0.5373676419, -0.1193874553, -0.0423118807, 0.1059320644, 0.0035460335, 0.2078423947, 0.1584019959, -0.0062669404, -0.4763692617, 0.2905783355, -0.136319235, -0.3724063933, 0.2029018998, 0.4008289576, 0.3250361979, -0.2405119389, -0.204900071, 0.0086678164, -0.6375110745, 0.1058922261, 0.2826604843, 0.7588137388, 0.0720128417, 0.5638958812, 0.0929778293, 0.8161398172, 0.0700168312, -0.074344039, 0.3172138035, -0.169670552, 0.0672263876, 0.0418003872, 0.9251294732, 0.2972744405, 0.5780264139, -0.375705421, -0.2673383951, 0.156549409, -0.1132527143, -0.8570894599, -0.2609486878, 0.1563361138, -0.2732415199, -0.0051262719, 0.0446258485, -0.5465540886, -0.6637666821, -0.3472247124, -0.0360561423, -0.3705609143, -0.3071384728, -0.0715075582, -0.2476007044, -0.3462640047, 0.4565738142, -0.5219643712, 0.3182387054, 0.8069932461, 0.9743674397, -0.1430452168, -0.3497531712, -0.7274989486, 0.0873751268, -0.2304084748, 0.7798979878, -0.4621627033, -0.1718665212, 0.1790858358, 0.3949454129, -0.4569975138, -0.4153053164, 0.3194748461, -0.469478488, 0.0608903095, -0.1639945358, -0.6165805459, -0.1242852882, 0.4289138615, -0.8240061402, 0.7287547588, 0.3796252012, -0.8050435781, 0.2330331057, -0.1660347581, -0.5975577831, 0.3854223192, -0.350741297, -0.3950725496, -0.1280104071, -0.1027909741, 0.7023326159, -0.1178988665, 0.5203757882, -0.4209245443, -0.426908344, 0.4374523759, -0.313102901, 0.3842006028, -0.0395774022, -0.2592079043, 0.37220788, -0.3412147462, -0.0942216292, 0.2685279548, -0.2236515433, -0.1001360789, 0.0584329441, 0.0846779794, 0.1959117055, 0.2773904502, -0.5217027664, 0.1992335618, -0.4527987838, 0.6381912827, 1.0640171766, -0.08985053, 0.3346602619, -0.1557306498, 0.6237077713, -0.1417164505, -0.2164150178, -0.185588181, -0.4426378608, -0.2740736306, -0.2732511759, 0.4231414497, 0.6658177972, -0.7208167911, 0.2062786371, -0.3331800699, -0.2522540987, -0.0289577451, 0.4488432109, 0.3569030166, 0.7630360723, 0.2137111723, -0.0309592392, -0.3916158974, -0.3250638247, -0.1622583717, -0.1089684516, -0.1498710215, 0.678955853, 0.2427432537, -0.1144378707, 0.918540895, -0.7350503802, -0.5516220331, -0.8441367149, 0.0384812802, 0.5107018352, 0.1398500055, 0.3939320445, -0.9198720455, -0.3705337048, -0.3390925825, -0.7821816802, -0.2059919983, 0.1226221919, 0.0741823316, -0.1841240525, 0.7627776265, -0.736610949, -0.0828279927, 0.3879228532, -0.5259276032, 0.4872478247, -0.0070670862, -0.2881993651, -1.0110225677, -0.1135400757, 0.2526047826, -0.4770103693, -0.3208731115, -0.3164400756, -0.0612686761, -0.2816531956, -0.4281937778, 0.6759669185, -0.4775048792, 0.183450371, -0.2005937546, 0.429554075, 0.1339373291, 0.3856859207, -0.2643678486, 0.6809361577, 0.6548886299, -0.5828834176, 0.4487110376, 0.2121383995, -0.1239386499, 0.4628635943, -0.8249151111, 0.103141807, -0.4477290213, 0.6330011487, -1.3405258656, -0.3207038641, 0.4356643558, -0.3187722266, 0.5597686172, -0.2967372835, -0.6416022182, -0.5798329711, -0.2351877689, 0.1905907691, 0.348570317, -0.3304313719, 0.8315728307, 0.1704274714, -0.2380059361, -0.2379392684, -0.3005244136, 0.0717477202, -0.0656198859, -0.525146544, 0.3091440499, -0.0916833505, 0.102930136, 0.1616549939, -0.0562070496, 0.1524834633, 0.1891833395, 0.6848512292, 0.409815222, -0.2083697319, 0.1918317974, -0.162838012, -0.5290081501, 0.1306707263, -0.6307733655, 0.6213729978, 0.0239795242, -0.4009143412, -0.2475036979, -0.0939541757, 0.2364225984, 0.0062795808, 0.4385938644, 0.7428722382, -0.338388145, -0.1423388869, -0.2040933818, -0.3292512, -0.5780783892, 0.4445301294, -0.3112618029, -1.1057364941, 0.4370798767, -0.8274627328, -0.3468184471, 0.1093043983, 0.1264315993, -0.2870235145, 1.4038534164, 0.4769346416, -0.1334433258, 0.5961015224, -0.3667081594, 0.3543106616, -0.7746306062, -0.5295643806, -0.3356759846, -0.570114255, -0.4213770926, -0.0123142097, 0.4006128311, 0.1665788144, -0.2787351906, 0.0648107082, -0.4752426147, 0.4117240012, 0.2804082632, 0.5247784257, -0.230571121, 0.0344221294, -0.3342582583, -0.0150647396, -0.8191440701, -0.4346889257, 0.5862997174, 0.1537005901, 0.7776444554, -0.1585130095, 0.4693834186, 0.1682784408, 0.3154262304, -0.9996013045, 0.8319650888, -0.3613794744, -0.0420389883, -0.079609789, -0.4500350356, -1.2984080315, -0.1520552635, -0.068654649, -0.7221549153, -0.0118567711, 0.2422754318, -0.1277825832, 0.2032437623, -0.5022150874, 1.0472385883, -0.196678862, -0.4961053133, 0.3236750066, -0.414274931, -0.1320435852, 0.2244682014, 0.3969953656, -0.5028898716, -0.2091967762, 0.813990891, -0.3371894062, 1.3437292576, -0.374001056, 0.069700636, 0.3598653972, 0.3192440271, 0.720672071, 0.0253704898, -0.2275957316, -0.1757618487, -0.609243691, -0.2162019759, -0.6993958354, 0.6836341619, -0.538176477, -0.6575807333, -0.1683063805, -0.6103925109, -0.3110601008, 0.4994085431, 0.2423585802, 0.768479526, -0.0231180172, -0.1644854099, 0.6218319535, 0.3110652268, 0.2906733155, 0.1761406958, -0.0530716069, -0.347920686, 1.1357593536, 0.156471923, 0.0026259753, 0.1837278605, 0.384845823, -0.5072026849, -0.7193052173, -0.3932337463, 0.3856113553, -0.9131192565, -0.5330533981, -0.7014301419, -0.0222332384, -0.3552335799, -0.3203479648, 0.2822911441, -0.1705146581, -0.6097792387, -0.3784593642, 0.57943964, 0.8503831029, 0.3070718348, 0.2743194401, -0.7694942951, 0.2074649334, 0.2462793291, 0.3090022504, -0.2436962873, -0.2843196094, 0.0684984997, -0.0557091013, -0.0904423073, -0.9750785232, 0.2027042955, 0.3853445053, 0.6686294675, 0.4029217064, 0.1797612011, 0.2129847109, -0.5848687887, 0.7988752127, 0.3383229971, -0.7237203121, 0.5834150314, -0.3584701121, 0.0775464252, 0.5680819154, 0.6450545192, -0.3134813905, -0.4277697504, -0.4138881564, -1.026507616, 0.4116770029, -0.3683438599, 0.5732542276, -0.171868518, 0.6380751133, 0.0324199498, 0.0630980581, -0.6678937674, -0.139177978, -0.31912148, -0.8108656406, -0.0817488432, -0.2119024247, -0.0794141814, -0.0729488209, 0.2395558357, -0.7145674825, -0.031514734, 0.1059270129, -0.1983789057, -0.1665571183, 0.062390551, -0.0822020173, 0.7732958794, 0.0246061459, 0.5659776926, 0.3429922462, -0.3282572627, 0.2815133631, 0.2338892221, -0.1123947874, 0.0105362637, 0.6680531502, 0.756924212, 0.5148966312, -0.7382031679, 0.7777014375, 0.0850880072, -0.1062420607, 0.0598940514, 0.2982842028, 0.3192986846, 0.2195872664, 0.3433209062, -0.186404407, 0.0507311374, -0.423527658, 0.0959984213, 0.4014072716, -0.8191460967, -0.4313955605, 0.7462586761, 0.1201590076, -0.5313487053, 0.7603926659, -0.3368035555, -0.9548052549, 0.7120496631, 0.9718800783, 0.4985111356, -0.0894699395, 0.2544496953, 0.2843516469, -0.2410098016, 0.1791460216, 0.335133642, 0.1467952281, -0.6440435052, -0.3916966319, -0.3984906375, -0.2669862807, -0.1226126254, -0.1886954159, 0.3637271523, -0.572753787, -0.3384864926, 0.065673016, -0.0063763834, -0.6479635835, 0.1142645106, 0.197178334, 0.875690639, -0.9727938771, 0.3767148852, 0.854391098, -0.3756798208, -1.0040324926, -0.2199780047, 0.0480307862, -0.7375491858, 0.8278111815, 0.5260248184, -0.3172161877, 0.2637031972, -0.6705383062, -0.3086881042, 1.1004054546, 0.6510779858, -0.484670192, -0.086301662, 0.1772403568, 0.218105495, -0.3187229633, 0.2033832818, 0.0487293787, 0.5411489606, 0.2414438576, -0.4843783081, 0.6338935494, -0.3666500449, -0.2493753135, 0.1855852902, -0.5461066961, 0.9043514729, -0.3420100808, -0.2582504749, -0.3578391373, 0.7434210181, 0.3379640877, 0.4704141617, 0.7749356031, -0.0996529832, 0.9419530034, -0.0432607681, 0.9438121915, -0.4450285435, 0.0385482498, 0.8889016509, -0.4844359159, 0.3890486658, 0.2042990327, -0.1621678323, 0.8405772448, 1.0085111856, 0.0736793354, 0.3187685311, 0.3883426785, -0.2316928804, -0.4529044628, -0.5682876706, -0.3199880123, 0.040252205, 0.5084343553, -0.1303015649, -0.2435929775, 0.0331487358, 0.1680063307, 0.2026596069, -0.3679682016, 0.7387195826, 0.3085524738, -0.4854744077, 0.3112753928, -0.2477133125, 0.5713687539, -0.7292456031, -0.1698194742, -0.0177852139, 0.2129183859, -0.265219897, -1.0117651224, -0.0270972494, -0.2986890674, -0.0680491328, -0.3469066322, 1.1838668585, -0.2193940878, -0.5324347019, 0.5446383953, 0.562710464, -0.0249667801, -0.1798399091, -0.7870023251, 0.0164350532, -0.3937466145, -0.2364571542, 0.3371066451, 0.772018373, 0.0252652373, 0.6802495718, 0.5947420597, -0.0206665676, -0.3758524954, 0.478838563, 1.2427999973, -0.4122739732, -0.5364643931, -0.938937664, 0.1769744307, 0.0572592393, -0.0284485128, 0.765101254, 0.565273881, 0.4023249745, 0.2677950859, 0.7696518898, 0.1755965352, 0.228039518, -0.5261651874, 0.404884398, -0.3477545679, -0.0007326258, -0.1940309554, -0.7293564677, -0.1632677019, 0.1575732082, -0.3969825804, 0.1188281327, 0.6296858788, 0.7110295892, -0.1908711344, -0.1713722348, -0.1710679084, 0.0425535403, 0.2140492946, 0.5664659739, 0.8287392259, 0.081154801, 0.7397775054, 0.1302599013, -0.2024453282, -0.2156964689, -0.9732626081, -1.007647872, -0.5494262576, -0.3360998034, -0.7495353818, 0.1746223718, 0.9713611603, 0.5658140779, -0.6074604988, -0.0866135731, -0.2779289484, 0.5778630376, -0.1684956253, -0.2534954846, 0.4581061602, -0.499946028, -0.6394011974, 0.4000044167, 0.0320949629, 0.2592233717, -0.1209808961, -0.1468164474, 0.067471303, -0.1776414365, 0.405975461, 0.0690509006, -0.2965510488, -0.2783535123, 0.2070148885, -0.1973876953, 0.0439625494, 1.0746777058, -0.9474161267, 0.0089659402, 0.6756507158, 0.4252189696, 0.4416914284, -0.0762533471, 0.4500185549, -0.7712307572, 0.0750956088, 0.2072385848, 0.5542629361, 0.4990717173, -0.7367799878, 0.3800029159, 0.5030757189, -0.1343195587, -0.8004155159, 0.2586556375, -0.9462082982, -0.5199071765, 1.1154947281, -0.3424516618, -0.6221095324, -0.492852062, -0.2465341985, 0.5415340662, -0.2018233389, 0.2428243607, 0.2814546227, -0.1689185649, -0.117333509, -0.2901820838, 0.177745536, 0.0658078343, -0.6650937796, 0.0588785708, 0.5261201262, 0.4162700176, 0.021323001, 0.7654379606, 0.4169263244, 0.0877626687, -0.0949073434, -0.2750047445, -0.6753064394, -0.4280775189, 0.0479057506, 0.4249083698, 0.1717785746, 0.0678640157 ]
http://arxiv.org/abs/2402.10353v1
http://arxiv.org/pdf/2402.10353v1
Prompt-Based Bias Calibration for Better Zero/Few-Shot Learning of Language Models
2024-02-15T22:54:24
2024-02-15T22:54:24
Kang He, Yinghan Long, Kaushik Roy
cs.CL
cs.CL, cs.LG
Prompt learning is susceptible to intrinsic bias present in pre-trained language models (LMs), resulting in sub-optimal performance of prompt-based zero/few-shot learning. In this work, we propose a null-input prompting method to calibrate intrinsic bias encoded in pre-trained LMs. Different from prior efforts that address intrinsic bias primarily for social fairness and often involve excessive computational cost, our objective is to explore enhancing LMs' performance in downstream zero/few-shot learning while emphasizing the efficiency of intrinsic bias calibration. Specifically, we leverage a diverse set of auto-selected null-meaning inputs generated from GPT-4 to prompt pre-trained LMs for intrinsic bias probing. Utilizing the bias-reflected probability distribution, we formulate a distribution disparity loss for bias calibration, where we exclusively update bias parameters ($0.1\%$ of total parameters) of LMs towards equal probability distribution. Experimental results show that the calibration promotes an equitable starting point for LMs while preserving language modeling abilities. Across a wide range of datasets, including sentiment analysis and topic classification, our method significantly improves zero/few-shot learning performance of LMs for both in-context learning and prompt-based fine-tuning (on average $9\%$ and $2\%$, respectively).
[ -0.3168114424, -0.8008078337, 0.6996157765, -0.0974107236, -0.2906126678, -0.1501134336, -0.3638615608, 0.1095694304, -0.0742709115, 0.0737519041, -0.7684506774, -0.4526915848, -0.3894164264, 0.0998505652, 0.2670879662, 1.0871647596, 0.1371903569, 0.444806695, 0.0050848317, -0.0415753126, -0.8272010684, -0.2483295202, -0.4759677649, -0.2503507435, 0.7588558197, 0.5074906349, 0.2484149635, 0.276527524, -0.0924111977, 0.1424634308, -0.0701363906, -0.0888870806, -0.6272941828, 0.1985764205, -0.3354493082, -0.4882971346, -0.102680102, 0.2105558366, 0.6371033192, 0.747761786, 0.1920095831, 0.329287082, 0.2884004116, 0.5334593654, -0.933765769, 0.0535537302, -0.8178767562, 0.0400518589, -0.221115008, -0.446557045, -0.4675334096, -0.6301529408, 0.1361661255, -0.4267119467, 0.1926233768, -0.1593014747, 0.61195153, 0.5306053162, -0.2580647469, 0.0454575308, -0.5299916863, 0.9122143984, -0.7708301544, 0.2532021999, 0.4885887802, 0.2600981295, 0.0006539617, -0.0047257845, -0.5628944635, -0.284909606, 0.1881608069, 0.1283199191, 0.1118371263, 0.0908191875, 0.5043316483, 0.1116114035, -0.5054455996, 0.1827304512, -0.0722996369, -0.3906890154, 0.1815682054, -0.0700614378, 0.0189814325, -0.1077119485, -0.0240250397, -0.0751015022, -0.9347366691, 0.0715147331, 0.6121325493, 0.6502744555, -0.0592603199, 0.2670547664, -0.1916237026, 0.8025494218, 0.3168566227, -0.0211029798, 0.3754814565, -0.3245971799, 0.0825343579, 0.1500455886, 0.5171636939, 0.2084561586, 0.262263447, 0.1122344583, -0.1990802139, 0.1001497805, -0.0616440326, -0.9063175917, 0.013352057, 0.0276484191, -0.0278212558, -0.2592764795, -0.2516391873, -0.5987727642, -0.3656909466, -0.3928824663, 0.6807588935, -0.2895765603, 0.0125558227, -0.1164519191, 0.1127871126, 0.4132726789, 0.5816745758, -0.8300864697, -0.0706300735, 0.2057230771, 0.8059660792, 0.0526778214, -0.1450142562, -1.0521358252, -0.277243197, -0.2631476223, 0.6678841114, -0.3121101558, -0.2077762336, 0.0980851501, -0.2709433436, 0.0767928585, -0.1376377344, 0.6917545199, -0.5510694981, 0.460983485, -0.6109488606, -0.5243073702, 0.0117054842, 0.4574690163, -0.3901670575, 0.903639555, 0.0490218289, -0.8523160815, 0.6037617922, -0.4499203563, -0.2834419608, 0.174089551, -0.4527726471, -0.3111351728, 0.0456295349, 0.3830938935, 0.4687508345, -0.0762935877, 0.2710262537, -0.5696424842, -0.5213565826, 0.060118679, -0.7221722007, 0.6751413941, -0.0256819595, -0.649526298, 0.0414626785, -0.6254106164, -0.0028246574, -0.0500557721, 0.0624562539, -0.3588281572, -0.0726584941, -0.2943641841, 0.3874069452, 0.1742856801, -0.5921906233, 0.161526531, -0.5980493426, -0.1159539372, 1.1123147011, 0.0109759923, 0.7261374593, -0.1357866675, 0.5551633239, 0.1824681014, 0.0776156187, -0.6126826406, -0.3443827629, -0.7236343622, -0.2233843505, 0.3509837985, 0.5676450133, -0.8019959927, 0.5710999966, -0.0444503315, -0.1486187726, -0.4746660888, 0.0877495185, 0.2493534088, 1.1318985224, 0.3298141658, -0.2871620059, -0.0989789292, -0.6086412668, -0.2547286451, -0.1288523227, -0.0723787695, 0.4697138071, 0.2193062752, -0.0247790646, 1.3177970648, -0.4163497984, -0.3883965611, -0.1160077453, 0.2159865201, 0.5460430384, 0.2951207161, 0.5760846138, -0.2086623162, -0.6380990148, -0.3128035963, -0.4766025245, -0.7193166018, -0.0011016668, -0.2041052729, 0.1453726441, 0.0142558031, -0.2866433561, 0.4363620579, 0.2426154912, -0.268201232, 0.6350999475, 0.0024649752, 0.0920208767, -0.7683033943, 0.0546446256, 0.1948913187, -0.3510617912, -0.6264668703, -0.303090781, 0.2552405596, 0.1333059967, -0.6836063266, 0.8330731988, -0.3960100412, 0.1029439121, -0.4373134375, 0.2040763944, 0.0070616268, 0.6412031054, 0.0209635049, 0.817379415, 0.8150405288, -0.6746668816, -0.0929782018, -0.0708534047, 0.07371106, 0.6970536709, -0.5845665336, 0.3490765691, -0.3879657984, 0.3817960322, -0.7537615895, 0.1885780096, 0.4694542587, -0.4214556515, 0.3535995781, -0.444583565, -0.2479806989, 0.0208640341, -0.6528015137, 0.4849523604, 0.5569972992, -0.4802400768, 0.2763923705, 0.140044108, -0.3658437133, -0.7822591066, -0.3028844595, -0.3779712915, -0.0016436141, -0.2117620111, 0.0876644105, -0.2670342624, 0.1924657673, -0.259458065, -0.1276091784, 0.2468493432, -0.0794174522, 0.1034492701, 0.5033682585, -0.169048816, 0.1150879487, 0.2821353078, -0.227941826, -0.0970068872, -0.5809912682, 0.6961322427, 0.0342372805, -0.4738214612, -0.3516682386, 0.0431655906, 0.1497744173, 0.0205844734, 0.614149332, 0.6050511003, -0.3108667433, -0.3462295234, -0.656339705, -0.57891047, -0.4516899586, 0.234991774, -0.2046468258, -0.9456626773, 0.4255524874, 0.1030930653, 0.1347820461, 0.2866554558, 0.6907781363, 0.1565573663, 1.0092238188, 0.4970003366, -0.415920943, 0.6590633988, 0.0295993313, 0.1192735583, -0.6267169714, 0.0485639386, -0.6202425957, -0.1750815064, -0.2128470391, -0.5279915929, 0.4270364642, 0.0783071294, -0.3878610432, -0.1303272396, -0.3209803402, 0.6808276176, 0.7722189426, 0.1808499098, 0.070029892, 0.0304626245, -0.4126442075, -0.3213588893, -0.5637305379, -0.5675148368, 1.10212183, 0.3704706132, 0.8994405866, -0.1415101439, 0.7380648851, 0.3375382423, 0.3324882984, -0.7554062605, 0.3081449866, 0.2232206464, -0.4410919845, -0.3399201632, -0.7949467301, -0.4807630479, 0.1433221251, 0.0072770827, -0.6211035252, 0.3649959564, 0.584944725, -0.581735909, -0.0261077341, -0.7500854731, 0.7774499655, -0.260671556, -0.7970520854, 0.0311212633, -0.5670444369, 0.2609279156, -0.1472949684, 0.0872556418, -0.3298661411, 0.1423459351, 0.5483184457, -0.2710565627, 0.9979178309, -0.7506337762, -0.1781468242, 0.0219394695, 0.0951682702, 0.5512142181, 0.2785139084, -0.1960264593, 0.1796303242, -0.2871353626, -0.4712926149, -0.5597354174, 0.5746908784, -0.8381929398, -0.3461560011, -0.6071232557, -0.1665387154, -0.4347643554, 0.2375801206, 0.3177747726, 0.3906412423, -0.1856501848, -0.3357887566, 0.7499445081, -0.418332994, 0.3862368166, 0.8298388124, -0.047622323, -0.2088866681, 0.9485083222, -0.0124089792, 0.2475309074, 0.2642707825, 0.2605007589, -0.560182333, -0.2778598964, -0.611182332, 0.2956594229, -0.7650788426, -0.4402466714, -0.5531883836, -0.0306788776, -0.4325911999, -0.1583207399, -0.3325471878, -0.2488181442, -0.5185028911, -0.1076760069, 0.2918295264, 0.3135351837, -0.0808568224, 0.5245364308, -0.6031793356, 0.0978152156, 0.2854655981, 0.3907023668, -0.0780250877, -0.9841384888, -0.1025254726, 0.3358843327, -0.3865661025, -1.058404088, 0.3082405329, 0.2742431164, 0.4561220407, 0.5524900556, 0.1450199336, 0.6282417774, -0.8100200295, 0.8109301329, 0.22109209, -1.1864278316, 0.7061001658, -0.2387343347, 0.6015694141, 0.9453749657, 0.3428239822, -0.5196707845, -0.2174694985, -0.2695640624, -0.7111152411, 1.0490199327, -0.0240147077, 0.4158935845, 0.0763207227, 0.2188449949, 0.3174060583, 0.18040286, -0.8926823139, -0.436506629, -0.3488227427, -0.2508478761, -0.0675807446, -0.1590114534, 0.1149981692, -0.2599580288, 0.9243721962, -0.5302830935, 0.0852059275, 0.0257909149, -0.5085813403, -0.2150474191, 0.4263879955, 0.5179218054, 0.3857744336, -0.3091035485, 0.1600943208, 0.2997580469, -0.4449938536, 0.3359069824, 0.1896029711, -0.5986799002, 0.0580556095, -0.0662670806, 1.1137825251, 0.1346375644, -0.470408231, 0.8780270815, -0.1766349524, 0.0026958415, 0.079580158, -0.023170989, -0.4184354544, -0.0515357964, 0.7084598541, -0.0075789928, 0.0922047049, -0.2043551207, 0.2251330614, 0.4583065808, -0.5016238093, -0.5521895885, 0.467590332, 0.3930290341, -0.003222449, 0.4250333905, -0.4446170628, -0.7656224966, 0.0548765138, 0.4240745008, 1.0126912594, -0.3279699087, 0.4621048868, 0.4626482427, 0.2930750549, 0.0640028641, 0.1016214043, -0.3962315023, -0.9079301953, -0.6328625679, -0.6329512596, -0.5040184855, 0.0763315111, -0.2841025591, 0.5636371374, -0.4769482911, -0.1110925525, -0.3567868471, 0.1439975649, -0.812456429, 0.0704214275, 0.4258783758, 0.6898334622, -1.0071027279, 0.6079961658, 0.465347141, -0.5032343268, -0.8098894358, 0.0839442983, 0.1725346148, -0.7630489469, 0.6520372629, 0.2680368125, -0.1731561422, 0.2606317401, -0.6021957397, -0.694532454, 0.731633842, 0.7699584961, -0.6354022622, 0.0937323645, 0.0844293535, 0.2377695441, -0.1721735448, 0.995115459, 0.2615816295, 0.2726834416, 0.1483436078, -0.7265252471, -0.006628036, -0.1696171314, -0.1600066572, 0.0004710701, -0.2631018162, 0.6308812499, 0.0027473993, -0.2226673961, -0.4539267421, 0.5399643779, 0.5100126266, 0.189642787, 0.564139843, 0.2711387277, 0.6910936832, -0.0452913344, 0.6073058844, -0.2948494256, 0.3811914623, 1.0740071535, -0.7554190159, 0.5348638892, 0.4833617508, 0.0004758676, 0.2970514297, 0.713934958, 0.4316360652, 0.6244425178, 0.1065966263, -0.6000325084, -0.071809046, -0.1525004506, -0.370646894, -0.0715976432, 0.1891315281, -0.1106885895, -0.50938344, 0.0639970824, 0.0346592031, -0.2166628093, -0.2979361117, 0.7006793022, 0.0744870007, -0.6179556847, 0.503146112, -0.1304087192, 1.0033359528, -0.6635602713, -0.052444119, -0.4637106955, 0.0205102488, -0.0375160463, -0.4560396969, -0.2073990852, 0.2219819874, -0.2118958533, -0.3776890635, 0.7382612228, -0.5094773769, -0.2208721042, 0.1052278578, 0.604629457, -0.0167348329, -0.2428529263, -0.6675295234, 0.0249123983, 0.0225790329, -0.2799445689, 0.3343452513, 0.3330079615, 0.1242489442, 0.2600175738, 0.7028300762, 0.2637432814, 0.1786152422, 0.5639322996, 0.9225376248, -0.5754618645, -0.6730763912, -0.9431633353, 0.6171150208, -0.0717812777, -0.2951078117, 0.7028416395, 0.2680532634, 0.8462298512, -0.0845315754, 0.8968488574, 0.1057450026, 0.5621013045, -0.5332319736, 0.5887037516, -0.2786480188, 0.2921748161, -0.5623156428, -1.1212459803, -0.2686747909, 0.8283321261, -0.5299355984, 0.2706057727, 0.5693170428, 0.948055923, -0.0629763007, -0.141073212, 0.5030474663, 0.0881518722, 0.246419251, 0.4121132195, 0.8961559534, -0.2148204446, 0.0427885465, -0.147800073, -0.635741055, -0.1721128076, -0.9898231626, -0.8707991838, -0.2870603204, -0.2617534697, -0.1500131637, 0.1708422899, 1.2247310877, 0.7433755994, -0.8665070534, 0.0254177526, -0.0425935611, 0.129536584, 0.2088190466, -0.2431009263, 0.1728219241, -0.7529194355, -0.7907764316, 0.2809573114, 0.3265225589, -0.0936010256, -0.376013875, -0.3160175681, -0.0634958595, 0.015672151, 0.5877313018, 0.3255446851, -0.4413860142, -0.2221149951, 0.2144359946, -0.0820143595, -0.0374148414, 0.7252624631, -1.1103129387, 0.4573641717, 0.4121327996, 0.8027047515, 0.3443019092, -0.1286468655, 0.6397669315, -1.128269434, 0.2933885157, 0.5160385966, 0.2370484173, 0.3689459562, -0.378072381, 0.1105395257, 0.3200138509, -0.608640492, -0.893163085, 0.108999297, -0.7418800592, 0.076092869, 1.0709739923, 0.0056520505, -0.1795009524, -0.0160417445, -0.3981198967, 0.3149057031, -0.7454739213, 0.5609874725, 0.5214918852, 0.2627838254, -0.2900300324, -0.3353603482, 0.4324244261, 0.7645106912, -0.6539843082, -0.0389685705, 0.8270737529, 0.2475728691, -0.2468996942, 0.9194138646, 0.1272161603, 0.3885708749, -0.5091038942, 0.2011273503, 0.1635134369, -0.1986446232, -0.8893367052, -0.2130428851, 0.0825041085, -0.0925158188 ]
http://arxiv.org/abs/2403.19669v2
http://arxiv.org/pdf/2403.19669v2
Analyzing the Roles of Language and Vision in Learning from Limited Data
2024-02-15T22:19:41
2024-05-10T17:33:24
Allison Chen, Ilia Sucholutsky, Olga Russakovsky, Thomas L. Griffiths
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Does language help make sense of the visual world? How important is it to actually see the world rather than having it described with words? These basic questions about the nature of intelligence have been difficult to answer because we only had one example of an intelligent system -- humans -- and limited access to cases that isolated language or vision. However, the development of sophisticated Vision-Language Models (VLMs) by artificial intelligence researchers offers us new opportunities to explore the contributions that language and vision make to learning about the world. We ablate components from the cognitive architecture of these models to identify their contributions to learning new tasks from limited data. We find that a language model leveraging all components recovers a majority of a VLM's performance, despite its lack of visual input, and that language seems to allow this by providing access to prior knowledge and reasoning.
[ -0.3268548548, -0.6918857098, 0.7789924145, -0.3104772866, -0.0621087812, -0.0643264726, -0.1674773395, -0.8409289122, -0.1490138024, 0.7445834279, -0.4251127541, -0.0764311031, -0.4747723639, -0.1964198649, -0.337733835, 0.7066046596, 0.3079667091, 0.1364174336, -0.6573852897, -0.1866166294, -0.2919691801, -0.4249849319, -0.4549376965, -0.4501588345, 0.5840347409, 0.4650813341, 0.7225547433, 0.8192093968, 0.7221327424, 0.2906927764, 0.2813762128, -0.0544145666, -0.4163268805, -0.0486257002, -0.2886794508, -0.7872312665, -0.1777846366, -0.0715837106, 0.5411874056, 1.1267417669, 0.2225381583, 0.3384918869, 0.0342965387, 0.7443704009, -0.5419551134, 0.668532908, -0.6811932921, 0.0870825499, -0.1817866862, 0.0206400119, -0.3429410756, 0.0924021304, 0.4670105875, -0.7737847567, 0.1909070313, 0.144172743, 0.7956943512, 0.6109179854, -0.2868641317, -0.0424228907, -0.9888011813, 1.0258015394, -0.1157252789, 0.5804424286, 0.4559743404, 0.4355847239, -0.0826205015, -0.6520673633, -0.6357056499, -0.2571370006, 0.0086212354, 0.1965483129, -0.114829272, -0.0480509587, 0.3034819365, 0.0013610998, -0.3556836247, -0.0952783898, -0.8636453152, -0.1837699562, 0.7325354815, 0.3151639402, 0.6069483757, 0.0306327529, -0.2185610533, -0.3820625842, -0.6517656446, 0.2758345902, 0.007855637, 0.2436612844, 0.0153035456, 0.8355675936, -0.2117176205, 0.9742634296, -0.6577107906, -0.110717997, 0.0572511144, -0.1904787868, -0.2805692852, -0.2409181595, 0.1940565705, 0.2421415746, 0.510445118, 0.0033755265, -0.2675685883, 0.4057209492, 0.2832280397, -0.4604246616, -0.5292763114, -0.317050755, -0.4367667139, 0.0823849663, 0.0652501509, -0.642350316, -0.6283892393, -0.5812388659, 0.3114494979, -0.409440279, -0.2287914008, 0.0038303984, -0.4432140887, 0.4091985226, 0.6189758182, -0.7903085947, 0.5240254402, 0.5834310055, 0.306191951, -0.1597717553, -0.4961711764, -0.3265907168, -0.0259468164, -0.4738250673, 0.8506967425, -0.7489994764, -0.0769117549, -0.0835710689, -0.1875739545, -0.0087231733, -0.5286376476, 0.1316714734, -0.4872458577, -0.0592344552, -0.4813682139, -0.4608867466, -0.4121547341, -0.048121959, -0.8004290462, 0.5309442282, 0.2058443278, -0.4719462991, 0.581181705, -0.6441874504, -0.4316710234, 0.5021739006, -0.6191117167, -0.0855111107, 0.5520396829, 0.0567802861, 0.233265385, -0.1929747611, -0.1786772162, -0.171051845, -0.1521670073, 0.4757481217, -0.388723731, 0.8137159944, 0.1984751076, -0.079532139, -0.1158028245, -0.8124246001, 0.0396096781, 0.4188748896, -0.4358610213, -0.5437637568, 0.5073251724, 0.0926664397, -0.0649061203, 0.3017497659, -0.3917369246, 0.0118666738, -0.4071238339, 0.3167923391, 0.6508305073, -0.3054200411, 0.6167274117, -0.2269233465, 0.3783805668, 0.0266921557, 0.3528964221, -0.0315098576, -0.6369817257, -1.1695523262, -0.205817461, 0.1155119389, 0.6284002662, -1.0225541592, -0.2280256897, -0.1269117743, -0.2094968259, -0.6440992355, 0.4369898438, 0.1191750765, 0.4170875847, 0.190103963, -0.2820335329, -0.6248013377, -0.915476501, -0.0489353053, -0.4140588343, -0.1062123179, 0.5597240925, 0.5729340911, -0.0823745951, 0.8824875951, -0.418122977, -0.1404545903, -0.5873935223, -0.4039588273, -0.0710205063, 0.2773226798, 0.7113990188, -0.9516168833, -0.2558118105, 0.1381225139, -1.0980952978, 0.1098093018, -0.1179362014, -0.1456232071, -0.0692146048, 0.4472309351, -0.4680457413, 0.7386602759, 0.3370836079, -0.4046099782, 0.0980057567, -0.3145816326, -0.3496826589, -0.2254882306, -0.0535023324, -0.1217722148, -0.1725614667, -0.8239379525, 0.1826928258, -0.097083576, -0.1767854095, -0.4655697644, 0.6834262013, -0.5886519551, -0.3518590331, -0.2913833857, 0.252561897, -0.0990566388, 0.5078228712, 0.0693793818, 0.3143698573, 0.8364969492, -0.6401293874, 0.3363277316, 0.1132196933, -0.5559092164, 0.501368165, -0.3891209066, -0.10378059, -0.5444523096, -0.3493161798, -0.7762035728, -0.3739489317, 0.2182523012, -0.4837908149, 0.1575612128, 0.2278565168, -0.0828366652, -0.3285906911, 0.1338089108, 0.4170782864, 0.6633012891, -0.3346805871, 0.7239852548, 0.7930462956, 0.0139152026, -0.2844214439, -0.7547560334, -0.0044389535, 0.1206584051, -0.2876089513, -0.0522524193, -0.0650166124, -0.7750923038, 0.2993168831, -0.113605395, -0.2907547057, 0.4479571581, 0.4373574555, 0.476513952, -0.2665617764, 0.2586637735, -0.5488458276, -0.014133771, 0.0249903221, -0.3911209106, 0.3526555896, -0.1912433356, -0.4724166393, -0.1690824926, 0.4350059927, 0.7231151462, -0.5049493313, 0.5967690945, 0.1453362256, -0.4352993071, -0.4267043769, -0.3143960834, -0.1253531575, -0.3878988624, 0.6590933204, -0.2046986371, -0.5413196683, 0.2435687482, 0.2288199663, -0.0969381779, 0.3809380829, 0.3672251999, -0.2145255208, 0.9762345552, 1.2319873571, -0.074176535, 0.8076653481, -0.2787701488, 0.2277447879, -0.4922455847, -0.4834035039, -0.2899300754, -0.2454462349, -0.361559242, -0.4556446671, 0.3688541651, -0.0395935066, -0.0357773155, -0.1256937236, -0.3688778877, 0.6374920607, 1.0229619741, 0.1823288649, 0.1018446758, 0.114624612, 0.081444867, 0.1482614875, -0.8961230516, -0.4031012952, 1.0414153337, 0.1419020295, 0.7001145482, -0.1857478917, 0.5325009227, 0.1026030481, 0.1440231055, -0.8160933256, 0.7278409004, -0.0623444244, -0.3788467646, -0.3112198412, -0.2283452898, -1.0070269108, 0.3029532731, -0.3841122687, -0.6013762355, 0.1561419368, 0.0665712506, -0.1927938759, 0.162840873, -0.7064660192, 0.7413401604, -0.5581871867, -0.1667221189, -0.2295308411, -0.5793502927, 0.2529321015, 0.0748556629, 0.3719989955, -0.062627703, -0.0861271098, 0.6935018301, -0.1722701341, 0.9112178087, -0.2363869399, 0.3486771286, 0.3990268409, -0.1157992184, 0.0809864402, -0.1634823531, 0.2811225951, 0.1697108001, -0.1272576749, -0.6235184073, -0.6091589332, 0.2944729328, -0.7550543547, -0.7285822034, -0.2430413365, -0.7539918423, -0.0726659372, 0.3259381652, -0.0018853217, 0.2840251327, -0.2009840012, 0.3350028098, 0.6493139863, -0.265104264, 0.4309059083, 0.4253376424, -0.4760831594, 0.0291796345, 1.06046772, 0.1307056844, 0.1437497735, 0.3766823113, 0.0987390727, 0.0369369015, -0.706065774, -0.2832530737, 0.1486856937, -0.9060239792, 0.1137677804, -0.4034551382, -0.3496841192, -0.0031934993, -0.0415075235, -0.0675902739, -0.4295333624, -0.2051520348, -0.1427879632, 0.1212670729, 1.0347751379, -0.0663623437, 0.0128830438, -0.566465795, 0.3104803562, 0.6331386566, 0.0015908168, -0.0212772489, 0.0686217397, -0.4525743723, 0.0844039619, 0.124870725, -0.7222602367, 0.3546484113, 0.4348314106, 0.979876101, 0.2270521671, -0.0862508267, 0.5643157363, -0.6503753662, 0.8439226747, 0.0033923541, -0.5773031712, 0.5581770539, 0.106839709, 0.4574353993, 0.3266393542, 0.0677184016, -0.1952008903, -0.5089797378, -0.422188282, -0.7408587337, 0.5447720885, 0.0466731973, 0.1194979921, 0.0969891697, 0.1834156662, -0.0846513957, 0.2416118234, -0.7645471096, 0.0095136315, -0.2191571891, -0.4008384347, -0.0186305717, -0.0227517113, -0.1764899641, -0.3966217041, 0.1227693185, -0.2156281024, 0.204390645, 0.195537895, -0.414390862, -0.0373814106, -0.1387501061, 0.3774752021, 0.7003220916, 0.4479679465, 0.3445889354, 0.0448891073, -0.6194807887, -0.3675183356, -0.224605009, -0.3859321773, -0.2900240421, 0.7258108258, 1.008503437, -0.1329947412, -1.1348356009, 0.419781208, -0.0899413377, -0.0187232587, -0.3541531563, 0.4381114841, -0.1719301194, 0.7240392566, 0.5346257091, 0.4301749766, -0.0372599959, -0.8035609722, 0.2038599551, 0.6125642061, -0.3468146622, -0.4037671089, 0.5946739316, -0.1127660647, -0.3680909574, 0.8045987487, 0.201557532, -0.5908529758, 0.785849154, 0.2898191512, 0.5227953792, -0.0791416168, 0.2167951465, -0.0539583303, 0.4849337935, 0.0967798308, 0.482522279, -0.2800968885, -0.9645773172, -0.1425056607, -0.743000865, -0.2029155046, -0.0748252198, -0.5359844565, -0.1949668974, -0.6435190439, 0.1641235203, 0.0810083523, -0.2203854024, -1.2055053711, 0.3648135066, 0.5119006038, 0.7470332384, -0.8975410461, 0.9333555698, 0.6484230757, -0.5122857094, -0.6813214421, -0.2355341166, -0.2171141207, -1.073089838, 1.0726653337, 0.0112414556, -0.155737862, -0.1321156472, -0.7892732024, -0.8640936613, 0.7890755534, 0.4673018456, -0.327241838, 0.0335786492, 0.1988054216, 0.7089896202, -0.4440546334, -0.1787315458, 0.3771494627, 0.4359607399, -0.084444277, -0.5798758268, -0.2302079052, -0.339582473, -0.0781357437, 0.1198098883, -0.3690564036, 1.0130139589, -0.4293178618, -0.4137228131, -0.0932520777, 0.6392588019, -0.2104690522, 0.3410882056, 0.4468937516, 0.2686006129, 0.8406950831, -0.0525266081, 1.1144515276, -0.0093425801, 0.0697145313, 0.8605136275, -0.2343890518, 1.0426324606, 0.6092854142, -0.0888772011, 0.3412166536, 0.2767671943, -0.0708160251, 0.7708083391, 0.0605051853, -0.1455189437, -0.4877457917, -0.2556289136, 0.0422282666, 0.7488336563, 0.5545903444, -0.2587129176, -0.0784357041, 0.3686885834, -0.5282719135, 0.0684152097, -0.5001550317, 0.8158237338, 0.0854180008, -0.6357973218, 0.2624492645, -0.6035931706, 0.1144964248, -0.433829397, -0.3145157099, -0.1503773779, 0.2770385742, -0.0323589742, -0.6441977024, 0.3605840206, -0.1445412189, -0.1900859922, -0.0896154195, 0.7829430103, -0.3573190272, -0.7458336353, 0.3747743964, 0.8107551932, 0.2042204738, 0.2517682314, -0.5326973796, 0.1398014277, 0.0913784802, -0.0937251151, 0.3506684303, 0.4003825188, -0.1515705287, 0.8654016256, 0.4905390143, 0.3389562368, 0.30477494, -0.1480480731, 0.7475258112, -0.7723516822, -0.1772236377, -0.8508973122, 0.4163382947, -0.1120992377, 0.0120400665, 0.6448760629, 0.3697675765, 1.1555857658, -0.2523743808, 0.9961662889, -0.1032828242, 0.1906850487, -0.5993064642, 0.6391689777, -0.9177898765, 0.0970654413, -0.001861251, -0.6734275818, -0.5636036396, 0.8234825134, -0.2322995961, -0.4143429101, 0.6595174074, 0.5545025468, 0.1591028273, -0.1540153027, 0.7386837602, 0.2861290276, 0.1209529936, 0.7850247025, 1.0271116495, -0.042298384, 0.6206245422, -0.1050019562, -0.2270845622, -0.0932858884, -0.3585206568, -0.9009956121, -0.7494513392, -0.0592605174, 0.2229014933, -0.1165455431, 0.5608212948, 0.61171031, -0.5304749608, -0.2967488468, -0.187943399, 0.236825645, -0.2764635682, -0.1653046757, 0.0708977953, -0.3151054978, -0.7034213543, 0.5470793843, 0.5726857185, 0.2153468281, -0.3785535395, -0.0117329918, 0.2276729643, 0.2165767252, 0.6658399701, 0.4676405489, -0.8285658956, -0.4786120653, 0.1393914819, 0.0193975847, 0.1047760025, 0.7688540816, -0.9868418574, 0.5106574893, 0.6452496648, 0.7937785983, 0.3239890039, -0.4524793625, 0.5466658473, -0.3291797042, 0.383570224, 0.2695636749, 0.6186981797, 0.3761888742, -0.2429314256, 0.3593545258, 0.2969230115, -0.3671358526, -0.7081135511, 0.5603871942, -0.8651754856, -0.5266242027, 0.7284046412, -0.0327905118, -0.814723134, -0.2506340444, -0.3569148779, 0.0320941135, 0.039557375, 0.6716191173, 0.5801459551, -0.3520452678, -0.4719279408, -0.9103896022, 0.4897177517, 0.3027315736, -0.8083269, -0.1179693118, 0.7362191677, 0.0603760555, 0.2714143991, 0.5179442763, 0.196696952, 0.2513515353, 0.2830124199, -0.3516664505, 0.1034035087, -0.8438349962, -0.2089625001, 0.2726570666, 0.2986290753, -0.3384302258 ]
http://arxiv.org/abs/2402.10342v1
http://arxiv.org/pdf/2402.10342v1
Exploration-Driven Policy Optimization in RLHF: Theoretical Insights on Efficient Data Utilization
2024-02-15T22:11:18
2024-02-15T22:11:18
Yihan Du, Anna Winnicki, Gal Dalal, Shie Mannor, R. Srikant
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning from Human Feedback (RLHF) has achieved impressive empirical successes while relying on a small amount of human feedback. However, there is limited theoretical justification for this phenomenon. Additionally, most recent studies focus on value-based algorithms despite the recent empirical successes of policy-based algorithms. In this work, we consider an RLHF algorithm based on policy optimization (PO-RLHF). The algorithm is based on the popular Policy Cover-Policy Gradient (PC-PG) algorithm, which assumes knowledge of the reward function. In PO-RLHF, knowledge of the reward function is not assumed and the algorithm relies on trajectory-based comparison feedback to infer the reward function. We provide performance bounds for PO-RLHF with low query complexity, which provides insight into why a small amount of human feedback may be sufficient to get good performance with RLHF. A key novelty is our trajectory-level elliptical potential analysis technique used to infer reward function parameters when comparison queries rather than reward observations are used. We provide and analyze algorithms in two settings: linear and neural function approximation, PG-RLHF and NN-PG-RLHF, respectively.
[ -0.3792529106, -0.6596639752, 0.6714936495, 0.2304279655, 0.0841873661, 0.0507103726, -0.2294981629, -0.3689424396, 0.3362062275, 0.5584935546, -1.0923471451, -0.3120443523, -0.1256473064, -0.3281523585, 0.2156101614, 0.7572043538, -0.0469619781, -0.2474930584, -0.2532860637, -0.0674529672, -0.3186799288, -0.3995170593, -0.5991691351, -0.5461149216, 0.7377588749, 0.4410555363, 0.4426057041, 0.6669454575, 0.4016566277, 0.0592645407, -0.144380495, 0.4685259461, -0.8330714107, -0.0802380219, 0.0036887678, -0.3401550055, -0.0120832315, -0.1578967571, 0.7179403305, 0.5520267487, -0.5896511078, -0.3680688441, -0.0935752764, 0.9046468139, -0.9755108953, 0.2495773882, -0.1934152842, 0.4845070839, 0.0765911117, -0.5288066268, -0.2631604373, -0.5372332335, 0.4287742376, -1.0938181877, -0.1160522327, 0.1681282967, 0.819073379, 0.1817128062, -0.241575703, -0.184738636, -0.8429836035, 0.9756205678, -0.3422209918, 0.1322026253, 0.4398755133, 0.4422191679, -0.3670302331, -0.2818493247, -0.3170541823, -0.5631438494, -0.0596795492, 0.1254227012, 0.0914246216, 0.5086149573, 0.1780086011, 0.3329767883, -0.3584414423, 0.3184456825, -0.1227365732, -0.3136972487, 0.8264255524, 0.2924421728, -0.2840936184, -0.0953389928, -0.5271348953, -0.6956906319, -0.9102245569, 0.8400247097, 0.6227554679, 0.2353844494, 0.0210584011, 0.3513989449, -0.3949012756, 0.6047136188, -0.1617406905, 0.0315317623, 0.1758056432, -0.1599253863, 0.0518543907, -0.2631284893, 0.5620282292, 0.3888142705, 0.1718816757, -0.1963400245, -0.4798904955, -0.3073253334, 0.3878558576, -0.6892009377, 0.0795686319, 0.0401260592, -0.4523620605, -0.4036462605, 0.3473792076, -1.0369957685, -0.4741589129, 0.0067374418, 0.3776924908, 0.0403847136, -0.2416435629, 0.0633419156, -0.125335291, 0.333740294, 0.2796517015, -0.8013205528, 0.4155288339, 0.6935319304, 0.6225174665, -0.5876358151, -0.4422543645, -0.8326948881, -0.3055167496, -0.3068518639, 0.5481665134, -0.3266901076, -0.7735699415, 0.416098088, -0.1255886853, -0.0879797861, -0.6809208989, 0.685515523, -0.7430556417, 0.0165492911, -0.5116924047, -0.388487339, -0.3833726645, 0.2923048139, -0.6868518591, 1.1331276894, 0.261801362, -0.4506011009, 0.6196956635, -1.1670690775, -0.3451503217, -0.2054437101, -0.1459106505, -0.6180033684, -0.0445479006, 0.1156700775, -0.0128556611, -0.1846144348, 0.1790051758, -0.2770266831, -0.5208138227, 0.1154352054, -0.4149596691, 0.4205141068, 0.1600678563, -0.3390460908, 0.4898721576, -0.480656296, 0.1656689197, 0.1150632128, -0.4521162808, -0.0634247065, 0.401326865, 0.0770656839, -0.121828109, 0.0823328495, -0.3992392421, 0.3432138264, -0.2467104793, 0.3238334954, 0.7096906304, 0.4069254994, 0.5191451311, -0.3641482294, 1.0233169794, -0.5097427964, 0.311309427, -0.0408345051, -0.1550887972, -0.0907110497, -0.0806511268, 0.4214152396, 0.4985467792, -0.3954995871, 0.2920494974, 0.1196636111, -0.1683495343, -0.2860576212, -0.2716868818, 0.3853570819, 0.6152455807, 0.3593981266, -0.1997599006, -0.1830426753, -0.910633862, -0.3022966385, -0.2138321847, 0.2455680668, 1.0255805254, 0.1625994742, -0.1425934285, 0.8824895024, -0.6445228457, -0.1677376777, -0.2038464993, 0.0813537017, 0.3571079969, 0.3533980846, 0.4244319201, -0.5735740066, -0.3447754681, 0.011598276, -0.4753699303, 0.0138932569, -0.2793005705, -0.1722978503, -0.0078042834, 0.2366833538, -0.520524025, 0.6005895734, 0.1994850636, -0.2935994864, 0.4423910081, -0.5843835473, 0.0937443376, 0.2923274934, 0.129866749, -0.0660915822, -0.3543613255, -0.2820274532, 0.1371131092, -0.1033184603, -0.0573288351, -0.3542440832, 0.4703564644, -0.0907725319, -0.3265931606, -0.3908222318, 0.0454882607, -0.2811244428, 0.9892359376, 0.2412219197, 0.7710235119, 0.466355443, -0.865136385, 0.0537702851, -0.2428972572, -0.0144972662, 0.202421248, -0.5551071167, 0.0403103419, -0.1571136266, 0.2255386412, -0.6004834771, -0.0329717398, 0.4406061769, -0.0976432934, 0.2047553957, -0.0967613682, -0.0211824588, -0.1863406748, -0.6348297, 0.5142943263, 0.3889512122, -0.6276285052, 0.4345176518, 0.6061825156, 0.2360545695, -0.8131004572, -0.1368527859, -0.4996266663, -0.4427773952, -0.3282389045, 0.6239172816, 0.2900265157, 0.0424769074, 0.0171708595, -0.2104243338, 0.1508979499, 0.1173619255, 0.139180854, 0.2325433344, 0.2050873488, -0.0310837477, 0.1132999137, -0.1361782402, 0.3383156955, -0.3465516567, 0.539070785, -0.1945505291, -0.3964056373, -0.2890638113, 0.0998707339, 0.2226742953, -0.0507756695, 0.2540130019, 0.3982295394, -0.0760681108, -0.3415060341, -0.042330455, -0.590952456, -0.3707690537, 0.5717551112, -0.1187468544, -0.6506807208, 0.3602392375, -0.0507437587, 0.2647864521, 0.468546778, 0.1445529461, -0.0861179084, 0.6990363002, 0.5109679103, -0.0233493187, 0.6871807575, -0.5247555375, -0.1919750869, -0.5005182624, -0.3731309474, -0.1891355962, -0.5257174373, -1.029181242, -0.2562715411, 0.5386134982, 0.0109062176, -0.2375224978, 0.0617012903, -0.4276356399, 0.380212456, 0.698097527, 0.2347677946, 0.0922591686, 0.1305851638, 0.0503696203, -0.0914462656, -1.0665396452, 0.1395512819, 1.2654497623, 0.5459336638, 0.7891017795, -0.3179236054, 0.8056171536, 0.614398241, 0.0586606562, -0.8290567398, 0.2534050643, 0.2521443069, -0.1074914187, -0.7341066599, -0.651170969, -1.1991847754, 0.4409763217, -0.2778054774, -0.5836622119, 0.3491076529, 0.5632138252, -0.6504247189, 0.0262875184, -0.3554733694, 0.6999537945, -0.5428732038, -0.5861372948, -0.5737161636, -0.588762939, 0.1762545258, 0.5091033578, -0.0260762032, 0.1642096043, 0.0884921402, 0.8656527996, -0.3823235929, 0.3138089478, -0.976357758, 0.0701973885, 0.4148373306, -0.0710076541, 0.7888363004, 0.2766757905, 0.2568508089, -0.0773065165, 0.0023341526, -0.332764864, -0.6316000819, 0.4929153621, -0.8621778488, -0.3244811893, -0.5925350189, -0.3767721951, -0.3875417709, 0.1427681744, 0.1407586038, 0.0096060485, -0.1650330573, 0.1571631134, 0.8423541784, -0.3086937964, 0.4197788537, 0.0896744654, -0.6975227594, -0.2902631164, 0.9179961085, -0.1964964122, 0.085030444, 0.5943787694, 0.4741201699, -0.7100548744, -0.2588522732, -0.4254409969, 0.2491254658, -0.2385828197, 0.09036538, -0.1319390088, 0.0097122286, 0.2706918716, 0.1732353419, -0.4929152429, -0.2930852771, -0.0713531598, 0.0480049103, 0.1802023351, 0.6352094412, -0.311868757, 0.3122033775, -0.1753243804, 0.1460359544, 0.3441324234, 0.277692467, 0.065229632, -0.1566315442, -0.2813797593, 0.1391908675, -0.4495132267, -0.7577416897, 0.2851565778, 0.0031995452, 0.7612440586, 0.479018718, 0.08539702, 0.3583365977, 0.0171247851, 0.3824726641, -0.0537526309, -0.3162651956, 0.2723671496, -0.2324693799, -0.1597452015, 0.5978959203, 0.1417376697, -0.4433903992, 0.4678173363, -0.6634076834, -0.8046221137, 0.9023605585, 0.0688968077, -0.2733774185, 0.6637635827, 0.575432241, -0.0947514325, 0.4203199744, -0.6283041835, -0.2666221261, -0.0713848248, 0.4199085534, 0.0591433607, 0.1176422015, -0.2706716061, 0.0553011224, 0.5707468987, -0.2557875216, 0.5268112421, 0.2654613554, 0.1546592116, -0.2045718431, 0.0223779287, 0.7847412825, 0.5701568127, -0.4408880174, -0.2732505798, -0.0793446973, -0.3151032925, 0.0822505206, 0.0917770863, -0.4069130123, -0.3446680605, -0.0379065908, 1.0373339653, 0.0548698232, -1.0340166092, 0.4865364432, -0.0000959128, -0.336445719, -0.4228925109, 0.3923681974, -0.4213678241, 0.2333257347, 0.3589633107, -0.0115034133, 0.0776926503, -0.2894279361, 0.1435144395, 0.666590929, -0.5446606278, 0.0407468677, 0.2589764595, 0.0419485271, -0.5363859534, 0.6618685126, -0.3253418207, -0.5071593523, 0.8204286695, 0.1027137861, 0.731351018, 0.2520492077, 0.3953787684, 0.3357302547, 0.128243655, -0.1090451106, 0.4098188579, -0.5311104059, -0.6817988157, -0.5513265729, -0.2259669304, -0.6467430592, 0.2073418498, -0.9245510101, -0.0512608811, -0.6177222133, -0.0474704206, -0.6022916436, 0.2691246569, -0.5863963962, -0.1413867623, -0.3743823469, 0.6715105176, -0.4814110398, 0.4571034014, 0.3747028708, -0.0304274485, -0.6602054834, 0.118034564, -0.2214898616, -0.9408817291, 0.4296351969, -0.012384437, -0.1843189746, -0.220688805, -0.2343571484, -0.6805301905, 1.197420001, 0.0967561677, -0.5931415558, -0.1073008329, -0.1442863941, 0.3514326215, -0.3895814121, 0.1943616718, 0.7508815527, 0.7497400045, -0.0157455094, -0.5564784408, -0.3215575218, 0.140047431, 0.1218435094, 0.3550122678, -0.4659612179, 0.5543035269, -0.3577132821, 0.0578440614, -0.2296362817, 0.6613560915, 0.8322678804, 0.4773690999, 0.8335418105, 0.4763497412, 0.7183529139, 0.1125849709, 1.3036264181, -0.1777885258, 0.7926257849, 0.6571635008, -0.151397109, 0.6511045098, 0.6498277783, -0.6807810068, 0.3565506935, 0.9864435792, 0.0688575655, 1.0880627632, 0.6523490548, -0.1525136977, 0.0012585509, -0.0335510261, -0.2090252489, 0.095604986, 0.0644385964, -0.0544110537, -0.3275520802, -0.1368793994, -0.23730582, 0.0018173082, -0.5201891065, 0.686060667, -0.3370911181, -1.1491323709, 0.4336205721, 0.2669445872, 0.5219528675, -0.5732045174, -0.3581238389, -0.1148881018, 0.0313679166, -0.1025429964, -0.6561493278, 0.0386577211, -0.4922723472, -0.0264768396, -0.2873660326, 0.5773809552, -0.297570765, 0.148592934, 0.3618778288, 0.3979045451, -0.1609439254, -0.0715942457, -0.4636538923, -0.2190358937, 0.2123715132, -0.384018451, 0.4244644046, 0.0295658503, 0.0141568929, 0.6551803946, 0.6644082665, 0.4362404644, 0.0493242852, -0.2681235969, 0.5416102409, -0.5955352783, -1.1172640324, -0.564335227, 0.1690007895, 0.0203967392, -0.4796206355, 0.0366315916, 0.339312315, 0.7789388895, 0.0042048097, 0.7142689824, -0.0253398381, 0.4568654597, -0.7815129757, 0.3785770237, -0.5729768872, 0.3933788836, 0.0240385178, -0.8317320347, -0.0321851932, 0.9126636982, -0.4123201072, 0.1913316697, 0.4102525413, 0.9908331037, 0.029108813, 0.0414868556, 0.1668920964, -0.3781352043, 0.3907898068, 0.6668577194, 0.8038561344, -0.0419571735, 0.3215537369, -0.4289263189, -0.4709043205, -0.4989398122, -0.9826097488, -0.4495609999, -0.1993503571, 0.0682183802, -0.4052209854, 0.0912823975, 0.9972823262, 0.9025632143, -0.601505518, -0.5214848518, -0.7173048854, 0.4974530339, -0.6971773505, -0.3265683949, 0.6462317705, -0.1819260418, -0.4397574663, 0.6366581917, 0.2305440456, -0.3332693279, -0.6649596095, -0.8081458807, -0.0571244173, -0.1816211641, 0.2282828689, 0.9396848679, -0.3783155382, 0.0155959288, 0.1312715262, 0.3074695468, 0.1234728247, 1.3362048864, -0.9498801231, 0.3116762042, 0.3465251625, 1.2259457111, 0.9905232787, 0.1902666837, 0.3610426486, -0.4561490119, 0.0472904854, 0.4508292377, 0.1365103126, -0.1155672669, -0.5656602383, 0.4098569751, 0.3967961669, -0.7477648258, -0.8628270626, 0.3742664456, -0.8278132081, 0.0235637575, 0.9792473912, -0.2165379077, -0.1347952038, 0.3141173124, -0.1760784835, -0.3670706749, -0.8784251213, 0.9172304273, 0.406265676, -0.7971585989, -0.3664557636, -0.3457248807, 0.7858847976, 0.5918941498, -0.8451474905, -0.0636854991, 0.2459378093, -0.134832859, -0.094161272, 0.6503875256, 0.0479334854, 0.5758813024, -0.342040062, -0.3380364776, -0.2679643631, -0.5482522249, -0.4309034944, 0.3703821599, 0.1838205606, -0.461332351 ]
http://arxiv.org/abs/2402.10979v2
http://arxiv.org/pdf/2402.10979v2
SportsMetrics: Blending Text and Numerical Data to Understand Information Fusion in LLMs
2024-02-15T20:26:07
2024-06-16T06:43:50
Yebowen Hu, Kaiqiang Song, Sangwoo Cho, Xiaoyang Wang, Hassan Foroosh, Dong Yu, Fei Liu
cs.CL
cs.CL, cs.AI
Large language models hold significant potential for integrating various data types, such as text documents and database records, for advanced analytics. However, blending text and numerical data presents substantial challenges. LLMs need to process and cross-reference entities and numbers, handle data inconsistencies and redundancies, and develop planning capabilities such as building a working memory for managing complex data queries. In this paper, we introduce four novel tasks centered around sports data analytics to evaluate the numerical reasoning and information fusion capabilities of LLMs. These tasks involve providing LLMs with detailed, play-by-play sports game descriptions, then challenging them with adversarial scenarios such as new game rules, longer durations, scrambled narratives, and analyzing key statistics in game summaries. We conduct extensive experiments on NBA and NFL games to assess the performance of LLMs on these tasks. Our benchmark, SportsMetrics, introduces a new mechanism for assessing LLMs' numerical reasoning and fusion skills.
[ -0.3292476833, -0.6868796945, 0.4479012787, 0.3656462133, -0.0640371144, 0.6559901237, -0.05905696, -0.5410736203, 0.1932942271, 0.4020035267, -0.8382424712, -0.5637329817, -0.4569935501, 0.179804951, -0.3332321644, 0.9930361509, -0.4345131218, 0.3665949702, -0.6997596622, -0.2005477846, -0.5803591013, -0.701924026, -0.6090792418, -0.6170357466, -0.0495571494, 0.2181793749, 0.6817763448, 0.5858008862, 0.9768743515, 0.3516126871, 0.1667213142, 0.5136636496, -0.848049283, 0.6301851273, -0.2293203324, -0.4369497895, -0.4268727601, -0.0511634909, 0.5620020628, 0.7605187893, 0.1345968693, 0.2489482462, 0.0173162334, 0.6511033773, -0.550039947, 0.3503635824, -0.3335250616, 0.2814131677, -0.2617386878, -0.450378567, 0.0627455637, -0.3562195897, -0.0591723584, -0.6080231667, 0.1052103639, 0.0285894144, 0.5538585782, 0.4085192084, -0.2827649713, -0.0965978205, -1.0978690386, 0.6826246381, -0.5084187984, 0.479598999, 0.3211168945, 0.4225218594, -0.2440633774, -0.1320755482, -0.4480223954, 0.0107285725, 0.0578424446, 0.4086008072, -0.1306323558, -0.0687125996, 0.2517897785, 0.105603382, -0.5870547891, 0.0819214657, -0.224150762, 0.2006740421, 1.2289247513, 0.7374482155, 0.1240695864, 0.2744116783, -0.3552804589, -0.1206594929, -0.4879996777, 0.07159926, 0.284681648, 0.1882576197, -0.0932088271, 0.8171375394, -0.4822823703, 0.5475873947, -0.2134512216, -0.3125478923, 0.0913754627, -0.5547747016, -0.285020262, 0.1067596972, 0.7417741418, 0.4582479894, 0.0495267585, -0.6312348843, -0.1385054141, -0.089882955, -0.068285659, -0.4126934707, -0.0492817461, 0.4836250842, -0.4650263488, -0.3103129566, -0.0056935013, -0.801876843, -0.8415108323, -0.4576146305, 0.3015443981, -0.5239065289, -0.0632686019, 0.1788583398, -0.4443673193, 0.3587845564, 0.18936643, -0.7820859551, 0.4113927186, 0.9870247841, 0.5565822721, -0.5030209422, -0.3048241138, -0.4049183428, 0.3514452577, -0.18303141, 1.0370069742, -0.5896928906, -0.362829566, 0.2349342555, -0.5760397911, 0.0743222386, -0.6623619795, 0.3054296076, -0.3606394827, -0.2363775223, -0.1801611483, -0.8314234018, -0.0954406187, 0.4799850583, -0.6094551682, 1.2624670267, -0.0147614134, -0.5796439052, 0.4381700456, -0.6249206662, -0.6758348942, 0.1522557437, -0.3279082477, -0.2964969277, 0.1725796759, 0.0311691929, 0.3976034224, -0.6123425961, 0.1874312758, -0.605269134, -0.3023582995, 0.497616291, -0.207107231, 0.3556421697, -0.0364679098, -0.0660471171, -0.1427927017, -0.6190044284, -0.036053434, 0.0537743308, -0.2416792363, -0.2549871504, 0.4772453606, -0.2709949613, -0.018371284, 0.1237166896, -0.1846344769, 0.2752056718, -0.2725641131, -0.0835585371, 0.3021466732, -0.0727310553, 0.4753195047, -0.4149574041, 0.6014356613, -0.0179122295, 0.1566763967, 0.0333685018, -0.5090214014, -0.2287601233, 0.0151637783, 0.2193689793, 0.9538834691, -1.1706944704, 0.2579800487, -0.5227414966, -0.8048735261, -0.2557111979, 0.2986066937, 0.0371892229, 0.3274792433, 0.1489734352, 0.0148172025, -0.5631026626, -0.6284927726, -0.5169911981, -0.0392833091, 0.0891330615, 0.3143661618, 0.442112267, 0.1210730821, 0.7676680684, -0.7075169683, -0.2606704831, -0.2336667478, 0.2777728438, 0.2333990782, 0.2719327807, 0.4198207557, -0.8712175488, -0.4097198546, -0.1369987726, -1.1887304783, -0.1752670109, -0.1224609762, 0.0738172382, -0.3092432022, 0.398514241, -0.6452447772, 0.567805469, 0.5325122476, -0.5189787149, 0.4344623685, -0.0538042374, 0.5702655315, -0.5201407671, 0.0269910488, 0.2993526161, -0.0414056927, -0.9167941809, 0.0222325008, -0.4862890244, 0.0232435931, -0.3148473203, 0.5066714287, -0.5442833304, -0.4169342518, -0.3567172289, 0.0671729669, -0.1639070064, 0.0413080864, 0.1692991704, 0.6060737371, 0.50563097, -0.7001145482, 0.9631491303, 0.2359482497, -0.5506977439, 0.5221195221, -0.2540117502, -0.2508935034, -0.3798763454, 0.2297891825, -1.1646260023, -0.1805496961, 0.1313756555, -0.3457743824, 0.0416795649, 0.1966668367, -0.6800990701, -0.3992378116, -0.4127243459, 0.6836290956, 0.2685654759, -0.0764223486, 0.9808448553, 0.7577277422, -0.2875474393, -0.407913059, -0.5140789747, 0.1233125553, -0.3930721879, -0.5574122667, 0.5376740694, -0.1487040818, -0.5382145643, 0.1919870079, -0.0563610867, -0.5295165181, 0.1467906386, -0.0108611761, 0.5318698883, -0.31202209, -0.0974532887, -0.0663303584, 0.007194479, 0.0869097188, 0.1915535927, 0.3869883716, 0.3580703437, -0.1909921616, -0.2519066334, 0.5052288175, 0.2811361551, 0.0880785733, 0.6446487904, 0.3633083999, -0.3605199158, 0.0634405985, -0.6168377399, -0.0752930939, -0.4030683637, 0.355781734, -0.3686111569, -0.6953370571, 0.7579240799, -0.1650522053, 0.3403272629, 0.4211009145, 0.5081369877, -0.4294189811, 1.4097964764, 0.122727178, -0.1337311566, 0.0891389027, -0.0986799374, -0.1098961905, -0.4079468548, -0.5445947051, -0.4791413844, -0.6575518847, -0.1929888725, -0.5176638365, 0.3089660406, -0.1270749867, -0.1832562089, 0.1106143072, -0.2506338656, 1.1148631573, 0.2577196062, 0.0812828764, 0.2322251499, -0.132661894, 0.3295961022, -0.326199621, -0.5913831592, 0.0003536779, 0.7870070338, 0.3872009516, 0.9216631055, 0.4146324396, 0.7094950676, 0.403357774, 0.2619291842, -0.8733673096, 0.5211070776, -0.516782701, -0.6291413903, -0.2263538986, -0.5830790401, -0.5138914585, 0.1367030442, -0.8214694262, -0.5384392738, -0.1267398596, 0.0028013757, -0.4834197164, 0.3386988044, -0.3017613292, 0.247279346, -0.5441827178, -0.4363925755, 0.1431241482, -0.0941284373, 0.7199008465, -0.2235621661, 0.4898653328, -0.222435534, -0.3391956687, 0.791154027, -0.1218464524, 0.7558922172, 0.098515816, -0.0041500824, 0.138615042, 0.3558759391, 0.3107238114, -0.1857197583, -0.1463088691, 0.0996863171, 0.3038652241, -0.2380493283, -0.859145999, 0.5789563656, -0.5068467259, -0.6987763047, -0.5399528146, -0.7582598925, -0.7998206615, -0.0917107165, 0.0073396326, 0.0780074373, -0.2130458802, 0.2903653383, 0.5537760854, -0.011018252, 0.2908598483, 0.4518640637, 0.0376806892, -0.4335910976, 0.8925777078, -0.0467420705, -0.3303574324, 0.4689440727, 0.1672540754, -0.678627193, -0.7962182164, -0.0383736268, 0.3442179263, -0.615172863, -0.5133998394, 0.0658758134, -0.2622316182, -0.3757074773, 0.1451262385, -0.0879515707, -0.2800357938, -0.163307935, 0.0255927499, 0.2283701748, 1.0211080313, 0.0618101172, 0.2428839803, -1.1210222244, 0.2128318548, -0.1048713326, 0.4680448174, -0.1221223176, -0.3312802315, -0.1453437656, 0.0073189382, -0.1433079243, -1.050104022, 0.3063773513, -0.0423160382, 0.8237941265, 0.2593850493, -0.2383378297, 0.7018216848, -0.5737349391, 0.9519783854, 0.3078336716, -0.7053418756, 0.1916185468, -0.3830203414, 0.0502208248, 0.7515799403, 0.5181965828, -0.2317559123, -0.2322675139, -0.4729172587, -0.411333859, 0.7438798547, 0.3049081564, -0.1340170354, 0.2496606857, 0.597828567, -0.079065457, 0.158397764, -0.2142928243, -0.4165870249, 0.1422439665, -0.6329871416, -0.3416019082, 0.0255288184, -0.3677135706, -0.3653947711, 0.4853330255, -0.0164327789, -0.0952121094, -0.2061633915, 0.1823565513, 0.2135515958, -0.2939383984, 0.78764534, 0.5147743821, 0.0466656722, 0.0099864649, 0.5400482416, -0.2189309448, 0.1608056128, 0.1661572158, -0.0486184321, 0.0048021679, 0.6092286706, 0.5572384596, 0.4657379091, -0.8726987839, 0.3481146395, -0.0561556555, -0.6102539897, 0.2312077582, 0.1324655712, 0.0789808929, 0.367270112, 0.3774134219, -0.2915440798, 0.3274306059, -0.6662126184, 0.2690415382, 0.5118439198, -0.2665428817, -0.1814163178, 0.6544556618, 0.2263188809, -0.1764455587, 0.1246069297, 0.1195303798, -0.5974866748, 0.5375846624, 0.4312500358, 0.5049462318, -0.2335421294, 0.2432726473, 0.0781842619, -0.0877282023, -0.1311071813, 0.437425971, 0.1116931438, -0.6560577154, -0.5827020407, -0.3611686528, -0.6040093899, 0.0573494807, -0.3666658401, 0.1565800011, -0.288716644, -0.4046070278, 0.3405557275, 0.0355914012, -0.7513573766, 0.2576408982, 0.4635928273, 1.0711270571, -0.9569823742, 0.2894237339, 0.7796488404, -0.4718215168, -0.4642845094, -0.4166756868, 0.2900278866, -0.9551863074, 1.049321413, -0.5182827711, 0.1327635497, -0.1887931526, -0.4005581737, -0.5523424745, 0.9553635716, 0.2903967798, -0.1222787201, -0.2229640931, 0.6330265999, 0.3116849363, -0.4017237723, 0.2995026708, 0.9516602755, 0.4328039885, 0.5761099458, -0.6692358851, -0.18642959, 0.0832085535, -0.3692586422, 0.2386520356, -0.6314191222, 0.6116594076, 0.0290676132, -0.0115525862, -0.2096394747, 0.7829691768, 0.3915001452, 0.4880640805, 0.4022547603, 0.4291778207, 0.8756943941, -0.2452336848, 0.8608181477, -0.1560474783, 0.332305789, 0.9799858332, -0.7180093527, 0.786002636, 0.2080539763, -0.2461887747, 0.1503138095, 0.5286693573, -0.208918184, 0.2853136361, 0.2858772874, -0.5141441226, -0.3581109047, -0.1814280301, -0.1711124331, 0.8316559792, 0.3451374471, -0.0167069286, -0.5939372778, -0.0007891267, -0.074273333, 0.1963313073, -0.3023451269, 1.1007490158, -0.1217817366, -0.7326486707, 0.0078237168, -0.1328880787, 0.4623841643, -0.6105952859, -0.1905775964, -0.2310142219, 0.146441102, -0.1774762124, -1.3854782581, 0.4197619855, 0.1961777508, -0.1126361787, -0.1135042608, 0.7174091935, -0.4991335869, -0.4076638222, -0.0480183698, 0.4539403021, 0.3158789575, -0.0133839604, -1.1383047104, 0.4211537838, -0.0679431185, 0.1905914247, 0.3091076016, 0.4363028705, 0.2332921028, 0.6549991965, 0.5700097084, 0.5846090913, -0.0579918362, 0.0190684274, 0.662116468, -0.8560365438, -0.4331725836, -1.1512848139, 0.0898925364, -0.3901042938, -0.1958179921, 0.7287221551, 1.0355321169, 0.2290986925, 0.028240798, 0.8719587326, 0.3559300303, 0.4862679839, -0.7189170718, 0.6875496507, -0.3505146801, 0.1292524338, 0.1816669852, -0.8785485029, -0.3922505081, 0.1621549278, -0.2119790018, -0.3317959011, 0.3717588186, 0.1498906463, -0.0515697338, 0.1722258776, 0.3161984682, -0.088312909, 0.429181397, 0.6815896034, 0.8089460731, -0.4275646806, 0.6136868596, 0.0387123786, -0.4470004141, -0.1879796982, -0.7970994115, -1.0152485371, -0.4368920028, -0.3450112343, -0.5065794587, -0.2180932015, 0.7026587129, 0.3936045766, -0.7950620651, -0.5214174986, 0.4008984566, 0.1303369552, -0.1933636665, -0.2528384626, 0.221009478, -0.2571334243, -0.7985185385, 0.450034976, 0.2481512427, 0.2962498963, -0.2725675404, 0.0745067596, -0.1038119495, 0.3687606454, 0.6929558516, 0.6020531058, -0.4664206207, -0.0469350144, 0.1835169941, -0.0054879375, -0.1979035139, 0.9518803358, -0.7307052016, 0.3607657254, 0.8423515558, 1.0461951494, 0.3351742029, 0.3245872557, 0.7820458412, -0.4100378752, -0.1167657524, 0.3323827684, 0.1706021279, 0.111844033, -0.1987362504, 0.6263289452, 0.371768117, -0.2059752196, -0.9498645663, -0.175336495, -0.7973445654, -0.1794279516, 1.2197707891, 0.359315604, -0.2670911252, -0.1795190126, 0.0574907996, -0.0707218125, 0.0168849044, 0.5722192526, 1.1278656721, -0.6687503457, 0.2074138373, -0.5100317597, 0.8552343845, 0.0765746534, -1.0134289265, 0.151024431, 0.3216071427, -0.0128943492, 0.0660980269, 0.617754817, 0.220155403, 0.1918425858, 0.1340574771, -0.3337794244, -0.1824089289, -0.1659052968, 0.0279727653, 0.1800319701, -0.5275835395, -0.0710778758 ]
http://arxiv.org/abs/2402.10311v5
http://arxiv.org/pdf/2402.10311v5
The optimal placement of the head in the noun phrase. The case of demonstrative, numeral, adjective and noun
2024-02-15T20:24:39
2024-03-22T16:10:14
Ramon Ferrer-i-Cancho
cs.CL
cs.CL, physics.soc-ph
The word order of a sentence is shaped by multiple principles. The principle of syntactic dependency distance minimization is in conflict with the principle of surprisal minimization (or predictability maximization) in single head syntactic dependency structures: while the former predicts that the head should be placed at the center of the linear arrangement, the latter predicts that the head should be placed at one of the ends (either first or last). A critical question is when surprisal minimization (or predictability maximization) should surpass syntactic dependency distance minimization. In the context of single head structures, it has been predicted that this is more likely to happen when two conditions are met, i.e. (a) fewer words are involved and (b) words are shorter. Here we test the prediction on the noun phrase when it is composed of a demonstrative, a numeral, an adjective and a noun. We find that, across preferred orders in languages, the noun tends to be placed at one of the ends, confirming the theoretical prediction. We also show evidence of anti locality effects: syntactic dependency distances in preferred orders are longer than expected by chance.
[ -0.6076026559, -0.8471013904, 0.6879533529, 0.3826261461, -0.272198081, -0.2919031382, -0.1830077171, -0.4933071434, 0.6070693731, 0.3676972985, -0.452385664, -0.1065183878, -0.7133870721, 0.1925257593, -0.0971901789, 0.7221538424, 0.1719276607, -0.0964660197, -0.6075024605, -0.1650431603, -0.3735277951, -0.765598774, -0.2298608869, -0.2383183241, 0.4350540638, 0.313100636, 1.2496299744, 1.2531329393, 0.7400554419, 0.3579714596, -0.2751294076, -0.1524987966, -0.0391097777, -0.0093888473, -0.0920034274, -0.8063297272, 0.0039975494, -0.0375421159, 0.4117031693, 1.0549975634, -0.0840527043, -0.1182964295, -0.1919516623, 0.7998693585, -0.6506718993, 0.0425650477, -0.2729660273, -0.0889896452, -0.4950224757, -0.4188860059, -0.0968760476, -0.4934688509, 0.5102301836, -0.1588158607, 0.0412252769, 0.1525646448, 1.1316714287, 0.4238092005, -0.3561778963, 0.057335306, -0.4968546927, 0.8168240786, -0.4708433151, 0.422932744, 0.311142236, 0.126160115, -0.3082701266, -0.4136128724, -0.5283386707, -0.2384045869, -0.3412333727, -0.0592847131, -0.3273340166, 0.5014057159, 0.3685030341, 0.3419504464, -0.6121863723, 0.2025339454, -0.3796038628, 0.1390084475, 0.1294393092, 0.059908811, 0.344510287, -0.4142843485, -0.6613684297, 0.1805429012, -0.688203454, 0.2444379181, 0.2646258771, 0.6958950162, 0.1224894077, 0.4816904366, -0.5296408534, 0.5670881271, 0.2726693749, -0.3107716739, 0.280620575, -0.5628805757, -0.1015511826, 0.2035245746, 0.6563327312, 0.7566567659, 0.2270110697, -0.1721018851, -0.1557097733, 0.711369276, 0.2951421738, -0.6114214659, 0.0658328682, 0.048338674, -0.3022762537, -0.2836215794, 0.1045259759, -0.5203312039, -0.0380369462, -0.5076313019, 0.1031324118, -0.2698523402, 0.0791213959, 0.1074903756, 0.1756195128, -0.0173831712, -0.175927639, -0.9482136369, 0.7183343172, 0.5553874969, 0.8112271428, -0.2846286595, -0.3377091885, -0.1484919488, 0.0993941277, -0.4960335493, 1.0490195751, -0.2273326218, -0.2146234214, -0.101244241, -0.0825091898, -0.1538857818, -0.4690385759, 0.5029833317, -0.1489692181, 0.3256951571, -0.3690782487, -0.6926992536, -0.3530648947, -0.1904310435, -0.4945364594, 0.4382291734, 0.1081633642, -0.9125025868, 0.4701895714, -0.3615916371, -0.7700694203, -0.0897420123, -0.3472732306, -0.23868303, 0.3984402418, -0.2364108264, 0.144253999, -0.2192937732, -0.0974597558, -0.1955089867, -0.0700829178, -0.035976436, 0.0389221199, 0.8383657932, 0.1718092412, -0.3600039184, -0.0869912654, -0.6384342313, 0.185592398, 0.0402295776, -0.2352048904, -0.7800782919, 0.0793664306, -0.1101385057, 0.2163157314, 0.2507309914, -0.419169724, 0.0279003438, -0.7568708658, 0.1429513544, 0.7574279308, 0.343924135, 0.6545610428, -0.2668001652, 0.6362034678, -0.0703025609, 0.3333667517, 0.2612618506, -0.1614703089, -0.7127088308, 0.0576008037, 0.2638583481, 0.7539554238, -0.4764882624, 0.2835576534, -0.110043332, -0.0516843572, -0.0394856632, -0.0514347181, 0.8188424706, 0.1795185208, 0.2126929313, -0.3708055913, -0.941686213, -1.1773506403, -0.1056985185, -0.4701529145, 0.6729106307, -0.1974221617, 0.2997461259, -0.078171216, 1.0872062445, -0.8577800989, -0.2967072427, -0.3874973357, 0.0351721011, 0.3502214551, 0.3396593332, 0.971898973, -1.0300843716, -0.301690042, -0.2630676031, -0.477438271, -0.1671188921, -0.0280160382, -0.1521744728, 0.2667292058, 0.4078510106, -0.9149639606, 0.6286416054, 0.1330735087, -0.2398451865, 0.6788167953, -0.2164736688, -0.3623739183, -0.9542592168, -0.4282170236, 0.0243618544, -0.1400288641, -1.1013433933, 0.2260365933, -0.2450975329, 0.6483692527, -0.4121939242, 0.106390141, -0.3575063944, -0.0058031054, -0.522515595, 0.0151638919, 0.052756954, 0.4194464684, 0.1474740952, 0.6012342572, 0.5409264565, -1.0241372585, 0.1988817453, 0.2571575642, -0.6791718006, 0.6159612536, -0.7488940954, -0.2900727391, -0.3414046168, -0.2343467772, -0.9739528894, 0.0370898806, -0.070053786, -0.3712944686, 0.1597410589, 0.3980226815, -0.4529196322, -0.3041290939, -0.0782473385, 0.2781977952, 0.2422489226, -0.1579364836, -0.1517623663, 0.6275924444, -0.1271487474, -0.61765486, -0.7900791764, -0.1891057044, -0.2665417492, -0.3912011981, 0.5265794992, -0.1923785657, -0.8750190139, -0.098190777, -0.3524329066, 0.0818036944, 0.0198219959, 0.375528425, 0.0690037012, -0.1666578799, 0.0886169225, -0.1238902807, -0.2551558614, 0.046908319, -0.0808088407, 0.4202323556, -0.2496521473, 0.2461360693, -0.1308737546, 0.2185343355, 0.6610310078, 0.0072834664, 0.6341472864, -0.1060696915, -0.3935597837, 0.0780948699, -0.4748077393, 0.0080257365, -0.4603279531, 0.280975163, -0.5719560385, -0.2477856576, 0.2439699322, 0.2086488605, 0.0546019115, 0.3939074874, 0.3177351356, -0.0753932223, 0.8226441145, 0.9329696894, -0.0746438801, 0.4688405693, -0.2213772535, 0.186897248, -0.651610136, 0.0759059265, -0.542542398, -0.1605053693, -0.8190582395, -0.0792864412, 0.3198068738, 0.2034848928, 0.163812995, 0.8256445527, -0.3006144762, 0.7102981806, 0.6348826289, 0.0183850024, 0.0726103485, -0.1811500192, -0.6796854734, -0.1983664483, -0.5273007154, -0.333937645, 0.3278559744, 0.0767994449, 0.4266980588, 0.2331699431, 0.7416478395, -0.0283051487, -0.3136548698, -0.9224111438, 0.7329998016, -0.3127786815, -0.4698777199, -0.3858145177, -0.14346762, -1.0027271509, 0.4024035633, 0.1090223268, -0.6817139387, 0.4779952168, -0.2784281075, -0.748744607, -0.0730119348, -0.398098737, 0.7751690149, -0.2377971709, 0.0137753068, 0.1106615812, -0.9105173349, -0.0390910618, 0.244844079, 0.4337571263, -0.0529304594, -0.1576292664, 0.6144269705, -0.7284010649, 0.3993399739, -0.0170975998, 0.276137501, 0.1807367653, 0.1850368381, 0.2782094777, -0.5398465991, 0.124833934, -0.2321929634, -0.0810146183, -0.2173710316, -0.4838828444, 0.4660258591, -0.6535671353, -0.7636401653, -0.4543409348, -0.4690751433, -0.1232648939, 0.3535285592, 0.762513876, 0.5745693445, 0.0145745864, 0.1875320375, 0.4569619, -0.1380697489, 0.5928970575, 0.2658544779, -0.363581568, -0.291351527, 0.5811975598, 0.5760137439, 0.5677314401, 0.6917815804, 0.5865954757, -0.2653299868, -0.6060894132, 0.0116623575, 0.3291738033, -0.7214018106, -0.0453294255, -0.5510252714, -0.0340731405, -0.5603129268, -0.3262932897, -0.3763619661, -0.7042899728, 0.0074158916, -0.4814035296, 0.2120949775, 0.4197407067, -0.2531838417, 0.4237014651, -0.2839420736, 0.4641636312, 0.0701698661, 0.0772849768, -0.4366341233, -0.4925481677, -0.2064752728, -0.2868396342, -0.0723638684, -0.71776402, 0.3181780875, 0.0602769032, 0.573679924, 0.9210957289, 0.2619460225, 1.0345065594, -0.7371545434, 0.4473798871, 0.5906063318, -0.6855162382, 0.6472520828, -0.3323777616, 0.4675489366, 0.8643125296, 0.3922751546, -0.417327255, -0.6526537538, -0.6208699346, -0.8234255314, 0.3805226386, 0.2475238144, -0.0941270441, -0.4219879508, 0.2959782779, 0.1619573683, 0.3339558542, -0.6959123015, -0.8230144382, 0.3537646532, 0.2329641134, -0.017562151, -0.1571526527, 0.2125471532, -0.2143750042, 0.4578771293, 0.2884229124, 0.4081930816, -0.0361945406, -0.003099991, -0.3455354571, 0.0172359217, 0.9150831699, 1.0803382397, -0.3638429642, 0.3220586479, -0.026595315, -0.3806514144, 0.1279992163, -0.2369595915, -0.5449715853, 0.4876902401, 0.2700137198, 0.7694783211, 0.183175534, -0.084866941, 0.5506369472, 0.3801643848, -0.0310087558, -0.5224065781, -0.1758746505, -0.2010252029, 0.2137242556, 0.1626115292, 0.2685874104, 0.2986340225, -0.7378944755, 0.5077742338, 0.4503851235, -0.0620867051, -0.1981185377, 0.531562686, -0.3833482563, -0.2862158716, 0.1489400417, -0.0950427949, -0.8853105307, 0.7808044553, 0.4123820961, 0.6993273497, -0.4906637073, 0.3496515155, 0.4001276791, 0.4306383431, -0.3629231453, 0.4091056287, 0.2708365321, -0.6983398795, -0.0869427919, -0.6901265979, -0.2907586098, -0.1579086781, -0.7769371867, 0.2722396255, -0.5507122278, -0.5132585764, 0.2822167873, 0.0145479944, -0.2967675924, 0.4329698384, 0.071667701, 0.3229082227, -0.7407717705, 0.6521995068, 0.447483778, -0.5017851591, -0.603238821, -0.1227990314, 0.0803700164, -0.6120288372, 0.7655536532, 0.3676606417, -0.3065989017, -0.4032970965, -0.2897546887, -1.2131040096, 0.7347971797, 0.2431825846, -0.3090519309, -0.3345770836, 0.3137456775, 0.657181263, -0.3274743557, 0.0479382314, 0.3932260275, 0.3917369545, -0.0210235268, -1.0560837984, 0.0979875177, 0.0709376782, 0.4941139221, 0.5218362212, -0.7811501622, 0.997972548, -0.5018903017, -0.3758892715, 0.2717282772, 0.7219377756, -0.0725891665, 0.0968182757, 0.7477154732, 0.7745791674, 0.4647748768, -0.1188129485, 1.2794803381, -0.35187006, 0.1822664142, 1.0830754042, 0.1097299084, 0.6940261126, 0.667698741, -0.4946914911, 0.6641538143, 0.7728000879, 0.2713827491, 1.1650949717, 0.4279361665, 0.0993396789, 0.1267783195, -0.4686422348, -0.30056265, 0.7534787655, 0.1613285989, -0.3157240748, 0.0235727876, 0.1261038035, 0.0680561066, 0.1651448756, -0.3265359402, 0.617429316, 0.3043796122, -0.5717789531, 0.717474699, 0.0531768538, 0.3566757739, -0.3353335559, 0.4304738939, -0.3645409644, 0.3101560771, -0.2598127425, -0.313803941, 0.3250393569, -0.5781400204, -0.3884102702, -0.2107963562, 0.5096815825, -0.2368526459, -0.4176386893, 0.2909419835, 0.4996106923, 0.2209595889, 0.1602523923, -0.3923902512, -0.2439409941, -0.3786612153, -0.5638762712, 0.3964571059, 0.4620283246, 0.1696536243, 0.5071880817, 0.3074476421, 0.4326705337, 0.0954669863, 0.0763245746, 0.5161220431, -0.4911186099, -1.0081847906, -1.0196640491, 0.0507416017, 0.2308822125, -0.2392807901, 0.8431393504, 0.4246858656, 0.8620480895, 0.020418914, 0.4398707449, -0.0828012228, 0.5309230685, -0.2841246426, 0.113201499, -0.5194267631, -0.0629179999, -0.6043659449, -1.2258020639, -0.5429193377, 0.7917445898, -0.4677451253, -0.2073247433, 1.211351037, 0.7120948434, 0.2726137936, -0.055622451, 0.4184516072, 0.1761544049, -0.4579629302, 0.5674852133, 0.5845062733, -0.1491206139, 0.3355633914, -0.9067475796, -0.044582013, -0.0476577394, -0.5264966488, -0.6493155956, -0.6581024528, -0.5069679618, -0.2967896163, 0.0298945419, 1.1798987389, 0.4642349482, -0.6773343682, -0.4971354306, -0.405821085, 0.2146588713, -0.5797951221, -0.2689465582, 0.4075725973, -0.2473139018, -0.7371971011, 0.2131166756, 0.4264743626, 0.0490155257, -0.0586382672, 0.0974357501, -0.6178486347, 0.1512507051, 0.6092500687, 0.238150999, -0.8809962869, -0.4235095084, 0.0358137749, -0.4880983531, 0.2683638334, 0.4710358381, -0.7208141088, 0.3317266405, 0.5592158437, 0.2711618841, -0.2021592855, 0.1804415137, 0.4336091876, -0.7374761701, 0.0731724799, -0.0958318338, 0.3684066534, -0.1428832263, -0.6014324427, 0.7454440594, 0.4301943183, -0.2946698368, -0.8344737887, 0.5460962653, -0.8357138634, -0.4512457848, 1.2301037312, 0.0377004854, -0.2089877129, -0.0891943425, 0.0584450476, 0.2650132179, -0.0389252678, 0.6365047097, 0.7341086268, -0.5161379576, -0.237894699, -0.5961788297, 0.4880475104, 0.541279912, -0.6094851494, -0.2205331177, 0.3406849504, -0.0186744332, 0.7727153897, 0.5440893769, 0.0855395794, 0.3506520391, 0.0146356979, -0.1272674799, 0.1536579728, -0.6351373792, -0.1755380183, 0.2316251546, -0.1016308963, -0.5719782114 ]
http://arxiv.org/abs/2402.10302v1
http://arxiv.org/pdf/2402.10302v1
How to Discern Important Urgent News?
2024-02-15T20:08:07
2024-02-15T20:08:07
Oleg Vasilyev, John Bohannon
cs.CL
cs.CL
We found that a simple property of clusters in a clustered dataset of news correlate strongly with importance and urgency of news (IUN) as assessed by LLM. We verified our finding across different news datasets, dataset sizes, clustering algorithms and embeddings. The found correlation should allow using clustering (as an alternative to LLM) for identifying the most important urgent news, or for filtering out unimportant articles.
[ -0.2395089716, -0.7948465943, 0.8695707321, 0.5566057563, -0.358835876, 0.1464503706, -0.0407940187, -0.5177534819, 0.5060273409, 0.2217403501, -0.2651254535, -0.5753571987, -0.8915032148, -0.22258313, -1.0608822107, 0.826267004, 0.2231083214, 0.052330967, -0.1038520187, -0.4003190398, -0.0830761194, -0.2727088332, -0.8031691909, -0.0999206007, 0.7836512327, 0.6483174562, 0.6476045847, 0.6581189036, 1.188288331, 0.143308267, -0.6104129553, -0.2947537303, -0.699673593, -0.2220433503, -0.3290380239, -0.6719372272, -0.204749614, 0.0351710767, 0.5858706236, 0.8102198243, -0.0100502074, 0.4924283028, -0.0017948592, 1.3057250977, -0.2898272872, 0.0269720163, -0.6471805573, 0.1605380177, -0.4442545176, -0.1813304126, -0.0617759004, -0.4763460755, 0.2058583349, -0.3673122227, 0.3383581936, 0.306848377, 0.9355391264, 0.3292713761, -0.7130483389, -0.3258482814, -0.6433241963, 0.6805154085, -0.3860211372, 0.1336631477, 0.2122830302, 0.1106372625, -0.3868212998, -0.5433107615, -0.1960512698, 0.2210689336, -0.2712352872, 0.15888156, -0.1079521328, -0.0151404673, 0.2504800558, 0.7906062603, -0.2174799591, 0.1380141526, -0.5450226068, 0.0132577121, 0.3811353445, 0.0754655674, 0.3282662034, -0.3018435836, -0.3766745031, 0.2374757826, -0.8830412626, 0.3820238709, 0.3491159081, 0.1969899535, -0.1314400584, 0.6456006765, -0.5038235188, 0.6661152244, 0.4110828042, -0.3307948411, 0.1757840216, -0.326471746, 0.3245557547, 0.6299909353, 0.3457433581, 0.6983788013, -0.3576836288, 0.0240634698, 0.0071823378, -0.0434500948, 0.2364227623, -0.4746034443, 0.3488333821, 0.470079124, -0.8772580028, -0.5298057795, 0.3203537762, -0.7118135691, -0.3930168748, -0.2388065755, 0.4302524924, 0.5348020792, -0.4762764275, -0.0465440936, -0.250107944, 0.1673491895, 0.3494337499, -0.5947690606, 0.0267471336, 0.8208888173, 0.7021535039, -0.5100353956, 0.0645982549, -0.2969796956, 0.0413058177, -0.52717489, 1.0911647081, -0.3625625074, 0.148961246, -0.0730825067, 0.2890377343, 0.3500778377, -0.5543786883, 0.973164022, -0.5793914199, -0.2077874392, -0.4119870365, -0.4848165512, -0.5775083303, 0.112854369, -0.9477392435, 1.0197798014, 0.3349450231, -0.7998912334, 0.687351346, -0.4342485666, -1.0298987627, -0.3037085831, -0.0854138285, -0.7138878703, 0.4912080467, 0.1295609325, 0.6679045558, -0.4271616936, 0.445743084, -0.3325689137, -0.3468833268, 0.2961203456, -0.2045178711, 0.31673944, 0.2603295445, -0.4629204869, 0.0946607739, -0.8698765635, -0.2703298628, -0.0496913716, -0.5425135493, -0.3285430372, 0.2738217115, -0.1708333343, 0.0318629965, 0.2783151269, -0.2457974553, 0.0860689208, 0.0924839675, 0.4230747223, 0.3245113194, 0.5194541216, 0.5408405662, -0.4838958979, 0.3592201471, 0.3890298605, 0.3527693748, 0.1474008262, -0.6573471427, -0.810533762, -0.0301091354, 0.1436442286, 0.6999390721, 0.1303147078, 0.4440309703, 0.1201834828, -0.425388664, -0.5075650215, 0.0056910971, -0.0706054792, 0.4539279938, 0.0458492227, -0.0256481301, -0.6630103588, -0.9681942463, -0.5375864506, 0.1792044491, 0.5041825175, 0.1454299837, -0.1661411375, -0.0093429582, 0.9677423239, -0.4436394274, -0.3006801307, -0.4748595953, 0.3351371586, 1.1286765337, 0.2038458735, 0.6277984381, -1.3541741371, -0.5107258558, 0.0900261402, -0.6968231797, -0.4059183002, -0.4108935893, -0.0214093961, -0.4268503487, 0.9502022266, -0.3092987239, 0.9302707911, 0.3683042526, -0.1583599895, 0.100632593, -0.0902393013, 0.4067295194, -0.8272445202, -0.1447377056, -0.096018739, -0.4334456325, -0.6559430361, -0.1172151417, 0.0849670693, -0.2197886258, -0.5477854609, 0.3696528673, -0.5299305916, -0.387955606, -0.3092723489, 0.1698570997, 0.0717290118, -0.0123864058, -0.0722032934, 0.496643573, 0.6141703129, -0.7789083719, 0.1981430054, -0.1701595038, -0.8910702467, 0.256924659, -0.5157724619, -0.4784903824, -0.2274615169, -0.1351770759, -1.2372069359, -0.4317587614, -0.2073913217, -0.1539853215, 0.1747807413, -0.0045039011, -0.3475584388, -0.7674083114, -0.0001495309, 0.3700202405, 0.3033955693, -0.5411053896, 0.407646209, 0.6344155073, -0.165134728, -0.5111987591, -0.4989282191, -0.0768844336, -0.5641462803, -0.1060093343, 0.1007220596, 0.0502647571, -0.5614745617, 0.2280974686, -0.2067653984, -0.3582701385, 0.5082133412, 0.625783205, -0.2034868598, -0.2378457487, 0.1239155829, 0.2916555703, -0.4471901059, -0.0103471829, 0.4117554128, 0.2399116457, -0.28877303, -0.2682017982, -0.5797239542, 0.7107337713, 0.9193734527, 0.1510310471, 0.7163122892, 0.7710254192, -0.3081911206, 0.3368381262, -0.7710892558, -0.3521457911, -0.4131214321, 0.4619099796, 0.1288755834, -0.7715085149, 0.6038489342, -0.6297826171, -0.1357855201, 0.6889846325, 0.4690563977, -0.0370604061, 1.2288254499, 0.4478343129, -0.5698192716, 0.6932138205, -0.0401483215, 0.4310102463, -0.3963906169, 0.1263682097, -0.2895356417, -0.6974627972, -0.3859024346, 0.1280756742, 0.7299208045, 0.475258857, 0.2335243523, -0.1967236102, -0.6966106892, 0.8236710429, 0.8114404082, 0.3507027328, 0.5084229708, 0.3066476583, 0.4700421095, 0.0790688843, -0.5569071174, -0.2145905495, 0.8670444489, 0.1640661657, 0.8337087035, 0.0775894374, 0.5165849328, 0.4347996116, 0.320625186, -0.9276607037, 0.4750424623, -0.2782547772, -0.6784745455, -0.3170028031, -0.1907057762, -1.2852780819, -0.224434346, -0.548992753, -0.301965028, 0.4377422333, -0.3120250106, -0.5960054398, 0.2030697614, -0.6917963028, 0.303961575, 0.0621617585, -0.0364863761, -0.807657361, -0.6906894445, 0.1472834647, -0.0757798627, 0.6677047014, -0.5860540271, 0.1057240963, 0.9757138491, -0.2288067192, 0.7884381413, 0.2057785243, 0.3507389426, 0.6220347881, -0.46592471, 0.5154249668, 0.1785284877, -0.1146807224, 0.0504590347, -0.4423184097, -0.4038232565, -0.251678586, 0.8698589802, -0.8480908871, -0.9346366525, -0.5041382313, -0.717202425, 0.4127588272, 0.1678428501, 0.3086930811, 0.660913229, -0.0593105517, 0.4242801666, 0.5955108404, 0.5304204226, 0.6675980091, 0.7716994882, -0.2468020767, -0.2271861732, 0.849353075, 0.4895797074, -0.0927926674, 0.7085049152, 0.5506327152, 0.1494419724, -0.611782968, -0.1205184832, 0.0819159448, -0.6679565907, -0.305103749, -0.7149264216, -0.3477061987, -0.1919459999, -0.4673436284, -0.3389973938, -0.7340977192, -0.7397212386, -0.2659329176, 0.7575544119, 1.1444151402, -0.3855448365, 0.5571879745, -1.1399222612, 0.5271539688, 0.4721763432, -0.0326641053, -0.2833056152, -0.1546058953, -0.4660879672, -0.4145044088, -0.1198753864, -0.8856344819, 0.1530255228, 0.1648747623, 0.6137288213, 1.0551284552, 0.2486032397, 0.5499770045, -0.242941916, 0.6425035, 0.0833614022, -0.6400310993, 0.7043993473, -0.6150425076, 0.0942932665, 0.8647421598, 0.6789386272, -0.2414478958, -0.3688008487, -0.8365036845, -1.0687975883, 0.4354597926, -0.1785318255, -0.3573973477, -0.1883177161, 0.8466618061, 0.1238967627, 0.449811995, -0.7227650881, -0.3386251032, 0.4682465792, -0.2135832906, 0.2257983387, -0.7692371607, -0.2876699865, -0.4223893583, 0.2425006032, 0.224130556, 0.1905756891, 0.3926088214, 0.0060431934, -0.3480939865, 0.3906438947, 0.2533238232, 1.0257151127, -0.2642675638, 0.1464231014, 0.0502934381, -0.7519016862, 0.3185576797, -0.3365863562, -0.1079548299, 0.1503910571, 0.3777267635, 0.4958897233, 0.5447744727, -0.4368306696, 1.0162789822, 0.0363718122, 0.0719003826, -0.2675592303, 0.08024396, -0.0229680054, 0.4075223804, 0.6742612123, 0.1188127995, 0.4889035821, -0.8483991027, 0.0834573656, -0.221344471, -0.6387417316, -0.2984715998, 0.4505248368, 0.1745909303, 0.0806254148, 0.5163179636, -0.0853697062, -0.61929667, 0.9987986088, 0.5327256322, 0.3631807566, -0.3622348607, 0.1741788089, 0.4683235586, 0.2642090023, -0.6050668359, 0.7085650563, 0.3342531025, -0.2646247447, -0.2905614078, -0.1751856506, -0.4354599118, -0.2179282308, -1.1207289696, 0.3816282153, -0.3362304866, -0.2585462332, -0.3208076656, -0.0120413881, -0.4344984293, 0.4140693843, -0.3551395237, 0.743727684, -1.0748023987, 0.3749546707, 0.6341333389, 0.237588793, -0.6853470206, 0.0272653829, 0.0273653734, -0.9445860982, 0.5265878439, 0.3248528838, 0.6287142634, 0.0015541344, -0.5508672595, -1.3822929859, 1.0257757902, 0.1885533035, -0.9758273363, 0.1411392093, 0.0299134981, 0.1099885628, -0.4776480794, 0.195806399, 0.433593899, 0.7578636408, 0.0323291197, -0.5747508407, -0.0615494885, 0.0305934772, -0.6162012815, 0.5173977017, -1.0850576162, 0.8819757104, -0.6004525423, -0.2112130821, -0.3845292628, 0.872574091, -0.2960569859, 0.7196942568, 0.7487732768, 0.6899594665, 1.0636048317, -0.1883291155, 0.7636109591, -0.5730596781, 0.2214806676, 0.8353817463, 0.0308490861, 0.9755703807, 0.41913715, -0.182224676, 0.3335968852, 0.8735448122, 0.2488633245, 0.9163245559, -0.1046290919, -0.4555233717, -0.3200324774, -0.4718979597, -0.5837900639, 0.2350261807, 1.050391674, -0.2995462418, -0.3668027222, 0.1594839096, 0.0675910339, -0.2267441005, -0.7656964064, 0.9165686369, 0.2177785039, -0.3491359055, -0.0439028144, -0.4299185872, 0.1977030933, -0.4485337436, 0.0532298163, 0.0947428793, 0.197691381, -0.4803414345, -1.0684605837, 0.5651866198, -0.4492662549, -0.8248392344, 0.10083922, 1.0182634592, -0.4215193391, -0.5233669281, 0.3170173764, 0.5328374505, 0.3710740805, -0.3617715538, -0.4100477993, 0.101385504, -0.0308351833, -0.4435858428, 0.4498560131, 0.6428285241, -0.1331626326, 0.3537685275, 0.6720806956, 0.1938343793, -0.1525941789, 0.0953598544, 0.9502827525, -0.8630613089, -0.4307740629, -0.5955868363, 0.1358525902, -0.2962742448, -0.2730739415, 0.8675972819, 0.5635630488, -0.0861868337, 0.2450559884, 0.4020619988, 0.0186177287, 0.943243742, -0.5822495818, 0.7610858083, -0.4554152489, 0.0421459228, 0.0626925975, -0.7551674247, -0.4341146648, 0.4354600906, -0.3243678212, -0.5377326608, 0.9073905945, 0.5622914433, 0.0738372728, 0.2376213819, 0.1625343412, 0.6096359491, -0.0570975281, 0.2718048394, 0.8530762792, -0.3056353033, 0.5045131445, -0.3289213777, -0.5878437757, -0.8714712858, -1.12959373, -1.0700634718, -0.5157590508, -0.6019397378, -0.265889734, -0.093056336, 0.7143735886, 0.7286627889, -0.738117516, 0.0800018683, -0.1748572439, 0.7128579021, -0.4708852768, -0.2926188707, 0.7086570263, -0.1651563346, -0.4239369929, 0.3458019495, 0.5482363105, 0.1419079453, 0.046805568, 0.8247212768, -0.0651068762, -0.0870494023, 0.7277430296, 0.1807089895, -0.4492556751, -0.3489848673, -0.2822265327, -0.2274819911, 0.3046845794, 0.959980011, -0.5234869719, 0.0616097003, 0.8622207642, 0.3990470469, 0.1967760921, -0.0790582597, 0.2500200868, -0.6271110177, 0.5756562352, -0.0622956119, 0.4496142268, -0.0289118104, -1.0940065384, 0.6225619912, 0.1364207119, -0.9953044057, -0.6897738576, -0.1101216897, -1.3912593126, 0.1090723202, 1.1429684162, -0.1736345291, -0.84494102, -0.4971179366, -0.3862532079, -0.1864888966, -0.6200326085, 0.9121707082, 0.8328031301, 0.0060979677, -0.1020228863, -0.4355405569, 0.2524099946, 0.3047552109, -0.9040911794, -0.2839684784, -0.222473681, -0.0600172915, 0.2164895386, 0.4028255641, -0.0478128716, 0.3522857428, -0.0771251246, -0.4951731563, 0.4614836574, -0.4979686439, 0.0044460567, 0.3980243504, -0.0523403026, 0.1401873529 ]
http://arxiv.org/abs/2402.10294v1
http://arxiv.org/pdf/2402.10294v1
LAVE: LLM-Powered Agent Assistance and Language Augmentation for Video Editing
2024-02-15T19:53:11
2024-02-15T19:53:11
Bryan Wang, Yuliang Li, Zhaoyang Lv, Haijun Xia, Yan Xu, Raj Sodhi
cs.HC
cs.HC, cs.AI, cs.CL, cs.MM
Video creation has become increasingly popular, yet the expertise and effort required for editing often pose barriers to beginners. In this paper, we explore the integration of large language models (LLMs) into the video editing workflow to reduce these barriers. Our design vision is embodied in LAVE, a novel system that provides LLM-powered agent assistance and language-augmented editing features. LAVE automatically generates language descriptions for the user's footage, serving as the foundation for enabling the LLM to process videos and assist in editing tasks. When the user provides editing objectives, the agent plans and executes relevant actions to fulfill them. Moreover, LAVE allows users to edit videos through either the agent or direct UI manipulation, providing flexibility and enabling manual refinement of agent actions. Our user study, which included eight participants ranging from novices to proficient editors, demonstrated LAVE's effectiveness. The results also shed light on user perceptions of the proposed LLM-assisted editing paradigm and its impact on users' creativity and sense of co-creation. Based on these findings, we propose design implications to inform the future development of agent-assisted content editing.
[ -0.396704793, -0.9290100932, 0.7155835032, -0.0698938742, -0.0797315165, 0.4151212573, -0.4031560719, -0.3987126946, 0.3135923147, 0.7577755451, -0.66132164, -0.5096836686, -0.5433044434, 0.0609647185, -0.431443274, 0.6324194074, -0.4301264584, -0.0431298092, -0.1966032237, 0.078779012, -0.6810235977, -0.249875918, -0.5395104885, -0.1106473729, 0.4387455285, 0.3820540607, 1.171677947, 0.5514034629, 0.396060884, 0.4296697378, -0.052923888, 0.6244184375, -0.3672784567, 0.3520655632, -0.3978108466, -0.3529229164, -1.0851441622, -0.2763742507, 0.5949755907, 0.3348495662, 0.1593436301, 0.0024104165, -0.0030462819, 0.4629406035, -0.4621409476, -0.1655017734, -0.4071463645, 0.1713023782, -0.0136074554, -0.1822064668, -0.1708806157, 0.015487982, -0.298961252, -0.7349842191, 0.1260979623, -0.4345823526, 0.3578489423, 0.8601594567, 0.0125867622, -0.0924494267, -0.9008231163, 0.2418073565, -0.4117943645, 0.6018291116, 0.3090524375, 0.3985300362, -0.1762450933, -0.5562590957, -0.8492628932, -0.0179595295, 0.3039029241, -0.1380797625, -0.245298326, 0.3819064796, 0.2464170158, 0.2360167503, -0.4705400169, 0.4444865286, -0.1420383602, -0.1988696754, 0.7216740847, 0.2304810733, 0.6400606632, 0.0383111238, 0.1228284165, 0.0473394133, -0.6304781437, 0.0576501898, 0.3890963197, 0.1293297708, 0.0312945507, 0.9341794252, -0.1673333496, 0.7305351496, -0.0022081402, -0.3386233747, -0.0148505652, -0.0189661384, -0.6567269564, 0.0850500837, 0.6914963722, 0.4771681726, 0.2168626487, -0.0887130648, -0.3255296946, -0.0367408507, 0.1997224092, -0.6594371796, 0.1300885975, 0.122377187, -0.0897521377, -0.1564674675, 0.1500919908, -0.3978120089, -0.8671938181, -0.2988966405, 0.5609770417, 0.035023246, -0.0958810151, 0.2907052934, -0.0180765931, 0.0164148025, 0.8009293675, -0.5651181936, 0.1787997335, 0.5572171807, 0.7372274995, -0.0818378404, -0.3427684605, -1.0399279594, 0.33483693, -0.2571854591, 0.6754348278, -0.6027339101, -0.5258979797, 0.254850626, 0.2632782459, 0.6699639559, -0.4124478102, 0.3489026427, -0.6665429473, -0.1194489002, 0.0798301995, -0.391661793, 0.0441588312, -0.0465526395, -0.8147877455, 0.7466931939, 0.0399478972, -0.0815116167, 0.3104145825, -0.6521703601, -0.1841398925, 0.31197685, -0.212942183, -0.1543037742, 0.0461226776, 0.2597638965, 0.4346714914, -0.1393002272, 0.2064644098, -0.0486928523, -0.2159415185, 0.4132561684, -0.3426039517, 0.1457180232, 0.0986557528, 0.0572436526, 0.1525366157, -0.5923998356, -0.2717957497, -0.2016919404, -0.2059437186, 0.0443996005, -0.2184019536, 0.0867891386, 0.2329098582, 0.2717568576, -0.345318079, 0.5306190848, -0.1871278584, 0.1920556575, 0.8993088603, 0.0695313364, 0.8231428266, -0.0318334773, 0.9251881242, -0.6151763201, 0.1325017065, -0.1791255623, -0.1612637192, -0.4529852271, -0.3016391397, -0.156994313, 0.4908885062, -1.0007740259, 0.1323327124, -0.0649599358, -0.3157476783, -0.624497354, 0.9565010071, 0.0766533762, 0.2229862362, 0.1067029312, -0.2281259298, -0.5973646641, -0.7767577767, 0.0533177741, 0.0167724937, -0.3408919871, 0.175455898, 0.1650095433, -0.2067520022, 1.0568583012, -0.5569354892, -0.4034979045, -0.4389235675, -0.2458043396, 0.0817719474, 0.1702558249, 0.3335959613, -0.6952016354, -0.6005837321, 0.2564448118, -0.9571576715, -0.5157967806, -0.1324455589, -0.1170886382, 0.1313080788, 0.6068167686, -0.6738730073, 0.5905592442, 0.4207980931, -0.1930647492, 0.4019801021, -0.5009128451, 0.2021438777, -0.9689627886, -0.5079307556, -0.2501747608, -0.3812057674, -0.6325558424, -0.0414514169, -0.3098663688, -0.191794157, -0.8151760101, 0.6260586381, -0.4005764127, -0.2777268589, -0.6377389431, 0.3943800628, 0.2764106393, 0.3459710479, 0.2973701954, 0.8189451098, 0.5859271884, -0.2899907529, 0.7571250796, 0.3229938447, -0.3203678429, 0.7386771441, -0.6605197191, 0.2840738297, -0.2074332982, 0.0876891613, -0.574287951, -0.4983834624, 0.2186660767, -0.373580128, -0.0338407792, -0.1097904518, -0.5550367236, -0.1318005919, -0.1814980954, 0.3651598096, 0.4098926187, -0.4832017422, 0.688801825, 0.5080219507, -0.3813695908, -0.5170526505, -0.7591276765, 0.4861884713, -0.1414217651, -1.0757107735, 0.5033128858, -0.3019439876, -0.5106364489, 0.0889742151, 0.1343175322, -0.1053156033, -0.2081812471, 0.4295334518, 0.2302905172, 0.098651588, 0.213932544, 0.0211912468, 0.2129094154, -0.3400778472, 0.080024235, 0.316406101, 0.0546970665, -0.2440670282, -0.5139762759, 0.4816152751, 0.5536354184, -0.5041267872, 0.4238712192, 0.5734598041, -0.313298434, -0.3049864173, -0.6402540207, 0.1651121527, -0.5181365609, 0.6499193907, -0.171411708, -1.0656714439, 0.5236919522, 0.1004970148, -0.032615304, -0.0270898063, 0.7113050222, -0.1841478646, 0.8240790367, 0.8392579556, 0.4049255848, 0.9482749701, -0.4679491818, -0.030878732, -0.7063318491, -0.1379514635, -0.1791324764, -0.2385664433, -0.3278291821, -0.8200005889, 0.5046598911, -0.089147456, -0.0862539187, 0.1697753072, -0.2479715347, 0.8128418922, 0.0365955085, 0.0428942032, 0.4487603009, -0.0860294327, 0.2593663633, -0.1023261845, -0.5547818542, -0.5952864289, 0.7635443211, 0.5101599097, 1.0224789381, 0.3449922204, 0.5761947036, 0.9468763471, 0.0498240553, -0.9732622504, 0.8532928824, -0.0707697198, -0.118528083, -0.6220800877, 0.2997151315, -0.638674438, -0.000862437, -0.4591015279, -0.6413909793, 0.0866642669, 0.0973569676, -0.4401675463, 0.4257690609, -0.5117589831, 0.6065390706, -0.3966642618, -1.1262773275, -0.2560060918, -0.1941010058, 0.1627408564, -0.0831335187, 0.53799963, 0.1709400564, -0.2122705728, 0.408170253, -0.9369740486, 0.8113955259, -0.1803274006, -0.3449020684, 0.5413658023, 0.3334108293, 0.7520301342, 0.2088410109, 0.1160896793, -0.3194316626, -0.6198962331, 0.0343044475, -0.9518880248, 0.5593675375, -0.7274304628, -0.8595765829, 0.0436412878, -0.6583091021, 0.0162130818, 0.1001959518, -0.3468541801, 0.2760882676, -0.2897570431, 0.1050639525, 0.5290672183, -0.4197059274, 0.6140067577, 0.555783093, -0.5371477604, -0.67879498, 0.6783630848, 0.0348981172, 0.3024342954, 0.1875206977, -0.1827692837, -0.0493557379, -0.3687378168, -0.6200797558, 0.1515647918, -0.782464385, -0.0338063911, -0.3688582778, -0.1680777222, -0.2196090966, -0.7299712896, -0.4499443769, -0.3157171607, -0.1772184372, -0.3267404735, 0.4035404623, 0.901190877, -0.1733496636, 0.5784615874, -0.8101016283, 0.5399134159, 0.7143528461, 0.3399822414, -0.3385990262, -0.4932846725, -0.6708936095, -0.2352254987, -0.2688426673, -0.9507960677, 0.4084627628, 0.160256803, 0.5259827375, 0.2196070254, -0.4143262208, 0.4726228714, -0.545363307, 0.9724076986, 0.023124842, -0.876285851, 0.5007821321, -0.3380049765, 0.300830096, 0.1335480213, -0.1606528014, -0.6165060401, -0.3478667736, -0.2103259414, -0.5493789315, 0.5015878677, 0.098599121, 0.1409406364, 0.2481286675, 0.2468684465, 0.2063222677, 0.2095485479, -0.5812079906, 0.1227541938, -0.2122670263, 0.1635637432, -0.1184460446, -0.0784854293, 0.0777623132, -0.0651847571, 0.5489182472, -0.0604202487, -0.1181773022, 0.2745869756, -0.4385094941, -0.4915753305, 0.5114747882, 0.5510915518, 0.4615138173, -0.1683463305, -0.0701181814, 0.1915237457, -0.3645463884, 0.3710791171, -0.0663635209, -0.2009214312, -0.0341138542, 0.3452275097, 0.9506494999, -0.1048515141, -1.000238061, 0.2813897431, 0.0333455913, -0.3356179297, -0.377830416, 0.2150061876, -0.1152804866, 0.5977668762, 0.1966612339, -0.0772965401, 0.0872840062, -0.426615268, -0.0064191469, 0.6318617463, -0.1211677417, -0.3416116536, 0.7111783624, 0.3405198157, -1.0320706367, 0.0307990611, -0.0315636508, -0.2639332712, 0.3058412373, 0.1334070116, 1.082015872, -0.1539601386, 0.5139904618, -0.030118987, 0.2718881667, 0.0591113232, 0.0838157758, -0.1434215307, -0.686517179, -0.9005408883, -0.5847430825, -0.5191835165, 0.1432238221, -0.2559357882, 0.6031309366, -0.2488346696, -0.2352247834, -0.0593882389, -0.3171686232, -0.81550318, 0.1046062559, 0.3029334545, 0.8263341188, -0.7670884132, 0.9020754099, 1.0018515587, -0.6042916775, -0.6041767001, -0.399802655, -0.0190878958, -0.6132659912, 0.5871420503, -0.2144149095, -0.358322382, -0.3625573814, -0.3732478023, -0.4543614089, 1.0910534859, 0.5456154346, -0.4494985044, -0.2923185229, 0.643856585, 0.7708566189, -0.4799222946, -0.012846997, 0.5368673801, 0.3322112262, 0.3249156177, -0.9867577553, -0.3835647106, -0.1879934371, -0.1641998589, 0.0652764142, -0.5808829069, 0.6341037154, -0.2208548933, 0.2434037924, -0.0847864971, 0.5127900839, -0.0883984193, 0.2817435265, 0.448279351, 0.2639466524, 0.5114157796, 0.4235588312, 0.6363595724, -0.0990856439, -0.2033042908, 1.2474901676, -0.0931437314, 0.6678268909, 0.6451052427, -0.1206444055, 0.5448927879, 0.1823643297, 0.217335999, 0.2267084718, -0.0305809695, -0.6474881768, -0.4912403524, -0.5322910547, -0.0563334897, 0.7247067094, 0.2804092467, -0.4118611515, 0.0294801574, 0.3147985041, 0.039812725, 0.4543084204, -0.7412337065, 0.8205682039, -0.0380031914, -0.4996728897, 0.2771469057, -0.106798552, 0.2865481675, -0.5289899111, -0.2391685098, -0.2122019231, -0.0306536537, -0.4123830795, -1.1417472363, 0.1958337128, 0.5993070006, -0.0651968718, -0.4613811076, 0.827242732, -0.6312851906, -0.3276577592, 0.1210547388, 0.7350496054, 0.1578215361, -0.0868456587, -0.2739808559, 0.5252984762, -0.1332983524, -0.0860941485, 0.2138358206, 0.308698982, -0.2049080878, 0.5399326682, 0.3855312467, 0.2179409266, -0.3347307742, 0.27368626, 0.8257410526, -0.4074080586, -0.4980793893, -0.9170337915, 0.9048662782, 0.0755919665, 0.439902693, 0.4782836735, 0.3707101345, 0.7594950795, -0.2463545054, 1.1354085207, -0.0453884453, -0.1115291417, -0.6112799644, 0.36144346, -0.715323627, 0.4078903496, -0.5503199697, -1.0433930159, -0.2742145061, 0.1892940253, -0.2929261625, -0.3022054732, 0.2432677597, 1.0777620077, 0.1261463016, -0.4205625057, 0.6193563938, 0.2676661909, 0.6035716534, 0.4184612334, 0.9114484191, -0.0446766764, 0.5809239149, -0.2260472178, -0.1530633122, -0.099355109, -0.9386146665, -1.0067893267, -0.3607007563, -0.0547966734, -0.1082013473, 0.0557166636, 1.2316823006, 0.3672909737, -0.1169435456, -0.4227260351, 0.0918497294, 0.2698766589, 0.0720438138, -0.1105552018, 0.1807413846, 0.2345596701, -0.9949651957, 0.7002433538, 0.5422689915, 0.1076840833, -0.6555886865, -0.6178035736, 0.1462745816, 0.1978285015, 0.7083091736, 0.4467259347, -0.7792853117, -0.3529663682, 0.1205082983, 0.2054049969, 0.035982877, 0.7074618936, -0.7020474076, 0.9509420395, 0.4647296965, 0.7152721882, 0.3731836677, -0.0037698927, 0.7115613818, -0.672847569, 0.4135738313, -0.2583254576, 0.2747036219, 0.5106166601, -0.4818341434, 0.4375618994, 0.0446341187, -0.5484890342, -0.9051069617, 0.2533480227, -1.0435533524, 0.1078139916, 1.0408480167, 0.1418813318, -0.1394865364, 0.2058007866, -0.841704905, 0.3640550673, -0.3891174197, 0.4093191326, 0.7428070307, -0.285101831, -0.4625441432, -0.7409775257, 0.4863123596, 0.0471739396, -0.7815049887, 0.0575267635, 0.8244716525, -0.0362168923, -0.1449335665, 0.6422325969, 0.2896337807, 0.7283580303, -0.2809452415, 0.4676060975, -0.6405866742, -0.4568044841, -0.4483905733, 0.2023613304, 0.4628968537, 0.1927043647 ]
http://arxiv.org/abs/2402.10210v1
http://arxiv.org/pdf/2402.10210v1
Self-Play Fine-Tuning of Diffusion Models for Text-to-Image Generation
2024-02-15T18:59:18
2024-02-15T18:59:18
Huizhuo Yuan, Zixiang Chen, Kaixuan Ji, Quanquan Gu
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Fine-tuning Diffusion Models remains an underexplored frontier in generative artificial intelligence (GenAI), especially when compared with the remarkable progress made in fine-tuning Large Language Models (LLMs). While cutting-edge diffusion models such as Stable Diffusion (SD) and SDXL rely on supervised fine-tuning, their performance inevitably plateaus after seeing a certain volume of data. Recently, reinforcement learning (RL) has been employed to fine-tune diffusion models with human preference data, but it requires at least two images ("winner" and "loser" images) for each text prompt. In this paper, we introduce an innovative technique called self-play fine-tuning for diffusion models (SPIN-Diffusion), where the diffusion model engages in competition with its earlier versions, facilitating an iterative self-improvement process. Our approach offers an alternative to conventional supervised fine-tuning and RL strategies, significantly improving both model performance and alignment. Our experiments on the Pick-a-Pic dataset reveal that SPIN-Diffusion outperforms the existing supervised fine-tuning method in aspects of human preference alignment and visual appeal right from its first iteration. By the second iteration, it exceeds the performance of RLHF-based methods across all metrics, achieving these results with less data.
[ -0.6092152596, -0.8270278573, 0.7350355387, 0.0799612105, -0.3803131878, 0.0177051909, -0.238252297, -0.0375526585, 0.0597687997, 0.4862156212, -0.809689045, -0.5129343867, -0.5524191856, 0.0116155706, -0.1765122414, 1.0218896866, 0.0537105538, -0.0953948498, -0.1890844554, -0.1135434657, -0.4923067689, 0.26717031, -1.1267894506, -0.4748956561, 0.6933586001, 0.6315982938, 0.7629422545, 0.7091448903, 0.1652632058, 0.2868261337, -0.0929220095, 0.5399431586, -0.4688503146, 0.2817234695, -0.448342979, -0.2466208488, -0.0870940909, 0.1935823858, 0.4127241671, 0.1689167917, -0.2663617432, -0.0035329482, 0.0882964432, 1.2368276119, -0.4948918819, -0.2055854946, -0.4719327688, 0.2925970852, -0.0377885662, -0.430858165, -0.3816859126, -0.3179327846, 0.0802436545, -0.8125197887, 0.4733462632, 0.2558152974, 0.7887018919, 0.435300529, -0.2743980885, -0.2810214162, -0.7605729103, 0.5801733732, -0.6766029596, -0.0057960725, 0.2479077578, 0.1817544401, -0.2447214276, -0.2738547623, -0.4740508199, -0.070150353, 0.0808829069, 0.2140815258, -0.0763014778, -0.0581140183, 0.017995391, 0.1376445293, -0.3632470667, 0.3385433853, -0.2350278795, 0.14237988, 0.7337106466, 0.0983552039, 0.3524457812, -0.1188499928, -0.1597391069, -0.2964960635, -0.6506256461, -0.0340838209, 0.4335116446, 0.402805537, -0.0486746356, 0.4498604238, -0.3354851604, 0.6627976894, 0.7912704349, 0.0859294385, 0.1527591497, -0.0608649887, -0.0882152095, -0.0404672958, 1.0560907125, 0.3981308639, 0.3187659979, -0.0527711771, -0.1945139766, -0.1913199127, 0.221666187, -0.8342880607, -0.5396071672, -0.0289225653, -0.7169566154, -0.6603143811, -0.4402231574, -0.9334477782, -0.5504862666, -0.2404516488, 0.679184556, -0.4134663939, -0.3366389275, 0.0092644356, -0.1377292126, -0.0338951126, 0.4158829749, -1.0748473406, -0.0061378106, 0.3149753511, 0.9575729966, -0.7132832408, -0.2296430469, -0.484614104, -0.0046440591, -0.779026866, 1.1755193472, -0.4001187086, -0.4881809354, -0.1571439356, -0.3420406878, 0.0716169626, -0.6229125857, 0.2727659643, -0.6422894597, 0.465136975, -0.0420079045, -0.6218774915, 0.0944188312, 0.1312382072, -0.4703710079, 0.8355160952, -0.09460482, -0.5755823851, 0.5553279519, -0.7608315945, -0.6282292604, -0.0790112317, -0.2889314592, -0.8186808228, 0.2842459083, 0.4591239691, 0.5699114799, -0.1551558524, 0.150263086, -0.4218543768, -0.1993079334, 0.0652000755, -0.5513074994, 0.2824144959, 0.3820487559, -0.3433901966, 0.3523462117, -0.7408744693, -0.0268073175, 0.3293783367, -0.1017766073, -0.2626792192, 0.2551793456, 0.0129478863, 0.3742206991, 0.0416023061, -0.3505192697, 0.3065790534, -0.3102629185, 0.3821102977, 0.9174800515, 0.0193282831, 0.9418167472, -0.3004854023, 0.4884975851, 0.2289030999, 0.11363139, -0.2191303074, -0.4592161179, -0.6474871635, -0.257019192, 0.4933369458, 0.2205658257, -0.7418311238, 0.2440899312, 0.0621915795, -0.3526448011, -0.6777413487, 0.2448791116, 0.2121137232, 0.7063180804, 0.4518642426, -0.266197741, 0.0689980835, -0.8122656941, -0.1228767261, 0.2840834856, 0.1512382478, 0.5843521953, 0.1150255576, -0.1627280265, 0.9454280734, -0.5376824141, -0.5771379471, -0.1073480695, 0.7256466746, 0.0619945936, 0.6236457825, 0.4912934601, -0.7065150142, -0.6209402084, -0.0454333164, -0.4704130888, 0.0401585884, -0.3756923676, -0.1625249088, 0.4002734125, 0.54160285, -0.3227609694, 0.4239081442, 0.5903558135, -0.6353844404, 0.4390330613, -0.8055747747, 0.4197509885, -0.8268837333, -0.2266630977, 0.2658627033, -0.3306255043, -0.3532349467, -0.118462123, 0.0739891231, -0.0243058857, -0.2641921639, 0.6860029101, -0.3743118942, -0.0037980173, -0.6421108842, 0.0968163684, -0.1449566036, 0.3279201388, 0.2454978973, 1.0417540073, 0.7359759212, -0.8494971395, -0.1859773695, 0.1386492103, -0.3932356536, 0.7114228606, -0.6003984213, 0.0480650216, -0.4164996445, 0.1195907742, -1.1994804144, -0.1197854877, 0.2381646186, -0.3155576587, 0.423291266, -0.1809458435, -0.3735860586, -0.0815038309, -0.1048856154, 0.4557622373, 0.7011057734, -0.826564908, 0.7172142267, 0.0568939112, 0.0214623716, -0.3100371063, -0.3184455037, -0.0413478836, -0.4495671391, -0.5343513489, 0.524333775, -0.2395990789, 0.4183228016, -0.0419071019, 0.1090150476, 0.1801921725, 0.1448980272, 0.0750346482, 0.067549713, 0.063335821, 0.0858580247, 0.4814210832, -0.3561915755, -0.2606398463, -0.2218692601, 0.5256963372, 0.2540376782, -0.1380832791, -0.6833553314, 0.1752265692, 0.2487179041, -0.2012293637, 0.4732124805, 0.7349280715, 0.1669622511, -0.4661815464, -0.4024107754, -0.1108435169, -0.5721345544, -0.0221597385, -0.3871542215, -1.0140798092, 0.2867847681, -0.426156342, -0.0953061506, 0.5415998101, 0.4752110243, -0.7653257847, 1.5243848562, 0.6144695878, 0.0934644789, 0.8362817168, -0.2936739028, -0.0741199329, -0.707547605, 0.0232415237, -0.2033664435, -0.5810685754, -0.7381259203, -0.3352625966, 0.4223587215, 0.0237444676, -0.3663708866, 0.0054634502, -0.6358475685, 0.6544565558, 0.7105856538, 0.3801024556, 0.2919029593, 0.1614645571, -0.1984267235, -0.0104949428, -0.749912858, -0.215336144, 0.9595050216, 0.2421076894, 1.04514575, -0.0638583377, 1.0924313068, 0.6348025203, 0.0733711421, -0.4931898117, 0.4348307252, -0.4814012647, -0.34815979, -0.5567202568, -0.4768150747, -0.9549652338, 0.0973363295, -0.5975154042, -0.2274780273, 0.2468763888, 0.7079132199, -0.6172404289, 0.0934086964, -0.5615092516, 0.8501812816, -0.2052709907, -0.5256769657, -0.5619481206, -0.2326738834, 0.172838971, 0.1664716601, 0.1157379672, -0.2000169009, 0.1969195902, 0.4691127539, 0.1301294416, 0.7136815786, -0.1993156821, -0.1975243688, -0.0230767485, 0.3928919733, 0.4505852163, 0.0344733037, 0.151657179, -0.2261525989, -0.2599922121, -0.27382043, -0.68217206, 0.6817667484, -0.7395683527, -0.5329369903, -0.3168386221, -0.3085692525, -0.1344880462, 0.2634655535, 0.5842111111, 0.221795857, -0.2441383004, -0.1386345029, 1.1263695955, -0.2325692475, 0.4636600018, 0.2879161537, -0.3126034141, -0.4727286994, 1.1003136635, -0.096534133, 0.3019126058, 0.0895004198, 0.5222648382, -0.3258644342, -0.6712081432, -0.7299946547, 0.13172777, -0.2936033607, -0.3024958968, -0.4365364313, -0.1119931117, -0.239172101, -0.2681466639, -0.5701785088, -0.3053514361, -0.8345649838, 0.2261749506, 0.3460958004, 0.8859127164, -0.2801985443, 0.4602797627, -0.4255700409, 0.5940408111, 0.534773469, 0.6717451811, 0.0348634236, -0.6953927279, -0.1179833636, -0.0860322937, -0.3365968764, -0.6628192663, 0.4045212567, 0.3045516908, 0.2144343108, 0.5867617726, -0.183780551, 0.7086479068, -0.8513828516, 0.5931494832, 0.4347139597, -0.5648863316, 0.772562027, -0.5523166656, 0.3246299922, 0.590898335, 0.0828514695, -0.380240649, -0.2111510187, -0.6336914301, -0.6852219105, 0.6179018021, 0.0172124878, 0.1778829843, -0.0246739797, 0.4701927602, 0.0385163799, -0.0160378851, -0.5282257795, -0.289909035, -0.1459915489, -0.3499182761, -0.2510287762, -0.1117188483, -0.1620874703, -0.1914500147, 0.6985134482, -0.3368352652, 0.135678038, 0.2097156495, 0.0441741422, -0.2437927872, 0.1290159523, 0.5457853675, 0.1837733835, 0.0633514151, -0.1266333312, -0.1830116659, 0.0792506337, 0.3013697863, -0.0016240812, -0.725545764, -0.4136035442, -0.291929394, 0.9065571427, 0.0541220494, -0.4241761267, 0.3965471983, -0.2099238485, -0.3963965476, -0.100305222, 0.4808986485, -0.0161504392, 0.4773957729, 0.2173866928, 0.3009165227, 0.4399082363, -0.3296752572, 0.2318208069, 0.7499474883, -0.3401919901, 0.1173066199, 0.8430640697, 0.2081516683, -0.3892935216, 0.4501287043, -0.4765464962, -0.1292716712, 0.5022254586, 0.6487541795, 0.9016411901, 0.0397571884, 0.8758468032, 0.4701965451, -0.0790431947, -0.5416637659, 0.0549982302, -0.2039756775, -0.8092730045, -0.221799776, -0.3130196035, -0.2019934058, -0.2959515452, -0.4311526418, 0.0611445382, -0.5549642444, -0.2576824129, -0.0076785791, -0.1630870253, -0.692248106, 0.3163732886, 0.3241423368, 0.7047461271, -0.9284174442, 0.6544203758, 0.4081339836, -0.2884578109, -0.4132309556, 0.0922544301, -0.287016958, -0.4879359305, 0.5022335649, 0.0076695057, -0.3577829599, 0.3169163465, -0.7867285609, -0.9337015152, 1.1351932287, -0.0122901546, -0.5027198792, -0.0345250517, -0.1624966562, 0.5904455185, -0.6018488407, 0.2166558504, 0.6077352166, 0.2714064121, 0.2350429446, -0.3748547435, -0.2780126035, 0.1088906005, 0.4283124804, 0.0873961449, -0.8928273916, 0.4381693602, -0.379891634, -0.3030996025, 0.1476734132, 1.0522267818, 0.4092367589, 0.2870265245, 0.7169665694, 0.7278676033, 0.5227289796, 0.0467703342, 0.581643939, -0.0621471554, 0.38016662, 1.2680521011, -0.0508697443, 0.7636078596, 0.3370994031, 0.1721670777, 0.616132915, 0.6221217513, -0.1398915499, 0.9414960742, 0.028804373, 0.0612312965, -0.6099873781, 0.1424322575, 0.0614296794, 0.3187144399, 0.2614618242, -0.4010892212, -0.2787653506, 0.1878001094, -0.2399622649, 0.4071739912, -0.3098395467, 0.9840248227, -0.3655743003, -0.8438863754, 0.0860349908, 0.0192570314, 1.0704427958, -0.2900018394, -0.1595380455, -0.4197129011, 0.0279346108, -0.0308606904, -1.0017325878, -0.0766419098, -0.1174206287, -0.3467474282, -0.3728586435, 0.7005393505, -0.544426024, -0.505366385, 0.2251416892, 0.3311488032, -0.3338781595, 0.138735041, -0.9998547435, -0.2217711657, -0.0049125552, -0.2986557484, 0.4720981121, 0.3759639561, 0.2895296216, 0.8869701028, 0.5034757853, 0.0317326337, -0.0098184953, 0.1071124226, 0.6265645027, -0.5672181845, -0.5441445708, -0.7114012241, 0.378408283, -0.1621439755, -0.5327894688, 0.4045778513, 0.3984437883, 0.6655182242, -0.1111502945, 0.6329471469, -0.0102741467, 0.5371690989, -0.6252892613, 0.8947355151, -0.8303221464, -0.1703928262, -0.2960891128, -0.488592267, -0.122204043, 0.8429085016, -0.121005483, 0.2213688046, 0.254724443, 0.7813518047, -0.246250391, -0.2676022947, 0.3723529875, -0.0173057914, 0.273000598, 0.211564362, 0.7107998729, -0.3080563545, 0.2914855778, -0.3590248823, -0.3110707998, -0.0903580412, -1.0786498785, -0.9421905875, -0.6123210788, -0.4940656424, -0.4327459335, 0.1251399964, 0.8542289734, 0.811542809, -0.6486257315, -0.0797261372, -0.2812429965, 0.0565745384, -0.3816399872, -0.2131056339, 0.3730837703, -0.7423089147, -0.6436510086, 0.3690118194, 0.2688624561, 0.1585520506, -0.3713846803, -0.1583690792, -0.1077310145, 0.1899076551, 0.4569430649, 0.3712988794, -0.4774312675, -0.0660976619, -0.0591350794, -0.0721816197, 0.321348846, 0.6427474618, -0.9089357853, 0.5662874579, 0.3401481211, 0.5678036809, 0.748600781, 0.2110039741, 0.5003872514, -0.5080846548, -0.2085791677, -0.0103131542, -0.0172544885, 0.200590685, -0.4064585865, 0.2742566168, -0.0401316285, -0.825521946, -0.2544420362, 0.3971239328, -0.7035434842, -0.3935118914, 1.0587197542, 0.2716254294, -0.1785232872, 0.3149903119, -0.3591304123, 0.1801328361, -0.5995303988, 1.2639282942, 0.4612652957, -0.3683320284, -0.4750623107, -0.1529096067, 0.9349395633, 0.5902981758, -0.7658920884, -0.0381950364, 0.6932953, 0.5084468722, -0.0661993772, 0.7776949406, 0.0738956556, 0.4300366044, -0.4643601179, -0.0841378123, 0.0445598885, -0.6717720628, -0.5830926299, -0.0441879071, 0.113313213, -0.1220476031 ]
http://arxiv.org/abs/2402.10208v2
http://arxiv.org/pdf/2402.10208v2
Recovering the Pre-Fine-Tuning Weights of Generative Models
2024-02-15T18:59:02
2024-07-01T12:48:51
Eliahu Horwitz, Jonathan Kahana, Yedid Hoshen
cs.LG
cs.LG, cs.CL, cs.CR, cs.CV
The dominant paradigm in generative modeling consists of two steps: i) pre-training on a large-scale but unsafe dataset, ii) aligning the pre-trained model with human values via fine-tuning. This practice is considered safe, as no current method can recover the unsafe, pre-fine-tuning model weights. In this paper, we demonstrate that this assumption is often false. Concretely, we present Spectral DeTuning, a method that can recover the weights of the pre-fine-tuning model using a few low-rank (LoRA) fine-tuned models. In contrast to previous attacks that attempt to recover pre-fine-tuning capabilities, our method aims to recover the exact pre-fine-tuning weights. Our approach exploits this new vulnerability against large-scale models such as a personalized Stable Diffusion and an aligned Mistral.
[ -0.5750954151, -0.5477378964, -0.0115153473, -0.3769088686, -0.3180119693, 0.0688261986, -0.0779710412, -0.5218664408, -0.0811923519, 0.7285275459, -0.7212640047, -0.3564425707, -0.5748919845, -0.2258400917, -0.6059221029, 1.1153041124, 0.3450747728, -0.0251801629, 0.2132022232, 0.2311462313, -0.3642643392, -0.4075373113, -0.7915281057, -0.0147527149, 0.8514399529, 0.238108173, 0.5778170824, 0.3467026651, 0.5691625476, 0.3397589028, 0.0538220666, 0.2199102789, -1.0044351816, 0.0759077668, -0.0556708649, -0.8008099794, -0.5225846767, 0.3910501599, 0.4259882569, 0.6563424468, -0.1902477145, 0.1745936126, 0.3930854201, 0.9651571512, -0.9820821285, -0.4330421686, -0.9832866192, 0.1505502909, -0.3861438334, -0.2358999103, -0.5636777282, -0.6433309913, -0.2091051787, -0.6417412162, 0.4452458918, -0.0947975889, 1.0703749657, 0.7451003194, -0.3211340606, 0.4466172755, -1.0577092171, 0.6964656115, -0.4075124562, 0.0404745303, 0.7205521464, 0.5908969045, 0.0702543631, -0.8030574918, -0.0963193476, 0.0701785386, 0.191646874, 0.1466418654, -0.3631138206, 0.1401241422, 0.4034546912, 0.4754245877, -0.1284397691, 0.5164073706, -0.3790538311, -0.0695746765, 0.560951829, 0.1333135962, 0.0619111247, -0.0700705349, -0.4992003143, -0.2802423835, -1.096514225, -0.2400397062, 0.7545816898, 0.7002174258, -0.1911347657, 0.4309032857, 0.1149728373, 0.7729856372, 0.4996085167, 0.1678567082, 0.0799216554, -0.3718663454, -0.4202029109, 0.0995950624, 0.5151305199, 0.1225332618, 0.5100969076, -0.1447726041, -0.0872909278, 0.1790368855, 0.6846162677, -0.637887001, -0.4400878549, 0.0809328109, -0.5988704562, -0.7343463302, -0.0710995346, -0.7911162376, -0.484259218, -0.4267715812, 0.694002986, -0.4328942597, -0.3606081903, -0.0183749236, 0.1001684889, 0.2483160496, 0.3868476152, -1.0603456497, 0.1076692641, 0.6701099277, 0.5037767291, 0.0681510121, -0.0097199529, -0.4112259746, 0.072684139, -0.4328501821, 0.4932421744, -0.2455993295, -0.5011428595, -0.2371772826, -0.0276238546, -0.0056907688, -0.6219175458, 0.524407506, -0.7226605415, -0.310013026, -0.6405681372, -0.2678402364, 0.1161311045, 0.169783473, -0.7181788683, 0.6181291938, 0.0663176775, -0.9833632112, 0.5101662874, -0.3881466985, -0.068311438, -0.1608356833, 0.0209684148, -0.7967984676, 0.3302483857, -0.0170439519, 0.2926191688, -0.1793043315, -0.2110580355, -0.6141365767, -0.2403092831, -0.0591323338, -0.5350849032, 0.9932564497, 0.3705219924, -0.0468686186, 0.1834178269, -1.0722368956, 0.0848236978, 0.0796726644, -0.0615769401, -0.5140224695, -0.0172639843, -0.1851993948, 0.1917109042, 0.159173578, -0.5319899917, 0.2570775449, -0.3645706475, 0.4384322762, 1.0834394693, 0.0570092387, 0.3888615072, -0.3317454457, 0.4633205831, 0.0840135887, 0.1216698587, 0.3009642363, 0.1543361992, -0.6070678234, -0.5543178916, 0.5795714259, 0.1192061603, -0.5061340928, 0.6685909033, -0.2385615557, -0.7618269324, -0.6195734143, 0.0529906563, 0.4612669647, 0.553658843, 0.2333019376, -0.2092142999, -0.6904708743, -0.9554914236, -0.3504089415, 0.2294408381, -0.325904727, 0.0139380973, 0.5512679219, -0.3231679201, 0.8825702071, -0.730109334, -0.4866048694, 0.2657001913, 0.3091621101, -0.2045903504, 1.1629750729, 0.538593173, -0.7875024676, -0.2053860426, -0.1310714483, -0.6840984225, 0.2181051522, 0.2008716166, -0.3609448671, -0.1586790979, 0.5515491366, -0.5461459756, 0.3920170665, 0.3347846866, -0.0821181238, 0.6742238402, -0.3459895253, 0.0041135172, -1.1000009775, 0.309597522, -0.0870196223, -0.2688210309, -0.6492720246, 0.3348656297, 0.0262042657, -0.1953861266, -0.1793170571, -0.16116032, -0.3172142506, -0.0014782909, -0.1790986061, -0.3152500987, -0.1844394803, 0.2326444238, -0.2712573111, 0.6306598783, 0.5248590708, -0.680013895, -0.1142300218, 0.1489977986, -0.7327302694, 0.7200709581, -0.7694584131, 0.4097722769, -0.5729448795, -0.0380468704, -0.8609175086, -0.2927582562, -0.0701503754, -0.0952043906, 0.3972836733, -0.5018344522, -0.472968787, -0.1866694391, -0.200528115, 0.5251736641, 0.6297154427, -0.6250149012, 0.5081170201, 0.4060912728, 0.1344989985, -0.4507521093, -0.4507421255, -0.3301196098, -0.565320313, -0.3799146116, 0.3444113433, 0.0697362423, -0.1468685567, -0.3675552309, -0.0382718705, 0.146272555, 0.7525132895, 0.5842144489, 0.2162266076, 0.0518888608, -0.0559642017, 0.0664941221, -0.5232097507, -0.1828779131, -0.233637616, 0.7391144037, 0.0186306462, -0.584241271, -0.2840036452, 0.0699552074, 0.5799198151, -0.595468998, 0.6197895408, 0.6873146296, -0.7022522688, -0.1597250253, -0.3119369149, -0.220502466, -0.521751523, 0.3291603029, -0.2796815038, -0.5658664107, 0.5875495076, -0.3270633221, 0.1972228289, 0.5126405954, 0.4051469266, -0.3533570766, 1.2797062397, 0.8959129453, -0.0935197324, 0.5119735599, -0.4585251212, 0.0972030163, -0.6693445444, -0.2149884105, -0.8953832984, -0.7268201113, -0.4929215312, 0.1147215515, 0.6990484595, 0.5606071949, -0.5977030396, 0.2223019004, -0.4924170971, 0.5367287993, 0.6458663344, 0.3214928806, 0.1901254803, 0.3173189163, 0.1599161476, 0.022968797, -0.2458960712, -0.1507846117, 0.9840736985, 0.1507490277, 1.2593730688, 0.2273398936, 0.830509901, 0.0794187933, 0.229572162, -0.4458144307, 0.270206809, -0.4803394675, -0.6688286066, -0.4353164732, -0.5858011246, -1.2557473183, 0.3324941397, -0.3761950433, -0.9580013752, 0.5037196875, 0.4516206682, -0.7516033053, 0.3433643281, -0.6792514324, 0.6695828438, 0.0200616643, -0.1316622645, -0.2524717748, -0.7288342118, 0.5888214707, -0.3292546868, 0.0420883, -0.0716141239, 0.3651748002, 0.6672740579, -0.5098425746, 1.0525516272, -0.4505020082, -0.5017260313, -0.1380839944, 0.1736793369, 0.5011014938, -0.3693717122, 0.1183146313, 0.0170925185, 0.0927213356, -0.3925362527, -0.4624527097, 0.6560953856, -1.0275284052, -0.5444858074, -0.0146669624, -0.2301119715, -0.233366102, 0.3046770394, 0.8139785528, 0.2476474792, -0.3004234433, 0.2318628281, 0.8496773243, 0.1452248991, 0.3850596547, 0.4645638168, 0.0140296333, -0.2620386183, 0.9735683203, 0.2778038681, 0.5626809001, 0.12786147, -0.0407199934, 0.1381639838, -0.5250029564, -0.0414584577, -0.2066441327, -0.3393281698, -0.4881565869, -0.3773272336, -0.3048052192, -0.142082572, -0.1867944151, -0.7513571978, -0.2351978868, -0.3600052595, -0.2151706368, 0.2496043444, 0.3198145628, -0.2196210027, 0.4033401012, -0.9165004492, 0.4925701022, 0.3812870979, 0.3369630575, 0.2042394131, -0.2646703422, -0.1826097369, 0.3386870623, -0.2313086241, -0.5407674313, 0.2987942696, 0.2447842807, 0.1206246093, 0.9444516897, 0.2007755339, 0.8617710471, -0.6867375374, 0.507837534, 0.3419889808, -0.7407568693, 0.6936811805, -0.4171105325, 0.2656784058, 0.9236332178, 0.3760526478, -0.1906178147, -0.0326728821, -0.4615320265, -0.800180614, 0.4801190794, 0.0580033697, 0.0500630662, 0.1902203709, 0.4806579947, 0.2233083397, 0.2039054185, -0.4695631564, -0.327549696, -0.256959945, -0.3022353053, -0.2883743942, -0.1397068053, -0.6668316126, -0.4547788799, 0.3867556453, -0.1390726119, 0.0496637523, -0.0917874575, -0.196319744, -0.3325331509, -0.0164552927, 0.2812824547, 0.3101118207, -0.2100661546, 0.4426962137, -0.1351679713, -0.5692631006, 0.2727058828, 0.2280492187, -0.3696525693, -0.7366758585, 0.1944654137, 0.6223910451, 0.4428636134, -0.304135859, 0.3654969335, 0.003927717, -0.1769050658, -0.3657006621, 0.2054776847, -0.2494620234, 0.0472332835, 0.3306772411, 0.6840994954, -0.1656507701, -0.2064539939, 0.0758859143, 0.8165690899, -0.45719257, -0.5790132284, 0.9841231704, 0.0718796477, 0.0589815676, 0.528341651, 0.239153266, -0.0442115255, 0.5394054055, 0.4729242027, 0.9601472616, -0.3869776726, 0.0684822947, 0.2876666188, 0.2783968151, -0.1511121839, 0.1682423055, -0.0427136496, -0.8251273632, -0.1398945302, -0.689999938, 0.3816679418, -0.1165216267, -1.0427877903, 0.1427812725, -0.680767417, -0.3968280256, 0.2218786925, -0.06390699, -0.5887710452, 0.0612313002, 0.0252368785, 0.7370400429, -0.812413156, 0.8695333004, 0.2241709083, -0.4564947784, -0.719987154, -0.0081007611, 0.1064339057, -0.7220128775, 0.7388697863, -0.0795893967, -0.346675247, 0.4759666324, -0.9373486042, -1.3089455366, 1.1281775236, 0.8519109488, -0.5714244246, -0.325600028, -0.1310749203, 0.4339155555, 0.2613475323, -0.3324436247, 0.5380024314, 0.3190312386, -0.1106004491, -0.7102895379, -0.0291750822, -0.1189475805, 0.0184127726, 0.4876963794, -0.5762555599, 1.0488910675, -0.1541905105, -0.4690479934, 0.3972570002, 0.5128958821, -0.0098116761, -0.2700550854, 0.7738110423, 1.0064926147, 1.0624486208, -0.1542094648, 1.0274721384, -0.427272588, 0.3234336376, 0.9032513499, -0.2025533766, 0.738026619, 0.1940863729, -0.2519466579, 0.2990114689, 0.6006467342, -0.047660511, 0.9046233892, 0.2431932837, -0.1933162808, -0.46907866, 0.0381340124, -0.6932644248, 0.7244380713, 0.2000695914, -0.3188888431, -0.313896805, 0.1322579086, -0.0832309723, -0.2310107201, -0.8366234303, 0.891921103, 0.1591035575, -0.3980848491, 0.9871520996, -0.0572271757, 0.6069087386, -0.7418240309, 0.1439793557, 0.0655005053, 0.3317163885, -0.3662992716, 0.0662075803, 0.1753779799, -0.1525903493, -0.3175166845, -0.0817094594, 0.869218111, -0.3307593763, -0.4578718543, -0.0098182233, 0.2556070387, -0.2841136754, 0.0241752788, -0.1969967037, -0.0197155438, -0.1346724778, 0.0034930555, 0.6971711516, -0.0184060913, 0.1261451691, 0.6983447075, 0.5652109981, -0.0677110255, -0.0047310372, 0.2182100117, 0.8612793684, -0.4571679235, -0.5956630111, -0.8215949535, 0.4639552832, 0.0603171401, -0.1957540363, 0.799392283, 0.3442515731, 0.6892341971, -0.1055458486, 0.4845985174, 0.2450549155, 0.3408797383, -0.6776369214, 1.1519680023, -0.454684943, 0.1343347281, -0.5340726972, -0.7162500024, -0.2000190318, 0.4409623444, -0.1633859277, 0.2064272761, 0.1291216463, 0.7025818229, -0.108049117, 0.1127864122, 0.238689661, 0.513181746, 0.1232247502, 0.3439302742, 0.6734439135, -0.208843872, 0.1772069335, -0.1036938056, -0.2100383788, 0.0432512499, -0.6634665132, -0.6315191984, -0.6398326755, -0.1233863235, -0.4819643497, -0.0774779767, 0.7531426549, 0.9110766053, -0.6711378098, 0.3241602182, -0.2291705012, -0.0981042236, -0.3809531331, -0.1527046561, 0.4490248561, -0.1994169056, -0.7321794033, 0.1943369806, 0.0115926275, 0.3063237965, -0.4274909496, 0.2406461984, 0.1521438062, -0.1501087993, 0.4311783016, 0.4252295792, -0.4451347291, -0.4947704375, -0.6278240681, -0.0493253991, -0.0576309673, 0.8202773929, -0.9343355894, 0.1697959751, 0.200090766, 0.5692446828, 0.54090482, 0.3151819408, 0.6342195272, -1.0234560966, 0.1811390668, 0.1461593211, 0.2697183192, 0.0791125596, -0.2761271298, 0.3636659086, -0.00530886, -0.3025003374, -1.0334231853, 0.6208717227, -0.9011483788, -0.3872044384, 0.5398675203, -0.1342166364, 0.0172472317, 0.0671148822, -0.1505199671, 0.3172879815, 0.2176173776, 1.0340646505, 0.1666796207, 0.2533357739, -0.0636443272, -0.1125379726, 0.8650720716, 0.3340655565, -0.8722186089, 0.2277705222, 0.4500692189, 0.3301930726, 0.2731383443, 0.3823811412, -0.4408848584, 0.0209317841, 0.0688136742, -0.1621636599, -0.0650200844, -0.3276375532, -0.3936421275, 0.5898458362, 0.1630340219, -0.1922701448 ]
http://arxiv.org/abs/2402.10207v5
http://arxiv.org/pdf/2402.10207v5
Rewards-in-Context: Multi-objective Alignment of Foundation Models with Dynamic Preference Adjustment
2024-02-15T18:58:31
2024-06-05T09:25:41
Rui Yang, Xiaoman Pan, Feng Luo, Shuang Qiu, Han Zhong, Dong Yu, Jianshu Chen
cs.LG
cs.LG, cs.AI, cs.CL
We consider the problem of multi-objective alignment of foundation models with human preferences, which is a critical step towards helpful and harmless AI systems. However, it is generally costly and unstable to fine-tune large foundation models using reinforcement learning (RL), and the multi-dimensionality, heterogeneity, and conflicting nature of human preferences further complicate the alignment process. In this paper, we introduce Rewards-in-Context (RiC), which conditions the response of a foundation model on multiple rewards in its prompt context and applies supervised fine-tuning for alignment. The salient features of RiC are simplicity and adaptivity, as it only requires supervised fine-tuning of a single foundation model and supports dynamic adjustment for user preferences during inference time. Inspired by the analytical solution of an abstracted convex optimization problem, our dynamic inference-time adjustment method approaches the Pareto-optimal solution for multiple objectives. Empirical evidence demonstrates the efficacy of our method in aligning both Large Language Models (LLMs) and diffusion models to accommodate diverse rewards with only around 10% GPU hours compared with multi-objective RL baseline.
[ -0.4325997829, -0.5693405271, 0.4329862893, 0.3818439543, -0.047685083, 0.0563796423, -0.5039101243, -0.2500005662, -0.0190846361, 0.1837834567, -0.8158705235, -0.2232536227, -0.6447697282, -0.0216653142, 0.1367696077, 1.2246400118, -0.1360125393, -0.1895548701, -0.30097574, -0.3485785127, -0.6700521708, -0.0235191174, -0.6816407442, -0.3030093908, 0.7485098839, 0.7908124924, 0.4585335851, 0.6480892897, 0.4702151418, 0.2875628769, -0.0249828845, 0.2405604124, -0.5893058777, 0.2579966486, -0.3275208771, -0.2037213743, -0.2468572408, 0.085539192, 0.5570288897, 0.4299792051, -0.3106620908, 0.0625898317, 0.393386215, 0.7254548669, -1.0386099815, -0.0143270306, -0.4700547755, 0.0879681408, 0.0834322795, -0.3791538477, -0.309610635, -0.2532317042, 0.1529919356, -0.819775939, -0.1827472895, -0.265843451, 0.8899040222, 0.8964092731, -0.5616828203, -0.3541713655, -0.5160017014, 1.1159971952, -0.2736791372, 0.1069429815, 0.0691332147, 0.5652750134, -0.0222739596, -0.3176816106, -0.113424696, -0.1443207115, -0.2151606083, 0.105068624, 0.2974979579, -0.033058349, 0.1668501645, 0.0884578079, -0.1945333183, 0.2023364305, 0.1248311773, 0.1477123499, 0.5103704333, 0.2920210361, 0.0615853481, 0.1637006998, -0.7116369605, -0.2907669842, -0.6263039708, 0.6532389522, 0.2125104815, 0.5840060115, -0.2668067515, 0.5070111752, -0.5185688138, 1.0217989683, 0.4410458505, -0.3897642493, 0.0939782336, -0.3619719446, -0.0781904012, 0.377202332, 0.5113809109, 0.4094009697, 0.0569871143, -0.0587493479, -0.3054790199, 0.3052063584, 0.3532996774, -0.8655569553, 0.0808057114, 0.2496218234, -0.3347054422, -0.5186830163, -0.1007431075, -0.6927875876, -0.5129464865, -0.5829590559, 0.3660488129, -0.1067372337, -0.0077409707, 0.3212625682, -0.1217717826, 0.1255443394, 0.5032841563, -1.0247679949, -0.0189573746, 0.6460090876, 0.6790682673, -0.2909555435, -0.4842944741, -0.9617049694, 0.4535497129, 0.0546542332, 0.7879175544, -0.8323891163, -0.2706512809, -0.1325168759, -0.1873090416, -0.0516191125, -0.269276768, 0.5124849081, -0.2245215327, 0.2058809847, -0.560497582, -0.4268479347, 0.211690411, 0.6232561469, -0.3872875273, 0.8343756795, -0.0089219762, -0.5847157836, 0.6996763349, -1.0627874136, -0.4946555793, -0.2380955517, -0.1754815578, -0.2777994871, 0.1105500832, 0.2757744491, 0.44669047, -0.1314360052, 0.8035301566, -0.3965175152, -0.5050962567, 0.2372630835, -0.2998697162, 0.6922625303, 0.1826958954, -0.7113169432, 0.5262823701, -0.6688517928, -0.2465926856, -0.1470630467, -0.5800106525, -0.3589218557, 0.4124421179, -0.1654082686, 0.2097728252, 0.4785898924, -0.4379703701, 0.542265892, -0.0354713127, 0.3601924777, 1.0377457142, -0.3175043762, 0.6297205687, -0.2419167906, 0.5092026591, -0.1252965182, 0.2411400825, 0.1554277241, -0.1126574278, -0.4313584566, -0.557737112, 0.3260933757, 0.3886377215, -0.2870678604, 0.3014883697, -0.3214844763, -0.1235266179, -0.3713743389, -0.1731047034, 0.3266084492, 0.6364445686, 0.4486758411, -0.1031466052, -0.1183297932, -0.9029173851, -0.3244268, 0.1319626719, 0.1455809176, 0.8298287988, 0.2660225928, -0.2470531762, 1.0243492126, -0.5366973281, -0.3599788547, 0.179361999, 0.2859956622, 0.1095688567, 0.6330322027, 0.803293705, -1.0829480886, -0.5809163451, 0.0024033491, -0.6152239442, -0.2122395933, -0.201524049, -0.3187450171, -0.2037062347, 0.2412052751, -0.2680243552, 0.1514140517, 0.5209736228, -0.4053377807, 0.4234136045, -0.0216552131, 0.3329960704, -0.8487708569, 0.1217867732, 0.011161332, -0.0913433656, -0.1950578839, 0.0025098922, 0.0984449685, -0.014005661, -0.3049792647, 0.8836686611, -0.2707101405, -0.1132419854, -0.3818682134, 0.026216222, 0.0410633646, 0.5602545738, 0.2637799084, 0.7344838381, 0.5868745446, -0.8459144235, 0.3358230293, 0.3049981296, -0.3997080624, 1.1037834883, -0.4859898984, -0.2554883063, -0.0344827659, 0.4267043769, -0.7507950664, -0.432392329, 0.3197494149, -0.2733879387, 0.2170121223, -0.0635147318, 0.1562699527, 0.2074577361, -0.3131373525, 0.6279421449, -0.0316211544, -0.8984986544, 0.6596087217, 0.2432522178, -0.0284375791, -1.3039603233, -0.4023669064, -0.0756174624, -0.5116128922, -0.3295823634, 0.8635450006, -0.3528632522, -0.1195219532, 0.2997492254, -0.1099730581, 0.2393993437, 0.547572732, 0.2725647092, -0.0741299316, -0.12689659, -0.0785531253, 0.4111587703, -0.3125622272, -0.2532375753, -0.2159473002, 0.2331197262, -0.1603481472, -0.3086963892, -0.3775398135, 0.2741421163, 0.558336556, -0.3486746252, 0.773950398, 0.5369519591, -0.4114933908, 0.0341449678, -0.4135403633, -0.2218148559, -0.4544468224, 0.2541260123, -0.6506059766, -1.0031374693, 0.3807530105, -0.0485399775, 0.1971442103, 0.2189976275, 0.6783705354, 0.0116129443, 1.194029212, 0.6346948147, -0.1968316883, 0.8512366414, 0.0105701713, 0.0429542623, -0.9201254845, -0.3720169067, -0.6722712517, -0.8173184395, -0.382682085, 0.2710630596, 0.4090313613, 0.1854132563, -0.5833516717, 0.0660509467, -0.5813813806, 0.4963516593, 0.5348628163, 0.1621046066, 0.0155090243, -0.197277382, 0.027931843, 0.2204210013, -0.6329866052, -0.284399122, 0.7613574862, -0.0198429246, 0.7548218369, 0.3457612097, 0.5792914629, 0.2354957461, 0.4991572499, -0.6003894806, 0.1178751811, -0.1074014083, -0.6586512923, -0.5124874115, -0.3761194646, -0.8041660786, 0.2361026704, -0.5076329112, -0.7821492553, 0.4998348057, 0.4460217953, -0.7254461646, -0.023292724, -0.447237134, 1.2593585253, -0.5848729014, -0.7104516625, -0.3641844094, -0.6890687346, 0.3910217285, 0.1673349589, 0.0975177437, -0.3857339323, 0.0678009987, 0.2893784642, -0.0813151821, 0.6796882153, -0.4544624686, 0.1075319499, -0.3191410303, -0.0787216946, 0.588316083, 0.3907250166, -0.1172805056, -0.3388561308, -0.1075873896, -0.6035780311, -0.5959068537, 0.9431316257, -0.6970769167, -0.4205704927, -0.4761534035, -0.7652614117, -0.2368404716, 0.1021003202, 0.0146086914, 0.4773631394, -0.3682924211, 0.4643060565, 0.4556486309, -0.3874569535, 0.310506165, 0.4708022773, 0.129711628, -0.2166290879, 0.8704286218, -0.4908153117, 0.1608314663, 0.6591852903, 0.4292030632, -0.3597651124, -0.3515704274, -0.7637422681, -0.1301819086, -0.3458863795, -0.2927868664, -0.4788250625, 0.4228982031, -0.2069040984, -0.7586645484, -0.4592072666, -0.0649506822, -0.5067913532, 0.1786110252, 0.1694310904, 0.4411654472, -0.0793306455, 0.4879743457, -0.5879976749, 0.2618426681, 0.3422193825, 0.4548276961, -0.194116503, -0.3452986777, -0.396640569, 0.2628845572, -0.2396427095, -0.500824213, 0.0944344997, 0.1988403052, 0.5343778729, 0.5798124075, 0.0952460542, 0.8702982068, -0.3455215096, 0.6060341001, 0.1416517496, -0.9218903184, 0.3801127076, -0.3353646398, 0.0544273034, 0.8335608244, 0.2398839444, -0.5415271521, 0.0886934474, -0.2455521822, -0.7092570662, 0.8461889029, -0.247532472, -0.0568734482, 0.1312576085, 0.5238345861, 0.0780246779, 0.288975209, -0.7634375095, -0.0948342308, -0.2128518671, -0.4714816213, -0.2993981838, -0.2380291969, -0.4989649355, -0.1003420129, 0.7871630192, -0.4836713672, 0.1238037422, -0.2930537462, -0.2076136172, -0.1210277453, 0.20466353, 1.0343029499, 0.773981154, -0.3585543633, -0.0627329871, -0.0465864912, 0.2963463664, 0.4038878381, 0.2238181829, 0.0156590231, -0.6655500531, 0.0159650669, 1.1755155325, 0.5810762048, -0.6567294002, 0.5788378119, -0.2572053969, -0.0316052176, -0.0698230714, 0.3549040556, -0.0124124223, 0.5048143268, 0.1012366489, 0.2336727828, 0.0821433142, -0.4628743231, 0.017423436, 0.8800307512, -0.4043000937, -0.0067517683, 0.8437820077, 0.1896303147, -0.0945226252, 0.5458871722, -0.0704999268, -0.4267969728, 0.6751220822, 0.4053155184, 0.6086388826, -0.2196666002, 0.254725188, 0.2583231926, -0.1275767982, -0.3252176046, -0.0973368213, -0.2288211435, -1.0519021749, -0.4504191279, -0.7187811136, -0.4734812677, -0.1595554054, -0.8790183663, 0.3370825648, -0.1599875391, 0.0902388245, 0.1146931797, -0.0676082224, -0.47341308, 0.3111666143, -0.0986216366, 0.6753599048, -0.9391895533, 0.7241957188, 0.7407449484, -0.1491677612, -0.5156551003, -0.1864266247, 0.0449648798, -0.494435668, 0.5544945002, 0.2519754469, -0.3780966699, 0.1028700322, -0.4924771786, -0.9300093651, 1.0735340118, 0.539303422, -0.3914930224, 0.1513849795, -0.2810227871, 0.2396579087, -0.6526154876, 0.1305401921, 0.457919538, 0.8391618729, -0.1726985425, -0.4462830126, -0.183367148, -0.1062037572, -0.3160167933, 0.3945902586, -0.7320426106, 0.6576109529, -0.0568524227, 0.1078855321, -0.0323213525, 0.5003902912, 0.4858032763, 0.2431156337, 0.7948836684, 0.5418727994, 0.7418621182, -0.187974304, 1.0966217518, -0.4698394835, 0.4703300595, 0.9954894781, -0.3580073118, 0.3736391068, 0.4964736998, 0.1055061221, 0.6032034159, 1.0494397879, 0.2663817406, 0.9197105765, -0.0299016815, -0.1353799552, -0.385771662, -0.2505934834, -0.3552690744, 0.3784258664, 0.2938843966, 0.1065512747, -0.0617063418, 0.0199286472, -0.3678679168, 0.0250843056, -0.1628520787, 0.5699467659, -0.2896052599, -1.026361227, 0.2964370251, 0.2461135089, 0.694860816, -0.5571725368, 0.0039511183, -0.2453999966, 0.3497460783, -0.1501660198, -0.4128397107, 0.0322693586, -0.0437482223, -0.4681944549, -0.4441337287, 0.328235805, -0.6414620876, -0.284103781, 0.2960229814, 0.1642933041, -0.2868384123, -0.0633992702, -0.908038795, 0.0999790281, -0.0238611978, -0.4125071764, 0.5772916675, 0.2186939716, -0.1136767864, 0.5288678408, 0.4960906804, -0.2433406264, -0.2868527174, -0.1357022226, 0.7105517387, -0.5303601623, -0.7123458385, -1.0003839731, 0.7517538667, -0.011908954, -0.4915108085, 0.275054425, 0.5729494691, 0.8890923262, 0.1796664298, 0.6117210984, -0.1494988501, 0.1920164376, -0.6710002422, 0.2033474892, -1.1524455547, 0.1082546785, -0.3133681715, -1.0104669333, -0.2929434478, 0.9001893401, -0.1197681576, -0.0201826524, 0.555482924, 0.584611237, -0.4510213733, -0.1311032027, -0.1317999661, -0.1196086928, 0.2656652331, 0.7225905061, 0.8075502515, 0.3051926494, 0.0250005368, -0.3107661903, -0.4769041836, -0.4838004112, -1.292260766, -0.406353265, -0.4049100876, -0.2926337421, -0.2662324309, 0.2471529096, 1.056402564, 0.6580511332, -0.9783431292, -0.3793601692, 0.1846661568, 0.3512705564, -0.7412785888, -0.1877664477, 0.4302836359, -0.4233830869, -0.992585659, 0.7040709257, 0.3959721327, -0.3689514101, -0.0553784408, -0.4564854801, -0.2121617645, -0.1637871265, 0.3417147696, 0.2640263438, -0.682798028, -0.524702549, -0.0183871221, -0.1975134015, 0.2309734523, 0.9539080858, -0.6631844044, 0.3653428853, 0.2652463615, 1.0067933798, 0.598593533, 0.5219148397, 0.5260388851, -0.6779871583, 0.2085178792, -0.1524949521, 0.3782541454, 0.2169478834, -0.5536693335, 0.4410228133, 0.079099305, -0.5933274627, -0.9577712417, 0.4065984786, -0.9299212694, -0.4822225869, 1.0173270702, -0.086348772, 0.0407436229, 0.2384643406, -0.0414392203, 0.322322458, -0.533316493, 0.9237354994, 0.7649441957, -0.2991175056, 0.0318703316, -0.1644042879, 0.647259295, 0.6447972655, -0.7107078433, -0.0541544221, 0.7516353726, 0.1831336915, -0.0611847788, 0.4625594318, 0.275053829, 0.2298680395, -0.5113680959, 0.1671568453, -0.1372004896, -0.7886124253, -0.5307507515, 0.2331920862, 0.0936688259, -0.2562744319 ]
http://arxiv.org/abs/2402.10260v1
http://arxiv.org/pdf/2402.10260v1
A StrongREJECT for Empty Jailbreaks
2024-02-15T18:58:09
2024-02-15T18:58:09
Alexandra Souly, Qingyuan Lu, Dillon Bowen, Tu Trinh, Elvis Hsieh, Sana Pandey, Pieter Abbeel, Justin Svegliato, Scott Emmons, Olivia Watkins, Sam Toyer
cs.LG
cs.LG, cs.CL, cs.CR
The rise of large language models (LLMs) has drawn attention to the existence of "jailbreaks" that allow the models to be used maliciously. However, there is no standard benchmark for measuring the severity of a jailbreak, leaving authors of jailbreak papers to create their own. We show that these benchmarks often include vague or unanswerable questions and use grading criteria that are biased towards overestimating the misuse potential of low-quality model responses. Some jailbreak techniques make the problem worse by decreasing the quality of model responses even on benign questions: we show that several jailbreaking techniques substantially reduce the zero-shot performance of GPT-4 on MMLU. Jailbreaks can also make it harder to elicit harmful responses from an "uncensored" open-source model. We present a new benchmark, StrongREJECT, which better discriminates between effective and ineffective jailbreaks by using a higher-quality question set and a more accurate response grading algorithm. We show that our new grading scheme better accords with human judgment of response quality and overall jailbreak effectiveness, especially on the sort of low-quality responses that contribute the most to over-estimation of jailbreak performance on existing benchmarks. We release our code and data at https://github.com/alexandrasouly/strongreject.
[ -0.306415379, -0.6785429716, 0.5826443434, -0.0957817882, -0.2583813667, 0.0302691665, -0.2082620263, -0.6100315452, 0.0707872137, 0.7039667368, -0.0137248104, -0.4632244408, -0.5560202003, -0.0596073829, -0.6197798252, 1.1793973446, -0.0643012822, -0.0335266851, -0.1560243219, -0.4240043461, -0.4538572133, -0.5801445842, 0.0912890211, -0.3312131763, 0.4372846186, 0.4641943276, 0.6616013646, 0.4713868797, 0.7642620802, 0.2483901978, -0.2070268691, -0.0604374334, -0.4313201606, -0.0771921128, -0.2482433766, -0.2714500427, -0.3019764125, 0.1990687996, 0.1330832094, 0.4282910526, -0.2417277992, 0.3375044465, -0.1125079915, 0.6532503366, -0.98070997, -0.3958247602, -0.6202853918, -0.0752997622, -0.3054706156, 0.2857548296, -0.4100323021, -0.3398846686, -0.3880517483, -0.2679624259, 0.1408950388, -0.1075540558, 0.9026761651, 0.0767687485, -0.315541029, -0.1724703759, -0.5799339414, 0.7757530212, -0.9911387563, 0.1040073559, 0.5261287093, 0.3565051854, -0.1899421364, -0.518448174, -0.1345103085, -0.4557540119, 0.1612312645, -0.0299528725, -0.2371446043, 0.0989353061, 0.366199702, 0.5432932973, -0.3579416573, 0.2618278265, -0.7529874444, -0.2541441619, 0.6816592813, 0.1809393167, 0.1309888363, -0.354791373, -0.2606797814, 0.2362022549, -1.0452874899, -0.0348620303, 0.9407456517, 0.4185174704, -0.1158806458, 0.8814495802, -0.0807278603, 0.7266922593, -0.1278360486, -0.064668633, 0.4282288253, -0.3166378438, -0.0952743217, -0.1559526026, 0.8001310229, 0.4827175736, 0.306628406, -0.2870487869, -0.2068294138, 0.0022925592, 0.4184480011, -1.0669077635, -0.2507790327, 0.3598553538, -0.3640522659, -0.4793670177, 0.1718134135, -0.5781989098, -0.7738941312, 0.3243799806, 0.4149544835, -0.2568529844, -0.1498776525, 0.1222124621, -0.1659146994, 0.0986186117, 0.3408783674, -0.6446242929, 0.364567548, 0.5380485058, 0.9185169339, -0.0552094728, -0.0965815559, -0.6699351668, -0.0649860129, -0.3020367026, 0.7497286797, -0.348010838, -0.2948977947, -0.2038656026, -0.1519205421, 0.3657713234, -0.9437947869, 0.5926674008, -0.25015679, -0.0353332534, -0.0301359873, -0.601675272, -0.0295752436, 0.2371956706, -0.5039967299, 0.735129416, 0.3187222183, -0.7517648935, 0.3955768943, -0.340305835, -0.4685702622, -0.0513551198, 0.0835693106, -0.5399310589, 0.3142980635, 0.1380875111, 0.3748183548, -0.2446619868, 0.5323144197, -0.7592437863, -0.6183800697, 0.2488584816, -0.1990649849, 0.5729990005, 0.4410544038, -0.2983292937, -0.0470208637, -0.8047083616, 0.1229659393, 0.0669566765, -0.4266978502, -0.4918052554, 0.1392625272, -0.1614176929, 0.1326482147, 0.1403819919, -0.9670059681, 0.2583637536, -0.5244207382, 0.6119840145, 0.8888126016, -0.0811586455, 0.2930158377, -0.20556584, 0.2643164098, 0.1311789453, 0.2382320166, 0.0086237192, -0.4374222159, -0.4195036292, -0.163704142, 0.1132797524, 0.4187229872, -0.2453587651, 0.1101957485, 0.0161753725, -0.6840788722, -0.7410542369, 0.6763285995, 0.6504060626, 0.5045355558, 0.622115314, -0.4151673913, -0.4662928581, -0.9925277233, -0.6046443582, -0.477409333, -0.064846009, 0.3951985538, 0.5215456486, 0.041302707, 0.5151597857, -0.3907206953, -0.2200174481, -0.3876849115, 0.2549418509, 0.4205776751, 0.3529874086, 0.5622237921, -0.3963213563, -0.0257340092, -0.3792417347, -0.8401774764, -0.297850877, 0.353853792, 0.3588100672, -0.1121653244, 0.3839014471, -0.5679111481, 0.19539994, 0.5144053698, -0.6068396568, 0.7264021635, -0.0586586408, 0.128616333, -0.7458095551, 0.1341264397, 0.106989488, -0.1428007782, -0.608716011, 0.5537121892, 0.2773425579, -0.1011897326, -0.8628236055, 0.6461910605, -0.2738726735, -0.1392002553, -0.229084447, 0.1224406809, 0.0225893557, 0.0888064653, -0.4368163347, 0.8497490883, 0.0903216526, -0.1243343055, 0.3378302753, 0.1658946574, -0.621445477, 0.2620610893, -0.8330590129, 0.0810884535, -0.0340888016, -0.2103649825, -0.8759625554, -0.2367833257, -0.0215950925, -0.3540576696, 0.0939473584, -0.5304920673, -0.4444007874, -0.6941021681, -0.4919626415, 0.3020429015, 0.4905636609, -0.4204231203, -0.0582940392, 0.2378250659, 0.1775640994, -0.6355798841, -0.8307526112, 0.1011206657, -0.3743526042, -0.5191056132, 0.1137686819, -0.114897266, -0.4360198677, -0.0061298287, -0.1772508174, -0.1285769343, 0.2905238271, 0.4942419231, 0.292940706, -0.2579377592, -0.2445383817, -0.2741450369, 0.0869659632, 0.0760717243, 0.2358573377, 0.2683554888, -0.1850967258, -0.3652976751, -0.092368558, 0.0863792524, 0.8679360151, -0.2726970315, 0.5132853985, 0.1056376174, -0.0671747476, -0.0409085639, -0.726257205, -0.0498145185, -0.5144228339, 0.2540142238, -0.3369719088, -1.1587361097, 0.57295084, 0.1459689587, -0.0363651626, 0.0404068492, 0.4458807409, 0.0828509405, 0.9700328112, 0.4863629341, -0.3985422552, 0.3411048949, 0.0189071335, 0.1973335594, -0.8419355154, -0.0579497032, -0.6553379893, -0.2324320525, -0.4753281176, -0.1908698827, -0.1279861182, 0.5072635412, -0.633305192, 0.6449505091, -0.4706046581, 0.5994073749, 0.2984798849, 0.1557940245, 0.4105718434, -0.2370067239, -0.0473360382, -0.0728942901, -0.1777860075, -0.5236336589, 1.3596359491, 0.3774552941, 1.0787630081, 0.2252182066, 0.8698539734, 0.3704833388, 0.697014153, -0.7392013073, 0.5141686797, -0.2361054271, -0.9229979515, 0.0359703228, -0.7597391009, -0.6396259665, 0.1249608546, 0.129435882, -1.0647416115, -0.0404464193, 0.1006374955, -0.3866379857, 0.4252251685, -0.906748116, 1.0719432831, -0.272393465, -0.64672333, 0.0046983198, -0.3614192009, 0.8220330477, -0.1645949185, 0.3514745533, -0.6975560784, 0.1939174086, 0.597458899, -0.7963483334, 0.6033910513, -0.6344802976, -0.1207893863, 0.5129417777, 0.3092444241, 0.5383239985, 0.2021819204, -0.3234154284, 0.1138784438, -0.2031038404, -0.3580950499, -0.5629718304, 0.7594694495, -0.8756751418, -0.6385249496, -0.143963784, -0.3359452486, -0.2539795935, 0.224190861, 0.2367151529, 0.2788579166, -0.04699523, -0.0021995935, 0.1550052166, -0.4847943783, 0.2516090572, 0.8807780743, -0.249396801, -0.4000358582, 0.6643757224, 0.1726463586, 0.3488978446, -0.1201784089, 0.1920783669, -0.0578931384, -0.9575315118, -0.4159579575, 0.2433950901, -0.4830496907, -0.6031950116, -0.2660286725, -0.2167055905, -0.3018456399, -0.1441782564, -0.6367754936, -0.3544970155, 0.0142939426, -0.2893241346, 0.3597925007, 0.6184771061, -0.1255578846, 0.1798787117, -0.6640310884, 0.576980114, 0.0982140973, 0.5251336098, -0.2820315659, -1.0149863958, -0.2410651892, -0.1265164316, -0.5127905011, -0.7581185102, 0.2489537299, 0.0177184343, 0.3897289932, 0.4157896936, 0.2609957755, 0.9228794575, -0.4890929461, 0.7355570793, 0.3671147525, -0.8699023128, 0.8117800355, -0.3860127926, 0.2528220415, 0.8702361584, 0.1283127367, -0.2644172609, -1.0395416021, -0.3768058717, -1.0545400381, 0.4251274168, 0.1193759292, 0.4347247779, -0.2281868011, 0.4442323744, 0.0127694737, 0.3079580665, -0.8557596207, -0.1286038458, -0.3435431421, 0.0675124973, -0.2212836891, -0.2691403925, -0.0018222377, -0.3428636193, 0.4397411942, 0.1126537025, 0.1758505404, -0.0422738865, -0.1757591814, -0.2625912726, 0.5522472858, 0.477460295, 0.4688635767, -0.7025724053, 0.2206446379, -0.078310132, -0.5536467433, 0.638517797, 0.0428089052, -0.1759905219, -0.215437144, 0.2788773179, 0.4540214539, 0.0555242747, -0.9789463282, 0.9320493937, 0.0119939959, -0.2013423443, -0.0050485805, 0.3853514493, -0.1636169553, 0.1724281609, 0.2629973888, 0.0390691794, 0.1590757072, -0.7024095654, 0.3410726488, 0.3169272542, -0.5078365207, -0.3383294046, 0.9003480673, 0.1640207171, -0.0441898964, 0.8457756042, -0.2035088241, -0.1357021928, 0.5280875564, 0.6029224992, 0.7924693227, -0.2153096497, 0.2884442806, 0.4464313686, 0.4958890975, -0.2574483454, 0.2218667716, 0.1408983022, -0.8116511703, -0.6064975262, -0.6695134044, -0.3737502992, 0.5499017239, -0.6834653616, 0.1991056949, -0.797051847, -0.2483070046, -0.018890284, -0.1200298071, -0.2929224074, 0.0923776925, 0.0490477681, 1.0085061789, -0.8267942071, 0.7558150291, 0.5232960582, -0.571442008, -0.6673793793, -0.4078564346, 0.1357771158, -0.6308770776, 0.550845027, 0.4851686656, 0.2045352906, -0.3034886122, -0.678260386, -0.737174809, 0.5476104617, 0.7181367278, -0.5972266197, 0.0256610122, 0.0572836846, 0.4139349163, 0.1913236678, 0.2667016089, 0.4799151719, 0.4724072814, -0.2956474423, -0.8556056619, 0.1739338636, -0.4428703487, -0.4179967642, 0.6668628454, -0.5872904062, 0.7294974327, -0.5985888839, -0.0099168066, 0.598796308, 0.2882961333, 0.1698018759, 0.2251426131, 0.0413014777, 1.0021737814, 0.4201107025, -0.2864536643, 0.9684169292, -0.1134131253, 0.3780301213, 1.3208978176, -0.4414288998, 0.9868783951, 0.5792511106, -0.1853753477, 0.3632518053, 0.2181212008, -0.5129218698, 0.7313369513, 0.6936345696, -0.2351837754, -0.1451546252, 0.1497079879, -0.2253630906, 0.4365631044, 0.1420546323, -0.2791732848, -0.4600299299, 0.2812467813, 0.1279399842, 0.0695353672, -0.3550650477, 0.673543334, 0.2138978094, -0.5283745527, 0.6795511246, 0.4694389105, 0.6934191585, -0.4959222376, 0.2381808907, -0.6555235386, 0.305857867, -0.3848589063, -0.947127521, 0.3046613038, 0.5431551933, 0.0011805546, 0.0483112186, 0.6967291236, 0.1400984377, -0.2517841458, 0.6004856825, 0.5558973551, 0.3968533576, -0.1572113037, -0.7192727923, 0.0536858812, -0.2949021459, -0.4421876371, 0.5338905454, 0.1825214922, 0.2450838834, 0.7271131277, 0.4573502541, 0.2589067519, -0.0543215312, 0.0990008488, 0.9608060122, -0.780559659, 0.0265422408, -1.0341331959, 0.4964565933, -0.0205876715, -0.4364204407, 1.0703037977, 0.7865297794, 0.7650343776, 0.2920113206, 0.6825507283, -0.1704817116, 0.5013782978, -0.3815087676, 0.6163977385, -0.6381367445, 0.4671068192, -0.777233243, -0.7433440089, -0.3504027128, 0.5387785435, -0.4131025672, -0.0172731318, 0.388638854, 0.8180963397, -0.1605165899, -0.3116701841, 0.6015105844, 0.2758254111, 0.3470315933, 0.58116889, 1.0339305401, -0.5572749972, 0.6960607767, -0.2798184454, 0.0819698349, -0.0785858333, -0.6395873427, -0.9902507067, -0.051208023, -0.1901312768, -0.5493353605, 0.4703226388, 0.462169379, 0.6278171539, -0.8489710093, -0.3686005473, -0.2075814307, 0.051809337, 0.1320048273, -0.2418900281, -0.0561027341, -0.271513015, -0.1831201315, 0.6096568108, 0.2425542921, 0.1828283221, -0.1603924185, -0.0561737306, 0.1605879217, -0.0815822259, 0.5691266656, 0.4756975174, -0.4911717772, -0.4917941689, -0.1043205932, -0.0961235613, 0.2980726957, 0.8665207028, -0.6024125814, 0.2776224017, 0.1393850595, 0.5087190866, 0.4999215007, 0.2996878028, 0.3147649467, -0.7814323902, 0.2763811946, 0.262594223, 0.3628863096, 0.3238885105, -0.1305443645, 0.454839766, 0.1623678356, -0.5334814787, -1.1209337711, 0.3147116899, -0.4887204468, -0.5297572613, 1.0961458683, -0.3457336426, -0.2182537764, -0.1617753804, 0.1306665093, -0.1952615678, -0.5737102628, 0.7915807366, 0.7273063064, -0.002537783, -0.2713447511, -0.8064829111, 0.1223535165, 0.2995165288, -0.8805248141, 0.3919947743, 0.7508144975, 0.4576124549, 0.0445746966, 0.4768201709, -0.5510667562, 0.259622395, -0.1170729548, 0.0398135893, -0.2736416161, -0.404112041, -0.2955630124, 0.4416965246, 0.4495772421, 0.1622022688 ]
http://arxiv.org/abs/2402.10200v2
http://arxiv.org/pdf/2402.10200v2
Chain-of-Thought Reasoning Without Prompting
2024-02-15T18:55:41
2024-05-23T20:53:59
Xuezhi Wang, Denny Zhou
cs.CL
cs.CL
In enhancing the reasoning capabilities of large language models (LLMs), prior research primarily focuses on specific prompting techniques such as few-shot or zero-shot chain-of-thought (CoT) prompting. These methods, while effective, often involve manually intensive prompt engineering. Our study takes a novel approach by asking: Can LLMs reason effectively without prompting? Our findings reveal that, intriguingly, CoT reasoning paths can be elicited from pre-trained LLMs by simply altering the \textit{decoding} process. Rather than conventional greedy decoding, we investigate the top-$k$ alternative tokens, uncovering that CoT paths are frequently inherent in these sequences. This approach not only bypasses the confounders of prompting but also allows us to assess the LLMs' \textit{intrinsic} reasoning abilities. Moreover, we observe that the presence of a CoT in the decoding path correlates with a higher confidence in the model's decoded answer. This confidence metric effectively differentiates between CoT and non-CoT paths. Extensive empirical studies on various reasoning benchmarks show that the proposed CoT-decoding effectively elicits reasoning capabilities from language models, which were previously obscured by standard greedy decoding.
[ -0.4601102471, -0.8927277327, 1.0668612719, -0.015998872, -0.6675823927, 0.2609035969, -0.3157978952, -0.3727617264, 0.145587638, 0.5903835893, -0.7758107781, -0.3026891053, -0.5682651401, 0.2796441019, -0.398794353, 0.7599004507, -0.1873298585, 0.0031250231, -0.1566779464, 0.2330949754, -0.4183278382, -0.5235010982, -0.5227558613, -0.294688642, 0.9054406285, 0.3477567434, 0.4812465906, 0.4639554918, 0.1301227659, 0.154996112, -0.3041037917, 0.596419096, -0.4726820886, 0.1971871853, -0.3219092488, -0.736453712, -0.3956746161, -0.0522958748, 0.4373729229, 0.6375871897, 0.1397689432, -0.0070007853, 0.0731824785, 0.845993042, -0.9882244468, -0.3407638371, -1.1286991835, -0.0402460285, -0.0077603888, -0.6727017164, -0.9010475874, -0.1183858886, -0.119193621, -0.2910806835, -0.0987419486, 0.2011847049, 0.6080317497, 0.2257389277, -0.3839922845, -0.49225685, -0.7367220521, 0.6554514766, -0.3122712672, 0.3670372069, 0.543548584, 0.0961141884, -0.389746666, -0.4462345243, -0.6332243085, -0.3775086403, 0.0524838492, 0.0513858497, -0.0841758102, 0.3203568459, 0.4573146105, 0.2144965231, -0.3032625318, -0.1502715051, -0.1811627746, -0.0401985012, 0.3333906829, -0.0026213131, 0.1040738747, -0.0234024301, -0.5249403715, -0.1157449931, -0.9266213775, 0.0883360282, 0.2066121548, 0.1476126909, 0.0749720111, 0.6688911915, -0.1424766779, 0.7386887074, 0.1172086895, 0.2298874259, -0.2572666109, -0.3686156273, -0.2722713947, 0.1632126868, 0.6218162179, -0.0258796569, 0.4342105389, -0.2881735265, -0.3736706674, 0.1849659234, 0.1746741086, -0.3135963082, -0.1144291088, 0.3319294155, -0.2078968734, -0.2244656235, -0.0894597992, -0.4774822891, -0.2965701222, -0.1400589943, 0.3165497184, -0.4233972132, -0.2613472641, 0.2442532182, -0.340931505, 0.5459411144, 0.2328241915, -0.7190313339, 0.107130684, 0.6321823597, 0.8644198775, 0.0822208747, -0.1230032295, -0.6441358328, 0.1718285233, -0.7908073664, 1.0099679232, -0.5789760351, -0.4163694978, -0.2794125974, -0.290343523, 0.0053538564, -0.2209303975, 0.4360909462, -0.6995310783, -0.2661630809, -0.6501227617, -0.5019052029, 0.0290324949, 0.5575232506, -0.4997679591, 0.7386761308, -0.1693882495, -0.6108746529, 0.362654835, -0.4596467614, -0.3907126486, -0.0905336142, -0.3354599178, 0.1795113981, 0.2502983212, 0.7488762736, 0.1998702437, -0.2729366422, 0.3094093502, -0.4126976132, -0.4010585546, 0.5344427228, -0.895968616, 0.9095619321, 0.1779479235, -0.4579891562, -0.0143635934, -0.6019098759, 0.2704994678, 0.1297269911, -0.0256293286, -0.3704532683, -0.1230926365, -0.6552981138, 0.3347916305, 0.1382237077, -0.3035024703, 0.5154882073, -0.4412260056, 0.1983945966, 1.1293870211, 0.2022637576, 0.4741828442, -0.3674557209, 0.7736235261, -0.0136060622, 0.1227215901, -0.1905235499, -0.6037645936, -0.8998351097, -0.2381670177, 0.0496856868, 0.3498098552, -1.04806602, 0.3279462457, 0.0338420197, -0.3426448703, -0.4667596817, 0.1079537198, 0.4482978284, 0.4734800756, 0.3673802614, 0.0791721493, -0.6682443619, -0.234166041, -0.4077705443, -0.245633468, 0.1620469987, 0.2356288433, 0.3733148575, 0.0801084265, 0.7910143137, -0.49405545, 0.4210996628, -0.5243287683, 0.013868833, 0.3747776151, 0.2852496505, 0.1217628792, -0.4076943696, -0.2463843077, -0.1555052102, -0.6814815998, -0.0572936386, -0.4051283896, -0.6718719602, 0.0232075509, 0.5865822434, -0.889408946, 0.5728477836, 0.1685627252, -0.415992409, 0.811250627, -0.2921817899, 0.1803873032, -0.5963186622, 0.0600381792, -0.4592244327, -0.1723960638, -0.3680424988, 0.1303581446, -0.0465552174, 0.1898653209, -0.4155078232, 0.5533408523, -0.622023344, -0.0838794932, -0.4602217376, 0.2203363478, 0.244451642, 0.5804229379, 0.1567426473, 0.787809968, 0.7644172907, -1.0025503635, 0.1897726506, 0.1802580357, -0.2867866457, 0.3907778859, -0.5919036269, 0.5727828145, -0.2611773312, 0.5945947766, -0.950083077, 0.0705860183, 0.3261277378, -0.3874344528, -0.0798065066, -0.2036360502, -0.531116724, -0.5161495805, -0.2424720079, 0.5720316768, 0.6445824504, -0.7938650846, 0.394735992, -0.1420125961, 0.3634427786, -0.6643558741, -0.6635125875, 0.1637909114, -0.0962927863, -0.3731330335, 0.0786221102, -0.2314698994, -0.1861971915, -0.17175515, -0.2322448492, -0.0859795511, 0.0704506859, 0.0152284522, 0.6019065976, -0.1195242107, 0.1536719799, 0.1791850775, -0.1224780455, 0.201575473, -0.5959079862, 0.6960894465, -0.0337557793, -0.3508979082, -0.3862074316, 0.1350731552, 0.5992560387, -0.2240996063, 0.7788771391, 0.2320632637, -0.3216054142, -0.4470707178, -0.3837842047, -0.2970263064, -0.5390104055, -0.4243453145, -0.5339810848, -0.8399397731, 0.3752029538, -0.2107574642, -0.2316363454, 0.025697913, 0.4724201262, -0.1336066276, 1.2218316793, 0.2070750445, 0.1312526017, 0.2934898734, -0.4883110523, 0.4716883302, -1.0055845976, -0.268720299, -0.2925485671, -0.2011383474, -0.3342955112, -0.4081604779, 0.4779751599, 0.4004425406, -0.1869076937, 0.2824438214, -0.5889998674, 0.8325313926, 0.3397631049, 0.3934051991, 0.2727565169, -0.1709346175, -0.5776542425, 0.6235516667, -0.832357645, -0.5431981087, 1.0116912127, 0.0434468798, 0.7501883507, -0.1427977979, 0.7989725471, 0.1685998291, -0.0179103259, -0.9066978097, 0.8391808271, 0.2243981361, -0.5954633355, -0.1848149747, -0.4701075256, -1.0810363293, 0.1928227991, -0.2524669468, -0.9760175347, 0.17314592, 0.4000340998, -0.5973337889, 0.5811456442, -0.5657375455, 0.416013211, -0.3676144481, -0.379480809, -0.1779124588, -0.3718549311, 0.5167471766, 0.2349528074, 0.1104467288, 0.0215585902, -0.0349530242, 0.491635263, -0.6113967896, 0.5561830997, -0.1030933931, -0.2486159503, 0.7624853253, 0.3535873592, 0.8073696494, -0.0836145952, -0.0582910739, -0.2220609933, -0.2229207605, -0.4305206537, -0.9272363782, 0.6206438541, -0.3616341054, -0.8871287107, -0.2749095559, -0.5332543254, -0.4922814965, 0.1720018983, 0.4079638422, 0.3973751068, 0.2119441777, -0.1694399714, 0.6051700711, -0.0716590583, 0.4396401048, 0.0088658491, -0.1766459346, -0.3725335002, 0.6104547977, -0.0626793727, 0.6098623872, 0.3878590763, 0.4231604338, -0.6247414947, -0.4319963157, -0.4951887429, 0.1306714267, -0.8703215122, -0.07755813, -0.6247519851, -0.1356182396, -0.1837366372, -0.4588049352, -0.3031771183, -0.3389734626, -0.2349927425, -0.3865432441, 0.4641554356, 0.7963519692, 0.0836789012, 0.1210432723, -0.7693321109, 0.3481815159, 0.3108710945, 0.2835828066, 0.5155221224, -0.2310829014, 0.049472034, 0.2484767884, -0.2173723876, -0.8331391215, 0.1418810487, -0.4107040167, 0.4312419593, 0.5174330473, 0.37631616, 1.032600522, -0.4984336793, 0.8903035522, 0.3324924409, -1.225476861, 0.832095921, -0.2066940069, 0.4008942842, 0.4865652621, 0.33339414, -0.0905277357, -0.5449118614, -0.6473297477, -0.6638153195, 0.4789707065, 0.2609390616, -0.0722720549, -0.5142428279, 0.352324903, 0.0563781969, 0.0164147839, -0.7426123023, 0.0535496287, 0.0379027948, 0.1373745799, 0.3150525391, -0.1429398507, 0.0366049223, -0.3900088966, 0.4948553443, -0.0384096317, 0.3877282739, 0.5569521189, -0.1373977959, -0.1776504666, 0.3815913796, 0.473431766, 0.7417511344, -0.0410826989, 0.6668305993, 0.3857577443, -0.0426232703, 0.4427721798, -0.7963322401, 0.0144482395, -0.111046955, 0.5028823614, 0.8357158303, -0.0224365462, -0.6771094203, 0.4722187817, 0.0923940316, -0.2216104716, -0.077171579, 0.3349110782, -0.0910702348, 0.1787209064, 0.2195648551, 0.1483174115, -0.068802543, -0.6319026351, 0.1103065014, 0.4964176416, -0.4325079024, -0.1454074532, 0.4648014903, 0.0053475131, -0.2567289472, 0.5878455043, -0.3251700699, -0.4968420863, 0.5360280275, 0.6066616178, 0.8890628815, 0.1475197524, 0.1813195199, 0.2942197621, 0.4271541238, -0.267254889, 0.4059172869, -0.3872252405, -0.7718423605, -0.6583657265, -0.2930470407, -0.3429676294, 0.0406063572, -0.6223117113, 0.3247723877, -0.7702929378, -0.1547609121, -0.371527791, -0.4771378934, -0.6446855664, 0.1414990425, 0.2463878542, 1.1531481743, -0.4511170089, 0.7925183773, 0.2191358805, -0.3015512526, -1.0635039806, 0.2460954487, -0.3526097536, -0.9268844724, 0.3312195539, 0.2298034281, -0.7674927711, 0.0412630476, -0.9245470762, -0.6777237058, 0.9375741482, 0.4487601817, -0.5657300949, -0.1092751101, -0.103331998, 0.262235254, -0.3584903479, 0.5076757073, 0.5897448659, 0.4153677523, 0.4979121685, -0.6265912056, 0.3298794627, 0.0072551989, -0.1158670038, 0.1922308952, -0.3013179004, 0.6962276697, -0.497492075, -0.3780557811, 0.1433005482, 0.3292974532, 0.6345296502, 0.2950594425, 0.6129405499, 0.3490438163, 1.0407208204, 0.2729265392, 1.2336037159, -0.302123189, 0.0393302813, 0.9990843534, -0.3133665919, 0.8302341104, 0.7377130389, -0.0329087004, 0.9650939703, 0.4274360836, 0.4748711884, 0.6556223631, 0.1989457011, -0.3790428638, -0.7715163827, -0.0786360651, -0.1447105706, 0.3967354596, 0.4168547094, -0.2448893487, -0.0258948263, -0.0945773795, -0.0637052208, 0.0063833962, -0.6204255819, 0.6522097588, 0.4052687585, -0.9837027788, 1.125615716, -0.3882709444, 0.5235762, -0.6275440454, -0.0606833696, 0.0833676308, -0.1539426446, -0.1259302944, -0.8176406026, 0.1439108104, 0.323685199, 0.0723951235, -0.3000716865, 0.7671974301, -0.2260123044, -0.4265858233, 0.3437556922, 0.7143135071, 0.2012407184, 0.0137746856, -0.4554770887, 0.05171993, -0.1813512892, -0.0876645818, -0.0199190956, 0.6206094623, 0.020415701, 0.8320007324, 0.9882772565, 0.2486090809, -0.0965613946, 0.1532605886, 1.0659677982, -0.8641762137, -0.6603649259, -1.3044924736, 0.5062586665, 0.0063245231, -0.1278770715, 0.5293633938, 0.089390479, 0.7209173441, -0.0103681721, 0.7960810065, 0.2159543186, -0.0755102038, -0.9836464524, 0.4473065734, -0.3267674446, 0.4611892998, -0.2763363123, -0.6256493926, -0.1407858431, 0.6367080212, -0.5404980183, 0.017199045, 1.1284514666, 0.7679181695, 0.1659402102, 0.2419511527, 0.3969992697, 0.0942235366, 0.242579326, 0.9079394937, 1.3173500299, 0.0254769139, 0.6084974408, 0.1821129769, -0.3332751691, 0.1280287206, -1.0123692751, -1.1843891144, -0.2043124288, -0.0064799986, -0.5012699366, 0.1083480045, 1.1190674305, 0.4296938777, -0.5745802522, -0.1034105495, -0.8911290765, 0.6279258132, -0.4390974343, -0.1502465755, 0.1533679366, -0.4412044883, -0.23377271, 0.664955318, 0.3294124603, 0.0449413173, -0.3631307781, -0.2374098152, -0.3217764199, 0.5388119817, 0.6315361261, -0.0303898305, -0.9277402163, -0.4471541345, 0.256539911, 0.1011624113, 0.0765303001, 1.1322962046, -0.9909265637, 0.507140398, 0.5143318176, 0.4659716785, 0.3640954494, -0.1395017207, 0.6945123672, -0.6043419242, 0.1185683608, 0.3283699453, 0.4119750857, 0.0276843458, -0.6325332522, 0.2442953438, 0.2539449632, -0.3505017161, -0.7612687349, 0.4912361205, -1.0135120153, -0.3626061678, 1.3670717478, -0.172727406, -0.5250294209, -0.0831689164, -0.4196858704, 0.2817727327, -0.2074539363, 0.6420115232, 0.8660341501, -0.2812371254, -0.3927074373, -0.0430398695, 0.3160786927, 0.3682066202, -0.6668623686, 0.1480861902, 0.1450948864, -0.0917068869, -0.0784559622, 0.903919816, -0.0542116724, 0.3728672862, 0.171644628, -0.4028440118, -0.0724047795, -0.5464079976, -0.1565247327, -0.0466203801, 0.3432483971, -0.1357661337 ]
http://arxiv.org/abs/2402.10196v1
http://arxiv.org/pdf/2402.10196v1
A Trembling House of Cards? Mapping Adversarial Attacks against Language Agents
2024-02-15T18:51:32
2024-02-15T18:51:32
Lingbo Mo, Zeyi Liao, Boyuan Zheng, Yu Su, Chaowei Xiao, Huan Sun
cs.CL
cs.CL, cs.AI
Language agents powered by large language models (LLMs) have seen exploding development. Their capability of using language as a vehicle for thought and communication lends an incredible level of flexibility and versatility. People have quickly capitalized on this capability to connect LLMs to a wide range of external components and environments: databases, tools, the Internet, robotic embodiment, etc. Many believe an unprecedentedly powerful automation technology is emerging. However, new automation technologies come with new safety risks, especially for intricate systems like language agents. There is a surprisingly large gap between the speed and scale of their development and deployment and our understanding of their safety risks. Are we building a house of cards? In this position paper, we present the first systematic effort in mapping adversarial attacks against language agents. We first present a unified conceptual framework for agents with three major components: Perception, Brain, and Action. Under this framework, we present a comprehensive discussion and propose 12 potential attack scenarios against different components of an agent, covering different attack strategies (e.g., input manipulation, adversarial demonstrations, jailbreaking, backdoors). We also draw connections to successful attack strategies previously applied to LLMs. We emphasize the urgency to gain a thorough understanding of language agent risks before their widespread deployment.
[ -0.5888010263, -0.9626920223, 0.3987827301, -0.0857808217, 0.1751315743, 0.3640888631, -0.1192437336, -0.2695559561, 0.0866031125, 0.8532451987, -0.197324127, -0.4474168718, -1.0245860815, -0.3926701248, -0.5430940986, 0.9320203662, 0.1371857226, -0.2143328488, 0.1195517778, 0.1137719452, -0.160365954, -0.5535376072, -0.7123572826, -0.4473784864, 0.5044109821, 0.0253499784, 1.5696237087, 0.7986630201, 0.5011423826, 0.3993937373, 0.0925734267, -0.4274435937, -0.3834172189, 0.2264652848, -0.0247605778, -0.5849403143, -0.753305912, 0.1274371743, 0.412550807, 0.7065514922, -0.1661338508, -0.0472484306, -0.0443810597, 0.6555833817, -0.3873119354, 0.1192984954, -0.8172773719, 0.0780597925, -0.2820636928, -0.3556611538, -0.5070702434, -0.1226122603, -0.1143183336, -0.367641896, -0.0330236442, 0.1177887395, 0.7461767197, 0.5256148577, -0.4519247413, -0.280827105, -0.6393716931, 0.2814011574, -0.3562254608, 0.0059313797, 0.4545581937, 0.4234544039, -0.8304644823, -0.466003567, -0.5579571724, -0.4455861151, 0.0550980382, 0.0378247686, -0.4970181584, 0.1847264767, 0.3429429829, 0.0965701491, -0.5493437052, 0.0611416548, -0.0695286989, -0.156695962, 0.8057280779, 0.2768465281, 0.7638597488, 0.3894133568, -0.4556870162, -0.5388239026, -0.7222258449, -0.2270017862, 0.9281638861, 0.4056723416, -0.1204919666, 0.3797566891, 0.3555423021, 0.5590654612, -0.002049498, -0.2882196009, -0.3212183714, 0.0896038637, -0.0985706449, 0.1706884056, 0.8049329519, 0.2257174402, 0.3920530379, -0.3863068521, -0.2195838094, 0.3608206213, 0.7943124771, -0.2183693647, -0.2295460552, 0.3525041938, -0.2260076404, -0.6528910398, -0.0365918986, -1.0952275991, -1.0556128025, 0.1687682867, 0.3145748675, -0.1747891307, -0.3959595859, -0.1520022303, -0.1390291154, 0.6106722951, -0.0963862985, -0.8943821788, 0.8167867064, 0.795525372, 0.2525283098, -0.0227306224, -0.6399412751, -0.3395696282, 0.0718636215, -0.5407876968, 0.4865511656, -0.2377773821, -0.6825174689, 0.1727371961, -0.3240190744, 0.0886925906, -0.3303993642, 0.2190314084, -0.6106343269, -0.233825624, 0.1612348258, -0.1043856442, 0.0875784308, 0.6643163562, -0.882229805, 0.6701260805, 0.0030733172, -0.5557780266, -0.0802517608, -0.4733831584, -0.7302833796, -0.1236980855, -0.2895402014, -0.1808155924, -0.1741273701, -0.0387337469, 0.4309933484, -0.3121793568, 0.1648288369, -0.297010839, -0.1973155439, 0.5209054351, -0.627879858, 0.9935419559, 0.3662714064, -0.5259179473, 0.1380232424, -0.4877077341, -0.0858039185, 0.2260277271, -0.1923468411, -0.0443097055, 0.1892062724, -0.3159017563, 0.1367484778, 0.230876565, -0.0730799288, 0.088575229, -0.366337955, 0.0654452816, 0.703604877, -0.1975766718, 0.6830950975, -0.3726135194, 0.8510614634, -0.1307942867, 0.3694759309, -0.1096301302, -0.3850687146, -0.5991347432, -0.1338791549, 0.0687020794, 0.7277465463, -0.704921484, 0.6781216264, -0.2473092228, -0.7811387777, -0.4338117838, -0.0345448516, 0.299549818, -0.1170621589, 0.063003853, -0.0186014511, -0.1982074678, -0.3799133003, -0.34499228, -0.4935070574, 0.1839974374, -0.163183108, 0.3345747292, -0.2846471369, 0.6844475269, -0.3999150991, -0.2886416018, -0.4359323084, -0.037192218, -0.2471673638, 0.3239170611, 0.5290583968, -0.6667318344, -0.5337350965, 0.192956835, -0.7139620781, 0.3060750067, -0.2825312614, -0.1194247082, 0.1550723016, 0.7053281665, -0.549526453, 0.5165227056, 0.5571997762, -0.3187355697, 0.045207385, -0.2013496161, -0.3478815854, -1.0930123329, -0.1356353462, -0.2163097262, 0.1393658221, -1.0492838621, 0.4012891054, -0.3563753963, -0.3460238576, -0.3833377063, 0.8091503978, -0.5306140184, 0.1064151302, -0.3995307982, 0.3403039575, -0.3192581832, 0.4860441983, -0.292956233, 0.2511425316, 0.8646716475, -0.4423411787, 0.5392591357, -0.1879201382, 0.1187129691, 0.4850064814, -0.305141449, 0.2316134274, -0.0688860938, 0.166255191, -1.0564659834, -0.060286276, 0.6321851611, -0.6055048108, 0.6934596896, 0.2002673, -0.4123360813, -0.2396196425, -0.4254311323, -0.0691375956, 0.6270981431, -0.4182190001, 1.0574872494, 0.8108632565, -0.0001588557, -0.871317625, -0.5558097959, 0.3491207361, -0.263325274, -0.3263913691, 0.05608413, 0.1788410395, -0.8137899041, -0.0596147589, 0.07968501, -0.0277602877, 0.7226404548, 0.6728157997, -0.0766373873, 0.1240444854, -0.1406321675, -0.3839994669, -0.3075600266, 0.4603478611, -0.1042345762, 0.424239248, -0.319318831, -0.4766176045, -0.086046055, 0.2856817245, 0.8705056906, -0.0167366173, 0.6963325739, 0.4733773768, -0.469665736, -0.2916575074, -0.4310971797, -0.1098685637, -0.4741181433, 0.4225273132, -0.315043509, -0.2995304763, 0.6526027322, -0.1097385883, 0.1383121163, 0.2749997675, 0.5116753578, 0.0489018969, 0.9205668569, 0.7505229115, -0.4647864699, 0.3367887735, -0.1926650405, 0.4594056904, -0.3438313007, -0.1957211047, -0.6301503778, -0.3463674486, -0.729354918, -0.2575551271, 0.1467231065, -0.3457517624, -0.0340904333, 0.2140163779, -0.1834687144, 0.3997356296, 0.4953941405, -0.2775818408, 0.1103037447, -0.0176579785, 0.0430941507, 0.3310210109, -0.7654307485, -0.7840598822, 1.3114109039, 0.7053235769, 1.0557368994, 0.1753152609, 0.7085232139, 0.3792598844, 0.619974494, -0.7488452196, 0.754001081, 0.0930283293, -0.7271107435, -0.5962307453, 0.0353290848, -1.2728356123, 0.342145592, -0.2423850745, -0.3466014862, -0.0783846229, 0.0018567102, -0.2789458036, 0.5374109745, -0.5330171585, 0.9008598924, -0.6335366964, -0.1270706207, -0.0185103063, -0.9462210536, 0.2152600735, -0.0394891202, 0.3954523504, -0.0295792241, -0.0274767671, 0.432439357, -0.2780407667, 1.1229330301, -0.1136792377, -0.4022494853, 0.4845413864, 0.1066945493, 0.521682024, -0.370344609, -0.1010585651, 0.0974201187, -0.0703964606, -0.5334310532, -0.6203744411, 0.6439786553, -0.9548677802, -0.6516797543, -0.8259572983, -0.4026605487, -0.0791430548, -0.0319874212, -0.0378971919, 0.1144720316, -0.7205126882, -0.2823824286, 0.5402040482, 0.0630496815, 0.5124554038, 0.5111711025, -0.0291175805, -0.3919022083, 1.0742645264, 0.0120698586, 0.2857606411, 0.2622296512, 0.0411811285, -0.1603640318, -0.5755438805, -0.1556582451, 0.0752094015, -0.7627538443, -0.0178736839, -0.3050455749, -0.1633839309, -0.4832614362, -0.2404547483, -0.2343573123, 0.1461735368, -0.0178005248, -0.0622375682, 0.2453456819, 0.8127233386, 0.0485941544, 0.6409323812, -0.4467936456, 0.3414628506, 0.4548551142, 0.1743161827, 0.012092608, -0.1892784089, -0.1869192421, 0.0533149987, -0.4749499261, -1.1018511057, 0.3859100342, -0.2157434672, 0.891131103, 0.4884640276, 0.2899003029, 0.3057053685, -0.4523842335, 0.7307209373, 0.064919129, -0.6569868922, 0.3246878386, -0.2377642542, 0.0010355395, 0.4007046819, 0.3491485715, -0.3770697415, -0.6572200656, -1.0920606852, -0.7901039124, 0.4107428193, -0.047153756, 0.2681544125, -0.1972697675, 0.1269407123, -0.0703418255, 0.2597664297, -0.7588002086, -0.3996167183, -0.1887025833, -0.0941184759, -0.1868159175, 0.0540255904, -0.5068309307, 0.2464676946, 0.6235147715, -0.1268478334, 0.0377836302, -0.1652769297, -0.1600427628, -0.1833631098, 0.3482208848, 0.5192013383, 0.3213646412, 0.2166254669, 0.4824925661, 0.0751828551, -0.499199301, 0.2530434132, 0.1220994666, 0.0816801861, -0.3482398689, 0.4976463318, 0.6427049041, -0.0037247846, -0.7487633824, 0.5317531824, -0.0301120616, -0.2087054402, -0.6017445326, 0.1122964844, -0.1287470609, 0.3017341197, 0.0127537316, 0.0665420517, -0.1923821568, -0.9387165904, 0.0772962123, 0.7609840035, -0.5742157102, -0.2896401584, 0.4551265836, 0.3136944473, -0.6757522821, 0.2780304551, -0.2780942023, -0.6584275961, 0.7332117558, 0.2580386996, 1.199737072, -0.4221080244, 0.1097362116, -0.3349153101, 0.9055369496, -0.1173945814, 0.0864028558, 0.0516618229, -0.7622721195, 0.1930443645, -0.2512750328, -0.457724154, 0.1273818761, -0.5292803049, 0.0560782105, -0.7500645518, -0.3769308329, -0.4284140468, 0.1208436266, -0.3753926158, 0.0095560383, 0.4970826805, 0.7653059959, -0.965521872, 0.7957955599, 0.7911320329, -0.1724674851, -0.5019160509, 0.4290352464, 0.0606457852, -0.5926126838, 0.4225363135, -0.2587380707, -0.4264517725, 0.0002720718, -0.4509074986, -0.5933924913, 0.9244601727, 0.4368578196, -0.0426187851, 0.1446606815, 0.2622568309, 0.8033980131, -0.309330523, 0.0565751307, 0.8811460733, 0.6244151592, -0.1531991065, -0.5870975256, 0.1338579953, -0.2940919101, -0.1310905963, 0.3402068019, -0.5084566474, 0.5318670869, -0.2388922572, -0.2431730479, 0.0984876752, 0.5396999717, 0.0331509076, 0.3899793923, 0.3711508214, 0.5499100685, 0.6122249961, -0.3057680428, 1.151473403, -0.5612882972, -0.2264067531, 0.9359270334, -0.6150909662, 0.9201089144, 0.5299348235, -0.2175421864, 0.1089544594, 0.336573422, 0.1068011299, 0.188584432, 0.7894461751, -0.1139360666, -0.0512166433, 0.1193362102, -0.3456087708, 0.3759476542, 0.6625452042, -0.1477404088, -0.2755376101, 0.0879907236, 0.4059622884, 0.5133650303, -0.014450863, 0.8621528745, 0.0203518178, -0.6954318285, 0.434500128, -0.0942176357, 0.3344062865, -0.8448017836, 0.063174285, -0.0526839569, 0.1916749179, 0.1267098635, -0.6753277183, 0.1564911455, -0.1633235663, 0.1738766581, -0.3470833898, 0.5090208054, -0.4265108407, -0.200791955, 0.6398639083, 0.3083751202, 0.2687477469, -0.0651747286, -0.6754114628, 0.2994615734, -0.4275598824, -0.3039445877, 0.611715734, 0.3647971749, 0.0083804484, 0.8135766983, 0.3469086885, 0.3136290908, 0.2456097752, -0.1428211629, 0.729929328, -0.5665121078, -0.4453558326, -0.9676622748, 0.3570235074, -0.0620100573, -0.0503753871, 0.7048006058, 0.060679689, 0.6019030809, 0.0364220664, 0.8128553033, 0.1421028525, -0.0598694123, -0.322365731, 1.1212863922, -0.3160881996, 0.4023777544, -0.1999465972, -0.6468776464, -0.4510878623, 0.3648239672, -0.1128708869, -0.1948001534, 0.748591125, 0.917925179, 0.5334533453, -0.1818513721, 0.6092012525, 0.2887160778, 0.5092706084, 0.3093875349, 0.9432904124, -0.6401461959, 0.9102731943, -0.1546753794, -0.1955796331, -0.235312596, -0.7156141996, -1.1716502905, -0.44368276, -0.4668889642, -0.4291671216, 0.2754450142, 0.6047789454, 0.3597936928, -0.4717742801, -0.5912696719, 0.1768361479, 0.4371479154, -0.3690001965, -0.1225137711, 0.2235546857, -0.0781010464, -0.6196097136, 0.38225317, 0.3018201888, 0.3015020192, -0.7022443414, -0.3195256889, -0.130811289, 0.2280515134, 0.2390472442, 0.6304134727, -1.0703784227, -0.0715317652, -0.2400960326, -0.3830461204, -0.303429842, 0.5588347316, -0.6120064855, 0.4446404576, 0.3462645411, 0.7583879828, -0.3923213482, -0.1544636488, 0.6016778946, -0.6450158954, 0.3096845746, 0.1698887646, 0.1728181392, 0.1189950258, -0.4985614121, 0.3707862198, -0.0627070367, -0.2736110091, -0.8526828289, 0.3408851326, -0.8864170909, -0.3094504774, 1.016997695, 0.120604977, -0.4913323522, -0.328948617, -0.2834763229, 0.1160145923, -0.2507652342, 0.8983798027, 0.7950537801, 0.3664517999, 0.3079375923, -0.450448215, 0.642824471, 0.0993043929, -0.7615043521, 0.1763965786, 0.0605642647, -0.2240973264, 0.5434058905, 0.6606806517, -0.1724365205, 0.2063809484, 0.4930461347, 0.1892872453, 0.0467463844, -0.6828144789, -0.5951414108, 0.4649985135, 0.3322345316, -0.2194478661 ]
http://arxiv.org/abs/2402.10193v2
http://arxiv.org/pdf/2402.10193v2
BitDelta: Your Fine-Tune May Only Be Worth One Bit
2024-02-15T18:50:06
2024-02-28T03:42:10
James Liu, Guangxuan Xiao, Kai Li, Jason D. Lee, Song Han, Tri Dao, Tianle Cai
cs.LG
cs.LG, cs.CL
Large Language Models (LLMs) are typically trained in two phases: pre-training on large internet-scale datasets, and fine-tuning for downstream tasks. Given the higher computational demand of pre-training, it's intuitive to assume that fine-tuning adds less new information to the model, and is thus more compressible. We explore this assumption by decomposing the weights of fine-tuned models into their pre-trained components and an additional delta. We introduce a simple method, BitDelta, which successfully quantizes this delta down to 1 bit without compromising performance. This interesting finding not only highlights the potential redundancy of information added during fine-tuning, but also has significant implications for the multi-tenant serving and multi-tenant storage of fine-tuned models. By enabling the use of a single high-precision base model accompanied by multiple 1-bit deltas, BitDelta dramatically reduces GPU memory requirements by more than 10x, which can also be translated to enhanced generation latency in multi-tenant settings. We validate BitDelta through experiments across Llama-2 and Mistral model families, and on models up to 70B parameters, showcasing minimal performance degradation over all tested settings.
[ -0.6140940785, -0.8284575343, 0.3272159398, 0.1751895547, -0.5431001782, -0.1632089615, -0.4015001953, -0.4103454649, 0.1803043634, 0.6671373844, -0.4812618792, -0.1709429026, -0.4316841364, -0.2360737473, -0.3332155943, 0.7143979073, 0.3500125408, 0.0155095952, -0.019732967, -0.0226261858, -0.5210277438, -0.3041496277, -0.7341191769, -0.3226759434, 0.4751607478, 0.4727247357, 0.8271948099, 0.8651673794, 0.5546078086, 0.2340779901, -0.1240341142, 0.3338571191, -0.744897306, 0.0719550923, 0.0743117034, -0.6016511917, -0.5585386157, -0.2353818566, 0.634709537, 0.6998439431, -0.1217835471, 0.4099538922, 0.0266477205, 0.9766824245, -0.8754007816, 0.1432083547, -0.7050023675, -0.1752056926, -0.0423496254, -0.4291655123, -0.2512448132, -0.3159786761, -0.1984250098, -0.4571496248, 0.4474112988, -0.0922817215, 0.9890881181, 0.6878459454, -0.2335709333, 0.2576521039, -0.8285160661, 0.4663774073, -0.6892880797, 0.5327088833, 0.5887026787, 0.2021165341, -0.007746825, -0.4509209394, -0.5213668346, 0.0435245596, 0.1809634119, -0.384783864, -0.2558011711, 0.2300219089, 0.112604104, 0.5529929996, -0.2627105713, 0.1887297183, -0.39506495, -0.1444781274, 0.4468470812, 0.3358376622, -0.2037946284, 0.1619371921, -0.1015745625, -0.1089944914, -1.1709405184, 0.0331832916, 0.4483989179, 0.6921739578, -0.0405148268, 0.4227418005, -0.1891484112, 0.5447571278, 0.33953318, 0.1256653666, -0.2223581374, -0.5313354731, -0.2570104003, 0.1547771543, 0.5614626408, 0.2675444782, 0.3644683361, -0.2684905827, -0.2248463333, 0.1318499595, 0.4438383579, -1.4063037634, -0.5220063329, 0.2356390655, -0.3920467198, -0.3040028512, -0.2166862488, -0.2033843547, -0.4530306756, -0.408525914, 0.518961072, -0.2834725082, -0.3212026358, 0.3783429861, 0.1498352438, -0.0021669944, 0.3738060296, -1.0850995779, 0.4279941022, 1.0812145472, 0.9252309203, 0.1137226149, -0.2692196369, -0.5033012033, -0.2912096977, -0.7837401628, 0.6297301054, -0.4603257179, -0.2304419726, -0.193888694, -0.133139804, 0.373773247, -0.7534163594, -0.0343612656, -0.6904864311, -0.5072216392, -0.5279868245, -0.5382468104, -0.1973349154, 0.0358130522, -1.0490820408, 0.8391147256, 0.3874343634, -0.6550364494, 0.5148307085, -0.3650437891, -0.44409132, 0.1195615456, -0.0479284599, -0.4995218217, 0.7293611765, 0.0081623606, 0.6595199704, -0.4554184377, 0.2270587087, -0.4178331196, -0.6867078543, 0.0602272004, -0.4150547981, 0.5522267222, 0.3233050704, -0.1294617802, -0.1150316745, -0.9335581064, -0.0163221098, -0.1931132227, -0.7899242043, -0.2606466711, 0.0065986444, -0.0034440167, 0.0951981246, 0.4434286356, -0.5561666489, 0.3608312905, -0.2894006371, 0.4963927865, 0.7364590168, -0.0791543424, 0.288513571, -0.2922331989, 0.483268708, 0.214799881, -0.0654022098, -0.0368266776, -0.0135269063, -1.0290712118, -0.4691583514, 0.541787982, 0.0502607636, -0.6583474874, 0.3229763508, -0.5372699499, -0.4854910374, -1.1685883999, 0.2695642114, 0.2057560682, 0.0140413158, 0.2222732753, -0.2292674929, -0.5710504651, -0.9104326367, 0.1077153236, 0.0923796147, 0.1783819348, 0.1739251018, 0.3451086581, -0.1152157485, 0.890684247, -0.375957042, 0.0866598114, -0.1607875377, -0.0070840786, 0.0478184, 0.5175228715, 0.256649822, -0.608346045, -0.3739812374, 0.1435001642, -0.2611649334, 0.0921784192, -0.1290064156, 0.0370721593, 0.1678659022, 0.3517404497, -0.5980504751, 0.2121046185, 0.7583053112, -0.4300114214, 0.5915008783, -0.4711059332, 0.1333680749, -0.9859626889, -0.0747241452, -0.235972777, -0.4897352159, -0.4501115382, 0.2298654616, 0.1754283458, -0.0069274395, -0.18944408, 0.4076312482, -0.2468622774, 0.0210395716, -0.5689181089, -0.4788017273, -0.1561753154, 0.5463792086, -0.1750839204, 1.3046900034, 0.4507758319, -0.9995673299, 0.150754258, 0.0556232184, -0.6543092132, 0.26063627, -0.6406192183, 0.1670897007, -0.0784200653, -0.1833524555, -0.8683496714, -0.0064489311, -0.372846067, -0.2167417109, 0.4017242789, -0.3163320422, -0.9144641757, 0.0643946826, -0.3648561835, 0.4905236661, 0.2880436182, -0.6559267044, 0.3588374555, 0.3354840577, -0.2259783745, -0.3331722915, -0.6135451794, -0.063532263, -0.0828948915, -0.4010407925, 0.1465713978, -0.0505632311, 0.0352741592, 0.0713738874, -0.1712720394, -0.3171759248, 0.5108651519, 0.4060897529, 0.1443900764, -0.3536079526, 0.3403701484, 0.1255151182, -0.2585645914, -0.1136498898, -0.4236892164, 0.8419690728, -0.3895516694, -0.1475208998, -0.2589942515, 0.2700408101, 0.5432422757, -0.2276113331, 0.8851257563, 0.613085568, -0.3738597333, -0.0356020331, -0.5354186296, -0.211245209, -0.5167676806, 0.5007140636, -0.5255349278, -1.0456261635, 0.4887431562, -0.1162020862, 0.167858392, 0.2845054567, 0.6422898769, -0.1431144476, 0.8029757738, 1.0979113579, -0.1929081827, 0.6873817444, -0.327685833, 0.2382933348, -0.6583117843, 0.0979684293, -0.5687202811, -0.3124110997, -0.9417048693, -0.3294970393, 0.2491696179, 0.2983282208, -0.6249678731, 0.4643829763, -0.3510032892, 0.7835555673, 0.5495811701, 0.3455691636, 0.363941282, 0.0838078037, 0.3106350899, 0.1460503191, -0.7664801478, -0.3828119338, 1.1292799711, 0.3606424928, 0.8949177861, 0.2072177976, 0.5562081933, 0.1282486171, -0.062151935, -0.8103998303, 0.4423688352, -0.3564871848, -0.7646507025, -0.4154056609, -0.6340448856, -0.9274587035, 0.319791168, -0.3373974562, -0.6093094349, 0.1928874105, 0.4358658791, -0.6982194781, 0.440777421, -0.5813378096, 0.706600368, 0.0945594087, -0.4481575489, -0.6456066966, -0.3783734441, 0.1797574311, -0.3578486443, -0.1428890228, -0.2131147534, 0.0577371009, 0.5416411757, -0.6334812641, 0.8178763986, -0.1241218224, -0.2098181844, 0.0786720738, 0.5290207267, 0.5434122086, -0.1812762916, 0.086525701, 0.2876520455, 0.372933656, -0.5752235651, -0.4264292121, 0.684048593, -0.8383834362, -0.2194088399, 0.2545669079, -0.4863909781, -0.1145906746, 0.1893055737, 0.3370597363, 0.5012803674, 0.1084145308, 0.3787889481, 0.8580898643, 0.0838094652, 0.2123072147, 0.3916364014, 0.00411051, -0.2482503951, 1.0201597214, 0.1706201136, 0.3048270941, 0.4922904968, 0.2983954847, -0.0979191959, -0.6156851053, -0.1068320349, 0.143757537, -0.5843207836, -0.2488048822, -0.428501457, 0.0487829298, -0.2359569073, -0.0904383957, -1.0386008024, -0.5832882524, -0.2246771753, -0.0925526246, 0.3833962083, 0.6273609996, -0.1893715262, 0.7490387559, -0.7428731918, 0.1653384268, 0.2984159887, 0.7179910541, 0.1457857043, -0.5013369918, -0.7390018106, -0.0033815079, -0.1052093804, -0.2974995077, 0.2187382579, 0.1345955729, -0.0170633607, 0.5752832294, -0.1862080246, 0.9805060625, -0.5687844753, 0.5906939507, 0.0492269658, -0.8751391172, 0.1813770533, -0.0955018848, 0.340736568, 0.9630857706, 0.1423886567, -0.2709061801, -0.0606983006, -0.5898305774, -0.8265288472, 0.4650105834, -0.1688462198, 0.3575439453, 0.1780237854, 0.3494296372, 0.3243992925, 0.5150743127, -0.4599731266, -0.4210481048, -0.0028420009, -0.036545191, -0.2616368234, -0.5235554576, 0.0701642483, -0.4143698812, 0.76523453, -0.0580795184, 0.3395060897, -0.3581420481, -0.1407322586, -0.2448145002, 0.2092531025, 0.5830105543, 0.5812559128, -0.40089342, 0.3441092372, 0.0062288246, -0.5057892799, 0.1574735194, -0.0866933465, -0.0425732993, -0.0056653847, 0.4161255062, 1.0698724985, 0.280821234, -0.3186934888, 0.3689656854, 0.013774056, -0.056319382, 0.168887794, 0.1161270067, 0.1420300603, 0.3546987176, -0.0405913219, -0.0774139762, 0.0332295187, -0.3701371551, 0.0985301733, 0.445071429, -0.1981123388, -0.4530262947, 0.386739105, 0.1146317348, -0.0939112231, 0.649963975, -0.1798401028, -0.3368051052, 0.3361420035, 0.3388929069, 0.9606456161, 0.0636668578, -0.1663163155, 0.2517006397, 0.4188020229, -0.127244547, 0.3467439413, -0.3195277154, -0.7049795389, -0.6085292697, -0.7577848434, -0.2027985007, 0.184070006, -0.6128297448, 0.0512464195, -0.5384793878, -0.317514658, 0.1263694912, 0.4126231968, -0.9123873115, -0.0584210195, 0.1458327621, 1.052033782, -0.8344505429, 0.8408813477, 0.4927495122, -0.2392451018, -0.9274881482, -0.269500792, -0.4753521681, -0.7352183461, 0.5186706185, -0.0229653772, -0.2832548022, 0.1016873196, -0.689691484, -0.6849247217, 0.675916791, 0.6574454904, -0.8901000619, -0.0430688411, 0.1379627436, 0.2913101912, -0.030266773, 0.0034852719, 0.8337621689, 0.3684067726, -0.0641652644, -0.9296200871, 0.0238090362, 0.0411553681, 0.0534720346, 0.5755042434, -0.5763756037, 1.2082566023, -0.3615014851, -0.3361999393, -0.1356766373, 0.4064901769, -0.1277030706, -0.1997936964, 0.4184251726, 0.6037264466, 0.8821210265, -0.0401355438, 1.0208927393, -0.5625507236, 0.5543717742, 1.2022287846, 0.1587596685, 0.9475372434, 0.6091734171, -0.2322467715, 0.0144729512, 0.7372191548, 0.2190598994, 0.8114753366, 0.1427270472, -0.2797811329, -0.7273522019, 0.0159997027, -0.1733368635, 0.4157500267, 0.1592503339, 0.0257842541, -0.305672437, -0.18034935, 0.047907602, -0.2549243271, -0.4962665439, 0.8954232335, 0.0570179038, -0.3743313253, 0.9324017763, -0.0616875775, 0.5903585553, -0.5088288188, 0.0149002532, -0.3429249525, 0.3158158958, -0.1840473115, -0.4468465447, -0.0210371651, -0.0508783422, -0.3116886318, 0.0912344679, 0.3862487674, -0.5628268719, -0.4801513255, -0.2084914446, 0.3566944301, 0.1970586032, -0.4961876869, -0.2237965912, 0.1566271037, -0.0986798629, -0.2190402001, 0.2527167499, 0.6281375885, 0.1223172769, 0.8848859072, 0.6602605581, 0.543535769, 0.1009428948, -0.0898643658, 1.0062010288, -0.7506188154, -0.626093626, -1.0326957703, 0.1804541349, 0.3890545666, -0.2572644353, 0.320540458, 0.7429166436, 0.8557456136, 0.0239486508, 0.7012295127, 0.3113555014, 0.08873225, -0.7410632968, 0.7126363516, -0.5882590413, 0.2426322699, 0.1267052442, -0.7183738351, 0.0060878536, 0.6127291918, 0.0518017188, -0.0866455436, 0.4756503105, 0.8722443581, -0.1320786923, -0.03799868, 0.5753284097, 0.1246880442, 0.3273762167, 0.5918971896, 0.701726675, -0.4034574032, 0.2191117853, -0.4307565093, 0.073531352, -0.4073038399, -0.8574098945, -0.7834857702, -0.5372357368, -0.3505798876, -0.2594452202, 0.0395372584, 1.110278964, 1.0592997074, -0.7747986317, -0.0769082308, -0.0163024068, -0.0990176648, -0.2234489918, -0.0874460414, 0.3384346068, -0.3544760942, -0.4186377525, 0.1926289499, 0.1502534896, 0.2614928186, -0.4262585342, -0.0150848627, 0.2199452966, 0.2288274616, 0.5994660854, 0.0062712715, -0.4503242373, -0.2392253429, -0.3676534295, -0.2840458751, 0.1835754216, 0.8972284794, -0.7421292067, 0.4754940569, 0.3078921437, 1.0372563601, 0.8443741798, -0.0026177173, 0.3742887378, -0.8148030043, 0.1419484466, 0.0523280688, 0.2948016822, 0.1897155046, -0.4811915159, 0.3071807027, -0.2754265964, -0.3645540774, -0.7800694704, 0.1275518537, -0.9039433599, -0.4415801466, 0.9655827284, 0.0671771243, -0.1092130989, 0.2225738019, -0.0381797887, 0.1962077171, -0.3986025155, 0.8119935989, 0.8398849964, 0.1727500558, -0.1414189041, -0.754306376, 0.527485013, 0.3598255515, -0.6710066199, 0.5796743035, 0.4801059365, 0.446526736, -0.045209188, 0.7284280658, 0.1738931239, 0.277397275, 0.3034001589, 0.1511196196, -0.5193821192, -0.6726247072, -0.6945239305, 0.0736291856, 0.4426533878, -0.4840157032 ]
http://arxiv.org/abs/2402.10189v2
http://arxiv.org/pdf/2402.10189v2
Uncertainty Quantification for In-Context Learning of Large Language Models
2024-02-15T18:46:24
2024-03-28T19:41:34
Chen Ling, Xujiang Zhao, Xuchao Zhang, Wei Cheng, Yanchi Liu, Yiyou Sun, Mika Oishi, Takao Osaki, Katsushi Matsuda, Jie Ji, Guangji Bai, Liang Zhao, Haifeng Chen
cs.CL
cs.CL, cs.LG
In-context learning has emerged as a groundbreaking ability of Large Language Models (LLMs) and revolutionized various fields by providing a few task-relevant demonstrations in the prompt. However, trustworthy issues with LLM's response, such as hallucination, have also been actively discussed. Existing works have been devoted to quantifying the uncertainty in LLM's response, but they often overlook the complex nature of LLMs and the uniqueness of in-context learning. In this work, we delve into the predictive uncertainty of LLMs associated with in-context learning, highlighting that such uncertainties may stem from both the provided demonstrations (aleatoric uncertainty) and ambiguities tied to the model's configurations (epistemic uncertainty). We propose a novel formulation and corresponding estimation method to quantify both types of uncertainties. The proposed method offers an unsupervised way to understand the prediction of in-context learning in a plug-and-play fashion. Extensive experiments are conducted to demonstrate the effectiveness of the decomposition. The code and data are available at: https://github.com/lingchen0331/UQ_ICL.
[ -0.3063259423, -1.2042394876, 0.8342506289, 0.1142279133, -0.1144754812, 0.1757539362, -0.493683219, -0.2089853585, -0.0423068777, 0.1575125605, -0.4772761762, -0.3621981442, -0.5131636262, -0.2152796984, -0.3420898318, 0.4679102302, -0.2077460438, 0.0695315897, -0.4826939106, 0.0086887665, -0.2710479498, -0.5157914758, -0.2041641176, -0.4226685464, 0.1146230623, 0.3872179687, 0.3818069696, 0.1893216074, 0.0593065172, 0.2287541479, -0.3076873422, 0.0559147969, -0.1966410726, 0.3155327439, 0.0223363563, -0.4577323496, -0.0674014762, -0.3072929084, 0.7620609999, 1.0496098995, -0.2052122205, 0.0916476399, 0.2541179359, 0.2855353355, -0.7828333974, 0.1288684905, -0.7826939225, 0.2156940997, 0.1460952163, -0.0556587763, -0.5107191801, -0.026594324, 0.3562936783, -0.632190764, -0.1298044175, 0.1533768028, 0.5591145754, 0.5689031482, -0.4825871587, -0.2428668439, -0.9102030993, 0.8836288452, -0.567528367, 0.5473715663, 0.4969530404, 0.3830448389, -0.3649613857, -0.6901406646, -0.5606297851, 0.0211133845, -0.0197648592, 0.0797148347, -0.0633168891, -0.1702350974, 0.0783344507, 0.2990732491, -0.3767579794, 0.2633278668, 0.0050055841, -0.3211345077, 0.1916565597, -0.0061769951, 0.0377924927, 0.0067563504, -0.6838424802, 0.1069160849, -0.7266483307, 0.0873755813, 0.231296584, 0.1405093372, -0.2939359844, 0.4422709048, -0.0999418423, 0.5334994197, -0.0062256223, -0.0809524059, 0.2553894818, 0.1224420592, -0.4575340152, 0.0173485447, 0.701862812, -0.1231522262, -0.0274960957, -0.2871293724, -0.4295941591, -0.1149926186, 0.0634500533, -0.6183817983, 0.0021990086, 0.497272253, -0.0414240323, -0.1938746125, 0.1546414346, -0.6273824573, -0.3745504916, -0.2700703144, 0.7205508351, -0.3743164241, -0.1493583769, 0.1169442832, 0.3033575416, -0.0051706596, 0.459297359, -0.526700139, 0.1703230888, 0.5807685852, 0.5929654241, -0.1775598526, -0.4420537353, -0.5517353415, 0.211671412, -0.2941266, 0.5469534397, -0.423646003, -0.2197585553, 0.2539820373, -0.1032666788, -0.0544207022, -0.443886131, 0.2095486671, -0.5783917308, 0.0889579207, -0.0910297707, -0.9811103344, -0.2120078951, 0.2276145667, -0.5950911641, 0.8629042506, 0.209789589, -0.8218078613, 0.3252035081, -0.2625384629, -0.1804857552, 0.131566003, -0.4519716203, -0.5214110613, 0.4623244107, 0.1442217082, 0.6061323285, -0.1250507385, 0.5039272308, -0.3354319036, -0.564019084, 0.9255976677, -0.5896294713, 0.7158131599, 0.1285416037, -0.3661488891, -0.0195968561, -0.6077789664, 0.0119429184, -0.1123937666, -0.2400734872, -0.2625365257, 0.0045027947, -0.0928997621, 0.1492280066, 0.2279748321, -0.3487341106, -0.089797847, -0.4908294082, 0.3156127334, 0.7367462516, 0.2787576616, 0.5257766843, -0.0002858068, 0.5289731622, 0.1357791424, 0.1107804105, -0.1722860634, -0.3635672629, -0.4395232499, -0.1649035811, 0.2687640488, 0.2495746613, -0.6368997693, 0.4181475937, -0.094913885, -0.2449532896, -0.1206466109, -0.0884110406, 0.5174819231, 0.358818233, 0.2444415689, -0.0128935631, -0.2726386487, -0.513130188, -0.2172695398, -0.3785291016, -0.354914993, 0.1639758945, 0.6185979843, -0.3303976059, 0.8313471079, -0.266955018, -0.0850916952, 0.0165342167, 0.2258735895, -0.1914778054, 0.3912613392, 0.1083089635, -0.7864177823, -0.4488693774, 0.0923431069, -0.6006991267, 0.1605880558, -0.2442519814, 0.1203222573, 0.3281380832, 0.6489157081, -0.5091214776, 0.5685374737, 0.5413283706, -0.1303406954, 0.5581552982, -0.2673405111, -0.0731885657, -1.067065835, -0.1891735196, -0.0292572249, -0.056795828, -0.4911487997, 0.2294443995, 0.3252931535, 0.3283798397, -0.4908422828, 0.5380607843, -0.3824637234, -0.3480849564, 0.0097087659, 0.0669603273, -0.1289214492, 0.500629425, 0.1513159722, 0.6820247173, 0.7222161889, -0.541369915, -0.039313402, 0.1191817075, -0.678082943, 0.3676611185, -0.5280913115, -0.0085973982, 0.1094695777, 0.2920112908, -0.9153066874, -0.656349659, 0.178155601, -0.5825743675, 0.2952826321, -0.0248824619, -0.5634811521, 0.1327958405, -0.0445299856, 0.5388419628, 0.274325192, -0.6659066081, 0.5992631912, 0.4122589827, 0.1562138051, -0.7331342101, -0.541465342, -0.235760659, -0.4349354804, -0.1211453155, 0.3857043684, -0.2288637012, -0.5773206949, -0.2992913723, -0.322276026, -0.179627046, 0.4438363016, 0.4728236794, 0.049729161, 0.0654844344, 0.3070735037, 0.3025021851, 0.0798831061, 0.3356640041, -0.2707139552, 0.4918103516, -0.372083813, -0.8624382615, -0.1617976576, 0.1343892366, 0.5301222801, -0.0466115661, 0.6877048016, 0.648573339, -0.6934531331, -0.5885716677, -0.3353348076, -0.2295302153, -0.4568864703, 0.3623699248, -0.1785609871, -0.9180404544, 0.8417658806, -0.1769755334, -0.2251451015, 0.0787419155, 0.7125718594, -0.1588874757, 0.740563035, 0.5234926939, 0.2255652994, 0.2914324105, -0.1572198719, 0.2174726874, -0.8071869016, -0.6118389964, -0.3835181296, 0.0105613573, -0.3588959873, -0.5103659034, 0.5486050248, 0.0478227101, -0.3736512661, -0.093705073, 0.0291987918, 0.4417522848, 0.3433444798, 0.073734723, 0.3337367773, 0.1318963915, -0.2721538544, 0.1160525978, -0.3845719397, -0.4376323521, 1.0606757402, 0.444983691, 0.7631870508, 0.3560094237, 0.5824219584, 0.0161076263, -0.0030576983, -0.9756670594, 0.2490949035, 0.4472349286, -0.5001906157, -0.5563906431, -0.4686260223, -0.706474781, 0.2981991172, -0.1327267587, -1.1228183508, 0.1682021022, 0.0115170861, -0.573235631, 0.2741723359, -0.4484543502, 0.6669303179, -0.067192778, -0.3307203054, 0.0067372615, -0.893144846, 0.1598819792, -0.5285041332, 0.3655998111, 0.2580306232, -0.0808023363, 0.3755483031, -0.2517562211, 1.0102615356, 0.0495997258, -0.3129198849, 0.2191417813, 0.3745319545, 0.6420614123, 0.3604390621, 0.0873627365, 0.0370942652, -0.0368151478, -0.2038189769, -0.6403359175, 0.6267219782, -0.7269411683, -0.3295229673, -0.3059577346, -0.6198729277, -0.5007997155, -0.2127753943, 0.6170206666, 0.4705891311, -0.2582348883, 0.1386998892, 1.118952632, -0.3825821579, 0.5468684435, 0.3338873982, -0.3952135444, -0.1118822098, 0.737490356, 0.1308564246, 0.4689601064, 0.550026238, 0.2057661116, -0.3489810824, -0.5998932719, -0.2889701724, 0.05115778, -0.8968099356, -0.014287808, -0.4592736363, -0.0582013763, -0.1233273819, -0.2556070089, -0.3787670434, -0.4040438533, -0.5280720592, -0.2540813088, 0.0821589604, 0.8600217104, 0.1823934764, 0.460893482, -0.3373419344, -0.2729451954, 0.3607716858, 0.3669449985, -0.0673391148, -0.890715301, -0.543605268, 0.1205342039, -0.0951640904, -0.8147678971, 0.5199166536, 0.2307218164, 0.6646708846, 0.6008704305, 0.3240742981, 0.5903548002, -0.2493615299, 0.9073680639, -0.0464231633, -1.1395664215, 0.320145309, -0.1998396963, 0.0719573051, 0.3936590552, 0.4199533165, -0.188817665, -0.570443809, -0.7457880974, -0.904951036, 0.3928826749, 0.0262110382, 0.0309947301, 0.1492875218, 0.3000017107, 0.2270006835, 0.319955349, -0.6207880974, -0.2103864849, 0.054306183, 0.0347338505, -0.1326741725, -0.272462815, -0.1319258809, -0.3452203572, 0.4971788228, -0.2460543513, 0.3092705011, -0.2101295441, -0.5210373998, -0.3252736628, 0.1840452701, 0.5961101651, 0.8658391237, -0.3644558191, 0.364254415, 0.2975046635, -0.2766159177, 0.0863031819, -0.2484503835, -0.0626185164, 0.0500945114, 0.5096732378, 0.78557235, 0.4579621255, -0.8194733262, 0.688117981, -0.0797912702, 0.005166884, -0.9455644488, -0.3694308996, -0.0995653197, 0.3737845719, 0.4054633975, 0.1417632103, 0.2163196504, -0.4035228491, 0.3524700105, 0.3445257545, -0.5838805437, -0.5279533267, 0.6101379395, -0.2220501006, -0.2192348093, 0.2487026453, -0.3366627693, -0.5165570378, 0.6010196805, 0.6884616017, 0.8809093237, -0.2909313738, 0.2885257006, 0.1709988564, 0.1400088072, -0.1179152876, 0.0231557637, 0.0006465185, -0.8040004373, -0.4360693693, -0.6719146371, -0.6636331677, 0.171295166, -0.9410084486, 0.0362860672, -0.1920728087, 0.0285624396, -0.3934161067, -0.1052445993, -0.5331271887, 0.0683843717, 0.258158356, 0.6271793842, -1.1228328943, 0.9205908179, 0.8025434017, -0.2002902329, -0.9463566542, 0.6213033199, 0.1161893755, -0.4538856447, 0.4321087897, 0.1310994476, -0.1937111914, -0.1605882347, -0.5418121219, -0.7948992252, 1.0872405767, 0.5511689782, -0.2297225296, 0.155063495, 0.0882882178, 0.3292761147, -0.4582586884, 0.2838881314, 0.4437196553, 0.244086355, 0.2103289515, -0.6703764796, -0.0126431929, 0.1759981513, 0.111955002, -0.0651042089, -0.3733897507, 1.0653978586, -0.1572742909, -0.3182754815, -0.0646872222, 0.7232391834, 0.2880700231, 0.2920799255, 0.3363364041, 0.3485764563, 1.0303328037, -0.0089826584, 0.922591567, -0.249290958, 0.56758672, 1.1690987349, -0.1164713129, 0.9640013576, 0.8542734981, -0.2898946106, 0.4444337189, 0.957144618, 0.558214426, 0.4318956435, 0.1864369363, -0.5017177463, -0.3879555464, 0.0383848771, -0.22086218, 0.4460963011, 0.8163688183, -0.224692896, 0.0867122263, 0.0781989172, -0.0239623059, 0.0848858729, -0.0149816442, 0.6290783882, 0.061575871, -0.6265991926, 0.5175125599, -0.1463416815, 0.475407213, -0.2774364054, 0.0323839113, -0.206044063, 0.1090896428, -0.0215200931, -0.6983540654, 0.1312208623, -0.3817004263, 0.1298539937, 0.0509706028, 0.1843537837, -0.5663087964, -0.4710761905, 0.4139687121, 0.672241509, 0.2374988794, -0.3006970584, -0.2972866893, 0.2104205936, -0.0460144728, -0.4422313273, 0.6226544976, 0.8155996799, -0.0044483477, 0.8490419984, 0.0169009753, -0.1543712169, 0.078058295, -0.0283370502, 0.7331568599, 0.0595883541, -0.2147290409, -0.8768760562, 0.5478805304, 0.2819398642, -0.3749133646, 0.7886679769, 0.3634258211, 1.1912754774, -0.2465959787, 0.7557632327, 0.1828475296, 0.2746356428, -0.6117880344, 0.6732947826, -0.6554117799, 0.6880770326, -0.3570774198, -0.8424021006, -0.4230032861, 0.766187489, -0.0768853724, -0.2097401023, 0.8270827532, 0.8152165413, -0.0651248023, 0.0343913436, 0.5694755316, 0.0980692282, -0.0531063378, 0.4205182195, 1.0459136963, -0.2396259457, 0.1211966872, -0.4702475965, -0.2072864473, -0.3047317863, -0.809864819, -0.7035135627, -1.0304329395, -0.3590146899, -0.3121587932, -0.3107554615, 1.1996055841, 0.3687422276, -0.8702144623, -0.4082139134, -0.0440958701, 0.2245314121, -0.3667083383, -0.0973182172, 0.482983768, -0.3535761833, -0.7455806136, 0.3798532188, -0.0447787344, 0.1420834213, -0.5179165006, -0.3390603364, -0.0001321752, 0.2149784863, 0.5364770293, 0.1053313166, -1.0378717184, -0.4294677079, -0.0058188788, 0.1637521535, -0.1217587069, 0.4780115783, -0.7644587755, 0.5187185407, 0.1690350771, 0.6737815738, 0.4914315641, -0.1495788395, 0.5320248604, -1.1200164557, 0.0838112235, 0.1517853141, 0.6043646336, 0.2188216597, -0.4088025391, 0.3447449803, 0.0921498835, -0.5930632949, -1.1331880093, 0.4436880648, -0.7831889987, -0.4788089991, 1.2954279184, -0.4385160208, -0.2236163169, -0.2265589684, 0.3414818048, 0.2739037275, -0.1985202432, 0.8924777508, 0.5891684294, 0.1947791129, 0.0495659448, -0.6855951548, 0.3058951497, 0.2752754986, -0.5993905067, 0.1513457894, 0.6095166206, 0.0977554396, 0.0763989836, 0.0206624474, 0.0795226023, 0.0331012756, -0.0465166606, 0.0590761527, 0.0850885436, -0.7028643489, -0.5841556787, 0.2441300154, 0.1720546335, -0.003750009 ]
http://arxiv.org/abs/2402.10184v5
http://arxiv.org/pdf/2402.10184v5
Reward Generalization in RLHF: A Topological Perspective
2024-02-15T18:39:24
2024-06-16T21:25:50
Tianyi Qiu, Fanzhi Zeng, Jiaming Ji, Dong Yan, Kaile Wang, Jiayi Zhou, Yang Han, Josef Dai, Xuehai Pan, Yaodong Yang
cs.LG
cs.LG, cs.AI, cs.CL, cs.DM
Existing alignment methods share a common topology of information flow, where reward information is collected from humans, modeled with preference learning, and used to tune language models. However, this shared topology has not been systematically characterized, nor have its alternatives been thoroughly explored, leaving the problems of low data efficiency and unreliable generalization unaddressed. As a solution, we introduce a theoretical framework for investigating reward generalization in reinforcement learning from human feedback (RLHF), focusing on the topology of information flow at both macro and micro levels. At the macro level, we portray the RLHF information flow as an autoencoding process over behavior distributions, formalizing the RLHF objective of distributional consistency between human preference and model behavior. At the micro level, we present induced Bayesian networks as a theory of reward generalization in RLHF, introducing fine-grained dataset topologies into generalization bounds. Combining analysis on both levels, we propose reward modeling from tree-structured preference information. It is shown to reduce reward uncertainty by up to $\Theta(\log n/\log\log n)$ times compared to baselines, where $n$ is the dataset size. Validation on three NLP tasks shows that our tree-based reward model achieves an average win rate of 65% against baseline methods, thus improving reward generalization for free via topology design.
[ -0.1231961474, -0.6981979012, 0.2846972942, -0.1463549286, -0.082776159, -0.2297111154, -0.2026538849, -0.2462946177, 0.5337337852, 0.3985758126, -0.7170464396, -0.4329823852, -0.7059566975, -0.2476196736, -0.0027026525, 1.180782795, 0.1667268127, -0.2854952216, -0.1027189046, -0.1548319459, -0.2036679536, -0.6990562677, -0.8228963614, -0.5772829652, 1.2110131979, 0.4736460447, 0.7483554482, 1.0069416761, 0.7360680699, 0.2539568543, 0.1199411526, -0.1047566384, -0.6100525856, 0.160128966, -0.386295706, -0.4176293314, -0.4438510835, 0.0865646973, 0.6584140658, 0.7343296409, -0.8742833734, -0.0018715858, 0.2349536419, 1.1050527096, -0.6690613627, 0.4500186443, -0.2647078335, 0.2373249233, -0.0665713027, -0.3998599052, -0.1973025203, -0.6178202033, 0.2054305524, -0.771487236, 0.1248257235, 0.1455950141, 0.739461422, 0.4243912399, -0.3286909461, -0.2302173078, -0.7205141783, 0.5281306505, -0.544827342, 0.1539953202, 0.4409542978, 0.4415720105, -0.1611795574, -0.3542295396, -0.1389960349, -0.1026878655, -0.3131870627, 0.029329842, -0.0297758393, 0.4496816099, 0.1282863319, 0.4492398202, -0.5482360721, 0.1328186244, -0.0964365378, 0.2221909314, 0.7530627251, 0.2662055492, 0.1749307066, -0.1172861084, -0.2499342412, -0.7381410003, -0.6329858899, 0.5908113122, 0.5057035089, 0.4963690639, -0.1751651764, 0.5550382733, -0.3754387498, 0.864792347, 0.117589131, 0.0160705093, -0.1105130836, -0.1442638189, -0.1858810186, -0.1763127297, 0.717564106, 0.3508821428, 0.4668273032, -0.2787206769, -0.2410930544, -0.0259725135, 0.508138001, -0.6732788682, -0.3351244032, 0.1077898592, -0.678707242, -0.6321517825, 0.2789290249, -0.634655416, -0.5424247384, -0.2441187799, 0.2613070011, -0.1330956519, -0.5283460617, 0.1271152496, -0.2387000024, 0.4420285523, 0.2239366621, -1.3420828581, 0.4360124469, 0.7694678903, 0.5467492342, -0.3640270531, -0.3626610637, -0.6852881908, 0.2834974825, -0.3697217405, 0.6664475799, -0.5060563087, -0.2961290479, 0.0631225631, 0.0725394785, -0.2478920966, -0.6809666753, 0.3319290876, -0.5993198156, 0.042467948, -0.1153116003, -0.683744967, -0.1252347827, 0.212982282, -0.7323042154, 0.6453099847, 0.1856535375, -0.9427772164, 0.535525918, -0.7888326049, -0.2769260108, -0.0887102708, -0.2341601998, -0.3614426553, 0.1250129044, -0.0737887472, 0.3424102962, -0.0689352378, 0.6991901994, -0.4496773779, -0.3676200807, 0.0748545229, -0.0230484419, 0.4281710088, 0.0497675054, -0.5136354566, 0.4644393623, -0.2963555455, -0.1564471126, 0.0891626775, -0.4726900458, -0.3823575377, 0.2226213366, -0.2941134572, 0.0194587093, -0.1202432886, -0.4573785365, 0.6569207311, -0.3579966724, 0.1223677844, 0.9910219312, -0.0017606969, 0.6044697165, -0.510266006, 0.6127285957, 0.0510987677, 0.1563197672, 0.4441307783, -0.3884804547, -0.5015605688, 0.0328896679, 0.4932387769, 0.5495536327, -0.4272244573, 0.4111098647, -0.2353374213, -0.1578871757, -0.2875732481, -0.2752765417, 0.3736872971, 0.360840708, 0.2770844102, -0.3637055457, -0.1518535465, -1.0353537798, -0.2598395348, -0.3571672738, -0.0418667421, 0.6826588511, 0.2159918845, -0.0652201101, 0.8672989607, -0.4610739052, -0.2439290434, -0.1937250048, 0.3454566002, 0.5475683212, 0.8484566808, 0.2048960477, -0.6560347676, -0.1296205521, 0.0294664688, -0.6132173538, 0.2386614382, 0.0837927312, -0.0776296109, 0.1511131227, 0.245411694, -0.2615816891, 0.641718626, 0.4723941386, -0.5960057974, 0.3744979501, -0.2152138352, 0.1808045506, -0.5930894613, 0.1598362029, -0.1975763142, -0.2683801949, -0.3483676612, 0.0466150269, -0.1570588499, 0.0919917077, 0.1130039394, 0.5366075039, -0.0976695344, -0.3190995455, -0.2798924744, -0.2401709408, -0.4114860892, 0.9390883446, 0.4377877712, 0.2680110931, 0.3467152119, -0.7809638977, 0.5286642313, -0.1174170673, -0.1741191745, 0.5990198851, -0.9582519531, -0.1928844452, -0.218715176, 0.4963277876, -0.8115437627, -0.4070310593, 0.5036126375, -0.5876687169, 0.3763883114, -0.2615011334, -0.2894889414, 0.0044231941, -0.2146328539, 0.6262777448, 0.3240988255, -0.5396803617, 0.2493767887, 0.4064913392, -0.0482135192, -0.6972040534, -0.4388813972, -0.3243760765, -0.3757672906, -0.4029816985, 0.3371619582, -0.04678436, -0.0732305795, 0.055591289, 0.0719531104, 0.0315179713, 0.2522156239, 0.3724479675, 0.0693536103, 0.0272967964, 0.3769897223, -0.1382897496, -0.2523998618, 0.1471126527, -0.6497095823, 0.2412147969, -0.1344159544, -0.3555009663, -0.3706016839, 0.4231655598, -0.0286729801, 0.0841552466, 0.7302313447, 0.5564824939, -0.2039400339, -0.0622512549, -0.2361429036, -0.6410337687, -0.3631442189, 0.1117385924, -0.2597128451, -1.1513018608, 0.1848601103, 0.0417667702, 0.132159844, 0.4388951361, 0.3604221642, -0.1829778105, 0.9945905209, 0.8762993217, -0.1656032503, 0.5633285642, -0.3789119422, -0.0697868019, -0.5537579656, -0.2285504788, -0.3506663144, -0.7157906294, -0.8717281818, -0.1781311333, 0.3391089737, 0.3448849916, -0.3953432739, 0.0954948217, -0.5695934296, 0.2736710906, 0.9053307772, 0.037442375, 0.1560979038, 0.0777317137, -0.3593792617, 0.1871564537, -1.2251982689, 0.0275031962, 0.9886780977, 0.4009342194, 0.8892250657, 0.2383327931, 0.8785614967, 0.498018384, 0.1751738042, -0.7966712713, -0.0001663711, 0.0563214198, -0.3067942262, -0.8161651492, -0.5181365013, -1.31997931, 0.0558599643, -0.2325202674, -0.8472418785, 0.5486682653, 0.4412888288, -0.3508347571, 0.4107357562, -0.3419440091, 1.022143364, 0.0561940372, -0.4843732715, -0.457007736, -0.8985944986, 0.4101242125, 0.6228467226, 0.189973399, 0.0789764076, 0.2833996117, 0.9168967605, -0.5326856971, 0.737539053, -0.3209237754, -0.0104737049, 0.0586266778, 0.1242090017, 0.7931820154, 0.1498321295, 0.1498805285, -0.2016468197, 0.0737700611, -0.5498396158, -0.8032832742, 0.3632359803, -0.8312973976, -0.4034537673, -0.4998869002, -0.5864268541, -0.2469828427, -0.1879838854, 0.1893076301, 0.384169817, -0.0659463778, 0.1866069585, 0.8191916943, -0.1689923108, 0.21701397, 0.1970814914, -0.4191658795, -0.3510912061, 0.9079165459, -0.3799895644, 0.2002593875, 0.6363374591, 0.4393308461, -0.4351976514, -0.1574731469, -0.4490124881, 0.3695778847, -0.3866429031, -0.1521184444, -0.3977669179, -0.147497341, -0.4195605516, -0.1284621954, -0.2778706551, -0.6461161375, 0.1389470696, -0.1679302156, 0.3245974183, 1.2331753969, -0.5086678267, 0.3246856034, -0.5104970336, 0.1572477371, 0.7491383553, 0.6855896115, 0.1050415263, -0.3384869099, -0.4013010859, 0.0951649249, 0.0399544239, -0.8660553694, 0.3012822866, -0.0688481405, 0.5215367079, 0.3851958215, -0.022217527, 0.2407292873, -0.0566026457, 0.4099189937, 0.2256616205, -0.4872852862, 0.4262216091, -0.6380507946, 0.1062429398, 0.3366530836, 0.2651856542, -0.8499578238, -0.1060367674, -0.9772965312, -0.5922878385, 0.8168619871, -0.1202794984, -0.4017933309, 0.1409491897, 0.5043509603, -0.1086841449, 0.291113764, -0.9061946869, -0.2128599286, -0.2528457344, -0.0609891191, -0.1983944029, -0.2347330749, -0.3196470439, -0.2329001576, 0.539578557, -0.3060901761, 0.4306538701, 0.2093472332, 0.087355569, -0.253122896, 0.3241695762, 0.4274461865, 0.4680805504, -0.5700227022, 0.2085443139, -0.4135973454, 0.1020752266, 0.3550664783, -0.1513272822, 0.0414387919, -0.2919669151, 0.2731415033, 0.846960783, 0.1091553271, -0.1340911835, 0.5560535192, -0.1440620869, -0.3422962427, 0.0275941044, 0.2811645567, 0.3165562749, 0.2638868392, 0.0212465674, -0.3910483718, 0.3162848055, -0.5079086423, 0.3186446428, 0.6842468381, -0.7370256186, -0.1536608785, 0.3009158671, 0.0828123912, -0.3423042893, 0.7811895013, -0.2832801342, -0.280824244, 0.6884655356, 0.3752228618, 0.8987349272, -0.2197403461, 0.4531603158, 0.7286356688, 0.0997931808, 0.0571228079, -0.0146743543, -0.5033476949, -0.7062362432, -0.1659294814, -0.736127615, -0.4887105227, -0.2151796967, -0.7511535287, -0.1632176191, -0.3806256652, -0.0318085924, -0.2203400284, -0.2442775965, -0.4913149476, 0.0862610489, -0.0379052572, 0.5641706586, -0.6989345551, 0.9364972115, 0.8179271221, -0.2193820477, -0.9964652658, -0.1780572534, -0.09873721, -0.7407970428, 0.8575161695, -0.0477917232, -0.2229043692, -0.020453142, -0.4471497834, -1.0112656355, 1.1427459717, -0.1350711137, -0.2914059758, -0.2948263288, 0.0889589116, 0.3379703462, -0.6345049739, 0.3526227176, 0.4862271845, 0.5287638903, 0.1526805013, -0.7087205648, -0.1711201221, -0.2403307557, 0.2112475038, 0.3055470586, -0.345713079, 0.6758516431, -0.1965984255, -0.2323567122, -0.2872078121, 0.4239035547, 0.4599294364, -0.0383543819, 0.7489991188, 0.6049388051, 0.5898172855, 0.0766788051, 1.191202879, -0.1480056345, 0.5321653485, 0.9690346718, 0.2742618918, 0.6459823251, 0.457913816, -0.3231809735, 0.8793436289, 0.9305538535, 0.5002941489, 0.5688673854, 0.8096647263, 0.2496387959, -0.1783119142, -0.3499805927, -0.3636919558, 0.1343574971, 0.2551788092, -0.2414983213, -0.263214767, -0.4257317781, -0.3183800578, -0.1249499619, -0.2806785405, 1.07059443, -0.0950736254, -0.9965658784, 0.5843431354, -0.05750392, 0.6371192336, -0.6779279709, -0.2808032334, -0.3687759042, 0.1268897951, -0.2497920692, -0.693276763, 0.3895398676, -0.5159904957, -0.2781073153, -0.3142255247, 0.6398605108, -0.5593593121, -0.0979018733, 0.4769367874, 0.421120435, 0.1229531541, -0.0226169359, -0.7467268705, -0.4894266427, -0.107830584, -0.2751671076, 0.5158968568, 0.2090900093, -0.0192183871, 0.5570974946, 0.5111610889, 0.133390829, -0.0533336066, -0.0149249397, 0.5645484328, -0.8049490452, -0.7800152898, -0.6971200109, 0.3927536905, 0.0515800714, -0.1507836729, 0.1496402174, 0.2506599724, 0.7124637961, 0.0190824866, 0.4650948942, 0.0692700446, 0.5507013202, -0.5117095113, 0.4158951938, -0.6041743755, -0.0316959321, -0.3040482998, -0.782186985, -0.1394454092, 0.5981705785, -0.0247359611, 0.0726677775, 0.6151973605, 0.7075304389, -0.1876410395, -0.0042752032, 0.1507427692, -0.1822070181, 0.0678430498, 0.8482497334, 0.8738301396, 0.0727604479, 0.0886662081, -0.4556711316, -0.5587344766, -0.3558473587, -0.8678577542, -0.3899040222, -0.6673256159, -0.1081904545, -0.3196170032, 0.2595717013, 0.8499416709, 0.9028744102, -0.8010935783, -1.0351201296, -0.4816115797, 0.6501426697, -0.5206425786, -0.3158509433, 0.4236609936, -0.6037331223, -0.2825596035, 0.0756015256, 0.4254951775, -0.1635045707, -0.1654712111, -0.4184459448, -0.381054461, -0.072635822, 0.2345062494, 0.4895563424, -0.5965009928, -0.3092156053, -0.1454357356, -0.1123201996, 0.1174525395, 1.164078474, -0.821005404, 0.3017327487, 0.5189709067, 0.7925516367, 0.5386461616, 0.343536675, 0.8272324204, -0.570037663, -0.0733568966, 0.0861471519, 0.2156150639, 0.103802532, -0.3547708094, 0.840564847, 0.4144927561, -0.8602713346, -0.4233111441, 0.5939091444, -0.6775153279, -0.2484520227, 1.0571532249, -0.14149037, -0.2642789483, 0.1678244025, 0.1761310101, 0.329488188, -0.4605329037, 0.8658496141, 0.7005528212, -0.4735825956, -0.1385819316, -0.1334682256, 1.0982743502, 0.6851962805, -0.8225856423, 0.2647075355, 0.4935827255, 0.0270215254, -0.0477744155, 0.9330801368, 0.106689252, 0.432410717, -0.4112108052, 0.1531888247, 0.138669014, -0.5284693837, -0.6635171771, 0.1437574178, 0.4239751995, -0.1543920636 ]
http://arxiv.org/abs/2402.10978v1
http://arxiv.org/pdf/2402.10978v1
Language Models with Conformal Factuality Guarantees
2024-02-15T18:31:53
2024-02-15T18:31:53
Christopher Mohri, Tatsunori Hashimoto
cs.LG
cs.LG, cs.AI, cs.CL
Guaranteeing the correctness and factuality of language model (LM) outputs is a major open problem. In this work, we propose conformal factuality, a framework that can ensure high probability correctness guarantees for LMs by connecting language modeling and conformal prediction. We observe that the correctness of an LM output is equivalent to an uncertainty quantification problem, where the uncertainty sets are defined as the entailment set of an LM's output. Using this connection, we show that conformal prediction in language models corresponds to a back-off algorithm that provides high probability correctness guarantees by progressively making LM outputs less specific (and expanding the associated uncertainty sets). This approach applies to any black-box LM and requires very few human-annotated samples. Evaluations of our approach on closed book QA (FActScore, NaturalQuestions) and reasoning tasks (MATH) show that our approach can provide 80-90% correctness guarantees while retaining the majority of the LM's original output.
[ 0.0147706969, -0.4952623248, 0.8074038625, 0.0540107787, 0.2171743959, -0.2782299221, -0.5243471265, -0.3750756383, -0.1457300633, 0.7995828986, -0.4569194913, -0.4990270734, -0.5472000837, -0.2341655642, -0.2654519081, 0.9675422311, -0.0169335529, -0.1797330081, -0.3769428134, -0.0573648848, -0.4455798268, -0.5631657243, -0.2319358438, -0.2517314553, 0.3197481036, 0.2127755135, 1.1939970255, 0.7793990374, 0.4831846654, 0.1999107599, -0.0560766757, -0.2263553441, -0.3844181299, 0.1897125542, -0.3225308657, -0.8122198582, -0.352391988, 0.0458879545, 0.8802059889, 0.6037452817, -0.4490611553, 0.2337702811, -0.3066393435, 0.8079305887, -0.8225429058, 0.400237143, -0.6898637414, 0.0089908252, 0.1074667871, 0.3913767338, -0.7489362955, -0.8066397905, 0.0702073649, -0.6415019035, 0.2136926055, 0.0817483068, 1.025775671, 0.4461954236, -0.2814590037, -0.3018773794, -1.1541481018, 0.6692024469, -1.1280651093, 0.8305288553, 0.580665648, 0.4964289069, -0.1091989428, -0.4778833389, -0.7622333765, -0.278377831, -0.0708210692, 0.1760291606, 0.0546818972, 0.0712669566, 0.3750761449, 0.2290258259, -0.4030698538, -0.2757053673, -0.6010619998, -0.2408864498, 0.6826514602, -0.2277383953, 0.0123007186, 0.2410102636, 0.066232346, -0.0652401671, -0.8570281267, 0.1568126827, 0.2393140346, 0.305080384, -0.0321629718, 0.6489143968, -0.4064541161, 0.6348308921, 0.219024986, -0.239837572, -0.2297253609, -0.3533313572, -0.222449556, 0.0366030484, 0.631821394, 0.0061402288, 0.573235333, -0.2807792127, -0.2999047041, 0.1403509229, 0.1587030888, -0.55553478, -0.175036177, 0.5341137648, -0.0512680076, -0.2519234717, 0.2741763294, -0.3490183949, -0.1693936586, -0.2639508247, 0.2913422883, -0.5874171257, -0.2615686953, 0.3871150911, 0.3107791841, -0.3355457783, 0.2905115485, -0.7075802684, 0.2420223355, 0.7895253897, 0.619258225, 0.0875360966, -0.0420842133, -0.6176207662, 0.7054257989, -0.4902283549, 0.5097548962, -0.5983666778, -0.014175293, 0.3489822447, -0.0971590281, 0.0192902759, -0.321310848, 0.5561391711, -0.6913374066, 0.0824380144, -0.2573162913, -0.8013740182, -0.3596256077, 0.3037780821, -0.8616826534, 0.4927352667, -0.1114119962, -0.5307512879, 0.3131886125, -0.1622146964, -0.1681052148, -0.1265574992, -0.0235619321, -0.4201364219, -0.0077482299, -0.1943151504, 0.260867089, -0.0600568429, 0.4666339159, -0.4686178267, -0.2619895041, 0.4429273307, -0.1818267554, 0.3277477026, 0.0732644349, -0.2078314722, -0.0187710393, -0.8346850276, 0.2124995738, -0.276340872, -0.5867535472, -0.1108009592, 0.0920608789, -0.3139992058, 0.434399128, 0.3331965506, -0.7220879793, -0.131917432, -0.7146144509, 0.0682350397, 0.7388436794, -0.1501990259, 0.4464637935, -0.5487599969, 0.3579507172, 0.1524627656, 0.013112369, -0.0156258699, -0.7714477181, -0.6182983518, -0.1701982021, 0.4464818537, 0.6790222526, -0.2238954455, 0.4093515873, -0.1342517436, -0.4523326457, -0.3531419635, -0.0346736312, 0.6627303362, 0.2513363361, -0.1103365421, 0.0484630875, -0.4683898985, -0.8026362062, -0.4319728613, -0.6605879068, 0.0541348569, -0.1689528227, 0.1911994368, -0.0375331827, 1.1828670502, -0.6029677391, -0.2750267088, 0.2266746014, -0.0976570398, 0.5098187327, 0.5651658773, 0.322491765, -0.8680767417, -0.4353850782, 0.0259643383, -0.6715544462, 0.1716974974, -0.0268843286, 0.0495828576, 0.5745143294, 0.3890625238, -0.5857337713, 0.6377340555, 0.6176295877, -0.3629717529, 0.712010026, -0.2697261572, 0.0219990276, -0.9394981861, -0.2312414348, 0.2179483771, -0.4395015836, -0.4918729663, 0.0530732833, 0.0608092248, -0.0801201761, -0.0497002117, 0.3940930068, -0.1544966251, 0.0274571385, -0.0319950171, -0.0226020161, 0.0146979922, 0.4589674175, 0.3315584362, 0.525740087, 0.3899103105, -0.5051484108, 0.2759328187, 0.2901259065, -0.0486902185, 0.4253267944, -0.7318069935, -0.1895687729, -0.2543954253, 0.1444519013, -0.8723940253, -0.1351966113, 0.0543882363, -0.3937608898, 0.1702093482, -0.1095739156, -0.2650727332, -0.0408822335, -0.0811963156, 0.1819006205, 0.7957726717, -0.0922700092, 0.4435177445, 0.1453978717, -0.2664488256, -0.6745499372, -0.6261278987, -0.2229779363, 0.3608950377, -0.6678120494, -0.0236090869, -0.3991685212, -0.389798522, 0.0332311504, -0.1187974885, -0.3024974167, -0.0898188651, 0.4115862846, 0.3132988214, -0.4928504229, 0.1418994069, -0.0691463724, 0.1249823943, 0.1789681315, -0.5123473406, 0.0017037655, -0.5054354072, -0.6203637123, -0.3462377191, 0.0233761519, 0.4469946027, -0.1092093885, 0.9616926908, 0.364710331, -0.7775053978, 0.0577123649, -0.708789885, -0.2596250474, -0.4018581212, 0.124893561, -0.4445168376, -0.6660465002, 0.4577892721, 0.3218229711, 0.3536669314, 0.4248192906, 0.6199645996, -0.0802621618, 0.8406446576, 0.6631520391, 0.2767602801, 0.1478339136, 0.1120324656, 0.3951697946, -0.3777027428, -0.1969048381, -0.4861416519, 0.3034482002, -0.5380421281, -0.375433296, 0.1943857074, 0.2332261056, -0.1703604609, 0.2425463498, -0.2348228544, 0.4114409387, 0.6621376872, 0.0954120085, 0.6446645856, -0.2249306142, -0.0525424853, -0.1145987958, -0.5091499686, -0.813947618, 1.1101467609, 0.3667486012, 0.7086398005, 0.3571834266, 0.6250147223, 0.3721378148, 0.5915852189, -0.6079967618, 0.378706038, 0.0859227628, -1.0514853001, -0.6469756365, -0.2666648626, -0.2998547852, -0.1011196002, -0.4324029386, -0.8924536705, 0.2999655306, 0.5179875493, -0.261803329, 0.3178666234, -0.519664526, 0.6185505986, 0.4632303417, -0.2626374066, -0.1836375445, -0.6578418612, 0.7883344889, -0.3908017278, 0.5366789699, -0.2862720788, 0.2319678217, 0.5192767978, -0.4052243233, 1.0000846386, 0.0468412749, -0.4527695775, 0.274825722, 0.5663881302, 0.7189201713, 0.3450651765, -0.3478941321, 0.1730735004, 0.6816011667, -0.3748115599, -0.6908946037, 0.4478734434, -0.5549863577, -0.8397325277, -0.4988152385, -0.6552267075, -0.4273376763, 0.1610078514, 0.2315187156, 0.1756543368, -0.2963555753, -0.2596072257, 0.9067485332, 0.0938398689, 0.1395734251, 0.5490691662, -0.2203025818, -0.2943258286, 0.9874513745, 0.1133157015, 0.5712341666, 0.2929354608, 0.2505120337, -0.2965608239, -0.4921303093, -0.237126112, 0.4787555337, -0.9160918593, -0.1170149967, -0.3653686941, -0.3782030344, -0.8936817646, -0.1068110317, -0.4361339211, -0.7653449178, 0.2949397862, 0.0681982636, 0.0987354815, 0.9796642661, -0.2482289523, 0.0828098282, -1.0126798153, 0.256131053, 0.326268971, 0.4683234394, -0.2801605165, -0.6439487934, -0.4284931421, 0.4724785089, -0.3217518032, -0.7341323495, 0.082718499, 0.4447651803, 0.2420130521, 0.5089684129, 0.3034499586, 0.1027250066, -0.6427532434, 0.6132250428, 0.3350477815, -1.0296262503, 0.5975722671, -0.2535497248, 0.004072723, 0.2025599778, 0.2550118268, -0.7806028128, -0.9997413158, -0.7192072868, -0.1406172514, 0.6467986107, 0.4631119072, -0.2825171947, 0.1178278178, 0.4804252982, 0.2185563147, 0.2546431422, -0.751465261, 0.0668494329, -0.313397944, -0.5434737206, 0.04722872, -0.39577353, -0.3208378255, 0.2221634686, 1.1236211061, -0.1949056983, 0.0015627908, 0.201113075, 0.0338352509, -0.4446403682, 0.4183816612, 0.6822711825, 1.1358219385, -0.5553575754, 0.0861689225, -0.0525669232, -0.5054295063, 0.2713775933, -0.1295944452, -0.551476419, 0.1744846851, 0.3376857936, 0.4177185595, -0.103937991, -0.7491691709, 0.5288303494, 0.1453113556, 0.1022274941, -0.5086616278, -0.054706905, 0.1908816397, 0.1910877675, 0.1574189067, 0.2043921202, 0.025072746, -0.4427400529, 0.4212149978, 0.2446508259, -0.5274114013, -0.7355564833, 0.8084276319, -0.168446064, -0.2959007621, 0.0959473103, 0.104736343, -0.2843536437, 0.6753994823, 0.8007623553, 0.7520979643, -0.3577983975, 0.2754042745, 0.4867396951, 0.4805402756, -0.4154946208, 0.2634430826, 0.4465459585, -1.0516130924, -0.473254472, -0.7572270036, -0.7850328684, -0.2678731978, -0.6921588778, 0.2105003595, -0.6099550128, -0.1038515866, 0.0339894406, -0.4396982193, -0.3400085866, 0.5900152326, 0.2719613016, 0.8623480797, -0.8164035082, 0.7284493446, 0.7086935639, -0.5740014911, -0.7549455166, 0.1537120789, -0.1711663306, -0.5642149448, 0.7706362605, -0.2525267303, -0.0690431669, -0.3220685124, -0.6084186435, -1.0727243423, 0.7144973278, 0.8305978775, -0.7238885164, -0.1639924943, 0.3399413526, 0.2567443848, -0.2228652537, -0.2733559012, 0.4666703939, 0.6155675054, 0.2778917551, -0.8614830971, 0.4407321811, 0.3121145666, 0.0736557916, -0.0267967843, -0.5009153485, 0.6622553468, -0.5758613348, -0.2033045888, -0.0522625335, 1.0764322281, 0.5914914012, 0.3471093774, 0.3128512204, 0.4376032352, 0.8518798947, -0.1424866617, 1.0433362722, -0.391409725, 0.5158575773, 1.0846009254, -0.3987437785, 0.8242205381, 0.3804906905, -0.4013549984, 0.4669656157, 0.5095589757, 0.3602135479, 0.3897045851, 0.0694330558, -0.1520480663, -0.2978563607, -0.0438040346, -0.160711959, 0.0399927497, 0.2394767851, 0.0476527698, 0.0617184043, -0.2923626304, 0.090745993, 0.5200555325, -0.0606750511, 0.5591173172, 0.074631229, -0.7706558108, 0.7206639647, 0.1069803685, 0.3802907765, -0.4854266644, -0.0809560344, -0.0691868141, 0.231294781, -0.2974109054, -0.7256779671, 0.5768953562, -0.5293932557, -0.6495342851, 0.2115140408, 0.635386169, -0.8238649368, -0.8133122921, -0.2995350361, 0.3094373047, -0.0114424424, -0.1188567504, -0.1840059757, -0.2557599843, -0.1884596944, -0.0802431032, -0.086077027, 0.6794532537, -0.1474405527, 0.7499339581, 0.4972116947, 0.4777113199, 0.2882498801, -0.2788407207, 0.5474874973, -0.6502290964, -0.5936960578, -0.681830883, 0.2348388135, 0.0248328671, -0.0069167851, 0.3848365545, 0.4430473149, 0.7704514265, -0.2964138091, 1.0803927183, 0.1644176096, 0.4395662546, -0.7583231926, 0.6970372796, -0.0676826239, 0.1878811419, 0.0185539387, -0.8763611913, -0.2282238752, 0.4112910628, -0.1907517016, -0.1557552516, 0.8665274978, 0.6868231297, -0.1628519744, 0.0235756282, 0.707449019, 0.2823620737, 0.3077608645, 0.5470795631, 0.4356586635, -0.5503032207, 0.4417739809, -0.2308345586, -0.1676053703, -0.0589307807, -0.8175397515, -0.7541956306, -0.8550444841, -0.7011598945, -0.8448792696, 0.2573405802, 0.6567430496, 0.6930781603, -1.3201534748, -0.3238460124, 0.0535476096, 0.4789935052, -0.2812932134, -0.1926905662, 0.1749441475, -0.4201491177, -0.7499278188, 0.0157599822, 0.2903374135, 0.203319028, -0.191409409, -0.23331438, -0.2459827214, 0.5839034319, 0.2652515173, 0.3645784557, -0.8430790305, -0.6186752319, -0.180747062, -0.1699292809, 0.0400440283, 0.6547057033, -0.6212558746, 0.1779589653, 0.2866193354, 0.5689940453, 0.3961561024, -0.1770486683, 1.1516897678, -0.8022831678, 0.2234220356, 0.1749441475, 0.4253707826, 0.262227267, -0.5726592541, 0.5789110065, 0.3026945889, -0.3535756767, -0.8617007136, 0.7028702497, -0.84312433, 0.0127493823, 1.2665971518, -0.6116456985, -0.4165290594, -0.1417606026, 0.1534551978, 0.381931901, -0.311121285, 0.8874465227, 0.9672871232, 0.3254486024, 0.0785674974, -0.3598408699, 0.7013648748, 0.3080862164, -0.5349878669, 0.263500303, 0.5971160531, 0.4336946905, 0.4758942127, 0.33418715, -0.0241764039, 0.3864279091, -0.3849170208, 0.362195462, -0.020824343, -0.149396643, -0.1370614171, 0.2504084408, 0.27753672, -0.0281189736 ]
http://arxiv.org/abs/2402.10178v1
http://arxiv.org/pdf/2402.10178v1
TDAG: A Multi-Agent Framework based on Dynamic Task Decomposition and Agent Generation
2024-02-15T18:27:37
2024-02-15T18:27:37
Yaoxiang Wang, Zhiyong Wu, Junfeng Yao, Jinsong Su
cs.CL
cs.CL
The emergence of Large Language Models (LLMs) like ChatGPT has inspired the development of LLM-based agents capable of addressing complex, real-world tasks. However, these agents often struggle during task execution due to methodological constraints, such as error propagation and limited adaptability. To address this issue, we propose a multi-agent framework based on dynamic Task Decomposition and Agent Generation (TDAG). This framework dynamically decomposes complex tasks into smaller subtasks and assigns each to a specifically generated subagent, thereby enhancing adaptability in diverse and unpredictable real-world tasks. Simultaneously, existing benchmarks often lack the granularity needed to evaluate incremental progress in complex, multi-step tasks. In response, we introduce ItineraryBench in the context of travel planning, featuring interconnected, progressively complex tasks with a fine-grained evaluation system. ItineraryBench is designed to assess agents' abilities in memory, planning, and tool usage across tasks of varying complexity. Our experimental results reveal that TDAG significantly outperforms established baselines, showcasing its superior adaptability and context awareness in complex task scenarios.
[ -0.3514770865, -0.7116615772, 0.678493619, 0.4593033791, -0.0369854309, 0.835539937, -0.2554109991, -0.1725968719, 0.1080564857, 0.0172543656, -0.7690380216, -0.4376803339, -0.1820467263, -0.243820399, -0.1802465916, 0.660951674, -0.199493736, -0.4031222463, -0.1354915798, 0.0045637707, -0.6317816973, -0.4373244941, -0.8019014001, -0.6084731221, 0.5087639093, 0.5191074014, 0.4396925867, 0.3050383925, 0.3664142191, 0.3359316289, 0.11795789, 0.2332805097, -0.4332688451, 0.2905065715, -0.5504040122, -0.0132117979, -0.7795797586, -0.5222736001, 0.6457774043, 0.3436741233, -0.5040989518, 0.2128296345, -0.2305737585, 0.1332320571, -0.6030677557, 0.4463781714, -0.5474513769, -0.0714605451, -0.1308641583, -0.1873202175, -0.1834124178, 0.1528064907, 0.0831171349, -0.5145454407, 0.1119210646, -0.0391604863, 0.5821194649, 0.2792152166, -0.5475176573, -0.1528921276, -0.9334059358, 0.6417489648, -0.3189844191, 0.0806777477, -0.0886648446, 0.7869684696, -0.4553363919, -0.8132531047, -0.6708406806, -0.3374717236, 0.2136776447, 0.0510220267, -0.1502266526, 0.125285387, -0.130635187, -0.0464928038, -0.6694970727, -0.0213819183, 0.0857411474, -0.0661825612, 0.4241784513, 0.5565668344, 0.5085542202, 0.1878197789, -0.3048303425, 0.0109235235, -0.358827889, -0.0870772675, -0.0163751803, 0.4599465132, -0.0455877073, 0.3409348428, -0.408490926, 0.3825363815, -0.0216284748, -0.3259266019, 0.0398549251, -0.4537038803, -0.2345233709, -0.0149056586, 0.2202841192, 0.3432172835, 0.181663394, -0.484605521, -0.2049112469, 0.0467942022, 0.5015407801, -0.8326184154, -0.1089913994, 0.429058671, -0.1168748587, -0.2462896258, -0.3448067904, -0.6394690871, -0.3700983226, 0.0000091311, 0.3453490138, -0.1870125681, -0.630536437, 0.0506776311, -0.1772113591, 0.1552203447, 0.636063993, -0.3900898695, 0.1617088169, 0.4121385515, 0.755589664, -0.2743811309, -0.7309283614, -0.50759238, 0.56308043, -0.1695849895, 1.2181676626, -0.6486343741, -0.4706004262, 0.0082770344, -0.0079648299, -0.2917291522, -0.4016572237, 0.4244356453, -0.4792087376, -0.2566829026, -0.4298356771, -0.0754999295, -0.3467910886, 0.8190635443, -0.501342833, 0.7829078436, 0.5137652159, -0.1870214641, 0.4592114687, -0.8747993112, -0.3648965061, 0.1374685764, -0.0804617703, -0.3452509642, 0.0152279744, -0.138357237, 0.1818879247, -0.4788376391, 0.4728415608, -0.4772330225, -0.3035851419, -0.0664244965, -0.1359561384, 0.4751738906, 0.2108748704, -0.3540474176, 0.5037939548, -0.9254681468, 0.2935276031, 0.130962044, -0.7908980846, 0.1989904195, 0.2679613829, 0.3692016304, 0.3393527567, 0.1430771947, -0.3220028281, 0.5413326025, 0.0534013659, 0.311180234, 0.8503349423, 0.055574026, 0.3060451746, -0.5247460008, 0.7564155459, 0.0412284359, -0.1481138021, 0.1037565395, 0.1405978799, -0.7899520993, -0.2993448675, -0.0824634582, 0.4640316069, -0.7995808125, 0.1976202279, -0.5430468321, -0.6951901913, 0.2877775431, -0.2342767417, 0.2428070158, 0.1848202497, 0.1178308427, -0.1088102013, -0.3077186942, -0.4607762992, -0.1643135399, -0.3352583945, 0.1141293794, -0.0631023869, 0.4773288667, -0.5178700089, 0.460455507, -0.2208006531, -0.3798746169, -0.4998386502, -0.0375150517, -0.3359839916, 0.4714051485, 0.8293096423, -0.4300800562, -0.4522360563, 0.0497014672, -0.4195246994, -0.0882107839, -0.3506277204, -0.2746510804, 0.0749618858, 0.199814871, -0.7333967686, 0.2244726121, 0.125506267, -0.7787489295, 0.4715712368, -0.2668457031, 0.0175631791, -0.9104070067, 0.1118136719, -0.4135828316, -0.4699326456, -0.7075261474, 0.2834474444, -0.224247843, -0.0998651832, -0.2421705574, 0.7978222966, -0.406008631, -0.1865115315, -0.4967500865, -0.07640066, 0.0290037319, 0.7170277238, -0.1718622595, 0.8288233876, 0.4913713038, -0.5377117395, 0.3345499039, 0.1106415093, -0.1437666565, 0.6919460297, -0.3315034807, 0.2190506905, -0.1133843288, 0.4039541185, -0.9452432394, -0.4137152433, 0.1365047246, 0.0943083614, 0.1864597499, 0.154617399, -0.5654438138, -0.0367569812, -0.2393886149, 0.3559458554, 0.1962789297, -0.3101170957, 1.3746936321, 0.3874206543, -0.0204489306, -0.4872278869, -0.4025148749, 0.3032760918, -0.177436918, -0.5160241127, 0.4613224864, -0.1903176308, -0.4321176112, 0.0237120353, -0.5326148868, -0.2177431136, 0.1676380038, 0.4222892225, -0.1842691153, 0.1227888539, 0.1978334934, 0.0175764933, 0.0272669513, -0.1321199387, -0.1523785293, 0.7778069377, -0.2920391262, -0.3799270391, 0.1660612226, 0.560354352, 0.8331958652, -0.3301866353, 0.4529070258, 0.8394747376, -0.3046910167, -0.6329599023, -0.3834969103, 0.3386469781, -0.497278899, 0.4333138466, -0.970634222, -0.5447426438, 0.7398221493, -0.4128198326, 0.298638761, 0.2077274919, 1.005450964, 0.1293786466, 0.6121666431, 0.8015160561, 0.3615954816, 0.5815036297, -0.0248114057, 0.057222832, -0.3948278129, -0.3365845978, -0.4561493695, -0.3162961602, -0.4589388967, -0.5853910446, 0.330689013, -0.4003015459, -0.2831239402, 0.0993667245, -0.2666829824, 0.3536781073, 0.4989523292, -0.0222374257, 0.3113971949, -0.191050142, 0.0813639238, 0.6971812844, -0.7469887733, -0.5334867239, 0.8073737025, 0.0324002206, 0.7115177512, 0.2658951283, 0.4075437784, 0.6584101915, 0.1107608527, -0.8333880305, 0.8442909718, 0.1727903634, -0.6935828924, -0.1138546616, -0.0656981319, -0.84828192, 0.4823642075, 0.0281917695, -0.8041142821, 0.2120682597, 0.0117581505, -0.449534297, 0.2724242508, -0.8683340549, 0.6639729738, -0.1117424369, -0.4271047711, -0.4770517349, -0.3393086791, -0.0843733326, -0.2830454707, -0.0155315083, -0.5598751307, -0.1136807054, 0.4558292329, -0.3201037049, 0.590307653, -0.3494581878, -0.1130626723, 0.4346119761, 0.4674130082, 0.6019988656, 0.0589993298, -0.226319477, 0.0692532361, 0.2744724452, -0.5233082175, -0.310495317, 0.8574687839, -0.5794054866, -0.623583138, -0.4817872643, -1.0335768461, -0.2741999626, 0.5271967053, -0.2732300758, 0.225356847, -0.3405486941, -0.3247638047, -0.0922404975, -0.1401022673, 0.8227694631, 0.6611483693, 0.0165576264, -0.1055306345, 0.8643193245, 0.3394646347, 0.0839630514, 0.239795655, -0.1288693547, -0.0543392748, -0.8374512196, -0.2935737967, -0.0468832925, -0.8371354342, 0.0421045311, -0.5888669491, 0.1854927391, -0.1857466549, -0.3256431818, -0.4692902565, -0.407856673, 0.1233692318, 0.0347844362, -0.2094124407, 0.6308577061, 0.0814721361, 0.5612999201, -0.5461284518, 0.4097541571, 0.2323834002, 0.4087390602, -0.1809574515, 0.0201047324, -0.3772953451, -0.3172911704, -0.3552003503, -0.565980196, 0.1488966644, 0.1990648508, 0.6985670924, 0.0437769368, 0.2052416354, 0.8880681992, -0.4700334072, 0.6635466218, -0.426871419, -0.8385900259, 0.1506469846, -0.5943418741, 0.6469854712, 0.4698539078, -0.2743946314, -0.0797925666, -0.3404416144, -0.5407016277, -0.7571210861, 0.826926589, 0.2918310463, -0.194460541, 0.4479191005, 0.0687846914, 0.02059149, 0.5000061393, -0.6134012341, 0.1332610548, 0.0404550135, 0.0486306138, -0.134735018, -0.3347206414, -0.3896046579, 0.0802833885, 0.4873750806, -0.2466535866, 0.5841357112, -0.0493000932, -0.1089914963, -0.3257901669, 0.4131890833, 0.7611912489, 1.2773637772, -0.4143495858, 0.2029995471, 0.1210413128, -0.3141714036, 0.5050545335, 0.1999474615, 0.085346207, -0.0921526924, 0.5467513204, 0.4328167737, -0.4449262023, -0.9395112991, 0.1453920454, -0.2399456054, 0.0686426982, -0.5305175185, 0.2800738215, -0.0154800052, 0.7326563597, 0.2430177927, 0.173617512, 0.0421069041, -0.6682556868, 0.1005381867, 0.344912082, -0.0521143302, -0.4900783002, 0.5124219656, 0.3525832891, -0.4885409772, 0.057429906, -0.6052071452, -0.375087887, 0.7153608799, 0.2831918001, 1.1744269133, -0.2920957208, 0.139575243, 0.0596920289, 0.4877758324, 0.001701244, 0.6716096401, -0.2091288269, -0.5354369283, -0.4049699008, -0.4651899934, -0.3325420022, -0.1371760666, -0.0320403241, 0.1838338673, -0.4309003651, -0.2278819233, -0.1460385174, -0.0106547782, -0.8094526529, 0.1692811847, -0.0523549765, 0.5675984025, -0.4280664623, 0.9266979694, 1.1109981537, -0.1784490198, -0.8209071755, 0.534460783, 0.0622978285, -0.7238681316, 0.4860964715, 0.1639852971, -0.4129457772, -0.0079871695, 0.0674097463, -0.7325351834, 1.1919207573, 0.565097034, -0.2721872032, -0.5194318891, 0.1854901761, 0.522557199, -0.2526840568, 0.293140769, 0.5549858809, 0.5643487573, 0.1677777469, -1.214682579, 0.3630234003, -0.1634743512, -0.025613727, 0.0565812513, -1.0248528719, 0.9044181705, -0.1762967706, -0.4271849096, -0.2744612396, 0.086504586, 0.1863548905, 0.4339444637, 0.7341315746, 0.2443740666, 0.463971287, -0.2222408205, 0.7036491632, -0.1225580648, 0.2664355338, 1.2359137535, -0.4869796634, 0.3287324607, 0.4496679008, 0.035087321, 0.6562077999, 0.570458591, 0.2754435241, 0.6751236916, 0.3176310062, -0.3951338232, -0.4156879485, -0.3442185521, -0.0115028089, 0.7699190378, 0.2614432275, 0.2172957361, -1.0064928532, 0.2475531548, 0.0526151173, -0.2982518971, -0.1680401862, 0.6706504226, -0.2372661382, -0.8433285356, 0.6204742193, 0.0600896552, 0.0538057759, -0.7563458681, -0.1152017638, -0.1238802224, 0.4334419072, -0.064695321, -0.6183151007, 0.3613044918, -0.1650638878, 0.1011909321, -0.3769967556, 0.9255890846, -0.2484747022, -0.191706121, 0.305185318, 0.807887733, -0.2149004787, -0.2755675912, -0.5383709073, 0.2922929227, -0.0609467402, -0.6847202778, 0.2513691783, 0.5946062803, -0.2219382972, 1.1197828054, 0.2655186355, -0.0403260179, -0.0645059347, -0.1082563177, 1.0832375288, -0.6667103767, -0.6122142673, -0.8447247148, 0.6782200336, 0.0818854496, 0.1898252964, 0.5282762647, 0.3212421536, 0.6179615855, -0.110430792, 0.9095525742, -0.3840896487, 0.1794329286, -0.1252637357, 0.4257995784, -0.6599925756, 0.4762693644, -0.1105476171, -0.8106502295, -0.0411065817, 0.2435074747, 0.1263094842, 0.0612100735, 0.6906087995, 0.6509093046, -0.0871814191, -0.6149523854, 0.2037145942, -0.1463378519, 1.1560313702, 0.8169879913, 0.7634960413, 0.0622072667, 0.8424533606, -0.053853482, -0.0729937628, -0.2118366063, -0.8211512566, -1.1736035347, -0.5590418577, -0.3655641675, -0.2468889654, 0.1003528014, 1.0787032843, 0.7293727994, -0.3933445513, -0.4143424332, -0.2253752798, 0.0768251047, -0.4391289949, -0.1938565224, 0.1819011122, -0.2894781828, -0.8051265478, 0.5934250951, 0.4141174257, 0.1320301145, -0.3198985755, 0.1906841397, -0.1001392305, 0.211574018, 0.6196544766, 0.0815438107, -0.4839681983, -0.3782875836, -0.215715006, -0.0094959326, -0.1115238592, 0.7394720316, -0.5799746513, 0.659319818, 0.4797922075, 0.6290519834, 0.5339161158, -0.0612714402, 0.5744203329, -0.6933065057, 0.3291349113, 0.1733520776, 0.1997345835, -0.2055833489, -0.2750626802, 0.6614025235, 0.0491328426, -0.630420804, -1.0301424265, 0.3074757457, -1.4740133286, -0.4681067467, 1.2017199993, -0.1456482112, -0.0448228791, -0.2544040084, -0.3478103578, 0.3035233021, -0.6709039807, 0.9113144875, 0.7610855699, -0.3029030263, 0.0474807546, -0.3828043342, 0.4399698377, 0.2744237781, -1.2114343643, 0.1504158974, 0.6056300402, 0.3064272106, 0.3022424877, 0.9649031162, 0.4945143461, 0.119607769, 0.2941747606, 0.1375345439, -0.3678253591, -0.437738955, 0.1908699572, 0.6520096064, 0.3289093971, -0.3182993233 ]
http://arxiv.org/abs/2402.10176v1
http://arxiv.org/pdf/2402.10176v1
OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset
2024-02-15T18:26:11
2024-02-15T18:26:11
Shubham Toshniwal, Ivan Moshkov, Sean Narenthiran, Daria Gitman, Fei Jia, Igor Gitman
cs.CL
cs.CL, cs.AI, cs.LG
Recent work has shown the immense potential of synthetically generated datasets for training large language models (LLMs), especially for acquiring targeted skills. Current large-scale math instruction tuning datasets such as MetaMathQA (Yu et al., 2024) and MAmmoTH (Yue et al., 2024) are constructed using outputs from closed-source LLMs with commercially restrictive licenses. A key reason limiting the use of open-source LLMs in these data generation pipelines has been the wide gap between the mathematical skills of the best closed-source LLMs, such as GPT-4, and the best open-source LLMs. Building on the recent progress in open-source LLMs, our proposed prompting novelty, and some brute-force scaling, we construct OpenMathInstruct-1, a math instruction tuning dataset with 1.8M problem-solution pairs. The dataset is constructed by synthesizing code-interpreter solutions for GSM8K and MATH, two popular math reasoning benchmarks, using the recently released and permissively licensed Mixtral model. Our best model, OpenMath-CodeLlama-70B, trained on a subset of OpenMathInstruct-1, achieves a score of 84.6% on GSM8K and 50.7% on MATH, which is competitive with the best gpt-distilled models. We release our code, models, and the OpenMathInstruct-1 dataset under a commercially permissive license.
[ -0.3377504945, -0.6663006544, 0.2405585051, 0.0374440812, -0.1573352516, -0.2816459537, -0.3692975342, 0.0824364498, -0.2838924229, 0.483243674, -0.8553782701, -0.7425795197, -0.3556610644, -0.0650381371, 0.0263868924, 1.1375645399, -0.1334594041, 0.3550263047, -0.371896565, -0.2239036262, -0.278989315, -0.4606796503, -0.2998444438, -0.2254144996, 0.4877385199, 0.6324720979, 0.7404122949, 0.8558437824, 0.5501400828, 0.2161444724, 0.1124805138, 0.1568134874, -0.8482083678, -0.1719533652, -0.246777758, -0.5322756767, -0.7096043825, 0.424251169, 0.6631144881, 0.7341324687, -0.3910160959, 0.508566618, -0.1951848716, 0.8039445877, -0.4665979147, 0.4950302839, -0.6864401698, 0.0066658193, -0.5260487199, -0.0952392295, -0.4657316506, -0.771099627, -0.1865944564, -0.7822071314, 0.0223357808, -0.0964635164, 0.4635633528, 0.5202518702, -0.0071399566, -0.3975455463, -0.342136085, 0.9218218923, -0.6545488834, 0.2720404863, 0.6200272441, 0.5201119184, -0.0973588824, -0.3718306422, -0.1233558655, -0.0056117764, 0.2501698434, 0.1113997474, 0.0219330173, -0.0253333878, 0.5028310418, 0.7105270624, -0.6965487599, 0.1644854099, -0.6694067121, -0.0599472299, 0.3909888268, 0.4263625741, 0.0640463978, 0.2099173665, -0.0721659437, -0.0712634623, -1.189565897, -0.2543898523, 0.7380762696, 0.2712000012, -0.2535960674, 0.8128437996, 0.0198942069, 0.7465646267, -0.3199417889, -0.1669869125, 0.145605579, -0.2500957549, -0.2948711216, 0.1000834107, 0.4413829446, -0.0094659133, 0.7056230307, 0.0545344204, -0.1805687398, 0.1900829524, 0.1835031211, -0.9735614657, -0.3236355186, -0.1135308072, -0.281726867, -0.3268997967, 0.2462159991, -0.5762251616, 0.0201762468, -0.5912054181, 0.3971664011, -0.3671119809, -0.2795261145, 0.2465402484, 0.2313614786, 0.1039916724, 0.3221003115, -1.0058215857, 0.3275301456, 0.781322062, 0.9819480181, -0.1039601639, -0.1222196519, -0.5210061073, -0.2571931183, -0.5398787856, 0.3771577179, -0.6320490837, -0.2820368111, -0.0001912635, -0.0795164332, -0.1520646065, -0.7556734681, 0.5008803606, -0.5156684518, 0.4717074931, 0.0217520557, -0.6287790537, -0.0239428226, 0.0461719111, -0.694999218, 0.8071565628, 0.7134830356, -0.5493836999, 0.067265518, -0.897814393, -0.1168588921, 0.0051298132, -0.277697742, -0.5676443577, 0.2530471981, 0.1375598907, -0.0246843956, -0.466727078, 0.0631306693, -0.2934081852, -0.3643439412, 0.1626763791, -0.5673632026, 0.999032557, 0.3505644202, -0.0260712784, 0.089030169, -0.747556746, 0.1965584159, 0.1955159158, -0.4945321679, -0.1287142336, -0.2050143331, -0.3597579002, 0.2157884836, 0.1594999582, -0.6313511729, 0.2418787181, -0.4376270473, 0.3088430762, 1.0984793901, -0.3505389094, 0.2853228152, -0.3835964799, 0.89277637, 0.0419163853, 0.0289676487, -0.4643087089, -0.5296443701, -0.5402726531, -0.3711417913, 0.3985131085, 0.465501219, -0.4492070675, 0.2254372537, -0.2625387609, -0.3471609652, -0.8057426214, 0.1117073148, 0.6231918335, 0.6120527983, 0.2865256965, 0.2301775068, -0.3956142664, -0.8412889242, -0.2297544777, 0.2472357154, -0.2212769538, 0.4516440332, 0.3815577626, 0.2183348536, 0.7130291462, -0.7133859396, -0.2531080246, 0.0299144872, -0.2129558325, 0.5324672461, 0.4071213901, 0.3855037391, -0.4411767423, -0.556375742, 0.0613825656, -0.7533676028, -0.1767756492, 0.5146346092, -0.193552956, 0.2381052822, 0.3563366532, -0.4827599525, 0.323238045, 0.7142975926, -0.2481832504, 0.6721369624, -0.1018307805, -0.0223861579, -1.0793975592, -0.0095875012, -0.0536532775, -0.0766122788, -0.3483852148, 0.1633731276, 0.0975013599, -0.3674632013, -0.4428077936, 0.4912600219, -0.2509587407, -0.0725259706, 0.1036916971, -0.1418845206, -0.5255279541, 0.5279209614, -0.3999670744, 1.2527555227, 0.439263463, -0.3497640491, 0.3348213732, 0.3637443781, -0.6347184181, 0.4100575745, -0.6508918405, 0.2317093611, 0.1416391879, -0.0543454736, -0.6324499249, -0.4502339065, 0.2239700407, -0.3760797083, 0.1408041269, -0.383177042, -0.5320423245, -0.1912516803, -0.1340309978, 0.4467276335, 0.7609300017, -0.7034270167, 0.3401713669, 0.2583200932, -0.3302336931, -0.3009908497, -0.4909749627, -0.4382716417, -0.0846610442, -0.7512475848, -0.0542910099, -0.2601985633, -0.281547606, 0.0604922771, -0.3126583099, -0.0259754285, -0.0148043688, 0.2539226413, 0.5010293126, -0.5987333655, 0.1973751932, 0.1068756059, -0.4104231298, 0.2466747165, -0.481815815, 0.4328872263, -0.1841125786, -0.5704393387, 0.0259862002, 0.0338996425, 0.6173027754, -0.3072912395, 0.6151921153, 0.2545706332, -0.3071249723, -0.4094776809, -0.1325092614, -0.1166691557, -0.5275217295, 0.4150842428, -0.4744652212, -0.9930738807, 0.2452593893, -0.1745412201, 0.3446050286, 0.3850784302, 0.7088978887, 0.3293334544, 1.1069476604, 0.251219064, -0.1613387614, 0.3655402362, -0.1181467921, 0.0772724301, -0.6735995412, -0.1303335875, -0.5231925249, -0.1816781461, -0.5806857944, -0.4459523857, 0.5039771199, -0.0738386512, -0.3741603494, 0.0967890918, -0.3535791337, 0.93947047, 0.53865242, 0.2104973048, 0.2847630084, 0.4709280729, -0.3184639215, -0.1555380672, -0.7340125442, -0.3661564887, 1.45558393, 0.3996438384, 1.0220927, 0.2651365399, 0.4006986916, -0.1045490727, 0.3801428974, -0.6518278718, 0.4818063378, -0.3655782044, -0.6269333363, -0.2585720718, -0.9107655287, -0.736674726, -0.1005157977, 0.2169408649, -0.3150418997, -0.5833320022, 0.122500062, 0.0967311487, 0.3442285359, -0.7121222615, 0.9417181015, 0.0201960653, -0.4505356252, -0.396656841, -0.257469058, 0.617231667, -0.1876391619, 0.2306747437, -0.20034343, 0.1281503886, 0.4180629253, -0.6434118152, 0.5139679313, -0.2443298697, -0.409304589, 0.2259095162, 0.316570133, 0.3104048669, 0.1771726161, -0.2580599487, 0.2912320495, -0.3217206895, -0.4515385032, -0.5899944305, 0.8835059404, -0.8807691932, -0.5131315589, -0.1255646199, -0.7602082491, -0.0844345242, 0.036879655, 0.2665777206, 0.8269483447, -0.050775025, 0.3001488149, 0.9745951295, -0.13013345, 0.1427250057, 0.4727739096, -0.2465220094, -0.6333782673, 1.2175940275, 0.1142770872, 0.5211482048, 0.0567047261, 0.3740796745, -0.2437846363, -0.3202877939, -0.6114592552, 0.2400462627, -0.6800377369, -0.3263659775, -0.0733781755, -0.5352099538, -0.1089884713, -0.0034739745, -0.3709217012, -0.5796926618, -0.3373734653, 0.0549249463, 0.3957867622, 0.9233058691, 0.0373655707, 0.057800509, -0.6193930507, 0.1653291732, 0.2179886401, 0.8346592188, -0.2508902848, -0.7551259398, -0.5160164833, 0.3156551719, -0.2443714887, -0.3794024289, 0.0445761196, 0.2133461088, 0.4952784479, 0.4100374877, -0.2729108632, 0.4826184213, -0.6583728194, 0.4241543412, 0.0611985996, -0.7377803922, 0.5868735909, -0.6696020961, 0.5972274542, 0.2912098467, 0.5087616444, -0.1478657871, -0.1062321514, -0.3764268458, -0.103741847, 1.1192287207, 0.3255681992, 0.0491402857, 0.1053263843, 0.3224089146, 0.3680847585, 0.2760576904, -0.4889384508, -0.3234283626, -0.3432263136, -0.6657627225, -0.0168648344, 0.1287315488, -0.2493949682, -0.4442573488, 0.6434230208, -0.2381242365, 0.1093304306, -0.3310571611, -0.122668542, -0.349319458, 0.1573943049, 0.9264766574, 1.0094687939, -0.2616821826, -0.0895543396, -0.0788604096, -0.7310754657, 0.1174852699, 0.1045151129, -0.0437201336, -0.178252086, 0.1328706443, 0.8525055647, 0.2322342396, -0.6574776173, 0.3642579317, 0.1009549722, -0.5920547247, -0.1927206963, 0.4122867882, 0.0759248212, -0.0526445955, 0.1580200195, -0.1242303252, -0.3639096618, -0.3820731342, 0.1239713281, 0.3828557432, -0.2103670835, -0.4959697723, 0.5765640736, -0.0405215621, -0.4868806005, 0.8789942861, -0.1737816483, -0.3859671354, 0.6299573779, 0.7646914124, 0.6307561994, -0.4541990757, 0.0495524667, 0.6685438156, 0.3101867735, -0.0170560628, 0.34250319, 0.1101614013, -0.3716883063, -0.4246818125, -0.6849554181, -0.5394749045, 0.2129875571, -0.5812219381, 0.4875949323, -0.6141983867, 0.2846949697, -0.1896171123, -0.1041026786, -0.6210104227, -0.0307363197, -0.0433538668, 1.054761529, -0.5724127293, 0.8452218771, 0.6664009094, -0.3115874529, -0.7738242149, -0.4568919241, 0.1290129572, -0.9644227624, 0.4694504738, 0.1903758943, 0.1731951386, 0.3916945457, -0.6861155033, -0.8054827452, 1.07888484, 0.671843648, -0.7157617807, -0.1237608641, 0.3912786543, 0.2324838787, -0.5255041718, 0.2365870476, 0.4843025804, 0.2936611772, 0.0992217213, -0.8517864347, -0.1390672326, -0.2479983866, -0.3456655741, 0.6057169437, -0.5759111047, 1.1677821875, -0.2118910551, -0.16618523, 0.092223987, 0.1989231408, 0.4109708667, 0.1849030107, 0.228898719, 0.9297782183, 0.5186930299, -0.1825845093, 0.8328887224, -0.2613536716, 0.2988002598, 1.2436486483, 0.0117494538, 0.5903888941, 0.0739740655, -0.3743296862, 0.5156266093, 0.5198181868, -0.1765197963, 0.4566096961, 0.4345985353, -0.2498029917, -0.2203202546, 0.2600424588, -0.5282557607, 0.308353126, 0.5776802301, -0.2277973294, -0.5754187107, -0.2121617496, -0.1110907793, -0.0143603599, -0.3999689221, 0.6153256297, 0.1644534171, -0.5336695313, 0.6325509548, -0.1418185234, 0.2795604765, -0.8724444509, -0.3274402916, -0.3247630596, 0.2559707761, -0.1687748432, -0.6843065619, 0.1124104038, 0.0381541923, -0.1484548599, -0.0407567881, 0.3972263634, -0.6266950369, -0.5802516937, -0.1592226177, 0.4115730524, 0.2001934201, -0.0191281997, -0.5215128064, 0.0964103341, -0.0794884861, -0.1568706483, 0.5449905992, 0.512050271, 0.0056641051, 0.5183234215, 0.8947262764, 0.1612453908, 0.2507194281, 0.1040595695, 1.1019996405, -0.4893741012, -0.3888652623, -0.7896972299, 0.4067269862, 0.093408756, -0.6728382707, 0.8064164519, 0.7934623361, 1.0496618748, -0.1486920863, 0.7093326449, 0.3330726027, 0.5107234716, -0.7249152064, 0.5360996723, -0.3415231407, 0.2632296085, 0.0705292523, -1.1099721193, 0.01198183, 0.6520478129, -0.1935664117, 0.0932859182, 0.7178916335, 0.9398637414, -0.4397384226, 0.2035596669, 0.3670618832, 0.0404779837, 0.1724984199, 0.6996243596, 0.6480386853, -0.2973903716, 0.504858911, -0.0399842374, -0.4273406267, -0.088684909, -0.5902805924, -1.1869188547, -0.2823965847, -0.1069952697, -0.3117899299, -0.1129989624, 0.9941746593, 0.5439623594, -0.7074323893, -0.3161886334, -0.4889557958, 0.0981929973, 0.1142932847, -0.2319652438, 0.1737459153, -0.5604078174, -0.6252635717, 0.5235742927, 0.2530331016, 0.0540160909, -0.6095049381, -0.299261868, 0.1691965014, 0.1751183569, 0.4776665866, 0.1106971055, -0.5504308343, 0.1324333549, 0.2128274739, -0.1458824426, 0.2777905762, 1.0423133373, -0.5053335428, 0.4334205687, 0.2159314156, 0.6778591275, 0.3486803472, -0.0558362193, 0.5392403007, -0.6142997146, 0.1679717898, 0.1841176301, 0.104131259, 0.0707161799, -0.0799054131, 0.8226490617, 0.1444716752, -0.6626165509, -0.7916111946, 0.2334985435, -0.4944126308, -0.1323607266, 0.9808488488, -0.1995259821, -0.2230072767, 0.182766512, -0.0721015707, -0.0505656973, -0.3107774854, 0.5825072527, 0.7627292871, 0.253837347, -0.0384129472, -0.74947685, 0.4456943274, 0.3856219649, -1.0161443949, 0.1834623814, 0.5973341465, 0.3089321256, -0.1539966017, 0.325088948, -0.4666014314, 0.4469828904, 0.2326540053, -0.1721035689, -0.6988906264, -0.4548906088, -0.4558563232, 0.0818475932, -0.0148727233, -0.1691352278 ]
http://arxiv.org/abs/2402.10175v2
http://arxiv.org/pdf/2402.10175v2
Unlocking Structure Measuring: Introducing PDD, an Automatic Metric for Positional Discourse Coherence
2024-02-15T18:23:39
2024-04-02T21:51:36
Yinhong Liu, Yixuan Su, Ehsan Shareghi, Nigel Collier
cs.CL
cs.CL
Recent large language models (LLMs) have shown remarkable performance in aligning generated text with user intentions across various tasks. When it comes to long-form text generation, there has been a growing interest in generation from a discourse coherence perspective. However, existing lexical or semantic metrics such as BLEU, ROUGE, BertScore cannot effectively capture the discourse coherence. The development of discourse-specific automatic evaluation methods for assessing the output of LLMs warrants greater focus and exploration. In this paper, we present a novel automatic metric designed to quantify the discourse divergence between two long-form articles. Extensive experiments on three datasets from representative domains demonstrate that our metric aligns more closely with human preferences and GPT-4 coherence evaluation, outperforming existing evaluation methods.
[ -0.3296112418, -0.7414366007, 0.7098299265, 0.3308319449, -0.3769820929, 0.3822044134, 0.0258901026, -0.2573657334, 0.2055686861, 0.0588849522, -0.2822249532, -0.7454416752, -0.4560240209, 0.1481029987, -0.327092886, 1.0170558691, -0.2877010703, -0.2073108405, -0.494223088, -0.0676160902, -0.1943780482, -0.3373688757, -0.5947743654, -0.3012406528, 0.5944350362, -0.06951309, 0.7040173411, 0.4937384129, 0.6261555552, 0.3060221076, -0.1167836785, 0.2335896939, -0.3750600219, 0.0872724429, -0.3160934746, -0.2722021043, -0.7171145678, 0.0590853803, 0.9541998506, 0.9859002829, -0.0628254488, -0.0623454899, 0.4771212041, 0.6746487617, -0.5209714174, 0.0611089431, -0.4128037989, 0.1848873347, -0.4190051258, -0.1449616849, -0.3121773899, -0.5793370008, 0.4331719875, -0.2605355084, 0.1449789554, -0.0624900386, 1.0926095247, 0.1775364578, -0.5766366124, -0.4848929048, -0.3708628416, 0.825204134, -0.6064260602, 0.5306122899, 0.1014213189, 0.1797905117, -0.222558409, -0.4121044576, -0.4617816508, -0.0238560308, -0.0002042803, 0.2888365686, -0.1564615369, 0.1604823023, -0.1612502187, 0.5211093426, -0.6611744165, 0.220552668, -0.1950519681, -0.2121783793, 0.7949629426, 0.1979037076, 0.4275715053, -0.3865688443, -0.4814637303, -0.0097273914, -0.7871055007, 0.0696975663, 0.6759997606, -0.0562231392, -0.4645189345, 0.6701234579, 0.2677531242, 0.3789047897, 0.3388206959, -0.2381073982, 0.1122950092, -0.4854196608, -0.3125788867, 0.0307014268, 1.0140683651, 0.280949533, -0.2360774875, -0.0362169892, 0.0122380666, -0.0133525562, 0.0748264641, -0.8035828471, -0.3647386134, 0.0381193571, -0.353867054, -0.2352190614, 0.0585702062, -0.510936141, -0.2545973659, -0.1160853878, -0.0492868423, -0.4038684964, -0.3054251969, -0.0288667884, -0.2155990601, 0.5843445659, 0.2739325762, -0.8473247886, 0.3676061332, 1.0195616484, 1.1521015167, -1.1569975615, -0.141417563, -0.150931865, 0.2280978113, -0.6937219501, 0.8673293591, -0.3112680614, -0.3632080257, -0.1626241803, -0.0177209638, 0.0254507679, -0.5142074823, 0.8310975432, -0.456456989, 0.4146436453, -0.1287716329, -0.7222718596, -0.059587203, 0.3815646172, -0.5016133189, 0.9430532455, 0.3287450373, -0.8423292041, 0.8244045973, -0.4123603702, -0.3009089231, 0.1915476024, -0.4373546839, -0.956259191, 0.2088611126, 0.0996785462, 0.3451245129, -0.3357744515, 0.5711844563, -0.5112900734, -0.0309812874, 0.1906412393, -0.6246375442, 0.8974823356, -0.1455010325, -0.1343516409, 0.2164364457, -0.6196416616, 0.0114340642, -0.257837832, -0.4662407339, -0.5525395274, 0.0624001063, -0.4989603758, -0.1236865446, 0.2751355767, -0.4787843525, -0.1567353904, -0.9854210615, 0.2953092456, 0.7384919524, 0.1989868581, 0.612264812, -0.2186688334, 0.5060164928, 0.228979677, -0.4163130522, -0.0557909384, -0.2999979854, -0.561852634, -0.5670845509, 0.2992534637, 0.1090732366, -0.2712074518, 1.0668504238, -0.4933275282, -0.4052231908, -0.4088175893, 0.0006035595, 0.4060884714, 0.3553952277, 0.059161976, -0.7964264154, -0.2954809666, -0.9713749886, -0.2464405149, -0.1837747246, -0.2097203881, 0.3707507551, 0.465772301, 0.0473354869, 1.0247020721, -0.5242862105, 0.0897643343, -0.0250565149, 0.2968995869, 0.0773815587, 0.3411987722, 0.5591212511, -0.3260309398, -0.6743848324, 0.0422607139, -0.8762565255, -0.1397013515, -0.1075294763, -0.3990868628, 0.4283798635, 0.1870652437, -0.6918536425, 0.2810512185, 0.5980712175, -0.3151422143, 0.6766887307, -0.1434737444, -0.0177943353, -1.1518219709, 0.0007308671, -0.152152136, -0.2195697725, -0.1770782024, 0.0002011058, 0.0817734972, -0.082141757, -0.2701163888, 0.4569482505, -0.9078403115, -0.5396382809, 0.0911410898, 0.4774180055, 0.4185185134, 0.2489507496, -0.0418524481, 0.7170177102, 0.3288716972, -0.418761313, 0.1798894554, 0.1635299474, -0.5557064414, 0.8446679711, -0.6691513062, 0.2395620793, 0.0972023234, 0.4829162061, -1.139949441, -0.3598497212, 0.0666213781, -0.1382343173, 0.1039229259, -0.0581109151, -0.1808885783, -0.4800338745, -0.5847839117, 0.5817183256, 0.204027459, -0.4456348121, 0.0196152683, 0.5010493994, -0.547950685, -0.320063591, -0.521243751, 0.2619138956, -0.3286730647, -0.9126860499, 0.4340187907, -0.2019911855, -0.2431774139, -0.3233910799, -0.1303221881, -0.1851361841, 0.0478521325, 0.2255766392, 0.1586298794, -0.3252151906, 0.0669700205, 0.9951792955, 0.2201402187, 0.4388339221, -0.3322197795, 0.5740525126, 0.0558366962, -0.5979777575, -0.6847329736, 0.2760212123, 0.4099497795, -0.2000464946, 0.5141564012, 0.1806347668, -0.1125400811, -0.3496208191, -0.1633135229, 0.1787285954, -0.4580234289, 0.3232596517, -0.439771533, -0.6655105948, 0.3756090403, -0.0780672878, -0.0570325665, 0.38820678, 0.773514092, 0.0164419562, 1.0010085106, 0.6167370677, 0.1542019844, 0.163502574, -0.2121338099, 0.3965538442, -0.7033251524, -0.1466410905, -0.2610647082, -0.2912017107, -0.428539753, -0.4147251248, 0.363907069, 0.2473751009, 0.0086099813, 0.142945528, -0.6278486252, 0.4952817857, -0.0802958161, -0.2477707565, 0.3802806735, 0.0790624917, -0.3797909319, -0.3944945633, -0.2593907714, -0.6653755307, 0.871950984, 0.460857302, 0.465108186, 0.2215863466, 0.9340500236, 0.2825176716, 0.3518483639, -0.863292098, 0.4762639403, 0.0478849784, -0.0965782553, -0.3792714775, -0.399733603, -1.1065489054, 0.2189774215, 0.4132806063, -0.385907203, 0.2911531925, -0.0365420468, -0.4137504697, -0.0776057988, -0.4392175078, 0.6816443801, -0.2208364308, -0.2636157572, 0.0446779281, -0.3333053887, 0.3980498314, 0.0232906248, -0.2275919765, -0.3408837318, -0.3008787036, 0.7384190559, -0.274481684, 0.6353253722, -0.0407149941, -0.8426942229, 0.2543538213, 0.2285202742, 0.1762998104, 0.1658914983, -0.2093816102, 0.1457039416, -0.2590765357, -0.1822592169, -0.3994039297, 0.8713268638, -0.6869847178, -0.4956054688, -0.3645687401, -0.6661291718, 0.012612775, 0.2762035728, 0.2761878669, 0.2116630971, -0.8690925241, 0.07389649, 0.5272805095, -0.2200210392, 0.479137212, 0.3678192496, -0.0715645328, -0.5222637057, 0.723223269, 0.0782751516, 0.2336664051, 0.4522429109, 0.2645690143, -0.5141576529, -0.5814483166, -0.5654586554, 0.1922524869, -0.2635608017, -0.3753940761, -0.6099485755, -0.3878663182, -0.2986481786, -0.43847844, -0.148703739, -0.5556719303, -0.2940065563, -0.381188482, -0.1919716746, 0.4858283997, 0.1720911413, 0.1066199169, -0.4498468041, 0.0491633527, 0.1744508743, 0.103620328, -0.1506833434, -0.3299306035, -0.0942877978, 0.113692984, -0.7658376694, -0.891996026, 0.6569616199, 0.328602165, 0.175244838, 0.6432424784, -0.0071333773, 0.5531428456, -0.4536107183, 0.9365141988, 0.5025132895, -1.0601379871, 0.6350923777, -0.4400658011, 0.3603412211, 0.1846122742, 0.4539917409, -0.1460655332, -0.7336989641, -0.4020983875, -0.6838802695, 0.2683989406, 0.153278932, 0.0155195845, -0.1853314936, 0.3036730886, 0.4360267818, 0.177899316, -0.6537672281, 0.1127368882, 0.0326202363, -0.4219844937, 0.1872685254, -0.140702486, -0.4987582862, -0.2058315277, 0.1116468534, -0.2196633965, 0.1322982609, 0.2263374329, -0.2329731435, -0.1292934269, 0.4368484914, 0.5151342154, 0.9054015875, 0.1086959839, 0.4025432169, 0.1364428401, -0.3976063132, 0.3164114356, 0.0836914629, -0.4258235395, 0.1206744164, 0.2817547023, 0.6489706039, 0.1186441258, -0.3235812783, 0.6873956323, 0.0904182643, -0.3410442472, -0.2725916803, 0.0309309121, 0.1668853611, 0.0254067443, 0.0856293812, -0.0950302258, 0.1689263135, -0.6552208066, 0.3518567681, 0.5822603106, -0.4731603563, -0.6999235749, 0.5209668875, 0.4297499657, -0.4222900271, 0.3030020595, -0.5751972795, -0.2133740634, 0.4819757044, 0.6690256596, 1.1777188778, -0.2147717923, 0.4252696633, 0.2236615419, -0.076944612, 0.2227080911, 0.1632845402, -0.3016002476, -0.6933784485, -0.4353838861, -0.8976819515, -0.2225262523, -0.1006481126, -0.7321807146, 0.1296310425, -0.3152583838, -0.2219152004, 0.1338200271, 0.3299115002, -0.2245310545, -0.2038125396, -0.2015884221, 0.512566328, -0.6590582132, 0.7066720128, 0.3537900448, -0.1784527004, -0.393994838, 0.2627944648, -0.0497345328, -0.3932409883, 0.5200897455, 0.160047099, -0.3529625833, -0.21186167, -0.2889148891, -0.6782553792, 1.3204613924, 0.6581327319, -0.6694909334, -0.3326532543, 0.3268268406, 0.6995524764, -0.5197076201, 0.0237454306, 0.7746161819, 0.227805987, -0.3244907558, -0.8402467966, 0.1245822608, 0.0448566042, 0.0885629728, 0.5966060162, -0.6098921895, 0.6567574143, -0.0642462671, -0.8635022044, 0.3071451485, 0.8400418162, 0.3064506352, 0.4549617469, 0.4334809184, 0.6052291393, 0.8909970522, -0.0844322145, 0.6961445808, -0.3627681434, 0.3599316478, 1.1874980927, -0.4839609563, 0.774271071, 0.2561717927, -0.2627177536, 0.7962963581, 0.5417364836, 0.0932321772, 0.3633897603, 0.4191912711, -0.3609459102, 0.0976613015, 0.0208739061, -0.2811978757, 0.3652213812, 0.4868584573, -0.5062340498, -0.1956860125, -0.2940169275, 0.2587352991, 0.2581549287, -0.0317498185, 0.9491510391, 0.3482842445, -1.0222423077, 0.6760495901, 0.0307927914, 0.3657429814, -0.3154919446, 0.1287908554, -0.2255855352, 0.2549978495, -0.1752447337, -0.971950829, 0.6340742707, -0.003785664, -0.0651638806, -0.2768746316, 0.5608224869, -0.722160995, -0.3685338497, 0.4392322302, 0.7194416523, 0.136289373, 0.3383097947, -0.7323964834, 0.1029328704, -0.2333049923, -0.0370041095, 0.273715049, 0.6594097614, -0.0746853203, 0.3362120688, 0.3990778923, 0.0497081243, -0.0417842679, 0.1045039222, 0.7426546216, -0.4403632879, -0.6165313721, -0.9519642591, 0.084257789, -0.4418928325, -0.5707987547, 0.951117754, 0.9554877877, 0.5961952209, 0.3256284297, 0.6263216734, 0.0832177401, 0.4274947047, -0.3028919995, 0.9317518473, -0.203496322, 0.2326743752, -0.3308884501, -1.1628724337, -0.1356022954, 0.4155797064, -0.4229700267, -0.3130855262, 0.7738766074, 0.6541674733, -0.2207829952, -0.2917902768, 0.2338494062, 0.2539600134, 0.4423399866, 0.2444141805, 0.7224670649, -0.2121288031, 0.4973263741, 0.1255670637, -0.2992730737, 0.2201951593, -0.7940324545, -0.8940893412, -0.5438705087, -0.3460467756, -0.1632125378, 0.2275433242, 0.3274590969, 0.6302178502, -0.594676137, -0.5340246558, -0.4132690728, 0.2952640057, -0.1345637739, -0.3360295892, 0.733733654, -0.268864274, -0.7915484905, 0.4721544087, 0.7888868451, 0.1092867777, -0.7654803395, -0.1717340201, -0.0157652404, 0.4551390111, 0.755666554, 0.0218923856, -0.6054832935, -0.4314167798, -0.2632762492, -0.2840071023, 0.3940410316, 0.7503863573, -0.4122394919, 0.2268055081, 0.7701043487, 0.4075492024, 0.4250560999, 0.1956186146, 1.0195558071, -1.0788692236, -0.086470373, 0.38827613, 0.1530972272, 0.4691319168, -0.155899018, 0.2669512331, 0.0534015559, -0.6913207769, -1.0667667389, 0.4875693321, -0.8832075, 0.0655457824, 0.6792348623, -0.5005480051, -0.2560490668, -0.2389611602, -0.0471096747, 0.1872695386, -0.4774678051, 0.8610479236, 0.6010168195, -0.1606930941, -0.0344629101, 0.1030395776, 0.8162806034, 0.2823439538, -1.181563139, 0.0382789113, 0.4949468374, 0.1104048565, 0.2884109914, 0.7147800326, -0.2229970396, 0.0844382718, -0.0992321074, -0.2889078557, 0.5643900037, -0.3391728699, -0.1772334278, 0.3613139689, -0.0956351608, 0.1085104644 ]